[gnome-shell/wip/snwh/style-updates] theme: search results adjustments



commit 4b5d03e619ab4c06823df22f828a23559c01e809
Author: Sam Hewitt <sam snwh org>
Date:   Thu Dec 30 13:57:01 2021 -0330

    theme: search results adjustments

 data/theme/gnome-shell-sass/_colors.scss           |  2 +-
 .../gnome-shell-sass/widgets/_search-entry.scss    |  2 +-
 .../gnome-shell-sass/widgets/_search-results.scss  | 23 +++++++++++-----------
 3 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_colors.scss b/data/theme/gnome-shell-sass/_colors.scss
index 7f65a9aff7..f62b556331 100644
--- a/data/theme/gnome-shell-sass/_colors.scss
+++ b/data/theme/gnome-shell-sass/_colors.scss
@@ -22,7 +22,7 @@ $destructive_color: if($variant == 'light', #e01b24, darken(#e01b24, 10%));
 $osd_fg_color: white;
 $osd_bg_color: transparentize(desaturate(#242424, 100%),0.04);
 $osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5);
-$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%);
+$osd_insensitive_fg_color: if($variant == 'light', mix($osd_fg_color, $osd_bg_color, 80%),  
mix($osd_fg_color, $osd_bg_color, 70%));
 $osd_borders_color: transparentize(black, 0.3);
 $osd_outer_borders_color: transparentize($osd_fg_color, 0.99);
 
diff --git a/data/theme/gnome-shell-sass/widgets/_search-entry.scss 
b/data/theme/gnome-shell-sass/widgets/_search-entry.scss
index 0273845804..409fff0ce9 100644
--- a/data/theme/gnome-shell-sass/widgets/_search-entry.scss
+++ b/data/theme/gnome-shell-sass/widgets/_search-entry.scss
@@ -24,7 +24,7 @@ $search_entry_height: 36px;
     border-style: solid;
     border-color: $selected_bg_color;
     color: $fg_color;
-    box-shadow: inset 0 99px 0 0 transparentize($selected_bg_color, 0.8);
+    box-shadow: none;
   }
 
   .search-entry-icon { 
diff --git a/data/theme/gnome-shell-sass/widgets/_search-results.scss 
b/data/theme/gnome-shell-sass/widgets/_search-results.scss
index 061fa09049..0cb802cd3a 100644
--- a/data/theme/gnome-shell-sass/widgets/_search-results.scss
+++ b/data/theme/gnome-shell-sass/widgets/_search-results.scss
@@ -11,32 +11,33 @@
   // This should be equal to #searchResultsContent spacing
   spacing: $base_margin * 2;
 
-  // separator
+  // separator (unstyled)
   .search-section-separator { 
-    // height: 1px;
-    // background-color: $osd_outer_borders_color;
-    height: 0;
+    height: $base_margin*2; // use it as a spacer
     background-color: transparent;
   }
 }
 
 // content
 .search-section-content {
-  background-color: transparentize(lighten($osd_bg_color, 5%), 0.2);
-  border-radius: $modal_radius+3;
+  background-color: lighten($system_bg_color, 5%);
+  border-radius: $modal_radius;
   border: 1px solid $osd_outer_borders_color;
-  box-shadow: 0 2px 4px 0 $shadow_color;
+  box-shadow: none;
   text-shadow: none;
   color: $osd_fg_color;
   padding: $base_padding * 3;
-  // This is the space between the provider icon and the results container
-  spacing: $base_margin * 2;
   margin: $base_margin;
+  // This is the space between the provider icon and the results container
 }
 
 %search_section_content_item {
   @extend %icon_tile;
 
+  border-radius: $base_border_radius - 2px;
+
+  color: $osd_fg_color;
+
   &:focus,
   &:hover,
   &:selected {
@@ -75,7 +76,7 @@
     // provider labels
     .list-search-provider-details {
       width: 120px;
-      color: darken($osd_fg_color, 8%);
+      color: $osd_fg_color;
     }
   }
 }
@@ -102,6 +103,6 @@
 
   // list item description
   .list-search-result-description {
-    color: darken($osd_fg_color, 30%);
+    color: $osd_insensitive_fg_color;
   }
 }


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