Skip to content
Browse files

Fefactored box-sizing, linear-gradient, readial-gradient

  • Loading branch information...
1 parent 882d0f3 commit 46cec457a66bd542e762dc90b1cbf7914a7e333c Phil LaPier committed
Showing with 12 additions and 10 deletions.
  1. +4 −2 _box-sizing.scss
  2. +4 −4 _linear-gradient.scss
  3. +4 −4 _radial-gradient.scss
View
6 _box-sizing.scss
@@ -1,5 +1,7 @@
@mixin box-sizing ($box) {
-webkit-box-sizing: $box;
- -moz-box-sizing: $box;
- box-sizing: $box;
+ -moz-box-sizing: $box;
+ -ms-box-sizing: $box;
+ -o-box-sizing: $box;
+ box-sizing: $box;
}
View
8 _linear-gradient.scss
@@ -23,10 +23,10 @@
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: 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: linear-gradient($pos, $full);
}
/* Usage: Gradient position is optional, default is top. Position can be a degree. Color stops are optional as well.*/
View
8 _radial-gradient.scss
@@ -14,10 +14,10 @@
}
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-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);
}
/* Usage: Gradient position and shape-size are required. Color stops are optional.*/

0 comments on commit 46cec45

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