@everymatrix/casino-games-category-section 1.14.7 → 1.15.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-games-category-section",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"main": "dist/casino-games-category-section.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "15ce8765c213b2c036dd5fbc5007d6ea5a666dc1"
|
|
39
39
|
}
|
|
@@ -777,6 +777,7 @@
|
|
|
777
777
|
{gamepagemodalurl}
|
|
778
778
|
{integratedgameframedesktop}
|
|
779
779
|
{integratedgameframemobile}
|
|
780
|
+
{casinogamesgridslider}
|
|
780
781
|
></casino-game-thumbnail>
|
|
781
782
|
{/if}
|
|
782
783
|
{/each}
|
|
@@ -905,8 +906,15 @@
|
|
|
905
906
|
|
|
906
907
|
|
|
907
908
|
<style lang="scss">
|
|
909
|
+
$grid-gap: 16px;
|
|
910
|
+
$grid-cell-size: 192px;
|
|
911
|
+
$grid-cell-size-small: 110px;
|
|
912
|
+
$grid-cell-size-medium: 122px;
|
|
908
913
|
|
|
909
|
-
|
|
914
|
+
$grid-gap-scroll: 16px;
|
|
915
|
+
$grid-cell-size-scroll: 182px;
|
|
916
|
+
$grid-cell-size-medium-scroll: 105px;
|
|
917
|
+
$grid-cell-size-small-scroll: 100px;
|
|
910
918
|
|
|
911
919
|
*, *::before, *::after {
|
|
912
920
|
margin: 0;
|
|
@@ -914,13 +922,10 @@
|
|
|
914
922
|
box-sizing: border-box;
|
|
915
923
|
}
|
|
916
924
|
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
$grid-cell-size-small: 110px;
|
|
921
|
-
$grid-cell-size-medium: 122px;
|
|
925
|
+
.CasinoGamesCategorySectionContainer {
|
|
926
|
+
container-type: inline-size;
|
|
927
|
+
}
|
|
922
928
|
|
|
923
|
-
|
|
924
929
|
.CustomScroll:-webkit-scrollbar-track
|
|
925
930
|
{
|
|
926
931
|
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
|
@@ -1043,7 +1048,7 @@
|
|
|
1043
1048
|
.game-tile-2x1 {
|
|
1044
1049
|
grid-row: span 2;
|
|
1045
1050
|
|
|
1046
|
-
@
|
|
1051
|
+
@container (max-width: 375px) {
|
|
1047
1052
|
grid-row: span 1;
|
|
1048
1053
|
}
|
|
1049
1054
|
}
|
|
@@ -1052,7 +1057,7 @@
|
|
|
1052
1057
|
grid-row: span 2;
|
|
1053
1058
|
grid-column: span 2;
|
|
1054
1059
|
|
|
1055
|
-
@
|
|
1060
|
+
@container (max-width: 375px) {
|
|
1056
1061
|
grid-row: span 1;
|
|
1057
1062
|
grid-column: span 1;
|
|
1058
1063
|
}
|
|
@@ -1061,7 +1066,7 @@
|
|
|
1061
1066
|
.game-tile-1x2 {
|
|
1062
1067
|
grid-column: span 2;
|
|
1063
1068
|
|
|
1064
|
-
@
|
|
1069
|
+
@container (max-width: 375px) {
|
|
1065
1070
|
grid-column: span 1;
|
|
1066
1071
|
}
|
|
1067
1072
|
}
|
|
@@ -1074,7 +1079,7 @@
|
|
|
1074
1079
|
.CasinoGamesGridSlider {
|
|
1075
1080
|
display: grid;
|
|
1076
1081
|
gap: $grid-gap;
|
|
1077
|
-
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-scroll
|
|
1082
|
+
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-scroll 46%), 2fr));
|
|
1078
1083
|
grid-template-rows: repeat(auto-fill, $grid-cell-size-scroll);
|
|
1079
1084
|
grid-auto-rows: $grid-cell-size-scroll;
|
|
1080
1085
|
grid-auto-columns: $grid-cell-size-scroll;
|
|
@@ -1086,7 +1091,7 @@
|
|
|
1086
1091
|
.game-tile-2x1 {
|
|
1087
1092
|
grid-row: span 2;
|
|
1088
1093
|
|
|
1089
|
-
@
|
|
1094
|
+
@container (max-width: 375px) {
|
|
1090
1095
|
grid-row: span 1;
|
|
1091
1096
|
}
|
|
1092
1097
|
}
|
|
@@ -1095,7 +1100,7 @@
|
|
|
1095
1100
|
grid-row: span 2;
|
|
1096
1101
|
grid-column: span 2;
|
|
1097
1102
|
|
|
1098
|
-
@
|
|
1103
|
+
@container (max-width: 375px) {
|
|
1099
1104
|
grid-row: span 2;
|
|
1100
1105
|
grid-column: span 2;
|
|
1101
1106
|
}
|
|
@@ -1104,7 +1109,7 @@
|
|
|
1104
1109
|
.game-tile-1x2 {
|
|
1105
1110
|
grid-column: span 2;
|
|
1106
1111
|
|
|
1107
|
-
@
|
|
1112
|
+
@container (max-width: 375px) {
|
|
1108
1113
|
grid-column: span 1;
|
|
1109
1114
|
}
|
|
1110
1115
|
}
|
|
@@ -1120,37 +1125,8 @@
|
|
|
1120
1125
|
gap: 20px;
|
|
1121
1126
|
}
|
|
1122
1127
|
|
|
1123
|
-
@media screen and (max-width: 385px) {
|
|
1124
|
-
.CasinoGamesGrid {
|
|
1125
|
-
display: grid;
|
|
1126
|
-
gap: $grid-gap;
|
|
1127
|
-
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-small, 46%), 1fr));
|
|
1128
|
-
grid-template-rows: repeat(auto-fill, $grid-cell-size-small);
|
|
1129
|
-
grid-auto-rows: $grid-cell-size-small;
|
|
1130
|
-
grid-auto-columns: $grid-cell-size-small;
|
|
1131
|
-
|
|
1132
|
-
&.GamesListIncreasedGap {
|
|
1133
|
-
gap: $grid-gap;
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
@media screen and (max-width: 480px) {
|
|
1139
|
-
.CasinoGamesGrid {
|
|
1140
|
-
display: grid;
|
|
1141
|
-
gap: $grid-gap;
|
|
1142
|
-
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-medium, 46%), 1fr));
|
|
1143
|
-
grid-template-rows: repeat(auto-fill, $grid-cell-size-medium);
|
|
1144
|
-
grid-auto-rows: $grid-cell-size-medium;
|
|
1145
|
-
grid-auto-columns: $grid-cell-size-medium;
|
|
1146
|
-
|
|
1147
|
-
&.GamesListIncreasedGap {
|
|
1148
|
-
gap: $grid-gap;
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
1128
|
|
|
1153
|
-
@
|
|
1129
|
+
@container (max-width: 768px) {
|
|
1154
1130
|
.CasinoGamesHeader {
|
|
1155
1131
|
align-items: unset;
|
|
1156
1132
|
flex-direction: row;
|
|
@@ -1166,7 +1142,7 @@
|
|
|
1166
1142
|
}
|
|
1167
1143
|
}
|
|
1168
1144
|
|
|
1169
|
-
@
|
|
1145
|
+
@container (min-width: 1100px) {
|
|
1170
1146
|
.CasinoGamesGrid {
|
|
1171
1147
|
grid-template-rows: repeat(auto-fill, 142px);
|
|
1172
1148
|
grid-auto-rows: 142px;
|
|
@@ -1204,4 +1180,101 @@
|
|
|
1204
1180
|
transform: rotate(360deg);
|
|
1205
1181
|
}
|
|
1206
1182
|
}
|
|
1183
|
+
|
|
1184
|
+
@container (max-width: 385px) {
|
|
1185
|
+
|
|
1186
|
+
.CasinoGamesGrid {
|
|
1187
|
+
display: grid;
|
|
1188
|
+
gap: $grid-gap;
|
|
1189
|
+
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-small, 46%), 1fr));
|
|
1190
|
+
grid-template-rows: repeat(auto-fill, $grid-cell-size-small);
|
|
1191
|
+
grid-auto-rows: $grid-cell-size-small;
|
|
1192
|
+
grid-auto-columns: $grid-cell-size-small;
|
|
1193
|
+
|
|
1194
|
+
&.GamesListIncreasedGap {
|
|
1195
|
+
gap: $grid-gap;
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
.CasinoGamesGridSlider {
|
|
1200
|
+
display: grid;
|
|
1201
|
+
gap: $grid-gap-scroll !important;
|
|
1202
|
+
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-small-scroll 46%), 2fr));
|
|
1203
|
+
grid-template-rows: repeat(auto-fill, $grid-cell-size-small-scroll);
|
|
1204
|
+
grid-auto-rows: $grid-cell-size-small-scroll;
|
|
1205
|
+
grid-auto-columns: $grid-cell-size-small-scroll;
|
|
1206
|
+
grid-auto-flow: column;
|
|
1207
|
+
overflow-x: auto;
|
|
1208
|
+
overflow-y: hidden;
|
|
1209
|
+
padding-bottom: 5px;
|
|
1210
|
+
|
|
1211
|
+
& .GameInnerContainer .GameInfoWrapper .GameInfoName {
|
|
1212
|
+
font-size: 10px !important;
|
|
1213
|
+
}
|
|
1214
|
+
& .GameInnerContainer .GameInfoWrapper .GameInfoVendor {
|
|
1215
|
+
font-size: 10px !important;
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
@container (max-width: 410px) {
|
|
1221
|
+
|
|
1222
|
+
.CasinoGamesGridSlider {
|
|
1223
|
+
display: grid;
|
|
1224
|
+
gap: $grid-gap-scroll;
|
|
1225
|
+
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-small-scroll, 46%), 2fr));
|
|
1226
|
+
grid-template-rows: repeat(auto-fill, $grid-cell-size-small-scroll);
|
|
1227
|
+
grid-auto-rows: $grid-cell-size-small-scroll;
|
|
1228
|
+
grid-auto-columns: $grid-cell-size-small-scroll;
|
|
1229
|
+
grid-auto-flow: column;
|
|
1230
|
+
overflow-x: auto;
|
|
1231
|
+
overflow-y: hidden;
|
|
1232
|
+
padding-bottom: 5px;
|
|
1233
|
+
|
|
1234
|
+
& .GameInnerContainer .GameInfoWrapper .GameInfoName {
|
|
1235
|
+
font-size: 10px !important;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
& .GameInnerContainer .GameInfoWrapper .GameInfoVendor {
|
|
1239
|
+
font-size: 10px !important;
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
@container (max-width: 480px) {
|
|
1245
|
+
|
|
1246
|
+
.CasinoGamesGrid {
|
|
1247
|
+
display: grid;
|
|
1248
|
+
gap: $grid-gap;
|
|
1249
|
+
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-medium, 46%), 1fr));
|
|
1250
|
+
grid-template-rows: repeat(auto-fill, $grid-cell-size-medium);
|
|
1251
|
+
grid-auto-rows: $grid-cell-size-medium;
|
|
1252
|
+
grid-auto-columns: $grid-cell-size-medium;
|
|
1253
|
+
|
|
1254
|
+
&.GamesListIncreasedGap {
|
|
1255
|
+
gap: $grid-gap;
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
.CasinoGamesGridSlider {
|
|
1260
|
+
display: grid;
|
|
1261
|
+
gap: $grid-gap-scroll !important;
|
|
1262
|
+
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-medium-scroll, 46%), 2fr));
|
|
1263
|
+
grid-template-rows: repeat(auto-fill, $grid-cell-size-medium-scroll);
|
|
1264
|
+
grid-auto-rows: $grid-cell-size-medium-scroll;
|
|
1265
|
+
grid-auto-columns: $grid-cell-size-medium-scroll;
|
|
1266
|
+
grid-auto-flow: column;
|
|
1267
|
+
overflow-x: auto;
|
|
1268
|
+
overflow-y: hidden;
|
|
1269
|
+
padding-bottom: 5px;
|
|
1270
|
+
|
|
1271
|
+
& .GameInnerContainer .GameInfoWrapper .GameInfoName {
|
|
1272
|
+
font-size: 10px !important;
|
|
1273
|
+
}
|
|
1274
|
+
& .GameInnerContainer .GameInfoWrapper .GameInfoVendor {
|
|
1275
|
+
font-size: 10px !important;
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1207
1280
|
</style>
|