From 0d112b29991a9c135c4a62af8c3e3cf77a7e273a Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Sat, 3 Aug 2024 12:20:06 +0000 Subject: [PATCH] themes: Define background color for GtkToolBar This widget is used primarily in plug-ins like GFig and IFS Compose which have toolbar buttons. This patch explicitly defines the style to prevent system theme leaks and too dark colors on Middle Gray theme. --- themes/Default/common.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/themes/Default/common.css b/themes/Default/common.css index 29ed6aa255..49df9f83f8 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -254,6 +254,12 @@ toolbutton button.flat:checked:active:hover { border-color: @hover-color; } +/* Style for GtkToolBar, primarily used in plug-ins + * with toolbars like Image Map and Animation Play */ +toolbar { + background-color: @widget-bg-color; +} + /* Prevent overly thick border around image buttons */ .image-button image, button image { -gtk-icon-shadow: 0 0 transparent;