mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
27 lines
843 B
Handlebars
27 lines
843 B
Handlebars
{{#spritesheet}}
|
|
.btn {
|
|
&.active, &:active {
|
|
&:not(:disabled):not(.disabled) {
|
|
.toolbar__icon {
|
|
@btn-active-icon-offset: -24px;
|
|
background-position-x: @btn-active-icon-offset;
|
|
|
|
background-position-x: var(--button-small-active-icon-offset-x, 0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.toolbar__icon, .menu__icon {
|
|
background-image: url(resources/{{{escaped_image}}});
|
|
background-image: var(--sprite-button-{{#spritepostfix}}{{/spritepostfix}}, url(resources/{{{escaped_image}}}));
|
|
}
|
|
{{/spritesheet}}
|
|
{{#sprites}}
|
|
{{#extracls}}{{/extracls}}{{#parselang name}}.{{name}}{{/parselang}} {
|
|
@btn-icon-offset: 0;
|
|
background-position: @btn-icon-offset {{px.offset_y}};
|
|
|
|
background-position: var(--button-small-normal-icon-offset-x, 0) {{px.offset_y}};
|
|
}
|
|
{{/sprites}}
|