From 2bbe19589d79918aee65af540a64976c977b5ea4 Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Mon, 7 Jul 2025 19:24:02 +0000 Subject: [PATCH] themes: Prevent system theme leak in dialogue frames Resolves #14421 This patch provides a CSS rule for GtkFrame borders inside of a dialogue (see Filmstrip plug-in GUI for an example) to prevent a system theme leak from altering the color. --- themes/Default/common.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/themes/Default/common.css b/themes/Default/common.css index 20a41cb2a2..faf0280ce4 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -670,6 +670,11 @@ border { border: 0px; } +/* The border around frames in dialogs */ +dialog .frame { + border: 1px solid @border-color; +} + /* The border around GimpOffsetArea frame in resize dialogs */ .gimp-offset-area-frame { border: solid 2px @stronger-border-color;