@everymatrix/casino-search 1.12.7 → 1.13.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/dist/casino-search.js +28 -18
- package/dist/casino-search.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoSearch.svelte +35 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-search",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"main": "index.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": "1e1112223dbbcaa114d0dc15006eb09f2beabedd"
|
|
39
39
|
}
|
package/src/CasinoSearch.svelte
CHANGED
|
@@ -408,16 +408,12 @@
|
|
|
408
408
|
</div>
|
|
409
409
|
|
|
410
410
|
<style lang="scss">
|
|
411
|
-
:host {
|
|
412
|
-
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
413
|
-
}
|
|
414
|
-
|
|
415
411
|
$color-grey: #717171;
|
|
416
412
|
$color-light-grey: #cacaca;
|
|
417
413
|
$color-black: #212121;
|
|
418
414
|
|
|
419
|
-
$grid-gap:
|
|
420
|
-
$grid-cell-size:
|
|
415
|
+
$grid-gap: 16px;
|
|
416
|
+
$grid-cell-size: 192px;
|
|
421
417
|
$grid-cell-size-small: 110px;
|
|
422
418
|
$grid-cell-size-medium: 122px;
|
|
423
419
|
|
|
@@ -429,6 +425,10 @@
|
|
|
429
425
|
box-sizing: border-box;
|
|
430
426
|
}
|
|
431
427
|
|
|
428
|
+
:host {
|
|
429
|
+
font-family: inherit;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
432
|
.CasinoSearch {
|
|
433
433
|
margin: 30px 16px;
|
|
434
434
|
}
|
|
@@ -502,12 +502,39 @@
|
|
|
502
502
|
|
|
503
503
|
&ResultsContainer {
|
|
504
504
|
display: grid;
|
|
505
|
-
gap: $grid-gap;
|
|
505
|
+
gap: $grid-gap + 12;
|
|
506
506
|
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size, 46%), 1fr));
|
|
507
507
|
grid-template-rows: repeat(auto-fill, $grid-cell-size);
|
|
508
508
|
grid-auto-rows: $grid-cell-size;
|
|
509
509
|
grid-auto-columns: $grid-cell-size;
|
|
510
510
|
grid-auto-flow: row dense;
|
|
511
|
+
|
|
512
|
+
@media screen and (max-width: 480px) {
|
|
513
|
+
display: grid;
|
|
514
|
+
gap: $grid-gap;
|
|
515
|
+
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-medium, 46%), 1fr));
|
|
516
|
+
grid-template-rows: repeat(auto-fill, $grid-cell-size-medium);
|
|
517
|
+
grid-auto-rows: $grid-cell-size-medium;
|
|
518
|
+
grid-auto-columns: $grid-cell-size-medium;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
@media screen and (max-width: 385px) {
|
|
522
|
+
display: grid;
|
|
523
|
+
gap: $grid-gap;
|
|
524
|
+
grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-small, 46%), 1fr));
|
|
525
|
+
grid-template-rows: repeat(auto-fill, $grid-cell-size-small);
|
|
526
|
+
grid-auto-rows: $grid-cell-size-small;
|
|
527
|
+
grid-auto-columns: $grid-cell-size-small;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
@media screen and (min-width: 1100px) {
|
|
531
|
+
grid-template-rows: repeat(auto-fill, 142px);
|
|
532
|
+
grid-auto-rows: 142px;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
@media screen and (max-width: 1300px) {
|
|
536
|
+
padding: 0 2.4%
|
|
537
|
+
}
|
|
511
538
|
}
|
|
512
539
|
}
|
|
513
540
|
|
|
@@ -535,7 +562,7 @@
|
|
|
535
562
|
}
|
|
536
563
|
|
|
537
564
|
&.CasinoSearch {
|
|
538
|
-
margin: 30px
|
|
565
|
+
margin: 30px auto;
|
|
539
566
|
}
|
|
540
567
|
|
|
541
568
|
.Search {
|