Only invert header buttons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
551d435f89
commit
d288a11cee
|
@ -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) {
|
||||||
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 {
|
||||||
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')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue