themes: Keep headerbar color consistent when out of focus

On some system themes, the background color of
menu items on a merged headerbar would be a
different color from the rest of the menu when
GIMP's main window was out of focus.
This patch defines those items as clear so they become
whatever color the rest of the headerbar is instead.
This commit is contained in:
Alx Sa 2025-03-21 12:02:11 +00:00
parent af754df863
commit 484b9cfe62

View file

@ -756,6 +756,10 @@ headerbar:backdrop * {
color: @disabled-fg-color;
}
headerbar:backdrop menuitem {
background-color: transparent;
}
/* Prevent overlapping menu/header borderlines for CSD */
headerbar button.titlebutton, headerbar > menubar {
box-shadow: none;