source: styles/globals.css@ 9bd09b0

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

Roulette place a bet functionality

  • Property mode set to 100644
File size: 18.5 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.tertiaryButton {
518 background: -webkit-gradient(linear, left top, right top, from(#484848), to(#6a6a6a));
519 background: linear-gradient(to right, #484848, #6a6a6a);
520 color: white;
521 outline: none;
522 border: none;
523 border-radius: 10px;
524 font-size: 1.5rem;
525 font-weight: bold;
526 padding: 5px 20px;
527 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
528 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
529 cursor: pointer;
530 -webkit-transition: all .2s linear;
531 transition: all .2s linear;
532}
533
534.tertiaryButton:hover {
535 background: -webkit-gradient(linear, left top, right top, from(#6e6e6e), to(#a0a0a0));
536 background: linear-gradient(to right, #6e6e6e, #a0a0a0);
537}
538
539.tertiaryButton:active {
540 -webkit-transition: .05s linear;
541 transition: .05s linear;
542 background: -webkit-gradient(linear, left top, right top, from(#484848), to(#6a6a6a));
543 background: linear-gradient(to right, #484848, #6a6a6a);
544}
545
546/**
547 * Input Sliders
548 */
549.primarySlider {
550 -webkit-appearance: none;
551 width: 250px;
552 height: 10px;
553 background: #0B932E;
554 outline: none;
555 border-radius: 10px;
556 -webkit-transition: .2s;
557 -webkit-transition: opacity .2s;
558 transition: opacity .2s;
559 -webkit-box-shadow: 0 5px 25px rgba(234, 210, 77, 0.25);
560 box-shadow: 0 5px 25px rgba(234, 210, 77, 0.25);
561}
562
563.primarySlider:hover {
564 opacity: 1;
565}
566
567.primarySlider::-webkit-slider-thumb {
568 -webkit-appearance: none;
569 appearance: none;
570 outline: none;
571 border: none;
572 width: 35px;
573 height: 35px;
574 border-radius: 50%;
575 background: url("/images/gold-coin.png");
576 background-size: contain;
577 background-color: #ead24d;
578 cursor: pointer;
579}
580
581.primarySlider::-moz-range-thumb {
582 -moz-appearance: none;
583 appearance: none;
584 outline: none;
585 border: none;
586 width: 35px;
587 height: 35px;
588 border-radius: 50%;
589 background: url("/images/gold-coin.png");
590 background-size: contain;
591 background-color: #ead24d;
592 cursor: pointer;
593}
594
595/**
596 * Scrollbar
597 */
598/* width */
599::-webkit-scrollbar {
600 width: 15px;
601}
602
603/* Track */
604::-webkit-scrollbar-track {
605 background: #0B932E;
606}
607
608/* Handle */
609::-webkit-scrollbar-thumb {
610 background: #ead24d;
611}
612
613/* Handle on hover */
614::-webkit-scrollbar-thumb:hover {
615 background: #efcb00;
616}
617
618/**
619 * File <- Blackjack Main
620 */
621.blackjackButtons {
622 position: absolute;
623 left: 0;
624 top: 90vh;
625 width: 100vw;
626 height: 10vh;
627 overflow: hidden;
628}
629
630.blackjackButtons > div {
631 display: -webkit-box;
632 display: -ms-flexbox;
633 display: flex;
634 -webkit-box-orient: horizontal;
635 -webkit-box-direction: normal;
636 -ms-flex-direction: row;
637 flex-direction: row;
638 -webkit-box-pack: center;
639 -ms-flex-pack: center;
640 justify-content: center;
641 -webkit-box-align: center;
642 -ms-flex-align: center;
643 align-items: center;
644 -webkit-transition: .5s ease-in-out;
645 transition: .5s ease-in-out;
646}
647
648.blackjackButtons > div > button {
649 width: 300px;
650}
651
652.blackjackButtons > div > button:nth-child(2) {
653 margin-left: 30px;
654}
655
656.blackjackCards .card {
657 aspect-ratio: 400/560;
658 height: 150px;
659 background-size: contain;
660 position: absolute;
661 -webkit-transition: .5s ease-in-out;
662 transition: .5s ease-in-out;
663 border-radius: 10px;
664 border: 1px solid black;
665}
666
667.blackjackDisplayBet {
668 position: absolute;
669 -webkit-transform: translate(-50%, -50%);
670 transform: translate(-50%, -50%);
671 left: 51vw;
672 top: 63.5vh;
673}
674
675.blackjackSideBetsModal {
676 z-index: 20;
677 -webkit-box-orient: vertical !important;
678 -webkit-box-direction: normal !important;
679 -ms-flex-direction: column !important;
680 flex-direction: column !important;
681 position: fixed;
682 left: 50vw;
683 top: 45vh;
684 width: 41vw;
685 height: 80vh;
686 padding: 10px;
687 -webkit-transform: translate(-50%, -50%);
688 transform: translate(-50%, -50%);
689 background: -webkit-gradient(linear, left top, right top, from(#0B932Ec0), to(#097625e0));
690 background: linear-gradient(to right, #0B932Ec0, #097625e0);
691 -webkit-box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
692 box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
693 border-radius: 20px;
694 overflow-y: scroll;
695}
696
697.blackjackSideBetsModal .blackjackSideBetSelect {
698 display: -webkit-box;
699 display: -ms-flexbox;
700 display: flex;
701 -webkit-box-orient: vertical;
702 -webkit-box-direction: normal;
703 -ms-flex-direction: column;
704 flex-direction: column;
705 width: 100%;
706}
707
708.blackjackSideBetsModal .blackjackSideBetSelect:first-child {
709 margin-top: 10rem;
710}
711
712.blackjackSideBetsModal .blackjackSideBetSelect h1 {
713 margin-bottom: 1rem;
714 color: #ead24d;
715}
716
717.blackjackSideBetsModal .blackjackSideBetSelect > div {
718 text-align: left;
719}
720
721.blackjackSideBetsModal .blackjackSideBetSelect > div p {
722 margin-bottom: 1rem;
723 padding: 10px 20px;
724 border-radius: 5px;
725 cursor: pointer;
726 -webkit-transition: all .25s linear;
727 transition: all .25s linear;
728}
729
730.blackjackSideBetsModal .blackjackSideBetSelect > div p span {
731 font-size: 1.2rem;
732 color: #ead24d;
733}
734
735.blackjackSideBetsModal .blackjackSideBetSelect > div p:hover {
736 color: #ead24d;
737 -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
738 box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
739}
740
741.blackjackSideBetsChooseCreditsModal {
742 z-index: 20;
743 -webkit-box-orient: vertical !important;
744 -webkit-box-direction: normal !important;
745 -ms-flex-direction: column !important;
746 flex-direction: column !important;
747 position: fixed;
748 left: 50vw;
749 top: 45vh;
750 width: 41vw;
751 height: 80vh;
752 padding: 10px;
753 -webkit-transform: translate(-50%, -50%);
754 transform: translate(-50%, -50%);
755 background: -webkit-gradient(linear, left top, right top, from(#00000080), to(#00000080));
756 background: linear-gradient(to right, #00000080, #00000080);
757 -webkit-box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
758 box-shadow: 0 5px 50px rgba(0, 0, 0, 0.25);
759 border-radius: 20px;
760}
761
762.blackjackSideBetsChooseCreditsModal p {
763 margin-bottom: 1rem;
764 padding: 10px 20px;
765 border-radius: 5px;
766 -webkit-transition: all .25s linear;
767 transition: all .25s linear;
768}
769
770.blackjackSideBetsChooseCreditsModal p span {
771 font-size: 1.2rem;
772 color: white;
773}
774
775/**
776 * File <- Roulette Main
777 */
778.rouletteMainContainer {
779 background-color: #006600;
780}
781
782#rouletteBetsImg {
783 position: absolute;
784 top: 65%;
785 left: 59%;
786 -webkit-transform: translate(-50%, -50%);
787 transform: translate(-50%, -50%);
788 width: 50vw;
789 height: auto;
790 cursor: url(/gold-coin.cur), auto;
791}
792
793#rouletteWheelImg {
794 position: absolute;
795 top: 60%;
796 left: 18%;
797 -webkit-transform: translate(-50%, -50%);
798 transform: translate(-50%, -50%);
799 width: 450px;
800 height: auto;
801}
802
803.rouletteInfoText {
804 position: absolute;
805 top: 15%;
806 width: 100vw;
807 text-align: center;
808 font-size: 1.1rem;
809}
810
811.roulettePlayersContainer {
812 position: absolute;
813 top: 15%;
814 right: 4%;
815 width: 10vw;
816 height: 80vh;
817 -webkit-box-shadow: 0 0 10px rgba(10, 148, 45, 0.25);
818 box-shadow: 0 0 10px rgba(10, 148, 45, 0.25);
819 padding: 1rem;
820 display: -ms-grid;
821 display: grid;
822 -ms-grid-rows: (minmax(0, 1fr))[2];
823 grid-template-rows: repeat(2, minmax(0, 1fr));
824 overflow-x: hidden;
825 overflow-y: scroll;
826}
827
828.roulettePlayersContainer p {
829 word-wrap: break-word;
830 margin-top: .5rem;
831}
832
833.rouletteTimer {
834 position: absolute;
835 top: calc((60% + 450px) / 2);
836 left: calc(18.5%);
837 -webkit-transform: translate(-50%, -50%);
838 transform: translate(-50%, -50%);
839 font-size: 2.5rem;
840 color: black;
841}
842
843.rouletteBetModal {
844 z-index: 20;
845 -webkit-box-orient: vertical;
846 -webkit-box-direction: normal;
847 -ms-flex-direction: column;
848 flex-direction: column;
849 -webkit-box-pack: center;
850 -ms-flex-pack: center;
851 justify-content: center;
852 -webkit-box-align: center;
853 -ms-flex-align: center;
854 align-items: center;
855 position: fixed;
856 left: 0;
857 top: 0;
858 width: 100vw;
859 height: 100vh;
860 background: #000000c0;
861}
862
863.rouletteBetModal p {
864 margin-bottom: 1rem;
865 padding: 10px 20px;
866 border-radius: 5px;
867 -webkit-transition: all .25s linear;
868 transition: all .25s linear;
869}
870
871.rouletteBetModal p span {
872 font-size: 1.2rem;
873 color: #ead24d;
874}
875
876/**
877 * File <- Poker Main
878 */
879/*# sourceMappingURL=globals.css.map */
Note: See TracBrowser for help on using the repository browser.