From 0a94d27beffa22f612f63da206eafdd93b467c1b Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Fri, 17 Jan 2025 16:47:30 +0000 Subject: [PATCH] themes: Additional system theme leak fixes While testing an AppImage, I noticed a thick border around the "Show All Files" in the File Open dialogue. This is because the background color for the actionbar is not defined, and if the internal padding is increased by the system theme, it's visible. Therefore we define the color. I also noticed that the GtkSwitch had a rectangle border rather than a rounded one. This patch defines the border radius as well. --- themes/Default/common.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/Default/common.css b/themes/Default/common.css index 951f4f87bc..c21b5142f7 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -645,6 +645,10 @@ menu separator { margin: 0; } +actionbar { + background-color: @bg-color; +} + /* Defines the border around the Save Image actionbar options */ actionbar revealer box { border-width: 0px; @@ -687,8 +691,8 @@ list row:hover { switch { background-color: @bg-color; - background-image: none; border: 1px solid @stronger-border-color; + border-radius: 14px; } /* The switch button is hard to understand without color.