@plexui/styles 0.1.32 → 0.1.34
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/es/components/Accordion/Accordion.module.css +30 -0
- package/dist/es/components/Alert/Alert.module.css +112 -1
- package/dist/es/components/Badge/Badge.module.css +41 -8
- package/dist/es/components/Breadcrumb/Breadcrumb.module.css +35 -1
- package/dist/es/components/Button/Button.module.css +178 -77
- package/dist/es/components/Button/NavigationButton.module.css +27 -0
- package/dist/es/components/Card/Card.module.css +27 -9
- package/dist/es/components/Checkbox/Checkbox.module.css +83 -90
- package/dist/es/components/CodeBlock/CodeBlock.module.css +20 -0
- package/dist/es/components/ColorPicker/ColorPicker.module.css +396 -0
- package/dist/es/components/ContextMenu/ContextMenu.module.css +55 -0
- package/dist/es/components/DataTable/DataTable.module.css +35 -5
- package/dist/es/components/DatePicker/Calendar.module.css +280 -3
- package/dist/es/components/DatePicker/CalendarNavigationIcon.module.css +20 -0
- package/dist/es/components/DateRangePicker/Calendar.module.css +223 -3
- package/dist/es/components/DateRangePicker/Trigger.module.css +29 -1
- package/dist/es/components/Dialog/Dialog.module.css +386 -86
- package/dist/es/components/EmptyMessage/EmptyMessage.module.css +89 -14
- package/dist/es/components/Field/Field.module.css +346 -19
- package/dist/es/components/FieldError/FieldError.module.css +13 -10
- package/dist/es/components/FieldGroup/FieldGroup.module.css +103 -4
- package/dist/es/components/FileUpload/FileUpload.module.css +103 -10
- package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +46 -14
- package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +36 -14
- package/dist/es/components/Indicator/LoadingIndicator.module.css +48 -6
- package/dist/es/components/Input/Input.module.css +195 -25
- package/dist/es/components/InputGroup/InputGroup.module.css +5 -1
- package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +27 -147
- package/dist/es/components/Menu/Menu.module.css +425 -33
- package/dist/es/components/OTPInput/OTPInput.module.css +11 -3
- package/dist/es/components/Page/Page.module.css +217 -20
- package/dist/es/components/PageControl/PageControl.module.css +81 -0
- package/dist/es/components/Popover/Popover.module.css +10 -1
- package/dist/es/components/RadioGroup/RadioGroup.module.css +10 -10
- package/dist/es/components/Select/Select.module.css +162 -13
- package/dist/es/components/SelectControl/SelectControl.module.css +118 -11
- package/dist/es/components/ShimmerText/ShimmerText.module.css +7 -0
- package/dist/es/components/Sidebar/Sidebar.module.css +347 -72
- package/dist/es/components/Skeleton/Skeleton.module.css +4 -0
- package/dist/es/components/Slider/Slider.module.css +96 -52
- package/dist/es/components/Sortable/Sortable.module.css +20 -7
- package/dist/es/components/Stepper/Stepper.module.css +98 -0
- package/dist/es/components/Switch/Switch.module.css +16 -7
- package/dist/es/components/TabBar/TabBar.module.css +233 -0
- package/dist/es/components/Table/Table.module.css +4 -2
- package/dist/es/components/Tabs/Tabs.module.css +186 -6
- package/dist/es/components/TagInput/TagInput.module.css +64 -19
- package/dist/es/components/TextLink/TextLink.module.css +4 -4
- package/dist/es/components/Textarea/Textarea.module.css +1 -1
- package/dist/es/components/Toast/Toast.module.css +120 -5
- package/dist/es/components/Toolbar/Toolbar.module.css +579 -0
- package/dist/es/components/Tooltip/Tooltip.module.css +1 -1
- package/dist/es/styles/base.css +1 -1
- package/dist/es/styles/katex-fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/LICENSE +21 -0
- package/dist/es/styles/katex.min.css +666 -730
- package/dist/es/styles/mobile-materials.css +69 -0
- package/dist/es/styles/mobile-surfaces.css +46 -0
- package/dist/es/styles/touch.css +524 -63
- package/dist/es/styles/variables-components.css +286 -7
- package/package.json +1 -1
- package/postcss/mixins.mjs +1 -1
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
min-width: 0;
|
|
6
|
+
width: 100%;
|
|
7
|
+
max-width: 100%;
|
|
6
8
|
height: 100%;
|
|
7
9
|
overflow: hidden;
|
|
8
10
|
background: var(--page-background);
|
|
@@ -22,7 +24,7 @@
|
|
|
22
24
|
margin-inline: auto;
|
|
23
25
|
}.Footer {
|
|
24
26
|
flex: none;
|
|
25
|
-
padding: 16px var(--page-footer-gutter, var(--page-gutter)) var(--page-footer-padding-bottom, max(16px, env(safe-area-inset-bottom, 0px)));
|
|
27
|
+
padding: var(--page-footer-padding-top, 16px) var(--page-footer-gutter, var(--page-gutter)) var(--page-footer-padding-bottom, max(16px, env(safe-area-inset-bottom, 0px)));
|
|
26
28
|
background: var(--page-background);
|
|
27
29
|
}.Header {
|
|
28
30
|
flex: none;
|
|
@@ -49,11 +51,15 @@
|
|
|
49
51
|
font-weight: var(--font-weight-semibold);
|
|
50
52
|
line-height: var(--page-title-line-height);
|
|
51
53
|
}.Subtitle {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: 8px;
|
|
52
57
|
margin: 0;
|
|
53
58
|
color: var(--color-text-secondary);
|
|
54
59
|
font-size: var(--font-text-sm-size);
|
|
55
60
|
line-height: var(--font-text-sm-line-height);
|
|
56
|
-
}.
|
|
61
|
+
}.Leading,
|
|
62
|
+
.Actions {
|
|
57
63
|
display: flex;
|
|
58
64
|
align-items: center;
|
|
59
65
|
gap: 8px;
|
|
@@ -106,51 +112,123 @@
|
|
|
106
112
|
transition: border-color var(--transition-duration-basic);
|
|
107
113
|
}
|
|
108
114
|
|
|
109
|
-
.Header[data-scrolled] > .Head {
|
|
115
|
+
.Header[data-scrolled][data-divider] > .Head {
|
|
110
116
|
border-color: var(--color-border);
|
|
111
117
|
}
|
|
112
|
-
}/* One row, the height of Apple's bar. It floats over the page
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
sidebar's menu button. */@media (max-width: 767.98px) {
|
|
118
|
+
}/* One row, the height of Apple's bar. It floats over the page and meets the content scrolled under it
|
|
119
|
+
by its `background`, as a phone Toolbar does: by default the soft scroll edge of iOS 26. The material
|
|
120
|
+
sits on `::before`: on the bar itself a blur would hold the bar's children inside its own backdrop.
|
|
121
|
+
The first column keeps the place of a sidebar's menu button. */@media (max-width: 767.98px) {
|
|
116
122
|
.Page {
|
|
117
|
-
--page-top: calc(
|
|
123
|
+
--page-top: var(--page-toolbar-height, var(--page-header-height, calc(var(--safe-area-inset-top, env(safe-area-inset-top, 0px)) + var(--page-bar-height-phone) + 10px)));
|
|
124
|
+
--page-bottom: var(--page-toolbar-bottom-height, var(--page-footer-height, 0px));
|
|
125
|
+
--mobile-surface-primary: var(--mobile-surface-plain-primary, var(--color-surface));
|
|
126
|
+
--mobile-surface-secondary: var(--mobile-surface-plain-secondary, var(--color-background-secondary-soft-alpha));
|
|
127
|
+
--mobile-surface-tertiary: var(--mobile-surface-plain-tertiary, var(--color-surface));
|
|
128
|
+
--page-background: var(--mobile-surface-primary);
|
|
129
|
+
--page-footer-padding-top: 12px;
|
|
130
|
+
--page-footer-gutter: 16px;
|
|
131
|
+
--page-footer-padding-bottom: max(16px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
|
|
132
|
+
--field-group-background: var(--mobile-surface-secondary);
|
|
133
|
+
--file-upload-list-background: transparent;
|
|
134
|
+
--file-upload-list-border-width: 1px;
|
|
135
|
+
--mobile-neutral-outline-background: initial;
|
|
136
|
+
--mobile-neutral-outline-hover: initial;
|
|
137
|
+
--mobile-neutral-outline-active: initial;
|
|
138
|
+
--page-bar-veil: color-mix(in srgb, var(--page-background) var(--page-bar-veil-opacity), transparent);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.Page[data-surface="grouped"] {
|
|
142
|
+
--mobile-surface-primary: var(--mobile-surface-grouped-primary, var(--color-surface-secondary));
|
|
143
|
+
--mobile-surface-secondary: var(--mobile-surface-grouped-secondary, var(--color-surface));
|
|
144
|
+
--mobile-surface-tertiary: var(--mobile-surface-grouped-tertiary, var(--color-surface-secondary));
|
|
145
|
+
--file-upload-list-background: var(--mobile-surface-secondary);
|
|
146
|
+
--file-upload-list-border-width: 0px;
|
|
147
|
+
--mobile-neutral-outline-background: var(--mobile-surface-secondary);
|
|
148
|
+
--mobile-neutral-outline-hover: color-mix(in srgb, var(--mobile-surface-secondary) 96%, var(--color-text));
|
|
149
|
+
--mobile-neutral-outline-active: color-mix(in srgb, var(--mobile-surface-secondary) 94%, var(--color-text));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* A phone Toolbar takes the place of the bar on its side. */
|
|
153
|
+
.Page:has(> [data-toolbar][data-placement="top"]) > .Header,
|
|
154
|
+
.Page:has(> [data-toolbar][data-placement="bottom"]) > .Footer {
|
|
155
|
+
display: none;
|
|
118
156
|
}
|
|
119
157
|
|
|
120
158
|
.Header {
|
|
121
159
|
position: absolute;
|
|
122
160
|
z-index: 5;
|
|
123
161
|
inset: 0 0 auto;
|
|
124
|
-
padding-block:
|
|
162
|
+
padding-block: var(--safe-area-inset-top, env(safe-area-inset-top, 0px)) 10px;
|
|
125
163
|
}
|
|
126
164
|
|
|
165
|
+
/* Soft: the canvas covers content under the bar and fades out past it, as the soft edge of a top
|
|
166
|
+
Toolbar does. */
|
|
127
167
|
.Header::before {
|
|
128
168
|
position: absolute;
|
|
129
169
|
z-index: -1;
|
|
170
|
+
inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
|
|
171
|
+
background: var(--page-background);
|
|
172
|
+
backdrop-filter: blur(var(--toolbar-edge-blur-small));
|
|
173
|
+
content: "";
|
|
174
|
+
-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
|
|
175
|
+
mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
|
|
176
|
+
pointer-events: none;
|
|
177
|
+
transition: opacity var(--transition-duration-basic), border-color var(--transition-duration-basic);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* Hard and solid are opaque, glass is translucent and shows itself once content is under the bar.
|
|
181
|
+
Hard and glass then draw a line, unless `divider` is off. */
|
|
182
|
+
.Header:not([data-background="soft"])::before {
|
|
130
183
|
inset: 0;
|
|
131
|
-
|
|
184
|
+
backdrop-filter: none;
|
|
185
|
+
-webkit-mask-image: none;
|
|
186
|
+
mask-image: none;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.Header[data-background="hard"]::before {
|
|
190
|
+
border-bottom: 1px solid transparent;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.Header[data-background="glass"]::before {
|
|
194
|
+
border-bottom: 0.5px solid transparent;
|
|
132
195
|
background: var(--page-bar-veil);
|
|
133
|
-
backdrop-filter:
|
|
134
|
-
content: "";
|
|
196
|
+
backdrop-filter: var(--page-bar-glass-filter);
|
|
135
197
|
opacity: 0;
|
|
136
|
-
pointer-events: none;
|
|
137
|
-
transition: opacity var(--transition-duration-basic);
|
|
138
198
|
}
|
|
139
199
|
|
|
140
|
-
.Header[data-scrolled]::before {
|
|
200
|
+
.Header[data-scrolled][data-background="glass"]::before {
|
|
141
201
|
opacity: 1;
|
|
142
202
|
}
|
|
143
203
|
|
|
204
|
+
.Header[data-scrolled][data-divider][data-background="hard"]::before {
|
|
205
|
+
border-bottom-color: var(--page-bar-hard-line);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.Header[data-scrolled][data-divider][data-background="glass"]::before {
|
|
209
|
+
border-bottom-color: var(--page-bar-line);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* The bar's glass buttons cast a shadow only over content scrolled under them. */
|
|
213
|
+
.Header[data-scrolled] {
|
|
214
|
+
--mobile-glass-shadow: var(--mobile-glass-shadow-raised);
|
|
215
|
+
}
|
|
216
|
+
|
|
144
217
|
.Bar {
|
|
145
218
|
display: grid;
|
|
146
|
-
grid-template-columns:
|
|
219
|
+
grid-template-columns: var(--page-bar-side-width, 44px) minmax(0, 1fr) var(--page-bar-side-width, 44px);
|
|
147
220
|
gap: 0;
|
|
148
221
|
min-height: var(--page-bar-height-phone);
|
|
149
222
|
}
|
|
150
223
|
|
|
151
|
-
.Bar >
|
|
224
|
+
.Bar > .Heading,
|
|
225
|
+
.Bar > .Title {
|
|
152
226
|
grid-column: 2;
|
|
227
|
+
grid-row: 1;
|
|
153
228
|
align-self: center;
|
|
229
|
+
min-width: 0;
|
|
230
|
+
/* Centered in the 44px bar: native iOS 26 bars put the title's cap middle on the buttons' center
|
|
231
|
+
(IMG_5508/5511/5512/5514/5515, within 1px). The kit's text frame sits 2px lower than that. */
|
|
154
232
|
}
|
|
155
233
|
|
|
156
234
|
.Heading {
|
|
@@ -159,11 +237,16 @@
|
|
|
159
237
|
min-width: 0;
|
|
160
238
|
}
|
|
161
239
|
|
|
240
|
+
.Heading:has(> .Subtitle > *) {
|
|
241
|
+
gap: 2px;
|
|
242
|
+
}
|
|
243
|
+
|
|
162
244
|
.Title {
|
|
163
245
|
display: block;
|
|
164
246
|
min-height: 0;
|
|
165
247
|
overflow: hidden;
|
|
166
248
|
font-size: 17px;
|
|
249
|
+
font-weight: 590;
|
|
167
250
|
line-height: 22px;
|
|
168
251
|
text-align: center;
|
|
169
252
|
text-overflow: ellipsis;
|
|
@@ -171,24 +254,138 @@
|
|
|
171
254
|
}
|
|
172
255
|
|
|
173
256
|
.Subtitle {
|
|
257
|
+
flex-wrap: wrap;
|
|
258
|
+
justify-content: center;
|
|
259
|
+
row-gap: 4px;
|
|
174
260
|
max-width: 100%;
|
|
175
261
|
overflow: hidden;
|
|
176
262
|
font-size: 13px;
|
|
177
263
|
line-height: 18px;
|
|
178
264
|
text-overflow: ellipsis;
|
|
179
|
-
white-space:
|
|
265
|
+
white-space: normal;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.Leading,
|
|
269
|
+
.Actions {
|
|
270
|
+
width: -moz-max-content;
|
|
271
|
+
width: max-content;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.Leading {
|
|
275
|
+
grid-column: 1;
|
|
276
|
+
grid-row: 1;
|
|
277
|
+
justify-self: start;
|
|
278
|
+
min-width: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/* A bar's text button is the Liquid Glass text button of the iOS 27 kit (Button - Liquid Glass - Text
|
|
282
|
+
5473:21667): 17px Medium, the label of a Toolbar's items. */
|
|
283
|
+
.Leading > :is(button, a),
|
|
284
|
+
.Actions > :is(button, a) {
|
|
285
|
+
--button-size: 44px;
|
|
286
|
+
/* A uniform bar button is the 44px glass circle of a bar, as a Toolbar's; elsewhere on a phone a uniform
|
|
287
|
+
button is the circle of its step (touch.css) */
|
|
288
|
+
--button-uniform-size: 44px;
|
|
289
|
+
--button-font-size: var(--toolbar-label-font-size);
|
|
290
|
+
--button-line-height: var(--toolbar-label-line-height);
|
|
291
|
+
--button-font-weight: var(--toolbar-label-font-weight);
|
|
292
|
+
--button-radius: var(--radius-full);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.Leading > :is(button, a):not([data-navigation-action]),
|
|
296
|
+
.Actions > :is(button, a):not([data-navigation-action]) {
|
|
297
|
+
--button-icon-size: 17px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/* An icon alone in the circle is a bar symbol, as in a Toolbar: Files' More (IMG_5686) and Freeform's
|
|
301
|
+
ellipsis (IMG_5684) draw it 19.7pt wide, not at the size of a label beside text (owner 08.11). */
|
|
302
|
+
:is(.Leading, .Actions) > :is(button, a)[data-uniform]:not([data-navigation-action]) {
|
|
303
|
+
--button-icon-size: var(--toolbar-icon-size);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
:is(.Leading, .Actions) > :where(button, a)[data-uniform]:where(:not([data-disabled], [data-mobile-material="flat"])):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
|
|
307
|
+
--button-mobile-material-background: var(--mobile-glass-background);
|
|
308
|
+
--button-mobile-material-sheen: var(--mobile-glass-sheen);
|
|
309
|
+
--button-mobile-material-shadow: var(--mobile-glass-shadow);
|
|
310
|
+
--button-mobile-material-backdrop-filter: var(--mobile-glass-backdrop-filter);
|
|
311
|
+
--button-mobile-material-opacity: 1;
|
|
312
|
+
--button-mobile-material-scale: 1;
|
|
313
|
+
--button-mobile-material-hover: var(--mobile-glass-background-hover);
|
|
314
|
+
--button-mobile-material-active: var(--mobile-glass-background-active);
|
|
180
315
|
}
|
|
181
316
|
|
|
182
317
|
.Actions {
|
|
183
318
|
grid-column: 3;
|
|
319
|
+
grid-row: 1;
|
|
184
320
|
justify-content: flex-end;
|
|
185
|
-
|
|
321
|
+
justify-self: end;
|
|
322
|
+
min-width: 0;
|
|
186
323
|
padding-left: 8px;
|
|
187
324
|
}
|
|
188
325
|
|
|
326
|
+
/* The footer meets the content scrolled under it by its `background`, as a bottom Toolbar does. Soft:
|
|
327
|
+
the canvas starts 27px above the actions and covers the content fully from their top (native
|
|
328
|
+
iOS 26 bottom bars, IMG_5491). */
|
|
329
|
+
.Footer {
|
|
330
|
+
position: relative;
|
|
331
|
+
z-index: 5;
|
|
332
|
+
background: none;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.Footer::before {
|
|
336
|
+
position: absolute;
|
|
337
|
+
z-index: -1;
|
|
338
|
+
inset: calc(var(--page-footer-padding-top) - 27px) 0 0;
|
|
339
|
+
background: var(--page-background);
|
|
340
|
+
backdrop-filter: blur(var(--toolbar-edge-blur-small));
|
|
341
|
+
content: "";
|
|
342
|
+
-webkit-mask-image: linear-gradient(to bottom, transparent, #000 27px);
|
|
343
|
+
mask-image: linear-gradient(to bottom, transparent, #000 27px);
|
|
344
|
+
pointer-events: none;
|
|
345
|
+
transition: opacity var(--transition-duration-basic), border-color var(--transition-duration-basic);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.Footer:not([data-background="soft"])::before {
|
|
349
|
+
inset: 0;
|
|
350
|
+
backdrop-filter: none;
|
|
351
|
+
-webkit-mask-image: none;
|
|
352
|
+
mask-image: none;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.Footer[data-background="hard"]::before {
|
|
356
|
+
border-top: 1px solid transparent;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.Footer[data-background="glass"]::before {
|
|
360
|
+
border-top: 0.5px solid var(--page-bar-line);
|
|
361
|
+
background: var(--page-bar-veil);
|
|
362
|
+
backdrop-filter: var(--page-bar-glass-filter);
|
|
363
|
+
opacity: 0;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.Footer[data-content-below][data-background="hard"]::before {
|
|
367
|
+
border-top-color: var(--page-bar-hard-line);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.Footer[data-content-below][data-background="glass"]::before {
|
|
371
|
+
opacity: 1;
|
|
372
|
+
}
|
|
373
|
+
|
|
189
374
|
.Content {
|
|
375
|
+
scrollbar-width: none;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.Content::-webkit-scrollbar {
|
|
379
|
+
display: none;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.Content {
|
|
383
|
+
|
|
384
|
+
margin-bottom: calc(-1 * var(--page-bottom));
|
|
385
|
+
padding-bottom: calc(var(--page-content-padding-bottom) + var(--page-bottom));
|
|
386
|
+
scroll-padding-bottom: calc(var(--page-content-padding-bottom) + var(--page-bottom));
|
|
190
387
|
padding-top: calc(var(--page-top) + var(--page-content-padding-top));
|
|
191
388
|
scroll-padding-top: calc(var(--page-top) + var(--page-content-padding-top));
|
|
192
|
-
|
|
389
|
+
}
|
|
193
390
|
}
|
|
194
391
|
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
@layer components {/* One dot for each page, after the iOS 26 kit Page control (507:24679): 8px dots 8px apart in a 24px capsule
|
|
2
|
+
with 12px ends, the current dot in the primary label and the others at 30%. Past the window of full dots two
|
|
3
|
+
dots shrink to 6px (in an 8px slot) and 4px (in a 6px slot). The capsule fills only while a pointer presses or
|
|
4
|
+
scrubs (`automatic`), always (`prominent`) or never (`minimal`), as UIPageControl background styles do. */.PageControl {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
gap: var(--page-control-gap);
|
|
11
|
+
height: var(--page-control-height);
|
|
12
|
+
padding-inline: var(--page-control-padding-inline);
|
|
13
|
+
border-radius: calc(var(--page-control-height) / 2);
|
|
14
|
+
background: transparent;
|
|
15
|
+
vertical-align: middle;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
-moz-user-select: none;
|
|
18
|
+
user-select: none;
|
|
19
|
+
-webkit-user-select: none;
|
|
20
|
+
-webkit-touch-callout: none;
|
|
21
|
+
/* A horizontal drag scrubs; the page still scrolls vertically. */
|
|
22
|
+
touch-action: pan-y;
|
|
23
|
+
-webkit-tap-highlight-color: transparent;
|
|
24
|
+
transition: background-color var(--page-control-transition-duration, 200ms) ease;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.PageControl[data-background="prominent"],
|
|
28
|
+
.PageControl[data-background="automatic"][data-interacting] {
|
|
29
|
+
background: var(--page-control-background);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.PageControl:focus {
|
|
33
|
+
outline: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.PageControl:focus-visible {
|
|
37
|
+
outline: 2px solid var(--color-ring);
|
|
38
|
+
outline-offset: 2px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* The target reaches 44px where the capsule is shorter. */
|
|
42
|
+
.PageControl::after {
|
|
43
|
+
position: absolute;
|
|
44
|
+
inset: min(0px, calc((var(--page-control-height) - var(--page-control-target-size, 0px)) / 2)) 0;
|
|
45
|
+
content: "";
|
|
46
|
+
}.Dot {
|
|
47
|
+
flex-shrink: 0;
|
|
48
|
+
width: var(--page-control-dot-size);
|
|
49
|
+
height: var(--page-control-dot-size);
|
|
50
|
+
border-radius: 50%;
|
|
51
|
+
background: var(--page-control-dot-color);
|
|
52
|
+
transition-property: background-color, width, height, margin;
|
|
53
|
+
transition-duration: var(--page-control-transition-duration, 200ms);
|
|
54
|
+
transition-timing-function: ease;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.Dot[data-current] {
|
|
58
|
+
background: var(--page-control-dot-color-current);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.Dot[data-size="small"] {
|
|
62
|
+
width: var(--page-control-dot-size-small);
|
|
63
|
+
height: var(--page-control-dot-size-small);
|
|
64
|
+
margin-inline: calc((var(--page-control-dot-size) - var(--page-control-dot-size-small)) / 2);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.Dot[data-size="smaller"] {
|
|
68
|
+
width: var(--page-control-dot-size-smaller);
|
|
69
|
+
height: var(--page-control-dot-size-smaller);
|
|
70
|
+
margin-inline: calc((var(--page-control-dot-size-small) - var(--page-control-dot-size-smaller)) / 2);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.Dot[data-size="hidden"] {
|
|
74
|
+
display: none;
|
|
75
|
+
}@media (prefers-reduced-motion: reduce) {
|
|
76
|
+
.PageControl,
|
|
77
|
+
.Dot {
|
|
78
|
+
transition-duration: 0ms;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -60,7 +60,16 @@
|
|
|
60
60
|
transition-duration: var(--motion-exit);
|
|
61
61
|
transition-property: opacity, transform;
|
|
62
62
|
transition-timing-function: var(--cubic-exit-snappy);
|
|
63
|
-
}
|
|
63
|
+
}/* iPhone: the panel takes the phone popover material, the menus' elevated surface in light and their glass
|
|
64
|
+
in dark, and the phone radius. A translucent panel and the DatePicker calendar keep their own surface. */@media (max-width: 767px) {
|
|
65
|
+
.Popover {
|
|
66
|
+
background: var(--popover-mobile-background, var(--color-surface-elevated));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
:where([data-theme="dark"]) .Popover {
|
|
70
|
+
backdrop-filter: var(--popover-mobile-backdrop-filter, none);
|
|
71
|
+
}
|
|
72
|
+
}@keyframes shake {
|
|
64
73
|
0% {
|
|
65
74
|
transform: translateX(0);
|
|
66
75
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}.RadioLabel {
|
|
10
10
|
display: inline-flex;
|
|
11
11
|
flex-direction: row;
|
|
12
|
-
align-items: flex-start;
|
|
12
|
+
align-items: var(--radio-group-label-align, flex-start);
|
|
13
13
|
gap: var(--radio-group-item-gap);
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
font-size: var(--radio-group-item-font-size);
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
display: flex;
|
|
38
38
|
width: 100%;
|
|
39
39
|
}.RadioDescription {
|
|
40
|
-
padding-inline-start: calc(var(--radio-group-indicator-size) + var(--radio-group-item-gap));
|
|
40
|
+
padding-inline-start: calc(var(--radio-group-target-size, var(--radio-group-indicator-size)) + var(--radio-group-item-gap));
|
|
41
41
|
color: var(--color-text-secondary);
|
|
42
|
-
font-size: var(--font-text-xs-size);
|
|
43
|
-
line-height: var(--font-text-xs-line-height);
|
|
42
|
+
font-size: var(--radio-group-description-font-size, var(--font-text-xs-size));
|
|
43
|
+
line-height: var(--radio-group-description-line-height, var(--font-text-xs-line-height));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.RadioItemGroup[data-orientation="right"] .RadioDescription {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
align-items: center;
|
|
56
56
|
justify-content: center;
|
|
57
57
|
flex-shrink: 0;
|
|
58
|
-
height: var(--radio-group-item-line-height);
|
|
58
|
+
height: var(--radio-group-target-size, var(--radio-group-item-line-height));
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/* Radix pushes the inputs off screen in a weird way that
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
align-items: center;
|
|
77
77
|
justify-content: center;
|
|
78
78
|
flex-shrink: 0;
|
|
79
|
-
width: var(--radio-group-indicator-size);
|
|
80
|
-
height: var(--radio-group-indicator-size);
|
|
79
|
+
width: var(--radio-group-target-size, var(--radio-group-indicator-size));
|
|
80
|
+
height: var(--radio-group-target-size, var(--radio-group-indicator-size));
|
|
81
81
|
padding: 0;
|
|
82
82
|
border: none;
|
|
83
83
|
border-radius: var(--radius-full);
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
transition-property: box-shadow;
|
|
89
89
|
transition-timing-function: var(--transition-ease-basic);
|
|
90
90
|
}
|
|
91
|
-
@media (hover: hover) and (pointer: fine) {.RadioItem:where(:not([data-disabled])):hover {
|
|
91
|
+
@media (hover: hover) and (pointer: fine) {.RadioItem:where(:not([data-disabled])):hover:where(:not(:root[data-input="touch"] *)) {
|
|
92
92
|
box-shadow: var(--radio-group-ring, 0 0 0 1px var(--radio-group-indicator-border-color-hover) inset);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
100% {
|
|
156
156
|
opacity: 1;
|
|
157
157
|
}
|
|
158
|
-
}/* The touch stylesheet
|
|
158
|
+
}/* The touch stylesheet uses the same single-selection mark inside and outside Field rows. */.Checkmark {
|
|
159
159
|
display: var(--radio-group-checkmark-display, none);
|
|
160
160
|
grid-area: 1 / 1;
|
|
161
161
|
width: 22px;
|
|
162
162
|
height: 22px;
|
|
163
|
-
color: var(--color-text);
|
|
163
|
+
color: var(--radio-group-checkmark-color, var(--color-text));
|
|
164
164
|
}
|
|
165
165
|
}
|