Skip to content

Commit

Permalink
Improvements: GTK3 - some transition effects
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Jan 26, 2022
1 parent 21d9c15 commit 12d44b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gtk-3.0/widgets/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,17 @@ button {
}
&:backdrop {
&:hover{
transition: $button_transition;
transition-duration: 500ms;
color: inherit;
background: inherit;
}
}
}

&:hover {
transition: $button_transition;
transition-duration: 500ms;
//@include button(hover,$selected_bg_color,$selected_fg_color);
@include button(hover, $selected_bg_color, $selected_fg_color);
-gtk-icon-effect: highlight;
Expand All @@ -66,7 +70,7 @@ button {
&:active,
&:checked {
@include button(active,darken($selected_bg_color,5%),$selected_fg_color);

transition: $button_transition;
transition-duration: 50ms;
}

Expand Down

0 comments on commit 12d44b6

Please sign in to comment.