forked from lichess-org/lila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_auth.scss
79 lines (66 loc) · 1.18 KB
/
_auth.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#main-wrap {
min-height: calc(95vh - #{$site-header-outer-height} - 4em);
}
.auth {
width: 100%;
margin: auto;
@media (min-width: at-least($x-small)) {
width: 40em;
}
.button {
width: 100%;
padding: 1rem;
}
.alternative {
@extend %flex-between;
margin-top: 2rem;
font-size: 0.9em;
line-height: 2em;
gap: 1em;
}
&-login {
@media (min-width: at-least($xx-small)) {
width: 30em;
}
.login-remember {
@extend %flex-center-nowrap;
margin-top: 1em;
gap: 1ch;
cursor: pointer;
user-select: none;
}
&__blanked {
@extend %box-radius;
margin-bottom: 2em;
padding: 1em 2em;
background: $c-bg-zebra;
border: 2px solid $c-bad;
}
}
.agreement label {
font-weight: normal;
}
}
/* presumably the keyboard is up */
@media (max-width: at-most($x-short)) {
#top {
display: none;
}
.form-group {
margin-bottom: 1rem;
}
.password-complexity {
margin-top: 1rem;
}
}
.password-wrapper {
position: relative;
}
.show-hide-password {
position: absolute;
right: 10px;
top: 50%;
background: none;
border: none;
cursor: pointer;
}