[gtk+] Adwaita: comment out the header-bar separator



commit b4e7ada6ac52b9930ba8d14a5f4d5d3a009cf163
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Aug 6 13:33:17 2014 +0200

    Adwaita: comment out the header-bar separator

 gtk/resources/theme/Adwaita/_common.scss           |    4 +++
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |   21 +++++++++++++++----
 gtk/resources/theme/Adwaita/gtk-contained.css      |   21 +++++++++++++++----
 3 files changed, 36 insertions(+), 10 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index d8fb847..e9763a9 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -852,6 +852,9 @@ GtkComboBox {
   .header-bar-separator,
   & > GtkBox > .separator.vertical {
     -GtkWidget-wide-separators: true;
+    -GtkWidget-separator-width: 0;
+    /*
+    -GtkWidget-wide-separators: true;
     -GtkWidget-separator-width: 1px;
     border-width: 0 1px;
     border-image: linear-gradient(to bottom,
@@ -866,6 +869,7 @@ GtkComboBox {
                                                    0.5))
                     0 1 / 1px 1px;  //FIXME use a proper color
     }
+    */
   }
   &.selection-mode {
     color: darken($selected_bg_color, 15%);
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 09f8169..6c106eb 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -919,13 +919,24 @@ GtkComboBox {
   .header-bar .header-bar-separator,
   .header-bar > GtkBox > .separator.vertical {
     -GtkWidget-wide-separators: true;
+    -GtkWidget-separator-width: 0;
+    /*
+    -GtkWidget-wide-separators: true;
     -GtkWidget-separator-width: 1px;
     border-width: 0 1px;
-    border-image: linear-gradient(to bottom, rgba(28, 31, 31, 0), #1c1f1f 30%, #1c1f1f 70%, rgba(28, 31, 31, 
0) 100%) 0 1/0 1px stretch; }
-    .titlebar .header-bar-separator:backdrop, GtkCalendar.header .header-bar-separator:backdrop, .titlebar > 
GtkBox > .separator.vertical:backdrop, GtkCalendar.header > GtkBox > .separator.vertical:backdrop,
-    .header-bar .header-bar-separator:backdrop,
-    .header-bar > GtkBox > .separator.vertical:backdrop {
-      border-image: linear-gradient(to bottom, rgba(30, 34, 34, 0.5)) 0 1/1px 1px; }
+    border-image: linear-gradient(to bottom,
+                                  transparentize($borders_color,1),
+                                  $borders_color 30%,
+                                  $borders_color 70%,
+                                  transparentize($borders_color,1) 100%)
+                  0 1 / 0 1px stretch; //FIXME use a proper color
+    &:backdrop {
+      border-image: linear-gradient(to bottom,
+                                    transparentize($backdrop_borders_color,
+                                                   0.5))
+                    0 1 / 1px 1px;  //FIXME use a proper color
+    }
+    */ }
   .titlebar.selection-mode, GtkCalendar.selection-mode.header,
   .header-bar.selection-mode {
     color: #14375d;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 31c86d6..2175b41 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -911,13 +911,24 @@ GtkComboBox {
   .header-bar .header-bar-separator,
   .header-bar > GtkBox > .separator.vertical {
     -GtkWidget-wide-separators: true;
+    -GtkWidget-separator-width: 0;
+    /*
+    -GtkWidget-wide-separators: true;
     -GtkWidget-separator-width: 1px;
     border-width: 0 1px;
-    border-image: linear-gradient(to bottom, rgba(161, 161, 161, 0), #a1a1a1 30%, #a1a1a1 70%, rgba(161, 
161, 161, 0) 100%) 0 1/0 1px stretch; }
-    .titlebar .header-bar-separator:backdrop, GtkCalendar.header .header-bar-separator:backdrop, .titlebar > 
GtkBox > .separator.vertical:backdrop, GtkCalendar.header > GtkBox > .separator.vertical:backdrop,
-    .header-bar .header-bar-separator:backdrop,
-    .header-bar > GtkBox > .separator.vertical:backdrop {
-      border-image: linear-gradient(to bottom, rgba(168, 168, 168, 0.5)) 0 1/1px 1px; }
+    border-image: linear-gradient(to bottom,
+                                  transparentize($borders_color,1),
+                                  $borders_color 30%,
+                                  $borders_color 70%,
+                                  transparentize($borders_color,1) 100%)
+                  0 1 / 0 1px stretch; //FIXME use a proper color
+    &:backdrop {
+      border-image: linear-gradient(to bottom,
+                                    transparentize($backdrop_borders_color,
+                                                   0.5))
+                    0 1 / 1px 1px;  //FIXME use a proper color
+    }
+    */ }
   .titlebar.selection-mode, GtkCalendar.selection-mode.header,
   .header-bar.selection-mode {
     color: #256ab1;


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