@everymatrix/casino-game-thumbnail 0.0.249 → 0.0.252

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-thumbnail",
3
- "version": "0.0.249",
3
+ "version": "0.0.252",
4
4
  "main": "dist/casino-game-thumbnail.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": "38af455e241b6ef7ccabb2367be2be59e6b24352"
39
+ "gitHead": "6824e7c03c551fb8c35921b8846fdbbb49f76169"
40
40
  }
@@ -26,12 +26,12 @@
26
26
  export let gamefavorite:boolean = false;
27
27
  export let showfavoredcategory:boolean = false;
28
28
  export let showgamename:boolean = false;
29
- export let currency:string;
29
+ export let currency:string = '';
30
30
 
31
31
  export let endpoint:string = '';
32
32
 
33
- export let livelobbyendpoint:String = '';
34
- export let connectlive:string;
33
+ export let livelobbyendpoint:string = '';
34
+ export let connectlive:string = '';
35
35
  export let visibilityconnect:string = '';
36
36
 
37
37
  let isLoggedIn:boolean = false;
@@ -490,6 +490,9 @@
490
490
  }
491
491
  numberofplayers = livegamedata.numberOfPlayers;
492
492
  extraclassname = 'ListGame';
493
+ if(livegamedata.isOpen && livegamedata.currentRouletteNumbers) {
494
+ extraclassname += ' GameBackdrop';
495
+ }
493
496
  if (isopen && istablefull && min && max && livegamedata.currentOccupiedSeats) {
494
497
  extraclassname += ' GameContainerDimmed';
495
498
  } else {
@@ -816,6 +819,20 @@
816
819
  opacity: .2;
817
820
  }
818
821
  }
822
+ // fix for displaying live game thumbnails that don't have details without backdrop
823
+ .ListGame.GameBackdrop {
824
+ .GameInnerContainer {
825
+ &::after {
826
+ content: '';
827
+ position: absolute;
828
+ top: 0;
829
+ right: 0;
830
+ bottom: 0;
831
+ left: 0;
832
+ background: linear-gradient(0deg, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 100%);
833
+ }
834
+ }
835
+ }
819
836
 
820
837
  .ListGame .GameInnerContainer {
821
838
  z-index: 0;
@@ -827,17 +844,15 @@
827
844
  .GameExtraInfo {
828
845
  z-index: 10;
829
846
  }
830
-
831
847
  &::after {
832
- content: '';
833
- position: absolute;
834
- top: 0;
835
- right: 0;
836
- bottom: 0;
837
- left: 0;
838
- background: linear-gradient(0deg, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 100%);
839
- }
840
-
848
+ content: '';
849
+ position: absolute;
850
+ top: 0;
851
+ right: 0;
852
+ bottom: 0;
853
+ left: 0;
854
+ }
855
+
841
856
  &.GameInnerContainerUnavailable {
842
857
  &::after {
843
858
  content: '';