From b8e406fd9511a25845f8558365d18d38a090532b Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 6 Apr 2018 09:17:51 +0200 Subject: [PATCH] menu: Only invert icons located under /img/icons/ refs #3181 --- public/css/icinga/menu.less | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/public/css/icinga/menu.less b/public/css/icinga/menu.less index 5942c7dfa..9083b65d8 100644 --- a/public/css/icinga/menu.less +++ b/public/css/icinga/menu.less @@ -171,10 +171,15 @@ line-height: 1; margin: 0 0.5em -.05em 0.25em; width: 1em; - -webkit-filter: invert(100%); - -moz-filter: invert(100%); - -ms-filter: invert(100%); - filter: invert(100%); +} + +#menu img[src*="/img/icons/"] { + &:not([src$="tux.png"]):not([src$="win.png"]):not([src$="_white.png"]) { + -webkit-filter: invert(100%); + -moz-filter: invert(100%); + -ms-filter: invert(100%); + filter: invert(100%); + } } .nav-item:hover img.icon {