@bpmn-io/properties-panel 0.8.0 → 0.10.1

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