@plexui/ui 0.7.91 → 0.7.93
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.
|
@@ -74,7 +74,8 @@
|
|
|
74
74
|
}.FieldFootprint[data-focused] .LabelText,
|
|
75
75
|
.FieldFootprint[data-invalid] .LabelText,
|
|
76
76
|
.HasValue .LabelText {
|
|
77
|
-
transform: translate(-
|
|
77
|
+
transform: translate(calc(-1 * var(--horizontal-padding))) scale(var(--floating-input-label-scale));
|
|
78
|
+
transform-origin: left center;
|
|
78
79
|
max-width: 133%;
|
|
79
80
|
}/* Focus label color */.FieldFootprint[data-focused] .LabelText {
|
|
80
81
|
color: var(--floating-input-label-color-focus);
|
|
@@ -135,15 +136,18 @@
|
|
|
135
136
|
font-size: var(--field-error-font-size);
|
|
136
137
|
line-height: var(--field-error-line-height);
|
|
137
138
|
margin-top: 0.25rem;
|
|
138
|
-
margin-bottom: 0.5rem;
|
|
139
139
|
padding-inline-start: var(--floating-input-gutter);
|
|
140
140
|
}.Description {
|
|
141
141
|
color: var(--color-text-secondary);
|
|
142
142
|
font-size: var(--field-error-font-size);
|
|
143
143
|
line-height: var(--field-error-line-height);
|
|
144
144
|
margin-top: 0.25rem;
|
|
145
|
-
margin-bottom: 0.5rem;
|
|
146
145
|
padding-inline-start: var(--floating-input-gutter);
|
|
146
|
+
}.ErrorMessage + .Description {
|
|
147
|
+
margin-top: 0;
|
|
148
|
+
}.ErrorMessage:last-child,
|
|
149
|
+
.Description:last-child {
|
|
150
|
+
margin-bottom: 0.5rem;
|
|
147
151
|
}/* =============================================
|
|
148
152
|
Multiline (textarea) variant
|
|
149
153
|
============================================= */.FieldFootprint[data-multiline] {
|
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
}.FieldFootprint[data-open] .LabelText,
|
|
86
86
|
.FieldFootprint[data-invalid] .LabelText,
|
|
87
87
|
.HasValue .LabelText {
|
|
88
|
-
transform: translate(-
|
|
88
|
+
transform: translate(calc(-1 * var(--horizontal-padding))) scale(var(--floating-input-label-scale));
|
|
89
|
+
transform-origin: left center;
|
|
89
90
|
max-width: 133%;
|
|
90
91
|
}/* Focus/open label color */.FieldFootprint[data-focused] .LabelText,
|
|
91
92
|
.FieldFootprint[data-open] .LabelText {
|