Commit df78c895 authored by Mark Otto's avatar Mark Otto

Follow up to #16529 (remove select caret in IE10+)

- Update comment as recommended by @cvrebert
- Use `transparent` for `background-color` so we don't need to override that value again in the disabled state.
- Remove disabled changes.

/cc @wonsong
parent a89f00ed
...@@ -132,10 +132,10 @@ output { ...@@ -132,10 +132,10 @@ output {
// Placeholder // Placeholder
.placeholder(); .placeholder();
// Removes the border and background color around the caret in IE // Unstyle the caret on `<select>`s in IE10+.
&::-ms-expand { &::-ms-expand {
border: 0; border: 0;
background-color: @input-bg; background-color: transparent;
} }
// Disabled and read-only inputs // Disabled and read-only inputs
...@@ -145,8 +145,6 @@ output { ...@@ -145,8 +145,6 @@ output {
// don't honor that edge case; we style them as disabled anyway. // don't honor that edge case; we style them as disabled anyway.
&[disabled], &[disabled],
&[readonly], &[readonly],
&[disabled]::-ms-expand,
&[readonly]::-ms-expand,
fieldset[disabled] & { fieldset[disabled] & {
background-color: @input-bg-disabled; background-color: @input-bg-disabled;
opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655 opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment