HighContrast: Fix selection styling in treeviews

This makes selected rows in treeviews show up again.
This commit is contained in:
Matthias Clasen 2015-11-14 18:29:27 -05:00
parent 65635546b4
commit 55667352aa
2 changed files with 6 additions and 3 deletions

View File

@ -975,7 +975,10 @@ treeview.view {
& rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
&:selected { border-radius: 0; } // rest border radius in lists
&:selected {
border-radius: 0;
@extend %selected_items;
}
&:selected, &:backdrop:selected {
border-left-color: mix($selected_fg_color, $selected_bg_color, 50%);

View File

@ -2013,7 +2013,7 @@ entry selection:focus, entry selection
spinbutton selection:focus, spinbutton selection
spinbutton selection:focus, modelbutton.flat:hover, modelbutton.flat:selected,
.menuitem.button.flat:hover,
.menuitem.button.flat:selected, row.activatable:selected, .sidebar:selected, placessidebar .view:selected, placessidebar calendar:selected {
.menuitem.button.flat:selected, treeview.view:selected, row.activatable:selected, .sidebar:selected, placessidebar .view:selected, placessidebar calendar:selected {
background-color: #000;
color: #fff;
outline-color: rgba(255, 255, 255, 0.3); }
@ -2024,7 +2024,7 @@ spinbutton selection:focus, modelbutton.flat:hover, modelbutton.flat:selected,
spinbutton selection:backdrop:focus, spinbutton selection
spinbutton selection:backdrop:focus, modelbutton.flat:backdrop:hover, modelbutton.flat:backdrop:selected,
.menuitem.button.flat:backdrop:hover,
.menuitem.button.flat:backdrop:selected, row.activatable:backdrop:selected, .sidebar:backdrop:selected, placessidebar .view:backdrop:selected, placessidebar calendar:backdrop:selected {
.menuitem.button.flat:backdrop:selected, treeview.view:backdrop:selected, row.activatable:backdrop:selected, .sidebar:backdrop:selected, placessidebar .view:backdrop:selected, placessidebar calendar:backdrop:selected {
background-color: gray;
color: #fff; }