diff options
| author | Patrick H. Lauke <[email protected]> | 2016-04-11 21:18:48 +0100 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2016-04-12 08:06:10 +0100 |
| commit | d239fbb5f23aa06de7ba2ed6b5ec24703b03c13d (patch) | |
| tree | ead8ec8bd41a4e0849de42526c8ae430215aced9 /scss/_custom-forms.scss | |
| parent | 47b97682036cefe598fc6d0e237e298a107342b4 (diff) | |
| download | bootstrap-d239fbb5f23aa06de7ba2ed6b5ec24703b03c13d.tar.xz bootstrap-d239fbb5f23aa06de7ba2ed6b5ec24703b03c13d.zip | |
Suppress IE/Edge additional white/blue colors for focused <select>
Diffstat (limited to 'scss/_custom-forms.scss')
| -rw-r--r-- | scss/_custom-forms.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 371945ce7..8222a65b0 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -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 |
