From 949c611ec6336a85d5948fe592bc2af0b4167280 Mon Sep 17 00:00:00 2001 From: Vince Date: Fri, 9 Apr 2021 10:59:02 +0800 Subject: [PATCH] Fixed issue --- src/sass/gnome-shell/common/_app-grid.scss | 9 ++------- src/sass/gnome-shell/common/_search-results.scss | 14 ++++++-------- .../gnome-shell/widgets-3-28/_search-results.scss | 6 ++---- 3 files changed, 10 insertions(+), 19 deletions(-) diff --git a/src/sass/gnome-shell/common/_app-grid.scss b/src/sass/gnome-shell/common/_app-grid.scss index 705f344..63a5600 100644 --- a/src/sass/gnome-shell/common/_app-grid.scss +++ b/src/sass/gnome-shell/common/_app-grid.scss @@ -6,7 +6,7 @@ $app_grid_fg_color: #fff; %icon_tile { color: $light_alt_fg_color; border-radius: $bd_radius * 1.5; - padding: 6px; + padding: 8px; border: none; transition-duration: $longer_duration; text-align: center; @@ -14,14 +14,9 @@ $app_grid_fg_color: #fff; %app-well-app, .show-apps, -.app-well-app, -.grid-search-result { +.app-well-app { & .overview-icon { @extend %icon_tile !optional; - - &, & > StIcon { - icon-shadow: $panel_asset_shadow; - } } &:hover .overview-icon, diff --git a/src/sass/gnome-shell/common/_search-results.scss b/src/sass/gnome-shell/common/_search-results.scss index 490a173..e681aa9 100644 --- a/src/sass/gnome-shell/common/_search-results.scss +++ b/src/sass/gnome-shell/common/_search-results.scss @@ -7,18 +7,19 @@ // separator .search-section-separator { - height: 1px; + height: 0; background-color: $light_divider_color; } } // content .search-section-content { // This is the space between the provider icon and the results container - spacing: 32px; - border-radius: 0; + spacing: $base_margin * 2; + border-radius: $bt_radius; + padding: $base_padding * 3; border: none; box-shadow: none; - background: none; + background: $light_divider_color; text-shadow: none; color: $light_alt_fg_color; } @@ -29,11 +30,10 @@ } //Icon tile -.search-provider-icon, .list-search-result { - @extend %icon_tile; &:focus, &:selected, &:hover { background-color: $light_divider_color; + transition-duration: 200ms; } &:active, &:checked { background-color: $light_track_color; @@ -42,8 +42,6 @@ // search result provider .search-provider-icon { - @extend %app-well-app; - // content .list-search-provider-content { spacing: 12px; diff --git a/src/sass/gnome-shell/widgets-3-28/_search-results.scss b/src/sass/gnome-shell/widgets-3-28/_search-results.scss index 5654212..f7774b0 100644 --- a/src/sass/gnome-shell/widgets-3-28/_search-results.scss +++ b/src/sass/gnome-shell/widgets-3-28/_search-results.scss @@ -1,8 +1,6 @@ #searchResultsContent { - max-width: 1000px; - padding-left: 20px; - padding-right: 20px; - spacing: 16px; + max-width: 1024px; + spacing: 8px; } .list-search-results { spacing: 3px; }