[gtk+] High Contrast: menubar separator



commit e942aee13d8eec6c9f5bda06281b1e6e529b22cf
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Mar 17 13:00:32 2016 +0100

    High Contrast: menubar separator
    
    - set menubar apart form the window content
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763777

 gtk/theme/HighContrast/_common.scss              |    1 +
 gtk/theme/HighContrast/gtk-contained-inverse.css |    3 ++-
 gtk/theme/HighContrast/gtk-contained.css         |    3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 6fb9458..63fe601 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -1441,6 +1441,7 @@ treeview.view.progressbar { //Progressbar in treeview cells
 menubar,
 .menubar {
   padding: 0px;
+  box-shadow: inset 0 -1px $borders_color;
   & > menuitem {
     padding: 4px 8px;
     &:hover { //Seems like it :hover even with keyboard focus
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css 
b/gtk/theme/HighContrast/gtk-contained-inverse.css
index 9b7c973..65db2ef 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -1564,7 +1564,8 @@ treeview.view.progressbar {
  *********/
 menubar,
 .menubar {
-  padding: 0px; }
+  padding: 0px;
+  box-shadow: inset 0 -1px gray; }
   menubar > menuitem,
   .menubar > menuitem {
     padding: 4px 8px; }
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index 95e54c1..b349f77 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -1568,7 +1568,8 @@ treeview.view.progressbar {
  *********/
 menubar,
 .menubar {
-  padding: 0px; }
+  padding: 0px;
+  box-shadow: inset 0 -1px gray; }
   menubar > menuitem,
   .menubar > menuitem {
     padding: 4px 8px; }


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