mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-21 05:21:52 +00:00
Fix error color when input is focused
This commit is contained in:
parent
d46aeabe5b
commit
ecb5c3724d
1 changed files with 14 additions and 14 deletions
|
|
@ -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'};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue