diff --git a/src/sass/gtk/_common-3.0.scss b/src/sass/gtk/_common-3.0.scss index d813ea9..bdc959f 100644 --- a/src/sass/gtk/_common-3.0.scss +++ b/src/sass/gtk/_common-3.0.scss @@ -3572,13 +3572,28 @@ messagedialog { // Message Dialog styling transition: $button_transition; } - &:active { + &:active, &:checked { @include button(active); } } - &.suggested-action, &.destructive-action { - border-radius: $bt_radius; + // Suggested and Destructive Action buttons + @each $b_type, $b_color, $b_fg in (suggested-action, $suggested_color, $light_fg_color), + (destructive-action, $destructive_color, $light_fg_color) { + &.#{$b_type} { + @include button(suggested_destructive, $b_color, $b_fg); + border-radius: $bt_radius; + + &:hover { + @include button(suggested_destructive, lighten($b_color, 5%), $b_fg); + } + + &:active, &:checked { + @include button(suggested_destructive, lighten($b_color, 10%), $b_fg); + } + + &:disabled { @include button(insensitive); } + } } } } diff --git a/src/sass/gtk/_common-4.0.scss b/src/sass/gtk/_common-4.0.scss index 495f318..7cd367e 100644 --- a/src/sass/gtk/_common-4.0.scss +++ b/src/sass/gtk/_common-4.0.scss @@ -3315,7 +3315,9 @@ frame, .frame { border: 1px solid $borders_color; - > list { border: none; } + > list { + border: none; + } } frame { @@ -3324,6 +3326,13 @@ frame { > label { margin: $container_padding - 2px; } + + > list { + border-radius: $wm_radius - 2px; + box-shadow: if($variant == 'light', + (inset 0 0 8px rgba(black, 0.02), inset 0 0 3px rgba(black, 0.01)), + (inset 0 0 8px rgba(white, 0.03), inset 0 0 3px rgba(white, 0.02))); + } } scrolledwindow {