Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel QuiƱones <manuq@laptop.org>2012-11-08 21:18:26 (GMT)
committer Ajay Garg <ajay@activitycentral.com>2012-11-23 20:17:37 (GMT)
commit364d0f3f22a92d2b2c5c88cd8d955f7c5e0bbe92 (patch)
tree64dbb0fdec483e4dd184d31700af8693795be65c
parentf5ccdd5d999f688aa26abe365adf12dfce4b8261 (diff)
Style insensitive state of buttons - SL #4172
Do them transparent background so they look insensitive in all cases. Tested in white background like in the Sugar intro window, black background like in the wireless password dialoge, and panel_grey background which is the default activity canvas color. Signed-off-by: Manuel QuiƱones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> Signed-off-by: Ajay Garg <ajay@activitycentral.com>
-rw-r--r--gtk3/theme/gtk-widgets.css.em4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index a8af3a0..334c989 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -174,6 +174,10 @@ GtkLabel, GtkLabel:insensitive {
background-color: @white;
}
+.button:insensitive {
+ background-color: transparent;
+}
+
.button:active:focused {
color: @black;
border-color: @button_grey;