@plexui/styles 0.1.46 → 0.3.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/Accordion/Accordion.module.css +54 -1
- package/dist/es/components/Alert/Alert.module.css +75 -37
- package/dist/es/components/Button/Button.module.css +36 -28
- package/dist/es/components/ButtonGroup/ButtonGroup.module.css +15 -3
- package/dist/es/components/ColorPicker/ColorPicker.module.css +42 -70
- package/dist/es/components/ContextMenu/ContextMenu.module.css +1 -1
- package/dist/es/components/DatePicker/Calendar.module.css +17 -15
- package/dist/es/components/DateRangePicker/Calendar.module.css +17 -69
- package/dist/es/components/Dialog/Dialog.module.css +169 -70
- package/dist/es/components/EmptyMessage/EmptyMessage.module.css +12 -8
- package/dist/es/components/Field/Field.module.css +56 -22
- package/dist/es/components/FieldGroup/FieldGroup.module.css +5 -5
- package/dist/es/components/FileUpload/FileUpload.module.css +2 -2
- package/dist/es/components/Input/Input.module.css +100 -18
- package/dist/es/components/Menu/Menu.module.css +38 -42
- package/dist/es/components/Page/Page.module.css +38 -0
- package/dist/es/components/Popover/Popover.module.css +10 -11
- package/dist/es/components/ProgressSteps/ProgressSteps.module.css +17 -0
- package/dist/es/components/RadioGroup/RadioGroup.module.css +7 -3
- package/dist/es/components/Select/Select.module.css +304 -42
- package/dist/es/components/SelectControl/SelectControl.module.css +34 -10
- package/dist/es/components/Sidebar/Sidebar.module.css +6 -4
- package/dist/es/components/Slider/Slider.module.css +46 -2
- package/dist/es/components/Sortable/Sortable.module.css +3 -2
- package/dist/es/components/StatsCard/StatsCard.module.css +269 -0
- package/dist/es/components/Stepper/Stepper.module.css +7 -4
- package/dist/es/components/SwipeActions/SwipeActions.module.css +32 -17
- package/dist/es/components/Switch/Switch.module.css +6 -5
- package/dist/es/components/TabBar/TabBar.module.css +128 -12
- package/dist/es/components/Tabs/Tabs.module.css +240 -45
- package/dist/es/components/Toast/Toast.module.css +47 -24
- package/dist/es/components/Toolbar/Toolbar.module.css +120 -62
- package/dist/es/styles/geist-mono-fonts/LICENSE +93 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-cyrillic-ext-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-cyrillic-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-cyrillic-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-latin-ext-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-latin-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-latin-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-symbols2-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-symbols2-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-vietnamese-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-vietnamese-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono.css +124 -0
- package/dist/es/styles/index.css +3 -0
- package/dist/es/styles/inter-fonts/LICENSE +93 -0
- package/dist/es/styles/inter-fonts/inter-cyrillic-ext-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-cyrillic-ext-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-cyrillic-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-cyrillic-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-greek-ext-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-greek-ext-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-greek-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-greek-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-latin-ext-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-latin-ext-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-latin-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-latin-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-vietnamese-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-vietnamese-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter.css +142 -0
- package/dist/es/styles/mobile-materials.css +65 -24
- package/dist/es/styles/tailwind-utilities.css +8 -0
- package/dist/es/styles/touch.css +357 -169
- package/dist/es/styles/variables-components.css +255 -138
- package/dist/es/styles/variables-semantic.css +30 -5
- package/dist/es/styles/variables-tailwind-theme.css +2 -4
- package/dist/es/styles/variables-tokens-root.css +70 -4
- package/package.json +1 -1
- package/dist/es/components/StatCard/StatCard.module.css +0 -234
|
@@ -542,9 +542,16 @@
|
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
/* The Field already delegates its non-interactive area to this linked popup.
|
|
545
|
-
Keep one row surface; the trigger remains its only keyboard stop.
|
|
545
|
+
Keep one row surface; the trigger remains its only keyboard stop. Its box is 34px, centred in the row without
|
|
546
|
+
moving it, as the pop-up button of an iOS picker is: a phone list opens over it, 9pt below the 52pt row's top
|
|
547
|
+
(ref-app pickers, block 8: 26px at @3x; Select.tsx). */
|
|
546
548
|
.Field:where([data-row]) > .Content > .Control > :is([data-variant="outline"], [data-variant="soft"], [data-variant="ghost"])[role="button"][aria-haspopup]:not([aria-haspopup="false"]) {
|
|
547
|
-
--select-control-size:
|
|
549
|
+
--select-control-size: 34px;
|
|
550
|
+
|
|
551
|
+
/* A clear button does not grow it: its 44px target reaches past the box (SelectControl.module.css), so a list
|
|
552
|
+
that stays open after a pick stands where it opened (owner 10.11: the list jumped after the first choice) */
|
|
553
|
+
min-height: 0;
|
|
554
|
+
margin-block: calc((var(--field-row-label-line-height) - 34px) / 2);
|
|
548
555
|
border-radius: 0;
|
|
549
556
|
}
|
|
550
557
|
|
|
@@ -563,14 +570,16 @@
|
|
|
563
570
|
cursor: pointer;
|
|
564
571
|
}
|
|
565
572
|
|
|
566
|
-
/* A date in a row is the compact date picker of iOS
|
|
567
|
-
|
|
568
|
-
|
|
573
|
+
/* A date in a row is the compact date picker of iOS 27.2: a 34px capsule with 12px insets on the fill of the
|
|
574
|
+
calendar's time pill, the date in the primary label and in the accent text while its calendar is open
|
|
575
|
+
(Calendar's new event on an iPhone 17: 34.3pt, the text 12pt in from either end; UIKit's own capsule 36pt
|
|
576
|
+
with the same insets; the iOS 26 kit drew 11px). It keeps the 52px row; the row stays its target. A
|
|
577
|
+
disabled date draws no capsule, as UIKit's disabled compact picker does, and stays dimmed. */
|
|
569
578
|
.Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]) {
|
|
570
579
|
--select-control-size: 34px;
|
|
571
580
|
|
|
572
581
|
margin-block: calc((var(--field-row-label-line-height) - 34px) / 2);
|
|
573
|
-
padding-inline:
|
|
582
|
+
padding-inline: 12px;
|
|
574
583
|
border-radius: var(--radius-full);
|
|
575
584
|
color: var(--color-text);
|
|
576
585
|
}
|
|
@@ -584,13 +593,17 @@
|
|
|
584
593
|
color: var(--mobile-label-tertiary, var(--color-text-tertiary));
|
|
585
594
|
}
|
|
586
595
|
|
|
596
|
+
.Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"])[data-disabled]::before {
|
|
597
|
+
background-color: transparent;
|
|
598
|
+
}
|
|
599
|
+
|
|
587
600
|
.Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"])[aria-expanded="true"]:not([data-disabled]) {
|
|
588
601
|
color: var(--link-primary-text-color);
|
|
589
602
|
}
|
|
590
603
|
|
|
591
|
-
/* A date and a time (showTime with a triggerTimeFormat) are two capsules
|
|
592
|
-
|
|
593
|
-
|
|
604
|
+
/* A date and a time (showTime with a triggerTimeFormat) are two capsules 8px apart, as Calendar on iOS 27.2 shows
|
|
605
|
+
an event's start (8pt; UIKit's own pair 4pt, the iOS 26 kit 6px). Either opens the calendar, whose time fields
|
|
606
|
+
set the time; the trigger stays the row's target and takes the accent while the calendar is open. */
|
|
594
607
|
.Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts]) {
|
|
595
608
|
padding-inline: 0;
|
|
596
609
|
}
|
|
@@ -601,16 +614,20 @@
|
|
|
601
614
|
|
|
602
615
|
.Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts]) [data-date-parts] {
|
|
603
616
|
display: flex;
|
|
604
|
-
gap:
|
|
617
|
+
gap: 8px;
|
|
605
618
|
min-width: 0;
|
|
606
619
|
}
|
|
607
620
|
|
|
608
621
|
.Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts]) [data-date-part] {
|
|
609
|
-
padding: 6px
|
|
622
|
+
padding: 6px 12px;
|
|
610
623
|
border-radius: var(--radius-full);
|
|
611
624
|
background-color: var(--color-background-secondary-soft-alpha);
|
|
612
625
|
}
|
|
613
626
|
|
|
627
|
+
.Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts])[data-disabled] [data-date-part] {
|
|
628
|
+
background-color: transparent;
|
|
629
|
+
}
|
|
630
|
+
|
|
614
631
|
/* Short of room, the date ends in an ellipsis inside its capsule; the time keeps its width */
|
|
615
632
|
.Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts]) [data-date-part="date"] {
|
|
616
633
|
min-width: 0;
|
|
@@ -928,9 +945,16 @@
|
|
|
928
945
|
}
|
|
929
946
|
|
|
930
947
|
/* The Field already delegates its non-interactive area to this linked popup.
|
|
931
|
-
Keep one row surface; the trigger remains its only keyboard stop.
|
|
948
|
+
Keep one row surface; the trigger remains its only keyboard stop. Its box is 34px, centred in the row without
|
|
949
|
+
moving it, as the pop-up button of an iOS picker is: a phone list opens over it, 9pt below the 52pt row's top
|
|
950
|
+
(ref-app pickers, block 8: 26px at @3x; Select.tsx). */
|
|
932
951
|
:where([data-plex-layout="phone"]) .Field:where([data-row]) > .Content > .Control > :is([data-variant="outline"], [data-variant="soft"], [data-variant="ghost"])[role="button"][aria-haspopup]:not([aria-haspopup="false"]) {
|
|
933
|
-
--select-control-size:
|
|
952
|
+
--select-control-size: 34px;
|
|
953
|
+
|
|
954
|
+
/* A clear button does not grow it: its 44px target reaches past the box (SelectControl.module.css), so a list
|
|
955
|
+
that stays open after a pick stands where it opened (owner 10.11: the list jumped after the first choice) */
|
|
956
|
+
min-height: 0;
|
|
957
|
+
margin-block: calc((var(--field-row-label-line-height) - 34px) / 2);
|
|
934
958
|
border-radius: 0;
|
|
935
959
|
}
|
|
936
960
|
|
|
@@ -949,14 +973,16 @@
|
|
|
949
973
|
cursor: pointer;
|
|
950
974
|
}
|
|
951
975
|
|
|
952
|
-
/* A date in a row is the compact date picker of iOS
|
|
953
|
-
|
|
954
|
-
|
|
976
|
+
/* A date in a row is the compact date picker of iOS 27.2: a 34px capsule with 12px insets on the fill of the
|
|
977
|
+
calendar's time pill, the date in the primary label and in the accent text while its calendar is open
|
|
978
|
+
(Calendar's new event on an iPhone 17: 34.3pt, the text 12pt in from either end; UIKit's own capsule 36pt
|
|
979
|
+
with the same insets; the iOS 26 kit drew 11px). It keeps the 52px row; the row stays its target. A
|
|
980
|
+
disabled date draws no capsule, as UIKit's disabled compact picker does, and stays dimmed. */
|
|
955
981
|
:where([data-plex-layout="phone"]) .Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]) {
|
|
956
982
|
--select-control-size: 34px;
|
|
957
983
|
|
|
958
984
|
margin-block: calc((var(--field-row-label-line-height) - 34px) / 2);
|
|
959
|
-
padding-inline:
|
|
985
|
+
padding-inline: 12px;
|
|
960
986
|
border-radius: var(--radius-full);
|
|
961
987
|
color: var(--color-text);
|
|
962
988
|
}
|
|
@@ -970,13 +996,17 @@
|
|
|
970
996
|
color: var(--mobile-label-tertiary, var(--color-text-tertiary));
|
|
971
997
|
}
|
|
972
998
|
|
|
999
|
+
:where([data-plex-layout="phone"]) .Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"])[data-disabled]::before {
|
|
1000
|
+
background-color: transparent;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
973
1003
|
:where([data-plex-layout="phone"]) .Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"])[aria-expanded="true"]:not([data-disabled]) {
|
|
974
1004
|
color: var(--link-primary-text-color);
|
|
975
1005
|
}
|
|
976
1006
|
|
|
977
|
-
/* A date and a time (showTime with a triggerTimeFormat) are two capsules
|
|
978
|
-
|
|
979
|
-
|
|
1007
|
+
/* A date and a time (showTime with a triggerTimeFormat) are two capsules 8px apart, as Calendar on iOS 27.2 shows
|
|
1008
|
+
an event's start (8pt; UIKit's own pair 4pt, the iOS 26 kit 6px). Either opens the calendar, whose time fields
|
|
1009
|
+
set the time; the trigger stays the row's target and takes the accent while the calendar is open. */
|
|
980
1010
|
:where([data-plex-layout="phone"]) .Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts]) {
|
|
981
1011
|
padding-inline: 0;
|
|
982
1012
|
}
|
|
@@ -987,16 +1017,20 @@
|
|
|
987
1017
|
|
|
988
1018
|
:where([data-plex-layout="phone"]) .Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts]) [data-date-parts] {
|
|
989
1019
|
display: flex;
|
|
990
|
-
gap:
|
|
1020
|
+
gap: 8px;
|
|
991
1021
|
min-width: 0;
|
|
992
1022
|
}
|
|
993
1023
|
|
|
994
1024
|
:where([data-plex-layout="phone"]) .Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts]) [data-date-part] {
|
|
995
|
-
padding: 6px
|
|
1025
|
+
padding: 6px 12px;
|
|
996
1026
|
border-radius: var(--radius-full);
|
|
997
1027
|
background-color: var(--color-background-secondary-soft-alpha);
|
|
998
1028
|
}
|
|
999
1029
|
|
|
1030
|
+
:where([data-plex-layout="phone"]) .Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts])[data-disabled] [data-date-part] {
|
|
1031
|
+
background-color: transparent;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1000
1034
|
/* Short of room, the date ends in an ellipsis inside its capsule; the time keeps its width */
|
|
1001
1035
|
:where([data-plex-layout="phone"]) .Field:where([data-row]:not([data-orientation="vertical"])) > .Content > .Control > [data-date-picker][data-variant][role="button"][aria-haspopup]:not([aria-haspopup="false"]):has([data-date-parts]) [data-date-part="date"] {
|
|
1002
1036
|
min-width: 0;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
font-size: var(--field-group-title-font-size);
|
|
19
19
|
line-height: var(--field-group-title-line-height);
|
|
20
20
|
font-weight: var(--field-group-title-font-weight);
|
|
21
|
-
letter-spacing: var(--field-group-title-letter-spacing,
|
|
21
|
+
letter-spacing: var(--field-group-title-letter-spacing, var(--font-sans-tracking));
|
|
22
22
|
}/* headerProminence="increased": the title leads its content, as a section of a page */.FieldGroup[data-header-prominence="increased"] {
|
|
23
23
|
--field-group-title-color: var(--color-text);
|
|
24
24
|
--field-group-title-font-size: var(--font-heading-sm-size);
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/* The kit's Prominent list header (Lists, Header 517:38042, Type=Prominent): Title 3 Semibold
|
|
57
|
-
20/25 in the primary label, 10pt above the rows. Its -0.45 tracking is
|
|
58
|
-
|
|
57
|
+
20/25 in the primary label, 10pt above the rows. Its -0.45 tracking is SF's own at 20pt; the title
|
|
58
|
+
takes the kit face's, --font-sans-tracking at 20px (font-tracking.test.ts). */
|
|
59
59
|
.FieldGroup[data-header-prominence="increased"] {
|
|
60
60
|
--field-group-title-color: var(--color-text);
|
|
61
61
|
--field-group-title-font-size: 20px;
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
/* The kit's Prominent list header (Lists, Header 517:38042, Type=Prominent): Title 3 Semibold
|
|
171
|
-
20/25 in the primary label, 10pt above the rows. Its -0.45 tracking is
|
|
172
|
-
|
|
171
|
+
20/25 in the primary label, 10pt above the rows. Its -0.45 tracking is SF's own at 20pt; the title
|
|
172
|
+
takes the kit face's, --font-sans-tracking at 20px (font-tracking.test.ts). */
|
|
173
173
|
:where([data-plex-layout="phone"]) .FieldGroup[data-header-prominence="increased"] {
|
|
174
174
|
--field-group-title-color: var(--color-text);
|
|
175
175
|
--field-group-title-font-size: 20px;
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
.FileNameExt {
|
|
175
175
|
font-size: 17px;
|
|
176
176
|
line-height: 22px;
|
|
177
|
-
letter-spacing:
|
|
177
|
+
letter-spacing: var(--font-sans-tracking);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.FileSize {
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
:where([data-plex-layout="phone"]) .FileNameExt {
|
|
249
249
|
font-size: 17px;
|
|
250
250
|
line-height: 22px;
|
|
251
|
-
letter-spacing:
|
|
251
|
+
letter-spacing: var(--font-sans-tracking);
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
:where([data-plex-layout="phone"]) .FileSize {
|
|
@@ -401,6 +401,18 @@
|
|
|
401
401
|
appearance: none;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
+
/* A search field draws no decoration of the browser's: its magnifier is an adornment. Its cancel button gives way
|
|
405
|
+
to the Input's own clear button (onClear); without one the browser's still clears the field. */
|
|
406
|
+
.Input[type="search"]::-webkit-search-decoration {
|
|
407
|
+
-webkit-appearance: none;
|
|
408
|
+
appearance: none;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
:where(.Container:has(> .Clear)) > .Input[type="search"]::-webkit-search-cancel-button {
|
|
412
|
+
-webkit-appearance: none;
|
|
413
|
+
appearance: none;
|
|
414
|
+
}
|
|
415
|
+
|
|
404
416
|
/* Dynamic pill spacing */
|
|
405
417
|
:where(.Container[data-pill]) .Input {
|
|
406
418
|
padding: 0 calc(var(--input-gutter) * var(--control-gutter-pill-scaling));
|
|
@@ -558,6 +570,27 @@
|
|
|
558
570
|
pointer-events: none;
|
|
559
571
|
transition: background-color var(--transition-duration-basic) var(--transition-ease-basic);
|
|
560
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. */
|
|
579
|
+
.Container:has(> .Input[type="search"]):not(:where([data-row] *)) {
|
|
580
|
+
--input-gutter: var(--toolbar-search-gutter);
|
|
581
|
+
--input-gap: calc(var(--toolbar-search-icon-gap) - 1px);
|
|
582
|
+
--input-adornment-offset: 0px;
|
|
583
|
+
--control-gutter-pill-scaling: 1;
|
|
584
|
+
--input-placeholder-text-color: var(--toolbar-search-placeholder-color);
|
|
585
|
+
font-weight: var(--toolbar-search-font-weight);
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.Container:has(> .Input[type="search"]):not(:where([data-row] *)) > svg {
|
|
589
|
+
flex: none;
|
|
590
|
+
width: var(--toolbar-search-icon-size);
|
|
591
|
+
height: var(--toolbar-search-icon-size);
|
|
592
|
+
}
|
|
593
|
+
|
|
561
594
|
/* The clear button of a phone text field is the filled circle with a cross of iOS (xmark.circle.fill, a 17px
|
|
562
595
|
circle in the tertiary label: kit iOS 27 Text Fields 5433:15635, IMG_5514), drawn with the PlexUI
|
|
563
596
|
XCircleFilled icon, whose circle is 20 of its 24px box. The circle alone shows the button, without the
|
|
@@ -575,24 +608,38 @@
|
|
|
575
608
|
}
|
|
576
609
|
|
|
577
610
|
/* The circle is concentric with the field's rounded end, half the field's height from its end (22px on the
|
|
578
|
-
44px field).
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
611
|
+
44px field). The margins move the 44px target; the circle keeps its size. Physical sides, as the
|
|
612
|
+
container's own end gutter (padding-right) and the button's desktop margin. Nothing may follow it, a text
|
|
613
|
+
adornment either: `:last-child` does not see text, so Input sets data-end-adornment when an end adornment
|
|
614
|
+
is given (it follows the prop, not what is drawn: one that renders nothing still takes the base place). */
|
|
615
|
+
.Container:not([data-end-adornment]) > .Clear {
|
|
582
616
|
margin-right: calc(var(--input-size) / 2 - var(--input-clear-target-size, var(--input-clear-size)) / 2 - var(--input-gutter));
|
|
583
617
|
}
|
|
584
618
|
|
|
585
|
-
.Container[data-pill] > .Clear
|
|
619
|
+
.Container[data-pill]:not([data-end-adornment]) > .Clear {
|
|
586
620
|
margin-right: calc(var(--input-size) / 2 - var(--input-clear-target-size, var(--input-clear-size)) / 2 - var(--input-gutter) * var(--control-gutter-pill-scaling));
|
|
587
621
|
}
|
|
588
622
|
|
|
589
|
-
/*
|
|
590
|
-
|
|
591
|
-
:where([data-row]) .Container > .Clear
|
|
592
|
-
margin-right: calc(10px - var(--input-clear-target-size, var(--input-clear-size)) / 2);
|
|
623
|
+
/* In a row the target stands around the value's line and does not grow the row, before an end adornment too
|
|
624
|
+
(a password eye). */
|
|
625
|
+
:where([data-row]) .Container > .Clear {
|
|
593
626
|
margin-block: calc((var(--input-size) - var(--input-clear-target-size, var(--input-clear-size))) / 2);
|
|
594
627
|
}
|
|
595
628
|
|
|
629
|
+
/* Every row is frameless on a phone (a value under its label or alone too), so the circle keeps the row's
|
|
630
|
+
place in each. iOS 27.2 centres it 15pt inside the row's 20pt inset, 35pt from the cell's edge, and ends the
|
|
631
|
+
value 6pt before it: a UITextField in an inset grouped cell (simulator, iPhone 17) and Settings' Wi-Fi
|
|
632
|
+
Password (IMG_5514) both measure 35.3 and 6. The 44px target starts at the value's end and reaches into the
|
|
633
|
+
inset, so a tap at the end of the value still places the caret; the circle sits 6px into it (its 20.4px box
|
|
634
|
+
draws the 17px circle 1.7px in). Logical sides, so a right-to-left row mirrors it; this rule follows the
|
|
635
|
+
physical ones above with their weight, so it wins in either direction. */
|
|
636
|
+
:where([data-row]) .Container:not([data-end-adornment]) > .Clear.Clear {
|
|
637
|
+
justify-content: flex-start;
|
|
638
|
+
padding-inline-start: calc(6px - var(--input-clear-glyph-size, 17px) * 0.1);
|
|
639
|
+
margin-inline-start: calc(var(--input-gap) * -1);
|
|
640
|
+
margin-inline-end: calc(15px + var(--input-clear-glyph-size, 17px) / 2 + 6px - var(--input-clear-target-size, var(--input-clear-size)));
|
|
641
|
+
}
|
|
642
|
+
|
|
596
643
|
/* In a grouped row the clear button shows only while the value is being edited, as
|
|
597
644
|
the text fields of iOS forms show theirs (UITextField clearButtonMode whileEditing). */
|
|
598
645
|
:where([data-row]) .Container:not(:focus-within) > .Clear {
|
|
@@ -687,6 +734,27 @@
|
|
|
687
734
|
height: 19px;
|
|
688
735
|
}
|
|
689
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. */
|
|
743
|
+
:where([data-plex-layout="phone"]) .Container:has(> .Input[type="search"]):not(:where([data-row] *)) {
|
|
744
|
+
--input-gutter: var(--toolbar-search-gutter);
|
|
745
|
+
--input-gap: calc(var(--toolbar-search-icon-gap) - 1px);
|
|
746
|
+
--input-adornment-offset: 0px;
|
|
747
|
+
--control-gutter-pill-scaling: 1;
|
|
748
|
+
--input-placeholder-text-color: var(--toolbar-search-placeholder-color);
|
|
749
|
+
font-weight: var(--toolbar-search-font-weight);
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
:where([data-plex-layout="phone"]) .Container:has(> .Input[type="search"]):not(:where([data-row] *)) > svg {
|
|
753
|
+
flex: none;
|
|
754
|
+
width: var(--toolbar-search-icon-size);
|
|
755
|
+
height: var(--toolbar-search-icon-size);
|
|
756
|
+
}
|
|
757
|
+
|
|
690
758
|
/* The clear button of a phone text field is the filled circle with a cross of iOS (xmark.circle.fill, a 17px
|
|
691
759
|
circle in the tertiary label: kit iOS 27 Text Fields 5433:15635, IMG_5514), drawn with the PlexUI
|
|
692
760
|
XCircleFilled icon, whose circle is 20 of its 24px box. The circle alone shows the button, without the
|
|
@@ -704,24 +772,38 @@
|
|
|
704
772
|
}
|
|
705
773
|
|
|
706
774
|
/* The circle is concentric with the field's rounded end, half the field's height from its end (22px on the
|
|
707
|
-
44px field).
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
775
|
+
44px field). The margins move the 44px target; the circle keeps its size. Physical sides, as the
|
|
776
|
+
container's own end gutter (padding-right) and the button's desktop margin. Nothing may follow it, a text
|
|
777
|
+
adornment either: `:last-child` does not see text, so Input sets data-end-adornment when an end adornment
|
|
778
|
+
is given (it follows the prop, not what is drawn: one that renders nothing still takes the base place). */
|
|
779
|
+
:where([data-plex-layout="phone"]) .Container:not([data-end-adornment]) > .Clear {
|
|
711
780
|
margin-right: calc(var(--input-size) / 2 - var(--input-clear-target-size, var(--input-clear-size)) / 2 - var(--input-gutter));
|
|
712
781
|
}
|
|
713
782
|
|
|
714
|
-
:where([data-plex-layout="phone"]) .Container[data-pill] > .Clear
|
|
783
|
+
:where([data-plex-layout="phone"]) .Container[data-pill]:not([data-end-adornment]) > .Clear {
|
|
715
784
|
margin-right: calc(var(--input-size) / 2 - var(--input-clear-target-size, var(--input-clear-size)) / 2 - var(--input-gutter) * var(--control-gutter-pill-scaling));
|
|
716
785
|
}
|
|
717
786
|
|
|
718
|
-
/*
|
|
719
|
-
|
|
720
|
-
:where([data-plex-layout="phone"]) :where([data-row]) .Container > .Clear
|
|
721
|
-
margin-right: calc(10px - var(--input-clear-target-size, var(--input-clear-size)) / 2);
|
|
787
|
+
/* In a row the target stands around the value's line and does not grow the row, before an end adornment too
|
|
788
|
+
(a password eye). */
|
|
789
|
+
:where([data-plex-layout="phone"]) :where([data-row]) .Container > .Clear {
|
|
722
790
|
margin-block: calc((var(--input-size) - var(--input-clear-target-size, var(--input-clear-size))) / 2);
|
|
723
791
|
}
|
|
724
792
|
|
|
793
|
+
/* Every row is frameless on a phone (a value under its label or alone too), so the circle keeps the row's
|
|
794
|
+
place in each. iOS 27.2 centres it 15pt inside the row's 20pt inset, 35pt from the cell's edge, and ends the
|
|
795
|
+
value 6pt before it: a UITextField in an inset grouped cell (simulator, iPhone 17) and Settings' Wi-Fi
|
|
796
|
+
Password (IMG_5514) both measure 35.3 and 6. The 44px target starts at the value's end and reaches into the
|
|
797
|
+
inset, so a tap at the end of the value still places the caret; the circle sits 6px into it (its 20.4px box
|
|
798
|
+
draws the 17px circle 1.7px in). Logical sides, so a right-to-left row mirrors it; this rule follows the
|
|
799
|
+
physical ones above with their weight, so it wins in either direction. */
|
|
800
|
+
:where([data-plex-layout="phone"]) :where([data-row]) .Container:not([data-end-adornment]) > .Clear.Clear {
|
|
801
|
+
justify-content: flex-start;
|
|
802
|
+
padding-inline-start: calc(6px - var(--input-clear-glyph-size, 17px) * 0.1);
|
|
803
|
+
margin-inline-start: calc(var(--input-gap) * -1);
|
|
804
|
+
margin-inline-end: calc(15px + var(--input-clear-glyph-size, 17px) / 2 + 6px - var(--input-clear-target-size, var(--input-clear-size)));
|
|
805
|
+
}
|
|
806
|
+
|
|
725
807
|
/* In a grouped row the clear button shows only while the value is being edited, as
|
|
726
808
|
the text fields of iOS forms show theirs (UITextField clearButtonMode whileEditing). */
|
|
727
809
|
:where([data-plex-layout="phone"]) :where([data-row]) .Container:not(:focus-within) > .Clear {
|
|
@@ -600,16 +600,13 @@
|
|
|
600
600
|
}/* iPhone menu items share label/subtitle and selection geometry. */@media (max-width: 767px) {
|
|
601
601
|
.MenuList {
|
|
602
602
|
background: var(--menu-mobile-background, var(--color-surface-elevated));
|
|
603
|
+
backdrop-filter: var(--menu-mobile-backdrop-filter, none);
|
|
603
604
|
}
|
|
604
605
|
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
/* No tracking of its own: the system font tracks the labels. Nine labels of native iOS 26 menus
|
|
610
|
-
(iOS2 IMG_5524, 5525, 17/400) measure within 2px at @3x without it and 7 to 16px short with -0.43px. */
|
|
606
|
+
/* No tracking of its own: the labels take the kit face's, --font-sans-tracking at 17px. In SF, nine labels of
|
|
607
|
+
native iOS 26 menus (iOS2 IMG_5524, 5525, 17/400) measured within 2px at @3x without it, 7 to 16px short with -0.43px. */
|
|
611
608
|
.MenuList:not([data-layout="horizontal"]) :is(.MenuItem, .MenuItemContent):not(:where(.RadioGroup[data-layout="horizontal"] *)) {
|
|
612
|
-
letter-spacing: var(--menu-letter-spacing,
|
|
609
|
+
letter-spacing: var(--menu-letter-spacing, var(--font-sans-tracking));
|
|
613
610
|
overflow-wrap: anywhere;
|
|
614
611
|
}
|
|
615
612
|
|
|
@@ -619,7 +616,7 @@
|
|
|
619
616
|
display: grid;
|
|
620
617
|
grid-template-columns: minmax(0, 1fr);
|
|
621
618
|
align-content: center;
|
|
622
|
-
min-height: 42px;
|
|
619
|
+
min-height: var(--menu-row-min-height, 42px);
|
|
623
620
|
padding-block: 0;
|
|
624
621
|
}
|
|
625
622
|
|
|
@@ -651,7 +648,7 @@
|
|
|
651
648
|
.MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)) > .PressableInner {
|
|
652
649
|
grid-area: 1 / 1;
|
|
653
650
|
min-width: 0;
|
|
654
|
-
padding-block: 10px;
|
|
651
|
+
padding-block: var(--menu-row-padding-block, 10px);
|
|
655
652
|
}
|
|
656
653
|
|
|
657
654
|
.MenuList:not([data-layout="horizontal"]) .MenuItem:has(.ItemDescription),
|
|
@@ -663,20 +660,15 @@
|
|
|
663
660
|
gap: 2px;
|
|
664
661
|
}
|
|
665
662
|
|
|
663
|
+
/* A subtitle wraps, as a UIAction's does in an iOS 27.2 menu (ref-app pickers-desc-uikit: 13pt on 18pt lines,
|
|
664
|
+
Owner's on three); the kit's one truncated line gives way to the simulator. */
|
|
666
665
|
.MenuList:not([data-layout="horizontal"]) .ItemDescription {
|
|
667
|
-
font-size: 13px;
|
|
668
|
-
line-height: 18px;
|
|
669
|
-
letter-spacing:
|
|
666
|
+
font-size: var(--menu-description-font-size, 13px);
|
|
667
|
+
line-height: var(--menu-description-line-height, 18px);
|
|
668
|
+
letter-spacing: var(--font-sans-tracking);
|
|
670
669
|
color: var(--menu-description-color, var(--color-text-secondary));
|
|
671
670
|
}
|
|
672
671
|
|
|
673
|
-
/* The native text subtitle is one line; rich description slots retain their layout. */
|
|
674
|
-
.MenuList:not([data-layout="horizontal"]) .ItemDescription:not(:has(*)) {
|
|
675
|
-
overflow: hidden;
|
|
676
|
-
text-overflow: ellipsis;
|
|
677
|
-
white-space: nowrap;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
672
|
.MenuList:not([data-layout="horizontal"]) .MenuItem[data-disabled] {
|
|
681
673
|
color: var(--menu-disabled-label-color, var(--color-text-tertiary));
|
|
682
674
|
opacity: 1;
|
|
@@ -700,7 +692,7 @@
|
|
|
700
692
|
|
|
701
693
|
.MenuList:not([data-layout="horizontal"]) :is(.RadioIndicator, .CheckboxIndicator) {
|
|
702
694
|
width: var(--menu-check-column, 13px);
|
|
703
|
-
height: 22px;
|
|
695
|
+
height: var(--menu-check-slot-height, 22px);
|
|
704
696
|
/* A 22px selection slot beside the 20px label line. */
|
|
705
697
|
border-radius: 0;
|
|
706
698
|
box-shadow: none;
|
|
@@ -719,7 +711,7 @@
|
|
|
719
711
|
|
|
720
712
|
.MenuList:not([data-layout="horizontal"]) .CheckboxCircle {
|
|
721
713
|
width: var(--menu-check-column, 13px);
|
|
722
|
-
height: 22px;
|
|
714
|
+
height: var(--menu-check-slot-height, 22px);
|
|
723
715
|
border-radius: 0;
|
|
724
716
|
background: none;
|
|
725
717
|
color: inherit;
|
|
@@ -747,19 +739,22 @@
|
|
|
747
739
|
height: var(--menu-check-size, 18px);
|
|
748
740
|
color: inherit;
|
|
749
741
|
}
|
|
742
|
+
|
|
743
|
+
.MenuList:not([data-layout="horizontal"]) .SelectionCheck path {
|
|
744
|
+
stroke: currentColor;
|
|
745
|
+
stroke-width: var(--menu-check-stroke, 0);
|
|
746
|
+
stroke-linejoin: round;
|
|
747
|
+
}
|
|
750
748
|
}
|
|
751
749
|
:where([data-plex-layout="phone"]) .MenuList {
|
|
752
750
|
background: var(--menu-mobile-background, var(--color-surface-elevated));
|
|
751
|
+
backdrop-filter: var(--menu-mobile-backdrop-filter, none);
|
|
753
752
|
}
|
|
754
753
|
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
/* No tracking of its own: the system font tracks the labels. Nine labels of native iOS 26 menus
|
|
760
|
-
(iOS2 IMG_5524, 5525, 17/400) measure within 2px at @3x without it and 7 to 16px short with -0.43px. */
|
|
754
|
+
/* No tracking of its own: the labels take the kit face's, --font-sans-tracking at 17px. In SF, nine labels of
|
|
755
|
+
native iOS 26 menus (iOS2 IMG_5524, 5525, 17/400) measured within 2px at @3x without it, 7 to 16px short with -0.43px. */
|
|
761
756
|
:where([data-plex-layout="phone"]) .MenuList:not([data-layout="horizontal"]) :is(.MenuItem, .MenuItemContent):not(:where(.RadioGroup[data-layout="horizontal"] *)) {
|
|
762
|
-
letter-spacing: var(--menu-letter-spacing,
|
|
757
|
+
letter-spacing: var(--menu-letter-spacing, var(--font-sans-tracking));
|
|
763
758
|
overflow-wrap: anywhere;
|
|
764
759
|
}
|
|
765
760
|
|
|
@@ -769,7 +764,7 @@
|
|
|
769
764
|
display: grid;
|
|
770
765
|
grid-template-columns: minmax(0, 1fr);
|
|
771
766
|
align-content: center;
|
|
772
|
-
min-height: 42px;
|
|
767
|
+
min-height: var(--menu-row-min-height, 42px);
|
|
773
768
|
padding-block: 0;
|
|
774
769
|
}
|
|
775
770
|
|
|
@@ -801,7 +796,7 @@
|
|
|
801
796
|
:where([data-plex-layout="phone"]) .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)) > .PressableInner {
|
|
802
797
|
grid-area: 1 / 1;
|
|
803
798
|
min-width: 0;
|
|
804
|
-
padding-block: 10px;
|
|
799
|
+
padding-block: var(--menu-row-padding-block, 10px);
|
|
805
800
|
}
|
|
806
801
|
|
|
807
802
|
:where([data-plex-layout="phone"]) .MenuList:not([data-layout="horizontal"]) .MenuItem:has(.ItemDescription),
|
|
@@ -813,20 +808,15 @@
|
|
|
813
808
|
gap: 2px;
|
|
814
809
|
}
|
|
815
810
|
|
|
811
|
+
/* A subtitle wraps, as a UIAction's does in an iOS 27.2 menu (ref-app pickers-desc-uikit: 13pt on 18pt lines,
|
|
812
|
+
Owner's on three); the kit's one truncated line gives way to the simulator. */
|
|
816
813
|
:where([data-plex-layout="phone"]) .MenuList:not([data-layout="horizontal"]) .ItemDescription {
|
|
817
|
-
font-size: 13px;
|
|
818
|
-
line-height: 18px;
|
|
819
|
-
letter-spacing:
|
|
814
|
+
font-size: var(--menu-description-font-size, 13px);
|
|
815
|
+
line-height: var(--menu-description-line-height, 18px);
|
|
816
|
+
letter-spacing: var(--font-sans-tracking);
|
|
820
817
|
color: var(--menu-description-color, var(--color-text-secondary));
|
|
821
818
|
}
|
|
822
819
|
|
|
823
|
-
/* The native text subtitle is one line; rich description slots retain their layout. */
|
|
824
|
-
:where([data-plex-layout="phone"]) .MenuList:not([data-layout="horizontal"]) .ItemDescription:not(:has(*)) {
|
|
825
|
-
overflow: hidden;
|
|
826
|
-
text-overflow: ellipsis;
|
|
827
|
-
white-space: nowrap;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
820
|
:where([data-plex-layout="phone"]) .MenuList:not([data-layout="horizontal"]) .MenuItem[data-disabled] {
|
|
831
821
|
color: var(--menu-disabled-label-color, var(--color-text-tertiary));
|
|
832
822
|
opacity: 1;
|
|
@@ -850,7 +840,7 @@
|
|
|
850
840
|
|
|
851
841
|
:where([data-plex-layout="phone"]) .MenuList:not([data-layout="horizontal"]) :is(.RadioIndicator, .CheckboxIndicator) {
|
|
852
842
|
width: var(--menu-check-column, 13px);
|
|
853
|
-
height: 22px;
|
|
843
|
+
height: var(--menu-check-slot-height, 22px);
|
|
854
844
|
/* A 22px selection slot beside the 20px label line. */
|
|
855
845
|
border-radius: 0;
|
|
856
846
|
box-shadow: none;
|
|
@@ -869,7 +859,7 @@
|
|
|
869
859
|
|
|
870
860
|
:where([data-plex-layout="phone"]) .MenuList:not([data-layout="horizontal"]) .CheckboxCircle {
|
|
871
861
|
width: var(--menu-check-column, 13px);
|
|
872
|
-
height: 22px;
|
|
862
|
+
height: var(--menu-check-slot-height, 22px);
|
|
873
863
|
border-radius: 0;
|
|
874
864
|
background: none;
|
|
875
865
|
color: inherit;
|
|
@@ -896,6 +886,12 @@
|
|
|
896
886
|
width: var(--menu-check-size, 18px);
|
|
897
887
|
height: var(--menu-check-size, 18px);
|
|
898
888
|
color: inherit;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
:where([data-plex-layout="phone"]) .MenuList:not([data-layout="horizontal"]) .SelectionCheck path {
|
|
892
|
+
stroke: currentColor;
|
|
893
|
+
stroke-width: var(--menu-check-stroke, 0);
|
|
894
|
+
stroke-linejoin: round;
|
|
899
895
|
}/* The items of a submenu (Menu.tsx SubContent). They lie in the panel itself; a phone submenu scrolls them under its
|
|
900
896
|
heading row (below). */.SubmenuItems {
|
|
901
897
|
display: contents;
|
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
font-size: var(--page-title-font-size);
|
|
51
51
|
font-weight: var(--font-weight-semibold);
|
|
52
52
|
line-height: var(--page-title-line-height);
|
|
53
|
+
}/* A bare title takes the bar's free space, as a heading does, so it follows Page.Leading and the actions keep
|
|
54
|
+
the end (a phone sets the bar as a grid of its own) */.Bar > .Title {
|
|
55
|
+
flex: 1 1 auto;
|
|
56
|
+
min-width: 0;
|
|
53
57
|
}.Subtitle {
|
|
54
58
|
display: flex;
|
|
55
59
|
align-items: center;
|
|
@@ -301,11 +305,28 @@
|
|
|
301
305
|
--button-radius: var(--radius-full);
|
|
302
306
|
}
|
|
303
307
|
|
|
308
|
+
/* The weight on the button itself, as in a Toolbar: touch.css's semibold --button-font-weight outweighs the one
|
|
309
|
+
above. Medium, a solid one semibold (iOS 27.2, plan 178 block 15). */
|
|
310
|
+
:is(.Leading, .Actions) > :is(button, a, [role="link"]) {
|
|
311
|
+
font-weight: var(--toolbar-label-font-weight);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
:is(.Leading, .Actions) > :is(button, a, [role="link"])[data-variant="solid"] {
|
|
315
|
+
font-weight: var(--toolbar-label-prominent-font-weight);
|
|
316
|
+
}
|
|
317
|
+
|
|
304
318
|
.Leading > :is(button, a):not([data-navigation-action]),
|
|
305
319
|
.Actions > :is(button, a):not([data-navigation-action]) {
|
|
306
320
|
--button-icon-size: 17px;
|
|
307
321
|
}
|
|
308
322
|
|
|
323
|
+
/* A bar's text button keeps the gutters of a Toolbar's (Toolbar.module.css), not those of a content button of
|
|
324
|
+
its step (12px at md since iOS 27.2's 17pt medium button); a disabled ButtonLink renders a span with the
|
|
325
|
+
link role. */
|
|
326
|
+
:is(.Leading, .Actions) > :is(button, a, [role="link"]):not([data-navigation-action], [data-uniform]) {
|
|
327
|
+
--button-gutter: var(--toolbar-label-gutter);
|
|
328
|
+
}
|
|
329
|
+
|
|
309
330
|
/* An icon alone in the circle is a bar symbol, as in a Toolbar: Files' More (IMG_5686) and Freeform's
|
|
310
331
|
ellipsis (IMG_5684) draw it 19.7pt wide, not at the size of a label beside text (owner 08.11). */
|
|
311
332
|
:is(.Leading, .Actions) > :is(button, a)[data-uniform]:not([data-navigation-action]) {
|
|
@@ -582,10 +603,27 @@
|
|
|
582
603
|
--button-radius: var(--radius-full);
|
|
583
604
|
}
|
|
584
605
|
|
|
606
|
+
/* The weight on the button itself, as in a Toolbar: touch.css's semibold --button-font-weight outweighs the one
|
|
607
|
+
above. Medium, a solid one semibold (iOS 27.2, plan 178 block 15). */
|
|
608
|
+
:where([data-plex-layout="phone"]) :is(.Leading, .Actions) > :is(button, a, [role="link"]) {
|
|
609
|
+
font-weight: var(--toolbar-label-font-weight);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
:where([data-plex-layout="phone"]) :is(.Leading, .Actions) > :is(button, a, [role="link"])[data-variant="solid"] {
|
|
613
|
+
font-weight: var(--toolbar-label-prominent-font-weight);
|
|
614
|
+
}
|
|
615
|
+
|
|
585
616
|
:where([data-plex-layout="phone"]) .Leading > :is(button, a):not([data-navigation-action]), :where([data-plex-layout="phone"]) .Actions > :is(button, a):not([data-navigation-action]) {
|
|
586
617
|
--button-icon-size: 17px;
|
|
587
618
|
}
|
|
588
619
|
|
|
620
|
+
/* A bar's text button keeps the gutters of a Toolbar's (Toolbar.module.css), not those of a content button of
|
|
621
|
+
its step (12px at md since iOS 27.2's 17pt medium button); a disabled ButtonLink renders a span with the
|
|
622
|
+
link role. */
|
|
623
|
+
:where([data-plex-layout="phone"]) :is(.Leading, .Actions) > :is(button, a, [role="link"]):not([data-navigation-action], [data-uniform]) {
|
|
624
|
+
--button-gutter: var(--toolbar-label-gutter);
|
|
625
|
+
}
|
|
626
|
+
|
|
589
627
|
/* An icon alone in the circle is a bar symbol, as in a Toolbar: Files' More (IMG_5686) and Freeform's
|
|
590
628
|
ellipsis (IMG_5684) draw it 19.7pt wide, not at the size of a label beside text (owner 08.11). */
|
|
591
629
|
:where([data-plex-layout="phone"]) :is(.Leading, .Actions) > :is(button, a)[data-uniform]:not([data-navigation-action]) {
|