silverstripe-framework/admin/scss/_sprites.scss
Wolf Vollprecht 2a429c9850 MINOR: Added Member Profile Popup Styling
MINOR: Better button styles
MINOR: Now compass for button sprites
2011-12-29 09:48:22 +01:00

61 lines
1.0 KiB
SCSS

/**
* Helper SCSS file for generating sprites for the interface.
*
* S
*/
@import "compass/utilities/sprites/base";
$icon24: sprite-map("menu_icons/24x24/*.png");
$icon16: sprite-map("menu_icons/16x16/*.png");
$btn_icons: sprite-map("btn_icons/*.png", $spacing: 10px);
@mixin icons($sprite) {
background: $sprite;
&.icon-assetadmin {
@include sprite($sprite, "picture");
}
&.icon-cmsmain {
@include sprite($sprite, "pencil");
}
&.icon-cmspagescontroller {
@include sprite($sprite, "network");
}
&.icon-cmssettingscontroller {
@include sprite($sprite, "gears");
}
&.icon-securityadmin {
@include sprite($sprite, "community");
}
&.icon-reportadmin {
@include sprite($sprite, "pie-chart");
}
&.icon-commentadmin {
@include sprite($sprite, "blog");
}
&.icon-help {
@include sprite($sprite, "information");
}
}
.icon {
text-indent: -9999px;
border: none;
outline: none;
&.icon-24 {
width: 24px;
height: 24px;
@include icons($icon24);
}
&.icon-16 {
width: 16px;
height: 16px;
@include icons($icon16);
}
}