Skip to content

Commit

Permalink
fix(theme): input placeholder color style fixed for Chrome
Browse files Browse the repository at this point in the history
mixin placeholder-input-color in `mixins.scss` do not work as expected in Chrome.

Fixes angular#4162.
  • Loading branch information
ThomasBurleson authored and kennethcachia committed Sep 23, 2015
1 parent 346737e commit 29254cb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/core/style/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@
}

@mixin input-placeholder-color($color) {
&::-webkit-input-placeholder,
&::-moz-placeholder, /* Firefox 19+ */
&:-moz-placeholder, /* Firefox 18- */
&:-ms-input-placeholder {
color: $color;
}
&::-webkit-input-placeholder { color: $color; }
&::-moz-placeholder { color: $color; } /* Firefox 19+ */
&:-moz-placeholder { color: $color; } /* Firefox 18- */
&:-ms-input-placeholder { color: $color; }
}

@mixin pie-clearfix {
Expand Down

0 comments on commit 29254cb

Please sign in to comment.