@plexui/styles 0.1.38 → 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.
|
@@ -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);
|