Skip to content

Commit

Permalink
Merge pull request #101 from camunda-community-hub/update-bpmn-js
Browse files Browse the repository at this point in the history
feat: Show the connector icons on the diagram
  • Loading branch information
saig0 authored Feb 6, 2023
2 parents bd402f6 + 6926ca4 commit fa33c99
Show file tree
Hide file tree
Showing 9 changed files with 1,223 additions and 22,381 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/public/css/base-navigated-viewer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import './diagram-js.css';
@import './bpmn-js.css';
36 changes: 32 additions & 4 deletions src/main/resources/public/css/bpmn-js.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
--color-grey-225-10-80: hsl(225, 10%, 80%);
--color-grey-225-10-85: hsl(225, 10%, 85%);
--color-grey-225-10-90: hsl(225, 10%, 90%);
--color-grey-225-10-95: hsl(225, 10%, 95%);
--color-grey-225-10-95: hsl(225, 10%, 95%);
--color-grey-225-10-97: hsl(225, 10%, 97%);

--color-blue-205-100-45: hsl(205, 100%, 45%);
Expand All @@ -24,8 +24,8 @@
--color-red-360-100-97: hsl(360, 100%, 97%);

--color-white: hsl(0, 0%, 100%);
--color-black: hsl(0, 0%, 0%);
--color-black-opacity-05: hsla(0, 0%, 0%, 5%);
--color-black: hsl(0, 0%, 0%);
--color-black-opacity-05: hsla(0, 0%, 0%, 5%);
--color-black-opacity-10: hsla(0, 0%, 0%, 10%);

--breadcrumbs-font-family: var(--bjs-font-family);
Expand Down Expand Up @@ -113,4 +113,32 @@

.selected .bjs-drilldown-empty {
display: inherit;
}
}

[data-popup="align-elements"] .djs-popup-results {
display: flex;
}

[data-popup="align-elements"] .djs-popup-body [data-group] + [data-group] {
border-left: 1px solid var(--popup-border-color);
}

[data-popup="align-elements"] [data-group="align"] {
display: grid;
grid-template-columns: repeat(3, 1fr);
}

[data-popup="align-elements"] .djs-popup-body .entry {
padding: 6px 8px;
}

[data-popup="align-elements"] .djs-popup-body .entry:not(:first-child) {
margin-top: 0;
}

[data-popup="align-elements"] .djs-popup-entry-icon {
display: block;
margin: 0;
height: 20px;
width: 20px;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import './base-navigated-viewer.css';
Loading

0 comments on commit fa33c99

Please sign in to comment.