From 9b917b8dfb219b3df56bd19abf539ce5a4eb6035 Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Sun, 1 Sep 2024 11:59:57 +0000 Subject: [PATCH] themes: Define top menubar menu backgrounds Previously, the "menuitem menuitem" style was cascading down to the top menubar's subitems. This patch explicitly defines the CSS to match the 2.10 style and prevent cascading. --- themes/Default/common.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/themes/Default/common.css b/themes/Default/common.css index 5b14af0ec4..8c83e4bf4f 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -550,7 +550,18 @@ menuitem menuitem { /* A top (File, Edit) menubar item when its menu is expanded. */ menubar > menuitem:hover { color: @fg-color; - background: @extreme-selected-color; + background: @extreme-bg-color; +} + +/* Top menubar subitem style */ +menubar menu menuitem { + color: @fg-color; + background-color: @bg-color; +} + +menubar menu menuitem:hover { + color: @fg-color; + background-color: @extreme-bg-color; } menuitem *:hover {