sunrize 2.3.5 → 2.4.1

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.
@@ -11,7 +11,7 @@ html {
11
11
 
12
12
  body {
13
13
  --input-height: 20px;
14
- --scrollbar-width: 14px;
14
+ --scrollbar-width: 10px;
15
15
  }
16
16
 
17
17
  body {
@@ -60,6 +60,10 @@ body {
60
60
  border-radius: var(--scrollbar-width);
61
61
  }
62
62
 
63
+ :hover::-webkit-scrollbar-thumb:hover {
64
+ background-color: var(--scrollbar-thumb-color-hover);
65
+ }
66
+
63
67
  /* https://developer.chrome.com/docs/css-ui/scrollbar-styling?hl=de */
64
68
  :hover {
65
69
  --fix: ; /* This custom property invalidates styles on hover, thereby enforcing a style recomputation. This is needed to work around a bug in Safari. */
@@ -331,6 +335,7 @@ tr.disabled ~ tr > td > div {
331
335
  /* Toolbar */
332
336
 
333
337
  .toolbar {
338
+ overflow: hidden;
334
339
  position: absolute;
335
340
  box-sizing: border-box;
336
341
  }
@@ -348,6 +353,16 @@ tr.disabled ~ tr > td > div {
348
353
  width: var(--toolbar-width);
349
354
  }
350
355
 
356
+ .vertical-toolbar::after {
357
+ content: "";
358
+ pointer-events: none;
359
+ position: absolute;
360
+ width: 100%;
361
+ height: 30px;
362
+ bottom: 0px;
363
+ background: linear-gradient(0deg,var(--secondary-toolbar-color) 0%, var(--secondary-toolbar-transparent) 100%);
364
+ }
365
+
351
366
  .horizontal-toolbar .material-icons,
352
367
  .horizontal-toolbar .material-symbols-outlined {
353
368
  display: inline-block;
@@ -475,7 +490,7 @@ html[platform=darwin] .horizontal-toolbar .select {
475
490
  font-size: var(--large-icon-size);
476
491
  }
477
492
 
478
- .large-toolbar .image-icon {
493
+ .image-icon {
479
494
  background-repeat: no-repeat;
480
495
  display: block;
481
496
  width: 24px;
@@ -486,11 +501,11 @@ html[platform=darwin] .horizontal-toolbar .select {
486
501
  filter: var(--filter-text-color);
487
502
  }
488
503
 
489
- .large-toolbar .image-icon:hover {
504
+ .image-icon:hover {
490
505
  filter: var(--filter-highlight-color);
491
506
  }
492
507
 
493
- .large-toolbar .image-icon.active {
508
+ .image-icon.active {
494
509
  filter: var(--filter-accent-color);
495
510
  }
496
511
 
@@ -535,7 +550,7 @@ html[platform=darwin] .horizontal-toolbar .select {
535
550
  .ui-tabs.bottom > .ui-tabs-nav {
536
551
  position: absolute;
537
552
  bottom: 0;
538
- border-top: var(--tool-border);
553
+ border-top: 1px solid var(--system-orange);
539
554
  }
540
555
 
541
556
  .ui-tabs > .ui-tabs-nav li,
@@ -543,9 +558,9 @@ html[platform=darwin] .horizontal-toolbar .select {
543
558
  .ui-tabs > .ui-tabs-nav .ui-tabs-anchor {
544
559
  box-sizing: border-box;
545
560
  height: 100%;
546
- margin: 0;
547
- border: 0;
548
- padding: 0;
561
+ margin: 0px;
562
+ border: 0px;
563
+ padding: 7px 10px;
549
564
  border-radius: 0;
550
565
  background: none;
551
566
  user-select: none;
@@ -556,7 +571,7 @@ html[platform=darwin] .horizontal-toolbar .select {
556
571
  .ui-tabs > .ui-tabs-nav .ui-tabs-anchor {
557
572
  cursor: pointer !important;
558
573
  box-sizing: border-box;
559
- padding: 7px 10px;
574
+ padding: 0px;
560
575
  height: 100%;
561
576
  }
562
577
 
@@ -735,7 +750,7 @@ body.light .qtip-tipsy {
735
750
  bottom: 0px;
736
751
  left: 0px;
737
752
  border: 1px solid var(--border-color);
738
- border-bottom: none;
753
+ border-bottom: 1px solid var(--border-color);
739
754
  border-top-right-radius: var(--toolbar-inner-radius);
740
755
  background-color: var(--background-color);
741
756
  }
@@ -1508,6 +1523,329 @@ body.light .console-output .selected {
1508
1523
  image-rendering: pixelated;
1509
1524
  }
1510
1525
 
1526
+ /* Routing Editor */
1527
+
1528
+ #route-graph {
1529
+ --yellow: #fdcb73;
1530
+ --orange: #ff8900;
1531
+ --red: #f71501;
1532
+ --blue: #9399fa;
1533
+ --lila: #8579c5;
1534
+ --dark-lila: #413469;
1535
+ --purple: #9352de;
1536
+ --outline-color: var(--red);
1537
+ --route-color: var(--orange);
1538
+ --route-selected-color: var(--red);
1539
+ --lasso-fill: hsla(207, 71%, 84%, 0.2);
1540
+ --lasso-stroke: hsl(207, 71%, 84%);
1541
+ --tabs-height: 24px;
1542
+ --overscroll-gap: 120px;
1543
+ }
1544
+
1545
+ #route-graph {
1546
+ box-sizing: border-box;
1547
+ background: var(--routes-background-color);
1548
+ }
1549
+
1550
+ .route-graph-top {
1551
+ position: absolute;
1552
+ box-sizing: border-box;
1553
+ left: 0px;
1554
+ right: var(--toolbar-width);
1555
+ height: var(--tabs-height);
1556
+ border-right: 1px solid var(--border-color);
1557
+ background: none;
1558
+ }
1559
+
1560
+ .route-graph-top canvas {
1561
+ position: absolute;
1562
+ width: 100%;
1563
+ height: 100%;
1564
+ }
1565
+
1566
+ #route-graph .ui-tabs > .ui-tabs-nav {
1567
+ overflow-x: auto;
1568
+ overflow-y: visible;
1569
+ height: 100%;
1570
+ border: none;;
1571
+ justify-content: left;
1572
+ }
1573
+
1574
+ #route-graph .ui-tabs > .ui-tabs-nav::-webkit-scrollbar {
1575
+ width: 4px;
1576
+ height: 4px;
1577
+ }
1578
+
1579
+ #route-graph .ui-tabs > .ui-tabs-nav li {
1580
+ cursor: pointer;
1581
+ display: flex;
1582
+ flex-direction: row;
1583
+ align-items: center;
1584
+ float: none;
1585
+ border: 1px solid transparent;
1586
+ border-radius: var(--tabs-height);
1587
+ padding: 0px;
1588
+ padding-top: 2px;
1589
+ height: 100%;
1590
+ }
1591
+
1592
+ html[platform=darwin] #route-graph .ui-tabs > .ui-tabs-nav li {
1593
+ padding-top: 1px;
1594
+ }
1595
+
1596
+ #route-graph .ui-tabs > .ui-tabs-nav .ui-tabs-anchor {
1597
+ pointer-events: none;
1598
+ float: none;
1599
+ height: auto;
1600
+ padding: 0px 6px 0px 10px;
1601
+ line-height: 0;
1602
+ color: var(--window-tabs-text-color);
1603
+ }
1604
+
1605
+ #route-graph .ui-tabs > .ui-tabs-nav .ui-tabs-active .ui-tabs-anchor {
1606
+ color: var(--window-tabs-highlight-color);
1607
+ }
1608
+
1609
+ #route-graph .ui-tabs > .ui-tabs-nav :is(li.ui-tabs-active, li:hover) {
1610
+ border-color: var(--border-color);
1611
+ background-color: var(--window-tabs-background-color);
1612
+ }
1613
+
1614
+ #route-graph .ui-tabs > .ui-tabs-nav li:not(.ui-tabs-active, :hover, :first-child)::before {
1615
+ content: "•";
1616
+ display: block;
1617
+ position: absolute;
1618
+ left: -2px;
1619
+ color: var(--text-disabled);
1620
+ padding-top: 1px;
1621
+ line-height: 0;
1622
+ }
1623
+
1624
+ #route-graph .ui-tabs > .ui-tabs-nav li:is(.ui-tabs-active, :hover) + li::before {
1625
+ display: none;
1626
+ }
1627
+
1628
+ #route-graph .ui-tabs > .ui-tabs-nav .button {
1629
+ top: unset;
1630
+ margin-right: 6px;
1631
+ line-height: 0;
1632
+ font-size: 10pt;
1633
+ }
1634
+
1635
+ #route-graph .pages {
1636
+ user-select: none;
1637
+ overflow: hidden;
1638
+ position: absolute;
1639
+ box-sizing: border-box;
1640
+ top: var(--tabs-height);
1641
+ right: var(--toolbar-width);
1642
+ bottom: 0px;
1643
+ left: 0px;
1644
+ border-right: 1px solid var(--border-color);
1645
+ }
1646
+
1647
+ #route-graph .routes {
1648
+ position: absolute;
1649
+ width: 100%;
1650
+ height: 100%;
1651
+ }
1652
+
1653
+ #route-graph .nodes {
1654
+ overflow: auto;
1655
+ position: absolute;
1656
+ width: 100%;
1657
+ height: 100%;
1658
+ }
1659
+
1660
+ #route-graph .nodes > .title {
1661
+ box-sizing: border-box;
1662
+ position: sticky;
1663
+ top: 10px;
1664
+ left: 10px;
1665
+ font-size: 12pt;
1666
+ border: 1px solid transparent;
1667
+ border-radius: 20px;
1668
+ padding: 2px 15px;
1669
+ max-width: 100%;
1670
+ field-sizing: content;
1671
+ }
1672
+
1673
+ #route-graph .nodes > .title:focus {
1674
+ border-color: var(--system-gray4);
1675
+ background: var(--background-color);
1676
+ }
1677
+
1678
+ #route-graph .nodes > .placeholder {
1679
+ visibility: hidden;
1680
+ opacity: 0;
1681
+ pointer-events: none;
1682
+ position: absolute;
1683
+ top: 50%;
1684
+ left: 50%;
1685
+ transform: translate(-50%, -50%);
1686
+ font-size: x-large;
1687
+ color: var(--system-gray3);
1688
+ text-align: center;
1689
+ transition: visibility 300ms, opacity 300ms linear;
1690
+ }
1691
+
1692
+ #route-graph .nodes:has(> :last-child:nth-child(2)) > .placeholder {
1693
+ visibility: visible;
1694
+ opacity: 1;
1695
+ }
1696
+
1697
+ #route-graph .node {
1698
+ display: flex;
1699
+ flex-direction: column;
1700
+ align-items: start;
1701
+ gap: 1px;
1702
+ position: absolute;
1703
+ outline: 4px solid transparent;
1704
+ border-radius: 17px 17px 15px 15px;
1705
+ color: white;
1706
+ transform-origin: 0 0;
1707
+ transition: outline-color 300ms linear;
1708
+ }
1709
+
1710
+ #route-graph .nodes.lasso .node {
1711
+ transition: outline-color 100ms linear;
1712
+ }
1713
+
1714
+ #route-graph .node.selected {
1715
+ outline-color: var(--outline-color);
1716
+ }
1717
+
1718
+ /* Overscroll spacing */
1719
+ #route-graph .node::after {
1720
+ pointer-events: none;
1721
+ visibility: hidden;
1722
+ display: block;
1723
+ position: absolute;
1724
+ content: "";
1725
+ width: calc(100% + var(--overscroll-gap));
1726
+ height: calc(100% + var(--overscroll-gap));
1727
+ }
1728
+
1729
+ #route-graph .node .header {
1730
+ overflow: hidden;
1731
+ box-sizing: border-box;
1732
+ display: flex;
1733
+ flex-direction: row;
1734
+ align-items: start;
1735
+ gap: 5px;
1736
+ width: 100%;
1737
+ padding: 8px 12px;
1738
+ background: var(--lila);
1739
+ border-top-left-radius: 12px;
1740
+ border-top-right-radius: 12px;
1741
+ }
1742
+
1743
+ #route-graph .node.imported-node .header {
1744
+ background-color: var(--dark-lila);
1745
+ }
1746
+
1747
+ #route-graph .node .header .icon {
1748
+ position: relative;
1749
+ top: 3px;
1750
+ }
1751
+
1752
+ #route-graph .node .title {
1753
+ display: flex;
1754
+ flex-direction: column;
1755
+ align-items: start;
1756
+ gap: 5px;
1757
+ }
1758
+
1759
+ #route-graph .node .type-name {
1760
+ font-size: var(--small-font-size);
1761
+ }
1762
+
1763
+ #route-graph .node .arrow {
1764
+ position: relative;
1765
+ top: -1px;
1766
+ font-size: 15pt;
1767
+ margin-left: auto;
1768
+ }
1769
+
1770
+ #route-graph .node .arrow:hover {
1771
+ color: var(--orange)
1772
+ }
1773
+
1774
+ #route-graph .node .fields {
1775
+ all: initial;
1776
+ user-select: inherit;
1777
+ box-sizing: border-box;
1778
+ display: flex;
1779
+ flex-direction: column;
1780
+ align-items: start;
1781
+ gap: 1px;
1782
+ width: 100%;
1783
+ font-family: inherit;
1784
+ font-size: var(--small-font-size);
1785
+ color: black;
1786
+ }
1787
+
1788
+ #route-graph .node .field {
1789
+ display: flex;
1790
+ flex-direction: row;
1791
+ align-items: center;
1792
+ position: relative;
1793
+ box-sizing: border-box;
1794
+ padding: 1px 15px 1px 12px;
1795
+ width: 100%;
1796
+ background: var(--yellow);
1797
+ }
1798
+
1799
+ #route-graph .node .field.user-defined {
1800
+ font-weight: bold;
1801
+ }
1802
+
1803
+ #route-graph .node .field .icon {
1804
+ margin-right: 3px;
1805
+ }
1806
+
1807
+ #route-graph .node :is(.input, .output) {
1808
+ position: absolute;
1809
+ top: 2px;
1810
+ width: 11px;
1811
+ height: 11px;
1812
+ border-radius: 10px;
1813
+ }
1814
+
1815
+ #route-graph .node .input {
1816
+ left: -5px;
1817
+ background: var(--purple);
1818
+ }
1819
+
1820
+ #route-graph .node .output {
1821
+ right: -5px;
1822
+ background: var(--blue);
1823
+ }
1824
+
1825
+ #route-graph .node :is(.input, .output):hover {
1826
+ outline: 4px solid var(--outline-color);
1827
+ }
1828
+
1829
+ #route-graph .node .footer {
1830
+ box-sizing: border-box;
1831
+ width: 100%;
1832
+ height: 10px;
1833
+ background: var(--lila);
1834
+ border-bottom-left-radius: 10px;
1835
+ border-bottom-right-radius: 10px;
1836
+ }
1837
+
1838
+ #route-graph .node.imported-node .footer {
1839
+ background-color: var(--dark-lila);
1840
+ }
1841
+
1842
+ #route-graph .overlay {
1843
+ pointer-events: none;
1844
+ position: absolute;
1845
+ width: 100%;
1846
+ height: 100%;
1847
+ }
1848
+
1511
1849
  /* Sidebar */
1512
1850
 
1513
1851
  #sidebar {
@@ -1536,7 +1874,7 @@ body.light .console-output .selected {
1536
1874
  .tree-view {
1537
1875
  overflow: scroll;
1538
1876
  box-sizing: border-box;
1539
- padding: 5px 10px;
1877
+ padding: 4px 10px;
1540
1878
  width: 100%;
1541
1879
  height: 100%;
1542
1880
  }
@@ -1567,29 +1905,31 @@ body.light .console-output .selected {
1567
1905
  white-space: nowrap;
1568
1906
  }
1569
1907
 
1570
- .tree-view .item > * {
1571
- position: relative;
1572
- top: 2px;
1573
- }
1574
-
1575
1908
  .tree-view .jstree-ocl {
1576
1909
  position: relative;
1577
- top: 0;
1910
+ top: 0px;
1578
1911
  width: 22px;
1579
1912
  cursor: pointer;
1580
1913
  color: var(--expander-color);
1581
1914
  }
1582
1915
 
1583
1916
  .tree-view .jstree-anchor {
1917
+ all: initial;
1918
+ user-select: none;
1584
1919
  display: flex;
1920
+ position: relative;
1921
+ top: 2px;
1585
1922
  flex-direction: row;
1586
1923
  flex: 1 1 auto;
1924
+ font-family: inherit;
1925
+ font-size: inherit;
1587
1926
  color: inherit;
1927
+ white-space: inherit;
1588
1928
  }
1589
1929
 
1590
1930
  .tree-view .jstree-node {
1591
1931
  outline: 1px solid transparent;
1592
- transition: outline 200ms;
1932
+ transition: outline 200ms linear;
1593
1933
  }
1594
1934
 
1595
1935
  .tree-view .jstree-node.selected {
@@ -1643,7 +1983,7 @@ body.light .console-output .selected {
1643
1983
  }
1644
1984
 
1645
1985
  .scene-graph .description .jstree-anchor {
1646
- padding: 2px 0;
1986
+ padding: 4px 0;
1647
1987
  font-size: smaller;
1648
1988
  }
1649
1989
 
@@ -1689,10 +2029,6 @@ body.light .console-output .selected {
1689
2029
  height: 12px;
1690
2030
  }
1691
2031
 
1692
- .scene-graph .item * {
1693
- vertical-align: top;
1694
- }
1695
-
1696
2032
  .scene-graph .item .node-type-name,
1697
2033
  .scene-graph .item .as {
1698
2034
  font-weight: bold;
@@ -1807,10 +2143,6 @@ body.light .console-output .selected {
1807
2143
  min-width: 50px;
1808
2144
  }
1809
2145
 
1810
- .scene-graph .route .access-type {
1811
- top: 6px;
1812
- }
1813
-
1814
2146
  .scene-graph .access-type img.active {
1815
2147
  display: none;
1816
2148
  position: absolute;
@@ -1858,8 +2190,6 @@ body.light .console-output .selected {
1858
2190
  }
1859
2191
 
1860
2192
  .scene-graph .route-curves {
1861
- position: absolute;
1862
- top: -2px;
1863
2193
  width: 20px;
1864
2194
  height: 25px;
1865
2195
  }
@@ -1873,7 +2203,7 @@ body.light .console-output .selected {
1873
2203
  box-sizing: border-box;
1874
2204
  outline: none;
1875
2205
  border: 0px;
1876
- margin: 2px 0 2px 20px;
2206
+ margin: 0 0 0 20px;
1877
2207
  padding: 0px 1px;
1878
2208
  min-width: 300px;
1879
2209
  max-width: calc(100% - 20px);
@@ -1886,15 +2216,9 @@ body.light .console-output .selected {
1886
2216
  tab-size: 3;
1887
2217
  }
1888
2218
 
1889
- .scene-graph .field-value input {
1890
- margin-top: 2px;
1891
- margin-bottom: 2px;
1892
- }
1893
-
1894
2219
  .scene-graph :is(.field-value, .special-value) textarea {
1895
- position: relative;
1896
- top: -4px;
1897
2220
  overflow: scroll;
2221
+ margin-bottom: 8px;
1898
2222
  height: 140px;
1899
2223
  white-space: pre;
1900
2224
  resize: vertical;
@@ -13,7 +13,7 @@
13
13
  --system-cyan: rgb(0, 192, 232);
14
14
  --system-blue: rgb(0, 136, 255);
15
15
  --system-indigo: rgb(88, 86, 214);
16
- --system-purple: rgb(97, 85, 245);
16
+ --system-purple: rgb(203, 48, 224);
17
17
  --system-pink: rgb(255, 45, 85);
18
18
  --system-brown: rgb(172, 127, 94);
19
19
 
@@ -42,6 +42,7 @@
42
42
  /* Special Colors */
43
43
 
44
44
  --secondary-toolbar-color: hsl(214, 25%, 90%);
45
+ --secondary-toolbar-transparent: hsla(214, 25%, 90%, 0);
45
46
  --sidebar-background-color: hsl(211, 36%, 86%);
46
47
  --tint-color1: rgba(255, 255, 255, 0.4);
47
48
  --tint-color2: rgba(255, 255, 255, 0.6);
@@ -119,7 +120,9 @@
119
120
  /* Special Colors */
120
121
 
121
122
  --secondary-toolbar-color: hsl(220, 9%, 17%);
123
+ --secondary-toolbar-transparent: hsla(220, 9%, 17%, 0);
122
124
  --sidebar-background-color: hsl(217, 20%, 21%);
125
+ --sidebar-transparent: hsla(217, 20%, 21%, 0);
123
126
  --tint-color1: rgba(0, 0, 0, 0.2);
124
127
  --tint-color2: rgba(0, 0, 0, 0.4);
125
128
 
@@ -162,10 +165,9 @@ body {
162
165
  --accent-color: var(--system-red);
163
166
  --separator-color: var(--system-gray3);
164
167
 
165
- --window-tabs-background-color: var(--system-gray5);
168
+ --window-tabs-background-color: hsl(206, 62%, 95%);
166
169
  --window-tabs-text-color: var(--text-color);
167
170
  --window-tabs-highlight-color: var(--accent-color);
168
- --tabs-background-color: var(--system-gray7);
169
171
 
170
172
  --window-tabs-height: 34px;
171
173
  --tabs-height: 26px;
@@ -216,6 +218,10 @@ body {
216
218
  --qtip-background-color: white;
217
219
  --qtip-border: 1px solid var(--system-gray1);
218
220
  --qtip-highlight-color: black;
221
+
222
+ /* Routing Editor */
223
+
224
+ --routes-background-color: white;
219
225
  }
220
226
 
221
227
  @media (prefers-color-scheme: dark) {
@@ -229,6 +235,10 @@ body {
229
235
  --filter-text-color: var(--filter-system-gray1);
230
236
  --filter-highlight-color: var(--filter-system-gray0);
231
237
 
238
+ --window-tabs-background-color: var(--system-gray5);
239
+ --window-tabs-text-color: var(--text-color);
240
+ --window-tabs-highlight-color: var(--accent-color);
241
+
232
242
  /* Tools */
233
243
 
234
244
  --tool-background-color: color-mix(in srgb, var(--sidebar-background-color), transparent 20%);
@@ -240,5 +250,9 @@ body {
240
250
  --qtip-background-color: black;
241
251
  --qtip-border: 1px solid var(--system-gray4);
242
252
  --qtip-highlight-color: white;
253
+
254
+ /* Routing Editor */
255
+
256
+ --routes-background-color: black;
243
257
  }
244
258
  }