diff options
| author | XhmikosR <[email protected]> | 2020-03-09 15:37:46 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-03-18 20:59:27 +0200 |
| commit | 018a94c9c1766c2f191d98f14d8a780882d671ae (patch) | |
| tree | c4cc4e590358ec01b4b090fe35cbf515865e9d05 /scss/forms | |
| parent | 47aef7b2c6f4570443a16f8db302586a7ce548af (diff) | |
| download | bootstrap-018a94c9c1766c2f191d98f14d8a780882d671ae.tar.xz bootstrap-018a94c9c1766c2f191d98f14d8a780882d671ae.zip | |
Remove Internet Explorer leftovers
Diffstat (limited to 'scss/forms')
| -rw-r--r-- | scss/forms/_form-control.scss | 6 | ||||
| -rw-r--r-- | scss/forms/_form-file.scss | 7 | ||||
| -rw-r--r-- | scss/forms/_form-select.scss | 5 |
3 files changed, 0 insertions, 18 deletions
diff --git a/scss/forms/_form-control.scss b/scss/forms/_form-control.scss index 5d1c1b692..fb3142333 100644 --- a/scss/forms/_form-control.scss +++ b/scss/forms/_form-control.scss @@ -22,12 +22,6 @@ @include box-shadow($input-box-shadow); @include transition($input-transition); - // Unstyle the caret on `<select>`s in IE10+. - &::-ms-expand { - background-color: transparent; - border: 0; - } - // Customize the `:focus` state to imitate native WebKit styles. &:focus { color: $input-focus-color; diff --git a/scss/forms/_form-file.scss b/scss/forms/_form-file.scss index 500591cab..8e9c6c443 100644 --- a/scss/forms/_form-file.scss +++ b/scss/forms/_form-file.scss @@ -11,13 +11,6 @@ margin: 0; opacity: 0; - // Separate rules for :focus and :focus-within as IE doesn't support the latter, and - // thus ignores the entire ruleset. See https://github.com/twbs/bootstrap/pull/29036. - &:focus ~ .form-file-label { - border-color: $form-file-focus-border-color; - box-shadow: $form-file-focus-box-shadow; - } - &:focus-within ~ .form-file-label { border-color: $form-file-focus-border-color; box-shadow: $form-file-focus-box-shadow; diff --git a/scss/forms/_form-select.scss b/scss/forms/_form-select.scss index fa3206881..84fb88354 100644 --- a/scss/forms/_form-select.scss +++ b/scss/forms/_form-select.scss @@ -57,11 +57,6 @@ border-color: $form-select-disabled-border-color; } - // Hides the default caret in IE11 - &::-ms-expand { - display: none; - } - // Remove outline from select box in FF &:-moz-focusring { color: transparent; |
