@bpmn-io/form-js-editor 0.12.2 → 0.13.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.
- package/README.md +0 -3
- package/dist/assets/form-js-editor-base.css +486 -0
- package/dist/assets/form-js-editor.css +1161 -60
- package/dist/index.cjs +1247 -526
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +1249 -528
- package/dist/index.es.js.map +1 -1
- package/dist/types/FormEditor.d.ts +9 -0
- package/dist/types/core/FormFieldRegistry.d.ts +1 -1
- package/dist/types/core/FormLayoutValidator.d.ts +16 -0
- package/dist/types/core/FormLayouter.d.ts +1 -0
- package/dist/types/core/index.d.ts +8 -4
- package/dist/types/features/dragging/Dragging.d.ts +60 -0
- package/dist/types/features/dragging/index.d.ts +6 -0
- package/dist/types/features/editor-actions/index.d.ts +1 -1
- package/dist/types/features/expression-language/index.d.ts +8 -0
- package/dist/types/features/keyboard/index.d.ts +1 -1
- package/dist/types/features/modeling/FormLayoutUpdater.d.ts +13 -0
- package/dist/types/features/modeling/Modeling.d.ts +7 -7
- package/dist/types/features/modeling/behavior/index.d.ts +3 -3
- package/dist/types/features/modeling/cmd/Util.d.ts +1 -0
- package/dist/types/features/modeling/index.d.ts +3 -1
- package/dist/types/features/palette/index.d.ts +1 -1
- package/dist/types/features/properties-panel/entries/ColumnsEntry.d.ts +2 -1
- package/dist/types/features/properties-panel/entries/InputKeyValuesSourceEntry.d.ts +1 -1
- package/dist/types/features/properties-panel/entries/SelectEntries.d.ts +1 -0
- package/dist/types/features/properties-panel/entries/factories/simpleBoolEntryFactory.d.ts +1 -0
- package/dist/types/features/properties-panel/groups/GeneralGroup.d.ts +1 -1
- package/dist/types/features/properties-panel/groups/LayoutGroup.d.ts +11 -0
- package/dist/types/features/properties-panel/groups/index.d.ts +1 -0
- package/dist/types/features/properties-panel/index.d.ts +1 -1
- package/dist/types/features/selection/index.d.ts +2 -2
- package/dist/types/import/Importer.d.ts +4 -2
- package/dist/types/import/index.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/render/EditorFormFields.d.ts +1 -1
- package/dist/types/render/components/FieldDragPreview.d.ts +1 -0
- package/dist/types/render/components/editor-form-fields/EditorText.d.ts +1 -1
- package/dist/types/render/components/editor-form-fields/index.d.ts +1 -1
- package/dist/types/render/components/icons/index.d.ts +1 -1
- package/dist/types/render/hooks/index.d.ts +3 -0
- package/dist/types/render/hooks/useDebounce.d.ts +1 -0
- package/dist/types/render/hooks/usePrevious.d.ts +1 -0
- package/dist/types/render/index.d.ts +2 -2
- package/package.json +10 -8
- package/dist/assets/dragula.css +0 -22
- package/dist/assets/properties-panel.css +0 -1016
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
.fjs-editor-container {
|
|
2
2
|
--color-children-border: var(--color-grey-225-10-75);
|
|
3
|
-
--color-children-selected-border: var(--color-blue-
|
|
4
|
-
--color-children-selected-background:
|
|
5
|
-
--color-children-hover-border: var(--color-blue-
|
|
6
|
-
|
|
3
|
+
--color-children-selected-border: var(--color-blue-219-100-53);
|
|
4
|
+
--color-children-selected-background: transparent;
|
|
5
|
+
--color-children-hover-border: var(--color-blue-219-100-53-05);
|
|
7
6
|
--color-context-pad-item-background: var(--color-white);
|
|
8
7
|
--color-context-pad-item-fill: var(--color-grey-225-10-35);
|
|
9
8
|
--color-context-pad-item-hover-fill: var(--color-black);
|
|
10
|
-
|
|
11
|
-
--color-dragula-background: var(--color-blue-205-100-45);
|
|
9
|
+
--color-dragula-background: var(--color-blue-205-100-95);
|
|
12
10
|
--color-dragula-border: var(--color-blue-205-100-45);
|
|
13
11
|
--color-dragula-mirror-background: var(--color-white);
|
|
14
|
-
--color-dragula-mirror-border: var(--color-grey-225-10-
|
|
12
|
+
--color-dragula-mirror-border: var(--color-grey-225-10-90);
|
|
13
|
+
--color-dragula-error-background: var(--color-red-360-100-92);
|
|
14
|
+
--color-dragula-error-border: var(--color-red-360-100-45);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.fjs-palette-container {
|
|
@@ -74,60 +74,26 @@
|
|
|
74
74
|
flex-grow: 1;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.fjs-editor-container .fjs-children {
|
|
78
|
-
display: flex;
|
|
79
|
-
flex-direction: column;
|
|
80
|
-
flex-grow: 1;
|
|
81
|
-
min-width: 300px;
|
|
82
|
-
min-height: 100px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
77
|
.fjs-editor-container .fjs-children .fjs-children {
|
|
86
78
|
border: dashed 2px var(--color-children-border);
|
|
87
|
-
border-radius: 3px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.fjs-editor-container .fjs-element {
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-direction: column;
|
|
93
|
-
margin: 0 4px 5px 4px;
|
|
94
|
-
padding: 2px 0px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.fjs-editor-container .fjs-element:first-of-type {
|
|
98
|
-
margin-top: 8px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.fjs-editor-container .fjs-form-field:not(.fjs-powered-by) {
|
|
102
|
-
margin: 1px 12px;
|
|
103
79
|
}
|
|
104
80
|
|
|
105
|
-
.fjs-editor-container .fjs-
|
|
106
|
-
margin-top: 4px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.fjs-editor-container .fjs-form > .fjs-element {
|
|
110
|
-
margin: 0;
|
|
111
|
-
padding: 5px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.fjs-editor-container .fjs-children > .fjs-element {
|
|
81
|
+
.fjs-editor-container .fjs-children .fjs-element {
|
|
115
82
|
position: relative;
|
|
116
83
|
border: solid 2px transparent;
|
|
117
84
|
}
|
|
118
85
|
|
|
119
|
-
.fjs-editor-container .fjs-
|
|
120
|
-
|
|
121
|
-
border-radius: 3px;
|
|
86
|
+
.fjs-editor-container .fjs-form-field:not(.fjs-powered-by) {
|
|
87
|
+
margin: 1px 6px;
|
|
122
88
|
}
|
|
123
89
|
|
|
124
|
-
.fjs-editor-container .fjs-children
|
|
125
|
-
border-color: var(--color-children-selected-border);
|
|
90
|
+
.fjs-editor-container .fjs-children .fjs-element.fjs-editor-selected {
|
|
91
|
+
border-color: var(--color-children-selected-border) !important;
|
|
126
92
|
background-color: var(--color-children-selected-background);
|
|
127
93
|
}
|
|
128
94
|
|
|
129
|
-
.fjs-editor-container .fjs-children
|
|
130
|
-
border-color: var(--color-children-hover-border)
|
|
95
|
+
.fjs-editor-container .fjs-children .fjs-element:hover {
|
|
96
|
+
border-color: var(--color-children-hover-border);
|
|
131
97
|
}
|
|
132
98
|
|
|
133
99
|
.fjs-editor-container .fjs-input:disabled,
|
|
@@ -137,10 +103,40 @@
|
|
|
137
103
|
pointer-events: none;
|
|
138
104
|
}
|
|
139
105
|
|
|
140
|
-
.fjs-editor-container .fjs-drag-container
|
|
106
|
+
.fjs-editor-container .fjs-drag-container,
|
|
107
|
+
.fjs-editor-container .fjs-drop-container-vertical {
|
|
141
108
|
user-select: none;
|
|
142
109
|
}
|
|
143
110
|
|
|
111
|
+
.fjs-editor-container .fjs-layout-row {
|
|
112
|
+
padding: 4px 0px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.fjs-editor-container .fjs-drag-row-move {
|
|
116
|
+
display: flex;
|
|
117
|
+
width: 100%;
|
|
118
|
+
padding: 3px 0px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.fjs-editor-container .fjs-row-dragger {
|
|
122
|
+
visibility: hidden;
|
|
123
|
+
z-index: 2;
|
|
124
|
+
position: relative;
|
|
125
|
+
margin-left: -12px;
|
|
126
|
+
margin-top: auto;
|
|
127
|
+
margin-bottom: auto;
|
|
128
|
+
cursor: grab;
|
|
129
|
+
width: 32px;
|
|
130
|
+
height: 32px;
|
|
131
|
+
display: flex;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
align-items: center;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.fjs-editor-container .fjs-drag-row-move:hover .fjs-row-dragger {
|
|
137
|
+
visibility: visible;
|
|
138
|
+
}
|
|
139
|
+
|
|
144
140
|
/**
|
|
145
141
|
* Cursor styles
|
|
146
142
|
*/
|
|
@@ -164,6 +160,10 @@
|
|
|
164
160
|
cursor: move;
|
|
165
161
|
}
|
|
166
162
|
|
|
163
|
+
.fjs-cursor-not-allowed {
|
|
164
|
+
cursor: not-allowed;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
167
|
/**
|
|
168
168
|
* Context Pad
|
|
169
169
|
*/
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
position: absolute;
|
|
173
173
|
top: 3px;
|
|
174
174
|
right: 3px;
|
|
175
|
-
box-shadow: 1px 1px 1px 1px rgb(0 0 0
|
|
175
|
+
box-shadow: 1px 1px 1px 1px rgb(0 0 0/10%);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.fjs-editor-container .fjs-context-pad-item {
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
justify-content: center;
|
|
315
315
|
font-size: 11px;
|
|
316
316
|
user-select: none;
|
|
317
|
-
color: var(
|
|
317
|
+
color: var(--color-palette-field);
|
|
318
318
|
background: var(--color-palette-field-background);
|
|
319
319
|
}
|
|
320
320
|
|
|
@@ -341,11 +341,6 @@
|
|
|
341
341
|
color: var(--color-palette-text);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
.fjs-palette-field.gu-mirror {
|
|
345
|
-
transform: rotate(-15deg);
|
|
346
|
-
font-family: var(--font-family);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
344
|
/**
|
|
350
345
|
* Properties Panel
|
|
351
346
|
*/
|
|
@@ -393,12 +388,39 @@
|
|
|
393
388
|
*/
|
|
394
389
|
.gu-transit {
|
|
395
390
|
background: var(--color-dragula-background) !important;
|
|
396
|
-
border:
|
|
391
|
+
border: dashed 2px var(--color-dragula-border) !important;
|
|
397
392
|
border-radius: 3px !important;
|
|
398
393
|
filter: none !important;
|
|
399
|
-
height:
|
|
394
|
+
height: 70px !important;
|
|
400
395
|
opacity: 1 !important;
|
|
396
|
+
/* mitigate for additional border in row */
|
|
397
|
+
flex-grow: 0.98 !important;
|
|
398
|
+
margin: 0 !important;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/* row drop preview */
|
|
402
|
+
.fjs-children > .gu-transit {
|
|
403
|
+
height: 28px !important;
|
|
404
|
+
margin-left: 28px !important;
|
|
405
|
+
margin-right: -8px !important;
|
|
406
|
+
flex: unset !important;
|
|
407
|
+
width: unset !important;
|
|
408
|
+
max-width: unset !important;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/* error drop preview */
|
|
412
|
+
.fjs-error-drop > .gu-transit {
|
|
413
|
+
height: 100% !important;
|
|
414
|
+
background: var(--color-dragula-error-background) !important;
|
|
415
|
+
border: none !important;
|
|
416
|
+
width: 6px !important;
|
|
417
|
+
flex: none !important;
|
|
401
418
|
padding: 0 !important;
|
|
419
|
+
border-radius: 5px !important;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.fjs-error-drop.cds--row {
|
|
423
|
+
flex-wrap: nowrap !important;
|
|
402
424
|
}
|
|
403
425
|
|
|
404
426
|
.gu-transit * {
|
|
@@ -408,8 +430,8 @@
|
|
|
408
430
|
.gu-mirror {
|
|
409
431
|
background-color: var(--color-dragula-mirror-background) !important;
|
|
410
432
|
border: solid 1px var(--color-dragula-mirror-border) !important;
|
|
411
|
-
border-radius:
|
|
412
|
-
box-shadow:
|
|
433
|
+
border-radius: 5px !important;
|
|
434
|
+
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15) !important;
|
|
413
435
|
display: flex !important;
|
|
414
436
|
filter: none !important;
|
|
415
437
|
flex-direction: row !important;
|
|
@@ -420,3 +442,1082 @@
|
|
|
420
442
|
pointer-events: none !important;
|
|
421
443
|
height: 54px !important;
|
|
422
444
|
}
|
|
445
|
+
|
|
446
|
+
.fjs-field-preview {
|
|
447
|
+
margin: 5px 0;
|
|
448
|
+
display: flex;
|
|
449
|
+
flex-direction: column;
|
|
450
|
+
justify-content: center;
|
|
451
|
+
font-size: 11px;
|
|
452
|
+
user-select: none;
|
|
453
|
+
color: var(--color-text);
|
|
454
|
+
background: var(--color-white);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.fjs-field-preview .fjs-field-preview-icon {
|
|
458
|
+
margin: 0 auto;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.fjs-field-preview .fjs-field-preview-text {
|
|
462
|
+
text-align: center;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.gu-mirror.fjs-field-preview-container {
|
|
466
|
+
transform: rotate(-15deg);
|
|
467
|
+
font-family: var(--font-family);
|
|
468
|
+
width: 68px !important;
|
|
469
|
+
height: 68px !important;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.gu-mirror.fjs-drag-row-move {
|
|
473
|
+
padding: 4px 12px !important;
|
|
474
|
+
height: fit-content !important;
|
|
475
|
+
opacity: 0.8 !important;
|
|
476
|
+
max-height: 120px !important;
|
|
477
|
+
overflow: hidden !important;
|
|
478
|
+
align-items: start !important;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.gu-mirror.fjs-drag-row-move .cds--row {
|
|
482
|
+
flex-wrap: nowrap !important;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.gu-mirror {
|
|
486
|
+
position: fixed !important;
|
|
487
|
+
margin: 0 !important;
|
|
488
|
+
z-index: 9999 !important;
|
|
489
|
+
opacity: 0.8;
|
|
490
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
|
|
491
|
+
filter: alpha(opacity=80);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.gu-hide {
|
|
495
|
+
display: none !important;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.gu-unselectable {
|
|
499
|
+
-webkit-user-select: none !important;
|
|
500
|
+
-moz-user-select: none !important;
|
|
501
|
+
-ms-user-select: none !important;
|
|
502
|
+
user-select: none !important;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.gu-transit {
|
|
506
|
+
opacity: 0.2;
|
|
507
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
|
|
508
|
+
filter: alpha(opacity=20);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Theming
|
|
513
|
+
*/
|
|
514
|
+
.bio-properties-panel {
|
|
515
|
+
--color-grey-225-10-15: hsl(225, 10%, 15%);
|
|
516
|
+
--color-grey-225-10-35: hsl(225, 10%, 35%);
|
|
517
|
+
--color-grey-225-10-55: hsl(225, 10%, 55%);
|
|
518
|
+
--color-grey-225-10-75: hsl(225, 10%, 75%);
|
|
519
|
+
--color-grey-225-10-80: hsl(225, 10%, 80%);
|
|
520
|
+
--color-grey-225-10-85: hsl(225, 10%, 85%);
|
|
521
|
+
--color-grey-225-10-90: hsl(225, 10%, 90%);
|
|
522
|
+
--color-grey-225-10-95: hsl(225, 10%, 95%);
|
|
523
|
+
--color-grey-225-10-97: hsl(225, 10%, 97%);
|
|
524
|
+
--color-blue-205-100-35: hsl(205, 100%, 35%);
|
|
525
|
+
--color-blue-205-100-45: hsl(205, 100%, 45%);
|
|
526
|
+
--color-blue-205-100-50: hsl(205, 100%, 50%);
|
|
527
|
+
--color-blue-205-100-95: hsl(205, 100%, 95%);
|
|
528
|
+
--color-green-150-86-44: hsl(150, 86%, 44%);
|
|
529
|
+
--color-red-360-100-40: hsl(360, 100%, 40%);
|
|
530
|
+
--color-red-360-100-45: hsl(360, 100%, 45%);
|
|
531
|
+
--color-red-360-100-92: hsl(360, 100%, 92%);
|
|
532
|
+
--color-red-360-100-97: hsl(360, 100%, 97%);
|
|
533
|
+
--color-white: white;
|
|
534
|
+
--color-black: black;
|
|
535
|
+
--color-transparent: transparent;
|
|
536
|
+
--text-base-color: var(--color-grey-225-10-15);
|
|
537
|
+
--text-error-color: var(--color-red-360-100-45);
|
|
538
|
+
--link-color: var(--color-blue-205-100-50);
|
|
539
|
+
--description-color: var(--color-grey-225-10-35);
|
|
540
|
+
--description-code-background-color: var(--color-grey-225-10-97);
|
|
541
|
+
--description-code-border-color: var(--color-grey-225-10-85);
|
|
542
|
+
--description-list-item-color: var(--color-grey-225-10-35);
|
|
543
|
+
--placeholder-color: var(--color-grey-225-10-35);
|
|
544
|
+
--placeholder-background-color: var(--color-grey-225-10-95);
|
|
545
|
+
--header-background-color: var(--color-grey-225-10-95);
|
|
546
|
+
--header-icon-fill-color: var(--color-grey-225-10-15);
|
|
547
|
+
--header-bottom-border-color: var(--color-grey-225-10-75);
|
|
548
|
+
--group-background-color: var(--color-white);
|
|
549
|
+
--group-bottom-border-color: var(--color-grey-225-10-75);
|
|
550
|
+
--sticky-group-background-color: var(--color-grey-225-10-95);
|
|
551
|
+
--sticky-group-bottom-border-color: var(--color-grey-225-10-75);
|
|
552
|
+
--add-entry-fill-color: var(--color-grey-225-10-35);
|
|
553
|
+
--add-entry-hover-fill-color: var(--color-white);
|
|
554
|
+
--add-entry-hover-background-color: var(--color-blue-205-100-50);
|
|
555
|
+
--add-entry-label-color: var(--color-white);
|
|
556
|
+
--remove-entry-fill-color: var(--color-red-360-100-45);
|
|
557
|
+
--remove-entry-hover-background-color: var(--color-red-360-100-92);
|
|
558
|
+
--arrow-fill-color: var(--color-grey-225-10-35);
|
|
559
|
+
--arrow-hover-background-color: var(--color-grey-225-10-95);
|
|
560
|
+
--dot-color: var(--color-grey-225-10-35);
|
|
561
|
+
--list-badge-color: var(--color-white);
|
|
562
|
+
--list-badge-background-color: var(--color-grey-225-10-35);
|
|
563
|
+
--input-background-color: var(--color-grey-225-10-97);
|
|
564
|
+
--input-border-color: var(--color-grey-225-10-75);
|
|
565
|
+
--input-focus-background-color: var(--color-blue-205-100-95);
|
|
566
|
+
--input-focus-border-color: var(--color-blue-205-100-50);
|
|
567
|
+
--input-error-background-color: var(--color-red-360-100-97);
|
|
568
|
+
--input-error-border-color: var(--color-red-360-100-45);
|
|
569
|
+
--input-error-focus-border-color: var(--color-red-360-100-45);
|
|
570
|
+
--input-disabled-color: var(--color-grey-225-10-55);
|
|
571
|
+
--input-disabled-background-color: var(--color-grey-225-10-97);
|
|
572
|
+
--input-disabled-border-color: var(--color-grey-225-10-90);
|
|
573
|
+
--toggle-switch-on-background-color: var(--color-blue-205-100-50);
|
|
574
|
+
--toggle-switch-off-background-color: var(--color-grey-225-10-75);
|
|
575
|
+
--toggle-switch-switcher-background-color: var(--color-white);
|
|
576
|
+
--side-line-background-color: var(--color-grey-225-10-35);
|
|
577
|
+
--side-line-extension-background-color: var(--color-grey-225-10-35);
|
|
578
|
+
--list-entry-dot-background-color: var(--color-grey-225-10-35);
|
|
579
|
+
--list-entry-header-button-fill-color: var(--color-grey-225-10-35);
|
|
580
|
+
--list-entry-add-entry-empty-background-color: var(--color-blue-205-100-50);
|
|
581
|
+
--list-entry-add-entry-empty-hover-background-color: var(--color-blue-205-100-45);
|
|
582
|
+
--list-entry-add-entry-label-color: var(--color-white);
|
|
583
|
+
--list-entry-add-entry-background-color: var(--color-blue-205-100-50);
|
|
584
|
+
--list-entry-add-entry-fill-color: var(--color-white);
|
|
585
|
+
--dropdown-item-background-color: var(--color-white);
|
|
586
|
+
--dropdown-item-hover-background-color: var(--color-grey-225-10-95);
|
|
587
|
+
--dropdown-separator-background-color: var(--color-grey-225-10-75);
|
|
588
|
+
--feel-active-color: var(--color-blue-205-100-35);
|
|
589
|
+
--feel-inactive-color: var(--color-grey-225-10-35);
|
|
590
|
+
--feel-indicator-background-color: var(--color-grey-225-10-90);
|
|
591
|
+
--text-size-base: 14px;
|
|
592
|
+
--text-size-small: 13px;
|
|
593
|
+
--text-size-smallest: 12px;
|
|
594
|
+
--text-line-height: 21px;
|
|
595
|
+
--line-height-condensed: 17px;
|
|
596
|
+
--font-family: sans-serif;
|
|
597
|
+
--font-family-monospace: monospace;
|
|
598
|
+
display: none;
|
|
599
|
+
position: relative;
|
|
600
|
+
height: 100%;
|
|
601
|
+
width: 100%;
|
|
602
|
+
overflow: hidden;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.bio-properties-panel {
|
|
606
|
+
color: var(--text-base-color);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.bio-properties-panel * {
|
|
610
|
+
font-size: var(--text-size-base);
|
|
611
|
+
line-height: var(--text-line-height);
|
|
612
|
+
font-weight: 400;
|
|
613
|
+
box-sizing: border-box;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.bio-properties-panel {
|
|
617
|
+
font-family: var(--font-family);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.bio-properties-panel.open {
|
|
621
|
+
display: flex;
|
|
622
|
+
flex-direction: column;
|
|
623
|
+
flex: 1;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Placeholder (empty, multi select, ...)
|
|
628
|
+
*/
|
|
629
|
+
.bio-properties-panel-placeholder {
|
|
630
|
+
position: absolute;
|
|
631
|
+
display: flex;
|
|
632
|
+
flex-direction: column;
|
|
633
|
+
justify-content: center;
|
|
634
|
+
align-items: center;
|
|
635
|
+
top: 0;
|
|
636
|
+
right: 0;
|
|
637
|
+
bottom: 0;
|
|
638
|
+
left: 0;
|
|
639
|
+
background-color: var(--placeholder-background-color);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.bio-properties-panel-placeholder-text {
|
|
643
|
+
color: var(--placeholder-color);
|
|
644
|
+
font-size: var(--text-size-base);
|
|
645
|
+
text-align: center;
|
|
646
|
+
margin: 12px 48px;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Header
|
|
651
|
+
*/
|
|
652
|
+
.bio-properties-panel-header {
|
|
653
|
+
display: flex;
|
|
654
|
+
flex-direction: row;
|
|
655
|
+
align-items: center;
|
|
656
|
+
font-size: var(--text-size-base);
|
|
657
|
+
padding: 16px 10px;
|
|
658
|
+
background-color: var(--header-background-color);
|
|
659
|
+
border-bottom: 1px solid var(--header-bottom-border-color);
|
|
660
|
+
width: 100%;
|
|
661
|
+
z-index: 10;
|
|
662
|
+
max-height: 64px;
|
|
663
|
+
overflow: hidden;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.bio-properties-panel-header-icon {
|
|
667
|
+
fill: var(--header-icon-fill-color);
|
|
668
|
+
display: flex;
|
|
669
|
+
flex-direction: row;
|
|
670
|
+
align-items: center;
|
|
671
|
+
justify-content: center;
|
|
672
|
+
width: 32px;
|
|
673
|
+
height: 32px;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.bio-properties-panel-header-labels {
|
|
677
|
+
overflow: hidden;
|
|
678
|
+
margin-left: 12px;
|
|
679
|
+
user-select: none;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.bio-properties-panel-header-type {
|
|
683
|
+
font-size: var(--text-size-smallest);
|
|
684
|
+
font-weight: 600;
|
|
685
|
+
white-space: nowrap;
|
|
686
|
+
text-overflow: ellipsis;
|
|
687
|
+
overflow: hidden;
|
|
688
|
+
text-transform: uppercase;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.bio-properties-panel-header-label {
|
|
692
|
+
white-space: nowrap;
|
|
693
|
+
text-overflow: ellipsis;
|
|
694
|
+
overflow: hidden;
|
|
695
|
+
margin-top: -6px;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.bio-properties-panel-header-actions {
|
|
699
|
+
margin-left: auto;
|
|
700
|
+
margin-top: auto;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* Scroll container
|
|
705
|
+
*/
|
|
706
|
+
.bio-properties-panel-scroll-container {
|
|
707
|
+
overflow-y: auto;
|
|
708
|
+
overflow-x: hidden;
|
|
709
|
+
flex: 1;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Groups
|
|
714
|
+
*/
|
|
715
|
+
.bio-properties-panel-group {
|
|
716
|
+
background-color: var(--group-background-color);
|
|
717
|
+
border-bottom: 1px solid var(--group-bottom-border-color);
|
|
718
|
+
position: relative;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.bio-properties-panel-group-header {
|
|
722
|
+
display: flex;
|
|
723
|
+
flex-direction: row;
|
|
724
|
+
align-items: center;
|
|
725
|
+
font-size: var(--text-size-base);
|
|
726
|
+
height: 32px;
|
|
727
|
+
user-select: none;
|
|
728
|
+
justify-content: space-between;
|
|
729
|
+
margin-bottom: -1px; /* avoid double borders */
|
|
730
|
+
position: relative; /* browsers not supporting sticky */
|
|
731
|
+
position: -webkit-sticky; /* for safari */
|
|
732
|
+
position: sticky;
|
|
733
|
+
top: 0;
|
|
734
|
+
z-index: 10;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.bio-properties-panel-group-header .bio-properties-panel-group-header-title {
|
|
738
|
+
white-space: nowrap;
|
|
739
|
+
overflow: hidden;
|
|
740
|
+
text-overflow: ellipsis;
|
|
741
|
+
margin: 1px 12px 0;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.bio-properties-panel-group-header.open .bio-properties-panel-group-header-title {
|
|
745
|
+
font-weight: 500;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.bio-properties-panel-group-header.sticky {
|
|
749
|
+
background-color: var(--sticky-group-background-color);
|
|
750
|
+
border-bottom: 1px solid var(--sticky-group-bottom-border-color);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.bio-properties-panel-group-header-buttons {
|
|
754
|
+
display: flex;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-button {
|
|
758
|
+
display: inline-flex;
|
|
759
|
+
justify-content: center;
|
|
760
|
+
align-items: center;
|
|
761
|
+
align-self: center;
|
|
762
|
+
height: 22px;
|
|
763
|
+
line-height: 22px;
|
|
764
|
+
min-width: 22px;
|
|
765
|
+
margin: 5px;
|
|
766
|
+
padding: 0 3px;
|
|
767
|
+
border: none;
|
|
768
|
+
background: none;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-buttons:last-child {
|
|
772
|
+
margin-right: 0;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.bio-properties-panel-add-entry {
|
|
776
|
+
fill: var(--add-entry-fill-color);
|
|
777
|
+
border-radius: 11px;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.bio-properties-panel-group-header.empty .bio-properties-panel-add-entry {
|
|
781
|
+
margin-right: 69px;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
.bio-properties-panel-group-header.empty .bio-properties-panel-add-entry:hover {
|
|
785
|
+
margin-right: 19px;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.bio-properties-panel-group-header.empty .bio-properties-panel-add-entry-label {
|
|
789
|
+
display: none;
|
|
790
|
+
color: var(--add-entry-label-color);
|
|
791
|
+
padding: 0 6px 0 2px;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover {
|
|
795
|
+
background-color: var(--add-entry-hover-background-color);
|
|
796
|
+
fill: var(--add-entry-hover-fill-color);
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.bio-properties-panel-group-header-button.bio-properties-panel-add-entry:hover .bio-properties-panel-add-entry-label {
|
|
800
|
+
display: block;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.bio-properties-panel-group-entries {
|
|
804
|
+
display: none;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.bio-properties-panel-group-entries.open {
|
|
808
|
+
display: block;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.bio-properties-panel-arrow {
|
|
812
|
+
display: flex;
|
|
813
|
+
justify-content: center;
|
|
814
|
+
text-align: center;
|
|
815
|
+
fill: var(--arrow-fill-color);
|
|
816
|
+
min-width: 22px;
|
|
817
|
+
border-radius: 11px;
|
|
818
|
+
border: none;
|
|
819
|
+
background: none;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.bio-properties-panel-arrow:hover {
|
|
823
|
+
background-color: var(--arrow-hover-background-color);
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.bio-properties-panel-arrow-down {
|
|
827
|
+
transform: rotate(90deg);
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.bio-properties-panel-dot {
|
|
831
|
+
align-self: center;
|
|
832
|
+
height: 8px;
|
|
833
|
+
min-width: 8px;
|
|
834
|
+
border-radius: 50%;
|
|
835
|
+
margin: 12px;
|
|
836
|
+
background-color: var(--dot-color);
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Lists
|
|
841
|
+
*/
|
|
842
|
+
.bio-properties-panel-list {
|
|
843
|
+
display: none;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.bio-properties-panel-list.open {
|
|
847
|
+
display: block;
|
|
848
|
+
margin-bottom: 6px;
|
|
849
|
+
padding-bottom: 2px;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.bio-properties-panel-list-badge {
|
|
853
|
+
height: 22px;
|
|
854
|
+
min-width: 22px;
|
|
855
|
+
color: var(--list-badge-color);
|
|
856
|
+
border-radius: 11px;
|
|
857
|
+
font-size: var(--text-size-small);
|
|
858
|
+
line-height: 22px;
|
|
859
|
+
text-align: center;
|
|
860
|
+
user-select: none;
|
|
861
|
+
padding: 0 5px;
|
|
862
|
+
margin: 5px;
|
|
863
|
+
background-color: var(--list-badge-background-color);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* Basic entries
|
|
868
|
+
*/
|
|
869
|
+
.bio-properties-panel-entry {
|
|
870
|
+
margin: 2px 32px 6px 12px;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
.bio-properties-panel-entry:last-child {
|
|
874
|
+
padding-bottom: 10px;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
.bio-properties-panel-label {
|
|
878
|
+
display: block;
|
|
879
|
+
font-size: var(--text-size-small);
|
|
880
|
+
margin: 2px 0 1px;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.bio-properties-panel-description,
|
|
884
|
+
.bio-properties-panel-description p,
|
|
885
|
+
.bio-properties-panel-description span,
|
|
886
|
+
.bio-properties-panel-description div {
|
|
887
|
+
color: var(--description-color);
|
|
888
|
+
display: block;
|
|
889
|
+
margin: 2px 0 4px;
|
|
890
|
+
line-height: var(--line-height-condensed);
|
|
891
|
+
font-weight: 400;
|
|
892
|
+
font-size: var(--text-size-small);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.bio-properties-panel-description code {
|
|
896
|
+
color: var(--description-color);
|
|
897
|
+
font-family: var(--font-family);
|
|
898
|
+
font-size: var(--text-size-small);
|
|
899
|
+
line-height: var(--line-height-condensed);
|
|
900
|
+
padding: 0 2px;
|
|
901
|
+
background-color: var(--description-code-background-color);
|
|
902
|
+
border: 1px solid var(--description-code-border-color);
|
|
903
|
+
border-radius: 3px;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.bio-properties-panel-description pre code {
|
|
907
|
+
width: 100%;
|
|
908
|
+
display: block;
|
|
909
|
+
overflow-x: auto;
|
|
910
|
+
padding: 4px 6px;
|
|
911
|
+
font-family: var(--font-family-monospace);
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
.bio-properties-panel-description ul {
|
|
915
|
+
padding: 0;
|
|
916
|
+
margin: 0 0 0 12px;
|
|
917
|
+
list-style-type: disc;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
.bio-properties-panel-description li {
|
|
921
|
+
color: var(--description-list-item-color);
|
|
922
|
+
margin: 0 0 0 12px;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.bio-properties-panel-description a {
|
|
926
|
+
color: var(--link-color);
|
|
927
|
+
font-size: var(--text-size-small);
|
|
928
|
+
text-decoration: underline;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.bio-properties-panel-feelers-editor.bio-properties-panel-input {
|
|
932
|
+
padding: 0;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.bio-properties-panel-feelers-input .cm-editor {
|
|
936
|
+
min-height: 32px;
|
|
937
|
+
max-height: 215px;
|
|
938
|
+
background-color: transparent;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.bio-properties-panel-feelers-editor .cm-editor.cm-focused,
|
|
942
|
+
.bio-properties-panel-feelers-input .cm-editor.cm-focused {
|
|
943
|
+
outline: none;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
.bio-properties-panel-input {
|
|
947
|
+
padding: 3px 6px 2px;
|
|
948
|
+
border: 1px solid var(--input-border-color);
|
|
949
|
+
border-radius: 2px;
|
|
950
|
+
background-color: var(--input-background-color);
|
|
951
|
+
font-size: var(--text-size-base);
|
|
952
|
+
font-family: inherit;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
.bio-properties-panel-input[type=number],
|
|
956
|
+
select.bio-properties-panel-input,
|
|
957
|
+
textarea.bio-properties-panel-input,
|
|
958
|
+
.bio-properties-panel-input[type=text] {
|
|
959
|
+
display: block;
|
|
960
|
+
width: 100%;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
textarea.bio-properties-panel-input {
|
|
964
|
+
min-height: 28px;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
.bio-properties-panel-input:focus,
|
|
968
|
+
.bio-properties-panel-input:focus-within {
|
|
969
|
+
outline: none;
|
|
970
|
+
background-color: var(--input-focus-background-color);
|
|
971
|
+
border: 1px solid var(--input-focus-border-color);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.bio-properties-panel-textfield:focus-within,
|
|
975
|
+
.bio-properties-panel-feel-entry:focus-within {
|
|
976
|
+
--input-background-color: var(--input-focus-background-color);
|
|
977
|
+
--input-border-color: var(--input-focus-border-color);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.bio-properties-panel-input:disabled {
|
|
981
|
+
border-color: var(--input-disabled-border-color);
|
|
982
|
+
background-color: var(--input-disabled-background-color);
|
|
983
|
+
color: var(--input-disabled-color);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
select.bio-properties-panel-input {
|
|
987
|
+
padding: 4px 6px;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.bio-properties-panel-input-monospace {
|
|
991
|
+
font-family: var(--font-family-monospace);
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.bio-properties-panel-input[type=checkbox], .bio-properties-panel-input[type=radio] {
|
|
995
|
+
margin: 0;
|
|
996
|
+
vertical-align: middle;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.bio-properties-panel-input[type=checkbox]:focus {
|
|
1000
|
+
outline: 1px solid var(--input-focus-border-color);
|
|
1001
|
+
outline-offset: 0;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.bio-properties-panel-checkbox > .bio-properties-panel-label {
|
|
1005
|
+
display: inline-block;
|
|
1006
|
+
font-size: var(--text-size-base);
|
|
1007
|
+
margin-left: 6px;
|
|
1008
|
+
margin-top: auto;
|
|
1009
|
+
vertical-align: middle;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.bio-properties-panel-checkbox-entry + .bio-properties-panel-checkbox-entry {
|
|
1013
|
+
margin-top: -8px;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.bio-properties-panel-checkbox-entry > .bio-properties-panel-description {
|
|
1017
|
+
margin-left: 18px;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
textarea.bio-properties-panel-input {
|
|
1021
|
+
resize: vertical;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
.bio-properties-panel-entry.has-error .bio-properties-panel-input {
|
|
1025
|
+
border-color: var(--input-error-border-color);
|
|
1026
|
+
background-color: var(--input-error-background-color);
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
.bio-properties-panel-entry.has-error .bio-properties-panel-feel-indicator {
|
|
1030
|
+
border-color: var(--input-error-border-color);
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
.bio-properties-panel-entry.has-error .bio-properties-panel-input:focus,
|
|
1034
|
+
.bio-properties-panel-entry.has-error .bio-properties-panel-feel-indicator:focus {
|
|
1035
|
+
border-color: var(--input-error-focus-border-color);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.bio-properties-panel-entry .bio-properties-panel-error {
|
|
1039
|
+
color: var(--text-error-color);
|
|
1040
|
+
margin: 4px 0;
|
|
1041
|
+
font-size: var(--text-size-small);
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.bio-properties-panel-simple {
|
|
1045
|
+
width: 100%;
|
|
1046
|
+
margin-right: 8px;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.bio-properties-panel-simple + .bio-properties-panel-remove-entry {
|
|
1050
|
+
margin: auto;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Toggle Switch
|
|
1055
|
+
*/
|
|
1056
|
+
.bio-properties-panel-toggle-switch-entry + .bio-properties-panel-toggle-switch-entry {
|
|
1057
|
+
margin-top: -8px;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.bio-properties-panel-toggle-switch-entry > .bio-properties-panel-description {
|
|
1061
|
+
margin-left: 38px;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.bio-properties-panel-toggle-switch .bio-properties-panel-field-wrapper {
|
|
1065
|
+
display: flex;
|
|
1066
|
+
flex-direction: row;
|
|
1067
|
+
align-items: center;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
.bio-properties-panel-toggle-switch > .bio-properties-panel-label {
|
|
1071
|
+
font-size: var(--text-size-base);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__label {
|
|
1075
|
+
margin: 0;
|
|
1076
|
+
margin-left: 6px;
|
|
1077
|
+
font-size: var(--text-size-base);
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher {
|
|
1081
|
+
position: relative;
|
|
1082
|
+
width: 32px;
|
|
1083
|
+
height: 16px;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type=checkbox] {
|
|
1087
|
+
opacity: 0;
|
|
1088
|
+
width: 0;
|
|
1089
|
+
height: 0;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider {
|
|
1093
|
+
position: absolute;
|
|
1094
|
+
top: 0;
|
|
1095
|
+
left: 0;
|
|
1096
|
+
right: 0;
|
|
1097
|
+
bottom: 0;
|
|
1098
|
+
background-color: var(--toggle-switch-off-background-color);
|
|
1099
|
+
-webkit-transition: 0.4s;
|
|
1100
|
+
transition: 0.4s;
|
|
1101
|
+
border-radius: 34px;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher .bio-properties-panel-toggle-switch__slider:before {
|
|
1105
|
+
position: absolute;
|
|
1106
|
+
content: "";
|
|
1107
|
+
height: 12px;
|
|
1108
|
+
width: 12px;
|
|
1109
|
+
left: 2px;
|
|
1110
|
+
bottom: 2px;
|
|
1111
|
+
background-color: var(--toggle-switch-switcher-background-color);
|
|
1112
|
+
-webkit-transition: 0.4s;
|
|
1113
|
+
transition: 0.4s;
|
|
1114
|
+
border-radius: 50%;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type=checkbox]:checked + .bio-properties-panel-toggle-switch__slider {
|
|
1118
|
+
background-color: var(--toggle-switch-on-background-color);
|
|
1119
|
+
box-shadow: 0 0 1px;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
.bio-properties-panel-toggle-switch .bio-properties-panel-toggle-switch__switcher input[type=checkbox]:checked + .bio-properties-panel-toggle-switch__slider:before {
|
|
1123
|
+
-webkit-transform: translateX(16px);
|
|
1124
|
+
-ms-transform: translateX(16px);
|
|
1125
|
+
transform: translateX(16px);
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Collapsible entries
|
|
1130
|
+
*/
|
|
1131
|
+
.bio-properties-panel-collapsible-entry-entries {
|
|
1132
|
+
position: relative;
|
|
1133
|
+
display: none;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
.bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child {
|
|
1137
|
+
padding-bottom: 0;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.bio-properties-panel-collapsible-entry-entries.open {
|
|
1141
|
+
display: block;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
.bio-properties-panel-collapsible-entry-entries {
|
|
1145
|
+
padding-left: 20px;
|
|
1146
|
+
margin-bottom: 10px;
|
|
1147
|
+
position: relative;
|
|
1148
|
+
display: none;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.bio-properties-panel-collapsible-entry-header {
|
|
1152
|
+
position: relative;
|
|
1153
|
+
display: flex;
|
|
1154
|
+
justify-content: space-between;
|
|
1155
|
+
align-items: center;
|
|
1156
|
+
overflow: hidden;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
.bio-properties-panel-collapsible-entry-header .bio-properties-panel-collapsible-entry-header-title {
|
|
1160
|
+
padding: 2px 24px 2px 32px;
|
|
1161
|
+
font-size: var(--text-size-base);
|
|
1162
|
+
white-space: nowrap;
|
|
1163
|
+
overflow: hidden;
|
|
1164
|
+
text-overflow: ellipsis;
|
|
1165
|
+
user-select: none;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
.bio-properties-panel-collapsible-entry-arrow {
|
|
1169
|
+
position: absolute;
|
|
1170
|
+
top: 2px;
|
|
1171
|
+
left: 6px;
|
|
1172
|
+
padding: 0 3px;
|
|
1173
|
+
height: 22px;
|
|
1174
|
+
display: inline-flex;
|
|
1175
|
+
justify-content: center;
|
|
1176
|
+
align-items: center;
|
|
1177
|
+
align-self: center;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.bio-properties-panel-remove-entry {
|
|
1181
|
+
display: flex;
|
|
1182
|
+
align-items: center;
|
|
1183
|
+
justify-content: center;
|
|
1184
|
+
margin-right: 5px;
|
|
1185
|
+
padding: 0;
|
|
1186
|
+
width: 22px;
|
|
1187
|
+
height: 22px;
|
|
1188
|
+
fill: var(--remove-entry-fill-color);
|
|
1189
|
+
border-radius: 50%;
|
|
1190
|
+
border: none;
|
|
1191
|
+
background: none;
|
|
1192
|
+
visibility: hidden;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.bio-properties-panel-remove-entry:hover {
|
|
1196
|
+
background-color: var(--remove-entry-hover-background-color);
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
.bio-properties-panel-list-entry-item:hover .bio-properties-panel-remove-list-entry,
|
|
1200
|
+
.bio-properties-panel-collapsible-entry:hover > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry,
|
|
1201
|
+
.bio-properties-panel-collapsible-entry:focus-within > .bio-properties-panel-collapsible-entry-header .bio-properties-panel-remove-entry {
|
|
1202
|
+
visibility: visible;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
/* Side line */
|
|
1206
|
+
.bio-properties-panel-collapsible-entry-entries::before {
|
|
1207
|
+
content: "";
|
|
1208
|
+
position: absolute;
|
|
1209
|
+
left: 16px;
|
|
1210
|
+
width: 2px;
|
|
1211
|
+
top: -6px;
|
|
1212
|
+
bottom: 12px;
|
|
1213
|
+
background-color: var(--side-line-background-color);
|
|
1214
|
+
border-radius: 1px;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
/* Side line extension for non-list entry or open list entry positioned as the last one. */
|
|
1218
|
+
.bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child,
|
|
1219
|
+
.bio-properties-panel-list-entry.open:last-child {
|
|
1220
|
+
position: relative;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
.bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:not(.bio-properties-panel-list-entry):last-child::after,
|
|
1224
|
+
.bio-properties-panel-list-entry.open:last-child::after {
|
|
1225
|
+
content: "";
|
|
1226
|
+
position: absolute;
|
|
1227
|
+
left: -16px;
|
|
1228
|
+
width: 2px;
|
|
1229
|
+
top: 0;
|
|
1230
|
+
bottom: -4px;
|
|
1231
|
+
background-color: var(--side-line-extension-background-color);
|
|
1232
|
+
border-radius: 1px;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries .bio-properties-panel-entry:last-child::after {
|
|
1236
|
+
left: -18px;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/*
|
|
1240
|
+
* List entry
|
|
1241
|
+
*/
|
|
1242
|
+
.bio-properties-panel-list-entry {
|
|
1243
|
+
position: relative;
|
|
1244
|
+
margin-right: 5px;
|
|
1245
|
+
margin-bottom: 0;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
.bio-properties-panel-list-entry .bio-properties-panel-entry {
|
|
1249
|
+
margin-right: 0;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
.bio-properties-panel-list-entry-header {
|
|
1253
|
+
position: relative;
|
|
1254
|
+
overflow: hidden;
|
|
1255
|
+
display: flex;
|
|
1256
|
+
justify-content: space-between;
|
|
1257
|
+
height: 32px;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
/* Nested list dot */
|
|
1261
|
+
.bio-properties-panel-list-entry::before {
|
|
1262
|
+
content: "";
|
|
1263
|
+
width: 8px;
|
|
1264
|
+
height: 8px;
|
|
1265
|
+
position: absolute;
|
|
1266
|
+
left: -19px;
|
|
1267
|
+
top: 13px;
|
|
1268
|
+
border-radius: 50%;
|
|
1269
|
+
background-color: var(--list-entry-dot-background-color);
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
.bio-properties-panel-list-entry-header-title {
|
|
1273
|
+
display: block;
|
|
1274
|
+
margin: auto 0;
|
|
1275
|
+
padding: 2px 0;
|
|
1276
|
+
font-size: var(--text-size-base);
|
|
1277
|
+
white-space: nowrap;
|
|
1278
|
+
overflow: hidden;
|
|
1279
|
+
text-overflow: ellipsis;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
.bio-properties-panel-list-entry-header-title.open {
|
|
1283
|
+
font-weight: 500;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
.bio-properties-panel-list-entry-header-buttons {
|
|
1287
|
+
display: flex;
|
|
1288
|
+
align-items: center;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.bio-properties-panel-list-entry-header-buttons > button {
|
|
1292
|
+
display: inline-flex;
|
|
1293
|
+
justify-content: center;
|
|
1294
|
+
align-items: center;
|
|
1295
|
+
align-self: center;
|
|
1296
|
+
height: 22px;
|
|
1297
|
+
line-height: 22px;
|
|
1298
|
+
min-width: 22px;
|
|
1299
|
+
margin: 5px;
|
|
1300
|
+
padding: 0 3px;
|
|
1301
|
+
border: none;
|
|
1302
|
+
background: none;
|
|
1303
|
+
fill: var(--list-entry-header-button-fill-color);
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
.bio-properties-panel-list-entry-header-buttons > :last-child {
|
|
1307
|
+
margin-right: 0;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
.bio-properties-panel-list-entry-items {
|
|
1311
|
+
padding: 0;
|
|
1312
|
+
margin: 0;
|
|
1313
|
+
list-style: none;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
.bio-properties-panel-list-entry-items:not(.open) {
|
|
1317
|
+
display: none;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
.bio-properties-panel-list-entry-item {
|
|
1321
|
+
display: flex;
|
|
1322
|
+
justify-content: space-between;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
.bio-properties-panel-list-entry-item .bio-properties-panel-remove-entry {
|
|
1326
|
+
margin-right: 1px;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
.bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry {
|
|
1330
|
+
width: 100%;
|
|
1331
|
+
margin-right: 4px;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
.bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header {
|
|
1335
|
+
margin-left: -8px;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
.bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-arrow {
|
|
1339
|
+
left: 2px;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
.bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-header-title {
|
|
1343
|
+
padding-left: 30px;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
.bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries {
|
|
1347
|
+
padding-left: 10px;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
.bio-properties-panel-list-entry-item .bio-properties-panel-collapsible-entry-entries::before {
|
|
1351
|
+
left: 4px;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
.bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry {
|
|
1355
|
+
margin-right: 16px;
|
|
1356
|
+
padding-left: 6px;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
.bio-properties-panel-list-entry.empty .bio-properties-panel-add-entry-label {
|
|
1360
|
+
color: var(--list-entry-add-entry-label-color);
|
|
1361
|
+
padding: 4px 6px 3px 2px;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
.bio-properties-panel-list-entry-header-buttons .bio-properties-panel-add-entry:hover {
|
|
1365
|
+
background-color: var(--list-entry-add-entry-background-color);
|
|
1366
|
+
fill: var(--list-entry-add-entry-fill-color);
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
.bio-properties-panel-list-entry-item .bio-properties-panel-simple .bio-properties-panel-input {
|
|
1370
|
+
border-radius: 0;
|
|
1371
|
+
margin-bottom: -2px;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
.bio-properties-panel-list-entry-item:first-child .bio-properties-panel-simple .bio-properties-panel-input {
|
|
1375
|
+
border-top-left-radius: 2px;
|
|
1376
|
+
border-top-right-radius: 2px;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
.bio-properties-panel-list-entry-item:last-child .bio-properties-panel-simple .bio-properties-panel-input {
|
|
1380
|
+
border-bottom-left-radius: 2px;
|
|
1381
|
+
border-bottom-right-radius: 2px;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
.bio-properties-panel-dropdown-button {
|
|
1385
|
+
position: relative;
|
|
1386
|
+
--dropdown-button-margin: 5px;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
.bio-properties-panel-dropdown-button:not(.open) .bio-properties-panel-dropdown-button__menu {
|
|
1390
|
+
display: none;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
.bio-properties-panel-dropdown-button__menu {
|
|
1394
|
+
min-width: calc(100% - var(--dropdown-button-margin) * 2);
|
|
1395
|
+
max-width: 240px;
|
|
1396
|
+
position: absolute;
|
|
1397
|
+
top: calc(100% - var(--dropdown-button-margin));
|
|
1398
|
+
right: var(--dropdown-button-margin);
|
|
1399
|
+
z-index: 101;
|
|
1400
|
+
background-color: var(--dropdown-item-background-color);
|
|
1401
|
+
padding: 8px 0;
|
|
1402
|
+
box-shadow: 0 1px 4px 0 var(--color-grey-225-10-85), 0 2px 16px 0 var(--color-grey-225-10-75);
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
.bio-properties-panel-dropdown-button__menu-item {
|
|
1406
|
+
display: block;
|
|
1407
|
+
width: 100%;
|
|
1408
|
+
padding: 4px 12px;
|
|
1409
|
+
font-size: var(--text-size-small);
|
|
1410
|
+
appearance: revert;
|
|
1411
|
+
border: unset;
|
|
1412
|
+
background: unset;
|
|
1413
|
+
text-align: unset;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
.bio-properties-panel-dropdown-button__menu-item--separator {
|
|
1417
|
+
width: 100%;
|
|
1418
|
+
height: 1px;
|
|
1419
|
+
padding: 0;
|
|
1420
|
+
margin: 8px 0;
|
|
1421
|
+
background-color: var(--dropdown-separator-background-color);
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
.bio-properties-panel-dropdown-button__menu-item--actionable {
|
|
1425
|
+
font-size: var(--text-size-base);
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
.bio-properties-panel-dropdown-button__menu-item--actionable:hover {
|
|
1429
|
+
background-color: var(--dropdown-item-hover-background-color);
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
.bio-properties-panel-feel-input {
|
|
1433
|
+
position: relative;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
.bio-properties-panel-feel-input input {
|
|
1437
|
+
padding-right: 2em;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
.bio-properties-panel-feel-icon {
|
|
1441
|
+
display: inline-block;
|
|
1442
|
+
height: 16px;
|
|
1443
|
+
border-radius: 8px;
|
|
1444
|
+
vertical-align: text-bottom;
|
|
1445
|
+
padding: 0;
|
|
1446
|
+
margin: 0 3px;
|
|
1447
|
+
align-items: center;
|
|
1448
|
+
align-self: center;
|
|
1449
|
+
border: none;
|
|
1450
|
+
background: none;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
.bio-properties-panel-feel-icon.optional {
|
|
1454
|
+
cursor: pointer;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
.bio-properties-panel-feel-icon svg * {
|
|
1458
|
+
color: var(--feel-inactive-color);
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
.bio-properties-panel-feel-icon.active svg * {
|
|
1462
|
+
color: var(--feel-active-color);
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
.bio-properties-panel-feel-icon svg {
|
|
1466
|
+
width: 16px;
|
|
1467
|
+
height: 16px;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
.bio-properties-panel-feel-editor-container {
|
|
1471
|
+
position: relative;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
.bio-properties-panel-feel-editor-container.active {
|
|
1475
|
+
font-family: var(--font-family-monospace);
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
.bio-properties-panel-feel-container {
|
|
1479
|
+
position: relative;
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
.bio-properties-panel-feel-container .bio-properties-panel-feel-editor-container > div {
|
|
1483
|
+
position: static;
|
|
1484
|
+
padding-left: 2.4em !important;
|
|
1485
|
+
min-height: 28px;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
.bio-properties-panel-feel-indicator {
|
|
1489
|
+
position: absolute;
|
|
1490
|
+
border: 1px solid var(--input-border-color);
|
|
1491
|
+
background-color: var(--feel-indicator-background-color);
|
|
1492
|
+
border-right: 0px;
|
|
1493
|
+
border-radius: 2px 0 0 2px;
|
|
1494
|
+
z-index: 1;
|
|
1495
|
+
height: 100%;
|
|
1496
|
+
width: 2em;
|
|
1497
|
+
text-align: center;
|
|
1498
|
+
padding: 2px 6px;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
.bio-properties-panel-feel-editor-container .cm-scroller {
|
|
1502
|
+
overflow: hidden !important;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
.bio-properties-panel-feelers-editor .cm-editor {
|
|
1506
|
+
background-color: transparent;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
.bio-properties-panel-feelers-editor .cm-editor.cm-focused {
|
|
1510
|
+
background-color: transparent;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
.bio-properties-panel-feel-editor-container .bio-properties-panel-input {
|
|
1514
|
+
resize: vertical;
|
|
1515
|
+
overflow: hidden;
|
|
1516
|
+
overflow-y: auto;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
.bio-properties-panel-feel-editor-container,
|
|
1520
|
+
.bio-properties-panel-feel-editor-container .bio-properties-panel-input,
|
|
1521
|
+
.bio-properties-panel-feel-container .cm-editor {
|
|
1522
|
+
min-height: 100%;
|
|
1523
|
+
}
|