From 30042e451d0866108b63fe596183d690f755d34c Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Fri, 23 Jan 2015 14:36:36 +0100 Subject: [PATCH] hide custom select arrow only in firefox < 35 with the help of some javascript code martin will write :) --- app/assets/stylesheets/zammad.css.scss | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index f101f0110..9d18ab2a7 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -733,16 +733,17 @@ 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 { - display: none; - } + html.ff-lt-35 .form-control + .select-arrow { + display: none; } select::-ms-expand {