2021-11-06 10:45:35 +01:00
|
|
|
.auth__base {
|
|
|
|
--pattern-size: 48px;
|
2021-07-28 15:15:52 +02:00
|
|
|
min-height: 100vh;
|
|
|
|
background-color: var(--bg-surface-low);
|
|
|
|
|
2021-11-06 10:45:35 +01:00
|
|
|
background-image: radial-gradient(rgba(0, 0, 0, 6%) 2px, rgba(0, 0, 0, 0%) 2px);
|
|
|
|
background-size: var(--pattern-size) var(--pattern-size);
|
2021-07-28 15:15:52 +02:00
|
|
|
|
2021-11-06 10:45:35 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
2021-11-06 10:45:35 +01:00
|
|
|
.auth__wrapper {
|
|
|
|
flex: 1;
|
|
|
|
padding: var(--sp-loose);
|
|
|
|
padding-bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
.auth-footer {
|
|
|
|
padding: var(--sp-normal) 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2021-07-28 15:15:52 +02:00
|
|
|
|
2021-11-06 10:45:35 +01:00
|
|
|
& > *:nth-child(2n) {
|
|
|
|
margin: 0 var(--sp-loose);
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
2021-11-06 10:45:35 +01:00
|
|
|
& a {
|
|
|
|
color: var(--tc-surface-normal);
|
|
|
|
&:hover { text-decoration: underline; }
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
}
|
2021-11-06 10:45:35 +01:00
|
|
|
.auth-card {
|
|
|
|
width: 462px;
|
|
|
|
background-color: var(--bg-surface);
|
|
|
|
border-radius: var(--bo-radius);
|
|
|
|
box-shadow: var(--bs-popup);
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
padding: var(--sp-extra-loose) calc(var(--sp-normal) + var(--sp-extra-loose));
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
2021-11-06 10:45:35 +01:00
|
|
|
&__switch {
|
|
|
|
margin-top: var(--sp-loose) !important;
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
2021-11-06 10:45:35 +01:00
|
|
|
}
|
2021-07-28 15:15:52 +02:00
|
|
|
|
2021-11-06 10:45:35 +01:00
|
|
|
.homeserver-form,
|
|
|
|
.auth-form__heading {
|
|
|
|
& .context-menu .btn-surface .ic-raw {
|
|
|
|
width: 0;
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-06 10:45:35 +01:00
|
|
|
.homeserver-form {
|
2021-07-28 15:15:52 +02:00
|
|
|
display: flex;
|
2021-11-06 10:45:35 +01:00
|
|
|
margin-bottom: var(--sp-extra-tight);
|
|
|
|
& > .input-container {
|
2021-07-28 15:15:52 +02:00
|
|
|
flex: 1;
|
2021-11-06 10:45:35 +01:00
|
|
|
& .input {
|
|
|
|
border-right: unset;
|
2021-07-28 15:15:52 +02:00
|
|
|
border-radius: var(--bo-radius) 0 0 var(--bo-radius);
|
2021-11-06 10:45:35 +01:00
|
|
|
background-color: var(--bg-surface);
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
}
|
2021-11-06 10:45:35 +01:00
|
|
|
& .ic-btn {
|
|
|
|
height: 46px;
|
|
|
|
align-self: flex-end;
|
|
|
|
border: 1px solid var(--bg-surface-border);
|
|
|
|
border-radius: 0 var(--bo-radius) var(--bo-radius) 0;
|
|
|
|
}
|
|
|
|
[dir=rtl] & {
|
|
|
|
& .input {
|
2021-07-28 15:15:52 +02:00
|
|
|
border-radius: 0 var(--bo-radius) var(--bo-radius) 0;
|
2021-11-06 10:45:35 +01:00
|
|
|
border-radius: 1px;
|
|
|
|
border-left: unset;
|
|
|
|
}
|
|
|
|
.ic-btn {
|
|
|
|
border-radius: var(--bo-radius) 0 0 var(--bo-radius);
|
|
|
|
}
|
|
|
|
}
|
2021-07-28 15:15:52 +02:00
|
|
|
|
2021-11-06 10:45:35 +01:00
|
|
|
&__status {
|
|
|
|
margin-top: var(--sp-normal);
|
|
|
|
& .donut-spinner {
|
|
|
|
min-width: 28px;
|
|
|
|
}
|
|
|
|
& .text {
|
|
|
|
margin: 0 var(--sp-tight);
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
}
|
2021-11-06 10:45:35 +01:00
|
|
|
&__error {
|
|
|
|
margin-bottom: var(--sp-normal) !important;
|
|
|
|
color: var(--tc-danger-normal) !important;
|
|
|
|
}
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
|
2021-11-06 10:45:35 +01:00
|
|
|
.auth-form {
|
|
|
|
& > .input-container {
|
|
|
|
margin: var(--sp-tight) 0 var(--sp-ultra-tight);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__heading {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: calc(var(--sp-extra-loose) + var(--sp-tight));
|
|
|
|
}
|
2021-09-14 05:31:31 +02:00
|
|
|
|
2021-11-06 10:45:35 +01:00
|
|
|
&__btns {
|
|
|
|
padding-top: var(--sp-loose);
|
|
|
|
margin-bottom: var(--sp-extra-loose);
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__error {
|
|
|
|
color: var(--tc-danger-normal) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.sso__divider {
|
|
|
|
margin-bottom: var(--sp-tight);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
flex: 1;
|
|
|
|
content: '';
|
|
|
|
margin: var(--sp-tight);
|
|
|
|
border-bottom: 1px solid var(--bg-surface-border);
|
2021-09-14 05:31:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-28 15:15:52 +02:00
|
|
|
@media (max-width: 462px) {
|
|
|
|
.auth__wrapper {
|
2021-11-06 10:45:35 +01:00
|
|
|
padding: var(--sp-tight);
|
|
|
|
}
|
|
|
|
.auth-card {
|
|
|
|
&__content {
|
|
|
|
padding: var(--sp-loose) var(--sp-normal);
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.process-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
min-height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
background-color: var(--bg-surface-low);
|
|
|
|
opacity: .96;
|
|
|
|
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 999;
|
|
|
|
}
|