[gtk+] Adwaita: Fix treeview headers



commit 0b7226e96eb5e52b24330a716287dd15de6047cf
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Dec 19 17:34:21 2015 -0500

    Adwaita: Fix treeview headers
    
    The borders went missing on these, at some point.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759567

 gtk/theme/Adwaita/_common.scss           |    4 +---
 gtk/theme/Adwaita/gtk-contained-dark.css |    2 +-
 gtk/theme/Adwaita/gtk-contained.css      |    2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index aa9ce8c..9fd219c 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1428,9 +1428,7 @@ treeview.view {
       }
     }
     & button:last-child,
-    & button:last-child:backdrop, // set :backdrop too or the border will be visibile there
-    &:last-child button,
-    &:last-child button:backdrop { //treeview-like derived widgets in Banshee and Evolution
+    & button:last-child:backdrop {
       border-right-style: none;
     }
   }
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 861a096..60c0bc1 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2040,7 +2040,7 @@ treeview.view {
     treeview.view header button:active {
       color: #eeeeec;
       transition: none; }
-  treeview.view header button:last-child, treeview.view header button:last-child:backdrop, treeview.view 
header:last-child button, treeview.view header:last-child button:backdrop {
+  treeview.view header button:last-child, treeview.view header button:last-child:backdrop {
     border-right-style: none; }
   treeview.view header.button.dnd, treeview.view header button.dnd, treeview.view header.button.dnd:active, 
treeview.view header.button.dnd:selected, treeview.view header.button.dnd:hover {
     transition: none;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index d8c5251..8199fb7 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2046,7 +2046,7 @@ treeview.view {
     treeview.view header button:active {
       color: #2e3436;
       transition: none; }
-  treeview.view header button:last-child, treeview.view header button:last-child:backdrop, treeview.view 
header:last-child button, treeview.view header:last-child button:backdrop {
+  treeview.view header button:last-child, treeview.view header button:last-child:backdrop {
     border-right-style: none; }
   treeview.view header.button.dnd, treeview.view header button.dnd, treeview.view header.button.dnd:active, 
treeview.view header.button.dnd:selected, treeview.view header.button.dnd:hover {
     transition: none;


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