@plexui/styles 0.3.2 → 0.4.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.
@@ -67,6 +67,9 @@
67
67
  display: flex;
68
68
  align-items: center;
69
69
  gap: 8px;
70
+ }/* The place of a large Toolbar title at the top of the content. It holds the title's margins, so they never merge
71
+ with the margins of the content after it. */.LargeTitle {
72
+ display: flow-root;
70
73
  }.Content {
71
74
  position: relative;
72
75
  flex: 1 1 0;
@@ -167,8 +170,8 @@
167
170
  padding-block: max(var(--page-gutter), var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) 10px;
168
171
  }
169
172
 
170
- /* Soft: the canvas covers content under the bar and fades out past it, as the soft edge of a top
171
- Toolbar does. */
173
+ /* Soft: the scroll edge of a top Toolbar (--page-bar-soft-veil): the canvas color through the veil over a light
174
+ blur, and on `::after` the stronger blur that hides the content under the bar, once content is under it. */
172
175
  .Header::before {
173
176
  position: absolute;
174
177
  z-index: -1;
@@ -176,12 +179,29 @@
176
179
  background: var(--page-background);
177
180
  backdrop-filter: blur(var(--toolbar-edge-blur-small));
178
181
  content: "";
179
- -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
180
- mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
182
+ -webkit-mask-image: var(--page-bar-soft-veil);
183
+ mask-image: var(--page-bar-soft-veil);
181
184
  pointer-events: none;
182
185
  transition: opacity var(--transition-duration-basic), border-color var(--transition-duration-basic);
183
186
  }
184
187
 
188
+ .Header[data-background="soft"]::after {
189
+ position: absolute;
190
+ z-index: -1;
191
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
192
+ backdrop-filter: blur(var(--page-bar-soft-blur));
193
+ content: "";
194
+ -webkit-mask-image: var(--page-bar-soft-blur-mask);
195
+ mask-image: var(--page-bar-soft-blur-mask);
196
+ pointer-events: none;
197
+ transition: opacity var(--transition-duration-basic);
198
+ }
199
+
200
+ .Header[data-background="soft"]:not([data-scrolled])::before,
201
+ .Header[data-background="soft"]:not([data-scrolled])::after {
202
+ opacity: 0;
203
+ }
204
+
185
205
  /* A bar of controls alone covers only the status bar and leaves the content clear under its controls, as a
186
206
  top Toolbar without a title does (Notes, IMG_5734 and 5736). A Page inside a Sheet keeps the full edge. */
187
207
  .Header[data-background="soft"]:not([data-mobile-variant="sheet"] *):not(:has(:is(.Heading, .Title)))::before {
@@ -191,6 +211,10 @@
191
211
  mask-image: linear-gradient(to bottom, #000, transparent);
192
212
  }
193
213
 
214
+ .Header[data-background="soft"]:not([data-mobile-variant="sheet"] *):not(:has(:is(.Heading, .Title)))::after {
215
+ display: none;
216
+ }
217
+
194
218
  /* Hard and solid are opaque, glass is translucent and shows itself once content is under the bar.
195
219
  Hard and glass then draw a line, unless `divider` is off. */
196
220
  .Header:not([data-background="soft"])::before {
@@ -201,7 +225,7 @@
201
225
  }
202
226
 
203
227
  .Header[data-background="hard"]::before {
204
- border-bottom: 1px solid transparent;
228
+ border-bottom: 0.5px solid transparent;
205
229
  }
206
230
 
207
231
  .Header[data-background="glass"]::before {
@@ -223,6 +247,32 @@
223
247
  border-bottom-color: var(--page-bar-line);
224
248
  }
225
249
 
250
+ /* Blur: the blur background of a top Toolbar (--page-bar-blur-*), once content is under the bar. */
251
+ .Header[data-background="blur"]::before {
252
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
253
+ background: none;
254
+ backdrop-filter: blur(var(--page-bar-blur-light));
255
+ -webkit-mask-image: var(--page-bar-blur-top-mask);
256
+ mask-image: var(--page-bar-blur-top-mask);
257
+ }
258
+
259
+ .Header[data-background="blur"]::after {
260
+ position: absolute;
261
+ z-index: -1;
262
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
263
+ backdrop-filter: blur(var(--page-bar-blur-heavy));
264
+ content: "";
265
+ -webkit-mask-image: var(--page-bar-blur-top-heavy-mask);
266
+ mask-image: var(--page-bar-blur-top-heavy-mask);
267
+ pointer-events: none;
268
+ transition: opacity var(--transition-duration-basic);
269
+ }
270
+
271
+ .Header[data-background="blur"]:not([data-scrolled])::before,
272
+ .Header[data-background="blur"]:not([data-scrolled])::after {
273
+ opacity: 0;
274
+ }
275
+
226
276
  /* The bar's glass buttons cast a shadow only over content scrolled under them. */
227
277
  .Header[data-scrolled] {
228
278
  --mobile-glass-shadow: var(--mobile-glass-shadow-raised);
@@ -384,7 +434,7 @@
384
434
  }
385
435
 
386
436
  .Footer[data-background="hard"]::before {
387
- border-top: 1px solid transparent;
437
+ border-top: 0.5px solid transparent;
388
438
  }
389
439
 
390
440
  .Footer[data-background="glass"]::before {
@@ -402,7 +452,77 @@
402
452
  opacity: 1;
403
453
  }
404
454
 
405
- .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::before {
455
+ /* Blur: the blur background of a bottom Toolbar, while content continues below. */
456
+ .Footer[data-background="blur"]::before {
457
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
458
+ background: none;
459
+ backdrop-filter: blur(var(--page-bar-blur-light));
460
+ -webkit-mask-image: var(--page-bar-blur-bottom-mask);
461
+ mask-image: var(--page-bar-blur-bottom-mask);
462
+ }
463
+
464
+ .Footer[data-background="blur"]::after {
465
+ position: absolute;
466
+ z-index: -1;
467
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
468
+ backdrop-filter: blur(var(--page-bar-blur-heavy));
469
+ content: "";
470
+ -webkit-mask-image: var(--page-bar-blur-bottom-heavy-mask);
471
+ mask-image: var(--page-bar-blur-bottom-heavy-mask);
472
+ pointer-events: none;
473
+ transition: opacity var(--transition-duration-basic);
474
+ }
475
+
476
+ .Footer[data-background="blur"]:not([data-content-below])::before,
477
+ .Footer[data-background="blur"]:not([data-content-below])::after {
478
+ opacity: 0;
479
+ }
480
+
481
+ /* Soft: iOS 27.2's bottom edge, as a bottom Toolbar's (Toolbar.module.css), from 34pt above the footer's
482
+ content to the screen's edge, once content runs on under it. */
483
+ .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::before,
484
+ .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::after {
485
+ inset: calc(var(--page-footer-padding-top) - var(--page-bar-soft-bottom-reach)) 0 0;
486
+ transition: opacity var(--transition-duration-basic);
487
+ }
488
+
489
+ .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::before {
490
+ -webkit-mask-image: var(--page-bar-soft-bottom-veil);
491
+ mask-image: var(--page-bar-soft-bottom-veil);
492
+ }
493
+
494
+ .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::after {
495
+ position: absolute;
496
+ z-index: -1;
497
+ backdrop-filter: blur(var(--page-bar-soft-blur));
498
+ content: "";
499
+ -webkit-mask-image: var(--page-bar-soft-bottom-blur-mask);
500
+ mask-image: var(--page-bar-soft-bottom-blur-mask);
501
+ pointer-events: none;
502
+ }
503
+
504
+ .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *):not([data-content-below])::before,
505
+ .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *):not([data-content-below])::after {
506
+ opacity: 0;
507
+ }
508
+
509
+ /* The rows of a large title's bar (Toolbar.Row) stand under the title, where the content would start, and the
510
+ content starts as far under them (iOS 27.2 sets a safeAreaBar 16 under a large title's baseline, ref-app
511
+ segrow-large). Scrolled up to the bar they stay under its controls, 10 under them as in the bar, over the content,
512
+ and the bar's background reaches under them (Toolbar data-rows-pinned), as iOS 27.2 pins a safeAreaBar under a
513
+ large title's bar (ref-app segrow-large-scrolled; owner 13.11 «Да, закрепить»). A sticky box keeps clear of the
514
+ scroller's padding, which here ends --page-content-padding-top under the bar: `top` is counted from there. */
515
+ .LargeTitleRows {
516
+ position: sticky;
517
+ z-index: 6;
518
+ top: calc(var(--toolbar-row-gap) - var(--toolbar-padding-bottom) - var(--page-content-padding-top, 16px));
519
+ display: flex;
520
+ flex-direction: column;
521
+ gap: var(--toolbar-row-gap);
522
+ margin-bottom: var(--page-content-padding-top, 16px);
523
+ }
524
+
525
+ .LargeTitleRows:empty {
406
526
  display: none;
407
527
  }
408
528
 
@@ -422,6 +542,14 @@
422
542
  padding-top: calc(var(--page-top) + var(--page-content-padding-top));
423
543
  scroll-padding-top: calc(var(--page-top) + var(--page-content-padding-top));
424
544
  }
545
+
546
+ /* With a large title's rows a target scrolled into view lands under them, pinned, where the bar's background ends,
547
+ not behind them (Codex #7). */
548
+ .Content:has(> .Column > .LargeTitleRows > *) {
549
+ scroll-padding-top: calc(
550
+ var(--page-top) + var(--page-content-padding-top) + var(--toolbar-row-gap) + var(--page-toolbar-rows-height, 0px)
551
+ );
552
+ }
425
553
  }
426
554
  :where([data-plex-layout="phone"]) .Page {
427
555
  --page-top: var(--page-toolbar-height, var(--page-header-height, calc(max(var(--page-gutter), var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) + var(--page-bar-height-phone) + 10px)));
@@ -467,8 +595,8 @@
467
595
  padding-block: max(var(--page-gutter), var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) 10px;
468
596
  }
469
597
 
470
- /* Soft: the canvas covers content under the bar and fades out past it, as the soft edge of a top
471
- Toolbar does. */
598
+ /* Soft: the scroll edge of a top Toolbar (--page-bar-soft-veil): the canvas color through the veil over a light
599
+ blur, and on `::after` the stronger blur that hides the content under the bar, once content is under it. */
472
600
  :where([data-plex-layout="phone"]) .Header::before {
473
601
  position: absolute;
474
602
  z-index: -1;
@@ -476,12 +604,29 @@
476
604
  background: var(--page-background);
477
605
  backdrop-filter: blur(var(--toolbar-edge-blur-small));
478
606
  content: "";
479
- -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
480
- mask-image: linear-gradient(to bottom, #000 calc(100% - var(--page-bar-soft-tail, 32px)), transparent);
607
+ -webkit-mask-image: var(--page-bar-soft-veil);
608
+ mask-image: var(--page-bar-soft-veil);
481
609
  pointer-events: none;
482
610
  transition: opacity var(--transition-duration-basic), border-color var(--transition-duration-basic);
483
611
  }
484
612
 
613
+ :where([data-plex-layout="phone"]) .Header[data-background="soft"]::after {
614
+ position: absolute;
615
+ z-index: -1;
616
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
617
+ backdrop-filter: blur(var(--page-bar-soft-blur));
618
+ content: "";
619
+ -webkit-mask-image: var(--page-bar-soft-blur-mask);
620
+ mask-image: var(--page-bar-soft-blur-mask);
621
+ pointer-events: none;
622
+ transition: opacity var(--transition-duration-basic);
623
+ }
624
+
625
+ :where([data-plex-layout="phone"]) .Header[data-background="soft"]:not([data-scrolled])::before,
626
+ :where([data-plex-layout="phone"]) .Header[data-background="soft"]:not([data-scrolled])::after {
627
+ opacity: 0;
628
+ }
629
+
485
630
  /* A bar of controls alone covers only the status bar and leaves the content clear under its controls, as a
486
631
  top Toolbar without a title does (Notes, IMG_5734 and 5736). A Page inside a Sheet keeps the full edge. */
487
632
  :where([data-plex-layout="phone"]) .Header[data-background="soft"]:not([data-mobile-variant="sheet"] *):not(:has(:is(.Heading, .Title)))::before {
@@ -491,6 +636,10 @@
491
636
  mask-image: linear-gradient(to bottom, #000, transparent);
492
637
  }
493
638
 
639
+ :where([data-plex-layout="phone"]) .Header[data-background="soft"]:not([data-mobile-variant="sheet"] *):not(:has(:is(.Heading, .Title)))::after {
640
+ display: none;
641
+ }
642
+
494
643
  /* Hard and solid are opaque, glass is translucent and shows itself once content is under the bar.
495
644
  Hard and glass then draw a line, unless `divider` is off. */
496
645
  :where([data-plex-layout="phone"]) .Header:not([data-background="soft"])::before {
@@ -501,7 +650,7 @@
501
650
  }
502
651
 
503
652
  :where([data-plex-layout="phone"]) .Header[data-background="hard"]::before {
504
- border-bottom: 1px solid transparent;
653
+ border-bottom: 0.5px solid transparent;
505
654
  }
506
655
 
507
656
  :where([data-plex-layout="phone"]) .Header[data-background="glass"]::before {
@@ -523,6 +672,32 @@
523
672
  border-bottom-color: var(--page-bar-line);
524
673
  }
525
674
 
675
+ /* Blur: the blur background of a top Toolbar (--page-bar-blur-*), once content is under the bar. */
676
+ :where([data-plex-layout="phone"]) .Header[data-background="blur"]::before {
677
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
678
+ background: none;
679
+ backdrop-filter: blur(var(--page-bar-blur-light));
680
+ -webkit-mask-image: var(--page-bar-blur-top-mask);
681
+ mask-image: var(--page-bar-blur-top-mask);
682
+ }
683
+
684
+ :where([data-plex-layout="phone"]) .Header[data-background="blur"]::after {
685
+ position: absolute;
686
+ z-index: -1;
687
+ inset: 0 0 calc(-1 * var(--page-bar-soft-tail, 32px));
688
+ backdrop-filter: blur(var(--page-bar-blur-heavy));
689
+ content: "";
690
+ -webkit-mask-image: var(--page-bar-blur-top-heavy-mask);
691
+ mask-image: var(--page-bar-blur-top-heavy-mask);
692
+ pointer-events: none;
693
+ transition: opacity var(--transition-duration-basic);
694
+ }
695
+
696
+ :where([data-plex-layout="phone"]) .Header[data-background="blur"]:not([data-scrolled])::before,
697
+ :where([data-plex-layout="phone"]) .Header[data-background="blur"]:not([data-scrolled])::after {
698
+ opacity: 0;
699
+ }
700
+
526
701
  /* The bar's glass buttons cast a shadow only over content scrolled under them. */
527
702
  :where([data-plex-layout="phone"]) .Header[data-scrolled] {
528
703
  --mobile-glass-shadow: var(--mobile-glass-shadow-raised);
@@ -682,7 +857,7 @@
682
857
  }
683
858
 
684
859
  :where([data-plex-layout="phone"]) .Footer[data-background="hard"]::before {
685
- border-top: 1px solid transparent;
860
+ border-top: 0.5px solid transparent;
686
861
  }
687
862
 
688
863
  :where([data-plex-layout="phone"]) .Footer[data-background="glass"]::before {
@@ -700,7 +875,77 @@
700
875
  opacity: 1;
701
876
  }
702
877
 
703
- :where([data-plex-layout="phone"]) .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::before {
878
+ /* Blur: the blur background of a bottom Toolbar, while content continues below. */
879
+ :where([data-plex-layout="phone"]) .Footer[data-background="blur"]::before {
880
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
881
+ background: none;
882
+ backdrop-filter: blur(var(--page-bar-blur-light));
883
+ -webkit-mask-image: var(--page-bar-blur-bottom-mask);
884
+ mask-image: var(--page-bar-blur-bottom-mask);
885
+ }
886
+
887
+ :where([data-plex-layout="phone"]) .Footer[data-background="blur"]::after {
888
+ position: absolute;
889
+ z-index: -1;
890
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
891
+ backdrop-filter: blur(var(--page-bar-blur-heavy));
892
+ content: "";
893
+ -webkit-mask-image: var(--page-bar-blur-bottom-heavy-mask);
894
+ mask-image: var(--page-bar-blur-bottom-heavy-mask);
895
+ pointer-events: none;
896
+ transition: opacity var(--transition-duration-basic);
897
+ }
898
+
899
+ :where([data-plex-layout="phone"]) .Footer[data-background="blur"]:not([data-content-below])::before,
900
+ :where([data-plex-layout="phone"]) .Footer[data-background="blur"]:not([data-content-below])::after {
901
+ opacity: 0;
902
+ }
903
+
904
+ /* Soft: iOS 27.2's bottom edge, as a bottom Toolbar's (Toolbar.module.css), from 34pt above the footer's
905
+ content to the screen's edge, once content runs on under it. */
906
+ :where([data-plex-layout="phone"]) .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::before,
907
+ :where([data-plex-layout="phone"]) .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::after {
908
+ inset: calc(var(--page-footer-padding-top) - var(--page-bar-soft-bottom-reach)) 0 0;
909
+ transition: opacity var(--transition-duration-basic);
910
+ }
911
+
912
+ :where([data-plex-layout="phone"]) .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::before {
913
+ -webkit-mask-image: var(--page-bar-soft-bottom-veil);
914
+ mask-image: var(--page-bar-soft-bottom-veil);
915
+ }
916
+
917
+ :where([data-plex-layout="phone"]) .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *)::after {
918
+ position: absolute;
919
+ z-index: -1;
920
+ backdrop-filter: blur(var(--page-bar-soft-blur));
921
+ content: "";
922
+ -webkit-mask-image: var(--page-bar-soft-bottom-blur-mask);
923
+ mask-image: var(--page-bar-soft-bottom-blur-mask);
924
+ pointer-events: none;
925
+ }
926
+
927
+ :where([data-plex-layout="phone"]) .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *):not([data-content-below])::before,
928
+ :where([data-plex-layout="phone"]) .Footer[data-background="soft"]:not([data-mobile-variant="sheet"] *):not([data-content-below])::after {
929
+ opacity: 0;
930
+ }
931
+
932
+ /* The rows of a large title's bar (Toolbar.Row) stand under the title, where the content would start, and the
933
+ content starts as far under them (iOS 27.2 sets a safeAreaBar 16 under a large title's baseline, ref-app
934
+ segrow-large). Scrolled up to the bar they stay under its controls, 10 under them as in the bar, over the content,
935
+ and the bar's background reaches under them (Toolbar data-rows-pinned), as iOS 27.2 pins a safeAreaBar under a
936
+ large title's bar (ref-app segrow-large-scrolled; owner 13.11 «Да, закрепить»). A sticky box keeps clear of the
937
+ scroller's padding, which here ends --page-content-padding-top under the bar: `top` is counted from there. */
938
+ :where([data-plex-layout="phone"]) .LargeTitleRows {
939
+ position: sticky;
940
+ z-index: 6;
941
+ top: calc(var(--toolbar-row-gap) - var(--toolbar-padding-bottom) - var(--page-content-padding-top, 16px));
942
+ display: flex;
943
+ flex-direction: column;
944
+ gap: var(--toolbar-row-gap);
945
+ margin-bottom: var(--page-content-padding-top, 16px);
946
+ }
947
+
948
+ :where([data-plex-layout="phone"]) .LargeTitleRows:empty {
704
949
  display: none;
705
950
  }
706
951
 
@@ -720,4 +965,12 @@
720
965
  padding-top: calc(var(--page-top) + var(--page-content-padding-top));
721
966
  scroll-padding-top: calc(var(--page-top) + var(--page-content-padding-top));
722
967
  }
968
+
969
+ /* With a large title's rows a target scrolled into view lands under them, pinned, where the bar's background ends,
970
+ not behind them (Codex #7). */
971
+ :where([data-plex-layout="phone"]) .Content:has(> .Column > .LargeTitleRows > *) {
972
+ scroll-padding-top: calc(
973
+ var(--page-top) + var(--page-content-padding-top) + var(--toolbar-row-gap) + var(--page-toolbar-rows-height, 0px)
974
+ );
975
+ }
723
976
  }
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  .TabBar[data-background="hard"]::before {
44
- border-top: 1px solid transparent;
44
+ border-top: 0.5px solid transparent;
45
45
  }
46
46
 
47
47
  .TabBar[data-background="glass"]::before {
@@ -59,6 +59,32 @@
59
59
  opacity: 1;
60
60
  }
61
61
 
62
+ /* Blur: the blur background of a bottom Toolbar (--page-bar-blur-*), while content continues below. */
63
+ .TabBar[data-background="blur"]::before {
64
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
65
+ background: none;
66
+ backdrop-filter: blur(var(--page-bar-blur-light));
67
+ -webkit-mask-image: var(--page-bar-blur-bottom-mask);
68
+ mask-image: var(--page-bar-blur-bottom-mask);
69
+ }
70
+
71
+ .TabBar[data-background="blur"]::after {
72
+ position: absolute;
73
+ z-index: -1;
74
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
75
+ backdrop-filter: blur(var(--page-bar-blur-heavy));
76
+ content: "";
77
+ -webkit-mask-image: var(--page-bar-blur-bottom-heavy-mask);
78
+ mask-image: var(--page-bar-blur-bottom-heavy-mask);
79
+ pointer-events: none;
80
+ transition: opacity var(--transition-duration-basic);
81
+ }
82
+
83
+ .TabBar[data-background="blur"]:not([data-content-below])::before,
84
+ .TabBar[data-background="blur"]:not([data-content-below])::after {
85
+ opacity: 0;
86
+ }
87
+
62
88
  /* Soft is no band: native iOS 26 lets the list run under and around the tab bar's capsule at full
63
89
  contrast (Phone, IMG_5615; plan 172, owner 08.11), and the capsule's glass sets it off. */
64
90
  .TabBar[data-background="soft"]::before {
@@ -336,7 +362,7 @@
336
362
  }
337
363
 
338
364
  :where([data-plex-layout="phone"]) .TabBar[data-background="hard"]::before {
339
- border-top: 1px solid transparent;
365
+ border-top: 0.5px solid transparent;
340
366
  }
341
367
 
342
368
  :where([data-plex-layout="phone"]) .TabBar[data-background="glass"]::before {
@@ -354,6 +380,32 @@
354
380
  opacity: 1;
355
381
  }
356
382
 
383
+ /* Blur: the blur background of a bottom Toolbar (--page-bar-blur-*), while content continues below. */
384
+ :where([data-plex-layout="phone"]) .TabBar[data-background="blur"]::before {
385
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
386
+ background: none;
387
+ backdrop-filter: blur(var(--page-bar-blur-light));
388
+ -webkit-mask-image: var(--page-bar-blur-bottom-mask);
389
+ mask-image: var(--page-bar-blur-bottom-mask);
390
+ }
391
+
392
+ :where([data-plex-layout="phone"]) .TabBar[data-background="blur"]::after {
393
+ position: absolute;
394
+ z-index: -1;
395
+ inset: calc(-1 * var(--page-bar-soft-tail, 32px)) 0 0;
396
+ backdrop-filter: blur(var(--page-bar-blur-heavy));
397
+ content: "";
398
+ -webkit-mask-image: var(--page-bar-blur-bottom-heavy-mask);
399
+ mask-image: var(--page-bar-blur-bottom-heavy-mask);
400
+ pointer-events: none;
401
+ transition: opacity var(--transition-duration-basic);
402
+ }
403
+
404
+ :where([data-plex-layout="phone"]) .TabBar[data-background="blur"]:not([data-content-below])::before,
405
+ :where([data-plex-layout="phone"]) .TabBar[data-background="blur"]:not([data-content-below])::after {
406
+ opacity: 0;
407
+ }
408
+
357
409
  /* Soft is no band: native iOS 26 lets the list run under and around the tab bar's capsule at full
358
410
  contrast (Phone, IMG_5615; plan 172, owner 08.11), and the capsule's glass sets it off. */
359
411
  :where([data-plex-layout="phone"]) .TabBar[data-background="soft"]::before {