Skip to content

Commit

Permalink
make hw-input and hw-input::(all)placeholders darker
Browse files Browse the repository at this point in the history
  • Loading branch information
nidde-posten committed Aug 28, 2019
1 parent 46944b2 commit a25fadc
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions src/shared/components/input/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/

.hw-input {
color: var(--hw-color-gray-darker);
position: relative;
display: block;
width: 100%;
Expand All @@ -17,7 +18,10 @@
transition: border 100ms;
-webkit-appearance: none;

&::placeholder {
&::placeholder,
&::-webkit-input-placeholder,
&:-ms-input-placeholder,
&::-ms-input-placeholder{
color: var(--hw-color-gray-dark);
}

Expand All @@ -30,16 +34,6 @@
outline: 0;
}

&::-webkit-input-placeholder {
/* Not autprefixed - Chrome/Opera/Safari */
color: var(--hw-color-gray-dark);
}

&:-ms-input-placeholder {
/* Not autprefixed - IE 10+ */
color: var(--hw-color-gray-dark);
}

&[disabled] {
border: 3px solid var(--hw-color-gray-lighter);
}
Expand Down

0 comments on commit a25fadc

Please sign in to comment.