@plexui/styles 0.3.2 → 0.4.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.
@@ -170,7 +170,7 @@
170
170
  look, and `mobileMaterial="flat"` keeps it in a Toolbar. A group of a field and buttons stays joined anywhere.
171
171
  Without touch.css the glass tokens are unset and the capsule has no fill. */@media (max-width: 767.98px) {
172
172
  /* Every group in a glass context, the row of capsules around nested groups included: no joined edges. */
173
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]), > [data-slot="button-group"] > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
173
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]), > [data-slot="button-group"] > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
174
174
  --button-group-joined-radius: var(--radius-full);
175
175
  --button-group-joined-overlap: 0px;
176
176
  --button-group-joined-clip: none;
@@ -186,7 +186,7 @@
186
186
  }
187
187
 
188
188
  /* The capsule: a group of buttons alone. */
189
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
189
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
190
190
  gap: var(--button-group-glass-gap);
191
191
  padding: 0 var(--button-group-glass-padding);
192
192
  border-radius: var(--radius-full);
@@ -197,28 +197,28 @@
197
197
  }
198
198
 
199
199
  /* One button is a capsule of its own, as Back beside a group. */
200
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))):not(:has(> * + *)) {
200
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))):not(:has(> * + *)) {
201
201
  padding: 0;
202
202
  }
203
203
 
204
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"] {
204
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"] {
205
205
  --button-group-glass-item-size: var(--button-group-glass-vertical-item-size);
206
206
  gap: var(--button-group-glass-vertical-gap);
207
207
  padding: var(--button-group-glass-vertical-padding) 0;
208
208
  }
209
209
 
210
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"]:not(:has(> * + *)) {
210
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"]:not(:has(> * + *)) {
211
211
  padding: 0;
212
212
  }
213
213
 
214
214
  /* The kit's capsule draws no line between its buttons. */
215
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > [data-slot="button-group-separator"] {
215
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > [data-slot="button-group-separator"] {
216
216
  display: none;
217
217
  }
218
218
 
219
219
  /* Each button is a bar button with no surface of its own: the capsule is its glass, and a press tints it. A
220
220
  disabled ButtonLink renders a span with the link role. */
221
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]) {
221
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]) {
222
222
  --button-size: var(--button-group-glass-item-size);
223
223
  --button-uniform-size: var(--button-group-glass-item-size);
224
224
  --button-radius: var(--radius-full);
@@ -229,24 +229,24 @@
229
229
  font-weight: var(--toolbar-label-font-weight);
230
230
  }
231
231
 
232
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-variant="solid"] {
232
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-variant="solid"] {
233
233
  font-weight: var(--toolbar-label-prominent-font-weight);
234
234
  }
235
235
 
236
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action])) {
236
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action])) {
237
237
  --button-icon-size: var(--toolbar-icon-size);
238
238
  }
239
239
 
240
240
  /* A symbol with less ink takes the bar's smaller box, as in Toolbar.Group (see --toolbar-icon-size-sm). */
241
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-icon-size="sm"]:where(:not([data-navigation-action])) {
241
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-icon-size="sm"]:where(:not([data-navigation-action])) {
242
242
  --button-icon-size: var(--toolbar-icon-size-sm);
243
243
  }
244
244
 
245
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action], [data-uniform])) {
245
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action], [data-uniform])) {
246
246
  --button-gutter: var(--button-group-glass-label-gutter);
247
247
  }
248
248
 
249
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-variant="solid"])) {
249
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-variant="solid"])) {
250
250
  --button-mobile-material-background: transparent;
251
251
  --button-mobile-material-sheen: none;
252
252
  --button-mobile-material-shadow: 0 0 #00000000;
@@ -263,7 +263,7 @@
263
263
  }
264
264
 
265
265
  /* A neutral symbol or label is the primary label, as the kit draws it; a disabled one keeps the tertiary. */
266
- .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-color="secondary"]:where(:not([data-disabled], [data-variant="solid"])) {
266
+ .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-color="secondary"]:where(:not([data-disabled], [data-variant="solid"])) {
267
267
  --button-text-color: var(--color-text);
268
268
  --button-text-color-hover: var(--color-text);
269
269
  }
@@ -273,7 +273,7 @@
273
273
  }
274
274
  }
275
275
  /* Every group in a glass context, the row of capsules around nested groups included: no joined edges. */
276
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]), > [data-slot="button-group"] > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
276
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]), > [data-slot="button-group"] > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
277
277
  --button-group-joined-radius: var(--radius-full);
278
278
  --button-group-joined-overlap: 0px;
279
279
  --button-group-joined-clip: none;
@@ -289,7 +289,7 @@
289
289
  }
290
290
 
291
291
  /* The capsule: a group of buttons alone. */
292
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
292
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) {
293
293
  gap: var(--button-group-glass-gap);
294
294
  padding: 0 var(--button-group-glass-padding);
295
295
  border-radius: var(--radius-full);
@@ -300,28 +300,28 @@
300
300
  }
301
301
 
302
302
  /* One button is a capsule of its own, as Back beside a group. */
303
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))):not(:has(> * + *)) {
303
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))):not(:has(> * + *)) {
304
304
  padding: 0;
305
305
  }
306
306
 
307
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"] {
307
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"] {
308
308
  --button-group-glass-item-size: var(--button-group-glass-vertical-item-size);
309
309
  gap: var(--button-group-glass-vertical-gap);
310
310
  padding: var(--button-group-glass-vertical-padding) 0;
311
311
  }
312
312
 
313
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"]:not(:has(> * + *)) {
313
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"])))[data-orientation="vertical"]:not(:has(> * + *)) {
314
314
  padding: 0;
315
315
  }
316
316
 
317
317
  /* The kit's capsule draws no line between its buttons. */
318
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > [data-slot="button-group-separator"] {
318
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > [data-slot="button-group-separator"] {
319
319
  display: none;
320
320
  }
321
321
 
322
322
  /* Each button is a bar button with no surface of its own: the capsule is its glass, and a press tints it. A
323
323
  disabled ButtonLink renders a span with the link role. */
324
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]) {
324
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]) {
325
325
  --button-size: var(--button-group-glass-item-size);
326
326
  --button-uniform-size: var(--button-group-glass-item-size);
327
327
  --button-radius: var(--radius-full);
@@ -332,24 +332,24 @@
332
332
  font-weight: var(--toolbar-label-font-weight);
333
333
  }
334
334
 
335
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-variant="solid"] {
335
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-variant="solid"] {
336
336
  font-weight: var(--toolbar-label-prominent-font-weight);
337
337
  }
338
338
 
339
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action])) {
339
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action])) {
340
340
  --button-icon-size: var(--toolbar-icon-size);
341
341
  }
342
342
 
343
343
  /* A symbol with less ink takes the bar's smaller box, as in Toolbar.Group (see --toolbar-icon-size-sm). */
344
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-icon-size="sm"]:where(:not([data-navigation-action])) {
344
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-icon-size="sm"]:where(:not([data-navigation-action])) {
345
345
  --button-icon-size: var(--toolbar-icon-size-sm);
346
346
  }
347
347
 
348
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action], [data-uniform])) {
348
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-navigation-action], [data-uniform])) {
349
349
  --button-gutter: var(--button-group-glass-label-gutter);
350
350
  }
351
351
 
352
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-variant="solid"])) {
352
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"]):where(:not([data-variant="solid"])) {
353
353
  --button-mobile-material-background: transparent;
354
354
  --button-mobile-material-sheen: none;
355
355
  --button-mobile-material-shadow: 0 0 #00000000;
@@ -366,7 +366,7 @@
366
366
  }
367
367
 
368
368
  /* A neutral symbol or label is the primary label, as the kit draws it; a disabled one keeps the tertiary. */
369
- :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-color="secondary"]:where(:not([data-disabled], [data-variant="solid"])) {
369
+ :where([data-plex-layout="phone"]) .Root:is([data-mobile-material="glass"], [data-mobile-material="glass"] *, [data-toolbar] *, [data-toolbar-row] *):not([data-mobile-material="flat"], [data-mobile-material="flat"] *):not(:has(> [data-slot="button-group"], > :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), [data-slot="input"], [data-slot="input-group"], [data-slot="select-control"]))) > :where(button, a, [role="link"])[data-color="secondary"]:where(:not([data-disabled], [data-variant="solid"])) {
370
370
  --button-text-color: var(--color-text);
371
371
  --button-text-color-hover: var(--color-text);
372
372
  }
@@ -905,8 +905,8 @@
905
905
  /* The bars of a Sheet meet the content scrolled under them by their `background`, as the bars of a
906
906
  phone Toolbar do: by default the soft scroll edge of iOS 26. The material sits on a pseudo-element, so
907
907
  Header does not become a backdrop root: HeaderAction and the sibling Close sample the same content.
908
- Soft: under the header the panel color covers the content to its bottom and fades out past it, as a
909
- Toolbar's soft edge does; over the
908
+ Soft: under the header the scroll edge of a top Toolbar (--page-bar-soft-veil): the panel color through the
909
+ veil over a light blur, and on `::before` the stronger blur that hides the content under the bar; over the
910
910
  footer it starts 27px above the actions (IMG_5491) and covers the content fully from their top, so no text
911
911
  shows through a soft action such as Decline (owner 07.11). */
912
912
  .Content[data-mobile-variant="sheet"] .Header::after,
@@ -923,8 +923,20 @@
923
923
  .Content[data-mobile-variant="sheet"] .Header::after {
924
924
  inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
925
925
  border-radius: var(--dialog-panel-radius);
926
- -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
927
- mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
926
+ -webkit-mask-image: var(--page-bar-soft-veil);
927
+ mask-image: var(--page-bar-soft-veil);
928
+ }
929
+
930
+ .Content[data-mobile-variant="sheet"] .Header[data-background="soft"]::before {
931
+ position: absolute;
932
+ z-index: -1;
933
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
934
+ border-radius: var(--dialog-panel-radius);
935
+ backdrop-filter: blur(var(--page-bar-soft-blur));
936
+ content: "";
937
+ -webkit-mask-image: var(--page-bar-soft-blur-mask);
938
+ mask-image: var(--page-bar-soft-blur-mask);
939
+ pointer-events: none;
928
940
  }
929
941
 
930
942
  .Content[data-mobile-variant="sheet"] .Footer::before {
@@ -951,7 +963,7 @@
951
963
  }
952
964
 
953
965
  .Content[data-mobile-variant="sheet"] .Header[data-background="hard"]::after {
954
- border-bottom: 1px solid transparent;
966
+ border-bottom: 0.5px solid transparent;
955
967
  }
956
968
 
957
969
  .Content[data-mobile-variant="sheet"] .Header[data-background="glass"]::after {
@@ -959,7 +971,7 @@
959
971
  }
960
972
 
961
973
  .Content[data-mobile-variant="sheet"] .Footer[data-background="hard"]::before {
962
- border-top: 1px solid transparent;
974
+ border-top: 0.5px solid transparent;
963
975
  }
964
976
 
965
977
  .Content[data-mobile-variant="sheet"] .Footer[data-background="glass"]::before {
@@ -979,6 +991,56 @@
979
991
  opacity: 1;
980
992
  }
981
993
 
994
+ /* Blur: the blur background of a Toolbar (--page-bar-blur-*), the light blur on the bar's own layer and the heavy
995
+ one on the other, once the body is under the header or continues below the footer. */
996
+ .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]::after,
997
+ .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]::before {
998
+ background: none;
999
+ backdrop-filter: blur(var(--page-bar-blur-light));
1000
+ }
1001
+
1002
+ .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]::after {
1003
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
1004
+ -webkit-mask-image: var(--page-bar-blur-top-mask);
1005
+ mask-image: var(--page-bar-blur-top-mask);
1006
+ }
1007
+
1008
+ .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]::before {
1009
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
1010
+ -webkit-mask-image: var(--page-bar-blur-bottom-mask);
1011
+ mask-image: var(--page-bar-blur-bottom-mask);
1012
+ }
1013
+
1014
+ .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]::before,
1015
+ .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]::after {
1016
+ position: absolute;
1017
+ z-index: -1;
1018
+ backdrop-filter: blur(var(--page-bar-blur-heavy));
1019
+ content: "";
1020
+ pointer-events: none;
1021
+ transition: opacity var(--transition-duration-basic);
1022
+ }
1023
+
1024
+ .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]::before {
1025
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
1026
+ border-radius: var(--dialog-panel-radius);
1027
+ -webkit-mask-image: var(--page-bar-blur-top-heavy-mask);
1028
+ mask-image: var(--page-bar-blur-top-heavy-mask);
1029
+ }
1030
+
1031
+ .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]::after {
1032
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
1033
+ -webkit-mask-image: var(--page-bar-blur-bottom-heavy-mask);
1034
+ mask-image: var(--page-bar-blur-bottom-heavy-mask);
1035
+ }
1036
+
1037
+ .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]:not([data-scrolled])::before,
1038
+ .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]:not([data-scrolled])::after,
1039
+ .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]:not([data-content-below])::before,
1040
+ .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]:not([data-content-below])::after {
1041
+ opacity: 0;
1042
+ }
1043
+
982
1044
  .Content[data-mobile-variant="sheet"] .Footer {
983
1045
  position: relative;
984
1046
  z-index: 2;
@@ -1390,8 +1452,8 @@
1390
1452
  /* The bars of a Sheet meet the content scrolled under them by their `background`, as the bars of a
1391
1453
  phone Toolbar do: by default the soft scroll edge of iOS 26. The material sits on a pseudo-element, so
1392
1454
  Header does not become a backdrop root: HeaderAction and the sibling Close sample the same content.
1393
- Soft: under the header the panel color covers the content to its bottom and fades out past it, as a
1394
- Toolbar's soft edge does; over the
1455
+ Soft: under the header the scroll edge of a top Toolbar (--page-bar-soft-veil): the panel color through the
1456
+ veil over a light blur, and on `::before` the stronger blur that hides the content under the bar; over the
1395
1457
  footer it starts 27px above the actions (IMG_5491) and covers the content fully from their top, so no text
1396
1458
  shows through a soft action such as Decline (owner 07.11). */
1397
1459
  :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header::after,
@@ -1408,8 +1470,20 @@
1408
1470
  :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header::after {
1409
1471
  inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
1410
1472
  border-radius: var(--dialog-panel-radius);
1411
- -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
1412
- mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
1473
+ -webkit-mask-image: var(--page-bar-soft-veil);
1474
+ mask-image: var(--page-bar-soft-veil);
1475
+ }
1476
+
1477
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header[data-background="soft"]::before {
1478
+ position: absolute;
1479
+ z-index: -1;
1480
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
1481
+ border-radius: var(--dialog-panel-radius);
1482
+ backdrop-filter: blur(var(--page-bar-soft-blur));
1483
+ content: "";
1484
+ -webkit-mask-image: var(--page-bar-soft-blur-mask);
1485
+ mask-image: var(--page-bar-soft-blur-mask);
1486
+ pointer-events: none;
1413
1487
  }
1414
1488
 
1415
1489
  :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer::before {
@@ -1436,7 +1510,7 @@
1436
1510
  }
1437
1511
 
1438
1512
  :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header[data-background="hard"]::after {
1439
- border-bottom: 1px solid transparent;
1513
+ border-bottom: 0.5px solid transparent;
1440
1514
  }
1441
1515
 
1442
1516
  :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header[data-background="glass"]::after {
@@ -1444,7 +1518,7 @@
1444
1518
  }
1445
1519
 
1446
1520
  :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer[data-background="hard"]::before {
1447
- border-top: 1px solid transparent;
1521
+ border-top: 0.5px solid transparent;
1448
1522
  }
1449
1523
 
1450
1524
  :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer[data-background="glass"]::before {
@@ -1464,6 +1538,56 @@
1464
1538
  opacity: 1;
1465
1539
  }
1466
1540
 
1541
+ /* Blur: the blur background of a Toolbar (--page-bar-blur-*), the light blur on the bar's own layer and the heavy
1542
+ one on the other, once the body is under the header or continues below the footer. */
1543
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]::after,
1544
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]::before {
1545
+ background: none;
1546
+ backdrop-filter: blur(var(--page-bar-blur-light));
1547
+ }
1548
+
1549
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]::after {
1550
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
1551
+ -webkit-mask-image: var(--page-bar-blur-top-mask);
1552
+ mask-image: var(--page-bar-blur-top-mask);
1553
+ }
1554
+
1555
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]::before {
1556
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
1557
+ -webkit-mask-image: var(--page-bar-blur-bottom-mask);
1558
+ mask-image: var(--page-bar-blur-bottom-mask);
1559
+ }
1560
+
1561
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]::before,
1562
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]::after {
1563
+ position: absolute;
1564
+ z-index: -1;
1565
+ backdrop-filter: blur(var(--page-bar-blur-heavy));
1566
+ content: "";
1567
+ pointer-events: none;
1568
+ transition: opacity var(--transition-duration-basic);
1569
+ }
1570
+
1571
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]::before {
1572
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
1573
+ border-radius: var(--dialog-panel-radius);
1574
+ -webkit-mask-image: var(--page-bar-blur-top-heavy-mask);
1575
+ mask-image: var(--page-bar-blur-top-heavy-mask);
1576
+ }
1577
+
1578
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]::after {
1579
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
1580
+ -webkit-mask-image: var(--page-bar-blur-bottom-heavy-mask);
1581
+ mask-image: var(--page-bar-blur-bottom-heavy-mask);
1582
+ }
1583
+
1584
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]:not([data-scrolled])::before,
1585
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Header[data-background="blur"]:not([data-scrolled])::after,
1586
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]:not([data-content-below])::before,
1587
+ :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer[data-background="blur"]:not([data-content-below])::after {
1588
+ opacity: 0;
1589
+ }
1590
+
1467
1591
  :where([data-plex-layout="phone"]) .Content[data-mobile-variant="sheet"] .Footer {
1468
1592
  position: relative;
1469
1593
  z-index: 2;
@@ -570,15 +570,15 @@
570
570
  pointer-events: none;
571
571
  transition: background-color var(--transition-duration-basic) var(--transition-ease-basic);
572
572
  }@media (max-width: 767px) {
573
- /* A search field (type="search") is the search field of iOS 27.2 that stands in the content: under a large title
574
- (Files, a search tab, UIKit's stacked placement) or at the top of a sheet (Settings, IMG_5834). It takes the
575
- magnifier of a Toolbar's search field (from 14px, as native) and sets its text 1px nearer (from 40.67px:
576
- native 40.7 here, 42.3 in the bar's glass field), Regular, with the placeholder in the secondary label;
577
- `variant="soft" pill` gives it the fill and the capsule. A Toolbar gives its own field the glass of its buttons,
578
- and a row keeps its own value column and placeholder for a search Input in it. */
573
+ /* A search field (type="search") that stands in the content: under a large title or at the top of a sheet. It is
574
+ the search field of a Toolbar, one look wherever it stands (owner 13.11 «почему разный стиль? должно быть
575
+ одинаково везде же так? стекло»): the bar's magnifier (from 14px), its text where the bar's starts, Regular,
576
+ with the placeholder in the secondary label; `variant="soft" pill` gives it the capsule, and touch.css the glass
577
+ of the bar's field in place of the soft fill (iOS 27 draws a flat gray field there, in Files and a search tab:
578
+ the owner chose one look). A row keeps its own value column and placeholder for a search Input in it. */
579
579
  .Container:has(> .Input[type="search"]):not(:where([data-row] *)) {
580
580
  --input-gutter: var(--toolbar-search-gutter);
581
- --input-gap: calc(var(--toolbar-search-icon-gap) - 1px);
581
+ --input-gap: var(--toolbar-search-icon-gap);
582
582
  --input-adornment-offset: 0px;
583
583
  --control-gutter-pill-scaling: 1;
584
584
  --input-placeholder-text-color: var(--toolbar-search-placeholder-color);
@@ -734,15 +734,15 @@
734
734
  height: 19px;
735
735
  }
736
736
  }
737
- /* A search field (type="search") is the search field of iOS 27.2 that stands in the content: under a large title
738
- (Files, a search tab, UIKit's stacked placement) or at the top of a sheet (Settings, IMG_5834). It takes the
739
- magnifier of a Toolbar's search field (from 14px, as native) and sets its text 1px nearer (from 40.67px:
740
- native 40.7 here, 42.3 in the bar's glass field), Regular, with the placeholder in the secondary label;
741
- `variant="soft" pill` gives it the fill and the capsule. A Toolbar gives its own field the glass of its buttons,
742
- and a row keeps its own value column and placeholder for a search Input in it. */
737
+ /* A search field (type="search") that stands in the content: under a large title or at the top of a sheet. It is
738
+ the search field of a Toolbar, one look wherever it stands (owner 13.11 «почему разный стиль? должно быть
739
+ одинаково везде же так? стекло»): the bar's magnifier (from 14px), its text where the bar's starts, Regular,
740
+ with the placeholder in the secondary label; `variant="soft" pill` gives it the capsule, and touch.css the glass
741
+ of the bar's field in place of the soft fill (iOS 27 draws a flat gray field there, in Files and a search tab:
742
+ the owner chose one look). A row keeps its own value column and placeholder for a search Input in it. */
743
743
  :where([data-plex-layout="phone"]) .Container:has(> .Input[type="search"]):not(:where([data-row] *)) {
744
744
  --input-gutter: var(--toolbar-search-gutter);
745
- --input-gap: calc(var(--toolbar-search-icon-gap) - 1px);
745
+ --input-gap: var(--toolbar-search-icon-gap);
746
746
  --input-adornment-offset: 0px;
747
747
  --control-gutter-pill-scaling: 1;
748
748
  --input-placeholder-text-color: var(--toolbar-search-placeholder-color);