viewkitjs 0.26.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +95 -0
- package/MIGRATION.md +122 -7
- package/package.json +1 -1
- package/views/dist/cells/cell-format.d.ts +3 -1
- package/views/dist/cells/cell-format.js +2 -2
- package/views/dist/cells/use-cell-format.d.ts +8 -1
- package/views/dist/cells/use-cell-format.js +13 -2
- package/views/dist/contract.d.ts +240 -3
- package/views/dist/contract.js +238 -0
- package/views/dist/controls/alert/alert.d.ts +46 -0
- package/views/dist/controls/alert/alert.js +11 -0
- package/views/dist/controls/alert/looks.d.ts +4 -0
- package/views/dist/controls/alert/looks.js +19 -0
- package/views/dist/controls/alert/tokens.d.ts +92 -0
- package/views/dist/controls/alert/tokens.js +25 -0
- package/views/dist/controls/alert-dialog/alert-dialog.d.ts +50 -0
- package/views/dist/controls/alert-dialog/alert-dialog.js +67 -0
- package/views/dist/controls/alert-dialog/confirm.d.ts +13 -0
- package/views/dist/controls/alert-dialog/confirm.js +11 -0
- package/views/dist/controls/alert-dialog/looks.d.ts +4 -0
- package/views/dist/controls/alert-dialog/looks.js +17 -0
- package/views/dist/controls/alert-dialog/tokens.d.ts +119 -0
- package/views/dist/controls/alert-dialog/tokens.js +32 -0
- package/views/dist/controls/alert-dialog.css +95 -0
- package/views/dist/controls/alert.css +51 -0
- package/views/dist/controls/collapsible/collapsible.d.ts +39 -0
- package/views/dist/controls/collapsible/collapsible.js +18 -0
- package/views/dist/controls/collapsible/looks.d.ts +4 -0
- package/views/dist/controls/collapsible/looks.js +5 -0
- package/views/dist/controls/collapsible/map-collapse.d.ts +2 -0
- package/views/dist/controls/collapsible/map-collapse.js +6 -0
- package/views/dist/controls/collapsible/tokens.d.ts +68 -0
- package/views/dist/controls/collapsible/tokens.js +19 -0
- package/views/dist/controls/collapsible.css +83 -0
- package/views/dist/controls/compound-editor/map-parts-body.js +2 -1
- package/views/dist/controls/compound-editor/name-parts.js +10 -2
- package/views/dist/controls/compound-editor/place-parts.js +5 -1
- package/views/dist/controls/compound-editor/place.d.ts +2 -1
- package/views/dist/controls/compound-editor/place.js +2 -0
- package/views/dist/controls/controls.d.ts +17 -0
- package/views/dist/controls/controls.js +17 -0
- package/views/dist/controls/date-editor/date-editor.d.ts +2 -1
- package/views/dist/controls/date-editor/map-calendar.js +3 -1
- package/views/dist/controls/filter-editor/filter-editor.d.ts +56 -0
- package/views/dist/controls/filter-editor/filter-editor.js +208 -0
- package/views/dist/controls/filter-editor/how.d.ts +23 -0
- package/views/dist/controls/filter-editor/how.js +13 -0
- package/views/dist/controls/filter-editor/map-filter-body.d.ts +18 -0
- package/views/dist/controls/filter-editor/map-filter-body.js +164 -0
- package/views/dist/controls/filter-editor/map-rules.d.ts +85 -0
- package/views/dist/controls/filter-editor/map-rules.js +273 -0
- package/views/dist/controls/filter-editor/parts.d.ts +46 -0
- package/views/dist/controls/filter-editor/parts.js +75 -0
- package/views/dist/controls/filter-editor/rules.d.ts +104 -0
- package/views/dist/controls/filter-editor/rules.js +148 -0
- package/views/dist/controls/filter-editor/tokens.d.ts +83 -0
- package/views/dist/controls/filter-editor/tokens.js +23 -0
- package/views/dist/controls/filter-editor/words.d.ts +59 -0
- package/views/dist/controls/filter-editor/words.js +40 -0
- package/views/dist/controls/filter-editor.css +124 -0
- package/views/dist/controls/group-editor/group-editor.d.ts +56 -0
- package/views/dist/controls/group-editor/group-editor.js +126 -0
- package/views/dist/controls/group-editor/map-group-body.d.ts +19 -0
- package/views/dist/controls/group-editor/map-group-body.js +106 -0
- package/views/dist/controls/group-editor/rules.d.ts +48 -0
- package/views/dist/controls/group-editor/rules.js +41 -0
- package/views/dist/controls/group-editor/tokens.d.ts +15 -0
- package/views/dist/controls/group-editor/tokens.js +6 -0
- package/views/dist/controls/group-editor/words.d.ts +39 -0
- package/views/dist/controls/group-editor/words.js +21 -0
- package/views/dist/controls/group-editor.css +20 -0
- package/views/dist/controls/index.d.ts +35 -1
- package/views/dist/controls/index.js +35 -1
- package/views/dist/controls/internal/editor-parts.d.ts +47 -0
- package/views/dist/controls/internal/editor-parts.js +48 -0
- package/views/dist/controls/internal/step-return.d.ts +9 -0
- package/views/dist/controls/internal/step-return.js +27 -0
- package/views/dist/controls/links-editor/links-editor.d.ts +80 -0
- package/views/dist/controls/links-editor/links-editor.js +329 -0
- package/views/dist/controls/links-editor/links.d.ts +62 -0
- package/views/dist/controls/links-editor/links.js +50 -0
- package/views/dist/controls/links-editor/map-links-body.d.ts +10 -0
- package/views/dist/controls/links-editor/map-links-body.js +74 -0
- package/views/dist/controls/links-editor/tokens.d.ts +71 -0
- package/views/dist/controls/links-editor/tokens.js +20 -0
- package/views/dist/controls/links-editor/words.d.ts +56 -0
- package/views/dist/controls/links-editor/words.js +33 -0
- package/views/dist/controls/links-editor.css +132 -0
- 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/format.d.ts +31 -0
- package/views/dist/controls/number-editor/format.js +79 -0
- package/views/dist/controls/number-editor/looks.d.ts +14 -0
- package/views/dist/controls/number-editor/looks.js +17 -0
- package/views/dist/controls/number-editor/map-number-body.d.ts +16 -0
- package/views/dist/controls/number-editor/map-number-body.js +57 -0
- package/views/dist/controls/number-editor/number-editor.d.ts +72 -0
- package/views/dist/controls/number-editor/number-editor.js +202 -0
- package/views/dist/controls/number-editor/tokens.d.ts +28 -0
- package/views/dist/controls/number-editor/tokens.js +9 -0
- package/views/dist/controls/number-editor/words.d.ts +23 -0
- package/views/dist/controls/number-editor/words.js +13 -0
- package/views/dist/controls/number-editor.css +37 -0
- package/views/dist/controls/number-field/number-field.js +57 -5
- package/views/dist/controls/pane/looks.d.ts +4 -0
- package/views/dist/controls/pane/looks.js +11 -0
- package/views/dist/controls/pane/pane.d.ts +63 -0
- package/views/dist/controls/pane/pane.js +98 -0
- package/views/dist/controls/pane/state.d.ts +14 -0
- package/views/dist/controls/pane/state.js +7 -0
- package/views/dist/controls/pane/tokens.d.ts +79 -0
- package/views/dist/controls/pane/tokens.js +22 -0
- package/views/dist/controls/pane.css +104 -0
- package/views/dist/controls/picker/rows.d.ts +4 -2
- package/views/dist/controls/picker/rows.js +4 -3
- package/views/dist/controls/radio/radio.d.ts +33 -0
- package/views/dist/controls/radio/radio.js +19 -0
- package/views/dist/controls/radio/tokens.d.ts +127 -0
- package/views/dist/controls/radio/tokens.js +34 -0
- package/views/dist/controls/radio.css +104 -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/text-editor/phone-number.d.ts +4 -0
- package/views/dist/controls/text-editor/phone-number.js +20 -0
- package/views/dist/controls/text-editor/text-editor.js +2 -19
- package/views/dist/controls/toast/toast.d.ts +75 -0
- package/views/dist/controls/toast/toast.js +99 -0
- package/views/dist/controls/toast/tokens.d.ts +100 -0
- package/views/dist/controls/toast/tokens.js +27 -0
- package/views/dist/controls/toast.css +93 -0
- package/views/dist/controls/tokens.js +30 -0
- package/views/dist/controls/values-editor/looks.d.ts +16 -0
- package/views/dist/controls/values-editor/looks.js +19 -0
- package/views/dist/controls/values-editor/map-values-body.d.ts +12 -0
- package/views/dist/controls/values-editor/map-values-body.js +71 -0
- package/views/dist/controls/values-editor/tokens.d.ts +132 -0
- package/views/dist/controls/values-editor/tokens.js +35 -0
- package/views/dist/controls/values-editor/values-editor.d.ts +62 -0
- package/views/dist/controls/values-editor/values-editor.js +441 -0
- package/views/dist/controls/values-editor/values.d.ts +71 -0
- package/views/dist/controls/values-editor/values.js +59 -0
- package/views/dist/controls/values-editor/words.d.ts +50 -0
- package/views/dist/controls/values-editor/words.js +29 -0
- package/views/dist/controls/values-editor.css +207 -0
- package/views/dist/controls/views-list/looks.d.ts +13 -0
- package/views/dist/controls/views-list/looks.js +12 -0
- package/views/dist/controls/views-list/map-views-list-body.d.ts +19 -0
- package/views/dist/controls/views-list/map-views-list-body.js +65 -0
- package/views/dist/controls/views-list/rules.d.ts +72 -0
- package/views/dist/controls/views-list/rules.js +4 -0
- package/views/dist/controls/views-list/tokens.d.ts +11 -0
- package/views/dist/controls/views-list/tokens.js +5 -0
- package/views/dist/controls/views-list/views-list.d.ts +44 -0
- package/views/dist/controls/views-list/views-list.js +57 -0
- package/views/dist/controls/views-list/words.d.ts +22 -0
- package/views/dist/controls/views-list/words.js +3 -0
- package/views/dist/controls/views-list.css +8 -0
- package/views/dist/display/date.js +2 -2
- package/views/dist/display/format.js +10 -2
- package/views/dist/display/options.d.ts +3 -1
- package/views/dist/display/use-display-options.d.ts +3 -0
- package/views/dist/display/use-display-options.js +10 -2
- package/views/dist/display/viewer.d.ts +1 -1
- package/views/dist/display/viewer.js +1 -1
- package/views/dist/editors/DateEditor.js +11 -9
- package/views/dist/editors/NumberEditor.js +3 -1
- 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 +3 -3
- 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/GridDateEditor.d.ts +3 -1
- package/views/dist/grid/chrome/GridDateEditor.js +2 -1
- package/views/dist/grid/chrome/GridFooter.js +2 -2
- package/views/dist/grid/chrome/grid-column-menu-items.js +4 -2
- package/views/dist/grid/chrome/useGridBandFigures.js +2 -2
- package/views/dist/grid/chrome/useGridFittedWidths.d.ts +3 -0
- package/views/dist/grid/chrome/useGridFittedWidths.js +9 -3
- package/views/dist/grid/chrome/useGridKeyboard.d.ts +4 -1
- package/views/dist/grid/chrome/useGridKeyboard.js +5 -2
- package/views/dist/grid/chrome/useGridTableInteractionModel.js +2 -1
- package/views/dist/grid/core/commit-model.d.ts +7 -0
- package/views/dist/grid/core/commit-model.js +5 -1
- package/views/dist/grid/core/editing-controller.js +10 -2
- package/views/dist/grid/core/editing-model.js +3 -7
- package/views/dist/grid/core/undo-owner.d.ts +6 -0
- package/views/dist/grid/core/undo-owner.js +13 -0
- package/views/dist/grid/core/useGridEditing.d.ts +2 -0
- package/views/dist/grid/core/useGridEditing.js +4 -0
- package/views/dist/looks/index.d.ts +8 -0
- package/views/dist/looks/index.js +8 -0
- package/views/dist/looks/pieces.js +16 -0
- package/views/dist/panels/model.d.ts +6 -1
- package/views/dist/panels/react/customize-body.d.ts +4 -2
- package/views/dist/panels/react/customize-body.js +3 -3
- package/views/dist/panels/react/customize.js +4 -2
- package/views/dist/panels/react/filter/FilterEditor.js +2 -2
- package/views/dist/panels/react/filter/PhoneFilterEditor.d.ts +8 -2
- package/views/dist/panels/react/filter/PhoneFilterEditor.js +9 -6
- package/views/dist/panels/react/filter/filter-body.d.ts +8 -5
- package/views/dist/panels/react/filter/filter-body.js +17 -6
- package/views/dist/panels/react/filter/filter-part-body.d.ts +4 -1
- package/views/dist/panels/react/filter/filter-part-body.js +3 -1
- package/views/dist/panels/react/panel-sheet.d.ts +5 -1
- package/views/dist/panels/react/panel-sheet.js +6 -2
- package/views/dist/panels/react/panel-step.d.ts +12 -0
- package/views/dist/panels/react/panel-step.js +26 -0
- package/views/dist/panels/react/sort/SortEditor.d.ts +4 -0
- package/views/dist/panels/react/sort/SortEditor.js +5 -2
- package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +8 -0
- package/views/dist/panels/react/toolbar/ReadyToolbar.js +84 -2
- package/views/dist/panels/react/toolbar/ToolbarBarFilter.js +2 -2
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.d.ts +16 -0
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +49 -0
- package/views/dist/panels/react/toolbar/ToolbarFilterSheet.js +3 -1
- package/views/dist/panels/react/toolbar/ToolbarFilters.d.ts +4 -1
- package/views/dist/panels/react/toolbar/ToolbarFilters.js +36 -21
- package/views/dist/panels/react/toolbar/ToolbarQuickFilters.d.ts +4 -1
- package/views/dist/panels/react/toolbar/ToolbarQuickFilters.js +2 -2
- package/views/dist/panels/react/toolbar/ToolbarSortPill.d.ts +5 -0
- package/views/dist/panels/react/toolbar/ToolbarSortPill.js +15 -6
- package/views/dist/panels/react/toolbar/panel-part.d.ts +5 -1
- package/views/dist/panels/react/toolbar/panel-part.js +2 -2
- package/views/dist/panels/react/toolbar/use-filter-add.d.ts +16 -0
- package/views/dist/panels/react/toolbar/use-filter-add.js +32 -0
- package/views/dist/panels/react.d.ts +1 -0
- package/views/dist/panels/react.js +1 -0
- package/views/dist/panels/settings/filter-groups.js +35 -1
- package/views/dist/panels/settings/group-buckets.js +1 -0
- package/views/dist/provider/ViewsProvider.d.ts +7 -1
- package/views/dist/provider/ViewsProvider.js +23 -3
- package/views/dist/provider/components.d.ts +34 -4
- package/views/dist/provider/moment.d.ts +6 -0
- package/views/dist/provider/moment.js +10 -0
- package/views/dist/styles.css +1276 -51
- package/views/dist/styles.unlayered.css +1277 -51
- package/views/docs/contract.md +23 -15
- package/views/docs/controls/alert-dialog.md +37 -0
- package/views/docs/controls/alert.md +30 -0
- package/views/docs/controls/collapsible.md +22 -0
- package/views/docs/controls/filter-editor.md +28 -0
- package/views/docs/controls/group-editor.md +11 -0
- package/views/docs/controls/links-editor.md +25 -0
- package/views/docs/controls/modal.md +55 -0
- package/views/docs/controls/notice.md +32 -0
- package/views/docs/controls/number-editor.md +12 -0
- package/views/docs/controls/pane.md +25 -0
- package/views/docs/controls/radio.md +39 -0
- package/views/docs/controls/sort-editor.md +27 -0
- package/views/docs/controls/toast.md +32 -0
- package/views/docs/controls/values-editor.md +40 -0
- package/views/docs/controls/views-list.md +8 -0
- package/views/docs/guides/cells.md +1 -1
- package/views/docs/guides/display.md +1 -1
- package/views/docs/guides/the-grid.md +1 -1
- package/views/docs/guides/the-provider.md +19 -0
- package/views/docs/reference/cells.md +2 -2
- package/views/docs/reference/controls.md +326 -8
- package/views/docs/reference/display.md +2 -2
- package/views/docs/reference/editors-relation.md +1 -1
- package/views/docs/reference/looks.md +20 -3
- package/views/docs/reference/panels-react.md +7 -6
- package/views/docs/reference/panels.md +1 -1
- package/views/docs/reference/react.md +8 -8
- package/views/docs/reference/views.md +1 -0
package/views/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! viewkitjs 0.
|
|
1
|
+
/*! viewkitjs 0.28.0 · viewkitjs/views/styles.css: ViewKit's look, its defaults the Outright look */
|
|
2
2
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer base {
|
|
@@ -238,6 +238,7 @@
|
|
|
238
238
|
@property --smooth-hy { syntax: "<number>"; inherits: true; initial-value: 0; }
|
|
239
239
|
@property --smooth-khy { syntax: "<number>"; inherits: true; initial-value: 0; }
|
|
240
240
|
@property --smooth-khx { syntax: "<number>"; inherits: true; initial-value: 0; }
|
|
241
|
+
@property --o-collapsible-h { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
241
242
|
@layer components {
|
|
242
243
|
@layer viewkit {
|
|
243
244
|
@layer properties {
|
|
@@ -352,6 +353,115 @@
|
|
|
352
353
|
--smooth-khx: calc(var(--smooth-k) - var(--smooth-hx));
|
|
353
354
|
}
|
|
354
355
|
|
|
356
|
+
/* ── What's behind it, and where it stands: in the middle of the screen, over everything ─────────────────────────────────────────── */
|
|
357
|
+
.o-alert-backdrop, .o-alert-viewport { position: fixed; inset: 0; z-index: var(--vk-layer-popup); }
|
|
358
|
+
.o-alert-backdrop { background-color: var(--vk-backdrop-alert-medium); transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
359
|
+
.o-alert-backdrop:is([data-starting-style], [data-ending-style]) { opacity: 0; }
|
|
360
|
+
[data-alert-dialog-strength="light"] .o-alert-backdrop { background-color: var(--vk-backdrop-alert-light); }
|
|
361
|
+
[data-alert-dialog-strength="deep"] .o-alert-backdrop { background-color: var(--vk-backdrop-alert-deep); }
|
|
362
|
+
[data-alert-dialog-behind="veil"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil-medium); }
|
|
363
|
+
[data-alert-dialog-behind="veil"][data-alert-dialog-strength="light"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil-light); }
|
|
364
|
+
[data-alert-dialog-behind="veil"][data-alert-dialog-strength="deep"] .o-alert-backdrop { background-color: var(--vk-backdrop-veil); }
|
|
365
|
+
/* How far the page blurs under it, each screen's own. No blur at all at none, since blur(0) still builds a backdrop root. */
|
|
366
|
+
[data-alert-dialog-blur="4"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="4"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-xs)); backdrop-filter: blur(var(--vk-blur-xs)); }
|
|
367
|
+
[data-alert-dialog-blur="8"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="8"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-sm)); backdrop-filter: blur(var(--vk-blur-sm)); }
|
|
368
|
+
[data-alert-dialog-blur="12"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="12"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-md)); backdrop-filter: blur(var(--vk-blur-md)); }
|
|
369
|
+
[data-alert-dialog-blur="24"] .o-alert-backdrop[data-screen="computer"], [data-alert-dialog-blurphone="24"] .o-alert-backdrop[data-screen="phone"] { -webkit-backdrop-filter: blur(var(--vk-blur-lg)); backdrop-filter: blur(var(--vk-blur-lg)); }
|
|
370
|
+
.o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 4); box-sizing: border-box; display: grid; place-items: center; padding: var(--alert-margin); overflow-y: auto; outline: none; }
|
|
371
|
+
[data-alert-dialog-margin="8"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 2); }
|
|
372
|
+
[data-alert-dialog-margin="12"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 3); }
|
|
373
|
+
[data-alert-dialog-margin="24"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 6); }
|
|
374
|
+
[data-alert-dialog-margin="32"] .o-alert-viewport { --alert-margin: calc(var(--vk-spacing) * 8); }
|
|
375
|
+
|
|
376
|
+
/* ── Its panel: on the overlay's ground, one width on a computer, the phone's width less its margins ─────────────────────────────── */
|
|
377
|
+
.o-alert-dialog {
|
|
378
|
+
--alert-corners: var(--vk-radius-2xl); --alert-padding: calc(var(--vk-spacing) * 6);
|
|
379
|
+
box-sizing: border-box; width: 100%; max-width: var(--vk-container-sm); min-width: 0; border: var(--vk-border-width) solid var(--vk-border-subtle); border-radius: var(--alert-corners);
|
|
380
|
+
background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); color: var(--vk-fg); outline: none;
|
|
381
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out);
|
|
382
|
+
}
|
|
383
|
+
.o-alert-dialog[data-screen="phone"] { max-width: none; }
|
|
384
|
+
/* Its shadow, each screen's own. */
|
|
385
|
+
[data-alert-dialog-shadow="none"] .o-alert-dialog[data-screen="computer"], [data-alert-dialog-shadowphone="none"] .o-alert-dialog[data-screen="phone"] { box-shadow: none; }
|
|
386
|
+
[data-alert-dialog-shadow="lg"] .o-alert-dialog[data-screen="computer"], [data-alert-dialog-shadowphone="lg"] .o-alert-dialog[data-screen="phone"] { box-shadow: var(--vk-shadow-lg); }
|
|
387
|
+
[data-alert-dialog-shadow="xl"] .o-alert-dialog[data-screen="computer"], [data-alert-dialog-shadowphone="xl"] .o-alert-dialog[data-screen="phone"] { box-shadow: var(--vk-shadow-xl); }
|
|
388
|
+
.o-alert-dialog:is([data-starting-style], [data-ending-style]) { opacity: 0; scale: var(--vk-push-scale); }
|
|
389
|
+
.o-alert-dialog[data-ending-style] { transition-duration: var(--vk-duration-fast); transition-timing-function: var(--vk-ease-in); }
|
|
390
|
+
[data-alert-dialog-corners="lg"] .o-alert-dialog { --alert-corners: var(--vk-radius-lg); }
|
|
391
|
+
[data-alert-dialog-corners="xl"] .o-alert-dialog { --alert-corners: var(--vk-radius-xl); }
|
|
392
|
+
[data-alert-dialog-corners="3xl"] .o-alert-dialog { --alert-corners: var(--vk-radius-3xl); }
|
|
393
|
+
.o-alert-cut { border-radius: inherit; background-color: inherit; }
|
|
394
|
+
|
|
395
|
+
/* ── How far the Alert's words stand from its panel's edge, which the Alert reads (alert.css) ─────────────────────────────────────── */
|
|
396
|
+
[data-alert-dialog-padding="16"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 4); }
|
|
397
|
+
[data-alert-dialog-padding="20"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 5); }
|
|
398
|
+
[data-alert-dialog-padding="28"] .o-alert-dialog { --alert-padding: calc(var(--vk-spacing) * 7); }
|
|
399
|
+
|
|
400
|
+
/* ── The X, in its corner, on the phone only, beside the Alert in its panel or its Sheet: Glass when the phone header is Glass, or a
|
|
401
|
+
quiet Button ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
402
|
+
.o-alert-held { position: relative; min-width: 0; }
|
|
403
|
+
.o-alert-x { display: none; }
|
|
404
|
+
[data-alert-dialog-close="shown"] .o-alert-x { position: absolute; top: calc(var(--vk-spacing) * 3); right: calc(var(--vk-spacing) * 3); display: grid; }
|
|
405
|
+
[data-alert-dialog-close="shown"] .o-alert-held[data-shell="sheet"] .o-alert-x { top: 0; right: 0; }
|
|
406
|
+
[data-alert-dialog-close="shown"] .o-alert-held[data-screen="phone"] .o-alert-title { padding-right: calc(var(--vk-spacing) * 11); }
|
|
407
|
+
.o-alert-x .o-alert-x-glass { display: none; }
|
|
408
|
+
/* Glass unless the phone's surface is Flat, as ViewKit's phone header and Sheet are where nothing is picked. */
|
|
409
|
+
.o-alert-held[data-screen="phone"]:not([data-phone-header-surface="flat"] *) .o-alert-x .o-alert-x-glass { display: grid; }
|
|
410
|
+
.o-alert-held[data-screen="phone"]:not([data-phone-header-surface="flat"] *) .o-alert-x .o-alert-x-plain { display: none; }
|
|
411
|
+
|
|
412
|
+
/* ── Its corners smooth, the default (what nothing set draws), unless a frame picks Round: the smooth outline (smooth.css), Apple's curve as measured, so every browser that knows shape() shows it; one that doesn't
|
|
413
|
+
keeps the corners above. The panel keeps its shadow, which a cut would take with it, so .o-alert-cut inside it is cut instead ───── */
|
|
414
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
415
|
+
.o-alert-dialog:not([data-alert-dialog-smoothing="round"] *) { border-color: transparent; background-color: transparent; background-clip: padding-box; }
|
|
416
|
+
.o-alert-cut:not([data-alert-dialog-smoothing="round"] *) {
|
|
417
|
+
--alert-c: var(--alert-corners);
|
|
418
|
+
background-color: var(--vk-overlay);
|
|
419
|
+
--smooth-t: var(--alert-c); clip-path: shape(var(--smooth-outline));
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/* Less motion: a fade, no scale. */
|
|
424
|
+
@media (prefers-reduced-motion: reduce) {
|
|
425
|
+
.o-alert-dialog { transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
426
|
+
.o-alert-dialog:is([data-starting-style], [data-ending-style]) { scale: 1; }
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/* ── What it says ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
430
|
+
.o-alert-body { position: relative; display: grid; min-width: 0; color: var(--vk-fg); }
|
|
431
|
+
.o-alert-body[data-shell="panel"] { padding: var(--alert-padding, calc(var(--vk-spacing) * 6)); }
|
|
432
|
+
.o-alert-body[data-shell="sheet"] { padding: calc(var(--vk-spacing) * 2); }
|
|
433
|
+
.o-alert-title { margin: 0; font-size: var(--vk-font-size-lg); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); font-weight: var(--vk-font-weight-semibold); text-wrap: balance; overflow-wrap: anywhere; }
|
|
434
|
+
.o-alert-line { margin: calc(var(--vk-spacing) * 1) 0 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); color: var(--vk-fg-subtle); text-wrap: pretty; }
|
|
435
|
+
.o-alert-line.o-alert-wrong { color: var(--vk-danger); }
|
|
436
|
+
.o-alert-body[data-screen="phone"] .o-alert-line { font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
437
|
+
|
|
438
|
+
/* ── Its buttons: at the end on a computer unless they fill its foot, as they always do on the phone. A foot that fills stands 12 from a
|
|
439
|
+
panel's edge, so a 24 corner and a 12 button nest, and the way out stands on the overlay's card ────────────────────────────────── */
|
|
440
|
+
.o-alert-foot { display: flex; justify-content: flex-end; gap: calc(var(--vk-spacing) * 2); margin-top: calc(var(--vk-spacing) * 5); }
|
|
441
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
442
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-foot > .o-button { width: 100%; padding-inline: 0; }
|
|
443
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"])[data-shell="panel"] { padding-bottom: calc(var(--vk-spacing) * 3); }
|
|
444
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"])[data-shell="panel"] .o-alert-foot { margin-inline: calc(var(--vk-spacing) * 3 - var(--alert-padding, calc(var(--vk-spacing) * 6))); }
|
|
445
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-cancel:not(:disabled) { border-color: transparent; background-color: var(--vk-overlay-card); }
|
|
446
|
+
/* A hover only on a screen with a pointer (iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
|
|
447
|
+
:is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-cancel:active:not(:disabled) { border-color: transparent; background-color: var(--vk-overlay-card-pressed); }
|
|
448
|
+
@media (hover: hover) { :is([data-alert-buttons="full"] .o-alert-body, .o-alert-body[data-screen="phone"]) .o-alert-cancel:hover:not(:disabled) { border-color: transparent; background-color: var(--vk-overlay-card-pressed); } }
|
|
449
|
+
[data-alert-size="32"] .o-alert-body[data-screen="computer"] .o-alert-foot > .o-button { height: calc(var(--vk-spacing) * 8); --button-side: calc(var(--vk-spacing) * 8); padding-inline: calc(var(--vk-spacing) * 3); }
|
|
450
|
+
[data-alert-size="44"] .o-alert-body[data-screen="computer"] .o-alert-foot > .o-button { height: calc(var(--vk-spacing) * 11); --button-side: calc(var(--vk-spacing) * 11); padding-inline: calc(var(--vk-spacing) * 5); font-size: var(--vk-font-size-base); }
|
|
451
|
+
[data-alert-pair="stacked"] .o-alert-body[data-screen="phone"] .o-alert-foot { grid-template-columns: minmax(0, 1fr); }
|
|
452
|
+
[data-alert-pair="stacked"] .o-alert-body[data-screen="phone"] .o-alert-foot > .o-alert-cancel { order: 1; }
|
|
453
|
+
|
|
454
|
+
/* ── Its mark: round, in its action's colour, its words centred under it ─────────────────────────────────────────────────────────── */
|
|
455
|
+
.o-alert-mark { display: none; }
|
|
456
|
+
[data-alert-mark="shown"] .o-alert-mark { display: grid; place-items: center; justify-self: center; width: calc(var(--vk-spacing) * 12); height: calc(var(--vk-spacing) * 12); margin-bottom: calc(var(--vk-spacing) * 3); border-radius: var(--vk-radius-full); background-color: var(--vk-brand-subtler); color: var(--vk-fg-accent); }
|
|
457
|
+
[data-alert-mark="shown"] .o-alert-body[data-screen="phone"] .o-alert-mark { width: calc(var(--vk-spacing) * 14); height: calc(var(--vk-spacing) * 14); margin-bottom: calc(var(--vk-spacing) * 4); }
|
|
458
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="information"] .o-alert-mark { background-color: var(--vk-info-subtler); color: var(--vk-info); }
|
|
459
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="success"] .o-alert-mark { background-color: var(--vk-success-subtler); color: var(--vk-success); }
|
|
460
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="warning"] .o-alert-mark { background-color: var(--vk-warning-subtler); color: var(--vk-warning); }
|
|
461
|
+
[data-alert-mark="shown"] .o-alert-body[data-kind="danger"] .o-alert-mark { background-color: var(--vk-danger-subtler); color: var(--vk-danger); }
|
|
462
|
+
.o-alert-mark > svg { width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); }
|
|
463
|
+
[data-alert-mark="shown"] :is(.o-alert-title, .o-alert-line) { text-align: center; }
|
|
464
|
+
|
|
355
465
|
/* ── A person: a circle of their initials on their tone, 32px ──────────────────────────────────────── */
|
|
356
466
|
.o-avatar {
|
|
357
467
|
flex: none; display: inline-grid; place-items: center; box-sizing: border-box; overflow: hidden;
|
|
@@ -1129,6 +1239,78 @@
|
|
|
1129
1239
|
|
|
1130
1240
|
@media (prefers-reduced-motion: reduce) { .o-check-box, .o-check-tick, .o-check-row, .o-check-cut::before, .o-check-cut::after { transition: none; } }
|
|
1131
1241
|
|
|
1242
|
+
/* ── The curve everything of it moves on: ease-out, or under Curve › Sharp ease-out-sharp ──────────── */
|
|
1243
|
+
[data-collapsible-curve="sharp"] :is(.o-collapsible-trigger, .o-collapsible-panel) { --o-collapsible-ease: var(--vk-ease-out-sharp); }
|
|
1244
|
+
|
|
1245
|
+
/* ── The trigger, plain (its look belongs to the place it stands in, and none wears a ground under the pointer): a chevron
|
|
1246
|
+
before its name, text-sm at medium weight, 32 high, 44 on a phone, where a row you press is a 44px target. Under the pointer its chevron takes the text's colour; its focus
|
|
1247
|
+
ringed. The chevron turns down while the part is open, on the part's curve and in a short part's own times:
|
|
1248
|
+
duration-base opening, duration-fast closing ────────────────────────────────────────────────────────────────── */
|
|
1249
|
+
.o-collapsible-trigger {
|
|
1250
|
+
--collapsible-trigger-h: calc(var(--vk-spacing) * 8);
|
|
1251
|
+
display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); box-sizing: border-box;
|
|
1252
|
+
min-height: var(--collapsible-trigger-h); margin: 0; padding: 0;
|
|
1253
|
+
border: 0; border-radius: var(--vk-radius-sm); background-color: transparent;
|
|
1254
|
+
color: var(--vk-fg); font: inherit; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm));
|
|
1255
|
+
font-weight: var(--vk-font-weight-medium); text-align: left; cursor: pointer; outline: none; user-select: none;
|
|
1256
|
+
-webkit-tap-highlight-color: transparent;
|
|
1257
|
+
}
|
|
1258
|
+
.o-collapsible-trigger:where([data-vk-phone], [data-vk-phone] *) { --collapsible-trigger-h: calc(var(--vk-spacing) * 11); }
|
|
1259
|
+
.o-collapsible-trigger:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
1260
|
+
.o-collapsible-trigger[data-disabled] { color: var(--vk-fg-disabled); cursor: not-allowed; }
|
|
1261
|
+
.o-collapsible-chevron {
|
|
1262
|
+
flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4);
|
|
1263
|
+
fill: none; stroke: var(--vk-fg-subtle); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
|
|
1264
|
+
transition: rotate var(--vk-duration-fast) var(--o-collapsible-ease, var(--vk-ease-out)), stroke var(--vk-duration-fast) var(--vk-ease-out);
|
|
1265
|
+
}
|
|
1266
|
+
.o-collapsible-trigger[data-panel-open] .o-collapsible-chevron { rotate: 90deg; transition-duration: var(--vk-duration-base), var(--vk-duration-fast); }
|
|
1267
|
+
/* A hover only on a screen with a pointer. */
|
|
1268
|
+
@media (hover: hover) { .o-collapsible-trigger:not([data-disabled]):hover .o-collapsible-chevron { stroke: var(--vk-fg); } }
|
|
1269
|
+
.o-collapsible-trigger[data-disabled] .o-collapsible-chevron { stroke: var(--vk-fg-disabled); }
|
|
1270
|
+
|
|
1271
|
+
/* ── The part: the box that crops it while its height moves, from nothing to what it holds. It crops without
|
|
1272
|
+
scrolling (clip, never hidden), so what sticks inside it, a grid's frozen columns, still
|
|
1273
|
+
sticks to the scroller beyond it. Both ways it eases out: it answers the press at once and settles, as
|
|
1274
|
+
shadcn's and Base UI's own do. Its time follows its height, between the motion names: opening from duration-base
|
|
1275
|
+
to duration-slow, closing from duration-fast to duration-base, the longest reached at 600px tall (spacing × 150),
|
|
1276
|
+
so a short part moves as it always did and a tall one no longer snaps. The height is Base UI's, read as a length
|
|
1277
|
+
(--o-collapsible-h, registered at the file's end: at rest Base UI says auto, which reads as none); how far along
|
|
1278
|
+
that 600px it stands is --o-collapsible-part, 0 to 1. A browser that can't divide one length by another keeps the
|
|
1279
|
+
two plain times. An app's own time (durationMs) sets --o-collapsible-time for both ──────────────────────────── */
|
|
1280
|
+
.o-collapsible-panel {
|
|
1281
|
+
--o-collapsible-open: var(--vk-duration-base); --o-collapsible-close: var(--vk-duration-fast);
|
|
1282
|
+
box-sizing: border-box; overflow: clip; height: var(--collapsible-panel-height);
|
|
1283
|
+
transition: height var(--o-collapsible-time, var(--o-collapsible-open)) var(--o-collapsible-ease, var(--vk-ease-out));
|
|
1284
|
+
}
|
|
1285
|
+
@supports (width: calc(tan(atan2(1px, 1px)) * 1px)) {
|
|
1286
|
+
.o-collapsible-panel {
|
|
1287
|
+
--o-collapsible-h: var(--collapsible-panel-height);
|
|
1288
|
+
--o-collapsible-part: min(1, tan(atan2(var(--o-collapsible-h), calc(var(--vk-spacing) * 150))));
|
|
1289
|
+
--o-collapsible-open: calc(var(--vk-duration-base) + (var(--vk-duration-slow) - var(--vk-duration-base)) * var(--o-collapsible-part));
|
|
1290
|
+
--o-collapsible-close: calc(var(--vk-duration-fast) + (var(--vk-duration-base) - var(--vk-duration-fast)) * var(--o-collapsible-part));
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
.o-collapsible-panel[data-ending-style] { transition-duration: var(--o-collapsible-time, var(--o-collapsible-close)); }
|
|
1294
|
+
.o-collapsible-panel:is([data-starting-style], [data-ending-style]) { height: 0; }
|
|
1295
|
+
|
|
1296
|
+
/* ── Content: how what it holds comes and goes. Fades, the default (what nothing set draws), unless a frame picks Stands still, which draws nothing here (the box
|
|
1297
|
+
crops it as it moves), or Slides out. Fades: it comes in with the height, in the height's own time and on its curve, and goes in
|
|
1298
|
+
half the closing time, so the moving edge passes over nothing and never cuts a line of text. Slides out: it is
|
|
1299
|
+
anchored to the part's lower edge, so it comes out from under its trigger and goes back under it. The part's
|
|
1300
|
+
times reach what it holds as the variables above, which it inherits ─────────────────────────────────────────── */
|
|
1301
|
+
.o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { transition: opacity var(--o-collapsible-time, var(--o-collapsible-open)) var(--o-collapsible-ease, var(--vk-ease-out)); }
|
|
1302
|
+
.o-collapsible-panel[data-ending-style] > .o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { transition-duration: calc(var(--o-collapsible-time, var(--o-collapsible-close)) * 0.5); }
|
|
1303
|
+
.o-collapsible-panel:is([data-starting-style], [data-ending-style]) > .o-collapsible-body:not([data-collapsible-content="still"] *, [data-collapsible-content="slide"] *) { opacity: 0; }
|
|
1304
|
+
[data-collapsible-content="slide"] .o-collapsible-panel:not([hidden]) { display: flex; flex-direction: column; justify-content: flex-end; }
|
|
1305
|
+
[data-collapsible-content="slide"] .o-collapsible-body { flex: none; }
|
|
1306
|
+
|
|
1307
|
+
/* Under reduced motion it opens and closes at once, whatever time an app gave it, and what it holds with it, framed or not: the
|
|
1308
|
+
fade is the default with no frame, so these match every body, at the fade rules' own weight, later. */
|
|
1309
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1310
|
+
.o-collapsible-panel, .o-collapsible-panel[data-ending-style], .o-collapsible-chevron, .o-collapsible-trigger[data-panel-open] .o-collapsible-chevron,
|
|
1311
|
+
:root .o-collapsible-body, :root .o-collapsible-panel[data-ending-style] > .o-collapsible-body { transition: none; }
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1132
1314
|
.o-compound-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1133
1315
|
.o-compound-editor:focus { outline: none; }
|
|
1134
1316
|
/* Its glyphs 16 square, as built, at their old weight; the own marks inside it (the Select's chevron, the Number field's
|
|
@@ -1461,6 +1643,114 @@ button.o-field-row { cursor: pointer; }
|
|
|
1461
1643
|
background-position: calc(var(--vk-spacing) * 4) 0; background-repeat: no-repeat; box-shadow: var(--field-rows-line-shadow, none);
|
|
1462
1644
|
}
|
|
1463
1645
|
.o-field-row-label { display: var(--field-rows-label, block); flex: none; width: calc(var(--vk-spacing) * 26); color: var(--vk-fg-subtle); }
|
|
1646
|
+
|
|
1647
|
+
.o-filter-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1648
|
+
.o-filter-editor:focus { outline: none; }
|
|
1649
|
+
.o-filter-editor-rules { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1650
|
+
.o-filter-editor-item { display: flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1651
|
+
.o-filter-editor-where, .o-filter-editor-joined {
|
|
1652
|
+
display: inline-flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box;
|
|
1653
|
+
height: calc(var(--vk-spacing) * 8); color: var(--vk-fg-subtle); white-space: nowrap;
|
|
1654
|
+
}
|
|
1655
|
+
.o-filter-editor-where { border: var(--vk-border-width) dashed var(--vk-border-input); border-radius: var(--vk-radius-lg); }
|
|
1656
|
+
.o-filter-editor-join { flex: none; }
|
|
1657
|
+
.o-filter-editor-rule { display: flex; flex: 1; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1658
|
+
.o-filter-editor-boxes { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1659
|
+
.o-filter-editor-field, .o-filter-editor-how, .o-filter-editor-value { position: relative; flex: none; min-width: 0; }
|
|
1660
|
+
.o-filter-editor-field > .o-select, .o-filter-editor-how > .o-select, .o-filter-editor-value > .o-select, .o-filter-editor-date > .o-select { width: 100%; }
|
|
1661
|
+
.o-filter-editor-date { width: 100%; }
|
|
1662
|
+
/* Several chosen stay on the box's one line, the last cut at its end, as a cell's are. */
|
|
1663
|
+
.o-filter-editor-value .o-options { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
|
|
1664
|
+
.o-filter-editor-more { flex: none; margin-left: auto; }
|
|
1665
|
+
/* A range's From and To (Mihai, 22 Nov 2026): two Number fields sharing the value's box, an en dash between, as ViewKit draws them. */
|
|
1666
|
+
.o-filter-editor-pair { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1667
|
+
.o-filter-editor-pair > [data-kit="number-field"] { flex: 1 1 0; min-width: 0; }
|
|
1668
|
+
.o-filter-editor-dash { flex: none; color: var(--vk-fg-subtle); }
|
|
1669
|
+
/* A sample field's mark the page's own samples draw (samples.ts), as the sort editor's samples draw theirs. */
|
|
1670
|
+
.o-filter-editor-mark { display: inline-flex; flex: none; align-items: center; color: var(--vk-fg-subtle); }
|
|
1671
|
+
.o-filter-editor-mark svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
1672
|
+
/* A group, in every form: a faint well, Attio's (Mihai's pick, 20 Nov 2026; KIT-818): the sunken ground, a hairline edge at
|
|
1673
|
+
radius-xl; inside it the fields on the panel's own ground, as they stand outside it, and Delete group the quiet Button as it is.
|
|
1674
|
+
Each form gives it only its padding. */
|
|
1675
|
+
.o-filter-editor-group {
|
|
1676
|
+
display: flex; flex: 1; flex-direction: column; gap: calc(var(--vk-spacing) * 2); min-width: 0;
|
|
1677
|
+
border: var(--vk-border-width) solid var(--vk-border); border-radius: var(--vk-radius-xl); background-color: var(--vk-sunken);
|
|
1678
|
+
}
|
|
1679
|
+
/* A field's own ground is none at rest, so the ground behind it shows: in a group the panel's is painted under it, its own over
|
|
1680
|
+
that, so a filled field, its hover and its focus keep theirs. A field inside a field (a group's own Input) is left to its group.
|
|
1681
|
+
No token is re-pointed here: no component declares one. */
|
|
1682
|
+
.o-filter-editor-group .o-input:not(.o-input *) {
|
|
1683
|
+
background-image: linear-gradient(var(--input-ground), var(--input-ground)); background-color: var(--vk-overlay);
|
|
1684
|
+
}
|
|
1685
|
+
.o-filter-editor-foot { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); }
|
|
1686
|
+
.o-filter-editor-clear, .o-filter-editor-delete { margin-left: auto; }
|
|
1687
|
+
|
|
1688
|
+
/* ── On a computer: the rules in their columns, a group its well, then the foot ─────────────────────────────────────── */
|
|
1689
|
+
/* One width, 688, Attio's panel's, whatever its rows hold: only its boxes follow what they hold, and room is left before ⋮ (Mihai, 17 Nov 2026). */
|
|
1690
|
+
.o-filter-editor[data-filter-form="computer"] { width: calc(var(--vk-spacing) * 172); max-width: 100%; gap: calc(var(--vk-spacing) * 3); }
|
|
1691
|
+
.o-filter-editor[data-filter-form="computer"][data-filter-fields] { width: auto; }
|
|
1692
|
+
[data-filter-form="computer"] .o-filter-editor-where, [data-filter-form="computer"] .o-filter-editor-joined,
|
|
1693
|
+
[data-filter-form="computer"] .o-filter-editor-join { width: calc(var(--vk-spacing) * 18); }
|
|
1694
|
+
/* Each box as wide as what it holds (Attio's; Mihai, 17 Nov 2026): a Select's its mark, words and arrow, never past 240, a longer
|
|
1695
|
+
name then ending in "…" (the Select's own words cut); a typed value 208, a date's 160. Where the Popover is narrower than the
|
|
1696
|
+
editor the field's and the value's give way, to 80 at least; how it compares, a few words, keeps its own. */
|
|
1697
|
+
[data-filter-form="computer"] .o-filter-editor-boxes { flex: 1 1 auto; }
|
|
1698
|
+
[data-filter-form="computer"] :is(.o-filter-editor-field, .o-filter-editor-value) { flex: 0 1 auto; min-width: calc(var(--vk-spacing) * 20); }
|
|
1699
|
+
[data-filter-form="computer"] :is(.o-filter-editor-field, .o-filter-editor-how, .o-filter-editor-value) { max-width: calc(var(--vk-spacing) * 60); }
|
|
1700
|
+
[data-filter-form="computer"] .o-filter-editor-value:is([data-value-box="typed"], [data-value-box="pair"]) { width: calc(var(--vk-spacing) * 52); }
|
|
1701
|
+
[data-filter-form="computer"] .o-filter-editor-value[data-value-box="date"] { width: calc(var(--vk-spacing) * 40); }
|
|
1702
|
+
[data-filter-form="computer"] .o-filter-editor-group { padding: calc(var(--vk-spacing) * 2.5); }
|
|
1703
|
+
[data-filter-form="computer"] .o-filter-editor-group > .o-filter-editor-foot { padding-top: var(--vk-spacing); }
|
|
1704
|
+
|
|
1705
|
+
/* A list a page shows standing open: under its box, over the rules, as wide as the Select's list asked for its rows (select.css). */
|
|
1706
|
+
.o-filter-editor .o-filter-editor-shown[data-filter-shown] {
|
|
1707
|
+
position: absolute; z-index: var(--vk-layer-popup); top: calc(100% + var(--vk-spacing)); left: 0; display: flex; flex-direction: column;
|
|
1708
|
+
width: max-content; min-width: max(100%, calc(var(--vk-spacing) * 48)); max-width: calc(var(--vk-spacing) * 72);
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/* ── On a phone, and in the narrow form: each rule its lead over its boxes, a line between rules; a group its well ─────── */
|
|
1712
|
+
.o-filter-editor[data-filter-form="phone"] { gap: calc(var(--vk-spacing) * 4); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
1713
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-rules { gap: 0; }
|
|
1714
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-item {
|
|
1715
|
+
flex-direction: column; gap: calc(var(--vk-spacing) * 2.5); padding: calc(var(--vk-spacing) * 3.5) 0;
|
|
1716
|
+
border-bottom: var(--vk-border-width) solid var(--vk-border);
|
|
1717
|
+
}
|
|
1718
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-item:last-child { border-bottom: 0; }
|
|
1719
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-where, .o-filter-editor-joined) { padding: 0 calc(var(--vk-spacing) * 3); font-size: var(--vk-font-size-sm); }
|
|
1720
|
+
/* The join's pressing area, 44 high round its 32, on a phone. */
|
|
1721
|
+
[data-filter-form="phone"] .o-filter-editor-join::before { content: ""; position: absolute; inset: calc(var(--vk-spacing) * -1.5) 0; }
|
|
1722
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-rule { align-items: flex-start; align-self: stretch; }
|
|
1723
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-boxes { flex: 1; flex-wrap: wrap; }
|
|
1724
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-field, .o-filter-editor-how) { max-width: 100%; }
|
|
1725
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) :is(.o-filter-editor-field, .o-filter-editor-how) .o-select-field { width: max-content; max-width: 100%; }
|
|
1726
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-value { flex: 1 1 100%; }
|
|
1727
|
+
:is([data-filter-form="phone"], [data-filter-form="narrow"]) .o-filter-editor-group {
|
|
1728
|
+
align-self: stretch; padding: var(--vk-spacing) calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2);
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
/* The narrow form's own sizes, a computer's: its items 12 apart round their line, a group's room smaller. */
|
|
1732
|
+
.o-filter-editor[data-filter-form="narrow"] { gap: calc(var(--vk-spacing) * 3); }
|
|
1733
|
+
[data-filter-form="narrow"] .o-filter-editor-item { gap: calc(var(--vk-spacing) * 2); padding: calc(var(--vk-spacing) * 3) 0; }
|
|
1734
|
+
[data-filter-form="narrow"] .o-filter-editor-group { padding: var(--vk-spacing) calc(var(--vk-spacing) * 2.5) calc(var(--vk-spacing) * 2); }
|
|
1735
|
+
[data-filter-form="narrow"] .o-filter-editor-none { padding: 0 calc(var(--vk-spacing) * 2); }
|
|
1736
|
+
/* A list a page shows standing open, under its box: never wider than the Pane's column. */
|
|
1737
|
+
.o-filter-editor[data-filter-form="narrow"] .o-filter-editor-shown[data-filter-shown] { min-width: min(100%, calc(var(--vk-spacing) * 48)); max-width: 100%; }
|
|
1738
|
+
[data-filter-form="narrow"] .o-filter-editor-none-line { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); }
|
|
1739
|
+
.o-filter-editor-none { display: grid; gap: calc(var(--vk-spacing) * 0.5); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
1740
|
+
.o-filter-editor-none p { margin: 0; }
|
|
1741
|
+
.o-filter-editor-none-head { font-weight: var(--vk-font-weight-medium); }
|
|
1742
|
+
.o-filter-editor-none-line { color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1743
|
+
.o-filter-editor-acts { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
1744
|
+
.o-filter-editor-acts .o-button { width: 100%; }
|
|
1745
|
+
|
|
1746
|
+
/* ── A rule ViewKit set aside, its field's box dashed in the warning colour (Mihai, 27 Nov 2026, as the sort's set-aside sorts),
|
|
1747
|
+
and a value ViewKit draws: a read-only box as wide as a typed one (VK-720) ─────────────────────────────────────────────── */
|
|
1748
|
+
.o-filter-editor-rule[data-aside] .o-filter-editor-field .o-select-field { --input-edge: var(--vk-border-warning); border-style: dashed; color: var(--vk-warning); }
|
|
1749
|
+
.o-filter-editor-rule[data-aside] .o-filter-editor-field .o-select-placeholder { color: var(--vk-warning); }
|
|
1750
|
+
.o-filter-editor-own { width: 100%; }
|
|
1751
|
+
.o-filter-editor-why { display: flex; width: 100%; }
|
|
1752
|
+
.o-filter-editor-why > .o-select { width: 100%; }
|
|
1753
|
+
[data-filter-form="computer"] .o-filter-editor-value[data-value-box="own"] { width: calc(var(--vk-spacing) * 52); }
|
|
1464
1754
|
.o-flag {
|
|
1465
1755
|
position: relative; flex: none; display: inline-block; overflow: hidden; vertical-align: middle;
|
|
1466
1756
|
width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 3.5); border-radius: var(--vk-radius-xs); background-color: var(--vk-neutral);
|
|
@@ -1570,6 +1860,19 @@ button.o-field-row { cursor: pointer; }
|
|
|
1570
1860
|
> .o-glass-button.o-glass-button-sm.o-glass-button-primary:not(:disabled, [data-disabled]) { padding: calc(var(--vk-spacing) * 0.75); }
|
|
1571
1861
|
}
|
|
1572
1862
|
|
|
1863
|
+
/* ── What it holds, one under another ── */
|
|
1864
|
+
.o-group-editor, .o-group-editor-step { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 1); min-width: 0; }
|
|
1865
|
+
.o-group-editor[data-group-form="phone"], .o-group-editor[data-group-form="phone"] .o-group-editor-step { gap: calc(var(--vk-spacing) * 3); }
|
|
1866
|
+
|
|
1867
|
+
/* ── The groups' heading, Hide all at its end ── */
|
|
1868
|
+
.o-group-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--vk-spacing) * 2); margin-top: calc(var(--vk-spacing) * 1); padding-right: calc(var(--vk-spacing) * 2); }
|
|
1869
|
+
.o-group-editor-heading > .o-list-heading { flex: 1; min-width: 0; }
|
|
1870
|
+
[data-group-form="phone"] .o-group-editor-heading { margin-top: calc(var(--vk-spacing) * 2); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
1871
|
+
[data-group-form="phone"] .o-group-editor-heading > .o-list-heading { padding: 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1872
|
+
|
|
1873
|
+
/* ── Group by's fields, the Picker standing in its place ── */
|
|
1874
|
+
.o-group-editor-fields { display: flex; flex-direction: column; min-width: 0; }
|
|
1875
|
+
|
|
1573
1876
|
/* ── Its options, from the nearest frame: its edge, its corners, its ground ───────────────────────────────────────────── */
|
|
1574
1877
|
[data-inline-input-edge="line"] { --inline-input-edge: var(--vk-border-width); --inline-input-ring: 0px; }
|
|
1575
1878
|
[data-inline-input-edge="ring"] { --inline-input-edge: 0px; --inline-input-ring: var(--vk-focus-width); }
|
|
@@ -2006,6 +2309,123 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2006
2309
|
.o-keys { display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 0.75); font: inherit; }
|
|
2007
2310
|
.o-keys-then { margin: 0 calc(var(--vk-spacing) * 1); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); }
|
|
2008
2311
|
|
|
2312
|
+
.o-links-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)); }
|
|
2313
|
+
.o-links-editor:focus { outline: none; }
|
|
2314
|
+
|
|
2315
|
+
/* ── The search: the shared line across the popup's top, 6 above and below, 4 over the list ─ */
|
|
2316
|
+
.o-links-editor-search { --popup-line-pad-block: calc(var(--vk-spacing) * 1.5); --popup-line-under: var(--vk-spacing); }
|
|
2317
|
+
.o-links-editor-search > svg { flex: none; width: calc(var(--vk-spacing) * 3.75); height: calc(var(--vk-spacing) * 3.75); }
|
|
2318
|
+
.o-input-control.o-links-editor-input { flex: 1; min-width: calc(var(--vk-spacing) * 16); font-size: var(--vk-font-size-sm); }
|
|
2319
|
+
|
|
2320
|
+
/* ── The one list: 10½ rows at most, scrolling as one ─ */
|
|
2321
|
+
/* It scrolls with no bar at all (Mihai, 18 Nov 2026): the browser's own, which macOS draws taking room with a mouse plugged in, hidden. */
|
|
2322
|
+
.o-links-editor-list { display: flex; flex-direction: column; min-height: 0; max-height: calc(10.5 * var(--vk-spacing) * 8); overflow-y: auto; overscroll-behavior: contain; outline: none; scrollbar-width: none; }
|
|
2323
|
+
.o-links-editor-list::-webkit-scrollbar { display: none; }
|
|
2324
|
+
/* A field's list, the Picker in its own Popover: its rows scroll with no bar too, as the editor's list does. */
|
|
2325
|
+
.o-links-editor-pop .o-picker-rows, .o-links-editor-shown .o-picker-rows { scrollbar-width: none; }
|
|
2326
|
+
.o-links-editor-pop .o-picker-rows::-webkit-scrollbar, .o-links-editor-shown .o-picker-rows::-webkit-scrollbar { display: none; }
|
|
2327
|
+
.o-links-editor-list > *, .o-links-editor-adds > * { flex: none; }
|
|
2328
|
+
.o-links-editor-list[data-head] { scroll-padding-top: calc(var(--vk-spacing) * 7); }
|
|
2329
|
+
.o-links-editor-adds { display: flex; flex-direction: column; }
|
|
2330
|
+
|
|
2331
|
+
/* The columns' names and a linked record's row: the same columns, 12 apart. */
|
|
2332
|
+
.o-links-editor-head, .o-links-editor-row { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 3); box-sizing: border-box; min-width: 0; padding: 0 calc(var(--vk-spacing) * 1) 0 calc(var(--vk-spacing) * 2); }
|
|
2333
|
+
.o-links-editor-head {
|
|
2334
|
+
position: sticky; top: 0; z-index: 1; min-height: calc(var(--vk-spacing) * 7);
|
|
2335
|
+
background-color: var(--vk-overlay); color: var(--vk-fg-subtlest); font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs));
|
|
2336
|
+
}
|
|
2337
|
+
.o-links-editor-row { min-height: calc(var(--vk-spacing) * 8); }
|
|
2338
|
+
.o-radio-group.o-links-editor-rows, .o-links-editor-rows { display: flex; flex-direction: column; gap: 0; }
|
|
2339
|
+
.o-links-editor-who { flex: 1 1 0; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: calc(var(--vk-spacing) * 38); }
|
|
2340
|
+
.o-links-editor-who > .o-avatar { flex: none; }
|
|
2341
|
+
.o-links-editor-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2342
|
+
.o-links-editor-cell { flex: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2343
|
+
.o-links-editor-row > .o-links-editor-cell { color: var(--vk-fg-subtle); }
|
|
2344
|
+
.o-links-editor-cell[data-kind="several"] { width: calc(var(--vk-spacing) * 48); }
|
|
2345
|
+
.o-links-editor-cell:is([data-kind="one"], [data-kind="yes-no"]) { width: calc(var(--vk-spacing) * 10); }
|
|
2346
|
+
/* With one field its column holds its short button, 192 whatever its kind. */
|
|
2347
|
+
.o-links-editor[data-links-fields="one"] .o-links-editor-cell { width: calc(var(--vk-spacing) * 48); }
|
|
2348
|
+
.o-links-editor-lead { flex: none; display: flex; justify-content: center; width: calc(var(--vk-spacing) * 8); }
|
|
2349
|
+
.o-links-editor-head > .o-links-editor-lead { display: block; text-align: center; }
|
|
2350
|
+
.o-links-editor-lead .o-radio-ring { margin-top: 0; }
|
|
2351
|
+
.o-links-editor-end { flex: none; display: flex; justify-content: center; width: calc(var(--vk-spacing) * 6); }
|
|
2352
|
+
|
|
2353
|
+
/* One field: a short quiet button, as wide as its words and its chevron, its words where the column's name starts; none, the
|
|
2354
|
+
field's name in the faintest words; its chevron turns while its list is open. */
|
|
2355
|
+
.o-links-editor-cell:has(> .o-links-editor-short) { overflow: visible; }
|
|
2356
|
+
.o-links-editor-short.o-button { max-width: calc(100% + var(--vk-spacing) * 2); margin-left: calc(var(--vk-spacing) * -2); font-weight: var(--vk-font-weight-normal); color: var(--vk-fg-subtle); }
|
|
2357
|
+
.o-links-editor-short > [data-slot="vk-button-label"] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2358
|
+
.o-links-editor-short[data-none] { color: var(--vk-fg-subtlest); }
|
|
2359
|
+
.o-links-editor-short > [data-slot="vk-button-icon"] { color: var(--vk-fg-subtlest); transition: rotate var(--vk-duration-fast) var(--vk-ease-out); }
|
|
2360
|
+
.o-links-editor-short:is([data-popup-open], [aria-expanded="true"]) > [data-slot="vk-button-icon"] { rotate: 180deg; }
|
|
2361
|
+
|
|
2362
|
+
/* The records to add: the list's rows, the face before the name. */
|
|
2363
|
+
.o-links-editor-add > .o-avatar { flex: none; }
|
|
2364
|
+
.o-links-editor-add { cursor: pointer; }
|
|
2365
|
+
/* Everything linked, or nothing found: what it says, quiet, in the list's middle. */
|
|
2366
|
+
.o-links-editor-message { padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2); color: var(--vk-fg-subtle); text-align: center; }
|
|
2367
|
+
|
|
2368
|
+
/* A list a page shows standing open: under its button, over the rows, as the Popover would stand it, as wide as its rows. */
|
|
2369
|
+
.o-links-editor .o-links-editor-shown { position: absolute; z-index: var(--vk-layer-popup); width: max-content; min-width: calc(var(--vk-spacing) * 48); max-width: calc(var(--vk-spacing) * 72); }
|
|
2370
|
+
|
|
2371
|
+
/* ── A link's fields, a step inside the popup ─ */
|
|
2372
|
+
.o-links-editor-step-head { --popup-line-under: var(--vk-spacing); --popup-line-pad: calc(var(--vk-spacing) * 2); }
|
|
2373
|
+
.o-links-editor-step-head > .o-avatar { flex: none; }
|
|
2374
|
+
.o-links-editor-step-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--vk-font-weight-medium); }
|
|
2375
|
+
.o-links-editor-fields { display: grid; gap: calc(var(--vk-spacing) * 2); padding: calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 2) 0; }
|
|
2376
|
+
.o-links-editor-field { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 3); min-width: 0; min-height: calc(var(--vk-spacing) * 8); }
|
|
2377
|
+
.o-links-editor-field-label { flex: none; width: calc(var(--vk-spacing) * 16); color: var(--vk-fg-subtle); }
|
|
2378
|
+
.o-links-editor-field-control { flex: 1; display: flex; min-width: 0; }
|
|
2379
|
+
.o-links-editor-field-control[data-kind="one"] { flex: none; width: calc(var(--vk-spacing) * 28); }
|
|
2380
|
+
.o-links-editor-field-control > .o-select { width: 100%; }
|
|
2381
|
+
.o-links-editor-step-foot { display: flex; padding: calc(var(--vk-spacing) * 2) 0 0; }
|
|
2382
|
+
|
|
2383
|
+
/* ── On a phone: what the Sheet holds, filling its body: a card per linked record, 12 apart (its head 56, its face 24 and its name,
|
|
2384
|
+
"Lead" on the leading one, ⋯ or the settings button; then its field's row, or what it holds in quiet words); then "Add a
|
|
2385
|
+
company" and the records to add, each its face 40, its name and +; then the search at the foot, over a fade to the ground. Every
|
|
2386
|
+
target 44 at least. ─ */
|
|
2387
|
+
.o-links-editor[data-links-form="phone"] { min-height: var(--links-room, auto); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
2388
|
+
.o-links-editor-cards { display: grid; gap: calc(var(--vk-spacing) * 3); }
|
|
2389
|
+
.o-links-editor-card-head { padding-right: calc(var(--vk-spacing) * 1); }
|
|
2390
|
+
.o-links-editor-card-head > .o-avatar { flex: none; }
|
|
2391
|
+
.o-links-editor-card-name { flex: 1; display: flex; align-items: baseline; gap: calc(var(--vk-spacing) * 2); min-width: 0; font-weight: var(--vk-font-weight-medium); }
|
|
2392
|
+
.o-links-editor-card-name > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2393
|
+
.o-links-editor-lead-word { flex: none; 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)); font-weight: var(--vk-font-weight-normal); }
|
|
2394
|
+
.o-links-editor-more, .o-links-editor[data-links-form="phone"] .o-links-editor-config { flex: none; }
|
|
2395
|
+
.o-links-editor-card-line {
|
|
2396
|
+
margin-top: calc(var(--vk-spacing) * -2); padding: 0 calc(var(--vk-spacing) * 4) calc(var(--vk-spacing) * 3.5) calc(var(--vk-spacing) * 13);
|
|
2397
|
+
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));
|
|
2398
|
+
}
|
|
2399
|
+
.o-links-editor-card-line[data-none] { color: var(--vk-fg-subtlest); }
|
|
2400
|
+
/* A field's row: its name, its words at its end, cut with "…", and ›. */
|
|
2401
|
+
.o-links-editor-open-name { flex: none; }
|
|
2402
|
+
.o-links-editor-open-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; color: var(--vk-fg-subtle); }
|
|
2403
|
+
.o-links-editor-open-mark { flex: none; width: calc(var(--vk-spacing) * 4.5); height: calc(var(--vk-spacing) * 4.5); margin-right: calc(var(--vk-spacing) * -1); color: var(--vk-fg-subtlest); }
|
|
2404
|
+
.o-links-editor-label { margin: calc(var(--vk-spacing) * 6) var(--vk-spacing) 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); }
|
|
2405
|
+
.o-links-editor-add-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2406
|
+
.o-links-editor-add-mark { flex: none; width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); color: var(--vk-fg-subtlest); }
|
|
2407
|
+
.o-links-editor-note { padding: calc(var(--vk-spacing) * 9) calc(var(--vk-spacing) * 4); text-align: center; color: var(--vk-fg-subtle); }
|
|
2408
|
+
|
|
2409
|
+
/* ── A list its editor finds: more records coming as its end comes into sight, the ask again after a failed search, and the create
|
|
2410
|
+
rows after the records to add (a mark before the words where one is handed) ─ */
|
|
2411
|
+
.o-links-editor-loading { display: flex; align-items: center; justify-content: center; gap: calc(var(--vk-spacing) * 2); min-height: calc(var(--vk-spacing) * 8); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtle); }
|
|
2412
|
+
.o-links-editor[data-links-form="phone"] .o-links-editor-loading { min-height: calc(var(--vk-spacing) * 12); font-size: var(--vk-font-size-sm); }
|
|
2413
|
+
.o-links-editor-retry { margin-inline-start: calc(var(--vk-spacing) * 2); }
|
|
2414
|
+
.o-links-editor-action-mark { flex: none; display: grid; place-items: center; width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); color: var(--vk-fg-subtle); }
|
|
2415
|
+
.o-links-editor-action-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
2416
|
+
.o-links-editor-bar {
|
|
2417
|
+
position: sticky; bottom: calc(-1 * var(--links-under, 0px)); z-index: 1; display: flex; align-items: center;
|
|
2418
|
+
margin-top: auto; margin-bottom: calc(-1 * var(--links-under, 0px)); padding: calc(var(--vk-spacing) * 8) 0 calc(var(--vk-spacing) * 2 + var(--links-under, 0px));
|
|
2419
|
+
background-image: linear-gradient(to bottom, transparent, var(--vk-overlay) calc(var(--vk-spacing) * 8));
|
|
2420
|
+
}
|
|
2421
|
+
.o-links-editor-pill { flex: 1; }
|
|
2422
|
+
/* A link's fields, a step of the phone's Sheet: a field's words at its row's end; a switch at its end; Unlink its own card, in red. */
|
|
2423
|
+
.o-links-editor-fields .o-links-editor-open-value { flex: 1; }
|
|
2424
|
+
.o-links-editor-switch { flex: none; margin-left: auto; }
|
|
2425
|
+
.o-links-editor-fields-foot { margin-top: calc(var(--vk-spacing) * 6); }
|
|
2426
|
+
.o-links-editor-unlink.o-field-row { color: var(--vk-danger); }
|
|
2427
|
+
.o-input-control.o-links-editor-input:where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
2428
|
+
|
|
2009
2429
|
/* ── The list's options (a select's options, which name them): set on the
|
|
2010
2430
|
frame around a list as custom properties, which every list inside it reads, the Select's list and the Menu's panel whole, and
|
|
2011
2431
|
the Picker on a computer whole, its rows and its Popover's panel. Each value chooses a token. Unset, a list draws as built.
|
|
@@ -2437,6 +2857,227 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2437
2857
|
.o-button.o-menu-dots:is([data-popup-open], [data-force="hover"], [data-force="open"]) { --button-ground: var(--vk-neutral); color: var(--vk-fg); }
|
|
2438
2858
|
@media (hover: hover) { .o-button.o-menu-dots:hover { --button-ground: var(--vk-neutral); color: var(--vk-fg); } }
|
|
2439
2859
|
|
|
2860
|
+
/* ── What's behind it, and where it stands: in the middle of the screen, under any popup but the Popover it opens from ──────────── */
|
|
2861
|
+
.o-modal-backdrop, .o-modal-viewport { position: fixed; inset: 0; z-index: var(--vk-layer-drawer); }
|
|
2862
|
+
/* Opened from inside a Popover, at the popups' layer: over the Popover, added before it, and under what opens from it. */
|
|
2863
|
+
.o-modal-backdrop[data-over-popup], .o-modal-viewport[data-over-popup] { z-index: var(--vk-layer-popup); }
|
|
2864
|
+
.o-modal-backdrop { background-color: var(--vk-backdrop-modal-light); transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
2865
|
+
.o-modal-backdrop:is([data-starting-style], [data-ending-style]) { opacity: 0; }
|
|
2866
|
+
[data-modal-strength="medium"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-medium); }
|
|
2867
|
+
[data-modal-strength="deep"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-deep); }
|
|
2868
|
+
[data-modal-behind="veil"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-light); }
|
|
2869
|
+
[data-modal-behind="veil"][data-modal-strength="medium"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-medium); }
|
|
2870
|
+
[data-modal-behind="veil"][data-modal-strength="deep"] .o-modal-backdrop { background-color: var(--vk-backdrop-modal-veil-deep); }
|
|
2871
|
+
/* No blur at all at none, since blur(0) still builds a backdrop root. */
|
|
2872
|
+
[data-modal-blur="4"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-xs)); backdrop-filter: blur(var(--vk-blur-xs)); }
|
|
2873
|
+
[data-modal-blur="8"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-sm)); backdrop-filter: blur(var(--vk-blur-sm)); }
|
|
2874
|
+
[data-modal-blur="12"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-md)); backdrop-filter: blur(var(--vk-blur-md)); }
|
|
2875
|
+
[data-modal-blur="24"] .o-modal-backdrop { -webkit-backdrop-filter: blur(var(--vk-blur-lg)); backdrop-filter: blur(var(--vk-blur-lg)); }
|
|
2876
|
+
/* It keeps 48 from the screen's edges; a screen drawn on a page sets --modal-room to keep less. */
|
|
2877
|
+
.o-modal-viewport { box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: var(--modal-room, calc(var(--vk-spacing) * 12)); overflow-y: auto; outline: none; }
|
|
2878
|
+
|
|
2879
|
+
/* ── The shell: on the overlay's ground, as wide as it is handed, never taller than the screen ───────────────────────────────────── */
|
|
2880
|
+
.o-modal {
|
|
2881
|
+
--modal-corners: var(--vk-radius-xl); --modal-pad: calc(var(--vk-spacing) * 5); --modal-width: var(--vk-container-2xl);
|
|
2882
|
+
box-sizing: border-box; position: relative; display: flex; flex-direction: column; width: 100%; max-width: var(--modal-width); max-height: 100%; min-width: 0;
|
|
2883
|
+
border-radius: var(--modal-corners); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); color: var(--vk-fg); outline: none;
|
|
2884
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out);
|
|
2885
|
+
}
|
|
2886
|
+
.o-modal[data-width="sm"] { --modal-width: var(--vk-container-lg); }
|
|
2887
|
+
.o-modal[data-width="lg"] { --modal-width: var(--vk-container-4xl); }
|
|
2888
|
+
.o-modal[data-width="xl"] { --modal-width: var(--vk-container-5xl); }
|
|
2889
|
+
.o-modal:is([data-starting-style], [data-ending-style]) { opacity: 0; scale: var(--vk-push-scale); }
|
|
2890
|
+
.o-modal[data-ending-style] { transition-duration: var(--vk-duration-fast); transition-timing-function: var(--vk-ease-in); }
|
|
2891
|
+
/* An Alert Dialog over it steps it back. */
|
|
2892
|
+
.o-modal[data-nested-dialog-open] { scale: var(--vk-press-scale); }
|
|
2893
|
+
[data-modal-corners="lg"] .o-modal { --modal-corners: var(--vk-radius-lg); }
|
|
2894
|
+
[data-modal-corners="2xl"] .o-modal { --modal-corners: var(--vk-radius-2xl); }
|
|
2895
|
+
[data-modal-padding="16"] .o-modal { --modal-pad: calc(var(--vk-spacing) * 4); }
|
|
2896
|
+
[data-modal-padding="24"] .o-modal { --modal-pad: calc(var(--vk-spacing) * 6); }
|
|
2897
|
+
[data-modal-shadow="none"] .o-modal { box-shadow: none; }
|
|
2898
|
+
[data-modal-shadow="lg"] .o-modal { box-shadow: var(--vk-shadow-lg); }
|
|
2899
|
+
[data-modal-shadow="xl"] .o-modal { box-shadow: var(--vk-shadow-xl); }
|
|
2900
|
+
|
|
2901
|
+
/* What it holds, inside its edge. Ring: no edge of its own, a hairline ring 3 inside it, and what it holds 4 in, so a line under the
|
|
2902
|
+
head runs ring to ring. Outline: one clear edge, and what it holds reaches it. The line is drawn as two shapes, never a border: the
|
|
2903
|
+
line's colour (::before), and the ground just inside it (::after), one line narrower. Each takes its own corner, its inset less, so
|
|
2904
|
+
the line follows the edge's corners exactly, round or smooth. */
|
|
2905
|
+
.o-modal-cut { position: relative; isolation: isolate; box-sizing: border-box; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; max-height: 100%; padding: var(--vk-spacing); border-radius: inherit; background-color: inherit; }
|
|
2906
|
+
.o-modal-cut::before, .o-modal-cut::after { content: ""; position: absolute; z-index: -1; border-radius: var(--modal-c); pointer-events: none; }
|
|
2907
|
+
.o-modal-cut::before { --modal-c: calc(var(--modal-corners) - var(--vk-spacing) * 0.75); inset: calc(var(--vk-spacing) * 0.75); background-color: var(--vk-border-modal-ring); }
|
|
2908
|
+
.o-modal-cut::after { --modal-c: calc(var(--modal-corners) - var(--vk-spacing) * 0.75 - var(--vk-border-width)); inset: calc(var(--vk-spacing) * 0.75 + var(--vk-border-width)); background-color: var(--vk-overlay); }
|
|
2909
|
+
[data-modal-edge="outline"] .o-modal-cut { padding: 0; }
|
|
2910
|
+
[data-modal-edge="outline"] .o-modal-cut::before { --modal-c: var(--modal-corners); inset: 0; background-color: var(--vk-border-modal-edge); }
|
|
2911
|
+
[data-modal-edge="outline"] .o-modal-cut::after { --modal-c: calc(var(--modal-corners) - var(--vk-border-width)); inset: var(--vk-border-width); }
|
|
2912
|
+
|
|
2913
|
+
/* ── Its head: a bar, or standing in its margin; its mark, where it was opened, its title, then Open as a page and the X ─────────── */
|
|
2914
|
+
.o-modal-head { box-sizing: border-box; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); flex: none; min-width: 0; min-height: calc(var(--vk-spacing) * 11); padding: 0 calc(var(--vk-spacing) * 2) 0 var(--modal-pad); }
|
|
2915
|
+
[data-modal-head="margin"] .o-modal-head { min-height: 0; padding: calc(var(--vk-spacing) * 4) calc(var(--vk-spacing) * 3) 0 var(--modal-pad); }
|
|
2916
|
+
[data-modal-lines="shown"] .o-modal-head { border-bottom: var(--vk-border-width) solid var(--vk-border); }
|
|
2917
|
+
/* Its line under the head's height: the head is 11 tall above its line. */
|
|
2918
|
+
[data-modal-lines="shown"]:not([data-modal-head="margin"]) .o-modal-head { min-height: calc(var(--vk-spacing) * 11 + var(--vk-border-width)); }
|
|
2919
|
+
[data-modal-lines="shown"][data-modal-head="margin"] .o-modal-head { padding-bottom: calc(var(--vk-spacing) * 3); }
|
|
2920
|
+
.o-modal-title { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); font-weight: var(--vk-font-weight-medium); }
|
|
2921
|
+
.o-modal-path ~ .o-modal-title { font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
2922
|
+
.o-modal-tools { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); flex: none; margin-left: auto; }
|
|
2923
|
+
.o-modal-mark { display: grid; place-items: center; flex: none; width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); border-radius: var(--vk-radius-sm); background-color: var(--vk-brand); color: var(--vk-fg-on-brand); }
|
|
2924
|
+
.o-modal-mark > svg { width: calc(var(--vk-spacing) * 3.25); height: calc(var(--vk-spacing) * 3.25); }
|
|
2925
|
+
[data-modal-head="margin"] .o-modal-mark { width: calc(var(--vk-spacing) * 4); background-color: transparent; color: var(--vk-fg-subtle); }
|
|
2926
|
+
[data-modal-head="margin"] .o-modal-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
2927
|
+
/* Where it was opened gives way before its title: the path's words shorten first. */
|
|
2928
|
+
.o-modal-path { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); flex: 0 100 auto; min-width: calc(var(--vk-spacing) * 16); color: var(--vk-fg-subtlest); }
|
|
2929
|
+
.o-modal-path > svg { flex: none; width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
|
|
2930
|
+
.o-modal-chip { display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); min-width: 0; height: calc(var(--vk-spacing) * 6.5); padding: 0 calc(var(--vk-spacing) * 2.5) 0 calc(var(--vk-spacing) * 2); border-radius: var(--vk-radius-full); background-color: var(--vk-overlay-card); color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); font-weight: var(--vk-font-weight-medium); white-space: nowrap; }
|
|
2931
|
+
.o-modal-chip > :first-child { flex: none; }
|
|
2932
|
+
.o-modal-chip > svg { width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); }
|
|
2933
|
+
.o-modal-chip-word { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
2934
|
+
|
|
2935
|
+
/* ── What it holds: it scrolls between a head and a foot that stay ───────────────────────────────────────────────────────────────── */
|
|
2936
|
+
.o-modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: var(--modal-pad); }
|
|
2937
|
+
.o-modal-failed { margin-bottom: calc(var(--vk-spacing) * 4); }
|
|
2938
|
+
|
|
2939
|
+
/* ── Its foot: what stands at its start, then the way out and the action at its end ──────────────────────────────────────────────── */
|
|
2940
|
+
.o-modal-foot { box-sizing: border-box; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); flex: none; min-height: calc(var(--vk-spacing) * 11); padding: 0 calc(var(--vk-spacing) * 2); }
|
|
2941
|
+
[data-modal-head="margin"] .o-modal-foot { min-height: 0; padding: calc(var(--vk-spacing) * 1) calc(var(--vk-spacing) * 4) calc(var(--vk-spacing) * 4); }
|
|
2942
|
+
[data-modal-lines="shown"] .o-modal-foot { border-top: var(--vk-border-width) solid var(--vk-border); }
|
|
2943
|
+
[data-modal-lines="shown"]:not([data-modal-head="margin"]) .o-modal-foot { min-height: calc(var(--vk-spacing) * 11 + var(--vk-border-width)); }
|
|
2944
|
+
[data-modal-lines="shown"][data-modal-head="margin"] .o-modal-foot { padding-top: calc(var(--vk-spacing) * 3); }
|
|
2945
|
+
.o-modal-start { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
2946
|
+
.o-modal-end { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); margin-left: auto; }
|
|
2947
|
+
.o-modal-end > .o-button { height: calc(var(--vk-spacing) * 7); --button-side: calc(var(--vk-spacing) * 7); padding-inline: calc(var(--vk-spacing) * 3); }
|
|
2948
|
+
[data-modal-size="32"] .o-modal-end > .o-button { height: calc(var(--vk-spacing) * 8); --button-side: calc(var(--vk-spacing) * 8); }
|
|
2949
|
+
[data-modal-size="36"] .o-modal-end > .o-button { height: calc(var(--vk-spacing) * 9); --button-side: calc(var(--vk-spacing) * 9); padding-inline: calc(var(--vk-spacing) * 3.5); }
|
|
2950
|
+
[data-modal-buttons="pill"] .o-modal-foot .o-button:not(.o-button-round) { --button-r: var(--vk-radius-full); }
|
|
2951
|
+
|
|
2952
|
+
/* ── Its corners smooth: the smooth outline (smooth.css), Apple's curve as measured, so every browser that knows shape() shows it; one that doesn't
|
|
2953
|
+
keeps the corners above. The Modal keeps its shadow, which a cut would take with it, so .o-modal-cut inside it is cut instead, and
|
|
2954
|
+
the line's two shapes each by the same outline at its own corner, so the ring stays the edge's curve, set inside it ───────────── */
|
|
2955
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
2956
|
+
[data-modal-smoothing="smooth"] .o-modal { background-color: transparent; }
|
|
2957
|
+
[data-modal-smoothing="smooth"] .o-modal-cut { --modal-c: var(--modal-corners); background-color: var(--vk-overlay); }
|
|
2958
|
+
[data-modal-smoothing="smooth"] .o-modal-cut::before, [data-modal-smoothing="smooth"] .o-modal-cut::after { border-radius: 0; }
|
|
2959
|
+
[data-modal-smoothing="smooth"] .o-modal-cut, [data-modal-smoothing="smooth"] .o-modal-cut::before, [data-modal-smoothing="smooth"] .o-modal-cut::after {
|
|
2960
|
+
--smooth-t: var(--modal-c); clip-path: shape(var(--smooth-outline));
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
/* Less motion: a fade, no scale. */
|
|
2965
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2966
|
+
.o-modal { transition: opacity var(--vk-duration-base) var(--vk-ease-out); }
|
|
2967
|
+
.o-modal:is([data-starting-style], [data-ending-style], [data-nested-dialog-open]) { scale: 1; }
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
/* ── The notice: its meaning's ground, one step stronger than the palest, so it reads as its colour; no
|
|
2971
|
+
edge (neutral, below, has a hairline); the radius's corners, 10px by 12px; the words in the text colour, never the meaning's ─────── */
|
|
2972
|
+
.o-notice {
|
|
2973
|
+
display: flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2.5); box-sizing: border-box; min-width: 0;
|
|
2974
|
+
padding: calc(var(--vk-spacing) * 2.5) calc(var(--vk-spacing) * 3); border-radius: var(--vk-radius-lg); background-color: var(--notice-ground);
|
|
2975
|
+
color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm));
|
|
2976
|
+
transition: opacity var(--vk-duration-fast) var(--vk-ease-in), translate var(--vk-duration-fast) var(--vk-ease-in);
|
|
2977
|
+
}
|
|
2978
|
+
/* The icon carries the meaning: 16px, level with the first line, 10px before the words. */
|
|
2979
|
+
.o-notice-icon { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); margin-top: calc(var(--vk-spacing) * 0.5); }
|
|
2980
|
+
.o-notice[data-meaning="information"] { --notice-ground: var(--vk-info-subtler); }
|
|
2981
|
+
.o-notice[data-meaning="information"] > .o-notice-icon { color: var(--vk-info); }
|
|
2982
|
+
.o-notice[data-meaning="success"] { --notice-ground: var(--vk-success-subtler); }
|
|
2983
|
+
.o-notice[data-meaning="success"] > .o-notice-icon { color: var(--vk-success); }
|
|
2984
|
+
.o-notice[data-meaning="warning"] { --notice-ground: var(--vk-warning-subtler); }
|
|
2985
|
+
.o-notice[data-meaning="warning"] > .o-notice-icon { color: var(--vk-warning); }
|
|
2986
|
+
.o-notice[data-meaning="danger"] { --notice-ground: var(--vk-danger-subtler); }
|
|
2987
|
+
.o-notice[data-meaning="danger"] > .o-notice-icon { color: var(--vk-danger); }
|
|
2988
|
+
.o-notice-body { flex: 1 1 calc(var(--vk-spacing) * 55); min-width: 0; display: grid; gap: calc(var(--vk-spacing) * 0.5); }
|
|
2989
|
+
.o-notice-body > p { margin: 0; }
|
|
2990
|
+
|
|
2991
|
+
/* ── Neutral: a plain fact with no colour of its own, a quiet well: the page's
|
|
2992
|
+
sunken ground, a hairline edge inside, its icon in the quieter text colour ──────────────────────────────── */
|
|
2993
|
+
.o-notice[data-meaning="neutral"] { --notice-ground: var(--vk-sunken); --notice-edge: var(--vk-border-subtle); box-shadow: inset 0 0 0 var(--vk-border-width) var(--vk-border-subtle); }
|
|
2994
|
+
.o-notice[data-meaning="neutral"] > .o-notice-icon { color: var(--vk-fg-subtle); }
|
|
2995
|
+
/* Its own icon, any 16px icon, in its meaning's colour like the meaning's own. */
|
|
2996
|
+
span.o-notice-icon { display: grid; place-items: center; }
|
|
2997
|
+
span.o-notice-icon > svg { width: 100%; height: 100%; }
|
|
2998
|
+
/* Paragraphs, 8px apart; a link in its sentence underlined in the words' colour, as shadcn's. */
|
|
2999
|
+
.o-notice-text > p { margin: 0; }
|
|
3000
|
+
.o-notice-text > p + p { margin-top: calc(var(--vk-spacing) * 2); }
|
|
3001
|
+
.o-notice-text a {
|
|
3002
|
+
color: inherit; text-decoration: underline; text-decoration-thickness: var(--vk-border-width);
|
|
3003
|
+
text-underline-offset: calc(var(--vk-spacing) * 0.75); text-decoration-color: var(--vk-fg-subtlest);
|
|
3004
|
+
}
|
|
3005
|
+
@media (hover: hover) { .o-notice-text a:hover { text-decoration-color: currentColor; } }
|
|
3006
|
+
|
|
3007
|
+
/* ── With a title: the title in semibold, the sentence under it quieter, 12px by 14px; its actions under
|
|
3008
|
+
the sentence ──────────────────────────────────────────────────────────────────────────────────── */
|
|
3009
|
+
.o-notice.o-notice-titled { gap: calc(var(--vk-spacing) * 3); padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 3.5); }
|
|
3010
|
+
.o-notice-title { font-weight: var(--vk-font-weight-semibold); }
|
|
3011
|
+
.o-notice-titled .o-notice-text { color: var(--vk-fg-subtle); }
|
|
3012
|
+
.o-notice-below { display: flex; gap: calc(var(--vk-spacing) * 1); margin: calc(var(--vk-spacing) * 1.5) 0 0 calc(var(--vk-spacing) * -2.5); }
|
|
3013
|
+
/* A first action that isn't the text kind (an outline) stands with its edge at the sentence's first letter. */
|
|
3014
|
+
.o-notice-below:has(> :first-child:not(.o-button-text)) { margin-left: 0; }
|
|
3015
|
+
|
|
3016
|
+
/* ── Its actions at the end of its line; × puts it away: the Button, quiet, icon only, extra small ──── */
|
|
3017
|
+
.o-notice-acts { flex: none; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); margin: calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -1.5) calc(var(--vk-spacing) * -1) 0; }
|
|
3018
|
+
.o-button.o-notice-x { flex: none; margin: calc(var(--vk-spacing) * -1) calc(var(--vk-spacing) * -1.5) calc(var(--vk-spacing) * -1) 0; }
|
|
3019
|
+
.o-notice-acts + .o-button.o-notice-x { margin-left: calc(var(--vk-spacing) * -2); }
|
|
3020
|
+
|
|
3021
|
+
/* ── Arrived because of something just done, it fades in; put away or resolved, it fades out ────────── */
|
|
3022
|
+
.o-notice.o-notice-arrived { animation: vk-notice-fade-in var(--vk-duration-base) var(--vk-ease-out); }
|
|
3023
|
+
.o-notice.o-notice-going { opacity: 0; translate: 0 calc(var(--vk-spacing) * -0.5); }
|
|
3024
|
+
|
|
3025
|
+
/* ── On the phone the actions drop under the sentence, lined up with it; × stays at the end of the first
|
|
3026
|
+
line ────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
3027
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *) { flex-wrap: wrap; }
|
|
3028
|
+
.o-notice-body:where([data-vk-phone], [data-vk-phone] *) { flex: 1 1 0; }
|
|
3029
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *) > .o-notice-acts { order: 3; flex-basis: 100%; box-sizing: border-box; margin: calc(var(--vk-spacing) * 0.5) 0 calc(var(--vk-spacing) * -1.5); padding-left: calc(var(--vk-spacing) * 4); }
|
|
3030
|
+
.o-notice-acts:where([data-vk-phone], [data-vk-phone] *) + .o-button.o-notice-x { margin-left: 0; }
|
|
3031
|
+
/* A first action that isn't the text kind stands with its edge at the sentence's first letter: the icon and its gap. */
|
|
3032
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):has(> .o-notice-icon) > .o-notice-acts:has(> :first-child:not(.o-button-text)) { padding-left: calc(var(--vk-spacing) * 6.5); }
|
|
3033
|
+
/* With no icon the sentence starts at the padding: so do the actions, the text kind's words with it. */
|
|
3034
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):not(:has(> .o-notice-icon)) > .o-notice-acts { padding-left: 0; }
|
|
3035
|
+
.o-notice:where([data-vk-phone], [data-vk-phone] *):not(:has(> .o-notice-icon)) > .o-notice-acts:has(> :first-child.o-button-text) { margin-left: calc(var(--vk-spacing) * -2.5); }
|
|
3036
|
+
|
|
3037
|
+
/* Under reduced motion it just goes. */
|
|
3038
|
+
@media (prefers-reduced-motion: reduce) { .o-notice { transition: none; } .o-notice.o-notice-arrived { animation: none; } }
|
|
3039
|
+
/* ── Its corners smooth: following corner-smoothing, drawn with the smooth outline
|
|
3040
|
+
(ViewKit's smooth.css) in every browser that knows shape(); one that doesn't keeps the corners above. Its round part is fitted to its
|
|
3041
|
+
one line, as a control's is. Its ×, 6px in, rings itself 2px out, so the notice is never clipped: its edge (::before, neutral's
|
|
3042
|
+
hairline, or its ground where it has none) and its ground (::after, a line in, its corner a line smaller) are layers inside it,
|
|
3043
|
+
as the Popover's are. ── */
|
|
3044
|
+
@supports (clip-path: shape(evenodd from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close, move to 0 0, hline to 1px, close)) and (width: calc(tan(atan2(1px, 1px)) * 1px)) {
|
|
3045
|
+
.o-notice {
|
|
3046
|
+
--smooth-amount: var(--vk-corner-smoothing); --notice-side: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm) + var(--vk-spacing) * 5);
|
|
3047
|
+
--notice-fit: min(var(--vk-radius-lg), var(--notice-side) / (2 + 2 * var(--smooth-amount, 0.7)));
|
|
3048
|
+
--smooth-t: var(--notice-fit); --smooth-side: var(--notice-side);
|
|
3049
|
+
position: relative; isolation: isolate; border-radius: var(--notice-fit); background-color: transparent; box-shadow: none;
|
|
3050
|
+
}
|
|
3051
|
+
.o-notice[data-meaning="neutral"] { box-shadow: none; }
|
|
3052
|
+
.o-notice::before, .o-notice::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
|
|
3053
|
+
.o-notice::before { background-color: var(--notice-edge, var(--notice-ground)); clip-path: shape(var(--smooth-outline)); }
|
|
3054
|
+
.o-notice::after {
|
|
3055
|
+
--smooth-t: max(0px, var(--notice-fit) - var(--vk-border-width));
|
|
3056
|
+
inset: var(--vk-border-width); border-radius: calc(var(--notice-fit) - var(--vk-border-width)); background-color: var(--notice-ground); clip-path: shape(var(--smooth-outline));
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
@keyframes vk-notice-fade-in { from { opacity: 0; } }
|
|
3060
|
+
|
|
3061
|
+
/* ── A number in its cell: Attio's line of the focus colour, Mihai's ring: the kit's Number field in a cell, filling it ── */
|
|
3062
|
+
.o-number-editor[data-number-form="computer"] { box-sizing: border-box; width: 100%; height: 100%; min-width: 0; color: var(--vk-fg); }
|
|
3063
|
+
.o-number-editor .o-number-editor-field, .o-number-editor .o-number-editor-field > .o-inline-input-group { height: 100%; }
|
|
3064
|
+
/* Where a shell stands it: over its cell, the cell's lines under its edge, as Attio's editor stands; in the ring, the cell. */
|
|
3065
|
+
.o-number-editor-place { position: absolute; inset: calc(var(--vk-border-width) * -1) 0 calc(var(--vk-border-width) * -1) calc(var(--vk-border-width) * -1); }
|
|
3066
|
+
[data-inline-input-edge="ring"] .o-number-editor-place { inset: 0; }
|
|
3067
|
+
|
|
3068
|
+
/* Money's currency at the box's start, a press away; a field with one currency, its sign alone. A percent's % after it. */
|
|
3069
|
+
.o-number-editor-currency { flex: none; margin-right: auto; }
|
|
3070
|
+
/* Attio's: the code, a quiet press away from the currencies, or the code alone where nothing can be pressed. */
|
|
3071
|
+
.o-number-editor-code { flex: none; margin-right: auto; }
|
|
3072
|
+
span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
3073
|
+
.o-number-editor-sign, .o-number-editor-unit { flex: none; color: var(--vk-fg-subtle); }
|
|
3074
|
+
.o-number-editor[data-number-form="computer"] .o-number-editor-sign { margin-right: auto; }
|
|
3075
|
+
|
|
3076
|
+
/* ── On a phone: the box and what is under it ───────────────────────────────────────────────────────────────────── */
|
|
3077
|
+
.o-number-editor[data-number-form="phone"] { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
3078
|
+
.o-number-editor :is(.o-number-editor-code, .o-number-editor-sign, .o-number-editor-unit, .o-input-addon > .o-button):where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
3079
|
+
.o-number-editor .o-input-addon > .o-button.o-number-editor-currency:where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-sm); }
|
|
3080
|
+
|
|
2440
3081
|
.o-number { min-width: 0; }
|
|
2441
3082
|
/* Bare: the control alone, Base UI's root standing aside, so the input is its place's own child, as the Input's bare form. */
|
|
2442
3083
|
.o-number-bare { display: contents; }
|
|
@@ -2562,6 +3203,92 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2562
3203
|
.o-option[data-link]:is(:focus-visible, [data-force="focus"]) { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
2563
3204
|
@media (prefers-reduced-motion: reduce) { .o-option[data-link] { transition: none; } }
|
|
2564
3205
|
|
|
3206
|
+
/* Its portal, in the list's box, takes no room there, whatever the box lays out. */
|
|
3207
|
+
.o-pane-portal { display: contents; }
|
|
3208
|
+
|
|
3209
|
+
/* ── The shell: over the list and under every popup (layer-popup), a Drawer or a Modal opened later standing over it ── */
|
|
3210
|
+
.o-pane {
|
|
3211
|
+
--pane-corners: var(--vk-radius-xl); --pane-shadow: var(--vk-shadow-menu); --pane-edge: var(--vk-border);
|
|
3212
|
+
--pane-gap: calc(var(--vk-spacing) * 2); --pane-pad: calc(var(--vk-spacing) * 2);
|
|
3213
|
+
position: absolute; z-index: var(--vk-layer-drawer); top: var(--pane-gap); right: var(--pane-gap); bottom: var(--pane-gap);
|
|
3214
|
+
box-sizing: border-box; display: flex; flex-direction: column;
|
|
3215
|
+
width: calc(var(--vk-spacing) * 75); max-width: calc(100% - var(--pane-gap) * 2);
|
|
3216
|
+
border-radius: var(--pane-corners); background-color: var(--vk-overlay); box-shadow: var(--pane-shadow); color: var(--vk-fg);
|
|
3217
|
+
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); outline: none;
|
|
3218
|
+
transition: opacity var(--vk-duration-fast) var(--vk-ease-out), translate var(--vk-duration-fast) var(--vk-ease-out);
|
|
3219
|
+
}
|
|
3220
|
+
/* Fitting what it holds: as tall as that, never past a gap over the list's foot. */
|
|
3221
|
+
[data-pane-place="fit"] .o-pane { bottom: auto; max-height: calc(100% - var(--pane-gap) * 2); }
|
|
3222
|
+
|
|
3223
|
+
/* What it holds, inside its edge. The edge is drawn as two shapes, never a border, as the Popover's is: its colour (::before),
|
|
3224
|
+
and the ground just inside it (::after), one line narrower, each with its own corner, so the edge follows the corners
|
|
3225
|
+
exactly, round or smooth. */
|
|
3226
|
+
.o-pane-cut { position: relative; isolation: isolate; box-sizing: border-box; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; padding: var(--pane-pad); border-radius: inherit; }
|
|
3227
|
+
.o-pane-cut::before, .o-pane-cut::after { content: ""; position: absolute; z-index: -1; border-radius: var(--pane-c); pointer-events: none; }
|
|
3228
|
+
.o-pane-cut::before { --pane-c: var(--pane-corners); inset: 0; background-color: var(--pane-edge); }
|
|
3229
|
+
.o-pane-cut::after { --pane-c: calc(var(--pane-corners) - var(--vk-border-width)); inset: var(--vk-border-width); background-color: var(--vk-overlay); }
|
|
3230
|
+
|
|
3231
|
+
/* Its head stays at its top, its body scrolls, its foot stays at its foot under a line across the whole Pane. The body scrolls up and
|
|
3232
|
+
down only: a control's press area standing past its edge (a Switch's, at a row's end) made it scroll sideways, and where
|
|
3233
|
+
scrollbars take room that bar stood at its foot. What it holds is clipped at its sides, where the body clips it anyway, so nothing
|
|
3234
|
+
overhangs it to scroll to. */
|
|
3235
|
+
.o-pane-head { flex: none; }
|
|
3236
|
+
.o-pane-body { flex: 1 1 auto; min-height: 0; overflow: hidden auto; }
|
|
3237
|
+
.o-pane-body > * { overflow-x: clip; }
|
|
3238
|
+
/* What scrolls runs right to the foot's line: the foot has no margin over
|
|
3239
|
+
it, and a body with a foot after it takes the Pane's padding at its end, inside what scrolls, so that room shows only at the scroll's
|
|
3240
|
+
end. */
|
|
3241
|
+
.o-pane-foot { flex: none; margin: 0 calc(var(--pane-pad) * -1) calc(var(--pane-pad) * -1); padding: var(--pane-pad); border-top: var(--vk-border-width) solid var(--pane-edge); }
|
|
3242
|
+
.o-pane-body:has(~ .o-pane-foot) { padding-bottom: var(--pane-pad); }
|
|
3243
|
+
[data-pane-edge="none"] .o-pane-foot { border-top-color: var(--vk-border-subtle); }
|
|
3244
|
+
|
|
3245
|
+
/* Its title, when what stands in it has one: text-sm at medium weight. */
|
|
3246
|
+
.o-pane-title { margin: 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); font-weight: var(--vk-font-weight-medium); color: var(--vk-fg); }
|
|
3247
|
+
|
|
3248
|
+
/* It fades in and moves a step in from the right; it leaves faster than it came. */
|
|
3249
|
+
.o-pane[data-ending-style] { transition-timing-function: var(--vk-ease-in); }
|
|
3250
|
+
.o-pane:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: var(--vk-spacing) 0; }
|
|
3251
|
+
|
|
3252
|
+
/* ── What an app sets once ───────────────────────────────────────────────────────────────────────────────────── */
|
|
3253
|
+
[data-pane-corners="lg"] .o-pane { --pane-corners: var(--vk-radius-lg); }
|
|
3254
|
+
[data-pane-corners="2xl"] .o-pane { --pane-corners: var(--vk-radius-2xl); }
|
|
3255
|
+
[data-pane-shadow="none"] .o-pane { --pane-shadow: none; }
|
|
3256
|
+
[data-pane-shadow="lg"] .o-pane { --pane-shadow: var(--vk-shadow-lg); }
|
|
3257
|
+
[data-pane-shadow="xl"] .o-pane { --pane-shadow: var(--vk-shadow-xl); }
|
|
3258
|
+
[data-pane-edge="subtle"] .o-pane { --pane-edge: var(--vk-border-subtle); }
|
|
3259
|
+
[data-pane-edge="none"] .o-pane { --pane-edge: var(--vk-overlay); }
|
|
3260
|
+
[data-pane-gap="0"] .o-pane { --pane-gap: 0px; }
|
|
3261
|
+
[data-pane-gap="4"] .o-pane { --pane-gap: var(--vk-spacing); }
|
|
3262
|
+
[data-pane-gap="12"] .o-pane { --pane-gap: calc(var(--vk-spacing) * 3); }
|
|
3263
|
+
[data-pane-gap="16"] .o-pane { --pane-gap: calc(var(--vk-spacing) * 4); }
|
|
3264
|
+
[data-pane-padding="0"] .o-pane { --pane-pad: 0px; }
|
|
3265
|
+
[data-pane-padding="4"] .o-pane { --pane-pad: var(--vk-spacing); }
|
|
3266
|
+
[data-pane-padding="12"] .o-pane { --pane-pad: calc(var(--vk-spacing) * 3); }
|
|
3267
|
+
[data-pane-padding="16"] .o-pane { --pane-pad: calc(var(--vk-spacing) * 4); }
|
|
3268
|
+
|
|
3269
|
+
/* ── Its corners smooth: the smooth outline (smooth.css), as the Popover's. A cut would take the shadow with it, so
|
|
3270
|
+
.o-pane-cut inside it is cut instead, and the edge's two shapes each by the same outline. The shadow is cast from a layer under
|
|
3271
|
+
the cut that stands wholly inside the outline: cast by the shell's own round box, whose corner stands up to 0.02 of a
|
|
3272
|
+
radius outside the smooth one, its edge and the cut's met in a light rim round the bend. Its corner a quarter
|
|
3273
|
+
circle of 1.2 radii, which lies inside the smooth curve (from 1.2 radii on, by smooth.css's numbers; a larger one stands further
|
|
3274
|
+
in and lightens the shadow at the corner), and half a line in, so the cut covers its edge everywhere and the shadow runs on from
|
|
3275
|
+
under the edge, as dark as Round's ────── */
|
|
3276
|
+
@supports (clip-path: shape(from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close)) {
|
|
3277
|
+
[data-pane-smoothing="smooth"] .o-pane { background-color: transparent; box-shadow: none; }
|
|
3278
|
+
[data-pane-smoothing="smooth"] .o-pane::before {
|
|
3279
|
+
content: ""; position: absolute; z-index: -1; inset: calc(var(--vk-border-width) / 2); border-radius: calc(var(--pane-corners) * 1.2);
|
|
3280
|
+
box-shadow: var(--pane-shadow); pointer-events: none;
|
|
3281
|
+
}
|
|
3282
|
+
[data-pane-smoothing="smooth"] .o-pane-cut { --pane-c: var(--pane-corners); background-color: var(--vk-overlay); }
|
|
3283
|
+
[data-pane-smoothing="smooth"] .o-pane-cut::before, [data-pane-smoothing="smooth"] .o-pane-cut::after { border-radius: 0; }
|
|
3284
|
+
[data-pane-smoothing="smooth"] .o-pane-cut, [data-pane-smoothing="smooth"] .o-pane-cut::before, [data-pane-smoothing="smooth"] .o-pane-cut::after {
|
|
3285
|
+
--smooth-t: var(--pane-c); clip-path: shape(var(--smooth-outline));
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
|
|
3289
|
+
/* Under reduced motion it just appears. */
|
|
3290
|
+
@media (prefers-reduced-motion: reduce) { .o-pane { transition: none; } }
|
|
3291
|
+
|
|
2565
3292
|
/* ── The soft edge: three blurs of what passes under a floating head, each fading out lower down, so the blur is strongest at
|
|
2566
3293
|
the top and melts into the page with no line, and over them the ground it stands on, fading to nothing. What it stands in
|
|
2567
3294
|
gives it its height and, in --soft-edge-ground, its ground. ── */
|
|
@@ -2934,6 +3661,102 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2934
3661
|
/* Refused, its line turns red; at the foot it has no line under it, and the Values editor's refused line draws its own. */
|
|
2935
3662
|
.o-popup-line[data-bad]:not([data-at="foot"]) { --popup-line-colour: var(--vk-border-danger); }
|
|
2936
3663
|
|
|
3664
|
+
/* ── A group: its choices one under another, 14px apart, or two to four in a row; its name is the FieldSet's
|
|
3665
|
+
legend (field.css) ─────────────────────────────────────────────────────────────────────────────────── */
|
|
3666
|
+
.o-radio-group { display: grid; gap: calc(var(--vk-spacing) * 3.5); }
|
|
3667
|
+
.o-radio-group.o-radio-row { display: flex; flex-wrap: wrap; gap: calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 6); }
|
|
3668
|
+
|
|
3669
|
+
/* ── At rest: a 16px ring, see-through; the label 10px to its right presses it ─────────────────────── */
|
|
3670
|
+
.o-radio { position: relative; display: inline-flex; align-items: flex-start; gap: calc(var(--vk-spacing) * 2.5); cursor: pointer; -webkit-tap-highlight-color: transparent; }
|
|
3671
|
+
.o-radio-ring {
|
|
3672
|
+
flex: none; box-sizing: border-box; display: grid; place-items: center;
|
|
3673
|
+
width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); margin-top: calc(var(--vk-spacing) * 0.5);
|
|
3674
|
+
border: var(--vk-border-width) solid var(--vk-border-input); border-radius: var(--vk-radius-full);
|
|
3675
|
+
background-color: var(--vk-input); outline: none;
|
|
3676
|
+
transition: background-color var(--vk-duration-fast) var(--vk-ease-out), border-color var(--vk-duration-fast) var(--vk-ease-out);
|
|
3677
|
+
}
|
|
3678
|
+
/* The dot grows in its middle when the ring is chosen. */
|
|
3679
|
+
.o-radio-dot { width: calc(var(--vk-spacing) * 1.5); height: calc(var(--vk-spacing) * 1.5); border-radius: var(--vk-radius-full); background-color: var(--vk-fg-inverse); scale: 0; transition: scale var(--vk-duration-base) var(--vk-ease-out); }
|
|
3680
|
+
|
|
3681
|
+
/* ── Under the pointer, on the ring or its label: a louder edge; a chosen ring a deeper brand ─────── */
|
|
3682
|
+
/* A hover only on a screen with a pointer (KIT-368: iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
|
|
3683
|
+
.o-radio-ring[data-force="hover"]:not([data-disabled]) { border-color: var(--vk-border-input-hovered); }
|
|
3684
|
+
@media (hover: hover) { .o-radio:hover > .o-radio-ring:not([data-disabled]) { border-color: var(--vk-border-input-hovered); } }
|
|
3685
|
+
|
|
3686
|
+
/* ── On: the brand, with the dot ───────────────────────────────────────────────────────────────────── */
|
|
3687
|
+
.o-radio-ring[data-checked] { border-color: var(--vk-brand); background-color: var(--vk-brand); }
|
|
3688
|
+
.o-radio-ring[data-force="hover"][data-checked]:not([data-disabled]) { border-color: var(--vk-brand-hovered); background-color: var(--vk-brand-hovered); }
|
|
3689
|
+
@media (hover: hover) { .o-radio:hover > .o-radio-ring[data-checked]:not([data-disabled]) { border-color: var(--vk-brand-hovered); background-color: var(--vk-brand-hovered); } }
|
|
3690
|
+
.o-radio-ring[data-checked] .o-radio-dot { scale: 1; background-color: var(--vk-fg-on-brand); }
|
|
3691
|
+
|
|
3692
|
+
/* ── In error (aria-invalid, its Field's error, or a group in error around it): a red edge; chosen, the
|
|
3693
|
+
danger colour fills it. The pointer never takes it away; focus rings it in red; disabled wins. ─── */
|
|
3694
|
+
.o-radio-ring:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]),
|
|
3695
|
+
.o-radio-ring[data-force="hover"]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-border-danger); }
|
|
3696
|
+
@media (hover: hover) { .o-radio:hover > .o-radio-ring:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-border-danger); } }
|
|
3697
|
+
.o-radio-ring[data-checked]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-danger-bold); background-color: var(--vk-danger-bold); }
|
|
3698
|
+
.o-radio-ring[data-checked]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) .o-radio-dot { background-color: var(--vk-fg-inverse); }
|
|
3699
|
+
.o-radio-ring[data-force="hover"][data-checked]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-danger-bold-hovered); background-color: var(--vk-danger-bold-hovered); }
|
|
3700
|
+
@media (hover: hover) { .o-radio:hover > .o-radio-ring[data-checked]:is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *):not([data-disabled]) { border-color: var(--vk-danger-bold-hovered); background-color: var(--vk-danger-bold-hovered); } }
|
|
3701
|
+
.o-radio-ring:is(:focus-visible, [data-force="focus"]):is([aria-invalid="true"], [data-invalid], .o-fieldset[data-invalid] *) { outline-color: var(--vk-border-danger); }
|
|
3702
|
+
|
|
3703
|
+
/* ── Focus: the outline 2px outside the ring ───────────────────────────────────────────────────────── */
|
|
3704
|
+
.o-radio-ring:is(:focus-visible, [data-force="focus"]) { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
3705
|
+
|
|
3706
|
+
/* ── Disabled: a grey ring, a softer edge, the dot and the label greyed ─────────────────────────────── */
|
|
3707
|
+
.o-radio-ring[data-disabled] { border-color: var(--vk-border-subtle); background-color: var(--vk-neutral); }
|
|
3708
|
+
.o-radio-ring[data-disabled] .o-radio-dot { background-color: var(--vk-fg-disabled); }
|
|
3709
|
+
.o-radio:has(> .o-radio-ring[data-disabled]) { cursor: not-allowed; }
|
|
3710
|
+
.o-radio:has(> .o-radio-ring[data-disabled]) .o-choice-label { color: var(--vk-fg-disabled); }
|
|
3711
|
+
|
|
3712
|
+
/* ── A marked card (KIT-668; the map, UI Kit · doc · list toolbar, parts 51 and 79; the canvas, rounds 5, 6 and 12): a mark
|
|
3713
|
+
in place of the ring, the radio itself still, its name under it and an optional line under that. Its edge the field's;
|
|
3714
|
+
chosen, ringed in the brand, its edge and a hairline just outside it as the map draws it (KIT-816), the mark in the brand, no
|
|
3715
|
+
selected ground; one that can't be picked yet
|
|
3716
|
+
dashed, all of it greyed, with no word under its name (KIT-777), which the arrows pass by. Focus rings the whole card. Each rule
|
|
3717
|
+
carries a class more than choice.css's card, which it draws over. ─────────────────────────────────────────────────── */
|
|
3718
|
+
.o-choice-card.o-radio-marked { flex-direction: column; align-items: flex-start; gap: var(--vk-spacing); padding: calc(var(--vk-spacing) * 3); border-color: var(--vk-border-input); }
|
|
3719
|
+
.o-radio-mark { flex: none; display: grid; place-items: center; color: var(--vk-fg-subtle); outline: none; transition: color var(--vk-duration-fast) var(--vk-ease-out); }
|
|
3720
|
+
.o-radio-mark > svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
|
|
3721
|
+
.o-choice-card.o-radio-marked:has(> [data-checked]) { border-color: var(--vk-border-selected); box-shadow: 0 0 0 var(--vk-border-width) var(--vk-border-selected); background-color: var(--vk-ground); }
|
|
3722
|
+
.o-radio-mark[data-checked] { color: var(--vk-fg-accent); }
|
|
3723
|
+
.o-choice-card.o-radio-marked:has(> [data-force="hover"]:not([data-checked], [data-disabled])) { background-color: var(--vk-hovered); }
|
|
3724
|
+
.o-choice-card.o-radio-marked:has(> .o-radio-mark:is(:focus-visible, [data-force="focus"])) { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
3725
|
+
/* Marked cards in a row: two across, as New view's layouts; one under another on a phone. Marked cards, as a row or as tiles, keep
|
|
3726
|
+
room on every side for what stands outside a card's edge, the chosen one's ring and the focus outline, so a holder that clips
|
|
3727
|
+
its sides (the Pane's body) never cuts either (KIT-816); the map's tiles stand as far in. */
|
|
3728
|
+
.o-radio-group.o-radio-row:has(> .o-radio-marked.o-choice-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
3729
|
+
.o-radio-group:where(.o-radio-row, .o-radio-tiles):has(> .o-radio-marked.o-choice-card) { padding: calc(var(--vk-focus-width) + var(--vk-focus-offset)); }
|
|
3730
|
+
|
|
3731
|
+
/* ── Tiles: marked cards three across, each centred, its mark over its name in the card's quieter words; chosen, the mark
|
|
3732
|
+
and the name in the brand. On a computer the marks of a row stand on one line, a tile with a line growing under its
|
|
3733
|
+
name; on a phone they stand on one card, each at least 72 tall, what it holds in its middle. ──────────────────────── */
|
|
3734
|
+
.o-radio-group.o-radio-tiles:has(> .o-choice-card) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--vk-spacing) * 1.5); }
|
|
3735
|
+
.o-radio-tiles > .o-choice-card.o-radio-marked {
|
|
3736
|
+
justify-content: flex-start; align-items: center; gap: calc(var(--vk-spacing) * 1.5); padding: calc(var(--vk-spacing) * 2.5) var(--vk-spacing);
|
|
3737
|
+
border-radius: var(--vk-radius-lg); background-color: transparent; color: var(--vk-fg-subtle); text-align: center;
|
|
3738
|
+
}
|
|
3739
|
+
.o-radio-tiles > .o-radio-marked > .o-choice-text { max-width: 100%; }
|
|
3740
|
+
.o-radio-tiles > .o-radio-marked .o-choice-label { font-weight: var(--vk-font-weight-normal); color: inherit; }
|
|
3741
|
+
.o-radio-tiles > .o-radio-marked > .o-radio-mark { color: inherit; }
|
|
3742
|
+
.o-radio-tiles > .o-radio-marked > .o-radio-mark > svg { width: calc(var(--vk-spacing) * 4.5); height: calc(var(--vk-spacing) * 4.5); }
|
|
3743
|
+
.o-radio-tiles > .o-choice-card.o-radio-marked:has(> [data-checked]) { background-color: transparent; color: var(--vk-fg-accent); }
|
|
3744
|
+
@media (hover: hover) { .o-radio-tiles > .o-choice-card.o-radio-marked:hover:not(:has(> :is([data-checked], [data-disabled]))) { background-color: var(--vk-hovered); } }
|
|
3745
|
+
.o-radio-tiles > .o-choice-card.o-radio-marked:has(> [data-force="hover"]:not([data-checked], [data-disabled])) { background-color: var(--vk-hovered); }
|
|
3746
|
+
|
|
3747
|
+
/* ── A marked card that can't be picked yet: dashed, greyed, no ground; it wins over the tiles' colours. ──────────── */
|
|
3748
|
+
.o-choice-card.o-radio-marked:has(> [data-disabled]) { border-style: dashed; border-color: var(--vk-border-input); box-shadow: none; background-color: transparent; cursor: not-allowed; }
|
|
3749
|
+
.o-choice-card.o-radio-marked:has(> [data-disabled]) :is(.o-radio-mark, .o-choice-label, .o-choice-note) { color: var(--vk-fg-disabled); }
|
|
3750
|
+
|
|
3751
|
+
/* On a phone (`data-vk-phone`, the group's own mark from the device, or a phone frame round it): marked cards one under
|
|
3752
|
+
another, tiles on one card. */
|
|
3753
|
+
.o-radio-group.o-radio-row:where([data-vk-phone], [data-vk-phone] *):has(> .o-radio-marked.o-choice-card) { grid-template-columns: minmax(0, 1fr); }
|
|
3754
|
+
.o-radio-group.o-radio-tiles:where([data-vk-phone], [data-vk-phone] *):has(> .o-choice-card) { gap: calc(var(--vk-spacing) * 2); padding: calc(var(--vk-spacing) * 3); border-radius: var(--vk-radius-xl); background-color: var(--vk-overlay-card); }
|
|
3755
|
+
.o-radio-tiles:where([data-vk-phone], [data-vk-phone] *) > .o-choice-card.o-radio-marked { justify-content: center; min-height: calc(var(--vk-spacing) * 18); }
|
|
3756
|
+
.o-radio-tiles:where([data-vk-phone], [data-vk-phone] *) > .o-radio-marked > .o-radio-mark > svg { width: calc(var(--vk-spacing) * 5.5); height: calc(var(--vk-spacing) * 5.5); }
|
|
3757
|
+
|
|
3758
|
+
@media (prefers-reduced-motion: reduce) { .o-radio-ring, .o-radio-dot, .o-radio-mark { transition: none; } }
|
|
3759
|
+
|
|
2937
3760
|
/* Doubled, so a component's own overflow: auto in the same layer never brings the sideways scroll back. */
|
|
2938
3761
|
[data-scrollbar][data-scrollbar] { overflow-x: hidden; }
|
|
2939
3762
|
|
|
@@ -3234,6 +4057,89 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
3234
4057
|
.o-sheet-step { animation: none; }
|
|
3235
4058
|
}
|
|
3236
4059
|
|
|
4060
|
+
.o-sort-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
4061
|
+
.o-sort-editor:focus { outline: none; }
|
|
4062
|
+
.o-sort-editor-mark { display: inline-flex; flex: none; align-items: center; color: var(--vk-fg-subtle); }
|
|
4063
|
+
.o-sort-editor-mark svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
4064
|
+
|
|
4065
|
+
/* ── On a computer: the rules ────────────────────────────────────────────────────────────────────────────────────── */
|
|
4066
|
+
.o-sort-editor[data-sort-form="computer"] { width: max-content; max-width: 100%; gap: calc(var(--vk-spacing) * 3); }
|
|
4067
|
+
.o-sort-editor-foot { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); }
|
|
4068
|
+
.o-sort-editor-foot .o-sort-editor-clear { margin-left: auto; }
|
|
4069
|
+
.o-sort-editor-rules { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 2); }
|
|
4070
|
+
.o-sort-editor-rule { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); min-width: 0; border-radius: var(--vk-radius-md); }
|
|
4071
|
+
.o-sort-editor-rule[data-lifted] { position: relative; z-index: var(--vk-layer-popup); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
|
|
4072
|
+
.o-sort-editor-rule[data-lifted] .o-sort-editor-grip { cursor: grabbing; }
|
|
4073
|
+
.o-sort-editor-grip { flex: none; touch-action: none; }
|
|
4074
|
+
.o-sort-editor-field, .o-sort-editor-direction { position: relative; flex: none; min-width: 0; }
|
|
4075
|
+
.o-sort-editor-field { width: calc(var(--vk-spacing) * 52); }
|
|
4076
|
+
.o-sort-editor-direction { width: calc(var(--vk-spacing) * 38); }
|
|
4077
|
+
.o-sort-editor-field > .o-select, .o-sort-editor-direction > .o-select { width: 100%; }
|
|
4078
|
+
.o-sort-editor-remove { flex: none; }
|
|
4079
|
+
|
|
4080
|
+
/* Add sort's fields, and in the narrow form a rule's direction, in the Popover under what was pressed: as wide as its rows, never
|
|
4081
|
+
under 192 (the kit's w-fit and min-w-48, written here since an app compiles no utilities of ViewKit's). */
|
|
4082
|
+
.o-popover.o-sort-editor-pop { width: fit-content; min-width: calc(var(--vk-spacing) * 48); }
|
|
4083
|
+
|
|
4084
|
+
/* A list a page shows standing open: under what opens it, over the rules, as the Select's list stands, as wide as its rows, never
|
|
4085
|
+
under 192 nor its box, never past 288 (listWidth, select.css). Scoped to the editor, so it wins over the smooth list's own
|
|
4086
|
+
`position: relative` (list.css), which would stand it in the row and push the row's boxes apart (Mihai, 18 Nov 2026). */
|
|
4087
|
+
.o-sort-editor .o-sort-editor-shown { position: absolute; z-index: var(--vk-layer-popup); top: 100%; left: 0; }
|
|
4088
|
+
.o-sort-editor .o-sort-editor-shown[data-sort-shown="list"] {
|
|
4089
|
+
top: calc(100% + var(--vk-spacing)); display: flex; flex-direction: column;
|
|
4090
|
+
width: max-content; min-width: max(100%, calc(var(--vk-spacing) * 48)); max-width: calc(var(--vk-spacing) * 72);
|
|
4091
|
+
}
|
|
4092
|
+
|
|
4093
|
+
/* ── On a phone: the rules in their card, or what it says with none; Add sort and Clear all ─────────────────────── */
|
|
4094
|
+
.o-sort-editor[data-sort-form="phone"] { gap: calc(var(--vk-spacing) * 3); font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
4095
|
+
.o-sort-editor-none { display: grid; gap: calc(var(--vk-spacing) * 0.5); padding: 0 calc(var(--vk-spacing) * 1); }
|
|
4096
|
+
.o-sort-editor-none p { margin: 0; }
|
|
4097
|
+
.o-sort-editor-none-head { font-weight: var(--vk-font-weight-medium); }
|
|
4098
|
+
.o-sort-editor-none-line { color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
4099
|
+
[data-sort-form="narrow"] .o-sort-editor-none-line { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); }
|
|
4100
|
+
.o-sort-editor-card .o-sort-editor-rule { gap: 0; padding-right: calc(var(--vk-spacing) * 1); border-radius: 0; }
|
|
4101
|
+
.o-sort-editor-card .o-sort-editor-rule[data-lifted] { background-color: var(--vk-overlay); }
|
|
4102
|
+
.o-sort-editor-press {
|
|
4103
|
+
display: flex; flex: 1; align-items: center; gap: calc(var(--vk-spacing) * 3); align-self: stretch; min-width: 0; margin: 0; padding: 0;
|
|
4104
|
+
border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent;
|
|
4105
|
+
}
|
|
4106
|
+
.o-sort-editor-press:focus-visible { outline: var(--vk-border-width) solid var(--vk-border-brand); outline-offset: calc(var(--vk-border-width) * -2); }
|
|
4107
|
+
[data-sort-form="phone"] .o-sort-editor-press .o-sort-editor-mark svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
|
|
4108
|
+
.o-sort-editor-words { display: grid; min-width: 0; }
|
|
4109
|
+
.o-sort-editor-name, .o-sort-editor-way { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4110
|
+
.o-sort-editor-way { color: var(--vk-fg-subtle); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
4111
|
+
[data-sort-form="narrow"] .o-sort-editor-way { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); }
|
|
4112
|
+
.o-sort-editor-more { flex: none; }
|
|
4113
|
+
.o-sort-editor-acts { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
4114
|
+
.o-sort-editor-acts .o-button { width: 100%; }
|
|
4115
|
+
|
|
4116
|
+
/* ── The narrow form: the phone's rows on the Pane's ground at a computer's sizes; Add sort and Clear all at 32 ─────────────── */
|
|
4117
|
+
.o-sort-editor[data-sort-form="narrow"] { gap: calc(var(--vk-spacing) * 3); }
|
|
4118
|
+
[data-sort-form="narrow"] .o-sort-editor-rules { gap: 0; }
|
|
4119
|
+
/* A rule's row is lit whole, ⋮ inside its ground at its end, as the Picker's row (KIT-676, KIT-819): under the pointer, lifted, and
|
|
4120
|
+
while ⋮'s menu is open; a direction's list a page shows standing in the row never lights it. The press keeps its room and its
|
|
4121
|
+
corners, for its focus ring, and has no ground of its own. */
|
|
4122
|
+
[data-sort-form="narrow"] .o-sort-editor-rule { position: relative; gap: var(--vk-spacing); padding-right: var(--vk-spacing); border-radius: var(--vk-radius-md); }
|
|
4123
|
+
[data-sort-form="narrow"] .o-sort-editor-press {
|
|
4124
|
+
min-height: calc(var(--vk-spacing) * 11); padding: var(--vk-spacing) calc(var(--vk-spacing) * 2); gap: calc(var(--vk-spacing) * 2.5); border-radius: var(--vk-radius-md);
|
|
4125
|
+
}
|
|
4126
|
+
[data-sort-form="narrow"] .o-sort-editor-rule:is([data-lifted], :has(.o-sort-editor-more:is([aria-expanded="true"], [data-popup-open]))) { background-color: var(--vk-overlay-hovered); }
|
|
4127
|
+
@media (hover: hover) { [data-sort-form="narrow"] .o-sort-editor-rule:hover:not(:has(.o-sort-editor-shown:hover)) { background-color: var(--vk-overlay-hovered); } }
|
|
4128
|
+
[data-sort-form="narrow"] .o-sort-editor-none { padding: 0 calc(var(--vk-spacing) * 2); }
|
|
4129
|
+
/* A list a page shows standing open, under its rule: never wider than the Pane's column. */
|
|
4130
|
+
.o-sort-editor[data-sort-form="narrow"] .o-sort-editor-shown[data-sort-shown="list"] { min-width: min(100%, calc(var(--vk-spacing) * 48)); max-width: 100%; }
|
|
4131
|
+
|
|
4132
|
+
/* ── A sort set aside (its field deleted or hidden), after the rules (Mihai, 27 Nov 2026) ─────────────────────────────── */
|
|
4133
|
+
/* On a computer an empty place where the grip stands; its field's box dashed in the warning colour, its words too; its
|
|
4134
|
+
direction greyed. On a phone and in the narrow form its why stands under its name in the warning colour. */
|
|
4135
|
+
.o-sort-editor-grip-place { flex: none; width: calc(var(--vk-spacing) * 5); }
|
|
4136
|
+
.o-sort-editor-why { display: flex; width: 100%; }
|
|
4137
|
+
.o-sort-editor-why > .o-select { width: 100%; }
|
|
4138
|
+
/* --input-edge is the Input's own edge colour (input.css), which the Select's box draws its edge with. */
|
|
4139
|
+
.o-sort-editor-aside .o-sort-editor-field .o-select-field { --input-edge: var(--vk-border-warning); border-style: dashed; color: var(--vk-warning); }
|
|
4140
|
+
.o-sort-editor-aside .o-sort-editor-field .o-select-placeholder { color: var(--vk-warning); }
|
|
4141
|
+
.o-sort-editor-aside .o-sort-editor-way { color: var(--vk-warning); }
|
|
4142
|
+
|
|
3237
4143
|
/* ── The arc, as a frame that names a kind other than the tail draws it (nothing picked is the tail, below) ─────────────────────────────────────────────────────────────────────── */
|
|
3238
4144
|
.o-spinner {
|
|
3239
4145
|
--o-spinner-turn: var(--vk-spinner-turn); --o-spinner-breath: var(--vk-spinner-breath); --o-spinner-weight: 1;
|
|
@@ -3800,6 +4706,90 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
3800
4706
|
.o-text-editor .o-text-editor-mirror:where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
3801
4707
|
.o-text-editor :is(.o-text-editor-country, .o-text-editor-dial):where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
3802
4708
|
|
|
4709
|
+
/* How long a toast stays, read by its script off the viewport (toastWait). */
|
|
4710
|
+
.o-toast-viewport { --toast-wait: var(--vk-toast-duration); }
|
|
4711
|
+
|
|
4712
|
+
/* ── Where it rises: centred at the bottom, 16px up; a toast that leaves and the one taking its place sit
|
|
4713
|
+
in the same spot ────────────────────────────────────────────────────────────────────────────────── */
|
|
4714
|
+
.o-toast-viewport {
|
|
4715
|
+
position: fixed; z-index: var(--vk-layer-popup); left: 0; right: 0; bottom: calc(var(--vk-spacing) * 4);
|
|
4716
|
+
display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: end; padding: 0 calc(var(--vk-spacing) * 4); pointer-events: none; outline: none;
|
|
4717
|
+
}
|
|
4718
|
+
.o-toast-viewport.o-toast-viewport-inside { position: absolute; }
|
|
4719
|
+
.o-toast-viewport > .o-toast { grid-area: 1 / 1; }
|
|
4720
|
+
|
|
4721
|
+
/* ── The toast: the page's colours turned round, like the Tooltip, so it reads at once in both themes;
|
|
4722
|
+
the radius's corners, 40px tall, 16px in on the left; it floats, so it casts the large shadow ─────── */
|
|
4723
|
+
.o-toast {
|
|
4724
|
+
display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 3); box-sizing: border-box;
|
|
4725
|
+
width: max-content; max-width: min(calc(var(--vk-spacing) * 115), 100%); min-height: calc(var(--vk-spacing) * 10);
|
|
4726
|
+
padding: calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 1.5) calc(var(--vk-spacing) * 4);
|
|
4727
|
+
border-radius: var(--vk-radius-lg); background-color: var(--vk-fg); color: var(--vk-ground); box-shadow: var(--vk-shadow-lg);
|
|
4728
|
+
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); pointer-events: auto; outline: none;
|
|
4729
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), translate var(--vk-duration-base) var(--vk-ease-out);
|
|
4730
|
+
}
|
|
4731
|
+
.o-toast:not(:has(.o-toast-act)) { padding-right: calc(var(--vk-spacing) * 4); }
|
|
4732
|
+
.o-toast:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: var(--vk-focus-offset); }
|
|
4733
|
+
/* It rises 16px and fades in; it fades out, quicker. */
|
|
4734
|
+
.o-toast[data-starting-style] { opacity: 0; translate: 0 calc(var(--vk-spacing) * 4); }
|
|
4735
|
+
.o-toast[data-ending-style] { opacity: 0; transition: opacity var(--vk-duration-fast) var(--vk-ease-in); }
|
|
4736
|
+
|
|
4737
|
+
/* ── Its words, then what to do about it: one word in the toast's words colour, semibold ─────────────── */
|
|
4738
|
+
.o-toast-words { min-width: 0; margin: 0; }
|
|
4739
|
+
.o-button.o-toast-act { color: var(--vk-ground); font-weight: var(--vk-font-weight-semibold); }
|
|
4740
|
+
/* Its focus ring hugs it, as the text kind's does. */
|
|
4741
|
+
.o-button.o-toast-act:is(:focus-visible, [data-force="focus"]) { outline-offset: 0; }
|
|
4742
|
+
|
|
4743
|
+
/* ── Working: the 14px spinner in front; failed: a circled ! in the danger colour ────────────────────── */
|
|
4744
|
+
.o-toast > .o-spinner { margin-right: calc(var(--vk-spacing) * -0.75); }
|
|
4745
|
+
.o-toast-mark { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); margin-right: calc(var(--vk-spacing) * -1); color: var(--vk-danger); }
|
|
4746
|
+
|
|
4747
|
+
/* ── A title over its words, in the medium weight ─────────────────────────────────────────────────── */
|
|
4748
|
+
.o-toast-text { display: grid; gap: calc(var(--vk-spacing) * 0.5); min-width: 0; padding: calc(var(--vk-spacing) * 1) 0; }
|
|
4749
|
+
.o-toast-title { font-size: inherit; line-height: inherit; font-weight: var(--vk-font-weight-medium); }
|
|
4750
|
+
|
|
4751
|
+
/* ── Its meaning, as a Notice's: the meaning's icon in front, in its colour (failed is the danger one) ─ */
|
|
4752
|
+
.o-toast[data-type="information"] > .o-toast-mark { color: var(--vk-info); }
|
|
4753
|
+
.o-toast[data-type="success"] > .o-toast-mark { color: var(--vk-success); }
|
|
4754
|
+
.o-toast[data-type="warning"] > .o-toast-mark { color: var(--vk-warning); }
|
|
4755
|
+
|
|
4756
|
+
/* ── A × at its end: the quiet Button, its 16px icon in the toast's colours; the pointer gives it no fill,
|
|
4757
|
+
whatever the Button's look ─────────────────────────────────────────── */
|
|
4758
|
+
/* A hover only on a screen with a pointer (iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
|
|
4759
|
+
.o-toast .o-button.o-button-quiet.o-toast-close:is([data-force="hover"], :active, [data-force="press"]) { --button-ground: transparent; --button-light: none; --button-depth: none; translate: none; color: var(--vk-ground); }
|
|
4760
|
+
@media (hover: hover) { .o-toast .o-button.o-button-quiet.o-toast-close:hover { --button-ground: transparent; --button-light: none; --button-depth: none; translate: none; color: var(--vk-ground); } }
|
|
4761
|
+
|
|
4762
|
+
/* ── Several at once: each 460px or the width it has; the newest in front, the two before it the front
|
|
4763
|
+
one's height, peeking 8px above it each, each a little narrower (twice the press's step, from its top
|
|
4764
|
+
edge) so their edges show; the pointer or focus on them spreads them out, 8px apart, each its own
|
|
4765
|
+
height and width ───────────────────────────────────────────────────────────────────────────────────── */
|
|
4766
|
+
.o-toast-viewport[data-stack] > .o-toast {
|
|
4767
|
+
width: min(calc(var(--vk-spacing) * 115), 100%); z-index: calc(var(--toast-index) * -1); overflow: hidden;
|
|
4768
|
+
transition: opacity var(--vk-duration-base) var(--vk-ease-out), translate var(--vk-duration-base) var(--vk-ease-out), scale var(--vk-duration-base) var(--vk-ease-out), height var(--vk-duration-base) var(--vk-ease-out);
|
|
4769
|
+
}
|
|
4770
|
+
.o-toast-viewport[data-stack] > .o-toast:not([data-expanded]) { height: var(--toast-frontmost-height, auto); translate: 0 calc(var(--toast-index) * var(--vk-spacing) * -2); scale: calc(1 - (1 - var(--vk-press-scale)) * var(--toast-index) * 2); transform-origin: top center; }
|
|
4771
|
+
.o-toast-viewport[data-stack] > .o-toast[data-expanded] { height: var(--toast-height, auto); translate: 0 calc((var(--toast-offset-y) + var(--toast-index) * var(--vk-spacing) * 2) * -1); }
|
|
4772
|
+
.o-toast-viewport[data-stack] > .o-toast[data-limited] { opacity: 0; pointer-events: none; }
|
|
4773
|
+
.o-toast-viewport[data-stack] > .o-toast[data-starting-style] { translate: 0 calc(var(--vk-spacing) * 4); }
|
|
4774
|
+
|
|
4775
|
+
/* Under reduced motion it appears and goes without moving. */
|
|
4776
|
+
@media (prefers-reduced-motion: reduce) { .o-toast, .o-toast-viewport[data-stack] > .o-toast { transition: none; } .o-toast[data-starting-style] { translate: none; } }
|
|
4777
|
+
/* ── Its corners smooth: following corner-smoothing, drawn with the smooth outline
|
|
4778
|
+
(smooth.css) in every browser that knows shape(); one that doesn't keeps the corners above. Its round part is fitted to its
|
|
4779
|
+
40px, as a control's is. It casts a shadow and its focus ring stands outside it, so it is never clipped: its ground is a layer
|
|
4780
|
+
inside it (::before), clipped, as the Popover's is, the shadow and the ring on itself. ── */
|
|
4781
|
+
@supports (clip-path: shape(evenodd from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close, move to 0 0, hline to 1px, close)) and (width: calc(tan(atan2(1px, 1px)) * 1px)) {
|
|
4782
|
+
.o-toast {
|
|
4783
|
+
--smooth-amount: var(--vk-corner-smoothing); --smooth-side: calc(var(--vk-spacing) * 10);
|
|
4784
|
+
--toast-fit: min(var(--vk-radius-lg), var(--vk-spacing) * 10 / (2 + 2 * var(--smooth-amount, 0.7))); --smooth-t: var(--toast-fit);
|
|
4785
|
+
position: relative; isolation: isolate; border-radius: var(--toast-fit); background-color: transparent;
|
|
4786
|
+
}
|
|
4787
|
+
.o-toast::before {
|
|
4788
|
+
content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
|
|
4789
|
+
background-color: var(--vk-fg); clip-path: shape(var(--smooth-outline));
|
|
4790
|
+
}
|
|
4791
|
+
}
|
|
4792
|
+
|
|
3803
4793
|
/* ── On: the neutral fill a step up (background-neutral-hovered), its words and icon in the text colour.
|
|
3804
4794
|
The surface's own selected fill sits 2% from its hover in light, so a toggle under the pointer would
|
|
3805
4795
|
read as on; this one is clear of it in both themes. It keeps it under the pointer and while pressed, in
|
|
@@ -3943,6 +4933,201 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
3943
4933
|
background-color: var(--vk-fg); clip-path: shape(var(--smooth-outline));
|
|
3944
4934
|
}
|
|
3945
4935
|
}
|
|
4936
|
+
|
|
4937
|
+
.o-values-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)); }
|
|
4938
|
+
.o-values-editor:focus { outline: none; }
|
|
4939
|
+
.o-values-editor svg:where(:not(.o-popup-line > svg)) { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
4940
|
+
/* A fixed value's tick in its circle (the Picker's) stands at 16 here too, wherever the Picker's stylesheet stands in the page. */
|
|
4941
|
+
.o-values-editor .o-picker-circle > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
4942
|
+
|
|
4943
|
+
/* ── The rows: 34 high, 2 apart ─────────────────────────────────────────────────────────────────────────────────── */
|
|
4944
|
+
.o-values-editor-rows { display: flex; flex-direction: column; gap: calc(var(--vk-spacing) * 0.5); }
|
|
4945
|
+
.o-values-editor-row {
|
|
4946
|
+
position: relative; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 1.5); box-sizing: border-box; height: calc(var(--vk-spacing) * 8.5);
|
|
4947
|
+
padding: 0 calc(var(--vk-spacing) * 2) 0 calc(var(--vk-spacing) * 0.5); border-radius: var(--vk-radius-lg); white-space: nowrap;
|
|
4948
|
+
}
|
|
4949
|
+
/* A hover only on a screen with a pointer (KIT-368: iOS keeps :hover on what was last tapped); a press and the forced state stay out. */
|
|
4950
|
+
@media (hover: hover) { .o-values-editor-row:hover { background-color: var(--vk-overlay-hovered); } }
|
|
4951
|
+
/* Held by its grip, it lifts over the others. */
|
|
4952
|
+
.o-values-editor-row[data-lifted], .o-values-editor [data-lifted] { position: relative; z-index: var(--vk-layer-popup); }
|
|
4953
|
+
.o-values-editor-row[data-lifted] { background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg), inset 0 0 0 var(--vk-border-width) var(--vk-border); }
|
|
4954
|
+
.o-values-editor-grip { flex: none; touch-action: none; }
|
|
4955
|
+
.o-values-editor-value:focus-visible, .o-values-editor-label:is(button):not(.o-button):focus-visible, .o-values-editor-minus:not(.o-button):focus-visible {
|
|
4956
|
+
outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: calc(-1 * var(--vk-focus-width));
|
|
4957
|
+
}
|
|
4958
|
+
/* The value: a link to look at; a press edits it. */
|
|
4959
|
+
.o-values-editor-value {
|
|
4960
|
+
min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; font: inherit; text-align: left; cursor: text;
|
|
4961
|
+
overflow: hidden; text-overflow: ellipsis; color: var(--vk-fg-brand); text-decoration: underline; text-underline-offset: calc(var(--vk-spacing) * 0.75); font-variant-numeric: tabular-nums;
|
|
4962
|
+
}
|
|
4963
|
+
.o-values-editor-main {
|
|
4964
|
+
flex: none; display: inline-flex; align-items: center; height: calc(var(--vk-spacing) * 4.5); padding: 0 calc(var(--vk-spacing) * 1.5); border-radius: var(--vk-radius-full);
|
|
4965
|
+
background-color: var(--vk-neutral); color: var(--vk-fg-subtle); font-size: var(--vk-font-size-xs); font-weight: var(--vk-font-weight-medium);
|
|
4966
|
+
}
|
|
4967
|
+
.o-values-editor-label { flex: none; margin-left: auto; color: var(--vk-fg-subtle); font-size: var(--vk-font-size-xs); }
|
|
4968
|
+
.o-values-editor-remove { flex: none; opacity: 0; }
|
|
4969
|
+
.o-values-editor-row:not(:has(.o-values-editor-label)) .o-values-editor-remove { margin-left: auto; }
|
|
4970
|
+
.o-values-editor-remove:focus-visible { opacity: 1; }
|
|
4971
|
+
@media (hover: hover) { .o-values-editor-row:hover .o-values-editor-remove { opacity: 1; } }
|
|
4972
|
+
/* On a touch screen, where no pointer hovers, every row's remove stands always, as the phone form's does (KIT-425). */
|
|
4973
|
+
@media (hover: none) { .o-values-editor-remove { opacity: 1; } }
|
|
4974
|
+
/* A value being edited: the kit's Input in a cell (an InputGroup, its label a Button in its end addon), across the row. */
|
|
4975
|
+
.o-values-editor-rows .o-values-editor-edit { flex: 1; min-width: 0; }
|
|
4976
|
+
|
|
4977
|
+
/* ── The line to add one. Every form's: a row, its words on one line, its icon quieter. In Mihai's look on a computer it is the
|
|
4978
|
+
shared line across a popup's top, at its foot (ViewKit's popup-line.css, through lib/popup-line, data-at="foot"), its measures the line's own (KIT-498), its line over it; a
|
|
4979
|
+
ring in focus, a danger line refused. Attio's (a plus, below) and the phone's (further down) draw their own. ──────────── */
|
|
4980
|
+
.o-values-editor-line { display: flex; align-items: center; box-sizing: border-box; white-space: nowrap; }
|
|
4981
|
+
.o-values-editor-line > svg { color: var(--vk-fg-subtlest); }
|
|
4982
|
+
.o-values-editor-rows + .o-values-editor-error + .o-values-editor-line.o-popup-line, .o-values-editor > .o-values-editor-line.o-popup-line:first-child { margin-top: calc(-1 * var(--popup-line-reach)); }
|
|
4983
|
+
.o-values-editor > .o-values-editor-line.o-popup-line:first-child { border-top: 0; }
|
|
4984
|
+
.o-values-editor > .o-values-editor-line.o-popup-line:first-child::after { content: none; }
|
|
4985
|
+
.o-values-editor-line.o-popup-line:focus-within { box-shadow: inset 0 0 0 var(--vk-focus-width) var(--vk-border-brand); border-radius: 0 0 var(--popover-corners, var(--vk-radius-xl)) var(--popover-corners, var(--vk-radius-xl)); }
|
|
4986
|
+
.o-values-editor > .o-values-editor-line.o-popup-line:first-child:focus-within { border-radius: var(--popover-corners, var(--vk-radius-xl)); }
|
|
4987
|
+
.o-values-editor .o-values-editor-line.o-popup-line[data-bad] { margin-bottom: 0; box-shadow: inset 0 calc(-1 * var(--vk-focus-width)) 0 var(--vk-border-danger); border-radius: 0; }
|
|
4988
|
+
/* The line's box, on a computer and a phone, and each of Mihai's cards' is the kit's Input, bare, its digits lined up (numeric;
|
|
4989
|
+
KIT-483): what it draws is the Input's own, a value cut at rest ending in "…". */
|
|
4990
|
+
.o-values-editor-code { flex: none; }
|
|
4991
|
+
.o-values-editor-prefix { flex: none; color: var(--vk-fg-subtle); font-variant-numeric: tabular-nums; }
|
|
4992
|
+
.o-values-editor-error { margin: calc(var(--vk-spacing) * 2) var(--vk-spacing) 0; font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); color: var(--vk-danger); }
|
|
4993
|
+
.o-values-editor-rows + .o-values-editor-error { margin: var(--vk-spacing) var(--vk-spacing) 0; }
|
|
4994
|
+
/* A list in the rows' place: a back row, the shared line across a popup's top (ViewKit's popup-line.css, through lib/popup-line), ‹ where the line's icon
|
|
4995
|
+
stands, as the Picker's level (KIT-498), then the Picker. */
|
|
4996
|
+
.o-values-editor-back { font-weight: var(--vk-font-weight-medium); }
|
|
4997
|
+
|
|
4998
|
+
/* ── On a phone, Mihai's look: a card for each value, 56 high, the grip ≡, ⊖, and a line with Add at the foot ──────── */
|
|
4999
|
+
.o-values-editor[data-values-form="phone"] { display: grid; font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); }
|
|
5000
|
+
/* Its cards and their rows are Field rows' (KIT-622), in the look this editor hands it (values-editor.tsx, MIHAI_CARDS and
|
|
5001
|
+
ATTIO_ROWS); what a row holds and where stays here. */
|
|
5002
|
+
.o-values-editor-card { white-space: nowrap; }
|
|
5003
|
+
.o-values-editor-card .o-values-editor-label { font-size: var(--vk-font-size-sm); }
|
|
5004
|
+
.o-values-editor-minus { flex: none; }
|
|
5005
|
+
/* Its mark, a drawn bar: the span in the Button's label, never the Button's cut (KIT-645: a bare span inside the Button took the
|
|
5006
|
+
cut's two spans too, and ⊖ drew as a red sliver over a white dash). */
|
|
5007
|
+
.o-values-editor-minus > [data-slot="vk-button-label"] > span { display: block; width: calc(var(--vk-spacing) * 2.5); height: calc(var(--vk-spacing) * 0.5); border-radius: var(--vk-radius-full); background-color: var(--vk-fg-inverse); }
|
|
5008
|
+
.o-values-editor [data-lifted] > .o-values-editor-card { background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
|
|
5009
|
+
.o-values-editor-adding { display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2.5); }
|
|
5010
|
+
.o-values-editor-new { flex: 1; min-width: 0; }
|
|
5011
|
+
.o-values-editor-new > svg { color: var(--vk-fg-subtlest); }
|
|
5012
|
+
.o-values-editor-new .o-values-editor-prefix { margin-left: calc(var(--vk-spacing) * -1); }
|
|
5013
|
+
|
|
5014
|
+
/* ── Attio's look on a computer (data-values-rows="copy", data-values-line="plus") ──────────────────────────────────── */
|
|
5015
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-rows { gap: 0; }
|
|
5016
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-row { gap: var(--vk-spacing); height: calc(var(--vk-spacing) * 8); padding: 0 var(--vk-spacing) 0 0; border-radius: var(--vk-radius-md); }
|
|
5017
|
+
@media (hover: hover) { .o-values-editor[data-values-rows="copy"] .o-values-editor-row:hover { background-color: transparent; } }
|
|
5018
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-row[data-lifted] { background-color: var(--vk-overlay); }
|
|
5019
|
+
.o-values-editor[data-values-holds="one"] .o-values-editor-row { padding-left: var(--vk-spacing); }
|
|
5020
|
+
/* The value in its pill: the pill shows under the pointer and in focus, and takes its copy's room after the value's end, so the
|
|
5021
|
+
value reads to its last letter, its copy after it (KIT-488, Mihai's pick, 20 Nov 2026: "Make room for it"); only a value too
|
|
5022
|
+
long for its row's room gives way, cut with … before its copy. The row's label and trash stay where they stood. */
|
|
5023
|
+
.o-values-editor-pill {
|
|
5024
|
+
position: relative; display: inline-flex; align-items: center; min-width: 0; max-width: 100%;
|
|
5025
|
+
padding: calc(var(--vk-spacing) * 0.5) calc(var(--vk-spacing) * 1.5); margin-left: calc(var(--vk-spacing) * -0.5); border-radius: var(--vk-radius-sm);
|
|
5026
|
+
}
|
|
5027
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-value { display: block; text-decoration-color: var(--vk-brand-subtler); }
|
|
5028
|
+
.o-values-editor-copy { opacity: 0; }
|
|
5029
|
+
.o-values-editor-row:focus-within .o-values-editor-pill { background-color: var(--vk-overlay-hovered); }
|
|
5030
|
+
@media (hover: hover) { .o-values-editor-row:hover .o-values-editor-pill { background-color: var(--vk-overlay-hovered); } }
|
|
5031
|
+
.o-values-editor-row:focus-within .o-values-editor-copy, .o-values-editor-copy[data-copied] { opacity: 1; }
|
|
5032
|
+
@media (hover: hover) { .o-values-editor-row:hover .o-values-editor-copy { opacity: 1; } }
|
|
5033
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-row:focus-within .o-values-editor-pill,
|
|
5034
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-pill:has(> .o-values-editor-copy[data-copied]) { padding-right: calc(var(--vk-spacing) * 6); }
|
|
5035
|
+
@media (hover: hover) { .o-values-editor[data-values-rows="copy"] .o-values-editor-row:hover .o-values-editor-pill { padding-right: calc(var(--vk-spacing) * 6); } }
|
|
5036
|
+
/* On a touch screen, where no pointer hovers, every value's copy stands always, after the value's end in the pill's own room,
|
|
5037
|
+
every value whole (KIT-444, Mihai's pick D, 13 Nov 2026), as under a pointer (KIT-488). */
|
|
5038
|
+
@media (hover: none) {
|
|
5039
|
+
.o-values-editor-copy { opacity: 1; }
|
|
5040
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-pill { padding-right: calc(var(--vk-spacing) * 6); }
|
|
5041
|
+
}
|
|
5042
|
+
/* A long email, on one line: its name cut, its domain whole beside its copy (KIT-455, Mihai's pick C, 13 Nov 2026), on a touch
|
|
5043
|
+
screen and under a pointer alike (KIT-808, Mihai's pick, 20 Nov 2026: "As on the phone"), and in Mihai's look's rows too,
|
|
5044
|
+
beside Main ("Yes, his look too", the same day). */
|
|
5045
|
+
.o-values-editor .o-values-editor-value:has(> .o-values-editor-domain) { display: flex; }
|
|
5046
|
+
.o-values-editor-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
|
5047
|
+
.o-values-editor-domain { flex: none; white-space: nowrap; }
|
|
5048
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-label { color: var(--vk-fg-subtlest); font-size: var(--vk-font-size-sm); }
|
|
5049
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-row:not(:has(.o-values-editor-label)) .o-values-editor-remove { margin-left: auto; }
|
|
5050
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-row:focus-within .o-values-editor-remove { opacity: 1; }
|
|
5051
|
+
/* A value edited: the in-cell Input's hairline, 2px further out than the row's words. */
|
|
5052
|
+
.o-values-editor[data-values-rows="copy"] .o-values-editor-edit { margin-left: calc(var(--vk-spacing) * -0.5); }
|
|
5053
|
+
|
|
5054
|
+
/* The line: 36 high under a hairline inside the Popover's padding, a + in the grips' column, the caret and no ring. */
|
|
5055
|
+
.o-values-editor[data-values-line="plus"] .o-values-editor-line, .o-values-editor[data-values-line="plus"] .o-values-editor-rows + .o-values-editor-error + .o-values-editor-line {
|
|
5056
|
+
gap: var(--vk-spacing); min-height: calc(var(--vk-spacing) * 10 + var(--vk-border-width)); margin: var(--vk-spacing) 0 0; padding: var(--vk-spacing) 0 0; border-top: var(--vk-border-width) solid var(--vk-border-subtle);
|
|
5057
|
+
box-shadow: none; border-radius: 0;
|
|
5058
|
+
}
|
|
5059
|
+
.o-values-editor[data-values-line="plus"] > .o-values-editor-line:first-child { margin: 0; padding: 0; border-top: 0; }
|
|
5060
|
+
/* In the Popover its hairline is a line inside a floating surface (KIT-863): drawn in from each end as the list's Dividers say, Inset
|
|
5061
|
+
by a row's 8, Rows as wide as the values, Full width to the Popover's edge, inside it, in the Popover's line colour; the first, standing alone, has none. */
|
|
5062
|
+
.o-popover :is(.o-values-editor[data-values-line="plus"] .o-values-editor-line:not(:first-child), .o-values-editor[data-values-line="plus"] .o-values-editor-rows + .o-values-editor-error + .o-values-editor-line) {
|
|
5063
|
+
--values-line-in: calc(var(--vk-spacing) * 2 * var(--dividers-words, 1) - (1 - var(--dividers-rows, 1)) * var(--divider-reach, 0px));
|
|
5064
|
+
position: relative; border-top-color: transparent;
|
|
5065
|
+
}
|
|
5066
|
+
.o-popover :is(.o-values-editor[data-values-line="plus"] .o-values-editor-line:not(:first-child), .o-values-editor[data-values-line="plus"] .o-values-editor-rows + .o-values-editor-error + .o-values-editor-line)::after {
|
|
5067
|
+
content: ""; position: absolute; left: var(--values-line-in); right: var(--values-line-in); top: calc(-1 * var(--vk-border-width)); height: var(--vk-border-width);
|
|
5068
|
+
background-color: var(--divider-colour, var(--vk-border-subtle)); pointer-events: none;
|
|
5069
|
+
}
|
|
5070
|
+
.o-values-editor[data-values-line="plus"] .o-values-editor-line:focus-within, .o-values-editor[data-values-line="plus"] .o-values-editor-line[data-bad] { box-shadow: none; border-radius: 0; }
|
|
5071
|
+
.o-values-editor-plus { flex: none; display: grid; place-items: center; width: calc(var(--vk-spacing) * 6); color: var(--vk-fg-subtle); }
|
|
5072
|
+
.o-values-editor[data-values-line="plus"] .o-values-editor-prefix { color: var(--vk-fg-subtlest); }
|
|
5073
|
+
.o-values-editor[data-values-line="plus"] .o-values-editor-error { margin: var(--vk-spacing) 0 var(--vk-spacing) calc(var(--vk-spacing) * 7); }
|
|
5074
|
+
|
|
5075
|
+
/* ── Attio's look on a phone (data-values-phone="rows"): one card, rows 48 high at 16, each with its grip, its label, its call,
|
|
5076
|
+
write or open and its trash; the line in the card under a line; a refusal's words under the card ─────────────────── */
|
|
5077
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-card { white-space: normal; }
|
|
5078
|
+
/* Its row's inside: the grip at its start's edge, its acts at its end, the computer's row height let go. */
|
|
5079
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row { gap: 0; height: auto; padding: 0 var(--vk-spacing) 0 calc(var(--vk-spacing) * 0.5); border-radius: 0; }
|
|
5080
|
+
@media (hover: hover) { .o-values-editor[data-values-phone="rows"] .o-values-editor-row:hover { background-color: transparent; } }
|
|
5081
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row[data-lifted] { background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
|
|
5082
|
+
.o-values-editor[data-values-holds="one"][data-values-phone="rows"] .o-values-editor-row { padding-left: calc(var(--vk-spacing) * 3); }
|
|
5083
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-value { flex: 0 1 auto; min-width: 0; min-height: calc(var(--vk-spacing) * 11); cursor: text; text-decoration-color: var(--vk-brand-subtler); text-underline-offset: var(--vk-spacing); }
|
|
5084
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-label { margin-left: auto; padding-left: calc(var(--vk-spacing) * 2); color: var(--vk-fg-subtlest); font-size: var(--vk-font-size-sm); }
|
|
5085
|
+
.o-values-editor-acts { display: flex; flex: none; margin-left: auto; }
|
|
5086
|
+
.o-values-editor-label + .o-values-editor-acts { margin-left: 0; }
|
|
5087
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-remove { opacity: 1; }
|
|
5088
|
+
/* A value edited: the kit's Input in a cell across the row, 4px short of its end; its words the Sheet's, 16 on 24 (KIT-369). */
|
|
5089
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-card .o-values-editor-edit { flex: 1; min-width: 0; margin: 0 var(--vk-spacing) 0 0; font-size: inherit; line-height: inherit; }
|
|
5090
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-card > .o-values-editor-error { margin: 0 calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 8.5); font-size: var(--vk-font-size-sm); }
|
|
5091
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-line {
|
|
5092
|
+
display: flex; align-items: center; gap: calc(var(--vk-spacing) * 0.5); min-height: calc(var(--vk-spacing) * 12); margin: 0; padding: 0 calc(var(--vk-spacing) * 3) 0 calc(var(--vk-spacing) * 0.5);
|
|
5093
|
+
border-top: var(--vk-border-width) solid var(--vk-border-overlay-card); box-shadow: none; border-radius: 0;
|
|
5094
|
+
}
|
|
5095
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-card > .o-values-editor-line:first-child { border-top: 0; }
|
|
5096
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-line .o-values-editor-plus { width: calc(var(--vk-spacing) * 8); }
|
|
5097
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-line .o-values-editor-plus svg { width: calc(var(--vk-spacing) * 4.5); height: calc(var(--vk-spacing) * 4.5); }
|
|
5098
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-line .o-values-editor-prefix { margin-right: var(--vk-spacing); color: var(--vk-fg-subtlest); }
|
|
5099
|
+
.o-values-editor[data-values-phone="rows"] > .o-values-editor-error { margin: calc(var(--vk-spacing) * 2) var(--vk-spacing) 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
5100
|
+
|
|
5101
|
+
/* ── Where its buttons stand: the editor's own places, the Button drawing the rest (KIT-492) ─────────────────────────────── */
|
|
5102
|
+
.o-values-editor[data-values-form="computer"]:not([data-values-rows="copy"]) .o-values-editor-row .o-button.o-values-editor-remove { margin: 0 calc(var(--vk-spacing) * -1) 0 0; }
|
|
5103
|
+
.o-values-editor[data-values-form="computer"] .o-values-editor-row:not(:has(.o-values-editor-label)) .o-button.o-values-editor-remove { margin-left: auto; }
|
|
5104
|
+
.o-values-editor[data-values-form="computer"] .o-values-editor-row[data-lifted] .o-button.o-values-editor-grip { cursor: grabbing; }
|
|
5105
|
+
/* Copy after the value's end, in the pill's own room (KIT-444, KIT-488). */
|
|
5106
|
+
.o-values-editor[data-values-form="computer"] .o-values-editor-row .o-button.o-values-editor-copy { position: absolute; top: 50%; right: 0; margin: calc(var(--vk-spacing) * -2.5) 0 0; }
|
|
5107
|
+
.o-values-editor[data-values-form="computer"]:not([data-values-line="plus"]) .o-values-editor-line .o-button.o-values-editor-code { margin: 0 0 0 calc(var(--vk-spacing) * -1); }
|
|
5108
|
+
.o-values-editor[data-values-form="phone"] .o-values-editor-row .o-button.o-values-editor-grip { margin-left: calc(var(--vk-spacing) * -1); }
|
|
5109
|
+
.o-values-editor[data-values-form="phone"] .o-values-editor-row[data-lifted] .o-button.o-values-editor-grip { cursor: grabbing; }
|
|
5110
|
+
.o-values-editor[data-values-form="phone"] .o-values-editor-acts .o-button:is(.o-values-editor-open, .o-values-editor-remove) { margin: 0; }
|
|
5111
|
+
.o-values-editor[data-values-form="phone"] .o-values-editor-line .o-button.o-values-editor-code { margin: 0 0 0 calc(var(--vk-spacing) * 0.5); }
|
|
5112
|
+
.o-values-editor[data-values-form="phone"] .o-values-editor-cards .o-values-editor-card .o-button.o-values-editor-grip { margin-left: calc(var(--vk-spacing) * -1); }
|
|
5113
|
+
.o-values-editor[data-values-form="phone"] .o-values-editor-cards [data-lifted] .o-values-editor-card .o-button.o-values-editor-grip { cursor: grabbing; }
|
|
5114
|
+
.o-values-editor[data-values-form="phone"] .o-values-editor-cards .o-values-editor-card .o-button.o-values-editor-label { margin: 0 0 0 auto; }
|
|
5115
|
+
.o-values-editor[data-values-form="phone"] .o-values-editor-cards .o-values-editor-card .o-button.o-values-editor-minus, .o-values-editor[data-values-form="phone"] .o-values-editor-new .o-button.o-values-editor-code { margin: 0; }
|
|
5116
|
+
|
|
5117
|
+
/* The pressing area under 640px (L2, the kit's own rule for packed targets): half the room to the next target, so no area
|
|
5118
|
+
reaches another. None where they stand flush: across Attio's phone rows and line, and across and up and down the computer's
|
|
5119
|
+
rows (24px buttons in rows of 32 and 34 with no gap); 6px across on Mihai's cards. These need only outweigh press.css's
|
|
5120
|
+
rooms (three classes at most). */
|
|
5121
|
+
.o-values-editor[data-values-form="computer"] .o-values-editor-row .o-button:is(.o-values-editor-grip, .o-values-editor-remove, .o-values-editor-copy),
|
|
5122
|
+
.o-values-editor[data-values-form="computer"] .o-values-editor-edit .o-button.o-values-editor-edit-label { --pressing-room-x: 0px; --pressing-room-y: 0px; }
|
|
5123
|
+
.o-values-editor[data-values-form="computer"] .o-values-editor-line .o-button.o-values-editor-code,
|
|
5124
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-card .o-button:is(.o-values-editor-grip, .o-values-editor-open, .o-values-editor-remove, .o-values-editor-code, .o-values-editor-edit-label) { --pressing-room-x: 0px; }
|
|
5125
|
+
.o-values-editor[data-values-phone="cards"] :is(.o-values-editor-cards, .o-values-editor-new) .o-button:is(.o-values-editor-grip, .o-values-editor-label, .o-values-editor-minus, .o-values-editor-code) { --pressing-room-x: calc(var(--vk-spacing) * 1.5); }
|
|
5126
|
+
.o-values-editor :is(.o-values-editor-line-input, .o-values-editor-card-input):where([data-vk-phone], [data-vk-phone] *) { font-size: var(--vk-font-size-base); }
|
|
5127
|
+
.o-views-list { display: contents; }
|
|
5128
|
+
.o-views-list-mark { display: inline-grid; place-items: center; color: var(--vk-fg-subtle); }
|
|
5129
|
+
.o-views-list-mark > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
5130
|
+
.o-picker[data-picker-form="phone"] .o-views-list-mark > svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
|
|
3946
5131
|
.\@container {
|
|
3947
5132
|
container-type: inline-size;
|
|
3948
5133
|
}
|
|
@@ -4651,6 +5836,9 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
4651
5836
|
.min-w-32 {
|
|
4652
5837
|
min-width: calc(4px * 32);
|
|
4653
5838
|
}
|
|
5839
|
+
.min-w-\[calc\(var\(--vk-spacing\,var\(--spacing\)\)\*48\)\] {
|
|
5840
|
+
min-width: calc(var(--vk-spacing,4px) * 48);
|
|
5841
|
+
}
|
|
4654
5842
|
.flex-1 {
|
|
4655
5843
|
flex: 1;
|
|
4656
5844
|
}
|
|
@@ -6513,6 +7701,47 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6513
7701
|
--vk-label-teal-fill: hsl(196 52% 91.5%);
|
|
6514
7702
|
--vk-label-teal-edge: hsl(196 52% 74.5%);
|
|
6515
7703
|
--vk-label-teal-strong: hsl(193 82% 26%);
|
|
7704
|
+
--vk-layer-popup: 50;
|
|
7705
|
+
--vk-backdrop-alert-medium: hsl(214 30% 10% / 0.15);
|
|
7706
|
+
--vk-duration-base: 200ms;
|
|
7707
|
+
--vk-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
7708
|
+
--vk-backdrop-alert-light: hsl(214 30% 10% / 0.08);
|
|
7709
|
+
--vk-backdrop-alert-deep: hsl(214 30% 10% / 0.24);
|
|
7710
|
+
--vk-backdrop-veil-medium: hsl(0 0% 100% / 0.56);
|
|
7711
|
+
--vk-backdrop-veil-light: hsl(0 0% 100% / 0.4);
|
|
7712
|
+
--vk-backdrop-veil: hsl(0 0% 100% / 0.72);
|
|
7713
|
+
--vk-blur-xs: 4px;
|
|
7714
|
+
--vk-blur-sm: 8px;
|
|
7715
|
+
--vk-blur-md: 12px;
|
|
7716
|
+
--vk-blur-lg: 24px;
|
|
7717
|
+
--vk-spacing: 4px;
|
|
7718
|
+
--vk-radius-2xl: 20px;
|
|
7719
|
+
--vk-container-sm: 384px;
|
|
7720
|
+
--vk-border-width: 1px;
|
|
7721
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
7722
|
+
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
7723
|
+
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
7724
|
+
--vk-push-scale: 0.94;
|
|
7725
|
+
--vk-duration-fast: 150ms;
|
|
7726
|
+
--vk-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
7727
|
+
--vk-radius-lg: 10px;
|
|
7728
|
+
--vk-radius-xl: 15px;
|
|
7729
|
+
--vk-radius-3xl: 26.67px;
|
|
7730
|
+
--vk-font-size-lg: 18px;
|
|
7731
|
+
--vk-font-size-base: 16px;
|
|
7732
|
+
--vk-line-height-base: 1.5;
|
|
7733
|
+
--vk-font-weight-semibold: 600;
|
|
7734
|
+
--vk-font-size-sm: 14px;
|
|
7735
|
+
--vk-line-height-sm: 1.4286;
|
|
7736
|
+
--vk-overlay-card: hsl(0 0% 94%);
|
|
7737
|
+
--vk-overlay-card-pressed: hsl(220 7% 90%);
|
|
7738
|
+
--vk-radius-full: 9999px;
|
|
7739
|
+
--vk-brand-subtler: hsl(218 100% 94%);
|
|
7740
|
+
--vk-fg-accent: hsl(219 87% 54%);
|
|
7741
|
+
--vk-info-subtler: hsl(218 100% 94%);
|
|
7742
|
+
--vk-success-subtler: hsl(143 41% 91%);
|
|
7743
|
+
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
7744
|
+
--vk-danger-subtler: hsl(6 100% 94%);
|
|
6516
7745
|
--vk-person-1: #d7a77e;
|
|
6517
7746
|
--vk-person-2: #93b6ce;
|
|
6518
7747
|
--vk-person-3: #afc98f;
|
|
@@ -6521,26 +7750,17 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6521
7750
|
--vk-person-6: #9dabdd;
|
|
6522
7751
|
--vk-person-fg: #10141a;
|
|
6523
7752
|
--vk-success-bold: hsl(158 98% 26%);
|
|
6524
|
-
--vk-border-width: 1px;
|
|
6525
7753
|
--vk-dot-size: 6px;
|
|
6526
7754
|
--vk-font-size-2xl: 24px;
|
|
6527
7755
|
--vk-font-size-2xs: 10px;
|
|
6528
7756
|
--vk-font-size-3xs: 8px;
|
|
6529
|
-
--vk-font-size-sm: 14px;
|
|
6530
7757
|
--vk-font-size-xs: 12px;
|
|
6531
|
-
--vk-font-weight-semibold: 600;
|
|
6532
|
-
--vk-radius-2xl: 20px;
|
|
6533
|
-
--vk-radius-full: 9999px;
|
|
6534
|
-
--vk-radius-lg: 10px;
|
|
6535
7758
|
--vk-radius-md: 7.5px;
|
|
6536
7759
|
--vk-radius-sm: 5px;
|
|
6537
|
-
--vk-radius-xl: 15px;
|
|
6538
7760
|
--vk-radius-xs: 2.5px;
|
|
6539
|
-
--vk-spacing: 4px;
|
|
6540
7761
|
--vk-tracking-normal: 0em;
|
|
6541
7762
|
--vk-brand-hovered: hsl(219 70% 46.5%);
|
|
6542
7763
|
--vk-brand-pressed: hsl(219 70% 38%);
|
|
6543
|
-
--vk-brand-subtler: hsl(218 100% 94%);
|
|
6544
7764
|
--vk-brand-subtler-hovered: hsl(218 100% 89%);
|
|
6545
7765
|
--vk-brand-subtler-pressed: hsl(218 97% 82%);
|
|
6546
7766
|
--vk-danger-bold: hsl(0 81% 58%);
|
|
@@ -6562,15 +7782,10 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6562
7782
|
--vk-raised-hovered: hsl(220 3% 97%);
|
|
6563
7783
|
--vk-overlay-hovered: hsl(220 3% 97%);
|
|
6564
7784
|
--vk-overlay-pressed: hsl(0 0% 94%);
|
|
6565
|
-
--vk-overlay-card-pressed: hsl(220 7% 90%);
|
|
6566
7785
|
--vk-fg-disabled: hsl(210 1% 72%);
|
|
6567
|
-
--vk-fg-accent: hsl(219 87% 54%);
|
|
6568
7786
|
--vk-corner-smoothing: 0.7;
|
|
6569
7787
|
--vk-duration-instant: 60ms;
|
|
6570
|
-
--vk-duration-fast: 150ms;
|
|
6571
|
-
--vk-duration-base: 200ms;
|
|
6572
7788
|
--vk-duration-slow: 300ms;
|
|
6573
|
-
--vk-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
6574
7789
|
--vk-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
6575
7790
|
--vk-focus-width: 2px;
|
|
6576
7791
|
--vk-focus-offset: 2px;
|
|
@@ -6593,22 +7808,19 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6593
7808
|
--vk-shadow-rim-bold: inset 0 1px 0 0 hsl(0 0% 100% / 0.22);
|
|
6594
7809
|
--vk-shadow-rim-bold-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.3);
|
|
6595
7810
|
--vk-shadow-rim-raised: inset 0 1px 0 0 hsl(0 0% 100% / 0.14);
|
|
6596
|
-
--vk-font-size-base: 16px;
|
|
6597
|
-
--vk-font-size-lg: 18px;
|
|
6598
7811
|
--vk-border-danger: hsl(3 87% 68%);
|
|
6599
7812
|
--vk-input: hsl(0 0% 100% / 0);
|
|
6600
|
-
--vk-line-height-sm: 1.4286;
|
|
6601
7813
|
--vk-selected: hsl(0 0% 94.5%);
|
|
6602
7814
|
--vk-sunken: hsl(0 0% 98%);
|
|
6603
7815
|
--vk-sunken-hovered: hsl(0 0% 94.5%);
|
|
6604
|
-
--vk-
|
|
7816
|
+
--vk-ease-out-sharp: cubic-bezier(0.23, 1, 0.32, 1);
|
|
6605
7817
|
--vk-line-height-xs: 1.3333;
|
|
6606
7818
|
--vk-border-accent: hsl(219 90% 65.5%);
|
|
6607
7819
|
--vk-font-size-xl: 20px;
|
|
6608
7820
|
--vk-font-weight-normal: 400;
|
|
6609
|
-
--vk-overlay-card: hsl(0 0% 94%);
|
|
6610
7821
|
--vk-tracking-wide: 0.025em;
|
|
6611
7822
|
--vk-border-overlay-card: hsl(220 3% 86%);
|
|
7823
|
+
--vk-border-warning: hsl(20 63% 57.5%);
|
|
6612
7824
|
--vk-glass: hsl(0 0% 97% / 0.72);
|
|
6613
7825
|
--vk-glass-rim-soft: hsl(0 0% 100% / 0.82);
|
|
6614
7826
|
--vk-glass-rim-faint: hsl(0 0% 100% / 0.55);
|
|
@@ -6616,7 +7828,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6616
7828
|
--vk-shadow-glass: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.15);
|
|
6617
7829
|
--vk-shadow-glass-pair: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.12);
|
|
6618
7830
|
--vk-shadow-glass-pill: 0 1px 3px 0 hsl(214 20% 10% / 0.06), 0 10px 56px 6px hsl(214 20% 10% / 0.1);
|
|
6619
|
-
--vk-blur-md: 12px;
|
|
6620
7831
|
--vk-glass-icon-stroke: 1.7;
|
|
6621
7832
|
--vk-brand-300: hsl(218 100% 89%);
|
|
6622
7833
|
--vk-border-input-strong: hsl(210 1% 72%);
|
|
@@ -6627,23 +7838,31 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6627
7838
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
|
|
6628
7839
|
--vk-font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
6629
7840
|
--vk-overlay-selected: hsl(220 7% 90%);
|
|
6630
|
-
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
6631
7841
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
6632
7842
|
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
6633
|
-
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
6634
7843
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
6635
|
-
--vk-layer-popup: 50;
|
|
6636
7844
|
--vk-label-amber-pressed: hsl(24 86% 35.5%);
|
|
6637
7845
|
--vk-label-blue-pressed: hsl(219 70% 46.5%);
|
|
6638
7846
|
--vk-label-green-pressed: hsl(157 88% 24%);
|
|
6639
7847
|
--vk-label-purple-pressed: hsl(260 65% 55%);
|
|
6640
|
-
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
6641
|
-
--vk-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
6642
7848
|
--vk-hold-delay: 500ms;
|
|
6643
7849
|
--vk-submenu-delay: 100ms;
|
|
7850
|
+
--vk-layer-drawer: 40;
|
|
7851
|
+
--vk-backdrop-modal-light: hsl(214 30% 10% / 0.06);
|
|
7852
|
+
--vk-backdrop-modal-medium: hsl(214 30% 10% / 0.12);
|
|
7853
|
+
--vk-backdrop-modal-deep: hsl(214 30% 10% / 0.2);
|
|
7854
|
+
--vk-backdrop-modal-veil-light: hsl(0 0% 100% / 0.4);
|
|
7855
|
+
--vk-backdrop-modal-veil-medium: hsl(0 0% 100% / 0.56);
|
|
7856
|
+
--vk-backdrop-modal-veil-deep: hsl(0 0% 100% / 0.72);
|
|
7857
|
+
--vk-container-2xl: 672px;
|
|
7858
|
+
--vk-container-lg: 512px;
|
|
7859
|
+
--vk-container-4xl: 896px;
|
|
7860
|
+
--vk-container-5xl: 1024px;
|
|
7861
|
+
--vk-border-modal-ring: hsl(210 1% 88%);
|
|
7862
|
+
--vk-border-modal-edge: hsl(220 3% 86%);
|
|
7863
|
+
--vk-shadow-menu: 0 6px 18px hsl(0 0% 0% / 0.06), 0 3px 9px hsl(0 0% 0% / 0.05), 0 1px 1px hsl(0 0% 0% / 0.04);
|
|
6644
7864
|
--vk-header: hsl(0 0% 100%);
|
|
6645
|
-
--vk-
|
|
6646
|
-
--vk-blur-sm: 8px;
|
|
7865
|
+
--vk-border-selected: hsl(219 90% 65.5%);
|
|
6647
7866
|
--vk-scrollbar-size: 6px;
|
|
6648
7867
|
--vk-scrollbar-inset: 2px;
|
|
6649
7868
|
--vk-scrollbar-thumb: hsl(210 1% 82%);
|
|
@@ -6655,10 +7874,8 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6655
7874
|
--vk-sheet-handle: hsl(210 1% 72%);
|
|
6656
7875
|
--vk-spring-exit: 120px;
|
|
6657
7876
|
--vk-spring-past: 12px;
|
|
6658
|
-
--vk-radius-3xl: 26.67px;
|
|
6659
7877
|
--vk-radius-4xl: 33.33px;
|
|
6660
7878
|
--vk-radius-5xl: 40px;
|
|
6661
|
-
--vk-layer-drawer: 40;
|
|
6662
7879
|
--vk-spring-smooth: 500ms 1;
|
|
6663
7880
|
--vk-ease-spring-smooth: linear(0, 0.0191, 0.0667, 0.1313, 0.2048, 0.2816, 0.3577, 0.4308, 0.4991, 0.562, 0.6189, 0.67, 0.7154, 0.7554, 0.7905, 0.821, 0.8475, 0.8704, 0.89, 0.9069, 0.9213, 0.9336, 0.9441, 0.9529, 0.9605, 0.9668, 0.9722, 0.9767, 0.9805, 0.9837, 0.9864, 0.9887, 0.9905, 0.9921, 0.9934, 0.9945, 0.9955, 0.9962, 0.9969, 0.9974, 0.9978, 0.9982, 0.9985, 0.9988, 0.999, 0.9992, 0.9993, 0.9994, 1);
|
|
6664
7881
|
--vk-duration-spring-smooth: 800ms;
|
|
@@ -6669,7 +7886,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6669
7886
|
--vk-ease-spring-lively: linear(0, 0.0239, 0.0843, 0.1672, 0.2617, 0.3601, 0.4568, 0.5478, 0.6309, 0.7048, 0.7689, 0.8236, 0.8692, 0.9065, 0.9364, 0.9599, 0.9779, 0.9913, 1.0009, 1.0075, 1.0117, 1.0141, 1.0151, 1.0151, 1.0144, 1.0133, 1.0119, 1.0105, 1.009, 1.0075, 1.0062, 1.005, 1.004, 1.0031, 1.0023, 1.0017, 1.0012, 1.0008, 1);
|
|
6670
7887
|
--vk-duration-spring-lively: 633ms;
|
|
6671
7888
|
--vk-sheet-press-scale: 1.005;
|
|
6672
|
-
--vk-push-scale: 0.94;
|
|
6673
7889
|
--vk-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
6674
7890
|
--vk-loading-dim: 0.55;
|
|
6675
7891
|
--vk-progress-slide: 1400ms;
|
|
@@ -6680,7 +7896,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6680
7896
|
--vk-blue-700: hsl(219 87% 54%);
|
|
6681
7897
|
--vk-border-info: hsl(219 90% 65.5%);
|
|
6682
7898
|
--vk-border-success: hsl(149 43% 44.5%);
|
|
6683
|
-
--vk-border-warning: hsl(20 63% 57.5%);
|
|
6684
7899
|
--vk-brand-100: hsl(218 100% 98%);
|
|
6685
7900
|
--vk-brand-200: hsl(218 100% 94%);
|
|
6686
7901
|
--vk-brand-400: hsl(218 97% 82%);
|
|
@@ -6689,20 +7904,15 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6689
7904
|
--vk-brand-700: hsl(219 87% 54%);
|
|
6690
7905
|
--vk-brand-800: hsl(219 70% 46.5%);
|
|
6691
7906
|
--vk-brand-1000: hsl(219 72% 29%);
|
|
6692
|
-
--vk-danger-subtler: hsl(6 100% 94%);
|
|
6693
7907
|
--vk-green-700: hsl(158 98% 26%);
|
|
6694
|
-
--vk-info-subtler: hsl(218 100% 94%);
|
|
6695
7908
|
--vk-pink-700: hsl(335 73% 49.5%);
|
|
6696
7909
|
--vk-purple-700: hsl(260 100% 64.5%);
|
|
6697
7910
|
--vk-red-700: hsl(0 81% 58%);
|
|
6698
|
-
--vk-success-subtler: hsl(143 41% 91%);
|
|
6699
7911
|
--vk-teal-700: hsl(192 87% 32%);
|
|
6700
|
-
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
6701
7912
|
--vk-font-weight-bold: 700;
|
|
6702
|
-
--vk-
|
|
7913
|
+
--vk-toast-duration: 4000ms;
|
|
6703
7914
|
--vk-tooltip-delay: 500ms;
|
|
6704
7915
|
--vk-tooltip-warm: 300ms;
|
|
6705
|
-
--vk-toast-duration: 4000ms;
|
|
6706
7916
|
--vk-t-shadow-menu: 0 6px 18px hsl(0 0% 0% / 0.06), 0 3px 9px hsl(0 0% 0% / 0.05), 0 1px 1px hsl(0 0% 0% / 0.04);
|
|
6707
7917
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(16 17 26 / 0.08);
|
|
6708
7918
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
|
|
@@ -6793,6 +8003,23 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6793
8003
|
--vk-label-teal-fill: hsl(196 32% 17.5%);
|
|
6794
8004
|
--vk-label-teal-edge: hsl(195 42% 22.5%);
|
|
6795
8005
|
--vk-label-teal-strong: hsl(196 67% 75.5%);
|
|
8006
|
+
--vk-backdrop-alert-medium: hsl(0 0% 0% / 0.22);
|
|
8007
|
+
--vk-backdrop-alert-light: hsl(0 0% 0% / 0.12);
|
|
8008
|
+
--vk-backdrop-alert-deep: hsl(0 0% 0% / 0.36);
|
|
8009
|
+
--vk-backdrop-veil-medium: hsl(226 10% 10% / 0.56);
|
|
8010
|
+
--vk-backdrop-veil-light: hsl(226 10% 10% / 0.4);
|
|
8011
|
+
--vk-backdrop-veil: hsl(226 10% 10% / 0.72);
|
|
8012
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
8013
|
+
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
8014
|
+
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
8015
|
+
--vk-overlay-card: hsl(225 7% 15%);
|
|
8016
|
+
--vk-overlay-card-pressed: hsl(220 4% 22%);
|
|
8017
|
+
--vk-brand-subtler: hsl(218 32% 14.5%);
|
|
8018
|
+
--vk-fg-accent: hsl(219 87% 59.5%);
|
|
8019
|
+
--vk-info-subtler: hsl(218 32% 14.5%);
|
|
8020
|
+
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
8021
|
+
--vk-warning-subtler: hsl(20 29% 13.5%);
|
|
8022
|
+
--vk-danger-subtler: hsl(6 27% 14.5%);
|
|
6796
8023
|
--vk-person-1: #d7a77e;
|
|
6797
8024
|
--vk-person-2: #93b6ce;
|
|
6798
8025
|
--vk-person-3: #afc98f;
|
|
@@ -6803,7 +8030,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6803
8030
|
--vk-success-bold: hsl(158 98% 34%);
|
|
6804
8031
|
--vk-brand-hovered: hsl(219 95% 64%);
|
|
6805
8032
|
--vk-brand-pressed: hsl(219 100% 72.5%);
|
|
6806
|
-
--vk-brand-subtler: hsl(218 32% 14.5%);
|
|
6807
8033
|
--vk-brand-subtler-hovered: hsl(219 46% 21%);
|
|
6808
8034
|
--vk-brand-subtler-pressed: hsl(219 55% 29%);
|
|
6809
8035
|
--vk-danger-bold: hsl(0 81% 58%);
|
|
@@ -6825,9 +8051,7 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6825
8051
|
--vk-raised-hovered: hsl(225 7% 15%);
|
|
6826
8052
|
--vk-overlay-hovered: hsl(225 7% 15%);
|
|
6827
8053
|
--vk-overlay-pressed: hsl(225 7% 15%);
|
|
6828
|
-
--vk-overlay-card-pressed: hsl(220 4% 22%);
|
|
6829
8054
|
--vk-fg-disabled: hsl(210 1% 37%);
|
|
6830
|
-
--vk-fg-accent: hsl(219 87% 59.5%);
|
|
6831
8055
|
--vk-shadow-key: inset 0 1px 0 0 hsl(210 8% 95% / 0.24), inset 0 -1px 0 0 hsl(0 0% 0% / 0.27), 0 1px 0 0 hsl(0 0% 0% / 0.5), 0 1px 2px 0 hsl(0 0% 0% / 0.18);
|
|
6832
8056
|
--vk-shadow-key-pressed: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.18);
|
|
6833
8057
|
--vk-shadow-key-pressed-bold: inset 0 1px 1.5px 0 hsl(0 0% 0% / 0.42);
|
|
@@ -6847,8 +8071,8 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6847
8071
|
--vk-sunken: hsl(210 8% 5%);
|
|
6848
8072
|
--vk-sunken-hovered: hsl(210 4% 9.5%);
|
|
6849
8073
|
--vk-border-accent: hsl(219 66% 47%);
|
|
6850
|
-
--vk-overlay-card: hsl(225 7% 15%);
|
|
6851
8074
|
--vk-border-overlay-card: hsl(220 4% 22%);
|
|
8075
|
+
--vk-border-warning: hsl(22 74% 36%);
|
|
6852
8076
|
--vk-glass: hsl(0 0% 13% / 0.6);
|
|
6853
8077
|
--vk-glass-rim-soft: hsl(0 0% 100% / 0.12);
|
|
6854
8078
|
--vk-glass-rim-faint: hsl(0 0% 100% / 0.01);
|
|
@@ -6863,17 +8087,24 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6863
8087
|
--vk-shadow-field-focus-danger: 0 0 10px 0 hsl(1 55% 46.5% / 0.42);
|
|
6864
8088
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|
|
6865
8089
|
--vk-overlay-selected: hsl(225 7% 15%);
|
|
6866
|
-
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
6867
8090
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
6868
8091
|
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
6869
|
-
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
6870
8092
|
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
6871
8093
|
--vk-label-amber-pressed: hsl(21 66% 55%);
|
|
6872
8094
|
--vk-label-blue-pressed: hsl(219 95% 64%);
|
|
6873
8095
|
--vk-label-green-pressed: hsl(150 45% 51.5%);
|
|
6874
8096
|
--vk-label-purple-pressed: hsl(256 100% 73%);
|
|
6875
|
-
--vk-
|
|
8097
|
+
--vk-backdrop-modal-light: hsl(0 0% 0% / 0.1);
|
|
8098
|
+
--vk-backdrop-modal-medium: hsl(0 0% 0% / 0.18);
|
|
8099
|
+
--vk-backdrop-modal-deep: hsl(0 0% 0% / 0.3);
|
|
8100
|
+
--vk-backdrop-modal-veil-light: hsl(226 10% 10% / 0.4);
|
|
8101
|
+
--vk-backdrop-modal-veil-medium: hsl(226 10% 10% / 0.56);
|
|
8102
|
+
--vk-backdrop-modal-veil-deep: hsl(226 10% 10% / 0.72);
|
|
8103
|
+
--vk-border-modal-ring: hsl(210 2% 19%);
|
|
8104
|
+
--vk-border-modal-edge: hsl(220 4% 22%);
|
|
8105
|
+
--vk-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
6876
8106
|
--vk-header: hsl(210 6% 7%);
|
|
8107
|
+
--vk-border-selected: hsl(219 66% 47%);
|
|
6877
8108
|
--vk-scrollbar-thumb: hsl(210 2% 26.5%);
|
|
6878
8109
|
--vk-scrollbar-thumb-hovered: hsl(210 1% 37%);
|
|
6879
8110
|
--vk-backdrop-sheet: hsl(0 0% 0% / 0.45);
|
|
@@ -6884,7 +8115,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6884
8115
|
--vk-blue-700: hsl(219 87% 59.5%);
|
|
6885
8116
|
--vk-border-info: hsl(219 66% 47%);
|
|
6886
8117
|
--vk-border-success: hsl(153 64% 32%);
|
|
6887
|
-
--vk-border-warning: hsl(22 74% 36%);
|
|
6888
8118
|
--vk-brand-100: hsl(218 15% 10%);
|
|
6889
8119
|
--vk-brand-200: hsl(218 32% 14.5%);
|
|
6890
8120
|
--vk-brand-400: hsl(219 55% 29%);
|
|
@@ -6893,16 +8123,11 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
6893
8123
|
--vk-brand-700: hsl(219 87% 59.5%);
|
|
6894
8124
|
--vk-brand-800: hsl(219 95% 64%);
|
|
6895
8125
|
--vk-brand-1000: hsl(218 100% 81%);
|
|
6896
|
-
--vk-danger-subtler: hsl(6 27% 14.5%);
|
|
6897
8126
|
--vk-green-700: hsl(158 98% 34%);
|
|
6898
|
-
--vk-info-subtler: hsl(218 32% 14.5%);
|
|
6899
8127
|
--vk-pink-700: hsl(335 73% 57.5%);
|
|
6900
8128
|
--vk-purple-700: hsl(260 100% 69%);
|
|
6901
8129
|
--vk-red-700: hsl(0 81% 58%);
|
|
6902
|
-
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
6903
8130
|
--vk-teal-700: hsl(192 87% 40%);
|
|
6904
|
-
--vk-warning-subtler: hsl(20 29% 13.5%);
|
|
6905
|
-
--vk-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
6906
8131
|
--vk-t-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
6907
8132
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(255 255 255 / 0.08);
|
|
6908
8133
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|