From 75e31dc9d8d8ac167aa89b589ed6915f11d87824 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sun, 8 Jan 2023 10:06:02 +0800 Subject: [PATCH] Fixed blur-my-shell issues --- .../gnome-shell/common/_search-results.scss | 3 +- .../gnome-shell/extensions-40-0/_misc.scss | 79 ++++++++++++++++++- src/sass/gtk/apps/_gnome-4.0.scss | 2 +- 3 files changed, 80 insertions(+), 4 deletions(-) diff --git a/src/sass/gnome-shell/common/_search-results.scss b/src/sass/gnome-shell/common/_search-results.scss index b5ff5a9d..6078a916 100644 --- a/src/sass/gnome-shell/common/_search-results.scss +++ b/src/sass/gnome-shell/common/_search-results.scss @@ -45,7 +45,8 @@ padding: $base_padding * 3; border: none; box-shadow: none; - background: none; + background-color: transparent !important; + background-image: none !important; text-shadow: none; color: on(black, secondary); } diff --git a/src/sass/gnome-shell/extensions-40-0/_misc.scss b/src/sass/gnome-shell/extensions-40-0/_misc.scss index edf2759f..a2dfa2c9 100644 --- a/src/sass/gnome-shell/extensions-40-0/_misc.scss +++ b/src/sass/gnome-shell/extensions-40-0/_misc.scss @@ -95,7 +95,7 @@ border-width: 0; color: $text; background: $fill; - + .cosmic-folder-edit-button:hover { background: $divider; } @@ -146,4 +146,79 @@ .pop-shell-tab-urgent { background: $error; -} \ No newline at end of file +} + +// +// Blur my shell +// + +#panel.light-panel, +#panel.dark-panel, +#panel.transparent-panel { + .panel-button { + color: on(dark, secondary) !important; + + &.clock-display { + .clock { + color: on(dark, secondary) !important; + } + } + + &:hover { + color: on(dark, secondary) !important; + background-color: on(dark, divider) !important; + + &.clock-display { + .clock { + background-color: on(dark, divider) !important; + } + } + } + + &:active, &:checked, &:focus { + color: on(dark) !important; + background-color: on(dark, track) !important; + + &.clock-display { + .clock { + background-color: on(dark, track) !important; + } + } + } + + &:hover, &:active, &:overview, &:focus, &:checked { + &.clock-display { + background-color: transparent !important; + + .clock { + color: on(dark) !important; + } + } + } + } +} + +.overview-components-transparent, +.overview-components-light, +.overview-components-dark { + .search-entry { + caret-color: on(dark) !important; + + .search-entry-icon { + color: on(dark, secondary) !important; + } + + StLabel.hint-text { + color: on(dark, track) !important; + } + } + + .search-section-content { + border-radius: $icon_radius; + } + + .search-section-separator { + height: 0 !important; + background-color: transparent !important; + } +} diff --git a/src/sass/gtk/apps/_gnome-4.0.scss b/src/sass/gtk/apps/_gnome-4.0.scss index 5d7ec66a..b89bf995 100644 --- a/src/sass/gtk/apps/_gnome-4.0.scss +++ b/src/sass/gtk/apps/_gnome-4.0.scss @@ -1160,7 +1160,6 @@ $weather_forecast_color: #ae7b03; .forecast-card { transition: border-radius 100ms ease-out; border-radius: $corner-radius; - border-width: 1px 0; } .forecast-card separator { @@ -1177,6 +1176,7 @@ $weather_forecast_color: #ae7b03; margin-left: 0; margin-right: 0; border-radius: 0; + border-width: 1px 0; } .forecast-temperature-label {