@bpmn-io/properties-panel 2.2.1 → 3.1.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 (116) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +34 -34
  3. package/assets/properties-panel.css +1180 -1114
  4. package/dist/index.esm.js +657 -507
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/index.js +656 -505
  7. package/dist/index.js.map +1 -1
  8. package/package.json +90 -90
  9. package/preact/README.md +56 -51
  10. package/preact/compat/client.js +19 -0
  11. package/preact/compat/client.mjs +22 -0
  12. package/preact/compat/dist/compat.js +1 -1
  13. package/preact/compat/dist/compat.js.map +1 -1
  14. package/preact/compat/dist/compat.mjs +1 -1
  15. package/preact/compat/dist/compat.module.js +1 -1
  16. package/preact/compat/dist/compat.module.js.map +1 -1
  17. package/preact/compat/dist/compat.umd.js +1 -1
  18. package/preact/compat/dist/compat.umd.js.map +1 -1
  19. package/preact/compat/jsx-dev-runtime.js +2 -0
  20. package/preact/compat/jsx-dev-runtime.mjs +2 -0
  21. package/preact/compat/jsx-runtime.js +2 -0
  22. package/preact/compat/jsx-runtime.mjs +2 -0
  23. package/preact/compat/package.json +31 -0
  24. package/preact/compat/scheduler.js +15 -0
  25. package/preact/compat/{src/scheduler.js → scheduler.mjs} +8 -9
  26. package/preact/compat/server.browser.js +4 -0
  27. package/preact/compat/src/PureComponent.js +1 -1
  28. package/preact/compat/src/forwardRef.js +2 -9
  29. package/preact/compat/src/index.d.ts +58 -4
  30. package/preact/compat/src/index.js +73 -2
  31. package/preact/compat/src/portals.js +4 -2
  32. package/preact/compat/src/render.js +133 -76
  33. package/preact/compat/src/suspense-list.d.ts +2 -2
  34. package/preact/compat/src/suspense-list.js +14 -13
  35. package/preact/compat/src/suspense.d.ts +4 -4
  36. package/preact/compat/src/suspense.js +6 -6
  37. package/preact/compat/src/util.js +10 -0
  38. package/preact/debug/dist/debug.js +1 -1
  39. package/preact/debug/dist/debug.js.map +1 -1
  40. package/preact/debug/dist/debug.mjs +1 -1
  41. package/preact/debug/dist/debug.module.js +1 -1
  42. package/preact/debug/dist/debug.module.js.map +1 -1
  43. package/preact/debug/dist/debug.umd.js +1 -1
  44. package/preact/debug/dist/debug.umd.js.map +1 -1
  45. package/preact/debug/package.json +9 -0
  46. package/preact/debug/src/check-props.js +3 -3
  47. package/preact/debug/src/debug.js +38 -17
  48. package/preact/debug/src/index.d.ts +4 -0
  49. package/preact/debug/src/util.js +4 -0
  50. package/preact/devtools/dist/devtools.js +1 -1
  51. package/preact/devtools/dist/devtools.js.map +1 -1
  52. package/preact/devtools/dist/devtools.mjs +1 -1
  53. package/preact/devtools/dist/devtools.module.js +1 -1
  54. package/preact/devtools/dist/devtools.module.js.map +1 -1
  55. package/preact/devtools/dist/devtools.umd.js +1 -1
  56. package/preact/devtools/dist/devtools.umd.js.map +1 -1
  57. package/preact/devtools/package.json +23 -14
  58. package/preact/devtools/src/devtools.js +1 -1
  59. package/preact/dist/preact.js +1 -1
  60. package/preact/dist/preact.js.map +1 -1
  61. package/preact/dist/preact.min.js +1 -1
  62. package/preact/dist/preact.min.js.map +1 -1
  63. package/preact/dist/preact.min.module.js +2 -0
  64. package/preact/dist/preact.min.module.js.map +1 -0
  65. package/preact/dist/preact.min.umd.js +2 -0
  66. package/preact/dist/preact.min.umd.js.map +1 -0
  67. package/preact/dist/preact.mjs +1 -1
  68. package/preact/dist/preact.module.js +1 -1
  69. package/preact/dist/preact.module.js.map +1 -1
  70. package/preact/dist/preact.umd.js +1 -1
  71. package/preact/dist/preact.umd.js.map +1 -1
  72. package/preact/hooks/dist/hooks.js +1 -1
  73. package/preact/hooks/dist/hooks.js.map +1 -1
  74. package/preact/hooks/dist/hooks.mjs +1 -1
  75. package/preact/hooks/dist/hooks.module.js +1 -1
  76. package/preact/hooks/dist/hooks.module.js.map +1 -1
  77. package/preact/hooks/dist/hooks.umd.js +1 -1
  78. package/preact/hooks/dist/hooks.umd.js.map +1 -1
  79. package/preact/hooks/package.json +9 -0
  80. package/preact/hooks/src/index.d.ts +26 -14
  81. package/preact/hooks/src/index.js +169 -44
  82. package/preact/hooks/src/internal.d.ts +12 -2
  83. package/preact/jsx-runtime/dist/jsxRuntime.js +1 -1
  84. package/preact/jsx-runtime/dist/jsxRuntime.js.map +1 -1
  85. package/preact/jsx-runtime/dist/jsxRuntime.mjs +1 -1
  86. package/preact/jsx-runtime/dist/jsxRuntime.module.js +1 -1
  87. package/preact/jsx-runtime/dist/jsxRuntime.module.js.map +1 -1
  88. package/preact/jsx-runtime/dist/jsxRuntime.umd.js +1 -1
  89. package/preact/jsx-runtime/dist/jsxRuntime.umd.js.map +1 -1
  90. package/preact/jsx-runtime/package.json +26 -17
  91. package/preact/jsx-runtime/src/index.js +19 -13
  92. package/preact/package.json +315 -262
  93. package/preact/src/clone-element.js +16 -10
  94. package/preact/src/component.js +33 -23
  95. package/preact/src/constants.js +2 -1
  96. package/preact/src/create-context.js +8 -3
  97. package/preact/src/create-element.js +9 -11
  98. package/preact/src/diff/catch-error.js +4 -2
  99. package/preact/src/diff/children.js +41 -32
  100. package/preact/src/diff/index.js +81 -34
  101. package/preact/src/diff/props.js +15 -14
  102. package/preact/src/index.d.ts +369 -301
  103. package/preact/src/internal.d.ts +11 -2
  104. package/preact/src/jsx.d.ts +1862 -626
  105. package/preact/src/options.js +1 -2
  106. package/preact/src/render.js +5 -6
  107. package/preact/src/util.js +6 -0
  108. package/preact/test-utils/dist/testUtils.js +1 -1
  109. package/preact/test-utils/dist/testUtils.js.map +1 -1
  110. package/preact/test-utils/dist/testUtils.mjs +1 -1
  111. package/preact/test-utils/dist/testUtils.module.js +1 -1
  112. package/preact/test-utils/dist/testUtils.module.js.map +1 -1
  113. package/preact/test-utils/dist/testUtils.umd.js +1 -1
  114. package/preact/test-utils/dist/testUtils.umd.js.map +1 -1
  115. package/preact/test-utils/package.json +9 -0
  116. package/preact/test-utils/src/index.js +2 -1
@@ -1,1115 +1,1181 @@
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-35: hsl(205, 100%, 35%);
16
- --color-blue-205-100-45: hsl(205, 100%, 45%);
17
- --color-blue-205-100-50: hsl(205, 100%, 50%);
18
- --color-blue-205-100-95: hsl(205, 100%, 95%);
19
-
20
- --color-green-150-86-44: hsl(150, 86%, 44%);
21
-
22
- --color-red-360-100-40: hsl(360, 100%, 40%);
23
- --color-red-360-100-45: hsl(360, 100%, 45%);
24
- --color-red-360-100-92: hsl(360, 100%, 92%);
25
- --color-red-360-100-97: hsl(360, 100%, 97%);
26
-
27
- --color-white: white;
28
- --color-black: black;
29
- --color-transparent: transparent;
30
-
31
- --text-base-color: var(--color-grey-225-10-15);
32
- --text-error-color: var(--color-red-360-100-45);
33
- --link-color: var(--color-blue-205-100-50);
34
-
35
- --description-color: var(--color-grey-225-10-35);
36
- --description-code-background-color: var(--color-grey-225-10-97);
37
- --description-code-border-color: var(--color-grey-225-10-85);
38
- --description-list-item-color: var(--color-grey-225-10-35);
39
-
40
- --placeholder-color: var(--color-grey-225-10-35);
41
- --placeholder-background-color: var(--color-grey-225-10-95);
42
-
43
- --header-background-color: var(--color-grey-225-10-95);
44
- --header-icon-fill-color: var(--color-grey-225-10-15);
45
- --header-bottom-border-color: var(--color-grey-225-10-75);
46
-
47
- --group-background-color: var(--color-white);
48
- --group-bottom-border-color: var(--color-grey-225-10-75);
49
-
50
- --sticky-group-background-color: var(--color-grey-225-10-95);
51
- --sticky-group-bottom-border-color: var(--color-grey-225-10-75);
52
-
53
- --add-entry-fill-color: var(--color-grey-225-10-35);
54
- --add-entry-hover-fill-color: var(--color-white);
55
- --add-entry-hover-background-color: var(--color-blue-205-100-50);
56
- --add-entry-label-color: var(--color-white);
57
-
58
- --remove-entry-fill-color: var(--color-red-360-100-45);
59
- --remove-entry-hover-background-color: var(--color-red-360-100-92);
60
-
61
- --arrow-fill-color: var(--color-grey-225-10-35);
62
- --arrow-hover-background-color: var(--color-grey-225-10-95);
63
-
64
- --dot-color: var(--color-grey-225-10-35);
65
-
66
- --list-badge-color: var(--color-white);
67
- --list-badge-background-color: var(--color-grey-225-10-35);
68
-
69
- --input-background-color: var(--color-grey-225-10-97);
70
- --input-border-color: var(--color-grey-225-10-75);
71
-
72
- --input-focus-background-color: var(--color-blue-205-100-95);
73
- --input-focus-border-color: var(--color-blue-205-100-50);
74
-
75
- --input-error-background-color: var(--color-red-360-100-97);
76
- --input-error-border-color: var(--color-red-360-100-45);
77
- --input-error-focus-border-color: var(--color-red-360-100-45);
78
-
79
- --input-disabled-color: var(--color-grey-225-10-55);
80
- --input-disabled-background-color: var(--color-grey-225-10-97);
81
- --input-disabled-border-color: var(--color-grey-225-10-90);
82
-
83
- --toggle-switch-on-background-color: var(--color-blue-205-100-50);
84
- --toggle-switch-off-background-color: var(--color-grey-225-10-75);
85
- --toggle-switch-switcher-background-color: var(--color-white);
86
-
87
- --side-line-background-color: var(--color-grey-225-10-35);
88
- --side-line-extension-background-color: var(--color-grey-225-10-35);
89
-
90
- --list-entry-dot-background-color: var(--color-grey-225-10-35);
91
- --list-entry-header-button-fill-color: var(--color-grey-225-10-35);
92
- --list-entry-add-entry-empty-background-color: var(--color-blue-205-100-50);
93
- --list-entry-add-entry-empty-hover-background-color: var(--color-blue-205-100-45);
94
- --list-entry-add-entry-label-color: var(--color-white);
95
- --list-entry-add-entry-background-color: var(--color-blue-205-100-50);
96
- --list-entry-add-entry-fill-color: var(--color-white);
97
-
98
- --dropdown-item-background-color: var(--color-white);
99
- --dropdown-item-hover-background-color: var(--color-grey-225-10-95);
100
- --dropdown-separator-background-color: var(--color-grey-225-10-75);
101
-
102
- --feel-background-color: transparent;
103
- --feel-active-color: var(--color-blue-205-100-45);
104
- --feel-inactive-color: var(--color-grey-225-10-35);
105
- --feel-hover-color: var(--color-grey-225-10-15);
106
- --feel-hover-background-color: var(--color-grey-225-10-97);
107
- --feel-active-background-color: transparent;
108
- --feel-required-color: var(--color-grey-225-10-55);
109
-
110
- --feel-indicator-background-color: var(--color-grey-225-10-90);
111
-
112
- --text-size-base: 14px;
113
- --text-size-small: 13px;
114
- --text-size-smallest: 12px;
115
- --text-line-height: 21px;
116
- --line-height-condensed: 17px;
117
-
118
- --font-family: sans-serif;
119
- --font-family-monospace: monospace;
120
-
121
- display: flex;
122
- flex-direction: column;
123
- flex: 1;
124
- position: relative;
125
- height: 100%;
126
- width: 100%;
127
- overflow: hidden;
128
- }
129
-
130
- .bio-properties-panel {
131
- color: var(--text-base-color);
132
- }
133
-
134
- .bio-properties-panel * {
135
- font-size: var(--text-size-base);
136
- line-height: var(--text-line-height);
137
- font-weight: 400;
138
- box-sizing: border-box;
139
- }
140
-
141
- .bio-properties-panel {
142
- font-family: var(--font-family);
143
- }
144
-
145
- /**
146
- * Placeholder (empty, multi select, ...)
147
- */
148
- .bio-properties-panel-placeholder {
149
- position: absolute;
150
- display: flex;
151
- flex-direction: column;
152
- justify-content: center;
153
- align-items: center;
154
- top: 0;
155
- right: 0;
156
- bottom: 0;
157
- left: 0;
158
- background-color: var(--placeholder-background-color);
159
- }
160
-
161
- .bio-properties-panel-placeholder-text {
162
- color: var(--placeholder-color);
163
- font-size: var(--text-size-base);
164
- text-align: center;
165
- margin: 12px 48px;
166
- }
167
-
168
- /**
169
- * Header
170
- */
171
- .bio-properties-panel-header {
172
- display: flex;
173
- flex-direction: row;
174
- align-items: center;
175
- font-size: var(--text-size-base);
176
- padding: 16px 10px;
177
- background-color: var(--header-background-color);
178
- border-bottom: 1px solid var(--header-bottom-border-color);
179
- width: 100%;
180
- z-index: 10;
181
- max-height: 64px;
182
- overflow: hidden;
183
- }
184
-
185
- .bio-properties-panel-header-icon {
186
- fill: var(--header-icon-fill-color);
187
- display: flex;
188
- flex-direction: row;
189
- align-items: center;
190
- justify-content: center;
191
- width: 32px;
192
- height: 32px;
193
- }
194
-
195
- .bio-properties-panel-header-labels {
196
- overflow: hidden;
197
- margin-left: 12px;
198
- user-select: none;
199
- }
200
-
201
- .bio-properties-panel-header-type {
202
- font-size: var(--text-size-smallest);
203
- font-weight: 600;
204
- white-space: nowrap;
205
- text-overflow: ellipsis;
206
- overflow: hidden;
207
- text-transform: uppercase;
208
- }
209
-
210
- .bio-properties-panel-header-label {
211
- white-space: nowrap;
212
- text-overflow: ellipsis;
213
- overflow: hidden;
214
- margin-top: -6px;
215
- }
216
-
217
- .bio-properties-panel-header-actions {
218
- margin-left: auto;
219
- margin-top: auto;
220
- }
221
-
222
- /**
223
- * Scroll container
224
- */
225
- .bio-properties-panel-scroll-container {
226
- overflow-y: auto;
227
- overflow-x: hidden;
228
- flex: 1;
229
- }
230
-
231
- /**
232
- * Groups
233
- */
234
- .bio-properties-panel-group {
235
- background-color: var(--group-background-color);
236
- border-bottom: 1px solid var(--group-bottom-border-color);
237
- position: relative;
238
- }
239
-
240
- .bio-properties-panel-group-header {
241
- display: flex;
242
- flex-direction: row;
243
- align-items: center;
244
- font-size: var(--text-size-base);
245
- height: 32px;
246
- user-select: none;
247
- justify-content: space-between;
248
- margin-bottom: -1px; /* avoid double borders */
249
- position: relative; /* browsers not supporting sticky */
250
- position: -webkit-sticky; /* for safari */
251
- position: sticky;
252
- top: 0;
253
- z-index: 10;
254
- }
255
-
256
- .bio-properties-panel-group-header .bio-properties-panel-group-header-title {
257
- white-space: nowrap;
258
- overflow: hidden;
259
- text-overflow: ellipsis;
260
- margin: 1px 12px 0;
261
- }
262
-
263
- .bio-properties-panel-group-header.open .bio-properties-panel-group-header-title {
264
- font-weight: 500;
265
- }
266
-
267
- .bio-properties-panel-group-header.sticky {
268
- background-color: var(--sticky-group-background-color);
269
- border-bottom: 1px solid var(--sticky-group-bottom-border-color);
270
- }
271
-
272
- .bio-properties-panel-group-header-buttons {
273
- display: flex;
274
- }
275
-
276
- .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-button {
277
- display: inline-flex;
278
- justify-content: center;
279
- align-items: center;
280
- align-self: center;
281
- height: 22px;
282
- line-height: 22px;
283
- min-width: 22px;
284
- margin: 5px;
285
- padding: 0 3px;
286
- border: none;
287
- background: none;
288
- }
289
-
290
- .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-buttons:last-child {
291
- margin-right: 0;
292
- }
293
-
294
- .bio-properties-panel-add-entry {
295
- fill: var(--add-entry-fill-color);
296
- border-radius: 11px;
297
- }
298
-
299
- .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry {
300
- margin-right: 69px;
301
- }
302
-
303
- .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry:hover {
304
- margin-right: 19px;
305
- }
306
-
307
- .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry-label {
308
- display: none;
309
- color: var(--add-entry-label-color);
310
- padding: 0 6px 0 2px;
311
- }
312
-
313
- .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover {
314
- background-color: var(--add-entry-hover-background-color);
315
- fill: var(--add-entry-hover-fill-color);
316
- }
317
-
318
- .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover .bio-properties-panel-add-entry-label {
319
- display: block;
320
- }
321
-
322
- .bio-properties-panel-group-entries {
323
- display: none;
324
- }
325
-
326
- .bio-properties-panel-group-entries.open {
327
- display: block;
328
- }
329
-
330
- .bio-properties-panel-arrow {
331
- display: flex;
332
- justify-content: center;
333
- text-align: center;
334
- fill: var(--arrow-fill-color);
335
- min-width: 22px;
336
- border-radius: 11px;
337
- border: none;
338
- background: none;
339
- }
340
-
341
- .bio-properties-panel-arrow:hover {
342
- background-color: var(--arrow-hover-background-color);
343
- }
344
-
345
- .bio-properties-panel-arrow-down {
346
- transform: rotate(90deg);
347
- }
348
-
349
- .bio-properties-panel-dot {
350
- align-self: center;
351
- height: 8px;
352
- min-width: 8px;
353
- border-radius: 50%;
354
- margin: 12px;
355
- background-color: var(--dot-color);
356
- }
357
-
358
- /**
359
- * Lists
360
- */
361
- .bio-properties-panel-list {
362
- display: none;
363
- }
364
-
365
- .bio-properties-panel-list.open {
366
- display: block;
367
- margin-bottom: 6px;
368
- padding-bottom: 2px;
369
- }
370
-
371
- .bio-properties-panel-list-badge {
372
- height: 22px;
373
- min-width: 22px;
374
- color: var(--list-badge-color);
375
- border-radius: 11px;
376
- font-size: var(--text-size-small);
377
- line-height: 22px;
378
- text-align: center;
379
- user-select: none;
380
- padding: 0 5px;
381
- margin: 5px;
382
- background-color: var(--list-badge-background-color);
383
- }
384
-
385
- /**
386
- * Basic entries
387
- */
388
- .bio-properties-panel-entry {
389
- margin: 2px 32px 6px 12px;
390
- }
391
-
392
- .bio-properties-panel-entry:last-child {
393
- padding-bottom: 10px;
394
- }
395
-
396
- .bio-properties-panel-label {
397
- display: block;
398
- font-size: var(--text-size-small);
399
- margin: 2px 0 1px;
400
- }
401
-
402
- .bio-properties-panel-description,
403
- .bio-properties-panel-description p,
404
- .bio-properties-panel-description span,
405
- .bio-properties-panel-description div {
406
- color: var(--description-color);
407
- display: block;
408
- margin: 2px 0 4px;
409
- line-height: var(--line-height-condensed);
410
- font-weight: 400;
411
- font-size: var(--text-size-small);
412
- }
413
-
414
- .bio-properties-panel-description code {
415
- color: var(--description-color);
416
- font-family: var(--font-family);
417
- font-size: var(--text-size-small);
418
- line-height: var(--line-height-condensed);
419
- padding: 0 2px;
420
- background-color: var(--description-code-background-color);
421
- border: 1px solid var(--description-code-border-color);
422
- border-radius: 3px;
423
- }
424
-
425
- .bio-properties-panel-description pre code {
426
- width: 100%;
427
- display: block;
428
- overflow-x: auto;
429
- padding: 4px 6px;
430
- font-family: var(--font-family-monospace);
431
- }
432
-
433
- .bio-properties-panel-description ul {
434
- padding: 0;
435
- margin: 0 0 0 12px;
436
- list-style-type: disc;
437
- }
438
-
439
- .bio-properties-panel-description li {
440
- color: var(--description-list-item-color);
441
- margin: 0 0 0 12px;
442
- }
443
-
444
- .bio-properties-panel-description a {
445
- color: var(--link-color);
446
- font-size: var(--text-size-small);
447
- text-decoration: underline;
448
- }
449
-
450
- .bio-properties-panel-feelers-editor.bio-properties-panel-input {
451
- padding: 0;
452
- }
453
-
454
- .bio-properties-panel-feelers-input .cm-editor
455
- {
456
- min-height: 32px;
457
- max-height: 215px;
458
- background-color: transparent;
459
- }
460
-
461
- .bio-properties-panel-feelers-editor .cm-editor.cm-focused,
462
- .bio-properties-panel-feelers-input .cm-editor.cm-focused {
463
- outline: none;
464
- }
465
-
466
- .bio-properties-panel-input {
467
- padding: 3px 6px 2px;
468
- border: 1px solid var(--input-border-color);
469
- border-radius: 2px;
470
- background-color: var(--input-background-color);
471
- font-size: var(--text-size-base);
472
- font-family: inherit;
473
- }
474
-
475
- .bio-properties-panel-input[type=number],
476
- select.bio-properties-panel-input,
477
- textarea.bio-properties-panel-input,
478
- .bio-properties-panel-input[type=text] {
479
- display: block;
480
- width: 100%;
481
- }
482
-
483
- textarea.bio-properties-panel-input {
484
- min-height: 28px;
485
- }
486
-
487
- .bio-properties-panel-input:focus,
488
- .bio-properties-panel-input:focus-within {
489
- outline: none;
490
- background-color: var(--input-focus-background-color);
491
- border: 1px solid var(--input-focus-border-color);
492
- }
493
-
494
- .bio-properties-panel-textfield:focus-within,
495
- .bio-properties-panel-feel-entry:focus-within {
496
- --input-background-color: var(--input-focus-background-color);
497
- --input-border-color: var(--input-focus-border-color);
498
- }
499
-
500
- .bio-properties-panel-input:disabled {
501
- border-color: var(--input-disabled-border-color);
502
- background-color: var(--input-disabled-background-color);
503
- color: var(--input-disabled-color);
504
- }
505
-
506
- select.bio-properties-panel-input {
507
- padding: 4px 6px;
508
- }
509
-
510
- .bio-properties-panel-input-monospace {
511
- font-family: var(--font-family-monospace);
512
- }
513
-
514
- .bio-properties-panel-input[type="checkbox"], .bio-properties-panel-input[type="radio"] {
515
- margin: 0;
516
- vertical-align: middle;
517
- }
518
-
519
- .bio-properties-panel-input[type="checkbox"]:focus {
520
- outline: 2px solid var(--input-focus-border-color);
521
- outline-offset: 0;
522
- }
523
-
524
- .bio-properties-panel-checkbox > .bio-properties-panel-label {
525
- display: inline-block;
526
- font-size: var(--text-size-base);
527
- margin-left: 6px;
528
- margin-top: auto;
529
- vertical-align: middle;
530
- }
531
-
532
- .bio-properties-panel-checkbox-entry + .bio-properties-panel-checkbox-entry {
533
- margin-top: -8px;
534
- }
535
-
536
- .bio-properties-panel-checkbox-entry > .bio-properties-panel-description {
537
- margin-left: 18px;
538
- }
539
-
540
- textarea.bio-properties-panel-input {
541
- resize: vertical;
542
- }
543
-
544
- .bio-properties-panel-entry.has-error .bio-properties-panel-input {
545
- border-color: var(--input-error-border-color);
546
- background-color: var(--input-error-background-color);
547
- }
548
-
549
- .bio-properties-panel-entry.has-error .bio-properties-panel-feel-indicator {
550
- border-color: var(--input-error-border-color);
551
- }
552
-
553
- .bio-properties-panel-entry.has-error .bio-properties-panel-input:focus,
554
- .bio-properties-panel-entry.has-error .bio-properties-panel-feel-indicator:focus {
555
- border-color: var(--input-error-focus-border-color);
556
- }
557
-
558
- .bio-properties-panel-entry .bio-properties-panel-error {
559
- color: var(--text-error-color);
560
- margin: 4px 0;
561
- font-size: var(--text-size-small);
562
- }
563
-
564
- .bio-properties-panel-simple {
565
- width: 100%;
566
- margin-right: 8px;
567
- }
568
-
569
- .bio-properties-panel-simple + .bio-properties-panel-remove-entry {
570
- margin: auto;
571
- }
572
-
573
- /**
574
- * Toggle Switch
575
- */
576
- .bio-properties-panel-toggle-switch-entry + .bio-properties-panel-toggle-switch-entry {
577
- margin-top: -8px;
578
- }
579
-
580
- .bio-properties-panel-toggle-switch-entry > .bio-properties-panel-description {
581
- margin-left: 38px;
582
- }
583
-
584
- .bio-properties-panel-toggle-switch .bio-properties-panel-field-wrapper {
585
- display: flex;
586
- flex-direction: row;
587
- align-items: center;
588
- }
589
-
590
- .bio-properties-panel-toggle-switch.inline {
591
- display: flex;
592
- flex-direction: row;
593
- }
594
-
595
- .bio-properties-panel-toggle-switch.inline .bio-properties-panel-field-wrapper {
596
- margin-left: auto;
597
- }
598
-
599
- .bio-properties-panel-toggle-switch > .bio-properties-panel-label {
600
- font-size: var(--text-size-base);
601
- }
602
-
603
- .bio-properties-panel-toggle-switch.inline > .bio-properties-panel-label {
604
- font-size: var(--text-size-small);
605
- }
606
-
607
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__label {
608
- margin: 0;
609
- margin-left: 6px;
610
- font-size: var(--text-size-base);
611
- }
612
-
613
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher {
614
- position: relative;
615
- width: 32px;
616
- height: 16px;
617
- }
618
-
619
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher:focus-within {
620
- outline: 2px solid var(--input-focus-border-color);
621
- outline-offset: 1px;
622
- }
623
-
624
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox'] {
625
- opacity: 0;
626
- width: 0;
627
- height: 0;
628
- }
629
-
630
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider {
631
- position: absolute;
632
- cursor: pointer;
633
- top: 0;
634
- left: 0;
635
- right: 0;
636
- bottom: 0;
637
- background-color: var(--toggle-switch-off-background-color);
638
- -webkit-transition: 0.4s;
639
- transition: 0.4s;
640
- border-radius: 34px;
641
- }
642
-
643
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider:before {
644
- position: absolute;
645
- content: "";
646
- height: 12px;
647
- width: 12px;
648
- left: 2px;
649
- bottom: 2px;
650
- background-color: var(--toggle-switch-switcher-background-color);
651
- -webkit-transition: 0.4s;
652
- transition: 0.4s;
653
- border-radius: 50%;
654
- }
655
-
656
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider {
657
- background-color: var(--toggle-switch-on-background-color);
658
- box-shadow: 0 0 1px ;
659
- }
660
-
661
- .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider:before {
662
- -webkit-transform: translateX(16px);
663
- -ms-transform: translateX(16px);
664
- transform: translateX(16px);
665
- }
666
-
667
- /**
668
- * Collapsible entries
669
- */
670
- .bio-properties-panel-collapsible-entry-entries {
671
- position: relative;
672
- display: none;
673
- }
674
-
675
- .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child {
676
- padding-bottom: 0;
677
- }
678
-
679
- .bio-properties-panel-collapsible-entry-entries.open {
680
- display: block;
681
- }
682
-
683
- .bio-properties-panel-collapsible-entry-entries {
684
- padding-left: 20px;
685
- margin-bottom: 10px;
686
- position: relative;
687
- display: none;
688
- }
689
-
690
- .bio-properties-panel-collapsible-entry-header {
691
- position: relative;
692
- display: flex;
693
- justify-content: space-between;
694
- align-items: center;
695
- overflow: hidden;
696
- }
697
-
698
- .bio-properties-panel-collapsible-entry-header .bio-properties-panel-collapsible-entry-header-title {
699
- padding: 2px 24px 2px 32px;
700
- font-size: var(--text-size-base);
701
- white-space: nowrap;
702
- overflow: hidden;
703
- text-overflow: ellipsis;
704
- user-select: none;
705
- }
706
-
707
- .bio-properties-panel-collapsible-entry-arrow {
708
- position: absolute;
709
- top: 2px;
710
- left: 6px;
711
- padding: 0 3px;
712
- height: 22px;
713
- display: inline-flex;
714
- justify-content: center;
715
- align-items: center;
716
- align-self: center;
717
- }
718
-
719
- .bio-properties-panel-remove-entry {
720
- display: flex;
721
- align-items: center;
722
- justify-content: center;
723
- margin-right: 5px;
724
- padding: 0;
725
- width: 22px;
726
- height: 22px;
727
- fill: var(--remove-entry-fill-color);
728
- border-radius: 50%;
729
- border: none;
730
- background: none;
731
- visibility: hidden;
732
- }
733
-
734
- .bio-properties-panel-remove-entry:hover {
735
- background-color: var(--remove-entry-hover-background-color);
736
- }
737
-
738
- .bio-properties-panel-list-entry-item:hover .bio-properties-panel-remove-list-entry,
739
- .bio-properties-panel-collapsible-entry:hover > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry,
740
- .bio-properties-panel-collapsible-entry:focus-within > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry
741
- {
742
- visibility: visible;
743
- }
744
-
745
- /* Side line */
746
- .bio-properties-panel-collapsible-entry-entries::before {
747
- content: "";
748
- position: absolute;
749
- left: 16px;
750
- width: 2px;
751
- top: -6px;
752
- bottom: 12px;
753
- background-color: var(--side-line-background-color);
754
- border-radius: 1px;
755
- }
756
-
757
- /* Side line extension for non-list entry or open list entry positioned as the last one. */
758
- .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child,
759
- .bio-properties-panel-list-entry.open:last-child {
760
- position: relative;
761
- }
762
-
763
- .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child::after,
764
- .bio-properties-panel-list-entry.open:last-child::after {
765
- content: "";
766
- position: absolute;
767
- left: -16px;
768
- width: 2px;
769
- top: 0;
770
- bottom: -4px;
771
- background-color: var(--side-line-extension-background-color);
772
- border-radius: 1px;
773
- }
774
-
775
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child::after {
776
- left: -18px;
777
- }
778
-
779
- /*
780
- * List entry
781
- */
782
- .bio-properties-panel-list-entry {
783
- position: relative;
784
- margin-right: 5px;
785
- margin-bottom: 0;
786
- }
787
-
788
- .bio-properties-panel-list-entry .bio-properties-panel-entry {
789
- margin-right: 0;
790
- }
791
-
792
- .bio-properties-panel-list-entry-header {
793
- position: relative;
794
- overflow: hidden;
795
- display: flex;
796
- justify-content: space-between;
797
- height: 32px;
798
- }
799
-
800
- /* Nested list dot */
801
- .bio-properties-panel-list-entry::before {
802
- content: "";
803
- width: 8px;
804
- height: 8px;
805
- position: absolute;
806
- left: -19px;
807
- top: 13px;
808
- border-radius: 50%;
809
- background-color: var(--list-entry-dot-background-color);
810
- }
811
-
812
- .bio-properties-panel-list-entry-header-title {
813
- display: block;
814
- margin: auto 0;
815
- padding: 2px 0;
816
- font-size: var(--text-size-base);
817
- white-space: nowrap;
818
- overflow: hidden;
819
- text-overflow: ellipsis;
820
- }
821
-
822
- .bio-properties-panel-list-entry-header-title.open {
823
- font-weight: 500;
824
- }
825
-
826
- .bio-properties-panel-list-entry-header-buttons {
827
- display: flex;
828
- align-items: center;
829
- }
830
-
831
- .bio-properties-panel-list-entry-header-buttons > button {
832
- display: inline-flex;
833
- justify-content: center;
834
- align-items: center;
835
- align-self: center;
836
- height: 22px;
837
- line-height: 22px;
838
- min-width: 22px;
839
- margin: 5px;
840
- padding: 0 3px;
841
- border: none;
842
- background: none;
843
- fill: var(--list-entry-header-button-fill-color);
844
- }
845
-
846
- .bio-properties-panel-list-entry-header-buttons > :last-child {
847
- margin-right: 0;
848
- }
849
-
850
- .bio-properties-panel-list-entry-items {
851
- padding: 0;
852
- margin: 0;
853
-
854
- list-style: none;
855
- }
856
-
857
- .bio-properties-panel-list-entry-items:not(.open) {
858
- display: none;
859
- }
860
-
861
- .bio-properties-panel-list-entry-item {
862
- display: flex;
863
- justify-content: space-between;
864
- }
865
-
866
- .bio-properties-panel-list-entry-item .bio-properties-panel-remove-entry {
867
- margin-right: 1px;
868
- }
869
-
870
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry {
871
- width: 100%;
872
- margin-right: 4px;
873
- }
874
-
875
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header {
876
- margin-left: -8px;
877
- }
878
-
879
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-arrow {
880
- left: 2px;
881
- }
882
-
883
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header-title {
884
- padding-left: 30px;
885
- }
886
-
887
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries {
888
- padding-left: 10px;
889
- }
890
-
891
- .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries::before {
892
- left: 4px;
893
- }
894
-
895
- .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry {
896
- margin-right: 16px;
897
- padding-left: 6px;
898
- }
899
-
900
- .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry-label {
901
- color: var(--list-entry-add-entry-label-color);
902
- padding: 4px 6px 3px 2px;
903
- }
904
-
905
- .bio-properties-panel-list-entry-header-buttons .bio-properties-panel-add-entry:hover {
906
- background-color: var(--list-entry-add-entry-background-color);
907
- fill: var(--list-entry-add-entry-fill-color);
908
- }
909
-
910
- .bio-properties-panel-list-entry-item .bio-properties-panel-simple .bio-properties-panel-input {
911
- border-radius: 0;
912
- margin-bottom: -2px;
913
- }
914
-
915
- .bio-properties-panel-list-entry-item:first-child .bio-properties-panel-simple .bio-properties-panel-input {
916
- border-top-left-radius: 2px;
917
- border-top-right-radius: 2px;
918
- }
919
-
920
- .bio-properties-panel-list-entry-item:last-child .bio-properties-panel-simple .bio-properties-panel-input {
921
- border-bottom-left-radius: 2px;
922
- border-bottom-right-radius: 2px;
923
- }
924
-
925
- .bio-properties-panel-dropdown-button {
926
- position: relative;
927
-
928
- --dropdown-button-margin: 5px;
929
- }
930
-
931
- .bio-properties-panel-dropdown-button:not(.open) .bio-properties-panel-dropdown-button__menu {
932
- display: none;
933
- }
934
-
935
- .bio-properties-panel-dropdown-button__menu {
936
- min-width: calc(100% - var(--dropdown-button-margin) * 2);
937
- max-width: 240px;
938
-
939
- position: absolute;
940
- top: calc(100% - var(--dropdown-button-margin));
941
- right: var(--dropdown-button-margin);
942
- z-index: 101;
943
-
944
- background-color: var(--dropdown-item-background-color);
945
-
946
- padding: 8px 0;
947
-
948
- box-shadow: 0 1px 4px 0 var(--color-grey-225-10-85), 0 2px 16px 0 var(--color-grey-225-10-75)
949
- }
950
-
951
- .bio-properties-panel-dropdown-button__menu-item {
952
- display: block;
953
- width: 100%;
954
- padding: 4px 12px;
955
-
956
- font-size: var(--text-size-small);
957
- appearance: revert;
958
- border: unset;
959
- background: unset;
960
- text-align: unset;
961
- }
962
-
963
- .bio-properties-panel-dropdown-button__menu-item--separator {
964
- width: 100%;
965
- height: 1px;
966
-
967
- padding: 0;
968
- margin: 8px 0;
969
-
970
- background-color: var(--dropdown-separator-background-color);
971
- }
972
-
973
- .bio-properties-panel-dropdown-button__menu-item--actionable {
974
- font-size: var(--text-size-base);
975
- }
976
-
977
- .bio-properties-panel-dropdown-button__menu-item--actionable:hover {
978
- background-color: var(--dropdown-item-hover-background-color);
979
- }
980
-
981
- .bio-properties-panel-feel-input {
982
- position: relative;
983
- }
984
-
985
- .bio-properties-panel-feel-input input {
986
- padding-right: 2em
987
- }
988
-
989
- .bio-properties-panel-feel-entry .bio-properties-panel-label {
990
- display: flex;
991
- }
992
-
993
- .bio-properties-panel-feel-icon {
994
- display: inline-flex;
995
- height: 18px;
996
- width: 22px;
997
- vertical-align: text-bottom;
998
- padding: 0;
999
- margin: 0 3px;
1000
- align-items: center;
1001
- align-self: center;
1002
- justify-content: center;
1003
- border: none;
1004
- background: none;
1005
- border-radius: 3px;
1006
- }
1007
-
1008
- .bio-properties-panel-feel-icon.optional {
1009
- cursor: pointer;
1010
- background: var(--feel-background-color);
1011
- }
1012
-
1013
- .bio-properties-panel-feel-icon svg * {
1014
- fill: var(--feel-inactive-color);
1015
- }
1016
-
1017
- .bio-properties-panel-feel-icon:hover {
1018
- background: var(--feel-hover-background-color);
1019
- }
1020
-
1021
- .bio-properties-panel-feel-icon:hover svg * {
1022
- fill: var(--feel-hover-color);
1023
- }
1024
-
1025
- .bio-properties-panel-feel-icon.active {
1026
- background: var(--feel-active-background-color);
1027
- }
1028
-
1029
- .bio-properties-panel-feel-icon.active:hover {
1030
- background: var(--feel-hover-background-color);
1031
- }
1032
-
1033
- .bio-properties-panel-feel-icon.required.active {
1034
- background: none;
1035
- }
1036
-
1037
- .bio-properties-panel-feel-icon.active svg * {
1038
- fill: var(--feel-active-color);
1039
- }
1040
-
1041
- .bio-properties-panel-feel-icon.required.active svg * {
1042
- fill: var(--feel-required-color);
1043
- }
1044
-
1045
- .bio-properties-panel-feel-editor-container {
1046
- position: relative;
1047
- }
1048
-
1049
- .bio-properties-panel-feel-editor-container.active {
1050
- font-family: var(--font-family-monospace);
1051
- }
1052
-
1053
- .bio-properties-panel-feel-container {
1054
- position: relative;
1055
- }
1056
-
1057
- .bio-properties-panel-feel-container .bio-properties-panel-feel-editor-container>div {
1058
- position: static;
1059
- padding-left: 2.4em !important;
1060
- min-height: 28px;
1061
- }
1062
-
1063
- .bio-properties-panel-feel-indicator {
1064
- position: absolute;
1065
- border: 1px solid var(--input-border-color);
1066
- background-color: var(--feel-indicator-background-color);
1067
- border-right: 0px;
1068
- border-radius: 2px 0 0 2px;
1069
- z-index: 1;
1070
- height: 100%;
1071
- width: 2em;
1072
- text-align: center;
1073
- padding: 2px 6px;
1074
- }
1075
-
1076
- .bio-properties-panel-feel-editor-container .cm-scroller {
1077
- overflow: hidden !important;
1078
- }
1079
-
1080
- .bio-properties-panel-feelers-editor .cm-editor {
1081
- background-color: transparent;
1082
- }
1083
-
1084
- .bio-properties-panel-feelers-editor .cm-editor.cm-focused {
1085
- background-color: transparent;
1086
- }
1087
-
1088
- .bio-properties-panel-feel-editor-container .bio-properties-panel-input {
1089
- resize: vertical;
1090
- overflow: hidden;
1091
- overflow-y: auto;
1092
- }
1093
-
1094
- .bio-properties-panel-feel-editor-container,
1095
- .bio-properties-panel-feel-editor-container .bio-properties-panel-input,
1096
- .bio-properties-panel-feel-container .cm-editor {
1097
- min-height: 100%;
1098
- }
1099
-
1100
- .bio-properties-panel-feel-checkbox,
1101
- .bio-properties-panel-feel-toggle-switch {
1102
- padding-top: 1px;
1103
- }
1104
-
1105
- .bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active),
1106
- .bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) {
1107
- display: flex;
1108
- flex-direction: row;
1109
- align-items: center;
1110
- }
1111
-
1112
- .bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container,
1113
- .bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container {
1114
- margin-left: auto;
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
+ --color-grey-0-0-22: hsl(0, 0%, 22%);
15
+
16
+ --color-blue-205-100-35: hsl(205, 100%, 35%);
17
+ --color-blue-205-100-45: hsl(205, 100%, 45%);
18
+ --color-blue-205-100-50: hsl(205, 100%, 50%);
19
+ --color-blue-205-100-95: hsl(205, 100%, 95%);
20
+ --color-blue-219-99-53: hsl(219, 99%, 53%);
21
+ --color-blue-218-100-74: hsl(218, 100%, 74%);
22
+ --color-green-150-86-44: hsl(150, 86%, 44%);
23
+
24
+ --color-red-360-100-40: hsl(360, 100%, 40%);
25
+ --color-red-360-100-45: hsl(360, 100%, 45%);
26
+ --color-red-360-100-92: hsl(360, 100%, 92%);
27
+ --color-red-360-100-97: hsl(360, 100%, 97%);
28
+
29
+ --color-white: white;
30
+ --color-black: black;
31
+ --color-transparent: transparent;
32
+
33
+ --text-base-color: var(--color-grey-225-10-15);
34
+ --text-error-color: var(--color-red-360-100-45);
35
+ --link-color: var(--color-blue-205-100-50);
36
+
37
+ --description-color: var(--color-grey-225-10-35);
38
+ --description-code-background-color: var(--color-grey-225-10-97);
39
+ --description-code-border-color: var(--color-grey-225-10-85);
40
+ --description-list-item-color: var(--color-grey-225-10-35);
41
+
42
+ --placeholder-color: var(--color-grey-225-10-35);
43
+ --placeholder-background-color: var(--color-grey-225-10-95);
44
+
45
+ --header-background-color: var(--color-grey-225-10-95);
46
+ --header-icon-fill-color: var(--color-grey-225-10-15);
47
+ --header-bottom-border-color: var(--color-grey-225-10-75);
48
+
49
+ --group-background-color: var(--color-white);
50
+ --group-bottom-border-color: var(--color-grey-225-10-75);
51
+
52
+ --sticky-group-background-color: var(--color-grey-225-10-95);
53
+ --sticky-group-bottom-border-color: var(--color-grey-225-10-75);
54
+
55
+ --add-entry-fill-color: var(--color-grey-225-10-35);
56
+ --add-entry-hover-fill-color: var(--color-white);
57
+ --add-entry-hover-background-color: var(--color-blue-205-100-50);
58
+ --add-entry-label-color: var(--color-white);
59
+
60
+ --remove-entry-fill-color: var(--color-red-360-100-45);
61
+ --remove-entry-hover-background-color: var(--color-red-360-100-92);
62
+
63
+ --arrow-fill-color: var(--color-grey-225-10-35);
64
+ --arrow-hover-background-color: var(--color-grey-225-10-95);
65
+
66
+ --dot-color: var(--color-grey-225-10-35);
67
+ --dot-color-error: var(--color-red-360-100-45);
68
+
69
+ --list-badge-color: var(--color-white);
70
+ --list-badge-background-color: var(--color-grey-225-10-35);
71
+
72
+ --input-background-color: var(--color-grey-225-10-97);
73
+ --input-border-color: var(--color-grey-225-10-75);
74
+
75
+ --input-focus-background-color: var(--color-blue-205-100-95);
76
+ --input-focus-border-color: var(--color-blue-205-100-50);
77
+
78
+ --input-error-background-color: var(--color-red-360-100-97);
79
+ --input-error-border-color: var(--color-red-360-100-45);
80
+ --input-error-focus-border-color: var(--color-red-360-100-45);
81
+
82
+ --input-disabled-color: var(--color-grey-225-10-55);
83
+ --input-disabled-background-color: var(--color-grey-225-10-97);
84
+ --input-disabled-border-color: var(--color-grey-225-10-90);
85
+
86
+ --toggle-switch-on-background-color: var(--color-blue-205-100-50);
87
+ --toggle-switch-off-background-color: var(--color-grey-225-10-75);
88
+ --toggle-switch-switcher-background-color: var(--color-white);
89
+
90
+ --side-line-background-color: var(--color-grey-225-10-35);
91
+ --side-line-extension-background-color: var(--color-grey-225-10-35);
92
+
93
+ --list-entry-dot-background-color: var(--color-grey-225-10-35);
94
+ --list-entry-header-button-fill-color: var(--color-grey-225-10-35);
95
+ --list-entry-add-entry-empty-background-color: var(--color-blue-205-100-50);
96
+ --list-entry-add-entry-empty-hover-background-color: var(--color-blue-205-100-45);
97
+ --list-entry-add-entry-label-color: var(--color-white);
98
+ --list-entry-add-entry-background-color: var(--color-blue-205-100-50);
99
+ --list-entry-add-entry-fill-color: var(--color-white);
100
+
101
+ --dropdown-item-background-color: var(--color-white);
102
+ --dropdown-item-hover-background-color: var(--color-grey-225-10-95);
103
+ --dropdown-separator-background-color: var(--color-grey-225-10-75);
104
+
105
+ --feel-background-color: transparent;
106
+ --feel-active-color: var(--color-blue-205-100-45);
107
+ --feel-inactive-color: var(--color-grey-225-10-35);
108
+ --feel-hover-color: var(--color-grey-225-10-15);
109
+ --feel-hover-background-color: var(--color-grey-225-10-97);
110
+ --feel-active-background-color: transparent;
111
+ --feel-required-color: var(--color-grey-225-10-55);
112
+
113
+ --feel-indicator-background-color: var(--color-grey-225-10-90);
114
+
115
+ --tooltip-underline-color: var(--color-blue-219-99-53);
116
+ --tooltip-background-color: var(--color-grey-0-0-22);
117
+ --tooltip-link: var(--color-blue-218-100-74);
118
+ --tooltip-code-background-color: var(--color-grey-225-10-97);
119
+ --tooltip-code-border-color: var(--color-grey-225-10-85);
120
+
121
+ --text-size-base: 14px;
122
+ --text-size-small: 13px;
123
+ --text-size-smallest: 12px;
124
+ --text-line-height: 21px;
125
+ --line-height-condensed: 17px;
126
+
127
+ --font-family: sans-serif;
128
+ --font-family-monospace: monospace;
129
+
130
+ display: flex;
131
+ flex-direction: column;
132
+ flex: 1;
133
+ position: relative;
134
+ height: 100%;
135
+ width: 100%;
136
+ overflow: hidden;
137
+ }
138
+
139
+ .bio-properties-panel {
140
+ color: var(--text-base-color);
141
+ }
142
+
143
+ .bio-properties-panel * {
144
+ font-size: var(--text-size-base);
145
+ line-height: var(--text-line-height);
146
+ font-weight: 400;
147
+ box-sizing: border-box;
148
+ }
149
+
150
+ .bio-properties-panel {
151
+ font-family: var(--font-family);
152
+ }
153
+
154
+ /**
155
+ * Placeholder (empty, multi select, ...)
156
+ */
157
+ .bio-properties-panel-placeholder {
158
+ position: absolute;
159
+ display: flex;
160
+ flex-direction: column;
161
+ justify-content: center;
162
+ align-items: center;
163
+ top: 0;
164
+ right: 0;
165
+ bottom: 0;
166
+ left: 0;
167
+ background-color: var(--placeholder-background-color);
168
+ }
169
+
170
+ .bio-properties-panel-placeholder-text {
171
+ color: var(--placeholder-color);
172
+ font-size: var(--text-size-base);
173
+ text-align: center;
174
+ margin: 12px 48px;
175
+ }
176
+
177
+ /**
178
+ * Header
179
+ */
180
+ .bio-properties-panel-header {
181
+ display: flex;
182
+ flex-direction: row;
183
+ align-items: center;
184
+ font-size: var(--text-size-base);
185
+ padding: 16px 10px;
186
+ background-color: var(--header-background-color);
187
+ border-bottom: 1px solid var(--header-bottom-border-color);
188
+ width: 100%;
189
+ z-index: 10;
190
+ max-height: 64px;
191
+ overflow: hidden;
192
+ }
193
+
194
+ .bio-properties-panel-header-icon {
195
+ fill: var(--header-icon-fill-color);
196
+ display: flex;
197
+ flex-direction: row;
198
+ align-items: center;
199
+ justify-content: center;
200
+ width: 32px;
201
+ height: 32px;
202
+ }
203
+
204
+ .bio-properties-panel-header-labels {
205
+ overflow: hidden;
206
+ margin-left: 12px;
207
+ user-select: none;
208
+ }
209
+
210
+ .bio-properties-panel-header-type {
211
+ font-size: var(--text-size-smallest);
212
+ font-weight: 600;
213
+ white-space: nowrap;
214
+ text-overflow: ellipsis;
215
+ overflow: hidden;
216
+ text-transform: uppercase;
217
+ }
218
+
219
+ .bio-properties-panel-header-label {
220
+ white-space: nowrap;
221
+ text-overflow: ellipsis;
222
+ overflow: hidden;
223
+ margin-top: -6px;
224
+ }
225
+
226
+ .bio-properties-panel-header-actions {
227
+ margin-left: auto;
228
+ margin-top: auto;
229
+ }
230
+
231
+ /**
232
+ * Scroll container
233
+ */
234
+ .bio-properties-panel-scroll-container {
235
+ overflow-y: auto;
236
+ overflow-x: hidden;
237
+ flex: 1;
238
+ }
239
+
240
+ /**
241
+ * Groups
242
+ */
243
+ .bio-properties-panel-group {
244
+ background-color: var(--group-background-color);
245
+ border-bottom: 1px solid var(--group-bottom-border-color);
246
+ position: relative;
247
+ }
248
+
249
+ .bio-properties-panel-group-header {
250
+ display: flex;
251
+ flex-direction: row;
252
+ align-items: center;
253
+ font-size: var(--text-size-base);
254
+ height: 32px;
255
+ user-select: none;
256
+ justify-content: space-between;
257
+ margin-bottom: -1px; /* avoid double borders */
258
+ position: relative; /* browsers not supporting sticky */
259
+ position: -webkit-sticky; /* for safari */
260
+ position: sticky;
261
+ top: 0;
262
+ z-index: 10;
263
+ }
264
+
265
+ .bio-properties-panel-group-header .bio-properties-panel-group-header-title {
266
+ white-space: nowrap;
267
+ overflow: hidden;
268
+ text-overflow: ellipsis;
269
+ margin: 1px 12px 0;
270
+ }
271
+
272
+ .bio-properties-panel-group-header.open .bio-properties-panel-group-header-title {
273
+ font-weight: 500;
274
+ }
275
+
276
+ .bio-properties-panel-group-header.sticky {
277
+ background-color: var(--sticky-group-background-color);
278
+ border-bottom: 1px solid var(--sticky-group-bottom-border-color);
279
+ }
280
+
281
+ .bio-properties-panel-group-header-buttons {
282
+ display: flex;
283
+ }
284
+
285
+ .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-button {
286
+ display: inline-flex;
287
+ justify-content: center;
288
+ align-items: center;
289
+ align-self: center;
290
+ height: 22px;
291
+ line-height: 22px;
292
+ min-width: 22px;
293
+ margin: 5px;
294
+ padding: 0 3px;
295
+ border: none;
296
+ background: none;
297
+ }
298
+
299
+ .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-buttons:last-child {
300
+ margin-right: 0;
301
+ }
302
+
303
+ .bio-properties-panel-add-entry {
304
+ fill: var(--add-entry-fill-color);
305
+ border-radius: 11px;
306
+ }
307
+
308
+ .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry {
309
+ margin-right: 69px;
310
+ }
311
+
312
+ .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry:hover {
313
+ margin-right: 19px;
314
+ }
315
+
316
+ .bio-properties-panel-group-header.empty .bio-properties-panel-add-entry-label {
317
+ display: none;
318
+ color: var(--add-entry-label-color);
319
+ padding: 0 6px 0 2px;
320
+ }
321
+
322
+ .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover {
323
+ background-color: var(--add-entry-hover-background-color);
324
+ fill: var(--add-entry-hover-fill-color);
325
+ }
326
+
327
+ .bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover .bio-properties-panel-add-entry-label {
328
+ display: block;
329
+ }
330
+
331
+ .bio-properties-panel-group-entries {
332
+ display: none;
333
+ }
334
+
335
+ .bio-properties-panel-group-entries.open {
336
+ display: block;
337
+ }
338
+
339
+ .bio-properties-panel-arrow {
340
+ display: flex;
341
+ justify-content: center;
342
+ text-align: center;
343
+ fill: var(--arrow-fill-color);
344
+ min-width: 22px;
345
+ border-radius: 11px;
346
+ border: none;
347
+ background: none;
348
+ }
349
+
350
+ .bio-properties-panel-arrow:hover {
351
+ background-color: var(--arrow-hover-background-color);
352
+ }
353
+
354
+ .bio-properties-panel-arrow-down {
355
+ transform: rotate(90deg);
356
+ }
357
+
358
+ .bio-properties-panel-dot {
359
+ align-self: center;
360
+ height: 8px;
361
+ min-width: 8px;
362
+ border-radius: 50%;
363
+ margin: 12px;
364
+ background-color: var(--dot-color);
365
+ }
366
+
367
+ .bio-properties-panel-dot--error {
368
+ --dot-color: var(--dot-color-error);
369
+ }
370
+
371
+ /**
372
+ * Lists
373
+ */
374
+ .bio-properties-panel-list {
375
+ display: none;
376
+ }
377
+
378
+ .bio-properties-panel-list.open {
379
+ display: block;
380
+ margin-bottom: 6px;
381
+ padding-bottom: 2px;
382
+ }
383
+
384
+ .bio-properties-panel-list-badge {
385
+ height: 22px;
386
+ min-width: 22px;
387
+ color: var(--list-badge-color);
388
+ border-radius: 11px;
389
+ font-size: var(--text-size-small);
390
+ line-height: 22px;
391
+ text-align: center;
392
+ user-select: none;
393
+ padding: 0 5px;
394
+ margin: 5px;
395
+ background-color: var(--list-badge-background-color);
396
+ }
397
+
398
+ .bio-properties-panel-list-badge--error {
399
+ --list-badge-background-color: var(--dot-color-error);
400
+ }
401
+
402
+ /**
403
+ * Basic entries
404
+ */
405
+ .bio-properties-panel-entry {
406
+ margin: 2px 32px 6px 12px;
407
+ }
408
+
409
+ .bio-properties-panel-entry:last-child {
410
+ padding-bottom: 10px;
411
+ }
412
+
413
+ .bio-properties-panel-label {
414
+ display: block;
415
+ font-size: var(--text-size-small);
416
+ margin: 2px 0 1px;
417
+ }
418
+
419
+ .bio-properties-panel-description,
420
+ .bio-properties-panel-description p,
421
+ .bio-properties-panel-description span,
422
+ .bio-properties-panel-description div {
423
+ color: var(--description-color);
424
+ display: block;
425
+ margin: 2px 0 4px;
426
+ line-height: var(--line-height-condensed);
427
+ font-weight: 400;
428
+ font-size: var(--text-size-small);
429
+ }
430
+
431
+ .bio-properties-panel-description code {
432
+ color: var(--description-color);
433
+ font-family: var(--font-family);
434
+ font-size: var(--text-size-small);
435
+ line-height: var(--line-height-condensed);
436
+ padding: 0 2px;
437
+ background-color: var(--description-code-background-color);
438
+ border: 1px solid var(--description-code-border-color);
439
+ border-radius: 3px;
440
+ }
441
+
442
+ .bio-properties-panel-description pre code {
443
+ width: 100%;
444
+ display: block;
445
+ overflow-x: auto;
446
+ padding: 4px 6px;
447
+ font-family: var(--font-family-monospace);
448
+ }
449
+
450
+ .bio-properties-panel-description ul {
451
+ padding: 0;
452
+ margin: 0 0 0 12px;
453
+ list-style-type: disc;
454
+ }
455
+
456
+ .bio-properties-panel-description li {
457
+ color: var(--description-list-item-color);
458
+ margin: 0 0 0 12px;
459
+ }
460
+
461
+ .bio-properties-panel-description a {
462
+ color: var(--link-color);
463
+ font-size: var(--text-size-small);
464
+ text-decoration: underline;
465
+ }
466
+
467
+ .bio-properties-panel-feelers-editor.bio-properties-panel-input {
468
+ padding: 0;
469
+ }
470
+
471
+ .bio-properties-panel-feelers-input .cm-editor
472
+ {
473
+ min-height: 32px;
474
+ max-height: 215px;
475
+ background-color: transparent;
476
+ }
477
+
478
+ .bio-properties-panel-feelers-editor .cm-editor.cm-focused,
479
+ .bio-properties-panel-feelers-input .cm-editor.cm-focused {
480
+ outline: none;
481
+ }
482
+
483
+ .bio-properties-panel-input {
484
+ padding: 3px 6px 2px;
485
+ border: 1px solid var(--input-border-color);
486
+ border-radius: 2px;
487
+ background-color: var(--input-background-color);
488
+ font-size: var(--text-size-base);
489
+ font-family: inherit;
490
+ }
491
+
492
+ .bio-properties-panel-input[type=number],
493
+ select.bio-properties-panel-input,
494
+ textarea.bio-properties-panel-input,
495
+ .bio-properties-panel-input[type=text] {
496
+ display: block;
497
+ width: 100%;
498
+ }
499
+
500
+ textarea.bio-properties-panel-input {
501
+ min-height: 28px;
502
+ }
503
+
504
+ .bio-properties-panel-input:focus,
505
+ .bio-properties-panel-input:focus-within {
506
+ outline: none;
507
+ background-color: var(--input-focus-background-color);
508
+ border: 1px solid var(--input-focus-border-color);
509
+ }
510
+
511
+ .bio-properties-panel-textfield:focus-within,
512
+ .bio-properties-panel-feel-entry:focus-within {
513
+ --input-background-color: var(--input-focus-background-color);
514
+ --input-border-color: var(--input-focus-border-color);
515
+ }
516
+
517
+ .bio-properties-panel-input:disabled {
518
+ border-color: var(--input-disabled-border-color);
519
+ background-color: var(--input-disabled-background-color);
520
+ color: var(--input-disabled-color);
521
+ }
522
+
523
+ select.bio-properties-panel-input {
524
+ padding: 4px 6px;
525
+ }
526
+
527
+ .bio-properties-panel-input-monospace {
528
+ font-family: var(--font-family-monospace);
529
+ }
530
+
531
+ .bio-properties-panel-input[type="checkbox"], .bio-properties-panel-input[type="radio"] {
532
+ margin: 0;
533
+ vertical-align: middle;
534
+ }
535
+
536
+ .bio-properties-panel-input[type="checkbox"]:focus {
537
+ outline: 2px solid var(--input-focus-border-color);
538
+ outline-offset: 0;
539
+ }
540
+
541
+ .bio-properties-panel-checkbox > .bio-properties-panel-label {
542
+ display: inline-block;
543
+ font-size: var(--text-size-base);
544
+ margin-left: 6px;
545
+ margin-top: auto;
546
+ vertical-align: middle;
547
+ }
548
+
549
+ .bio-properties-panel-checkbox-entry + .bio-properties-panel-checkbox-entry {
550
+ margin-top: -8px;
551
+ }
552
+
553
+ .bio-properties-panel-checkbox-entry > .bio-properties-panel-description {
554
+ margin-left: 18px;
555
+ }
556
+
557
+ textarea.bio-properties-panel-input {
558
+ resize: vertical;
559
+ }
560
+
561
+ .bio-properties-panel-entry.has-error .bio-properties-panel-input {
562
+ border-color: var(--input-error-border-color);
563
+ background-color: var(--input-error-background-color);
564
+ }
565
+
566
+ .bio-properties-panel-entry.has-error .bio-properties-panel-feel-indicator {
567
+ border-color: var(--input-error-border-color);
568
+ }
569
+
570
+ .bio-properties-panel-entry.has-error .bio-properties-panel-input:focus,
571
+ .bio-properties-panel-entry.has-error .bio-properties-panel-feel-indicator:focus {
572
+ border-color: var(--input-error-focus-border-color);
573
+ }
574
+
575
+ .bio-properties-panel-entry .bio-properties-panel-error {
576
+ color: var(--text-error-color);
577
+ margin: 4px 0;
578
+ font-size: var(--text-size-small);
579
+ }
580
+
581
+ .bio-properties-panel-simple {
582
+ width: 100%;
583
+ margin-right: 8px;
584
+ }
585
+
586
+ .bio-properties-panel-simple + .bio-properties-panel-remove-entry {
587
+ margin: auto;
588
+ }
589
+
590
+ /**
591
+ * Toggle Switch
592
+ */
593
+ .bio-properties-panel-toggle-switch-entry + .bio-properties-panel-toggle-switch-entry {
594
+ margin-top: -8px;
595
+ }
596
+
597
+ .bio-properties-panel-toggle-switch-entry > .bio-properties-panel-description {
598
+ margin-left: 38px;
599
+ }
600
+
601
+ .bio-properties-panel-toggle-switch .bio-properties-panel-field-wrapper {
602
+ display: flex;
603
+ flex-direction: row;
604
+ align-items: center;
605
+ }
606
+
607
+ .bio-properties-panel-toggle-switch.inline {
608
+ display: flex;
609
+ flex-direction: row;
610
+ }
611
+
612
+ .bio-properties-panel-toggle-switch.inline .bio-properties-panel-field-wrapper {
613
+ margin-left: auto;
614
+ }
615
+
616
+ .bio-properties-panel-toggle-switch > .bio-properties-panel-label {
617
+ font-size: var(--text-size-base);
618
+ }
619
+
620
+ .bio-properties-panel-toggle-switch.inline > .bio-properties-panel-label {
621
+ font-size: var(--text-size-small);
622
+ }
623
+
624
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__label {
625
+ margin: 0;
626
+ margin-left: 6px;
627
+ font-size: var(--text-size-base);
628
+ }
629
+
630
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher {
631
+ position: relative;
632
+ width: 32px;
633
+ height: 16px;
634
+ }
635
+
636
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher:focus-within {
637
+ outline: 2px solid var(--input-focus-border-color);
638
+ outline-offset: 1px;
639
+ }
640
+
641
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox'] {
642
+ opacity: 0;
643
+ width: 0;
644
+ height: 0;
645
+ }
646
+
647
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider {
648
+ position: absolute;
649
+ cursor: pointer;
650
+ top: 0;
651
+ left: 0;
652
+ right: 0;
653
+ bottom: 0;
654
+ background-color: var(--toggle-switch-off-background-color);
655
+ -webkit-transition: 0.4s;
656
+ transition: 0.4s;
657
+ border-radius: 34px;
658
+ }
659
+
660
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider:before {
661
+ position: absolute;
662
+ content: "";
663
+ height: 12px;
664
+ width: 12px;
665
+ left: 2px;
666
+ bottom: 2px;
667
+ background-color: var(--toggle-switch-switcher-background-color);
668
+ -webkit-transition: 0.4s;
669
+ transition: 0.4s;
670
+ border-radius: 50%;
671
+ }
672
+
673
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider {
674
+ background-color: var(--toggle-switch-on-background-color);
675
+ box-shadow: 0 0 1px ;
676
+ }
677
+
678
+ .bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type='checkbox']:checked + .bio-properties-panel-toggle-switch__slider:before {
679
+ -webkit-transform: translateX(16px);
680
+ -ms-transform: translateX(16px);
681
+ transform: translateX(16px);
682
+ }
683
+
684
+ /**
685
+ * Collapsible entries
686
+ */
687
+ .bio-properties-panel-collapsible-entry-entries {
688
+ position: relative;
689
+ display: none;
690
+ }
691
+
692
+ .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child {
693
+ padding-bottom: 0;
694
+ }
695
+
696
+ .bio-properties-panel-collapsible-entry-entries.open {
697
+ display: block;
698
+ }
699
+
700
+ .bio-properties-panel-collapsible-entry-entries {
701
+ padding-left: 20px;
702
+ margin-bottom: 10px;
703
+ position: relative;
704
+ display: none;
705
+ }
706
+
707
+ .bio-properties-panel-collapsible-entry-header {
708
+ position: relative;
709
+ display: flex;
710
+ justify-content: space-between;
711
+ align-items: center;
712
+ overflow: hidden;
713
+ }
714
+
715
+ .bio-properties-panel-collapsible-entry-header .bio-properties-panel-collapsible-entry-header-title {
716
+ padding: 2px 24px 2px 32px;
717
+ font-size: var(--text-size-base);
718
+ white-space: nowrap;
719
+ overflow: hidden;
720
+ text-overflow: ellipsis;
721
+ user-select: none;
722
+ }
723
+
724
+ .bio-properties-panel-collapsible-entry-arrow {
725
+ position: absolute;
726
+ top: 2px;
727
+ left: 6px;
728
+ padding: 0 3px;
729
+ height: 22px;
730
+ display: inline-flex;
731
+ justify-content: center;
732
+ align-items: center;
733
+ align-self: center;
734
+ }
735
+
736
+ .bio-properties-panel-remove-entry {
737
+ display: flex;
738
+ align-items: center;
739
+ justify-content: center;
740
+ margin-right: 5px;
741
+ padding: 0;
742
+ width: 22px;
743
+ height: 22px;
744
+ fill: var(--remove-entry-fill-color);
745
+ border-radius: 50%;
746
+ border: none;
747
+ background: none;
748
+ visibility: hidden;
749
+ }
750
+
751
+ .bio-properties-panel-remove-entry:hover {
752
+ background-color: var(--remove-entry-hover-background-color);
753
+ }
754
+
755
+ .bio-properties-panel-list-entry-item:hover .bio-properties-panel-remove-list-entry,
756
+ .bio-properties-panel-collapsible-entry:hover > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry,
757
+ .bio-properties-panel-collapsible-entry:focus-within > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry
758
+ {
759
+ visibility: visible;
760
+ }
761
+
762
+ /* Side line */
763
+ .bio-properties-panel-collapsible-entry-entries::before {
764
+ content: "";
765
+ position: absolute;
766
+ left: 16px;
767
+ width: 2px;
768
+ top: -6px;
769
+ bottom: 12px;
770
+ background-color: var(--side-line-background-color);
771
+ border-radius: 1px;
772
+ }
773
+
774
+ /* Side line extension for non-list entry or open list entry positioned as the last one. */
775
+ .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child,
776
+ .bio-properties-panel-list-entry.open:last-child {
777
+ position: relative;
778
+ }
779
+
780
+ .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child::after,
781
+ .bio-properties-panel-list-entry.open:last-child::after {
782
+ content: "";
783
+ position: absolute;
784
+ left: -16px;
785
+ width: 2px;
786
+ top: 0;
787
+ bottom: -4px;
788
+ background-color: var(--side-line-extension-background-color);
789
+ border-radius: 1px;
790
+ }
791
+
792
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child::after {
793
+ left: -18px;
794
+ }
795
+
796
+ /*
797
+ * List entry
798
+ */
799
+ .bio-properties-panel-list-entry {
800
+ position: relative;
801
+ margin-right: 5px;
802
+ margin-bottom: 0;
803
+ }
804
+
805
+ .bio-properties-panel-list-entry .bio-properties-panel-entry {
806
+ margin-right: 0;
807
+ }
808
+
809
+ .bio-properties-panel-list-entry-header {
810
+ position: relative;
811
+ overflow: hidden;
812
+ display: flex;
813
+ justify-content: space-between;
814
+ height: 32px;
815
+ }
816
+
817
+ /* Nested list dot */
818
+ .bio-properties-panel-list-entry::before {
819
+ content: "";
820
+ width: 8px;
821
+ height: 8px;
822
+ position: absolute;
823
+ left: -19px;
824
+ top: 13px;
825
+ border-radius: 50%;
826
+ background-color: var(--list-entry-dot-background-color);
827
+ }
828
+
829
+ .bio-properties-panel-list-entry-header-title {
830
+ display: block;
831
+ margin: auto 0;
832
+ padding: 2px 0;
833
+ font-size: var(--text-size-base);
834
+ white-space: nowrap;
835
+ overflow: hidden;
836
+ text-overflow: ellipsis;
837
+ }
838
+
839
+ .bio-properties-panel-list-entry-header-title.open {
840
+ font-weight: 500;
841
+ }
842
+
843
+ .bio-properties-panel-list-entry-header-buttons {
844
+ display: flex;
845
+ align-items: center;
846
+ }
847
+
848
+ .bio-properties-panel-list-entry-header-buttons > button {
849
+ display: inline-flex;
850
+ justify-content: center;
851
+ align-items: center;
852
+ align-self: center;
853
+ height: 22px;
854
+ line-height: 22px;
855
+ min-width: 22px;
856
+ margin: 5px;
857
+ padding: 0 3px;
858
+ border: none;
859
+ background: none;
860
+ fill: var(--list-entry-header-button-fill-color);
861
+ }
862
+
863
+ .bio-properties-panel-list-entry-header-buttons > :last-child {
864
+ margin-right: 0;
865
+ }
866
+
867
+ .bio-properties-panel-list-entry-items {
868
+ padding: 0;
869
+ margin: 0;
870
+
871
+ list-style: none;
872
+ }
873
+
874
+ .bio-properties-panel-list-entry-items:not(.open) {
875
+ display: none;
876
+ }
877
+
878
+ .bio-properties-panel-list-entry-item {
879
+ display: flex;
880
+ justify-content: space-between;
881
+ }
882
+
883
+ .bio-properties-panel-list-entry-item .bio-properties-panel-remove-entry {
884
+ margin-right: 1px;
885
+ }
886
+
887
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry {
888
+ width: 100%;
889
+ margin-right: 4px;
890
+ }
891
+
892
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header {
893
+ margin-left: -8px;
894
+ }
895
+
896
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-arrow {
897
+ left: 2px;
898
+ }
899
+
900
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header-title {
901
+ padding-left: 30px;
902
+ }
903
+
904
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries {
905
+ padding-left: 10px;
906
+ }
907
+
908
+ .bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries::before {
909
+ left: 4px;
910
+ }
911
+
912
+ .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry {
913
+ margin-right: 16px;
914
+ padding-left: 6px;
915
+ }
916
+
917
+ .bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry-label {
918
+ color: var(--list-entry-add-entry-label-color);
919
+ padding: 4px 6px 3px 2px;
920
+ }
921
+
922
+ .bio-properties-panel-list-entry-header-buttons .bio-properties-panel-add-entry:hover {
923
+ background-color: var(--list-entry-add-entry-background-color);
924
+ fill: var(--list-entry-add-entry-fill-color);
925
+ }
926
+
927
+ .bio-properties-panel-list-entry-item .bio-properties-panel-simple .bio-properties-panel-input {
928
+ border-radius: 0;
929
+ margin-bottom: -2px;
930
+ }
931
+
932
+ .bio-properties-panel-list-entry-item:first-child .bio-properties-panel-simple .bio-properties-panel-input {
933
+ border-top-left-radius: 2px;
934
+ border-top-right-radius: 2px;
935
+ }
936
+
937
+ .bio-properties-panel-list-entry-item:last-child .bio-properties-panel-simple .bio-properties-panel-input {
938
+ border-bottom-left-radius: 2px;
939
+ border-bottom-right-radius: 2px;
940
+ }
941
+
942
+ .bio-properties-panel-dropdown-button {
943
+ position: relative;
944
+
945
+ --dropdown-button-margin: 5px;
946
+ }
947
+
948
+ .bio-properties-panel-dropdown-button:not(.open) .bio-properties-panel-dropdown-button__menu {
949
+ display: none;
950
+ }
951
+
952
+ .bio-properties-panel-dropdown-button__menu {
953
+ min-width: calc(100% - var(--dropdown-button-margin) * 2);
954
+ max-width: 240px;
955
+
956
+ position: absolute;
957
+ top: calc(100% - var(--dropdown-button-margin));
958
+ right: var(--dropdown-button-margin);
959
+ z-index: 101;
960
+
961
+ background-color: var(--dropdown-item-background-color);
962
+
963
+ padding: 8px 0;
964
+
965
+ box-shadow: 0 1px 4px 0 var(--color-grey-225-10-85), 0 2px 16px 0 var(--color-grey-225-10-75)
966
+ }
967
+
968
+ .bio-properties-panel-dropdown-button__menu-item {
969
+ display: block;
970
+ width: 100%;
971
+ padding: 4px 12px;
972
+
973
+ font-size: var(--text-size-small);
974
+ appearance: revert;
975
+ border: unset;
976
+ background: unset;
977
+ text-align: unset;
978
+ }
979
+
980
+ .bio-properties-panel-dropdown-button__menu-item--separator {
981
+ width: 100%;
982
+ height: 1px;
983
+
984
+ padding: 0;
985
+ margin: 8px 0;
986
+
987
+ background-color: var(--dropdown-separator-background-color);
988
+ }
989
+
990
+ .bio-properties-panel-dropdown-button__menu-item--actionable {
991
+ font-size: var(--text-size-base);
992
+ }
993
+
994
+ .bio-properties-panel-dropdown-button__menu-item--actionable:hover {
995
+ background-color: var(--dropdown-item-hover-background-color);
996
+ }
997
+
998
+ .bio-properties-panel-feel-input {
999
+ position: relative;
1000
+ }
1001
+
1002
+ .bio-properties-panel-feel-input input {
1003
+ padding-right: 2em
1004
+ }
1005
+
1006
+ .bio-properties-panel-feel-entry .bio-properties-panel-label {
1007
+ display: flex;
1008
+ }
1009
+
1010
+ .bio-properties-panel-feel-icon {
1011
+ display: inline-flex;
1012
+ height: 18px;
1013
+ width: 22px;
1014
+ vertical-align: text-bottom;
1015
+ padding: 0;
1016
+ margin: 0 3px;
1017
+ align-items: center;
1018
+ align-self: center;
1019
+ justify-content: center;
1020
+ border: none;
1021
+ background: none;
1022
+ border-radius: 3px;
1023
+ }
1024
+
1025
+ .bio-properties-panel-feel-icon.optional {
1026
+ cursor: pointer;
1027
+ background: var(--feel-background-color);
1028
+ }
1029
+
1030
+ .bio-properties-panel-feel-icon svg * {
1031
+ fill: var(--feel-inactive-color);
1032
+ }
1033
+
1034
+ .bio-properties-panel-feel-icon:hover {
1035
+ background: var(--feel-hover-background-color);
1036
+ }
1037
+
1038
+ .bio-properties-panel-feel-icon:hover svg * {
1039
+ fill: var(--feel-hover-color);
1040
+ }
1041
+
1042
+ .bio-properties-panel-feel-icon.active {
1043
+ background: var(--feel-active-background-color);
1044
+ }
1045
+
1046
+ .bio-properties-panel-feel-icon.active:hover {
1047
+ background: var(--feel-hover-background-color);
1048
+ }
1049
+
1050
+ .bio-properties-panel-feel-icon.required.active {
1051
+ background: none;
1052
+ }
1053
+
1054
+ .bio-properties-panel-feel-icon.active svg * {
1055
+ fill: var(--feel-active-color);
1056
+ }
1057
+
1058
+ .bio-properties-panel-feel-icon.required.active svg * {
1059
+ fill: var(--feel-required-color);
1060
+ }
1061
+
1062
+ .bio-properties-panel-feel-editor-container {
1063
+ position: relative;
1064
+ }
1065
+
1066
+ .bio-properties-panel-feel-editor-container.active {
1067
+ font-family: var(--font-family-monospace);
1068
+ }
1069
+
1070
+ .bio-properties-panel-feel-container {
1071
+ position: relative;
1072
+ }
1073
+
1074
+ .bio-properties-panel-feel-container .bio-properties-panel-feel-editor-container>div {
1075
+ position: static;
1076
+ padding-left: 2.4em !important;
1077
+ min-height: 28px;
1078
+ }
1079
+
1080
+ .bio-properties-panel-feel-indicator {
1081
+ position: absolute;
1082
+ border: 1px solid var(--input-border-color);
1083
+ background-color: var(--feel-indicator-background-color);
1084
+ border-right: 0px;
1085
+ border-radius: 2px 0 0 2px;
1086
+ z-index: 1;
1087
+ height: 100%;
1088
+ width: 2em;
1089
+ text-align: center;
1090
+ padding: 2px 6px;
1091
+ }
1092
+
1093
+ .bio-properties-panel-feel-editor-container .cm-scroller {
1094
+ overflow: hidden !important;
1095
+ }
1096
+
1097
+ .bio-properties-panel-feelers-editor .cm-editor {
1098
+ background-color: transparent;
1099
+ }
1100
+
1101
+ .bio-properties-panel-feelers-editor .cm-editor.cm-focused {
1102
+ background-color: transparent;
1103
+ }
1104
+
1105
+ .bio-properties-panel-feel-editor-container .bio-properties-panel-input {
1106
+ resize: vertical;
1107
+ overflow: hidden;
1108
+ overflow-y: auto;
1109
+ }
1110
+
1111
+ .bio-properties-panel-feel-editor-container,
1112
+ .bio-properties-panel-feel-editor-container .bio-properties-panel-input,
1113
+ .bio-properties-panel-feel-container .cm-editor {
1114
+ min-height: 100%;
1115
+ }
1116
+
1117
+ .bio-properties-panel-feel-checkbox,
1118
+ .bio-properties-panel-feel-toggle-switch {
1119
+ padding-top: 1px;
1120
+ }
1121
+
1122
+ .bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active),
1123
+ .bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) {
1124
+ display: flex;
1125
+ flex-direction: row;
1126
+ align-items: center;
1127
+ }
1128
+
1129
+ .bio-properties-panel-feel-checkbox .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container,
1130
+ .bio-properties-panel-feel-toggle-switch .bio-properties-panel-feel-entry:not(.feel-active) .bio-properties-panel-feel-container {
1131
+ margin-left: auto;
1132
+ }
1133
+
1134
+ .bio-properties-panel-tooltip-wrapper {
1135
+ text-decoration: underline;
1136
+ text-decoration-style: dotted;
1137
+ text-underline-offset: 2px;
1138
+ }
1139
+
1140
+ .bio-properties-panel-tooltip {
1141
+ display: flex;
1142
+ color: var(--color-white, white);
1143
+ position: fixed;
1144
+ z-index: 1000;
1145
+ padding-right: 6px;
1146
+ max-width: 300px;
1147
+ font-size: var(--text-size-small);
1148
+ font-family: var(--font-family);
1149
+ }
1150
+
1151
+ .bio-properties-panel-tooltip-content {
1152
+ background-color: var(--tooltip-background-color);
1153
+ padding: 16px;
1154
+ border-radius: 2px;
1155
+ font-weight: 400;
1156
+ }
1157
+
1158
+ .bio-properties-panel-tooltip-content code,
1159
+ .bio-properties-panel-tooltip-content pre {
1160
+ color: var(--description-color);
1161
+ font-family: var(--font-family);
1162
+ font-size: var(--text-size-small);
1163
+ line-height: var(--line-height-condensed);
1164
+ padding: 0 2px;
1165
+ background-color: var(--tooltip-code-background-color);
1166
+ border: 1px solid var(--tooltip-code-border-color);
1167
+ border-radius: 3px;
1168
+ }
1169
+
1170
+ .bio-properties-panel-tooltip-content a {
1171
+ color: var(--tooltip-link);
1172
+ }
1173
+
1174
+ .bio-properties-panel-tooltip .bio-properties-panel-tooltip-arrow {
1175
+ width: 0;
1176
+ height: 0;
1177
+ border-top: 5px solid transparent;
1178
+ border-bottom: 5px solid transparent;
1179
+ border-left: 5px solid var(--tooltip-background-color);
1180
+ margin-top: 16px;
1115
1181
  }