1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 06:21:26 +02:00

Removes border around select caret in IE

This commit is contained in:
Won Song
2015-05-24 12:11:26 -07:00
parent 8063e13998
commit 22e338e3bc

View File

@@ -132,6 +132,12 @@ output {
// Placeholder // Placeholder
.placeholder(); .placeholder();
// Removes the border and background color around the caret in IE
&::-ms-expand {
border: 0;
background-color: @input-bg;
}
// Disabled and read-only inputs // Disabled and read-only inputs
// //
// HTML5 says that controls under a fieldset > legend:first-child won't be // HTML5 says that controls under a fieldset > legend:first-child won't be
@@ -139,6 +145,8 @@ 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