diff options
| author | Mark Otto <[email protected]> | 2016-04-23 14:24:08 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-04-23 14:24:08 -0700 |
| commit | 9f2ab98026cd1df4c74cdad1aa03d2931f979f91 (patch) | |
| tree | 10b02fa770aa10535d82df91bbd7d4bafe258cfa /scss/_forms.scss | |
| parent | 29ff8e8b1449887b0e07bd9e19befb0ce1e1cb81 (diff) | |
| parent | 1a6d0cc446259cf86d73bf7437f2ca3b095f6781 (diff) | |
| download | bootstrap-9f2ab98026cd1df4c74cdad1aa03d2931f979f91.tar.xz bootstrap-9f2ab98026cd1df4c74cdad1aa03d2931f979f91.zip | |
Merge branch 'v4-dev' into v4-forms-cleanup
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 c3a4be270..dc2ad9b4a 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. |
