From 3f0490ab7affe106445ae269c4597d6327f1aa9c Mon Sep 17 00:00:00 2001 From: Vince Date: Sun, 18 Jul 2021 21:20:59 +0800 Subject: [PATCH] Update #361 --- src/sass/gnome-shell/common/_app-grid.scss | 8 ++++++++ src/sass/gnome-shell/common/_dialogs.scss | 2 +- src/sass/gnome-shell/common/_panel.scss | 2 +- src/sass/gnome-shell/common/_popovers.scss | 4 ++-- src/sass/gnome-shell/common/_search-entry.scss | 3 +++ tweaks.sh | 1 + 6 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/sass/gnome-shell/common/_app-grid.scss b/src/sass/gnome-shell/common/_app-grid.scss index 410853e..a24aa47 100644 --- a/src/sass/gnome-shell/common/_app-grid.scss +++ b/src/sass/gnome-shell/common/_app-grid.scss @@ -6,6 +6,14 @@ %app-well-app { @include font(body-1); + .overview-icon.overview-icon-with-label { + padding: 10px 8px 5px 8px; + + > StBoxLayout { + spacing: $base_spacing; + } + } + & .overview-icon { color: $light_fg_color; border-radius: $wm_radius; diff --git a/src/sass/gnome-shell/common/_dialogs.scss b/src/sass/gnome-shell/common/_dialogs.scss index d92cad6..f00c97e 100644 --- a/src/sass/gnome-shell/common/_dialogs.scss +++ b/src/sass/gnome-shell/common/_dialogs.scss @@ -5,7 +5,7 @@ border-radius: $wm_radius; border: solid rgba(black, 0.75); border-width: if($variant=='light', 0, 1px); - box-shadow: 3px 3px 8px -3px rgba(black, 0.65); + box-shadow: 3px 3px 8px -3px rgba(black, if($variant=='light', 0.35, 0.5)); } %last_dialog_button { diff --git a/src/sass/gnome-shell/common/_panel.scss b/src/sass/gnome-shell/common/_panel.scss index 7c05bee..8cfd952 100644 --- a/src/sass/gnome-shell/common/_panel.scss +++ b/src/sass/gnome-shell/common/_panel.scss @@ -5,7 +5,7 @@ background-color: $panel_bg; font-weight: normal; height: $menuitem_size - 4px; - box-shadow: 0 5px 16px rgba(black, 0.35); + box-shadow: 0 5px 16px rgba(black, 0.05); color: $panel_fg; font-feature-settings: "tnum"; transition-duration: 250ms; diff --git a/src/sass/gnome-shell/common/_popovers.scss b/src/sass/gnome-shell/common/_popovers.scss index a3ae136..6b20c9f 100644 --- a/src/sass/gnome-shell/common/_popovers.scss +++ b/src/sass/gnome-shell/common/_popovers.scss @@ -24,9 +24,9 @@ $popop_menuitem_radius: $wm_radius - 4px; .popup-menu-content { padding: 6px 0 !important; @extend %theme_dialogs; - box-shadow: 0 8px 16px 0 rgba(black, 0.25); + box-shadow: 0 5px 10px 0 rgba(black, 0.18); border: 1px solid if($variant=='light', rgba(black, 0), rgba(black, 0.75)); - margin: 4px 8px 4px 12px !important; + margin: 4px 10px 17px 12px !important; @include font(body-1); } diff --git a/src/sass/gnome-shell/common/_search-entry.scss b/src/sass/gnome-shell/common/_search-entry.scss index 1468c28..3204c6a 100644 --- a/src/sass/gnome-shell/common/_search-entry.scss +++ b/src/sass/gnome-shell/common/_search-entry.scss @@ -9,15 +9,18 @@ selection-background-color: $light_track_color; selected-color: $light_alt_fg_color; @include search_entry(normal, $fc:$light_track_color); + box-shadow: none; &:hover { @include search_entry(hover, $fc:$light_alt_fg_color); color: $light_alt_fg_color; + box-shadow: none; } &:focus { @include search_entry(focus, $fc:$light_alt_fg_color); color: $light_alt_fg_color; + box-shadow: none; } .search-entry-icon { diff --git a/tweaks.sh b/tweaks.sh index e1c7b0f..b54b515 100755 --- a/tweaks.sh +++ b/tweaks.sh @@ -112,6 +112,7 @@ while [[ $# -gt 0 ]]; do fi; shift ;; -g|--gdm) gdm="true"; full_sudo "${1}" + showapps_normal="true" # use normal showapps icon if ! has_command gdm && ! has_command gdm3 && [[ ! -e /usr/sbin/gdm3 ]]; then prompt -e "'${1}' ERROR: There's no GDM installed in your system"