Adwaita: GtkTreeView tree lines fix

See https://bugzilla.gnome.org/show_bug.cgi?id=740904 for details.
This commit is contained in:
Lapo Calamandrei 2014-12-01 10:05:42 +01:00
parent 32e8c39ffd
commit 5e503c54c2
3 changed files with 9 additions and 9 deletions

View File

@ -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;
}

View File

@ -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");

View File

@ -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");