@everymatrix/casino-game-thumbnail 1.37.3 → 1.37.5

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,4 +1,5 @@
1
1
  <svelte:options tag={null} />
2
+
2
3
  <script lang="ts">
3
4
  import moment from 'moment';
4
5
  import { onMount, tick } from "svelte";
@@ -201,7 +202,9 @@
201
202
 
202
203
  };
203
204
 
205
+
204
206
  const toggleFavoriteGame = (id:any):void => {
207
+
205
208
  if (gamefavorite) {
206
209
  window.postMessage({ type: `SetUnfavoredGame${categoryid}`, id }, window.location.href);
207
210
  } else {
@@ -230,7 +233,6 @@
230
233
  const getLiveLobbyURL = (vendorName, id):string => {
231
234
  return `${endpoint}/v1/encoder/lobby/updates/${vendorName}/${id}`;
232
235
  }
233
-
234
236
  const connectGameToLiveLobby = ():void => {
235
237
  if (livelobbyendpoint && EventSource && !liveLobbyConnection) {
236
238
  if (gamevendor && gameid) {
@@ -239,7 +241,6 @@
239
241
  }
240
242
  }
241
243
  }
242
-
243
244
  const disconnectGameFromLiveLobby = () => {
244
245
  if (liveLobbyConnection) {
245
246
  liveLobbyConnection.close();
@@ -326,7 +327,7 @@
326
327
  }
327
328
  }
328
329
  }
329
- // Revert manually, commented changes are the current ones, will undo after deploy
330
+ //Revert manually, commented changes are the current ones, will undo after deploy
330
331
  const setLiveLobbyData = ():void => {
331
332
  let url:any = new URL(`${livelobbyendpoint.split('?')[0]}`);
332
333
  url.searchParams.append("platform", getDevice(userAgent));
@@ -389,7 +390,7 @@
389
390
  }
390
391
  if (numberofplayers) {
391
392
  rightSideContent = `
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>
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>
393
394
  <span class="NrOfPlayers">${numberofplayers}</span>`;
394
395
  }
395
396
  if (!rightSideContent && !leftSideContent) {
@@ -454,7 +455,6 @@
454
455
  }, 2000);
455
456
  }
456
457
  }
457
-
458
458
  const updateComponent = () => {
459
459
  if (livegamedata) {
460
460
  isopen = livegamedata.isOpen;
@@ -508,7 +508,6 @@
508
508
  }
509
509
  }
510
510
  }
511
-
512
511
  const toggleConnect = ():void => {
513
512
  if (connectlive === 'disconnect') {
514
513
  disconnectGameFromLiveLobby();
@@ -516,7 +515,6 @@
516
515
  connectGameToLiveLobby();
517
516
  }
518
517
  }
519
-
520
518
  const toggleVisibilityConnect = ():void => {
521
519
  if (visibilityconnect === 'disconnect') {
522
520
  disconnectGameFromLiveLobby();
@@ -573,28 +571,19 @@
573
571
 
574
572
  <div class={`GameContainer ${extraclassname} ${(casinogamesgridslider == 'true') ? 'CasinoGamesGridSlider' : '' }`} class:WithGameName={showgamename} bind:this={customStylingContainer} >
575
573
  <div class="GameInnerContainer { (livegamedata && !isopen && openhours.value) || (livegamedata && istablefull) ? 'GameInnerContainerUnavailable' : ''}">
576
- <img src={gamethumbnail} class={`GameBg GameBg-${gamecellsize} ${loaded ? 'Loaded' : ''}`} alt="Game thumbnail" bind:this={image} loading="lazy" />
574
+ <img src={gamethumbnail} class={`GameBg GameBg-${gamecellsize} ${loaded ? 'Loaded' : ''}`} alt="" bind:this={image} loading="lazy" />
577
575
  <div class="GameInfoWrapper">
578
576
  <div class="GameInfo">
577
+ <p class="GameInfoName" title="{gamename}">{gamename}</p>
579
578
  {#if lang}
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>
579
+ <button class="GameInfoBtn" on:click="{() => toggleGameFrame(gameid)}">{$_('playNow')}</button>
594
580
  {/if}
595
581
  </div>
582
+ <span class="GameInfoVendor">
583
+ { gamevendor ? gamevendor : '-'}
584
+ </span>
596
585
  </div>
597
- <div class="GameExtraInfoContainer">
586
+ <div class="GameExtraInfoContainer">
598
587
  <div class="GameExtraInfo">
599
588
  {#if gameisnew}
600
589
  <span class="GameExtraInfoLabel NewGameTag">{$_('new')}</span>
@@ -658,27 +647,29 @@
658
647
  {/if}
659
648
  {/if}
660
649
  </div>
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}
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>
677
655
  </div>
678
- {:else if gamefavorite && isLoggedIn && favorites}
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}
679
670
  <div class="FavIconContainer">
680
671
  <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">
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"/>
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"/>
682
673
  </svg>
683
674
  </div>
684
675
  {/if}
@@ -690,6 +681,9 @@
690
681
  </div>
691
682
 
692
683
  <style lang="scss">
684
+
685
+
686
+
693
687
  *, *::before, *::after {
694
688
  margin: 0;
695
689
  padding: 0;
@@ -702,14 +696,14 @@
702
696
  position: relative;
703
697
  }
704
698
  .GameContainer.WithGameName {
705
- padding-bottom: 10px;
699
+ padding-bottom: 20px;
706
700
  }
707
701
  .GameInnerContainer {
708
702
  position: relative;
709
703
  width: 100%;
710
704
  height: 100%;
711
705
  overflow: hidden;
712
- border-radius: var(--emw--border-radius-medium, 10px);
706
+ border-radius: 5px;
713
707
  .GameBg {
714
708
  width: 100%;
715
709
  height: 100%;
@@ -720,11 +714,6 @@
720
714
  &.GameBg-2x2 { object-fit: cover; }
721
715
  }
722
716
 
723
- .GameTopContainer {
724
- display: flex;
725
- gap: 10px;
726
- }
727
-
728
717
  .GameInfoWrapper {
729
718
  display: none;
730
719
  position: absolute;
@@ -734,16 +723,7 @@
734
723
  right: 0;
735
724
  bottom: 0;
736
725
  left: 0;
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
- );
726
+ background: rgba(0, 0, 0, .65);
747
727
  z-index: 15;
748
728
  padding: 8px 25px;
749
729
 
@@ -755,9 +735,9 @@
755
735
  align-items: center;
756
736
  justify-content: space-evenly;
757
737
  &Name {
758
- color: var(--emw--color-typography, #FFFFFF);
738
+ color: white;
759
739
  text-align: center;
760
- font-size: var(--emw--font-size-small, 14px);
740
+ font-size: 14px;
761
741
  display: -webkit-box;
762
742
  -webkit-box-orient: vertical;
763
743
  -webkit-line-clamp: 2;
@@ -767,23 +747,32 @@
767
747
 
768
748
  &Btn {
769
749
  appearance: none;
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);
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;
776
756
  cursor: pointer;
777
757
  transition: border 150ms ease-in-out;
778
758
 
779
759
  &:hover {
780
- border: 2px solid var(--emw--button-border-highlight-color, #F1BED9);
760
+ border: 2px solid var(--emfe-w-color-primary-100, #F1BED9);
781
761
  }
782
762
  }
783
763
  }
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
+ }
784
773
  }
785
774
 
786
- .GameExtraInfoContainer {
775
+ .GameExtraInfoContainer{
787
776
  position: absolute;
788
777
  top: 0;
789
778
  left: 0;
@@ -793,7 +782,7 @@
793
782
  align-items: center;
794
783
  width: 100%;
795
784
  height: auto;
796
- padding: 0 4px 4px 4px;
785
+ padding: 4px;
797
786
  }
798
787
 
799
788
  .GameExtraInfo {
@@ -802,22 +791,22 @@
802
791
  align-items: center;
803
792
  width: 100%;
804
793
  height: 100%;
805
- z-index: 15;
794
+ z-index: 0;
806
795
  &Label {
807
- font-size: var(--emw--font-size-2x-small, 10px);
808
- padding: 5px;
809
- background-color: transparent;
810
- color: var(--emw--button-typography, #FFFFFF);
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;
811
801
  text-transform: uppercase;
812
- border-radius: var(--emw--border-radius-medium, 10px);
813
- border: 1px solid var(--emw--button-typography, #FFFFFF);
802
+ border-radius: 5px;
814
803
  }
815
804
  }
816
805
 
817
806
  &:hover, &:active {
818
807
  cursor: pointer;
819
808
 
820
- .GameInfoWrapper {
809
+ .GameInfoWrapper{
821
810
  display: flex;
822
811
  flex-direction: column;
823
812
  justify-content: center;
@@ -826,41 +815,29 @@
826
815
  .GameBg {
827
816
  filter: blur(5px) grayscale(1);
828
817
  }
829
- }
830
818
 
831
- .GameInfoWrapper .GameInfoBtn {
832
- display: flex;
833
- align-items: center;
834
- gap: 8px;
819
+ .UnfavoredIcon{
820
+ display: flex;
821
+ }
835
822
  }
836
823
  }
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
- }
850
824
 
851
825
  .GameNameBelow {
852
- color: var(--emw--casino-typography, #FFFFFF);
826
+ color: var(--emfe-w-color-white, #FFFFFF);
853
827
  position: relative;
854
- padding: 5px 0;
828
+ bottom: -5px;
829
+ text-align: center;
855
830
  white-space: nowrap;
856
831
  overflow: hidden;
857
832
  text-overflow: ellipsis;
858
833
  }
859
834
  .FavoredIcon, .UnfavoredIcon {
860
- width: 24px;
861
- height: 24px;
835
+ width: 20px;
836
+ height: 20px;
837
+ }
838
+ .UnfavoredIcon{
839
+ display: none;
862
840
  }
863
-
864
841
  .FavIconContainer {
865
842
  display: flex;
866
843
  justify-content: center;
@@ -875,15 +852,15 @@
875
852
  z-index: 4;
876
853
  }
877
854
  }
878
- // Dim the game that doesn't have open seats or table is full
855
+ // dim the game that doesn't have open seats or table is full
879
856
  .ListGame:hover, .ListGame:active {
880
857
  .OpenSeat, .ClosedSeat, .LiveLimits, .LatestResult, .FullTable {
881
858
  opacity: .2;
882
859
  }
883
860
  }
884
- // Fix for displaying live game thumbnails that don't have details without backdrop
861
+ // fix for displaying live game thumbnails that don't have details without backdrop
885
862
  .ListGame.GameBackdrop {
886
- .GameInnerContainer {
863
+ .GameInnerContainer {
887
864
  &::after {
888
865
  content: '';
889
866
  position: absolute;
@@ -891,7 +868,7 @@
891
868
  right: 0;
892
869
  bottom: 0;
893
870
  left: 0;
894
- background-image: linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7));
871
+ background: linear-gradient(0deg, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 100%);
895
872
  }
896
873
  }
897
874
  }
@@ -907,13 +884,13 @@
907
884
  z-index: 10;
908
885
  }
909
886
  &::after {
910
- content: '';
911
- position: absolute;
912
- top: 0;
913
- right: 0;
914
- bottom: 0;
915
- left: 0;
916
- }
887
+ content: '';
888
+ position: absolute;
889
+ top: 0;
890
+ right: 0;
891
+ bottom: 0;
892
+ left: 0;
893
+ }
917
894
 
918
895
  &.GameInnerContainerUnavailable {
919
896
  &::after {
@@ -939,10 +916,10 @@
939
916
  left: 0;
940
917
  z-index: 5;
941
918
  background: rgba(0,0,0, .4);
942
- color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
943
- fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
919
+ color: var(--emfe-w-color-white, #FFFFFF);
920
+ fill: var(--emfe-w-color-white, #FFFFFF);
944
921
  opacity: 1;
945
- border-radius: var(--emw--border-radius-small, 5px);
922
+ border-radius: 4px;
946
923
  }
947
924
 
948
925
  .ListGame.GameContainerFullyDimmed:before {
@@ -957,10 +934,10 @@
957
934
  left: 0;
958
935
  z-index: 5;
959
936
  background: rgba(0,0,0, .8);
960
- color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
961
- fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
937
+ color: var(--emfe-w-color-white, #FFFFFF);
938
+ fill: var(--emfe-w-color-white, #FFFFFF);
962
939
  opacity: 1;
963
- border-radius: var(--emw--border-radius-small, 5px);
940
+ border-radius: 4px;
964
941
  }
965
942
 
966
943
  .LiveProps {
@@ -973,16 +950,16 @@
973
950
  width: 100%;
974
951
  padding: 0;
975
952
  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%);
976
- color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
953
+ color: var(--emfe-w-color-white, #FFFFFF);
977
954
  opacity: 1;
978
- font-size: var(--emw--font-size-small, 14px);
955
+ font-size: 14px;
979
956
  }
980
957
 
981
958
  .ListGame:hover .LiveProps,
982
959
  .ListGameLink:hover .LiveProps {
983
960
  opacity: 0;
984
961
  }
985
- //-------------------------------------- LIVE LOBBY ANIMATIONS ------------------------------------------
962
+ //--------------------------------------LIVE LOBBY ANIMATIONS------------------------------------------
986
963
  // Pulsating animations
987
964
  @keyframes red-pulse {
988
965
  0% {
@@ -1133,6 +1110,17 @@
1133
1110
  }
1134
1111
  }
1135
1112
 
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
+
1136
1124
  .ListGame.PulsatingGreenShadow, .ListGame.PulsatingRedShadow {
1137
1125
  overflow: auto;
1138
1126
  }
@@ -1149,6 +1137,7 @@
1149
1137
  position: relative;
1150
1138
  display: flex;
1151
1139
  padding: 0 16px;
1140
+ // flex-wrap: wrap;
1152
1141
  box-sizing: border-box;
1153
1142
  flex-direction: row;
1154
1143
  align-items: center;
@@ -1168,8 +1157,8 @@
1168
1157
  }
1169
1158
 
1170
1159
  &.Black, &.Red, &.Green {
1171
- color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1172
- border: 1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1160
+ color: var(--emfe-w-color-white, #FFFFFF);
1161
+ border: 1px solid var(--emfe-w-color-white, #FFFFFF);
1173
1162
  }
1174
1163
 
1175
1164
  .LatestResult {
@@ -1177,11 +1166,14 @@
1177
1166
  padding: 2px;
1178
1167
  margin: 0 1px;
1179
1168
  margin-right: 6px;
1180
- font-size: var(--emw--font-size-small, 14px);
1169
+ font-size: 14px;
1181
1170
  text-align: center;
1182
1171
  @media (min-width: 1100px) {
1172
+ min-width: 12px;
1173
+ font-size: 14px;
1183
1174
  margin: 0 2px;
1184
1175
  margin-right: 5px;
1176
+ padding: 2px;
1185
1177
  }
1186
1178
 
1187
1179
  &.FirstElementAnimated {
@@ -1193,22 +1185,22 @@
1193
1185
 
1194
1186
  &.First {
1195
1187
  min-width: 24px;
1196
- padding: 4px;
1197
- @media (min-width: 1100px) {
1198
- padding: 4px;
1199
- }
1200
1188
  &.Black, &.Red, &.Green {
1201
- color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1202
- border: 1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1189
+ color: var(--emfe-w-color-white, #FFFFFF);
1190
+ border: 1px solid var(--emfe-w-color-white, #FFFFFF);
1203
1191
  }
1204
1192
  &.Black {
1205
- background: var(--emw--casino-thumbnail-animation-color-contrast, #000000);
1193
+ background: var(--emfe-w-color-black, #000000)
1206
1194
  }
1207
1195
  &.Red {
1208
- background: var(--emw--casino-thumbnail-animation-color-type-e, #ff0000);
1196
+ background: red;
1209
1197
  }
1210
1198
  &.Green {
1211
- background: var(--emw--casino-thumbnail-animation-color-type-c, #56A80A);
1199
+ background: #56A80A;
1200
+ }
1201
+ padding: 4px;
1202
+ @media (min-width: 1100px) {
1203
+ padding: 4px;
1212
1204
  }
1213
1205
  }
1214
1206
  }
@@ -1242,40 +1234,40 @@
1242
1234
  }
1243
1235
 
1244
1236
  .Black {
1245
- color: var(--emw--casino-thumbnail-animation-color-contrast, #000000);
1237
+ color: var(--emfe-w-color-white, #FFFFFF);
1246
1238
  }
1247
1239
 
1248
1240
  .Red {
1249
- color: var(--emw--casino-thumbnail-animation-color-type-e, #ff0000);
1241
+ color: red;
1250
1242
  }
1251
1243
 
1252
1244
  .Green {
1253
- color: var(--emw--casino-thumbnail-animation-color-type-c, #56A80A);
1245
+ color: #56A80A;
1254
1246
  }
1255
1247
  }
1256
1248
 
1257
1249
  .Blue {
1258
- color: var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7);
1250
+ color: #4d90a7;
1259
1251
  }
1260
1252
 
1261
1253
  .Red {
1262
- background-color: var(--emw--casino-thumbnail-animation-color-type-e, #ff0000);
1254
+ background-color: red;
1263
1255
  }
1264
1256
 
1265
1257
  .Black {
1266
- background-color: var(--emw--casino-thumbnail-animation-color-contrast, #000000);
1258
+ background-color: var(--emfe-w-color-black, #000000);
1267
1259
  }
1268
1260
 
1269
1261
  .Green {
1270
- background-color: var(--emw--casino-thumbnail-animation-color-type-c, #56A80A);
1262
+ background-color: #56A80A;
1271
1263
  }
1272
1264
 
1273
1265
  .White {
1274
- background-color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1266
+ background-color: var(--emfe-w-color-white, #FFFFFF);
1275
1267
  }
1276
1268
 
1277
1269
  .Yellow {
1278
- background-color: var(--emw--casino-thumbnail-animation-color-type-b, #eeca3d);
1270
+ background-color: #eeca3d;
1279
1271
  }
1280
1272
 
1281
1273
  .Gold {
@@ -1291,8 +1283,8 @@
1291
1283
  }
1292
1284
 
1293
1285
  .Tie {
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));
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));
1296
1288
  }
1297
1289
  .OpenSeat, .ClosedSeat {
1298
1290
  display: inline-block;
@@ -1326,10 +1318,10 @@
1326
1318
  }
1327
1319
  .OpenSeat svg {
1328
1320
  fill: transparent;
1329
- stroke: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1321
+ stroke: var(--emfe-w-color-white, #FFFFFF);
1330
1322
  }
1331
1323
  .ClosedSeat svg {
1332
- fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1324
+ fill: var(--emfe-w-color-white, #FFFFFF);
1333
1325
  }
1334
1326
  .FullTable {
1335
1327
  display: flex;
@@ -1338,8 +1330,8 @@
1338
1330
  height: 20px;
1339
1331
  padding: 1px 4px 1px 0;
1340
1332
  align-items: center;
1341
- border-radius: var(--emw--border-radius-small, 5px);
1342
- font-size: var(--emw--font-size-x-small, 12px);
1333
+ border-radius: 3px;
1334
+ font-size: 12px;
1343
1335
  white-space: normal;
1344
1336
  text-transform: uppercase;
1345
1337
  -webkit-animation-name: silde-in-from-left;
@@ -1351,7 +1343,7 @@
1351
1343
  svg {
1352
1344
  width: 100%;
1353
1345
  height: 100%;
1354
- fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1346
+ fill: var(--emfe-w-color-white, #FFFFFF);
1355
1347
  }
1356
1348
  &.ClosedSeat {
1357
1349
  margin-right: -3px;
@@ -1364,7 +1356,7 @@
1364
1356
  align-items: center;
1365
1357
  padding: 2px 10px;
1366
1358
  background: linear-gradient(to bottom, rgba(33, 33, 33, .9) 0%, rgba(33, 33, 33, .1) 100%);
1367
- color: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1359
+ color: var(--emfe-w-color-white, #FFFFFF);
1368
1360
  @media (min-width: 1100px) {
1369
1361
  padding: 2px 16px;
1370
1362
  }
@@ -1372,8 +1364,12 @@
1372
1364
  width: 14px;
1373
1365
  height: 14px;
1374
1366
  margin-right: 4px;
1367
+ //@media (min-width: 1100px) {
1368
+ // width: 1.7rem;
1369
+ // height: 1.7rem;
1370
+ //}
1375
1371
  svg {
1376
- fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1372
+ fill: var(--emfe-w-color-white, #FFFFFF);
1377
1373
  width: 100%;
1378
1374
  height: 100%;
1379
1375
  }
@@ -1383,14 +1379,14 @@
1383
1379
  opacity: 1;
1384
1380
  z-index: 10;
1385
1381
  padding: 8px 10px;
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
- }
1382
+ color: var(--emfe-w-color-white, #FFFFFF);
1383
+ font-size: 18px;
1391
1384
  @media (min-width: 1100px) {
1392
1385
  padding: 8px 16px;
1393
1386
  }
1387
+ span {
1388
+ font-size: 18px;
1389
+ }
1394
1390
  }
1395
1391
  .LiveLimits {
1396
1392
  opacity: 1;
@@ -1398,15 +1394,15 @@
1398
1394
  flex-direction: row;
1399
1395
  justify-content: space-between;
1400
1396
  padding: 2px 20px 5px 20px;
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);
1397
+ background: var(--emfe-w-color-black, #000000);
1398
+ color: var(--emfe-w-color-white, #FFFFFF);
1399
+ font-weight: normal;
1400
+ font-size: 12px;
1405
1401
  @media (min-width: 1100px) {
1406
1402
  padding: 2px 18px 5px 18px;
1407
1403
  }
1408
1404
  span {
1409
- font-size: inherit;
1405
+ font-size: 12px;
1410
1406
  }
1411
1407
  }
1412
1408
  .Players {
@@ -1425,7 +1421,7 @@
1425
1421
  left: -8px;
1426
1422
  div {
1427
1423
  position: absolute;
1428
- border: 4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);
1424
+ border: 4px solid #fff;
1429
1425
  opacity: 1;
1430
1426
  border-radius: 50%;
1431
1427
  animation: ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
@@ -1472,46 +1468,30 @@
1472
1468
  padding: 8px 10px;
1473
1469
  }
1474
1470
 
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
- }
1471
+ .CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName {
1472
+ font-size: 12px;
1473
+ margin-top: 4px;
1492
1474
  }
1493
1475
 
1494
- .GameInfoVendor {
1495
- width: 45px;
1496
- height: 45px;
1476
+ .CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn {
1477
+ font-size: 12px;
1478
+ padding:2px;
1497
1479
  }
1498
1480
 
1499
- .GameInnerContainer .GameExtraInfoContainer {
1500
- padding-top: 5px;
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;
1501
1489
  }
1502
1490
 
1503
1491
  .CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel {
1504
- font-size: var(--emw--font-size-2x-small, 10px);
1492
+ font-size: 8px;
1505
1493
  }
1506
- }
1507
1494
 
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
1495
  }
1496
+
1517
1497
  </style>