lexgui 0.1.28 → 0.1.30
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/build/components/codeeditor.js +18 -24
- package/build/components/nodegraph.js +3246 -397
- package/build/lexgui.css +340 -56
- package/build/lexgui.js +265 -135
- package/build/lexgui.module.js +251 -121
- package/changelog.md +30 -0
- package/examples/index.html +1 -1
- package/examples/node_graph.html +2 -1
- package/examples/previews/code_editor.png +0 -0
- package/examples/previews/dialogs.png +0 -0
- package/examples/previews/node_graph.png +0 -0
- package/package.json +1 -1
package/build/lexgui.css
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
--transition-time: 1000;
|
|
28
28
|
--code-editor-font-size: 14px;
|
|
29
29
|
--code-editor-row-height: 20px;
|
|
30
|
+
--graphnode-background: 17, 17, 17;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
/* Some global colors */
|
|
@@ -90,6 +91,11 @@ body.noevents * {
|
|
|
90
91
|
display: none !important;
|
|
91
92
|
}
|
|
92
93
|
|
|
94
|
+
.hiddenOpacity {
|
|
95
|
+
opacity: 0 !important;
|
|
96
|
+
pointer-events: none;
|
|
97
|
+
}
|
|
98
|
+
|
|
93
99
|
::-webkit-file-upload-button {
|
|
94
100
|
display: none;
|
|
95
101
|
}
|
|
@@ -101,9 +107,11 @@ body.noevents * {
|
|
|
101
107
|
bottom: 0;
|
|
102
108
|
width: 100%;
|
|
103
109
|
height: 100%;
|
|
104
|
-
background-color: rgba(0, 0, 0, 0.
|
|
110
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
105
111
|
position: absolute;
|
|
106
112
|
z-index: 99;
|
|
113
|
+
opacity: 1;
|
|
114
|
+
transition: opacity 0.2s ease-in;
|
|
107
115
|
}
|
|
108
116
|
|
|
109
117
|
#lexroot {
|
|
@@ -319,7 +327,7 @@ body.noevents * {
|
|
|
319
327
|
}
|
|
320
328
|
|
|
321
329
|
.lexdialog.pocket.dockable {
|
|
322
|
-
transition: ease-out left 0.2s, ease-out top 0.2s;
|
|
330
|
+
transition: ease-out left 0.2s, ease-out top 0.2s, ease-in transform 0.2s;
|
|
323
331
|
}
|
|
324
332
|
|
|
325
333
|
.lexdialog.pocket .lexdialogtitle {
|
|
@@ -637,8 +645,18 @@ body.noevents * {
|
|
|
637
645
|
transition: border-color 0.1s linear;
|
|
638
646
|
}
|
|
639
647
|
|
|
640
|
-
.lexwidget .lextext
|
|
641
|
-
|
|
648
|
+
.lexwidget .lextext {
|
|
649
|
+
border-radius: 6px;
|
|
650
|
+
position: relative;
|
|
651
|
+
transition: 0.1s linear;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.lexwidget .lextext:not(:has(div)) {
|
|
655
|
+
background-color: var(--global-button-color);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.lexwidget .lextext:not(:has(div)):hover {
|
|
659
|
+
background-color: var(--global-button-color-hovered);
|
|
642
660
|
}
|
|
643
661
|
|
|
644
662
|
.lexwidget .lextext input {
|
|
@@ -647,6 +665,8 @@ body.noevents * {
|
|
|
647
665
|
|
|
648
666
|
.lexwidget .lextext div {
|
|
649
667
|
color: #b2b2b5d6;
|
|
668
|
+
padding: 2px;
|
|
669
|
+
padding-left: 6px;
|
|
650
670
|
}
|
|
651
671
|
|
|
652
672
|
.lexwidget .lextext.lexwarning div {
|
|
@@ -660,13 +680,13 @@ body.noevents * {
|
|
|
660
680
|
}
|
|
661
681
|
|
|
662
682
|
.lexwidget .lextext input:focus {
|
|
663
|
-
border
|
|
683
|
+
border: 2px solid var(--global-selected);
|
|
664
684
|
}
|
|
665
685
|
|
|
666
686
|
.lexwidget .inputicon {
|
|
667
|
-
padding:
|
|
668
|
-
font-size:
|
|
669
|
-
margin-top:
|
|
687
|
+
padding: 6px;
|
|
688
|
+
font-size: 10px;
|
|
689
|
+
margin-top: 4px;
|
|
670
690
|
}
|
|
671
691
|
|
|
672
692
|
.lexwidget textarea {
|
|
@@ -1544,11 +1564,11 @@ input[type="range"] {
|
|
|
1544
1564
|
margin-top: 2px;
|
|
1545
1565
|
}
|
|
1546
1566
|
|
|
1547
|
-
.lexprogressbar.editable:hover{
|
|
1567
|
+
.lexprogressbar.editable:hover {
|
|
1548
1568
|
cursor: grab;
|
|
1549
1569
|
}
|
|
1550
1570
|
|
|
1551
|
-
.lexprogressbar.editable:active{
|
|
1571
|
+
.lexprogressbar.editable:active {
|
|
1552
1572
|
cursor: grabbing;
|
|
1553
1573
|
}
|
|
1554
1574
|
|
|
@@ -1560,10 +1580,10 @@ meter::-webkit-meter-bar {
|
|
|
1560
1580
|
|
|
1561
1581
|
/* (optimum) */
|
|
1562
1582
|
meter:-moz-meter-optimum::-moz-meter-bar {
|
|
1563
|
-
background: var(--global-selected
|
|
1583
|
+
background: var(--global-selected);
|
|
1564
1584
|
}
|
|
1565
1585
|
meter::-webkit-meter-optimum-value {
|
|
1566
|
-
background: var(--global-selected
|
|
1586
|
+
background: var(--global-selected);
|
|
1567
1587
|
}
|
|
1568
1588
|
|
|
1569
1589
|
/* (sub-optimum)*/
|
|
@@ -1811,8 +1831,8 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
1811
1831
|
}
|
|
1812
1832
|
|
|
1813
1833
|
.lexcontextmenubox:before {
|
|
1814
|
-
content:"";
|
|
1815
|
-
position:absolute;
|
|
1834
|
+
content: "";
|
|
1835
|
+
position: absolute;
|
|
1816
1836
|
width: 100%;
|
|
1817
1837
|
height: 100%;
|
|
1818
1838
|
top:0;
|
|
@@ -1865,6 +1885,9 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
1865
1885
|
margin-right: 10px;
|
|
1866
1886
|
margin-top: 2px;
|
|
1867
1887
|
font-size: var(--global-font-size);
|
|
1888
|
+
white-space: nowrap;
|
|
1889
|
+
overflow: hidden;
|
|
1890
|
+
text-overflow: ellipsis;
|
|
1868
1891
|
}
|
|
1869
1892
|
|
|
1870
1893
|
.lexcontextmenubox .lexcontextmenuentry .lexentryname.disabled {
|
|
@@ -1910,16 +1933,35 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
1910
1933
|
/* Side Bar */
|
|
1911
1934
|
|
|
1912
1935
|
.lexsidebar {
|
|
1913
|
-
|
|
1936
|
+
text-align: center;
|
|
1914
1937
|
}
|
|
1915
1938
|
|
|
1916
1939
|
.lexsidebar .lexsidebarentry {
|
|
1917
1940
|
width: 64px;
|
|
1918
1941
|
height: 64px;
|
|
1919
|
-
padding-left: 7.5px;
|
|
1920
1942
|
margin-top: -6px;
|
|
1921
1943
|
}
|
|
1922
1944
|
|
|
1945
|
+
.lexsidebar .lexsidebarentry .lexsidebarentrydesc {
|
|
1946
|
+
position: absolute;
|
|
1947
|
+
margin-left: 12px;
|
|
1948
|
+
font-weight: 600;
|
|
1949
|
+
margin-top: 13px;
|
|
1950
|
+
background-color: #afafaf;
|
|
1951
|
+
color: var(--global-color-primary);
|
|
1952
|
+
font-size: 16px;
|
|
1953
|
+
border-radius: 6px;
|
|
1954
|
+
text-align: center;
|
|
1955
|
+
opacity: 0;
|
|
1956
|
+
z-index: 1;
|
|
1957
|
+
padding: 2px 6px;
|
|
1958
|
+
transition: opacity ease-in 0.1s;
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
.lexsidebar .lexsidebarentry button:hover + .lexsidebarentrydesc {
|
|
1962
|
+
opacity: 1;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1923
1965
|
.lexsidebar .lexsidebarentry:first-child {
|
|
1924
1966
|
padding-top: 16px;
|
|
1925
1967
|
}
|
|
@@ -1933,6 +1975,7 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
1933
1975
|
border-radius: 10px;
|
|
1934
1976
|
border: 0px solid var(--global-color-transparent);
|
|
1935
1977
|
transition: border 0.1s ease-in-out;
|
|
1978
|
+
cursor: pointer;
|
|
1936
1979
|
}
|
|
1937
1980
|
|
|
1938
1981
|
.lexsidebar .lexsidebarentry button:hover {
|
|
@@ -2136,6 +2179,12 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2136
2179
|
line-height: 16px;
|
|
2137
2180
|
}
|
|
2138
2181
|
|
|
2182
|
+
.lexareatabs .lexareatab.thumb {
|
|
2183
|
+
position: absolute;
|
|
2184
|
+
background-color: var(--global-selected-dark);
|
|
2185
|
+
z-index: 0;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2139
2188
|
.lexareatabs.row {
|
|
2140
2189
|
width: 100%;
|
|
2141
2190
|
}
|
|
@@ -2154,31 +2203,35 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2154
2203
|
}
|
|
2155
2204
|
|
|
2156
2205
|
.lexareatabs.fit {
|
|
2157
|
-
background-color: var(--global-color-secondary);
|
|
2158
2206
|
width: calc(100% - 14px);
|
|
2159
2207
|
}
|
|
2160
2208
|
|
|
2161
2209
|
.lexareatabs.fit .lexareatab {
|
|
2162
2210
|
flex: 100%;
|
|
2163
2211
|
border-radius: 10px;
|
|
2212
|
+
z-index: 1;
|
|
2164
2213
|
}
|
|
2165
2214
|
|
|
2166
2215
|
.lexareatabs .lexareatab:active {
|
|
2167
2216
|
color: #b7b7cba4;
|
|
2168
2217
|
}
|
|
2169
2218
|
|
|
2219
|
+
.lexareatabs.fit .lexareatab.selected {
|
|
2220
|
+
color: #f8f8f8;
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2170
2223
|
.lexareatabs.row .lexareatab.selected {
|
|
2171
2224
|
color: var(--global-text);
|
|
2172
|
-
background-color: var(--global-selected);
|
|
2225
|
+
background-color: var(--global-selected-dark);
|
|
2173
2226
|
}
|
|
2174
2227
|
|
|
2175
|
-
.lexareatabs.
|
|
2228
|
+
.lexareatabs.folding .lexareatab.selected {
|
|
2176
2229
|
color: var(--global-text-primary);
|
|
2177
2230
|
background-color: #555556;
|
|
2178
2231
|
}
|
|
2179
2232
|
|
|
2180
2233
|
.lexareatabs .lexareatab:hover {
|
|
2181
|
-
color:
|
|
2234
|
+
color: #f8f8f8;
|
|
2182
2235
|
}
|
|
2183
2236
|
|
|
2184
2237
|
.lexareatabscontainer {
|
|
@@ -2217,33 +2270,36 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2217
2270
|
|
|
2218
2271
|
.lexcard img {
|
|
2219
2272
|
width: 100%;
|
|
2220
|
-
height:
|
|
2273
|
+
height: 128px;
|
|
2221
2274
|
object-fit: cover;
|
|
2222
2275
|
border-radius: 6px;
|
|
2223
|
-
outline: 3px solid var(--global-text-
|
|
2276
|
+
outline: 3px solid var(--global-text-terciary);
|
|
2224
2277
|
}
|
|
2225
2278
|
|
|
2226
2279
|
.lexcard:hover a {
|
|
2227
|
-
color: var(--global-selected
|
|
2280
|
+
color: var(--global-selected);
|
|
2228
2281
|
}
|
|
2229
2282
|
|
|
2230
2283
|
.lexcard:hover img {
|
|
2231
|
-
outline: 3px solid var(--global-selected
|
|
2284
|
+
outline: 3px solid var(--global-selected);
|
|
2232
2285
|
}
|
|
2233
2286
|
|
|
2234
2287
|
.lexcard span {
|
|
2235
|
-
width: calc(100% -
|
|
2288
|
+
width: calc(100% - 18px);
|
|
2236
2289
|
display: flex;
|
|
2237
|
-
background-color: rgba(15, 16, 19, 0.
|
|
2290
|
+
background-color: rgba(15, 16, 19, 0.8);
|
|
2238
2291
|
align-items: center;
|
|
2239
2292
|
height: 16px;
|
|
2240
2293
|
position: absolute;
|
|
2241
2294
|
top: 0;
|
|
2242
|
-
|
|
2295
|
+
left: 0;
|
|
2296
|
+
padding: 8px;
|
|
2243
2297
|
border-top-left-radius: 6px;
|
|
2244
2298
|
border-top-right-radius: 6px;
|
|
2245
2299
|
font-weight: bold;
|
|
2246
|
-
font-size: 1.
|
|
2300
|
+
font-size: 1.3em;
|
|
2301
|
+
font-family: var(--global-title-font);
|
|
2302
|
+
text-transform: uppercase;
|
|
2247
2303
|
}
|
|
2248
2304
|
|
|
2249
2305
|
.lexcard span a {
|
|
@@ -2252,7 +2308,7 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2252
2308
|
}
|
|
2253
2309
|
|
|
2254
2310
|
.lexcard span a:hover {
|
|
2255
|
-
color: var(--global-selected
|
|
2311
|
+
color: var(--global-selected);
|
|
2256
2312
|
}
|
|
2257
2313
|
|
|
2258
2314
|
/* Layers Widget */
|
|
@@ -2898,11 +2954,15 @@ ul.lexassetscontent {
|
|
|
2898
2954
|
}
|
|
2899
2955
|
|
|
2900
2956
|
.lexcodeeditor .codetabsarea {
|
|
2901
|
-
height: calc( 100% -
|
|
2957
|
+
height: calc( 100% - 72px ) !important;
|
|
2902
2958
|
background-color: var(--global-branch-darker);
|
|
2903
2959
|
overflow: scroll;
|
|
2904
2960
|
}
|
|
2905
2961
|
|
|
2962
|
+
.lexcodeeditor .codetabsarea.no-code-info {
|
|
2963
|
+
height: calc( 100% - 28px ) !important;
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2906
2966
|
.lexcodeeditor .codetabsarea::-webkit-scrollbar {
|
|
2907
2967
|
display: none;
|
|
2908
2968
|
}
|
|
@@ -3248,16 +3308,64 @@ pre .line-gutter {
|
|
|
3248
3308
|
|
|
3249
3309
|
.lexgraph {
|
|
3250
3310
|
overflow: hidden;
|
|
3311
|
+
position: relative;
|
|
3312
|
+
outline: none;
|
|
3313
|
+
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA4lJREFUWEftl1FIk1EUx/9qOGtNU4wkC1RQEc2hD9P5oigqH1PxIQqhgYI+iHtIE0ZQKoZo6BDniFScsIcgCSEILMPhJBRCh6G+qKSopHy2iVnOudniyDdZY3NTJ/rghcvGuPvO7/zP/557Pz+c8/A75/i4cAAERNPGzTMXyFEBfwAB6+vrqoiIiMcA9gFYzhrEEeAKgKC1tbX6nZ2dh3t7e3UJCQnvAJgBWM8KxBkgWKvV3g8KCnoZFxfHZ1l2fHV1tS4vL+8rgD1OFZ+WxREgAMCN0tLSex0dHR9DQkJ4ra2tkMlkFoPBoGppaWlTqVQGrix/fUXhCEDfQwDcMRqNY9nZ2YKpqSkkJydDoVBYExMTN7a3t5vi4+M1AHZ9VRbnbXgdQOTs7OzbtrY2YV9f32GiUqkU7e3tFpPJNL6ystKckZExyvmDzHri4QxwFUDE2NhYvV6vL5HJZIHOT6ay1NTU2FiW7RoYGFBUVVWtnKYszgAU8KZarS5JSkpqEIlEfFepRUdHo7e3dzclJWVrc3NTERMT8/qkZXEGICOGSSQSYX9//yCfz6et6XYUFxdDrVbTNp1YWlpqT01NHTxuWZwB7Ea8y7LsF4ZhgicnJ90C8Hg8ZGZmQiwWo6GhAQaD4VV4ePgTDoK6qcfh6iw4MOL09PSbzs7O1O7u7v8eEhsbC4lEgtzcXLNYLPa32WyW5eXlaaPR+Hlubm64srJyAsAOAK+2qisAMuItnU73fH5+/lF5efmhEaurq9HY2GhZWFhYWlxcnNRqtd9UKtUsgF8AqEf8BLDF+eHEClDA8J6engcikahJKBReIwnS0tIwMjKyL5fLXyiVSqoLBfrDZWsCQJMyt/cIj/LTAlcKkBFDs7KykoaGhoYDAwPpkIJOp9u1Wq0fcnJyOgFscFlTMGrRdFbQpJ7glfR2OlcAjkbUMQwTWlBQgLKystWoqCgpgGVObsqYgh4roLMs7i4kZMTbMzMzGqVSmdbV1UXt+Gltbe17AD8A/PbVweQO4MCIo6OjcoFAIDWbzZ/S09ObAVDX2+Rk96rGnha5AyAjhmk0msL8/PxnDMOU6fX67wBYzmxeOdxTcHcmpN/JiILCwsLIiooKcVFR0TCX+bavpD/KhHYwHt2QAFA7JqfbHe9NYl6vOepWfHBHBECftL1o+kx6Twp4ncFpF16494LTJnTs/18qcKnAPygqQzAAgQjBAAAAAElFTkSuQmCC) 4 4, auto !important;
|
|
3251
3314
|
}
|
|
3252
3315
|
|
|
3253
|
-
.lexgraph .
|
|
3316
|
+
.lexgraph .lexdropdown ul {
|
|
3317
|
+
max-height: unset;
|
|
3318
|
+
}
|
|
3319
|
+
|
|
3320
|
+
.lexgraph .lexgraphnodes, .lexgraph .lexgraphlinks {
|
|
3254
3321
|
width: 100%;
|
|
3255
3322
|
height: 100%;
|
|
3256
|
-
position:
|
|
3323
|
+
position: absolute;
|
|
3324
|
+
}
|
|
3325
|
+
|
|
3326
|
+
.lexgraph .lexgraphlinks {
|
|
3327
|
+
pointer-events: none;
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
.lexgraph .lexgraphlinks path {
|
|
3331
|
+
stroke-width: 3px;
|
|
3332
|
+
stroke-opacity: 0.9;
|
|
3257
3333
|
}
|
|
3258
3334
|
|
|
3259
|
-
.lexgraph .
|
|
3335
|
+
.lexgraph .lexgraphlinks path.running {
|
|
3336
|
+
stroke-dasharray: 5px;
|
|
3337
|
+
stroke-linecap: round;
|
|
3338
|
+
stroke-dashoffset: 50;
|
|
3339
|
+
animation: dash 1s linear;
|
|
3340
|
+
animation-iteration-count: infinite;
|
|
3341
|
+
}
|
|
3342
|
+
|
|
3343
|
+
@keyframes dash {
|
|
3344
|
+
to {
|
|
3345
|
+
stroke-dashoffset: 0;
|
|
3346
|
+
}
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3349
|
+
.lexgraph svg {
|
|
3260
3350
|
position: absolute;
|
|
3351
|
+
overflow: visible;
|
|
3352
|
+
top: 0;
|
|
3353
|
+
left: 0;
|
|
3354
|
+
bottom: 0;
|
|
3355
|
+
right: 0;
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3358
|
+
.lexgraph .box-selection-svg {
|
|
3359
|
+
stroke-width: 3px;
|
|
3360
|
+
stroke: var(--global-selected);
|
|
3361
|
+
border-radius: 8px;
|
|
3362
|
+
fill: var(--global-selected);
|
|
3363
|
+
fill-opacity: 0.2;
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
.lexgraph .box-selection-svg.removing {
|
|
3367
|
+
stroke-dasharray: 6px;
|
|
3368
|
+
stroke-linecap: round;
|
|
3261
3369
|
}
|
|
3262
3370
|
|
|
3263
3371
|
.lexgraphnode {
|
|
@@ -3270,26 +3378,76 @@ pre .line-gutter {
|
|
|
3270
3378
|
min-width: 96px;
|
|
3271
3379
|
min-height: 32px;
|
|
3272
3380
|
border-radius: 10px;
|
|
3273
|
-
|
|
3274
|
-
|
|
3381
|
+
|
|
3382
|
+
/* background-color: rgba(var(--graphnode-background), 0.75); */
|
|
3383
|
+
background: linear-gradient(15deg, #161616da 10%, #080808da);
|
|
3384
|
+
background-color: unset; background-origin: border-box;
|
|
3385
|
+
|
|
3386
|
+
-webkit-backdrop-filter: blur(4px);
|
|
3387
|
+
backdrop-filter: blur(4px);
|
|
3388
|
+
border: 3px solid var(--global-color-transparent);
|
|
3275
3389
|
transition: border 0.05s linear;
|
|
3276
3390
|
padding: 4px;
|
|
3277
3391
|
}
|
|
3278
3392
|
|
|
3393
|
+
.lexgraphnode.math {
|
|
3394
|
+
background: linear-gradient(15deg, #0687d1da 10%, #00ffccda);
|
|
3395
|
+
background-color: unset; background-origin: border-box;
|
|
3396
|
+
}
|
|
3397
|
+
|
|
3398
|
+
.lexgraphnode.logic {
|
|
3399
|
+
background: linear-gradient(15deg, #FB4D3Dda 10%, #A74482da);
|
|
3400
|
+
background-color: unset; background-origin: border-box;
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3403
|
+
.lexgraphnode.inputs {
|
|
3404
|
+
background: linear-gradient(15deg, #84e100da 10%, #79a095da);
|
|
3405
|
+
background-color: unset; background-origin: border-box;
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
.lexgraphnode.variables {
|
|
3409
|
+
background: linear-gradient(15deg, #f1e643da 10%, #e78b8bda);
|
|
3410
|
+
background-color: unset; background-origin: border-box;
|
|
3411
|
+
}
|
|
3412
|
+
|
|
3413
|
+
.lexgraphnode.events {
|
|
3414
|
+
background: linear-gradient(15deg, #ec49d7da 10%, #8dc0b8da);
|
|
3415
|
+
background-color: unset; background-origin: border-box;
|
|
3416
|
+
}
|
|
3417
|
+
|
|
3418
|
+
.lexgraphnode.function {
|
|
3419
|
+
background: linear-gradient(15deg, #d19b06da 10%, #ff7b00da);
|
|
3420
|
+
background-color: unset; background-origin: border-box;
|
|
3421
|
+
}
|
|
3422
|
+
|
|
3279
3423
|
.lexgraphnode.selected {
|
|
3280
|
-
border:
|
|
3424
|
+
border: 3px solid var(--global-selected-dark);
|
|
3425
|
+
border: 3px solid #ffc107;
|
|
3281
3426
|
box-shadow: 0 2px 6px 0 rgba(0,0,0,.14);
|
|
3282
3427
|
}
|
|
3283
3428
|
|
|
3284
|
-
.lexgraphnode .lexgraphnodeheader {
|
|
3429
|
+
.lexgraphnode .lexgraphnodeheader, .lexgraphnode .lexgraphnodeproperties {
|
|
3285
3430
|
font-family: var(--global-title-font);
|
|
3286
3431
|
font-weight: 700;
|
|
3287
3432
|
font-size: 13px;
|
|
3288
3433
|
color: #d9d9e3;
|
|
3289
|
-
text-shadow: 0px
|
|
3290
|
-
border-bottom: 1px solid
|
|
3434
|
+
text-shadow: 0px 0px 2px #1b1b1bdc;
|
|
3435
|
+
border-bottom: 1px solid #ffffff46;
|
|
3291
3436
|
margin-bottom: 2px;
|
|
3292
3437
|
pointer-events: none;
|
|
3438
|
+
text-align: -webkit-center;
|
|
3439
|
+
text-align: center;
|
|
3440
|
+
margin-left: -7px;
|
|
3441
|
+
width: calc(100% + 14px);
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
.lexgraphnode.selected .lexgraphnodeheader, .lexgraphnode.selected .lexgraphnodeproperties {
|
|
3445
|
+
margin-left: -4px;
|
|
3446
|
+
width: calc(100% + 8px);
|
|
3447
|
+
}
|
|
3448
|
+
|
|
3449
|
+
.lexgraphnode .lexgraphnodeproperties {
|
|
3450
|
+
pointer-events: all;
|
|
3293
3451
|
}
|
|
3294
3452
|
|
|
3295
3453
|
.lexgraphnode .lexgraphnodeios {
|
|
@@ -3298,61 +3456,187 @@ pre .line-gutter {
|
|
|
3298
3456
|
}
|
|
3299
3457
|
|
|
3300
3458
|
.lexgraphnode .lexgraphnodeios .lexgraphnodeinputs {
|
|
3301
|
-
margin-right:
|
|
3459
|
+
margin-right: 6px;
|
|
3302
3460
|
}
|
|
3303
3461
|
|
|
3304
3462
|
.lexgraphnode .lexgraphnodeios .lexgraphnodeoutputs {
|
|
3305
|
-
margin-left:
|
|
3463
|
+
margin-left: 6px;
|
|
3306
3464
|
}
|
|
3307
3465
|
|
|
3308
3466
|
.lexgraphnode .lexgraphnodeio {
|
|
3309
3467
|
font-family: var(--global-title-font);
|
|
3310
3468
|
font-weight: 500;
|
|
3311
|
-
font-size:
|
|
3469
|
+
font-size: 10px;
|
|
3312
3470
|
color: #d9d9e3;
|
|
3313
3471
|
text-shadow: 0px 1px 6px #22222283;
|
|
3314
3472
|
display: flex;
|
|
3315
3473
|
min-height: 18px;
|
|
3316
3474
|
}
|
|
3317
3475
|
|
|
3318
|
-
.lexgraphnode .lexgraphnodeio.
|
|
3476
|
+
.lexgraphnode .lexgraphnodeio.iooutput {
|
|
3319
3477
|
justify-content: right;
|
|
3320
3478
|
}
|
|
3321
3479
|
|
|
3322
3480
|
.lexgraphnode .lexgraphnodeio .io__type {
|
|
3323
3481
|
font-size: 7px;
|
|
3324
3482
|
font-weight: 700;
|
|
3325
|
-
line-height:
|
|
3326
|
-
min-width:
|
|
3327
|
-
|
|
3483
|
+
line-height: 10px;
|
|
3484
|
+
min-width: 11px;
|
|
3485
|
+
max-width: 11px;
|
|
3486
|
+
min-height: 10px;
|
|
3487
|
+
max-height: 10px;
|
|
3328
3488
|
background-color: #afafaf;
|
|
3329
3489
|
align-self: center;
|
|
3330
3490
|
margin-right: 3px;
|
|
3331
3491
|
border-radius: 3px;
|
|
3492
|
+
padding-top: 1px;
|
|
3332
3493
|
text-align: -webkit-center;
|
|
3333
3494
|
text-align: center;
|
|
3334
|
-
border: 1px solid
|
|
3495
|
+
border: 1px solid #afafaf6b;
|
|
3335
3496
|
color: var(--global-color-primary);
|
|
3336
|
-
pointer-events: all
|
|
3497
|
+
pointer-events: all;
|
|
3337
3498
|
}
|
|
3338
3499
|
|
|
3339
|
-
.lexgraphnode .lexgraphnodeio .io__type
|
|
3340
|
-
|
|
3341
|
-
|
|
3500
|
+
.lexgraphnode .lexgraphnodeio .io__type span {
|
|
3501
|
+
pointer-events: none;
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3504
|
+
.lexgraphnode .lexgraphnodeio .io__typedesc {
|
|
3505
|
+
position: absolute;
|
|
3506
|
+
margin-left: -30px;
|
|
3507
|
+
font-weight: 600;
|
|
3508
|
+
margin-top: 3px;
|
|
3509
|
+
background-color: #afafaf;
|
|
3510
|
+
color: var(--global-color-primary);
|
|
3511
|
+
font-size: 8px;
|
|
3512
|
+
border-radius: 4px;
|
|
3513
|
+
width: 28px;
|
|
3514
|
+
text-align: center;
|
|
3515
|
+
opacity: 0;
|
|
3516
|
+
transition: opacity ease-in 0.1s;
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3519
|
+
.lexgraphnode .lexgraphnodeio .io__typedesc.output {
|
|
3520
|
+
margin-right: -30px;
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
.lexgraphnode .lexgraphnodeio .io__type.vec2,
|
|
3524
|
+
.lexgraphnode .lexgraphnodeio .io__typedesc.vec2 { background-color: #ecea4c; }
|
|
3525
|
+
.lexgraphnode .lexgraphnodeio .io__type.vec3,
|
|
3526
|
+
.lexgraphnode .lexgraphnodeio .io__typedesc.vec3 { background-color: #ee87e5; }
|
|
3527
|
+
.lexgraphnode .lexgraphnodeio .io__type.vec4,
|
|
3528
|
+
.lexgraphnode .lexgraphnodeio .io__typedesc.vec4 { background-color: #9d56d8; }
|
|
3529
|
+
.lexgraphnode .lexgraphnodeio .io__type.string,
|
|
3530
|
+
.lexgraphnode .lexgraphnodeio .io__typedesc.string { background-color: #79cc9c; }
|
|
3531
|
+
.lexgraphnode .lexgraphnodeio .io__type.mat,
|
|
3532
|
+
.lexgraphnode .lexgraphnodeio .io__typedesc.mat { background-color: #56a8d8; }
|
|
3533
|
+
|
|
3534
|
+
.lexgraphnode .lexgraphnodeio .io__name {
|
|
3535
|
+
margin-top: 2px;
|
|
3536
|
+
}
|
|
3342
3537
|
|
|
3343
3538
|
.lexgraphnode .lexgraphnodeio .io__type.output {
|
|
3344
3539
|
margin-right: unset;
|
|
3345
3540
|
margin-left: 3px;
|
|
3346
3541
|
}
|
|
3347
3542
|
|
|
3543
|
+
.lexgraphnode .lexgraphnodeio:hover .io__typedesc {
|
|
3544
|
+
opacity: 1;
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3348
3547
|
.lexgraphnode .lexgraphnodeio .io__type:hover {
|
|
3349
|
-
filter:
|
|
3548
|
+
filter: brightness(1.2);
|
|
3350
3549
|
}
|
|
3351
3550
|
|
|
3352
|
-
.lexgraphnode .lexgraphnodeio .io__type
|
|
3353
|
-
background-color:
|
|
3551
|
+
.lexgraphnode .lexgraphnodeio[data-active] .io__type:hover {
|
|
3552
|
+
background-color: rgba(255, 58, 58, 0.829);
|
|
3354
3553
|
}
|
|
3355
3554
|
|
|
3356
|
-
.lexgraphnode .lexgraphnodeio .
|
|
3357
|
-
|
|
3555
|
+
.lexgraphnode .lexgraphnodeio[data-active] .io__type:hover span {
|
|
3556
|
+
display: none;
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
.lexgraphnode .lexgraphnodeio[data-active] .io__type:hover::after {
|
|
3560
|
+
content: 'X';
|
|
3561
|
+
}
|
|
3562
|
+
|
|
3563
|
+
.lexgraphnode .lexgraphnodeio[data-active] .io__type {
|
|
3564
|
+
filter: brightness(1.4);
|
|
3565
|
+
}
|
|
3566
|
+
|
|
3567
|
+
.lexgraph .lexgraphpropdialog {
|
|
3568
|
+
transform: translateY(-96px);
|
|
3569
|
+
}
|
|
3570
|
+
|
|
3571
|
+
.lexgraph .lexgraphpropdialog.opened {
|
|
3572
|
+
transform: translateY(0px);
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
.lexgraph .lexgraphgroups {
|
|
3576
|
+
z-index: 1;
|
|
3577
|
+
}
|
|
3578
|
+
|
|
3579
|
+
.lexgraphgroup {
|
|
3580
|
+
position: absolute;
|
|
3581
|
+
-webkit-user-select: none; /* Safari 3.1+ */
|
|
3582
|
+
-moz-user-select: none; /* Firefox 2+ */
|
|
3583
|
+
-ms-user-select: none; /* IE 10+ */
|
|
3584
|
+
user-select: none; /* Standard syntax */
|
|
3585
|
+
cursor: pointer;
|
|
3586
|
+
min-width: 96px;
|
|
3587
|
+
min-height: 32px;
|
|
3588
|
+
border-radius: 8px;
|
|
3589
|
+
|
|
3590
|
+
background: linear-gradient(35deg, #949292 10%, #a7c4bd);
|
|
3591
|
+
background-color: unset; background-origin: border-box;
|
|
3592
|
+
|
|
3593
|
+
-webkit-backdrop-filter: blur(4px);
|
|
3594
|
+
backdrop-filter: blur(4px);
|
|
3595
|
+
border: 1px solid var(--global-text-primary);
|
|
3596
|
+
transition: border 0.05s linear;
|
|
3597
|
+
opacity: 0.5;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
.lexgraphgroup .lexgraphgrouptitle {
|
|
3601
|
+
font-size: 14px;
|
|
3602
|
+
margin: 8px;
|
|
3603
|
+
font-weight: 800;
|
|
3604
|
+
color: var(--global-color-primary);
|
|
3605
|
+
font-family: var(--global-title-font);
|
|
3606
|
+
outline: none;
|
|
3607
|
+
border: none;
|
|
3608
|
+
background: none;
|
|
3609
|
+
max-width: 128px;
|
|
3610
|
+
overflow: hidden;
|
|
3611
|
+
white-space: nowrap;
|
|
3612
|
+
text-overflow: ellipsis;
|
|
3613
|
+
border-bottom: 1px solid var(--global-color-primary);
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
.lexgraphgroup .lexgraphgrouptitle:disabled {
|
|
3617
|
+
pointer-events: none;
|
|
3618
|
+
border: none;
|
|
3619
|
+
}
|
|
3620
|
+
|
|
3621
|
+
.lexgraphgroup .lexgraphgroupresizer {
|
|
3622
|
+
position: absolute;
|
|
3623
|
+
bottom: 2px;
|
|
3624
|
+
right: 2px;
|
|
3625
|
+
width: 12px;
|
|
3626
|
+
height: 12px;
|
|
3627
|
+
border-bottom: 2px solid var(--global-color-primary);
|
|
3628
|
+
border-right: 2px solid var(--global-color-primary);
|
|
3629
|
+
border-bottom-right-radius: 8px;
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
.lexgraphgroup .lexgraphgroupresizer:hover {
|
|
3633
|
+
border-bottom: 2px solid #4b4b4ba8;
|
|
3634
|
+
border-right: 2px solid #4b4b4ba8;
|
|
3635
|
+
}
|
|
3636
|
+
|
|
3637
|
+
.grapharea .graph-title button {
|
|
3638
|
+
font-size: 16px;
|
|
3639
|
+
font-family: var(--global-title-font);
|
|
3640
|
+
font-weight: 600;
|
|
3641
|
+
color: var(--global-text);
|
|
3358
3642
|
}
|