From f805da20ccd0cd71741cadb1e11ceaddd50a2b70 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 2 Oct 2017 14:16:10 +0200 Subject: [PATCH] Remove unwanted outline on select in Firefox --- skins/elastic/styles/widgets/forms.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/skins/elastic/styles/widgets/forms.less b/skins/elastic/styles/widgets/forms.less index f34950043..52f6ed142 100644 --- a/skins/elastic/styles/widgets/forms.less +++ b/skins/elastic/styles/widgets/forms.less @@ -552,3 +552,15 @@ html.touch input.icon-checkbox + label { padding: .5rem .75rem !important; } } + +/* Remove outline on selects in Firefox */ +@-moz-document url-prefix() { + select:-moz-focusring { + color: transparent !important; + text-shadow: 0 0 0 @color-font !important; + } +} + +.form-control, .form-control:focus { + color: @color-font; +}