@@ -40,26 +40,60 @@ label.mdc-text-field--fullwidth:not(.mdc-text-field--textarea) > span.mdc-floati
40
40
41
41
/* For EditForm validation messages */
42
42
.validation-message {
43
- color : red ;
43
+ color : red !important ;
44
44
}
45
+ .mdc-text-field--outlined {
46
+ .mat-text-field-input.mdc-text-field__input {
47
+ & .invalid , & .valid.modified {
48
+ border-bottom : none !important ;
49
+ }
50
+ }
45
51
46
- /* For TextField */
52
+ .mdc-select__selected-text {
53
+ & .invalid , & .valid.modified {
54
+ border-bottom : none !important ;
55
+ }
56
+ }
57
+ }
47
58
59
+ .mdc-select__selected-text.invalid {
60
+ border-bottom : none !important ;
61
+ }
62
+
63
+ .invalid + .mdc-notched-outline > {
64
+ .mdc-notched-outline__leading , .mdc-notched-outline__notch , .mdc-notched-outline__trailing {
65
+ border-color : red !important ;
66
+ }
67
+ }
68
+
69
+ .valid.modified + .mdc-notched-outline > {
70
+ .mdc-notched-outline__leading , .mdc-notched-outline__notch , .mdc-notched-outline__trailing {
71
+ border-color : green !important ;
72
+ }
73
+ }
48
74
75
+ .invalid + i + .mdc-notched-outline > {
76
+ .mdc-notched-outline__leading , .mdc-notched-outline__notch , .mdc-notched-outline__trailing {
77
+ border-color : red !important ;
78
+ }
79
+ }
80
+
81
+ .valid.modified + i + .mdc-notched-outline > {
82
+ .mdc-notched-outline__leading , .mdc-notched-outline__notch , .mdc-notched-outline__trailing {
83
+ border-color : green !important ;
84
+ }
85
+ }
86
+
87
+ /* For TextField */
49
88
.mat-text-field , .mat-select {
50
89
& .valid.modified {
51
-
52
90
.mdc-line-ripple ::before
53
91
{
54
92
border-bottom : 1px solid #10b510 !important ;
55
-
56
93
}
57
-
58
-
59
94
}
60
95
61
96
& .invalid {
62
-
63
97
.mdc-line-ripple ::before {
64
98
border-bottom : 1px solid red !important ;
65
99
}
0 commit comments