1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-23 21:53:25 +02:00
Remove outline from select box in Firefox
This commit is contained in:
Martijn Cuppens
2019-10-04 10:08:44 +02:00
committed by XhmikosR
parent 1260b4fb3f
commit 6c9640c245
2 changed files with 12 additions and 0 deletions

View File

@@ -268,6 +268,12 @@
&::-ms-expand { &::-ms-expand {
display: none; display: none;
} }
// Remove outline from select box in FF
&:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 $custom-select-color;
}
} }
.custom-select-sm { .custom-select-sm {

View File

@@ -30,6 +30,12 @@
border: 0; 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. // Customize the `:focus` state to imitate native WebKit styles.
@include form-control-focus($ignore-warning: true); @include form-control-focus($ignore-warning: true);