sunrize 1.11.0 → 1.11.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,6 +1,7 @@
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
3
  @import url(media.css);
4
+ @import url(system-colors.css);
4
5
 
5
6
  html {
6
7
  overflow: hidden;
@@ -52,7 +53,7 @@ body {
52
53
  background-color: transparent;
53
54
  }
54
55
 
55
- /* Handle */
56
+ /* Scrollbar Handle */
56
57
  :hover::-webkit-scrollbar-thumb {
57
58
  background-color: var(--scrollbar-thumb-color);
58
59
  }
@@ -72,6 +73,12 @@ body {
72
73
  background-color: var(--scrollbar-thumb-color);
73
74
  }
74
75
 
76
+ /* inputs */
77
+
78
+ input[type=checkbox] {
79
+ accent-color: var(--system-green);
80
+ }
81
+
75
82
  /* common */
76
83
 
77
84
  .green {
@@ -101,6 +108,11 @@ th, td,
101
108
  color: var(--text-color);
102
109
  }
103
110
 
111
+ select {
112
+ appearance: none;
113
+ cursor: pointer;
114
+ }
115
+
104
116
  select option {
105
117
  font-family: var(--sans-serif);
106
118
  font-size: var(--font-size);
@@ -130,20 +142,13 @@ tbody th {
130
142
  width: auto;
131
143
  }
132
144
 
133
- tbody td {
134
- width: 100%;
135
- }
136
-
137
145
  tbody th th {
138
146
  min-width: unset;
139
147
  width: unset;
140
148
  }
141
149
 
142
- tbody td td {
143
- width: unset;
144
- }
145
-
146
- thead tr {
150
+ thead tr,
151
+ tfoot tr {
147
152
  background: var(--tint-color2);
148
153
  }
149
154
 
@@ -235,23 +240,20 @@ tr.disabled ~ tr > td > div {
235
240
  width: 35%;
236
241
  }
237
242
 
238
- .vertical-splitter-left > .ui-resizable-e {
243
+ .ui-resizable-e,
244
+ .ui-resizable-w {
239
245
  cursor: col-resize;
240
- }
241
-
242
- .vertical-splitter-left > .ui-resizable-e > div {
243
- position: relative;
244
- left: 0px;
245
246
  width: 4px;
246
- height: 100%;
247
247
  }
248
248
 
249
- .vertical-splitter-left > .ui-resizable-e:hover > div {
249
+ .ui-resizable-w:hover,
250
+ .ui-resizable-e:hover {
250
251
  animation: highlight-splitter 1000ms ease-out;
251
252
  animation-fill-mode: forwards;
252
253
  }
253
254
 
254
- .vertical-splitter-left > .ui-resizable-e:active > div {
255
+ .ui-resizable-e:active,
256
+ .ui-resizable-e:active {
255
257
  background-color: var(--accent-color);
256
258
  }
257
259
 
@@ -297,33 +299,28 @@ tr.disabled ~ tr > td > div {
297
299
  height: 40%;
298
300
  }
299
301
 
300
- .horizontal-splitter-top > .ui-resizable-s {
301
- cursor: row-resize;
302
+ #horizontal-splitter > .horizontal-splitter-top {
303
+ height: 60%;
302
304
  }
303
305
 
304
- .horizontal-splitter-top > .ui-resizable-s > div {
305
- position: relative;
306
- top: 1px;
306
+ #horizontal-splitter > .horizontal-splitter-bottom {
307
+ height: 40%;
308
+ }
309
+
310
+ .ui-resizable-s {
311
+ cursor: row-resize;
307
312
  height: 4px;
308
313
  }
309
314
 
310
- .horizontal-splitter-top > .ui-resizable-s:hover > div {
315
+ .ui-resizable-s:hover {
311
316
  animation: highlight-splitter 1000ms ease-out;
312
317
  animation-fill-mode: forwards;
313
318
  }
314
319
 
315
- .horizontal-splitter-top > .ui-resizable-s:active > div {
320
+ .ui-resizable-s:active {
316
321
  background-color: var(--accent-color);
317
322
  }
318
323
 
319
- #horizontal-splitter > .horizontal-splitter-top {
320
- height: 60%;
321
- }
322
-
323
- #horizontal-splitter > .horizontal-splitter-bottom {
324
- height: 40%;
325
- }
326
-
327
324
  /* Tabs */
328
325
 
329
326
  .ui-tabs {
@@ -433,29 +430,25 @@ tr.disabled ~ tr > td > div {
433
430
 
434
431
  .qtip-tipsy.qtip {
435
432
  border: var(--qtip-border);
433
+ border-radius: var(--qtip-border-radius);
436
434
  background: var(--qtip-background-color);
437
435
  box-shadow: var(--qtip-shadow);
436
+ backdrop-filter: none;
438
437
  }
439
438
 
440
439
  .qtip-tipsy {
441
440
  color: var(--system-gray1);
441
+ text-shadow: none;
442
442
  }
443
443
 
444
444
  body.light .qtip-tipsy {
445
445
  color: black;
446
- text-shadow: none;
447
446
  }
448
447
 
449
448
  .qtip-tipsy .qtip-tip {
450
449
  background: inherit !important;
451
450
  }
452
451
 
453
- .qtip-preview.qtip {
454
- border: var(--preview-border);
455
- background: var(--preview-background-color);
456
- backdrop-filter: none;
457
- }
458
-
459
452
  .qtip-audio.qtip {
460
453
  background: rgb(241, 243, 244);
461
454
  }
@@ -466,46 +459,68 @@ body.light .qtip-tipsy {
466
459
 
467
460
  .qtip span {
468
461
  display: block;
462
+ margin: 2px 0;
469
463
  }
470
464
 
471
465
  .qtip input,
472
466
  .qtip select,
473
467
  .qtip button {
468
+ box-sizing: border-box;
474
469
  display: block;
475
470
  width: 100%;
476
- background: var(--background-color);
471
+ background: var(--system-gray5);
477
472
  border: 1px solid var(--system-gray7);
473
+ border-radius: 16px;
474
+ color: var(--system-gray0);
478
475
  filter: opacity(80%);
479
476
  margin: 2px 0;
477
+ padding: 2px 8px;
478
+ height: 24px;
479
+ }
480
+
481
+ .qtip ::placeholder {
482
+ color: var(--system-gray1);
483
+ }
484
+
485
+ .qtip button {
486
+ cursor: pointer;
480
487
  }
481
488
 
482
489
  .qtip input[type=checkbox] {
490
+ cursor: pointer;
483
491
  display: inline-block;
492
+ position: relative;
493
+ top: 1px;
494
+ margin: 4px 0;
484
495
  width: auto;
485
- margin: 4px 0 0 0;
486
496
  }
487
497
 
488
498
  .qtip label {
499
+ user-select: none;
500
+ cursor: pointer;
489
501
  display: inline-block;
490
- width: auto;
491
502
  position: relative;
492
- margin-left: 5px !important;
493
- top: -2px;
494
- margin: 4px 0 0 0;
503
+ top: -7px;
504
+ margin-left: 5px;
505
+ width: auto;
495
506
  }
496
507
 
497
- .qtip .qtip-content > div:first-child {
508
+ .qtip p {
509
+ margin: 8px 0;
510
+ }
511
+
512
+ .qtip .qtip-content > div :first-child {
498
513
  margin-top: 0;
499
514
  }
500
515
 
501
- .qtip .qtip-content > div:last-child {
516
+ .qtip .qtip-content > div :last-child {
502
517
  margin-bottom: 0;
503
518
  }
504
519
 
505
520
  .qtip select:hover,
506
521
  .qtip button:hover {
507
- background-color: var(--system-gray8);
508
- color: var(--system-gray0);
522
+ background-color: var(--system-gray4);
523
+ color: var(--qtip-highlight-color);
509
524
  }
510
525
 
511
526
  .qtip-wide {
@@ -523,6 +538,7 @@ body.light .qtip-tipsy {
523
538
  top: 0;
524
539
  width: 100%;
525
540
  height: var(--toolbar-width);
541
+ white-space: nowrap;
526
542
  }
527
543
 
528
544
  .vertical-toolbar {
@@ -578,12 +594,31 @@ body.light .qtip-tipsy {
578
594
 
579
595
  .horizontal-toolbar .input,
580
596
  .horizontal-toolbar .select {
597
+ box-sizing: content-box;
581
598
  display: inline-block;
582
599
  position: relative;
583
600
  top: -3px;
584
601
  margin: auto 5px;
602
+ font-family: var(--sans-serif);
585
603
  font-size: var(--font-size);
586
604
  border: 1px solid var(--system-gray3);
605
+ border-radius: 9.5px;
606
+ padding: 0px 6px 0px 6px;
607
+ height: 16px;
608
+ }
609
+
610
+ html[platform=win32] .horizontal-toolbar .input,
611
+ html[platform=win32] .horizontal-toolbar .select {
612
+ padding: 0px 6px 1px 6px;
613
+ }
614
+
615
+ html[platform=darwin] .horizontal-toolbar .input,
616
+ html[platform=darwin] .horizontal-toolbar .select {
617
+ padding: 1px 6px 0 6px;
618
+ }
619
+
620
+ .horizontal-toolbar .select {
621
+ top: -2.5px;
587
622
  }
588
623
 
589
624
  .horizontal-toolbar .separator {
@@ -604,34 +639,33 @@ body.light .qtip-tipsy {
604
639
  user-select: none;
605
640
  }
606
641
 
607
- .horizontal-toolbar .material-icons:hover,
608
- .horizontal-toolbar .material-symbols-outlined:hover,
609
- .vertical-toolbar .material-icons:hover,
610
- .vertical-toolbar .material-symbols-outlined:hover {
642
+ .codicon:hover,
643
+ .material-icons:hover,
644
+ .material-symbols-outlined:hover {
611
645
  color: var(--highlight-color);
612
646
  }
613
647
 
614
- .horizontal-toolbar .material-icons.active,
615
- .horizontal-toolbar .material-symbols-outlined.active,
616
- .vertical-toolbar .material-icons.active,
617
- .vertical-toolbar .material-symbols-outlined.active {
648
+ .codicon.active,
649
+ .material-icons.active,
650
+ .material-symbols-outlined.active {
618
651
  color: var(--accent-color);
619
652
  }
620
653
 
621
- .horizontal-toolbar .material-icons.disabled,
622
- .horizontal-toolbar .material-symbols-outlined.disabled,
654
+ .codicon.disabled,
655
+ .material-icons.disabled,
656
+ .material-symbols-outlined.disabled,
623
657
  .horizontal-toolbar .text.disabled,
624
658
  .horizontal-toolbar .input.disabled,
625
659
  .horizontal-toolbar .select.disabled,
626
- .vertical-toolbar .material-icons.disabled,
627
- .vertical-toolbar .material-symbols-outlined.disabled {
660
+ .vertical-toolbar .material-icons.disabled {
628
661
  pointer-events: none;
629
662
  color: var(--system-gray3);
630
663
  border-color: var(--system-gray3);
631
664
  }
632
665
 
633
666
  .horizontal-toolbar .right {
634
- float: right;
667
+ position: absolute;
668
+ right: 0;
635
669
  }
636
670
 
637
671
  .large-toolbar .material-icons {
@@ -659,6 +693,14 @@ body.light .qtip-tipsy {
659
693
  filter: var(--filter-accent-color);
660
694
  }
661
695
 
696
+ .image-icon.hand {
697
+ background-image: url(../images/icons/hand.svg);
698
+ }
699
+
700
+ .image-icon.arrow {
701
+ background-image: url(../images/icons/arrow.svg);
702
+ }
703
+
662
704
  /* Browser */
663
705
 
664
706
  #browser-pane {
@@ -709,8 +751,11 @@ body.dark .dialog ::placeholder {
709
751
  z-index: 3000 !important;
710
752
  }
711
753
 
754
+ .dialog.ui-dialog .ui-dialog-content {
755
+ padding: 1rem;
756
+ }
757
+
712
758
  .dialog.ui-dialog.ui-widget.ui-widget-content {
713
- cursor: move;
714
759
  backdrop-filter: var(--tool-backdrop-filter);
715
760
  background-color: var(--tool-background-color);
716
761
  border-radius: var(--tool-border-radius);
@@ -724,6 +769,23 @@ body.dark .dialog ::placeholder {
724
769
  overflow-y: auto;
725
770
  }
726
771
 
772
+ .scene-properties .button {
773
+ cursor: pointer;
774
+ }
775
+
776
+ .scene-properties .drag {
777
+ cursor: move;
778
+ }
779
+
780
+ .scene-properties .active {
781
+ color: var(--accent-color);
782
+ }
783
+
784
+ .scene-properties .disabled {
785
+ cursor: inherit;
786
+ color: var(--system-gray2);
787
+ }
788
+
727
789
  /* Library */
728
790
 
729
791
  .ui-widget .library-input {
@@ -762,7 +824,7 @@ body.dark .dialog ::placeholder {
762
824
  user-select: none;
763
825
  position: absolute;
764
826
  overflow: scroll;
765
- margin: 1rem 1rem 0.5rem 1rem;
827
+ margin: 1rem 1rem 0 1rem;
766
828
  inset: 75px 0 0 0;
767
829
  }
768
830
 
@@ -777,6 +839,7 @@ body.dark .dialog ::placeholder {
777
839
  font-size: var(--small-font-size);
778
840
  border-bottom: 1px solid var(--system-gray1);
779
841
  color: var(--system-gray1);
842
+ clear: both;
780
843
  }
781
844
 
782
845
  body.dark .ui-widget .library-list .component {
@@ -806,6 +869,26 @@ body.dark .ui-widget .library-list .component {
806
869
  display: none;
807
870
  }
808
871
 
872
+ .ui-widget .library-list.materials .component {
873
+ padding-top: 1em;
874
+ }
875
+
876
+ .library-list.materials .icon {
877
+ --padding: 5%;
878
+ box-sizing: border-box;
879
+ float: left;
880
+ width: calc(100% / 6);
881
+ height: auto;
882
+ aspect-ratio: 1 / 1;
883
+ padding: var(--padding);
884
+ background-size: calc(100% - 2 * var(--padding)) auto;
885
+ background-position: 50%;
886
+ }
887
+
888
+ .library-list.materials .text {
889
+ display: none;
890
+ }
891
+
809
892
  /* Node List */
810
893
 
811
894
  .node-list {
@@ -937,6 +1020,7 @@ body.dark .ui-widget .library-list .component {
937
1020
  }
938
1021
 
939
1022
  .console-left {
1023
+ overflow: hidden;
940
1024
  position: absolute;
941
1025
  box-sizing: border-box;
942
1026
  left: 0;
@@ -1062,6 +1146,100 @@ body.dark .ui-widget .library-list .component {
1062
1146
  resize: none;
1063
1147
  }
1064
1148
 
1149
+ .console-search {
1150
+ --accent-color: var(--system-blue);
1151
+
1152
+ box-sizing: border-box;
1153
+ display: flex;
1154
+ gap: 5px;
1155
+ position: absolute;
1156
+ top: 0px;
1157
+ right: 30px;
1158
+ width: 300px;
1159
+ height: 33px;
1160
+ padding: 0 8px;
1161
+ background: var(--background-color);
1162
+ box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.36);
1163
+ border-left: 2px solid var(--system-gray4);
1164
+ }
1165
+
1166
+ .console-search-input-elements {
1167
+ position: relative;
1168
+ flex: 1 1 auto;
1169
+ }
1170
+
1171
+ .console-search-input {
1172
+ box-sizing: border-box;
1173
+ display: block;
1174
+ margin: 5px 0px;
1175
+ padding: 2px 6px;
1176
+ padding-right: 30px;
1177
+ width: 100%;
1178
+ height: 23px;
1179
+ background: var(--system-gray5);
1180
+ }
1181
+
1182
+ .console-search-input:focus {
1183
+ outline: 1px solid var(--system-blue);
1184
+ }
1185
+
1186
+ .console-search-case-sensitive {
1187
+ cursor: pointer;
1188
+ position: absolute;
1189
+ right: 7px;
1190
+ top: 9px;
1191
+ padding: 0 1px;
1192
+ border-radius: 2px;
1193
+ }
1194
+
1195
+ .console-search-case-sensitive:hover {
1196
+ background-color: var(--system-gray3);
1197
+ }
1198
+
1199
+ .console-search-case-sensitive.active {
1200
+ outline: 1px solid color-mix(in srgb, var(--system-blue), transparent 30%);
1201
+ background: color-mix(in srgb, var(--system-blue), transparent 70%);
1202
+ color: var(--system-gray0);
1203
+ }
1204
+
1205
+ .console-search-status {
1206
+ flex: 0 0 auto;
1207
+ position: relative;
1208
+ top: 10px;
1209
+ min-width: 60px;
1210
+ font-size: 90%;
1211
+ }
1212
+
1213
+ .console-search :is(.search-previous, .search-next) {
1214
+ user-select: none;
1215
+ cursor: pointer;
1216
+ box-sizing: border-box;
1217
+ position: relative;
1218
+ flex: 0 0 auto;
1219
+ top: 5px;
1220
+ height: 23px;
1221
+ padding: 3px 2px;
1222
+ padding-left: 1px;
1223
+ border-radius: 3px;
1224
+ font-size: 16px;
1225
+ }
1226
+
1227
+ .console-search :is(.search-previous, .search-next):hover {
1228
+ background-color: var(--system-gray5);
1229
+ }
1230
+
1231
+ .console-search :is(.search-previous, .search-next):focus {
1232
+ outline: 1px solid var(--system-blue);
1233
+ }
1234
+
1235
+ body.dark .console-output .selected {
1236
+ background: var(--system-gray5);
1237
+ }
1238
+
1239
+ body.light .console-output .selected {
1240
+ background: color-mix(in srgb, var(--system-yellow), white 80%);
1241
+ }
1242
+
1065
1243
  /* Script Editor */
1066
1244
 
1067
1245
  .script-editor {
@@ -1116,9 +1294,16 @@ body.dark .ui-widget .library-list .component {
1116
1294
  }
1117
1295
 
1118
1296
  .animation-editor-toolbar {
1297
+ container-type: inline-size;
1119
1298
  padding-left: 5px;
1120
1299
  }
1121
1300
 
1301
+ @container (max-width: 630px) {
1302
+ .animation-editor-toolbar .right {
1303
+ display: none;
1304
+ }
1305
+ }
1306
+
1122
1307
  .animation-editor-navigation {
1123
1308
  top: var(--toolbar-width);
1124
1309
  }
@@ -1277,6 +1462,16 @@ body.dark .ui-widget .library-list .component {
1277
1462
  outline: 1px solid var(--system-orange);
1278
1463
  }
1279
1464
 
1465
+ .tree-view .jstree-node.manually.imported-node,
1466
+ .tree-view .jstree-node.manually.exported-node {
1467
+ outline: 1px dashed var(--system-brown);
1468
+ }
1469
+
1470
+ .tree-view .jstree-node.primary.imported-node,
1471
+ .tree-view .jstree-node.manually.exported-node {
1472
+ outline: 1px solid var(--system-brown);
1473
+ }
1474
+
1280
1475
  .tree-view .no-select {
1281
1476
  user-select: none;
1282
1477
  }
@@ -1314,6 +1509,7 @@ body.dark .ui-widget .library-list .component {
1314
1509
 
1315
1510
  /* make drag & drop work */
1316
1511
  .scene-graph .last {
1512
+ overflow: hidden;
1317
1513
  height: 2px;
1318
1514
  }
1319
1515
 
@@ -1358,7 +1554,7 @@ body.dark .ui-widget .library-list .component {
1358
1554
  }
1359
1555
 
1360
1556
  .scene-graph .scene > .item .name {
1361
- font-weight: bold;;
1557
+ font-weight: bold;
1362
1558
  font-style: italic;
1363
1559
  color: var(--system-purple);
1364
1560
  }
@@ -1643,6 +1839,12 @@ body.dark .ui-widget .library-list .component {
1643
1839
 
1644
1840
  .tp-dfwv {
1645
1841
  overflow: auto;
1842
+ box-shadow: var(--qtip-shadow);
1843
+ border-radius: var(--tp-base-border-radius);
1844
+ }
1845
+
1846
+ .tp-rotv {
1847
+ border: var(--qtip-border);
1646
1848
  }
1647
1849
 
1648
1850
  .tp-lblv_v {
@@ -1674,6 +1876,11 @@ body.dark .ui-widget .library-list .component {
1674
1876
  display: none;
1675
1877
  }
1676
1878
 
1879
+ /* check mark */
1880
+ .tp-ckbv_w svg path {
1881
+ stroke: var(--system-green) !important;
1882
+ }
1883
+
1677
1884
  /* monaco editor */
1678
1885
 
1679
1886
  .monaco-editor,
@@ -1,12 +1,4 @@
1
1
  @import url(../../node_modules/material-icons/iconfont/material-icons.css);
2
2
  @import url(../../node_modules/material-symbols/index.css);
3
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
- }
4
+ @import url(../../node_modules/@vscode/codicons/dist/codicon.css);
@@ -1,12 +1,4 @@
1
1
  @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-icons/iconfont/material-icons.css);
2
2
  @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/material-symbols/index.css);
3
3
  @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/spectrum-colorpicker2/dist/spectrum.css);
4
- @import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/system-colors.css);
5
-
6
- .image-icon.hand {
7
- background-image: url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/images/icons/hand.svg);
8
- }
9
-
10
- .image-icon.arrow {
11
- background-image: url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/images/icons/arrow.svg);
12
- }
4
+ @import url(file:///Users/holger/Desktop/X_ITE/sunrize/node_modules/@vscode/codicons/dist/codicon.css);