viewkitjs 0.23.0 → 0.24.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 +11 -0
- package/package.json +1 -1
- package/views/dist/controls/grip/grip.d.ts +14 -0
- package/views/dist/controls/grip/grip.js +9 -0
- package/views/dist/controls/index.d.ts +6 -0
- package/views/dist/controls/index.js +6 -0
- package/views/dist/controls/internal/hold.d.ts +25 -0
- package/views/dist/controls/internal/hold.js +81 -0
- package/views/dist/controls/internal/icons.d.ts +8 -0
- package/views/dist/controls/internal/icons.js +65 -0
- package/views/dist/controls/internal/read-token.d.ts +6 -0
- package/views/dist/controls/internal/read-token.js +11 -0
- package/views/dist/controls/internal/reorder.d.ts +44 -0
- package/views/dist/controls/internal/reorder.js +83 -0
- package/views/dist/controls/list/tokens.d.ts +139 -0
- package/views/dist/controls/list/tokens.js +37 -0
- package/views/dist/controls/list.css +188 -0
- package/views/dist/controls/menu-list/keys.d.ts +7 -0
- package/views/dist/controls/menu-list/keys.js +29 -0
- package/views/dist/controls/menu-list/looks.d.ts +4 -0
- package/views/dist/controls/menu-list/looks.js +20 -0
- package/views/dist/controls/menu-list/menu-list.d.ts +196 -0
- package/views/dist/controls/menu-list/menu-list.js +346 -0
- package/views/dist/controls/menu-list/tokens.d.ts +187 -0
- package/views/dist/controls/menu-list/tokens.js +49 -0
- package/views/dist/controls/menu-list.css +259 -0
- package/views/dist/controls/sheet/bottom-sheet.js +3 -0
- package/views/dist/controls/sheet.css +3 -0
- package/views/dist/controls/tokens.js +4 -0
- package/views/dist/grid/chrome/grid-caret-keys.d.ts +7 -0
- package/views/dist/grid/chrome/grid-caret-keys.js +22 -0
- package/views/dist/grid/chrome/useGridFittedWidths.d.ts +3 -0
- package/views/dist/grid/chrome/useGridFittedWidths.js +16 -3
- package/views/dist/grid/chrome/useGridKeyboard.js +3 -0
- package/views/dist/looks/index.d.ts +1 -0
- package/views/dist/looks/index.js +1 -0
- package/views/dist/looks/looks.d.ts +10 -9
- package/views/dist/looks/pieces.js +2 -0
- package/views/dist/styles.css +443 -11
- package/views/dist/styles.unlayered.css +443 -11
- package/views/docs/controls/list.md +40 -0
- package/views/docs/controls/menu-list.md +52 -0
- package/views/docs/getting-started.md +1 -1
- package/views/docs/reference/controls.md +40 -0
- package/views/docs/reference/looks.md +3 -1
package/views/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! viewkitjs 0.
|
|
1
|
+
/*! viewkitjs 0.24.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 {
|
|
@@ -1635,6 +1635,422 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
1635
1635
|
.o-keys { display: inline-flex; align-items: center; gap: calc(var(--vk-spacing) * 0.75); font: inherit; }
|
|
1636
1636
|
.o-keys-then { margin: 0 calc(var(--vk-spacing) * 1); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); }
|
|
1637
1637
|
|
|
1638
|
+
/* ── The list's options (a select's options, which name them): set on the
|
|
1639
|
+
frame around a list as custom properties, which every list inside it reads, the Select's list and the Menu's panel whole, and
|
|
1640
|
+
the Picker on a computer whole, its rows and its Popover's panel. Each value chooses a token. Unset, a list draws as built.
|
|
1641
|
+
data-list-smoothing smooth · round the smooth outline, or round
|
|
1642
|
+
data-list-edge subtle · outline · none border-subtle, border, or none; the dividers wear its colour,
|
|
1643
|
+
border-subtle with none (Mihai, 14 Nov 2026)
|
|
1644
|
+
data-list-shadow none · xs · sm · md · lg · xl the shadow tokens' steps
|
|
1645
|
+
data-list-padding 0 · 2 · 4 · 6 · 8 its rows' inset; at 0 they run edge to edge, square
|
|
1646
|
+
data-list-rows 28 · 30 · … · 40, by 2 a row's height on a computer; the phone's stays 44
|
|
1647
|
+
data-list-highlight fill · brand the overlay's hover, or the brand's tint
|
|
1648
|
+
data-list-row-corners input · 0 · xs … xl · full a row's corners: the Input box's, or a step of their own, the rows alone
|
|
1649
|
+
data-list-intensity 1 · 2 · 3 how strong the highlight is
|
|
1650
|
+
data-list-dividers words · rows · full a line between groups: inset (the default) from
|
|
1651
|
+
where a row's content starts (its mark, or its words), as far in at the end,
|
|
1652
|
+
as wide as the rows, or edge to edge; every line inside a floating surface
|
|
1653
|
+
alike, the popup line's, the Date editor's and the Values editor's
|
|
1654
|
+
Its corners follow the Input's (Mihai, 14 Nov 2026): a row takes the Input box's corners whatever the padding, and the panel the
|
|
1655
|
+
box's plus its padding, so the two curves run alike; a Pill box's rows are round at their ends, its panel 2xl and the padding.
|
|
1656
|
+
Row corners moves the rows alone: the panel keeps the box's corners and its padding (Mihai, 14 Nov 2026). ── */
|
|
1657
|
+
[data-input-radius="xs"] { --list-box-r: var(--vk-radius-xs); --list-box-pill: 0; }
|
|
1658
|
+
[data-input-radius="sm"] { --list-box-r: var(--vk-radius-sm); --list-box-pill: 0; }
|
|
1659
|
+
[data-input-radius="md"] { --list-box-r: var(--vk-radius-md); --list-box-pill: 0; }
|
|
1660
|
+
[data-input-radius="lg"] { --list-box-r: var(--vk-radius-lg); --list-box-pill: 0; }
|
|
1661
|
+
[data-input-radius="xl"] { --list-box-r: var(--vk-radius-xl); --list-box-pill: 0; }
|
|
1662
|
+
[data-input-radius="2xl"] { --list-box-r: var(--vk-radius-2xl); --list-box-pill: 0; }
|
|
1663
|
+
/* A Pill box's rows are pills, and its panel keeps its 2xl (--list-box-pill says so, under the list's Smooth). */
|
|
1664
|
+
[data-input-radius="full"] { --list-box-r: var(--vk-radius-2xl); --list-box-pill: 1; }
|
|
1665
|
+
[data-list-edge="outline"] { --list-edge: var(--vk-border); --list-sep-colour: var(--vk-border); }
|
|
1666
|
+
[data-list-edge="none"] { --list-edge: transparent; }
|
|
1667
|
+
[data-list-shadow="none"] { --list-shadow: none; }
|
|
1668
|
+
[data-list-shadow="xs"] { --list-shadow: var(--vk-shadow-xs); }
|
|
1669
|
+
[data-list-shadow="sm"] { --list-shadow: var(--vk-shadow-sm); }
|
|
1670
|
+
[data-list-shadow="lg"] { --list-shadow: var(--vk-shadow-lg); }
|
|
1671
|
+
[data-list-shadow="xl"] { --list-shadow: var(--vk-shadow-xl); }
|
|
1672
|
+
[data-list-padding="0"] { --list-pad: 0px; --list-row-corners: 0px; --list-row-corners-pill: 0; }
|
|
1673
|
+
[data-list-padding="2"] { --list-pad: calc(var(--vk-spacing) * 0.5); }
|
|
1674
|
+
[data-list-padding="6"] { --list-pad: calc(var(--vk-spacing) * 1.5); }
|
|
1675
|
+
[data-list-padding="8"] { --list-pad: calc(var(--vk-spacing) * 2); }
|
|
1676
|
+
[data-list-rows="28"] { --list-row-h: calc(var(--vk-spacing) * 7); --list-row-pad: var(--vk-spacing); }
|
|
1677
|
+
[data-list-rows="30"] { --list-row-h: calc(var(--vk-spacing) * 7.5); }
|
|
1678
|
+
[data-list-rows="34"] { --list-row-h: calc(var(--vk-spacing) * 8.5); }
|
|
1679
|
+
[data-list-rows="36"] { --list-row-h: calc(var(--vk-spacing) * 9); }
|
|
1680
|
+
[data-list-rows="38"] { --list-row-h: calc(var(--vk-spacing) * 9.5); }
|
|
1681
|
+
[data-list-rows="40"] { --list-row-h: calc(var(--vk-spacing) * 10); }
|
|
1682
|
+
[data-list-highlight="brand"] { --list-highlight: var(--list-hl-brand, var(--vk-brand-subtlest)); }
|
|
1683
|
+
/* The Dividers as two numbers on the frame, so the nearest frame's pick wins, for every line that reaches by them:
|
|
1684
|
+
--dividers-words 1 where a line stands in by a row's 8 (Inset), --dividers-rows 1 where it stands in by what its holder pads. */
|
|
1685
|
+
[data-list-dividers="words"] { --dividers-words: 1; --dividers-rows: 1; }
|
|
1686
|
+
[data-list-dividers="rows"] { --list-sep-inset: 0px; --dividers-words: 0; --dividers-rows: 1; }
|
|
1687
|
+
[data-list-dividers="full"] { --list-sep-inset: calc(-1 * var(--list-pad, var(--vk-spacing))); --dividers-words: 0; --dividers-rows: 0; }
|
|
1688
|
+
[data-list-row-corners="0"] { --list-row-r: 0px; --list-row-pill: 0; }
|
|
1689
|
+
[data-list-row-corners="xs"] { --list-row-r: var(--vk-radius-xs); --list-row-pill: 0; }
|
|
1690
|
+
[data-list-row-corners="sm"] { --list-row-r: var(--vk-radius-sm); --list-row-pill: 0; }
|
|
1691
|
+
[data-list-row-corners="md"] { --list-row-r: var(--vk-radius-md); --list-row-pill: 0; }
|
|
1692
|
+
[data-list-row-corners="lg"] { --list-row-r: var(--vk-radius-lg); --list-row-pill: 0; }
|
|
1693
|
+
[data-list-row-corners="xl"] { --list-row-r: var(--vk-radius-xl); --list-row-pill: 0; }
|
|
1694
|
+
[data-list-row-corners="full"] { --list-row-r: var(--vk-radius-full); --list-row-pill: 1; }
|
|
1695
|
+
[data-list-intensity="2"] { --list-hl-grey: var(--vk-overlay-pressed); --list-hl-brand: var(--vk-brand-subtler); }
|
|
1696
|
+
[data-list-intensity="3"] { --list-hl-grey: var(--vk-overlay-selected); --list-hl-brand: var(--vk-brand-subtler-hovered); }
|
|
1697
|
+
|
|
1698
|
+
/* ── The panel: on the overlay's ground, a soft edge, the Input box's corners and its padding round them, 4px in; it fades in and drops 4px ─ */
|
|
1699
|
+
/* Its lines' colour, --divider-colour, its Edge's (border-subtle with none): what it holds draws its lines in it. */
|
|
1700
|
+
.o-list {
|
|
1701
|
+
--list-row-corners-in: var(--list-row-corners, var(--list-row-r, var(--list-box-r, var(--vk-radius-lg))));
|
|
1702
|
+
--divider-colour: var(--list-sep-colour, var(--vk-border-subtle));
|
|
1703
|
+
box-sizing: border-box; display: grid; padding: var(--list-pad, var(--vk-spacing));
|
|
1704
|
+
border: var(--vk-border-width) solid var(--list-edge, var(--vk-border-subtle)); border-radius: calc(min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl)) + var(--list-pad, var(--vk-spacing)));
|
|
1705
|
+
background-color: var(--vk-overlay); box-shadow: var(--list-shadow, var(--vk-shadow-md)); color: var(--vk-fg); outline: none;
|
|
1706
|
+
transition: opacity var(--vk-duration-fast) var(--vk-ease-out), translate var(--vk-duration-fast) var(--vk-ease-out);
|
|
1707
|
+
}
|
|
1708
|
+
.o-list:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--vk-spacing) * -1); }
|
|
1709
|
+
.o-list-positioner { z-index: var(--vk-layer-popup); outline: none; }
|
|
1710
|
+
|
|
1711
|
+
/* ── A row: 32px, the radius's corners, text-sm; under the pointer or the keyboard the overlay's hover ─ */
|
|
1712
|
+
.o-list-row {
|
|
1713
|
+
display: flex; align-items: center; gap: calc(var(--vk-spacing) * 2); box-sizing: border-box; width: 100%; min-height: var(--list-row-h, calc(var(--vk-spacing) * 8));
|
|
1714
|
+
margin: 0; padding: var(--list-row-pad, calc(var(--vk-spacing) * 1.25)) calc(var(--vk-spacing) * 2); border: 0; border-radius: var(--list-row-rad, var(--vk-radius-lg));
|
|
1715
|
+
background-color: transparent; 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));
|
|
1716
|
+
text-align: left; cursor: pointer; outline: none; user-select: none; -webkit-tap-highlight-color: transparent;
|
|
1717
|
+
}
|
|
1718
|
+
/* Inside a list's panel its corners are the Input box's (square at padding 0); elsewhere (the Picker's, in its shell) the radius's. */
|
|
1719
|
+
.o-list .o-list-row { --list-row-rad: var(--list-row-corners-in); --list-row-pill-in: var(--list-row-corners-pill, var(--list-row-pill, var(--list-box-pill, 0))); }
|
|
1720
|
+
.o-list-row:is([data-highlighted], [data-popup-open], [data-force="hover"]) { background-color: var(--list-highlight, var(--list-hl-grey, var(--vk-overlay-hovered))); }
|
|
1721
|
+
/* A row that can't be picked: greyed, no fill under the pointer. */
|
|
1722
|
+
.o-list-row[data-disabled] { color: var(--vk-fg-disabled); cursor: not-allowed; }
|
|
1723
|
+
.o-list-row[data-disabled] :is(.o-list-line, .o-list-you) { color: var(--vk-fg-disabled); }
|
|
1724
|
+
.o-list-row[data-disabled]:is([data-highlighted], [data-force="hover"]) { background-color: transparent; }
|
|
1725
|
+
.o-list-text { flex: 1; min-width: 0; display: grid; gap: var(--vk-border-width); }
|
|
1726
|
+
.o-list-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1727
|
+
.o-list-line { font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); color: var(--vk-fg-subtle); }
|
|
1728
|
+
.o-list-you { margin-left: calc(var(--vk-spacing) * 1); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtle); }
|
|
1729
|
+
/* The chosen row's tick, at the end. */
|
|
1730
|
+
.o-list-tick { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); fill: none; stroke: var(--vk-fg); stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
|
|
1731
|
+
.o-list-row:is([data-selected], [data-checked], [aria-selected="true"], [aria-checked="true"]) .o-list-tick { visibility: visible; }
|
|
1732
|
+
/* Several at once: the Checkbox's own box before each row (CheckboxMark, checkbox.css). */
|
|
1733
|
+
/* A row that only clears, and one that creates: their icon and words quieter. */
|
|
1734
|
+
.o-list-row.o-list-clear .o-list-main { color: var(--vk-fg-subtle); }
|
|
1735
|
+
.o-list-plus { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); fill: none; stroke: var(--vk-fg-subtle); stroke-linecap: round; }
|
|
1736
|
+
|
|
1737
|
+
/* ── A heading over a group, and a line between groups, in the colour of the surface it stands in ───────────────────────────────────────────── */
|
|
1738
|
+
.o-list-heading { margin: 0; padding: calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 2) calc(var(--vk-spacing) * 1); 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); color: var(--vk-fg-subtle); }
|
|
1739
|
+
/* In a Popover it stands in from the Popover's padding, which may not be the list's: Full width reaches its edge, inside it. */
|
|
1740
|
+
.o-popover .o-list-sep { margin-inline: calc(var(--vk-spacing) * 2 * var(--dividers-words, 1) - (1 - var(--dividers-rows, 1)) * var(--divider-reach, 0px)); }
|
|
1741
|
+
.o-list-sep { height: var(--vk-border-width); margin: calc(var(--vk-spacing) * 1) var(--list-sep-inset, calc(var(--vk-spacing) * 2)); border: 0; background-color: var(--divider-colour, var(--list-sep-colour, var(--vk-border-subtle))); }
|
|
1742
|
+
|
|
1743
|
+
/* ── On the phone a row is 44px, so a finger finds it ──────────────────────────────────────────────── */
|
|
1744
|
+
@media (width < 640px) {
|
|
1745
|
+
.o-list-row:where(:not([data-computer-host], [data-computer-host] *)) { min-height: calc(var(--vk-spacing) * 11); }
|
|
1746
|
+
}
|
|
1747
|
+
@container o-phone (width < 640px) {
|
|
1748
|
+
.o-list-row { min-height: calc(var(--vk-spacing) * 11); }
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
/* ── Corner smoothing: the list's own (data-list-smoothing; Smooth, with nothing set, or Round), never the token. Under
|
|
1752
|
+
Smooth the panel and each row are drawn with the smooth outline (smooth.css) in every browser that knows shape(); one
|
|
1753
|
+
that doesn't keeps the corners above, and Round paints them as before. A row's side is its height (32, or the list's Row height;
|
|
1754
|
+
44 on a phone), its round part fitted to it as a control's is (side / 3.4, Mihai, 16 Nov 2026), so the whole bend fits; a row
|
|
1755
|
+
of a Pill box or at Row corners Full is a pill, drawn at no smoothing (--list-row-pill-in, set beside the corners it
|
|
1756
|
+
follows, as its corners are). Nothing stands outside a
|
|
1757
|
+
row, so it is clipped itself, its highlight with it. The panel casts a shadow, so its edge (::before, over its border box) and
|
|
1758
|
+
ground (::after, over its padding box, its corner a line smaller) are layers inside it, clipped as the Popover's are, its shadow on itself; its corners follow its rows' (outer follows inner): the
|
|
1759
|
+
Input box's corners fitted to a row, plus the padding, so the two curves run alike (13.4 at the defaults), eased on its own
|
|
1760
|
+
shortest side, one row; a Pill box's panel keeps its 2xl and the padding, held to half that side. The amount is set on what
|
|
1761
|
+
draws the outline (the panel, a row), never declared as the token. ── */
|
|
1762
|
+
@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)) {
|
|
1763
|
+
.o-list, .o-list-row, .o-popover { --list-row-side: var(--list-row-h, calc(var(--vk-spacing) * 8)); }
|
|
1764
|
+
@media (width < 640px) { .o-list:where(:not([data-computer-host], [data-computer-host] *)), .o-list-row:where(:not([data-computer-host], [data-computer-host] *)), .o-popover:where(:not([data-computer-host], [data-computer-host] *)) { --list-row-side: calc(var(--vk-spacing) * 11); } }
|
|
1765
|
+
@container o-phone (width < 640px) { .o-list, .o-list-row, .o-popover { --list-row-side: calc(var(--vk-spacing) * 11); } }
|
|
1766
|
+
.o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *),
|
|
1767
|
+
.o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"]), [data-list-smoothing="round"] *) {
|
|
1768
|
+
--list-box-cap: min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl));
|
|
1769
|
+
--list-k: calc(1 - var(--list-box-pill, 0));
|
|
1770
|
+
--list-box-fit: min(var(--list-box-cap), var(--list-row-side) / 3.4);
|
|
1771
|
+
--list-panel-r: calc(var(--list-box-cap) + (var(--list-box-fit) - var(--list-box-cap)) * var(--list-k) + var(--list-pad, var(--vk-spacing)));
|
|
1772
|
+
--list-panel-side: calc(var(--list-row-side) + var(--list-pad, var(--vk-spacing)) * 2 + var(--vk-border-width) * 2);
|
|
1773
|
+
}
|
|
1774
|
+
/* The panel itself; the Picker's in its Popover draws the same panel from the same numbers. */
|
|
1775
|
+
.o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) {
|
|
1776
|
+
--smooth-amount: initial; --smooth-t: min(var(--list-panel-r), var(--list-panel-side) / 2); --smooth-side: var(--list-panel-side);
|
|
1777
|
+
position: relative; isolation: isolate; border-radius: var(--smooth-t); border-color: transparent; background-color: transparent;
|
|
1778
|
+
}
|
|
1779
|
+
.o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::before,
|
|
1780
|
+
.o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::after {
|
|
1781
|
+
content: ""; position: absolute; inset: calc(var(--vk-border-width) * -1); z-index: -1; pointer-events: none; border-radius: inherit;
|
|
1782
|
+
}
|
|
1783
|
+
.o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::before { background-color: var(--vk-overlay); background-image: linear-gradient(var(--list-edge, var(--vk-border-subtle)), var(--list-edge, var(--vk-border-subtle))); clip-path: shape(var(--smooth-outline)); }
|
|
1784
|
+
.o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *)::after {
|
|
1785
|
+
--smooth-t: max(0px, min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width));
|
|
1786
|
+
inset: 0; border-radius: calc(min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width)); background-color: var(--vk-overlay); clip-path: shape(var(--smooth-outline));
|
|
1787
|
+
}
|
|
1788
|
+
/* At padding 0 its rows run to its edge, square: the first and the last row it holds take its corner a line in on their outer
|
|
1789
|
+
side, and what the Select's list holds (the Picker, its rows scrolling) is cut by its outline a line in, as hiding what
|
|
1790
|
+
overflows cut it at its round corner before. */
|
|
1791
|
+
[data-list-padding="0"] .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) > .o-list-row:first-child:not(:last-child),
|
|
1792
|
+
[data-list-padding="0"] .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) > .o-menu-list-scroll > .o-list-row:first-child:not(:last-child) {
|
|
1793
|
+
--smooth-t: max(0px, min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width)); --smooth-b: var(--list-row-fit);
|
|
1794
|
+
}
|
|
1795
|
+
[data-list-padding="0"] .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) > .o-list-row:last-child:not(:first-child),
|
|
1796
|
+
[data-list-padding="0"] .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) > .o-menu-list-scroll > .o-list-row:last-child:not(:first-child) {
|
|
1797
|
+
--smooth-b: max(0px, min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width));
|
|
1798
|
+
}
|
|
1799
|
+
[data-list-padding="0"] .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) > .o-list-row:only-child,
|
|
1800
|
+
[data-list-padding="0"] .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) > .o-menu-list-scroll > .o-list-row:only-child {
|
|
1801
|
+
--smooth-t: max(0px, min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width));
|
|
1802
|
+
}
|
|
1803
|
+
[data-list-padding="0"] .o-list:not([data-list-smoothing="round"], [data-list-smoothing="round"] *) > .o-picker {
|
|
1804
|
+
--smooth-amount: initial; --smooth-t: max(0px, min(var(--list-panel-r), var(--list-panel-side) / 2) - var(--vk-border-width));
|
|
1805
|
+
--smooth-side: calc(var(--list-panel-side) - var(--vk-border-width) * 2); clip-path: shape(var(--smooth-outline));
|
|
1806
|
+
}
|
|
1807
|
+
.o-list-row:not([data-list-smoothing="round"] *) {
|
|
1808
|
+
--smooth-amount: calc(0.7 * (1 - var(--list-row-pill-in, 0)));
|
|
1809
|
+
--list-row-fit: min(var(--list-row-rad, var(--vk-radius-lg)) + var(--list-row-pill-in, 0) * 1000px, var(--list-row-side) / (2 + 2 * var(--smooth-amount)));
|
|
1810
|
+
--smooth-t: var(--list-row-fit); --smooth-side: var(--list-row-side);
|
|
1811
|
+
clip-path: shape(var(--smooth-outline));
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
@media (prefers-reduced-motion: reduce) { .o-list { transition: none; } }
|
|
1816
|
+
|
|
1817
|
+
.o-menu-list {
|
|
1818
|
+
--menu-list-row: calc(var(--vk-spacing) * 13); --menu-list-corners: var(--vk-radius-xl); --menu-list-inset: calc(var(--vk-spacing) * 4);
|
|
1819
|
+
display: grid; gap: calc(var(--vk-spacing) * 3); min-width: 0;
|
|
1820
|
+
}
|
|
1821
|
+
[data-menu-list-height="48"] .o-menu-list { --menu-list-row: calc(var(--vk-spacing) * 12); }
|
|
1822
|
+
[data-menu-list-height="56"] .o-menu-list { --menu-list-row: calc(var(--vk-spacing) * 14); }
|
|
1823
|
+
[data-menu-list-corners="lg"] .o-menu-list { --menu-list-corners: var(--vk-radius-lg); }
|
|
1824
|
+
[data-menu-list-corners="2xl"] .o-menu-list { --menu-list-corners: var(--vk-radius-2xl); }
|
|
1825
|
+
|
|
1826
|
+
/* ── A section: rows that belong together, on a card ─────────────────────────────────────────────────────────────── */
|
|
1827
|
+
.o-menu-list-section { display: grid; min-width: 0; overflow: hidden; border-radius: var(--menu-list-corners); background-color: var(--vk-overlay-card); }
|
|
1828
|
+
|
|
1829
|
+
/* ── A group or a pick under its heading: the list's heading over its card, as on a computer, at a phone's size: 14, 4 in
|
|
1830
|
+
from the card's edge, 6 over the card. Under Plain, where nothing marks the card's edge, it stands where its
|
|
1831
|
+
rows' icons start. Under Words the card floats on the dim, so its heading stands on the card's own ground, over its rows, centred
|
|
1832
|
+
as they are, a line under it, as a phone's action sheet holds its title. ─────────────────────────────────────────────────── */
|
|
1833
|
+
.o-menu-list-group { display: grid; gap: calc(var(--vk-spacing) * 1.5); min-width: 0; }
|
|
1834
|
+
.o-menu-list-group > .o-list-heading { padding: 0 calc(var(--vk-spacing) * 1); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1835
|
+
[data-menu-list-rows="plain"] .o-menu-list-group > .o-list-heading { padding-inline: calc(var(--vk-spacing) * 2); }
|
|
1836
|
+
[data-menu-list-rows="words"] .o-menu-list-group { gap: 0; overflow: hidden; border-radius: var(--vk-radius-2xl); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); }
|
|
1837
|
+
[data-menu-list-rows="words"] .o-menu-list-group > .o-list-heading { padding: calc(var(--vk-spacing) * 3) calc(var(--vk-spacing) * 4); border-bottom: var(--vk-border-width) solid var(--vk-border); text-align: center; }
|
|
1838
|
+
[data-menu-list-rows="words"] .o-menu-list-group > .o-menu-list-section { border-radius: 0; box-shadow: none; }
|
|
1839
|
+
|
|
1840
|
+
/* ── A row: an icon, its name, and on its right a value, an arrow, a tick or a switch ────────────────────────────── */
|
|
1841
|
+
.o-menu-list-row {
|
|
1842
|
+
--menu-list-line: var(--menu-list-inset, calc(var(--vk-spacing) * 4));
|
|
1843
|
+
position: relative; display: flex; align-items: center; gap: calc(var(--vk-spacing) * 3); box-sizing: border-box; width: 100%; min-width: 0; min-height: var(--menu-list-row, calc(var(--vk-spacing) * 13));
|
|
1844
|
+
margin: 0; padding: calc(var(--vk-spacing) * 1.5) var(--menu-list-inset, calc(var(--vk-spacing) * 4)); border: 0; background: none; color: var(--vk-fg);
|
|
1845
|
+
font: inherit; font-size: var(--vk-font-size-base); line-height: calc(var(--vk-font-size-base) * var(--vk-line-height-base)); text-align: start; text-decoration: none;
|
|
1846
|
+
cursor: pointer; outline: none; user-select: none; -webkit-tap-highlight-color: transparent;
|
|
1847
|
+
}
|
|
1848
|
+
.o-menu-list-row:has(> .o-menu-list-mark) { --menu-list-line: calc(var(--menu-list-inset) + var(--vk-spacing) * 8.5); }
|
|
1849
|
+
/* A list holding a person's 32px face (the Avatar stack's people on a phone): every row's mark is 32 wide, the face whole
|
|
1850
|
+
in it and an icon centred at its own 22, so every name stands 12px after it and the line starts at the words. The list sits in
|
|
1851
|
+
:where(), so each rule weighs what it overrides and Full lines, below, still wins. */
|
|
1852
|
+
:where(.o-menu-list:has(.o-menu-list-row > .o-menu-list-mark > :is(.o-avatar:not(.o-avatar-xs, .o-avatar-sm, .o-avatar-lg, .o-avatar-xl), .o-avatar-badged[data-size="32"]))) .o-menu-list-row:has(> .o-menu-list-mark) { --menu-list-line: calc(var(--menu-list-inset) + var(--vk-spacing) * 11); }
|
|
1853
|
+
:where(.o-menu-list:has(.o-menu-list-row > .o-menu-list-mark > :is(.o-avatar:not(.o-avatar-xs, .o-avatar-sm, .o-avatar-lg, .o-avatar-xl), .o-avatar-badged[data-size="32"]))) .o-menu-list-row > .o-menu-list-mark { width: calc(var(--vk-spacing) * 8); }
|
|
1854
|
+
:where(.o-menu-list:has(.o-menu-list-row > .o-menu-list-mark > :is(.o-avatar:not(.o-avatar-xs, .o-avatar-sm, .o-avatar-lg, .o-avatar-xl), .o-avatar-badged[data-size="32"]))) .o-menu-list-row > .o-menu-list-mark:has(> :is(.o-avatar:not(.o-avatar-xs, .o-avatar-sm, .o-avatar-lg, .o-avatar-xl), .o-avatar-badged[data-size="32"])) { height: calc(var(--vk-spacing) * 8); }
|
|
1855
|
+
:where(.o-menu-list:has(.o-menu-list-row > .o-menu-list-mark > :is(.o-avatar:not(.o-avatar-xs, .o-avatar-sm, .o-avatar-lg, .o-avatar-xl), .o-avatar-badged[data-size="32"]))) .o-menu-list-row > .o-menu-list-mark > svg { width: calc(var(--vk-spacing) * 5.5); }
|
|
1856
|
+
.o-menu-list-row:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: calc(-1 * var(--vk-focus-width)); }
|
|
1857
|
+
.o-menu-list-row:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-card-pressed); }
|
|
1858
|
+
.o-menu-list-row.o-menu-list-danger { color: var(--vk-danger); }
|
|
1859
|
+
.o-menu-list-row:is(:disabled, [data-disabled]) { color: var(--vk-fg-disabled); cursor: not-allowed; }
|
|
1860
|
+
|
|
1861
|
+
.o-menu-list-mark { flex: none; display: grid; place-items: center; width: calc(var(--vk-spacing) * 5.5); height: calc(var(--vk-spacing) * 5.5); }
|
|
1862
|
+
.o-menu-list-mark > svg { width: 100%; height: 100%; }
|
|
1863
|
+
.o-menu-list-name { flex: 1; display: grid; min-width: 0; }
|
|
1864
|
+
.o-menu-list-name > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1865
|
+
.o-menu-list-name > .o-menu-list-note { font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); white-space: normal; color: var(--vk-fg-subtle); }
|
|
1866
|
+
.o-menu-list-row:is(:disabled, [data-disabled]) .o-menu-list-note { color: var(--vk-fg-disabled); }
|
|
1867
|
+
.o-menu-list-value { flex: none; max-width: calc(var(--vk-spacing) * 38); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; 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); }
|
|
1868
|
+
/* What stands on its right, a count or a Tag: a phone's value size, the Menu's count's colour and figures. */
|
|
1869
|
+
.o-menu-list-end { flex: none; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); color: var(--vk-fg-subtlest); font-variant-numeric: tabular-nums; }
|
|
1870
|
+
/* A level's detail in force: in the brand. */
|
|
1871
|
+
.o-menu-list-end[data-on] { color: var(--vk-fg-accent); }
|
|
1872
|
+
/* A tick as an eye, at its end: 20, open while on, crossed and quieter while off, greyed on a row that can't be used. */
|
|
1873
|
+
.o-menu-list-eye { flex: none; display: grid; place-items: center; color: var(--vk-fg-subtle); }
|
|
1874
|
+
.o-menu-list-eye > svg { width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); }
|
|
1875
|
+
.o-menu-list-eye:not([data-on]) { color: var(--vk-fg-subtlest); }
|
|
1876
|
+
.o-menu-list-row:is(:disabled, [data-disabled]) > .o-menu-list-eye { color: var(--vk-fg-disabled); }
|
|
1877
|
+
.o-menu-list-more { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); margin-right: calc(var(--vk-spacing) * -0.5); fill: none; stroke: var(--vk-fg-subtlest); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
1878
|
+
.o-menu-list-tick { flex: none; width: calc(var(--vk-spacing) * 5); height: calc(var(--vk-spacing) * 5); fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
|
|
1879
|
+
|
|
1880
|
+
/* A row with a grip: the grip's dots at its start, 16, faint, as the grip draws them; the line starts at the words,
|
|
1881
|
+
after the grip's 16 and the gap's 12, and with a mark after its 22 and 12 more. A row is held, then dragged ("Hold, then drag",
|
|
1882
|
+
Mihai, 18 Nov 2026): nothing stops a swipe from scrolling before it is held, and a long press never opens the phone's own
|
|
1883
|
+
callout on it. Held, it stands over the others on the overlay's ground with the shadow, as the sort editor's held rule does. */
|
|
1884
|
+
.o-menu-list-grip { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--vk-fg-subtlest); }
|
|
1885
|
+
.o-menu-list [data-drag-start] { -webkit-touch-callout: none; }
|
|
1886
|
+
/* How long a finger rests on a row before it lifts, read by the script that lifts it. */
|
|
1887
|
+
.o-menu-list-row { --menu-list-hold: var(--vk-hold-delay); }
|
|
1888
|
+
.o-menu-list-grip[data-room] { visibility: hidden; }
|
|
1889
|
+
.o-menu-list-row:has(> .o-menu-list-grip) { --menu-list-line: calc(var(--menu-list-inset) + var(--vk-spacing) * 7); }
|
|
1890
|
+
.o-menu-list-row:has(> .o-menu-list-grip):has(> .o-menu-list-mark) { --menu-list-line: calc(var(--menu-list-inset) + var(--vk-spacing) * 15.5); }
|
|
1891
|
+
.o-menu-list-row[data-lifted] { z-index: var(--vk-layer-popup); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
|
|
1892
|
+
.o-menu-list-row[data-lifted]::before, .o-menu-list-row[data-lifted] + .o-menu-list-row::before { opacity: 0; }
|
|
1893
|
+
|
|
1894
|
+
/* The line between two rows, starting at the words, which goes under a press, so a pressed row reads as one block. */
|
|
1895
|
+
.o-menu-list-row + .o-menu-list-row::before { content: ""; position: absolute; top: 0; right: 0; left: var(--menu-list-line); height: var(--vk-border-width); background-color: var(--vk-border-overlay-card); }
|
|
1896
|
+
.o-menu-list-row:active:not(:disabled, [data-disabled])::before, .o-menu-list-row:active:not(:disabled, [data-disabled]) + .o-menu-list-row::before { opacity: 0; }
|
|
1897
|
+
|
|
1898
|
+
/* Its lines the card's whole width, or none. */
|
|
1899
|
+
[data-menu-list-lines="none"] .o-menu-list-row::before { display: none; }
|
|
1900
|
+
|
|
1901
|
+
/* Plain: on the sheet, no ground. A row keeps its own padding, and its press reaches a little past the page's line. */
|
|
1902
|
+
[data-menu-list-rows="plain"] .o-menu-list-section { margin-inline: calc(var(--vk-spacing) * -2); overflow: visible; border-radius: 0; background-color: transparent; }
|
|
1903
|
+
[data-menu-list-rows="plain"] :where(.o-menu-list) .o-menu-list-row { border-radius: var(--vk-radius-lg); }
|
|
1904
|
+
[data-menu-list-rows="plain"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-pressed); }
|
|
1905
|
+
|
|
1906
|
+
/* Joined: each row a tile, a hair apart, its section's two ends rounded. */
|
|
1907
|
+
[data-menu-list-rows="joined"] .o-menu-list-section { gap: calc(var(--vk-spacing) * 0.75); overflow: visible; border-radius: 0; background-color: transparent; }
|
|
1908
|
+
[data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row { border-radius: var(--vk-radius-sm); background-color: var(--vk-overlay-card); }
|
|
1909
|
+
[data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:first-child { border-start-start-radius: var(--menu-list-corners); border-start-end-radius: var(--menu-list-corners); }
|
|
1910
|
+
[data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:last-child { border-end-start-radius: var(--menu-list-corners); border-end-end-radius: var(--menu-list-corners); }
|
|
1911
|
+
[data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row::before { display: none; }
|
|
1912
|
+
[data-menu-list-rows="joined"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-card-pressed); }
|
|
1913
|
+
|
|
1914
|
+
/* Words: centred, no icons, each section a card of its own on the sheet's ground. It stands on nothing, clear of the home bar: the
|
|
1915
|
+
sheet round it gives up its ground, its shadow and its handle. */
|
|
1916
|
+
[data-menu-list-rows="words"] .o-menu-list { gap: calc(var(--vk-spacing) * 2); }
|
|
1917
|
+
[data-menu-list-rows="words"] .o-menu-list-section { border-radius: var(--vk-radius-2xl); background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-2xl); }
|
|
1918
|
+
[data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row { justify-content: center; text-align: center; font-weight: var(--vk-font-weight-medium); }
|
|
1919
|
+
[data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row::before { background-color: var(--vk-border); }
|
|
1920
|
+
[data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-row:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-pressed); }
|
|
1921
|
+
[data-menu-list-rows="words"] :where(.o-menu-list) :is(.o-menu-list-mark, .o-menu-list-more, .o-menu-list-value, .o-menu-list-end) { display: none; }
|
|
1922
|
+
[data-menu-list-rows="words"] :where(.o-menu-list) .o-menu-list-name { flex: none; }
|
|
1923
|
+
[data-menu-list-rows="words"] .o-sheet.o-sheet:has(.o-menu-list) { background-color: transparent; box-shadow: none; }
|
|
1924
|
+
[data-menu-list-rows="words"] .o-sheet.o-sheet:has(.o-menu-list) > .o-sheet-cut { background-color: transparent; clip-path: none; overflow: visible; }
|
|
1925
|
+
[data-menu-list-rows="words"] .o-sheet:has(.o-menu-list) .o-sheet-handle { display: none; }
|
|
1926
|
+
[data-menu-list-rows="words"] .o-sheet:has(.o-menu-list) .o-sheet-body { padding: 0 0 max(calc(var(--vk-spacing) * 2), var(--sheet-home)); overflow: visible; }
|
|
1927
|
+
|
|
1928
|
+
[data-menu-list-lines="full"] .o-menu-list-row { --menu-list-line: 0px; }
|
|
1929
|
+
|
|
1930
|
+
/* ── The tiles: the few done most, side by side over its rows ────────────────────────────────────────────────────── */
|
|
1931
|
+
.o-menu-list-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: calc(var(--vk-spacing) * 2); min-width: 0; }
|
|
1932
|
+
.o-menu-list-tile {
|
|
1933
|
+
display: grid; justify-items: center; align-content: center; gap: calc(var(--vk-spacing) * 1); box-sizing: border-box; min-width: 0; min-height: calc(var(--vk-spacing) * 19);
|
|
1934
|
+
margin: 0; padding: calc(var(--vk-spacing) * 1); border: 0; border-radius: var(--menu-list-corners); background-color: var(--vk-overlay-card); color: var(--vk-fg);
|
|
1935
|
+
font: inherit; font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-spacing) * 4); text-align: center; cursor: pointer; outline: none; user-select: none; -webkit-tap-highlight-color: transparent;
|
|
1936
|
+
}
|
|
1937
|
+
.o-menu-list-tile:focus-visible { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: calc(-1 * var(--vk-focus-width)); }
|
|
1938
|
+
.o-menu-list-tile:active:not(:disabled, [data-disabled]) { background-color: var(--vk-overlay-card-pressed); }
|
|
1939
|
+
.o-menu-list-tile:is(:disabled, [data-disabled]) { color: var(--vk-fg-disabled); cursor: not-allowed; }
|
|
1940
|
+
/* Its other three ways (Mihai's picks, 16 Nov 2026): the tile stands clear and its mark
|
|
1941
|
+
is its ground, the icon alone in it, the name 6 under it, two lines at most. Wide, after ClickUp: a grey tile 56 tall, as wide as its
|
|
1942
|
+
column, at the Corners. Circle, after Google Maps: a grey circle 52. Colour, after WhatsApp's attach sheet: a circle 56 in a label colour
|
|
1943
|
+
by place, blue, amber, purple and green, the icon in text-inverse. A press shows on the mark, each colour's own pressed shade; a tile that
|
|
1944
|
+
can't be used stands on the neutral ground in the disabled ink. */
|
|
1945
|
+
:is([data-menu-list-tiles="wide"], [data-menu-list-tiles="circle"], [data-menu-list-tiles="colour"]) .o-menu-list-tile {
|
|
1946
|
+
align-content: start; gap: calc(var(--vk-spacing) * 1.5); min-height: 0; padding: 0; border-radius: 0; background-color: transparent;
|
|
1947
|
+
}
|
|
1948
|
+
:is([data-menu-list-tiles="wide"], [data-menu-list-tiles="circle"], [data-menu-list-tiles="colour"]) .o-menu-list-tile:active:not(:disabled, [data-disabled]) { background-color: transparent; }
|
|
1949
|
+
:is([data-menu-list-tiles="wide"], [data-menu-list-tiles="circle"], [data-menu-list-tiles="colour"]) .o-menu-list-tile:focus-visible { outline: none; }
|
|
1950
|
+
:is([data-menu-list-tiles="wide"], [data-menu-list-tiles="circle"], [data-menu-list-tiles="colour"]) .o-menu-list-tile:focus-visible > .o-menu-list-mark { outline: var(--vk-focus-width) solid var(--vk-border-brand); outline-offset: calc(-1 * var(--vk-focus-width)); }
|
|
1951
|
+
:is([data-menu-list-tiles="wide"], [data-menu-list-tiles="circle"], [data-menu-list-tiles="colour"]) .o-menu-list-tile > .o-menu-list-mark { box-sizing: border-box; background-color: var(--vk-overlay-card); }
|
|
1952
|
+
:is([data-menu-list-tiles="wide"], [data-menu-list-tiles="circle"], [data-menu-list-tiles="colour"]) .o-menu-list-tile > .o-menu-list-mark > svg { width: calc(var(--vk-spacing) * 6); height: calc(var(--vk-spacing) * 6); }
|
|
1953
|
+
:is([data-menu-list-tiles="wide"], [data-menu-list-tiles="circle"], [data-menu-list-tiles="colour"]) .o-menu-list-tile:active:not(:disabled, [data-disabled]) > .o-menu-list-mark { background-color: var(--vk-overlay-card-pressed); }
|
|
1954
|
+
:is([data-menu-list-tiles="wide"], [data-menu-list-tiles="circle"], [data-menu-list-tiles="colour"]) .o-menu-list-tile-name {
|
|
1955
|
+
display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
|
|
1956
|
+
}
|
|
1957
|
+
[data-menu-list-tiles="wide"] .o-menu-list-tile > .o-menu-list-mark { width: 100%; height: calc(var(--vk-spacing) * 14); border-radius: var(--menu-list-corners); }
|
|
1958
|
+
[data-menu-list-tiles="circle"] .o-menu-list-tile > .o-menu-list-mark { width: calc(var(--vk-spacing) * 13); height: calc(var(--vk-spacing) * 13); border-radius: var(--vk-radius-full); }
|
|
1959
|
+
[data-menu-list-tiles="circle"] .o-menu-list-tile > .o-menu-list-mark > svg { width: calc(var(--vk-spacing) * 5.5); height: calc(var(--vk-spacing) * 5.5); }
|
|
1960
|
+
[data-menu-list-tiles="colour"] .o-menu-list-tile > .o-menu-list-mark { width: calc(var(--vk-spacing) * 14); height: calc(var(--vk-spacing) * 14); border-radius: var(--vk-radius-full); color: var(--vk-fg-inverse); }
|
|
1961
|
+
[data-menu-list-tiles="colour"] .o-menu-list-tile:nth-child(1) > .o-menu-list-mark { background-color: var(--vk-label-blue); }
|
|
1962
|
+
[data-menu-list-tiles="colour"] .o-menu-list-tile:nth-child(2) > .o-menu-list-mark { background-color: var(--vk-label-amber); }
|
|
1963
|
+
[data-menu-list-tiles="colour"] .o-menu-list-tile:nth-child(3) > .o-menu-list-mark { background-color: var(--vk-label-purple); }
|
|
1964
|
+
[data-menu-list-tiles="colour"] .o-menu-list-tile:nth-child(4) > .o-menu-list-mark { background-color: var(--vk-label-green); }
|
|
1965
|
+
[data-menu-list-tiles="colour"] .o-menu-list-tile:nth-child(1):active:not(:disabled, [data-disabled]) > .o-menu-list-mark { background-color: var(--vk-label-blue-pressed); }
|
|
1966
|
+
[data-menu-list-tiles="colour"] .o-menu-list-tile:nth-child(2):active:not(:disabled, [data-disabled]) > .o-menu-list-mark { background-color: var(--vk-label-amber-pressed); }
|
|
1967
|
+
[data-menu-list-tiles="colour"] .o-menu-list-tile:nth-child(3):active:not(:disabled, [data-disabled]) > .o-menu-list-mark { background-color: var(--vk-label-purple-pressed); }
|
|
1968
|
+
[data-menu-list-tiles="colour"] .o-menu-list-tile:nth-child(4):active:not(:disabled, [data-disabled]) > .o-menu-list-mark { background-color: var(--vk-label-green-pressed); }
|
|
1969
|
+
:is([data-menu-list-tiles="wide"], [data-menu-list-tiles="circle"], [data-menu-list-tiles="colour"]) .o-menu-list-tile:is(:disabled, [data-disabled]) > .o-menu-list-mark { background-color: var(--vk-neutral); color: var(--vk-fg-disabled); }
|
|
1970
|
+
|
|
1971
|
+
/* ── On a computer: a menu's rows, inside a menu's panel or standing on a page. Base UI marks a row data-highlighted
|
|
1972
|
+
under the pointer or the keyboard, a choice data-checked, a row that can't be used data-disabled, and a row whose choices are
|
|
1973
|
+
open data-popup-open; list.css draws the row itself, this file its parts. ───────────────────── */
|
|
1974
|
+
/* How long the pointer rests on a row one level in before its panel opens, read by the script that opens it. */
|
|
1975
|
+
.o-menu-row { --menu-sub-wait: var(--vk-submenu-delay); }
|
|
1976
|
+
/* ── A row: its 16px icon 8px before its name, then its keys, its value or its way further in ──────── */
|
|
1977
|
+
.o-menu-row { white-space: nowrap; text-decoration: none; }
|
|
1978
|
+
.o-menu-row > svg:first-child { flex: none; width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); fill: none; stroke: var(--vk-fg-subtle); stroke-linecap: round; stroke-linejoin: round; }
|
|
1979
|
+
.o-menu-row:is([data-highlighted], [data-popup-open], [data-force="hover"]) > svg:first-child { stroke: var(--vk-fg); }
|
|
1980
|
+
.o-menu-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
1981
|
+
.o-menu-keys { flex: none; display: flex; gap: calc(var(--vk-spacing) * 0.75); margin-left: calc(var(--vk-spacing) * 6); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); }
|
|
1982
|
+
.o-menu-keys kbd { font: inherit; }
|
|
1983
|
+
/* How many it holds, at its end in the quietest colour; a Spinner while that loads. */
|
|
1984
|
+
.o-menu-count { flex: none; display: flex; margin-left: auto; padding-left: calc(var(--vk-spacing) * 4); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); font-variant-numeric: tabular-nums; }
|
|
1985
|
+
.o-menu-value { flex: none; max-width: calc(var(--vk-spacing) * 30); margin-left: calc(var(--vk-spacing) * 4); overflow: hidden; text-overflow: ellipsis; font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtle); }
|
|
1986
|
+
/* A choice's detail: what it reads as (a date style's sample), quiet, before its tick. */
|
|
1987
|
+
.o-menu-detail { flex: none; margin-left: calc(var(--vk-spacing) * 4); font-size: var(--vk-font-size-xs); color: var(--vk-fg-subtlest); font-variant-numeric: tabular-nums; }
|
|
1988
|
+
.o-menu-more { flex: none; width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); margin-right: calc(var(--vk-spacing) * -0.5); fill: none; stroke: var(--vk-fg-subtlest); stroke-linecap: round; stroke-linejoin: round; }
|
|
1989
|
+
.o-menu-row .o-list-tick { margin-left: calc(var(--vk-spacing) * 4); }
|
|
1990
|
+
|
|
1991
|
+
/* ── Takes something away: in the danger colour, washed under the pointer so it warns before the click ─ */
|
|
1992
|
+
.o-menu-row.o-menu-danger { color: var(--vk-danger); }
|
|
1993
|
+
.o-menu-danger > svg:first-child, .o-menu-danger:is([data-highlighted], [data-force="hover"]) > svg:first-child { stroke: var(--vk-danger); }
|
|
1994
|
+
.o-menu-danger .o-menu-keys { color: var(--vk-danger); }
|
|
1995
|
+
.o-menu-row.o-menu-danger:is([data-highlighted], [data-force="hover"]) { background-color: var(--vk-danger-subtlest); }
|
|
1996
|
+
|
|
1997
|
+
/* ── Can't be used: greyed, no fill under the pointer; its tooltip says why ─────────────────────────── */
|
|
1998
|
+
.o-menu-row[data-disabled] { color: var(--vk-fg-disabled); cursor: not-allowed; }
|
|
1999
|
+
.o-menu-row[data-disabled] > svg:first-child { stroke: var(--vk-fg-disabled); }
|
|
2000
|
+
.o-menu-row[data-disabled]:is([data-highlighted], [data-force="hover"]) { background-color: transparent; }
|
|
2001
|
+
|
|
2002
|
+
/* A tick: the Checkbox's own box before its name (CheckboxMark, checkbox.css), ticked and greyed by its row. */
|
|
2003
|
+
/* A link that leaves the app: an arrow after its name. */
|
|
2004
|
+
.o-menu-away { flex: none; width: calc(var(--vk-spacing) * 3.5); height: calc(var(--vk-spacing) * 3.5); margin-left: calc(var(--vk-spacing) * 4); fill: none; stroke: var(--vk-fg-subtlest); stroke-linecap: round; stroke-linejoin: round; }
|
|
2005
|
+
|
|
2006
|
+
/* A row alone, shown in one of its states. */
|
|
2007
|
+
.o-list.o-menu.o-menu-state { min-width: calc(var(--vk-spacing) * 46); box-shadow: none; }
|
|
2008
|
+
|
|
2009
|
+
/* ── Shown open in the page: a choice row's choices beside it, their edges on one line, their first row
|
|
2010
|
+
level with it; room kept for them. A computer's cases: on a phone the page's On the phone stands the Sheet at its step (sheet.tsx) ─ */
|
|
2011
|
+
.o-menu-pair { padding-right: calc(var(--vk-spacing) * 52); }
|
|
2012
|
+
.o-menu-subwrap { position: relative; }
|
|
2013
|
+
.o-menu-subwrap > .o-menu-sub { position: absolute; z-index: 2; top: calc(-1 * var(--list-pad, var(--vk-spacing)) - var(--vk-border-width)); left: calc(100% + var(--vk-spacing)); }
|
|
2014
|
+
|
|
2015
|
+
/* ── What scrolls in a menu's panel (MenuScroll): its rows, alone, when the panel is taller than the room on screen. ── */
|
|
2016
|
+
.o-menu-list-scroll { display: grid; min-height: 0; overflow-y: auto; overscroll-behavior: contain; outline: none; }
|
|
2017
|
+
|
|
2018
|
+
/* ── In a panel that is no menu: its rows stand in their holder's panel (the Pane, a Popover), as a menu's in its: a
|
|
2019
|
+
row's corners as the list's (list.css's .o-list .o-list-row), no panel of its own. ─────────────────────────────────── */
|
|
2020
|
+
.o-menu-rows { --list-row-corners-in: var(--list-row-corners, var(--list-row-r, var(--list-box-r, var(--vk-radius-lg)))); display: grid; min-width: 0; outline: none; }
|
|
2021
|
+
.o-menu-rows .o-list-row { --list-row-rad: var(--list-row-corners-in); --list-row-pill-in: var(--list-row-corners-pill, var(--list-row-pill, var(--list-box-pill, 0))); }
|
|
2022
|
+
/* A tick as the Switch, at its end. */
|
|
2023
|
+
.o-menu-switch > .o-switch { flex: none; margin-left: calc(var(--vk-spacing) * 4); }
|
|
2024
|
+
/* A value in force (a filter's "1", a sort's "Amount +1"): in the brand. */
|
|
2025
|
+
.o-menu-value[data-on] { color: var(--vk-fg-accent); }
|
|
2026
|
+
/* A tick as an eye, at its end: open while it is on, crossed while off, quieter; greyed on a row that can't be used. */
|
|
2027
|
+
.o-menu-eye { flex: none; display: grid; place-items: center; margin-left: calc(var(--vk-spacing) * 4); color: var(--vk-fg-subtle); }
|
|
2028
|
+
.o-menu-eye > svg { width: calc(var(--vk-spacing) * 4); height: calc(var(--vk-spacing) * 4); }
|
|
2029
|
+
.o-menu-eye:not([data-on]) { color: var(--vk-fg-subtlest); }
|
|
2030
|
+
.o-menu-row[data-disabled] > .o-menu-eye { color: var(--vk-fg-disabled); }
|
|
2031
|
+
|
|
2032
|
+
/* The eye's change, a phone's and a panel's alike: its outline stays; its slash, a path one long, is drawn across from its
|
|
2033
|
+
top as it is crossed (arriving, ease-out) and drawn back away as it opens (leaving, ease-in, so its last dot goes at once), on
|
|
2034
|
+
duration-fast, the band cut from the outline beside it drawn with it, the pupil's half above the slash fading, and its colour
|
|
2035
|
+
easing. The slash is hidden only once drawn away, so no dot stands at its top. */
|
|
2036
|
+
:is(.o-menu-eye, .o-menu-list-eye) { transition: color var(--vk-duration-fast) var(--vk-ease-out); }
|
|
2037
|
+
:is(.o-eye-slash, .o-eye-cut) { stroke-dasharray: 1 1; stroke-dashoffset: 1; visibility: hidden;
|
|
2038
|
+
transition: stroke-dashoffset var(--vk-duration-fast) var(--vk-ease-in), visibility var(--vk-duration-fast); }
|
|
2039
|
+
.o-eye-upper { transition: opacity var(--vk-duration-fast) var(--vk-ease-out); }
|
|
2040
|
+
:not([data-on]) > svg > .o-eye-slash, :not([data-on]) > svg > mask > .o-eye-cut { stroke-dashoffset: 0; visibility: visible; transition-timing-function: var(--vk-ease-out); }
|
|
2041
|
+
:not([data-on]) > svg > .o-eye-upper { opacity: 0; }
|
|
2042
|
+
@media (prefers-reduced-motion: reduce) { :is(.o-menu-eye, .o-menu-list-eye, .o-eye-slash, .o-eye-cut, .o-eye-upper) { transition: none; } }
|
|
2043
|
+
/* A row with a grip: the grip at its start; held, it stands over the others on the overlay's ground, as the sort
|
|
2044
|
+
editor's held rule does, its smooth clip let go so its shadow shows. */
|
|
2045
|
+
.o-menu-row > .o-menu-grip { flex: none; margin-left: calc(var(--vk-spacing) * -1); touch-action: none; }
|
|
2046
|
+
/* A row with no grip among rows that carry one keeps the grip's room (Mihai, 19 Nov 2026: "Keep the room"): the grip itself, out of
|
|
2047
|
+
sight, standing where a grip stands, so every row's mark is in one line. */
|
|
2048
|
+
.o-menu-grip-room { display: contents; visibility: hidden; }
|
|
2049
|
+
.o-menu-grip-room > .o-button { flex: none; margin-left: calc(var(--vk-spacing) * -1); }
|
|
2050
|
+
.o-menu-row[data-lifted] { position: relative; z-index: var(--vk-layer-popup); clip-path: none; background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); cursor: grabbing; }
|
|
2051
|
+
.o-menu-row[data-lifted] > .o-menu-grip { cursor: grabbing; }
|
|
2052
|
+
.o-menu-said { position: absolute; width: var(--vk-border-width); height: var(--vk-border-width); overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
2053
|
+
|
|
1638
2054
|
.o-number { min-width: 0; }
|
|
1639
2055
|
/* 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. */
|
|
1640
2056
|
.o-number-bare { display: contents; }
|
|
@@ -2027,6 +2443,9 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2027
2443
|
.o-sheet:is([data-sheet-form="full"], [data-sheet-form="floating"], [data-sheet-form="edge"]):not([data-sheet-smoothing="round"] *) { background-color: transparent; }
|
|
2028
2444
|
.o-sheet:is([data-sheet-form="full"], [data-sheet-form="floating"], [data-sheet-form="edge"]):not([data-sheet-smoothing="round"] *)::after { background-color: var(--vk-overlay); }
|
|
2029
2445
|
.o-sheet:is([data-sheet-form="full"], [data-sheet-form="floating"], [data-sheet-form="edge"]):not([data-sheet-smoothing="round"] *) > .o-sheet-cut { background-color: var(--vk-overlay); clip-path: var(--sheet-outline); }
|
|
2446
|
+
/* Its outline's bottom and foot are its own: they inherit, so what it holds (an Input, a Tag, each drawing the same outline)
|
|
2447
|
+
would take its square bottom. --sheet-outline was worked out on the sheet, so the cut keeps it. */
|
|
2448
|
+
.o-sheet:not([data-sheet-smoothing="round"] *) > .o-sheet-cut { --smooth-b: initial; --smooth-foot: initial; }
|
|
2030
2449
|
}
|
|
2031
2450
|
|
|
2032
2451
|
/* A sheet on a sheet: the one below steps back and stays still; only the top one is live. */
|
|
@@ -2989,6 +3408,9 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2989
3408
|
.m-0 {
|
|
2990
3409
|
margin: 0px;
|
|
2991
3410
|
}
|
|
3411
|
+
.m-1 {
|
|
3412
|
+
margin: 4px;
|
|
3413
|
+
}
|
|
2992
3414
|
.-mx-\(--vk-gutter\,0px\) {
|
|
2993
3415
|
margin-inline: calc(var(--vk-gutter,0px) * -1);
|
|
2994
3416
|
}
|
|
@@ -5420,14 +5842,23 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
5420
5842
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(16 17 26 / 0.16);
|
|
5421
5843
|
--vk-font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
5422
5844
|
--vk-overlay-selected: hsl(220 7% 90%);
|
|
5423
|
-
--vk-header: hsl(0 0% 100%);
|
|
5424
|
-
--vk-blur-xs: 4px;
|
|
5425
|
-
--vk-blur-sm: 8px;
|
|
5426
5845
|
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
5427
5846
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
5847
|
+
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
5428
5848
|
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
5849
|
+
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
5429
5850
|
--vk-layer-popup: 50;
|
|
5851
|
+
--vk-label-amber-pressed: hsl(24 86% 35.5%);
|
|
5852
|
+
--vk-label-blue-pressed: hsl(219 70% 46.5%);
|
|
5853
|
+
--vk-label-green-pressed: hsl(157 88% 24%);
|
|
5854
|
+
--vk-label-purple-pressed: hsl(260 65% 55%);
|
|
5855
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
5430
5856
|
--vk-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
5857
|
+
--vk-hold-delay: 500ms;
|
|
5858
|
+
--vk-submenu-delay: 100ms;
|
|
5859
|
+
--vk-header: hsl(0 0% 100%);
|
|
5860
|
+
--vk-blur-xs: 4px;
|
|
5861
|
+
--vk-blur-sm: 8px;
|
|
5431
5862
|
--vk-scrollbar-size: 6px;
|
|
5432
5863
|
--vk-scrollbar-inset: 2px;
|
|
5433
5864
|
--vk-scrollbar-thumb: hsl(210 1% 82%);
|
|
@@ -5437,7 +5868,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
5437
5868
|
--vk-backdrop-sheet-light: hsl(214 30% 10% / 0.15);
|
|
5438
5869
|
--vk-backdrop-stacked: hsl(214 30% 10% / 0.2);
|
|
5439
5870
|
--vk-sheet-handle: hsl(210 1% 72%);
|
|
5440
|
-
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
5441
5871
|
--vk-spring-exit: 120px;
|
|
5442
5872
|
--vk-spring-past: 12px;
|
|
5443
5873
|
--vk-radius-3xl: 26.67px;
|
|
@@ -5486,8 +5916,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
5486
5916
|
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
5487
5917
|
--vk-font-weight-bold: 700;
|
|
5488
5918
|
--vk-tracking-wide: 0.025em;
|
|
5489
|
-
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
5490
|
-
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
5491
5919
|
--vk-font-size-2xs: 10px;
|
|
5492
5920
|
--vk-tooltip-delay: 500ms;
|
|
5493
5921
|
--vk-tooltip-warm: 300ms;
|
|
@@ -5644,17 +6072,23 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
5644
6072
|
--vk-shadow-field-focus-danger: 0 0 10px 0 hsl(1 55% 46.5% / 0.42);
|
|
5645
6073
|
--vk-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|
|
5646
6074
|
--vk-overlay-selected: hsl(225 7% 15%);
|
|
5647
|
-
--vk-header: hsl(210 6% 7%);
|
|
5648
6075
|
--vk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
5649
6076
|
--vk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
6077
|
+
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
5650
6078
|
--vk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
6079
|
+
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
6080
|
+
--vk-label-amber-pressed: hsl(21 66% 55%);
|
|
6081
|
+
--vk-label-blue-pressed: hsl(219 95% 64%);
|
|
6082
|
+
--vk-label-green-pressed: hsl(150 45% 51.5%);
|
|
6083
|
+
--vk-label-purple-pressed: hsl(256 100% 73%);
|
|
6084
|
+
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
6085
|
+
--vk-header: hsl(210 6% 7%);
|
|
5651
6086
|
--vk-scrollbar-thumb: hsl(210 2% 26.5%);
|
|
5652
6087
|
--vk-scrollbar-thumb-hovered: hsl(210 1% 37%);
|
|
5653
6088
|
--vk-backdrop-sheet: hsl(0 0% 0% / 0.45);
|
|
5654
6089
|
--vk-backdrop-sheet-light: hsl(0 0% 0% / 0.22);
|
|
5655
6090
|
--vk-backdrop-stacked: hsl(0 0% 0% / 0.3);
|
|
5656
6091
|
--vk-sheet-handle: hsl(210 2% 26.5%);
|
|
5657
|
-
--vk-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
5658
6092
|
--vk-amber-700: hsl(25 92% 41%);
|
|
5659
6093
|
--vk-blue-700: hsl(219 87% 59.5%);
|
|
5660
6094
|
--vk-border-accent: hsl(219 66% 47%);
|
|
@@ -5678,8 +6112,6 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
5678
6112
|
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
5679
6113
|
--vk-teal-700: hsl(192 87% 40%);
|
|
5680
6114
|
--vk-warning-subtler: hsl(20 29% 13.5%);
|
|
5681
|
-
--vk-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
5682
|
-
--vk-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
5683
6115
|
--vk-t-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5), 0 0 0 1px hsl(0 0% 18%);
|
|
5684
6116
|
--vk-t-shadow-field: 0 1px 1px 0 rgb(255 255 255 / 0.08);
|
|
5685
6117
|
--vk-t-shadow-field-hover: 0 1px 1px 0 rgb(255 255 255 / 0.12);
|