web-apps/apps/common/main/resources/img/toolbar/1x/.css.handlebars

25 lines
619 B
Handlebars

{{#spritesheet}}
.btn {
&.active, &:active {
&:not(:disabled):not(.disabled) {
.toolbar__icon {
background-position-x: var(--button-small-active-icon-offset-x, 0);
}
}
}
}
.menu__icon {
.no-checkmark.checked & {
background-position-x: @menu-icon-item-checked-offset-x;
}
}
.toolbar__icon, .menu__icon {
background-image: url(resources/{{{escaped_image}}});
}
{{/spritesheet}}
{{#sprites}}
{{#parselang name}}.{{name}}{{/parselang}} {
background-position: var(--button-small-normal-icon-offset-x, 0) {{px.offset_y}};
}
{{/sprites}}