From 46878d69f30dce3d3ddd9bcf88df45e0701f9340 Mon Sep 17 00:00:00 2001 From: Sam Hewitt Date: Fri, 20 Dec 2019 12:20:52 -0500 Subject: [PATCH] theme > search results: revisions to padding, drop bg from app results https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904 --- .../widgets/_message-list.scss | 4 +- .../widgets/_search-results.scss | 46 +++++++++---------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/data/theme/gnome-shell-sass/widgets/_message-list.scss b/data/theme/gnome-shell-sass/widgets/_message-list.scss index a51b07d65..56541ba34 100644 --- a/data/theme/gnome-shell-sass/widgets/_message-list.scss +++ b/data/theme/gnome-shell-sass/widgets/_message-list.scss @@ -59,9 +59,11 @@ // close button .message-close-button { color: lighten($fg_color, 15%); - &:hover { color: darken($fg_color, 10%);} + &:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); } + &:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); } } + // icon container .message-icon-bin { padding: $base_padding; diff --git a/data/theme/gnome-shell-sass/widgets/_search-results.scss b/data/theme/gnome-shell-sass/widgets/_search-results.scss index 7b1ae0a15..15a9ee0a0 100644 --- a/data/theme/gnome-shell-sass/widgets/_search-results.scss +++ b/data/theme/gnome-shell-sass/widgets/_search-results.scss @@ -7,6 +7,24 @@ // search results sections "the boxes" .search-section { + spacing: $base_margin * 2; + padding:0 !important; + margin:0 !important; + background-color:transparent; + box-shadow:none; + border:none; + // separator + .search-section-separator { + // margin-top: $base_padding * 2; + // height: 1px; + // background-color: $osd_outer_borders_color; + height: 0; + background-color: transparent; + } +} + +// content +.search-section-content { background-color: transparentize(lighten($osd_bg_color, 5%), 0.2); border-radius: $modal_radius+3; border: 1px solid $osd_outer_borders_color; @@ -14,28 +32,8 @@ 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; - spacing:$base_spacing * 2; - - // hide separator - &:first-child .search-section-separator, - &:last-child .search-section-separator { - background-color: transparent; - } - - // separator - .search-section-separator { - // margin-top: $base_padding * 2; - // height: 1px; - // background-color: $osd_outer_borders_color; - height: 0px; - background-color: transparent; - } - - // content - .search-section-content { - spacing: 0; - } + margin: $base_margin 0; + spacing: 0; } // "no results" text @@ -78,7 +76,7 @@ .search-provider-icon { @extend %icon_tile; - padding: 0; + padding: $base_padding; spacing: 0; margin-right: $base_margin * 2; @@ -120,6 +118,8 @@ padding: $base_padding; color: $osd_fg_color; + border-radius: $base_border_radius + 2px !important; + &:focus, &:selected, &:hover {