[gtk+] Adwaita: no border-right on treeview-derived widgets
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: no border-right on treeview-derived widgets
- Date: Tue, 1 Jul 2014 13:44:23 +0000 (UTC)
commit 5e25bbb2aebba5d3e05f4f45fa1bdf3f47df11ae
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Jul 1 15:42:32 2014 +0200
Adwaita: no border-right on treeview-derived widgets
I fear to be opening a can of worms, but it does seem like
something the system theme should deal with.
https://bugzilla.gnome.org/show_bug.cgi?id=731463
gtk/resources/theme/Adwaita/_common.scss | 5 ++++-
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +-
gtk/resources/theme/Adwaita/gtk-contained.css | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 3fedcf7..365b6d9 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -758,7 +758,10 @@ column-header {
color: $fg_color;
}
}
- &:last-child .button { border-right-style: none; }
+ &:last-child .button,
+ &:last-child.button { //treeview-like derived widgets in Banshee and Evolution
+ border-right-style: none;
+ }
}
%column_header_button {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index f423743..ad800ef 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -975,7 +975,7 @@ column-header .button {
box-shadow: none; }
column-header .button:active {
color: #eeeeec; }
-column-header:last-child .button {
+column-header:last-child .button, column-header:last-child.button {
border-right-style: none; }
column-header .button, column-header .button:hover, column-header .button:active {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index bf6a1ed..e43fae0 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -975,7 +975,7 @@ column-header .button {
box-shadow: none; }
column-header .button:active {
color: #2e3436; }
-column-header:last-child .button {
+column-header:last-child .button, column-header:last-child.button {
border-right-style: none; }
column-header .button, column-header .button:hover, column-header .button:active {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]