[gnome-shell/wip/jimmac/dash-icon-spacing: 72/72] theme: adjust dash icon spacing




commit d0fe6ad6f16801162948abfaf41f8daf51444f8d
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Feb 2 12:01:15 2021 +0100

    theme: adjust dash icon spacing
    
    - no padding between icon containers, except the first and last
    - there are two .dash-item-container s, so last-child will actually separate the regular icons from the 
.show-apps
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3640

 data/theme/gnome-shell-sass/widgets/_dash.scss | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_dash.scss b/data/theme/gnome-shell-sass/widgets/_dash.scss
index 756ba158c8..d81cf79989 100644
--- a/data/theme/gnome-shell-sass/widgets/_dash.scss
+++ b/data/theme/gnome-shell-sass/widgets/_dash.scss
@@ -27,10 +27,16 @@ $dash_border_radius: $modal_radius * 1.5;
 }
 
 // Dash Items
-.dash-item-container > StWidget {
-  padding: ($dash_spacing / 2) $dash_spacing;
+.dash-item-container {
+  & > StWidget {
+     padding: ($dash_spacing / 2) 0;
+  }
+  &:first-child > StWidget { padding-left: $dash_spacing; }
+  &:last-child > StWidget { padding-right: $dash_spacing; }
 }
 
+//.overview-icon {}
+
 // OSD Tooltip
 .dash-label {
   background-color: transparentize($osd_bg_color,0.05);
@@ -47,6 +53,7 @@ $dash_border_radius: $modal_radius * 1.5;
 .show-apps {
   @include overview-icon($osd_fg_color);
 
+
   &:focus,
   &:checked {
     .overview-icon {


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