@plexui/styles 0.1.18 → 0.1.20
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.
|
@@ -205,6 +205,17 @@
|
|
|
205
205
|
grid-column: 1;
|
|
206
206
|
grid-row: auto;
|
|
207
207
|
justify-self: stretch;
|
|
208
|
+
}/* A control that fills the row, such as a list of tags: it starts after the label
|
|
209
|
+
and ends at the row's edge, on one line for all the rows of a group. */.Field:where([data-row][data-fill]:not([data-orientation="vertical"])) {
|
|
210
|
+
grid-template-columns: minmax(var(--field-row-label-width), auto) minmax(0, 1fr);
|
|
211
|
+
}.Field:where([data-row][data-fill]) .Control {
|
|
212
|
+
justify-self: stretch;
|
|
213
|
+
}/* A framed field in a row: its width cannot follow what is typed, so it has one.
|
|
214
|
+
A ghost has the row for its frame, a Select follows its value. */.Field:where([data-row]:not([data-orientation="vertical"])) .Control:has(
|
|
215
|
+
[data-variant]:not([data-variant="ghost"]) > input,
|
|
216
|
+
[data-variant]:not([data-variant="ghost"]) > textarea
|
|
217
|
+
) {
|
|
218
|
+
width: var(--field-row-control-width);
|
|
208
219
|
}/* A ghost field in a row: the row is its frame. Beside the label the value takes
|
|
209
220
|
the rest of the line and ends at the row's edge, under it the value starts
|
|
210
221
|
where the label does. An error is the line of words under both, not a frame. */.Field:where([data-row]:not([data-orientation="vertical"])):has(
|
|
@@ -236,6 +236,8 @@
|
|
|
236
236
|
--field-row-text-padding-block: 10px;
|
|
237
237
|
--field-row-padding-inline: 16px;
|
|
238
238
|
--field-row-gap: 24px;
|
|
239
|
+
--field-row-control-width: 160px;
|
|
240
|
+
--field-row-label-width: 96px;
|
|
239
241
|
--field-row-row-gap: 2px;
|
|
240
242
|
--field-row-text-display: flex;
|
|
241
243
|
--field-row-label-font-size: var(--font-text-sm-size);
|