20 lines
596 B
Cheetah
20 lines
596 B
Cheetah
|
{{#hasMixin}}@mixin {{mixinName}} {
|
||
|
background: url('{{{sprite}}}') no-repeat;
|
||
|
}
|
||
|
|
||
|
{{#hasCommon}}.{{commonName}} {
|
||
|
@include {{mixinName}};
|
||
|
}
|
||
|
|
||
|
{{/hasCommon}}{{/hasMixin}}{{^hasMixin}}{{#hasCommon}}.{{/hasCommon}}{{^hasCommon}}%{{/hasCommon}}{{commonName}} {
|
||
|
background: url('{{{sprite}}}') no-repeat;
|
||
|
}
|
||
|
|
||
|
{{/hasMixin}}{{#shapes}}{{#selector.shape}}{{expression}}{{^last}},
|
||
|
{{/last}}{{/selector.shape}} {
|
||
|
{{^hasCommon}}{{#hasMixin}}@include {{mixinName}};{{/hasMixin}}{{^hasMixin}}@extend %{{commonName}};{{/hasMixin}}
|
||
|
{{/hasCommon}}background-position: {{position.relative.xy}};
|
||
|
}
|
||
|
|
||
|
{{/shapes}}
|