@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.
Files changed (51) 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 +169 -0
  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/index.js +5 -0
  43. package/dist/es/tokens/index.js.map +1 -0
  44. package/dist/es/tokens/resolve.js +746 -0
  45. package/dist/es/tokens/resolve.js.map +1 -0
  46. package/dist/es/tokens/tokens.generated.js +5872 -0
  47. package/dist/es/tokens/tokens.generated.js.map +1 -0
  48. package/dist/types/tokens/index.d.ts +19 -0
  49. package/dist/types/tokens/resolve.d.ts +145 -0
  50. package/dist/types/tokens/tokens.generated.d.ts +13 -0
  51. package/package.json +7 -2
@@ -269,6 +269,36 @@ background-color: rgba(255, 255, 255, 0.1);
269
269
  background: transparent;
270
270
  opacity: 0;
271
271
  }
272
+
273
+ /* The Plex Android look (`data-platform="android"`, android.css): the same cell with Material's icon buttons, 40px
274
+ circles with a 24px glyph in a 48px target, 8 apart and 12 above and under them, under a divider of the
275
+ Android list. */
276
+ [data-platform="android"] .Container {
277
+ --markdown-editor-button-size: 40px;
278
+ }
279
+
280
+ [data-platform="android"] .Toolbar::before {
281
+ background: var(--android-divider);
282
+ }
283
+
284
+ [data-platform="android"] .ToolbarGroup {
285
+ gap: 8px;
286
+ padding-block: 12px;
287
+ }
288
+
289
+ [data-platform="android"] .Container .Toolbar .ToolbarButton.ToolbarButton {
290
+ font-size: 24px;
291
+ }
292
+
293
+ [data-platform="android"] .Container .Toolbar .ToolbarButton.ToolbarButton > span > svg,
294
+ [data-platform="android"] .Container .Toolbar .ToolbarButton.ToolbarButton > svg {
295
+ width: 24px;
296
+ height: 24px;
297
+ }
298
+
299
+ [data-platform="android"] .Container .Toolbar .ToolbarButton.ToolbarButton::before {
300
+ inset: calc((var(--markdown-editor-button-size) - 48px) / 2);
301
+ }
272
302
  }
273
303
  /* On a phone the editor is a cell of a grouped form (owner 21.11), built as an iOS 27 cell with a row of round
274
304
  buttons under its value, the Repeat cell of the Clock app's Add Alarm (IMG_6623, measured at 430pt): the text
@@ -372,4 +402,34 @@ background-color: rgba(255, 255, 255, 0.1);
372
402
  background: transparent;
373
403
  opacity: 0;
374
404
  }
405
+
406
+ /* The Plex Android look (`data-platform="android"`, android.css): the same cell with Material's icon buttons, 40px
407
+ circles with a 24px glyph in a 48px target, 8 apart and 12 above and under them, under a divider of the
408
+ Android list. */
409
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Container {
410
+ --markdown-editor-button-size: 40px;
411
+ }
412
+
413
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Toolbar::before {
414
+ background: var(--android-divider);
415
+ }
416
+
417
+ :where([data-plex-layout="phone"]) [data-platform="android"] .ToolbarGroup {
418
+ gap: 8px;
419
+ padding-block: 12px;
420
+ }
421
+
422
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Container .Toolbar .ToolbarButton.ToolbarButton {
423
+ font-size: 24px;
424
+ }
425
+
426
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Container .Toolbar .ToolbarButton.ToolbarButton > span > svg,
427
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Container .Toolbar .ToolbarButton.ToolbarButton > svg {
428
+ width: 24px;
429
+ height: 24px;
430
+ }
431
+
432
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Container .Toolbar .ToolbarButton.ToolbarButton::before {
433
+ inset: calc((var(--markdown-editor-button-size) - 48px) / 2);
434
+ }
375
435
  }
@@ -1083,6 +1083,30 @@
1083
1083
  .Menu:is([data-entering], [data-exiting]) .MenuList {
1084
1084
  transition-delay: 0s;
1085
1085
  }
1086
+
1087
+ /* A menu that covers its button grows out of it and shrinks back into it, as an iOS 27.2 menu does: from the
1088
+ button's size at the corner it shares with it (the menu sets the scale), on SwiftUI's spring(duration: 0.21,
1089
+ bounce: 0.2), --spring-menu. It shows as it leaves the button and fades at the end of its way back. Not with
1090
+ reduced motion (it fades in place, below), nor in the Plex Android look (the menu sets no scale there). */
1091
+ @media (prefers-reduced-motion: no-preference) {
1092
+ /* Only before it starts: the group keeps data-entering while it enters */
1093
+ .Menu[data-entering]:not([data-entering-active], [data-interrupted]) .MenuList[data-presented-from],
1094
+ .Menu:is([data-exiting-active], [data-exiting][data-interrupted]) .MenuList[data-presented-from] {
1095
+ transform: var(--menu-source-transform);
1096
+ }
1097
+
1098
+ .Menu:is([data-entering-active], [data-entering][data-interrupted]) .MenuList[data-presented-from] {
1099
+ transition:
1100
+ opacity var(--motion-exit) var(--cubic-enter),
1101
+ transform var(--spring-menu-duration) var(--spring-menu);
1102
+ }
1103
+
1104
+ .Menu:is([data-exiting-active], [data-exiting][data-interrupted]) .MenuList[data-presented-from] {
1105
+ transition:
1106
+ opacity var(--motion-exit) var(--cubic-exit) calc(var(--spring-menu-duration) * 0.3),
1107
+ transform var(--spring-menu-duration) var(--spring-menu);
1108
+ }
1109
+ }
1086
1110
  }
1087
1111
  :where([data-plex-layout="phone"]) .MenuList[data-submenu]:not([data-submenu-positioned]) {
1088
1112
  visibility: hidden;
@@ -1230,6 +1254,29 @@
1230
1254
  started a whole --motion-enter late, after its fade. */
1231
1255
  :where([data-plex-layout="phone"]) .Menu:is([data-entering], [data-exiting]) .MenuList {
1232
1256
  transition-delay: 0s;
1257
+ }
1258
+
1259
+ /* A menu that covers its button grows out of it and shrinks back into it, as an iOS 27.2 menu does: from the
1260
+ button's size at the corner it shares with it (the menu sets the scale), on SwiftUI's spring(duration: 0.21,
1261
+ bounce: 0.2), --spring-menu. It shows as it leaves the button and fades at the end of its way back. Not with
1262
+ reduced motion (it fades in place, below), nor in the Plex Android look (the menu sets no scale there). */
1263
+ @media (prefers-reduced-motion: no-preference) {
1264
+ /* Only before it starts: the group keeps data-entering while it enters */
1265
+ :where([data-plex-layout="phone"]) .Menu[data-entering]:not([data-entering-active], [data-interrupted]) .MenuList[data-presented-from], :where([data-plex-layout="phone"]) .Menu:is([data-exiting-active], [data-exiting][data-interrupted]) .MenuList[data-presented-from] {
1266
+ transform: var(--menu-source-transform);
1267
+ }
1268
+
1269
+ :where([data-plex-layout="phone"]) .Menu:is([data-entering-active], [data-entering][data-interrupted]) .MenuList[data-presented-from] {
1270
+ transition:
1271
+ opacity var(--motion-exit) var(--cubic-enter),
1272
+ transform var(--spring-menu-duration) var(--spring-menu);
1273
+ }
1274
+
1275
+ :where([data-plex-layout="phone"]) .Menu:is([data-exiting-active], [data-exiting][data-interrupted]) .MenuList[data-presented-from] {
1276
+ transition:
1277
+ opacity var(--motion-exit) var(--cubic-exit) calc(var(--spring-menu-duration) * 0.3),
1278
+ transform var(--spring-menu-duration) var(--spring-menu);
1279
+ }
1233
1280
  }/* With reduced motion a menu fades in place, as on iOS with Reduce Motion (Files' ⋯ menu on the iOS 27.2 simulator: no
1234
1281
  growth from the button): no scale, a fade on iOS's time and curve, which its timer holds it entering for, so the
1235
1282
  touches that land while it shows stay held. A submenu keeps showing at once. */@media (prefers-reduced-motion: reduce) {
@@ -1242,5 +1289,202 @@
1242
1289
  transition-duration: var(--motion-reduced-enter-menu);
1243
1290
  transition-timing-function: var(--cubic-reduced-enter-menu);
1244
1291
  }
1292
+ }/* =============================================
1293
+ The Plex Android look (`data-platform="android"`, android.css), after the Android reference's popups and
1294
+ @plexui/react-native's Menu on Android (decision 0026). The values are android.css's --menu-* (shared with
1295
+ Select's list): the opaque popup of a row. Here the panel is 196 to 288 wide, its rows flush with its sides, a
1296
+ held row's layer across the whole panel, an 8px separator band, a symbol 18 in, a chosen row's check at its end. A
1297
+ menu opened from a bar's button (its trigger in a Toolbar) is the header menu, the bar's glass: 22px corners,
1298
+ blurred 36, 5 above and under its rows, an 8px band of the text at 6%, the screen dimmed 10%. A submenu's panel
1299
+ adds no dim of its own; a ContextMenu's panel none either (its own dimming lifts the element).
1300
+ ============================================= */@media (max-width: 767px) {
1301
+ [data-platform="android"] .MenuList {
1302
+ max-width: min(288px, var(--radix-dropdown-menu-content-available-width, 288px));
1303
+ }
1304
+
1305
+ [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)) > .PressableInner {
1306
+ display: flex;
1307
+ align-items: center;
1308
+ }
1309
+
1310
+ [data-platform="android"] .MenuList .Separator {
1311
+ height: 8px;
1312
+ }
1313
+
1314
+ :root[data-platform="android"]:has([data-toolbar] [aria-haspopup="menu"][aria-expanded="true"]) .MenuList {
1315
+ --menu-radius: 22px;
1316
+ --menu-radius-pill: 22px;
1317
+ --menu-gutter: 5px;
1318
+ --menu-pill-gutter: 5px;
1319
+ --menu-shadow: var(--android-header-menu-shadow);
1320
+ --menu-mobile-background: var(--android-bar-glass);
1321
+ --menu-mobile-backdrop-filter: blur(36px);
1322
+ --menu-separator-background-color: var(--android-menu-band);
1323
+ }
1324
+
1325
+ [data-platform="android"] .MenuList:is([data-submenu], [data-submenu-phone]),
1326
+ :root[data-platform="android"]:has([data-context-menu-dimming]) .MenuList {
1327
+ --menu-shadow: var(--android-popup-shadow);
1328
+ }
1329
+
1330
+ :root[data-platform="android"]:has([data-toolbar] [aria-haspopup="menu"][aria-expanded="true"]) .MenuList:is([data-submenu], [data-submenu-phone]) {
1331
+ --menu-shadow: var(--android-bar-shadow);
1332
+ }
1333
+
1334
+ /* A held row's layer runs the popup's whole width, as its rows do. */
1335
+ [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *))::before {
1336
+ inset-inline: 0;
1337
+ }
1338
+
1339
+ [data-platform="android"] .MenuList .MenuLabel {
1340
+ color: var(--color-text);
1341
+ }
1342
+
1343
+ /* A row with a symbol starts it at 18 in a menu with checkmarks too; a chosen row shows its check at its end, 18
1344
+ after the label. A section title keeps 13 from the sides. */
1345
+ [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(.RadioItem, .CheckboxItem):has(> :is(div, span) > svg:first-child:not([class*="SubTriggerIcon"])) {
1346
+ padding-inline-start: 18px;
1347
+ }
1348
+
1349
+ [data-platform="android"] .MenuList:not([data-layout="horizontal"]) :is(.RadioItem, .CheckboxItem) :is(.RadioIndicator, .RadioIndicatorActive, .CheckboxIndicator) {
1350
+ order: 1;
1351
+ margin-inline-start: auto;
1352
+ }
1353
+
1354
+ [data-platform="android"] .MenuList:not([data-layout="horizontal"]):has(:is(.RadioItem, .CheckboxItem)) .MenuLabel {
1355
+ padding-inline-start: 13px;
1356
+ }
1357
+
1358
+ /* A submenu's heading row is a row like the others, its label Regular. */
1359
+ [data-platform="android"] .MenuList[data-submenu-phone] > [data-submenu-collapse] {
1360
+ font-weight: var(--font-weight-normal);
1361
+ }
1362
+ }
1363
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList {
1364
+ max-width: min(288px, var(--radix-dropdown-menu-content-available-width, 288px));
1365
+ }
1366
+
1367
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)) > .PressableInner {
1368
+ display: flex;
1369
+ align-items: center;
1370
+ }
1371
+
1372
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList .Separator {
1373
+ height: 8px;
1374
+ }
1375
+
1376
+ :root[data-platform="android"]:has([data-toolbar] [aria-haspopup="menu"][aria-expanded="true"]) :where([data-plex-layout="phone"]) .MenuList {
1377
+ --menu-radius: 22px;
1378
+ --menu-radius-pill: 22px;
1379
+ --menu-gutter: 5px;
1380
+ --menu-pill-gutter: 5px;
1381
+ --menu-shadow: var(--android-header-menu-shadow);
1382
+ --menu-mobile-background: var(--android-bar-glass);
1383
+ --menu-mobile-backdrop-filter: blur(36px);
1384
+ --menu-separator-background-color: var(--android-menu-band);
1385
+ }
1386
+
1387
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:is([data-submenu], [data-submenu-phone]), :root[data-platform="android"]:has([data-context-menu-dimming]) :where([data-plex-layout="phone"]) .MenuList {
1388
+ --menu-shadow: var(--android-popup-shadow);
1389
+ }
1390
+
1391
+ :root[data-platform="android"]:has([data-toolbar] [aria-haspopup="menu"][aria-expanded="true"]) :where([data-plex-layout="phone"]) .MenuList:is([data-submenu], [data-submenu-phone]) {
1392
+ --menu-shadow: var(--android-bar-shadow);
1393
+ }
1394
+
1395
+ /* A held row's layer runs the popup's whole width, as its rows do. */
1396
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *))::before {
1397
+ inset-inline: 0;
1398
+ }
1399
+
1400
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList .MenuLabel {
1401
+ color: var(--color-text);
1402
+ }
1403
+
1404
+ /* A row with a symbol starts it at 18 in a menu with checkmarks too; a chosen row shows its check at its end, 18
1405
+ after the label. A section title keeps 13 from the sides. */
1406
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(.RadioItem, .CheckboxItem):has(> :is(div, span) > svg:first-child:not([class*="SubTriggerIcon"])) {
1407
+ padding-inline-start: 18px;
1408
+ }
1409
+
1410
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:not([data-layout="horizontal"]) :is(.RadioItem, .CheckboxItem) :is(.RadioIndicator, .RadioIndicatorActive, .CheckboxIndicator) {
1411
+ order: 1;
1412
+ margin-inline-start: auto;
1413
+ }
1414
+
1415
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:not([data-layout="horizontal"]):has(:is(.RadioItem, .CheckboxItem)) .MenuLabel {
1416
+ padding-inline-start: 13px;
1417
+ }
1418
+
1419
+ /* A submenu's heading row is a row like the others, its label Regular. */
1420
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList[data-submenu-phone] > [data-submenu-collapse] {
1421
+ font-weight: var(--font-weight-normal);
1422
+ }/* =============================================
1423
+ Android press ripple. In the Plex Android look a held row ripples (android.css, Android press ripple) in the
1424
+ reference's dialog button selector (black at 5.9%, white at 9.8% at night), across the whole row, with no flat fill
1425
+ and no scale. The first row takes the popup's corners at its top and the last at its bottom (less the space above
1426
+ and under the rows), as the reference rounds a popup's first and last rows. The ripple is drawn on the row's
1427
+ ::after; its ::before keeps the highlight of a row reached by keys.
1428
+ ============================================= */@media (max-width: 767px) {
1429
+ [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)) {
1430
+ --android-ripple-ink: var(--android-ripple-menu-color);
1431
+ }
1432
+
1433
+ [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)):not(:has(.ItemActions:active)):active::before {
1434
+ opacity: 0;
1435
+ }
1436
+
1437
+ [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)):is([data-highlighted], [data-state="open"]):not(:has(.ItemActions:active)):active::before {
1438
+ opacity: var(--menu-item-highlight-opacity, 1);
1439
+ }
1440
+
1441
+ [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *))[data-ripple]:not([data-disabled])::after {
1442
+ position: absolute;
1443
+ inset: 0;
1444
+ background-image: var(--android-ripple-image);
1445
+ content: "";
1446
+ pointer-events: none;
1447
+ }
1448
+
1449
+ [data-platform="android"] .MenuList :is(.Items, .SubmenuItems) > .MenuItem:first-child::after,
1450
+ [data-platform="android"] .MenuList :is(.Items, .SubmenuItems) > :first-child > .MenuItem:first-child::after {
1451
+ border-start-start-radius: calc(var(--menu-radius) - var(--menu-gutter));
1452
+ border-start-end-radius: calc(var(--menu-radius) - var(--menu-gutter));
1453
+ }
1454
+
1455
+ [data-platform="android"] .MenuList :is(.Items, .SubmenuItems) > .MenuItem:last-child::after,
1456
+ [data-platform="android"] .MenuList :is(.Items, .SubmenuItems) > :last-child > .MenuItem:last-child::after {
1457
+ border-end-start-radius: calc(var(--menu-radius) - var(--menu-gutter));
1458
+ border-end-end-radius: calc(var(--menu-radius) - var(--menu-gutter));
1459
+ }
1245
1460
  }
1461
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)) {
1462
+ --android-ripple-ink: var(--android-ripple-menu-color);
1463
+ }
1464
+
1465
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)):not(:has(.ItemActions:active)):active::before {
1466
+ opacity: 0;
1467
+ }
1468
+
1469
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *)):is([data-highlighted], [data-state="open"]):not(:has(.ItemActions:active)):active::before {
1470
+ opacity: var(--menu-item-highlight-opacity, 1);
1471
+ }
1472
+
1473
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList:not([data-layout="horizontal"]) .MenuItem:not(:where(.RadioGroup[data-layout="horizontal"] *))[data-ripple]:not([data-disabled])::after {
1474
+ position: absolute;
1475
+ inset: 0;
1476
+ background-image: var(--android-ripple-image);
1477
+ content: "";
1478
+ pointer-events: none;
1479
+ }
1480
+
1481
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList :is(.Items, .SubmenuItems) > .MenuItem:first-child::after, :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList :is(.Items, .SubmenuItems) > :first-child > .MenuItem:first-child::after {
1482
+ border-start-start-radius: calc(var(--menu-radius) - var(--menu-gutter));
1483
+ border-start-end-radius: calc(var(--menu-radius) - var(--menu-gutter));
1484
+ }
1485
+
1486
+ :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList :is(.Items, .SubmenuItems) > .MenuItem:last-child::after, :where([data-plex-layout="phone"]) [data-platform="android"] .MenuList :is(.Items, .SubmenuItems) > :last-child > .MenuItem:last-child::after {
1487
+ border-end-start-radius: calc(var(--menu-radius) - var(--menu-gutter));
1488
+ border-end-end-radius: calc(var(--menu-radius) - var(--menu-gutter));
1489
+ }
1246
1490
  }
@@ -183,5 +183,87 @@
183
183
  column-gap: 0;
184
184
  }/* There the leading keeps its whole gap to the text, which no grid gap adds */.NavigationRow[data-value-below][data-disclosure="none"][data-leading] .Leading {
185
185
  margin-inline-end: var(--navigation-row-leading-gap);
186
+ }/* The Plex Android look (`data-platform="android"`), as @plexui/react-native's ListItem on Android: no chevron, the
187
+ value 16/20 in the accent at the end, 16 from the label, taking half the row at most and ending 17 from the card's
188
+ edge; a value under the label is the 13/16 gray second line of a detail row, 4 under it; a disabled row fades to
189
+ half. The row's height, type and press are FieldGroup's row tokens (android.css). */@media (max-width: 767px) {
190
+ [data-platform="android"] .Pressable .Disclosure {
191
+ display: none;
192
+ }
193
+
194
+ [data-platform="android"] .NavigationRow {
195
+ --navigation-row-value-color: var(--android-accent-text);
196
+ --navigation-row-value-max-width: 50%;
197
+ }
198
+
199
+ [data-platform="android"] .Value {
200
+ margin-inline-end: -3px;
201
+ }
202
+
203
+ [data-platform="android"] .Text {
204
+ gap: 4px;
205
+ }
206
+
207
+ [data-platform="android"] .NavigationRow[data-value-below] .Content {
208
+ row-gap: 4px;
209
+ -moz-column-gap: 0;
210
+ column-gap: 0;
211
+ }
212
+
213
+ [data-platform="android"] .NavigationRow[data-value-below] .Value,
214
+ [data-platform="android"] .NavigationRow[data-value-below] .Pressable:not([data-disabled]) .Value {
215
+ margin: 0;
216
+ color: var(--mobile-label-secondary, var(--color-text-secondary));
217
+ font-size: var(--field-row-description-font-size);
218
+ line-height: var(--field-row-description-line-height);
219
+ }
220
+
221
+ [data-platform="android"] [data-field-columns] .Value {
222
+ margin-inline-end: 0;
223
+ color: var(--color-text);
224
+ }
225
+
226
+ [data-platform="android"] .Pressable[data-disabled] :is(.Label, .Description, .Value) {
227
+ opacity: 0.5;
228
+ }
186
229
  }
230
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Pressable .Disclosure {
231
+ display: none;
232
+ }
233
+
234
+ :where([data-plex-layout="phone"]) [data-platform="android"] .NavigationRow {
235
+ --navigation-row-value-color: var(--android-accent-text);
236
+ --navigation-row-value-max-width: 50%;
237
+ }
238
+
239
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Value {
240
+ margin-inline-end: -3px;
241
+ }
242
+
243
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Text {
244
+ gap: 4px;
245
+ }
246
+
247
+ :where([data-plex-layout="phone"]) [data-platform="android"] .NavigationRow[data-value-below] .Content {
248
+ row-gap: 4px;
249
+ -moz-column-gap: 0;
250
+ column-gap: 0;
251
+ }
252
+
253
+ :where([data-plex-layout="phone"]) [data-platform="android"] .NavigationRow[data-value-below] .Value,
254
+ :where([data-plex-layout="phone"]) [data-platform="android"] .NavigationRow[data-value-below] .Pressable:not([data-disabled]) .Value {
255
+ margin: 0;
256
+ color: var(--mobile-label-secondary, var(--color-text-secondary));
257
+ font-size: var(--field-row-description-font-size);
258
+ line-height: var(--field-row-description-line-height);
259
+ }
260
+
261
+ :where([data-plex-layout="phone"]) [data-platform="android"] [data-field-columns] .Value {
262
+ margin-inline-end: 0;
263
+ color: var(--color-text);
264
+ }
265
+
266
+ :where([data-plex-layout="phone"]) [data-platform="android"] .Pressable[data-disabled] :is(.Label, .Description, .Value) {
267
+ opacity: 0.5;
268
+ }
187
269
  }