HighConstast: Some fixes for treeview headers

This commit is contained in:
Matthias Clasen 2016-01-05 14:19:58 -05:00
parent d60fe93937
commit 9ebb63c71f
2 changed files with 19 additions and 16 deletions

View File

@ -1073,31 +1073,33 @@ treeview.view {
color: $selected_fg_color; color: $selected_fg_color;
} }
} }
& :last-child.button, & button:last-child,
&:last-child.button { //treeview-like derived widgets in Banshee and Evolution & button:last-child:hover,
& button:last-child:backdrop { //treeview-like derived widgets in Banshee and Evolution
border-right-style: none; border-right-style: none;
} }
} }
} }
%column_header_button { %column_header_button {
border-width: 0 1px 1px 0; padding: 3px 6px;
border-style: none solid solid none;
border-radius: 0; border-radius: 0;
border-width: 1;
background-image: none; background-image: none;
border-color: $bg_color; border-color: mix($backdrop_fg_color, $backdrop_bg_color,50%);
text-shadow: none; text-shadow: none;
&:disabled { &:disabled {
border-width: 0 1px 1px 0;
border-color: $bg_color; border-color: $bg_color;
background-image: none; background-image: none;
} }
&:backdrop { &:backdrop {
border-color: $backdrop_bg_color; border-color: mix($backdrop_fg_color, $backdrop_bg_color,50%);
border-width: 0 1px 1px 0; border-style: none solid solid none;
color: mix($backdrop_fg_color, $backdrop_bg_color,50%); color: mix($backdrop_fg_color, $backdrop_bg_color,50%);
background-image: none; background-image: none;
background-color: $backdrop_base_color;
&:disabled { &:disabled {
border-width: 0 1px 1px 0;
border-color: $backdrop_bg_color; border-color: $backdrop_bg_color;
background-image: none; background-image: none;
} }

View File

@ -1225,26 +1225,27 @@ treeview.view {
box-shadow: none; } box-shadow: none; }
treeview.view header button:active { treeview.view header button:active {
color: #fff; } color: #fff; }
treeview.view header :last-child.button, treeview.view header:last-child.button { treeview.view header button:last-child, treeview.view header button:last-child:hover, treeview.view header button:last-child:backdrop {
border-right-style: none; } border-right-style: none; }
treeview.view header button, treeview.view header button:hover, treeview.view header button:active { treeview.view header button, treeview.view header button:hover, treeview.view header button:active {
border-width: 0 1px 1px 0; padding: 3px 6px;
border-style: none solid solid none;
border-radius: 0; border-radius: 0;
border-width: 1;
background-image: none; background-image: none;
border-color: #fff; border-color: gray;
text-shadow: none; } text-shadow: none; }
treeview.view header button:disabled { treeview.view header button:disabled {
border-width: 0 1px 1px 0;
border-color: #fff; border-color: #fff;
background-image: none; } background-image: none; }
treeview.view header button:backdrop { treeview.view header button:backdrop {
border-color: #fff; border-color: gray;
border-width: 0 1px 1px 0; border-style: none solid solid none;
color: gray; color: gray;
background-image: none; } background-image: none;
background-color: #fff; }
treeview.view header button:backdrop:disabled { treeview.view header button:backdrop:disabled {
border-width: 0 1px 1px 0;
border-color: #fff; border-color: #fff;
background-image: none; } background-image: none; }