Fix error color when input is focused

This commit is contained in:
Marcos Moura 2016-10-05 05:51:47 -03:00
parent d46aeabe5b
commit ecb5c3724d

View file

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