source: styles/globals.css@ b13f93b

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

Made poker tables system and round 1

  • Property mode set to 100644
File size: 27.4 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 overflow: hidden;
8}
9
10a {
11 color: inherit;
12 text-decoration: none;
13}
14
15* {
16 -webkit-box-sizing: border-box;
17 box-sizing: border-box;
18}
19
20p, h1, h3 {
21 margin: 0;
22}
23
24.app {
25 color: white;
26 letter-spacing: 1px;
27 width: 100vw;
28 height: 100vh;
29 margin: auto;
30 overflow: hidden;
31 background-size: cover;
32 background-repeat: no-repeat;
33 background-position: 0% 50%;
34 text-align: center;
35}
36
37/**
38 * Component <- Header
39 */
40header.header {
41 display: -webkit-box;
42 display: -ms-flexbox;
43 display: flex;
44 -webkit-box-pack: justify;
45 -ms-flex-pack: justify;
46 justify-content: space-between;
47 -webkit-box-align: center;
48 -ms-flex-align: center;
49 align-items: center;
50 width: 92vw;
51 margin: auto;
52 margin-top: 20px;
53 position: relative;
54 z-index: 5;
55}
56
57header.header .logo {
58 width: 80px;
59 aspect-ratio: 1;
60 border-radius: 100%;
61 background-image: url("/images/logo.png");
62 background-size: cover;
63 border: 2px solid rgba(255, 255, 255, 0.2);
64 cursor: pointer;
65}
66
67header.header h2 {
68 cursor: pointer;
69}
70
71header.header nav ul {
72 display: -webkit-box;
73 display: -ms-flexbox;
74 display: flex;
75 -webkit-box-orient: horizontal;
76 -webkit-box-direction: normal;
77 -ms-flex-direction: row;
78 flex-direction: row;
79 list-style-type: none;
80}
81
82header.header nav ul li {
83 margin-right: 4rem;
84}
85
86header.header nav ul li:last-child {
87 margin-right: 0;
88}
89
90header.header nav.mainHeaderNavigation ul li {
91 cursor: pointer;
92}
93
94/**
95 * Component <- Full Width Text
96 *
97 * Used in "Welcome To Caessino"
98 */
99.fullwidthText {
100 width: 100vw;
101 display: -webkit-box;
102 display: -ms-flexbox;
103 display: flex;
104 -webkit-box-orient: vertical;
105 -webkit-box-direction: normal;
106 -ms-flex-direction: column;
107 flex-direction: column;
108 -webkit-box-pack: center;
109 -ms-flex-pack: center;
110 justify-content: center;
111 -webkit-box-align: center;
112 -ms-flex-align: center;
113 align-items: center;
114 margin-top: 40px;
115 padding: 15px 0 20px 0;
116 background-color: rgba(0, 0, 0, 0.6);
117}
118
119.fullwidthText h1 {
120 color: #FFD700;
121 font-weight: lighter;
122 font-size: 2.5rem;
123}
124
125.fullwidthText h3 {
126 margin-top: 15px;
127 font-weight: lighter;
128}
129
130/**
131 * Component <- Alert
132 *
133 * Similar to Full Width Text
134 */
135.alert {
136 z-index: 30;
137 width: 100vw;
138 display: -webkit-box;
139 display: -ms-flexbox;
140 display: flex;
141 -webkit-box-orient: vertical;
142 -webkit-box-direction: normal;
143 -ms-flex-direction: column;
144 flex-direction: column;
145 -webkit-box-pack: center;
146 -ms-flex-pack: center;
147 justify-content: center;
148 -webkit-box-align: center;
149 -ms-flex-align: center;
150 align-items: center;
151 padding: 20px 0 25px 0;
152 background-color: rgba(0, 0, 0, 0.9);
153 position: absolute;
154 -webkit-transform: translateY(-70%);
155 transform: translateY(-70%);
156 -webkit-transition: '.5s linear';
157 transition: '.5s linear';
158}
159
160.alert h1 {
161 color: #FFD700;
162 font-weight: lighter;
163 font-size: 2.5rem;
164}
165
166.alert h3 {
167 margin-top: 10px;
168 font-weight: lighter;
169}
170
171.alert button {
172 width: 500px;
173 margin-top: 20px;
174}
175
176/**
177 * Component <- Notification
178 *
179 * Displayed fixed in the top right corner
180 */
181.notification {
182 z-index: 30;
183 position: fixed;
184 top: 40px;
185 right: 30px;
186 width: 500px;
187 min-height: 200px;
188 display: -webkit-box;
189 display: -ms-flexbox;
190 display: flex;
191 -webkit-box-orient: vertical;
192 -webkit-box-direction: normal;
193 -ms-flex-direction: column;
194 flex-direction: column;
195 -webkit-box-pack: center;
196 -ms-flex-pack: center;
197 justify-content: center;
198 -webkit-box-align: end;
199 -ms-flex-align: end;
200 align-items: flex-end;
201 font-size: 2rem;
202 padding: 20px;
203 border-radius: 15px;
204 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
205 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
206}
207
208.notification svg {
209 cursor: pointer;
210}
211
212.notification > div {
213 -webkit-box-flex: 1;
214 -ms-flex: 1;
215 flex: 1;
216 width: 100%;
217 display: -webkit-box;
218 display: -ms-flexbox;
219 display: flex;
220 -webkit-box-pack: center;
221 -ms-flex-pack: center;
222 justify-content: center;
223 -webkit-box-align: center;
224 -ms-flex-align: center;
225 align-items: center;
226 font-size: 1.5rem;
227 margin-bottom: 1.2rem;
228 text-align: center;
229}
230
231/**
232 * Component <- Game Circle
233 *
234 * Used in Landing Page -> to display the games in circles
235 */
236.gameCircles {
237 display: -webkit-box;
238 display: -ms-flexbox;
239 display: flex;
240 -webkit-box-orient: horizontal;
241 -webkit-box-direction: normal;
242 -ms-flex-direction: row;
243 flex-direction: row;
244 -webkit-box-pack: justify;
245 -ms-flex-pack: justify;
246 justify-content: space-between;
247 -webkit-box-align: center;
248 -ms-flex-align: center;
249 align-items: center;
250 width: 92vw;
251 margin: auto;
252 margin-top: 50px;
253}
254
255.gameCircles .gameCircle {
256 -webkit-transition: all .2s linear;
257 transition: all .2s linear;
258 cursor: pointer;
259 display: -webkit-box;
260 display: -ms-flexbox;
261 display: flex;
262 -webkit-box-orient: vertical;
263 -webkit-box-direction: normal;
264 -ms-flex-direction: column;
265 flex-direction: column;
266 -webkit-box-pack: center;
267 -ms-flex-pack: center;
268 justify-content: center;
269 -webkit-box-align: center;
270 -ms-flex-align: center;
271 align-items: center;
272}
273
274.gameCircles .gameCircle .circleLarge {
275 -webkit-transition: all .2s linear;
276 transition: all .2s linear;
277 width: 22vw;
278 aspect-ratio: 1;
279 border-radius: 100%;
280 background: -webkit-gradient(linear, left bottom, right top, from(#ffd900cc), to(#B65714));
281 background: linear-gradient(to top right, #ffd900cc, #B65714);
282 opacity: .95;
283 display: -webkit-box;
284 display: -ms-flexbox;
285 display: flex;
286 -webkit-box-orient: vertical;
287 -webkit-box-direction: normal;
288 -ms-flex-direction: column;
289 flex-direction: column;
290}
291
292.gameCircles .gameCircle .circleLarge .circle {
293 border-radius: 100%;
294 width: 98%;
295 background-size: cover;
296 margin: auto;
297 aspect-ratio: 1;
298}
299
300.gameCircles .gameCircle h3 {
301 -webkit-transition: all .2s linear;
302 transition: all .2s linear;
303 font-weight: lighter;
304 margin-top: 30px;
305 opacity: 0;
306}
307
308.gameCircles .gameCircle h1.loading {
309 color: white;
310 position: absolute;
311 width: 100vw;
312 top: 50vh;
313 left: 50vw;
314 -webkit-transform: translate(-50%, -50%);
315 transform: translate(-50%, -50%);
316 font-size: 5rem;
317 z-index: 10;
318}
319
320.gameCircles .gameCircle:hover .circleLarge {
321 -webkit-transform: scale(1.1);
322 transform: scale(1.1);
323 opacity: 1;
324}
325
326.gameCircles .gameCircle:hover h3 {
327 opacity: 1;
328}
329
330.gameCircles:hover .gameCircle .circleLarge {
331 opacity: 1 !important;
332}
333
334/**
335 * Full Screen Overlay
336 */
337.fullscreen {
338 position: fixed;
339 top: 0;
340 left: 0;
341 width: 100vw;
342 height: 100vh;
343 background: -webkit-gradient(linear, left top, right top, from(#0B932E), to(#097625));
344 background: linear-gradient(to right, #0B932E, #097625);
345 color: #ead24d;
346 z-index: 10;
347}
348
349.fs-centered > div {
350 position: fixed;
351 top: 50vh;
352 left: 50vw;
353 -webkit-transform: translate(-50%, -50%);
354 transform: translate(-50%, -50%);
355}
356
357.fs-inputs-container > div {
358 margin: auto;
359 margin-top: 2.4rem;
360 width: -webkit-fit-content;
361 width: -moz-fit-content;
362 width: fit-content;
363 display: -webkit-box;
364 display: -ms-flexbox;
365 display: flex;
366 -webkit-box-orient: vertical;
367 -webkit-box-direction: normal;
368 -ms-flex-direction: column;
369 flex-direction: column;
370 -webkit-box-pack: center;
371 -ms-flex-pack: center;
372 justify-content: center;
373 -webkit-box-align: center;
374 -ms-flex-align: center;
375 align-items: center;
376}
377
378.fs-inputs-container > div > span {
379 margin-bottom: .5rem;
380 font-size: 1.5rem;
381}
382
383.fs-inputs-container > div > input {
384 margin-bottom: 2rem;
385 padding-left: 4px;
386 padding-right: 4px;
387 font-size: 2rem;
388}
389
390.statsScreen svg {
391 cursor: pointer;
392 font-size: 2.5rem;
393 color: white;
394}
395
396.statsScreen > div h1 {
397 font-size: 2.5rem;
398 margin-bottom: 5rem;
399}
400
401.statsScreen > div p {
402 display: -webkit-box;
403 display: -ms-flexbox;
404 display: flex;
405 -webkit-box-pack: justify;
406 -ms-flex-pack: justify;
407 justify-content: space-between;
408 font-size: 1.5rem;
409 margin-bottom: 1rem;
410}
411
412.statsScreen > div p:nth-child(2n) {
413 color: white;
414}
415
416.statsScreen > div p span {
417 margin-left: 5rem;
418}
419
420.manageCreditsScreen svg {
421 cursor: pointer;
422 font-size: 2.5rem;
423 color: white;
424}
425
426.manageCreditsScreen > div h1 {
427 font-size: 1.5rem;
428 margin-bottom: 1rem;
429}
430
431.manageCreditsScreen > div p {
432 margin-bottom: 5rem;
433 color: white;
434}
435
436.manageCreditsScreen > div button {
437 width: 100%;
438}
439
440.inlineAlert {
441 cursor: pointer;
442 background-color: #ffdddd;
443 padding: .8rem 2.4rem;
444 border-radius: 15px;
445 color: #ff0000;
446 font-size: 1.8rem !important;
447 font-weight: 100;
448 letter-spacing: -.030em;
449}
450
451/**
452 * Component <- Loading
453 */
454.loadingScreen h1 {
455 font-size: 5rem;
456}
457
458/**
459 * Component <- RegisterScreen
460 */
461/**
462 * Primary Thingies
463 */
464.primaryButton {
465 background: -webkit-gradient(linear, left top, right top, from(#0B932E), to(#097625));
466 background: linear-gradient(to right, #0B932E, #097625);
467 color: #ead24d;
468 outline: none;
469 border: none;
470 border-radius: 10px;
471 font-size: 1.5rem;
472 font-weight: bold;
473 padding: 5px 20px;
474 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
475 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
476 cursor: pointer;
477 -webkit-transition: all .2s linear;
478 transition: all .2s linear;
479}
480
481.primaryButton:hover {
482 -webkit-transform: scale(1.1) rotateZ(-1deg);
483 transform: scale(1.1) rotateZ(-1deg);
484}
485
486.primaryButton:active {
487 -webkit-transition: .05s linear;
488 transition: .05s linear;
489 -webkit-transform: scale(1) rotateZ(-1deg);
490 transform: scale(1) rotateZ(-1deg);
491}
492
493.secondaryButton {
494 background: -webkit-gradient(linear, left top, right top, from(#4d99ea), to(#4d99ea));
495 background: linear-gradient(to right, #4d99ea, #4d99ea);
496 color: white;
497 outline: none;
498 border: none;
499 border-radius: 10px;
500 font-size: 1.5rem;
501 font-weight: bold;
502 padding: 5px 20px;
503 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
504 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
505 cursor: pointer;
506 -webkit-transition: all .2s linear;
507 transition: all .2s linear;
508}
509
510.secondaryButton:hover {
511 -webkit-transform: scale(1.1) rotateZ(-1deg);
512 transform: scale(1.1) rotateZ(-1deg);
513}
514
515.secondaryButton:active {
516 -webkit-transition: .05s linear;
517 transition: .05s linear;
518 -webkit-transform: scale(1) rotateZ(-1deg);
519 transform: scale(1) rotateZ(-1deg);
520}
521
522.tertiaryButton {
523 background: -webkit-gradient(linear, left top, right top, from(#484848), to(#6a6a6a));
524 background: linear-gradient(to right, #484848, #6a6a6a);
525 color: white;
526 outline: none;
527 border: none;
528 border-radius: 10px;
529 font-size: 1.5rem;
530 font-weight: bold;
531 padding: 5px 20px;
532 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
533 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
534 cursor: pointer;
535 -webkit-transition: all .2s linear;
536 transition: all .2s linear;
537}
538
539.tertiaryButton:hover {
540 background: -webkit-gradient(linear, left top, right top, from(#6e6e6e), to(#a0a0a0));
541 background: linear-gradient(to right, #6e6e6e, #a0a0a0);
542}
543
544.tertiaryButton:active {
545 -webkit-transition: .05s linear;
546 transition: .05s linear;
547 background: -webkit-gradient(linear, left top, right top, from(#484848), to(#6a6a6a));
548 background: linear-gradient(to right, #484848, #6a6a6a);
549}
550
551/**
552 * Input Sliders
553 */
554.primarySlider {
555 -webkit-appearance: none;
556 width: 250px;
557 height: 10px;
558 background: #0B932E;
559 outline: none;
560 border-radius: 10px;
561 -webkit-transition: .2s;
562 -webkit-transition: opacity .2s;
563 transition: opacity .2s;
564 -webkit-box-shadow: 0 5px 25px rgba(234, 210, 77, 0.25);
565 box-shadow: 0 5px 25px rgba(234, 210, 77, 0.25);
566}
567
568.primarySlider:hover {
569 opacity: 1;
570}
571
572.primarySlider::-webkit-slider-thumb {
573 -webkit-appearance: none;
574 appearance: none;
575 outline: none;
576 border: none;
577 width: 35px;
578 height: 35px;
579 border-radius: 50%;
580 background: url("/images/gold-coin.png");
581 background-size: contain;
582 background-color: #ead24d;
583 cursor: pointer;
584}
585
586.primarySlider::-moz-range-thumb {
587 -moz-appearance: none;
588 appearance: none;
589 outline: none;
590 border: none;
591 width: 35px;
592 height: 35px;
593 border-radius: 50%;
594 background: url("/images/gold-coin.png");
595 background-size: contain;
596 background-color: #ead24d;
597 cursor: pointer;
598}
599
600/**
601 * Scrollbar
602 */
603/* width */
604::-webkit-scrollbar {
605 width: 15px;
606}
607
608/* Track */
609::-webkit-scrollbar-track {
610 background: #0B932E;
611}
612
613/* Handle */
614::-webkit-scrollbar-thumb {
615 background: #ead24d;
616}
617
618/* Handle on hover */
619::-webkit-scrollbar-thumb:hover {
620 background: #efcb00;
621}
622
623/**
624 * File <- Blackjack Main
625 */
626.blackjackButtons {
627 position: absolute;
628 left: 0;
629 top: 90vh;
630 width: 100vw;
631 height: 10vh;
632 overflow: hidden;
633}
634
635.blackjackButtons > div {
636 display: -webkit-box;
637 display: -ms-flexbox;
638 display: flex;
639 -webkit-box-orient: horizontal;
640 -webkit-box-direction: normal;
641 -ms-flex-direction: row;
642 flex-direction: row;
643 -webkit-box-pack: center;
644 -ms-flex-pack: center;
645 justify-content: center;
646 -webkit-box-align: center;
647 -ms-flex-align: center;
648 align-items: center;
649 -webkit-transition: .5s ease-in-out;
650 transition: .5s ease-in-out;
651}
652
653.blackjackButtons > div > button {
654 width: 300px;
655}
656
657.blackjackButtons > div > button:nth-child(2) {
658 margin-left: 30px;
659}
660
661.card {
662 aspect-ratio: 400/560;
663 height: 150px;
664 background-size: contain;
665 position: absolute;
666 -webkit-transition: .5s ease-in-out;
667 transition: .5s ease-in-out;
668 border-radius: 10px;
669 border: 1px solid black;
670}
671
672.blackjackDisplayBet {
673 position: absolute;
674 -webkit-transform: translate(-50%, -50%);
675 transform: translate(-50%, -50%);
676 left: 51vw;
677 top: 63.5vh;
678}
679
680.blackjackSideBetsModal {
681 z-index: 20;
682 -webkit-box-orient: vertical !important;
683 -webkit-box-direction: normal !important;
684 -ms-flex-direction: column !important;
685 flex-direction: column !important;
686 position: fixed;
687 left: 50vw;
688 top: 45vh;
689 width: 41vw;
690 height: 80vh;
691 padding: 10px;
692 -webkit-transform: translate(-50%, -50%);
693 transform: translate(-50%, -50%);
694 background: -webkit-gradient(linear, left top, right top, from(#0B932Ec0), to(#097625e0));
695 background: linear-gradient(to right, #0B932Ec0, #097625e0);
696 -webkit-box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
697 box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
698 border-radius: 20px;
699 overflow-y: scroll;
700}
701
702.blackjackSideBetsModal .blackjackSideBetSelect {
703 display: -webkit-box;
704 display: -ms-flexbox;
705 display: flex;
706 -webkit-box-orient: vertical;
707 -webkit-box-direction: normal;
708 -ms-flex-direction: column;
709 flex-direction: column;
710 width: 100%;
711}
712
713.blackjackSideBetsModal .blackjackSideBetSelect:first-child {
714 margin-top: 10rem;
715}
716
717.blackjackSideBetsModal .blackjackSideBetSelect h1 {
718 margin-bottom: 1rem;
719 color: #ead24d;
720}
721
722.blackjackSideBetsModal .blackjackSideBetSelect > div {
723 text-align: left;
724}
725
726.blackjackSideBetsModal .blackjackSideBetSelect > div p {
727 margin-bottom: 1rem;
728 padding: 10px 20px;
729 border-radius: 5px;
730 cursor: pointer;
731 -webkit-transition: all .25s linear;
732 transition: all .25s linear;
733}
734
735.blackjackSideBetsModal .blackjackSideBetSelect > div p span {
736 font-size: 1.2rem;
737 color: #ead24d;
738}
739
740.blackjackSideBetsModal .blackjackSideBetSelect > div p:hover {
741 color: #ead24d;
742 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
743 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
744}
745
746.blackjackSideBetsChooseCreditsModal {
747 z-index: 20;
748 -webkit-box-orient: vertical !important;
749 -webkit-box-direction: normal !important;
750 -ms-flex-direction: column !important;
751 flex-direction: column !important;
752 position: fixed;
753 left: 50vw;
754 top: 45vh;
755 width: 41vw;
756 height: 80vh;
757 padding: 10px;
758 -webkit-transform: translate(-50%, -50%);
759 transform: translate(-50%, -50%);
760 background: -webkit-gradient(linear, left top, right top, from(#00000080), to(#00000080));
761 background: linear-gradient(to right, #00000080, #00000080);
762 -webkit-box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
763 box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
764 border-radius: 20px;
765}
766
767.blackjackSideBetsChooseCreditsModal p {
768 margin-bottom: 1rem;
769 padding: 10px 20px;
770 border-radius: 5px;
771 -webkit-transition: all .25s linear;
772 transition: all .25s linear;
773}
774
775.blackjackSideBetsChooseCreditsModal p span {
776 font-size: 1.2rem;
777 color: white;
778}
779
780/**
781 * File <- Roulette Main
782 */
783.rouletteMainContainer {
784 background-color: #006600;
785}
786
787#rouletteBetsImg {
788 position: absolute;
789 top: 65%;
790 left: 59%;
791 -webkit-transform: translate(-50%, -50%);
792 transform: translate(-50%, -50%);
793 width: 50vw;
794 height: auto;
795 cursor: url(/gold-coin.cur), auto;
796}
797
798#rouletteWheelImg {
799 position: absolute;
800 top: 60%;
801 left: 18%;
802 -webkit-transition: all .5s ease-in-out;
803 transition: all .5s ease-in-out;
804 width: 450px;
805 height: auto;
806}
807
808.rouletteInfoText {
809 position: absolute;
810 top: 15%;
811 width: 100vw;
812 text-align: center;
813 font-size: 1.1rem;
814}
815
816.roulettePlayersContainer {
817 position: absolute;
818 top: 15%;
819 right: 4%;
820 width: 10vw;
821 height: 80vh;
822 -webkit-box-shadow: 0 0 10px rgba(10, 148, 45, 0.25);
823 box-shadow: 0 0 10px rgba(10, 148, 45, 0.25);
824 padding: 1rem;
825 display: -ms-grid;
826 display: grid;
827 -ms-grid-rows: (minmax(0, 1fr))[2];
828 grid-template-rows: repeat(2, minmax(0, 1fr));
829 overflow-x: hidden;
830 overflow-y: scroll;
831}
832
833.roulettePlayersContainer p {
834 word-wrap: break-word;
835 margin-top: .5rem;
836}
837
838.rouletteTimer {
839 position: absolute;
840 top: calc((60% + 450px) / 2);
841 left: calc(18.5%);
842 -webkit-transform: translate(-50%, -50%);
843 transform: translate(-50%, -50%);
844 display: -webkit-box;
845 display: -ms-flexbox;
846 display: flex;
847 -webkit-box-orient: vertical;
848 -webkit-box-direction: normal;
849 -ms-flex-direction: column;
850 flex-direction: column;
851 -webkit-box-pack: center;
852 -ms-flex-pack: center;
853 justify-content: center;
854 -webkit-box-align: center;
855 -ms-flex-align: center;
856 align-items: center;
857 gap: 5px;
858 font-size: 2.5rem;
859 color: black;
860}
861
862.rouletteBetModal {
863 z-index: 20;
864 -webkit-box-orient: vertical;
865 -webkit-box-direction: normal;
866 -ms-flex-direction: column;
867 flex-direction: column;
868 -webkit-box-pack: center;
869 -ms-flex-pack: center;
870 justify-content: center;
871 -webkit-box-align: center;
872 -ms-flex-align: center;
873 align-items: center;
874 position: fixed;
875 left: 0;
876 top: 0;
877 width: 100vw;
878 height: 100vh;
879 background: #000000c0;
880}
881
882.rouletteBetModal p {
883 margin-bottom: 1rem;
884 padding: 10px 20px;
885 border-radius: 5px;
886 -webkit-transition: all .25s linear;
887 transition: all .25s linear;
888}
889
890.rouletteBetModal p span {
891 font-size: 1.2rem;
892 color: #ead24d;
893}
894
895/**
896 * Spin effect on the roulette wheel
897 */
898.spin {
899 -webkit-animation: spinner 4s infinite;
900 animation: spinner 4s infinite;
901 -webkit-animation-timing-function: ease-in-out;
902 animation-timing-function: ease-in-out;
903}
904
905@-webkit-keyframes spinner {
906 0% {
907 -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
908 transform: translate(-50%, -50%) rotateZ(0deg);
909 }
910 10% {
911 -webkit-transform: translate(-50%, -50%) rotateZ(calc(20 * 360deg));
912 transform: translate(-50%, -50%) rotateZ(calc(20 * 360deg));
913 }
914 20% {
915 -webkit-transform: translate(-50%, -50%) rotateZ(calc(38 * 360deg));
916 transform: translate(-50%, -50%) rotateZ(calc(38 * 360deg));
917 }
918 30% {
919 -webkit-transform: translate(-50%, -50%) rotateZ(calc(54 * 360deg));
920 transform: translate(-50%, -50%) rotateZ(calc(54 * 360deg));
921 }
922 40% {
923 -webkit-transform: translate(-50%, -50%) rotateZ(calc(78 * 360deg));
924 transform: translate(-50%, -50%) rotateZ(calc(78 * 360deg));
925 }
926 50% {
927 -webkit-transform: translate(-50%, -50%) rotateZ(calc(90 * 360deg));
928 transform: translate(-50%, -50%) rotateZ(calc(90 * 360deg));
929 }
930 60% {
931 -webkit-transform: translate(-50%, -50%) rotateZ(calc(100 * 360deg));
932 transform: translate(-50%, -50%) rotateZ(calc(100 * 360deg));
933 }
934 70% {
935 -webkit-transform: translate(-50%, -50%) rotateZ(calc(108 * 360deg));
936 transform: translate(-50%, -50%) rotateZ(calc(108 * 360deg));
937 }
938 80% {
939 -webkit-transform: translate(-50%, -50%) rotateZ(calc(116 * 360deg));
940 transform: translate(-50%, -50%) rotateZ(calc(116 * 360deg));
941 }
942 90% {
943 -webkit-transform: translate(-50%, -50%) rotateZ(calc(120 * 360deg));
944 transform: translate(-50%, -50%) rotateZ(calc(120 * 360deg));
945 }
946 100% {
947 -webkit-transform: translate(-50%, -50%) rotateZ(calc(122 * 360deg));
948 transform: translate(-50%, -50%) rotateZ(calc(122 * 360deg));
949 }
950}
951
952@keyframes spinner {
953 0% {
954 -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
955 transform: translate(-50%, -50%) rotateZ(0deg);
956 }
957 10% {
958 -webkit-transform: translate(-50%, -50%) rotateZ(calc(20 * 360deg));
959 transform: translate(-50%, -50%) rotateZ(calc(20 * 360deg));
960 }
961 20% {
962 -webkit-transform: translate(-50%, -50%) rotateZ(calc(38 * 360deg));
963 transform: translate(-50%, -50%) rotateZ(calc(38 * 360deg));
964 }
965 30% {
966 -webkit-transform: translate(-50%, -50%) rotateZ(calc(54 * 360deg));
967 transform: translate(-50%, -50%) rotateZ(calc(54 * 360deg));
968 }
969 40% {
970 -webkit-transform: translate(-50%, -50%) rotateZ(calc(78 * 360deg));
971 transform: translate(-50%, -50%) rotateZ(calc(78 * 360deg));
972 }
973 50% {
974 -webkit-transform: translate(-50%, -50%) rotateZ(calc(90 * 360deg));
975 transform: translate(-50%, -50%) rotateZ(calc(90 * 360deg));
976 }
977 60% {
978 -webkit-transform: translate(-50%, -50%) rotateZ(calc(100 * 360deg));
979 transform: translate(-50%, -50%) rotateZ(calc(100 * 360deg));
980 }
981 70% {
982 -webkit-transform: translate(-50%, -50%) rotateZ(calc(108 * 360deg));
983 transform: translate(-50%, -50%) rotateZ(calc(108 * 360deg));
984 }
985 80% {
986 -webkit-transform: translate(-50%, -50%) rotateZ(calc(116 * 360deg));
987 transform: translate(-50%, -50%) rotateZ(calc(116 * 360deg));
988 }
989 90% {
990 -webkit-transform: translate(-50%, -50%) rotateZ(calc(120 * 360deg));
991 transform: translate(-50%, -50%) rotateZ(calc(120 * 360deg));
992 }
993 100% {
994 -webkit-transform: translate(-50%, -50%) rotateZ(calc(122 * 360deg));
995 transform: translate(-50%, -50%) rotateZ(calc(122 * 360deg));
996 }
997}
998
999/**
1000 * File <- Poker Main
1001 */
1002.pokerMainContainer .pokerPickATableContainer {
1003 position: absolute;
1004 left: 0;
1005 top: 0;
1006 width: 100vw;
1007 height: 100vh;
1008 background-color: #111;
1009 display: -webkit-box;
1010 display: -ms-flexbox;
1011 display: flex;
1012 -webkit-box-orient: vertical;
1013 -webkit-box-direction: normal;
1014 -ms-flex-direction: column;
1015 flex-direction: column;
1016 -webkit-box-pack: center;
1017 -ms-flex-pack: center;
1018 justify-content: center;
1019 -webkit-box-align: center;
1020 -ms-flex-align: center;
1021 align-items: center;
1022 gap: 5rem;
1023}
1024
1025.pokerMainContainer .pokerPickATableContainer .createATable > input {
1026 margin-bottom: 2rem;
1027 padding-left: 4px;
1028 padding-right: 4px;
1029 font-size: 1.5rem;
1030 margin-right: 1rem;
1031 border-radius: .5rem;
1032}
1033
1034.pokerMainContainer .pokerPickATableContainer > div:not(.createATable) > h3 {
1035 margin-bottom: 1rem;
1036}
1037
1038.pokerMainContainer .pokerPickATableContainer > div:not(.createATable) > div {
1039 display: -webkit-box;
1040 display: -ms-flexbox;
1041 display: flex;
1042 -webkit-box-orient: vertical;
1043 -webkit-box-direction: normal;
1044 -ms-flex-direction: column;
1045 flex-direction: column;
1046 -webkit-box-align: center;
1047 -ms-flex-align: center;
1048 align-items: center;
1049 gap: 2rem;
1050 width: 100vw;
1051 max-height: 45vh;
1052 padding-block: 2rem;
1053 overflow-x: hidden;
1054 overflow-y: scroll;
1055}
1056
1057.pokerMainContainer .pokerPickATableContainer > div:not(.createATable) > div > div {
1058 -webkit-box-shadow: 0 5px 25px #4d99eaaa;
1059 box-shadow: 0 5px 25px #4d99eaaa;
1060 width: 60vw;
1061 padding: 1rem 3rem;
1062 border-radius: .5rem;
1063 cursor: pointer;
1064 display: -ms-grid;
1065 display: grid;
1066 -ms-grid-columns: (minmax(0, 1fr))[4];
1067 grid-template-columns: repeat(4, minmax(0, 1fr));
1068 place-items: center;
1069 -webkit-transition: all .2s ease-out;
1070 transition: all .2s ease-out;
1071}
1072
1073.pokerMainContainer .pokerPickATableContainer > div:not(.createATable) > div > div:hover {
1074 -webkit-transform: scale(1.05);
1075 transform: scale(1.05);
1076 -webkit-box-shadow: 0 10px 35px #4d99eaaa;
1077 box-shadow: 0 10px 35px #4d99eaaa;
1078}
1079
1080.pokerMainContainer .pokerChairsContainer .pokerChair {
1081 position: absolute;
1082 -webkit-transform: translate(-50%, -50%);
1083 transform: translate(-50%, -50%);
1084 width: 110px;
1085 aspect-ratio: 1;
1086 border-radius: 50%;
1087 border: 5px solid #ead24daa;
1088 background-color: black;
1089 display: -ms-grid;
1090 display: grid;
1091 place-items: center;
1092 font-size: .8rem;
1093}
1094
1095.pokerMainContainer .pokerChairsContainer .pokerChair > div p {
1096 margin-block: 2px;
1097}
1098
1099.pokerMainContainer .pokerChairsContainer .pokerChair .pokerPlayerCardsContainer {
1100 position: relative;
1101}
1102
1103.pokerMainContainer .pokerChairsContainer .pokerChair .pokerPlayerCardsContainer > div {
1104 position: absolute;
1105 top: -2vh;
1106 -webkit-transform: translate(-50%, -50%);
1107 transform: translate(-50%, -50%);
1108 display: -webkit-box;
1109 display: -ms-flexbox;
1110 display: flex;
1111}
1112
1113.pokerMainContainer .pokerChairsContainer .pokerChair .pokerPlayerCardsContainer > div .card {
1114 height: 80px;
1115 margin-inline: -1rem;
1116 position: relative;
1117}
1118
1119.pokerMainContainer .pokerChairsContainer .pokerChair .pokerPlayerCardsContainer > div .card:first-child {
1120 -webkit-transform: rotateZ(-5deg);
1121 transform: rotateZ(-5deg);
1122}
1123
1124.pokerMainContainer .pokerChairsContainer .pokerChair .pokerPlayerCardsContainer > div .card:last-child {
1125 -webkit-transform: rotateZ(5deg);
1126 transform: rotateZ(5deg);
1127}
1128
1129.pokerMainContainer .pokerPlayButtonsContainer {
1130 position: absolute;
1131 top: 59vh;
1132 left: 50vw;
1133 -webkit-transform: translate(-50%, -50%);
1134 transform: translate(-50%, -50%);
1135 display: -webkit-box;
1136 display: -ms-flexbox;
1137 display: flex;
1138 -webkit-box-pack: center;
1139 -ms-flex-pack: center;
1140 justify-content: center;
1141 gap: 1rem;
1142}
1143
1144.pokerMainContainer .pokerPlayButtonsContainer button {
1145 min-width: 110px;
1146}
1147
1148.pokerMainContainer .cardsInTheMiddleContainer {
1149 position: absolute;
1150 top: 45vh;
1151 left: 50vw;
1152 -webkit-transform: translate(-50%, -50%);
1153 transform: translate(-50%, -50%);
1154 display: -webkit-box;
1155 display: -ms-flexbox;
1156 display: flex;
1157 -webkit-box-pack: center;
1158 -ms-flex-pack: center;
1159 justify-content: center;
1160}
1161
1162.pokerMainContainer .cardsInTheMiddleContainer .card {
1163 height: 130px;
1164 position: relative;
1165 margin-inline: 2px;
1166}
1167
1168.pokerMainContainer .pokerMessagesContainer {
1169 position: absolute;
1170 top: 5vh;
1171 left: 50vw;
1172 -webkit-transform: translateX(-50%);
1173 transform: translateX(-50%);
1174}
1175
1176.pokerMainContainer .pokerMessagesContainer > p:first-child {
1177 font-style: italic;
1178 color: #c1fbaa;
1179}
1180
1181.pokerMainContainer .pokerMessagesContainer > p:not(:first-child):not(:last-child) {
1182 font-size: 1.2rem;
1183 margin-top: 1rem;
1184}
1185
1186.pokerMainContainer .pokerMessagesContainer > p:last-child {
1187 margin-top: .5rem;
1188 color: #ccc;
1189}
1190/*# sourceMappingURL=globals.css.map */
Note: See TracBrowser for help on using the repository browser.