diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-08-18 15:27:16 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-08-19 17:07:29 +0200 |
commit | d288a11cee23ea5f251264b13aa39dd528811e9b (patch) | |
tree | a1a7386cb05e826870c2c325fd689ff81d494dd0 /apps/dashboard | |
parent | 551d435f898d764ec190fc445ca45c0c0eb4fdb7 (diff) | |
download | nextcloud-server-d288a11cee23ea5f251264b13aa39dd528811e9b.tar.gz nextcloud-server-d288a11cee23ea5f251264b13aa39dd528811e9b.zip |
Only invert header buttons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard')
-rw-r--r-- | apps/dashboard/css/dashboard.scss | 8 | ||||
-rw-r--r-- | apps/dashboard/src/App.vue | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/apps/dashboard/css/dashboard.scss b/apps/dashboard/css/dashboard.scss index a320b3e3c99..9edf00a2420 100644 --- a/apps/dashboard/css/dashboard.scss +++ b/apps/dashboard/css/dashboard.scss @@ -40,7 +40,7 @@ body.dashboard-inverted:not(.dashboard-dark) { filter: invert(0); } #appmenu .icon-more-white, - .header-right > div:not(#settings) > * { + .header-right > div:not(#settings) > *:first-child { filter: invert(1) hue-rotate(180deg); } } @@ -62,10 +62,10 @@ body.dashboard-dark:not(.dashboard-inverted) { color: #000; } #appmenu svg { - filter: invert(1) !important; + filter: invert(1) hue-rotate(180deg) !important; } #appmenu .icon-more-white, - .header-right > div:not(#settings) > * { - filter: invert(1) hue-rotate(180deg); + .header-right > div:not(#settings) > *:first-child { + filter: invert(1) hue-rotate(180deg) !important; } } diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue index a2cccfce3ff..8a5daf904c4 100644 --- a/apps/dashboard/src/App.vue +++ b/apps/dashboard/src/App.vue @@ -275,6 +275,7 @@ export default { this.updateGlobalStyles() }, updateGlobalStyles() { + document.body.setAttribute('data-dashboard-background', this.background) if (window.OCA.Theming.inverted) { document.body.classList.add('dashboard-inverted') } |