GTK3: fix the background of hovered buttons inside infobars

This commit is contained in:
Daniel Ruiz de Alegría
2020-12-28 12:04:03 +01:00
parent 12e901495c
commit 5c06f61200
4 changed files with 22 additions and 9 deletions
@@ -31,9 +31,14 @@ button {
border-color: transparent;
transition: $button_transition;
&:hover:not(:backdrop):not(:link):not(:visited) {
&:hover:not(:backdrop) {
@extend %button_active;
transition: none;
&:link {
background: transparent;
box-shadow: none;
}
}
}
}
@@ -311,7 +316,6 @@ infobar {
@mixin _infobar_button($bg) {
button,
button.flat {
// FIXME: extend selection mode buttons
@include button(normal, $bg, $selected_fg_color, none);
&:hover { @include button(hover, $bg, $selected_fg_color, none); }
@@ -319,7 +323,7 @@ infobar {
&:active,
&:checked { @include button(active, $bg, $selected_fg_color, none); }
&:disabled { @include button(insensitive,$bg,$selected_fg_color,none); }
&:disabled { @include button(insensitive, $bg, $selected_fg_color, none); }
&:backdrop {
@include button(backdrop, $bg, $selected_fg_color, none);