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