@chinggis.systems/collection-ui 1.0.0 → 1.0.2
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/README.md +21 -36
- package/dist/CollectionRenderer.d.ts +2 -2
- package/dist/CollectionRenderer.d.ts.map +1 -1
- package/dist/CollectionRenderer.js +368 -292
- package/dist/CollectionRenderer.js.map +1 -1
- package/dist/CollectionView.d.ts +13 -0
- package/dist/CollectionView.d.ts.map +1 -0
- package/dist/CollectionView.js +42 -0
- package/dist/CollectionView.js.map +1 -0
- 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/collectionV2Model.d.ts +43 -0
- package/dist/collectionV2Model.d.ts.map +1 -0
- package/dist/collectionV2Model.js +4 -0
- package/dist/collectionV2Model.js.map +1 -0
- package/dist/createAdapters.d.ts +66 -74
- package/dist/createAdapters.d.ts.map +1 -1
- package/dist/createAdapters.js +223 -223
- package/dist/createAdapters.js.map +1 -1
- package/dist/defaultAdapters.d.ts +7 -7
- package/dist/defaultAdapters.js +8 -8
- package/dist/index.d.ts +14 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/layoutPresets.d.ts +18 -18
- package/dist/layoutPresets.js +129 -129
- package/dist/primitives/BookSpine.d.ts +11 -11
- package/dist/primitives/BookSpine.js +10 -10
- package/dist/primitives/CollectionCarousel.d.ts +3 -3
- package/dist/primitives/CollectionCarousel.d.ts.map +1 -1
- package/dist/primitives/CollectionCarousel.js +23 -13
- package/dist/primitives/CollectionCarousel.js.map +1 -1
- package/dist/styles.css +333 -52
- package/dist/types.d.ts +147 -141
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/utils.d.ts +8 -8
- package/dist/utils.js +26 -26
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -3,19 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
.collection-ui {
|
|
5
5
|
--collection-ui-bg: transparent;
|
|
6
|
-
--collection-ui-band-bg: rgb(0 0 0 / 4%);
|
|
6
|
+
--collection-ui-band-bg: var(--color-fg-alt, rgb(0 0 0 / 4%));
|
|
7
7
|
--collection-ui-card-bg: transparent;
|
|
8
|
-
--collection-ui-fg: inherit;
|
|
9
|
-
--collection-ui-muted: color-mix(in srgb, currentColor 62%, transparent);
|
|
10
|
-
--collection-ui-link: #0f79d0;
|
|
11
|
-
--collection-ui-button-bg: #
|
|
12
|
-
--collection-ui-button-fg: #
|
|
13
|
-
--collection-ui-special-bg: rgb(0 0 0 / 4%);
|
|
8
|
+
--collection-ui-fg: var(--color-t-default, inherit);
|
|
9
|
+
--collection-ui-muted: var(--color-t-muted, color-mix(in srgb, currentColor 62%, transparent));
|
|
10
|
+
--collection-ui-link: var(--color-link, #0f79d0);
|
|
11
|
+
--collection-ui-button-bg: #f6a0a8;
|
|
12
|
+
--collection-ui-button-fg: #151515;
|
|
13
|
+
--collection-ui-special-bg: var(--color-fg-alt, rgb(0 0 0 / 4%));
|
|
14
14
|
--collection-ui-special-panel: transparent;
|
|
15
15
|
color: var(--collection-ui-fg);
|
|
16
16
|
min-width: 0;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
.collection-ui--ecommerce {
|
|
20
|
+
--collection-ui-bg: var(--color-bg-default, transparent);
|
|
21
|
+
--collection-ui-band-bg: var(--color-fg-main, transparent);
|
|
22
|
+
--collection-ui-fg: var(--color-t-default, inherit);
|
|
23
|
+
--collection-ui-muted: var(--color-t-muted, color-mix(in srgb, currentColor 62%, transparent));
|
|
24
|
+
--collection-ui-link: var(--color-link, #0f79d0);
|
|
25
|
+
--collection-ui-button-bg: #6e0b0f;
|
|
26
|
+
--collection-ui-button-fg: var(--color-fg-main, #151515);
|
|
27
|
+
--collection-ui-special-bg: var(--color-fg-main, transparent);
|
|
28
|
+
--collection-ui-special-panel: transparent;
|
|
29
|
+
}
|
|
30
|
+
|
|
19
31
|
.collection-ui--dark {
|
|
20
32
|
--collection-ui-bg: #141515;
|
|
21
33
|
--collection-ui-band-bg: #141515;
|
|
@@ -30,6 +42,10 @@
|
|
|
30
42
|
background: var(--collection-ui-bg);
|
|
31
43
|
}
|
|
32
44
|
|
|
45
|
+
.dark .collection-ui--ecommerce {
|
|
46
|
+
--collection-ui-button-bg: #f6a2a5;
|
|
47
|
+
}
|
|
48
|
+
|
|
33
49
|
.collection-ui--preview {
|
|
34
50
|
--collection-ui-preview-max-height: 420px;
|
|
35
51
|
border-radius: 6px;
|
|
@@ -55,20 +71,23 @@
|
|
|
55
71
|
|
|
56
72
|
.collection-ui-container {
|
|
57
73
|
margin-inline: auto;
|
|
58
|
-
max-width:
|
|
74
|
+
max-width: 1120px;
|
|
75
|
+
min-width: 0;
|
|
59
76
|
padding-inline: 16px;
|
|
60
77
|
width: 100%;
|
|
61
78
|
}
|
|
62
79
|
|
|
63
80
|
.collection-ui-container--wide {
|
|
64
|
-
max-width:
|
|
81
|
+
max-width: 1536px;
|
|
82
|
+
padding-left: 16px;
|
|
83
|
+
padding-right: 16px;
|
|
65
84
|
}
|
|
66
85
|
|
|
67
86
|
.collection-ui-title {
|
|
68
87
|
display: flex;
|
|
69
88
|
flex-direction: column;
|
|
70
|
-
gap:
|
|
71
|
-
margin-bottom:
|
|
89
|
+
gap: 0;
|
|
90
|
+
margin-bottom: 4px;
|
|
72
91
|
}
|
|
73
92
|
|
|
74
93
|
.collection-ui-title__row {
|
|
@@ -78,9 +97,36 @@
|
|
|
78
97
|
justify-content: space-between;
|
|
79
98
|
}
|
|
80
99
|
|
|
100
|
+
.collection-ui-title__actions {
|
|
101
|
+
align-items: center;
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-shrink: 0;
|
|
104
|
+
gap: 16px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.collection-ui-title__controls {
|
|
108
|
+
align-items: center;
|
|
109
|
+
display: none;
|
|
110
|
+
gap: 4px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.collection-ui-title__controls button {
|
|
114
|
+
align-items: center;
|
|
115
|
+
background: var(--color-fg-main, transparent);
|
|
116
|
+
border: 2px solid var(--color-border-main, rgb(255 255 255 / 12%));
|
|
117
|
+
border-radius: 4px;
|
|
118
|
+
color: inherit;
|
|
119
|
+
cursor: pointer;
|
|
120
|
+
display: inline-flex;
|
|
121
|
+
font: inherit;
|
|
122
|
+
height: 32px;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
width: 32px;
|
|
125
|
+
}
|
|
126
|
+
|
|
81
127
|
.collection-ui-title__heading {
|
|
82
128
|
font-size: 1.125rem;
|
|
83
|
-
font-weight:
|
|
129
|
+
font-weight: 500;
|
|
84
130
|
line-height: 1.35;
|
|
85
131
|
margin: 0;
|
|
86
132
|
}
|
|
@@ -93,17 +139,31 @@
|
|
|
93
139
|
|
|
94
140
|
.collection-ui-title__description {
|
|
95
141
|
color: var(--collection-ui-muted);
|
|
96
|
-
font-size: 0.
|
|
142
|
+
font-size: 0.75rem;
|
|
97
143
|
line-height: 1.45;
|
|
98
144
|
margin: 0;
|
|
99
145
|
}
|
|
100
146
|
|
|
101
|
-
.collection-ui-title__link,
|
|
102
|
-
.collection-ui-featured-card__link {
|
|
147
|
+
.collection-ui .collection-ui-title__link,
|
|
148
|
+
.collection-ui .collection-ui-featured-card__link {
|
|
103
149
|
color: var(--collection-ui-link);
|
|
104
150
|
flex-shrink: 0;
|
|
105
151
|
font-size: 0.875rem;
|
|
106
|
-
font-weight:
|
|
152
|
+
font-weight: 400;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.collection-ui-title__link {
|
|
156
|
+
display: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.collection-ui-horizontal .collection-ui-title__link {
|
|
160
|
+
display: block;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.collection-ui-horizontal,
|
|
164
|
+
.collection-ui-grid {
|
|
165
|
+
min-width: 0;
|
|
166
|
+
position: relative;
|
|
107
167
|
}
|
|
108
168
|
|
|
109
169
|
.collection-ui-scroll {
|
|
@@ -129,12 +189,12 @@
|
|
|
129
189
|
.collection-ui-carousel__track {
|
|
130
190
|
margin-inline: -16px;
|
|
131
191
|
overflow: hidden;
|
|
132
|
-
padding
|
|
192
|
+
padding: 4px 16px 0;
|
|
133
193
|
}
|
|
134
194
|
|
|
135
195
|
.collection-ui-carousel__slide {
|
|
136
196
|
height: auto;
|
|
137
|
-
padding-top:
|
|
197
|
+
padding-top: 12px;
|
|
138
198
|
width: max-content;
|
|
139
199
|
}
|
|
140
200
|
|
|
@@ -169,33 +229,86 @@
|
|
|
169
229
|
align-items: center;
|
|
170
230
|
background: linear-gradient(135deg, #1f2937, #111827);
|
|
171
231
|
border: 1px solid rgb(255 255 255 / 12%);
|
|
172
|
-
border-radius:
|
|
173
|
-
color:
|
|
232
|
+
border-radius: 2px;
|
|
233
|
+
color: rgb(212 212 212);
|
|
174
234
|
display: flex;
|
|
175
235
|
flex-direction: column;
|
|
176
|
-
|
|
236
|
+
font-size: 0.875rem;
|
|
237
|
+
font-weight: 500;
|
|
177
238
|
height: 266px;
|
|
178
239
|
justify-content: center;
|
|
240
|
+
overflow: hidden;
|
|
179
241
|
padding: 24px;
|
|
242
|
+
position: relative;
|
|
243
|
+
transition: border-color 300ms ease, color 300ms ease;
|
|
180
244
|
width: 180px;
|
|
181
245
|
}
|
|
182
246
|
|
|
247
|
+
.collection-ui-view-all:hover {
|
|
248
|
+
border-color: rgb(255 255 255 / 20%);
|
|
249
|
+
color: white;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.collection-ui-view-all::before {
|
|
253
|
+
background: linear-gradient(135deg, rgb(14 165 233 / 10%), rgb(168 85 247 / 10%));
|
|
254
|
+
content: "";
|
|
255
|
+
filter: blur(16px);
|
|
256
|
+
inset: 0;
|
|
257
|
+
opacity: 0;
|
|
258
|
+
position: absolute;
|
|
259
|
+
transition: opacity 500ms ease;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.collection-ui-view-all:hover::before {
|
|
263
|
+
opacity: 1;
|
|
264
|
+
}
|
|
265
|
+
|
|
183
266
|
.collection-ui-view-all__icon {
|
|
184
267
|
align-items: center;
|
|
185
|
-
background: rgb(
|
|
268
|
+
background: rgb(38 38 38);
|
|
186
269
|
border-radius: 999px;
|
|
270
|
+
color: rgb(56 189 248);
|
|
187
271
|
display: inline-flex;
|
|
188
272
|
font-size: 1.5rem;
|
|
189
273
|
height: 56px;
|
|
190
274
|
justify-content: center;
|
|
275
|
+
margin-bottom: 16px;
|
|
276
|
+
position: relative;
|
|
277
|
+
transition: background-color 300ms ease, transform 200ms ease;
|
|
191
278
|
width: 56px;
|
|
192
279
|
}
|
|
193
280
|
|
|
281
|
+
.collection-ui-view-all:hover .collection-ui-view-all__icon {
|
|
282
|
+
background: rgb(14 165 233 / 20%);
|
|
283
|
+
transform: translateX(4px);
|
|
284
|
+
}
|
|
285
|
+
|
|
194
286
|
.collection-ui-vertical__grid {
|
|
195
287
|
display: grid;
|
|
196
288
|
gap: 16px;
|
|
197
289
|
}
|
|
198
290
|
|
|
291
|
+
.collection-ui-grid__items {
|
|
292
|
+
display: grid;
|
|
293
|
+
gap: 32px 16px;
|
|
294
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
295
|
+
padding-top: 16px;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.collection-ui-grid__item {
|
|
299
|
+
min-width: 0;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.collection-ui-grid__item .collection-ui-card,
|
|
303
|
+
.collection-ui-grid__view-all {
|
|
304
|
+
width: 100%;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.collection-ui-grid__item .collection-ui-card__media,
|
|
308
|
+
.collection-ui-grid__view-all {
|
|
309
|
+
min-height: 168px;
|
|
310
|
+
}
|
|
311
|
+
|
|
199
312
|
.collection-ui-item {
|
|
200
313
|
align-items: flex-start;
|
|
201
314
|
display: flex;
|
|
@@ -244,21 +357,21 @@
|
|
|
244
357
|
flex-direction: column;
|
|
245
358
|
height: 100%;
|
|
246
359
|
justify-content: flex-end;
|
|
247
|
-
width:
|
|
360
|
+
width: 112px;
|
|
248
361
|
}
|
|
249
362
|
|
|
250
363
|
.collection-ui-card__media {
|
|
251
364
|
align-items: flex-end;
|
|
252
365
|
display: flex;
|
|
253
366
|
justify-content: center;
|
|
254
|
-
min-height:
|
|
367
|
+
min-height: 144px;
|
|
255
368
|
}
|
|
256
369
|
|
|
257
370
|
.collection-ui-card__body {
|
|
258
371
|
display: flex;
|
|
259
|
-
gap:
|
|
260
|
-
min-height:
|
|
261
|
-
padding-top:
|
|
372
|
+
gap: 8px;
|
|
373
|
+
min-height: 80px;
|
|
374
|
+
padding-top: 6px;
|
|
262
375
|
}
|
|
263
376
|
|
|
264
377
|
.collection-ui-card__rank,
|
|
@@ -272,7 +385,7 @@
|
|
|
272
385
|
.collection-ui-row-item__title {
|
|
273
386
|
color: var(--collection-ui-link);
|
|
274
387
|
display: -webkit-box;
|
|
275
|
-
font-size: 0.
|
|
388
|
+
font-size: 0.75rem;
|
|
276
389
|
font-weight: 500;
|
|
277
390
|
line-height: 1.2;
|
|
278
391
|
margin: 0 0 4px;
|
|
@@ -285,7 +398,7 @@
|
|
|
285
398
|
.collection-ui-row-item__author {
|
|
286
399
|
color: var(--collection-ui-muted);
|
|
287
400
|
display: -webkit-box;
|
|
288
|
-
font-size: 0.
|
|
401
|
+
font-size: 0.6875rem;
|
|
289
402
|
line-height: 1.35;
|
|
290
403
|
margin: 0;
|
|
291
404
|
overflow: hidden;
|
|
@@ -440,7 +553,8 @@
|
|
|
440
553
|
align-items: center;
|
|
441
554
|
display: flex;
|
|
442
555
|
flex-wrap: wrap;
|
|
443
|
-
font-
|
|
556
|
+
font-size: 0.75rem;
|
|
557
|
+
font-weight: 500;
|
|
444
558
|
gap: 4px;
|
|
445
559
|
margin-top: 8px;
|
|
446
560
|
}
|
|
@@ -488,6 +602,7 @@
|
|
|
488
602
|
align-items: flex-start;
|
|
489
603
|
display: flex;
|
|
490
604
|
gap: 24px;
|
|
605
|
+
max-width: 420px;
|
|
491
606
|
}
|
|
492
607
|
|
|
493
608
|
.collection-ui-row-item__media {
|
|
@@ -504,9 +619,9 @@
|
|
|
504
619
|
align-items: center;
|
|
505
620
|
background: var(--collection-ui-special-panel);
|
|
506
621
|
display: grid;
|
|
507
|
-
gap:
|
|
622
|
+
gap: 24px;
|
|
508
623
|
justify-items: center;
|
|
509
|
-
padding:
|
|
624
|
+
padding: 0;
|
|
510
625
|
width: 100%;
|
|
511
626
|
}
|
|
512
627
|
|
|
@@ -533,7 +648,7 @@
|
|
|
533
648
|
|
|
534
649
|
.collection-ui-special-item__content h3 {
|
|
535
650
|
font-size: 1.5rem;
|
|
536
|
-
font-weight:
|
|
651
|
+
font-weight: 500;
|
|
537
652
|
line-height: 1.25;
|
|
538
653
|
margin: 0 0 16px;
|
|
539
654
|
text-align: center;
|
|
@@ -562,6 +677,10 @@
|
|
|
562
677
|
padding-block: 32px;
|
|
563
678
|
}
|
|
564
679
|
|
|
680
|
+
.collection-ui--ecommerce .collection-ui-band {
|
|
681
|
+
color: var(--collection-ui-fg);
|
|
682
|
+
}
|
|
683
|
+
|
|
565
684
|
.collection-ui-special-section {
|
|
566
685
|
background: var(--collection-ui-special-bg);
|
|
567
686
|
padding-block: 40px;
|
|
@@ -579,34 +698,43 @@
|
|
|
579
698
|
.collection-ui-banner {
|
|
580
699
|
align-items: center;
|
|
581
700
|
display: grid;
|
|
582
|
-
gap:
|
|
701
|
+
gap: 0;
|
|
583
702
|
grid-template-columns: 1fr;
|
|
584
703
|
}
|
|
585
704
|
|
|
705
|
+
.collection-ui-banner-carousel {
|
|
706
|
+
min-width: 0;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.collection-ui-banner-carousel__slide {
|
|
710
|
+
height: auto;
|
|
711
|
+
}
|
|
712
|
+
|
|
586
713
|
.collection-ui-banner__copy {
|
|
587
|
-
padding
|
|
714
|
+
padding: 16px;
|
|
588
715
|
}
|
|
589
716
|
|
|
590
717
|
.collection-ui-banner__eyebrow {
|
|
591
718
|
border-bottom: 2px solid currentColor;
|
|
592
719
|
display: inline-block;
|
|
593
|
-
font-size:
|
|
594
|
-
font-weight:
|
|
720
|
+
font-size: 1.125rem;
|
|
721
|
+
font-weight: 500;
|
|
595
722
|
margin-bottom: 24px;
|
|
596
723
|
padding-bottom: 4px;
|
|
597
724
|
}
|
|
598
725
|
|
|
599
726
|
.collection-ui-banner__title {
|
|
600
|
-
font-size: clamp(1.5rem, 2vw, 2.
|
|
601
|
-
font-weight:
|
|
727
|
+
font-size: clamp(1.5rem, 2vw, 2.25rem);
|
|
728
|
+
font-weight: 500;
|
|
602
729
|
line-height: 1.15;
|
|
603
730
|
margin: 0 0 16px;
|
|
604
731
|
}
|
|
605
732
|
|
|
606
733
|
.collection-ui-banner__description {
|
|
607
|
-
font-size:
|
|
608
|
-
line-height: 1.
|
|
734
|
+
font-size: 0.875rem;
|
|
735
|
+
line-height: 1.55;
|
|
609
736
|
margin: 0;
|
|
737
|
+
text-align: justify;
|
|
610
738
|
}
|
|
611
739
|
|
|
612
740
|
.collection-ui-banner__image,
|
|
@@ -618,17 +746,101 @@
|
|
|
618
746
|
width: 100%;
|
|
619
747
|
}
|
|
620
748
|
|
|
621
|
-
.collection-ui-
|
|
749
|
+
.collection-ui-banner__media-link {
|
|
750
|
+
border-radius: 8px;
|
|
751
|
+
display: block;
|
|
752
|
+
overflow: hidden;
|
|
753
|
+
min-width: 0;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.collection-ui-banner__image--zoom {
|
|
757
|
+
transform: scale(1);
|
|
758
|
+
transition: transform 5000ms linear;
|
|
759
|
+
will-change: transform;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
.collection-ui-banner-carousel .swiper-slide-active .collection-ui-banner__image--zoom {
|
|
763
|
+
transform: scale(1.06);
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.collection-ui-banner-source {
|
|
622
767
|
align-items: center;
|
|
623
|
-
background:
|
|
768
|
+
background: #030712;
|
|
769
|
+
border-radius: 8px;
|
|
770
|
+
display: flex;
|
|
771
|
+
justify-content: center;
|
|
772
|
+
min-height: 260px;
|
|
773
|
+
overflow: hidden;
|
|
774
|
+
padding: 32px;
|
|
775
|
+
position: relative;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.collection-ui-banner-source__background {
|
|
779
|
+
height: 100%;
|
|
780
|
+
inset: 0;
|
|
781
|
+
object-fit: cover;
|
|
782
|
+
opacity: 0.6;
|
|
783
|
+
position: absolute;
|
|
784
|
+
width: 100%;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
.collection-ui-banner-source__overlay {
|
|
788
|
+
background: linear-gradient(135deg, rgb(0 0 0 / 40%), rgb(255 255 255 / 10%), rgb(0 0 0 / 55%));
|
|
789
|
+
inset: 0;
|
|
790
|
+
position: absolute;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.collection-ui-banner-source__frame {
|
|
794
|
+
align-items: center;
|
|
795
|
+
background: rgb(255 255 255 / 15%);
|
|
624
796
|
border-radius: 6px;
|
|
797
|
+
box-shadow: 0 24px 80px rgb(0 0 0 / 35%);
|
|
798
|
+
display: flex;
|
|
799
|
+
height: 210px;
|
|
800
|
+
justify-content: center;
|
|
801
|
+
padding: 12px;
|
|
802
|
+
position: relative;
|
|
803
|
+
width: 150px;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
@supports (backdrop-filter: blur(12px)) {
|
|
807
|
+
.collection-ui-banner-source__frame {
|
|
808
|
+
backdrop-filter: blur(12px);
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.collection-ui-banner-source__foreground {
|
|
813
|
+
filter: drop-shadow(0 22px 28px rgb(0 0 0 / 35%));
|
|
814
|
+
height: 100%;
|
|
815
|
+
object-fit: contain;
|
|
816
|
+
width: 100%;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.collection-ui .collection-ui-button {
|
|
820
|
+
align-items: center;
|
|
821
|
+
background: var(--collection-ui-button-bg);
|
|
822
|
+
border-radius: 8px;
|
|
625
823
|
color: var(--collection-ui-button-fg);
|
|
626
824
|
display: inline-flex;
|
|
627
|
-
font-weight:
|
|
825
|
+
font-weight: 500;
|
|
628
826
|
justify-content: center;
|
|
629
|
-
margin-
|
|
630
|
-
|
|
631
|
-
|
|
827
|
+
margin-bottom: 32px;
|
|
828
|
+
margin-top: 16px;
|
|
829
|
+
min-height: 48px;
|
|
830
|
+
min-width: 152px;
|
|
831
|
+
padding: 10px 32px;
|
|
832
|
+
text-align: center;
|
|
833
|
+
transition: background-color 160ms ease, transform 160ms ease;
|
|
834
|
+
white-space: nowrap;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
.collection-ui-button:hover {
|
|
838
|
+
transform: scale(1.04);
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.collection-ui-button::after {
|
|
842
|
+
content: "→";
|
|
843
|
+
margin-left: 0.5rem;
|
|
632
844
|
}
|
|
633
845
|
|
|
634
846
|
.collection-ui-special {
|
|
@@ -647,12 +859,12 @@
|
|
|
647
859
|
}
|
|
648
860
|
|
|
649
861
|
.collection-ui-featured-card__body {
|
|
650
|
-
padding
|
|
862
|
+
padding: 16px 0 0;
|
|
651
863
|
}
|
|
652
864
|
|
|
653
865
|
.collection-ui-featured-card__title {
|
|
654
866
|
font-size: 1.125rem;
|
|
655
|
-
font-weight:
|
|
867
|
+
font-weight: 500;
|
|
656
868
|
line-height: 1.35;
|
|
657
869
|
margin: 0 0 10px;
|
|
658
870
|
}
|
|
@@ -667,14 +879,32 @@
|
|
|
667
879
|
text-align: center;
|
|
668
880
|
}
|
|
669
881
|
|
|
882
|
+
.collection-ui-image-grid .collection-ui-title {
|
|
883
|
+
align-items: center;
|
|
884
|
+
gap: 4px;
|
|
885
|
+
margin-bottom: 40px;
|
|
886
|
+
}
|
|
887
|
+
|
|
670
888
|
.collection-ui-image-grid .collection-ui-title__row {
|
|
671
889
|
justify-content: center;
|
|
672
890
|
}
|
|
673
891
|
|
|
892
|
+
.collection-ui-image-grid .collection-ui-title__heading {
|
|
893
|
+
font-size: 1.5rem;
|
|
894
|
+
font-weight: 400;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.collection-ui-image-grid .collection-ui-title__description {
|
|
898
|
+
color: var(--collection-ui-fg);
|
|
899
|
+
font-size: 1rem;
|
|
900
|
+
font-style: italic;
|
|
901
|
+
font-weight: 300;
|
|
902
|
+
}
|
|
903
|
+
|
|
674
904
|
.collection-ui-image-grid__items {
|
|
675
905
|
align-items: center;
|
|
676
906
|
display: grid;
|
|
677
|
-
gap:
|
|
907
|
+
gap: 28px;
|
|
678
908
|
grid-template-columns: repeat(var(--collection-ui-columns, 2), minmax(0, 1fr));
|
|
679
909
|
justify-content: center;
|
|
680
910
|
margin-top: 32px;
|
|
@@ -693,6 +923,15 @@
|
|
|
693
923
|
object-fit: cover;
|
|
694
924
|
}
|
|
695
925
|
|
|
926
|
+
.collection-ui-image-grid--circle .collection-ui-image-grid__image {
|
|
927
|
+
height: 128px;
|
|
928
|
+
width: 128px;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.collection-ui-image-grid--block .collection-ui-image-grid__image {
|
|
932
|
+
max-height: 96px;
|
|
933
|
+
}
|
|
934
|
+
|
|
696
935
|
.collection-ui-image-grid__image--circle {
|
|
697
936
|
aspect-ratio: 1;
|
|
698
937
|
border-radius: 999px;
|
|
@@ -713,10 +952,18 @@
|
|
|
713
952
|
}
|
|
714
953
|
|
|
715
954
|
@media (min-width: 768px) {
|
|
955
|
+
.collection-ui-title__controls {
|
|
956
|
+
display: flex;
|
|
957
|
+
}
|
|
958
|
+
|
|
716
959
|
.collection-ui-container {
|
|
717
960
|
padding-inline: 24px;
|
|
718
961
|
}
|
|
719
962
|
|
|
963
|
+
.collection-ui-grid__items {
|
|
964
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
965
|
+
}
|
|
966
|
+
|
|
720
967
|
.collection-ui-vertical__grid {
|
|
721
968
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
722
969
|
}
|
|
@@ -726,7 +973,32 @@
|
|
|
726
973
|
}
|
|
727
974
|
|
|
728
975
|
.collection-ui-banner {
|
|
729
|
-
grid-template-columns:
|
|
976
|
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
977
|
+
padding: 16px;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.collection-ui-banner__copy {
|
|
981
|
+
grid-column: span 4 / span 4;
|
|
982
|
+
padding: 0 32px 24px 0;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.collection-ui-banner > a {
|
|
986
|
+
display: block;
|
|
987
|
+
grid-column: span 8 / span 8;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.collection-ui-banner-source {
|
|
991
|
+
min-height: 420px;
|
|
992
|
+
padding: 48px;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.collection-ui-banner-source__frame {
|
|
996
|
+
height: 420px;
|
|
997
|
+
width: 300px;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
.collection-ui-banner__eyebrow {
|
|
1001
|
+
font-size: 0.875rem;
|
|
730
1002
|
}
|
|
731
1003
|
|
|
732
1004
|
.collection-ui-featured {
|
|
@@ -748,7 +1020,7 @@
|
|
|
748
1020
|
}
|
|
749
1021
|
|
|
750
1022
|
.collection-ui-special-item {
|
|
751
|
-
grid-template-columns: minmax(
|
|
1023
|
+
grid-template-columns: minmax(160px, 0.28fr) minmax(0, 0.52fr) minmax(156px, 0.2fr);
|
|
752
1024
|
justify-items: stretch;
|
|
753
1025
|
}
|
|
754
1026
|
|
|
@@ -761,12 +1033,21 @@
|
|
|
761
1033
|
flex-wrap: wrap;
|
|
762
1034
|
}
|
|
763
1035
|
|
|
1036
|
+
.collection-ui-image-grid--circle .collection-ui-image-grid__items {
|
|
1037
|
+
flex-wrap: nowrap;
|
|
1038
|
+
gap: clamp(24px, 4vw, 56px);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
764
1041
|
.collection-ui-image-grid--block .collection-ui-image-grid__items {
|
|
765
1042
|
gap: 16px;
|
|
766
1043
|
}
|
|
767
1044
|
}
|
|
768
1045
|
|
|
769
1046
|
@media (min-width: 1200px) {
|
|
1047
|
+
.collection-ui-grid__items {
|
|
1048
|
+
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
1049
|
+
}
|
|
1050
|
+
|
|
770
1051
|
.collection-ui-vertical__grid {
|
|
771
1052
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
772
1053
|
}
|