camunda-bpmn-js 4.20.2 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,6 +83,7 @@
83
83
  --search-input-focus-background-color: var(--color-blue-205-100-95);
84
84
  --search-result-hover-background-color: var(--color-grey-225-10-95);
85
85
  --search-result-secondary-color: var(--color-grey-225-10-55);
86
+ --search-preselected-background-color: var(--color-blue-205-100-50-opacity-15);
86
87
 
87
88
  --shape-attach-allowed-stroke-color: var(--color-blue-205-100-50);
88
89
  --shape-connect-allowed-fill-color: var(--color-grey-225-10-97);
@@ -99,6 +100,18 @@
99
100
  --tooltip-error-color: var(--color-red-360-100-45);
100
101
  }
101
102
 
103
+ /**
104
+ * SVG styles
105
+ */
106
+
107
+ .djs-container svg.drop-not-ok {
108
+ background: var(--shape-drop-not-allowed-fill-color) !important;
109
+ }
110
+
111
+ .djs-container svg.new-parent {
112
+ background: var(--shape-drop-allowed-fill-color) !important;
113
+ }
114
+
102
115
  /**
103
116
  * outline styles
104
117
  */
@@ -146,14 +159,6 @@
146
159
  fill: var(--shape-drop-allowed-fill-color) !important;
147
160
  }
148
161
 
149
- svg.drop-not-ok {
150
- background: var(--shape-drop-not-allowed-fill-color) !important;
151
- }
152
-
153
- svg.new-parent {
154
- background: var(--shape-drop-allowed-fill-color) !important;
155
- }
156
-
157
162
 
158
163
  /* Override move cursor during drop and connect */
159
164
  .drop-not-ok,
@@ -979,6 +984,10 @@ svg.new-parent {
979
984
  background: var(--search-result-hover-background-color);
980
985
  }
981
986
 
987
+ .djs-element.djs-search-preselected .djs-outline {
988
+ fill: var(--search-preselected-background-color) !important;
989
+ }
990
+
982
991
  /**
983
992
  * hidden styles
984
993
  */