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:
Paul Gschwendtner
2016-10-05 20:14:00 +02:00
committed by Jeremy Elbourn
parent 580da741d2
commit bf44c16cc3
+1 -2
View File
@@ -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;