From a1a4a1827e1515f3b2a1d6a93505503197c2172b Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Wed, 20 Jul 2022 11:49:28 +0800 Subject: [PATCH] Fixed #222 --- src/gnome-shell/sass/_extensions-40-0.scss | 35 +++++++++++++++++++ .../shell-40-0/gnome-shell-Compact.css | 25 +++++++++++++ .../shell-40-0/gnome-shell-Dark-Compact.css | 25 +++++++++++++ .../shell-40-0/gnome-shell-Dark.css | 25 +++++++++++++ src/gnome-shell/shell-40-0/gnome-shell.css | 25 +++++++++++++ .../shell-42-0/gnome-shell-Compact.css | 25 +++++++++++++ .../shell-42-0/gnome-shell-Dark-Compact.css | 25 +++++++++++++ .../shell-42-0/gnome-shell-Dark.css | 25 +++++++++++++ src/gnome-shell/shell-42-0/gnome-shell.css | 25 +++++++++++++ 9 files changed, 235 insertions(+) diff --git a/src/gnome-shell/sass/_extensions-40-0.scss b/src/gnome-shell/sass/_extensions-40-0.scss index c95000b..2817918 100644 --- a/src/gnome-shell/sass/_extensions-40-0.scss +++ b/src/gnome-shell/sass/_extensions-40-0.scss @@ -135,6 +135,41 @@ &-build-icon { color: $secondary_fg_color; } } +.popup-sub-menu .openweather { + &-current { + &-icon, + &-summary, + &-summarybox { + background: none; + color: rgba(black, 0.95); + } + + &-databox-values { + color: rgba(black, 0.75); + } + + &-databox-captions { + color: rgba(black, 0.75); + } + } + + &-forecast { + &-icon, + &-summary { + color: rgba(black, 0.85); + } + + &-day, + &-temperature { + color: rgba(black, 0.75); + } + } + + &-sunrise-icon, + &-sunset-icon, + &-build-icon { color: rgba(black, 0.85); } +} + // // Pop_OS cosmic widget styling // diff --git a/src/gnome-shell/shell-40-0/gnome-shell-Compact.css b/src/gnome-shell/shell-40-0/gnome-shell-Compact.css index 77b0ea0..2aedf89 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-Compact.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-Compact.css @@ -3448,6 +3448,31 @@ StWidget.focused .app-well-app-running-dot { color: rgba(0, 0, 0, 0.54); } +.popup-sub-menu .openweather-current-icon, .popup-sub-menu .openweather-current-summary, .popup-sub-menu .openweather-current-summarybox { + background: none; + color: rgba(0, 0, 0, 0.95); +} + +.popup-sub-menu .openweather-current-databox-values { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-current-databox-captions { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-forecast-icon, .popup-sub-menu .openweather-forecast-summary { + color: rgba(0, 0, 0, 0.85); +} + +.popup-sub-menu .openweather-forecast-day, .popup-sub-menu .openweather-forecast-temperature { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-sunrise-icon, .popup-sub-menu .openweather-sunset-icon, .popup-sub-menu .openweather-build-icon { + color: rgba(0, 0, 0, 0.85); +} + .cosmic-solid-bg { background-color: #222222; } diff --git a/src/gnome-shell/shell-40-0/gnome-shell-Dark-Compact.css b/src/gnome-shell/shell-40-0/gnome-shell-Dark-Compact.css index 43e1c7a..6bc50c3 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-Dark-Compact.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-Dark-Compact.css @@ -3448,6 +3448,31 @@ StWidget.focused .app-well-app-running-dot { color: rgba(255, 255, 255, 0.7); } +.popup-sub-menu .openweather-current-icon, .popup-sub-menu .openweather-current-summary, .popup-sub-menu .openweather-current-summarybox { + background: none; + color: rgba(0, 0, 0, 0.95); +} + +.popup-sub-menu .openweather-current-databox-values { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-current-databox-captions { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-forecast-icon, .popup-sub-menu .openweather-forecast-summary { + color: rgba(0, 0, 0, 0.85); +} + +.popup-sub-menu .openweather-forecast-day, .popup-sub-menu .openweather-forecast-temperature { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-sunrise-icon, .popup-sub-menu .openweather-sunset-icon, .popup-sub-menu .openweather-build-icon { + color: rgba(0, 0, 0, 0.85); +} + .cosmic-solid-bg { background-color: #222222; } diff --git a/src/gnome-shell/shell-40-0/gnome-shell-Dark.css b/src/gnome-shell/shell-40-0/gnome-shell-Dark.css index 2e21a71..fb182a6 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-Dark.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-Dark.css @@ -3448,6 +3448,31 @@ StWidget.focused .app-well-app-running-dot { color: rgba(255, 255, 255, 0.7); } +.popup-sub-menu .openweather-current-icon, .popup-sub-menu .openweather-current-summary, .popup-sub-menu .openweather-current-summarybox { + background: none; + color: rgba(0, 0, 0, 0.95); +} + +.popup-sub-menu .openweather-current-databox-values { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-current-databox-captions { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-forecast-icon, .popup-sub-menu .openweather-forecast-summary { + color: rgba(0, 0, 0, 0.85); +} + +.popup-sub-menu .openweather-forecast-day, .popup-sub-menu .openweather-forecast-temperature { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-sunrise-icon, .popup-sub-menu .openweather-sunset-icon, .popup-sub-menu .openweather-build-icon { + color: rgba(0, 0, 0, 0.85); +} + .cosmic-solid-bg { background-color: #222222; } diff --git a/src/gnome-shell/shell-40-0/gnome-shell.css b/src/gnome-shell/shell-40-0/gnome-shell.css index 97440b7..e5e09c7 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell.css +++ b/src/gnome-shell/shell-40-0/gnome-shell.css @@ -3448,6 +3448,31 @@ StWidget.focused .app-well-app-running-dot { color: rgba(0, 0, 0, 0.54); } +.popup-sub-menu .openweather-current-icon, .popup-sub-menu .openweather-current-summary, .popup-sub-menu .openweather-current-summarybox { + background: none; + color: rgba(0, 0, 0, 0.95); +} + +.popup-sub-menu .openweather-current-databox-values { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-current-databox-captions { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-forecast-icon, .popup-sub-menu .openweather-forecast-summary { + color: rgba(0, 0, 0, 0.85); +} + +.popup-sub-menu .openweather-forecast-day, .popup-sub-menu .openweather-forecast-temperature { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-sunrise-icon, .popup-sub-menu .openweather-sunset-icon, .popup-sub-menu .openweather-build-icon { + color: rgba(0, 0, 0, 0.85); +} + .cosmic-solid-bg { background-color: #222222; } diff --git a/src/gnome-shell/shell-42-0/gnome-shell-Compact.css b/src/gnome-shell/shell-42-0/gnome-shell-Compact.css index 0d48764..aefeb36 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell-Compact.css +++ b/src/gnome-shell/shell-42-0/gnome-shell-Compact.css @@ -3731,6 +3731,31 @@ StWidget.focused .app-well-app-running-dot { color: rgba(0, 0, 0, 0.54); } +.popup-sub-menu .openweather-current-icon, .popup-sub-menu .openweather-current-summary, .popup-sub-menu .openweather-current-summarybox { + background: none; + color: rgba(0, 0, 0, 0.95); +} + +.popup-sub-menu .openweather-current-databox-values { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-current-databox-captions { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-forecast-icon, .popup-sub-menu .openweather-forecast-summary { + color: rgba(0, 0, 0, 0.85); +} + +.popup-sub-menu .openweather-forecast-day, .popup-sub-menu .openweather-forecast-temperature { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-sunrise-icon, .popup-sub-menu .openweather-sunset-icon, .popup-sub-menu .openweather-build-icon { + color: rgba(0, 0, 0, 0.85); +} + .cosmic-solid-bg { background-color: #222222; } diff --git a/src/gnome-shell/shell-42-0/gnome-shell-Dark-Compact.css b/src/gnome-shell/shell-42-0/gnome-shell-Dark-Compact.css index 70c58a8..f3a5f87 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell-Dark-Compact.css +++ b/src/gnome-shell/shell-42-0/gnome-shell-Dark-Compact.css @@ -3731,6 +3731,31 @@ StWidget.focused .app-well-app-running-dot { color: rgba(255, 255, 255, 0.7); } +.popup-sub-menu .openweather-current-icon, .popup-sub-menu .openweather-current-summary, .popup-sub-menu .openweather-current-summarybox { + background: none; + color: rgba(0, 0, 0, 0.95); +} + +.popup-sub-menu .openweather-current-databox-values { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-current-databox-captions { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-forecast-icon, .popup-sub-menu .openweather-forecast-summary { + color: rgba(0, 0, 0, 0.85); +} + +.popup-sub-menu .openweather-forecast-day, .popup-sub-menu .openweather-forecast-temperature { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-sunrise-icon, .popup-sub-menu .openweather-sunset-icon, .popup-sub-menu .openweather-build-icon { + color: rgba(0, 0, 0, 0.85); +} + .cosmic-solid-bg { background-color: #222222; } diff --git a/src/gnome-shell/shell-42-0/gnome-shell-Dark.css b/src/gnome-shell/shell-42-0/gnome-shell-Dark.css index 6cf47c4..fea8c52 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell-Dark.css +++ b/src/gnome-shell/shell-42-0/gnome-shell-Dark.css @@ -3731,6 +3731,31 @@ StWidget.focused .app-well-app-running-dot { color: rgba(255, 255, 255, 0.7); } +.popup-sub-menu .openweather-current-icon, .popup-sub-menu .openweather-current-summary, .popup-sub-menu .openweather-current-summarybox { + background: none; + color: rgba(0, 0, 0, 0.95); +} + +.popup-sub-menu .openweather-current-databox-values { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-current-databox-captions { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-forecast-icon, .popup-sub-menu .openweather-forecast-summary { + color: rgba(0, 0, 0, 0.85); +} + +.popup-sub-menu .openweather-forecast-day, .popup-sub-menu .openweather-forecast-temperature { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-sunrise-icon, .popup-sub-menu .openweather-sunset-icon, .popup-sub-menu .openweather-build-icon { + color: rgba(0, 0, 0, 0.85); +} + .cosmic-solid-bg { background-color: #222222; } diff --git a/src/gnome-shell/shell-42-0/gnome-shell.css b/src/gnome-shell/shell-42-0/gnome-shell.css index 444f4f8..5cf2264 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell.css +++ b/src/gnome-shell/shell-42-0/gnome-shell.css @@ -3731,6 +3731,31 @@ StWidget.focused .app-well-app-running-dot { color: rgba(0, 0, 0, 0.54); } +.popup-sub-menu .openweather-current-icon, .popup-sub-menu .openweather-current-summary, .popup-sub-menu .openweather-current-summarybox { + background: none; + color: rgba(0, 0, 0, 0.95); +} + +.popup-sub-menu .openweather-current-databox-values { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-current-databox-captions { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-forecast-icon, .popup-sub-menu .openweather-forecast-summary { + color: rgba(0, 0, 0, 0.85); +} + +.popup-sub-menu .openweather-forecast-day, .popup-sub-menu .openweather-forecast-temperature { + color: rgba(0, 0, 0, 0.75); +} + +.popup-sub-menu .openweather-sunrise-icon, .popup-sub-menu .openweather-sunset-icon, .popup-sub-menu .openweather-build-icon { + color: rgba(0, 0, 0, 0.85); +} + .cosmic-solid-bg { background-color: #222222; }