diff options
author | Jakub Steiner <jimmac@gmail.com> | 2021-02-03 23:13:24 +0100 |
---|---|---|
committer | Jakub Steiner <jimmac@gmail.com> | 2021-02-03 23:15:30 +0100 |
commit | 289bf078bf261d6611ac1e273a0cfd080669b6fb (patch) | |
tree | ef3e9660c7cda75a2ee81d6a7d36967873b17e30 | |
parent | 58ab9ddc40a120fafcf642437ee1ea5c03c7b155 (diff) | |
download | gtk+-289bf078bf261d6611ac1e273a0cfd080669b6fb.tar.gz |
Adwaita: allow suggested and destructive action buttons in listswip/jimmac/colored-list-image-buttons
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3643
-rw-r--r-- | gtk/theme/Adwaita/_common.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 77790d7528..5588e4fb40 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -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); + } + } } /********* |