diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-06-10 09:50:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 09:50:39 -0400 |
commit | 191dc98f80878fafd3b3341638f4b6f3830442c9 (patch) | |
tree | f717554236b93054faef94e4b171f8f7fcf27dcf /synapse/static/client/login/style.css | |
parent | 1.15.0rc1 (diff) | |
download | synapse-191dc98f80878fafd3b3341638f4b6f3830442c9.tar.xz |
Clean-up the fallback login code. (#7657)
Diffstat (limited to 'synapse/static/client/login/style.css')
-rw-r--r-- | synapse/static/client/login/style.css | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/synapse/static/client/login/style.css b/synapse/static/client/login/style.css index 1cce5ed950..83e4f6abc8 100644 --- a/synapse/static/client/login/style.css +++ b/synapse/static/client/login/style.css @@ -31,20 +31,44 @@ form { margin: 10px 0 0 0; } +/* + * Add some padding to the viewport. + */ +#container { + padding: 10px; +} +/* + * Center all direct children of the main form. + */ +#container > * { + display: block; + margin-left: auto; + margin-right: auto; + text-align: center; +} + +/* + * A wrapper around each login flow. + */ .login_flow { width: 300px; text-align: left; padding: 10px; margin-bottom: 40px; - -webkit-border-radius: 10px; - -moz-border-radius: 10px; border-radius: 10px; - - -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); - -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15); background-color: #f8f8f8; border: 1px #ccc solid; } + +/* + * Used to show error content. + */ +#feedback { + /* Red text. */ + color: #ff0000; + /* A little space to not overlap the box-shadow. */ + margin-bottom: 20px; +} |