mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(input): asterisk color when not focused (#1404)
* Currently the asterisk is still using the warn color when the input is not focused anymore. * Per Material Specs the asterisk should be only red when the input is focused (https://material-design.storage.googleapis.com/publish/material_v_9/0B7WCemMG6e0VcHFla0dwOE5pVVE/forms-supportive-content-v3_xhdpi.webm) Fixes #1395.
This commit is contained in:
committed by
Jeremy Elbourn
parent
580da741d2
commit
bf44c16cc3
@@ -39,8 +39,7 @@
|
||||
}
|
||||
|
||||
// See md-input-placeholder-floating mixin in input.scss
|
||||
md-input input:-webkit-autofill + .md-input-placeholder,
|
||||
.md-input-placeholder.md-float:not(.md-empty), .md-input-placeholder.md-float.md-focused {
|
||||
md-input input:-webkit-autofill + .md-input-placeholder, .md-input-placeholder.md-float.md-focused {
|
||||
|
||||
.md-placeholder-required {
|
||||
color: $input-required-placeholder-color;
|
||||
|
||||
Reference in New Issue
Block a user