vue-material/src/components/mdInputContainer/mdInputContainer.theme

49 lines
836 B
Text
Raw Normal View History

2016-07-26 22:55:29 +00:00
.THEME_NAME {
.md-input-container,
&.md-input-container {
&.md-input-focused {
2016-07-27 04:55:32 +00:00
&.md-input-inline {
label {
color: rgba(#000, .54);
}
}
2016-08-02 05:05:32 +00:00
&.md-input-required {
label:after {
2016-08-17 01:38:18 +00:00
color: #{'WARN-COLOR'};
2016-08-02 05:05:32 +00:00
}
}
2016-07-26 22:55:29 +00:00
&:after {
height: 2px;
2016-08-17 01:38:18 +00:00
background-color: #{'PRIMARY-COLOR'};
2016-07-26 22:55:29 +00:00
}
2016-07-27 22:17:22 +00:00
input,
textarea {
2016-08-17 01:38:18 +00:00
color: #{'PRIMARY-COLOR'};
text-shadow: 0 0 0 #{'BACKGROUND-CONTRAST'};
2016-07-26 22:55:29 +00:00
-webkit-text-fill-color: transparent;
}
label {
2016-08-17 01:38:18 +00:00
color: #{'PRIMARY-COLOR'};
2016-07-26 22:55:29 +00:00
}
}
2016-08-01 05:45:40 +00:00
&.md-input-invalid {
&:after {
2016-08-17 01:38:18 +00:00
background-color: #{'WARN-COLOR'};
2016-08-01 05:45:40 +00:00
}
label,
.md-error,
.md-count,
2016-08-01 05:45:40 +00:00
input,
textarea {
2016-08-17 01:38:18 +00:00
color: #{'WARN-COLOR'};
2016-08-01 05:45:40 +00:00
}
}
2016-07-26 22:55:29 +00:00
}
}