MatrixSynapse/synapse/res/templates/sso.css

129 lines
1.7 KiB
CSS
Raw Permalink Normal View History

2021-02-03 21:31:23 +01:00
body, input, select, textarea {
font-family: "Inter", "Helvetica", "Arial", sans-serif;
font-size: 14px;
color: #17191C;
}
2021-02-03 21:31:23 +01:00
header, footer {
max-width: 480px;
width: 100%;
margin: 24px auto;
text-align: center;
}
2021-02-03 21:31:23 +01:00
@media screen and (min-width: 800px) {
header {
margin-top: 90px;
}
}
header {
min-height: 60px;
}
header p {
color: #737D8C;
line-height: 24px;
}
h1 {
font-size: 24px;
}
2021-02-03 21:31:23 +01:00
a {
color: #418DED;
}
.error_page h1 {
color: #FE2928;
}
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;
2021-02-03 21:31:23 +01:00
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
text-decoration: none;
padding: 12px;
color: white;
background-color: #418DED;
font-weight: bold;
display: block;
border-radius: 12px;
width: 100%;
box-sizing: border-box;
margin: 16px 0;
cursor: pointer;
text-align: center;
}
.profile {
display: flex;
2021-02-03 21:31:23 +01:00
flex-direction: column;
align-items: center;
justify-content: center;
2021-02-03 21:31:23 +01:00
margin: 24px;
padding: 13px;
border: 1px solid #E9ECF1;
border-radius: 4px;
}
.profile.with-avatar {
margin-top: 42px; /* (36px / 2) + 24px*/
}
.profile .avatar {
width: 36px;
height: 36px;
border-radius: 100%;
display: block;
2021-02-03 21:31:23 +01:00
margin-top: -32px;
margin-bottom: 8px;
}
.profile .display-name {
font-weight: bold;
margin-bottom: 4px;
2021-02-03 21:31:23 +01:00
font-size: 15px;
line-height: 18px;
}
.profile .user-id {
color: #737D8C;
2021-02-03 21:31:23 +01:00
font-size: 12px;
line-height: 12px;
}
2021-02-03 21:31:23 +01:00
footer {
margin-top: 80px;
}
2021-02-03 21:31:23 +01:00
footer svg {
display: block;
width: 46px;
margin: 0px auto 12px auto;
}
footer p {
color: #737D8C;
}