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

62 lines
1.1 KiB
Text
Raw Normal View History

2016-07-26 22:55:29 +00:00
.THEME_NAME {
&.md-input-container {
2016-10-05 08:51:47 +00:00
&.md-input-invalid {
&:after {
background-color: #{'WARN-COLOR'};
}
label,
2016-12-29 03:55:32 +00:00
input,
textarea,
2016-10-05 08:51:47 +00:00
.md-error,
.md-count,
.md-icon:not(.md-icon-delete) {
2016-10-05 08:51:47 +00:00
color: #{'WARN-COLOR'};
}
}
2016-07-26 22:55:29 +00:00
&.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;
}
2016-12-29 03:55:32 +00:00
label,
.md-icon:not(.md-icon-delete) {
2016-08-17 01:38:18 +00:00
color: #{'PRIMARY-COLOR'};
2016-07-26 22:55:29 +00:00
}
}
2016-12-29 03:55:32 +00:00
&.md-input-disabled {
label,
input,
textarea,
.md-error,
.md-count,
.md-icon:not(.md-icon-delete),
2016-12-29 03:55:32 +00:00
::-webkit-input-placeholder {
color: #{'BACKGROUND-CONTRAST-0.38'};
}
}
2016-07-26 22:55:29 +00:00
}
}