blob: 5cf06533a041ede5b38a9039987a7a85e06ed0ed (
plain) (
blame)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
.userForm {
padding: 2em;
label,
& {
display: flex;
flex-flow: column;
}
label > span {
font-weight: 600;
}
input[type=email],
input[type=password] {
color: var(--color-text-alt);
background: var(--color-window-content);
padding: .5em;
margin: .5em 0;
border: 1px dashed var(--color-decor);
border-radius: .5px;
}
input[type=password]:nth-of-type(2) {
margin-top: 1em;
}
p {
text-align: center;
color: var(--color-error);
margin: 1rem 0 0;
}
legend {
font-size: .8em;
padding: 2em 0 1.5em;
}
& > fieldset:nth-of-type(1) {
fieldset {
display: inline-block;
}
input {
display: none;
}
label {
padding: 0 .75em;
transition: .3s color;
display: inline-block;
color: var(--color-decor);
margin-bottom: .5em;
&:hover {
color: #666;
}
}
input:checked + label {
font-weight: 600;
color: var(--color-text);
}
}
& > fieldset:nth-of-type(2) {
fieldset {
display: inline-block;
}
input {
display: none;
}
label {
width: 2em;
height: 2em;
display: inline-block;
margin: 0 1em 1em;
outline-offset: 4px;
}
fieldset:nth-of-type(1) label {
background-color: #53e3a6;
}
fieldset:nth-of-type(2) label {
background-color: #2986b3;
}
fieldset:nth-of-type(3) label {
background-color: #000;
}
input:checked + label {
outline: 3px solid var(--color-window-buttons);
}
}
input[type=submit] {
margin-top: 1.5em;
}
}
|