-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.scss
50 lines (43 loc) · 881 Bytes
/
styles.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
.loginForm {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
margin: 0 auto;
width: 250px;
}
.input {
color: var(--text-color);
background: var(--input-background);
width: 100%;
margin-bottom: 32px;
padding: 8px;
border: 2px solid var(--border-color);
box-shadow: 4px 4px var(--box-shadow);
transition: box-shadow linear 150ms;
&:focus {
box-shadow: 8px 8px var(--box-shadow);
}
}
.submit {
padding: 8px;
width: 100%;
&:hover {
box-shadow: 8px 8px var(--border-color);
cursor: pointer;
}
&[disabled] {
color: darken(white, 35%);
box-shadow: none;
@media (prefers-color-scheme: dark) {
color: lighten(black, 35%);
}
}
}
.statusText {
color: var(--text-color);
font-size: 0.9rem;
font-weight: 800;
letter-spacing: 0.5em;
text-transform: uppercase;
}