forked from AuroraMiddleware/gtk
Merge branch 'wip/jimmac/colored-list-image-buttons' into 'master'
Adwaita: allow suggested and destructive action buttons in lists Closes #3643 See merge request GNOME/gtk!3153
This commit is contained in:
commit
38481680e1
@ -933,6 +933,14 @@ list > row button.image-button:not(.flat) {
|
||||
&:hover { @include button(hover); }
|
||||
&:active,
|
||||
&:checked { @include button(active); }
|
||||
|
||||
@each $b_type, $b_color in (suggested-action, $selected_bg_color),
|
||||
(destructive-action, $destructive_color) {
|
||||
&.#{$b_type} { // allow colored buttons in lists #3643
|
||||
@include button(normal, $b_color, white);
|
||||
@include focus-ring($fc: $alt_focus_border_color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*********
|
||||
|
Loading…
Reference in New Issue
Block a user