viewkitjs 0.27.0 → 0.28.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/CHANGELOG.md +71 -0
- package/MIGRATION.md +40 -3
- package/package.json +1 -1
- package/views/dist/cells/cell-format.d.ts +3 -1
- package/views/dist/cells/cell-format.js +2 -2
- package/views/dist/cells/use-cell-format.d.ts +8 -1
- package/views/dist/cells/use-cell-format.js +13 -2
- package/views/dist/contract.d.ts +70 -3
- package/views/dist/contract.js +76 -0
- package/views/dist/controls/alert/alert.d.ts +46 -0
- package/views/dist/controls/alert/alert.js +11 -0
- package/views/dist/controls/alert/looks.d.ts +4 -0
- package/views/dist/controls/alert/looks.js +19 -0
- package/views/dist/controls/alert/tokens.d.ts +92 -0
- package/views/dist/controls/alert/tokens.js +25 -0
- package/views/dist/controls/alert-dialog/alert-dialog.d.ts +50 -0
- package/views/dist/controls/alert-dialog/alert-dialog.js +67 -0
- package/views/dist/controls/alert-dialog/confirm.d.ts +13 -0
- package/views/dist/controls/alert-dialog/confirm.js +11 -0
- package/views/dist/controls/alert-dialog/looks.d.ts +4 -0
- package/views/dist/controls/alert-dialog/looks.js +17 -0
- package/views/dist/controls/alert-dialog/tokens.d.ts +119 -0
- package/views/dist/controls/alert-dialog/tokens.js +32 -0
- package/views/dist/controls/alert-dialog.css +95 -0
- package/views/dist/controls/alert.css +51 -0
- package/views/dist/controls/collapsible/collapsible.d.ts +39 -0
- package/views/dist/controls/collapsible/collapsible.js +18 -0
- package/views/dist/controls/collapsible/looks.d.ts +4 -0
- package/views/dist/controls/collapsible/looks.js +5 -0
- package/views/dist/controls/collapsible/map-collapse.d.ts +2 -0
- package/views/dist/controls/collapsible/map-collapse.js +6 -0
- package/views/dist/controls/collapsible/tokens.d.ts +68 -0
- package/views/dist/controls/collapsible/tokens.js +19 -0
- package/views/dist/controls/collapsible.css +83 -0
- package/views/dist/controls/compound-editor/place-parts.js +5 -1
- package/views/dist/controls/controls.d.ts +9 -0
- package/views/dist/controls/controls.js +9 -0
- package/views/dist/controls/date-editor/date-editor.d.ts +2 -1
- package/views/dist/controls/date-editor/map-calendar.js +3 -1
- package/views/dist/controls/filter-editor/filter-editor.d.ts +56 -0
- package/views/dist/controls/filter-editor/filter-editor.js +208 -0
- package/views/dist/controls/filter-editor/how.d.ts +23 -0
- package/views/dist/controls/filter-editor/how.js +13 -0
- package/views/dist/controls/filter-editor/map-filter-body.d.ts +18 -0
- package/views/dist/controls/filter-editor/map-filter-body.js +164 -0
- package/views/dist/controls/filter-editor/map-rules.d.ts +85 -0
- package/views/dist/controls/filter-editor/map-rules.js +273 -0
- package/views/dist/controls/filter-editor/parts.d.ts +46 -0
- package/views/dist/controls/filter-editor/parts.js +75 -0
- package/views/dist/controls/filter-editor/rules.d.ts +104 -0
- package/views/dist/controls/filter-editor/rules.js +148 -0
- package/views/dist/controls/filter-editor/tokens.d.ts +83 -0
- package/views/dist/controls/filter-editor/tokens.js +23 -0
- package/views/dist/controls/filter-editor/words.d.ts +59 -0
- package/views/dist/controls/filter-editor/words.js +40 -0
- package/views/dist/controls/filter-editor.css +124 -0
- package/views/dist/controls/group-editor/group-editor.d.ts +56 -0
- package/views/dist/controls/group-editor/group-editor.js +126 -0
- package/views/dist/controls/group-editor/map-group-body.d.ts +19 -0
- package/views/dist/controls/group-editor/map-group-body.js +106 -0
- package/views/dist/controls/group-editor/rules.d.ts +48 -0
- package/views/dist/controls/group-editor/rules.js +41 -0
- package/views/dist/controls/group-editor/tokens.d.ts +15 -0
- package/views/dist/controls/group-editor/tokens.js +6 -0
- package/views/dist/controls/group-editor/words.d.ts +39 -0
- package/views/dist/controls/group-editor/words.js +21 -0
- package/views/dist/controls/group-editor.css +20 -0
- package/views/dist/controls/index.d.ts +19 -1
- package/views/dist/controls/index.js +19 -1
- package/views/dist/controls/internal/editor-parts.d.ts +8 -1
- package/views/dist/controls/internal/editor-parts.js +5 -0
- package/views/dist/controls/internal/step-return.d.ts +9 -0
- package/views/dist/controls/internal/step-return.js +27 -0
- package/views/dist/controls/links-editor/links-editor.d.ts +5 -3
- package/views/dist/controls/links-editor/links-editor.js +38 -17
- package/views/dist/controls/links-editor/map-links-body.js +4 -1
- package/views/dist/controls/links-editor.css +1 -1
- package/views/dist/controls/menu-list/menu-list.d.ts +17 -2
- package/views/dist/controls/menu-list/menu-list.js +25 -16
- package/views/dist/controls/modal/looks.d.ts +4 -0
- package/views/dist/controls/modal/looks.js +25 -0
- package/views/dist/controls/modal/modal.d.ts +69 -0
- package/views/dist/controls/modal/modal.js +62 -0
- package/views/dist/controls/modal/tokens.d.ts +192 -0
- package/views/dist/controls/modal/tokens.js +50 -0
- package/views/dist/controls/modal.css +130 -0
- package/views/dist/controls/notice/notice.d.ts +49 -0
- package/views/dist/controls/notice/notice.js +35 -0
- package/views/dist/controls/notice/tokens.d.ts +99 -0
- package/views/dist/controls/notice/tokens.js +27 -0
- package/views/dist/controls/notice.css +100 -0
- package/views/dist/controls/number-editor/number-editor.js +1 -1
- package/views/dist/controls/pane/looks.d.ts +4 -0
- package/views/dist/controls/pane/looks.js +11 -0
- package/views/dist/controls/pane/pane.d.ts +63 -0
- package/views/dist/controls/pane/pane.js +98 -0
- package/views/dist/controls/pane/state.d.ts +14 -0
- package/views/dist/controls/pane/state.js +7 -0
- package/views/dist/controls/pane/tokens.d.ts +79 -0
- package/views/dist/controls/pane/tokens.js +22 -0
- package/views/dist/controls/pane.css +104 -0
- package/views/dist/controls/picker/rows.d.ts +4 -2
- package/views/dist/controls/picker/rows.js +4 -3
- package/views/dist/controls/sort-editor/map-sort-body.d.ts +9 -0
- package/views/dist/controls/sort-editor/map-sort-body.js +81 -0
- package/views/dist/controls/sort-editor/rules.d.ts +48 -0
- package/views/dist/controls/sort-editor/rules.js +24 -0
- package/views/dist/controls/sort-editor/sort-editor.d.ts +58 -0
- package/views/dist/controls/sort-editor/sort-editor.js +180 -0
- package/views/dist/controls/sort-editor/tokens.d.ts +79 -0
- package/views/dist/controls/sort-editor/tokens.js +22 -0
- package/views/dist/controls/sort-editor/words.d.ts +48 -0
- package/views/dist/controls/sort-editor/words.js +25 -0
- package/views/dist/controls/sort-editor.css +96 -0
- package/views/dist/controls/toast/toast.d.ts +75 -0
- package/views/dist/controls/toast/toast.js +99 -0
- package/views/dist/controls/toast/tokens.d.ts +100 -0
- package/views/dist/controls/toast/tokens.js +27 -0
- package/views/dist/controls/toast.css +93 -0
- package/views/dist/controls/tokens.js +20 -0
- package/views/dist/controls/values-editor/values-editor.js +7 -1
- package/views/dist/display/date.js +2 -2
- package/views/dist/display/format.js +10 -2
- package/views/dist/display/options.d.ts +3 -1
- package/views/dist/display/use-display-options.d.ts +3 -0
- package/views/dist/display/use-display-options.js +10 -2
- package/views/dist/display/viewer.d.ts +1 -1
- package/views/dist/display/viewer.js +1 -1
- package/views/dist/editors/DateEditor.js +11 -9
- package/views/dist/editors/relation-panel.js +7 -1
- package/views/dist/editors/relation-picker.d.ts +2 -1
- package/views/dist/editors/relation-picker.js +4 -3
- package/views/dist/editors/relation-source.d.ts +4 -1
- package/views/dist/editors/relation-source.js +5 -2
- package/views/dist/field-row/editors/RowNumberEditor.js +2 -2
- package/views/dist/fields/number-edit.d.ts +6 -0
- package/views/dist/fields/number-edit.js +8 -1
- package/views/dist/grid/chrome/GridCellEditors.js +2 -2
- package/views/dist/grid/chrome/GridColumnDateSection.d.ts +4 -3
- package/views/dist/grid/chrome/GridColumnDateSection.js +4 -4
- package/views/dist/grid/chrome/GridColumnDurationSection.js +2 -2
- package/views/dist/grid/chrome/GridColumnMenu.js +6 -4
- package/views/dist/grid/chrome/GridFooter.js +2 -2
- package/views/dist/grid/chrome/grid-column-menu-items.js +4 -2
- package/views/dist/grid/chrome/useGridBandFigures.js +2 -2
- package/views/dist/grid/chrome/useGridFittedWidths.d.ts +3 -0
- package/views/dist/grid/chrome/useGridFittedWidths.js +9 -3
- package/views/dist/grid/chrome/useGridKeyboard.d.ts +4 -1
- package/views/dist/grid/chrome/useGridKeyboard.js +5 -2
- package/views/dist/grid/chrome/useGridTableInteractionModel.js +2 -1
- package/views/dist/grid/core/commit-model.d.ts +7 -0
- package/views/dist/grid/core/commit-model.js +5 -1
- package/views/dist/grid/core/editing-controller.js +10 -2
- package/views/dist/grid/core/editing-model.js +3 -7
- package/views/dist/grid/core/undo-owner.d.ts +6 -0
- package/views/dist/grid/core/undo-owner.js +13 -0
- package/views/dist/grid/core/useGridEditing.d.ts +2 -0
- package/views/dist/grid/core/useGridEditing.js +4 -0
- package/views/dist/looks/index.d.ts +5 -0
- package/views/dist/looks/index.js +5 -0
- package/views/dist/looks/pieces.js +10 -0
- package/views/dist/panels/model.d.ts +6 -1
- package/views/dist/panels/react/customize-body.d.ts +4 -2
- package/views/dist/panels/react/customize-body.js +3 -3
- package/views/dist/panels/react/customize.js +4 -2
- package/views/dist/panels/react/filter/FilterEditor.js +2 -2
- package/views/dist/panels/react/filter/PhoneFilterEditor.d.ts +8 -2
- package/views/dist/panels/react/filter/PhoneFilterEditor.js +9 -6
- package/views/dist/panels/react/filter/filter-body.d.ts +8 -5
- package/views/dist/panels/react/filter/filter-body.js +17 -6
- package/views/dist/panels/react/filter/filter-part-body.d.ts +4 -1
- package/views/dist/panels/react/filter/filter-part-body.js +3 -1
- package/views/dist/panels/react/panel-sheet.d.ts +5 -1
- package/views/dist/panels/react/panel-sheet.js +6 -2
- package/views/dist/panels/react/panel-step.d.ts +12 -0
- package/views/dist/panels/react/panel-step.js +26 -0
- package/views/dist/panels/react/sort/SortEditor.d.ts +4 -0
- package/views/dist/panels/react/sort/SortEditor.js +5 -2
- package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +8 -0
- package/views/dist/panels/react/toolbar/ReadyToolbar.js +84 -2
- package/views/dist/panels/react/toolbar/ToolbarBarFilter.js +2 -2
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.d.ts +16 -0
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +49 -0
- package/views/dist/panels/react/toolbar/ToolbarFilterSheet.js +3 -1
- package/views/dist/panels/react/toolbar/ToolbarFilters.d.ts +4 -1
- package/views/dist/panels/react/toolbar/ToolbarFilters.js +36 -21
- package/views/dist/panels/react/toolbar/ToolbarQuickFilters.d.ts +4 -1
- package/views/dist/panels/react/toolbar/ToolbarQuickFilters.js +2 -2
- package/views/dist/panels/react/toolbar/ToolbarSortPill.d.ts +5 -0
- package/views/dist/panels/react/toolbar/ToolbarSortPill.js +15 -6
- package/views/dist/panels/react/toolbar/panel-part.d.ts +5 -1
- package/views/dist/panels/react/toolbar/panel-part.js +2 -2
- package/views/dist/panels/react/toolbar/use-filter-add.d.ts +16 -0
- package/views/dist/panels/react/toolbar/use-filter-add.js +32 -0
- package/views/dist/panels/react.d.ts +1 -0
- package/views/dist/panels/react.js +1 -0
- package/views/dist/panels/settings/filter-groups.js +35 -1
- package/views/dist/panels/settings/group-buckets.js +1 -0
- package/views/dist/provider/ViewsProvider.d.ts +7 -1
- package/views/dist/provider/ViewsProvider.js +23 -3
- package/views/dist/provider/components.d.ts +30 -4
- package/views/dist/provider/moment.d.ts +6 -0
- package/views/dist/provider/moment.js +10 -0
- package/views/dist/styles.css +847 -52
- package/views/dist/styles.unlayered.css +848 -52
- package/views/docs/contract.md +15 -9
- package/views/docs/controls/alert-dialog.md +37 -0
- package/views/docs/controls/alert.md +30 -0
- package/views/docs/controls/collapsible.md +22 -0
- package/views/docs/controls/filter-editor.md +28 -0
- package/views/docs/controls/group-editor.md +11 -0
- package/views/docs/controls/modal.md +55 -0
- package/views/docs/controls/notice.md +32 -0
- package/views/docs/controls/pane.md +25 -0
- package/views/docs/controls/sort-editor.md +27 -0
- package/views/docs/controls/toast.md +32 -0
- package/views/docs/guides/cells.md +1 -1
- package/views/docs/guides/display.md +1 -1
- package/views/docs/guides/the-grid.md +1 -1
- package/views/docs/guides/the-provider.md +19 -0
- package/views/docs/reference/cells.md +2 -2
- package/views/docs/reference/controls.md +213 -7
- package/views/docs/reference/display.md +2 -2
- package/views/docs/reference/editors-relation.md +1 -1
- package/views/docs/reference/looks.md +10 -0
- package/views/docs/reference/panels-react.md +7 -6
- package/views/docs/reference/panels.md +1 -1
- package/views/docs/reference/react.md +7 -7
- package/views/docs/reference/views.md +1 -0
package/views/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! viewkitjs 0.
|
|
1
|
+
/*! viewkitjs 0.28.0 · viewkitjs/views/styles.css: ViewKit's look, its defaults the Outright look */
|
|
2
2
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer base {
|
|
@@ -238,6 +238,7 @@
|
|
|
238
238
|
@property --smooth-hy { syntax: "<number>"; inherits: true; initial-value: 0; }
|
|
239
239
|
@property --smooth-khy { syntax: "<number>"; inherits: true; initial-value: 0; }
|
|
240
240
|
@property --smooth-khx { syntax: "<number>"; inherits: true; initial-value: 0; }
|
|
241
|
+
@property --o-collapsible-h { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
241
242
|
@layer components {
|
|
242
243
|
@layer viewkit {
|
|
243
244
|
@layer properties {
|
|
@@ -352,6 +353,115 @@
|
|
|
352
353
|
--smooth-khx: calc(var(--smooth-k) - var(--smooth-hx));
|
|
353
354
|
}
|
|
354
355
|
|
|
356
|
+
/* ── What's behind it, and where it stands: in the middle of the screen, over everything ─────────────────────────────────────────── */
|
|
357
|
+
.o-alert-backdrop, .o-alert-viewport { position: fixed; inset: 0; z-index: var(--vk-layer-popup); }
|
|
358
|
+
.o-alert-backdrop { background-color: var(--vk-backdrop-alert-medium); transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
359
|
+
.o-alert-backdrop:is([data-starting-style], [data-ending-style]) { opacity: 0; }
|
|
360
|
+
[data-alert-dialog-strength="light"] .o-alert-backdrop { background-color: var(--vk-backdrop-alert-light); }
|
|
361
|
+
[data-alert-dialog-strength="deep"] .o-alert-backdrop { background-color: var(--vk-backdrop-alert-deep); }
|
|
362
|
+
[data-alert-dialog-behind="veil"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil-medium); }
|
|
363
|
+
[data-alert-dialog-behind="veil"][data-alert-dialog-strength="light"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil-light); }
|
|
364
|
+
[data-alert-dialog-behind="veil"][data-alert-dialog-strength="deep"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil); }
|
|
365
|
+
/* How far the page blurs under it, each screen's own. No blur at all at none, since blur(0) still builds a backdrop root. */
|
|
366
|
+
[data-alert-dialog-blur="4"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="4"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-xs)); backdrop-filter: blur(var(--vk-blur-xs)); }
|
|
367
|
+
[data-alert-dialog-blur="8"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="8"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-sm)); backdrop-filter: blur(var(--vk-blur-sm)); }
|
|
368
|
+
[data-alert-dialog-blur="12"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="12"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-md)); backdrop-filter: blur(var(--vk-blur-md)); }
|
|
369
|
+
[data-alert-dialog-blur="24"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="24"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-lg)); backdrop-filter: blur(var(--vk-blur-lg)); }
|
|
370
|
+
.o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 4); box-sizing: border-box; display: grid; place-items: center; padding: var(--alert-margin); overflow-y: auto; outline: none; }
|
|
371
|
+
[data-alert-dialog-margin="8"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 2); }
|
|
372
|
+
[data-alert-dialog-margin="12"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 3); }
|
|
373
|
+
[data-alert-dialog-margin="24"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 6); }
|
|
374
|
+
[data-alert-dialog-margin="32"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 8); }
|
|
375
|
+
|
|
376
|
+
/* ── Its panel: on the overlay's ground, one width on a computer, the phone's width less its margins ─────────────────────────────── */
|
|
377
|
+
.o-alert-dialog {
|
|
378
|
+
--alert-corners: var(--vk-radius-2xl); --alert-padding: calc(var(--vk-spacing) * 6);
|
|
379
|
+
box-sizing: border-box; width: 100%; max-width: var(--vk-container-sm); min-width: 0; border: var(--vk-border-width) solid var(--vk-border-subtle); border-radius: var(--alert-corners);
|
|
380
|
+
background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); color: var(--vk-fg); outline: none;
|
|
381
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out);
|
|
382
|
+
}
|
|
383
|
+
.o-alert-dialog[data-screen="phone"] { max-width: none; }
|
|
384
|
+
/* Its shadow, each screen's own. */
|
|
385
|
+
[data-alert-dialog-shadow="none"] .o-alert-dialog[data-screen="computer"], [data-alert-dialog-shadowphone="none"] .o-alert-dialog[data-screen="phone"] { box-shadow: none; }
|
|
386
|
+
[data-alert-dialog-shadow="lg"] .o-alert-dialog[data-screen="computer"], [data-alert-dialog-shadowphone="lg"] .o-alert-dialog[data-screen="phone"] { box-shadow: var(--vk-shadow-lg); }
|
|
387
|
+
[data-alert-dialog-shadow="xl"] .o-alert-dialog[data-screen="computer"], [data-alert-dialog-shadowphone="xl"] .o-alert-dialog[data-screen="phone"] { box-shadow: var(--vk-shadow-xl); }
|
|
388
|
+
.o-alert-dialog:is([data-starting-style], [data-ending-style]) { opacity: 0; scale: var(--vk-push-scale); }
|
|
389
|
+
.o-alert-dialog[data-ending-style] { transition-duration: var(--vk-duration-fast); transition-timing-function: var(--vk-ease-in); }
|
|
390
|
+
[data-alert-dialog-corners="lg"] .o-alert-dialog { --alert-corners: var(--vk-radius-lg); }
|
|
391
|
+
[data-alert-dialog-corners="xl"] .o-alert-dialog { --alert-corners: var(--vk-radius-xl); }
|
|
392
|
+
[data-alert-dialog-corners="3xl"] .o-alert-dialog { --alert-corners: var(--vk-radius-3xl); }
|
|
393
|
+
.o-alert-cut { border-radius: inherit; background-color: inherit; }
|
|
394
|
+
|
|
395
|
+
/* ── How far the Alert's words stand from its panel's edge, which the Alert reads (alert.css) ─────────────────────────────────────── */
|
|
396
|
+
[data-alert-dialog-padding="16"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 4); }
|
|
397
|
+
[data-alert-dialog-padding="20"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 5); }
|
|
398
|
+
[data-alert-dialog-padding="28"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 7); }
|
|
399
|
+
|
|
400
|
+
/* ── The X, in its corner, on the phone only, beside the Alert in its panel or its Sheet: Glass when the phone header is Glass, or a
|
|
401
|
+
quiet Button ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
402
|
+
.o-alert-held { position: relative; min-width: 0; }
|
|
403
|
+
.o-alert-x { display: none; }
|
|
404
|
+
[data-alert-dialog-close="shown"] .o-alert-x { position: absolute; top: calc(var(--vk-spacing) * 3); right: calc(var(--vk-spacing) * 3); display: grid; }
|
|
405
|
+
[data-alert-dialog-close="shown"] .o-alert-held[data-shell="sheet"] .o-alert-x { top: 0; right: 0; }
|
|
406
|
+
[data-alert-dialog-close="shown"] .o-alert-held[data-screen="phone"] .o-alert-title { padding-right: calc(var(--vk-spacing) * 11); }
|
|
407
|
+
.o-alert-x .o-alert-x-glass { display: none; }
|
|
408
|
+
/* Glass unless the phone's surface is Flat, as ViewKit's phone header and Sheet are where nothing is picked. */
|
|
409
|
+
.o-alert-held[data-screen="phone"]:not([data-phone-header-surface="flat"] *) .o-alert-x .o-alert-x-glass { display: grid; }
|
|
410
|
+
.o-alert-held[data-screen="phone"]:not([data-phone-header-surface="flat"] *) .o-alert-x .o-alert-x-plain { display: none; }
|
|
411
|
+
|
|
412
|
+
/* ── Its corners smooth, the default (what nothing set draws), unless a frame picks Round: the smooth outline (smooth.css), Apple's curve as measured, so every browser that knows shape() shows it; one that doesn't
|
|
413
|
+
keeps the corners above. The panel keeps its shadow, which a cut would take with it, so .o-alert-cut inside it is cut instead ───── */
|
|
414
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
415
|
+
.o-alert-dialog:not([data-alert-dialog-smoothing="round"] *) { border-color: transparent; background-color: transparent; background-clip: padding-box; }
|
|
416
|
+
.o-alert-cut:not([data-alert-dialog-smoothing="round"] *) {
|
|
417
|
+
--alert-c: var(--alert-corners);
|
|
418
|
+
background-color: var(--vk-overlay);
|
|
419
|
+
--smooth-t: var(--alert-c); clip-path: shape(var(--smooth-outline));
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/* Less motion: a fade, no scale. */
|
|
424
|
+
@media (prefers-reduced-motion: reduce) {
|
|
425
|
+
.o-alert-dialog { transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
426
|
+
.o-alert-dialog:is([data-starting-style], [data-ending-style]) { scale: 1; }
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/* ── What it says ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
430
|
+
.o-alert-body { position: relative; display: grid; min-width: 0; color: var(--vk-fg); }
|
|
431
|
+
.o-alert-body[data-shell="panel"] { padding: var(--alert-padding, calc(var(--vk-spacing) * 6)); }
|
|
432
|
+
.o-alert-body[data-shell="sheet"] { padding: calc(var(--vk-spacing) * 2); }
|
|
433
|
+
.o-alert-title { margin: 0; font-size: var(--vk-font-size-lg); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); font-weight: var(--vk-font-weight-semibold); text-wrap: balance; overflow-wrap: anywhere; }
|
|
434
|
+
.o-alert-line { margin: calc(var(--vk-spacing) * 1) 0 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); color: var(--vk-fg-subtle); text-wrap: pretty; }
|
|
435
|
+
.o-alert-line.o-alert-wrong { color: var(--vk-danger); }
|
|
436
|
+
.o-alert-body[data-screen="phone"] .o-alert-line { font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
437
|
+
|
|
438
|
+
/* ── Its buttons: at the end on a computer unless they fill its foot, as they always do on the phone. A foot that fills stands 12 from a
|
|
439
|
+
panel's edge, so a 24 corner and a 12 button nest, and the way out stands on the overlay's card ────────────────────────────────── */
|
|
440
|
+
.o-alert-foot { display: flex; justify-content: flex-end; gap: calc(var(--vk-spacing) * 2); margin-top: calc(var(--vk-spacing) * 5); }
|
|
441
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
442
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-foot > .o-button { width: 100%; padding-inline: 0; }
|
|
443
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"])[data-shell="panel"] { padding-bottom: calc(var(--vk-spacing) * 3); }
|
|
444
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"])[data-shell="panel"] .o-alert-foot { margin-inline: calc(var(--vk-spacing) * 3 - var(--alert-padding, calc(var(--vk-spacing) * 6))); }
|
|
445
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-cancel:not(:disabled) { border-color: transparent; background-color: var(--vk-overlay-card); }
|
|
446
|
+
/* A hover only on a screen with a pointer (iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
|
|
447
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-cancel:active:not(:disabled) { border-color: transparent; background-color: var(--vk-overlay-card-pressed); }
|
|
448
|
+
@media (hover: hover) { :is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-cancel:hover:not(:disabled) { border-color: transparent; background-color: var(--vk-overlay-card-pressed); } }
|
|
449
|
+
[data-alert-size="32"] .o-alert-body[data-screen="computer"] .o-alert-foot > .o-button { height: calc(var(--vk-spacing) * 8); --button-side: calc(var(--vk-spacing) * 8); padding-inline: calc(var(--vk-spacing) * 3); }
|
|
450
|
+
[data-alert-size="44"] .o-alert-body[data-screen="computer"] .o-alert-foot > .o-button { height: calc(var(--vk-spacing) * 11); --button-side: calc(var(--vk-spacing) * 11); padding-inline: calc(var(--vk-spacing) * 5); font-size: var(--vk-font-size-base); }
|
|
451
|
+
[data-alert-pair="stacked"] .o-alert-body[data-screen="phone"] .o-alert-foot { grid-template-columns: minmax(0, 1fr); }
|
|
452
|
+
[data-alert-pair="stacked"] .o-alert-body[data-screen="phone"] .o-alert-foot > .o-alert-cancel { order: 1; }
|
|
453
|
+
|
|
454
|
+
/* ── Its mark: round, in its action's colour, its words centred under it ─────────────────────────────────────────────────────────── */
|
|
455
|
+
.o-alert-mark { display: none; }
|
|
456
|
+
[data-alert-mark="shown"] .o-alert-mark { display: grid; place-items: center; justify-self: center; width: calc(var(--vk-spacing) * 12); height: calc(var(--vk-spacing) * 12); margin-bottom: calc(var(--vk-spacing) * 3); border-radius: var(--vk-radius-full); background-color: var(--vk-brand-subtler); color: var(--vk-fg-accent); }
|
|
457
|
+
[data-alert-mark="shown"] .o-alert-body[data-screen="phone"] .o-alert-mark { width: calc(var(--vk-spacing) * 14); height: calc(var(--vk-spacing) * 14); margin-bottom: calc(var(--vk-spacing) * 4); }
|
|
458
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="information"] .o-alert-mark { background-color: var(--vk-info-subtler); color: var(--vk-info); }
|
|
459
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="success"] .o-alert-mark { background-color: var(--vk-success-subtler); color: var(--vk-success); }
|
|
460
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="warning"] .o-alert-mark { background-color: var(--vk-warning-subtler); color: var(--vk-warning); }
|
|
461
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="danger"] .o-alert-mark { background-color: var(--vk-danger-subtler); color: var(--vk-danger); }
|
|
462
|
+
.o-alert-mark > svg { width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); }
|
|
463
|
+
[data-alert-mark="shown"] :is(.o-alert-title, .o-alert-line) { text-align: center; }
|
|
464
|
+
|
|
355
465
|
/* ── A person: a circle of their initials on their tone, 32px ──────────────────────────────────────── */
|
|
356
466
|
.o-avatar {
|
|
357
467
|
flex: none; display: inline-grid; place-items: center; box-sizing: border-box; overflow: hidden;
|
|
@@ -1129,6 +1239,78 @@
|
|
|
1129
1239
|
|
|
1130
1240
|
@media (prefers-reduced-motion: reduce) { .o-check-box, .o-check-tick, .o-check-row, .o-check-cut::before, .o-check-cut::after { transition: none; } }
|
|
1131
1241
|
|
|
1242
|
+
/* ── The curve everything of it moves on: ease-out, or under Curve › Sharp ease-out-sharp ──────────── */
|
|
1243
|
+
[data-collapsible-curve="sharp"] :is(.o-collapsible-trigger, .o-collapsible-panel) { --o-collapsible-ease: var(--vk-ease-out-sharp); }
|
|
1244
|
+
|
|
1245
|
+
/* ── The trigger, plain (its look belongs to the place it stands in, and none wears a ground under the pointer): a chevron
|
|
1246
|
+
before its name, text-sm at medium weight, 32 high, 44 on a phone, where a row you press is a 44px target. Under the pointer its chevron takes the text's colour; its focus
|
|
1247
|
+
ringed. The chevron turns down while the part is open, on the part's curve and in a short part's own times:
|
|
1248
|
+
duration-base opening, duration-fast closing ────────────────────────────────────────────────────────────────── */
|
|
1249
|
+
.o-collapsible-trigger {
|
|
1250
|
+
--collapsible-trigger-h: calc(var(--vk-spacing) * 8);
|
|
1251
|
+
display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); box-sizing: border-box;
|
|
1252
|
+
min-height: var(--collapsible-trigger-h); margin: 0; padding: 0;
|
|
1253
|
+
border: 0; border-radius: var(--vk-radius-sm); background-color: transparent;
|
|
1254
|
+
color: var(--vk-fg); font: inherit; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm));
|
|
1255
|
+
font-weight: var(--vk-font-weight-medium); text-align: left; cursor: pointer; outline: none; user-select: none;
|
|
1256
|
+
-webkit-tap-highlight-color: transparent;
|
|
1257
|
+
}
|
|
1258
|
+
.o-collapsible-trigger:where([data-vk-phone], [data-vk-phone] *) { --collapsible-trigger-h: calc(var(--vk-spacing) * 11); }
|
|
1259
|
+
.o-collapsible-trigger:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
1260
|
+
.o-collapsible-trigger[data-disabled] { color: var(--vk-fg-disabled); cursor: not-allowed; }
|
|
1261
|
+
.o-collapsible-chevron {
|
|
1262
|
+
flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4);
|
|
1263
|
+
fill: none; stroke: var(--vk-fg-subtle); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
|
|
1264
|
+
transition: rotate var(--vk-duration-fast) var(--o-collapsible-ease, var(--vk-ease-out)), stroke var(--vk-duration-fast) var(--vk-ease-out);
|
|
1265
|
+
}
|
|
1266
|
+
.o-collapsible-trigger[data-panel-open] .o-collapsible-chevron { rotate: 90deg; transition-duration: var(--vk-duration-base), var(--vk-duration-fast); }
|
|
1267
|
+
/* A hover only on a screen with a pointer. */
|
|
1268
|
+
@media (hover: hover) { .o-collapsible-trigger:not([data-disabled]):hover .o-collapsible-chevron { stroke: var(--vk-fg); } }
|
|
1269
|
+
.o-collapsible-trigger[data-disabled] .o-collapsible-chevron { stroke: var(--vk-fg-disabled); }
|
|
1270
|
+
|
|
1271
|
+
/* ── The part: the box that crops it while its height moves, from nothing to what it holds. It crops without
|
|
1272
|
+
scrolling (clip, never hidden), so what sticks inside it, a grid's frozen columns, still
|
|
1273
|
+
sticks to the scroller beyond it. Both ways it eases out: it answers the press at once and settles, as
|
|
1274
|
+
shadcn's and Base UI's own do. Its time follows its height, between the motion names: opening from duration-base
|
|
1275
|
+
to duration-slow, closing from duration-fast to duration-base, the longest reached at 600px tall (spacing × 150),
|
|
1276
|
+
so a short part moves as it always did and a tall one no longer snaps. The height is Base UI's, read as a length
|
|
1277
|
+
(--o-collapsible-h, registered at the file's end: at rest Base UI says auto, which reads as none); how far along
|
|
1278
|
+
that 600px it stands is --o-collapsible-part, 0 to 1. A browser that can't divide one length by another keeps the
|
|
1279
|
+
two plain times. An app's own time (durationMs) sets --o-collapsible-time for both ──────────────────────────── */
|
|
1280
|
+
.o-collapsible-panel {
|
|
1281
|
+
--o-collapsible-open: var(--vk-duration-base); --o-collapsible-close: var(--vk-duration-fast);
|
|
1282
|
+
box-sizing: border-box; overflow: clip; height: var(--collapsible-panel-height);
|
|
1283
|
+
transition: height var(--o-collapsible-time, var(--o-collapsible-open)) var(--o-collapsible-ease, var(--vk-ease-out));
|
|
1284
|
+
}
|
|
1285
|
+
@supports (width: calc(tan(atan2(1px, 1px)) * 1px)) {
|
|
1286
|
+
.o-collapsible-panel {
|
|
1287
|
+
--o-collapsible-h: var(--collapsible-panel-height);
|
|
1288
|
+
--o-collapsible-part: min(1, tan(atan2(var(--o-collapsible-h), calc(var(--vk-spacing) * 150))));
|
|
1289
|
+
--o-collapsible-open: calc(var(--vk-duration-base) + (var(--vk-duration-slow) - var(--vk-duration-base)) * var(--o-collapsible-part));
|
|
1290
|
+
--o-collapsible-close: calc(var(--vk-duration-fast) + (var(--vk-duration-base) - var(--vk-duration-fast)) * var(--o-collapsible-part));
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
.o-collapsible-panel[data-ending-style] { transition-duration: var(--o-collapsible-time, var(--o-collapsible-close)); }
|
|
1294
|
+
.o-collapsible-panel:is([data-starting-style], [data-ending-style]) { height: 0; }
|
|
1295
|
+
|
|
1296
|
+
/* ── Content: how what it holds comes and goes. Fades, the default (what nothing set draws), unless a frame picks Stands still, which draws nothing here (the box
|
|
1297
|
+
crops it as it moves), or Slides out. Fades: it comes in with the height, in the height's own time and on its curve, and goes in
|
|
1298
|
+
half the closing time, so the moving edge passes over nothing and never cuts a line of text. Slides out: it is
|
|
1299
|
+
anchored to the part's lower edge, so it comes out from under its trigger and goes back under it. The part's
|
|
1300
|
+
times reach what it holds as the variables above, which it inherits ─────────────────────────────────────────── */
|
|
1301
|
+
.o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { transition: opacity var(--o-collapsible-time, var(--o-collapsible-open)) var(--o-collapsible-ease, var(--vk-ease-out)); }
|
|
1302
|
+
.o-collapsible-panel[data-ending-style] > .o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { transition-duration: calc(var(--o-collapsible-time, var(--o-collapsible-close)) * 0.5); }
|
|
1303
|
+
.o-collapsible-panel:is([data-starting-style], [data-ending-style]) > .o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { opacity: 0; }
|
|
1304
|
+
[data-collapsible-content="slide"] .o-collapsible-panel:not([hidden]) { display: flex; flex-direction: column; justify-content: flex-end; }
|
|
1305
|
+
[data-collapsible-content="slide"] .o-collapsible-body { flex: none; }
|
|
1306
|
+
|
|
1307
|
+
/* Under reduced motion it opens and closes at once, whatever time an app gave it, and what it holds with it, framed or not: the
|
|
1308
|
+
fade is the default with no frame, so these match every body, at the fade rules' own weight, later. */
|
|
1309
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1310
|
+
.o-collapsible-panel, .o-collapsible-panel[data-ending-style], .o-collapsible-chevron, .o-collapsible-trigger[data-panel-open] .o-collapsible-chevron,
|
|
1311
|
+
:root .o-collapsible-body, :root .o-collapsible-panel[data-ending-style] > .o-collapsible-body { transition: none; }
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1132
1314
|
.o-compound-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1133
1315
|
.o-compound-editor:focus { outline: none; }
|
|
1134
1316
|
/* Its glyphs 16 square, as built, at their old weight; the own marks inside it (the Select's chevron, the Number field's
|
|
@@ -1461,6 +1643,114 @@ button.o-field-row { cursor: pointer; }
|
|
|
1461
1643
|
background-position: calc(var(--vk-spacing) * 4) 0; background-repeat: no-repeat; box-shadow: var(--field-rows-line-shadow, none);
|
|
1462
1644
|
}
|
|
1463
1645
|
.o-field-row-label { display: var(--field-rows-label, block); flex: none; width: calc(var(--vk-spacing) * 26); color: var(--vk-fg-subtle); }
|
|
1646
|
+
|
|
1647
|
+
.o-filter-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1648
|
+
.o-filter-editor:focus { outline: none; }
|
|
1649
|
+
.o-filter-editor-rules { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1650
|
+
.o-filter-editor-item { display: flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1651
|
+
.o-filter-editor-where, .o-filter-editor-joined {
|
|
1652
|
+
display: inline-flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box;
|
|
1653
|
+
height: calc(var(--vk-spacing) * 8); color: var(--vk-fg-subtle); white-space: nowrap;
|
|
1654
|
+
}
|
|
1655
|
+
.o-filter-editor-where { border: var(--vk-border-width) dashed var(--vk-border-input); border-radius: var(--vk-radius-lg); }
|
|
1656
|
+
.o-filter-editor-join { flex: none; }
|
|
1657
|
+
.o-filter-editor-rule { display: flex; flex: 1; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1658
|
+
.o-filter-editor-boxes { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1659
|
+
.o-filter-editor-field, .o-filter-editor-how, .o-filter-editor-value { position: relative; flex: none; min-width: 0; }
|
|
1660
|
+
.o-filter-editor-field > .o-select, .o-filter-editor-how > .o-select, .o-filter-editor-value > .o-select, .o-filter-editor-date > .o-select { width: 100%; }
|
|
1661
|
+
.o-filter-editor-date { width: 100%; }
|
|
1662
|
+
/* Several chosen stay on the box's one line, the last cut at its end, as a cell's are. */
|
|
1663
|
+
.o-filter-editor-value .o-options { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
|
|
1664
|
+
.o-filter-editor-more { flex: none; margin-left: auto; }
|
|
1665
|
+
/* A range's From and To (Mihai, 22 Nov 2026): two Number fields sharing the value's box, an en dash between, as ViewKit draws them. */
|
|
1666
|
+
.o-filter-editor-pair { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1667
|
+
.o-filter-editor-pair > [data-kit="number-field"] { flex: 1 1 0; min-width: 0; }
|
|
1668
|
+
.o-filter-editor-dash { flex: none; color: var(--vk-fg-subtle); }
|
|
1669
|
+
/* A sample field's mark the page's own samples draw (samples.ts), as the sort editor's samples draw theirs. */
|
|
1670
|
+
.o-filter-editor-mark { display: inline-flex; flex: none; align-items: center; color: var(--vk-fg-subtle); }
|
|
1671
|
+
.o-filter-editor-mark svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
1672
|
+
/* A group, in every form: a faint well, Attio's (Mihai's pick, 20 Nov 2026; KIT-818): the sunken ground, a hairline edge at
|
|
1673
|
+
radius-xl; inside it the fields on the panel's own ground, as they stand outside it, and Delete group the quiet Button as it is.
|
|
1674
|
+
Each form gives it only its padding. */
|
|
1675
|
+
.o-filter-editor-group {
|
|
1676
|
+
display: flex; flex: 1; flex-direction: column; gap: calc(var(--vk-spacing) * 2); min-width: 0;
|
|
1677
|
+
border: var(--vk-border-width) solid var(--vk-border); border-radius: var(--vk-radius-xl); background-color: var(--vk-sunken);
|
|
1678
|
+
}
|
|
1679
|
+
/* A field's own ground is none at rest, so the ground behind it shows: in a group the panel's is painted under it, its own over
|
|
1680
|
+
that, so a filled field, its hover and its focus keep theirs. A field inside a field (a group's own Input) is left to its group.
|
|
1681
|
+
No token is re-pointed here: no component declares one. */
|
|
1682
|
+
.o-filter-editor-group .o-input:not(.o-input *) {
|
|
1683
|
+
background-image: linear-gradient(var(--input-ground), var(--input-ground)); background-color: var(--vk-overlay);
|
|
1684
|
+
}
|
|
1685
|
+
.o-filter-editor-foot { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); }
|
|
1686
|
+
.o-filter-editor-clear, .o-filter-editor-delete { margin-left: auto; }
|
|
1687
|
+
|
|
1688
|
+
/* ── On a computer: the rules in their columns, a group its well, then the foot ─────────────────────────────────────── */
|
|
1689
|
+
/* One width, 688, Attio's panel's, whatever its rows hold: only its boxes follow what they hold, and room is left before ⋮ (Mihai, 17 Nov 2026). */
|
|
1690
|
+
.o-filter-editor[data-filter-form="computer"] { width: calc(var(--vk-spacing) * 172); max-width: 100%; gap: calc(var(--vk-spacing) * 3); }
|
|
1691
|
+
.o-filter-editor[data-filter-form="computer"][data-filter-fields] { width: auto; }
|
|
1692
|
+
[data-filter-form="computer"] .o-filter-editor-where, [data-filter-form="computer"] .o-filter-editor-joined,
|
|
1693
|
+
[data-filter-form="computer"] .o-filter-editor-join { width: calc(var(--vk-spacing) * 18); }
|
|
1694
|
+
/* Each box as wide as what it holds (Attio's; Mihai, 17 Nov 2026): a Select's its mark, words and arrow, never past 240, a longer
|
|
1695
|
+
name then ending in "…" (the Select's own words cut); a typed value 208, a date's 160. Where the Popover is narrower than the
|
|
1696
|
+
editor the field's and the value's give way, to 80 at least; how it compares, a few words, keeps its own. */
|
|
1697
|
+
[data-filter-form="computer"] .o-filter-editor-boxes { flex: 1 1 auto; }
|
|
1698
|
+
[data-filter-form="computer"] :is(.o-filter-editor-field, .o-filter-editor-value) { flex: 0 1 auto; min-width: calc(var(--vk-spacing) * 20); }
|
|
1699
|
+
[data-filter-form="computer"] :is(.o-filter-editor-field, .o-filter-editor-how, .o-filter-editor-value) { max-width: calc(var(--vk-spacing) * 60); }
|
|
1700
|
+
[data-filter-form="computer"] .o-filter-editor-value:is([data-value-box="typed"], [data-value-box="pair"]) { width: calc(var(--vk-spacing) * 52); }
|
|
1701
|
+
[data-filter-form="computer"] .o-filter-editor-value[data-value-box="date"] { width: calc(var(--vk-spacing) * 40); }
|
|
1702
|
+
[data-filter-form="computer"] .o-filter-editor-group { padding: calc(var(--vk-spacing) * 2.5); }
|
|
1703
|
+
[data-filter-form="computer"] .o-filter-editor-group > .o-filter-editor-foot { padding-top: var(--vk-spacing); }
|
|
1704
|
+
|
|
1705
|
+
/* A list a page shows standing open: under its box, over the rules, as wide as the Select's list asked for its rows (select.css). */
|
|
1706
|
+
.o-filter-editor .o-filter-editor-shown[data-filter-shown] {
|
|
1707
|
+
position: absolute; z-index: var(--vk-layer-popup); top: calc(100% + var(--vk-spacing)); left: 0; display: flex; flex-direction: column;
|
|
1708
|
+
width: max-content; min-width: max(100%, calc(var(--vk-spacing) * 48)); max-width: calc(var(--vk-spacing) * 72);
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/* ── On a phone, and in the narrow form: each rule its lead over its boxes, a line between rules; a group its well ─────── */
|
|
1712
|
+
.o-filter-editor[data-filter-form="phone"] { gap: calc(var(--vk-spacing) * 4); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
1713
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-rules { gap: 0; }
|
|
1714
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-item {
|
|
1715
|
+
flex-direction: column; gap: calc(var(--vk-spacing) * 2.5); padding: calc(var(--vk-spacing) * 3.5) 0;
|
|
1716
|
+
border-bottom: var(--vk-border-width) solid var(--vk-border);
|
|
1717
|
+
}
|
|
1718
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-item:last-child { border-bottom: 0; }
|
|
1719
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-where, .o-filter-editor-joined) { padding: 0 calc(var(--vk-spacing) * 3); font-size: var(--vk-font-size-sm); }
|
|
1720
|
+
/* The join's pressing area, 44 high round its 32, on a phone. */
|
|
1721
|
+
[data-filter-form="phone"] .o-filter-editor-join::before { content: ""; position: absolute; inset: calc(var(--vk-spacing) * -1.5) 0; }
|
|
1722
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-rule { align-items: flex-start; align-self: stretch; }
|
|
1723
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-boxes { flex: 1; flex-wrap: wrap; }
|
|
1724
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-field, .o-filter-editor-how) { max-width: 100%; }
|
|
1725
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-field, .o-filter-editor-how) .o-select-field { width: max-content; max-width: 100%; }
|
|
1726
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-value { flex: 1 1 100%; }
|
|
1727
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-group {
|
|
1728
|
+
align-self: stretch; padding: var(--vk-spacing) calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2);
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
/* The narrow form's own sizes, a computer's: its items 12 apart round their line, a group's room smaller. */
|
|
1732
|
+
.o-filter-editor[data-filter-form="narrow"] { gap: calc(var(--vk-spacing) * 3); }
|
|
1733
|
+
[data-filter-form="narrow"] .o-filter-editor-item { gap: calc(var(--vk-spacing) * 2); padding: calc(var(--vk-spacing) * 3) 0; }
|
|
1734
|
+
[data-filter-form="narrow"] .o-filter-editor-group { padding: var(--vk-spacing) calc(var(--vk-spacing) * 2.5) calc(var(--vk-spacing) * 2); }
|
|
1735
|
+
[data-filter-form="narrow"] .o-filter-editor-none { padding: 0 calc(var(--vk-spacing) * 2); }
|
|
1736
|
+
/* A list a page shows standing open, under its box: never wider than the Pane's column. */
|
|
1737
|
+
.o-filter-editor[data-filter-form="narrow"] .o-filter-editor-shown[data-filter-shown] { min-width: min(100%, calc(var(--vk-spacing) * 48)); max-width: 100%; }
|
|
1738
|
+
[data-filter-form="narrow"] .o-filter-editor-none-line { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); }
|
|
1739
|
+
.o-filter-editor-none { display: grid; gap: calc(var(--vk-spacing) * 0.5); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
1740
|
+
.o-filter-editor-none p { margin: 0; }
|
|
1741
|
+
.o-filter-editor-none-head { font-weight: var(--vk-font-weight-medium); }
|
|
1742
|
+
.o-filter-editor-none-line { color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1743
|
+
.o-filter-editor-acts { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
1744
|
+
.o-filter-editor-acts .o-button { width: 100%; }
|
|
1745
|
+
|
|
1746
|
+
/* ── A rule ViewKit set aside, its field's box dashed in the warning colour (Mihai, 27 Nov 2026, as the sort's set-aside sorts),
|
|
1747
|
+
and a value ViewKit draws: a read-only box as wide as a typed one (VK-720) ─────────────────────────────────────────────── */
|
|
1748
|
+
.o-filter-editor-rule[data-aside] .o-filter-editor-field .o-select-field { --input-edge: var(--vk-border-warning); border-style: dashed; color: var(--vk-warning); }
|
|
1749
|
+
.o-filter-editor-rule[data-aside] .o-filter-editor-field .o-select-placeholder { color: var(--vk-warning); }
|
|
1750
|
+
.o-filter-editor-own { width: 100%; }
|
|
1751
|
+
.o-filter-editor-why { display: flex; width: 100%; }
|
|
1752
|
+
.o-filter-editor-why > .o-select { width: 100%; }
|
|
1753
|
+
[data-filter-form="computer"] .o-filter-editor-value[data-value-box="own"] { width: calc(var(--vk-spacing) * 52); }
|
|
1464
1754
|
.o-flag {
|
|
1465
1755
|
position: relative; flex: none; display: inline-block; overflow: hidden; vertical-align: middle;
|
|
1466
1756
|
width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 3.5); border-radius: var(--vk-radius-xs); background-color: var(--vk-neutral);
|
|
@@ -1570,6 +1860,19 @@ button.o-field-row { cursor: pointer; }
|
|
|
1570
1860
|
> .o-glass-button.o-glass-button-sm.o-glass-button-primary:not(:disabled, [data-disabled]) { padding: calc(var(--vk-spacing) * 0.75); }
|
|
1571
1861
|
}
|
|
1572
1862
|
|
|
1863
|
+
/* ── What it holds, one under another ── */
|
|
1864
|
+
.o-group-editor, .o-group-editor-step { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 1); min-width: 0; }
|
|
1865
|
+
.o-group-editor[data-group-form="phone"], .o-group-editor[data-group-form="phone"] .o-group-editor-step { gap: calc(var(--vk-spacing) * 3); }
|
|
1866
|
+
|
|
1867
|
+
/* ── The groups' heading, Hide all at its end ── */
|
|
1868
|
+
.o-group-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--vk-spacing) * 2); margin-top: calc(var(--vk-spacing) * 1); padding-right: calc(var(--vk-spacing) * 2); }
|
|
1869
|
+
.o-group-editor-heading > .o-list-heading { flex: 1; min-width: 0; }
|
|
1870
|
+
[data-group-form="phone"] .o-group-editor-heading { margin-top: calc(var(--vk-spacing) * 2); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
1871
|
+
[data-group-form="phone"] .o-group-editor-heading > .o-list-heading { padding: 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1872
|
+
|
|
1873
|
+
/* ── Group by's fields, the Picker standing in its place ── */
|
|
1874
|
+
.o-group-editor-fields { display: flex; flex-direction: column; min-width: 0; }
|
|
1875
|
+
|
|
1573
1876
|
/* ── Its options, from the nearest frame: its edge, its corners, its ground ───────────────────────────────────────────── */
|
|
1574
1877
|
[data-inline-input-edge="line"] { --inline-input-edge: var(--vk-border-width); --inline-input-ring: 0px; }
|
|
1575
1878
|
[data-inline-input-edge="ring"] { --inline-input-edge: 0px; --inline-input-ring: var(--vk-focus-width); }
|
|
@@ -2116,7 +2419,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2116
2419
|
background-image: linear-gradient(to bottom, transparent, var(--vk-overlay) calc(var(--vk-spacing) * 8));
|
|
2117
2420
|
}
|
|
2118
2421
|
.o-links-editor-pill { flex: 1; }
|
|
2119
|
-
/* A link's fields,
|
|
2422
|
+
/* A link's fields, a step of the phone's Sheet: a field's words at its row's end; a switch at its end; Unlink its own card, in red. */
|
|
2120
2423
|
.o-links-editor-fields .o-links-editor-open-value { flex: 1; }
|
|
2121
2424
|
.o-links-editor-switch { flex: none; margin-left: auto; }
|
|
2122
2425
|
.o-links-editor-fields-foot { margin-top: calc(var(--vk-spacing) * 6); }
|
|
@@ -2554,6 +2857,207 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2554
2857
|
.o-button.o-menu-dots:is([data-popup-open], [data-force="hover"], [data-force="open"]) { --button-ground: var(--vk-neutral); color: var(--vk-fg); }
|
|
2555
2858
|
@media (hover: hover) { .o-button.o-menu-dots:hover { --button-ground: var(--vk-neutral); color: var(--vk-fg); } }
|
|
2556
2859
|
|
|
2860
|
+
/* ── What's behind it, and where it stands: in the middle of the screen, under any popup but the Popover it opens from ──────────── */
|
|
2861
|
+
.o-modal-backdrop, .o-modal-viewport { position: fixed; inset: 0; z-index: var(--vk-layer-drawer); }
|
|
2862
|
+
/* Opened from inside a Popover, at the popups' layer: over the Popover, added before it, and under what opens from it. */
|
|
2863
|
+
.o-modal-backdrop[data-over-popup], .o-modal-viewport[data-over-popup] { z-index: var(--vk-layer-popup); }
|
|
2864
|
+
.o-modal-backdrop { background-color: var(--vk-backdrop-modal-light); transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
2865
|
+
.o-modal-backdrop:is([data-starting-style], [data-ending-style]) { opacity: 0; }
|
|
2866
|
+
[data-modal-strength="medium"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-medium); }
|
|
2867
|
+
[data-modal-strength="deep"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-deep); }
|
|
2868
|
+
[data-modal-behind="veil"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-light); }
|
|
2869
|
+
[data-modal-behind="veil"][data-modal-strength="medium"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-medium); }
|
|
2870
|
+
[data-modal-behind="veil"][data-modal-strength="deep"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-deep); }
|
|
2871
|
+
/* No blur at all at none, since blur(0) still builds a backdrop root. */
|
|
2872
|
+
[data-modal-blur="4"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-xs)); backdrop-filter: blur(var(--vk-blur-xs)); }
|
|
2873
|
+
[data-modal-blur="8"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-sm)); backdrop-filter: blur(var(--vk-blur-sm)); }
|
|
2874
|
+
[data-modal-blur="12"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-md)); backdrop-filter: blur(var(--vk-blur-md)); }
|
|
2875
|
+
[data-modal-blur="24"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-lg)); backdrop-filter: blur(var(--vk-blur-lg)); }
|
|
2876
|
+
/* It keeps 48 from the screen's edges; a screen drawn on a page sets --modal-room to keep less. */
|
|
2877
|
+
.o-modal-viewport { box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: var(--modal-room, calc(var(--vk-spacing) * 12)); overflow-y: auto; outline: none; }
|
|
2878
|
+
|
|
2879
|
+
/* ── The shell: on the overlay's ground, as wide as it is handed, never taller than the screen ───────────────────────────────────── */
|
|
2880
|
+
.o-modal {
|
|
2881
|
+
--modal-corners: var(--vk-radius-xl); --modal-pad: calc(var(--vk-spacing) * 5); --modal-width: var(--vk-container-2xl);
|
|
2882
|
+
box-sizing: border-box; position: relative; display: flex; flex-direction: column; width: 100%; max-width: var(--modal-width); max-height: 100%; min-width: 0;
|
|
2883
|
+
border-radius: var(--modal-corners); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); color: var(--vk-fg); outline: none;
|
|
2884
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out);
|
|
2885
|
+
}
|
|
2886
|
+
.o-modal[data-width="sm"] { --modal-width: var(--vk-container-lg); }
|
|
2887
|
+
.o-modal[data-width="lg"] { --modal-width: var(--vk-container-4xl); }
|
|
2888
|
+
.o-modal[data-width="xl"] { --modal-width: var(--vk-container-5xl); }
|
|
2889
|
+
.o-modal:is([data-starting-style], [data-ending-style]) { opacity: 0; scale: var(--vk-push-scale); }
|
|
2890
|
+
.o-modal[data-ending-style] { transition-duration: var(--vk-duration-fast); transition-timing-function: var(--vk-ease-in); }
|
|
2891
|
+
/* An Alert Dialog over it steps it back. */
|
|
2892
|
+
.o-modal[data-nested-dialog-open] { scale: var(--vk-press-scale); }
|
|
2893
|
+
[data-modal-corners="lg"] .o-modal { --modal-corners: var(--vk-radius-lg); }
|
|
2894
|
+
[data-modal-corners="2xl"] .o-modal { --modal-corners: var(--vk-radius-2xl); }
|
|
2895
|
+
[data-modal-padding="16"] .o-modal { --modal-pad: calc(var(--vk-spacing) * 4); }
|
|
2896
|
+
[data-modal-padding="24"] .o-modal { --modal-pad: calc(var(--vk-spacing) * 6); }
|
|
2897
|
+
[data-modal-shadow="none"] .o-modal { box-shadow: none; }
|
|
2898
|
+
[data-modal-shadow="lg"] .o-modal { box-shadow: var(--vk-shadow-lg); }
|
|
2899
|
+
[data-modal-shadow="xl"] .o-modal { box-shadow: var(--vk-shadow-xl); }
|
|
2900
|
+
|
|
2901
|
+
/* What it holds, inside its edge. Ring: no edge of its own, a hairline ring 3 inside it, and what it holds 4 in, so a line under the
|
|
2902
|
+
head runs ring to ring. Outline: one clear edge, and what it holds reaches it. The line is drawn as two shapes, never a border: the
|
|
2903
|
+
line's colour (::before), and the ground just inside it (::after), one line narrower. Each takes its own corner, its inset less, so
|
|
2904
|
+
the line follows the edge's corners exactly, round or smooth. */
|
|
2905
|
+
.o-modal-cut { position: relative; isolation: isolate; box-sizing: border-box; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; max-height: 100%; padding: var(--vk-spacing); border-radius: inherit; background-color: inherit; }
|
|
2906
|
+
.o-modal-cut::before, .o-modal-cut::after { content: ""; position: absolute; z-index: -1; border-radius: var(--modal-c); pointer-events: none; }
|
|
2907
|
+
.o-modal-cut::before { --modal-c: calc(var(--modal-corners) - var(--vk-spacing) * 0.75); inset: calc(var(--vk-spacing) * 0.75); background-color: var(--vk-border-modal-ring); }
|
|
2908
|
+
.o-modal-cut::after { --modal-c: calc(var(--modal-corners) - var(--vk-spacing) * 0.75 - var(--vk-border-width)); inset: calc(var(--vk-spacing) * 0.75 + var(--vk-border-width)); background-color: var(--vk-overlay); }
|
|
2909
|
+
[data-modal-edge="outline"] .o-modal-cut { padding: 0; }
|
|
2910
|
+
[data-modal-edge="outline"] .o-modal-cut::before { --modal-c: var(--modal-corners); inset: 0; background-color: var(--vk-border-modal-edge); }
|
|
2911
|
+
[data-modal-edge="outline"] .o-modal-cut::after { --modal-c: calc(var(--modal-corners) - var(--vk-border-width)); inset: var(--vk-border-width); }
|
|
2912
|
+
|
|
2913
|
+
/* ── Its head: a bar, or standing in its margin; its mark, where it was opened, its title, then Open as a page and the X ─────────── */
|
|
2914
|
+
.o-modal-head { box-sizing: border-box; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); flex: none; min-width: 0; min-height: calc(var(--vk-spacing) * 11); padding: 0 calc(var(--vk-spacing) * 2) 0 var(--modal-pad); }
|
|
2915
|
+
[data-modal-head="margin"] .o-modal-head { min-height: 0; padding: calc(var(--vk-spacing) * 4) calc(var(--vk-spacing) * 3) 0 var(--modal-pad); }
|
|
2916
|
+
[data-modal-lines="shown"] .o-modal-head { border-bottom: var(--vk-border-width) solid var(--vk-border); }
|
|
2917
|
+
/* Its line under the head's height: the head is 11 tall above its line. */
|
|
2918
|
+
[data-modal-lines="shown"]:not([data-modal-head="margin"]) .o-modal-head { min-height: calc(var(--vk-spacing) * 11 + var(--vk-border-width)); }
|
|
2919
|
+
[data-modal-lines="shown"][data-modal-head="margin"] .o-modal-head { padding-bottom: calc(var(--vk-spacing) * 3); }
|
|
2920
|
+
.o-modal-title { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); font-weight: var(--vk-font-weight-medium); }
|
|
2921
|
+
.o-modal-path ~ .o-modal-title { font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
2922
|
+
.o-modal-tools { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); flex: none; margin-left: auto; }
|
|
2923
|
+
.o-modal-mark { display: grid; place-items: center; flex: none; width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); border-radius: var(--vk-radius-sm); background-color: var(--vk-brand); color: var(--vk-fg-on-brand); }
|
|
2924
|
+
.o-modal-mark > svg { width: calc(var(--vk-spacing) * 3.25); height: calc(var(--vk-spacing) * 3.25); }
|
|
2925
|
+
[data-modal-head="margin"] .o-modal-mark { width: calc(var(--vk-spacing) * 4); background-color: transparent; color: var(--vk-fg-subtle); }
|
|
2926
|
+
[data-modal-head="margin"] .o-modal-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
2927
|
+
/* Where it was opened gives way before its title: the path's words shorten first. */
|
|
2928
|
+
.o-modal-path { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); flex: 0 100 auto; min-width: calc(var(--vk-spacing) * 16); color: var(--vk-fg-subtlest); }
|
|
2929
|
+
.o-modal-path > svg { flex: none; width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
|
|
2930
|
+
.o-modal-chip { display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); min-width: 0; height: calc(var(--vk-spacing) * 6.5); padding: 0 calc(var(--vk-spacing) * 2.5) 0 calc(var(--vk-spacing) * 2); border-radius: var(--vk-radius-full); background-color: var(--vk-overlay-card); color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); font-weight: var(--vk-font-weight-medium); white-space: nowrap; }
|
|
2931
|
+
.o-modal-chip > :first-child { flex: none; }
|
|
2932
|
+
.o-modal-chip > svg { width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
|
|
2933
|
+
.o-modal-chip-word { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
2934
|
+
|
|
2935
|
+
/* ── What it holds: it scrolls between a head and a foot that stay ───────────────────────────────────────────────────────────────── */
|
|
2936
|
+
.o-modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: var(--modal-pad); }
|
|
2937
|
+
.o-modal-failed { margin-bottom: calc(var(--vk-spacing) * 4); }
|
|
2938
|
+
|
|
2939
|
+
/* ── Its foot: what stands at its start, then the way out and the action at its end ──────────────────────────────────────────────── */
|
|
2940
|
+
.o-modal-foot { box-sizing: border-box; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); flex: none; min-height: calc(var(--vk-spacing) * 11); padding: 0 calc(var(--vk-spacing) * 2); }
|
|
2941
|
+
[data-modal-head="margin"] .o-modal-foot { min-height: 0; padding: calc(var(--vk-spacing) * 1) calc(var(--vk-spacing) * 4) calc(var(--vk-spacing) * 4); }
|
|
2942
|
+
[data-modal-lines="shown"] .o-modal-foot { border-top: var(--vk-border-width) solid var(--vk-border); }
|
|
2943
|
+
[data-modal-lines="shown"]:not([data-modal-head="margin"]) .o-modal-foot { min-height: calc(var(--vk-spacing) * 11 + var(--vk-border-width)); }
|
|
2944
|
+
[data-modal-lines="shown"][data-modal-head="margin"] .o-modal-foot { padding-top: calc(var(--vk-spacing) * 3); }
|
|
2945
|
+
.o-modal-start { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
2946
|
+
.o-modal-end { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); margin-left: auto; }
|
|
2947
|
+
.o-modal-end > .o-button { height: calc(var(--vk-spacing) * 7); --button-side: calc(var(--vk-spacing) * 7); padding-inline: calc(var(--vk-spacing) * 3); }
|
|
2948
|
+
[data-modal-size="32"] .o-modal-end > .o-button { height: calc(var(--vk-spacing) * 8); --button-side: calc(var(--vk-spacing) * 8); }
|
|
2949
|
+
[data-modal-size="36"] .o-modal-end > .o-button { height: calc(var(--vk-spacing) * 9); --button-side: calc(var(--vk-spacing) * 9); padding-inline: calc(var(--vk-spacing) * 3.5); }
|
|
2950
|
+
[data-modal-buttons="pill"] .o-modal-foot .o-button:not(.o-button-round) { --button-r: var(--vk-radius-full); }
|
|
2951
|
+
|
|
2952
|
+
/* ── Its corners smooth: the smooth outline (smooth.css), Apple's curve as measured, so every browser that knows shape() shows it; one that doesn't
|
|
2953
|
+
keeps the corners above. The Modal keeps its shadow, which a cut would take with it, so .o-modal-cut inside it is cut instead, and
|
|
2954
|
+
the line's two shapes each by the same outline at its own corner, so the ring stays the edge's curve, set inside it ───────────── */
|
|
2955
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
2956
|
+
[data-modal-smoothing="smooth"] .o-modal { background-color: transparent; }
|
|
2957
|
+
[data-modal-smoothing="smooth"] .o-modal-cut { --modal-c: var(--modal-corners); background-color: var(--vk-overlay); }
|
|
2958
|
+
[data-modal-smoothing="smooth"] .o-modal-cut::before, [data-modal-smoothing="smooth"] .o-modal-cut::after { border-radius: 0; }
|
|
2959
|
+
[data-modal-smoothing="smooth"] .o-modal-cut, [data-modal-smoothing="smooth"] .o-modal-cut::before, [data-modal-smoothing="smooth"] .o-modal-cut::after {
|
|
2960
|
+
--smooth-t: var(--modal-c); clip-path: shape(var(--smooth-outline));
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
/* Less motion: a fade, no scale. */
|
|
2965
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2966
|
+
.o-modal { transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
2967
|
+
.o-modal:is([data-starting-style], [data-ending-style], [data-nested-dialog-open]) { scale: 1; }
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
/* ── The notice: its meaning's ground, one step stronger than the palest, so it reads as its colour; no
|
|
2971
|
+
edge (neutral, below, has a hairline); the radius's corners, 10px by 12px; the words in the text colour, never the meaning's ─────── */
|
|
2972
|
+
.o-notice {
|
|
2973
|
+
display: flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2.5); box-sizing: border-box; min-width: 0;
|
|
2974
|
+
padding: calc(var(--vk-spacing) * 2.5) calc(var(--vk-spacing) * 3); border-radius: var(--vk-radius-lg); background-color: var(--notice-ground);
|
|
2975
|
+
color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm));
|
|
2976
|
+
transition: opacity var(--vk-duration-fast) var(--vk-ease-in), translate var(--vk-duration-fast) var(--vk-ease-in);
|
|
2977
|
+
}
|
|
2978
|
+
/* The icon carries the meaning: 16px, level with the first line, 10px before the words. */
|
|
2979
|
+
.o-notice-icon { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); margin-top: calc(var(--vk-spacing) * 0.5); }
|
|
2980
|
+
.o-notice[data-meaning="information"] { --notice-ground: var(--vk-info-subtler); }
|
|
2981
|
+
.o-notice[data-meaning="information"] > .o-notice-icon { color: var(--vk-info); }
|
|
2982
|
+
.o-notice[data-meaning="success"] { --notice-ground: var(--vk-success-subtler); }
|
|
2983
|
+
.o-notice[data-meaning="success"] > .o-notice-icon { color: var(--vk-success); }
|
|
2984
|
+
.o-notice[data-meaning="warning"] { --notice-ground: var(--vk-warning-subtler); }
|
|
2985
|
+
.o-notice[data-meaning="warning"] > .o-notice-icon { color: var(--vk-warning); }
|
|
2986
|
+
.o-notice[data-meaning="danger"] { --notice-ground: var(--vk-danger-subtler); }
|
|
2987
|
+
.o-notice[data-meaning="danger"] > .o-notice-icon { color: var(--vk-danger); }
|
|
2988
|
+
.o-notice-body { flex: 1 1 calc(var(--vk-spacing) * 55); min-width: 0; display: grid; gap: calc(var(--vk-spacing) * 0.5); }
|
|
2989
|
+
.o-notice-body > p { margin: 0; }
|
|
2990
|
+
|
|
2991
|
+
/* ── Neutral: a plain fact with no colour of its own, a quiet well: the page's
|
|
2992
|
+
sunken ground, a hairline edge inside, its icon in the quieter text colour ──────────────────────────────── */
|
|
2993
|
+
.o-notice[data-meaning="neutral"] { --notice-ground: var(--vk-sunken); --notice-edge: var(--vk-border-subtle); box-shadow: inset 0 0 0 var(--vk-border-width) var(--vk-border-subtle); }
|
|
2994
|
+
.o-notice[data-meaning="neutral"] > .o-notice-icon { color: var(--vk-fg-subtle); }
|
|
2995
|
+
/* Its own icon, any 16px icon, in its meaning's colour like the meaning's own. */
|
|
2996
|
+
span.o-notice-icon { display: grid; place-items: center; }
|
|
2997
|
+
span.o-notice-icon > svg { width: 100%; height: 100%; }
|
|
2998
|
+
/* Paragraphs, 8px apart; a link in its sentence underlined in the words' colour, as shadcn's. */
|
|
2999
|
+
.o-notice-text > p { margin: 0; }
|
|
3000
|
+
.o-notice-text > p + p { margin-top: calc(var(--vk-spacing) * 2); }
|
|
3001
|
+
.o-notice-text a {
|
|
3002
|
+
color: inherit; text-decoration: underline; text-decoration-thickness: var(--vk-border-width);
|
|
3003
|
+
text-underline-offset: calc(var(--vk-spacing) * 0.75); text-decoration-color: var(--vk-fg-subtlest);
|
|
3004
|
+
}
|
|
3005
|
+
@media (hover: hover) { .o-notice-text a:hover { text-decoration-color: currentColor; } }
|
|
3006
|
+
|
|
3007
|
+
/* ── With a title: the title in semibold, the sentence under it quieter, 12px by 14px; its actions under
|
|
3008
|
+
the sentence ──────────────────────────────────────────────────────────────────────────────────── */
|
|
3009
|
+
.o-notice.o-notice-titled { gap: calc(var(--vk-spacing) * 3); padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 3.5); }
|
|
3010
|
+
.o-notice-title { font-weight: var(--vk-font-weight-semibold); }
|
|
3011
|
+
.o-notice-titled .o-notice-text { color: var(--vk-fg-subtle); }
|
|
3012
|
+
.o-notice-below { display: flex; gap: calc(var(--vk-spacing) * 1); margin: calc(var(--vk-spacing) * 1.5) 0 0 calc(var(--vk-spacing) * -2.5); }
|
|
3013
|
+
/* A first action that isn't the text kind (an outline) stands with its edge at the sentence's first letter. */
|
|
3014
|
+
.o-notice-below:has(> :first-child:not(.o-button-text)) { margin-left: 0; }
|
|
3015
|
+
|
|
3016
|
+
/* ── Its actions at the end of its line; × puts it away: the Button, quiet, icon only, extra small ──── */
|
|
3017
|
+
.o-notice-acts { flex: none; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); margin: calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -1.5) calc(var(--vk-spacing) * -1) 0; }
|
|
3018
|
+
.o-button.o-notice-x { flex: none; margin: calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -1.5) calc(var(--vk-spacing) * -1) 0; }
|
|
3019
|
+
.o-notice-acts + .o-button.o-notice-x { margin-left: calc(var(--vk-spacing) * -2); }
|
|
3020
|
+
|
|
3021
|
+
/* ── Arrived because of something just done, it fades in; put away or resolved, it fades out ────────── */
|
|
3022
|
+
.o-notice.o-notice-arrived { animation: vk-notice-fade-in var(--vk-duration-base) var(--vk-ease-out); }
|
|
3023
|
+
.o-notice.o-notice-going { opacity: 0; translate: 0 calc(var(--vk-spacing) * -0.5); }
|
|
3024
|
+
|
|
3025
|
+
/* ── On the phone the actions drop under the sentence, lined up with it; × stays at the end of the first
|
|
3026
|
+
line ────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
3027
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *) { flex-wrap: wrap; }
|
|
3028
|
+
.o-notice-body:where([data-vk-phone], [data-vk-phone] *) { flex: 1 1 0; }
|
|
3029
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *) > .o-notice-acts { order: 3; flex-basis: 100%; box-sizing: border-box; margin: calc(var(--vk-spacing) * 0.5) 0 calc(var(--vk-spacing) * -1.5); padding-left: calc(var(--vk-spacing) * 4); }
|
|
3030
|
+
.o-notice-acts:where([data-vk-phone], [data-vk-phone] *) + .o-button.o-notice-x { margin-left: 0; }
|
|
3031
|
+
/* A first action that isn't the text kind stands with its edge at the sentence's first letter: the icon and its gap. */
|
|
3032
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):has(> .o-notice-icon) > .o-notice-acts:has(> :first-child:not(.o-button-text)) { padding-left: calc(var(--vk-spacing) * 6.5); }
|
|
3033
|
+
/* With no icon the sentence starts at the padding: so do the actions, the text kind's words with it. */
|
|
3034
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):not(:has(> .o-notice-icon)) > .o-notice-acts { padding-left: 0; }
|
|
3035
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):not(:has(> .o-notice-icon)) > .o-notice-acts:has(> :first-child.o-button-text) { margin-left: calc(var(--vk-spacing) * -2.5); }
|
|
3036
|
+
|
|
3037
|
+
/* Under reduced motion it just goes. */
|
|
3038
|
+
@media (prefers-reduced-motion: reduce) { .o-notice { transition: none; } .o-notice.o-notice-arrived { animation: none; } }
|
|
3039
|
+
/* ── Its corners smooth: following corner-smoothing, drawn with the smooth outline
|
|
3040
|
+
(ViewKit's smooth.css) in every browser that knows shape(); one that doesn't keeps the corners above. Its round part is fitted to its
|
|
3041
|
+
one line, as a control's is. Its ×, 6px in, rings itself 2px out, so the notice is never clipped: its edge (::before, neutral's
|
|
3042
|
+
hairline, or its ground where it has none) and its ground (::after, a line in, its corner a line smaller) are layers inside it,
|
|
3043
|
+
as the Popover's are. ── */
|
|
3044
|
+
@supports (clip-path: shape(evenodd from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close, move to 0 0, hline to 1px, close)) and (width: calc(tan(atan2(1px, 1px)) * 1px)) {
|
|
3045
|
+
.o-notice {
|
|
3046
|
+
--smooth-amount: var(--vk-corner-smoothing); --notice-side: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm) + var(--vk-spacing) * 5);
|
|
3047
|
+
--notice-fit: min(var(--vk-radius-lg), var(--notice-side) / (2 + 2 * var(--smooth-amount, 0.7)));
|
|
3048
|
+
--smooth-t: var(--notice-fit); --smooth-side: var(--notice-side);
|
|
3049
|
+
position: relative; isolation: isolate; border-radius: var(--notice-fit); background-color: transparent; box-shadow: none;
|
|
3050
|
+
}
|
|
3051
|
+
.o-notice[data-meaning="neutral"] { box-shadow: none; }
|
|
3052
|
+
.o-notice::before, .o-notice::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
|
|
3053
|
+
.o-notice::before { background-color: var(--notice-edge, var(--notice-ground)); clip-path: shape(var(--smooth-outline)); }
|
|
3054
|
+
.o-notice::after {
|
|
3055
|
+
--smooth-t: max(0px, var(--notice-fit) - var(--vk-border-width));
|
|
3056
|
+
inset: var(--vk-border-width); border-radius: calc(var(--notice-fit) - var(--vk-border-width)); background-color: var(--notice-ground); clip-path: shape(var(--smooth-outline));
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
@keyframes vk-notice-fade-in { from { opacity: 0; } }
|
|
3060
|
+
|
|
2557
3061
|
/* ── A number in its cell: Attio's line of the focus colour, Mihai's ring: the kit's Number field in a cell, filling it ── */
|
|
2558
3062
|
.o-number-editor[data-number-form="computer"] { box-sizing: border-box; width: 100%; height: 100%; min-width: 0; color: var(--vk-fg); }
|
|
2559
3063
|
.o-number-editor .o-number-editor-field, .o-number-editor .o-number-editor-field > .o-inline-input-group { height: 100%; }
|
|
@@ -2699,6 +3203,92 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
2699
3203
|
.o-option[data-link]:is(:focus-visible, [data-force="focus"]) { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
2700
3204
|
@media (prefers-reduced-motion: reduce) { .o-option[data-link] { transition: none; } }
|
|
2701
3205
|
|
|
3206
|
+
/* Its portal, in the list's box, takes no room there, whatever the box lays out. */
|
|
3207
|
+
.o-pane-portal { display: contents; }
|
|
3208
|
+
|
|
3209
|
+
/* ── The shell: over the list and under every popup (layer-popup), a Drawer or a Modal opened later standing over it ── */
|
|
3210
|
+
.o-pane {
|
|
3211
|
+
--pane-corners: var(--vk-radius-xl); --pane-shadow: var(--vk-shadow-menu); --pane-edge: var(--vk-border);
|
|
3212
|
+
--pane-gap: calc(var(--vk-spacing) * 2); --pane-pad: calc(var(--vk-spacing) * 2);
|
|
3213
|
+
position: absolute; z-index: var(--vk-layer-drawer); top: var(--pane-gap); right: var(--pane-gap); bottom: var(--pane-gap);
|
|
3214
|
+
box-sizing: border-box; display: flex; flex-direction: column;
|
|
3215
|
+
width: calc(var(--vk-spacing) * 75); max-width: calc(100% - var(--pane-gap) * 2);
|
|
3216
|
+
border-radius: var(--pane-corners); background-color: var(--vk-overlay); box-shadow: var(--pane-shadow); color: var(--vk-fg);
|
|
3217
|
+
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); outline: none;
|
|
3218
|
+
transition: opacity var(--vk-duration-fast) var(--vk-ease-out), translate var(--vk-duration-fast) var(--vk-ease-out);
|
|
3219
|
+
}
|
|
3220
|
+
/* Fitting what it holds: as tall as that, never past a gap over the list's foot. */
|
|
3221
|
+
[data-pane-place="fit"] .o-pane { bottom: auto; max-height: calc(100% - var(--pane-gap) * 2); }
|
|
3222
|
+
|
|
3223
|
+
/* What it holds, inside its edge. The edge is drawn as two shapes, never a border, as the Popover's is: its colour (::before),
|
|
3224
|
+
and the ground just inside it (::after), one line narrower, each with its own corner, so the edge follows the corners
|
|
3225
|
+
exactly, round or smooth. */
|
|
3226
|
+
.o-pane-cut { position: relative; isolation: isolate; box-sizing: border-box; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; padding: var(--pane-pad); border-radius: inherit; }
|
|
3227
|
+
.o-pane-cut::before, .o-pane-cut::after { content: ""; position: absolute; z-index: -1; border-radius: var(--pane-c); pointer-events: none; }
|
|
3228
|
+
.o-pane-cut::before { --pane-c: var(--pane-corners); inset: 0; background-color: var(--pane-edge); }
|
|
3229
|
+
.o-pane-cut::after { --pane-c: calc(var(--pane-corners) - var(--vk-border-width)); inset: var(--vk-border-width); background-color: var(--vk-overlay); }
|
|
3230
|
+
|
|
3231
|
+
/* Its head stays at its top, its body scrolls, its foot stays at its foot under a line across the whole Pane. The body scrolls up and
|
|
3232
|
+
down only: a control's press area standing past its edge (a Switch's, at a row's end) made it scroll sideways, and where
|
|
3233
|
+
scrollbars take room that bar stood at its foot. What it holds is clipped at its sides, where the body clips it anyway, so nothing
|
|
3234
|
+
overhangs it to scroll to. */
|
|
3235
|
+
.o-pane-head { flex: none; }
|
|
3236
|
+
.o-pane-body { flex: 1 1 auto; min-height: 0; overflow: hidden auto; }
|
|
3237
|
+
.o-pane-body > * { overflow-x: clip; }
|
|
3238
|
+
/* What scrolls runs right to the foot's line: the foot has no margin over
|
|
3239
|
+
it, and a body with a foot after it takes the Pane's padding at its end, inside what scrolls, so that room shows only at the scroll's
|
|
3240
|
+
end. */
|
|
3241
|
+
.o-pane-foot { flex: none; margin: 0 calc(var(--pane-pad) * -1) calc(var(--pane-pad) * -1); padding: var(--pane-pad); border-top: var(--vk-border-width) solid var(--pane-edge); }
|
|
3242
|
+
.o-pane-body:has(~ .o-pane-foot) { padding-bottom: var(--pane-pad); }
|
|
3243
|
+
[data-pane-edge="none"] .o-pane-foot { border-top-color: var(--vk-border-subtle); }
|
|
3244
|
+
|
|
3245
|
+
/* Its title, when what stands in it has one: text-sm at medium weight. */
|
|
3246
|
+
.o-pane-title { margin: 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); font-weight: var(--vk-font-weight-medium); color: var(--vk-fg); }
|
|
3247
|
+
|
|
3248
|
+
/* It fades in and moves a step in from the right; it leaves faster than it came. */
|
|
3249
|
+
.o-pane[data-ending-style] { transition-timing-function: var(--vk-ease-in); }
|
|
3250
|
+
.o-pane:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: var(--vk-spacing) 0; }
|
|
3251
|
+
|
|
3252
|
+
/* ── What an app sets once ───────────────────────────────────────────────────────────────────────────────────── */
|
|
3253
|
+
[data-pane-corners="lg"] .o-pane { --pane-corners: var(--vk-radius-lg); }
|
|
3254
|
+
[data-pane-corners="2xl"] .o-pane { --pane-corners: var(--vk-radius-2xl); }
|
|
3255
|
+
[data-pane-shadow="none"] .o-pane { --pane-shadow: none; }
|
|
3256
|
+
[data-pane-shadow="lg"] .o-pane { --pane-shadow: var(--vk-shadow-lg); }
|
|
3257
|
+
[data-pane-shadow="xl"] .o-pane { --pane-shadow: var(--vk-shadow-xl); }
|
|
3258
|
+
[data-pane-edge="subtle"] .o-pane { --pane-edge: var(--vk-border-subtle); }
|
|
3259
|
+
[data-pane-edge="none"] .o-pane { --pane-edge: var(--vk-overlay); }
|
|
3260
|
+
[data-pane-gap="0"] .o-pane { --pane-gap: 0px; }
|
|
3261
|
+
[data-pane-gap="4"] .o-pane { --pane-gap: var(--vk-spacing); }
|
|
3262
|
+
[data-pane-gap="12"] .o-pane { --pane-gap: calc(var(--vk-spacing) * 3); }
|
|
3263
|
+
[data-pane-gap="16"] .o-pane { --pane-gap: calc(var(--vk-spacing) * 4); }
|
|
3264
|
+
[data-pane-padding="0"] .o-pane { --pane-pad: 0px; }
|
|
3265
|
+
[data-pane-padding="4"] .o-pane { --pane-pad: var(--vk-spacing); }
|
|
3266
|
+
[data-pane-padding="12"] .o-pane { --pane-pad: calc(var(--vk-spacing) * 3); }
|
|
3267
|
+
[data-pane-padding="16"] .o-pane { --pane-pad: calc(var(--vk-spacing) * 4); }
|
|
3268
|
+
|
|
3269
|
+
/* ── Its corners smooth: the smooth outline (smooth.css), as the Popover's. A cut would take the shadow with it, so
|
|
3270
|
+
.o-pane-cut inside it is cut instead, and the edge's two shapes each by the same outline. The shadow is cast from a layer under
|
|
3271
|
+
the cut that stands wholly inside the outline: cast by the shell's own round box, whose corner stands up to 0.02 of a
|
|
3272
|
+
radius outside the smooth one, its edge and the cut's met in a light rim round the bend. Its corner a quarter
|
|
3273
|
+
circle of 1.2 radii, which lies inside the smooth curve (from 1.2 radii on, by smooth.css's numbers; a larger one stands further
|
|
3274
|
+
in and lightens the shadow at the corner), and half a line in, so the cut covers its edge everywhere and the shadow runs on from
|
|
3275
|
+
under the edge, as dark as Round's ────── */
|
|
3276
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
3277
|
+
[data-pane-smoothing="smooth"] .o-pane { background-color: transparent; box-shadow: none; }
|
|
3278
|
+
[data-pane-smoothing="smooth"] .o-pane::before {
|
|
3279
|
+
content: ""; position: absolute; z-index: -1; inset: calc(var(--vk-border-width) / 2); border-radius: calc(var(--pane-corners) * 1.2);
|
|
3280
|
+
box-shadow: var(--pane-shadow); pointer-events: none;
|
|
3281
|
+
}
|
|
3282
|
+
[data-pane-smoothing="smooth"] .o-pane-cut { --pane-c: var(--pane-corners); background-color: var(--vk-overlay); }
|
|
3283
|
+
[data-pane-smoothing="smooth"] .o-pane-cut::before, [data-pane-smoothing="smooth"] .o-pane-cut::after { border-radius: 0; }
|
|
3284
|
+
[data-pane-smoothing="smooth"] .o-pane-cut, [data-pane-smoothing="smooth"] .o-pane-cut::before, [data-pane-smoothing="smooth"] .o-pane-cut::after {
|
|
3285
|
+
--smooth-t: var(--pane-c); clip-path: shape(var(--smooth-outline));
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
|
|
3289
|
+
/* Under reduced motion it just appears. */
|
|
3290
|
+
@media (prefers-reduced-motion: reduce) { .o-pane { transition: none; } }
|
|
3291
|
+
|
|
2702
3292
|
/* ── The soft edge: three blurs of what passes under a floating head, each fading out lower down, so the blur is strongest at
|
|
2703
3293
|
the top and melts into the page with no line, and over them the ground it stands on, fading to nothing. What it stands in
|
|
2704
3294
|
gives it its height and, in --soft-edge-ground, its ground. ── */
|
|
@@ -3467,6 +4057,89 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3467
4057
|
.o-sheet-step { animation: none; }
|
|
3468
4058
|
}
|
|
3469
4059
|
|
|
4060
|
+
.o-sort-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
4061
|
+
.o-sort-editor:focus { outline: none; }
|
|
4062
|
+
.o-sort-editor-mark { display: inline-flex; flex: none; align-items: center; color: var(--vk-fg-subtle); }
|
|
4063
|
+
.o-sort-editor-mark svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
4064
|
+
|
|
4065
|
+
/* ── On a computer: the rules ────────────────────────────────────────────────────────────────────────────────────── */
|
|
4066
|
+
.o-sort-editor[data-sort-form="computer"] { width: max-content; max-width: 100%; gap: calc(var(--vk-spacing) * 3); }
|
|
4067
|
+
.o-sort-editor-foot { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); }
|
|
4068
|
+
.o-sort-editor-foot .o-sort-editor-clear { margin-left: auto; }
|
|
4069
|
+
.o-sort-editor-rules { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 2); }
|
|
4070
|
+
.o-sort-editor-rule { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; border-radius: var(--vk-radius-md); }
|
|
4071
|
+
.o-sort-editor-rule[data-lifted] { position: relative; z-index: var(--vk-layer-popup); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
|
|
4072
|
+
.o-sort-editor-rule[data-lifted] .o-sort-editor-grip { cursor: grabbing; }
|
|
4073
|
+
.o-sort-editor-grip { flex: none; touch-action: none; }
|
|
4074
|
+
.o-sort-editor-field, .o-sort-editor-direction { position: relative; flex: none; min-width: 0; }
|
|
4075
|
+
.o-sort-editor-field { width: calc(var(--vk-spacing) * 52); }
|
|
4076
|
+
.o-sort-editor-direction { width: calc(var(--vk-spacing) * 38); }
|
|
4077
|
+
.o-sort-editor-field > .o-select, .o-sort-editor-direction > .o-select { width: 100%; }
|
|
4078
|
+
.o-sort-editor-remove { flex: none; }
|
|
4079
|
+
|
|
4080
|
+
/* Add sort's fields, and in the narrow form a rule's direction, in the Popover under what was pressed: as wide as its rows, never
|
|
4081
|
+
under 192 (the kit's w-fit and min-w-48, written here since an app compiles no utilities of ViewKit's). */
|
|
4082
|
+
.o-popover.o-sort-editor-pop { width: fit-content; min-width: calc(var(--vk-spacing) * 48); }
|
|
4083
|
+
|
|
4084
|
+
/* A list a page shows standing open: under what opens it, over the rules, as the Select's list stands, as wide as its rows, never
|
|
4085
|
+
under 192 nor its box, never past 288 (listWidth, select.css). Scoped to the editor, so it wins over the smooth list's own
|
|
4086
|
+
`position: relative` (list.css), which would stand it in the row and push the row's boxes apart (Mihai, 18 Nov 2026). */
|
|
4087
|
+
.o-sort-editor .o-sort-editor-shown { position: absolute; z-index: var(--vk-layer-popup); top: 100%; left: 0; }
|
|
4088
|
+
.o-sort-editor .o-sort-editor-shown[data-sort-shown="list"] {
|
|
4089
|
+
top: calc(100% + var(--vk-spacing)); display: flex; flex-direction: column;
|
|
4090
|
+
width: max-content; min-width: max(100%, calc(var(--vk-spacing) * 48)); max-width: calc(var(--vk-spacing) * 72);
|
|
4091
|
+
}
|
|
4092
|
+
|
|
4093
|
+
/* ── On a phone: the rules in their card, or what it says with none; Add sort and Clear all ─────────────────────── */
|
|
4094
|
+
.o-sort-editor[data-sort-form="phone"] { gap: calc(var(--vk-spacing) * 3); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
4095
|
+
.o-sort-editor-none { display: grid; gap: calc(var(--vk-spacing) * 0.5); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
4096
|
+
.o-sort-editor-none p { margin: 0; }
|
|
4097
|
+
.o-sort-editor-none-head { font-weight: var(--vk-font-weight-medium); }
|
|
4098
|
+
.o-sort-editor-none-line { color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
4099
|
+
[data-sort-form="narrow"] .o-sort-editor-none-line { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); }
|
|
4100
|
+
.o-sort-editor-card .o-sort-editor-rule { gap: 0; padding-right: calc(var(--vk-spacing) * 1); border-radius: 0; }
|
|
4101
|
+
.o-sort-editor-card .o-sort-editor-rule[data-lifted] { background-color: var(--vk-overlay); }
|
|
4102
|
+
.o-sort-editor-press {
|
|
4103
|
+
display: flex; flex: 1; align-items: center; gap: calc(var(--vk-spacing) * 3); align-self: stretch; min-width: 0; margin: 0; padding: 0;
|
|
4104
|
+
border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent;
|
|
4105
|
+
}
|
|
4106
|
+
.o-sort-editor-press:focus-visible { outline: var(--vk-border-width) solid var(--vk-border-brand); outline-offset: calc(var(--vk-border-width) * -2); }
|
|
4107
|
+
[data-sort-form="phone"] .o-sort-editor-press .o-sort-editor-mark svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
|
|
4108
|
+
.o-sort-editor-words { display: grid; min-width: 0; }
|
|
4109
|
+
.o-sort-editor-name, .o-sort-editor-way { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4110
|
+
.o-sort-editor-way { color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
4111
|
+
[data-sort-form="narrow"] .o-sort-editor-way { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); }
|
|
4112
|
+
.o-sort-editor-more { flex: none; }
|
|
4113
|
+
.o-sort-editor-acts { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
4114
|
+
.o-sort-editor-acts .o-button { width: 100%; }
|
|
4115
|
+
|
|
4116
|
+
/* ── The narrow form: the phone's rows on the Pane's ground at a computer's sizes; Add sort and Clear all at 32 ─────────────── */
|
|
4117
|
+
.o-sort-editor[data-sort-form="narrow"] { gap: calc(var(--vk-spacing) * 3); }
|
|
4118
|
+
[data-sort-form="narrow"] .o-sort-editor-rules { gap: 0; }
|
|
4119
|
+
/* A rule's row is lit whole, ⋮ inside its ground at its end, as the Picker's row (KIT-676, KIT-819): under the pointer, lifted, and
|
|
4120
|
+
while ⋮'s menu is open; a direction's list a page shows standing in the row never lights it. The press keeps its room and its
|
|
4121
|
+
corners, for its focus ring, and has no ground of its own. */
|
|
4122
|
+
[data-sort-form="narrow"] .o-sort-editor-rule { position: relative; gap: var(--vk-spacing); padding-right: var(--vk-spacing); border-radius: var(--vk-radius-md); }
|
|
4123
|
+
[data-sort-form="narrow"] .o-sort-editor-press {
|
|
4124
|
+
min-height: calc(var(--vk-spacing) * 11); padding: var(--vk-spacing) calc(var(--vk-spacing) * 2); gap: calc(var(--vk-spacing) * 2.5); border-radius: var(--vk-radius-md);
|
|
4125
|
+
}
|
|
4126
|
+
[data-sort-form="narrow"] .o-sort-editor-rule:is([data-lifted], :has(.o-sort-editor-more:is([aria-expanded="true"], [data-popup-open]))) { background-color: var(--vk-overlay-hovered); }
|
|
4127
|
+
@media (hover: hover) { [data-sort-form="narrow"] .o-sort-editor-rule:hover:not(:has(.o-sort-editor-shown:hover)) { background-color: var(--vk-overlay-hovered); } }
|
|
4128
|
+
[data-sort-form="narrow"] .o-sort-editor-none { padding: 0 calc(var(--vk-spacing) * 2); }
|
|
4129
|
+
/* A list a page shows standing open, under its rule: never wider than the Pane's column. */
|
|
4130
|
+
.o-sort-editor[data-sort-form="narrow"] .o-sort-editor-shown[data-sort-shown="list"] { min-width: min(100%, calc(var(--vk-spacing) * 48)); max-width: 100%; }
|
|
4131
|
+
|
|
4132
|
+
/* ── A sort set aside (its field deleted or hidden), after the rules (Mihai, 27 Nov 2026) ─────────────────────────────── */
|
|
4133
|
+
/* On a computer an empty place where the grip stands; its field's box dashed in the warning colour, its words too; its
|
|
4134
|
+
direction greyed. On a phone and in the narrow form its why stands under its name in the warning colour. */
|
|
4135
|
+
.o-sort-editor-grip-place { flex: none; width: calc(var(--vk-spacing) * 5); }
|
|
4136
|
+
.o-sort-editor-why { display: flex; width: 100%; }
|
|
4137
|
+
.o-sort-editor-why > .o-select { width: 100%; }
|
|
4138
|
+
/* --input-edge is the Input's own edge colour (input.css), which the Select's box draws its edge with. */
|
|
4139
|
+
.o-sort-editor-aside .o-sort-editor-field .o-select-field { --input-edge: var(--vk-border-warning); border-style: dashed; color: var(--vk-warning); }
|
|
4140
|
+
.o-sort-editor-aside .o-sort-editor-field .o-select-placeholder { color: var(--vk-warning); }
|
|
4141
|
+
.o-sort-editor-aside .o-sort-editor-way { color: var(--vk-warning); }
|
|
4142
|
+
|
|
3470
4143
|
/* ── The arc, as a frame that names a kind other than the tail draws it (nothing picked is the tail, below) ─────────────────────────────────────────────────────────────────────── */
|
|
3471
4144
|
.o-spinner {
|
|
3472
4145
|
--o-spinner-turn: var(--vk-spinner-turn); --o-spinner-breath: var(--vk-spinner-breath); --o-spinner-weight: 1;
|
|
@@ -4033,6 +4706,90 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
4033
4706
|
.o-text-editor .o-text-editor-mirror:where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
4034
4707
|
.o-text-editor :is(.o-text-editor-country, .o-text-editor-dial):where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
4035
4708
|
|
|
4709
|
+
/* How long a toast stays, read by its script off the viewport (toastWait). */
|
|
4710
|
+
.o-toast-viewport { --toast-wait: var(--vk-toast-duration); }
|
|
4711
|
+
|
|
4712
|
+
/* ── Where it rises: centred at the bottom, 16px up; a toast that leaves and the one taking its place sit
|
|
4713
|
+
in the same spot ────────────────────────────────────────────────────────────────────────────────── */
|
|
4714
|
+
.o-toast-viewport {
|
|
4715
|
+
position: fixed; z-index: var(--vk-layer-popup); left: 0; right: 0; bottom: calc(var(--vk-spacing) * 4);
|
|
4716
|
+
display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: end; padding: 0 calc(var(--vk-spacing) * 4); pointer-events: none; outline: none;
|
|
4717
|
+
}
|
|
4718
|
+
.o-toast-viewport.o-toast-viewport-inside { position: absolute; }
|
|
4719
|
+
.o-toast-viewport > .o-toast { grid-area: 1 / 1; }
|
|
4720
|
+
|
|
4721
|
+
/* ── The toast: the page's colours turned round, like the Tooltip, so it reads at once in both themes;
|
|
4722
|
+
the radius's corners, 40px tall, 16px in on the left; it floats, so it casts the large shadow ─────── */
|
|
4723
|
+
.o-toast {
|
|
4724
|
+
display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 3); box-sizing: border-box;
|
|
4725
|
+
width: max-content; max-width: min(calc(var(--vk-spacing) * 115), 100%); min-height: calc(var(--vk-spacing) * 10);
|
|
4726
|
+
padding: calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 4);
|
|
4727
|
+
border-radius: var(--vk-radius-lg); background-color: var(--vk-fg); color: var(--vk-ground); box-shadow: var(--vk-shadow-lg);
|
|
4728
|
+
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); pointer-events: auto; outline: none;
|
|
4729
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), translate var(--vk-duration-base) var(--vk-ease-out);
|
|
4730
|
+
}
|
|
4731
|
+
.o-toast:not(:has(.o-toast-act)) { padding-right: calc(var(--vk-spacing) * 4); }
|
|
4732
|
+
.o-toast:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
4733
|
+
/* It rises 16px and fades in; it fades out, quicker. */
|
|
4734
|
+
.o-toast[data-starting-style] { opacity: 0; translate: 0 calc(var(--vk-spacing) * 4); }
|
|
4735
|
+
.o-toast[data-ending-style] { opacity: 0; transition: opacity var(--vk-duration-fast) var(--vk-ease-in); }
|
|
4736
|
+
|
|
4737
|
+
/* ── Its words, then what to do about it: one word in the toast's words colour, semibold ─────────────── */
|
|
4738
|
+
.o-toast-words { min-width: 0; margin: 0; }
|
|
4739
|
+
.o-button.o-toast-act { color: var(--vk-ground); font-weight: var(--vk-font-weight-semibold); }
|
|
4740
|
+
/* Its focus ring hugs it, as the text kind's does. */
|
|
4741
|
+
.o-button.o-toast-act:is(:focus-visible, [data-force="focus"]) { outline-offset: 0; }
|
|
4742
|
+
|
|
4743
|
+
/* ── Working: the 14px spinner in front; failed: a circled ! in the danger colour ────────────────────── */
|
|
4744
|
+
.o-toast > .o-spinner { margin-right: calc(var(--vk-spacing) * -0.75); }
|
|
4745
|
+
.o-toast-mark { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); margin-right: calc(var(--vk-spacing) * -1); color: var(--vk-danger); }
|
|
4746
|
+
|
|
4747
|
+
/* ── A title over its words, in the medium weight ─────────────────────────────────────────────────── */
|
|
4748
|
+
.o-toast-text { display: grid; gap: calc(var(--vk-spacing) * 0.5); min-width: 0; padding: calc(var(--vk-spacing) * 1) 0; }
|
|
4749
|
+
.o-toast-title { font-size: inherit; line-height: inherit; font-weight: var(--vk-font-weight-medium); }
|
|
4750
|
+
|
|
4751
|
+
/* ── Its meaning, as a Notice's: the meaning's icon in front, in its colour (failed is the danger one) ─ */
|
|
4752
|
+
.o-toast[data-type="information"] > .o-toast-mark { color: var(--vk-info); }
|
|
4753
|
+
.o-toast[data-type="success"] > .o-toast-mark { color: var(--vk-success); }
|
|
4754
|
+
.o-toast[data-type="warning"] > .o-toast-mark { color: var(--vk-warning); }
|
|
4755
|
+
|
|
4756
|
+
/* ── A × at its end: the quiet Button, its 16px icon in the toast's colours; the pointer gives it no fill,
|
|
4757
|
+
whatever the Button's look ─────────────────────────────────────────── */
|
|
4758
|
+
/* A hover only on a screen with a pointer (iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
|
|
4759
|
+
.o-toast .o-button.o-button-quiet.o-toast-close:is([data-force="hover"], :active, [data-force="press"]) { --button-ground: transparent; --button-light: none; --button-depth: none; translate: none; color: var(--vk-ground); }
|
|
4760
|
+
@media (hover: hover) { .o-toast .o-button.o-button-quiet.o-toast-close:hover { --button-ground: transparent; --button-light: none; --button-depth: none; translate: none; color: var(--vk-ground); } }
|
|
4761
|
+
|
|
4762
|
+
/* ── Several at once: each 460px or the width it has; the newest in front, the two before it the front
|
|
4763
|
+
one's height, peeking 8px above it each, each a little narrower (twice the press's step, from its top
|
|
4764
|
+
edge) so their edges show; the pointer or focus on them spreads them out, 8px apart, each its own
|
|
4765
|
+
height and width ───────────────────────────────────────────────────────────────────────────────────── */
|
|
4766
|
+
.o-toast-viewport[data-stack] > .o-toast {
|
|
4767
|
+
width: min(calc(var(--vk-spacing) * 115), 100%); z-index: calc(var(--toast-index) * -1); overflow: hidden;
|
|
4768
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), translate var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out), height var(--vk-duration-base) var(--vk-ease-out);
|
|
4769
|
+
}
|
|
4770
|
+
.o-toast-viewport[data-stack] > .o-toast:not([data-expanded]) { height: var(--toast-frontmost-height, auto); translate: 0 calc(var(--toast-index) * var(--vk-spacing) * -2); scale: calc(1 - (1 - var(--vk-press-scale)) * var(--toast-index) * 2); transform-origin: top center; }
|
|
4771
|
+
.o-toast-viewport[data-stack] > .o-toast[data-expanded] { height: var(--toast-height, auto); translate: 0 calc((var(--toast-offset-y) + var(--toast-index) * var(--vk-spacing) * 2) * -1); }
|
|
4772
|
+
.o-toast-viewport[data-stack] > .o-toast[data-limited] { opacity: 0; pointer-events: none; }
|
|
4773
|
+
.o-toast-viewport[data-stack] > .o-toast[data-starting-style] { translate: 0 calc(var(--vk-spacing) * 4); }
|
|
4774
|
+
|
|
4775
|
+
/* Under reduced motion it appears and goes without moving. */
|
|
4776
|
+
@media (prefers-reduced-motion: reduce) { .o-toast, .o-toast-viewport[data-stack] > .o-toast { transition: none; } .o-toast[data-starting-style] { translate: none; } }
|
|
4777
|
+
/* ── Its corners smooth: following corner-smoothing, drawn with the smooth outline
|
|
4778
|
+
(smooth.css) in every browser that knows shape(); one that doesn't keeps the corners above. Its round part is fitted to its
|
|
4779
|
+
40px, as a control's is. It casts a shadow and its focus ring stands outside it, so it is never clipped: its ground is a layer
|
|
4780
|
+
inside it (::before), clipped, as the Popover's is, the shadow and the ring on itself. ── */
|
|
4781
|
+
@supports (clip-path: shape(evenodd from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close, move to 0 0, hline to 1px, close)) and (width: calc(tan(atan2(1px, 1px)) * 1px)) {
|
|
4782
|
+
.o-toast {
|
|
4783
|
+
--smooth-amount: var(--vk-corner-smoothing); --smooth-side: calc(var(--vk-spacing) * 10);
|
|
4784
|
+
--toast-fit: min(var(--vk-radius-lg), var(--vk-spacing) * 10 / (2 + 2 * var(--smooth-amount, 0.7))); --smooth-t: var(--toast-fit);
|
|
4785
|
+
position: relative; isolation: isolate; border-radius: var(--toast-fit); background-color: transparent;
|
|
4786
|
+
}
|
|
4787
|
+
.o-toast::before {
|
|
4788
|
+
content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
|
|
4789
|
+
background-color: var(--vk-fg); clip-path: shape(var(--smooth-outline));
|
|
4790
|
+
}
|
|
4791
|
+
}
|
|
4792
|
+
|
|
4036
4793
|
/* ── On: the neutral fill a step up (background-neutral-hovered), its words and icon in the text colour.
|
|
4037
4794
|
The surface's own selected fill sits 2% from its hover in light, so a toggle under the pointer would
|
|
4038
4795
|
read as on; this one is clear of it in both themes. It keeps it under the pointer and while pressed, in
|
|
@@ -5079,6 +5836,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
5079
5836
|
.min-w-32 {
|
|
5080
5837
|
min-width: calc(4px * 32);
|
|
5081
5838
|
}
|
|
5839
|
+
.min-w-\[calc\(var\(--vk-spacing\,var\(--spacing\)\)\*48\)\] {
|
|
5840
|
+
min-width: calc(var(--vk-spacing,4px) * 48);
|
|
5841
|
+
}
|
|
5082
5842
|
.flex-1 {
|
|
5083
5843
|
flex: 1;
|
|
5084
5844
|
}
|
|
@@ -6941,6 +7701,47 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
6941
7701
|
--vk-label-teal-fill: hsl(196 52% 91.5%);
|
|
6942
7702
|
--vk-label-teal-edge: hsl(196 52% 74.5%);
|
|
6943
7703
|
--vk-label-teal-strong: hsl(193 82% 26%);
|
|
7704
|
+
--vk-layer-popup: 50;
|
|
7705
|
+
--vk-backdrop-alert-medium: hsl(214 30% 10% / 0.15);
|
|
7706
|
+
--vk-duration-base: 200ms;
|
|
7707
|
+
--vk-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
7708
|
+
--vk-backdrop-alert-light: hsl(214 30% 10% / 0.08);
|
|
7709
|
+
--vk-backdrop-alert-deep: hsl(214 30% 10% / 0.24);
|
|
7710
|
+
--vk-backdrop-veil-medium: hsl(0 0% 100% / 0.56);
|
|
7711
|
+
--vk-backdrop-veil-light: hsl(0 0% 100% / 0.4);
|
|
7712
|
+
--vk-backdrop-veil: hsl(0 0% 100% / 0.72);
|
|
7713
|
+
--vk-blur-xs: 4px;
|
|
7714
|
+
--vk-blur-sm: 8px;
|
|
7715
|
+
--vk-blur-md: 12px;
|
|
7716
|
+
--vk-blur-lg: 24px;
|
|
7717
|
+
--vk-spacing: 4px;
|
|
7718
|
+
--vk-radius-2xl: 20px;
|
|
7719
|
+
--vk-container-sm: 384px;
|
|
7720
|
+
--vk-border-width: 1px;
|
|
7721
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
7722
|
+
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
7723
|
+
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
7724
|
+
--vk-push-scale: 0.94;
|
|
7725
|
+
--vk-duration-fast: 150ms;
|
|
7726
|
+
--vk-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
7727
|
+
--vk-radius-lg: 10px;
|
|
7728
|
+
--vk-radius-xl: 15px;
|
|
7729
|
+
--vk-radius-3xl: 26.67px;
|
|
7730
|
+
--vk-font-size-lg: 18px;
|
|
7731
|
+
--vk-font-size-base: 16px;
|
|
7732
|
+
--vk-line-height-base: 1.5;
|
|
7733
|
+
--vk-font-weight-semibold: 600;
|
|
7734
|
+
--vk-font-size-sm: 14px;
|
|
7735
|
+
--vk-line-height-sm: 1.4286;
|
|
7736
|
+
--vk-overlay-card: hsl(0 0% 94%);
|
|
7737
|
+
--vk-overlay-card-pressed: hsl(220 7% 90%);
|
|
7738
|
+
--vk-radius-full: 9999px;
|
|
7739
|
+
--vk-brand-subtler: hsl(218 100% 94%);
|
|
7740
|
+
--vk-fg-accent: hsl(219 87% 54%);
|
|
7741
|
+
--vk-info-subtler: hsl(218 100% 94%);
|
|
7742
|
+
--vk-success-subtler: hsl(143 41% 91%);
|
|
7743
|
+
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
7744
|
+
--vk-danger-subtler: hsl(6 100% 94%);
|
|
6944
7745
|
--vk-person-1: #d7a77e;
|
|
6945
7746
|
--vk-person-2: #93b6ce;
|
|
6946
7747
|
--vk-person-3: #afc98f;
|
|
@@ -6949,26 +7750,17 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
6949
7750
|
--vk-person-6: #9dabdd;
|
|
6950
7751
|
--vk-person-fg: #10141a;
|
|
6951
7752
|
--vk-success-bold: hsl(158 98% 26%);
|
|
6952
|
-
--vk-border-width: 1px;
|
|
6953
7753
|
--vk-dot-size: 6px;
|
|
6954
7754
|
--vk-font-size-2xl: 24px;
|
|
6955
7755
|
--vk-font-size-2xs: 10px;
|
|
6956
7756
|
--vk-font-size-3xs: 8px;
|
|
6957
|
-
--vk-font-size-sm: 14px;
|
|
6958
7757
|
--vk-font-size-xs: 12px;
|
|
6959
|
-
--vk-font-weight-semibold: 600;
|
|
6960
|
-
--vk-radius-2xl: 20px;
|
|
6961
|
-
--vk-radius-full: 9999px;
|
|
6962
|
-
--vk-radius-lg: 10px;
|
|
6963
7758
|
--vk-radius-md: 7.5px;
|
|
6964
7759
|
--vk-radius-sm: 5px;
|
|
6965
|
-
--vk-radius-xl: 15px;
|
|
6966
7760
|
--vk-radius-xs: 2.5px;
|
|
6967
|
-
--vk-spacing: 4px;
|
|
6968
7761
|
--vk-tracking-normal: 0em;
|
|
6969
7762
|
--vk-brand-hovered: hsl(219 70% 46.5%);
|
|
6970
7763
|
--vk-brand-pressed: hsl(219 70% 38%);
|
|
6971
|
-
--vk-brand-subtler: hsl(218 100% 94%);
|
|
6972
7764
|
--vk-brand-subtler-hovered: hsl(218 100% 89%);
|
|
6973
7765
|
--vk-brand-subtler-pressed: hsl(218 97% 82%);
|
|
6974
7766
|
--vk-danger-bold: hsl(0 81% 58%);
|
|
@@ -6990,15 +7782,10 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
6990
7782
|
--vk-raised-hovered: hsl(220 3% 97%);
|
|
6991
7783
|
--vk-overlay-hovered: hsl(220 3% 97%);
|
|
6992
7784
|
--vk-overlay-pressed: hsl(0 0% 94%);
|
|
6993
|
-
--vk-overlay-card-pressed: hsl(220 7% 90%);
|
|
6994
7785
|
--vk-fg-disabled: hsl(210 1% 72%);
|
|
6995
|
-
--vk-fg-accent: hsl(219 87% 54%);
|
|
6996
7786
|
--vk-corner-smoothing: 0.7;
|
|
6997
7787
|
--vk-duration-instant: 60ms;
|
|
6998
|
-
--vk-duration-fast: 150ms;
|
|
6999
|
-
--vk-duration-base: 200ms;
|
|
7000
7788
|
--vk-duration-slow: 300ms;
|
|
7001
|
-
--vk-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
7002
7789
|
--vk-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
7003
7790
|
--vk-focus-width: 2px;
|
|
7004
7791
|
--vk-focus-offset: 2px;
|
|
@@ -7021,22 +7808,19 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7021
7808
|
--vk-shadow-rim-bold: inset 0 1px 0 0 hsl(0 0% 100% / 0.22);
|
|
7022
7809
|
--vk-shadow-rim-bold-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.3);
|
|
7023
7810
|
--vk-shadow-rim-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.14);
|
|
7024
|
-
--vk-font-size-base: 16px;
|
|
7025
|
-
--vk-font-size-lg: 18px;
|
|
7026
7811
|
--vk-border-danger: hsl(3 87% 68%);
|
|
7027
7812
|
--vk-input: hsl(0 0% 100% / 0);
|
|
7028
|
-
--vk-line-height-sm: 1.4286;
|
|
7029
7813
|
--vk-selected: hsl(0 0% 94.5%);
|
|
7030
7814
|
--vk-sunken: hsl(0 0% 98%);
|
|
7031
7815
|
--vk-sunken-hovered: hsl(0 0% 94.5%);
|
|
7032
|
-
--vk-
|
|
7816
|
+
--vk-ease-out-sharp: cubic-bezier(0.23, 1, 0.32, 1);
|
|
7033
7817
|
--vk-line-height-xs: 1.3333;
|
|
7034
7818
|
--vk-border-accent: hsl(219 90% 65.5%);
|
|
7035
7819
|
--vk-font-size-xl: 20px;
|
|
7036
7820
|
--vk-font-weight-normal: 400;
|
|
7037
|
-
--vk-overlay-card: hsl(0 0% 94%);
|
|
7038
7821
|
--vk-tracking-wide: 0.025em;
|
|
7039
7822
|
--vk-border-overlay-card: hsl(220 3% 86%);
|
|
7823
|
+
--vk-border-warning: hsl(20 63% 57.5%);
|
|
7040
7824
|
--vk-glass: hsl(0 0% 97% / 0.72);
|
|
7041
7825
|
--vk-glass-rim-soft: hsl(0 0% 100% / 0.82);
|
|
7042
7826
|
--vk-glass-rim-faint: hsl(0 0% 100% / 0.55);
|
|
@@ -7044,7 +7828,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7044
7828
|
--vk-shadow-glass: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.15);
|
|
7045
7829
|
--vk-shadow-glass-pair: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.12);
|
|
7046
7830
|
--vk-shadow-glass-pill: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.1);
|
|
7047
|
-
--vk-blur-md: 12px;
|
|
7048
7831
|
--vk-glass-icon-stroke: 1.7;
|
|
7049
7832
|
--vk-brand-300: hsl(218 100% 89%);
|
|
7050
7833
|
--vk-border-input-strong: hsl(210 1% 72%);
|
|
@@ -7054,24 +7837,31 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7054
7837
|
--vk-shadow-field-focus-danger: 0 0 10px 0 hsl(3 87% 68% / 0.3);
|
|
7055
7838
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
|
|
7056
7839
|
--vk-font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
7057
|
-
--vk-layer-popup: 50;
|
|
7058
7840
|
--vk-overlay-selected: hsl(220 7% 90%);
|
|
7059
|
-
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
7060
7841
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
7061
7842
|
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
7062
|
-
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
7063
7843
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
7064
7844
|
--vk-label-amber-pressed: hsl(24 86% 35.5%);
|
|
7065
7845
|
--vk-label-blue-pressed: hsl(219 70% 46.5%);
|
|
7066
7846
|
--vk-label-green-pressed: hsl(157 88% 24%);
|
|
7067
7847
|
--vk-label-purple-pressed: hsl(260 65% 55%);
|
|
7068
|
-
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
7069
|
-
--vk-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
7070
7848
|
--vk-hold-delay: 500ms;
|
|
7071
7849
|
--vk-submenu-delay: 100ms;
|
|
7850
|
+
--vk-layer-drawer: 40;
|
|
7851
|
+
--vk-backdrop-modal-light: hsl(214 30% 10% / 0.06);
|
|
7852
|
+
--vk-backdrop-modal-medium: hsl(214 30% 10% / 0.12);
|
|
7853
|
+
--vk-backdrop-modal-deep: hsl(214 30% 10% / 0.2);
|
|
7854
|
+
--vk-backdrop-modal-veil-light: hsl(0 0% 100% / 0.4);
|
|
7855
|
+
--vk-backdrop-modal-veil-medium: hsl(0 0% 100% / 0.56);
|
|
7856
|
+
--vk-backdrop-modal-veil-deep: hsl(0 0% 100% / 0.72);
|
|
7857
|
+
--vk-container-2xl: 672px;
|
|
7858
|
+
--vk-container-lg: 512px;
|
|
7859
|
+
--vk-container-4xl: 896px;
|
|
7860
|
+
--vk-container-5xl: 1024px;
|
|
7861
|
+
--vk-border-modal-ring: hsl(210 1% 88%);
|
|
7862
|
+
--vk-border-modal-edge: hsl(220 3% 86%);
|
|
7863
|
+
--vk-shadow-menu: 0 6px 18px hsl(0 0% 0% / 0.06), 0 3px 9px hsl(0 0% 0% / 0.05), 0 1px 1px hsl(0 0% 0% / 0.04);
|
|
7072
7864
|
--vk-header: hsl(0 0% 100%);
|
|
7073
|
-
--vk-blur-xs: 4px;
|
|
7074
|
-
--vk-blur-sm: 8px;
|
|
7075
7865
|
--vk-border-selected: hsl(219 90% 65.5%);
|
|
7076
7866
|
--vk-scrollbar-size: 6px;
|
|
7077
7867
|
--vk-scrollbar-inset: 2px;
|
|
@@ -7084,10 +7874,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7084
7874
|
--vk-sheet-handle: hsl(210 1% 72%);
|
|
7085
7875
|
--vk-spring-exit: 120px;
|
|
7086
7876
|
--vk-spring-past: 12px;
|
|
7087
|
-
--vk-radius-3xl: 26.67px;
|
|
7088
7877
|
--vk-radius-4xl: 33.33px;
|
|
7089
7878
|
--vk-radius-5xl: 40px;
|
|
7090
|
-
--vk-layer-drawer: 40;
|
|
7091
7879
|
--vk-spring-smooth: 500ms 1;
|
|
7092
7880
|
--vk-ease-spring-smooth: linear(0, 0.0191, 0.0667, 0.1313, 0.2048, 0.2816, 0.3577, 0.4308, 0.4991, 0.562, 0.6189, 0.67, 0.7154, 0.7554, 0.7905, 0.821, 0.8475, 0.8704, 0.89, 0.9069, 0.9213, 0.9336, 0.9441, 0.9529, 0.9605, 0.9668, 0.9722, 0.9767, 0.9805, 0.9837, 0.9864, 0.9887, 0.9905, 0.9921, 0.9934, 0.9945, 0.9955, 0.9962, 0.9969, 0.9974, 0.9978, 0.9982, 0.9985, 0.9988, 0.999, 0.9992, 0.9993, 0.9994, 1);
|
|
7093
7881
|
--vk-duration-spring-smooth: 800ms;
|
|
@@ -7098,7 +7886,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7098
7886
|
--vk-ease-spring-lively: linear(0, 0.0239, 0.0843, 0.1672, 0.2617, 0.3601, 0.4568, 0.5478, 0.6309, 0.7048, 0.7689, 0.8236, 0.8692, 0.9065, 0.9364, 0.9599, 0.9779, 0.9913, 1.0009, 1.0075, 1.0117, 1.0141, 1.0151, 1.0151, 1.0144, 1.0133, 1.0119, 1.0105, 1.009, 1.0075, 1.0062, 1.005, 1.004, 1.0031, 1.0023, 1.0017, 1.0012, 1.0008, 1);
|
|
7099
7887
|
--vk-duration-spring-lively: 633ms;
|
|
7100
7888
|
--vk-sheet-press-scale: 1.005;
|
|
7101
|
-
--vk-push-scale: 0.94;
|
|
7102
7889
|
--vk-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
7103
7890
|
--vk-loading-dim: 0.55;
|
|
7104
7891
|
--vk-progress-slide: 1400ms;
|
|
@@ -7109,7 +7896,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7109
7896
|
--vk-blue-700: hsl(219 87% 54%);
|
|
7110
7897
|
--vk-border-info: hsl(219 90% 65.5%);
|
|
7111
7898
|
--vk-border-success: hsl(149 43% 44.5%);
|
|
7112
|
-
--vk-border-warning: hsl(20 63% 57.5%);
|
|
7113
7899
|
--vk-brand-100: hsl(218 100% 98%);
|
|
7114
7900
|
--vk-brand-200: hsl(218 100% 94%);
|
|
7115
7901
|
--vk-brand-400: hsl(218 97% 82%);
|
|
@@ -7118,20 +7904,15 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7118
7904
|
--vk-brand-700: hsl(219 87% 54%);
|
|
7119
7905
|
--vk-brand-800: hsl(219 70% 46.5%);
|
|
7120
7906
|
--vk-brand-1000: hsl(219 72% 29%);
|
|
7121
|
-
--vk-danger-subtler: hsl(6 100% 94%);
|
|
7122
7907
|
--vk-green-700: hsl(158 98% 26%);
|
|
7123
|
-
--vk-info-subtler: hsl(218 100% 94%);
|
|
7124
7908
|
--vk-pink-700: hsl(335 73% 49.5%);
|
|
7125
7909
|
--vk-purple-700: hsl(260 100% 64.5%);
|
|
7126
7910
|
--vk-red-700: hsl(0 81% 58%);
|
|
7127
|
-
--vk-success-subtler: hsl(143 41% 91%);
|
|
7128
7911
|
--vk-teal-700: hsl(192 87% 32%);
|
|
7129
|
-
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
7130
7912
|
--vk-font-weight-bold: 700;
|
|
7131
|
-
--vk-
|
|
7913
|
+
--vk-toast-duration: 4000ms;
|
|
7132
7914
|
--vk-tooltip-delay: 500ms;
|
|
7133
7915
|
--vk-tooltip-warm: 300ms;
|
|
7134
|
-
--vk-toast-duration: 4000ms;
|
|
7135
7916
|
--vk-t-shadow-menu: 0 6px 18px hsl(0 0% 0% / 0.06), 0 3px 9px hsl(0 0% 0% / 0.05), 0 1px 1px hsl(0 0% 0% / 0.04);
|
|
7136
7917
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(16 17 26 / 0.08);
|
|
7137
7918
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
|
|
@@ -7222,6 +8003,23 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7222
8003
|
--vk-label-teal-fill: hsl(196 32% 17.5%);
|
|
7223
8004
|
--vk-label-teal-edge: hsl(195 42% 22.5%);
|
|
7224
8005
|
--vk-label-teal-strong: hsl(196 67% 75.5%);
|
|
8006
|
+
--vk-backdrop-alert-medium: hsl(0 0% 0% / 0.22);
|
|
8007
|
+
--vk-backdrop-alert-light: hsl(0 0% 0% / 0.12);
|
|
8008
|
+
--vk-backdrop-alert-deep: hsl(0 0% 0% / 0.36);
|
|
8009
|
+
--vk-backdrop-veil-medium: hsl(226 10% 10% / 0.56);
|
|
8010
|
+
--vk-backdrop-veil-light: hsl(226 10% 10% / 0.4);
|
|
8011
|
+
--vk-backdrop-veil: hsl(226 10% 10% / 0.72);
|
|
8012
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
8013
|
+
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
8014
|
+
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
8015
|
+
--vk-overlay-card: hsl(225 7% 15%);
|
|
8016
|
+
--vk-overlay-card-pressed: hsl(220 4% 22%);
|
|
8017
|
+
--vk-brand-subtler: hsl(218 32% 14.5%);
|
|
8018
|
+
--vk-fg-accent: hsl(219 87% 59.5%);
|
|
8019
|
+
--vk-info-subtler: hsl(218 32% 14.5%);
|
|
8020
|
+
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
8021
|
+
--vk-warning-subtler: hsl(20 29% 13.5%);
|
|
8022
|
+
--vk-danger-subtler: hsl(6 27% 14.5%);
|
|
7225
8023
|
--vk-person-1: #d7a77e;
|
|
7226
8024
|
--vk-person-2: #93b6ce;
|
|
7227
8025
|
--vk-person-3: #afc98f;
|
|
@@ -7232,7 +8030,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7232
8030
|
--vk-success-bold: hsl(158 98% 34%);
|
|
7233
8031
|
--vk-brand-hovered: hsl(219 95% 64%);
|
|
7234
8032
|
--vk-brand-pressed: hsl(219 100% 72.5%);
|
|
7235
|
-
--vk-brand-subtler: hsl(218 32% 14.5%);
|
|
7236
8033
|
--vk-brand-subtler-hovered: hsl(219 46% 21%);
|
|
7237
8034
|
--vk-brand-subtler-pressed: hsl(219 55% 29%);
|
|
7238
8035
|
--vk-danger-bold: hsl(0 81% 58%);
|
|
@@ -7254,9 +8051,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7254
8051
|
--vk-raised-hovered: hsl(225 7% 15%);
|
|
7255
8052
|
--vk-overlay-hovered: hsl(225 7% 15%);
|
|
7256
8053
|
--vk-overlay-pressed: hsl(225 7% 15%);
|
|
7257
|
-
--vk-overlay-card-pressed: hsl(220 4% 22%);
|
|
7258
8054
|
--vk-fg-disabled: hsl(210 1% 37%);
|
|
7259
|
-
--vk-fg-accent: hsl(219 87% 59.5%);
|
|
7260
8055
|
--vk-shadow-key: inset 0 1px 0 0 hsl(210 8% 95% / 0.24), inset 0 -1px 0 0 hsl(0 0% 0% / 0.27), 0 1px 0 0 hsl(0 0% 0% / 0.5), 0 1px 2px 0 hsl(0 0% 0% / 0.18);
|
|
7261
8056
|
--vk-shadow-key-pressed: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.18);
|
|
7262
8057
|
--vk-shadow-key-pressed-bold: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.42);
|
|
@@ -7276,8 +8071,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7276
8071
|
--vk-sunken: hsl(210 8% 5%);
|
|
7277
8072
|
--vk-sunken-hovered: hsl(210 4% 9.5%);
|
|
7278
8073
|
--vk-border-accent: hsl(219 66% 47%);
|
|
7279
|
-
--vk-overlay-card: hsl(225 7% 15%);
|
|
7280
8074
|
--vk-border-overlay-card: hsl(220 4% 22%);
|
|
8075
|
+
--vk-border-warning: hsl(22 74% 36%);
|
|
7281
8076
|
--vk-glass: hsl(0 0% 13% / 0.6);
|
|
7282
8077
|
--vk-glass-rim-soft: hsl(0 0% 100% / 0.12);
|
|
7283
8078
|
--vk-glass-rim-faint: hsl(0 0% 100% / 0.01);
|
|
@@ -7292,16 +8087,22 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7292
8087
|
--vk-shadow-field-focus-danger: 0 0 10px 0 hsl(1 55% 46.5% / 0.42);
|
|
7293
8088
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|
|
7294
8089
|
--vk-overlay-selected: hsl(225 7% 15%);
|
|
7295
|
-
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
7296
8090
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
7297
8091
|
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
7298
|
-
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
7299
8092
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
7300
8093
|
--vk-label-amber-pressed: hsl(21 66% 55%);
|
|
7301
8094
|
--vk-label-blue-pressed: hsl(219 95% 64%);
|
|
7302
8095
|
--vk-label-green-pressed: hsl(150 45% 51.5%);
|
|
7303
8096
|
--vk-label-purple-pressed: hsl(256 100% 73%);
|
|
7304
|
-
--vk-
|
|
8097
|
+
--vk-backdrop-modal-light: hsl(0 0% 0% / 0.1);
|
|
8098
|
+
--vk-backdrop-modal-medium: hsl(0 0% 0% / 0.18);
|
|
8099
|
+
--vk-backdrop-modal-deep: hsl(0 0% 0% / 0.3);
|
|
8100
|
+
--vk-backdrop-modal-veil-light: hsl(226 10% 10% / 0.4);
|
|
8101
|
+
--vk-backdrop-modal-veil-medium: hsl(226 10% 10% / 0.56);
|
|
8102
|
+
--vk-backdrop-modal-veil-deep: hsl(226 10% 10% / 0.72);
|
|
8103
|
+
--vk-border-modal-ring: hsl(210 2% 19%);
|
|
8104
|
+
--vk-border-modal-edge: hsl(220 4% 22%);
|
|
8105
|
+
--vk-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
7305
8106
|
--vk-header: hsl(210 6% 7%);
|
|
7306
8107
|
--vk-border-selected: hsl(219 66% 47%);
|
|
7307
8108
|
--vk-scrollbar-thumb: hsl(210 2% 26.5%);
|
|
@@ -7314,7 +8115,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7314
8115
|
--vk-blue-700: hsl(219 87% 59.5%);
|
|
7315
8116
|
--vk-border-info: hsl(219 66% 47%);
|
|
7316
8117
|
--vk-border-success: hsl(153 64% 32%);
|
|
7317
|
-
--vk-border-warning: hsl(22 74% 36%);
|
|
7318
8118
|
--vk-brand-100: hsl(218 15% 10%);
|
|
7319
8119
|
--vk-brand-200: hsl(218 32% 14.5%);
|
|
7320
8120
|
--vk-brand-400: hsl(219 55% 29%);
|
|
@@ -7323,16 +8123,11 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7323
8123
|
--vk-brand-700: hsl(219 87% 59.5%);
|
|
7324
8124
|
--vk-brand-800: hsl(219 95% 64%);
|
|
7325
8125
|
--vk-brand-1000: hsl(218 100% 81%);
|
|
7326
|
-
--vk-danger-subtler: hsl(6 27% 14.5%);
|
|
7327
8126
|
--vk-green-700: hsl(158 98% 34%);
|
|
7328
|
-
--vk-info-subtler: hsl(218 32% 14.5%);
|
|
7329
8127
|
--vk-pink-700: hsl(335 73% 57.5%);
|
|
7330
8128
|
--vk-purple-700: hsl(260 100% 69%);
|
|
7331
8129
|
--vk-red-700: hsl(0 81% 58%);
|
|
7332
|
-
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
7333
8130
|
--vk-teal-700: hsl(192 87% 40%);
|
|
7334
|
-
--vk-warning-subtler: hsl(20 29% 13.5%);
|
|
7335
|
-
--vk-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
7336
8131
|
--vk-t-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
7337
8132
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(255 255 255 / 0.08);
|
|
7338
8133
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|