diff options
| author | Mark Otto <[email protected]> | 2015-06-19 16:26:33 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-06-19 16:26:33 -0700 |
| commit | bc29c016b7afefa2a9a42e94efaee58695049285 (patch) | |
| tree | ac294f7fbc18d4ba8c6b4179b7d1cbeb6481d70b /scss/_forms.scss | |
| parent | 8410afe0e104459a613f6232ad46334aa8b99fda (diff) | |
| parent | 3df2d085ed219a16848b96e90a72fcd5575a5270 (diff) | |
| download | bootstrap-bc29c016b7afefa2a9a42e94efaee58695049285.tar.xz bootstrap-bc29c016b7afefa2a9a42e94efaee58695049285.zip | |
Merge branch 'v4' into v4_builds
Diffstat (limited to 'scss/_forms.scss')
| -rw-r--r-- | scss/_forms.scss | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss index 78ca70295..7cdf54125 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -33,6 +33,12 @@ height: $input-height-base; } + // Unstyle the caret on `<select>`s in IE10+. + &::-ms-expand { + background-color: transparent; + border: 0; + } + // Customize the `:focus` state to imitate native WebKit styles. @include form-control-focus(); @@ -91,24 +97,26 @@ // set a pixel line-height that matches the given height of the input, but only // for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848 -// @media screen and (-webkit-min-device-pixel-ratio: 0) { -// input[type="date"], -// input[type="time"], -// input[type="datetime-local"], -// input[type="month"] { -// line-height: $input-height-base; - -// &.input-sm, -// .input-group-sm & { -// line-height: $input-height-sm; -// } - -// &.input-lg, -// .input-group-lg & { -// line-height: $input-height-lg; -// } -// } -// } +@media screen and (-webkit-min-device-pixel-ratio: 0) { + input[type="date"], + input[type="time"], + input[type="datetime-local"], + input[type="month"] { + &.form-control { + line-height: $input-height-base; + } + + &.input-sm, + .input-group-sm &.form-control { + line-height: $input-height-sm; + } + + &.input-lg, + .input-group-lg &.form-control { + line-height: $input-height-lg; + } + } +} // Static form control text |
