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 7474 color : $input-underline-color-warn ;
7575 }
7676
77- .mat-input-underline {
78- border-color : $input-underline-color-warn ;
79- }
80-
8177 .mat-input-ripple {
8278 background-color : $input-underline-color-warn ;
8379 }
Original file line number Diff line number Diff line change @@ -217,12 +217,15 @@ $mat-input-underline-disabled-background-image:
217217 z-index : 1 ;
218218 top : -1px ;
219219 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 ;
226229 }
227230 }
228231}
You can’t perform that action at this time.
0 commit comments