menu: Only invert icons located under /img/icons/

refs #3181
This commit is contained in:
Johannes Meyer 2018-04-06 09:17:51 +02:00
parent b24d6f45e6
commit b8e406fd95
1 changed files with 9 additions and 4 deletions

View File

@ -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 {