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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! viewkitjs 0.
|
|
1
|
+
/*! viewkitjs 0.28.0 · viewkitjs/views/styles.unlayered.css: ViewKit's look, its defaults the Outright look */
|
|
2
2
|
|
|
3
3
|
@layer base {
|
|
4
4
|
@layer viewkit {:where(*):where([data-slot^="vk-"], [data-vk-body], [data-slot^="vk-"] *, [data-vk-body] *),
|
|
@@ -253,6 +253,8 @@
|
|
|
253
253
|
|
|
254
254
|
@property --smooth-khx { syntax: "<number>"; inherits: true; initial-value: 0; }
|
|
255
255
|
|
|
256
|
+
@property --o-collapsible-h { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
257
|
+
|
|
256
258
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
257
259
|
|
|
258
260
|
.o-smooth, .o-smooth::before, .o-smooth::after {
|
|
@@ -302,6 +304,115 @@
|
|
|
302
304
|
--smooth-khx: calc(var(--smooth-k) - var(--smooth-hx));
|
|
303
305
|
}
|
|
304
306
|
|
|
307
|
+
/* ── What's behind it, and where it stands: in the middle of the screen, over everything ─────────────────────────────────────────── */
|
|
308
|
+
.o-alert-backdrop, .o-alert-viewport { position: fixed; inset: 0; z-index: var(--vk-layer-popup); }
|
|
309
|
+
.o-alert-backdrop { background-color: var(--vk-backdrop-alert-medium); transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
310
|
+
.o-alert-backdrop:is([data-starting-style], [data-ending-style]) { opacity: 0; }
|
|
311
|
+
[data-alert-dialog-strength="light"] .o-alert-backdrop { background-color: var(--vk-backdrop-alert-light); }
|
|
312
|
+
[data-alert-dialog-strength="deep"] .o-alert-backdrop { background-color: var(--vk-backdrop-alert-deep); }
|
|
313
|
+
[data-alert-dialog-behind="veil"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil-medium); }
|
|
314
|
+
[data-alert-dialog-behind="veil"][data-alert-dialog-strength="light"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil-light); }
|
|
315
|
+
[data-alert-dialog-behind="veil"][data-alert-dialog-strength="deep"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil); }
|
|
316
|
+
/* 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. */
|
|
317
|
+
[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)); }
|
|
318
|
+
[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)); }
|
|
319
|
+
[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)); }
|
|
320
|
+
[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)); }
|
|
321
|
+
.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; }
|
|
322
|
+
[data-alert-dialog-margin="8"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 2); }
|
|
323
|
+
[data-alert-dialog-margin="12"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 3); }
|
|
324
|
+
[data-alert-dialog-margin="24"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 6); }
|
|
325
|
+
[data-alert-dialog-margin="32"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 8); }
|
|
326
|
+
|
|
327
|
+
/* ── Its panel: on the overlay's ground, one width on a computer, the phone's width less its margins ─────────────────────────────── */
|
|
328
|
+
.o-alert-dialog {
|
|
329
|
+
--alert-corners: var(--vk-radius-2xl); --alert-padding: calc(var(--vk-spacing) * 6);
|
|
330
|
+
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);
|
|
331
|
+
background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); color: var(--vk-fg); outline: none;
|
|
332
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out);
|
|
333
|
+
}
|
|
334
|
+
.o-alert-dialog[data-screen="phone"] { max-width: none; }
|
|
335
|
+
/* Its shadow, each screen's own. */
|
|
336
|
+
[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; }
|
|
337
|
+
[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); }
|
|
338
|
+
[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); }
|
|
339
|
+
.o-alert-dialog:is([data-starting-style], [data-ending-style]) { opacity: 0; scale: var(--vk-push-scale); }
|
|
340
|
+
.o-alert-dialog[data-ending-style] { transition-duration: var(--vk-duration-fast); transition-timing-function: var(--vk-ease-in); }
|
|
341
|
+
[data-alert-dialog-corners="lg"] .o-alert-dialog { --alert-corners: var(--vk-radius-lg); }
|
|
342
|
+
[data-alert-dialog-corners="xl"] .o-alert-dialog { --alert-corners: var(--vk-radius-xl); }
|
|
343
|
+
[data-alert-dialog-corners="3xl"] .o-alert-dialog { --alert-corners: var(--vk-radius-3xl); }
|
|
344
|
+
.o-alert-cut { border-radius: inherit; background-color: inherit; }
|
|
345
|
+
|
|
346
|
+
/* ── How far the Alert's words stand from its panel's edge, which the Alert reads (alert.css) ─────────────────────────────────────── */
|
|
347
|
+
[data-alert-dialog-padding="16"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 4); }
|
|
348
|
+
[data-alert-dialog-padding="20"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 5); }
|
|
349
|
+
[data-alert-dialog-padding="28"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 7); }
|
|
350
|
+
|
|
351
|
+
/* ── 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
|
|
352
|
+
quiet Button ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
353
|
+
.o-alert-held { position: relative; min-width: 0; }
|
|
354
|
+
.o-alert-x { display: none; }
|
|
355
|
+
[data-alert-dialog-close="shown"] .o-alert-x { position: absolute; top: calc(var(--vk-spacing) * 3); right: calc(var(--vk-spacing) * 3); display: grid; }
|
|
356
|
+
[data-alert-dialog-close="shown"] .o-alert-held[data-shell="sheet"] .o-alert-x { top: 0; right: 0; }
|
|
357
|
+
[data-alert-dialog-close="shown"] .o-alert-held[data-screen="phone"] .o-alert-title { padding-right: calc(var(--vk-spacing) * 11); }
|
|
358
|
+
.o-alert-x .o-alert-x-glass { display: none; }
|
|
359
|
+
/* Glass unless the phone's surface is Flat, as ViewKit's phone header and Sheet are where nothing is picked. */
|
|
360
|
+
.o-alert-held[data-screen="phone"]:not([data-phone-header-surface="flat"] *) .o-alert-x .o-alert-x-glass { display: grid; }
|
|
361
|
+
.o-alert-held[data-screen="phone"]:not([data-phone-header-surface="flat"] *) .o-alert-x .o-alert-x-plain { display: none; }
|
|
362
|
+
|
|
363
|
+
/* ── 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
|
|
364
|
+
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 ───── */
|
|
365
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
366
|
+
.o-alert-dialog:not([data-alert-dialog-smoothing="round"] *) { border-color: transparent; background-color: transparent; background-clip: padding-box; }
|
|
367
|
+
.o-alert-cut:not([data-alert-dialog-smoothing="round"] *) {
|
|
368
|
+
--alert-c: var(--alert-corners);
|
|
369
|
+
background-color: var(--vk-overlay);
|
|
370
|
+
--smooth-t: var(--alert-c); clip-path: shape(var(--smooth-outline));
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* Less motion: a fade, no scale. */
|
|
375
|
+
@media (prefers-reduced-motion: reduce) {
|
|
376
|
+
.o-alert-dialog { transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
377
|
+
.o-alert-dialog:is([data-starting-style], [data-ending-style]) { scale: 1; }
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/* ── What it says ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
381
|
+
.o-alert-body { position: relative; display: grid; min-width: 0; color: var(--vk-fg); }
|
|
382
|
+
.o-alert-body[data-shell="panel"] { padding: var(--alert-padding, calc(var(--vk-spacing) * 6)); }
|
|
383
|
+
.o-alert-body[data-shell="sheet"] { padding: calc(var(--vk-spacing) * 2); }
|
|
384
|
+
.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; }
|
|
385
|
+
.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; }
|
|
386
|
+
.o-alert-line.o-alert-wrong { color: var(--vk-danger); }
|
|
387
|
+
.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)); }
|
|
388
|
+
|
|
389
|
+
/* ── 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
|
|
390
|
+
panel's edge, so a 24 corner and a 12 button nest, and the way out stands on the overlay's card ────────────────────────────────── */
|
|
391
|
+
.o-alert-foot { display: flex; justify-content: flex-end; gap: calc(var(--vk-spacing) * 2); margin-top: calc(var(--vk-spacing) * 5); }
|
|
392
|
+
: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)); }
|
|
393
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-foot > .o-button { width: 100%; padding-inline: 0; }
|
|
394
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"])[data-shell="panel"] { padding-bottom: calc(var(--vk-spacing) * 3); }
|
|
395
|
+
: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))); }
|
|
396
|
+
: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); }
|
|
397
|
+
/* 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. */
|
|
398
|
+
: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); }
|
|
399
|
+
@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); } }
|
|
400
|
+
[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); }
|
|
401
|
+
[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); }
|
|
402
|
+
[data-alert-pair="stacked"] .o-alert-body[data-screen="phone"] .o-alert-foot { grid-template-columns: minmax(0, 1fr); }
|
|
403
|
+
[data-alert-pair="stacked"] .o-alert-body[data-screen="phone"] .o-alert-foot > .o-alert-cancel { order: 1; }
|
|
404
|
+
|
|
405
|
+
/* ── Its mark: round, in its action's colour, its words centred under it ─────────────────────────────────────────────────────────── */
|
|
406
|
+
.o-alert-mark { display: none; }
|
|
407
|
+
[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); }
|
|
408
|
+
[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); }
|
|
409
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="information"] .o-alert-mark { background-color: var(--vk-info-subtler); color: var(--vk-info); }
|
|
410
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="success"] .o-alert-mark { background-color: var(--vk-success-subtler); color: var(--vk-success); }
|
|
411
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="warning"] .o-alert-mark { background-color: var(--vk-warning-subtler); color: var(--vk-warning); }
|
|
412
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="danger"] .o-alert-mark { background-color: var(--vk-danger-subtler); color: var(--vk-danger); }
|
|
413
|
+
.o-alert-mark > svg { width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); }
|
|
414
|
+
[data-alert-mark="shown"] :is(.o-alert-title, .o-alert-line) { text-align: center; }
|
|
415
|
+
|
|
305
416
|
/* ── A person: a circle of their initials on their tone, 32px ──────────────────────────────────────── */
|
|
306
417
|
.o-avatar {
|
|
307
418
|
flex: none; display: inline-grid; place-items: center; box-sizing: border-box; overflow: hidden;
|
|
@@ -1079,6 +1190,78 @@
|
|
|
1079
1190
|
|
|
1080
1191
|
@media (prefers-reduced-motion: reduce) { .o-check-box, .o-check-tick, .o-check-row, .o-check-cut::before, .o-check-cut::after { transition: none; } }
|
|
1081
1192
|
|
|
1193
|
+
/* ── The curve everything of it moves on: ease-out, or under Curve › Sharp ease-out-sharp ──────────── */
|
|
1194
|
+
[data-collapsible-curve="sharp"] :is(.o-collapsible-trigger, .o-collapsible-panel) { --o-collapsible-ease: var(--vk-ease-out-sharp); }
|
|
1195
|
+
|
|
1196
|
+
/* ── The trigger, plain (its look belongs to the place it stands in, and none wears a ground under the pointer): a chevron
|
|
1197
|
+
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
|
|
1198
|
+
ringed. The chevron turns down while the part is open, on the part's curve and in a short part's own times:
|
|
1199
|
+
duration-base opening, duration-fast closing ────────────────────────────────────────────────────────────────── */
|
|
1200
|
+
.o-collapsible-trigger {
|
|
1201
|
+
--collapsible-trigger-h: calc(var(--vk-spacing) * 8);
|
|
1202
|
+
display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); box-sizing: border-box;
|
|
1203
|
+
min-height: var(--collapsible-trigger-h); margin: 0; padding: 0;
|
|
1204
|
+
border: 0; border-radius: var(--vk-radius-sm); background-color: transparent;
|
|
1205
|
+
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));
|
|
1206
|
+
font-weight: var(--vk-font-weight-medium); text-align: left; cursor: pointer; outline: none; user-select: none;
|
|
1207
|
+
-webkit-tap-highlight-color: transparent;
|
|
1208
|
+
}
|
|
1209
|
+
.o-collapsible-trigger:where([data-vk-phone], [data-vk-phone] *) { --collapsible-trigger-h: calc(var(--vk-spacing) * 11); }
|
|
1210
|
+
.o-collapsible-trigger:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
1211
|
+
.o-collapsible-trigger[data-disabled] { color: var(--vk-fg-disabled); cursor: not-allowed; }
|
|
1212
|
+
.o-collapsible-chevron {
|
|
1213
|
+
flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4);
|
|
1214
|
+
fill: none; stroke: var(--vk-fg-subtle); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
|
|
1215
|
+
transition: rotate var(--vk-duration-fast) var(--o-collapsible-ease, var(--vk-ease-out)), stroke var(--vk-duration-fast) var(--vk-ease-out);
|
|
1216
|
+
}
|
|
1217
|
+
.o-collapsible-trigger[data-panel-open] .o-collapsible-chevron { rotate: 90deg; transition-duration: var(--vk-duration-base), var(--vk-duration-fast); }
|
|
1218
|
+
/* A hover only on a screen with a pointer. */
|
|
1219
|
+
@media (hover: hover) { .o-collapsible-trigger:not([data-disabled]):hover .o-collapsible-chevron { stroke: var(--vk-fg); } }
|
|
1220
|
+
.o-collapsible-trigger[data-disabled] .o-collapsible-chevron { stroke: var(--vk-fg-disabled); }
|
|
1221
|
+
|
|
1222
|
+
/* ── The part: the box that crops it while its height moves, from nothing to what it holds. It crops without
|
|
1223
|
+
scrolling (clip, never hidden), so what sticks inside it, a grid's frozen columns, still
|
|
1224
|
+
sticks to the scroller beyond it. Both ways it eases out: it answers the press at once and settles, as
|
|
1225
|
+
shadcn's and Base UI's own do. Its time follows its height, between the motion names: opening from duration-base
|
|
1226
|
+
to duration-slow, closing from duration-fast to duration-base, the longest reached at 600px tall (spacing × 150),
|
|
1227
|
+
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
|
|
1228
|
+
(--o-collapsible-h, registered at the file's end: at rest Base UI says auto, which reads as none); how far along
|
|
1229
|
+
that 600px it stands is --o-collapsible-part, 0 to 1. A browser that can't divide one length by another keeps the
|
|
1230
|
+
two plain times. An app's own time (durationMs) sets --o-collapsible-time for both ──────────────────────────── */
|
|
1231
|
+
.o-collapsible-panel {
|
|
1232
|
+
--o-collapsible-open: var(--vk-duration-base); --o-collapsible-close: var(--vk-duration-fast);
|
|
1233
|
+
box-sizing: border-box; overflow: clip; height: var(--collapsible-panel-height);
|
|
1234
|
+
transition: height var(--o-collapsible-time, var(--o-collapsible-open)) var(--o-collapsible-ease, var(--vk-ease-out));
|
|
1235
|
+
}
|
|
1236
|
+
@supports (width: calc(tan(atan2(1px, 1px)) * 1px)) {
|
|
1237
|
+
.o-collapsible-panel {
|
|
1238
|
+
--o-collapsible-h: var(--collapsible-panel-height);
|
|
1239
|
+
--o-collapsible-part: min(1, tan(atan2(var(--o-collapsible-h), calc(var(--vk-spacing) * 150))));
|
|
1240
|
+
--o-collapsible-open: calc(var(--vk-duration-base) + (var(--vk-duration-slow) - var(--vk-duration-base)) * var(--o-collapsible-part));
|
|
1241
|
+
--o-collapsible-close: calc(var(--vk-duration-fast) + (var(--vk-duration-base) - var(--vk-duration-fast)) * var(--o-collapsible-part));
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
.o-collapsible-panel[data-ending-style] { transition-duration: var(--o-collapsible-time, var(--o-collapsible-close)); }
|
|
1245
|
+
.o-collapsible-panel:is([data-starting-style], [data-ending-style]) { height: 0; }
|
|
1246
|
+
|
|
1247
|
+
/* ── 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
|
|
1248
|
+
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
|
|
1249
|
+
half the closing time, so the moving edge passes over nothing and never cuts a line of text. Slides out: it is
|
|
1250
|
+
anchored to the part's lower edge, so it comes out from under its trigger and goes back under it. The part's
|
|
1251
|
+
times reach what it holds as the variables above, which it inherits ─────────────────────────────────────────── */
|
|
1252
|
+
.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)); }
|
|
1253
|
+
.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); }
|
|
1254
|
+
.o-collapsible-panel:is([data-starting-style], [data-ending-style]) > .o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { opacity: 0; }
|
|
1255
|
+
[data-collapsible-content="slide"] .o-collapsible-panel:not([hidden]) { display: flex; flex-direction: column; justify-content: flex-end; }
|
|
1256
|
+
[data-collapsible-content="slide"] .o-collapsible-body { flex: none; }
|
|
1257
|
+
|
|
1258
|
+
/* 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
|
|
1259
|
+
fade is the default with no frame, so these match every body, at the fade rules' own weight, later. */
|
|
1260
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1261
|
+
.o-collapsible-panel, .o-collapsible-panel[data-ending-style], .o-collapsible-chevron, .o-collapsible-trigger[data-panel-open] .o-collapsible-chevron,
|
|
1262
|
+
:root .o-collapsible-body, :root .o-collapsible-panel[data-ending-style] > .o-collapsible-body { transition: none; }
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1082
1265
|
.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)); }
|
|
1083
1266
|
.o-compound-editor:focus { outline: none; }
|
|
1084
1267
|
/* Its glyphs 16 square, as built, at their old weight; the own marks inside it (the Select's chevron, the Number field's
|
|
@@ -1411,6 +1594,114 @@ button.o-field-row { cursor: pointer; }
|
|
|
1411
1594
|
background-position: calc(var(--vk-spacing) * 4) 0; background-repeat: no-repeat; box-shadow: var(--field-rows-line-shadow, none);
|
|
1412
1595
|
}
|
|
1413
1596
|
.o-field-row-label { display: var(--field-rows-label, block); flex: none; width: calc(var(--vk-spacing) * 26); color: var(--vk-fg-subtle); }
|
|
1597
|
+
|
|
1598
|
+
.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)); }
|
|
1599
|
+
.o-filter-editor:focus { outline: none; }
|
|
1600
|
+
.o-filter-editor-rules { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1601
|
+
.o-filter-editor-item { display: flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1602
|
+
.o-filter-editor-where, .o-filter-editor-joined {
|
|
1603
|
+
display: inline-flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box;
|
|
1604
|
+
height: calc(var(--vk-spacing) * 8); color: var(--vk-fg-subtle); white-space: nowrap;
|
|
1605
|
+
}
|
|
1606
|
+
.o-filter-editor-where { border: var(--vk-border-width) dashed var(--vk-border-input); border-radius: var(--vk-radius-lg); }
|
|
1607
|
+
.o-filter-editor-join { flex: none; }
|
|
1608
|
+
.o-filter-editor-rule { display: flex; flex: 1; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1609
|
+
.o-filter-editor-boxes { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1610
|
+
.o-filter-editor-field, .o-filter-editor-how, .o-filter-editor-value { position: relative; flex: none; min-width: 0; }
|
|
1611
|
+
.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%; }
|
|
1612
|
+
.o-filter-editor-date { width: 100%; }
|
|
1613
|
+
/* Several chosen stay on the box's one line, the last cut at its end, as a cell's are. */
|
|
1614
|
+
.o-filter-editor-value .o-options { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
|
|
1615
|
+
.o-filter-editor-more { flex: none; margin-left: auto; }
|
|
1616
|
+
/* 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. */
|
|
1617
|
+
.o-filter-editor-pair { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1618
|
+
.o-filter-editor-pair > [data-kit="number-field"] { flex: 1 1 0; min-width: 0; }
|
|
1619
|
+
.o-filter-editor-dash { flex: none; color: var(--vk-fg-subtle); }
|
|
1620
|
+
/* A sample field's mark the page's own samples draw (samples.ts), as the sort editor's samples draw theirs. */
|
|
1621
|
+
.o-filter-editor-mark { display: inline-flex; flex: none; align-items: center; color: var(--vk-fg-subtle); }
|
|
1622
|
+
.o-filter-editor-mark svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
1623
|
+
/* 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
|
|
1624
|
+
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.
|
|
1625
|
+
Each form gives it only its padding. */
|
|
1626
|
+
.o-filter-editor-group {
|
|
1627
|
+
display: flex; flex: 1; flex-direction: column; gap: calc(var(--vk-spacing) * 2); min-width: 0;
|
|
1628
|
+
border: var(--vk-border-width) solid var(--vk-border); border-radius: var(--vk-radius-xl); background-color: var(--vk-sunken);
|
|
1629
|
+
}
|
|
1630
|
+
/* 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
|
|
1631
|
+
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.
|
|
1632
|
+
No token is re-pointed here: no component declares one. */
|
|
1633
|
+
.o-filter-editor-group .o-input:not(.o-input *) {
|
|
1634
|
+
background-image: linear-gradient(var(--input-ground), var(--input-ground)); background-color: var(--vk-overlay);
|
|
1635
|
+
}
|
|
1636
|
+
.o-filter-editor-foot { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); }
|
|
1637
|
+
.o-filter-editor-clear, .o-filter-editor-delete { margin-left: auto; }
|
|
1638
|
+
|
|
1639
|
+
/* ── On a computer: the rules in their columns, a group its well, then the foot ─────────────────────────────────────── */
|
|
1640
|
+
/* 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). */
|
|
1641
|
+
.o-filter-editor[data-filter-form="computer"] { width: calc(var(--vk-spacing) * 172); max-width: 100%; gap: calc(var(--vk-spacing) * 3); }
|
|
1642
|
+
.o-filter-editor[data-filter-form="computer"][data-filter-fields] { width: auto; }
|
|
1643
|
+
[data-filter-form="computer"] .o-filter-editor-where, [data-filter-form="computer"] .o-filter-editor-joined,
|
|
1644
|
+
[data-filter-form="computer"] .o-filter-editor-join { width: calc(var(--vk-spacing) * 18); }
|
|
1645
|
+
/* 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
|
|
1646
|
+
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
|
|
1647
|
+
editor the field's and the value's give way, to 80 at least; how it compares, a few words, keeps its own. */
|
|
1648
|
+
[data-filter-form="computer"] .o-filter-editor-boxes { flex: 1 1 auto; }
|
|
1649
|
+
[data-filter-form="computer"] :is(.o-filter-editor-field, .o-filter-editor-value) { flex: 0 1 auto; min-width: calc(var(--vk-spacing) * 20); }
|
|
1650
|
+
[data-filter-form="computer"] :is(.o-filter-editor-field, .o-filter-editor-how, .o-filter-editor-value) { max-width: calc(var(--vk-spacing) * 60); }
|
|
1651
|
+
[data-filter-form="computer"] .o-filter-editor-value:is([data-value-box="typed"], [data-value-box="pair"]) { width: calc(var(--vk-spacing) * 52); }
|
|
1652
|
+
[data-filter-form="computer"] .o-filter-editor-value[data-value-box="date"] { width: calc(var(--vk-spacing) * 40); }
|
|
1653
|
+
[data-filter-form="computer"] .o-filter-editor-group { padding: calc(var(--vk-spacing) * 2.5); }
|
|
1654
|
+
[data-filter-form="computer"] .o-filter-editor-group > .o-filter-editor-foot { padding-top: var(--vk-spacing); }
|
|
1655
|
+
|
|
1656
|
+
/* 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). */
|
|
1657
|
+
.o-filter-editor .o-filter-editor-shown[data-filter-shown] {
|
|
1658
|
+
position: absolute; z-index: var(--vk-layer-popup); top: calc(100% + var(--vk-spacing)); left: 0; display: flex; flex-direction: column;
|
|
1659
|
+
width: max-content; min-width: max(100%, calc(var(--vk-spacing) * 48)); max-width: calc(var(--vk-spacing) * 72);
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/* ── On a phone, and in the narrow form: each rule its lead over its boxes, a line between rules; a group its well ─────── */
|
|
1663
|
+
.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)); }
|
|
1664
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-rules { gap: 0; }
|
|
1665
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-item {
|
|
1666
|
+
flex-direction: column; gap: calc(var(--vk-spacing) * 2.5); padding: calc(var(--vk-spacing) * 3.5) 0;
|
|
1667
|
+
border-bottom: var(--vk-border-width) solid var(--vk-border);
|
|
1668
|
+
}
|
|
1669
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-item:last-child { border-bottom: 0; }
|
|
1670
|
+
: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); }
|
|
1671
|
+
/* The join's pressing area, 44 high round its 32, on a phone. */
|
|
1672
|
+
[data-filter-form="phone"] .o-filter-editor-join::before { content: ""; position: absolute; inset: calc(var(--vk-spacing) * -1.5) 0; }
|
|
1673
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-rule { align-items: flex-start; align-self: stretch; }
|
|
1674
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-boxes { flex: 1; flex-wrap: wrap; }
|
|
1675
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-field, .o-filter-editor-how) { max-width: 100%; }
|
|
1676
|
+
: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%; }
|
|
1677
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-value { flex: 1 1 100%; }
|
|
1678
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-group {
|
|
1679
|
+
align-self: stretch; padding: var(--vk-spacing) calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2);
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
/* The narrow form's own sizes, a computer's: its items 12 apart round their line, a group's room smaller. */
|
|
1683
|
+
.o-filter-editor[data-filter-form="narrow"] { gap: calc(var(--vk-spacing) * 3); }
|
|
1684
|
+
[data-filter-form="narrow"] .o-filter-editor-item { gap: calc(var(--vk-spacing) * 2); padding: calc(var(--vk-spacing) * 3) 0; }
|
|
1685
|
+
[data-filter-form="narrow"] .o-filter-editor-group { padding: var(--vk-spacing) calc(var(--vk-spacing) * 2.5) calc(var(--vk-spacing) * 2); }
|
|
1686
|
+
[data-filter-form="narrow"] .o-filter-editor-none { padding: 0 calc(var(--vk-spacing) * 2); }
|
|
1687
|
+
/* A list a page shows standing open, under its box: never wider than the Pane's column. */
|
|
1688
|
+
.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%; }
|
|
1689
|
+
[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)); }
|
|
1690
|
+
.o-filter-editor-none { display: grid; gap: calc(var(--vk-spacing) * 0.5); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
1691
|
+
.o-filter-editor-none p { margin: 0; }
|
|
1692
|
+
.o-filter-editor-none-head { font-weight: var(--vk-font-weight-medium); }
|
|
1693
|
+
.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)); }
|
|
1694
|
+
.o-filter-editor-acts { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
1695
|
+
.o-filter-editor-acts .o-button { width: 100%; }
|
|
1696
|
+
|
|
1697
|
+
/* ── 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),
|
|
1698
|
+
and a value ViewKit draws: a read-only box as wide as a typed one (VK-720) ─────────────────────────────────────────────── */
|
|
1699
|
+
.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); }
|
|
1700
|
+
.o-filter-editor-rule[data-aside] .o-filter-editor-field .o-select-placeholder { color: var(--vk-warning); }
|
|
1701
|
+
.o-filter-editor-own { width: 100%; }
|
|
1702
|
+
.o-filter-editor-why { display: flex; width: 100%; }
|
|
1703
|
+
.o-filter-editor-why > .o-select { width: 100%; }
|
|
1704
|
+
[data-filter-form="computer"] .o-filter-editor-value[data-value-box="own"] { width: calc(var(--vk-spacing) * 52); }
|
|
1414
1705
|
.o-flag {
|
|
1415
1706
|
position: relative; flex: none; display: inline-block; overflow: hidden; vertical-align: middle;
|
|
1416
1707
|
width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 3.5); border-radius: var(--vk-radius-xs); background-color: var(--vk-neutral);
|
|
@@ -1520,6 +1811,19 @@ button.o-field-row { cursor: pointer; }
|
|
|
1520
1811
|
> .o-glass-button.o-glass-button-sm.o-glass-button-primary:not(:disabled, [data-disabled]) { padding: calc(var(--vk-spacing) * 0.75); }
|
|
1521
1812
|
}
|
|
1522
1813
|
|
|
1814
|
+
/* ── What it holds, one under another ── */
|
|
1815
|
+
.o-group-editor, .o-group-editor-step { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 1); min-width: 0; }
|
|
1816
|
+
.o-group-editor[data-group-form="phone"], .o-group-editor[data-group-form="phone"] .o-group-editor-step { gap: calc(var(--vk-spacing) * 3); }
|
|
1817
|
+
|
|
1818
|
+
/* ── The groups' heading, Hide all at its end ── */
|
|
1819
|
+
.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); }
|
|
1820
|
+
.o-group-editor-heading > .o-list-heading { flex: 1; min-width: 0; }
|
|
1821
|
+
[data-group-form="phone"] .o-group-editor-heading { margin-top: calc(var(--vk-spacing) * 2); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
1822
|
+
[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)); }
|
|
1823
|
+
|
|
1824
|
+
/* ── Group by's fields, the Picker standing in its place ── */
|
|
1825
|
+
.o-group-editor-fields { display: flex; flex-direction: column; min-width: 0; }
|
|
1826
|
+
|
|
1523
1827
|
/* ── Its options, from the nearest frame: its edge, its corners, its ground ───────────────────────────────────────────── */
|
|
1524
1828
|
[data-inline-input-edge="line"] { --inline-input-edge: var(--vk-border-width); --inline-input-ring: 0px; }
|
|
1525
1829
|
[data-inline-input-edge="ring"] { --inline-input-edge: 0px; --inline-input-ring: var(--vk-focus-width); }
|
|
@@ -2066,7 +2370,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2066
2370
|
background-image: linear-gradient(to bottom, transparent, var(--vk-overlay) calc(var(--vk-spacing) * 8));
|
|
2067
2371
|
}
|
|
2068
2372
|
.o-links-editor-pill { flex: 1; }
|
|
2069
|
-
/* A link's fields,
|
|
2373
|
+
/* 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. */
|
|
2070
2374
|
.o-links-editor-fields .o-links-editor-open-value { flex: 1; }
|
|
2071
2375
|
.o-links-editor-switch { flex: none; margin-left: auto; }
|
|
2072
2376
|
.o-links-editor-fields-foot { margin-top: calc(var(--vk-spacing) * 6); }
|
|
@@ -2504,6 +2808,207 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2504
2808
|
.o-button.o-menu-dots:is([data-popup-open], [data-force="hover"], [data-force="open"]) { --button-ground: var(--vk-neutral); color: var(--vk-fg); }
|
|
2505
2809
|
@media (hover: hover) { .o-button.o-menu-dots:hover { --button-ground: var(--vk-neutral); color: var(--vk-fg); } }
|
|
2506
2810
|
|
|
2811
|
+
/* ── What's behind it, and where it stands: in the middle of the screen, under any popup but the Popover it opens from ──────────── */
|
|
2812
|
+
.o-modal-backdrop, .o-modal-viewport { position: fixed; inset: 0; z-index: var(--vk-layer-drawer); }
|
|
2813
|
+
/* Opened from inside a Popover, at the popups' layer: over the Popover, added before it, and under what opens from it. */
|
|
2814
|
+
.o-modal-backdrop[data-over-popup], .o-modal-viewport[data-over-popup] { z-index: var(--vk-layer-popup); }
|
|
2815
|
+
.o-modal-backdrop { background-color: var(--vk-backdrop-modal-light); transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
2816
|
+
.o-modal-backdrop:is([data-starting-style], [data-ending-style]) { opacity: 0; }
|
|
2817
|
+
[data-modal-strength="medium"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-medium); }
|
|
2818
|
+
[data-modal-strength="deep"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-deep); }
|
|
2819
|
+
[data-modal-behind="veil"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-light); }
|
|
2820
|
+
[data-modal-behind="veil"][data-modal-strength="medium"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-medium); }
|
|
2821
|
+
[data-modal-behind="veil"][data-modal-strength="deep"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-deep); }
|
|
2822
|
+
/* No blur at all at none, since blur(0) still builds a backdrop root. */
|
|
2823
|
+
[data-modal-blur="4"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-xs)); backdrop-filter: blur(var(--vk-blur-xs)); }
|
|
2824
|
+
[data-modal-blur="8"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-sm)); backdrop-filter: blur(var(--vk-blur-sm)); }
|
|
2825
|
+
[data-modal-blur="12"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-md)); backdrop-filter: blur(var(--vk-blur-md)); }
|
|
2826
|
+
[data-modal-blur="24"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-lg)); backdrop-filter: blur(var(--vk-blur-lg)); }
|
|
2827
|
+
/* It keeps 48 from the screen's edges; a screen drawn on a page sets --modal-room to keep less. */
|
|
2828
|
+
.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; }
|
|
2829
|
+
|
|
2830
|
+
/* ── The shell: on the overlay's ground, as wide as it is handed, never taller than the screen ───────────────────────────────────── */
|
|
2831
|
+
.o-modal {
|
|
2832
|
+
--modal-corners: var(--vk-radius-xl); --modal-pad: calc(var(--vk-spacing) * 5); --modal-width: var(--vk-container-2xl);
|
|
2833
|
+
box-sizing: border-box; position: relative; display: flex; flex-direction: column; width: 100%; max-width: var(--modal-width); max-height: 100%; min-width: 0;
|
|
2834
|
+
border-radius: var(--modal-corners); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); color: var(--vk-fg); outline: none;
|
|
2835
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out);
|
|
2836
|
+
}
|
|
2837
|
+
.o-modal[data-width="sm"] { --modal-width: var(--vk-container-lg); }
|
|
2838
|
+
.o-modal[data-width="lg"] { --modal-width: var(--vk-container-4xl); }
|
|
2839
|
+
.o-modal[data-width="xl"] { --modal-width: var(--vk-container-5xl); }
|
|
2840
|
+
.o-modal:is([data-starting-style], [data-ending-style]) { opacity: 0; scale: var(--vk-push-scale); }
|
|
2841
|
+
.o-modal[data-ending-style] { transition-duration: var(--vk-duration-fast); transition-timing-function: var(--vk-ease-in); }
|
|
2842
|
+
/* An Alert Dialog over it steps it back. */
|
|
2843
|
+
.o-modal[data-nested-dialog-open] { scale: var(--vk-press-scale); }
|
|
2844
|
+
[data-modal-corners="lg"] .o-modal { --modal-corners: var(--vk-radius-lg); }
|
|
2845
|
+
[data-modal-corners="2xl"] .o-modal { --modal-corners: var(--vk-radius-2xl); }
|
|
2846
|
+
[data-modal-padding="16"] .o-modal { --modal-pad: calc(var(--vk-spacing) * 4); }
|
|
2847
|
+
[data-modal-padding="24"] .o-modal { --modal-pad: calc(var(--vk-spacing) * 6); }
|
|
2848
|
+
[data-modal-shadow="none"] .o-modal { box-shadow: none; }
|
|
2849
|
+
[data-modal-shadow="lg"] .o-modal { box-shadow: var(--vk-shadow-lg); }
|
|
2850
|
+
[data-modal-shadow="xl"] .o-modal { box-shadow: var(--vk-shadow-xl); }
|
|
2851
|
+
|
|
2852
|
+
/* 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
|
|
2853
|
+
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
|
|
2854
|
+
line's colour (::before), and the ground just inside it (::after), one line narrower. Each takes its own corner, its inset less, so
|
|
2855
|
+
the line follows the edge's corners exactly, round or smooth. */
|
|
2856
|
+
.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; }
|
|
2857
|
+
.o-modal-cut::before, .o-modal-cut::after { content: ""; position: absolute; z-index: -1; border-radius: var(--modal-c); pointer-events: none; }
|
|
2858
|
+
.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); }
|
|
2859
|
+
.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); }
|
|
2860
|
+
[data-modal-edge="outline"] .o-modal-cut { padding: 0; }
|
|
2861
|
+
[data-modal-edge="outline"] .o-modal-cut::before { --modal-c: var(--modal-corners); inset: 0; background-color: var(--vk-border-modal-edge); }
|
|
2862
|
+
[data-modal-edge="outline"] .o-modal-cut::after { --modal-c: calc(var(--modal-corners) - var(--vk-border-width)); inset: var(--vk-border-width); }
|
|
2863
|
+
|
|
2864
|
+
/* ── 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 ─────────── */
|
|
2865
|
+
.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); }
|
|
2866
|
+
[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); }
|
|
2867
|
+
[data-modal-lines="shown"] .o-modal-head { border-bottom: var(--vk-border-width) solid var(--vk-border); }
|
|
2868
|
+
/* Its line under the head's height: the head is 11 tall above its line. */
|
|
2869
|
+
[data-modal-lines="shown"]:not([data-modal-head="margin"]) .o-modal-head { min-height: calc(var(--vk-spacing) * 11 + var(--vk-border-width)); }
|
|
2870
|
+
[data-modal-lines="shown"][data-modal-head="margin"] .o-modal-head { padding-bottom: calc(var(--vk-spacing) * 3); }
|
|
2871
|
+
.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); }
|
|
2872
|
+
.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)); }
|
|
2873
|
+
.o-modal-tools { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); flex: none; margin-left: auto; }
|
|
2874
|
+
.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); }
|
|
2875
|
+
.o-modal-mark > svg { width: calc(var(--vk-spacing) * 3.25); height: calc(var(--vk-spacing) * 3.25); }
|
|
2876
|
+
[data-modal-head="margin"] .o-modal-mark { width: calc(var(--vk-spacing) * 4); background-color: transparent; color: var(--vk-fg-subtle); }
|
|
2877
|
+
[data-modal-head="margin"] .o-modal-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
2878
|
+
/* Where it was opened gives way before its title: the path's words shorten first. */
|
|
2879
|
+
.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); }
|
|
2880
|
+
.o-modal-path > svg { flex: none; width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
|
|
2881
|
+
.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; }
|
|
2882
|
+
.o-modal-chip > :first-child { flex: none; }
|
|
2883
|
+
.o-modal-chip > svg { width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
|
|
2884
|
+
.o-modal-chip-word { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
2885
|
+
|
|
2886
|
+
/* ── What it holds: it scrolls between a head and a foot that stay ───────────────────────────────────────────────────────────────── */
|
|
2887
|
+
.o-modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: var(--modal-pad); }
|
|
2888
|
+
.o-modal-failed { margin-bottom: calc(var(--vk-spacing) * 4); }
|
|
2889
|
+
|
|
2890
|
+
/* ── Its foot: what stands at its start, then the way out and the action at its end ──────────────────────────────────────────────── */
|
|
2891
|
+
.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); }
|
|
2892
|
+
[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); }
|
|
2893
|
+
[data-modal-lines="shown"] .o-modal-foot { border-top: var(--vk-border-width) solid var(--vk-border); }
|
|
2894
|
+
[data-modal-lines="shown"]:not([data-modal-head="margin"]) .o-modal-foot { min-height: calc(var(--vk-spacing) * 11 + var(--vk-border-width)); }
|
|
2895
|
+
[data-modal-lines="shown"][data-modal-head="margin"] .o-modal-foot { padding-top: calc(var(--vk-spacing) * 3); }
|
|
2896
|
+
.o-modal-start { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
2897
|
+
.o-modal-end { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); margin-left: auto; }
|
|
2898
|
+
.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); }
|
|
2899
|
+
[data-modal-size="32"] .o-modal-end > .o-button { height: calc(var(--vk-spacing) * 8); --button-side: calc(var(--vk-spacing) * 8); }
|
|
2900
|
+
[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); }
|
|
2901
|
+
[data-modal-buttons="pill"] .o-modal-foot .o-button:not(.o-button-round) { --button-r: var(--vk-radius-full); }
|
|
2902
|
+
|
|
2903
|
+
/* ── 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
|
|
2904
|
+
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
|
|
2905
|
+
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 ───────────── */
|
|
2906
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
2907
|
+
[data-modal-smoothing="smooth"] .o-modal { background-color: transparent; }
|
|
2908
|
+
[data-modal-smoothing="smooth"] .o-modal-cut { --modal-c: var(--modal-corners); background-color: var(--vk-overlay); }
|
|
2909
|
+
[data-modal-smoothing="smooth"] .o-modal-cut::before, [data-modal-smoothing="smooth"] .o-modal-cut::after { border-radius: 0; }
|
|
2910
|
+
[data-modal-smoothing="smooth"] .o-modal-cut, [data-modal-smoothing="smooth"] .o-modal-cut::before, [data-modal-smoothing="smooth"] .o-modal-cut::after {
|
|
2911
|
+
--smooth-t: var(--modal-c); clip-path: shape(var(--smooth-outline));
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
/* Less motion: a fade, no scale. */
|
|
2916
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2917
|
+
.o-modal { transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
2918
|
+
.o-modal:is([data-starting-style], [data-ending-style], [data-nested-dialog-open]) { scale: 1; }
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
/* ── The notice: its meaning's ground, one step stronger than the palest, so it reads as its colour; no
|
|
2922
|
+
edge (neutral, below, has a hairline); the radius's corners, 10px by 12px; the words in the text colour, never the meaning's ─────── */
|
|
2923
|
+
.o-notice {
|
|
2924
|
+
display: flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2.5); box-sizing: border-box; min-width: 0;
|
|
2925
|
+
padding: calc(var(--vk-spacing) * 2.5) calc(var(--vk-spacing) * 3); border-radius: var(--vk-radius-lg); background-color: var(--notice-ground);
|
|
2926
|
+
color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm));
|
|
2927
|
+
transition: opacity var(--vk-duration-fast) var(--vk-ease-in), translate var(--vk-duration-fast) var(--vk-ease-in);
|
|
2928
|
+
}
|
|
2929
|
+
/* The icon carries the meaning: 16px, level with the first line, 10px before the words. */
|
|
2930
|
+
.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); }
|
|
2931
|
+
.o-notice[data-meaning="information"] { --notice-ground: var(--vk-info-subtler); }
|
|
2932
|
+
.o-notice[data-meaning="information"] > .o-notice-icon { color: var(--vk-info); }
|
|
2933
|
+
.o-notice[data-meaning="success"] { --notice-ground: var(--vk-success-subtler); }
|
|
2934
|
+
.o-notice[data-meaning="success"] > .o-notice-icon { color: var(--vk-success); }
|
|
2935
|
+
.o-notice[data-meaning="warning"] { --notice-ground: var(--vk-warning-subtler); }
|
|
2936
|
+
.o-notice[data-meaning="warning"] > .o-notice-icon { color: var(--vk-warning); }
|
|
2937
|
+
.o-notice[data-meaning="danger"] { --notice-ground: var(--vk-danger-subtler); }
|
|
2938
|
+
.o-notice[data-meaning="danger"] > .o-notice-icon { color: var(--vk-danger); }
|
|
2939
|
+
.o-notice-body { flex: 1 1 calc(var(--vk-spacing) * 55); min-width: 0; display: grid; gap: calc(var(--vk-spacing) * 0.5); }
|
|
2940
|
+
.o-notice-body > p { margin: 0; }
|
|
2941
|
+
|
|
2942
|
+
/* ── Neutral: a plain fact with no colour of its own, a quiet well: the page's
|
|
2943
|
+
sunken ground, a hairline edge inside, its icon in the quieter text colour ──────────────────────────────── */
|
|
2944
|
+
.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); }
|
|
2945
|
+
.o-notice[data-meaning="neutral"] > .o-notice-icon { color: var(--vk-fg-subtle); }
|
|
2946
|
+
/* Its own icon, any 16px icon, in its meaning's colour like the meaning's own. */
|
|
2947
|
+
span.o-notice-icon { display: grid; place-items: center; }
|
|
2948
|
+
span.o-notice-icon > svg { width: 100%; height: 100%; }
|
|
2949
|
+
/* Paragraphs, 8px apart; a link in its sentence underlined in the words' colour, as shadcn's. */
|
|
2950
|
+
.o-notice-text > p { margin: 0; }
|
|
2951
|
+
.o-notice-text > p + p { margin-top: calc(var(--vk-spacing) * 2); }
|
|
2952
|
+
.o-notice-text a {
|
|
2953
|
+
color: inherit; text-decoration: underline; text-decoration-thickness: var(--vk-border-width);
|
|
2954
|
+
text-underline-offset: calc(var(--vk-spacing) * 0.75); text-decoration-color: var(--vk-fg-subtlest);
|
|
2955
|
+
}
|
|
2956
|
+
@media (hover: hover) { .o-notice-text a:hover { text-decoration-color: currentColor; } }
|
|
2957
|
+
|
|
2958
|
+
/* ── With a title: the title in semibold, the sentence under it quieter, 12px by 14px; its actions under
|
|
2959
|
+
the sentence ──────────────────────────────────────────────────────────────────────────────────── */
|
|
2960
|
+
.o-notice.o-notice-titled { gap: calc(var(--vk-spacing) * 3); padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 3.5); }
|
|
2961
|
+
.o-notice-title { font-weight: var(--vk-font-weight-semibold); }
|
|
2962
|
+
.o-notice-titled .o-notice-text { color: var(--vk-fg-subtle); }
|
|
2963
|
+
.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); }
|
|
2964
|
+
/* A first action that isn't the text kind (an outline) stands with its edge at the sentence's first letter. */
|
|
2965
|
+
.o-notice-below:has(> :first-child:not(.o-button-text)) { margin-left: 0; }
|
|
2966
|
+
|
|
2967
|
+
/* ── Its actions at the end of its line; × puts it away: the Button, quiet, icon only, extra small ──── */
|
|
2968
|
+
.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; }
|
|
2969
|
+
.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; }
|
|
2970
|
+
.o-notice-acts + .o-button.o-notice-x { margin-left: calc(var(--vk-spacing) * -2); }
|
|
2971
|
+
|
|
2972
|
+
/* ── Arrived because of something just done, it fades in; put away or resolved, it fades out ────────── */
|
|
2973
|
+
.o-notice.o-notice-arrived { animation: vk-notice-fade-in var(--vk-duration-base) var(--vk-ease-out); }
|
|
2974
|
+
.o-notice.o-notice-going { opacity: 0; translate: 0 calc(var(--vk-spacing) * -0.5); }
|
|
2975
|
+
|
|
2976
|
+
/* ── On the phone the actions drop under the sentence, lined up with it; × stays at the end of the first
|
|
2977
|
+
line ────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2978
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *) { flex-wrap: wrap; }
|
|
2979
|
+
.o-notice-body:where([data-vk-phone], [data-vk-phone] *) { flex: 1 1 0; }
|
|
2980
|
+
.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); }
|
|
2981
|
+
.o-notice-acts:where([data-vk-phone], [data-vk-phone] *) + .o-button.o-notice-x { margin-left: 0; }
|
|
2982
|
+
/* A first action that isn't the text kind stands with its edge at the sentence's first letter: the icon and its gap. */
|
|
2983
|
+
.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); }
|
|
2984
|
+
/* With no icon the sentence starts at the padding: so do the actions, the text kind's words with it. */
|
|
2985
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):not(:has(> .o-notice-icon)) > .o-notice-acts { padding-left: 0; }
|
|
2986
|
+
.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); }
|
|
2987
|
+
|
|
2988
|
+
/* Under reduced motion it just goes. */
|
|
2989
|
+
@media (prefers-reduced-motion: reduce) { .o-notice { transition: none; } .o-notice.o-notice-arrived { animation: none; } }
|
|
2990
|
+
/* ── Its corners smooth: following corner-smoothing, drawn with the smooth outline
|
|
2991
|
+
(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
|
|
2992
|
+
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
|
|
2993
|
+
hairline, or its ground where it has none) and its ground (::after, a line in, its corner a line smaller) are layers inside it,
|
|
2994
|
+
as the Popover's are. ── */
|
|
2995
|
+
@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)) {
|
|
2996
|
+
.o-notice {
|
|
2997
|
+
--smooth-amount: var(--vk-corner-smoothing); --notice-side: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm) + var(--vk-spacing) * 5);
|
|
2998
|
+
--notice-fit: min(var(--vk-radius-lg), var(--notice-side) / (2 + 2 * var(--smooth-amount, 0.7)));
|
|
2999
|
+
--smooth-t: var(--notice-fit); --smooth-side: var(--notice-side);
|
|
3000
|
+
position: relative; isolation: isolate; border-radius: var(--notice-fit); background-color: transparent; box-shadow: none;
|
|
3001
|
+
}
|
|
3002
|
+
.o-notice[data-meaning="neutral"] { box-shadow: none; }
|
|
3003
|
+
.o-notice::before, .o-notice::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
|
|
3004
|
+
.o-notice::before { background-color: var(--notice-edge, var(--notice-ground)); clip-path: shape(var(--smooth-outline)); }
|
|
3005
|
+
.o-notice::after {
|
|
3006
|
+
--smooth-t: max(0px, var(--notice-fit) - var(--vk-border-width));
|
|
3007
|
+
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));
|
|
3008
|
+
}
|
|
3009
|
+
}
|
|
3010
|
+
@keyframes vk-notice-fade-in { from { opacity: 0; } }
|
|
3011
|
+
|
|
2507
3012
|
/* ── 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 ── */
|
|
2508
3013
|
.o-number-editor[data-number-form="computer"] { box-sizing: border-box; width: 100%; height: 100%; min-width: 0; color: var(--vk-fg); }
|
|
2509
3014
|
.o-number-editor .o-number-editor-field, .o-number-editor .o-number-editor-field > .o-inline-input-group { height: 100%; }
|
|
@@ -2649,6 +3154,92 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
2649
3154
|
.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); }
|
|
2650
3155
|
@media (prefers-reduced-motion: reduce) { .o-option[data-link] { transition: none; } }
|
|
2651
3156
|
|
|
3157
|
+
/* Its portal, in the list's box, takes no room there, whatever the box lays out. */
|
|
3158
|
+
.o-pane-portal { display: contents; }
|
|
3159
|
+
|
|
3160
|
+
/* ── The shell: over the list and under every popup (layer-popup), a Drawer or a Modal opened later standing over it ── */
|
|
3161
|
+
.o-pane {
|
|
3162
|
+
--pane-corners: var(--vk-radius-xl); --pane-shadow: var(--vk-shadow-menu); --pane-edge: var(--vk-border);
|
|
3163
|
+
--pane-gap: calc(var(--vk-spacing) * 2); --pane-pad: calc(var(--vk-spacing) * 2);
|
|
3164
|
+
position: absolute; z-index: var(--vk-layer-drawer); top: var(--pane-gap); right: var(--pane-gap); bottom: var(--pane-gap);
|
|
3165
|
+
box-sizing: border-box; display: flex; flex-direction: column;
|
|
3166
|
+
width: calc(var(--vk-spacing) * 75); max-width: calc(100% - var(--pane-gap) * 2);
|
|
3167
|
+
border-radius: var(--pane-corners); background-color: var(--vk-overlay); box-shadow: var(--pane-shadow); color: var(--vk-fg);
|
|
3168
|
+
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); outline: none;
|
|
3169
|
+
transition: opacity var(--vk-duration-fast) var(--vk-ease-out), translate var(--vk-duration-fast) var(--vk-ease-out);
|
|
3170
|
+
}
|
|
3171
|
+
/* Fitting what it holds: as tall as that, never past a gap over the list's foot. */
|
|
3172
|
+
[data-pane-place="fit"] .o-pane { bottom: auto; max-height: calc(100% - var(--pane-gap) * 2); }
|
|
3173
|
+
|
|
3174
|
+
/* What it holds, inside its edge. The edge is drawn as two shapes, never a border, as the Popover's is: its colour (::before),
|
|
3175
|
+
and the ground just inside it (::after), one line narrower, each with its own corner, so the edge follows the corners
|
|
3176
|
+
exactly, round or smooth. */
|
|
3177
|
+
.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; }
|
|
3178
|
+
.o-pane-cut::before, .o-pane-cut::after { content: ""; position: absolute; z-index: -1; border-radius: var(--pane-c); pointer-events: none; }
|
|
3179
|
+
.o-pane-cut::before { --pane-c: var(--pane-corners); inset: 0; background-color: var(--pane-edge); }
|
|
3180
|
+
.o-pane-cut::after { --pane-c: calc(var(--pane-corners) - var(--vk-border-width)); inset: var(--vk-border-width); background-color: var(--vk-overlay); }
|
|
3181
|
+
|
|
3182
|
+
/* 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
|
|
3183
|
+
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
|
|
3184
|
+
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
|
|
3185
|
+
overhangs it to scroll to. */
|
|
3186
|
+
.o-pane-head { flex: none; }
|
|
3187
|
+
.o-pane-body { flex: 1 1 auto; min-height: 0; overflow: hidden auto; }
|
|
3188
|
+
.o-pane-body > * { overflow-x: clip; }
|
|
3189
|
+
/* What scrolls runs right to the foot's line: the foot has no margin over
|
|
3190
|
+
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
|
|
3191
|
+
end. */
|
|
3192
|
+
.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); }
|
|
3193
|
+
.o-pane-body:has(~ .o-pane-foot) { padding-bottom: var(--pane-pad); }
|
|
3194
|
+
[data-pane-edge="none"] .o-pane-foot { border-top-color: var(--vk-border-subtle); }
|
|
3195
|
+
|
|
3196
|
+
/* Its title, when what stands in it has one: text-sm at medium weight. */
|
|
3197
|
+
.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); }
|
|
3198
|
+
|
|
3199
|
+
/* It fades in and moves a step in from the right; it leaves faster than it came. */
|
|
3200
|
+
.o-pane[data-ending-style] { transition-timing-function: var(--vk-ease-in); }
|
|
3201
|
+
.o-pane:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: var(--vk-spacing) 0; }
|
|
3202
|
+
|
|
3203
|
+
/* ── What an app sets once ───────────────────────────────────────────────────────────────────────────────────── */
|
|
3204
|
+
[data-pane-corners="lg"] .o-pane { --pane-corners: var(--vk-radius-lg); }
|
|
3205
|
+
[data-pane-corners="2xl"] .o-pane { --pane-corners: var(--vk-radius-2xl); }
|
|
3206
|
+
[data-pane-shadow="none"] .o-pane { --pane-shadow: none; }
|
|
3207
|
+
[data-pane-shadow="lg"] .o-pane { --pane-shadow: var(--vk-shadow-lg); }
|
|
3208
|
+
[data-pane-shadow="xl"] .o-pane { --pane-shadow: var(--vk-shadow-xl); }
|
|
3209
|
+
[data-pane-edge="subtle"] .o-pane { --pane-edge: var(--vk-border-subtle); }
|
|
3210
|
+
[data-pane-edge="none"] .o-pane { --pane-edge: var(--vk-overlay); }
|
|
3211
|
+
[data-pane-gap="0"] .o-pane { --pane-gap: 0px; }
|
|
3212
|
+
[data-pane-gap="4"] .o-pane { --pane-gap: var(--vk-spacing); }
|
|
3213
|
+
[data-pane-gap="12"] .o-pane { --pane-gap: calc(var(--vk-spacing) * 3); }
|
|
3214
|
+
[data-pane-gap="16"] .o-pane { --pane-gap: calc(var(--vk-spacing) * 4); }
|
|
3215
|
+
[data-pane-padding="0"] .o-pane { --pane-pad: 0px; }
|
|
3216
|
+
[data-pane-padding="4"] .o-pane { --pane-pad: var(--vk-spacing); }
|
|
3217
|
+
[data-pane-padding="12"] .o-pane { --pane-pad: calc(var(--vk-spacing) * 3); }
|
|
3218
|
+
[data-pane-padding="16"] .o-pane { --pane-pad: calc(var(--vk-spacing) * 4); }
|
|
3219
|
+
|
|
3220
|
+
/* ── Its corners smooth: the smooth outline (smooth.css), as the Popover's. A cut would take the shadow with it, so
|
|
3221
|
+
.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
|
|
3222
|
+
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
|
|
3223
|
+
radius outside the smooth one, its edge and the cut's met in a light rim round the bend. Its corner a quarter
|
|
3224
|
+
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
|
|
3225
|
+
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
|
|
3226
|
+
under the edge, as dark as Round's ────── */
|
|
3227
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
3228
|
+
[data-pane-smoothing="smooth"] .o-pane { background-color: transparent; box-shadow: none; }
|
|
3229
|
+
[data-pane-smoothing="smooth"] .o-pane::before {
|
|
3230
|
+
content: ""; position: absolute; z-index: -1; inset: calc(var(--vk-border-width) / 2); border-radius: calc(var(--pane-corners) * 1.2);
|
|
3231
|
+
box-shadow: var(--pane-shadow); pointer-events: none;
|
|
3232
|
+
}
|
|
3233
|
+
[data-pane-smoothing="smooth"] .o-pane-cut { --pane-c: var(--pane-corners); background-color: var(--vk-overlay); }
|
|
3234
|
+
[data-pane-smoothing="smooth"] .o-pane-cut::before, [data-pane-smoothing="smooth"] .o-pane-cut::after { border-radius: 0; }
|
|
3235
|
+
[data-pane-smoothing="smooth"] .o-pane-cut, [data-pane-smoothing="smooth"] .o-pane-cut::before, [data-pane-smoothing="smooth"] .o-pane-cut::after {
|
|
3236
|
+
--smooth-t: var(--pane-c); clip-path: shape(var(--smooth-outline));
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3240
|
+
/* Under reduced motion it just appears. */
|
|
3241
|
+
@media (prefers-reduced-motion: reduce) { .o-pane { transition: none; } }
|
|
3242
|
+
|
|
2652
3243
|
/* ── The soft edge: three blurs of what passes under a floating head, each fading out lower down, so the blur is strongest at
|
|
2653
3244
|
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
|
|
2654
3245
|
gives it its height and, in --soft-edge-ground, its ground. ── */
|
|
@@ -3417,6 +4008,89 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3417
4008
|
.o-sheet-step { animation: none; }
|
|
3418
4009
|
}
|
|
3419
4010
|
|
|
4011
|
+
.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)); }
|
|
4012
|
+
.o-sort-editor:focus { outline: none; }
|
|
4013
|
+
.o-sort-editor-mark { display: inline-flex; flex: none; align-items: center; color: var(--vk-fg-subtle); }
|
|
4014
|
+
.o-sort-editor-mark svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
4015
|
+
|
|
4016
|
+
/* ── On a computer: the rules ────────────────────────────────────────────────────────────────────────────────────── */
|
|
4017
|
+
.o-sort-editor[data-sort-form="computer"] { width: max-content; max-width: 100%; gap: calc(var(--vk-spacing) * 3); }
|
|
4018
|
+
.o-sort-editor-foot { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); }
|
|
4019
|
+
.o-sort-editor-foot .o-sort-editor-clear { margin-left: auto; }
|
|
4020
|
+
.o-sort-editor-rules { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 2); }
|
|
4021
|
+
.o-sort-editor-rule { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; border-radius: var(--vk-radius-md); }
|
|
4022
|
+
.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); }
|
|
4023
|
+
.o-sort-editor-rule[data-lifted] .o-sort-editor-grip { cursor: grabbing; }
|
|
4024
|
+
.o-sort-editor-grip { flex: none; touch-action: none; }
|
|
4025
|
+
.o-sort-editor-field, .o-sort-editor-direction { position: relative; flex: none; min-width: 0; }
|
|
4026
|
+
.o-sort-editor-field { width: calc(var(--vk-spacing) * 52); }
|
|
4027
|
+
.o-sort-editor-direction { width: calc(var(--vk-spacing) * 38); }
|
|
4028
|
+
.o-sort-editor-field > .o-select, .o-sort-editor-direction > .o-select { width: 100%; }
|
|
4029
|
+
.o-sort-editor-remove { flex: none; }
|
|
4030
|
+
|
|
4031
|
+
/* 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
|
|
4032
|
+
under 192 (the kit's w-fit and min-w-48, written here since an app compiles no utilities of ViewKit's). */
|
|
4033
|
+
.o-popover.o-sort-editor-pop { width: fit-content; min-width: calc(var(--vk-spacing) * 48); }
|
|
4034
|
+
|
|
4035
|
+
/* 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
|
|
4036
|
+
under 192 nor its box, never past 288 (listWidth, select.css). Scoped to the editor, so it wins over the smooth list's own
|
|
4037
|
+
`position: relative` (list.css), which would stand it in the row and push the row's boxes apart (Mihai, 18 Nov 2026). */
|
|
4038
|
+
.o-sort-editor .o-sort-editor-shown { position: absolute; z-index: var(--vk-layer-popup); top: 100%; left: 0; }
|
|
4039
|
+
.o-sort-editor .o-sort-editor-shown[data-sort-shown="list"] {
|
|
4040
|
+
top: calc(100% + var(--vk-spacing)); display: flex; flex-direction: column;
|
|
4041
|
+
width: max-content; min-width: max(100%, calc(var(--vk-spacing) * 48)); max-width: calc(var(--vk-spacing) * 72);
|
|
4042
|
+
}
|
|
4043
|
+
|
|
4044
|
+
/* ── On a phone: the rules in their card, or what it says with none; Add sort and Clear all ─────────────────────── */
|
|
4045
|
+
.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)); }
|
|
4046
|
+
.o-sort-editor-none { display: grid; gap: calc(var(--vk-spacing) * 0.5); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
4047
|
+
.o-sort-editor-none p { margin: 0; }
|
|
4048
|
+
.o-sort-editor-none-head { font-weight: var(--vk-font-weight-medium); }
|
|
4049
|
+
.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)); }
|
|
4050
|
+
[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)); }
|
|
4051
|
+
.o-sort-editor-card .o-sort-editor-rule { gap: 0; padding-right: calc(var(--vk-spacing) * 1); border-radius: 0; }
|
|
4052
|
+
.o-sort-editor-card .o-sort-editor-rule[data-lifted] { background-color: var(--vk-overlay); }
|
|
4053
|
+
.o-sort-editor-press {
|
|
4054
|
+
display: flex; flex: 1; align-items: center; gap: calc(var(--vk-spacing) * 3); align-self: stretch; min-width: 0; margin: 0; padding: 0;
|
|
4055
|
+
border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent;
|
|
4056
|
+
}
|
|
4057
|
+
.o-sort-editor-press:focus-visible { outline: var(--vk-border-width) solid var(--vk-border-brand); outline-offset: calc(var(--vk-border-width) * -2); }
|
|
4058
|
+
[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); }
|
|
4059
|
+
.o-sort-editor-words { display: grid; min-width: 0; }
|
|
4060
|
+
.o-sort-editor-name, .o-sort-editor-way { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4061
|
+
.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)); }
|
|
4062
|
+
[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)); }
|
|
4063
|
+
.o-sort-editor-more { flex: none; }
|
|
4064
|
+
.o-sort-editor-acts { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
4065
|
+
.o-sort-editor-acts .o-button { width: 100%; }
|
|
4066
|
+
|
|
4067
|
+
/* ── The narrow form: the phone's rows on the Pane's ground at a computer's sizes; Add sort and Clear all at 32 ─────────────── */
|
|
4068
|
+
.o-sort-editor[data-sort-form="narrow"] { gap: calc(var(--vk-spacing) * 3); }
|
|
4069
|
+
[data-sort-form="narrow"] .o-sort-editor-rules { gap: 0; }
|
|
4070
|
+
/* 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
|
|
4071
|
+
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
|
|
4072
|
+
corners, for its focus ring, and has no ground of its own. */
|
|
4073
|
+
[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); }
|
|
4074
|
+
[data-sort-form="narrow"] .o-sort-editor-press {
|
|
4075
|
+
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);
|
|
4076
|
+
}
|
|
4077
|
+
[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); }
|
|
4078
|
+
@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); } }
|
|
4079
|
+
[data-sort-form="narrow"] .o-sort-editor-none { padding: 0 calc(var(--vk-spacing) * 2); }
|
|
4080
|
+
/* A list a page shows standing open, under its rule: never wider than the Pane's column. */
|
|
4081
|
+
.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%; }
|
|
4082
|
+
|
|
4083
|
+
/* ── A sort set aside (its field deleted or hidden), after the rules (Mihai, 27 Nov 2026) ─────────────────────────────── */
|
|
4084
|
+
/* On a computer an empty place where the grip stands; its field's box dashed in the warning colour, its words too; its
|
|
4085
|
+
direction greyed. On a phone and in the narrow form its why stands under its name in the warning colour. */
|
|
4086
|
+
.o-sort-editor-grip-place { flex: none; width: calc(var(--vk-spacing) * 5); }
|
|
4087
|
+
.o-sort-editor-why { display: flex; width: 100%; }
|
|
4088
|
+
.o-sort-editor-why > .o-select { width: 100%; }
|
|
4089
|
+
/* --input-edge is the Input's own edge colour (input.css), which the Select's box draws its edge with. */
|
|
4090
|
+
.o-sort-editor-aside .o-sort-editor-field .o-select-field { --input-edge: var(--vk-border-warning); border-style: dashed; color: var(--vk-warning); }
|
|
4091
|
+
.o-sort-editor-aside .o-sort-editor-field .o-select-placeholder { color: var(--vk-warning); }
|
|
4092
|
+
.o-sort-editor-aside .o-sort-editor-way { color: var(--vk-warning); }
|
|
4093
|
+
|
|
3420
4094
|
/* ── The arc, as a frame that names a kind other than the tail draws it (nothing picked is the tail, below) ─────────────────────────────────────────────────────────────────────── */
|
|
3421
4095
|
.o-spinner {
|
|
3422
4096
|
--o-spinner-turn: var(--vk-spinner-turn); --o-spinner-breath: var(--vk-spinner-breath); --o-spinner-weight: 1;
|
|
@@ -3983,6 +4657,90 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3983
4657
|
.o-text-editor .o-text-editor-mirror:where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
3984
4658
|
.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); }
|
|
3985
4659
|
|
|
4660
|
+
/* How long a toast stays, read by its script off the viewport (toastWait). */
|
|
4661
|
+
.o-toast-viewport { --toast-wait: var(--vk-toast-duration); }
|
|
4662
|
+
|
|
4663
|
+
/* ── Where it rises: centred at the bottom, 16px up; a toast that leaves and the one taking its place sit
|
|
4664
|
+
in the same spot ────────────────────────────────────────────────────────────────────────────────── */
|
|
4665
|
+
.o-toast-viewport {
|
|
4666
|
+
position: fixed; z-index: var(--vk-layer-popup); left: 0; right: 0; bottom: calc(var(--vk-spacing) * 4);
|
|
4667
|
+
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;
|
|
4668
|
+
}
|
|
4669
|
+
.o-toast-viewport.o-toast-viewport-inside { position: absolute; }
|
|
4670
|
+
.o-toast-viewport > .o-toast { grid-area: 1 / 1; }
|
|
4671
|
+
|
|
4672
|
+
/* ── The toast: the page's colours turned round, like the Tooltip, so it reads at once in both themes;
|
|
4673
|
+
the radius's corners, 40px tall, 16px in on the left; it floats, so it casts the large shadow ─────── */
|
|
4674
|
+
.o-toast {
|
|
4675
|
+
display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 3); box-sizing: border-box;
|
|
4676
|
+
width: max-content; max-width: min(calc(var(--vk-spacing) * 115), 100%); min-height: calc(var(--vk-spacing) * 10);
|
|
4677
|
+
padding: calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 4);
|
|
4678
|
+
border-radius: var(--vk-radius-lg); background-color: var(--vk-fg); color: var(--vk-ground); box-shadow: var(--vk-shadow-lg);
|
|
4679
|
+
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;
|
|
4680
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), translate var(--vk-duration-base) var(--vk-ease-out);
|
|
4681
|
+
}
|
|
4682
|
+
.o-toast:not(:has(.o-toast-act)) { padding-right: calc(var(--vk-spacing) * 4); }
|
|
4683
|
+
.o-toast:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
4684
|
+
/* It rises 16px and fades in; it fades out, quicker. */
|
|
4685
|
+
.o-toast[data-starting-style] { opacity: 0; translate: 0 calc(var(--vk-spacing) * 4); }
|
|
4686
|
+
.o-toast[data-ending-style] { opacity: 0; transition: opacity var(--vk-duration-fast) var(--vk-ease-in); }
|
|
4687
|
+
|
|
4688
|
+
/* ── Its words, then what to do about it: one word in the toast's words colour, semibold ─────────────── */
|
|
4689
|
+
.o-toast-words { min-width: 0; margin: 0; }
|
|
4690
|
+
.o-button.o-toast-act { color: var(--vk-ground); font-weight: var(--vk-font-weight-semibold); }
|
|
4691
|
+
/* Its focus ring hugs it, as the text kind's does. */
|
|
4692
|
+
.o-button.o-toast-act:is(:focus-visible, [data-force="focus"]) { outline-offset: 0; }
|
|
4693
|
+
|
|
4694
|
+
/* ── Working: the 14px spinner in front; failed: a circled ! in the danger colour ────────────────────── */
|
|
4695
|
+
.o-toast > .o-spinner { margin-right: calc(var(--vk-spacing) * -0.75); }
|
|
4696
|
+
.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); }
|
|
4697
|
+
|
|
4698
|
+
/* ── A title over its words, in the medium weight ─────────────────────────────────────────────────── */
|
|
4699
|
+
.o-toast-text { display: grid; gap: calc(var(--vk-spacing) * 0.5); min-width: 0; padding: calc(var(--vk-spacing) * 1) 0; }
|
|
4700
|
+
.o-toast-title { font-size: inherit; line-height: inherit; font-weight: var(--vk-font-weight-medium); }
|
|
4701
|
+
|
|
4702
|
+
/* ── Its meaning, as a Notice's: the meaning's icon in front, in its colour (failed is the danger one) ─ */
|
|
4703
|
+
.o-toast[data-type="information"] > .o-toast-mark { color: var(--vk-info); }
|
|
4704
|
+
.o-toast[data-type="success"] > .o-toast-mark { color: var(--vk-success); }
|
|
4705
|
+
.o-toast[data-type="warning"] > .o-toast-mark { color: var(--vk-warning); }
|
|
4706
|
+
|
|
4707
|
+
/* ── A × at its end: the quiet Button, its 16px icon in the toast's colours; the pointer gives it no fill,
|
|
4708
|
+
whatever the Button's look ─────────────────────────────────────────── */
|
|
4709
|
+
/* 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. */
|
|
4710
|
+
.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); }
|
|
4711
|
+
@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); } }
|
|
4712
|
+
|
|
4713
|
+
/* ── Several at once: each 460px or the width it has; the newest in front, the two before it the front
|
|
4714
|
+
one's height, peeking 8px above it each, each a little narrower (twice the press's step, from its top
|
|
4715
|
+
edge) so their edges show; the pointer or focus on them spreads them out, 8px apart, each its own
|
|
4716
|
+
height and width ───────────────────────────────────────────────────────────────────────────────────── */
|
|
4717
|
+
.o-toast-viewport[data-stack] > .o-toast {
|
|
4718
|
+
width: min(calc(var(--vk-spacing) * 115), 100%); z-index: calc(var(--toast-index) * -1); overflow: hidden;
|
|
4719
|
+
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);
|
|
4720
|
+
}
|
|
4721
|
+
.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; }
|
|
4722
|
+
.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); }
|
|
4723
|
+
.o-toast-viewport[data-stack] > .o-toast[data-limited] { opacity: 0; pointer-events: none; }
|
|
4724
|
+
.o-toast-viewport[data-stack] > .o-toast[data-starting-style] { translate: 0 calc(var(--vk-spacing) * 4); }
|
|
4725
|
+
|
|
4726
|
+
/* Under reduced motion it appears and goes without moving. */
|
|
4727
|
+
@media (prefers-reduced-motion: reduce) { .o-toast, .o-toast-viewport[data-stack] > .o-toast { transition: none; } .o-toast[data-starting-style] { translate: none; } }
|
|
4728
|
+
/* ── Its corners smooth: following corner-smoothing, drawn with the smooth outline
|
|
4729
|
+
(smooth.css) in every browser that knows shape(); one that doesn't keeps the corners above. Its round part is fitted to its
|
|
4730
|
+
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
|
|
4731
|
+
inside it (::before), clipped, as the Popover's is, the shadow and the ring on itself. ── */
|
|
4732
|
+
@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)) {
|
|
4733
|
+
.o-toast {
|
|
4734
|
+
--smooth-amount: var(--vk-corner-smoothing); --smooth-side: calc(var(--vk-spacing) * 10);
|
|
4735
|
+
--toast-fit: min(var(--vk-radius-lg), var(--vk-spacing) * 10 / (2 + 2 * var(--smooth-amount, 0.7))); --smooth-t: var(--toast-fit);
|
|
4736
|
+
position: relative; isolation: isolate; border-radius: var(--toast-fit); background-color: transparent;
|
|
4737
|
+
}
|
|
4738
|
+
.o-toast::before {
|
|
4739
|
+
content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
|
|
4740
|
+
background-color: var(--vk-fg); clip-path: shape(var(--smooth-outline));
|
|
4741
|
+
}
|
|
4742
|
+
}
|
|
4743
|
+
|
|
3986
4744
|
/* ── On: the neutral fill a step up (background-neutral-hovered), its words and icon in the text colour.
|
|
3987
4745
|
The surface's own selected fill sits 2% from its hover in light, so a toggle under the pointer would
|
|
3988
4746
|
read as on; this one is clear of it in both themes. It keeps it under the pointer and while pressed, in
|
|
@@ -5029,6 +5787,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
5029
5787
|
.min-w-32 {
|
|
5030
5788
|
min-width: calc(4px * 32);
|
|
5031
5789
|
}
|
|
5790
|
+
.min-w-\[calc\(var\(--vk-spacing\,var\(--spacing\)\)\*48\)\] {
|
|
5791
|
+
min-width: calc(var(--vk-spacing,4px) * 48);
|
|
5792
|
+
}
|
|
5032
5793
|
.flex-1 {
|
|
5033
5794
|
flex: 1;
|
|
5034
5795
|
}
|
|
@@ -7217,6 +7978,47 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7217
7978
|
--vk-label-teal-fill: hsl(196 52% 91.5%);
|
|
7218
7979
|
--vk-label-teal-edge: hsl(196 52% 74.5%);
|
|
7219
7980
|
--vk-label-teal-strong: hsl(193 82% 26%);
|
|
7981
|
+
--vk-layer-popup: 50;
|
|
7982
|
+
--vk-backdrop-alert-medium: hsl(214 30% 10% / 0.15);
|
|
7983
|
+
--vk-duration-base: 200ms;
|
|
7984
|
+
--vk-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
7985
|
+
--vk-backdrop-alert-light: hsl(214 30% 10% / 0.08);
|
|
7986
|
+
--vk-backdrop-alert-deep: hsl(214 30% 10% / 0.24);
|
|
7987
|
+
--vk-backdrop-veil-medium: hsl(0 0% 100% / 0.56);
|
|
7988
|
+
--vk-backdrop-veil-light: hsl(0 0% 100% / 0.4);
|
|
7989
|
+
--vk-backdrop-veil: hsl(0 0% 100% / 0.72);
|
|
7990
|
+
--vk-blur-xs: 4px;
|
|
7991
|
+
--vk-blur-sm: 8px;
|
|
7992
|
+
--vk-blur-md: 12px;
|
|
7993
|
+
--vk-blur-lg: 24px;
|
|
7994
|
+
--vk-spacing: 4px;
|
|
7995
|
+
--vk-radius-2xl: 20px;
|
|
7996
|
+
--vk-container-sm: 384px;
|
|
7997
|
+
--vk-border-width: 1px;
|
|
7998
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
7999
|
+
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
8000
|
+
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
8001
|
+
--vk-push-scale: 0.94;
|
|
8002
|
+
--vk-duration-fast: 150ms;
|
|
8003
|
+
--vk-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
8004
|
+
--vk-radius-lg: 10px;
|
|
8005
|
+
--vk-radius-xl: 15px;
|
|
8006
|
+
--vk-radius-3xl: 26.67px;
|
|
8007
|
+
--vk-font-size-lg: 18px;
|
|
8008
|
+
--vk-font-size-base: 16px;
|
|
8009
|
+
--vk-line-height-base: 1.5;
|
|
8010
|
+
--vk-font-weight-semibold: 600;
|
|
8011
|
+
--vk-font-size-sm: 14px;
|
|
8012
|
+
--vk-line-height-sm: 1.4286;
|
|
8013
|
+
--vk-overlay-card: hsl(0 0% 94%);
|
|
8014
|
+
--vk-overlay-card-pressed: hsl(220 7% 90%);
|
|
8015
|
+
--vk-radius-full: 9999px;
|
|
8016
|
+
--vk-brand-subtler: hsl(218 100% 94%);
|
|
8017
|
+
--vk-fg-accent: hsl(219 87% 54%);
|
|
8018
|
+
--vk-info-subtler: hsl(218 100% 94%);
|
|
8019
|
+
--vk-success-subtler: hsl(143 41% 91%);
|
|
8020
|
+
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
8021
|
+
--vk-danger-subtler: hsl(6 100% 94%);
|
|
7220
8022
|
--vk-person-1: #d7a77e;
|
|
7221
8023
|
--vk-person-2: #93b6ce;
|
|
7222
8024
|
--vk-person-3: #afc98f;
|
|
@@ -7225,26 +8027,17 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7225
8027
|
--vk-person-6: #9dabdd;
|
|
7226
8028
|
--vk-person-fg: #10141a;
|
|
7227
8029
|
--vk-success-bold: hsl(158 98% 26%);
|
|
7228
|
-
--vk-border-width: 1px;
|
|
7229
8030
|
--vk-dot-size: 6px;
|
|
7230
8031
|
--vk-font-size-2xl: 24px;
|
|
7231
8032
|
--vk-font-size-2xs: 10px;
|
|
7232
8033
|
--vk-font-size-3xs: 8px;
|
|
7233
|
-
--vk-font-size-sm: 14px;
|
|
7234
8034
|
--vk-font-size-xs: 12px;
|
|
7235
|
-
--vk-font-weight-semibold: 600;
|
|
7236
|
-
--vk-radius-2xl: 20px;
|
|
7237
|
-
--vk-radius-full: 9999px;
|
|
7238
|
-
--vk-radius-lg: 10px;
|
|
7239
8035
|
--vk-radius-md: 7.5px;
|
|
7240
8036
|
--vk-radius-sm: 5px;
|
|
7241
|
-
--vk-radius-xl: 15px;
|
|
7242
8037
|
--vk-radius-xs: 2.5px;
|
|
7243
|
-
--vk-spacing: 4px;
|
|
7244
8038
|
--vk-tracking-normal: 0em;
|
|
7245
8039
|
--vk-brand-hovered: hsl(219 70% 46.5%);
|
|
7246
8040
|
--vk-brand-pressed: hsl(219 70% 38%);
|
|
7247
|
-
--vk-brand-subtler: hsl(218 100% 94%);
|
|
7248
8041
|
--vk-brand-subtler-hovered: hsl(218 100% 89%);
|
|
7249
8042
|
--vk-brand-subtler-pressed: hsl(218 97% 82%);
|
|
7250
8043
|
--vk-danger-bold: hsl(0 81% 58%);
|
|
@@ -7266,15 +8059,10 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7266
8059
|
--vk-raised-hovered: hsl(220 3% 97%);
|
|
7267
8060
|
--vk-overlay-hovered: hsl(220 3% 97%);
|
|
7268
8061
|
--vk-overlay-pressed: hsl(0 0% 94%);
|
|
7269
|
-
--vk-overlay-card-pressed: hsl(220 7% 90%);
|
|
7270
8062
|
--vk-fg-disabled: hsl(210 1% 72%);
|
|
7271
|
-
--vk-fg-accent: hsl(219 87% 54%);
|
|
7272
8063
|
--vk-corner-smoothing: 0.7;
|
|
7273
8064
|
--vk-duration-instant: 60ms;
|
|
7274
|
-
--vk-duration-fast: 150ms;
|
|
7275
|
-
--vk-duration-base: 200ms;
|
|
7276
8065
|
--vk-duration-slow: 300ms;
|
|
7277
|
-
--vk-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
7278
8066
|
--vk-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
7279
8067
|
--vk-focus-width: 2px;
|
|
7280
8068
|
--vk-focus-offset: 2px;
|
|
@@ -7297,22 +8085,19 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7297
8085
|
--vk-shadow-rim-bold: inset 0 1px 0 0 hsl(0 0% 100% / 0.22);
|
|
7298
8086
|
--vk-shadow-rim-bold-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.3);
|
|
7299
8087
|
--vk-shadow-rim-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.14);
|
|
7300
|
-
--vk-font-size-base: 16px;
|
|
7301
|
-
--vk-font-size-lg: 18px;
|
|
7302
8088
|
--vk-border-danger: hsl(3 87% 68%);
|
|
7303
8089
|
--vk-input: hsl(0 0% 100% / 0);
|
|
7304
|
-
--vk-line-height-sm: 1.4286;
|
|
7305
8090
|
--vk-selected: hsl(0 0% 94.5%);
|
|
7306
8091
|
--vk-sunken: hsl(0 0% 98%);
|
|
7307
8092
|
--vk-sunken-hovered: hsl(0 0% 94.5%);
|
|
7308
|
-
--vk-
|
|
8093
|
+
--vk-ease-out-sharp: cubic-bezier(0.23, 1, 0.32, 1);
|
|
7309
8094
|
--vk-line-height-xs: 1.3333;
|
|
7310
8095
|
--vk-border-accent: hsl(219 90% 65.5%);
|
|
7311
8096
|
--vk-font-size-xl: 20px;
|
|
7312
8097
|
--vk-font-weight-normal: 400;
|
|
7313
|
-
--vk-overlay-card: hsl(0 0% 94%);
|
|
7314
8098
|
--vk-tracking-wide: 0.025em;
|
|
7315
8099
|
--vk-border-overlay-card: hsl(220 3% 86%);
|
|
8100
|
+
--vk-border-warning: hsl(20 63% 57.5%);
|
|
7316
8101
|
--vk-glass: hsl(0 0% 97% / 0.72);
|
|
7317
8102
|
--vk-glass-rim-soft: hsl(0 0% 100% / 0.82);
|
|
7318
8103
|
--vk-glass-rim-faint: hsl(0 0% 100% / 0.55);
|
|
@@ -7320,7 +8105,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7320
8105
|
--vk-shadow-glass: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.15);
|
|
7321
8106
|
--vk-shadow-glass-pair: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.12);
|
|
7322
8107
|
--vk-shadow-glass-pill: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.1);
|
|
7323
|
-
--vk-blur-md: 12px;
|
|
7324
8108
|
--vk-glass-icon-stroke: 1.7;
|
|
7325
8109
|
--vk-brand-300: hsl(218 100% 89%);
|
|
7326
8110
|
--vk-border-input-strong: hsl(210 1% 72%);
|
|
@@ -7330,24 +8114,31 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7330
8114
|
--vk-shadow-field-focus-danger: 0 0 10px 0 hsl(3 87% 68% / 0.3);
|
|
7331
8115
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
|
|
7332
8116
|
--vk-font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
7333
|
-
--vk-layer-popup: 50;
|
|
7334
8117
|
--vk-overlay-selected: hsl(220 7% 90%);
|
|
7335
|
-
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
7336
8118
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
7337
8119
|
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
7338
|
-
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
7339
8120
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
7340
8121
|
--vk-label-amber-pressed: hsl(24 86% 35.5%);
|
|
7341
8122
|
--vk-label-blue-pressed: hsl(219 70% 46.5%);
|
|
7342
8123
|
--vk-label-green-pressed: hsl(157 88% 24%);
|
|
7343
8124
|
--vk-label-purple-pressed: hsl(260 65% 55%);
|
|
7344
|
-
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
7345
|
-
--vk-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
7346
8125
|
--vk-hold-delay: 500ms;
|
|
7347
8126
|
--vk-submenu-delay: 100ms;
|
|
8127
|
+
--vk-layer-drawer: 40;
|
|
8128
|
+
--vk-backdrop-modal-light: hsl(214 30% 10% / 0.06);
|
|
8129
|
+
--vk-backdrop-modal-medium: hsl(214 30% 10% / 0.12);
|
|
8130
|
+
--vk-backdrop-modal-deep: hsl(214 30% 10% / 0.2);
|
|
8131
|
+
--vk-backdrop-modal-veil-light: hsl(0 0% 100% / 0.4);
|
|
8132
|
+
--vk-backdrop-modal-veil-medium: hsl(0 0% 100% / 0.56);
|
|
8133
|
+
--vk-backdrop-modal-veil-deep: hsl(0 0% 100% / 0.72);
|
|
8134
|
+
--vk-container-2xl: 672px;
|
|
8135
|
+
--vk-container-lg: 512px;
|
|
8136
|
+
--vk-container-4xl: 896px;
|
|
8137
|
+
--vk-container-5xl: 1024px;
|
|
8138
|
+
--vk-border-modal-ring: hsl(210 1% 88%);
|
|
8139
|
+
--vk-border-modal-edge: hsl(220 3% 86%);
|
|
8140
|
+
--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);
|
|
7348
8141
|
--vk-header: hsl(0 0% 100%);
|
|
7349
|
-
--vk-blur-xs: 4px;
|
|
7350
|
-
--vk-blur-sm: 8px;
|
|
7351
8142
|
--vk-border-selected: hsl(219 90% 65.5%);
|
|
7352
8143
|
--vk-scrollbar-size: 6px;
|
|
7353
8144
|
--vk-scrollbar-inset: 2px;
|
|
@@ -7360,10 +8151,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7360
8151
|
--vk-sheet-handle: hsl(210 1% 72%);
|
|
7361
8152
|
--vk-spring-exit: 120px;
|
|
7362
8153
|
--vk-spring-past: 12px;
|
|
7363
|
-
--vk-radius-3xl: 26.67px;
|
|
7364
8154
|
--vk-radius-4xl: 33.33px;
|
|
7365
8155
|
--vk-radius-5xl: 40px;
|
|
7366
|
-
--vk-layer-drawer: 40;
|
|
7367
8156
|
--vk-spring-smooth: 500ms 1;
|
|
7368
8157
|
--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);
|
|
7369
8158
|
--vk-duration-spring-smooth: 800ms;
|
|
@@ -7374,7 +8163,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7374
8163
|
--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);
|
|
7375
8164
|
--vk-duration-spring-lively: 633ms;
|
|
7376
8165
|
--vk-sheet-press-scale: 1.005;
|
|
7377
|
-
--vk-push-scale: 0.94;
|
|
7378
8166
|
--vk-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
7379
8167
|
--vk-loading-dim: 0.55;
|
|
7380
8168
|
--vk-progress-slide: 1400ms;
|
|
@@ -7385,7 +8173,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7385
8173
|
--vk-blue-700: hsl(219 87% 54%);
|
|
7386
8174
|
--vk-border-info: hsl(219 90% 65.5%);
|
|
7387
8175
|
--vk-border-success: hsl(149 43% 44.5%);
|
|
7388
|
-
--vk-border-warning: hsl(20 63% 57.5%);
|
|
7389
8176
|
--vk-brand-100: hsl(218 100% 98%);
|
|
7390
8177
|
--vk-brand-200: hsl(218 100% 94%);
|
|
7391
8178
|
--vk-brand-400: hsl(218 97% 82%);
|
|
@@ -7394,20 +8181,15 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7394
8181
|
--vk-brand-700: hsl(219 87% 54%);
|
|
7395
8182
|
--vk-brand-800: hsl(219 70% 46.5%);
|
|
7396
8183
|
--vk-brand-1000: hsl(219 72% 29%);
|
|
7397
|
-
--vk-danger-subtler: hsl(6 100% 94%);
|
|
7398
8184
|
--vk-green-700: hsl(158 98% 26%);
|
|
7399
|
-
--vk-info-subtler: hsl(218 100% 94%);
|
|
7400
8185
|
--vk-pink-700: hsl(335 73% 49.5%);
|
|
7401
8186
|
--vk-purple-700: hsl(260 100% 64.5%);
|
|
7402
8187
|
--vk-red-700: hsl(0 81% 58%);
|
|
7403
|
-
--vk-success-subtler: hsl(143 41% 91%);
|
|
7404
8188
|
--vk-teal-700: hsl(192 87% 32%);
|
|
7405
|
-
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
7406
8189
|
--vk-font-weight-bold: 700;
|
|
7407
|
-
--vk-
|
|
8190
|
+
--vk-toast-duration: 4000ms;
|
|
7408
8191
|
--vk-tooltip-delay: 500ms;
|
|
7409
8192
|
--vk-tooltip-warm: 300ms;
|
|
7410
|
-
--vk-toast-duration: 4000ms;
|
|
7411
8193
|
--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);
|
|
7412
8194
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(16 17 26 / 0.08);
|
|
7413
8195
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
|
|
@@ -7498,6 +8280,23 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7498
8280
|
--vk-label-teal-fill: hsl(196 32% 17.5%);
|
|
7499
8281
|
--vk-label-teal-edge: hsl(195 42% 22.5%);
|
|
7500
8282
|
--vk-label-teal-strong: hsl(196 67% 75.5%);
|
|
8283
|
+
--vk-backdrop-alert-medium: hsl(0 0% 0% / 0.22);
|
|
8284
|
+
--vk-backdrop-alert-light: hsl(0 0% 0% / 0.12);
|
|
8285
|
+
--vk-backdrop-alert-deep: hsl(0 0% 0% / 0.36);
|
|
8286
|
+
--vk-backdrop-veil-medium: hsl(226 10% 10% / 0.56);
|
|
8287
|
+
--vk-backdrop-veil-light: hsl(226 10% 10% / 0.4);
|
|
8288
|
+
--vk-backdrop-veil: hsl(226 10% 10% / 0.72);
|
|
8289
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
8290
|
+
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
8291
|
+
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
8292
|
+
--vk-overlay-card: hsl(225 7% 15%);
|
|
8293
|
+
--vk-overlay-card-pressed: hsl(220 4% 22%);
|
|
8294
|
+
--vk-brand-subtler: hsl(218 32% 14.5%);
|
|
8295
|
+
--vk-fg-accent: hsl(219 87% 59.5%);
|
|
8296
|
+
--vk-info-subtler: hsl(218 32% 14.5%);
|
|
8297
|
+
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
8298
|
+
--vk-warning-subtler: hsl(20 29% 13.5%);
|
|
8299
|
+
--vk-danger-subtler: hsl(6 27% 14.5%);
|
|
7501
8300
|
--vk-person-1: #d7a77e;
|
|
7502
8301
|
--vk-person-2: #93b6ce;
|
|
7503
8302
|
--vk-person-3: #afc98f;
|
|
@@ -7508,7 +8307,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7508
8307
|
--vk-success-bold: hsl(158 98% 34%);
|
|
7509
8308
|
--vk-brand-hovered: hsl(219 95% 64%);
|
|
7510
8309
|
--vk-brand-pressed: hsl(219 100% 72.5%);
|
|
7511
|
-
--vk-brand-subtler: hsl(218 32% 14.5%);
|
|
7512
8310
|
--vk-brand-subtler-hovered: hsl(219 46% 21%);
|
|
7513
8311
|
--vk-brand-subtler-pressed: hsl(219 55% 29%);
|
|
7514
8312
|
--vk-danger-bold: hsl(0 81% 58%);
|
|
@@ -7530,9 +8328,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7530
8328
|
--vk-raised-hovered: hsl(225 7% 15%);
|
|
7531
8329
|
--vk-overlay-hovered: hsl(225 7% 15%);
|
|
7532
8330
|
--vk-overlay-pressed: hsl(225 7% 15%);
|
|
7533
|
-
--vk-overlay-card-pressed: hsl(220 4% 22%);
|
|
7534
8331
|
--vk-fg-disabled: hsl(210 1% 37%);
|
|
7535
|
-
--vk-fg-accent: hsl(219 87% 59.5%);
|
|
7536
8332
|
--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);
|
|
7537
8333
|
--vk-shadow-key-pressed: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.18);
|
|
7538
8334
|
--vk-shadow-key-pressed-bold: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.42);
|
|
@@ -7552,8 +8348,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7552
8348
|
--vk-sunken: hsl(210 8% 5%);
|
|
7553
8349
|
--vk-sunken-hovered: hsl(210 4% 9.5%);
|
|
7554
8350
|
--vk-border-accent: hsl(219 66% 47%);
|
|
7555
|
-
--vk-overlay-card: hsl(225 7% 15%);
|
|
7556
8351
|
--vk-border-overlay-card: hsl(220 4% 22%);
|
|
8352
|
+
--vk-border-warning: hsl(22 74% 36%);
|
|
7557
8353
|
--vk-glass: hsl(0 0% 13% / 0.6);
|
|
7558
8354
|
--vk-glass-rim-soft: hsl(0 0% 100% / 0.12);
|
|
7559
8355
|
--vk-glass-rim-faint: hsl(0 0% 100% / 0.01);
|
|
@@ -7568,16 +8364,22 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7568
8364
|
--vk-shadow-field-focus-danger: 0 0 10px 0 hsl(1 55% 46.5% / 0.42);
|
|
7569
8365
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|
|
7570
8366
|
--vk-overlay-selected: hsl(225 7% 15%);
|
|
7571
|
-
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
7572
8367
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
7573
8368
|
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
7574
|
-
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
7575
8369
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
7576
8370
|
--vk-label-amber-pressed: hsl(21 66% 55%);
|
|
7577
8371
|
--vk-label-blue-pressed: hsl(219 95% 64%);
|
|
7578
8372
|
--vk-label-green-pressed: hsl(150 45% 51.5%);
|
|
7579
8373
|
--vk-label-purple-pressed: hsl(256 100% 73%);
|
|
7580
|
-
--vk-
|
|
8374
|
+
--vk-backdrop-modal-light: hsl(0 0% 0% / 0.1);
|
|
8375
|
+
--vk-backdrop-modal-medium: hsl(0 0% 0% / 0.18);
|
|
8376
|
+
--vk-backdrop-modal-deep: hsl(0 0% 0% / 0.3);
|
|
8377
|
+
--vk-backdrop-modal-veil-light: hsl(226 10% 10% / 0.4);
|
|
8378
|
+
--vk-backdrop-modal-veil-medium: hsl(226 10% 10% / 0.56);
|
|
8379
|
+
--vk-backdrop-modal-veil-deep: hsl(226 10% 10% / 0.72);
|
|
8380
|
+
--vk-border-modal-ring: hsl(210 2% 19%);
|
|
8381
|
+
--vk-border-modal-edge: hsl(220 4% 22%);
|
|
8382
|
+
--vk-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
7581
8383
|
--vk-header: hsl(210 6% 7%);
|
|
7582
8384
|
--vk-border-selected: hsl(219 66% 47%);
|
|
7583
8385
|
--vk-scrollbar-thumb: hsl(210 2% 26.5%);
|
|
@@ -7590,7 +8392,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7590
8392
|
--vk-blue-700: hsl(219 87% 59.5%);
|
|
7591
8393
|
--vk-border-info: hsl(219 66% 47%);
|
|
7592
8394
|
--vk-border-success: hsl(153 64% 32%);
|
|
7593
|
-
--vk-border-warning: hsl(22 74% 36%);
|
|
7594
8395
|
--vk-brand-100: hsl(218 15% 10%);
|
|
7595
8396
|
--vk-brand-200: hsl(218 32% 14.5%);
|
|
7596
8397
|
--vk-brand-400: hsl(219 55% 29%);
|
|
@@ -7599,16 +8400,11 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7599
8400
|
--vk-brand-700: hsl(219 87% 59.5%);
|
|
7600
8401
|
--vk-brand-800: hsl(219 95% 64%);
|
|
7601
8402
|
--vk-brand-1000: hsl(218 100% 81%);
|
|
7602
|
-
--vk-danger-subtler: hsl(6 27% 14.5%);
|
|
7603
8403
|
--vk-green-700: hsl(158 98% 34%);
|
|
7604
|
-
--vk-info-subtler: hsl(218 32% 14.5%);
|
|
7605
8404
|
--vk-pink-700: hsl(335 73% 57.5%);
|
|
7606
8405
|
--vk-purple-700: hsl(260 100% 69%);
|
|
7607
8406
|
--vk-red-700: hsl(0 81% 58%);
|
|
7608
|
-
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
7609
8407
|
--vk-teal-700: hsl(192 87% 40%);
|
|
7610
|
-
--vk-warning-subtler: hsl(20 29% 13.5%);
|
|
7611
|
-
--vk-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
7612
8408
|
--vk-t-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
7613
8409
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(255 255 255 / 0.08);
|
|
7614
8410
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|