app/assets/stylesheets/kentucky/_helpers.scss in kentucky-0.1.0 vs app/assets/stylesheets/kentucky/_helpers.scss in kentucky-0.1.1
- old
+ new
@@ -118,16 +118,11 @@
} // END if
// Sprite Sheet Mixins
-@if $sprite-sheet == true{
-
- @mixin sprite($col $row){
- background-image: url($sprite-sheet-loc) no-repeat 0 0;
- background-position: ($col * $sprite-sheet-grid) ($row * $sprite-sheet-grid);
- }
-
+@mixin sprite($col, $row){
+ background: url($sprite-shet-loc) no-repeat ($col * -$sprite-sheet-grid) ($row * -$sprite-sheet-grid);
}
// ------------------------------------------------------------------- //
// Inuit Mixins - inuitcss.com
\ No newline at end of file