diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-10 13:10:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 13:10:20 +0100 |
commit | 9c017084e50a20591e3b5a5c2842101a540e7fb2 (patch) | |
tree | 0a8489fb9b581131f03b34adb73513f06b1807fa /apps/theming | |
parent | 4f561e2bcab6f76d2a6696aa43bc43d99dac0108 (diff) | |
parent | 927626cbaaa0da8be0800b6a635783aa3a8ac4ac (diff) | |
download | nextcloud-server-9c017084e50a20591e3b5a5c2842101a540e7fb2.tar.gz nextcloud-server-9c017084e50a20591e3b5a5c2842101a540e7fb2.zip |
Merge pull request #7767 from nextcloud/fix-theming-regression
Fix appmenu svg double invert
Diffstat (limited to 'apps/theming')
-rw-r--r-- | apps/theming/css/theming.scss | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss index cabcd5a2e0e..63d466542e1 100644 --- a/apps/theming/css/theming.scss +++ b/apps/theming/css/theming.scss @@ -20,10 +20,12 @@ } @if (luma($color-primary) > 0.6) { - #appmenu img, - #appmenu image { + #appmenu:not(.inverted) svg { filter: invert(1); } + #appmenu.inverted svg { + filter: none; + } .searchbox input[type="search"] { background: transparent url('../../../core/img/actions/search.svg') no-repeat 6px center; } @@ -67,10 +69,12 @@ } } } @else { - #appmenu img, - #appmenu image { - filter: none; - } + #appmenu:not(.inverted) svg { + filter: none; + } + #appmenu.inverted svg { + filter: invert(1); + } } /* Colorized svg images */ |