[gtk+/gtk-3-14] set background for menubar



commit e4e60b251e0f048ad8f8ce5b401cd8f3cedda485
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri May 29 15:43:13 2015 +0200

    set background for menubar
    
    - only an issue in 3.14
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750011

 gtk/resources/theme/Adwaita/_common.scss           |    3 ++-
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    3 ++-
 gtk/resources/theme/Adwaita/gtk-contained.css      |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index a84c46a..aa5b1e7 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1389,7 +1389,8 @@ column-header.button.dnd { // for treeview-like derive widgets
   -GtkWidget-window-dragging: true;
   padding: 0px;
   box-shadow: inset 0 -1px transparentize(black, 0.9);
-  &:backdrop { background-color: $backdrop_bg_color; }
+  background-color: $bg_color;
+  &:backdrop { background-color: $backdrop_bg_color; }  
   & > .menuitem {
     padding: 4px 8px;
     &:hover { //Seems like it :hover even with keyboard focus
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 674eb25..e0f10ad 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -2208,7 +2208,8 @@ GtkCalendar.header column-header .button.titlebutton, column-header .button:hove
 .menubar {
   -GtkWidget-window-dragging: true;
   padding: 0px;
-  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
+  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1);
+  background-color: #393f3f; }
   .menubar:backdrop {
     background-color: #393f3f; }
   .menubar > .menuitem {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index fed31c9..d8e7cbb 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -2205,7 +2205,8 @@ GtkCalendar.header column-header .button.titlebutton, column-header .button:hove
 .menubar {
   -GtkWidget-window-dragging: true;
   padding: 0px;
-  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
+  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1);
+  background-color: #ededed; }
   .menubar:backdrop {
     background-color: #ededed; }
   .menubar > .menuitem {


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