CSS: Fix placeholder color in FF
This commit is contained in:
parent
7c6471da86
commit
ff500f4a0f
|
@ -15,6 +15,28 @@ input {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input:-moz-placeholder { // FF 18-
|
||||||
|
color: inherit;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
input::-moz-placeholder { // FF 19+
|
||||||
|
color: inherit;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:-ms-input-placeholder {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
input::-webkit-input-placeholder {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[placeholder] {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
input.search {
|
input.search {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
background: transparent url('../img/icons/search.png') no-repeat 2px;
|
background: transparent url('../img/icons/search.png') no-repeat 2px;
|
||||||
|
@ -23,22 +45,6 @@ input.search {
|
||||||
&:focus {
|
&:focus {
|
||||||
background-color: @body-bg-color;
|
background-color: @body-bg-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-webkit-input-placeholder {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:-moz-placeholder {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
&::-moz-placeholder {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:-ms-input-placeholder {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input, select, textarea {
|
input, select, textarea {
|
||||||
|
|
Loading…
Reference in New Issue