From e9b576fa691f619435e870139d63934b13a8bdfe Mon Sep 17 00:00:00 2001 From: Achill Gilgenast Date: Sun, 10 Aug 2025 22:25:53 +0200 Subject: [PATCH 1/2] phosh-keypad: Use alpha when focused Follow-Up from https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1250 Signed-off-by: Achill Gilgenast Part-of: --- src/stylesheet/common.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/stylesheet/common.css b/src/stylesheet/common.css index a8c48be2e..cb9ddc133 100644 --- a/src/stylesheet/common.css +++ b/src/stylesheet/common.css @@ -542,6 +542,13 @@ phosh-keypad button:active image { -gtk-icon-shadow: none; } +phosh-keypad button:active, +phosh-keypad button:hover, +phosh-keypad button:hover:active, +phosh-keypad button:focus { + background: alpha(@phosh_fg_color, 0.3); +} + phosh-lockscreen .text-only-button { font-size: 16px; font-weight: bold; -- GitLab From a3fa00bcec50c405494d734e99f9ea66f1fd7505 Mon Sep 17 00:00:00 2001 From: Achill Gilgenast Date: Sun, 10 Aug 2025 22:25:31 +0200 Subject: [PATCH 2/2] phosh-search-bar: Use alpha background color Doesn't look so out of place in the overview Signed-off-by: Achill Gilgenast Part-of: --- src/stylesheet/adwaita-hc-light.css | 3 +++ src/stylesheet/common.css | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/stylesheet/adwaita-hc-light.css b/src/stylesheet/adwaita-hc-light.css index 9ab39f508..1d4abc03b 100644 --- a/src/stylesheet/adwaita-hc-light.css +++ b/src/stylesheet/adwaita-hc-light.css @@ -64,3 +64,6 @@ phosh-keypad image { -gtk-icon-shadow: none; } +.phosh-search-bar { + background-color: @phosh_button_bg_color; +} diff --git a/src/stylesheet/common.css b/src/stylesheet/common.css index cb9ddc133..07f46fc70 100644 --- a/src/stylesheet/common.css +++ b/src/stylesheet/common.css @@ -355,7 +355,7 @@ phosh-home { border-radius: 9999px; padding: 3px 18px 3px 14px; border: 1px solid transparent; - background-color: @phosh_button_bg_color; + background-color: alpha(@phosh_bg_color,.6); color: inherit; } -- GitLab