From 9b668d01f5acb62ca893b39a448f36aecd6d6841 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Thu, 4 Jan 2018 17:36:24 +0100 Subject: Fix preview when theming changes invertion of icons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/theming/css/theming.scss | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/theming/css') diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss index 58bc1f5464e..cabcd5a2e0e 100644 --- a/apps/theming/css/theming.scss +++ b/apps/theming/css/theming.scss @@ -20,6 +20,10 @@ } @if (luma($color-primary) > 0.6) { + #appmenu img, + #appmenu image { + filter: invert(1); + } .searchbox input[type="search"] { background: transparent url('../../../core/img/actions/search.svg') no-repeat 6px center; } @@ -62,6 +66,11 @@ background-color: nc-darken($color-primary-element, 30%) !important; } } +} @else { + #appmenu img, + #appmenu image { + filter: none; + } } /* Colorized svg images */ -- cgit v1.2.3