viewkitjs 0.27.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 +178 -0
- package/MIGRATION.md +123 -5
- 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.d.ts +3 -1
- package/views/dist/cells/cell-format.js +3 -3
- package/views/dist/cells/cell-values.js +9 -10
- package/views/dist/cells/use-cell-format.d.ts +8 -1
- package/views/dist/cells/use-cell-format.js +13 -2
- package/views/dist/contract.d.ts +218 -5
- package/views/dist/contract.js +233 -1
- package/views/dist/controls/alert/alert.d.ts +46 -0
- package/views/dist/controls/alert/alert.js +11 -0
- package/views/dist/controls/alert/looks.d.ts +4 -0
- package/views/dist/controls/alert/looks.js +19 -0
- package/views/dist/controls/alert/tokens.d.ts +92 -0
- package/views/dist/controls/alert/tokens.js +25 -0
- package/views/dist/controls/alert-dialog/alert-dialog.d.ts +50 -0
- package/views/dist/controls/alert-dialog/alert-dialog.js +67 -0
- package/views/dist/controls/alert-dialog/confirm.d.ts +13 -0
- package/views/dist/controls/alert-dialog/confirm.js +11 -0
- package/views/dist/controls/alert-dialog/looks.d.ts +4 -0
- package/views/dist/controls/alert-dialog/looks.js +17 -0
- package/views/dist/controls/alert-dialog/tokens.d.ts +119 -0
- package/views/dist/controls/alert-dialog/tokens.js +32 -0
- package/views/dist/controls/alert-dialog.css +95 -0
- package/views/dist/controls/alert.css +51 -0
- package/views/dist/controls/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/collapsible/collapsible.d.ts +39 -0
- package/views/dist/controls/collapsible/collapsible.js +18 -0
- package/views/dist/controls/collapsible/looks.d.ts +4 -0
- package/views/dist/controls/collapsible/looks.js +5 -0
- package/views/dist/controls/collapsible/map-collapse.d.ts +2 -0
- package/views/dist/controls/collapsible/map-collapse.js +6 -0
- package/views/dist/controls/collapsible/tokens.d.ts +68 -0
- package/views/dist/controls/collapsible/tokens.js +19 -0
- package/views/dist/controls/collapsible.css +83 -0
- package/views/dist/controls/compound-editor/looks.js +1 -1
- package/views/dist/controls/compound-editor/place-parts.js +5 -1
- package/views/dist/controls/controls.d.ts +19 -0
- package/views/dist/controls/controls.js +17 -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/date-editor.d.ts +2 -1
- package/views/dist/controls/date-editor/looks.js +1 -1
- package/views/dist/controls/date-editor/map-calendar.js +3 -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 +58 -0
- package/views/dist/controls/filter-editor/filter-editor.js +250 -0
- package/views/dist/controls/filter-editor/how.d.ts +23 -0
- package/views/dist/controls/filter-editor/how.js +14 -0
- package/views/dist/controls/filter-editor/map-filter-body.d.ts +33 -0
- package/views/dist/controls/filter-editor/map-filter-body.js +190 -0
- package/views/dist/controls/filter-editor/map-rules.d.ts +101 -0
- package/views/dist/controls/filter-editor/map-rules.js +304 -0
- package/views/dist/controls/filter-editor/parts.d.ts +46 -0
- package/views/dist/controls/filter-editor/parts.js +75 -0
- package/views/dist/controls/filter-editor/rules.d.ts +142 -0
- package/views/dist/controls/filter-editor/rules.js +201 -0
- package/views/dist/controls/filter-editor/tokens.d.ts +83 -0
- package/views/dist/controls/filter-editor/tokens.js +23 -0
- package/views/dist/controls/filter-editor/words.d.ts +74 -0
- package/views/dist/controls/filter-editor/words.js +46 -0
- package/views/dist/controls/filter-editor.css +142 -0
- package/views/dist/controls/group-editor/group-editor.d.ts +56 -0
- package/views/dist/controls/group-editor/group-editor.js +126 -0
- package/views/dist/controls/group-editor/map-group-body.d.ts +19 -0
- package/views/dist/controls/group-editor/map-group-body.js +106 -0
- package/views/dist/controls/group-editor/rules.d.ts +48 -0
- package/views/dist/controls/group-editor/rules.js +41 -0
- package/views/dist/controls/group-editor/tokens.d.ts +15 -0
- package/views/dist/controls/group-editor/tokens.js +6 -0
- package/views/dist/controls/group-editor/words.d.ts +39 -0
- package/views/dist/controls/group-editor/words.js +21 -0
- package/views/dist/controls/group-editor.css +20 -0
- package/views/dist/controls/index.d.ts +45 -3
- package/views/dist/controls/index.js +44 -3
- package/views/dist/controls/inline-input/looks.js +1 -1
- package/views/dist/controls/input/input.js +10 -4
- package/views/dist/controls/internal/editor-parts.d.ts +8 -1
- package/views/dist/controls/internal/editor-parts.js +5 -0
- package/views/dist/controls/internal/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/step-return.d.ts +9 -0
- package/views/dist/controls/internal/step-return.js +27 -0
- 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/links-editor/links-editor.d.ts +5 -3
- package/views/dist/controls/links-editor/links-editor.js +38 -17
- package/views/dist/controls/links-editor/map-links-body.js +4 -1
- package/views/dist/controls/links-editor.css +1 -1
- package/views/dist/controls/menu/map-menu.js +2 -2
- package/views/dist/controls/menu-list/menu-list.d.ts +17 -2
- package/views/dist/controls/menu-list/menu-list.js +25 -16
- package/views/dist/controls/modal/looks.d.ts +4 -0
- package/views/dist/controls/modal/looks.js +25 -0
- package/views/dist/controls/modal/modal.d.ts +69 -0
- package/views/dist/controls/modal/modal.js +62 -0
- package/views/dist/controls/modal/tokens.d.ts +192 -0
- package/views/dist/controls/modal/tokens.js +50 -0
- package/views/dist/controls/modal.css +130 -0
- package/views/dist/controls/notice/notice.d.ts +49 -0
- package/views/dist/controls/notice/notice.js +35 -0
- package/views/dist/controls/notice/tokens.d.ts +99 -0
- package/views/dist/controls/notice/tokens.js +27 -0
- package/views/dist/controls/notice.css +100 -0
- package/views/dist/controls/number-editor/looks.js +1 -1
- package/views/dist/controls/number-editor/number-editor.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/looks.d.ts +4 -0
- package/views/dist/controls/pane/looks.js +11 -0
- package/views/dist/controls/pane/pane.d.ts +67 -0
- package/views/dist/controls/pane/pane.js +99 -0
- package/views/dist/controls/pane/state.d.ts +14 -0
- package/views/dist/controls/pane/state.js +7 -0
- package/views/dist/controls/pane/tokens.d.ts +79 -0
- package/views/dist/controls/pane/tokens.js +22 -0
- package/views/dist/controls/pane.css +104 -0
- package/views/dist/controls/picker/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/picker/rows.d.ts +4 -2
- package/views/dist/controls/picker/rows.js +4 -3
- 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/sort-editor/map-sort-body.d.ts +9 -0
- package/views/dist/controls/sort-editor/map-sort-body.js +81 -0
- package/views/dist/controls/sort-editor/rules.d.ts +48 -0
- package/views/dist/controls/sort-editor/rules.js +24 -0
- package/views/dist/controls/sort-editor/sort-editor.d.ts +58 -0
- package/views/dist/controls/sort-editor/sort-editor.js +180 -0
- package/views/dist/controls/sort-editor/tokens.d.ts +79 -0
- package/views/dist/controls/sort-editor/tokens.js +22 -0
- package/views/dist/controls/sort-editor/words.d.ts +48 -0
- package/views/dist/controls/sort-editor/words.js +25 -0
- package/views/dist/controls/sort-editor.css +96 -0
- package/views/dist/controls/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 +79 -0
- package/views/dist/controls/toast/toast.js +101 -0
- package/views/dist/controls/toast/tokens.d.ts +100 -0
- package/views/dist/controls/toast/tokens.js +27 -0
- package/views/dist/controls/toast.css +93 -0
- package/views/dist/controls/tokens.js +38 -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/values-editor/values-editor.js +7 -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 +5 -5
- package/views/dist/display/format.d.ts +6 -0
- package/views/dist/display/format.js +13 -2
- package/views/dist/display/index.d.ts +1 -1
- package/views/dist/display/index.js +1 -1
- package/views/dist/display/options.d.ts +3 -1
- package/views/dist/display/range.d.ts +2 -1
- package/views/dist/display/range.js +4 -1
- package/views/dist/display/use-display-options.d.ts +3 -0
- package/views/dist/display/use-display-options.js +10 -2
- package/views/dist/display/viewer.d.ts +1 -1
- package/views/dist/display/viewer.js +1 -1
- package/views/dist/editors/DateEditor.js +11 -9
- package/views/dist/editors/relation-panel.js +7 -1
- package/views/dist/editors/relation-picker.d.ts +2 -1
- package/views/dist/editors/relation-picker.js +4 -3
- package/views/dist/editors/relation-source.d.ts +4 -1
- package/views/dist/editors/relation-source.js +5 -2
- package/views/dist/field-row/editors/RowNumberEditor.js +2 -2
- package/views/dist/fields/number-edit.d.ts +6 -0
- package/views/dist/fields/number-edit.js +8 -1
- package/views/dist/grid/chrome/GridCellEditors.js +2 -2
- package/views/dist/grid/chrome/GridColumnDateSection.d.ts +4 -3
- package/views/dist/grid/chrome/GridColumnDateSection.js +4 -4
- package/views/dist/grid/chrome/GridColumnDurationSection.js +2 -2
- package/views/dist/grid/chrome/GridColumnMenu.js +6 -4
- package/views/dist/grid/chrome/GridFooter.js +2 -2
- package/views/dist/grid/chrome/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-column-menu-items.js +4 -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/chrome/useGridBandFigures.js +2 -2
- package/views/dist/grid/chrome/useGridFittedWidths.d.ts +3 -0
- package/views/dist/grid/chrome/useGridFittedWidths.js +9 -3
- package/views/dist/grid/chrome/useGridKeyboard.d.ts +4 -1
- package/views/dist/grid/chrome/useGridKeyboard.js +5 -2
- package/views/dist/grid/chrome/useGridTableInteractionModel.js +2 -1
- package/views/dist/grid/core/clipboard-model.js +9 -4
- package/views/dist/grid/core/commit-model.d.ts +7 -0
- package/views/dist/grid/core/commit-model.js +5 -1
- package/views/dist/grid/core/editing-controller.js +10 -2
- package/views/dist/grid/core/editing-model.js +3 -7
- package/views/dist/grid/core/undo-owner.d.ts +6 -0
- package/views/dist/grid/core/undo-owner.js +13 -0
- package/views/dist/grid/core/useGridEditing.d.ts +2 -0
- package/views/dist/grid/core/useGridEditing.js +4 -0
- package/views/dist/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 +10 -0
- package/views/dist/looks/index.js +10 -0
- package/views/dist/looks/pieces.js +20 -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 +14 -1
- package/views/dist/panels/quick/model.d.ts +4 -0
- package/views/dist/panels/react/customize-body.d.ts +12 -5
- package/views/dist/panels/react/customize-body.js +41 -13
- package/views/dist/panels/react/customize.d.ts +8 -1
- package/views/dist/panels/react/customize.js +11 -6
- package/views/dist/panels/react/filter/FilterEditor.js +6 -6
- package/views/dist/panels/react/filter/FilterFieldList.js +10 -2
- package/views/dist/panels/react/filter/PhoneFilterEditor.d.ts +8 -2
- package/views/dist/panels/react/filter/PhoneFilterEditor.js +12 -9
- package/views/dist/panels/react/filter/filter-body.d.ts +8 -5
- package/views/dist/panels/react/filter/filter-body.js +21 -7
- package/views/dist/panels/react/filter/filter-part-body.d.ts +4 -1
- package/views/dist/panels/react/filter/filter-part-body.js +3 -1
- package/views/dist/panels/react/panel-sheet.d.ts +5 -1
- package/views/dist/panels/react/panel-sheet.js +6 -2
- package/views/dist/panels/react/panel-step.d.ts +15 -0
- package/views/dist/panels/react/panel-step.js +27 -0
- package/views/dist/panels/react/quick/QuickFiltersPanel.js +1 -0
- package/views/dist/panels/react/sort/SortEditor.d.ts +4 -0
- package/views/dist/panels/react/sort/SortEditor.js +5 -2
- package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +18 -0
- package/views/dist/panels/react/toolbar/ReadyToolbar.js +93 -4
- 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 +15 -5
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.d.ts +16 -0
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +50 -0
- package/views/dist/panels/react/toolbar/ToolbarFilterSheet.js +3 -1
- package/views/dist/panels/react/toolbar/ToolbarFilters.d.ts +4 -1
- package/views/dist/panels/react/toolbar/ToolbarFilters.js +38 -23
- 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/toolbar/ToolbarQuickFilters.d.ts +4 -1
- package/views/dist/panels/react/toolbar/ToolbarQuickFilters.js +2 -2
- package/views/dist/panels/react/toolbar/ToolbarSortPill.d.ts +5 -0
- package/views/dist/panels/react/toolbar/ToolbarSortPill.js +15 -6
- package/views/dist/panels/react/toolbar/panel-part.d.ts +5 -1
- package/views/dist/panels/react/toolbar/panel-part.js +2 -2
- package/views/dist/panels/react/toolbar/use-filter-add.d.ts +16 -0
- package/views/dist/panels/react/toolbar/use-filter-add.js +32 -0
- package/views/dist/panels/react/view-footer.d.ts +1 -1
- package/views/dist/panels/react/views-row/ViewPicker.js +25 -4
- package/views/dist/panels/react.d.ts +1 -0
- package/views/dist/panels/react.js +1 -0
- package/views/dist/panels/settings/filter-groups.d.ts +3 -0
- package/views/dist/panels/settings/filter-groups.js +72 -7
- package/views/dist/panels/settings/filters.d.ts +5 -0
- package/views/dist/panels/settings/filters.js +12 -6
- package/views/dist/panels/settings/group-buckets.js +1 -0
- package/views/dist/panels/views-row/model.d.ts +10 -1
- package/views/dist/provider/ViewsProvider.d.ts +7 -1
- package/views/dist/provider/ViewsProvider.js +50 -6
- package/views/dist/provider/components.d.ts +178 -11
- package/views/dist/provider/context.d.ts +6 -0
- package/views/dist/provider/moment.d.ts +6 -0
- package/views/dist/provider/moment.js +10 -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 +1499 -73
- package/views/dist/styles.unlayered.css +1497 -70
- package/views/docs/contract.md +56 -23
- package/views/docs/controls/alert-dialog.md +37 -0
- package/views/docs/controls/alert.md +30 -0
- package/views/docs/controls/bulk-bar.md +41 -0
- package/views/docs/controls/choice.md +25 -0
- package/views/docs/controls/collapsible.md +22 -0
- package/views/docs/controls/customize.md +17 -0
- package/views/docs/controls/filter-editor.md +28 -0
- package/views/docs/controls/group-editor.md +11 -0
- package/views/docs/controls/modal.md +55 -0
- package/views/docs/controls/notice.md +32 -0
- package/views/docs/controls/pane.md +25 -0
- package/views/docs/controls/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/sort-editor.md +27 -0
- package/views/docs/controls/switch-row.md +18 -0
- package/views/docs/controls/tag-field.md +7 -0
- package/views/docs/controls/toast.md +32 -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 +3 -3
- package/views/docs/guides/display.md +3 -3
- 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 +2 -2
- package/views/docs/guides/the-provider.md +21 -2
- package/views/docs/install.md +4 -1
- package/views/docs/reference/cells.md +3 -3
- package/views/docs/reference/controls.md +403 -16
- package/views/docs/reference/display.md +3 -2
- package/views/docs/reference/editors-relation.md +1 -1
- package/views/docs/reference/looks.md +35 -11
- package/views/docs/reference/panels-react.md +11 -10
- package/views/docs/reference/panels.md +9 -7
- package/views/docs/reference/react.md +20 -13
- package/views/docs/reference/selection.md +4 -2
- package/views/docs/reference/views.md +8 -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] *),
|
|
@@ -253,6 +253,8 @@
|
|
|
253
253
|
|
|
254
254
|
@property --smooth-khx { syntax: "<number>"; inherits: true; initial-value: 0; }
|
|
255
255
|
|
|
256
|
+
@property --o-collapsible-h { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
257
|
+
|
|
256
258
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
257
259
|
|
|
258
260
|
.o-smooth, .o-smooth::before, .o-smooth::after {
|
|
@@ -302,6 +304,115 @@
|
|
|
302
304
|
--smooth-khx: calc(var(--smooth-k) - var(--smooth-hx));
|
|
303
305
|
}
|
|
304
306
|
|
|
307
|
+
/* ── What's behind it, and where it stands: in the middle of the screen, over everything ─────────────────────────────────────────── */
|
|
308
|
+
.o-alert-backdrop, .o-alert-viewport { position: fixed; inset: 0; z-index: var(--vk-layer-popup); }
|
|
309
|
+
.o-alert-backdrop { background-color: var(--vk-backdrop-alert-medium); transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
310
|
+
.o-alert-backdrop:is([data-starting-style], [data-ending-style]) { opacity: 0; }
|
|
311
|
+
[data-alert-dialog-strength="light"] .o-alert-backdrop { background-color: var(--vk-backdrop-alert-light); }
|
|
312
|
+
[data-alert-dialog-strength="deep"] .o-alert-backdrop { background-color: var(--vk-backdrop-alert-deep); }
|
|
313
|
+
[data-alert-dialog-behind="veil"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil-medium); }
|
|
314
|
+
[data-alert-dialog-behind="veil"][data-alert-dialog-strength="light"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil-light); }
|
|
315
|
+
[data-alert-dialog-behind="veil"][data-alert-dialog-strength="deep"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil); }
|
|
316
|
+
/* How far the page blurs under it, each screen's own. No blur at all at none, since blur(0) still builds a backdrop root. */
|
|
317
|
+
[data-alert-dialog-blur="4"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="4"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-xs)); backdrop-filter: blur(var(--vk-blur-xs)); }
|
|
318
|
+
[data-alert-dialog-blur="8"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="8"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-sm)); backdrop-filter: blur(var(--vk-blur-sm)); }
|
|
319
|
+
[data-alert-dialog-blur="12"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="12"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-md)); backdrop-filter: blur(var(--vk-blur-md)); }
|
|
320
|
+
[data-alert-dialog-blur="24"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="24"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-lg)); backdrop-filter: blur(var(--vk-blur-lg)); }
|
|
321
|
+
.o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 4); box-sizing: border-box; display: grid; place-items: center; padding: var(--alert-margin); overflow-y: auto; outline: none; }
|
|
322
|
+
[data-alert-dialog-margin="8"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 2); }
|
|
323
|
+
[data-alert-dialog-margin="12"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 3); }
|
|
324
|
+
[data-alert-dialog-margin="24"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 6); }
|
|
325
|
+
[data-alert-dialog-margin="32"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 8); }
|
|
326
|
+
|
|
327
|
+
/* ── Its panel: on the overlay's ground, one width on a computer, the phone's width less its margins ─────────────────────────────── */
|
|
328
|
+
.o-alert-dialog {
|
|
329
|
+
--alert-corners: var(--vk-radius-2xl); --alert-padding: calc(var(--vk-spacing) * 6);
|
|
330
|
+
box-sizing: border-box; width: 100%; max-width: var(--vk-container-sm); min-width: 0; border: var(--vk-border-width) solid var(--vk-border-subtle); border-radius: var(--alert-corners);
|
|
331
|
+
background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); color: var(--vk-fg); outline: none;
|
|
332
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out);
|
|
333
|
+
}
|
|
334
|
+
.o-alert-dialog[data-screen="phone"] { max-width: none; }
|
|
335
|
+
/* Its shadow, each screen's own. */
|
|
336
|
+
[data-alert-dialog-shadow="none"] .o-alert-dialog[data-screen="computer"], [data-alert-dialog-shadowphone="none"] .o-alert-dialog[data-screen="phone"] { box-shadow: none; }
|
|
337
|
+
[data-alert-dialog-shadow="lg"] .o-alert-dialog[data-screen="computer"], [data-alert-dialog-shadowphone="lg"] .o-alert-dialog[data-screen="phone"] { box-shadow: var(--vk-shadow-lg); }
|
|
338
|
+
[data-alert-dialog-shadow="xl"] .o-alert-dialog[data-screen="computer"], [data-alert-dialog-shadowphone="xl"] .o-alert-dialog[data-screen="phone"] { box-shadow: var(--vk-shadow-xl); }
|
|
339
|
+
.o-alert-dialog:is([data-starting-style], [data-ending-style]) { opacity: 0; scale: var(--vk-push-scale); }
|
|
340
|
+
.o-alert-dialog[data-ending-style] { transition-duration: var(--vk-duration-fast); transition-timing-function: var(--vk-ease-in); }
|
|
341
|
+
[data-alert-dialog-corners="lg"] .o-alert-dialog { --alert-corners: var(--vk-radius-lg); }
|
|
342
|
+
[data-alert-dialog-corners="xl"] .o-alert-dialog { --alert-corners: var(--vk-radius-xl); }
|
|
343
|
+
[data-alert-dialog-corners="3xl"] .o-alert-dialog { --alert-corners: var(--vk-radius-3xl); }
|
|
344
|
+
.o-alert-cut { border-radius: inherit; background-color: inherit; }
|
|
345
|
+
|
|
346
|
+
/* ── How far the Alert's words stand from its panel's edge, which the Alert reads (alert.css) ─────────────────────────────────────── */
|
|
347
|
+
[data-alert-dialog-padding="16"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 4); }
|
|
348
|
+
[data-alert-dialog-padding="20"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 5); }
|
|
349
|
+
[data-alert-dialog-padding="28"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 7); }
|
|
350
|
+
|
|
351
|
+
/* ── The X, in its corner, on the phone only, beside the Alert in its panel or its Sheet: Glass when the phone header is Glass, or a
|
|
352
|
+
quiet Button ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
353
|
+
.o-alert-held { position: relative; min-width: 0; }
|
|
354
|
+
.o-alert-x { display: none; }
|
|
355
|
+
[data-alert-dialog-close="shown"] .o-alert-x { position: absolute; top: calc(var(--vk-spacing) * 3); right: calc(var(--vk-spacing) * 3); display: grid; }
|
|
356
|
+
[data-alert-dialog-close="shown"] .o-alert-held[data-shell="sheet"] .o-alert-x { top: 0; right: 0; }
|
|
357
|
+
[data-alert-dialog-close="shown"] .o-alert-held[data-screen="phone"] .o-alert-title { padding-right: calc(var(--vk-spacing) * 11); }
|
|
358
|
+
.o-alert-x .o-alert-x-glass { display: none; }
|
|
359
|
+
/* Glass unless the phone's surface is Flat, as ViewKit's phone header and Sheet are where nothing is picked. */
|
|
360
|
+
.o-alert-held[data-screen="phone"]:not([data-phone-header-surface="flat"] *) .o-alert-x .o-alert-x-glass { display: grid; }
|
|
361
|
+
.o-alert-held[data-screen="phone"]:not([data-phone-header-surface="flat"] *) .o-alert-x .o-alert-x-plain { display: none; }
|
|
362
|
+
|
|
363
|
+
/* ── Its corners smooth, the default (what nothing set draws), unless a frame picks Round: the smooth outline (smooth.css), Apple's curve as measured, so every browser that knows shape() shows it; one that doesn't
|
|
364
|
+
keeps the corners above. The panel keeps its shadow, which a cut would take with it, so .o-alert-cut inside it is cut instead ───── */
|
|
365
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
366
|
+
.o-alert-dialog:not([data-alert-dialog-smoothing="round"] *) { border-color: transparent; background-color: transparent; background-clip: padding-box; }
|
|
367
|
+
.o-alert-cut:not([data-alert-dialog-smoothing="round"] *) {
|
|
368
|
+
--alert-c: var(--alert-corners);
|
|
369
|
+
background-color: var(--vk-overlay);
|
|
370
|
+
--smooth-t: var(--alert-c); clip-path: shape(var(--smooth-outline));
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* Less motion: a fade, no scale. */
|
|
375
|
+
@media (prefers-reduced-motion: reduce) {
|
|
376
|
+
.o-alert-dialog { transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
377
|
+
.o-alert-dialog:is([data-starting-style], [data-ending-style]) { scale: 1; }
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/* ── What it says ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
381
|
+
.o-alert-body { position: relative; display: grid; min-width: 0; color: var(--vk-fg); }
|
|
382
|
+
.o-alert-body[data-shell="panel"] { padding: var(--alert-padding, calc(var(--vk-spacing) * 6)); }
|
|
383
|
+
.o-alert-body[data-shell="sheet"] { padding: calc(var(--vk-spacing) * 2); }
|
|
384
|
+
.o-alert-title { margin: 0; font-size: var(--vk-font-size-lg); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); font-weight: var(--vk-font-weight-semibold); text-wrap: balance; overflow-wrap: anywhere; }
|
|
385
|
+
.o-alert-line { margin: calc(var(--vk-spacing) * 1) 0 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); color: var(--vk-fg-subtle); text-wrap: pretty; }
|
|
386
|
+
.o-alert-line.o-alert-wrong { color: var(--vk-danger); }
|
|
387
|
+
.o-alert-body[data-screen="phone"] .o-alert-line { font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
388
|
+
|
|
389
|
+
/* ── Its buttons: at the end on a computer unless they fill its foot, as they always do on the phone. A foot that fills stands 12 from a
|
|
390
|
+
panel's edge, so a 24 corner and a 12 button nest, and the way out stands on the overlay's card ────────────────────────────────── */
|
|
391
|
+
.o-alert-foot { display: flex; justify-content: flex-end; gap: calc(var(--vk-spacing) * 2); margin-top: calc(var(--vk-spacing) * 5); }
|
|
392
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
393
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-foot > .o-button { width: 100%; padding-inline: 0; }
|
|
394
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"])[data-shell="panel"] { padding-bottom: calc(var(--vk-spacing) * 3); }
|
|
395
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"])[data-shell="panel"] .o-alert-foot { margin-inline: calc(var(--vk-spacing) * 3 - var(--alert-padding, calc(var(--vk-spacing) * 6))); }
|
|
396
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-cancel:not(:disabled) { border-color: transparent; background-color: var(--vk-overlay-card); }
|
|
397
|
+
/* A hover only on a screen with a pointer (iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
|
|
398
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-cancel:active:not(:disabled) { border-color: transparent; background-color: var(--vk-overlay-card-pressed); }
|
|
399
|
+
@media (hover: hover) { :is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-cancel:hover:not(:disabled) { border-color: transparent; background-color: var(--vk-overlay-card-pressed); } }
|
|
400
|
+
[data-alert-size="32"] .o-alert-body[data-screen="computer"] .o-alert-foot > .o-button { height: calc(var(--vk-spacing) * 8); --button-side: calc(var(--vk-spacing) * 8); padding-inline: calc(var(--vk-spacing) * 3); }
|
|
401
|
+
[data-alert-size="44"] .o-alert-body[data-screen="computer"] .o-alert-foot > .o-button { height: calc(var(--vk-spacing) * 11); --button-side: calc(var(--vk-spacing) * 11); padding-inline: calc(var(--vk-spacing) * 5); font-size: var(--vk-font-size-base); }
|
|
402
|
+
[data-alert-pair="stacked"] .o-alert-body[data-screen="phone"] .o-alert-foot { grid-template-columns: minmax(0, 1fr); }
|
|
403
|
+
[data-alert-pair="stacked"] .o-alert-body[data-screen="phone"] .o-alert-foot > .o-alert-cancel { order: 1; }
|
|
404
|
+
|
|
405
|
+
/* ── Its mark: round, in its action's colour, its words centred under it ─────────────────────────────────────────────────────────── */
|
|
406
|
+
.o-alert-mark { display: none; }
|
|
407
|
+
[data-alert-mark="shown"] .o-alert-mark { display: grid; place-items: center; justify-self: center; width: calc(var(--vk-spacing) * 12); height: calc(var(--vk-spacing) * 12); margin-bottom: calc(var(--vk-spacing) * 3); border-radius: var(--vk-radius-full); background-color: var(--vk-brand-subtler); color: var(--vk-fg-accent); }
|
|
408
|
+
[data-alert-mark="shown"] .o-alert-body[data-screen="phone"] .o-alert-mark { width: calc(var(--vk-spacing) * 14); height: calc(var(--vk-spacing) * 14); margin-bottom: calc(var(--vk-spacing) * 4); }
|
|
409
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="information"] .o-alert-mark { background-color: var(--vk-info-subtler); color: var(--vk-info); }
|
|
410
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="success"] .o-alert-mark { background-color: var(--vk-success-subtler); color: var(--vk-success); }
|
|
411
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="warning"] .o-alert-mark { background-color: var(--vk-warning-subtler); color: var(--vk-warning); }
|
|
412
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="danger"] .o-alert-mark { background-color: var(--vk-danger-subtler); color: var(--vk-danger); }
|
|
413
|
+
.o-alert-mark > svg { width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); }
|
|
414
|
+
[data-alert-mark="shown"] :is(.o-alert-title, .o-alert-line) { text-align: center; }
|
|
415
|
+
|
|
305
416
|
/* ── A person: a circle of their initials on their tone, 32px ──────────────────────────────────────── */
|
|
306
417
|
.o-avatar {
|
|
307
418
|
flex: none; display: inline-grid; place-items: center; box-sizing: border-box; overflow: hidden;
|
|
@@ -454,6 +565,82 @@
|
|
|
454
565
|
mask-size: 100% 100%, var(--avatar-own-size, 0 0), var(--avatar-next-size, 0 0), var(--avatar-prev-size, 0 0);
|
|
455
566
|
}
|
|
456
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
|
+
|
|
457
644
|
/* ── At rest ──────────────────────────────────────────────────────────────────────────────────────── */
|
|
458
645
|
:where(.o-button) {
|
|
459
646
|
height: calc(var(--vk-spacing) * 9);
|
|
@@ -828,9 +1015,10 @@
|
|
|
828
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); }
|
|
829
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; }
|
|
830
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; }
|
|
831
|
-
/* A dot at its top end corner, saying something is on.
|
|
832
|
-
.
|
|
833
|
-
|
|
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);
|
|
834
1022
|
border-radius: 50%; background-color: var(--vk-brand); pointer-events: none;
|
|
835
1023
|
}
|
|
836
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
|
|
@@ -879,7 +1067,7 @@
|
|
|
879
1067
|
Button joined in a group or a Toolbar button joined to its neighbours (data-joined) (the outline has no corners apart left
|
|
880
1068
|
and right: in Chromium its squircle, as before), which paint
|
|
881
1069
|
themselves from their variables as before. The Button itself is never clipped: its depth, its press, its focus ring and a phone's
|
|
882
|
-
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
|
|
883
1071
|
last child, over its border box): the ground (::before) clipped by the outline, with the depth's inset light again inside it,
|
|
884
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
|
|
885
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,
|
|
@@ -1019,7 +1207,7 @@
|
|
|
1019
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
|
|
1020
1208
|
with the smooth outline (smooth.css), eased on its 16px side, in every browser that knows shape(); one that doesn't
|
|
1021
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
|
|
1022
|
-
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
|
|
1023
1211
|
child), over its border box: the ground (::before) clipped by the outline, the edge (::after) a ring along it, each moving as the
|
|
1024
1212
|
box's colours do. The list's and the card's corners are the grouped choices' own. ──────────────────────────────── */
|
|
1025
1213
|
.o-check-cut { display: none; --smooth-amount: var(--vk-corner-smoothing); }
|
|
@@ -1079,6 +1267,102 @@
|
|
|
1079
1267
|
|
|
1080
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; } }
|
|
1081
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
|
+
|
|
1294
|
+
/* ── The curve everything of it moves on: ease-out, or under Curve › Sharp ease-out-sharp ──────────── */
|
|
1295
|
+
[data-collapsible-curve="sharp"] :is(.o-collapsible-trigger, .o-collapsible-panel) { --o-collapsible-ease: var(--vk-ease-out-sharp); }
|
|
1296
|
+
|
|
1297
|
+
/* ── The trigger, plain (its look belongs to the place it stands in, and none wears a ground under the pointer): a chevron
|
|
1298
|
+
before its name, text-sm at medium weight, 32 high, 44 on a phone, where a row you press is a 44px target. Under the pointer its chevron takes the text's colour; its focus
|
|
1299
|
+
ringed. The chevron turns down while the part is open, on the part's curve and in a short part's own times:
|
|
1300
|
+
duration-base opening, duration-fast closing ────────────────────────────────────────────────────────────────── */
|
|
1301
|
+
.o-collapsible-trigger {
|
|
1302
|
+
--collapsible-trigger-h: calc(var(--vk-spacing) * 8);
|
|
1303
|
+
display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); box-sizing: border-box;
|
|
1304
|
+
min-height: var(--collapsible-trigger-h); margin: 0; padding: 0;
|
|
1305
|
+
border: 0; border-radius: var(--vk-radius-sm); background-color: transparent;
|
|
1306
|
+
color: var(--vk-fg); font: inherit; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm));
|
|
1307
|
+
font-weight: var(--vk-font-weight-medium); text-align: left; cursor: pointer; outline: none; user-select: none;
|
|
1308
|
+
-webkit-tap-highlight-color: transparent;
|
|
1309
|
+
}
|
|
1310
|
+
.o-collapsible-trigger:where([data-vk-phone], [data-vk-phone] *) { --collapsible-trigger-h: calc(var(--vk-spacing) * 11); }
|
|
1311
|
+
.o-collapsible-trigger:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
1312
|
+
.o-collapsible-trigger[data-disabled] { color: var(--vk-fg-disabled); cursor: not-allowed; }
|
|
1313
|
+
.o-collapsible-chevron {
|
|
1314
|
+
flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4);
|
|
1315
|
+
fill: none; stroke: var(--vk-fg-subtle); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
|
|
1316
|
+
transition: rotate var(--vk-duration-fast) var(--o-collapsible-ease, var(--vk-ease-out)), stroke var(--vk-duration-fast) var(--vk-ease-out);
|
|
1317
|
+
}
|
|
1318
|
+
.o-collapsible-trigger[data-panel-open] .o-collapsible-chevron { rotate: 90deg; transition-duration: var(--vk-duration-base), var(--vk-duration-fast); }
|
|
1319
|
+
/* A hover only on a screen with a pointer. */
|
|
1320
|
+
@media (hover: hover) { .o-collapsible-trigger:not([data-disabled]):hover .o-collapsible-chevron { stroke: var(--vk-fg); } }
|
|
1321
|
+
.o-collapsible-trigger[data-disabled] .o-collapsible-chevron { stroke: var(--vk-fg-disabled); }
|
|
1322
|
+
|
|
1323
|
+
/* ── The part: the box that crops it while its height moves, from nothing to what it holds. It crops without
|
|
1324
|
+
scrolling (clip, never hidden), so what sticks inside it, a grid's frozen columns, still
|
|
1325
|
+
sticks to the scroller beyond it. Both ways it eases out: it answers the press at once and settles, as
|
|
1326
|
+
shadcn's and Base UI's own do. Its time follows its height, between the motion names: opening from duration-base
|
|
1327
|
+
to duration-slow, closing from duration-fast to duration-base, the longest reached at 600px tall (spacing × 150),
|
|
1328
|
+
so a short part moves as it always did and a tall one no longer snaps. The height is Base UI's, read as a length
|
|
1329
|
+
(--o-collapsible-h, registered at the file's end: at rest Base UI says auto, which reads as none); how far along
|
|
1330
|
+
that 600px it stands is --o-collapsible-part, 0 to 1. A browser that can't divide one length by another keeps the
|
|
1331
|
+
two plain times. An app's own time (durationMs) sets --o-collapsible-time for both ──────────────────────────── */
|
|
1332
|
+
.o-collapsible-panel {
|
|
1333
|
+
--o-collapsible-open: var(--vk-duration-base); --o-collapsible-close: var(--vk-duration-fast);
|
|
1334
|
+
box-sizing: border-box; overflow: clip; height: var(--collapsible-panel-height);
|
|
1335
|
+
transition: height var(--o-collapsible-time, var(--o-collapsible-open)) var(--o-collapsible-ease, var(--vk-ease-out));
|
|
1336
|
+
}
|
|
1337
|
+
@supports (width: calc(tan(atan2(1px, 1px)) * 1px)) {
|
|
1338
|
+
.o-collapsible-panel {
|
|
1339
|
+
--o-collapsible-h: var(--collapsible-panel-height);
|
|
1340
|
+
--o-collapsible-part: min(1, tan(atan2(var(--o-collapsible-h), calc(var(--vk-spacing) * 150))));
|
|
1341
|
+
--o-collapsible-open: calc(var(--vk-duration-base) + (var(--vk-duration-slow) - var(--vk-duration-base)) * var(--o-collapsible-part));
|
|
1342
|
+
--o-collapsible-close: calc(var(--vk-duration-fast) + (var(--vk-duration-base) - var(--vk-duration-fast)) * var(--o-collapsible-part));
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
.o-collapsible-panel[data-ending-style] { transition-duration: var(--o-collapsible-time, var(--o-collapsible-close)); }
|
|
1346
|
+
.o-collapsible-panel:is([data-starting-style], [data-ending-style]) { height: 0; }
|
|
1347
|
+
|
|
1348
|
+
/* ── Content: how what it holds comes and goes. Fades, the default (what nothing set draws), unless a frame picks Stands still, which draws nothing here (the box
|
|
1349
|
+
crops it as it moves), or Slides out. Fades: it comes in with the height, in the height's own time and on its curve, and goes in
|
|
1350
|
+
half the closing time, so the moving edge passes over nothing and never cuts a line of text. Slides out: it is
|
|
1351
|
+
anchored to the part's lower edge, so it comes out from under its trigger and goes back under it. The part's
|
|
1352
|
+
times reach what it holds as the variables above, which it inherits ─────────────────────────────────────────── */
|
|
1353
|
+
.o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { transition: opacity var(--o-collapsible-time, var(--o-collapsible-open)) var(--o-collapsible-ease, var(--vk-ease-out)); }
|
|
1354
|
+
.o-collapsible-panel[data-ending-style] > .o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { transition-duration: calc(var(--o-collapsible-time, var(--o-collapsible-close)) * 0.5); }
|
|
1355
|
+
.o-collapsible-panel:is([data-starting-style], [data-ending-style]) > .o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { opacity: 0; }
|
|
1356
|
+
[data-collapsible-content="slide"] .o-collapsible-panel:not([hidden]) { display: flex; flex-direction: column; justify-content: flex-end; }
|
|
1357
|
+
[data-collapsible-content="slide"] .o-collapsible-body { flex: none; }
|
|
1358
|
+
|
|
1359
|
+
/* Under reduced motion it opens and closes at once, whatever time an app gave it, and what it holds with it, framed or not: the
|
|
1360
|
+
fade is the default with no frame, so these match every body, at the fade rules' own weight, later. */
|
|
1361
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1362
|
+
.o-collapsible-panel, .o-collapsible-panel[data-ending-style], .o-collapsible-chevron, .o-collapsible-trigger[data-panel-open] .o-collapsible-chevron,
|
|
1363
|
+
:root .o-collapsible-body, :root .o-collapsible-panel[data-ending-style] > .o-collapsible-body { transition: none; }
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1082
1366
|
.o-compound-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1083
1367
|
.o-compound-editor:focus { outline: none; }
|
|
1084
1368
|
/* Its glyphs 16 square, as built, at their old weight; the own marks inside it (the Select's chevron, the Number field's
|
|
@@ -1146,6 +1430,52 @@
|
|
|
1146
1430
|
.o-compound-editor-caption[data-bad] { color: var(--vk-danger); }
|
|
1147
1431
|
.o-compound-editor :is(input, textarea):where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
1148
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
|
+
|
|
1149
1479
|
.o-date-editor {
|
|
1150
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
|
|
1151
1481
|
twelve months and years one gap of their own across and down, in the days' height (weekdays, their top, six weeks). */
|
|
@@ -1411,6 +1741,132 @@ button.o-field-row { cursor: pointer; }
|
|
|
1411
1741
|
background-position: calc(var(--vk-spacing) * 4) 0; background-repeat: no-repeat; box-shadow: var(--field-rows-line-shadow, none);
|
|
1412
1742
|
}
|
|
1413
1743
|
.o-field-row-label { display: var(--field-rows-label, block); flex: none; width: calc(var(--vk-spacing) * 26); color: var(--vk-fg-subtle); }
|
|
1744
|
+
|
|
1745
|
+
.o-filter-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1746
|
+
.o-filter-editor:focus { outline: none; }
|
|
1747
|
+
.o-filter-editor-rules { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1748
|
+
.o-filter-editor-item { display: flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1749
|
+
.o-filter-editor-where, .o-filter-editor-joined {
|
|
1750
|
+
display: inline-flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box;
|
|
1751
|
+
height: calc(var(--vk-spacing) * 8); color: var(--vk-fg-subtle); white-space: nowrap;
|
|
1752
|
+
}
|
|
1753
|
+
.o-filter-editor-where { border: var(--vk-border-width) dashed var(--vk-border-input); border-radius: var(--vk-radius-lg); }
|
|
1754
|
+
.o-filter-editor-join { flex: none; }
|
|
1755
|
+
.o-filter-editor-rule { display: flex; flex: 1; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1756
|
+
.o-filter-editor-boxes { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1757
|
+
.o-filter-editor-field, .o-filter-editor-how, .o-filter-editor-value { position: relative; flex: none; min-width: 0; }
|
|
1758
|
+
.o-filter-editor-field > .o-select, .o-filter-editor-how > .o-select, .o-filter-editor-value > .o-select, .o-filter-editor-date > .o-select { width: 100%; }
|
|
1759
|
+
.o-filter-editor-date { width: 100%; }
|
|
1760
|
+
/* Several chosen stay on the box's one line, the last cut at its end, as a cell's are. */
|
|
1761
|
+
.o-filter-editor-value .o-options { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
|
|
1762
|
+
.o-filter-editor-more { flex: none; margin-left: auto; }
|
|
1763
|
+
/* A range's From and To (Mihai, 22 Nov 2026): two Number fields sharing the value's box, an en dash between, as ViewKit draws them. */
|
|
1764
|
+
.o-filter-editor-pair { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1765
|
+
.o-filter-editor-pair > [data-kit="number-field"] { flex: 1 1 0; min-width: 0; }
|
|
1766
|
+
.o-filter-editor-dash { flex: none; color: var(--vk-fg-subtle); }
|
|
1767
|
+
/* A sample field's mark the page's own samples draw (samples.ts), as the sort editor's samples draw theirs. */
|
|
1768
|
+
.o-filter-editor-mark { display: inline-flex; flex: none; align-items: center; color: var(--vk-fg-subtle); }
|
|
1769
|
+
.o-filter-editor-mark svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
1770
|
+
/* A group, in every form: a faint well, Attio's (Mihai's pick, 20 Nov 2026; KIT-818): the sunken ground, a hairline edge at
|
|
1771
|
+
radius-xl; inside it the fields on the panel's own ground, as they stand outside it, and Delete group the quiet Button as it is.
|
|
1772
|
+
Each form gives it only its padding. */
|
|
1773
|
+
.o-filter-editor-group {
|
|
1774
|
+
display: flex; flex: 1; flex-direction: column; gap: calc(var(--vk-spacing) * 2); min-width: 0;
|
|
1775
|
+
border: var(--vk-border-width) solid var(--vk-border); border-radius: var(--vk-radius-xl); background-color: var(--vk-sunken);
|
|
1776
|
+
}
|
|
1777
|
+
/* A field's own ground is none at rest, so the ground behind it shows: in a group the panel's is painted under it, its own over
|
|
1778
|
+
that, so a filled field, its hover and its focus keep theirs. A field inside a field (a group's own Input) is left to its group.
|
|
1779
|
+
No token is re-pointed here: no component declares one. */
|
|
1780
|
+
.o-filter-editor-group .o-input:not(.o-input *) {
|
|
1781
|
+
background-image: linear-gradient(var(--input-ground), var(--input-ground)); background-color: var(--vk-overlay);
|
|
1782
|
+
}
|
|
1783
|
+
.o-filter-editor-foot { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); }
|
|
1784
|
+
.o-filter-editor-clear, .o-filter-editor-delete { margin-left: auto; }
|
|
1785
|
+
|
|
1786
|
+
/* ── On a computer: the rules in their columns, a group its well, then the foot ─────────────────────────────────────── */
|
|
1787
|
+
/* One width, 688, Attio's panel's, whatever its rows hold: only its boxes follow what they hold, and room is left before ⋮ (Mihai, 17 Nov 2026). */
|
|
1788
|
+
.o-filter-editor[data-filter-form="computer"] { width: calc(var(--vk-spacing) * 172); max-width: 100%; gap: calc(var(--vk-spacing) * 3); }
|
|
1789
|
+
.o-filter-editor[data-filter-form="computer"][data-filter-fields] { width: auto; }
|
|
1790
|
+
[data-filter-form="computer"] .o-filter-editor-where, [data-filter-form="computer"] .o-filter-editor-joined,
|
|
1791
|
+
[data-filter-form="computer"] .o-filter-editor-join { width: calc(var(--vk-spacing) * 18); }
|
|
1792
|
+
/* Each box as wide as what it holds (Attio's; Mihai, 17 Nov 2026): a Select's its mark, words and arrow, never past 240, a longer
|
|
1793
|
+
name then ending in "…" (the Select's own words cut); a typed value 208, a date's 160. Where the Popover is narrower than the
|
|
1794
|
+
editor the field's and the value's give way, to 80 at least; how it compares, a few words, keeps its own. */
|
|
1795
|
+
[data-filter-form="computer"] .o-filter-editor-boxes { flex: 1 1 auto; }
|
|
1796
|
+
[data-filter-form="computer"] :is(.o-filter-editor-field, .o-filter-editor-value) { flex: 0 1 auto; min-width: calc(var(--vk-spacing) * 20); }
|
|
1797
|
+
[data-filter-form="computer"] :is(.o-filter-editor-field, .o-filter-editor-how, .o-filter-editor-value) { max-width: calc(var(--vk-spacing) * 60); }
|
|
1798
|
+
[data-filter-form="computer"] .o-filter-editor-value:is([data-value-box="typed"], [data-value-box="pair"]) { width: calc(var(--vk-spacing) * 52); }
|
|
1799
|
+
[data-filter-form="computer"] .o-filter-editor-value[data-value-box="date"] { width: calc(var(--vk-spacing) * 40); }
|
|
1800
|
+
[data-filter-form="computer"] .o-filter-editor-group { padding: calc(var(--vk-spacing) * 2.5); }
|
|
1801
|
+
[data-filter-form="computer"] .o-filter-editor-group > .o-filter-editor-foot { padding-top: var(--vk-spacing); }
|
|
1802
|
+
|
|
1803
|
+
/* A list a page shows standing open: under its box, over the rules, as wide as the Select's list asked for its rows (select.css). */
|
|
1804
|
+
.o-filter-editor .o-filter-editor-shown[data-filter-shown] {
|
|
1805
|
+
position: absolute; z-index: var(--vk-layer-popup); top: calc(100% + var(--vk-spacing)); left: 0; display: flex; flex-direction: column;
|
|
1806
|
+
width: max-content; min-width: max(100%, calc(var(--vk-spacing) * 48)); max-width: calc(var(--vk-spacing) * 72);
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
/* ── On a phone, and in the narrow form: each rule its lead over its boxes, a line between rules; a group its well ─────── */
|
|
1810
|
+
.o-filter-editor[data-filter-form="phone"] { gap: calc(var(--vk-spacing) * 4); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
1811
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-rules { gap: 0; }
|
|
1812
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-item {
|
|
1813
|
+
flex-direction: column; gap: calc(var(--vk-spacing) * 2.5); padding: calc(var(--vk-spacing) * 3.5) 0;
|
|
1814
|
+
border-bottom: var(--vk-border-width) solid var(--vk-border);
|
|
1815
|
+
}
|
|
1816
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-item:last-child { border-bottom: 0; }
|
|
1817
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-where, .o-filter-editor-joined) { padding: 0 calc(var(--vk-spacing) * 3); font-size: var(--vk-font-size-sm); }
|
|
1818
|
+
/* The join's pressing area, 44 high round its 32, on a phone. */
|
|
1819
|
+
[data-filter-form="phone"] .o-filter-editor-join::before { content: ""; position: absolute; inset: calc(var(--vk-spacing) * -1.5) 0; }
|
|
1820
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-rule { align-items: flex-start; align-self: stretch; }
|
|
1821
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-boxes { flex: 1; flex-wrap: wrap; }
|
|
1822
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-field, .o-filter-editor-how) { max-width: 100%; }
|
|
1823
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-field, .o-filter-editor-how) .o-select-field { width: max-content; max-width: 100%; }
|
|
1824
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-value { flex: 1 1 100%; }
|
|
1825
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-group {
|
|
1826
|
+
align-self: stretch; padding: var(--vk-spacing) calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2);
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
/* The narrow form's own sizes, a computer's: its items 12 apart round their line, a group's room smaller. */
|
|
1830
|
+
.o-filter-editor[data-filter-form="narrow"] { gap: calc(var(--vk-spacing) * 3); }
|
|
1831
|
+
[data-filter-form="narrow"] .o-filter-editor-item { gap: calc(var(--vk-spacing) * 2); padding: calc(var(--vk-spacing) * 3) 0; }
|
|
1832
|
+
[data-filter-form="narrow"] .o-filter-editor-group { padding: var(--vk-spacing) calc(var(--vk-spacing) * 2.5) calc(var(--vk-spacing) * 2); }
|
|
1833
|
+
[data-filter-form="narrow"] .o-filter-editor-none { padding: 0 calc(var(--vk-spacing) * 2); }
|
|
1834
|
+
/* A list a page shows standing open, under its box: never wider than the Pane's column. */
|
|
1835
|
+
.o-filter-editor[data-filter-form="narrow"] .o-filter-editor-shown[data-filter-shown] { min-width: min(100%, calc(var(--vk-spacing) * 48)); max-width: 100%; }
|
|
1836
|
+
[data-filter-form="narrow"] .o-filter-editor-none-line { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); }
|
|
1837
|
+
.o-filter-editor-none { display: grid; gap: calc(var(--vk-spacing) * 0.5); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
1838
|
+
.o-filter-editor-none p { margin: 0; }
|
|
1839
|
+
.o-filter-editor-none-head { font-weight: var(--vk-font-weight-medium); }
|
|
1840
|
+
.o-filter-editor-none-line { color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1841
|
+
.o-filter-editor-acts { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
1842
|
+
.o-filter-editor-acts .o-button { width: 100%; }
|
|
1843
|
+
|
|
1844
|
+
/* ── A rule ViewKit set aside, its field's box dashed in the warning colour (Mihai, 27 Nov 2026, as the sort's set-aside sorts),
|
|
1845
|
+
and a value ViewKit draws: a read-only box as wide as a typed one (VK-720) ─────────────────────────────────────────────── */
|
|
1846
|
+
.o-filter-editor-rule[data-aside] .o-filter-editor-field .o-select-field { --input-edge: var(--vk-border-warning); border-style: dashed; color: var(--vk-warning); }
|
|
1847
|
+
.o-filter-editor-rule[data-aside] .o-filter-editor-field .o-select-placeholder { color: var(--vk-warning); }
|
|
1848
|
+
.o-filter-editor-own { width: 100%; }
|
|
1849
|
+
.o-filter-editor-why { display: flex; width: 100%; }
|
|
1850
|
+
.o-filter-editor-why > .o-select { width: 100%; }
|
|
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; }
|
|
1414
1870
|
.o-flag {
|
|
1415
1871
|
position: relative; flex: none; display: inline-block; overflow: hidden; vertical-align: middle;
|
|
1416
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);
|
|
@@ -1520,6 +1976,19 @@ button.o-field-row { cursor: pointer; }
|
|
|
1520
1976
|
> .o-glass-button.o-glass-button-sm.o-glass-button-primary:not(:disabled, [data-disabled]) { padding: calc(var(--vk-spacing) * 0.75); }
|
|
1521
1977
|
}
|
|
1522
1978
|
|
|
1979
|
+
/* ── What it holds, one under another ── */
|
|
1980
|
+
.o-group-editor, .o-group-editor-step { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 1); min-width: 0; }
|
|
1981
|
+
.o-group-editor[data-group-form="phone"], .o-group-editor[data-group-form="phone"] .o-group-editor-step { gap: calc(var(--vk-spacing) * 3); }
|
|
1982
|
+
|
|
1983
|
+
/* ── The groups' heading, Hide all at its end ── */
|
|
1984
|
+
.o-group-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--vk-spacing) * 2); margin-top: calc(var(--vk-spacing) * 1); padding-right: calc(var(--vk-spacing) * 2); }
|
|
1985
|
+
.o-group-editor-heading > .o-list-heading { flex: 1; min-width: 0; }
|
|
1986
|
+
[data-group-form="phone"] .o-group-editor-heading { margin-top: calc(var(--vk-spacing) * 2); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
1987
|
+
[data-group-form="phone"] .o-group-editor-heading > .o-list-heading { padding: 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1988
|
+
|
|
1989
|
+
/* ── Group by's fields, the Picker standing in its place ── */
|
|
1990
|
+
.o-group-editor-fields { display: flex; flex-direction: column; min-width: 0; }
|
|
1991
|
+
|
|
1523
1992
|
/* ── Its options, from the nearest frame: its edge, its corners, its ground ───────────────────────────────────────────── */
|
|
1524
1993
|
[data-inline-input-edge="line"] { --inline-input-edge: var(--vk-border-width); --inline-input-ring: 0px; }
|
|
1525
1994
|
[data-inline-input-edge="ring"] { --inline-input-edge: 0px; --inline-input-ring: var(--vk-focus-width); }
|
|
@@ -2066,7 +2535,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2066
2535
|
background-image: linear-gradient(to bottom, transparent, var(--vk-overlay) calc(var(--vk-spacing) * 8));
|
|
2067
2536
|
}
|
|
2068
2537
|
.o-links-editor-pill { flex: 1; }
|
|
2069
|
-
/* A link's fields,
|
|
2538
|
+
/* A link's fields, a step of the phone's Sheet: a field's words at its row's end; a switch at its end; Unlink its own card, in red. */
|
|
2070
2539
|
.o-links-editor-fields .o-links-editor-open-value { flex: 1; }
|
|
2071
2540
|
.o-links-editor-switch { flex: none; margin-left: auto; }
|
|
2072
2541
|
.o-links-editor-fields-foot { margin-top: calc(var(--vk-spacing) * 6); }
|
|
@@ -2504,6 +2973,207 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2504
2973
|
.o-button.o-menu-dots:is([data-popup-open], [data-force="hover"], [data-force="open"]) { --button-ground: var(--vk-neutral); color: var(--vk-fg); }
|
|
2505
2974
|
@media (hover: hover) { .o-button.o-menu-dots:hover { --button-ground: var(--vk-neutral); color: var(--vk-fg); } }
|
|
2506
2975
|
|
|
2976
|
+
/* ── What's behind it, and where it stands: in the middle of the screen, under any popup but the Popover it opens from ──────────── */
|
|
2977
|
+
.o-modal-backdrop, .o-modal-viewport { position: fixed; inset: 0; z-index: var(--vk-layer-drawer); }
|
|
2978
|
+
/* Opened from inside a Popover, at the popups' layer: over the Popover, added before it, and under what opens from it. */
|
|
2979
|
+
.o-modal-backdrop[data-over-popup], .o-modal-viewport[data-over-popup] { z-index: var(--vk-layer-popup); }
|
|
2980
|
+
.o-modal-backdrop { background-color: var(--vk-backdrop-modal-light); transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
2981
|
+
.o-modal-backdrop:is([data-starting-style], [data-ending-style]) { opacity: 0; }
|
|
2982
|
+
[data-modal-strength="medium"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-medium); }
|
|
2983
|
+
[data-modal-strength="deep"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-deep); }
|
|
2984
|
+
[data-modal-behind="veil"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-light); }
|
|
2985
|
+
[data-modal-behind="veil"][data-modal-strength="medium"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-medium); }
|
|
2986
|
+
[data-modal-behind="veil"][data-modal-strength="deep"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-deep); }
|
|
2987
|
+
/* No blur at all at none, since blur(0) still builds a backdrop root. */
|
|
2988
|
+
[data-modal-blur="4"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-xs)); backdrop-filter: blur(var(--vk-blur-xs)); }
|
|
2989
|
+
[data-modal-blur="8"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-sm)); backdrop-filter: blur(var(--vk-blur-sm)); }
|
|
2990
|
+
[data-modal-blur="12"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-md)); backdrop-filter: blur(var(--vk-blur-md)); }
|
|
2991
|
+
[data-modal-blur="24"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-lg)); backdrop-filter: blur(var(--vk-blur-lg)); }
|
|
2992
|
+
/* It keeps 48 from the screen's edges; a screen drawn on a page sets --modal-room to keep less. */
|
|
2993
|
+
.o-modal-viewport { box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: var(--modal-room, calc(var(--vk-spacing) * 12)); overflow-y: auto; outline: none; }
|
|
2994
|
+
|
|
2995
|
+
/* ── The shell: on the overlay's ground, as wide as it is handed, never taller than the screen ───────────────────────────────────── */
|
|
2996
|
+
.o-modal {
|
|
2997
|
+
--modal-corners: var(--vk-radius-xl); --modal-pad: calc(var(--vk-spacing) * 5); --modal-width: var(--vk-container-2xl);
|
|
2998
|
+
box-sizing: border-box; position: relative; display: flex; flex-direction: column; width: 100%; max-width: var(--modal-width); max-height: 100%; min-width: 0;
|
|
2999
|
+
border-radius: var(--modal-corners); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); color: var(--vk-fg); outline: none;
|
|
3000
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out);
|
|
3001
|
+
}
|
|
3002
|
+
.o-modal[data-width="sm"] { --modal-width: var(--vk-container-lg); }
|
|
3003
|
+
.o-modal[data-width="lg"] { --modal-width: var(--vk-container-4xl); }
|
|
3004
|
+
.o-modal[data-width="xl"] { --modal-width: var(--vk-container-5xl); }
|
|
3005
|
+
.o-modal:is([data-starting-style], [data-ending-style]) { opacity: 0; scale: var(--vk-push-scale); }
|
|
3006
|
+
.o-modal[data-ending-style] { transition-duration: var(--vk-duration-fast); transition-timing-function: var(--vk-ease-in); }
|
|
3007
|
+
/* An Alert Dialog over it steps it back. */
|
|
3008
|
+
.o-modal[data-nested-dialog-open] { scale: var(--vk-press-scale); }
|
|
3009
|
+
[data-modal-corners="lg"] .o-modal { --modal-corners: var(--vk-radius-lg); }
|
|
3010
|
+
[data-modal-corners="2xl"] .o-modal { --modal-corners: var(--vk-radius-2xl); }
|
|
3011
|
+
[data-modal-padding="16"] .o-modal { --modal-pad: calc(var(--vk-spacing) * 4); }
|
|
3012
|
+
[data-modal-padding="24"] .o-modal { --modal-pad: calc(var(--vk-spacing) * 6); }
|
|
3013
|
+
[data-modal-shadow="none"] .o-modal { box-shadow: none; }
|
|
3014
|
+
[data-modal-shadow="lg"] .o-modal { box-shadow: var(--vk-shadow-lg); }
|
|
3015
|
+
[data-modal-shadow="xl"] .o-modal { box-shadow: var(--vk-shadow-xl); }
|
|
3016
|
+
|
|
3017
|
+
/* What it holds, inside its edge. Ring: no edge of its own, a hairline ring 3 inside it, and what it holds 4 in, so a line under the
|
|
3018
|
+
head runs ring to ring. Outline: one clear edge, and what it holds reaches it. The line is drawn as two shapes, never a border: the
|
|
3019
|
+
line's colour (::before), and the ground just inside it (::after), one line narrower. Each takes its own corner, its inset less, so
|
|
3020
|
+
the line follows the edge's corners exactly, round or smooth. */
|
|
3021
|
+
.o-modal-cut { position: relative; isolation: isolate; box-sizing: border-box; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; max-height: 100%; padding: var(--vk-spacing); border-radius: inherit; background-color: inherit; }
|
|
3022
|
+
.o-modal-cut::before, .o-modal-cut::after { content: ""; position: absolute; z-index: -1; border-radius: var(--modal-c); pointer-events: none; }
|
|
3023
|
+
.o-modal-cut::before { --modal-c: calc(var(--modal-corners) - var(--vk-spacing) * 0.75); inset: calc(var(--vk-spacing) * 0.75); background-color: var(--vk-border-modal-ring); }
|
|
3024
|
+
.o-modal-cut::after { --modal-c: calc(var(--modal-corners) - var(--vk-spacing) * 0.75 - var(--vk-border-width)); inset: calc(var(--vk-spacing) * 0.75 + var(--vk-border-width)); background-color: var(--vk-overlay); }
|
|
3025
|
+
[data-modal-edge="outline"] .o-modal-cut { padding: 0; }
|
|
3026
|
+
[data-modal-edge="outline"] .o-modal-cut::before { --modal-c: var(--modal-corners); inset: 0; background-color: var(--vk-border-modal-edge); }
|
|
3027
|
+
[data-modal-edge="outline"] .o-modal-cut::after { --modal-c: calc(var(--modal-corners) - var(--vk-border-width)); inset: var(--vk-border-width); }
|
|
3028
|
+
|
|
3029
|
+
/* ── Its head: a bar, or standing in its margin; its mark, where it was opened, its title, then Open as a page and the X ─────────── */
|
|
3030
|
+
.o-modal-head { box-sizing: border-box; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); flex: none; min-width: 0; min-height: calc(var(--vk-spacing) * 11); padding: 0 calc(var(--vk-spacing) * 2) 0 var(--modal-pad); }
|
|
3031
|
+
[data-modal-head="margin"] .o-modal-head { min-height: 0; padding: calc(var(--vk-spacing) * 4) calc(var(--vk-spacing) * 3) 0 var(--modal-pad); }
|
|
3032
|
+
[data-modal-lines="shown"] .o-modal-head { border-bottom: var(--vk-border-width) solid var(--vk-border); }
|
|
3033
|
+
/* Its line under the head's height: the head is 11 tall above its line. */
|
|
3034
|
+
[data-modal-lines="shown"]:not([data-modal-head="margin"]) .o-modal-head { min-height: calc(var(--vk-spacing) * 11 + var(--vk-border-width)); }
|
|
3035
|
+
[data-modal-lines="shown"][data-modal-head="margin"] .o-modal-head { padding-bottom: calc(var(--vk-spacing) * 3); }
|
|
3036
|
+
.o-modal-title { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); font-weight: var(--vk-font-weight-medium); }
|
|
3037
|
+
.o-modal-path ~ .o-modal-title { font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
3038
|
+
.o-modal-tools { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); flex: none; margin-left: auto; }
|
|
3039
|
+
.o-modal-mark { display: grid; place-items: center; flex: none; width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); border-radius: var(--vk-radius-sm); background-color: var(--vk-brand); color: var(--vk-fg-on-brand); }
|
|
3040
|
+
.o-modal-mark > svg { width: calc(var(--vk-spacing) * 3.25); height: calc(var(--vk-spacing) * 3.25); }
|
|
3041
|
+
[data-modal-head="margin"] .o-modal-mark { width: calc(var(--vk-spacing) * 4); background-color: transparent; color: var(--vk-fg-subtle); }
|
|
3042
|
+
[data-modal-head="margin"] .o-modal-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
3043
|
+
/* Where it was opened gives way before its title: the path's words shorten first. */
|
|
3044
|
+
.o-modal-path { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); flex: 0 100 auto; min-width: calc(var(--vk-spacing) * 16); color: var(--vk-fg-subtlest); }
|
|
3045
|
+
.o-modal-path > svg { flex: none; width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
|
|
3046
|
+
.o-modal-chip { display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); min-width: 0; height: calc(var(--vk-spacing) * 6.5); padding: 0 calc(var(--vk-spacing) * 2.5) 0 calc(var(--vk-spacing) * 2); border-radius: var(--vk-radius-full); background-color: var(--vk-overlay-card); color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); font-weight: var(--vk-font-weight-medium); white-space: nowrap; }
|
|
3047
|
+
.o-modal-chip > :first-child { flex: none; }
|
|
3048
|
+
.o-modal-chip > svg { width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
|
|
3049
|
+
.o-modal-chip-word { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
3050
|
+
|
|
3051
|
+
/* ── What it holds: it scrolls between a head and a foot that stay ───────────────────────────────────────────────────────────────── */
|
|
3052
|
+
.o-modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: var(--modal-pad); }
|
|
3053
|
+
.o-modal-failed { margin-bottom: calc(var(--vk-spacing) * 4); }
|
|
3054
|
+
|
|
3055
|
+
/* ── Its foot: what stands at its start, then the way out and the action at its end ──────────────────────────────────────────────── */
|
|
3056
|
+
.o-modal-foot { box-sizing: border-box; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); flex: none; min-height: calc(var(--vk-spacing) * 11); padding: 0 calc(var(--vk-spacing) * 2); }
|
|
3057
|
+
[data-modal-head="margin"] .o-modal-foot { min-height: 0; padding: calc(var(--vk-spacing) * 1) calc(var(--vk-spacing) * 4) calc(var(--vk-spacing) * 4); }
|
|
3058
|
+
[data-modal-lines="shown"] .o-modal-foot { border-top: var(--vk-border-width) solid var(--vk-border); }
|
|
3059
|
+
[data-modal-lines="shown"]:not([data-modal-head="margin"]) .o-modal-foot { min-height: calc(var(--vk-spacing) * 11 + var(--vk-border-width)); }
|
|
3060
|
+
[data-modal-lines="shown"][data-modal-head="margin"] .o-modal-foot { padding-top: calc(var(--vk-spacing) * 3); }
|
|
3061
|
+
.o-modal-start { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
3062
|
+
.o-modal-end { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); margin-left: auto; }
|
|
3063
|
+
.o-modal-end > .o-button { height: calc(var(--vk-spacing) * 7); --button-side: calc(var(--vk-spacing) * 7); padding-inline: calc(var(--vk-spacing) * 3); }
|
|
3064
|
+
[data-modal-size="32"] .o-modal-end > .o-button { height: calc(var(--vk-spacing) * 8); --button-side: calc(var(--vk-spacing) * 8); }
|
|
3065
|
+
[data-modal-size="36"] .o-modal-end > .o-button { height: calc(var(--vk-spacing) * 9); --button-side: calc(var(--vk-spacing) * 9); padding-inline: calc(var(--vk-spacing) * 3.5); }
|
|
3066
|
+
[data-modal-buttons="pill"] .o-modal-foot .o-button:not(.o-button-round) { --button-r: var(--vk-radius-full); }
|
|
3067
|
+
|
|
3068
|
+
/* ── Its corners smooth: the smooth outline (smooth.css), Apple's curve as measured, so every browser that knows shape() shows it; one that doesn't
|
|
3069
|
+
keeps the corners above. The Modal keeps its shadow, which a cut would take with it, so .o-modal-cut inside it is cut instead, and
|
|
3070
|
+
the line's two shapes each by the same outline at its own corner, so the ring stays the edge's curve, set inside it ───────────── */
|
|
3071
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
3072
|
+
[data-modal-smoothing="smooth"] .o-modal { background-color: transparent; }
|
|
3073
|
+
[data-modal-smoothing="smooth"] .o-modal-cut { --modal-c: var(--modal-corners); background-color: var(--vk-overlay); }
|
|
3074
|
+
[data-modal-smoothing="smooth"] .o-modal-cut::before, [data-modal-smoothing="smooth"] .o-modal-cut::after { border-radius: 0; }
|
|
3075
|
+
[data-modal-smoothing="smooth"] .o-modal-cut, [data-modal-smoothing="smooth"] .o-modal-cut::before, [data-modal-smoothing="smooth"] .o-modal-cut::after {
|
|
3076
|
+
--smooth-t: var(--modal-c); clip-path: shape(var(--smooth-outline));
|
|
3077
|
+
}
|
|
3078
|
+
}
|
|
3079
|
+
|
|
3080
|
+
/* Less motion: a fade, no scale. */
|
|
3081
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3082
|
+
.o-modal { transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
3083
|
+
.o-modal:is([data-starting-style], [data-ending-style], [data-nested-dialog-open]) { scale: 1; }
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
/* ── The notice: its meaning's ground, one step stronger than the palest, so it reads as its colour; no
|
|
3087
|
+
edge (neutral, below, has a hairline); the radius's corners, 10px by 12px; the words in the text colour, never the meaning's ─────── */
|
|
3088
|
+
.o-notice {
|
|
3089
|
+
display: flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2.5); box-sizing: border-box; min-width: 0;
|
|
3090
|
+
padding: calc(var(--vk-spacing) * 2.5) calc(var(--vk-spacing) * 3); border-radius: var(--vk-radius-lg); background-color: var(--notice-ground);
|
|
3091
|
+
color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm));
|
|
3092
|
+
transition: opacity var(--vk-duration-fast) var(--vk-ease-in), translate var(--vk-duration-fast) var(--vk-ease-in);
|
|
3093
|
+
}
|
|
3094
|
+
/* The icon carries the meaning: 16px, level with the first line, 10px before the words. */
|
|
3095
|
+
.o-notice-icon { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); margin-top: calc(var(--vk-spacing) * 0.5); }
|
|
3096
|
+
.o-notice[data-meaning="information"] { --notice-ground: var(--vk-info-subtler); }
|
|
3097
|
+
.o-notice[data-meaning="information"] > .o-notice-icon { color: var(--vk-info); }
|
|
3098
|
+
.o-notice[data-meaning="success"] { --notice-ground: var(--vk-success-subtler); }
|
|
3099
|
+
.o-notice[data-meaning="success"] > .o-notice-icon { color: var(--vk-success); }
|
|
3100
|
+
.o-notice[data-meaning="warning"] { --notice-ground: var(--vk-warning-subtler); }
|
|
3101
|
+
.o-notice[data-meaning="warning"] > .o-notice-icon { color: var(--vk-warning); }
|
|
3102
|
+
.o-notice[data-meaning="danger"] { --notice-ground: var(--vk-danger-subtler); }
|
|
3103
|
+
.o-notice[data-meaning="danger"] > .o-notice-icon { color: var(--vk-danger); }
|
|
3104
|
+
.o-notice-body { flex: 1 1 calc(var(--vk-spacing) * 55); min-width: 0; display: grid; gap: calc(var(--vk-spacing) * 0.5); }
|
|
3105
|
+
.o-notice-body > p { margin: 0; }
|
|
3106
|
+
|
|
3107
|
+
/* ── Neutral: a plain fact with no colour of its own, a quiet well: the page's
|
|
3108
|
+
sunken ground, a hairline edge inside, its icon in the quieter text colour ──────────────────────────────── */
|
|
3109
|
+
.o-notice[data-meaning="neutral"] { --notice-ground: var(--vk-sunken); --notice-edge: var(--vk-border-subtle); box-shadow: inset 0 0 0 var(--vk-border-width) var(--vk-border-subtle); }
|
|
3110
|
+
.o-notice[data-meaning="neutral"] > .o-notice-icon { color: var(--vk-fg-subtle); }
|
|
3111
|
+
/* Its own icon, any 16px icon, in its meaning's colour like the meaning's own. */
|
|
3112
|
+
span.o-notice-icon { display: grid; place-items: center; }
|
|
3113
|
+
span.o-notice-icon > svg { width: 100%; height: 100%; }
|
|
3114
|
+
/* Paragraphs, 8px apart; a link in its sentence underlined in the words' colour, as shadcn's. */
|
|
3115
|
+
.o-notice-text > p { margin: 0; }
|
|
3116
|
+
.o-notice-text > p + p { margin-top: calc(var(--vk-spacing) * 2); }
|
|
3117
|
+
.o-notice-text a {
|
|
3118
|
+
color: inherit; text-decoration: underline; text-decoration-thickness: var(--vk-border-width);
|
|
3119
|
+
text-underline-offset: calc(var(--vk-spacing) * 0.75); text-decoration-color: var(--vk-fg-subtlest);
|
|
3120
|
+
}
|
|
3121
|
+
@media (hover: hover) { .o-notice-text a:hover { text-decoration-color: currentColor; } }
|
|
3122
|
+
|
|
3123
|
+
/* ── With a title: the title in semibold, the sentence under it quieter, 12px by 14px; its actions under
|
|
3124
|
+
the sentence ──────────────────────────────────────────────────────────────────────────────────── */
|
|
3125
|
+
.o-notice.o-notice-titled { gap: calc(var(--vk-spacing) * 3); padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 3.5); }
|
|
3126
|
+
.o-notice-title { font-weight: var(--vk-font-weight-semibold); }
|
|
3127
|
+
.o-notice-titled .o-notice-text { color: var(--vk-fg-subtle); }
|
|
3128
|
+
.o-notice-below { display: flex; gap: calc(var(--vk-spacing) * 1); margin: calc(var(--vk-spacing) * 1.5) 0 0 calc(var(--vk-spacing) * -2.5); }
|
|
3129
|
+
/* A first action that isn't the text kind (an outline) stands with its edge at the sentence's first letter. */
|
|
3130
|
+
.o-notice-below:has(> :first-child:not(.o-button-text)) { margin-left: 0; }
|
|
3131
|
+
|
|
3132
|
+
/* ── Its actions at the end of its line; × puts it away: the Button, quiet, icon only, extra small ──── */
|
|
3133
|
+
.o-notice-acts { flex: none; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); margin: calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -1.5) calc(var(--vk-spacing) * -1) 0; }
|
|
3134
|
+
.o-button.o-notice-x { flex: none; margin: calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -1.5) calc(var(--vk-spacing) * -1) 0; }
|
|
3135
|
+
.o-notice-acts + .o-button.o-notice-x { margin-left: calc(var(--vk-spacing) * -2); }
|
|
3136
|
+
|
|
3137
|
+
/* ── Arrived because of something just done, it fades in; put away or resolved, it fades out ────────── */
|
|
3138
|
+
.o-notice.o-notice-arrived { animation: vk-notice-fade-in var(--vk-duration-base) var(--vk-ease-out); }
|
|
3139
|
+
.o-notice.o-notice-going { opacity: 0; translate: 0 calc(var(--vk-spacing) * -0.5); }
|
|
3140
|
+
|
|
3141
|
+
/* ── On the phone the actions drop under the sentence, lined up with it; × stays at the end of the first
|
|
3142
|
+
line ────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
3143
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *) { flex-wrap: wrap; }
|
|
3144
|
+
.o-notice-body:where([data-vk-phone], [data-vk-phone] *) { flex: 1 1 0; }
|
|
3145
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *) > .o-notice-acts { order: 3; flex-basis: 100%; box-sizing: border-box; margin: calc(var(--vk-spacing) * 0.5) 0 calc(var(--vk-spacing) * -1.5); padding-left: calc(var(--vk-spacing) * 4); }
|
|
3146
|
+
.o-notice-acts:where([data-vk-phone], [data-vk-phone] *) + .o-button.o-notice-x { margin-left: 0; }
|
|
3147
|
+
/* A first action that isn't the text kind stands with its edge at the sentence's first letter: the icon and its gap. */
|
|
3148
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):has(> .o-notice-icon) > .o-notice-acts:has(> :first-child:not(.o-button-text)) { padding-left: calc(var(--vk-spacing) * 6.5); }
|
|
3149
|
+
/* With no icon the sentence starts at the padding: so do the actions, the text kind's words with it. */
|
|
3150
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):not(:has(> .o-notice-icon)) > .o-notice-acts { padding-left: 0; }
|
|
3151
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):not(:has(> .o-notice-icon)) > .o-notice-acts:has(> :first-child.o-button-text) { margin-left: calc(var(--vk-spacing) * -2.5); }
|
|
3152
|
+
|
|
3153
|
+
/* Under reduced motion it just goes. */
|
|
3154
|
+
@media (prefers-reduced-motion: reduce) { .o-notice { transition: none; } .o-notice.o-notice-arrived { animation: none; } }
|
|
3155
|
+
/* ── Its corners smooth: following corner-smoothing, drawn with the smooth outline
|
|
3156
|
+
(ViewKit's smooth.css) in every browser that knows shape(); one that doesn't keeps the corners above. Its round part is fitted to its
|
|
3157
|
+
one line, as a control's is. Its ×, 6px in, rings itself 2px out, so the notice is never clipped: its edge (::before, neutral's
|
|
3158
|
+
hairline, or its ground where it has none) and its ground (::after, a line in, its corner a line smaller) are layers inside it,
|
|
3159
|
+
as the Popover's are. ── */
|
|
3160
|
+
@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)) {
|
|
3161
|
+
.o-notice {
|
|
3162
|
+
--smooth-amount: var(--vk-corner-smoothing); --notice-side: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm) + var(--vk-spacing) * 5);
|
|
3163
|
+
--notice-fit: min(var(--vk-radius-lg), var(--notice-side) / (2 + 2 * var(--smooth-amount, 0.7)));
|
|
3164
|
+
--smooth-t: var(--notice-fit); --smooth-side: var(--notice-side);
|
|
3165
|
+
position: relative; isolation: isolate; border-radius: var(--notice-fit); background-color: transparent; box-shadow: none;
|
|
3166
|
+
}
|
|
3167
|
+
.o-notice[data-meaning="neutral"] { box-shadow: none; }
|
|
3168
|
+
.o-notice::before, .o-notice::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
|
|
3169
|
+
.o-notice::before { background-color: var(--notice-edge, var(--notice-ground)); clip-path: shape(var(--smooth-outline)); }
|
|
3170
|
+
.o-notice::after {
|
|
3171
|
+
--smooth-t: max(0px, var(--notice-fit) - var(--vk-border-width));
|
|
3172
|
+
inset: var(--vk-border-width); border-radius: calc(var(--notice-fit) - var(--vk-border-width)); background-color: var(--notice-ground); clip-path: shape(var(--smooth-outline));
|
|
3173
|
+
}
|
|
3174
|
+
}
|
|
3175
|
+
@keyframes vk-notice-fade-in { from { opacity: 0; } }
|
|
3176
|
+
|
|
2507
3177
|
/* ── A number in its cell: Attio's line of the focus colour, Mihai's ring: the kit's Number field in a cell, filling it ── */
|
|
2508
3178
|
.o-number-editor[data-number-form="computer"] { box-sizing: border-box; width: 100%; height: 100%; min-width: 0; color: var(--vk-fg); }
|
|
2509
3179
|
.o-number-editor .o-number-editor-field, .o-number-editor .o-number-editor-field > .o-inline-input-group { height: 100%; }
|
|
@@ -2633,7 +3303,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
2633
3303
|
/* ── A link (after Attio's record chips): at rest the chip as it is, its words the Option's and never
|
|
2634
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
|
|
2635
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
|
|
2636
|
-
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). ── */
|
|
2637
3307
|
.o-option[data-link] {
|
|
2638
3308
|
--o-option-hover: var(--vk-hovered); --o-option-pressed: var(--vk-pressed);
|
|
2639
3309
|
cursor: pointer; text-decoration: none; outline: none; -webkit-tap-highlight-color: transparent;
|
|
@@ -2649,6 +3319,92 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
2649
3319
|
.o-option[data-link]:is(:focus-visible, [data-force="focus"]) { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
2650
3320
|
@media (prefers-reduced-motion: reduce) { .o-option[data-link] { transition: none; } }
|
|
2651
3321
|
|
|
3322
|
+
/* Its portal, in the list's box, takes no room there, whatever the box lays out. */
|
|
3323
|
+
.o-pane-portal { display: contents; }
|
|
3324
|
+
|
|
3325
|
+
/* ── The shell: over the list and under every popup (layer-popup), a Drawer or a Modal opened later standing over it ── */
|
|
3326
|
+
.o-pane {
|
|
3327
|
+
--pane-corners: var(--vk-radius-xl); --pane-shadow: var(--vk-shadow-menu); --pane-edge: var(--vk-border);
|
|
3328
|
+
--pane-gap: calc(var(--vk-spacing) * 2); --pane-pad: calc(var(--vk-spacing) * 2);
|
|
3329
|
+
position: absolute; z-index: var(--vk-layer-drawer); top: var(--pane-gap); right: var(--pane-gap); bottom: var(--pane-gap);
|
|
3330
|
+
box-sizing: border-box; display: flex; flex-direction: column;
|
|
3331
|
+
width: calc(var(--vk-spacing) * 75); max-width: calc(100% - var(--pane-gap) * 2);
|
|
3332
|
+
border-radius: var(--pane-corners); background-color: var(--vk-overlay); box-shadow: var(--pane-shadow); color: var(--vk-fg);
|
|
3333
|
+
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); outline: none;
|
|
3334
|
+
transition: opacity var(--vk-duration-fast) var(--vk-ease-out), translate var(--vk-duration-fast) var(--vk-ease-out);
|
|
3335
|
+
}
|
|
3336
|
+
/* Fitting what it holds: as tall as that, never past a gap over the list's foot. */
|
|
3337
|
+
[data-pane-place="fit"] .o-pane { bottom: auto; max-height: calc(100% - var(--pane-gap) * 2); }
|
|
3338
|
+
|
|
3339
|
+
/* What it holds, inside its edge. The edge is drawn as two shapes, never a border, as the Popover's is: its colour (::before),
|
|
3340
|
+
and the ground just inside it (::after), one line narrower, each with its own corner, so the edge follows the corners
|
|
3341
|
+
exactly, round or smooth. */
|
|
3342
|
+
.o-pane-cut { position: relative; isolation: isolate; box-sizing: border-box; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; padding: var(--pane-pad); border-radius: inherit; }
|
|
3343
|
+
.o-pane-cut::before, .o-pane-cut::after { content: ""; position: absolute; z-index: -1; border-radius: var(--pane-c); pointer-events: none; }
|
|
3344
|
+
.o-pane-cut::before { --pane-c: var(--pane-corners); inset: 0; background-color: var(--pane-edge); }
|
|
3345
|
+
.o-pane-cut::after { --pane-c: calc(var(--pane-corners) - var(--vk-border-width)); inset: var(--vk-border-width); background-color: var(--vk-overlay); }
|
|
3346
|
+
|
|
3347
|
+
/* Its head stays at its top, its body scrolls, its foot stays at its foot under a line across the whole Pane. The body scrolls up and
|
|
3348
|
+
down only: a control's press area standing past its edge (a Switch's, at a row's end) made it scroll sideways, and where
|
|
3349
|
+
scrollbars take room that bar stood at its foot. What it holds is clipped at its sides, where the body clips it anyway, so nothing
|
|
3350
|
+
overhangs it to scroll to. */
|
|
3351
|
+
.o-pane-head { flex: none; }
|
|
3352
|
+
.o-pane-body { flex: 1 1 auto; min-height: 0; overflow: hidden auto; }
|
|
3353
|
+
.o-pane-body > * { overflow-x: clip; }
|
|
3354
|
+
/* What scrolls runs right to the foot's line: the foot has no margin over
|
|
3355
|
+
it, and a body with a foot after it takes the Pane's padding at its end, inside what scrolls, so that room shows only at the scroll's
|
|
3356
|
+
end. */
|
|
3357
|
+
.o-pane-foot { flex: none; margin: 0 calc(var(--pane-pad) * -1) calc(var(--pane-pad) * -1); padding: var(--pane-pad); border-top: var(--vk-border-width) solid var(--pane-edge); }
|
|
3358
|
+
.o-pane-body:has(~ .o-pane-foot) { padding-bottom: var(--pane-pad); }
|
|
3359
|
+
[data-pane-edge="none"] .o-pane-foot { border-top-color: var(--vk-border-subtle); }
|
|
3360
|
+
|
|
3361
|
+
/* Its title, when what stands in it has one: text-sm at medium weight. */
|
|
3362
|
+
.o-pane-title { margin: 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); font-weight: var(--vk-font-weight-medium); color: var(--vk-fg); }
|
|
3363
|
+
|
|
3364
|
+
/* It fades in and moves a step in from the right; it leaves faster than it came. */
|
|
3365
|
+
.o-pane[data-ending-style] { transition-timing-function: var(--vk-ease-in); }
|
|
3366
|
+
.o-pane:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: var(--vk-spacing) 0; }
|
|
3367
|
+
|
|
3368
|
+
/* ── What an app sets once ───────────────────────────────────────────────────────────────────────────────────── */
|
|
3369
|
+
[data-pane-corners="lg"] .o-pane { --pane-corners: var(--vk-radius-lg); }
|
|
3370
|
+
[data-pane-corners="2xl"] .o-pane { --pane-corners: var(--vk-radius-2xl); }
|
|
3371
|
+
[data-pane-shadow="none"] .o-pane { --pane-shadow: none; }
|
|
3372
|
+
[data-pane-shadow="lg"] .o-pane { --pane-shadow: var(--vk-shadow-lg); }
|
|
3373
|
+
[data-pane-shadow="xl"] .o-pane { --pane-shadow: var(--vk-shadow-xl); }
|
|
3374
|
+
[data-pane-edge="subtle"] .o-pane { --pane-edge: var(--vk-border-subtle); }
|
|
3375
|
+
[data-pane-edge="none"] .o-pane { --pane-edge: var(--vk-overlay); }
|
|
3376
|
+
[data-pane-gap="0"] .o-pane { --pane-gap: 0px; }
|
|
3377
|
+
[data-pane-gap="4"] .o-pane { --pane-gap: var(--vk-spacing); }
|
|
3378
|
+
[data-pane-gap="12"] .o-pane { --pane-gap: calc(var(--vk-spacing) * 3); }
|
|
3379
|
+
[data-pane-gap="16"] .o-pane { --pane-gap: calc(var(--vk-spacing) * 4); }
|
|
3380
|
+
[data-pane-padding="0"] .o-pane { --pane-pad: 0px; }
|
|
3381
|
+
[data-pane-padding="4"] .o-pane { --pane-pad: var(--vk-spacing); }
|
|
3382
|
+
[data-pane-padding="12"] .o-pane { --pane-pad: calc(var(--vk-spacing) * 3); }
|
|
3383
|
+
[data-pane-padding="16"] .o-pane { --pane-pad: calc(var(--vk-spacing) * 4); }
|
|
3384
|
+
|
|
3385
|
+
/* ── Its corners smooth: the smooth outline (smooth.css), as the Popover's. A cut would take the shadow with it, so
|
|
3386
|
+
.o-pane-cut inside it is cut instead, and the edge's two shapes each by the same outline. The shadow is cast from a layer under
|
|
3387
|
+
the cut that stands wholly inside the outline: cast by the shell's own round box, whose corner stands up to 0.02 of a
|
|
3388
|
+
radius outside the smooth one, its edge and the cut's met in a light rim round the bend. Its corner a quarter
|
|
3389
|
+
circle of 1.2 radii, which lies inside the smooth curve (from 1.2 radii on, by smooth.css's numbers; a larger one stands further
|
|
3390
|
+
in and lightens the shadow at the corner), and half a line in, so the cut covers its edge everywhere and the shadow runs on from
|
|
3391
|
+
under the edge, as dark as Round's ────── */
|
|
3392
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
3393
|
+
[data-pane-smoothing="smooth"] .o-pane { background-color: transparent; box-shadow: none; }
|
|
3394
|
+
[data-pane-smoothing="smooth"] .o-pane::before {
|
|
3395
|
+
content: ""; position: absolute; z-index: -1; inset: calc(var(--vk-border-width) / 2); border-radius: calc(var(--pane-corners) * 1.2);
|
|
3396
|
+
box-shadow: var(--pane-shadow); pointer-events: none;
|
|
3397
|
+
}
|
|
3398
|
+
[data-pane-smoothing="smooth"] .o-pane-cut { --pane-c: var(--pane-corners); background-color: var(--vk-overlay); }
|
|
3399
|
+
[data-pane-smoothing="smooth"] .o-pane-cut::before, [data-pane-smoothing="smooth"] .o-pane-cut::after { border-radius: 0; }
|
|
3400
|
+
[data-pane-smoothing="smooth"] .o-pane-cut, [data-pane-smoothing="smooth"] .o-pane-cut::before, [data-pane-smoothing="smooth"] .o-pane-cut::after {
|
|
3401
|
+
--smooth-t: var(--pane-c); clip-path: shape(var(--smooth-outline));
|
|
3402
|
+
}
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
/* Under reduced motion it just appears. */
|
|
3406
|
+
@media (prefers-reduced-motion: reduce) { .o-pane { transition: none; } }
|
|
3407
|
+
|
|
2652
3408
|
/* ── The soft edge: three blurs of what passes under a floating head, each fading out lower down, so the blur is strongest at
|
|
2653
3409
|
the top and melts into the page with no line, and over them the ground it stands on, fading to nothing. What it stands in
|
|
2654
3410
|
gives it its height and, in --soft-edge-ground, its ground. ── */
|
|
@@ -3020,6 +3776,146 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3020
3776
|
:is(.o-popover, .o-list) .o-popup-line[data-at="foot"]::after { top: calc(-1 * var(--vk-border-width)); bottom: auto; }
|
|
3021
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. */
|
|
3022
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; }
|
|
3023
3919
|
|
|
3024
3920
|
/* ── A group: its choices one under another, 14px apart, or two to four in a row; its name is the FieldSet's
|
|
3025
3921
|
legend (field.css) ─────────────────────────────────────────────────────────────────────────────────── */
|
|
@@ -3417,6 +4313,89 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3417
4313
|
.o-sheet-step { animation: none; }
|
|
3418
4314
|
}
|
|
3419
4315
|
|
|
4316
|
+
.o-sort-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
4317
|
+
.o-sort-editor:focus { outline: none; }
|
|
4318
|
+
.o-sort-editor-mark { display: inline-flex; flex: none; align-items: center; color: var(--vk-fg-subtle); }
|
|
4319
|
+
.o-sort-editor-mark svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
4320
|
+
|
|
4321
|
+
/* ── On a computer: the rules ────────────────────────────────────────────────────────────────────────────────────── */
|
|
4322
|
+
.o-sort-editor[data-sort-form="computer"] { width: max-content; max-width: 100%; gap: calc(var(--vk-spacing) * 3); }
|
|
4323
|
+
.o-sort-editor-foot { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); }
|
|
4324
|
+
.o-sort-editor-foot .o-sort-editor-clear { margin-left: auto; }
|
|
4325
|
+
.o-sort-editor-rules { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 2); }
|
|
4326
|
+
.o-sort-editor-rule { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; border-radius: var(--vk-radius-md); }
|
|
4327
|
+
.o-sort-editor-rule[data-lifted] { position: relative; z-index: var(--vk-layer-popup); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
|
|
4328
|
+
.o-sort-editor-rule[data-lifted] .o-sort-editor-grip { cursor: grabbing; }
|
|
4329
|
+
.o-sort-editor-grip { flex: none; touch-action: none; }
|
|
4330
|
+
.o-sort-editor-field, .o-sort-editor-direction { position: relative; flex: none; min-width: 0; }
|
|
4331
|
+
.o-sort-editor-field { width: calc(var(--vk-spacing) * 52); }
|
|
4332
|
+
.o-sort-editor-direction { width: calc(var(--vk-spacing) * 38); }
|
|
4333
|
+
.o-sort-editor-field > .o-select, .o-sort-editor-direction > .o-select { width: 100%; }
|
|
4334
|
+
.o-sort-editor-remove { flex: none; }
|
|
4335
|
+
|
|
4336
|
+
/* Add sort's fields, and in the narrow form a rule's direction, in the Popover under what was pressed: as wide as its rows, never
|
|
4337
|
+
under 192 (the kit's w-fit and min-w-48, written here since an app compiles no utilities of ViewKit's). */
|
|
4338
|
+
.o-popover.o-sort-editor-pop { width: fit-content; min-width: calc(var(--vk-spacing) * 48); }
|
|
4339
|
+
|
|
4340
|
+
/* A list a page shows standing open: under what opens it, over the rules, as the Select's list stands, as wide as its rows, never
|
|
4341
|
+
under 192 nor its box, never past 288 (listWidth, select.css). Scoped to the editor, so it wins over the smooth list's own
|
|
4342
|
+
`position: relative` (list.css), which would stand it in the row and push the row's boxes apart (Mihai, 18 Nov 2026). */
|
|
4343
|
+
.o-sort-editor .o-sort-editor-shown { position: absolute; z-index: var(--vk-layer-popup); top: 100%; left: 0; }
|
|
4344
|
+
.o-sort-editor .o-sort-editor-shown[data-sort-shown="list"] {
|
|
4345
|
+
top: calc(100% + var(--vk-spacing)); display: flex; flex-direction: column;
|
|
4346
|
+
width: max-content; min-width: max(100%, calc(var(--vk-spacing) * 48)); max-width: calc(var(--vk-spacing) * 72);
|
|
4347
|
+
}
|
|
4348
|
+
|
|
4349
|
+
/* ── On a phone: the rules in their card, or what it says with none; Add sort and Clear all ─────────────────────── */
|
|
4350
|
+
.o-sort-editor[data-sort-form="phone"] { gap: calc(var(--vk-spacing) * 3); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
4351
|
+
.o-sort-editor-none { display: grid; gap: calc(var(--vk-spacing) * 0.5); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
4352
|
+
.o-sort-editor-none p { margin: 0; }
|
|
4353
|
+
.o-sort-editor-none-head { font-weight: var(--vk-font-weight-medium); }
|
|
4354
|
+
.o-sort-editor-none-line { color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
4355
|
+
[data-sort-form="narrow"] .o-sort-editor-none-line { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); }
|
|
4356
|
+
.o-sort-editor-card .o-sort-editor-rule { gap: 0; padding-right: calc(var(--vk-spacing) * 1); border-radius: 0; }
|
|
4357
|
+
.o-sort-editor-card .o-sort-editor-rule[data-lifted] { background-color: var(--vk-overlay); }
|
|
4358
|
+
.o-sort-editor-press {
|
|
4359
|
+
display: flex; flex: 1; align-items: center; gap: calc(var(--vk-spacing) * 3); align-self: stretch; min-width: 0; margin: 0; padding: 0;
|
|
4360
|
+
border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent;
|
|
4361
|
+
}
|
|
4362
|
+
.o-sort-editor-press:focus-visible { outline: var(--vk-border-width) solid var(--vk-border-brand); outline-offset: calc(var(--vk-border-width) * -2); }
|
|
4363
|
+
[data-sort-form="phone"] .o-sort-editor-press .o-sort-editor-mark svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
|
|
4364
|
+
.o-sort-editor-words { display: grid; min-width: 0; }
|
|
4365
|
+
.o-sort-editor-name, .o-sort-editor-way { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4366
|
+
.o-sort-editor-way { color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
4367
|
+
[data-sort-form="narrow"] .o-sort-editor-way { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); }
|
|
4368
|
+
.o-sort-editor-more { flex: none; }
|
|
4369
|
+
.o-sort-editor-acts { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
4370
|
+
.o-sort-editor-acts .o-button { width: 100%; }
|
|
4371
|
+
|
|
4372
|
+
/* ── The narrow form: the phone's rows on the Pane's ground at a computer's sizes; Add sort and Clear all at 32 ─────────────── */
|
|
4373
|
+
.o-sort-editor[data-sort-form="narrow"] { gap: calc(var(--vk-spacing) * 3); }
|
|
4374
|
+
[data-sort-form="narrow"] .o-sort-editor-rules { gap: 0; }
|
|
4375
|
+
/* A rule's row is lit whole, ⋮ inside its ground at its end, as the Picker's row (KIT-676, KIT-819): under the pointer, lifted, and
|
|
4376
|
+
while ⋮'s menu is open; a direction's list a page shows standing in the row never lights it. The press keeps its room and its
|
|
4377
|
+
corners, for its focus ring, and has no ground of its own. */
|
|
4378
|
+
[data-sort-form="narrow"] .o-sort-editor-rule { position: relative; gap: var(--vk-spacing); padding-right: var(--vk-spacing); border-radius: var(--vk-radius-md); }
|
|
4379
|
+
[data-sort-form="narrow"] .o-sort-editor-press {
|
|
4380
|
+
min-height: calc(var(--vk-spacing) * 11); padding: var(--vk-spacing) calc(var(--vk-spacing) * 2); gap: calc(var(--vk-spacing) * 2.5); border-radius: var(--vk-radius-md);
|
|
4381
|
+
}
|
|
4382
|
+
[data-sort-form="narrow"] .o-sort-editor-rule:is([data-lifted], :has(.o-sort-editor-more:is([aria-expanded="true"], [data-popup-open]))) { background-color: var(--vk-overlay-hovered); }
|
|
4383
|
+
@media (hover: hover) { [data-sort-form="narrow"] .o-sort-editor-rule:hover:not(:has(.o-sort-editor-shown:hover)) { background-color: var(--vk-overlay-hovered); } }
|
|
4384
|
+
[data-sort-form="narrow"] .o-sort-editor-none { padding: 0 calc(var(--vk-spacing) * 2); }
|
|
4385
|
+
/* A list a page shows standing open, under its rule: never wider than the Pane's column. */
|
|
4386
|
+
.o-sort-editor[data-sort-form="narrow"] .o-sort-editor-shown[data-sort-shown="list"] { min-width: min(100%, calc(var(--vk-spacing) * 48)); max-width: 100%; }
|
|
4387
|
+
|
|
4388
|
+
/* ── A sort set aside (its field deleted or hidden), after the rules (Mihai, 27 Nov 2026) ─────────────────────────────── */
|
|
4389
|
+
/* On a computer an empty place where the grip stands; its field's box dashed in the warning colour, its words too; its
|
|
4390
|
+
direction greyed. On a phone and in the narrow form its why stands under its name in the warning colour. */
|
|
4391
|
+
.o-sort-editor-grip-place { flex: none; width: calc(var(--vk-spacing) * 5); }
|
|
4392
|
+
.o-sort-editor-why { display: flex; width: 100%; }
|
|
4393
|
+
.o-sort-editor-why > .o-select { width: 100%; }
|
|
4394
|
+
/* --input-edge is the Input's own edge colour (input.css), which the Select's box draws its edge with. */
|
|
4395
|
+
.o-sort-editor-aside .o-sort-editor-field .o-select-field { --input-edge: var(--vk-border-warning); border-style: dashed; color: var(--vk-warning); }
|
|
4396
|
+
.o-sort-editor-aside .o-sort-editor-field .o-select-placeholder { color: var(--vk-warning); }
|
|
4397
|
+
.o-sort-editor-aside .o-sort-editor-way { color: var(--vk-warning); }
|
|
4398
|
+
|
|
3420
4399
|
/* ── The arc, as a frame that names a kind other than the tail draws it (nothing picked is the tail, below) ─────────────────────────────────────────────────────────────────────── */
|
|
3421
4400
|
.o-spinner {
|
|
3422
4401
|
--o-spinner-turn: var(--vk-spinner-turn); --o-spinner-breath: var(--vk-spinner-breath); --o-spinner-weight: 1;
|
|
@@ -3699,6 +4678,38 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3699
4678
|
row's, its mark and its height as above. */
|
|
3700
4679
|
.o-status.vk-status-row { font-size: inherit; }
|
|
3701
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
|
+
|
|
3702
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
|
|
3703
4714
|
edge of its own; off, the field edge's grey; on, the brand ─────────────────────────────────────────────────────── */
|
|
3704
4715
|
.o-switch {
|
|
@@ -3844,6 +4855,13 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3844
4855
|
|
|
3845
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; } }
|
|
3846
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
|
+
|
|
3847
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
|
|
3848
4866
|
are variables, which the Option's looks and states set, so its cut draws them under Smooth: --tag-ground (none),
|
|
3849
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
|
|
@@ -3983,6 +5001,90 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3983
5001
|
.o-text-editor .o-text-editor-mirror:where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
3984
5002
|
.o-text-editor :is(.o-text-editor-country, .o-text-editor-dial):where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
3985
5003
|
|
|
5004
|
+
/* How long a toast stays, read by its script off the viewport (toastWait). */
|
|
5005
|
+
.o-toast-viewport { --toast-wait: var(--vk-toast-duration); }
|
|
5006
|
+
|
|
5007
|
+
/* ── Where it rises: centred at the bottom, 16px up; a toast that leaves and the one taking its place sit
|
|
5008
|
+
in the same spot ────────────────────────────────────────────────────────────────────────────────── */
|
|
5009
|
+
.o-toast-viewport {
|
|
5010
|
+
position: fixed; z-index: var(--vk-layer-popup); left: 0; right: 0; bottom: calc(var(--vk-spacing) * 4);
|
|
5011
|
+
display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: end; padding: 0 calc(var(--vk-spacing) * 4); pointer-events: none; outline: none;
|
|
5012
|
+
}
|
|
5013
|
+
.o-toast-viewport.o-toast-viewport-inside { position: absolute; }
|
|
5014
|
+
.o-toast-viewport > .o-toast { grid-area: 1 / 1; }
|
|
5015
|
+
|
|
5016
|
+
/* ── The toast: the page's colours turned round, like the Tooltip, so it reads at once in both themes;
|
|
5017
|
+
the radius's corners, 40px tall, 16px in on the left; it floats, so it casts the large shadow ─────── */
|
|
5018
|
+
.o-toast {
|
|
5019
|
+
display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 3); box-sizing: border-box;
|
|
5020
|
+
width: max-content; max-width: min(calc(var(--vk-spacing) * 115), 100%); min-height: calc(var(--vk-spacing) * 10);
|
|
5021
|
+
padding: calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 4);
|
|
5022
|
+
border-radius: var(--vk-radius-lg); background-color: var(--vk-fg); color: var(--vk-ground); box-shadow: var(--vk-shadow-lg);
|
|
5023
|
+
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); pointer-events: auto; outline: none;
|
|
5024
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), translate var(--vk-duration-base) var(--vk-ease-out);
|
|
5025
|
+
}
|
|
5026
|
+
.o-toast:not(:has(.o-toast-act)) { padding-right: calc(var(--vk-spacing) * 4); }
|
|
5027
|
+
.o-toast:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
5028
|
+
/* It rises 16px and fades in; it fades out, quicker. */
|
|
5029
|
+
.o-toast[data-starting-style] { opacity: 0; translate: 0 calc(var(--vk-spacing) * 4); }
|
|
5030
|
+
.o-toast[data-ending-style] { opacity: 0; transition: opacity var(--vk-duration-fast) var(--vk-ease-in); }
|
|
5031
|
+
|
|
5032
|
+
/* ── Its words, then what to do about it: one word in the toast's words colour, semibold ─────────────── */
|
|
5033
|
+
.o-toast-words { min-width: 0; margin: 0; }
|
|
5034
|
+
.o-button.o-toast-act { color: var(--vk-ground); font-weight: var(--vk-font-weight-semibold); }
|
|
5035
|
+
/* Its focus ring hugs it, as the text kind's does. */
|
|
5036
|
+
.o-button.o-toast-act:is(:focus-visible, [data-force="focus"]) { outline-offset: 0; }
|
|
5037
|
+
|
|
5038
|
+
/* ── Working: the 14px spinner in front; failed: a circled ! in the danger colour ────────────────────── */
|
|
5039
|
+
.o-toast > .o-spinner { margin-right: calc(var(--vk-spacing) * -0.75); }
|
|
5040
|
+
.o-toast-mark { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); margin-right: calc(var(--vk-spacing) * -1); color: var(--vk-danger); }
|
|
5041
|
+
|
|
5042
|
+
/* ── A title over its words, in the medium weight ─────────────────────────────────────────────────── */
|
|
5043
|
+
.o-toast-text { display: grid; gap: calc(var(--vk-spacing) * 0.5); min-width: 0; padding: calc(var(--vk-spacing) * 1) 0; }
|
|
5044
|
+
.o-toast-title { font-size: inherit; line-height: inherit; font-weight: var(--vk-font-weight-medium); }
|
|
5045
|
+
|
|
5046
|
+
/* ── Its meaning, as a Notice's: the meaning's icon in front, in its colour (failed is the danger one) ─ */
|
|
5047
|
+
.o-toast[data-type="information"] > .o-toast-mark { color: var(--vk-info); }
|
|
5048
|
+
.o-toast[data-type="success"] > .o-toast-mark { color: var(--vk-success); }
|
|
5049
|
+
.o-toast[data-type="warning"] > .o-toast-mark { color: var(--vk-warning); }
|
|
5050
|
+
|
|
5051
|
+
/* ── A × at its end: the quiet Button, its 16px icon in the toast's colours; the pointer gives it no fill,
|
|
5052
|
+
whatever the Button's look ─────────────────────────────────────────── */
|
|
5053
|
+
/* 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. */
|
|
5054
|
+
.o-toast .o-button.o-button-quiet.o-toast-close:is([data-force="hover"], :active, [data-force="press"]) { --button-ground: transparent; --button-light: none; --button-depth: none; translate: none; color: var(--vk-ground); }
|
|
5055
|
+
@media (hover: hover) { .o-toast .o-button.o-button-quiet.o-toast-close:hover { --button-ground: transparent; --button-light: none; --button-depth: none; translate: none; color: var(--vk-ground); } }
|
|
5056
|
+
|
|
5057
|
+
/* ── Several at once: each 460px or the width it has; the newest in front, the two before it the front
|
|
5058
|
+
one's height, peeking 8px above it each, each a little narrower (twice the press's step, from its top
|
|
5059
|
+
edge) so their edges show; the pointer or focus on them spreads them out, 8px apart, each its own
|
|
5060
|
+
height and width ───────────────────────────────────────────────────────────────────────────────────── */
|
|
5061
|
+
.o-toast-viewport[data-stack] > .o-toast {
|
|
5062
|
+
width: min(calc(var(--vk-spacing) * 115), 100%); z-index: calc(var(--toast-index) * -1); overflow: hidden;
|
|
5063
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), translate var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out), height var(--vk-duration-base) var(--vk-ease-out);
|
|
5064
|
+
}
|
|
5065
|
+
.o-toast-viewport[data-stack] > .o-toast:not([data-expanded]) { height: var(--toast-frontmost-height, auto); translate: 0 calc(var(--toast-index) * var(--vk-spacing) * -2); scale: calc(1 - (1 - var(--vk-press-scale)) * var(--toast-index) * 2); transform-origin: top center; }
|
|
5066
|
+
.o-toast-viewport[data-stack] > .o-toast[data-expanded] { height: var(--toast-height, auto); translate: 0 calc((var(--toast-offset-y) + var(--toast-index) * var(--vk-spacing) * 2) * -1); }
|
|
5067
|
+
.o-toast-viewport[data-stack] > .o-toast[data-limited] { opacity: 0; pointer-events: none; }
|
|
5068
|
+
.o-toast-viewport[data-stack] > .o-toast[data-starting-style] { translate: 0 calc(var(--vk-spacing) * 4); }
|
|
5069
|
+
|
|
5070
|
+
/* Under reduced motion it appears and goes without moving. */
|
|
5071
|
+
@media (prefers-reduced-motion: reduce) { .o-toast, .o-toast-viewport[data-stack] > .o-toast { transition: none; } .o-toast[data-starting-style] { translate: none; } }
|
|
5072
|
+
/* ── Its corners smooth: following corner-smoothing, drawn with the smooth outline
|
|
5073
|
+
(smooth.css) in every browser that knows shape(); one that doesn't keeps the corners above. Its round part is fitted to its
|
|
5074
|
+
40px, as a control's is. It casts a shadow and its focus ring stands outside it, so it is never clipped: its ground is a layer
|
|
5075
|
+
inside it (::before), clipped, as the Popover's is, the shadow and the ring on itself. ── */
|
|
5076
|
+
@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)) {
|
|
5077
|
+
.o-toast {
|
|
5078
|
+
--smooth-amount: var(--vk-corner-smoothing); --smooth-side: calc(var(--vk-spacing) * 10);
|
|
5079
|
+
--toast-fit: min(var(--vk-radius-lg), var(--vk-spacing) * 10 / (2 + 2 * var(--smooth-amount, 0.7))); --smooth-t: var(--toast-fit);
|
|
5080
|
+
position: relative; isolation: isolate; border-radius: var(--toast-fit); background-color: transparent;
|
|
5081
|
+
}
|
|
5082
|
+
.o-toast::before {
|
|
5083
|
+
content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
|
|
5084
|
+
background-color: var(--vk-fg); clip-path: shape(var(--smooth-outline));
|
|
5085
|
+
}
|
|
5086
|
+
}
|
|
5087
|
+
|
|
3986
5088
|
/* ── On: the neutral fill a step up (background-neutral-hovered), its words and icon in the text colour.
|
|
3987
5089
|
The surface's own selected fill sits 2% from its hover in light, so a toggle under the pointer would
|
|
3988
5090
|
read as on; this one is clear of it in both themes. It keeps it under the pointer and while pressed, in
|
|
@@ -4042,6 +5144,118 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
4042
5144
|
.o-toggle-group[data-orientation="vertical"] { flex-direction: column; }
|
|
4043
5145
|
.o-toggle-group.o-button-group { gap: 0; }
|
|
4044
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
|
+
|
|
4045
5259
|
/* ── The tooltip: the page's text colour as its ground and the page's ground as its words, so it stands
|
|
4046
5260
|
out in both themes with no shadow; 6px by 8px, ¾ of the radius, 6px from what it names ──────────── */
|
|
4047
5261
|
.o-tooltip {
|
|
@@ -4321,6 +5535,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
4321
5535
|
.o-views-list-mark { display: inline-grid; place-items: center; color: var(--vk-fg-subtle); }
|
|
4322
5536
|
.o-views-list-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
4323
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%; }
|
|
4324
5541
|
.\@container {
|
|
4325
5542
|
container-type: inline-size;
|
|
4326
5543
|
}
|
|
@@ -4942,6 +6159,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
4942
6159
|
.w-72 {
|
|
4943
6160
|
width: calc(4px * 72);
|
|
4944
6161
|
}
|
|
6162
|
+
.w-75 {
|
|
6163
|
+
width: calc(4px * 75);
|
|
6164
|
+
}
|
|
4945
6165
|
.w-80 {
|
|
4946
6166
|
width: calc(4px * 80);
|
|
4947
6167
|
}
|
|
@@ -5029,6 +6249,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
5029
6249
|
.min-w-32 {
|
|
5030
6250
|
min-width: calc(4px * 32);
|
|
5031
6251
|
}
|
|
6252
|
+
.min-w-\[calc\(var\(--vk-spacing\,var\(--spacing\)\)\*48\)\] {
|
|
6253
|
+
min-width: calc(var(--vk-spacing,4px) * 48);
|
|
6254
|
+
}
|
|
5032
6255
|
.flex-1 {
|
|
5033
6256
|
flex: 1;
|
|
5034
6257
|
}
|
|
@@ -6219,6 +7442,10 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
6219
7442
|
--tw-duration: 200ms;
|
|
6220
7443
|
transition-duration: 200ms;
|
|
6221
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
|
+
}
|
|
6222
7449
|
.ease-out {
|
|
6223
7450
|
--tw-ease: cubic-bezier(0, 0, 0.2, 1);
|
|
6224
7451
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
@@ -7151,6 +8378,164 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7151
8378
|
}
|
|
7152
8379
|
}
|
|
7153
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
|
+
}
|
|
7154
8539
|
@layer components {
|
|
7155
8540
|
@layer viewkit {
|
|
7156
8541
|
:where(:root) {
|
|
@@ -7217,6 +8602,47 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7217
8602
|
--vk-label-teal-fill: hsl(196 52% 91.5%);
|
|
7218
8603
|
--vk-label-teal-edge: hsl(196 52% 74.5%);
|
|
7219
8604
|
--vk-label-teal-strong: hsl(193 82% 26%);
|
|
8605
|
+
--vk-layer-popup: 50;
|
|
8606
|
+
--vk-backdrop-alert-medium: hsl(214 30% 10% / 0.15);
|
|
8607
|
+
--vk-duration-base: 200ms;
|
|
8608
|
+
--vk-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
8609
|
+
--vk-backdrop-alert-light: hsl(214 30% 10% / 0.08);
|
|
8610
|
+
--vk-backdrop-alert-deep: hsl(214 30% 10% / 0.24);
|
|
8611
|
+
--vk-backdrop-veil-medium: hsl(0 0% 100% / 0.56);
|
|
8612
|
+
--vk-backdrop-veil-light: hsl(0 0% 100% / 0.4);
|
|
8613
|
+
--vk-backdrop-veil: hsl(0 0% 100% / 0.72);
|
|
8614
|
+
--vk-blur-xs: 4px;
|
|
8615
|
+
--vk-blur-sm: 8px;
|
|
8616
|
+
--vk-blur-md: 12px;
|
|
8617
|
+
--vk-blur-lg: 24px;
|
|
8618
|
+
--vk-spacing: 4px;
|
|
8619
|
+
--vk-radius-2xl: 20px;
|
|
8620
|
+
--vk-container-sm: 384px;
|
|
8621
|
+
--vk-border-width: 1px;
|
|
8622
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
8623
|
+
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
8624
|
+
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
8625
|
+
--vk-push-scale: 0.94;
|
|
8626
|
+
--vk-duration-fast: 150ms;
|
|
8627
|
+
--vk-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
8628
|
+
--vk-radius-lg: 10px;
|
|
8629
|
+
--vk-radius-xl: 15px;
|
|
8630
|
+
--vk-radius-3xl: 26.67px;
|
|
8631
|
+
--vk-font-size-lg: 18px;
|
|
8632
|
+
--vk-font-size-base: 16px;
|
|
8633
|
+
--vk-line-height-base: 1.5;
|
|
8634
|
+
--vk-font-weight-semibold: 600;
|
|
8635
|
+
--vk-font-size-sm: 14px;
|
|
8636
|
+
--vk-line-height-sm: 1.4286;
|
|
8637
|
+
--vk-overlay-card: hsl(0 0% 94%);
|
|
8638
|
+
--vk-overlay-card-pressed: hsl(220 7% 90%);
|
|
8639
|
+
--vk-radius-full: 9999px;
|
|
8640
|
+
--vk-brand-subtler: hsl(218 100% 94%);
|
|
8641
|
+
--vk-fg-accent: hsl(219 87% 54%);
|
|
8642
|
+
--vk-info-subtler: hsl(218 100% 94%);
|
|
8643
|
+
--vk-success-subtler: hsl(143 41% 91%);
|
|
8644
|
+
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
8645
|
+
--vk-danger-subtler: hsl(6 100% 94%);
|
|
7220
8646
|
--vk-person-1: #d7a77e;
|
|
7221
8647
|
--vk-person-2: #93b6ce;
|
|
7222
8648
|
--vk-person-3: #afc98f;
|
|
@@ -7225,26 +8651,24 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7225
8651
|
--vk-person-6: #9dabdd;
|
|
7226
8652
|
--vk-person-fg: #10141a;
|
|
7227
8653
|
--vk-success-bold: hsl(158 98% 26%);
|
|
7228
|
-
--vk-border-width: 1px;
|
|
7229
8654
|
--vk-dot-size: 6px;
|
|
7230
8655
|
--vk-font-size-2xl: 24px;
|
|
7231
8656
|
--vk-font-size-2xs: 10px;
|
|
7232
8657
|
--vk-font-size-3xs: 8px;
|
|
7233
|
-
--vk-font-size-sm: 14px;
|
|
7234
8658
|
--vk-font-size-xs: 12px;
|
|
7235
|
-
--vk-font-weight-semibold: 600;
|
|
7236
|
-
--vk-radius-2xl: 20px;
|
|
7237
|
-
--vk-radius-full: 9999px;
|
|
7238
|
-
--vk-radius-lg: 10px;
|
|
7239
8659
|
--vk-radius-md: 7.5px;
|
|
7240
8660
|
--vk-radius-sm: 5px;
|
|
7241
|
-
--vk-radius-xl: 15px;
|
|
7242
8661
|
--vk-radius-xs: 2.5px;
|
|
7243
|
-
--vk-spacing: 4px;
|
|
7244
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);
|
|
7245
8670
|
--vk-brand-hovered: hsl(219 70% 46.5%);
|
|
7246
8671
|
--vk-brand-pressed: hsl(219 70% 38%);
|
|
7247
|
-
--vk-brand-subtler: hsl(218 100% 94%);
|
|
7248
8672
|
--vk-brand-subtler-hovered: hsl(218 100% 89%);
|
|
7249
8673
|
--vk-brand-subtler-pressed: hsl(218 97% 82%);
|
|
7250
8674
|
--vk-danger-bold: hsl(0 81% 58%);
|
|
@@ -7260,25 +8684,15 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7260
8684
|
--vk-warning-bold-pressed: hsl(23 85% 29%);
|
|
7261
8685
|
--vk-brighten: hsl(0 0% 100% / 0.09);
|
|
7262
8686
|
--vk-darken: hsl(214 30% 10% / 0.1);
|
|
7263
|
-
--vk-border-input: hsl(220 3% 86%);
|
|
7264
8687
|
--vk-border-input-hovered: hsl(210 1% 82%);
|
|
7265
8688
|
--vk-raised: hsl(0 0% 100%);
|
|
7266
8689
|
--vk-raised-hovered: hsl(220 3% 97%);
|
|
7267
8690
|
--vk-overlay-hovered: hsl(220 3% 97%);
|
|
7268
8691
|
--vk-overlay-pressed: hsl(0 0% 94%);
|
|
7269
|
-
--vk-overlay-card-pressed: hsl(220 7% 90%);
|
|
7270
|
-
--vk-fg-disabled: hsl(210 1% 72%);
|
|
7271
|
-
--vk-fg-accent: hsl(219 87% 54%);
|
|
7272
8692
|
--vk-corner-smoothing: 0.7;
|
|
7273
8693
|
--vk-duration-instant: 60ms;
|
|
7274
|
-
--vk-duration-fast: 150ms;
|
|
7275
|
-
--vk-duration-base: 200ms;
|
|
7276
8694
|
--vk-duration-slow: 300ms;
|
|
7277
|
-
--vk-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
7278
8695
|
--vk-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
7279
|
-
--vk-focus-width: 2px;
|
|
7280
|
-
--vk-focus-offset: 2px;
|
|
7281
|
-
--vk-font-weight-medium: 500;
|
|
7282
8696
|
--vk-hover-lift: 1px;
|
|
7283
8697
|
--vk-press-scale: 0.98;
|
|
7284
8698
|
--vk-press-squash: 1.025 0.92;
|
|
@@ -7297,22 +8711,21 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7297
8711
|
--vk-shadow-rim-bold: inset 0 1px 0 0 hsl(0 0% 100% / 0.22);
|
|
7298
8712
|
--vk-shadow-rim-bold-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.3);
|
|
7299
8713
|
--vk-shadow-rim-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.14);
|
|
7300
|
-
--vk-font-size-base: 16px;
|
|
7301
|
-
--vk-font-size-lg: 18px;
|
|
7302
8714
|
--vk-border-danger: hsl(3 87% 68%);
|
|
7303
8715
|
--vk-input: hsl(0 0% 100% / 0);
|
|
7304
|
-
--vk-line-height-sm: 1.4286;
|
|
7305
8716
|
--vk-selected: hsl(0 0% 94.5%);
|
|
7306
8717
|
--vk-sunken: hsl(0 0% 98%);
|
|
7307
8718
|
--vk-sunken-hovered: hsl(0 0% 94.5%);
|
|
7308
|
-
--vk-
|
|
8719
|
+
--vk-border-selected: hsl(219 90% 65.5%);
|
|
7309
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);
|
|
7310
8723
|
--vk-border-accent: hsl(219 90% 65.5%);
|
|
7311
8724
|
--vk-font-size-xl: 20px;
|
|
7312
8725
|
--vk-font-weight-normal: 400;
|
|
7313
|
-
--vk-overlay-card: hsl(0 0% 94%);
|
|
7314
8726
|
--vk-tracking-wide: 0.025em;
|
|
7315
8727
|
--vk-border-overlay-card: hsl(220 3% 86%);
|
|
8728
|
+
--vk-border-warning: hsl(20 63% 57.5%);
|
|
7316
8729
|
--vk-glass: hsl(0 0% 97% / 0.72);
|
|
7317
8730
|
--vk-glass-rim-soft: hsl(0 0% 100% / 0.82);
|
|
7318
8731
|
--vk-glass-rim-faint: hsl(0 0% 100% / 0.55);
|
|
@@ -7320,8 +8733,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7320
8733
|
--vk-shadow-glass: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.15);
|
|
7321
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);
|
|
7322
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);
|
|
7323
|
-
--vk-blur-md: 12px;
|
|
7324
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);
|
|
7325
8739
|
--vk-brand-300: hsl(218 100% 89%);
|
|
7326
8740
|
--vk-border-input-strong: hsl(210 1% 72%);
|
|
7327
8741
|
--vk-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
@@ -7330,25 +8744,29 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7330
8744
|
--vk-shadow-field-focus-danger: 0 0 10px 0 hsl(3 87% 68% / 0.3);
|
|
7331
8745
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
|
|
7332
8746
|
--vk-font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
7333
|
-
--vk-layer-popup: 50;
|
|
7334
8747
|
--vk-overlay-selected: hsl(220 7% 90%);
|
|
7335
|
-
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
7336
8748
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
7337
|
-
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
7338
|
-
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
7339
8749
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
7340
8750
|
--vk-label-amber-pressed: hsl(24 86% 35.5%);
|
|
7341
8751
|
--vk-label-blue-pressed: hsl(219 70% 46.5%);
|
|
7342
8752
|
--vk-label-green-pressed: hsl(157 88% 24%);
|
|
7343
8753
|
--vk-label-purple-pressed: hsl(260 65% 55%);
|
|
7344
|
-
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
7345
|
-
--vk-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
7346
8754
|
--vk-hold-delay: 500ms;
|
|
7347
8755
|
--vk-submenu-delay: 100ms;
|
|
8756
|
+
--vk-layer-drawer: 40;
|
|
8757
|
+
--vk-backdrop-modal-light: hsl(214 30% 10% / 0.06);
|
|
8758
|
+
--vk-backdrop-modal-medium: hsl(214 30% 10% / 0.12);
|
|
8759
|
+
--vk-backdrop-modal-deep: hsl(214 30% 10% / 0.2);
|
|
8760
|
+
--vk-backdrop-modal-veil-light: hsl(0 0% 100% / 0.4);
|
|
8761
|
+
--vk-backdrop-modal-veil-medium: hsl(0 0% 100% / 0.56);
|
|
8762
|
+
--vk-backdrop-modal-veil-deep: hsl(0 0% 100% / 0.72);
|
|
8763
|
+
--vk-container-2xl: 672px;
|
|
8764
|
+
--vk-container-lg: 512px;
|
|
8765
|
+
--vk-container-4xl: 896px;
|
|
8766
|
+
--vk-container-5xl: 1024px;
|
|
8767
|
+
--vk-border-modal-ring: hsl(210 1% 88%);
|
|
8768
|
+
--vk-border-modal-edge: hsl(220 3% 86%);
|
|
7348
8769
|
--vk-header: hsl(0 0% 100%);
|
|
7349
|
-
--vk-blur-xs: 4px;
|
|
7350
|
-
--vk-blur-sm: 8px;
|
|
7351
|
-
--vk-border-selected: hsl(219 90% 65.5%);
|
|
7352
8770
|
--vk-scrollbar-size: 6px;
|
|
7353
8771
|
--vk-scrollbar-inset: 2px;
|
|
7354
8772
|
--vk-scrollbar-thumb: hsl(210 1% 82%);
|
|
@@ -7360,10 +8778,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7360
8778
|
--vk-sheet-handle: hsl(210 1% 72%);
|
|
7361
8779
|
--vk-spring-exit: 120px;
|
|
7362
8780
|
--vk-spring-past: 12px;
|
|
7363
|
-
--vk-radius-3xl: 26.67px;
|
|
7364
8781
|
--vk-radius-4xl: 33.33px;
|
|
7365
8782
|
--vk-radius-5xl: 40px;
|
|
7366
|
-
--vk-layer-drawer: 40;
|
|
7367
8783
|
--vk-spring-smooth: 500ms 1;
|
|
7368
8784
|
--vk-ease-spring-smooth: linear(0, 0.0191, 0.0667, 0.1313, 0.2048, 0.2816, 0.3577, 0.4308, 0.4991, 0.562, 0.6189, 0.67, 0.7154, 0.7554, 0.7905, 0.821, 0.8475, 0.8704, 0.89, 0.9069, 0.9213, 0.9336, 0.9441, 0.9529, 0.9605, 0.9668, 0.9722, 0.9767, 0.9805, 0.9837, 0.9864, 0.9887, 0.9905, 0.9921, 0.9934, 0.9945, 0.9955, 0.9962, 0.9969, 0.9974, 0.9978, 0.9982, 0.9985, 0.9988, 0.999, 0.9992, 0.9993, 0.9994, 1);
|
|
7369
8785
|
--vk-duration-spring-smooth: 800ms;
|
|
@@ -7374,8 +8790,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7374
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);
|
|
7375
8791
|
--vk-duration-spring-lively: 633ms;
|
|
7376
8792
|
--vk-sheet-press-scale: 1.005;
|
|
7377
|
-
--vk-push-scale: 0.94;
|
|
7378
|
-
--vk-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
7379
8793
|
--vk-loading-dim: 0.55;
|
|
7380
8794
|
--vk-progress-slide: 1400ms;
|
|
7381
8795
|
--vk-spinner-breath: 1400ms;
|
|
@@ -7385,7 +8799,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7385
8799
|
--vk-blue-700: hsl(219 87% 54%);
|
|
7386
8800
|
--vk-border-info: hsl(219 90% 65.5%);
|
|
7387
8801
|
--vk-border-success: hsl(149 43% 44.5%);
|
|
7388
|
-
--vk-border-warning: hsl(20 63% 57.5%);
|
|
7389
8802
|
--vk-brand-100: hsl(218 100% 98%);
|
|
7390
8803
|
--vk-brand-200: hsl(218 100% 94%);
|
|
7391
8804
|
--vk-brand-400: hsl(218 97% 82%);
|
|
@@ -7394,20 +8807,17 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7394
8807
|
--vk-brand-700: hsl(219 87% 54%);
|
|
7395
8808
|
--vk-brand-800: hsl(219 70% 46.5%);
|
|
7396
8809
|
--vk-brand-1000: hsl(219 72% 29%);
|
|
7397
|
-
--vk-danger-subtler: hsl(6 100% 94%);
|
|
7398
8810
|
--vk-green-700: hsl(158 98% 26%);
|
|
7399
|
-
--vk-info-subtler: hsl(218 100% 94%);
|
|
7400
8811
|
--vk-pink-700: hsl(335 73% 49.5%);
|
|
7401
8812
|
--vk-purple-700: hsl(260 100% 64.5%);
|
|
7402
8813
|
--vk-red-700: hsl(0 81% 58%);
|
|
7403
|
-
--vk-success-subtler: hsl(143 41% 91%);
|
|
7404
8814
|
--vk-teal-700: hsl(192 87% 32%);
|
|
7405
|
-
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
7406
8815
|
--vk-font-weight-bold: 700;
|
|
7407
|
-
--vk-
|
|
8816
|
+
--vk-toast-duration: 4000ms;
|
|
8817
|
+
--vk-raised-selected: hsl(220 7% 90%);
|
|
8818
|
+
--vk-sunken-selected: hsl(0 0% 91%);
|
|
7408
8819
|
--vk-tooltip-delay: 500ms;
|
|
7409
8820
|
--vk-tooltip-warm: 300ms;
|
|
7410
|
-
--vk-toast-duration: 4000ms;
|
|
7411
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);
|
|
7412
8822
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(16 17 26 / 0.08);
|
|
7413
8823
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
|
|
@@ -7498,6 +8908,23 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7498
8908
|
--vk-label-teal-fill: hsl(196 32% 17.5%);
|
|
7499
8909
|
--vk-label-teal-edge: hsl(195 42% 22.5%);
|
|
7500
8910
|
--vk-label-teal-strong: hsl(196 67% 75.5%);
|
|
8911
|
+
--vk-backdrop-alert-medium: hsl(0 0% 0% / 0.22);
|
|
8912
|
+
--vk-backdrop-alert-light: hsl(0 0% 0% / 0.12);
|
|
8913
|
+
--vk-backdrop-alert-deep: hsl(0 0% 0% / 0.36);
|
|
8914
|
+
--vk-backdrop-veil-medium: hsl(226 10% 10% / 0.56);
|
|
8915
|
+
--vk-backdrop-veil-light: hsl(226 10% 10% / 0.4);
|
|
8916
|
+
--vk-backdrop-veil: hsl(226 10% 10% / 0.72);
|
|
8917
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
8918
|
+
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
8919
|
+
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
8920
|
+
--vk-overlay-card: hsl(225 7% 15%);
|
|
8921
|
+
--vk-overlay-card-pressed: hsl(220 4% 22%);
|
|
8922
|
+
--vk-brand-subtler: hsl(218 32% 14.5%);
|
|
8923
|
+
--vk-fg-accent: hsl(219 87% 59.5%);
|
|
8924
|
+
--vk-info-subtler: hsl(218 32% 14.5%);
|
|
8925
|
+
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
8926
|
+
--vk-warning-subtler: hsl(20 29% 13.5%);
|
|
8927
|
+
--vk-danger-subtler: hsl(6 27% 14.5%);
|
|
7501
8928
|
--vk-person-1: #d7a77e;
|
|
7502
8929
|
--vk-person-2: #93b6ce;
|
|
7503
8930
|
--vk-person-3: #afc98f;
|
|
@@ -7506,9 +8933,11 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7506
8933
|
--vk-person-6: #9dabdd;
|
|
7507
8934
|
--vk-person-fg: #10141a;
|
|
7508
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%);
|
|
7509
8939
|
--vk-brand-hovered: hsl(219 95% 64%);
|
|
7510
8940
|
--vk-brand-pressed: hsl(219 100% 72.5%);
|
|
7511
|
-
--vk-brand-subtler: hsl(218 32% 14.5%);
|
|
7512
8941
|
--vk-brand-subtler-hovered: hsl(219 46% 21%);
|
|
7513
8942
|
--vk-brand-subtler-pressed: hsl(219 55% 29%);
|
|
7514
8943
|
--vk-danger-bold: hsl(0 81% 58%);
|
|
@@ -7524,15 +8953,11 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7524
8953
|
--vk-warning-bold-pressed: hsl(20 73% 65.5%);
|
|
7525
8954
|
--vk-brighten: hsl(210 8% 95% / 0.09);
|
|
7526
8955
|
--vk-darken: hsl(0 0% 0% / 0.15);
|
|
7527
|
-
--vk-border-input: hsl(220 4% 22%);
|
|
7528
8956
|
--vk-border-input-hovered: hsl(210 2% 26.5%);
|
|
7529
8957
|
--vk-raised: hsl(226 10% 10%);
|
|
7530
8958
|
--vk-raised-hovered: hsl(225 7% 15%);
|
|
7531
8959
|
--vk-overlay-hovered: hsl(225 7% 15%);
|
|
7532
8960
|
--vk-overlay-pressed: hsl(225 7% 15%);
|
|
7533
|
-
--vk-overlay-card-pressed: hsl(220 4% 22%);
|
|
7534
|
-
--vk-fg-disabled: hsl(210 1% 37%);
|
|
7535
|
-
--vk-fg-accent: hsl(219 87% 59.5%);
|
|
7536
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);
|
|
7537
8962
|
--vk-shadow-key-pressed: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.18);
|
|
7538
8963
|
--vk-shadow-key-pressed-bold: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.42);
|
|
@@ -7551,9 +8976,10 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7551
8976
|
--vk-selected: hsl(225 7% 15%);
|
|
7552
8977
|
--vk-sunken: hsl(210 8% 5%);
|
|
7553
8978
|
--vk-sunken-hovered: hsl(210 4% 9.5%);
|
|
8979
|
+
--vk-border-selected: hsl(219 66% 47%);
|
|
7554
8980
|
--vk-border-accent: hsl(219 66% 47%);
|
|
7555
|
-
--vk-overlay-card: hsl(225 7% 15%);
|
|
7556
8981
|
--vk-border-overlay-card: hsl(220 4% 22%);
|
|
8982
|
+
--vk-border-warning: hsl(22 74% 36%);
|
|
7557
8983
|
--vk-glass: hsl(0 0% 13% / 0.6);
|
|
7558
8984
|
--vk-glass-rim-soft: hsl(0 0% 100% / 0.12);
|
|
7559
8985
|
--vk-glass-rim-faint: hsl(0 0% 100% / 0.01);
|
|
@@ -7561,6 +8987,8 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7561
8987
|
--vk-shadow-glass: 0 8px 40px 4px hsl(0 0% 0% / 0.06);
|
|
7562
8988
|
--vk-shadow-glass-pair: 0 8px 40px 4px hsl(0 0% 0% / 0.06);
|
|
7563
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);
|
|
7564
8992
|
--vk-brand-300: hsl(219 46% 21%);
|
|
7565
8993
|
--vk-border-input-strong: hsl(210 1% 37%);
|
|
7566
8994
|
--vk-shadow-field: 0 1px 1px 0 rgb(255 255 255 / 0.08);
|
|
@@ -7568,18 +8996,21 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7568
8996
|
--vk-shadow-field-focus-danger: 0 0 10px 0 hsl(1 55% 46.5% / 0.42);
|
|
7569
8997
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|
|
7570
8998
|
--vk-overlay-selected: hsl(225 7% 15%);
|
|
7571
|
-
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
7572
8999
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
7573
|
-
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
7574
|
-
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
7575
9000
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
7576
9001
|
--vk-label-amber-pressed: hsl(21 66% 55%);
|
|
7577
9002
|
--vk-label-blue-pressed: hsl(219 95% 64%);
|
|
7578
9003
|
--vk-label-green-pressed: hsl(150 45% 51.5%);
|
|
7579
9004
|
--vk-label-purple-pressed: hsl(256 100% 73%);
|
|
7580
|
-
--vk-
|
|
9005
|
+
--vk-backdrop-modal-light: hsl(0 0% 0% / 0.1);
|
|
9006
|
+
--vk-backdrop-modal-medium: hsl(0 0% 0% / 0.18);
|
|
9007
|
+
--vk-backdrop-modal-deep: hsl(0 0% 0% / 0.3);
|
|
9008
|
+
--vk-backdrop-modal-veil-light: hsl(226 10% 10% / 0.4);
|
|
9009
|
+
--vk-backdrop-modal-veil-medium: hsl(226 10% 10% / 0.56);
|
|
9010
|
+
--vk-backdrop-modal-veil-deep: hsl(226 10% 10% / 0.72);
|
|
9011
|
+
--vk-border-modal-ring: hsl(210 2% 19%);
|
|
9012
|
+
--vk-border-modal-edge: hsl(220 4% 22%);
|
|
7581
9013
|
--vk-header: hsl(210 6% 7%);
|
|
7582
|
-
--vk-border-selected: hsl(219 66% 47%);
|
|
7583
9014
|
--vk-scrollbar-thumb: hsl(210 2% 26.5%);
|
|
7584
9015
|
--vk-scrollbar-thumb-hovered: hsl(210 1% 37%);
|
|
7585
9016
|
--vk-backdrop-sheet: hsl(0 0% 0% / 0.45);
|
|
@@ -7590,7 +9021,6 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7590
9021
|
--vk-blue-700: hsl(219 87% 59.5%);
|
|
7591
9022
|
--vk-border-info: hsl(219 66% 47%);
|
|
7592
9023
|
--vk-border-success: hsl(153 64% 32%);
|
|
7593
|
-
--vk-border-warning: hsl(22 74% 36%);
|
|
7594
9024
|
--vk-brand-100: hsl(218 15% 10%);
|
|
7595
9025
|
--vk-brand-200: hsl(218 32% 14.5%);
|
|
7596
9026
|
--vk-brand-400: hsl(219 55% 29%);
|
|
@@ -7599,16 +9029,13 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
7599
9029
|
--vk-brand-700: hsl(219 87% 59.5%);
|
|
7600
9030
|
--vk-brand-800: hsl(219 95% 64%);
|
|
7601
9031
|
--vk-brand-1000: hsl(218 100% 81%);
|
|
7602
|
-
--vk-danger-subtler: hsl(6 27% 14.5%);
|
|
7603
9032
|
--vk-green-700: hsl(158 98% 34%);
|
|
7604
|
-
--vk-info-subtler: hsl(218 32% 14.5%);
|
|
7605
9033
|
--vk-pink-700: hsl(335 73% 57.5%);
|
|
7606
9034
|
--vk-purple-700: hsl(260 100% 69%);
|
|
7607
9035
|
--vk-red-700: hsl(0 81% 58%);
|
|
7608
|
-
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
7609
9036
|
--vk-teal-700: hsl(192 87% 40%);
|
|
7610
|
-
--vk-
|
|
7611
|
-
--vk-
|
|
9037
|
+
--vk-raised-selected: hsl(225 7% 15%);
|
|
9038
|
+
--vk-sunken-selected: hsl(225 7% 11%);
|
|
7612
9039
|
--vk-t-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
7613
9040
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(255 255 255 / 0.08);
|
|
7614
9041
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|