[libadwaita/wip/exalm/buttons-v2: 2/9] stylesheet: Nest toolbar button style under toolbars




commit 4406770a812c769884d5119281c7deb13e8e56c8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun May 23 13:32:46 2021 +0500

    stylesheet: Nest toolbar button style under toolbars

 src/stylesheet/widgets/_buttons.scss  | 7 -------
 src/stylesheet/widgets/_toolbars.scss | 5 +++++
 2 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index cc1e8321..d248c3f3 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -344,13 +344,6 @@ button {
   &:not(:last-child) > button { @extend %linked_not_bottom; }
 }
 
-/* oldstyle toolbar buttons */
-
-.toolbar button {
-  margin: 1px;
-  @extend %button_basic_flat;
-}
-
 button.color {
   padding: 4px;
 
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index 92423c40..d3ebc733 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -22,6 +22,11 @@
   // toolbar separators
   &.horizontal > separator { margin: 4px 0; }
   &.vertical > separator { margin: 0 4px; }
+
+  button {
+    margin: 1px;
+    @extend %button_basic_flat;
+  }
 }
 
 /****************


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