2019-11-21 07:58:05 +00:00
|
|
|
{{#spritesheet}}
|
|
|
|
.btn {
|
|
|
|
&.active, &:active {
|
|
|
|
&:not(:disabled):not(.disabled) {
|
|
|
|
.toolbar__icon {
|
2021-05-06 14:47:28 +00:00
|
|
|
@btn-active-icon-offset: -20px;
|
2021-02-16 07:21:22 +00:00
|
|
|
background-position-x: @btn-active-icon-offset;
|
|
|
|
|
2020-12-25 21:49:09 +00:00
|
|
|
background-position-x: var(--button-small-active-icon-offset-x, 0);
|
2019-11-21 07:58:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.menu__icon {
|
|
|
|
.no-checkmark.checked & {
|
2021-05-06 14:47:28 +00:00
|
|
|
background-position-x: -20px;
|
2021-01-18 20:27:47 +00:00
|
|
|
background-position-x: @menu-icon-item-checked-offset-x;
|
2019-11-21 07:58:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.toolbar__icon, .menu__icon {
|
|
|
|
background-image: url(resources/{{{escaped_image}}});
|
|
|
|
}
|
|
|
|
{{/spritesheet}}
|
|
|
|
{{#sprites}}
|
|
|
|
{{#parselang name}}.{{name}}{{/parselang}} {
|
2021-02-16 07:21:22 +00:00
|
|
|
@btn-icon-offset: 0;
|
|
|
|
background-position: @btn-icon-offset {{px.offset_y}};
|
|
|
|
|
2020-12-25 21:49:09 +00:00
|
|
|
background-position: var(--button-small-normal-icon-offset-x, 0) {{px.offset_y}};
|
2019-11-21 07:58:05 +00:00
|
|
|
}
|
|
|
|
{{/sprites}}
|