From 03b6e5fe1690b0bae02d237b0eb8f02816550dfd Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Tue, 31 Dec 2024 11:30:04 -0500 Subject: [PATCH] themes: Define color for tree dnd borders This patch adds CSS styling to define the color of the underline/overline when dragging an item in a layer tree. This prevents a system theme leak and keeps the color consistent with the current theme's coloring. --- themes/Default/common.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/themes/Default/common.css b/themes/Default/common.css index 0eadfd7080..11568f2a2c 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -59,6 +59,13 @@ border: 1px solid @stronger-border-color; } +/* Define color for drag and drop borders + * in Layer/Channel/Path dockables */ +GimpDock .view:drop(active) { + border-bottom-color: @dimmed-fg-color; + border-top-color: @dimmed-fg-color; +} + /* Define the mouse-over color for the path * buttons in the various file dialogs. */