sunrize 1.10.0 → 1.10.2

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,9 +1,6 @@
1
1
  @charset "utf-8";
2
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(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-icons/iconfont/material-icons.css);
4
- @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-symbols/index.css);
5
- @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/spectrum-colorpicker2/dist/spectrum.css);
6
- @import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/system-colors.css);
3
+ @import url(media.css);
7
4
 
8
5
  html {
9
6
  overflow: hidden;
@@ -24,7 +21,7 @@ body {
24
21
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
25
22
  }
26
23
 
27
- *:focus {
24
+ :focus {
28
25
  outline: none;
29
26
  }
30
27
 
@@ -37,6 +34,8 @@ body {
37
34
  background: var(--selection-background-color);
38
35
  }
39
36
 
37
+ /* Scrollbars */
38
+
40
39
  ::-webkit-scrollbar {
41
40
  width: 14px;
42
41
  height: 14px;
@@ -59,7 +58,12 @@ body {
59
58
  }
60
59
 
61
60
  /* textarea resizer */
61
+
62
62
  ::-webkit-resizer {
63
+ background-color: transparent;
64
+ }
65
+
66
+ :hover::-webkit-resizer {
63
67
  background-color: var(--scrollbar-thumb-color);
64
68
  }
65
69
 
@@ -203,7 +207,6 @@ tr.disabled ~ tr > td > div {
203
207
 
204
208
  .vertical-splitter-left,
205
209
  .vertical-splitter-right {
206
- background-color: var(--background-color);
207
210
  position: absolute;
208
211
  box-sizing: border-box;
209
212
  top: 0;
@@ -376,7 +379,7 @@ tr.disabled ~ tr > td > div {
376
379
 
377
380
  .ui-tabs > .ui-tabs-nav .ui-tabs-anchor,
378
381
  .ui-tabs > .ui-tabs-nav .ui-tabs-active .ui-tabs-anchor {
379
- cursor: pointer;
382
+ cursor: pointer !important;
380
383
  color: inherit;
381
384
  }
382
385
 
@@ -488,12 +491,28 @@ body.light .qtip-tipsy {
488
491
  box-sizing: border-box;
489
492
  }
490
493
 
494
+ .horizontal-toolbar {
495
+ top: 0;
496
+ width: 100%;
497
+ height: var(--toolbar-width);
498
+ }
499
+
491
500
  .vertical-toolbar {
492
501
  right: 0;
493
502
  height: 100%;
494
503
  width: var(--toolbar-width);
495
504
  }
496
505
 
506
+ .horizontal-toolbar .material-icons,
507
+ .horizontal-toolbar .material-symbols-outlined {
508
+ display: inline-block;
509
+ margin: auto 5px;
510
+ height: var(--icon-size);
511
+ cursor: pointer;
512
+ font-size: var(--icon-size);
513
+ user-select: none;
514
+ }
515
+
497
516
  .vertical-toolbar .material-icons,
498
517
  .vertical-toolbar .material-symbols-outlined {
499
518
  display: block;
@@ -504,6 +523,12 @@ body.light .qtip-tipsy {
504
523
  user-select: none;
505
524
  }
506
525
 
526
+ .horizontal-toolbar .material-symbols-outlined {
527
+ font-size: calc(var(--icon-size) + 7px);
528
+ position: relative;
529
+ top: 3px;
530
+ }
531
+
507
532
  .vertical-toolbar .material-symbols-outlined {
508
533
  font-size: calc(var(--icon-size) + 7px);
509
534
  position: relative;
@@ -515,6 +540,32 @@ body.light .qtip-tipsy {
515
540
  left: -1px;
516
541
  }
517
542
 
543
+ .horizontal-toolbar .text {
544
+ display: inline-block;
545
+ position: relative;
546
+ top: -2px;
547
+ margin: auto 5px;
548
+ font-size: var(--font-size);
549
+ }
550
+
551
+ .horizontal-toolbar .input {
552
+ display: inline-block;
553
+ position: relative;
554
+ top: -3px;
555
+ margin: auto 5px;
556
+ font-size: var(--font-size);
557
+ border: 1px solid var(--system-gray3);
558
+ }
559
+
560
+ .horizontal-toolbar .separator {
561
+ display: inline-block;
562
+ margin: auto 10px;
563
+ width: 0;
564
+ height: var(--icon-size);
565
+ border-right: 1px solid var(--separator-color);
566
+ user-select: none;
567
+ }
568
+
518
569
  .vertical-toolbar .separator {
519
570
  display: block;
520
571
  margin: 10px auto;
@@ -524,20 +575,33 @@ body.light .qtip-tipsy {
524
575
  user-select: none;
525
576
  }
526
577
 
578
+ .horizontal-toolbar .material-icons:hover,
579
+ .horizontal-toolbar .material-symbols-outlined:hover,
527
580
  .vertical-toolbar .material-icons:hover,
528
581
  .vertical-toolbar .material-symbols-outlined:hover {
529
582
  color: var(--highlight-color);
530
583
  }
531
584
 
585
+ .horizontal-toolbar .material-icons.active,
586
+ .horizontal-toolbar .material-symbols-outlined.active,
532
587
  .vertical-toolbar .material-icons.active,
533
588
  .vertical-toolbar .material-symbols-outlined.active {
534
589
  color: var(--accent-color);
535
590
  }
536
591
 
592
+ .horizontal-toolbar .material-icons.disabled,
593
+ .horizontal-toolbar .material-symbols-outlined.disabled,
594
+ .horizontal-toolbar .text.disabled,
595
+ .horizontal-toolbar .input.disabled,
537
596
  .vertical-toolbar .material-icons.disabled,
538
597
  .vertical-toolbar .material-symbols-outlined.disabled {
539
598
  pointer-events: none;
540
599
  color: var(--system-gray3);
600
+ border-color: var(--system-gray3);
601
+ }
602
+
603
+ .horizontal-toolbar .right {
604
+ float: right;
541
605
  }
542
606
 
543
607
  .large-toolbar .material-icons {
@@ -547,7 +611,7 @@ body.light .qtip-tipsy {
547
611
  }
548
612
 
549
613
  .large-toolbar .image-icon {
550
- background: no-repeat;
614
+ background-repeat: no-repeat;
551
615
  display: block;
552
616
  width: 24px;
553
617
  height: 24px;
@@ -565,18 +629,6 @@ body.light .qtip-tipsy {
565
629
  filter: var(--filter-accent-color);
566
630
  }
567
631
 
568
- .image-icon.hand {
569
- background-image: url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/images/icons/hand.svg);
570
- }
571
-
572
- .image-icon.arrow {
573
- background-image: url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/images/icons/arrow.svg);
574
- }
575
-
576
- .image-icon.straighten {
577
- background-image: url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/images/icons/straighten.svg);
578
- }
579
-
580
632
  /* Browser */
581
633
 
582
634
  #browser-pane {
@@ -727,38 +779,101 @@ body.dark .ui-widget .library-list .component {
727
779
  /* Node List */
728
780
 
729
781
  .node-list {
782
+ user-select: none;
730
783
  overflow: auto;
731
784
  position: absolute;
732
785
  inset: 0 0 0 0;
733
786
  padding: 0;
734
787
  }
735
788
 
736
- .node-list > ul {
789
+ .node-list ul {
737
790
  margin: 0;
738
791
  padding: 0;
792
+ width: fit-content;
793
+ min-width: 100%;
739
794
  list-style-type: none;
740
795
  }
741
796
 
742
- .node-list > ul > li {
743
- cursor: pointer;
744
- user-select: none;
797
+ .node-list > ul {
798
+ padding: 1px 0;
799
+ color: var(--system-blue);
800
+ }
801
+
802
+ .node-list > ul > li > ul {
803
+ color: var(--system-orange);
804
+ }
805
+
806
+ .node-list .main {
807
+ color: var(--system-indigo);
808
+ }
809
+
810
+ .node-list.alternating > ul li:has(li) {
811
+ border-bottom: 1px solid var(--tint-color2);
812
+ }
813
+
814
+ .node-list .item {
745
815
  margin: 0;
746
- padding: 3px 10px;
816
+ padding: 5px 10px 5px 0;
747
817
  white-space: nowrap;
748
818
  }
749
819
 
750
- .node-list > ul > li:nth-child(odd) {
820
+ .node-list > ul > li > .item {
821
+ padding-left: 10px;
822
+ }
823
+
824
+ .node-list > ul > li > ul > li > .item {
825
+ padding-left: 20px;
826
+ }
827
+
828
+ /* .node-list > ul > li:has(> .item:hover) {
829
+ outline: 1px solid var(--system-blue);
830
+ }
831
+
832
+ .node-list > ul > li > ul > li:has(> .item:hover) {
833
+ outline: 1px solid var(--system-orange);
834
+ } */
835
+
836
+ .node-list.alternating > ul li:not(:has(li)):nth-child(odd) > .item {
751
837
  background-color: var(--tint-color1);
752
838
  }
753
839
 
754
- .node-list > ul > li:hover {
755
- background-color: var(--tint-color2);
840
+ .node-list.alternating > ul .item:hover {
841
+ background-color: var(--tint-color2) !important;
756
842
  }
757
843
 
758
844
  .node-list .icon {
759
845
  position: relative;
760
- margin-right: 2px;
846
+ margin-right: 5px;
847
+ top: 1px;
848
+ width: 16px;
849
+ height: 12px;
850
+ }
851
+
852
+ .node-list .button {
853
+ cursor: pointer;
854
+ position: relative;
761
855
  top: 2px;
856
+ font-size: var(--font-size);
857
+ }
858
+
859
+ .node-list .button:hover {
860
+ color: var(--system-cyan);
861
+ }
862
+
863
+ .node-list .button.on {
864
+ color: var(--system-blue);
865
+ }
866
+
867
+ .node-list .button.on:hover {
868
+ color: var(--system-cyan);
869
+ }
870
+
871
+ .node-list .button.off {
872
+ color: var(--system-gray1);
873
+ }
874
+
875
+ .node-list .button.off:hover {
876
+ color: var(--system-gray0);
762
877
  }
763
878
 
764
879
  /* Footer */
@@ -934,10 +1049,8 @@ body.dark .ui-widget .library-list .component {
934
1049
  }
935
1050
 
936
1051
  .script-editor .node-list {
937
- user-select: none;
938
1052
  bottom: var(--input-height);
939
1053
  border-bottom: 1px solid var(--border-color);
940
- color: var(--system-blue);
941
1054
  }
942
1055
 
943
1056
  .script-editor .type-name {
@@ -961,9 +1074,62 @@ body.dark .ui-widget .library-list .component {
961
1074
  /* Animation Editor */
962
1075
 
963
1076
  .animation-editor {
1077
+ --input-height: 20px;
1078
+
964
1079
  box-sizing: border-box;
965
1080
  }
966
1081
 
1082
+ .animation-editor-toolbar {
1083
+ padding-left: 5px;
1084
+ }
1085
+
1086
+ .animation-editor-navigation {
1087
+ top: var(--toolbar-width);
1088
+ }
1089
+
1090
+ .animation-editor .animation-editor-content {
1091
+ position: absolute;
1092
+ box-sizing: border-box;
1093
+ top: var(--toolbar-width);
1094
+ right: var(--toolbar-width);
1095
+ left: 0;
1096
+ bottom: 0;
1097
+ border-top: 1px solid var(--border-color);
1098
+ border-right: 1px solid var(--border-color);
1099
+ }
1100
+
1101
+ .animation-editor .timeline {
1102
+ user-select: none;
1103
+ border-left: 1px solid var(--border-color);
1104
+ }
1105
+
1106
+ .animation-editor .node-list {
1107
+ bottom: var(--input-height);
1108
+ border-bottom: 1px solid var(--border-color);
1109
+ }
1110
+
1111
+ .animation-editor .type-name {
1112
+ font-weight: bold;
1113
+ }
1114
+
1115
+ .animation-editor .node-name {
1116
+ position: absolute;
1117
+ bottom: 0px;
1118
+ width: 100%;
1119
+ height: var(--input-height);
1120
+ border: none;
1121
+ background-color: var(--background-color);
1122
+ }
1123
+
1124
+ .animation-editor .tracks {
1125
+ position: absolute;
1126
+ display: block;
1127
+ width: calc(100% - var(--toolbar-width));
1128
+ height: calc(100% - var(--toolbar-width));
1129
+ top: var(--toolbar-width);
1130
+ image-rendering: pixelated;
1131
+ }
1132
+
967
1133
  /* Sidebar */
968
1134
 
969
1135
  .sidebar.ui-widget.ui-widget-content {
@@ -0,0 +1,12 @@
1
+ @import url(../../node_modules/material-icons/iconfont/material-icons.css);
2
+ @import url(../../node_modules/material-symbols/index.css);
3
+ @import url(../../node_modules/spectrum-colorpicker2/dist/spectrum.css);
4
+ @import url(system-colors.css);
5
+
6
+ .image-icon.hand {
7
+ background-image: url(../images/icons/hand.svg);
8
+ }
9
+
10
+ .image-icon.arrow {
11
+ background-image: url(../images/icons/arrow.svg);
12
+ }
@@ -1,94 +0,0 @@
1
- <html>
2
- <head>
3
- <meta charset="utf-8"/>
4
- <!-- Theme -->
5
- <link rel="stylesheet" type="text/css" href="file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/default.css"/>
6
- </head>
7
- <body>
8
- <tab-group sortable="true">
9
- <style>
10
- ::-webkit-scrollbar {
11
- width: 8px;
12
- height: 8px;
13
- }
14
-
15
- ::-webkit-scrollbar-track, /* Track */
16
- ::-webkit-scrollbar-thumb:window-inactive, /* Handle */
17
- ::-webkit-scrollbar-corner { /* Corner */
18
- background-color: transparent;
19
- }
20
-
21
- /* Handle */
22
- ::-webkit-scrollbar-thumb {
23
- background-color: var(--scrollbar-thumb-color);
24
- }
25
-
26
- .etabs .nav {
27
- height: var(--window-tabs-height);
28
- background: var(--background-color);
29
- box-shadow: none;
30
- border: none;
31
- overflow-x: auto;
32
- overflow-y: hidden;
33
- white-space: nowrap;
34
- }
35
-
36
- .etabs .tab {
37
- background: var(--window-tabs-background-color);
38
- border-color: var(--border-color) !important;
39
- padding: 4px 3px !important;
40
- color: var(--window-tabs-text-color);
41
- font-family: var(--sans-serif);
42
- box-shadow: none;
43
- }
44
-
45
- .etabs .tab:first-child {
46
- border-left: 0;
47
- }
48
-
49
- .etabs .tab.active {
50
- z-index: 1100;
51
- background: var(--background-color);
52
- color: var(--window-tabs-highlight-color);
53
- }
54
-
55
- .etabs::before {
56
- z-index: 1000;
57
- content: "";
58
- position: relative;
59
- display: block;
60
- height: 1px;
61
- width: 100%;
62
- box-shadow: var(--tabs-shadow);
63
- }
64
-
65
- .etabs .buttons {
66
- border-color: var(--border-color);
67
- }
68
-
69
- .etabs .buttons:hover button,
70
- .etabs .tab-close button:hover {
71
- background: none;
72
- }
73
-
74
- .etabs .buttons button:hover,
75
- .etabs .tab-close:hover button {
76
- color: var(--system-gray0);
77
- }
78
-
79
- .etabs .tab-close button {
80
- visibility: hidden;
81
- }
82
-
83
- .etabs .tab.active .tab-close button,
84
- .etabs .tab:hover .tab-close button {
85
- visibility: visible;
86
- }
87
-
88
- .etabs .tab-close {
89
- margin-left: 4px;
90
- }
91
- </style>
92
- </tab-group>
93
- </body>
94
- </html>
@@ -1,37 +0,0 @@
1
- <html>
2
- <head>
3
- <meta charset="utf-8"/>
4
- <link rel="stylesheet" type="text/css" href="file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/jquery-ui-dist/jquery-ui.min.css"/>
5
- <link rel="stylesheet" type="text/css" href="file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/qtip2/dist/jquery.qtip.min.css"/>
6
- <link rel="stylesheet" type="text/css" href="file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/default.css"/>
7
- </head>
8
- <body>
9
- <div id="vertical-splitter" class="vertical-splitter">
10
- <div class="vertical-splitter-left">
11
- <div id="horizontal-splitter" class="horizontal-splitter">
12
- <div class="horizontal-splitter-top">
13
- <div id="browser-pane">
14
- <div id="browser-frame">
15
- <x3d-canvas
16
- id="browser"
17
- cache="false"
18
- contextMenu="false"
19
- debug="true"
20
- preserveDrawingBuffer="true"
21
- splashScreen="false"
22
- xrSessionMode="NONE"></x3d-canvas>
23
- </div>
24
- <div id="secondary-toolbar" class="toolbar vertical-toolbar large-toolbar secondary-toolbar"></div>
25
- </div>
26
- </div>
27
- <div class="horizontal-splitter-bottom">
28
- <div id="footer"></div>
29
- </div>
30
- </div>
31
- </div>
32
- <div class="vertical-splitter-right">
33
- <div id="sidebar" class="sidebar"></div>
34
- </div>
35
- </div>
36
- </body>
37
- </html>