From 9b668d01f5acb62ca893b39a448f36aecd6d6841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 4 Jan 2018 17:36:24 +0100 Subject: [PATCH] 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(+) diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss index 58bc1f5464..cabcd5a2e0 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 */