diff options
| author | Mark Otto <[email protected]> | 2015-08-23 01:12:00 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-08-23 01:12:00 -0700 |
| commit | a5bfbe0fcad5334e68d236f0603b685441829656 (patch) | |
| tree | bfa7c6ca0669623b0c11c011935a18df048a731b /scss/_custom-forms.scss | |
| parent | 6f8f4cc92c67dadfcadd2c50db56aa47cea26edc (diff) | |
| download | bootstrap-a5bfbe0fcad5334e68d236f0603b685441829656.tar.xz bootstrap-a5bfbe0fcad5334e68d236f0603b685441829656.zip | |
fix remaining scss lint errors
Diffstat (limited to 'scss/_custom-forms.scss')
| -rw-r--r-- | scss/_custom-forms.scss | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 50731111f..c63c9c185 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -126,23 +126,22 @@ // // Replaces the browser default select with a custom one, mostly pulled from // http://primercss.io. +// +// Includes IE9-specific hacks (noted by ` \9`). .c-select { display: inline-block; max-width: 100%; padding: .375rem 1.75rem .375rem .75rem; + padding-right: .75rem \9; vertical-align: middle; background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right .75rem center; + background-image: none \9; background-size: 8px 10px; border: 1px solid $input-border; - - // Have to include vendor prefixes as the `appearance` property isn't part of the CSS spec. - -webkit-appearance: none; + // Use vendor prefixes as `appearance` isn't part of the CSS spec. -moz-appearance: none; - - // IE9 hacks to hide the background-image and reduce padding - padding-right: .75rem \9; - background-image: none \9; + -webkit-appearance: none; &:focus { border-color: #51a7e8; |
