sunrize 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/src/Application/Application.js +28 -12
- package/src/Application/Dashboard.js +33 -0
- package/src/Application/Document.js +14 -12
- package/src/Application/Footer.js +8 -3
- package/src/Application/GetText.js +20 -2
- package/src/Application/Tabs.js +29 -23
- package/src/Application/TopBar.js +32 -0
- package/src/Controls/AudioPreviewPopover.js +2 -8
- package/src/Controls/Tabs.js +28 -2
- package/src/Controls/TexturePreviewPopover.js +5 -5
- package/src/Controls/VideoPreviewPopover.js +5 -8
- package/src/Controls/VolumeSliderPopover.js +41 -0
- package/src/Editors/AnimationEditor.js +11 -2
- package/src/Editors/BrowserFrame.js +4 -4
- package/src/Editors/Console.js +4 -1
- package/src/Editors/ScriptEditor.js +1 -1
- package/src/Parser/AudioParser.js +2 -2
- package/src/Parser/VideoParser.js +2 -3
- package/src/Tools/Core/X3DNodeTool.js +3 -3
- package/src/Tools/Grouping/X3DBoundedObjectTool.x3d +4 -2
- package/src/Tools/Grouping/X3DTransformNodeTool.x3d +4 -2
- package/src/Tools/Rendering/X3DGeometryNodeTool.x3d +7 -5
- package/src/Tools/Shaders/ToolShader.x3d +1 -8
- package/src/assets/html/application-template.html +8 -8
- package/src/assets/html/application.html +8 -8
- package/src/assets/html/window-template.html +2 -1
- package/src/assets/html/window.html +2 -1
- package/src/assets/locale/dictionary.json +43 -0
- package/src/assets/themes/default.css +300 -215
- package/src/assets/themes/system-colors.css +7 -2
|
@@ -25,7 +25,7 @@ body {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.material-symbols-outlined {
|
|
28
|
-
font-variation-settings:
|
|
28
|
+
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
:focus {
|
|
@@ -81,6 +81,10 @@ input[type=checkbox] {
|
|
|
81
81
|
accent-color: var(--system-green);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
input[type=range] {
|
|
85
|
+
accent-color: var(--accent-color);
|
|
86
|
+
}
|
|
87
|
+
|
|
84
88
|
/* common */
|
|
85
89
|
|
|
86
90
|
.green {
|
|
@@ -324,6 +328,180 @@ tr.disabled ~ tr > td > div {
|
|
|
324
328
|
background-color: var(--accent-color);
|
|
325
329
|
}
|
|
326
330
|
|
|
331
|
+
/* Toolbar */
|
|
332
|
+
|
|
333
|
+
.toolbar {
|
|
334
|
+
position: absolute;
|
|
335
|
+
box-sizing: border-box;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.horizontal-toolbar {
|
|
339
|
+
top: 0;
|
|
340
|
+
width: 100%;
|
|
341
|
+
height: var(--toolbar-width);
|
|
342
|
+
white-space: nowrap;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.vertical-toolbar {
|
|
346
|
+
right: 0;
|
|
347
|
+
height: 100%;
|
|
348
|
+
width: var(--toolbar-width);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.horizontal-toolbar .material-icons,
|
|
352
|
+
.horizontal-toolbar .material-symbols-outlined {
|
|
353
|
+
display: inline-block;
|
|
354
|
+
margin: auto 5px;
|
|
355
|
+
height: var(--icon-size);
|
|
356
|
+
cursor: pointer;
|
|
357
|
+
font-size: var(--icon-size);
|
|
358
|
+
user-select: none;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.vertical-toolbar .material-icons,
|
|
362
|
+
.vertical-toolbar .material-symbols-outlined {
|
|
363
|
+
display: block;
|
|
364
|
+
margin: 10px auto;
|
|
365
|
+
width: var(--icon-size);
|
|
366
|
+
cursor: pointer;
|
|
367
|
+
font-size: var(--icon-size);
|
|
368
|
+
user-select: none;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.horizontal-toolbar .material-symbols-outlined {
|
|
372
|
+
font-size: calc(var(--icon-size) + 7px);
|
|
373
|
+
position: relative;
|
|
374
|
+
top: 3px;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.vertical-toolbar .material-symbols-outlined {
|
|
378
|
+
font-size: calc(var(--icon-size) + 7px);
|
|
379
|
+
position: relative;
|
|
380
|
+
left: -3px;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.small .material-symbols-outlined {
|
|
384
|
+
font-size: calc(var(--icon-size) + 3px);
|
|
385
|
+
left: -1px;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.horizontal-toolbar .text {
|
|
389
|
+
display: inline-block;
|
|
390
|
+
position: relative;
|
|
391
|
+
top: -2px;
|
|
392
|
+
margin: auto 5px;
|
|
393
|
+
font-size: var(--font-size);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.horizontal-toolbar .input,
|
|
397
|
+
.horizontal-toolbar .select {
|
|
398
|
+
box-sizing: content-box;
|
|
399
|
+
display: inline-block;
|
|
400
|
+
position: relative;
|
|
401
|
+
top: -3px;
|
|
402
|
+
margin: auto 5px;
|
|
403
|
+
font-family: var(--sans-serif);
|
|
404
|
+
font-size: var(--font-size);
|
|
405
|
+
border: 1px solid var(--system-gray3);
|
|
406
|
+
border-radius: 9.5px;
|
|
407
|
+
padding: 0px 6px 0px 6px;
|
|
408
|
+
height: 16px;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
html[platform=win32] .horizontal-toolbar .input,
|
|
412
|
+
html[platform=win32] .horizontal-toolbar .select {
|
|
413
|
+
padding: 0px 6px 1px 6px;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
html[platform=darwin] .horizontal-toolbar .input,
|
|
417
|
+
html[platform=darwin] .horizontal-toolbar .select {
|
|
418
|
+
padding: 1px 6px 0 6px;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.horizontal-toolbar .select {
|
|
422
|
+
top: -2.5px;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.horizontal-toolbar .separator {
|
|
426
|
+
display: inline-block;
|
|
427
|
+
margin: auto 10px;
|
|
428
|
+
width: 0;
|
|
429
|
+
height: var(--icon-size);
|
|
430
|
+
border-right: 1px solid var(--separator-color);
|
|
431
|
+
user-select: none;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.vertical-toolbar .separator {
|
|
435
|
+
display: block;
|
|
436
|
+
margin: 10px auto;
|
|
437
|
+
height: 0;
|
|
438
|
+
width: var(--icon-size);
|
|
439
|
+
border-bottom: 1px solid var(--separator-color);
|
|
440
|
+
user-select: none;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.codicon:hover,
|
|
444
|
+
.material-icons:hover,
|
|
445
|
+
.material-symbols-outlined:hover {
|
|
446
|
+
color: var(--highlight-color);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.codicon.active,
|
|
450
|
+
.material-icons.active,
|
|
451
|
+
.material-symbols-outlined.active {
|
|
452
|
+
color: var(--accent-color);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.codicon.disabled,
|
|
456
|
+
.material-icons.disabled,
|
|
457
|
+
.material-symbols-outlined.disabled,
|
|
458
|
+
.horizontal-toolbar .text.disabled,
|
|
459
|
+
.horizontal-toolbar .input.disabled,
|
|
460
|
+
.horizontal-toolbar .select.disabled,
|
|
461
|
+
.vertical-toolbar .material-icons.disabled {
|
|
462
|
+
pointer-events: none;
|
|
463
|
+
color: var(--system-gray3);
|
|
464
|
+
border-color: var(--system-gray3);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.horizontal-toolbar .right {
|
|
468
|
+
position: absolute;
|
|
469
|
+
right: 0;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.large-toolbar .material-icons {
|
|
473
|
+
margin: 5px auto;
|
|
474
|
+
width: var(--large-icon-size);
|
|
475
|
+
font-size: var(--large-icon-size);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.large-toolbar .image-icon {
|
|
479
|
+
background-repeat: no-repeat;
|
|
480
|
+
display: block;
|
|
481
|
+
width: 24px;
|
|
482
|
+
height: 24px;
|
|
483
|
+
margin: 10px auto;
|
|
484
|
+
cursor: pointer;
|
|
485
|
+
user-select: none;
|
|
486
|
+
filter: var(--filter-text-color);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.large-toolbar .image-icon:hover {
|
|
490
|
+
filter: var(--filter-highlight-color);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.large-toolbar .image-icon.active {
|
|
494
|
+
filter: var(--filter-accent-color);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.image-icon.hand {
|
|
498
|
+
background-image: url(../images/icons/hand.svg);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.image-icon.arrow {
|
|
502
|
+
background-image: url(../images/icons/arrow.svg);
|
|
503
|
+
}
|
|
504
|
+
|
|
327
505
|
/* Tabs */
|
|
328
506
|
|
|
329
507
|
.ui-tabs {
|
|
@@ -364,37 +542,34 @@ tr.disabled ~ tr > td > div {
|
|
|
364
542
|
.ui-tabs > .ui-tabs-nav li,
|
|
365
543
|
.ui-tabs > .ui-tabs-nav .ui-tabs-active,
|
|
366
544
|
.ui-tabs > .ui-tabs-nav .ui-tabs-anchor {
|
|
545
|
+
box-sizing: border-box;
|
|
546
|
+
height: 100%;
|
|
367
547
|
margin: 0;
|
|
368
548
|
border: 0;
|
|
369
549
|
padding: 0;
|
|
370
550
|
border-radius: 0;
|
|
371
551
|
background: none;
|
|
372
|
-
color: var(--text-color);
|
|
373
552
|
user-select: none;
|
|
374
553
|
font-size: var(--small-font-size);
|
|
554
|
+
color: var(--text-color);
|
|
375
555
|
}
|
|
376
556
|
|
|
377
|
-
.ui-tabs > .ui-tabs-nav
|
|
378
|
-
|
|
379
|
-
|
|
557
|
+
.ui-tabs > .ui-tabs-nav .ui-tabs-anchor {
|
|
558
|
+
cursor: pointer !important;
|
|
559
|
+
box-sizing: border-box;
|
|
560
|
+
padding: 7px 10px;
|
|
380
561
|
height: 100%;
|
|
381
|
-
padding: 7px 10px 0 10px;
|
|
382
562
|
}
|
|
383
563
|
|
|
384
|
-
.ui-tabs > .ui-tabs-nav
|
|
564
|
+
.ui-tabs > .ui-tabs-nav .ui-tabs-anchor:hover {
|
|
385
565
|
color: var(--highlight-color);
|
|
386
566
|
}
|
|
387
567
|
|
|
388
|
-
.ui-tabs > .ui-tabs-nav
|
|
568
|
+
.ui-tabs > .ui-tabs-nav .ui-tabs-active .ui-tabs-anchor,
|
|
569
|
+
.ui-tabs > .ui-tabs-nav .ui-tabs-active .ui-tabs-anchor * {
|
|
389
570
|
color: var(--accent-color);
|
|
390
571
|
}
|
|
391
572
|
|
|
392
|
-
.ui-tabs > .ui-tabs-nav .ui-tabs-anchor,
|
|
393
|
-
.ui-tabs > .ui-tabs-nav .ui-tabs-active .ui-tabs-anchor {
|
|
394
|
-
cursor: pointer !important;
|
|
395
|
-
color: inherit;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
573
|
.ui-tabs > .ui-tabs-nav .material-icons {
|
|
399
574
|
position: relative;
|
|
400
575
|
top: -3px;
|
|
@@ -403,6 +578,13 @@ tr.disabled ~ tr > td > div {
|
|
|
403
578
|
font-size: var(--medium-icon-size);
|
|
404
579
|
}
|
|
405
580
|
|
|
581
|
+
.ui-tabs > .ui-tabs-nav .icon-text .material-icons {
|
|
582
|
+
top: 1.5px;
|
|
583
|
+
font-size: inherit;
|
|
584
|
+
margin-right: 0.6em;
|
|
585
|
+
transform: scale(1.3);
|
|
586
|
+
}
|
|
587
|
+
|
|
406
588
|
.ui-tabs > .ui-tabs-panel {
|
|
407
589
|
box-sizing: border-box;
|
|
408
590
|
position: relative;
|
|
@@ -452,10 +634,6 @@ body.light .qtip-tipsy {
|
|
|
452
634
|
background: inherit !important;
|
|
453
635
|
}
|
|
454
636
|
|
|
455
|
-
.qtip-audio.qtip {
|
|
456
|
-
background: rgb(241, 243, 244);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
637
|
.qtip-tipsy .qtip-content {
|
|
460
638
|
padding: 8px;
|
|
461
639
|
}
|
|
@@ -530,180 +708,6 @@ body.light .qtip-tipsy {
|
|
|
530
708
|
width: 300px;
|
|
531
709
|
}
|
|
532
710
|
|
|
533
|
-
/* Toolbar */
|
|
534
|
-
|
|
535
|
-
.toolbar {
|
|
536
|
-
position: absolute;
|
|
537
|
-
box-sizing: border-box;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.horizontal-toolbar {
|
|
541
|
-
top: 0;
|
|
542
|
-
width: 100%;
|
|
543
|
-
height: var(--toolbar-width);
|
|
544
|
-
white-space: nowrap;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
.vertical-toolbar {
|
|
548
|
-
right: 0;
|
|
549
|
-
height: 100%;
|
|
550
|
-
width: var(--toolbar-width);
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.horizontal-toolbar .material-icons,
|
|
554
|
-
.horizontal-toolbar .material-symbols-outlined {
|
|
555
|
-
display: inline-block;
|
|
556
|
-
margin: auto 5px;
|
|
557
|
-
height: var(--icon-size);
|
|
558
|
-
cursor: pointer;
|
|
559
|
-
font-size: var(--icon-size);
|
|
560
|
-
user-select: none;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
.vertical-toolbar .material-icons,
|
|
564
|
-
.vertical-toolbar .material-symbols-outlined {
|
|
565
|
-
display: block;
|
|
566
|
-
margin: 10px auto;
|
|
567
|
-
width: var(--icon-size);
|
|
568
|
-
cursor: pointer;
|
|
569
|
-
font-size: var(--icon-size);
|
|
570
|
-
user-select: none;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
.horizontal-toolbar .material-symbols-outlined {
|
|
574
|
-
font-size: calc(var(--icon-size) + 7px);
|
|
575
|
-
position: relative;
|
|
576
|
-
top: 3px;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.vertical-toolbar .material-symbols-outlined {
|
|
580
|
-
font-size: calc(var(--icon-size) + 7px);
|
|
581
|
-
position: relative;
|
|
582
|
-
left: -3px;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.small .material-symbols-outlined {
|
|
586
|
-
font-size: calc(var(--icon-size) + 3px);
|
|
587
|
-
left: -1px;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
.horizontal-toolbar .text {
|
|
591
|
-
display: inline-block;
|
|
592
|
-
position: relative;
|
|
593
|
-
top: -2px;
|
|
594
|
-
margin: auto 5px;
|
|
595
|
-
font-size: var(--font-size);
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
.horizontal-toolbar .input,
|
|
599
|
-
.horizontal-toolbar .select {
|
|
600
|
-
box-sizing: content-box;
|
|
601
|
-
display: inline-block;
|
|
602
|
-
position: relative;
|
|
603
|
-
top: -3px;
|
|
604
|
-
margin: auto 5px;
|
|
605
|
-
font-family: var(--sans-serif);
|
|
606
|
-
font-size: var(--font-size);
|
|
607
|
-
border: 1px solid var(--system-gray3);
|
|
608
|
-
border-radius: 9.5px;
|
|
609
|
-
padding: 0px 6px 0px 6px;
|
|
610
|
-
height: 16px;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
html[platform=win32] .horizontal-toolbar .input,
|
|
614
|
-
html[platform=win32] .horizontal-toolbar .select {
|
|
615
|
-
padding: 0px 6px 1px 6px;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
html[platform=darwin] .horizontal-toolbar .input,
|
|
619
|
-
html[platform=darwin] .horizontal-toolbar .select {
|
|
620
|
-
padding: 1px 6px 0 6px;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.horizontal-toolbar .select {
|
|
624
|
-
top: -2.5px;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
.horizontal-toolbar .separator {
|
|
628
|
-
display: inline-block;
|
|
629
|
-
margin: auto 10px;
|
|
630
|
-
width: 0;
|
|
631
|
-
height: var(--icon-size);
|
|
632
|
-
border-right: 1px solid var(--separator-color);
|
|
633
|
-
user-select: none;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
.vertical-toolbar .separator {
|
|
637
|
-
display: block;
|
|
638
|
-
margin: 10px auto;
|
|
639
|
-
height: 0;
|
|
640
|
-
width: var(--icon-size);
|
|
641
|
-
border-bottom: 1px solid var(--separator-color);
|
|
642
|
-
user-select: none;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
.codicon:hover,
|
|
646
|
-
.material-icons:hover,
|
|
647
|
-
.material-symbols-outlined:hover {
|
|
648
|
-
color: var(--highlight-color);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
.codicon.active,
|
|
652
|
-
.material-icons.active,
|
|
653
|
-
.material-symbols-outlined.active {
|
|
654
|
-
color: var(--accent-color);
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
.codicon.disabled,
|
|
658
|
-
.material-icons.disabled,
|
|
659
|
-
.material-symbols-outlined.disabled,
|
|
660
|
-
.horizontal-toolbar .text.disabled,
|
|
661
|
-
.horizontal-toolbar .input.disabled,
|
|
662
|
-
.horizontal-toolbar .select.disabled,
|
|
663
|
-
.vertical-toolbar .material-icons.disabled {
|
|
664
|
-
pointer-events: none;
|
|
665
|
-
color: var(--system-gray3);
|
|
666
|
-
border-color: var(--system-gray3);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
.horizontal-toolbar .right {
|
|
670
|
-
position: absolute;
|
|
671
|
-
right: 0;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.large-toolbar .material-icons {
|
|
675
|
-
margin: 5px auto;
|
|
676
|
-
width: var(--large-icon-size);
|
|
677
|
-
font-size: var(--large-icon-size);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
.large-toolbar .image-icon {
|
|
681
|
-
background-repeat: no-repeat;
|
|
682
|
-
display: block;
|
|
683
|
-
width: 24px;
|
|
684
|
-
height: 24px;
|
|
685
|
-
margin: 10px auto;
|
|
686
|
-
cursor: pointer;
|
|
687
|
-
user-select: none;
|
|
688
|
-
filter: var(--filter-text-color);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
.large-toolbar .image-icon:hover {
|
|
692
|
-
filter: var(--filter-highlight-color);
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
.large-toolbar .image-icon.active {
|
|
696
|
-
filter: var(--filter-accent-color);
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
.image-icon.hand {
|
|
700
|
-
background-image: url(../images/icons/hand.svg);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
.image-icon.arrow {
|
|
704
|
-
background-image: url(../images/icons/arrow.svg);
|
|
705
|
-
}
|
|
706
|
-
|
|
707
711
|
/* Browser */
|
|
708
712
|
|
|
709
713
|
#browser-pane {
|
|
@@ -711,18 +715,30 @@ html[platform=darwin] .horizontal-toolbar .select {
|
|
|
711
715
|
position: relative;
|
|
712
716
|
width: 100%;
|
|
713
717
|
height: 100%;
|
|
718
|
+
background-color: var(--secondary-toolbar-color);
|
|
719
|
+
border-top-right-radius: var(--toolbar-outer-radius);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
#browser-top-bar {
|
|
723
|
+
box-sizing: border-box;
|
|
724
|
+
position: absolute;
|
|
725
|
+
left: 0px;
|
|
726
|
+
right: 30px;
|
|
727
|
+
height: var(--topbar-height);
|
|
714
728
|
}
|
|
715
729
|
|
|
716
730
|
#browser-frame {
|
|
731
|
+
overflow: hidden;
|
|
717
732
|
box-sizing: border-box;
|
|
718
733
|
position: absolute;
|
|
719
|
-
top:
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
border
|
|
724
|
-
border-
|
|
725
|
-
border-
|
|
734
|
+
top: var(--topbar-height);
|
|
735
|
+
right: var(--toolbar-width);
|
|
736
|
+
bottom: 0px;
|
|
737
|
+
left: 0px;
|
|
738
|
+
border: 1px solid var(--border-color);
|
|
739
|
+
border-bottom: none;
|
|
740
|
+
border-top-right-radius: var(--toolbar-inner-radius);
|
|
741
|
+
background-color: var(--background-color);
|
|
726
742
|
}
|
|
727
743
|
|
|
728
744
|
#browser {
|
|
@@ -736,6 +752,14 @@ html[platform=darwin] .horizontal-toolbar .select {
|
|
|
736
752
|
background-color: var(--system-gray7);
|
|
737
753
|
}
|
|
738
754
|
|
|
755
|
+
#secondary-toolbar {
|
|
756
|
+
border-bottom: 1px solid var(--background-color);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
:not(#script-editor-console) > .secondary-toolbar {
|
|
760
|
+
background-color: var(--secondary-toolbar-color);
|
|
761
|
+
}
|
|
762
|
+
|
|
739
763
|
/* Dialog */
|
|
740
764
|
|
|
741
765
|
.dialog ::placeholder {
|
|
@@ -1017,12 +1041,59 @@ body.dark .ui-widget .library-list .component {
|
|
|
1017
1041
|
/* Footer */
|
|
1018
1042
|
|
|
1019
1043
|
#footer {
|
|
1044
|
+
overflow: hidden;
|
|
1020
1045
|
position: absolute;
|
|
1021
1046
|
box-sizing: border-box;
|
|
1022
1047
|
width: 100%;
|
|
1023
1048
|
height: 100%;
|
|
1024
1049
|
}
|
|
1025
1050
|
|
|
1051
|
+
#footer::after {
|
|
1052
|
+
content: "";
|
|
1053
|
+
position: absolute;
|
|
1054
|
+
width: var(--toolbar-width);
|
|
1055
|
+
right: 0px;
|
|
1056
|
+
height: var(--tabs-height);
|
|
1057
|
+
border-left: 1px solid var(--border-color);
|
|
1058
|
+
background: var(--secondary-toolbar-color);
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
#footer > .ui-tabs-nav li {
|
|
1062
|
+
position: relative;
|
|
1063
|
+
background: var(--secondary-toolbar-color);
|
|
1064
|
+
border: 1px solid var(--border-color);
|
|
1065
|
+
border-left: none;
|
|
1066
|
+
padding: 0px;
|
|
1067
|
+
left: calc(var(--toolbar-width) / -2);
|
|
1068
|
+
height: calc(100% - 1px);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
#footer > .ui-tabs-nav .ui-tabs-anchor {
|
|
1072
|
+
padding: 4px 30px 10px;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
#footer > .ui-tabs-nav li:last-child {
|
|
1076
|
+
border-top-right-radius: var(--tabs-height);
|
|
1077
|
+
border-bottom-right-radius: var(--tabs-height);
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
#footer > .ui-tabs-nav li:first-child::before {
|
|
1081
|
+
content: "";
|
|
1082
|
+
pointer-events: none;
|
|
1083
|
+
position: absolute;
|
|
1084
|
+
border: 1px solid var(--border-color);
|
|
1085
|
+
border-left: none;
|
|
1086
|
+
top: -1px;
|
|
1087
|
+
left: calc(-100vw - 1px);
|
|
1088
|
+
height: 100%;
|
|
1089
|
+
width: 100vw;
|
|
1090
|
+
background: var(--secondary-toolbar-color);
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
#footer > .ui-tabs-nav :is(li.ui-tabs-active, li:hover) {
|
|
1094
|
+
background-color: var(--system-gray4);
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1026
1097
|
/* Console */
|
|
1027
1098
|
|
|
1028
1099
|
.console {
|
|
@@ -1182,6 +1253,7 @@ body.dark .ui-widget .library-list .component {
|
|
|
1182
1253
|
background-color: transparent;
|
|
1183
1254
|
color: var(--text-color);
|
|
1184
1255
|
resize: none;
|
|
1256
|
+
border-right: 1px solid var(--border-color);
|
|
1185
1257
|
}
|
|
1186
1258
|
|
|
1187
1259
|
.console-search {
|
|
@@ -1350,6 +1422,9 @@ body.light .console-output .selected {
|
|
|
1350
1422
|
.animation-editor-toolbar {
|
|
1351
1423
|
container-type: inline-size;
|
|
1352
1424
|
padding-left: 5px;
|
|
1425
|
+
left: 0px;
|
|
1426
|
+
right: calc(var(--toolbar-width) + 1px);
|
|
1427
|
+
width: auto;
|
|
1353
1428
|
}
|
|
1354
1429
|
|
|
1355
1430
|
@container (max-width: 630px) {
|
|
@@ -1359,7 +1434,18 @@ body.light .console-output .selected {
|
|
|
1359
1434
|
}
|
|
1360
1435
|
|
|
1361
1436
|
.animation-editor-navigation {
|
|
1437
|
+
padding-top: var(--toolbar-width);
|
|
1438
|
+
border-left: 1px solid var(--border-color);
|
|
1439
|
+
width: calc(var(--toolbar-width) + 1px);
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
.animation-editor-navigation::before {
|
|
1443
|
+
content: "";
|
|
1444
|
+
position: absolute;
|
|
1362
1445
|
top: var(--toolbar-width);
|
|
1446
|
+
height: 0px;
|
|
1447
|
+
width: 100%;
|
|
1448
|
+
border-bottom: 1px solid var(--background-color);
|
|
1363
1449
|
}
|
|
1364
1450
|
|
|
1365
1451
|
.animation-editor .animation-editor-content {
|
|
@@ -1370,7 +1456,6 @@ body.light .console-output .selected {
|
|
|
1370
1456
|
left: 0;
|
|
1371
1457
|
bottom: 0;
|
|
1372
1458
|
border-top: 1px solid var(--border-color);
|
|
1373
|
-
border-right: 1px solid var(--border-color);
|
|
1374
1459
|
}
|
|
1375
1460
|
|
|
1376
1461
|
.animation-editor .timeline {
|
|
@@ -1419,20 +1504,24 @@ body.light .console-output .selected {
|
|
|
1419
1504
|
|
|
1420
1505
|
/* Sidebar */
|
|
1421
1506
|
|
|
1507
|
+
#sidebar {
|
|
1508
|
+
overflow: hidden;
|
|
1509
|
+
margin-left: 1px;
|
|
1510
|
+
border-top-left-radius: var(--toolbar-outer-radius);
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1422
1513
|
.sidebar.ui-widget.ui-widget-content {
|
|
1423
1514
|
position: absolute;
|
|
1424
1515
|
box-sizing: border-box;
|
|
1425
1516
|
width: 100%;
|
|
1426
1517
|
height: 100%;
|
|
1427
|
-
|
|
1428
|
-
border-left: 1px solid var(--border-color);
|
|
1429
|
-
background: var(--sidebar-background-color);
|
|
1518
|
+
background-color: var(--sidebar-background-color);
|
|
1430
1519
|
}
|
|
1431
1520
|
|
|
1432
1521
|
.sidebar.ui-tabs .ui-tabs-nav {
|
|
1433
1522
|
left: -1px;
|
|
1434
1523
|
width: calc(100% + 1px);
|
|
1435
|
-
border-left: 1px solid var(--
|
|
1524
|
+
border-left: 1px solid var(--background-color);
|
|
1436
1525
|
}
|
|
1437
1526
|
|
|
1438
1527
|
/* Tree View */
|
|
@@ -1440,7 +1529,7 @@ body.light .console-output .selected {
|
|
|
1440
1529
|
.tree-view {
|
|
1441
1530
|
overflow: scroll;
|
|
1442
1531
|
box-sizing: border-box;
|
|
1443
|
-
padding: 10px;
|
|
1532
|
+
padding: 5px 10px;
|
|
1444
1533
|
width: 100%;
|
|
1445
1534
|
height: 100%;
|
|
1446
1535
|
}
|
|
@@ -1695,7 +1784,7 @@ body.light .console-output .selected {
|
|
|
1695
1784
|
position: relative;
|
|
1696
1785
|
top: 4px;
|
|
1697
1786
|
margin-left: 10px;
|
|
1698
|
-
font-variation-settings:
|
|
1787
|
+
font-variation-settings: "GRAD" 200;
|
|
1699
1788
|
}
|
|
1700
1789
|
|
|
1701
1790
|
.scene-graph .pointer {
|
|
@@ -1768,20 +1857,17 @@ body.light .console-output .selected {
|
|
|
1768
1857
|
height: 25px;
|
|
1769
1858
|
}
|
|
1770
1859
|
|
|
1771
|
-
.scene-graph .field-value-container,
|
|
1772
|
-
.scene-graph .special-value-container {
|
|
1860
|
+
.scene-graph :is(.field-value-container, .special-value-container) {
|
|
1773
1861
|
flex: 1 1 auto;
|
|
1774
1862
|
}
|
|
1775
1863
|
|
|
1776
|
-
.scene-graph .field-value input,
|
|
1777
|
-
.scene-graph .field-value textarea,
|
|
1778
|
-
.scene-graph .special-value textarea {
|
|
1864
|
+
.scene-graph :is(.field-value, .special-value) :is(input, textarea) {
|
|
1779
1865
|
display: block;
|
|
1780
1866
|
box-sizing: border-box;
|
|
1781
1867
|
outline: none;
|
|
1782
|
-
border:
|
|
1868
|
+
border: 0px;
|
|
1783
1869
|
margin: 2px 0 2px 20px;
|
|
1784
|
-
padding:
|
|
1870
|
+
padding: 0px 1px;
|
|
1785
1871
|
min-width: 300px;
|
|
1786
1872
|
max-width: calc(100% - 20px);
|
|
1787
1873
|
width: calc(100% - 20px);
|
|
@@ -1798,8 +1884,7 @@ body.light .console-output .selected {
|
|
|
1798
1884
|
margin-bottom: 2px;
|
|
1799
1885
|
}
|
|
1800
1886
|
|
|
1801
|
-
.scene-graph .field-value textarea
|
|
1802
|
-
.scene-graph .special-value textarea {
|
|
1887
|
+
.scene-graph :is(.field-value, .special-value) textarea {
|
|
1803
1888
|
position: relative;
|
|
1804
1889
|
top: -4px;
|
|
1805
1890
|
overflow: scroll;
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
|
|
42
42
|
/* Special Colors */
|
|
43
43
|
|
|
44
|
-
--
|
|
44
|
+
--secondary-toolbar-color: hsl(214, 25%, 90%);
|
|
45
|
+
--sidebar-background-color: hsl(211, 36%, 86%);
|
|
45
46
|
--tint-color1: rgba(255, 255, 255, 0.4);
|
|
46
47
|
--tint-color2: rgba(255, 255, 255, 0.6);
|
|
47
48
|
|
|
@@ -117,7 +118,8 @@
|
|
|
117
118
|
|
|
118
119
|
/* Special Colors */
|
|
119
120
|
|
|
120
|
-
--
|
|
121
|
+
--secondary-toolbar-color: hsl(220, 9%, 17%);
|
|
122
|
+
--sidebar-background-color: hsl(217, 20%, 21%);
|
|
121
123
|
--tint-color1: rgba(0, 0, 0, 0.2);
|
|
122
124
|
--tint-color2: rgba(0, 0, 0, 0.4);
|
|
123
125
|
|
|
@@ -168,6 +170,9 @@ body {
|
|
|
168
170
|
--window-tabs-height: 34px;
|
|
169
171
|
--tabs-height: 26px;
|
|
170
172
|
|
|
173
|
+
--topbar-height: 8px;
|
|
174
|
+
--toolbar-outer-radius: 15px;
|
|
175
|
+
--toolbar-inner-radius: calc(var(--toolbar-outer-radius) / 3 * 2);
|
|
171
176
|
--toolbar-width: 30px;
|
|
172
177
|
--icon-size: 16px;
|
|
173
178
|
--medium-icon-size: 18px;
|