[gtk/gtk-4-2: 7/91] button: Style .keyboard-activating on frameless buttons




commit 8cc2dbe6f850e68155fab2d4ea7a36b61e63380a
Author: Chris Mayo <aklhfex gmail com>
Date:   Fri Apr 2 19:24:51 2021 +0100

    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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]