summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-04 17:36:24 +0100
committerJulius Härtl <jus@bitgrid.net>2018-01-08 10:32:25 +0100
commit9b668d01f5acb62ca893b39a448f36aecd6d6841 (patch)
tree1c7880c80149041397b7ad989a0e6653e0f148bc /apps/theming
parente4f9c75a050a861550885af0eb33ead9e8778859 (diff)
downloadnextcloud-server-9b668d01f5acb62ca893b39a448f36aecd6d6841.tar.gz
nextcloud-server-9b668d01f5acb62ca893b39a448f36aecd6d6841.zip
Fix preview when theming changes invertion of icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/css/theming.scss9
1 files changed, 9 insertions, 0 deletions
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 */