@pimolu/web-styles 0.1.0-beta.7 → 0.1.0-beta.9
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.fr.md +125 -125
- package/README.md +6 -6
- package/dist/api-table.css +6 -5
- package/dist/arc-carousel.css +248 -0
- package/dist/carousel.css +5 -1
- package/dist/coverflow-carousel.css +238 -0
- package/dist/layered.css +669 -123
- package/dist/modal.css +186 -0
- package/dist/multi-carousel.css +236 -0
- package/dist/peek-carousel.css +237 -0
- package/dist/pimolu.css +653 -123
- package/dist/pimolu.min.css +1 -1
- package/dist/popover.css +4 -0
- package/dist/stack-carousel.css +237 -0
- package/dist/tabs.css +36 -36
- package/dist/themes.css +129 -0
- package/dist/thumbnail-carousel.css +231 -0
- package/dist/tokens.css +902 -0
- package/package.json +176 -171
package/dist/pimolu.css
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
--pimolu-color-slate-200: #E2E8F0;
|
|
31
31
|
--pimolu-color-slate-400: #94A3B8;
|
|
32
32
|
--pimolu-color-slate-500: #64748B;
|
|
33
|
+
--pimolu-color-slate-550: #607087;
|
|
33
34
|
--pimolu-color-slate-800: #1E293B;
|
|
34
35
|
--pimolu-color-slate-900: #0F172A;
|
|
35
36
|
--pimolu-color-slate-950: #020617;
|
|
@@ -74,17 +75,17 @@
|
|
|
74
75
|
:root,
|
|
75
76
|
[data-pimolu-theme=light] {
|
|
76
77
|
color-scheme: light;
|
|
77
|
-
--pimolu-background: var(--pimolu-color-
|
|
78
|
-
--pimolu-foreground: var(--pimolu-color-
|
|
79
|
-
--pimolu-surface: var(--pimolu-color-
|
|
80
|
-
--pimolu-surface-foreground: var(--pimolu-color-
|
|
81
|
-
--pimolu-muted: var(--pimolu-color-
|
|
82
|
-
--pimolu-muted-foreground: var(--pimolu-color-
|
|
83
|
-
--pimolu-border: var(--pimolu-color-
|
|
84
|
-
--pimolu-primary: var(--pimolu-color-
|
|
85
|
-
--pimolu-primary-hover: var(--pimolu-color-
|
|
78
|
+
--pimolu-background: var(--pimolu-color-white);
|
|
79
|
+
--pimolu-foreground: var(--pimolu-color-slate-950);
|
|
80
|
+
--pimolu-surface: var(--pimolu-color-slate-50);
|
|
81
|
+
--pimolu-surface-foreground: var(--pimolu-color-slate-900);
|
|
82
|
+
--pimolu-muted: var(--pimolu-color-slate-100);
|
|
83
|
+
--pimolu-muted-foreground: var(--pimolu-color-slate-550);
|
|
84
|
+
--pimolu-border: var(--pimolu-color-slate-200);
|
|
85
|
+
--pimolu-primary: var(--pimolu-color-indigo-600);
|
|
86
|
+
--pimolu-primary-hover: var(--pimolu-color-indigo-700);
|
|
86
87
|
--pimolu-primary-foreground: var(--pimolu-color-white);
|
|
87
|
-
--pimolu-focus-ring: var(--pimolu-color-
|
|
88
|
+
--pimolu-focus-ring: var(--pimolu-color-indigo-500);
|
|
88
89
|
--pimolu-success: var(--pimolu-color-green-700);
|
|
89
90
|
--pimolu-success-hover: var(--pimolu-color-green-800);
|
|
90
91
|
--pimolu-success-foreground: var(--pimolu-color-white);
|
|
@@ -94,23 +95,23 @@
|
|
|
94
95
|
--pimolu-danger: var(--pimolu-color-red-600);
|
|
95
96
|
--pimolu-danger-hover: var(--pimolu-color-red-700);
|
|
96
97
|
--pimolu-danger-foreground: var(--pimolu-color-white);
|
|
97
|
-
--pimolu-control-border: var(--pimolu-color-
|
|
98
|
-
--pimolu-primary-soft: var(--pimolu-color-
|
|
99
|
-
--pimolu-primary-soft-foreground: var(--pimolu-color-
|
|
98
|
+
--pimolu-control-border: var(--pimolu-color-slate-500);
|
|
99
|
+
--pimolu-primary-soft: var(--pimolu-color-slate-100);
|
|
100
|
+
--pimolu-primary-soft-foreground: var(--pimolu-color-indigo-600);
|
|
100
101
|
}
|
|
101
102
|
[data-pimolu-theme=dark] {
|
|
102
103
|
color-scheme: dark;
|
|
103
|
-
--pimolu-background: var(--pimolu-color-
|
|
104
|
-
--pimolu-foreground: var(--pimolu-color-
|
|
105
|
-
--pimolu-surface: var(--pimolu-color-
|
|
106
|
-
--pimolu-surface-foreground: var(--pimolu-color-
|
|
107
|
-
--pimolu-muted: var(--pimolu-color-
|
|
108
|
-
--pimolu-muted-foreground: var(--pimolu-color-
|
|
109
|
-
--pimolu-border: var(--pimolu-color-
|
|
110
|
-
--pimolu-primary: var(--pimolu-color-
|
|
111
|
-
--pimolu-primary-hover: var(--pimolu-color-
|
|
112
|
-
--pimolu-primary-foreground: var(--pimolu-color-
|
|
113
|
-
--pimolu-focus-ring: var(--pimolu-color-
|
|
104
|
+
--pimolu-background: var(--pimolu-color-slate-950);
|
|
105
|
+
--pimolu-foreground: var(--pimolu-color-slate-50);
|
|
106
|
+
--pimolu-surface: var(--pimolu-color-slate-900);
|
|
107
|
+
--pimolu-surface-foreground: var(--pimolu-color-slate-50);
|
|
108
|
+
--pimolu-muted: var(--pimolu-color-slate-800);
|
|
109
|
+
--pimolu-muted-foreground: var(--pimolu-color-slate-400);
|
|
110
|
+
--pimolu-border: var(--pimolu-color-slate-800);
|
|
111
|
+
--pimolu-primary: var(--pimolu-color-indigo-400);
|
|
112
|
+
--pimolu-primary-hover: var(--pimolu-color-indigo-500);
|
|
113
|
+
--pimolu-primary-foreground: var(--pimolu-color-slate-950);
|
|
114
|
+
--pimolu-focus-ring: var(--pimolu-color-indigo-400);
|
|
114
115
|
--pimolu-success: var(--pimolu-color-green-500);
|
|
115
116
|
--pimolu-success-hover: var(--pimolu-color-green-600);
|
|
116
117
|
--pimolu-success-foreground: var(--pimolu-color-slate-950);
|
|
@@ -120,9 +121,9 @@
|
|
|
120
121
|
--pimolu-danger: var(--pimolu-color-red-400);
|
|
121
122
|
--pimolu-danger-hover: var(--pimolu-color-red-500);
|
|
122
123
|
--pimolu-danger-foreground: var(--pimolu-color-slate-950);
|
|
123
|
-
--pimolu-control-border: var(--pimolu-color-
|
|
124
|
-
--pimolu-primary-soft: var(--pimolu-color-
|
|
125
|
-
--pimolu-primary-soft-foreground: var(--pimolu-color-
|
|
124
|
+
--pimolu-control-border: var(--pimolu-color-slate-500);
|
|
125
|
+
--pimolu-primary-soft: var(--pimolu-color-slate-800);
|
|
126
|
+
--pimolu-primary-soft-foreground: var(--pimolu-color-indigo-400);
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
/* ../themes/style-base.css */
|
|
@@ -173,17 +174,17 @@
|
|
|
173
174
|
|
|
174
175
|
/* ../themes/dist/default.css */
|
|
175
176
|
[data-pimolu-theme=light][data-pimolu-style=default] {
|
|
176
|
-
--pimolu-background: #
|
|
177
|
-
--pimolu-foreground: #
|
|
178
|
-
--pimolu-surface: #
|
|
179
|
-
--pimolu-surface-foreground: #
|
|
180
|
-
--pimolu-muted: #
|
|
181
|
-
--pimolu-muted-foreground: #
|
|
182
|
-
--pimolu-border: #
|
|
183
|
-
--pimolu-primary: #
|
|
184
|
-
--pimolu-primary-hover: #
|
|
177
|
+
--pimolu-background: #FFFFFF;
|
|
178
|
+
--pimolu-foreground: #020617;
|
|
179
|
+
--pimolu-surface: #F8FAFC;
|
|
180
|
+
--pimolu-surface-foreground: #0F172A;
|
|
181
|
+
--pimolu-muted: #F1F5F9;
|
|
182
|
+
--pimolu-muted-foreground: #607087;
|
|
183
|
+
--pimolu-border: #E2E8F0;
|
|
184
|
+
--pimolu-primary: #4F46E5;
|
|
185
|
+
--pimolu-primary-hover: #4338CA;
|
|
185
186
|
--pimolu-primary-foreground: #FFFFFF;
|
|
186
|
-
--pimolu-focus-ring: #
|
|
187
|
+
--pimolu-focus-ring: #6366F1;
|
|
187
188
|
--pimolu-success: #15803D;
|
|
188
189
|
--pimolu-success-hover: #166534;
|
|
189
190
|
--pimolu-success-foreground: #FFFFFF;
|
|
@@ -193,22 +194,22 @@
|
|
|
193
194
|
--pimolu-danger: #DC2626;
|
|
194
195
|
--pimolu-danger-hover: #B91C1C;
|
|
195
196
|
--pimolu-danger-foreground: #FFFFFF;
|
|
196
|
-
--pimolu-control-border: #
|
|
197
|
-
--pimolu-primary-soft: #
|
|
198
|
-
--pimolu-primary-soft-foreground: #
|
|
197
|
+
--pimolu-control-border: #64748B;
|
|
198
|
+
--pimolu-primary-soft: #F1F5F9;
|
|
199
|
+
--pimolu-primary-soft-foreground: #4F46E5;
|
|
199
200
|
}
|
|
200
201
|
[data-pimolu-theme=dark][data-pimolu-style=default] {
|
|
201
|
-
--pimolu-background: #
|
|
202
|
-
--pimolu-foreground: #
|
|
203
|
-
--pimolu-surface: #
|
|
204
|
-
--pimolu-surface-foreground: #
|
|
205
|
-
--pimolu-muted: #
|
|
206
|
-
--pimolu-muted-foreground: #
|
|
207
|
-
--pimolu-border: #
|
|
208
|
-
--pimolu-primary: #
|
|
209
|
-
--pimolu-primary-hover: #
|
|
210
|
-
--pimolu-primary-foreground: #
|
|
211
|
-
--pimolu-focus-ring: #
|
|
202
|
+
--pimolu-background: #020617;
|
|
203
|
+
--pimolu-foreground: #F8FAFC;
|
|
204
|
+
--pimolu-surface: #0F172A;
|
|
205
|
+
--pimolu-surface-foreground: #F8FAFC;
|
|
206
|
+
--pimolu-muted: #1E293B;
|
|
207
|
+
--pimolu-muted-foreground: #94A3B8;
|
|
208
|
+
--pimolu-border: #1E293B;
|
|
209
|
+
--pimolu-primary: #818CF8;
|
|
210
|
+
--pimolu-primary-hover: #6366F1;
|
|
211
|
+
--pimolu-primary-foreground: #020617;
|
|
212
|
+
--pimolu-focus-ring: #818CF8;
|
|
212
213
|
--pimolu-success: #22C55E;
|
|
213
214
|
--pimolu-success-hover: #16A34A;
|
|
214
215
|
--pimolu-success-foreground: #020617;
|
|
@@ -218,22 +219,22 @@
|
|
|
218
219
|
--pimolu-danger: #F87171;
|
|
219
220
|
--pimolu-danger-hover: #EF4444;
|
|
220
221
|
--pimolu-danger-foreground: #020617;
|
|
221
|
-
--pimolu-control-border: #
|
|
222
|
-
--pimolu-primary-soft: #
|
|
223
|
-
--pimolu-primary-soft-foreground: #
|
|
222
|
+
--pimolu-control-border: #64748B;
|
|
223
|
+
--pimolu-primary-soft: #1E293B;
|
|
224
|
+
--pimolu-primary-soft-foreground: #818CF8;
|
|
224
225
|
}
|
|
225
226
|
[data-pimolu-theme=system][data-pimolu-style=default] {
|
|
226
|
-
--pimolu-background: #
|
|
227
|
-
--pimolu-foreground: #
|
|
228
|
-
--pimolu-surface: #
|
|
229
|
-
--pimolu-surface-foreground: #
|
|
230
|
-
--pimolu-muted: #
|
|
231
|
-
--pimolu-muted-foreground: #
|
|
232
|
-
--pimolu-border: #
|
|
233
|
-
--pimolu-primary: #
|
|
234
|
-
--pimolu-primary-hover: #
|
|
227
|
+
--pimolu-background: #FFFFFF;
|
|
228
|
+
--pimolu-foreground: #020617;
|
|
229
|
+
--pimolu-surface: #F8FAFC;
|
|
230
|
+
--pimolu-surface-foreground: #0F172A;
|
|
231
|
+
--pimolu-muted: #F1F5F9;
|
|
232
|
+
--pimolu-muted-foreground: #607087;
|
|
233
|
+
--pimolu-border: #E2E8F0;
|
|
234
|
+
--pimolu-primary: #4F46E5;
|
|
235
|
+
--pimolu-primary-hover: #4338CA;
|
|
235
236
|
--pimolu-primary-foreground: #FFFFFF;
|
|
236
|
-
--pimolu-focus-ring: #
|
|
237
|
+
--pimolu-focus-ring: #6366F1;
|
|
237
238
|
--pimolu-success: #15803D;
|
|
238
239
|
--pimolu-success-hover: #166534;
|
|
239
240
|
--pimolu-success-foreground: #FFFFFF;
|
|
@@ -243,23 +244,23 @@
|
|
|
243
244
|
--pimolu-danger: #DC2626;
|
|
244
245
|
--pimolu-danger-hover: #B91C1C;
|
|
245
246
|
--pimolu-danger-foreground: #FFFFFF;
|
|
246
|
-
--pimolu-control-border: #
|
|
247
|
-
--pimolu-primary-soft: #
|
|
248
|
-
--pimolu-primary-soft-foreground: #
|
|
247
|
+
--pimolu-control-border: #64748B;
|
|
248
|
+
--pimolu-primary-soft: #F1F5F9;
|
|
249
|
+
--pimolu-primary-soft-foreground: #4F46E5;
|
|
249
250
|
}
|
|
250
251
|
@media (prefers-color-scheme: dark) {
|
|
251
252
|
[data-pimolu-theme=system][data-pimolu-style=default] {
|
|
252
|
-
--pimolu-background: #
|
|
253
|
-
--pimolu-foreground: #
|
|
254
|
-
--pimolu-surface: #
|
|
255
|
-
--pimolu-surface-foreground: #
|
|
256
|
-
--pimolu-muted: #
|
|
257
|
-
--pimolu-muted-foreground: #
|
|
258
|
-
--pimolu-border: #
|
|
259
|
-
--pimolu-primary: #
|
|
260
|
-
--pimolu-primary-hover: #
|
|
261
|
-
--pimolu-primary-foreground: #
|
|
262
|
-
--pimolu-focus-ring: #
|
|
253
|
+
--pimolu-background: #020617;
|
|
254
|
+
--pimolu-foreground: #F8FAFC;
|
|
255
|
+
--pimolu-surface: #0F172A;
|
|
256
|
+
--pimolu-surface-foreground: #F8FAFC;
|
|
257
|
+
--pimolu-muted: #1E293B;
|
|
258
|
+
--pimolu-muted-foreground: #94A3B8;
|
|
259
|
+
--pimolu-border: #1E293B;
|
|
260
|
+
--pimolu-primary: #818CF8;
|
|
261
|
+
--pimolu-primary-hover: #6366F1;
|
|
262
|
+
--pimolu-primary-foreground: #020617;
|
|
263
|
+
--pimolu-focus-ring: #818CF8;
|
|
263
264
|
--pimolu-success: #22C55E;
|
|
264
265
|
--pimolu-success-hover: #16A34A;
|
|
265
266
|
--pimolu-success-foreground: #020617;
|
|
@@ -269,9 +270,9 @@
|
|
|
269
270
|
--pimolu-danger: #F87171;
|
|
270
271
|
--pimolu-danger-hover: #EF4444;
|
|
271
272
|
--pimolu-danger-foreground: #020617;
|
|
272
|
-
--pimolu-control-border: #
|
|
273
|
-
--pimolu-primary-soft: #
|
|
274
|
-
--pimolu-primary-soft-foreground: #
|
|
273
|
+
--pimolu-control-border: #64748B;
|
|
274
|
+
--pimolu-primary-soft: #1E293B;
|
|
275
|
+
--pimolu-primary-soft-foreground: #818CF8;
|
|
275
276
|
}
|
|
276
277
|
}
|
|
277
278
|
|
|
@@ -4367,6 +4368,10 @@
|
|
|
4367
4368
|
.pimolu-popover--match-width {
|
|
4368
4369
|
min-width: 0;
|
|
4369
4370
|
}
|
|
4371
|
+
.pimolu-popover[data-side=left],
|
|
4372
|
+
.pimolu-popover[data-side=right] {
|
|
4373
|
+
min-width: 0;
|
|
4374
|
+
}
|
|
4370
4375
|
.pimolu-popover[data-side=top] {
|
|
4371
4376
|
--pimolu-popover-shift-x: 0px;
|
|
4372
4377
|
--pimolu-popover-shift-y: 6px;
|
|
@@ -4608,6 +4613,193 @@
|
|
|
4608
4613
|
}
|
|
4609
4614
|
}
|
|
4610
4615
|
|
|
4616
|
+
/* src/modal.css */
|
|
4617
|
+
.pimolu-modal {
|
|
4618
|
+
position: fixed;
|
|
4619
|
+
inset: 0;
|
|
4620
|
+
z-index: 50;
|
|
4621
|
+
display: grid;
|
|
4622
|
+
place-items: center;
|
|
4623
|
+
box-sizing: border-box;
|
|
4624
|
+
padding: var( --pimolu-spacing-6, 24px );
|
|
4625
|
+
overflow: hidden;
|
|
4626
|
+
}
|
|
4627
|
+
.pimolu-modal__overlay {
|
|
4628
|
+
position: absolute;
|
|
4629
|
+
inset: 0;
|
|
4630
|
+
background: rgba(15, 23, 42, 0.55);
|
|
4631
|
+
}
|
|
4632
|
+
.pimolu-modal__content {
|
|
4633
|
+
--pimolu-modal-width: 32rem;
|
|
4634
|
+
position: relative;
|
|
4635
|
+
z-index: 1;
|
|
4636
|
+
box-sizing: border-box;
|
|
4637
|
+
width: min(100%, var(--pimolu-modal-width));
|
|
4638
|
+
max-height: calc(100vh - 48px);
|
|
4639
|
+
max-height: calc(100dvh - 48px);
|
|
4640
|
+
padding: var(--pimolu-spacing-6, 24px);
|
|
4641
|
+
overflow-y: auto;
|
|
4642
|
+
overscroll-behavior: contain;
|
|
4643
|
+
background: var( --pimolu-surface, var(--pimolu-background) );
|
|
4644
|
+
color: var( --pimolu-surface-foreground, var(--pimolu-foreground) );
|
|
4645
|
+
border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border);
|
|
4646
|
+
border-radius: var(--pimolu-radius-lg, 12px);
|
|
4647
|
+
box-shadow: var(--pimolu-shadow-raised, none);
|
|
4648
|
+
-webkit-backdrop-filter: blur(var(--pimolu-glass-blur, 18px));
|
|
4649
|
+
backdrop-filter: blur(var(--pimolu-glass-blur, 18px));
|
|
4650
|
+
font-family: var(--pimolu-font-body, inherit);
|
|
4651
|
+
font-size: 0.875rem;
|
|
4652
|
+
line-height: 1.5;
|
|
4653
|
+
outline: none;
|
|
4654
|
+
}
|
|
4655
|
+
.pimolu-modal__content--sm {
|
|
4656
|
+
--pimolu-modal-width: 24rem;
|
|
4657
|
+
}
|
|
4658
|
+
.pimolu-modal__content--md {
|
|
4659
|
+
--pimolu-modal-width: 32rem;
|
|
4660
|
+
}
|
|
4661
|
+
.pimolu-modal__content--lg {
|
|
4662
|
+
--pimolu-modal-width: 48rem;
|
|
4663
|
+
}
|
|
4664
|
+
.pimolu-modal__content--xl {
|
|
4665
|
+
--pimolu-modal-width: 64rem;
|
|
4666
|
+
}
|
|
4667
|
+
.pimolu-modal__header {
|
|
4668
|
+
display: grid;
|
|
4669
|
+
gap: 6px;
|
|
4670
|
+
min-width: 0;
|
|
4671
|
+
margin-block-end: var( --pimolu-spacing-4, 16px );
|
|
4672
|
+
}
|
|
4673
|
+
.pimolu-modal__content[data-close-button=true] .pimolu-modal__header {
|
|
4674
|
+
padding-inline-end: var( --pimolu-spacing-8, 32px );
|
|
4675
|
+
}
|
|
4676
|
+
.pimolu-modal__title {
|
|
4677
|
+
margin: 0;
|
|
4678
|
+
color: inherit;
|
|
4679
|
+
font-family: var( --pimolu-font-heading, inherit );
|
|
4680
|
+
font-size: 1.25rem;
|
|
4681
|
+
font-weight: 600;
|
|
4682
|
+
line-height: 1.3;
|
|
4683
|
+
overflow-wrap: anywhere;
|
|
4684
|
+
}
|
|
4685
|
+
.pimolu-modal__description {
|
|
4686
|
+
margin: 0;
|
|
4687
|
+
color: var(--pimolu-muted-foreground);
|
|
4688
|
+
font-size: 0.875rem;
|
|
4689
|
+
line-height: 1.5;
|
|
4690
|
+
overflow-wrap: anywhere;
|
|
4691
|
+
}
|
|
4692
|
+
.pimolu-modal__footer {
|
|
4693
|
+
display: flex;
|
|
4694
|
+
align-items: center;
|
|
4695
|
+
justify-content: flex-end;
|
|
4696
|
+
flex-wrap: wrap;
|
|
4697
|
+
gap: var(--pimolu-spacing-3, 12px);
|
|
4698
|
+
margin-block-start: var( --pimolu-spacing-6, 24px );
|
|
4699
|
+
}
|
|
4700
|
+
.pimolu-modal__close {
|
|
4701
|
+
position: absolute;
|
|
4702
|
+
inset-block-start: 12px;
|
|
4703
|
+
inset-inline-end: 12px;
|
|
4704
|
+
display: inline-grid;
|
|
4705
|
+
place-items: center;
|
|
4706
|
+
box-sizing: border-box;
|
|
4707
|
+
width: 32px;
|
|
4708
|
+
height: 32px;
|
|
4709
|
+
padding: 0;
|
|
4710
|
+
border: 0;
|
|
4711
|
+
border-radius: var(--pimolu-radius-sm, 4px);
|
|
4712
|
+
background: transparent;
|
|
4713
|
+
color: var(--pimolu-muted-foreground);
|
|
4714
|
+
line-height: 0;
|
|
4715
|
+
cursor: pointer;
|
|
4716
|
+
}
|
|
4717
|
+
.pimolu-modal__close:hover {
|
|
4718
|
+
background: var(--pimolu-muted);
|
|
4719
|
+
color: var(--pimolu-foreground);
|
|
4720
|
+
}
|
|
4721
|
+
.pimolu-modal__close:focus-visible {
|
|
4722
|
+
outline: 2px solid var(--pimolu-focus-ring, currentColor);
|
|
4723
|
+
outline-offset: 2px;
|
|
4724
|
+
}
|
|
4725
|
+
.pimolu-modal[data-state=open] .pimolu-modal__overlay {
|
|
4726
|
+
animation: pimolu-modal-overlay-in 150ms ease-out;
|
|
4727
|
+
}
|
|
4728
|
+
.pimolu-modal[data-state=closing] .pimolu-modal__overlay {
|
|
4729
|
+
animation: pimolu-modal-overlay-out 150ms ease-in forwards;
|
|
4730
|
+
}
|
|
4731
|
+
.pimolu-modal[data-state=open] .pimolu-modal__content {
|
|
4732
|
+
animation: pimolu-modal-content-in 180ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
4733
|
+
}
|
|
4734
|
+
.pimolu-modal[data-state=closing] .pimolu-modal__content {
|
|
4735
|
+
animation: pimolu-modal-content-out 150ms ease-in forwards;
|
|
4736
|
+
}
|
|
4737
|
+
@keyframes pimolu-modal-overlay-in {
|
|
4738
|
+
from {
|
|
4739
|
+
opacity: 0;
|
|
4740
|
+
}
|
|
4741
|
+
to {
|
|
4742
|
+
opacity: 1;
|
|
4743
|
+
}
|
|
4744
|
+
}
|
|
4745
|
+
@keyframes pimolu-modal-overlay-out {
|
|
4746
|
+
from {
|
|
4747
|
+
opacity: 1;
|
|
4748
|
+
}
|
|
4749
|
+
to {
|
|
4750
|
+
opacity: 0;
|
|
4751
|
+
}
|
|
4752
|
+
}
|
|
4753
|
+
@keyframes pimolu-modal-content-in {
|
|
4754
|
+
from {
|
|
4755
|
+
opacity: 0;
|
|
4756
|
+
transform: translateY(8px) scale(0.97);
|
|
4757
|
+
}
|
|
4758
|
+
to {
|
|
4759
|
+
opacity: 1;
|
|
4760
|
+
transform: translateY(0) scale(1);
|
|
4761
|
+
}
|
|
4762
|
+
}
|
|
4763
|
+
@keyframes pimolu-modal-content-out {
|
|
4764
|
+
from {
|
|
4765
|
+
opacity: 1;
|
|
4766
|
+
transform: scale(1);
|
|
4767
|
+
}
|
|
4768
|
+
to {
|
|
4769
|
+
opacity: 0;
|
|
4770
|
+
transform: scale(0.97);
|
|
4771
|
+
}
|
|
4772
|
+
}
|
|
4773
|
+
@media (max-width: 600px) {
|
|
4774
|
+
.pimolu-modal {
|
|
4775
|
+
padding: var(--pimolu-spacing-4, 16px);
|
|
4776
|
+
}
|
|
4777
|
+
.pimolu-modal__content {
|
|
4778
|
+
max-height: calc(100vh - 32px);
|
|
4779
|
+
max-height: calc(100dvh - 32px);
|
|
4780
|
+
padding: var(--pimolu-spacing-4, 16px);
|
|
4781
|
+
}
|
|
4782
|
+
}
|
|
4783
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4784
|
+
.pimolu-modal[data-state=open] .pimolu-modal__overlay,
|
|
4785
|
+
.pimolu-modal[data-state=closing] .pimolu-modal__overlay,
|
|
4786
|
+
.pimolu-modal[data-state=open] .pimolu-modal__content,
|
|
4787
|
+
.pimolu-modal[data-state=closing] .pimolu-modal__content {
|
|
4788
|
+
animation: none;
|
|
4789
|
+
}
|
|
4790
|
+
}
|
|
4791
|
+
@media (forced-colors: active) {
|
|
4792
|
+
.pimolu-modal__content {
|
|
4793
|
+
border: 1px solid CanvasText;
|
|
4794
|
+
background: Canvas;
|
|
4795
|
+
color: CanvasText;
|
|
4796
|
+
box-shadow: none;
|
|
4797
|
+
}
|
|
4798
|
+
.pimolu-modal__close:focus-visible {
|
|
4799
|
+
outline-color: Highlight;
|
|
4800
|
+
}
|
|
4801
|
+
}
|
|
4802
|
+
|
|
4611
4803
|
/* src/tabs.css */
|
|
4612
4804
|
:root {
|
|
4613
4805
|
--pimolu-tabs-indicator-duration: 240ms;
|
|
@@ -4636,7 +4828,7 @@
|
|
|
4636
4828
|
min-width: 0;
|
|
4637
4829
|
max-width: 100%;
|
|
4638
4830
|
}
|
|
4639
|
-
.pimolu-tabs--vertical .pimolu-tabs__list-wrap {
|
|
4831
|
+
.pimolu-tabs--vertical > .pimolu-tabs__list-wrap {
|
|
4640
4832
|
grid-column: 1;
|
|
4641
4833
|
grid-row: 1;
|
|
4642
4834
|
}
|
|
@@ -4666,7 +4858,7 @@
|
|
|
4666
4858
|
min-width: 0;
|
|
4667
4859
|
max-width: 100%;
|
|
4668
4860
|
}
|
|
4669
|
-
.pimolu-tabs--vertical .pimolu-tabs__list {
|
|
4861
|
+
.pimolu-tabs--vertical > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4670
4862
|
display: flex;
|
|
4671
4863
|
flex: 1 1 auto;
|
|
4672
4864
|
flex-direction: column;
|
|
@@ -4752,7 +4944,7 @@
|
|
|
4752
4944
|
opacity: 0.5;
|
|
4753
4945
|
cursor: not-allowed;
|
|
4754
4946
|
}
|
|
4755
|
-
.pimolu-tabs--vertical .pimolu-tabs__trigger {
|
|
4947
|
+
.pimolu-tabs--vertical > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger {
|
|
4756
4948
|
justify-content: flex-start;
|
|
4757
4949
|
}
|
|
4758
4950
|
.pimolu-tabs__panel {
|
|
@@ -4777,64 +4969,64 @@
|
|
|
4777
4969
|
outline-offset: 2px;
|
|
4778
4970
|
border-radius: var(--pimolu-radius-md, 8px);
|
|
4779
4971
|
}
|
|
4780
|
-
.pimolu-tabs--vertical .pimolu-tabs__panel {
|
|
4972
|
+
.pimolu-tabs--vertical > .pimolu-tabs__panel {
|
|
4781
4973
|
grid-column: 2;
|
|
4782
4974
|
grid-row: 1;
|
|
4783
4975
|
}
|
|
4784
|
-
.pimolu-tabs--line .pimolu-tabs__list {
|
|
4976
|
+
.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4785
4977
|
gap: 8px;
|
|
4786
4978
|
border-block-end: 1px solid var(--pimolu-border);
|
|
4787
4979
|
}
|
|
4788
|
-
.pimolu-tabs--line .pimolu-tabs__trigger {
|
|
4980
|
+
.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger {
|
|
4789
4981
|
border-radius: 0;
|
|
4790
4982
|
padding-inline: 4px;
|
|
4791
4983
|
}
|
|
4792
|
-
.pimolu-tabs--line .pimolu-tabs__trigger:hover:not([data-state=active]) {
|
|
4984
|
+
.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger:hover:not([data-state=active]) {
|
|
4793
4985
|
background: transparent;
|
|
4794
4986
|
color: var(--pimolu-foreground);
|
|
4795
4987
|
}
|
|
4796
|
-
.pimolu-tabs--line .pimolu-tabs__trigger[data-state=active] {
|
|
4988
|
+
.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger[data-state=active] {
|
|
4797
4989
|
color: var(--pimolu-primary);
|
|
4798
4990
|
box-shadow: inset 0 -2px 0 var(--pimolu-primary);
|
|
4799
4991
|
}
|
|
4800
|
-
.pimolu-tabs--line .pimolu-tabs__trigger[data-state=active]:hover {
|
|
4992
|
+
.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger[data-state=active]:hover {
|
|
4801
4993
|
color: var(--pimolu-primary);
|
|
4802
4994
|
}
|
|
4803
|
-
.pimolu-tabs--vertical.pimolu-tabs--line .pimolu-tabs__list {
|
|
4995
|
+
.pimolu-tabs--vertical.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4804
4996
|
border-block-end: 0;
|
|
4805
4997
|
border-inline-end: 1px solid var(--pimolu-border);
|
|
4806
4998
|
}
|
|
4807
|
-
.pimolu-tabs--vertical.pimolu-tabs--line .pimolu-tabs__trigger {
|
|
4999
|
+
.pimolu-tabs--vertical.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger {
|
|
4808
5000
|
padding-inline: var(--pimolu-spacing-3, 12px);
|
|
4809
5001
|
}
|
|
4810
|
-
.pimolu-tabs--vertical.pimolu-tabs--line .pimolu-tabs__trigger[data-state=active] {
|
|
5002
|
+
.pimolu-tabs--vertical.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger[data-state=active] {
|
|
4811
5003
|
box-shadow: inset -2px 0 0 var(--pimolu-primary);
|
|
4812
5004
|
}
|
|
4813
|
-
.pimolu-tabs--solid .pimolu-tabs__list {
|
|
5005
|
+
.pimolu-tabs--solid > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4814
5006
|
padding: 4px;
|
|
4815
5007
|
border-radius: var(--pimolu-radius-md, 8px);
|
|
4816
5008
|
background: var(--pimolu-muted);
|
|
4817
5009
|
}
|
|
4818
|
-
.pimolu-tabs--solid .pimolu-tabs__trigger:hover:not([data-state=active]) {
|
|
5010
|
+
.pimolu-tabs--solid > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger:hover:not([data-state=active]) {
|
|
4819
5011
|
color: var(--pimolu-foreground);
|
|
4820
5012
|
background: color-mix(in srgb, var(--pimolu-foreground) 8%, transparent);
|
|
4821
5013
|
}
|
|
4822
|
-
.pimolu-tabs--solid .pimolu-tabs__trigger[data-state=active] {
|
|
5014
|
+
.pimolu-tabs--solid > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger[data-state=active] {
|
|
4823
5015
|
color: var(--pimolu-primary-foreground);
|
|
4824
5016
|
background: var(--pimolu-primary);
|
|
4825
5017
|
}
|
|
4826
|
-
.pimolu-tabs--soft .pimolu-tabs__list {
|
|
5018
|
+
.pimolu-tabs--soft > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4827
5019
|
gap: 6px;
|
|
4828
5020
|
}
|
|
4829
|
-
.pimolu-tabs--soft .pimolu-tabs__trigger:hover:not([data-state=active]) {
|
|
5021
|
+
.pimolu-tabs--soft > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger:hover:not([data-state=active]) {
|
|
4830
5022
|
color: var(--pimolu-foreground);
|
|
4831
5023
|
background: var(--pimolu-muted);
|
|
4832
5024
|
}
|
|
4833
|
-
.pimolu-tabs--soft .pimolu-tabs__trigger[data-state=active] {
|
|
5025
|
+
.pimolu-tabs--soft > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger[data-state=active] {
|
|
4834
5026
|
color: var(--pimolu-primary);
|
|
4835
5027
|
background: color-mix(in srgb, var(--pimolu-primary) 12%, transparent);
|
|
4836
5028
|
}
|
|
4837
|
-
.pimolu-tabs--segmented .pimolu-tabs__list {
|
|
5029
|
+
.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4838
5030
|
flex: 1 1 auto;
|
|
4839
5031
|
width: 100%;
|
|
4840
5032
|
gap: 0;
|
|
@@ -4843,7 +5035,7 @@
|
|
|
4843
5035
|
border-radius: 999px;
|
|
4844
5036
|
background: var(--pimolu-muted);
|
|
4845
5037
|
}
|
|
4846
|
-
.pimolu-tabs--segmented .pimolu-tabs__trigger {
|
|
5038
|
+
.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger {
|
|
4847
5039
|
position: relative;
|
|
4848
5040
|
flex: 1 1 0;
|
|
4849
5041
|
min-width: max-content;
|
|
@@ -4852,25 +5044,25 @@
|
|
|
4852
5044
|
color: var(--pimolu-muted-foreground);
|
|
4853
5045
|
background: transparent;
|
|
4854
5046
|
}
|
|
4855
|
-
.pimolu-tabs--segmented .pimolu-tabs__trigger:hover:not([data-state=active]) {
|
|
5047
|
+
.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger:hover:not([data-state=active]) {
|
|
4856
5048
|
color: var(--pimolu-foreground);
|
|
4857
5049
|
background: color-mix(in srgb, var(--pimolu-foreground) 6%, transparent);
|
|
4858
5050
|
}
|
|
4859
|
-
.pimolu-tabs--segmented .pimolu-tabs__trigger[data-state=active] {
|
|
5051
|
+
.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger[data-state=active] {
|
|
4860
5052
|
color: var(--pimolu-foreground);
|
|
4861
5053
|
background: color-mix(in srgb, var(--pimolu-foreground) 10%, var(--pimolu-muted));
|
|
4862
5054
|
box-shadow: var( --pimolu-shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.12) );
|
|
4863
5055
|
}
|
|
4864
|
-
.pimolu-tabs--segmented.pimolu-tabs--vertical .pimolu-tabs__list {
|
|
5056
|
+
.pimolu-tabs--segmented.pimolu-tabs--vertical > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4865
5057
|
width: auto;
|
|
4866
5058
|
min-width: 12rem;
|
|
4867
5059
|
border-radius: var(--pimolu-radius-lg, 12px);
|
|
4868
5060
|
}
|
|
4869
|
-
.pimolu-tabs--segmented.pimolu-tabs--vertical .pimolu-tabs__trigger {
|
|
5061
|
+
.pimolu-tabs--segmented.pimolu-tabs--vertical > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger {
|
|
4870
5062
|
flex: 0 0 auto;
|
|
4871
5063
|
justify-content: flex-start;
|
|
4872
5064
|
}
|
|
4873
|
-
.pimolu-tabs--segmented .pimolu-tabs__list[data-dividers=true] .pimolu-tabs__trigger + .pimolu-tabs__trigger::before {
|
|
5065
|
+
.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list[data-dividers=true] .pimolu-tabs__trigger + .pimolu-tabs__trigger::before {
|
|
4874
5066
|
content: "";
|
|
4875
5067
|
position: absolute;
|
|
4876
5068
|
inset-block: 25%;
|
|
@@ -4878,22 +5070,22 @@
|
|
|
4878
5070
|
width: 1px;
|
|
4879
5071
|
background: var(--pimolu-border);
|
|
4880
5072
|
}
|
|
4881
|
-
.pimolu-tabs--segmented .pimolu-tabs__list[data-dividers=true] .pimolu-tabs__trigger[data-state=active]::before,
|
|
4882
|
-
.pimolu-tabs--segmented .pimolu-tabs__list[data-dividers=true] .pimolu-tabs__trigger[data-state=active] + .pimolu-tabs__trigger::before {
|
|
5073
|
+
.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list[data-dividers=true] .pimolu-tabs__trigger[data-state=active]::before,
|
|
5074
|
+
.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list[data-dividers=true] .pimolu-tabs__trigger[data-state=active] + .pimolu-tabs__trigger::before {
|
|
4883
5075
|
opacity: 0;
|
|
4884
5076
|
}
|
|
4885
|
-
.pimolu-tabs--segmented.pimolu-tabs--vertical .pimolu-tabs__list[data-dividers=true] .pimolu-tabs__trigger + .pimolu-tabs__trigger::before {
|
|
5077
|
+
.pimolu-tabs--segmented.pimolu-tabs--vertical > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list[data-dividers=true] .pimolu-tabs__trigger + .pimolu-tabs__trigger::before {
|
|
4886
5078
|
inset-block-start: 0;
|
|
4887
5079
|
inset-inline: 25%;
|
|
4888
5080
|
width: auto;
|
|
4889
5081
|
height: 1px;
|
|
4890
5082
|
}
|
|
4891
|
-
.pimolu-tabs--segmented .pimolu-tabs__scroll {
|
|
5083
|
+
.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__scroll {
|
|
4892
5084
|
border-color: transparent;
|
|
4893
5085
|
background: var(--pimolu-muted);
|
|
4894
5086
|
color: var(--pimolu-muted-foreground);
|
|
4895
5087
|
}
|
|
4896
|
-
.pimolu-tabs--segmented .pimolu-tabs__scroll:hover {
|
|
5088
|
+
.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__scroll:hover {
|
|
4897
5089
|
background: var(--pimolu-muted);
|
|
4898
5090
|
color: var(--pimolu-foreground);
|
|
4899
5091
|
}
|
|
@@ -4916,24 +5108,24 @@
|
|
|
4916
5108
|
.pimolu-tabs--vertical {
|
|
4917
5109
|
grid-template-columns: minmax(0, 1fr);
|
|
4918
5110
|
}
|
|
4919
|
-
.pimolu-tabs--vertical .pimolu-tabs__list {
|
|
5111
|
+
.pimolu-tabs--vertical > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4920
5112
|
min-width: 0;
|
|
4921
5113
|
border-inline-end: 0;
|
|
4922
5114
|
}
|
|
4923
|
-
.pimolu-tabs--vertical .pimolu-tabs__panel {
|
|
5115
|
+
.pimolu-tabs--vertical > .pimolu-tabs__panel {
|
|
4924
5116
|
grid-column: 1;
|
|
4925
5117
|
grid-row: 2;
|
|
4926
5118
|
}
|
|
4927
|
-
.pimolu-tabs--vertical.pimolu-tabs--segmented .pimolu-tabs__list {
|
|
5119
|
+
.pimolu-tabs--vertical.pimolu-tabs--segmented > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4928
5120
|
width: 100%;
|
|
4929
5121
|
}
|
|
4930
|
-
.pimolu-tabs--vertical.pimolu-tabs--line .pimolu-tabs__list {
|
|
5122
|
+
.pimolu-tabs--vertical.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > .pimolu-tabs__list {
|
|
4931
5123
|
border-inline-start: 1px solid var(--pimolu-border);
|
|
4932
5124
|
}
|
|
4933
|
-
.pimolu-tabs--vertical.pimolu-tabs--line .pimolu-tabs__trigger {
|
|
5125
|
+
.pimolu-tabs--vertical.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger {
|
|
4934
5126
|
padding-inline: var( --pimolu-spacing-3, 12px );
|
|
4935
5127
|
}
|
|
4936
|
-
.pimolu-tabs--vertical.pimolu-tabs--line .pimolu-tabs__trigger[data-state=active] {
|
|
5128
|
+
.pimolu-tabs--vertical.pimolu-tabs--line > :where(.pimolu-tabs__list-wrap) > :where(.pimolu-tabs__list) > .pimolu-tabs__trigger[data-state=active] {
|
|
4937
5129
|
box-shadow: inset 2px 0 0 var(--pimolu-primary);
|
|
4938
5130
|
}
|
|
4939
5131
|
}
|
|
@@ -12493,6 +12685,7 @@ button.pimolu-list__row:focus-visible {
|
|
|
12493
12685
|
box-sizing: border-box;
|
|
12494
12686
|
min-width: 0;
|
|
12495
12687
|
max-width: 100%;
|
|
12688
|
+
--pimolu-carousel-control-reserve: 56px;
|
|
12496
12689
|
color: var(--pimolu-foreground);
|
|
12497
12690
|
font-family: var(--pimolu-font-body, inherit);
|
|
12498
12691
|
}
|
|
@@ -12525,7 +12718,7 @@ button.pimolu-list__row:focus-visible {
|
|
|
12525
12718
|
scroll-snap-stop: always;
|
|
12526
12719
|
}
|
|
12527
12720
|
.pimolu-carousel[data-controls=true] .pimolu-carousel__slide {
|
|
12528
|
-
padding-inline: 56px;
|
|
12721
|
+
padding-inline: var(--pimolu-carousel-control-reserve, 56px);
|
|
12529
12722
|
}
|
|
12530
12723
|
.pimolu-carousel__control {
|
|
12531
12724
|
position: absolute;
|
|
@@ -12664,6 +12857,9 @@ button.pimolu-list__row:focus-visible {
|
|
|
12664
12857
|
height: 0.875rem;
|
|
12665
12858
|
}
|
|
12666
12859
|
@media (max-width: 600px) {
|
|
12860
|
+
.pimolu-carousel {
|
|
12861
|
+
--pimolu-carousel-control-reserve: 44px;
|
|
12862
|
+
}
|
|
12667
12863
|
.pimolu-carousel__control {
|
|
12668
12864
|
width: 2rem;
|
|
12669
12865
|
height: 2rem;
|
|
@@ -12718,6 +12914,339 @@ button.pimolu-list__row:focus-visible {
|
|
|
12718
12914
|
}
|
|
12719
12915
|
}
|
|
12720
12916
|
|
|
12917
|
+
/* src/thumbnail-carousel.css */
|
|
12918
|
+
.pimolu-thumbnail-carousel .pimolu-carousel__viewport {
|
|
12919
|
+
border-radius: calc(var(--pimolu-radius-lg, 14px) + 2px);
|
|
12920
|
+
overflow: hidden;
|
|
12921
|
+
}
|
|
12922
|
+
.pimolu-thumbnail-carousel .pimolu-carousel__slide img {
|
|
12923
|
+
display: block;
|
|
12924
|
+
width: 100%;
|
|
12925
|
+
height: auto;
|
|
12926
|
+
object-fit: cover;
|
|
12927
|
+
}
|
|
12928
|
+
|
|
12929
|
+
/* src/coverflow-carousel.css */
|
|
12930
|
+
.pimolu-coverflow-carousel .pimolu-carousel__viewport {
|
|
12931
|
+
height: clamp(240px, 42vw, 380px);
|
|
12932
|
+
perspective: 1200px;
|
|
12933
|
+
transform-style: preserve-3d;
|
|
12934
|
+
}
|
|
12935
|
+
.pimolu-coverflow-carousel .pimolu-carousel__slide {
|
|
12936
|
+
position: absolute;
|
|
12937
|
+
inset-block: 0;
|
|
12938
|
+
inset-inline-start: 50%;
|
|
12939
|
+
width: min(62%, 520px);
|
|
12940
|
+
margin-inline-start: calc(min(62%, 520px) / -2);
|
|
12941
|
+
transform-origin: center center;
|
|
12942
|
+
backface-visibility: hidden;
|
|
12943
|
+
}
|
|
12944
|
+
.pimolu-coverflow-carousel .pimolu-carousel__slide[data-active=true] {
|
|
12945
|
+
z-index: 10;
|
|
12946
|
+
}
|
|
12947
|
+
|
|
12948
|
+
/* src/peek-carousel.css */
|
|
12949
|
+
.pimolu-peek-carousel .pimolu-carousel__viewport {
|
|
12950
|
+
padding-block: 8px;
|
|
12951
|
+
}
|
|
12952
|
+
.pimolu-peek-carousel .pimolu-carousel__slide {
|
|
12953
|
+
border-radius: calc(var(--pimolu-radius-lg, 14px) + 2px);
|
|
12954
|
+
border: 1px solid var(--pimolu-border);
|
|
12955
|
+
background: var(--pimolu-surface);
|
|
12956
|
+
overflow: hidden;
|
|
12957
|
+
opacity: 0.72;
|
|
12958
|
+
transform: scale(0.95);
|
|
12959
|
+
}
|
|
12960
|
+
.pimolu-peek-carousel .pimolu-carousel__slide[data-active=true] {
|
|
12961
|
+
border-color: var(--pimolu-primary);
|
|
12962
|
+
opacity: 1;
|
|
12963
|
+
transform: scale(1);
|
|
12964
|
+
}
|
|
12965
|
+
|
|
12966
|
+
/* src/stack-carousel.css */
|
|
12967
|
+
.pimolu-stack-carousel .pimolu-carousel__viewport {
|
|
12968
|
+
height: clamp(260px, 44vw, 400px);
|
|
12969
|
+
}
|
|
12970
|
+
.pimolu-stack-carousel .pimolu-carousel__slide {
|
|
12971
|
+
position: absolute;
|
|
12972
|
+
inset-block-start: 0;
|
|
12973
|
+
inset-inline-start: 50%;
|
|
12974
|
+
width: min(70%, 460px);
|
|
12975
|
+
height: 100%;
|
|
12976
|
+
margin-inline-start: calc(min(70%, 460px) / -2);
|
|
12977
|
+
border-radius: calc(var(--pimolu-radius-lg, 14px) + 4px);
|
|
12978
|
+
border: 1px solid var(--pimolu-border);
|
|
12979
|
+
background: var(--pimolu-surface);
|
|
12980
|
+
overflow: hidden;
|
|
12981
|
+
transform-origin: center top;
|
|
12982
|
+
}
|
|
12983
|
+
|
|
12984
|
+
/* src/arc-carousel.css */
|
|
12985
|
+
.pimolu-arc-carousel .pimolu-carousel__viewport {
|
|
12986
|
+
height: clamp(260px, 44vw, 400px);
|
|
12987
|
+
}
|
|
12988
|
+
.pimolu-arc-carousel .pimolu-carousel__slide {
|
|
12989
|
+
position: absolute;
|
|
12990
|
+
inset-block-end: 0;
|
|
12991
|
+
inset-inline-start: 50%;
|
|
12992
|
+
width: min(42%, 340px);
|
|
12993
|
+
height: 82%;
|
|
12994
|
+
margin-inline-start: calc(min(42%, 340px) / -2);
|
|
12995
|
+
border-radius: calc(var(--pimolu-radius-lg, 14px) + 2px);
|
|
12996
|
+
border: 1px solid var(--pimolu-border);
|
|
12997
|
+
background: var(--pimolu-surface);
|
|
12998
|
+
overflow: hidden;
|
|
12999
|
+
transform-origin: center bottom;
|
|
13000
|
+
}
|
|
13001
|
+
@media (max-width: 640px) {
|
|
13002
|
+
.pimolu-arc-carousel .pimolu-carousel__slide {
|
|
13003
|
+
display: none;
|
|
13004
|
+
width: min(60%, 340px);
|
|
13005
|
+
margin-inline-start: calc(min(60%, 340px) / -2);
|
|
13006
|
+
}
|
|
13007
|
+
.pimolu-arc-carousel .pimolu-carousel__slide[data-active=true],
|
|
13008
|
+
.pimolu-arc-carousel .pimolu-carousel__slide[data-distance="1"] {
|
|
13009
|
+
display: block;
|
|
13010
|
+
}
|
|
13011
|
+
}
|
|
13012
|
+
|
|
13013
|
+
/* src/carousel-base.css */
|
|
13014
|
+
.pimolu-carousel-root {
|
|
13015
|
+
position: relative;
|
|
13016
|
+
display: grid;
|
|
13017
|
+
gap: 12px;
|
|
13018
|
+
box-sizing: border-box;
|
|
13019
|
+
min-width: 0;
|
|
13020
|
+
max-width: 100%;
|
|
13021
|
+
color: var(--pimolu-foreground);
|
|
13022
|
+
font-family: var(--pimolu-font-body, inherit);
|
|
13023
|
+
--pimolu-carousel-gap: 16px;
|
|
13024
|
+
--pimolu-carousel-per-view: 1;
|
|
13025
|
+
}
|
|
13026
|
+
.pimolu-carousel-root > .pimolu-carousel__viewport {
|
|
13027
|
+
display: block;
|
|
13028
|
+
overflow: visible;
|
|
13029
|
+
border-radius: 0;
|
|
13030
|
+
scroll-snap-type: none;
|
|
13031
|
+
}
|
|
13032
|
+
.pimolu-carousel-root > .pimolu-carousel__viewport[data-scroll=false] {
|
|
13033
|
+
overflow: hidden;
|
|
13034
|
+
}
|
|
13035
|
+
.pimolu-carousel__viewport {
|
|
13036
|
+
position: relative;
|
|
13037
|
+
box-sizing: border-box;
|
|
13038
|
+
min-width: 0;
|
|
13039
|
+
outline: none;
|
|
13040
|
+
}
|
|
13041
|
+
.pimolu-carousel__viewport:focus-visible {
|
|
13042
|
+
outline: 2px solid var(--pimolu-focus-ring, currentColor);
|
|
13043
|
+
outline-offset: 3px;
|
|
13044
|
+
}
|
|
13045
|
+
.pimolu-carousel__viewport[data-scroll=true] {
|
|
13046
|
+
display: flex;
|
|
13047
|
+
gap: var(--pimolu-carousel-gap, 16px);
|
|
13048
|
+
overflow-x: auto;
|
|
13049
|
+
overflow-y: hidden;
|
|
13050
|
+
overscroll-behavior-x: contain;
|
|
13051
|
+
scroll-behavior: smooth;
|
|
13052
|
+
scroll-snap-type: x mandatory;
|
|
13053
|
+
scrollbar-width: none;
|
|
13054
|
+
}
|
|
13055
|
+
.pimolu-carousel__viewport[data-scroll=true]::-webkit-scrollbar {
|
|
13056
|
+
display: none;
|
|
13057
|
+
}
|
|
13058
|
+
.pimolu-carousel__slide {
|
|
13059
|
+
box-sizing: border-box;
|
|
13060
|
+
min-width: 0;
|
|
13061
|
+
transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), opacity 480ms ease;
|
|
13062
|
+
}
|
|
13063
|
+
.pimolu-carousel__viewport[data-scroll=true] .pimolu-carousel__slide {
|
|
13064
|
+
flex: 1 0 calc((100% - (var(--pimolu-carousel-per-view, 1) - 1) * var(--pimolu-carousel-gap, 16px)) / var(--pimolu-carousel-per-view, 1));
|
|
13065
|
+
scroll-snap-align: start;
|
|
13066
|
+
}
|
|
13067
|
+
.pimolu-carousel__viewport[data-effect=peek] .pimolu-carousel__slide {
|
|
13068
|
+
flex: 0 0 min(440px, 68vw);
|
|
13069
|
+
scroll-snap-align: center;
|
|
13070
|
+
}
|
|
13071
|
+
.pimolu-carousel__control {
|
|
13072
|
+
position: absolute;
|
|
13073
|
+
top: 50%;
|
|
13074
|
+
z-index: 20;
|
|
13075
|
+
display: inline-flex;
|
|
13076
|
+
align-items: center;
|
|
13077
|
+
justify-content: center;
|
|
13078
|
+
box-sizing: border-box;
|
|
13079
|
+
width: 2.5rem;
|
|
13080
|
+
height: 2.5rem;
|
|
13081
|
+
padding: 0;
|
|
13082
|
+
border: 1px solid var(--pimolu-border, currentColor);
|
|
13083
|
+
border-radius: var(--pimolu-radius-full, 999px);
|
|
13084
|
+
background: var(--pimolu-background, Canvas);
|
|
13085
|
+
color: var(--pimolu-foreground);
|
|
13086
|
+
box-shadow: var(--pimolu-shadow-raised, 0 2px 8px rgb(0 0 0 / 18%));
|
|
13087
|
+
cursor: pointer;
|
|
13088
|
+
transform: translateY(-50%);
|
|
13089
|
+
transition: background-color 150ms, opacity 150ms;
|
|
13090
|
+
}
|
|
13091
|
+
.pimolu-carousel__control--previous {
|
|
13092
|
+
inset-inline-start: var(--pimolu-spacing-2, 8px);
|
|
13093
|
+
}
|
|
13094
|
+
.pimolu-carousel__control--next {
|
|
13095
|
+
inset-inline-end: var(--pimolu-spacing-2, 8px);
|
|
13096
|
+
}
|
|
13097
|
+
.pimolu-carousel__control:hover:not(:disabled) {
|
|
13098
|
+
background: var(--pimolu-muted, var(--pimolu-background, Canvas));
|
|
13099
|
+
}
|
|
13100
|
+
.pimolu-carousel__control:disabled {
|
|
13101
|
+
opacity: 0.35;
|
|
13102
|
+
cursor: default;
|
|
13103
|
+
}
|
|
13104
|
+
.pimolu-carousel__control:focus-visible {
|
|
13105
|
+
outline: 2px solid var(--pimolu-focus-ring, currentColor);
|
|
13106
|
+
outline-offset: 2px;
|
|
13107
|
+
}
|
|
13108
|
+
.pimolu-carousel__control svg {
|
|
13109
|
+
display: block;
|
|
13110
|
+
width: 1.25rem;
|
|
13111
|
+
height: 1.25rem;
|
|
13112
|
+
}
|
|
13113
|
+
.pimolu-carousel__dots {
|
|
13114
|
+
display: flex;
|
|
13115
|
+
flex-wrap: wrap;
|
|
13116
|
+
align-items: center;
|
|
13117
|
+
justify-content: center;
|
|
13118
|
+
gap: 2px;
|
|
13119
|
+
min-width: 0;
|
|
13120
|
+
}
|
|
13121
|
+
.pimolu-carousel__dot {
|
|
13122
|
+
display: inline-grid;
|
|
13123
|
+
place-items: center;
|
|
13124
|
+
box-sizing: border-box;
|
|
13125
|
+
width: 1.5rem;
|
|
13126
|
+
height: 1.5rem;
|
|
13127
|
+
padding: 0;
|
|
13128
|
+
border: 0;
|
|
13129
|
+
border-radius: var(--pimolu-radius-full, 999px);
|
|
13130
|
+
background: transparent;
|
|
13131
|
+
cursor: pointer;
|
|
13132
|
+
}
|
|
13133
|
+
.pimolu-carousel__dot::before {
|
|
13134
|
+
content: "";
|
|
13135
|
+
display: block;
|
|
13136
|
+
width: 0.5rem;
|
|
13137
|
+
height: 0.5rem;
|
|
13138
|
+
border-radius: var(--pimolu-radius-full, 999px);
|
|
13139
|
+
background: color-mix(in srgb, var(--pimolu-foreground, currentColor) 28%, transparent);
|
|
13140
|
+
transition: width 150ms, background-color 150ms;
|
|
13141
|
+
}
|
|
13142
|
+
.pimolu-carousel__dot[data-active=true]::before {
|
|
13143
|
+
width: 1.25rem;
|
|
13144
|
+
background: var(--pimolu-primary, var(--pimolu-foreground, currentColor));
|
|
13145
|
+
}
|
|
13146
|
+
.pimolu-carousel__dot:focus-visible {
|
|
13147
|
+
outline: 2px solid var(--pimolu-focus-ring, currentColor);
|
|
13148
|
+
outline-offset: 2px;
|
|
13149
|
+
}
|
|
13150
|
+
.pimolu-carousel__thumbnails {
|
|
13151
|
+
display: flex;
|
|
13152
|
+
gap: 8px;
|
|
13153
|
+
min-width: 0;
|
|
13154
|
+
overflow-x: auto;
|
|
13155
|
+
scrollbar-width: none;
|
|
13156
|
+
}
|
|
13157
|
+
.pimolu-carousel__thumbnails::-webkit-scrollbar {
|
|
13158
|
+
display: none;
|
|
13159
|
+
}
|
|
13160
|
+
.pimolu-carousel__thumbnail {
|
|
13161
|
+
flex: 0 0 auto;
|
|
13162
|
+
box-sizing: border-box;
|
|
13163
|
+
width: 72px;
|
|
13164
|
+
padding: 2px;
|
|
13165
|
+
border: 2px solid transparent;
|
|
13166
|
+
border-radius: calc(var(--pimolu-radius-sm, 6px) + 4px);
|
|
13167
|
+
background: transparent;
|
|
13168
|
+
cursor: pointer;
|
|
13169
|
+
opacity: 0.6;
|
|
13170
|
+
transition: opacity 150ms, border-color 150ms;
|
|
13171
|
+
}
|
|
13172
|
+
.pimolu-carousel__thumbnail img {
|
|
13173
|
+
display: block;
|
|
13174
|
+
width: 100%;
|
|
13175
|
+
height: auto;
|
|
13176
|
+
border-radius: var(--pimolu-radius-sm, 6px);
|
|
13177
|
+
object-fit: cover;
|
|
13178
|
+
}
|
|
13179
|
+
.pimolu-carousel__thumbnail[data-active=true] {
|
|
13180
|
+
border-color: var(--pimolu-primary);
|
|
13181
|
+
opacity: 1;
|
|
13182
|
+
}
|
|
13183
|
+
.pimolu-carousel__thumbnail:hover {
|
|
13184
|
+
opacity: 1;
|
|
13185
|
+
}
|
|
13186
|
+
.pimolu-carousel__thumbnail:focus-visible {
|
|
13187
|
+
outline: 2px solid var(--pimolu-focus-ring, currentColor);
|
|
13188
|
+
outline-offset: 2px;
|
|
13189
|
+
}
|
|
13190
|
+
.pimolu-carousel__live {
|
|
13191
|
+
position: absolute;
|
|
13192
|
+
width: 1px;
|
|
13193
|
+
height: 1px;
|
|
13194
|
+
margin: -1px;
|
|
13195
|
+
padding: 0;
|
|
13196
|
+
overflow: hidden;
|
|
13197
|
+
clip: rect(0 0 0 0);
|
|
13198
|
+
white-space: nowrap;
|
|
13199
|
+
border: 0;
|
|
13200
|
+
}
|
|
13201
|
+
@media (prefers-reduced-motion: reduce) {
|
|
13202
|
+
.pimolu-carousel__viewport[data-scroll=true] {
|
|
13203
|
+
scroll-behavior: auto;
|
|
13204
|
+
}
|
|
13205
|
+
.pimolu-carousel__slide,
|
|
13206
|
+
.pimolu-carousel__control,
|
|
13207
|
+
.pimolu-carousel__dot::before,
|
|
13208
|
+
.pimolu-carousel__thumbnail {
|
|
13209
|
+
transition: none;
|
|
13210
|
+
}
|
|
13211
|
+
}
|
|
13212
|
+
@media (forced-colors: active) {
|
|
13213
|
+
.pimolu-carousel__control {
|
|
13214
|
+
border-color: CanvasText;
|
|
13215
|
+
background: Canvas;
|
|
13216
|
+
color: CanvasText;
|
|
13217
|
+
box-shadow: none;
|
|
13218
|
+
}
|
|
13219
|
+
.pimolu-carousel__dot::before {
|
|
13220
|
+
background: CanvasText;
|
|
13221
|
+
}
|
|
13222
|
+
.pimolu-carousel__dot[data-active=true]::before {
|
|
13223
|
+
background: Highlight;
|
|
13224
|
+
}
|
|
13225
|
+
.pimolu-carousel__thumbnail {
|
|
13226
|
+
border-color: CanvasText;
|
|
13227
|
+
}
|
|
13228
|
+
.pimolu-carousel__thumbnail[data-active=true] {
|
|
13229
|
+
border-color: Highlight;
|
|
13230
|
+
}
|
|
13231
|
+
}
|
|
13232
|
+
|
|
13233
|
+
/* src/multi-carousel.css */
|
|
13234
|
+
.pimolu-multi-carousel .pimolu-carousel__viewport {
|
|
13235
|
+
scroll-snap-type: x mandatory;
|
|
13236
|
+
}
|
|
13237
|
+
.pimolu-multi-carousel .pimolu-carousel__slide {
|
|
13238
|
+
border-radius: calc(var(--pimolu-radius-lg, 14px) + 2px);
|
|
13239
|
+
border: 1px solid var(--pimolu-border);
|
|
13240
|
+
background: var(--pimolu-surface);
|
|
13241
|
+
overflow: hidden;
|
|
13242
|
+
}
|
|
13243
|
+
@media (max-width: 640px) {
|
|
13244
|
+
.pimolu-multi-carousel .pimolu-carousel__viewport[data-scroll=true] .pimolu-carousel__slide {
|
|
13245
|
+
flex-basis: min(280px, 78vw);
|
|
13246
|
+
min-width: min(280px, 78vw);
|
|
13247
|
+
}
|
|
13248
|
+
}
|
|
13249
|
+
|
|
12721
13250
|
/* src/resizable.css */
|
|
12722
13251
|
.pimolu-resizable {
|
|
12723
13252
|
--pimolu-resizable-split: 50%;
|
|
@@ -20974,19 +21503,20 @@ a.pimolu-chat__attachment-name:focus-visible {
|
|
|
20974
21503
|
border-radius: var(--pimolu-radius-sm, 6px);
|
|
20975
21504
|
}
|
|
20976
21505
|
.pimolu-api-table__table.pimolu-table {
|
|
20977
|
-
min-width:
|
|
21506
|
+
min-width: 0;
|
|
21507
|
+
table-layout: fixed;
|
|
20978
21508
|
}
|
|
20979
21509
|
.pimolu-api-table__table :where(th, td):nth-child(1) {
|
|
20980
|
-
width:
|
|
21510
|
+
width: 20%;
|
|
20981
21511
|
}
|
|
20982
21512
|
.pimolu-api-table__table :where(th, td):nth-child(2) {
|
|
20983
|
-
width:
|
|
21513
|
+
width: 36%;
|
|
20984
21514
|
}
|
|
20985
21515
|
.pimolu-api-table__table :where(th, td):nth-child(3) {
|
|
20986
|
-
width:
|
|
21516
|
+
width: 10%;
|
|
20987
21517
|
}
|
|
20988
21518
|
.pimolu-api-table__table :where(th, td):nth-child(4) {
|
|
20989
|
-
width:
|
|
21519
|
+
width: 34%;
|
|
20990
21520
|
}
|
|
20991
21521
|
.pimolu-api-table__name {
|
|
20992
21522
|
display: flex;
|