@plexui/styles 0.1.46 → 0.2.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.
Files changed (34) hide show
  1. package/dist/es/components/Accordion/Accordion.module.css +54 -1
  2. package/dist/es/components/Alert/Alert.module.css +75 -37
  3. package/dist/es/components/Button/Button.module.css +36 -28
  4. package/dist/es/components/ButtonGroup/ButtonGroup.module.css +15 -3
  5. package/dist/es/components/ColorPicker/ColorPicker.module.css +42 -70
  6. package/dist/es/components/ContextMenu/ContextMenu.module.css +1 -1
  7. package/dist/es/components/DatePicker/Calendar.module.css +16 -14
  8. package/dist/es/components/DateRangePicker/Calendar.module.css +16 -68
  9. package/dist/es/components/Dialog/Dialog.module.css +98 -59
  10. package/dist/es/components/Field/Field.module.css +56 -22
  11. package/dist/es/components/Input/Input.module.css +100 -18
  12. package/dist/es/components/Menu/Menu.module.css +30 -34
  13. package/dist/es/components/Page/Page.module.css +38 -0
  14. package/dist/es/components/Popover/Popover.module.css +10 -11
  15. package/dist/es/components/ProgressSteps/ProgressSteps.module.css +17 -0
  16. package/dist/es/components/RadioGroup/RadioGroup.module.css +7 -3
  17. package/dist/es/components/Select/Select.module.css +300 -38
  18. package/dist/es/components/SelectControl/SelectControl.module.css +34 -10
  19. package/dist/es/components/Sidebar/Sidebar.module.css +4 -2
  20. package/dist/es/components/Slider/Slider.module.css +46 -2
  21. package/dist/es/components/Sortable/Sortable.module.css +3 -2
  22. package/dist/es/components/StatsCard/StatsCard.module.css +269 -0
  23. package/dist/es/components/Stepper/Stepper.module.css +7 -4
  24. package/dist/es/components/SwipeActions/SwipeActions.module.css +32 -17
  25. package/dist/es/components/Switch/Switch.module.css +6 -5
  26. package/dist/es/components/TabBar/TabBar.module.css +128 -12
  27. package/dist/es/components/Tabs/Tabs.module.css +238 -43
  28. package/dist/es/components/Toast/Toast.module.css +4 -3
  29. package/dist/es/components/Toolbar/Toolbar.module.css +92 -58
  30. package/dist/es/styles/mobile-materials.css +65 -24
  31. package/dist/es/styles/touch.css +321 -121
  32. package/dist/es/styles/variables-components.css +236 -124
  33. package/package.json +1 -1
  34. package/dist/es/components/StatCard/StatCard.module.css +0 -234
@@ -54,6 +54,7 @@
54
54
  flex-shrink: 0;
55
55
  width: var(--accordion-icon-size);
56
56
  height: var(--accordion-icon-size);
57
+ margin-inline-end: var(--accordion-icon-margin-inline-end, 0px);
57
58
  color: var(--accordion-icon-color);
58
59
  transition: transform var(--accordion-transition-duration)
59
60
  var(--accordion-transition-ease);
@@ -77,7 +78,10 @@
77
78
  }.ContentInner {
78
79
  min-width: 0;
79
80
  overflow-wrap: anywhere;
81
+ padding-top: var(--accordion-content-padding-top, 0px);
80
82
  padding-bottom: var(--accordion-content-padding-bottom);
83
+ padding-inline-start: var(--accordion-content-padding-inline-start, 0px);
84
+ border-top: var(--accordion-content-divider-width, 0px) solid var(--accordion-item-divider-color);
81
85
  }@keyframes accordion-down {
82
86
  from {
83
87
  height: 0;
@@ -94,7 +98,33 @@
94
98
  }
95
99
  }/* On a phone, with touch.css, the chevron of a closed item points to the end, as the iOS disclosure chevron
96
100
  (chevron.right) does, and turns down when the item opens: --accordion-chevron-closed-angle -90deg (mirrored for
97
- right to left) and --accordion-chevron-open-angle 0deg. Without touch.css it keeps the desktop turn. */@media (max-width: 767px) {
101
+ right to left) and --accordion-chevron-open-angle 0deg. Without touch.css it keeps the desktop turn.
102
+ Under an open item the separator starts where its content does, as under the last row a DisclosureGroup
103
+ holds (iOS 27.2): the border turns clear and the item's background draws the line in its place. It holds while
104
+ the content is shown, through the closing animation too (the content stays until it ends, then hides). */@media (max-width: 767px) {
105
+ .Item:not(:last-child):has(> .Content:not([hidden])) {
106
+ border-bottom-color: transparent;
107
+ background: linear-gradient(var(--accordion-item-divider-color) 0 0) border-box no-repeat 100% 100% /
108
+ calc(100% - var(--accordion-content-padding-inline-start, 0px)) var(--accordion-item-divider-width);
109
+ }
110
+
111
+ .Item:not(:last-child):has(> .Content:not([hidden])):dir(rtl) {
112
+ background-position: 0 100%;
113
+ }
114
+
115
+ /* The content still clips what is wider than the row, but 2px past its end: a nested item's chevron reaches
116
+ 1px past the end, as the top one does. The text keeps its width. */
117
+ .Content {
118
+ margin-inline-end: -2px;
119
+ padding-inline-end: 2px;
120
+ }
121
+
122
+ /* An Accordion alone in the content is rows, as a DisclosureGroup nested in one: they stand right under the
123
+ separator and over the next, with no padding of text around them. */
124
+ .ContentInner:has(> .Root:only-child) {
125
+ padding-block: 0;
126
+ }
127
+
98
128
  .Chevron {
99
129
  transform: rotate(var(--accordion-chevron-closed-angle, 0deg));
100
130
  }
@@ -107,6 +137,29 @@
107
137
  transform: rotate(var(--accordion-chevron-open-angle, 180deg));
108
138
  }
109
139
  }
140
+ :where([data-plex-layout="phone"]) .Item:not(:last-child):has(> .Content:not([hidden])) {
141
+ border-bottom-color: transparent;
142
+ background: linear-gradient(var(--accordion-item-divider-color) 0 0) border-box no-repeat 100% 100% /
143
+ calc(100% - var(--accordion-content-padding-inline-start, 0px)) var(--accordion-item-divider-width);
144
+ }
145
+
146
+ :where([data-plex-layout="phone"]) .Item:not(:last-child):has(> .Content:not([hidden])):dir(rtl) {
147
+ background-position: 0 100%;
148
+ }
149
+
150
+ /* The content still clips what is wider than the row, but 2px past its end: a nested item's chevron reaches
151
+ 1px past the end, as the top one does. The text keeps its width. */
152
+ :where([data-plex-layout="phone"]) .Content {
153
+ margin-inline-end: -2px;
154
+ padding-inline-end: 2px;
155
+ }
156
+
157
+ /* An Accordion alone in the content is rows, as a DisclosureGroup nested in one: they stand right under the
158
+ separator and over the next, with no padding of text around them. */
159
+ :where([data-plex-layout="phone"]) .ContentInner:has(> .Root:only-child) {
160
+ padding-block: 0;
161
+ }
162
+
110
163
  :where([data-plex-layout="phone"]) .Chevron {
111
164
  transform: rotate(var(--accordion-chevron-closed-angle, 0deg));
112
165
  }
@@ -209,23 +209,27 @@
209
209
  }/* The close button of a phone alert (below) */.Alert > .CloseButton {
210
210
  display: none;
211
211
  }/* On a phone an Alert takes the shape and text of an iOS inline tip (TipKit), the system's message
212
- inside a screen (kit TipKit, iOS Mini Tip Style=Hint 41:4207): 26 corners, 22 above and 16 at the
213
- sides and below (22 below as well when no action shows), the icon 22 from the edge and 12 from the message, the title at 17/22 semibold and
214
- the description at 15/20 4 under it, 22 to the actions, and the actions as 50px capsules with 17/22
215
- semibold labels (a phone xl Button in touch.css), side by side 12 apart, each at least half the width,
216
- wrapping when a label needs more. A dismissible alert closes with a 30px button in its corner, 19 from
217
- the edges, in a 44px target, instead of a Dismiss action. The alert keeps its icon, colors and variants; a banner keeps
218
- its square strip. */@media (max-width: 767px) {
212
+ inside a screen, as a TipView draws it in the iOS 27.2 simulator (owner 11.11: the text and the icon on one
213
+ line; ref-app screen `tip`): 26 corners; the title at 17/22 semibold, 17 from the top, and the description
214
+ at 15/20 2 under it, the text ending 21 above the edge; 18 from the message to the actions. The icon leads
215
+ the message as an icon leads an iOS row (owner 11.11: «она не должна быть огромной… как устроены rows с
216
+ иконками?»), not as the simulator's TipView draws its 38pt glyph: a 22px icon centred in a 30 column at the
217
+ row's inset, on the first line, and the text 14 after the column (Calendar's rows, IMG_5434, as the docs'
218
+ icon rows draw them); the actions as 50px capsules with 17/22 semibold labels
219
+ (a phone xl Button in touch.css), 16 from the sides and the edge, side by side 8 apart, each at least half
220
+ the width, wrapping when a label needs more. A dismissible alert closes with a 26px button 14 from the top
221
+ and the side, in a 44px target, instead of a Dismiss action; the first line of text stops short of it. The
222
+ alert keeps its icon, colors and variants; a banner keeps its square strip. */@media (max-width: 767px) {
219
223
  .Alert {
220
224
  position: relative;
221
225
  flex-wrap: wrap;
222
226
  align-items: flex-start;
223
- -moz-column-gap: 12px;
224
- column-gap: 12px;
225
- row-gap: 22px;
226
- padding: 22px 16px;
227
+ -moz-column-gap: 8px;
228
+ column-gap: 8px;
229
+ row-gap: 18px;
230
+ padding: 17px 16px;
227
231
  border-radius: 26px;
228
- --alert-indicator-size: 28px;
232
+ --alert-indicator-size: 22px;
229
233
  }
230
234
 
231
235
  .Alert:has(> .Content > .Actions > :not(.DismissButton)) {
@@ -241,14 +245,24 @@
241
245
  display: contents;
242
246
  }
243
247
 
248
+ /* TipKit's own layout of a 22pt image (TipView with tipImageSize 22, iOS 27.2 simulator; owner 11.11: the 30pt
249
+ column of a list row left too much room around it): the image 22 from the edge, the text 12 after it, at 56; and
250
+ as low against the title as there, 20 from the top of the card in Safari of the same simulator, with 20 under it
251
+ beside a title alone */
244
252
  .Indicator {
245
- padding-inline-start: 6px;
253
+ padding-inline: 6px 4px;
254
+ margin-block: 5px;
246
255
  }
247
256
 
248
257
  .Indicator::before {
249
258
  content: none;
250
259
  }
251
260
 
261
+ /* A title alone stands on the middle of the image, as TipKit centres it, 20 from the top and the bottom */
262
+ .Indicator + .Content > .Message:not(:has(> .Description)) {
263
+ align-self: center;
264
+ }
265
+
252
266
  .Message {
253
267
  padding-inline-start: 6px;
254
268
  }
@@ -257,23 +271,30 @@
257
271
  padding-inline-start: 0;
258
272
  }
259
273
 
260
- .Alert:has(> .CloseButton) .Message {
274
+ .Alert:has(> .CloseButton) .Message > :first-child {
261
275
  padding-inline-end: 34px;
262
276
  }
263
277
 
278
+ /* Lines break as iOS breaks them, as many words as fit (a TipView leaves one word on its last line) */
279
+ .Title,
280
+ .Description {
281
+ text-wrap: wrap;
282
+ }
283
+
264
284
  .Title {
265
285
  font-size: 17px;
266
286
  line-height: 22px;
267
287
  }
268
288
 
269
289
  .Title ~ .Description {
270
- margin-top: 4px;
290
+ margin-top: 2px;
291
+ margin-bottom: 4px;
271
292
  }
272
293
 
273
294
  .Actions {
274
295
  flex: 1 0 100%;
275
296
  flex-flow: row wrap;
276
- gap: 10px 12px;
297
+ gap: 8px;
277
298
  align-self: stretch;
278
299
  margin: 0;
279
300
  }
@@ -290,7 +311,7 @@
290
311
  --button-gutter: var(--button-gutter-xl, 20px);
291
312
  --button-radius: var(--radius-full);
292
313
  flex: 1 0 auto;
293
- min-width: calc(50% - 6px);
314
+ min-width: calc(50% - 4px);
294
315
  max-width: 100%;
295
316
  min-height: var(--button-size-xl, 50px);
296
317
  height: auto;
@@ -304,31 +325,31 @@
304
325
  display: none;
305
326
  }
306
327
 
307
- /* A 44px target with its 30px circle (the background and the focus ring) 19 from the edges */
328
+ /* A 44px target with its 26px circle (the background and the focus ring) 14 from the edges, its cross 10.5 */
308
329
  .Alert > .CloseButton {
309
330
  --button-uniform-size: 44px;
310
- --button-icon-size: 16px;
331
+ --button-icon-size: 19px;
311
332
  position: absolute;
312
- top: 12px;
313
- inset-inline-end: 12px;
333
+ top: 5px;
334
+ inset-inline-end: 5px;
314
335
  display: inline-flex;
315
336
  }
316
337
 
317
338
  .Alert > .CloseButton::before,
318
339
  .Alert > .CloseButton::after {
319
- inset: 7px;
340
+ inset: 9px;
320
341
  }
321
342
  }
322
343
  :where([data-plex-layout="phone"]) .Alert {
323
344
  position: relative;
324
345
  flex-wrap: wrap;
325
346
  align-items: flex-start;
326
- -moz-column-gap: 12px;
327
- column-gap: 12px;
328
- row-gap: 22px;
329
- padding: 22px 16px;
347
+ -moz-column-gap: 8px;
348
+ column-gap: 8px;
349
+ row-gap: 18px;
350
+ padding: 17px 16px;
330
351
  border-radius: 26px;
331
- --alert-indicator-size: 28px;
352
+ --alert-indicator-size: 22px;
332
353
  }
333
354
 
334
355
  :where([data-plex-layout="phone"]) .Alert:has(> .Content > .Actions > :not(.DismissButton)) {
@@ -344,14 +365,24 @@
344
365
  display: contents;
345
366
  }
346
367
 
368
+ /* TipKit's own layout of a 22pt image (TipView with tipImageSize 22, iOS 27.2 simulator; owner 11.11: the 30pt
369
+ column of a list row left too much room around it): the image 22 from the edge, the text 12 after it, at 56; and
370
+ as low against the title as there, 20 from the top of the card in Safari of the same simulator, with 20 under it
371
+ beside a title alone */
347
372
  :where([data-plex-layout="phone"]) .Indicator {
348
- padding-inline-start: 6px;
373
+ padding-inline: 6px 4px;
374
+ margin-block: 5px;
349
375
  }
350
376
 
351
377
  :where([data-plex-layout="phone"]) .Indicator::before {
352
378
  content: none;
353
379
  }
354
380
 
381
+ /* A title alone stands on the middle of the image, as TipKit centres it, 20 from the top and the bottom */
382
+ :where([data-plex-layout="phone"]) .Indicator + .Content > .Message:not(:has(> .Description)) {
383
+ align-self: center;
384
+ }
385
+
355
386
  :where([data-plex-layout="phone"]) .Message {
356
387
  padding-inline-start: 6px;
357
388
  }
@@ -360,23 +391,30 @@
360
391
  padding-inline-start: 0;
361
392
  }
362
393
 
363
- :where([data-plex-layout="phone"]) .Alert:has(> .CloseButton) .Message {
394
+ :where([data-plex-layout="phone"]) .Alert:has(> .CloseButton) .Message > :first-child {
364
395
  padding-inline-end: 34px;
365
396
  }
366
397
 
398
+ /* Lines break as iOS breaks them, as many words as fit (a TipView leaves one word on its last line) */
399
+ :where([data-plex-layout="phone"]) .Title,
400
+ :where([data-plex-layout="phone"]) .Description {
401
+ text-wrap: wrap;
402
+ }
403
+
367
404
  :where([data-plex-layout="phone"]) .Title {
368
405
  font-size: 17px;
369
406
  line-height: 22px;
370
407
  }
371
408
 
372
409
  :where([data-plex-layout="phone"]) .Title ~ .Description {
373
- margin-top: 4px;
410
+ margin-top: 2px;
411
+ margin-bottom: 4px;
374
412
  }
375
413
 
376
414
  :where([data-plex-layout="phone"]) .Actions {
377
415
  flex: 1 0 100%;
378
416
  flex-flow: row wrap;
379
- gap: 10px 12px;
417
+ gap: 8px;
380
418
  align-self: stretch;
381
419
  margin: 0;
382
420
  }
@@ -393,7 +431,7 @@
393
431
  --button-gutter: var(--button-gutter-xl, 20px);
394
432
  --button-radius: var(--radius-full);
395
433
  flex: 1 0 auto;
396
- min-width: calc(50% - 6px);
434
+ min-width: calc(50% - 4px);
397
435
  max-width: 100%;
398
436
  min-height: var(--button-size-xl, 50px);
399
437
  height: auto;
@@ -407,18 +445,18 @@
407
445
  display: none;
408
446
  }
409
447
 
410
- /* A 44px target with its 30px circle (the background and the focus ring) 19 from the edges */
448
+ /* A 44px target with its 26px circle (the background and the focus ring) 14 from the edges, its cross 10.5 */
411
449
  :where([data-plex-layout="phone"]) .Alert > .CloseButton {
412
450
  --button-uniform-size: 44px;
413
- --button-icon-size: 16px;
451
+ --button-icon-size: 19px;
414
452
  position: absolute;
415
- top: 12px;
416
- inset-inline-end: 12px;
453
+ top: 5px;
454
+ inset-inline-end: 5px;
417
455
  display: inline-flex;
418
456
  }
419
457
 
420
458
  :where([data-plex-layout="phone"]) .Alert > .CloseButton::before,
421
459
  :where([data-plex-layout="phone"]) .Alert > .CloseButton::after {
422
- inset: 7px;
460
+ inset: 9px;
423
461
  }
424
462
  }
@@ -116,7 +116,7 @@
116
116
  --button-gutter: var(--button-gutter-3xs, var(--control-gutter-2xs));
117
117
  --button-font-size: var(--button-font-size-3xs, var(--control-font-size-sm));
118
118
  --button-icon-size: var(--button-icon-size-3xs, var(--control-icon-size-xs));
119
- --button-gap: var(--button-gap-sm);
119
+ --button-gap: var(--button-touch-gap-sm, var(--button-gap-sm));
120
120
  --button-radius: var(--button-touch-radius, var(--control-radius-sm));
121
121
  --button-icon-offset: -1px;
122
122
  --indicator-size: var(--button-indicator-size-3xs, 11px);
@@ -161,8 +161,8 @@
161
161
  --button-gap: var(--button-touch-gap-sm, var(--button-gap-md));
162
162
  --button-radius: var(--button-touch-radius, var(--control-radius-sm));
163
163
  --button-icon-offset: -1px;
164
- --indicator-size: 15px;
165
- --circular-progress-size: 15px;
164
+ --indicator-size: var(--button-indicator-size-sm, 15px);
165
+ --circular-progress-size: var(--button-indicator-size-sm, 15px);
166
166
  }
167
167
 
168
168
  .Button:where([data-size="md"]) {
@@ -171,12 +171,12 @@
171
171
  --button-line-height: var(--button-line-height-md, 1);
172
172
  --button-gutter: var(--button-gutter-md, var(--control-gutter-md));
173
173
  --button-font-size: var(--button-font-size-md, var(--control-font-size-md));
174
- --button-icon-size: var(--control-icon-size-md);
175
- --button-gap: var(--button-gap-lg);
174
+ --button-icon-size: var(--button-icon-size-md, var(--control-icon-size-md));
175
+ --button-gap: var(--button-touch-gap, var(--button-gap-lg));
176
176
  --button-radius: var(--button-touch-radius, var(--control-radius-md));
177
177
  --button-icon-offset: -1px;
178
- --indicator-size: 16px;
179
- --circular-progress-size: 16px;
178
+ --indicator-size: var(--button-indicator-size-md, 16px);
179
+ --circular-progress-size: var(--button-indicator-size-md, 16px);
180
180
  }
181
181
 
182
182
  .Button:where([data-size="lg"]) {
@@ -185,12 +185,12 @@
185
185
  --button-line-height: var(--button-line-height-lg, 1);
186
186
  --button-gutter: var(--button-gutter-lg, var(--control-gutter-md));
187
187
  --button-font-size: var(--button-font-size-lg, var(--control-font-size-md));
188
- --button-icon-size: var(--control-icon-size-md);
189
- --button-gap: var(--button-gap-lg);
188
+ --button-icon-size: var(--button-icon-size-lg, var(--control-icon-size-md));
189
+ --button-gap: var(--button-touch-gap, var(--button-gap-lg));
190
190
  --button-radius: var(--button-touch-radius, var(--control-radius-lg));
191
191
  --button-icon-offset: -1px;
192
- --indicator-size: 16px;
193
- --circular-progress-size: 16px;
192
+ --indicator-size: var(--button-indicator-size-lg, 16px);
193
+ --circular-progress-size: var(--button-indicator-size-lg, 16px);
194
194
  }
195
195
 
196
196
  .Button:where([data-size="xl"]) {
@@ -200,11 +200,11 @@
200
200
  --button-gutter: var(--button-gutter-xl, var(--control-gutter-lg));
201
201
  --button-font-size: var(--button-font-size-xl, var(--control-font-size-md));
202
202
  --button-icon-size: var(--button-icon-size-xl, var(--control-icon-size-md));
203
- --button-gap: var(--button-gap-lg);
203
+ --button-gap: var(--button-touch-gap, var(--button-gap-lg));
204
204
  --button-radius: var(--button-touch-radius, var(--control-radius-xl));
205
205
  --button-icon-offset: -1px;
206
- --indicator-size: 18px;
207
- --circular-progress-size: 18px;
206
+ --indicator-size: var(--button-indicator-size-xl, 18px);
207
+ --circular-progress-size: var(--button-indicator-size-xl, 18px);
208
208
  }
209
209
 
210
210
  .Button:where([data-size="2xl"]) {
@@ -214,11 +214,11 @@
214
214
  --button-gutter: var(--button-gutter-2xl, var(--control-gutter-lg));
215
215
  --button-font-size: var(--button-font-size-2xl, var(--control-font-size-lg));
216
216
  --button-icon-size: var(--control-icon-size-lg);
217
- --button-gap: var(--button-gap-lg);
217
+ --button-gap: var(--button-touch-gap, var(--button-gap-lg));
218
218
  --button-radius: var(--button-touch-radius, var(--control-radius-xl));
219
219
  --button-icon-offset: -2px;
220
- --indicator-size: 18px;
221
- --circular-progress-size: 18px;
220
+ --indicator-size: var(--button-indicator-size-2xl, 18px);
221
+ --circular-progress-size: var(--button-indicator-size-2xl, 18px);
222
222
  }
223
223
 
224
224
  .Button:where([data-size="3xl"]) {
@@ -228,11 +228,11 @@
228
228
  --button-gutter: var(--button-gutter-3xl, var(--control-gutter-xl));
229
229
  --button-font-size: var(--button-font-size-3xl, var(--control-font-size-lg));
230
230
  --button-icon-size: var(--control-icon-size-lg);
231
- --button-gap: var(--button-gap-lg);
231
+ --button-gap: var(--button-touch-gap, var(--button-gap-lg));
232
232
  --button-radius: var(--button-touch-radius, var(--control-radius-xl));
233
233
  --button-icon-offset: -2px;
234
- --indicator-size: 20px;
235
- --circular-progress-size: 20px;
234
+ --indicator-size: var(--button-indicator-size-3xl, 20px);
235
+ --circular-progress-size: var(--button-indicator-size-3xl, 20px);
236
236
  }
237
237
 
238
238
  /* =============================================
@@ -941,8 +941,8 @@
941
941
  }
942
942
 
943
943
  /* A glass text button is the Liquid Glass text button of the iOS 27 kit (Button - Liquid Glass - Text 5473:21667):
944
- its label is Medium, and 17px from the medium (34px) size up, where a content-area button keeps Regular 15px
945
- at 28 and 34 (Button - Content Area 40:58696). With touch.css, as the glass itself; disabled ones keep it. */
944
+ its label is Medium, 17px from the medium (34px) size up, as a content-area button's is there (iOS 27.2);
945
+ the small one keeps 15px. With touch.css, as the glass itself; disabled ones keep it. */
946
946
  .Button[data-mobile-material="glass"]:where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
947
947
  font-weight: var(--button-glass-font-weight, var(--button-font-weight));
948
948
  }
@@ -954,9 +954,13 @@
954
954
 
955
955
  /* A disabled button labels in the tertiary label, as the iOS 27 kit's content-area button (Button - Content Area
956
956
  40:58696, Is Enabled=False: 60,60,67 at 30%, 196 on white, in every style, destructive too), where the desktop
957
- gray-400 read 143. Its fill stays the disabled fill (the kit's 118,118,128 at 12% is 239 on white, alpha-05
958
- 242) and a borderless one has none. Toolbar actions keep the colors of their bar (Toolbar.module.css). */
957
+ gray-400 read 143. With touch.css its fill is the gray of an enabled gray button, as iOS 27.2 draws a disabled
958
+ bordered or prominent button (233 on white and 38 on black, the fill of a bordered one; our gray is 236 and
959
+ 42), not the paler desktop disabled fill (243). A ghost button has none, as a borderless one, and an outline
960
+ one keeps its border with no fill (Plex UI's own style, with no iOS counterpart). Toolbar actions keep the
961
+ colors of their bar (Toolbar.module.css). */
959
962
  .Button[data-disabled][data-variant] {
963
+ --button-background-color: var(--button-mobile-disabled-background, var(--color-background-disabled));
960
964
  --button-text-color: var(--mobile-label-tertiary, var(--color-text-disabled));
961
965
  }
962
966
 
@@ -1002,8 +1006,8 @@
1002
1006
  }
1003
1007
 
1004
1008
  /* A glass text button is the Liquid Glass text button of the iOS 27 kit (Button - Liquid Glass - Text 5473:21667):
1005
- its label is Medium, and 17px from the medium (34px) size up, where a content-area button keeps Regular 15px
1006
- at 28 and 34 (Button - Content Area 40:58696). With touch.css, as the glass itself; disabled ones keep it. */
1009
+ its label is Medium, 17px from the medium (34px) size up, as a content-area button's is there (iOS 27.2);
1010
+ the small one keeps 15px. With touch.css, as the glass itself; disabled ones keep it. */
1007
1011
  :where([data-plex-layout="phone"]) .Button[data-mobile-material="glass"]:where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
1008
1012
  font-weight: var(--button-glass-font-weight, var(--button-font-weight));
1009
1013
  }
@@ -1015,9 +1019,13 @@
1015
1019
 
1016
1020
  /* A disabled button labels in the tertiary label, as the iOS 27 kit's content-area button (Button - Content Area
1017
1021
  40:58696, Is Enabled=False: 60,60,67 at 30%, 196 on white, in every style, destructive too), where the desktop
1018
- gray-400 read 143. Its fill stays the disabled fill (the kit's 118,118,128 at 12% is 239 on white, alpha-05
1019
- 242) and a borderless one has none. Toolbar actions keep the colors of their bar (Toolbar.module.css). */
1022
+ gray-400 read 143. With touch.css its fill is the gray of an enabled gray button, as iOS 27.2 draws a disabled
1023
+ bordered or prominent button (233 on white and 38 on black, the fill of a bordered one; our gray is 236 and
1024
+ 42), not the paler desktop disabled fill (243). A ghost button has none, as a borderless one, and an outline
1025
+ one keeps its border with no fill (Plex UI's own style, with no iOS counterpart). Toolbar actions keep the
1026
+ colors of their bar (Toolbar.module.css). */
1020
1027
  :where([data-plex-layout="phone"]) .Button[data-disabled][data-variant] {
1028
+ --button-background-color: var(--button-mobile-disabled-background, var(--color-background-disabled));
1021
1029
  --button-text-color: var(--mobile-label-tertiary, var(--color-text-disabled));
1022
1030
  }
1023
1031
 
@@ -162,9 +162,9 @@
162
162
 
163
163
  .Root > .Separator[data-orientation="vertical"] {
164
164
  height: auto;
165
- }/* A glass group on a phone: the Button Group of the iOS 27 kit (Toolbars 507:25993, _Buttons - 44pt and 48pt,
166
- Type=Button Group), as the top and bottom bars of Notes hold their symbols (IMG_5734, 5736: Back alone, then
167
- one capsule of three symbols). A group in a Toolbar is one by itself, the same capsule as Toolbar.Group;
165
+ }/* A glass group on a phone: the capsule in which iOS 27.2 groups a bar's symbols, on top and at the bottom, and as a
166
+ column the Button Group of the iOS 27 kit (Toolbars 507:25993, _Buttons - 48pt), as the top and bottom bars of
167
+ Notes hold their symbols (IMG_5734, 5736: Back alone, then one capsule of three symbols). A group in a Toolbar is one by itself, the same capsule as Toolbar.Group;
168
168
  elsewhere `mobileMaterial="glass"` asks for it, for controls that float over the content, as the column of map
169
169
  controls. Liquid Glass belongs to the controls over the content, so a group in the content keeps its joined
170
170
  look, and `mobileMaterial="flat"` keeps it in a Toolbar. A group of a field and buttons stays joined anywhere.
@@ -225,6 +225,12 @@
225
225
  --button-font-size: var(--toolbar-label-font-size);
226
226
  --button-line-height: var(--toolbar-label-line-height);
227
227
  --button-font-weight: var(--toolbar-label-font-weight);
228
+ /* On the button itself, past touch.css's semibold (Toolbar.module.css); a solid one semibold */
229
+ font-weight: var(--toolbar-label-font-weight);
230
+ }
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"] {
233
+ font-weight: var(--toolbar-label-prominent-font-weight);
228
234
  }
229
235
 
230
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])) {
@@ -322,6 +328,12 @@
322
328
  --button-font-size: var(--toolbar-label-font-size);
323
329
  --button-line-height: var(--toolbar-label-line-height);
324
330
  --button-font-weight: var(--toolbar-label-font-weight);
331
+ /* On the button itself, past touch.css's semibold (Toolbar.module.css); a solid one semibold */
332
+ font-weight: var(--toolbar-label-font-weight);
333
+ }
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"] {
336
+ font-weight: var(--toolbar-label-prominent-font-weight);
325
337
  }
326
338
 
327
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])) {