[gtk: 1/2] button: Style .keyboard-activating on frameless buttons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] button: Style .keyboard-activating on frameless buttons
- Date: Fri, 2 Apr 2021 18:50:18 +0000 (UTC)
commit ffa9814dd0d361e6196229a5fafc6435f8ef6e2e
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/Default/_common.scss | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss
index 4c233f80a7..9b44517af5 100644
--- a/gtk/theme/Default/_common.scss
+++ b/gtk/theme/Default/_common.scss
@@ -544,6 +544,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]