@kumologica/sdk 3.5.4 → 3.6.0-beta2

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.
@@ -1,4 +1,4 @@
1
- /**
1
+ /**
2
2
  * Copyright JS Foundation and other contributors, http://js.foundation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,748 +14,747 @@
14
14
  * limitations under the License.
15
15
  **/
16
16
 
17
- .flex {
18
- display: flex;
19
- }
20
-
21
- .flex-row {
22
- flex-direction: row;
23
- }
24
-
25
- .flex-col {
26
- flex-direction: column;
27
- }
28
-
29
- .sidebar-title-wrapper {
30
- font-size: 14px;
31
- font-weight: 600;
32
- display: flex;
33
- padding: 12px 0px 18px 13px;
34
- }
35
-
36
- .mr-5 {
37
- margin-right: 5px;
38
- }
39
-
40
- .md-option {
41
- height: 25px !important;
42
- line-height: 0 !important;
43
- padding: 0 8px !important;
44
- }
45
-
46
- .editor-tray-body-wrapper {
47
- height: 100%;
48
- }
49
-
50
-
51
- #editor-tray {
52
- width: 100% !important;
53
- }
54
-
55
- #editorContent {
56
- width: 100% !important;
57
- }
58
-
59
- // General classes
60
- .jcfe {
61
- justify-content: flex-end;
62
- }
63
-
64
- .pt-10 {
65
- padding-top: 10px;
66
- }
67
-
68
- // Specific to the editor
69
- .buttonSelected {
70
- background: #eee !important;
71
- }
72
-
73
- .kumo-window {
74
- font-size: 0.8rem !important;
75
- padding: 7px 6px;
76
- min-width: 200px;
77
- }
78
-
79
- .kumo-section {
80
- background-color: #f3f3f3;
81
- border-radius: 4px;
82
- padding: 6px 11px;
83
- }
84
-
85
- .kumo-subsection {
86
- margin-top: 15px;
87
- }
88
-
89
- .kumo-section .form-row:not(:first-of-type) {
90
- margin-top: 7px;
91
- }
92
-
93
- .kumo-row-with-margin {
94
- margin-top: 6px;
95
- display: flex;
96
- align-items: center;
97
- justify-content: space-around;
98
- }
99
-
100
- .kumo-section-title {
101
- border-top: 1px solid lightgrey;
102
- padding-top: 7px;
103
- margin-top: 7px;
104
- margin-left: 10px;
105
- margin-bottom: 4px;
106
- color: #605d5d;
107
- font-weight: bold;
108
- letter-spacing: 0.1em;
109
- text-transform: uppercase;
110
- font-size: x-small;
111
- }
112
-
113
- .kumo-section-tips {
114
- margin-top: 20px;
115
- }
116
-
117
- .kumo-tip-icon {
118
- margin-right: 7px;
119
- padding: 10px;
120
- font-size: 20px;
121
- }
122
-
123
- .kumo-row {
124
- clear: both;
125
- color: $form-text-color;
126
- }
127
-
128
- .kumo-section select {
129
- outline: none !important;
130
- }
131
-
132
- .kumo-row-label {
133
- display: inline-block;
134
- width: 20%;
135
- }
136
-
137
- .kumo-row-editable {
138
- width: 79%;
139
- }
140
-
141
- .kumo-row-field {
142
- width: 79%;
143
- }
144
-
145
- #editor-stack {
146
- height: 100%;
147
- width: 100%;
148
- // position: absolute;
149
- // margin: 0;
150
- // top: 0;
151
- // bottom: 0px;
152
- // right: 352px;
153
- // width: 0;
154
- // z-index: 5;
155
- }
156
-
157
- .editor-tray {
158
- display: flex;
159
- flex-direction: column;
160
- position: absolute;
161
- margin: 0;
162
- top: 0;
163
- width: auto;
164
- right: -1000px;
165
- bottom: 0;
166
- background: #f3f3f3;
167
- border-left: 1px solid $secondary-border-color;
168
- border-bottom: 1px solid $primary-border-color;
169
- box-sizing: content-box;
170
- width: 100% !important;
171
- }
172
-
173
- .editor-tray.open {
174
- right: 0;
175
- }
176
-
177
- .editor-tray-body-wrapper {
178
- width: 100%;
179
- box-sizing: border-box;
180
- overflow-y: auto !important;
181
- }
182
-
183
- .editor-tray-body {
184
- display: flex;
185
- position: relative;
186
- box-sizing: border-box;
187
- padding: 0.1px; // prevent margin collapsing
188
- height: 100% !important;
189
-
190
- .dialog-form,
191
- #dialog-form,
192
- #node-config-dialog-edit-form {
193
- // margin: 10px;
194
- width: 100%;
195
- height: 100%; //calc(100% - 40px);
196
- }
197
- }
198
-
199
- .editor-tray-content {
200
- display: flex;
201
- height: 100% !important;
202
- overflow: auto;
203
- position: relative;
204
-
205
- .palette_icon_fa {
206
- top: 6px;
207
- left: 4px;
208
- }
209
- }
210
-
211
- .editor-tray-header {
212
- @include disable-selection;
213
- display: flex;
214
- position: relative;
215
- box-sizing: border-box;
216
- font-weight: bold;
217
-
218
- // border-top: 5px solid #2979ff;
219
- //border-bottom: 1px solid $secondary-border-color;
220
- //background: $palette-header-background;
221
- &:after {
222
- content: '';
223
- display: table;
224
- clear: both;
225
- }
226
- }
227
-
228
- #editor-tray-options {
229
- display: flex;
230
- padding: 0px 0px 0px 12px;
231
- font-size: 12px;
232
- border-bottom: 1px solid lightgrey;
233
-
234
- #optionSettings {
235
- //margin-right: 7px;
236
- }
237
-
238
- .node-property-option {
239
- padding: 1px 13px;
240
- border-radius: 4px;
241
- cursor: pointer;
242
- position: relative;
243
- top: 1px;
244
- }
245
-
246
- .node-property-selected {
247
- font-weight: 500;
248
- border-left: 1px solid lightgrey;
249
- border-right: 1px solid lightgrey;
250
- border-top: 1px solid lightgrey;
251
- border-bottom: 1px solid #f3f3f3;
252
- border-radius: 4px 4px 0px 0px;
253
- }
254
- }
255
-
256
- .editor-tray-footer {
257
- // @include component-footer;
258
- // height: 44px;
259
- // position: unset !important;
260
-
261
- // button {
262
- // @include editor-button;
263
- // padding: 3px 7px;
264
- // font-size: 11px;
265
- // }
266
- }
267
-
268
- .editor-tray-toolbar {
269
- display: flex;
270
- justify-content: flex-end;
271
- position: relative;
272
- //top: 9px;
273
- text-align: right;
274
- padding: 6px;
275
-
276
- button {
277
- @include editor-button;
278
-
279
- &.toggle {
280
- @include workspace-button-toggle;
281
- }
282
- }
283
- }
284
-
285
- .editor-tray-title-wrapper {
286
- display: flex;
287
- padding: 12px 0px 18px 13px;
288
- }
289
-
290
- .editor-tray-titlebar {
291
- display: flex;
292
- font-size: 14px;
293
- font-weight: 600;
294
- width: 95%;
295
- }
296
-
297
- .editor-tray-wincontrols {
298
- display: flex;
299
- font-size: 14px;
300
- font-weight: 600;
301
- width: 5%;
302
- align-items: center;
303
- justify-content: flex-end;
304
- margin-top: -4px;
305
- margin-right: 13px;
306
- }
307
-
308
- .editor-tray-nodeid {
309
- display: flex;
310
- color: darkgrey;
311
- font-size: 12px;
312
- width: 30%;
313
- justify-content: flex-start;
314
- padding: 13px 13px 18px 13px;
315
- font-family: monospace;
316
-
317
- &:hover {
318
- cursor: pointer;
319
- }
320
- }
321
-
322
- .editor-tray-title-options-wrapper {
323
- display: flex;
324
- justify-content: flex-end;
325
- width: 50%;
326
- }
327
-
328
- .editor-tray-breadcrumbs {
329
- font-size: 12px;
330
- list-style-type: none;
331
- margin: 0;
332
- display: flex;
333
- padding: 12px 0px 18px 13px;
334
-
335
- li {
336
- display: inline-block;
337
- padding: 0;
338
- margin: 0;
339
-
340
- &:not(:last-child) {
341
- color: $editor-button-color;
342
- font-weight: normal;
343
-
344
- &:after {
345
- display: inline-block;
346
- content: '>';
347
- margin: 0 5px;
348
- }
349
- }
350
- }
351
- }
352
-
353
- .editor-tray-resize-handle {
354
- display: none;
355
- position: absolute;
356
- top: 0px;
357
- bottom: 0px;
358
- width: 7px;
359
- left: -9px;
360
- background: $background-color url(images/grip.png) no-repeat 50% 50%;
361
- cursor: col-resize;
362
- border-left: 1px solid $primary-border-color;
363
- box-shadow: -1px 0 6px rgba(0, 0, 0, 0.1);
364
-
365
- &.editor-tray-resize-maximised {
366
- background: $background-color;
367
- cursor: default;
368
- }
369
- }
370
-
371
- .editor-tray-resize-button {
372
- @include workspace-button;
373
- display: block;
374
- height: 37px;
375
- line-height: 35px;
376
- border: none;
377
- border-bottom: 1px solid $secondary-border-color;
378
- margin: 0;
379
- background: $background-color;
380
- color: $workspace-button-color;
381
- }
382
-
383
- #palette-shade,
384
- #editor-shade,
385
- #header-shade,
386
- #sidebar-shade {
387
- @include shade;
388
- z-index: 2;
389
- }
390
-
391
- #sidebar-shade {
392
- left: -8px;
393
- top: -1px;
394
- bottom: -1px;
395
- }
396
-
397
- #full-shade {
398
- @include shade;
399
- z-index: 15;
400
- }
401
-
402
- .dialog-form,
403
- #dialog-form,
404
- #node-config-dialog-edit-form {
405
- height: 100%;
406
- }
407
-
408
- .input-error {
409
- border-color: rgb(214, 97, 95) !important;
410
- }
411
-
412
- .form-row {
413
- clear: both;
414
- color: $form-text-color;
415
- }
416
-
417
- .form-row label {
418
- display: inline-block;
419
- width: 20%;
420
- }
421
-
422
- .form-row input,
423
- .form-row div[contenteditable='true'] {
424
- width: 79%;
425
- }
426
-
427
- .form-tips {
428
- display: flex;
429
- align-items: center;
430
- color: #9f6000;
431
- background: #feefb3;
432
- padding: 8px;
433
- border-radius: 2px;
434
- border: 1px solid $secondary-border-color;
435
- //max-width: 450px;
436
- }
437
-
438
- .form-tips code {
439
- border: none;
440
- padding: auto;
441
- }
442
-
443
- .form-tips a {
444
- text-decoration: underline;
445
- }
446
-
447
- .form-warning {
448
- margin-top: 50px;
449
- color: #721c24;
450
- background: #f8d7da;
451
- padding: 8px;
452
- border-radius: 2px;
453
- border-left: 6px solid !important;
454
- border: 1px solid #f5c6cb;
455
- max-width: 450px;
456
- }
457
-
458
-
459
- .node-text-editor {
460
- position: relative;
461
-
462
- .node-text-editor-help {
463
- position: absolute;
464
- bottom: 9px;
465
- right: 1px;
466
- border-bottom-right-radius: 5px;
467
- z-index: 8;
468
- border-bottom: none;
469
- border-right: none;
470
- }
471
- }
472
-
473
- .node-text-editor-container {
474
- border: 1px solid #ccc;
475
- border-radius: 5px;
476
- overflow: hidden;
477
- font-size: 14px !important;
478
- font-family: Menlo, Consolas, 'DejaVu Sans Mono', Courier, monospace !important;
479
- height: 100%;
480
-
481
- &.node-text-editor-container-toolbar {
482
- height: calc(100% - 40px);
483
- }
484
- }
485
-
486
- .editor-button {
487
- @include workspace-button;
488
- height: 34px;
489
- line-height: 32px;
490
- font-size: 13px;
491
- border-radius: 2px;
492
- padding: 0 10px;
493
- white-space: nowrap;
494
- text-overflow: ellipsis;
495
-
496
- &.toggle {
497
- @include workspace-button-toggle;
498
- }
499
- }
500
-
501
- .editor-button-small {
502
- height: 20px;
503
- min-width: 20px;
504
- line-height: 18px;
505
- font-size: 12px;
506
- border-radius: 2px;
507
- padding: 0 5px;
508
- }
509
-
510
- #node-config-dialog-scope-container {
511
- cursor: auto;
512
- float: right;
513
- font-size: 12px !important;
514
- line-height: 35px;
515
- }
516
-
517
- #node-config-dialog-scope-warning {
518
- display: inline-block;
519
- margin-right: 5px;
520
- color: #ad1625;
521
- vertical-align: middle;
522
- }
523
-
524
- #node-config-dialog-scope {
525
- margin: 1px 0 0 0;
526
- padding: 0;
527
- height: 22px;
528
- width: 200px;
529
- }
530
-
531
- #node-config-dialog-user-count {
532
- vertical-align: middle;
533
- display: inline-block;
534
- margin-right: 20px;
535
- float: left;
536
- font-size: 12px;
537
- line-height: 35px;
538
- }
539
-
540
- .node-input-expression-editor #dialog-form {
541
- margin: 0;
542
- height: 100%;
543
-
544
- .red-ui-panel {
545
- &:first-child {
546
- padding: 20px 20px 0;
547
- }
548
-
549
- &:last-child {
550
- padding-bottom: 20px;
551
- }
552
- }
553
- }
554
-
555
- .node-input-expression-tab-content {
556
- position: relative;
557
- padding: 0 20px;
558
- }
559
-
560
- #node-input-expression-help {
561
- position: absolute;
562
- top: 35px;
563
- left: 0;
564
- right: 0;
565
- bottom: 0;
566
- padding: 0 20px;
567
- overflow: auto;
568
- box-sizing: border-box;
569
- }
570
-
571
- #node-input-expression-panel-info {
572
- &>.form-row {
573
- margin: 0;
574
-
575
- &>div:first-child {
576
- margin-top: 10px;
577
- }
578
- }
579
- }
580
-
581
- .node-input-expression-legacy,
582
- .node-input-buffer-type {
583
- font-size: 0.8em;
584
- float: left;
585
- cursor: pointer;
586
- border: 1px solid white;
587
- padding: 2px 5px;
588
- border-radius: 2px;
589
-
590
- &:hover {
591
- border-color: $form-input-border-color;
592
- }
593
- }
594
-
595
- .node-input-buffer-type {
596
- float: none;
597
- text-align: right;
598
- }
599
-
600
- .node-input-markdown-editor #dialog-form {
601
- margin: 0;
602
- height: 100%;
603
-
604
- .red-ui-panel {
605
- padding: 20px 20px 10px;
606
-
607
- &:last-child {
608
- padding-top: 60px;
609
- background: #f9f9f9;
610
- }
611
- }
612
- }
613
-
614
- .node-input-markdown-panel-preview {
615
- padding: 10px;
616
- border: 1px solid #ccc;
617
- border-radius: 5px;
618
- height: calc(100% - 21px);
619
- overflow-y: scroll;
620
- background: #fff;
621
- }
622
-
623
- #clipboard-hidden {
624
- display: none;
625
- position: absolute;
626
- top: -3000px;
627
- }
628
-
629
- .node-label-form-row {
630
- margin: 5px 0 0 50px;
631
-
632
- label {
633
- margin-right: 20px;
634
- text-align: right;
635
- width: 30px;
636
- }
637
-
638
- button {
639
- margin-left: 10px;
640
- }
641
-
642
- input {
643
- width: calc(100% - 100px);
644
- }
645
-
646
- #node-settings-icon-module {
647
- width: calc(55% - 50px);
648
- }
649
-
650
- #node-settings-icon-file {
651
- width: calc(45% - 55px);
652
- margin-left: 5px;
653
- }
654
- }
655
-
656
- .node-label-form-none {
657
- span {
658
- padding-left: 50px;
659
- width: 100px;
660
- color: #999;
661
- }
662
- }
663
-
664
- .ace_read-only {
665
- background: #eee !important;
666
-
667
- .ace_cursor {
668
- color: transparent !important;
669
- }
670
- }
671
-
672
- #node-settings-icon-button {
673
- position: relative;
674
- padding-left: 30px;
675
- width: calc(100% - 150px);
676
-
677
- .red-ui-search-result-node {
678
- position: absolute;
679
- top: 2px;
680
- left: 2px;
681
- }
682
- }
683
-
684
- #node-settings-icon {
685
- margin-left: 10px;
686
- width: calc(100% - 163px);
687
- }
688
-
689
- .red-ui-icon-picker {
690
- position: absolute;
691
- border: 1px solid $primary-border-color;
692
- box-shadow: 0 1px 6px -3px black;
693
- background: white;
694
- z-index: 21;
695
- display: none;
696
-
697
- select {
698
- box-sizing: border-box;
699
- margin: 3px;
700
- width: calc(100% - 6px);
701
- }
702
- }
703
-
704
- .red-ui-icon-list {
705
- width: 308px;
706
- height: 200px;
707
- overflow-y: scroll;
708
- line-height: 0px;
709
- }
710
-
711
- .red-ui-icon-list-icon {
712
- display: inline-block;
713
- margin: 2px;
714
- padding: 4px;
715
- cursor: pointer;
716
- border-radius: 4px;
717
-
718
- &:hover {
719
- background: lighten($node-selected-color, 20%);
720
- }
721
-
722
- &.selected {
723
- background: lighten($node-selected-color, 20%);
724
-
725
- .red-ui-search-result-node {
726
- border-color: white;
727
- }
728
- }
729
-
730
- .palette_icon_fa {
731
- top: 6px;
732
- left: 3px;
733
- }
734
- }
735
-
736
- .red-ui-icon-list-module {
737
- background: $palette-header-background;
738
- font-size: 0.9em;
739
- padding: 3px;
740
- color: #666;
741
- clear: both;
742
-
743
- i {
744
- margin-right: 5px;
745
- }
746
- }
747
-
748
- .red-ui-icon-meta {
749
- border-top: 1px solid $secondary-border-color;
750
-
751
- span {
752
- padding: 4px;
753
- color: #666;
754
- font-size: 0.9em;
755
- }
756
-
757
- button {
758
- float: right;
759
- margin: 2px;
760
- }
761
- }
17
+ .flex {
18
+ display: flex;
19
+ }
20
+
21
+ .flex-row {
22
+ flex-direction: row;
23
+ }
24
+
25
+ .flex-col {
26
+ flex-direction: column;
27
+ }
28
+
29
+ .sidebar-title-wrapper {
30
+ font-size: 14px;
31
+ font-weight: 600;
32
+ display: flex;
33
+ padding: 12px 0px 18px 13px;
34
+ }
35
+
36
+ .mr-5 {
37
+ margin-right: 5px;
38
+ }
39
+
40
+ .md-option {
41
+ height: 25px !important;
42
+ line-height: 0 !important;
43
+ padding: 0 8px !important;
44
+ }
45
+
46
+ .editor-tray-body-wrapper {
47
+ height: 100%;
48
+ }
49
+
50
+ #editor-tray {
51
+ width: 100% !important;
52
+ }
53
+
54
+ #editorContent {
55
+ width: 100% !important;
56
+ }
57
+
58
+ // General classes
59
+ .jcfe {
60
+ justify-content: flex-end;
61
+ }
62
+
63
+ .pt-10 {
64
+ padding-top: 10px;
65
+ }
66
+
67
+ // Specific to the editor
68
+ .buttonSelected {
69
+ background: #eee !important;
70
+ }
71
+
72
+ .kumo-window {
73
+ font-size: 0.8rem !important;
74
+ padding: 7px 6px;
75
+ min-width: 200px;
76
+ }
77
+
78
+ .kumo-section {
79
+ background-color: #f3f3f3;
80
+ border-radius: 4px;
81
+ padding: 6px 11px;
82
+ }
83
+
84
+ .kumo-subsection {
85
+ margin-top: 15px;
86
+ }
87
+
88
+ .kumo-section .form-row:not(:first-of-type) {
89
+ margin-top: 7px;
90
+ }
91
+
92
+ .kumo-row-with-margin {
93
+ margin-top: 6px;
94
+ display: flex;
95
+ align-items: center;
96
+ justify-content: space-around;
97
+ }
98
+
99
+ .kumo-section-title {
100
+ border-top: 1px solid lightgrey;
101
+ padding-top: 7px;
102
+ margin-top: 7px;
103
+ margin-left: 10px;
104
+ margin-bottom: 4px;
105
+ color: #605d5d;
106
+ font-weight: bold;
107
+ letter-spacing: 0.1em;
108
+ text-transform: uppercase;
109
+ font-size: x-small;
110
+ }
111
+
112
+ .kumo-section-tips {
113
+ margin-top: 20px;
114
+ }
115
+
116
+ .kumo-tip-icon {
117
+ margin-right: 7px;
118
+ padding: 10px;
119
+ font-size: 20px;
120
+ }
121
+
122
+ .kumo-row {
123
+ clear: both;
124
+ color: $form-text-color;
125
+ }
126
+
127
+ .kumo-section select {
128
+ outline: none !important;
129
+ }
130
+
131
+ .kumo-row-label {
132
+ display: inline-block;
133
+ width: 20%;
134
+ }
135
+
136
+ .kumo-row-editable {
137
+ width: 79%;
138
+ }
139
+
140
+ .kumo-row-field {
141
+ width: 79%;
142
+ }
143
+
144
+ #editor-stack {
145
+ height: 100%;
146
+ width: 100%;
147
+ // position: absolute;
148
+ // margin: 0;
149
+ // top: 0;
150
+ // bottom: 0px;
151
+ // right: 352px;
152
+ // width: 0;
153
+ // z-index: 5;
154
+ }
155
+
156
+ .editor-tray {
157
+ display: flex;
158
+ flex-direction: column;
159
+ position: absolute;
160
+ margin: 0;
161
+ top: 0;
162
+ width: auto;
163
+ right: -1000px;
164
+ bottom: 0;
165
+ background: #f3f3f3;
166
+ border-left: 1px solid $secondary-border-color;
167
+ border-bottom: 1px solid $primary-border-color;
168
+ box-sizing: content-box;
169
+ width: 100% !important;
170
+ }
171
+
172
+ .editor-tray.open {
173
+ right: 0;
174
+ }
175
+
176
+ .editor-tray-body-wrapper {
177
+ width: 100%;
178
+ box-sizing: border-box;
179
+ overflow-y: auto !important;
180
+ }
181
+
182
+ .editor-tray-body {
183
+ display: flex;
184
+ position: relative;
185
+ box-sizing: border-box;
186
+ padding: 0.1px; // prevent margin collapsing
187
+ height: 100% !important;
188
+
189
+ .dialog-form,
190
+ #dialog-form,
191
+ #node-config-dialog-edit-form {
192
+ // margin: 10px;
193
+ width: 100%;
194
+ height: 100%; //calc(100% - 40px);
195
+ }
196
+ }
197
+
198
+ .editor-tray-content {
199
+ display: flex;
200
+ height: 100% !important;
201
+ overflow: auto;
202
+ position: relative;
203
+
204
+ .palette_icon_fa {
205
+ top: 6px;
206
+ left: 4px;
207
+ }
208
+ }
209
+
210
+ .editor-tray-header {
211
+ @include disable-selection;
212
+ display: flex;
213
+ position: relative;
214
+ box-sizing: border-box;
215
+ font-weight: bold;
216
+
217
+ // border-top: 5px solid #2979ff;
218
+ //border-bottom: 1px solid $secondary-border-color;
219
+ //background: $palette-header-background;
220
+ &:after {
221
+ content: "";
222
+ display: table;
223
+ clear: both;
224
+ }
225
+ }
226
+
227
+ #editor-tray-options {
228
+ display: flex;
229
+ padding: 0px 0px 0px 12px;
230
+ font-size: 12px;
231
+ border-bottom: 1px solid lightgrey;
232
+
233
+ #optionSettings {
234
+ //margin-right: 7px;
235
+ }
236
+
237
+ .node-property-option {
238
+ padding: 1px 13px;
239
+ border-radius: 4px;
240
+ cursor: pointer;
241
+ position: relative;
242
+ top: 1px;
243
+ }
244
+
245
+ .node-property-selected {
246
+ font-weight: 500;
247
+ border-left: 1px solid lightgrey;
248
+ border-right: 1px solid lightgrey;
249
+ border-top: 1px solid lightgrey;
250
+ border-bottom: 1px solid #f3f3f3;
251
+ border-radius: 4px 4px 0px 0px;
252
+ }
253
+ }
254
+
255
+ .editor-tray-footer {
256
+ // @include component-footer;
257
+ // height: 44px;
258
+ // position: unset !important;
259
+
260
+ // button {
261
+ // @include editor-button;
262
+ // padding: 3px 7px;
263
+ // font-size: 11px;
264
+ // }
265
+ }
266
+
267
+ .editor-tray-toolbar {
268
+ display: flex;
269
+ justify-content: flex-end;
270
+ position: relative;
271
+ //top: 9px;
272
+ text-align: right;
273
+ padding: 6px;
274
+
275
+ button {
276
+ @include editor-button;
277
+
278
+ &.toggle {
279
+ @include workspace-button-toggle;
280
+ }
281
+ }
282
+ }
283
+
284
+ .editor-tray-title-wrapper {
285
+ display: flex;
286
+ padding: 12px 0px 18px 13px;
287
+ }
288
+
289
+ .editor-tray-titlebar {
290
+ display: flex;
291
+ font-size: 14px;
292
+ font-weight: 600;
293
+ width: 95%;
294
+ }
295
+
296
+ .editor-tray-wincontrols {
297
+ display: flex;
298
+ font-size: 14px;
299
+ font-weight: 600;
300
+ width: 5%;
301
+ align-items: center;
302
+ justify-content: flex-end;
303
+ margin-top: -4px;
304
+ margin-right: 13px;
305
+ }
306
+
307
+ .editor-tray-nodeid {
308
+ display: flex;
309
+ color: darkgrey;
310
+ font-size: 12px;
311
+ width: 30%;
312
+ justify-content: flex-start;
313
+ padding: 13px 13px 18px 13px;
314
+ font-family: monospace;
315
+
316
+ &:hover {
317
+ cursor: pointer;
318
+ }
319
+ }
320
+
321
+ .editor-tray-title-options-wrapper {
322
+ display: flex;
323
+ justify-content: flex-end;
324
+ width: 50%;
325
+ }
326
+
327
+ .editor-tray-breadcrumbs {
328
+ font-size: 12px;
329
+ list-style-type: none;
330
+ margin: 0;
331
+ display: flex;
332
+ padding: 12px 0px 18px 13px;
333
+
334
+ li {
335
+ display: inline-block;
336
+ padding: 0;
337
+ margin: 0;
338
+
339
+ &:not(:last-child) {
340
+ color: $editor-button-color;
341
+ font-weight: normal;
342
+
343
+ &:after {
344
+ display: inline-block;
345
+ content: ">";
346
+ margin: 0 5px;
347
+ }
348
+ }
349
+ }
350
+ }
351
+
352
+ .editor-tray-resize-handle {
353
+ display: none;
354
+ position: absolute;
355
+ top: 0px;
356
+ bottom: 0px;
357
+ width: 7px;
358
+ left: -9px;
359
+ background: $background-color url(images/grip.png) no-repeat 50% 50%;
360
+ cursor: col-resize;
361
+ border-left: 1px solid $primary-border-color;
362
+ box-shadow: -1px 0 6px rgba(0, 0, 0, 0.1);
363
+
364
+ &.editor-tray-resize-maximised {
365
+ background: $background-color;
366
+ cursor: default;
367
+ }
368
+ }
369
+
370
+ .editor-tray-resize-button {
371
+ @include workspace-button;
372
+ display: block;
373
+ height: 37px;
374
+ line-height: 35px;
375
+ border: none;
376
+ border-bottom: 1px solid $secondary-border-color;
377
+ margin: 0;
378
+ background: $background-color;
379
+ color: $workspace-button-color;
380
+ }
381
+
382
+ #palette-shade,
383
+ #editor-shade,
384
+ #header-shade,
385
+ #sidebar-shade {
386
+ @include shade;
387
+ z-index: 2;
388
+ }
389
+
390
+ #sidebar-shade {
391
+ left: -8px;
392
+ top: -1px;
393
+ bottom: -1px;
394
+ }
395
+
396
+ #full-shade {
397
+ @include shade;
398
+ z-index: 15;
399
+ }
400
+
401
+ .dialog-form,
402
+ #dialog-form,
403
+ #node-config-dialog-edit-form {
404
+ height: 100%;
405
+ }
406
+
407
+ .input-error {
408
+ border-color: rgb(214, 97, 95) !important;
409
+ }
410
+
411
+ .form-row {
412
+ clear: both;
413
+ color: $form-text-color;
414
+ }
415
+
416
+ .form-row label {
417
+ display: inline-block;
418
+ width: 20%;
419
+ }
420
+
421
+ .form-row input,
422
+ .form-row div[contenteditable="true"] {
423
+ width: 79%;
424
+ }
425
+
426
+ .form-tips {
427
+ display: flex;
428
+ align-items: center;
429
+ color: #9f6000;
430
+ background: #feefb3;
431
+ padding: 8px;
432
+ border-radius: 2px;
433
+ border: 1px solid $secondary-border-color;
434
+ //max-width: 450px;
435
+ }
436
+
437
+ .form-tips code {
438
+ border: none;
439
+ padding: auto;
440
+ }
441
+
442
+ .form-tips a {
443
+ text-decoration: underline;
444
+ }
445
+
446
+ .form-warning {
447
+ margin-top: 50px;
448
+ color: #721c24;
449
+ background: #f8d7da;
450
+ padding: 8px;
451
+ border-radius: 2px;
452
+ border-left: 6px solid !important;
453
+ border: 1px solid #f5c6cb;
454
+ max-width: 450px;
455
+ }
456
+
457
+ .node-text-editor {
458
+ position: relative;
459
+
460
+ .node-text-editor-help {
461
+ position: absolute;
462
+ bottom: 9px;
463
+ right: 1px;
464
+ border-bottom-right-radius: 5px;
465
+ z-index: 8;
466
+ border-bottom: none;
467
+ border-right: none;
468
+ }
469
+ }
470
+
471
+ .node-text-editor-container {
472
+ border: 1px solid #ccc;
473
+ border-radius: 5px;
474
+ overflow: hidden;
475
+ font-size: 14px !important;
476
+ font-family: Menlo, Consolas, "DejaVu Sans Mono", Courier, monospace !important;
477
+ height: 100%;
478
+ margin: 10px;
479
+
480
+ &.node-text-editor-container-toolbar {
481
+ height: calc(100% - 40px);
482
+ }
483
+ }
484
+
485
+ .editor-button {
486
+ @include workspace-button;
487
+ height: 34px;
488
+ line-height: 32px;
489
+ font-size: 13px;
490
+ border-radius: 2px;
491
+ padding: 0 10px;
492
+ white-space: nowrap;
493
+ text-overflow: ellipsis;
494
+
495
+ &.toggle {
496
+ @include workspace-button-toggle;
497
+ }
498
+ }
499
+
500
+ .editor-button-small {
501
+ height: 20px;
502
+ min-width: 20px;
503
+ line-height: 18px;
504
+ font-size: 12px;
505
+ border-radius: 2px;
506
+ padding: 0 5px;
507
+ }
508
+
509
+ #node-config-dialog-scope-container {
510
+ cursor: auto;
511
+ float: right;
512
+ font-size: 12px !important;
513
+ line-height: 35px;
514
+ }
515
+
516
+ #node-config-dialog-scope-warning {
517
+ display: inline-block;
518
+ margin-right: 5px;
519
+ color: #ad1625;
520
+ vertical-align: middle;
521
+ }
522
+
523
+ #node-config-dialog-scope {
524
+ margin: 1px 0 0 0;
525
+ padding: 0;
526
+ height: 22px;
527
+ width: 200px;
528
+ }
529
+
530
+ #node-config-dialog-user-count {
531
+ vertical-align: middle;
532
+ display: inline-block;
533
+ margin-right: 20px;
534
+ float: left;
535
+ font-size: 12px;
536
+ line-height: 35px;
537
+ }
538
+
539
+ .node-input-expression-editor #dialog-form {
540
+ margin: 0;
541
+ height: 100%;
542
+
543
+ .red-ui-panel {
544
+ &:first-child {
545
+ padding: 20px 20px 0;
546
+ }
547
+
548
+ &:last-child {
549
+ padding-bottom: 20px;
550
+ }
551
+ }
552
+ }
553
+
554
+ .node-input-expression-tab-content {
555
+ position: relative;
556
+ padding: 0 20px;
557
+ }
558
+
559
+ #node-input-expression-help {
560
+ position: absolute;
561
+ top: 35px;
562
+ left: 0;
563
+ right: 0;
564
+ bottom: 0;
565
+ padding: 0 20px;
566
+ overflow: auto;
567
+ box-sizing: border-box;
568
+ }
569
+
570
+ #node-input-expression-panel-info {
571
+ & > .form-row {
572
+ margin: 0;
573
+
574
+ & > div:first-child {
575
+ margin-top: 10px;
576
+ }
577
+ }
578
+ }
579
+
580
+ .node-input-expression-legacy,
581
+ .node-input-buffer-type {
582
+ font-size: 0.8em;
583
+ float: left;
584
+ cursor: pointer;
585
+ border: 1px solid white;
586
+ padding: 2px 5px;
587
+ border-radius: 2px;
588
+
589
+ &:hover {
590
+ border-color: $form-input-border-color;
591
+ }
592
+ }
593
+
594
+ .node-input-buffer-type {
595
+ float: none;
596
+ text-align: right;
597
+ }
598
+
599
+ .node-input-markdown-editor #dialog-form {
600
+ margin: 0;
601
+ height: 100%;
602
+
603
+ .red-ui-panel {
604
+ padding: 20px 20px 10px;
605
+
606
+ &:last-child {
607
+ padding-top: 60px;
608
+ background: #f9f9f9;
609
+ }
610
+ }
611
+ }
612
+
613
+ .node-input-markdown-panel-preview {
614
+ padding: 10px;
615
+ border: 1px solid #ccc;
616
+ border-radius: 5px;
617
+ height: calc(100% - 21px);
618
+ overflow-y: scroll;
619
+ background: #fff;
620
+ }
621
+
622
+ #clipboard-hidden {
623
+ display: none;
624
+ position: absolute;
625
+ top: -3000px;
626
+ }
627
+
628
+ .node-label-form-row {
629
+ margin: 5px 0 0 50px;
630
+
631
+ label {
632
+ margin-right: 20px;
633
+ text-align: right;
634
+ width: 30px;
635
+ }
636
+
637
+ button {
638
+ margin-left: 10px;
639
+ }
640
+
641
+ input {
642
+ width: calc(100% - 100px);
643
+ }
644
+
645
+ #node-settings-icon-module {
646
+ width: calc(55% - 50px);
647
+ }
648
+
649
+ #node-settings-icon-file {
650
+ width: calc(45% - 55px);
651
+ margin-left: 5px;
652
+ }
653
+ }
654
+
655
+ .node-label-form-none {
656
+ span {
657
+ padding-left: 50px;
658
+ width: 100px;
659
+ color: #999;
660
+ }
661
+ }
662
+
663
+ .ace_read-only {
664
+ background: #eee !important;
665
+
666
+ .ace_cursor {
667
+ color: transparent !important;
668
+ }
669
+ }
670
+
671
+ #node-settings-icon-button {
672
+ position: relative;
673
+ padding-left: 30px;
674
+ width: calc(100% - 150px);
675
+
676
+ .red-ui-search-result-node {
677
+ position: absolute;
678
+ top: 2px;
679
+ left: 2px;
680
+ }
681
+ }
682
+
683
+ #node-settings-icon {
684
+ margin-left: 10px;
685
+ width: calc(100% - 163px);
686
+ }
687
+
688
+ .red-ui-icon-picker {
689
+ position: absolute;
690
+ border: 1px solid $primary-border-color;
691
+ box-shadow: 0 1px 6px -3px black;
692
+ background: white;
693
+ z-index: 21;
694
+ display: none;
695
+
696
+ select {
697
+ box-sizing: border-box;
698
+ margin: 3px;
699
+ width: calc(100% - 6px);
700
+ }
701
+ }
702
+
703
+ .red-ui-icon-list {
704
+ width: 308px;
705
+ height: 200px;
706
+ overflow-y: scroll;
707
+ line-height: 0px;
708
+ }
709
+
710
+ .red-ui-icon-list-icon {
711
+ display: inline-block;
712
+ margin: 2px;
713
+ padding: 4px;
714
+ cursor: pointer;
715
+ border-radius: 4px;
716
+
717
+ &:hover {
718
+ background: lighten($node-selected-color, 20%);
719
+ }
720
+
721
+ &.selected {
722
+ background: lighten($node-selected-color, 20%);
723
+
724
+ .red-ui-search-result-node {
725
+ border-color: white;
726
+ }
727
+ }
728
+
729
+ .palette_icon_fa {
730
+ top: 6px;
731
+ left: 3px;
732
+ }
733
+ }
734
+
735
+ .red-ui-icon-list-module {
736
+ background: $palette-header-background;
737
+ font-size: 0.9em;
738
+ padding: 3px;
739
+ color: #666;
740
+ clear: both;
741
+
742
+ i {
743
+ margin-right: 5px;
744
+ }
745
+ }
746
+
747
+ .red-ui-icon-meta {
748
+ border-top: 1px solid $secondary-border-color;
749
+
750
+ span {
751
+ padding: 4px;
752
+ color: #666;
753
+ font-size: 0.9em;
754
+ }
755
+
756
+ button {
757
+ float: right;
758
+ margin: 2px;
759
+ }
760
+ }