[gnome-themes-standard] Don't inset toolbars



commit fa9b44393636a49f64093f30411560d0dd241274
Author: William Jon McCann <william jon mccann gmail com>
Date:   Tue Oct 1 11:09:23 2013 -0400

    Don't inset toolbars
    
    Now that we're using inset tab bars the inset toolbars don't fit
    in very well.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707922

 themes/Adwaita/gtk-3.0/gtk-main-dark.css           |    3 ---
 themes/Adwaita/gtk-3.0/gtk-main.css                |    3 ---
 themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css |   11 -----------
 themes/Adwaita/gtk-3.0/gtk-widgets.css             |    9 ++-------
 4 files changed, 2 insertions(+), 24 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-dark.css b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
index 4ab2b27..db9eba4 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
@@ -112,9 +112,6 @@
 @define-color toolbar_gradient_b shade(@theme_bg_color, 0.8);
 @define-color toolbar_gradient_c shade(@theme_bg_color, 0.86);
 
- define-color toolbar_border_top shade(@borders, 0.95);
- define-color toolbar_border_bottom shade(@borders, 1.2);
-
 @define-color toolbar_active_button_color #222222;
 @define-color toolbar_button_prelight alpha(black, 0.3);
 @define-color toolbar_separator shade(@internal_element_color, 0.90);
diff --git a/themes/Adwaita/gtk-3.0/gtk-main.css b/themes/Adwaita/gtk-3.0/gtk-main.css
index 6c53f67..c910608 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main.css
@@ -112,9 +112,6 @@
 @define-color toolbar_gradient_b shade(@borders, 1.28);
 @define-color toolbar_gradient_c shade(@borders, 1.34);
 
- define-color toolbar_border_top shade(@borders, 0.9);
- define-color toolbar_border_bottom shade(@borders, 1.2);
-
 @define-color toolbar_active_button_color #909081;
 @define-color toolbar_button_prelight alpha(white, 0.4);
 @define-color toolbar_separator @borders;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css 
b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
index 8aaeafd..82c468b 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
@@ -203,22 +203,12 @@ GtkComboBox.combobox-entry .button:insensitive:backdrop,
 .primary-toolbar .toolbar,
 .primary-toolbar.toolbar,
 .inline-toolbar.toolbar  {
-    background-image: linear-gradient(to bottom,
-                                      @toolbar_gradient_a,
-                                      @toolbar_gradient_b 20%,
-                                      @toolbar_gradient_c
-                                      );
     background-color: transparent;
 }
 
 .primary-toolbar .toolbar.vertical,
 .primary-toolbar.toolbar.vertical,
 .inline-toolbar.toolbar.vertical {
-    background-image: linear-gradient(to right,
-                                      @toolbar_gradient_a,
-                                      @toolbar_gradient_b 20%,
-                                      @toolbar_gradient_c
-                                      );
     background-color: transparent;
 }
 
@@ -227,7 +217,6 @@ GtkComboBox.combobox-entry .button:insensitive:backdrop,
 .primary-toolbar.toolbar:backdrop,
 .inline-toolbar.toolbar:backdrop  {
     background-image: none;
-    background-color: @unfocused_dark_bg;
 }
 
 .scale.trough {
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index fa1352a..03bd89b 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2536,15 +2536,10 @@ GtkCheckButton:selected:focus {
  */
 .primary-toolbar .toolbar,
 .primary-toolbar.toolbar {
-    border-width: 1px 0;
+    border-width: 0;
     border-style: solid;
-    border-top-color: @toolbar_border_top;
-    border-bottom-color: @toolbar_border_bottom;
-
     -GtkWidget-window-dragging: true;
     -GtkToolbar-button-relief: normal;
-    box-shadow: inset 0 3px alpha(black, 0.03), inset 0 2px alpha(black, 0.03), inset 0 1px alpha(black, 
0.03);
-    text-shadow: 0 1px @primary_toolbar_button_text_shadow;
     padding-top: 3px;
     padding-bottom: 3px;
 }
@@ -2560,7 +2555,7 @@ GtkCheckButton:selected:focus {
 
 .primary-toolbar .toolbar:backdrop,
 .primary-toolbar.toolbar:backdrop {
-    border-color: @unfocused_borders;
+    border-color: shade(@unfocused_borders, 1.3);
     box-shadow: none;
     text-shadow: none;
 }


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