[gnome-shell/wip/snwh/sass-cleanup] theme: refinements to the search boxes



commit b53125ab913c41ed956105e0e078179b342204b9
Author: Sam Hewitt <sam snwh org>
Date:   Thu Dec 5 15:09:07 2019 -0500

    theme: refinements to the search boxes

 data/theme/gnome-shell-sass/_common.scss                 | 4 ++--
 data/theme/gnome-shell-sass/widgets/_notifications.scss  | 2 +-
 data/theme/gnome-shell-sass/widgets/_search-results.scss | 7 ++++---
 3 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 842dec703f..696c4803e9 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -176,13 +176,13 @@ stage {
 
 // buttons in dialogs
 %bubble_button {
-       @include button(normal, $c:$bg_color, $tc:$fg_color);
+       @include button(normal);
        padding: $base_padding * 2;
        border-right-width: 1px;
        border-top: 1px solid $bubble_borders_color;
        box-shadow:none !important;
 
-       &:insensitive { @include button(insensitive, $c:$bg_color, $tc:$fg_color);}
+       &:insensitive { @include button(insensitive);}
        &:hover { @include button(hover, $c:$hover_bg_color, $tc:$fg_color);}
        &:focus { @include button(focus, $c:$hover_bg_color, $tc:$fg_color);}
        &:active { @include button(active, $c:$active_bg_color, $tc:$fg_color);}
diff --git a/data/theme/gnome-shell-sass/widgets/_notifications.scss 
b/data/theme/gnome-shell-sass/widgets/_notifications.scss
index 1a5080deb7..0581d100ae 100644
--- a/data/theme/gnome-shell-sass/widgets/_notifications.scss
+++ b/data/theme/gnome-shell-sass/widgets/_notifications.scss
@@ -47,7 +47,7 @@ $notification_banner_width: 34em;
                padding-top: 0;
                color: $fg_color;
                border-top: 1px solid $bubble_borders_color;
-               spacing: 0px;
+               spacing: 0;
        }
 
        .notification-button {
diff --git a/data/theme/gnome-shell-sass/widgets/_search-results.scss 
b/data/theme/gnome-shell-sass/widgets/_search-results.scss
index 55bc16a5e7..91baff497f 100644
--- a/data/theme/gnome-shell-sass/widgets/_search-results.scss
+++ b/data/theme/gnome-shell-sass/widgets/_search-results.scss
@@ -6,10 +6,11 @@ $overview_search_container_width: 1024px;
        background-color: transparentize(lighten($osd_bg_color, 5%), 0.2);
        border-radius: $modal_radius + 3px;
        border: 1px solid $osd_outer_borders_color;
-       box-shadow: 0 1px 4px 0 rgba(0,0,0,0.3);
+       box-shadow: 0 2px 4px 0 $shadow_color;
        text-shadow: 0 1px if($variant == 'light', rgba(255,255,255,0.2), rgba(0,0,0,0.2));
        color: $osd_fg_color;
        padding: $base_padding * 3;
+       margin: $base_margin;
 }
 
 // search overview container
@@ -21,8 +22,8 @@ $overview_search_container_width: 1024px;
 .search-section {
        @extend %search_result_bubble;
        spacing:0;
-       margin-top: $base_padding;
-       margin-bottom: $base_padding;
+       margin-top:0;
+       margin-bottom:0;
 
        // hide separator
        &:first-child .search-section-separator,


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