[gnome-shell-sass] theme/panel: Slightly increase horizontal padding on activities button



commit af98f661c0923f0f221d94ffc07397986a735ad8
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Tue Aug 4 11:47:18 2020 +0200

    theme/panel: Slightly increase horizontal padding on activities button
    
    The activities button doesn't have an icon, which makes its horizontal
    padding appear a bit smaller than the padding of most other items in the
    panel.
    
    We're going to indicate hover and focus of items in the panel using a
    pill-shaped background color, which means the padding of those items
    will get more visible. So give the activities button a special treatment
    and slightly increase its padding to make sure the new indicator will
    look good.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1397>

 widgets/_panel.scss | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/widgets/_panel.scss b/widgets/_panel.scss
index 56c445a..1ee17d3 100644
--- a/widgets/_panel.scss
+++ b/widgets/_panel.scss
@@ -77,6 +77,10 @@ $panel_height: 1.86em;
       color: lighten($fg_color, 10%);
       &:focus, &:hover, &:active { color: lighten($fg_color, 10%); }
     }
+
+    &#panelActivities {
+      -natural-hpadding: $base_padding * 3;
+    }
   }
 
   .panel-button {


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