mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
* initial work * new client: working navigation and tasks showing up * finish header menu and add avatar component * fix sprites in new client * initial header version * initial styling for top menu * more progress on the header menu * almost complete menu and avatar * correctly apply active class for /social and /help * fix header colors and simplify css * switch from Roboto to native fonts * remove small avatar and add viewport * fixes * fix user menu with and progress bars * fix avatar rendeting * move bars colors to theme * add site overrides * fix tests * shrinkwrap * fix sprites path * another try at fixing the sprites path * another try at fixing the sprites path
16 lines
454 B
Handlebars
16 lines
454 B
Handlebars
{{#sprites}}
|
|
.{{name}} {
|
|
background-image: url(/static/sprites/{{{escaped_image}}});
|
|
background-position: {{px.offset_x}} {{px.offset_y}};
|
|
width: {{px.width}};
|
|
height: {{px.height}};
|
|
}
|
|
{{#if custom}}
|
|
.customize-option.{{name}} {
|
|
background-image: url(/static/sprites/{{{escaped_image}}});
|
|
background-position: {{custom.px.offset_x}} {{custom.px.offset_y}};
|
|
width: {{custom.px.width}};
|
|
height: {{custom.px.height}};
|
|
}
|
|
{{/if}}
|
|
{{/sprites}}
|