[stylesheets] corrected dark theme icons
This commit is contained in:
parent
e25e4a4cad
commit
590d794a4f
|
@ -23,9 +23,6 @@
|
||||||
{{/spritesheet}}
|
{{/spritesheet}}
|
||||||
{{#sprites}}
|
{{#sprites}}
|
||||||
{{#parselang name}}.{{name}}{{/parselang}} {
|
{{#parselang name}}.{{name}}{{/parselang}} {
|
||||||
background-position: {{px.offset_x}} {{px.offset_y}};
|
|
||||||
|
|
||||||
--bgX: {{px.offset_x}};
|
|
||||||
background-position: var(--bgX) {{px.offset_y}};
|
background-position: var(--bgX) {{px.offset_y}};
|
||||||
}
|
}
|
||||||
{{/sprites}}
|
{{/sprites}}
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
{{/spritesheet}}
|
{{/spritesheet}}
|
||||||
{{#sprites}}
|
{{#sprites}}
|
||||||
{{#parselang name}}.x-huge .{{name}}{{/parselang}} {
|
{{#parselang name}}.x-huge .{{name}}{{/parselang}} {
|
||||||
background-position: {{px.offset_x}} {{px.offset_y}};
|
background-position: var(--button-big-theme-icon-offset,0) {{px.offset_y}};
|
||||||
|
|
||||||
--bgX: {{px.offset_x}};
|
|
||||||
background-position: var(--bgX) {{px.offset_y}};
|
|
||||||
}
|
}
|
||||||
{{/sprites}}
|
{{/sprites}}
|
||||||
|
|
|
@ -85,6 +85,15 @@
|
||||||
*/
|
*/
|
||||||
:root {
|
:root {
|
||||||
--bgX: 0px;
|
--bgX: 0px;
|
||||||
|
|
||||||
|
@button-big-icon-width: 28px;
|
||||||
|
@button-big-icon-offset: -@button-big-icon-width;
|
||||||
|
--button-big-icon-width: @button-big-icon-width;
|
||||||
|
|
||||||
|
&.theme-dark {
|
||||||
|
--bgX: -20px;
|
||||||
|
--button-big-theme-icon-offset: @button-big-icon-offset;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-normal-icon(@icon-class, @index, @icon-size) {
|
.button-normal-icon(@icon-class, @index, @icon-size) {
|
||||||
|
|
Loading…
Reference in a new issue