@everymatrix/casino-page 0.0.229 → 0.0.233
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/dist/casino-page.js +1 -1
- package/dist/casino-page.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoPage.svelte +22 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-page",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.233",
|
|
4
4
|
"main": "dist/casino-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": "
|
|
39
|
+
"gitHead": "d7554673f55c9c428a1cf82bdecf5f2da81e373d"
|
|
40
40
|
}
|
package/src/CasinoPage.svelte
CHANGED
|
@@ -832,7 +832,7 @@
|
|
|
832
832
|
|
|
833
833
|
{#if alternativesearch === 'false'}
|
|
834
834
|
<!-- main search layout -->
|
|
835
|
-
<div bind:this={searchWrapper} class="CategoriesHeaderSection {(getDevice(userAgent) !== 'PC') ? 'CategoriesHeaderMobileSection' : ''} {mobileSearchViewActive ? 'SearchMobileActive' : ''} {mobileSearchViewActive || (searched && !(getDevice(userAgent) === 'PC') && !closeSearch) ? "CategoriesHeaderSearchActive" : ''} {(adjustingScroll && mobileSearchViewActive) ? 'SearchStickTop' : ''}"
|
|
835
|
+
<div bind:this={searchWrapper} class="CategoriesHeaderSection {(getDevice(userAgent) !== 'PC') ? 'CategoriesHeaderMobileSection' : ''} {mobileSearchViewActive ? 'SearchMobileActive' : ''} {mobileSearchViewActive || searchFocus || (searched && !(getDevice(userAgent) === 'PC') && !closeSearch) ? "CategoriesHeaderSearchActive" : ''} {(adjustingScroll && mobileSearchViewActive) ? 'SearchStickTop' : ''}"
|
|
836
836
|
style="top: {adjustingScroll && mobileSearchViewActive ? scrollOffset + 'px' : ''}">
|
|
837
837
|
<div class="SearchContainer { (!lobbyScreen && !favoritesScreen && !mostPlayedScreen && !lobbyViewAux) ? 'SearchTruncated' : ''}">
|
|
838
838
|
<label for="search" class="SrOnly">Search casino games</label>
|
|
@@ -856,7 +856,7 @@
|
|
|
856
856
|
{/if}
|
|
857
857
|
</div>
|
|
858
858
|
</div>
|
|
859
|
-
{#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
859
|
+
{#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !searchFocus && !lobbyViewAux}
|
|
860
860
|
<div class="FiltersButtonsContainer">
|
|
861
861
|
{#if numberOfFilters}
|
|
862
862
|
<div class="ClearFilterButtonWrapper" on:click="{() => clearVendorFilter()}">
|
|
@@ -889,7 +889,7 @@
|
|
|
889
889
|
</div>
|
|
890
890
|
{:else}
|
|
891
891
|
<!-- start alternative search layout-->
|
|
892
|
-
<div bind:this={searchWrapper} class="CategoriesHeaderSection CategoriesHeaderSectionAltDesign {(getDevice(userAgent) !== 'PC') ? 'CategoriesHeaderMobileSection' : ''} {mobileSearchViewActive ? 'SearchMobileActive' : ''} {mobileSearchViewActive || (searched && !(getDevice(userAgent) === 'PC') && !closeSearch) ? "CategoriesHeaderSearchActive" : ''}{(adjustingScroll && mobileSearchViewActive) ? 'SearchStickTop' : ''}"
|
|
892
|
+
<div bind:this={searchWrapper} class="CategoriesHeaderSection CategoriesHeaderSectionAltDesign {(getDevice(userAgent) !== 'PC') ? 'CategoriesHeaderMobileSection' : ''} {mobileSearchViewActive ? 'SearchMobileActive' : ''} {mobileSearchViewActive || searchFocus || (searched && !(getDevice(userAgent) === 'PC') && !closeSearch) ? "CategoriesHeaderSearchActive" : ''}{(adjustingScroll && mobileSearchViewActive) ? 'SearchStickTop' : ''}"
|
|
893
893
|
style="top: {adjustingScroll && mobileSearchViewActive ? scrollOffset + 'px' : ''}">
|
|
894
894
|
<div class="SearchContainer { (!lobbyScreen && !favoritesScreen && !mostPlayedScreen && !lobbyViewAux) ? 'SearchTruncated' : ''}">
|
|
895
895
|
<label for="search" class="SrOnly">Search casino games</label>
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
{/if}
|
|
915
915
|
</div>
|
|
916
916
|
</div>
|
|
917
|
-
{#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searched && !lobbyViewAux}
|
|
917
|
+
{#if !favoritesScreen && !lobbyScreen && !mobileSearchViewActive && !mostPlayedScreen && !recentSearches && !searchFocus && !searched && !lobbyViewAux}
|
|
918
918
|
<div class="FiltersButtonsContainer ">
|
|
919
919
|
{#if numberOfFilters}
|
|
920
920
|
<div class="ClearFilterButtonWrapper {numberOfFilters ? 'FiltersActive' : ''} " on:click="{() => clearVendorFilter()}">
|
|
@@ -964,6 +964,7 @@
|
|
|
964
964
|
categoryid="Search"
|
|
965
965
|
favorites={favorites}
|
|
966
966
|
categoryindex="0"
|
|
967
|
+
class="CategoryContainer"
|
|
967
968
|
{clientstyling}
|
|
968
969
|
{clientstylingurl}
|
|
969
970
|
/>
|
|
@@ -1072,7 +1073,6 @@
|
|
|
1072
1073
|
|
|
1073
1074
|
.CategoriesLobby {
|
|
1074
1075
|
margin: 0 auto;
|
|
1075
|
-
padding: 0 10px;
|
|
1076
1076
|
}
|
|
1077
1077
|
|
|
1078
1078
|
.PanicSectionMobile {
|
|
@@ -1127,6 +1127,10 @@
|
|
|
1127
1127
|
|
|
1128
1128
|
.CategoryContainer {
|
|
1129
1129
|
display: block;
|
|
1130
|
+
|
|
1131
|
+
@media screen and (max-width: 1300px) {
|
|
1132
|
+
padding: 0 2.4%
|
|
1133
|
+
}
|
|
1130
1134
|
}
|
|
1131
1135
|
|
|
1132
1136
|
.SearchLoading {
|
|
@@ -1159,8 +1163,7 @@
|
|
|
1159
1163
|
align-items: center;
|
|
1160
1164
|
top: 0;
|
|
1161
1165
|
bottom: 0;
|
|
1162
|
-
left:
|
|
1163
|
-
padding-left: ttp(.5);
|
|
1166
|
+
left: 1.2%;
|
|
1164
1167
|
pointer-events: none;
|
|
1165
1168
|
|
|
1166
1169
|
svg {
|
|
@@ -1294,7 +1297,7 @@
|
|
|
1294
1297
|
.SearchWrapper {
|
|
1295
1298
|
color: var(--emfe-w-color-white, #FFFFFF);
|
|
1296
1299
|
.SearchIcon {
|
|
1297
|
-
left:
|
|
1300
|
+
left: 2.4%;
|
|
1298
1301
|
}
|
|
1299
1302
|
.SearchInput {
|
|
1300
1303
|
padding: ttp(0.75);
|
|
@@ -1349,17 +1352,19 @@
|
|
|
1349
1352
|
margin-top: 30px;
|
|
1350
1353
|
.SearchContainer {
|
|
1351
1354
|
background-color: var(--emfe-w-color-contrast, #07072A);
|
|
1355
|
+
|
|
1356
|
+
padding: 0 2.4%;
|
|
1352
1357
|
.SearchWrapper {
|
|
1353
1358
|
justify-content: center;
|
|
1354
1359
|
.SearchInput {
|
|
1355
|
-
width:
|
|
1360
|
+
width: 100%;
|
|
1356
1361
|
border: 1px solid var(--emfe-w-color-gray-300, #58586B);
|
|
1357
1362
|
border-radius: 6.4px;
|
|
1358
1363
|
background-color: transparent;
|
|
1359
1364
|
color: var(--emfe-w-color-white, #FFFFFF);
|
|
1360
|
-
padding: 12px
|
|
1365
|
+
padding: 12px 3.6%;
|
|
1361
1366
|
&:active, &:focus {
|
|
1362
|
-
width:
|
|
1367
|
+
width: 100%;
|
|
1363
1368
|
}
|
|
1364
1369
|
}
|
|
1365
1370
|
}
|
|
@@ -1370,6 +1375,11 @@
|
|
|
1370
1375
|
right: 0;
|
|
1371
1376
|
font-size: 13px;
|
|
1372
1377
|
gap: 6px;
|
|
1378
|
+
|
|
1379
|
+
@media screen and (max-width: 1300px) {
|
|
1380
|
+
right: 2.4%;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1373
1383
|
.FilterIconContainer {
|
|
1374
1384
|
display: none;
|
|
1375
1385
|
}
|
|
@@ -1395,7 +1405,7 @@
|
|
|
1395
1405
|
display: inline-flex;
|
|
1396
1406
|
}
|
|
1397
1407
|
.ClearSearchButton, .ClearSearchButtonMobile {
|
|
1398
|
-
right:
|
|
1408
|
+
right: 2.4%;
|
|
1399
1409
|
top: 9px;
|
|
1400
1410
|
}
|
|
1401
1411
|
}
|