Skip to content

Commit

Permalink
feat(css): remove higlighting for connections
Browse files Browse the repository at this point in the history
  • Loading branch information
marstamm authored and fake-join[bot] committed May 24, 2022
1 parent e49eace commit 02e94f0
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions assets/diagram-js.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,20 @@ svg.new-parent {
background: var(--shape-drop-allowed-fill-color) !important;
}

.djs-connection.connect-ok .djs-visual > :nth-child(1),
.djs-connection.drop-ok .djs-visual > :nth-child(1) {
stroke: var(--shape-drop-allowed-fill-color) !important;
}

.djs-connection.connect-not-ok .djs-visual > :nth-child(1),
.djs-connection.drop-not-ok .djs-visual > :nth-child(1) {
stroke: var(--shape-drop-not-allowed-fill-color) !important;
/* Override move cursor during drop and connect */
.drop-not-ok,
.connect-not-ok,
.drop-not-ok *,
.connect-not-ok * {
cursor: not-allowed !important;
}

.drop-not-ok,
.connect-not-ok {
cursor: not-allowed;
.drop-ok,
.connect-ok,
.drop-ok *,
.connect-ok * {
cursor: default !important;
}

.djs-element.attach-ok .djs-visual > :nth-child(1) {
Expand Down

0 comments on commit 02e94f0

Please sign in to comment.