diff options
| author | Patrick H. Lauke <[email protected]> | 2016-04-21 22:43:40 +0100 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2016-04-21 22:43:40 +0100 |
| commit | 1a6d0cc446259cf86d73bf7437f2ca3b095f6781 (patch) | |
| tree | d4eebcbbe9ac4ee6877abf3479bf2afdfdddc5e4 /scss/_forms.scss | |
| parent | 8c678e9db7e280acdd6cf25de07a3e5cabf12468 (diff) | |
| parent | d239fbb5f23aa06de7ba2ed6b5ec24703b03c13d (diff) | |
| download | bootstrap-1a6d0cc446259cf86d73bf7437f2ca3b095f6781.tar.xz bootstrap-1a6d0cc446259cf86d73bf7437f2ca3b095f6781.zip | |
Merge pull request #19714 from patrickhlauke/v4-ie-edge-select-normalisation
Suppress IE/Edge additional white/blue colors for focused <select>
Diffstat (limited to 'scss/_forms.scss')
| -rw-r--r-- | scss/_forms.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss index 9a031c3ac..a64d9c54b 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -60,6 +60,16 @@ select.form-control { &:not([size]):not([multiple]) { height: $input-height; } + + &:focus::-ms-value { + // Suppress the nested 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, as it looks bad and cannot be made to + // match the appearance of the native widget. + // See https://github.com/twbs/bootstrap/issues/19398. + color: $input-color; + background-color: $input-bg; + } } // Make file inputs better match text inputs by forcing them to new lines. |
