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'}; - } - } } }