diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-02-01 15:50:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 15:50:56 +0000 |
commit | 8aed29dc615bee75019fc526a5c91cdc2638b665 (patch) | |
tree | a2a16f641a1b587c887820fc653822bfe0a5726f /synapse/res/templates/sso.css | |
parent | Fix SSO on workers (#9271) (diff) | |
download | synapse-8aed29dc615bee75019fc526a5c91cdc2638b665.tar.xz |
Improve styling and wording of SSO redirect confirm template (#9272)
Diffstat (limited to 'synapse/res/templates/sso.css')
-rw-r--r-- | synapse/res/templates/sso.css | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/synapse/res/templates/sso.css b/synapse/res/templates/sso.css new file mode 100644 index 0000000000..ff9dc94032 --- /dev/null +++ b/synapse/res/templates/sso.css @@ -0,0 +1,83 @@ +body { + font-family: "Inter", "Helvetica", "Arial", sans-serif; + font-size: 14px; + color: #17191C; +} + +header { + max-width: 480px; + width: 100%; + margin: 24px auto; + text-align: center; +} + +header p { + color: #737D8C; + line-height: 24px; +} + +h1 { + font-size: 24px; +} + +h2 { + font-size: 14px; +} + +h2 img { + vertical-align: middle; + margin-right: 8px; + width: 24px; + height: 24px; +} + +label { + cursor: pointer; +} + +main { + max-width: 360px; + width: 100%; + margin: 24px auto; +} + +.primary-button { + border: none; + text-decoration: none; + padding: 12px; + color: white; + background-color: #418DED; + font-weight: bold; + display: block; + border-radius: 12px; + width: 100%; + margin: 16px 0; + cursor: pointer; + text-align: center; +} + +.profile { + display: flex; + justify-content: center; + margin: 24px 0; +} + +.profile .avatar { + width: 36px; + height: 36px; + border-radius: 100%; + display: block; + margin-right: 8px; +} + +.profile .display-name { + font-weight: bold; + margin-bottom: 4px; +} +.profile .user-id { + color: #737D8C; +} + +.profile .display-name, .profile .user-id { + line-height: 18px; +} \ No newline at end of file |