Skip to content

Commit

Permalink
Move fuge-icon mixin to where it is used
Browse files Browse the repository at this point in the history
Wasn't used in the list mixins, but was used by module.
  • Loading branch information
nschonni committed Feb 18, 2013
1 parent 7423c54 commit 4858847
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/grids/sass/includes/_list.scss
Expand Up @@ -71,13 +71,3 @@
}
}
}


$fugue-width: 16px;
$fugue-height: 16px;
$fugue-line-height: 18px;
$fugue-padding: 30px;

@mixin fugue-icon($bullet-icon, $width: $fugue-width, $height: $fugue-height, $line-height: $fugue-line-height, $padding: $fugue-padding) {
background: url("../images/" + $bullet-icon) no-repeat ($padding - $width) / 2 ($line-height - $height) / 2;
}
11 changes: 10 additions & 1 deletion src/grids/sass/includes/_module.scss
Expand Up @@ -368,4 +368,13 @@ $default-module-shadow: false;
@if $shadow == true {
@include box-shadow(0 2px 2px rgba($color, 0.15));
}
}
}

$fugue-width: 16px;
$fugue-height: 16px;
$fugue-line-height: 18px;
$fugue-padding: 30px;

@mixin fugue-icon($bullet-icon, $width: $fugue-width, $height: $fugue-height, $line-height: $fugue-line-height, $padding: $fugue-padding) {
background: url("../images/" + $bullet-icon) no-repeat ($padding - $width) / 2 ($line-height - $height) / 2;
}

0 comments on commit 4858847

Please sign in to comment.