From ecb5c3724d27735e5d824807d51e20abe2d5f406 Mon Sep 17 00:00:00 2001 From: Marcos Moura Date: Wed, 5 Oct 2016 05:51:47 -0300 Subject: [PATCH] Fix error color when input is focused --- .../mdInputContainer/mdInputContainer.theme | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/mdInputContainer/mdInputContainer.theme b/src/components/mdInputContainer/mdInputContainer.theme index 1bfb05a..3c73546 100644 --- a/src/components/mdInputContainer/mdInputContainer.theme +++ b/src/components/mdInputContainer/mdInputContainer.theme @@ -1,6 +1,20 @@ .THEME_NAME { .md-input-container, &.md-input-container { + &.md-input-invalid { + &:after { + background-color: #{'WARN-COLOR'}; + } + + label, + .md-error, + .md-count, + input, + textarea { + color: #{'WARN-COLOR'}; + } + } + &.md-input-focused { &.md-input-inline { label { @@ -30,19 +44,5 @@ color: #{'PRIMARY-COLOR'}; } } - - &.md-input-invalid { - &:after { - background-color: #{'WARN-COLOR'}; - } - - label, - .md-error, - .md-count, - input, - textarea { - color: #{'WARN-COLOR'}; - } - } } }