@kjun-ui/react 0.17.0 → 0.19.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 +4267 -1765
- package/dist/index.js +4272 -1767
- package/dist/styles.css +1612 -577
- 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 +31 -8
- package/dist/types/packages/react/src/app-navigation.d.ts +31 -8
- 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 +16 -11
- package/dist/types/packages/react/src/controls.d.ts +16 -11
- 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 +15 -3
- package/dist/types/packages/react/src/display.d.ts +15 -3
- package/dist/types/packages/react/src/drawer.d.cts +3 -5
- package/dist/types/packages/react/src/drawer.d.ts +3 -5
- 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/fab.d.cts +3 -3
- package/dist/types/packages/react/src/fab.d.ts +3 -3
- package/dist/types/packages/react/src/feedback.d.cts +12 -3
- package/dist/types/packages/react/src/feedback.d.ts +12 -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 +10 -6
- package/dist/types/packages/react/src/index.d.ts +10 -6
- 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/layout-primitives.d.cts +24 -24
- package/dist/types/packages/react/src/layout-primitives.d.ts +24 -24
- package/dist/types/packages/react/src/list.d.cts +27 -4
- package/dist/types/packages/react/src/list.d.ts +27 -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/modal.d.cts +3 -1
- package/dist/types/packages/react/src/modal.d.ts +3 -1
- package/dist/types/packages/react/src/navigation.d.cts +24 -42
- package/dist/types/packages/react/src/navigation.d.ts +24 -42
- 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/provider.d.cts +4 -1
- package/dist/types/packages/react/src/provider.d.ts +4 -1
- 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/skeleton-phase.d.cts +2 -0
- package/dist/types/packages/react/src/skeleton-phase.d.ts +2 -0
- package/dist/types/packages/react/src/skeletons.d.cts +19 -4
- package/dist/types/packages/react/src/skeletons.d.ts +19 -4
- package/dist/types/packages/react/src/table-cards.d.cts +6 -3
- package/dist/types/packages/react/src/table-cards.d.ts +6 -3
- 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 +10 -0
- package/dist/types/packages/react/src/table-list.d.ts +10 -0
- package/dist/types/packages/react/src/table-model.d.cts +2 -0
- package/dist/types/packages/react/src/table-model.d.ts +2 -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/table-totals.d.cts +5 -0
- package/dist/types/packages/react/src/table-totals.d.ts +5 -0
- 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/packages/react/src/toast-stack.d.cts +7 -2
- package/dist/types/packages/react/src/toast-stack.d.ts +7 -2
- 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/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/chart-skeleton.d.cts +15 -3
- package/dist/types/shared/package-runtime/chart-skeleton.d.ts +15 -3
- package/dist/types/shared/package-runtime/drawer-geometry.d.cts +2 -3
- package/dist/types/shared/package-runtime/drawer-geometry.d.ts +2 -3
- package/dist/types/shared/package-runtime/feedback-dialog.d.cts +5 -4
- package/dist/types/shared/package-runtime/feedback-dialog.d.ts +5 -4
- package/dist/types/shared/package-runtime/feedback-motion.d.cts +2 -5
- package/dist/types/shared/package-runtime/feedback-motion.d.ts +2 -5
- package/dist/types/shared/package-runtime/feedback-prompt.d.cts +58 -0
- package/dist/types/shared/package-runtime/feedback-prompt.d.ts +58 -0
- 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/market-layout.d.cts +0 -1
- package/dist/types/shared/package-runtime/market-layout.d.ts +0 -1
- package/dist/types/shared/package-runtime/messages/ko.d.cts +45 -5
- package/dist/types/shared/package-runtime/messages/ko.d.ts +45 -5
- package/dist/types/shared/package-runtime/messages-context.d.cts +45 -5
- package/dist/types/shared/package-runtime/messages-context.d.ts +45 -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/safe-area.d.cts +20 -0
- package/dist/types/shared/package-runtime/safe-area.d.ts +20 -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/skeleton-text.d.cts +12 -0
- package/dist/types/shared/package-runtime/skeleton-text.d.ts +12 -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/stable-value.d.cts +3 -0
- package/dist/types/shared/package-runtime/stable-value.d.ts +3 -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 +67 -5
- package/dist/types/shared/package-runtime/table-presentation.d.ts +67 -5
- package/dist/types/shared/package-runtime/table.d.cts +24 -2
- package/dist/types/shared/package-runtime/table.d.ts +24 -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/dist/types/shared/package-runtime/toast-entry.d.cts +3 -0
- package/dist/types/shared/package-runtime/toast-entry.d.ts +3 -0
- package/dist/types/shared/package-runtime/toast-placement.d.cts +4 -0
- package/dist/types/shared/package-runtime/toast-placement.d.ts +4 -0
- package/dist/types/shared/package-runtime/toast-presence.d.cts +12 -0
- package/dist/types/shared/package-runtime/toast-presence.d.ts +12 -0
- package/dist/types/shared/package-runtime/toast-presentation.d.cts +42 -0
- package/dist/types/shared/package-runtime/toast-presentation.d.ts +42 -0
- package/dist/types/shared/package-runtime/toast-swipe.d.cts +20 -0
- package/dist/types/shared/package-runtime/toast-swipe.d.ts +20 -0
- package/dist/types/shared/package-runtime/use-toast-stack.d.cts +22 -0
- package/dist/types/shared/package-runtime/use-toast-stack.d.ts +22 -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
|
-
--_kjun-toast-elevation:
|
|
244
|
+
--_kjun-toast-elevation: 0px 2px 8px 0px var(--_kjun-color-shadow-subtle);
|
|
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;
|
|
@@ -275,6 +283,10 @@
|
|
|
275
283
|
--_kjun-extension-list-actions-padding: 16px;
|
|
276
284
|
--_kjun-extension-list-leading-width: 40px;
|
|
277
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;
|
|
278
290
|
--_kjun-extension-list-icon-size: 20px;
|
|
279
291
|
--_kjun-extension-navigation-minimum-height: 56px;
|
|
280
292
|
--_kjun-extension-navigation-padding: 16px;
|
|
@@ -288,20 +300,28 @@
|
|
|
288
300
|
--_kjun-extension-navigation-badge-padding-x: 4px;
|
|
289
301
|
--_kjun-extension-navigation-badge-radius: 9999px;
|
|
290
302
|
--_kjun-extension-navigation-action-gap: 12px;
|
|
291
|
-
--_kjun-extension-accordion-minimum-height:
|
|
303
|
+
--_kjun-extension-accordion-minimum-height: 56px;
|
|
292
304
|
--_kjun-extension-accordion-padding-x: 16px;
|
|
293
|
-
--_kjun-extension-accordion-header-padding-y:
|
|
305
|
+
--_kjun-extension-accordion-header-padding-y: 16px;
|
|
294
306
|
--_kjun-extension-accordion-header-gap: 12px;
|
|
295
307
|
--_kjun-extension-accordion-content-padding-bottom: 20px;
|
|
296
308
|
--_kjun-extension-accordion-radius: 12px;
|
|
297
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;
|
|
298
314
|
--_kjun-extension-tabs-height: 44px;
|
|
299
315
|
--_kjun-extension-tabs-compact-height: 32px;
|
|
300
|
-
--_kjun-extension-tabs-padding-x:
|
|
301
|
-
--_kjun-extension-tabs-compact-padding-x:
|
|
302
|
-
--_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;
|
|
303
323
|
--_kjun-extension-tabs-gap: 4px;
|
|
304
|
-
--_kjun-extension-tabs-pills-gap:
|
|
324
|
+
--_kjun-extension-tabs-pills-gap: 8px;
|
|
305
325
|
--_kjun-extension-tabs-pills-padding-y: 2px;
|
|
306
326
|
--_kjun-extension-tabs-item-gap: 8px;
|
|
307
327
|
--_kjun-extension-tabs-content-gap: 16px;
|
|
@@ -317,19 +337,26 @@
|
|
|
317
337
|
--_kjun-extension-top-navigation-icon-size: 24px;
|
|
318
338
|
--_kjun-extension-top-navigation-description-gap: 4px;
|
|
319
339
|
--_kjun-extension-top-navigation-actions-gap: 8px;
|
|
320
|
-
--_kjun-extension-bottom-navigation-indicator-width: 20px;
|
|
321
|
-
--_kjun-extension-bottom-navigation-indicator-height: 3px;
|
|
322
|
-
--_kjun-extension-bottom-navigation-indicator-offset: 4px;
|
|
323
340
|
--_kjun-extension-bottom-navigation-minimum-height: 64px;
|
|
324
341
|
--_kjun-extension-bottom-navigation-icon-size: 24px;
|
|
325
342
|
--_kjun-extension-bottom-navigation-item-gap: 4px;
|
|
326
343
|
--_kjun-extension-bottom-navigation-item-padding-x: 4px;
|
|
327
344
|
--_kjun-extension-bottom-navigation-item-padding-y: 10px;
|
|
328
|
-
--_kjun-extension-bottom-navigation-badge-minimum-size:
|
|
345
|
+
--_kjun-extension-bottom-navigation-badge-minimum-size: 18px;
|
|
329
346
|
--_kjun-extension-bottom-navigation-badge-padding-x: 4px;
|
|
330
347
|
--_kjun-extension-bottom-navigation-badge-offset: 4px;
|
|
331
|
-
--_kjun-extension-bottom-navigation-badge-overlap:
|
|
348
|
+
--_kjun-extension-bottom-navigation-badge-overlap: 10px;
|
|
332
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;
|
|
333
360
|
--_kjun-extension-avatar-xs: 24px;
|
|
334
361
|
--_kjun-extension-avatar-sm: 32px;
|
|
335
362
|
--_kjun-extension-avatar-md: 40px;
|
|
@@ -384,17 +411,23 @@
|
|
|
384
411
|
--_kjun-extension-market-table-sparkline-width: 72px;
|
|
385
412
|
--_kjun-extension-market-table-sparkline-height: 22px;
|
|
386
413
|
--_kjun-extension-market-table-value-skeleton-width: 56px;
|
|
387
|
-
--_kjun-extension-market-table-value-skeleton-height: 16px;
|
|
388
414
|
--_kjun-extension-market-table-action-skeleton-width: 32px;
|
|
389
415
|
--_kjun-extension-market-table-header-skeleton-height: 14px;
|
|
390
416
|
--_kjun-extension-menu-radius: 12px;
|
|
391
417
|
--_kjun-extension-menu-option-radius: 8px;
|
|
392
418
|
--_kjun-extension-menu-padding: 4px;
|
|
393
419
|
--_kjun-extension-menu-option-height: 44px;
|
|
420
|
+
--_kjun-extension-menu-item-height: 40px;
|
|
394
421
|
--_kjun-extension-menu-option-font-size: 0.875rem;
|
|
395
422
|
--_kjun-extension-menu-option-line-height: 1.25rem;
|
|
396
423
|
--_kjun-extension-menu-option-padding-y: 8px;
|
|
397
424
|
--_kjun-extension-menu-option-padding-x: 12px;
|
|
425
|
+
--_kjun-extension-menu-compact-option-height: 32px;
|
|
426
|
+
--_kjun-extension-menu-compact-option-padding-y: 6px;
|
|
427
|
+
--_kjun-extension-menu-compact-option-padding-x: 10px;
|
|
428
|
+
--_kjun-extension-menu-section-padding-top: 8px;
|
|
429
|
+
--_kjun-extension-menu-section-padding-bottom: 4px;
|
|
430
|
+
--_kjun-extension-menu-description-gap: 2px;
|
|
398
431
|
--_kjun-extension-menu-minimum-width: 160px;
|
|
399
432
|
--_kjun-extension-menu-list-max-height: 240px;
|
|
400
433
|
--_kjun-extension-menu-icon-size: 16px;
|
|
@@ -419,16 +452,52 @@
|
|
|
419
452
|
--_kjun-extension-badge-radius: 6px;
|
|
420
453
|
--_kjun-extension-badge-gap: 4px;
|
|
421
454
|
--_kjun-extension-badge-dot-size: 6px;
|
|
422
|
-
--_kjun-extension-badge-
|
|
455
|
+
--_kjun-extension-badge-radii-xs: 4px;
|
|
456
|
+
--_kjun-extension-badge-radii-sm: 6px;
|
|
457
|
+
--_kjun-extension-badge-radii-md: 6px;
|
|
458
|
+
--_kjun-extension-badge-radii-lg: 8px;
|
|
459
|
+
--_kjun-extension-badge-radii-xl: 10px;
|
|
460
|
+
--_kjun-extension-badge-gaps-xs: 4px;
|
|
461
|
+
--_kjun-extension-badge-gaps-sm: 4px;
|
|
462
|
+
--_kjun-extension-badge-gaps-md: 4px;
|
|
463
|
+
--_kjun-extension-badge-gaps-lg: 6px;
|
|
464
|
+
--_kjun-extension-badge-gaps-xl: 6px;
|
|
465
|
+
--_kjun-extension-badge-dot-sizes-xs: 6px;
|
|
466
|
+
--_kjun-extension-badge-dot-sizes-sm: 6px;
|
|
467
|
+
--_kjun-extension-badge-dot-sizes-md: 6px;
|
|
468
|
+
--_kjun-extension-badge-dot-sizes-lg: 8px;
|
|
469
|
+
--_kjun-extension-badge-dot-sizes-xl: 8px;
|
|
470
|
+
--_kjun-extension-badge-typography-xs-font-size-px: 0.75rem;
|
|
471
|
+
--_kjun-extension-badge-typography-xs-line-height-px: 1rem;
|
|
472
|
+
--_kjun-extension-badge-typography-xs-font-weight: 500;
|
|
473
|
+
--_kjun-extension-badge-typography-xs-letter-spacing-em: 0em;
|
|
474
|
+
--_kjun-extension-badge-typography-sm-font-size-px: 0.75rem;
|
|
475
|
+
--_kjun-extension-badge-typography-sm-line-height-px: 1rem;
|
|
476
|
+
--_kjun-extension-badge-typography-sm-font-weight: 500;
|
|
477
|
+
--_kjun-extension-badge-typography-sm-letter-spacing-em: 0em;
|
|
478
|
+
--_kjun-extension-badge-typography-md-font-size-px: 0.875rem;
|
|
479
|
+
--_kjun-extension-badge-typography-md-line-height-px: 1.25rem;
|
|
480
|
+
--_kjun-extension-badge-typography-md-font-weight: 500;
|
|
481
|
+
--_kjun-extension-badge-typography-md-letter-spacing-em: 0em;
|
|
482
|
+
--_kjun-extension-badge-typography-lg-font-size-px: 0.875rem;
|
|
483
|
+
--_kjun-extension-badge-typography-lg-line-height-px: 1.25rem;
|
|
484
|
+
--_kjun-extension-badge-typography-lg-font-weight: 500;
|
|
485
|
+
--_kjun-extension-badge-typography-lg-letter-spacing-em: 0em;
|
|
486
|
+
--_kjun-extension-badge-typography-xl-font-size-px: 1rem;
|
|
487
|
+
--_kjun-extension-badge-typography-xl-line-height-px: 1.5rem;
|
|
488
|
+
--_kjun-extension-badge-typography-xl-font-weight: 400;
|
|
489
|
+
--_kjun-extension-badge-typography-xl-letter-spacing-em: 0em;
|
|
490
|
+
--_kjun-extension-badge-font-weight: 500;
|
|
491
|
+
--_kjun-extension-badge-padding-xs-x: 6px;
|
|
423
492
|
--_kjun-extension-badge-padding-xs-y: 0px;
|
|
424
|
-
--_kjun-extension-badge-padding-sm-x:
|
|
493
|
+
--_kjun-extension-badge-padding-sm-x: 8px;
|
|
425
494
|
--_kjun-extension-badge-padding-sm-y: 2px;
|
|
426
495
|
--_kjun-extension-badge-padding-md-x: 8px;
|
|
427
|
-
--_kjun-extension-badge-padding-md-y:
|
|
496
|
+
--_kjun-extension-badge-padding-md-y: 2px;
|
|
428
497
|
--_kjun-extension-badge-padding-lg-x: 10px;
|
|
429
498
|
--_kjun-extension-badge-padding-lg-y: 4px;
|
|
430
499
|
--_kjun-extension-badge-padding-xl-x: 12px;
|
|
431
|
-
--_kjun-extension-badge-padding-xl-y:
|
|
500
|
+
--_kjun-extension-badge-padding-xl-y: 4px;
|
|
432
501
|
--_kjun-extension-drawer-padding-x: 20px;
|
|
433
502
|
--_kjun-extension-drawer-padding-y: 16px;
|
|
434
503
|
--_kjun-extension-drawer-body-padding: 20px;
|
|
@@ -439,18 +508,30 @@
|
|
|
439
508
|
--_kjun-extension-drawer-width: 400px;
|
|
440
509
|
--_kjun-extension-drawer-close-size: 32px;
|
|
441
510
|
--_kjun-extension-drawer-close-icon-size: 16px;
|
|
442
|
-
--_kjun-extension-toast-min-width:
|
|
443
|
-
--_kjun-extension-toast-max-width:
|
|
444
|
-
--_kjun-extension-toast-close-size:
|
|
445
|
-
--_kjun-extension-toast-
|
|
446
|
-
--_kjun-extension-toast-
|
|
511
|
+
--_kjun-extension-toast-min-width: 280px;
|
|
512
|
+
--_kjun-extension-toast-max-width: 400px;
|
|
513
|
+
--_kjun-extension-toast-close-size: 32px;
|
|
514
|
+
--_kjun-extension-toast-close-icon-size: 16px;
|
|
515
|
+
--_kjun-extension-toast-icon-size: 20px;
|
|
516
|
+
--_kjun-extension-toast-padding-y: 14px;
|
|
517
|
+
--_kjun-extension-toast-padding-start: 16px;
|
|
518
|
+
--_kjun-extension-toast-padding-end: 8px;
|
|
447
519
|
--_kjun-extension-toast-gap: 12px;
|
|
520
|
+
--_kjun-extension-toast-side-gap: 8px;
|
|
448
521
|
--_kjun-extension-toast-inset: 16px;
|
|
449
|
-
--_kjun-extension-toast-stack-gap:
|
|
450
|
-
--_kjun-extension-toast-title-gap:
|
|
522
|
+
--_kjun-extension-toast-stack-gap: 8px;
|
|
523
|
+
--_kjun-extension-toast-title-gap: 2px;
|
|
451
524
|
--_kjun-extension-toast-action-gap: 8px;
|
|
452
525
|
--_kjun-extension-toast-radius: 12px;
|
|
453
|
-
--_kjun-extension-toast-close-radius:
|
|
526
|
+
--_kjun-extension-toast-close-radius: 8px;
|
|
527
|
+
--_kjun-extension-toast-swipe-distance: 64px;
|
|
528
|
+
--_kjun-extension-toast-peek-offset: 8px;
|
|
529
|
+
--_kjun-extension-toast-peek-inset: 8px;
|
|
530
|
+
--_kjun-extension-toast-compact-height: 44px;
|
|
531
|
+
--_kjun-extension-toast-compact-padding-start: 14px;
|
|
532
|
+
--_kjun-extension-toast-compact-padding-end: 16px;
|
|
533
|
+
--_kjun-extension-toast-compact-gap: 8px;
|
|
534
|
+
--_kjun-extension-toast-compact-radius: 9999px;
|
|
454
535
|
--_kjun-extension-alert-radius: 16px;
|
|
455
536
|
--_kjun-extension-alert-description-gap: 2px;
|
|
456
537
|
--_kjun-extension-alert-close-size: 28px;
|
|
@@ -470,15 +551,20 @@
|
|
|
470
551
|
--_kjun-extension-alert-icon-sizes-sm: 16px;
|
|
471
552
|
--_kjun-extension-alert-icon-sizes-md: 18px;
|
|
472
553
|
--_kjun-extension-alert-close-icon-size: 16px;
|
|
473
|
-
--_kjun-extension-table-card-padding:
|
|
474
|
-
--_kjun-extension-table-card-radius:
|
|
554
|
+
--_kjun-extension-table-card-padding: 16px;
|
|
555
|
+
--_kjun-extension-table-card-radius: 16px;
|
|
475
556
|
--_kjun-extension-table-card-gap: 8px;
|
|
557
|
+
--_kjun-extension-table-card-card-gap: 12px;
|
|
558
|
+
--_kjun-extension-table-card-section-gap: 12px;
|
|
559
|
+
--_kjun-extension-table-card-footer-gap: 12px;
|
|
560
|
+
--_kjun-extension-table-card-tile-padding: 12px;
|
|
476
561
|
--_kjun-extension-table-card-list-padding: 8px;
|
|
477
562
|
--_kjun-extension-table-card-field-gap: 4px;
|
|
478
563
|
--_kjun-extension-table-card-metric-gap: 6px;
|
|
479
564
|
--_kjun-extension-table-card-value-gap: 2px;
|
|
480
565
|
--_kjun-extension-table-card-empty-padding: 32px;
|
|
481
566
|
--_kjun-extension-table-card-title-skeleton-width: 96px;
|
|
567
|
+
--_kjun-extension-table-card-tile-min-width: 160px;
|
|
482
568
|
--_kjun-extension-table-card-title-skeleton-height: 20px;
|
|
483
569
|
--_kjun-extension-table-card-badge-skeleton-width: 64px;
|
|
484
570
|
--_kjun-extension-table-card-field-skeleton-height: 18px;
|
|
@@ -498,23 +584,16 @@
|
|
|
498
584
|
--_kjun-extension-skeleton-list-compact-padding-x: 16px;
|
|
499
585
|
--_kjun-extension-skeleton-list-notification-padding-y: 12px;
|
|
500
586
|
--_kjun-extension-skeleton-list-notification-padding-x: 12px;
|
|
501
|
-
--_kjun-extension-skeleton-line-heights-sm: 12px;
|
|
502
587
|
--_kjun-extension-skeleton-line-heights-md: 16px;
|
|
503
|
-
--_kjun-extension-skeleton-line-heights-lg: 24px;
|
|
504
588
|
--_kjun-extension-skeleton-avatar-size: 48px;
|
|
505
|
-
--_kjun-extension-skeleton-card-avatar-size: 40px;
|
|
506
589
|
--_kjun-extension-skeleton-table-line-height: 14px;
|
|
507
|
-
--_kjun-extension-skeleton-stat-width: 80px;
|
|
508
|
-
--_kjun-extension-skeleton-stat-height: 40px;
|
|
509
590
|
--_kjun-extension-skeleton-block-height: 100px;
|
|
510
591
|
--_kjun-extension-skeleton-list-heights-market: 72px;
|
|
511
592
|
--_kjun-extension-skeleton-list-heights-compact: 56px;
|
|
512
593
|
--_kjun-extension-skeleton-list-heights-notification: 64px;
|
|
513
594
|
--_kjun-extension-skeleton-quote-width: 88px;
|
|
514
|
-
--_kjun-extension-skeleton-quote-height: 18px;
|
|
515
595
|
--_kjun-extension-skeleton-detail-width: 56px;
|
|
516
596
|
--_kjun-extension-skeleton-form-label-width: 96px;
|
|
517
|
-
--_kjun-extension-skeleton-form-label-height: 14px;
|
|
518
597
|
--_kjun-extension-skeleton-identity-width: 128px;
|
|
519
598
|
--_kjun-extension-skeleton-identity-height: 20px;
|
|
520
599
|
--_kjun-extension-skeleton-list-avatar-size: 36px;
|
|
@@ -524,6 +603,11 @@
|
|
|
524
603
|
--_kjun-extension-form-message-gap: 6px;
|
|
525
604
|
--_kjun-extension-form-affix-item-gap: 4px;
|
|
526
605
|
--_kjun-extension-form-message-icon-size: 16px;
|
|
606
|
+
--_kjun-extension-textarea-footer-text-gap: 4px;
|
|
607
|
+
--_kjun-extension-textarea-footer-gap: 8px;
|
|
608
|
+
--_kjun-extension-textarea-footer-padding: 8px;
|
|
609
|
+
--_kjun-extension-textarea-count-padding-x: 6px;
|
|
610
|
+
--_kjun-extension-textarea-submit-radius: 9999px;
|
|
527
611
|
--_kjun-extension-checkbox-sizes-sm: 20px;
|
|
528
612
|
--_kjun-extension-checkbox-sizes-md: 24px;
|
|
529
613
|
--_kjun-extension-checkbox-sizes-lg: 28px;
|
|
@@ -540,9 +624,10 @@
|
|
|
540
624
|
--_kjun-extension-switch-heights-sm: 24px;
|
|
541
625
|
--_kjun-extension-switch-heights-md: 28px;
|
|
542
626
|
--_kjun-extension-switch-heights-lg: 32px;
|
|
543
|
-
--_kjun-extension-switch-padding:
|
|
627
|
+
--_kjun-extension-switch-padding: 2px;
|
|
544
628
|
--_kjun-extension-switch-radius: 9999px;
|
|
545
|
-
--_kjun-extension-switch-label-gap:
|
|
629
|
+
--_kjun-extension-switch-label-gap: 12px;
|
|
630
|
+
--_kjun-extension-switch-spinner-size: 12px;
|
|
546
631
|
--_kjun-extension-tooltip-padding-x: 8px;
|
|
547
632
|
--_kjun-extension-tooltip-padding-y: 4px;
|
|
548
633
|
--_kjun-extension-tooltip-max-widths-sm: 192px;
|
|
@@ -552,6 +637,7 @@
|
|
|
552
637
|
--_kjun-extension-tooltip-arrow-size: 8px;
|
|
553
638
|
--_kjun-extension-financial-affix-gap: 4px;
|
|
554
639
|
--_kjun-extension-financial-badge-gap: 6px;
|
|
640
|
+
--_kjun-extension-financial-status-gap: 6px;
|
|
555
641
|
--_kjun-extension-financial-pill-padding-x: 8px;
|
|
556
642
|
--_kjun-extension-financial-pill-padding-y: 2px;
|
|
557
643
|
--_kjun-extension-financial-pill-radius: 6px;
|
|
@@ -571,10 +657,17 @@
|
|
|
571
657
|
--_kjun-extension-financial-progress-label-width: 32px;
|
|
572
658
|
--_kjun-extension-financial-sparkline-width: 80px;
|
|
573
659
|
--_kjun-extension-financial-sparkline-height: 24px;
|
|
660
|
+
--_kjun-extension-financial-sparkline-stroke-width: 1.5px;
|
|
661
|
+
--_kjun-extension-financial-sparkline-dot-size: 5px;
|
|
662
|
+
--_kjun-extension-financial-sparkline-lone-dot-size: 4px;
|
|
663
|
+
--_kjun-extension-financial-sparkline-baseline-width: 1px;
|
|
664
|
+
--_kjun-extension-financial-sparkline-bar-min-height: 2px;
|
|
665
|
+
--_kjun-extension-financial-sparkline-bar-gap: 2px;
|
|
666
|
+
--_kjun-extension-financial-sparkline-dash: 2px;
|
|
667
|
+
--_kjun-extension-financial-sparkline-dash-gap: 3px;
|
|
574
668
|
--_kjun-extension-financial-price-skeleton-width: 64px;
|
|
575
669
|
--_kjun-extension-financial-price-skeleton-height: 16px;
|
|
576
670
|
--_kjun-extension-financial-signed-skeleton-width: 48px;
|
|
577
|
-
--_kjun-extension-financial-signed-skeleton-height: 1.25rem;
|
|
578
671
|
--_kjun-extension-kpi-hero-radius: 12px;
|
|
579
672
|
--_kjun-extension-kpi-hero-layout-gap: 24px;
|
|
580
673
|
--_kjun-extension-kpi-hero-prefix-gap: 2px;
|
|
@@ -621,7 +714,7 @@
|
|
|
621
714
|
--_kjun-extension-kpi-row-separator-gap: 6px;
|
|
622
715
|
--_kjun-extension-kpi-row-badge-radius: 6px;
|
|
623
716
|
--_kjun-extension-kpi-row-badge-gap: 4px;
|
|
624
|
-
--_kjun-extension-kpi-row-badge-padding-x:
|
|
717
|
+
--_kjun-extension-kpi-row-badge-padding-x: 6px;
|
|
625
718
|
--_kjun-extension-kpi-row-badge-padding-y: 0px;
|
|
626
719
|
--_kjun-extension-kpi-row-md-padding-x: 8px;
|
|
627
720
|
--_kjun-extension-kpi-row-md-padding-y: 20px;
|
|
@@ -653,7 +746,6 @@
|
|
|
653
746
|
--_kjun-extension-kpi-row-summary-secondary-gap: 4px;
|
|
654
747
|
--_kjun-extension-kpi-row-dot-size: 4px;
|
|
655
748
|
--_kjun-extension-kpi-row-label-skeleton-width: 80px;
|
|
656
|
-
--_kjun-extension-kpi-row-label-skeleton-height: 13px;
|
|
657
749
|
--_kjun-extension-kpi-row-value-skeleton-width: 80px;
|
|
658
750
|
--_kjun-extension-kpi-row-segment-skeleton-width: 48px;
|
|
659
751
|
--_kjun-extension-kpi-row-description-skeleton-width: 90px;
|
|
@@ -693,19 +785,57 @@
|
|
|
693
785
|
--_kjun-extension-image-fallback-icon-size: 24px;
|
|
694
786
|
--_kjun-extension-breadcrumb-icon-size: 14px;
|
|
695
787
|
--_kjun-extension-breadcrumb-separator-size: 12px;
|
|
788
|
+
--_kjun-extension-breadcrumb-gap: 8px;
|
|
789
|
+
--_kjun-extension-breadcrumb-icon-gap: 4px;
|
|
790
|
+
--_kjun-extension-breadcrumb-label-max-width: 200px;
|
|
696
791
|
--_kjun-extension-floating-max-height: 480px;
|
|
697
792
|
--_kjun-extension-floating-viewport-inset: 8px;
|
|
698
793
|
--_kjun-extension-floating-anchor-gap: 8px;
|
|
699
794
|
--_kjun-extension-floating-field-gap: 4px;
|
|
700
795
|
--_kjun-extension-scrollbar-width: 6px;
|
|
701
796
|
--_kjun-extension-scroll-fade-width: 24px;
|
|
702
|
-
--_kjun-extension-
|
|
797
|
+
--_kjun-extension-carousel-peek: 24px;
|
|
798
|
+
--_kjun-extension-carousel-indicator-size: 6px;
|
|
799
|
+
--_kjun-extension-carousel-indicator-active-width: 16px;
|
|
800
|
+
--_kjun-extension-carousel-indicator-press: 24px;
|
|
801
|
+
--_kjun-extension-carousel-indicator-press-width: 20px;
|
|
802
|
+
--_kjun-extension-carousel-indicator-offset: 12px;
|
|
803
|
+
--_kjun-extension-carousel-control-inset: 8px;
|
|
804
|
+
--_kjun-extension-carousel-focus-radius: 12px;
|
|
805
|
+
--_kjun-extension-carousel-header-gap: 12px;
|
|
806
|
+
--_kjun-extension-carousel-header-controls-gap: 8px;
|
|
807
|
+
--_kjun-extension-carousel-overlay-padding-x: 8px;
|
|
808
|
+
--_kjun-extension-calendar-width: 312px;
|
|
809
|
+
--_kjun-extension-calendar-padding: 12px;
|
|
810
|
+
--_kjun-extension-calendar-header-height: 36px;
|
|
811
|
+
--_kjun-extension-calendar-nav-size: 36px;
|
|
812
|
+
--_kjun-extension-calendar-title-gap: 4px;
|
|
813
|
+
--_kjun-extension-calendar-day-size: 40px;
|
|
814
|
+
--_kjun-extension-calendar-row-gap: 2px;
|
|
815
|
+
--_kjun-extension-calendar-weekday-height: 32px;
|
|
816
|
+
--_kjun-extension-calendar-month-height: 52px;
|
|
817
|
+
--_kjun-extension-calendar-month-gap: 8px;
|
|
818
|
+
--_kjun-extension-calendar-year-height: 32px;
|
|
819
|
+
--_kjun-extension-calendar-year-gap: 6px;
|
|
820
|
+
--_kjun-extension-calendar-footer-gap: 8px;
|
|
821
|
+
--_kjun-extension-calendar-radius: 16px;
|
|
822
|
+
--_kjun-extension-calendar-month-radius: 12px;
|
|
823
|
+
--_kjun-extension-calendar-today-ring: 1.5px;
|
|
824
|
+
--_kjun-extension-calendar-range-bleed: 3px;
|
|
703
825
|
--_kjun-extension-market-list-minimum-height: 72px;
|
|
704
826
|
--_kjun-extension-market-list-mobile-quote-minimum-width: 102px;
|
|
705
827
|
--_kjun-extension-market-list-change-skeleton-width: 56px;
|
|
706
|
-
--_kjun-extension-
|
|
828
|
+
--_kjun-extension-feedback-dialog-message-gap: 4px;
|
|
829
|
+
--_kjun-extension-feedback-dialog-field-gap: 20px;
|
|
830
|
+
--_kjun-extension-feedback-dialog-actions-gap: 24px;
|
|
831
|
+
--_kjun-extension-feedback-dialog-warning-gap: 8px;
|
|
832
|
+
--_kjun-extension-feedback-dialog-warning-padding: 12px;
|
|
833
|
+
--_kjun-extension-feedback-dialog-warning-radius: 12px;
|
|
707
834
|
--_kjun-extension-chart-skeleton-height: 240px;
|
|
708
835
|
--_kjun-extension-chart-skeleton-donut-thickness: 22px;
|
|
836
|
+
--_kjun-extension-chart-skeleton-axis-width: 40px;
|
|
837
|
+
--_kjun-extension-chart-skeleton-tick-label-width: 28px;
|
|
838
|
+
--_kjun-extension-chart-skeleton-label-gap: 8px;
|
|
709
839
|
--_kjun-state-opacity-disabled: 0.5;
|
|
710
840
|
--_kjun-state-opacity-disabled-strong: 0.4;
|
|
711
841
|
--_kjun-state-opacity-pressed: 0.8;
|
|
@@ -715,6 +845,9 @@
|
|
|
715
845
|
--_kjun-state-opacity-deviation-low: 0.08;
|
|
716
846
|
--_kjun-state-opacity-deviation-medium: 0.14;
|
|
717
847
|
--_kjun-state-opacity-deviation-strong: 0.22;
|
|
848
|
+
--_kjun-state-opacity-stripe: 0.03;
|
|
849
|
+
--_kjun-state-opacity-sparkline-fill: 0.18;
|
|
850
|
+
--_kjun-state-opacity-group-fill: 0.04;
|
|
718
851
|
--_kjun-state-opacity-tint-fill: 0.06;
|
|
719
852
|
--_kjun-state-opacity-tint-control: 0.08;
|
|
720
853
|
--_kjun-state-opacity-tint-hover: 0.12;
|
|
@@ -864,16 +997,25 @@
|
|
|
864
997
|
--_kjun-geometry-table-cell-padding-regular-x: 16px;
|
|
865
998
|
--_kjun-geometry-table-cell-padding-regular-y: 10px;
|
|
866
999
|
--_kjun-geometry-table-cell-padding-compact-x: 16px;
|
|
867
|
-
--_kjun-geometry-table-cell-padding-compact-y:
|
|
1000
|
+
--_kjun-geometry-table-cell-padding-compact-y: 8px;
|
|
868
1001
|
--_kjun-geometry-table-empty-padding-x: 16px;
|
|
869
1002
|
--_kjun-geometry-table-empty-padding-y: 32px;
|
|
870
1003
|
--_kjun-geometry-table-expanded-padding-x: 16px;
|
|
871
1004
|
--_kjun-geometry-table-expanded-padding-y: 12px;
|
|
872
1005
|
--_kjun-geometry-table-action-column-width: 48px;
|
|
1006
|
+
--_kjun-geometry-table-toolbar-minimum-height: 48px;
|
|
1007
|
+
--_kjun-geometry-table-group-padding-x: 8px;
|
|
1008
|
+
--_kjun-geometry-table-group-padding-y: 4px;
|
|
1009
|
+
--_kjun-geometry-table-group-gap: 6px;
|
|
1010
|
+
--_kjun-geometry-table-list-padding-x: 8px;
|
|
1011
|
+
--_kjun-geometry-table-list-padding-y: 12px;
|
|
1012
|
+
--_kjun-geometry-table-list-gap: 12px;
|
|
1013
|
+
--_kjun-geometry-table-list-meta-gap: 2px;
|
|
1014
|
+
--_kjun-geometry-table-list-radius: 12px;
|
|
873
1015
|
--_kjun-geometry-table-column-width: 160px;
|
|
874
|
-
--_kjun-geometry-table-skeleton-height: 20px;
|
|
875
1016
|
--_kjun-geometry-table-selection-size: 16px;
|
|
876
1017
|
--_kjun-geometry-table-sort-icon-size: 12px;
|
|
1018
|
+
--_kjun-geometry-table-sorted-icon-size: 14px;
|
|
877
1019
|
--_kjun-geometry-table-search-width: 200px;
|
|
878
1020
|
--_kjun-geometry-dimension-value2: 2px;
|
|
879
1021
|
--_kjun-geometry-dimension-value4: 4px;
|
|
@@ -1279,15 +1421,16 @@
|
|
|
1279
1421
|
.kjun-scope .kjun-radio-dot { width: var(--_kjun-extension-radio-dot); height: var(--_kjun-extension-radio-dot); border-radius: 50%; background: var(--_kjun-brand); }
|
|
1280
1422
|
.kjun-scope .kjun-radio + .kjun-choice-label { margin-left: var(--_kjun-extension-radio-label-gap); }
|
|
1281
1423
|
.kjun-scope .kjun-choice--disabled :is(.kjun-radio:not(.kjun-radio--checked), .kjun-checkbox:not(.kjun-checkbox--checked)) { border-color: var(--_kjun-border-secondary); }
|
|
1282
|
-
|
|
1283
|
-
.kjun-scope .kjun-choice--disabled .kjun-switch:
|
|
1424
|
+
/* A disabled switch fades as one piece to 40% (inside the row's own 50%), so on and off stay told apart. */
|
|
1425
|
+
.kjun-scope .kjun-choice--disabled .kjun-switch { opacity: calc(var(--_kjun-state-opacity-disabled-strong) / var(--_kjun-state-opacity-disabled)); }
|
|
1284
1426
|
.kjun-scope .kjun-choice input:focus-visible + .kjun-choice-control, .kjun-scope .kjun-switch:focus-visible {
|
|
1285
1427
|
outline: var(--_kjun-state-focus-width) solid var(--_kjun-focus-ring);
|
|
1286
1428
|
outline-offset: var(--_kjun-state-focus-choice-offset);
|
|
1287
1429
|
}
|
|
1288
1430
|
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):hover .kjun-choice-control { border-color: var(--_kjun-brand); }
|
|
1289
1431
|
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):hover .kjun-radio { border-color: var(--_kjun-brand-hover); }
|
|
1290
|
-
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):hover .kjun-switch:not(.kjun-switch--on) {
|
|
1432
|
+
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):not([data-loading]):hover .kjun-switch:not(.kjun-switch--on) { background: var(--_kjun-border-strong); }
|
|
1433
|
+
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):not([data-loading]):hover .kjun-switch--on { background: var(--_kjun-color-brand-hover); }
|
|
1291
1434
|
.kjun-scope .kjun-choice:not(.kjun-choice--disabled):active .kjun-radio,
|
|
1292
1435
|
.kjun-scope .kjun-choice:not(.kjun-choice--disabled) input:active + .kjun-radio { border-color: var(--_kjun-brand-active); }
|
|
1293
1436
|
.kjun-scope .kjun-switch + .kjun-choice-label { margin-left: var(--_kjun-extension-switch-label-gap); }
|
|
@@ -1305,41 +1448,50 @@
|
|
|
1305
1448
|
height: var(--_kjun-switch-height);
|
|
1306
1449
|
padding: var(--_kjun-extension-switch-padding);
|
|
1307
1450
|
border-radius: var(--_kjun-extension-switch-radius);
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out)
|
|
1451
|
+
/* Off is a quiet track with no boundary; the white thumb carries the shape. The switch-track role (default border) lets a
|
|
1452
|
+
palette darken it to the 3:1 a control boundary needs without changing every border. */
|
|
1453
|
+
background: var(--_kjun-color-switch-track);
|
|
1454
|
+
transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
1312
1455
|
}
|
|
1313
1456
|
.kjun-scope .kjun-switch--sm { --_kjun-switch-width: var(--_kjun-extension-switch-widths-sm); --_kjun-switch-height: var(--_kjun-extension-switch-heights-sm); }
|
|
1314
1457
|
.kjun-scope .kjun-switch--lg { --_kjun-switch-width: var(--_kjun-extension-switch-widths-lg); --_kjun-switch-height: var(--_kjun-extension-switch-heights-lg); }
|
|
1315
|
-
.kjun-scope .kjun-switch--on { background: var(--_kjun-brand);
|
|
1316
|
-
/*
|
|
1317
|
-
both states keep the same gap between thumb and edge, and the thumb grows as it turns on. */
|
|
1458
|
+
.kjun-scope .kjun-switch--on { background: var(--_kjun-brand); }
|
|
1459
|
+
/* One thumb in both states: the same size, lifted by a contact shadow, only its position changes. */
|
|
1318
1460
|
.kjun-scope .kjun-switch-thumb {
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1461
|
+
display: flex;
|
|
1462
|
+
align-items: center;
|
|
1463
|
+
justify-content: center;
|
|
1464
|
+
width: calc(var(--_kjun-switch-height) - 2 * var(--_kjun-extension-switch-padding));
|
|
1465
|
+
height: calc(var(--_kjun-switch-height) - 2 * var(--_kjun-extension-switch-padding));
|
|
1324
1466
|
border-radius: 50%;
|
|
1325
|
-
background: var(--_kjun-
|
|
1467
|
+
background: var(--_kjun-color-switch-thumb);
|
|
1468
|
+
/* A lift strong enough to part the white thumb from a pale off track. */
|
|
1469
|
+
box-shadow: var(--_kjun-switch-elevation);
|
|
1326
1470
|
transform: translateX(0);
|
|
1327
|
-
transition: transform var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out)
|
|
1328
|
-
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);
|
|
1471
|
+
transition: transform var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
1329
1472
|
}
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1473
|
+
/* switch-thumb falls back to switch-thumb-on, so the thumb keeps one colour unless a palette sets them apart. */
|
|
1474
|
+
.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))); }
|
|
1475
|
+
/* Saving: a small ring turns inside the thumb while the switch ignores presses. */
|
|
1476
|
+
.kjun-scope .kjun-switch-spinner {
|
|
1477
|
+
box-sizing: border-box;
|
|
1478
|
+
width: var(--_kjun-extension-switch-spinner-size);
|
|
1479
|
+
height: var(--_kjun-extension-switch-spinner-size);
|
|
1480
|
+
border-radius: 50%;
|
|
1481
|
+
border: var(--_kjun-border-control-width) solid var(--_kjun-border);
|
|
1482
|
+
border-top-color: var(--_kjun-text-secondary);
|
|
1483
|
+
animation: kjun-spin var(--_kjun-motion-spin) linear infinite;
|
|
1335
1484
|
}
|
|
1485
|
+
/* Without motion the ring holds still; the saving state is still announced. */
|
|
1486
|
+
@media (prefers-reduced-motion: reduce) { .kjun-scope .kjun-switch-spinner { animation: none; } }
|
|
1487
|
+
.kjun-scope .kjun-choice[data-loading] { cursor: progress; }
|
|
1336
1488
|
|
|
1337
1489
|
@media (pointer: coarse) {
|
|
1338
1490
|
.kjun-scope .kjun-choice { min-height: var(--_kjun-geometry-native-minimum-touch-target); }
|
|
1339
1491
|
}
|
|
1340
1492
|
|
|
1341
1493
|
@media (prefers-reduced-motion: reduce) {
|
|
1342
|
-
.kjun-scope .kjun-field { transition: none; }
|
|
1494
|
+
.kjun-scope .kjun-field, .kjun-scope .kjun-switch, .kjun-scope .kjun-switch-thumb { transition: none; }
|
|
1343
1495
|
}
|
|
1344
1496
|
|
|
1345
1497
|
/* Generated from definitions/typography.json. */
|
|
@@ -1503,6 +1655,12 @@
|
|
|
1503
1655
|
@media (prefers-reduced-motion: reduce) { .kjun-scope [class*="kjun-price-flash-"] { animation: none; } }
|
|
1504
1656
|
|
|
1505
1657
|
/* KJUN 공통 구조. 색상과 서체는 프로젝트가 제공한 CSS 변수를 사용한다. */
|
|
1658
|
+
/* Safe area: KjunProvider's safeArea, else the browser's env(safe-area-inset-*). Toasts, modals, menus and edge
|
|
1659
|
+
components all read these two values. */
|
|
1660
|
+
.kjun-scope {
|
|
1661
|
+
--_kjun-safe-area-top: var(--_kjun-safe-top, env(safe-area-inset-top, 0px));
|
|
1662
|
+
--_kjun-safe-area-bottom: var(--_kjun-safe-bottom, env(safe-area-inset-bottom, 0px));
|
|
1663
|
+
}
|
|
1506
1664
|
.kjun-button {
|
|
1507
1665
|
position: relative;
|
|
1508
1666
|
display: inline-flex;
|
|
@@ -1739,6 +1897,9 @@
|
|
|
1739
1897
|
align-items: center;
|
|
1740
1898
|
justify-content: center;
|
|
1741
1899
|
padding: var(--_kjun-geometry-modal-mobile-inset);
|
|
1900
|
+
/* Like Native: the dialog keeps clear of the safe area on edge-to-edge mobile pages. */
|
|
1901
|
+
padding-top: calc(var(--_kjun-geometry-modal-mobile-inset) + var(--_kjun-safe-area-top));
|
|
1902
|
+
padding-bottom: calc(var(--_kjun-geometry-modal-mobile-inset) + var(--_kjun-safe-area-bottom));
|
|
1742
1903
|
}
|
|
1743
1904
|
.kjun-modal {
|
|
1744
1905
|
display: flex;
|
|
@@ -1746,7 +1907,7 @@
|
|
|
1746
1907
|
background: var(--_kjun-color-surface);
|
|
1747
1908
|
border-radius: var(--_kjun-geometry-modal-radius);
|
|
1748
1909
|
box-shadow: var(--_kjun-modal-elevation);
|
|
1749
|
-
max-height: calc(100dvh - 2 * var(--_kjun-geometry-modal-mobile-inset));
|
|
1910
|
+
max-height: calc(100dvh - 2 * var(--_kjun-geometry-modal-mobile-inset) - var(--_kjun-safe-area-top) - var(--_kjun-safe-area-bottom));
|
|
1750
1911
|
max-width: 100%;
|
|
1751
1912
|
overflow: hidden;
|
|
1752
1913
|
outline: none;
|
|
@@ -1801,6 +1962,68 @@
|
|
|
1801
1962
|
overflow: auto;
|
|
1802
1963
|
color: var(--_kjun-color-text);
|
|
1803
1964
|
}
|
|
1965
|
+
/* Confirm and prompt dialogs: one small surface, no header or footer bands, the field labelled above. */
|
|
1966
|
+
.kjun-feedback-dialog > h2 {
|
|
1967
|
+
margin: 0;
|
|
1968
|
+
font-size: var(--_kjun-type-section-title-size);
|
|
1969
|
+
line-height: var(--_kjun-type-section-title-line);
|
|
1970
|
+
font-weight: var(--_kjun-type-section-title-weight);
|
|
1971
|
+
letter-spacing: var(--_kjun-type-section-title-tracking);
|
|
1972
|
+
overflow-wrap: anywhere;
|
|
1973
|
+
word-break: keep-all;
|
|
1974
|
+
}
|
|
1975
|
+
.kjun-feedback-dialog-message {
|
|
1976
|
+
margin: var(--_kjun-extension-feedback-dialog-message-gap) 0 0;
|
|
1977
|
+
color: var(--_kjun-color-text-secondary);
|
|
1978
|
+
font-size: var(--_kjun-type-body-size);
|
|
1979
|
+
line-height: var(--_kjun-type-body-line);
|
|
1980
|
+
overflow-wrap: anywhere;
|
|
1981
|
+
word-break: keep-all;
|
|
1982
|
+
}
|
|
1983
|
+
/* A danger dialog's message is a warning: a faint danger surface with the alert mark. */
|
|
1984
|
+
.kjun-feedback-dialog-message[data-tone="danger"] {
|
|
1985
|
+
display: flex;
|
|
1986
|
+
gap: var(--_kjun-extension-feedback-dialog-warning-gap);
|
|
1987
|
+
margin-top: var(--_kjun-extension-feedback-dialog-warning-padding);
|
|
1988
|
+
padding: var(--_kjun-extension-feedback-dialog-warning-padding);
|
|
1989
|
+
border-radius: var(--_kjun-extension-feedback-dialog-warning-radius);
|
|
1990
|
+
background: color-mix(in srgb, var(--_kjun-color-danger) calc(var(--_kjun-state-opacity-tint-control) * 100%), transparent);
|
|
1991
|
+
color: var(--_kjun-color-text);
|
|
1992
|
+
}
|
|
1993
|
+
.kjun-feedback-dialog-message[data-tone="danger"] > svg { flex: none; margin-top: calc((var(--_kjun-type-body-line) - var(--_kjun-extension-form-message-icon-size)) / 2); color: var(--_kjun-color-danger); }
|
|
1994
|
+
.kjun-feedback-dialog-field { margin-top: var(--_kjun-extension-feedback-dialog-field-gap); }
|
|
1995
|
+
/* A confirm's own failure (onConfirm threw) reads under its message. */
|
|
1996
|
+
.kjun-feedback-dialog-error { margin: var(--_kjun-extension-feedback-dialog-message-gap) 0 0; color: var(--_kjun-color-danger); font-size: var(--_kjun-type-caption-size); line-height: var(--_kjun-type-caption-line); overflow-wrap: anywhere; }
|
|
1997
|
+
.kjun-feedback-dialog-label {
|
|
1998
|
+
display: flex;
|
|
1999
|
+
align-items: baseline;
|
|
2000
|
+
justify-content: space-between;
|
|
2001
|
+
gap: var(--_kjun-geometry-dimension-value8);
|
|
2002
|
+
margin-bottom: var(--_kjun-extension-form-label-gap);
|
|
2003
|
+
font-size: var(--_kjun-type-label-size);
|
|
2004
|
+
line-height: var(--_kjun-type-label-line);
|
|
2005
|
+
font-weight: var(--_kjun-type-label-weight);
|
|
2006
|
+
}
|
|
2007
|
+
.kjun-feedback-dialog-count {
|
|
2008
|
+
flex: none;
|
|
2009
|
+
color: var(--_kjun-color-text-tertiary);
|
|
2010
|
+
font-size: var(--_kjun-type-caption-size);
|
|
2011
|
+
line-height: var(--_kjun-type-caption-line);
|
|
2012
|
+
font-weight: var(--_kjun-type-caption-weight);
|
|
2013
|
+
font-variant-numeric: tabular-nums;
|
|
2014
|
+
}
|
|
2015
|
+
.kjun-feedback-dialog-label strong { font-weight: var(--_kjun-type-control-weight); }
|
|
2016
|
+
.kjun-feedback-dialog-actions {
|
|
2017
|
+
display: flex;
|
|
2018
|
+
justify-content: flex-end;
|
|
2019
|
+
gap: var(--_kjun-geometry-dimension-value8);
|
|
2020
|
+
margin-top: var(--_kjun-extension-feedback-dialog-actions-gap);
|
|
2021
|
+
}
|
|
2022
|
+
/* Phones: the two choices split the width with large targets. */
|
|
2023
|
+
@media (width <= 640px) {
|
|
2024
|
+
/* Buttons set their height inline, so the large target needs to win over it. */
|
|
2025
|
+
.kjun-feedback-dialog-actions > .kjun-button { flex: 1; height: var(--_kjun-geometry-button-heights-lg) !important; }
|
|
2026
|
+
}
|
|
1804
2027
|
.kjun-modal-footer {
|
|
1805
2028
|
padding: var(--_kjun-geometry-modal-header-padding-y) var(--_kjun-geometry-modal-padding);
|
|
1806
2029
|
border-top: var(--_kjun-border-default-width) solid var(--_kjun-color-border);
|
|
@@ -1919,51 +2142,40 @@
|
|
|
1919
2142
|
margin-bottom: 0;
|
|
1920
2143
|
}
|
|
1921
2144
|
|
|
1922
|
-
.kjun-skeleton-line-sm {
|
|
1923
|
-
height: var(--_kjun-extension-skeleton-line-heights-sm);
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
.kjun-skeleton-line-lg {
|
|
1927
|
-
height: var(--_kjun-extension-skeleton-line-heights-lg);
|
|
1928
|
-
}
|
|
1929
|
-
|
|
1930
2145
|
/* Avatar */
|
|
1931
2146
|
.kjun-skeleton-avatar {
|
|
1932
2147
|
background: var(--_kjun-skeleton);
|
|
1933
2148
|
flex-shrink: 0;
|
|
1934
2149
|
}
|
|
1935
2150
|
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
2151
|
+
/* Text slots: each bar is half its role's line height, centred in a full line box, so a skeleton is as tall as the text
|
|
2152
|
+
it stands in for. */
|
|
2153
|
+
.kjun-skeleton-slot {
|
|
2154
|
+
display: flex;
|
|
2155
|
+
align-items: center;
|
|
2156
|
+
height: var(--_kjun-skeleton-slot, var(--_kjun-type-body-line));
|
|
2157
|
+
}
|
|
2158
|
+
.kjun-skeleton-slot > .kjun-skeleton-line {
|
|
2159
|
+
height: 50%;
|
|
2160
|
+
margin-bottom: 0;
|
|
2161
|
+
}
|
|
2162
|
+
/* A line skeleton stands in for one line of text and is as wide as its width prop. It stays a block, so a
|
|
2163
|
+
role's line box is never stretched by the surrounding text's line height. */
|
|
2164
|
+
.kjun-skeleton[data-type="line"] {
|
|
2165
|
+
max-width: 100%;
|
|
1940
2166
|
}
|
|
1941
2167
|
|
|
1942
|
-
/* Card */
|
|
2168
|
+
/* Card: the silhouette of a default KjunCard (surface, no border) with a title, a subtitle and body lines. */
|
|
1943
2169
|
.kjun-skeleton-card {
|
|
1944
2170
|
padding: var(--_kjun-extension-skeleton-padding);
|
|
1945
|
-
border: var(--_kjun-border-default-width) solid var(--_kjun-border-primary);
|
|
1946
2171
|
border-radius: var(--_kjun-extension-skeleton-radius);
|
|
1947
|
-
background: var(--_kjun-
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
.kjun-skeleton-card-header {
|
|
1951
|
-
display: flex;
|
|
1952
|
-
align-items: center;
|
|
1953
|
-
gap: var(--_kjun-extension-skeleton-gap);
|
|
1954
|
-
margin-bottom: var(--_kjun-extension-skeleton-form-gap);
|
|
1955
|
-
}
|
|
1956
|
-
|
|
1957
|
-
.kjun-skeleton-card-header-text {
|
|
1958
|
-
flex: 1;
|
|
2172
|
+
background: var(--_kjun-color-surface);
|
|
1959
2173
|
}
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
margin-bottom: var(--_kjun-extension-skeleton-field-gap);
|
|
2174
|
+
.kjun-skeleton-card-header > .kjun-skeleton-slot + .kjun-skeleton-slot {
|
|
2175
|
+
margin-top: var(--_kjun-geometry-card-subtitle-gap);
|
|
1963
2176
|
}
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
margin-bottom: var(--_kjun-geometry-dimension-value10);
|
|
2177
|
+
.kjun-skeleton-card-body {
|
|
2178
|
+
margin-top: var(--_kjun-extension-skeleton-padding);
|
|
1967
2179
|
}
|
|
1968
2180
|
|
|
1969
2181
|
/* Table */
|
|
@@ -1998,35 +2210,12 @@
|
|
|
1998
2210
|
height: var(--_kjun-extension-skeleton-table-line-height);
|
|
1999
2211
|
}
|
|
2000
2212
|
|
|
2001
|
-
/* Stat
|
|
2002
|
-
.kjun-skeleton-stat {
|
|
2003
|
-
|
|
2004
|
-
justify-content: space-between;
|
|
2005
|
-
align-items: center;
|
|
2006
|
-
padding: var(--_kjun-extension-skeleton-padding);
|
|
2007
|
-
border: var(--_kjun-border-default-width) solid var(--_kjun-border-primary);
|
|
2008
|
-
border-radius: var(--_kjun-extension-skeleton-radius);
|
|
2009
|
-
background: var(--_kjun-bg-primary);
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
.kjun-skeleton-stat-content {
|
|
2013
|
-
flex: 1;
|
|
2014
|
-
}
|
|
2015
|
-
|
|
2016
|
-
.kjun-skeleton-stat-content .kjun-skeleton-line {
|
|
2017
|
-
margin-bottom: var(--_kjun-extension-skeleton-field-gap);
|
|
2018
|
-
}
|
|
2019
|
-
|
|
2020
|
-
.kjun-skeleton-stat-chart {
|
|
2021
|
-
width: var(--_kjun-extension-skeleton-stat-width);
|
|
2022
|
-
height: var(--_kjun-extension-skeleton-stat-height);
|
|
2213
|
+
/* Stat: one KpiRow item, label, value and description on their own line boxes. */
|
|
2214
|
+
.kjun-skeleton-stat > .kjun-skeleton-slot:nth-child(2) {
|
|
2215
|
+
margin-top: var(--_kjun-extension-kpi-row-md-label-gap);
|
|
2023
2216
|
}
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
width: 100%;
|
|
2027
|
-
height: 100%;
|
|
2028
|
-
background: var(--_kjun-skeleton);
|
|
2029
|
-
border-radius: var(--_kjun-extension-skeleton-line-radius);
|
|
2217
|
+
.kjun-skeleton-stat > .kjun-skeleton-slot:last-child {
|
|
2218
|
+
margin-top: var(--_kjun-extension-kpi-row-md-description-gap);
|
|
2030
2219
|
}
|
|
2031
2220
|
|
|
2032
2221
|
/* Block */
|
|
@@ -2035,30 +2224,18 @@
|
|
|
2035
2224
|
border-radius: var(--_kjun-extension-skeleton-block-radius);
|
|
2036
2225
|
}
|
|
2037
2226
|
|
|
2038
|
-
/* Animation */
|
|
2227
|
+
/* Animation: every bar brightens and dims together (as on Native), so a group of skeletons moves as one. */
|
|
2039
2228
|
.kjun-skeleton-animated .kjun-skeleton-line,
|
|
2040
2229
|
.kjun-skeleton-animated .kjun-skeleton-avatar,
|
|
2041
|
-
.kjun-skeleton-animated .kjun-skeleton-sparkline,
|
|
2042
2230
|
.kjun-skeleton-animated .kjun-skeleton-block {
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
var(--_kjun-skeleton) 25%,
|
|
2046
|
-
var(--_kjun-skeleton-shine) 50%,
|
|
2047
|
-
var(--_kjun-skeleton) 75%
|
|
2048
|
-
);
|
|
2049
|
-
background-size: 200% 100%;
|
|
2050
|
-
animation: kjun-skeleton-shimmer var(--_kjun-motion-shimmer) ease-in-out infinite;
|
|
2231
|
+
animation: kjun-skeleton-pulse var(--_kjun-motion-shimmer) ease-in-out infinite;
|
|
2232
|
+
animation-delay: var(--_kjun-skeleton-delay, 0ms);
|
|
2051
2233
|
}
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
background-position: 200% 0;
|
|
2056
|
-
}
|
|
2057
|
-
100% {
|
|
2058
|
-
background-position: -200% 0;
|
|
2234
|
+
@keyframes kjun-skeleton-pulse {
|
|
2235
|
+
50% {
|
|
2236
|
+
background-color: var(--_kjun-skeleton-shine);
|
|
2059
2237
|
}
|
|
2060
2238
|
}
|
|
2061
|
-
|
|
2062
2239
|
@media (prefers-reduced-motion: reduce) {
|
|
2063
2240
|
.kjun-skeleton-animated * {
|
|
2064
2241
|
animation: none !important;
|
|
@@ -2069,18 +2246,18 @@
|
|
|
2069
2246
|
align-items: center;
|
|
2070
2247
|
gap: var(--_kjun-extension-badge-gap);
|
|
2071
2248
|
border-radius: var(--_kjun-extension-badge-radius);
|
|
2072
|
-
font-weight: var(--_kjun-
|
|
2073
|
-
line-height: 1.5;
|
|
2249
|
+
font-weight: var(--_kjun-extension-badge-font-weight);
|
|
2074
2250
|
white-space: normal;
|
|
2075
2251
|
overflow-wrap: anywhere;
|
|
2076
2252
|
}
|
|
2077
2253
|
/* The dot centres on the first line, so a wrapped label still starts beside it. */
|
|
2254
|
+
/* Each size sets --_kjun-badge-dot (8px at lg and xl), so the dot and its centring use the same size. */
|
|
2078
2255
|
.kjun-badge-dot {
|
|
2079
|
-
width: var(--_kjun-extension-badge-dot-size);
|
|
2080
|
-
height: var(--_kjun-extension-badge-dot-size);
|
|
2256
|
+
width: var(--_kjun-badge-dot, var(--_kjun-extension-badge-dot-size));
|
|
2257
|
+
height: var(--_kjun-badge-dot, var(--_kjun-extension-badge-dot-size));
|
|
2081
2258
|
flex-shrink: 0;
|
|
2082
2259
|
align-self: flex-start;
|
|
2083
|
-
margin-top: calc((1lh - var(--_kjun-extension-badge-dot-size)) / 2);
|
|
2260
|
+
margin-top: calc((1lh - var(--_kjun-badge-dot, var(--_kjun-extension-badge-dot-size))) / 2);
|
|
2084
2261
|
border-radius: 50%;
|
|
2085
2262
|
background: currentColor;
|
|
2086
2263
|
}
|
|
@@ -2356,8 +2533,47 @@
|
|
|
2356
2533
|
}
|
|
2357
2534
|
.kjun-textarea {
|
|
2358
2535
|
line-height: var(--_kjun-type-input-line);
|
|
2359
|
-
|
|
2360
2536
|
}
|
|
2537
|
+
/* The height follows the text up to maxRows; only then does the field scroll. */
|
|
2538
|
+
.kjun-textarea[data-grow] { overflow-y: hidden; }
|
|
2539
|
+
.kjun-textarea[data-grow][data-overflow] { overflow-y: auto; }
|
|
2540
|
+
/* With a footer (count, actions, submit) the wrapper is the field surface and the textarea sits inside it. */
|
|
2541
|
+
.kjun-textarea-field {
|
|
2542
|
+
position: relative;
|
|
2543
|
+
display: flex;
|
|
2544
|
+
flex-direction: column;
|
|
2545
|
+
min-width: 0;
|
|
2546
|
+
border: var(--_kjun-border-control-width) solid transparent;
|
|
2547
|
+
background: var(--_kjun-color-input-bg);
|
|
2548
|
+
transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out), border-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
2549
|
+
}
|
|
2550
|
+
.kjun-textarea-field:hover:not([data-disabled]):not([data-readonly]):not([data-invalid]):not(:focus-within) { background: var(--_kjun-color-hover); }
|
|
2551
|
+
.kjun-textarea-field:focus-within { border-color: var(--_kjun-color-input-border-focus); }
|
|
2552
|
+
.kjun-textarea-field[data-invalid] { border-color: var(--_kjun-color-danger); }
|
|
2553
|
+
.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); }
|
|
2554
|
+
.kjun-textarea-field[data-invalid]:has(.kjun-textarea:focus-visible) { outline-offset: var(--_kjun-state-focus-offset); }
|
|
2555
|
+
/* Outranks the shared .kjun-input hover, focus and invalid paint; the wrapper above carries them. */
|
|
2556
|
+
.kjun-textarea-field > .kjun-input.kjun-textarea,
|
|
2557
|
+
.kjun-textarea-field > .kjun-input.kjun-textarea:is(:hover, :focus, :focus-visible, [aria-invalid="true"], :disabled) {
|
|
2558
|
+
border: 0; border-radius: 0; background: transparent; outline: none;
|
|
2559
|
+
}
|
|
2560
|
+
.kjun-textarea-footer {
|
|
2561
|
+
display: flex;
|
|
2562
|
+
align-items: center;
|
|
2563
|
+
gap: var(--_kjun-extension-textarea-footer-gap);
|
|
2564
|
+
padding: 0 var(--_kjun-extension-textarea-footer-padding) var(--_kjun-extension-textarea-footer-padding);
|
|
2565
|
+
}
|
|
2566
|
+
.kjun-textarea-count {
|
|
2567
|
+
margin-left: auto;
|
|
2568
|
+
padding-inline: var(--_kjun-extension-textarea-count-padding-x);
|
|
2569
|
+
font-size: var(--_kjun-type-caption-size); line-height: var(--_kjun-type-caption-line);
|
|
2570
|
+
color: var(--_kjun-color-text-tertiary);
|
|
2571
|
+
font-variant-numeric: tabular-nums;
|
|
2572
|
+
}
|
|
2573
|
+
.kjun-textarea-count[data-over] { color: var(--_kjun-color-danger); font-weight: var(--_kjun-type-control-weight); }
|
|
2574
|
+
.kjun-textarea-field[data-disabled] .kjun-textarea-count { color: var(--_kjun-color-text-disabled); }
|
|
2575
|
+
.kjun-textarea-footer .kjun-textarea-submit { margin-left: auto; border-radius: var(--_kjun-extension-textarea-submit-radius); }
|
|
2576
|
+
.kjun-textarea-count + .kjun-textarea-submit { margin-left: 0; }
|
|
2361
2577
|
.kjun-button-group {
|
|
2362
2578
|
position: relative;
|
|
2363
2579
|
isolation: isolate;
|
|
@@ -2542,16 +2758,21 @@
|
|
|
2542
2758
|
outline: none;
|
|
2543
2759
|
}
|
|
2544
2760
|
.kjun-content-popover {
|
|
2545
|
-
width:var(--_kjun-extension-popover-width); border:
|
|
2761
|
+
width:var(--_kjun-extension-popover-width); border:var(--_kjun-border-default-width) solid var(--_kjun-color-border); border-radius:var(--_kjun-extension-popover-radius);
|
|
2546
2762
|
background:var(--_kjun-color-surface); color:var(--_kjun-color-text); box-shadow:var(--_kjun-popover-elevation);
|
|
2547
2763
|
font-size:var(--_kjun-type-body-size); line-height:var(--_kjun-type-body-line);
|
|
2548
2764
|
font-weight:var(--_kjun-type-body-weight); letter-spacing:var(--_kjun-type-body-tracking);
|
|
2549
2765
|
}
|
|
2766
|
+
.kjun-content-popover.kjun-popover-width-sm { width:var(--_kjun-extension-popover-widths-sm); }
|
|
2767
|
+
.kjun-content-popover.kjun-popover-width-md { width:var(--_kjun-extension-popover-widths-md); }
|
|
2768
|
+
.kjun-content-popover.kjun-popover-width-lg { width:var(--_kjun-extension-popover-widths-lg); }
|
|
2550
2769
|
.kjun-popover-dialog { outline:none; }
|
|
2551
2770
|
/* With a header only the body scrolls: the panel and dialog become clipping flex columns. */
|
|
2552
2771
|
.kjun-popover-has-header { display:flex; flex-direction:column; overflow:hidden; }
|
|
2553
2772
|
.kjun-popover-has-header .kjun-popover-dialog { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; }
|
|
2554
|
-
|
|
2773
|
+
/* A light title on the panel itself: control type, no divider, the body follows after a short gap. */
|
|
2774
|
+
.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; }
|
|
2775
|
+
.kjun-popover-has-header .kjun-popover-content:not([data-no-padding="true"]) { padding-top:0; }
|
|
2555
2776
|
.kjun-popover-body { flex:1 1 auto; min-height:0; overflow-y:auto; }
|
|
2556
2777
|
.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; }
|
|
2557
2778
|
.kjun-popover-content[data-no-padding="true"] { padding:0; gap:0; }
|
|
@@ -2603,7 +2824,7 @@
|
|
|
2603
2824
|
display: flex;
|
|
2604
2825
|
align-items: center;
|
|
2605
2826
|
gap: var(--_kjun-geometry-dimension-value8);
|
|
2606
|
-
min-height: var(--_kjun-extension-menu-
|
|
2827
|
+
min-height: var(--_kjun-extension-menu-item-height);
|
|
2607
2828
|
padding: var(--_kjun-extension-menu-option-padding-y) var(--_kjun-extension-menu-option-padding-x);
|
|
2608
2829
|
border-radius: var(--_kjun-extension-menu-option-radius);
|
|
2609
2830
|
font-size: var(--_kjun-extension-menu-option-font-size); font-weight: var(--_kjun-type-body-weight); letter-spacing: var(--_kjun-type-body-tracking);
|
|
@@ -2612,39 +2833,54 @@
|
|
|
2612
2833
|
outline: none;
|
|
2613
2834
|
color: var(--_kjun-color-text);
|
|
2614
2835
|
}
|
|
2615
|
-
.kjun-menu-item >
|
|
2836
|
+
.kjun-menu-item > .kjun-menu-label {
|
|
2837
|
+
display: flex;
|
|
2838
|
+
flex-direction: column;
|
|
2616
2839
|
flex: 1;
|
|
2617
2840
|
min-width: 0;
|
|
2618
2841
|
overflow-wrap: anywhere;
|
|
2619
2842
|
}
|
|
2620
|
-
/*
|
|
2843
|
+
/* A two-line item keeps its icon and check on the label's first line. */
|
|
2844
|
+
.kjun-menu-item:has(.kjun-menu-description) { align-items: flex-start; }
|
|
2845
|
+
.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); }
|
|
2846
|
+
.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); }
|
|
2847
|
+
.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; }
|
|
2848
|
+
.kjun-menu-chevron { flex: none; color: var(--_kjun-color-text-tertiary); }
|
|
2849
|
+
/* One cue for the current item: the focused (or hovered) row's fill, by mouse and keyboard alike. */
|
|
2621
2850
|
.kjun-menu-item[data-focused]:not([data-disabled]):not([data-kjun-selected]) {
|
|
2622
2851
|
background: var(--_kjun-color-hover);
|
|
2623
2852
|
}
|
|
2624
|
-
.
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
.kjun-menu-item[data-kjun-selected] {
|
|
2628
|
-
background: var(--_kjun-color-selected-bg);
|
|
2629
|
-
}
|
|
2630
|
-
.kjun-menu-item[data-focus-visible]:not([data-disabled]) {
|
|
2631
|
-
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
2632
|
-
outline-offset: var(--_kjun-state-focus-inset-offset);
|
|
2853
|
+
/* Danger keeps a light tint of its own colour in both themes instead of a heavy fill. */
|
|
2854
|
+
.kjun-menu-item[data-variant="danger"][data-focused]:not([data-disabled]) {
|
|
2855
|
+
background: color-mix(in srgb, var(--_kjun-color-danger) calc(var(--_kjun-state-opacity-tint-hover) * 100%), transparent);
|
|
2633
2856
|
}
|
|
2857
|
+
.kjun-menu-item[data-kjun-selected] { background: var(--_kjun-color-selected-bg); }
|
|
2858
|
+
/* The selected row keeps its fill under the hover, so keyboard focus there shows as an inset ring, as on Native. */
|
|
2859
|
+
.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); }
|
|
2634
2860
|
.kjun-menu-check { color: var(--_kjun-color-brand); }
|
|
2635
2861
|
/* Leading icons sit a step below the regular-weight label; danger items keep their role color. */
|
|
2636
2862
|
.kjun-menu-item:not([data-variant="danger"]) .kjun-menu-icon { color: var(--_kjun-color-text-secondary); }
|
|
2637
|
-
/*
|
|
2638
|
-
.kjun-menu:has(.kjun-menu-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
.kjun-menu-item
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
}
|
|
2645
|
-
.kjun-menu-item[data-variant="danger"] {
|
|
2646
|
-
|
|
2647
|
-
}
|
|
2863
|
+
/* The check and icon columns each appear once any item uses them, so every label starts on the same line. */
|
|
2864
|
+
.kjun-menu:has(.kjun-menu-check) .kjun-menu-item:not(:has(.kjun-menu-check)) { --_kjun-menu-check-slot: 1; }
|
|
2865
|
+
.kjun-menu:has(.kjun-menu-icon) .kjun-menu-item:not(:has(.kjun-menu-icon)) { --_kjun-menu-icon-slot: 1; }
|
|
2866
|
+
/* The check column is reserved before the row content and the icon column after the check, so both columns line up. */
|
|
2867
|
+
.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))); }
|
|
2868
|
+
.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))); }
|
|
2869
|
+
.kjun-menu-item[data-disabled] { color: var(--_kjun-color-text-disabled); cursor: not-allowed; }
|
|
2870
|
+
.kjun-menu-item[data-disabled] :is(.kjun-menu-icon, .kjun-menu-description, .kjun-menu-shortcut, .kjun-menu-check) { color: var(--_kjun-color-text-disabled); }
|
|
2871
|
+
.kjun-menu-item[data-variant="danger"]:not([data-disabled]) { color: var(--_kjun-color-danger); }
|
|
2872
|
+
/* A submenu's first row leads back to the parent menu. */
|
|
2873
|
+
.kjun-menu-item.kjun-menu-back { font-weight: var(--_kjun-type-control-weight); }
|
|
2874
|
+
.kjun-menu-section-title {
|
|
2875
|
+
padding: var(--_kjun-extension-menu-section-padding-top) var(--_kjun-extension-menu-option-padding-x) var(--_kjun-extension-menu-section-padding-bottom);
|
|
2876
|
+
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);
|
|
2877
|
+
}
|
|
2878
|
+
/* Compact menus for desktop tables and toolbars; touch keeps the full target. */
|
|
2879
|
+
.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); }
|
|
2880
|
+
.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); }
|
|
2881
|
+
.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))); }
|
|
2882
|
+
/* Touch keeps the full target even in a compact menu, so this outranks the compact rows above. */
|
|
2883
|
+
@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); } }
|
|
2648
2884
|
.kjun-menu-divider {
|
|
2649
2885
|
height: var(--_kjun-extension-menu-divider-height);
|
|
2650
2886
|
margin: var(--_kjun-geometry-dimension-value4) 0;
|
|
@@ -2830,34 +3066,6 @@
|
|
|
2830
3066
|
@media (prefers-reduced-motion: reduce) { .kjun-select-indicator { transition: none; } }
|
|
2831
3067
|
/* A failed search reads as an error, never as an empty result. */
|
|
2832
3068
|
.kjun-select-empty[role="alert"] { color: var(--_kjun-color-danger); }
|
|
2833
|
-
.kjun-input.kjun-date-masked {
|
|
2834
|
-
color: transparent;
|
|
2835
|
-
}
|
|
2836
|
-
/* Web draws the same calendar icon as Native; the browser indicator stays as a transparent hit area over it. */
|
|
2837
|
-
.kjun-date-picker .kjun-input-affix { pointer-events: none; }
|
|
2838
|
-
.kjun-date-picker input[type="date"]::-webkit-calendar-picker-indicator {
|
|
2839
|
-
position: absolute;
|
|
2840
|
-
top: 0;
|
|
2841
|
-
bottom: 0;
|
|
2842
|
-
right: var(--_kjun-date-icon-inset);
|
|
2843
|
-
width: var(--_kjun-date-icon-size);
|
|
2844
|
-
height: auto;
|
|
2845
|
-
margin: 0;
|
|
2846
|
-
padding: 0;
|
|
2847
|
-
opacity: 0;
|
|
2848
|
-
cursor: pointer;
|
|
2849
|
-
}
|
|
2850
|
-
.kjun-date-overlay {
|
|
2851
|
-
position: absolute;
|
|
2852
|
-
top: 0;
|
|
2853
|
-
bottom: 0;
|
|
2854
|
-
right: var(--_kjun-geometry-input-md-height);
|
|
2855
|
-
display: flex;
|
|
2856
|
-
align-items: center;
|
|
2857
|
-
pointer-events: none;
|
|
2858
|
-
white-space: nowrap;
|
|
2859
|
-
overflow: hidden;
|
|
2860
|
-
}
|
|
2861
3069
|
|
|
2862
3070
|
.kjun-drawer-overlay[data-position="left"] .kjun-drawer { box-shadow: var(--_kjun-drawer-elevation-left); }
|
|
2863
3071
|
.kjun-drawer-overlay[data-position="top"] .kjun-drawer { box-shadow: var(--_kjun-drawer-elevation-top); }
|
|
@@ -2873,7 +3081,14 @@
|
|
|
2873
3081
|
--_kjun-tab-height:var(--_kjun-extension-tabs-compact-height);
|
|
2874
3082
|
--_kjun-tab-padding-x:var(--_kjun-extension-tabs-compact-padding-x);
|
|
2875
3083
|
}
|
|
2876
|
-
.kjun-tabs[data-variant="pills"] {
|
|
3084
|
+
.kjun-tabs[data-variant="pills"] {
|
|
3085
|
+
--_kjun-tab-height:var(--_kjun-extension-tabs-pills-height);
|
|
3086
|
+
--_kjun-tab-padding-x:var(--_kjun-extension-tabs-pills-padding-x);
|
|
3087
|
+
}
|
|
3088
|
+
.kjun-tabs[data-variant="pills"][data-density="compact"] {
|
|
3089
|
+
--_kjun-tab-height:var(--_kjun-extension-tabs-pills-compact-height);
|
|
3090
|
+
--_kjun-tab-padding-x:var(--_kjun-extension-tabs-pills-compact-padding-x);
|
|
3091
|
+
}
|
|
2877
3092
|
.kjun-tabs-header { display:flex; align-items:center; min-width:0; }
|
|
2878
3093
|
.kjun-tabs-list {
|
|
2879
3094
|
display:flex; align-items:center; gap:var(--_kjun-extension-tabs-gap);
|
|
@@ -2888,12 +3103,26 @@
|
|
|
2888
3103
|
font-weight:var(--_kjun-type-label-weight); letter-spacing:var(--_kjun-type-control-tracking);
|
|
2889
3104
|
white-space:nowrap; cursor:pointer; outline:none; -webkit-tap-highlight-color:transparent;
|
|
2890
3105
|
}
|
|
2891
|
-
.kjun-tabs[data-variant="underline"] .kjun-tab:first-child { padding-inline-start:0; }
|
|
3106
|
+
.kjun-tabs[data-variant="underline"]:not([data-full-width]) .kjun-tab:first-child { padding-inline-start:0; }
|
|
3107
|
+
/* fullWidth: tabs share the row equally; the underline then spans the whole tab. */
|
|
3108
|
+
.kjun-tabs[data-full-width] .kjun-tabs-header > :is(.kjun-tabs-track, .kjun-tabs-scroller) { flex:1; }
|
|
3109
|
+
.kjun-tabs[data-full-width] .kjun-tabs-list { width:auto; min-width:max-content; }
|
|
3110
|
+
.kjun-tabs[data-full-width] .kjun-tab { flex:1 0 0; justify-content:center; min-width:max-content; }
|
|
3111
|
+
/* Pills are chips: each tab carries its own fill and the selected one inverts, with no sliding marker. */
|
|
3112
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab { border-radius:var(--_kjun-extension-tabs-pills-radius); background:var(--_kjun-color-secondary) !important; }
|
|
3113
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab[aria-selected="true"] { background:var(--_kjun-color-text) !important; color:var(--_kjun-color-surface); }
|
|
3114
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab-indicator { display:none; }
|
|
3115
|
+
/* A selected chip that is disabled keeps its inverted fill but dims its ink, as on Native. */
|
|
3116
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab[aria-selected="true"]:is([aria-disabled="true"], :disabled) { color:var(--_kjun-color-text-disabled); }
|
|
3117
|
+
/* On an unselected chip a default badge takes the surface, so it does not vanish into the chip's own fill. */
|
|
3118
|
+
.kjun-tabs[data-variant="pills"] .kjun-tab:not([aria-selected="true"]) .kjun-tab-badge[data-variant="default"] { background:var(--_kjun-color-surface) !important; }
|
|
3119
|
+
/* A disabled tab dims its badge with its label. */
|
|
3120
|
+
.kjun-tab:is([aria-disabled="true"], :disabled) .kjun-tab-badge { opacity:var(--_kjun-state-opacity-disabled); }
|
|
2892
3121
|
.kjun-tabs[data-variant="pills"] .kjun-tabs-list {
|
|
2893
3122
|
gap:var(--_kjun-extension-tabs-pills-gap); padding-block:var(--_kjun-extension-tabs-pills-padding-y);
|
|
2894
3123
|
}
|
|
2895
3124
|
.kjun-tab[aria-selected="true"] { color:var(--_kjun-color-text); font-weight:var(--_kjun-type-control-weight); }
|
|
2896
|
-
.kjun-tab[aria-disabled="true"], .kjun-tab:disabled {
|
|
3125
|
+
.kjun-tab[aria-disabled="true"], .kjun-tab:disabled { color:var(--_kjun-color-text-disabled); cursor:not-allowed; }
|
|
2897
3126
|
.kjun-tab[data-focus-visible], .kjun-tab:focus-visible {
|
|
2898
3127
|
outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset:var(--_kjun-state-focus-inset-offset);
|
|
2899
3128
|
}
|
|
@@ -2905,23 +3134,32 @@
|
|
|
2905
3134
|
scroll-padding-inline:var(--_kjun-tab-ring-room);
|
|
2906
3135
|
}
|
|
2907
3136
|
.kjun-tabs[data-variant="underline"] .kjun-tab:is([data-focus-visible], :focus-visible) { outline-offset:var(--_kjun-state-focus-offset); }
|
|
2908
|
-
.kjun-tab:hover:not([aria-disabled="true"]):not(:disabled) { color:var(--_kjun-color-text); }
|
|
2909
|
-
/*
|
|
3137
|
+
.kjun-tab:hover:not([aria-selected="true"]):not([aria-disabled="true"]):not(:disabled) { color:var(--_kjun-color-text); }
|
|
3138
|
+
/* Unselected chips darken to the hover surface, like Chip and ButtonGroup. */
|
|
2910
3139
|
.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) {
|
|
2911
3140
|
background:var(--_kjun-color-hover) !important;
|
|
2912
3141
|
}
|
|
2913
|
-
.kjun-tab-badge {
|
|
2914
|
-
font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line);
|
|
2915
|
-
font-weight:var(--_kjun-type-caption-weight); letter-spacing:var(--_kjun-type-caption-tracking);
|
|
2916
|
-
font-variant-numeric:tabular-nums; font-family:var(--_kjun-font-numeric);
|
|
2917
|
-
}
|
|
3142
|
+
.kjun-tab-badge { font-variant-numeric:tabular-nums; }
|
|
2918
3143
|
.kjun-tab-content { margin-top:var(--_kjun-extension-tabs-content-gap); }
|
|
2919
3144
|
.kjun-tab-panel { outline:none; }
|
|
2920
3145
|
.kjun-accordion {
|
|
3146
|
+
--_kjun-accordion-bg:var(--_kjun-color-surface);
|
|
2921
3147
|
min-width:0; border-radius:var(--_kjun-extension-accordion-radius); overflow:hidden;
|
|
2922
|
-
background:var(--_kjun-
|
|
2923
|
-
}
|
|
2924
|
-
.kjun-accordion[data-tone="muted"] {
|
|
3148
|
+
background:var(--_kjun-accordion-bg);
|
|
3149
|
+
}
|
|
3150
|
+
.kjun-accordion[data-tone="muted"] { --_kjun-accordion-bg:var(--_kjun-color-secondary); }
|
|
3151
|
+
/* separated: each item is its own rounded surface on the tone, with a gap instead of a line. */
|
|
3152
|
+
.kjun-accordion[data-separated] { display:flex; flex-direction:column; gap:var(--_kjun-extension-accordion-item-gap); background:transparent; border-radius:0; overflow:visible; }
|
|
3153
|
+
.kjun-accordion[data-separated] > .kjun-accordion-item { background:var(--_kjun-accordion-bg); border-radius:var(--_kjun-extension-accordion-radius); overflow:hidden; }
|
|
3154
|
+
.kjun-accordion-item { position:relative; }
|
|
3155
|
+
.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)); }
|
|
3156
|
+
/* divider: like ListRow, the line starts where the text does and never follows the last item. */
|
|
3157
|
+
.kjun-accordion[data-divider]:not([data-separated]) > .kjun-accordion-item:not(:last-child)::after {
|
|
3158
|
+
content:""; position:absolute; inset-inline:var(--_kjun-accordion-inset, var(--_kjun-extension-accordion-padding-x)) 0; bottom:0;
|
|
3159
|
+
height:var(--_kjun-border-default-width); background:var(--_kjun-color-divider); pointer-events:none;
|
|
3160
|
+
}
|
|
3161
|
+
/* The heading around each header only carries its level; the header button keeps its own type. */
|
|
3162
|
+
.kjun-accordion-title { margin: 0; font: inherit; }
|
|
2925
3163
|
.kjun-accordion-trigger {
|
|
2926
3164
|
width:100%; min-height:var(--_kjun-extension-accordion-minimum-height);
|
|
2927
3165
|
display:flex; align-items:center; justify-content:space-between; gap:var(--_kjun-extension-accordion-header-gap);
|
|
@@ -2931,39 +3169,74 @@
|
|
|
2931
3169
|
font-weight:var(--_kjun-type-control-weight); letter-spacing:var(--_kjun-type-control-tracking);
|
|
2932
3170
|
cursor:pointer;
|
|
2933
3171
|
}
|
|
3172
|
+
.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); }
|
|
2934
3173
|
.kjun-accordion-heading { flex:1; min-width:0; word-break:keep-all; overflow-wrap:anywhere; }
|
|
2935
|
-
.kjun-accordion-
|
|
3174
|
+
.kjun-accordion-description {
|
|
3175
|
+
display:block; margin-top:var(--_kjun-extension-accordion-description-gap); color:var(--_kjun-color-text-secondary);
|
|
3176
|
+
font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line);
|
|
3177
|
+
font-weight:var(--_kjun-type-caption-weight); letter-spacing:var(--_kjun-type-caption-tracking);
|
|
3178
|
+
}
|
|
3179
|
+
.kjun-accordion-chevron { flex-shrink:0; color:var(--_kjun-color-text-tertiary); }
|
|
2936
3180
|
.kjun-accordion-trigger:disabled { opacity:var(--_kjun-state-opacity-disabled); cursor:not-allowed; }
|
|
2937
|
-
|
|
3181
|
+
/* Hover paints the whole item, header and open body together, and only where a pointer can hover. */
|
|
3182
|
+
@media (hover:hover) {
|
|
3183
|
+
.kjun-accordion-item:has(> .kjun-accordion-trigger:hover:not(:disabled), > .kjun-accordion-title > .kjun-accordion-trigger:hover:not(:disabled)) { background:var(--_kjun-color-hover); }
|
|
3184
|
+
}
|
|
2938
3185
|
/* The accordion clips items to its rounded corners; while focused the trigger takes the same radius so the inset ring stays whole. */
|
|
2939
3186
|
.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); }
|
|
2940
3187
|
.kjun-accordion-panel {
|
|
2941
3188
|
padding:0 var(--_kjun-extension-accordion-padding-x) var(--_kjun-extension-accordion-content-padding-bottom);
|
|
2942
|
-
|
|
3189
|
+
padding-inline-start:var(--_kjun-accordion-inset, var(--_kjun-extension-accordion-padding-x));
|
|
3190
|
+
color:var(--_kjun-color-text); word-break:keep-all; overflow-wrap:anywhere;
|
|
2943
3191
|
font-size:var(--_kjun-type-body-size); line-height:var(--_kjun-type-body-line);
|
|
2944
3192
|
font-weight:var(--_kjun-type-body-weight); letter-spacing:var(--_kjun-type-body-tracking);
|
|
2945
3193
|
}
|
|
3194
|
+
/* A trail is a list (ol > li), so screen readers announce how many steps it has. */
|
|
2946
3195
|
.kjun-breadcrumb {
|
|
2947
|
-
display: flex;
|
|
2948
|
-
align-items: center;
|
|
2949
|
-
flex-wrap: wrap;
|
|
2950
|
-
gap: var(--_kjun-geometry-dimension-value8);
|
|
2951
3196
|
font-size: var(--_kjun-type-body-size);
|
|
2952
3197
|
color: var(--_kjun-color-text-secondary);
|
|
2953
3198
|
line-height: var(--_kjun-type-body-line);
|
|
2954
3199
|
font-weight: var(--_kjun-type-body-weight);
|
|
2955
3200
|
letter-spacing: var(--_kjun-type-body-tracking);
|
|
2956
3201
|
}
|
|
2957
|
-
.kjun-breadcrumb
|
|
3202
|
+
.kjun-breadcrumb-list {
|
|
3203
|
+
display: flex;
|
|
3204
|
+
align-items: center;
|
|
3205
|
+
flex-wrap: wrap;
|
|
3206
|
+
gap: var(--_kjun-extension-breadcrumb-gap);
|
|
3207
|
+
margin: 0;
|
|
3208
|
+
padding: 0;
|
|
3209
|
+
list-style: none;
|
|
3210
|
+
}
|
|
3211
|
+
.kjun-breadcrumb-item {
|
|
3212
|
+
display: inline-flex;
|
|
3213
|
+
align-items: center;
|
|
3214
|
+
gap: var(--_kjun-extension-breadcrumb-gap);
|
|
3215
|
+
min-width: 0;
|
|
3216
|
+
}
|
|
3217
|
+
.kjun-breadcrumb-item > svg {
|
|
3218
|
+
flex: none;
|
|
2958
3219
|
color: var(--_kjun-color-text-tertiary);
|
|
2959
3220
|
}
|
|
3221
|
+
/* Each step keeps one line; a long label ends in an ellipsis at the label width. */
|
|
3222
|
+
.kjun-breadcrumb-item > :is(a, span) {
|
|
3223
|
+
display: inline-flex;
|
|
3224
|
+
align-items: center;
|
|
3225
|
+
gap: var(--_kjun-extension-breadcrumb-icon-gap);
|
|
3226
|
+
max-width: var(--_kjun-extension-breadcrumb-label-max-width);
|
|
3227
|
+
min-width: 0;
|
|
3228
|
+
}
|
|
3229
|
+
.kjun-breadcrumb-label {
|
|
3230
|
+
overflow: hidden;
|
|
3231
|
+
text-overflow: ellipsis;
|
|
3232
|
+
white-space: nowrap;
|
|
3233
|
+
}
|
|
2960
3234
|
.kjun-breadcrumb a {
|
|
2961
3235
|
color: inherit;
|
|
2962
3236
|
text-decoration: none;
|
|
2963
3237
|
}
|
|
2964
3238
|
/* Underlined as well as recolored: with a near-text brand color, hover would otherwise look like the current page. */
|
|
2965
|
-
.kjun-breadcrumb a:hover
|
|
2966
|
-
.kjun-breadcrumb-link:hover {
|
|
3239
|
+
.kjun-breadcrumb a:hover {
|
|
2967
3240
|
color: var(--_kjun-color-brand);
|
|
2968
3241
|
text-decoration: underline;
|
|
2969
3242
|
text-underline-offset: var(--_kjun-geometry-dimension-value2);
|
|
@@ -3127,11 +3400,31 @@
|
|
|
3127
3400
|
vertical-align: middle;
|
|
3128
3401
|
}
|
|
3129
3402
|
.kjun-scroll-fade {
|
|
3403
|
+
--_kjun-fade-to: to right;
|
|
3130
3404
|
overflow-x: auto;
|
|
3131
3405
|
min-width: 0;
|
|
3132
3406
|
max-width: 100%;
|
|
3133
3407
|
scrollbar-width: none;
|
|
3134
3408
|
}
|
|
3409
|
+
.kjun-scroll-fade[data-direction="vertical"] {
|
|
3410
|
+
--_kjun-fade-to: to bottom;
|
|
3411
|
+
overflow-x: hidden;
|
|
3412
|
+
overflow-y: auto;
|
|
3413
|
+
min-height: 0;
|
|
3414
|
+
}
|
|
3415
|
+
/* The start edge is on the right in a right-to-left layout. */
|
|
3416
|
+
.kjun-scroll-fade[data-direction="horizontal"]:dir(rtl) { --_kjun-fade-to: to left; }
|
|
3417
|
+
/* An edge fades while content remains past it; the app's own mask-image style still wins. */
|
|
3418
|
+
.kjun-scroll-fade:is([data-fade-start], [data-fade-end]) {
|
|
3419
|
+
--_kjun-fade-start: currentColor;
|
|
3420
|
+
--_kjun-fade-end: currentColor;
|
|
3421
|
+
-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));
|
|
3422
|
+
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));
|
|
3423
|
+
}
|
|
3424
|
+
.kjun-scroll-fade[data-fade-start] { --_kjun-fade-start: transparent; }
|
|
3425
|
+
.kjun-scroll-fade[data-fade-end] { --_kjun-fade-end: transparent; }
|
|
3426
|
+
/* A named scroller is a focusable region, so keyboard users can scroll it even when nothing inside takes focus. */
|
|
3427
|
+
.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); }
|
|
3135
3428
|
@media (prefers-reduced-motion: reduce) {
|
|
3136
3429
|
.kjun-icon-toggle svg {
|
|
3137
3430
|
transition: none;
|
|
@@ -3195,6 +3488,37 @@
|
|
|
3195
3488
|
.kjun-list-skeleton-row[data-variant="market"] { min-height: var(--_kjun-extension-market-list-minimum-height); padding: var(--_kjun-geometry-dimension-value14) var(--_kjun-geometry-dimension-value20); }
|
|
3196
3489
|
.kjun-list-skeleton-row[data-variant="market"] :is(.kjun-list-skeleton-label, .kjun-list-skeleton-quote) { grid-template-rows: var(--_kjun-type-input-line) var(--_kjun-type-body-line); }
|
|
3197
3490
|
}
|
|
3491
|
+
/* Row: KjunListRow's padding, gap and minimum height; the divider starts where the text does. */
|
|
3492
|
+
.kjun-list-skeleton-row[data-variant="row"] {
|
|
3493
|
+
position: relative;
|
|
3494
|
+
gap: var(--_kjun-extension-list-gap);
|
|
3495
|
+
min-height: var(--_kjun-extension-list-minimum-height);
|
|
3496
|
+
padding: var(--_kjun-extension-list-padding);
|
|
3497
|
+
border-bottom: 0;
|
|
3498
|
+
}
|
|
3499
|
+
.kjun-list-skeleton-row[data-variant="row"]:not(:last-child)::after {
|
|
3500
|
+
content: "";
|
|
3501
|
+
position: absolute;
|
|
3502
|
+
inset-inline: var(--_kjun-list-divider-inset, var(--_kjun-extension-list-padding)) 0;
|
|
3503
|
+
bottom: 0;
|
|
3504
|
+
height: var(--_kjun-border-default-width);
|
|
3505
|
+
background: var(--_kjun-color-divider);
|
|
3506
|
+
}
|
|
3507
|
+
.kjun-list-skeleton-row[data-variant="row"][data-leading] {
|
|
3508
|
+
--_kjun-list-divider-inset: calc(var(--_kjun-extension-list-padding) + var(--_kjun-extension-list-leading-width) + var(--_kjun-extension-list-gap));
|
|
3509
|
+
}
|
|
3510
|
+
.kjun-list-skeleton-row[data-variant="row"] .kjun-list-skeleton-label { display: block; }
|
|
3511
|
+
.kjun-list-skeleton-row[data-variant="row"] .kjun-list-skeleton-label > .kjun-skeleton { display: block; }
|
|
3512
|
+
.kjun-list-skeleton-row[data-variant="row"] .kjun-list-skeleton-label > .kjun-skeleton + .kjun-skeleton { margin-top: var(--_kjun-extension-list-description-gap); }
|
|
3513
|
+
.kjun-list-skeleton-leading { flex: none; display: flex; justify-content: center; width: var(--_kjun-extension-list-leading-width); }
|
|
3514
|
+
.kjun-list-skeleton-trailing { flex: none; display: flex; justify-content: flex-end; }
|
|
3515
|
+
/* Other variants: the name line, then the meta line; each bar takes its slot's line height. */
|
|
3516
|
+
:is(.kjun-list-skeleton-label, .kjun-list-skeleton-quote) > .kjun-skeleton:first-child { line-height: var(--_kjun-type-label-line); }
|
|
3517
|
+
:is(.kjun-list-skeleton-label, .kjun-list-skeleton-quote) > .kjun-skeleton:last-child { line-height: var(--_kjun-type-caption-line); }
|
|
3518
|
+
@media (width < 768px) {
|
|
3519
|
+
.kjun-list-skeleton-row[data-variant="market"] :is(.kjun-list-skeleton-label, .kjun-list-skeleton-quote) > .kjun-skeleton:first-child { line-height: var(--_kjun-type-input-line); }
|
|
3520
|
+
.kjun-list-skeleton-row[data-variant="market"] :is(.kjun-list-skeleton-label, .kjun-list-skeleton-quote) > .kjun-skeleton:last-child { line-height: var(--_kjun-type-body-line); }
|
|
3521
|
+
}
|
|
3198
3522
|
.kjun-list-skeleton-row > .kjun-skeleton {
|
|
3199
3523
|
flex-shrink: 0;
|
|
3200
3524
|
}
|
|
@@ -3218,7 +3542,6 @@
|
|
|
3218
3542
|
display: grid;
|
|
3219
3543
|
gap: var(--_kjun-extension-skeleton-field-gap);
|
|
3220
3544
|
}
|
|
3221
|
-
.kjun-form-skeleton-label-slot { display:flex; align-items:center; height:var(--_kjun-type-label-line); }
|
|
3222
3545
|
.kjun-form-skeleton-label {
|
|
3223
3546
|
font-size: var(--_kjun-type-label-size);
|
|
3224
3547
|
color: var(--_kjun-color-text);
|
|
@@ -3231,26 +3554,63 @@
|
|
|
3231
3554
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3232
3555
|
}
|
|
3233
3556
|
}
|
|
3557
|
+
/* The skeleton keeps the chart's height: the drawing area grows, and the caption (if any) sits under it. */
|
|
3234
3558
|
.kjun-chart-skeleton {
|
|
3559
|
+
display: flex;
|
|
3560
|
+
flex-direction: column;
|
|
3561
|
+
width: 100%;
|
|
3562
|
+
min-width: 0;
|
|
3563
|
+
}
|
|
3564
|
+
.kjun-chart-skeleton-area {
|
|
3235
3565
|
position: relative;
|
|
3566
|
+
flex: 1;
|
|
3567
|
+
min-height: 0;
|
|
3236
3568
|
display: flex;
|
|
3237
3569
|
align-items: center;
|
|
3238
3570
|
justify-content: center;
|
|
3239
|
-
width: 100%;
|
|
3240
|
-
min-width: 0;
|
|
3241
|
-
animation: kjun-chart-pulse var(--_kjun-motion-shimmer) ease-in-out infinite;
|
|
3242
3571
|
}
|
|
3243
|
-
.kjun-chart-skeleton[data-kjun-chart-kind="donut"] {
|
|
3244
|
-
/* Only the donut
|
|
3245
|
-
|
|
3572
|
+
.kjun-chart-skeleton[data-kjun-chart-kind="donut"] .kjun-chart-skeleton-area {
|
|
3573
|
+
/* Only the donut measures its ring against this box's height; size containment elsewhere would drop the
|
|
3574
|
+
frame's intrinsic width inside shrink-to-fit parents. */
|
|
3246
3575
|
container-type: size;
|
|
3247
3576
|
}
|
|
3248
3577
|
.kjun-chart-skeleton[data-skeleton="false"] {
|
|
3249
|
-
|
|
3578
|
+
align-items: center;
|
|
3579
|
+
justify-content: center;
|
|
3580
|
+
}
|
|
3581
|
+
/* Frame: the app's grid lines over the plot, with bars where the axis labels will be. */
|
|
3582
|
+
.kjun-chart-skeleton-frame {
|
|
3583
|
+
position: absolute;
|
|
3584
|
+
inset: 0;
|
|
3585
|
+
--_kjun-chart-labels: calc(var(--_kjun-extension-chart-skeleton-label-gap) + var(--_kjun-type-caption-line));
|
|
3250
3586
|
}
|
|
3251
3587
|
.kjun-chart-skeleton-plot {
|
|
3252
|
-
|
|
3253
|
-
|
|
3588
|
+
position: absolute;
|
|
3589
|
+
top: 0;
|
|
3590
|
+
right: 0;
|
|
3591
|
+
bottom: var(--_kjun-chart-labels);
|
|
3592
|
+
left: var(--_kjun-chart-axis);
|
|
3593
|
+
width: calc(100% - var(--_kjun-chart-axis));
|
|
3594
|
+
height: calc(100% - var(--_kjun-chart-labels));
|
|
3595
|
+
overflow: visible;
|
|
3596
|
+
}
|
|
3597
|
+
.kjun-chart-skeleton-label {
|
|
3598
|
+
position: absolute;
|
|
3599
|
+
height: calc(var(--_kjun-type-caption-line) / 2);
|
|
3600
|
+
border-radius: var(--_kjun-extension-skeleton-line-radius);
|
|
3601
|
+
background: var(--_kjun-color-skeleton);
|
|
3602
|
+
}
|
|
3603
|
+
.kjun-chart-skeleton-label[data-axis="y"] {
|
|
3604
|
+
left: 0;
|
|
3605
|
+
width: calc(var(--_kjun-chart-axis) - var(--_kjun-extension-chart-skeleton-label-gap));
|
|
3606
|
+
top: calc((100% - var(--_kjun-chart-labels)) * var(--_kjun-stop) - var(--_kjun-type-caption-line) / 4);
|
|
3607
|
+
}
|
|
3608
|
+
.kjun-chart-skeleton-label[data-axis="x"] {
|
|
3609
|
+
/* Narrows when ticks crowd the plot, so an end bar keeps a label gap from its neighbour: (step − gap) × 2 / 3. */
|
|
3610
|
+
width: max(0px, min(var(--_kjun-extension-chart-skeleton-tick-label-width), calc(((100% - var(--_kjun-chart-axis)) / var(--_kjun-chart-steps) - var(--_kjun-extension-chart-skeleton-label-gap)) * 2 / 3)));
|
|
3611
|
+
top: calc(100% - var(--_kjun-type-caption-line) * 3 / 4);
|
|
3612
|
+
left: calc(var(--_kjun-chart-axis) + (100% - var(--_kjun-chart-axis)) * var(--_kjun-stop));
|
|
3613
|
+
transform: translateX(var(--_kjun-shift));
|
|
3254
3614
|
}
|
|
3255
3615
|
.kjun-chart-skeleton-donut {
|
|
3256
3616
|
/* The hole is 80% − 2 × thickness only in border-box, whatever the app's reset. */
|
|
@@ -3273,13 +3633,23 @@
|
|
|
3273
3633
|
.kjun-chart-skeleton-cell[data-muted] {
|
|
3274
3634
|
opacity: var(--_kjun-state-opacity-pending);
|
|
3275
3635
|
}
|
|
3636
|
+
/* Only the skeleton-coloured parts pulse; the grid lines hold still. */
|
|
3637
|
+
/* The matrix pulses as one, so its light and dark cells keep their pattern through the pulse. */
|
|
3638
|
+
.kjun-chart-skeleton-label,
|
|
3639
|
+
.kjun-chart-skeleton-donut,
|
|
3640
|
+
.kjun-chart-skeleton-matrix {
|
|
3641
|
+
animation: kjun-chart-pulse var(--_kjun-motion-shimmer) ease-in-out infinite;
|
|
3642
|
+
animation-delay: var(--_kjun-skeleton-delay, 0ms);
|
|
3643
|
+
}
|
|
3276
3644
|
@keyframes kjun-chart-pulse {
|
|
3277
3645
|
50% {
|
|
3278
3646
|
opacity: 0.55;
|
|
3279
3647
|
}
|
|
3280
3648
|
}
|
|
3281
3649
|
@media (prefers-reduced-motion: reduce) {
|
|
3282
|
-
.kjun-chart-skeleton
|
|
3650
|
+
.kjun-chart-skeleton-label,
|
|
3651
|
+
.kjun-chart-skeleton-donut,
|
|
3652
|
+
.kjun-chart-skeleton-matrix {
|
|
3283
3653
|
animation: none;
|
|
3284
3654
|
}
|
|
3285
3655
|
}
|
|
@@ -3288,9 +3658,8 @@
|
|
|
3288
3658
|
.kjun-error-fallback h3 { margin:0; font-size:var(--_kjun-extension-state-title-size); line-height:var(--_kjun-type-section-title-line); font-weight:var(--_kjun-type-section-title-weight);letter-spacing:var(--_kjun-type-section-title-tracking);}
|
|
3289
3659
|
.kjun-error-fallback p { margin:var(--_kjun-geometry-dimension-value8) 0 var(--_kjun-geometry-dimension-value16); font-size:var(--_kjun-extension-state-description-size); line-height:var(--_kjun-type-caption-line); color:var(--_kjun-color-text-secondary); font-weight:var(--_kjun-type-caption-weight);letter-spacing:var(--_kjun-type-caption-tracking);}
|
|
3290
3660
|
|
|
3291
|
-
|
|
3292
|
-
.kjun-chart-skeleton-status
|
|
3293
|
-
.kjun-chart-skeleton[data-kjun-chart-kind="donut"] .kjun-chart-skeleton-status>span { box-sizing:border-box; border:0; max-width:calc(80cqh - 2 * var(--_kjun-extension-chart-skeleton-donut-thickness)); }
|
|
3661
|
+
/* The loading text is a caption under the drawing, never a chip over it. */
|
|
3662
|
+
.kjun-chart-skeleton-status { flex: none; margin-top: var(--_kjun-extension-chart-skeleton-label-gap); color: var(--_kjun-color-text-tertiary); font-size: var(--_kjun-type-caption-size); line-height: var(--_kjun-type-caption-line); font-weight: var(--_kjun-type-caption-weight); letter-spacing: var(--_kjun-type-caption-tracking); overflow-wrap: anywhere; }
|
|
3294
3663
|
|
|
3295
3664
|
.kjun-data-status > .kjun-spinner { flex-shrink: 0; }
|
|
3296
3665
|
.kjun-data-status > span:last-child { min-width: 0; overflow-wrap: anywhere; }
|
|
@@ -3383,15 +3752,21 @@
|
|
|
3383
3752
|
.kjun-deviation-badge > .kjun-tooltip-wrapper {
|
|
3384
3753
|
display: flex;
|
|
3385
3754
|
}
|
|
3386
|
-
/*
|
|
3387
|
-
.
|
|
3755
|
+
/* The status slot after a price: the app's badge or text, set off from the number and centred on its line. */
|
|
3756
|
+
/* A long status ends in an ellipsis instead of widening the quote column and squeezing the name. */
|
|
3757
|
+
.kjun-price-status {
|
|
3388
3758
|
display: inline-flex;
|
|
3389
|
-
|
|
3390
|
-
|
|
3759
|
+
align-items: center;
|
|
3760
|
+
vertical-align: middle;
|
|
3761
|
+
min-width: 0;
|
|
3762
|
+
max-width: 100%;
|
|
3763
|
+
overflow: hidden;
|
|
3764
|
+
white-space: nowrap;
|
|
3765
|
+
text-overflow: ellipsis;
|
|
3391
3766
|
}
|
|
3392
|
-
.kjun-
|
|
3393
|
-
|
|
3394
|
-
|
|
3767
|
+
.kjun-price-cell[data-missing] { color: var(--_kjun-color-text-tertiary); }
|
|
3768
|
+
.kjun-price-cell + .kjun-price-status {
|
|
3769
|
+
margin-inline-start: var(--_kjun-extension-financial-status-gap);
|
|
3395
3770
|
}
|
|
3396
3771
|
.kjun-deviation-signal-slot {
|
|
3397
3772
|
width: var(--_kjun-extension-financial-warning-icon-size);
|
|
@@ -3430,7 +3805,8 @@
|
|
|
3430
3805
|
font-size: var(--_kjun-type-caption-size);
|
|
3431
3806
|
color: var(--_kjun-color-text-secondary);
|
|
3432
3807
|
min-width: var(--_kjun-extension-financial-progress-label-width);
|
|
3433
|
-
|
|
3808
|
+
/* The value sits beside its bar; the fixed width keeps every bar the same length. */
|
|
3809
|
+
text-align: left;
|
|
3434
3810
|
line-height: var(--_kjun-type-caption-line);
|
|
3435
3811
|
font-weight: var(--_kjun-type-caption-weight);
|
|
3436
3812
|
letter-spacing: var(--_kjun-type-caption-tracking);
|
|
@@ -3488,221 +3864,13 @@
|
|
|
3488
3864
|
background: var(--_kjun-price-down-bg);
|
|
3489
3865
|
}
|
|
3490
3866
|
|
|
3491
|
-
.kjun-table-cards {
|
|
3492
|
-
display: flex;
|
|
3493
|
-
flex-direction: column;
|
|
3494
|
-
gap: var(--_kjun-extension-table-card-gap);
|
|
3495
|
-
padding: var(--_kjun-extension-table-card-list-padding);
|
|
3496
|
-
}
|
|
3497
|
-
|
|
3498
|
-
.kjun-table-card {
|
|
3499
|
-
background: var(--_kjun-bg-primary);
|
|
3500
|
-
border: var(--_kjun-border-default-width) solid var(--_kjun-border-primary);
|
|
3501
|
-
border-radius: var(--_kjun-extension-table-card-radius);
|
|
3502
|
-
padding: var(--_kjun-extension-table-card-padding);
|
|
3503
|
-
cursor: pointer;
|
|
3504
|
-
transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
3505
|
-
}
|
|
3506
3867
|
|
|
3507
|
-
.kjun-table-
|
|
3508
|
-
|
|
3868
|
+
.kjun-table-scroll {
|
|
3869
|
+
overflow: auto;
|
|
3509
3870
|
}
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
display: flex;
|
|
3514
|
-
align-items: center;
|
|
3515
|
-
gap: var(--_kjun-extension-table-card-gap);
|
|
3516
|
-
margin-bottom: var(--_kjun-extension-table-card-gap);
|
|
3517
|
-
}
|
|
3518
|
-
|
|
3519
|
-
.kjun-table-card-header-left {
|
|
3520
|
-
display: flex;
|
|
3521
|
-
flex: 1;
|
|
3522
|
-
align-items: center;
|
|
3523
|
-
min-width: 0;
|
|
3524
|
-
}
|
|
3525
|
-
|
|
3526
|
-
.kjun-table-card-header-actions {
|
|
3527
|
-
display: flex;
|
|
3528
|
-
flex-shrink: 0;
|
|
3529
|
-
gap: var(--_kjun-extension-table-card-field-gap);
|
|
3530
|
-
}
|
|
3531
|
-
|
|
3532
|
-
.kjun-table-card-title {
|
|
3533
|
-
min-width: 0;
|
|
3534
|
-
overflow-wrap: anywhere;
|
|
3535
|
-
color: var(--_kjun-text-primary);
|
|
3536
|
-
font-size: var(--_kjun-type-card-title-size);
|
|
3537
|
-
line-height: var(--_kjun-type-card-title-line);
|
|
3538
|
-
font-weight: var(--_kjun-type-card-title-weight);
|
|
3539
|
-
letter-spacing: var(--_kjun-type-card-title-tracking);
|
|
3540
|
-
}
|
|
3541
|
-
|
|
3542
|
-
.kjun-table-card-subtitle {
|
|
3543
|
-
color: var(--_kjun-text-secondary);
|
|
3544
|
-
font-size: var(--_kjun-type-caption-size);
|
|
3545
|
-
line-height: var(--_kjun-type-caption-line);
|
|
3546
|
-
font-weight: var(--_kjun-type-caption-weight);
|
|
3547
|
-
letter-spacing: var(--_kjun-type-caption-tracking);
|
|
3548
|
-
}
|
|
3549
|
-
|
|
3550
|
-
.kjun-table-card-body {
|
|
3551
|
-
display: grid;
|
|
3552
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3553
|
-
gap: var(--_kjun-extension-table-card-metric-gap);
|
|
3554
|
-
}
|
|
3555
|
-
|
|
3556
|
-
.kjun-table-card-section + .kjun-table-card-section {
|
|
3557
|
-
border-top: var(--_kjun-border-default-width) solid var(--_kjun-border-primary);
|
|
3558
|
-
margin-top: var(--_kjun-geometry-dimension-value12);
|
|
3559
|
-
padding-top: var(--_kjun-geometry-dimension-value12);
|
|
3560
|
-
}
|
|
3561
|
-
|
|
3562
|
-
.kjun-table-card-section-label {
|
|
3563
|
-
margin-bottom: var(--_kjun-extension-table-card-metric-gap);
|
|
3564
|
-
color: var(--_kjun-text-tertiary);
|
|
3565
|
-
font-size: var(--_kjun-type-control-small-size);
|
|
3566
|
-
line-height: var(--_kjun-type-control-small-line);
|
|
3567
|
-
font-weight: var(--_kjun-type-control-small-weight);
|
|
3568
|
-
letter-spacing: var(--_kjun-type-control-small-tracking);
|
|
3569
|
-
}
|
|
3570
|
-
|
|
3571
|
-
.kjun-table-card-body--stack {
|
|
3572
|
-
grid-template-columns: 1fr;
|
|
3573
|
-
}
|
|
3574
|
-
|
|
3575
|
-
.kjun-table-card-body--metrics {
|
|
3576
|
-
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3577
|
-
gap: var(--_kjun-extension-table-card-gap);
|
|
3578
|
-
}
|
|
3579
|
-
|
|
3580
|
-
.kjun-table-card-body--metrics .kjun-table-card-field {
|
|
3581
|
-
align-items: center;
|
|
3582
|
-
text-align: center;
|
|
3583
|
-
}
|
|
3584
|
-
|
|
3585
|
-
.kjun-table-card-body--metrics .kjun-table-card-label {
|
|
3586
|
-
font-size: var(--_kjun-type-caption-size);
|
|
3587
|
-
line-height: var(--_kjun-type-caption-line);
|
|
3588
|
-
font-weight: var(--_kjun-type-caption-weight);
|
|
3589
|
-
letter-spacing: var(--_kjun-type-caption-tracking);
|
|
3590
|
-
}
|
|
3591
|
-
|
|
3592
|
-
.kjun-table-card-body--metrics .kjun-table-card-value {
|
|
3593
|
-
width: 100%;
|
|
3594
|
-
}
|
|
3595
|
-
|
|
3596
|
-
.kjun-table-card-field {
|
|
3597
|
-
display: flex;
|
|
3598
|
-
flex-direction: column;
|
|
3599
|
-
gap: var(--_kjun-extension-table-card-value-gap);
|
|
3600
|
-
/* grid 자식의 기본 min-width:auto는 긴 콘텐츠(JSON 등)가 truncate를 무력화하고
|
|
3601
|
-
셀을 카드 밖까지 밀어내게 한다 — 0으로 풀어야 슬롯의 truncate가 동작한다 */
|
|
3602
|
-
min-width: 0;
|
|
3603
|
-
}
|
|
3604
|
-
|
|
3605
|
-
.kjun-table-card-field--full {
|
|
3606
|
-
grid-column: 1 / -1;
|
|
3607
|
-
}
|
|
3608
|
-
|
|
3609
|
-
.kjun-table-card-field--label-right .kjun-table-card-label {
|
|
3610
|
-
display: block;
|
|
3611
|
-
width: 100%;
|
|
3612
|
-
text-align: right;
|
|
3613
|
-
}
|
|
3614
|
-
|
|
3615
|
-
.kjun-table-card-label {
|
|
3616
|
-
color: var(--_kjun-text-tertiary);
|
|
3617
|
-
font-size: var(--_kjun-type-caption-size);
|
|
3618
|
-
line-height: var(--_kjun-type-caption-line);
|
|
3619
|
-
font-weight: var(--_kjun-type-caption-weight);
|
|
3620
|
-
letter-spacing: var(--_kjun-type-caption-tracking);
|
|
3621
|
-
}
|
|
3622
|
-
|
|
3623
|
-
.kjun-table-card-value {
|
|
3624
|
-
color: var(--_kjun-text-primary);
|
|
3625
|
-
font-size: var(--_kjun-type-body-size);
|
|
3626
|
-
min-width: 0;
|
|
3627
|
-
line-height: var(--_kjun-type-body-line);
|
|
3628
|
-
font-weight: var(--_kjun-type-body-weight);
|
|
3629
|
-
letter-spacing: var(--_kjun-type-body-tracking);
|
|
3630
|
-
}
|
|
3631
|
-
|
|
3632
|
-
.kjun-table-card-badges {
|
|
3633
|
-
display: flex;
|
|
3634
|
-
align-items: center;
|
|
3635
|
-
gap: var(--_kjun-extension-table-card-field-gap);
|
|
3636
|
-
flex-shrink: 0;
|
|
3637
|
-
}
|
|
3638
|
-
|
|
3639
|
-
.kjun-table-card-actions {
|
|
3640
|
-
border-top: var(--_kjun-border-default-width) solid var(--_kjun-border-primary);
|
|
3641
|
-
padding-top: var(--_kjun-extension-table-card-gap);
|
|
3642
|
-
margin-top: var(--_kjun-extension-table-card-gap);
|
|
3643
|
-
display: flex;
|
|
3644
|
-
justify-content: flex-end;
|
|
3645
|
-
gap: var(--_kjun-extension-table-card-gap);
|
|
3646
|
-
}
|
|
3647
|
-
|
|
3648
|
-
.kjun-table-card-expand-toggle {
|
|
3649
|
-
display: flex;
|
|
3650
|
-
align-items: center;
|
|
3651
|
-
width: 100%;
|
|
3652
|
-
padding: var(--_kjun-extension-table-card-metric-gap) 0;
|
|
3653
|
-
margin-top: var(--_kjun-extension-table-card-field-gap);
|
|
3654
|
-
font-size: var(--_kjun-type-caption-size);
|
|
3655
|
-
color: var(--_kjun-text-tertiary);
|
|
3656
|
-
background: none;
|
|
3657
|
-
border: none;
|
|
3658
|
-
cursor: pointer;
|
|
3659
|
-
transition: color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
3660
|
-
line-height: var(--_kjun-type-caption-line);
|
|
3661
|
-
font-weight: var(--_kjun-type-caption-weight);
|
|
3662
|
-
letter-spacing: var(--_kjun-type-caption-tracking);
|
|
3663
|
-
}
|
|
3664
|
-
|
|
3665
|
-
.kjun-table-card-expand-toggle:hover {
|
|
3666
|
-
color: var(--_kjun-text-secondary);
|
|
3667
|
-
}
|
|
3668
|
-
|
|
3669
|
-
.kjun-table-card-expand-content {
|
|
3670
|
-
border-top: var(--_kjun-border-default-width) solid var(--_kjun-border-primary);
|
|
3671
|
-
padding-top: var(--_kjun-extension-table-card-gap);
|
|
3672
|
-
margin-top: var(--_kjun-extension-table-card-field-gap);
|
|
3673
|
-
}
|
|
3674
|
-
|
|
3675
|
-
.kjun-table-card-empty {
|
|
3676
|
-
text-align: center;
|
|
3677
|
-
padding: var(--_kjun-extension-table-card-empty-padding);
|
|
3678
|
-
color: var(--_kjun-text-tertiary);
|
|
3679
|
-
}
|
|
3680
|
-
|
|
3681
|
-
/* 스크롤 힌트는 스크롤 콘텐츠 안이 아니라 뷰포트 셸에 둬야, 가로 스크롤을 따라 움직이지 않는다. */
|
|
3682
|
-
.kjun-table-scroll-shell {
|
|
3683
|
-
position: relative;
|
|
3684
|
-
min-width: 0;
|
|
3685
|
-
}
|
|
3686
|
-
|
|
3687
|
-
.kjun-table-scroll-fade {
|
|
3688
|
-
display: none;
|
|
3689
|
-
pointer-events: none;
|
|
3690
|
-
}
|
|
3691
|
-
|
|
3692
|
-
@media (width <= 768px) {
|
|
3693
|
-
.kjun-table-scroll-fade {
|
|
3694
|
-
display: block;
|
|
3695
|
-
position: absolute;
|
|
3696
|
-
top: 0;
|
|
3697
|
-
right: 0;
|
|
3698
|
-
bottom: 0;
|
|
3699
|
-
width: var(--_kjun-extension-scroll-fade-width);
|
|
3700
|
-
z-index: 1;
|
|
3701
|
-
background: linear-gradient(to right, transparent, var(--_kjun-card-bg));
|
|
3702
|
-
}
|
|
3703
|
-
}
|
|
3704
|
-
.kjun-table-scroll {
|
|
3705
|
-
overflow: auto;
|
|
3871
|
+
/* A sticky header without maxHeight sticks to the page, so this wrapper must not become a scroll container. */
|
|
3872
|
+
.kjun-table-scroll[data-page-sticky] {
|
|
3873
|
+
overflow: visible;
|
|
3706
3874
|
}
|
|
3707
3875
|
.kjun-table {
|
|
3708
3876
|
width: 100%;
|
|
@@ -3731,14 +3899,30 @@
|
|
|
3731
3899
|
align-items: center;
|
|
3732
3900
|
gap: var(--_kjun-geometry-dimension-value4);
|
|
3733
3901
|
border: 0;
|
|
3902
|
+
padding: 0;
|
|
3734
3903
|
background: transparent;
|
|
3735
3904
|
color: inherit;
|
|
3736
3905
|
cursor: pointer;
|
|
3737
3906
|
font: inherit;
|
|
3738
3907
|
}
|
|
3908
|
+
/* A sortable column shows a quiet two-way arrow; the sorted column reads in the text color with its direction. */
|
|
3909
|
+
.kjun-table th button .kjun-table-sort-icon { color: var(--_kjun-color-text-tertiary); }
|
|
3910
|
+
.kjun-table th[aria-sort="ascending"] button,
|
|
3911
|
+
.kjun-table th[aria-sort="descending"] button { font-weight: var(--_kjun-type-section-title-weight); }
|
|
3912
|
+
.kjun-table th[aria-sort="ascending"] button,
|
|
3913
|
+
.kjun-table th[aria-sort="descending"] button,
|
|
3914
|
+
.kjun-table th[aria-sort="ascending"] button .kjun-table-sort-icon,
|
|
3915
|
+
.kjun-table th[aria-sort="descending"] button .kjun-table-sort-icon { color: var(--_kjun-color-text); }
|
|
3916
|
+
.kjun-table th button:hover .kjun-table-sort-icon { color: var(--_kjun-color-text-secondary); }
|
|
3917
|
+
.kjun-table th button:focus-visible {
|
|
3918
|
+
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
3919
|
+
outline-offset: var(--_kjun-state-focus-offset);
|
|
3920
|
+
border-radius: var(--_kjun-geometry-radius-radius4);
|
|
3921
|
+
}
|
|
3922
|
+
/* Rows part with the lighter divider; the header keeps the border line. */
|
|
3739
3923
|
.kjun-table td {
|
|
3740
3924
|
padding: var(--_kjun-geometry-table-cell-padding-regular-y) var(--_kjun-geometry-table-cell-padding-regular-x);
|
|
3741
|
-
border-bottom: var(--_kjun-border-default-width) solid var(--_kjun-color-
|
|
3925
|
+
border-bottom: var(--_kjun-border-default-width) solid var(--_kjun-color-divider);
|
|
3742
3926
|
overflow-wrap: anywhere;
|
|
3743
3927
|
}
|
|
3744
3928
|
/* Numbers read as one unit: a numeric column keeps its content width instead of breaking between digits. */
|
|
@@ -3749,12 +3933,22 @@
|
|
|
3749
3933
|
.kjun-table[data-compact="true"] td {
|
|
3750
3934
|
padding: var(--_kjun-geometry-table-cell-padding-compact-y) var(--_kjun-geometry-table-cell-padding-compact-x);
|
|
3751
3935
|
}
|
|
3752
|
-
.
|
|
3753
|
-
|
|
3936
|
+
/* Stripes are a faint text tint so they never match the header or an expanded row. They follow the data rows
|
|
3937
|
+
(data-stripe), so an expanded row or a group header does not flip the pattern. */
|
|
3938
|
+
.kjun-table[data-striped="true"] tbody > tr[data-stripe] {
|
|
3939
|
+
background: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-stripe) * 100%), transparent);
|
|
3754
3940
|
}
|
|
3755
3941
|
.kjun-table[data-hoverable="true"] tbody > tr:hover {
|
|
3756
3942
|
background: var(--_kjun-color-table-row-hover);
|
|
3757
3943
|
}
|
|
3944
|
+
.kjun-table tbody > tr[data-selected]:nth-child(n),
|
|
3945
|
+
.kjun-table[data-hoverable="true"] tbody > tr[data-selected]:hover {
|
|
3946
|
+
background: var(--_kjun-color-selected-bg);
|
|
3947
|
+
}
|
|
3948
|
+
/* A sticky header covers the rows beneath it; once rows pass under it, its line turns strong instead of casting a shadow. */
|
|
3949
|
+
.kjun-table-scroll[data-stuck] .kjun-table thead th {
|
|
3950
|
+
border-bottom-color: var(--_kjun-color-border-strong);
|
|
3951
|
+
}
|
|
3758
3952
|
/* Selection and expansion share one fixed utility column width. */
|
|
3759
3953
|
.kjun-table .kjun-table-action-cell {
|
|
3760
3954
|
width: var(--_kjun-geometry-table-action-column-width);
|
|
@@ -3801,42 +3995,382 @@
|
|
|
3801
3995
|
flex-shrink: 0;
|
|
3802
3996
|
margin-inline-end: var(--_kjun-extension-table-card-gap);
|
|
3803
3997
|
}
|
|
3804
|
-
.kjun-table-check svg { position: relative; pointer-events: none; display: none; }
|
|
3805
|
-
.kjun-table-check input:checked:not(:indeterminate) ~ .kjun-table-check-mark,
|
|
3806
|
-
.kjun-table-check input:indeterminate ~ .kjun-table-check-dash { display: block; }
|
|
3807
|
-
@media (prefers-reduced-motion: reduce) {
|
|
3808
|
-
.kjun-table-check input { transition: none; }
|
|
3998
|
+
.kjun-table-check svg { position: relative; pointer-events: none; display: none; }
|
|
3999
|
+
.kjun-table-check input:checked:not(:indeterminate) ~ .kjun-table-check-mark,
|
|
4000
|
+
.kjun-table-check input:indeterminate ~ .kjun-table-check-dash { display: block; }
|
|
4001
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4002
|
+
.kjun-table-check input { transition: none; }
|
|
4003
|
+
}
|
|
4004
|
+
.kjun-table-empty {
|
|
4005
|
+
text-align: center;
|
|
4006
|
+
padding: var(--_kjun-geometry-table-empty-padding-y) var(--_kjun-geometry-table-empty-padding-x) !important;
|
|
4007
|
+
color: var(--_kjun-color-text-secondary);
|
|
4008
|
+
}
|
|
4009
|
+
/* Group headers: a faint text-tinted band with the collapse button, the app's label and the row count. */
|
|
4010
|
+
.kjun-table tbody > tr.kjun-table-group > th {
|
|
4011
|
+
padding: var(--_kjun-geometry-table-group-padding-y) var(--_kjun-geometry-table-group-padding-x);
|
|
4012
|
+
text-align: start;
|
|
4013
|
+
color: var(--_kjun-color-text);
|
|
4014
|
+
font-size: var(--_kjun-type-body-size);
|
|
4015
|
+
line-height: var(--_kjun-type-body-line);
|
|
4016
|
+
font-weight: var(--_kjun-type-body-weight);
|
|
4017
|
+
background: color-mix(in srgb, var(--_kjun-color-text) calc(var(--_kjun-state-opacity-group-fill) * 100%), transparent);
|
|
4018
|
+
border-bottom: 0;
|
|
4019
|
+
}
|
|
4020
|
+
.kjun-table-group-label {
|
|
4021
|
+
display: inline-flex;
|
|
4022
|
+
align-items: center;
|
|
4023
|
+
gap: var(--_kjun-geometry-table-group-gap);
|
|
4024
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4025
|
+
}
|
|
4026
|
+
.kjun-table-group-count {
|
|
4027
|
+
color: var(--_kjun-color-text-tertiary);
|
|
4028
|
+
font-weight: var(--_kjun-type-body-weight);
|
|
4029
|
+
}
|
|
4030
|
+
/* Subtotals read quieter than rows; the total closes the table under a strong text-colored rule. */
|
|
4031
|
+
.kjun-table :is(tbody, tfoot) > tr.kjun-table-summary > td {
|
|
4032
|
+
color: var(--_kjun-color-text-secondary);
|
|
4033
|
+
font-size: var(--_kjun-type-caption-size);
|
|
4034
|
+
line-height: var(--_kjun-type-caption-line);
|
|
4035
|
+
}
|
|
4036
|
+
.kjun-table tfoot > tr.kjun-table-summary[data-kind="total"] > td {
|
|
4037
|
+
color: var(--_kjun-color-text);
|
|
4038
|
+
font-size: var(--_kjun-type-body-size);
|
|
4039
|
+
line-height: var(--_kjun-type-body-line);
|
|
4040
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4041
|
+
border-top: var(--_kjun-border-control-width) solid var(--_kjun-color-text);
|
|
4042
|
+
border-bottom: 0;
|
|
4043
|
+
}
|
|
4044
|
+
/* Neither stripes nor hover paint group and summary rows. */
|
|
4045
|
+
.kjun-table tbody > tr:is(.kjun-table-group, .kjun-table-summary):is(:nth-child(n), :hover) { background: transparent; }
|
|
4046
|
+
.kjun-table-expanded > td { padding: var(--_kjun-geometry-table-expanded-padding-y) var(--_kjun-geometry-table-expanded-padding-x); }
|
|
4047
|
+
.kjun-table-expanded {
|
|
4048
|
+
background: var(--_kjun-color-secondary);
|
|
4049
|
+
}
|
|
4050
|
+
/* The selection bar takes the toolbar's place at the same height, so selecting never moves the table. */
|
|
4051
|
+
.kjun-table-selection,
|
|
4052
|
+
.kjun-table-toolbar {
|
|
4053
|
+
display: flex;
|
|
4054
|
+
align-items: center;
|
|
4055
|
+
gap: var(--_kjun-geometry-dimension-value8);
|
|
4056
|
+
flex-wrap: wrap;
|
|
4057
|
+
box-sizing: border-box;
|
|
4058
|
+
min-height: var(--_kjun-geometry-table-toolbar-minimum-height);
|
|
4059
|
+
padding: var(--_kjun-geometry-dimension-value8) var(--_kjun-geometry-dimension-value12);
|
|
4060
|
+
background: var(--_kjun-color-secondary);
|
|
4061
|
+
border-bottom: var(--_kjun-border-default-width) solid var(--_kjun-color-border);
|
|
4062
|
+
font-size: var(--_kjun-type-body-size);
|
|
4063
|
+
line-height: var(--_kjun-type-body-line);
|
|
4064
|
+
font-weight: var(--_kjun-type-body-weight);
|
|
4065
|
+
letter-spacing: var(--_kjun-type-body-tracking);
|
|
4066
|
+
}
|
|
4067
|
+
/* The search toolbar sits on the surface so the filled search field stands out from it. */
|
|
4068
|
+
.kjun-table-toolbar {
|
|
4069
|
+
background: var(--_kjun-color-surface);
|
|
4070
|
+
}
|
|
4071
|
+
/* The narrow-screen sort choice: as wide as the search at most, narrower when both share a phone row. */
|
|
4072
|
+
.kjun-table-sort { flex: 1 1 0; min-width: 0; max-width: var(--_kjun-geometry-table-search-width); }
|
|
4073
|
+
/* The selection bar shares the selected rows' fill. */
|
|
4074
|
+
.kjun-table-selection {
|
|
4075
|
+
background: var(--_kjun-color-selected-bg);
|
|
4076
|
+
color: var(--_kjun-color-brand);
|
|
4077
|
+
padding-inline-start: var(--_kjun-geometry-dimension-value8);
|
|
4078
|
+
}
|
|
4079
|
+
.kjun-table-selection > strong { margin-inline-end: auto; }
|
|
4080
|
+
|
|
4081
|
+
/* Narrow-screen table layouts: cards (responsive="card") and two-line rows (responsive="list"), with their totals. */
|
|
4082
|
+
/* Cards: one row per card on narrow screens. "stacked" is a field grid, "rows" label-value lines, "tiles" small cards,
|
|
4083
|
+
at least two a row and more as the width allows. Header (selection, title, badges), subtitle, highlight, fields, then one footer row (expand, actions). */
|
|
4084
|
+
.kjun-table-cards {
|
|
4085
|
+
display: flex;
|
|
4086
|
+
flex-direction: column;
|
|
4087
|
+
gap: var(--_kjun-extension-table-card-card-gap);
|
|
4088
|
+
padding: var(--_kjun-extension-table-card-list-padding);
|
|
4089
|
+
}
|
|
4090
|
+
.kjun-table-card-items, .kjun-table-card-group-section, .kjun-table-list-group {
|
|
4091
|
+
display: flex;
|
|
4092
|
+
flex-direction: column;
|
|
4093
|
+
gap: var(--_kjun-extension-table-card-card-gap);
|
|
4094
|
+
}
|
|
4095
|
+
/* Tiles: the ungrouped list, or each group's own list, is the grid. Two columns at least, more where each keeps tileMinWidth. */
|
|
4096
|
+
.kjun-table-cards[data-layout="tiles"]:not([data-grouped]), .kjun-table-cards[data-layout="tiles"] .kjun-table-card-items {
|
|
4097
|
+
display: grid;
|
|
4098
|
+
grid-template-columns: repeat(auto-fill, minmax(min(var(--_kjun-extension-table-card-tile-min-width), calc(50% - var(--_kjun-extension-table-card-card-gap) / 2)), 1fr));
|
|
4099
|
+
}
|
|
4100
|
+
.kjun-table-cards[data-layout="tiles"] > :is(.kjun-table-card-empty, .kjun-table-totals) { grid-column: 1 / -1; }
|
|
4101
|
+
/* A list group stacks its header and rows without the card gap; its header starts at the rows' text. */
|
|
4102
|
+
.kjun-table-list-group { gap: 0; }
|
|
4103
|
+
.kjun-table-list-group > .kjun-table-card-group { padding: var(--_kjun-geometry-dimension-value8) var(--_kjun-geometry-table-list-padding-x) var(--_kjun-geometry-dimension-value4); }
|
|
4104
|
+
.kjun-table-card-group {
|
|
4105
|
+
padding: var(--_kjun-geometry-dimension-value8) var(--_kjun-geometry-dimension-value4) 0;
|
|
4106
|
+
display: flex;
|
|
4107
|
+
align-items: baseline;
|
|
4108
|
+
color: var(--_kjun-text-secondary);
|
|
4109
|
+
font-size: var(--_kjun-type-caption-size);
|
|
4110
|
+
line-height: var(--_kjun-type-caption-line);
|
|
4111
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4112
|
+
}
|
|
4113
|
+
.kjun-table-card-group-total { margin-inline-start: auto; color: var(--_kjun-text-secondary); font-variant-numeric: tabular-nums; text-align: end; }
|
|
4114
|
+
.kjun-table-card-group-total > span + span::before { content: " · "; }
|
|
4115
|
+
.kjun-table-card-group-count { margin-inline-start: var(--_kjun-geometry-dimension-value4); color: var(--_kjun-text-tertiary); font-weight: var(--_kjun-type-caption-weight); }
|
|
4116
|
+
|
|
4117
|
+
.kjun-table-card {
|
|
4118
|
+
min-width: 0;
|
|
4119
|
+
background: var(--_kjun-color-surface);
|
|
4120
|
+
border: var(--_kjun-border-default-width) solid var(--_kjun-border-primary);
|
|
4121
|
+
border-radius: var(--_kjun-extension-table-card-radius);
|
|
4122
|
+
padding: var(--_kjun-extension-table-card-padding);
|
|
4123
|
+
transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
4124
|
+
}
|
|
4125
|
+
/* Only a card that opens something looks pressable; a selected card takes the selection fill. */
|
|
4126
|
+
.kjun-table-card[tabindex] { cursor: pointer; }
|
|
4127
|
+
.kjun-table-card[data-selected] { background: var(--_kjun-color-selected-bg); }
|
|
4128
|
+
.kjun-table-cards[data-layout="tiles"] .kjun-table-card { padding: var(--_kjun-extension-table-card-tile-padding); }
|
|
4129
|
+
@media (hover: hover) {
|
|
4130
|
+
.kjun-table-card[tabindex]:not([data-selected]):hover { background: var(--_kjun-bg-hover); }
|
|
4131
|
+
}
|
|
4132
|
+
/* The title opens the row for screen readers; it looks like the title and the card keeps the keyboard stop. */
|
|
4133
|
+
.kjun-table-card-open {
|
|
4134
|
+
all: unset;
|
|
4135
|
+
overflow-wrap: anywhere;
|
|
4136
|
+
cursor: pointer;
|
|
4137
|
+
}
|
|
4138
|
+
|
|
4139
|
+
/* justify-between 대신 left에 flex:1 — 인라인 액션이 있어도 배지/버튼이 항상 우측에 정렬된다.
|
|
4140
|
+
The left side is a grid: the selection box and title share the first line, the subtitle starts under the title. */
|
|
4141
|
+
.kjun-table-card-header {
|
|
4142
|
+
display: flex;
|
|
4143
|
+
align-items: flex-start;
|
|
4144
|
+
gap: var(--_kjun-extension-table-card-gap);
|
|
4145
|
+
}
|
|
4146
|
+
.kjun-table-card-header-left {
|
|
4147
|
+
display: grid;
|
|
4148
|
+
flex: 1;
|
|
4149
|
+
grid-template-columns: minmax(0, 1fr);
|
|
4150
|
+
align-items: center;
|
|
4151
|
+
column-gap: var(--_kjun-extension-table-card-gap);
|
|
4152
|
+
min-width: 0;
|
|
4153
|
+
}
|
|
4154
|
+
.kjun-table-card[data-selectable] .kjun-table-card-header-left { grid-template-columns: auto minmax(0, 1fr); }
|
|
4155
|
+
.kjun-table-card-header-left > .kjun-table-card-subtitle { grid-column: -2 / -1; }
|
|
4156
|
+
.kjun-table-card-header-actions, .kjun-table-card-badges { min-height: var(--_kjun-type-card-title-line); align-items: center; }
|
|
4157
|
+
.kjun-table-card-header-actions {
|
|
4158
|
+
display: flex;
|
|
4159
|
+
flex-shrink: 0;
|
|
4160
|
+
gap: var(--_kjun-extension-table-card-field-gap);
|
|
4161
|
+
}
|
|
4162
|
+
.kjun-table-card-title {
|
|
4163
|
+
min-width: 0;
|
|
4164
|
+
overflow-wrap: anywhere;
|
|
4165
|
+
color: var(--_kjun-text-primary);
|
|
4166
|
+
font-size: var(--_kjun-type-card-title-size);
|
|
4167
|
+
line-height: var(--_kjun-type-card-title-line);
|
|
4168
|
+
font-weight: var(--_kjun-type-card-title-weight);
|
|
4169
|
+
letter-spacing: var(--_kjun-type-card-title-tracking);
|
|
4170
|
+
}
|
|
4171
|
+
.kjun-table-cards[data-layout="tiles"] .kjun-table-card-title {
|
|
4172
|
+
font-size: var(--_kjun-type-control-size);
|
|
4173
|
+
line-height: var(--_kjun-type-control-line);
|
|
4174
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4175
|
+
}
|
|
4176
|
+
.kjun-table-card-subtitle {
|
|
4177
|
+
margin-top: var(--_kjun-extension-table-card-value-gap);
|
|
4178
|
+
color: var(--_kjun-text-secondary);
|
|
4179
|
+
font-size: var(--_kjun-type-caption-size);
|
|
4180
|
+
line-height: var(--_kjun-type-caption-line);
|
|
4181
|
+
font-weight: var(--_kjun-type-caption-weight);
|
|
4182
|
+
letter-spacing: var(--_kjun-type-caption-tracking);
|
|
4183
|
+
overflow-wrap: anywhere;
|
|
4184
|
+
}
|
|
4185
|
+
.kjun-table-card-highlight { margin-top: var(--_kjun-extension-table-card-section-gap); }
|
|
4186
|
+
.kjun-table-card-highlight > .kjun-table-card-value {
|
|
4187
|
+
display: block;
|
|
4188
|
+
margin-top: var(--_kjun-extension-table-card-value-gap);
|
|
4189
|
+
font-size: var(--_kjun-type-section-title-size);
|
|
4190
|
+
line-height: var(--_kjun-type-section-title-line);
|
|
4191
|
+
font-weight: var(--_kjun-type-section-title-weight);
|
|
4192
|
+
font-variant-numeric: tabular-nums;
|
|
4193
|
+
}
|
|
4194
|
+
.kjun-table-cards[data-layout="tiles"] .kjun-table-card-highlight > .kjun-table-card-value {
|
|
4195
|
+
font-size: var(--_kjun-type-control-size);
|
|
4196
|
+
line-height: var(--_kjun-type-control-line);
|
|
4197
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
/* Sections no longer carry labels or rules in a card; a gap separates them. */
|
|
4201
|
+
.kjun-table-card-section { margin-top: var(--_kjun-extension-table-card-section-gap); }
|
|
4202
|
+
.kjun-table-card-body {
|
|
4203
|
+
display: grid;
|
|
4204
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4205
|
+
gap: var(--_kjun-extension-table-card-section-gap) var(--_kjun-extension-table-card-section-gap);
|
|
4206
|
+
}
|
|
4207
|
+
.kjun-table-card-body--stack { grid-template-columns: 1fr; }
|
|
4208
|
+
.kjun-table-card-body--metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
4209
|
+
.kjun-table-card-body--metrics .kjun-table-card-field { align-items: center; text-align: center; }
|
|
4210
|
+
.kjun-table-card-body--metrics .kjun-table-card-value { width: 100%; }
|
|
4211
|
+
/* rows: one label-value line per field. */
|
|
4212
|
+
.kjun-table-card-body--rows { grid-template-columns: 1fr; gap: var(--_kjun-extension-table-card-metric-gap); }
|
|
4213
|
+
.kjun-table-card-body--rows .kjun-table-card-field { flex-direction: row; align-items: baseline; justify-content: space-between; gap: var(--_kjun-extension-table-card-gap); }
|
|
4214
|
+
.kjun-table-card-body--rows .kjun-table-card-value { text-align: end; }
|
|
4215
|
+
.kjun-table-card-field {
|
|
4216
|
+
display: flex;
|
|
4217
|
+
flex-direction: column;
|
|
4218
|
+
gap: var(--_kjun-extension-table-card-value-gap);
|
|
4219
|
+
/* grid 자식의 기본 min-width:auto는 긴 콘텐츠(JSON 등)가 truncate를 무력화하고
|
|
4220
|
+
셀을 카드 밖까지 밀어내게 한다 — 0으로 풀어야 슬롯의 truncate가 동작한다 */
|
|
4221
|
+
min-width: 0;
|
|
4222
|
+
}
|
|
4223
|
+
/* Card values start at their label whatever the column's table alignment. */
|
|
4224
|
+
.kjun-table-card-field .kjun-table-card-value { text-align: start; }
|
|
4225
|
+
.kjun-table-card-body--rows .kjun-table-card-field .kjun-table-card-value { text-align: end; }
|
|
4226
|
+
.kjun-table-card-field--full { grid-column: 1 / -1; }
|
|
4227
|
+
.kjun-table-card-field--label-right .kjun-table-card-label { display: block; width: 100%; text-align: right; }
|
|
4228
|
+
.kjun-table-card-label {
|
|
4229
|
+
flex: none;
|
|
4230
|
+
color: var(--_kjun-text-tertiary);
|
|
4231
|
+
font-size: var(--_kjun-type-caption-size);
|
|
4232
|
+
line-height: var(--_kjun-type-caption-line);
|
|
4233
|
+
font-weight: var(--_kjun-type-caption-weight);
|
|
4234
|
+
letter-spacing: var(--_kjun-type-caption-tracking);
|
|
4235
|
+
}
|
|
4236
|
+
.kjun-table-card-value {
|
|
4237
|
+
color: var(--_kjun-text-primary);
|
|
4238
|
+
font-size: var(--_kjun-type-body-size);
|
|
4239
|
+
min-width: 0;
|
|
4240
|
+
line-height: var(--_kjun-type-body-line);
|
|
4241
|
+
font-weight: var(--_kjun-type-body-weight);
|
|
4242
|
+
letter-spacing: var(--_kjun-type-body-tracking);
|
|
4243
|
+
}
|
|
4244
|
+
.kjun-table-card-badges {
|
|
4245
|
+
display: flex;
|
|
4246
|
+
align-items: center;
|
|
4247
|
+
gap: var(--_kjun-extension-table-card-field-gap);
|
|
4248
|
+
flex-shrink: 0;
|
|
4249
|
+
}
|
|
4250
|
+
.kjun-table-cards[data-layout="tiles"] .kjun-table-card-header { flex-wrap: wrap; }
|
|
4251
|
+
/* One footer row: expand on the start side, row actions on the end side. */
|
|
4252
|
+
.kjun-table-card-footer {
|
|
4253
|
+
display: flex;
|
|
4254
|
+
align-items: center;
|
|
4255
|
+
justify-content: space-between;
|
|
4256
|
+
gap: var(--_kjun-extension-table-card-gap);
|
|
4257
|
+
margin-top: var(--_kjun-extension-table-card-footer-gap);
|
|
4258
|
+
padding-top: var(--_kjun-extension-table-card-footer-gap);
|
|
4259
|
+
border-top: var(--_kjun-border-default-width) solid var(--_kjun-color-divider);
|
|
4260
|
+
}
|
|
4261
|
+
.kjun-table-card-actions {
|
|
4262
|
+
display: flex;
|
|
4263
|
+
justify-content: flex-end;
|
|
4264
|
+
gap: var(--_kjun-extension-table-card-gap);
|
|
4265
|
+
margin-inline-start: auto;
|
|
4266
|
+
}
|
|
4267
|
+
.kjun-table-card-expand-toggle {
|
|
4268
|
+
display: flex;
|
|
4269
|
+
align-items: center;
|
|
4270
|
+
font-size: var(--_kjun-type-caption-size);
|
|
4271
|
+
color: var(--_kjun-text-secondary);
|
|
4272
|
+
line-height: var(--_kjun-type-caption-line);
|
|
4273
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4274
|
+
letter-spacing: var(--_kjun-type-caption-tracking);
|
|
4275
|
+
}
|
|
4276
|
+
.kjun-table-card-expand-content {
|
|
4277
|
+
margin-top: var(--_kjun-extension-table-card-section-gap);
|
|
4278
|
+
padding: var(--_kjun-geometry-table-expanded-padding-y) var(--_kjun-geometry-table-expanded-padding-x);
|
|
4279
|
+
border-radius: var(--_kjun-geometry-radius-radius12);
|
|
4280
|
+
background: var(--_kjun-color-secondary);
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4283
|
+
.kjun-table-card-empty {
|
|
4284
|
+
text-align: center;
|
|
4285
|
+
padding: var(--_kjun-extension-table-card-empty-padding);
|
|
4286
|
+
color: var(--_kjun-text-tertiary);
|
|
4287
|
+
}
|
|
4288
|
+
|
|
4289
|
+
/* responsive="list": rows without a header, a title over one meta line and the value with badges at the end. */
|
|
4290
|
+
.kjun-table-list {
|
|
4291
|
+
display: flex;
|
|
4292
|
+
flex-direction: column;
|
|
4293
|
+
}
|
|
4294
|
+
.kjun-table-list-item {
|
|
4295
|
+
display: flex;
|
|
4296
|
+
align-items: center;
|
|
4297
|
+
gap: var(--_kjun-geometry-table-list-gap);
|
|
4298
|
+
padding: var(--_kjun-geometry-table-list-padding-y) var(--_kjun-geometry-table-list-padding-x);
|
|
4299
|
+
border-radius: var(--_kjun-geometry-table-list-radius);
|
|
4300
|
+
}
|
|
4301
|
+
.kjun-table-list-item[tabindex] { cursor: pointer; }
|
|
4302
|
+
.kjun-table-list-item[data-selected] { background: var(--_kjun-color-selected-bg); }
|
|
4303
|
+
@media (hover: hover) {
|
|
4304
|
+
.kjun-table-list-item[tabindex]:not([data-selected]):hover { background: var(--_kjun-color-hover); }
|
|
4305
|
+
}
|
|
4306
|
+
.kjun-table-list-item:focus-visible {
|
|
4307
|
+
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
4308
|
+
outline-offset: var(--_kjun-state-focus-inset-offset);
|
|
4309
|
+
}
|
|
4310
|
+
.kjun-table-list-main {
|
|
4311
|
+
display: flex;
|
|
4312
|
+
flex-direction: column;
|
|
4313
|
+
gap: var(--_kjun-geometry-table-list-meta-gap);
|
|
4314
|
+
flex: 1;
|
|
4315
|
+
min-width: 0;
|
|
4316
|
+
}
|
|
4317
|
+
.kjun-table-list-title {
|
|
4318
|
+
font-size: var(--_kjun-type-control-size);
|
|
4319
|
+
line-height: var(--_kjun-type-control-line);
|
|
4320
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4321
|
+
overflow-wrap: anywhere;
|
|
4322
|
+
}
|
|
4323
|
+
.kjun-table-list-meta {
|
|
4324
|
+
font-size: var(--_kjun-type-caption-size);
|
|
4325
|
+
line-height: var(--_kjun-type-caption-line);
|
|
4326
|
+
color: var(--_kjun-color-text-tertiary);
|
|
4327
|
+
}
|
|
4328
|
+
.kjun-table-list-side {
|
|
4329
|
+
display: flex;
|
|
4330
|
+
flex-direction: column;
|
|
4331
|
+
align-items: flex-end;
|
|
4332
|
+
gap: var(--_kjun-geometry-table-list-meta-gap);
|
|
4333
|
+
flex-shrink: 0;
|
|
4334
|
+
text-align: right;
|
|
3809
4335
|
}
|
|
3810
|
-
.kjun-table-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
4336
|
+
.kjun-table-list-value {
|
|
4337
|
+
font-size: var(--_kjun-type-control-size);
|
|
4338
|
+
line-height: var(--_kjun-type-control-line);
|
|
4339
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4340
|
+
font-variant-numeric: tabular-nums;
|
|
4341
|
+
white-space: nowrap;
|
|
3814
4342
|
}
|
|
3815
|
-
.kjun-table-
|
|
3816
|
-
|
|
4343
|
+
.kjun-table-list-expand {
|
|
4344
|
+
padding: var(--_kjun-geometry-table-expanded-padding-y) var(--_kjun-geometry-table-expanded-padding-x);
|
|
4345
|
+
border-radius: var(--_kjun-geometry-table-list-radius);
|
|
3817
4346
|
background: var(--_kjun-color-secondary);
|
|
3818
4347
|
}
|
|
3819
|
-
.
|
|
3820
|
-
.kjun-table-
|
|
4348
|
+
/* The summary on narrow layouts: a closing block under a strong text-colored rule. */
|
|
4349
|
+
.kjun-table-totals {
|
|
3821
4350
|
display: flex;
|
|
3822
|
-
|
|
3823
|
-
gap: var(--_kjun-geometry-
|
|
3824
|
-
|
|
3825
|
-
padding: var(--_kjun-geometry-
|
|
3826
|
-
|
|
3827
|
-
|
|
4351
|
+
flex-direction: column;
|
|
4352
|
+
gap: var(--_kjun-geometry-table-list-meta-gap);
|
|
4353
|
+
margin-top: var(--_kjun-geometry-table-list-meta-gap);
|
|
4354
|
+
padding: var(--_kjun-geometry-table-list-padding-y) var(--_kjun-geometry-table-list-padding-x);
|
|
4355
|
+
border-top: var(--_kjun-border-control-width) solid var(--_kjun-color-text);
|
|
4356
|
+
}
|
|
4357
|
+
.kjun-table-totals-title {
|
|
4358
|
+
font-size: var(--_kjun-type-control-size);
|
|
4359
|
+
line-height: var(--_kjun-type-control-line);
|
|
4360
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4361
|
+
}
|
|
4362
|
+
.kjun-table-totals-row {
|
|
4363
|
+
display: flex;
|
|
4364
|
+
justify-content: space-between;
|
|
4365
|
+
gap: var(--_kjun-geometry-table-list-gap);
|
|
3828
4366
|
font-size: var(--_kjun-type-body-size);
|
|
3829
4367
|
line-height: var(--_kjun-type-body-line);
|
|
3830
|
-
|
|
3831
|
-
letter-spacing: var(--_kjun-type-body-tracking);
|
|
3832
|
-
}
|
|
3833
|
-
/* The search toolbar sits on the surface so the filled search field stands out from it. */
|
|
3834
|
-
.kjun-table-toolbar {
|
|
3835
|
-
background: var(--_kjun-color-surface);
|
|
4368
|
+
color: var(--_kjun-color-text-secondary);
|
|
3836
4369
|
}
|
|
3837
|
-
.kjun-table-
|
|
3838
|
-
|
|
3839
|
-
|
|
4370
|
+
.kjun-table-totals-value {
|
|
4371
|
+
color: var(--_kjun-color-text);
|
|
4372
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
4373
|
+
font-variant-numeric: tabular-nums;
|
|
3840
4374
|
}
|
|
3841
4375
|
|
|
3842
4376
|
.kjun-market-row {
|
|
@@ -3913,7 +4447,8 @@
|
|
|
3913
4447
|
flex-wrap: wrap;
|
|
3914
4448
|
align-items: center;
|
|
3915
4449
|
justify-content: flex-end;
|
|
3916
|
-
gap
|
|
4450
|
+
/* The status sits one status gap from the change, like a status after a price. */
|
|
4451
|
+
gap: var(--_kjun-extension-financial-status-gap);
|
|
3917
4452
|
margin-top: var(--_kjun-geometry-dimension-value2);
|
|
3918
4453
|
font-size: var(--_kjun-type-caption-size);
|
|
3919
4454
|
line-height: var(--_kjun-type-caption-line);
|
|
@@ -4124,6 +4659,8 @@
|
|
|
4124
4659
|
letter-spacing: var(--_kjun-type-body-tracking);
|
|
4125
4660
|
}
|
|
4126
4661
|
.kjun-market-skeleton-identity { display: grid; grid-template-rows: var(--_kjun-type-body-line) var(--_kjun-type-caption-line); gap: var(--_kjun-geometry-dimension-value2); align-items: center; }
|
|
4662
|
+
.kjun-market-skeleton-identity > .kjun-skeleton { display: block; line-height: var(--_kjun-type-body-line); }
|
|
4663
|
+
.kjun-market-skeleton-identity > .kjun-skeleton + .kjun-skeleton { line-height: var(--_kjun-type-caption-line); }
|
|
4127
4664
|
.kjun-market-skeleton-value { display: inline-block; max-width: 100%; vertical-align: middle; }
|
|
4128
4665
|
|
|
4129
4666
|
/* Market tables fade their trailing edge while columns still overflow it, like the Native grid. */
|
|
@@ -4710,44 +5247,123 @@
|
|
|
4710
5247
|
.kjun-card[data-pressable][aria-disabled="true"] { cursor: not-allowed; opacity: var(--_kjun-state-opacity-disabled); }
|
|
4711
5248
|
@media (prefers-reduced-motion: reduce) { .kjun-card[data-pressable] { transition: none; } .kjun-card[data-pressable]:active { transform: none; } }
|
|
4712
5249
|
|
|
5250
|
+
/* Toasts keep clear of the safe area at their edge, plus the app's offset (KjunFeedbackProvider placement / offset).
|
|
5251
|
+
The inset is padding inside the stack rather than its position, so the cards' shadows are never clipped, and
|
|
5252
|
+
inset-inline-end keeps the stack on the reading end in right-to-left pages. */
|
|
4713
5253
|
.kjun-toast-stack {
|
|
4714
5254
|
position: fixed;
|
|
4715
|
-
top: var(--_kjun-
|
|
4716
|
-
|
|
5255
|
+
top: calc(var(--_kjun-safe-area-top) + var(--_kjun-toast-offset, 0px));
|
|
5256
|
+
inset-inline-end: 0;
|
|
4717
5257
|
display: flex;
|
|
4718
5258
|
flex-direction: column;
|
|
4719
5259
|
gap: var(--_kjun-extension-toast-stack-gap);
|
|
4720
|
-
|
|
5260
|
+
padding: var(--_kjun-extension-toast-inset);
|
|
5261
|
+
max-height: calc(100dvh - var(--_kjun-safe-area-top) - var(--_kjun-safe-area-bottom) - var(--_kjun-toast-offset, 0px));
|
|
5262
|
+
box-sizing: border-box;
|
|
4721
5263
|
overflow: hidden;
|
|
4722
5264
|
pointer-events: none;
|
|
4723
5265
|
}
|
|
5266
|
+
.kjun-toast-stack[data-placement="bottom"] {
|
|
5267
|
+
top: auto;
|
|
5268
|
+
bottom: calc(var(--_kjun-safe-area-bottom) + var(--_kjun-toast-offset, 0px));
|
|
5269
|
+
}
|
|
5270
|
+
.kjun-toast-stack:empty { display: none; }
|
|
5271
|
+
/* A toast is one neutral card for every tone: colour lives in the status icon, and a danger toast also colours its
|
|
5272
|
+
heading. Width follows the content between minWidth and maxWidth; the slot lets it hug the stack's edge. */
|
|
5273
|
+
.kjun-toast-slot { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
|
|
5274
|
+
.kjun-toast-slot > * { min-width: 0; max-width: 100%; }
|
|
5275
|
+
/* Several cards share the widest card's width so the stack's far edge stays straight; capsules keep hugging. */
|
|
5276
|
+
.kjun-toast-stack[data-uniform="true"] .kjun-toast-slot:not(:has(.kjun-toast[data-compact="true"])) > * { flex: 1; }
|
|
5277
|
+
.kjun-toast-stack[data-uniform="true"] .kjun-toast:not([data-compact="true"]) { width: 100%; max-width: none; }
|
|
5278
|
+
/* Toasts not drawn as cards show as card edges behind the far card, with their count. On a narrow screen the
|
|
5279
|
+
folded stack's edges are a button that unfolds it. */
|
|
5280
|
+
.kjun-toast-more {
|
|
5281
|
+
position: relative;
|
|
5282
|
+
display: flex;
|
|
5283
|
+
justify-content: flex-end;
|
|
5284
|
+
align-items: flex-end;
|
|
5285
|
+
height: calc(var(--_kjun-extension-toast-peek-offset) * var(--_kjun-toast-peek-depth, 1));
|
|
5286
|
+
margin-top: calc(-1 * var(--_kjun-extension-toast-stack-gap));
|
|
5287
|
+
--_kjun-toast-peek-reach: calc(var(--_kjun-extension-toast-peek-offset) * var(--_kjun-toast-peek-depth, 1));
|
|
5288
|
+
padding: 0;
|
|
5289
|
+
border: 0;
|
|
5290
|
+
background: none;
|
|
5291
|
+
font: inherit;
|
|
5292
|
+
color: inherit;
|
|
5293
|
+
pointer-events: none;
|
|
5294
|
+
}
|
|
5295
|
+
.kjun-toast-stack[data-placement="bottom"] .kjun-toast-more { margin-top: 0; margin-bottom: calc(-1 * var(--_kjun-extension-toast-stack-gap)); align-items: flex-start; }
|
|
5296
|
+
.kjun-toast-more::before,
|
|
5297
|
+
.kjun-toast-more::after {
|
|
5298
|
+
content: "";
|
|
5299
|
+
position: absolute;
|
|
5300
|
+
inset-inline: var(--_kjun-extension-toast-peek-inset);
|
|
5301
|
+
/* Each edge starts behind the far card's rounded bottom and shows one peek offset below the one in front. */
|
|
5302
|
+
top: calc(-1 * var(--_kjun-extension-toast-radius));
|
|
5303
|
+
height: calc(var(--_kjun-extension-toast-radius) + var(--_kjun-extension-toast-peek-offset));
|
|
5304
|
+
border: var(--_kjun-border-default-width) solid var(--_kjun-color-border);
|
|
5305
|
+
border-radius: var(--_kjun-extension-toast-radius);
|
|
5306
|
+
background: var(--_kjun-color-surface);
|
|
5307
|
+
box-shadow: var(--_kjun-toast-elevation);
|
|
5308
|
+
}
|
|
5309
|
+
.kjun-toast-more::after { display: none; }
|
|
5310
|
+
.kjun-toast-more[data-depth="2"]::after {
|
|
5311
|
+
display: block;
|
|
5312
|
+
inset-inline: calc(2 * var(--_kjun-extension-toast-peek-inset));
|
|
5313
|
+
height: calc(var(--_kjun-extension-toast-radius) + 2 * var(--_kjun-extension-toast-peek-offset));
|
|
5314
|
+
z-index: -1;
|
|
5315
|
+
}
|
|
5316
|
+
.kjun-toast-stack[data-placement="bottom"] .kjun-toast-more::before,
|
|
5317
|
+
.kjun-toast-stack[data-placement="bottom"] .kjun-toast-more::after { top: auto; bottom: calc(-1 * var(--_kjun-extension-toast-radius)); }
|
|
5318
|
+
.kjun-toast-more-count {
|
|
5319
|
+
position: absolute;
|
|
5320
|
+
z-index: 2;
|
|
5321
|
+
top: var(--_kjun-toast-peek-reach);
|
|
5322
|
+
inset-inline-end: var(--_kjun-extension-toast-peek-inset);
|
|
5323
|
+
transform: translateY(-50%);
|
|
5324
|
+
padding: var(--_kjun-geometry-dimension-value2) var(--_kjun-geometry-dimension-value8);
|
|
5325
|
+
border-radius: var(--_kjun-extension-toast-compact-radius);
|
|
5326
|
+
background: var(--_kjun-color-text);
|
|
5327
|
+
color: var(--_kjun-color-surface);
|
|
5328
|
+
font-size: var(--_kjun-type-meta-size);
|
|
5329
|
+
line-height: var(--_kjun-type-meta-line);
|
|
5330
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
5331
|
+
letter-spacing: var(--_kjun-type-meta-tracking);
|
|
5332
|
+
}
|
|
5333
|
+
.kjun-toast-stack[data-placement="bottom"] .kjun-toast-more-count { top: auto; bottom: var(--_kjun-toast-peek-reach); transform: translateY(50%); }
|
|
5334
|
+
/* An expanded stack shows every toast, so it scrolls when they outgrow the screen; its toggle folds it again. */
|
|
5335
|
+
.kjun-toast-stack[data-expanded] { overflow-y: auto; overscroll-behavior: contain; }
|
|
5336
|
+
.kjun-toast-more[data-expanded]::before,
|
|
5337
|
+
.kjun-toast-more[data-expanded]::after { display: none; }
|
|
5338
|
+
button.kjun-toast-more { pointer-events: auto; cursor: pointer; height: calc(var(--_kjun-extension-toast-peek-offset) * var(--_kjun-toast-peek-depth, 1) + var(--_kjun-geometry-native-minimum-touch-target) / 2); }
|
|
5339
|
+
button.kjun-toast-more:focus-visible { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-offset); border-radius: var(--_kjun-extension-toast-radius); }
|
|
4724
5340
|
.kjun-toast {
|
|
4725
5341
|
box-shadow: var(--_kjun-toast-elevation);
|
|
4726
5342
|
display: flex;
|
|
4727
|
-
align-items:
|
|
5343
|
+
align-items: flex-start;
|
|
4728
5344
|
gap: var(--_kjun-extension-toast-gap);
|
|
4729
|
-
padding: var(--_kjun-extension-toast-padding);
|
|
5345
|
+
padding: var(--_kjun-extension-toast-padding-y) var(--_kjun-extension-toast-padding-end) var(--_kjun-extension-toast-padding-y) var(--_kjun-extension-toast-padding-start);
|
|
4730
5346
|
background: var(--_kjun-color-surface);
|
|
4731
5347
|
border-radius: var(--_kjun-extension-toast-radius);
|
|
4732
5348
|
border: var(--_kjun-border-default-width) solid var(--_kjun-color-border);
|
|
4733
5349
|
min-width: var(--_kjun-extension-toast-min-width);
|
|
4734
5350
|
max-width: var(--_kjun-extension-toast-max-width);
|
|
4735
|
-
|
|
4736
|
-
overflow: hidden;
|
|
5351
|
+
box-sizing: border-box;
|
|
4737
5352
|
pointer-events: auto;
|
|
5353
|
+
word-break: keep-all;
|
|
5354
|
+
overflow-wrap: anywhere;
|
|
5355
|
+
/* Vertical drags still scroll the page; sideways ones are the swipe that closes the toast. */
|
|
5356
|
+
touch-action: pan-y;
|
|
4738
5357
|
}
|
|
4739
|
-
.kjun-toast[data-
|
|
4740
|
-
|
|
4741
|
-
}
|
|
5358
|
+
.kjun-toast[data-side="false"] { padding-inline-end: var(--_kjun-extension-toast-padding-start); }
|
|
5359
|
+
/* The icon sits in a box one text line tall, so it centres on the first line with or without a heading. */
|
|
4742
5360
|
.kjun-toast-icon {
|
|
4743
5361
|
display: flex;
|
|
4744
5362
|
align-items: center;
|
|
4745
5363
|
justify-content: center;
|
|
4746
5364
|
flex-shrink: 0;
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
font-weight: var(--_kjun-type-input-weight);
|
|
4750
|
-
letter-spacing: var(--_kjun-type-input-tracking);
|
|
5365
|
+
height: var(--_kjun-type-control-line);
|
|
5366
|
+
font-size: var(--_kjun-extension-toast-icon-size);
|
|
4751
5367
|
}
|
|
4752
5368
|
.kjun-toast-content {
|
|
4753
5369
|
flex: 1;
|
|
@@ -4757,38 +5373,61 @@
|
|
|
4757
5373
|
display: block;
|
|
4758
5374
|
font-size: var(--_kjun-type-control-size);
|
|
4759
5375
|
color: var(--_kjun-color-text);
|
|
4760
|
-
margin-bottom: var(--_kjun-extension-toast-title-gap);
|
|
4761
5376
|
line-height: var(--_kjun-type-control-line);
|
|
4762
5377
|
font-weight: var(--_kjun-type-control-weight);
|
|
4763
5378
|
letter-spacing: var(--_kjun-type-control-tracking);
|
|
4764
5379
|
}
|
|
4765
5380
|
.kjun-toast-message {
|
|
5381
|
+
display: block;
|
|
4766
5382
|
font-size: var(--_kjun-type-body-size);
|
|
4767
5383
|
color: var(--_kjun-color-text-secondary);
|
|
4768
|
-
overflow-wrap: anywhere;
|
|
4769
5384
|
line-height: var(--_kjun-type-body-line);
|
|
4770
5385
|
font-weight: var(--_kjun-type-body-weight);
|
|
4771
5386
|
letter-spacing: var(--_kjun-type-body-tracking);
|
|
4772
5387
|
}
|
|
5388
|
+
.kjun-toast strong + .kjun-toast-message { margin-top: var(--_kjun-extension-toast-title-gap); }
|
|
5389
|
+
/* Without a heading the message is the toast's one line: label weight in the text colour. */
|
|
5390
|
+
.kjun-toast[data-title="false"] .kjun-toast-message {
|
|
5391
|
+
color: var(--_kjun-color-text);
|
|
5392
|
+
font-size: var(--_kjun-type-label-size);
|
|
5393
|
+
line-height: var(--_kjun-type-label-line);
|
|
5394
|
+
font-weight: var(--_kjun-type-label-weight);
|
|
5395
|
+
letter-spacing: var(--_kjun-type-label-tracking);
|
|
5396
|
+
}
|
|
5397
|
+
.kjun-toast[data-tone="danger"] strong,
|
|
5398
|
+
.kjun-toast[data-tone="danger"][data-title="false"] .kjun-toast-message { color: var(--_kjun-color-danger); }
|
|
5399
|
+
.kjun-toast-actions { display: flex; margin-top: var(--_kjun-extension-toast-action-gap); }
|
|
5400
|
+
/* Actions read as text in every tone; the side column centres them and the close button on the first line. */
|
|
5401
|
+
.kjun-toast-side {
|
|
5402
|
+
display: flex;
|
|
5403
|
+
align-items: center;
|
|
5404
|
+
gap: var(--_kjun-extension-toast-side-gap);
|
|
5405
|
+
flex-shrink: 0;
|
|
5406
|
+
margin-block: calc((var(--_kjun-type-control-line) - var(--_kjun-extension-toast-close-size)) / 2);
|
|
5407
|
+
}
|
|
4773
5408
|
.kjun-toast-action {
|
|
4774
|
-
display:
|
|
4775
|
-
|
|
5409
|
+
display: inline-flex;
|
|
5410
|
+
align-items: center;
|
|
5411
|
+
min-height: var(--_kjun-type-control-line);
|
|
4776
5412
|
padding: 0;
|
|
4777
5413
|
background: none;
|
|
4778
5414
|
border: none;
|
|
5415
|
+
border-radius: var(--_kjun-extension-toast-close-radius);
|
|
4779
5416
|
font: inherit;
|
|
4780
|
-
font-size: var(--_kjun-type-
|
|
4781
|
-
color: var(--_kjun-color-
|
|
5417
|
+
font-size: var(--_kjun-type-control-size);
|
|
5418
|
+
color: var(--_kjun-color-text);
|
|
5419
|
+
text-decoration: underline;
|
|
5420
|
+
text-decoration-thickness: var(--_kjun-border-default-width);
|
|
5421
|
+
text-underline-offset: var(--_kjun-geometry-dimension-value3);
|
|
5422
|
+
white-space: nowrap;
|
|
4782
5423
|
cursor: pointer;
|
|
4783
5424
|
transition: color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
4784
|
-
line-height: var(--_kjun-type-
|
|
4785
|
-
font-weight: var(--_kjun-type-
|
|
4786
|
-
letter-spacing: var(--_kjun-type-
|
|
4787
|
-
}
|
|
4788
|
-
.kjun-toast-action:hover {
|
|
4789
|
-
color: var(--_kjun-color-brand-hover);
|
|
4790
|
-
text-decoration: underline;
|
|
5425
|
+
line-height: var(--_kjun-type-control-line);
|
|
5426
|
+
font-weight: var(--_kjun-type-control-weight);
|
|
5427
|
+
letter-spacing: var(--_kjun-type-control-tracking);
|
|
4791
5428
|
}
|
|
5429
|
+
.kjun-toast-side .kjun-toast-action { min-height: var(--_kjun-extension-toast-close-size); }
|
|
5430
|
+
.kjun-toast-action:hover { color: var(--_kjun-color-text-secondary); }
|
|
4792
5431
|
.kjun-toast-close {
|
|
4793
5432
|
display: flex;
|
|
4794
5433
|
align-items: center;
|
|
@@ -4800,7 +5439,8 @@
|
|
|
4800
5439
|
border: none;
|
|
4801
5440
|
border-radius: var(--_kjun-extension-toast-close-radius);
|
|
4802
5441
|
cursor: pointer;
|
|
4803
|
-
color: var(--_kjun-color-text-
|
|
5442
|
+
color: var(--_kjun-color-text-secondary);
|
|
5443
|
+
font-size: var(--_kjun-extension-toast-close-icon-size);
|
|
4804
5444
|
transition: background-color var(--_kjun-motion-control) var(--_kjun-ease-out), color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
4805
5445
|
flex-shrink: 0;
|
|
4806
5446
|
}
|
|
@@ -4813,55 +5453,46 @@
|
|
|
4813
5453
|
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
4814
5454
|
outline-offset: var(--_kjun-state-focus-offset);
|
|
4815
5455
|
}
|
|
4816
|
-
.
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
height: var(--_kjun-extension-toast-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
from {
|
|
4826
|
-
width: var(--_kjun-toast-start);
|
|
4827
|
-
}
|
|
4828
|
-
to {
|
|
4829
|
-
width: 0;
|
|
4830
|
-
}
|
|
5456
|
+
/* Compact: one short line in a capsule that only holds the icon, the message and an optional action. */
|
|
5457
|
+
.kjun-toast[data-compact="true"] {
|
|
5458
|
+
align-items: center;
|
|
5459
|
+
min-width: 0;
|
|
5460
|
+
min-height: var(--_kjun-extension-toast-compact-height);
|
|
5461
|
+
padding: 0 var(--_kjun-extension-toast-compact-padding-end) 0 var(--_kjun-extension-toast-compact-padding-start);
|
|
5462
|
+
gap: var(--_kjun-extension-toast-compact-gap);
|
|
5463
|
+
border-radius: var(--_kjun-extension-toast-compact-radius);
|
|
5464
|
+
white-space: nowrap;
|
|
4831
5465
|
}
|
|
5466
|
+
.kjun-toast[data-compact="true"] .kjun-toast-side { margin-block: 0; }
|
|
4832
5467
|
@media (width <= 640px) {
|
|
4833
5468
|
.kjun-toast-stack {
|
|
4834
|
-
|
|
4835
|
-
right: var(--_kjun-extension-toast-inset);
|
|
5469
|
+
inset-inline: 0;
|
|
4836
5470
|
}
|
|
4837
|
-
.kjun-toast {
|
|
4838
|
-
|
|
5471
|
+
.kjun-toast-slot { display: block; }
|
|
5472
|
+
.kjun-toast-slot:has(.kjun-toast[data-compact="true"]) { display: flex; justify-content: center; }
|
|
5473
|
+
.kjun-toast:not([data-compact="true"]) {
|
|
4839
5474
|
min-width: 0;
|
|
4840
5475
|
max-width: 100%;
|
|
4841
5476
|
width: 100%;
|
|
4842
|
-
box-sizing: border-box;
|
|
4843
5477
|
}
|
|
4844
5478
|
.kjun-toast-close {
|
|
4845
5479
|
min-width: var(--_kjun-geometry-native-minimum-touch-target);
|
|
4846
5480
|
min-height: var(--_kjun-geometry-native-minimum-touch-target);
|
|
4847
5481
|
}
|
|
5482
|
+
.kjun-toast-side { margin-block: calc((var(--_kjun-type-control-line) - var(--_kjun-geometry-native-minimum-touch-target)) / 2); }
|
|
4848
5483
|
}
|
|
4849
5484
|
@media (prefers-reduced-motion: reduce) {
|
|
4850
5485
|
.kjun-toast-action,
|
|
4851
5486
|
.kjun-toast-close {
|
|
4852
5487
|
transition: none;
|
|
4853
5488
|
}
|
|
4854
|
-
.kjun-toast-progress {
|
|
4855
|
-
animation: none;
|
|
4856
|
-
width: 100%;
|
|
4857
|
-
}
|
|
4858
5489
|
}
|
|
4859
5490
|
|
|
4860
|
-
.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)}
|
|
4861
|
-
.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)}
|
|
5491
|
+
.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)}
|
|
5492
|
+
.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)}
|
|
4862
5493
|
.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. */
|
|
4863
5494
|
.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}
|
|
4864
|
-
.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):hover{background:var(--_kjun-color-hover)}.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. */
|
|
5495
|
+
.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. */
|
|
4865
5496
|
.kjun-list-leading{flex-shrink:0;display:flex;align-items:center;justify-content:center;min-width:var(--_kjun-extension-list-leading-width)}
|
|
4866
5497
|
.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%}
|
|
4867
5498
|
/* A disabled row disables its actions too, so the row never reads as partly available. */
|
|
@@ -4884,17 +5515,17 @@
|
|
|
4884
5515
|
.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)}
|
|
4885
5516
|
.kjun-chip button:hover{background:var(--_kjun-color-hover)}
|
|
4886
5517
|
.kjun-chip[data-disabled=true]{opacity:var(--_kjun-state-opacity-disabled)}
|
|
4887
|
-
/* Links and page buttons use the system ring instead of the browser default
|
|
4888
|
-
.kjun-scope :is(.kjun-list-main,.kjun-bottom-navigation a,.kjun-chip button,.kjun-breadcrumb a,.kjun-
|
|
5518
|
+
/* Links and page buttons use the system ring instead of the browser default. */
|
|
5519
|
+
.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)}
|
|
4889
5520
|
/* Kept out of the :is() above: its :not() would raise that whole rule over the inset overrides below. */
|
|
4890
5521
|
.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)}
|
|
4891
5522
|
/* Inline text links round the ring so it does not box the glyphs. */
|
|
4892
|
-
.kjun-scope :is(.kjun-breadcrumb a,.kjun-
|
|
5523
|
+
.kjun-scope :is(.kjun-breadcrumb a,.kjun-external-link):focus-visible{border-radius:var(--_kjun-geometry-radius-radius4)}
|
|
4893
5524
|
/* Draw the removal ring inside its circle so it stays within the chip outline and clear of the label. */
|
|
4894
5525
|
.kjun-scope .kjun-chip button:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
|
|
4895
5526
|
/* Bottom bars meet the screen edges, so their items draw the ring inside, like tabs. */
|
|
4896
5527
|
.kjun-scope .kjun-bottom-navigation a:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
|
|
4897
|
-
.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}
|
|
5528
|
+
.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}
|
|
4898
5529
|
.kjun-slider {
|
|
4899
5530
|
width:100%; min-width:var(--_kjun-extension-slider-minimum-width); display:grid; gap:var(--_kjun-geometry-dimension-value4);
|
|
4900
5531
|
}
|
|
@@ -5011,6 +5642,8 @@
|
|
|
5011
5642
|
.kjun-navigation-leading .kjun-button-label { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
|
5012
5643
|
|
|
5013
5644
|
.kjun-bottom-navigation { display:flex; flex-shrink:0; }
|
|
5645
|
+
/* A hairline on the surface keeps the bar apart from content scrolling under it; a bar without a surface stays seamless. */
|
|
5646
|
+
.kjun-bottom-navigation:not([data-surface="false"]) { box-shadow:inset 0 var(--_kjun-border-default-width) 0 var(--_kjun-color-divider); }
|
|
5014
5647
|
.kjun-bottom-navigation > a {
|
|
5015
5648
|
position:relative;
|
|
5016
5649
|
display:flex; flex:1; min-width:0; min-height:var(--_kjun-extension-bottom-navigation-minimum-height);
|
|
@@ -5022,31 +5655,76 @@
|
|
|
5022
5655
|
font-weight:var(--_kjun-type-label-weight); letter-spacing:var(--_kjun-type-caption-tracking);
|
|
5023
5656
|
}
|
|
5024
5657
|
.kjun-bottom-navigation[data-icons] > a { justify-content:flex-start; }
|
|
5658
|
+
/* The selected destination swaps to the filled icon; colour and weight carry it without a separate marker. */
|
|
5025
5659
|
.kjun-bottom-navigation > a[aria-current] { color:var(--_kjun-color-brand); font-weight:var(--_kjun-type-control-weight); }
|
|
5026
|
-
/* The indicator hangs under the label, so a neighbour's wrapped label does not pull it away. */
|
|
5027
|
-
.kjun-bottom-navigation > a[aria-current] .kjun-navigation-label::after {
|
|
5028
|
-
content:""; position:absolute; top:calc(100% + var(--_kjun-extension-bottom-navigation-indicator-offset));
|
|
5029
|
-
left:50%; transform:translateX(-50%); width:var(--_kjun-extension-bottom-navigation-indicator-width);
|
|
5030
|
-
height:var(--_kjun-extension-bottom-navigation-indicator-height); border-radius:var(--_kjun-geometry-radius-radius9999);
|
|
5031
|
-
background:currentColor; pointer-events:none;
|
|
5032
|
-
}
|
|
5033
5660
|
.kjun-navigation-icon {
|
|
5034
5661
|
position:relative; display:block; flex-shrink:0;
|
|
5035
5662
|
width:var(--_kjun-extension-bottom-navigation-icon-size); height:var(--_kjun-extension-bottom-navigation-icon-size);
|
|
5036
5663
|
}
|
|
5037
5664
|
.kjun-navigation-label { position:relative; max-width:100%; overflow-wrap:anywhere; }
|
|
5665
|
+
/* Press feedback: a circle behind the icon, or a pill behind a text-only label. isolation keeps it above the bar. */
|
|
5666
|
+
.kjun-bottom-navigation[data-icons] .kjun-navigation-icon, .kjun-bottom-navigation:not([data-icons]) .kjun-navigation-label { isolation:isolate; }
|
|
5667
|
+
.kjun-bottom-navigation[data-icons] .kjun-navigation-icon::before, .kjun-bottom-navigation:not([data-icons]) .kjun-navigation-label::before {
|
|
5668
|
+
content:""; position:absolute; z-index:-1; top:50%; height:var(--_kjun-extension-bottom-navigation-press-size);
|
|
5669
|
+
transform:translateY(-50%); border-radius:var(--_kjun-geometry-radius-radius9999); background:transparent; pointer-events:none;
|
|
5670
|
+
}
|
|
5671
|
+
.kjun-bottom-navigation[data-icons] .kjun-navigation-icon::before { left:50%; width:var(--_kjun-extension-bottom-navigation-press-size); transform:translate(-50%, -50%); }
|
|
5672
|
+
.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)); }
|
|
5673
|
+
@media (hover:hover) {
|
|
5674
|
+
.kjun-bottom-navigation > a:not([aria-disabled="true"]):hover :is(.kjun-navigation-icon, .kjun-navigation-label)::before { background:var(--_kjun-color-hover); }
|
|
5675
|
+
.kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):hover { background:var(--_kjun-color-hover); }
|
|
5676
|
+
}
|
|
5677
|
+
.kjun-bottom-navigation > a:not([aria-disabled="true"]):active :is(.kjun-navigation-icon, .kjun-navigation-label)::before { background:var(--_kjun-color-active); }
|
|
5038
5678
|
.kjun-navigation-badge {
|
|
5039
5679
|
position:absolute; top:calc(0px - var(--_kjun-extension-bottom-navigation-badge-offset));
|
|
5040
|
-
|
|
5680
|
+
inset-inline-start:calc(100% - var(--_kjun-extension-bottom-navigation-badge-overlap));
|
|
5041
5681
|
display:flex; align-items:center; justify-content:center; pointer-events:none; white-space:nowrap;
|
|
5042
5682
|
min-width:var(--_kjun-extension-bottom-navigation-badge-minimum-size); min-height:var(--_kjun-extension-bottom-navigation-badge-minimum-size);
|
|
5043
5683
|
padding:0 var(--_kjun-extension-bottom-navigation-badge-padding-x); border-radius:var(--_kjun-extension-bottom-navigation-badge-radius);
|
|
5044
|
-
/*
|
|
5045
|
-
background:var(--_kjun-color-
|
|
5046
|
-
box-shadow:0 0 0 var(--_kjun-border-control-width) var(--_kjun-color-surface);
|
|
5684
|
+
/* An alert colour apart from the selection; the surface ring cuts it out of the icon strokes it overlaps. */
|
|
5685
|
+
background:var(--_kjun-color-danger); color:var(--_kjun-color-on-danger);
|
|
5686
|
+
box-shadow:0 0 0 var(--_kjun-border-control-width) var(--_kjun-navigation-ring, var(--_kjun-color-surface));
|
|
5047
5687
|
font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line); font-weight:var(--_kjun-type-control-weight);
|
|
5688
|
+
font-variant-numeric:tabular-nums;
|
|
5048
5689
|
}
|
|
5049
|
-
|
|
5690
|
+
/* A dot sits on the icon's top-right corner. */
|
|
5691
|
+
.kjun-navigation-badge[data-dot] {
|
|
5692
|
+
top:0; inset-inline-start:calc(100% - var(--_kjun-extension-bottom-navigation-dot-size) + var(--_kjun-border-control-width));
|
|
5693
|
+
min-width:0; min-height:0; width:var(--_kjun-extension-bottom-navigation-dot-size); height:var(--_kjun-extension-bottom-navigation-dot-size); padding:0;
|
|
5694
|
+
}
|
|
5695
|
+
/* Without a surface the bar shows the page background, so the ring takes that colour instead. */
|
|
5696
|
+
.kjun-bottom-navigation[data-surface="false"] { --_kjun-navigation-ring: var(--_kjun-color-background); }
|
|
5697
|
+
/* The ring follows the fill under the badge, so hover and press do not show a surface-coloured halo. */
|
|
5698
|
+
@media (hover:hover) {
|
|
5699
|
+
.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); }
|
|
5700
|
+
}
|
|
5701
|
+
.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); }
|
|
5702
|
+
/* Beside a text label the badge sits in the line after the text, so it takes room and never covers the next item. */
|
|
5703
|
+
.kjun-navigation-label > .kjun-navigation-badge {
|
|
5704
|
+
position:relative; top:auto; inset-inline-start:auto; display:inline-flex; vertical-align:middle;
|
|
5705
|
+
margin-inline-start:var(--_kjun-extension-bottom-navigation-badge-offset);
|
|
5706
|
+
}
|
|
5707
|
+
.kjun-navigation-label > .kjun-navigation-badge[data-dot] { vertical-align:top; }
|
|
5708
|
+
/* A capsule detached from the screen edge: icons only, the selected destination inverted. */
|
|
5709
|
+
.kjun-floating-navigation {
|
|
5710
|
+
/* More destinations than fit scroll inside the capsule instead of spilling out of it. */
|
|
5711
|
+
display:flex; flex-shrink:0; width:max-content; max-width:calc(100% - 2 * var(--_kjun-extension-floating-navigation-offset)); box-sizing:border-box;
|
|
5712
|
+
overflow-x:auto; scrollbar-width:none;
|
|
5713
|
+
margin:0 auto var(--_kjun-extension-floating-navigation-offset); padding:var(--_kjun-extension-floating-navigation-padding);
|
|
5714
|
+
gap:var(--_kjun-extension-floating-navigation-gap); border-radius:var(--_kjun-extension-floating-navigation-radius);
|
|
5715
|
+
background:var(--_kjun-color-surface); box-shadow:0 0 0 var(--_kjun-border-default-width) var(--_kjun-color-border), var(--_kjun-elevation-floating);
|
|
5716
|
+
}
|
|
5717
|
+
.kjun-floating-navigation > a {
|
|
5718
|
+
position:relative; display:flex; flex:none; align-items:center; justify-content:center; box-sizing:border-box;
|
|
5719
|
+
min-width:var(--_kjun-extension-floating-navigation-item-size); height:var(--_kjun-extension-floating-navigation-item-size);
|
|
5720
|
+
border-radius:var(--_kjun-extension-floating-navigation-radius); color:var(--_kjun-color-text-secondary); text-decoration:none; white-space:nowrap;
|
|
5721
|
+
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);
|
|
5722
|
+
}
|
|
5723
|
+
.kjun-floating-navigation > a:has(> .kjun-navigation-label) { padding:0 var(--_kjun-extension-floating-navigation-text-padding-x); }
|
|
5724
|
+
.kjun-floating-navigation .kjun-navigation-icon { width:var(--_kjun-extension-floating-navigation-icon-size); height:var(--_kjun-extension-floating-navigation-icon-size); }
|
|
5725
|
+
.kjun-floating-navigation > a[aria-current] { background:var(--_kjun-color-text); color:var(--_kjun-color-surface); }
|
|
5726
|
+
.kjun-floating-navigation > a:not([aria-current]):not([aria-disabled="true"]):active { background:var(--_kjun-color-active); }
|
|
5727
|
+
.kjun-floating-navigation > a[aria-current] { --_kjun-navigation-ring: var(--_kjun-color-text); }
|
|
5050
5728
|
/* The query measures content width; outer insets are excluded. */
|
|
5051
5729
|
.kjun-bottom-action-bar {
|
|
5052
5730
|
container:kjun-bottom-action / inline-size; flex-shrink:0;
|
|
@@ -5079,7 +5757,7 @@
|
|
|
5079
5757
|
.kjun-list-heading > div { flex:1; min-width:0; overflow-wrap:anywhere; }
|
|
5080
5758
|
/* A title without a description labels the rows below as a small group header instead of floating above them. */
|
|
5081
5759
|
.kjun-list-heading[data-bare] { padding-bottom:var(--_kjun-extension-list-bare-heading-padding-bottom); }
|
|
5082
|
-
.kjun-list-heading[data-bare] h3 { 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); }
|
|
5760
|
+
.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); }
|
|
5083
5761
|
|
|
5084
5762
|
/* KjunFab: a round action pinned to the viewport's bottom end, above page content and clear of the safe area. */
|
|
5085
5763
|
.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}
|
|
@@ -5094,9 +5772,39 @@
|
|
|
5094
5772
|
.kjun-list-section[data-radius] .kjun-list-main:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
|
|
5095
5773
|
.kjun-list-row[data-destructive] .kjun-list-title{color:var(--_kjun-color-danger)}
|
|
5096
5774
|
.kjun-list-chevron{flex-shrink:0;color:var(--_kjun-color-text-tertiary)}
|
|
5775
|
+
/* A value at the row's end reads one step below the title. */
|
|
5776
|
+
.kjun-list-trailing { color:var(--_kjun-color-text-secondary); }
|
|
5777
|
+
/* Korean wraps between words, never inside one. */
|
|
5778
|
+
.kjun-list-title, .kjun-list-description { word-break:keep-all; overflow-wrap:anywhere; }
|
|
5779
|
+
/* With a description the leading column covers the first two lines, so a long row keeps its icon beside the title. */
|
|
5780
|
+
.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)); }
|
|
5781
|
+
.kjun-list-row[data-destructive] .kjun-list-icon { color:var(--_kjun-color-danger); }
|
|
5782
|
+
/* Pressable rows dim through :disabled; a static row (a switch or text) dims here so nothing in it reads as available. */
|
|
5783
|
+
.kjun-list-row[data-disabled] > div.kjun-list-main { opacity:var(--_kjun-state-opacity-disabled); }
|
|
5784
|
+
.kjun-list-check { flex-shrink:0; color:var(--_kjun-color-brand); }
|
|
5785
|
+
.kjun-list-main > .kjun-switch { flex-shrink:0; }
|
|
5786
|
+
/* Heading actions sit on the title line, not between the title and its description. */
|
|
5787
|
+
.kjun-list-heading { align-items:flex-start; }
|
|
5788
|
+
.kjun-list-heading-actions { display:flex; align-items:center; flex-shrink:0; min-height:var(--_kjun-type-card-title-line); }
|
|
5789
|
+
.kjun-list-heading[data-bare] .kjun-list-heading-actions { min-height:var(--_kjun-type-control-small-line); }
|
|
5790
|
+
/* A rounded section with a label title keeps the label and footer on the page, above and below its card. */
|
|
5791
|
+
.kjun-list-section[data-outside] { background:transparent; overflow:visible; }
|
|
5792
|
+
.kjun-list-section[data-outside] > .kjun-list-heading { padding-top:0; padding-bottom:var(--_kjun-extension-list-outside-label-gap); }
|
|
5793
|
+
.kjun-list-panel { background:var(--_kjun-color-surface); overflow:hidden; overflow:clip; }
|
|
5794
|
+
.kjun-list-panel[data-surface="false"] { background:transparent; }
|
|
5795
|
+
.kjun-list-section > .kjun-list-panel .kjun-list-main:focus-visible { outline-offset:var(--_kjun-state-focus-inset-offset); }
|
|
5796
|
+
.kjun-list-empty { padding:var(--_kjun-extension-list-padding); }
|
|
5797
|
+
.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; }
|
|
5798
|
+
.kjun-list-section[data-outside] > .kjun-list-footer { padding-bottom:0; }
|
|
5799
|
+
/* KjunListGroup sets the spacing between its sections: rounded cards apart, or flush sections close together. */
|
|
5800
|
+
.kjun-list-group { display:flex; flex-direction:column; gap:var(--_kjun-extension-list-group-gap); min-width:0; }
|
|
5801
|
+
.kjun-list-group[data-variant="flush"] { gap:var(--_kjun-extension-list-flush-group-gap); }
|
|
5097
5802
|
.kjun-list-item{padding:var(--_kjun-extension-list-padding);position:relative;min-width:0}
|
|
5098
5803
|
.kjun-list[data-density=compact]>.kjun-list-item{padding-block:var(--_kjun-extension-list-compact-padding-y)}
|
|
5099
5804
|
|
|
5805
|
+
/* titleLines / descriptionLines clamp a row's text to a few lines with an ellipsis. */
|
|
5806
|
+
.kjun-list-title[data-clamp],.kjun-list-description[data-clamp]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
|
|
5807
|
+
|
|
5100
5808
|
/* Compound fields share input geometry; buttons retain their own size contract. */
|
|
5101
5809
|
.kjun-quantity,.kjun-time-picker {
|
|
5102
5810
|
--_kjun-compound-height: var(--_kjun-geometry-input-md-height);
|
|
@@ -5145,10 +5853,12 @@
|
|
|
5145
5853
|
.kjun-quantity .kjun-input:is(:focus,:focus-visible,[aria-invalid="true"]):not(:disabled) { outline:none; box-shadow:none; border-color:transparent; }
|
|
5146
5854
|
.kjun-quantity input:is(:hover,:focus):not(:disabled) { background:var(--_kjun-color-hover); }
|
|
5147
5855
|
|
|
5148
|
-
|
|
5856
|
+
/* A time is a short fixed-length value, so the field hugs it; block stretches it like Input. */
|
|
5857
|
+
.kjun-time-picker { display:inline-flex; align-items:center; width:max-content; border-radius:var(--_kjun-compound-radius); background:var(--_kjun-color-input-bg); }
|
|
5858
|
+
.kjun-time-picker[data-block="true"] { display:flex; width:100%; }
|
|
5149
5859
|
.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); }
|
|
5150
5860
|
.kjun-time-segments { display:flex; align-items:center; flex:1; min-width:0; }
|
|
5151
|
-
/* Segments hug their values so "09
|
|
5861
|
+
/* Segments hug their values so "09:30" stays together; in a block field leftover width collects before the trailing icon. */
|
|
5152
5862
|
.kjun-time-segment { flex:0 0 auto; min-width:var(--_kjun-extension-time-picker-segment-minimum-width); }
|
|
5153
5863
|
/* Same type as the segment values so "09 : 30" reads as one time. */
|
|
5154
5864
|
.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); }
|
|
@@ -5156,13 +5866,31 @@
|
|
|
5156
5866
|
.kjun-time-picker[data-disabled="true"] .kjun-time-separator { color:var(--_kjun-color-text-disabled); }
|
|
5157
5867
|
.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); }
|
|
5158
5868
|
/* The first value starts on the field text line, like Input and DatePicker values. */
|
|
5159
|
-
|
|
5869
|
+
/* Its trailing room matches the centred gap of the other segments, so every colon sits midway between its values. */
|
|
5870
|
+
.kjun-time-segment:first-child [data-time-segment] {
|
|
5871
|
+
padding-inline:calc(var(--_kjun-compound-padding) - var(--_kjun-border-control-width)) calc((var(--_kjun-extension-time-picker-segment-minimum-width) - 2ch) / 2);
|
|
5872
|
+
}
|
|
5873
|
+
.kjun-time-segment:first-child [data-time-segment] > span { text-align:start; }
|
|
5160
5874
|
/* Two digits wide, so the placeholder and the value occupy the same slot. */
|
|
5161
5875
|
.kjun-time-picker [data-time-segment] > span { flex:0 0 auto; min-width:2ch; text-align:center; }
|
|
5162
|
-
.kjun-time-picker [data-time-segment]:is(:hover,:focus-visible
|
|
5876
|
+
.kjun-time-picker [data-time-segment]:is(:hover,:focus-visible):not(:disabled) { background:var(--_kjun-color-hover); }
|
|
5877
|
+
/* The segment whose list is open stays marked while the pointer moves into the list. */
|
|
5878
|
+
.kjun-time-picker [data-time-segment][aria-expanded="true"]:not(:disabled) { background:var(--_kjun-color-active); }
|
|
5879
|
+
/* A read-only time shows its value without the hover of a control that opens. */
|
|
5880
|
+
.kjun-time-picker[data-readonly] [data-time-segment] { cursor:default; }
|
|
5881
|
+
.kjun-time-picker[data-readonly] [data-time-segment]:is(:hover,:focus-visible):not(:disabled) { background:transparent; }
|
|
5882
|
+
/* The AM/PM word sits a separator's width from the hour instead of a ":". */
|
|
5883
|
+
.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); }
|
|
5163
5884
|
/* Scoped like the Vue field ring it replaces (.kjun-scope .kjun-field:focus-visible); the group ring above is the only outline. */
|
|
5164
5885
|
.kjun-scope .kjun-time-picker [data-time-segment]:is(:focus,:focus-visible,[aria-invalid="true"]) { outline:none; border-color:transparent; box-shadow:none; }
|
|
5165
5886
|
.kjun-time-clear { flex:0 0 var(--_kjun-geometry-native-minimum-touch-target); width:var(--_kjun-geometry-native-minimum-touch-target); padding:0; }
|
|
5887
|
+
/* Without a value to clear (or while disabled) the trailing slot shows what the field holds. */
|
|
5888
|
+
.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); }
|
|
5889
|
+
.kjun-time-picker[data-disabled="true"] .kjun-time-icon { color:var(--_kjun-color-text-disabled); }
|
|
5890
|
+
/* Segment lists are as narrow as two digits: centred numbers, the selected one inverted, no check mark. */
|
|
5891
|
+
.kjun-select-panel.kjun-time-options { min-width:var(--_kjun-extension-time-picker-options-width); }
|
|
5892
|
+
.kjun-time-options .kjun-option { justify-content:center; padding-inline:0; font-variant-numeric:tabular-nums; }
|
|
5893
|
+
.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); }
|
|
5166
5894
|
@media (pointer:coarse) {
|
|
5167
5895
|
.kjun-time-picker [data-time-segment],.kjun-time-picker .kjun-time-clear { min-height:var(--_kjun-geometry-native-minimum-touch-target); }
|
|
5168
5896
|
}
|
|
@@ -5179,6 +5907,8 @@
|
|
|
5179
5907
|
[data-variant="underline"] .kjun-tab-indicator { background: var(--_kjun-color-brand); border-radius: calc(var(--_kjun-extension-tabs-indicator-height) / 2); }
|
|
5180
5908
|
.kjun-tabs-track .kjun-tab, .kjun-vue-tabs .kjun-tab { z-index: 1; background: transparent !important; }
|
|
5181
5909
|
.kjun-tabs-track .kjun-tab::after, .kjun-vue-tabs .kjun-tab::after { display: none; }
|
|
5910
|
+
.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); }
|
|
5911
|
+
.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); }
|
|
5182
5912
|
.kjun-accordion-trigger svg { transition: transform var(--_kjun-motion-collapse) var(--_kjun-ease-out); }
|
|
5183
5913
|
.kjun-motion-collapse { overflow: hidden; }
|
|
5184
5914
|
.kjun-scope[data-motion] { animation: none; }
|
|
@@ -5206,7 +5936,8 @@
|
|
|
5206
5936
|
@keyframes kjun-tooltip-in { from { opacity: 0; } to { opacity: 1; } }
|
|
5207
5937
|
@keyframes kjun-tooltip-out { from { opacity: 1; } to { opacity: 0; } }
|
|
5208
5938
|
@media (prefers-reduced-motion: reduce) {
|
|
5209
|
-
.kjun-tab-indicator[data-animate="true"], .kjun-accordion-trigger svg
|
|
5939
|
+
.kjun-tab-indicator[data-animate="true"], .kjun-tabs[data-variant="pills"] .kjun-tab, .kjun-accordion-trigger svg,
|
|
5940
|
+
.kjun-bottom-navigation :is(.kjun-navigation-icon, .kjun-navigation-label)::before, .kjun-floating-navigation > a { transition: none; }
|
|
5210
5941
|
.kjun-scope[data-motion], .kjun-scope[data-motion]::before, .kjun-scope[data-motion] .kjun-modal, .kjun-scope[data-motion] .kjun-drawer { transition: none !important; }
|
|
5211
5942
|
.kjun-tooltip[data-entering], .kjun-tooltip[data-exiting] { animation-duration: 0s; }
|
|
5212
5943
|
}
|
|
@@ -5354,3 +6085,307 @@
|
|
|
5354
6085
|
|
|
5355
6086
|
/* 직계 폼 그룹은 자체 아래 여백 대신 부모 gap만 따른다. */
|
|
5356
6087
|
:is([data-kjun-stack], [data-kjun-inline]) > .kjun-form-group { margin-bottom: 0; }
|
|
6088
|
+
|
|
6089
|
+
/* KjunCarousel: native horizontal scrolling that snaps to each slide's start edge. */
|
|
6090
|
+
.kjun-carousel {
|
|
6091
|
+
--_kjun-carousel-gap: var(--_kjun-geometry-space-inline-md);
|
|
6092
|
+
--_kjun-carousel-bleed: 0px;
|
|
6093
|
+
min-width: 0;
|
|
6094
|
+
max-width: 100%;
|
|
6095
|
+
}
|
|
6096
|
+
/* bleed: the scroller reaches into the page's side padding, and its own padding keeps the first slide on the content edge. */
|
|
6097
|
+
.kjun-carousel[data-bleed] {
|
|
6098
|
+
max-width: none;
|
|
6099
|
+
margin-inline: calc(-1 * var(--_kjun-carousel-bleed));
|
|
6100
|
+
}
|
|
6101
|
+
.kjun-carousel[data-bleed="sm"] {
|
|
6102
|
+
--_kjun-carousel-bleed: var(--_kjun-geometry-space-inset-sm);
|
|
6103
|
+
}
|
|
6104
|
+
.kjun-carousel[data-bleed="md"] {
|
|
6105
|
+
--_kjun-carousel-bleed: var(--_kjun-geometry-space-inset-md);
|
|
6106
|
+
}
|
|
6107
|
+
.kjun-carousel[data-bleed="lg"] {
|
|
6108
|
+
--_kjun-carousel-bleed: var(--_kjun-geometry-space-inset-lg);
|
|
6109
|
+
}
|
|
6110
|
+
.kjun-carousel[data-bleed] > :not(.kjun-carousel-frame, .kjun-sr-only) {
|
|
6111
|
+
padding-inline: var(--_kjun-carousel-bleed);
|
|
6112
|
+
}
|
|
6113
|
+
.kjun-carousel[data-gap="none"] {
|
|
6114
|
+
--_kjun-carousel-gap: 0px;
|
|
6115
|
+
}
|
|
6116
|
+
.kjun-carousel[data-gap="sm"] {
|
|
6117
|
+
--_kjun-carousel-gap: var(--_kjun-geometry-space-inline-sm);
|
|
6118
|
+
}
|
|
6119
|
+
.kjun-carousel[data-gap="lg"] {
|
|
6120
|
+
--_kjun-carousel-gap: var(--_kjun-geometry-space-inline-lg);
|
|
6121
|
+
}
|
|
6122
|
+
.kjun-carousel-frame {
|
|
6123
|
+
position: relative;
|
|
6124
|
+
}
|
|
6125
|
+
.kjun-carousel-viewport {
|
|
6126
|
+
position: relative;
|
|
6127
|
+
display: flex;
|
|
6128
|
+
gap: var(--_kjun-carousel-gap);
|
|
6129
|
+
overflow-x: auto;
|
|
6130
|
+
overflow-y: hidden;
|
|
6131
|
+
overscroll-behavior-x: contain;
|
|
6132
|
+
scroll-snap-type: x mandatory;
|
|
6133
|
+
scrollbar-width: none;
|
|
6134
|
+
border-radius: inherit;
|
|
6135
|
+
padding-inline: var(--_kjun-carousel-bleed);
|
|
6136
|
+
scroll-padding-inline: var(--_kjun-carousel-bleed);
|
|
6137
|
+
}
|
|
6138
|
+
/* center: the current slide sits in the middle; with peek, the viewport padding shows a neighbour on each side. */
|
|
6139
|
+
.kjun-carousel[data-align="center"] .kjun-carousel-slide {
|
|
6140
|
+
scroll-snap-align: center;
|
|
6141
|
+
}
|
|
6142
|
+
.kjun-carousel[data-align="center"][data-size="peek"] .kjun-carousel-viewport {
|
|
6143
|
+
padding-inline: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-peek) + var(--_kjun-carousel-gap));
|
|
6144
|
+
}
|
|
6145
|
+
.kjun-carousel[data-align="center"][data-size="peek"] .kjun-carousel-slide {
|
|
6146
|
+
flex-basis: 100%;
|
|
6147
|
+
}
|
|
6148
|
+
.kjun-carousel-viewport::-webkit-scrollbar {
|
|
6149
|
+
display: none;
|
|
6150
|
+
}
|
|
6151
|
+
/* The ring goes on the frame, rounded like a card, so the scroller's clipping does not cut it square. */
|
|
6152
|
+
.kjun-carousel-viewport:focus-visible {
|
|
6153
|
+
outline: none;
|
|
6154
|
+
}
|
|
6155
|
+
.kjun-carousel-frame:has(> .kjun-carousel-viewport:focus-visible) {
|
|
6156
|
+
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
6157
|
+
outline-offset: var(--_kjun-state-focus-offset);
|
|
6158
|
+
border-radius: var(--_kjun-extension-carousel-focus-radius);
|
|
6159
|
+
}
|
|
6160
|
+
.kjun-carousel-slide {
|
|
6161
|
+
flex: 0 0 100%;
|
|
6162
|
+
min-width: 0;
|
|
6163
|
+
scroll-snap-align: start;
|
|
6164
|
+
scroll-snap-stop: always;
|
|
6165
|
+
}
|
|
6166
|
+
.kjun-carousel[data-size="peek"] .kjun-carousel-slide {
|
|
6167
|
+
flex-basis: calc(100% - var(--_kjun-extension-carousel-peek) - var(--_kjun-carousel-gap));
|
|
6168
|
+
}
|
|
6169
|
+
.kjun-carousel[data-size="auto"] .kjun-carousel-slide {
|
|
6170
|
+
flex: 0 0 auto;
|
|
6171
|
+
scroll-snap-stop: normal;
|
|
6172
|
+
}
|
|
6173
|
+
.kjun-carousel-header {
|
|
6174
|
+
display: flex;
|
|
6175
|
+
align-items: center;
|
|
6176
|
+
justify-content: space-between;
|
|
6177
|
+
gap: var(--_kjun-extension-carousel-header-gap);
|
|
6178
|
+
margin-bottom: var(--_kjun-extension-carousel-header-gap);
|
|
6179
|
+
}
|
|
6180
|
+
.kjun-carousel-title {
|
|
6181
|
+
min-width: 0;
|
|
6182
|
+
margin: 0;
|
|
6183
|
+
color: var(--_kjun-color-text);
|
|
6184
|
+
}
|
|
6185
|
+
.kjun-carousel-header-controls {
|
|
6186
|
+
display: none;
|
|
6187
|
+
flex: none;
|
|
6188
|
+
gap: var(--_kjun-extension-carousel-header-controls-gap);
|
|
6189
|
+
}
|
|
6190
|
+
/* Side buttons float over the slide edges: a surface circle lifted by the floating elevation. */
|
|
6191
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button {
|
|
6192
|
+
position: absolute;
|
|
6193
|
+
top: 50%;
|
|
6194
|
+
display: none;
|
|
6195
|
+
background: var(--_kjun-color-surface);
|
|
6196
|
+
color: var(--_kjun-color-text);
|
|
6197
|
+
box-shadow: 0 0 0 var(--_kjun-border-default-width) var(--_kjun-color-border), var(--_kjun-elevation-floating);
|
|
6198
|
+
transform: translateY(-50%);
|
|
6199
|
+
opacity: 0;
|
|
6200
|
+
pointer-events: none;
|
|
6201
|
+
transition: opacity var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
6202
|
+
}
|
|
6203
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button:hover:not(:disabled) {
|
|
6204
|
+
background: var(--_kjun-color-hover);
|
|
6205
|
+
}
|
|
6206
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button:active:not(:disabled) {
|
|
6207
|
+
transform: translateY(-50%) scale(0.98);
|
|
6208
|
+
}
|
|
6209
|
+
.kjun-carousel-control[data-direction="previous"] {
|
|
6210
|
+
inset-inline-start: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-control-inset));
|
|
6211
|
+
}
|
|
6212
|
+
.kjun-carousel-control[data-direction="next"] {
|
|
6213
|
+
inset-inline-end: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-control-inset));
|
|
6214
|
+
}
|
|
6215
|
+
/* Touch screens swipe; buttons are for pointers that can hover. */
|
|
6216
|
+
@media (hover: hover) and (pointer: fine) {
|
|
6217
|
+
.kjun-carousel-header-controls,
|
|
6218
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button {
|
|
6219
|
+
display: flex;
|
|
6220
|
+
}
|
|
6221
|
+
.kjun-carousel-frame:is(:hover, :focus-within) > .kjun-carousel-control.kjun-button {
|
|
6222
|
+
opacity: 1;
|
|
6223
|
+
pointer-events: auto;
|
|
6224
|
+
}
|
|
6225
|
+
}
|
|
6226
|
+
.kjun-carousel-indicators {
|
|
6227
|
+
display: flex;
|
|
6228
|
+
justify-content: center;
|
|
6229
|
+
margin-top: calc(var(--_kjun-extension-carousel-indicator-offset) - (var(--_kjun-extension-carousel-indicator-press) - var(--_kjun-extension-carousel-indicator-size)) / 2);
|
|
6230
|
+
}
|
|
6231
|
+
.kjun-carousel-indicator {
|
|
6232
|
+
display: inline-flex;
|
|
6233
|
+
align-items: center;
|
|
6234
|
+
justify-content: center;
|
|
6235
|
+
width: var(--_kjun-extension-carousel-indicator-press-width);
|
|
6236
|
+
height: var(--_kjun-extension-carousel-indicator-press);
|
|
6237
|
+
padding: 0;
|
|
6238
|
+
border: 0;
|
|
6239
|
+
background: none;
|
|
6240
|
+
cursor: pointer;
|
|
6241
|
+
}
|
|
6242
|
+
.kjun-carousel-indicator::before {
|
|
6243
|
+
content: "";
|
|
6244
|
+
width: var(--_kjun-extension-carousel-indicator-size);
|
|
6245
|
+
height: var(--_kjun-extension-carousel-indicator-size);
|
|
6246
|
+
border-radius: var(--_kjun-geometry-radius-radius9999);
|
|
6247
|
+
background: var(--_kjun-color-border-strong);
|
|
6248
|
+
transition: width var(--_kjun-motion-control) var(--_kjun-ease-out), background-color var(--_kjun-motion-control) var(--_kjun-ease-out);
|
|
6249
|
+
}
|
|
6250
|
+
.kjun-carousel-indicator[aria-current="true"]::before {
|
|
6251
|
+
width: var(--_kjun-extension-carousel-indicator-active-width);
|
|
6252
|
+
background: var(--_kjun-color-text);
|
|
6253
|
+
}
|
|
6254
|
+
.kjun-carousel-indicator:focus-visible {
|
|
6255
|
+
outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);
|
|
6256
|
+
outline-offset: var(--_kjun-state-focus-offset);
|
|
6257
|
+
border-radius: var(--_kjun-geometry-radius-radius9999);
|
|
6258
|
+
}
|
|
6259
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6260
|
+
.kjun-carousel-indicator::before,
|
|
6261
|
+
.kjun-carousel-frame > .kjun-carousel-control.kjun-button {
|
|
6262
|
+
transition: none;
|
|
6263
|
+
}
|
|
6264
|
+
}
|
|
6265
|
+
.kjun-carousel-count {
|
|
6266
|
+
display: flex;
|
|
6267
|
+
align-items: center;
|
|
6268
|
+
justify-content: center;
|
|
6269
|
+
height: var(--_kjun-extension-carousel-indicator-press);
|
|
6270
|
+
margin-top: calc(var(--_kjun-extension-carousel-indicator-offset) - (var(--_kjun-extension-carousel-indicator-press) - var(--_kjun-extension-carousel-indicator-size)) / 2);
|
|
6271
|
+
color: var(--_kjun-color-text-secondary);
|
|
6272
|
+
font-size: var(--_kjun-type-caption-size);
|
|
6273
|
+
line-height: var(--_kjun-type-caption-line);
|
|
6274
|
+
font-weight: var(--_kjun-type-caption-weight);
|
|
6275
|
+
font-variant-numeric: tabular-nums;
|
|
6276
|
+
}
|
|
6277
|
+
/* A mouse can drag the slides; while it does, snapping is off and text stays unselected. */
|
|
6278
|
+
@media (hover: hover) and (pointer: fine) {
|
|
6279
|
+
.kjun-carousel[data-mouse-drag] .kjun-carousel-viewport {
|
|
6280
|
+
cursor: grab;
|
|
6281
|
+
}
|
|
6282
|
+
}
|
|
6283
|
+
.kjun-carousel-viewport[data-dragging] {
|
|
6284
|
+
cursor: grabbing;
|
|
6285
|
+
user-select: none;
|
|
6286
|
+
}
|
|
6287
|
+
/* overlay: the position sits on the slides in a scrim pill, legible over any image. */
|
|
6288
|
+
.kjun-carousel-frame > :is(.kjun-carousel-indicators, .kjun-carousel-count) {
|
|
6289
|
+
position: absolute;
|
|
6290
|
+
bottom: var(--_kjun-extension-carousel-control-inset);
|
|
6291
|
+
height: var(--_kjun-extension-carousel-indicator-press);
|
|
6292
|
+
margin: 0;
|
|
6293
|
+
padding-inline: var(--_kjun-extension-carousel-overlay-padding-x);
|
|
6294
|
+
border-radius: var(--_kjun-geometry-radius-radius9999);
|
|
6295
|
+
background: var(--_kjun-color-overlay);
|
|
6296
|
+
color: var(--_kjun-color-inverse);
|
|
6297
|
+
}
|
|
6298
|
+
.kjun-carousel-frame > .kjun-carousel-indicators {
|
|
6299
|
+
left: 50%;
|
|
6300
|
+
transform: translateX(-50%);
|
|
6301
|
+
}
|
|
6302
|
+
.kjun-carousel-frame > .kjun-carousel-count {
|
|
6303
|
+
inset-inline-end: calc(var(--_kjun-carousel-bleed) + var(--_kjun-extension-carousel-control-inset));
|
|
6304
|
+
}
|
|
6305
|
+
.kjun-carousel-frame > .kjun-carousel-indicators .kjun-carousel-indicator::before {
|
|
6306
|
+
background: color-mix(in srgb, var(--_kjun-color-inverse) 50%, transparent);
|
|
6307
|
+
}
|
|
6308
|
+
.kjun-carousel-frame > .kjun-carousel-indicators .kjun-carousel-indicator[aria-current="true"]::before {
|
|
6309
|
+
background: var(--_kjun-color-inverse);
|
|
6310
|
+
}
|
|
6311
|
+
/* Elements that act like buttons keep a pointer over a draggable carousel. */
|
|
6312
|
+
.kjun-carousel[data-mouse-drag] .kjun-carousel-viewport [role="button"] {
|
|
6313
|
+
cursor: pointer;
|
|
6314
|
+
}
|
|
6315
|
+
|
|
6316
|
+
/* Date fields open KJUN's calendar on every platform; the trigger is a Select-style field. */
|
|
6317
|
+
.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; }
|
|
6318
|
+
.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; }
|
|
6319
|
+
.kjun-calendar { display: flex; flex-direction: column; color: var(--_kjun-color-text); }
|
|
6320
|
+
.kjun-calendar-head { display: flex; align-items: center; gap: var(--_kjun-extension-calendar-title-gap); min-height: var(--_kjun-extension-calendar-header-height); }
|
|
6321
|
+
/* The heading opens the month view; it reads larger than the days so the month leads. */
|
|
6322
|
+
.kjun-calendar-title {
|
|
6323
|
+
display: inline-flex; align-items: center; gap: var(--_kjun-extension-calendar-title-gap); margin-right: auto;
|
|
6324
|
+
height: var(--_kjun-extension-calendar-nav-size); padding: 0 var(--_kjun-geometry-dimension-value8); border: 0; border-radius: var(--_kjun-geometry-radius-radius10);
|
|
6325
|
+
background: transparent; color: var(--_kjun-color-text); cursor: pointer;
|
|
6326
|
+
font-size: var(--_kjun-type-card-title-size); line-height: var(--_kjun-type-card-title-line); font-weight: var(--_kjun-type-card-title-weight);
|
|
6327
|
+
}
|
|
6328
|
+
.kjun-calendar-title svg { color: var(--_kjun-color-text-tertiary); }
|
|
6329
|
+
.kjun-calendar-title:hover, .kjun-calendar-nav:hover:not(:disabled) { background: var(--_kjun-color-hover); }
|
|
6330
|
+
.kjun-calendar-nav {
|
|
6331
|
+
display: inline-flex; align-items: center; justify-content: center; flex: none;
|
|
6332
|
+
width: var(--_kjun-extension-calendar-nav-size); height: var(--_kjun-extension-calendar-nav-size); padding: 0; border: 0;
|
|
6333
|
+
border-radius: var(--_kjun-geometry-radius-radius10); background: transparent; color: var(--_kjun-color-text); cursor: pointer;
|
|
6334
|
+
}
|
|
6335
|
+
.kjun-calendar-nav:disabled { color: var(--_kjun-color-text-disabled); cursor: default; }
|
|
6336
|
+
.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; }
|
|
6337
|
+
.kjun-calendar-weekday {
|
|
6338
|
+
display: flex; align-items: center; justify-content: center; height: var(--_kjun-extension-calendar-weekday-height);
|
|
6339
|
+
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);
|
|
6340
|
+
}
|
|
6341
|
+
.kjun-calendar-weekday[data-sunday] { color: var(--_kjun-color-danger); }
|
|
6342
|
+
.kjun-calendar-day {
|
|
6343
|
+
position: relative; display: flex; align-items: center; justify-content: center;
|
|
6344
|
+
width: var(--_kjun-extension-calendar-day-size); height: var(--_kjun-extension-calendar-day-size); padding: 0; border: 0;
|
|
6345
|
+
border-radius: var(--_kjun-geometry-radius-radius9999); background: transparent; color: var(--_kjun-color-text); cursor: pointer;
|
|
6346
|
+
font-size: var(--_kjun-type-body-size); line-height: var(--_kjun-type-body-line); font-variant-numeric: tabular-nums;
|
|
6347
|
+
}
|
|
6348
|
+
.kjun-calendar-day[data-sunday]:not([data-outside]):not(:disabled, [aria-disabled="true"]) { color: var(--_kjun-color-danger); }
|
|
6349
|
+
.kjun-calendar-day[data-outside] { color: var(--_kjun-color-text-disabled); }
|
|
6350
|
+
.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; }
|
|
6351
|
+
.kjun-calendar-day:hover:not(:disabled, [aria-disabled="true"]):not([data-selected]) { background: var(--_kjun-color-hover); }
|
|
6352
|
+
.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); }
|
|
6353
|
+
.kjun-calendar-day[data-selected] { background: var(--_kjun-color-brand); color: var(--_kjun-color-on-brand); font-weight: var(--_kjun-type-control-weight); }
|
|
6354
|
+
.kjun-calendar-day:focus-visible { outline: var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring); outline-offset: var(--_kjun-state-focus-offset); }
|
|
6355
|
+
/* A range joins its ends with a quiet band that runs under the days between them. */
|
|
6356
|
+
.kjun-calendar-day:is([data-in-range], [data-range-start], [data-range-end])::before {
|
|
6357
|
+
content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
|
|
6358
|
+
left: calc(0px - var(--_kjun-extension-calendar-range-bleed)); right: calc(0px - var(--_kjun-extension-calendar-range-bleed));
|
|
6359
|
+
background: var(--_kjun-color-brand-subtle-bg);
|
|
6360
|
+
}
|
|
6361
|
+
.kjun-calendar-day[data-range-start]::before { left: 50%; }
|
|
6362
|
+
.kjun-calendar-day[data-range-end]::before { right: 50%; }
|
|
6363
|
+
.kjun-calendar-day[data-range-start][data-range-end]::before { display: none; }
|
|
6364
|
+
.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); }
|
|
6365
|
+
.kjun-calendar-month {
|
|
6366
|
+
height: var(--_kjun-extension-calendar-month-height); border: 0; border-radius: var(--_kjun-extension-calendar-month-radius);
|
|
6367
|
+
background: transparent; color: var(--_kjun-color-text); cursor: pointer;
|
|
6368
|
+
font-size: var(--_kjun-type-label-size); line-height: var(--_kjun-type-label-line); font-weight: var(--_kjun-type-label-weight);
|
|
6369
|
+
}
|
|
6370
|
+
.kjun-calendar-month:hover:not(:disabled):not([data-selected]) { background: var(--_kjun-color-hover); }
|
|
6371
|
+
.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); }
|
|
6372
|
+
.kjun-calendar-month[data-selected] { background: var(--_kjun-color-brand); color: var(--_kjun-color-on-brand); font-weight: var(--_kjun-type-control-weight); }
|
|
6373
|
+
.kjun-calendar-month:disabled { color: var(--_kjun-color-text-disabled); cursor: default; }
|
|
6374
|
+
/* The year view reuses the month grid. */
|
|
6375
|
+
.kjun-calendar-month[data-year] { font-variant-numeric: tabular-nums; }
|
|
6376
|
+
/* Range presets are year-style chips that wrap above the days. */
|
|
6377
|
+
.kjun-calendar-presets { display: flex; flex-wrap: wrap; gap: var(--_kjun-extension-calendar-year-gap); margin-bottom: var(--_kjun-extension-calendar-footer-gap); }
|
|
6378
|
+
.kjun-calendar-presets .kjun-calendar-year { flex: none; padding: 0 var(--_kjun-geometry-dimension-value12); }
|
|
6379
|
+
.kjun-calendar-years { display: flex; gap: var(--_kjun-extension-calendar-year-gap); margin-top: var(--_kjun-extension-calendar-footer-gap); }
|
|
6380
|
+
.kjun-calendar-year {
|
|
6381
|
+
flex: 1; height: var(--_kjun-extension-calendar-year-height); padding: 0; border: 0; border-radius: var(--_kjun-geometry-radius-radius9999);
|
|
6382
|
+
background: var(--_kjun-color-secondary); color: var(--_kjun-color-text-secondary); cursor: pointer;
|
|
6383
|
+
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;
|
|
6384
|
+
}
|
|
6385
|
+
.kjun-calendar-year[aria-pressed="true"] { background: var(--_kjun-color-text); color: var(--_kjun-color-surface); }
|
|
6386
|
+
: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); }
|
|
6387
|
+
.kjun-calendar-foot {
|
|
6388
|
+
display: flex; align-items: center; justify-content: space-between; gap: var(--_kjun-extension-calendar-footer-gap);
|
|
6389
|
+
margin-top: var(--_kjun-extension-calendar-footer-gap); padding-top: var(--_kjun-extension-calendar-footer-gap);
|
|
6390
|
+
border-top: var(--_kjun-border-default-width) solid var(--_kjun-color-divider);
|
|
6391
|
+
}
|