File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 74
74
color : $input-underline-color-warn ;
75
75
}
76
76
77
- .mat-input-underline {
78
- border-color : $input-underline-color-warn ;
79
- }
80
-
81
77
.mat-input-ripple {
82
78
background-color : $input-underline-color-warn ;
83
79
}
Original file line number Diff line number Diff line change @@ -217,12 +217,15 @@ $mat-input-underline-disabled-background-image:
217
217
z-index : 1 ;
218
218
top : -1px ;
219
219
width : 100% ;
220
- transform-origin : top ;
221
- opacity : 0 ;
222
- transition : opacity $swift-ease-out-duration $swift-ease-out-timing-function ;
223
-
224
- .mat-focused & {
225
- opacity : 1 ;
220
+ transform-origin : top center ;
221
+ transform : scale (0 , 0.5 );
222
+ transition : background-color $swift-ease-out-duration $swift-ease-out-timing-function ;
223
+
224
+ .mat-focused & ,
225
+ .mat-input-invalid & {
226
+ transform : scale (1 , 1 );
227
+ transition : transform $swift-ease-out-duration $swift-ease-out-timing-function ,
228
+ background-color $swift-ease-out-duration $swift-ease-out-timing-function ;
226
229
}
227
230
}
228
231
}
You can’t perform that action at this time.
0 commit comments