@chinggis.systems/collection-ui 1.0.3 → 1.0.5
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 +111 -24
- package/dist/CollectionRenderer.js.map +1 -1
- package/dist/createAdapters.d.ts +1 -0
- package/dist/createAdapters.d.ts.map +1 -1
- package/dist/createAdapters.js +3 -1
- package/dist/createAdapters.js.map +1 -1
- package/dist/layoutPresets.d.ts.map +1 -1
- package/dist/layoutPresets.js +4 -3
- package/dist/layoutPresets.js.map +1 -1
- package/dist/primitives/BookSpine.d.ts.map +1 -1
- package/dist/primitives/BookSpine.js +14 -3
- package/dist/primitives/BookSpine.js.map +1 -1
- package/dist/primitives/CollectionCarousel.d.ts.map +1 -1
- package/dist/primitives/CollectionCarousel.js +26 -5
- package/dist/primitives/CollectionCarousel.js.map +1 -1
- package/dist/styles.css +858 -124
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -4
- package/dist/assets/spine/BurnBlend.png +0 -0
- package/dist/assets/spine/FlatEdges.webp +0 -0
- package/dist/assets/spine/FlatShadow.webp +0 -0
- package/dist/assets/spine/NormalBlend.webp +0 -0
- package/dist/assets/spine/SoftLightBlend.webp +0 -0
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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;
|
|
@@ -209,7 +210,8 @@
|
|
|
209
210
|
}
|
|
210
211
|
|
|
211
212
|
.collection-ui-new-layout-carousel {
|
|
212
|
-
margin-top:
|
|
213
|
+
margin-top: 24px;
|
|
214
|
+
padding-bottom: 20px;
|
|
213
215
|
}
|
|
214
216
|
|
|
215
217
|
.collection-ui-grid-double__track,
|
|
@@ -219,6 +221,10 @@
|
|
|
219
221
|
padding: 0 16px 28px;
|
|
220
222
|
}
|
|
221
223
|
|
|
224
|
+
.collection-ui-grid-double__track {
|
|
225
|
+
height: 328px;
|
|
226
|
+
}
|
|
227
|
+
|
|
222
228
|
.collection-ui-grid-double__slide,
|
|
223
229
|
.collection-ui-grid-special__slide {
|
|
224
230
|
height: auto;
|
|
@@ -226,19 +232,31 @@
|
|
|
226
232
|
width: max-content !important;
|
|
227
233
|
}
|
|
228
234
|
|
|
235
|
+
.collection-ui-grid-double__track .swiper-wrapper {
|
|
236
|
+
overflow-y: hidden;
|
|
237
|
+
}
|
|
238
|
+
|
|
229
239
|
.collection-ui-grid-double__panel {
|
|
230
240
|
display: grid;
|
|
231
|
-
gap:
|
|
241
|
+
gap: 14px 16px;
|
|
232
242
|
grid-auto-flow: column;
|
|
233
243
|
grid-auto-columns: max-content;
|
|
234
244
|
grid-template-rows: repeat(2, minmax(0, auto));
|
|
245
|
+
padding-block: 6px 16px;
|
|
235
246
|
}
|
|
236
247
|
|
|
237
248
|
.collection-ui-grid-double__item,
|
|
238
249
|
.collection-ui-grid-special__item {
|
|
250
|
+
display: flex;
|
|
251
|
+
justify-content: center;
|
|
252
|
+
justify-self: center;
|
|
239
253
|
min-width: 0;
|
|
240
254
|
}
|
|
241
255
|
|
|
256
|
+
.collection-ui-grid-double__mobile-scroll {
|
|
257
|
+
display: none;
|
|
258
|
+
}
|
|
259
|
+
|
|
242
260
|
.collection-ui-grid-special__panel {
|
|
243
261
|
align-items: stretch;
|
|
244
262
|
display: flex;
|
|
@@ -357,12 +375,14 @@
|
|
|
357
375
|
|
|
358
376
|
.collection-ui-grid__items {
|
|
359
377
|
display: grid;
|
|
360
|
-
gap:
|
|
378
|
+
gap: 36px 20px;
|
|
361
379
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
362
380
|
padding-top: 16px;
|
|
363
381
|
}
|
|
364
382
|
|
|
365
383
|
.collection-ui-grid__item {
|
|
384
|
+
display: flex;
|
|
385
|
+
justify-content: center;
|
|
366
386
|
min-width: 0;
|
|
367
387
|
}
|
|
368
388
|
|
|
@@ -371,8 +391,42 @@
|
|
|
371
391
|
width: 100%;
|
|
372
392
|
}
|
|
373
393
|
|
|
374
|
-
.collection-ui-grid__item .collection-ui-card__media,
|
|
375
394
|
.collection-ui-grid__view-all {
|
|
395
|
+
align-self: start;
|
|
396
|
+
height: 180px;
|
|
397
|
+
justify-self: center;
|
|
398
|
+
max-width: 190px;
|
|
399
|
+
min-height: 0;
|
|
400
|
+
padding: 16px;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.collection-ui-grid__view-all .collection-ui-view-all__icon {
|
|
404
|
+
font-size: 1.25rem;
|
|
405
|
+
height: 44px;
|
|
406
|
+
margin-bottom: 10px;
|
|
407
|
+
width: 44px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.collection-ui-grid__item .we-lockup {
|
|
411
|
+
max-width: min(100%, 190px);
|
|
412
|
+
width: 190px;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.collection-ui-grid__item .collection-ui-book-media {
|
|
416
|
+
margin-inline: auto;
|
|
417
|
+
max-width: 100%;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.collection-detail-page
|
|
421
|
+
.collection-ui-grid__item
|
|
422
|
+
.collection-ui-book-media
|
|
423
|
+
img {
|
|
424
|
+
height: var(--spine-height, 266px) !important;
|
|
425
|
+
object-fit: contain;
|
|
426
|
+
width: auto !important;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.collection-ui-grid__item .collection-ui-card__media {
|
|
376
430
|
min-height: 168px;
|
|
377
431
|
}
|
|
378
432
|
|
|
@@ -427,6 +481,10 @@
|
|
|
427
481
|
width: 112px;
|
|
428
482
|
}
|
|
429
483
|
|
|
484
|
+
.collection-ui-card:has(.collection-ui-book-media) {
|
|
485
|
+
width: max-content;
|
|
486
|
+
}
|
|
487
|
+
|
|
430
488
|
.collection-ui-card--image-only {
|
|
431
489
|
justify-content: flex-end;
|
|
432
490
|
width: 88px;
|
|
@@ -441,15 +499,48 @@
|
|
|
441
499
|
min-height: 0;
|
|
442
500
|
}
|
|
443
501
|
|
|
444
|
-
.collection-ui-card--image-only .
|
|
502
|
+
.collection-ui-card--image-only .collection-ui-book-media {
|
|
445
503
|
margin-bottom: 0;
|
|
446
504
|
}
|
|
447
505
|
|
|
448
|
-
.collection-ui-grid-double .
|
|
449
|
-
.collection-ui-grid-special .
|
|
506
|
+
.collection-ui-grid-double .collection-ui-book-media,
|
|
507
|
+
.collection-ui-grid-special .collection-ui-book-media {
|
|
450
508
|
margin-bottom: 0;
|
|
451
509
|
}
|
|
452
510
|
|
|
511
|
+
.collection-ui-grid-double .collection-ui-book-media {
|
|
512
|
+
height: var(--spine-height, 132px) !important;
|
|
513
|
+
overflow: hidden;
|
|
514
|
+
width: 88px;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.collection-ui-grid-double .collection-ui-book-media img {
|
|
518
|
+
height: var(--spine-height, 132px);
|
|
519
|
+
max-height: none;
|
|
520
|
+
max-width: none;
|
|
521
|
+
object-fit: contain;
|
|
522
|
+
object-position: center;
|
|
523
|
+
width: auto;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.collection-ui-grid-double .collection-ui-product-media,
|
|
527
|
+
.collection-ui-grid-double .collection-ui-audio-media {
|
|
528
|
+
background: #fff;
|
|
529
|
+
border-radius: 6px;
|
|
530
|
+
height: 96px !important;
|
|
531
|
+
overflow: hidden;
|
|
532
|
+
width: 96px !important;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.collection-ui-grid-double .collection-ui-product-media img,
|
|
536
|
+
.collection-ui-grid-double .collection-ui-audio-media img {
|
|
537
|
+
height: 100% !important;
|
|
538
|
+
max-height: none;
|
|
539
|
+
max-width: none;
|
|
540
|
+
object-fit: contain;
|
|
541
|
+
width: 100% !important;
|
|
542
|
+
}
|
|
543
|
+
|
|
453
544
|
.collection-ui-card--featured {
|
|
454
545
|
width: auto;
|
|
455
546
|
}
|
|
@@ -505,126 +596,121 @@
|
|
|
505
596
|
}
|
|
506
597
|
|
|
507
598
|
.collection-ui-book-media {
|
|
599
|
+
--book-board-edge: clamp(2px, calc(var(--spine-height, 132px) * 0.01), 4px);
|
|
600
|
+
--book-hinge-start: clamp(
|
|
601
|
+
5px,
|
|
602
|
+
calc(var(--spine-height, 132px) * 0.032),
|
|
603
|
+
10px
|
|
604
|
+
);
|
|
605
|
+
--book-hinge-end: clamp(10px, calc(var(--spine-height, 132px) * 0.06), 18px);
|
|
606
|
+
--book-cast-shadow-y: clamp(
|
|
607
|
+
7px,
|
|
608
|
+
calc(var(--spine-height, 132px) * 0.06),
|
|
609
|
+
18px
|
|
610
|
+
);
|
|
611
|
+
--book-cast-shadow-blur: clamp(
|
|
612
|
+
18px,
|
|
613
|
+
calc(var(--spine-height, 132px) * 0.14),
|
|
614
|
+
36px
|
|
615
|
+
);
|
|
616
|
+
--book-cast-shadow-alpha: 18%;
|
|
617
|
+
--book-cover-shadow-y: clamp(
|
|
618
|
+
2px,
|
|
619
|
+
calc(var(--spine-height, 132px) * 0.018),
|
|
620
|
+
5px
|
|
621
|
+
);
|
|
622
|
+
--book-cover-shadow-blur: clamp(
|
|
623
|
+
4px,
|
|
624
|
+
calc(var(--spine-height, 132px) * 0.04),
|
|
625
|
+
9px
|
|
626
|
+
);
|
|
508
627
|
align-items: center;
|
|
509
|
-
display: flex;
|
|
510
|
-
justify-content: center;
|
|
511
|
-
overflow: visible;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
.collection-ui-book-media__artwork {
|
|
515
|
-
display: block;
|
|
628
|
+
display: inline-flex;
|
|
516
629
|
flex: 0 0 auto;
|
|
630
|
+
justify-content: center;
|
|
631
|
+
max-width: none;
|
|
517
632
|
overflow: visible;
|
|
518
633
|
position: relative;
|
|
519
|
-
|
|
634
|
+
transform: translateZ(0);
|
|
635
|
+
width: fit-content;
|
|
636
|
+
z-index: 0;
|
|
520
637
|
}
|
|
521
638
|
|
|
522
|
-
.collection-ui-book-
|
|
523
|
-
background
|
|
524
|
-
|
|
639
|
+
.collection-ui-book-media::before {
|
|
640
|
+
background:
|
|
641
|
+
linear-gradient(
|
|
642
|
+
90deg,
|
|
643
|
+
rgb(255 255 255 / 44%) 0,
|
|
644
|
+
rgb(255 255 255 / 28%) var(--book-board-edge),
|
|
645
|
+
rgb(0 0 0 / 12%) var(--book-hinge-start),
|
|
646
|
+
rgb(255 255 255 / 30%) calc(var(--book-hinge-start) + 1px),
|
|
647
|
+
rgb(0 0 0 / 8%) var(--book-hinge-end),
|
|
648
|
+
transparent calc(var(--book-hinge-end) + 9px)
|
|
649
|
+
),
|
|
650
|
+
linear-gradient(
|
|
651
|
+
90deg,
|
|
652
|
+
transparent calc(100% - 5px),
|
|
653
|
+
rgb(255 255 255 / 14%) calc(100% - 3px),
|
|
654
|
+
rgb(0 0 0 / 16%) 100%
|
|
655
|
+
),
|
|
656
|
+
linear-gradient(
|
|
657
|
+
180deg,
|
|
658
|
+
rgb(255 255 255 / 12%) 0,
|
|
659
|
+
transparent 10%,
|
|
660
|
+
transparent 88%,
|
|
661
|
+
rgb(0 0 0 / 12%) 100%
|
|
662
|
+
);
|
|
663
|
+
border-radius: 4px 5px 5px 4px;
|
|
664
|
+
box-shadow:
|
|
665
|
+
inset 0 0 0 1px rgb(255 255 255 / 14%),
|
|
666
|
+
inset 2px 0 2px rgb(255 255 255 / 30%),
|
|
667
|
+
inset -2px 0 2px rgb(0 0 0 / 10%);
|
|
525
668
|
content: "";
|
|
526
|
-
display: block;
|
|
527
|
-
height: 115%;
|
|
528
|
-
left: -10%;
|
|
529
|
-
opacity: 0.6;
|
|
530
|
-
position: absolute;
|
|
531
|
-
top: -4%;
|
|
532
|
-
width: 120%;
|
|
533
|
-
z-index: 1;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
.collection-ui-book-media__lighting {
|
|
537
669
|
inset: 0;
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
.collection-ui-book-media__background {
|
|
543
|
-
filter: blur(8px);
|
|
544
|
-
inset: 0;
|
|
545
|
-
left: 50%;
|
|
546
|
-
margin: 0;
|
|
547
|
-
opacity: 0.25;
|
|
670
|
+
opacity: 0.78;
|
|
671
|
+
pointer-events: none;
|
|
548
672
|
position: absolute;
|
|
549
|
-
top: 50%;
|
|
550
|
-
transform: translate(-50%, -50%);
|
|
551
|
-
z-index: 1;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
@supports (mix-blend-mode: multiply) {
|
|
555
|
-
.collection-ui-book-media__background {
|
|
556
|
-
mix-blend-mode: multiply;
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
@supports (mix-blend-mode: multiply) {
|
|
561
|
-
.collection-ui-book-media__lighting::after {
|
|
562
|
-
background-image: url("./assets/spine/BurnBlend.png");
|
|
563
|
-
background-size: 100% 100%;
|
|
564
|
-
border-radius: 2.5px;
|
|
565
|
-
content: "";
|
|
566
|
-
display: block;
|
|
567
|
-
height: 100%;
|
|
568
|
-
inset: 0;
|
|
569
|
-
mix-blend-mode: multiply;
|
|
570
|
-
position: absolute;
|
|
571
|
-
z-index: 1;
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.collection-ui-book-media__foreground {
|
|
576
|
-
inset: 0;
|
|
577
|
-
position: relative;
|
|
578
673
|
z-index: 2;
|
|
579
674
|
}
|
|
580
675
|
|
|
581
|
-
.collection-ui-book-
|
|
582
|
-
background
|
|
583
|
-
|
|
584
|
-
|
|
676
|
+
.collection-ui-book-media::after {
|
|
677
|
+
background: radial-gradient(
|
|
678
|
+
ellipse at center,
|
|
679
|
+
rgb(0 0 0 / var(--book-cast-shadow-alpha)) 0,
|
|
680
|
+
transparent 72%
|
|
681
|
+
);
|
|
682
|
+
border-radius: 50%;
|
|
683
|
+
bottom: calc(var(--book-cast-shadow-y) * -0.55);
|
|
684
|
+
box-shadow: 0 var(--book-cast-shadow-y) var(--book-cast-shadow-blur)
|
|
685
|
+
rgb(0 0 0 / 10%);
|
|
585
686
|
content: "";
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
inset: 0;
|
|
687
|
+
filter: blur(clamp(2px, calc(var(--spine-height, 132px) * 0.018), 5px));
|
|
688
|
+
left: -4%;
|
|
589
689
|
position: absolute;
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
@supports (mix-blend-mode: soft-light) {
|
|
594
|
-
.collection-ui-book-media__foreground::after {
|
|
595
|
-
background-color: transparent;
|
|
596
|
-
background-image: url("./assets/spine/SoftLightBlend.webp");
|
|
597
|
-
background-size: 100% 100%;
|
|
598
|
-
border-radius: 2.5px;
|
|
599
|
-
content: "";
|
|
600
|
-
display: block;
|
|
601
|
-
height: 100%;
|
|
602
|
-
inset: 0;
|
|
603
|
-
mix-blend-mode: soft-light;
|
|
604
|
-
position: absolute;
|
|
605
|
-
z-index: 1;
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
.collection-ui-book-media__background img,
|
|
610
|
-
.collection-ui-book-media__foreground img {
|
|
611
|
-
border-radius: 2.5px;
|
|
612
|
-
display: block;
|
|
613
|
-
object-fit: cover;
|
|
614
|
-
position: relative;
|
|
690
|
+
right: -4%;
|
|
691
|
+
top: 82%;
|
|
692
|
+
transform: scaleY(0.34);
|
|
615
693
|
z-index: 0;
|
|
616
694
|
}
|
|
617
695
|
|
|
618
|
-
.collection-ui-book-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
696
|
+
.collection-ui-book-media img {
|
|
697
|
+
border-radius: 4px 5px 5px 4px;
|
|
698
|
+
box-shadow:
|
|
699
|
+
1px 0 0 rgb(255 255 255 / 20%),
|
|
700
|
+
-1px 0 0 rgb(0 0 0 / 22%),
|
|
701
|
+
0 0 0 1px rgb(0 0 0 / 10%),
|
|
702
|
+
0 1px 2px rgb(255 255 255 / 14%),
|
|
703
|
+
0 var(--book-cover-shadow-y) var(--book-cover-shadow-blur) rgb(0 0 0 / 20%),
|
|
704
|
+
4px 5px 12px rgb(0 0 0 / 12%);
|
|
623
705
|
display: block;
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
706
|
+
/* filter: brightness(1) contrast(1) saturate(1); */
|
|
707
|
+
height: var(--spine-height, 100%);
|
|
708
|
+
max-height: 100%;
|
|
709
|
+
max-width: none;
|
|
710
|
+
object-fit: contain;
|
|
711
|
+
position: relative;
|
|
712
|
+
width: auto;
|
|
713
|
+
z-index: 1;
|
|
628
714
|
}
|
|
629
715
|
|
|
630
716
|
.collection-ui-audio-media,
|
|
@@ -717,16 +803,36 @@
|
|
|
717
803
|
align-items: center;
|
|
718
804
|
background: var(--collection-ui-special-panel);
|
|
719
805
|
display: grid;
|
|
720
|
-
gap: 24px;
|
|
806
|
+
gap: clamp(24px, 2vw, 40px);
|
|
721
807
|
justify-items: center;
|
|
808
|
+
min-height: clamp(320px, 21vw, 390px);
|
|
809
|
+
overflow: visible;
|
|
722
810
|
padding: 0;
|
|
723
811
|
width: 100%;
|
|
724
812
|
}
|
|
725
813
|
|
|
726
814
|
.collection-ui-special-item__media {
|
|
815
|
+
align-items: center;
|
|
816
|
+
aspect-ratio: 0.72;
|
|
727
817
|
display: flex;
|
|
818
|
+
height: clamp(282px, 22vw, 354px);
|
|
728
819
|
justify-content: center;
|
|
729
|
-
|
|
820
|
+
max-width: 100%;
|
|
821
|
+
min-width: 0;
|
|
822
|
+
overflow: visible;
|
|
823
|
+
transform: translateY(clamp(-34px, -2vw, -18px));
|
|
824
|
+
width: clamp(216px, 20vw, 318px);
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.collection-ui-special-item__media > *,
|
|
828
|
+
.collection-ui-special-item__media img,
|
|
829
|
+
.collection-ui-special-item__media .collection-ui-book-media {
|
|
830
|
+
max-height: calc(100% + 44px);
|
|
831
|
+
max-width: 100%;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.collection-ui-special-item__media .collection-ui-book-media {
|
|
835
|
+
margin-bottom: 0;
|
|
730
836
|
}
|
|
731
837
|
|
|
732
838
|
.collection-ui--preview .collection-ui-special-section,
|
|
@@ -755,6 +861,7 @@
|
|
|
755
861
|
.collection-ui-special-item__description {
|
|
756
862
|
color: var(--collection-ui-muted);
|
|
757
863
|
font-size: 1rem;
|
|
864
|
+
line-height: 1.55;
|
|
758
865
|
max-width: 560px;
|
|
759
866
|
}
|
|
760
867
|
|
|
@@ -767,12 +874,18 @@
|
|
|
767
874
|
}
|
|
768
875
|
|
|
769
876
|
.collection-ui-special-item__button {
|
|
877
|
+
border-radius: 8px;
|
|
770
878
|
margin-top: 0;
|
|
879
|
+
min-height: 40px;
|
|
880
|
+
padding: 0 18px;
|
|
771
881
|
}
|
|
772
882
|
|
|
773
883
|
.collection-ui-band {
|
|
774
884
|
background: var(--collection-ui-band-bg);
|
|
775
|
-
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.collection-ui-band--special {
|
|
888
|
+
padding-block: 0;
|
|
776
889
|
}
|
|
777
890
|
|
|
778
891
|
.collection-ui--ecommerce .collection-ui-band {
|
|
@@ -804,6 +917,40 @@
|
|
|
804
917
|
min-width: 0;
|
|
805
918
|
}
|
|
806
919
|
|
|
920
|
+
.collection-ui-banner-carousel,
|
|
921
|
+
.collection-ui-slide__track {
|
|
922
|
+
padding-bottom: 28px;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.collection-ui-banner-carousel .swiper-pagination,
|
|
926
|
+
.collection-ui-slide__track .swiper-pagination {
|
|
927
|
+
bottom: 4px;
|
|
928
|
+
display: flex;
|
|
929
|
+
gap: 8px;
|
|
930
|
+
justify-content: center;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.collection-ui-banner-carousel .swiper-pagination-bullet,
|
|
934
|
+
.collection-ui-slide__track .swiper-pagination-bullet {
|
|
935
|
+
background: rgb(255 255 255 / 70%);
|
|
936
|
+
border-radius: 999px;
|
|
937
|
+
height: 6px;
|
|
938
|
+
margin: 0 !important;
|
|
939
|
+
opacity: 1;
|
|
940
|
+
transition:
|
|
941
|
+
background-color 220ms ease,
|
|
942
|
+
transform 220ms ease,
|
|
943
|
+
width 220ms ease;
|
|
944
|
+
width: 6px;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.collection-ui-banner-carousel .swiper-pagination-bullet-active,
|
|
948
|
+
.collection-ui-slide__track .swiper-pagination-bullet-active {
|
|
949
|
+
background: var(--collection-ui-link);
|
|
950
|
+
transform: scale(1.05);
|
|
951
|
+
width: 22px;
|
|
952
|
+
}
|
|
953
|
+
|
|
807
954
|
.collection-ui-banner-carousel__slide {
|
|
808
955
|
height: 100%;
|
|
809
956
|
}
|
|
@@ -852,6 +999,16 @@
|
|
|
852
999
|
height: auto;
|
|
853
1000
|
}
|
|
854
1001
|
|
|
1002
|
+
.collection-ui-featured-card__media {
|
|
1003
|
+
display: block;
|
|
1004
|
+
overflow: hidden;
|
|
1005
|
+
position: relative;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
.collection-ui-featured-card__image-background {
|
|
1009
|
+
display: none;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
855
1012
|
.collection-ui-banner__media-link {
|
|
856
1013
|
aspect-ratio: 16 / 9;
|
|
857
1014
|
border-radius: 8px;
|
|
@@ -876,15 +1033,15 @@
|
|
|
876
1033
|
|
|
877
1034
|
.collection-ui-banner-source {
|
|
878
1035
|
align-items: center;
|
|
879
|
-
aspect-ratio: 16 / 9;
|
|
880
1036
|
background: #030712;
|
|
881
1037
|
border-radius: 8px;
|
|
882
1038
|
display: flex;
|
|
1039
|
+
height: 100%;
|
|
883
1040
|
justify-content: center;
|
|
884
|
-
max-height: 260px;
|
|
885
1041
|
overflow: hidden;
|
|
886
1042
|
padding: 32px;
|
|
887
1043
|
position: relative;
|
|
1044
|
+
width: 100%;
|
|
888
1045
|
}
|
|
889
1046
|
|
|
890
1047
|
.collection-ui-banner-source__background {
|
|
@@ -972,11 +1129,197 @@
|
|
|
972
1129
|
display: none;
|
|
973
1130
|
}
|
|
974
1131
|
|
|
1132
|
+
.collection-ui-slide {
|
|
1133
|
+
overflow: hidden;
|
|
1134
|
+
width: 100%;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
.collection-ui-slide__track {
|
|
1138
|
+
overflow: visible;
|
|
1139
|
+
width: 100%;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
.collection-ui-slide__slide {
|
|
1143
|
+
opacity: 0.58;
|
|
1144
|
+
transform: scale(0.965);
|
|
1145
|
+
transition:
|
|
1146
|
+
opacity 450ms ease,
|
|
1147
|
+
transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
1148
|
+
width: min(90dvw, calc(100% - 128px), 1504px);
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.collection-ui-slide__slide.swiper-slide-active {
|
|
1152
|
+
opacity: 1;
|
|
1153
|
+
transform: scale(1);
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
.collection-ui-slide__slide,
|
|
1157
|
+
.collection-ui-slide__item,
|
|
1158
|
+
.collection-ui-slide .collection-ui-featured-card {
|
|
1159
|
+
height: 100%;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
.collection-ui-slide .collection-ui-featured-card {
|
|
1163
|
+
display: flex;
|
|
1164
|
+
flex-direction: column;
|
|
1165
|
+
position: relative;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
.collection-ui-slide .collection-ui-featured-card__media {
|
|
1169
|
+
align-items: center;
|
|
1170
|
+
aspect-ratio: 15 / 4;
|
|
1171
|
+
background: #030712;
|
|
1172
|
+
border-radius: 8px;
|
|
1173
|
+
display: flex;
|
|
1174
|
+
justify-content: center;
|
|
1175
|
+
width: 100%;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.collection-ui-slide .collection-ui-featured-card__media::after {
|
|
1179
|
+
background:
|
|
1180
|
+
linear-gradient(90deg, rgb(0 0 0 / 62%), rgb(0 0 0 / 20%) 48%, transparent),
|
|
1181
|
+
linear-gradient(0deg, rgb(0 0 0 / 56%), transparent 48%);
|
|
1182
|
+
content: "";
|
|
1183
|
+
inset: 0;
|
|
1184
|
+
pointer-events: none;
|
|
1185
|
+
position: absolute;
|
|
1186
|
+
z-index: 2;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
.collection-ui-slide .collection-ui-featured-card__image-background {
|
|
1190
|
+
display: block;
|
|
1191
|
+
filter: blur(24px);
|
|
1192
|
+
height: 100%;
|
|
1193
|
+
inset: 0;
|
|
1194
|
+
object-fit: cover;
|
|
1195
|
+
opacity: 0.72;
|
|
1196
|
+
position: absolute;
|
|
1197
|
+
transform: scale(1.08);
|
|
1198
|
+
width: 100%;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.collection-ui-slide .collection-ui-featured-card__image {
|
|
1202
|
+
filter: drop-shadow(0 16px 30px rgb(0 0 0 / 28%));
|
|
1203
|
+
height: 100% !important;
|
|
1204
|
+
object-fit: contain;
|
|
1205
|
+
position: relative;
|
|
1206
|
+
width: 100%;
|
|
1207
|
+
z-index: 1;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.collection-ui-slide .collection-ui-featured-card__body {
|
|
1211
|
+
bottom: clamp(18px, 3.5vw, 48px);
|
|
1212
|
+
color: #fff;
|
|
1213
|
+
left: clamp(18px, 4vw, 64px);
|
|
1214
|
+
max-width: min(560px, 58%);
|
|
1215
|
+
padding: 0;
|
|
1216
|
+
position: absolute;
|
|
1217
|
+
text-shadow: 0 2px 14px rgb(0 0 0 / 36%);
|
|
1218
|
+
transform: translateY(10px);
|
|
1219
|
+
transition:
|
|
1220
|
+
opacity 450ms ease,
|
|
1221
|
+
transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
1222
|
+
z-index: 3;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.collection-ui-slide__slide:not(.swiper-slide-active)
|
|
1226
|
+
.collection-ui-featured-card__body {
|
|
1227
|
+
opacity: 0;
|
|
1228
|
+
transform: translateY(22px);
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.collection-ui-slide .collection-ui-featured-card__title {
|
|
1232
|
+
font-size: clamp(1.25rem, 2.4vw, 2.5rem);
|
|
1233
|
+
font-weight: 600;
|
|
1234
|
+
line-height: 1.15;
|
|
1235
|
+
margin-bottom: 12px;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.collection-ui-slide .collection-ui-featured-card__description {
|
|
1239
|
+
display: -webkit-box;
|
|
1240
|
+
font-size: clamp(0.8125rem, 1vw, 1rem);
|
|
1241
|
+
line-height: 1.5;
|
|
1242
|
+
margin-bottom: 16px;
|
|
1243
|
+
overflow: hidden;
|
|
1244
|
+
-webkit-box-orient: vertical;
|
|
1245
|
+
-webkit-line-clamp: 2;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
.collection-ui-slide .collection-ui-featured-card__link {
|
|
1249
|
+
align-items: center;
|
|
1250
|
+
background: rgb(255 255 255 / 90%);
|
|
1251
|
+
border-radius: 999px;
|
|
1252
|
+
color: #111827;
|
|
1253
|
+
display: inline-flex;
|
|
1254
|
+
font-size: 0.8125rem;
|
|
1255
|
+
font-weight: 600;
|
|
1256
|
+
min-height: 36px;
|
|
1257
|
+
padding: 0 16px;
|
|
1258
|
+
text-shadow: none;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
.collection-ui-slide__autoplay-progress {
|
|
1262
|
+
align-items: center;
|
|
1263
|
+
background: rgb(0 0 0 / 28%);
|
|
1264
|
+
border-radius: 999px;
|
|
1265
|
+
bottom: 20px;
|
|
1266
|
+
display: flex;
|
|
1267
|
+
height: 46px;
|
|
1268
|
+
justify-content: center;
|
|
1269
|
+
pointer-events: none;
|
|
1270
|
+
position: absolute;
|
|
1271
|
+
right: 20px;
|
|
1272
|
+
width: 46px;
|
|
1273
|
+
z-index: 4;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
.collection-ui-slide__autoplay-progress svg {
|
|
1277
|
+
height: 100%;
|
|
1278
|
+
transform: rotate(-90deg);
|
|
1279
|
+
width: 100%;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
.collection-ui-slide__autoplay-track,
|
|
1283
|
+
.collection-ui-slide__autoplay-value {
|
|
1284
|
+
fill: none;
|
|
1285
|
+
stroke-linecap: round;
|
|
1286
|
+
stroke-width: 4;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
.collection-ui-slide__autoplay-track {
|
|
1290
|
+
stroke: rgb(255 255 255 / 32%);
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
.collection-ui-slide__autoplay-value {
|
|
1294
|
+
stroke: #fff;
|
|
1295
|
+
transition: stroke-dashoffset 80ms linear;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
.collection-ui-slide__autoplay-progress span {
|
|
1299
|
+
color: #fff;
|
|
1300
|
+
font-size: 0.6875rem;
|
|
1301
|
+
font-weight: 700;
|
|
1302
|
+
left: 50%;
|
|
1303
|
+
line-height: 1;
|
|
1304
|
+
position: absolute;
|
|
1305
|
+
top: 50%;
|
|
1306
|
+
transform: translate(-50%, -50%);
|
|
1307
|
+
}
|
|
1308
|
+
|
|
975
1309
|
.collection-ui-featured {
|
|
976
1310
|
display: grid;
|
|
977
1311
|
gap: 24px;
|
|
978
1312
|
}
|
|
979
1313
|
|
|
1314
|
+
.collection-ui-banner-grid {
|
|
1315
|
+
display: grid;
|
|
1316
|
+
gap: 24px;
|
|
1317
|
+
grid-template-columns: repeat(
|
|
1318
|
+
var(--collection-ui-columns, 1),
|
|
1319
|
+
minmax(0, 1fr)
|
|
1320
|
+
);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
980
1323
|
.collection-ui-featured-card__body {
|
|
981
1324
|
padding: 16px 0 0;
|
|
982
1325
|
}
|
|
@@ -1092,21 +1435,406 @@
|
|
|
1092
1435
|
}
|
|
1093
1436
|
|
|
1094
1437
|
@media (max-width: 767px) {
|
|
1438
|
+
.collection-ui-container,
|
|
1439
|
+
.collection-ui-container--wide {
|
|
1440
|
+
padding-inline: 16px;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
.collection-ui-title {
|
|
1444
|
+
margin-bottom: 8px;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
.collection-ui-title__row {
|
|
1448
|
+
align-items: flex-start;
|
|
1449
|
+
gap: 8px;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
.collection-ui-title__heading {
|
|
1453
|
+
font-size: 1rem;
|
|
1454
|
+
min-width: 0;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
.collection-ui-title__description {
|
|
1458
|
+
display: -webkit-box;
|
|
1459
|
+
overflow: hidden;
|
|
1460
|
+
-webkit-box-orient: vertical;
|
|
1461
|
+
-webkit-line-clamp: 3;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
.collection-ui-new-layout-carousel {
|
|
1465
|
+
margin-top: 12px;
|
|
1466
|
+
padding-bottom: 12px;
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
.collection-ui-grid-double__track,
|
|
1470
|
+
.collection-ui-grid-special__track {
|
|
1471
|
+
overscroll-behavior-y: none;
|
|
1472
|
+
overflow-x: hidden;
|
|
1473
|
+
overflow-y: hidden;
|
|
1474
|
+
padding-bottom: 14px;
|
|
1475
|
+
scrollbar-width: none;
|
|
1476
|
+
touch-action: pan-x;
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
.collection-ui-grid-special__track {
|
|
1480
|
+
margin-inline: 0;
|
|
1481
|
+
padding-inline: 0;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
.collection-ui-grid-double__track::-webkit-scrollbar,
|
|
1485
|
+
.collection-ui-grid-special__track::-webkit-scrollbar {
|
|
1486
|
+
display: none;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
.collection-ui-grid-special__track .swiper-wrapper,
|
|
1490
|
+
.collection-ui-grid-special__slide {
|
|
1491
|
+
scrollbar-width: none;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
.collection-ui-grid-special__track .swiper-wrapper::-webkit-scrollbar,
|
|
1495
|
+
.collection-ui-grid-special__slide::-webkit-scrollbar {
|
|
1496
|
+
display: none;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
.collection-ui-grid-special__track .swiper-wrapper,
|
|
1500
|
+
.collection-ui-grid-special__slide {
|
|
1501
|
+
overflow-x: hidden;
|
|
1502
|
+
overflow-y: hidden;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
.collection-ui-grid-special,
|
|
1506
|
+
.collection-ui-grid-special * {
|
|
1507
|
+
scrollbar-width: none;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
.collection-ui-grid-special *::-webkit-scrollbar {
|
|
1511
|
+
display: none;
|
|
1512
|
+
height: 0;
|
|
1513
|
+
width: 0;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
.collection-ui-grid-double .collection-ui-new-layout-carousel {
|
|
1517
|
+
display: none;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
.collection-ui-grid-double__mobile-scroll {
|
|
1521
|
+
display: grid;
|
|
1522
|
+
gap: 12px 10px;
|
|
1523
|
+
grid-auto-columns: 96px;
|
|
1524
|
+
grid-auto-flow: column;
|
|
1525
|
+
grid-template-rows: repeat(2, minmax(0, auto));
|
|
1526
|
+
margin-inline: -16px;
|
|
1527
|
+
overscroll-behavior-y: none;
|
|
1528
|
+
overflow-x: auto;
|
|
1529
|
+
overflow-y: hidden;
|
|
1530
|
+
padding: 12px 16px 16px;
|
|
1531
|
+
scroll-snap-type: x proximity;
|
|
1532
|
+
scrollbar-width: none;
|
|
1533
|
+
touch-action: pan-x;
|
|
1534
|
+
-webkit-overflow-scrolling: touch;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
.collection-ui-grid-double__mobile-scroll::-webkit-scrollbar {
|
|
1538
|
+
display: none;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
.collection-ui-grid-double__mobile-item {
|
|
1542
|
+
display: flex;
|
|
1543
|
+
justify-content: center;
|
|
1544
|
+
min-width: 0;
|
|
1545
|
+
scroll-snap-align: start;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
.collection-ui-grid-double__panel {
|
|
1549
|
+
gap: 12px 10px;
|
|
1550
|
+
grid-auto-columns: minmax(96px, 96px);
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
.collection-ui-grid-double .collection-ui-card--image-only {
|
|
1554
|
+
height: 96px;
|
|
1555
|
+
width: 96px;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
.collection-ui-grid-double__item .collection-ui-book-media img,
|
|
1559
|
+
.collection-ui-grid-double__mobile-item .collection-ui-book-media img {
|
|
1560
|
+
height: var(--spine-height, 132px) !important;
|
|
1561
|
+
max-height: none;
|
|
1562
|
+
max-width: none;
|
|
1563
|
+
width: auto !important;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
.collection-ui-slide__slide {
|
|
1567
|
+
width: min(90dvw, calc(100% - 32px));
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
.collection-ui-slide .collection-ui-featured-card__media {
|
|
1571
|
+
aspect-ratio: 16 / 7;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
.collection-ui-slide .collection-ui-featured-card__body {
|
|
1575
|
+
bottom: 16px;
|
|
1576
|
+
left: 16px;
|
|
1577
|
+
max-width: calc(100% - 32px);
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
.collection-ui-slide .collection-ui-featured-card__description {
|
|
1581
|
+
display: none;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
.collection-ui-slide .collection-ui-featured-card__link {
|
|
1585
|
+
min-height: 32px;
|
|
1586
|
+
padding: 0 12px;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
.collection-ui-slide__autoplay-progress {
|
|
1590
|
+
bottom: 12px;
|
|
1591
|
+
height: 36px;
|
|
1592
|
+
right: 12px;
|
|
1593
|
+
width: 36px;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1095
1596
|
.collection-ui-grid-special__panel {
|
|
1096
|
-
|
|
1097
|
-
grid-
|
|
1597
|
+
--collection-ui-grid-special-featured-width: clamp(136px, 38dvw, 156px);
|
|
1598
|
+
--collection-ui-grid-special-featured-height: clamp(204px, 57dvw, 234px);
|
|
1599
|
+
--collection-ui-grid-special-item-width: clamp(68px, 18dvw, 76px);
|
|
1600
|
+
--collection-ui-grid-special-item-height: clamp(100px, 28dvw, 112px);
|
|
1601
|
+
align-items: end;
|
|
1602
|
+
display: grid;
|
|
1603
|
+
gap: 12px;
|
|
1604
|
+
grid-template-columns:
|
|
1605
|
+
var(--collection-ui-grid-special-featured-width)
|
|
1606
|
+
minmax(0, 1fr);
|
|
1607
|
+
overflow: hidden;
|
|
1608
|
+
width: clamp(300px, calc(100dvw - 72px), 340px);
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
.collection-ui-grid-special__featured {
|
|
1612
|
+
align-items: center;
|
|
1613
|
+
align-self: stretch;
|
|
1614
|
+
min-height: var(--collection-ui-grid-special-featured-height);
|
|
1615
|
+
overflow: hidden;
|
|
1098
1616
|
}
|
|
1099
1617
|
|
|
1100
1618
|
.collection-ui-grid-special__items {
|
|
1101
|
-
|
|
1619
|
+
align-items: end;
|
|
1620
|
+
gap: 10px 8px;
|
|
1621
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1622
|
+
min-width: 0;
|
|
1623
|
+
overflow: hidden;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
.collection-ui-grid-special__item {
|
|
1627
|
+
align-items: end;
|
|
1628
|
+
display: flex;
|
|
1629
|
+
height: var(--collection-ui-grid-special-item-height);
|
|
1630
|
+
justify-content: center;
|
|
1631
|
+
overflow: hidden;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
.collection-ui-grid-special__featured .collection-ui-book-media {
|
|
1635
|
+
--spine-height: var(
|
|
1636
|
+
--collection-ui-grid-special-featured-height
|
|
1637
|
+
) !important;
|
|
1638
|
+
--spine-width: var(--collection-ui-grid-special-featured-width) !important;
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
.collection-ui-grid-special__item .collection-ui-book-media {
|
|
1642
|
+
--spine-height: var(--collection-ui-grid-special-item-height) !important;
|
|
1643
|
+
--spine-width: var(--collection-ui-grid-special-item-width) !important;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
.collection-ui-grid-special__featured .collection-ui-book-media img,
|
|
1647
|
+
.collection-ui-grid-special__item .collection-ui-book-media img {
|
|
1648
|
+
height: var(--spine-height) !important;
|
|
1649
|
+
width: auto !important;
|
|
1102
1650
|
}
|
|
1103
1651
|
|
|
1104
1652
|
.collection-ui-card--featured {
|
|
1105
|
-
width:
|
|
1653
|
+
width: var(--collection-ui-grid-special-featured-width);
|
|
1106
1654
|
}
|
|
1107
1655
|
|
|
1108
1656
|
.collection-ui-card__media--featured {
|
|
1109
|
-
min-height:
|
|
1657
|
+
min-height: var(--collection-ui-grid-special-featured-height);
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
.collection-ui-banner__copy {
|
|
1661
|
+
order: 2;
|
|
1662
|
+
padding: 0 0 14px;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
.collection-ui-banner__eyebrow {
|
|
1666
|
+
font-size: 0.875rem;
|
|
1667
|
+
margin-bottom: 12px;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
.collection-ui-banner__title {
|
|
1671
|
+
font-size: 1.375rem;
|
|
1672
|
+
line-height: 1.2;
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
.collection-ui-banner__description {
|
|
1676
|
+
display: -webkit-box;
|
|
1677
|
+
overflow: hidden;
|
|
1678
|
+
text-align: left;
|
|
1679
|
+
-webkit-box-orient: vertical;
|
|
1680
|
+
-webkit-line-clamp: 4;
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
.collection-ui .collection-ui-button {
|
|
1684
|
+
margin-bottom: 16px;
|
|
1685
|
+
min-height: 40px;
|
|
1686
|
+
min-width: 0;
|
|
1687
|
+
padding-inline: 18px;
|
|
1688
|
+
white-space: normal;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
.collection-ui-banner__media-link {
|
|
1692
|
+
max-height: none;
|
|
1693
|
+
order: 1;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
.collection-ui-special-item {
|
|
1697
|
+
gap: 12px;
|
|
1698
|
+
min-height: 0;
|
|
1699
|
+
padding-block: 0 22px;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
.collection-ui-special-item__media {
|
|
1703
|
+
height: min(64dvw, 238px);
|
|
1704
|
+
margin-bottom: -12px;
|
|
1705
|
+
transform: translateY(-30px);
|
|
1706
|
+
width: min(54dvw, 176px);
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
.collection-ui-special-item__media .collection-ui-book-media {
|
|
1710
|
+
--spine-height: min(64dvw, 238px) !important;
|
|
1711
|
+
--spine-width: min(46dvw, 162px) !important;
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
.collection-ui-special-item__media .collection-ui-book-media img {
|
|
1715
|
+
height: var(--spine-height) !important;
|
|
1716
|
+
width: auto !important;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
.collection-ui-special-item__content {
|
|
1720
|
+
min-width: 0;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
.collection-ui-special-item__content h3 {
|
|
1724
|
+
font-size: 1.125rem;
|
|
1725
|
+
margin-bottom: 10px;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
.collection-ui-special-item__description {
|
|
1729
|
+
display: -webkit-box;
|
|
1730
|
+
font-size: 0.875rem;
|
|
1731
|
+
overflow: hidden;
|
|
1732
|
+
-webkit-box-orient: vertical;
|
|
1733
|
+
-webkit-line-clamp: 4;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
.collection-ui-special-item__aside {
|
|
1737
|
+
align-items: center;
|
|
1738
|
+
gap: 10px;
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
.collection-ui-grid-title {
|
|
1742
|
+
gap: 18px;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
.collection-ui-row-item {
|
|
1746
|
+
gap: 14px;
|
|
1747
|
+
max-width: 100%;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
.collection-ui-row-item__media .collection-ui-book-media {
|
|
1751
|
+
--spine-height: 168px !important;
|
|
1752
|
+
--spine-width: 112px !important;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
.collection-ui-row-item__media .collection-ui-book-media img {
|
|
1756
|
+
height: var(--spine-height) !important;
|
|
1757
|
+
width: auto !important;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
.collection-ui-image-grid .collection-ui-title {
|
|
1761
|
+
margin-bottom: 22px;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
.collection-ui-image-grid__items {
|
|
1765
|
+
gap: 16px 12px;
|
|
1766
|
+
margin-top: 20px;
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
.collection-ui-image-grid--block .collection-ui-image-grid__items {
|
|
1770
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
.collection-ui-image-grid--block .collection-ui-image-grid__item {
|
|
1774
|
+
min-height: 64px;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
.collection-ui-image-grid__image {
|
|
1778
|
+
height: auto;
|
|
1779
|
+
max-height: 88px;
|
|
1780
|
+
width: min(100%, 150px);
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
.collection-ui-image-grid--block .collection-ui-image-grid__image {
|
|
1784
|
+
background: var(--color-fg-main, #fff);
|
|
1785
|
+
height: 64px;
|
|
1786
|
+
object-fit: contain;
|
|
1787
|
+
padding: 10px;
|
|
1788
|
+
width: 100%;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
.collection-ui-image-grid--circle .collection-ui-image-grid__image {
|
|
1792
|
+
aspect-ratio: 1 / 1;
|
|
1793
|
+
border-radius: 999px;
|
|
1794
|
+
height: 128px !important;
|
|
1795
|
+
object-fit: cover;
|
|
1796
|
+
object-position: center top;
|
|
1797
|
+
transform: scale(1.48);
|
|
1798
|
+
width: 128px !important;
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
.collection-ui-image-grid--circle .collection-ui-image-grid__items {
|
|
1802
|
+
gap: 28px 34px;
|
|
1803
|
+
grid-template-columns: repeat(2, minmax(0, 128px));
|
|
1804
|
+
justify-content: center;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
.collection-ui-image-grid--circle .collection-ui-image-grid__item {
|
|
1808
|
+
min-height: 128px;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
.collection-ui-image-grid--circle .collection-ui-image-grid__item a {
|
|
1812
|
+
align-items: center;
|
|
1813
|
+
aspect-ratio: 1 / 1;
|
|
1814
|
+
border-radius: 999px;
|
|
1815
|
+
clip-path: circle(50%);
|
|
1816
|
+
display: flex;
|
|
1817
|
+
height: 128px;
|
|
1818
|
+
justify-content: center;
|
|
1819
|
+
overflow: hidden;
|
|
1820
|
+
width: 128px;
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
.collection-ui-image-grid--circle .collection-ui-image-grid__item a img {
|
|
1824
|
+
border-radius: 999px !important;
|
|
1825
|
+
clip-path: circle(50%);
|
|
1826
|
+
height: 128px !important;
|
|
1827
|
+
max-height: none;
|
|
1828
|
+
max-width: none;
|
|
1829
|
+
min-height: 128px;
|
|
1830
|
+
min-width: 128px;
|
|
1831
|
+
object-fit: cover;
|
|
1832
|
+
width: 128px !important;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
.collection-ui-image-grid__image--square {
|
|
1836
|
+
height: 132px;
|
|
1837
|
+
width: 132px;
|
|
1110
1838
|
}
|
|
1111
1839
|
}
|
|
1112
1840
|
|
|
@@ -1148,7 +1876,6 @@
|
|
|
1148
1876
|
}
|
|
1149
1877
|
|
|
1150
1878
|
.collection-ui-banner-source {
|
|
1151
|
-
max-height: 500px;
|
|
1152
1879
|
padding: 48px;
|
|
1153
1880
|
}
|
|
1154
1881
|
|
|
@@ -1168,6 +1895,10 @@
|
|
|
1168
1895
|
);
|
|
1169
1896
|
}
|
|
1170
1897
|
|
|
1898
|
+
.collection-ui-banner-grid {
|
|
1899
|
+
gap: 24px;
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1171
1902
|
.collection-ui-featured--three {
|
|
1172
1903
|
grid-template-columns: repeat(
|
|
1173
1904
|
var(--collection-ui-columns, 3),
|
|
@@ -1186,9 +1917,9 @@
|
|
|
1186
1917
|
}
|
|
1187
1918
|
|
|
1188
1919
|
.collection-ui-special-item {
|
|
1189
|
-
grid-template-columns: minmax(
|
|
1190
|
-
|
|
1191
|
-
|
|
1920
|
+
grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(
|
|
1921
|
+
176px,
|
|
1922
|
+
220px
|
|
1192
1923
|
);
|
|
1193
1924
|
justify-items: stretch;
|
|
1194
1925
|
}
|
|
@@ -1232,7 +1963,10 @@
|
|
|
1232
1963
|
|
|
1233
1964
|
@media (min-width: 1200px) {
|
|
1234
1965
|
.collection-ui-grid__items {
|
|
1235
|
-
grid-template-columns: repeat(
|
|
1966
|
+
grid-template-columns: repeat(
|
|
1967
|
+
var(--collection-ui-columns, 5),
|
|
1968
|
+
minmax(0, 1fr)
|
|
1969
|
+
);
|
|
1236
1970
|
}
|
|
1237
1971
|
|
|
1238
1972
|
.collection-ui-vertical__grid {
|