Files
sogo/UI/WebServerResources/scss/components/textField/textField-theme.scss

45 lines
850 B
SCSS

md-input-group.md-THEME_NAME-theme {
input, textarea {
text-shadow: '{{foreground-shadow}}';
@include input-placeholder-color('{{foreground-3}}');
}
label {
text-shadow: '{{foreground-shadow}}';
color: '{{foreground-3}}';
}
input, textarea {
color: '{{foreground-1}}';
border-color: '{{foreground-4}}';
}
&.md-input-focused {
input, textarea {
border-color: '{{primary-500}}';
}
label {
color: '{{primary-500}}';
}
&.md-accent {
input, textarea {
border-color: '{{accent-500}}';
}
label {
color: '{{accent-500}}';
}
}
}
&.md-input-has-value:not(.md-input-focused) {
label {
color: '{{foreground-2}}';
}
}
.md-input[disabled] {
border-bottom-color: '{{foreground-4}}';
color: '{{foreground-3}}';
}
}