@chinggis.systems/collection-ui 1.0.2 → 1.0.4
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/CollectionRenderer.js +187 -17
- package/dist/CollectionRenderer.js.map +1 -1
- package/dist/collectionV2Model.d.ts +1 -1
- package/dist/collectionV2Model.d.ts.map +1 -1
- package/dist/createAdapters.d.ts.map +1 -1
- package/dist/createAdapters.js +64 -6
- package/dist/createAdapters.js.map +1 -1
- package/dist/layoutPresets.d.ts.map +1 -1
- package/dist/layoutPresets.js +20 -3
- package/dist/layoutPresets.js.map +1 -1
- package/dist/primitives/CollectionCarousel.d.ts +1 -1
- package/dist/primitives/CollectionCarousel.d.ts.map +1 -1
- package/dist/primitives/CollectionCarousel.js +28 -6
- package/dist/primitives/CollectionCarousel.js.map +1 -1
- package/dist/styles.css +539 -38
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -6
- package/dist/utils.js.map +1 -1
- package/package.json +5 -3
package/dist/styles.css
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
@import "swiper/css";
|
|
2
2
|
@import "swiper/css/navigation";
|
|
3
|
+
@import "swiper/css/pagination";
|
|
3
4
|
|
|
4
5
|
.collection-ui {
|
|
5
6
|
--collection-ui-bg: transparent;
|
|
6
7
|
--collection-ui-band-bg: var(--color-fg-alt, rgb(0 0 0 / 4%));
|
|
7
8
|
--collection-ui-card-bg: transparent;
|
|
8
9
|
--collection-ui-fg: var(--color-t-default, inherit);
|
|
9
|
-
--collection-ui-muted: var(
|
|
10
|
+
--collection-ui-muted: var(
|
|
11
|
+
--color-t-muted,
|
|
12
|
+
color-mix(in srgb, currentColor 62%, transparent)
|
|
13
|
+
);
|
|
10
14
|
--collection-ui-link: var(--color-link, #0f79d0);
|
|
11
15
|
--collection-ui-button-bg: #f6a0a8;
|
|
12
16
|
--collection-ui-button-fg: #151515;
|
|
@@ -20,7 +24,10 @@
|
|
|
20
24
|
--collection-ui-bg: var(--color-bg-default, transparent);
|
|
21
25
|
--collection-ui-band-bg: var(--color-fg-main, transparent);
|
|
22
26
|
--collection-ui-fg: var(--color-t-default, inherit);
|
|
23
|
-
--collection-ui-muted: var(
|
|
27
|
+
--collection-ui-muted: var(
|
|
28
|
+
--color-t-muted,
|
|
29
|
+
color-mix(in srgb, currentColor 62%, transparent)
|
|
30
|
+
);
|
|
24
31
|
--collection-ui-link: var(--color-link, #0f79d0);
|
|
25
32
|
--collection-ui-button-bg: #6e0b0f;
|
|
26
33
|
--collection-ui-button-fg: var(--color-fg-main, #151515);
|
|
@@ -156,12 +163,16 @@
|
|
|
156
163
|
display: none;
|
|
157
164
|
}
|
|
158
165
|
|
|
159
|
-
.collection-ui-horizontal .collection-ui-title__link
|
|
166
|
+
.collection-ui-horizontal .collection-ui-title__link,
|
|
167
|
+
.collection-ui-grid-double .collection-ui-title__link,
|
|
168
|
+
.collection-ui-grid-special .collection-ui-title__link {
|
|
160
169
|
display: block;
|
|
161
170
|
}
|
|
162
171
|
|
|
163
172
|
.collection-ui-horizontal,
|
|
164
|
-
.collection-ui-grid
|
|
173
|
+
.collection-ui-grid,
|
|
174
|
+
.collection-ui-grid-double,
|
|
175
|
+
.collection-ui-grid-special {
|
|
165
176
|
min-width: 0;
|
|
166
177
|
position: relative;
|
|
167
178
|
}
|
|
@@ -198,6 +209,58 @@
|
|
|
198
209
|
width: max-content;
|
|
199
210
|
}
|
|
200
211
|
|
|
212
|
+
.collection-ui-new-layout-carousel {
|
|
213
|
+
margin-top: 24px;
|
|
214
|
+
padding-bottom: 20px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.collection-ui-grid-double__track,
|
|
218
|
+
.collection-ui-grid-special__track {
|
|
219
|
+
margin-inline: -16px;
|
|
220
|
+
overflow: visible;
|
|
221
|
+
padding: 0 16px 28px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.collection-ui-grid-double__slide,
|
|
225
|
+
.collection-ui-grid-special__slide {
|
|
226
|
+
height: auto;
|
|
227
|
+
overflow: visible;
|
|
228
|
+
width: max-content !important;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.collection-ui-grid-double__panel {
|
|
232
|
+
display: grid;
|
|
233
|
+
gap: 12px 8px;
|
|
234
|
+
grid-auto-flow: column;
|
|
235
|
+
grid-auto-columns: max-content;
|
|
236
|
+
grid-template-rows: repeat(2, minmax(0, auto));
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.collection-ui-grid-double__item,
|
|
240
|
+
.collection-ui-grid-special__item {
|
|
241
|
+
min-width: 0;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.collection-ui-grid-special__panel {
|
|
245
|
+
align-items: stretch;
|
|
246
|
+
display: flex;
|
|
247
|
+
gap: 12px;
|
|
248
|
+
width: max-content;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.collection-ui-grid-special__featured {
|
|
252
|
+
align-items: flex-end;
|
|
253
|
+
display: flex;
|
|
254
|
+
justify-content: center;
|
|
255
|
+
min-width: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.collection-ui-grid-special__items {
|
|
259
|
+
display: grid;
|
|
260
|
+
gap: 10px 10px;
|
|
261
|
+
grid-template-columns: repeat(2, max-content);
|
|
262
|
+
}
|
|
263
|
+
|
|
201
264
|
.collection-ui-grid-title.collection-ui-grid-title {
|
|
202
265
|
margin-inline: -16px;
|
|
203
266
|
padding-inline: 16px;
|
|
@@ -227,10 +290,11 @@
|
|
|
227
290
|
|
|
228
291
|
.collection-ui-view-all {
|
|
229
292
|
align-items: center;
|
|
230
|
-
background:
|
|
231
|
-
border: 1px solid rgb(
|
|
232
|
-
border-radius:
|
|
233
|
-
|
|
293
|
+
background: var(--color-fg-main, #fff);
|
|
294
|
+
border: 1px solid var(--color-border-main, rgb(0 0 0 / 10%));
|
|
295
|
+
border-radius: 6px;
|
|
296
|
+
box-shadow: 0 14px 30px rgb(0 0 0 / 8%);
|
|
297
|
+
color: var(--collection-ui-link);
|
|
234
298
|
display: flex;
|
|
235
299
|
flex-direction: column;
|
|
236
300
|
font-size: 0.875rem;
|
|
@@ -240,23 +304,26 @@
|
|
|
240
304
|
overflow: hidden;
|
|
241
305
|
padding: 24px;
|
|
242
306
|
position: relative;
|
|
243
|
-
transition:
|
|
307
|
+
transition:
|
|
308
|
+
border-color 160ms ease,
|
|
309
|
+
box-shadow 160ms ease,
|
|
310
|
+
transform 160ms ease;
|
|
244
311
|
width: 180px;
|
|
245
312
|
}
|
|
246
313
|
|
|
247
314
|
.collection-ui-view-all:hover {
|
|
248
|
-
border-color:
|
|
249
|
-
|
|
315
|
+
border-color: color-mix(in srgb, var(--collection-ui-link) 35%, transparent);
|
|
316
|
+
box-shadow: 0 18px 36px rgb(0 0 0 / 12%);
|
|
317
|
+
transform: translateY(-2px);
|
|
250
318
|
}
|
|
251
319
|
|
|
252
320
|
.collection-ui-view-all::before {
|
|
253
|
-
background:
|
|
321
|
+
background: color-mix(in srgb, var(--collection-ui-link) 8%, transparent);
|
|
254
322
|
content: "";
|
|
255
|
-
filter: blur(16px);
|
|
256
323
|
inset: 0;
|
|
257
324
|
opacity: 0;
|
|
258
325
|
position: absolute;
|
|
259
|
-
transition: opacity
|
|
326
|
+
transition: opacity 160ms ease;
|
|
260
327
|
}
|
|
261
328
|
|
|
262
329
|
.collection-ui-view-all:hover::before {
|
|
@@ -265,21 +332,23 @@
|
|
|
265
332
|
|
|
266
333
|
.collection-ui-view-all__icon {
|
|
267
334
|
align-items: center;
|
|
268
|
-
background:
|
|
335
|
+
background: color-mix(in srgb, var(--collection-ui-link) 10%, transparent);
|
|
269
336
|
border-radius: 999px;
|
|
270
|
-
color:
|
|
337
|
+
color: var(--collection-ui-link);
|
|
271
338
|
display: inline-flex;
|
|
272
339
|
font-size: 1.5rem;
|
|
273
340
|
height: 56px;
|
|
274
341
|
justify-content: center;
|
|
275
342
|
margin-bottom: 16px;
|
|
276
343
|
position: relative;
|
|
277
|
-
transition:
|
|
344
|
+
transition:
|
|
345
|
+
background-color 300ms ease,
|
|
346
|
+
transform 200ms ease;
|
|
278
347
|
width: 56px;
|
|
279
348
|
}
|
|
280
349
|
|
|
281
350
|
.collection-ui-view-all:hover .collection-ui-view-all__icon {
|
|
282
|
-
background:
|
|
351
|
+
background: color-mix(in srgb, var(--collection-ui-link) 16%, transparent);
|
|
283
352
|
transform: translateX(4px);
|
|
284
353
|
}
|
|
285
354
|
|
|
@@ -290,12 +359,14 @@
|
|
|
290
359
|
|
|
291
360
|
.collection-ui-grid__items {
|
|
292
361
|
display: grid;
|
|
293
|
-
gap:
|
|
362
|
+
gap: 36px 20px;
|
|
294
363
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
295
364
|
padding-top: 16px;
|
|
296
365
|
}
|
|
297
366
|
|
|
298
367
|
.collection-ui-grid__item {
|
|
368
|
+
display: flex;
|
|
369
|
+
justify-content: center;
|
|
299
370
|
min-width: 0;
|
|
300
371
|
}
|
|
301
372
|
|
|
@@ -304,6 +375,26 @@
|
|
|
304
375
|
width: 100%;
|
|
305
376
|
}
|
|
306
377
|
|
|
378
|
+
.collection-ui-grid__item .we-lockup {
|
|
379
|
+
max-width: min(100%, 190px);
|
|
380
|
+
width: 190px;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.collection-ui-grid__item .we-book-overlay {
|
|
384
|
+
margin-inline: auto;
|
|
385
|
+
max-width: 100%;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.collection-detail-page .collection-ui-grid__item .we-book-overlay {
|
|
389
|
+
width: var(--spine-width, 180px);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.collection-detail-page .collection-ui-grid__item .we-artwork__image {
|
|
393
|
+
height: var(--spine-height, 266px) !important;
|
|
394
|
+
object-fit: cover;
|
|
395
|
+
width: 100% !important;
|
|
396
|
+
}
|
|
397
|
+
|
|
307
398
|
.collection-ui-grid__item .collection-ui-card__media,
|
|
308
399
|
.collection-ui-grid__view-all {
|
|
309
400
|
min-height: 168px;
|
|
@@ -360,6 +451,33 @@
|
|
|
360
451
|
width: 112px;
|
|
361
452
|
}
|
|
362
453
|
|
|
454
|
+
.collection-ui-card--image-only {
|
|
455
|
+
justify-content: flex-end;
|
|
456
|
+
width: 88px;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.collection-ui-grid-special
|
|
460
|
+
.collection-ui-card--image-only:not(.collection-ui-card--featured) {
|
|
461
|
+
width: auto;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.collection-ui-card--image-only .collection-ui-card__media {
|
|
465
|
+
min-height: 0;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.collection-ui-card--image-only .we-book-overlay {
|
|
469
|
+
margin-bottom: 0;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.collection-ui-grid-double .we-book-overlay,
|
|
473
|
+
.collection-ui-grid-special .we-book-overlay {
|
|
474
|
+
margin-bottom: 0;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.collection-ui-card--featured {
|
|
478
|
+
width: auto;
|
|
479
|
+
}
|
|
480
|
+
|
|
363
481
|
.collection-ui-card__media {
|
|
364
482
|
align-items: flex-end;
|
|
365
483
|
display: flex;
|
|
@@ -367,6 +485,10 @@
|
|
|
367
485
|
min-height: 144px;
|
|
368
486
|
}
|
|
369
487
|
|
|
488
|
+
.collection-ui-card__media--featured {
|
|
489
|
+
min-height: 0;
|
|
490
|
+
}
|
|
491
|
+
|
|
370
492
|
.collection-ui-card__body {
|
|
371
493
|
display: flex;
|
|
372
494
|
gap: 8px;
|
|
@@ -619,16 +741,36 @@
|
|
|
619
741
|
align-items: center;
|
|
620
742
|
background: var(--collection-ui-special-panel);
|
|
621
743
|
display: grid;
|
|
622
|
-
gap: 24px;
|
|
744
|
+
gap: clamp(24px, 2vw, 40px);
|
|
623
745
|
justify-items: center;
|
|
746
|
+
min-height: clamp(320px, 21vw, 390px);
|
|
747
|
+
overflow: visible;
|
|
624
748
|
padding: 0;
|
|
625
749
|
width: 100%;
|
|
626
750
|
}
|
|
627
751
|
|
|
628
752
|
.collection-ui-special-item__media {
|
|
753
|
+
align-items: center;
|
|
754
|
+
aspect-ratio: 0.72;
|
|
629
755
|
display: flex;
|
|
756
|
+
height: clamp(282px, 22vw, 354px);
|
|
630
757
|
justify-content: center;
|
|
631
|
-
|
|
758
|
+
max-width: 100%;
|
|
759
|
+
min-width: 0;
|
|
760
|
+
overflow: visible;
|
|
761
|
+
transform: translateY(clamp(-34px, -2vw, -18px));
|
|
762
|
+
width: clamp(216px, 20vw, 318px);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.collection-ui-special-item__media > *,
|
|
766
|
+
.collection-ui-special-item__media img,
|
|
767
|
+
.collection-ui-special-item__media .we-book-overlay {
|
|
768
|
+
max-height: calc(100% + 44px);
|
|
769
|
+
max-width: 100%;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.collection-ui-special-item__media .we-book-overlay {
|
|
773
|
+
margin-bottom: 0;
|
|
632
774
|
}
|
|
633
775
|
|
|
634
776
|
.collection-ui--preview .collection-ui-special-section,
|
|
@@ -657,6 +799,7 @@
|
|
|
657
799
|
.collection-ui-special-item__description {
|
|
658
800
|
color: var(--collection-ui-muted);
|
|
659
801
|
font-size: 1rem;
|
|
802
|
+
line-height: 1.55;
|
|
660
803
|
max-width: 560px;
|
|
661
804
|
}
|
|
662
805
|
|
|
@@ -669,12 +812,18 @@
|
|
|
669
812
|
}
|
|
670
813
|
|
|
671
814
|
.collection-ui-special-item__button {
|
|
815
|
+
border-radius: 8px;
|
|
672
816
|
margin-top: 0;
|
|
817
|
+
min-height: 40px;
|
|
818
|
+
padding: 0 18px;
|
|
673
819
|
}
|
|
674
820
|
|
|
675
821
|
.collection-ui-band {
|
|
676
822
|
background: var(--collection-ui-band-bg);
|
|
677
|
-
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.collection-ui-band--special {
|
|
826
|
+
padding-block: 0;
|
|
678
827
|
}
|
|
679
828
|
|
|
680
829
|
.collection-ui--ecommerce .collection-ui-band {
|
|
@@ -706,8 +855,42 @@
|
|
|
706
855
|
min-width: 0;
|
|
707
856
|
}
|
|
708
857
|
|
|
858
|
+
.collection-ui-banner-carousel,
|
|
859
|
+
.collection-ui-slide__track {
|
|
860
|
+
padding-bottom: 28px;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.collection-ui-banner-carousel .swiper-pagination,
|
|
864
|
+
.collection-ui-slide__track .swiper-pagination {
|
|
865
|
+
bottom: 4px;
|
|
866
|
+
display: flex;
|
|
867
|
+
gap: 8px;
|
|
868
|
+
justify-content: center;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.collection-ui-banner-carousel .swiper-pagination-bullet,
|
|
872
|
+
.collection-ui-slide__track .swiper-pagination-bullet {
|
|
873
|
+
background: rgb(255 255 255 / 70%);
|
|
874
|
+
border-radius: 999px;
|
|
875
|
+
height: 6px;
|
|
876
|
+
margin: 0 !important;
|
|
877
|
+
opacity: 1;
|
|
878
|
+
transition:
|
|
879
|
+
background-color 220ms ease,
|
|
880
|
+
transform 220ms ease,
|
|
881
|
+
width 220ms ease;
|
|
882
|
+
width: 6px;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
.collection-ui-banner-carousel .swiper-pagination-bullet-active,
|
|
886
|
+
.collection-ui-slide__track .swiper-pagination-bullet-active {
|
|
887
|
+
background: var(--collection-ui-link);
|
|
888
|
+
transform: scale(1.05);
|
|
889
|
+
width: 22px;
|
|
890
|
+
}
|
|
891
|
+
|
|
709
892
|
.collection-ui-banner-carousel__slide {
|
|
710
|
-
height:
|
|
893
|
+
height: 100%;
|
|
711
894
|
}
|
|
712
895
|
|
|
713
896
|
.collection-ui-banner__copy {
|
|
@@ -746,11 +929,32 @@
|
|
|
746
929
|
width: 100%;
|
|
747
930
|
}
|
|
748
931
|
|
|
932
|
+
.collection-ui-banner__image {
|
|
933
|
+
height: 100%;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
.collection-ui-featured-card__image {
|
|
937
|
+
height: auto;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.collection-ui-featured-card__media {
|
|
941
|
+
display: block;
|
|
942
|
+
overflow: hidden;
|
|
943
|
+
position: relative;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.collection-ui-featured-card__image-background {
|
|
947
|
+
display: none;
|
|
948
|
+
}
|
|
949
|
+
|
|
749
950
|
.collection-ui-banner__media-link {
|
|
951
|
+
aspect-ratio: 16 / 9;
|
|
750
952
|
border-radius: 8px;
|
|
751
953
|
display: block;
|
|
954
|
+
max-height: 260px;
|
|
752
955
|
overflow: hidden;
|
|
753
956
|
min-width: 0;
|
|
957
|
+
width: 100%;
|
|
754
958
|
}
|
|
755
959
|
|
|
756
960
|
.collection-ui-banner__image--zoom {
|
|
@@ -759,7 +963,9 @@
|
|
|
759
963
|
will-change: transform;
|
|
760
964
|
}
|
|
761
965
|
|
|
762
|
-
.collection-ui-banner-carousel
|
|
966
|
+
.collection-ui-banner-carousel
|
|
967
|
+
.swiper-slide-active
|
|
968
|
+
.collection-ui-banner__image--zoom {
|
|
763
969
|
transform: scale(1.06);
|
|
764
970
|
}
|
|
765
971
|
|
|
@@ -768,11 +974,12 @@
|
|
|
768
974
|
background: #030712;
|
|
769
975
|
border-radius: 8px;
|
|
770
976
|
display: flex;
|
|
977
|
+
height: 100%;
|
|
771
978
|
justify-content: center;
|
|
772
|
-
min-height: 260px;
|
|
773
979
|
overflow: hidden;
|
|
774
980
|
padding: 32px;
|
|
775
981
|
position: relative;
|
|
982
|
+
width: 100%;
|
|
776
983
|
}
|
|
777
984
|
|
|
778
985
|
.collection-ui-banner-source__background {
|
|
@@ -785,7 +992,12 @@
|
|
|
785
992
|
}
|
|
786
993
|
|
|
787
994
|
.collection-ui-banner-source__overlay {
|
|
788
|
-
background: linear-gradient(
|
|
995
|
+
background: linear-gradient(
|
|
996
|
+
135deg,
|
|
997
|
+
rgb(0 0 0 / 40%),
|
|
998
|
+
rgb(255 255 255 / 10%),
|
|
999
|
+
rgb(0 0 0 / 55%)
|
|
1000
|
+
);
|
|
789
1001
|
inset: 0;
|
|
790
1002
|
position: absolute;
|
|
791
1003
|
}
|
|
@@ -830,7 +1042,9 @@
|
|
|
830
1042
|
min-width: 152px;
|
|
831
1043
|
padding: 10px 32px;
|
|
832
1044
|
text-align: center;
|
|
833
|
-
transition:
|
|
1045
|
+
transition:
|
|
1046
|
+
background-color 160ms ease,
|
|
1047
|
+
transform 160ms ease;
|
|
834
1048
|
white-space: nowrap;
|
|
835
1049
|
}
|
|
836
1050
|
|
|
@@ -853,11 +1067,197 @@
|
|
|
853
1067
|
display: none;
|
|
854
1068
|
}
|
|
855
1069
|
|
|
1070
|
+
.collection-ui-slide {
|
|
1071
|
+
overflow: hidden;
|
|
1072
|
+
width: 100%;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.collection-ui-slide__track {
|
|
1076
|
+
overflow: visible;
|
|
1077
|
+
width: 100%;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.collection-ui-slide__slide {
|
|
1081
|
+
opacity: 0.58;
|
|
1082
|
+
transform: scale(0.965);
|
|
1083
|
+
transition:
|
|
1084
|
+
opacity 450ms ease,
|
|
1085
|
+
transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
1086
|
+
width: min(90dvw, calc(100% - 128px), 1504px);
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.collection-ui-slide__slide.swiper-slide-active {
|
|
1090
|
+
opacity: 1;
|
|
1091
|
+
transform: scale(1);
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.collection-ui-slide__slide,
|
|
1095
|
+
.collection-ui-slide__item,
|
|
1096
|
+
.collection-ui-slide .collection-ui-featured-card {
|
|
1097
|
+
height: 100%;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
.collection-ui-slide .collection-ui-featured-card {
|
|
1101
|
+
display: flex;
|
|
1102
|
+
flex-direction: column;
|
|
1103
|
+
position: relative;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.collection-ui-slide .collection-ui-featured-card__media {
|
|
1107
|
+
align-items: center;
|
|
1108
|
+
aspect-ratio: 15 / 4;
|
|
1109
|
+
background: #030712;
|
|
1110
|
+
border-radius: 8px;
|
|
1111
|
+
display: flex;
|
|
1112
|
+
justify-content: center;
|
|
1113
|
+
width: 100%;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.collection-ui-slide .collection-ui-featured-card__media::after {
|
|
1117
|
+
background:
|
|
1118
|
+
linear-gradient(90deg, rgb(0 0 0 / 62%), rgb(0 0 0 / 20%) 48%, transparent),
|
|
1119
|
+
linear-gradient(0deg, rgb(0 0 0 / 56%), transparent 48%);
|
|
1120
|
+
content: "";
|
|
1121
|
+
inset: 0;
|
|
1122
|
+
pointer-events: none;
|
|
1123
|
+
position: absolute;
|
|
1124
|
+
z-index: 2;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.collection-ui-slide .collection-ui-featured-card__image-background {
|
|
1128
|
+
display: block;
|
|
1129
|
+
filter: blur(24px);
|
|
1130
|
+
height: 100%;
|
|
1131
|
+
inset: 0;
|
|
1132
|
+
object-fit: cover;
|
|
1133
|
+
opacity: 0.72;
|
|
1134
|
+
position: absolute;
|
|
1135
|
+
transform: scale(1.08);
|
|
1136
|
+
width: 100%;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
.collection-ui-slide .collection-ui-featured-card__image {
|
|
1140
|
+
filter: drop-shadow(0 16px 30px rgb(0 0 0 / 28%));
|
|
1141
|
+
height: 100% !important;
|
|
1142
|
+
object-fit: contain;
|
|
1143
|
+
position: relative;
|
|
1144
|
+
width: 100%;
|
|
1145
|
+
z-index: 1;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
.collection-ui-slide .collection-ui-featured-card__body {
|
|
1149
|
+
bottom: clamp(18px, 3.5vw, 48px);
|
|
1150
|
+
color: #fff;
|
|
1151
|
+
left: clamp(18px, 4vw, 64px);
|
|
1152
|
+
max-width: min(560px, 58%);
|
|
1153
|
+
padding: 0;
|
|
1154
|
+
position: absolute;
|
|
1155
|
+
text-shadow: 0 2px 14px rgb(0 0 0 / 36%);
|
|
1156
|
+
transform: translateY(10px);
|
|
1157
|
+
transition:
|
|
1158
|
+
opacity 450ms ease,
|
|
1159
|
+
transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
1160
|
+
z-index: 3;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.collection-ui-slide__slide:not(.swiper-slide-active)
|
|
1164
|
+
.collection-ui-featured-card__body {
|
|
1165
|
+
opacity: 0;
|
|
1166
|
+
transform: translateY(22px);
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.collection-ui-slide .collection-ui-featured-card__title {
|
|
1170
|
+
font-size: clamp(1.25rem, 2.4vw, 2.5rem);
|
|
1171
|
+
font-weight: 600;
|
|
1172
|
+
line-height: 1.15;
|
|
1173
|
+
margin-bottom: 12px;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.collection-ui-slide .collection-ui-featured-card__description {
|
|
1177
|
+
display: -webkit-box;
|
|
1178
|
+
font-size: clamp(0.8125rem, 1vw, 1rem);
|
|
1179
|
+
line-height: 1.5;
|
|
1180
|
+
margin-bottom: 16px;
|
|
1181
|
+
overflow: hidden;
|
|
1182
|
+
-webkit-box-orient: vertical;
|
|
1183
|
+
-webkit-line-clamp: 2;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.collection-ui-slide .collection-ui-featured-card__link {
|
|
1187
|
+
align-items: center;
|
|
1188
|
+
background: rgb(255 255 255 / 90%);
|
|
1189
|
+
border-radius: 999px;
|
|
1190
|
+
color: #111827;
|
|
1191
|
+
display: inline-flex;
|
|
1192
|
+
font-size: 0.8125rem;
|
|
1193
|
+
font-weight: 600;
|
|
1194
|
+
min-height: 36px;
|
|
1195
|
+
padding: 0 16px;
|
|
1196
|
+
text-shadow: none;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
.collection-ui-slide__autoplay-progress {
|
|
1200
|
+
align-items: center;
|
|
1201
|
+
background: rgb(0 0 0 / 28%);
|
|
1202
|
+
border-radius: 999px;
|
|
1203
|
+
bottom: 20px;
|
|
1204
|
+
display: flex;
|
|
1205
|
+
height: 46px;
|
|
1206
|
+
justify-content: center;
|
|
1207
|
+
pointer-events: none;
|
|
1208
|
+
position: absolute;
|
|
1209
|
+
right: 20px;
|
|
1210
|
+
width: 46px;
|
|
1211
|
+
z-index: 4;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.collection-ui-slide__autoplay-progress svg {
|
|
1215
|
+
height: 100%;
|
|
1216
|
+
transform: rotate(-90deg);
|
|
1217
|
+
width: 100%;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.collection-ui-slide__autoplay-track,
|
|
1221
|
+
.collection-ui-slide__autoplay-value {
|
|
1222
|
+
fill: none;
|
|
1223
|
+
stroke-linecap: round;
|
|
1224
|
+
stroke-width: 4;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
.collection-ui-slide__autoplay-track {
|
|
1228
|
+
stroke: rgb(255 255 255 / 32%);
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.collection-ui-slide__autoplay-value {
|
|
1232
|
+
stroke: #fff;
|
|
1233
|
+
transition: stroke-dashoffset 80ms linear;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
.collection-ui-slide__autoplay-progress span {
|
|
1237
|
+
color: #fff;
|
|
1238
|
+
font-size: 0.6875rem;
|
|
1239
|
+
font-weight: 700;
|
|
1240
|
+
left: 50%;
|
|
1241
|
+
line-height: 1;
|
|
1242
|
+
position: absolute;
|
|
1243
|
+
top: 50%;
|
|
1244
|
+
transform: translate(-50%, -50%);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
856
1247
|
.collection-ui-featured {
|
|
857
1248
|
display: grid;
|
|
858
1249
|
gap: 24px;
|
|
859
1250
|
}
|
|
860
1251
|
|
|
1252
|
+
.collection-ui-banner-grid {
|
|
1253
|
+
display: grid;
|
|
1254
|
+
gap: 24px;
|
|
1255
|
+
grid-template-columns: repeat(
|
|
1256
|
+
var(--collection-ui-columns, 1),
|
|
1257
|
+
minmax(0, 1fr)
|
|
1258
|
+
);
|
|
1259
|
+
}
|
|
1260
|
+
|
|
861
1261
|
.collection-ui-featured-card__body {
|
|
862
1262
|
padding: 16px 0 0;
|
|
863
1263
|
}
|
|
@@ -905,31 +1305,45 @@
|
|
|
905
1305
|
align-items: center;
|
|
906
1306
|
display: grid;
|
|
907
1307
|
gap: 28px;
|
|
908
|
-
grid-template-columns: repeat(
|
|
1308
|
+
grid-template-columns: repeat(
|
|
1309
|
+
var(--collection-ui-columns, 2),
|
|
1310
|
+
minmax(0, 1fr)
|
|
1311
|
+
);
|
|
909
1312
|
justify-content: center;
|
|
910
1313
|
margin-top: 32px;
|
|
911
1314
|
}
|
|
912
1315
|
|
|
913
1316
|
.collection-ui-image-grid__item {
|
|
1317
|
+
align-items: center;
|
|
914
1318
|
display: flex;
|
|
1319
|
+
flex: 0 1 auto;
|
|
915
1320
|
justify-content: center;
|
|
1321
|
+
min-height: 96px;
|
|
1322
|
+
min-width: 0;
|
|
916
1323
|
}
|
|
917
1324
|
|
|
918
1325
|
.collection-ui-image-grid__image {
|
|
919
1326
|
border-radius: 8px;
|
|
920
1327
|
display: block;
|
|
921
|
-
height: auto;
|
|
922
1328
|
max-width: 100%;
|
|
923
|
-
object-fit:
|
|
1329
|
+
object-fit: contain;
|
|
1330
|
+
width: 176px;
|
|
1331
|
+
height: 96px;
|
|
924
1332
|
}
|
|
925
1333
|
|
|
926
1334
|
.collection-ui-image-grid--circle .collection-ui-image-grid__image {
|
|
927
1335
|
height: 128px;
|
|
1336
|
+
object-fit: cover;
|
|
928
1337
|
width: 128px;
|
|
929
1338
|
}
|
|
930
1339
|
|
|
1340
|
+
.collection-ui-image-grid--circle .collection-ui-image-grid__item {
|
|
1341
|
+
min-height: 128px;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
931
1344
|
.collection-ui-image-grid--block .collection-ui-image-grid__image {
|
|
932
|
-
|
|
1345
|
+
height: 96px;
|
|
1346
|
+
width: 176px;
|
|
933
1347
|
}
|
|
934
1348
|
|
|
935
1349
|
.collection-ui-image-grid__image--circle {
|
|
@@ -939,6 +1353,13 @@
|
|
|
939
1353
|
|
|
940
1354
|
.collection-ui-image-grid__image--square {
|
|
941
1355
|
aspect-ratio: 1;
|
|
1356
|
+
height: 176px;
|
|
1357
|
+
object-fit: cover;
|
|
1358
|
+
width: 176px;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
.collection-ui-image-grid--square .collection-ui-image-grid__item {
|
|
1362
|
+
min-height: 176px;
|
|
942
1363
|
}
|
|
943
1364
|
|
|
944
1365
|
.collection-ui--preview .collection-ui-image-grid__items {
|
|
@@ -951,6 +1372,55 @@
|
|
|
951
1372
|
width: auto;
|
|
952
1373
|
}
|
|
953
1374
|
|
|
1375
|
+
@media (max-width: 767px) {
|
|
1376
|
+
.collection-ui-slide__slide {
|
|
1377
|
+
width: min(90dvw, calc(100% - 32px));
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
.collection-ui-slide .collection-ui-featured-card__media {
|
|
1381
|
+
aspect-ratio: 16 / 7;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
.collection-ui-slide .collection-ui-featured-card__body {
|
|
1385
|
+
bottom: 16px;
|
|
1386
|
+
left: 16px;
|
|
1387
|
+
max-width: calc(100% - 32px);
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
.collection-ui-slide .collection-ui-featured-card__description {
|
|
1391
|
+
display: none;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
.collection-ui-slide .collection-ui-featured-card__link {
|
|
1395
|
+
min-height: 32px;
|
|
1396
|
+
padding: 0 12px;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
.collection-ui-slide__autoplay-progress {
|
|
1400
|
+
bottom: 12px;
|
|
1401
|
+
height: 36px;
|
|
1402
|
+
right: 12px;
|
|
1403
|
+
width: 36px;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
.collection-ui-grid-special__panel {
|
|
1407
|
+
gap: 18px;
|
|
1408
|
+
grid-template-columns: minmax(116px, auto) minmax(104px, auto);
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
.collection-ui-grid-special__items {
|
|
1412
|
+
grid-template-columns: minmax(104px, auto);
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
.collection-ui-card--featured {
|
|
1416
|
+
width: 136px;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
.collection-ui-card__media--featured {
|
|
1420
|
+
min-height: 204px;
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
|
|
954
1424
|
@media (min-width: 768px) {
|
|
955
1425
|
.collection-ui-title__controls {
|
|
956
1426
|
display: flex;
|
|
@@ -982,18 +1452,18 @@
|
|
|
982
1452
|
padding: 0 32px 24px 0;
|
|
983
1453
|
}
|
|
984
1454
|
|
|
985
|
-
.collection-ui-
|
|
1455
|
+
.collection-ui-banner__media-link {
|
|
986
1456
|
display: block;
|
|
987
1457
|
grid-column: span 8 / span 8;
|
|
1458
|
+
max-height: 500px;
|
|
988
1459
|
}
|
|
989
1460
|
|
|
990
1461
|
.collection-ui-banner-source {
|
|
991
|
-
min-height: 420px;
|
|
992
1462
|
padding: 48px;
|
|
993
1463
|
}
|
|
994
1464
|
|
|
995
1465
|
.collection-ui-banner-source__frame {
|
|
996
|
-
height: 420px;
|
|
1466
|
+
height: min(420px, 100%);
|
|
997
1467
|
width: 300px;
|
|
998
1468
|
}
|
|
999
1469
|
|
|
@@ -1002,11 +1472,21 @@
|
|
|
1002
1472
|
}
|
|
1003
1473
|
|
|
1004
1474
|
.collection-ui-featured {
|
|
1005
|
-
grid-template-columns: repeat(
|
|
1475
|
+
grid-template-columns: repeat(
|
|
1476
|
+
var(--collection-ui-columns, 2),
|
|
1477
|
+
minmax(0, 1fr)
|
|
1478
|
+
);
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
.collection-ui-banner-grid {
|
|
1482
|
+
gap: 24px;
|
|
1006
1483
|
}
|
|
1007
1484
|
|
|
1008
1485
|
.collection-ui-featured--three {
|
|
1009
|
-
grid-template-columns: repeat(
|
|
1486
|
+
grid-template-columns: repeat(
|
|
1487
|
+
var(--collection-ui-columns, 3),
|
|
1488
|
+
minmax(0, 1fr)
|
|
1489
|
+
);
|
|
1010
1490
|
}
|
|
1011
1491
|
|
|
1012
1492
|
.collection-ui-carousel__controls {
|
|
@@ -1020,7 +1500,10 @@
|
|
|
1020
1500
|
}
|
|
1021
1501
|
|
|
1022
1502
|
.collection-ui-special-item {
|
|
1023
|
-
grid-template-columns: minmax(
|
|
1503
|
+
grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(
|
|
1504
|
+
176px,
|
|
1505
|
+
220px
|
|
1506
|
+
);
|
|
1024
1507
|
justify-items: stretch;
|
|
1025
1508
|
}
|
|
1026
1509
|
|
|
@@ -1031,16 +1514,34 @@
|
|
|
1031
1514
|
.collection-ui-image-grid__items {
|
|
1032
1515
|
display: flex;
|
|
1033
1516
|
flex-wrap: wrap;
|
|
1517
|
+
justify-content: center;
|
|
1034
1518
|
}
|
|
1035
1519
|
|
|
1036
1520
|
.collection-ui-image-grid--circle .collection-ui-image-grid__items {
|
|
1037
|
-
flex-wrap: nowrap;
|
|
1038
1521
|
gap: clamp(24px, 4vw, 56px);
|
|
1039
1522
|
}
|
|
1040
1523
|
|
|
1041
1524
|
.collection-ui-image-grid--block .collection-ui-image-grid__items {
|
|
1042
1525
|
gap: 16px;
|
|
1043
1526
|
}
|
|
1527
|
+
|
|
1528
|
+
.collection-ui-image-grid__item {
|
|
1529
|
+
flex-basis: calc(
|
|
1530
|
+
100% / var(--collection-ui-columns, 4) -
|
|
1531
|
+
var(--collection-ui-image-grid-gap, 28px)
|
|
1532
|
+
);
|
|
1533
|
+
max-width: 220px;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
.collection-ui-image-grid--circle .collection-ui-image-grid__item {
|
|
1537
|
+
--collection-ui-image-grid-gap: clamp(24px, 4vw, 56px);
|
|
1538
|
+
flex-basis: auto;
|
|
1539
|
+
max-width: 168px;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
.collection-ui-image-grid--block .collection-ui-image-grid__item {
|
|
1543
|
+
--collection-ui-image-grid-gap: 16px;
|
|
1544
|
+
}
|
|
1044
1545
|
}
|
|
1045
1546
|
|
|
1046
1547
|
@media (min-width: 1200px) {
|