@everymatrix/casino-game-thumbnail 1.36.0 → 1.37.0

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.
@@ -1,5 +1,4 @@
1
1
  <svelte:options tag={null} />
2
-
3
2
  <script lang="ts">
4
3
  import moment from 'moment';
5
4
  import { onMount, tick } from "svelte";
@@ -202,9 +201,7 @@
202
201
 
203
202
  };
204
203
 
205
-
206
204
  const toggleFavoriteGame = (id:any):void => {
207
-
208
205
  if (gamefavorite) {
209
206
  window.postMessage({ type: `SetUnfavoredGame${categoryid}`, id }, window.location.href);
210
207
  } else {
@@ -233,6 +230,7 @@
233
230
  const getLiveLobbyURL = (vendorName, id):string => {
234
231
  return `${endpoint}/v1/encoder/lobby/updates/${vendorName}/${id}`;
235
232
  }
233
+
236
234
  const connectGameToLiveLobby = ():void => {
237
235
  if (livelobbyendpoint && EventSource && !liveLobbyConnection) {
238
236
  if (gamevendor && gameid) {
@@ -241,6 +239,7 @@
241
239
  }
242
240
  }
243
241
  }
242
+
244
243
  const disconnectGameFromLiveLobby = () => {
245
244
  if (liveLobbyConnection) {
246
245
  liveLobbyConnection.close();
@@ -327,7 +326,7 @@
327
326
  }
328
327
  }
329
328
  }
330
- //Revert manually, commented changes are the current ones, will undo after deploy
329
+ // Revert manually, commented changes are the current ones, will undo after deploy
331
330
  const setLiveLobbyData = ():void => {
332
331
  let url:any = new URL(`${livelobbyendpoint.split('?')[0]}`);
333
332
  url.searchParams.append("platform", getDevice(userAgent));
@@ -390,7 +389,7 @@
390
389
  }
391
390
  if (numberofplayers) {
392
391
  rightSideContent = `
393
- <svg fill="var(--emfe-w-color-white, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>
392
+ <svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>
394
393
  <span class="NrOfPlayers">${numberofplayers}</span>`;
395
394
  }
396
395
  if (!rightSideContent && !leftSideContent) {
@@ -455,6 +454,7 @@
455
454
  }, 2000);
456
455
  }
457
456
  }
457
+
458
458
  const updateComponent = () => {
459
459
  if (livegamedata) {
460
460
  isopen = livegamedata.isOpen;
@@ -508,6 +508,7 @@
508
508
  }
509
509
  }
510
510
  }
511
+
511
512
  const toggleConnect = ():void => {
512
513
  if (connectlive === 'disconnect') {
513
514
  disconnectGameFromLiveLobby();
@@ -515,6 +516,7 @@
515
516
  connectGameToLiveLobby();
516
517
  }
517
518
  }
519
+
518
520
  const toggleVisibilityConnect = ():void => {
519
521
  if (visibilityconnect === 'disconnect') {
520
522
  disconnectGameFromLiveLobby();
@@ -571,19 +573,28 @@
571
573
 
572
574
  <div class={`GameContainer ${extraclassname} ${(casinogamesgridslider == 'true') ? 'CasinoGamesGridSlider' : '' }`} class:WithGameName={showgamename} bind:this={customStylingContainer} >
573
575
  <div class="GameInnerContainer { (livegamedata && !isopen && openhours.value) || (livegamedata && istablefull) ? 'GameInnerContainerUnavailable' : ''}">
574
- <img src={gamethumbnail} class={`GameBg GameBg-${gamecellsize} ${loaded ? 'Loaded' : ''}`} alt="" bind:this={image} loading="lazy" />
576
+ <img src={gamethumbnail} class={`GameBg GameBg-${gamecellsize} ${loaded ? 'Loaded' : ''}`} alt="Game thumbnail" bind:this={image} loading="lazy" />
575
577
  <div class="GameInfoWrapper">
576
578
  <div class="GameInfo">
577
- <p class="GameInfoName" title="{gamename}">{gamename}</p>
578
579
  {#if lang}
579
- <button class="GameInfoBtn" on:click="{() => toggleGameFrame(gameid)}">{$_('playNow')}</button>
580
+ <button class="GameInfoBtn" on:click="{() => toggleGameFrame(gameid)}">
581
+ {#if !isMobile(userAgent)}
582
+ <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">
583
+ <g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)">
584
+ <g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)">
585
+ <path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"/>
586
+ <path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"/>
587
+ </g>
588
+ <path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"/>
589
+ </g>
590
+ </svg>
591
+ {/if}
592
+ <span>{$_('playNow')}</span>
593
+ </button>
580
594
  {/if}
581
595
  </div>
582
- <span class="GameInfoVendor">
583
- { gamevendor ? gamevendor : '-'}
584
- </span>
585
596
  </div>
586
- <div class="GameExtraInfoContainer">
597
+ <div class="GameExtraInfoContainer">
587
598
  <div class="GameExtraInfo">
588
599
  {#if gameisnew}
589
600
  <span class="GameExtraInfoLabel NewGameTag">{$_('new')}</span>
@@ -647,29 +658,27 @@
647
658
  {/if}
648
659
  {/if}
649
660
  </div>
650
- {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
651
- <div class="FavIconContainer" on:click="{() => toggleFavoriteGame(gameid)}">
652
- <svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481">
653
- <path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"/>
654
- </svg>
661
+ {#if !isMobile(userAgent)}
662
+ <div class="GameTopContainer">
663
+ <span class="GameInfoVendor" style="background-image: url({gamevendor})"></span>
664
+ {#if gamefavorite && isLoggedIn && favorites}
665
+ <div class="FavIconContainer" on:click="{() => toggleFavoriteGame(gameid)}">
666
+ <svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34">
667
+ <path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"/>
668
+ </svg>
669
+ </div>
670
+ {:else if !gamefavorite && isLoggedIn}
671
+ <div class="FavIconContainer" on:click="{() => toggleFavoriteGame(gameid)}">
672
+ <svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34">
673
+ <path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"/>
674
+ </svg>
675
+ </div>
676
+ {/if}
655
677
  </div>
656
- {:else if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
657
- <div class="FavIconContainer" on:click="{() => toggleFavoriteGame(gameid)}">
658
- <svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px"
659
- viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155
660
- c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047
661
- c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67
662
- c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637
663
- c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587
664
- l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278
665
- l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9
666
- c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685
667
- l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"/></svg>
668
- </div>
669
- {:else if isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
678
+ {:else if gamefavorite && isLoggedIn && favorites}
670
679
  <div class="FavIconContainer">
671
680
  <svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481">
672
- <path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"/>
681
+ <path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"/>
673
682
  </svg>
674
683
  </div>
675
684
  {/if}
@@ -681,9 +690,6 @@
681
690
  </div>
682
691
 
683
692
  <style lang="scss">
684
-
685
-
686
-
687
693
  *, *::before, *::after {
688
694
  margin: 0;
689
695
  padding: 0;
@@ -696,14 +702,14 @@
696
702
  position: relative;
697
703
  }
698
704
  .GameContainer.WithGameName {
699
- padding-bottom: 20px;
705
+ padding-bottom: 10px;
700
706
  }
701
707
  .GameInnerContainer {
702
708
  position: relative;
703
709
  width: 100%;
704
710
  height: 100%;
705
711
  overflow: hidden;
706
- border-radius: 5px;
712
+ border-radius: var(--emw--border-radius-medium, 10px);
707
713
  .GameBg {
708
714
  width: 100%;
709
715
  height: 100%;
@@ -714,6 +720,11 @@
714
720
  &.GameBg-2x2 { object-fit: cover; }
715
721
  }
716
722
 
723
+ .GameTopContainer {
724
+ display: flex;
725
+ gap: 10px;
726
+ }
727
+
717
728
  .GameInfoWrapper {
718
729
  display: none;
719
730
  position: absolute;
@@ -723,7 +734,16 @@
723
734
  right: 0;
724
735
  bottom: 0;
725
736
  left: 0;
726
- background: rgba(0, 0, 0, .65);
737
+ background-image: linear-gradient(
738
+ to top,
739
+ var(--emw--casino-thumbnail-color-contrast, #000000),
740
+ hsla(
741
+ var(--emw--casino-thumbnail-color-h, 120),
742
+ var(--emw--casino-thumbnail-color-s, 100%),
743
+ var(--emw--casino-thumbnail-color-l, 50%),
744
+ 0.7
745
+ )
746
+ );
727
747
  z-index: 15;
728
748
  padding: 8px 25px;
729
749
 
@@ -735,9 +755,9 @@
735
755
  align-items: center;
736
756
  justify-content: space-evenly;
737
757
  &Name {
738
- color: white;
758
+ color: var(--emw--color-typography, #FFFFFF);
739
759
  text-align: center;
740
- font-size: 14px;
760
+ font-size: var(--emw--font-size-small, 14px);
741
761
  display: -webkit-box;
742
762
  -webkit-box-orient: vertical;
743
763
  -webkit-line-clamp: 2;
@@ -747,32 +767,23 @@
747
767
 
748
768
  &Btn {
749
769
  appearance: none;
750
- padding: 6px;
751
- background: var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
752
- color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
753
- font-size: 16px;
754
- border: 2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
755
- border-radius: 5px;
770
+ padding: 10px;
771
+ background-image: linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));
772
+ color: var(--emw--button-typography, #FFFFFF);
773
+ font-size: var(--emw--font-size-small, 14px);
774
+ border: 2px solid var(--emw--button-border-color, #073B17);
775
+ border-radius: var(--emw--border-radius-large, 20px);
756
776
  cursor: pointer;
757
777
  transition: border 150ms ease-in-out;
758
778
 
759
779
  &:hover {
760
- border: 2px solid var(--emfe-w-color-primary-100, #F1BED9);
780
+ border: 2px solid var(--emw--button-border-highlight-color, #F1BED9);
761
781
  }
762
782
  }
763
783
  }
764
-
765
- .GameInfoVendor {
766
- display: flex;
767
- justify-content: flex-end;
768
- align-items: center;
769
- color: white;
770
- font-size: 12px;
771
- font-weight: normal;
772
- }
773
784
  }
774
785
 
775
- .GameExtraInfoContainer{
786
+ .GameExtraInfoContainer {
776
787
  position: absolute;
777
788
  top: 0;
778
789
  left: 0;
@@ -782,7 +793,7 @@
782
793
  align-items: center;
783
794
  width: 100%;
784
795
  height: auto;
785
- padding: 4px;
796
+ padding: 0 4px 4px 4px;
786
797
  }
787
798
 
788
799
  .GameExtraInfo {
@@ -791,22 +802,22 @@
791
802
  align-items: center;
792
803
  width: 100%;
793
804
  height: 100%;
794
- z-index: 0;
805
+ z-index: 15;
795
806
  &Label {
796
- font-size: 11px;
797
- padding: 3px;
798
- background-color: var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
799
- color: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));
800
- font-weight: bold;
807
+ font-size: var(--emw--font-size-2x-small, 10px);
808
+ padding: 5px;
809
+ background-color: transparent;
810
+ color: var(--emw--button-typography, #FFFFFF);
801
811
  text-transform: uppercase;
802
- border-radius: 5px;
812
+ border-radius: var(--emw--border-radius-medium, 10px);
813
+ border: 1px solid var(--emw--button-typography, #FFFFFF);
803
814
  }
804
815
  }
805
816
 
806
817
  &:hover, &:active {
807
818
  cursor: pointer;
808
819
 
809
- .GameInfoWrapper{
820
+ .GameInfoWrapper {
810
821
  display: flex;
811
822
  flex-direction: column;
812
823
  justify-content: center;
@@ -815,29 +826,41 @@
815
826
  .GameBg {
816
827
  filter: blur(5px) grayscale(1);
817
828
  }
829
+ }
818
830
 
819
- .UnfavoredIcon{
820
- display: flex;
821
- }
831
+ .GameInfoWrapper .GameInfoBtn {
832
+ display: flex;
833
+ align-items: center;
834
+ gap: 8px;
822
835
  }
823
836
  }
837
+ .GameInfoVendor {
838
+ display: flex;
839
+ justify-content: flex-end;
840
+ align-items: center;
841
+ color: var(--emw--color-typography, #FFFFFF);
842
+ font-size: var(--emw--font-size-x-small, 12px);
843
+ font-weight: var(--emw--font-weight-normal, 400);
844
+ width: 40px;
845
+ height: 40px;
846
+ background-size: contain;
847
+ background-repeat: no-repeat;
848
+ z-index: 15;
849
+ }
824
850
 
825
851
  .GameNameBelow {
826
- color: var(--emfe-w-color-white, #FFFFFF);
852
+ color: var(--emw--casino-typography, #FFFFFF);
827
853
  position: relative;
828
- bottom: -5px;
829
- text-align: center;
854
+ padding: 5px 0;
830
855
  white-space: nowrap;
831
856
  overflow: hidden;
832
857
  text-overflow: ellipsis;
833
858
  }
834
859
  .FavoredIcon, .UnfavoredIcon {
835
- width: 20px;
836
- height: 20px;
837
- }
838
- .UnfavoredIcon{
839
- display: none;
860
+ width: 24px;
861
+ height: 24px;
840
862
  }
863
+
841
864
  .FavIconContainer {
842
865
  display: flex;
843
866
  justify-content: center;
@@ -852,15 +875,15 @@
852
875
  z-index: 4;
853
876
  }
854
877
  }
855
- // dim the game that doesn't have open seats or table is full
878
+ // Dim the game that doesn't have open seats or table is full
856
879
  .ListGame:hover, .ListGame:active {
857
880
  .OpenSeat, .ClosedSeat, .LiveLimits, .LatestResult, .FullTable {
858
881
  opacity: .2;
859
882
  }
860
883
  }
861
- // fix for displaying live game thumbnails that don't have details without backdrop
884
+ // Fix for displaying live game thumbnails that don't have details without backdrop
862
885
  .ListGame.GameBackdrop {
863
- .GameInnerContainer {
886
+ .GameInnerContainer {
864
887
  &::after {
865
888
  content: '';
866
889
  position: absolute;
@@ -868,7 +891,7 @@
868
891
  right: 0;
869
892
  bottom: 0;
870
893
  left: 0;
871
- background: linear-gradient(0deg, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 100%);
894
+ background-image: linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7));
872
895
  }
873
896
  }
874
897
  }
@@ -884,13 +907,13 @@
884
907
  z-index: 10;
885
908
  }
886
909
  &::after {
887
- content: '';
888
- position: absolute;
889
- top: 0;
890
- right: 0;
891
- bottom: 0;
892
- left: 0;
893
- }
910
+ content: '';
911
+ position: absolute;
912
+ top: 0;
913
+ right: 0;
914
+ bottom: 0;
915
+ left: 0;
916
+ }
894
917
 
895
918
  &.GameInnerContainerUnavailable {
896
919
  &::after {
@@ -916,10 +939,10 @@
916
939
  left: 0;
917
940
  z-index: 5;
918
941
  background: rgba(0,0,0, .4);
919
- color: var(--emfe-w-color-white, #FFFFFF);
920
- fill: var(--emfe-w-color-white, #FFFFFF);
942
+ color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
943
+ fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
921
944
  opacity: 1;
922
- border-radius: 4px;
945
+ border-radius: var(--emw--border-radius-small, 5px);
923
946
  }
924
947
 
925
948
  .ListGame.GameContainerFullyDimmed:before {
@@ -934,10 +957,10 @@
934
957
  left: 0;
935
958
  z-index: 5;
936
959
  background: rgba(0,0,0, .8);
937
- color: var(--emfe-w-color-white, #FFFFFF);
938
- fill: var(--emfe-w-color-white, #FFFFFF);
960
+ color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
961
+ fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
939
962
  opacity: 1;
940
- border-radius: 4px;
963
+ border-radius: var(--emw--border-radius-small, 5px);
941
964
  }
942
965
 
943
966
  .LiveProps {
@@ -950,16 +973,16 @@
950
973
  width: 100%;
951
974
  padding: 0;
952
975
  background: linear-gradient(to top, rgba(0,0,0,.1) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.3) 80%, rgba(0,0,0,.99) 100%);
953
- color: var(--emfe-w-color-white, #FFFFFF);
976
+ color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
954
977
  opacity: 1;
955
- font-size: 14px;
978
+ font-size: var(--emw--font-size-small, 14px);
956
979
  }
957
980
 
958
981
  .ListGame:hover .LiveProps,
959
982
  .ListGameLink:hover .LiveProps {
960
983
  opacity: 0;
961
984
  }
962
- //--------------------------------------LIVE LOBBY ANIMATIONS------------------------------------------
985
+ //-------------------------------------- LIVE LOBBY ANIMATIONS ------------------------------------------
963
986
  // Pulsating animations
964
987
  @keyframes red-pulse {
965
988
  0% {
@@ -1110,17 +1133,6 @@
1110
1133
  }
1111
1134
  }
1112
1135
 
1113
- // .Page-LiveCasino .GamesListContainer,
1114
- // .Page-LiveCasino-Child .GamesListContainer,
1115
- // .Page-LiveCasino .OperatorSticky .GamesListContainer,
1116
- // .Page-LiveCasino .CasinoGames .GamesListContainer,
1117
- // .Page-Live-casinoSource .GamesListContainer,
1118
- // .Page-Live-casinoSource .GamesListContainer,
1119
- // .Page-Live-casinoSource .OperatorSticky .GamesListContainer,
1120
- // .Page-Live-casinoSource .CasinoGames .GamesListContainer {
1121
- // overflow: visible;
1122
- // }
1123
-
1124
1136
  .ListGame.PulsatingGreenShadow, .ListGame.PulsatingRedShadow {
1125
1137
  overflow: auto;
1126
1138
  }
@@ -1137,7 +1149,6 @@
1137
1149
  position: relative;
1138
1150
  display: flex;
1139
1151
  padding: 0 16px;
1140
- // flex-wrap: wrap;
1141
1152
  box-sizing: border-box;
1142
1153
  flex-direction: row;
1143
1154
  align-items: center;
@@ -1157,8 +1168,8 @@
1157
1168
  }
1158
1169
 
1159
1170
  &.Black, &.Red, &.Green {
1160
- color: var(--emfe-w-color-white, #FFFFFF);
1161
- border: 1px solid var(--emfe-w-color-white, #FFFFFF);
1171
+ color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1172
+ border: 1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1162
1173
  }
1163
1174
 
1164
1175
  .LatestResult {
@@ -1166,14 +1177,11 @@
1166
1177
  padding: 2px;
1167
1178
  margin: 0 1px;
1168
1179
  margin-right: 6px;
1169
- font-size: 14px;
1180
+ font-size: var(--emw--font-size-small, 14px);
1170
1181
  text-align: center;
1171
1182
  @media (min-width: 1100px) {
1172
- min-width: 12px;
1173
- font-size: 14px;
1174
1183
  margin: 0 2px;
1175
1184
  margin-right: 5px;
1176
- padding: 2px;
1177
1185
  }
1178
1186
 
1179
1187
  &.FirstElementAnimated {
@@ -1185,22 +1193,22 @@
1185
1193
 
1186
1194
  &.First {
1187
1195
  min-width: 24px;
1196
+ padding: 4px;
1197
+ @media (min-width: 1100px) {
1198
+ padding: 4px;
1199
+ }
1188
1200
  &.Black, &.Red, &.Green {
1189
- color: var(--emfe-w-color-white, #FFFFFF);
1190
- border: 1px solid var(--emfe-w-color-white, #FFFFFF);
1201
+ color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1202
+ border: 1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1191
1203
  }
1192
1204
  &.Black {
1193
- background: var(--emfe-w-color-black, #000000)
1205
+ background: var(--emw--casino-thumbnail-animation-color-contrast, #000000);
1194
1206
  }
1195
1207
  &.Red {
1196
- background: red;
1208
+ background: var(--emw--casino-thumbnail-animation-color-type-e, #ff0000);
1197
1209
  }
1198
1210
  &.Green {
1199
- background: #56A80A;
1200
- }
1201
- padding: 4px;
1202
- @media (min-width: 1100px) {
1203
- padding: 4px;
1211
+ background: var(--emw--casino-thumbnail-animation-color-type-c, #56A80A);
1204
1212
  }
1205
1213
  }
1206
1214
  }
@@ -1234,40 +1242,40 @@
1234
1242
  }
1235
1243
 
1236
1244
  .Black {
1237
- color: var(--emfe-w-color-white, #FFFFFF);
1245
+ color: var(--emw--casino-thumbnail-animation-color-contrast, #000000);
1238
1246
  }
1239
1247
 
1240
1248
  .Red {
1241
- color: red;
1249
+ color: var(--emw--casino-thumbnail-animation-color-type-e, #ff0000);
1242
1250
  }
1243
1251
 
1244
1252
  .Green {
1245
- color: #56A80A;
1253
+ color: var(--emw--casino-thumbnail-animation-color-type-c, #56A80A);
1246
1254
  }
1247
1255
  }
1248
1256
 
1249
1257
  .Blue {
1250
- color: #4d90a7;
1258
+ color: var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7);
1251
1259
  }
1252
1260
 
1253
1261
  .Red {
1254
- background-color: red;
1262
+ background-color: var(--emw--casino-thumbnail-animation-color-type-e, #ff0000);
1255
1263
  }
1256
1264
 
1257
1265
  .Black {
1258
- background-color: var(--emfe-w-color-black, #000000);
1266
+ background-color: var(--emw--casino-thumbnail-animation-color-contrast, #000000);
1259
1267
  }
1260
1268
 
1261
1269
  .Green {
1262
- background-color: #56A80A;
1270
+ background-color: var(--emw--casino-thumbnail-animation-color-type-c, #56A80A);
1263
1271
  }
1264
1272
 
1265
1273
  .White {
1266
- background-color: var(--emfe-w-color-white, #FFFFFF);
1274
+ background-color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1267
1275
  }
1268
1276
 
1269
1277
  .Yellow {
1270
- background-color: #eeca3d;
1278
+ background-color: var(--emw--casino-thumbnail-animation-color-type-b, #eeca3d);
1271
1279
  }
1272
1280
 
1273
1281
  .Gold {
@@ -1283,8 +1291,8 @@
1283
1291
  }
1284
1292
 
1285
1293
  .Tie {
1286
- background-color: var(--emfe-w-color-white, #FFFFFF);
1287
- background-image: linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF));
1294
+ background-color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1295
+ background-image: linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #FFFFFF));
1288
1296
  }
1289
1297
  .OpenSeat, .ClosedSeat {
1290
1298
  display: inline-block;
@@ -1318,10 +1326,10 @@
1318
1326
  }
1319
1327
  .OpenSeat svg {
1320
1328
  fill: transparent;
1321
- stroke: var(--emfe-w-color-white, #FFFFFF);
1329
+ stroke: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1322
1330
  }
1323
1331
  .ClosedSeat svg {
1324
- fill: var(--emfe-w-color-white, #FFFFFF);
1332
+ fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1325
1333
  }
1326
1334
  .FullTable {
1327
1335
  display: flex;
@@ -1330,8 +1338,8 @@
1330
1338
  height: 20px;
1331
1339
  padding: 1px 4px 1px 0;
1332
1340
  align-items: center;
1333
- border-radius: 3px;
1334
- font-size: 12px;
1341
+ border-radius: var(--emw--border-radius-small, 5px);
1342
+ font-size: var(--emw--font-size-x-small, 12px);
1335
1343
  white-space: normal;
1336
1344
  text-transform: uppercase;
1337
1345
  -webkit-animation-name: silde-in-from-left;
@@ -1343,7 +1351,7 @@
1343
1351
  svg {
1344
1352
  width: 100%;
1345
1353
  height: 100%;
1346
- fill: var(--emfe-w-color-white, #FFFFFF);
1354
+ fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1347
1355
  }
1348
1356
  &.ClosedSeat {
1349
1357
  margin-right: -3px;
@@ -1356,7 +1364,7 @@
1356
1364
  align-items: center;
1357
1365
  padding: 2px 10px;
1358
1366
  background: linear-gradient(to bottom, rgba(33, 33, 33, .9) 0%, rgba(33, 33, 33, .1) 100%);
1359
- color: var(--emfe-w-color-white, #FFFFFF);
1367
+ color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1360
1368
  @media (min-width: 1100px) {
1361
1369
  padding: 2px 16px;
1362
1370
  }
@@ -1364,12 +1372,8 @@
1364
1372
  width: 14px;
1365
1373
  height: 14px;
1366
1374
  margin-right: 4px;
1367
- //@media (min-width: 1100px) {
1368
- // width: 1.7rem;
1369
- // height: 1.7rem;
1370
- //}
1371
1375
  svg {
1372
- fill: var(--emfe-w-color-white, #FFFFFF);
1376
+ fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1373
1377
  width: 100%;
1374
1378
  height: 100%;
1375
1379
  }
@@ -1379,14 +1383,14 @@
1379
1383
  opacity: 1;
1380
1384
  z-index: 10;
1381
1385
  padding: 8px 10px;
1382
- color: var(--emfe-w-color-white, #FFFFFF);
1383
- font-size: 18px;
1386
+ color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1387
+ font-size: var(--emw--font-size-medium, 16px);
1388
+ span {
1389
+ font-size: inherit;
1390
+ }
1384
1391
  @media (min-width: 1100px) {
1385
1392
  padding: 8px 16px;
1386
1393
  }
1387
- span {
1388
- font-size: 18px;
1389
- }
1390
1394
  }
1391
1395
  .LiveLimits {
1392
1396
  opacity: 1;
@@ -1394,15 +1398,15 @@
1394
1398
  flex-direction: row;
1395
1399
  justify-content: space-between;
1396
1400
  padding: 2px 20px 5px 20px;
1397
- background: var(--emfe-w-color-black, #000000);
1398
- color: var(--emfe-w-color-white, #FFFFFF);
1399
- font-weight: normal;
1400
- font-size: 12px;
1401
+ background: var(--emw--casino-thumbnail-animation-color-contrast, #000000);
1402
+ color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1403
+ font-weight: var(--emw--font-weight-normal, 400);
1404
+ font-size: var(--emw--font-size-x-small, 12px);
1401
1405
  @media (min-width: 1100px) {
1402
1406
  padding: 2px 18px 5px 18px;
1403
1407
  }
1404
1408
  span {
1405
- font-size: 12px;
1409
+ font-size: inherit;
1406
1410
  }
1407
1411
  }
1408
1412
  .Players {
@@ -1421,7 +1425,7 @@
1421
1425
  left: -8px;
1422
1426
  div {
1423
1427
  position: absolute;
1424
- border: 4px solid #fff;
1428
+ border: 4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1425
1429
  opacity: 1;
1426
1430
  border-radius: 50%;
1427
1431
  animation: ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
@@ -1468,30 +1472,46 @@
1468
1472
  padding: 8px 10px;
1469
1473
  }
1470
1474
 
1471
- .CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName {
1472
- font-size: 12px;
1473
- margin-top: 4px;
1475
+ .CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper {
1476
+ .GameInfoName, .GameInfoBtn {
1477
+ font-size: var(--emw--font-size-x-small, 12px);
1478
+ }
1479
+ .GameInfoName {
1480
+ margin-top: 4px;
1481
+ }
1482
+ .GameInfoBtn {
1483
+ padding: 6px 8px;
1484
+ }
1485
+ .GameInfoVendor {
1486
+ font-size: var(--emw--font-size-2x-small, 10px);
1487
+ }
1488
+ .FavoredIcon, .UnfavoredIcon {
1489
+ width: 25px;
1490
+ height: 25px;
1491
+ }
1474
1492
  }
1475
1493
 
1476
- .CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn {
1477
- font-size: 12px;
1478
- padding:2px;
1494
+ .GameInfoVendor {
1495
+ width: 45px;
1496
+ height: 45px;
1479
1497
  }
1480
1498
 
1481
- .CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor {
1482
- font-size: 8px;
1483
- }
1484
-
1485
- .CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,
1486
- .CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon {
1487
- width: 14px;
1488
- height: 14px;
1499
+ .GameInnerContainer .GameExtraInfoContainer {
1500
+ padding-top: 5px;
1489
1501
  }
1490
1502
 
1491
1503
  .CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel {
1492
- font-size: 8px;
1504
+ font-size: var(--emw--font-size-2x-small, 10px);
1493
1505
  }
1494
-
1495
1506
  }
1496
1507
 
1508
+ @container (max-width: 768px) {
1509
+ .CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn {
1510
+ font-size: var(--emw--font-size-x-small, 12px);
1511
+ padding: 6px;
1512
+ }
1513
+ .GameInnerContainer .GameInfoWrapper {
1514
+ padding: 8px 10px;
1515
+ }
1516
+ }
1497
1517
  </style>