2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Suppress IE/Edge additional white/blue colors for focused <select>

This commit is contained in:
Patrick H. Lauke
2016-04-11 21:18:48 +01:00
parent 47b9768203
commit d239fbb5f2
2 changed files with 20 additions and 0 deletions
+10
View File
@@ -159,6 +159,16 @@
border-color: $custom-select-focus-border-color;
outline: none;
@include box-shadow($custom-select-focus-box-shadow);
&::-ms-value {
// For visual consistency with other platforms/browsers,
// supress the default white text on blue background highlight given to
// the selected option text when the (still closed) <select> receives focus
// in IE and (under certain conditions) Edge.
// See https://github.com/twbs/bootstrap/issues/19398.
color: $input-color;
background-color: $input-bg;
}
}
// Hides the default caret in IE11