From de41deb5c985f0f4938ff76259ea22a3187a6901 Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Wed, 5 Mar 2025 03:40:18 +0000 Subject: [PATCH] themes: System theme leak definitions Defines the background color behind GtkNotebook tabs, removes the background image from GimpSpinScale progressbar, and specifies the padding and border width for toolbuttons to prevent offset issues when hovered over. --- themes/Default/common.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/themes/Default/common.css b/themes/Default/common.css index 5ae7938742..1199c91b15 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -178,6 +178,10 @@ notebook header button { box-shadow: none; } +notebook header tabs { + background-color: transparent; +} + /* Use this to make a border or padding around each tab */ notebook header tabs tab { background-color: @bg-color; @@ -201,6 +205,10 @@ notebook header tabs tab:hover { background-color: @hover-color; } +notebook header tabs arrow:disabled { + background-color: @widget-bg-color; +} + /* Add margin to image tabs so the close button fits */ notebook header tabs tab > box > button { @@ -245,10 +253,17 @@ notebook header tabs tab > box > button background-color: @hover-color; } +toolbutton button { + padding: 4px 5px; + border: 1px solid transparent; +} +toolbutton button:hover { + border-color: @strong-border-color; +} + /* .flat covers the tool buttons and the buttons at the bottom * of the Toolbox window. */ - toolbutton button.flat { background-color: @bg-color; color: @fg-color; @@ -489,6 +504,7 @@ GimpSpinScale entry { GimpSpinScale entry progress { background-color: @extreme-bg-color; + background-image: none; border-width: 0px; border-radius: 3px 0px 0px 3px; margin: 0px -8px 0px -5px;