1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,489 @@ |
1 |
+/** |
|
2 |
+ * Copyright (C) 2021 Double Bastion LLC |
|
3 |
+ * |
|
4 |
+ * This file is part of Roundpin, which is licensed under the |
|
5 |
+ * GNU Affero General Public License Version 3.0. The license terms |
|
6 |
+ * are detailed in the "LICENSE.txt" file located in the root directory. |
|
7 |
+ * |
|
8 |
+ * This is a modified version of the original file "style.css" |
|
9 |
+ * released under the MIT License and first modified in 2020. |
|
10 |
+ * The copyright notice for the original content follows: |
|
11 |
+ * |
|
12 |
+ * Copyright (c) 2019 by Daniel Zawadzki (https://codepen.io/danzawadzki/pen/EgqKRr) |
|
13 |
+ */ |
|
14 |
+ |
|
15 |
+/* BASIC */ |
|
16 |
+ |
|
17 |
+body { |
|
18 |
+ background-image: url('../images/loginbackground-small.jpg'); |
|
19 |
+ background-repeat: repeat; |
|
20 |
+ font-family: Inter, sans-serif; |
|
21 |
+ height: 100vh; |
|
22 |
+} |
|
23 |
+ |
|
24 |
+a { |
|
25 |
+ color: #92badd; |
|
26 |
+ display: inline-block; |
|
27 |
+ text-decoration: none; |
|
28 |
+ font-weight: 600; |
|
29 |
+} |
|
30 |
+ |
|
31 |
+#forgotpass { |
|
32 |
+ color: #92badd; |
|
33 |
+ display: inline-block; |
|
34 |
+ text-decoration: none; |
|
35 |
+ font-weight: 500; |
|
36 |
+ cursor: pointer; |
|
37 |
+} |
|
38 |
+ |
|
39 |
+#forgotpass:hover { |
|
40 |
+ color: #0d0d0d; |
|
41 |
+} |
|
42 |
+ |
|
43 |
+h2 { |
|
44 |
+ text-align: center; |
|
45 |
+ font-size: 17px; |
|
46 |
+ font-weight: 800; |
|
47 |
+ text-transform: uppercase; |
|
48 |
+ display:inline-block; |
|
49 |
+ margin: 40px 8px 10px 8px; |
|
50 |
+ color: #cccccc; |
|
51 |
+} |
|
52 |
+ |
|
53 |
+/* STRUCTURE */ |
|
54 |
+ |
|
55 |
+.wrapper { |
|
56 |
+ display: flex; |
|
57 |
+ align-items: center; |
|
58 |
+ flex-direction: column; |
|
59 |
+ justify-content: center; |
|
60 |
+ width: 100%; |
|
61 |
+ min-height: 100%; |
|
62 |
+ padding: 20px; |
|
63 |
+} |
|
64 |
+ |
|
65 |
+#formContent { |
|
66 |
+ -webkit-border-radius: 10px 10px 10px 10px; |
|
67 |
+ border-radius: 10px 10px 10px 10px; |
|
68 |
+ background: #fff; |
|
69 |
+ width: 90%; |
|
70 |
+ max-width: 450px; |
|
71 |
+ position: relative; |
|
72 |
+ padding: 0px; |
|
73 |
+ -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3); |
|
74 |
+ box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3); |
|
75 |
+ text-align: center; |
|
76 |
+ margin-left: auto; |
|
77 |
+ margin-right: auto; |
|
78 |
+} |
|
79 |
+ |
|
80 |
+#formFooter { |
|
81 |
+ background-color: #f6f6f6; |
|
82 |
+ border-top: 1px solid #dce8f1; |
|
83 |
+ padding: 25px; |
|
84 |
+ text-align: center; |
|
85 |
+ -webkit-border-radius: 0 0 10px 10px; |
|
86 |
+ border-radius: 0 0 10px 10px; |
|
87 |
+} |
|
88 |
+ |
|
89 |
+/* TABS */ |
|
90 |
+ |
|
91 |
+h2.inactive { |
|
92 |
+ color: #cccccc; |
|
93 |
+} |
|
94 |
+ |
|
95 |
+h2.active { |
|
96 |
+ color: #0d0d0d; |
|
97 |
+} |
|
98 |
+ |
|
99 |
+/* FORM TYPOGRAPHY*/ |
|
100 |
+ |
|
101 |
+input[type=button], input[type=submit], input[type=reset] { |
|
102 |
+ display: inline-block; |
|
103 |
+ background-color: #4d8ad6; |
|
104 |
+ border: none; |
|
105 |
+ font-family: Inter, sans-serif; |
|
106 |
+ color: white; |
|
107 |
+ text-align: center; |
|
108 |
+ text-decoration: none; |
|
109 |
+ text-transform: uppercase; |
|
110 |
+ font-size: 15px; |
|
111 |
+ font-weight: 600; |
|
112 |
+ padding: 15px 80px; |
|
113 |
+ -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4); |
|
114 |
+ box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4); |
|
115 |
+ -webkit-border-radius: 5px 5px 5px 5px; |
|
116 |
+ border-radius: 5px 5px 5px 5px; |
|
117 |
+ margin: 5px 20px 40px 20px; |
|
118 |
+} |
|
119 |
+ |
|
120 |
+input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover { |
|
121 |
+ background-color: #4179bf; |
|
122 |
+ cursor: pointer; |
|
123 |
+} |
|
124 |
+ |
|
125 |
+input[type=button]:active, input[type=submit]:active, input[type=reset]:active { |
|
126 |
+ -moz-transform: scale(0.95); |
|
127 |
+ -webkit-transform: scale(0.95); |
|
128 |
+ -o-transform: scale(0.95); |
|
129 |
+ -ms-transform: scale(0.95); |
|
130 |
+ transform: scale(0.95); |
|
131 |
+} |
|
132 |
+ |
|
133 |
+input[type=text] { |
|
134 |
+ background-color: #f6f6f6; |
|
135 |
+ border: none; |
|
136 |
+ color: #0d0d0d; |
|
137 |
+ padding: 15px 32px; |
|
138 |
+ font-family: Inter, sans-serif; |
|
139 |
+ font-size: 17px; |
|
140 |
+ text-align: center; |
|
141 |
+ text-decoration: none; |
|
142 |
+ display: inline-block; |
|
143 |
+ margin: 5px; |
|
144 |
+ width: 85%; |
|
145 |
+ border: 2px solid #f6f6f6; |
|
146 |
+ -webkit-transition: all 0.5s ease-in-out; |
|
147 |
+ -moz-transition: all 0.5s ease-in-out; |
|
148 |
+ -ms-transition: all 0.5s ease-in-out; |
|
149 |
+ -o-transition: all 0.5s ease-in-out; |
|
150 |
+ transition: all 0.5s ease-in-out; |
|
151 |
+ -webkit-border-radius: 5px 5px 5px 5px; |
|
152 |
+ border-radius: 5px 5px 5px 5px; |
|
153 |
+} |
|
154 |
+ |
|
155 |
+input[type=text]:focus { |
|
156 |
+ background-color: #fff; |
|
157 |
+} |
|
158 |
+ |
|
159 |
+input[type=text]:placeholder { |
|
160 |
+ color: #cccccc; |
|
161 |
+} |
|
162 |
+ |
|
163 |
+#selectrole { |
|
164 |
+ display: block; |
|
165 |
+ background-color: #f6f6f6; |
|
166 |
+ border: none; |
|
167 |
+ color: #7c7c7c; |
|
168 |
+ text-align: center; |
|
169 |
+ text-decoration: none; |
|
170 |
+ font-size: 16px; |
|
171 |
+ margin-top: 6px; |
|
172 |
+ margin-bottom: 7px; |
|
173 |
+ margin-left: auto; |
|
174 |
+ margin-right: auto; |
|
175 |
+ width: 85%; |
|
176 |
+ height: 50px; |
|
177 |
+ border: 2px solid #f6f6f6; |
|
178 |
+ -webkit-transition: all 0.5s ease-in-out; |
|
179 |
+ -moz-transition: all 0.5s ease-in-out; |
|
180 |
+ -ms-transition: all 0.5s ease-in-out; |
|
181 |
+ -o-transition: all 0.5s ease-in-out; |
|
182 |
+ transition: all 0.5s ease-in-out; |
|
183 |
+ -webkit-border-radius: 5px 5px 5px 5px; |
|
184 |
+ border-radius: 5px 5px 5px 5px; |
|
185 |
+ text-align-last: center; |
|
186 |
+} |
|
187 |
+ |
|
188 |
+#selectrole:focus { |
|
189 |
+ color: #0d0d0d; |
|
190 |
+ background-color: #fff; |
|
191 |
+ border-bottom: 2px solid #5fbae9; |
|
192 |
+} |
|
193 |
+ |
|
194 |
+#selectrole:active { |
|
195 |
+ color: #0d0d0d; |
|
196 |
+ background-color: #fff; |
|
197 |
+ border-bottom: 2px solid #5fbae9; |
|
198 |
+} |
|
199 |
+ |
|
200 |
+.selectoption { |
|
201 |
+ display: block; |
|
202 |
+ background-color: #f6f6f6; |
|
203 |
+ border: none; |
|
204 |
+ color: #0d0d0d; |
|
205 |
+ padding: 15px 32px; |
|
206 |
+ text-align: center; |
|
207 |
+ text-decoration: none; |
|
208 |
+ font-size: 16px; |
|
209 |
+ margin-left: auto; |
|
210 |
+ margin-right: auto; |
|
211 |
+ width: 85%; |
|
212 |
+ border: 2px solid #f6f6f6; |
|
213 |
+ -webkit-transition: all 0.5s ease-in-out; |
|
214 |
+ -moz-transition: all 0.5s ease-in-out; |
|
215 |
+ -ms-transition: all 0.5s ease-in-out; |
|
216 |
+ -o-transition: all 0.5s ease-in-out; |
|
217 |
+ transition: all 0.5s ease-in-out; |
|
218 |
+ -webkit-border-radius: 5px 5px 5px 5px; |
|
219 |
+ border-radius: 5px 5px 5px 5px; |
|
220 |
+} |
|
221 |
+ |
|
222 |
+input[type=password] { |
|
223 |
+ background-color: #f6f6f6; |
|
224 |
+ border: none; |
|
225 |
+ color: #0d0d0d; |
|
226 |
+ padding: 15px 32px; |
|
227 |
+ font-family: Inter, sans-serif; |
|
228 |
+ font-size: 12px; |
|
229 |
+ text-align: center; |
|
230 |
+ text-decoration: none; |
|
231 |
+ display: inline-block; |
|
232 |
+ margin: 5px; |
|
233 |
+ width: 85%; |
|
234 |
+ border: 2px solid #f6f6f6; |
|
235 |
+ -webkit-transition: all 0.5s ease-in-out; |
|
236 |
+ -moz-transition: all 0.5s ease-in-out; |
|
237 |
+ -ms-transition: all 0.5s ease-in-out; |
|
238 |
+ -o-transition: all 0.5s ease-in-out; |
|
239 |
+ transition: all 0.5s ease-in-out; |
|
240 |
+ -webkit-border-radius: 5px 5px 5px 5px; |
|
241 |
+ border-radius: 5px 5px 5px 5px; |
|
242 |
+} |
|
243 |
+ |
|
244 |
+input[type=password]:focus { |
|
245 |
+ background-color: #fff; |
|
246 |
+} |
|
247 |
+ |
|
248 |
+input[type=password]:placeholder { |
|
249 |
+ color: #cccccc; |
|
250 |
+} |
|
251 |
+ |
|
252 |
+/* ANIMATIONS */ |
|
253 |
+ |
|
254 |
+/* Simple CSS3 Fade-in-down Animation */ |
|
255 |
+.fadeInDown { |
|
256 |
+ -webkit-animation-name: fadeInDown; |
|
257 |
+ animation-name: fadeInDown; |
|
258 |
+ -webkit-animation-duration: 1s; |
|
259 |
+ animation-duration: 1s; |
|
260 |
+ -webkit-animation-fill-mode: both; |
|
261 |
+ animation-fill-mode: both; |
|
262 |
+} |
|
263 |
+ |
|
264 |
+@-webkit-keyframes fadeInDown { |
|
265 |
+ 0% { |
|
266 |
+ opacity: 0; |
|
267 |
+ -webkit-transform: translate3d(0, -100%, 0); |
|
268 |
+ transform: translate3d(0, -100%, 0); |
|
269 |
+ } |
|
270 |
+ 100% { |
|
271 |
+ opacity: 1; |
|
272 |
+ -webkit-transform: none; |
|
273 |
+ transform: none; |
|
274 |
+ } |
|
275 |
+} |
|
276 |
+ |
|
277 |
+@keyframes fadeInDown { |
|
278 |
+ 0% { |
|
279 |
+ opacity: 0; |
|
280 |
+ -webkit-transform: translate3d(0, -100%, 0); |
|
281 |
+ transform: translate3d(0, -100%, 0); |
|
282 |
+ } |
|
283 |
+ 100% { |
|
284 |
+ opacity: 1; |
|
285 |
+ -webkit-transform: none; |
|
286 |
+ transform: none; |
|
287 |
+ } |
|
288 |
+} |
|
289 |
+ |
|
290 |
+/* Simple CSS3 Fade-in Animation */ |
|
291 |
+@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } } |
|
292 |
+@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } } |
|
293 |
+@keyframes fadeIn { from { opacity:0; } to { opacity:1; } } |
|
294 |
+ |
|
295 |
+.fadeIn { |
|
296 |
+ opacity:0; |
|
297 |
+ -webkit-animation:fadeIn ease-in 0.8s; |
|
298 |
+ -moz-animation:fadeIn ease-in 0.8s; |
|
299 |
+ animation:fadeIn ease-in 0.8s; |
|
300 |
+ |
|
301 |
+ -webkit-animation-fill-mode:forwards; |
|
302 |
+ -moz-animation-fill-mode:forwards; |
|
303 |
+ animation-fill-mode:forwards; |
|
304 |
+ |
|
305 |
+ -webkit-animation-duration:0.5s; |
|
306 |
+ -moz-animation-duration:0.5s; |
|
307 |
+ animation-duration:0.5s; |
|
308 |
+} |
|
309 |
+ |
|
310 |
+.fadeIn.first { |
|
311 |
+ -webkit-animation-delay: 0.2s; |
|
312 |
+ -moz-animation-delay: 0.2s; |
|
313 |
+ animation-delay: 0.2s; |
|
314 |
+ max-height: 300px; |
|
315 |
+ |
|
316 |
+} |
|
317 |
+ |
|
318 |
+.fadeIn.second { |
|
319 |
+ -webkit-animation-delay: 0.2s; |
|
320 |
+ -moz-animation-delay: 0.2s; |
|
321 |
+ animation-delay: 0.2s; |
|
322 |
+} |
|
323 |
+ |
|
324 |
+.fadeIn.third { |
|
325 |
+ -webkit-animation-delay: 0.2s; |
|
326 |
+ -moz-animation-delay: 0.2s; |
|
327 |
+ animation-delay: 0.2s; |
|
328 |
+} |
|
329 |
+ |
|
330 |
+.fadeIn.fourth { |
|
331 |
+ -webkit-animation-delay: 0.2s; |
|
332 |
+ -moz-animation-delay: 0.2s; |
|
333 |
+ animation-delay: 0.2s; |
|
334 |
+} |
|
335 |
+ |
|
336 |
+.fadeIn.fifth { |
|
337 |
+ -webkit-animation-delay: 0.2s; |
|
338 |
+ -moz-animation-delay: 0.2s; |
|
339 |
+ animation-delay: 0.2s; |
|
340 |
+} |
|
341 |
+ |
|
342 |
+ |
|
343 |
+/* Simple CSS3 Fade-in Animation */ |
|
344 |
+ |
|
345 |
+.underlineHover:after { |
|
346 |
+ display: block; |
|
347 |
+ width: 0; |
|
348 |
+ transition: width 0.2s; |
|
349 |
+} |
|
350 |
+ |
|
351 |
+.underlineHover:hover { |
|
352 |
+ color: #0d0d0d; |
|
353 |
+} |
|
354 |
+ |
|
355 |
+/* OTHERS */ |
|
356 |
+ |
|
357 |
+*:focus { |
|
358 |
+ outline: none; |
|
359 |
+} |
|
360 |
+ |
|
361 |
+@media screen and (min-width: 601px) { |
|
362 |
+ #login-logo { |
|
363 |
+ position: relative; |
|
364 |
+ margin-top: 35px; |
|
365 |
+ margin-bottom: 7px; |
|
366 |
+ } |
|
367 |
+} |
|
368 |
+ |
|
369 |
+@media only screen and (max-width: 600px) { |
|
370 |
+ #login-logo { |
|
371 |
+ position: relative; |
|
372 |
+ margin-top: 35px; |
|
373 |
+ margin-bottom: 7px; |
|
374 |
+ max-width: 186px; |
|
375 |
+ } |
|
376 |
+ |
|
377 |
+ #signinbutton { |
|
378 |
+ max-width: 180px !important; |
|
379 |
+ padding: 15px; |
|
380 |
+ font-size: 12px; |
|
381 |
+ } |
|
382 |
+ |
|
383 |
+ #signupbutton { |
|
384 |
+ max-width: 180px !important; |
|
385 |
+ padding: 15px; |
|
386 |
+ font-size: 12px; |
|
387 |
+ } |
|
388 |
+ |
|
389 |
+ #forgotpassbutton { |
|
390 |
+ max-width: 180px !important; |
|
391 |
+ padding: 15px; |
|
392 |
+ white-space: normal; |
|
393 |
+ font-size: 12px; |
|
394 |
+ } |
|
395 |
+ |
|
396 |
+ #emailforgotpass { |
|
397 |
+ font-size: 13px; |
|
398 |
+ } |
|
399 |
+ |
|
400 |
+ #emailaddress, #login, #password, #selectrole { |
|
401 |
+ font-size: 12px; |
|
402 |
+ } |
|
403 |
+ |
|
404 |
+ html { |
|
405 |
+ background: url("../../images/loginbackground.jpg"); |
|
406 |
+ background-repeat: no-repeat; |
|
407 |
+ background-size: 100% 180%; |
|
408 |
+ } |
|
409 |
+} |
|
410 |
+ |
|
411 |
+* { |
|
412 |
+ box-sizing: border-box; |
|
413 |
+} |
|
414 |
+ |
|
415 |
+#signintab, #signuptab { |
|
416 |
+ font-family: Inter, sans-serif; |
|
417 |
+ font-size: 16px; |
|
418 |
+ font-weight: 600; |
|
419 |
+} |
|
420 |
+ |
|
421 |
+#forgotpass { |
|
422 |
+ font-family: Inter Semi, sans-serif; |
|
423 |
+ font-size: 16px; |
|
424 |
+} |
|
425 |
+ |
|
426 |
+#signintab:hover { |
|
427 |
+ cursor: pointer; |
|
428 |
+} |
|
429 |
+ |
|
430 |
+#signuptab:hover { |
|
431 |
+ cursor: pointer; |
|
432 |
+} |
|
433 |
+ |
|
434 |
+#submitmessage { |
|
435 |
+ display: block; |
|
436 |
+ padding: 10px 30px 12px 30px; |
|
437 |
+ font-size: 17px; |
|
438 |
+} |
|
439 |
+ |
|
440 |
+#usernameLabel, #passwordLabel, #emailaddressLabel, #regusernameLabel, #regpasswordLabel, #regpasswordrepLabel, #emailaddressfgtLabel { |
|
441 |
+ display: none; |
|
442 |
+ position: relative; |
|
443 |
+ margin: auto; |
|
444 |
+ text-align: center; |
|
445 |
+ top: 22px; |
|
446 |
+ font-size: 14px; |
|
447 |
+ color: #7c7c7c; |
|
448 |
+ opacity: 0; |
|
449 |
+} |
|
450 |
+ |
|
451 |
+.fadeInSpec { |
|
452 |
+ opacity:0; |
|
453 |
+ -webkit-animation:fadeIn ease-in 0.2s; |
|
454 |
+ -moz-animation:fadeIn ease-in 0.2s; |
|
455 |
+ animation:fadeIn ease-in 0.2s; |
|
456 |
+ |
|
457 |
+ -webkit-animation-fill-mode:forwards; |
|
458 |
+ -moz-animation-fill-mode:forwards; |
|
459 |
+ animation-fill-mode:forwards; |
|
460 |
+ |
|
461 |
+ -webkit-animation-duration:0.2s; |
|
462 |
+ -moz-animation-duration:0.2s; |
|
463 |
+ animation-duration:0.2s; |
|
464 |
+} |
|
465 |
+ |
|
466 |
+/* Placeholder styling */ |
|
467 |
+*::-webkit-input-placeholder { |
|
468 |
+ font-size: 16px; |
|
469 |
+} |
|
470 |
+*:-moz-placeholder { |
|
471 |
+ /* FF 4-18 */ |
|
472 |
+ font-size: 16px; |
|
473 |
+} |
|
474 |
+*::-moz-placeholder { |
|
475 |
+ /* FF 19+ */ |
|
476 |
+ font-size: 16px; |
|
477 |
+} |
|
478 |
+*:-ms-input-placeholder { |
|
479 |
+ /* IE 10+ */ |
|
480 |
+ font-size: 16px; |
|
481 |
+} |
|
482 |
+*::-ms-input-placeholder { |
|
483 |
+ /* Microsoft Edge */ |
|
484 |
+ font-size: 16px; |
|
485 |
+} |
|
486 |
+*::placeholder { |
|
487 |
+ /* modern browser */ |
|
488 |
+ font-size: 16px; |
|
489 |
+} |
|
0 | 490 |
\ No newline at end of file |