@plexui/styles 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/Alert/Alert.module.css +4 -2
- package/dist/es/components/Avatar/AvatarGroup.module.css +3 -3
- package/dist/es/components/Badge/Badge.module.css +1 -1
- package/dist/es/components/Button/Button.module.css +4 -3
- package/dist/es/components/ButtonGroup/ButtonGroup.module.css +40 -36
- package/dist/es/components/Dialog/Dialog.module.css +69 -28
- package/dist/es/components/EmptyMessage/EmptyMessage.module.css +43 -16
- package/dist/es/components/Field/Field.module.css +72 -14
- package/dist/es/components/FieldGroup/FieldGroup.module.css +189 -12
- package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +1 -1
- package/dist/es/components/Menu/Menu.module.css +12 -0
- package/dist/es/components/Page/Page.module.css +6 -6
- package/dist/es/components/Popover/Popover.module.css +1 -1
- package/dist/es/components/Select/Select.module.css +6 -0
- package/dist/es/components/Sidebar/Sidebar.module.css +3 -1
- package/dist/es/components/Slider/Slider.module.css +65 -1
- package/dist/es/components/Sortable/Sortable.module.css +14 -1
- package/dist/es/components/Tabs/Tabs.module.css +13 -28
- package/dist/es/components/Toast/Toast.module.css +10 -9
- package/dist/es/components/Toolbar/Toolbar.module.css +14 -12
- package/dist/es/styles/touch.css +117 -54
- package/dist/es/styles/variables-components.css +11 -0
- package/dist/es/styles/variables-primitive.css +1 -0
- package/package.json +1 -1
|
@@ -459,8 +459,11 @@ background: var(--gray-25);
|
|
|
459
459
|
margin-inline: var(--menu-check-icon-offset, 2px) 0;
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
+
/* An iOS list draws no scroller as it opens: a browser flashes its overlay scrollbar on a scroller that appears,
|
|
463
|
+
for a second on every open. The list still scrolls by touch, wheel and keys. */
|
|
462
464
|
.OptionsList {
|
|
463
465
|
min-height: 0;
|
|
466
|
+
scrollbar-width: none;
|
|
464
467
|
}
|
|
465
468
|
|
|
466
469
|
/* A row is 42pt, as a menu row is (Menu.module.css) and the rows of a picker's pop-up menu are (ref-app pickers,
|
|
@@ -738,8 +741,11 @@ background: var(--gray-25);
|
|
|
738
741
|
margin-inline: var(--menu-check-icon-offset, 2px) 0;
|
|
739
742
|
}
|
|
740
743
|
|
|
744
|
+
/* An iOS list draws no scroller as it opens: a browser flashes its overlay scrollbar on a scroller that appears,
|
|
745
|
+
for a second on every open. The list still scrolls by touch, wheel and keys. */
|
|
741
746
|
:where([data-plex-layout="phone"]) .OptionsList {
|
|
742
747
|
min-height: 0;
|
|
748
|
+
scrollbar-width: none;
|
|
743
749
|
}
|
|
744
750
|
|
|
745
751
|
/* A row is 42pt, as a menu row is (Menu.module.css) and the rows of a picker's pop-up menu are (ref-app pickers,
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
width: 32px;
|
|
54
54
|
height: 32px;
|
|
55
55
|
flex-shrink: 0;
|
|
56
|
-
}
|
|
56
|
+
}/* The logo's text, in a wrapper that holds no trigger. The span asks its own siblings (:has on the subject is cheap):
|
|
57
|
+
a :has() on the wrapper, left of a subject of a tag alone, makes every change to the page restyle much of it. A
|
|
58
|
+
title keeps its own rule (.HeaderTitle). */:global([data-sidebar="collapsed"]) .Header > div > span:not(.HeaderTitle, .Trigger ~ *, :has(~ .Trigger, ~ * .Trigger)) {
|
|
57
59
|
opacity: 0;
|
|
58
60
|
pointer-events: none;
|
|
59
61
|
}/* Header title text - hidden when collapsed */.HeaderTitle {
|
|
@@ -209,7 +209,61 @@
|
|
|
209
209
|
}.SliderContainer {
|
|
210
210
|
position: relative;
|
|
211
211
|
width: 100%;
|
|
212
|
-
}
|
|
212
|
+
}/* Symbols at the ends of the track, as a slider of iOS Settings draws its minimum and maximum images (a small and a
|
|
213
|
+
large A, a speaker and a louder one): they stand beside the track, centred on it, and the marks run under the track
|
|
214
|
+
alone. The container becomes the middle column of a grid whose first row the slider sets. With no box of its own
|
|
215
|
+
it can't be the query container the phone thumb measures the track against (a subgrid can't be one either: a
|
|
216
|
+
size container is laid out on its own), so there the slider is that container (below). Horizontal only. */.SliderAdorned {
|
|
217
|
+
display: grid;
|
|
218
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
219
|
+
-moz-column-gap: var(--slider-adornment-gap, 10px);
|
|
220
|
+
column-gap: var(--slider-adornment-gap, 10px);
|
|
221
|
+
width: 100%;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.SliderAdorned > .SliderContainer {
|
|
225
|
+
display: contents;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.SliderAdorned .Slider {
|
|
229
|
+
grid-column: 2;
|
|
230
|
+
grid-row: 1;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.SliderAdorned .MarksContainer {
|
|
234
|
+
grid-column: 2;
|
|
235
|
+
grid-row: 2;
|
|
236
|
+
}.Adornment {
|
|
237
|
+
display: inline-flex;
|
|
238
|
+
grid-row: 1;
|
|
239
|
+
align-items: center;
|
|
240
|
+
justify-content: center;
|
|
241
|
+
/* The slider holds its padding under the track: the symbols stand level with the track, not the box */
|
|
242
|
+
padding-bottom: var(--slider-padding-bottom, 6px);
|
|
243
|
+
color: var(--slider-adornment-color, var(--color-text-secondary));
|
|
244
|
+
font-size: var(--slider-adornment-font-size, var(--font-text-sm-size));
|
|
245
|
+
line-height: 1;
|
|
246
|
+
-webkit-user-select: none;
|
|
247
|
+
-moz-user-select: none;
|
|
248
|
+
user-select: none;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.Adornment > svg {
|
|
252
|
+
width: var(--slider-adornment-icon-size, 20px);
|
|
253
|
+
height: var(--slider-adornment-icon-size, 20px);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.Adornment[data-side="start"] {
|
|
257
|
+
grid-column: 1;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.Adornment[data-side="end"] {
|
|
261
|
+
grid-column: 3;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.SliderAdorned[data-disabled] .Adornment {
|
|
265
|
+
color: var(--slider-adornment-color-disabled, var(--color-text-disabled));
|
|
266
|
+
}.MarksContainer {
|
|
213
267
|
position: relative;
|
|
214
268
|
width: 100%;
|
|
215
269
|
margin-top: 4px;
|
|
@@ -283,6 +337,11 @@
|
|
|
283
337
|
container-type: inline-size;
|
|
284
338
|
}
|
|
285
339
|
|
|
340
|
+
/* Between symbols the container has no box (.SliderAdorned): the slider, as wide as the track, measures it */
|
|
341
|
+
.SliderAdorned .Slider[data-orientation="horizontal"] {
|
|
342
|
+
container-type: inline-size;
|
|
343
|
+
}
|
|
344
|
+
|
|
286
345
|
.Slider[data-orientation="horizontal"] {
|
|
287
346
|
--slider-thumb-travel: clamped;
|
|
288
347
|
}
|
|
@@ -372,6 +431,11 @@
|
|
|
372
431
|
container-type: inline-size;
|
|
373
432
|
}
|
|
374
433
|
|
|
434
|
+
/* Between symbols the container has no box (.SliderAdorned): the slider, as wide as the track, measures it */
|
|
435
|
+
:where([data-plex-layout="phone"]) .SliderAdorned .Slider[data-orientation="horizontal"] {
|
|
436
|
+
container-type: inline-size;
|
|
437
|
+
}
|
|
438
|
+
|
|
375
439
|
:where([data-plex-layout="phone"]) .Slider[data-orientation="horizontal"] {
|
|
376
440
|
--slider-thumb-travel: clamped;
|
|
377
441
|
}
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
row, where iOS puts its reorder control (--sortable-handle-order and the two margins). */.Sortable > :has(> .Handle) {
|
|
17
17
|
display: flex;
|
|
18
18
|
align-items: center;
|
|
19
|
-
}
|
|
19
|
+
}/* The row beside its handle, found from the handle's side (before it or after it): a :has() left of a subject of no class or attribute makes every change to the page restyle all of it */.Sortable > * > .Handle ~ :not(.Handle),
|
|
20
|
+
.Sortable > * > :not(.Handle):has(~ .Handle) {
|
|
20
21
|
flex: 1;
|
|
21
22
|
min-width: 0;
|
|
22
23
|
}.Sortable > :has(> .Handle) > .Handle {
|
|
@@ -25,6 +26,18 @@
|
|
|
25
26
|
margin-inline-end: var(--sortable-handle-margin-end, calc(var(--sortable-handle-inset) * -1));
|
|
26
27
|
}/* Before a Field row a shown handle may reach into the row's own inline padding (touch.css: the kit's 12px from the value) */.Sortable[data-handles="true"] > :has(> .Handle) > .Handle:has(+ [data-slot="field"][data-row]) {
|
|
27
28
|
margin-inline-start: var(--sortable-handle-field-margin-start, var(--sortable-handle-margin-start, var(--sortable-handle-inset)));
|
|
29
|
+
}/* `handlePlacement` sets the side on every width, after the rules above so it wins beside a Field row too. Its margins
|
|
30
|
+
are tokens: on a desktop each side mirrors the other (the grip reaches into the row's padding), and touch.css sets
|
|
31
|
+
iOS's own: an end grip 10.17 inside the card, a start grip mirrored. */.Sortable[data-handle-placement="end"] > :has(> .Handle) > .Handle,
|
|
32
|
+
.Sortable[data-handle-placement="end"][data-handles="true"] > :has(> .Handle) > .Handle:has(+ [data-slot="field"][data-row]) {
|
|
33
|
+
order: 1;
|
|
34
|
+
margin-inline-start: var(--sortable-handle-end-margin-start, calc(var(--sortable-handle-inset) * -1));
|
|
35
|
+
margin-inline-end: var(--sortable-handle-end-margin-end, var(--sortable-handle-inset));
|
|
36
|
+
}.Sortable[data-handle-placement="start"] > :has(> .Handle) > .Handle,
|
|
37
|
+
.Sortable[data-handle-placement="start"][data-handles="true"] > :has(> .Handle) > .Handle:has(+ [data-slot="field"][data-row]) {
|
|
38
|
+
order: -1;
|
|
39
|
+
margin-inline-start: var(--sortable-handle-start-margin-start, var(--sortable-handle-inset));
|
|
40
|
+
margin-inline-end: var(--sortable-handle-start-margin-end, calc(var(--sortable-handle-inset) * -1));
|
|
28
41
|
}/* =============================================
|
|
29
42
|
Slot (the place a dragged item left, until the drop)
|
|
30
43
|
============================================= */.Sortable > [data-sortable-source] {
|
|
@@ -706,6 +706,19 @@
|
|
|
706
706
|
color: var(--color-text-secondary);
|
|
707
707
|
}/* Shown only on a phone, in vertical tabs (below). */.Tab > .TabCheckmark {
|
|
708
708
|
display: none;
|
|
709
|
+
}/* iOS segments carry a title or a symbol and no badge (owner 13.11: «я с бейджами не встречал сегментед контролов
|
|
710
|
+
на ios»): in a phone layout (PhoneLayout, a dialog laid out as on a phone) horizontal tabs draw no badge, and its
|
|
711
|
+
count stays in the segment's name for assistive technology. A page that is only narrow keeps its counts; below
|
|
712
|
+
768px touch.css hides them, where the page asks for the phone's sizes. */:where([data-plex-layout="phone"]) .Tabs[data-orientation="horizontal"] .TabBadge {
|
|
713
|
+
position: absolute;
|
|
714
|
+
width: 1px;
|
|
715
|
+
height: 1px;
|
|
716
|
+
padding: 0;
|
|
717
|
+
border: 0;
|
|
718
|
+
margin: -1px;
|
|
719
|
+
overflow: hidden;
|
|
720
|
+
clip-path: inset(50%);
|
|
721
|
+
white-space: nowrap;
|
|
709
722
|
}/* =============================================
|
|
710
723
|
Phone (iOS 27). iOS switches the views of a screen with one control, the segmented control: plain
|
|
711
724
|
in content (SwiftUI Picker .segmented, iOS 27.2) and on glass in a bar (iOS 27.2, Calendar IMG_5433);
|
|
@@ -744,20 +757,6 @@
|
|
|
744
757
|
--tabs-equal-segments: 0;
|
|
745
758
|
}
|
|
746
759
|
|
|
747
|
-
/* iOS segments carry a title or a symbol and no badge (owner 13.11: «я с бейджами не встречал сегментед контролов
|
|
748
|
-
на ios»). On a phone a badge is not drawn; its count stays in the segment's name for assistive technology. */
|
|
749
|
-
.Tabs[data-orientation="horizontal"] .TabBadge {
|
|
750
|
-
position: absolute;
|
|
751
|
-
width: 1px;
|
|
752
|
-
height: 1px;
|
|
753
|
-
padding: 0;
|
|
754
|
-
border: 0;
|
|
755
|
-
margin: -1px;
|
|
756
|
-
overflow: hidden;
|
|
757
|
-
clip-path: inset(50%);
|
|
758
|
-
white-space: nowrap;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
760
|
/* Disabled as a whole, the control shows at half opacity, its capsule, selection and labels alike, as native
|
|
762
761
|
iOS 27.2 draws it (a disabled SwiftUI Picker: track 246 and labels 127 over white, 14 and 128 over black) and
|
|
763
762
|
kit iOS 27 does (Segmented Controls 10460:145), not its labels alone. */
|
|
@@ -1028,20 +1027,6 @@
|
|
|
1028
1027
|
--tabs-equal-segments: 0;
|
|
1029
1028
|
}
|
|
1030
1029
|
|
|
1031
|
-
/* iOS segments carry a title or a symbol and no badge (owner 13.11: «я с бейджами не встречал сегментед контролов
|
|
1032
|
-
на ios»). On a phone a badge is not drawn; its count stays in the segment's name for assistive technology. */
|
|
1033
|
-
:where([data-plex-layout="phone"]) .Tabs[data-orientation="horizontal"] .TabBadge {
|
|
1034
|
-
position: absolute;
|
|
1035
|
-
width: 1px;
|
|
1036
|
-
height: 1px;
|
|
1037
|
-
padding: 0;
|
|
1038
|
-
border: 0;
|
|
1039
|
-
margin: -1px;
|
|
1040
|
-
overflow: hidden;
|
|
1041
|
-
clip-path: inset(50%);
|
|
1042
|
-
white-space: nowrap;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
1030
|
/* Disabled as a whole, the control shows at half opacity, its capsule, selection and labels alike, as native
|
|
1046
1031
|
iOS 27.2 draws it (a disabled SwiftUI Picker: track 246 and labels 127 over white, 14 and 128 over black) and
|
|
1047
1032
|
kit iOS 27 does (Segmented Controls 10460:145), not its labels alone. */
|
|
@@ -191,13 +191,15 @@
|
|
|
191
191
|
min-height: var(--toast-control-size);
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
+
/* What follows the message reads its place from the toast (below, with a description), so no rule needs a :has()
|
|
195
|
+
on the toast to reach a child of any kind: such a rule makes every change to the page restyle all of it */
|
|
194
196
|
.Toast[data-styled="true"] > .Content ~ *:not(:where([data-plex-layout="phone"], [data-plex-layout="phone"] *)) {
|
|
195
|
-
order: 3;
|
|
197
|
+
order: var(--toast-trailing-order, 3);
|
|
196
198
|
margin-inline: 8px 0 !important;
|
|
197
199
|
}
|
|
198
200
|
|
|
199
201
|
.Toast[data-styled="true"] > .Content + *:not(:where([data-plex-layout="phone"], [data-plex-layout="phone"] *)) {
|
|
200
|
-
margin-inline-start: 16px !important;
|
|
202
|
+
margin-inline-start: var(--toast-trailing-start, 16px) !important;
|
|
201
203
|
}
|
|
202
204
|
|
|
203
205
|
.Toast[data-styled="true"] > :is(.ActionButton, .CancelButton):not(:where([data-plex-layout="phone"], [data-plex-layout="phone"] *)) {
|
|
@@ -267,6 +269,8 @@
|
|
|
267
269
|
align-items: flex-start !important;
|
|
268
270
|
row-gap: 12px !important;
|
|
269
271
|
padding-block: 14px 12px !important;
|
|
272
|
+
|
|
273
|
+
/* Its buttons go under the message at the end (the rules after .Content above) */
|
|
270
274
|
}
|
|
271
275
|
|
|
272
276
|
.Toast[data-styled="true"]:has(> .Content > .Description) > .Content:not(:where([data-plex-layout="phone"], [data-plex-layout="phone"] *)) {
|
|
@@ -280,13 +284,10 @@
|
|
|
280
284
|
margin-inline-start: 8px;
|
|
281
285
|
}
|
|
282
286
|
|
|
283
|
-
.Toast[data-styled="true"]:has(> .Content > .Description)
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
.Toast[data-styled="true"]:has(> .Content > .Description) > .Content + *:not(:where([data-plex-layout="phone"], [data-plex-layout="phone"] *)) {
|
|
288
|
-
margin-inline-start: auto !important;
|
|
289
|
-
}
|
|
287
|
+
.Toast[data-styled="true"]:has(> .Content > .Description):not(:where([data-plex-layout="phone"], [data-plex-layout="phone"] *)) {
|
|
288
|
+
--toast-trailing-order: 4;
|
|
289
|
+
--toast-trailing-start: auto;
|
|
290
|
+
}
|
|
290
291
|
|
|
291
292
|
.Toast[data-styled="true"]:has(> .Content > .Description):not(:has(> .Content ~ *)):not(:where([data-plex-layout="phone"], [data-plex-layout="phone"] *)) {
|
|
292
293
|
padding-block-end: 14px !important;
|
|
@@ -395,8 +395,8 @@
|
|
|
395
395
|
bar's controls, so the bar's background, edge and line take it in. Several rows stand in their order, 10 apart: a
|
|
396
396
|
search field over a segmented control, as iOS 27.2 sets a safeAreaBar under the search field of the bar's drawer
|
|
397
397
|
(ref-app segsearch-inline; owner 13.11 «первый ряд - кнопки и тайтл, второй ряд поиск, третий ряд - сегментед
|
|
398
|
-
контрол»). A SegmentedControl in it is
|
|
399
|
-
the row (its segments share the width, and scroll when they do not fit; a block one shortens its labels instead). */
|
|
398
|
+
контрол»). A SegmentedControl in it is a 40px glass one at its default size, as a chat list draws its folders under
|
|
399
|
+
its bar (touch.css, IMG_5550; owner 13.11 «Да, стекло»), and fills the row (its segments share the width, and scroll when they do not fit; a block one shortens its labels instead). */
|
|
400
400
|
.Row {
|
|
401
401
|
display: flex;
|
|
402
402
|
grid-column: 1 / -1;
|
|
@@ -669,13 +669,14 @@
|
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
/* Hosts: a Page puts the top bar over its content under the status bar, a Sheet 16 below its top edge. Without a
|
|
672
|
-
status bar (a page in a browser, where the top inset is 0) the row keeps the
|
|
673
|
-
|
|
672
|
+
status bar (a page in a browser, where the top inset is 0) the row keeps the air above it that it keeps below
|
|
673
|
+
it, so its controls stand in the middle of the bar (owner 13.11: the buttons touched the top; owner 14.11: the
|
|
674
|
+
16 of the gutter was more than it should be). iOS 27.2
|
|
674
675
|
sets a sheet's row of controls there, its centre 38 below the edge, and draws no grabber over it: a grabber
|
|
675
676
|
(60 by 4, 6 down) shows only on a sheet that changes height (prefersGrabberVisible, measures/sheets.md), and a
|
|
676
677
|
PlexUI Sheet keeps one height. */
|
|
677
678
|
.Toolbar[data-host="page"][data-placement="top"] {
|
|
678
|
-
--toolbar-padding-top: max(var(--toolbar-
|
|
679
|
+
--toolbar-padding-top: max(var(--toolbar-padding-bottom), var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
|
|
679
680
|
position: absolute;
|
|
680
681
|
inset: 0 0 auto;
|
|
681
682
|
}
|
|
@@ -824,7 +825,7 @@
|
|
|
824
825
|
}
|
|
825
826
|
|
|
826
827
|
:where([data-mobile-placement="fullscreen"]) .Toolbar[data-host="dialog"][data-placement="top"] {
|
|
827
|
-
--toolbar-padding-top: max(var(--toolbar-
|
|
828
|
+
--toolbar-padding-top: max(var(--toolbar-padding-bottom), var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
|
|
828
829
|
}
|
|
829
830
|
|
|
830
831
|
.Toolbar[data-host="dialog"][data-placement="bottom"] {
|
|
@@ -1217,8 +1218,8 @@
|
|
|
1217
1218
|
bar's controls, so the bar's background, edge and line take it in. Several rows stand in their order, 10 apart: a
|
|
1218
1219
|
search field over a segmented control, as iOS 27.2 sets a safeAreaBar under the search field of the bar's drawer
|
|
1219
1220
|
(ref-app segsearch-inline; owner 13.11 «первый ряд - кнопки и тайтл, второй ряд поиск, третий ряд - сегментед
|
|
1220
|
-
контрол»). A SegmentedControl in it is
|
|
1221
|
-
the row (its segments share the width, and scroll when they do not fit; a block one shortens its labels instead). */
|
|
1221
|
+
контрол»). A SegmentedControl in it is a 40px glass one at its default size, as a chat list draws its folders under
|
|
1222
|
+
its bar (touch.css, IMG_5550; owner 13.11 «Да, стекло»), and fills the row (its segments share the width, and scroll when they do not fit; a block one shortens its labels instead). */
|
|
1222
1223
|
:where([data-plex-layout="phone"]) .Row {
|
|
1223
1224
|
display: flex;
|
|
1224
1225
|
grid-column: 1 / -1;
|
|
@@ -1491,13 +1492,14 @@
|
|
|
1491
1492
|
}
|
|
1492
1493
|
|
|
1493
1494
|
/* Hosts: a Page puts the top bar over its content under the status bar, a Sheet 16 below its top edge. Without a
|
|
1494
|
-
status bar (a page in a browser, where the top inset is 0) the row keeps the
|
|
1495
|
-
|
|
1495
|
+
status bar (a page in a browser, where the top inset is 0) the row keeps the air above it that it keeps below
|
|
1496
|
+
it, so its controls stand in the middle of the bar (owner 13.11: the buttons touched the top; owner 14.11: the
|
|
1497
|
+
16 of the gutter was more than it should be). iOS 27.2
|
|
1496
1498
|
sets a sheet's row of controls there, its centre 38 below the edge, and draws no grabber over it: a grabber
|
|
1497
1499
|
(60 by 4, 6 down) shows only on a sheet that changes height (prefersGrabberVisible, measures/sheets.md), and a
|
|
1498
1500
|
PlexUI Sheet keeps one height. */
|
|
1499
1501
|
:where([data-plex-layout="phone"]) .Toolbar[data-host="page"][data-placement="top"] {
|
|
1500
|
-
--toolbar-padding-top: max(var(--toolbar-
|
|
1502
|
+
--toolbar-padding-top: max(var(--toolbar-padding-bottom), var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
|
|
1501
1503
|
position: absolute;
|
|
1502
1504
|
inset: 0 0 auto;
|
|
1503
1505
|
}
|
|
@@ -1646,7 +1648,7 @@
|
|
|
1646
1648
|
}
|
|
1647
1649
|
|
|
1648
1650
|
:where([data-plex-layout="phone"]) :where([data-mobile-placement="fullscreen"]) .Toolbar[data-host="dialog"][data-placement="top"] {
|
|
1649
|
-
--toolbar-padding-top: max(var(--toolbar-
|
|
1651
|
+
--toolbar-padding-top: max(var(--toolbar-padding-bottom), var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
|
|
1650
1652
|
}
|
|
1651
1653
|
|
|
1652
1654
|
:where([data-plex-layout="phone"]) .Toolbar[data-host="dialog"][data-placement="bottom"] {
|
package/dist/es/styles/touch.css
CHANGED
|
@@ -151,6 +151,9 @@
|
|
|
151
151
|
[data-menu-covered] {
|
|
152
152
|
visibility: hidden;
|
|
153
153
|
}
|
|
154
|
+
:root {
|
|
155
|
+
--field-group-stack-spacing: 1;
|
|
156
|
+
}
|
|
154
157
|
:where([data-row]) {
|
|
155
158
|
--color-text-secondary: var(--mobile-label-secondary);
|
|
156
159
|
}
|
|
@@ -283,6 +286,10 @@
|
|
|
283
286
|
--sortable-handle-margin-end: calc(var(--list-row-inset) - 9.83px);
|
|
284
287
|
--sortable-handle-margin-start: 0px;
|
|
285
288
|
--sortable-handle-field-margin-start: calc(1px - var(--list-row-inset));
|
|
289
|
+
--sortable-handle-end-margin-start: 0px;
|
|
290
|
+
--sortable-handle-end-margin-end: calc(var(--list-row-inset) - 9.83px);
|
|
291
|
+
--sortable-handle-start-margin-start: calc(var(--list-row-inset) - 9.83px);
|
|
292
|
+
--sortable-handle-start-margin-end: 0px;
|
|
286
293
|
--sortable-handle-color: var(--mobile-label-tertiary);
|
|
287
294
|
--sortable-handle-color-hover: var(--mobile-label-tertiary);
|
|
288
295
|
--menu-item-highlight-opacity: 0;
|
|
@@ -520,40 +527,43 @@
|
|
|
520
527
|
--slider-thumb-radius: var(--radius-full);
|
|
521
528
|
--slider-thumb-background: var(--white);
|
|
522
529
|
--slider-thumb-shadow: 0 0.5px 4px rgb(0 0 0 / 12%), 0 6px 13px rgb(0 0 0 / 12%);
|
|
523
|
-
--empty-message-title-size:
|
|
524
|
-
--empty-message-title-leading:
|
|
525
|
-
--empty-message-title-gap:
|
|
530
|
+
--empty-message-title-size: 20px;
|
|
531
|
+
--empty-message-title-leading: 25px;
|
|
532
|
+
--empty-message-title-gap: 1px;
|
|
526
533
|
--empty-message-title-only-gap: 0px;
|
|
527
534
|
--empty-message-title-weight: var(--font-weight-bold);
|
|
528
535
|
--empty-message-title-tracking: var(--font-sans-tracking);
|
|
529
536
|
--empty-message-description-size: 17px;
|
|
530
|
-
--empty-message-description-leading:
|
|
537
|
+
--empty-message-description-leading: 25px;
|
|
531
538
|
--empty-message-description-weight: var(--font-weight-normal);
|
|
532
539
|
--empty-message-description-color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
533
540
|
--empty-message-compact-description-size: 15px;
|
|
534
541
|
--empty-message-compact-description-leading: 20px;
|
|
535
|
-
--empty-message-padding-inline:
|
|
542
|
+
--empty-message-padding-inline: 32px;
|
|
536
543
|
--empty-message-text-inset: 0px;
|
|
537
|
-
--empty-message-padding-bottom:
|
|
538
|
-
--empty-message-action-spacing:
|
|
539
|
-
--empty-message-action-gap:
|
|
540
|
-
--empty-message-fill-action-inset:
|
|
541
|
-
--empty-message-fill-content-margin:
|
|
542
|
-
--empty-message-fill-action-margin:
|
|
543
|
-
--empty-message-fill-action-align:
|
|
544
|
-
--empty-message-fill-action-width:
|
|
544
|
+
--empty-message-padding-bottom: 0px;
|
|
545
|
+
--empty-message-action-spacing: 28px;
|
|
546
|
+
--empty-message-action-gap: 14px;
|
|
547
|
+
--empty-message-fill-action-inset: 0px;
|
|
548
|
+
--empty-message-fill-content-margin: 0px;
|
|
549
|
+
--empty-message-fill-action-margin: var(--empty-message-action-spacing);
|
|
550
|
+
--empty-message-fill-action-align: center;
|
|
551
|
+
--empty-message-fill-action-width: auto;
|
|
545
552
|
--empty-message-multi-direction: column;
|
|
546
|
-
--empty-message-multi-align:
|
|
547
|
-
--empty-message-multi-
|
|
548
|
-
--empty-message-action-
|
|
549
|
-
--empty-message-action-
|
|
550
|
-
--empty-message-action-
|
|
551
|
-
--empty-message-action-
|
|
552
|
-
--empty-message-action-
|
|
553
|
-
--empty-message-
|
|
554
|
-
--empty-message-icon-size:
|
|
555
|
-
--empty-message-icon-
|
|
556
|
-
--empty-message-icon-
|
|
553
|
+
--empty-message-multi-align: center;
|
|
554
|
+
--empty-message-multi-items: center;
|
|
555
|
+
--empty-message-multi-action-width: auto;
|
|
556
|
+
--empty-message-action-size: 28px;
|
|
557
|
+
--empty-message-action-font-size: 15px;
|
|
558
|
+
--empty-message-action-line-height: 20px;
|
|
559
|
+
--empty-message-action-font-weight: var(--font-weight-normal);
|
|
560
|
+
--empty-message-action-gutter: 12px;
|
|
561
|
+
--empty-message-icon-badge-size: 48px;
|
|
562
|
+
--empty-message-icon-size: 48px;
|
|
563
|
+
--empty-message-icon-radius: 0px;
|
|
564
|
+
--empty-message-icon-gap: 19px;
|
|
565
|
+
--empty-message-icon-background: transparent;
|
|
566
|
+
--empty-message-icon-secondary-color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
557
567
|
--indicator-default-size: 20px;
|
|
558
568
|
--indicator-container-type: size;
|
|
559
569
|
--indicator-ring-display: none;
|
|
@@ -587,6 +597,10 @@
|
|
|
587
597
|
--field-row-text-padding-block: 12px;
|
|
588
598
|
--field-row-gap: 16px;
|
|
589
599
|
--field-row-disclosure-gap: 8px;
|
|
600
|
+
--field-row-icon-size: 28px;
|
|
601
|
+
--field-row-icon-gap: 8px;
|
|
602
|
+
--field-row-icon-symbol-size: 24px;
|
|
603
|
+
--field-row-icon-radius: 7px;
|
|
590
604
|
--field-row-text-display: flex;
|
|
591
605
|
--field-row-label-font-size: 17px;
|
|
592
606
|
--field-row-label-line-height: 22px;
|
|
@@ -668,6 +682,17 @@
|
|
|
668
682
|
--segmented-control-symbol-size: 20px;
|
|
669
683
|
--segmented-control-option-disabled-color: var(--alpha-20);
|
|
670
684
|
}
|
|
685
|
+
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"] [data-slot="tab-badge"] {
|
|
686
|
+
position: absolute;
|
|
687
|
+
width: 1px;
|
|
688
|
+
height: 1px;
|
|
689
|
+
padding: 0;
|
|
690
|
+
border: 0;
|
|
691
|
+
margin: -1px;
|
|
692
|
+
overflow: hidden;
|
|
693
|
+
clip-path: inset(50%);
|
|
694
|
+
white-space: nowrap;
|
|
695
|
+
}
|
|
671
696
|
html [data-mobile-material="glass"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"]) {
|
|
672
697
|
--segmented-control-background: var(--mobile-glass-background);
|
|
673
698
|
--segmented-control-sheen: linear-gradient(var(--segmented-control-mobile-plain-background), var(--segmented-control-mobile-plain-background));
|
|
@@ -678,7 +703,8 @@
|
|
|
678
703
|
--segmented-control-size: 49px;
|
|
679
704
|
}
|
|
680
705
|
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])),
|
|
681
|
-
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *)
|
|
706
|
+
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *),
|
|
707
|
+
html [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
|
|
682
708
|
--segmented-control-size: 48px;
|
|
683
709
|
--segmented-control-gutter: 4px;
|
|
684
710
|
--segmented-control-gap: 8px;
|
|
@@ -701,14 +727,21 @@
|
|
|
701
727
|
--segmented-control-thumb-lens-background: var(--segmented-control-mobile-thumb-lens-background);
|
|
702
728
|
--segmented-control-thumb-lens-shadow: var(--segmented-control-mobile-thumb-lens-shadow);
|
|
703
729
|
}
|
|
730
|
+
html [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
|
|
731
|
+
--segmented-control-size: 40px;
|
|
732
|
+
--segmented-control-gutter: 3px;
|
|
733
|
+
--segmented-control-option-gutter: 12px;
|
|
734
|
+
}
|
|
704
735
|
@media (prefers-reduced-motion: no-preference) {
|
|
705
736
|
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])),
|
|
706
|
-
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *)
|
|
737
|
+
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *),
|
|
738
|
+
html [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
|
|
707
739
|
--tabs-thumb-transition-duration: 400ms;
|
|
708
740
|
}
|
|
709
741
|
@supports (transition-timing-function: linear(0, 1)) {
|
|
710
742
|
html :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])),
|
|
711
|
-
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *)
|
|
743
|
+
html [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *),
|
|
744
|
+
html [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
|
|
712
745
|
--tabs-thumb-transition-easing: linear(0, 0.2 3%, 0.33 6.25%, 0.45 10%, 0.538 12.25%, 0.623 16.25%, 0.69 20%, 0.747 24.25%, 0.793 28.75%, 0.83 32.5%, 0.862 36.75%, 0.887 41%, 0.908 45%, 0.925 49.25%, 0.943 53.5%, 0.956 58%, 0.975 66%, 0.981 70%, 0.989 74.75%, 0.994 82.5%, 1);
|
|
713
746
|
}
|
|
714
747
|
}
|
|
@@ -811,6 +844,9 @@
|
|
|
811
844
|
:where([data-plex-layout="phone"]) [data-menu-covered] {
|
|
812
845
|
visibility: hidden;
|
|
813
846
|
}
|
|
847
|
+
:root :where([data-plex-layout="phone"]) {
|
|
848
|
+
--field-group-stack-spacing: 1;
|
|
849
|
+
}
|
|
814
850
|
:where([data-plex-layout="phone"]) :where([data-row]) {
|
|
815
851
|
--color-text-secondary: var(--mobile-label-secondary);
|
|
816
852
|
}
|
|
@@ -943,6 +979,10 @@ html:root :where([data-plex-layout="phone"]) {
|
|
|
943
979
|
--sortable-handle-margin-end: calc(var(--list-row-inset) - 9.83px);
|
|
944
980
|
--sortable-handle-margin-start: 0px;
|
|
945
981
|
--sortable-handle-field-margin-start: calc(1px - var(--list-row-inset));
|
|
982
|
+
--sortable-handle-end-margin-start: 0px;
|
|
983
|
+
--sortable-handle-end-margin-end: calc(var(--list-row-inset) - 9.83px);
|
|
984
|
+
--sortable-handle-start-margin-start: calc(var(--list-row-inset) - 9.83px);
|
|
985
|
+
--sortable-handle-start-margin-end: 0px;
|
|
946
986
|
--sortable-handle-color: var(--mobile-label-tertiary);
|
|
947
987
|
--sortable-handle-color-hover: var(--mobile-label-tertiary);
|
|
948
988
|
--menu-item-highlight-opacity: 0;
|
|
@@ -1180,40 +1220,43 @@ html:root :where([data-plex-layout="phone"]) {
|
|
|
1180
1220
|
--slider-thumb-radius: var(--radius-full);
|
|
1181
1221
|
--slider-thumb-background: var(--white);
|
|
1182
1222
|
--slider-thumb-shadow: 0 0.5px 4px rgb(0 0 0 / 12%), 0 6px 13px rgb(0 0 0 / 12%);
|
|
1183
|
-
--empty-message-title-size:
|
|
1184
|
-
--empty-message-title-leading:
|
|
1185
|
-
--empty-message-title-gap:
|
|
1223
|
+
--empty-message-title-size: 20px;
|
|
1224
|
+
--empty-message-title-leading: 25px;
|
|
1225
|
+
--empty-message-title-gap: 1px;
|
|
1186
1226
|
--empty-message-title-only-gap: 0px;
|
|
1187
1227
|
--empty-message-title-weight: var(--font-weight-bold);
|
|
1188
1228
|
--empty-message-title-tracking: var(--font-sans-tracking);
|
|
1189
1229
|
--empty-message-description-size: 17px;
|
|
1190
|
-
--empty-message-description-leading:
|
|
1230
|
+
--empty-message-description-leading: 25px;
|
|
1191
1231
|
--empty-message-description-weight: var(--font-weight-normal);
|
|
1192
1232
|
--empty-message-description-color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
1193
1233
|
--empty-message-compact-description-size: 15px;
|
|
1194
1234
|
--empty-message-compact-description-leading: 20px;
|
|
1195
|
-
--empty-message-padding-inline:
|
|
1235
|
+
--empty-message-padding-inline: 32px;
|
|
1196
1236
|
--empty-message-text-inset: 0px;
|
|
1197
|
-
--empty-message-padding-bottom:
|
|
1198
|
-
--empty-message-action-spacing:
|
|
1199
|
-
--empty-message-action-gap:
|
|
1200
|
-
--empty-message-fill-action-inset:
|
|
1201
|
-
--empty-message-fill-content-margin:
|
|
1202
|
-
--empty-message-fill-action-margin:
|
|
1203
|
-
--empty-message-fill-action-align:
|
|
1204
|
-
--empty-message-fill-action-width:
|
|
1237
|
+
--empty-message-padding-bottom: 0px;
|
|
1238
|
+
--empty-message-action-spacing: 28px;
|
|
1239
|
+
--empty-message-action-gap: 14px;
|
|
1240
|
+
--empty-message-fill-action-inset: 0px;
|
|
1241
|
+
--empty-message-fill-content-margin: 0px;
|
|
1242
|
+
--empty-message-fill-action-margin: var(--empty-message-action-spacing);
|
|
1243
|
+
--empty-message-fill-action-align: center;
|
|
1244
|
+
--empty-message-fill-action-width: auto;
|
|
1205
1245
|
--empty-message-multi-direction: column;
|
|
1206
|
-
--empty-message-multi-align:
|
|
1207
|
-
--empty-message-multi-
|
|
1208
|
-
--empty-message-action-
|
|
1209
|
-
--empty-message-action-
|
|
1210
|
-
--empty-message-action-
|
|
1211
|
-
--empty-message-action-
|
|
1212
|
-
--empty-message-action-
|
|
1213
|
-
--empty-message-
|
|
1214
|
-
--empty-message-icon-size:
|
|
1215
|
-
--empty-message-icon-
|
|
1216
|
-
--empty-message-icon-
|
|
1246
|
+
--empty-message-multi-align: center;
|
|
1247
|
+
--empty-message-multi-items: center;
|
|
1248
|
+
--empty-message-multi-action-width: auto;
|
|
1249
|
+
--empty-message-action-size: 28px;
|
|
1250
|
+
--empty-message-action-font-size: 15px;
|
|
1251
|
+
--empty-message-action-line-height: 20px;
|
|
1252
|
+
--empty-message-action-font-weight: var(--font-weight-normal);
|
|
1253
|
+
--empty-message-action-gutter: 12px;
|
|
1254
|
+
--empty-message-icon-badge-size: 48px;
|
|
1255
|
+
--empty-message-icon-size: 48px;
|
|
1256
|
+
--empty-message-icon-radius: 0px;
|
|
1257
|
+
--empty-message-icon-gap: 19px;
|
|
1258
|
+
--empty-message-icon-background: transparent;
|
|
1259
|
+
--empty-message-icon-secondary-color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
1217
1260
|
--indicator-default-size: 20px;
|
|
1218
1261
|
--indicator-container-type: size;
|
|
1219
1262
|
--indicator-ring-display: none;
|
|
@@ -1247,6 +1290,10 @@ html:root :where([data-plex-layout="phone"]) {
|
|
|
1247
1290
|
--field-row-text-padding-block: 12px;
|
|
1248
1291
|
--field-row-gap: 16px;
|
|
1249
1292
|
--field-row-disclosure-gap: 8px;
|
|
1293
|
+
--field-row-icon-size: 28px;
|
|
1294
|
+
--field-row-icon-gap: 8px;
|
|
1295
|
+
--field-row-icon-symbol-size: 24px;
|
|
1296
|
+
--field-row-icon-radius: 7px;
|
|
1250
1297
|
--field-row-text-display: flex;
|
|
1251
1298
|
--field-row-label-font-size: 17px;
|
|
1252
1299
|
--field-row-label-line-height: 22px;
|
|
@@ -1328,6 +1375,17 @@ html:root:where([data-theme="dark"]) :where([data-plex-layout="phone"]), html:ro
|
|
|
1328
1375
|
--segmented-control-symbol-size: 20px;
|
|
1329
1376
|
--segmented-control-option-disabled-color: var(--alpha-20);
|
|
1330
1377
|
}
|
|
1378
|
+
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"] [data-slot="tab-badge"] {
|
|
1379
|
+
position: absolute;
|
|
1380
|
+
width: 1px;
|
|
1381
|
+
height: 1px;
|
|
1382
|
+
padding: 0;
|
|
1383
|
+
border: 0;
|
|
1384
|
+
margin: -1px;
|
|
1385
|
+
overflow: hidden;
|
|
1386
|
+
clip-path: inset(50%);
|
|
1387
|
+
white-space: nowrap;
|
|
1388
|
+
}
|
|
1331
1389
|
html :where([data-plex-layout="phone"]) [data-mobile-material="glass"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"]) {
|
|
1332
1390
|
--segmented-control-background: var(--mobile-glass-background);
|
|
1333
1391
|
--segmented-control-sheen: linear-gradient(var(--segmented-control-mobile-plain-background), var(--segmented-control-mobile-plain-background));
|
|
@@ -1337,7 +1395,7 @@ html:root:where([data-theme="dark"]) :where([data-plex-layout="phone"]), html:ro
|
|
|
1337
1395
|
html :where([data-plex-layout="phone"]) [data-mobile-material="flat"]:is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])) {
|
|
1338
1396
|
--segmented-control-size: 49px;
|
|
1339
1397
|
}
|
|
1340
|
-
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *) {
|
|
1398
|
+
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *), html :where([data-plex-layout="phone"]) [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
|
|
1341
1399
|
--segmented-control-size: 48px;
|
|
1342
1400
|
--segmented-control-gutter: 4px;
|
|
1343
1401
|
--segmented-control-gap: 8px;
|
|
@@ -1360,12 +1418,17 @@ html:root:where([data-theme="dark"]) :where([data-plex-layout="phone"]), html:ro
|
|
|
1360
1418
|
--segmented-control-thumb-lens-background: var(--segmented-control-mobile-thumb-lens-background);
|
|
1361
1419
|
--segmented-control-thumb-lens-shadow: var(--segmented-control-mobile-thumb-lens-shadow);
|
|
1362
1420
|
}
|
|
1421
|
+
html :where([data-plex-layout="phone"]) [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
|
|
1422
|
+
--segmented-control-size: 40px;
|
|
1423
|
+
--segmented-control-gutter: 3px;
|
|
1424
|
+
--segmented-control-option-gutter: 12px;
|
|
1425
|
+
}
|
|
1363
1426
|
@media (prefers-reduced-motion: no-preference) {
|
|
1364
|
-
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *) {
|
|
1427
|
+
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *), html :where([data-plex-layout="phone"]) [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
|
|
1365
1428
|
--tabs-thumb-transition-duration: 400ms;
|
|
1366
1429
|
}
|
|
1367
1430
|
@supports (transition-timing-function: linear(0, 1)) {
|
|
1368
|
-
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *) {
|
|
1431
|
+
html :where([data-plex-layout="phone"]) :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:where(:not([data-mobile-material="flat"], [data-mobile-size="small"], [data-size="3xs"], [data-size="2xs"], [data-size="xs"], [data-size="sm"], [data-toolbar-row] [data-size="md"])), html :where([data-plex-layout="phone"]) [data-toolbar] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"]:not([data-toolbar-row] *), html :where([data-plex-layout="phone"]) [data-toolbar-row] :is([data-variant="segmented"], [data-variant="underline"])[data-orientation="horizontal"][data-size="md"]:not([data-mobile-material="flat"], [data-mobile-size="small"]) {
|
|
1369
1432
|
--tabs-thumb-transition-easing: linear(0, 0.2 3%, 0.33 6.25%, 0.45 10%, 0.538 12.25%, 0.623 16.25%, 0.69 20%, 0.747 24.25%, 0.793 28.75%, 0.83 32.5%, 0.862 36.75%, 0.887 41%, 0.908 45%, 0.925 49.25%, 0.943 53.5%, 0.956 58%, 0.975 66%, 0.981 70%, 0.989 74.75%, 0.994 82.5%, 1);
|
|
1370
1433
|
}
|
|
1371
1434
|
}
|