[gnome-themes-standard] menubutton: fix theming for linked/raised GtkMenuButton



commit 2d5a3cdaa41471c4cbd47415578621ebfce20563
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Aug 9 17:59:34 2012 +0200

    menubutton: fix theming for linked/raised GtkMenuButton
    
    Theming by Lapo Calamandrei

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 7e05645..08ee31b 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1956,6 +1956,37 @@ GtkTreeMenu .menuitem * {
 .toolbar GtkMenuButton.button:active,
 .toolbar GtkMenuButton.button.raised:active,
 GtkMenuButton.button:active,
+.linked GtkMenuButton.button:active,
+.toolbar .linked.raised GtkMenuButton.button:active,
+.toolbar GtkMenuButton.button.linked.raised:active {
+    background-image: none;
+    background-color: @menu_bg_color;
+
+    border-image: none;
+    border-color: @menu_bg_color;
+    border-radius: 4px 4px 0 0;
+}
+
+GtkMenuButton.button *:active,
+.linked GtkMenuButton.button *:active,
+.toolbar .linked.raised GtkMenuButton.button *:active,
+.toolbar GtkMenuButton.button.linked.raised *:active {
+    text-shadow: none;
+    icon-shadow: none;
+}
+
+.linked GtkMenuButton.button:active:last-child,
+.toolbar .linked.raised GtkMenuButton.button:active:last-child,
+.toolbar GtkMenuButton.button.linked.raised:active:last-child {
+    border-top-left-radius: 0;
+}
+
+.linked GtkMenuButton.button:active:first-child,
+.toolbar .linked.raised GtkMenuButton.button:active:first-child,
+.toolbar GtkMenuButton.button.linked.raised:active:first-child {
+    border-top-right-radius: 0;
+}
+
 .button.menuitem.menubar:active {
     background-image: none;
     background-color: @menu_bg_color;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]