Skip to content

Commit

Permalink
fix: revert djs-dragging CSS class changes
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme committed Nov 6, 2023
1 parent cae4980 commit bb52535
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions assets/diagram-js.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit bb52535

Please sign in to comment.