Add support for prelight/dim effects on images

pull/63/head
Satyajit Sahoo 2013-09-10 15:09:02 +05:30
parent bfbfe3b005
commit c52747ce38
1 changed files with 9 additions and 0 deletions

View File

@ -88,6 +88,15 @@ GtkClutterOffscreen {
color: mix(@theme_fg_color, @theme_bg_color, 0.5); color: mix(@theme_fg_color, @theme_bg_color, 0.5);
} }
/* apply effects to insensitive and prelit images */
*:insensitive {
-gtk-image-effect: dim;
}
*:hover {
-gtk-image-effect: highlight;
}
.gtkstyle-fallback { .gtkstyle-fallback {
background-color: @theme_bg_color; background-color: @theme_bg_color;
color: @theme_fg_color; color: @theme_fg_color;