@plexui/styles 0.1.37 → 0.1.39
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.
|
@@ -782,8 +782,10 @@
|
|
|
782
782
|
|
|
783
783
|
/* The bar of a phone Sheet holds its title alone, centered on the row (iOS 27 kit Sheets 507-24684; owner
|
|
784
784
|
09.11): the description reads as the first text of the content under the bar, in the type of the sheet
|
|
785
|
-
and the label color, as the kit 27 alert writes its message. In Dialog.Body
|
|
786
|
-
|
|
785
|
+
and the label color, as the kit 27 alert writes its message. In Dialog.Body, or a Dialog.DescriptionSlot
|
|
786
|
+
at the top of content of the app's own, it starts that content and scrolls with it; without either it
|
|
787
|
+
stands under the bar, in flow, at the body's insets. The margins sit on the text itself, so a description
|
|
788
|
+
hidden on a phone (display none, or visually hidden) leaves no space. */
|
|
787
789
|
.SheetDescriptionSlot,
|
|
788
790
|
.SheetDescription {
|
|
789
791
|
display: contents;
|
|
@@ -797,7 +799,7 @@
|
|
|
797
799
|
margin: var(--page-bar-soft-tail, 32px) var(--mobile-layout-margin, 16px) 16px;
|
|
798
800
|
}
|
|
799
801
|
|
|
800
|
-
.
|
|
802
|
+
.SheetDescriptionSlot:not(:last-child) .Description {
|
|
801
803
|
margin-bottom: 16px;
|
|
802
804
|
}
|
|
803
805
|
|
|
@@ -1219,8 +1221,10 @@
|
|
|
1219
1221
|
|
|
1220
1222
|
/* The bar of a phone Sheet holds its title alone, centered on the row (iOS 27 kit Sheets 507-24684; owner
|
|
1221
1223
|
09.11): the description reads as the first text of the content under the bar, in the type of the sheet
|
|
1222
|
-
and the label color, as the kit 27 alert writes its message. In Dialog.Body
|
|
1223
|
-
|
|
1224
|
+
and the label color, as the kit 27 alert writes its message. In Dialog.Body, or a Dialog.DescriptionSlot
|
|
1225
|
+
at the top of content of the app's own, it starts that content and scrolls with it; without either it
|
|
1226
|
+
stands under the bar, in flow, at the body's insets. The margins sit on the text itself, so a description
|
|
1227
|
+
hidden on a phone (display none, or visually hidden) leaves no space. */
|
|
1224
1228
|
:where([data-plex-layout="phone"]) .SheetDescriptionSlot,
|
|
1225
1229
|
:where([data-plex-layout="phone"]) .SheetDescription {
|
|
1226
1230
|
display: contents;
|
|
@@ -1234,7 +1238,7 @@
|
|
|
1234
1238
|
margin: var(--page-bar-soft-tail, 32px) var(--mobile-layout-margin, 16px) 16px;
|
|
1235
1239
|
}
|
|
1236
1240
|
|
|
1237
|
-
:where([data-plex-layout="phone"]) .
|
|
1241
|
+
:where([data-plex-layout="phone"]) .SheetDescriptionSlot:not(:last-child) .Description {
|
|
1238
1242
|
margin-bottom: 16px;
|
|
1239
1243
|
}
|
|
1240
1244
|
|
|
@@ -185,6 +185,17 @@
|
|
|
185
185
|
grid-template-columns: minmax(0, 1fr);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
/* Leading controls and nothing trailing: two columns. An empty trailing column and its gap took 12px from
|
|
189
|
+
the search field or the title. A large title keeps its own two rows. */
|
|
190
|
+
.Toolbar:not([data-title-style="large"]):has(> .Leading):not(:has(> .Trailing)):is([data-title-align="start"], [data-title-style="compact-large"], [data-title-style="compact-medium"], :has(> .Content[data-fill])) {
|
|
191
|
+
grid-template-areas: "leading heading";
|
|
192
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.Toolbar:not([data-title-style="large"]):has(> .Leading):not(:has(> .Trailing)):has(> .Content[data-fill]) {
|
|
196
|
+
grid-template-areas: "leading content";
|
|
197
|
+
}
|
|
198
|
+
|
|
188
199
|
/* Large title: the controls stay in their own row and the title sits below it. */
|
|
189
200
|
.Toolbar[data-title-style="large"] {
|
|
190
201
|
--toolbar-edge-blur: var(--toolbar-edge-blur-large);
|
|
@@ -792,6 +803,17 @@
|
|
|
792
803
|
grid-template-columns: minmax(0, 1fr);
|
|
793
804
|
}
|
|
794
805
|
|
|
806
|
+
/* Leading controls and nothing trailing: two columns. An empty trailing column and its gap took 12px from
|
|
807
|
+
the search field or the title. A large title keeps its own two rows. */
|
|
808
|
+
:where([data-plex-layout="phone"]) .Toolbar:not([data-title-style="large"]):has(> .Leading):not(:has(> .Trailing)):is([data-title-align="start"], [data-title-style="compact-large"], [data-title-style="compact-medium"], :has(> .Content[data-fill])) {
|
|
809
|
+
grid-template-areas: "leading heading";
|
|
810
|
+
grid-template-columns: max-content minmax(0, 1fr);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
:where([data-plex-layout="phone"]) .Toolbar:not([data-title-style="large"]):has(> .Leading):not(:has(> .Trailing)):has(> .Content[data-fill]) {
|
|
814
|
+
grid-template-areas: "leading content";
|
|
815
|
+
}
|
|
816
|
+
|
|
795
817
|
/* Large title: the controls stay in their own row and the title sits below it. */
|
|
796
818
|
:where([data-plex-layout="phone"]) .Toolbar[data-title-style="large"] {
|
|
797
819
|
--toolbar-edge-blur: var(--toolbar-edge-blur-large);
|