Skip to content

Commit

Permalink
Changed variable to be more semantic
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil LaPier committed Oct 13, 2011
1 parent e46ba1e commit 36b678e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/css3/_linear-gradient.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
}

$full: compact($G1, $G2, $G3, $G4, $G5, $G6, $G7, $G8, $G9, $G10);
$GLast: nth($full, length($full));
$last-gradient: nth($full, length($full));

background-color: nth($G1, 1);
background-image: -webkit-gradient(linear, left top, left bottom, from(nth($G1, 1)), to(nth($GLast, 1))); /* Saf4, < iOS 5, Android Webkit */
background-image: -webkit-gradient(linear, left top, left bottom, from(nth($G1, 1)), to(nth($last-gradient, 1))); /* Saf4, < iOS 5, Android Webkit */
background-image: -webkit-linear-gradient($pos, $full); /* Saf5.1+, Chrome */
background-image: -moz-linear-gradient($pos, $full);
background-image: -ms-linear-gradient($pos, $full);
Expand Down

0 comments on commit 36b678e

Please sign in to comment.