From 8cc2dbe6f850e68155fab2d4ea7a36b61e63380a Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Fri, 2 Apr 2021 19:24:51 +0100 Subject: [PATCH] button: Style .keyboard-activating on frameless buttons The use of the keyboard-activating CSS class for buttons was added in [1], but the style did not apply to buttons with has-frame=FALSE. [1] 00923615f4 ("button: Add back visual feedback for keynav", 2021-04-01) --- gtk/theme/Adwaita/_common.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index ea4c31f6d1..ac5434c8cb 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -543,6 +543,7 @@ button { transition: $button_transition; transition-duration: 500ms; } + &.keyboard-activating, &:active, &:checked { @include button(undecorated-active);