[libadwaita/wip/exalm/buttons-v2: 1/9] stylesheet: Don't duplicate styling for toolbars




commit 00b1599c7abe58ee16f07b63bf1abefdd157d16f
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun May 23 13:31:51 2021 +0500

    stylesheet: Don't duplicate styling for toolbars
    
    These buttons can just inherit the flat style.

 src/stylesheet/widgets/_buttons.scss | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index 7c3a29b3..cc1e8321 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -348,11 +348,7 @@ button {
 
 .toolbar button {
   margin: 1px;
-  @extend %undecorated_button;
-
-  &:hover { @include button(undecorated-hover); }
-  &:active { @include button(undecorated-active); }
-  &:disabled { @include button(undecorated); }
+  @extend %button_basic_flat;
 }
 
 button.color {


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