HC: fix selected list-rows

https://bugzilla.gnome.org/show_bug.cgi?id=747689
This commit is contained in:
Jakub Steiner 2015-04-13 17:07:16 +02:00
parent 374bedc0e2
commit efe0009e31
2 changed files with 9 additions and 6 deletions

View File

@ -1836,11 +1836,12 @@ GtkScrolledWindow {
box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8); box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8);
} }
&:selected { &:selected {
background-color: $selected_bg_color;
&:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); } &:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
&:hover { &:hover {
background-color: mix($fg_color, $selected_bg_color, 10%); background-color: mix($fg_color, $selected_bg_color, 10%);
} }
&:backdrop { background-color: $selected_bg_color; } &:backdrop { background-color: $borders_color; }
} }
} }

View File

@ -2052,12 +2052,14 @@ GtkPlacesSidebar.sidebar .view .separator:backdrop {
background-color: #f2f2f2; } background-color: #f2f2f2; }
.list-row.button:active { .list-row.button:active {
box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); } box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); }
.list-row.button:selected {
background-color: #000; }
.list-row.button:selected:active { .list-row.button:selected:active {
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); } box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
.list-row.button:selected:hover { .list-row.button:selected:hover {
background-color: black; } background-color: black; }
.list-row.button:selected:backdrop { .list-row.button:selected:backdrop {
background-color: #000; } background-color: #7f7f7f; }
.list-row:selected .button { .list-row:selected .button {
border-width: 2px; border-width: 2px;