Adwaita: no border radius for GtkTreeView:selected

This commit is contained in:
Lapo Calamandrei 2014-11-15 19:08:13 +01:00
parent 268efd1475
commit 4f7abe3762
3 changed files with 8 additions and 0 deletions

View File

@ -1352,6 +1352,10 @@ GtkTreeView.view {
border-left-color: mix($fg_color, $base_color, 0.5); // this is actually the tree lines color,
border-top-color: $bg_color; // while this is the grid lines color, better then nothing
&:selected,
&:selected:focus,
&: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-top-color: transparentize($fg_color, 0.9); // doesn't work unfortunatelly

View File

@ -1963,6 +1963,8 @@ GtkTreeView.view {
-GtkTreeView-expander-size: 16;
border-left-color: #292929;
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-top-color: rgba(238, 238, 236, 0.1); }

View File

@ -1963,6 +1963,8 @@ GtkTreeView.view {
-GtkTreeView-expander-size: 16;
border-left-color: #fdfdfd;
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-top-color: rgba(46, 52, 54, 0.1); }