[libadwaita/wip/exalm/less-selectors: 1/2] stylesheet: Move linked override out of %toolbar




commit 51a4c0d2f3711ea969db2fc3ddfc674c87de25ea
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Nov 11 14:16:44 2021 +0500

    stylesheet: Move linked override out of %toolbar
    
    Don't duplicate it for headerbar, actionbar etc, it's just a specificity
    bump.

 src/stylesheet/widgets/_toolbars.scss | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index 90ae3216..b86a5bdf 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -13,14 +13,6 @@
     }
   }
 
-  .linked button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) {
-    &.arrow-button,
-    &.image-button,
-    &.image-text-button {
-      @extend %button_basic_raised;
-    }
-  }
-
   menubutton.raised > button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) {
     &.arrow-button,
     &.image-button,
@@ -80,6 +72,15 @@
   }
 }
 
+// Reset styles for men
+.linked button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) {
+  &.arrow-button,
+  &.image-button,
+  &.image-text-button {
+    @extend %button_basic_raised;
+  }
+}
+
 // Reset styles for popovers inside toolbars
 popover {
   button:not(.flat):not(.outline):not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) {


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