GTK3: theme flat buttons

This commit is contained in:
Daniel Ruiz de Alegría
2020-12-16 11:33:16 +01:00
parent 1db8c6a02c
commit 62e299b648
4 changed files with 38 additions and 14 deletions
@@ -19,11 +19,23 @@ $_wm_border: if($variant=='light', transparentize(black, 0.9), transparentize($b
/**********
* Button *
**********/
%button_active,
button:active,
button:checked, {
background: $dark_fill;
box-shadow: $_widget_inset_shadow;
button {
@at-root %button_active,
&:active,
&:checked, {
background: $dark_fill;
box-shadow: $_widget_inset_shadow;
}
&.flat {
border-color: transparent;
transition: $button_transition;
&:hover {
@extend %button_active;
transition: none;
}
}
}
/**********