GTK3: avoid hover animations on backdrop state

This commit is contained in:
Daniel Ruiz de Alegría
2020-12-16 18:35:35 +01:00
parent 977656cf86
commit b2a3a8f92f
4 changed files with 23 additions and 23 deletions
@@ -31,7 +31,7 @@ button {
border-color: transparent;
transition: $button_transition;
&:hover {
&:hover:not(:backdrop) {
@extend %button_active;
transition: none;
}
@@ -235,7 +235,7 @@ notebook {
border: 1px solid transparent;
margin: 3px;
&:hover { @include button(hover); }
&:hover:not(:backdrop) { @include button(hover); }
&:checked {
@include button(normal);