GTK3: fix the background of hovered buttons inside infobars
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user