From 7230ab23c9ffc10ef53ed9e9c5f2829eb65e9e70 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Tue, 3 Jan 2023 21:08:17 +0800 Subject: [PATCH] update --- src/gnome-shell/sass/widgets/_dash.scss | 4 ++-- src/gnome-shell/shell-40-0/gnome-shell-Compact.css | 3 ++- src/gnome-shell/shell-40-0/gnome-shell-Dark-Compact.css | 3 ++- src/gnome-shell/shell-40-0/gnome-shell-Dark.css | 3 ++- src/gnome-shell/shell-40-0/gnome-shell.css | 3 ++- src/gnome-shell/shell-42-0/gnome-shell-Compact.css | 3 ++- src/gnome-shell/shell-42-0/gnome-shell-Dark-Compact.css | 3 ++- src/gnome-shell/shell-42-0/gnome-shell-Dark.css | 3 ++- src/gnome-shell/shell-42-0/gnome-shell.css | 3 ++- 9 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/gnome-shell/sass/widgets/_dash.scss b/src/gnome-shell/sass/widgets/_dash.scss index 9126075..e2ea915 100644 --- a/src/gnome-shell/sass/widgets/_dash.scss +++ b/src/gnome-shell/sass/widgets/_dash.scss @@ -67,11 +67,11 @@ $dash_border_radius: if($corner_style == 'circular', $circular_radius, $buttons_ .dash-label { border-radius: if($corner_style == 'circular', $circular_radius, $material_radius); padding: $container_padding $container_padding * 2; + margin: $container_margin * 2 $container_margin; color: $inverse_fg_color; background-color: rgba(black, 0.75); border: none; box-shadow: $shadow_2; text-align: center; - // margin-bottom: $container_padding; - -y-offset: $container_margin * 2; // distance from the dash edge + -y-offset: 0; // distance from the dash edge } 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 b425a16..7c4e4f9 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-Compact.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-Compact.css @@ -2368,12 +2368,13 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .dash-label { border-radius: 9999px; padding: 4px 8px; + margin: 4px 2px; color: rgba(255, 255, 255, 0.85); background-color: rgba(0, 0, 0, 0.75); border: none; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345); text-align: center; - -y-offset: 4px; + -y-offset: 0; } /* App Grid */ 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 91efe6b..8e36910 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 @@ -2368,12 +2368,13 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .dash-label { border-radius: 9999px; padding: 4px 8px; + margin: 4px 2px; color: rgba(255, 255, 255, 0.85); background-color: rgba(0, 0, 0, 0.75); border: none; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345); text-align: center; - -y-offset: 4px; + -y-offset: 0; } /* App Grid */ 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 52824e1..4c0f0c7 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell-Dark.css +++ b/src/gnome-shell/shell-40-0/gnome-shell-Dark.css @@ -2368,12 +2368,13 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .dash-label { border-radius: 9999px; padding: 6px 12px; + margin: 8px 4px; color: rgba(255, 255, 255, 0.85); background-color: rgba(0, 0, 0, 0.75); border: none; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345); text-align: center; - -y-offset: 8px; + -y-offset: 0; } /* App Grid */ diff --git a/src/gnome-shell/shell-40-0/gnome-shell.css b/src/gnome-shell/shell-40-0/gnome-shell.css index 55e9aee..258178b 100644 --- a/src/gnome-shell/shell-40-0/gnome-shell.css +++ b/src/gnome-shell/shell-40-0/gnome-shell.css @@ -2368,12 +2368,13 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .dash-label { border-radius: 9999px; padding: 6px 12px; + margin: 8px 4px; color: rgba(255, 255, 255, 0.85); background-color: rgba(0, 0, 0, 0.75); border: none; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345); text-align: center; - -y-offset: 8px; + -y-offset: 0; } /* App Grid */ 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 5b4c02e..0c7b55f 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell-Compact.css +++ b/src/gnome-shell/shell-42-0/gnome-shell-Compact.css @@ -2713,12 +2713,13 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .dash-label { border-radius: 9999px; padding: 4px 8px; + margin: 4px 2px; color: rgba(255, 255, 255, 0.85); background-color: rgba(0, 0, 0, 0.75); border: none; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345); text-align: center; - -y-offset: 4px; + -y-offset: 0; } /* App Grid */ 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 807aa50..e2a2d7d 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 @@ -2717,12 +2717,13 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .dash-label { border-radius: 9999px; padding: 4px 8px; + margin: 4px 2px; color: rgba(255, 255, 255, 0.85); background-color: rgba(0, 0, 0, 0.75); border: none; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345); text-align: center; - -y-offset: 4px; + -y-offset: 0; } /* App Grid */ 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 5f95f62..0c4dd5e 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell-Dark.css +++ b/src/gnome-shell/shell-42-0/gnome-shell-Dark.css @@ -2717,12 +2717,13 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .dash-label { border-radius: 9999px; padding: 6px 12px; + margin: 8px 4px; color: rgba(255, 255, 255, 0.85); background-color: rgba(0, 0, 0, 0.75); border: none; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345); text-align: center; - -y-offset: 8px; + -y-offset: 0; } /* App Grid */ diff --git a/src/gnome-shell/shell-42-0/gnome-shell.css b/src/gnome-shell/shell-42-0/gnome-shell.css index 24ee268..361b0c7 100644 --- a/src/gnome-shell/shell-42-0/gnome-shell.css +++ b/src/gnome-shell/shell-42-0/gnome-shell.css @@ -2713,12 +2713,13 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { .dash-label { border-radius: 9999px; padding: 6px 12px; + margin: 8px 4px; color: rgba(255, 255, 255, 0.85); background-color: rgba(0, 0, 0, 0.75); border: none; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345); text-align: center; - -y-offset: 8px; + -y-offset: 0; } /* App Grid */