Skip to content

Commit

Permalink
Webclient - Change placeholder color on settings input
Browse files Browse the repository at this point in the history
  • Loading branch information
bebac committed Jul 23, 2017
1 parent 8471198 commit 6c84c55
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webclient/src/components/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@
padding-bottom: $padding-bottom;
border-bottom: 2px solid lighten(#ecbb71, 0%);
}
@include placeholder
{
color: #ccc;
}
}
.select-dropdown-icon
Expand Down
8 changes: 8 additions & 0 deletions webclient/src/styles/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
box-sizing: $box-model;
}

@mixin placeholder
{
&::-webkit-input-placeholder {@content}
&:-moz-placeholder {@content}
&::-moz-placeholder {@content}
&:-ms-input-placeholder {@content}
}

@mixin keyframes($animation-name)
{
@-webkit-keyframes #{$animation-name} {
Expand Down

0 comments on commit 6c84c55

Please sign in to comment.