@plexui/styles 0.16.7 → 0.17.1
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 +74 -12
- package/dist/es/components/Alert/Alert.module.css +196 -0
- package/dist/es/components/Breadcrumb/Breadcrumb.module.css +32 -1
- package/dist/es/components/Button/Button.module.css +483 -5
- package/dist/es/components/Button/NavigationButton.module.css +195 -0
- package/dist/es/components/Checkbox/Checkbox.module.css +246 -0
- package/dist/es/components/CodeBlock/CodeBlock.module.css +15 -1
- package/dist/es/components/DatePicker/Calendar.module.css +216 -0
- package/dist/es/components/DatePicker/CalendarNavigationIcon.module.css +19 -0
- package/dist/es/components/DateRangePicker/Calendar.module.css +200 -0
- package/dist/es/components/DateRangePicker/Trigger.module.css +15 -1
- package/dist/es/components/Dialog/Dialog.module.css +456 -0
- package/dist/es/components/Field/Field.module.css +713 -0
- package/dist/es/components/FieldGroup/FieldGroup.module.css +272 -0
- package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +49 -0
- package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +81 -0
- package/dist/es/components/Input/Input.module.css +184 -0
- package/dist/es/components/InputGroup/InputGroup.module.css +17 -0
- package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +60 -0
- package/dist/es/components/Menu/Menu.module.css +244 -0
- package/dist/es/components/NavigationRow/NavigationRow.module.css +82 -0
- package/dist/es/components/Page/Page.module.css +278 -0
- package/dist/es/components/PageControl/PageControl.module.css +35 -0
- package/dist/es/components/Popover/Popover.module.css +20 -0
- package/dist/es/components/RadioGroup/RadioGroup.module.css +151 -0
- package/dist/es/components/Select/Select.module.css +315 -0
- package/dist/es/components/SelectControl/SelectControl.module.css +104 -0
- package/dist/es/components/Sidebar/Sidebar.module.css +210 -4
- package/dist/es/components/Skeleton/Skeleton.module.css +50 -0
- package/dist/es/components/Slider/Slider.module.css +12 -1
- package/dist/es/components/Switch/Switch.module.css +143 -0
- package/dist/es/components/TabBar/TabBar.module.css +354 -0
- package/dist/es/components/Tabs/Tabs.module.css +162 -0
- package/dist/es/components/Tip/Tip.module.css +225 -0
- package/dist/es/components/Toast/Toast.module.css +207 -0
- package/dist/es/components/Toolbar/Toolbar.module.css +1542 -0
- package/dist/es/components/Tooltip/Tooltip.module.css +44 -0
- package/dist/es/styles/android.css +882 -0
- package/dist/es/styles/touch.css +672 -0
- package/dist/es/styles/variables-components.css +4 -0
- package/dist/es/styles/variables-semantic.css +28 -0
- package/dist/es/tokens/resolve.js +2 -0
- package/dist/es/tokens/resolve.js.map +1 -1
- package/dist/es/tokens/tokens.generated.js +64 -10
- package/dist/es/tokens/tokens.generated.js.map +1 -1
- package/dist/types/tokens/resolve.d.ts +2 -0
- package/package.json +1 -1
|
@@ -56,8 +56,7 @@
|
|
|
56
56
|
height: var(--accordion-icon-size);
|
|
57
57
|
margin-inline-end: var(--accordion-icon-margin-inline-end, 0px);
|
|
58
58
|
color: var(--accordion-icon-color);
|
|
59
|
-
transition: transform var(--accordion-
|
|
60
|
-
var(--accordion-transition-ease);
|
|
59
|
+
transition: transform var(--accordion-motion-duration) var(--accordion-motion-easing);
|
|
61
60
|
}.Trigger[data-state="open"] .Chevron {
|
|
62
61
|
transform: rotate(180deg);
|
|
63
62
|
}.Content {
|
|
@@ -67,14 +66,15 @@
|
|
|
67
66
|
color: var(--accordion-content-color);
|
|
68
67
|
}
|
|
69
68
|
|
|
69
|
+
/* The panel takes its height at once and its content shows through a clip growing down from the trigger, while
|
|
70
|
+
what follows slides down by a transform (lib/accordionMotion): no height is animated, as an iOS 27.2
|
|
71
|
+
DisclosureGroup opens. Closing, the clip draws back up and the panel leaves the layout when it ends. */
|
|
70
72
|
.Content[data-state="open"] {
|
|
71
|
-
animation: accordion-
|
|
72
|
-
var(--accordion-transition-ease);
|
|
73
|
+
animation: accordion-reveal var(--accordion-motion-duration) var(--accordion-motion-easing);
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
.Content[data-state="closed"] {
|
|
76
|
-
animation: accordion-
|
|
77
|
-
var(--accordion-transition-ease);
|
|
77
|
+
animation: accordion-conceal var(--accordion-motion-duration) var(--accordion-motion-easing);
|
|
78
78
|
}.ContentInner {
|
|
79
79
|
min-width: 0;
|
|
80
80
|
overflow-wrap: anywhere;
|
|
@@ -82,19 +82,19 @@
|
|
|
82
82
|
padding-bottom: var(--accordion-content-padding-bottom);
|
|
83
83
|
padding-inline-start: var(--accordion-content-padding-inline-start, 0px);
|
|
84
84
|
border-top: var(--accordion-content-divider-width, 0px) solid var(--accordion-item-divider-color);
|
|
85
|
-
}@keyframes accordion-
|
|
85
|
+
}@keyframes accordion-reveal {
|
|
86
86
|
from {
|
|
87
|
-
|
|
87
|
+
clip-path: inset(0 0 100% 0);
|
|
88
88
|
}
|
|
89
89
|
to {
|
|
90
|
-
|
|
90
|
+
clip-path: inset(0);
|
|
91
91
|
}
|
|
92
|
-
}@keyframes accordion-
|
|
92
|
+
}@keyframes accordion-conceal {
|
|
93
93
|
from {
|
|
94
|
-
|
|
94
|
+
clip-path: inset(0);
|
|
95
95
|
}
|
|
96
96
|
to {
|
|
97
|
-
|
|
97
|
+
clip-path: inset(0 0 100% 0);
|
|
98
98
|
}
|
|
99
99
|
}/* On a phone, with touch.css, the chevron of a closed item points to the end, as the iOS disclosure chevron
|
|
100
100
|
(chevron.right) does, and turns down when the item opens: --accordion-chevron-closed-angle -90deg (mirrored for
|
|
@@ -136,6 +136,37 @@
|
|
|
136
136
|
.Trigger[data-state="open"] .Chevron {
|
|
137
137
|
transform: rotate(var(--accordion-chevron-open-angle, 180deg));
|
|
138
138
|
}
|
|
139
|
+
|
|
140
|
+
/* The Plex Android look (`data-platform="android"`, android.css): an item is a row of an Android settings list,
|
|
141
|
+
50 tall with its title at 16/20, and Material's expand chevron, 24px in the secondary text at the end, points
|
|
142
|
+
down and turns up when the item opens. The content stands under the title's start at 14/20, 12 under the
|
|
143
|
+
separator and 12 over the next. */
|
|
144
|
+
[data-platform="android"] .Root {
|
|
145
|
+
--accordion-chevron-closed-angle: 0deg;
|
|
146
|
+
--accordion-chevron-open-angle: 180deg;
|
|
147
|
+
--accordion-trigger-font-size: 16px;
|
|
148
|
+
--accordion-trigger-line-height: 20px;
|
|
149
|
+
--accordion-trigger-min-height: 50px;
|
|
150
|
+
--accordion-trigger-padding-block: 15px;
|
|
151
|
+
--accordion-icon-color: var(--color-text-secondary);
|
|
152
|
+
--accordion-icon-size: 24px;
|
|
153
|
+
--accordion-icon-margin-inline-end: 0px;
|
|
154
|
+
--accordion-content-font-size: 14px;
|
|
155
|
+
--accordion-content-line-height: 20px;
|
|
156
|
+
--accordion-content-padding-top: 12px;
|
|
157
|
+
--accordion-content-padding-bottom: 12px;
|
|
158
|
+
--accordion-content-padding-inline-start: 0px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* Held, an item's title ripples over its row (android.css, Android press ripple), in the reference's selector for a
|
|
162
|
+
card's rows (black at 11.4%) */
|
|
163
|
+
[data-platform="android"] .Trigger {
|
|
164
|
+
--android-ripple-ink: var(--android-ripple-card-color);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
[data-platform="android"] .Trigger[data-ripple]:not(:disabled) {
|
|
168
|
+
background-image: var(--android-ripple-image);
|
|
169
|
+
}
|
|
139
170
|
}
|
|
140
171
|
:where([data-plex-layout="phone"]) .Item:not(:last-child):has(> .Content:not([hidden])) {
|
|
141
172
|
border-bottom-color: transparent;
|
|
@@ -170,6 +201,37 @@
|
|
|
170
201
|
|
|
171
202
|
:where([data-plex-layout="phone"]) .Trigger[data-state="open"] .Chevron {
|
|
172
203
|
transform: rotate(var(--accordion-chevron-open-angle, 180deg));
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* The Plex Android look (`data-platform="android"`, android.css): an item is a row of an Android settings list,
|
|
207
|
+
50 tall with its title at 16/20, and Material's expand chevron, 24px in the secondary text at the end, points
|
|
208
|
+
down and turns up when the item opens. The content stands under the title's start at 14/20, 12 under the
|
|
209
|
+
separator and 12 over the next. */
|
|
210
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Root {
|
|
211
|
+
--accordion-chevron-closed-angle: 0deg;
|
|
212
|
+
--accordion-chevron-open-angle: 180deg;
|
|
213
|
+
--accordion-trigger-font-size: 16px;
|
|
214
|
+
--accordion-trigger-line-height: 20px;
|
|
215
|
+
--accordion-trigger-min-height: 50px;
|
|
216
|
+
--accordion-trigger-padding-block: 15px;
|
|
217
|
+
--accordion-icon-color: var(--color-text-secondary);
|
|
218
|
+
--accordion-icon-size: 24px;
|
|
219
|
+
--accordion-icon-margin-inline-end: 0px;
|
|
220
|
+
--accordion-content-font-size: 14px;
|
|
221
|
+
--accordion-content-line-height: 20px;
|
|
222
|
+
--accordion-content-padding-top: 12px;
|
|
223
|
+
--accordion-content-padding-bottom: 12px;
|
|
224
|
+
--accordion-content-padding-inline-start: 0px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/* Held, an item's title ripples over its row (android.css, Android press ripple), in the reference's selector for a
|
|
228
|
+
card's rows (black at 11.4%) */
|
|
229
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Trigger {
|
|
230
|
+
--android-ripple-ink: var(--android-ripple-card-color);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Trigger[data-ripple]:not(:disabled) {
|
|
234
|
+
background-image: var(--android-ripple-image);
|
|
173
235
|
}@media (prefers-reduced-motion: reduce) {
|
|
174
236
|
.Trigger,
|
|
175
237
|
.Chevron {
|
|
@@ -630,5 +630,201 @@
|
|
|
630
630
|
:where([data-plex-layout="phone"]) .Alert > .CloseButton::before,
|
|
631
631
|
:where([data-plex-layout="phone"]) .Alert > .CloseButton::after {
|
|
632
632
|
inset: 9px;
|
|
633
|
+
}/* The Plex Android look (`data-platform="android"`, android.css), after @plexui/react-native's Alert on Android
|
|
634
|
+
(decision 0026): the same card in Android's sizes. 16px corners and 16 inside, a 24px icon (no overhang) 16 before
|
|
635
|
+
the text and on the title's 24 line (2 above a description's 20 line without a title), the title 16/24 Medium over
|
|
636
|
+
14/20 2 under it, 16 over the actions; the actions are 40px capsules (their own size with `mobileActions="own"`,
|
|
637
|
+
starting under the text at 40); Close is the bare 24px cross in the secondary label, in a 48px target 4 from the
|
|
638
|
+
top and the end, and the first line stops 32 short of it. The colors stay the phone's. */@media (max-width: 767px) {
|
|
639
|
+
[data-platform="android"] .Alert {
|
|
640
|
+
--alert-font-size: 14px;
|
|
641
|
+
--alert-line-height: 20px;
|
|
642
|
+
--alert-indicator-glyph-size: 24px;
|
|
643
|
+
--alert-indicator-size: 24px;
|
|
644
|
+
--alert-android-icon-top: 0px;
|
|
645
|
+
-moz-column-gap: 16px;
|
|
646
|
+
column-gap: 16px;
|
|
647
|
+
row-gap: 16px;
|
|
648
|
+
padding: 16px;
|
|
649
|
+
border-radius: 16px;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
[data-platform="android"] .Alert[data-banner] {
|
|
653
|
+
border-radius: 0;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
[data-platform="android"] .Alert:not(:has(> .Content > .Message > .Title)) {
|
|
657
|
+
--alert-android-icon-top: -2px;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
[data-platform="android"] .Alert > .Indicator:is(.Indicator, :has(+ .Content > .Message > .Title ~ .Description)) {
|
|
661
|
+
padding-inline: 0;
|
|
662
|
+
margin-block: var(--alert-android-icon-top) 0;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
[data-platform="android"] .Message,
|
|
666
|
+
[data-platform="android"] .Indicator + .Content > .Message:is(:not(:has(> .Title)), :not(:has(> .Description))) {
|
|
667
|
+
align-self: auto;
|
|
668
|
+
margin-top: 0;
|
|
669
|
+
padding-inline-start: 0;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
[data-platform="android"] .Alert:has(> .CloseButton) .Message > :first-child:where(.Title, .Description) {
|
|
673
|
+
padding-inline-end: 32px;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
[data-platform="android"] .Title {
|
|
677
|
+
font-size: 16px;
|
|
678
|
+
font-weight: var(--font-weight-medium);
|
|
679
|
+
line-height: 24px;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
[data-platform="android"] .Title ~ .Description {
|
|
683
|
+
margin-bottom: 0;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
[data-platform="android"] .Alert:where(:not([data-mobile-actions="own"])) .Actions > :where(button, a, [role="link"]) {
|
|
687
|
+
--button-size: 40px;
|
|
688
|
+
--button-font-size: 14px;
|
|
689
|
+
--button-gutter: 16px;
|
|
690
|
+
min-height: 40px;
|
|
691
|
+
padding-block: 10px;
|
|
692
|
+
line-height: 20px;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
[data-platform="android"] .Alert[data-mobile-actions="own"] .Actions {
|
|
696
|
+
padding-inline-start: 0;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
[data-platform="android"] .Alert[data-mobile-actions="own"]:has(> .Indicator) .Actions {
|
|
700
|
+
padding-inline-start: 40px;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
[data-platform="android"] .Alert > .CloseButton {
|
|
704
|
+
--button-uniform-size: 48px;
|
|
705
|
+
--button-icon-size: 24px;
|
|
706
|
+
--button-text-color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
707
|
+
--button-text-color-hover: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
708
|
+
--button-background-color: transparent;
|
|
709
|
+
--button-background-color-hover: transparent;
|
|
710
|
+
top: 4px;
|
|
711
|
+
inset-inline-end: 4px;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
[data-platform="android"] .Alert > .CloseButton::before {
|
|
715
|
+
background: transparent;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
[data-platform="android"] .Alert > .CloseButton::after {
|
|
719
|
+
inset: 12px;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/* Held, it ripples as the reference's small icon buttons: a borderless circle of 20px round its symbol, in the
|
|
723
|
+
list selector (android.css, Android press ripple; over the Button's own ink), and does not fade */
|
|
724
|
+
[data-platform="android"] .Alert > .CloseButton[data-variant][data-uniform] {
|
|
725
|
+
--android-ripple-radius: 20px;
|
|
726
|
+
--android-ripple-ink: var(--android-ripple-color);
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
[data-platform="android"] .Alert > .CloseButton[data-ripple]::after {
|
|
730
|
+
inset: calc(50% - 20px);
|
|
731
|
+
border-radius: 50%;
|
|
732
|
+
translate: var(--android-ripple-ox, 0px) var(--android-ripple-oy, 0px);
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert {
|
|
736
|
+
--alert-font-size: 14px;
|
|
737
|
+
--alert-line-height: 20px;
|
|
738
|
+
--alert-indicator-glyph-size: 24px;
|
|
739
|
+
--alert-indicator-size: 24px;
|
|
740
|
+
--alert-android-icon-top: 0px;
|
|
741
|
+
-moz-column-gap: 16px;
|
|
742
|
+
column-gap: 16px;
|
|
743
|
+
row-gap: 16px;
|
|
744
|
+
padding: 16px;
|
|
745
|
+
border-radius: 16px;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert[data-banner] {
|
|
749
|
+
border-radius: 0;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert:not(:has(> .Content > .Message > .Title)) {
|
|
753
|
+
--alert-android-icon-top: -2px;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert > .Indicator:is(.Indicator, :has(+ .Content > .Message > .Title ~ .Description)) {
|
|
757
|
+
padding-inline: 0;
|
|
758
|
+
margin-block: var(--alert-android-icon-top) 0;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Message,
|
|
762
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Indicator + .Content > .Message:is(:not(:has(> .Title)), :not(:has(> .Description))) {
|
|
763
|
+
align-self: auto;
|
|
764
|
+
margin-top: 0;
|
|
765
|
+
padding-inline-start: 0;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert:has(> .CloseButton) .Message > :first-child:where(.Title, .Description) {
|
|
769
|
+
padding-inline-end: 32px;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Title {
|
|
773
|
+
font-size: 16px;
|
|
774
|
+
font-weight: var(--font-weight-medium);
|
|
775
|
+
line-height: 24px;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Title ~ .Description {
|
|
779
|
+
margin-bottom: 0;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert:where(:not([data-mobile-actions="own"])) .Actions > :where(button, a, [role="link"]) {
|
|
783
|
+
--button-size: 40px;
|
|
784
|
+
--button-font-size: 14px;
|
|
785
|
+
--button-gutter: 16px;
|
|
786
|
+
min-height: 40px;
|
|
787
|
+
padding-block: 10px;
|
|
788
|
+
line-height: 20px;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert[data-mobile-actions="own"] .Actions {
|
|
792
|
+
padding-inline-start: 0;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert[data-mobile-actions="own"]:has(> .Indicator) .Actions {
|
|
796
|
+
padding-inline-start: 40px;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert > .CloseButton {
|
|
800
|
+
--button-uniform-size: 48px;
|
|
801
|
+
--button-icon-size: 24px;
|
|
802
|
+
--button-text-color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
803
|
+
--button-text-color-hover: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
804
|
+
--button-background-color: transparent;
|
|
805
|
+
--button-background-color-hover: transparent;
|
|
806
|
+
top: 4px;
|
|
807
|
+
inset-inline-end: 4px;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert > .CloseButton::before {
|
|
811
|
+
background: transparent;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert > .CloseButton::after {
|
|
815
|
+
inset: 12px;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/* Held, it ripples as the reference's small icon buttons: a borderless circle of 20px round its symbol, in the
|
|
819
|
+
list selector (android.css, Android press ripple; over the Button's own ink), and does not fade */
|
|
820
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert > .CloseButton[data-variant][data-uniform] {
|
|
821
|
+
--android-ripple-radius: 20px;
|
|
822
|
+
--android-ripple-ink: var(--android-ripple-color);
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Alert > .CloseButton[data-ripple]::after {
|
|
826
|
+
inset: calc(50% - 20px);
|
|
827
|
+
border-radius: 50%;
|
|
828
|
+
translate: var(--android-ripple-ox, 0px) var(--android-ripple-oy, 0px);
|
|
633
829
|
}
|
|
634
830
|
}
|
|
@@ -118,5 +118,36 @@
|
|
|
118
118
|
inset-block: 0;
|
|
119
119
|
inset-inline: min(0px, (100% - 44px) / 2);
|
|
120
120
|
content: "";
|
|
121
|
-
}
|
|
121
|
+
}/* The Plex Android look (`data-platform="android"`, android.css): Android has no breadcrumb either. A trail kept on
|
|
122
|
+
a phone takes Body Medium, 14/20, and each link Android's 48px touch target; lines of a wrapping trail stand 48px
|
|
123
|
+
apart. */@media (max-width: 767px) {
|
|
124
|
+
[data-platform="android"] .Breadcrumb,
|
|
125
|
+
[data-platform="android"] .Breadcrumb[data-size="sm"] {
|
|
126
|
+
--breadcrumb-font-size: 14px;
|
|
127
|
+
--breadcrumb-line-height: 20px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
[data-platform="android"] .Item,
|
|
131
|
+
[data-platform="android"] .Item > .Link {
|
|
132
|
+
min-height: 48px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[data-platform="android"] .Item > .Link::after {
|
|
136
|
+
inset-inline: min(0px, (100% - 48px) / 2);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Breadcrumb,
|
|
140
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Breadcrumb[data-size="sm"] {
|
|
141
|
+
--breadcrumb-font-size: 14px;
|
|
142
|
+
--breadcrumb-line-height: 20px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Item,
|
|
146
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Item > .Link {
|
|
147
|
+
min-height: 48px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Item > .Link::after {
|
|
151
|
+
inset-inline: min(0px, (100% - 48px) / 2);
|
|
152
|
+
}
|
|
122
153
|
}
|