@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.
Files changed (47) hide show
  1. package/dist/es/components/Accordion/Accordion.module.css +74 -12
  2. package/dist/es/components/Alert/Alert.module.css +196 -0
  3. package/dist/es/components/Breadcrumb/Breadcrumb.module.css +32 -1
  4. package/dist/es/components/Button/Button.module.css +483 -5
  5. package/dist/es/components/Button/NavigationButton.module.css +195 -0
  6. package/dist/es/components/Checkbox/Checkbox.module.css +246 -0
  7. package/dist/es/components/CodeBlock/CodeBlock.module.css +15 -1
  8. package/dist/es/components/DatePicker/Calendar.module.css +216 -0
  9. package/dist/es/components/DatePicker/CalendarNavigationIcon.module.css +19 -0
  10. package/dist/es/components/DateRangePicker/Calendar.module.css +200 -0
  11. package/dist/es/components/DateRangePicker/Trigger.module.css +15 -1
  12. package/dist/es/components/Dialog/Dialog.module.css +456 -0
  13. package/dist/es/components/Field/Field.module.css +713 -0
  14. package/dist/es/components/FieldGroup/FieldGroup.module.css +272 -0
  15. package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +49 -0
  16. package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +81 -0
  17. package/dist/es/components/Input/Input.module.css +184 -0
  18. package/dist/es/components/InputGroup/InputGroup.module.css +17 -0
  19. package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +60 -0
  20. package/dist/es/components/Menu/Menu.module.css +244 -0
  21. package/dist/es/components/NavigationRow/NavigationRow.module.css +82 -0
  22. package/dist/es/components/Page/Page.module.css +278 -0
  23. package/dist/es/components/PageControl/PageControl.module.css +35 -0
  24. package/dist/es/components/Popover/Popover.module.css +20 -0
  25. package/dist/es/components/RadioGroup/RadioGroup.module.css +151 -0
  26. package/dist/es/components/Select/Select.module.css +315 -0
  27. package/dist/es/components/SelectControl/SelectControl.module.css +104 -0
  28. package/dist/es/components/Sidebar/Sidebar.module.css +210 -4
  29. package/dist/es/components/Skeleton/Skeleton.module.css +50 -0
  30. package/dist/es/components/Slider/Slider.module.css +12 -1
  31. package/dist/es/components/Switch/Switch.module.css +143 -0
  32. package/dist/es/components/TabBar/TabBar.module.css +354 -0
  33. package/dist/es/components/Tabs/Tabs.module.css +162 -0
  34. package/dist/es/components/Tip/Tip.module.css +225 -0
  35. package/dist/es/components/Toast/Toast.module.css +207 -0
  36. package/dist/es/components/Toolbar/Toolbar.module.css +1542 -0
  37. package/dist/es/components/Tooltip/Tooltip.module.css +44 -0
  38. package/dist/es/styles/android.css +882 -0
  39. package/dist/es/styles/touch.css +672 -0
  40. package/dist/es/styles/variables-components.css +4 -0
  41. package/dist/es/styles/variables-semantic.css +28 -0
  42. package/dist/es/tokens/resolve.js +2 -0
  43. package/dist/es/tokens/resolve.js.map +1 -1
  44. package/dist/es/tokens/tokens.generated.js +64 -10
  45. package/dist/es/tokens/tokens.generated.js.map +1 -1
  46. package/dist/types/tokens/resolve.d.ts +2 -0
  47. package/package.json +1 -1
@@ -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
  }