[gtk/gtk-4-4] theme: make toggled tbuttons in toolbars visible



commit 3ae2ebac67c8c06d2d806e28c52ec4cbedfb9acd
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Sep 16 12:47:26 2021 +0200

    theme: make toggled tbuttons in toolbars visible
    
    - do what Alex does in libadwaita
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4264

 gtk/theme/Default/_common.scss | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss
index dc9a9f6409..73300c32b7 100644
--- a/gtk/theme/Default/_common.scss
+++ b/gtk/theme/Default/_common.scss
@@ -888,13 +888,8 @@ modelbutton.flat arrow {
 
 .toolbar button {
   margin: 1px;
-  @extend %undecorated_button;
 
-  &:hover { @include button('hover'); }
-  &:active { @include button('active'); }
-  &:disabled { @include button('insensitive'); }
-  &:backdrop { @include button('backdrop'); }
-  &:backdrop:disabled { @include button('backdrop-insensitive'); }
+   @extend %button_basic_flat;
 }
 
 button.color {


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