[gnome-shell-sass] Make Dash horizontal



commit 9adc923689dd70e5535ecda0d8a01177444b333d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Dec 11 09:47:28 2020 -0300

    Make Dash horizontal
    
    And move it to the bottom of the overview. Change the height-based calculation
    of the icon sizes to be width-based. Put the DashFader in a vertical box, and
    make all corners of the Dash equally rounded.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1559>

 widgets/_dash.scss | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/widgets/_dash.scss b/widgets/_dash.scss
index c639fad..22e538a 100644
--- a/widgets/_dash.scss
+++ b/widgets/_dash.scss
@@ -7,14 +7,10 @@ $dash_border_radius: $modal_radius * 1.5;
 #dash {
   @extend %overview_panel;
   @include fontsize($base_font_size - 2);
+  margin: $base_margin * 4 $base_margin * 2;
   padding: ($dash_spacing / 2) 0;
 
-  border-radius: 0 $dash_border_radius $dash_border_radius 0; 
-  border-left-width: 0;
-  &:rtl {
-    border-radius: $dash_border_radius 0 0 $dash_border_radius;
-    border-right-width: 0;
-  }
+  border-radius: $dash_border_radius;
 
   .placeholder {
     // background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg");
@@ -43,7 +39,7 @@ $dash_border_radius: $modal_radius * 1.5;
   color: $osd_fg_color;
   padding: $base_padding $base_padding + 2px;
   text-align: center;
-  -x-offset: $base_margin * 2; // distance from the dash edge
+  -y-offset: $base_margin * 3; // distance from the dash edge
 }
 
 // Show apps button


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