From bf44c16cc30b932a4d0eff1318d100b755857d56 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 5 Oct 2016 20:14:00 +0200 Subject: [PATCH] =?UTF-8?q?=EF=BB=BFfix(input):=20asterisk=20color=20when?= =?UTF-8?q?=20not=20focused=20(#1404)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. --- src/lib/input/_input-theme.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/input/_input-theme.scss b/src/lib/input/_input-theme.scss index b509a4fa73e..0c424275b7e 100644 --- a/src/lib/input/_input-theme.scss +++ b/src/lib/input/_input-theme.scss @@ -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;