From 3adf15977bc07a3767c84d7ff0ede585cd387a22 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Wed, 25 Feb 2015 21:05:22 +0100 Subject: [PATCH] Port Firefox select fixes from Foundation 1.0.3 See https://github.com/zurb/foundation-apps/commit/43da85985770e430ce45a8c10fdd6bed29cf5096 (Upgrading to 1.0.3 is not yet possible. See e22c48a6) Bug # 18388 Signed-off-by: Alex Coles --- app/assets/stylesheets/content/_forms.sass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/content/_forms.sass b/app/assets/stylesheets/content/_forms.sass index c523f45d5d..8f0a2134d8 100644 --- a/app/assets/stylesheets/content/_forms.sass +++ b/app/assets/stylesheets/content/_forms.sass @@ -313,6 +313,13 @@ fieldset.form--fieldset // https://github.com/zurb/foundation-apps/pull/416 padding-right: $form-padding + rem-calc(18px) + // TODO: remove on upgrade Foundation 1.0.3 + // https://github.com/zurb/foundation-apps/commit/43da85985770e430ce45a8c10fdd6bed29cf5096 + $arrow-color: rgb(red($select-arrow-color), green($select-arrow-color), blue($select-arrow-color)) + border: $input-border + background: $select-background url(image-triangle($arrow-color)) right 10px center no-repeat + background-size: 8px 8px + // TODO: fix upstream in Foundation &::-ms-expand display: none