Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix radial-gradient mixin calling radial-gradient function

  • Loading branch information...
commit b5d42a7cd0abbc03016d3460b9d2b20aebc8d937 1 parent c6b2b73
Phil LaPier authored
View
14 app/assets/stylesheets/css3/_linear-gradient.scss
@@ -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.
View
12 app/assets/stylesheets/css3/_radial-gradient.scss
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.