-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
125 lines (106 loc) · 1.9 KB
/
index.css
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
html {
background-color: #f1f1f1;
color: #333;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 20px;
}
html, body {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
li + li {
margin-top: 10px;
}
form {
background-color: #fff;
border-radius: 4px;
display: flex;
flex-direction: column;
padding: 20px;
}
input {
font-size: .8em;
margin-top: 5px;
min-height: 40px;
padding: 0 10px;
}
button {
background-color: #03a9f4;
border: 0;
font-size: .8em;
margin-top: 40px;
padding: 10px;
text-transform: uppercase;
}
button:hover {
background-color: #29b6f6;
cursor: pointer;
}
button:active {
background-color: #039be5;
}
code {
background-color: #cdcdcd;
padding: 0 2px;
}
.field {
display: flex;
flex-direction: column;
}
.field-checkbox {
display: flex;
align-items: center;
gap: 7px;
}
.field--hint {
font-size: .65em;
margin-top: 10px;
}
.dialog {
border: 0;
border-radius: 4px;
box-shadow: 0 0 20px #757575;
opacity: 0;
top: -100vh;
transform: translateY(-50%);
transition: top .8s ease-in-out, opacity .4s .6s ease-in-out;
padding: 40px;
}
.dialog.open {
opacity: 1;
top: 50%;
}
.dialog--cross {
cursor: pointer;
height: 20px;
opacity: .3;
position: absolute;
right: 10px;
top: 10px;
transition: opacity .4s ease-in-out;
width: 20px;
}
.dialog--cross:hover {
opacity: 1;
}
.dialog--cross::before, .dialog--cross::after {
background-color: #333;
content: ' ';
height: 18px;
left: 9px;
position: absolute;
width: 2px;
}
.dialog--cross::before {
transform: rotate(45deg);
}
.dialog--cross::after {
transform: rotate(-45deg);
}