@everymatrix/casino-game-page 0.0.272 → 0.0.273

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-game-page",
3
- "version": "0.0.272",
3
+ "version": "0.0.273",
4
4
  "main": "dist/casino-game-page.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "2251ff7ad156e5d687da1a0ce2f71e526ca4eac5"
39
+ "gitHead": "64e123e6fa8a75c569b58741b32113413ad65748"
40
40
  }
@@ -532,8 +532,9 @@
532
532
  <div id="IframeContainer" part="IframeContainer" bind:this={gameFrameContainer} class:FullsScreenLayout={isFullscreen} style="width: {modalFrameWidth}; height: {modalFrameHeight}">
533
533
  <div id="IframeGame" part="IframeGame" bind:this={gameInnerContainer} style="width: {isFullscreen ? '100%' : definitiveIframeWidth}; height: {isFullscreen ? '100%' : definitiveIframeHeight}; max-width: {isFullscreen ? 'none' : (game.width ? game.width + 'px' : '1280px')}; max-height: {isFullscreen ? 'none' : (game.height ? (Math.floor(game.height) + 100) + 'px' : '720px')}">
534
534
  <iframe title="Games" id="IframeGame" class="GamesContainer" part="GamesContainer" aria-hidden="false" src={game.launchUrl} bind:this={iframe}/>
535
- <div class="BottomGame" part="BottomGame" bind:this={buttonsContainer}>
535
+ <div class="BottomGame {haspanicbutton ? 'BottomGamePanicSection' : ''}" part="BottomGame {haspanicbutton ? 'BottomGamePanicSection' : ''}" bind:this={buttonsContainer}>
536
536
  <button class="DepositButton" part="DepositButton" on:click='{() => toggleDeposit()}'>{$_('gamePage.deposit')}</button>
537
+ <p class="Time" part="Time" bind:this={timeContainer}><span>{time}</span></p>
537
538
  {#if haspanicbutton === "true"}
538
539
  <div class="PanicSection" part="PanicSection">
539
540
  <svg class="w-1 h-1" part="w-1 h-1" fill="none" stroke="white" width="34px" height="34px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
@@ -551,7 +552,6 @@
551
552
  </button>
552
553
  {/if}
553
554
  </div>
554
- <p class="Time" part="Time" bind:this={timeContainer}><span>{time}</span></p>
555
555
  </div>
556
556
  </div>
557
557
  {:else}
@@ -564,6 +564,7 @@
564
564
  <button class="LoginButton" part="LoginButton" on:click='{() => toggleLogin()}'>{$_('gamePage.signIn')}</button>
565
565
  <button class="RegisterButton" part="RegisterButton" on:click='{() => toggleRegister()}'>{$_('gamePage.register')}</button>
566
566
  </div>
567
+ <p class="Time" part="Time" bind:this={timeContainer}><span>{time}</span></p>
567
568
  {#if isFullscreen}
568
569
  <button class="FullscreenButton" part="FullscreenButton" on:click='{() => handleIframeSize()}'>
569
570
  <svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 "/><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 "/><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 "/><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 "/></svg>
@@ -574,7 +575,6 @@
574
575
  </button>
575
576
  {/if}
576
577
  </div>
577
- <p class="Time" part="Time" bind:this={timeContainer}><span>{time}</span></p>
578
578
  </div>
579
579
  </div>
580
580
  {:else}
@@ -610,12 +610,24 @@
610
610
  padding-right: 60px;
611
611
  min-height: 85px;
612
612
  background-color: var(--emfe-w-color-contrast, #07072A);
613
- display: flex;
614
- justify-content: space-between;
615
613
  align-items: center;
614
+ display: grid;
615
+ grid-auto-columns: 1fr;
616
+ grid-auto-rows: 1fr;
617
+ grid-template-columns: 1fr 1fr 1fr;
618
+ grid-template-rows: 1fr;
619
+ gap: 0px 0px;
620
+ justify-items: center;
621
+
622
+ &.BottomGamePanicSection {
623
+ grid-template-columns: 1fr 1fr 1fr 1fr;
624
+ }
625
+
616
626
  }
627
+
617
628
  .DepositButton, .PlayNowButton {
618
629
  border: none;
630
+ justify-self: left;
619
631
  width: 130px;
620
632
  height: 60px;
621
633
  background-color: var(--emfe-w-color-green, #48952a);
@@ -630,14 +642,15 @@
630
642
  border-radius: 2px;
631
643
  width: 270px;
632
644
  height: 180px;
645
+ margin-bottom: 20px;
633
646
  }
634
647
  .FullscreenButton {
635
648
  border-radius: 5px;
649
+ justify-self: end;
636
650
  border: none;
637
651
  width: 60px;
638
652
  height: 60px;
639
653
  background-color: var(--emfe-w-color-primary, #D0046C);
640
- float: right;
641
654
  }
642
655
  .GameDetails {
643
656
  display: flex;
@@ -650,13 +663,13 @@
650
663
  text-align: center;
651
664
  padding: 0 10px;
652
665
  }
653
- .ButtonsContainer {
666
+ .BottomGame .ButtonsContainer {
654
667
  width: 275px;
655
- margin-top: 20px;
656
668
  display: flex;
657
669
  flex-direction: row;
658
670
  justify-content: space-between;
659
671
  }
672
+
660
673
  .RegisterButton {
661
674
  color: var(--emfe-w-color-white, #FFFFFF);
662
675
  background-color: var(--emfe-w-color-primary, #D0046C);