From f190a409737729905fa6a40d9c5d807d54fc0a60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
Date: Thu, 8 Nov 2012 18:18:26 -0300
Subject: [PATCH artwork 2/2] Style insensitive state of buttons - SL #4172
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
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>
---
gtk3/theme/gtk-widgets.css.em | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 6664a6a..2896e15 100644
a
|
b
|
GtkLabel, GtkLabel:insensitive { |
174 | 174 | background-color: @white; |
175 | 175 | } |
176 | 176 | |
| 177 | .button:insensitive { |
| 178 | background-color: transparent; |
| 179 | } |
| 180 | |
177 | 181 | .button:active:focused { |
178 | 182 | color: @black; |
179 | 183 | border-color: @button_grey; |