From bcf56972894b4333314db258b6779913294a19af Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Tue, 14 May 2024 15:13:49 +0000 Subject: [PATCH] themes: Define GtkListBox row styles Resolves #11531 GtkListBox's CSS was previously defined, but GtkListBoxRow did not inherit those values. This patch explicitly defines this so we do not have system theme leaks. --- themes/Default/common.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/themes/Default/common.css b/themes/Default/common.css index 216ac845ad..29ed6aa255 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -600,10 +600,18 @@ actionbar revealer box { /* GtkListBox widgets */ -list { +list, list row { background-color: @widget-bg-color; } +list row:selected { + background-color: @selected-color; +} + +list row:hover { + background-color: @hover-color; +} + /* GtkSwitch buttons */ switch {