@mrpelz/uikit-ish 0.0.0-stage → 7.8.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/dist/components/action-sheet/main.d.ts +39 -0
- package/dist/components/action-sheet/main.d.ts.map +1 -0
- package/dist/components/action-sheet/main.js +35 -0
- package/dist/components/action-sheet/main.js.map +1 -0
- package/dist/components/action-sheet/props.d.ts +10 -0
- package/dist/components/action-sheet/props.d.ts.map +1 -0
- package/dist/components/action-sheet/props.js +2 -0
- package/dist/components/action-sheet/props.js.map +1 -0
- package/dist/components/action-sheet/style.css +8 -0
- package/dist/components/activity-view/main.d.ts +45 -0
- package/dist/components/activity-view/main.d.ts.map +1 -0
- package/dist/components/activity-view/main.js +64 -0
- package/dist/components/activity-view/main.js.map +1 -0
- package/dist/components/activity-view/props.d.ts +12 -0
- package/dist/components/activity-view/props.d.ts.map +1 -0
- package/dist/components/activity-view/props.js +2 -0
- package/dist/components/activity-view/props.js.map +1 -0
- package/dist/components/activity-view/style.css +209 -0
- package/dist/components/alert/main.d.ts +53 -0
- package/dist/components/alert/main.d.ts.map +1 -0
- package/dist/components/alert/main.js +57 -0
- package/dist/components/alert/main.js.map +1 -0
- package/dist/components/alert/props.d.ts +18 -0
- package/dist/components/alert/props.d.ts.map +1 -0
- package/dist/components/alert/props.js +2 -0
- package/dist/components/alert/props.js.map +1 -0
- package/dist/components/alert/style.css +205 -0
- package/dist/components/avatar/main.d.ts +20 -0
- package/dist/components/avatar/main.d.ts.map +1 -0
- package/dist/components/avatar/main.js +42 -0
- package/dist/components/avatar/main.js.map +1 -0
- package/dist/components/avatar/props.d.ts +18 -0
- package/dist/components/avatar/props.d.ts.map +1 -0
- package/dist/components/avatar/props.js +2 -0
- package/dist/components/avatar/props.js.map +1 -0
- package/dist/components/avatar/style.css +83 -0
- package/dist/components/badge/main.d.ts +12 -0
- package/dist/components/badge/main.d.ts.map +1 -0
- package/dist/components/badge/main.js +33 -0
- package/dist/components/badge/main.js.map +1 -0
- package/dist/components/badge/props.d.ts +20 -0
- package/dist/components/badge/props.d.ts.map +1 -0
- package/dist/components/badge/props.js +2 -0
- package/dist/components/badge/props.js.map +1 -0
- package/dist/components/badge/style.css +71 -0
- package/dist/components/button/main.d.ts +16 -0
- package/dist/components/button/main.d.ts.map +1 -0
- package/dist/components/button/main.js +64 -0
- package/dist/components/button/main.js.map +1 -0
- package/dist/components/button/props.d.ts +45 -0
- package/dist/components/button/props.d.ts.map +1 -0
- package/dist/components/button/props.js +2 -0
- package/dist/components/button/props.js.map +1 -0
- package/dist/components/button/style.css +338 -0
- package/dist/components/checkbox/main.d.ts +23 -0
- package/dist/components/checkbox/main.d.ts.map +1 -0
- package/dist/components/checkbox/main.js +43 -0
- package/dist/components/checkbox/main.js.map +1 -0
- package/dist/components/checkbox/props.d.ts +14 -0
- package/dist/components/checkbox/props.d.ts.map +1 -0
- package/dist/components/checkbox/props.js +2 -0
- package/dist/components/checkbox/props.js.map +1 -0
- package/dist/components/checkbox/style.css +73 -0
- package/dist/components/color-picker/main.d.ts +31 -0
- package/dist/components/color-picker/main.d.ts.map +1 -0
- package/dist/components/color-picker/main.js +356 -0
- package/dist/components/color-picker/main.js.map +1 -0
- package/dist/components/color-picker/props.d.ts +61 -0
- package/dist/components/color-picker/props.d.ts.map +1 -0
- package/dist/components/color-picker/props.js +2 -0
- package/dist/components/color-picker/props.js.map +1 -0
- package/dist/components/color-picker/style.css +374 -0
- package/dist/components/contextual-menu/main.d.ts +84 -0
- package/dist/components/contextual-menu/main.d.ts.map +1 -0
- package/dist/components/contextual-menu/main.js +255 -0
- package/dist/components/contextual-menu/main.js.map +1 -0
- package/dist/components/contextual-menu/props.d.ts +44 -0
- package/dist/components/contextual-menu/props.d.ts.map +1 -0
- package/dist/components/contextual-menu/props.js +2 -0
- package/dist/components/contextual-menu/props.js.map +1 -0
- package/dist/components/contextual-menu/style.css +80 -0
- package/dist/components/date-picker/main.d.ts +57 -0
- package/dist/components/date-picker/main.d.ts.map +1 -0
- package/dist/components/date-picker/main.js +770 -0
- package/dist/components/date-picker/main.js.map +1 -0
- package/dist/components/date-picker/props.d.ts +220 -0
- package/dist/components/date-picker/props.d.ts.map +1 -0
- package/dist/components/date-picker/props.js +2 -0
- package/dist/components/date-picker/props.js.map +1 -0
- package/dist/components/date-picker/style.css +446 -0
- package/dist/components/edit-menu/main.d.ts +71 -0
- package/dist/components/edit-menu/main.d.ts.map +1 -0
- package/dist/components/edit-menu/main.js +317 -0
- package/dist/components/edit-menu/main.js.map +1 -0
- package/dist/components/edit-menu/props.d.ts +21 -0
- package/dist/components/edit-menu/props.d.ts.map +1 -0
- package/dist/components/edit-menu/props.js +2 -0
- package/dist/components/edit-menu/props.js.map +1 -0
- package/dist/components/edit-menu/style.css +189 -0
- package/dist/components/form/main.d.ts +21 -0
- package/dist/components/form/main.d.ts.map +1 -0
- package/dist/components/form/main.js +32 -0
- package/dist/components/form/main.js.map +1 -0
- package/dist/components/form/props.d.ts +4 -0
- package/dist/components/form/props.d.ts.map +1 -0
- package/dist/components/form/props.js +2 -0
- package/dist/components/form/props.js.map +1 -0
- package/dist/components/form/style.css +9 -0
- package/dist/components/glass/main.d.ts +34 -0
- package/dist/components/glass/main.d.ts.map +1 -0
- package/dist/components/glass/main.js +157 -0
- package/dist/components/glass/main.js.map +1 -0
- package/dist/components/glass/props.d.ts +22 -0
- package/dist/components/glass/props.d.ts.map +1 -0
- package/dist/components/glass/props.js +2 -0
- package/dist/components/glass/props.js.map +1 -0
- package/dist/components/glass/style.css +488 -0
- package/dist/components/header/main.d.ts +15 -0
- package/dist/components/header/main.d.ts.map +1 -0
- package/dist/components/header/main.js +78 -0
- package/dist/components/header/main.js.map +1 -0
- package/dist/components/header/props.d.ts +16 -0
- package/dist/components/header/props.d.ts.map +1 -0
- package/dist/components/header/props.js +2 -0
- package/dist/components/header/props.js.map +1 -0
- package/dist/components/header/style.css +119 -0
- package/dist/components/index.d.ts +38 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +45 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/layout/main.d.ts +15 -0
- package/dist/components/layout/main.d.ts.map +1 -0
- package/dist/components/layout/main.js +241 -0
- package/dist/components/layout/main.js.map +1 -0
- package/dist/components/layout/props.d.ts +52 -0
- package/dist/components/layout/props.d.ts.map +1 -0
- package/dist/components/layout/props.js +2 -0
- package/dist/components/layout/props.js.map +1 -0
- package/dist/components/layout/style.css +208 -0
- package/dist/components/list/main.d.ts +104 -0
- package/dist/components/list/main.d.ts.map +1 -0
- package/dist/components/list/main.js +1553 -0
- package/dist/components/list/main.js.map +1 -0
- package/dist/components/list/props.d.ts +178 -0
- package/dist/components/list/props.d.ts.map +1 -0
- package/dist/components/list/props.js +2 -0
- package/dist/components/list/props.js.map +1 -0
- package/dist/components/list/style.css +1689 -0
- package/dist/components/menu/main.d.ts +119 -0
- package/dist/components/menu/main.d.ts.map +1 -0
- package/dist/components/menu/main.js +487 -0
- package/dist/components/menu/main.js.map +1 -0
- package/dist/components/menu/props.d.ts +54 -0
- package/dist/components/menu/props.d.ts.map +1 -0
- package/dist/components/menu/props.js +2 -0
- package/dist/components/menu/props.js.map +1 -0
- package/dist/components/menu/style.css +446 -0
- package/dist/components/navigation/main.d.ts +9 -0
- package/dist/components/navigation/main.d.ts.map +1 -0
- package/dist/components/navigation/main.js +201 -0
- package/dist/components/navigation/main.js.map +1 -0
- package/dist/components/navigation/props.d.ts +16 -0
- package/dist/components/navigation/props.d.ts.map +1 -0
- package/dist/components/navigation/props.js +2 -0
- package/dist/components/navigation/props.js.map +1 -0
- package/dist/components/navigation/style.css +83 -0
- package/dist/components/page/main.d.ts +9 -0
- package/dist/components/page/main.d.ts.map +1 -0
- package/dist/components/page/main.js +20 -0
- package/dist/components/page/main.js.map +1 -0
- package/dist/components/page/props.d.ts +10 -0
- package/dist/components/page/props.d.ts.map +1 -0
- package/dist/components/page/props.js +2 -0
- package/dist/components/page/props.js.map +1 -0
- package/dist/components/page/style.css +19 -0
- package/dist/components/page-control/main.d.ts +13 -0
- package/dist/components/page-control/main.d.ts.map +1 -0
- package/dist/components/page-control/main.js +138 -0
- package/dist/components/page-control/main.js.map +1 -0
- package/dist/components/page-control/props.d.ts +36 -0
- package/dist/components/page-control/props.d.ts.map +1 -0
- package/dist/components/page-control/props.js +2 -0
- package/dist/components/page-control/props.js.map +1 -0
- package/dist/components/page-control/style.css +111 -0
- package/dist/components/popover/main.d.ts +34 -0
- package/dist/components/popover/main.d.ts.map +1 -0
- package/dist/components/popover/main.js +232 -0
- package/dist/components/popover/main.js.map +1 -0
- package/dist/components/popover/props.d.ts +23 -0
- package/dist/components/popover/props.d.ts.map +1 -0
- package/dist/components/popover/props.js +2 -0
- package/dist/components/popover/props.js.map +1 -0
- package/dist/components/popover/style.css +160 -0
- package/dist/components/progress/main.d.ts +31 -0
- package/dist/components/progress/main.d.ts.map +1 -0
- package/dist/components/progress/main.js +77 -0
- package/dist/components/progress/main.js.map +1 -0
- package/dist/components/progress/props.d.ts +56 -0
- package/dist/components/progress/props.d.ts.map +1 -0
- package/dist/components/progress/props.js +2 -0
- package/dist/components/progress/props.js.map +1 -0
- package/dist/components/progress/style.css +264 -0
- package/dist/components/roll/main.d.ts +18 -0
- package/dist/components/roll/main.d.ts.map +1 -0
- package/dist/components/roll/main.js +463 -0
- package/dist/components/roll/main.js.map +1 -0
- package/dist/components/roll/props.d.ts +58 -0
- package/dist/components/roll/props.d.ts.map +1 -0
- package/dist/components/roll/props.js +2 -0
- package/dist/components/roll/props.js.map +1 -0
- package/dist/components/roll/style.css +173 -0
- package/dist/components/segmented/main.d.ts +17 -0
- package/dist/components/segmented/main.d.ts.map +1 -0
- package/dist/components/segmented/main.js +151 -0
- package/dist/components/segmented/main.js.map +1 -0
- package/dist/components/segmented/props.d.ts +16 -0
- package/dist/components/segmented/props.d.ts.map +1 -0
- package/dist/components/segmented/props.js +2 -0
- package/dist/components/segmented/props.js.map +1 -0
- package/dist/components/segmented/style.css +428 -0
- package/dist/components/sheet/main.d.ts +32 -0
- package/dist/components/sheet/main.d.ts.map +1 -0
- package/dist/components/sheet/main.js +101 -0
- package/dist/components/sheet/main.js.map +1 -0
- package/dist/components/sheet/props.d.ts +11 -0
- package/dist/components/sheet/props.d.ts.map +1 -0
- package/dist/components/sheet/props.js +2 -0
- package/dist/components/sheet/props.js.map +1 -0
- package/dist/components/sheet/style.css +125 -0
- package/dist/components/sidebar/main.d.ts +15 -0
- package/dist/components/sidebar/main.d.ts.map +1 -0
- package/dist/components/sidebar/main.js +42 -0
- package/dist/components/sidebar/main.js.map +1 -0
- package/dist/components/sidebar/props.d.ts +5 -0
- package/dist/components/sidebar/props.d.ts.map +1 -0
- package/dist/components/sidebar/props.js +2 -0
- package/dist/components/sidebar/props.js.map +1 -0
- package/dist/components/sidebar/style.css +94 -0
- package/dist/components/slider/main.d.ts +35 -0
- package/dist/components/slider/main.d.ts.map +1 -0
- package/dist/components/slider/main.js +153 -0
- package/dist/components/slider/main.js.map +1 -0
- package/dist/components/slider/props.d.ts +56 -0
- package/dist/components/slider/props.d.ts.map +1 -0
- package/dist/components/slider/props.js +2 -0
- package/dist/components/slider/props.js.map +1 -0
- package/dist/components/slider/style.css +345 -0
- package/dist/components/stepper/main.d.ts +22 -0
- package/dist/components/stepper/main.d.ts.map +1 -0
- package/dist/components/stepper/main.js +56 -0
- package/dist/components/stepper/main.js.map +1 -0
- package/dist/components/stepper/props.d.ts +10 -0
- package/dist/components/stepper/props.d.ts.map +1 -0
- package/dist/components/stepper/props.js +2 -0
- package/dist/components/stepper/props.js.map +1 -0
- package/dist/components/stepper/style.css +115 -0
- package/dist/components/switch/main.d.ts +14 -0
- package/dist/components/switch/main.d.ts.map +1 -0
- package/dist/components/switch/main.js +143 -0
- package/dist/components/switch/main.js.map +1 -0
- package/dist/components/switch/props.d.ts +34 -0
- package/dist/components/switch/props.d.ts.map +1 -0
- package/dist/components/switch/props.js +2 -0
- package/dist/components/switch/props.js.map +1 -0
- package/dist/components/switch/style.css +168 -0
- package/dist/components/symbol/main.d.ts +8 -0
- package/dist/components/symbol/main.d.ts.map +1 -0
- package/dist/components/symbol/main.js +32 -0
- package/dist/components/symbol/main.js.map +1 -0
- package/dist/components/symbol/props.d.ts +10 -0
- package/dist/components/symbol/props.d.ts.map +1 -0
- package/dist/components/symbol/props.js +2 -0
- package/dist/components/symbol/props.js.map +1 -0
- package/dist/components/symbol/style.css +26 -0
- package/dist/components/tab-bar/main.d.ts +39 -0
- package/dist/components/tab-bar/main.d.ts.map +1 -0
- package/dist/components/tab-bar/main.js +1133 -0
- package/dist/components/tab-bar/main.js.map +1 -0
- package/dist/components/tab-bar/props.d.ts +152 -0
- package/dist/components/tab-bar/props.d.ts.map +1 -0
- package/dist/components/tab-bar/props.js +2 -0
- package/dist/components/tab-bar/props.js.map +1 -0
- package/dist/components/tab-bar/style.css +936 -0
- package/dist/components/text-field/main.d.ts +28 -0
- package/dist/components/text-field/main.d.ts.map +1 -0
- package/dist/components/text-field/main.js +105 -0
- package/dist/components/text-field/main.js.map +1 -0
- package/dist/components/text-field/props.d.ts +3 -0
- package/dist/components/text-field/props.d.ts.map +1 -0
- package/dist/components/text-field/props.js +2 -0
- package/dist/components/text-field/props.js.map +1 -0
- package/dist/components/text-field/style.css +230 -0
- package/dist/components/toolbar/main.d.ts +37 -0
- package/dist/components/toolbar/main.d.ts.map +1 -0
- package/dist/components/toolbar/main.js +142 -0
- package/dist/components/toolbar/main.js.map +1 -0
- package/dist/components/toolbar/props.d.ts +46 -0
- package/dist/components/toolbar/props.d.ts.map +1 -0
- package/dist/components/toolbar/props.js +2 -0
- package/dist/components/toolbar/props.js.map +1 -0
- package/dist/components/toolbar/style.css +210 -0
- package/dist/components/tooltip/main.d.ts +29 -0
- package/dist/components/tooltip/main.d.ts.map +1 -0
- package/dist/components/tooltip/main.js +37 -0
- package/dist/components/tooltip/main.js.map +1 -0
- package/dist/components/tooltip/props.d.ts +11 -0
- package/dist/components/tooltip/props.d.ts.map +1 -0
- package/dist/components/tooltip/props.js +2 -0
- package/dist/components/tooltip/props.js.map +1 -0
- package/dist/components/tooltip/style.css +29 -0
- package/dist/components/typography/main.d.ts +8 -0
- package/dist/components/typography/main.d.ts.map +1 -0
- package/dist/components/typography/main.js +21 -0
- package/dist/components/typography/main.js.map +1 -0
- package/dist/components/typography/props.d.ts +35 -0
- package/dist/components/typography/props.d.ts.map +1 -0
- package/dist/components/typography/props.js +2 -0
- package/dist/components/typography/props.js.map +1 -0
- package/dist/components/typography/style.css +719 -0
- package/dist/components/utils/main.d.ts +114 -0
- package/dist/components/utils/main.d.ts.map +1 -0
- package/dist/components/utils/main.js +431 -0
- package/dist/components/utils/main.js.map +1 -0
- package/dist/components/utils/props.d.ts +52 -0
- package/dist/components/utils/props.d.ts.map +1 -0
- package/dist/components/utils/props.js +2 -0
- package/dist/components/utils/props.js.map +1 -0
- package/dist/components/utils/style.css +77 -0
- package/dist/components/viewport/main.d.ts +32 -0
- package/dist/components/viewport/main.d.ts.map +1 -0
- package/dist/components/viewport/main.js +197 -0
- package/dist/components/viewport/main.js.map +1 -0
- package/dist/components/viewport/props.d.ts +71 -0
- package/dist/components/viewport/props.d.ts.map +1 -0
- package/dist/components/viewport/props.js +2 -0
- package/dist/components/viewport/props.js.map +1 -0
- package/dist/components/viewport/style.css +112 -0
- package/dist/main.d.ts +4 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +3 -0
- package/dist/main.js.map +1 -0
- package/dist/styles.css +567 -0
- package/dist/styles.d.ts +25 -0
- package/dist/styles.d.ts.map +1 -0
- package/dist/styles.js +39 -0
- package/dist/styles.js.map +1 -0
- package/package.json +55 -4
- package/README.md +0 -3
|
@@ -0,0 +1,1689 @@
|
|
|
1
|
+
/* List (see main.tsx). */
|
|
2
|
+
|
|
3
|
+
/* (The row's layouts by its parts, `:has()`, outrank its parts' general
|
|
4
|
+
placement, whatever their order.) */
|
|
5
|
+
/* stylelint-disable no-descending-specificity */
|
|
6
|
+
@layer uikit-ish {
|
|
7
|
+
.uikit-list-section {
|
|
8
|
+
display: block;
|
|
9
|
+
margin-block: var(--uikit-list-section-spacing, 35px);
|
|
10
|
+
scroll-snap-align: var(--uikit-list-section-snap, none);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.uikit-list-group {
|
|
14
|
+
overflow: clip visible;
|
|
15
|
+
padding: 0;
|
|
16
|
+
border-radius: var(--uikit-list-radius, 24px);
|
|
17
|
+
background-color: var(
|
|
18
|
+
--uikit-list-group-background,
|
|
19
|
+
var(--color-ios-secondary-system-grouped-background)
|
|
20
|
+
);
|
|
21
|
+
box-shadow: var(--uikit-list-outline-shadow, none);
|
|
22
|
+
list-style: none;
|
|
23
|
+
margin-block: 0;
|
|
24
|
+
margin-inline: var(--uikit-list-inset, 16px);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.uikit-list-row {
|
|
28
|
+
--uikit-list-min-height: var(--uikit-list-row-min-height, 52px);
|
|
29
|
+
|
|
30
|
+
/* Borderless buttons in rows (e.g. a pop-up's) in Body, as details; their
|
|
31
|
+
content ending where the details do (their padding beyond), their label
|
|
32
|
+
and symbol 16px apart (as a detail and its chevron, user), the symbol
|
|
33
|
+
light (user: thinner than regular). */
|
|
34
|
+
--uikit-button-plain-size: var(--font-ios-body-size);
|
|
35
|
+
--uikit-button-plain-line-height: var(--font-ios-body-line-height);
|
|
36
|
+
--uikit-button-plain-tracking: var(--font-ios-body-tracking);
|
|
37
|
+
--uikit-button-plain-margin-end: -14px;
|
|
38
|
+
--uikit-button-plain-gap: 16px;
|
|
39
|
+
--uikit-button-plain-symbol-weight: 300;
|
|
40
|
+
|
|
41
|
+
position: relative;
|
|
42
|
+
display: grid;
|
|
43
|
+
min-height: var(--uikit-list-min-height);
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
align-content: center;
|
|
46
|
+
padding: var(--uikit-list-row-padding, 12px 16px);
|
|
47
|
+
grid-auto-columns: auto;
|
|
48
|
+
grid-auto-flow: column;
|
|
49
|
+
grid-template-columns: auto auto minmax(0, 1fr);
|
|
50
|
+
grid-template-rows: auto auto;
|
|
51
|
+
|
|
52
|
+
/* Indented by its level (see Item). */
|
|
53
|
+
padding-inline-start: calc(
|
|
54
|
+
var(--uikit-list-row-padding-start, 16px) + var(--uikit-list-level, 0) *
|
|
55
|
+
20px
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
/* Figma Height=Tall (images keep their regular size) */
|
|
59
|
+
&:has(> [data-list-part='subtitle']) {
|
|
60
|
+
--uikit-list-min-height: 68px;
|
|
61
|
+
|
|
62
|
+
& > [data-list-part='title'] {
|
|
63
|
+
align-self: end;
|
|
64
|
+
grid-area: 1 / 3;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Framework7 media list (Mail): a title row with the trailing parts, the
|
|
69
|
+
subtitle and text below, spanning the row, the image at the top; the
|
|
70
|
+
title emphasized (Framework7: 600), trailing details in Subheadline. */
|
|
71
|
+
&:has(> [data-list-part='text']) {
|
|
72
|
+
--uikit-list-min-height: 0px;
|
|
73
|
+
|
|
74
|
+
align-content: start;
|
|
75
|
+
grid-template-rows: auto auto auto;
|
|
76
|
+
padding-block: 10px;
|
|
77
|
+
|
|
78
|
+
&::after {
|
|
79
|
+
grid-area: 1 / 1 / 2 / 4;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
& > [data-list-part='edit'] {
|
|
83
|
+
grid-area: 1 / 1 / 4;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
& > [data-list-part='image'] {
|
|
87
|
+
align-self: start;
|
|
88
|
+
grid-area: 1 / 2 / 4;
|
|
89
|
+
margin-block: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
& > [data-list-part='title'] {
|
|
93
|
+
align-self: center;
|
|
94
|
+
font-variation-settings: 'wght' 590;
|
|
95
|
+
font-weight: round(down, 590, 100);
|
|
96
|
+
grid-area: 1 / 3;
|
|
97
|
+
stroke: currentcolor;
|
|
98
|
+
stroke-linejoin: round;
|
|
99
|
+
stroke-width: max(0px, (590 - 400) / 326 * 1px);
|
|
100
|
+
|
|
101
|
+
--uikit-symbol-thinning: max(0px, (400 - 590) / 326 * 1px);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
& > [data-list-part='subtitle'] {
|
|
105
|
+
color: var(--color-ios-label);
|
|
106
|
+
grid-area: 2 / 3 / 3 / 99;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
& > [data-list-part='text'] {
|
|
110
|
+
grid-area: 3 / 3 / 4 / 99;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
& > [data-list-part='detail'] {
|
|
114
|
+
font-size: var(--font-ios-subheadline-size);
|
|
115
|
+
font-style: normal;
|
|
116
|
+
font-variation-settings: 'wght' var(--font-ios-subheadline-weight);
|
|
117
|
+
font-weight: round(down, var(--font-ios-subheadline-weight), 100);
|
|
118
|
+
letter-spacing: var(--font-ios-subheadline-tracking);
|
|
119
|
+
line-height: var(--font-ios-subheadline-line-height);
|
|
120
|
+
stroke: currentcolor;
|
|
121
|
+
stroke-linejoin: round;
|
|
122
|
+
stroke-width: max(
|
|
123
|
+
0px,
|
|
124
|
+
(var(--font-ios-subheadline-weight) - 400) / 326 * 1px
|
|
125
|
+
);
|
|
126
|
+
|
|
127
|
+
--uikit-symbol-thinning: max(
|
|
128
|
+
0px,
|
|
129
|
+
(400 - var(--font-ios-subheadline-weight)) / 326 * 1px
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&
|
|
134
|
+
> :not(
|
|
135
|
+
[data-list-part='edit'],
|
|
136
|
+
[data-list-part='image'],
|
|
137
|
+
[data-list-part='title'],
|
|
138
|
+
[data-list-part='subtitle'],
|
|
139
|
+
[data-list-part='text'],
|
|
140
|
+
[data-list-part='button'],
|
|
141
|
+
[data-list-part='swipe-actions']
|
|
142
|
+
) {
|
|
143
|
+
grid-row: 1;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* Fields (see Field, Root rendering the row): the label as the title, in
|
|
148
|
+
Body, the control filling the rest of the row (the label's column as
|
|
149
|
+
wide as it, its value at the end), the clear button 8px after it,
|
|
150
|
+
messages below. */
|
|
151
|
+
&:has(> [data-text-field-part='control']) {
|
|
152
|
+
grid-template-columns: auto auto minmax(0, max-content) minmax(0, 1fr);
|
|
153
|
+
grid-template-rows: auto auto auto;
|
|
154
|
+
|
|
155
|
+
& > [data-text-field-part='label'] {
|
|
156
|
+
align-self: center;
|
|
157
|
+
color: var(--color-ios-label);
|
|
158
|
+
font-size: var(--font-ios-body-size);
|
|
159
|
+
font-style: normal;
|
|
160
|
+
font-variation-settings: 'wght' var(--font-ios-body-weight);
|
|
161
|
+
font-weight: round(down, var(--font-ios-body-weight), 100);
|
|
162
|
+
grid-area: 1 / 3;
|
|
163
|
+
letter-spacing: var(--font-ios-body-tracking);
|
|
164
|
+
line-height: var(--font-ios-body-line-height);
|
|
165
|
+
margin-block: 0;
|
|
166
|
+
margin-inline: 0 16px;
|
|
167
|
+
stroke: currentcolor;
|
|
168
|
+
stroke-linejoin: round;
|
|
169
|
+
stroke-width: max(0px, (var(--font-ios-body-weight) - 400) / 326 * 1px);
|
|
170
|
+
|
|
171
|
+
--uikit-symbol-thinning: max(
|
|
172
|
+
0px,
|
|
173
|
+
(400 - var(--font-ios-body-weight)) / 326 * 1px
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
& > [data-text-field-part='control'] {
|
|
178
|
+
position: relative;
|
|
179
|
+
align-self: center;
|
|
180
|
+
margin: 0;
|
|
181
|
+
grid-area: 1 / 4;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
& > textarea[data-text-field-part='control'] {
|
|
185
|
+
align-self: start;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&:not(:has(> [data-text-field-part='label']))
|
|
189
|
+
> [data-text-field-part='control'] {
|
|
190
|
+
grid-column: 3 / 5;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* After an inline label, the value at the row's end (UIKit forms,
|
|
194
|
+
Settings). */
|
|
195
|
+
&:has(> [data-text-field-part='label'])
|
|
196
|
+
> input[data-text-field-part='control'] {
|
|
197
|
+
text-align: end;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
& > [data-text-field-part='clear'] {
|
|
201
|
+
grid-row: 1;
|
|
202
|
+
margin-block: 0;
|
|
203
|
+
margin-inline-start: 8px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
& > [data-text-field-part='description'],
|
|
207
|
+
& > [data-text-field-part='error'] {
|
|
208
|
+
margin: 4px 0 0;
|
|
209
|
+
grid-column: 3 / -1;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
& > [data-text-field-part='description'] {
|
|
213
|
+
grid-row: 2;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
& > [data-text-field-part='error'] {
|
|
217
|
+
grid-row: 3;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* Figma “_Separator”, from the text to 16px before the edge */
|
|
222
|
+
&::before {
|
|
223
|
+
position: absolute;
|
|
224
|
+
top: 0;
|
|
225
|
+
border-top: 1px solid var(--color-ios-list-separator);
|
|
226
|
+
content: '';
|
|
227
|
+
|
|
228
|
+
/* To the padding edge (auto, as absolutely positioned; line 99 exists
|
|
229
|
+
in rows spanning to it, e.g. media rows). */
|
|
230
|
+
grid-column: 3 / auto;
|
|
231
|
+
inset-inline: 0 16px;
|
|
232
|
+
|
|
233
|
+
/* Hidden by its row's state (see StyledItem). */
|
|
234
|
+
opacity: var(--uikit-list-separator-opacity, 1);
|
|
235
|
+
transition: opacity 300ms;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* Keeps the trailing parts out of the leading and text columns. */
|
|
239
|
+
&::after {
|
|
240
|
+
content: '';
|
|
241
|
+
grid-area: 1 / 1 / 3 / 4;
|
|
242
|
+
pointer-events: none;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/* Above a pressable title's hit area, as trailing controls */
|
|
246
|
+
& > [data-list-part='edit'] {
|
|
247
|
+
position: relative;
|
|
248
|
+
z-index: 1;
|
|
249
|
+
align-self: center;
|
|
250
|
+
grid-area: 1 / 1 / 3;
|
|
251
|
+
margin-inline: 2px 17px;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
& > [data-list-part='image'] {
|
|
255
|
+
align-self: center;
|
|
256
|
+
grid-area: 1 / 2 / 3;
|
|
257
|
+
margin-inline-end: 8px;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/* Alone, centered across both rows (trailing parts taller than it, e.g. a
|
|
261
|
+
switch, would grow both). */
|
|
262
|
+
& > [data-list-part='title'] {
|
|
263
|
+
align-self: center;
|
|
264
|
+
grid-area: 1 / 3 / 3;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
& > [data-list-part='subtitle'] {
|
|
268
|
+
align-self: start;
|
|
269
|
+
grid-area: 2 / 3;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
& > [data-list-part='button'] {
|
|
273
|
+
grid-area: 1 / 3 / 3;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* Figma “Contents - Trailing”: everything else */
|
|
277
|
+
&
|
|
278
|
+
> :not(
|
|
279
|
+
[data-list-part='edit'],
|
|
280
|
+
[data-list-part='image'],
|
|
281
|
+
[data-list-part='title'],
|
|
282
|
+
[data-list-part='subtitle'],
|
|
283
|
+
[data-list-part='text'],
|
|
284
|
+
[data-list-part='button'],
|
|
285
|
+
[data-list-part='swipe-actions']
|
|
286
|
+
) {
|
|
287
|
+
position: relative;
|
|
288
|
+
z-index: 1;
|
|
289
|
+
align-self: center;
|
|
290
|
+
grid-row: 1 / 3;
|
|
291
|
+
margin-block: -4px;
|
|
292
|
+
margin-inline-start: 16px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/* A row of a single control (no row part, e.g. a Slider): across the
|
|
296
|
+
row's content. */
|
|
297
|
+
&:not(:has(> [data-list-part])) > :only-child {
|
|
298
|
+
z-index: auto;
|
|
299
|
+
margin: 0;
|
|
300
|
+
grid-column: 1 / -1;
|
|
301
|
+
grid-row: 1 / 3;
|
|
302
|
+
justify-self: stretch;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* A calendar (DatePicker, inline) has its own insets: across the row. */
|
|
306
|
+
&:not(:has(> [data-list-part]))
|
|
307
|
+
> [data-date-picker-part='calendar']:only-child {
|
|
308
|
+
margin: -12px -16px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* Trailing controls filling their container elsewhere (e.g. Segmented)
|
|
312
|
+
take their content's width. */
|
|
313
|
+
& > [role='radiogroup'] {
|
|
314
|
+
width: auto;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/* Figma “_Grabber” */
|
|
318
|
+
& > [data-list-part='grabber'] {
|
|
319
|
+
margin-inline-start: 12px;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.uikit-list-track {
|
|
324
|
+
position: relative;
|
|
325
|
+
display: grid;
|
|
326
|
+
width: calc(
|
|
327
|
+
100% + var(--uikit-list-swipe-lead, 0px) +
|
|
328
|
+
var(--uikit-list-swipe-trail, 0px)
|
|
329
|
+
);
|
|
330
|
+
box-sizing: border-box;
|
|
331
|
+
grid-template-columns:
|
|
332
|
+
var(--uikit-list-swipe-lead, 0)
|
|
333
|
+
minmax(0, 1fr)
|
|
334
|
+
var(--uikit-list-swipe-trail, 0);
|
|
335
|
+
|
|
336
|
+
/* Not part of the row's intrinsic width (e.g. a list sized by its
|
|
337
|
+
content): its room cancelled out (without effect on its layout). */
|
|
338
|
+
margin-inline-end: calc(
|
|
339
|
+
-1 *
|
|
340
|
+
(var(--uikit-list-swipe-lead, 0px) + var(--uikit-list-swipe-trail, 0px))
|
|
341
|
+
);
|
|
342
|
+
|
|
343
|
+
& > [data-list-part='row'] {
|
|
344
|
+
grid-area: 1 / 2;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.uikit-list-pin {
|
|
349
|
+
position: sticky;
|
|
350
|
+
z-index: 0;
|
|
351
|
+
width: calc(
|
|
352
|
+
100% - var(--uikit-list-swipe-lead, 0px) -
|
|
353
|
+
var(--uikit-list-swipe-trail, 0px)
|
|
354
|
+
);
|
|
355
|
+
grid-area: 1 / 1 / 2 / 4;
|
|
356
|
+
inset-inline: 0;
|
|
357
|
+
justify-self: start;
|
|
358
|
+
pointer-events: none;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.uikit-list-snap {
|
|
362
|
+
position: absolute;
|
|
363
|
+
top: 0;
|
|
364
|
+
width: 1px;
|
|
365
|
+
height: 1px;
|
|
366
|
+
pointer-events: none;
|
|
367
|
+
scroll-snap-align: start;
|
|
368
|
+
|
|
369
|
+
&[data-closed] {
|
|
370
|
+
scroll-snap-stop: always;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.uikit-list-subtitle {
|
|
375
|
+
min-width: 0;
|
|
376
|
+
margin: 0;
|
|
377
|
+
color: var(--color-ios-secondary-label);
|
|
378
|
+
font-size: var(--font-ios-subheadline-size);
|
|
379
|
+
font-style: normal;
|
|
380
|
+
font-variation-settings: 'wght' var(--font-ios-subheadline-weight);
|
|
381
|
+
font-weight: round(down, var(--font-ios-subheadline-weight), 100);
|
|
382
|
+
letter-spacing: var(--font-ios-subheadline-tracking);
|
|
383
|
+
line-height: var(--font-ios-subheadline-line-height);
|
|
384
|
+
overflow-wrap: break-word;
|
|
385
|
+
pointer-events: none;
|
|
386
|
+
stroke: currentcolor;
|
|
387
|
+
stroke-linejoin: round;
|
|
388
|
+
stroke-width: max(
|
|
389
|
+
0px,
|
|
390
|
+
(var(--font-ios-subheadline-weight) - 400) / 326 * 1px
|
|
391
|
+
);
|
|
392
|
+
|
|
393
|
+
--uikit-symbol-thinning: max(
|
|
394
|
+
0px,
|
|
395
|
+
(400 - var(--font-ios-subheadline-weight)) / 326 * 1px
|
|
396
|
+
);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.uikit-list-text {
|
|
400
|
+
display: -webkit-box;
|
|
401
|
+
overflow: hidden;
|
|
402
|
+
min-width: 0;
|
|
403
|
+
margin: 0;
|
|
404
|
+
-webkit-box-orient: vertical;
|
|
405
|
+
color: var(--color-ios-secondary-label);
|
|
406
|
+
font-size: var(--font-ios-subheadline-size);
|
|
407
|
+
font-style: normal;
|
|
408
|
+
font-variation-settings: 'wght' var(--font-ios-subheadline-weight);
|
|
409
|
+
font-weight: round(down, var(--font-ios-subheadline-weight), 100);
|
|
410
|
+
letter-spacing: var(--font-ios-subheadline-tracking);
|
|
411
|
+
-webkit-line-clamp: attr(lines type(<integer>), 2);
|
|
412
|
+
line-height: var(--font-ios-subheadline-line-height);
|
|
413
|
+
overflow-wrap: break-word;
|
|
414
|
+
pointer-events: none;
|
|
415
|
+
stroke: currentcolor;
|
|
416
|
+
stroke-linejoin: round;
|
|
417
|
+
stroke-width: max(
|
|
418
|
+
0px,
|
|
419
|
+
(var(--font-ios-subheadline-weight) - 400) / 326 * 1px
|
|
420
|
+
);
|
|
421
|
+
|
|
422
|
+
--uikit-symbol-thinning: max(
|
|
423
|
+
0px,
|
|
424
|
+
(400 - var(--font-ios-subheadline-weight)) / 326 * 1px
|
|
425
|
+
);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.uikit-list-supertitle {
|
|
429
|
+
min-width: 0;
|
|
430
|
+
margin: 0;
|
|
431
|
+
color: var(--color-ios-secondary-label);
|
|
432
|
+
font-size: 15px;
|
|
433
|
+
font-variation-settings: 'wght' 400;
|
|
434
|
+
font-weight: round(down, 400, 100);
|
|
435
|
+
letter-spacing: -0.45px;
|
|
436
|
+
line-height: 20px;
|
|
437
|
+
overflow-wrap: break-word;
|
|
438
|
+
stroke: currentcolor;
|
|
439
|
+
stroke-linejoin: round;
|
|
440
|
+
stroke-width: max(0px, (400 - 400) / 326 * 1px);
|
|
441
|
+
|
|
442
|
+
--uikit-symbol-thinning: max(0px, (400 - 400) / 326 * 1px);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.uikit-list-detail {
|
|
446
|
+
color: var(--color-ios-secondary-label);
|
|
447
|
+
font-size: var(--font-ios-body-size);
|
|
448
|
+
font-style: normal;
|
|
449
|
+
font-variation-settings: 'wght' var(--font-ios-body-weight);
|
|
450
|
+
font-weight: round(down, var(--font-ios-body-weight), 100);
|
|
451
|
+
letter-spacing: var(--font-ios-body-tracking);
|
|
452
|
+
line-height: var(--font-ios-body-line-height);
|
|
453
|
+
pointer-events: none;
|
|
454
|
+
stroke: currentcolor;
|
|
455
|
+
stroke-linejoin: round;
|
|
456
|
+
stroke-width: max(0px, (var(--font-ios-body-weight) - 400) / 326 * 1px);
|
|
457
|
+
white-space: nowrap;
|
|
458
|
+
|
|
459
|
+
--uikit-symbol-thinning: max(
|
|
460
|
+
0px,
|
|
461
|
+
(400 - var(--font-ios-body-weight)) / 326 * 1px
|
|
462
|
+
);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.uikit-list-checkmark {
|
|
466
|
+
display: grid;
|
|
467
|
+
min-width: 22px;
|
|
468
|
+
min-height: 22px;
|
|
469
|
+
color: var(--color-ios-label);
|
|
470
|
+
font-size: var(--font-ios-body-size);
|
|
471
|
+
font-variation-settings: 'wght' 590;
|
|
472
|
+
font-weight: round(down, 590, 100);
|
|
473
|
+
place-items: center;
|
|
474
|
+
pointer-events: none;
|
|
475
|
+
stroke: currentcolor;
|
|
476
|
+
stroke-linejoin: round;
|
|
477
|
+
stroke-width: max(0px, (590 - 400) / 326 * 1px);
|
|
478
|
+
|
|
479
|
+
--uikit-symbol-thinning: max(0px, (400 - 590) / 326 * 1px);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.uikit-list-drill-in {
|
|
483
|
+
display: grid;
|
|
484
|
+
min-width: 8px;
|
|
485
|
+
min-height: 22px;
|
|
486
|
+
color: var(--color-ios-tertiary-label);
|
|
487
|
+
font-size: var(--font-ios-body-size);
|
|
488
|
+
font-variation-settings: 'wght' 590;
|
|
489
|
+
font-weight: round(down, 590, 100);
|
|
490
|
+
place-items: center;
|
|
491
|
+
pointer-events: none;
|
|
492
|
+
stroke: currentcolor;
|
|
493
|
+
stroke-linejoin: round;
|
|
494
|
+
stroke-width: max(0px, (590 - 400) / 326 * 1px);
|
|
495
|
+
|
|
496
|
+
--uikit-symbol-thinning: max(0px, (400 - 590) / 326 * 1px);
|
|
497
|
+
|
|
498
|
+
&:dir(rtl) {
|
|
499
|
+
scale: -1 1;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.uikit-list-disclosure {
|
|
504
|
+
--uikit-list-disclosure-turn: 90deg;
|
|
505
|
+
|
|
506
|
+
display: grid;
|
|
507
|
+
min-width: 8px;
|
|
508
|
+
min-height: 22px;
|
|
509
|
+
color: var(--color-ios-primary);
|
|
510
|
+
font-size: var(--font-ios-body-size);
|
|
511
|
+
font-variation-settings: 'wght' 590;
|
|
512
|
+
font-weight: round(down, 590, 100);
|
|
513
|
+
place-items: center;
|
|
514
|
+
pointer-events: none;
|
|
515
|
+
stroke: currentcolor;
|
|
516
|
+
stroke-linejoin: round;
|
|
517
|
+
stroke-width: max(0px, (590 - 400) / 326 * 1px);
|
|
518
|
+
|
|
519
|
+
--uikit-symbol-thinning: max(0px, (400 - 590) / 326 * 1px);
|
|
520
|
+
|
|
521
|
+
&:dir(rtl) {
|
|
522
|
+
--uikit-list-disclosure-turn: -90deg;
|
|
523
|
+
|
|
524
|
+
scale: -1 1;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
& > svg {
|
|
528
|
+
transition: rotate 200ms;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
[data-panel-open] & > svg,
|
|
532
|
+
&[data-panel-open] > svg {
|
|
533
|
+
rotate: var(--uikit-list-disclosure-turn);
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.uikit-list-footer {
|
|
538
|
+
display: block;
|
|
539
|
+
padding: 8px calc(16px + var(--uikit-list-inset, 16px)) 6px;
|
|
540
|
+
color: var(--color-ios-secondary-label);
|
|
541
|
+
font-size: 13px;
|
|
542
|
+
font-variation-settings: 'wght' 400;
|
|
543
|
+
font-weight: round(down, 400, 100);
|
|
544
|
+
line-height: 18px;
|
|
545
|
+
stroke: currentcolor;
|
|
546
|
+
stroke-linejoin: round;
|
|
547
|
+
stroke-width: max(0px, (400 - 400) / 326 * 1px);
|
|
548
|
+
|
|
549
|
+
--uikit-symbol-thinning: max(0px, (400 - 400) / 326 * 1px);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/* An action's reveal (see `StyledSwipeAction`): scaling in, and its parts fading in (see `actionFade`). */
|
|
553
|
+
@keyframes uikit-list-reveal-scale {
|
|
554
|
+
from {
|
|
555
|
+
transform: scale(0);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
to {
|
|
559
|
+
transform: scale(1);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
@keyframes uikit-list-reveal-fade {
|
|
564
|
+
from {
|
|
565
|
+
opacity: 0.36;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
to {
|
|
569
|
+
opacity: 1;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.uikit-list-root {
|
|
574
|
+
display: flow-root;
|
|
575
|
+
min-width: 240px;
|
|
576
|
+
background-color: var(--uikit-list-background);
|
|
577
|
+
color: var(--color-ios-label);
|
|
578
|
+
|
|
579
|
+
/* Its style (listStyle). */
|
|
580
|
+
|
|
581
|
+
/* Figma “Sidebars” (“Sidebar Row”, in a Sidebar's glass): groups
|
|
582
|
+
without a shape of their own (nor a background), their rows capsules,
|
|
583
|
+
44px high (selected: on a fill, its symbol and title emphasized, in the
|
|
584
|
+
tint), without separators; 10px in at the first level, 20px more per
|
|
585
|
+
level, their trailing parts 16px from the end; symbols 34px wide, 4px
|
|
586
|
+
from the title; sections 20px apart, their headers (“Section Header”)
|
|
587
|
+
in Body, in the secondary label color, 12px in. */
|
|
588
|
+
&:where([data-list-style='sidebar']) {
|
|
589
|
+
--uikit-list-selected-background: var(
|
|
590
|
+
--uikit-sidebar-selection,
|
|
591
|
+
rgb(0 0 0 / 7%)
|
|
592
|
+
);
|
|
593
|
+
--uikit-checkbox-select-circle-border: light-dark(
|
|
594
|
+
#bfbfbf,
|
|
595
|
+
rgb(255 255 255 / 30%)
|
|
596
|
+
);
|
|
597
|
+
|
|
598
|
+
@media (prefers-color-scheme: dark) {
|
|
599
|
+
--uikit-list-selected-background: var(
|
|
600
|
+
--uikit-sidebar-selection,
|
|
601
|
+
rgb(255 255 255 / 12%)
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
&:where(:root[data-color-scheme='light'] *) {
|
|
606
|
+
--uikit-list-selected-background: var(
|
|
607
|
+
--uikit-sidebar-selection,
|
|
608
|
+
rgb(0 0 0 / 7%)
|
|
609
|
+
);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
&:where(:root[data-color-scheme='dark'] *) {
|
|
613
|
+
--uikit-list-selected-background: var(
|
|
614
|
+
--uikit-sidebar-selection,
|
|
615
|
+
rgb(255 255 255 / 12%)
|
|
616
|
+
);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
--uikit-list-background: transparent;
|
|
620
|
+
--uikit-list-group-background: transparent;
|
|
621
|
+
--uikit-list-inset: 0px;
|
|
622
|
+
--uikit-list-radius: 0px;
|
|
623
|
+
--uikit-list-item-radius: 100px;
|
|
624
|
+
--uikit-list-section-spacing: 20px;
|
|
625
|
+
--uikit-list-outline-shadow: none;
|
|
626
|
+
--uikit-list-separator-opacity: 0;
|
|
627
|
+
--uikit-list-row-min-height: 44px;
|
|
628
|
+
--uikit-list-row-padding: 0 16px;
|
|
629
|
+
--uikit-list-row-padding-start: 10px;
|
|
630
|
+
--uikit-list-selected-title: var(--color-ios-primary);
|
|
631
|
+
|
|
632
|
+
/* Pressed: on the selection's fill too (user: Figma's pressed rows are
|
|
633
|
+
wrong; selected and pressed differ in their text only; the
|
|
634
|
+
sidebar's toolbar buttons pressed alike, see Sidebar). */
|
|
635
|
+
--uikit-list-pressed-background: var(--uikit-list-selected-background);
|
|
636
|
+
|
|
637
|
+
min-width: 0;
|
|
638
|
+
|
|
639
|
+
&
|
|
640
|
+
[data-list-part='row']
|
|
641
|
+
> [data-list-part='image'][data-variant='symbol'] {
|
|
642
|
+
width: 34px;
|
|
643
|
+
color: var(--color-ios-label);
|
|
644
|
+
margin-inline-end: 4px;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
& [data-selected] [data-list-part='row'] > [data-list-part='title'] {
|
|
648
|
+
color: var(--color-ios-primary);
|
|
649
|
+
font-variation-settings: 'wght' 590;
|
|
650
|
+
font-weight: round(down, 590, 100);
|
|
651
|
+
stroke: currentcolor;
|
|
652
|
+
stroke-linejoin: round;
|
|
653
|
+
stroke-width: max(0px, (590 - 400) / 326 * 1px);
|
|
654
|
+
|
|
655
|
+
--uikit-symbol-thinning: max(0px, (400 - 590) / 326 * 1px);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
& [data-selected] [data-list-part='row'] > [data-list-part='image'] {
|
|
659
|
+
color: var(--color-ios-primary);
|
|
660
|
+
font-variation-settings: 'wght' 590;
|
|
661
|
+
font-weight: round(down, 590, 100);
|
|
662
|
+
stroke: currentcolor;
|
|
663
|
+
stroke-linejoin: round;
|
|
664
|
+
stroke-width: max(0px, (590 - 400) / 326 * 1px);
|
|
665
|
+
|
|
666
|
+
--uikit-symbol-thinning: max(0px, (400 - 590) / 326 * 1px);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
& [data-list-part='header'] {
|
|
670
|
+
min-height: 44px;
|
|
671
|
+
align-items: center;
|
|
672
|
+
padding: 2px 12px 10px;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
& [data-list-part='header'] > [data-list-part='title'] {
|
|
676
|
+
color: var(--color-ios-secondary-label);
|
|
677
|
+
font-size: var(--font-ios-body-size);
|
|
678
|
+
font-style: normal;
|
|
679
|
+
font-variation-settings: 'wght' 400;
|
|
680
|
+
font-weight: round(down, 400, 100);
|
|
681
|
+
letter-spacing: var(--font-ios-body-tracking);
|
|
682
|
+
line-height: var(--font-ios-body-line-height);
|
|
683
|
+
stroke: currentcolor;
|
|
684
|
+
stroke-linejoin: round;
|
|
685
|
+
stroke-width: max(0px, (400 - 400) / 326 * 1px);
|
|
686
|
+
|
|
687
|
+
--uikit-symbol-thinning: max(0px, (400 - 400) / 326 * 1px);
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/* Its selection circles (Figma “Edit Button”): 8px before the symbol. */
|
|
691
|
+
& [data-list-part='row'] > [data-list-part='edit'] {
|
|
692
|
+
margin-inline: 0 8px;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/* Chevrons (Figma “Disclosure”: #999, 590, an 18px box 12px from the
|
|
696
|
+
row's end): gray, not the tint; headers' and rows' alike, aligned. */
|
|
697
|
+
& [data-list-part='disclosure'] {
|
|
698
|
+
color: var(--color-ios-secondary-label);
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
& [data-list-part='header'] > [data-list-part='disclosure'] {
|
|
702
|
+
min-width: 18px;
|
|
703
|
+
font-size: var(--font-ios-body-size);
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
&
|
|
707
|
+
[data-list-part='row']
|
|
708
|
+
> [data-list-part='accessory']:has(> [data-list-part='disclosure']) {
|
|
709
|
+
min-width: 18px;
|
|
710
|
+
margin-inline-end: -4px;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
&:where([data-list-style='grouped']) {
|
|
715
|
+
--uikit-list-background: var(
|
|
716
|
+
--uikit-list-container-background,
|
|
717
|
+
var(--color-ios-system-grouped-background)
|
|
718
|
+
);
|
|
719
|
+
--uikit-list-group-background: var(
|
|
720
|
+
--uikit-list-container-group-background,
|
|
721
|
+
var(--color-ios-secondary-system-grouped-background)
|
|
722
|
+
);
|
|
723
|
+
--uikit-list-inset: 0px;
|
|
724
|
+
--uikit-list-radius: 0px;
|
|
725
|
+
--uikit-list-section-spacing: 35px;
|
|
726
|
+
--uikit-list-outline-shadow:
|
|
727
|
+
inset 0 1px var(--uikit-list-outline, transparent),
|
|
728
|
+
inset 0 -1px var(--uikit-list-outline, transparent);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
&:where(:not([data-list-style]), [data-list-style='insetGrouped']) {
|
|
732
|
+
--uikit-list-background: var(
|
|
733
|
+
--uikit-list-container-background,
|
|
734
|
+
var(--color-ios-system-grouped-background)
|
|
735
|
+
);
|
|
736
|
+
--uikit-list-group-background: var(
|
|
737
|
+
--uikit-list-container-group-background,
|
|
738
|
+
var(--color-ios-secondary-system-grouped-background)
|
|
739
|
+
);
|
|
740
|
+
--uikit-list-inset: 16px;
|
|
741
|
+
--uikit-list-radius: 24px;
|
|
742
|
+
--uikit-list-section-spacing: 35px;
|
|
743
|
+
--uikit-list-outline-shadow: inset 0 0 0 1px
|
|
744
|
+
var(--uikit-list-outline, transparent);
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/* Figma “Section Title”: nested headers stick to the top, 22px high on an
|
|
748
|
+
opaque background (Framework7 contacts list), and sections are snap points, so
|
|
749
|
+
scrolling ends with a section title fully in view. Rows are on the list
|
|
750
|
+
background of Framework7's .list-strong. */
|
|
751
|
+
&:where([data-list-style='plain']) {
|
|
752
|
+
--uikit-list-background: var(
|
|
753
|
+
--uikit-list-container-background,
|
|
754
|
+
var(--color-ios-system-background)
|
|
755
|
+
);
|
|
756
|
+
--uikit-list-group-background: var(
|
|
757
|
+
--uikit-list-container-group-background,
|
|
758
|
+
var(--color-ios-secondary-system-grouped-background)
|
|
759
|
+
);
|
|
760
|
+
--uikit-list-section-snap: start;
|
|
761
|
+
--uikit-list-inset: 0px;
|
|
762
|
+
--uikit-list-radius: 0px;
|
|
763
|
+
--uikit-list-section-spacing: 0px;
|
|
764
|
+
--uikit-list-outline-shadow:
|
|
765
|
+
inset 0 1px var(--uikit-list-outline, transparent),
|
|
766
|
+
inset 0 -1px var(--uikit-list-outline, transparent);
|
|
767
|
+
--uikit-list-header-position: sticky;
|
|
768
|
+
--uikit-list-header-background: var(
|
|
769
|
+
--color-ios-list-section-title-background
|
|
770
|
+
);
|
|
771
|
+
--uikit-list-nested-padding-block: 0;
|
|
772
|
+
--uikit-list-nested-min-height: 22px;
|
|
773
|
+
--uikit-list-nested-size: var(--font-ios-body-size);
|
|
774
|
+
--uikit-list-nested-line-height: var(--font-ios-body-line-height);
|
|
775
|
+
--uikit-list-nested-tracking: var(--font-ios-body-tracking);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
/* Outlined (Framework7 `.list-outline`): hairlines above and below
|
|
779
|
+
groups that span the list, a border around inset ones; drawn as
|
|
780
|
+
shadows, taking no space. */
|
|
781
|
+
&:where([data-outline]) {
|
|
782
|
+
--uikit-list-outline: var(--color-ios-list-separator);
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.uikit-list-item {
|
|
787
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), auto);
|
|
788
|
+
|
|
789
|
+
@media (hover: hover) {
|
|
790
|
+
cursor: var(--uikit-utils-cursor);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/* With a click handler (see Item). */
|
|
794
|
+
&[data-clickable] {
|
|
795
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), pointer);
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
position: relative;
|
|
799
|
+
display: block;
|
|
800
|
+
border-radius: var(--uikit-list-item-radius, 0);
|
|
801
|
+
background-color: var(--uikit-list-row-background, transparent);
|
|
802
|
+
|
|
803
|
+
/* The pressed state is the row's (a title's hit area covers it). */
|
|
804
|
+
-webkit-tap-highlight-color: transparent;
|
|
805
|
+
touch-action: pan-y;
|
|
806
|
+
transition-duration: 300ms;
|
|
807
|
+
transition-property: background-color;
|
|
808
|
+
user-select: none;
|
|
809
|
+
|
|
810
|
+
&[data-swipeable] {
|
|
811
|
+
overflow: auto hidden;
|
|
812
|
+
overscroll-behavior-x: contain;
|
|
813
|
+
scroll-snap-type: x mandatory;
|
|
814
|
+
scrollbar-width: none;
|
|
815
|
+
touch-action: pan-x pan-y;
|
|
816
|
+
|
|
817
|
+
&::-webkit-scrollbar {
|
|
818
|
+
display: none;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/* Lifted while reordered (see useReorder), opaque (Framework7: 80%, the
|
|
823
|
+
rows beneath showing through), its separators hidden */
|
|
824
|
+
&[data-reordering] {
|
|
825
|
+
z-index: 2;
|
|
826
|
+
background-color: var(
|
|
827
|
+
--uikit-list-group-background,
|
|
828
|
+
var(--color-ios-secondary-system-grouped-background)
|
|
829
|
+
);
|
|
830
|
+
box-shadow: var(--shadow-ios-list-reorder);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
&[data-reordering],
|
|
834
|
+
&[data-reorder-edge~='after'] {
|
|
835
|
+
--uikit-list-separator-opacity: 0;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
/* While reordering, by their order on screen (see useReorder) */
|
|
839
|
+
&:first-child:not([data-reorder-edge]),
|
|
840
|
+
&[data-reorder-edge~='first'] {
|
|
841
|
+
border-start-end-radius: var(
|
|
842
|
+
--uikit-list-item-radius,
|
|
843
|
+
var(--uikit-list-radius, 24px)
|
|
844
|
+
);
|
|
845
|
+
border-start-start-radius: var(
|
|
846
|
+
--uikit-list-item-radius,
|
|
847
|
+
var(--uikit-list-radius, 24px)
|
|
848
|
+
);
|
|
849
|
+
|
|
850
|
+
--uikit-list-separator-opacity: 0;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
&:last-child:not([data-reorder-edge]),
|
|
854
|
+
&[data-reorder-edge~='last'] {
|
|
855
|
+
border-end-end-radius: var(
|
|
856
|
+
--uikit-list-item-radius,
|
|
857
|
+
var(--uikit-list-radius, 24px)
|
|
858
|
+
);
|
|
859
|
+
border-end-start-radius: var(
|
|
860
|
+
--uikit-list-item-radius,
|
|
861
|
+
var(--uikit-list-radius, 24px)
|
|
862
|
+
);
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
/* Pressed: a pressable title or button (a link or button title, or a
|
|
866
|
+
button), or a row with a click handler, pressed itself (see Item). */
|
|
867
|
+
&:has(> * > * > a[href][data-list-part='title']:active),
|
|
868
|
+
&:has(> * > * > button[data-list-part='title']:enabled:active),
|
|
869
|
+
&:has(> * > * > button[data-list-part='button']:enabled:active),
|
|
870
|
+
&[data-pressed] {
|
|
871
|
+
--uikit-list-row-background: var(
|
|
872
|
+
--uikit-list-pressed-background,
|
|
873
|
+
var(--color-ios-system-gray4)
|
|
874
|
+
);
|
|
875
|
+
|
|
876
|
+
transition-duration: 0ms;
|
|
877
|
+
|
|
878
|
+
&,
|
|
879
|
+
& + * {
|
|
880
|
+
--uikit-list-separator-opacity: 0;
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
&:has(> * > * > a[href][data-list-part='title']:focus-visible),
|
|
885
|
+
&:has(> * > * > button[data-list-part='title']:enabled:focus-visible),
|
|
886
|
+
&:has(> * > * > button[data-list-part='button']:enabled:focus-visible) {
|
|
887
|
+
outline: 2px solid var(--color-ios-primary);
|
|
888
|
+
outline-offset: -2px;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
&[data-swipe],
|
|
892
|
+
&[data-swipe] + * {
|
|
893
|
+
--uikit-list-separator-opacity: 0;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/* Figma “Row with Swipe Actions”: the swiped row's content is a capsule
|
|
897
|
+
(its end leaving the row rounded by its clip, see rowPath); its actions
|
|
898
|
+
on the row's background. */
|
|
899
|
+
&[data-swipe] > * > [data-list-part='row'] {
|
|
900
|
+
border-radius: 34px;
|
|
901
|
+
background-color: var(--color-ios-system-gray5);
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/* Selected (see Item): on a fill (sidebars: its title in the tint), its
|
|
905
|
+
separators hidden. */
|
|
906
|
+
&[data-selected] {
|
|
907
|
+
--uikit-list-row-background: var(
|
|
908
|
+
--uikit-list-selected-background,
|
|
909
|
+
var(--color-ios-system-gray5)
|
|
910
|
+
);
|
|
911
|
+
--uikit-list-separator-opacity: 0;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
&[data-selected] + * {
|
|
915
|
+
--uikit-list-separator-opacity: 0;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
&[data-selected] [data-list-part='title'] {
|
|
919
|
+
color: var(--uikit-list-selected-title, inherit);
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
/* An expandable row, closed (see Expandable): no height, nor separator. */
|
|
923
|
+
&[data-closed] {
|
|
924
|
+
overflow: hidden;
|
|
925
|
+
height: 0;
|
|
926
|
+
min-height: 0;
|
|
927
|
+
visibility: hidden;
|
|
928
|
+
|
|
929
|
+
--uikit-list-separator-opacity: 0;
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.uikit-list-title {
|
|
934
|
+
min-width: 0;
|
|
935
|
+
padding: 0;
|
|
936
|
+
border: 0;
|
|
937
|
+
margin: 0;
|
|
938
|
+
background: none;
|
|
939
|
+
color: inherit;
|
|
940
|
+
font-family: inherit;
|
|
941
|
+
font-size: var(--font-ios-body-size);
|
|
942
|
+
font-style: normal;
|
|
943
|
+
font-variation-settings: 'wght' var(--font-ios-body-weight);
|
|
944
|
+
font-weight: round(down, var(--font-ios-body-weight), 100);
|
|
945
|
+
letter-spacing: var(--font-ios-body-tracking);
|
|
946
|
+
line-height: var(--font-ios-body-line-height);
|
|
947
|
+
overflow-wrap: break-word;
|
|
948
|
+
stroke: currentcolor;
|
|
949
|
+
stroke-linejoin: round;
|
|
950
|
+
stroke-width: max(0px, (var(--font-ios-body-weight) - 400) / 326 * 1px);
|
|
951
|
+
text-align: inherit;
|
|
952
|
+
text-decoration: none;
|
|
953
|
+
|
|
954
|
+
--uikit-symbol-thinning: max(
|
|
955
|
+
0px,
|
|
956
|
+
(400 - var(--font-ios-body-weight)) / 326 * 1px
|
|
957
|
+
);
|
|
958
|
+
|
|
959
|
+
a&,
|
|
960
|
+
button&,
|
|
961
|
+
label& {
|
|
962
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), pointer);
|
|
963
|
+
|
|
964
|
+
@media (hover: hover) {
|
|
965
|
+
cursor: var(--uikit-utils-cursor);
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
&::after {
|
|
969
|
+
position: absolute;
|
|
970
|
+
content: '';
|
|
971
|
+
inset: 0;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
&:disabled {
|
|
976
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), not-allowed);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
&:focus-visible {
|
|
980
|
+
outline: none;
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.uikit-list-image {
|
|
985
|
+
display: grid;
|
|
986
|
+
overflow: hidden;
|
|
987
|
+
box-sizing: border-box;
|
|
988
|
+
font-variation-settings: 'wght' 400;
|
|
989
|
+
font-weight: round(down, 400, 100);
|
|
990
|
+
place-items: center;
|
|
991
|
+
pointer-events: none;
|
|
992
|
+
stroke: currentcolor;
|
|
993
|
+
stroke-linejoin: round;
|
|
994
|
+
stroke-width: max(0px, (400 - 400) / 326 * 1px);
|
|
995
|
+
|
|
996
|
+
--uikit-symbol-thinning: max(0px, (400 - 400) / 326 * 1px);
|
|
997
|
+
|
|
998
|
+
&:where([data-variant='circular']) {
|
|
999
|
+
width: 42px;
|
|
1000
|
+
height: 42px;
|
|
1001
|
+
border-radius: 50%;
|
|
1002
|
+
background-color: var(--color-ios-tertiary-system-fill);
|
|
1003
|
+
color: var(--color-ios-secondary-label);
|
|
1004
|
+
font-size: 21px;
|
|
1005
|
+
margin-block: -12px;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
&:where([data-variant='fill']) {
|
|
1009
|
+
width: 52px;
|
|
1010
|
+
height: 52px;
|
|
1011
|
+
background-color: var(--color-ios-tertiary-system-fill);
|
|
1012
|
+
color: var(--color-ios-secondary-label);
|
|
1013
|
+
font-size: 21px;
|
|
1014
|
+
margin-block: -12px;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
&:where([data-variant='rounded']) {
|
|
1018
|
+
width: 30px;
|
|
1019
|
+
height: 30px;
|
|
1020
|
+
border-radius: 7px;
|
|
1021
|
+
background-color: var(--color-ios-primary);
|
|
1022
|
+
color: #fff;
|
|
1023
|
+
font-size: 17px;
|
|
1024
|
+
margin-block: -12px;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
&:where(:not([data-variant]), [data-variant='symbol']) {
|
|
1028
|
+
width: 28px;
|
|
1029
|
+
min-height: 20px;
|
|
1030
|
+
color: var(--color-ios-primary);
|
|
1031
|
+
font-size: var(--font-ios-body-size);
|
|
1032
|
+
line-height: 20px;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
& > :is(img, video, canvas) {
|
|
1036
|
+
width: 100%;
|
|
1037
|
+
height: 100%;
|
|
1038
|
+
object-fit: cover;
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
.uikit-list-accessory {
|
|
1043
|
+
display: grid;
|
|
1044
|
+
min-width: 22px;
|
|
1045
|
+
min-height: 22px;
|
|
1046
|
+
padding: 0;
|
|
1047
|
+
border: 0;
|
|
1048
|
+
margin: 0;
|
|
1049
|
+
background: none;
|
|
1050
|
+
color: var(--color-ios-primary);
|
|
1051
|
+
font-family: inherit;
|
|
1052
|
+
font-size: var(--font-ios-body-size);
|
|
1053
|
+
font-variation-settings: 'wght' 400;
|
|
1054
|
+
font-weight: round(down, 400, 100);
|
|
1055
|
+
line-height: var(--font-ios-body-line-height);
|
|
1056
|
+
place-items: center;
|
|
1057
|
+
stroke: currentcolor;
|
|
1058
|
+
stroke-linejoin: round;
|
|
1059
|
+
stroke-width: max(0px, (400 - 400) / 326 * 1px);
|
|
1060
|
+
text-align: inherit;
|
|
1061
|
+
text-decoration: none;
|
|
1062
|
+
|
|
1063
|
+
--uikit-symbol-thinning: max(0px, (400 - 400) / 326 * 1px);
|
|
1064
|
+
|
|
1065
|
+
&:is(a, button) {
|
|
1066
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), pointer);
|
|
1067
|
+
|
|
1068
|
+
@media (hover: hover) {
|
|
1069
|
+
cursor: var(--uikit-utils-cursor);
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
&:not(a, button) {
|
|
1074
|
+
pointer-events: none;
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
.uikit-list-grabber {
|
|
1079
|
+
display: grid;
|
|
1080
|
+
min-width: 22px;
|
|
1081
|
+
min-height: 25px;
|
|
1082
|
+
color: var(--color-ios-tertiary-label);
|
|
1083
|
+
font-size: var(--font-ios-body-size);
|
|
1084
|
+
font-variation-settings: 'wght' 400;
|
|
1085
|
+
font-weight: round(down, 400, 100);
|
|
1086
|
+
place-items: center;
|
|
1087
|
+
stroke: currentcolor;
|
|
1088
|
+
stroke-linejoin: round;
|
|
1089
|
+
stroke-width: max(0px, (400 - 400) / 326 * 1px);
|
|
1090
|
+
touch-action: none;
|
|
1091
|
+
|
|
1092
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), grab);
|
|
1093
|
+
|
|
1094
|
+
@media (hover: hover) {
|
|
1095
|
+
cursor: var(--uikit-utils-cursor);
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
--uikit-symbol-thinning: max(0px, (400 - 400) / 326 * 1px);
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
.uikit-list-action {
|
|
1102
|
+
padding: 0;
|
|
1103
|
+
border: 0;
|
|
1104
|
+
margin: 0;
|
|
1105
|
+
background: none;
|
|
1106
|
+
color: var(--color-ios-primary);
|
|
1107
|
+
font-family: inherit;
|
|
1108
|
+
font-size: var(--font-ios-body-size);
|
|
1109
|
+
font-style: normal;
|
|
1110
|
+
font-variation-settings: 'wght' var(--font-ios-body-weight);
|
|
1111
|
+
font-weight: round(down, var(--font-ios-body-weight), 100);
|
|
1112
|
+
letter-spacing: var(--font-ios-body-tracking);
|
|
1113
|
+
line-height: var(--font-ios-body-line-height);
|
|
1114
|
+
stroke: currentcolor;
|
|
1115
|
+
stroke-linejoin: round;
|
|
1116
|
+
stroke-width: max(0px, (var(--font-ios-body-weight) - 400) / 326 * 1px);
|
|
1117
|
+
text-align: inherit;
|
|
1118
|
+
text-decoration: none;
|
|
1119
|
+
white-space: nowrap;
|
|
1120
|
+
|
|
1121
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), pointer);
|
|
1122
|
+
|
|
1123
|
+
@media (hover: hover) {
|
|
1124
|
+
cursor: var(--uikit-utils-cursor);
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
--uikit-symbol-thinning: max(
|
|
1128
|
+
0px,
|
|
1129
|
+
(400 - var(--font-ios-body-weight)) / 326 * 1px
|
|
1130
|
+
);
|
|
1131
|
+
|
|
1132
|
+
&:disabled {
|
|
1133
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), not-allowed);
|
|
1134
|
+
|
|
1135
|
+
color: var(--color-ios-system-gray2);
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
.uikit-list-button {
|
|
1140
|
+
min-width: 0;
|
|
1141
|
+
padding: 0;
|
|
1142
|
+
border: 0;
|
|
1143
|
+
margin: 0;
|
|
1144
|
+
background: none;
|
|
1145
|
+
color: var(--color-ios-primary);
|
|
1146
|
+
font-family: inherit;
|
|
1147
|
+
font-size: var(--font-ios-body-size);
|
|
1148
|
+
font-style: normal;
|
|
1149
|
+
font-variation-settings: 'wght' var(--font-ios-body-weight);
|
|
1150
|
+
font-weight: round(down, var(--font-ios-body-weight), 100);
|
|
1151
|
+
letter-spacing: var(--font-ios-body-tracking);
|
|
1152
|
+
line-height: var(--font-ios-body-line-height);
|
|
1153
|
+
overflow-wrap: break-word;
|
|
1154
|
+
stroke: currentcolor;
|
|
1155
|
+
stroke-linejoin: round;
|
|
1156
|
+
stroke-width: max(0px, (var(--font-ios-body-weight) - 400) / 326 * 1px);
|
|
1157
|
+
text-align: start;
|
|
1158
|
+
text-decoration: none;
|
|
1159
|
+
|
|
1160
|
+
--uikit-symbol-thinning: max(
|
|
1161
|
+
0px,
|
|
1162
|
+
(400 - var(--font-ios-body-weight)) / 326 * 1px
|
|
1163
|
+
);
|
|
1164
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), pointer);
|
|
1165
|
+
|
|
1166
|
+
@media (hover: hover) {
|
|
1167
|
+
cursor: var(--uikit-utils-cursor);
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
&::after {
|
|
1171
|
+
position: absolute;
|
|
1172
|
+
content: '';
|
|
1173
|
+
inset: 0;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
&:where([data-destructive]) {
|
|
1177
|
+
color: var(--color-ios-system-red);
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
&:disabled {
|
|
1181
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), not-allowed);
|
|
1182
|
+
|
|
1183
|
+
color: var(--color-ios-system-gray2);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
&:focus-visible {
|
|
1187
|
+
outline: none;
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.uikit-list-edit-button {
|
|
1192
|
+
padding: 0;
|
|
1193
|
+
border: 0;
|
|
1194
|
+
margin: 0;
|
|
1195
|
+
background: none;
|
|
1196
|
+
background-color: var(--color-ios-system-red);
|
|
1197
|
+
color: #fff;
|
|
1198
|
+
font-family: inherit;
|
|
1199
|
+
text-align: inherit;
|
|
1200
|
+
text-decoration: none;
|
|
1201
|
+
|
|
1202
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), pointer);
|
|
1203
|
+
|
|
1204
|
+
@media (hover: hover) {
|
|
1205
|
+
cursor: var(--uikit-utils-cursor);
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
&:where([data-editing-style='insert']) {
|
|
1209
|
+
background-color: var(--color-ios-system-green);
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
&:disabled {
|
|
1213
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), not-allowed);
|
|
1214
|
+
|
|
1215
|
+
opacity: 0.5;
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
.uikit-list-swipe-actions {
|
|
1220
|
+
position: absolute;
|
|
1221
|
+
z-index: 1;
|
|
1222
|
+
top: 0;
|
|
1223
|
+
bottom: 0;
|
|
1224
|
+
display: flex;
|
|
1225
|
+
box-sizing: border-box;
|
|
1226
|
+
align-items: center;
|
|
1227
|
+
gap: 10px;
|
|
1228
|
+
padding-block: 4px;
|
|
1229
|
+
pointer-events: none;
|
|
1230
|
+
|
|
1231
|
+
&:where([data-side='inline-start']) {
|
|
1232
|
+
inset-inline-start: 0;
|
|
1233
|
+
padding-inline: 16px 10px;
|
|
1234
|
+
|
|
1235
|
+
& > * > [data-list-part='swipe-action-shape'] {
|
|
1236
|
+
justify-content: flex-end;
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
&:where(:not([data-side]), [data-side='inline-end']) {
|
|
1241
|
+
inset-inline-end: 0;
|
|
1242
|
+
padding-inline: 10px 16px;
|
|
1243
|
+
|
|
1244
|
+
& > * > [data-list-part='swipe-action-shape'] {
|
|
1245
|
+
justify-content: flex-start;
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
& > * {
|
|
1250
|
+
pointer-events: auto;
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
.uikit-list-swipe-action {
|
|
1255
|
+
/* Its label: 4px below the shape, 16px high */
|
|
1256
|
+
--uikit-list-action-label-space: 0px;
|
|
1257
|
+
--uikit-list-action-label-display: none;
|
|
1258
|
+
|
|
1259
|
+
position: relative;
|
|
1260
|
+
display: flex;
|
|
1261
|
+
height: var(--uikit-list-action-height, 44px);
|
|
1262
|
+
box-sizing: border-box;
|
|
1263
|
+
flex-direction: column;
|
|
1264
|
+
align-items: center;
|
|
1265
|
+
padding: 0;
|
|
1266
|
+
border: 0;
|
|
1267
|
+
margin: 0;
|
|
1268
|
+
|
|
1269
|
+
/* Scaling in with the row's scroll as it uncovers it (natively: see
|
|
1270
|
+
revealRanges). Without a scroll timeline (not swipeable yet), hidden. */
|
|
1271
|
+
animation: uikit-list-reveal-scale linear both;
|
|
1272
|
+
animation-direction: var(--uikit-list-action-reveal-direction, normal);
|
|
1273
|
+
animation-range: var(--uikit-list-action-reveal-from, 0)
|
|
1274
|
+
var(--uikit-list-action-reveal-to, 0);
|
|
1275
|
+
animation-timeline: scroll(nearest inline);
|
|
1276
|
+
background: none;
|
|
1277
|
+
color: var(--uikit-list-action-text-color, #fff);
|
|
1278
|
+
font-family: inherit;
|
|
1279
|
+
padding-block-end: var(--uikit-list-action-label-space, 0);
|
|
1280
|
+
text-align: inherit;
|
|
1281
|
+
text-decoration: none;
|
|
1282
|
+
transform: scale(0);
|
|
1283
|
+
|
|
1284
|
+
&:where([data-show-label]) {
|
|
1285
|
+
--uikit-list-action-label-space: 20px;
|
|
1286
|
+
--uikit-list-action-label-display: block;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
&:where(:not([data-shape]), [data-shape='circle']) {
|
|
1290
|
+
--uikit-list-action-min-width: 44px;
|
|
1291
|
+
--uikit-list-action-height: calc(
|
|
1292
|
+
44px + var(--uikit-list-action-label-space)
|
|
1293
|
+
);
|
|
1294
|
+
--uikit-list-action-shape-height: 44px;
|
|
1295
|
+
--uikit-list-action-shape-grow: 0;
|
|
1296
|
+
--uikit-list-action-radius: 100px;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
&:where([data-shape='roundedRectangle']) {
|
|
1300
|
+
--uikit-list-action-min-width: 60px;
|
|
1301
|
+
--uikit-list-action-height: auto;
|
|
1302
|
+
--uikit-list-action-shape-height: auto;
|
|
1303
|
+
--uikit-list-action-shape-grow: 1;
|
|
1304
|
+
--uikit-list-action-radius: 12px;
|
|
1305
|
+
|
|
1306
|
+
align-self: stretch;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), pointer);
|
|
1310
|
+
|
|
1311
|
+
@media (hover: hover) {
|
|
1312
|
+
cursor: var(--uikit-utils-cursor);
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
&:disabled {
|
|
1316
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), not-allowed);
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/* The shape: its fill beneath, sized by the symbol (or text), stretched
|
|
1320
|
+
from the edge's side (see stretchAction). */
|
|
1321
|
+
& > [data-list-part='swipe-action-shape'] {
|
|
1322
|
+
position: relative;
|
|
1323
|
+
display: flex;
|
|
1324
|
+
min-width: var(--uikit-list-action-min-width, 44px);
|
|
1325
|
+
height: var(--uikit-list-action-shape-height, 44px);
|
|
1326
|
+
box-sizing: border-box;
|
|
1327
|
+
flex-grow: var(--uikit-list-action-shape-grow, 0);
|
|
1328
|
+
border-radius: var(--uikit-list-action-radius, 100px);
|
|
1329
|
+
|
|
1330
|
+
&::before {
|
|
1331
|
+
position: absolute;
|
|
1332
|
+
border-radius: inherit;
|
|
1333
|
+
|
|
1334
|
+
/* Faded in as the row uncovers the action, and, overswiping, until the
|
|
1335
|
+
outermost action is armed (see placeRow). */
|
|
1336
|
+
|
|
1337
|
+
animation: uikit-list-reveal-fade linear both;
|
|
1338
|
+
animation-direction: var(--uikit-list-action-reveal-direction, normal);
|
|
1339
|
+
animation-range: var(--uikit-list-action-reveal-from, 0)
|
|
1340
|
+
var(--uikit-list-action-reveal-to, 0);
|
|
1341
|
+
animation-timeline: scroll(nearest inline);
|
|
1342
|
+
background-color: var(
|
|
1343
|
+
--uikit-list-action-tint,
|
|
1344
|
+
var(--color-ios-system-gray)
|
|
1345
|
+
);
|
|
1346
|
+
content: '';
|
|
1347
|
+
filter: opacity(var(--uikit-list-action-arming, 1));
|
|
1348
|
+
inset: 0;
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/* The symbol's box: the shape's width (centered in it, also stretched,
|
|
1353
|
+
following without delay), at the row's end of it (see SwipeActions).
|
|
1354
|
+
Text (instead of a symbol) is in capitals. */
|
|
1355
|
+
& > * > [data-list-part='swipe-action-symbol'] {
|
|
1356
|
+
position: relative;
|
|
1357
|
+
display: grid;
|
|
1358
|
+
width: 100%;
|
|
1359
|
+
box-sizing: border-box;
|
|
1360
|
+
flex: none;
|
|
1361
|
+
|
|
1362
|
+
/* Faded in as the row uncovers the action, and, overswiping, until the
|
|
1363
|
+
outermost action is armed (see placeRow). */
|
|
1364
|
+
|
|
1365
|
+
animation: uikit-list-reveal-fade linear both;
|
|
1366
|
+
animation-direction: var(--uikit-list-action-reveal-direction, normal);
|
|
1367
|
+
animation-range: var(--uikit-list-action-reveal-from, 0)
|
|
1368
|
+
var(--uikit-list-action-reveal-to, 0);
|
|
1369
|
+
animation-timeline: scroll(nearest inline);
|
|
1370
|
+
filter: opacity(var(--uikit-list-action-arming, 1));
|
|
1371
|
+
font-size: 15px;
|
|
1372
|
+
font-variation-settings: 'wght' 400;
|
|
1373
|
+
font-weight: round(down, 400, 100);
|
|
1374
|
+
letter-spacing: -0.23px;
|
|
1375
|
+
line-height: 20px;
|
|
1376
|
+
padding-inline: 10px;
|
|
1377
|
+
place-items: center;
|
|
1378
|
+
stroke: currentcolor;
|
|
1379
|
+
stroke-linejoin: round;
|
|
1380
|
+
stroke-width: max(0px, (400 - 400) / 326 * 1px);
|
|
1381
|
+
text-transform: uppercase;
|
|
1382
|
+
transition: width 150ms;
|
|
1383
|
+
white-space: nowrap;
|
|
1384
|
+
|
|
1385
|
+
--uikit-symbol-thinning: max(0px, (400 - 400) / 326 * 1px);
|
|
1386
|
+
|
|
1387
|
+
& > svg {
|
|
1388
|
+
font-size: var(--font-ios-body-size);
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
/* Armed (overswiped far enough to trigger on release): the symbol at the
|
|
1393
|
+
row's end of the stretched shape, without its label. */
|
|
1394
|
+
&[data-armed] {
|
|
1395
|
+
& > * > [data-list-part='swipe-action-symbol'] {
|
|
1396
|
+
width: var(--uikit-list-action-width, 44px);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
& > [data-list-part='swipe-action-label'] {
|
|
1400
|
+
filter: opacity(0);
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
& > [data-list-part='swipe-action-label'] {
|
|
1405
|
+
position: absolute;
|
|
1406
|
+
bottom: 0;
|
|
1407
|
+
display: var(--uikit-list-action-label-display, none);
|
|
1408
|
+
|
|
1409
|
+
/* Faded in as the row uncovers the action, and, overswiping, until the
|
|
1410
|
+
outermost action is armed (see placeRow). */
|
|
1411
|
+
|
|
1412
|
+
animation: uikit-list-reveal-fade linear both;
|
|
1413
|
+
animation-direction: var(--uikit-list-action-reveal-direction, normal);
|
|
1414
|
+
animation-range: var(--uikit-list-action-reveal-from, 0)
|
|
1415
|
+
var(--uikit-list-action-reveal-to, 0);
|
|
1416
|
+
animation-timeline: scroll(nearest inline);
|
|
1417
|
+
color: var(--color-ios-secondary-label);
|
|
1418
|
+
filter: opacity(var(--uikit-list-action-arming, 1));
|
|
1419
|
+
font-size: 13px;
|
|
1420
|
+
font-variation-settings: 'wght' 510;
|
|
1421
|
+
font-weight: round(down, 510, 100);
|
|
1422
|
+
line-height: 16px;
|
|
1423
|
+
stroke: currentcolor;
|
|
1424
|
+
stroke-linejoin: round;
|
|
1425
|
+
stroke-width: max(0px, (510 - 400) / 326 * 1px);
|
|
1426
|
+
white-space: nowrap;
|
|
1427
|
+
|
|
1428
|
+
--uikit-symbol-thinning: max(0px, (400 - 510) / 326 * 1px);
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
.uikit-list-header {
|
|
1433
|
+
position: var(--uikit-list-header-position, static);
|
|
1434
|
+
z-index: 2;
|
|
1435
|
+
top: 0;
|
|
1436
|
+
display: grid;
|
|
1437
|
+
box-sizing: border-box;
|
|
1438
|
+
align-content: end;
|
|
1439
|
+
align-items: end;
|
|
1440
|
+
background-color: var(--uikit-list-header-background, transparent);
|
|
1441
|
+
grid-auto-flow: column;
|
|
1442
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1443
|
+
grid-template-rows: auto auto auto;
|
|
1444
|
+
padding-inline: calc(16px + var(--uikit-list-inset, 16px));
|
|
1445
|
+
|
|
1446
|
+
&:where([data-prominence='extraProminent']) {
|
|
1447
|
+
padding-block: 8px 10px;
|
|
1448
|
+
|
|
1449
|
+
& > [data-list-part='title'] {
|
|
1450
|
+
color: var(--color-ios-label);
|
|
1451
|
+
font-size: 22px;
|
|
1452
|
+
font-variation-settings: 'wght' 700;
|
|
1453
|
+
font-weight: round(down, 700, 100);
|
|
1454
|
+
letter-spacing: -0.45px;
|
|
1455
|
+
line-height: 28px;
|
|
1456
|
+
stroke: currentcolor;
|
|
1457
|
+
stroke-linejoin: round;
|
|
1458
|
+
stroke-width: max(0px, (700 - 400) / 326 * 1px);
|
|
1459
|
+
|
|
1460
|
+
--uikit-symbol-thinning: max(0px, (400 - 700) / 326 * 1px);
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
&:where([data-prominence='nested']) {
|
|
1465
|
+
min-height: var(--uikit-list-nested-min-height, 0);
|
|
1466
|
+
padding-block: var(--uikit-list-nested-padding-block, 10px);
|
|
1467
|
+
|
|
1468
|
+
& > [data-list-part='title'] {
|
|
1469
|
+
color: var(--color-ios-secondary-label);
|
|
1470
|
+
font-size: var(--uikit-list-nested-size, 17px);
|
|
1471
|
+
font-variation-settings: 'wght' 590;
|
|
1472
|
+
font-weight: round(down, 590, 100);
|
|
1473
|
+
letter-spacing: var(--uikit-list-nested-tracking, 0);
|
|
1474
|
+
line-height: var(--uikit-list-nested-line-height, 22px);
|
|
1475
|
+
stroke: currentcolor;
|
|
1476
|
+
stroke-linejoin: round;
|
|
1477
|
+
stroke-width: max(0px, (590 - 400) / 326 * 1px);
|
|
1478
|
+
|
|
1479
|
+
--uikit-symbol-thinning: max(0px, (400 - 590) / 326 * 1px);
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
&:where(:not([data-prominence]), [data-prominence='prominent']) {
|
|
1484
|
+
padding-block: 5px 10px;
|
|
1485
|
+
|
|
1486
|
+
& > [data-list-part='title'] {
|
|
1487
|
+
color: var(--color-ios-label);
|
|
1488
|
+
font-size: var(--font-ios-title3-size);
|
|
1489
|
+
font-style: normal;
|
|
1490
|
+
font-variation-settings: 'wght' var(--font-ios-title3-weight-emphasized);
|
|
1491
|
+
font-weight: round(down, var(--font-ios-title3-weight-emphasized), 100);
|
|
1492
|
+
letter-spacing: var(--font-ios-title3-tracking);
|
|
1493
|
+
line-height: var(--font-ios-title3-line-height);
|
|
1494
|
+
stroke: currentcolor;
|
|
1495
|
+
stroke-linejoin: round;
|
|
1496
|
+
stroke-width: max(
|
|
1497
|
+
0px,
|
|
1498
|
+
(var(--font-ios-title3-weight-emphasized) - 400) / 326 * 1px
|
|
1499
|
+
);
|
|
1500
|
+
|
|
1501
|
+
--uikit-symbol-thinning: max(
|
|
1502
|
+
0px,
|
|
1503
|
+
(400 - var(--font-ios-title3-weight-emphasized)) / 326 * 1px
|
|
1504
|
+
);
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
&[role='button'],
|
|
1509
|
+
button&,
|
|
1510
|
+
a& {
|
|
1511
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), pointer);
|
|
1512
|
+
|
|
1513
|
+
@media (hover: hover) {
|
|
1514
|
+
cursor: var(--uikit-utils-cursor);
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
&[aria-disabled='true'],
|
|
1519
|
+
&[data-disabled] {
|
|
1520
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), not-allowed);
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
&::after {
|
|
1524
|
+
content: '';
|
|
1525
|
+
grid-area: 1 / 1 / 4;
|
|
1526
|
+
pointer-events: none;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
& > [data-list-part='supertitle'] {
|
|
1530
|
+
grid-area: 1 / 1;
|
|
1531
|
+
margin-block-end: 2px;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
& > [data-list-part='title'] {
|
|
1535
|
+
grid-area: 2 / 1;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
& > [data-list-part='subtitle'] {
|
|
1539
|
+
font-size: 15px;
|
|
1540
|
+
grid-area: 3 / 1;
|
|
1541
|
+
letter-spacing: -0.45px;
|
|
1542
|
+
line-height: 20px;
|
|
1543
|
+
margin-block-start: 2px;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/* Figma “Trailing”, “_Header Trailing Accessories” */
|
|
1547
|
+
&
|
|
1548
|
+
> :not(
|
|
1549
|
+
[data-list-part='supertitle'],
|
|
1550
|
+
[data-list-part='title'],
|
|
1551
|
+
[data-list-part='subtitle']
|
|
1552
|
+
) {
|
|
1553
|
+
grid-row: 1 / 4;
|
|
1554
|
+
margin-inline-start: 16px;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
& > [data-list-part='detail'] {
|
|
1558
|
+
font-size: 17px;
|
|
1559
|
+
letter-spacing: 0;
|
|
1560
|
+
line-height: 22px;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/* Figma: 8.7px between the detail and the chevron; turned down (open),
|
|
1564
|
+
the chevron is wider: 7px apart, closed 11px */
|
|
1565
|
+
& > [data-list-part='detail'] + [data-list-part='disclosure'] {
|
|
1566
|
+
margin-inline-start: 8px;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
/* The box fits the glyph turned down, too (Figma: 12px) */
|
|
1570
|
+
& > [data-list-part='disclosure'] {
|
|
1571
|
+
min-width: 13px;
|
|
1572
|
+
font-size: 19px;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
& > [data-list-part='action'] {
|
|
1576
|
+
font-size: 15px;
|
|
1577
|
+
letter-spacing: 0;
|
|
1578
|
+
line-height: 20px;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
& > [data-list-part='image'] {
|
|
1582
|
+
width: 42px;
|
|
1583
|
+
height: 42px;
|
|
1584
|
+
border-radius: 10px;
|
|
1585
|
+
margin-block: 0;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
/* Its symbol aligned with the rows' trailing parts */
|
|
1589
|
+
& > [data-list-part='accessory'] {
|
|
1590
|
+
width: 44px;
|
|
1591
|
+
height: 44px;
|
|
1592
|
+
border-radius: 50%;
|
|
1593
|
+
background-color: color-mix(
|
|
1594
|
+
in srgb,
|
|
1595
|
+
var(--color-ios-primary) 5%,
|
|
1596
|
+
transparent
|
|
1597
|
+
);
|
|
1598
|
+
margin-inline-end: -11px;
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
.uikit-list-block {
|
|
1603
|
+
display: flow-root;
|
|
1604
|
+
color: var(--color-ios-label);
|
|
1605
|
+
font-size: var(--font-ios-body-size);
|
|
1606
|
+
font-style: normal;
|
|
1607
|
+
font-variation-settings: 'wght' var(--font-ios-body-weight);
|
|
1608
|
+
font-weight: round(down, var(--font-ios-body-weight), 100);
|
|
1609
|
+
letter-spacing: var(--font-ios-body-tracking);
|
|
1610
|
+
line-height: var(--font-ios-body-line-height);
|
|
1611
|
+
margin-inline: var(--uikit-list-inset, 16px);
|
|
1612
|
+
padding-inline: 16px;
|
|
1613
|
+
stroke: currentcolor;
|
|
1614
|
+
stroke-linejoin: round;
|
|
1615
|
+
stroke-width: max(0px, (var(--font-ios-body-weight) - 400) / 326 * 1px);
|
|
1616
|
+
|
|
1617
|
+
--uikit-symbol-thinning: max(
|
|
1618
|
+
0px,
|
|
1619
|
+
(400 - var(--font-ios-body-weight)) / 326 * 1px
|
|
1620
|
+
);
|
|
1621
|
+
|
|
1622
|
+
&:where([data-strong]) {
|
|
1623
|
+
border-radius: var(--uikit-list-radius, 24px);
|
|
1624
|
+
background-color: var(
|
|
1625
|
+
--uikit-list-group-background,
|
|
1626
|
+
var(--color-ios-secondary-system-grouped-background)
|
|
1627
|
+
);
|
|
1628
|
+
padding-block: 16px;
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
& > :first-child {
|
|
1632
|
+
margin-block-start: 0;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
& > :last-child {
|
|
1636
|
+
margin-block-end: 0;
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
.uikit-list-index {
|
|
1641
|
+
display: flex;
|
|
1642
|
+
min-width: 16px;
|
|
1643
|
+
flex-direction: column;
|
|
1644
|
+
justify-content: center;
|
|
1645
|
+
gap: 0;
|
|
1646
|
+
touch-action: none;
|
|
1647
|
+
user-select: none;
|
|
1648
|
+
|
|
1649
|
+
&:where([data-size='regular']) {
|
|
1650
|
+
min-width: 30px;
|
|
1651
|
+
gap: 9px;
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
.uikit-list-index-item {
|
|
1656
|
+
display: block;
|
|
1657
|
+
padding: 0;
|
|
1658
|
+
border: 0;
|
|
1659
|
+
margin: 0;
|
|
1660
|
+
background: none;
|
|
1661
|
+
color: var(--color-ios-primary);
|
|
1662
|
+
font-family: inherit;
|
|
1663
|
+
font-size: var(--font-ios-caption1-size);
|
|
1664
|
+
font-style: normal;
|
|
1665
|
+
font-variation-settings: 'wght' var(--font-ios-caption1-weight-emphasized);
|
|
1666
|
+
font-weight: round(down, var(--font-ios-caption1-weight-emphasized), 100);
|
|
1667
|
+
letter-spacing: var(--font-ios-caption1-tracking);
|
|
1668
|
+
line-height: var(--font-ios-caption1-line-height);
|
|
1669
|
+
stroke: currentcolor;
|
|
1670
|
+
stroke-linejoin: round;
|
|
1671
|
+
stroke-width: max(
|
|
1672
|
+
0px,
|
|
1673
|
+
(var(--font-ios-caption1-weight-emphasized) - 400) / 326 * 1px
|
|
1674
|
+
);
|
|
1675
|
+
text-align: center;
|
|
1676
|
+
text-decoration: none;
|
|
1677
|
+
|
|
1678
|
+
--uikit-utils-cursor: attr(cursor type(<custom-ident>), pointer);
|
|
1679
|
+
|
|
1680
|
+
@media (hover: hover) {
|
|
1681
|
+
cursor: var(--uikit-utils-cursor);
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
--uikit-symbol-thinning: max(
|
|
1685
|
+
0px,
|
|
1686
|
+
(400 - var(--font-ios-caption1-weight-emphasized)) / 326 * 1px
|
|
1687
|
+
);
|
|
1688
|
+
}
|
|
1689
|
+
}
|