[gnome-themes-standard] Fix GeditStatusMenuButton style.



commit 2a33ae68119857d440c09f72e1abd502c419dd5a
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date:   Fri Sep 20 12:55:03 2013 +0200

    Fix GeditStatusMenuButton style.

 themes/Adwaita/gtk-3.0/gnome-applications.css |   33 ++++++++++++++++---------
 1 files changed, 21 insertions(+), 12 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index 6c8367d..a06f32a 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -171,16 +171,16 @@ GeditWindow .notebook tab {
     border-width: 0;
 }
 
-GeditStatusComboBox .button {
+GeditStatusMenuButton {
     text-shadow: none;
 }
 
-GeditStatusComboBox .button:backdrop,
-GeditStatusComboBox .button:backdrop:hover,
-GeditStatusComboBox .button,
-GeditStatusComboBox .button:hover,
-GeditStatusComboBox .button:active,
-GeditStatusComboBox .button:active:hover {
+GeditStatusMenuButton.button:backdrop,
+GeditStatusMenuButton.button:backdrop:hover,
+GeditStatusMenuButton.button,
+GeditStatusMenuButton.button:hover,
+GeditStatusMenuButton.button:active,
+GeditStatusMenuButton.button:active:hover {
     border-image: none;
     border-style: solid;
     border-width: 0 1px;
@@ -188,14 +188,23 @@ GeditStatusComboBox .button:active:hover {
     padding: 1px 8px 2px 4px;
 }
 
-GeditStatusComboBox .button:hover,
-GeditStatusComboBox .button:active,
-GeditStatusComboBox .button:active:hover {
+GeditStatusMenuButton.button:hover,
+GeditStatusMenuButton.button:active,
+GeditStatusMenuButton.button:active:hover {
     border-color: @borders;
 }
 
-GeditStatusComboBox .button:backdrop,
-GeditStatusComboBox .button:backdrop:hover {
+GeditStatusMenuButton.button:active {
+    background-image: linear-gradient(to bottom,
+                                      @borders,
+                                      shade(@theme_bg_color, 0.95));
+    background-color: transparent;
+    color: @theme_selected_fg_color;
+    text-shadow: 0 1px @button_text_shadow;
+}
+
+GeditStatusMenuButton.button:backdrop,
+GeditStatusMenuButton.button:backdrop:hover {
     border-color: @unfocused_borders;
 }
 


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