@kjun-ui/react 0.16.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3406 -1486
- package/dist/index.js +3401 -1479
- package/dist/styles.css +1065 -219
- package/dist/types/packages/react/src/actions.d.cts +12 -3
- package/dist/types/packages/react/src/actions.d.ts +12 -3
- package/dist/types/packages/react/src/app-navigation.d.cts +30 -5
- package/dist/types/packages/react/src/app-navigation.d.ts +30 -5
- package/dist/types/packages/react/src/calendar.d.cts +30 -0
- package/dist/types/packages/react/src/calendar.d.ts +30 -0
- package/dist/types/packages/react/src/carousel.d.cts +39 -0
- package/dist/types/packages/react/src/carousel.d.ts +39 -0
- package/dist/types/packages/react/src/controls.d.cts +19 -12
- package/dist/types/packages/react/src/controls.d.ts +19 -12
- package/dist/types/packages/react/src/date-picker.d.cts +34 -6
- package/dist/types/packages/react/src/date-picker.d.ts +34 -6
- package/dist/types/packages/react/src/display.d.cts +12 -3
- package/dist/types/packages/react/src/display.d.ts +12 -3
- package/dist/types/packages/react/src/dropdown.d.cts +35 -3
- package/dist/types/packages/react/src/dropdown.d.ts +35 -3
- package/dist/types/packages/react/src/financial-display.d.cts +10 -1
- package/dist/types/packages/react/src/financial-display.d.ts +10 -1
- package/dist/types/packages/react/src/financial.d.cts +2 -2
- package/dist/types/packages/react/src/financial.d.ts +2 -2
- package/dist/types/packages/react/src/index.d.cts +8 -6
- package/dist/types/packages/react/src/index.d.ts +8 -6
- package/dist/types/packages/react/src/kpi.d.cts +6 -2
- package/dist/types/packages/react/src/kpi.d.ts +6 -2
- package/dist/types/packages/react/src/layers.d.cts +1 -1
- package/dist/types/packages/react/src/layers.d.ts +1 -1
- package/dist/types/packages/react/src/list.d.cts +29 -4
- package/dist/types/packages/react/src/list.d.ts +29 -4
- package/dist/types/packages/react/src/market-model.d.cts +8 -1
- package/dist/types/packages/react/src/market-model.d.ts +8 -1
- package/dist/types/packages/react/src/media.d.cts +1 -1
- package/dist/types/packages/react/src/media.d.ts +1 -1
- package/dist/types/packages/react/src/navigation.d.cts +24 -38
- package/dist/types/packages/react/src/navigation.d.ts +24 -38
- package/dist/types/packages/react/src/number-display.d.cts +12 -12
- package/dist/types/packages/react/src/number-display.d.ts +12 -12
- package/dist/types/packages/react/src/popover.d.cts +9 -4
- package/dist/types/packages/react/src/popover.d.ts +9 -4
- package/dist/types/packages/react/src/range-input.d.cts +4 -0
- package/dist/types/packages/react/src/range-input.d.ts +4 -0
- package/dist/types/packages/react/src/select-control.d.cts +3 -1
- package/dist/types/packages/react/src/select-control.d.ts +3 -1
- package/dist/types/packages/react/src/select.d.cts +2 -2
- package/dist/types/packages/react/src/select.d.ts +2 -2
- package/dist/types/packages/react/src/table-cards.d.cts +1 -1
- package/dist/types/packages/react/src/table-cards.d.ts +1 -1
- package/dist/types/packages/react/src/table-grid.d.cts +1 -1
- package/dist/types/packages/react/src/table-grid.d.ts +1 -1
- package/dist/types/packages/react/src/table-list.d.cts +14 -0
- package/dist/types/packages/react/src/table-list.d.ts +14 -0
- package/dist/types/packages/react/src/table-model.d.cts +1 -0
- package/dist/types/packages/react/src/table-model.d.ts +1 -0
- package/dist/types/packages/react/src/table-toolbar.d.cts +1 -1
- package/dist/types/packages/react/src/table-toolbar.d.ts +1 -1
- package/dist/types/packages/react/src/tabs.d.cts +38 -0
- package/dist/types/packages/react/src/tabs.d.ts +38 -0
- package/dist/types/packages/react/src/textarea.d.cts +29 -0
- package/dist/types/packages/react/src/textarea.d.ts +29 -0
- package/dist/types/packages/react/src/time-picker.d.cts +10 -1
- package/dist/types/packages/react/src/time-picker.d.ts +10 -1
- package/dist/types/shared/package-runtime/accordion-state.d.cts +11 -0
- package/dist/types/shared/package-runtime/accordion-state.d.ts +11 -0
- package/dist/types/shared/package-runtime/action-size.d.cts +1 -1
- package/dist/types/shared/package-runtime/action-size.d.ts +1 -1
- package/dist/types/shared/package-runtime/alert-action-size.d.cts +2 -0
- package/dist/types/shared/package-runtime/alert-action-size.d.ts +2 -0
- package/dist/types/shared/package-runtime/alert-exit.d.cts +5 -0
- package/dist/types/shared/package-runtime/alert-exit.d.ts +5 -0
- package/dist/types/shared/package-runtime/alert-tone.d.cts +11 -0
- package/dist/types/shared/package-runtime/alert-tone.d.ts +11 -0
- package/dist/types/shared/package-runtime/badge-tone.d.cts +59 -0
- package/dist/types/shared/package-runtime/badge-tone.d.ts +59 -0
- package/dist/types/shared/package-runtime/breadcrumb.d.cts +20 -0
- package/dist/types/shared/package-runtime/breadcrumb.d.ts +20 -0
- package/dist/types/shared/package-runtime/calendar.d.cts +106 -0
- package/dist/types/shared/package-runtime/calendar.d.ts +106 -0
- package/dist/types/shared/package-runtime/carousel-scroll.d.cts +22 -0
- package/dist/types/shared/package-runtime/carousel-scroll.d.ts +22 -0
- package/dist/types/shared/package-runtime/carousel.d.cts +47 -0
- package/dist/types/shared/package-runtime/carousel.d.ts +47 -0
- package/dist/types/shared/package-runtime/center-option.d.cts +1 -0
- package/dist/types/shared/package-runtime/center-option.d.ts +1 -0
- package/dist/types/shared/package-runtime/drawer-geometry.d.cts +10 -4
- package/dist/types/shared/package-runtime/drawer-geometry.d.ts +10 -4
- package/dist/types/shared/package-runtime/list-row.d.cts +14 -0
- package/dist/types/shared/package-runtime/list-row.d.ts +14 -0
- package/dist/types/shared/package-runtime/messages/ko.d.cts +38 -5
- package/dist/types/shared/package-runtime/messages/ko.d.ts +38 -5
- package/dist/types/shared/package-runtime/messages-context.d.cts +38 -5
- package/dist/types/shared/package-runtime/messages-context.d.ts +38 -5
- package/dist/types/shared/package-runtime/navigation-badge.d.cts +12 -0
- package/dist/types/shared/package-runtime/navigation-badge.d.ts +12 -0
- package/dist/types/shared/package-runtime/navigation.d.cts +1 -1
- package/dist/types/shared/package-runtime/navigation.d.ts +1 -1
- package/dist/types/shared/package-runtime/progress-circle.d.cts +5 -0
- package/dist/types/shared/package-runtime/progress-circle.d.ts +5 -0
- package/dist/types/shared/package-runtime/scroll-fade.d.cts +25 -0
- package/dist/types/shared/package-runtime/scroll-fade.d.ts +25 -0
- package/dist/types/shared/package-runtime/sparkline.d.cts +58 -0
- package/dist/types/shared/package-runtime/sparkline.d.ts +58 -0
- package/dist/types/shared/package-runtime/table-groups.d.cts +11 -0
- package/dist/types/shared/package-runtime/table-groups.d.ts +11 -0
- package/dist/types/shared/package-runtime/table-model.d.cts +25 -2
- package/dist/types/shared/package-runtime/table-model.d.ts +25 -2
- package/dist/types/shared/package-runtime/table-presentation.d.cts +30 -4
- package/dist/types/shared/package-runtime/table-presentation.d.ts +30 -4
- package/dist/types/shared/package-runtime/table.d.cts +18 -2
- package/dist/types/shared/package-runtime/table.d.ts +18 -2
- package/dist/types/shared/package-runtime/textarea-grow.d.cts +1 -0
- package/dist/types/shared/package-runtime/textarea-grow.d.ts +1 -0
- package/dist/types/shared/package-runtime/textarea.d.cts +53 -0
- package/dist/types/shared/package-runtime/textarea.d.ts +53 -0
- package/dist/types/shared/package-runtime/time-segments.d.cts +25 -0
- package/dist/types/shared/package-runtime/time-segments.d.ts +25 -0
- package/package.json +3 -3
- package/dist/types/shared/package-runtime/relative-time.d.cts +0 -1
- package/dist/types/shared/package-runtime/relative-time.d.ts +0 -1
package/dist/styles.css
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
--_kjun-color-card-border: var(--kjun-card-border, var(--kjun-border));
|
|
54
54
|
--_kjun-color-card-bg-hover: var(--kjun-card-bg-hover, var(--kjun-hover));
|
|
55
55
|
--_kjun-color-input-border: var(--kjun-input-border, var(--kjun-border));
|
|
56
|
-
--_kjun-color-table-header-bg: var(--kjun-table-header-bg, var(--kjun-
|
|
56
|
+
--_kjun-color-table-header-bg: var(--kjun-table-header-bg, var(--kjun-surface));
|
|
57
57
|
--_kjun-color-table-row-hover: var(--kjun-table-row-hover, var(--kjun-hover));
|
|
58
58
|
--_kjun-color-table-border: var(--kjun-table-border, var(--kjun-border));
|
|
59
59
|
--_kjun-color-skeleton: var(--kjun-skeleton, var(--kjun-active));
|
|
@@ -79,6 +79,8 @@
|
|
|
79
79
|
--_kjun-color-selected-bg: var(--kjun-selected-bg, var(--kjun-active));
|
|
80
80
|
--_kjun-color-on-brand: var(--kjun-on-brand, var(--kjun-inverse));
|
|
81
81
|
--_kjun-color-switch-thumb-on: var(--kjun-switch-thumb-on, var(--kjun-on-brand, var(--kjun-inverse)));
|
|
82
|
+
--_kjun-color-switch-thumb: var(--kjun-switch-thumb, var(--kjun-switch-thumb-on, var(--kjun-on-brand, var(--kjun-inverse))));
|
|
83
|
+
--_kjun-color-switch-track: var(--kjun-switch-track, var(--kjun-border));
|
|
82
84
|
--_kjun-color-filter-selected-bg: var(--kjun-filter-selected-bg, var(--kjun-text));
|
|
83
85
|
--_kjun-color-filter-selected-text: var(--kjun-filter-selected-text, var(--kjun-inverse));
|
|
84
86
|
--_kjun-color-on-danger: var(--kjun-on-danger, var(--kjun-inverse));
|
|
@@ -184,6 +186,8 @@
|
|
|
184
186
|
--_kjun-selected-bg: var(--_kjun-color-selected-bg);
|
|
185
187
|
--_kjun-on-brand: var(--_kjun-color-on-brand);
|
|
186
188
|
--_kjun-switch-thumb-on: var(--_kjun-color-switch-thumb-on);
|
|
189
|
+
--_kjun-switch-thumb: var(--_kjun-color-switch-thumb);
|
|
190
|
+
--_kjun-switch-track: var(--_kjun-color-switch-track);
|
|
187
191
|
--_kjun-filter-selected-bg: var(--_kjun-color-filter-selected-bg);
|
|
188
192
|
--_kjun-filter-selected-text: var(--_kjun-color-filter-selected-text);
|
|
189
193
|
--_kjun-on-danger: var(--_kjun-color-on-danger);
|
|
@@ -235,9 +239,10 @@
|
|
|
235
239
|
--_kjun-card-elevation-raised: 0px 1px 2px 0px var(--_kjun-color-shadow-subtle);
|
|
236
240
|
--_kjun-modal-elevation: 0px 2px 8px 0px var(--_kjun-color-shadow-subtle);
|
|
237
241
|
--_kjun-popover-elevation: 0px 2px 8px 0px var(--_kjun-color-shadow-subtle);
|
|
238
|
-
--_kjun-menu-elevation: 0px 2px
|
|
242
|
+
--_kjun-menu-elevation: 0px 8px 24px 0px var(--_kjun-color-shadow), 0px 2px 4px 0px var(--_kjun-color-shadow-subtle);
|
|
239
243
|
--_kjun-drawer-elevation: 0px 2px 8px 0px var(--_kjun-color-shadow-subtle);
|
|
240
244
|
--_kjun-toast-elevation: none;
|
|
245
|
+
--_kjun-switch-elevation: 0px 1px 3px 0px var(--_kjun-color-shadow);
|
|
241
246
|
--_kjun-tooltip-elevation: none;
|
|
242
247
|
--_kjun-drawer-elevation-left: 2px 0px 8px 0px var(--_kjun-color-shadow-subtle);
|
|
243
248
|
--_kjun-drawer-elevation-right: -2px 0px 8px 0px var(--_kjun-color-shadow-subtle);
|
|
@@ -249,14 +254,17 @@
|
|
|
249
254
|
--_kjun-extension-compound-radius: 12px;
|
|
250
255
|
--_kjun-extension-compound-value-width: 80px;
|
|
251
256
|
--_kjun-extension-time-picker-segment-minimum-width: 44px;
|
|
252
|
-
--_kjun-extension-time-picker-separator-width:
|
|
257
|
+
--_kjun-extension-time-picker-separator-width: 6px;
|
|
253
258
|
--_kjun-extension-time-picker-segment-padding: 4px;
|
|
254
|
-
--_kjun-extension-time-picker-
|
|
259
|
+
--_kjun-extension-time-picker-options-width: 64px;
|
|
255
260
|
--_kjun-extension-popover-width: 240px;
|
|
261
|
+
--_kjun-extension-popover-widths-sm: 192px;
|
|
262
|
+
--_kjun-extension-popover-widths-md: 240px;
|
|
263
|
+
--_kjun-extension-popover-widths-lg: 320px;
|
|
256
264
|
--_kjun-extension-popover-radius: 12px;
|
|
257
265
|
--_kjun-extension-popover-padding: 16px;
|
|
258
266
|
--_kjun-extension-popover-gap: 12px;
|
|
259
|
-
--_kjun-extension-popover-header-padding-bottom:
|
|
267
|
+
--_kjun-extension-popover-header-padding-bottom: 4px;
|
|
260
268
|
--_kjun-extension-state-title-size: 1.25rem;
|
|
261
269
|
--_kjun-extension-state-description-size: 0.75rem;
|
|
262
270
|
--_kjun-extension-state-padding-sm: 24px;
|
|
@@ -273,6 +281,13 @@
|
|
|
273
281
|
--_kjun-extension-list-description-gap: 4px;
|
|
274
282
|
--_kjun-extension-list-actions-gap: 8px;
|
|
275
283
|
--_kjun-extension-list-actions-padding: 16px;
|
|
284
|
+
--_kjun-extension-list-leading-width: 40px;
|
|
285
|
+
--_kjun-extension-list-bare-heading-padding-bottom: 4px;
|
|
286
|
+
--_kjun-extension-list-outside-label-gap: 8px;
|
|
287
|
+
--_kjun-extension-list-footer-gap: 8px;
|
|
288
|
+
--_kjun-extension-list-group-gap: 24px;
|
|
289
|
+
--_kjun-extension-list-flush-group-gap: 8px;
|
|
290
|
+
--_kjun-extension-list-icon-size: 20px;
|
|
276
291
|
--_kjun-extension-navigation-minimum-height: 56px;
|
|
277
292
|
--_kjun-extension-navigation-padding: 16px;
|
|
278
293
|
--_kjun-extension-navigation-gap: 12px;
|
|
@@ -285,20 +300,28 @@
|
|
|
285
300
|
--_kjun-extension-navigation-badge-padding-x: 4px;
|
|
286
301
|
--_kjun-extension-navigation-badge-radius: 9999px;
|
|
287
302
|
--_kjun-extension-navigation-action-gap: 12px;
|
|
288
|
-
--_kjun-extension-accordion-minimum-height:
|
|
303
|
+
--_kjun-extension-accordion-minimum-height: 56px;
|
|
289
304
|
--_kjun-extension-accordion-padding-x: 16px;
|
|
290
|
-
--_kjun-extension-accordion-header-padding-y:
|
|
305
|
+
--_kjun-extension-accordion-header-padding-y: 16px;
|
|
291
306
|
--_kjun-extension-accordion-header-gap: 12px;
|
|
292
307
|
--_kjun-extension-accordion-content-padding-bottom: 20px;
|
|
293
308
|
--_kjun-extension-accordion-radius: 12px;
|
|
294
309
|
--_kjun-extension-accordion-icon-size: 16px;
|
|
310
|
+
--_kjun-extension-accordion-leading-width: 40px;
|
|
311
|
+
--_kjun-extension-accordion-leading-icon-size: 20px;
|
|
312
|
+
--_kjun-extension-accordion-description-gap: 4px;
|
|
313
|
+
--_kjun-extension-accordion-item-gap: 8px;
|
|
295
314
|
--_kjun-extension-tabs-height: 44px;
|
|
296
315
|
--_kjun-extension-tabs-compact-height: 32px;
|
|
297
|
-
--_kjun-extension-tabs-padding-x:
|
|
298
|
-
--_kjun-extension-tabs-compact-padding-x:
|
|
299
|
-
--_kjun-extension-tabs-pills-
|
|
316
|
+
--_kjun-extension-tabs-padding-x: 10px;
|
|
317
|
+
--_kjun-extension-tabs-compact-padding-x: 8px;
|
|
318
|
+
--_kjun-extension-tabs-pills-height: 36px;
|
|
319
|
+
--_kjun-extension-tabs-pills-compact-height: 28px;
|
|
320
|
+
--_kjun-extension-tabs-pills-padding-x: 14px;
|
|
321
|
+
--_kjun-extension-tabs-pills-compact-padding-x: 12px;
|
|
322
|
+
--_kjun-extension-tabs-pills-radius: 9999px;
|
|
300
323
|
--_kjun-extension-tabs-gap: 4px;
|
|
301
|
-
--_kjun-extension-tabs-pills-gap:
|
|
324
|
+
--_kjun-extension-tabs-pills-gap: 8px;
|
|
302
325
|
--_kjun-extension-tabs-pills-padding-y: 2px;
|
|
303
326
|
--_kjun-extension-tabs-item-gap: 8px;
|
|
304
327
|
--_kjun-extension-tabs-content-gap: 16px;
|
|
@@ -314,25 +337,36 @@
|
|
|
314
337
|
--_kjun-extension-top-navigation-icon-size: 24px;
|
|
315
338
|
--_kjun-extension-top-navigation-description-gap: 4px;
|
|
316
339
|
--_kjun-extension-top-navigation-actions-gap: 8px;
|
|
317
|
-
--_kjun-extension-bottom-navigation-indicator-width: 20px;
|
|
318
|
-
--_kjun-extension-bottom-navigation-indicator-height: 3px;
|
|
319
|
-
--_kjun-extension-bottom-navigation-indicator-offset: 4px;
|
|
320
340
|
--_kjun-extension-bottom-navigation-minimum-height: 64px;
|
|
321
341
|
--_kjun-extension-bottom-navigation-icon-size: 24px;
|
|
322
342
|
--_kjun-extension-bottom-navigation-item-gap: 4px;
|
|
323
343
|
--_kjun-extension-bottom-navigation-item-padding-x: 4px;
|
|
324
344
|
--_kjun-extension-bottom-navigation-item-padding-y: 10px;
|
|
325
|
-
--_kjun-extension-bottom-navigation-badge-minimum-size:
|
|
345
|
+
--_kjun-extension-bottom-navigation-badge-minimum-size: 18px;
|
|
326
346
|
--_kjun-extension-bottom-navigation-badge-padding-x: 4px;
|
|
327
347
|
--_kjun-extension-bottom-navigation-badge-offset: 4px;
|
|
328
|
-
--_kjun-extension-bottom-navigation-badge-overlap:
|
|
348
|
+
--_kjun-extension-bottom-navigation-badge-overlap: 10px;
|
|
329
349
|
--_kjun-extension-bottom-navigation-badge-radius: 9999px;
|
|
350
|
+
--_kjun-extension-bottom-navigation-dot-size: 8px;
|
|
351
|
+
--_kjun-extension-bottom-navigation-press-size: 40px;
|
|
352
|
+
--_kjun-extension-bottom-navigation-press-padding-x: 12px;
|
|
353
|
+
--_kjun-extension-floating-navigation-item-size: 52px;
|
|
354
|
+
--_kjun-extension-floating-navigation-icon-size: 24px;
|
|
355
|
+
--_kjun-extension-floating-navigation-padding: 6px;
|
|
356
|
+
--_kjun-extension-floating-navigation-gap: 4px;
|
|
357
|
+
--_kjun-extension-floating-navigation-offset: 16px;
|
|
358
|
+
--_kjun-extension-floating-navigation-radius: 9999px;
|
|
359
|
+
--_kjun-extension-floating-navigation-text-padding-x: 16px;
|
|
360
|
+
--_kjun-extension-avatar-xs: 24px;
|
|
330
361
|
--_kjun-extension-avatar-sm: 32px;
|
|
331
362
|
--_kjun-extension-avatar-md: 40px;
|
|
332
363
|
--_kjun-extension-avatar-lg: 56px;
|
|
364
|
+
--_kjun-extension-avatar-xl: 72px;
|
|
365
|
+
--_kjun-extension-avatar-fallback-icon-sizes-xs: 12px;
|
|
333
366
|
--_kjun-extension-avatar-fallback-icon-sizes-sm: 14px;
|
|
334
367
|
--_kjun-extension-avatar-fallback-icon-sizes-md: 18px;
|
|
335
368
|
--_kjun-extension-avatar-fallback-icon-sizes-lg: 24px;
|
|
369
|
+
--_kjun-extension-avatar-fallback-icon-sizes-xl: 32px;
|
|
336
370
|
--_kjun-extension-avatar-fallback-icon-size: 18px;
|
|
337
371
|
--_kjun-extension-chip-sm: 28px;
|
|
338
372
|
--_kjun-extension-chip-md: 32px;
|
|
@@ -384,10 +418,17 @@
|
|
|
384
418
|
--_kjun-extension-menu-option-radius: 8px;
|
|
385
419
|
--_kjun-extension-menu-padding: 4px;
|
|
386
420
|
--_kjun-extension-menu-option-height: 44px;
|
|
421
|
+
--_kjun-extension-menu-item-height: 40px;
|
|
387
422
|
--_kjun-extension-menu-option-font-size: 0.875rem;
|
|
388
423
|
--_kjun-extension-menu-option-line-height: 1.25rem;
|
|
389
424
|
--_kjun-extension-menu-option-padding-y: 8px;
|
|
390
425
|
--_kjun-extension-menu-option-padding-x: 12px;
|
|
426
|
+
--_kjun-extension-menu-compact-option-height: 32px;
|
|
427
|
+
--_kjun-extension-menu-compact-option-padding-y: 6px;
|
|
428
|
+
--_kjun-extension-menu-compact-option-padding-x: 10px;
|
|
429
|
+
--_kjun-extension-menu-section-padding-top: 8px;
|
|
430
|
+
--_kjun-extension-menu-section-padding-bottom: 4px;
|
|
431
|
+
--_kjun-extension-menu-description-gap: 2px;
|
|
391
432
|
--_kjun-extension-menu-minimum-width: 160px;
|
|
392
433
|
--_kjun-extension-menu-list-max-height: 240px;
|
|
393
434
|
--_kjun-extension-menu-icon-size: 16px;
|
|
@@ -412,16 +453,52 @@
|
|
|
412
453
|
--_kjun-extension-badge-radius: 6px;
|
|
413
454
|
--_kjun-extension-badge-gap: 4px;
|
|
414
455
|
--_kjun-extension-badge-dot-size: 6px;
|
|
415
|
-
--_kjun-extension-badge-
|
|
456
|
+
--_kjun-extension-badge-radii-xs: 4px;
|
|
457
|
+
--_kjun-extension-badge-radii-sm: 6px;
|
|
458
|
+
--_kjun-extension-badge-radii-md: 6px;
|
|
459
|
+
--_kjun-extension-badge-radii-lg: 8px;
|
|
460
|
+
--_kjun-extension-badge-radii-xl: 10px;
|
|
461
|
+
--_kjun-extension-badge-gaps-xs: 4px;
|
|
462
|
+
--_kjun-extension-badge-gaps-sm: 4px;
|
|
463
|
+
--_kjun-extension-badge-gaps-md: 4px;
|
|
464
|
+
--_kjun-extension-badge-gaps-lg: 6px;
|
|
465
|
+
--_kjun-extension-badge-gaps-xl: 6px;
|
|
466
|
+
--_kjun-extension-badge-dot-sizes-xs: 6px;
|
|
467
|
+
--_kjun-extension-badge-dot-sizes-sm: 6px;
|
|
468
|
+
--_kjun-extension-badge-dot-sizes-md: 6px;
|
|
469
|
+
--_kjun-extension-badge-dot-sizes-lg: 8px;
|
|
470
|
+
--_kjun-extension-badge-dot-sizes-xl: 8px;
|
|
471
|
+
--_kjun-extension-badge-typography-xs-font-size-px: 0.75rem;
|
|
472
|
+
--_kjun-extension-badge-typography-xs-line-height-px: 1rem;
|
|
473
|
+
--_kjun-extension-badge-typography-xs-font-weight: 500;
|
|
474
|
+
--_kjun-extension-badge-typography-xs-letter-spacing-em: 0em;
|
|
475
|
+
--_kjun-extension-badge-typography-sm-font-size-px: 0.75rem;
|
|
476
|
+
--_kjun-extension-badge-typography-sm-line-height-px: 1rem;
|
|
477
|
+
--_kjun-extension-badge-typography-sm-font-weight: 500;
|
|
478
|
+
--_kjun-extension-badge-typography-sm-letter-spacing-em: 0em;
|
|
479
|
+
--_kjun-extension-badge-typography-md-font-size-px: 0.875rem;
|
|
480
|
+
--_kjun-extension-badge-typography-md-line-height-px: 1.25rem;
|
|
481
|
+
--_kjun-extension-badge-typography-md-font-weight: 500;
|
|
482
|
+
--_kjun-extension-badge-typography-md-letter-spacing-em: 0em;
|
|
483
|
+
--_kjun-extension-badge-typography-lg-font-size-px: 0.875rem;
|
|
484
|
+
--_kjun-extension-badge-typography-lg-line-height-px: 1.25rem;
|
|
485
|
+
--_kjun-extension-badge-typography-lg-font-weight: 500;
|
|
486
|
+
--_kjun-extension-badge-typography-lg-letter-spacing-em: 0em;
|
|
487
|
+
--_kjun-extension-badge-typography-xl-font-size-px: 1rem;
|
|
488
|
+
--_kjun-extension-badge-typography-xl-line-height-px: 1.5rem;
|
|
489
|
+
--_kjun-extension-badge-typography-xl-font-weight: 400;
|
|
490
|
+
--_kjun-extension-badge-typography-xl-letter-spacing-em: 0em;
|
|
491
|
+
--_kjun-extension-badge-font-weight: 500;
|
|
492
|
+
--_kjun-extension-badge-padding-xs-x: 6px;
|
|
416
493
|
--_kjun-extension-badge-padding-xs-y: 0px;
|
|
417
|
-
--_kjun-extension-badge-padding-sm-x:
|
|
494
|
+
--_kjun-extension-badge-padding-sm-x: 8px;
|
|
418
495
|
--_kjun-extension-badge-padding-sm-y: 2px;
|
|
419
496
|
--_kjun-extension-badge-padding-md-x: 8px;
|
|
420
|
-
--_kjun-extension-badge-padding-md-y:
|
|
497
|
+
--_kjun-extension-badge-padding-md-y: 2px;
|
|
421
498
|
--_kjun-extension-badge-padding-lg-x: 10px;
|
|
422
499
|
--_kjun-extension-badge-padding-lg-y: 4px;
|
|
423
500
|
--_kjun-extension-badge-padding-xl-x: 12px;
|
|
424
|
-
--_kjun-extension-badge-padding-xl-y:
|
|
501
|
+
--_kjun-extension-badge-padding-xl-y: 4px;
|
|
425
502
|
--_kjun-extension-drawer-padding-x: 20px;
|
|
426
503
|
--_kjun-extension-drawer-padding-y: 16px;
|
|
427
504
|
--_kjun-extension-drawer-body-padding: 20px;
|
|
@@ -444,23 +521,25 @@
|
|
|
444
521
|
--_kjun-extension-toast-action-gap: 8px;
|
|
445
522
|
--_kjun-extension-toast-radius: 12px;
|
|
446
523
|
--_kjun-extension-toast-close-radius: 6px;
|
|
447
|
-
--_kjun-extension-alert-radius:
|
|
448
|
-
--_kjun-extension-alert-description-gap:
|
|
524
|
+
--_kjun-extension-alert-radius: 16px;
|
|
525
|
+
--_kjun-extension-alert-description-gap: 2px;
|
|
449
526
|
--_kjun-extension-alert-close-size: 28px;
|
|
450
527
|
--_kjun-extension-alert-close-radius: 8px;
|
|
451
528
|
--_kjun-extension-alert-actions-gap: 8px;
|
|
452
|
-
--_kjun-extension-alert-
|
|
453
|
-
--_kjun-extension-alert-sm-
|
|
454
|
-
--_kjun-extension-alert-sm-
|
|
529
|
+
--_kjun-extension-alert-warning-icon-lift: 0.5px;
|
|
530
|
+
--_kjun-extension-alert-sm-radius: 12px;
|
|
531
|
+
--_kjun-extension-alert-sm-padding-x: 14px;
|
|
532
|
+
--_kjun-extension-alert-sm-padding-y: 12px;
|
|
533
|
+
--_kjun-extension-alert-sm-gap: 10px;
|
|
455
534
|
--_kjun-extension-alert-sm-close-size: 24px;
|
|
456
|
-
--_kjun-extension-alert-sm-action-gap:
|
|
457
|
-
--_kjun-extension-alert-md-padding-x:
|
|
458
|
-
--_kjun-extension-alert-md-padding-y:
|
|
459
|
-
--_kjun-extension-alert-md-gap:
|
|
535
|
+
--_kjun-extension-alert-sm-action-gap: 10px;
|
|
536
|
+
--_kjun-extension-alert-md-padding-x: 16px;
|
|
537
|
+
--_kjun-extension-alert-md-padding-y: 16px;
|
|
538
|
+
--_kjun-extension-alert-md-gap: 12px;
|
|
460
539
|
--_kjun-extension-alert-md-action-gap: 12px;
|
|
461
|
-
--_kjun-extension-alert-icon-sizes-sm:
|
|
462
|
-
--_kjun-extension-alert-icon-sizes-md:
|
|
463
|
-
--_kjun-extension-alert-close-icon-size:
|
|
540
|
+
--_kjun-extension-alert-icon-sizes-sm: 16px;
|
|
541
|
+
--_kjun-extension-alert-icon-sizes-md: 18px;
|
|
542
|
+
--_kjun-extension-alert-close-icon-size: 16px;
|
|
464
543
|
--_kjun-extension-table-card-padding: 12px;
|
|
465
544
|
--_kjun-extension-table-card-radius: 12px;
|
|
466
545
|
--_kjun-extension-table-card-gap: 8px;
|
|
@@ -515,6 +594,11 @@
|
|
|
515
594
|
--_kjun-extension-form-message-gap: 6px;
|
|
516
595
|
--_kjun-extension-form-affix-item-gap: 4px;
|
|
517
596
|
--_kjun-extension-form-message-icon-size: 16px;
|
|
597
|
+
--_kjun-extension-textarea-footer-text-gap: 4px;
|
|
598
|
+
--_kjun-extension-textarea-footer-gap: 8px;
|
|
599
|
+
--_kjun-extension-textarea-footer-padding: 8px;
|
|
600
|
+
--_kjun-extension-textarea-count-padding-x: 6px;
|
|
601
|
+
--_kjun-extension-textarea-submit-radius: 9999px;
|
|
518
602
|
--_kjun-extension-checkbox-sizes-sm: 20px;
|
|
519
603
|
--_kjun-extension-checkbox-sizes-md: 24px;
|
|
520
604
|
--_kjun-extension-checkbox-sizes-lg: 28px;
|
|
@@ -531,9 +615,10 @@
|
|
|
531
615
|
--_kjun-extension-switch-heights-sm: 24px;
|
|
532
616
|
--_kjun-extension-switch-heights-md: 28px;
|
|
533
617
|
--_kjun-extension-switch-heights-lg: 32px;
|
|
534
|
-
--_kjun-extension-switch-padding:
|
|
618
|
+
--_kjun-extension-switch-padding: 2px;
|
|
535
619
|
--_kjun-extension-switch-radius: 9999px;
|
|
536
|
-
--_kjun-extension-switch-label-gap:
|
|
620
|
+
--_kjun-extension-switch-label-gap: 12px;
|
|
621
|
+
--_kjun-extension-switch-spinner-size: 12px;
|
|
537
622
|
--_kjun-extension-tooltip-padding-x: 8px;
|
|
538
623
|
--_kjun-extension-tooltip-padding-y: 4px;
|
|
539
624
|
--_kjun-extension-tooltip-max-widths-sm: 192px;
|
|
@@ -543,6 +628,7 @@
|
|
|
543
628
|
--_kjun-extension-tooltip-arrow-size: 8px;
|
|
544
629
|
--_kjun-extension-financial-affix-gap: 4px;
|
|
545
630
|
--_kjun-extension-financial-badge-gap: 6px;
|
|
631
|
+
--_kjun-extension-financial-status-gap: 6px;
|
|
546
632
|
--_kjun-extension-financial-pill-padding-x: 8px;
|
|
547
633
|
--_kjun-extension-financial-pill-padding-y: 2px;
|
|
548
634
|
--_kjun-extension-financial-pill-radius: 6px;
|
|
@@ -562,6 +648,14 @@
|
|
|
562
648
|
--_kjun-extension-financial-progress-label-width: 32px;
|
|
563
649
|
--_kjun-extension-financial-sparkline-width: 80px;
|
|
564
650
|
--_kjun-extension-financial-sparkline-height: 24px;
|
|
651
|
+
--_kjun-extension-financial-sparkline-stroke-width: 1.5px;
|
|
652
|
+
--_kjun-extension-financial-sparkline-dot-size: 5px;
|
|
653
|
+
--_kjun-extension-financial-sparkline-lone-dot-size: 4px;
|
|
654
|
+
--_kjun-extension-financial-sparkline-baseline-width: 1px;
|
|
655
|
+
--_kjun-extension-financial-sparkline-bar-min-height: 2px;
|
|
656
|
+
--_kjun-extension-financial-sparkline-bar-gap: 2px;
|
|
657
|
+
--_kjun-extension-financial-sparkline-dash: 2px;
|
|
658
|
+
--_kjun-extension-financial-sparkline-dash-gap: 3px;
|
|
565
659
|
--_kjun-extension-financial-price-skeleton-width: 64px;
|
|
566
660
|
--_kjun-extension-financial-price-skeleton-height: 16px;
|
|
567
661
|
--_kjun-extension-financial-signed-skeleton-width: 48px;
|
|
@@ -612,7 +706,7 @@
|
|
|
612
706
|
--_kjun-extension-kpi-row-separator-gap: 6px;
|
|
613
707
|
--_kjun-extension-kpi-row-badge-radius: 6px;
|
|
614
708
|
--_kjun-extension-kpi-row-badge-gap: 4px;
|
|
615
|
-
--_kjun-extension-kpi-row-badge-padding-x:
|
|
709
|
+
--_kjun-extension-kpi-row-badge-padding-x: 6px;
|
|
616
710
|
--_kjun-extension-kpi-row-badge-padding-y: 0px;
|
|
617
711
|
--_kjun-extension-kpi-row-md-padding-x: 8px;
|
|
618
712
|
--_kjun-extension-kpi-row-md-padding-y: 20px;
|
|
@@ -684,13 +778,43 @@
|
|
|
684
778
|
--_kjun-extension-image-fallback-icon-size: 24px;
|
|
685
779
|
--_kjun-extension-breadcrumb-icon-size: 14px;
|
|
686
780
|
--_kjun-extension-breadcrumb-separator-size: 12px;
|
|
781
|
+
--_kjun-extension-breadcrumb-gap: 8px;
|
|
782
|
+
--_kjun-extension-breadcrumb-icon-gap: 4px;
|
|
783
|
+
--_kjun-extension-breadcrumb-label-max-width: 200px;
|
|
687
784
|
--_kjun-extension-floating-max-height: 480px;
|
|
688
785
|
--_kjun-extension-floating-viewport-inset: 8px;
|
|
689
786
|
--_kjun-extension-floating-anchor-gap: 8px;
|
|
690
787
|
--_kjun-extension-floating-field-gap: 4px;
|
|
691
788
|
--_kjun-extension-scrollbar-width: 6px;
|
|
692
789
|
--_kjun-extension-scroll-fade-width: 24px;
|
|
693
|
-
--_kjun-extension-
|
|
790
|
+
--_kjun-extension-carousel-peek: 24px;
|
|
791
|
+
--_kjun-extension-carousel-indicator-size: 6px;
|
|
792
|
+
--_kjun-extension-carousel-indicator-active-width: 16px;
|
|
793
|
+
--_kjun-extension-carousel-indicator-press: 24px;
|
|
794
|
+
--_kjun-extension-carousel-indicator-press-width: 20px;
|
|
795
|
+
--_kjun-extension-carousel-indicator-offset: 12px;
|
|
796
|
+
--_kjun-extension-carousel-control-inset: 8px;
|
|
797
|
+
--_kjun-extension-carousel-focus-radius: 12px;
|
|
798
|
+
--_kjun-extension-carousel-header-gap: 12px;
|
|
799
|
+
--_kjun-extension-carousel-header-controls-gap: 8px;
|
|
800
|
+
--_kjun-extension-carousel-overlay-padding-x: 8px;
|
|
801
|
+
--_kjun-extension-calendar-width: 312px;
|
|
802
|
+
--_kjun-extension-calendar-padding: 12px;
|
|
803
|
+
--_kjun-extension-calendar-header-height: 36px;
|
|
804
|
+
--_kjun-extension-calendar-nav-size: 36px;
|
|
805
|
+
--_kjun-extension-calendar-title-gap: 4px;
|
|
806
|
+
--_kjun-extension-calendar-day-size: 40px;
|
|
807
|
+
--_kjun-extension-calendar-row-gap: 2px;
|
|
808
|
+
--_kjun-extension-calendar-weekday-height: 32px;
|
|
809
|
+
--_kjun-extension-calendar-month-height: 52px;
|
|
810
|
+
--_kjun-extension-calendar-month-gap: 8px;
|
|
811
|
+
--_kjun-extension-calendar-year-height: 32px;
|
|
812
|
+
--_kjun-extension-calendar-year-gap: 6px;
|
|
813
|
+
--_kjun-extension-calendar-footer-gap: 8px;
|
|
814
|
+
--_kjun-extension-calendar-radius: 16px;
|
|
815
|
+
--_kjun-extension-calendar-month-radius: 12px;
|
|
816
|
+
--_kjun-extension-calendar-today-ring: 1.5px;
|
|
817
|
+
--_kjun-extension-calendar-range-bleed: 3px;
|
|
694
818
|
--_kjun-extension-market-list-minimum-height: 72px;
|
|
695
819
|
--_kjun-extension-market-list-mobile-quote-minimum-width: 102px;
|
|
696
820
|
--_kjun-extension-market-list-change-skeleton-width: 56px;
|
|
@@ -706,6 +830,14 @@
|
|
|
706
830
|
--_kjun-state-opacity-deviation-low: 0.08;
|
|
707
831
|
--_kjun-state-opacity-deviation-medium: 0.14;
|
|
708
832
|
--_kjun-state-opacity-deviation-strong: 0.22;
|
|
833
|
+
--_kjun-state-opacity-stripe: 0.03;
|
|
834
|
+
--_kjun-state-opacity-sparkline-fill: 0.18;
|
|
835
|
+
--_kjun-state-opacity-group-fill: 0.04;
|
|
836
|
+
--_kjun-state-opacity-tint-fill: 0.06;
|
|
837
|
+
--_kjun-state-opacity-tint-control: 0.08;
|
|
838
|
+
--_kjun-state-opacity-tint-hover: 0.12;
|
|
839
|
+
--_kjun-state-opacity-tint-active: 0.16;
|
|
840
|
+
--_kjun-state-opacity-muted: 0.55;
|
|
709
841
|
--_kjun-state-focus-width: 2px;
|
|
710
842
|
--_kjun-state-focus-offset: 2px;
|
|
711
843
|
--_kjun-state-focus-choice-offset: 3px;
|
|
@@ -850,16 +982,26 @@
|
|
|
850
982
|
--_kjun-geometry-table-cell-padding-regular-x: 16px;
|
|
851
983
|
--_kjun-geometry-table-cell-padding-regular-y: 10px;
|
|
852
984
|
--_kjun-geometry-table-cell-padding-compact-x: 16px;
|
|
853
|
-
--_kjun-geometry-table-cell-padding-compact-y:
|
|
985
|
+
--_kjun-geometry-table-cell-padding-compact-y: 8px;
|
|
854
986
|
--_kjun-geometry-table-empty-padding-x: 16px;
|
|
855
987
|
--_kjun-geometry-table-empty-padding-y: 32px;
|
|
856
988
|
--_kjun-geometry-table-expanded-padding-x: 16px;
|
|
857
989
|
--_kjun-geometry-table-expanded-padding-y: 12px;
|
|
858
990
|
--_kjun-geometry-table-action-column-width: 48px;
|
|
991
|
+
--_kjun-geometry-table-toolbar-minimum-height: 48px;
|
|
992
|
+
--_kjun-geometry-table-group-padding-x: 8px;
|
|
993
|
+
--_kjun-geometry-table-group-padding-y: 4px;
|
|
994
|
+
--_kjun-geometry-table-group-gap: 6px;
|
|
995
|
+
--_kjun-geometry-table-list-padding-x: 8px;
|
|
996
|
+
--_kjun-geometry-table-list-padding-y: 12px;
|
|
997
|
+
--_kjun-geometry-table-list-gap: 12px;
|
|
998
|
+
--_kjun-geometry-table-list-meta-gap: 2px;
|
|
999
|
+
--_kjun-geometry-table-list-radius: 12px;
|
|
859
1000
|
--_kjun-geometry-table-column-width: 160px;
|
|
860
1001
|
--_kjun-geometry-table-skeleton-height: 20px;
|
|
861
1002
|
--_kjun-geometry-table-selection-size: 16px;
|
|
862
1003
|
--_kjun-geometry-table-sort-icon-size: 12px;
|
|
1004
|
+
--_kjun-geometry-table-sorted-icon-size: 14px;
|
|
863
1005
|
--_kjun-geometry-table-search-width: 200px;
|
|
864
1006
|
--_kjun-geometry-dimension-value2: 2px;
|
|
865
1007
|
--_kjun-geometry-dimension-value4: 4px;
|
|
@@ -1265,15 +1407,16 @@
|
|
|
1265
1407
|
.kjun-scope .kjun-radio-dot { width: var(--_kjun-extension-radio-dot); height: var(--_kjun-extension-radio-dot); border-radius: 50%; background: var(--_kjun-brand); }
|
|
1266
1408
|
.kjun-scope .kjun-radio + .kjun-choice-label { margin-left: var(--_kjun-extension-radio-label-gap); }
|
|
1267
1409
|
.kjun-scope .kjun-choice--disabled :is(.kjun-radio:not(.kjun-radio--checked), .kjun-checkbox:not(.kjun-checkbox--checked)) { border-color: var(--_kjun-border-secondary); }
|
|
1268
|
-
|
|
1269
|
-
.kjun-scope .kjun-choice--disabled .kjun-switch:
|
|
1410
|
+
/* A disabled switch fades as one piece to 40% (inside the row's own 50%), so on and off stay told apart. */
|
|
1411
|
+
.kjun-scope .kjun-choice--disabled .kjun-switch { opacity: calc(var(--_kjun-state-opacity-disabled-strong) / var(--_kjun-state-opacity-disabled)); }
|
|
1270
1412
|
.kjun-scope .kjun-choice input:focus-visible + .kjun-choice-control, .kjun-scope .kjun-switch:focus-visible {
|
|
1271
1413
|
outline: var(--_kjun-state-focus-width) solid var(--_kjun-focus-ring);
|
|
1272
1414
|
outline-offset: var(--_kjun-state-focus-choice-offset);
|
|
1273
1415
|
}
|
|
1274
1416
|
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):hover .kjun-choice-control { border-color: var(--_kjun-brand); }
|
|
1275
1417
|
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):hover .kjun-radio { border-color: var(--_kjun-brand-hover); }
|
|
1276
|
-
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):hover .kjun-switch:not(.kjun-switch--on) {
|
|
1418
|
+
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):not([data-loading]):hover .kjun-switch:not(.kjun-switch--on) { background: var(--_kjun-border-strong); }
|
|
1419
|
+
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):not([data-loading]):hover .kjun-switch--on { background: var(--_kjun-color-brand-hover); }
|
|
1277
1420
|
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):active .kjun-radio,
|
|
1278
1421
|
.kjun-scope .kjun-choice:not(.kjun-choice--disabled) input:active + .kjun-radio { border-color: var(--_kjun-brand-active); }
|
|
1279
1422
|
.kjun-scope .kjun-switch + .kjun-choice-label { margin-left: var(--_kjun-extension-switch-label-gap); }
|
|
@@ -1291,41 +1434,50 @@
|
|
|
1291
1434
|
height: var(--_kjun-switch-height);
|
|
1292
1435
|
padding: var(--_kjun-extension-switch-padding);
|
|
1293
1436
|
border-radius: var(--_kjun-extension-switch-radius);
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out)
|
|
1437
|
+
/* Off is a quiet track with no boundary; the white thumb carries the shape. The switch-track role (default border) lets a
|
|
1438
|
+
palette darken it to the 3:1 a control boundary needs without changing every border. */
|
|
1439
|
+
background: var(--_kjun-color-switch-track);
|
|
1440
|
+
transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
1298
1441
|
}
|
|
1299
1442
|
.kjun-scope .kjun-switch--sm { --_kjun-switch-width: var(--_kjun-extension-switch-widths-sm); --_kjun-switch-height: var(--_kjun-extension-switch-heights-sm); }
|
|
1300
1443
|
.kjun-scope .kjun-switch--lg { --_kjun-switch-width: var(--_kjun-extension-switch-widths-lg); --_kjun-switch-height: var(--_kjun-extension-switch-heights-lg); }
|
|
1301
|
-
.kjun-scope .kjun-switch--on { background: var(--_kjun-brand);
|
|
1302
|
-
/*
|
|
1303
|
-
both states keep the same gap between thumb and edge, and the thumb grows as it turns on. */
|
|
1444
|
+
.kjun-scope .kjun-switch--on { background: var(--_kjun-brand); }
|
|
1445
|
+
/* One thumb in both states: the same size, lifted by a contact shadow, only its position changes. */
|
|
1304
1446
|
.kjun-scope .kjun-switch-thumb {
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1447
|
+
display: flex;
|
|
1448
|
+
align-items: center;
|
|
1449
|
+
justify-content: center;
|
|
1450
|
+
width: calc(var(--_kjun-switch-height) - 2 * var(--_kjun-extension-switch-padding));
|
|
1451
|
+
height: calc(var(--_kjun-switch-height) - 2 * var(--_kjun-extension-switch-padding));
|
|
1310
1452
|
border-radius: 50%;
|
|
1311
|
-
background: var(--_kjun-
|
|
1453
|
+
background: var(--_kjun-color-switch-thumb);
|
|
1454
|
+
/* A lift strong enough to part the white thumb from a pale off track. */
|
|
1455
|
+
box-shadow: var(--_kjun-switch-elevation);
|
|
1312
1456
|
transform: translateX(0);
|
|
1313
|
-
transition: transform var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out)
|
|
1314
|
-
width var(--_kjun-motion-control) var(--_kjun-ease-out), height var(--_kjun-motion-control) var(--_kjun-ease-out), margin var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
1457
|
+
transition: transform var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
1315
1458
|
}
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1459
|
+
/* switch-thumb falls back to switch-thumb-on, so the thumb keeps one colour unless a palette sets them apart. */
|
|
1460
|
+
.kjun-scope .kjun-switch--on .kjun-switch-thumb { background: var(--_kjun-switch-thumb-on); transform: translateX(calc(var(--_kjun-switch-width) - var(--_kjun-switch-height))); }
|
|
1461
|
+
/* Saving: a small ring turns inside the thumb while the switch ignores presses. */
|
|
1462
|
+
.kjun-scope .kjun-switch-spinner {
|
|
1463
|
+
box-sizing: border-box;
|
|
1464
|
+
width: var(--_kjun-extension-switch-spinner-size);
|
|
1465
|
+
height: var(--_kjun-extension-switch-spinner-size);
|
|
1466
|
+
border-radius: 50%;
|
|
1467
|
+
border: var(--_kjun-border-control-width) solid var(--_kjun-border);
|
|
1468
|
+
border-top-color: var(--_kjun-text-secondary);
|
|
1469
|
+
animation: kjun-spin var(--_kjun-motion-spin) linear infinite;
|
|
1321
1470
|
}
|
|
1471
|
+
/* Without motion the ring holds still; the saving state is still announced. */
|
|
1472
|
+
@media (prefers-reduced-motion: reduce) { .kjun-scope .kjun-switch-spinner { animation: none; } }
|
|
1473
|
+
.kjun-scope .kjun-choice[data-loading] { cursor: progress; }
|
|
1322
1474
|
|
|
1323
1475
|
@media (pointer: coarse) {
|
|
1324
1476
|
.kjun-scope .kjun-choice { min-height: var(--_kjun-geometry-native-minimum-touch-target); }
|
|
1325
1477
|
}
|
|
1326
1478
|
|
|
1327
1479
|
@media (prefers-reduced-motion: reduce) {
|
|
1328
|
-
.kjun-scope .kjun-field { transition: none; }
|
|
1480
|
+
.kjun-scope .kjun-field, .kjun-scope .kjun-switch, .kjun-scope .kjun-switch-thumb { transition: none; }
|
|
1329
1481
|
}
|
|
1330
1482
|
|
|
1331
1483
|
/* Generated from definitions/typography.json. */
|
|
@@ -2055,18 +2207,18 @@
|
|
|
2055
2207
|
align-items: center;
|
|
2056
2208
|
gap: var(--_kjun-extension-badge-gap);
|
|
2057
2209
|
border-radius: var(--_kjun-extension-badge-radius);
|
|
2058
|
-
font-weight: var(--_kjun-
|
|
2059
|
-
line-height: 1.5;
|
|
2210
|
+
font-weight: var(--_kjun-extension-badge-font-weight);
|
|
2060
2211
|
white-space: normal;
|
|
2061
2212
|
overflow-wrap: anywhere;
|
|
2062
2213
|
}
|
|
2063
2214
|
/* The dot centres on the first line, so a wrapped label still starts beside it. */
|
|
2215
|
+
/* Each size sets --_kjun-badge-dot (8px at lg and xl), so the dot and its centring use the same size. */
|
|
2064
2216
|
.kjun-badge-dot {
|
|
2065
|
-
width: var(--_kjun-extension-badge-dot-size);
|
|
2066
|
-
height: var(--_kjun-extension-badge-dot-size);
|
|
2217
|
+
width: var(--_kjun-badge-dot, var(--_kjun-extension-badge-dot-size));
|
|
2218
|
+
height: var(--_kjun-badge-dot, var(--_kjun-extension-badge-dot-size));
|
|
2067
2219
|
flex-shrink: 0;
|
|
2068
2220
|
align-self: flex-start;
|
|
2069
|
-
margin-top: calc((1lh - var(--_kjun-extension-badge-dot-size)) / 2);
|
|
2221
|
+
margin-top: calc((1lh - var(--_kjun-badge-dot, var(--_kjun-extension-badge-dot-size))) / 2);
|
|
2070
2222
|
border-radius: 50%;
|
|
2071
2223
|
background: currentColor;
|
|
2072
2224
|
}
|
|
@@ -2124,18 +2276,26 @@
|
|
|
2124
2276
|
display: flex;
|
|
2125
2277
|
align-items: flex-start;
|
|
2126
2278
|
gap: var(--_kjun-extension-alert-md-gap);
|
|
2127
|
-
border: var(--_kjun-border-default-width) solid;
|
|
2128
2279
|
border-radius: var(--_kjun-extension-alert-radius);
|
|
2280
|
+
word-break: keep-all;
|
|
2129
2281
|
padding: var(--_kjun-extension-alert-md-padding-y) var(--_kjun-extension-alert-md-padding-x);
|
|
2130
2282
|
--_kjun-alert-line: var(--_kjun-type-control-line);
|
|
2131
2283
|
--_kjun-alert-close: var(--_kjun-extension-alert-close-size);
|
|
2132
2284
|
--_kjun-alert-action-gap: var(--_kjun-extension-alert-md-action-gap);
|
|
2133
|
-
|
|
2285
|
+
/* Text-role tints stay readable on any fill and page background, light or dark. */
|
|
2286
|
+
--_kjun-alert-tint-fill: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-tint-fill) * 100%), transparent);
|
|
2287
|
+
--_kjun-alert-tint-control: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-tint-control) * 100%), transparent);
|
|
2288
|
+
--_kjun-alert-tint-hover: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-tint-hover) * 100%), transparent);
|
|
2289
|
+
--_kjun-alert-tint-active: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-tint-active) * 100%), transparent);
|
|
2290
|
+
}
|
|
2291
|
+
/* Info has no fill role: a translucent tint keeps its edge on white and gray pages alike. */
|
|
2292
|
+
.kjun-alert[data-tone="info"] { background: var(--_kjun-alert-tint-fill); }
|
|
2134
2293
|
.kjun-alert[data-size="sm"] {
|
|
2135
2294
|
--_kjun-alert-line: var(--_kjun-type-control-small-line);
|
|
2136
2295
|
--_kjun-alert-close: var(--_kjun-extension-alert-sm-close-size);
|
|
2137
2296
|
--_kjun-alert-action-gap: var(--_kjun-extension-alert-sm-action-gap);
|
|
2138
2297
|
gap: var(--_kjun-extension-alert-sm-gap);
|
|
2298
|
+
border-radius: var(--_kjun-extension-alert-sm-radius);
|
|
2139
2299
|
padding: var(--_kjun-extension-alert-sm-padding-y) var(--_kjun-extension-alert-sm-padding-x);
|
|
2140
2300
|
}
|
|
2141
2301
|
.kjun-alert-icon {
|
|
@@ -2144,6 +2304,8 @@
|
|
|
2144
2304
|
flex-shrink: 0;
|
|
2145
2305
|
height: var(--_kjun-alert-line);
|
|
2146
2306
|
}
|
|
2307
|
+
/* A triangle's optical center sits below its box center. */
|
|
2308
|
+
.kjun-alert[data-tone="warning"] .kjun-alert-icon svg { transform: translateY(calc(-1 * var(--_kjun-extension-alert-warning-icon-lift))); }
|
|
2147
2309
|
.kjun-alert-content {
|
|
2148
2310
|
min-height: var(--_kjun-alert-line);
|
|
2149
2311
|
overflow-wrap: anywhere;
|
|
@@ -2152,15 +2314,16 @@
|
|
|
2152
2314
|
}
|
|
2153
2315
|
.kjun-alert-title {
|
|
2154
2316
|
margin: 0;
|
|
2155
|
-
font-size: var(--_kjun-type-control-size);
|
|
2156
2317
|
color: var(--_kjun-color-text);
|
|
2318
|
+
font-size: var(--_kjun-type-control-size);
|
|
2157
2319
|
line-height: var(--_kjun-type-control-line);
|
|
2158
2320
|
font-weight: var(--_kjun-type-control-weight);
|
|
2159
2321
|
letter-spacing: var(--_kjun-type-control-tracking);
|
|
2160
2322
|
}
|
|
2323
|
+
/* Body copy stays on the text role: secondary gray turns muddy on tinted fills. */
|
|
2161
2324
|
.kjun-alert-description {
|
|
2162
2325
|
font-size: var(--_kjun-type-body-size);
|
|
2163
|
-
color: var(--_kjun-color-text
|
|
2326
|
+
color: var(--_kjun-color-text);
|
|
2164
2327
|
line-height: var(--_kjun-type-body-line);
|
|
2165
2328
|
font-weight: var(--_kjun-type-body-weight);
|
|
2166
2329
|
letter-spacing: var(--_kjun-type-body-tracking);
|
|
@@ -2192,7 +2355,7 @@
|
|
|
2192
2355
|
background: transparent;
|
|
2193
2356
|
border: 0;
|
|
2194
2357
|
padding: 0;
|
|
2195
|
-
color: var(--_kjun-color-text-
|
|
2358
|
+
color: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-muted) * 100%), transparent);
|
|
2196
2359
|
cursor: pointer;
|
|
2197
2360
|
}
|
|
2198
2361
|
.kjun-alert-actions {
|
|
@@ -2202,15 +2365,15 @@
|
|
|
2202
2365
|
gap: var(--_kjun-extension-alert-actions-gap);
|
|
2203
2366
|
margin-top: var(--_kjun-alert-action-gap);
|
|
2204
2367
|
}
|
|
2205
|
-
/* Secondary actions
|
|
2206
|
-
.kjun-alert-actions .kjun-button[data-variant="secondary"] { background: var(--_kjun-
|
|
2207
|
-
.kjun-alert-actions .kjun-button[data-variant="secondary"]:hover:not(:disabled) { background: var(--_kjun-
|
|
2208
|
-
.kjun-alert-actions .kjun-button[data-variant="secondary"]:active:not(:disabled) { background: var(--_kjun-
|
|
2368
|
+
/* Secondary actions and the close button tint the alert's own fill instead of sitting on it as gray or white. */
|
|
2369
|
+
.kjun-alert-actions .kjun-button[data-variant="secondary"] { background: var(--_kjun-alert-tint-control); }
|
|
2370
|
+
.kjun-alert-actions .kjun-button[data-variant="secondary"]:hover:not(:disabled) { background: var(--_kjun-alert-tint-hover); }
|
|
2371
|
+
.kjun-alert-actions .kjun-button[data-variant="secondary"]:active:not(:disabled) { background: var(--_kjun-alert-tint-active); }
|
|
2209
2372
|
@media (hover: none), (pointer: coarse) {
|
|
2210
|
-
.kjun-alert-actions .kjun-button[data-variant="secondary"]:hover:not(:disabled):not(:active) { background: var(--_kjun-
|
|
2373
|
+
.kjun-alert-actions .kjun-button[data-variant="secondary"]:hover:not(:disabled):not(:active) { background: var(--_kjun-alert-tint-control); }
|
|
2211
2374
|
}
|
|
2212
|
-
.kjun-alert-close:hover { background: var(--_kjun-
|
|
2213
|
-
.kjun-alert-close:active { background: var(--_kjun-
|
|
2375
|
+
.kjun-alert-close:hover { background: var(--_kjun-alert-tint-hover); color: var(--_kjun-color-text); }
|
|
2376
|
+
.kjun-alert-close:active { background: var(--_kjun-alert-tint-active); color: var(--_kjun-color-text); }
|
|
2214
2377
|
.kjun-alert-close:focus-visible {
|
|
2215
2378
|
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
2216
2379
|
outline-offset: var(--_kjun-state-focus-offset);
|
|
@@ -2235,6 +2398,20 @@
|
|
|
2235
2398
|
border-radius: inherit;
|
|
2236
2399
|
transition: width var(--_kjun-motion-progress) var(--_kjun-ease-out);
|
|
2237
2400
|
}
|
|
2401
|
+
.kjun-progress[data-state="indeterminate"] .kjun-progress-track > div {
|
|
2402
|
+
animation: kjun-progress-indeterminate var(--_kjun-motion-spin) linear infinite;
|
|
2403
|
+
transition: none;
|
|
2404
|
+
}
|
|
2405
|
+
@keyframes kjun-progress-indeterminate {
|
|
2406
|
+
from { transform: translateX(-100%); }
|
|
2407
|
+
to { transform: translateX(334%); }
|
|
2408
|
+
}
|
|
2409
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2410
|
+
.kjun-progress[data-state="indeterminate"] .kjun-progress-track > div {
|
|
2411
|
+
animation: none;
|
|
2412
|
+
transform: translateX(116%);
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2238
2415
|
.kjun-progress-sub {
|
|
2239
2416
|
font-size: var(--_kjun-type-caption-size);
|
|
2240
2417
|
margin-top: var(--_kjun-geometry-dimension-value4);
|
|
@@ -2317,8 +2494,47 @@
|
|
|
2317
2494
|
}
|
|
2318
2495
|
.kjun-textarea {
|
|
2319
2496
|
line-height: var(--_kjun-type-input-line);
|
|
2320
|
-
|
|
2321
2497
|
}
|
|
2498
|
+
/* The height follows the text up to maxRows; only then does the field scroll. */
|
|
2499
|
+
.kjun-textarea[data-grow] { overflow-y: hidden; }
|
|
2500
|
+
.kjun-textarea[data-grow][data-overflow] { overflow-y: auto; }
|
|
2501
|
+
/* With a footer (count, actions, submit) the wrapper is the field surface and the textarea sits inside it. */
|
|
2502
|
+
.kjun-textarea-field {
|
|
2503
|
+
position: relative;
|
|
2504
|
+
display: flex;
|
|
2505
|
+
flex-direction: column;
|
|
2506
|
+
min-width: 0;
|
|
2507
|
+
border: var(--_kjun-border-control-width) solid transparent;
|
|
2508
|
+
background: var(--_kjun-color-input-bg);
|
|
2509
|
+
transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out), border-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
2510
|
+
}
|
|
2511
|
+
.kjun-textarea-field:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]):not(:focus-within) { background: var(--_kjun-color-hover); }
|
|
2512
|
+
.kjun-textarea-field:focus-within { border-color: var(--_kjun-color-input-border-focus); }
|
|
2513
|
+
.kjun-textarea-field[data-invalid] { border-color: var(--_kjun-color-danger); }
|
|
2514
|
+
.kjun-textarea-field:has(.kjun-textarea:focus-visible) { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-inset-offset); }
|
|
2515
|
+
.kjun-textarea-field[data-invalid]:has(.kjun-textarea:focus-visible) { outline-offset: var(--_kjun-state-focus-offset); }
|
|
2516
|
+
/* Outranks the shared .kjun-input hover, focus and invalid paint; the wrapper above carries them. */
|
|
2517
|
+
.kjun-textarea-field > .kjun-input.kjun-textarea,
|
|
2518
|
+
.kjun-textarea-field > .kjun-input.kjun-textarea:is(:hover, :focus, :focus-visible, [aria-invalid="true"], :disabled) {
|
|
2519
|
+
border: 0; border-radius: 0; background: transparent; outline: none;
|
|
2520
|
+
}
|
|
2521
|
+
.kjun-textarea-footer {
|
|
2522
|
+
display: flex;
|
|
2523
|
+
align-items: center;
|
|
2524
|
+
gap: var(--_kjun-extension-textarea-footer-gap);
|
|
2525
|
+
padding: 0 var(--_kjun-extension-textarea-footer-padding) var(--_kjun-extension-textarea-footer-padding);
|
|
2526
|
+
}
|
|
2527
|
+
.kjun-textarea-count {
|
|
2528
|
+
margin-left: auto;
|
|
2529
|
+
padding-inline: var(--_kjun-extension-textarea-count-padding-x);
|
|
2530
|
+
font-size: var(--_kjun-type-caption-size); line-height: var(--_kjun-type-caption-line);
|
|
2531
|
+
color: var(--_kjun-color-text-tertiary);
|
|
2532
|
+
font-variant-numeric: tabular-nums;
|
|
2533
|
+
}
|
|
2534
|
+
.kjun-textarea-count[data-over] { color: var(--_kjun-color-danger); font-weight: var(--_kjun-type-control-weight); }
|
|
2535
|
+
.kjun-textarea-field[data-disabled] .kjun-textarea-count { color: var(--_kjun-color-text-disabled); }
|
|
2536
|
+
.kjun-textarea-footer .kjun-textarea-submit { margin-left: auto; border-radius: var(--_kjun-extension-textarea-submit-radius); }
|
|
2537
|
+
.kjun-textarea-count + .kjun-textarea-submit { margin-left: 0; }
|
|
2322
2538
|
.kjun-button-group {
|
|
2323
2539
|
position: relative;
|
|
2324
2540
|
isolation: isolate;
|
|
@@ -2503,16 +2719,21 @@
|
|
|
2503
2719
|
outline: none;
|
|
2504
2720
|
}
|
|
2505
2721
|
.kjun-content-popover {
|
|
2506
|
-
width:var(--_kjun-extension-popover-width); border:
|
|
2722
|
+
width:var(--_kjun-extension-popover-width); border:var(--_kjun-border-default-width) solid var(--_kjun-color-border); border-radius:var(--_kjun-extension-popover-radius);
|
|
2507
2723
|
background:var(--_kjun-color-surface); color:var(--_kjun-color-text); box-shadow:var(--_kjun-popover-elevation);
|
|
2508
2724
|
font-size:var(--_kjun-type-body-size); line-height:var(--_kjun-type-body-line);
|
|
2509
2725
|
font-weight:var(--_kjun-type-body-weight); letter-spacing:var(--_kjun-type-body-tracking);
|
|
2510
2726
|
}
|
|
2727
|
+
.kjun-content-popover.kjun-popover-width-sm { width:var(--_kjun-extension-popover-widths-sm); }
|
|
2728
|
+
.kjun-content-popover.kjun-popover-width-md { width:var(--_kjun-extension-popover-widths-md); }
|
|
2729
|
+
.kjun-content-popover.kjun-popover-width-lg { width:var(--_kjun-extension-popover-widths-lg); }
|
|
2511
2730
|
.kjun-popover-dialog { outline:none; }
|
|
2512
2731
|
/* With a header only the body scrolls: the panel and dialog become clipping flex columns. */
|
|
2513
2732
|
.kjun-popover-has-header { display:flex; flex-direction:column; overflow:hidden; }
|
|
2514
2733
|
.kjun-popover-has-header .kjun-popover-dialog { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; }
|
|
2515
|
-
|
|
2734
|
+
/* A light title on the panel itself: control type, no divider, the body follows after a short gap. */
|
|
2735
|
+
.kjun-popover-header { flex:none; padding:var(--_kjun-extension-popover-padding) var(--_kjun-extension-popover-padding) var(--_kjun-extension-popover-header-padding-bottom); font-size:var(--_kjun-type-control-size); line-height:var(--_kjun-type-control-line); font-weight:var(--_kjun-type-control-weight); letter-spacing:var(--_kjun-type-control-tracking); word-break:keep-all; overflow-wrap:anywhere; }
|
|
2736
|
+
.kjun-popover-has-header .kjun-popover-content:not([data-no-padding="true"]) { padding-top:0; }
|
|
2516
2737
|
.kjun-popover-body { flex:1 1 auto; min-height:0; overflow-y:auto; }
|
|
2517
2738
|
.kjun-popover-content { display:flex; flex-direction:column; gap:var(--_kjun-extension-popover-gap); padding:var(--_kjun-extension-popover-padding); min-width:0; word-break:keep-all; overflow-wrap:anywhere; }
|
|
2518
2739
|
.kjun-popover-content[data-no-padding="true"] { padding:0; gap:0; }
|
|
@@ -2564,7 +2785,7 @@
|
|
|
2564
2785
|
display: flex;
|
|
2565
2786
|
align-items: center;
|
|
2566
2787
|
gap: var(--_kjun-geometry-dimension-value8);
|
|
2567
|
-
min-height: var(--_kjun-extension-menu-
|
|
2788
|
+
min-height: var(--_kjun-extension-menu-item-height);
|
|
2568
2789
|
padding: var(--_kjun-extension-menu-option-padding-y) var(--_kjun-extension-menu-option-padding-x);
|
|
2569
2790
|
border-radius: var(--_kjun-extension-menu-option-radius);
|
|
2570
2791
|
font-size: var(--_kjun-extension-menu-option-font-size); font-weight: var(--_kjun-type-body-weight); letter-spacing: var(--_kjun-type-body-tracking);
|
|
@@ -2573,39 +2794,54 @@
|
|
|
2573
2794
|
outline: none;
|
|
2574
2795
|
color: var(--_kjun-color-text);
|
|
2575
2796
|
}
|
|
2576
|
-
.kjun-menu-item >
|
|
2797
|
+
.kjun-menu-item > .kjun-menu-label {
|
|
2798
|
+
display: flex;
|
|
2799
|
+
flex-direction: column;
|
|
2577
2800
|
flex: 1;
|
|
2578
2801
|
min-width: 0;
|
|
2579
2802
|
overflow-wrap: anywhere;
|
|
2580
2803
|
}
|
|
2581
|
-
/*
|
|
2804
|
+
/* A two-line item keeps its icon and check on the label's first line. */
|
|
2805
|
+
.kjun-menu-item:has(.kjun-menu-description) { align-items: flex-start; }
|
|
2806
|
+
.kjun-menu-item:has(.kjun-menu-description) > svg { margin-top: calc((var(--_kjun-extension-menu-option-line-height) - var(--_kjun-extension-menu-icon-size)) / 2); }
|
|
2807
|
+
.kjun-menu-description { margin-top: var(--_kjun-extension-menu-description-gap); font-size: var(--_kjun-type-caption-size); line-height: var(--_kjun-type-caption-line); color: var(--_kjun-color-text-secondary); }
|
|
2808
|
+
.kjun-menu-shortcut { flex: none; font-size: var(--_kjun-type-meta-size); line-height: var(--_kjun-type-meta-line); color: var(--_kjun-color-text-tertiary); font-variant-numeric: tabular-nums; }
|
|
2809
|
+
.kjun-menu-chevron { flex: none; color: var(--_kjun-color-text-tertiary); }
|
|
2810
|
+
/* One cue for the current item: the focused (or hovered) row's fill, by mouse and keyboard alike. */
|
|
2582
2811
|
.kjun-menu-item[data-focused]:not([data-disabled]):not([data-kjun-selected]) {
|
|
2583
2812
|
background: var(--_kjun-color-hover);
|
|
2584
2813
|
}
|
|
2585
|
-
.
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
.kjun-menu-item[data-kjun-selected] {
|
|
2589
|
-
background: var(--_kjun-color-selected-bg);
|
|
2590
|
-
}
|
|
2591
|
-
.kjun-menu-item[data-focus-visible]:not([data-disabled]) {
|
|
2592
|
-
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
2593
|
-
outline-offset: var(--_kjun-state-focus-inset-offset);
|
|
2814
|
+
/* Danger keeps a light tint of its own colour in both themes instead of a heavy fill. */
|
|
2815
|
+
.kjun-menu-item[data-variant="danger"][data-focused]:not([data-disabled]) {
|
|
2816
|
+
background: color-mix(in srgb, var(--_kjun-color-danger) calc(var(--_kjun-state-opacity-tint-hover) * 100%), transparent);
|
|
2594
2817
|
}
|
|
2818
|
+
.kjun-menu-item[data-kjun-selected] { background: var(--_kjun-color-selected-bg); }
|
|
2819
|
+
/* The selected row keeps its fill under the hover, so keyboard focus there shows as an inset ring, as on Native. */
|
|
2820
|
+
.kjun-menu-item[data-kjun-selected][data-focus-visible]:not([data-disabled]) { box-shadow: inset 0 0 0 var(--_kjun-state-focus-width) var(--_kjun-color-focus-ring); }
|
|
2595
2821
|
.kjun-menu-check { color: var(--_kjun-color-brand); }
|
|
2596
2822
|
/* Leading icons sit a step below the regular-weight label; danger items keep their role color. */
|
|
2597
2823
|
.kjun-menu-item:not([data-variant="danger"]) .kjun-menu-icon { color: var(--_kjun-color-text-secondary); }
|
|
2598
|
-
/*
|
|
2599
|
-
.kjun-menu:has(.kjun-menu-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
.kjun-menu-item
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
}
|
|
2606
|
-
.kjun-menu-item[data-variant="danger"] {
|
|
2607
|
-
|
|
2608
|
-
}
|
|
2824
|
+
/* The check and icon columns each appear once any item uses them, so every label starts on the same line. */
|
|
2825
|
+
.kjun-menu:has(.kjun-menu-check) .kjun-menu-item:not(:has(.kjun-menu-check)) { --_kjun-menu-check-slot: 1; }
|
|
2826
|
+
.kjun-menu:has(.kjun-menu-icon) .kjun-menu-item:not(:has(.kjun-menu-icon)) { --_kjun-menu-icon-slot: 1; }
|
|
2827
|
+
/* The check column is reserved before the row content and the icon column after the check, so both columns line up. */
|
|
2828
|
+
.kjun-menu .kjun-menu-item { padding-left: calc(var(--_kjun-extension-menu-option-padding-x) + var(--_kjun-menu-check-slot, 0) * (var(--_kjun-extension-menu-icon-size) + var(--_kjun-geometry-dimension-value8))); }
|
|
2829
|
+
.kjun-menu .kjun-menu-item > .kjun-menu-label { margin-left: calc(var(--_kjun-menu-icon-slot, 0) * (var(--_kjun-extension-menu-icon-size) + var(--_kjun-geometry-dimension-value8))); }
|
|
2830
|
+
.kjun-menu-item[data-disabled] { color: var(--_kjun-color-text-disabled); cursor: not-allowed; }
|
|
2831
|
+
.kjun-menu-item[data-disabled] :is(.kjun-menu-icon, .kjun-menu-description, .kjun-menu-shortcut, .kjun-menu-check) { color: var(--_kjun-color-text-disabled); }
|
|
2832
|
+
.kjun-menu-item[data-variant="danger"]:not([data-disabled]) { color: var(--_kjun-color-danger); }
|
|
2833
|
+
/* A submenu's first row leads back to the parent menu. */
|
|
2834
|
+
.kjun-menu-item.kjun-menu-back { font-weight: var(--_kjun-type-control-weight); }
|
|
2835
|
+
.kjun-menu-section-title {
|
|
2836
|
+
padding: var(--_kjun-extension-menu-section-padding-top) var(--_kjun-extension-menu-option-padding-x) var(--_kjun-extension-menu-section-padding-bottom);
|
|
2837
|
+
font-size: var(--_kjun-type-meta-size); line-height: var(--_kjun-type-meta-line); font-weight: var(--_kjun-type-meta-weight); color: var(--_kjun-color-text-tertiary);
|
|
2838
|
+
}
|
|
2839
|
+
/* Compact menus for desktop tables and toolbars; touch keeps the full target. */
|
|
2840
|
+
.kjun-menu[data-density="compact"] .kjun-menu-item { min-height: var(--_kjun-extension-menu-compact-option-height); padding: var(--_kjun-extension-menu-compact-option-padding-y) var(--_kjun-extension-menu-compact-option-padding-x); }
|
|
2841
|
+
.kjun-menu[data-density="compact"] .kjun-menu-section-title { padding-left: var(--_kjun-extension-menu-compact-option-padding-x); padding-right: var(--_kjun-extension-menu-compact-option-padding-x); }
|
|
2842
|
+
.kjun-menu[data-density="compact"] .kjun-menu-item { padding-left: calc(var(--_kjun-extension-menu-compact-option-padding-x) + var(--_kjun-menu-check-slot, 0) * (var(--_kjun-extension-menu-icon-size) + var(--_kjun-geometry-dimension-value8))); }
|
|
2843
|
+
/* Touch keeps the full target even in a compact menu, so this outranks the compact rows above. */
|
|
2844
|
+
@media (pointer: coarse) { .kjun-menu .kjun-menu-item, .kjun-menu[data-density="compact"] .kjun-menu-item { min-height: var(--_kjun-geometry-native-minimum-touch-target); } }
|
|
2609
2845
|
.kjun-menu-divider {
|
|
2610
2846
|
height: var(--_kjun-extension-menu-divider-height);
|
|
2611
2847
|
margin: var(--_kjun-geometry-dimension-value4) 0;
|
|
@@ -2791,34 +3027,6 @@
|
|
|
2791
3027
|
@media (prefers-reduced-motion: reduce) { .kjun-select-indicator { transition: none; } }
|
|
2792
3028
|
/* A failed search reads as an error, never as an empty result. */
|
|
2793
3029
|
.kjun-select-empty[role="alert"] { color: var(--_kjun-color-danger); }
|
|
2794
|
-
.kjun-input.kjun-date-masked {
|
|
2795
|
-
color: transparent;
|
|
2796
|
-
}
|
|
2797
|
-
/* Web draws the same calendar icon as Native; the browser indicator stays as a transparent hit area over it. */
|
|
2798
|
-
.kjun-date-picker .kjun-input-affix { pointer-events: none; }
|
|
2799
|
-
.kjun-date-picker input[type="date"]::-webkit-calendar-picker-indicator {
|
|
2800
|
-
position: absolute;
|
|
2801
|
-
top: 0;
|
|
2802
|
-
bottom: 0;
|
|
2803
|
-
right: var(--_kjun-date-icon-inset);
|
|
2804
|
-
width: var(--_kjun-date-icon-size);
|
|
2805
|
-
height: auto;
|
|
2806
|
-
margin: 0;
|
|
2807
|
-
padding: 0;
|
|
2808
|
-
opacity: 0;
|
|
2809
|
-
cursor: pointer;
|
|
2810
|
-
}
|
|
2811
|
-
.kjun-date-overlay {
|
|
2812
|
-
position: absolute;
|
|
2813
|
-
top: 0;
|
|
2814
|
-
bottom: 0;
|
|
2815
|
-
right: var(--_kjun-geometry-input-md-height);
|
|
2816
|
-
display: flex;
|
|
2817
|
-
align-items: center;
|
|
2818
|
-
pointer-events: none;
|
|
2819
|
-
white-space: nowrap;
|
|
2820
|
-
overflow: hidden;
|
|
2821
|
-
}
|
|
2822
3030
|
|
|
2823
3031
|
.kjun-drawer-overlay[data-position="left"] .kjun-drawer { box-shadow: var(--_kjun-drawer-elevation-left); }
|
|
2824
3032
|
.kjun-drawer-overlay[data-position="top"] .kjun-drawer { box-shadow: var(--_kjun-drawer-elevation-top); }
|
|
@@ -2834,7 +3042,14 @@
|
|
|
2834
3042
|
--_kjun-tab-height:var(--_kjun-extension-tabs-compact-height);
|
|
2835
3043
|
--_kjun-tab-padding-x:var(--_kjun-extension-tabs-compact-padding-x);
|
|
2836
3044
|
}
|
|
2837
|
-
.kjun-tabs[data-variant="pills"] {
|
|
3045
|
+
.kjun-tabs[data-variant="pills"] {
|
|
3046
|
+
--_kjun-tab-height:var(--_kjun-extension-tabs-pills-height);
|
|
3047
|
+
--_kjun-tab-padding-x:var(--_kjun-extension-tabs-pills-padding-x);
|
|
3048
|
+
}
|
|
3049
|
+
.kjun-tabs[data-variant="pills"][data-density="compact"] {
|
|
3050
|
+
--_kjun-tab-height:var(--_kjun-extension-tabs-pills-compact-height);
|
|
3051
|
+
--_kjun-tab-padding-x:var(--_kjun-extension-tabs-pills-compact-padding-x);
|
|
3052
|
+
}
|
|
2838
3053
|
.kjun-tabs-header { display:flex; align-items:center; min-width:0; }
|
|
2839
3054
|
.kjun-tabs-list {
|
|
2840
3055
|
display:flex; align-items:center; gap:var(--_kjun-extension-tabs-gap);
|
|
@@ -2849,12 +3064,26 @@
|
|
|
2849
3064
|
font-weight:var(--_kjun-type-label-weight); letter-spacing:var(--_kjun-type-control-tracking);
|
|
2850
3065
|
white-space:nowrap; cursor:pointer; outline:none; -webkit-tap-highlight-color:transparent;
|
|
2851
3066
|
}
|
|
2852
|
-
.kjun-tabs[data-variant="underline"] .kjun-tab:first-child { padding-inline-start:0; }
|
|
3067
|
+
.kjun-tabs[data-variant="underline"]:not([data-full-width]) .kjun-tab:first-child { padding-inline-start:0; }
|
|
3068
|
+
/* fullWidth: tabs share the row equally; the underline then spans the whole tab. */
|
|
3069
|
+
.kjun-tabs[data-full-width] .kjun-tabs-header > :is(.kjun-tabs-track, .kjun-tabs-scroller) { flex:1; }
|
|
3070
|
+
.kjun-tabs[data-full-width] .kjun-tabs-list { width:auto; min-width:max-content; }
|
|
3071
|
+
.kjun-tabs[data-full-width] .kjun-tab { flex:1 0 0; justify-content:center; min-width:max-content; }
|
|
3072
|
+
/* Pills are chips: each tab carries its own fill and the selected one inverts, with no sliding marker. */
|
|
3073
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab { border-radius:var(--_kjun-extension-tabs-pills-radius); background:var(--_kjun-color-secondary) !important; }
|
|
3074
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab[aria-selected="true"] { background:var(--_kjun-color-text) !important; color:var(--_kjun-color-surface); }
|
|
3075
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab-indicator { display:none; }
|
|
3076
|
+
/* A selected chip that is disabled keeps its inverted fill but dims its ink, as on Native. */
|
|
3077
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab[aria-selected="true"]:is([aria-disabled="true"], :disabled) { color:var(--_kjun-color-text-disabled); }
|
|
3078
|
+
/* On an unselected chip a default badge takes the surface, so it does not vanish into the chip's own fill. */
|
|
3079
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab:not([aria-selected="true"]) .kjun-tab-badge[data-variant="default"] { background:var(--_kjun-color-surface) !important; }
|
|
3080
|
+
/* A disabled tab dims its badge with its label. */
|
|
3081
|
+
.kjun-tab:is([aria-disabled="true"], :disabled) .kjun-tab-badge { opacity:var(--_kjun-state-opacity-disabled); }
|
|
2853
3082
|
.kjun-tabs[data-variant="pills"] .kjun-tabs-list {
|
|
2854
3083
|
gap:var(--_kjun-extension-tabs-pills-gap); padding-block:var(--_kjun-extension-tabs-pills-padding-y);
|
|
2855
3084
|
}
|
|
2856
3085
|
.kjun-tab[aria-selected="true"] { color:var(--_kjun-color-text); font-weight:var(--_kjun-type-control-weight); }
|
|
2857
|
-
.kjun-tab[aria-disabled="true"], .kjun-tab:disabled {
|
|
3086
|
+
.kjun-tab[aria-disabled="true"], .kjun-tab:disabled { color:var(--_kjun-color-text-disabled); cursor:not-allowed; }
|
|
2858
3087
|
.kjun-tab[data-focus-visible], .kjun-tab:focus-visible {
|
|
2859
3088
|
outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset:var(--_kjun-state-focus-inset-offset);
|
|
2860
3089
|
}
|
|
@@ -2866,23 +3095,32 @@
|
|
|
2866
3095
|
scroll-padding-inline:var(--_kjun-tab-ring-room);
|
|
2867
3096
|
}
|
|
2868
3097
|
.kjun-tabs[data-variant="underline"] .kjun-tab:is([data-focus-visible], :focus-visible) { outline-offset:var(--_kjun-state-focus-offset); }
|
|
2869
|
-
.kjun-tab:hover:not([aria-disabled="true"]):not(:disabled) { color:var(--_kjun-color-text); }
|
|
2870
|
-
/*
|
|
3098
|
+
.kjun-tab:hover:not([aria-selected="true"]):not([aria-disabled="true"]):not(:disabled) { color:var(--_kjun-color-text); }
|
|
3099
|
+
/* Unselected chips darken to the hover surface, like Chip and ButtonGroup. */
|
|
2871
3100
|
.kjun-tabs[data-variant="pills"] :is(.kjun-tabs-track, .kjun-tabs-scroller) .kjun-tab:hover:not([aria-selected="true"]):not([aria-disabled="true"]):not(:disabled) {
|
|
2872
3101
|
background:var(--_kjun-color-hover) !important;
|
|
2873
3102
|
}
|
|
2874
|
-
.kjun-tab-badge {
|
|
2875
|
-
font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line);
|
|
2876
|
-
font-weight:var(--_kjun-type-caption-weight); letter-spacing:var(--_kjun-type-caption-tracking);
|
|
2877
|
-
font-variant-numeric:tabular-nums; font-family:var(--_kjun-font-numeric);
|
|
2878
|
-
}
|
|
3103
|
+
.kjun-tab-badge { font-variant-numeric:tabular-nums; }
|
|
2879
3104
|
.kjun-tab-content { margin-top:var(--_kjun-extension-tabs-content-gap); }
|
|
2880
3105
|
.kjun-tab-panel { outline:none; }
|
|
2881
3106
|
.kjun-accordion {
|
|
3107
|
+
--_kjun-accordion-bg:var(--_kjun-color-surface);
|
|
2882
3108
|
min-width:0; border-radius:var(--_kjun-extension-accordion-radius); overflow:hidden;
|
|
2883
|
-
background:var(--_kjun-
|
|
2884
|
-
}
|
|
2885
|
-
.kjun-accordion[data-tone="muted"] {
|
|
3109
|
+
background:var(--_kjun-accordion-bg);
|
|
3110
|
+
}
|
|
3111
|
+
.kjun-accordion[data-tone="muted"] { --_kjun-accordion-bg:var(--_kjun-color-secondary); }
|
|
3112
|
+
/* separated: each item is its own rounded surface on the tone, with a gap instead of a line. */
|
|
3113
|
+
.kjun-accordion[data-separated] { display:flex; flex-direction:column; gap:var(--_kjun-extension-accordion-item-gap); background:transparent; border-radius:0; overflow:visible; }
|
|
3114
|
+
.kjun-accordion[data-separated] > .kjun-accordion-item { background:var(--_kjun-accordion-bg); border-radius:var(--_kjun-extension-accordion-radius); overflow:hidden; }
|
|
3115
|
+
.kjun-accordion-item { position:relative; }
|
|
3116
|
+
.kjun-accordion-item[data-leading] { --_kjun-accordion-inset:calc(var(--_kjun-extension-accordion-padding-x) + var(--_kjun-extension-accordion-leading-width) + var(--_kjun-extension-accordion-header-gap)); }
|
|
3117
|
+
/* divider: like ListRow, the line starts where the text does and never follows the last item. */
|
|
3118
|
+
.kjun-accordion[data-divider]:not([data-separated]) > .kjun-accordion-item:not(:last-child)::after {
|
|
3119
|
+
content:""; position:absolute; inset-inline:var(--_kjun-accordion-inset, var(--_kjun-extension-accordion-padding-x)) 0; bottom:0;
|
|
3120
|
+
height:var(--_kjun-border-default-width); background:var(--_kjun-color-divider); pointer-events:none;
|
|
3121
|
+
}
|
|
3122
|
+
/* The heading around each header only carries its level; the header button keeps its own type. */
|
|
3123
|
+
.kjun-accordion-title { margin: 0; font: inherit; }
|
|
2886
3124
|
.kjun-accordion-trigger {
|
|
2887
3125
|
width:100%; min-height:var(--_kjun-extension-accordion-minimum-height);
|
|
2888
3126
|
display:flex; align-items:center; justify-content:space-between; gap:var(--_kjun-extension-accordion-header-gap);
|
|
@@ -2892,39 +3130,74 @@
|
|
|
2892
3130
|
font-weight:var(--_kjun-type-control-weight); letter-spacing:var(--_kjun-type-control-tracking);
|
|
2893
3131
|
cursor:pointer;
|
|
2894
3132
|
}
|
|
3133
|
+
.kjun-accordion-leading { flex:none; min-width:var(--_kjun-extension-accordion-leading-width); display:flex; align-items:center; justify-content:center; color:var(--_kjun-color-text-secondary); }
|
|
2895
3134
|
.kjun-accordion-heading { flex:1; min-width:0; word-break:keep-all; overflow-wrap:anywhere; }
|
|
2896
|
-
.kjun-accordion-
|
|
3135
|
+
.kjun-accordion-description {
|
|
3136
|
+
display:block; margin-top:var(--_kjun-extension-accordion-description-gap); color:var(--_kjun-color-text-secondary);
|
|
3137
|
+
font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line);
|
|
3138
|
+
font-weight:var(--_kjun-type-caption-weight); letter-spacing:var(--_kjun-type-caption-tracking);
|
|
3139
|
+
}
|
|
3140
|
+
.kjun-accordion-chevron { flex-shrink:0; color:var(--_kjun-color-text-tertiary); }
|
|
2897
3141
|
.kjun-accordion-trigger:disabled { opacity:var(--_kjun-state-opacity-disabled); cursor:not-allowed; }
|
|
2898
|
-
|
|
3142
|
+
/* Hover paints the whole item, header and open body together, and only where a pointer can hover. */
|
|
3143
|
+
@media (hover:hover) {
|
|
3144
|
+
.kjun-accordion-item:has(> .kjun-accordion-trigger:hover:not(:disabled), > .kjun-accordion-title > .kjun-accordion-trigger:hover:not(:disabled)) { background:var(--_kjun-color-hover); }
|
|
3145
|
+
}
|
|
2899
3146
|
/* The accordion clips items to its rounded corners; while focused the trigger takes the same radius so the inset ring stays whole. */
|
|
2900
3147
|
.kjun-accordion-trigger:focus-visible { outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset:var(--_kjun-state-focus-inset-offset); border-radius:var(--_kjun-extension-accordion-radius); }
|
|
2901
3148
|
.kjun-accordion-panel {
|
|
2902
3149
|
padding:0 var(--_kjun-extension-accordion-padding-x) var(--_kjun-extension-accordion-content-padding-bottom);
|
|
2903
|
-
|
|
3150
|
+
padding-inline-start:var(--_kjun-accordion-inset, var(--_kjun-extension-accordion-padding-x));
|
|
3151
|
+
color:var(--_kjun-color-text); word-break:keep-all; overflow-wrap:anywhere;
|
|
2904
3152
|
font-size:var(--_kjun-type-body-size); line-height:var(--_kjun-type-body-line);
|
|
2905
3153
|
font-weight:var(--_kjun-type-body-weight); letter-spacing:var(--_kjun-type-body-tracking);
|
|
2906
3154
|
}
|
|
3155
|
+
/* A trail is a list (ol > li), so screen readers announce how many steps it has. */
|
|
2907
3156
|
.kjun-breadcrumb {
|
|
2908
|
-
display: flex;
|
|
2909
|
-
align-items: center;
|
|
2910
|
-
flex-wrap: wrap;
|
|
2911
|
-
gap: var(--_kjun-geometry-dimension-value8);
|
|
2912
3157
|
font-size: var(--_kjun-type-body-size);
|
|
2913
3158
|
color: var(--_kjun-color-text-secondary);
|
|
2914
3159
|
line-height: var(--_kjun-type-body-line);
|
|
2915
3160
|
font-weight: var(--_kjun-type-body-weight);
|
|
2916
3161
|
letter-spacing: var(--_kjun-type-body-tracking);
|
|
2917
3162
|
}
|
|
2918
|
-
.kjun-breadcrumb
|
|
3163
|
+
.kjun-breadcrumb-list {
|
|
3164
|
+
display: flex;
|
|
3165
|
+
align-items: center;
|
|
3166
|
+
flex-wrap: wrap;
|
|
3167
|
+
gap: var(--_kjun-extension-breadcrumb-gap);
|
|
3168
|
+
margin: 0;
|
|
3169
|
+
padding: 0;
|
|
3170
|
+
list-style: none;
|
|
3171
|
+
}
|
|
3172
|
+
.kjun-breadcrumb-item {
|
|
3173
|
+
display: inline-flex;
|
|
3174
|
+
align-items: center;
|
|
3175
|
+
gap: var(--_kjun-extension-breadcrumb-gap);
|
|
3176
|
+
min-width: 0;
|
|
3177
|
+
}
|
|
3178
|
+
.kjun-breadcrumb-item > svg {
|
|
3179
|
+
flex: none;
|
|
2919
3180
|
color: var(--_kjun-color-text-tertiary);
|
|
2920
3181
|
}
|
|
3182
|
+
/* Each step keeps one line; a long label ends in an ellipsis at the label width. */
|
|
3183
|
+
.kjun-breadcrumb-item > :is(a, span) {
|
|
3184
|
+
display: inline-flex;
|
|
3185
|
+
align-items: center;
|
|
3186
|
+
gap: var(--_kjun-extension-breadcrumb-icon-gap);
|
|
3187
|
+
max-width: var(--_kjun-extension-breadcrumb-label-max-width);
|
|
3188
|
+
min-width: 0;
|
|
3189
|
+
}
|
|
3190
|
+
.kjun-breadcrumb-label {
|
|
3191
|
+
overflow: hidden;
|
|
3192
|
+
text-overflow: ellipsis;
|
|
3193
|
+
white-space: nowrap;
|
|
3194
|
+
}
|
|
2921
3195
|
.kjun-breadcrumb a {
|
|
2922
3196
|
color: inherit;
|
|
2923
3197
|
text-decoration: none;
|
|
2924
3198
|
}
|
|
2925
3199
|
/* Underlined as well as recolored: with a near-text brand color, hover would otherwise look like the current page. */
|
|
2926
|
-
.kjun-breadcrumb a:hover
|
|
2927
|
-
.kjun-breadcrumb-link:hover {
|
|
3200
|
+
.kjun-breadcrumb a:hover {
|
|
2928
3201
|
color: var(--_kjun-color-brand);
|
|
2929
3202
|
text-decoration: underline;
|
|
2930
3203
|
text-underline-offset: var(--_kjun-geometry-dimension-value2);
|
|
@@ -3088,11 +3361,31 @@
|
|
|
3088
3361
|
vertical-align: middle;
|
|
3089
3362
|
}
|
|
3090
3363
|
.kjun-scroll-fade {
|
|
3364
|
+
--_kjun-fade-to: to right;
|
|
3091
3365
|
overflow-x: auto;
|
|
3092
3366
|
min-width: 0;
|
|
3093
3367
|
max-width: 100%;
|
|
3094
3368
|
scrollbar-width: none;
|
|
3095
3369
|
}
|
|
3370
|
+
.kjun-scroll-fade[data-direction="vertical"] {
|
|
3371
|
+
--_kjun-fade-to: to bottom;
|
|
3372
|
+
overflow-x: hidden;
|
|
3373
|
+
overflow-y: auto;
|
|
3374
|
+
min-height: 0;
|
|
3375
|
+
}
|
|
3376
|
+
/* The start edge is on the right in a right-to-left layout. */
|
|
3377
|
+
.kjun-scroll-fade[data-direction="horizontal"]:dir(rtl) { --_kjun-fade-to: to left; }
|
|
3378
|
+
/* An edge fades while content remains past it; the app's own mask-image style still wins. */
|
|
3379
|
+
.kjun-scroll-fade:is([data-fade-start], [data-fade-end]) {
|
|
3380
|
+
--_kjun-fade-start: currentColor;
|
|
3381
|
+
--_kjun-fade-end: currentColor;
|
|
3382
|
+
-webkit-mask-image: linear-gradient(var(--_kjun-fade-to), var(--_kjun-fade-start), currentColor var(--_kjun-extension-scroll-fade-width), currentColor calc(100% - var(--_kjun-extension-scroll-fade-width)), var(--_kjun-fade-end));
|
|
3383
|
+
mask-image: linear-gradient(var(--_kjun-fade-to), var(--_kjun-fade-start), currentColor var(--_kjun-extension-scroll-fade-width), currentColor calc(100% - var(--_kjun-extension-scroll-fade-width)), var(--_kjun-fade-end));
|
|
3384
|
+
}
|
|
3385
|
+
.kjun-scroll-fade[data-fade-start] { --_kjun-fade-start: transparent; }
|
|
3386
|
+
.kjun-scroll-fade[data-fade-end] { --_kjun-fade-end: transparent; }
|
|
3387
|
+
/* A named scroller is a focusable region, so keyboard users can scroll it even when nothing inside takes focus. */
|
|
3388
|
+
.kjun-scroll-fade[tabindex]:focus-visible { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-offset); }
|
|
3096
3389
|
@media (prefers-reduced-motion: reduce) {
|
|
3097
3390
|
.kjun-icon-toggle svg {
|
|
3098
3391
|
transition: none;
|
|
@@ -3344,15 +3637,21 @@
|
|
|
3344
3637
|
.kjun-deviation-badge > .kjun-tooltip-wrapper {
|
|
3345
3638
|
display: flex;
|
|
3346
3639
|
}
|
|
3347
|
-
/*
|
|
3348
|
-
.
|
|
3640
|
+
/* The status slot after a price: the app's badge or text, set off from the number and centred on its line. */
|
|
3641
|
+
/* A long status ends in an ellipsis instead of widening the quote column and squeezing the name. */
|
|
3642
|
+
.kjun-price-status {
|
|
3349
3643
|
display: inline-flex;
|
|
3350
|
-
|
|
3351
|
-
|
|
3644
|
+
align-items: center;
|
|
3645
|
+
vertical-align: middle;
|
|
3646
|
+
min-width: 0;
|
|
3647
|
+
max-width: 100%;
|
|
3648
|
+
overflow: hidden;
|
|
3649
|
+
white-space: nowrap;
|
|
3650
|
+
text-overflow: ellipsis;
|
|
3352
3651
|
}
|
|
3353
|
-
.kjun-
|
|
3354
|
-
|
|
3355
|
-
|
|
3652
|
+
.kjun-price-cell[data-missing] { color: var(--_kjun-color-text-tertiary); }
|
|
3653
|
+
.kjun-price-cell + .kjun-price-status {
|
|
3654
|
+
margin-inline-start: var(--_kjun-extension-financial-status-gap);
|
|
3356
3655
|
}
|
|
3357
3656
|
.kjun-deviation-signal-slot {
|
|
3358
3657
|
width: var(--_kjun-extension-financial-warning-icon-size);
|
|
@@ -3391,7 +3690,8 @@
|
|
|
3391
3690
|
font-size: var(--_kjun-type-caption-size);
|
|
3392
3691
|
color: var(--_kjun-color-text-secondary);
|
|
3393
3692
|
min-width: var(--_kjun-extension-financial-progress-label-width);
|
|
3394
|
-
|
|
3693
|
+
/* The value sits beside its bar; the fixed width keeps every bar the same length. */
|
|
3694
|
+
text-align: left;
|
|
3395
3695
|
line-height: var(--_kjun-type-caption-line);
|
|
3396
3696
|
font-weight: var(--_kjun-type-caption-weight);
|
|
3397
3697
|
letter-spacing: var(--_kjun-type-caption-tracking);
|
|
@@ -3639,32 +3939,13 @@
|
|
|
3639
3939
|
color: var(--_kjun-text-tertiary);
|
|
3640
3940
|
}
|
|
3641
3941
|
|
|
3642
|
-
/* 스크롤 힌트는 스크롤 콘텐츠 안이 아니라 뷰포트 셸에 둬야, 가로 스크롤을 따라 움직이지 않는다. */
|
|
3643
|
-
.kjun-table-scroll-shell {
|
|
3644
|
-
position: relative;
|
|
3645
|
-
min-width: 0;
|
|
3646
|
-
}
|
|
3647
|
-
|
|
3648
|
-
.kjun-table-scroll-fade {
|
|
3649
|
-
display: none;
|
|
3650
|
-
pointer-events: none;
|
|
3651
|
-
}
|
|
3652
|
-
|
|
3653
|
-
@media (width <= 768px) {
|
|
3654
|
-
.kjun-table-scroll-fade {
|
|
3655
|
-
display: block;
|
|
3656
|
-
position: absolute;
|
|
3657
|
-
top: 0;
|
|
3658
|
-
right: 0;
|
|
3659
|
-
bottom: 0;
|
|
3660
|
-
width: var(--_kjun-extension-scroll-fade-width);
|
|
3661
|
-
z-index: 1;
|
|
3662
|
-
background: linear-gradient(to right, transparent, var(--_kjun-card-bg));
|
|
3663
|
-
}
|
|
3664
|
-
}
|
|
3665
3942
|
.kjun-table-scroll {
|
|
3666
3943
|
overflow: auto;
|
|
3667
3944
|
}
|
|
3945
|
+
/* A sticky header without maxHeight sticks to the page, so this wrapper must not become a scroll container. */
|
|
3946
|
+
.kjun-table-scroll[data-page-sticky] {
|
|
3947
|
+
overflow: visible;
|
|
3948
|
+
}
|
|
3668
3949
|
.kjun-table {
|
|
3669
3950
|
width: 100%;
|
|
3670
3951
|
border-collapse: collapse;
|
|
@@ -3692,14 +3973,30 @@
|
|
|
3692
3973
|
align-items: center;
|
|
3693
3974
|
gap: var(--_kjun-geometry-dimension-value4);
|
|
3694
3975
|
border: 0;
|
|
3976
|
+
padding: 0;
|
|
3695
3977
|
background: transparent;
|
|
3696
3978
|
color: inherit;
|
|
3697
3979
|
cursor: pointer;
|
|
3698
3980
|
font: inherit;
|
|
3699
3981
|
}
|
|
3982
|
+
/* A sortable column shows a quiet two-way arrow; the sorted column reads in the text color with its direction. */
|
|
3983
|
+
.kjun-table th button .kjun-table-sort-icon { color: var(--_kjun-color-text-tertiary); }
|
|
3984
|
+
.kjun-table th[aria-sort="ascending"] button,
|
|
3985
|
+
.kjun-table th[aria-sort="descending"] button { font-weight: var(--_kjun-type-section-title-weight); }
|
|
3986
|
+
.kjun-table th[aria-sort="ascending"] button,
|
|
3987
|
+
.kjun-table th[aria-sort="descending"] button,
|
|
3988
|
+
.kjun-table th[aria-sort="ascending"] button .kjun-table-sort-icon,
|
|
3989
|
+
.kjun-table th[aria-sort="descending"] button .kjun-table-sort-icon { color: var(--_kjun-color-text); }
|
|
3990
|
+
.kjun-table th button:hover .kjun-table-sort-icon { color: var(--_kjun-color-text-secondary); }
|
|
3991
|
+
.kjun-table th button:focus-visible {
|
|
3992
|
+
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
3993
|
+
outline-offset: var(--_kjun-state-focus-offset);
|
|
3994
|
+
border-radius: var(--_kjun-geometry-radius-radius4);
|
|
3995
|
+
}
|
|
3996
|
+
/* Rows part with the lighter divider; the header keeps the border line. */
|
|
3700
3997
|
.kjun-table td {
|
|
3701
3998
|
padding: var(--_kjun-geometry-table-cell-padding-regular-y) var(--_kjun-geometry-table-cell-padding-regular-x);
|
|
3702
|
-
border-bottom: var(--_kjun-border-default-width) solid var(--_kjun-color-
|
|
3999
|
+
border-bottom: var(--_kjun-border-default-width) solid var(--_kjun-color-divider);
|
|
3703
4000
|
overflow-wrap: anywhere;
|
|
3704
4001
|
}
|
|
3705
4002
|
/* Numbers read as one unit: a numeric column keeps its content width instead of breaking between digits. */
|
|
@@ -3710,12 +4007,22 @@
|
|
|
3710
4007
|
.kjun-table[data-compact="true"] td {
|
|
3711
4008
|
padding: var(--_kjun-geometry-table-cell-padding-compact-y) var(--_kjun-geometry-table-cell-padding-compact-x);
|
|
3712
4009
|
}
|
|
3713
|
-
.
|
|
3714
|
-
|
|
4010
|
+
/* Stripes are a faint text tint so they never match the header or an expanded row. They follow the data rows
|
|
4011
|
+
(data-stripe), so an expanded row or a group header does not flip the pattern. */
|
|
4012
|
+
.kjun-table[data-striped="true"] tbody > tr[data-stripe] {
|
|
4013
|
+
background: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-stripe) * 100%), transparent);
|
|
3715
4014
|
}
|
|
3716
4015
|
.kjun-table[data-hoverable="true"] tbody > tr:hover {
|
|
3717
4016
|
background: var(--_kjun-color-table-row-hover);
|
|
3718
4017
|
}
|
|
4018
|
+
.kjun-table tbody > tr[data-selected]:nth-child(n),
|
|
4019
|
+
.kjun-table[data-hoverable="true"] tbody > tr[data-selected]:hover {
|
|
4020
|
+
background: var(--_kjun-color-selected-bg);
|
|
4021
|
+
}
|
|
4022
|
+
/* A sticky header covers the rows beneath it; once rows pass under it, its line turns strong instead of casting a shadow. */
|
|
4023
|
+
.kjun-table-scroll[data-stuck] .kjun-table thead th {
|
|
4024
|
+
border-bottom-color: var(--_kjun-color-border-strong);
|
|
4025
|
+
}
|
|
3719
4026
|
/* Selection and expansion share one fixed utility column width. */
|
|
3720
4027
|
.kjun-table .kjun-table-action-cell {
|
|
3721
4028
|
width: var(--_kjun-geometry-table-action-column-width);
|
|
@@ -3773,16 +4080,56 @@
|
|
|
3773
4080
|
padding: var(--_kjun-geometry-table-empty-padding-y) var(--_kjun-geometry-table-empty-padding-x) !important;
|
|
3774
4081
|
color: var(--_kjun-color-text-secondary);
|
|
3775
4082
|
}
|
|
4083
|
+
/* Group headers: a faint text-tinted band with the collapse button, the app's label and the row count. */
|
|
4084
|
+
.kjun-table tbody > tr.kjun-table-group > th {
|
|
4085
|
+
padding: var(--_kjun-geometry-table-group-padding-y) var(--_kjun-geometry-table-group-padding-x);
|
|
4086
|
+
text-align: start;
|
|
4087
|
+
color: var(--_kjun-color-text);
|
|
4088
|
+
font-size: var(--_kjun-type-body-size);
|
|
4089
|
+
line-height: var(--_kjun-type-body-line);
|
|
4090
|
+
font-weight: var(--_kjun-type-body-weight);
|
|
4091
|
+
background: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-group-fill) * 100%), transparent);
|
|
4092
|
+
border-bottom: 0;
|
|
4093
|
+
}
|
|
4094
|
+
.kjun-table-group-label {
|
|
4095
|
+
display: inline-flex;
|
|
4096
|
+
align-items: center;
|
|
4097
|
+
gap: var(--_kjun-geometry-table-group-gap);
|
|
4098
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4099
|
+
}
|
|
4100
|
+
.kjun-table-group-count {
|
|
4101
|
+
color: var(--_kjun-color-text-tertiary);
|
|
4102
|
+
font-weight: var(--_kjun-type-body-weight);
|
|
4103
|
+
}
|
|
4104
|
+
/* Subtotals read quieter than rows; the total closes the table under a strong text-colored rule. */
|
|
4105
|
+
.kjun-table :is(tbody, tfoot) > tr.kjun-table-summary > td {
|
|
4106
|
+
color: var(--_kjun-color-text-secondary);
|
|
4107
|
+
font-size: var(--_kjun-type-caption-size);
|
|
4108
|
+
line-height: var(--_kjun-type-caption-line);
|
|
4109
|
+
}
|
|
4110
|
+
.kjun-table tfoot > tr.kjun-table-summary[data-kind="total"] > td {
|
|
4111
|
+
color: var(--_kjun-color-text);
|
|
4112
|
+
font-size: var(--_kjun-type-body-size);
|
|
4113
|
+
line-height: var(--_kjun-type-body-line);
|
|
4114
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4115
|
+
border-top: var(--_kjun-border-control-width) solid var(--_kjun-color-text);
|
|
4116
|
+
border-bottom: 0;
|
|
4117
|
+
}
|
|
4118
|
+
/* Neither stripes nor hover paint group and summary rows. */
|
|
4119
|
+
.kjun-table tbody > tr:is(.kjun-table-group, .kjun-table-summary):is(:nth-child(n), :hover) { background: transparent; }
|
|
3776
4120
|
.kjun-table-expanded > td { padding: var(--_kjun-geometry-table-expanded-padding-y) var(--_kjun-geometry-table-expanded-padding-x); }
|
|
3777
4121
|
.kjun-table-expanded {
|
|
3778
4122
|
background: var(--_kjun-color-secondary);
|
|
3779
4123
|
}
|
|
4124
|
+
/* The selection bar takes the toolbar's place at the same height, so selecting never moves the table. */
|
|
3780
4125
|
.kjun-table-selection,
|
|
3781
4126
|
.kjun-table-toolbar {
|
|
3782
4127
|
display: flex;
|
|
3783
4128
|
align-items: center;
|
|
3784
4129
|
gap: var(--_kjun-geometry-dimension-value8);
|
|
3785
4130
|
flex-wrap: wrap;
|
|
4131
|
+
box-sizing: border-box;
|
|
4132
|
+
min-height: var(--_kjun-geometry-table-toolbar-minimum-height);
|
|
3786
4133
|
padding: var(--_kjun-geometry-dimension-value8) var(--_kjun-geometry-dimension-value12);
|
|
3787
4134
|
background: var(--_kjun-color-secondary);
|
|
3788
4135
|
border-bottom: var(--_kjun-border-default-width) solid var(--_kjun-color-border);
|
|
@@ -3795,9 +4142,98 @@
|
|
|
3795
4142
|
.kjun-table-toolbar {
|
|
3796
4143
|
background: var(--_kjun-color-surface);
|
|
3797
4144
|
}
|
|
4145
|
+
/* The selection bar shares the selected rows' fill. */
|
|
3798
4146
|
.kjun-table-selection {
|
|
3799
4147
|
background: var(--_kjun-color-selected-bg);
|
|
3800
4148
|
color: var(--_kjun-color-brand);
|
|
4149
|
+
padding-inline-start: var(--_kjun-geometry-dimension-value8);
|
|
4150
|
+
}
|
|
4151
|
+
.kjun-table-selection > strong { margin-inline-end: auto; }
|
|
4152
|
+
/* responsive="list": rows without a header, a title over one meta line and the value with badges at the end. */
|
|
4153
|
+
.kjun-table-list {
|
|
4154
|
+
display: flex;
|
|
4155
|
+
flex-direction: column;
|
|
4156
|
+
}
|
|
4157
|
+
.kjun-table-list-item {
|
|
4158
|
+
display: flex;
|
|
4159
|
+
align-items: center;
|
|
4160
|
+
gap: var(--_kjun-geometry-table-list-gap);
|
|
4161
|
+
padding: var(--_kjun-geometry-table-list-padding-y) var(--_kjun-geometry-table-list-padding-x);
|
|
4162
|
+
border-radius: var(--_kjun-geometry-table-list-radius);
|
|
4163
|
+
}
|
|
4164
|
+
.kjun-table-list-item[tabindex] { cursor: pointer; }
|
|
4165
|
+
.kjun-table-list-item[data-selected] { background: var(--_kjun-color-selected-bg); }
|
|
4166
|
+
@media (hover: hover) {
|
|
4167
|
+
.kjun-table-list-item[tabindex]:not([data-selected]):hover { background: var(--_kjun-color-hover); }
|
|
4168
|
+
}
|
|
4169
|
+
.kjun-table-list-item:focus-visible {
|
|
4170
|
+
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
4171
|
+
outline-offset: var(--_kjun-state-focus-inset-offset);
|
|
4172
|
+
}
|
|
4173
|
+
.kjun-table-list-main {
|
|
4174
|
+
display: flex;
|
|
4175
|
+
flex-direction: column;
|
|
4176
|
+
gap: var(--_kjun-geometry-table-list-meta-gap);
|
|
4177
|
+
flex: 1;
|
|
4178
|
+
min-width: 0;
|
|
4179
|
+
}
|
|
4180
|
+
.kjun-table-list-title {
|
|
4181
|
+
font-size: var(--_kjun-type-control-size);
|
|
4182
|
+
line-height: var(--_kjun-type-control-line);
|
|
4183
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4184
|
+
overflow-wrap: anywhere;
|
|
4185
|
+
}
|
|
4186
|
+
.kjun-table-list-meta {
|
|
4187
|
+
font-size: var(--_kjun-type-caption-size);
|
|
4188
|
+
line-height: var(--_kjun-type-caption-line);
|
|
4189
|
+
color: var(--_kjun-color-text-tertiary);
|
|
4190
|
+
}
|
|
4191
|
+
.kjun-table-list-side {
|
|
4192
|
+
display: flex;
|
|
4193
|
+
flex-direction: column;
|
|
4194
|
+
align-items: flex-end;
|
|
4195
|
+
gap: var(--_kjun-geometry-table-list-meta-gap);
|
|
4196
|
+
flex-shrink: 0;
|
|
4197
|
+
text-align: right;
|
|
4198
|
+
}
|
|
4199
|
+
.kjun-table-list-value {
|
|
4200
|
+
font-size: var(--_kjun-type-control-size);
|
|
4201
|
+
line-height: var(--_kjun-type-control-line);
|
|
4202
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4203
|
+
font-variant-numeric: tabular-nums;
|
|
4204
|
+
white-space: nowrap;
|
|
4205
|
+
}
|
|
4206
|
+
.kjun-table-list-expand {
|
|
4207
|
+
padding: var(--_kjun-geometry-table-expanded-padding-y) var(--_kjun-geometry-table-expanded-padding-x);
|
|
4208
|
+
border-radius: var(--_kjun-geometry-table-list-radius);
|
|
4209
|
+
background: var(--_kjun-color-secondary);
|
|
4210
|
+
}
|
|
4211
|
+
/* The summary on narrow layouts: a closing block under a strong text-colored rule. */
|
|
4212
|
+
.kjun-table-totals {
|
|
4213
|
+
display: flex;
|
|
4214
|
+
flex-direction: column;
|
|
4215
|
+
gap: var(--_kjun-geometry-table-list-meta-gap);
|
|
4216
|
+
margin-top: var(--_kjun-geometry-table-list-meta-gap);
|
|
4217
|
+
padding: var(--_kjun-geometry-table-list-padding-y) var(--_kjun-geometry-table-list-padding-x);
|
|
4218
|
+
border-top: var(--_kjun-border-control-width) solid var(--_kjun-color-text);
|
|
4219
|
+
}
|
|
4220
|
+
.kjun-table-totals-title {
|
|
4221
|
+
font-size: var(--_kjun-type-control-size);
|
|
4222
|
+
line-height: var(--_kjun-type-control-line);
|
|
4223
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4224
|
+
}
|
|
4225
|
+
.kjun-table-totals-row {
|
|
4226
|
+
display: flex;
|
|
4227
|
+
justify-content: space-between;
|
|
4228
|
+
gap: var(--_kjun-geometry-table-list-gap);
|
|
4229
|
+
font-size: var(--_kjun-type-body-size);
|
|
4230
|
+
line-height: var(--_kjun-type-body-line);
|
|
4231
|
+
color: var(--_kjun-color-text-secondary);
|
|
4232
|
+
}
|
|
4233
|
+
.kjun-table-totals-value {
|
|
4234
|
+
color: var(--_kjun-color-text);
|
|
4235
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4236
|
+
font-variant-numeric: tabular-nums;
|
|
3801
4237
|
}
|
|
3802
4238
|
|
|
3803
4239
|
.kjun-market-row {
|
|
@@ -3874,7 +4310,8 @@
|
|
|
3874
4310
|
flex-wrap: wrap;
|
|
3875
4311
|
align-items: center;
|
|
3876
4312
|
justify-content: flex-end;
|
|
3877
|
-
gap
|
|
4313
|
+
/* The status sits one status gap from the change, like a status after a price. */
|
|
4314
|
+
gap: var(--_kjun-extension-financial-status-gap);
|
|
3878
4315
|
margin-top: var(--_kjun-geometry-dimension-value2);
|
|
3879
4316
|
font-size: var(--_kjun-type-caption-size);
|
|
3880
4317
|
line-height: var(--_kjun-type-caption-line);
|
|
@@ -4818,9 +5255,13 @@
|
|
|
4818
5255
|
}
|
|
4819
5256
|
}
|
|
4820
5257
|
|
|
4821
|
-
.kjun-list-section,.kjun-top-navigation,.kjun-bottom-navigation,.kjun-bottom-action-bar{min-width:0;max-width:100%;color:var(--_kjun-color-text);background:var(--_kjun-color-surface)}
|
|
4822
|
-
.kjun-list-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--_kjun-extension-list-gap);padding:var(--_kjun-extension-list-padding)}.kjun-list-heading h3{font-size:var(--_kjun-type-card-title-size);margin:0;line-height:var(--_kjun-type-card-title-line);font-weight:var(--_kjun-type-card-title-weight);letter-spacing:var(--_kjun-type-card-title-tracking)}.kjun-list-heading p{margin:var(--_kjun-geometry-dimension-value4) 0 0;font-size:var(--_kjun-type-caption-size);color:var(--_kjun-color-text-secondary);overflow-wrap:anywhere;line-height:var(--_kjun-type-caption-line);font-weight:var(--_kjun-type-caption-weight);letter-spacing:var(--_kjun-type-caption-tracking)}
|
|
4823
|
-
.kjun-list{list-style:none;padding:0;margin:0}.kjun-list-row{display:flex;align-items:center;gap:var(--_kjun-extension-list-gap);
|
|
5258
|
+
.kjun-list-section,.kjun-top-navigation,.kjun-bottom-navigation,.kjun-floating-navigation,.kjun-bottom-action-bar{min-width:0;max-width:100%;color:var(--_kjun-color-text);background:var(--_kjun-color-surface)}
|
|
5259
|
+
.kjun-list-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--_kjun-extension-list-gap);padding:var(--_kjun-extension-list-padding)}.kjun-list-heading :is(h2,h3,h4){font-size:var(--_kjun-type-card-title-size);margin:0;line-height:var(--_kjun-type-card-title-line);font-weight:var(--_kjun-type-card-title-weight);letter-spacing:var(--_kjun-type-card-title-tracking)}.kjun-list-heading p{margin:var(--_kjun-geometry-dimension-value4) 0 0;font-size:var(--_kjun-type-caption-size);color:var(--_kjun-color-text-secondary);overflow-wrap:anywhere;line-height:var(--_kjun-type-caption-line);font-weight:var(--_kjun-type-caption-weight);letter-spacing:var(--_kjun-type-caption-tracking)}
|
|
5260
|
+
.kjun-list{list-style:none;padding:0;margin:0}.kjun-list-row{display:flex;align-items:center;gap:var(--_kjun-extension-list-gap);position:relative;min-width:0}/* Dividers start where the text does: the row inset, or past the fixed leading column. */
|
|
5261
|
+
.kjun-list-row:not(:last-child)::after,.kjun-list-item:not(:last-child)::after{content:"";position:absolute;inset-inline:var(--_kjun-list-divider-inset,var(--_kjun-extension-list-padding)) 0;bottom:0;height:var(--_kjun-border-default-width);background:var(--_kjun-color-divider);pointer-events:none}
|
|
5262
|
+
.kjun-list-row[data-leading]{--_kjun-list-divider-inset:calc(var(--_kjun-extension-list-padding) + var(--_kjun-extension-list-leading-width) + var(--_kjun-extension-list-gap))}.kjun-list[data-divider=false]>:is(.kjun-list-row,.kjun-list-item)::after{content:none}.kjun-list[data-density=compact] .kjun-list-main{min-height:var(--_kjun-extension-list-compact-minimum-height);padding-block:var(--_kjun-extension-list-compact-padding-y)}.kjun-list-main{display:flex;align-items:center;gap:var(--_kjun-extension-list-gap);flex:1;min-width:0;min-height:var(--_kjun-extension-list-minimum-height);padding:var(--_kjun-extension-list-padding);text-align:start;color:inherit;text-decoration:none;background:transparent;border:0;font:inherit}.kjun-list-main:is(button,a):not(:disabled,[aria-disabled=true]):hover{background:var(--_kjun-color-hover)}.kjun-list-main:is(button,a):not(:disabled,[aria-disabled=true]):active{background:var(--_kjun-color-active)}.kjun-list-body{flex:1;min-width:0}.kjun-list-content{display:block;margin-top:var(--_kjun-extension-list-description-gap)}.kjun-list-title,.kjun-list-description{display:block;overflow-wrap:anywhere;line-height:1.5}.kjun-list-title{font-size:var(--_kjun-type-control-size);line-height:var(--_kjun-type-control-line);font-weight:var(--_kjun-type-control-weight);letter-spacing:var(--_kjun-type-control-tracking)}.kjun-list-description{font-size:var(--_kjun-type-caption-size);color:var(--_kjun-color-text-secondary);line-height:var(--_kjun-type-caption-line);font-weight:var(--_kjun-type-caption-weight);letter-spacing:var(--_kjun-type-caption-tracking)}/* A fixed leading column keeps titles on one line whether a row shows an icon, an avatar or a wider image. */
|
|
5263
|
+
.kjun-list-leading{flex-shrink:0;display:flex;align-items:center;justify-content:center;min-width:var(--_kjun-extension-list-leading-width)}
|
|
5264
|
+
.kjun-list-icon{color:var(--_kjun-color-text-secondary)}.kjun-list-trailing{overflow-wrap:anywhere;max-width:35%}.kjun-list-actions{display:flex;flex-wrap:wrap;gap:var(--_kjun-extension-list-actions-gap);padding-inline-end:var(--_kjun-extension-list-actions-padding);max-width:45%}
|
|
4824
5265
|
/* A disabled row disables its actions too, so the row never reads as partly available. */
|
|
4825
5266
|
.kjun-list-actions[data-disabled]{opacity:var(--_kjun-state-opacity-disabled)}
|
|
4826
5267
|
.kjun-navigation-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--_kjun-extension-navigation-actions-gap);min-width:0}
|
|
@@ -4828,7 +5269,7 @@
|
|
|
4828
5269
|
/* Initials scale with the avatar (about 40% of its side) and show Latin initials in capitals. */
|
|
4829
5270
|
.kjun-avatar .kjun-image-fallback{text-transform:uppercase;font-size:var(--_kjun-type-input-size);line-height:var(--_kjun-type-input-line)}
|
|
4830
5271
|
.kjun-avatar[data-size=sm] .kjun-image-fallback{font-size:var(--_kjun-type-control-size);line-height:var(--_kjun-type-control-line)}
|
|
4831
|
-
.kjun-avatar[data-size=lg] .kjun-image-fallback{font-size:var(--_kjun-type-section-title-size);line-height:var(--_kjun-type-section-title-line)}.kjun-avatar[data-shape=square]{border-radius:var(--_kjun-geometry-radius-radius8)}
|
|
5272
|
+
.kjun-avatar[data-size=lg] .kjun-image-fallback{font-size:var(--_kjun-type-section-title-size);line-height:var(--_kjun-type-section-title-line)}.kjun-avatar[data-size=xs] .kjun-image-fallback{font-size:var(--_kjun-type-control-small-size);line-height:var(--_kjun-type-control-small-line)}.kjun-avatar[data-size=xl] .kjun-image-fallback{font-size:var(--_kjun-type-page-title-size);line-height:var(--_kjun-type-page-title-line)}.kjun-avatar[data-shape=square]{border-radius:var(--_kjun-geometry-radius-radius8)}
|
|
4832
5273
|
/* App colors (color/textColor) arrive as private custom properties; without them the image roles stay. */
|
|
4833
5274
|
.kjun-avatar .kjun-image{background:var(--_kjun-avatar-color,var(--_kjun-color-secondary))}.kjun-avatar .kjun-image-fallback{color:var(--_kjun-avatar-text-color,var(--_kjun-color-text-secondary))}
|
|
4834
5275
|
.kjun-chip{--_kjun-chip-remove-icon:var(--_kjun-extension-chip-remove-icon-sizes-md);display:inline-flex;max-width:100%;align-items:center;gap:var(--_kjun-extension-chip-gap);min-height:var(--_kjun-extension-chip-md);padding:var(--_kjun-extension-chip-padding-y) var(--_kjun-extension-chip-padding-x);border-radius:var(--_kjun-extension-chip-radius);background:var(--_kjun-color-secondary);font-size:var(--_kjun-extension-chip-typography-md-font-size-px);line-height:var(--_kjun-extension-chip-typography-md-line-height-px);font-weight:var(--_kjun-extension-chip-typography-md-font-weight);letter-spacing:var(--_kjun-extension-chip-typography-md-letter-spacing-em)}
|
|
@@ -4841,17 +5282,17 @@
|
|
|
4841
5282
|
.kjun-chip[data-removable=true]{padding-right:calc(var(--_kjun-extension-chip-padding-x) - (var(--_kjun-extension-chip-remove-size) - var(--_kjun-chip-remove-icon)) / 2)}
|
|
4842
5283
|
.kjun-chip button:hover{background:var(--_kjun-color-hover)}
|
|
4843
5284
|
.kjun-chip[data-disabled=true]{opacity:var(--_kjun-state-opacity-disabled)}
|
|
4844
|
-
/* Links and page buttons use the system ring instead of the browser default
|
|
4845
|
-
.kjun-scope :is(.kjun-list-main,.kjun-bottom-navigation a,.kjun-chip button,.kjun-breadcrumb a,.kjun-
|
|
5285
|
+
/* Links and page buttons use the system ring instead of the browser default. */
|
|
5286
|
+
.kjun-scope :is(.kjun-list-main,.kjun-bottom-navigation a,.kjun-floating-navigation a,.kjun-chip button,.kjun-breadcrumb a,.kjun-external-link,.kjun-pagination-button):focus-visible{outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);outline-offset:var(--_kjun-state-focus-offset)}
|
|
4846
5287
|
/* Kept out of the :is() above: its :not() would raise that whole rule over the inset overrides below. */
|
|
4847
5288
|
.kjun-scope .kjun-pagination button:not(.kjun-select-trigger):focus-visible{outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);outline-offset:var(--_kjun-state-focus-offset)}
|
|
4848
5289
|
/* Inline text links round the ring so it does not box the glyphs. */
|
|
4849
|
-
.kjun-scope :is(.kjun-breadcrumb a,.kjun-
|
|
5290
|
+
.kjun-scope :is(.kjun-breadcrumb a,.kjun-external-link):focus-visible{border-radius:var(--_kjun-geometry-radius-radius4)}
|
|
4850
5291
|
/* Draw the removal ring inside its circle so it stays within the chip outline and clear of the label. */
|
|
4851
5292
|
.kjun-scope .kjun-chip button:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
|
|
4852
5293
|
/* Bottom bars meet the screen edges, so their items draw the ring inside, like tabs. */
|
|
4853
5294
|
.kjun-scope .kjun-bottom-navigation a:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
|
|
4854
|
-
.kjun-scope :is(.kjun-list-main[aria-disabled=true],.kjun-bottom-navigation a[aria-disabled=true],.kjun-list-main:disabled){opacity:var(--_kjun-state-opacity-disabled);cursor:default}
|
|
5295
|
+
.kjun-scope :is(.kjun-list-main[aria-disabled=true],.kjun-bottom-navigation a[aria-disabled=true],.kjun-floating-navigation a[aria-disabled=true],.kjun-list-main:disabled){opacity:var(--_kjun-state-opacity-disabled);cursor:default}
|
|
4855
5296
|
.kjun-slider {
|
|
4856
5297
|
width:100%; min-width:var(--_kjun-extension-slider-minimum-width); display:grid; gap:var(--_kjun-geometry-dimension-value4);
|
|
4857
5298
|
}
|
|
@@ -4968,6 +5409,8 @@
|
|
|
4968
5409
|
.kjun-navigation-leading .kjun-button-label { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
4969
5410
|
|
|
4970
5411
|
.kjun-bottom-navigation { display:flex; flex-shrink:0; }
|
|
5412
|
+
/* A hairline on the surface keeps the bar apart from content scrolling under it; a bar without a surface stays seamless. */
|
|
5413
|
+
.kjun-bottom-navigation:not([data-surface="false"]) { box-shadow:inset 0 var(--_kjun-border-default-width) 0 var(--_kjun-color-divider); }
|
|
4971
5414
|
.kjun-bottom-navigation > a {
|
|
4972
5415
|
position:relative;
|
|
4973
5416
|
display:flex; flex:1; min-width:0; min-height:var(--_kjun-extension-bottom-navigation-minimum-height);
|
|
@@ -4979,31 +5422,76 @@
|
|
|
4979
5422
|
font-weight:var(--_kjun-type-label-weight); letter-spacing:var(--_kjun-type-caption-tracking);
|
|
4980
5423
|
}
|
|
4981
5424
|
.kjun-bottom-navigation[data-icons] > a { justify-content:flex-start; }
|
|
5425
|
+
/* The selected destination swaps to the filled icon; colour and weight carry it without a separate marker. */
|
|
4982
5426
|
.kjun-bottom-navigation > a[aria-current] { color:var(--_kjun-color-brand); font-weight:var(--_kjun-type-control-weight); }
|
|
4983
|
-
/* The indicator hangs under the label, so a neighbour's wrapped label does not pull it away. */
|
|
4984
|
-
.kjun-bottom-navigation > a[aria-current] .kjun-navigation-label::after {
|
|
4985
|
-
content:""; position:absolute; top:calc(100% + var(--_kjun-extension-bottom-navigation-indicator-offset));
|
|
4986
|
-
left:50%; transform:translateX(-50%); width:var(--_kjun-extension-bottom-navigation-indicator-width);
|
|
4987
|
-
height:var(--_kjun-extension-bottom-navigation-indicator-height); border-radius:var(--_kjun-geometry-radius-radius9999);
|
|
4988
|
-
background:currentColor; pointer-events:none;
|
|
4989
|
-
}
|
|
4990
5427
|
.kjun-navigation-icon {
|
|
4991
5428
|
position:relative; display:block; flex-shrink:0;
|
|
4992
5429
|
width:var(--_kjun-extension-bottom-navigation-icon-size); height:var(--_kjun-extension-bottom-navigation-icon-size);
|
|
4993
5430
|
}
|
|
4994
5431
|
.kjun-navigation-label { position:relative; max-width:100%; overflow-wrap:anywhere; }
|
|
5432
|
+
/* Press feedback: a circle behind the icon, or a pill behind a text-only label. isolation keeps it above the bar. */
|
|
5433
|
+
.kjun-bottom-navigation[data-icons] .kjun-navigation-icon, .kjun-bottom-navigation:not([data-icons]) .kjun-navigation-label { isolation:isolate; }
|
|
5434
|
+
.kjun-bottom-navigation[data-icons] .kjun-navigation-icon::before, .kjun-bottom-navigation:not([data-icons]) .kjun-navigation-label::before {
|
|
5435
|
+
content:""; position:absolute; z-index:-1; top:50%; height:var(--_kjun-extension-bottom-navigation-press-size);
|
|
5436
|
+
transform:translateY(-50%); border-radius:var(--_kjun-geometry-radius-radius9999); background:transparent; pointer-events:none;
|
|
5437
|
+
}
|
|
5438
|
+
.kjun-bottom-navigation[data-icons] .kjun-navigation-icon::before { left:50%; width:var(--_kjun-extension-bottom-navigation-press-size); transform:translate(-50%, -50%); }
|
|
5439
|
+
.kjun-bottom-navigation:not([data-icons]) .kjun-navigation-label::before { left:calc(0px - var(--_kjun-extension-bottom-navigation-press-padding-x)); right:calc(0px - var(--_kjun-extension-bottom-navigation-press-padding-x)); }
|
|
5440
|
+
@media (hover:hover) {
|
|
5441
|
+
.kjun-bottom-navigation > a:not([aria-disabled="true"]):hover :is(.kjun-navigation-icon, .kjun-navigation-label)::before { background:var(--_kjun-color-hover); }
|
|
5442
|
+
.kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):hover { background:var(--_kjun-color-hover); }
|
|
5443
|
+
}
|
|
5444
|
+
.kjun-bottom-navigation > a:not([aria-disabled="true"]):active :is(.kjun-navigation-icon, .kjun-navigation-label)::before { background:var(--_kjun-color-active); }
|
|
4995
5445
|
.kjun-navigation-badge {
|
|
4996
5446
|
position:absolute; top:calc(0px - var(--_kjun-extension-bottom-navigation-badge-offset));
|
|
4997
|
-
|
|
5447
|
+
inset-inline-start:calc(100% - var(--_kjun-extension-bottom-navigation-badge-overlap));
|
|
4998
5448
|
display:flex; align-items:center; justify-content:center; pointer-events:none; white-space:nowrap;
|
|
4999
5449
|
min-width:var(--_kjun-extension-bottom-navigation-badge-minimum-size); min-height:var(--_kjun-extension-bottom-navigation-badge-minimum-size);
|
|
5000
5450
|
padding:0 var(--_kjun-extension-bottom-navigation-badge-padding-x); border-radius:var(--_kjun-extension-bottom-navigation-badge-radius);
|
|
5001
|
-
/*
|
|
5002
|
-
background:var(--_kjun-color-
|
|
5003
|
-
box-shadow:0 0 0 var(--_kjun-border-control-width) var(--_kjun-color-surface);
|
|
5451
|
+
/* An alert colour apart from the selection; the surface ring cuts it out of the icon strokes it overlaps. */
|
|
5452
|
+
background:var(--_kjun-color-danger); color:var(--_kjun-color-on-danger);
|
|
5453
|
+
box-shadow:0 0 0 var(--_kjun-border-control-width) var(--_kjun-navigation-ring, var(--_kjun-color-surface));
|
|
5004
5454
|
font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line); font-weight:var(--_kjun-type-control-weight);
|
|
5455
|
+
font-variant-numeric:tabular-nums;
|
|
5005
5456
|
}
|
|
5006
|
-
|
|
5457
|
+
/* A dot sits on the icon's top-right corner. */
|
|
5458
|
+
.kjun-navigation-badge[data-dot] {
|
|
5459
|
+
top:0; inset-inline-start:calc(100% - var(--_kjun-extension-bottom-navigation-dot-size) + var(--_kjun-border-control-width));
|
|
5460
|
+
min-width:0; min-height:0; width:var(--_kjun-extension-bottom-navigation-dot-size); height:var(--_kjun-extension-bottom-navigation-dot-size); padding:0;
|
|
5461
|
+
}
|
|
5462
|
+
/* Without a surface the bar shows the page background, so the ring takes that colour instead. */
|
|
5463
|
+
.kjun-bottom-navigation[data-surface="false"] { --_kjun-navigation-ring: var(--_kjun-color-background); }
|
|
5464
|
+
/* The ring follows the fill under the badge, so hover and press do not show a surface-coloured halo. */
|
|
5465
|
+
@media (hover:hover) {
|
|
5466
|
+
.kjun-bottom-navigation > a:not([aria-disabled="true"]):hover, .kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):hover { --_kjun-navigation-ring: var(--_kjun-color-hover); }
|
|
5467
|
+
}
|
|
5468
|
+
.kjun-bottom-navigation > a:not([aria-disabled="true"]):active, .kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):active { --_kjun-navigation-ring: var(--_kjun-color-active); }
|
|
5469
|
+
/* Beside a text label the badge sits in the line after the text, so it takes room and never covers the next item. */
|
|
5470
|
+
.kjun-navigation-label > .kjun-navigation-badge {
|
|
5471
|
+
position:relative; top:auto; inset-inline-start:auto; display:inline-flex; vertical-align:middle;
|
|
5472
|
+
margin-inline-start:var(--_kjun-extension-bottom-navigation-badge-offset);
|
|
5473
|
+
}
|
|
5474
|
+
.kjun-navigation-label > .kjun-navigation-badge[data-dot] { vertical-align:top; }
|
|
5475
|
+
/* A capsule detached from the screen edge: icons only, the selected destination inverted. */
|
|
5476
|
+
.kjun-floating-navigation {
|
|
5477
|
+
/* More destinations than fit scroll inside the capsule instead of spilling out of it. */
|
|
5478
|
+
display:flex; flex-shrink:0; width:max-content; max-width:calc(100% - 2 * var(--_kjun-extension-floating-navigation-offset)); box-sizing:border-box;
|
|
5479
|
+
overflow-x:auto; scrollbar-width:none;
|
|
5480
|
+
margin:0 auto var(--_kjun-extension-floating-navigation-offset); padding:var(--_kjun-extension-floating-navigation-padding);
|
|
5481
|
+
gap:var(--_kjun-extension-floating-navigation-gap); border-radius:var(--_kjun-extension-floating-navigation-radius);
|
|
5482
|
+
background:var(--_kjun-color-surface); box-shadow:0 0 0 var(--_kjun-border-default-width) var(--_kjun-color-border), var(--_kjun-elevation-floating);
|
|
5483
|
+
}
|
|
5484
|
+
.kjun-floating-navigation > a {
|
|
5485
|
+
position:relative; display:flex; flex:none; align-items:center; justify-content:center; box-sizing:border-box;
|
|
5486
|
+
min-width:var(--_kjun-extension-floating-navigation-item-size); height:var(--_kjun-extension-floating-navigation-item-size);
|
|
5487
|
+
border-radius:var(--_kjun-extension-floating-navigation-radius); color:var(--_kjun-color-text-secondary); text-decoration:none; white-space:nowrap;
|
|
5488
|
+
font-size:var(--_kjun-type-control-size); line-height:var(--_kjun-type-control-line); font-weight:var(--_kjun-type-control-weight); letter-spacing:var(--_kjun-type-control-tracking);
|
|
5489
|
+
}
|
|
5490
|
+
.kjun-floating-navigation > a:has(> .kjun-navigation-label) { padding:0 var(--_kjun-extension-floating-navigation-text-padding-x); }
|
|
5491
|
+
.kjun-floating-navigation .kjun-navigation-icon { width:var(--_kjun-extension-floating-navigation-icon-size); height:var(--_kjun-extension-floating-navigation-icon-size); }
|
|
5492
|
+
.kjun-floating-navigation > a[aria-current] { background:var(--_kjun-color-text); color:var(--_kjun-color-surface); }
|
|
5493
|
+
.kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):active { background:var(--_kjun-color-active); }
|
|
5494
|
+
.kjun-floating-navigation > a[aria-current] { --_kjun-navigation-ring: var(--_kjun-color-text); }
|
|
5007
5495
|
/* The query measures content width; outer insets are excluded. */
|
|
5008
5496
|
.kjun-bottom-action-bar {
|
|
5009
5497
|
container:kjun-bottom-action / inline-size; flex-shrink:0;
|
|
@@ -5034,6 +5522,9 @@
|
|
|
5034
5522
|
.kjun-list-description { margin-top:var(--_kjun-extension-list-description-gap); }
|
|
5035
5523
|
|
|
5036
5524
|
.kjun-list-heading > div { flex:1; min-width:0; overflow-wrap:anywhere; }
|
|
5525
|
+
/* A title without a description labels the rows below as a small group header instead of floating above them. */
|
|
5526
|
+
.kjun-list-heading[data-bare] { padding-bottom:var(--_kjun-extension-list-bare-heading-padding-bottom); }
|
|
5527
|
+
.kjun-list-heading[data-bare] :is(h2,h3,h4) { font-size:var(--_kjun-type-control-small-size); line-height:var(--_kjun-type-control-small-line); font-weight:var(--_kjun-type-control-small-weight); letter-spacing:var(--_kjun-type-control-small-tracking); color:var(--_kjun-color-text-secondary); }
|
|
5037
5528
|
|
|
5038
5529
|
/* KjunFab: a round action pinned to the viewport's bottom end, above page content and clear of the safe area. */
|
|
5039
5530
|
.kjun-fab{position:fixed;right:var(--_kjun-extension-fab-inset);z-index:var(--_kjun-layer-page-navigation);display:inline-flex;align-items:center;justify-content:center;width:var(--_kjun-extension-fab-size);height:var(--_kjun-extension-fab-size);padding:0;border:0;border-radius:50%;background:var(--_kjun-color-brand);color:var(--_kjun-color-on-brand);box-shadow:var(--_kjun-elevation-floating);cursor:pointer}
|
|
@@ -5042,17 +5533,45 @@
|
|
|
5042
5533
|
.kjun-fab:disabled{opacity:var(--_kjun-state-opacity-disabled);cursor:not-allowed}
|
|
5043
5534
|
|
|
5044
5535
|
/* 0.14.0: plain sections, destructive rows, decorative chevrons and non-row list items share the row inset. */
|
|
5045
|
-
.kjun-list-section[data-surface="false"]{background:transparent}
|
|
5536
|
+
.kjun-list-section[data-surface="false"],.kjun-top-navigation[data-surface="false"],.kjun-bottom-navigation[data-surface="false"],.kjun-bottom-action-bar[data-surface="false"]{background:transparent}
|
|
5046
5537
|
/* A rounded section clips its rows to the corners; row focus rings move inside so the clip does not cut them. */
|
|
5047
5538
|
.kjun-list-section[data-radius]{overflow:hidden;overflow:clip}
|
|
5048
5539
|
.kjun-list-section[data-radius] .kjun-list-main:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
|
|
5049
5540
|
.kjun-list-row[data-destructive] .kjun-list-title{color:var(--_kjun-color-danger)}
|
|
5050
5541
|
.kjun-list-chevron{flex-shrink:0;color:var(--_kjun-color-text-tertiary)}
|
|
5051
|
-
.
|
|
5052
|
-
.kjun-list-
|
|
5053
|
-
.
|
|
5542
|
+
/* A value at the row's end reads one step below the title. */
|
|
5543
|
+
.kjun-list-trailing { color:var(--_kjun-color-text-secondary); }
|
|
5544
|
+
/* Korean wraps between words, never inside one. */
|
|
5545
|
+
.kjun-list-title, .kjun-list-description { word-break:keep-all; overflow-wrap:anywhere; }
|
|
5546
|
+
/* With a description the leading column covers the first two lines, so a long row keeps its icon beside the title. */
|
|
5547
|
+
.kjun-list-main:has(.kjun-list-description) > .kjun-list-leading { align-self:flex-start; height:calc(var(--_kjun-type-control-line) + var(--_kjun-extension-list-description-gap) + var(--_kjun-type-caption-line)); }
|
|
5548
|
+
.kjun-list-row[data-destructive] .kjun-list-icon { color:var(--_kjun-color-danger); }
|
|
5549
|
+
/* Pressable rows dim through :disabled; a static row (a switch or text) dims here so nothing in it reads as available. */
|
|
5550
|
+
.kjun-list-row[data-disabled] > div.kjun-list-main { opacity:var(--_kjun-state-opacity-disabled); }
|
|
5551
|
+
.kjun-list-check { flex-shrink:0; color:var(--_kjun-color-brand); }
|
|
5552
|
+
.kjun-list-main > .kjun-switch { flex-shrink:0; }
|
|
5553
|
+
/* Heading actions sit on the title line, not between the title and its description. */
|
|
5554
|
+
.kjun-list-heading { align-items:flex-start; }
|
|
5555
|
+
.kjun-list-heading-actions { display:flex; align-items:center; flex-shrink:0; min-height:var(--_kjun-type-card-title-line); }
|
|
5556
|
+
.kjun-list-heading[data-bare] .kjun-list-heading-actions { min-height:var(--_kjun-type-control-small-line); }
|
|
5557
|
+
/* A rounded section with a label title keeps the label and footer on the page, above and below its card. */
|
|
5558
|
+
.kjun-list-section[data-outside] { background:transparent; overflow:visible; }
|
|
5559
|
+
.kjun-list-section[data-outside] > .kjun-list-heading { padding-top:0; padding-bottom:var(--_kjun-extension-list-outside-label-gap); }
|
|
5560
|
+
.kjun-list-panel { background:var(--_kjun-color-surface); overflow:hidden; overflow:clip; }
|
|
5561
|
+
.kjun-list-panel[data-surface="false"] { background:transparent; }
|
|
5562
|
+
.kjun-list-section > .kjun-list-panel .kjun-list-main:focus-visible { outline-offset:var(--_kjun-state-focus-inset-offset); }
|
|
5563
|
+
.kjun-list-empty { padding:var(--_kjun-extension-list-padding); }
|
|
5564
|
+
.kjun-list-footer { padding:var(--_kjun-extension-list-footer-gap) var(--_kjun-extension-list-padding) var(--_kjun-extension-list-padding); font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line); color:var(--_kjun-color-text-tertiary); overflow-wrap:anywhere; word-break:keep-all; }
|
|
5565
|
+
.kjun-list-section[data-outside] > .kjun-list-footer { padding-bottom:0; }
|
|
5566
|
+
/* KjunListGroup sets the spacing between its sections: rounded cards apart, or flush sections close together. */
|
|
5567
|
+
.kjun-list-group { display:flex; flex-direction:column; gap:var(--_kjun-extension-list-group-gap); min-width:0; }
|
|
5568
|
+
.kjun-list-group[data-variant="flush"] { gap:var(--_kjun-extension-list-flush-group-gap); }
|
|
5569
|
+
.kjun-list-item{padding:var(--_kjun-extension-list-padding);position:relative;min-width:0}
|
|
5054
5570
|
.kjun-list[data-density=compact]>.kjun-list-item{padding-block:var(--_kjun-extension-list-compact-padding-y)}
|
|
5055
5571
|
|
|
5572
|
+
/* titleLines / descriptionLines clamp a row's text to a few lines with an ellipsis. */
|
|
5573
|
+
.kjun-list-title[data-clamp],.kjun-list-description[data-clamp]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
|
|
5574
|
+
|
|
5056
5575
|
/* Compound fields share input geometry; buttons retain their own size contract. */
|
|
5057
5576
|
.kjun-quantity,.kjun-time-picker {
|
|
5058
5577
|
--_kjun-compound-height: var(--_kjun-geometry-input-md-height);
|
|
@@ -5101,10 +5620,12 @@
|
|
|
5101
5620
|
.kjun-quantity .kjun-input:is(:focus,:focus-visible,[aria-invalid="true"]):not(:disabled) { outline:none; box-shadow:none; border-color:transparent; }
|
|
5102
5621
|
.kjun-quantity input:is(:hover,:focus):not(:disabled) { background:var(--_kjun-color-hover); }
|
|
5103
5622
|
|
|
5104
|
-
|
|
5623
|
+
/* A time is a short fixed-length value, so the field hugs it; block stretches it like Input. */
|
|
5624
|
+
.kjun-time-picker { display:inline-flex; align-items:center; width:max-content; border-radius:var(--_kjun-compound-radius); background:var(--_kjun-color-input-bg); }
|
|
5625
|
+
.kjun-time-picker[data-block="true"] { display:flex; width:100%; }
|
|
5105
5626
|
.kjun-time-picker:focus-within,.kjun-time-picker:has([aria-expanded="true"]) { outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset:var(--_kjun-state-focus-offset); }
|
|
5106
5627
|
.kjun-time-segments { display:flex; align-items:center; flex:1; min-width:0; }
|
|
5107
|
-
/* Segments hug their values so "09
|
|
5628
|
+
/* Segments hug their values so "09:30" stays together; in a block field leftover width collects before the trailing icon. */
|
|
5108
5629
|
.kjun-time-segment { flex:0 0 auto; min-width:var(--_kjun-extension-time-picker-segment-minimum-width); }
|
|
5109
5630
|
/* Same type as the segment values so "09 : 30" reads as one time. */
|
|
5110
5631
|
.kjun-time-separator { flex:0 0 var(--_kjun-extension-time-picker-separator-width); text-align:center; font-size:var(--_kjun-type-input-size); line-height:var(--_kjun-type-input-line); color:var(--_kjun-color-text-secondary); }
|
|
@@ -5112,13 +5633,31 @@
|
|
|
5112
5633
|
.kjun-time-picker[data-disabled="true"] .kjun-time-separator { color:var(--_kjun-color-text-disabled); }
|
|
5113
5634
|
.kjun-time-picker [data-time-segment] { background:transparent; border-color:transparent; text-align:center; font-variant-numeric:tabular-nums; gap:var(--_kjun-extension-time-picker-segment-padding); padding-inline:var(--_kjun-extension-time-picker-segment-padding); }
|
|
5114
5635
|
/* The first value starts on the field text line, like Input and DatePicker values. */
|
|
5115
|
-
|
|
5636
|
+
/* Its trailing room matches the centred gap of the other segments, so every colon sits midway between its values. */
|
|
5637
|
+
.kjun-time-segment:first-child [data-time-segment] {
|
|
5638
|
+
padding-inline:calc(var(--_kjun-compound-padding) - var(--_kjun-border-control-width)) calc((var(--_kjun-extension-time-picker-segment-minimum-width) - 2ch) / 2);
|
|
5639
|
+
}
|
|
5640
|
+
.kjun-time-segment:first-child [data-time-segment] > span { text-align:start; }
|
|
5116
5641
|
/* Two digits wide, so the placeholder and the value occupy the same slot. */
|
|
5117
5642
|
.kjun-time-picker [data-time-segment] > span { flex:0 0 auto; min-width:2ch; text-align:center; }
|
|
5118
|
-
.kjun-time-picker [data-time-segment]:is(:hover,:focus-visible
|
|
5643
|
+
.kjun-time-picker [data-time-segment]:is(:hover,:focus-visible):not(:disabled) { background:var(--_kjun-color-hover); }
|
|
5644
|
+
/* The segment whose list is open stays marked while the pointer moves into the list. */
|
|
5645
|
+
.kjun-time-picker [data-time-segment][aria-expanded="true"]:not(:disabled) { background:var(--_kjun-color-active); }
|
|
5646
|
+
/* A read-only time shows its value without the hover of a control that opens. */
|
|
5647
|
+
.kjun-time-picker[data-readonly] [data-time-segment] { cursor:default; }
|
|
5648
|
+
.kjun-time-picker[data-readonly] [data-time-segment]:is(:hover,:focus-visible):not(:disabled) { background:transparent; }
|
|
5649
|
+
/* The AM/PM word sits a separator's width from the hour instead of a ":". */
|
|
5650
|
+
.kjun-time-segment[data-period] + .kjun-time-segment, .kjun-time-segment + .kjun-time-segment[data-period] { margin-inline-start:var(--_kjun-extension-time-picker-separator-width); }
|
|
5119
5651
|
/* Scoped like the Vue field ring it replaces (.kjun-scope .kjun-field:focus-visible); the group ring above is the only outline. */
|
|
5120
5652
|
.kjun-scope .kjun-time-picker [data-time-segment]:is(:focus,:focus-visible,[aria-invalid="true"]) { outline:none; border-color:transparent; box-shadow:none; }
|
|
5121
5653
|
.kjun-time-clear { flex:0 0 var(--_kjun-geometry-native-minimum-touch-target); width:var(--_kjun-geometry-native-minimum-touch-target); padding:0; }
|
|
5654
|
+
/* Without a value to clear (or while disabled) the trailing slot shows what the field holds. */
|
|
5655
|
+
.kjun-time-icon { display:flex; flex:0 0 var(--_kjun-geometry-native-minimum-touch-target); align-items:center; justify-content:center; color:var(--_kjun-color-text-tertiary); }
|
|
5656
|
+
.kjun-time-picker[data-disabled="true"] .kjun-time-icon { color:var(--_kjun-color-text-disabled); }
|
|
5657
|
+
/* Segment lists are as narrow as two digits: centred numbers, the selected one inverted, no check mark. */
|
|
5658
|
+
.kjun-select-panel.kjun-time-options { min-width:var(--_kjun-extension-time-picker-options-width); }
|
|
5659
|
+
.kjun-time-options .kjun-option { justify-content:center; padding-inline:0; font-variant-numeric:tabular-nums; }
|
|
5660
|
+
.kjun-time-options .kjun-option[aria-selected="true"] { background:var(--_kjun-color-text); color:var(--_kjun-color-surface); font-weight:var(--_kjun-type-control-weight); }
|
|
5122
5661
|
@media (pointer:coarse) {
|
|
5123
5662
|
.kjun-time-picker [data-time-segment],.kjun-time-picker .kjun-time-clear { min-height:var(--_kjun-geometry-native-minimum-touch-target); }
|
|
5124
5663
|
}
|
|
@@ -5135,6 +5674,8 @@
|
|
|
5135
5674
|
[data-variant="underline"] .kjun-tab-indicator { background: var(--_kjun-color-brand); border-radius: calc(var(--_kjun-extension-tabs-indicator-height) / 2); }
|
|
5136
5675
|
.kjun-tabs-track .kjun-tab, .kjun-vue-tabs .kjun-tab { z-index: 1; background: transparent !important; }
|
|
5137
5676
|
.kjun-tabs-track .kjun-tab::after, .kjun-vue-tabs .kjun-tab::after { display: none; }
|
|
5677
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab { transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out), color var(--_kjun-motion-control) var(--_kjun-ease-out); }
|
|
5678
|
+
.kjun-bottom-navigation :is(.kjun-navigation-icon, .kjun-navigation-label)::before, .kjun-floating-navigation > a { transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out); }
|
|
5138
5679
|
.kjun-accordion-trigger svg { transition: transform var(--_kjun-motion-collapse) var(--_kjun-ease-out); }
|
|
5139
5680
|
.kjun-motion-collapse { overflow: hidden; }
|
|
5140
5681
|
.kjun-scope[data-motion] { animation: none; }
|
|
@@ -5162,7 +5703,8 @@
|
|
|
5162
5703
|
@keyframes kjun-tooltip-in { from { opacity: 0; } to { opacity: 1; } }
|
|
5163
5704
|
@keyframes kjun-tooltip-out { from { opacity: 1; } to { opacity: 0; } }
|
|
5164
5705
|
@media (prefers-reduced-motion: reduce) {
|
|
5165
|
-
.kjun-tab-indicator[data-animate="true"], .kjun-accordion-trigger svg
|
|
5706
|
+
.kjun-tab-indicator[data-animate="true"], .kjun-tabs[data-variant="pills"] .kjun-tab, .kjun-accordion-trigger svg,
|
|
5707
|
+
.kjun-bottom-navigation :is(.kjun-navigation-icon, .kjun-navigation-label)::before, .kjun-floating-navigation > a { transition: none; }
|
|
5166
5708
|
.kjun-scope[data-motion], .kjun-scope[data-motion]::before, .kjun-scope[data-motion] .kjun-modal, .kjun-scope[data-motion] .kjun-drawer { transition: none !important; }
|
|
5167
5709
|
.kjun-tooltip[data-entering], .kjun-tooltip[data-exiting] { animation-duration: 0s; }
|
|
5168
5710
|
}
|
|
@@ -5310,3 +5852,307 @@
|
|
|
5310
5852
|
|
|
5311
5853
|
/* 직계 폼 그룹은 자체 아래 여백 대신 부모 gap만 따른다. */
|
|
5312
5854
|
:is([data-kjun-stack], [data-kjun-inline]) > .kjun-form-group { margin-bottom: 0; }
|
|
5855
|
+
|
|
5856
|
+
/* KjunCarousel: native horizontal scrolling that snaps to each slide's start edge. */
|
|
5857
|
+
.kjun-carousel {
|
|
5858
|
+
--_kjun-carousel-gap: var(--_kjun-geometry-space-inline-md);
|
|
5859
|
+
--_kjun-carousel-bleed: 0px;
|
|
5860
|
+
min-width: 0;
|
|
5861
|
+
max-width: 100%;
|
|
5862
|
+
}
|
|
5863
|
+
/* bleed: the scroller reaches into the page's side padding, and its own padding keeps the first slide on the content edge. */
|
|
5864
|
+
.kjun-carousel[data-bleed] {
|
|
5865
|
+
max-width: none;
|
|
5866
|
+
margin-inline: calc(-1 * var(--_kjun-carousel-bleed));
|
|
5867
|
+
}
|
|
5868
|
+
.kjun-carousel[data-bleed="sm"] {
|
|
5869
|
+
--_kjun-carousel-bleed: var(--_kjun-geometry-space-inset-sm);
|
|
5870
|
+
}
|
|
5871
|
+
.kjun-carousel[data-bleed="md"] {
|
|
5872
|
+
--_kjun-carousel-bleed: var(--_kjun-geometry-space-inset-md);
|
|
5873
|
+
}
|
|
5874
|
+
.kjun-carousel[data-bleed="lg"] {
|
|
5875
|
+
--_kjun-carousel-bleed: var(--_kjun-geometry-space-inset-lg);
|
|
5876
|
+
}
|
|
5877
|
+
.kjun-carousel[data-bleed] > :not(.kjun-carousel-frame, .kjun-sr-only) {
|
|
5878
|
+
padding-inline: var(--_kjun-carousel-bleed);
|
|
5879
|
+
}
|
|
5880
|
+
.kjun-carousel[data-gap="none"] {
|
|
5881
|
+
--_kjun-carousel-gap: 0px;
|
|
5882
|
+
}
|
|
5883
|
+
.kjun-carousel[data-gap="sm"] {
|
|
5884
|
+
--_kjun-carousel-gap: var(--_kjun-geometry-space-inline-sm);
|
|
5885
|
+
}
|
|
5886
|
+
.kjun-carousel[data-gap="lg"] {
|
|
5887
|
+
--_kjun-carousel-gap: var(--_kjun-geometry-space-inline-lg);
|
|
5888
|
+
}
|
|
5889
|
+
.kjun-carousel-frame {
|
|
5890
|
+
position: relative;
|
|
5891
|
+
}
|
|
5892
|
+
.kjun-carousel-viewport {
|
|
5893
|
+
position: relative;
|
|
5894
|
+
display: flex;
|
|
5895
|
+
gap: var(--_kjun-carousel-gap);
|
|
5896
|
+
overflow-x: auto;
|
|
5897
|
+
overflow-y: hidden;
|
|
5898
|
+
overscroll-behavior-x: contain;
|
|
5899
|
+
scroll-snap-type: x mandatory;
|
|
5900
|
+
scrollbar-width: none;
|
|
5901
|
+
border-radius: inherit;
|
|
5902
|
+
padding-inline: var(--_kjun-carousel-bleed);
|
|
5903
|
+
scroll-padding-inline: var(--_kjun-carousel-bleed);
|
|
5904
|
+
}
|
|
5905
|
+
/* center: the current slide sits in the middle; with peek, the viewport padding shows a neighbour on each side. */
|
|
5906
|
+
.kjun-carousel[data-align="center"] .kjun-carousel-slide {
|
|
5907
|
+
scroll-snap-align: center;
|
|
5908
|
+
}
|
|
5909
|
+
.kjun-carousel[data-align="center"][data-size="peek"] .kjun-carousel-viewport {
|
|
5910
|
+
padding-inline: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-peek) + var(--_kjun-carousel-gap));
|
|
5911
|
+
}
|
|
5912
|
+
.kjun-carousel[data-align="center"][data-size="peek"] .kjun-carousel-slide {
|
|
5913
|
+
flex-basis: 100%;
|
|
5914
|
+
}
|
|
5915
|
+
.kjun-carousel-viewport::-webkit-scrollbar {
|
|
5916
|
+
display: none;
|
|
5917
|
+
}
|
|
5918
|
+
/* The ring goes on the frame, rounded like a card, so the scroller's clipping does not cut it square. */
|
|
5919
|
+
.kjun-carousel-viewport:focus-visible {
|
|
5920
|
+
outline: none;
|
|
5921
|
+
}
|
|
5922
|
+
.kjun-carousel-frame:has(> .kjun-carousel-viewport:focus-visible) {
|
|
5923
|
+
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
5924
|
+
outline-offset: var(--_kjun-state-focus-offset);
|
|
5925
|
+
border-radius: var(--_kjun-extension-carousel-focus-radius);
|
|
5926
|
+
}
|
|
5927
|
+
.kjun-carousel-slide {
|
|
5928
|
+
flex: 0 0 100%;
|
|
5929
|
+
min-width: 0;
|
|
5930
|
+
scroll-snap-align: start;
|
|
5931
|
+
scroll-snap-stop: always;
|
|
5932
|
+
}
|
|
5933
|
+
.kjun-carousel[data-size="peek"] .kjun-carousel-slide {
|
|
5934
|
+
flex-basis: calc(100% - var(--_kjun-extension-carousel-peek) - var(--_kjun-carousel-gap));
|
|
5935
|
+
}
|
|
5936
|
+
.kjun-carousel[data-size="auto"] .kjun-carousel-slide {
|
|
5937
|
+
flex: 0 0 auto;
|
|
5938
|
+
scroll-snap-stop: normal;
|
|
5939
|
+
}
|
|
5940
|
+
.kjun-carousel-header {
|
|
5941
|
+
display: flex;
|
|
5942
|
+
align-items: center;
|
|
5943
|
+
justify-content: space-between;
|
|
5944
|
+
gap: var(--_kjun-extension-carousel-header-gap);
|
|
5945
|
+
margin-bottom: var(--_kjun-extension-carousel-header-gap);
|
|
5946
|
+
}
|
|
5947
|
+
.kjun-carousel-title {
|
|
5948
|
+
min-width: 0;
|
|
5949
|
+
margin: 0;
|
|
5950
|
+
color: var(--_kjun-color-text);
|
|
5951
|
+
}
|
|
5952
|
+
.kjun-carousel-header-controls {
|
|
5953
|
+
display: none;
|
|
5954
|
+
flex: none;
|
|
5955
|
+
gap: var(--_kjun-extension-carousel-header-controls-gap);
|
|
5956
|
+
}
|
|
5957
|
+
/* Side buttons float over the slide edges: a surface circle lifted by the floating elevation. */
|
|
5958
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button {
|
|
5959
|
+
position: absolute;
|
|
5960
|
+
top: 50%;
|
|
5961
|
+
display: none;
|
|
5962
|
+
background: var(--_kjun-color-surface);
|
|
5963
|
+
color: var(--_kjun-color-text);
|
|
5964
|
+
box-shadow: 0 0 0 var(--_kjun-border-default-width) var(--_kjun-color-border), var(--_kjun-elevation-floating);
|
|
5965
|
+
transform: translateY(-50%);
|
|
5966
|
+
opacity: 0;
|
|
5967
|
+
pointer-events: none;
|
|
5968
|
+
transition: opacity var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
5969
|
+
}
|
|
5970
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button:hover:not(:disabled) {
|
|
5971
|
+
background: var(--_kjun-color-hover);
|
|
5972
|
+
}
|
|
5973
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button:active:not(:disabled) {
|
|
5974
|
+
transform: translateY(-50%) scale(0.98);
|
|
5975
|
+
}
|
|
5976
|
+
.kjun-carousel-control[data-direction="previous"] {
|
|
5977
|
+
inset-inline-start: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-control-inset));
|
|
5978
|
+
}
|
|
5979
|
+
.kjun-carousel-control[data-direction="next"] {
|
|
5980
|
+
inset-inline-end: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-control-inset));
|
|
5981
|
+
}
|
|
5982
|
+
/* Touch screens swipe; buttons are for pointers that can hover. */
|
|
5983
|
+
@media (hover: hover) and (pointer: fine) {
|
|
5984
|
+
.kjun-carousel-header-controls,
|
|
5985
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button {
|
|
5986
|
+
display: flex;
|
|
5987
|
+
}
|
|
5988
|
+
.kjun-carousel-frame:is(:hover, :focus-within) > .kjun-carousel-control.kjun-button {
|
|
5989
|
+
opacity: 1;
|
|
5990
|
+
pointer-events: auto;
|
|
5991
|
+
}
|
|
5992
|
+
}
|
|
5993
|
+
.kjun-carousel-indicators {
|
|
5994
|
+
display: flex;
|
|
5995
|
+
justify-content: center;
|
|
5996
|
+
margin-top: calc(var(--_kjun-extension-carousel-indicator-offset) - (var(--_kjun-extension-carousel-indicator-press) - var(--_kjun-extension-carousel-indicator-size)) / 2);
|
|
5997
|
+
}
|
|
5998
|
+
.kjun-carousel-indicator {
|
|
5999
|
+
display: inline-flex;
|
|
6000
|
+
align-items: center;
|
|
6001
|
+
justify-content: center;
|
|
6002
|
+
width: var(--_kjun-extension-carousel-indicator-press-width);
|
|
6003
|
+
height: var(--_kjun-extension-carousel-indicator-press);
|
|
6004
|
+
padding: 0;
|
|
6005
|
+
border: 0;
|
|
6006
|
+
background: none;
|
|
6007
|
+
cursor: pointer;
|
|
6008
|
+
}
|
|
6009
|
+
.kjun-carousel-indicator::before {
|
|
6010
|
+
content: "";
|
|
6011
|
+
width: var(--_kjun-extension-carousel-indicator-size);
|
|
6012
|
+
height: var(--_kjun-extension-carousel-indicator-size);
|
|
6013
|
+
border-radius: var(--_kjun-geometry-radius-radius9999);
|
|
6014
|
+
background: var(--_kjun-color-border-strong);
|
|
6015
|
+
transition: width var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
6016
|
+
}
|
|
6017
|
+
.kjun-carousel-indicator[aria-current="true"]::before {
|
|
6018
|
+
width: var(--_kjun-extension-carousel-indicator-active-width);
|
|
6019
|
+
background: var(--_kjun-color-text);
|
|
6020
|
+
}
|
|
6021
|
+
.kjun-carousel-indicator:focus-visible {
|
|
6022
|
+
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
6023
|
+
outline-offset: var(--_kjun-state-focus-offset);
|
|
6024
|
+
border-radius: var(--_kjun-geometry-radius-radius9999);
|
|
6025
|
+
}
|
|
6026
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6027
|
+
.kjun-carousel-indicator::before,
|
|
6028
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button {
|
|
6029
|
+
transition: none;
|
|
6030
|
+
}
|
|
6031
|
+
}
|
|
6032
|
+
.kjun-carousel-count {
|
|
6033
|
+
display: flex;
|
|
6034
|
+
align-items: center;
|
|
6035
|
+
justify-content: center;
|
|
6036
|
+
height: var(--_kjun-extension-carousel-indicator-press);
|
|
6037
|
+
margin-top: calc(var(--_kjun-extension-carousel-indicator-offset) - (var(--_kjun-extension-carousel-indicator-press) - var(--_kjun-extension-carousel-indicator-size)) / 2);
|
|
6038
|
+
color: var(--_kjun-color-text-secondary);
|
|
6039
|
+
font-size: var(--_kjun-type-caption-size);
|
|
6040
|
+
line-height: var(--_kjun-type-caption-line);
|
|
6041
|
+
font-weight: var(--_kjun-type-caption-weight);
|
|
6042
|
+
font-variant-numeric: tabular-nums;
|
|
6043
|
+
}
|
|
6044
|
+
/* A mouse can drag the slides; while it does, snapping is off and text stays unselected. */
|
|
6045
|
+
@media (hover: hover) and (pointer: fine) {
|
|
6046
|
+
.kjun-carousel[data-mouse-drag] .kjun-carousel-viewport {
|
|
6047
|
+
cursor: grab;
|
|
6048
|
+
}
|
|
6049
|
+
}
|
|
6050
|
+
.kjun-carousel-viewport[data-dragging] {
|
|
6051
|
+
cursor: grabbing;
|
|
6052
|
+
user-select: none;
|
|
6053
|
+
}
|
|
6054
|
+
/* overlay: the position sits on the slides in a scrim pill, legible over any image. */
|
|
6055
|
+
.kjun-carousel-frame > :is(.kjun-carousel-indicators, .kjun-carousel-count) {
|
|
6056
|
+
position: absolute;
|
|
6057
|
+
bottom: var(--_kjun-extension-carousel-control-inset);
|
|
6058
|
+
height: var(--_kjun-extension-carousel-indicator-press);
|
|
6059
|
+
margin: 0;
|
|
6060
|
+
padding-inline: var(--_kjun-extension-carousel-overlay-padding-x);
|
|
6061
|
+
border-radius: var(--_kjun-geometry-radius-radius9999);
|
|
6062
|
+
background: var(--_kjun-color-overlay);
|
|
6063
|
+
color: var(--_kjun-color-inverse);
|
|
6064
|
+
}
|
|
6065
|
+
.kjun-carousel-frame > .kjun-carousel-indicators {
|
|
6066
|
+
left: 50%;
|
|
6067
|
+
transform: translateX(-50%);
|
|
6068
|
+
}
|
|
6069
|
+
.kjun-carousel-frame > .kjun-carousel-count {
|
|
6070
|
+
inset-inline-end: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-control-inset));
|
|
6071
|
+
}
|
|
6072
|
+
.kjun-carousel-frame > .kjun-carousel-indicators .kjun-carousel-indicator::before {
|
|
6073
|
+
background: color-mix(in srgb, var(--_kjun-color-inverse) 50%, transparent);
|
|
6074
|
+
}
|
|
6075
|
+
.kjun-carousel-frame > .kjun-carousel-indicators .kjun-carousel-indicator[aria-current="true"]::before {
|
|
6076
|
+
background: var(--_kjun-color-inverse);
|
|
6077
|
+
}
|
|
6078
|
+
/* Elements that act like buttons keep a pointer over a draggable carousel. */
|
|
6079
|
+
.kjun-carousel[data-mouse-drag] .kjun-carousel-viewport [role="button"] {
|
|
6080
|
+
cursor: pointer;
|
|
6081
|
+
}
|
|
6082
|
+
|
|
6083
|
+
/* Date fields open KJUN's calendar on every platform; the trigger is a Select-style field. */
|
|
6084
|
+
.kjun-date-trigger > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-variant-numeric: tabular-nums; }
|
|
6085
|
+
.kjun-calendar-panel { width: var(--_kjun-extension-calendar-width); max-width: calc(100vw - 2 * var(--_kjun-extension-floating-viewport-inset)); border-radius: var(--_kjun-extension-calendar-radius); padding: var(--_kjun-extension-calendar-padding); box-sizing: border-box; }
|
|
6086
|
+
.kjun-calendar { display: flex; flex-direction: column; color: var(--_kjun-color-text); }
|
|
6087
|
+
.kjun-calendar-head { display: flex; align-items: center; gap: var(--_kjun-extension-calendar-title-gap); min-height: var(--_kjun-extension-calendar-header-height); }
|
|
6088
|
+
/* The heading opens the month view; it reads larger than the days so the month leads. */
|
|
6089
|
+
.kjun-calendar-title {
|
|
6090
|
+
display: inline-flex; align-items: center; gap: var(--_kjun-extension-calendar-title-gap); margin-right: auto;
|
|
6091
|
+
height: var(--_kjun-extension-calendar-nav-size); padding: 0 var(--_kjun-geometry-dimension-value8); border: 0; border-radius: var(--_kjun-geometry-radius-radius10);
|
|
6092
|
+
background: transparent; color: var(--_kjun-color-text); cursor: pointer;
|
|
6093
|
+
font-size: var(--_kjun-type-card-title-size); line-height: var(--_kjun-type-card-title-line); font-weight: var(--_kjun-type-card-title-weight);
|
|
6094
|
+
}
|
|
6095
|
+
.kjun-calendar-title svg { color: var(--_kjun-color-text-tertiary); }
|
|
6096
|
+
.kjun-calendar-title:hover, .kjun-calendar-nav:hover:not(:disabled) { background: var(--_kjun-color-hover); }
|
|
6097
|
+
.kjun-calendar-nav {
|
|
6098
|
+
display: inline-flex; align-items: center; justify-content: center; flex: none;
|
|
6099
|
+
width: var(--_kjun-extension-calendar-nav-size); height: var(--_kjun-extension-calendar-nav-size); padding: 0; border: 0;
|
|
6100
|
+
border-radius: var(--_kjun-geometry-radius-radius10); background: transparent; color: var(--_kjun-color-text); cursor: pointer;
|
|
6101
|
+
}
|
|
6102
|
+
.kjun-calendar-nav:disabled { color: var(--_kjun-color-text-disabled); cursor: default; }
|
|
6103
|
+
.kjun-calendar-grid { display: grid; grid-template-columns: repeat(7, var(--_kjun-extension-calendar-day-size)); justify-content: space-between; row-gap: var(--_kjun-extension-calendar-row-gap); isolation: isolate; }
|
|
6104
|
+
.kjun-calendar-weekday {
|
|
6105
|
+
display: flex; align-items: center; justify-content: center; height: var(--_kjun-extension-calendar-weekday-height);
|
|
6106
|
+
font-size: var(--_kjun-type-meta-size); line-height: var(--_kjun-type-meta-line); font-weight: var(--_kjun-type-meta-weight); color: var(--_kjun-color-text-tertiary);
|
|
6107
|
+
}
|
|
6108
|
+
.kjun-calendar-weekday[data-sunday] { color: var(--_kjun-color-danger); }
|
|
6109
|
+
.kjun-calendar-day {
|
|
6110
|
+
position: relative; display: flex; align-items: center; justify-content: center;
|
|
6111
|
+
width: var(--_kjun-extension-calendar-day-size); height: var(--_kjun-extension-calendar-day-size); padding: 0; border: 0;
|
|
6112
|
+
border-radius: var(--_kjun-geometry-radius-radius9999); background: transparent; color: var(--_kjun-color-text); cursor: pointer;
|
|
6113
|
+
font-size: var(--_kjun-type-body-size); line-height: var(--_kjun-type-body-line); font-variant-numeric: tabular-nums;
|
|
6114
|
+
}
|
|
6115
|
+
.kjun-calendar-day[data-sunday]:not([data-outside]):not(:disabled, [aria-disabled="true"]) { color: var(--_kjun-color-danger); }
|
|
6116
|
+
.kjun-calendar-day[data-outside] { color: var(--_kjun-color-text-disabled); }
|
|
6117
|
+
.kjun-calendar-day:is(:disabled, [aria-disabled="true"]) { color: var(--_kjun-color-text-disabled); text-decoration: line-through; text-decoration-color: var(--_kjun-color-border-strong); cursor: default; }
|
|
6118
|
+
.kjun-calendar-day:hover:not(:disabled, [aria-disabled="true"]):not([data-selected]) { background: var(--_kjun-color-hover); }
|
|
6119
|
+
.kjun-calendar-day[data-today]:not([data-selected]) { box-shadow: inset 0 0 0 var(--_kjun-extension-calendar-today-ring) var(--_kjun-color-border-strong); font-weight: var(--_kjun-type-control-weight); }
|
|
6120
|
+
.kjun-calendar-day[data-selected] { background: var(--_kjun-color-brand); color: var(--_kjun-color-on-brand); font-weight: var(--_kjun-type-control-weight); }
|
|
6121
|
+
.kjun-calendar-day:focus-visible { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-offset); }
|
|
6122
|
+
/* A range joins its ends with a quiet band that runs under the days between them. */
|
|
6123
|
+
.kjun-calendar-day:is([data-in-range], [data-range-start], [data-range-end])::before {
|
|
6124
|
+
content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
|
|
6125
|
+
left: calc(0px - var(--_kjun-extension-calendar-range-bleed)); right: calc(0px - var(--_kjun-extension-calendar-range-bleed));
|
|
6126
|
+
background: var(--_kjun-color-brand-subtle-bg);
|
|
6127
|
+
}
|
|
6128
|
+
.kjun-calendar-day[data-range-start]::before { left: 50%; }
|
|
6129
|
+
.kjun-calendar-day[data-range-end]::before { right: 50%; }
|
|
6130
|
+
.kjun-calendar-day[data-range-start][data-range-end]::before { display: none; }
|
|
6131
|
+
.kjun-calendar-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--_kjun-extension-calendar-month-gap); margin-top: var(--_kjun-extension-calendar-month-gap); }
|
|
6132
|
+
.kjun-calendar-month {
|
|
6133
|
+
height: var(--_kjun-extension-calendar-month-height); border: 0; border-radius: var(--_kjun-extension-calendar-month-radius);
|
|
6134
|
+
background: transparent; color: var(--_kjun-color-text); cursor: pointer;
|
|
6135
|
+
font-size: var(--_kjun-type-label-size); line-height: var(--_kjun-type-label-line); font-weight: var(--_kjun-type-label-weight);
|
|
6136
|
+
}
|
|
6137
|
+
.kjun-calendar-month:hover:not(:disabled):not([data-selected]) { background: var(--_kjun-color-hover); }
|
|
6138
|
+
.kjun-calendar-month[data-current]:not([data-selected]) { box-shadow: inset 0 0 0 var(--_kjun-extension-calendar-today-ring) var(--_kjun-color-border-strong); }
|
|
6139
|
+
.kjun-calendar-month[data-selected] { background: var(--_kjun-color-brand); color: var(--_kjun-color-on-brand); font-weight: var(--_kjun-type-control-weight); }
|
|
6140
|
+
.kjun-calendar-month:disabled { color: var(--_kjun-color-text-disabled); cursor: default; }
|
|
6141
|
+
/* The year view reuses the month grid. */
|
|
6142
|
+
.kjun-calendar-month[data-year] { font-variant-numeric: tabular-nums; }
|
|
6143
|
+
/* Range presets are year-style chips that wrap above the days. */
|
|
6144
|
+
.kjun-calendar-presets { display: flex; flex-wrap: wrap; gap: var(--_kjun-extension-calendar-year-gap); margin-bottom: var(--_kjun-extension-calendar-footer-gap); }
|
|
6145
|
+
.kjun-calendar-presets .kjun-calendar-year { flex: none; padding: 0 var(--_kjun-geometry-dimension-value12); }
|
|
6146
|
+
.kjun-calendar-years { display: flex; gap: var(--_kjun-extension-calendar-year-gap); margin-top: var(--_kjun-extension-calendar-footer-gap); }
|
|
6147
|
+
.kjun-calendar-year {
|
|
6148
|
+
flex: 1; height: var(--_kjun-extension-calendar-year-height); padding: 0; border: 0; border-radius: var(--_kjun-geometry-radius-radius9999);
|
|
6149
|
+
background: var(--_kjun-color-secondary); color: var(--_kjun-color-text-secondary); cursor: pointer;
|
|
6150
|
+
font-size: var(--_kjun-type-label-size); line-height: var(--_kjun-type-label-line); font-weight: var(--_kjun-type-label-weight); font-variant-numeric: tabular-nums;
|
|
6151
|
+
}
|
|
6152
|
+
.kjun-calendar-year[aria-pressed="true"] { background: var(--_kjun-color-text); color: var(--_kjun-color-surface); }
|
|
6153
|
+
:is(.kjun-calendar-title, .kjun-calendar-nav, .kjun-calendar-month, .kjun-calendar-year):focus-visible { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-offset); }
|
|
6154
|
+
.kjun-calendar-foot {
|
|
6155
|
+
display: flex; align-items: center; justify-content: space-between; gap: var(--_kjun-extension-calendar-footer-gap);
|
|
6156
|
+
margin-top: var(--_kjun-extension-calendar-footer-gap); padding-top: var(--_kjun-extension-calendar-footer-gap);
|
|
6157
|
+
border-top: var(--_kjun-border-default-width) solid var(--_kjun-color-divider);
|
|
6158
|
+
}
|