summary refs log tree commit diff
path: root/synapse/static/client/login/style.css
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-11-27 08:51:52 +0100
committerAmber Brown <hawkowl@atleastfornow.net>2018-11-27 18:51:52 +1100
commit944d524f183177d4da0910a380f0659d15564823 (patch)
tree1b9066d1122d437f86e16ec65c6f421d95bf44a7 /synapse/static/client/login/style.css
parentCheck logcontexts before and after each test (#4190) (diff)
downloadsynapse-944d524f183177d4da0910a380f0659d15564823.tar.xz
Support m.login.sso (#4220)
* Clean up the CSS for the fallback login form

I was finding this hard to work with, so simplify a bunch of things. Each
flow is now a form inside a div of class login_flow.

The login_flow class now has a fixed width, as that looks much better than each
flow having a differnt width.

* Support m.login.sso

MSC1721 renames m.login.cas to m.login.sso. This implements the change
(retaining support for m.login.cas for older clients).

* changelog
Diffstat (limited to 'synapse/static/client/login/style.css')
-rw-r--r--synapse/static/client/login/style.css19
1 files changed, 6 insertions, 13 deletions
diff --git a/synapse/static/client/login/style.css b/synapse/static/client/login/style.css
index 73da0b5117..1cce5ed950 100644
--- a/synapse/static/client/login/style.css
+++ b/synapse/static/client/login/style.css
@@ -19,30 +19,23 @@ a:hover   { color: #000; }
 a:active  { color: #000; }
 
 input {
-   width: 90%
-}
-
-textarea, input {
-   font-family: inherit;
-   font-size: inherit;
    margin: 5px;
 }
 
-.smallPrint {
-    color: #888;
-    font-size: 9pt ! important;
-    font-style: italic ! important;
+textbox, input[type="text"], input[type="password"] {
+   width: 90%;
 }
 
-.g-recaptcha div {
-    margin: auto;
+form {
+    text-align: center;
+    margin: 10px 0 0 0;
 }
 
 .login_flow {
+    width: 300px;
     text-align: left;
     padding: 10px;
     margin-bottom: 40px;
-    display: inline-block;
 
     -webkit-border-radius: 10px;
     -moz-border-radius: 10px;