sunrize 1.10.0 → 1.10.3

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,1474 +0,0 @@
1
- @charset "utf-8";
2
- @import url(https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100;0,400;0,700;1,100;1,400;1,700&display=swap);
3
- @import url(../../node_modules/material-icons/iconfont/material-icons.css);
4
- @import url(../../node_modules/material-symbols/index.css);
5
- @import url(../../node_modules/spectrum-colorpicker2/dist/spectrum.css);
6
- @import url(system-colors.css);
7
-
8
- html {
9
- overflow: hidden;
10
- height: 100%;
11
- }
12
-
13
- body {
14
- overflow: hidden;
15
- height: 100%;
16
- margin: 0;
17
- background-color: var(--background-color);
18
- color: var(--text-color);
19
- font-family: var(--sans-serif);
20
- font-size: var(--font-size);
21
- }
22
-
23
- .material-symbols-outlined {
24
- font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
25
- }
26
-
27
- *:focus {
28
- outline: none;
29
- }
30
-
31
- ::placeholder {
32
- color: var(--system-gray2);
33
- }
34
-
35
- ::selection {
36
- color: var(--selection-color);
37
- background: var(--selection-background-color);
38
- }
39
-
40
- ::-webkit-scrollbar {
41
- width: 14px;
42
- height: 14px;
43
- }
44
-
45
- ::-webkit-scrollbar-track, /* Track */
46
- ::-webkit-scrollbar-thumb:window-inactive, /* Handle */
47
- ::-webkit-scrollbar-corner { /* Corner */
48
- background-color: transparent;
49
- }
50
-
51
- /* Handle */
52
- :hover::-webkit-scrollbar-thumb {
53
- background-color: var(--scrollbar-thumb-color);
54
- }
55
-
56
- /* https://developer.chrome.com/docs/css-ui/scrollbar-styling?hl=de */
57
- :hover {
58
- --fix: ; /* This custom property invalidates styles on hover, thereby enforcing a style recomputation. This is needed to work around a bug in Safari. */
59
- }
60
-
61
- /* textarea resizer */
62
- ::-webkit-resizer {
63
- background-color: var(--scrollbar-thumb-color);
64
- }
65
-
66
- /* common */
67
-
68
- .green {
69
- color: var(--system-green);
70
- }
71
-
72
- .red {
73
- color: var(--system-red);
74
- }
75
-
76
- .yellow {
77
- color: var(--system-yellow);
78
- }
79
-
80
- .modal {
81
- pointer-events: none;
82
- }
83
-
84
- textarea, input, button, select,
85
- th, td,
86
- .ui-widget, .ui-widget:has(input, select, textarea, button), .ui-widget-content {
87
- border: none;
88
- padding: 0;
89
- background: none;
90
- font-family: var(--sans-serif);
91
- font-size: var(--font-size);
92
- color: var(--text-color);
93
- }
94
-
95
- .ui-widget label {
96
- position: relative;
97
- top: -2px;
98
- margin-left: 0.5em;
99
- }
100
-
101
- table {
102
- width: 100%;
103
- }
104
-
105
- th,
106
- td {
107
- padding: 4px 8px;
108
- }
109
-
110
- tbody th {
111
- text-align: right;
112
- white-space: nowrap;
113
- min-width: 100px;
114
- width: auto;
115
- }
116
-
117
- tbody td {
118
- width: 100%;
119
- }
120
-
121
- tbody th th {
122
- min-width: unset;
123
- width: unset;
124
- }
125
-
126
- tbody td td {
127
- width: unset;
128
- }
129
-
130
- thead tr {
131
- background: var(--tint-color2);
132
- }
133
-
134
- tbody tr:nth-child(odd) {
135
- background: var(--tint-color1);
136
- }
137
-
138
- tbody tr:hover {
139
- background: var(--tint-color2);
140
- }
141
-
142
- td > input:not([type]),
143
- td > input[type="text"],
144
- td > input[type="number"] {
145
- width: 100%;
146
- border: 1px solid var(--tint-color1);
147
- }
148
-
149
- td > textarea {
150
- resize: vertical;
151
- width: 100%;
152
- height: 8em;
153
- border: 1px solid var(--tint-color1) !important;
154
- }
155
-
156
- td > select {
157
- border: 1px solid var(--tint-color1) !important;
158
- }
159
-
160
- td > div {
161
- border: 1px solid var(--tint-color1) !important;
162
- }
163
-
164
- .sticky-headers thead {
165
- position: sticky;
166
- top: 2px;
167
- }
168
-
169
- tr.disabled ~ tr input,
170
- tr.disabled ~ tr textarea,
171
- tr.disabled ~ tr select,
172
- tr.disabled ~ tr button {
173
- pointer-events: none;
174
- }
175
-
176
- tr.disabled ~ tr > td > input,
177
- tr.disabled ~ tr > td > textarea,
178
- tr.disabled ~ tr > td > select,
179
- tr.disabled ~ tr > td > button,
180
- tr.disabled ~ tr > td > div {
181
- background: var(--background-disabled);
182
- }
183
-
184
- /* Highlight animation */
185
-
186
- .highlight {
187
- animation: highlight 1000ms ease-out;
188
- }
189
-
190
- @keyframes highlight {
191
- 0% {
192
- background-color: var(--system-red);
193
- }
194
- }
195
-
196
- /* Vertical splitter */
197
-
198
- .vertical-splitter {
199
- position: absolute;
200
- box-sizing: border-box;
201
- inset: 0;
202
- }
203
-
204
- .vertical-splitter-left,
205
- .vertical-splitter-right {
206
- background-color: var(--background-color);
207
- position: absolute;
208
- box-sizing: border-box;
209
- top: 0;
210
- height: 100%;
211
- }
212
-
213
- .vertical-splitter-left {
214
- left: 0;
215
- width: 65%;
216
- }
217
-
218
- .vertical-splitter-right {
219
- right: 0;
220
- width: 35%;
221
- }
222
-
223
- .vertical-splitter-left > .ui-resizable-e {
224
- cursor: col-resize;
225
- }
226
-
227
- .vertical-splitter-left > .ui-resizable-e > div {
228
- position: relative;
229
- left: 0px;
230
- width: 4px;
231
- height: 100%;
232
- }
233
-
234
- .vertical-splitter-left > .ui-resizable-e:hover > div {
235
- animation: highlight-splitter 1000ms ease-out;
236
- animation-fill-mode: forwards;
237
- }
238
-
239
- .vertical-splitter-left > .ui-resizable-e:active > div {
240
- background-color: var(--accent-color);
241
- }
242
-
243
- @keyframes highlight-splitter {
244
- 100% {
245
- background-color: var(--accent-color);
246
- }
247
- }
248
-
249
- #vertical-splitter > .vertical-splitter-left {
250
- width: 65%;
251
- }
252
-
253
- #vertical-splitter > .vertical-splitter-right {
254
- width: 35%;
255
- }
256
-
257
- /* Horizontal splitter */
258
-
259
- .horizontal-splitter {
260
- position: absolute;
261
- box-sizing: border-box;
262
- width: 100%;
263
- height: 100%;
264
- }
265
-
266
- .horizontal-splitter-top,
267
- .horizontal-splitter-bottom {
268
- background-color: var(--background-color);
269
- position: absolute;
270
- box-sizing: border-box;
271
- left: 0;
272
- width: 100%;
273
- }
274
-
275
- .horizontal-splitter-top {
276
- top: 0;
277
- height: 60%;
278
- }
279
-
280
- .horizontal-splitter-bottom {
281
- bottom: 0;
282
- height: 40%;
283
- }
284
-
285
- .horizontal-splitter-top > .ui-resizable-s {
286
- cursor: row-resize;
287
- }
288
-
289
- .horizontal-splitter-top > .ui-resizable-s > div {
290
- position: relative;
291
- top: 1px;
292
- height: 4px;
293
- }
294
-
295
- .horizontal-splitter-top > .ui-resizable-s:hover > div {
296
- animation: highlight-splitter 1000ms ease-out;
297
- animation-fill-mode: forwards;
298
- }
299
-
300
- .horizontal-splitter-top > .ui-resizable-s:active > div {
301
- background-color: var(--accent-color);
302
- }
303
-
304
- #horizontal-splitter > .horizontal-splitter-top {
305
- height: 60%;
306
- }
307
-
308
- #horizontal-splitter > .horizontal-splitter-bottom {
309
- height: 40%;
310
- }
311
-
312
- /* Tabs */
313
-
314
- .ui-tabs {
315
- position: absolute;
316
- inset: 0;
317
- border: 0;
318
- padding: 0;
319
- background: inherit;
320
- }
321
-
322
- .ui-tabs.ui-widget.ui-widget-content {
323
- border: none;
324
- }
325
-
326
- .ui-tabs > .ui-tabs-nav {
327
- display: flex;
328
- justify-content: center;
329
- box-sizing: border-box;
330
- border: 0;
331
- border-radius: 0;
332
- padding: 0;
333
- height: var(--tabs-height);
334
- width: 100%;
335
- background: inherit;
336
- z-index: 2000;
337
- }
338
-
339
- .ui-tabs.top > .ui-tabs-nav {
340
- border-bottom: var(--tool-border);
341
- }
342
-
343
- .ui-tabs.bottom > .ui-tabs-nav {
344
- position: absolute;
345
- bottom: 0;
346
- border-top: var(--tool-border);
347
- }
348
-
349
- .ui-tabs > .ui-tabs-nav li,
350
- .ui-tabs > .ui-tabs-nav .ui-tabs-active,
351
- .ui-tabs > .ui-tabs-nav .ui-tabs-anchor {
352
- margin: 0;
353
- border: 0;
354
- padding: 0;
355
- border-radius: 0;
356
- background: none;
357
- color: var(--text-color);
358
- user-select: none;
359
- font-size: var(--small-font-size);
360
- }
361
-
362
- .ui-tabs > .ui-tabs-nav li,
363
- .ui-tabs > .ui-tabs-nav .ui-tabs-active {
364
- -box-sizing: border-box;
365
- height: 100%;
366
- padding: 7px 10px 0 10px;
367
- }
368
-
369
- .ui-tabs > .ui-tabs-nav li:hover {
370
- color: var(--highlight-color);
371
- }
372
-
373
- .ui-tabs > .ui-tabs-nav li.ui-tabs-active {
374
- color: var(--accent-color);
375
- }
376
-
377
- .ui-tabs > .ui-tabs-nav .ui-tabs-anchor,
378
- .ui-tabs > .ui-tabs-nav .ui-tabs-active .ui-tabs-anchor {
379
- cursor: pointer;
380
- color: inherit;
381
- }
382
-
383
- .ui-tabs > .ui-tabs-nav .material-icons {
384
- position: relative;
385
- top: -3px;
386
- margin: 0;
387
- padding: 0;
388
- font-size: var(--medium-icon-size);
389
- }
390
-
391
- .ui-tabs > .ui-tabs-panel {
392
- box-sizing: border-box;
393
- position: relative;
394
- padding: unset;
395
- width: 100%;
396
- height: calc(100% - var(--tabs-height));
397
- color: var(--text-color);
398
- }
399
-
400
- .ui-tabs > .ui-tabs-panel.ui-corner-bottom {
401
- border-radius: 0;
402
- }
403
-
404
- .tabs-panel {
405
- position: absolute;
406
- inset: 0;
407
- }
408
-
409
- /* qtip2 */
410
-
411
- #qtip-overlay div {
412
- background: none;
413
- }
414
-
415
- .qtip {
416
- max-width: unset;
417
- }
418
-
419
- .qtip-tipsy.qtip {
420
- border: var(--qtip-border);
421
- background: var(--qtip-background-color);
422
- box-shadow: var(--qtip-shadow);
423
- }
424
-
425
- .qtip-tipsy {
426
- color: var(--system-gray1);
427
- }
428
-
429
- body.light .qtip-tipsy {
430
- color: black;
431
- text-shadow: none;
432
- }
433
-
434
- .qtip-tipsy .qtip-tip {
435
- background: inherit !important;
436
- }
437
-
438
- .qtip-preview.qtip {
439
- border: var(--preview-border);
440
- background: var(--preview-background-color);
441
- backdrop-filter: none;
442
- }
443
-
444
- .qtip-audio.qtip {
445
- background: rgb(241, 243, 244);
446
- }
447
-
448
- .qtip-tipsy .qtip-content {
449
- padding: 8px;
450
- }
451
-
452
- .qtip input,
453
- .qtip select,
454
- .qtip button {
455
- display: block;
456
- width: 100%;
457
- background: var(--background-color);
458
- border: 1px solid var(--system-gray7);
459
- filter: opacity(80%);
460
- }
461
-
462
- .qtip .qtip-content > div > * {
463
- margin: 0.3em 0em;
464
- }
465
-
466
- .qtip .qtip-content > div:first-child {
467
- margin-top: 0em;
468
- }
469
-
470
- .qtip .qtip-content > div:last-child {
471
- margin-bottom: 0em;
472
- }
473
-
474
- .qtip select:hover,
475
- .qtip button:hover {
476
- background-color: var(--system-gray4);
477
- color: var(--system-gray0);
478
- }
479
-
480
- .qtip-wide {
481
- width: 300px;
482
- }
483
-
484
- /* Toolbar */
485
-
486
- .toolbar {
487
- position: absolute;
488
- box-sizing: border-box;
489
- }
490
-
491
- .vertical-toolbar {
492
- right: 0;
493
- height: 100%;
494
- width: var(--toolbar-width);
495
- }
496
-
497
- .vertical-toolbar .material-icons,
498
- .vertical-toolbar .material-symbols-outlined {
499
- display: block;
500
- margin: 10px auto;
501
- width: var(--icon-size);
502
- cursor: pointer;
503
- font-size: var(--icon-size);
504
- user-select: none;
505
- }
506
-
507
- .vertical-toolbar .material-symbols-outlined {
508
- font-size: calc(var(--icon-size) + 7px);
509
- position: relative;
510
- left: -3px;
511
- }
512
-
513
- .small .material-symbols-outlined {
514
- font-size: calc(var(--icon-size) + 3px);
515
- left: -1px;
516
- }
517
-
518
- .vertical-toolbar .separator {
519
- display: block;
520
- margin: 10px auto;
521
- height: 0;
522
- width: var(--icon-size);
523
- border-bottom: 1px solid var(--separator-color);
524
- user-select: none;
525
- }
526
-
527
- .vertical-toolbar .material-icons:hover,
528
- .vertical-toolbar .material-symbols-outlined:hover {
529
- color: var(--highlight-color);
530
- }
531
-
532
- .vertical-toolbar .material-icons.active,
533
- .vertical-toolbar .material-symbols-outlined.active {
534
- color: var(--accent-color);
535
- }
536
-
537
- .vertical-toolbar .material-icons.disabled,
538
- .vertical-toolbar .material-symbols-outlined.disabled {
539
- pointer-events: none;
540
- color: var(--system-gray3);
541
- }
542
-
543
- .large-toolbar .material-icons {
544
- margin: 5px auto;
545
- width: var(--large-icon-size);
546
- font-size: var(--large-icon-size);
547
- }
548
-
549
- .large-toolbar .image-icon {
550
- background: no-repeat;
551
- display: block;
552
- width: 24px;
553
- height: 24px;
554
- margin: 10px auto;
555
- cursor: pointer;
556
- user-select: none;
557
- filter: var(--filter-text-color);
558
- }
559
-
560
- .large-toolbar .image-icon:hover {
561
- filter: var(--filter-highlight-color);
562
- }
563
-
564
- .large-toolbar .image-icon.active {
565
- filter: var(--filter-accent-color);
566
- }
567
-
568
- .image-icon.hand {
569
- background-image: url(../images/icons/hand.svg);
570
- }
571
-
572
- .image-icon.arrow {
573
- background-image: url(../images/icons/arrow.svg);
574
- }
575
-
576
- .image-icon.straighten {
577
- background-image: url(../images/icons/straighten.svg);
578
- }
579
-
580
- /* Browser */
581
-
582
- #browser-pane {
583
- box-sizing: border-box;
584
- position: relative;
585
- width: 100%;
586
- height: 100%;
587
- }
588
-
589
- #browser-frame {
590
- box-sizing: border-box;
591
- position: absolute;
592
- top: 0;
593
- left: 0;
594
- width: calc(100% - var(--toolbar-width));
595
- height: 100%;
596
- border-top: 1px solid var(--border-color);
597
- border-right: 1px solid var(--border-color);
598
- border-bottom: 1px solid var(--border-color);
599
- }
600
-
601
- #browser {
602
- box-sizing: border-box;
603
- position: absolute;
604
- width: 100%;
605
- height: 100%;
606
- left: 50%;
607
- top: 50%;
608
- transform: translate(-50%,-50%);
609
- background-color: var(--system-gray7);
610
- }
611
-
612
- /* Dialog */
613
-
614
- .dialog ::placeholder {
615
- color: var(--system-gray1);
616
- }
617
-
618
- body.dark .dialog ::placeholder {
619
- color: var(--system-gray2);
620
- }
621
-
622
- .dialog .tabs-panel {
623
- margin: 0.5em 1em;
624
- }
625
-
626
- .dialog.ui-dialog {
627
- z-index: 3000 !important;
628
- }
629
-
630
- .dialog.ui-dialog.ui-widget.ui-widget-content {
631
- cursor: move;
632
- backdrop-filter: var(--tool-backdrop-filter);
633
- background-color: var(--tool-background-color);
634
- border-radius: var(--tool-border-radius);
635
- border: var(--tool-border);
636
- box-shadow: var(--tool-shadow);
637
- }
638
-
639
- /* Scene Properties */
640
-
641
- .scene-properties .tabs-panel {
642
- overflow-y: auto;
643
- }
644
-
645
- /* Library */
646
-
647
- .ui-widget .library-input {
648
- box-sizing: border-box;
649
- display: block;
650
- background: none;
651
- border: none;
652
- width: 100%;
653
- font-family: var(--sans-serif);
654
- font-weight: lighter;
655
- font-size: var(--large-font-size);
656
- padding-bottom: 10px;
657
- }
658
-
659
- .ui-widget .library-buttons {
660
- border-top: var(--tool-border);
661
- border-bottom: var(--tool-border);
662
- padding: 5px 0;
663
- text-align: center;
664
- }
665
-
666
- .ui-widget .library-button {
667
- cursor: pointer;
668
- margin-right: 1em;
669
- }
670
-
671
- .ui-widget .library-button:hover {
672
- color: var(--highlight-color);
673
- }
674
-
675
- .ui-widget .library-button.active {
676
- color: var(--accent-color);
677
- }
678
-
679
- .ui-widget .library-output {
680
- user-select: none;
681
- position: absolute;
682
- overflow: scroll;
683
- margin: 1rem 1rem 0.5rem 1rem;
684
- inset: 75px 0 0 0;
685
- }
686
-
687
- .ui-widget .library-list {
688
- margin: 0;
689
- padding: 0;
690
- list-style-type: none;
691
- }
692
-
693
- .ui-widget .library-list .component {
694
- margin: 1em 0;
695
- font-size: var(--small-font-size);
696
- border-bottom: 1px solid var(--system-gray1);
697
- color: var(--system-gray1);
698
- }
699
-
700
- body.dark .ui-widget .library-list .component {
701
- border-bottom: 1px solid var(--system-gray2);
702
- color: var(--system-gray2);
703
- }
704
-
705
- .ui-widget .library-list .node {
706
- cursor: pointer;
707
- padding: 0.4em 0;
708
- }
709
-
710
- .ui-widget .library-list li:first-child {
711
- margin-top: 0;
712
- }
713
-
714
- .ui-widget .library-list .node:hover {
715
- background-color: rgba(0, 0, 0, 0.2)
716
- }
717
-
718
- .ui-widget .library-list .icon {
719
- padding-left: calc(27px + 0.5em);
720
- background: no-repeat;
721
- }
722
-
723
- .ui-widget .library-list .hidden {
724
- display: none;
725
- }
726
-
727
- /* Node List */
728
-
729
- .node-list {
730
- overflow: auto;
731
- position: absolute;
732
- inset: 0 0 0 0;
733
- padding: 0;
734
- }
735
-
736
- .node-list > ul {
737
- margin: 0;
738
- padding: 0;
739
- list-style-type: none;
740
- }
741
-
742
- .node-list > ul > li {
743
- cursor: pointer;
744
- user-select: none;
745
- margin: 0;
746
- padding: 3px 10px;
747
- white-space: nowrap;
748
- }
749
-
750
- .node-list > ul > li:nth-child(odd) {
751
- background-color: var(--tint-color1);
752
- }
753
-
754
- .node-list > ul > li:hover {
755
- background-color: var(--tint-color2);
756
- }
757
-
758
- .node-list .icon {
759
- position: relative;
760
- margin-right: 2px;
761
- top: 2px;
762
- }
763
-
764
- /* Footer */
765
-
766
- #footer {
767
- position: absolute;
768
- box-sizing: border-box;
769
- width: 100%;
770
- height: 100%;
771
- }
772
-
773
- /* Console */
774
-
775
- .console {
776
- --min-input-height: 20px;
777
- --max-input-height: calc(var(--min-input-height) * 4);
778
- }
779
-
780
- .console {
781
- box-sizing: border-box;
782
- }
783
-
784
- .console-left {
785
- position: absolute;
786
- box-sizing: border-box;
787
- left: 0;
788
- right: var(--toolbar-width);
789
- height: 100%;
790
- }
791
-
792
- .console-output {
793
- position: absolute;
794
- box-sizing: border-box;
795
- overflow-y: scroll;
796
- top: 0;
797
- border-right: 1px solid var(--border-color);
798
- border-bottom: 1px solid var(--border-color);
799
- padding: 5px;
800
- width: 100%;
801
- height: calc(100% - var(--min-input-height));
802
- background: var(--system-gray7);
803
- font-family: var(--monospace);
804
- font-size: 8pt;
805
- white-space: pre-wrap;
806
- overflow-wrap: break-word;
807
- }
808
-
809
- .console-output p {
810
- margin: 0;
811
- }
812
-
813
- .console-output p.splitter {
814
- margin-top: 5px;
815
- border-top: 1px solid var(--system-gray3);
816
- margin-bottom: 5px;
817
- }
818
-
819
- .console-output p.debug {
820
- color: inherit;
821
- }
822
-
823
- .console-output p.log {
824
- color: var(--system-blue);
825
- }
826
-
827
- .console-output p.info {
828
- color: var(--system-blue);
829
- }
830
-
831
- .console-output p.warn {
832
- color: var(--system-yellow);
833
- }
834
-
835
- .console-output p.error {
836
- color: var(--system-red);
837
- }
838
-
839
- .console-output p.filled {
840
- position: relative;
841
- z-index: 0;
842
- margin-top: 5px;
843
- margin-bottom: 5px;
844
- color: black;
845
- }
846
-
847
- .console-output p.filled:before {
848
- content: "";
849
- position: absolute;
850
- display: block;
851
- z-index: -1;
852
- width: 100%;
853
- height: 100%;
854
- filter: brightness(2) opacity(60%);
855
- }
856
-
857
- .console-output p.warn.filled {
858
- border-top: 1px solid var(--system-yellow);
859
- border-bottom: 1px solid var(--system-yellow);
860
- }
861
-
862
- .console-output p.warn.filled:before {
863
- background-color: var(--system-yellow);
864
- }
865
-
866
- .console-output p.error.filled {
867
- border-top: 1px solid var(--system-red);
868
- border-bottom: 1px solid var(--system-red);
869
- }
870
-
871
- .console-output p.error.filled:before {
872
- background-color: var(--system-red);
873
- }
874
-
875
- .console-input {
876
- position: absolute;
877
- box-sizing: border-box;
878
- bottom: 0;
879
- width: 100%;
880
- min-height: var(--min-input-height);
881
- max-height: var(--max-input-height);
882
- }
883
-
884
- /* textarea cannot have a ::before */
885
- .console-input::before {
886
- display: block;
887
- position: absolute;
888
- box-sizing: border-box;
889
- left: 5px;
890
- top: 3px;
891
- content: "❯";
892
- color: var(--accent-color);
893
- }
894
-
895
- .console-input > textarea {
896
- display: block;
897
- position: absolute;
898
- box-sizing: border-box;
899
- outline: 0;
900
- border: 0;
901
- padding-top: 3px;
902
- padding-left: 17px;
903
- width: 100%;
904
- height: 100%;
905
- background-color: transparent;
906
- color: var(--text-color);
907
- resize: none;
908
- }
909
-
910
- /* Script Editor */
911
-
912
- .script-editor {
913
- --input-height: 20px;
914
-
915
- box-sizing: border-box;
916
- }
917
-
918
- .script-editor .script-editor-left {
919
- position: absolute;
920
- box-sizing: border-box;
921
- left: 0;
922
- right: var(--toolbar-width);
923
- width: unset;
924
- height: 100%;
925
- }
926
-
927
- .script-editor .vertical-splitter-right {
928
- border-left: 1px solid var(--border-color);
929
- border-right: 1px solid var(--border-color);
930
- }
931
-
932
- .script-editor .horizontal-splitter-top {
933
- border-bottom: 1px solid var(--border-color);
934
- }
935
-
936
- .script-editor .node-list {
937
- user-select: none;
938
- bottom: var(--input-height);
939
- border-bottom: 1px solid var(--border-color);
940
- color: var(--system-blue);
941
- }
942
-
943
- .script-editor .type-name {
944
- font-weight: bold;
945
- }
946
-
947
- .script-editor .node-name {
948
- position: absolute;
949
- bottom: 0px;
950
- width: 100%;
951
- height: var(--input-height);
952
- border: none;
953
- background: none;
954
- }
955
-
956
- .script-editor .script-editor-monaco {
957
- position: absolute;
958
- inset: 0;
959
- }
960
-
961
- /* Animation Editor */
962
-
963
- .animation-editor {
964
- box-sizing: border-box;
965
- }
966
-
967
- /* Sidebar */
968
-
969
- .sidebar.ui-widget.ui-widget-content {
970
- position: absolute;
971
- box-sizing: border-box;
972
- width: 100%;
973
- height: 100%;
974
- border-top: 1px solid var(--border-color);
975
- border-left: 1px solid var(--border-color);
976
- background: var(--sidebar-background-color);
977
- }
978
-
979
- .sidebar.ui-tabs .ui-tabs-nav {
980
- left: -1px;
981
- width: calc(100% + 1px);
982
- border-left: 1px solid var(--border-color);
983
- }
984
-
985
- /* Tree View */
986
-
987
- .tree-view {
988
- overflow: scroll;
989
- box-sizing: border-box;
990
- padding: 10px;
991
- width: 100%;
992
- height: 100%;
993
- }
994
-
995
- .tree-view:focus {
996
- outline: none;
997
- }
998
-
999
- .tree-view .subtree {
1000
- display: inline-block;
1001
- min-width: 100%;
1002
- outline: none;
1003
- }
1004
-
1005
- .tree-view ul {
1006
- margin: 0;
1007
- padding: 0;
1008
- list-style-type: none;
1009
- }
1010
-
1011
- .tree-view ul ul {
1012
- padding-left: 20px;
1013
- }
1014
-
1015
- .tree-view .item {
1016
- display: flex;
1017
- flex-direction: row;
1018
- white-space: nowrap;
1019
- }
1020
-
1021
- .tree-view .item > * {
1022
- position: relative;
1023
- top: 2px;
1024
- }
1025
-
1026
- .tree-view .jstree-ocl {
1027
- position: relative;
1028
- top: 0;
1029
- width: 22px;
1030
- cursor: pointer;
1031
- color: var(--expander-color);
1032
- }
1033
-
1034
- .tree-view .jstree-anchor {
1035
- display: flex;
1036
- flex-direction: row;
1037
- flex: 1 1 auto;
1038
- color: inherit;
1039
- }
1040
-
1041
- .tree-view .jstree-node.selected {
1042
- background-color: var(--tint-color1);
1043
- }
1044
-
1045
- .tree-view .jstree-node.manually.node {
1046
- outline: 1px dashed var(--system-blue);
1047
- }
1048
-
1049
- .tree-view .jstree-node.manually.externproto,
1050
- .tree-view .jstree-node.manually.proto {
1051
- outline: 1px dashed var(--system-indigo);
1052
- }
1053
-
1054
- .tree-view .jstree-node.primary.externproto,
1055
- .tree-view .jstree-node.primary.proto {
1056
- outline: 1px solid var(--system-indigo);
1057
- }
1058
-
1059
- .tree-view .jstree-node.primary.node {
1060
- outline: 1px solid var(--system-blue);
1061
- }
1062
-
1063
- .tree-view .jstree-node.primary.field {
1064
- outline: 1px solid var(--system-orange);
1065
- }
1066
-
1067
- .tree-view .no-select {
1068
- user-select: none;
1069
- }
1070
-
1071
- /* Outline Editor */
1072
-
1073
- .scene-graph {
1074
- width: min-content;
1075
- }
1076
-
1077
- .scene-graph .hidden {
1078
- display: none;
1079
- }
1080
-
1081
- .scene-graph .description .jstree-anchor {
1082
- padding: 2px 0;
1083
- font-size: smaller;
1084
- }
1085
-
1086
- .scene-graph .not-started-state {
1087
- color: var(--text-color);
1088
- }
1089
-
1090
- .scene-graph .in-progress-state {
1091
- color: var(--system-yellow);
1092
- }
1093
-
1094
- .scene-graph .complete-state {
1095
- color: var(--system-green);
1096
- }
1097
-
1098
- .scene-graph .failed-state {
1099
- color: var(--system-red);
1100
- }
1101
-
1102
- /* make drag & drop work */
1103
- .scene-graph .last {
1104
- height: 2px;
1105
- }
1106
-
1107
- .scene-graph .last .item *:not(.route-curves-wrapper, .route-curves) {
1108
- visibility: hidden;
1109
- }
1110
-
1111
- .scene-graph .no-expand .jstree-ocl {
1112
- visibility: hidden;
1113
- }
1114
-
1115
- .scene-graph .description .jstree-ocl {
1116
- display: none;
1117
- }
1118
-
1119
- .scene-graph .icon {
1120
- position: relative;
1121
- top: 4px;
1122
- margin-right: 5px;
1123
- width: 16px;
1124
- height: 12px;
1125
- }
1126
-
1127
- .scene-graph .item * {
1128
- vertical-align: top;
1129
- }
1130
-
1131
- .scene-graph .item .node-type-name,
1132
- .scene-graph .item .as {
1133
- font-weight: bold;
1134
- }
1135
-
1136
- .scene-graph .name {
1137
- position: relative;
1138
- top: 2px;
1139
- white-space: nowrap;
1140
- }
1141
-
1142
- .scene-graph .externproto > .item .name,
1143
- .scene-graph .proto > .item .name{
1144
- color: var(--system-indigo);
1145
- }
1146
-
1147
- .scene-graph .scene > .item .name {
1148
- font-weight: bold;;
1149
- font-style: italic;
1150
- color: var(--system-purple);
1151
- }
1152
-
1153
- .scene-graph .node > .item .name {
1154
- color: var(--system-blue);
1155
- }
1156
-
1157
- .scene-graph [node-id=NULL] > .item .name {
1158
- color: var(--system-teal);
1159
- }
1160
-
1161
- .scene-graph .imported-node > .item .name,
1162
- .scene-graph .exported-node > .item .name {
1163
- color: var(--system-brown);
1164
- }
1165
-
1166
- .scene-graph .exported-node > .item .boolean-button {
1167
- top: 2px
1168
- }
1169
-
1170
- .scene-graph .field > .item .name {
1171
- color: var(--system-orange);
1172
- }
1173
-
1174
- .scene-graph .field.user-defined > .item .name {
1175
- font-weight: bold;
1176
- }
1177
-
1178
- .scene-graph .field.references > .item .name {
1179
- font-weight: bold;
1180
- color: var(--system-brown);
1181
- }
1182
-
1183
- .scene-graph .special > .item .name {
1184
- font-style: italic;
1185
- font-weight: bold;
1186
- color: var(--system-purple);
1187
- }
1188
-
1189
- .scene-graph .boolean-button {
1190
- position: relative;
1191
- margin-left: 10px;
1192
- width: 28px;
1193
- height: 12px;
1194
- top: 4px;
1195
- }
1196
-
1197
- .scene-graph .color-button {
1198
- position: relative;
1199
- box-sizing: border-box;
1200
- margin-left: 10px;
1201
- top: 4px;
1202
- width: 12px;
1203
- height: 12px;
1204
- border: 1px solid var(--border-color);
1205
- border-radius: 50%;
1206
- background: var(--border-color);
1207
- }
1208
-
1209
- .scene-graph .time-button {
1210
- position: relative;
1211
- margin-left: 10px;
1212
- width: 12px;
1213
- height: 12px;
1214
- top: 4px;
1215
- }
1216
-
1217
- .scene-graph .url-button {
1218
- position: relative;
1219
- top: 4px;
1220
- margin-left: 10px;
1221
- font-variation-settings: 'GRAD' 200;
1222
- }
1223
-
1224
- .scene-graph .pointer {
1225
- cursor: pointer;
1226
- }
1227
-
1228
- .scene-graph .access-type {
1229
- flex: 1 1 auto;
1230
- overflow: hidden;
1231
- position: relative;
1232
- top: 4px;
1233
- margin-left: 10px;
1234
- min-width: 50px;
1235
- }
1236
-
1237
- .scene-graph .route .access-type {
1238
- top: 6px;
1239
- }
1240
-
1241
- .scene-graph .access-type img.active {
1242
- display: none;
1243
- position: absolute;
1244
- pointer-events: none;
1245
- }
1246
-
1247
- .scene-graph .access-type img.active.activated {
1248
- display: initial;
1249
- }
1250
-
1251
- .scene-graph .access-type.inputOnly img.active.input,
1252
- .scene-graph .access-type.outputOnly img.active.output,
1253
- .scene-graph .access-type.inputOutput img.active.input,
1254
- .scene-graph .access-type.input img.active.input,
1255
- .scene-graph .access-type.output img.active.output {
1256
- left: 0;
1257
- }
1258
-
1259
- .scene-graph .access-type.inputOutput img.active.output {
1260
- left: 14px;
1261
- }
1262
-
1263
- .externproto area.input-selector,
1264
- .externproto area.output-selector,
1265
- .scene.instance-scene area.input-selector,
1266
- .scene.instance-scene area.output-selector,
1267
- .scene.internal-scene area.input-selector,
1268
- .scene.internal-scene area.output-selector {
1269
- cursor: inherit;
1270
- }
1271
-
1272
- .scene-graph .field-routes,
1273
- .scene-graph .single-route {
1274
- position: absolute;
1275
- top: 0;
1276
- left: 0;
1277
- width: 100%;
1278
- height: 100%;
1279
- pointer-events: none;
1280
- }
1281
-
1282
- .scene-graph .route-curves-wrapper {
1283
- position: relative;
1284
- width: 40px;
1285
- }
1286
-
1287
- .scene-graph .route-curves {
1288
- position: absolute;
1289
- top: -2px;
1290
- width: 20px;
1291
- height: 25px;
1292
- }
1293
-
1294
- .scene-graph .field-value-container,
1295
- .scene-graph .special-value-container {
1296
- flex: 1 1 auto;
1297
- }
1298
-
1299
- .scene-graph .field-value input,
1300
- .scene-graph .field-value textarea,
1301
- .scene-graph .special-value textarea {
1302
- display: block;
1303
- box-sizing: border-box;
1304
- outline: none;
1305
- border: 0;
1306
- margin: 2px 0 2px 20px;
1307
- padding: 0;
1308
- min-width: 300px;
1309
- max-width: calc(100% - 20px);
1310
- width: calc(100% - 20px);
1311
- background: var(--tint-color1);
1312
- color: inherit;
1313
- font-family: var(--sans-serif);
1314
- font-size: inherit;
1315
- white-space: pre;
1316
- tab-size: 3;
1317
- }
1318
-
1319
- .scene-graph .field-value input {
1320
- margin-top: 2px;
1321
- margin-bottom: 2px;
1322
- }
1323
-
1324
- .scene-graph .field-value textarea,
1325
- .scene-graph .special-value textarea {
1326
- position: relative;
1327
- top: -4px;
1328
- overflow: scroll;
1329
- height: 140px;
1330
- white-space: pre;
1331
- resize: vertical;
1332
- }
1333
-
1334
- .scene-graph .field-value input[disabled],
1335
- .scene-graph .field-value textarea[disabled],
1336
- .scene-graph .special-value textarea[disabled] {
1337
- background: var(--background-disabled);
1338
- }
1339
-
1340
- .scene-graph .drag-before {
1341
- box-shadow: 0 -1px 0 var(--system-green);
1342
- }
1343
-
1344
- .scene-graph .primary.drag-before {
1345
- box-shadow: 0 -2px 0 var(--system-green);
1346
- }
1347
-
1348
- .scene-graph .drag-into > .item {
1349
- outline: 1px solid var(--system-green);
1350
- }
1351
-
1352
- .scene-graph.drag-after {
1353
- outline: 1px solid var(--system-green);
1354
- }
1355
-
1356
- .scene-graph .drag-after + * {
1357
- box-shadow: 0 -1px 0 var(--system-green);
1358
- }
1359
-
1360
- .scene-graph .drag-after:last-child {
1361
- box-shadow: 0 1px 0 var(--system-green);
1362
- }
1363
-
1364
- .scene-graph .drag-after + .primary {
1365
- box-shadow: 0 -2px 0 var(--system-green);
1366
- }
1367
-
1368
- .scene-graph .primary.drag-after:last-child {
1369
- box-shadow: 0 2px 0 var(--system-green);
1370
- }
1371
-
1372
- .scene-graph .button {
1373
- cursor: pointer;
1374
- font-size: var(--font-size);
1375
- position: relative;
1376
- top: 2.5px;
1377
- color: var(--system-blue);
1378
- }
1379
-
1380
- .scene-graph .button:hover {
1381
- color: var(--system-gray0);
1382
- }
1383
-
1384
- .scene-graph .button.on:hover {
1385
- color: var(--system-cyan);
1386
- }
1387
-
1388
- .scene-graph .button.off {
1389
- color: var(--system-gray1);
1390
- }
1391
-
1392
- .scene-graph .button.off:hover {
1393
- color: var(--system-gray0);
1394
- }
1395
-
1396
- .scene-graph .field-button {
1397
- top: 4px;
1398
- }
1399
-
1400
- /* Spectrum Color Picker */
1401
-
1402
- .sp-container {
1403
- backdrop-filter: var(--tool-backdrop-filter);
1404
- background-color: var(--tool-background-color);
1405
- border-radius: var(--tool-border-radius);
1406
- outline: var(--tool-border);
1407
- box-shadow: var(--tool-shadow);
1408
- }
1409
-
1410
- .sp-palette-container {
1411
- border: var(--tool-outline);
1412
- }
1413
-
1414
- .sp-slider,
1415
- .sp-alpha-handle {
1416
- backdrop-filter: var(--tool-backdrop-filter);
1417
- background-color: var(--tool-background-color);
1418
- border: var(--tool-border);
1419
- }
1420
-
1421
- .sp-slider {
1422
- left: -3px;
1423
- }
1424
-
1425
- .sp-dragger {
1426
- border-radius: 50%;
1427
- }
1428
-
1429
- /* Tweakpane */
1430
-
1431
- .tp-dfwv {
1432
- overflow: auto;
1433
- }
1434
-
1435
- .tp-lblv_v {
1436
- width: 185px !important;
1437
- }
1438
-
1439
- .tp-mllv_i:active {
1440
- background-color: var(--tp-monitor-background-color-active);
1441
- }
1442
-
1443
- .tp-mllv_i:hover {
1444
- background-color: var(--tp-monitor-background-color-hover);
1445
- }
1446
-
1447
- .tp-mllv_i:active {
1448
- background-color: var(--tp-monitor-background-color-focus);
1449
- }
1450
-
1451
- .tp-mllv_i:read-only {
1452
- background-color: var(--tp-monitor-background-color-readonly);
1453
- }
1454
-
1455
- .tp-colv_s,
1456
- .tp-colswv_b {
1457
- width: 100% !important;
1458
- }
1459
-
1460
- .tp-colv_t {
1461
- display: none;
1462
- }
1463
-
1464
- /* monaco editor */
1465
-
1466
- .monaco-editor,
1467
- .monaco-editor * {
1468
- all: revert;
1469
- }
1470
-
1471
- /* Fix stange tooltip with placehoder in Find widget */
1472
- .context-view.monaco-component {
1473
- display: none;
1474
- }