File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed
Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 2222}
2323
2424// used to show a button is being clicked or is in an "active" state
25- @mixin control-active-depressed {
25+ @mixin control-active {
26+ background : bg-color (3 );
2627 box-shadow :
2728 highlight (" bottom" ),
2829 inset-shadow (" " );
29- background-color : bg-color (3 );
3030
3131 & :disabled {
3232 box-shadow :
3636}
3737
3838// used to show a check or radio button is "active"
39- @mixin control-active- checked {
39+ @mixin control-checked {
4040 color : $SILVER_100 ;
4141 background-color : #{' @accent_color' } ;
4242
Original file line number Diff line number Diff line change @@ -26,12 +26,9 @@ button {
2626 @include control ;
2727 @include border-interactive-roundrect ;
2828
29- & :checked , & :active {
30- @include control-active-depressed ;
31- }
32-
33- & :hover {
34- filter : brightness (105% );
29+ & :active ,
30+ & :checked {
31+ @include control-active ;
3532 }
3633
3734 & :active {
@@ -41,6 +38,10 @@ button {
4138 & :disabled {
4239 @include control-disabled ;
4340 }
41+
42+ & :hover {
43+ filter : brightness (105% );
44+ }
4445 }
4546
4647 // Stopgap since we can't do angled buttons in GtkCSS, and generating all
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ checkbutton {
1313 }
1414
1515 & :active {
16- @include control-active-depressed ;
16+ @include control-active ;
1717 filter : brightness (95% );
1818 }
1919
2020 & :checked {
2121 -gtk-icon-source : -gtk-icontheme (" check-checked-symbolic" );
22- @include control-active- checked ;
22+ @include control-checked ;
2323 }
2424
2525 & :indeterminate {
You can’t perform that action at this time.
0 commit comments