vue-material/src/components/mdInputContainer/mdInputContainer.theme
John Ryan Camatog 8a031036fe Small enhancements
- Fix lingering white border on `md-input-container` buttons (`md-has-password`/`md-clearable`)
- Fix `md-table` sort type not defaulting to 'asc' when `md-sort` prop is set
- Add `md-iconset` support to md-tab (fixes #704)
2017-06-22 03:13:20 +08:00

61 lines
1.1 KiB
Text

.THEME_NAME {
&.md-input-container {
&.md-input-invalid {
&:after {
background-color: #{'WARN-COLOR'};
}
label,
input,
textarea,
.md-error,
.md-count,
.md-icon:not(.md-icon-delete) {
color: #{'WARN-COLOR'};
}
}
&.md-input-focused {
&.md-input-inline {
label {
color: rgba(#000, .54);
}
}
&.md-input-required {
label:after {
color: #{'WARN-COLOR'};
}
}
&:after {
height: 2px;
background-color: #{'PRIMARY-COLOR'};
}
input,
textarea {
color: #{'PRIMARY-COLOR'};
text-shadow: 0 0 0 #{'BACKGROUND-CONTRAST'};
-webkit-text-fill-color: transparent;
}
label,
.md-icon:not(.md-icon-delete) {
color: #{'PRIMARY-COLOR'};
}
}
&.md-input-disabled {
label,
input,
textarea,
.md-error,
.md-count,
.md-icon:not(.md-icon-delete),
::-webkit-input-placeholder {
color: #{'BACKGROUND-CONTRAST-0.38'};
}
}
}
}