[gnome-themes-standard] osd: don't use white when GtkMenuButton is used on an OSD toolbar
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] osd: don't use white when GtkMenuButton is used on an OSD toolbar
- Date: Wed, 10 Oct 2012 21:48:51 +0000 (UTC)
commit a22a49574b47d7ffdf0a5c4ff1b829b9f7053f52
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Oct 10 17:46:13 2012 -0400
osd: don't use white when GtkMenuButton is used on an OSD toolbar
https://bugzilla.gnome.org/show_bug.cgi?id=685916
themes/Adwaita/gtk-3.0/gtk-widgets.css | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 14407bc..7890cd8 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2700,7 +2700,8 @@ GtkOverlay.osd {
}
.osd .button:active,
-.osd .button:active:hover {
+.osd .button:active:hover,
+.osd GtkMenuButton.button:active {
background-image: linear-gradient(to bottom,
@osd_button_bg_active_a,
@osd_button_bg_active_b 68%,
@@ -2708,6 +2709,16 @@ GtkOverlay.osd {
);
}
+.osd GtkMenuButton.button:active {
+ background-color: transparent;
+ border-color: @osd_button_border;
+}
+
+.osd GtkMenuButton.button *:active {
+ color: @osd_button_fg_active;
+ text-shadow: 0 -1px @osd_button_shadow;
+}
+
.osd.toolbar {
color: @osd_fg;
text-shadow: 0 1px @osd_text_shadow;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]