2011-08-05 06:46:03 +02:00
|
|
|
/**
|
|
|
|
* Helper SCSS file for generating sprites for the interface.
|
|
|
|
*
|
2011-08-09 01:39:12 +02:00
|
|
|
* S
|
2011-08-05 06:46:03 +02:00
|
|
|
*/
|
|
|
|
@import "compass/utilities/sprites/base";
|
|
|
|
|
|
|
|
$icon24: sprite-map("icons/24x24/*.png");
|
2011-08-09 01:39:12 +02:00
|
|
|
$icon16: sprite-map("icons/16x16/*.png");
|
2011-08-05 06:46:03 +02:00
|
|
|
|
2011-08-09 01:39:12 +02:00
|
|
|
|
|
|
|
@mixin icons($sprite) {
|
|
|
|
background: $sprite;
|
2011-08-05 06:46:03 +02:00
|
|
|
|
|
|
|
&.icon-assetadmin {
|
2011-08-09 01:39:12 +02:00
|
|
|
@include sprite($sprite, "picture");
|
2011-08-05 06:46:03 +02:00
|
|
|
}
|
|
|
|
&.icon-cmsmain {
|
2011-08-09 01:39:12 +02:00
|
|
|
@include sprite($sprite, "pencil");
|
2011-08-05 06:46:03 +02:00
|
|
|
}
|
|
|
|
&.icon-cmspagescontroller {
|
2011-08-09 01:39:12 +02:00
|
|
|
@include sprite($sprite, "network");
|
2011-08-05 06:46:03 +02:00
|
|
|
}
|
|
|
|
&.icon-cmssettingscontroller {
|
2011-08-09 01:39:12 +02:00
|
|
|
@include sprite($sprite, "gears");
|
2011-08-05 06:46:03 +02:00
|
|
|
}
|
|
|
|
&.icon-securityadmin {
|
2011-08-09 01:39:12 +02:00
|
|
|
@include sprite($sprite, "community");
|
2011-08-05 06:46:03 +02:00
|
|
|
}
|
|
|
|
&.icon-reportadmin {
|
2011-08-09 01:39:12 +02:00
|
|
|
@include sprite($sprite, "pie-chart");
|
2011-08-05 06:46:03 +02:00
|
|
|
}
|
|
|
|
&.icon-commentadmin {
|
2011-08-09 01:39:12 +02:00
|
|
|
@include sprite($sprite, "blog");
|
2011-08-05 06:46:03 +02:00
|
|
|
}
|
|
|
|
&.icon-help {
|
2011-08-09 01:39:12 +02:00
|
|
|
@include sprite($sprite, "information");
|
2011-08-05 06:46:03 +02:00
|
|
|
}
|
|
|
|
}
|
2011-08-09 01:39:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
.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);
|
|
|
|
}
|
|
|
|
}
|