diff options
| author | Mark Otto <[email protected]> | 2014-12-17 12:28:20 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-12-17 12:28:20 -0800 |
| commit | dab0b97ce4eb7903bcedd58afe861930a8707f12 (patch) | |
| tree | a0f93fe6271d7ec316aec5fea33613c38874dcb0 /scss | |
| parent | 7d8bad586bb5862bff46db8126632e3846a1a60a (diff) | |
| parent | a8299b5b45f9b72829eead235524d2888eb2c03a (diff) | |
| download | bootstrap-dab0b97ce4eb7903bcedd58afe861930a8707f12.tar.xz bootstrap-dab0b97ce4eb7903bcedd58afe861930a8707f12.zip | |
Merge pull request #29 from twbs/ie9-minimum-docs
Remove ancillary references to IE<9 in comments+docs
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/mixins/_gradients.scss | 12 | ||||
| -rw-r--r-- | scss/mixins/_reset-filter.scss | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/scss/mixins/_gradients.scss b/scss/mixins/_gradients.scss index 9eb31e3ba..c57eddca4 100644 --- a/scss/mixins/_gradients.scss +++ b/scss/mixins/_gradients.scss @@ -3,21 +3,21 @@ // Horizontal gradient, from left to right // // Creates two color stops, start and end, by specifying a color and position for each color stop. -// Color stops are not available in IE9 and below. +// Color stops are not available in IE9. @mixin gradient-horizontal($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) { background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 } // Vertical gradient, from top to bottom // // Creates two color stops, start and end, by specifying a color and position for each color stop. -// Color stops are not available in IE9 and below. +// Color stops are not available in IE9. @mixin gradient-vertical($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) { background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 } @mixin gradient-directional($start-color: #555, $end-color: #333, $deg: 45deg) { @@ -27,12 +27,12 @@ @mixin gradient-horizontal-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) { background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color); background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down, gets no color-stop at all for proper fallback + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 gets no color-stop at all for proper fallback } @mixin gradient-vertical-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) { background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color); background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 gets no color-stop at all for proper fallback } @mixin gradient-radial($inner-color: #555, $outer-color: #333) { background-image: radial-gradient(circle, $inner-color, $outer-color); diff --git a/scss/mixins/_reset-filter.scss b/scss/mixins/_reset-filter.scss index a7c7f22c5..044b349c0 100644 --- a/scss/mixins/_reset-filter.scss +++ b/scss/mixins/_reset-filter.scss @@ -1,7 +1,7 @@ // Reset filters for IE // // When you need to remove a gradient background, do not forget to use this to reset -// the IE filter for IE9 and below. +// the IE filter for IE9. @mixin reset-filter() { filter: "progid:DXImageTransform.Microsoft.gradient(enabled = false)"; |
