source: styles/globals.scss@ 433e0c5

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

Added complaints, managing credits, and lost connection screens

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