hide custom select arrow only in firefox < 35

with the help of some javascript code martin will write :)
This commit is contained in:
Felix Niklas 2015-01-23 14:36:36 +01:00
parent fbba548e0b
commit 30042e451d

View file

@ -733,17 +733,18 @@ textarea,
Firefox only hack
-----------------
Firefox doesn't allow us to hide the dropdown arrow
but we want to replace it with our own icon.
So we have to hide our own icon in Firefox.
Firefox below version 35 doesn't allow us to
hide the dropdown arrow but we want to replace
it with our own icon. So we have to hide our own
icon in Firefox versions under 35.
The class is set via Javascript
*/
@-moz-document url-prefix() {
.form-control + .select-arrow {
html.ff-lt-35 .form-control + .select-arrow {
display: none;
}
}
select::-ms-expand {
display: none;