source: styles/globals.css@ b4369c8

main
Last change on this file since b4369c8 was 64dc53b, checked in by anastasovv <simon@…>, 2 years ago

Code cleanings

  • Property mode set to 100644
File size: 15.7 KB
Line 
1@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap);
2html,
3body {
4 padding: 0;
5 margin: 0;
6 font-family: 'Inter', sans-serif;
7}
8
9a {
10 color: inherit;
11 text-decoration: none;
12}
13
14* {
15 -webkit-box-sizing: border-box;
16 box-sizing: border-box;
17}
18
19p, h1, h3 {
20 margin: 0;
21}
22
23.app {
24 color: white;
25 letter-spacing: 1px;
26 width: 100vw;
27 height: 100vh;
28 margin: auto;
29 overflow: hidden;
30 background-size: cover;
31 background-repeat: no-repeat;
32 background-position: 0% 50%;
33 text-align: center;
34}
35
36/**
37 * Component <- Header
38 */
39header.header {
40 display: -webkit-box;
41 display: -ms-flexbox;
42 display: flex;
43 -webkit-box-pack: justify;
44 -ms-flex-pack: justify;
45 justify-content: space-between;
46 -webkit-box-align: center;
47 -ms-flex-align: center;
48 align-items: center;
49 width: 92vw;
50 margin: auto;
51 margin-top: 20px;
52}
53
54header.header .logo {
55 width: 80px;
56 aspect-ratio: 1;
57 border-radius: 100%;
58 background-image: url("/images/logo.png");
59 background-size: cover;
60 border: 2px solid rgba(255, 255, 255, 0.2);
61 cursor: pointer;
62}
63
64header.header h2 {
65 cursor: pointer;
66}
67
68header.header nav ul {
69 display: -webkit-box;
70 display: -ms-flexbox;
71 display: flex;
72 -webkit-box-orient: horizontal;
73 -webkit-box-direction: normal;
74 -ms-flex-direction: row;
75 flex-direction: row;
76 list-style-type: none;
77}
78
79header.header nav ul li {
80 margin-right: 4rem;
81}
82
83header.header nav ul li:last-child {
84 margin-right: 0;
85}
86
87header.header nav.mainHeaderNavigation ul li {
88 cursor: pointer;
89}
90
91/**
92 * Component <- Full Width Text
93 *
94 * Used in "Welcome To Caessino"
95 */
96.fullwidthText {
97 width: 100vw;
98 display: -webkit-box;
99 display: -ms-flexbox;
100 display: flex;
101 -webkit-box-orient: vertical;
102 -webkit-box-direction: normal;
103 -ms-flex-direction: column;
104 flex-direction: column;
105 -webkit-box-pack: center;
106 -ms-flex-pack: center;
107 justify-content: center;
108 -webkit-box-align: center;
109 -ms-flex-align: center;
110 align-items: center;
111 margin-top: 40px;
112 padding: 15px 0 20px 0;
113 background-color: rgba(0, 0, 0, 0.6);
114}
115
116.fullwidthText h1 {
117 color: #FFD700;
118 font-weight: lighter;
119 font-size: 2.5rem;
120}
121
122.fullwidthText h3 {
123 margin-top: 15px;
124 font-weight: lighter;
125}
126
127/**
128 * Component <- Alert
129 *
130 * Similar to Full Width Text
131 */
132.alert {
133 width: 100vw;
134 display: -webkit-box;
135 display: -ms-flexbox;
136 display: flex;
137 -webkit-box-orient: vertical;
138 -webkit-box-direction: normal;
139 -ms-flex-direction: column;
140 flex-direction: column;
141 -webkit-box-pack: center;
142 -ms-flex-pack: center;
143 justify-content: center;
144 -webkit-box-align: center;
145 -ms-flex-align: center;
146 align-items: center;
147 padding: 20px 0 25px 0;
148 background-color: rgba(0, 0, 0, 0.9);
149 position: absolute;
150 top: 50vh;
151 -webkit-transform: translateY(-70%);
152 transform: translateY(-70%);
153 -webkit-transition: '.5s linear';
154 transition: '.5s linear';
155}
156
157.alert h1 {
158 color: #FFD700;
159 font-weight: lighter;
160 font-size: 2.5rem;
161}
162
163.alert h3 {
164 margin-top: 10px;
165 font-weight: lighter;
166}
167
168.alert button {
169 width: 500px;
170 margin-top: 20px;
171}
172
173/**
174 * Component <- Notification
175 *
176 * Displayed fixed in the top right corner
177 */
178.notification {
179 position: fixed;
180 top: 40px;
181 right: 30px;
182 width: 500px;
183 min-height: 200px;
184 display: -webkit-box;
185 display: -ms-flexbox;
186 display: flex;
187 -webkit-box-orient: vertical;
188 -webkit-box-direction: normal;
189 -ms-flex-direction: column;
190 flex-direction: column;
191 -webkit-box-pack: center;
192 -ms-flex-pack: center;
193 justify-content: center;
194 -webkit-box-align: end;
195 -ms-flex-align: end;
196 align-items: flex-end;
197 font-size: 2rem;
198 padding: 20px;
199 border-radius: 15px;
200 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
201 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
202}
203
204.notification svg {
205 cursor: pointer;
206}
207
208.notification > div {
209 -webkit-box-flex: 1;
210 -ms-flex: 1;
211 flex: 1;
212 width: 100%;
213 display: -webkit-box;
214 display: -ms-flexbox;
215 display: flex;
216 -webkit-box-pack: center;
217 -ms-flex-pack: center;
218 justify-content: center;
219 -webkit-box-align: center;
220 -ms-flex-align: center;
221 align-items: center;
222 font-size: 1.5rem;
223 margin-bottom: 1.2rem;
224 text-align: center;
225}
226
227/**
228 * Component <- Game Circle
229 *
230 * Used in Landing Page -> to display the games in circles
231 */
232.gameCircles {
233 display: -webkit-box;
234 display: -ms-flexbox;
235 display: flex;
236 -webkit-box-orient: horizontal;
237 -webkit-box-direction: normal;
238 -ms-flex-direction: row;
239 flex-direction: row;
240 -webkit-box-pack: justify;
241 -ms-flex-pack: justify;
242 justify-content: space-between;
243 -webkit-box-align: center;
244 -ms-flex-align: center;
245 align-items: center;
246 width: 92vw;
247 margin: auto;
248 margin-top: 50px;
249}
250
251.gameCircles .gameCircle {
252 -webkit-transition: all .2s linear;
253 transition: all .2s linear;
254 cursor: pointer;
255 display: -webkit-box;
256 display: -ms-flexbox;
257 display: flex;
258 -webkit-box-orient: vertical;
259 -webkit-box-direction: normal;
260 -ms-flex-direction: column;
261 flex-direction: column;
262 -webkit-box-pack: center;
263 -ms-flex-pack: center;
264 justify-content: center;
265 -webkit-box-align: center;
266 -ms-flex-align: center;
267 align-items: center;
268}
269
270.gameCircles .gameCircle .circleLarge {
271 -webkit-transition: all .2s linear;
272 transition: all .2s linear;
273 width: 22vw;
274 aspect-ratio: 1;
275 border-radius: 100%;
276 background: -webkit-gradient(linear, left bottom, right top, from(#ffd900cc), to(#B65714));
277 background: linear-gradient(to top right, #ffd900cc, #B65714);
278 opacity: .95;
279 display: -webkit-box;
280 display: -ms-flexbox;
281 display: flex;
282 -webkit-box-orient: vertical;
283 -webkit-box-direction: normal;
284 -ms-flex-direction: column;
285 flex-direction: column;
286}
287
288.gameCircles .gameCircle .circleLarge .circle {
289 border-radius: 100%;
290 width: 98%;
291 background-size: cover;
292 margin: auto;
293 aspect-ratio: 1;
294}
295
296.gameCircles .gameCircle h3 {
297 -webkit-transition: all .2s linear;
298 transition: all .2s linear;
299 font-weight: lighter;
300 margin-top: 30px;
301 opacity: 0;
302}
303
304.gameCircles .gameCircle h1.loading {
305 color: white;
306 position: absolute;
307 width: 100vw;
308 top: 50vh;
309 left: 50vw;
310 -webkit-transform: translate(-50%, -50%);
311 transform: translate(-50%, -50%);
312 font-size: 5rem;
313 z-index: 10;
314}
315
316.gameCircles .gameCircle:hover .circleLarge {
317 -webkit-transform: scale(1.1);
318 transform: scale(1.1);
319 opacity: 1;
320}
321
322.gameCircles .gameCircle:hover h3 {
323 opacity: 1;
324}
325
326.gameCircles:hover .gameCircle .circleLarge {
327 opacity: 1 !important;
328}
329
330/**
331 * Full Screen Overlay
332 */
333.fullscreen {
334 position: fixed;
335 top: 0;
336 left: 0;
337 width: 100vw;
338 height: 100vh;
339 background: -webkit-gradient(linear, left top, right top, from(#0B932E), to(#097625));
340 background: linear-gradient(to right, #0B932E, #097625);
341 color: #ead24d;
342}
343
344.fs-centered > div {
345 position: fixed;
346 top: 50vh;
347 left: 50vw;
348 -webkit-transform: translate(-50%, -50%);
349 transform: translate(-50%, -50%);
350}
351
352.fs-inputs-container > div {
353 margin: auto;
354 margin-top: 2.4rem;
355 width: -webkit-fit-content;
356 width: -moz-fit-content;
357 width: fit-content;
358 display: -webkit-box;
359 display: -ms-flexbox;
360 display: flex;
361 -webkit-box-orient: vertical;
362 -webkit-box-direction: normal;
363 -ms-flex-direction: column;
364 flex-direction: column;
365 -webkit-box-pack: center;
366 -ms-flex-pack: center;
367 justify-content: center;
368 -webkit-box-align: center;
369 -ms-flex-align: center;
370 align-items: center;
371}
372
373.fs-inputs-container > div > span {
374 margin-bottom: .5rem;
375 font-size: 1.5rem;
376}
377
378.fs-inputs-container > div > input {
379 margin-bottom: 2rem;
380 padding-left: 4px;
381 padding-right: 4px;
382 font-size: 2rem;
383}
384
385.statsScreen svg {
386 cursor: pointer;
387 font-size: 2.5rem;
388 color: white;
389}
390
391.statsScreen > div h1 {
392 font-size: 2.5rem;
393 margin-bottom: 5rem;
394}
395
396.statsScreen > div p {
397 display: -webkit-box;
398 display: -ms-flexbox;
399 display: flex;
400 -webkit-box-pack: justify;
401 -ms-flex-pack: justify;
402 justify-content: space-between;
403 font-size: 1.5rem;
404 margin-bottom: 1rem;
405}
406
407.statsScreen > div p:nth-child(2n) {
408 color: white;
409}
410
411.statsScreen > div p span {
412 margin-left: 5rem;
413}
414
415.manageCreditsScreen svg {
416 cursor: pointer;
417 font-size: 2.5rem;
418 color: white;
419}
420
421.manageCreditsScreen > div h1 {
422 font-size: 1.5rem;
423 margin-bottom: 1rem;
424}
425
426.manageCreditsScreen > div p {
427 margin-bottom: 5rem;
428 color: white;
429}
430
431.manageCreditsScreen > div button {
432 width: 100%;
433}
434
435.inlineAlert {
436 cursor: pointer;
437 background-color: #ffdddd;
438 padding: .8rem 2.4rem;
439 border-radius: 15px;
440 color: #ff0000;
441 font-size: 1.8rem !important;
442 font-weight: 100;
443 letter-spacing: -.030em;
444}
445
446/**
447 * Component <- Loading
448 */
449.loadingScreen h1 {
450 font-size: 5rem;
451}
452
453/**
454 * Component <- RegisterScreen
455 */
456/**
457 * Primary Thingies
458 */
459.primaryButton {
460 background: -webkit-gradient(linear, left top, right top, from(#0B932E), to(#097625));
461 background: linear-gradient(to right, #0B932E, #097625);
462 color: #ead24d;
463 outline: none;
464 border: none;
465 border-radius: 10px;
466 font-size: 1.5rem;
467 font-weight: bold;
468 padding: 5px 20px;
469 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
470 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
471 cursor: pointer;
472 -webkit-transition: all .2s linear;
473 transition: all .2s linear;
474}
475
476.primaryButton:hover {
477 -webkit-transform: scale(1.1) rotateZ(-1deg);
478 transform: scale(1.1) rotateZ(-1deg);
479}
480
481.primaryButton:active {
482 -webkit-transition: .05s linear;
483 transition: .05s linear;
484 -webkit-transform: scale(1) rotateZ(-1deg);
485 transform: scale(1) rotateZ(-1deg);
486}
487
488.secondaryButton {
489 background: -webkit-gradient(linear, left top, right top, from(#4d99ea), to(#4d99ea));
490 background: linear-gradient(to right, #4d99ea, #4d99ea);
491 color: white;
492 outline: none;
493 border: none;
494 border-radius: 10px;
495 font-size: 1.5rem;
496 font-weight: bold;
497 padding: 5px 20px;
498 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
499 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
500 cursor: pointer;
501 -webkit-transition: all .2s linear;
502 transition: all .2s linear;
503}
504
505.secondaryButton:hover {
506 -webkit-transform: scale(1.1) rotateZ(-1deg);
507 transform: scale(1.1) rotateZ(-1deg);
508}
509
510.secondaryButton:active {
511 -webkit-transition: .05s linear;
512 transition: .05s linear;
513 -webkit-transform: scale(1) rotateZ(-1deg);
514 transform: scale(1) rotateZ(-1deg);
515}
516
517/**
518 * Input Sliders
519 */
520.primarySlider {
521 -webkit-appearance: none;
522 width: 250px;
523 height: 10px;
524 background: #0B932E;
525 outline: none;
526 border-radius: 10px;
527 -webkit-transition: .2s;
528 -webkit-transition: opacity .2s;
529 transition: opacity .2s;
530 -webkit-box-shadow: 0 5px 25px rgba(234, 210, 77, 0.25);
531 box-shadow: 0 5px 25px rgba(234, 210, 77, 0.25);
532}
533
534.primarySlider:hover {
535 opacity: 1;
536}
537
538.primarySlider::-webkit-slider-thumb {
539 -webkit-appearance: none;
540 appearance: none;
541 outline: none;
542 border: none;
543 width: 35px;
544 height: 35px;
545 border-radius: 50%;
546 background: url("/images/gold-coin.png");
547 background-size: contain;
548 background-color: #ead24d;
549 cursor: pointer;
550}
551
552.primarySlider::-moz-range-thumb {
553 -moz-appearance: none;
554 appearance: none;
555 outline: none;
556 border: none;
557 width: 35px;
558 height: 35px;
559 border-radius: 50%;
560 background: url("/images/gold-coin.png");
561 background-size: contain;
562 background-color: #ead24d;
563 cursor: pointer;
564}
565
566/**
567 * Scrollbar
568 */
569/* width */
570::-webkit-scrollbar {
571 width: 15px;
572}
573
574/* Track */
575::-webkit-scrollbar-track {
576 background: #0B932E;
577}
578
579/* Handle */
580::-webkit-scrollbar-thumb {
581 background: #ead24d;
582}
583
584/* Handle on hover */
585::-webkit-scrollbar-thumb:hover {
586 background: #efcb00;
587}
588
589/**
590 * File <- Blackjack Main
591 * Components <- PlayButtons, Cards
592 */
593.blackjackButtons {
594 position: absolute;
595 left: 0;
596 top: 90vh;
597 width: 100vw;
598 height: 10vh;
599 overflow: hidden;
600}
601
602.blackjackButtons > div {
603 display: -webkit-box;
604 display: -ms-flexbox;
605 display: flex;
606 -webkit-box-orient: horizontal;
607 -webkit-box-direction: normal;
608 -ms-flex-direction: row;
609 flex-direction: row;
610 -webkit-box-pack: center;
611 -ms-flex-pack: center;
612 justify-content: center;
613 -webkit-box-align: center;
614 -ms-flex-align: center;
615 align-items: center;
616 -webkit-transition: .5s ease-in-out;
617 transition: .5s ease-in-out;
618}
619
620.blackjackButtons > div > button {
621 width: 300px;
622}
623
624.blackjackButtons > div > button:nth-child(2) {
625 margin-left: 30px;
626}
627
628.blackjackCards .card {
629 aspect-ratio: 400/560;
630 height: 150px;
631 background-size: contain;
632 position: absolute;
633 -webkit-transition: .5s ease-in-out;
634 transition: .5s ease-in-out;
635 border-radius: 10px;
636 border: 1px solid black;
637}
638
639.blackjackDisplayBet {
640 position: absolute;
641 -webkit-transform: translate(-50%, -50%);
642 transform: translate(-50%, -50%);
643 left: 51vw;
644 top: 63.5vh;
645}
646
647.blackjackSideBetsModal {
648 z-index: 20;
649 -webkit-box-orient: vertical !important;
650 -webkit-box-direction: normal !important;
651 -ms-flex-direction: column !important;
652 flex-direction: column !important;
653 position: fixed;
654 left: 50vw;
655 top: 45vh;
656 width: 41vw;
657 height: 80vh;
658 padding: 10px;
659 -webkit-transform: translate(-50%, -50%);
660 transform: translate(-50%, -50%);
661 background: -webkit-gradient(linear, left top, right top, from(#0B932Ec0), to(#097625e0));
662 background: linear-gradient(to right, #0B932Ec0, #097625e0);
663 -webkit-box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
664 box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
665 border-radius: 20px;
666 overflow-y: scroll;
667}
668
669.blackjackSideBetsModal .blackjackSideBetSelect {
670 display: -webkit-box;
671 display: -ms-flexbox;
672 display: flex;
673 -webkit-box-orient: vertical;
674 -webkit-box-direction: normal;
675 -ms-flex-direction: column;
676 flex-direction: column;
677 width: 100%;
678}
679
680.blackjackSideBetsModal .blackjackSideBetSelect:first-child {
681 margin-top: 10rem;
682}
683
684.blackjackSideBetsModal .blackjackSideBetSelect h1 {
685 margin-bottom: 1rem;
686 color: #ead24d;
687}
688
689.blackjackSideBetsModal .blackjackSideBetSelect > div {
690 text-align: left;
691}
692
693.blackjackSideBetsModal .blackjackSideBetSelect > div p {
694 margin-bottom: 1rem;
695 padding: 10px 20px;
696 border-radius: 5px;
697 cursor: pointer;
698 -webkit-transition: all .25s linear;
699 transition: all .25s linear;
700}
701
702.blackjackSideBetsModal .blackjackSideBetSelect > div p span {
703 font-size: 1.2rem;
704 color: #ead24d;
705}
706
707.blackjackSideBetsModal .blackjackSideBetSelect > div p:hover {
708 color: #ead24d;
709 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
710 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
711}
712
713.blackjackSideBetsChooseCreditsModal {
714 z-index: 20;
715 -webkit-box-orient: vertical !important;
716 -webkit-box-direction: normal !important;
717 -ms-flex-direction: column !important;
718 flex-direction: column !important;
719 position: fixed;
720 left: 50vw;
721 top: 45vh;
722 width: 41vw;
723 height: 80vh;
724 padding: 10px;
725 -webkit-transform: translate(-50%, -50%);
726 transform: translate(-50%, -50%);
727 background: -webkit-gradient(linear, left top, right top, from(#00000080), to(#00000080));
728 background: linear-gradient(to right, #00000080, #00000080);
729 -webkit-box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
730 box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
731 border-radius: 20px;
732}
733
734.blackjackSideBetsChooseCreditsModal p {
735 margin-bottom: 1rem;
736 padding: 10px 20px;
737 border-radius: 5px;
738 -webkit-transition: all .25s linear;
739 transition: all .25s linear;
740}
741
742.blackjackSideBetsChooseCreditsModal p span {
743 font-size: 1.2rem;
744 color: white;
745}
746/*# sourceMappingURL=globals.css.map */
Note: See TracBrowser for help on using the repository browser.