-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpass.css
More file actions
270 lines (255 loc) · 6.58 KB
/
pass.css
File metadata and controls
270 lines (255 loc) · 6.58 KB
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
@import url("https://fonts.googleapis.com/css?family=Playfair+Display&display=swap");
body {
font-family: "Playfair Display", serif;
background-size: cover;
background-image:linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(https://images.wallpaperscraft.com/image/single/deer_art_vector_134088_3840x2400.jpg);
}
h1 {
color: #f7c926;
text-align: center;
font-size: 27px;
}
#wrapper {
width: 100%;
min-height: 100vh;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#box {
max-width: 750px;
width: 100%;
}
.pass-wrapper {
display: flex;
justify-content: center;
margin: 0 0 20px 0;
}
#svg {
width: 300px;
height: 300px;
display: block;
padding: 20px;
}
#input-wrapper {
position: relative;
height: 40px;
}
#input-wrapper label {
display: block;
width: 100%;
pointer-events: none;
color: #f7c926;
position: absolute;
bottom: 10px;
transition-duration: 0.3s;
font-size: 18px;
opacity: 1;
left: 10px;
}
#input-wrapper #pwd:valid + label, #input-wrapper #pwd:focus + label {
bottom: 35px;
font-size: 14px;
opacity: 0;
}
#pwd {
overflow: hidden;
display: block;
width: 100%;
border: none;
outline: none;
background: rgba(247, 201, 38, 0.2);
caret-color: #FFFFFF;
font-size: 25px;
color: #f7c926;
border-radius: 7px;
padding: 5px 10px;
box-sizing: border-box;
line-height: 40px;
height: 100%;
border: 3px solid #f7c926;
}
.levels-container {
width: 60%;
box-sizing: border-box;
padding: 10px;
margin: 10px 0 0 0;
border-radius: 7px;
pointer-events: none;
display: flex;
flex-direction: column;
justify-content: center;
}
.levels-container .level-line {
margin: 15px 0;
align-items: center;
display: flex;
color: rgba(255, 255, 255, 0);
}
.levels-container .level-line .line-label {
width: 30%;
color: #f7c926;
padding: 0 20px 0 0;
text-align: center;
transition-duration: 0.3s;
}
.levels-container .level-line .line-progression {
width: 50%;
position: relative;
height: 5px;
-webkit-animation: glowBar 0.6s ease-in-out infinite alternate;
animation: glowBar 0.6s ease-in-out infinite alternate;
}
.levels-container .level-line .line-progression:before, .levels-container .level-line .line-progression:after {
content: "";
display: block;
height: 5px;
position: absolute;
border-radius: 2px;
top: 50%;
left: 0;
transform: translateY(-50%);
}
.levels-container .level-line .line-progression:before {
background-color: rgba(247, 201, 38, 0.2);
width: 100%;
}
.levels-container .level-line .line-progression:after {
transition-duration: 0.9s;
background-color: #f7c926;
-webkit-animation-duration: 0.8s;
animation-duration: 0.8s;
-webkit-animation-iteration-count: 1;
animation-iteration-count: 1;
border-style: solid;
border-width: 0px;
}
[data-level="0"] .line-progression:after {
width: 2%;
border-width: 0px;
}
[data-level="1"] .line-progression:after {
width: 33%;
-webkit-animation-name: pulse1;
animation-name: pulse1;
border-color: rgba(255, 255, 255, 0.3);
border-width: 1px;
}
[data-level="2"] .line-progression:after {
width: 66%;
-webkit-animation-name: pulse2;
animation-name: pulse2;
border-color: rgba(255, 255, 255, 0.6);
border-width: 1px;
}
[data-level="3"] {
color: #f7c926 !important;
}
[data-level="3"] .line-label {
-webkit-animation: glow 0.6s ease-in-out infinite alternate;
animation: glow 0.6s ease-in-out infinite alternate;
color: #FFFFFF !important;
}
[data-level="3"] .line-progression:after {
width: 100%;
-webkit-animation-name: pulse3;
animation-name: pulse3;
border-color: white;
border-width: 1px !important;
-webkit-animation-duration: 2s !important;
animation-duration: 2s !important;
color: #FFFFFF;
}
@-webkit-keyframes pulse1 {
0% {
box-shadow: 0px 0px 0px 0px white;
}
50% {
box-shadow: 0px 0px 30px 0px white;
}
100% {
box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0);
}
}
@keyframes pulse1 {
0% {
box-shadow: 0px 0px 0px 0px white;
}
50% {
box-shadow: 0px 0px 30px 0px white;
}
100% {
box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0);
}
}
@-webkit-keyframes pulse2 {
0% {
box-shadow: 0px 0px 0px 0px white;
}
50% {
box-shadow: 0px 0px 30px 5px white;
}
100% {
box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0);
}
}
@keyframes pulse2 {
0% {
box-shadow: 0px 0px 0px 0px white;
}
50% {
box-shadow: 0px 0px 30px 5px white;
}
100% {
box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0);
}
}
@-webkit-keyframes pulse3 {
0% {
box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.8);
}
100% {
box-shadow: 0px 0px 6px 10px rgba(255, 255, 255, 0);
}
}
@keyframes pulse3 {
0% {
box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.8);
}
100% {
box-shadow: 0px 0px 6px 10px rgba(255, 255, 255, 0);
}
}
@-webkit-keyframes glow {
from {
text-shadow: 0 0 5px #f7c926, 0 0 10px #f7c926, 0 0 15px #f7c926, 0 0 30px #f7c926, 0 0 45px #f7c926, 0 0 60px #f7c926, 0 0 75px #f7c926;
}
to {
text-shadow: 0 0 10px #f7c926, 0 0 15px #f7c926, 0 0 20px #f7c926, 0 0 25px #f7c926, 0 0 30px #f7c926, 0 0 35px #f7c926, 0 0 40px #f7c926;
}
}
@keyframes glow {
from {
text-shadow: 0 0 5px #f7c926, 0 0 10px #f7c926, 0 0 15px #f7c926, 0 0 30px #f7c926, 0 0 45px #f7c926, 0 0 60px #f7c926, 0 0 75px #f7c926;
}
to {
text-shadow: 0 0 10px #f7c926, 0 0 15px #f7c926, 0 0 20px #f7c926, 0 0 25px #f7c926, 0 0 30px #f7c926, 0 0 35px #f7c926, 0 0 40px #f7c926;
}
}
@-webkit-keyframes glowBar {
from {
box-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor, 0 0 30px currentColor, 0 0 45px currentColor, 0 0 60px currentColor, 0 0 75px currentColor;
}
to {
box-shadow: 0 0 10px currentColor, 0 0 15px currentColor, 0 0 20px currentColor, 0 0 25px currentColor, 0 0 30px currentColor, 0 0 35px currentColor, 0 0 40px currentColor;
}
}
@keyframes glowBar {
from {
box-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor, 0 0 30px currentColor, 0 0 45px currentColor, 0 0 60px currentColor, 0 0 75px currentColor;
}
to {
box-shadow: 0 0 10px currentColor, 0 0 15px currentColor, 0 0 20px currentColor, 0 0 25px currentColor, 0 0 30px currentColor, 0 0 35px currentColor, 0 0 40px currentColor;
}
}