Merge branch 'wip/jimmac/sidebar-hover-selected-focus' into 'master'

Adwaita: selected:hover and focus:selected:hover states

Closes #3251

See merge request GNOME/gtk!2686
This commit is contained in:
Jakub Steiner 2020-10-14 07:36:06 +00:00
commit 974ce500d6

View File

@ -3460,10 +3460,11 @@ separator.sidebar {
outline-width: 0;
color: $selected_fg_color;
background-color: $selected_bg_color;
&:hover { background-color: darken($selected_bg_color,10%); }
}
&:hover:not(:last-child) { /* FIXME: dirty specificity bump */
color: $fg_color;
background-color: $menu_selected_color;
color: $selected_fg_color;
background-color: darken(desaturate($selected_bg_color,100%),10%);
}
}