Commit 7dac876c authored by Lapo Calamandrei's avatar Lapo Calamandrei

Adwaita: fix selected backdrop list rows.

A misplaced selector was making backdrop selected list rows vanish
on hover, fixed. Thanks to Florian for spotting.
parent 3da7394b
......@@ -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 {
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment