[gnome-themes-standard] gtk3: add support for prelight/dim effects on images
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] gtk3: add support for prelight/dim effects on images
- Date: Tue, 20 Aug 2013 01:04:42 +0000 (UTC)
commit c9cbbaf3fb48eeb7b83dd4f2a87536c285fc5025
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Aug 4 11:44:42 2013 +0200
gtk3: add support for prelight/dim effects on images
themes/Adwaita/gtk-3.0/gtk-widgets.css | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index e750982..4063688 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -100,6 +100,15 @@ GtkClutterOffscreen {
color: @unfocused_insensitive_fg_color;
}
+/* Apply effects to insensitive and prelit images */
+*:insensitive {
+ -gtk-image-effect: dim;
+}
+
+*:hover {
+ -gtk-image-effect: highlight;
+}
+
.gtkstyle-fallback {
background-color: @theme_bg_color;
color: @theme_fg_color;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]