From 5e503c54c2042c1c31c98968e454e021e5665aac Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Mon, 1 Dec 2014 10:05:42 +0100 Subject: [PATCH] Adwaita: GtkTreeView tree lines fix See https://bugzilla.gnome.org/show_bug.cgi?id=740904 for details. --- gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index e359644cba..d2dc82a2ed 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1349,7 +1349,7 @@ GtkTreeView.view { -GtkTreeView-tree-line-pattern: ''; -GtkTreeView-expander-size: 16; - border-left-color: mix($fg_color, $base_color, 0.5); // this is actually the tree lines color, + border-left-color: mix($fg_color, $base_color, 50%); // this is actually the tree lines color, border-top-color: $bg_color; // while this is the grid lines color, better then nothing &:selected, @@ -1357,7 +1357,7 @@ GtkTreeView.view { &:selected:hover { border-radius: 0; } // rest border radius in lists &:selected, &:backdrop:selected { - border-left-color: mix($selected_fg_color, $selected_bg_color, 0.5); + border-left-color: mix($selected_fg_color, $selected_bg_color, 50%); border-top-color: transparentize($fg_color, 0.9); // doesn't work unfortunatelly } @@ -1371,7 +1371,7 @@ GtkTreeView.view { } &:backdrop { - border-left-color: mix($backdrop_fg_color, $backdrop_bg_color, 0.5); + border-left-color: mix($backdrop_fg_color, $backdrop_bg_color, 50%); border-top: $backdrop_bg_color; } diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 33e761c3d6..65194f9397 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1961,12 +1961,12 @@ GtkTreeView.view { -GtkTreeView-tree-line-width: 1; -GtkTreeView-tree-line-pattern: ''; -GtkTreeView-expander-size: 16; - border-left-color: #292929; + border-left-color: #8b8b8a; border-top-color: #393f3f; } GtkTreeView.view:selected, GtkTreeView.view:selected:focus, GtkTreeView.view:selected:hover { border-radius: 0; } GtkTreeView.view:selected, GtkTreeView.view:backdrop:selected { - border-left-color: #225d9c; + border-left-color: #90aecd; border-top-color: rgba(238, 238, 236, 0.1); } GtkTreeView.view:insensitive { color: #939695; } @@ -1977,7 +1977,7 @@ GtkTreeView.view { GtkTreeView.view:insensitive:backdrop { color: #5d6767; } GtkTreeView.view:backdrop { - border-left-color: #393f3f; + border-left-color: #666a6a; border-top: #393f3f; } GtkTreeView.view.expander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index ed921816d3..4209eb836c 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1961,12 +1961,12 @@ GtkTreeView.view { -GtkTreeView-tree-line-width: 1; -GtkTreeView-tree-line-pattern: ''; -GtkTreeView-expander-size: 16; - border-left-color: #fdfdfd; + border-left-color: #96999a; border-top-color: #ededed; } GtkTreeView.view:selected, GtkTreeView.view:selected:focus, GtkTreeView.view:selected:hover { border-radius: 0; } GtkTreeView.view:selected, GtkTreeView.view:backdrop:selected { - border-left-color: #4a90d9; + border-left-color: #a4c7ec; border-top-color: rgba(46, 52, 54, 0.1); } GtkTreeView.view:insensitive { color: #8d9091; } @@ -1977,7 +1977,7 @@ GtkTreeView.view { GtkTreeView.view:insensitive:backdrop { color: #c7c7c7; } GtkTreeView.view:backdrop { - border-left-color: #ececec; + border-left-color: #bdbebf; border-top: #ededed; } GtkTreeView.view.expander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");