camunda-bpmn-js 0.13.1 → 0.15.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +276 -243
  2. package/LICENSE +20 -20
  3. package/README.md +84 -84
  4. package/dist/assets/base-modeler.css +4 -4
  5. package/dist/assets/base-navigated-viewer.css +1 -1
  6. package/dist/assets/base-viewer.css +1 -1
  7. package/dist/assets/bpmn-js.css +33 -4
  8. package/dist/assets/camunda-cloud-modeler.css +1 -1
  9. package/dist/assets/camunda-platform-modeler.css +1 -1
  10. package/dist/assets/diagram-js.css +55 -51
  11. package/dist/assets/element-templates.css +4 -0
  12. package/dist/assets/properties-panel.css +929 -900
  13. package/dist/base-modeler.development.js +6965 -6128
  14. package/dist/base-modeler.production.min.js +4 -4
  15. package/dist/base-navigated-viewer.development.js +21592 -21216
  16. package/dist/base-navigated-viewer.production.min.js +3 -2
  17. package/dist/base-viewer.development.js +20793 -20417
  18. package/dist/base-viewer.production.min.js +3 -2
  19. package/dist/camunda-cloud-modeler.development.js +9564 -8668
  20. package/dist/camunda-cloud-modeler.production.min.js +4 -4
  21. package/dist/camunda-cloud-navigated-viewer.development.js +689 -368
  22. package/dist/camunda-cloud-navigated-viewer.production.min.js +2 -2
  23. package/dist/camunda-cloud-viewer.development.js +688 -367
  24. package/dist/camunda-cloud-viewer.production.min.js +2 -2
  25. package/dist/camunda-platform-modeler.development.js +7141 -6455
  26. package/dist/camunda-platform-modeler.production.min.js +4 -4
  27. package/dist/camunda-platform-navigated-viewer.development.js +667 -261
  28. package/dist/camunda-platform-navigated-viewer.production.min.js +2 -2
  29. package/dist/camunda-platform-viewer.development.js +666 -260
  30. package/dist/camunda-platform-viewer.production.min.js +2 -2
  31. package/lib/base/Modeler.js +46 -46
  32. package/lib/base/NavigatedViewer.js +2 -2
  33. package/lib/base/Viewer.js +2 -2
  34. package/lib/camunda-cloud/Modeler.js +68 -68
  35. package/lib/camunda-cloud/NavigatedViewer.js +34 -34
  36. package/lib/camunda-cloud/Viewer.js +34 -34
  37. package/lib/camunda-cloud/features/context-pad/ContextPadOptions.js +15 -15
  38. package/lib/camunda-cloud/features/context-pad/index.js +6 -6
  39. package/lib/camunda-cloud/features/drilldown/index.js +3 -3
  40. package/lib/camunda-cloud/features/palette/PaletteOptions.js +14 -14
  41. package/lib/camunda-cloud/features/palette/PaletteProvider.js +31 -31
  42. package/lib/camunda-cloud/features/palette/index.js +6 -6
  43. package/lib/camunda-cloud/features/popup-menu/ReplaceMenuProvider.js +71 -71
  44. package/lib/camunda-cloud/features/popup-menu/ReplaceOptions.js +46 -46
  45. package/lib/camunda-cloud/features/popup-menu/index.js +6 -6
  46. package/lib/camunda-cloud/features/rules/BpmnRules.js +137 -137
  47. package/lib/camunda-cloud/features/rules/index.js +5 -5
  48. package/lib/camunda-cloud/util/commonModules.js +13 -13
  49. package/lib/camunda-platform/Modeler.js +46 -46
  50. package/lib/camunda-platform/NavigatedViewer.js +25 -25
  51. package/lib/camunda-platform/Viewer.js +24 -24
  52. package/lib/camunda-platform/util/commonModules.js +6 -6
  53. package/lib/util/ExtensionElementsUtil.js +59 -59
  54. package/package.json +110 -103
  55. package/styles/base-modeler.css +4 -4
  56. package/styles/base-navigated-viewer.css +1 -1
  57. package/styles/base-viewer.css +1 -1
  58. package/styles/camunda-cloud-modeler.css +1 -1
  59. package/styles/camunda-platform-modeler.css +1 -1
  60. package/util/index.js +39 -39
@@ -1,901 +1,930 @@
1
- /**
2
- * Theming
3
- */
4
- .bio-properties-panel {
5
- --color-grey-225-10-15: hsl(225, 10%, 15%);
6
- --color-grey-225-10-35: hsl(225, 10%, 35%);
7
- --color-grey-225-10-55: hsl(225, 10%, 55%);
8
- --color-grey-225-10-75: hsl(225, 10%, 75%);
9
- --color-grey-225-10-80: hsl(225, 10%, 80%);
10
- --color-grey-225-10-85: hsl(225, 10%, 85%);
11
- --color-grey-225-10-90: hsl(225, 10%, 90%);
12
- --color-grey-225-10-95: hsl(225, 10%, 95%);
13
- --color-grey-225-10-97: hsl(225, 10%, 97%);
14
-
15
- --color-blue-205-100-45: hsl(205, 100%, 45%);
16
- --color-blue-205-100-50: hsl(205, 100%, 50%);
17
- --color-blue-205-100-95: hsl(205, 100%, 95%);
18
-
19
- --color-green-150-86-44: hsl(150, 86%, 44%);
20
-
21
- --color-red-360-100-40: hsl(360, 100%, 40%);
22
- --color-red-360-100-45: hsl(360, 100%, 45%);
23
- --color-red-360-100-92: hsl(360, 100%, 92%);
24
- --color-red-360-100-97: hsl(360, 100%, 97%);
25
-
26
- --color-white: white;
27
- --color-black: black;
28
- --color-transparent: transparent;
29
-
30
- --text-base-color: var(--color-grey-225-10-15);
31
- --text-error-color: var(--color-red-360-100-45);
32
- --link-color: var(--color-blue-205-100-50);
33
-
34
- --description-color: var(--color-grey-225-10-35);
35
- --description-code-background-color: var(--color-grey-225-10-97);
36
- --description-code-border-color: var(--color-grey-225-10-85);
37
- --description-list-item-color: var(--color-grey-225-10-35);
38
-
39
- --placeholder-color: var(--color-grey-225-10-75);
40
-
41
- --header-background-color: var(--color-grey-225-10-95);
42
- --header-icon-fill-color: var(--color-grey-225-10-15);
43
- --header-bottom-border-color: var(--color-grey-225-10-75);
44
-
45
- --group-background-color: var(--color-white);
46
- --group-bottom-border-color: var(--color-grey-225-10-75);
47
-
48
- --add-entry-fill-color: var(--color-grey-225-10-35);
49
- --add-entry-hover-fill-color: var(--color-white);
50
- --add-entry-hover-background-color: var(--color-blue-205-100-50);
51
- --add-entry-label-color: var(--color-white);
52
-
53
- --remove-entry-fill-color: var(--color-red-360-100-45);
54
- --remove-entry-hover-background-color: var(--color-red-360-100-92);
55
-
56
- --arrow-fill-color: var(--color-grey-225-10-35);
57
- --arrow-hover-background-color: var(--color-grey-225-10-95);
58
-
59
- --dot-color: var(--color-grey-225-10-35);
60
-
61
- --list-badge-color: var(--color-white);
62
- --list-badge-background-color: var(--color-grey-225-10-35);
63
-
64
- --input-background-color: var(--color-grey-225-10-97);
65
- --input-border-color: var(--color-grey-225-10-75);
66
-
67
- --input-focus-background-color: var(--color-blue-205-100-95);
68
- --input-focus-border-color: var(--color-blue-205-100-50);
69
-
70
- --input-error-background-color: var(--color-red-360-100-97);
71
- --input-error-border-color: var(--color-red-360-100-45);
72
- --input-error-focus-border-color: var(--color-red-360-100-45);
73
-
74
- --input-disabled-color: var(--color-grey-225-10-55);
75
- --input-disabled-background-color: var(--color-grey-225-10-97);
76
- --input-disabled-border-color: var(--color-grey-225-10-90);
77
-
78
- --toggle-switch-on-background-color: var(--color-blue-205-100-50);
79
- --toggle-switch-off-background-color: var(--color-grey-225-10-75);
80
- --toggle-switch-switcher-background-color: var(--color-white);
81
-
82
- --side-line-background-color: var(--color-grey-225-10-35);
83
- --side-line-extension-background-color: var(--color-grey-225-10-35);
84
-
85
- --list-entry-dot-background-color: var(--color-grey-225-10-35);
86
- --list-entry-header-button-fill-color: var(--color-grey-225-10-35);
87
- --list-entry-add-entry-empty-background-color: var(--color-blue-205-100-50);
88
- --list-entry-add-entry-empty-hover-background-color: var(--color-blue-205-100-45);
89
- --list-entry-add-entry-label-color: var(--color-white);
90
- --list-entry-add-entry-background-color: var(--color-blue-205-100-50);
91
- --list-entry-add-entry-fill-color: var(--color-white);
92
-
93
- --dropdown-item-background-color: var(--color-white);
94
- --dropdown-item-hover-background-color: var(--color-grey-225-10-95);
95
- --dropdown-separator-background-color: var(--color-grey-225-10-75);
96
-
97
- --text-size-base: 14px;
98
- --text-size-small: 13px;
99
- --text-size-smallest: 12px;
100
- --text-line-height: 21px;
101
- --line-height-condensed: 17px;
102
-
103
- --font-family: sans-serif;
104
- --font-family-monospace: monospace;
105
-
106
- display: none;
107
- position: relative;
108
- height: 100%;
109
- width: 100%;
110
- overflow: hidden;
111
- }
112
-
113
- .bio-properties-panel * {
114
- color: var(--text-base-color);
115
- font-size: var(--text-size-base);
116
- line-height: var(--text-line-height);
117
- font-weight: 400;
118
- box-sizing: border-box;
119
- }
120
-
121
- .bio-properties-panel {
122
- font-family: var(--font-family);
123
- }
124
-
125
- .bio-properties-panel.open {
126
- display: flex;
127
- flex-direction: column;
128
- flex: 1;
129
- }
130
-
131
- .bio-properties-panel-placeholder {
132
- padding: 10px;
133
- color: var(--placeholder-color);
134
- font-size: var(--text-size-base);
135
- text-align: center;
136
- }
137
-
138
- /**
139
- * Header
140
- */
141
- .bio-properties-panel-header {
142
- display: flex;
143
- flex-direction: row;
144
- align-items: center;
145
- font-size: var(--text-size-base);
146
- padding: 16px 10px;
147
- margin-bottom: 2px;
148
- background-color: var(--header-background-color);
149
- border-bottom: 1px solid var(--header-bottom-border-color);
150
- width: 100%;
151
- z-index: 1;
152
- max-height: 64px;
153
- overflow: hidden;
154
- }
155
-
156
- .bio-properties-panel-header-icon {
157
- fill: var(--header-icon-fill-color);
158
- display: flex;
159
- flex-direction: row;
160
- align-items: center;
161
- justify-content: center;
162
- width: 32px;
163
- height: 32px;
164
- }
165
-
166
- .bio-properties-panel-header-labels {
167
- overflow: hidden;
168
- margin-left: 12px;
169
- user-select: none;
170
- }
171
-
172
- .bio-properties-panel-header-type {
173
- font-size: var(--text-size-smallest);
174
- font-weight: 600;
175
- white-space: nowrap;
176
- text-overflow: ellipsis;
177
- overflow: hidden;
178
- text-transform: uppercase;
179
- }
180
-
181
- .bio-properties-panel-header-label {
182
- white-space: nowrap;
183
- text-overflow: ellipsis;
184
- overflow: hidden;
185
- margin-top: -6px;
186
- }
187
-
188
- .bio-properties-panel-header-actions {
189
- margin-left: auto;
190
- margin-top: auto;
191
- }
192
-
193
- /**
194
- * Scroll container
195
- */
196
- .bio-properties-panel-scroll-container {
197
- overflow-y: auto;
198
- overflow-x: hidden;
199
- flex: 1;
200
- }
201
-
202
- /**
203
- * Groups
204
- */
205
- .bio-properties-panel-group {
206
- background-color: var(--group-background-color);
207
- border-bottom: 1px solid var(--group-bottom-border-color);
208
- }
209
-
210
- .bio-properties-panel-group-header {
211
- position: relative;
212
- display: flex;
213
- flex-direction: row;
214
- align-items: center;
215
- font-size: var(--text-size-base);
216
- height: 32px;
217
- user-select: none;
218
- justify-content: space-between;
219
- }
220
-
221
- .bio-properties-panel-group-header .bio-properties-panel-group-header-title {
222
- white-space: nowrap;
223
- overflow: hidden;
224
- text-overflow: ellipsis;
225
- margin: 1px 12px 0;
226
- }
227
-
228
- .bio-properties-panel-group-header.open .bio-properties-panel-group-header-title {
229
- font-weight: 500;
230
- }
231
-
232
- .bio-properties-panel-group-header-buttons {
233
- display: flex;
234
- }
235
-
236
- .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-button {
237
- display: inline-flex;
238
- justify-content: center;
239
- align-items: center;
240
- align-self: center;
241
- height: 22px;
242
- line-height: 22px;
243
- min-width: 22px;
244
- margin: 5px;
245
- padding: 0 3px;
246
- border: none;
247
- background: none;
248
- }
249
-
250
- .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-buttons:last-child {
251
- margin-right: 0;
252
- }
253
-
254
- .bio-properties-panel-add-entry {
255
- fill: var(--add-entry-fill-color);
256
- border-radius: 11px;
257
- }
258
-
259
- .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry {
260
- margin-right: 69px;
261
- padding-left: 6px;
262
- }
263
-
264
- .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry:hover {
265
- margin-right: 19px;
266
- }
267
-
268
- .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry-label {
269
- display: none;
270
- color: var(--add-entry-label-color);
271
- padding: 4px 6px 3px 2px;
272
- }
273
-
274
- .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover {
275
- background-color: var(--add-entry-hover-background-color);
276
- fill: var(--add-entry-hover-fill-color);
277
- }
278
-
279
- .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover .bio-properties-panel-add-entry-label {
280
- display: block;
281
- }
282
-
283
- .bio-properties-panel-group-entries {
284
- display: none;
285
- }
286
-
287
- .bio-properties-panel-group-entries.open {
288
- display: block;
289
- }
290
-
291
- .bio-properties-panel-arrow {
292
- display: flex;
293
- justify-content: center;
294
- text-align: center;
295
- fill: var(--arrow-fill-color);
296
- min-width: 22px;
297
- border-radius: 11px;
298
- border: none;
299
- background: none;
300
- }
301
-
302
- .bio-properties-panel-arrow:hover {
303
- background-color: var(--arrow-hover-background-color);
304
- }
305
-
306
- .bio-properties-panel-arrow-down {
307
- transform: rotate(90deg);
308
- }
309
-
310
- .bio-properties-panel-dot {
311
- align-self: center;
312
- height: 8px;
313
- min-width: 8px;
314
- border-radius: 50%;
315
- margin: 12px;
316
- background-color: var(--dot-color);
317
- }
318
-
319
- /**
320
- * Lists
321
- */
322
- .bio-properties-panel-list {
323
- display: none;
324
- }
325
-
326
- .bio-properties-panel-list.open {
327
- display: block;
328
- margin-bottom: 6px;
329
- padding-bottom: 2px;
330
- }
331
-
332
- .bio-properties-panel-list-badge {
333
- height: 22px;
334
- min-width: 22px;
335
- color: var(--list-badge-color);
336
- border-radius: 11px;
337
- font-size: var(--text-size-small);
338
- line-height: 22px;
339
- text-align: center;
340
- user-select: none;
341
- padding: 0 5px;
342
- margin: 5px;
343
- background-color: var(--list-badge-background-color);
344
- }
345
-
346
- /**
347
- * Basic entries
348
- */
349
- .bio-properties-panel-entry {
350
- margin: 2px 32px 6px 12px;
351
- }
352
-
353
- .bio-properties-panel-entry:last-child {
354
- padding-bottom: 10px;
355
- }
356
-
357
- .bio-properties-panel-label {
358
- display: block;
359
- font-size: var(--text-size-small);
360
- margin: 2px 0 1px;
361
- }
362
-
363
- .bio-properties-panel-description,
364
- .bio-properties-panel-description p,
365
- .bio-properties-panel-description span,
366
- .bio-properties-panel-description div {
367
- color: var(--description-color);
368
- display: block;
369
- margin: 2px 0 4px;
370
- line-height: var(--line-height-condensed);
371
- font-weight: 400;
372
- font-size: var(--text-size-small);
373
- }
374
-
375
- .bio-properties-panel-description code {
376
- color: var(--description-color);
377
- font-family: var(--font-family);
378
- font-size: var(--text-size-small);
379
- line-height: var(--line-height-condensed);
380
- padding: 0 2px;
381
- background-color: var(--description-code-background-color);
382
- border: 1px solid var(--description-code-border-color);
383
- border-radius: 3px;
384
- }
385
-
386
- .bio-properties-panel-description ul {
387
- padding: 0;
388
- margin: 0 0 0 12px;
389
- list-style-type: disc;
390
- }
391
-
392
- .bio-properties-panel-description li {
393
- color: var(--description-list-item-color);
394
- margin: 0 0 0 12px;
395
- }
396
-
397
- .bio-properties-panel-description a {
398
- color: var(--link-color);
399
- font-size: var(--text-size-small);
400
- text-decoration: underline;
401
- }
402
-
403
- .bio-properties-panel-input {
404
- padding: 3px 6px 2px;
405
- border: 1px solid var(--input-border-color);
406
- border-radius: 2px;
407
- background-color: var(--input-background-color);
408
- font-size: var(--text-size-base);
409
- font-family: inherit;
410
- }
411
-
412
- .bio-properties-panel-input[type=number],
413
- select.bio-properties-panel-input,
414
- textarea.bio-properties-panel-input,
415
- .bio-properties-panel-input[type=text] {
416
- display: block;
417
- width: 100%;
418
- }
419
-
420
- .bio-properties-panel-input:focus {
421
- outline: none;
422
- background-color: var(--input-focus-background-color);
423
- border: 1px solid var(--input-focus-border-color);
424
- }
425
-
426
- .bio-properties-panel-input:disabled {
427
- border-color: var(--input-disabled-border-color);
428
- background-color: var(--input-disabled-background-color);
429
- color: var(--input-disabled-color);
430
- }
431
-
432
- select.bio-properties-panel-input {
433
- padding: 4px 6px;
434
- }
435
-
436
- .bio-properties-panel-input-monospace {
437
- font-family: var(--font-family-monospace);
438
- }
439
-
440
- .bio-properties-panel-input[type="checkbox"], .bio-properties-panel-input[type="radio"] {
441
- margin: 0;
442
- vertical-align: middle;
443
- }
444
-
445
- .bio-properties-panel-input[type="checkbox"]:focus {
446
- outline: 1px solid var(--input-focus-border-color);
447
- outline-offset: 0;
448
- }
449
-
450
- .bio-properties-panel-checkbox > .bio-properties-panel-label {
451
- display: inline-block;
452
- font-size: var(--text-size-base);
453
- margin-left: 6px;
454
- margin-top: auto;
455
- vertical-align: middle;
456
- }
457
-
458
- .bio-properties-panel-checkbox-entry + .bio-properties-panel-checkbox-entry {
459
- margin-top: -8px;
460
- }
461
-
462
- .bio-properties-panel-checkbox-entry > .bio-properties-panel-description {
463
- margin-left: 18px;
464
- }
465
-
466
- textarea.bio-properties-panel-input {
467
- resize: vertical;
468
- }
469
-
470
- .bio-properties-panel-entry.has-error .bio-properties-panel-input {
471
- border-color: var(--input-error-border-color);
472
- background-color: var(--input-error-background-color);
473
- }
474
-
475
- .bio-properties-panel-entry.has-error .bio-properties-panel-input:focus {
476
- border-color: var(--input-error-focus-border-color);
477
- }
478
-
479
- .bio-properties-panel-entry .bio-properties-panel-error {
480
- color: var(--text-error-color);
481
- margin: 4px 0;
482
- font-size: var(--text-size-small);
483
- }
484
-
485
- .bio-properties-panel-simple {
486
- width: 100%;
487
- margin-right: 8px;
488
- }
489
-
490
- .bio-properties-panel-simple + .bio-properties-panel-remove-entry {
491
- margin: auto;
492
- }
493
-
494
- /**
495
- * Toggle Switch
496
- */
497
- .bio-properties-panel-toggle-switch-entry + .bio-properties-panel-toggle-switch-entry {
498
- margin-top: -8px;
499
- }
500
-
501
- .bio-properties-panel-toggle-switch-entry > .bio-properties-panel-description {
502
- margin-left: 38px;
503
- }
504
-
505
- .bio-properties-panel-toggle-switch .bio-properties-panel-field-wrapper {
506
- display: flex;
507
- flex-direction: row;
508
- align-items: center;
509
- }
510
-
511
- .bio-properties-panel-toggle-switch > .bio-properties-panel-label {
512
- font-size: var(--text-size-base);
513
- }
514
-
515
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__label {
516
- margin: 0;
517
- margin-left: 6px;
518
- font-size: var(--text-size-base);
519
- }
520
-
521
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher {
522
- position: relative;
523
- width: 32px;
524
- height: 16px;
525
- }
526
-
527
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox'] {
528
- opacity: 0;
529
- width: 0;
530
- height: 0;
531
- }
532
-
533
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider {
534
- position: absolute;
535
- top: 0;
536
- left: 0;
537
- right: 0;
538
- bottom: 0;
539
- background-color: var(--toggle-switch-off-background-color);
540
- -webkit-transition: 0.4s;
541
- transition: 0.4s;
542
- border-radius: 34px;
543
- }
544
-
545
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider:before {
546
- position: absolute;
547
- content: "";
548
- height: 12px;
549
- width: 12px;
550
- left: 2px;
551
- bottom: 2px;
552
- background-color: var(--toggle-switch-switcher-background-color);
553
- -webkit-transition: 0.4s;
554
- transition: 0.4s;
555
- border-radius: 50%;
556
- }
557
-
558
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider {
559
- background-color: var(--toggle-switch-on-background-color);
560
- box-shadow: 0 0 1px ;
561
- }
562
-
563
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider:before {
564
- -webkit-transform: translateX(16px);
565
- -ms-transform: translateX(16px);
566
- transform: translateX(16px);
567
- }
568
-
569
- /**
570
- * Collapsible entries
571
- */
572
- .bio-properties-panel-collapsible-entry-entries {
573
- position: relative;
574
- display: none;
575
- }
576
-
577
- .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child {
578
- padding-bottom: 0;
579
- }
580
-
581
- .bio-properties-panel-collapsible-entry-entries.open {
582
- display: block;
583
- }
584
-
585
- .bio-properties-panel-collapsible-entry-entries {
586
- padding-left: 20px;
587
- margin-bottom: 10px;
588
- position: relative;
589
- display: none;
590
- }
591
-
592
- .bio-properties-panel-collapsible-entry-header {
593
- position: relative;
594
- display: flex;
595
- justify-content: space-between;
596
- align-items: center;
597
- overflow: hidden;
598
- }
599
-
600
- .bio-properties-panel-collapsible-entry-header .bio-properties-panel-collapsible-entry-header-title {
601
- padding: 2px 24px 2px 32px;
602
- font-size: var(--text-size-base);
603
- white-space: nowrap;
604
- overflow: hidden;
605
- text-overflow: ellipsis;
606
- user-select: none;
607
- }
608
-
609
- .bio-properties-panel-collapsible-entry-arrow {
610
- position: absolute;
611
- top: 2px;
612
- left: 6px;
613
- padding: 0 3px;
614
- height: 22px;
615
- display: inline-flex;
616
- justify-content: center;
617
- align-items: center;
618
- align-self: center;
619
- }
620
-
621
- .bio-properties-panel-remove-entry {
622
- display: flex;
623
- align-items: center;
624
- justify-content: center;
625
- margin-right: 5px;
626
- padding: 0;
627
- width: 22px;
628
- height: 22px;
629
- fill: var(--remove-entry-fill-color);
630
- border-radius: 50%;
631
- border: none;
632
- background: none;
633
- visibility: hidden;
634
- }
635
-
636
- .bio-properties-panel-remove-entry:hover {
637
- background-color: var(--remove-entry-hover-background-color);
638
- }
639
-
640
- .bio-properties-panel-list-entry-item:hover .bio-properties-panel-remove-list-entry,
641
- .bio-properties-panel-collapsible-entry:hover > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry,
642
- .bio-properties-panel-collapsible-entry:focus-within > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry
643
- {
644
- visibility: visible;
645
- }
646
-
647
- /* Side line */
648
- .bio-properties-panel-collapsible-entry-entries::before {
649
- content: "";
650
- position: absolute;
651
- left: 16px;
652
- width: 2px;
653
- top: -6px;
654
- bottom: 12px;
655
- background-color: var(--side-line-background-color);
656
- border-radius: 1px;
657
- }
658
-
659
- /* Side line extension for non-list entry or open list entry positioned as the last one. */
660
- .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child,
661
- .bio-properties-panel-list-entry.open:last-child {
662
- position: relative;
663
- }
664
-
665
- .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child::after,
666
- .bio-properties-panel-list-entry.open:last-child::after {
667
- content: "";
668
- position: absolute;
669
- left: -16px;
670
- width: 2px;
671
- top: 0;
672
- bottom: -4px;
673
- background-color: var(--side-line-extension-background-color);
674
- border-radius: 1px;
675
- }
676
-
677
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child::after {
678
- left: -18px;
679
- }
680
-
681
- /*
682
- * List entry
683
- */
684
- .bio-properties-panel-list-entry {
685
- position: relative;
686
- margin-right: 5px;
687
- margin-bottom: 0;
688
- }
689
-
690
- .bio-properties-panel-list-entry .bio-properties-panel-entry {
691
- margin-right: 0;
692
- }
693
-
694
- .bio-properties-panel-list-entry-header {
695
- position: relative;
696
- overflow: hidden;
697
- display: flex;
698
- justify-content: space-between;
699
- height: 32px;
700
- }
701
-
702
- /* Nested list dot */
703
- .bio-properties-panel-list-entry::before {
704
- content: "";
705
- width: 8px;
706
- height: 8px;
707
- position: absolute;
708
- left: -19px;
709
- top: 13px;
710
- border-radius: 50%;
711
- background-color: var(--list-entry-dot-background-color);
712
- }
713
-
714
- .bio-properties-panel-list-entry-header-title {
715
- display: block;
716
- margin: auto 0;
717
- padding: 2px 0;
718
- font-size: var(--text-size-base);
719
- white-space: nowrap;
720
- overflow: hidden;
721
- text-overflow: ellipsis;
722
- }
723
-
724
- .bio-properties-panel-list-entry-header-title.open {
725
- font-weight: 500;
726
- }
727
-
728
- .bio-properties-panel-list-entry-header-buttons {
729
- display: flex;
730
- align-items: center;
731
- }
732
-
733
- .bio-properties-panel-list-entry-header-buttons > button {
734
- display: inline-flex;
735
- justify-content: center;
736
- align-items: center;
737
- align-self: center;
738
- height: 22px;
739
- line-height: 22px;
740
- min-width: 22px;
741
- margin: 5px;
742
- padding: 0 3px;
743
- border: none;
744
- background: none;
745
- fill: var(--list-entry-header-button-fill-color);
746
- }
747
-
748
- .bio-properties-panel-list-entry-header-buttons > :last-child {
749
- margin-right: 0;
750
- }
751
-
752
- .bio-properties-panel-list-entry-items {
753
- padding: 0;
754
- margin: 0;
755
-
756
- list-style: none;
757
- }
758
-
759
- .bio-properties-panel-list-entry-items:not(.open) {
760
- display: none;
761
- }
762
-
763
- .bio-properties-panel-list-entry-item {
764
- display: flex;
765
- justify-content: space-between;
766
- }
767
-
768
- .bio-properties-panel-list-entry-item .bio-properties-panel-remove-entry {
769
- margin-right: 1px;
770
- }
771
-
772
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry {
773
- width: 100%;
774
- margin-right: 4px;
775
- }
776
-
777
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header {
778
- margin-left: -8px;
779
- }
780
-
781
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-arrow {
782
- left: 2px;
783
- }
784
-
785
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header-title {
786
- padding-left: 30px;
787
- }
788
-
789
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries {
790
- padding-left: 10px;
791
- }
792
-
793
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries::before {
794
- left: 4px;
795
- }
796
-
797
- .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry {
798
- margin-right: 16px;
799
- padding-left: 6px;
800
- }
801
-
802
- .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry-label {
803
- color: var(--list-entry-add-entry-label-color);
804
- padding: 4px 6px 3px 2px;
805
- }
806
-
807
- .bio-properties-panel-list-entry-header-buttons .bio-properties-panel-add-entry:hover {
808
- background-color: var(--list-entry-add-entry-background-color);
809
- fill: var(--list-entry-add-entry-fill-color);
810
- }
811
-
812
- .bio-properties-panel-list-entry-item .bio-properties-panel-simple .bio-properties-panel-input {
813
- border-radius: 0;
814
- margin-bottom: -2px;
815
- }
816
-
817
- .bio-properties-panel-list-entry-item:first-child .bio-properties-panel-simple .bio-properties-panel-input {
818
- border-top-left-radius: 2px;
819
- border-top-right-radius: 2px;
820
- }
821
-
822
- .bio-properties-panel-list-entry-item:last-child .bio-properties-panel-simple .bio-properties-panel-input {
823
- border-bottom-left-radius: 2px;
824
- border-bottom-right-radius: 2px;
825
- }
826
-
827
- .bio-properties-panel-dropdown-button {
828
- position: relative;
829
-
830
- --dropdown-button-margin: 5px;
831
- }
832
-
833
- .bio-properties-panel-dropdown-button:not(.open) .bio-properties-panel-dropdown-button__menu {
834
- display: none;
835
- }
836
-
837
- .bio-properties-panel-dropdown-button__menu {
838
- min-width: calc(100% - var(--dropdown-button-margin) * 2);
839
- max-width: 240px;
840
-
841
- position: absolute;
842
- top: calc(100% - var(--dropdown-button-margin));
843
- right: var(--dropdown-button-margin);
844
- z-index: 101;
845
-
846
- background-color: var(--dropdown-item-background-color);
847
-
848
- padding: 8px 0;
849
-
850
- box-shadow: 0 1px 4px 0 var(--color-grey-225-10-85), 0 2px 16px 0 var(--color-grey-225-10-75)
851
- }
852
-
853
- .bio-properties-panel-dropdown-button__menu-item {
854
- display: block;
855
- width: 100%;
856
- padding: 4px 12px;
857
-
858
- font-size: var(--text-size-small);
859
- appearance: revert;
860
- border: unset;
861
- background: unset;
862
- text-align: unset;
863
- }
864
-
865
- .bio-properties-panel-dropdown-button__menu-item--separator {
866
- width: 100%;
867
- height: 1px;
868
-
869
- padding: 0;
870
- margin: 8px 0;
871
-
872
- background-color: var(--dropdown-separator-background-color);
873
- }
874
-
875
- .bio-properties-panel-dropdown-button__menu-item--actionable {
876
- font-size: var(--text-size-base);
877
- }
878
-
879
- .bio-properties-panel-dropdown-button__menu-item--actionable:hover {
880
- background-color: var(--dropdown-item-hover-background-color);
881
- }
882
-
883
- .bio-properties-panel-feel-input {
884
- position: relative;
885
- }
886
-
887
- .bio-properties-panel-feel-input input {
888
- padding-right: 2em
889
- }
890
-
891
- .bio-properties-panel-feel-icon {
892
- display: inline-block;
893
- height: 16px;
894
- vertical-align: text-bottom;
895
- padding: 0 3px;
896
- }
897
-
898
- .bio-properties-panel-feel-icon svg {
899
- width: 16px;
900
- height: 16px;
1
+ /**
2
+ * Theming
3
+ */
4
+ .bio-properties-panel {
5
+ --color-grey-225-10-15: hsl(225, 10%, 15%);
6
+ --color-grey-225-10-35: hsl(225, 10%, 35%);
7
+ --color-grey-225-10-55: hsl(225, 10%, 55%);
8
+ --color-grey-225-10-75: hsl(225, 10%, 75%);
9
+ --color-grey-225-10-80: hsl(225, 10%, 80%);
10
+ --color-grey-225-10-85: hsl(225, 10%, 85%);
11
+ --color-grey-225-10-90: hsl(225, 10%, 90%);
12
+ --color-grey-225-10-95: hsl(225, 10%, 95%);
13
+ --color-grey-225-10-97: hsl(225, 10%, 97%);
14
+
15
+ --color-blue-205-100-45: hsl(205, 100%, 45%);
16
+ --color-blue-205-100-50: hsl(205, 100%, 50%);
17
+ --color-blue-205-100-95: hsl(205, 100%, 95%);
18
+
19
+ --color-green-150-86-44: hsl(150, 86%, 44%);
20
+
21
+ --color-red-360-100-40: hsl(360, 100%, 40%);
22
+ --color-red-360-100-45: hsl(360, 100%, 45%);
23
+ --color-red-360-100-92: hsl(360, 100%, 92%);
24
+ --color-red-360-100-97: hsl(360, 100%, 97%);
25
+
26
+ --color-white: white;
27
+ --color-black: black;
28
+ --color-transparent: transparent;
29
+
30
+ --text-base-color: var(--color-grey-225-10-15);
31
+ --text-error-color: var(--color-red-360-100-45);
32
+ --link-color: var(--color-blue-205-100-50);
33
+
34
+ --description-color: var(--color-grey-225-10-35);
35
+ --description-code-background-color: var(--color-grey-225-10-97);
36
+ --description-code-border-color: var(--color-grey-225-10-85);
37
+ --description-list-item-color: var(--color-grey-225-10-35);
38
+
39
+ --placeholder-color: var(--color-grey-225-10-35);
40
+ --placeholder-background-color: var(--color-grey-225-10-95);
41
+
42
+ --header-background-color: var(--color-grey-225-10-95);
43
+ --header-icon-fill-color: var(--color-grey-225-10-15);
44
+ --header-bottom-border-color: var(--color-grey-225-10-75);
45
+
46
+ --group-background-color: var(--color-white);
47
+ --group-bottom-border-color: var(--color-grey-225-10-75);
48
+
49
+ --sticky-group-background-color: var(--color-grey-225-10-95);
50
+ --sticky-group-bottom-border-color: var(--color-grey-225-10-75);
51
+
52
+ --add-entry-fill-color: var(--color-grey-225-10-35);
53
+ --add-entry-hover-fill-color: var(--color-white);
54
+ --add-entry-hover-background-color: var(--color-blue-205-100-50);
55
+ --add-entry-label-color: var(--color-white);
56
+
57
+ --remove-entry-fill-color: var(--color-red-360-100-45);
58
+ --remove-entry-hover-background-color: var(--color-red-360-100-92);
59
+
60
+ --arrow-fill-color: var(--color-grey-225-10-35);
61
+ --arrow-hover-background-color: var(--color-grey-225-10-95);
62
+
63
+ --dot-color: var(--color-grey-225-10-35);
64
+
65
+ --list-badge-color: var(--color-white);
66
+ --list-badge-background-color: var(--color-grey-225-10-35);
67
+
68
+ --input-background-color: var(--color-grey-225-10-97);
69
+ --input-border-color: var(--color-grey-225-10-75);
70
+
71
+ --input-focus-background-color: var(--color-blue-205-100-95);
72
+ --input-focus-border-color: var(--color-blue-205-100-50);
73
+
74
+ --input-error-background-color: var(--color-red-360-100-97);
75
+ --input-error-border-color: var(--color-red-360-100-45);
76
+ --input-error-focus-border-color: var(--color-red-360-100-45);
77
+
78
+ --input-disabled-color: var(--color-grey-225-10-55);
79
+ --input-disabled-background-color: var(--color-grey-225-10-97);
80
+ --input-disabled-border-color: var(--color-grey-225-10-90);
81
+
82
+ --toggle-switch-on-background-color: var(--color-blue-205-100-50);
83
+ --toggle-switch-off-background-color: var(--color-grey-225-10-75);
84
+ --toggle-switch-switcher-background-color: var(--color-white);
85
+
86
+ --side-line-background-color: var(--color-grey-225-10-35);
87
+ --side-line-extension-background-color: var(--color-grey-225-10-35);
88
+
89
+ --list-entry-dot-background-color: var(--color-grey-225-10-35);
90
+ --list-entry-header-button-fill-color: var(--color-grey-225-10-35);
91
+ --list-entry-add-entry-empty-background-color: var(--color-blue-205-100-50);
92
+ --list-entry-add-entry-empty-hover-background-color: var(--color-blue-205-100-45);
93
+ --list-entry-add-entry-label-color: var(--color-white);
94
+ --list-entry-add-entry-background-color: var(--color-blue-205-100-50);
95
+ --list-entry-add-entry-fill-color: var(--color-white);
96
+
97
+ --dropdown-item-background-color: var(--color-white);
98
+ --dropdown-item-hover-background-color: var(--color-grey-225-10-95);
99
+ --dropdown-separator-background-color: var(--color-grey-225-10-75);
100
+
101
+ --text-size-base: 14px;
102
+ --text-size-small: 13px;
103
+ --text-size-smallest: 12px;
104
+ --text-line-height: 21px;
105
+ --line-height-condensed: 17px;
106
+
107
+ --font-family: sans-serif;
108
+ --font-family-monospace: monospace;
109
+
110
+ display: none;
111
+ position: relative;
112
+ height: 100%;
113
+ width: 100%;
114
+ overflow: hidden;
115
+ }
116
+
117
+ .bio-properties-panel * {
118
+ color: var(--text-base-color);
119
+ font-size: var(--text-size-base);
120
+ line-height: var(--text-line-height);
121
+ font-weight: 400;
122
+ box-sizing: border-box;
123
+ }
124
+
125
+ .bio-properties-panel {
126
+ font-family: var(--font-family);
127
+ }
128
+
129
+ .bio-properties-panel.open {
130
+ display: flex;
131
+ flex-direction: column;
132
+ flex: 1;
133
+ }
134
+
135
+ /**
136
+ * Placeholder (empty, multi select, ...)
137
+ */
138
+ .bio-properties-panel-placeholder {
139
+ position: absolute;
140
+ display: flex;
141
+ flex-direction: column;
142
+ justify-content: center;
143
+ align-items: center;
144
+ top: 0;
145
+ right: 0;
146
+ bottom: 0;
147
+ left: 0;
148
+ background-color: var(--placeholder-background-color);
149
+ }
150
+
151
+ .bio-properties-panel-placeholder-text {
152
+ color: var(--placeholder-color);
153
+ font-size: var(--text-size-base);
154
+ text-align: center;
155
+ margin: 12px 48px;
156
+ }
157
+
158
+ /**
159
+ * Header
160
+ */
161
+ .bio-properties-panel-header {
162
+ display: flex;
163
+ flex-direction: row;
164
+ align-items: center;
165
+ font-size: var(--text-size-base);
166
+ padding: 16px 10px;
167
+ background-color: var(--header-background-color);
168
+ border-bottom: 1px solid var(--header-bottom-border-color);
169
+ width: 100%;
170
+ z-index: 1;
171
+ max-height: 64px;
172
+ overflow: hidden;
173
+ }
174
+
175
+ .bio-properties-panel-header-icon {
176
+ fill: var(--header-icon-fill-color);
177
+ display: flex;
178
+ flex-direction: row;
179
+ align-items: center;
180
+ justify-content: center;
181
+ width: 32px;
182
+ height: 32px;
183
+ }
184
+
185
+ .bio-properties-panel-header-labels {
186
+ overflow: hidden;
187
+ margin-left: 12px;
188
+ user-select: none;
189
+ }
190
+
191
+ .bio-properties-panel-header-type {
192
+ font-size: var(--text-size-smallest);
193
+ font-weight: 600;
194
+ white-space: nowrap;
195
+ text-overflow: ellipsis;
196
+ overflow: hidden;
197
+ text-transform: uppercase;
198
+ }
199
+
200
+ .bio-properties-panel-header-label {
201
+ white-space: nowrap;
202
+ text-overflow: ellipsis;
203
+ overflow: hidden;
204
+ margin-top: -6px;
205
+ }
206
+
207
+ .bio-properties-panel-header-actions {
208
+ margin-left: auto;
209
+ margin-top: auto;
210
+ }
211
+
212
+ /**
213
+ * Scroll container
214
+ */
215
+ .bio-properties-panel-scroll-container {
216
+ overflow-y: auto;
217
+ overflow-x: hidden;
218
+ flex: 1;
219
+ }
220
+
221
+ /**
222
+ * Groups
223
+ */
224
+ .bio-properties-panel-group {
225
+ background-color: var(--group-background-color);
226
+ border-bottom: 1px solid var(--group-bottom-border-color);
227
+ position: relative;
228
+ }
229
+
230
+ .bio-properties-panel-group-header {
231
+ display: flex;
232
+ flex-direction: row;
233
+ align-items: center;
234
+ font-size: var(--text-size-base);
235
+ height: 32px;
236
+ user-select: none;
237
+ justify-content: space-between;
238
+ margin-bottom: -1px; /* avoid double borders */
239
+ position: relative; /* browsers not supporting sticky */
240
+ position: -webkit-sticky; /* for safari */
241
+ position: sticky;
242
+ top: 0;
243
+ z-index: 1;
244
+ }
245
+
246
+ .bio-properties-panel-group-header .bio-properties-panel-group-header-title {
247
+ white-space: nowrap;
248
+ overflow: hidden;
249
+ text-overflow: ellipsis;
250
+ margin: 1px 12px 0;
251
+ }
252
+
253
+ .bio-properties-panel-group-header.open .bio-properties-panel-group-header-title {
254
+ font-weight: 500;
255
+ }
256
+
257
+ .bio-properties-panel-group-header.sticky {
258
+ background-color: var(--sticky-group-background-color);
259
+ border-bottom: 1px solid var(--sticky-group-bottom-border-color);
260
+ }
261
+
262
+ .bio-properties-panel-group-header-buttons {
263
+ display: flex;
264
+ }
265
+
266
+ .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-button {
267
+ display: inline-flex;
268
+ justify-content: center;
269
+ align-items: center;
270
+ align-self: center;
271
+ height: 22px;
272
+ line-height: 22px;
273
+ min-width: 22px;
274
+ margin: 5px;
275
+ padding: 0 3px;
276
+ border: none;
277
+ background: none;
278
+ }
279
+
280
+ .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-buttons:last-child {
281
+ margin-right: 0;
282
+ }
283
+
284
+ .bio-properties-panel-add-entry {
285
+ fill: var(--add-entry-fill-color);
286
+ border-radius: 11px;
287
+ }
288
+
289
+ .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry {
290
+ margin-right: 69px;
291
+ }
292
+
293
+ .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry:hover {
294
+ margin-right: 19px;
295
+ }
296
+
297
+ .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry-label {
298
+ display: none;
299
+ color: var(--add-entry-label-color);
300
+ padding: 0 6px 0 2px;
301
+ }
302
+
303
+ .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover {
304
+ background-color: var(--add-entry-hover-background-color);
305
+ fill: var(--add-entry-hover-fill-color);
306
+ }
307
+
308
+ .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover .bio-properties-panel-add-entry-label {
309
+ display: block;
310
+ }
311
+
312
+ .bio-properties-panel-group-entries {
313
+ display: none;
314
+ }
315
+
316
+ .bio-properties-panel-group-entries.open {
317
+ display: block;
318
+ }
319
+
320
+ .bio-properties-panel-arrow {
321
+ display: flex;
322
+ justify-content: center;
323
+ text-align: center;
324
+ fill: var(--arrow-fill-color);
325
+ min-width: 22px;
326
+ border-radius: 11px;
327
+ border: none;
328
+ background: none;
329
+ }
330
+
331
+ .bio-properties-panel-arrow:hover {
332
+ background-color: var(--arrow-hover-background-color);
333
+ }
334
+
335
+ .bio-properties-panel-arrow-down {
336
+ transform: rotate(90deg);
337
+ }
338
+
339
+ .bio-properties-panel-dot {
340
+ align-self: center;
341
+ height: 8px;
342
+ min-width: 8px;
343
+ border-radius: 50%;
344
+ margin: 12px;
345
+ background-color: var(--dot-color);
346
+ }
347
+
348
+ /**
349
+ * Lists
350
+ */
351
+ .bio-properties-panel-list {
352
+ display: none;
353
+ }
354
+
355
+ .bio-properties-panel-list.open {
356
+ display: block;
357
+ margin-bottom: 6px;
358
+ padding-bottom: 2px;
359
+ }
360
+
361
+ .bio-properties-panel-list-badge {
362
+ height: 22px;
363
+ min-width: 22px;
364
+ color: var(--list-badge-color);
365
+ border-radius: 11px;
366
+ font-size: var(--text-size-small);
367
+ line-height: 22px;
368
+ text-align: center;
369
+ user-select: none;
370
+ padding: 0 5px;
371
+ margin: 5px;
372
+ background-color: var(--list-badge-background-color);
373
+ }
374
+
375
+ /**
376
+ * Basic entries
377
+ */
378
+ .bio-properties-panel-entry {
379
+ margin: 2px 32px 6px 12px;
380
+ }
381
+
382
+ .bio-properties-panel-entry:last-child {
383
+ padding-bottom: 10px;
384
+ }
385
+
386
+ .bio-properties-panel-label {
387
+ display: block;
388
+ font-size: var(--text-size-small);
389
+ margin: 2px 0 1px;
390
+ }
391
+
392
+ .bio-properties-panel-description,
393
+ .bio-properties-panel-description p,
394
+ .bio-properties-panel-description span,
395
+ .bio-properties-panel-description div {
396
+ color: var(--description-color);
397
+ display: block;
398
+ margin: 2px 0 4px;
399
+ line-height: var(--line-height-condensed);
400
+ font-weight: 400;
401
+ font-size: var(--text-size-small);
402
+ }
403
+
404
+ .bio-properties-panel-description code {
405
+ color: var(--description-color);
406
+ font-family: var(--font-family);
407
+ font-size: var(--text-size-small);
408
+ line-height: var(--line-height-condensed);
409
+ padding: 0 2px;
410
+ background-color: var(--description-code-background-color);
411
+ border: 1px solid var(--description-code-border-color);
412
+ border-radius: 3px;
413
+ }
414
+
415
+ .bio-properties-panel-description ul {
416
+ padding: 0;
417
+ margin: 0 0 0 12px;
418
+ list-style-type: disc;
419
+ }
420
+
421
+ .bio-properties-panel-description li {
422
+ color: var(--description-list-item-color);
423
+ margin: 0 0 0 12px;
424
+ }
425
+
426
+ .bio-properties-panel-description a {
427
+ color: var(--link-color);
428
+ font-size: var(--text-size-small);
429
+ text-decoration: underline;
430
+ }
431
+
432
+ .bio-properties-panel-input {
433
+ padding: 3px 6px 2px;
434
+ border: 1px solid var(--input-border-color);
435
+ border-radius: 2px;
436
+ background-color: var(--input-background-color);
437
+ font-size: var(--text-size-base);
438
+ font-family: inherit;
439
+ }
440
+
441
+ .bio-properties-panel-input[type=number],
442
+ select.bio-properties-panel-input,
443
+ textarea.bio-properties-panel-input,
444
+ .bio-properties-panel-input[type=text] {
445
+ display: block;
446
+ width: 100%;
447
+ }
448
+
449
+ .bio-properties-panel-input:focus {
450
+ outline: none;
451
+ background-color: var(--input-focus-background-color);
452
+ border: 1px solid var(--input-focus-border-color);
453
+ }
454
+
455
+ .bio-properties-panel-input:disabled {
456
+ border-color: var(--input-disabled-border-color);
457
+ background-color: var(--input-disabled-background-color);
458
+ color: var(--input-disabled-color);
459
+ }
460
+
461
+ select.bio-properties-panel-input {
462
+ padding: 4px 6px;
463
+ }
464
+
465
+ .bio-properties-panel-input-monospace {
466
+ font-family: var(--font-family-monospace);
467
+ }
468
+
469
+ .bio-properties-panel-input[type="checkbox"], .bio-properties-panel-input[type="radio"] {
470
+ margin: 0;
471
+ vertical-align: middle;
472
+ }
473
+
474
+ .bio-properties-panel-input[type="checkbox"]:focus {
475
+ outline: 1px solid var(--input-focus-border-color);
476
+ outline-offset: 0;
477
+ }
478
+
479
+ .bio-properties-panel-checkbox > .bio-properties-panel-label {
480
+ display: inline-block;
481
+ font-size: var(--text-size-base);
482
+ margin-left: 6px;
483
+ margin-top: auto;
484
+ vertical-align: middle;
485
+ }
486
+
487
+ .bio-properties-panel-checkbox-entry + .bio-properties-panel-checkbox-entry {
488
+ margin-top: -8px;
489
+ }
490
+
491
+ .bio-properties-panel-checkbox-entry > .bio-properties-panel-description {
492
+ margin-left: 18px;
493
+ }
494
+
495
+ textarea.bio-properties-panel-input {
496
+ resize: vertical;
497
+ }
498
+
499
+ .bio-properties-panel-entry.has-error .bio-properties-panel-input {
500
+ border-color: var(--input-error-border-color);
501
+ background-color: var(--input-error-background-color);
502
+ }
503
+
504
+ .bio-properties-panel-entry.has-error .bio-properties-panel-input:focus {
505
+ border-color: var(--input-error-focus-border-color);
506
+ }
507
+
508
+ .bio-properties-panel-entry .bio-properties-panel-error {
509
+ color: var(--text-error-color);
510
+ margin: 4px 0;
511
+ font-size: var(--text-size-small);
512
+ }
513
+
514
+ .bio-properties-panel-simple {
515
+ width: 100%;
516
+ margin-right: 8px;
517
+ }
518
+
519
+ .bio-properties-panel-simple + .bio-properties-panel-remove-entry {
520
+ margin: auto;
521
+ }
522
+
523
+ /**
524
+ * Toggle Switch
525
+ */
526
+ .bio-properties-panel-toggle-switch-entry + .bio-properties-panel-toggle-switch-entry {
527
+ margin-top: -8px;
528
+ }
529
+
530
+ .bio-properties-panel-toggle-switch-entry > .bio-properties-panel-description {
531
+ margin-left: 38px;
532
+ }
533
+
534
+ .bio-properties-panel-toggle-switch .bio-properties-panel-field-wrapper {
535
+ display: flex;
536
+ flex-direction: row;
537
+ align-items: center;
538
+ }
539
+
540
+ .bio-properties-panel-toggle-switch > .bio-properties-panel-label {
541
+ font-size: var(--text-size-base);
542
+ }
543
+
544
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__label {
545
+ margin: 0;
546
+ margin-left: 6px;
547
+ font-size: var(--text-size-base);
548
+ }
549
+
550
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher {
551
+ position: relative;
552
+ width: 32px;
553
+ height: 16px;
554
+ }
555
+
556
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox'] {
557
+ opacity: 0;
558
+ width: 0;
559
+ height: 0;
560
+ }
561
+
562
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider {
563
+ position: absolute;
564
+ top: 0;
565
+ left: 0;
566
+ right: 0;
567
+ bottom: 0;
568
+ background-color: var(--toggle-switch-off-background-color);
569
+ -webkit-transition: 0.4s;
570
+ transition: 0.4s;
571
+ border-radius: 34px;
572
+ }
573
+
574
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider:before {
575
+ position: absolute;
576
+ content: "";
577
+ height: 12px;
578
+ width: 12px;
579
+ left: 2px;
580
+ bottom: 2px;
581
+ background-color: var(--toggle-switch-switcher-background-color);
582
+ -webkit-transition: 0.4s;
583
+ transition: 0.4s;
584
+ border-radius: 50%;
585
+ }
586
+
587
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider {
588
+ background-color: var(--toggle-switch-on-background-color);
589
+ box-shadow: 0 0 1px ;
590
+ }
591
+
592
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider:before {
593
+ -webkit-transform: translateX(16px);
594
+ -ms-transform: translateX(16px);
595
+ transform: translateX(16px);
596
+ }
597
+
598
+ /**
599
+ * Collapsible entries
600
+ */
601
+ .bio-properties-panel-collapsible-entry-entries {
602
+ position: relative;
603
+ display: none;
604
+ }
605
+
606
+ .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child {
607
+ padding-bottom: 0;
608
+ }
609
+
610
+ .bio-properties-panel-collapsible-entry-entries.open {
611
+ display: block;
612
+ }
613
+
614
+ .bio-properties-panel-collapsible-entry-entries {
615
+ padding-left: 20px;
616
+ margin-bottom: 10px;
617
+ position: relative;
618
+ display: none;
619
+ }
620
+
621
+ .bio-properties-panel-collapsible-entry-header {
622
+ position: relative;
623
+ display: flex;
624
+ justify-content: space-between;
625
+ align-items: center;
626
+ overflow: hidden;
627
+ }
628
+
629
+ .bio-properties-panel-collapsible-entry-header .bio-properties-panel-collapsible-entry-header-title {
630
+ padding: 2px 24px 2px 32px;
631
+ font-size: var(--text-size-base);
632
+ white-space: nowrap;
633
+ overflow: hidden;
634
+ text-overflow: ellipsis;
635
+ user-select: none;
636
+ }
637
+
638
+ .bio-properties-panel-collapsible-entry-arrow {
639
+ position: absolute;
640
+ top: 2px;
641
+ left: 6px;
642
+ padding: 0 3px;
643
+ height: 22px;
644
+ display: inline-flex;
645
+ justify-content: center;
646
+ align-items: center;
647
+ align-self: center;
648
+ }
649
+
650
+ .bio-properties-panel-remove-entry {
651
+ display: flex;
652
+ align-items: center;
653
+ justify-content: center;
654
+ margin-right: 5px;
655
+ padding: 0;
656
+ width: 22px;
657
+ height: 22px;
658
+ fill: var(--remove-entry-fill-color);
659
+ border-radius: 50%;
660
+ border: none;
661
+ background: none;
662
+ visibility: hidden;
663
+ }
664
+
665
+ .bio-properties-panel-remove-entry:hover {
666
+ background-color: var(--remove-entry-hover-background-color);
667
+ }
668
+
669
+ .bio-properties-panel-list-entry-item:hover .bio-properties-panel-remove-list-entry,
670
+ .bio-properties-panel-collapsible-entry:hover > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry,
671
+ .bio-properties-panel-collapsible-entry:focus-within > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry
672
+ {
673
+ visibility: visible;
674
+ }
675
+
676
+ /* Side line */
677
+ .bio-properties-panel-collapsible-entry-entries::before {
678
+ content: "";
679
+ position: absolute;
680
+ left: 16px;
681
+ width: 2px;
682
+ top: -6px;
683
+ bottom: 12px;
684
+ background-color: var(--side-line-background-color);
685
+ border-radius: 1px;
686
+ }
687
+
688
+ /* Side line extension for non-list entry or open list entry positioned as the last one. */
689
+ .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child,
690
+ .bio-properties-panel-list-entry.open:last-child {
691
+ position: relative;
692
+ }
693
+
694
+ .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child::after,
695
+ .bio-properties-panel-list-entry.open:last-child::after {
696
+ content: "";
697
+ position: absolute;
698
+ left: -16px;
699
+ width: 2px;
700
+ top: 0;
701
+ bottom: -4px;
702
+ background-color: var(--side-line-extension-background-color);
703
+ border-radius: 1px;
704
+ }
705
+
706
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child::after {
707
+ left: -18px;
708
+ }
709
+
710
+ /*
711
+ * List entry
712
+ */
713
+ .bio-properties-panel-list-entry {
714
+ position: relative;
715
+ margin-right: 5px;
716
+ margin-bottom: 0;
717
+ }
718
+
719
+ .bio-properties-panel-list-entry .bio-properties-panel-entry {
720
+ margin-right: 0;
721
+ }
722
+
723
+ .bio-properties-panel-list-entry-header {
724
+ position: relative;
725
+ overflow: hidden;
726
+ display: flex;
727
+ justify-content: space-between;
728
+ height: 32px;
729
+ }
730
+
731
+ /* Nested list dot */
732
+ .bio-properties-panel-list-entry::before {
733
+ content: "";
734
+ width: 8px;
735
+ height: 8px;
736
+ position: absolute;
737
+ left: -19px;
738
+ top: 13px;
739
+ border-radius: 50%;
740
+ background-color: var(--list-entry-dot-background-color);
741
+ }
742
+
743
+ .bio-properties-panel-list-entry-header-title {
744
+ display: block;
745
+ margin: auto 0;
746
+ padding: 2px 0;
747
+ font-size: var(--text-size-base);
748
+ white-space: nowrap;
749
+ overflow: hidden;
750
+ text-overflow: ellipsis;
751
+ }
752
+
753
+ .bio-properties-panel-list-entry-header-title.open {
754
+ font-weight: 500;
755
+ }
756
+
757
+ .bio-properties-panel-list-entry-header-buttons {
758
+ display: flex;
759
+ align-items: center;
760
+ }
761
+
762
+ .bio-properties-panel-list-entry-header-buttons > button {
763
+ display: inline-flex;
764
+ justify-content: center;
765
+ align-items: center;
766
+ align-self: center;
767
+ height: 22px;
768
+ line-height: 22px;
769
+ min-width: 22px;
770
+ margin: 5px;
771
+ padding: 0 3px;
772
+ border: none;
773
+ background: none;
774
+ fill: var(--list-entry-header-button-fill-color);
775
+ }
776
+
777
+ .bio-properties-panel-list-entry-header-buttons > :last-child {
778
+ margin-right: 0;
779
+ }
780
+
781
+ .bio-properties-panel-list-entry-items {
782
+ padding: 0;
783
+ margin: 0;
784
+
785
+ list-style: none;
786
+ }
787
+
788
+ .bio-properties-panel-list-entry-items:not(.open) {
789
+ display: none;
790
+ }
791
+
792
+ .bio-properties-panel-list-entry-item {
793
+ display: flex;
794
+ justify-content: space-between;
795
+ }
796
+
797
+ .bio-properties-panel-list-entry-item .bio-properties-panel-remove-entry {
798
+ margin-right: 1px;
799
+ }
800
+
801
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry {
802
+ width: 100%;
803
+ margin-right: 4px;
804
+ }
805
+
806
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header {
807
+ margin-left: -8px;
808
+ }
809
+
810
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-arrow {
811
+ left: 2px;
812
+ }
813
+
814
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header-title {
815
+ padding-left: 30px;
816
+ }
817
+
818
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries {
819
+ padding-left: 10px;
820
+ }
821
+
822
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries::before {
823
+ left: 4px;
824
+ }
825
+
826
+ .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry {
827
+ margin-right: 16px;
828
+ padding-left: 6px;
829
+ }
830
+
831
+ .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry-label {
832
+ color: var(--list-entry-add-entry-label-color);
833
+ padding: 4px 6px 3px 2px;
834
+ }
835
+
836
+ .bio-properties-panel-list-entry-header-buttons .bio-properties-panel-add-entry:hover {
837
+ background-color: var(--list-entry-add-entry-background-color);
838
+ fill: var(--list-entry-add-entry-fill-color);
839
+ }
840
+
841
+ .bio-properties-panel-list-entry-item .bio-properties-panel-simple .bio-properties-panel-input {
842
+ border-radius: 0;
843
+ margin-bottom: -2px;
844
+ }
845
+
846
+ .bio-properties-panel-list-entry-item:first-child .bio-properties-panel-simple .bio-properties-panel-input {
847
+ border-top-left-radius: 2px;
848
+ border-top-right-radius: 2px;
849
+ }
850
+
851
+ .bio-properties-panel-list-entry-item:last-child .bio-properties-panel-simple .bio-properties-panel-input {
852
+ border-bottom-left-radius: 2px;
853
+ border-bottom-right-radius: 2px;
854
+ }
855
+
856
+ .bio-properties-panel-dropdown-button {
857
+ position: relative;
858
+
859
+ --dropdown-button-margin: 5px;
860
+ }
861
+
862
+ .bio-properties-panel-dropdown-button:not(.open) .bio-properties-panel-dropdown-button__menu {
863
+ display: none;
864
+ }
865
+
866
+ .bio-properties-panel-dropdown-button__menu {
867
+ min-width: calc(100% - var(--dropdown-button-margin) * 2);
868
+ max-width: 240px;
869
+
870
+ position: absolute;
871
+ top: calc(100% - var(--dropdown-button-margin));
872
+ right: var(--dropdown-button-margin);
873
+ z-index: 101;
874
+
875
+ background-color: var(--dropdown-item-background-color);
876
+
877
+ padding: 8px 0;
878
+
879
+ box-shadow: 0 1px 4px 0 var(--color-grey-225-10-85), 0 2px 16px 0 var(--color-grey-225-10-75)
880
+ }
881
+
882
+ .bio-properties-panel-dropdown-button__menu-item {
883
+ display: block;
884
+ width: 100%;
885
+ padding: 4px 12px;
886
+
887
+ font-size: var(--text-size-small);
888
+ appearance: revert;
889
+ border: unset;
890
+ background: unset;
891
+ text-align: unset;
892
+ }
893
+
894
+ .bio-properties-panel-dropdown-button__menu-item--separator {
895
+ width: 100%;
896
+ height: 1px;
897
+
898
+ padding: 0;
899
+ margin: 8px 0;
900
+
901
+ background-color: var(--dropdown-separator-background-color);
902
+ }
903
+
904
+ .bio-properties-panel-dropdown-button__menu-item--actionable {
905
+ font-size: var(--text-size-base);
906
+ }
907
+
908
+ .bio-properties-panel-dropdown-button__menu-item--actionable:hover {
909
+ background-color: var(--dropdown-item-hover-background-color);
910
+ }
911
+
912
+ .bio-properties-panel-feel-input {
913
+ position: relative;
914
+ }
915
+
916
+ .bio-properties-panel-feel-input input {
917
+ padding-right: 2em
918
+ }
919
+
920
+ .bio-properties-panel-feel-icon {
921
+ display: inline-block;
922
+ height: 16px;
923
+ vertical-align: text-bottom;
924
+ padding: 0 3px;
925
+ }
926
+
927
+ .bio-properties-panel-feel-icon svg {
928
+ width: 16px;
929
+ height: 16px;
901
930
  }