[libadwaita/wip/exalm/headerbar-icon: 5/5] stylesheet: Style GtkWindowControls icon properly




commit 29e1b5943bc5ee68b728aa57199fd88b728c4b55
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Nov 1 16:40:51 2021 +0500

    stylesheet: Style GtkWindowControls icon properly

 src/stylesheet/widgets/_header-bar.scss | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index c803904f..3bfee745 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -42,12 +42,16 @@ headerbar {
     }
 
     windowcontrols {
-      button {
+      > button {
         min-height: 22px;
         min-width: 22px;
         margin: 0;
         padding: 4px;
       }
+
+      > .icon {
+        margin: 7px;
+      }
     }
   }
 
@@ -89,7 +93,7 @@ headerbar {
 windowcontrols {
   border-spacing: 3px;
 
-  button {
+  > button {
     min-width: 24px;
     padding: 5px;
     margin: 0;
@@ -112,6 +116,10 @@ windowcontrols {
     &:hover > image { background-color: $button_hover_color; }
     &:hover:active > image { background-color: $button_active_color; }
   }
+
+  > .icon {
+    margin: 9px;
+  }
 }
 
 /******************


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