From d40140e84634e893648749eeb1b17fd2fb6729da Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Tue, 3 Jan 2023 20:59:20 +0800 Subject: [PATCH] update --- src/gnome-shell/sass/widgets/_panel.scss | 9 +++++---- src/gnome-shell/shell-40-0/gnome-shell-Compact.css | 5 +++++ src/gnome-shell/shell-40-0/gnome-shell-Dark-Compact.css | 5 +++++ src/gnome-shell/shell-40-0/gnome-shell-Dark.css | 7 ++++++- src/gnome-shell/shell-40-0/gnome-shell.css | 7 ++++++- src/gnome-shell/shell-42-0/gnome-shell-Compact.css | 5 +++++ src/gnome-shell/shell-42-0/gnome-shell-Dark-Compact.css | 5 +++++ src/gnome-shell/shell-42-0/gnome-shell-Dark.css | 7 ++++++- src/gnome-shell/shell-42-0/gnome-shell.css | 7 ++++++- 9 files changed, 49 insertions(+), 8 deletions(-) diff --git a/src/gnome-shell/sass/widgets/_panel.scss b/src/gnome-shell/sass/widgets/_panel.scss index 2e00c57..7c41a10 100644 --- a/src/gnome-shell/sass/widgets/_panel.scss +++ b/src/gnome-shell/sass/widgets/_panel.scss @@ -96,7 +96,7 @@ $panel_transition_duration: 250ms; // same as the overview transition duration // status area icons .system-status-icon { icon-size: 16px; - padding: 6px; + padding: $container_padding * 1.5; margin: 0 3px; } @@ -108,9 +108,10 @@ $panel_transition_duration: 250ms; // same as the overview transition duration margin: 0; } - // .panel-status-indicators-box .system-status-icon { - // margin: 0 3px; - // } + .panel-status-indicators-box .system-status-icon { + margin: 0 !important; + padding: $container_padding !important; + } .appindicator-trayicons-box { margin: 0 6px; 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 f6facde..b425a16 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-Compact.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-Compact.css @@ -1986,6 +1986,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 0; } +#panel .panel-button .panel-status-indicators-box .system-status-icon { + margin: 0 !important; + padding: 4px !important; +} + #panel .panel-button .appindicator-trayicons-box { margin: 0 6px; } 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 d0daa30..91efe6b 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 @@ -1986,6 +1986,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 0; } +#panel .panel-button .panel-status-indicators-box .system-status-icon { + margin: 0 !important; + padding: 4px !important; +} + #panel .panel-button .appindicator-trayicons-box { margin: 0 6px; } 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 ffea266..52824e1 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-Dark.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-Dark.css @@ -1974,7 +1974,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { #panel .panel-button .system-status-icon { icon-size: 16px; - padding: 6px; + padding: 9px; margin: 0 3px; } @@ -1986,6 +1986,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 0; } +#panel .panel-button .panel-status-indicators-box .system-status-icon { + margin: 0 !important; + padding: 6px !important; +} + #panel .panel-button .appindicator-trayicons-box { margin: 0 6px; } diff --git a/src/gnome-shell/shell-40-0/gnome-shell.css b/src/gnome-shell/shell-40-0/gnome-shell.css index 6a5d420..55e9aee 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell.css +++ b/src/gnome-shell/shell-40-0/gnome-shell.css @@ -1974,7 +1974,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { #panel .panel-button .system-status-icon { icon-size: 16px; - padding: 6px; + padding: 9px; margin: 0 3px; } @@ -1986,6 +1986,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 0; } +#panel .panel-button .panel-status-indicators-box .system-status-icon { + margin: 0 !important; + padding: 6px !important; +} + #panel .panel-button .appindicator-trayicons-box { margin: 0 6px; } 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 c65a65e..5b4c02e 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell-Compact.css +++ b/src/gnome-shell/shell-42-0/gnome-shell-Compact.css @@ -2331,6 +2331,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 0; } +#panel .panel-button .panel-status-indicators-box .system-status-icon { + margin: 0 !important; + padding: 4px !important; +} + #panel .panel-button .appindicator-trayicons-box { margin: 0 6px; } 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 5d2015c..807aa50 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 @@ -2335,6 +2335,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 0; } +#panel .panel-button .panel-status-indicators-box .system-status-icon { + margin: 0 !important; + padding: 4px !important; +} + #panel .panel-button .appindicator-trayicons-box { margin: 0 6px; } 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 6fbdeee..5f95f62 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell-Dark.css +++ b/src/gnome-shell/shell-42-0/gnome-shell-Dark.css @@ -2323,7 +2323,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { #panel .panel-button .system-status-icon { icon-size: 16px; - padding: 6px; + padding: 9px; margin: 0 3px; } @@ -2335,6 +2335,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 0; } +#panel .panel-button .panel-status-indicators-box .system-status-icon { + margin: 0 !important; + padding: 6px !important; +} + #panel .panel-button .appindicator-trayicons-box { margin: 0 6px; } diff --git a/src/gnome-shell/shell-42-0/gnome-shell.css b/src/gnome-shell/shell-42-0/gnome-shell.css index 444ca99..24ee268 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell.css +++ b/src/gnome-shell/shell-42-0/gnome-shell.css @@ -2319,7 +2319,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { #panel .panel-button .system-status-icon { icon-size: 16px; - padding: 6px; + padding: 9px; margin: 0 3px; } @@ -2331,6 +2331,11 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { margin: 0; } +#panel .panel-button .panel-status-indicators-box .system-status-icon { + margin: 0 !important; + padding: 6px !important; +} + #panel .panel-button .appindicator-trayicons-box { margin: 0 6px; }