Skip to content

Commit

Permalink
Update input placeholder styles for empty inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Apr 23, 2017
1 parent 4c70870 commit 1f11548
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scss/helpers/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@
filter: none;
opacity: 0.5;
}

&[data-placeholder]:empty::before {
color: $base-font-color !important;
}
}
2 changes: 2 additions & 0 deletions scss/modules/inputs/_messaging.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
}

#msg_input {
@include placeholder;

background: $color-shade-light;
border-color: $color-shade-mid;
color: $base-font-color;
Expand Down

0 comments on commit 1f11548

Please sign in to comment.