Skip to content
Snippets Groups Projects
Unverified Commit d288a11c authored by Julius Härtl's avatar Julius Härtl
Browse files

Only invert header buttons


Signed-off-by: default avatarJulius Härtl <jus@bitgrid.net>
parent 551d435f
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ body.dashboard-inverted:not(.dashboard-dark) { ...@@ -40,7 +40,7 @@ body.dashboard-inverted:not(.dashboard-dark) {
filter: invert(0); filter: invert(0);
} }
#appmenu .icon-more-white, #appmenu .icon-more-white,
.header-right > div:not(#settings) > * { .header-right > div:not(#settings) > *:first-child {
filter: invert(1) hue-rotate(180deg); filter: invert(1) hue-rotate(180deg);
} }
} }
...@@ -62,10 +62,10 @@ body.dashboard-dark:not(.dashboard-inverted) { ...@@ -62,10 +62,10 @@ body.dashboard-dark:not(.dashboard-inverted) {
color: #000; color: #000;
} }
#appmenu svg { #appmenu svg {
filter: invert(1) !important; filter: invert(1) hue-rotate(180deg) !important;
} }
#appmenu .icon-more-white, #appmenu .icon-more-white,
.header-right > div:not(#settings) > * { .header-right > div:not(#settings) > *:first-child {
filter: invert(1) hue-rotate(180deg); filter: invert(1) hue-rotate(180deg) !important;
} }
} }
...@@ -275,6 +275,7 @@ export default { ...@@ -275,6 +275,7 @@ export default {
this.updateGlobalStyles() this.updateGlobalStyles()
}, },
updateGlobalStyles() { updateGlobalStyles() {
document.body.setAttribute('data-dashboard-background', this.background)
if (window.OCA.Theming.inverted) { if (window.OCA.Theming.inverted) {
document.body.classList.add('dashboard-inverted') document.body.classList.add('dashboard-inverted')
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment