@firestitch/style 18.0.66 → 18.0.67
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.
- package/package.json +1 -1
- package/styles/_form-field.scss +14 -3
package/package.json
CHANGED
package/styles/_form-field.scss
CHANGED
|
@@ -105,12 +105,23 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.form-field-lineless:not(.mat-focused) {
|
|
108
|
+
// !important: Material injects its component styles after this sheet,
|
|
109
|
+
// and its hover/invalid border selectors out-rank anything reasonable
|
|
110
|
+
// here. The lineless contract — no line until focused — must always win;
|
|
111
|
+
// focus still shows the border because of the :not(.mat-focused) above.
|
|
108
112
|
.mdc-text-field--outlined .mat-mdc-notch-piece {
|
|
109
|
-
border-color: transparent;
|
|
113
|
+
border-color: transparent !important;
|
|
110
114
|
}
|
|
111
115
|
|
|
112
|
-
|
|
113
|
-
|
|
116
|
+
// Fill renders its outline-style border on the wrapper (see the fill
|
|
117
|
+
// block above); hide it and the container tint until focus
|
|
118
|
+
&.mat-form-field-appearance-fill {
|
|
119
|
+
--mdc-filled-text-field-container-color: transparent;
|
|
120
|
+
--mat-form-field-filled-container-color: transparent;
|
|
121
|
+
|
|
122
|
+
.mat-mdc-text-field-wrapper {
|
|
123
|
+
border-color: transparent !important;
|
|
124
|
+
}
|
|
114
125
|
}
|
|
115
126
|
|
|
116
127
|
input {
|