viewkitjs 0.36.0 → 0.38.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 +75 -0
- package/package.json +1 -1
- package/views/dist/atoms/types.d.ts +32 -4
- package/views/dist/contract.d.ts +18 -9
- package/views/dist/contract.js +18 -1
- package/views/dist/controls/button/own-look-moved.d.ts +11 -0
- package/views/dist/controls/button/own-look-moved.js +3 -0
- package/views/dist/controls/date-editor/date-behaviour.d.ts +80 -0
- package/views/dist/controls/date-editor/date-behaviour.js +187 -0
- package/views/dist/controls/date-editor/date-editor.d.ts +3 -2
- package/views/dist/controls/date-editor/date-editor.js +29 -166
- package/views/dist/controls/field/field.d.ts +3 -2
- package/views/dist/controls/field/field.js +7 -2
- package/views/dist/controls/field/looks.d.ts +1 -1
- package/views/dist/controls/field/looks.js +7 -4
- package/views/dist/controls/field.css +64 -1
- package/views/dist/controls/filter-editor/filter-editor.js +2 -2
- package/views/dist/controls/filter-editor/parts.d.ts +2 -0
- package/views/dist/controls/filter-editor/parts.js +1 -1
- package/views/dist/controls/glyphs/glyphs.js +2 -0
- package/views/dist/controls/index.d.ts +3 -1
- package/views/dist/controls/index.js +3 -1
- package/views/dist/controls/inline-input.css +10 -0
- package/views/dist/controls/internal/phone.d.ts +1 -1
- package/views/dist/controls/internal/phone.js +3 -2
- package/views/dist/controls/internal/read-token.d.ts +2 -1
- package/views/dist/controls/internal/read-token.js +2 -1
- package/views/dist/controls/list/tokens.d.ts +1 -1
- package/views/dist/controls/list/tokens.js +1 -1
- package/views/dist/controls/list.css +5 -2
- package/views/dist/controls/menu-list/menu-list.js +3 -2
- package/views/dist/controls/menu.css +4 -4
- package/views/dist/controls/number-editor/tokens.d.ts +8 -0
- package/views/dist/controls/number-editor/tokens.js +2 -0
- package/views/dist/controls/number-editor.css +20 -0
- package/views/dist/controls/pane.css +1 -1
- package/views/dist/controls/picker.css +5 -3
- package/views/dist/controls/popover/looks.d.ts +1 -1
- package/views/dist/controls/popover/looks.js +5 -0
- package/views/dist/controls/popover/tokens.d.ts +13 -1
- package/views/dist/controls/popover/tokens.js +4 -1
- package/views/dist/controls/popover.css +59 -8
- package/views/dist/controls/select/select.js +1 -1
- package/views/dist/controls/sort-editor.css +4 -2
- package/views/dist/controls/text-editor/tokens.d.ts +8 -0
- package/views/dist/controls/text-editor/tokens.js +2 -0
- package/views/dist/controls/text-editor.css +28 -0
- package/views/dist/controls/toolbar/toolbar.d.ts +4 -2
- package/views/dist/controls/toolbar/toolbar.js +7 -2
- package/views/dist/controls/toolbar-button/atom-toolbar-button.js +1 -1
- package/views/dist/controls/toolbar.css +5 -0
- package/views/dist/controls/tooltip/tokens.d.ts +1 -1
- package/views/dist/controls/tooltip/tokens.js +1 -1
- package/views/dist/controls/tooltip/tooltip.js +2 -1
- package/views/dist/controls/tooltip.css +5 -3
- package/views/dist/controls/values-editor.css +20 -5
- package/views/dist/display/entity-chip.d.ts +7 -1
- package/views/dist/display/entity-chip.js +2 -1
- package/views/dist/field-row/FieldRow.js +25 -12
- package/views/dist/field-row/field-row-button.d.ts +12 -0
- package/views/dist/field-row/field-row-button.js +5 -0
- package/views/dist/fields/binding.d.ts +4 -0
- package/views/dist/grid/chrome/GridCellEditors.d.ts +4 -1
- package/views/dist/grid/chrome/GridCellEditors.js +3 -2
- package/views/dist/grid/chrome/GridCellOutline.d.ts +15 -5
- package/views/dist/grid/chrome/GridCellOutline.js +20 -5
- package/views/dist/grid/chrome/GridChipsEditor.js +1 -1
- package/views/dist/grid/chrome/GridDateEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridDateEditor.js +1 -1
- package/views/dist/grid/chrome/GridLongTextEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridLongTextEditor.js +8 -5
- package/views/dist/grid/chrome/GridNameEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridNameEditor.js +1 -1
- package/views/dist/grid/chrome/GridNumberEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridNumberEditor.js +3 -2
- package/views/dist/grid/chrome/GridPlaceEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridPlaceEditor.js +1 -1
- package/views/dist/grid/chrome/GridRangeEditor.d.ts +2 -2
- package/views/dist/grid/chrome/GridRangeEditor.js +1 -1
- package/views/dist/grid/chrome/GridRelationEditor.js +2 -2
- package/views/dist/grid/chrome/GridRowCells.js +6 -5
- package/views/dist/grid/chrome/GridSelectEditor.js +1 -1
- package/views/dist/grid/chrome/GridStructure.js +3 -3
- package/views/dist/grid/chrome/GridTable.d.ts +2 -1
- package/views/dist/grid/chrome/GridTable.js +7 -2
- package/views/dist/grid/chrome/GridTextEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridTextEditor.js +4 -2
- package/views/dist/grid/chrome/GridValueListEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridValueListEditor.js +1 -1
- package/views/dist/grid/chrome/grid-body-place.d.ts +7 -2
- package/views/dist/grid/chrome/grid-body-place.js +9 -4
- package/views/dist/grid/chrome/grid-cell-classes.js +2 -2
- package/views/dist/grid/chrome/grid-edit-session.d.ts +8 -0
- package/views/dist/grid/chrome/grid-edit-session.js +21 -3
- package/views/dist/grid/chrome/grid-editor-layer.d.ts +11 -0
- package/views/dist/grid/chrome/grid-editor-layer.js +1 -0
- package/views/dist/grid/chrome/grid-fitted-box.d.ts +4 -4
- package/views/dist/grid/chrome/grid-fitted-box.js +1 -3
- package/views/dist/grid/chrome/grid-hover.d.ts +3 -3
- package/views/dist/grid/chrome/grid-hover.js +2 -3
- package/views/dist/grid/chrome/grid-row-props.d.ts +6 -2
- package/views/dist/grid/chrome/grid-styles.d.ts +1 -5
- package/views/dist/grid/chrome/grid-styles.js +0 -1
- package/views/dist/grid/chrome/useGridKeyboard.d.ts +5 -2
- package/views/dist/grid/chrome/useGridKeyboard.js +11 -15
- package/views/dist/grid/chrome/useGridTableInteractionModel.d.ts +3 -1
- package/views/dist/grid/chrome/useGridTableInteractionModel.js +30 -2
- package/views/dist/grid/core/useGridEditing.d.ts +3 -0
- package/views/dist/grid/core/useGridEditing.js +2 -0
- package/views/dist/grid/grid.css +4 -19
- package/views/dist/internal/length.d.ts +2 -0
- package/views/dist/internal/length.js +16 -0
- package/views/dist/internal/screen-forms.d.ts +11 -0
- package/views/dist/internal/screen-forms.js +31 -0
- package/views/dist/list/list.js +2 -1
- package/views/dist/list/parts.d.ts +8 -2
- package/views/dist/list/parts.js +31 -7
- package/views/dist/list/toolbar.js +7 -3
- package/views/dist/looks/index.d.ts +1 -0
- package/views/dist/looks/index.js +1 -0
- package/views/dist/panels/react/popover.d.ts +3 -1
- package/views/dist/panels/react/popover.js +2 -2
- package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +6 -3
- package/views/dist/panels/react/toolbar/Toolbar.d.ts +12 -1
- package/views/dist/panels/react/toolbar/Toolbar.js +5 -1
- package/views/dist/panels/react/toolbar/ToolbarAdvancedFilters.js +1 -1
- package/views/dist/panels/react/toolbar/ToolbarButton.js +3 -2
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +1 -3
- package/views/dist/panels/react/toolbar/ToolbarOptions.js +1 -1
- package/views/dist/panels/react/toolbar/ToolbarQuickFilters.d.ts +1 -1
- package/views/dist/panels/react/toolbar/ToolbarQuickFilters.js +1 -1
- package/views/dist/panels/react/toolbar/ToolbarSave.d.ts +3 -1
- package/views/dist/panels/react/toolbar/ToolbarSave.js +28 -20
- package/views/dist/panels/react/toolbar/ToolbarSearch.js +1 -1
- package/views/dist/panels/react/toolbar/context.d.ts +3 -2
- package/views/dist/panels/react/views-row/FoldingViewRow.js +24 -7
- package/views/dist/panels/react/views-row/ViewPicker.js +1 -1
- package/views/dist/panels/react/views-row/more-views.d.ts +2 -0
- package/views/dist/panels/react/views-row/more-views.js +3 -0
- package/views/dist/panels/react.d.ts +1 -1
- package/views/dist/panels/toolbar/model.d.ts +2 -2
- package/views/dist/provider/components.d.ts +8 -7
- package/views/dist/provider/desktop.d.ts +2 -1
- package/views/dist/provider/desktop.js +5 -2
- package/views/dist/selection/bar-overflow.d.ts +2 -0
- package/views/dist/selection/bar-overflow.js +2 -1
- package/views/dist/selection/bar-props.d.ts +1 -1
- package/views/dist/selection/verbs.d.ts +2 -2
- package/views/dist/styles.css +341 -80
- package/views/dist/styles.unlayered.css +341 -80
- package/views/docs/contract.md +77 -23
- package/views/docs/controls/list.md +2 -0
- package/views/docs/controls/menu.md +2 -0
- package/views/docs/controls/number-editor.md +2 -0
- package/views/docs/controls/picker.md +2 -0
- package/views/docs/controls/popover.md +7 -0
- package/views/docs/controls/text-editor.md +2 -0
- package/views/docs/controls/tooltip.md +2 -0
- package/views/docs/guides/atoms.md +11 -10
- package/views/docs/guides/selection.md +1 -1
- package/views/docs/guides/the-grid.md +7 -5
- package/views/docs/guides/the-provider.md +2 -2
- package/views/docs/reference/controls.md +11 -6
- package/views/docs/reference/display.md +1 -1
- package/views/docs/reference/field-row.md +1 -1
- package/views/docs/reference/list.md +5 -6
- package/views/docs/reference/looks.md +4 -1
- package/views/docs/reference/panels-react.md +5 -4
- package/views/docs/reference/panels.md +1 -1
- package/views/docs/reference/react.md +6 -6
- package/views/docs/reference/selection.md +1 -1
- package/views/docs/reference/views.md +3 -3
- package/views/docs/reshaping.md +2 -2
- package/views/skills/views/SKILL.md +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! viewkitjs 0.
|
|
1
|
+
/*! viewkitjs 0.38.0 · viewkitjs/views/styles.unlayered.css: ViewKit's look, its defaults the Outright look */
|
|
2
2
|
|
|
3
3
|
@layer base {
|
|
4
4
|
@layer viewkit {:where(*):where(:is([data-slot^="vk-"]:not([data-slot^="vk-sort"], [data-slot^="vk-filter"], [data-slot^="vk-group"], [data-slot^="vk-customize"], [data-slot^="vk-views-list"], [data-slot^="vk-view-menu"], [data-slot^="vk-quick"], [data-slot^="vk-date"], [data-slot^="vk-calendar"], [data-slot^="vk-text"], [data-slot^="vk-number"], [data-slot^="vk-parts"], [data-slot^="vk-values"], [data-slot^="vk-links"], [data-slot^="vk-picker"], [data-slot^="vk-bulk"], [data-slot="vk-editor-close"], [data-slot="vk-editor-save"], [data-slot="vk-editor-back"], [data-slot="vk-editor-cancel"]), [data-slot="vk-sort-head"], [data-slot="vk-filter-head"], [data-slot="vk-filter-convert"], [data-slot="vk-quick-head"], [data-slot="vk-views-list-head"], [data-slot="vk-quick-filters-reminder"], [data-slot="vk-quick-filters-reminder-open"], [data-slot="vk-quick-filters-reminder-clear"], [data-slot="vk-date-editor"], [data-slot="vk-text-editor"], [data-slot="vk-text-body"], [data-slot="vk-number-body"], [data-slot="vk-parts-body"], [data-slot="vk-values-body"], [data-slot="vk-links-body"], [data-vk-body]), :is([data-slot^="vk-"]:not([data-slot^="vk-sort"], [data-slot^="vk-filter"], [data-slot^="vk-group"], [data-slot^="vk-customize"], [data-slot^="vk-views-list"], [data-slot^="vk-view-menu"], [data-slot^="vk-quick"], [data-slot^="vk-date"], [data-slot^="vk-calendar"], [data-slot^="vk-text"], [data-slot^="vk-number"], [data-slot^="vk-parts"], [data-slot^="vk-values"], [data-slot^="vk-links"], [data-slot^="vk-picker"], [data-slot^="vk-bulk"], [data-slot="vk-editor-close"], [data-slot="vk-editor-save"], [data-slot="vk-editor-back"], [data-slot="vk-editor-cancel"]), [data-slot="vk-sort-head"], [data-slot="vk-filter-head"], [data-slot="vk-filter-convert"], [data-slot="vk-quick-head"], [data-slot="vk-views-list-head"], [data-slot="vk-quick-filters-reminder"], [data-slot="vk-quick-filters-reminder-open"], [data-slot="vk-quick-filters-reminder-clear"], [data-slot="vk-date-editor"], [data-slot="vk-text-editor"], [data-slot="vk-text-body"], [data-slot="vk-number-body"], [data-slot="vk-parts-body"], [data-slot="vk-values-body"], [data-slot="vk-links-body"], [data-vk-body]) *),
|
|
@@ -1833,6 +1833,68 @@ button.o-field-row { cursor: pointer; }
|
|
|
1833
1833
|
.o-field-rows-slot + .o-field-rows-slot::before { content: " "; }
|
|
1834
1834
|
.o-field-rows-slot > .o-field-error { color: var(--vk-danger); }
|
|
1835
1835
|
.o-field-rows-foot:has(.o-field-error) .o-field-note { display: none; }
|
|
1836
|
+
/* ── The Field's Box (row-box: box, looks.ts; data-field-row-box="box" on a frame round the rows): a record's field row outside a
|
|
1837
|
+
card (data-field-row, field-row/FieldRow.tsx) draws one rectangle for its hover, its press, its in-place input and the value
|
|
1838
|
+
an open picker keeps in its place, so its words never move and it keeps its height. The row reads the app's three names
|
|
1839
|
+
(--vk-field-row-box-h, -x, -r; undeclared 32, 8 and 8) into its own, and how far the box stands above and below its one 20px
|
|
1840
|
+
line (y). Its target (the app's Button, data-key="vk-field-row-target", -beside beside a link's action, -under under a rich text;
|
|
1841
|
+
and data-field-row-anchor, the value an open picker keeps in its place) stands where it stood, pulled out by that reach and
|
|
1842
|
+
that y, as tall as the box, no edge of its own (the words stand x from the box's edge whatever the app's Button draws), its
|
|
1843
|
+
corner, no press. The
|
|
1844
|
+
in-place text and number editors read the same names round data-field-row-editor (text-editor.css, number-editor.css). Below
|
|
1845
|
+
the desktop line the gap under the label is y, so the box meets the label's line without covering it. Its geometry is
|
|
1846
|
+
!important: the row's own classes are Tailwind's, and an app that compiles them into its own utilities layer (Tailwind's source scanning), or
|
|
1847
|
+
whose own Tailwind writes the same names, puts them in a later layer, which no specificity here would outweigh. Nothing of it
|
|
1848
|
+
applies without the attribute. ──────────────────────────────────────────────────────────────────────────────────────── */
|
|
1849
|
+
:where([data-field-row-box="box"]) [data-field-row] {
|
|
1850
|
+
--field-row-box-h: var(--vk-field-row-box-h, calc(var(--vk-spacing) * 8));
|
|
1851
|
+
--field-row-box-x: var(--vk-field-row-box-x, calc(var(--vk-spacing) * 2));
|
|
1852
|
+
--field-row-box-r: var(--vk-field-row-box-r, calc(var(--vk-spacing) * 2));
|
|
1853
|
+
--field-row-box-y: calc((var(--field-row-box-h) - var(--vk-spacing) * 5) / 2);
|
|
1854
|
+
}
|
|
1855
|
+
:where([data-field-row-box="box"]) [data-field-row][data-form="phone"] { row-gap: var(--field-row-box-y) !important; }
|
|
1856
|
+
:where([data-field-row-box="box"]) :is([data-key="vk-field-row-target"], [data-key="vk-field-row-beside"], [data-key="vk-field-row-under"], [data-field-row-anchor]) {
|
|
1857
|
+
box-sizing: border-box !important; min-height: var(--field-row-box-h) !important;
|
|
1858
|
+
padding: var(--field-row-box-y) var(--field-row-box-x) !important;
|
|
1859
|
+
margin: calc(var(--field-row-box-y) * -1) calc(var(--field-row-box-x) * -1) !important;
|
|
1860
|
+
width: calc(100% + var(--field-row-box-x) * 2) !important;
|
|
1861
|
+
border-width: 0 !important; border-radius: var(--field-row-box-r) !important; --button-r: var(--field-row-box-r); --vk-press-scale: 1;
|
|
1862
|
+
}
|
|
1863
|
+
/* Beside a link's open action: its left edge only, the action keeping its place. */
|
|
1864
|
+
:where([data-field-row-box="box"]) [data-key="vk-field-row-beside"] { margin-right: 0 !important; width: auto !important; }
|
|
1865
|
+
/* Under a rich text: laid over the value's footprint, pulled out by the box's reach and its y. */
|
|
1866
|
+
:where([data-field-row-box="box"]) [data-key="vk-field-row-under"] {
|
|
1867
|
+
inset: calc(var(--field-row-box-y) * -1) calc(var(--field-row-box-x) * -1) !important; margin: 0 !important; padding: 0 !important;
|
|
1868
|
+
width: auto !important; min-height: 0 !important;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
/* ── The Field's Action (row-action: icon, looks.ts; data-field-row-action="icon" on a frame round the rows): a record's field row
|
|
1872
|
+
outside a card shows one icon at its box's right end, on the box's hover and keyboard focus, saying what a click does. The row
|
|
1873
|
+
draws it inside its target and inside the value an open picker keeps in its place (data-field-row-act: edit or expand, none
|
|
1874
|
+
drawn where the box is the input; field-row/FieldRow.tsx), hidden by its class until this lays it out: 24 square, 4 in from the
|
|
1875
|
+
box's end, centred on the value's first line (the box's y above it, or the target's 4), its glyph 15. The box keeps the icon's
|
|
1876
|
+
room at its end (32, the icon and 4 either side), so the value ends there, cut with its "…" where it can't wrap, its label
|
|
1877
|
+
allowed to shrink to the box; the words laid over a rich text's empty target keep the same room. It stands, never moving the
|
|
1878
|
+
words, so the box draws the same rectangle at rest, hovered, pressed and while a picker is open, where it stays hidden. As the
|
|
1879
|
+
box's, the geometry is !important: the frame's classes are Tailwind's (the Field's Box, above, says why). ───────────────── */
|
|
1880
|
+
:where([data-field-row-action="icon"]) [data-field-row] :is([data-key="vk-field-row-target"], [data-key="vk-field-row-beside"], [data-field-row-anchor]):has([data-field-row-act]) {
|
|
1881
|
+
position: relative; padding-right: calc(var(--vk-spacing) * 8) !important;
|
|
1882
|
+
}
|
|
1883
|
+
:where([data-field-row-action="icon"]) [data-field-row] :is([data-key="vk-field-row-target"], [data-key="vk-field-row-beside"], [data-field-row-anchor]):has([data-field-row-act]) > * { min-width: 0; }
|
|
1884
|
+
:where([data-field-row-action="icon"]) [data-field-row] [data-key="vk-field-row-under"]:has([data-field-row-act]) + [data-slot="vk-row-value-layer"] {
|
|
1885
|
+
padding-right: calc(var(--vk-spacing) * 8 - var(--field-row-box-x, var(--vk-spacing) * 2));
|
|
1886
|
+
}
|
|
1887
|
+
:where([data-field-row-action="icon"]) [data-field-row] [data-field-row-act] {
|
|
1888
|
+
display: grid !important; place-items: center; position: absolute; right: var(--vk-spacing);
|
|
1889
|
+
top: calc(var(--field-row-box-y, var(--vk-spacing)) + var(--vk-spacing) * 2.5); translate: 0 -50%;
|
|
1890
|
+
width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); color: var(--vk-fg-subtle); pointer-events: none; visibility: hidden;
|
|
1891
|
+
}
|
|
1892
|
+
:where([data-field-row-action="icon"]) [data-field-row] :is([data-key="vk-field-row-target"], [data-key="vk-field-row-beside"], [data-key="vk-field-row-under"]):is(:hover, :focus-visible) [data-field-row-act] { visibility: visible; }
|
|
1893
|
+
|
|
1894
|
+
/* A phone's first paint: server-rendered, Field rows' card stands twice, the phone's form and the computer's (`ScreenForms`,
|
|
1895
|
+
internal/screen-forms.tsx), and this shows the screen's at ViewKit's own line, as the toolbar's stylesheet does: here for an app
|
|
1896
|
+
that imports this card's stylesheet alone, on a page whose policy refuses an inline style. Kept on one line, as screenFormsCss writes it. */
|
|
1897
|
+
[data-vk-screen-forms]{display:contents}[data-vk-twin="computer"][data-vk-twin-line="(min-width: 1024px)"]{display:none}@media (min-width: 1024px){[data-vk-twin="computer"][data-vk-twin-line="(min-width: 1024px)"]{display:contents}[data-vk-twin="phone"][data-vk-twin-line="(min-width: 1024px)"]{display:none}}
|
|
1836
1898
|
|
|
1837
1899
|
.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)); }
|
|
1838
1900
|
.o-filter-editor:focus { outline: none; }
|
|
@@ -2108,6 +2170,16 @@ button.o-field-row { cursor: pointer; }
|
|
|
2108
2170
|
[data-inline-input-tint="10"] { --inline-input-tint: 100%; }
|
|
2109
2171
|
[data-inline-input-ground="none"] { --inline-input-ground: var(--vk-input); }
|
|
2110
2172
|
|
|
2173
|
+
/* ── In a grid's cell: the cell itself ────────────────────────────────────────────────────────────────────────────────────
|
|
2174
|
+
Where the grid says its box stands in a cell (data-inline-input-place="cell", on its type-in's layer), the cell itself is the
|
|
2175
|
+
box: no edge, no ring and no ground of its own, whatever a frame picks, so the cell shows as it was, the grid's own selected
|
|
2176
|
+
ring round it (the grid draws that ring on the box). Grown past its cell (data-grown, on
|
|
2177
|
+
the body or the box that fits it), it takes the plain ground, so the values it stands over don't show through. */
|
|
2178
|
+
[data-inline-input-place="cell"] { --inline-input-edge: 0px; --inline-input-ring: 0px; --inline-input-ground: transparent; }
|
|
2179
|
+
[data-inline-input-place="cell"] [data-grown] { --inline-input-ground: var(--vk-overlay); }
|
|
2180
|
+
/* Refused there, it takes its ring back, red, so the box says what the line under it explains. */
|
|
2181
|
+
[data-inline-input-place="cell"] .o-inline-input:is([aria-invalid="true"], :has(.o-input-control[aria-invalid="true"])) { --inline-input-ring: var(--vk-focus-width); }
|
|
2182
|
+
|
|
2111
2183
|
/* ── The box ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2112
2184
|
.o-inline-input.o-inline-input {
|
|
2113
2185
|
--inline-input-at: var(--inline-input-row, calc(var(--vk-spacing) * 9));
|
|
@@ -2751,9 +2823,12 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2751
2823
|
box-sizing: border-box; display: grid; padding: var(--list-pad, calc(var(--vk-spacing) * 1.5));
|
|
2752
2824
|
border: var(--vk-border-width) solid var(--list-edge, var(--vk-border)); border-radius: calc(min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl)) + var(--list-pad, calc(var(--vk-spacing) * 1.5)));
|
|
2753
2825
|
background-color: var(--vk-overlay); box-shadow: var(--list-shadow, var(--vk-shadow-xl)); color: var(--vk-fg); outline: none;
|
|
2754
|
-
|
|
2826
|
+
transform-origin: var(--transform-origin); transition-property: opacity, translate, scale;
|
|
2827
|
+
transition-duration: var(--vk-popup-open-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-open-ease, var(--vk-ease-out));
|
|
2755
2828
|
}
|
|
2756
|
-
.
|
|
2829
|
+
/* As every popup moves (popover.css): in 150ms each way, easing out both ways, or as the popup motion names say. */
|
|
2830
|
+
.o-list[data-ending-style] { transition-duration: var(--vk-popup-close-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-close-ease, var(--vk-ease-out)); }
|
|
2831
|
+
.o-list:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--vk-popup-nudge, var(--vk-spacing)) * -1); scale: var(--vk-popup-scale, none); }
|
|
2757
2832
|
.o-list-positioner { z-index: var(--vk-layer-popup); outline: none; }
|
|
2758
2833
|
|
|
2759
2834
|
/* ── A row: 32px, the radius's corners, text-sm; under the pointer or the keyboard the overlay's hover ─ */
|
|
@@ -3106,11 +3181,11 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
3106
3181
|
takes a press on that overlay's dim and closes alone. ─────────────────────────────────────────────────── */
|
|
3107
3182
|
.o-menu-portal > [role="presentation"] { z-index: var(--vk-layer-popup); }
|
|
3108
3183
|
|
|
3109
|
-
/* ── The panel: it fits its widest row, 208px to 320px; its shadow, edge, corners and padding the list's options (list.css) ── */
|
|
3110
|
-
.o-list.o-menu { width: max-content; min-width: calc(var(--vk-spacing) * 52); max-width: calc(var(--vk-spacing) * 80); }
|
|
3111
|
-
/* Never taller than the room on screen: its rows, which alone scroll (MenuScroll, menu-list.css), stand in the panel's
|
|
3184
|
+
/* ── The panel: it fits its widest row, 208px to 320px, or stands at the app's --vk-menu-w (docs/contract.md, Tokens); its shadow, edge, corners and padding the list's options (list.css) ── */
|
|
3185
|
+
.o-list.o-menu { width: var(--vk-menu-w, max-content); min-width: var(--vk-menu-w, calc(var(--vk-spacing) * 52)); max-width: var(--vk-menu-w, calc(var(--vk-spacing) * 80)); }
|
|
3186
|
+
/* Never taller than the room on screen, nor the app's --vk-menu-max-h: its rows, which alone scroll (MenuScroll, menu-list.css), stand in the panel's
|
|
3112
3187
|
padding, the kit's scrollbar over them; the panel and its edge stay still. */
|
|
3113
|
-
.o-list.o-menu { max-height: var(--available-height); grid-template-rows: minmax(0, 1fr); }
|
|
3188
|
+
.o-list.o-menu { max-height: min(var(--vk-menu-max-h, var(--available-height)), var(--available-height)); grid-template-rows: minmax(0, 1fr); }
|
|
3114
3189
|
|
|
3115
3190
|
/* ── The ⋯ button: under the pointer and while its menu is open, the neutral fill and the text colour ─ */
|
|
3116
3191
|
.o-button.o-menu-dots { color: var(--vk-fg-subtle); }
|
|
@@ -3334,6 +3409,26 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3334
3409
|
.o-number-editor-sign, .o-number-editor-unit { flex: none; color: var(--vk-fg-subtle); }
|
|
3335
3410
|
.o-number-editor[data-number-form="computer"] .o-number-editor-sign { margin-right: auto; }
|
|
3336
3411
|
|
|
3412
|
+
/* ── In a record's row that wears the Field's Box (data-field-row-box="box" on a frame round the rows; the row marks its open
|
|
3413
|
+
editor data-field-row-editor): on a computer the number's box is the row's own, as the Text editor's is (text-editor.css):
|
|
3414
|
+
where the row's hover and press drew it, as tall, its words as far in, no edge of its own, the row's ground, its ring
|
|
3415
|
+
outside it, red when refused. ─────────────────────────────────────────────────────────────────────────────────────────── */
|
|
3416
|
+
:where([data-field-row-box="box"] [data-field-row-editor]) .o-number-editor[data-number-form="computer"] {
|
|
3417
|
+
--inline-input-row: var(--field-row-box-h); --inline-input-edge: 0px; --inline-input-ring: 0px;
|
|
3418
|
+
width: calc(100% + var(--field-row-box-x) * 2); height: var(--field-row-box-h);
|
|
3419
|
+
margin: calc(var(--field-row-box-y) * -1) calc(var(--field-row-box-x) * -1);
|
|
3420
|
+
}
|
|
3421
|
+
:where([data-field-row-box="box"] [data-field-row-editor]) .o-number-editor[data-number-form="computer"] :is(.o-number-editor-field, .o-number-editor-field > .o-inline-input-group) {
|
|
3422
|
+
height: var(--field-row-box-h); min-height: var(--field-row-box-h);
|
|
3423
|
+
}
|
|
3424
|
+
:where([data-field-row-box="box"] [data-field-row-editor]) .o-number-editor[data-number-form="computer"] .o-inline-input {
|
|
3425
|
+
--inline-input-words: var(--field-row-box-x); border-radius: var(--field-row-box-r); background-color: transparent;
|
|
3426
|
+
box-shadow: 0 0 0 var(--vk-border-width) var(--inline-input-colour), var(--vk-shadow-field-focus);
|
|
3427
|
+
}
|
|
3428
|
+
:where([data-field-row-box="box"] [data-field-row-editor]) .o-number-editor[data-number-form="computer"] .o-inline-input:is([aria-invalid="true"], :has(.o-input-control[aria-invalid="true"])) {
|
|
3429
|
+
box-shadow: 0 0 0 var(--vk-border-width) var(--inline-input-colour), var(--vk-shadow-field-focus-danger);
|
|
3430
|
+
}
|
|
3431
|
+
|
|
3337
3432
|
/* ── On a phone: the box and what is under it ───────────────────────────────────────────────────────────────────── */
|
|
3338
3433
|
.o-number-editor[data-number-form="phone"] { display: grid; gap: calc(var(--vk-spacing) * 2); }
|
|
3339
3434
|
.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); }
|
|
@@ -3506,7 +3601,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3506
3601
|
/* Its title, when what stands in it has one: text-sm at medium weight. */
|
|
3507
3602
|
.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); }
|
|
3508
3603
|
|
|
3509
|
-
/* It fades in and moves a step in from the right
|
|
3604
|
+
/* It fades in and moves a step in from the right, in 150ms, and leaves the same way, easing in. */
|
|
3510
3605
|
.o-pane[data-ending-style] { transition-timing-function: var(--vk-ease-in); }
|
|
3511
3606
|
.o-pane:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: var(--vk-spacing) 0; }
|
|
3512
3607
|
|
|
@@ -3655,14 +3750,14 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3655
3750
|
|
|
3656
3751
|
/* ── On a computer it follows the list's rules, so a Picker and a Select's list side by
|
|
3657
3752
|
side match. Its rows are the list's: the Input box's corners or Row corners, square at padding 0 (list.css), 8½ rows at most
|
|
3658
|
-
(list-rows), a row's room round the one brought into view. And a Popover holding it, and no editor, draws the list's panel in
|
|
3753
|
+
(--vk-list-rows, the app's, or its old name --list-rows), a row's room round the one brought into view. And a Popover holding it, and no editor, draws the list's panel in
|
|
3659
3754
|
place of its own options: the list's Edge (its lines' colour with it), Shadow and Padding, its corners the Input box's plus the padding, never past 2xl,
|
|
3660
3755
|
and its Corner smoothing (the list's smooth outline, or round), the Popover's own smooth outline not drawn. A body picks the shell's
|
|
3661
3756
|
options it needs; the Popover knows nothing of what it holds. ── */
|
|
3662
3757
|
.o-picker[data-picker-form="computer"] .o-list-row { --list-row-rad: var(--list-row-corners, var(--list-row-r, var(--list-box-r, var(--vk-radius-lg))));
|
|
3663
3758
|
--list-row-pill-in: var(--list-row-corners-pill, var(--list-row-pill, var(--list-box-pill, 0))); }
|
|
3664
3759
|
.o-picker[data-picker-form="computer"] .o-picker-rows {
|
|
3665
|
-
max-height: calc(var(--list-rows, 8.5) * var(--list-row-h, calc(var(--vk-spacing) * 8))); scroll-padding-block: var(--list-row-h, calc(var(--vk-spacing) * 8));
|
|
3760
|
+
max-height: calc(var(--vk-list-rows, var(--list-rows, 8.5)) * var(--list-row-h, calc(var(--vk-spacing) * 8))); scroll-padding-block: var(--list-row-h, calc(var(--vk-spacing) * 8));
|
|
3666
3761
|
}
|
|
3667
3762
|
/* ViewKit's field list (CONTROLS.FieldsBody, wrapped in .o-fields-body, which draws no box) stands as wide as its widest row:
|
|
3668
3763
|
its search fills that width and never sets it, though its placeholder reads whole, a row's check takes room only on the row the field holds, and ViewKit's
|
|
@@ -3672,7 +3767,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3672
3767
|
/* Never narrower than it opened nor than its search's placeholder (map-fields-body.tsx measures both as it opens). */
|
|
3673
3768
|
.o-fields-body .o-picker[data-picker-form="computer"] { min-width: var(--picker-floor, 0px); }
|
|
3674
3769
|
.o-fields-body .o-picker[data-picker-form="computer"] .o-list-row:not([data-selected], [aria-selected="true"]) > .o-picker-check { display: none; }
|
|
3675
|
-
.o-popover:has(> .o-popover-cut > .o-fields-body .o-picker[data-picker-form="computer"]) {
|
|
3770
|
+
.o-popover:has(> .o-popover-cut > .o-fields-body .o-picker[data-picker-form="computer"]) {
|
|
3771
|
+
width: var(--popover-size-w, fit-content); max-width: min(var(--popover-size-w, calc(var(--vk-spacing) * 72)), var(--available-width, 100%));
|
|
3772
|
+
}
|
|
3676
3773
|
.o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) {
|
|
3677
3774
|
--popover-edge: var(--list-edge, var(--vk-border)); --divider-colour: var(--list-sep-colour, var(--vk-border)); --popover-shadow: var(--list-shadow, var(--vk-shadow-xl)); --popover-pad: var(--list-pad, calc(var(--vk-spacing) * 1.5));
|
|
3678
3775
|
--popover-corners: calc(min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl)) + var(--list-pad, calc(var(--vk-spacing) * 1.5)));
|
|
@@ -3855,11 +3952,30 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3855
3952
|
--popover-gap: var(--vk-spacing); --popover-edge: var(--vk-border); --divider-colour: var(--vk-border);
|
|
3856
3953
|
--divider-reach: max(0px, calc(var(--popover-pad) - var(--vk-border-width)));
|
|
3857
3954
|
box-sizing: border-box; display: flex; flex-direction: column;
|
|
3858
|
-
|
|
3955
|
+
--popover-size-w: initial; --popover-size-h: initial;
|
|
3956
|
+
width: var(--popover-size-w, calc(var(--vk-spacing) * 72)); min-width: var(--popover-size-w, var(--anchor-width, auto));
|
|
3957
|
+
max-width: var(--available-width, 100%); max-height: var(--popover-size-h, var(--available-height, none));
|
|
3859
3958
|
border-radius: var(--popover-corners); background-color: var(--vk-overlay); box-shadow: var(--popover-shadow); color: var(--vk-fg);
|
|
3860
3959
|
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); outline: none;
|
|
3861
|
-
|
|
3960
|
+
--popover-nudge: var(--vk-popup-nudge, var(--vk-spacing)); transform-origin: var(--transform-origin);
|
|
3961
|
+
transition-property: opacity, translate, scale;
|
|
3962
|
+
transition-duration: var(--vk-popup-open-duration, var(--vk-duration-fast));
|
|
3963
|
+
transition-timing-function: var(--vk-popup-open-ease, var(--vk-ease-out));
|
|
3964
|
+
}
|
|
3965
|
+
|
|
3966
|
+
/* ── Its size, by what it holds (VK-992): a toolbar panel's, marked by its slot, the app's --vk-panel-w and --vk-panel-max-h; a field
|
|
3967
|
+
editor's, the app's --vk-editor-w and --vk-editor-max-h (docs/contract.md, Tokens). Undeclared, the size here is invalid, so each
|
|
3968
|
+
place's own width stands (above, or a rule of what it holds reading --popover-size-w first); declared, it is the width, and the
|
|
3969
|
+
height at the most, never past the room on screen. ─────────────────────────────────────────────────────────── */
|
|
3970
|
+
.o-popover:where([data-slot^="vk-toolbar-"][data-slot$="-panel"]) {
|
|
3971
|
+
--popover-size-w: var(--vk-panel-w); --popover-size-h: min(var(--vk-panel-max-h), var(--available-height, 100dvh));
|
|
3972
|
+
}
|
|
3973
|
+
.o-popover:where([data-slot="vk-grid-editor"], [data-slot="vk-editor-panel"]) {
|
|
3974
|
+
--popover-size-w: var(--vk-editor-w); --popover-size-h: min(var(--vk-editor-max-h), var(--available-height, 100dvh));
|
|
3862
3975
|
}
|
|
3976
|
+
/* A grid editor over its cell stands a step left of it (the grid's overCell offsets): at the least the cell's width and two
|
|
3977
|
+
steps, so it covers the cell's far line too and a press where the cell was lands inside it. */
|
|
3978
|
+
.o-popover:where([data-slot="vk-grid-editor"]) { min-width: var(--popover-size-w, calc(var(--anchor-width, 0px) + var(--vk-spacing) * 2)); }
|
|
3863
3979
|
|
|
3864
3980
|
/* What it holds, inside its edge, scrolling there when the screen is shorter. The edge is drawn as two shapes, never a
|
|
3865
3981
|
border, as the Modal's is: its colour (::before), and the ground just inside it (::after), one line narrower. Each
|
|
@@ -3877,12 +3993,14 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3877
3993
|
/* Laid over what opens it (a negative sideOffset), it stands on it: no gap. */
|
|
3878
3994
|
.o-popover[data-over] { margin: 0; }
|
|
3879
3995
|
|
|
3880
|
-
/* It fades in and moves 4px out from what opened it
|
|
3881
|
-
.o-popover[data-ending-style] {
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
.o-popover
|
|
3885
|
-
.o-popover[data-side="
|
|
3996
|
+
/* It fades in and moves 4px out from what opened it, in 150ms, and leaves the same way, easing in; or as the popup motion names say. */
|
|
3997
|
+
.o-popover[data-ending-style] {
|
|
3998
|
+
transition-duration: var(--vk-popup-close-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-close-ease, var(--vk-ease-in));
|
|
3999
|
+
}
|
|
4000
|
+
.o-popover:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--popover-nudge) * -1); scale: var(--vk-popup-scale, none); }
|
|
4001
|
+
.o-popover[data-side="top"]:is([data-starting-style], [data-ending-style]) { translate: 0 var(--popover-nudge); }
|
|
4002
|
+
.o-popover[data-side="left"]:is([data-starting-style], [data-ending-style]) { translate: var(--popover-nudge) 0; }
|
|
4003
|
+
.o-popover[data-side="right"]:is([data-starting-style], [data-ending-style]) { translate: calc(var(--popover-nudge) * -1) 0; }
|
|
3886
4004
|
|
|
3887
4005
|
/* ── What an app sets once ───────────────────────────────────────────────────────────────────────────────────── */
|
|
3888
4006
|
[data-popover-corners="lg"] .o-popover { --popover-corners: var(--vk-radius-lg); }
|
|
@@ -3899,6 +4017,25 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3899
4017
|
[data-popover-gap="0"] .o-popover { --popover-gap: 0px; }
|
|
3900
4018
|
[data-popover-gap="8"] .o-popover { --popover-gap: calc(var(--vk-spacing) * 2); }
|
|
3901
4019
|
|
|
4020
|
+
/* How it moves: on the frame itself, the public names every popup inside it reads. Each value is the pick's own (a frame need declare
|
|
4021
|
+
no token for it), the eases the motion tokens; None comes last, so it stills whatever the times say. */
|
|
4022
|
+
[data-popover-distance="small"] { --vk-popup-nudge: 2px; }
|
|
4023
|
+
[data-popover-distance="large"] { --vk-popup-nudge: 8px; }
|
|
4024
|
+
:is([data-popover-motion="fade"], [data-popover-motion="scale"]) { --vk-popup-nudge: 0px; }
|
|
4025
|
+
[data-popover-motion="scale"] { --vk-popup-scale: 0.95; }
|
|
4026
|
+
[data-popover-motion="scale"][data-popover-distance="small"] { --vk-popup-scale: 0.98; }
|
|
4027
|
+
[data-popover-motion="scale"][data-popover-distance="large"] { --vk-popup-scale: 0.9; }
|
|
4028
|
+
[data-popover-open="100"] { --vk-popup-open-duration: 100ms; }
|
|
4029
|
+
[data-popover-open="200"] { --vk-popup-open-duration: 200ms; }
|
|
4030
|
+
[data-popover-open="300"] { --vk-popup-open-duration: 300ms; }
|
|
4031
|
+
[data-popover-close="75"] { --vk-popup-close-duration: 75ms; }
|
|
4032
|
+
[data-popover-close="100"] { --vk-popup-close-duration: 100ms; }
|
|
4033
|
+
[data-popover-close="200"] { --vk-popup-close-duration: 200ms; }
|
|
4034
|
+
[data-popover-ease="sharp"] { --vk-popup-open-ease: var(--vk-ease-out-sharp); }
|
|
4035
|
+
[data-popover-ease="smooth"] { --vk-popup-open-ease: var(--vk-ease-in-out); --vk-popup-close-ease: var(--vk-ease-in-out); }
|
|
4036
|
+
[data-popover-ease="spring"] { --vk-popup-open-ease: var(--vk-ease-spring); }
|
|
4037
|
+
[data-popover-motion="none"] { --vk-popup-open-duration: 0s; --vk-popup-close-duration: 0s; }
|
|
4038
|
+
|
|
3902
4039
|
/* ── Its corners smooth: the smooth outline (smooth.css), Apple's curve as measured, so every browser that knows
|
|
3903
4040
|
shape() shows it; one that doesn't keeps the corners above. The shell keeps its shadow, which a cut would take with
|
|
3904
4041
|
it, so .o-popover-cut inside it is cut instead, and the edge's two shapes each by the same outline at its own corner,
|
|
@@ -4854,8 +4991,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
4854
4991
|
/* ViewKit's own Popover holding the rules on a computer (the ready toolbar's Sort): as wide as its rows, so each rule's grip, field,
|
|
4855
4992
|
direction and × stand inside it, never under the 288 it opens Add sort's fields at, and never past the room on screen (its own
|
|
4856
4993
|
--available-width, popover.css). Keyed on what it holds, so the fields with no rule keep their 288; an app's own Popover, or its own
|
|
4857
|
-
width on this one, is the app's (VK-977). */
|
|
4858
|
-
.o-popover:has(.o-sort-editor[data-sort-form="computer"]) {
|
|
4994
|
+
width on this one, is the app's (VK-977), and the app's --vk-panel-w sets it (--popover-size-w, VK-992). */
|
|
4995
|
+
.o-popover:has(.o-sort-editor[data-sort-form="computer"]) {
|
|
4996
|
+
width: var(--popover-size-w, max-content); min-width: var(--popover-size-w, max(var(--anchor-width, 0px), calc(var(--vk-spacing) * 72)));
|
|
4997
|
+
}
|
|
4859
4998
|
|
|
4860
4999
|
/* 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
|
|
4861
5000
|
under 192 nor its box, never past 288 (listWidth, select.css). Scoped to the editor, so it wins over the smooth list's own
|
|
@@ -5505,6 +5644,12 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5505
5644
|
width: max(100%, calc(var(--vk-spacing) * 75)); max-width: none; max-height: calc(var(--vk-spacing) * 80);
|
|
5506
5645
|
box-shadow: var(--vk-shadow-lg), inset 0 0 0 var(--inline-input-ring, 0px) var(--inline-input-colour);
|
|
5507
5646
|
}
|
|
5647
|
+
/* In a grid's cell (data-inline-input-place="cell", inline-input.css), never lifted, grown or long: the cell typed in wears only
|
|
5648
|
+
the selected cell's ring. (0,5,0): over the two lifts above. */
|
|
5649
|
+
[data-inline-input-place="cell"] .o-text-editor[data-text-box][data-grown] .o-text-editor-box,
|
|
5650
|
+
[data-inline-input-place="cell"] .o-text-editor[data-text-box][data-text-kind="long"] .o-text-editor-box {
|
|
5651
|
+
box-shadow: inset 0 0 0 var(--inline-input-ring, 0px) var(--inline-input-colour);
|
|
5652
|
+
}
|
|
5508
5653
|
/* What a line's own width is read by: the box's font, on one line, unseen. */
|
|
5509
5654
|
.o-text-editor-mirror {
|
|
5510
5655
|
position: absolute; top: 0; left: 0; width: max-content; height: 0; overflow: hidden; visibility: hidden; pointer-events: none;
|
|
@@ -5543,6 +5688,28 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5543
5688
|
.o-text-editor[data-text-place="row"][data-text-form] .o-text-editor-phone { position: relative; top: auto; left: auto; width: 100%; height: var(--inline-input-row); }
|
|
5544
5689
|
.o-text-editor[data-text-place="row"][data-text-form] .o-text-editor-note { position: relative; top: auto; left: auto; margin-top: var(--vk-spacing); max-width: 100%; }
|
|
5545
5690
|
|
|
5691
|
+
/* ── In a record's row that wears the Field's Box (data-field-row-box="box" on a frame round the rows; the row marks its open
|
|
5692
|
+
editor data-field-row-editor): on a computer the box is the row's own, the rectangle its hover and its press drew. It stands
|
|
5693
|
+
where that rectangle stood, pulled out by the box's reach and its height round the row's one line (the row's
|
|
5694
|
+
--field-row-box-* variables, field.css), its words that reach in, no edge of its own, the row's ground: so
|
|
5695
|
+
not a pixel of the words moves and the row keeps its height. Its ring is drawn outside it, a line of the brand and the
|
|
5696
|
+
focus glow, red when refused. A line of text stays one line, scrolling sideways; long text still grows. A phone's form is
|
|
5697
|
+
the phone's own. ─────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
5698
|
+
:where([data-field-row-box="box"] [data-field-row-editor]) .o-text-editor[data-text-place="row"][data-text-form="computer"] {
|
|
5699
|
+
--inline-input-row: var(--field-row-box-h); --inline-input-edge: 0px; --inline-input-ring: 0px;
|
|
5700
|
+
width: calc(100% + var(--field-row-box-x) * 2); margin: calc(var(--field-row-box-y) * -1) calc(var(--field-row-box-x) * -1);
|
|
5701
|
+
}
|
|
5702
|
+
:where([data-field-row-box="box"] [data-field-row-editor]) .o-text-editor[data-text-place="row"][data-text-form="computer"] :is(.o-text-editor-box, .o-text-editor-phone) {
|
|
5703
|
+
--inline-input-words: var(--field-row-box-x); border-radius: var(--field-row-box-r); background-color: transparent;
|
|
5704
|
+
box-shadow: 0 0 0 var(--vk-border-width) var(--inline-input-colour), var(--vk-shadow-field-focus);
|
|
5705
|
+
}
|
|
5706
|
+
:where([data-field-row-box="box"] [data-field-row-editor]) .o-text-editor[data-text-place="row"][data-text-form="computer"] :is(.o-text-editor-box, .o-text-editor-phone):is([aria-invalid="true"], [data-refused]) {
|
|
5707
|
+
box-shadow: 0 0 0 var(--vk-border-width) var(--inline-input-colour), var(--vk-shadow-field-focus-danger);
|
|
5708
|
+
}
|
|
5709
|
+
:where([data-field-row-box="box"] [data-field-row-editor]) .o-text-editor[data-text-place="row"][data-text-form="computer"]:not([data-text-kind="long"]) .o-text-editor-box {
|
|
5710
|
+
white-space: pre; overflow: hidden;
|
|
5711
|
+
}
|
|
5712
|
+
|
|
5546
5713
|
/* ── On a phone: the Input at the phone's size; long text one tall box; a phone's country in the box's start side ──── */
|
|
5547
5714
|
.o-text-editor[data-text-form="phone"] { display: grid; }
|
|
5548
5715
|
.o-text-editor[data-text-form="phone"] .o-text-editor-country { gap: calc(var(--vk-spacing) * 0.75); }
|
|
@@ -5818,6 +5985,11 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5818
5985
|
as it draws, and folds them a step at a time. */
|
|
5819
5986
|
.o-toolbar-folds { display: inline-flex; flex: none; min-width: max-content; align-items: center; }
|
|
5820
5987
|
|
|
5988
|
+
/* A phone's first paint (VK-1038): server-rendered, the toolbar and the grid stand twice, the phone's form and the computer's
|
|
5989
|
+
(`ScreenForms`, internal/screen-forms.tsx), and this shows the screen's at ViewKit's own line, as the inline rules beside them
|
|
5990
|
+
do at the app's: here for a page whose policy refuses an inline style. Kept on one line, as screenFormsCss writes it. */
|
|
5991
|
+
[data-vk-screen-forms]{display:contents}[data-vk-twin="computer"][data-vk-twin-line="(min-width: 1024px)"]{display:none}@media (min-width: 1024px){[data-vk-twin="computer"][data-vk-twin-line="(min-width: 1024px)"]{display:contents}[data-vk-twin="phone"][data-vk-twin-line="(min-width: 1024px)"]{display:none}}
|
|
5992
|
+
|
|
5821
5993
|
/* ── The tooltip: the page's text colour as its ground and the page's ground as its words, so it stands
|
|
5822
5994
|
out in both themes with no shadow; 6px by 8px, ¾ of the radius, 6px from what it names ──────────── */
|
|
5823
5995
|
.o-tooltip {
|
|
@@ -5827,14 +5999,16 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5827
5999
|
background-color: var(--vk-fg); color: var(--vk-ground);
|
|
5828
6000
|
font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); font-weight: var(--vk-font-weight-medium);
|
|
5829
6001
|
pointer-events: none;
|
|
5830
|
-
|
|
6002
|
+
transform-origin: var(--transform-origin); transition-property: opacity, translate, scale;
|
|
6003
|
+
transition-duration: var(--vk-popup-open-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-open-ease, var(--vk-ease-out));
|
|
5831
6004
|
}
|
|
5832
6005
|
.o-tooltip-positioner { z-index: var(--vk-layer-popup); }
|
|
5833
6006
|
/* What it names hands its script its times, read there so a look set round it reaches them: the wait before it shows, how long a
|
|
5834
6007
|
tapped reason stays, and a group's warm time. */
|
|
5835
6008
|
.o-tooltip-trigger { --tooltip-wait: var(--vk-tooltip-delay); --tooltip-tap: var(--vk-toast-duration); --tooltip-warm-now: var(--vk-tooltip-warm); }
|
|
5836
|
-
/* It fades in and rises 2px. */
|
|
5837
|
-
.o-tooltip
|
|
6009
|
+
/* It fades in and rises 2px, half a popup's nudge, in 150ms each way, easing out both ways (popover.css): or as the popup motion names say. */
|
|
6010
|
+
.o-tooltip[data-ending-style] { transition-duration: var(--vk-popup-close-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-close-ease, var(--vk-ease-out)); }
|
|
6011
|
+
.o-tooltip:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--vk-popup-nudge, var(--vk-spacing)) * 0.5); scale: var(--vk-popup-scale, none); }
|
|
5838
6012
|
|
|
5839
6013
|
/* ── A longer reason: it wraps, at least 200px wide and at most 320px, in the regular weight ────────── */
|
|
5840
6014
|
.o-tooltip.o-tooltip-reason { width: auto; min-width: calc(var(--vk-spacing) * 50); font-weight: var(--vk-font-weight-normal); }
|
|
@@ -6041,16 +6215,31 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6041
6215
|
.o-values-editor[data-values-line="plus"] .o-values-editor-prefix { color: var(--vk-fg-subtlest); }
|
|
6042
6216
|
.o-values-editor[data-values-line="plus"] .o-values-editor-error { margin: var(--vk-spacing) 0 var(--vk-spacing) calc(var(--vk-spacing) * 7); }
|
|
6043
6217
|
|
|
6044
|
-
/* ── Attio's look on a phone (data-values-phone="rows"): one card, rows 48 high at 16, each with its grip, its
|
|
6045
|
-
write or open and its trash; the line in the card under a line; a refusal's words under the card
|
|
6218
|
+
/* ── Attio's look on a phone (data-values-phone="rows"): one card, rows 48 high at 16, each with its grip, its value over its
|
|
6219
|
+
label, its call, write or open and its trash; the line in the card under a line; a refusal's words under the card ────────── */
|
|
6046
6220
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-card { white-space: normal; }
|
|
6047
|
-
/* Its row's inside: the grip at its start's edge, its acts at its end, the computer's row height let go.
|
|
6048
|
-
|
|
6221
|
+
/* Its row's inside: the grip at its start's edge, its acts at its end, the computer's row height let go. The value takes the whole
|
|
6222
|
+
line between them, its label under it (Mihai, 4 Dec 2026), so a phone number reads whole at 375; a value with no label stands
|
|
6223
|
+
alone in the middle; a value edited spans both lines. */
|
|
6224
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row {
|
|
6225
|
+
display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "grip value acts" "grip label acts"; align-items: center;
|
|
6226
|
+
gap: 0; height: auto; padding: 0 var(--vk-spacing) 0 calc(var(--vk-spacing) * 0.5); border-radius: 0;
|
|
6227
|
+
}
|
|
6228
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-grip { grid-area: grip; }
|
|
6229
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-value { grid-area: value; justify-self: start; max-width: 100%; }
|
|
6230
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-label { grid-area: label; justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
|
|
6231
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-acts { grid-area: acts; }
|
|
6232
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-edit { grid-column: 2 / -1; grid-row: 1 / -1; }
|
|
6233
|
+
/* With a label under it, the value and its label stand together in the row's height, 4 above and below. */
|
|
6234
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row:has(> .o-values-editor-label) { padding-block: var(--vk-spacing); }
|
|
6235
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row:has(> .o-values-editor-label) > .o-values-editor-value { min-height: 0; align-self: end; }
|
|
6236
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row:has(> .o-values-editor-label) > .o-values-editor-label { align-self: start; }
|
|
6049
6237
|
@media (hover: hover) { .o-values-editor[data-values-phone="rows"] .o-values-editor-row:hover { background-color: transparent; } }
|
|
6050
6238
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-row[data-lifted] { background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
|
|
6051
6239
|
.o-values-editor[data-values-holds="one"][data-values-phone="rows"] .o-values-editor-row { padding-left: calc(var(--vk-spacing) * 3); }
|
|
6052
6240
|
.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); }
|
|
6053
|
-
|
|
6241
|
+
/* Its label under it, where it starts. */
|
|
6242
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-label { margin-left: 0; padding-left: 0; color: var(--vk-fg-subtlest); font-size: var(--vk-font-size-sm); }
|
|
6054
6243
|
.o-values-editor-acts { display: flex; flex: none; margin-left: auto; }
|
|
6055
6244
|
.o-values-editor-label + .o-values-editor-acts { margin-left: 0; }
|
|
6056
6245
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-remove { opacity: 1; }
|
|
@@ -6297,15 +6486,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6297
6486
|
.z-\[calc\(7\*var\(--vk-scrolled\,0\)\+1\)\] {
|
|
6298
6487
|
z-index: calc(7 * var(--vk-scrolled,0) + 1);
|
|
6299
6488
|
}
|
|
6300
|
-
.col-span-2 {
|
|
6301
|
-
grid-column: span 2 / span 2;
|
|
6302
|
-
}
|
|
6303
|
-
.col-start-2 {
|
|
6304
|
-
grid-column-start: 2;
|
|
6305
|
-
}
|
|
6306
|
-
.row-start-2 {
|
|
6307
|
-
grid-row-start: 2;
|
|
6308
|
-
}
|
|
6309
6489
|
.clear-none {
|
|
6310
6490
|
clear: none;
|
|
6311
6491
|
}
|
|
@@ -6482,6 +6662,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6482
6662
|
width: calc(4px * 3.5);
|
|
6483
6663
|
height: calc(4px * 3.5);
|
|
6484
6664
|
}
|
|
6665
|
+
.size-3\.75 {
|
|
6666
|
+
width: calc(4px * 3.75);
|
|
6667
|
+
height: calc(4px * 3.75);
|
|
6668
|
+
}
|
|
6485
6669
|
.size-4 {
|
|
6486
6670
|
width: calc(4px * 4);
|
|
6487
6671
|
height: calc(4px * 4);
|
|
@@ -6628,6 +6812,24 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6628
6812
|
.w-\(--vk-head-glyph\) {
|
|
6629
6813
|
width: var(--vk-head-glyph);
|
|
6630
6814
|
}
|
|
6815
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*60\)\) {
|
|
6816
|
+
width: var(--vk-panel-w,calc(4px * 60));
|
|
6817
|
+
}
|
|
6818
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*62\)\) {
|
|
6819
|
+
width: var(--vk-panel-w,calc(4px * 62));
|
|
6820
|
+
}
|
|
6821
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*64\)\) {
|
|
6822
|
+
width: var(--vk-panel-w,calc(4px * 64));
|
|
6823
|
+
}
|
|
6824
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*72\)\) {
|
|
6825
|
+
width: var(--vk-panel-w,calc(4px * 72));
|
|
6826
|
+
}
|
|
6827
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*75\)\) {
|
|
6828
|
+
width: var(--vk-panel-w,calc(4px * 75));
|
|
6829
|
+
}
|
|
6830
|
+
.w-\(--vk-panel-w\,fit-content\) {
|
|
6831
|
+
width: var(--vk-panel-w,fit-content);
|
|
6832
|
+
}
|
|
6631
6833
|
.w-\(--vk-rail-w\) {
|
|
6632
6834
|
width: var(--vk-rail-w);
|
|
6633
6835
|
}
|
|
@@ -6676,12 +6878,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6676
6878
|
.w-48 {
|
|
6677
6879
|
width: calc(4px * 48);
|
|
6678
6880
|
}
|
|
6679
|
-
.w-60 {
|
|
6680
|
-
width: calc(4px * 60);
|
|
6681
|
-
}
|
|
6682
|
-
.w-62 {
|
|
6683
|
-
width: calc(4px * 62);
|
|
6684
|
-
}
|
|
6685
6881
|
.w-64 {
|
|
6686
6882
|
width: calc(4px * 64);
|
|
6687
6883
|
}
|
|
@@ -6847,12 +7043,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6847
7043
|
.grid-cols-\(--vk-cols\) {
|
|
6848
7044
|
grid-template-columns: var(--vk-cols);
|
|
6849
7045
|
}
|
|
6850
|
-
.grid-cols-\[auto_minmax\(0\,1fr\)_auto\] {
|
|
6851
|
-
grid-template-columns: auto minmax(0,1fr) auto;
|
|
6852
|
-
}
|
|
6853
|
-
.grid-cols-\[auto_var\(--vk-field-row-label-w\,calc\(var\(--spacing\)\*32\)\)_minmax\(0\,1fr\)_auto\] {
|
|
6854
|
-
grid-template-columns: auto var(--vk-field-row-label-w,calc(4px * 32)) minmax(0,1fr) auto;
|
|
6855
|
-
}
|
|
6856
7046
|
.grid-rows-\[auto\] {
|
|
6857
7047
|
grid-template-rows: auto;
|
|
6858
7048
|
}
|
|
@@ -7062,9 +7252,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7062
7252
|
.border-\(color\:--vk-border\) {
|
|
7063
7253
|
border-color: var(--vk-border);
|
|
7064
7254
|
}
|
|
7065
|
-
.border-\(color\:--vk-border-brand\) {
|
|
7066
|
-
border-color: var(--vk-border-brand);
|
|
7067
|
-
}
|
|
7068
7255
|
.border-\(color\:--vk-border-subtle\) {
|
|
7069
7256
|
border-color: var(--vk-border-subtle);
|
|
7070
7257
|
}
|
|
@@ -7080,9 +7267,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7080
7267
|
.border-\(color\:--vk-outline\,var\(--vk-fg-subtle\)\) {
|
|
7081
7268
|
border-color: var(--vk-outline,var(--vk-fg-subtle));
|
|
7082
7269
|
}
|
|
7083
|
-
.border-\(color\:--vk-outline-active\,var\(--vk-border-brand\)\) {
|
|
7084
|
-
border-color: var(--vk-outline-active,var(--vk-border-brand));
|
|
7085
|
-
}
|
|
7086
7270
|
.border-\[var\(--vk-warning\,hsl\(38_92\%_50\%\)\)\] {
|
|
7087
7271
|
border-color: var(--vk-warning,hsl(38 92% 50%));
|
|
7088
7272
|
}
|
|
@@ -7815,18 +7999,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7815
7999
|
}
|
|
7816
8000
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7817
8001
|
}
|
|
7818
|
-
.shadow-\[var\(--vk-editing-shadow\,0_10px_15px_-3px_rgb\(0_0_0\/0\.2\)\,0_4px_6px_-4px_rgb\(0_0_0\/0\.2\)\)\] {
|
|
7819
|
-
--tw-shadow: var(--vk-editing-shadow,0 10px 15px -3px rgb(0 0 0/0.2),0 4px 6px -4px rgb(0 0 0/0.2));
|
|
7820
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7821
|
-
}
|
|
7822
8002
|
.shadow-\[var\(--vk-float-shadow\,0_8px_24px_rgb\(0_0_0\/0\.12\)\)\] {
|
|
7823
8003
|
--tw-shadow: var(--vk-float-shadow,0 8px 24px rgb(0 0 0/0.12));
|
|
7824
8004
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7825
8005
|
}
|
|
7826
|
-
.shadow-lg {
|
|
7827
|
-
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
7828
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7829
|
-
}
|
|
7830
8006
|
.shadow-md {
|
|
7831
8007
|
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
7832
8008
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -7897,14 +8073,14 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7897
8073
|
transition-timing-function: var(--tw-ease, ease);
|
|
7898
8074
|
transition-duration: var(--tw-duration, 0s);
|
|
7899
8075
|
}
|
|
7900
|
-
.duration-\(--vk-duration\,100ms\) {
|
|
7901
|
-
--tw-duration: var(--vk-duration,100ms);
|
|
7902
|
-
transition-duration: var(--vk-duration,100ms);
|
|
7903
|
-
}
|
|
7904
8076
|
.duration-\(--vk-duration\,150ms\) {
|
|
7905
8077
|
--tw-duration: var(--vk-duration,150ms);
|
|
7906
8078
|
transition-duration: var(--vk-duration,150ms);
|
|
7907
8079
|
}
|
|
8080
|
+
.duration-\(--vk-popup-open-duration\,var\(--vk-duration\,150ms\)\) {
|
|
8081
|
+
--tw-duration: var(--vk-popup-open-duration,var(--vk-duration,150ms));
|
|
8082
|
+
transition-duration: var(--vk-popup-open-duration,var(--vk-duration,150ms));
|
|
8083
|
+
}
|
|
7908
8084
|
.duration-150 {
|
|
7909
8085
|
--tw-duration: 150ms;
|
|
7910
8086
|
transition-duration: 150ms;
|
|
@@ -8078,6 +8254,15 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8078
8254
|
.group-data-desktop\/gridtable\:group-data-hovered\/gridrow\:opacity-100:is(:where(.group\/gridtable)[data-desktop] *):is(:where(.group\/gridrow)[data-hovered] *) {
|
|
8079
8255
|
opacity: 100%;
|
|
8080
8256
|
}
|
|
8257
|
+
.group-data-\[form\=phone\]\/field-row\:col-span-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8258
|
+
grid-column: span 2 / span 2;
|
|
8259
|
+
}
|
|
8260
|
+
.group-data-\[form\=phone\]\/field-row\:col-start-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8261
|
+
grid-column-start: 2;
|
|
8262
|
+
}
|
|
8263
|
+
.group-data-\[form\=phone\]\/field-row\:row-start-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8264
|
+
grid-row-start: 2;
|
|
8265
|
+
}
|
|
8081
8266
|
.group-data-\[rail\=on\]\/gridtable\:opacity-100:is(:where(.group\/gridtable)[data-rail="on"] *) {
|
|
8082
8267
|
opacity: 100%;
|
|
8083
8268
|
}
|
|
@@ -8363,6 +8548,9 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8363
8548
|
.disabled\:opacity-50:disabled {
|
|
8364
8549
|
opacity: 50%;
|
|
8365
8550
|
}
|
|
8551
|
+
:where([data-field-row-icon="off"]) .group-data-\[form\=computer\]\/field-row\:in-data-\[field-row-icon\=off\]\:hidden:is(:where(.group\/field-row)[data-form="computer"] *) {
|
|
8552
|
+
display: none;
|
|
8553
|
+
}
|
|
8366
8554
|
.has-data-grown\:z-11:has([data-grown]) {
|
|
8367
8555
|
z-index: 11;
|
|
8368
8556
|
}
|
|
@@ -8407,6 +8595,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8407
8595
|
.data-desktop\:group-has-\[\:focus-visible\]\:opacity-100[data-desktop]:is(:where(.group):has(:is(:focus-visible)) *) {
|
|
8408
8596
|
opacity: 100%;
|
|
8409
8597
|
}
|
|
8598
|
+
.data-ending-style\:duration-\(--vk-popup-close-duration\,var\(--vk-duration\,150ms\)\)[data-ending-style] {
|
|
8599
|
+
--tw-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8600
|
+
transition-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8601
|
+
}
|
|
8410
8602
|
.data-grown\:z-2[data-grown] {
|
|
8411
8603
|
z-index: 2;
|
|
8412
8604
|
}
|
|
@@ -8439,12 +8631,28 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8439
8631
|
:is(.\*\*\:data-vs-detail\:max-h-none *)[data-vs-detail] {
|
|
8440
8632
|
max-height: none;
|
|
8441
8633
|
}
|
|
8634
|
+
.data-\[form\=computer\]\:grid-cols-\[auto_var\(--vk-field-row-label-w\,calc\(var\(--spacing\)\*32\)\)_minmax\(0\,1fr\)_auto\][data-form="computer"] {
|
|
8635
|
+
grid-template-columns: auto var(--vk-field-row-label-w,calc(4px * 32)) minmax(0,1fr) auto;
|
|
8636
|
+
}
|
|
8637
|
+
:where([data-field-row-icon="off"]) .data-\[form\=computer\]\:in-data-\[field-row-icon\=off\]\:grid-cols-\[var\(--vk-field-row-label-w\,calc\(var\(--spacing\)\*32\)\)_minmax\(0\,1fr\)_auto\][data-form="computer"] {
|
|
8638
|
+
grid-template-columns: var(--vk-field-row-label-w,calc(4px * 32)) minmax(0,1fr) auto;
|
|
8639
|
+
}
|
|
8640
|
+
.data-\[form\=phone\]\:grid-cols-\[auto_minmax\(0\,1fr\)_auto\][data-form="phone"] {
|
|
8641
|
+
grid-template-columns: auto minmax(0,1fr) auto;
|
|
8642
|
+
}
|
|
8643
|
+
.data-\[form\=phone\]\:gap-y-1[data-form="phone"] {
|
|
8644
|
+
row-gap: 4px;
|
|
8645
|
+
}
|
|
8442
8646
|
.data-\[side\=end\]\:right-0[data-side="end"] {
|
|
8443
8647
|
right: 0px;
|
|
8444
8648
|
}
|
|
8445
8649
|
.data-\[side\=end\]\:left-auto[data-side="end"] {
|
|
8446
8650
|
left: auto;
|
|
8447
8651
|
}
|
|
8652
|
+
.data-\[state\=closed\]\:duration-\(--vk-popup-close-duration\,var\(--vk-duration\,150ms\)\)[data-state="closed"] {
|
|
8653
|
+
--tw-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8654
|
+
transition-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8655
|
+
}
|
|
8448
8656
|
.data-desktop\:data-\[state\=open\]\:opacity-100[data-desktop][data-state="open"] {
|
|
8449
8657
|
opacity: 100%;
|
|
8450
8658
|
}
|
|
@@ -8455,10 +8663,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8455
8663
|
--tw-gradient-from: var(--vk-frozen-shadow,rgb(0 0 0/0.6));
|
|
8456
8664
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
8457
8665
|
}
|
|
8458
|
-
.dark\:shadow-\[var\(--vk-editing-shadow\,0_10px_15px_-3px_rgb\(0_0_0\/0\.5\)\,0_4px_6px_-4px_rgb\(0_0_0\/0\.5\)\)\]:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
8459
|
-
--tw-shadow: var(--vk-editing-shadow,0 10px 15px -3px rgb(0 0 0/0.5),0 4px 6px -4px rgb(0 0 0/0.5));
|
|
8460
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
8461
|
-
}
|
|
8462
8666
|
@media (hover: hover) {
|
|
8463
8667
|
.dark\:hover\:shadow-\[var\(--vk-outline-hover-shadow\,0_1px_2px_rgb\(0_0_0\/0\.22\)\)\]:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *):hover {
|
|
8464
8668
|
--tw-shadow: var(--vk-outline-hover-shadow,0 1px 2px rgb(0 0 0/0.22));
|
|
@@ -8471,12 +8675,67 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8471
8675
|
.\[\&_\[data-cell-open\]\:hover\]\:underline [data-cell-open]:hover {
|
|
8472
8676
|
text-decoration-line: underline;
|
|
8473
8677
|
}
|
|
8678
|
+
.\[\&_\[data-slot\=vk-number-box\]\]\:rounded-\[calc\(var\(--vk-outline-radius\,var\(--radius-sm\)\)\+var\(--vk-border-width\)\)\] [data-slot=vk-number-box] {
|
|
8679
|
+
border-radius: calc(var(--vk-outline-radius,5px) + var(--vk-border-width));
|
|
8680
|
+
}
|
|
8681
|
+
.\[\&_\[data-slot\=vk-number-box\]\]\:outline [data-slot=vk-number-box] {
|
|
8682
|
+
outline-style: var(--tw-outline-style);
|
|
8683
|
+
outline-width: 1px;
|
|
8684
|
+
}
|
|
8685
|
+
.\[\&_\[data-slot\=vk-number-box\]\]\:-outline-offset-\[calc\(var\(--vk-border-width\)\+var\(--vk-border-width\)\)\] [data-slot=vk-number-box] {
|
|
8686
|
+
outline-offset: calc(calc(var(--vk-border-width) + var(--vk-border-width)) * -1);
|
|
8687
|
+
}
|
|
8688
|
+
.\[\&_\[data-slot\=vk-number-box\]\]\:outline-\(color\:--vk-outline\,var\(--vk-fg-subtle\)\) [data-slot=vk-number-box] {
|
|
8689
|
+
outline-color: var(--vk-outline,var(--vk-fg-subtle));
|
|
8690
|
+
}
|
|
8691
|
+
@media (hover: hover) {
|
|
8692
|
+
.group-hover\/gridcell\:\[\&_\[data-slot\=vk-number-box\]\]\:outline-\(color\:--vk-outline-active\,var\(--vk-border-brand\)\):is(:where(.group\/gridcell):hover *) [data-slot=vk-number-box] {
|
|
8693
|
+
outline-color: var(--vk-outline-active,var(--vk-border-brand));
|
|
8694
|
+
}
|
|
8695
|
+
}
|
|
8696
|
+
.\[\&_\[data-slot\=vk-number-box\]\:is\(\[aria-invalid\=true\]\,\:has\(\[aria-invalid\=true\]\)\)\]\:outline-hidden [data-slot=vk-number-box]:is([aria-invalid=true], :has([aria-invalid=true])) {
|
|
8697
|
+
--tw-outline-style: none;
|
|
8698
|
+
outline-style: none;
|
|
8699
|
+
@media (forced-colors: active) {
|
|
8700
|
+
outline: 2px solid transparent;
|
|
8701
|
+
outline-offset: 2px;
|
|
8702
|
+
}
|
|
8703
|
+
}
|
|
8704
|
+
.\[\&_\[data-slot\=vk-text-box\]\]\:rounded-\[calc\(var\(--vk-outline-radius\,var\(--radius-sm\)\)\+var\(--vk-border-width\)\)\] [data-slot=vk-text-box] {
|
|
8705
|
+
border-radius: calc(var(--vk-outline-radius,5px) + var(--vk-border-width));
|
|
8706
|
+
}
|
|
8707
|
+
.\[\&_\[data-slot\=vk-text-box\]\]\:outline [data-slot=vk-text-box] {
|
|
8708
|
+
outline-style: var(--tw-outline-style);
|
|
8709
|
+
outline-width: 1px;
|
|
8710
|
+
}
|
|
8711
|
+
.\[\&_\[data-slot\=vk-text-box\]\]\:-outline-offset-\[calc\(var\(--vk-border-width\)\+var\(--vk-border-width\)\)\] [data-slot=vk-text-box] {
|
|
8712
|
+
outline-offset: calc(calc(var(--vk-border-width) + var(--vk-border-width)) * -1);
|
|
8713
|
+
}
|
|
8714
|
+
.\[\&_\[data-slot\=vk-text-box\]\]\:outline-\(color\:--vk-outline\,var\(--vk-fg-subtle\)\) [data-slot=vk-text-box] {
|
|
8715
|
+
outline-color: var(--vk-outline,var(--vk-fg-subtle));
|
|
8716
|
+
}
|
|
8717
|
+
@media (hover: hover) {
|
|
8718
|
+
.group-hover\/gridcell\:\[\&_\[data-slot\=vk-text-box\]\]\:outline-\(color\:--vk-outline-active\,var\(--vk-border-brand\)\):is(:where(.group\/gridcell):hover *) [data-slot=vk-text-box] {
|
|
8719
|
+
outline-color: var(--vk-outline-active,var(--vk-border-brand));
|
|
8720
|
+
}
|
|
8721
|
+
}
|
|
8722
|
+
.\[\&_\[data-slot\=vk-text-box\]\:is\(\[aria-invalid\=true\]\,\:has\(\[aria-invalid\=true\]\)\)\]\:outline-hidden [data-slot=vk-text-box]:is([aria-invalid=true], :has([aria-invalid=true])) {
|
|
8723
|
+
--tw-outline-style: none;
|
|
8724
|
+
outline-style: none;
|
|
8725
|
+
@media (forced-colors: active) {
|
|
8726
|
+
outline: 2px solid transparent;
|
|
8727
|
+
outline-offset: 2px;
|
|
8728
|
+
}
|
|
8729
|
+
}
|
|
8474
8730
|
.\[\&_a\]\:pointer-events-auto a {
|
|
8475
8731
|
pointer-events: auto;
|
|
8476
8732
|
}
|
|
8477
8733
|
.\[\&_button\]\:pointer-events-auto button {
|
|
8478
8734
|
pointer-events: auto;
|
|
8479
8735
|
}
|
|
8736
|
+
.\[\&_textarea\[data-slot\=vk-text-box\]\]\:rounded-\[calc\(var\(--vk-outline-radius\,var\(--radius-sm\)\)\+var\(--vk-border-width\)\)\] textarea[data-slot=vk-text-box] {
|
|
8737
|
+
border-radius: calc(var(--vk-outline-radius,5px) + var(--vk-border-width));
|
|
8738
|
+
}
|
|
8480
8739
|
.\[\&\:\:-webkit-search-cancel-button\]\:appearance-none::-webkit-search-cancel-button {
|
|
8481
8740
|
appearance: none;
|
|
8482
8741
|
}
|
|
@@ -8551,6 +8810,14 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8551
8810
|
display: block;
|
|
8552
8811
|
}
|
|
8553
8812
|
}
|
|
8813
|
+
[data-vk-screen-forms]:last-child > .\[\[data-vk-screen-forms\]\:last-child\>\&\]\:border-0 {
|
|
8814
|
+
border-style: var(--tw-border-style);
|
|
8815
|
+
border-width: 0px;
|
|
8816
|
+
}
|
|
8817
|
+
[data-vk-twin=computer]:has( + [data-vk-twin=phone]:last-child) > .\[\[data-vk-twin\=computer\]\:has\(\+\[data-vk-twin\=phone\]\:last-child\)\>\&\]\:border-0 {
|
|
8818
|
+
border-style: var(--tw-border-style);
|
|
8819
|
+
border-width: 0px;
|
|
8820
|
+
}
|
|
8554
8821
|
@property --tw-translate-x {
|
|
8555
8822
|
syntax: "*";
|
|
8556
8823
|
inherits: false;
|
|
@@ -8929,8 +9196,8 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8929
9196
|
[data-grid-lines="off"] [data-slot="vk-grid-gap"] {
|
|
8930
9197
|
--vk-border-subtle: transparent;
|
|
8931
9198
|
}
|
|
8932
|
-
[data-grid-cell="wash"] [data-slot="vk-grid-cell"][data-focused],
|
|
8933
|
-
[data-slot="vk-grid-cell"][data-focused]:not([data-grid-cell] *) {
|
|
9199
|
+
[data-grid-cell="wash"] [data-slot="vk-grid-cell"][data-focused]:not([data-editing]),
|
|
9200
|
+
[data-slot="vk-grid-cell"][data-focused]:not([data-editing]):not([data-grid-cell] *) {
|
|
8934
9201
|
background-color: var(--vk-brand-subtlest);
|
|
8935
9202
|
}
|
|
8936
9203
|
[data-grid-corners="square"] [data-slot="vk-grid"] { --vk-outline-radius: 0; }
|
|
@@ -8944,12 +9211,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8944
9211
|
[data-slot="vk-grid"]:not([data-grid-frame] *) { --vk-outline: var(--vk-border-accent); }
|
|
8945
9212
|
[data-grid-frame="neutral"] [data-slot="vk-grid"] { --vk-outline: var(--vk-border-bold); }
|
|
8946
9213
|
[data-slot="vk-grid"] { --vk-outline-active: var(--vk-border-accent); }
|
|
8947
|
-
[data-slot="vk-grid-cell"][data-editing]:has([data-kit="text-editor"], [data-kit="number-editor"]) [data-slot="vk-grid-outline"] {
|
|
8948
|
-
display: none;
|
|
8949
|
-
}
|
|
8950
|
-
:root:has([data-slot="vk-grid-editor"] [data-kit="picker"], [data-slot="vk-grid-editor"] [data-kit="compound-editor"], [data-slot="vk-grid-editor"] [data-kit="values-editor"], [data-slot="vk-grid-editor"] [data-kit="date-editor"]) [data-slot="vk-grid-cell"][data-editing] [data-slot="vk-grid-outline"] {
|
|
8951
|
-
display: none;
|
|
8952
|
-
}
|
|
8953
9214
|
[data-grid-picked="tint"] [data-slot="vk-grid"] {
|
|
8954
9215
|
--vk-selection-edge: transparent;
|
|
8955
9216
|
}
|