]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Backport #29445
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Fri, 4 Oct 2019 08:08:44 +0000 (10:08 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 14 Oct 2019 09:12:05 +0000 (12:12 +0300)
Remove outline from select box in Firefox

scss/_custom-forms.scss
scss/_forms.scss

index 48f292bdfbf7e972b575cad765ebef731d9fe32d..8b3a74bc0b6027d3a82c20f33d36d7ff15ef75d2 100644 (file)
   &::-ms-expand {
     display: none;
   }
+
+  // Remove outline from select box in FF
+  &:-moz-focusring {
+    color: transparent;
+    text-shadow: 0 0 0 $custom-select-color;
+  }
 }
 
 .custom-select-sm {
index a290270d74310a00fe2915cbb321fd63bc69568f..7a9a653e4553fae1924cb22006631c392fbc85f6 100644 (file)
     border: 0;
   }
 
+  // Remove select outline from select box in FF
+  &:-moz-focusring {
+    color: transparent;
+    text-shadow: 0 0 0 $input-color;
+  }
+
   // Customize the `:focus` state to imitate native WebKit styles.
   @include form-control-focus($ignore-warning: true);