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

38 lines
1 KiB
Handlebars
Raw Normal View History

{{#spritesheet}}
.btn {
&.x-huge {
&.active, &:active {
&:not(:disabled):not(.disabled) {
.toolbar__icon {
2021-02-16 07:21:22 +00:00
background-position-x: 0;
2021-02-17 10:41:33 +00:00
background-position-x: var(--button-xhuge-active-icon-offset-x,0);
}
}
}
}
&.active, &:active {
&:not(:disabled):not(.disabled) {
.toolbar__icon.toolbar__icon-big {
2021-02-16 07:21:22 +00:00
background-position-x: 0;
2021-02-17 10:41:33 +00:00
background-position-x: var(--button-xhuge-active-icon-offset-x,0);
}
}
}
}
.x-huge .toolbar__icon {
background-image: url(resources/{{{escaped_image}}});
}
.toolbar__icon.toolbar__icon-big {
background-image: var(--big-icon-background-image);
}
{{/spritesheet}}
{{#sprites}}
{{#parselang name}}.x-huge .{{name}}{{/parselang}},
.toolbar__icon-big.{{name}}
{
2021-02-16 07:21:22 +00:00
background-position: 0 {{px.offset_y}};
2021-02-17 21:27:58 +00:00
background-position: var(--button-xhuge-normal-icon-offset-x,0) {{px.offset_y}};
}
{{/sprites}}