From b5cec9db23e728ddc073cb5949813685a3f7a03a 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 --- assets/diagram-js.css | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/assets/diagram-js.css b/assets/diagram-js.css index f869ef75b..2ff8c06ec 100644 --- a/assets/diagram-js.css +++ b/assets/diagram-js.css @@ -281,40 +281,9 @@ marker.djs-dragger tspan { stroke: var(--element-dragger-color) !important; } -.djs-dragging, -.djs-dragging > * { - 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; +.djs-dragging { + opacity: 0.3; + pointer-events: none; } /**