viewkitjs 0.28.0 → 0.29.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 +107 -0
- package/MIGRATION.md +85 -4
- package/fields/dist/derived.d.ts +2 -1
- package/fields/dist/derived.js +9 -3
- package/fields/dist/entities.js +41 -3
- package/fields/dist/index.d.ts +1 -1
- package/fields/dist/index.js +1 -1
- package/fields/dist/messages.d.ts +8 -2
- package/fields/dist/messages.js +3 -0
- package/fields/dist/range.d.ts +6 -0
- package/fields/dist/range.js +8 -0
- package/fields/dist/registry.js +11 -1
- package/fields/dist/spec-changes.js +1 -0
- package/fields/dist/types.d.ts +23 -1
- package/fields/docs/guides/derived-fields.md +7 -5
- package/fields/docs/guides/field-types.md +2 -2
- package/fields/docs/guides/the-index.md +1 -1
- package/fields/docs/reference/fields.md +3 -1
- package/fields/docs/reference/types.md +3 -1
- package/fields/skills/viewkit/SKILL.md +1 -1
- package/package.json +2 -1
- package/postgres/dist/definitions/build.js +29 -5
- package/postgres/dist/definitions/label.d.ts +7 -0
- package/postgres/dist/definitions/label.js +9 -1
- package/postgres/dist/definitions/lookup.js +6 -2
- package/postgres/dist/definitions/place.d.ts +6 -3
- package/postgres/dist/definitions/rollup.js +5 -1
- package/postgres/dist/definitions/storage.d.ts +15 -0
- package/postgres/dist/definitions/storage.js +52 -1
- package/postgres/dist/definitions/stored.js +21 -0
- package/postgres/dist/phone.d.ts +13 -1
- package/postgres/dist/phone.js +23 -3
- package/postgres/dist/search-indexes.d.ts +6 -1
- package/postgres/dist/search-indexes.js +71 -25
- package/postgres/dist/search.js +3 -3
- package/postgres/docs/guides/definitions.md +22 -5
- package/postgres/docs/guides/field-map.md +5 -4
- package/postgres/docs/reference/definitions.md +3 -3
- package/postgres/docs/reference/postgres.md +1 -1
- package/views/dist/cells/cell-format.js +2 -2
- package/views/dist/cells/cell-values.js +9 -10
- package/views/dist/contract.d.ts +149 -3
- package/views/dist/contract.js +157 -1
- package/views/dist/controls/bulk-bar/bulk-bar-of.d.ts +66 -0
- package/views/dist/controls/bulk-bar/bulk-bar-of.js +22 -0
- package/views/dist/controls/bulk-bar/bulk-bar.d.ts +40 -0
- package/views/dist/controls/bulk-bar/bulk-bar.js +278 -0
- package/views/dist/controls/bulk-bar/looks.d.ts +10 -0
- package/views/dist/controls/bulk-bar/looks.js +14 -0
- package/views/dist/controls/bulk-bar/map-selection-bar.d.ts +19 -0
- package/views/dist/controls/bulk-bar/map-selection-bar.js +57 -0
- package/views/dist/controls/bulk-bar/tokens.d.ts +136 -0
- package/views/dist/controls/bulk-bar/tokens.js +36 -0
- package/views/dist/controls/bulk-bar/words.d.ts +50 -0
- package/views/dist/controls/bulk-bar/words.js +19 -0
- package/views/dist/controls/bulk-bar.css +96 -0
- package/views/dist/controls/button/button.js +3 -1
- package/views/dist/controls/button.css +5 -4
- package/views/dist/controls/checkbox/checkbox.js +3 -1
- package/views/dist/controls/checkbox.css +1 -1
- package/views/dist/controls/choice/tokens.d.ts +79 -0
- package/views/dist/controls/choice/tokens.js +22 -0
- package/views/dist/controls/choice.css +31 -0
- package/views/dist/controls/compound-editor/looks.js +1 -1
- package/views/dist/controls/controls.d.ts +10 -0
- package/views/dist/controls/controls.js +8 -0
- package/views/dist/controls/customize/customize.d.ts +125 -0
- package/views/dist/controls/customize/customize.js +243 -0
- package/views/dist/controls/customize/glide.d.ts +10 -0
- package/views/dist/controls/customize/glide.js +55 -0
- package/views/dist/controls/customize/looks.d.ts +13 -0
- package/views/dist/controls/customize/looks.js +11 -0
- package/views/dist/controls/customize/map-customize-body.d.ts +18 -0
- package/views/dist/controls/customize/map-customize-body.js +160 -0
- package/views/dist/controls/customize/rules.d.ts +23 -0
- package/views/dist/controls/customize/rules.js +19 -0
- package/views/dist/controls/customize/tokens.d.ts +40 -0
- package/views/dist/controls/customize/tokens.js +12 -0
- package/views/dist/controls/customize/words.d.ts +58 -0
- package/views/dist/controls/customize/words.js +37 -0
- package/views/dist/controls/customize.css +54 -0
- package/views/dist/controls/date-editor/looks.js +1 -1
- package/views/dist/controls/filter-editor/block.d.ts +31 -0
- package/views/dist/controls/filter-editor/block.js +27 -0
- package/views/dist/controls/filter-editor/filter-editor.d.ts +2 -0
- package/views/dist/controls/filter-editor/filter-editor.js +85 -43
- package/views/dist/controls/filter-editor/how.d.ts +1 -1
- package/views/dist/controls/filter-editor/how.js +1 -0
- package/views/dist/controls/filter-editor/map-filter-body.d.ts +16 -1
- package/views/dist/controls/filter-editor/map-filter-body.js +39 -13
- package/views/dist/controls/filter-editor/map-rules.d.ts +27 -11
- package/views/dist/controls/filter-editor/map-rules.js +73 -42
- package/views/dist/controls/filter-editor/rules.d.ts +43 -5
- package/views/dist/controls/filter-editor/rules.js +55 -2
- package/views/dist/controls/filter-editor/words.d.ts +15 -0
- package/views/dist/controls/filter-editor/words.js +6 -0
- package/views/dist/controls/filter-editor.css +18 -0
- package/views/dist/controls/index.d.ts +26 -2
- package/views/dist/controls/index.js +25 -2
- package/views/dist/controls/inline-input/looks.js +1 -1
- package/views/dist/controls/input/input.js +10 -4
- package/views/dist/controls/internal/phone.d.ts +5 -4
- package/views/dist/controls/internal/phone.js +7 -7
- package/views/dist/controls/internal/scroll.js +5 -1
- package/views/dist/controls/internal/typed-run.d.ts +2 -0
- package/views/dist/controls/internal/typed-run.js +5 -0
- package/views/dist/controls/menu/map-menu.js +2 -2
- package/views/dist/controls/number-editor/looks.js +1 -1
- package/views/dist/controls/option/option.js +3 -1
- package/views/dist/controls/option.css +1 -1
- package/views/dist/controls/pane/pane.d.ts +4 -0
- package/views/dist/controls/pane/pane.js +2 -1
- package/views/dist/controls/picker/looks.js +1 -1
- package/views/dist/controls/picker/map-picker.d.ts +6 -2
- package/views/dist/controls/picker/map-picker.js +4 -2
- package/views/dist/controls/picker/picker.d.ts +7 -0
- package/views/dist/controls/picker/picker.js +57 -8
- package/views/dist/controls/popover/map-popover.d.ts +1 -1
- package/views/dist/controls/popover/map-popover.js +2 -2
- package/views/dist/controls/popover/popover.js +2 -1
- package/views/dist/controls/popover.css +3 -0
- package/views/dist/controls/ports-host/map-ports-host.d.ts +7 -0
- package/views/dist/controls/ports-host/map-ports-host.js +43 -0
- package/views/dist/controls/press/tokens.d.ts +8 -0
- package/views/dist/controls/press/tokens.js +4 -0
- package/views/dist/controls/press.css +44 -0
- package/views/dist/controls/quick-filters/looks.d.ts +11 -0
- package/views/dist/controls/quick-filters/looks.js +9 -0
- package/views/dist/controls/quick-filters/map-quick-filters-body.d.ts +31 -0
- package/views/dist/controls/quick-filters/map-quick-filters-body.js +56 -0
- package/views/dist/controls/quick-filters/quick-filters.d.ts +37 -0
- package/views/dist/controls/quick-filters/quick-filters.js +89 -0
- package/views/dist/controls/quick-filters/reminder.d.ts +18 -0
- package/views/dist/controls/quick-filters/reminder.js +41 -0
- package/views/dist/controls/quick-filters/rules.d.ts +89 -0
- package/views/dist/controls/quick-filters/rules.js +52 -0
- package/views/dist/controls/quick-filters/tokens.d.ts +112 -0
- package/views/dist/controls/quick-filters/tokens.js +30 -0
- package/views/dist/controls/quick-filters/words.d.ts +25 -0
- package/views/dist/controls/quick-filters/words.js +13 -0
- package/views/dist/controls/quick-filters.css +118 -0
- package/views/dist/controls/sheet/bottom-sheet.d.ts +9 -4
- package/views/dist/controls/sheet/bottom-sheet.js +4 -4
- package/views/dist/controls/sheet/map-sheet.d.ts +4 -1
- package/views/dist/controls/sheet/map-sheet.js +19 -6
- package/views/dist/controls/sheet/sheet-parts.d.ts +10 -0
- package/views/dist/controls/sheet/sheet-parts.js +2 -0
- package/views/dist/controls/switch-row/switch-row.d.ts +15 -0
- package/views/dist/controls/switch-row/switch-row.js +9 -0
- package/views/dist/controls/switch-row/tokens.d.ts +51 -0
- package/views/dist/controls/switch-row/tokens.js +15 -0
- package/views/dist/controls/switch-row.css +39 -0
- package/views/dist/controls/switch.css +1 -1
- package/views/dist/controls/tag/tag.js +3 -1
- package/views/dist/controls/tag-field/tag-field.d.ts +20 -0
- package/views/dist/controls/tag-field/tag-field.js +19 -0
- package/views/dist/controls/tag-field/tokens.d.ts +7 -0
- package/views/dist/controls/tag-field/tokens.js +4 -0
- package/views/dist/controls/tag-field.css +13 -0
- package/views/dist/controls/text-editor/looks.js +1 -1
- package/views/dist/controls/text-editor/text-editor.js +1 -5
- package/views/dist/controls/toast/toast.d.ts +5 -1
- package/views/dist/controls/toast/toast.js +5 -3
- package/views/dist/controls/tokens.js +18 -0
- package/views/dist/controls/toolbar/keys.d.ts +3 -0
- package/views/dist/controls/toolbar/keys.js +11 -0
- package/views/dist/controls/toolbar/looks.d.ts +10 -0
- package/views/dist/controls/toolbar/looks.js +40 -0
- package/views/dist/controls/toolbar/tokens.d.ts +28 -0
- package/views/dist/controls/toolbar/tokens.js +9 -0
- package/views/dist/controls/toolbar/toolbar.d.ts +111 -0
- package/views/dist/controls/toolbar/toolbar.js +370 -0
- package/views/dist/controls/toolbar/words.d.ts +28 -0
- package/views/dist/controls/toolbar/words.js +17 -0
- package/views/dist/controls/toolbar-button/looks.d.ts +4 -0
- package/views/dist/controls/toolbar-button/looks.js +21 -0
- package/views/dist/controls/toolbar-button/tokens.d.ts +103 -0
- package/views/dist/controls/toolbar-button/tokens.js +28 -0
- package/views/dist/controls/toolbar-button/toolbar-button.d.ts +66 -0
- package/views/dist/controls/toolbar-button/toolbar-button.js +51 -0
- package/views/dist/controls/toolbar-button.css +75 -0
- package/views/dist/controls/toolbar.css +65 -0
- package/views/dist/controls/tooltip/map-tooltip.d.ts +1 -1
- package/views/dist/controls/tooltip/map-tooltip.js +2 -2
- package/views/dist/controls/tooltip/tooltip.d.ts +3 -1
- package/views/dist/controls/tooltip/tooltip.js +2 -2
- package/views/dist/controls/values-editor/looks.js +1 -1
- package/views/dist/controls/views-list/map-views-list-body.d.ts +4 -1
- package/views/dist/controls/views-list/map-views-list-body.js +128 -4
- package/views/dist/controls/views-list/rules.d.ts +26 -0
- package/views/dist/controls/views-list/rules.js +63 -0
- package/views/dist/controls/views-list/view-menu.d.ts +84 -0
- package/views/dist/controls/views-list/view-menu.js +201 -0
- package/views/dist/controls/views-list/views-list.d.ts +8 -1
- package/views/dist/controls/views-list/views-list.js +18 -3
- package/views/dist/controls/views-list/words.d.ts +54 -0
- package/views/dist/controls/views-list/words.js +10 -1
- package/views/dist/controls/views-list.css +5 -1
- package/views/dist/display/date.js +3 -3
- package/views/dist/display/format.d.ts +6 -0
- package/views/dist/display/format.js +3 -0
- package/views/dist/display/index.d.ts +1 -1
- package/views/dist/display/index.js +1 -1
- package/views/dist/display/range.d.ts +2 -1
- package/views/dist/display/range.js +4 -1
- package/views/dist/grid/chrome/GridHeader.js +2 -1
- package/views/dist/grid/chrome/GridNumberEditor.js +2 -2
- package/views/dist/grid/chrome/GridRowCells.js +2 -1
- package/views/dist/grid/chrome/GridTextEditor.js +2 -2
- package/views/dist/grid/chrome/grid-editor-layer.d.ts +5 -1
- package/views/dist/grid/chrome/grid-editor-layer.js +1 -0
- package/views/dist/grid/chrome/grid-fitted-box.d.ts +7 -1
- package/views/dist/grid/chrome/grid-fitted-box.js +4 -4
- package/views/dist/grid/core/clipboard-model.js +9 -4
- package/views/dist/grid/grid.css +240 -0
- package/views/dist/grid/looks.d.ts +5 -1
- package/views/dist/grid/looks.js +20 -12
- package/views/dist/grid-tokens.d.ts +109 -0
- package/views/dist/grid-tokens.js +29 -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/model/column-capabilities.d.ts +2 -0
- package/views/dist/model/column-filters.d.ts +2 -1
- package/views/dist/model/column-from.js +2 -2
- package/views/dist/model/relation-filters.d.ts +2 -0
- package/views/dist/panels/index.d.ts +2 -2
- package/views/dist/panels/index.js +2 -2
- package/views/dist/panels/labels.d.ts +4 -0
- package/views/dist/panels/labels.js +8 -0
- package/views/dist/panels/model.d.ts +10 -2
- package/views/dist/panels/quick/model.d.ts +4 -0
- package/views/dist/panels/react/customize-body.d.ts +9 -4
- package/views/dist/panels/react/customize-body.js +39 -11
- package/views/dist/panels/react/customize.d.ts +8 -1
- package/views/dist/panels/react/customize.js +9 -6
- package/views/dist/panels/react/filter/FilterEditor.js +4 -4
- package/views/dist/panels/react/filter/FilterFieldList.js +10 -2
- package/views/dist/panels/react/filter/PhoneFilterEditor.js +3 -3
- package/views/dist/panels/react/filter/filter-body.js +5 -2
- package/views/dist/panels/react/panel-step.d.ts +3 -0
- package/views/dist/panels/react/panel-step.js +2 -1
- package/views/dist/panels/react/quick/QuickFiltersPanel.js +1 -0
- package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +13 -3
- package/views/dist/panels/react/toolbar/ReadyToolbar.js +10 -3
- package/views/dist/panels/react/toolbar/Toolbar.js +1 -1
- package/views/dist/panels/react/toolbar/ToolbarAsideFilter.js +2 -2
- package/views/dist/panels/react/toolbar/ToolbarBarFilter.js +13 -3
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +2 -1
- package/views/dist/panels/react/toolbar/ToolbarFilters.js +3 -3
- package/views/dist/panels/react/toolbar/ToolbarOptions.d.ts +12 -4
- package/views/dist/panels/react/toolbar/ToolbarOptions.js +6 -2
- package/views/dist/panels/react/view-footer.d.ts +1 -1
- package/views/dist/panels/react/views-row/ViewPicker.js +25 -4
- package/views/dist/panels/settings/filter-groups.d.ts +3 -0
- package/views/dist/panels/settings/filter-groups.js +40 -9
- package/views/dist/panels/settings/filters.d.ts +5 -0
- package/views/dist/panels/settings/filters.js +12 -6
- package/views/dist/panels/views-row/model.d.ts +10 -1
- package/views/dist/provider/ViewsProvider.js +29 -5
- package/views/dist/provider/components.d.ts +149 -8
- package/views/dist/provider/context.d.ts +6 -0
- package/views/dist/provider/ports.d.ts +18 -6
- package/views/dist/provider/ports.js +2 -1
- package/views/dist/react.d.ts +2 -2
- package/views/dist/react.js +1 -1
- package/views/dist/selection/SelectionBar.d.ts +2 -16
- package/views/dist/selection/SelectionBar.js +4 -1
- package/views/dist/selection/bar-props.d.ts +26 -0
- package/views/dist/selection/bar-props.js +1 -0
- package/views/dist/selection/index.d.ts +1 -1
- package/views/dist/selection/verbs.d.ts +32 -5
- package/views/dist/styles.css +656 -25
- package/views/dist/styles.unlayered.css +653 -22
- package/views/docs/contract.md +44 -17
- package/views/docs/controls/bulk-bar.md +41 -0
- package/views/docs/controls/choice.md +25 -0
- package/views/docs/controls/customize.md +17 -0
- package/views/docs/controls/popover.md +2 -0
- package/views/docs/controls/press.md +9 -0
- package/views/docs/controls/quick-filters.md +35 -0
- package/views/docs/controls/radio.md +1 -1
- package/views/docs/controls/switch-row.md +18 -0
- package/views/docs/controls/tag-field.md +7 -0
- package/views/docs/controls/toolbar-button.md +31 -0
- package/views/docs/controls/toolbar.md +14 -0
- package/views/docs/guides/atoms.md +2 -2
- package/views/docs/guides/cells.md +2 -2
- package/views/docs/guides/display.md +2 -2
- package/views/docs/guides/looks.md +8 -2
- package/views/docs/guides/ports.md +6 -6
- package/views/docs/guides/selection.md +5 -1
- package/views/docs/guides/the-grid.md +1 -1
- package/views/docs/guides/the-provider.md +2 -2
- package/views/docs/install.md +4 -1
- package/views/docs/reference/cells.md +1 -1
- package/views/docs/reference/controls.md +194 -13
- package/views/docs/reference/display.md +1 -0
- package/views/docs/reference/looks.md +25 -11
- package/views/docs/reference/panels-react.md +7 -7
- package/views/docs/reference/panels.md +8 -6
- package/views/docs/reference/react.md +13 -6
- package/views/docs/reference/selection.md +4 -2
- package/views/docs/reference/views.md +7 -6
- package/views/skills/views/SKILL.md +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! viewkitjs 0.
|
|
1
|
+
/*! viewkitjs 0.29.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] *),
|
|
@@ -565,6 +565,82 @@
|
|
|
565
565
|
mask-size: 100% 100%, var(--avatar-own-size, 0 0), var(--avatar-next-size, 0 0), var(--avatar-prev-size, 0 0);
|
|
566
566
|
}
|
|
567
567
|
|
|
568
|
+
/* Where it stands and how tall it is, for each form: read by the bar, by the room its Toast rises in, and by what holds the bar. */
|
|
569
|
+
:is(.o-bulk-bar, .o-bulk-bar-toasts), :has(> .o-bulk-bar) { --bulk-bar-bottom: calc(var(--vk-spacing) * 4); --bulk-bar-height: calc(var(--vk-spacing) * 11 + var(--vk-border-width) * 2); }
|
|
570
|
+
:is(.o-bulk-bar, .o-bulk-bar-toasts)[data-form="tray"], :has(> .o-bulk-bar[data-form="tray"]) {
|
|
571
|
+
--bulk-bar-bottom: max(var(--safe-area-bottom, env(safe-area-inset-bottom, 0px)), calc(var(--vk-spacing) * 4));
|
|
572
|
+
--bulk-bar-height: calc(var(--vk-spacing) * 15 + var(--vk-border-width) * 2);
|
|
573
|
+
}
|
|
574
|
+
:is(.o-bulk-bar, .o-bulk-bar-toasts)[data-form="pill"], :has(> .o-bulk-bar[data-form="pill"]) {
|
|
575
|
+
--bulk-bar-bottom: max(var(--safe-area-bottom, env(safe-area-inset-bottom, 0px)), calc(var(--vk-spacing) * 4));
|
|
576
|
+
--bulk-bar-height: calc(var(--vk-spacing) * 13);
|
|
577
|
+
}
|
|
578
|
+
/* The room it takes, handed to what holds it while it is shown, and gone with it: a list that scrolls in the holder pads its foot by
|
|
579
|
+
it, so its last row scrolls whole above the bar, a step clear of it (KIT-771). */
|
|
580
|
+
:has(> .o-bulk-bar) { --bulk-bar-room: 0; }
|
|
581
|
+
:has(> .o-bulk-bar[data-shown]) { --bulk-bar-room: calc(var(--bulk-bar-bottom) + var(--bulk-bar-height) + var(--vk-spacing) * 2); }
|
|
582
|
+
|
|
583
|
+
.o-bulk-bar {
|
|
584
|
+
position: absolute; z-index: var(--vk-layer-sticky); left: 50%; bottom: var(--bulk-bar-bottom); translate: -50% 0;
|
|
585
|
+
display: flex; box-sizing: border-box; width: max-content; max-width: calc(100% - var(--vk-spacing) * 8);
|
|
586
|
+
padding: calc(var(--vk-spacing) * 1.5);
|
|
587
|
+
border: var(--vk-border-width) solid var(--vk-border); border-radius: var(--vk-radius-xl);
|
|
588
|
+
background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); color: var(--vk-fg); white-space: nowrap;
|
|
589
|
+
opacity: 1;
|
|
590
|
+
}
|
|
591
|
+
.o-bulk-bar:not([data-shown]) { display: none; opacity: 0; translate: -50% calc(var(--vk-spacing) * 2); }
|
|
592
|
+
|
|
593
|
+
/* It comes up from just under its place and goes back down, as a popup comes. Still where a person asks for less motion. */
|
|
594
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
595
|
+
.o-bulk-bar {
|
|
596
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), translate var(--vk-duration-base) var(--vk-ease-out), display var(--vk-duration-base) allow-discrete;
|
|
597
|
+
@starting-style { opacity: 0; translate: -50% calc(var(--vk-spacing) * 2); }
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
/* The count: the number on the brand, Selected, ×; its edge dashed, as Attio's. One button: a press clears the selection. */
|
|
602
|
+
.o-bulk-bar-count {
|
|
603
|
+
display: inline-flex; flex: none; align-items: center; gap: calc(var(--vk-spacing) * 2); box-sizing: border-box;
|
|
604
|
+
height: calc(var(--vk-spacing) * 8); margin: 0; padding-inline: calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 2);
|
|
605
|
+
border: var(--vk-border-width) dashed var(--vk-border-input); border-radius: var(--vk-radius-lg); background-color: transparent;
|
|
606
|
+
color: var(--vk-fg-subtle); font: inherit; font-size: var(--vk-font-size-sm); line-height: var(--vk-line-height-sm); font-weight: var(--vk-font-weight-medium);
|
|
607
|
+
white-space: nowrap; cursor: pointer;
|
|
608
|
+
}
|
|
609
|
+
.o-bulk-bar-count > svg { flex: none; color: var(--vk-fg-subtlest); }
|
|
610
|
+
@media (hover: hover) { .o-bulk-bar-count:hover:not(:disabled) { background-color: var(--vk-neutral-hovered); } }
|
|
611
|
+
.o-bulk-bar-count:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
612
|
+
.o-bulk-bar-count:disabled { color: var(--vk-fg-disabled); cursor: not-allowed; }
|
|
613
|
+
|
|
614
|
+
.o-bulk-bar-number {
|
|
615
|
+
display: inline-grid; place-items: center; box-sizing: border-box; min-width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5);
|
|
616
|
+
padding-inline: calc(var(--vk-spacing) * 1.25); border-radius: var(--vk-radius-sm);
|
|
617
|
+
background-color: var(--vk-brand); color: var(--vk-fg-on-brand);
|
|
618
|
+
font-size: var(--vk-font-size-xs); line-height: 1; font-weight: var(--vk-font-weight-semibold); font-variant-numeric: tabular-nums;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/* Every verb, out of sight and out of reach, measured as drawn, in a box of no size, so it never widens what holds the bar. */
|
|
622
|
+
.o-bulk-bar-measure { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
|
|
623
|
+
.o-bulk-bar-measure > div { display: flex; width: max-content; gap: calc(var(--vk-spacing) * 1.5); white-space: nowrap; }
|
|
624
|
+
.o-bulk-bar-measure [data-m="sep"] { display: inline-flex; }
|
|
625
|
+
.o-bulk-bar[data-form="tray"] .o-bulk-bar-measure > div { gap: calc(var(--vk-spacing) * 2); }
|
|
626
|
+
|
|
627
|
+
/* On a phone, the tray: the verbs at 44 on the overlay, standing just above the phone's foot. */
|
|
628
|
+
.o-bulk-bar[data-form="tray"] { padding: calc(var(--vk-spacing) * 2); border-radius: var(--vk-radius-2xl); box-shadow: var(--vk-shadow-menu); }
|
|
629
|
+
|
|
630
|
+
/* The pill, the other way: the count in the brand, ✕, a hairline, Actions; round. */
|
|
631
|
+
.o-bulk-bar[data-form="pill"] {
|
|
632
|
+
align-items: center; box-sizing: border-box; height: calc(var(--vk-spacing) * 13);
|
|
633
|
+
padding: 0 calc(var(--vk-spacing) * 1.5) 0 calc(var(--vk-spacing) * 4.5); border-radius: var(--vk-radius-full); box-shadow: var(--vk-shadow-menu);
|
|
634
|
+
}
|
|
635
|
+
.o-bulk-bar-words { flex: none; color: var(--vk-fg-subtle); font-size: var(--vk-font-size-base); line-height: var(--vk-line-height-base); }
|
|
636
|
+
.o-bulk-bar-words > .o-bulk-bar-number { display: inline; min-width: 0; height: auto; padding: 0; border-radius: 0; background-color: transparent; color: var(--vk-fg-accent); font-size: inherit; line-height: inherit; }
|
|
637
|
+
|
|
638
|
+
/* Its Toast rises just above it: the Toast's own room (inside), whose foot stands a step above the bar's top. */
|
|
639
|
+
.o-bulk-bar-toasts {
|
|
640
|
+
position: absolute; z-index: var(--vk-layer-sticky); inset-inline: 0; height: 0; pointer-events: none;
|
|
641
|
+
bottom: calc(var(--bulk-bar-bottom) + var(--bulk-bar-height) - var(--vk-spacing) * 2);
|
|
642
|
+
}
|
|
643
|
+
|
|
568
644
|
/* ── At rest ──────────────────────────────────────────────────────────────────────────────────────── */
|
|
569
645
|
:where(.o-button) {
|
|
570
646
|
height: calc(var(--vk-spacing) * 9);
|
|
@@ -939,9 +1015,10 @@
|
|
|
939
1015
|
.o-button[data-button-own]:is([data-button-turn="quarter"], [data-button-turn="back"]) > [data-slot="vk-button-icon"]:not(:has(~ [data-slot="vk-button-icon"])) > svg { transition: rotate var(--vk-duration-fast) var(--vk-ease-out); }
|
|
940
1016
|
.o-button[data-button-own][data-button-turn="quarter"][aria-expanded="true"] > [data-slot="vk-button-icon"]:not(:has(~ [data-slot="vk-button-icon"])) > svg { rotate: 90deg; }
|
|
941
1017
|
.o-button[data-button-own][data-button-turn="back"][aria-expanded="false"] > [data-slot="vk-button-icon"]:not(:has(~ [data-slot="vk-button-icon"])) > svg { rotate: -90deg; }
|
|
942
|
-
/* A dot at its top end corner, saying something is on.
|
|
943
|
-
.
|
|
944
|
-
|
|
1018
|
+
/* A dot at its top end corner, saying something is on. Drawn with ::before, over its cut, since the pressing area takes ::after on
|
|
1019
|
+
a phone (press.css), as the toolbar button's dot is. */
|
|
1020
|
+
.o-button[data-button-own][data-button-dot="brand"]::before {
|
|
1021
|
+
content: ""; position: absolute; z-index: 1; top: var(--vk-spacing); right: var(--vk-spacing); width: var(--vk-dot-size); height: var(--vk-dot-size);
|
|
945
1022
|
border-radius: 50%; background-color: var(--vk-brand); pointer-events: none;
|
|
946
1023
|
}
|
|
947
1024
|
/* Its words cut with … where its place is narrower than they are. Its line is as tall as its words (line-height 1), and their
|
|
@@ -990,7 +1067,7 @@
|
|
|
990
1067
|
Button joined in a group or a Toolbar button joined to its neighbours (data-joined) (the outline has no corners apart left
|
|
991
1068
|
and right: in Chromium its squircle, as before), which paint
|
|
992
1069
|
themselves from their variables as before. The Button itself is never clipped: its depth, its press, its focus ring and a phone's
|
|
993
|
-
pressing area (
|
|
1070
|
+
pressing area (press.css, its ::after) stand outside it, whole. Its ground and edge are handed to its cut (.o-button-cut, its
|
|
994
1071
|
last child, over its border box): the ground (::before) clipped by the outline, with the depth's inset light again inside it,
|
|
995
1072
|
the edge (::after) a ring along it, its foot from a corner's height up. The cut is a size container, so its layers read the
|
|
996
1073
|
Button's own side (100cqmin) whatever height a place gives it: the corner its radius fitted to that side as a control's is,
|
|
@@ -1130,7 +1207,7 @@
|
|
|
1130
1207
|
token at 0), Smooth and Round set the box apart (data-checkbox-smoothing, looks.ts). Under Smooth or The app's the box is drawn
|
|
1131
1208
|
with the smooth outline (smooth.css), eased on its 16px side, in every browser that knows shape(); one that doesn't
|
|
1132
1209
|
keeps the corners above, and so does Round, which paints the box as before. The box is never clipped: its focus ring and its
|
|
1133
|
-
pressing area (::after,
|
|
1210
|
+
pressing area (::after, press.css) stand outside it. Its ground and edge are handed to its cut (.o-check-cut, its first
|
|
1134
1211
|
child), over its border box: the ground (::before) clipped by the outline, the edge (::after) a ring along it, each moving as the
|
|
1135
1212
|
box's colours do. The list's and the card's corners are the grouped choices' own. ──────────────────────────────── */
|
|
1136
1213
|
.o-check-cut { display: none; --smooth-amount: var(--vk-corner-smoothing); }
|
|
@@ -1190,6 +1267,30 @@
|
|
|
1190
1267
|
|
|
1191
1268
|
@media (prefers-reduced-motion: reduce) { .o-check-box, .o-check-tick, .o-check-row, .o-check-cut::before, .o-check-cut::after { transition: none; } }
|
|
1192
1269
|
|
|
1270
|
+
.o-choice-text { display: grid; gap: calc(var(--vk-spacing) * 0.5); min-width: 0; }
|
|
1271
|
+
.o-choice-label { font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); color: var(--vk-fg); }
|
|
1272
|
+
.o-choice-note { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); color: var(--vk-fg-subtle); }
|
|
1273
|
+
|
|
1274
|
+
/* ── A choice as a card: an edge round it, the whole card pressing it; under the pointer the hovered
|
|
1275
|
+
ground; chosen, the selected edge and ground; off, the softer edge and no hover ─────────────────── */
|
|
1276
|
+
.o-choice-card {
|
|
1277
|
+
box-sizing: border-box; display: flex; width: 100%; padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 3.5);
|
|
1278
|
+
border: var(--vk-border-width) solid var(--vk-border); border-radius: var(--vk-radius-lg); corner-shape: squircle;
|
|
1279
|
+
background-color: var(--vk-ground); transition: background-color var(--vk-duration-fast) var(--vk-ease-out), border-color var(--vk-duration-fast) var(--vk-ease-out);
|
|
1280
|
+
}
|
|
1281
|
+
/* 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. */
|
|
1282
|
+
@media (hover: hover) { .o-choice-card:hover { background-color: var(--vk-hovered); } }
|
|
1283
|
+
.o-choice-card:has(> [data-checked]) { border-color: var(--vk-border-selected); background-color: var(--vk-selected); }
|
|
1284
|
+
.o-choice-card:has(> [data-disabled]) { border-color: var(--vk-border-subtle); background-color: transparent; }
|
|
1285
|
+
.o-choice-card .o-choice-label { font-weight: var(--vk-font-weight-medium); }
|
|
1286
|
+
/* In error, the card's edge is red too. */
|
|
1287
|
+
.o-choice-card:is(:has(> :is([aria-invalid="true"], [data-invalid])), .o-fieldset[data-invalid] *):not(:has(> [data-disabled])) { border-color: var(--vk-border-danger); }
|
|
1288
|
+
/* Cards stand 8px apart, one under another or side by side. */
|
|
1289
|
+
.o-radio-group:has(> .o-choice-card) { gap: calc(var(--vk-spacing) * 2); }
|
|
1290
|
+
.o-radio-group.o-radio-row:has(> .o-choice-card) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(var(--vk-spacing) * 50)), 1fr)); }
|
|
1291
|
+
|
|
1292
|
+
@media (prefers-reduced-motion: reduce) { .o-choice-card { transition: none; } }
|
|
1293
|
+
|
|
1193
1294
|
/* ── The curve everything of it moves on: ease-out, or under Curve › Sharp ease-out-sharp ──────────── */
|
|
1194
1295
|
[data-collapsible-curve="sharp"] :is(.o-collapsible-trigger, .o-collapsible-panel) { --o-collapsible-ease: var(--vk-ease-out-sharp); }
|
|
1195
1296
|
|
|
@@ -1329,6 +1430,52 @@
|
|
|
1329
1430
|
.o-compound-editor-caption[data-bad] { color: var(--vk-danger); }
|
|
1330
1431
|
.o-compound-editor :is(input, textarea):where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
1331
1432
|
|
|
1433
|
+
/* ── What a screen holds, one under another ── */
|
|
1434
|
+
/* Its columns' glide reads its timing here, on the control (glide.ts): how long a row glides and on what curve, how long a tick takes
|
|
1435
|
+
where it finds none of its own, and the ground a row stands on where no box behind it paints one. */
|
|
1436
|
+
.o-customize { --customize-glide: var(--vk-duration-base); --customize-glide-ease: var(--vk-ease-in-out); --customize-tick: var(--vk-duration-fast); --customize-ground: var(--vk-overlay); }
|
|
1437
|
+
.o-customize { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 1); min-width: 0; }
|
|
1438
|
+
.o-customize[data-customize-form="phone"] { gap: calc(var(--vk-spacing) * 3); }
|
|
1439
|
+
/* On a phone what a step holds, inside the Sheet's step, is laid out the same way. */
|
|
1440
|
+
.o-customize-step { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 3); min-width: 0; }
|
|
1441
|
+
|
|
1442
|
+
/* ── Outside a Pane: the Pane's head, body and foot in a frame of its own, as tall as what it holds, never past its limit, its body
|
|
1443
|
+
scrolling between its head and foot (the Pane's own rules, pane.css, read its padding and edge from here) ── */
|
|
1444
|
+
.o-customize-frame { --pane-pad: calc(var(--vk-spacing) * 2); --pane-edge: var(--vk-border); box-sizing: border-box; display: flex; flex-direction: column; min-width: 0; max-height: calc(var(--vk-spacing) * 140); padding: var(--pane-pad); }
|
|
1445
|
+
|
|
1446
|
+
/* ── Its head, in the Pane's head: a line as tall as its controls, 32 ── */
|
|
1447
|
+
.o-customize-head { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-height: calc(var(--vk-spacing) * 8); padding-bottom: calc(var(--vk-spacing) * 2); }
|
|
1448
|
+
/* The title way's title stands where the rows' words start. */
|
|
1449
|
+
.o-customize-head-title { padding-left: calc(var(--vk-spacing) * 2.5); }
|
|
1450
|
+
.o-customize-name { flex: 1; min-width: 0; display: flex; }
|
|
1451
|
+
.o-customize-name > * { flex: 1; min-width: 0; }
|
|
1452
|
+
.o-customize-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1453
|
+
|
|
1454
|
+
/* ── Columns' search on a computer: under the head, outside the Pane's scrolling body, the Input's Soft box at sm, as far over the first
|
|
1455
|
+
heading as it stood in it (the screen's gap, 4); Group by's Picker draws its search the same in the Pane (KIT-827) ── */
|
|
1456
|
+
.o-customize-search { flex: none; padding-bottom: calc(var(--vk-spacing) * 1); }
|
|
1457
|
+
|
|
1458
|
+
/* ── Reset and Save for everyone: words at the right, right over the footer's line ── */
|
|
1459
|
+
/* In the Pane they keep the Pane's padding over the footer's line, their own now that the foot has no margin over it (KIT-814). */
|
|
1460
|
+
.o-customize-words { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: calc(var(--vk-spacing) * 4); padding: calc(var(--vk-spacing) * 2) 0 var(--pane-pad, 0px); }
|
|
1461
|
+
.o-customize-foot > .o-customize-words { padding: 0 0 calc(var(--vk-spacing) * 3); gap: calc(var(--vk-spacing) * 5); }
|
|
1462
|
+
/* The shared view's stale note, the Notice, over Reset and Save: right under what scrolls, as they stand (KIT-814), its padding the gap. */
|
|
1463
|
+
.o-customize-stale { flex: none; margin-top: 0; }
|
|
1464
|
+
|
|
1465
|
+
/* ── A heading over a block of columns, its actions at its end; a layout's name, a section's and For you's over their settings ── */
|
|
1466
|
+
.o-customize-heading { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--vk-spacing) * 2); padding-right: calc(var(--vk-spacing) * 2); }
|
|
1467
|
+
.o-customize-heading > .o-list-heading { flex: 1; min-width: 0; }
|
|
1468
|
+
.o-customize-heading-words { margin-top: calc(var(--vk-spacing) * 1); }
|
|
1469
|
+
[data-customize-form="phone"] .o-customize-heading { padding: 0 calc(var(--vk-spacing) * 1); }
|
|
1470
|
+
[data-customize-form="phone"] .o-customize-heading-words { margin-top: calc(var(--vk-spacing) * 2); padding: 0 calc(var(--vk-spacing) * 1); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1471
|
+
[data-customize-form="phone"] .o-customize-heading > .o-customize-heading-words { padding: 0; }
|
|
1472
|
+
|
|
1473
|
+
/* ── Nothing found by a search ── */
|
|
1474
|
+
.o-customize-none { margin: 0; padding: calc(var(--vk-spacing) * 2); 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); }
|
|
1475
|
+
|
|
1476
|
+
/* ── On a phone whose Sheet holds no head for it (an app's own Sheet), its own head over the body ── */
|
|
1477
|
+
:where([data-vk-phone], [data-vk-phone] *).o-customize-own-head { flex: none; padding-bottom: calc(var(--vk-spacing) * 2); }
|
|
1478
|
+
|
|
1332
1479
|
.o-date-editor {
|
|
1333
1480
|
/* The days (KIT-417): square tiles, one gap across and down, so they stand as far apart across as down, as Attio's; the
|
|
1334
1481
|
twelve months and years one gap of their own across and down, in the days' height (weekdays, their top, six weeks). */
|
|
@@ -1702,6 +1849,24 @@ button.o-field-row { cursor: pointer; }
|
|
|
1702
1849
|
.o-filter-editor-why { display: flex; width: 100%; }
|
|
1703
1850
|
.o-filter-editor-why > .o-select { width: 100%; }
|
|
1704
1851
|
[data-filter-form="computer"] .o-filter-editor-value[data-value-box="own"] { width: calc(var(--vk-spacing) * 52); }
|
|
1852
|
+
|
|
1853
|
+
/* ── VK-827: a group that excludes its matches says so over its rules; a relation rule's block is a group's well with a head, its
|
|
1854
|
+
relation's name and its quantifier's box, laid out as ViewKit's own block (Mihai, 29 Nov 2026: built from the kit's parts); a
|
|
1855
|
+
group's ⋮ ends its foot, after Delete group, as a rule's ends its row ─────────────────────────────────────────────────────── */
|
|
1856
|
+
.o-filter-editor-excluded {
|
|
1857
|
+
margin: 0; color: var(--vk-fg-subtle); font-size: var(--vk-font-size-xs); font-weight: var(--vk-font-weight-medium);
|
|
1858
|
+
line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs));
|
|
1859
|
+
}
|
|
1860
|
+
.o-filter-editor-block-head { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1861
|
+
.o-filter-editor-relation {
|
|
1862
|
+
flex: none; color: var(--vk-fg); font-size: var(--vk-font-size-sm); font-weight: var(--vk-font-weight-medium);
|
|
1863
|
+
line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm));
|
|
1864
|
+
}
|
|
1865
|
+
.o-filter-editor-block-head > .o-select { flex: 0 1 auto; min-width: 0; }
|
|
1866
|
+
.o-filter-editor-block-head .o-select-field { width: max-content; max-width: 100%; }
|
|
1867
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-block-head, .o-filter-editor-excluded) { padding: 0 calc(var(--vk-spacing) * 3); }
|
|
1868
|
+
[data-filter-form="phone"] .o-filter-editor-group > .o-filter-editor-block-head { padding-top: calc(var(--vk-spacing) * 2.5); }
|
|
1869
|
+
.o-filter-editor-acts .o-filter-editor-more { justify-self: end; width: auto; }
|
|
1705
1870
|
.o-flag {
|
|
1706
1871
|
position: relative; flex: none; display: inline-block; overflow: hidden; vertical-align: middle;
|
|
1707
1872
|
width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 3.5); border-radius: var(--vk-radius-xs); background-color: var(--vk-neutral);
|
|
@@ -3138,7 +3303,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3138
3303
|
/* ── A link (after Attio's record chips): at rest the chip as it is, its words the Option's and never
|
|
3139
3304
|
underlined; under the pointer the hover fill (under Grey fill a step darker; a coloured pill or flat fill its colour's fill, a
|
|
3140
3305
|
pill's edge its hue), pressed the pressed fill (Grey fill and a coloured fill keep their hover's) at 98%; from the keys the focus
|
|
3141
|
-
ring. The states weigh (0,4,0) and more, over the colour looks' grounds. On the phone it takes taps from 44 (
|
|
3306
|
+
ring. The states weigh (0,4,0) and more, over the colour looks' grounds. On the phone it takes taps from 44 (press.css's pressing area). ── */
|
|
3142
3307
|
.o-option[data-link] {
|
|
3143
3308
|
--o-option-hover: var(--vk-hovered); --o-option-pressed: var(--vk-pressed);
|
|
3144
3309
|
cursor: pointer; text-decoration: none; outline: none; -webkit-tap-highlight-color: transparent;
|
|
@@ -3611,6 +3776,146 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3611
3776
|
:is(.o-popover, .o-list) .o-popup-line[data-at="foot"]::after { top: calc(-1 * var(--vk-border-width)); bottom: auto; }
|
|
3612
3777
|
/* Refused, its line turns red; at the foot it has no line under it, and the Values editor's refused line draws its own. */
|
|
3613
3778
|
.o-popup-line[data-bad]:not([data-at="foot"]) { --popup-line-colour: var(--vk-border-danger); }
|
|
3779
|
+
/* On a computer: weighed as nothing (:where), so the phone's rule after it wins on a phone. */
|
|
3780
|
+
:where(.o-check-box:not(.o-check-in-row), .o-radio-ring) { position: relative; }
|
|
3781
|
+
:where(.o-check-box:not(.o-check-in-row), .o-radio-ring, .o-switch)::after {
|
|
3782
|
+
content: ""; position: absolute;
|
|
3783
|
+
inset-block: max(calc(var(--vk-spacing) * -2), calc(var(--pressing-room-y, var(--vk-spacing) * 2) * -1));
|
|
3784
|
+
inset-inline: max(calc(var(--vk-spacing) * -3), calc(var(--pressing-room-x, var(--vk-spacing) * 3) * -1));
|
|
3785
|
+
}
|
|
3786
|
+
/* On a phone: (0,2,0), its weight that of its weightiest target, the link Option, as the kit's compiled rule weighed. */
|
|
3787
|
+
:is(.o-check-box, .o-radio-ring, .o-tag-remove, .o-option[data-link]):where([data-vk-phone], [data-vk-phone] *) { position: relative; }
|
|
3788
|
+
:is(.o-button, .o-check-box, .o-radio-ring, .o-tag-remove, .o-switch, .o-option[data-link]):where([data-vk-phone], [data-vk-phone] *)::after {
|
|
3789
|
+
content: ""; position: absolute;
|
|
3790
|
+
inset-block: min(0px, max(calc((100% - var(--vk-spacing) * 11) / 2), calc(var(--pressing-room-y, var(--vk-spacing) * 11) * -1)));
|
|
3791
|
+
inset-inline: min(0px, max(calc((100% - var(--vk-spacing) * 11) / 2), calc(var(--pressing-room-x, var(--vk-spacing) * 11) * -1)));
|
|
3792
|
+
}
|
|
3793
|
+
|
|
3794
|
+
/* ── The rooms: where the kit packs targets closer than 44px. Buttons side by side leave 4px each way between them,
|
|
3795
|
+
whatever the gap (8px or more); two joined in a group none along its line; a field's buttons half their 4px or 6px
|
|
3796
|
+
gap; choices one under another with no note 8px each way (a list's 44px rows, and choices with notes, stand far
|
|
3797
|
+
enough apart); chips in a field half their 6px or 4px gap, link Options in a row half their 6px,
|
|
3798
|
+
their lines packed by design. ─────────────────────────────── */
|
|
3799
|
+
:is(.o-button:has(+ .o-button), .o-button + .o-button) { --pressing-room-x: var(--vk-spacing); }
|
|
3800
|
+
.o-button-group:not([data-orientation="vertical"]) > .o-button:is(:has(+ .o-button), .o-button + .o-button) { --pressing-room-x: 0px; }
|
|
3801
|
+
.o-button-group[data-orientation="vertical"] > .o-button:is(:has(+ .o-button), .o-button + .o-button) { --pressing-room-x: calc(var(--vk-spacing) * 11); --pressing-room-y: 0px; }
|
|
3802
|
+
.o-input-addon:is([data-side="start"], [data-side="end"]) > .o-button { --pressing-room-x: calc(var(--vk-spacing) * 0.75); }
|
|
3803
|
+
.o-input-addon:is([data-side="top"], [data-side="bottom"]) > .o-button { --pressing-room-x: calc(var(--vk-spacing) * 0.5); }
|
|
3804
|
+
:is(.o-check:not(.o-check-row), .o-radio):not(.o-radio-row > *, :has(.o-choice-note)):is(:has(+ :is(.o-check, .o-radio)), :is(.o-check, .o-radio) + *) > :is(.o-check-box, .o-radio-ring) { --pressing-room-y: calc(var(--vk-spacing) * 2); }
|
|
3805
|
+
.o-tag-field .o-tag-remove { --pressing-room-x: calc(var(--vk-spacing) * 0.75); --pressing-room-y: calc(var(--vk-spacing) * 1.5); }
|
|
3806
|
+
.o-select-chips .o-tag-remove { --pressing-room-x: calc(var(--vk-spacing) * 0.5); --pressing-room-y: calc(var(--vk-spacing) * 1); }
|
|
3807
|
+
/* Options side by side, 6px apart in a row and between their lines: a link half that each way. */
|
|
3808
|
+
.o-options > .o-option[data-link] { --pressing-room-x: calc(var(--vk-spacing) * 0.75); --pressing-room-y: calc(var(--vk-spacing) * 0.75); }
|
|
3809
|
+
|
|
3810
|
+
/* The strip: three across, each pill as wide as the others; over the Toggle group's own row (two classes, so it holds whichever
|
|
3811
|
+
stylesheet comes last). */
|
|
3812
|
+
.o-quick-filters-top > .o-quick-filters-strip { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
3813
|
+
|
|
3814
|
+
/* The body: its top (the strip, then the search), then the values, 8 apart. The values scroll while the top stays put: in a box of
|
|
3815
|
+
their own where the Pane is as tall as the list, and under the top, pinned on the Pane's ground, where it fits what it holds (its
|
|
3816
|
+
body then has no height of its own to fill, and scrolls). */
|
|
3817
|
+
.o-quick-filters { display: flex; flex-direction: column; height: 100%; min-height: 0; color: var(--vk-fg); }
|
|
3818
|
+
.o-quick-filters-top {
|
|
3819
|
+
position: sticky; top: 0; z-index: 1; flex: none; display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 2);
|
|
3820
|
+
padding-bottom: calc(var(--vk-spacing) * 2); background-color: var(--vk-overlay);
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
/* The values: rows 40 high, 12 in, the list's corners, 1 apart; under the pointer the overlay's hover. */
|
|
3824
|
+
.o-quick-filters-values { display: flex; flex-direction: column; gap: var(--vk-border-width); flex: 1 1 auto; min-height: 0; overflow-y: auto; outline: none; }
|
|
3825
|
+
.o-quick-filters-value {
|
|
3826
|
+
flex: none; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2.5); height: calc(var(--vk-spacing) * 10); padding: 0 calc(var(--vk-spacing) * 3);
|
|
3827
|
+
border-radius: var(--vk-radius-lg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); color: var(--vk-fg);
|
|
3828
|
+
cursor: pointer; user-select: none; outline: none;
|
|
3829
|
+
}
|
|
3830
|
+
@media (hover: hover) { .o-quick-filters-value:hover { background-color: var(--vk-overlay-hovered); } }
|
|
3831
|
+
.o-quick-filters-value:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: calc(-1 * var(--vk-focus-width)); }
|
|
3832
|
+
.o-quick-filters-mark { flex: none; display: inline-flex; align-items: center; }
|
|
3833
|
+
.o-quick-filters-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3834
|
+
.o-quick-filters-count { flex: none; font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); font-variant-numeric: tabular-nums; }
|
|
3835
|
+
.o-quick-filters-clear { flex: none; font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtle); }
|
|
3836
|
+
|
|
3837
|
+
/* A search that finds nothing: the Picker's words where the values stand, drawn as its message is (.o-picker-message), centred. */
|
|
3838
|
+
.o-quick-filters-none {
|
|
3839
|
+
flex: none; margin: 0; padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2); text-align: center;
|
|
3840
|
+
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);
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
/* Held: the overlay's card ground, a very subtle grey, never the brand (Mihai, 19 Nov 2026; KIT-778); its name at medium weight,
|
|
3844
|
+
Clear filter before its count. Under the pointer a touch stronger, the card's pressed step: the overlay's own hover, pressed and
|
|
3845
|
+
selected are one grey in dark, so this pair is the one a touch apart in both themes. */
|
|
3846
|
+
.o-quick-filters-value[data-held] { background-color: var(--vk-overlay-card); }
|
|
3847
|
+
.o-quick-filters-value[data-held] .o-quick-filters-name { font-weight: var(--vk-font-weight-medium); }
|
|
3848
|
+
@media (hover: hover) { .o-quick-filters-value[data-held]:hover { background-color: var(--vk-overlay-card-pressed); } }
|
|
3849
|
+
|
|
3850
|
+
/* While its field holds a value, the others go quiet: their names and their counts. */
|
|
3851
|
+
.o-quick-filters-values[data-quiet] .o-quick-filters-value:not([data-held]) .o-quick-filters-name { color: var(--vk-fg-subtlest); }
|
|
3852
|
+
.o-quick-filters-values[data-quiet] .o-quick-filters-value:not([data-held]) .o-quick-filters-count { color: var(--vk-fg-disabled); }
|
|
3853
|
+
|
|
3854
|
+
/* On a phone (KIT-833): the same body in the full Sheet, a step up. The top 12 apart and 12 over the values; a value's row 44 high
|
|
3855
|
+
in the phone's words, its count and Clear filter a size under them. No pointer to hover with: a press grounds its row while the
|
|
3856
|
+
finger is on it, the computer's hover pair (the overlay's hover; held, the card's pressed step). The strip's pills and the search
|
|
3857
|
+
take their phone sizes in the body (quick-filters.tsx). */
|
|
3858
|
+
.o-quick-filters[data-form="phone"] .o-quick-filters-top { gap: calc(var(--vk-spacing) * 3); padding-bottom: calc(var(--vk-spacing) * 3); }
|
|
3859
|
+
.o-quick-filters[data-form="phone"] .o-quick-filters-value {
|
|
3860
|
+
height: calc(var(--vk-spacing) * 11); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base));
|
|
3861
|
+
}
|
|
3862
|
+
.o-quick-filters[data-form="phone"] :is(.o-quick-filters-count, .o-quick-filters-clear) { font-size: var(--vk-font-size-sm); }
|
|
3863
|
+
.o-quick-filters[data-form="phone"] .o-quick-filters-value:active { background-color: var(--vk-overlay-hovered); }
|
|
3864
|
+
.o-quick-filters[data-form="phone"] .o-quick-filters-value[data-held]:active { background-color: var(--vk-overlay-card-pressed); }
|
|
3865
|
+
|
|
3866
|
+
/* The reminder (the Outright kit's, KIT-833; ViewKit's since VK-858; reminder.tsx): on a phone, what says a hold stands while quick filters are closed, the bulk bar's pill's
|
|
3867
|
+
surface in its place (bulk-bar.css), at the centre of its holder's foot, its holder being the list's placed box, its parent.
|
|
3868
|
+
Every value a token:
|
|
3869
|
+
|
|
3870
|
+
.o-quick-filters-reminder the pill; data-shown while something held is named, else gone (display none, after its going)
|
|
3871
|
+
.o-quick-filters-reminder-words its own press: the first held value's mark and the names, which end in "…"
|
|
3872
|
+
.o-quick-filters-reminder-more "+N", the names not shown
|
|
3873
|
+
--quick-filters-reminder-bottom how far above the holder's foot it stands (the phone's own foot, or 16)
|
|
3874
|
+
--quick-filters-reminder-height how tall it is (52, the pill's)
|
|
3875
|
+
--quick-filters-room the room it takes at its holder's foot, handed to the holder while it is shown (none when it
|
|
3876
|
+
isn't, or while the bulk bar shows there): a list that scrolls in the holder pads its foot by
|
|
3877
|
+
it, and New's + stands on it, rising above the reminder */
|
|
3878
|
+
:is(.o-quick-filters-reminder), :has(> .o-quick-filters-reminder) {
|
|
3879
|
+
--quick-filters-reminder-bottom: max(var(--safe-area-bottom, env(safe-area-inset-bottom, 0px)), calc(var(--vk-spacing) * 4));
|
|
3880
|
+
--quick-filters-reminder-height: calc(var(--vk-spacing) * 13);
|
|
3881
|
+
}
|
|
3882
|
+
:has(> .o-quick-filters-reminder) { --quick-filters-room: 0px; }
|
|
3883
|
+
:has(> .o-quick-filters-reminder[data-shown]) { --quick-filters-room: calc(var(--quick-filters-reminder-bottom) + var(--quick-filters-reminder-height) + var(--vk-spacing) * 2); }
|
|
3884
|
+
/* While the bulk bar shows in the same list, it steps aside and gives its room back (after the rule above, which it outweighs by
|
|
3885
|
+
order): two pills at a list's foot is one too many, and the bar is what the picked rows need. */
|
|
3886
|
+
:has(> .o-bulk-bar[data-shown]) { --quick-filters-room: 0px; }
|
|
3887
|
+
:has(> .o-bulk-bar[data-shown]) > .o-quick-filters-reminder { display: none; opacity: 0; translate: -50% calc(var(--vk-spacing) * 2); transition: none; }
|
|
3888
|
+
|
|
3889
|
+
.o-quick-filters-reminder {
|
|
3890
|
+
position: absolute; z-index: var(--vk-layer-sticky); left: 50%; bottom: var(--quick-filters-reminder-bottom); translate: -50% 0;
|
|
3891
|
+
display: flex; align-items: center; box-sizing: border-box; width: max-content; height: var(--quick-filters-reminder-height); max-width: calc(100% - var(--vk-spacing) * 8);
|
|
3892
|
+
padding-inline: calc(var(--vk-spacing) * 1.5); border: var(--vk-border-width) solid var(--vk-border); border-radius: var(--vk-radius-full);
|
|
3893
|
+
background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-menu); color: var(--vk-fg); white-space: nowrap; opacity: 1;
|
|
3894
|
+
}
|
|
3895
|
+
.o-quick-filters-reminder > .o-toolbar { min-width: 0; }
|
|
3896
|
+
.o-quick-filters-reminder:not([data-shown]) { display: none; opacity: 0; translate: -50% calc(var(--vk-spacing) * 2); }
|
|
3897
|
+
/* It comes up from just under its place and goes back down, as the bulk bar does. Still where a person asks for less motion. */
|
|
3898
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
3899
|
+
.o-quick-filters-reminder {
|
|
3900
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), translate var(--vk-duration-base) var(--vk-ease-out), display var(--vk-duration-base) allow-discrete;
|
|
3901
|
+
@starting-style { opacity: 0; translate: -50% calc(var(--vk-spacing) * 2); }
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
|
|
3905
|
+
/* Its own press: round, 44 high, no ground at rest; under the pointer the overlay's hover, pressed its pressed step. */
|
|
3906
|
+
.o-quick-filters-reminder-words {
|
|
3907
|
+
display: inline-flex; flex: 0 1 auto; align-items: center; gap: calc(var(--vk-spacing) * 2); box-sizing: border-box; min-width: 0;
|
|
3908
|
+
height: calc(var(--vk-spacing) * 11); margin: 0; padding-inline: calc(var(--vk-spacing) * 3); border: 0; border-radius: var(--vk-radius-full);
|
|
3909
|
+
background-color: transparent; color: var(--vk-fg); font: inherit; font-size: var(--vk-font-size-base); line-height: var(--vk-line-height-base);
|
|
3910
|
+
white-space: nowrap; cursor: pointer;
|
|
3911
|
+
}
|
|
3912
|
+
/* In the Toolbar, its names give way before its ✕ does, over the Toolbar's flex: none on what a line holds (VK-860). */
|
|
3913
|
+
.o-toolbar-line > .o-quick-filters-reminder-words { flex: 0 1 auto; }
|
|
3914
|
+
.o-quick-filters-reminder-words > span:not(.o-quick-filters-mark, .o-quick-filters-reminder-more) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3915
|
+
@media (hover: hover) { .o-quick-filters-reminder-words:hover { background-color: var(--vk-overlay-hovered); } }
|
|
3916
|
+
.o-quick-filters-reminder-words:active { background-color: var(--vk-overlay-pressed); }
|
|
3917
|
+
.o-quick-filters-reminder-words:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
3918
|
+
.o-quick-filters-reminder-more { flex: none; color: var(--vk-fg-subtle); font-variant-numeric: tabular-nums; }
|
|
3614
3919
|
|
|
3615
3920
|
/* ── A group: its choices one under another, 14px apart, or two to four in a row; its name is the FieldSet's
|
|
3616
3921
|
legend (field.css) ─────────────────────────────────────────────────────────────────────────────────── */
|
|
@@ -4373,6 +4678,38 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
4373
4678
|
row's, its mark and its height as above. */
|
|
4374
4679
|
.o-status.vk-status-row { font-size: inherit; }
|
|
4375
4680
|
|
|
4681
|
+
/* ── Settings rows: the words on the left, the switch on the right, in a bordered box ──────────────── */
|
|
4682
|
+
.o-switch-rows { display: grid; border: var(--vk-border-width) solid var(--vk-border); border-radius: var(--vk-radius-lg); overflow: hidden; }
|
|
4683
|
+
.o-switch-row {
|
|
4684
|
+
display: flex; align-items: center; justify-content: space-between; gap: calc(var(--vk-spacing) * 4);
|
|
4685
|
+
padding: calc(var(--vk-spacing) * 3.5) calc(var(--vk-spacing) * 4); border-top: var(--vk-border-width) solid var(--vk-border-subtle);
|
|
4686
|
+
cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--vk-duration-fast) var(--vk-ease-out);
|
|
4687
|
+
}
|
|
4688
|
+
.o-switch-row:first-child { border-top: 0; }
|
|
4689
|
+
@media (hover: hover) { .o-switch-row:hover { background-color: var(--vk-hovered); } }
|
|
4690
|
+
.o-switch-row .o-choice-label { font-weight: var(--vk-font-weight-medium); }
|
|
4691
|
+
.o-switch-row:has(.o-switch[data-disabled]) { cursor: not-allowed; background-color: transparent; }
|
|
4692
|
+
|
|
4693
|
+
@media (prefers-reduced-motion: reduce) { .o-switch-row { transition: none; } }
|
|
4694
|
+
/* ── The rows' card smooth: following the token corner-smoothing, drawn with the smooth outline (smooth.css) in every browser
|
|
4695
|
+
that knows shape(); one that doesn't keeps the corners above. Its round part is fitted to one row, as a control's is.
|
|
4696
|
+
Nothing stands outside it (its rows were hidden past its edge), so it is clipped itself, its rows with it, hiding nothing
|
|
4697
|
+
more; its edge is a ring along the curve over its rows (::after), as the Kbd's is. The Switch itself, a pill, stays as it
|
|
4698
|
+
draws. ── */
|
|
4699
|
+
@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)) {
|
|
4700
|
+
.o-switch-rows {
|
|
4701
|
+
--smooth-amount: var(--vk-corner-smoothing); --rows-card-side: calc(var(--vk-spacing) * 7 + var(--vk-font-size-sm) * var(--vk-line-height-sm));
|
|
4702
|
+
--rows-card-fit: min(var(--vk-radius-lg), var(--rows-card-side) / (2 + 2 * var(--smooth-amount, 0.7)));
|
|
4703
|
+
--smooth-t: var(--rows-card-fit); --smooth-side: var(--rows-card-side);
|
|
4704
|
+
position: relative; overflow: visible; border-color: transparent; border-radius: var(--rows-card-fit); clip-path: shape(var(--smooth-outline));
|
|
4705
|
+
}
|
|
4706
|
+
.o-switch-rows::after {
|
|
4707
|
+
--smooth-t: max(0px, var(--rows-card-fit) - var(--vk-border-width)); --smooth-in: var(--vk-border-width);
|
|
4708
|
+
content: ""; position: absolute; inset: calc(var(--vk-border-width) * -1); z-index: 1; pointer-events: none;
|
|
4709
|
+
background-color: var(--vk-border); clip-path: shape(var(--smooth-ring));
|
|
4710
|
+
}
|
|
4711
|
+
}
|
|
4712
|
+
|
|
4376
4713
|
/* ── Slim (after shadcn), the shape the others start from: a track 18 × 32 barely larger than its 16 thumb, 1 from its edge, with no
|
|
4377
4714
|
edge of its own; off, the field edge's grey; on, the brand ─────────────────────────────────────────────────────── */
|
|
4378
4715
|
.o-switch {
|
|
@@ -4518,6 +4855,13 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
4518
4855
|
|
|
4519
4856
|
@media (prefers-reduced-motion: reduce) { .o-switch::before, .o-switch-thumb, .o-switch-fill, .o-switch-i, .o-switch-o, .o-switch-word { transition: none; } }
|
|
4520
4857
|
|
|
4858
|
+
/* ── In a field: the tags before the caret, wrapping onto more lines as they grow; its words the Input's size, the box as tall
|
|
4859
|
+
as its words, on the tags' line. Its rules outweigh the Input's (input.css may come after this file). On a phone (the
|
|
4860
|
+
group's own mark, `data-vk-phone`) the field takes the phone's 44. ── */
|
|
4861
|
+
.o-input.o-input-group.o-tag-field { flex-wrap: wrap; height: auto; min-height: calc(var(--vk-spacing) * 9); padding-block: calc(var(--vk-spacing) * 1.5); }
|
|
4862
|
+
.o-input.o-input-group.o-tag-field:where([data-vk-phone], [data-vk-phone] *) { min-height: calc(var(--vk-spacing) * 11); padding-block: calc(var(--vk-spacing) * 2.5); }
|
|
4863
|
+
.o-input-control.o-tag-field-input { align-self: center; min-width: calc(var(--vk-spacing) * 20); }
|
|
4864
|
+
|
|
4521
4865
|
/* ── A tag: 22px, its edge drawn inside, the icon then the word; a long word cut at 200px. Its ground, edge, height and corner
|
|
4522
4866
|
are variables, which the Option's looks and states set, so its cut draws them under Smooth: --tag-ground (none),
|
|
4523
4867
|
--tag-edge, --tag-h, --tag-r, and --tag-rr, the corner its height leaves room for; --tag-shadow: none where a look draws no
|
|
@@ -4800,6 +5144,118 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
4800
5144
|
.o-toggle-group[data-orientation="vertical"] { flex-direction: column; }
|
|
4801
5145
|
.o-toggle-group.o-button-group { gap: 0; }
|
|
4802
5146
|
|
|
5147
|
+
/* Its corners, one slider: the Button's (nothing here), then each radius step to Full, the pill and, its icon alone, the circle. */
|
|
5148
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-corners="xs"] { --button-r: var(--vk-radius-xs); }
|
|
5149
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-corners="sm"] { --button-r: var(--vk-radius-sm); }
|
|
5150
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-corners="md"] { --button-r: var(--vk-radius-md); }
|
|
5151
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-corners="lg"] { --button-r: var(--vk-radius-lg); }
|
|
5152
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-corners="xl"] { --button-r: var(--vk-radius-xl); }
|
|
5153
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-corners="2xl"] { --button-r: var(--vk-radius-2xl); }
|
|
5154
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-corners="full"] { --button-r: var(--vk-radius-full); }
|
|
5155
|
+
|
|
5156
|
+
/* Its corner smoothing (data-smoothing): The app's follows the Button's (nothing set); Smooth and Round set it apart, which the
|
|
5157
|
+
Button's own Corner smoothing section draws (button.css). */
|
|
5158
|
+
|
|
5159
|
+
/* Its label's weight, set for it alone. */
|
|
5160
|
+
[data-toolbar-button-weight="medium"] .o-button.o-toolbar-button { font-weight: var(--vk-font-weight-medium); }
|
|
5161
|
+
[data-toolbar-button-weight="semibold"] .o-button.o-toolbar-button { font-weight: var(--vk-font-weight-semibold); }
|
|
5162
|
+
|
|
5163
|
+
/* Joined to its neighbours (data-joined): a filter's parts drawn one at a time, ViewKit's on the bar, which no ButtonGroup can
|
|
5164
|
+
stand round; drawn as button.css draws a horizontal group's buttons, its inner corners square and the edge between two drawn once
|
|
5165
|
+
(focus lifts it over its neighbours there, beside the group's own lift). */
|
|
5166
|
+
.o-button.o-toolbar-button:is([data-joined="start"], [data-joined="middle"]) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
|
|
5167
|
+
.o-button.o-toolbar-button:is([data-joined="middle"], [data-joined="end"]) { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-width: 0; }
|
|
5168
|
+
|
|
5169
|
+
/* Its count at its end, quieter than its words, its digits lined up; in the brand once used. */
|
|
5170
|
+
.o-toolbar-button-count { margin-left: var(--vk-spacing); color: var(--vk-fg-subtle); font-variant-numeric: tabular-nums; }
|
|
5171
|
+
.o-toolbar-button-count[data-alone] { margin-left: 0; }
|
|
5172
|
+
|
|
5173
|
+
/* A dot at its top end corner, in the brand: something applied with no number. Drawn with ::before, since the pressing area takes
|
|
5174
|
+
::after on a phone (its pressing area). */
|
|
5175
|
+
.o-button.o-toolbar-button[data-dot]::before {
|
|
5176
|
+
content: ""; position: absolute; top: var(--vk-spacing); right: var(--vk-spacing); width: var(--vk-dot-size); height: var(--vk-dot-size);
|
|
5177
|
+
border-radius: var(--vk-radius-full); background-color: var(--vk-brand); pointer-events: none;
|
|
5178
|
+
}
|
|
5179
|
+
|
|
5180
|
+
/* In the brand once used: its words, its icon and its count. */
|
|
5181
|
+
.o-button.o-toolbar-button[data-lit]:not(:disabled, [data-disabled]),
|
|
5182
|
+
.o-button.o-toolbar-button[data-lit]:not(:disabled, [data-disabled]) .o-toolbar-button-count { color: var(--vk-fg-accent); }
|
|
5183
|
+
/* Open and in the brand (the quick filters' button with a value held, its Pane open): the brand wins over the open look's
|
|
5184
|
+
words, (0,6,0) over the Button's open "hovered" (0,5,0), which keeps its ground. */
|
|
5185
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-lit][aria-expanded="true"]:not(:disabled, [data-disabled]) { color: var(--vk-fg-accent); }
|
|
5186
|
+
|
|
5187
|
+
/* A view tab (data-tab), the portal's way: the unopened ones in the subtle words, coming up to the text under the pointer; the open
|
|
5188
|
+
one (data-current) on its ground's selected step (ghost the surface's, bordered the raised surface's with no edge or depth,
|
|
5189
|
+
filled the sunken surface's), its words the selected text's, unmoved by the pointer; in the brand (data-lit), a phone's view
|
|
5190
|
+
chip, on the brand's subtlest ground. */
|
|
5191
|
+
.o-button.o-toolbar-button[data-tab]:not([data-current]) { color: var(--vk-fg-subtle); }
|
|
5192
|
+
.o-button.o-toolbar-button[data-tab]:not([data-current]):is([data-force="hover"], :active, [data-force="press"]) { color: var(--vk-fg); }
|
|
5193
|
+
@media (hover: hover) { .o-button.o-toolbar-button[data-tab]:not([data-current]):hover { color: var(--vk-fg); } }
|
|
5194
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-current] { --button-ground: var(--vk-selected); color: var(--vk-fg-selected); }
|
|
5195
|
+
.o-button.o-toolbar-button.o-toolbar-button.o-button-outline[data-current] { --button-ground: var(--vk-raised-selected); --button-edge: transparent; --button-edge-foot: transparent; --button-depth: none; }
|
|
5196
|
+
.o-button.o-toolbar-button.o-toolbar-button.o-button-soft[data-current] { --button-ground: var(--vk-sunken-selected); }
|
|
5197
|
+
.o-button.o-toolbar-button.o-toolbar-button[data-current][data-lit] { --button-ground: var(--vk-brand-subtlest); color: var(--vk-fg-accent); }
|
|
5198
|
+
|
|
5199
|
+
/* An empty place: its edge dashed on the ground it stands on, its words quieter, no depth; under the pointer the ground's hover. */
|
|
5200
|
+
.o-button.o-toolbar-button[data-empty] { border-style: dashed; --button-edge: var(--vk-border-bold); --button-edge-foot: var(--vk-border-bold); --button-ground: transparent; --button-depth: none; color: var(--vk-fg-subtle); }
|
|
5201
|
+
.o-button.o-toolbar-button[data-empty]:is([data-force="hover"], :active, [data-force="press"]):not(:disabled, [data-disabled]) { --button-ground: var(--vk-hovered); color: var(--vk-fg); }
|
|
5202
|
+
@media (hover: hover) { .o-button.o-toolbar-button[data-empty]:hover:not(:disabled, [data-disabled]) { --button-ground: var(--vk-hovered); color: var(--vk-fg); } }
|
|
5203
|
+
|
|
5204
|
+
/* Set aside: what it names left the list (a filter whose field is gone). Its edge dashed in the warning's, its words the
|
|
5205
|
+
warning's, no depth; under the pointer the warning's palest ground. */
|
|
5206
|
+
.o-button.o-toolbar-button[data-aside] { border-style: dashed; --button-edge: var(--vk-border-warning); --button-edge-foot: var(--vk-border-warning); --button-depth: none; color: var(--vk-warning); }
|
|
5207
|
+
.o-button.o-toolbar-button[data-aside]:is([data-force="hover"], :active, [data-force="press"]):not(:disabled, [data-disabled]) { --button-ground: var(--vk-warning-subtlest); }
|
|
5208
|
+
@media (hover: hover) { .o-button.o-toolbar-button[data-aside]:hover:not(:disabled, [data-disabled]) { --button-ground: var(--vk-warning-subtlest); } }
|
|
5209
|
+
|
|
5210
|
+
.o-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: calc(var(--vk-spacing) * 3); box-sizing: border-box; min-width: 0; --toolbar-inset: 0; }
|
|
5211
|
+
.o-toolbar-line { display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; gap: calc(var(--vk-spacing) * var(--toolbar-spacing, 2)); padding-inline: var(--toolbar-inset); }
|
|
5212
|
+
|
|
5213
|
+
/* Lines across (data-lines="across", a computer's list, Attio's way; Mihai, 16 Nov 2026): each line its own band, a line across
|
|
5214
|
+
under it the Toolbar's whole width, the room inside it 10 above and below. What holds the Toolbar gives its room at each side
|
|
5215
|
+
(--toolbar-inset, a list's page edge), so the lines run edge to edge and what they hold stands in from them. None: the lines
|
|
5216
|
+
12 apart, nothing between. */
|
|
5217
|
+
.o-toolbar[data-lines="across"] { gap: 0; }
|
|
5218
|
+
.o-toolbar[data-lines="across"] > .o-toolbar-line { padding-block: calc(var(--vk-spacing) * 2.5); border-bottom: var(--vk-border-width) solid var(--vk-border-subtle); }
|
|
5219
|
+
/* On a phone the row a step closer (the map's phone row). */
|
|
5220
|
+
.o-toolbar[data-screen="phone"] .o-toolbar-line { gap: calc(var(--vk-spacing) * var(--toolbar-spacing, 1.5)); }
|
|
5221
|
+
|
|
5222
|
+
/* What a line holds keeps its width; only a text box gives some up, from its own width down to its narrowest. */
|
|
5223
|
+
.o-toolbar-line > * { flex: none; }
|
|
5224
|
+
.o-toolbar-line > :is(.o-toolbar-input, .o-input-group:has(.o-toolbar-input)) { flex: 0 1 calc(var(--vk-spacing) * 55); min-width: calc(var(--vk-spacing) * 30); }
|
|
5225
|
+
|
|
5226
|
+
/* A list's search: on a phone's line of its own it fills it; open on a phone's one line it takes the room the others left. */
|
|
5227
|
+
.o-toolbar .o-toolbar-line[data-line="search"] > :is(.o-toolbar-input, .o-input-group) { flex: 1 1 0; min-width: 0; }
|
|
5228
|
+
.o-toolbar[data-screen="phone"] .o-toolbar-line > .o-input-group[data-open] { flex: 1 1 0; min-width: 0; }
|
|
5229
|
+
|
|
5230
|
+
/* A text box keeps its line's height (data-size, the height the line gives what it holds): under the phone switch the Input
|
|
5231
|
+
stands 44 so iOS never zooms in, which in a line of 36 or 32 stood taller than the buttons beside it and pushed the line down
|
|
5232
|
+
(Mihai, 16 Nov 2026). Its words stay 16 there; only its height is the line's, and its side (--input-side), which its smooth corner fits (KIT-619). A box in a group fills the
|
|
5233
|
+
group. */
|
|
5234
|
+
.o-toolbar-line[data-size="28"] > :is(.o-toolbar-input, .o-input-group).o-input { height: calc(var(--vk-spacing) * 7); --input-side: calc(var(--vk-spacing) * 7); }
|
|
5235
|
+
.o-toolbar-line[data-size="32"] > :is(.o-toolbar-input, .o-input-group).o-input { height: calc(var(--vk-spacing) * 8); --input-side: calc(var(--vk-spacing) * 8); }
|
|
5236
|
+
.o-toolbar-line[data-size="36"] > :is(.o-toolbar-input, .o-input-group).o-input { height: calc(var(--vk-spacing) * 9); --input-side: calc(var(--vk-spacing) * 9); }
|
|
5237
|
+
.o-toolbar-line[data-size="44"] > :is(.o-toolbar-input, .o-input-group).o-input { height: calc(var(--vk-spacing) * 11); --input-side: calc(var(--vk-spacing) * 11); }
|
|
5238
|
+
.o-toolbar-line > .o-input-group.o-input > .o-toolbar-input.o-input { height: auto; align-self: stretch; }
|
|
5239
|
+
|
|
5240
|
+
/* The search opens out of its button: the box grows from the button's place to its own width, or on a phone across the line,
|
|
5241
|
+
rather than standing there at once. Still where the person asks for less motion. */
|
|
5242
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
5243
|
+
.o-toolbar-line > .o-input-group[data-open] {
|
|
5244
|
+
transition: flex-basis var(--vk-duration-base) var(--vk-ease-out), flex-grow var(--vk-duration-base) var(--vk-ease-out);
|
|
5245
|
+
@starting-style { flex-basis: calc(var(--vk-spacing) * 8); flex-grow: 0; }
|
|
5246
|
+
}
|
|
5247
|
+
}
|
|
5248
|
+
|
|
5249
|
+
/* A separator: a line across the row, as tall as a Toolbar button's icon. */
|
|
5250
|
+
.o-toolbar-sep { flex: none; align-self: center; width: var(--vk-border-width); height: calc(var(--vk-spacing) * 4); background-color: var(--vk-border); }
|
|
5251
|
+
|
|
5252
|
+
/* Room that pushes what follows to its line's far end. */
|
|
5253
|
+
.o-toolbar-line > .o-toolbar-spacer { flex: 1 1 0; min-width: 0; align-self: stretch; }
|
|
5254
|
+
|
|
5255
|
+
/* A holder's own filters or view tabs (ToolbarFolds, KIT-858): a box keeping the whole width of what it holds, so the line measures it
|
|
5256
|
+
as it draws, and folds them a step at a time. */
|
|
5257
|
+
.o-toolbar-folds { display: inline-flex; flex: none; min-width: max-content; align-items: center; }
|
|
5258
|
+
|
|
4803
5259
|
/* ── The tooltip: the page's text colour as its ground and the page's ground as its words, so it stands
|
|
4804
5260
|
out in both themes with no shadow; 6px by 8px, ¾ of the radius, 6px from what it names ──────────── */
|
|
4805
5261
|
.o-tooltip {
|
|
@@ -5079,6 +5535,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
5079
5535
|
.o-views-list-mark { display: inline-grid; place-items: center; color: var(--vk-fg-subtle); }
|
|
5080
5536
|
.o-views-list-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
5081
5537
|
.o-picker[data-picker-form="phone"] .o-views-list-mark > svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
|
|
5538
|
+
.o-views-list-form { display: grid; gap: calc(var(--vk-spacing) * 4); }
|
|
5539
|
+
.o-views-list-step-foot { margin-top: calc(var(--vk-spacing) * 4); }
|
|
5540
|
+
:where([data-vk-phone], [data-vk-phone] *).o-views-list-step-act { width: 100%; }
|
|
5082
5541
|
.\@container {
|
|
5083
5542
|
container-type: inline-size;
|
|
5084
5543
|
}
|
|
@@ -5700,6 +6159,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
5700
6159
|
.w-72 {
|
|
5701
6160
|
width: calc(4px * 72);
|
|
5702
6161
|
}
|
|
6162
|
+
.w-75 {
|
|
6163
|
+
width: calc(4px * 75);
|
|
6164
|
+
}
|
|
5703
6165
|
.w-80 {
|
|
5704
6166
|
width: calc(4px * 80);
|
|
5705
6167
|
}
|
|
@@ -6980,6 +7442,10 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
6980
7442
|
--tw-duration: 200ms;
|
|
6981
7443
|
transition-duration: 200ms;
|
|
6982
7444
|
}
|
|
7445
|
+
.ease-in-out {
|
|
7446
|
+
--tw-ease: cubic-bezier(0.4, 0, 0.2, 1);
|
|
7447
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
7448
|
+
}
|
|
6983
7449
|
.ease-out {
|
|
6984
7450
|
--tw-ease: cubic-bezier(0, 0, 0.2, 1);
|
|
6985
7451
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
@@ -7912,6 +8378,164 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7912
8378
|
}
|
|
7913
8379
|
}
|
|
7914
8380
|
}
|
|
8381
|
+
[data-slot="vk-grid"] {
|
|
8382
|
+
--vk-duration: var(--vk-duration-fast);
|
|
8383
|
+
--vk-caption-text: var(--vk-font-size-2xs);
|
|
8384
|
+
--vk-underline-offset: calc(var(--vk-spacing) * 0.75);
|
|
8385
|
+
--vk-underline-width: var(--vk-border-width);
|
|
8386
|
+
--vk-thick-line: var(--vk-focus-width);
|
|
8387
|
+
--vk-focus-ring: inset 0 0 0 var(--vk-focus-width) var(--vk-border-brand);
|
|
8388
|
+
}
|
|
8389
|
+
[data-grid-header="words"] [data-slot="vk-grid"][data-desktop] [data-slot="vk-grid-header"],
|
|
8390
|
+
[data-slot="vk-grid"][data-desktop] [data-slot="vk-grid-header"]:not([data-grid-header] *) {
|
|
8391
|
+
--vk-head-h: calc(var(--vk-spacing) * 9 * var(--vk-scale));
|
|
8392
|
+
--vk-head-text: calc(var(--vk-font-size-sm) * var(--vk-scale));
|
|
8393
|
+
--vk-head-glyph: calc(var(--vk-spacing) * 3.5 * var(--vk-scale));
|
|
8394
|
+
--vk-head-glyph-fg: var(--vk-fg-subtle);
|
|
8395
|
+
}
|
|
8396
|
+
[data-grid-header="words"] [data-slot="vk-grid"][data-desktop] [data-slot="vk-grid-header-cell"],
|
|
8397
|
+
[data-slot="vk-grid"][data-desktop] [data-slot="vk-grid-header-cell"]:not([data-grid-header] *) {
|
|
8398
|
+
--vk-fg-subtle: var(--vk-fg);
|
|
8399
|
+
font-weight: var(--vk-font-weight-medium);
|
|
8400
|
+
}
|
|
8401
|
+
[data-grid-columns="pinned"] [data-slot="vk-grid-cell"][data-frozen],
|
|
8402
|
+
[data-grid-columns="pinned"] [data-slot="vk-grid-header-cell"][data-frozen] {
|
|
8403
|
+
border-right-style: solid;
|
|
8404
|
+
border-right-width: var(--vk-border-width);
|
|
8405
|
+
border-right-color: var(--vk-border-subtle);
|
|
8406
|
+
}
|
|
8407
|
+
[data-grid-edge="fade"] [data-slot="vk-grid"] { --vk-frozen-shadow: var(--vk-frozen-fade); --vk-frozen-shadow-width: calc(var(--vk-spacing) * 7); }
|
|
8408
|
+
[data-grid-edge="mask"] [data-slot="vk-grid"] { --vk-frozen-shadow: var(--vk-ground); --vk-frozen-shadow-width: calc(var(--vk-spacing) * 10); }
|
|
8409
|
+
[data-grid-edge="line"] [data-slot="vk-grid"],
|
|
8410
|
+
[data-grid-edge="divider"] [data-slot="vk-grid"],
|
|
8411
|
+
[data-slot="vk-grid"]:not([data-grid-edge] *) {
|
|
8412
|
+
--vk-frozen-shadow-width: 0;
|
|
8413
|
+
}
|
|
8414
|
+
[data-grid-edge="line"] [data-slot="vk-grid"][data-parked] [data-frozen-edge],
|
|
8415
|
+
[data-slot="vk-grid"][data-parked] [data-frozen-edge]:not([data-grid-edge] *) {
|
|
8416
|
+
border-right-style: solid;
|
|
8417
|
+
border-right-width: var(--vk-border-width);
|
|
8418
|
+
border-right-color: var(--vk-border-bold);
|
|
8419
|
+
}
|
|
8420
|
+
[data-grid-edge="divider"] [data-slot="vk-grid"][data-parked] [data-frozen-edge] {
|
|
8421
|
+
border-right-style: solid;
|
|
8422
|
+
border-right-width: calc(var(--vk-border-width) * 3);
|
|
8423
|
+
border-right-color: var(--vk-border-input);
|
|
8424
|
+
}
|
|
8425
|
+
[data-grid-lines="off"] [data-slot="vk-grid-row"] [data-slot="vk-grid-cell"] {
|
|
8426
|
+
border-bottom-color: transparent;
|
|
8427
|
+
}
|
|
8428
|
+
[data-grid-lines="off"] [data-slot="vk-grid-row"] [data-slot="vk-grid-rail"],
|
|
8429
|
+
[data-grid-lines="off"] [data-slot="vk-grid-row"] [data-slot="vk-grid-tail"],
|
|
8430
|
+
[data-grid-lines="off"] [data-slot="vk-grid-gap"] {
|
|
8431
|
+
--vk-border-subtle: transparent;
|
|
8432
|
+
}
|
|
8433
|
+
[data-grid-cell="wash"] [data-slot="vk-grid-cell"][data-focused],
|
|
8434
|
+
[data-slot="vk-grid-cell"][data-focused]:not([data-grid-cell] *) {
|
|
8435
|
+
background-color: var(--vk-brand-subtlest);
|
|
8436
|
+
}
|
|
8437
|
+
[data-grid-corners="square"] [data-slot="vk-grid"] { --vk-outline-radius: 0; }
|
|
8438
|
+
[data-grid-corners="round"] [data-slot="vk-grid"],
|
|
8439
|
+
[data-slot="vk-grid"]:not([data-grid-corners] *) { --vk-outline-radius: var(--vk-radius-sm); }
|
|
8440
|
+
[data-grid-hover="none"] [data-slot="vk-grid"] { --vk-outline-hover: transparent; }
|
|
8441
|
+
[data-grid-hover="subtle"] [data-slot="vk-grid"] { --vk-outline-hover: var(--vk-border); }
|
|
8442
|
+
[data-grid-hover="strong"] [data-slot="vk-grid"],
|
|
8443
|
+
[data-slot="vk-grid"]:not([data-grid-hover] *) { --vk-outline-hover: var(--vk-border-bold); }
|
|
8444
|
+
[data-grid-frame="brand"] [data-slot="vk-grid"],
|
|
8445
|
+
[data-slot="vk-grid"]:not([data-grid-frame] *) { --vk-outline: var(--vk-border-accent); }
|
|
8446
|
+
[data-grid-frame="neutral"] [data-slot="vk-grid"] { --vk-outline: var(--vk-border-bold); }
|
|
8447
|
+
[data-slot="vk-grid"] { --vk-outline-active: var(--vk-border-accent); }
|
|
8448
|
+
[data-slot="vk-grid-cell"][data-editing]:has([data-kit="text-editor"], [data-kit="number-editor"]) [data-slot="vk-grid-outline"] {
|
|
8449
|
+
display: none;
|
|
8450
|
+
}
|
|
8451
|
+
:root:has([data-slot="vk-grid-editor"] [data-kit="picker"], [data-slot="vk-grid-editor"] [data-kit="compound-editor"], [data-slot="vk-grid-editor"] [data-kit="values-editor"], [data-slot="vk-grid-editor"] [data-kit="date-editor"]) [data-slot="vk-grid-cell"][data-editing] [data-slot="vk-grid-outline"] {
|
|
8452
|
+
display: none;
|
|
8453
|
+
}
|
|
8454
|
+
[data-grid-picked="tint"] [data-slot="vk-grid"] {
|
|
8455
|
+
--vk-selection-edge: transparent;
|
|
8456
|
+
}
|
|
8457
|
+
[data-grid-groups="compact"] [data-slot="vk-grid"] {
|
|
8458
|
+
--vk-group-gap: 0;
|
|
8459
|
+
}
|
|
8460
|
+
[data-slot="vk-grid-group"][data-collapsed] + [data-slot="vk-grid-group"] {
|
|
8461
|
+
--vk-group-gap: 0;
|
|
8462
|
+
}
|
|
8463
|
+
[data-slot="vk-grid-group-head"][data-stuck] {
|
|
8464
|
+
box-shadow: var(--vk-shadow-sm);
|
|
8465
|
+
}
|
|
8466
|
+
[data-grid-names="underline"] [data-slot="vk-grid-title"] {
|
|
8467
|
+
text-decoration-line: underline;
|
|
8468
|
+
text-decoration-color: var(--vk-border-bold);
|
|
8469
|
+
text-decoration-thickness: var(--vk-border-width);
|
|
8470
|
+
text-underline-offset: calc(var(--vk-spacing) * 0.75);
|
|
8471
|
+
}
|
|
8472
|
+
[data-grid-phones="link"] [data-slot="vk-phone"][data-cell-link] {
|
|
8473
|
+
color: var(--vk-fg-brand);
|
|
8474
|
+
text-decoration-line: underline;
|
|
8475
|
+
text-decoration-color: var(--vk-border-bold);
|
|
8476
|
+
text-decoration-thickness: var(--vk-border-width);
|
|
8477
|
+
text-underline-offset: calc(var(--vk-spacing) * 0.75);
|
|
8478
|
+
}
|
|
8479
|
+
[data-grid-typed="dotted"] [data-slot="vk-phone"][data-as-typed],
|
|
8480
|
+
[data-slot="vk-phone"][data-as-typed]:not([data-grid-typed] *) {
|
|
8481
|
+
text-decoration-line: underline;
|
|
8482
|
+
text-decoration-style: dotted;
|
|
8483
|
+
text-decoration-color: var(--vk-warning);
|
|
8484
|
+
text-decoration-thickness: var(--vk-focus-width);
|
|
8485
|
+
text-underline-offset: calc(var(--vk-spacing) * 0.75);
|
|
8486
|
+
}
|
|
8487
|
+
[data-grid-typed="subtle"] [data-slot="vk-phone"][data-as-typed] {
|
|
8488
|
+
color: var(--vk-fg-subtle);
|
|
8489
|
+
}
|
|
8490
|
+
@media (hover: hover) {
|
|
8491
|
+
[data-grid-typed="dotted"] [data-slot="vk-phone"][data-as-typed]:hover,
|
|
8492
|
+
[data-slot="vk-phone"][data-as-typed]:hover:not([data-grid-typed] *) {
|
|
8493
|
+
text-decoration-line: none;
|
|
8494
|
+
}
|
|
8495
|
+
[data-grid-typed="subtle"] [data-slot="vk-phone"][data-as-typed]:hover {
|
|
8496
|
+
color: var(--vk-fg-brand);
|
|
8497
|
+
}
|
|
8498
|
+
}
|
|
8499
|
+
[data-grid-typed="dot"] [data-slot="vk-phone"][data-as-typed]::before {
|
|
8500
|
+
content: "";
|
|
8501
|
+
display: inline-block;
|
|
8502
|
+
vertical-align: middle;
|
|
8503
|
+
flex: none;
|
|
8504
|
+
flex-basis: calc(var(--vk-spacing) * 1.5 * var(--vk-scale));
|
|
8505
|
+
inline-size: calc(var(--vk-spacing) * 1.5 * (var(--vk-scale) + 1));
|
|
8506
|
+
block-size: calc(var(--vk-spacing) * 1.5 * var(--vk-scale));
|
|
8507
|
+
background: radial-gradient(circle closest-side, var(--vk-warning-bold) 100%, transparent 100%) no-repeat 0 / calc(var(--vk-spacing) * 1.5 * var(--vk-scale)) calc(var(--vk-spacing) * 1.5 * var(--vk-scale));
|
|
8508
|
+
}
|
|
8509
|
+
[data-grid-typed="tint"] [data-slot="vk-phone"][data-as-typed] {
|
|
8510
|
+
background-color: var(--vk-warning-subtler);
|
|
8511
|
+
border-radius: var(--vk-radius-xs);
|
|
8512
|
+
padding-inline: var(--vk-spacing);
|
|
8513
|
+
margin-inline-start: calc(var(--vk-spacing) * -1);
|
|
8514
|
+
}
|
|
8515
|
+
[data-grid-figures="value"] [data-slot="vk-grid-figure-value"] {
|
|
8516
|
+
order: -1;
|
|
8517
|
+
color: var(--vk-fg);
|
|
8518
|
+
font-weight: var(--vk-font-weight-medium);
|
|
8519
|
+
}
|
|
8520
|
+
[data-grid-figures="value"] [data-slot="vk-grid-figure-label"] {
|
|
8521
|
+
text-transform: lowercase;
|
|
8522
|
+
letter-spacing: normal;
|
|
8523
|
+
color: var(--vk-fg-subtlest);
|
|
8524
|
+
}
|
|
8525
|
+
[data-grid-figures="value"] [data-slot="vk-grid-figure-pick"] {
|
|
8526
|
+
text-transform: none;
|
|
8527
|
+
letter-spacing: normal;
|
|
8528
|
+
}
|
|
8529
|
+
[data-grid-figures="value"] [data-slot="vk-grid-figure-pick"]::before {
|
|
8530
|
+
content: "+";
|
|
8531
|
+
content: "+" / "";
|
|
8532
|
+
margin-right: var(--vk-spacing);
|
|
8533
|
+
}
|
|
8534
|
+
[data-slot="vk-grid-header-cell"][data-open],
|
|
8535
|
+
[data-slot="vk-grid-footer-cell"][data-open],
|
|
8536
|
+
[data-slot="vk-grid-header"] [data-slot="vk-grid-tail"]:has([data-open]) {
|
|
8537
|
+
background-color: var(--vk-pressed);
|
|
8538
|
+
}
|
|
7915
8539
|
@layer components {
|
|
7916
8540
|
@layer viewkit {
|
|
7917
8541
|
:where(:root) {
|
|
@@ -8036,6 +8660,13 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8036
8660
|
--vk-radius-sm: 5px;
|
|
8037
8661
|
--vk-radius-xs: 2.5px;
|
|
8038
8662
|
--vk-tracking-normal: 0em;
|
|
8663
|
+
--vk-border-input: hsl(220 3% 86%);
|
|
8664
|
+
--vk-fg-disabled: hsl(210 1% 72%);
|
|
8665
|
+
--vk-focus-offset: 2px;
|
|
8666
|
+
--vk-focus-width: 2px;
|
|
8667
|
+
--vk-font-weight-medium: 500;
|
|
8668
|
+
--vk-layer-sticky: 20;
|
|
8669
|
+
--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);
|
|
8039
8670
|
--vk-brand-hovered: hsl(219 70% 46.5%);
|
|
8040
8671
|
--vk-brand-pressed: hsl(219 70% 38%);
|
|
8041
8672
|
--vk-brand-subtler-hovered: hsl(218 100% 89%);
|
|
@@ -8053,20 +8684,15 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8053
8684
|
--vk-warning-bold-pressed: hsl(23 85% 29%);
|
|
8054
8685
|
--vk-brighten: hsl(0 0% 100% / 0.09);
|
|
8055
8686
|
--vk-darken: hsl(214 30% 10% / 0.1);
|
|
8056
|
-
--vk-border-input: hsl(220 3% 86%);
|
|
8057
8687
|
--vk-border-input-hovered: hsl(210 1% 82%);
|
|
8058
8688
|
--vk-raised: hsl(0 0% 100%);
|
|
8059
8689
|
--vk-raised-hovered: hsl(220 3% 97%);
|
|
8060
8690
|
--vk-overlay-hovered: hsl(220 3% 97%);
|
|
8061
8691
|
--vk-overlay-pressed: hsl(0 0% 94%);
|
|
8062
|
-
--vk-fg-disabled: hsl(210 1% 72%);
|
|
8063
8692
|
--vk-corner-smoothing: 0.7;
|
|
8064
8693
|
--vk-duration-instant: 60ms;
|
|
8065
8694
|
--vk-duration-slow: 300ms;
|
|
8066
8695
|
--vk-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
8067
|
-
--vk-focus-width: 2px;
|
|
8068
|
-
--vk-focus-offset: 2px;
|
|
8069
|
-
--vk-font-weight-medium: 500;
|
|
8070
8696
|
--vk-hover-lift: 1px;
|
|
8071
8697
|
--vk-press-scale: 0.98;
|
|
8072
8698
|
--vk-press-squash: 1.025 0.92;
|
|
@@ -8090,8 +8716,10 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8090
8716
|
--vk-selected: hsl(0 0% 94.5%);
|
|
8091
8717
|
--vk-sunken: hsl(0 0% 98%);
|
|
8092
8718
|
--vk-sunken-hovered: hsl(0 0% 94.5%);
|
|
8093
|
-
--vk-
|
|
8719
|
+
--vk-border-selected: hsl(219 90% 65.5%);
|
|
8094
8720
|
--vk-line-height-xs: 1.3333;
|
|
8721
|
+
--vk-ease-out-sharp: cubic-bezier(0.23, 1, 0.32, 1);
|
|
8722
|
+
--vk-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
8095
8723
|
--vk-border-accent: hsl(219 90% 65.5%);
|
|
8096
8724
|
--vk-font-size-xl: 20px;
|
|
8097
8725
|
--vk-font-weight-normal: 400;
|
|
@@ -8106,6 +8734,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8106
8734
|
--vk-shadow-glass-pair: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.12);
|
|
8107
8735
|
--vk-shadow-glass-pill: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.1);
|
|
8108
8736
|
--vk-glass-icon-stroke: 1.7;
|
|
8737
|
+
--vk-frozen-fade: hsl(214 30% 10% / 0.06);
|
|
8738
|
+
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
8109
8739
|
--vk-brand-300: hsl(218 100% 89%);
|
|
8110
8740
|
--vk-border-input-strong: hsl(210 1% 72%);
|
|
8111
8741
|
--vk-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
@@ -8116,7 +8746,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8116
8746
|
--vk-font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
8117
8747
|
--vk-overlay-selected: hsl(220 7% 90%);
|
|
8118
8748
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
8119
|
-
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
8120
8749
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
8121
8750
|
--vk-label-amber-pressed: hsl(24 86% 35.5%);
|
|
8122
8751
|
--vk-label-blue-pressed: hsl(219 70% 46.5%);
|
|
@@ -8137,9 +8766,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8137
8766
|
--vk-container-5xl: 1024px;
|
|
8138
8767
|
--vk-border-modal-ring: hsl(210 1% 88%);
|
|
8139
8768
|
--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);
|
|
8141
8769
|
--vk-header: hsl(0 0% 100%);
|
|
8142
|
-
--vk-border-selected: hsl(219 90% 65.5%);
|
|
8143
8770
|
--vk-scrollbar-size: 6px;
|
|
8144
8771
|
--vk-scrollbar-inset: 2px;
|
|
8145
8772
|
--vk-scrollbar-thumb: hsl(210 1% 82%);
|
|
@@ -8163,7 +8790,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8163
8790
|
--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);
|
|
8164
8791
|
--vk-duration-spring-lively: 633ms;
|
|
8165
8792
|
--vk-sheet-press-scale: 1.005;
|
|
8166
|
-
--vk-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
8167
8793
|
--vk-loading-dim: 0.55;
|
|
8168
8794
|
--vk-progress-slide: 1400ms;
|
|
8169
8795
|
--vk-spinner-breath: 1400ms;
|
|
@@ -8188,6 +8814,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8188
8814
|
--vk-teal-700: hsl(192 87% 32%);
|
|
8189
8815
|
--vk-font-weight-bold: 700;
|
|
8190
8816
|
--vk-toast-duration: 4000ms;
|
|
8817
|
+
--vk-raised-selected: hsl(220 7% 90%);
|
|
8818
|
+
--vk-sunken-selected: hsl(0 0% 91%);
|
|
8191
8819
|
--vk-tooltip-delay: 500ms;
|
|
8192
8820
|
--vk-tooltip-warm: 300ms;
|
|
8193
8821
|
--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);
|
|
@@ -8305,6 +8933,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8305
8933
|
--vk-person-6: #9dabdd;
|
|
8306
8934
|
--vk-person-fg: #10141a;
|
|
8307
8935
|
--vk-success-bold: hsl(158 98% 34%);
|
|
8936
|
+
--vk-border-input: hsl(220 4% 22%);
|
|
8937
|
+
--vk-fg-disabled: hsl(210 1% 37%);
|
|
8938
|
+
--vk-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
8308
8939
|
--vk-brand-hovered: hsl(219 95% 64%);
|
|
8309
8940
|
--vk-brand-pressed: hsl(219 100% 72.5%);
|
|
8310
8941
|
--vk-brand-subtler-hovered: hsl(219 46% 21%);
|
|
@@ -8322,13 +8953,11 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8322
8953
|
--vk-warning-bold-pressed: hsl(20 73% 65.5%);
|
|
8323
8954
|
--vk-brighten: hsl(210 8% 95% / 0.09);
|
|
8324
8955
|
--vk-darken: hsl(0 0% 0% / 0.15);
|
|
8325
|
-
--vk-border-input: hsl(220 4% 22%);
|
|
8326
8956
|
--vk-border-input-hovered: hsl(210 2% 26.5%);
|
|
8327
8957
|
--vk-raised: hsl(226 10% 10%);
|
|
8328
8958
|
--vk-raised-hovered: hsl(225 7% 15%);
|
|
8329
8959
|
--vk-overlay-hovered: hsl(225 7% 15%);
|
|
8330
8960
|
--vk-overlay-pressed: hsl(225 7% 15%);
|
|
8331
|
-
--vk-fg-disabled: hsl(210 1% 37%);
|
|
8332
8961
|
--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);
|
|
8333
8962
|
--vk-shadow-key-pressed: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.18);
|
|
8334
8963
|
--vk-shadow-key-pressed-bold: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.42);
|
|
@@ -8347,6 +8976,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8347
8976
|
--vk-selected: hsl(225 7% 15%);
|
|
8348
8977
|
--vk-sunken: hsl(210 8% 5%);
|
|
8349
8978
|
--vk-sunken-hovered: hsl(210 4% 9.5%);
|
|
8979
|
+
--vk-border-selected: hsl(219 66% 47%);
|
|
8350
8980
|
--vk-border-accent: hsl(219 66% 47%);
|
|
8351
8981
|
--vk-border-overlay-card: hsl(220 4% 22%);
|
|
8352
8982
|
--vk-border-warning: hsl(22 74% 36%);
|
|
@@ -8357,6 +8987,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8357
8987
|
--vk-shadow-glass: 0 8px 40px 4px hsl(0 0% 0% / 0.06);
|
|
8358
8988
|
--vk-shadow-glass-pair: 0 8px 40px 4px hsl(0 0% 0% / 0.06);
|
|
8359
8989
|
--vk-shadow-glass-pill: 0 8px 40px 4px hsl(0 0% 0% / 0.06);
|
|
8990
|
+
--vk-frozen-fade: hsl(0 0% 0% / 0.55);
|
|
8991
|
+
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
8360
8992
|
--vk-brand-300: hsl(219 46% 21%);
|
|
8361
8993
|
--vk-border-input-strong: hsl(210 1% 37%);
|
|
8362
8994
|
--vk-shadow-field: 0 1px 1px 0 rgb(255 255 255 / 0.08);
|
|
@@ -8365,7 +8997,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8365
8997
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|
|
8366
8998
|
--vk-overlay-selected: hsl(225 7% 15%);
|
|
8367
8999
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
8368
|
-
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
8369
9000
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
8370
9001
|
--vk-label-amber-pressed: hsl(21 66% 55%);
|
|
8371
9002
|
--vk-label-blue-pressed: hsl(219 95% 64%);
|
|
@@ -8379,9 +9010,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8379
9010
|
--vk-backdrop-modal-veil-deep: hsl(226 10% 10% / 0.72);
|
|
8380
9011
|
--vk-border-modal-ring: hsl(210 2% 19%);
|
|
8381
9012
|
--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%);
|
|
8383
9013
|
--vk-header: hsl(210 6% 7%);
|
|
8384
|
-
--vk-border-selected: hsl(219 66% 47%);
|
|
8385
9014
|
--vk-scrollbar-thumb: hsl(210 2% 26.5%);
|
|
8386
9015
|
--vk-scrollbar-thumb-hovered: hsl(210 1% 37%);
|
|
8387
9016
|
--vk-backdrop-sheet: hsl(0 0% 0% / 0.45);
|
|
@@ -8405,6 +9034,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
8405
9034
|
--vk-purple-700: hsl(260 100% 69%);
|
|
8406
9035
|
--vk-red-700: hsl(0 81% 58%);
|
|
8407
9036
|
--vk-teal-700: hsl(192 87% 40%);
|
|
9037
|
+
--vk-raised-selected: hsl(225 7% 15%);
|
|
9038
|
+
--vk-sunken-selected: hsl(225 7% 11%);
|
|
8408
9039
|
--vk-t-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
8409
9040
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(255 255 255 / 0.08);
|
|
8410
9041
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|