Skip to content

Instantly share code, notes, and snippets.

@Schnitzel
Created December 27, 2012 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Schnitzel/4392116 to your computer and use it in GitHub Desktop.
Save Schnitzel/4392116 to your computer and use it in GitHub Desktop.
$buttons-sprite-dimensions: true;
$buttons-layout:horizontal;
@import "buttons/*.png";
$buttons-sprites: sprite-map("buttons/*.png");
@each $icon in 'text-link', 'picture', 'video' {
label[for=edit-field-article-type-und-#{$icon}]{
@include buttons-sprite(#{$icon}_big);
&.active {
//background-position: sprite-position($buttons-sprites, #{$icon}_big_hover);
@include buttons-sprite(#{$icon}_big_hover);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment