Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing -ms-filter as it drives IE9+ crazy. plus existing filter wor…

…ks anyway for IE9-
  • Loading branch information...
commit 461a589a61cd8e489299e053e061fcf5a218cfba 1 parent 6d2f7f4
Divya Manian authored
View
5 frameworks/compass/stylesheets/compass/css3/_images.scss
@@ -83,10 +83,7 @@
@mixin filter-gradient($start-color, $end-color, $orientation: vertical) {
@include has-layout;
$gradient-type: if($orientation == vertical, 0, 1);
- @if $legacy-support-for-ie8 {
- -ms-filter: "progid:DXImageTransform.Microsoft.gradient(gradientType=#{$gradient-type}, startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}')";
- }
- @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 or $legacy-support-for-ie8 {
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=#{$gradient-type}, startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}');
}
}
View
5 frameworks/compass/stylesheets/compass/css3/_opacity.scss
@@ -6,10 +6,7 @@
// A number between 0 and 1, where 0 is transparent and 1 is opaque.
@mixin opacity($opacity) {
- @if $legacy-support-for-ie8 {
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})";
- }
- @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 or $legacy-support-for-ie8 {
filter: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})");
}
opacity: $opacity;
Please sign in to comment.
Something went wrong with that request. Please try again.