Permalink
Browse files

Fix radial-gradient mixin calling radial-gradient function

  • Loading branch information...
1 parent c6b2b73 commit b5d42a7cd0abbc03016d3460b9d2b20aebc8d937 Phil LaPier committed Oct 7, 2011
@@ -16,13 +16,13 @@
$full: compact($G1, $G2, $G3, $G4, $G5, $G6, $G7, $G8, $G9, $G10);
- background-color: nth($G1, 1);
- background-image: -webkit-gradient(linear, left top, left bottom, from($G1), to($G2)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient($pos, $full);
- background-image: -moz-linear-gradient($pos, $full);
- background-image: -ms-linear-gradient($pos, $full);
- background-image: -o-linear-gradient($pos, $full);
- background-image: unquote("linear-gradient(#{$pos}, #{$full})");
+ background-color: nth($G1, 1);
+ background-image: -webkit-gradient(linear, left top, left bottom, from($G1), to($G2)); /* Saf4+, Chrome */
+ background-image: -webkit-linear-gradient($pos, $full);
+ background-image: -moz-linear-gradient($pos, $full);
+ background-image: -ms-linear-gradient($pos, $full);
+ background-image: -o-linear-gradient($pos, $full);
+ background-image: unquote("linear-gradient(#{$pos}, #{$full})");
}
// Usage: Gradient position is optional, default is top. Position can be a degree. Color stops are optional as well.
@@ -8,12 +8,12 @@
$full: compact($G1, $G2, $G3, $G4, $G5, $G6, $G7, $G8, $G9, $G10);
- background-color: nth($G1, 1);
- background-image: -webkit-radial-gradient($pos, $shape-size, $full);
- background-image: -moz-radial-gradient($pos, $shape-size, $full);
- background-image: -ms-radial-gradient($pos, $shape-size, $full);
- background-image: -o-radial-gradient($pos, $shape-size, $full);
- background-image: radial-gradient($pos, $shape-size, $full);
+ background-color: nth($G1, 1);
+ background-image: -webkit-radial-gradient($pos, $shape-size, $full);
+ background-image: -moz-radial-gradient($pos, $shape-size, $full);
+ background-image: -ms-radial-gradient($pos, $shape-size, $full);
+ background-image: -o-radial-gradient($pos, $shape-size, $full);
+ background-image: unquote("radial-gradient($pos, $shape-size, $full)");
}
// Usage: Gradient position and shape-size are required. Color stops are optional.

0 comments on commit b5d42a7

Please sign in to comment.