Fix css template for sprites

This commit is contained in:
Blade Barringer
2015-10-08 17:30:00 -05:00
parent 58801f5025
commit ccd77090f4
2 changed files with 5 additions and 5 deletions
+16
View File
@@ -0,0 +1,16 @@
{{#sprites}}
.{{name}} {
background-image: url({{{escaped_image}}});
background-position: {{px.offset_x}} {{px.offset_y}};
width: {{px.width}};
height: {{px.height}};
}
{{#if custom}}
.customize-option.{{name}} {
background-image: url({{{escaped_image}}});
background-position: {{custom.px.offset_x}} {{custom.px.offset_y}};
width: {{custom.px.width}};
height: {{custom.px.height}};
}
{{/if}}
{{/sprites}}