@plexui/styles 0.16.6 → 0.17.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 +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 +169 -0
- 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/index.js +5 -0
- package/dist/es/tokens/index.js.map +1 -0
- package/dist/es/tokens/resolve.js +746 -0
- package/dist/es/tokens/resolve.js.map +1 -0
- package/dist/es/tokens/tokens.generated.js +5872 -0
- package/dist/es/tokens/tokens.generated.js.map +1 -0
- package/dist/types/tokens/index.d.ts +19 -0
- package/dist/types/tokens/resolve.d.ts +145 -0
- package/dist/types/tokens/tokens.generated.d.ts +13 -0
- package/package.json +7 -2
|
@@ -911,5 +911,320 @@ background: var(--gray-25);
|
|
|
911
911
|
|
|
912
912
|
:where([data-plex-layout="phone"]) .NoneSection:last-child::after {
|
|
913
913
|
content: none;
|
|
914
|
+
}/* The Plex Android look (`data-platform="android"`, android.css): a list is the popup of a row, from android.css's
|
|
915
|
+
--menu-* values (opaque, 12px corners, no space above and under its rows, 48px rows 18 in with the label 16/20, the
|
|
916
|
+
screen dimmed 40%, 20% at night), and the chosen option's check stands at the row's end, 24px in the label's color. */@media (max-width: 767px) {
|
|
917
|
+
[data-platform="android"] .PressableInner > .OptionIndicatorSlot[data-position] {
|
|
918
|
+
order: 1;
|
|
919
|
+
margin-inline-start: auto;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .PressableInner > .OptionIndicatorSlot[data-position] {
|
|
923
|
+
order: 1;
|
|
924
|
+
margin-inline-start: auto;
|
|
925
|
+
}/* =============================================
|
|
926
|
+
Android's single-choice dialog (`picker="dialog"`)
|
|
927
|
+
============================================= *//* The Plex Android look of Select's picker dialog (Select.tsx, SelectChoiceDialog): Android's choice dialog, as a value
|
|
928
|
+
row of the reference messenger's settings opens one (an AlertDialog of RadioColorCell rows, or of CheckBoxCell rows
|
|
929
|
+
for several choices), measured on its screenshots. It is Dialog's Android alert (Dialog.module.css: 24 from the
|
|
930
|
+
screen's sides and at most 356 wide, 21px corners, the dim at 50%, the title Medium 20/24 24 in, Cancel an accent
|
|
931
|
+
text button at the end, OK after it) with rows across its width in place of the message: the title's capitals 26
|
|
932
|
+
under the panel's top and the first row 56 down (its radio 71), the buttons 8 under the last row (the buttons' 8dp
|
|
933
|
+
padding). A row is 50 tall: a 20 radio in a 22 frame 22 from the dialog's start (the row's 4 of padding and the
|
|
934
|
+
radio's 18) and 14 down, the label 16/20 at 55 on one line, 25 from the end (4 and 21); a description 14 in the
|
|
935
|
+
secondary label (#808384 on the screenshots) 4 under it, its lines 16.4 apart (Android's line for 14sp) and 2 more
|
|
936
|
+
under the last (the text view's font padding). The empty ring is a light gray (#b3b3b3 on the screenshots), the
|
|
937
|
+
chosen one the accent with a 10 dot (Android's selection color, as RadioGroup's). A multiple select's row has an 18
|
|
938
|
+
square with 4px corners in the same frame (CheckBoxSquare): empty, a 1.5 outline of a mid gray (#737373); checked,
|
|
939
|
+
the accent with a white check 2 wide. A held row is the text at 6%; a row that cannot be chosen is at half. A
|
|
940
|
+
group's name stands over its rows, Medium 15/20 in the accent's text, 24 in. */.ChoiceDialog {
|
|
941
|
+
/* Top-level selector needs to exist */
|
|
942
|
+
}.ChoicePanel {
|
|
943
|
+
/* Top-level selector needs to exist */
|
|
944
|
+
}.ChoiceHeader {
|
|
945
|
+
/* Top-level selector needs to exist */
|
|
946
|
+
}.ChoiceBody {
|
|
947
|
+
/* Top-level selector needs to exist */
|
|
948
|
+
}.ChoiceFooter {
|
|
949
|
+
/* Top-level selector needs to exist */
|
|
950
|
+
}.ChoiceList {
|
|
951
|
+
display: flex;
|
|
952
|
+
flex-direction: column;
|
|
953
|
+
}.ChoiceGroup {
|
|
954
|
+
display: flex;
|
|
955
|
+
flex-direction: column;
|
|
956
|
+
}.ChoiceGroupHeading {
|
|
957
|
+
padding: 12px 24px 4px;
|
|
958
|
+
color: var(--android-accent-text, var(--color-text-secondary));
|
|
959
|
+
font-size: 15px;
|
|
960
|
+
font-weight: var(--font-weight-medium);
|
|
961
|
+
line-height: 20px;
|
|
962
|
+
}.ChoiceRow {
|
|
963
|
+
display: flex;
|
|
964
|
+
align-items: flex-start;
|
|
965
|
+
min-height: 50px;
|
|
966
|
+
padding-inline: 22px 25px;
|
|
967
|
+
color: var(--color-text);
|
|
968
|
+
cursor: pointer;
|
|
969
|
+
outline: none;
|
|
970
|
+
-webkit-user-select: none;
|
|
971
|
+
-moz-user-select: none;
|
|
972
|
+
user-select: none;
|
|
973
|
+
-webkit-tap-highlight-color: transparent;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.ChoiceRow:active:not([data-disabled]) {
|
|
977
|
+
background: color-mix(in srgb, var(--color-text) 6%, transparent);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.ChoiceRow:focus-visible {
|
|
981
|
+
outline: 2px solid var(--color-ring);
|
|
982
|
+
outline-offset: -2px;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.ChoiceRow[data-disabled] {
|
|
986
|
+
cursor: default;
|
|
987
|
+
opacity: 0.5;
|
|
988
|
+
}.ChoiceRadio {
|
|
989
|
+
|
|
990
|
+
position: relative;
|
|
991
|
+
display: grid;
|
|
992
|
+
flex: none;
|
|
993
|
+
inline-size: 22px;
|
|
994
|
+
block-size: 22px;
|
|
995
|
+
margin-top: 14px;
|
|
996
|
+
place-items: center;
|
|
997
|
+
}.ChoiceRadio, :where([data-theme="light"]) .ChoiceRadio {
|
|
998
|
+
--select-choice-radio: var(--gray-300);
|
|
999
|
+
}:where([data-theme="dark"]) .ChoiceRadio {
|
|
1000
|
+
--select-choice-radio: var(--gray-500);
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
.ChoiceRadio::before {
|
|
1004
|
+
width: 20px;
|
|
1005
|
+
height: 20px;
|
|
1006
|
+
box-sizing: border-box;
|
|
1007
|
+
border-radius: var(--radius-full);
|
|
1008
|
+
box-shadow: inset 0 0 0 2px var(--select-choice-radio);
|
|
1009
|
+
content: "";
|
|
1010
|
+
grid-area: 1 / 1;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.ChoiceRadio::after {
|
|
1014
|
+
width: 10px;
|
|
1015
|
+
height: 10px;
|
|
1016
|
+
border-radius: var(--radius-full);
|
|
1017
|
+
background: var(--select-choice-radio);
|
|
1018
|
+
content: "";
|
|
1019
|
+
grid-area: 1 / 1;
|
|
1020
|
+
opacity: 0;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.ChoiceRow[aria-checked="true"] > .ChoiceRadio {
|
|
1024
|
+
--select-choice-radio: var(--color-background-accent-solid);
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.ChoiceRow[aria-checked="true"] > .ChoiceRadio::after {
|
|
1028
|
+
opacity: 1;
|
|
1029
|
+
}.ChoiceCheck {
|
|
1030
|
+
|
|
1031
|
+
display: grid;
|
|
1032
|
+
flex: none;
|
|
1033
|
+
inline-size: 22px;
|
|
1034
|
+
block-size: 22px;
|
|
1035
|
+
margin-top: 14px;
|
|
1036
|
+
place-items: center;
|
|
1037
|
+
}.ChoiceCheck, :where([data-theme="light"]) .ChoiceCheck {
|
|
1038
|
+
--select-choice-check: var(--gray-450);
|
|
1039
|
+
}:where([data-theme="dark"]) .ChoiceCheck {
|
|
1040
|
+
--select-choice-check: var(--gray-550);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.ChoiceCheck::before {
|
|
1044
|
+
width: 18px;
|
|
1045
|
+
height: 18px;
|
|
1046
|
+
box-sizing: border-box;
|
|
1047
|
+
border-radius: 4px;
|
|
1048
|
+
box-shadow: inset 0 0 0 1.5px var(--select-choice-check);
|
|
1049
|
+
content: "";
|
|
1050
|
+
grid-area: 1 / 1;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.ChoiceCheck::after {
|
|
1054
|
+
width: 18px;
|
|
1055
|
+
height: 18px;
|
|
1056
|
+
background: var(--color-text-accent-solid);
|
|
1057
|
+
content: "";
|
|
1058
|
+
grid-area: 1 / 1;
|
|
1059
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 10l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
|
|
1060
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 10l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
|
|
1061
|
+
opacity: 0;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.ChoiceRow[aria-checked="true"] > .ChoiceCheck {
|
|
1065
|
+
--select-choice-check: var(--color-background-accent-solid);
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.ChoiceRow[aria-checked="true"] > .ChoiceCheck::before {
|
|
1069
|
+
background: var(--select-choice-check);
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
.ChoiceRow[aria-checked="true"] > .ChoiceCheck::after {
|
|
1073
|
+
opacity: 1;
|
|
1074
|
+
}.ChoiceText {
|
|
1075
|
+
display: flex;
|
|
1076
|
+
flex: 1 1 auto;
|
|
1077
|
+
flex-direction: column;
|
|
1078
|
+
min-width: 0;
|
|
1079
|
+
gap: 4px;
|
|
1080
|
+
margin-inline-start: 11px;
|
|
1081
|
+
padding-block: 15px;
|
|
1082
|
+
}.ChoiceLabel {
|
|
1083
|
+
overflow: hidden;
|
|
1084
|
+
font-size: 16px;
|
|
1085
|
+
line-height: 20px;
|
|
1086
|
+
text-overflow: ellipsis;
|
|
1087
|
+
white-space: nowrap;
|
|
1088
|
+
}.ChoiceDescription {
|
|
1089
|
+
color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
1090
|
+
font-size: 14px;
|
|
1091
|
+
line-height: 16.4px;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.ChoiceDescription:last-child {
|
|
1095
|
+
margin-bottom: 2px;
|
|
1096
|
+
}/* In Dialog's Android alert the rows run across the panel: no body inset, the title's line 21 under the panel's top
|
|
1097
|
+
and 11 over them (so its capitals stand where the screenshots have them), the buttons 8 under them. The doubled
|
|
1098
|
+
class outweighs the alert's own rules, whatever order the style sheets load in. */@media (max-width: 767px) {
|
|
1099
|
+
[data-platform="android"] .ChoiceDialog[data-mobile-variant="alert"] .ChoiceHeader.ChoiceHeader {
|
|
1100
|
+
padding-top: 21px;
|
|
1101
|
+
padding-bottom: 11px;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
[data-platform="android"] .ChoiceDialog[data-mobile-variant="alert"] .ChoiceBody.ChoiceBody {
|
|
1105
|
+
margin-inline: 0;
|
|
1106
|
+
padding: 0;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/* Without a title the rows start 16 down (the custom view's top margin) */
|
|
1110
|
+
[data-platform="android"] .ChoiceDialog[data-mobile-variant="alert"] .ChoiceBody.ChoiceBody:first-child {
|
|
1111
|
+
padding-top: 16px;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
[data-platform="android"] .ChoiceDialog[data-mobile-variant="alert"] .ChoiceFooter.ChoiceFooter {
|
|
1115
|
+
padding-top: 8px;
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .ChoiceDialog[data-mobile-variant="alert"] .ChoiceHeader.ChoiceHeader {
|
|
1119
|
+
padding-top: 21px;
|
|
1120
|
+
padding-bottom: 11px;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .ChoiceDialog[data-mobile-variant="alert"] .ChoiceBody.ChoiceBody {
|
|
1124
|
+
margin-inline: 0;
|
|
1125
|
+
padding: 0;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/* Without a title the rows start 16 down (the custom view's top margin) */
|
|
1129
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .ChoiceDialog[data-mobile-variant="alert"] .ChoiceBody.ChoiceBody:first-child {
|
|
1130
|
+
padding-top: 16px;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .ChoiceDialog[data-mobile-variant="alert"] .ChoiceFooter.ChoiceFooter {
|
|
1134
|
+
padding-top: 8px;
|
|
1135
|
+
}/* Android press ripple. In the Plex Android look a held option of the list ripples as a menu's row (Menu.module.css,
|
|
1136
|
+
android.css, Android press ripple): across the whole row in the menu's selector, the first and last rows rounded to
|
|
1137
|
+
the popup's corners, with no flat fill and no scale; a row of the choice dialog ripples across the dialog in the list
|
|
1138
|
+
selector (black at 5.9%, white at 5.1% at night) in place of its flat fill. */@media (max-width: 767px) {
|
|
1139
|
+
[data-platform="android"] .Option {
|
|
1140
|
+
--android-ripple-ink: var(--android-ripple-menu-color);
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
[data-platform="android"] .Option:active::before {
|
|
1144
|
+
opacity: 0;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
[data-platform="android"] .Option[data-highlight]:active::before {
|
|
1148
|
+
opacity: var(--menu-item-highlight-opacity, 1);
|
|
1149
|
+
transform: none;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
[data-platform="android"] .Option[data-ripple]:not([data-disabled])::after {
|
|
1153
|
+
position: absolute;
|
|
1154
|
+
inset-block: 0;
|
|
1155
|
+
inset-inline: calc(var(--menu-gutter) - var(--menu-padding-inline, var(--menu-gutter)));
|
|
1156
|
+
background-image: var(--android-ripple-image);
|
|
1157
|
+
content: "";
|
|
1158
|
+
pointer-events: none;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
[data-platform="android"] .OptionsList:first-child > .Option:first-child::after,
|
|
1162
|
+
[data-platform="android"] .OptionsList:first-child > .NoneSection:first-child > .Option::after {
|
|
1163
|
+
border-start-start-radius: calc(var(--menu-radius) - var(--menu-gutter));
|
|
1164
|
+
border-start-end-radius: calc(var(--menu-radius) - var(--menu-gutter));
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
[data-platform="android"] .OptionsList:last-child > .Option:last-child::after,
|
|
1168
|
+
[data-platform="android"] .OptionsList:last-child > .OptionGroup:last-child > .Option:last-child::after {
|
|
1169
|
+
border-end-start-radius: calc(var(--menu-radius) - var(--menu-gutter));
|
|
1170
|
+
border-end-end-radius: calc(var(--menu-radius) - var(--menu-gutter));
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
[data-platform="android"] .ChoiceRow {
|
|
1174
|
+
--android-ripple-ink: var(--android-ripple-color);
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
[data-platform="android"] .ChoiceRow:active:not([data-disabled]) {
|
|
1178
|
+
background-color: transparent;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
[data-platform="android"] .ChoiceRow[data-ripple]:not([data-disabled]) {
|
|
1182
|
+
background-image: var(--android-ripple-image);
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Option {
|
|
1186
|
+
--android-ripple-ink: var(--android-ripple-menu-color);
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Option:active::before {
|
|
1190
|
+
opacity: 0;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Option[data-highlight]:active::before {
|
|
1194
|
+
opacity: var(--menu-item-highlight-opacity, 1);
|
|
1195
|
+
transform: none;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Option[data-ripple]:not([data-disabled])::after {
|
|
1199
|
+
position: absolute;
|
|
1200
|
+
inset-block: 0;
|
|
1201
|
+
inset-inline: calc(var(--menu-gutter) - var(--menu-padding-inline, var(--menu-gutter)));
|
|
1202
|
+
background-image: var(--android-ripple-image);
|
|
1203
|
+
content: "";
|
|
1204
|
+
pointer-events: none;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .OptionsList:first-child > .Option:first-child::after,
|
|
1208
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .OptionsList:first-child > .NoneSection:first-child > .Option::after {
|
|
1209
|
+
border-start-start-radius: calc(var(--menu-radius) - var(--menu-gutter));
|
|
1210
|
+
border-start-end-radius: calc(var(--menu-radius) - var(--menu-gutter));
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .OptionsList:last-child > .Option:last-child::after,
|
|
1214
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .OptionsList:last-child > .OptionGroup:last-child > .Option:last-child::after {
|
|
1215
|
+
border-end-start-radius: calc(var(--menu-radius) - var(--menu-gutter));
|
|
1216
|
+
border-end-end-radius: calc(var(--menu-radius) - var(--menu-gutter));
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .ChoiceRow {
|
|
1220
|
+
--android-ripple-ink: var(--android-ripple-color);
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .ChoiceRow:active:not([data-disabled]) {
|
|
1224
|
+
background-color: transparent;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .ChoiceRow[data-ripple]:not([data-disabled]) {
|
|
1228
|
+
background-image: var(--android-ripple-image);
|
|
914
1229
|
}
|
|
915
1230
|
}
|
|
@@ -738,6 +738,58 @@
|
|
|
738
738
|
--select-control-gap: 3px;
|
|
739
739
|
line-height: 18px;
|
|
740
740
|
}
|
|
741
|
+
|
|
742
|
+
/* The Plex Android look: a Select at a row's end is the row's value, as a value row of @plexui/react-native's
|
|
743
|
+
List on Android: 16/20 in the accent, the placeholder the text at 35%, at half when disabled, and no arrow (a
|
|
744
|
+
press on the row opens the choices). In columns the value stays the row's data, in the text color. */
|
|
745
|
+
[data-platform="android"] :where([data-row]) .SelectControl {
|
|
746
|
+
--select-control-font-size: 16px;
|
|
747
|
+
|
|
748
|
+
line-height: 20px;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
[data-platform="android"] :where([data-row]) .DropdownIcon {
|
|
752
|
+
display: none;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/* With the arrow gone its slot and the gap before it go too (a clear button keeps them). */
|
|
756
|
+
[data-platform="android"] :where([data-row]) .IndicatorWrapper:not(:has(> .Clear)) {
|
|
757
|
+
display: none;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/* An arrow of its own in a row (a unit button's `kg` and arrow, InputGroup) leaves no space either: a wrapper whose
|
|
761
|
+
one element is the arrow gives up its box, so its margin and the gap before it go, and the unit ends at the row's
|
|
762
|
+
21 as a field's `€` does. `contents`, not `none`: text beside the arrow in that wrapper stays. A button's own
|
|
763
|
+
inner span is never that wrapper. */
|
|
764
|
+
[data-platform="android"] :where([data-row]) :not(button, a, [role="button"]) > :has(> .DropdownIcon:only-child) {
|
|
765
|
+
display: contents;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/* The value ends 18 from the card's edge, 3 past the row's 21 (a switch keeps 21), as the reference's value rows. */
|
|
769
|
+
[data-platform="android"] :where([data-row][data-orientation="horizontal"]:not([data-field-columns] *)) .SelectControl {
|
|
770
|
+
margin-inline-end: -3px;
|
|
771
|
+
--field-row-popup-value-color: var(--android-accent-text);
|
|
772
|
+
--input-placeholder-text-color: color-mix(in srgb, var(--color-text) 35%, transparent);
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
[data-platform="android"] :where([data-row][data-orientation="horizontal"]:not([data-field-columns] *)) .SelectControl[data-disabled][data-variant] {
|
|
776
|
+
color: color-mix(in srgb, var(--android-accent-text) 50%, transparent);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
[data-platform="android"] :where([data-row][data-orientation="horizontal"]:not([data-field-columns] *)) .SelectControl[data-disabled][data-variant][data-selected="false"] {
|
|
780
|
+
color: color-mix(in srgb, var(--color-text) 17.5%, transparent);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/* In columns too: on Android a value that opens a choice is the accent wherever it stands, as the reference draws
|
|
784
|
+
every value the reader can change (a unit in an input group and a tag summary do the same), at half when
|
|
785
|
+
disabled; typed values stay in the text color. iOS keeps the column's value primary (above). */
|
|
786
|
+
[data-platform="android"] :where([data-field-columns] [data-row][data-orientation="horizontal"]) .SelectControl[data-selected="true"]:not([data-disabled]) {
|
|
787
|
+
color: var(--android-accent-text);
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
[data-platform="android"] :where([data-field-columns] [data-row][data-orientation="horizontal"]) .SelectControl[data-selected="true"][data-disabled][data-variant] {
|
|
791
|
+
color: color-mix(in srgb, var(--android-accent-text) 50%, transparent);
|
|
792
|
+
}
|
|
741
793
|
}
|
|
742
794
|
/* The chevrons of a pop-up in a row are the menu picker's of iOS 27.2: 8.7 x 12.7pt, ending 2pt inside the
|
|
743
795
|
row's content edge, 7.3pt after the value (SwiftUI Picker .menu in a Form on an iPhone 17 and Reminders'
|
|
@@ -807,4 +859,56 @@
|
|
|
807
859
|
--select-control-gap: 3px;
|
|
808
860
|
line-height: 18px;
|
|
809
861
|
}
|
|
862
|
+
|
|
863
|
+
/* The Plex Android look: a Select at a row's end is the row's value, as a value row of @plexui/react-native's
|
|
864
|
+
List on Android: 16/20 in the accent, the placeholder the text at 35%, at half when disabled, and no arrow (a
|
|
865
|
+
press on the row opens the choices). In columns the value stays the row's data, in the text color. */
|
|
866
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :where([data-row]) .SelectControl {
|
|
867
|
+
--select-control-font-size: 16px;
|
|
868
|
+
|
|
869
|
+
line-height: 20px;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :where([data-row]) .DropdownIcon {
|
|
873
|
+
display: none;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/* With the arrow gone its slot and the gap before it go too (a clear button keeps them). */
|
|
877
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :where([data-row]) .IndicatorWrapper:not(:has(> .Clear)) {
|
|
878
|
+
display: none;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/* An arrow of its own in a row (a unit button's `kg` and arrow, InputGroup) leaves no space either: a wrapper whose
|
|
882
|
+
one element is the arrow gives up its box, so its margin and the gap before it go, and the unit ends at the row's
|
|
883
|
+
21 as a field's `€` does. `contents`, not `none`: text beside the arrow in that wrapper stays. A button's own
|
|
884
|
+
inner span is never that wrapper. */
|
|
885
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :where([data-row]) :not(button, a, [role="button"]) > :has(> .DropdownIcon:only-child) {
|
|
886
|
+
display: contents;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
/* The value ends 18 from the card's edge, 3 past the row's 21 (a switch keeps 21), as the reference's value rows. */
|
|
890
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :where([data-row][data-orientation="horizontal"]:not([data-field-columns] *)) .SelectControl {
|
|
891
|
+
margin-inline-end: -3px;
|
|
892
|
+
--field-row-popup-value-color: var(--android-accent-text);
|
|
893
|
+
--input-placeholder-text-color: color-mix(in srgb, var(--color-text) 35%, transparent);
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :where([data-row][data-orientation="horizontal"]:not([data-field-columns] *)) .SelectControl[data-disabled][data-variant] {
|
|
897
|
+
color: color-mix(in srgb, var(--android-accent-text) 50%, transparent);
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :where([data-row][data-orientation="horizontal"]:not([data-field-columns] *)) .SelectControl[data-disabled][data-variant][data-selected="false"] {
|
|
901
|
+
color: color-mix(in srgb, var(--color-text) 17.5%, transparent);
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/* In columns too: on Android a value that opens a choice is the accent wherever it stands, as the reference draws
|
|
905
|
+
every value the reader can change (a unit in an input group and a tag summary do the same), at half when
|
|
906
|
+
disabled; typed values stay in the text color. iOS keeps the column's value primary (above). */
|
|
907
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :where([data-field-columns] [data-row][data-orientation="horizontal"]) .SelectControl[data-selected="true"]:not([data-disabled]) {
|
|
908
|
+
color: var(--android-accent-text);
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :where([data-field-columns] [data-row][data-orientation="horizontal"]) .SelectControl[data-selected="true"][data-disabled][data-variant] {
|
|
912
|
+
color: color-mix(in srgb, var(--android-accent-text) 50%, transparent);
|
|
913
|
+
}
|
|
810
914
|
}
|
|
@@ -1827,5 +1827,174 @@ background: var(--gray-300);
|
|
|
1827
1827
|
.MenuSkeletonLabel {
|
|
1828
1828
|
animation: none;
|
|
1829
1829
|
}
|
|
1830
|
+
}/* The Plex Android look (`data-platform="android"`, android.css): the phone's list is a settings screen of Android,
|
|
1831
|
+
as FieldGroup draws it there. Cards of 16 corners stand 12 apart; a group's label heads its card inside it, a 40px
|
|
1832
|
+
line of 14/18 Medium in the accent 20 in (15 above the text); rows are 50 tall with their label at 16/20, an icon
|
|
1833
|
+
24px at the inset and the text at 64; the line between rows runs from the text to the card's end in Android's
|
|
1834
|
+
divider gray; a row that leads to another page shows no chevron, as Android's lists do not. */@media (max-width: 767px) {
|
|
1835
|
+
[data-platform="android"] .MobileSidebar:not(:where(.App *)) {
|
|
1836
|
+
--sidebar-mobile-list-row-height: 50px;
|
|
1837
|
+
--sidebar-mobile-list-radius: 16px;
|
|
1838
|
+
--sidebar-mobile-list-section-gap: 12px;
|
|
1839
|
+
--sidebar-mobile-list-header-gap: 12px;
|
|
1840
|
+
--sidebar-mobile-list-header-height: 40px;
|
|
1841
|
+
--sidebar-mobile-list-header-font-size: 14px;
|
|
1842
|
+
--sidebar-mobile-list-header-line-height: 18px;
|
|
1843
|
+
--sidebar-mobile-list-header-font-weight: var(--font-weight-medium);
|
|
1844
|
+
--sidebar-mobile-list-icon-column: 44px;
|
|
1845
|
+
--sidebar-mobile-list-chevron-size: 24px;
|
|
1846
|
+
--sidebar-mobile-list-chevron-offset: 0px;
|
|
1847
|
+
--sidebar-menu-item-font-size: 16px;
|
|
1848
|
+
--sidebar-menu-item-line-height: 20px;
|
|
1849
|
+
--sidebar-menu-sub-item-font-size: 16px;
|
|
1850
|
+
--sidebar-menu-sub-item-line-height: 20px;
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
[data-platform="android"] .MobileSidebar:not(:where(.App *)) .Group .GroupLabel:is(.GroupLabel, [data-size]) {
|
|
1854
|
+
align-items: flex-start;
|
|
1855
|
+
padding-top: 15px;
|
|
1856
|
+
border-start-start-radius: var(--sidebar-mobile-list-radius);
|
|
1857
|
+
border-start-end-radius: var(--sidebar-mobile-list-radius);
|
|
1858
|
+
background: var(
|
|
1859
|
+
--sidebar-mobile-list-background,
|
|
1860
|
+
var(--mobile-surface-secondary, var(--mobile-surface-grouped-secondary, var(--color-surface)))
|
|
1861
|
+
);
|
|
1862
|
+
color: var(--android-accent-text);
|
|
1863
|
+
letter-spacing: var(--font-sans-tracking);
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
[data-platform="android"] .MobileSidebar:not(:where(.App *)) .Group:has(> .GroupLabel) .Menu {
|
|
1867
|
+
border-start-start-radius: 0;
|
|
1868
|
+
border-start-end-radius: 0;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
[data-platform="android"] .MobileSidebar:not(:where(.App *)) .Menu :is(.MenuButton, .MenuSubButton)::after {
|
|
1872
|
+
inset-inline-end: 0;
|
|
1873
|
+
background: var(--android-divider);
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
[data-platform="android"] .MobileSidebar:not(:where(.App *)) .MenuDisclosure {
|
|
1877
|
+
display: none;
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .MobileSidebar:not(:where(.App *)) {
|
|
1881
|
+
--sidebar-mobile-list-row-height: 50px;
|
|
1882
|
+
--sidebar-mobile-list-radius: 16px;
|
|
1883
|
+
--sidebar-mobile-list-section-gap: 12px;
|
|
1884
|
+
--sidebar-mobile-list-header-gap: 12px;
|
|
1885
|
+
--sidebar-mobile-list-header-height: 40px;
|
|
1886
|
+
--sidebar-mobile-list-header-font-size: 14px;
|
|
1887
|
+
--sidebar-mobile-list-header-line-height: 18px;
|
|
1888
|
+
--sidebar-mobile-list-header-font-weight: var(--font-weight-medium);
|
|
1889
|
+
--sidebar-mobile-list-icon-column: 44px;
|
|
1890
|
+
--sidebar-mobile-list-chevron-size: 24px;
|
|
1891
|
+
--sidebar-mobile-list-chevron-offset: 0px;
|
|
1892
|
+
--sidebar-menu-item-font-size: 16px;
|
|
1893
|
+
--sidebar-menu-item-line-height: 20px;
|
|
1894
|
+
--sidebar-menu-sub-item-font-size: 16px;
|
|
1895
|
+
--sidebar-menu-sub-item-line-height: 20px;
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .MobileSidebar:not(:where(.App *)) .Group .GroupLabel:is(.GroupLabel, [data-size]) {
|
|
1899
|
+
align-items: flex-start;
|
|
1900
|
+
padding-top: 15px;
|
|
1901
|
+
border-start-start-radius: var(--sidebar-mobile-list-radius);
|
|
1902
|
+
border-start-end-radius: var(--sidebar-mobile-list-radius);
|
|
1903
|
+
background: var(
|
|
1904
|
+
--sidebar-mobile-list-background,
|
|
1905
|
+
var(--mobile-surface-secondary, var(--mobile-surface-grouped-secondary, var(--color-surface)))
|
|
1906
|
+
);
|
|
1907
|
+
color: var(--android-accent-text);
|
|
1908
|
+
letter-spacing: var(--font-sans-tracking);
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .MobileSidebar:not(:where(.App *)) .Group:has(> .GroupLabel) .Menu {
|
|
1912
|
+
border-start-start-radius: 0;
|
|
1913
|
+
border-start-end-radius: 0;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .MobileSidebar:not(:where(.App *)) .Menu :is(.MenuButton, .MenuSubButton)::after {
|
|
1917
|
+
inset-inline-end: 0;
|
|
1918
|
+
background: var(--android-divider);
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .MobileSidebar:not(:where(.App *)) .MenuDisclosure {
|
|
1922
|
+
display: none;
|
|
1923
|
+
}/* Android press ripple. Held, a row of the phone's list ripples over its cell (android.css, Android press ripple), in
|
|
1924
|
+
the reference's selector for a card's rows (black at 11.4%), with no flat fill; the card clips the corners, and a
|
|
1925
|
+
selected row keeps its fill under the ripple. The menu button ripples as a small icon button: a borderless circle of
|
|
1926
|
+
20px round its symbol, in the list selector. */@media (max-width: 767px) {
|
|
1927
|
+
[data-platform="android"] :is(.MenuButton, .MenuSubButton) {
|
|
1928
|
+
--android-ripple-ink: var(--android-ripple-card-color);
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
[data-platform="android"] :is(.MenuButton, .MenuSubButton):active:not([data-active="true"])::before {
|
|
1932
|
+
opacity: 0;
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
[data-platform="android"] :is(.MenuButton, .MenuSubButton)[data-ripple]::before {
|
|
1936
|
+
background-image: var(--android-ripple-image);
|
|
1937
|
+
transform: none;
|
|
1938
|
+
transition: none;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
[data-platform="android"] :is(.MenuButton, .MenuSubButton)[data-ripple]:not([data-active="true"])::before {
|
|
1942
|
+
background-color: transparent;
|
|
1943
|
+
opacity: 1;
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
[data-platform="android"] .MobileMenuButton {
|
|
1947
|
+
--android-ripple-radius: 20px;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
[data-platform="android"] .MobileMenuButton:active:not([data-expanded])::before {
|
|
1951
|
+
opacity: 0;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
[data-platform="android"] .MobileMenuButton[data-ripple]::after {
|
|
1955
|
+
position: absolute;
|
|
1956
|
+
inset: calc(50% - 20px);
|
|
1957
|
+
border-radius: 50%;
|
|
1958
|
+
background-image: var(--android-ripple-image);
|
|
1959
|
+
content: "";
|
|
1960
|
+
pointer-events: none;
|
|
1961
|
+
translate: var(--android-ripple-ox, 0px) var(--android-ripple-oy, 0px);
|
|
1962
|
+
}
|
|
1830
1963
|
}
|
|
1964
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :is(.MenuButton, .MenuSubButton) {
|
|
1965
|
+
--android-ripple-ink: var(--android-ripple-card-color);
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :is(.MenuButton, .MenuSubButton):active:not([data-active="true"])::before {
|
|
1969
|
+
opacity: 0;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :is(.MenuButton, .MenuSubButton)[data-ripple]::before {
|
|
1973
|
+
background-image: var(--android-ripple-image);
|
|
1974
|
+
transform: none;
|
|
1975
|
+
transition: none;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] :is(.MenuButton, .MenuSubButton)[data-ripple]:not([data-active="true"])::before {
|
|
1979
|
+
background-color: transparent;
|
|
1980
|
+
opacity: 1;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .MobileMenuButton {
|
|
1984
|
+
--android-ripple-radius: 20px;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .MobileMenuButton:active:not([data-expanded])::before {
|
|
1988
|
+
opacity: 0;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .MobileMenuButton[data-ripple]::after {
|
|
1992
|
+
position: absolute;
|
|
1993
|
+
inset: calc(50% - 20px);
|
|
1994
|
+
border-radius: 50%;
|
|
1995
|
+
background-image: var(--android-ripple-image);
|
|
1996
|
+
content: "";
|
|
1997
|
+
pointer-events: none;
|
|
1998
|
+
translate: var(--android-ripple-ox, 0px) var(--android-ripple-oy, 0px);
|
|
1999
|
+
}
|
|
1831
2000
|
}
|
|
@@ -17,5 +17,55 @@
|
|
|
17
17
|
.Skeleton {
|
|
18
18
|
animation: none;
|
|
19
19
|
}
|
|
20
|
+
}/* =============================================
|
|
21
|
+
The Plex Android look (`data-platform="android"`, android.css), after @plexui/react-native's Skeleton on Android
|
|
22
|
+
(decision 0026): a block of the text at 6% (5% at night) with 4px corners, and no pulse: a band 600px tall of the
|
|
23
|
+
popup's color (white; at night a raised gray), clear at its edges, sweeps down the screen, one band for every block
|
|
24
|
+
(fixed to the screen), a pass about 1.3s on a phone's height.
|
|
25
|
+
============================================= */@keyframes skeleton-android-sweep {
|
|
26
|
+
from {
|
|
27
|
+
background-position: 0 -1200px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
to {
|
|
31
|
+
background-position: 0 200vh;
|
|
32
|
+
}
|
|
33
|
+
}@media (max-width: 767px) {
|
|
34
|
+
[data-platform="android"] .Skeleton {
|
|
35
|
+
border-radius: 4px;
|
|
36
|
+
background-color: var(--android-skeleton-fill);
|
|
37
|
+
background-image: linear-gradient(180deg, transparent 0%, var(--android-card) 40%, var(--android-card) 60%, transparent 100%);
|
|
38
|
+
background-size: 100% 600px;
|
|
39
|
+
background-repeat: no-repeat;
|
|
40
|
+
background-attachment: fixed;
|
|
41
|
+
animation: skeleton-android-sweep 1.32s linear infinite;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-platform="android"] .Skeleton[data-circle] {
|
|
45
|
+
border-radius: var(--radius-full);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Skeleton {
|
|
49
|
+
border-radius: 4px;
|
|
50
|
+
background-color: var(--android-skeleton-fill);
|
|
51
|
+
background-image: linear-gradient(180deg, transparent 0%, var(--android-card) 40%, var(--android-card) 60%, transparent 100%);
|
|
52
|
+
background-size: 100% 600px;
|
|
53
|
+
background-repeat: no-repeat;
|
|
54
|
+
background-attachment: fixed;
|
|
55
|
+
animation: skeleton-android-sweep 1.32s linear infinite;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Skeleton[data-circle] {
|
|
59
|
+
border-radius: var(--radius-full);
|
|
60
|
+
}@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
|
|
61
|
+
[data-platform="android"] .Skeleton {
|
|
62
|
+
background-image: none;
|
|
63
|
+
animation: none;
|
|
64
|
+
}
|
|
65
|
+
}@media (prefers-reduced-motion: reduce) {
|
|
66
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Skeleton {
|
|
67
|
+
background-image: none;
|
|
68
|
+
animation: none;
|
|
69
|
+
}
|
|
20
70
|
}
|
|
21
71
|
}
|
|
@@ -479,5 +479,16 @@
|
|
|
479
479
|
|
|
480
480
|
:where([data-plex-layout="phone"]) .Slider[data-disabled] .Thumb {
|
|
481
481
|
box-shadow: var(--slider-thumb-shadow, inset 0 0 0 2px var(--slider-range-color));
|
|
482
|
-
}
|
|
482
|
+
}/* The Plex Android slider (its sizes and colors: android.css): the knob stays as it is while it is dragged */@media (max-width: 767px) {
|
|
483
|
+
[data-platform="android"] .Slider {
|
|
484
|
+
--mobile-knob-lens-scale: none;
|
|
485
|
+
--mobile-knob-lens-background: var(--slider-thumb-background);
|
|
486
|
+
--mobile-knob-lens-shadow: none;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Slider {
|
|
490
|
+
--mobile-knob-lens-scale: none;
|
|
491
|
+
--mobile-knob-lens-background: var(--slider-thumb-background);
|
|
492
|
+
--mobile-knob-lens-shadow: none;
|
|
493
|
+
}
|
|
483
494
|
}
|