From bb52535a2949fb44b8959a443ac2da508e7c23be Mon Sep 17 00:00:00 2001 From: Philipp Date: Mon, 6 Nov 2023 15:06:12 +0100 Subject: [PATCH] fix: revert `djs-dragging` CSS class changes Related to bpmn-io/bpmn-js#2002 Related to bpmn-io/bpmn-js#2010 --- assets/diagram-js.css | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/assets/diagram-js.css b/assets/diagram-js.css index f869ef75b..aa73088be 100644 --- a/assets/diagram-js.css +++ b/assets/diagram-js.css @@ -40,7 +40,6 @@ --context-pad-entry-hover-background-color: var(--color-grey-225-10-95); --element-dragger-color: var(--color-blue-205-100-50); - --element-dragging-color: var(--color-grey-225-10-75); --element-hover-outline-fill-color: var(--color-blue-205-100-45); --element-selected-outline-stroke-color: var(--color-blue-205-100-50); --element-selected-outline-secondary-stroke-color: var(--color-blue-205-100-70); @@ -283,40 +282,10 @@ marker.djs-dragger tspan { .djs-dragging, .djs-dragging > * { + opacity: 0.3 !important; pointer-events: none !important; } -.djs-dragging .djs-context-pad, -.djs-dragging .djs-outline { - display: none !important; -} - -.djs-dragging * { - fill: none !important; - stroke: var(--element-dragging-color) !important; -} - -.djs-dragging tspan, -.djs-dragging text { - fill: var(--element-dragging-color) !important; - stroke: none !important; -} - -marker.djs-dragging circle, -marker.djs-dragging path, -marker.djs-dragging polygon, -marker.djs-dragging polyline, -marker.djs-dragging rect { - fill: var(--element-dragging-color) !important; - stroke: none !important; -} - -marker.djs-dragging text, -marker.djs-dragging tspan { - fill: none !important; - stroke: var(--element-dragging-color) !important; -} - /** * no pointer events for visual */