Skip to content

Commit

Permalink
fix(input): disabled inputs should be grayed out (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
kara authored Jan 4, 2017
1 parent af1e361 commit ed3ffe0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/input/_input-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
}
}

.md-input-element:disabled {
color: md-color($foreground, disabled-text);
}

// See md-input-placeholder-floating mixin in input.scss
input.md-input-element:-webkit-autofill + .md-input-placeholder,
.md-input-placeholder.md-float.md-focused {
Expand Down

0 comments on commit ed3ffe0

Please sign in to comment.