[gtk/wip/jimmac/make-toolbar-togglebuttons-visible] theme: make toggled tbuttons in toolbars visible




commit ed679703b81f60dd9fb0d52c0aa815104695f993
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 a3f3074599..e3129bd4d5 100644
--- a/gtk/theme/Default/_common.scss
+++ b/gtk/theme/Default/_common.scss
@@ -897,13 +897,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]