@mrpelz/uikit-ish 7.9.0 → 7.10.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 +1 -2
- package/dist/components/action-sheet/main.d.ts.map +1 -1
- package/dist/components/action-sheet/main.js +12 -12
- package/dist/components/action-sheet/main.js.map +1 -1
- package/dist/components/action-sheet/props.d.ts +2 -2
- package/dist/components/action-sheet/props.d.ts.map +1 -1
- package/dist/components/action-sheet/style.css +10 -1
- package/dist/components/activity-view/main.d.ts +1 -1
- package/dist/components/activity-view/main.d.ts.map +1 -1
- package/dist/components/activity-view/main.js +9 -11
- package/dist/components/activity-view/main.js.map +1 -1
- package/dist/components/activity-view/style.css +21 -21
- package/dist/components/alert/main.d.ts +2 -3
- package/dist/components/alert/main.d.ts.map +1 -1
- package/dist/components/alert/main.js +12 -15
- package/dist/components/alert/main.js.map +1 -1
- package/dist/components/alert/props.d.ts +3 -3
- package/dist/components/alert/style.css +23 -23
- package/dist/components/avatar/main.d.ts.map +1 -1
- package/dist/components/avatar/main.js +7 -8
- package/dist/components/avatar/main.js.map +1 -1
- package/dist/components/avatar/style.css +1 -1
- package/dist/components/badge/main.d.ts +1 -1
- package/dist/components/badge/main.js +4 -4
- package/dist/components/badge/main.js.map +1 -1
- package/dist/components/badge/style.css +7 -2
- package/dist/components/button/main.d.ts.map +1 -1
- package/dist/components/button/main.js +9 -9
- package/dist/components/button/main.js.map +1 -1
- package/dist/components/button/props.d.ts +8 -8
- package/dist/components/button/props.d.ts.map +1 -1
- package/dist/components/button/style.css +27 -29
- package/dist/components/checkbox/main.d.ts.map +1 -1
- package/dist/components/checkbox/main.js +5 -7
- package/dist/components/checkbox/main.js.map +1 -1
- package/dist/components/checkbox/style.css +3 -3
- package/dist/components/color-picker/main.d.ts +27 -4
- package/dist/components/color-picker/main.d.ts.map +1 -1
- package/dist/components/color-picker/main.js +265 -90
- package/dist/components/color-picker/main.js.map +1 -1
- package/dist/components/color-picker/props.d.ts +45 -10
- package/dist/components/color-picker/props.d.ts.map +1 -1
- package/dist/components/color-picker/style.css +124 -38
- package/dist/components/contextual-menu/main.d.ts.map +1 -1
- package/dist/components/contextual-menu/main.js +189 -236
- package/dist/components/contextual-menu/main.js.map +1 -1
- package/dist/components/contextual-menu/props.d.ts +10 -33
- package/dist/components/contextual-menu/props.d.ts.map +1 -1
- package/dist/components/contextual-menu/style.css +60 -34
- package/dist/components/date-picker/main.d.ts.map +1 -1
- package/dist/components/date-picker/main.js +100 -66
- package/dist/components/date-picker/main.js.map +1 -1
- package/dist/components/date-picker/props.d.ts +10 -10
- package/dist/components/date-picker/props.d.ts.map +1 -1
- package/dist/components/date-picker/style.css +51 -47
- package/dist/components/drawer/main.d.ts.map +1 -1
- package/dist/components/drawer/main.js +52 -7
- package/dist/components/drawer/main.js.map +1 -1
- package/dist/components/drawer/style.css +1 -1
- package/dist/components/edit-menu/main.d.ts.map +1 -1
- package/dist/components/edit-menu/main.js +31 -22
- package/dist/components/edit-menu/main.js.map +1 -1
- package/dist/components/edit-menu/props.d.ts +4 -4
- package/dist/components/edit-menu/props.d.ts.map +1 -1
- package/dist/components/edit-menu/style.css +10 -1
- package/dist/components/form/main.js +3 -3
- package/dist/components/form/main.js.map +1 -1
- package/dist/components/glass/main.d.ts +1 -1
- package/dist/components/glass/main.js +4 -4
- package/dist/components/glass/main.js.map +1 -1
- package/dist/components/glass/props.d.ts +5 -5
- package/dist/components/glass/props.d.ts.map +1 -1
- package/dist/components/glass/style.css +157 -157
- package/dist/components/header/main.d.ts.map +1 -1
- package/dist/components/header/main.js +27 -26
- package/dist/components/header/main.js.map +1 -1
- package/dist/components/header/style.css +13 -52
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/main.js +5 -5
- package/dist/components/layout/main.js.map +1 -1
- package/dist/components/layout/style.css +2 -2
- package/dist/components/list/main.d.ts +11 -3
- package/dist/components/list/main.d.ts.map +1 -1
- package/dist/components/list/main.js +296 -300
- package/dist/components/list/main.js.map +1 -1
- package/dist/components/list/props.d.ts +49 -16
- package/dist/components/list/props.d.ts.map +1 -1
- package/dist/components/list/reorder.d.ts +146 -0
- package/dist/components/list/reorder.d.ts.map +1 -0
- package/dist/components/list/reorder.js +819 -0
- package/dist/components/list/reorder.js.map +1 -0
- package/dist/components/list/select.d.ts +6 -0
- package/dist/components/list/select.d.ts.map +1 -0
- package/dist/components/list/select.js +141 -0
- package/dist/components/list/select.js.map +1 -0
- package/dist/components/list/style.css +206 -158
- package/dist/components/menu/main.d.ts +77 -30
- package/dist/components/menu/main.d.ts.map +1 -1
- package/dist/components/menu/main.js +364 -89
- package/dist/components/menu/main.js.map +1 -1
- package/dist/components/menu/props.d.ts +3 -4
- package/dist/components/menu/props.d.ts.map +1 -1
- package/dist/components/menu/style.css +25 -11
- package/dist/components/navigation/main.d.ts +5 -2
- package/dist/components/navigation/main.d.ts.map +1 -1
- package/dist/components/navigation/main.js +287 -57
- package/dist/components/navigation/main.js.map +1 -1
- package/dist/components/navigation/props.d.ts +37 -4
- package/dist/components/navigation/props.d.ts.map +1 -1
- package/dist/components/navigation/style.css +32 -2
- package/dist/components/page/main.d.ts.map +1 -1
- package/dist/components/page/main.js +12 -7
- package/dist/components/page/main.js.map +1 -1
- package/dist/components/page/props.d.ts +1 -1
- package/dist/components/page/style.css +3 -6
- package/dist/components/page-control/main.d.ts +1 -1
- package/dist/components/page-control/main.js +9 -9
- package/dist/components/page-control/main.js.map +1 -1
- package/dist/components/page-control/style.css +2 -2
- package/dist/components/popover/main.d.ts.map +1 -1
- package/dist/components/popover/main.js +17 -14
- package/dist/components/popover/main.js.map +1 -1
- package/dist/components/popover/props.d.ts +2 -2
- package/dist/components/popover/style.css +10 -1
- package/dist/components/progress/main.d.ts +1 -2
- package/dist/components/progress/main.d.ts.map +1 -1
- package/dist/components/progress/main.js +45 -19
- package/dist/components/progress/main.js.map +1 -1
- package/dist/components/progress/props.d.ts +22 -8
- package/dist/components/progress/props.d.ts.map +1 -1
- package/dist/components/progress/style.css +15 -15
- package/dist/components/roll/main.js +10 -10
- package/dist/components/roll/main.js.map +1 -1
- package/dist/components/roll/props.d.ts +1 -1
- package/dist/components/roll/style.css +11 -11
- package/dist/components/segmented/main.d.ts.map +1 -1
- package/dist/components/segmented/main.js +44 -27
- package/dist/components/segmented/main.js.map +1 -1
- package/dist/components/segmented/style.css +14 -9
- package/dist/components/sheet/main.d.ts +1 -1
- package/dist/components/sheet/main.d.ts.map +1 -1
- package/dist/components/sheet/main.js +22 -18
- package/dist/components/sheet/main.js.map +1 -1
- package/dist/components/sheet/props.d.ts +1 -1
- package/dist/components/sheet/style.css +22 -16
- package/dist/components/sidebar/main.d.ts.map +1 -1
- package/dist/components/sidebar/main.js +9 -13
- package/dist/components/sidebar/main.js.map +1 -1
- package/dist/components/sidebar/style.css +8 -8
- package/dist/components/slider/main.d.ts.map +1 -1
- package/dist/components/slider/main.js +19 -19
- package/dist/components/slider/main.js.map +1 -1
- package/dist/components/slider/props.d.ts +1 -2
- package/dist/components/slider/props.d.ts.map +1 -1
- package/dist/components/slider/style.css +25 -25
- package/dist/components/stepper/main.d.ts.map +1 -1
- package/dist/components/stepper/main.js +13 -15
- package/dist/components/stepper/main.js.map +1 -1
- package/dist/components/stepper/style.css +8 -8
- package/dist/components/switch/main.d.ts.map +1 -1
- package/dist/components/switch/main.js +25 -18
- package/dist/components/switch/main.js.map +1 -1
- package/dist/components/switch/props.d.ts +5 -3
- package/dist/components/switch/props.d.ts.map +1 -1
- package/dist/components/switch/style.css +13 -17
- package/dist/components/symbol/main.d.ts +1 -1
- package/dist/components/symbol/main.d.ts.map +1 -1
- package/dist/components/symbol/main.js +6 -5
- package/dist/components/symbol/main.js.map +1 -1
- package/dist/components/symbol/props.d.ts +3 -3
- package/dist/components/symbol/style.css +1 -1
- package/dist/components/tab-bar/main.d.ts +2 -2
- package/dist/components/tab-bar/main.d.ts.map +1 -1
- package/dist/components/tab-bar/main.js +78 -59
- package/dist/components/tab-bar/main.js.map +1 -1
- package/dist/components/tab-bar/props.d.ts +3 -3
- package/dist/components/tab-bar/style.css +92 -56
- package/dist/components/text-field/main.d.ts +3 -2
- package/dist/components/text-field/main.d.ts.map +1 -1
- package/dist/components/text-field/main.js +26 -28
- package/dist/components/text-field/main.js.map +1 -1
- package/dist/components/text-field/props.d.ts +16 -1
- package/dist/components/text-field/props.d.ts.map +1 -1
- package/dist/components/text-field/style.css +105 -31
- package/dist/components/toolbar/main.d.ts.map +1 -1
- package/dist/components/toolbar/main.js +18 -20
- package/dist/components/toolbar/main.js.map +1 -1
- package/dist/components/toolbar/props.d.ts +10 -4
- package/dist/components/toolbar/props.d.ts.map +1 -1
- package/dist/components/toolbar/style.css +13 -13
- package/dist/components/tooltip/main.js +4 -4
- package/dist/components/tooltip/main.js.map +1 -1
- package/dist/components/tooltip/style.css +5 -5
- package/dist/components/typography/main.d.ts +2 -2
- package/dist/components/typography/main.d.ts.map +1 -1
- package/dist/components/typography/main.js +10 -12
- package/dist/components/typography/main.js.map +1 -1
- package/dist/components/typography/props.d.ts +9 -9
- package/dist/components/typography/props.d.ts.map +1 -1
- package/dist/components/typography/style.css +503 -503
- package/dist/components/utils/main.d.ts +47 -6
- package/dist/components/utils/main.d.ts.map +1 -1
- package/dist/components/utils/main.js +155 -5
- package/dist/components/utils/main.js.map +1 -1
- package/dist/components/utils/props.d.ts +24 -3
- package/dist/components/utils/props.d.ts.map +1 -1
- package/dist/components/utils/style.css +4 -4
- package/dist/components/viewport/edge-effect.d.ts +10 -0
- package/dist/components/viewport/edge-effect.d.ts.map +1 -0
- package/dist/components/viewport/edge-effect.js +100 -0
- package/dist/components/viewport/edge-effect.js.map +1 -0
- package/dist/components/viewport/edge.d.ts +39 -0
- package/dist/components/viewport/edge.d.ts.map +1 -0
- package/dist/components/viewport/edge.js +151 -0
- package/dist/components/viewport/edge.js.map +1 -0
- package/dist/components/viewport/input.d.ts +19 -3
- package/dist/components/viewport/input.d.ts.map +1 -1
- package/dist/components/viewport/input.js +197 -12
- package/dist/components/viewport/input.js.map +1 -1
- package/dist/components/viewport/main.d.ts +9 -4
- package/dist/components/viewport/main.d.ts.map +1 -1
- package/dist/components/viewport/main.js +326 -89
- package/dist/components/viewport/main.js.map +1 -1
- package/dist/components/viewport/padding.d.ts +31 -3
- package/dist/components/viewport/padding.d.ts.map +1 -1
- package/dist/components/viewport/padding.js +111 -16
- package/dist/components/viewport/padding.js.map +1 -1
- package/dist/components/viewport/props.d.ts +69 -8
- package/dist/components/viewport/props.d.ts.map +1 -1
- package/dist/components/viewport/style.css +211 -6
- package/dist/styles.css +285 -302
- package/package.json +3 -4
|
@@ -22,18 +22,35 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
/* Only marking a gap rows can be dropped into (see DropTarget). */
|
|
26
|
+
.uikit-list-drop-target {
|
|
27
|
+
display: block;
|
|
28
|
+
height: 0;
|
|
29
|
+
list-style: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Its rows' margins stay within it (reordered rows' room, see reorder.ts,
|
|
33
|
+
closing at its ends too). */
|
|
25
34
|
.uikit-list-group {
|
|
35
|
+
display: flow-root;
|
|
26
36
|
overflow: clip visible;
|
|
27
37
|
padding: 0;
|
|
28
38
|
border-radius: var(--uikit-list-radius, 24px);
|
|
29
39
|
background-color: var(
|
|
30
40
|
--uikit-list-group-background,
|
|
31
|
-
var(--color-
|
|
41
|
+
var(--color-ui-secondary-system-grouped-background)
|
|
32
42
|
);
|
|
33
43
|
box-shadow: var(--uikit-list-outline-shadow, none);
|
|
34
44
|
list-style: none;
|
|
35
45
|
margin-block: 0;
|
|
36
46
|
margin-inline: var(--uikit-list-inset, 16px);
|
|
47
|
+
|
|
48
|
+
/* Reordering (see reorder.ts): not clipping its lifted rows (no row is
|
|
49
|
+
swiped meanwhile; WebKit may clip them, composited, in a scrolled
|
|
50
|
+
container). */
|
|
51
|
+
&[data-reorder-active] {
|
|
52
|
+
overflow: visible;
|
|
53
|
+
}
|
|
37
54
|
}
|
|
38
55
|
|
|
39
56
|
/* A row (see Item): its parts in a line, in their order (a flexbox):
|
|
@@ -49,9 +66,9 @@
|
|
|
49
66
|
content ending where the details do (their padding beyond), their label
|
|
50
67
|
and symbol 16px apart (as a detail and its chevron, user), the symbol
|
|
51
68
|
light (user: thinner than regular). */
|
|
52
|
-
--uikit-button-plain-size: var(--font-
|
|
53
|
-
--uikit-button-plain-line-height: var(--font-
|
|
54
|
-
--uikit-button-plain-tracking: var(--font-
|
|
69
|
+
--uikit-button-plain-size: var(--font-ui-body-size);
|
|
70
|
+
--uikit-button-plain-line-height: var(--font-ui-body-line-height);
|
|
71
|
+
--uikit-button-plain-tracking: var(--font-ui-body-tracking);
|
|
55
72
|
--uikit-button-plain-margin-end: -14px;
|
|
56
73
|
--uikit-button-plain-gap: 16px;
|
|
57
74
|
--uikit-button-plain-symbol-weight: 300;
|
|
@@ -63,7 +80,7 @@
|
|
|
63
80
|
flex-wrap: wrap;
|
|
64
81
|
align-content: center;
|
|
65
82
|
align-items: center;
|
|
66
|
-
padding: var(--uikit-list-row-padding, 12px 16px
|
|
83
|
+
padding: var(--uikit-list-row-padding-block, 12px) 16px;
|
|
67
84
|
|
|
68
85
|
/* Indented by its level (see Item). */
|
|
69
86
|
padding-inline-start: calc(
|
|
@@ -71,15 +88,19 @@
|
|
|
71
88
|
20px
|
|
72
89
|
);
|
|
73
90
|
|
|
74
|
-
/*
|
|
91
|
+
/* Tall (images keep their regular size) */
|
|
75
92
|
&:has(> [data-list-part='content'] > [data-list-part='subtitle']) {
|
|
76
93
|
--uikit-list-min-height: 68px;
|
|
77
94
|
}
|
|
78
95
|
|
|
79
96
|
/* Framework7 media list (Mail): the image and the trailing parts at the
|
|
80
97
|
top, the title emphasized (Framework7: 600), trailing details in
|
|
81
|
-
Subheadline
|
|
82
|
-
|
|
98
|
+
Subheadline; its text in the content, or below it (across the row,
|
|
99
|
+
under the trailing parts too, as Mail's preview). */
|
|
100
|
+
&:has(
|
|
101
|
+
> :is([data-list-part='content'], [data-list-part='below'])
|
|
102
|
+
> [data-list-part='text']
|
|
103
|
+
) {
|
|
83
104
|
--uikit-list-min-height: 0px;
|
|
84
105
|
|
|
85
106
|
align-content: start;
|
|
@@ -101,16 +122,16 @@
|
|
|
101
122
|
}
|
|
102
123
|
|
|
103
124
|
& > [data-list-part='content'] > [data-list-part='subtitle'] {
|
|
104
|
-
color: var(--color-
|
|
125
|
+
color: var(--color-ui-label);
|
|
105
126
|
}
|
|
106
127
|
|
|
107
128
|
& > [data-list-part='trailing'] > [data-list-part='detail'] {
|
|
108
|
-
font-size: var(--font-
|
|
129
|
+
font-size: var(--font-ui-subheadline-size);
|
|
109
130
|
font-style: normal;
|
|
110
|
-
font-variation-settings: 'wght' var(--font-
|
|
111
|
-
font-weight: round(down, var(--font-
|
|
112
|
-
letter-spacing: var(--font-
|
|
113
|
-
line-height: var(--font-
|
|
131
|
+
font-variation-settings: 'wght' var(--font-ui-subheadline-weight);
|
|
132
|
+
font-weight: round(down, var(--font-ui-subheadline-weight), 100);
|
|
133
|
+
letter-spacing: var(--font-ui-subheadline-tracking);
|
|
134
|
+
line-height: var(--font-ui-subheadline-line-height);
|
|
114
135
|
}
|
|
115
136
|
}
|
|
116
137
|
|
|
@@ -131,13 +152,13 @@
|
|
|
131
152
|
}
|
|
132
153
|
|
|
133
154
|
& [data-text-field-part='label'] {
|
|
134
|
-
color: var(--color-
|
|
135
|
-
font-size: var(--font-
|
|
155
|
+
color: var(--color-ui-label);
|
|
156
|
+
font-size: var(--font-ui-body-size);
|
|
136
157
|
font-style: normal;
|
|
137
|
-
font-variation-settings: 'wght' var(--font-
|
|
138
|
-
font-weight: round(down, var(--font-
|
|
139
|
-
letter-spacing: var(--font-
|
|
140
|
-
line-height: var(--font-
|
|
158
|
+
font-variation-settings: 'wght' var(--font-ui-body-weight);
|
|
159
|
+
font-weight: round(down, var(--font-ui-body-weight), 100);
|
|
160
|
+
letter-spacing: var(--font-ui-body-tracking);
|
|
161
|
+
line-height: var(--font-ui-body-line-height);
|
|
141
162
|
margin-block: 0;
|
|
142
163
|
}
|
|
143
164
|
|
|
@@ -152,8 +173,8 @@
|
|
|
152
173
|
align-self: start;
|
|
153
174
|
}
|
|
154
175
|
|
|
155
|
-
/* After an inline label, the value at the row's end (
|
|
156
|
-
|
|
176
|
+
/* After an inline label, the value at the row's end (as forms and
|
|
177
|
+
settings do). */
|
|
157
178
|
&:has(> [data-list-part='content'] > [data-text-field-part='label'])
|
|
158
179
|
> [data-list-part='trailing']
|
|
159
180
|
> input[data-text-field-part='control'] {
|
|
@@ -172,13 +193,13 @@
|
|
|
172
193
|
margin: 4px 0 0;
|
|
173
194
|
}
|
|
174
195
|
|
|
175
|
-
/*
|
|
196
|
+
/* The separator, from the content (its text) to 16px before the
|
|
176
197
|
edge: its start anchored to the content (moving with it, e.g. in edit
|
|
177
198
|
mode); without anchor positioning, or content, the row's padding. */
|
|
178
199
|
&::before {
|
|
179
200
|
position: absolute;
|
|
180
201
|
top: 0;
|
|
181
|
-
border-top: 1px solid var(--color-
|
|
202
|
+
border-top: 1px solid var(--color-ui-list-separator);
|
|
182
203
|
content: '';
|
|
183
204
|
inset-inline: var(--uikit-list-row-padding-start, 16px) 16px;
|
|
184
205
|
|
|
@@ -201,8 +222,7 @@
|
|
|
201
222
|
}
|
|
202
223
|
|
|
203
224
|
/* Slots before the content: what's in them in a line, above a
|
|
204
|
-
pressable title's hit area
|
|
205
|
-
start, 17px before what follows; the image 8px; other elements 12px
|
|
225
|
+
pressable title's hit area: an edit control 2px from the start, 17px before what follows; the image 8px; other elements 12px
|
|
206
226
|
(8px apart). */
|
|
207
227
|
& > [data-list-part='leading'] {
|
|
208
228
|
position: relative;
|
|
@@ -258,12 +278,23 @@
|
|
|
258
278
|
}
|
|
259
279
|
|
|
260
280
|
/* A roll (e.g. DatePicker's TimeRoll, inline): across the row, its
|
|
261
|
-
columns centered
|
|
281
|
+
columns centered. */
|
|
262
282
|
& > [data-list-part='span'] > [data-roll-part='root'] {
|
|
263
283
|
flex: 1 1 auto;
|
|
264
284
|
}
|
|
265
285
|
|
|
266
|
-
/*
|
|
286
|
+
/* With a line under it (a Below): its own line keeps the row's least
|
|
287
|
+
height, so the line under it only adds to it (the row's lines,
|
|
288
|
+
centered, would move up as it grows). */
|
|
289
|
+
&:has(> [data-list-part='below'])
|
|
290
|
+
> :is([data-list-part='content'], [data-list-part='span']) {
|
|
291
|
+
min-height: calc(
|
|
292
|
+
var(--uikit-list-min-height) - 2 * var(--uikit-list-row-padding-block, 12px)
|
|
293
|
+
);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/* Under the row's line, across it from where the content starts (see
|
|
297
|
+
Below; e.g. a field's messages, a message's preview). Hidden
|
|
267
298
|
(`hidden`), collapsed: growing and shrinking (its content clipped
|
|
268
299
|
meanwhile; its track's least none, its content's margins
|
|
269
300
|
notwithstanding), fading. */
|
|
@@ -273,6 +304,7 @@
|
|
|
273
304
|
min-width: 0;
|
|
274
305
|
flex: 1 1 100%;
|
|
275
306
|
grid-template-rows: minmax(0, 1fr);
|
|
307
|
+
margin-inline-start: var(--uikit-list-below-start, 0);
|
|
276
308
|
transition:
|
|
277
309
|
grid-template-rows 300ms ease,
|
|
278
310
|
opacity 300ms ease,
|
|
@@ -289,7 +321,7 @@
|
|
|
289
321
|
}
|
|
290
322
|
}
|
|
291
323
|
|
|
292
|
-
/* Slots after the content
|
|
324
|
+
/* Slots after the content: what's in them
|
|
293
325
|
in a line, 16px apart (a grabber 12px), above a pressable title's hit
|
|
294
326
|
area. */
|
|
295
327
|
& > [data-list-part='trailing'] {
|
|
@@ -403,13 +435,13 @@
|
|
|
403
435
|
.uikit-list-subtitle {
|
|
404
436
|
min-width: 0;
|
|
405
437
|
margin: 0;
|
|
406
|
-
color: var(--color-
|
|
407
|
-
font-size: var(--font-
|
|
438
|
+
color: var(--color-ui-secondary-label);
|
|
439
|
+
font-size: var(--font-ui-subheadline-size);
|
|
408
440
|
font-style: normal;
|
|
409
|
-
font-variation-settings: 'wght' var(--font-
|
|
410
|
-
font-weight: round(down, var(--font-
|
|
411
|
-
letter-spacing: var(--font-
|
|
412
|
-
line-height: var(--font-
|
|
441
|
+
font-variation-settings: 'wght' var(--font-ui-subheadline-weight);
|
|
442
|
+
font-weight: round(down, var(--font-ui-subheadline-weight), 100);
|
|
443
|
+
letter-spacing: var(--font-ui-subheadline-tracking);
|
|
444
|
+
line-height: var(--font-ui-subheadline-line-height);
|
|
413
445
|
overflow-wrap: break-word;
|
|
414
446
|
pointer-events: none;
|
|
415
447
|
}
|
|
@@ -420,14 +452,14 @@
|
|
|
420
452
|
min-width: 0;
|
|
421
453
|
margin: 0;
|
|
422
454
|
-webkit-box-orient: vertical;
|
|
423
|
-
color: var(--color-
|
|
424
|
-
font-size: var(--font-
|
|
455
|
+
color: var(--color-ui-secondary-label);
|
|
456
|
+
font-size: var(--font-ui-subheadline-size);
|
|
425
457
|
font-style: normal;
|
|
426
|
-
font-variation-settings: 'wght' var(--font-
|
|
427
|
-
font-weight: round(down, var(--font-
|
|
428
|
-
letter-spacing: var(--font-
|
|
458
|
+
font-variation-settings: 'wght' var(--font-ui-subheadline-weight);
|
|
459
|
+
font-weight: round(down, var(--font-ui-subheadline-weight), 100);
|
|
460
|
+
letter-spacing: var(--font-ui-subheadline-tracking);
|
|
429
461
|
-webkit-line-clamp: attr(lines type(<integer>), 2);
|
|
430
|
-
line-height: var(--font-
|
|
462
|
+
line-height: var(--font-ui-subheadline-line-height);
|
|
431
463
|
overflow-wrap: break-word;
|
|
432
464
|
pointer-events: none;
|
|
433
465
|
}
|
|
@@ -435,7 +467,7 @@
|
|
|
435
467
|
.uikit-list-supertitle {
|
|
436
468
|
min-width: 0;
|
|
437
469
|
margin: 0;
|
|
438
|
-
color: var(--color-
|
|
470
|
+
color: var(--color-ui-secondary-label);
|
|
439
471
|
font-size: 15px;
|
|
440
472
|
font-variation-settings: 'wght' 400;
|
|
441
473
|
font-weight: round(down, 400, 100);
|
|
@@ -445,13 +477,13 @@
|
|
|
445
477
|
}
|
|
446
478
|
|
|
447
479
|
.uikit-list-detail {
|
|
448
|
-
color: var(--color-
|
|
449
|
-
font-size: var(--font-
|
|
480
|
+
color: var(--color-ui-secondary-label);
|
|
481
|
+
font-size: var(--font-ui-body-size);
|
|
450
482
|
font-style: normal;
|
|
451
|
-
font-variation-settings: 'wght' var(--font-
|
|
452
|
-
font-weight: round(down, var(--font-
|
|
453
|
-
letter-spacing: var(--font-
|
|
454
|
-
line-height: var(--font-
|
|
483
|
+
font-variation-settings: 'wght' var(--font-ui-body-weight);
|
|
484
|
+
font-weight: round(down, var(--font-ui-body-weight), 100);
|
|
485
|
+
letter-spacing: var(--font-ui-body-tracking);
|
|
486
|
+
line-height: var(--font-ui-body-line-height);
|
|
455
487
|
pointer-events: none;
|
|
456
488
|
white-space: nowrap;
|
|
457
489
|
}
|
|
@@ -460,8 +492,8 @@
|
|
|
460
492
|
display: grid;
|
|
461
493
|
min-width: 22px;
|
|
462
494
|
min-height: 22px;
|
|
463
|
-
color: var(--color-
|
|
464
|
-
font-size: var(--font-
|
|
495
|
+
color: var(--color-ui-label);
|
|
496
|
+
font-size: var(--font-ui-body-size);
|
|
465
497
|
font-variation-settings: 'wght' 590;
|
|
466
498
|
font-weight: round(down, 590, 100);
|
|
467
499
|
place-items: center;
|
|
@@ -472,8 +504,8 @@
|
|
|
472
504
|
display: grid;
|
|
473
505
|
min-width: 8px;
|
|
474
506
|
min-height: 22px;
|
|
475
|
-
color: var(--color-
|
|
476
|
-
font-size: var(--font-
|
|
507
|
+
color: var(--color-ui-tertiary-label);
|
|
508
|
+
font-size: var(--font-ui-body-size);
|
|
477
509
|
font-variation-settings: 'wght' 590;
|
|
478
510
|
font-weight: round(down, 590, 100);
|
|
479
511
|
place-items: center;
|
|
@@ -490,8 +522,8 @@
|
|
|
490
522
|
display: grid;
|
|
491
523
|
min-width: 8px;
|
|
492
524
|
min-height: 22px;
|
|
493
|
-
color: var(--color-
|
|
494
|
-
font-size: var(--font-
|
|
525
|
+
color: var(--color-ui-primary);
|
|
526
|
+
font-size: var(--font-ui-body-size);
|
|
495
527
|
font-variation-settings: 'wght' 590;
|
|
496
528
|
font-weight: round(down, 590, 100);
|
|
497
529
|
place-items: center;
|
|
@@ -516,7 +548,7 @@
|
|
|
516
548
|
.uikit-list-footer {
|
|
517
549
|
display: block;
|
|
518
550
|
padding: 8px calc(16px + var(--uikit-list-inset, 16px)) 6px;
|
|
519
|
-
color: var(--color-
|
|
551
|
+
color: var(--color-ui-secondary-label);
|
|
520
552
|
font-size: 13px;
|
|
521
553
|
font-variation-settings: 'wght' 400;
|
|
522
554
|
font-weight: round(down, 400, 100);
|
|
@@ -559,11 +591,11 @@
|
|
|
559
591
|
display: flow-root;
|
|
560
592
|
min-width: 240px;
|
|
561
593
|
background-color: var(--uikit-list-background);
|
|
562
|
-
color: var(--color-
|
|
594
|
+
color: var(--color-ui-label);
|
|
563
595
|
|
|
564
596
|
/* Its style (listStyle). */
|
|
565
597
|
|
|
566
|
-
/*
|
|
598
|
+
/* Sidebars (rows in a Sidebar's glass): groups
|
|
567
599
|
without a shape of their own (nor a background), their rows capsules,
|
|
568
600
|
44px high (selected: on a fill, its symbol and title emphasized, in the
|
|
569
601
|
tint), without separators; 10px in at the first level, 20px more per
|
|
@@ -610,12 +642,12 @@
|
|
|
610
642
|
--uikit-list-outline-shadow: none;
|
|
611
643
|
--uikit-list-separator-opacity: 0;
|
|
612
644
|
--uikit-list-row-min-height: 44px;
|
|
613
|
-
--uikit-list-row-padding:
|
|
645
|
+
--uikit-list-row-padding-block: 0px;
|
|
614
646
|
--uikit-list-row-padding-start: 10px;
|
|
615
|
-
--uikit-list-selected-title: var(--color-
|
|
647
|
+
--uikit-list-selected-title: var(--color-ui-primary);
|
|
616
648
|
|
|
617
|
-
/* Pressed: on the selection's fill too (
|
|
618
|
-
|
|
649
|
+
/* Pressed: on the selection's fill too (selected and pressed differ in
|
|
650
|
+
their text only; the
|
|
619
651
|
sidebar's toolbar buttons pressed alike, see Sidebar). */
|
|
620
652
|
--uikit-list-pressed-background: var(--uikit-list-selected-background);
|
|
621
653
|
|
|
@@ -626,7 +658,7 @@
|
|
|
626
658
|
> [data-list-part='leading']
|
|
627
659
|
> [data-list-part='image'][data-variant='symbol'] {
|
|
628
660
|
width: 34px;
|
|
629
|
-
color: var(--color-
|
|
661
|
+
color: var(--color-ui-label);
|
|
630
662
|
margin-inline-end: 4px;
|
|
631
663
|
}
|
|
632
664
|
|
|
@@ -634,7 +666,7 @@
|
|
|
634
666
|
[data-list-part='row']
|
|
635
667
|
> [data-list-part='content']
|
|
636
668
|
> [data-list-part='title'] {
|
|
637
|
-
color: var(--color-
|
|
669
|
+
color: var(--color-ui-primary);
|
|
638
670
|
font-variation-settings: 'wght' 590;
|
|
639
671
|
font-weight: round(down, 590, 100);
|
|
640
672
|
}
|
|
@@ -643,7 +675,7 @@
|
|
|
643
675
|
[data-list-part='row']
|
|
644
676
|
> [data-list-part='leading']
|
|
645
677
|
> [data-list-part='image'] {
|
|
646
|
-
color: var(--color-
|
|
678
|
+
color: var(--color-ui-primary);
|
|
647
679
|
font-variation-settings: 'wght' 590;
|
|
648
680
|
font-weight: round(down, 590, 100);
|
|
649
681
|
|
|
@@ -657,29 +689,29 @@
|
|
|
657
689
|
}
|
|
658
690
|
|
|
659
691
|
& [data-list-part='header'] > [data-list-part='title'] {
|
|
660
|
-
color: var(--color-
|
|
661
|
-
font-size: var(--font-
|
|
692
|
+
color: var(--color-ui-secondary-label);
|
|
693
|
+
font-size: var(--font-ui-body-size);
|
|
662
694
|
font-style: normal;
|
|
663
695
|
font-variation-settings: 'wght' 400;
|
|
664
696
|
font-weight: round(down, 400, 100);
|
|
665
|
-
letter-spacing: var(--font-
|
|
666
|
-
line-height: var(--font-
|
|
697
|
+
letter-spacing: var(--font-ui-body-tracking);
|
|
698
|
+
line-height: var(--font-ui-body-line-height);
|
|
667
699
|
}
|
|
668
700
|
|
|
669
|
-
/* Its selection circles (
|
|
701
|
+
/* Its selection circles (edit buttons): 8px before the symbol. */
|
|
670
702
|
& [data-list-part='row'] > [data-list-part='leading'] > [data-list-part='edit'] {
|
|
671
703
|
margin-inline: 0 8px;
|
|
672
704
|
}
|
|
673
705
|
|
|
674
|
-
/* Chevrons (
|
|
675
|
-
|
|
706
|
+
/* Chevrons (disclosures: #999, 590, an 18px box 12px from the row's
|
|
707
|
+
end): gray, not the tint; headers' and rows' alike, aligned. */
|
|
676
708
|
& [data-list-part='disclosure'] {
|
|
677
|
-
color: var(--color-
|
|
709
|
+
color: var(--color-ui-secondary-label);
|
|
678
710
|
}
|
|
679
711
|
|
|
680
712
|
& [data-list-part='header'] > [data-list-part='disclosure'] {
|
|
681
713
|
min-width: 18px;
|
|
682
|
-
font-size: var(--font-
|
|
714
|
+
font-size: var(--font-ui-body-size);
|
|
683
715
|
}
|
|
684
716
|
|
|
685
717
|
&
|
|
@@ -694,11 +726,11 @@
|
|
|
694
726
|
&:where([data-list-style='grouped']) {
|
|
695
727
|
--uikit-list-background: var(
|
|
696
728
|
--uikit-list-container-background,
|
|
697
|
-
var(--color-
|
|
729
|
+
var(--color-ui-system-grouped-background)
|
|
698
730
|
);
|
|
699
731
|
--uikit-list-group-background: var(
|
|
700
732
|
--uikit-list-container-group-background,
|
|
701
|
-
var(--color-
|
|
733
|
+
var(--color-ui-secondary-system-grouped-background)
|
|
702
734
|
);
|
|
703
735
|
--uikit-list-inset: 0px;
|
|
704
736
|
--uikit-list-radius: 0px;
|
|
@@ -711,11 +743,11 @@
|
|
|
711
743
|
&:where(:not([data-list-style]), [data-list-style='insetGrouped']) {
|
|
712
744
|
--uikit-list-background: var(
|
|
713
745
|
--uikit-list-container-background,
|
|
714
|
-
var(--color-
|
|
746
|
+
var(--color-ui-system-grouped-background)
|
|
715
747
|
);
|
|
716
748
|
--uikit-list-group-background: var(
|
|
717
749
|
--uikit-list-container-group-background,
|
|
718
|
-
var(--color-
|
|
750
|
+
var(--color-ui-secondary-system-grouped-background)
|
|
719
751
|
);
|
|
720
752
|
--uikit-list-inset: 16px;
|
|
721
753
|
--uikit-list-radius: 24px;
|
|
@@ -724,18 +756,18 @@
|
|
|
724
756
|
var(--uikit-list-outline, transparent);
|
|
725
757
|
}
|
|
726
758
|
|
|
727
|
-
/*
|
|
759
|
+
/* Section titles: nested headers stick to the top, 22px high on an
|
|
728
760
|
opaque background (Framework7 contacts list), and sections are snap points, so
|
|
729
761
|
scrolling ends with a section title fully in view. Rows are on the list
|
|
730
762
|
background of Framework7's .list-strong. */
|
|
731
763
|
&:where([data-list-style='plain']) {
|
|
732
764
|
--uikit-list-background: var(
|
|
733
765
|
--uikit-list-container-background,
|
|
734
|
-
var(--color-
|
|
766
|
+
var(--color-ui-system-background)
|
|
735
767
|
);
|
|
736
768
|
--uikit-list-group-background: var(
|
|
737
769
|
--uikit-list-container-group-background,
|
|
738
|
-
var(--color-
|
|
770
|
+
var(--color-ui-secondary-system-grouped-background)
|
|
739
771
|
);
|
|
740
772
|
--uikit-list-section-snap: start;
|
|
741
773
|
--uikit-list-inset: 0px;
|
|
@@ -746,20 +778,20 @@
|
|
|
746
778
|
inset 0 -1px var(--uikit-list-outline, transparent);
|
|
747
779
|
--uikit-list-header-position: sticky;
|
|
748
780
|
--uikit-list-header-background: var(
|
|
749
|
-
--color-
|
|
781
|
+
--color-ui-list-section-title-background
|
|
750
782
|
);
|
|
751
783
|
--uikit-list-nested-padding-block: 0;
|
|
752
784
|
--uikit-list-nested-min-height: 22px;
|
|
753
|
-
--uikit-list-nested-size: var(--font-
|
|
754
|
-
--uikit-list-nested-line-height: var(--font-
|
|
755
|
-
--uikit-list-nested-tracking: var(--font-
|
|
785
|
+
--uikit-list-nested-size: var(--font-ui-body-size);
|
|
786
|
+
--uikit-list-nested-line-height: var(--font-ui-body-line-height);
|
|
787
|
+
--uikit-list-nested-tracking: var(--font-ui-body-tracking);
|
|
756
788
|
}
|
|
757
789
|
|
|
758
790
|
/* Outlined (Framework7 `.list-outline`): hairlines above and below
|
|
759
791
|
groups that span the list, a border around inset ones; drawn as
|
|
760
792
|
shadows, taking no space. */
|
|
761
793
|
&:where([data-outline]) {
|
|
762
|
-
--uikit-list-outline: var(--color-
|
|
794
|
+
--uikit-list-outline: var(--color-ui-list-separator);
|
|
763
795
|
}
|
|
764
796
|
}
|
|
765
797
|
|
|
@@ -807,15 +839,15 @@
|
|
|
807
839
|
}
|
|
808
840
|
}
|
|
809
841
|
|
|
810
|
-
/* Lifted while reordered (see
|
|
842
|
+
/* Lifted while reordered (see reorder.ts), opaque (Framework7: 80%, the
|
|
811
843
|
rows beneath showing through), its separators hidden */
|
|
812
844
|
&[data-reordering] {
|
|
813
845
|
z-index: 2;
|
|
814
846
|
background-color: var(
|
|
815
847
|
--uikit-list-group-background,
|
|
816
|
-
var(--color-
|
|
848
|
+
var(--color-ui-secondary-system-grouped-background)
|
|
817
849
|
);
|
|
818
|
-
box-shadow: var(--shadow-
|
|
850
|
+
box-shadow: var(--shadow-ui-list-reorder);
|
|
819
851
|
}
|
|
820
852
|
|
|
821
853
|
&[data-reordering],
|
|
@@ -824,9 +856,11 @@
|
|
|
824
856
|
}
|
|
825
857
|
|
|
826
858
|
/* The first and last rows shown (closed collapsible rows aside, see
|
|
827
|
-
CollapsiblePanel); while reordering, by their
|
|
828
|
-
|
|
829
|
-
&:nth-child(
|
|
859
|
+
CollapsiblePanel; drop targets aside); while reordering, by their
|
|
860
|
+
order on screen (see reorder.ts). */
|
|
861
|
+
&:nth-child(
|
|
862
|
+
1 of :not([data-closed], [data-list-part='drop-target'])
|
|
863
|
+
):not([data-reorder-edge]),
|
|
830
864
|
&[data-reorder-edge~='first'] {
|
|
831
865
|
border-start-end-radius: var(
|
|
832
866
|
--uikit-list-item-radius,
|
|
@@ -840,7 +874,9 @@
|
|
|
840
874
|
--uikit-list-separator-opacity: 0;
|
|
841
875
|
}
|
|
842
876
|
|
|
843
|
-
&:nth-last-child(
|
|
877
|
+
&:nth-last-child(
|
|
878
|
+
1 of :not([data-closed], [data-list-part='drop-target'])
|
|
879
|
+
):not([data-reorder-edge]),
|
|
844
880
|
&[data-reorder-edge~='last'] {
|
|
845
881
|
border-end-end-radius: var(
|
|
846
882
|
--uikit-list-item-radius,
|
|
@@ -860,7 +896,7 @@
|
|
|
860
896
|
&[data-pressed] {
|
|
861
897
|
--uikit-list-row-background: var(
|
|
862
898
|
--uikit-list-pressed-background,
|
|
863
|
-
var(--color-
|
|
899
|
+
var(--color-ui-system-gray4)
|
|
864
900
|
);
|
|
865
901
|
|
|
866
902
|
transition-duration: 0ms;
|
|
@@ -874,7 +910,7 @@
|
|
|
874
910
|
&:has(> * > * > * > a[href][data-list-part='title']:focus-visible),
|
|
875
911
|
&:has(> * > * > * > button[data-list-part='title']:enabled:focus-visible),
|
|
876
912
|
&:has(> * > * > * > button[data-list-part='button']:enabled:focus-visible) {
|
|
877
|
-
outline: 2px solid var(--color-
|
|
913
|
+
outline: 2px solid var(--color-ui-primary);
|
|
878
914
|
outline-offset: -2px;
|
|
879
915
|
}
|
|
880
916
|
|
|
@@ -883,12 +919,12 @@
|
|
|
883
919
|
--uikit-list-separator-opacity: 0;
|
|
884
920
|
}
|
|
885
921
|
|
|
886
|
-
/*
|
|
922
|
+
/* Swiped rows: the swiped row's content is a capsule
|
|
887
923
|
(its end leaving the row rounded by its clip, see rowPath); its actions
|
|
888
924
|
on the row's background. */
|
|
889
925
|
&[data-swipe] > * > [data-list-part='row'] {
|
|
890
926
|
border-radius: 34px;
|
|
891
|
-
background-color: var(--color-
|
|
927
|
+
background-color: var(--color-ui-system-gray5);
|
|
892
928
|
}
|
|
893
929
|
|
|
894
930
|
/* Selected (see Item): on a fill (sidebars: its title in the tint), its
|
|
@@ -896,7 +932,7 @@
|
|
|
896
932
|
&[data-selected] {
|
|
897
933
|
--uikit-list-row-background: var(
|
|
898
934
|
--uikit-list-selected-background,
|
|
899
|
-
var(--color-
|
|
935
|
+
var(--color-ui-system-gray5)
|
|
900
936
|
);
|
|
901
937
|
--uikit-list-separator-opacity: 0;
|
|
902
938
|
}
|
|
@@ -929,12 +965,12 @@
|
|
|
929
965
|
background: none;
|
|
930
966
|
color: inherit;
|
|
931
967
|
font-family: inherit;
|
|
932
|
-
font-size: var(--font-
|
|
968
|
+
font-size: var(--font-ui-body-size);
|
|
933
969
|
font-style: normal;
|
|
934
|
-
font-variation-settings: 'wght' var(--font-
|
|
935
|
-
font-weight: round(down, var(--font-
|
|
936
|
-
letter-spacing: var(--font-
|
|
937
|
-
line-height: var(--font-
|
|
970
|
+
font-variation-settings: 'wght' var(--font-ui-body-weight);
|
|
971
|
+
font-weight: round(down, var(--font-ui-body-weight), 100);
|
|
972
|
+
letter-spacing: var(--font-ui-body-tracking);
|
|
973
|
+
line-height: var(--font-ui-body-line-height);
|
|
938
974
|
overflow-wrap: break-word;
|
|
939
975
|
text-align: inherit;
|
|
940
976
|
text-decoration: none;
|
|
@@ -977,8 +1013,8 @@
|
|
|
977
1013
|
width: 42px;
|
|
978
1014
|
height: 42px;
|
|
979
1015
|
border-radius: 50%;
|
|
980
|
-
background-color: var(--color-
|
|
981
|
-
color: var(--color-
|
|
1016
|
+
background-color: var(--color-ui-tertiary-system-fill);
|
|
1017
|
+
color: var(--color-ui-secondary-label);
|
|
982
1018
|
font-size: 21px;
|
|
983
1019
|
margin-block: -12px;
|
|
984
1020
|
}
|
|
@@ -986,8 +1022,8 @@
|
|
|
986
1022
|
&:where([data-variant='fill']) {
|
|
987
1023
|
width: 52px;
|
|
988
1024
|
height: 52px;
|
|
989
|
-
background-color: var(--color-
|
|
990
|
-
color: var(--color-
|
|
1025
|
+
background-color: var(--color-ui-tertiary-system-fill);
|
|
1026
|
+
color: var(--color-ui-secondary-label);
|
|
991
1027
|
font-size: 21px;
|
|
992
1028
|
margin-block: -12px;
|
|
993
1029
|
}
|
|
@@ -996,7 +1032,7 @@
|
|
|
996
1032
|
width: 30px;
|
|
997
1033
|
height: 30px;
|
|
998
1034
|
border-radius: 7px;
|
|
999
|
-
background-color: var(--color-
|
|
1035
|
+
background-color: var(--color-ui-primary);
|
|
1000
1036
|
color: #fff;
|
|
1001
1037
|
font-size: 17px;
|
|
1002
1038
|
margin-block: -12px;
|
|
@@ -1005,8 +1041,8 @@
|
|
|
1005
1041
|
&:where(:not([data-variant]), [data-variant='symbol']) {
|
|
1006
1042
|
width: 28px;
|
|
1007
1043
|
min-height: 20px;
|
|
1008
|
-
color: var(--color-
|
|
1009
|
-
font-size: var(--font-
|
|
1044
|
+
color: var(--color-ui-primary);
|
|
1045
|
+
font-size: var(--font-ui-body-size);
|
|
1010
1046
|
line-height: 20px;
|
|
1011
1047
|
}
|
|
1012
1048
|
|
|
@@ -1025,12 +1061,12 @@
|
|
|
1025
1061
|
border: 0;
|
|
1026
1062
|
margin: 0;
|
|
1027
1063
|
background: none;
|
|
1028
|
-
color: var(--color-
|
|
1064
|
+
color: var(--color-ui-primary);
|
|
1029
1065
|
font-family: inherit;
|
|
1030
|
-
font-size: var(--font-
|
|
1066
|
+
font-size: var(--font-ui-body-size);
|
|
1031
1067
|
font-variation-settings: 'wght' 400;
|
|
1032
1068
|
font-weight: round(down, 400, 100);
|
|
1033
|
-
line-height: var(--font-
|
|
1069
|
+
line-height: var(--font-ui-body-line-height);
|
|
1034
1070
|
place-items: center;
|
|
1035
1071
|
text-align: inherit;
|
|
1036
1072
|
text-decoration: none;
|
|
@@ -1063,8 +1099,8 @@
|
|
|
1063
1099
|
display: grid;
|
|
1064
1100
|
min-width: 22px;
|
|
1065
1101
|
min-height: 25px;
|
|
1066
|
-
color: var(--color-
|
|
1067
|
-
font-size: var(--font-
|
|
1102
|
+
color: var(--color-ui-tertiary-label);
|
|
1103
|
+
font-size: var(--font-ui-body-size);
|
|
1068
1104
|
font-variation-settings: 'wght' 400;
|
|
1069
1105
|
font-weight: round(down, 400, 100);
|
|
1070
1106
|
place-items: center;
|
|
@@ -1090,14 +1126,14 @@
|
|
|
1090
1126
|
border: 0;
|
|
1091
1127
|
margin: 0;
|
|
1092
1128
|
background: none;
|
|
1093
|
-
color: var(--color-
|
|
1129
|
+
color: var(--color-ui-primary);
|
|
1094
1130
|
font-family: inherit;
|
|
1095
|
-
font-size: var(--font-
|
|
1131
|
+
font-size: var(--font-ui-body-size);
|
|
1096
1132
|
font-style: normal;
|
|
1097
|
-
font-variation-settings: 'wght' var(--font-
|
|
1098
|
-
font-weight: round(down, var(--font-
|
|
1099
|
-
letter-spacing: var(--font-
|
|
1100
|
-
line-height: var(--font-
|
|
1133
|
+
font-variation-settings: 'wght' var(--font-ui-body-weight);
|
|
1134
|
+
font-weight: round(down, var(--font-ui-body-weight), 100);
|
|
1135
|
+
letter-spacing: var(--font-ui-body-tracking);
|
|
1136
|
+
line-height: var(--font-ui-body-line-height);
|
|
1101
1137
|
text-align: inherit;
|
|
1102
1138
|
text-decoration: none;
|
|
1103
1139
|
white-space: nowrap;
|
|
@@ -1111,7 +1147,7 @@
|
|
|
1111
1147
|
&:disabled {
|
|
1112
1148
|
--uikit-utils-cursor: attr(cursor type(<custom-ident>), not-allowed);
|
|
1113
1149
|
|
|
1114
|
-
color: var(--color-
|
|
1150
|
+
color: var(--color-ui-system-gray2);
|
|
1115
1151
|
}
|
|
1116
1152
|
}
|
|
1117
1153
|
|
|
@@ -1121,14 +1157,14 @@
|
|
|
1121
1157
|
border: 0;
|
|
1122
1158
|
margin: 0;
|
|
1123
1159
|
background: none;
|
|
1124
|
-
color: var(--color-
|
|
1160
|
+
color: var(--color-ui-primary);
|
|
1125
1161
|
font-family: inherit;
|
|
1126
|
-
font-size: var(--font-
|
|
1162
|
+
font-size: var(--font-ui-body-size);
|
|
1127
1163
|
font-style: normal;
|
|
1128
|
-
font-variation-settings: 'wght' var(--font-
|
|
1129
|
-
font-weight: round(down, var(--font-
|
|
1130
|
-
letter-spacing: var(--font-
|
|
1131
|
-
line-height: var(--font-
|
|
1164
|
+
font-variation-settings: 'wght' var(--font-ui-body-weight);
|
|
1165
|
+
font-weight: round(down, var(--font-ui-body-weight), 100);
|
|
1166
|
+
letter-spacing: var(--font-ui-body-tracking);
|
|
1167
|
+
line-height: var(--font-ui-body-line-height);
|
|
1132
1168
|
overflow-wrap: break-word;
|
|
1133
1169
|
text-align: start;
|
|
1134
1170
|
text-decoration: none;
|
|
@@ -1146,13 +1182,13 @@
|
|
|
1146
1182
|
}
|
|
1147
1183
|
|
|
1148
1184
|
&:where([data-destructive]) {
|
|
1149
|
-
color: var(--color-
|
|
1185
|
+
color: var(--color-ui-system-red);
|
|
1150
1186
|
}
|
|
1151
1187
|
|
|
1152
1188
|
&:disabled {
|
|
1153
1189
|
--uikit-utils-cursor: attr(cursor type(<custom-ident>), not-allowed);
|
|
1154
1190
|
|
|
1155
|
-
color: var(--color-
|
|
1191
|
+
color: var(--color-ui-system-gray2);
|
|
1156
1192
|
}
|
|
1157
1193
|
|
|
1158
1194
|
&:focus-visible {
|
|
@@ -1174,7 +1210,7 @@
|
|
|
1174
1210
|
background: none;
|
|
1175
1211
|
background-color: var(
|
|
1176
1212
|
--uikit-list-edit-tint,
|
|
1177
|
-
var(--color-
|
|
1213
|
+
var(--color-ui-system-gray)
|
|
1178
1214
|
);
|
|
1179
1215
|
color: var(--uikit-list-edit-text-color, #fff);
|
|
1180
1216
|
font-family: inherit;
|
|
@@ -1327,7 +1363,7 @@
|
|
|
1327
1363
|
animation-timeline: scroll(nearest inline);
|
|
1328
1364
|
background-color: var(
|
|
1329
1365
|
--uikit-list-action-tint,
|
|
1330
|
-
var(--color-
|
|
1366
|
+
var(--color-ui-system-gray)
|
|
1331
1367
|
);
|
|
1332
1368
|
content: '';
|
|
1333
1369
|
filter: opacity(var(--uikit-list-action-arming, 1));
|
|
@@ -1366,7 +1402,7 @@
|
|
|
1366
1402
|
white-space: nowrap;
|
|
1367
1403
|
|
|
1368
1404
|
& > svg {
|
|
1369
|
-
font-size: var(--font-
|
|
1405
|
+
font-size: var(--font-ui-body-size);
|
|
1370
1406
|
}
|
|
1371
1407
|
}
|
|
1372
1408
|
|
|
@@ -1395,7 +1431,7 @@
|
|
|
1395
1431
|
animation-range: var(--uikit-list-action-reveal-from, 0)
|
|
1396
1432
|
var(--uikit-list-action-reveal-to, 0);
|
|
1397
1433
|
animation-timeline: scroll(nearest inline);
|
|
1398
|
-
color: var(--color-
|
|
1434
|
+
color: var(--color-ui-secondary-label);
|
|
1399
1435
|
filter: opacity(var(--uikit-list-action-arming, 1));
|
|
1400
1436
|
font-size: 13px;
|
|
1401
1437
|
font-variation-settings: 'wght' 510;
|
|
@@ -1423,7 +1459,7 @@
|
|
|
1423
1459
|
padding-block: 8px 10px;
|
|
1424
1460
|
|
|
1425
1461
|
& > [data-list-part='title'] {
|
|
1426
|
-
color: var(--color-
|
|
1462
|
+
color: var(--color-ui-label);
|
|
1427
1463
|
font-size: 22px;
|
|
1428
1464
|
font-variation-settings: 'wght' 700;
|
|
1429
1465
|
font-weight: round(down, 700, 100);
|
|
@@ -1437,7 +1473,7 @@
|
|
|
1437
1473
|
padding-block: var(--uikit-list-nested-padding-block, 10px);
|
|
1438
1474
|
|
|
1439
1475
|
& > [data-list-part='title'] {
|
|
1440
|
-
color: var(--color-
|
|
1476
|
+
color: var(--color-ui-secondary-label);
|
|
1441
1477
|
font-size: var(--uikit-list-nested-size, 17px);
|
|
1442
1478
|
font-variation-settings: 'wght' 590;
|
|
1443
1479
|
font-weight: round(down, 590, 100);
|
|
@@ -1450,13 +1486,13 @@
|
|
|
1450
1486
|
padding-block: 5px 10px;
|
|
1451
1487
|
|
|
1452
1488
|
& > [data-list-part='title'] {
|
|
1453
|
-
color: var(--color-
|
|
1454
|
-
font-size: var(--font-
|
|
1489
|
+
color: var(--color-ui-label);
|
|
1490
|
+
font-size: var(--font-ui-title3-size);
|
|
1455
1491
|
font-style: normal;
|
|
1456
|
-
font-variation-settings: 'wght' var(--font-
|
|
1457
|
-
font-weight: round(down, var(--font-
|
|
1458
|
-
letter-spacing: var(--font-
|
|
1459
|
-
line-height: var(--font-
|
|
1492
|
+
font-variation-settings: 'wght' var(--font-ui-title3-weight-emphasized);
|
|
1493
|
+
font-weight: round(down, var(--font-ui-title3-weight-emphasized), 100);
|
|
1494
|
+
letter-spacing: var(--font-ui-title3-tracking);
|
|
1495
|
+
line-height: var(--font-ui-title3-line-height);
|
|
1460
1496
|
}
|
|
1461
1497
|
}
|
|
1462
1498
|
|
|
@@ -1498,7 +1534,7 @@
|
|
|
1498
1534
|
margin-block-start: 2px;
|
|
1499
1535
|
}
|
|
1500
1536
|
|
|
1501
|
-
/*
|
|
1537
|
+
/* Trailing accessories (rows' and headers') */
|
|
1502
1538
|
&
|
|
1503
1539
|
> :not(
|
|
1504
1540
|
[data-list-part='supertitle'],
|
|
@@ -1515,13 +1551,13 @@
|
|
|
1515
1551
|
line-height: 22px;
|
|
1516
1552
|
}
|
|
1517
1553
|
|
|
1518
|
-
/*
|
|
1554
|
+
/* 8.7px between the detail and the chevron; turned down (open),
|
|
1519
1555
|
the chevron is wider: 7px apart, closed 11px */
|
|
1520
1556
|
& > [data-list-part='detail'] + [data-list-part='disclosure'] {
|
|
1521
1557
|
margin-inline-start: 8px;
|
|
1522
1558
|
}
|
|
1523
1559
|
|
|
1524
|
-
/* The box fits the glyph turned down, too
|
|
1560
|
+
/* The box fits the glyph turned down, too */
|
|
1525
1561
|
& > [data-list-part='disclosure'] {
|
|
1526
1562
|
min-width: 13px;
|
|
1527
1563
|
font-size: 19px;
|
|
@@ -1547,7 +1583,7 @@
|
|
|
1547
1583
|
border-radius: 50%;
|
|
1548
1584
|
background-color: color-mix(
|
|
1549
1585
|
in srgb,
|
|
1550
|
-
var(--color-
|
|
1586
|
+
var(--color-ui-primary) 5%,
|
|
1551
1587
|
transparent
|
|
1552
1588
|
);
|
|
1553
1589
|
margin-inline-end: -11px;
|
|
@@ -1556,13 +1592,13 @@
|
|
|
1556
1592
|
|
|
1557
1593
|
.uikit-list-block {
|
|
1558
1594
|
display: flow-root;
|
|
1559
|
-
color: var(--color-
|
|
1560
|
-
font-size: var(--font-
|
|
1595
|
+
color: var(--color-ui-label);
|
|
1596
|
+
font-size: var(--font-ui-body-size);
|
|
1561
1597
|
font-style: normal;
|
|
1562
|
-
font-variation-settings: 'wght' var(--font-
|
|
1563
|
-
font-weight: round(down, var(--font-
|
|
1564
|
-
letter-spacing: var(--font-
|
|
1565
|
-
line-height: var(--font-
|
|
1598
|
+
font-variation-settings: 'wght' var(--font-ui-body-weight);
|
|
1599
|
+
font-weight: round(down, var(--font-ui-body-weight), 100);
|
|
1600
|
+
letter-spacing: var(--font-ui-body-tracking);
|
|
1601
|
+
line-height: var(--font-ui-body-line-height);
|
|
1566
1602
|
margin-inline: var(--uikit-list-inset, 16px);
|
|
1567
1603
|
padding-inline: 16px;
|
|
1568
1604
|
|
|
@@ -1570,7 +1606,7 @@
|
|
|
1570
1606
|
border-radius: var(--uikit-list-radius, 24px);
|
|
1571
1607
|
background-color: var(
|
|
1572
1608
|
--uikit-list-group-background,
|
|
1573
|
-
var(--color-
|
|
1609
|
+
var(--color-ui-secondary-system-grouped-background)
|
|
1574
1610
|
);
|
|
1575
1611
|
padding-block: 16px;
|
|
1576
1612
|
}
|
|
@@ -1606,14 +1642,14 @@
|
|
|
1606
1642
|
border: 0;
|
|
1607
1643
|
margin: 0;
|
|
1608
1644
|
background: none;
|
|
1609
|
-
color: var(--color-
|
|
1645
|
+
color: var(--color-ui-primary);
|
|
1610
1646
|
font-family: inherit;
|
|
1611
|
-
font-size: var(--font-
|
|
1647
|
+
font-size: var(--font-ui-caption1-size);
|
|
1612
1648
|
font-style: normal;
|
|
1613
|
-
font-variation-settings: 'wght' var(--font-
|
|
1614
|
-
font-weight: round(down, var(--font-
|
|
1615
|
-
letter-spacing: var(--font-
|
|
1616
|
-
line-height: var(--font-
|
|
1649
|
+
font-variation-settings: 'wght' var(--font-ui-caption1-weight-emphasized);
|
|
1650
|
+
font-weight: round(down, var(--font-ui-caption1-weight-emphasized), 100);
|
|
1651
|
+
letter-spacing: var(--font-ui-caption1-tracking);
|
|
1652
|
+
line-height: var(--font-ui-caption1-line-height);
|
|
1617
1653
|
text-align: center;
|
|
1618
1654
|
text-decoration: none;
|
|
1619
1655
|
|
|
@@ -1624,3 +1660,15 @@
|
|
|
1624
1660
|
}
|
|
1625
1661
|
}
|
|
1626
1662
|
}
|
|
1663
|
+
|
|
1664
|
+
@layer uikit-ish {
|
|
1665
|
+
/* Dragging to select (see `select.ts`): from a checkbox, the page not
|
|
1666
|
+
scrolling; while dragging, no text selected. */
|
|
1667
|
+
.uikit-list-root [data-drag-to-select] {
|
|
1668
|
+
touch-action: none;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
.uikit-list-root[data-selecting] {
|
|
1672
|
+
user-select: none;
|
|
1673
|
+
}
|
|
1674
|
+
}
|