From 0b7226e96eb5e52b24330a716287dd15de6047cf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 19 Dec 2015 17:34:21 -0500 Subject: [PATCH] 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 aa9ce8ca2c..9fd219c0a3 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 861a096aa3..60c0bc13e7 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 d8c5251282..8199fb7245 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;