[gnome-themes-standard] buttons: fix shadow for suggested-action buttons
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] buttons: fix shadow for suggested-action buttons
- Date: Wed, 23 Jan 2013 00:08:48 +0000 (UTC)
commit 942c32e8c84007c4dc4d2c52674647108b217d9f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jan 22 19:08:27 2013 -0500
buttons: fix shadow for suggested-action buttons
themes/Adwaita/gtk-3.0/gtk-widgets.css | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 89d639e..e285d09 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2956,8 +2956,6 @@ GtkProgressBar.osd.progressbar {
border-width: 1px;
color: @suggested_action_button_fg;
-
- text-shadow: 0 -1px @suggested_action_button_shadow;
}
.toolbar .suggested-action.button:hover,
@@ -2985,16 +2983,24 @@ GtkProgressBar.osd.progressbar {
border-color: @unfocused_borders;
}
+.toolbar .suggested-action.button *,
+.suggested-action.button * {
+ text-shadow: 0 1px @suggested_action_button_shadow;
+ icon-shadow: 0 1px @suggested_action_button_shadow;
+}
+
.toolbar .suggested-action.button *:active,
.toolbar .suggested-action.button *:hover:active,
.suggested-action.button *:active,
.suggested-action.button *:hover:active {
- text-shadow: 0 -1px shade(@suggested_action_button_shadow, 1.15);
+ text-shadow: 0 1px shade(@suggested_action_button_shadow, 1.15);
+ icon-shadow: 0 1px shade(@suggested_action_button_shadow, 1.15);
}
.toolbar .suggested-action.button *:backdrop,
.suggested-action.button *:backdrop {
text-shadow: none;
+ icon-shadow: none;
}
/**************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]