Skip to content
Browse files

Updated mixins

  • Loading branch information...
1 parent e983cb9 commit 490687ccabe1aaa7d32dc465e48f215a356386ce Tom Krush committed Jun 29, 2012
Showing with 13 additions and 13 deletions.
  1. +13 −13 _mixins.scss
View
26 _mixins.scss
@@ -159,14 +159,14 @@
$first: $colors;
$last: $stops;
- background: $first; /* Old browsers */
- background: -moz-linear-gradient(top, $first 0%, $last 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$first), color-stop(100%,$last)); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, $first 0%,$last 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, $first 0%,$last 100%); /* Opera11.10+ */
- background: -ms-linear-gradient(top, $first 0%,$last 100%); /* IE10+ */
+ background-color: $first; /* Old browsers */
+ background-image: -moz-linear-gradient(top, $first 0%, $last 100%); /* FF3.6+ */
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$first), color-stop(100%,$last)); /* Chrome,Safari4+ */
+ background-image: -webkit-linear-gradient(top, $first 0%,$last 100%); /* Chrome10+,Safari5.1+ */
+ background-image: -o-linear-gradient(top, $first 0%,$last 100%); /* Opera11.10+ */
+ background-image: -ms-linear-gradient(top, $first 0%,$last 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$first}', endColorstr='#{$last}',GradientType=0); /*IE6-9 */
- background: linear-gradient(top, $first 0%,$last 100%); /* W3C */
+ background-image: linear-gradient(top, $first 0%,$last 100%); /* W3C */
}
@else {
$firstColor: '';
@@ -189,13 +189,13 @@
}
$ci: $ci + 1;
}
- background: $firstColor; /* Old browsers */
- background: -moz-linear-gradient($direction, $list); /* FF3.6+ */
- background: -webkit-linear-gradient($direction, $list); /* Chrome10+,Safari5.1+ */
- background: -ms-linear-gradient($direction, $list); /* Opera11.10+ */
- background: -o-linear-gradient($direction, $list); /* IE10+ */
+ background-color: $firstColor; /* Old browsers */
+ background-image: -moz-linear-gradient($direction, $list); /* FF3.6+ */
+ background-image: -webkit-linear-gradient($direction, $list); /* Chrome10+,Safari5.1+ */
+ background-image: -ms-linear-gradient($direction, $list); /* Opera11.10+ */
+ background-image: -o-linear-gradient($direction, $list); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$firstColor}', endColorstr='#{$lastColor}',GradientType=0); /*IE6-9 */
- background: linear-gradient($direction, $list); /* W3C */
+ background-image: linear-gradient($direction, $list); /* W3C */
}
}

0 comments on commit 490687c

Please sign in to comment.
Something went wrong with that request. Please try again.