Fix preview when theming changes invertion of icons

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-01-04 17:36:24 +01:00
parent e4f9c75a05
commit 9b668d01f5
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View file

@ -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 */