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 Manuel Quiñones <manuq@laptop.org>2012-11-14 18:02:23 (GMT)
commitf6dcc2b715953c9011c561a1625ff89f4c3e37b3 (patch)
tree1c73c0e8d54bd5e305ba0ee0c37447e9150280be
parenta3f93f33b50b1eefa917957dacfff5a8f9093e56 (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>
-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 6664a6a..2896e15 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;