[gnome-themes-standard] Tone down menu separators.



commit 97a8da20563c8eb2b5d445542724b9e0f8916755
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Aug 8 17:17:02 2011 +0200

    Tone down menu separators.

 themes/Adwaita/gtk-3.0/gtk-dark.css    |    1 +
 themes/Adwaita/gtk-3.0/gtk-widgets.css |    6 ++++--
 themes/Adwaita/gtk-3.0/gtk.css         |    1 +
 3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index c0a8fe2..959c9f1 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -11,6 +11,7 @@
 @define-color menu_fg_color @theme_text_color;
 
 @define-color menu_combobox_border darker (@theme_selected_bg_color);
+ define-color menu_separator mix (@menu_fg_color, @menu_bg_color, 0.95);
 
 @define-color theme_tooltip_bg_color #000000;
 @define-color theme_tooltip_fg_color #eeeeee;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 745a6ce..cede11e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -439,6 +439,8 @@ GtkScrolledWindow.frame {
     background-image: none;
 }
 
+/* FIXME: background behind tabs -- slight gradient continuing from menubar */
+
 /**************
  * ComboBoxes *
  **************/
@@ -595,7 +597,7 @@ GtkTreeMenu .menuitem * {
 				     left top, left bottom,
 				     from (@theme_bg_color),
 				     color-stop (0.45, shade (@theme_bg_color, 0.97)),
-				     to (shade (@theme_bg_color, 0.99)));
+				     to (@theme_bg_color));
     border-width: 0;
     border-style: none;
     padding: 4;
@@ -653,7 +655,7 @@ GtkTreeMenu .menuitem * {
 }
 
 .menuitem.separator {
-    border-color: mix (@menu_fg_color, @menu_bg_color, 0.8);
+    border-color: @menu_separator;
     border-style: solid;
     border-width: 1;
 
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 45e0258..f241023 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -22,6 +22,7 @@
 @define-color menu_fg_color @theme_fg_color;
 @define-color menu_controls_color shade (@theme_fg_color, 0.9);
 @define-color menu_combobox_border #3277bf;
+ define-color menu_separator mix (@menu_fg_color, @menu_bg_color, 0.9);
 
 @define-color link_color #4a90d9;
 @define-color frame_color #8a9580;



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