Adwaita: fix selected backdrop list rows.

A misplaced selector was making backdrop selected list rows vanish
on hover, fixed. Thanks to Florian for spotting.
This commit is contained in:
Lapo Calamandrei
2015-04-23 22:45:23 +02:00
parent 3da7394b58
commit 7dac876caf
3 changed files with 5 additions and 5 deletions

View File

@ -2594,6 +2594,7 @@ GtkScrolledWindow {
&:active {
box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8);
}
&:backdrop:hover { background-color: transparent; }
&:selected {
&:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
&:hover {
@ -2601,7 +2602,6 @@ GtkScrolledWindow {
}
&:backdrop { background-color: $selected_bg_color; }
}
&:backdrop:hover { background-color: transparent; }
}
.list-row:selected {

View File

@ -3485,14 +3485,14 @@ GtkPlacesSidebar.sidebar .view .separator:backdrop {
background-color: #323232; }
.list-row.button:active {
box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); }
.list-row.button:backdrop:hover {
background-color: transparent; }
.list-row.button:selected:active {
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
.list-row.button:selected:hover {
background-color: #356ba4; }
.list-row.button:selected:backdrop {
background-color: #215d9c; }
.list-row.button:backdrop:hover {
background-color: transparent; }
.list-row:selected .button {
color: #eeeeec;

View File

@ -3647,14 +3647,14 @@ GtkPlacesSidebar.sidebar .view .separator:backdrop {
background-color: #f4f4f4; }
.list-row.button:active {
box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); }
.list-row.button:backdrop:hover {
background-color: transparent; }
.list-row.button:selected:active {
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
.list-row.button:selected:hover {
background-color: #4786c8; }
.list-row.button:selected:backdrop {
background-color: #4a90d9; }
.list-row.button:backdrop:hover {
background-color: transparent; }
.list-row:selected .button {
color: #2e3436;