theme: app icon helper tweaks

Shell cannot composite multiple shadows, simplify to only use one.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/168
This commit is contained in:
Jakub Steiner 2019-07-18 05:03:08 +02:00
parent b82b553b9e
commit 43443d08ae

View File

@ -624,16 +624,12 @@ StScrollBar {
*************/ *************/
/* Outline for low res icons */ /* Outline for low res icons */
.lowres-icon { .lowres-icon {
icon-shadow: 0 -1px rgba(0,0,0,0.05), icon-shadow: 0 1px 2px rgba(0,0,0,0.3);
1px 0 rgba(0,0,0,0.1),
0 1px rgba(0,0,0,0.3),
-1px 0 rgba(0,0,0,0.1);
} }
/* Drapshadow for large icons */ /* Drapshadow for large icons */
.icon-dropshadow { .icon-dropshadow {
icon-shadow: 0 2px 12px rgba(0,0,0,0.1), icon-shadow: 0 1px 2px rgba(0,0,0,0.4);
0 1px 2px rgba(0,0,0,0.5);
} }
/* OSD */ /* OSD */