File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-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,17 @@ $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 : 50% ;
221+ transform : scaleX (0.5 );
222+ visibility : hidden ;
223+ transition : background-color $swift-ease-in-duration $swift-ease-in-timing-function ;
224+
225+ .mat-focused & ,
226+ .mat-input-invalid & {
227+ visibility : visible ;
228+ transform : scaleX (1 );
229+ transition : transform 150ms linear ,
230+ background-color $swift-ease-in-duration $swift-ease-in-timing-function ;
226231 }
227232 }
228233}
You can’t perform that action at this time.
0 commit comments