sunrize 2.5.0 → 2.5.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.
- package/package.json +2 -2
- package/src/Application/Application.js +1 -0
- package/src/Application/Footer.js +5 -5
- package/src/Editors/AnimationEditor.js +14 -0
- package/src/Editors/Console.js +4 -2
- package/src/Editors/OutlineEditor.js +4 -2
- package/src/Editors/SceneProperties.js +5 -1
- package/src/Editors/VideoRecorder.js +145 -0
- package/src/Tools/Core/X3DBaseTool.js +1 -1
- package/src/assets/html/application.html +4 -4
- package/src/assets/themes/default.css +55 -22
- package/src/assets/themes/definitions.css +151 -212
- package/src/assets/themes/fonts.css +45 -0
- package/src/assets/themes/prompt-template.css +1 -0
- package/src/assets/themes/prompt.css +1 -0
- package/src/Editors/MediaRecorder.js +0 -27
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sunrize",
|
|
3
3
|
"productName": "Sunrize X3D Editor",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.1",
|
|
5
5
|
"description": "Sunrize — A Multi-Platform X3D Editor",
|
|
6
6
|
"main": "src/main.js",
|
|
7
7
|
"bin": {
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"string-similarity": "^4.0.4",
|
|
119
119
|
"tweakpane": "^4.0.5",
|
|
120
120
|
"update-electron-app": "^3.3.0",
|
|
121
|
-
"x_ite": "^16.5.
|
|
121
|
+
"x_ite": "^16.5.1",
|
|
122
122
|
"x_ite-off-parser": "^1.3.0",
|
|
123
123
|
"x_ite-sog-parser": "^2.1.0",
|
|
124
124
|
"x_ite-spz-parser": "^2.1.0",
|
|
@@ -102,6 +102,7 @@ module .exports = class Application
|
|
|
102
102
|
electron .ipcMain .handle ("open-files", async (event, urls) => this .openFiles (urls));
|
|
103
103
|
electron .ipcMain .handle ("file-path", async (event, options) => await this .showDialog (options));
|
|
104
104
|
electron .ipcMain .handle ("fullname", async () => await (await import ("fullname")) .default ());
|
|
105
|
+
electron .ipcMain .handle ("path", async (event, name) => electron .app .getPath (name));
|
|
105
106
|
|
|
106
107
|
await electron .app .whenReady ();
|
|
107
108
|
await this .updateMenu ();
|
|
@@ -37,7 +37,7 @@ module .exports = class Footer extends Tabs
|
|
|
37
37
|
this .addIconTextTab ("route-graph", "route", _("Route Graph"));
|
|
38
38
|
|
|
39
39
|
if (process .env .SUNRISE_ENVIRONMENT === "DEVELOPMENT")
|
|
40
|
-
this .addIconTextTab ("
|
|
40
|
+
this .addIconTextTab ("video-recorder", "videocam", _("Video Recorder"));
|
|
41
41
|
|
|
42
42
|
this .activateTab (3);
|
|
43
43
|
this .activateTab (0);
|
|
@@ -93,13 +93,13 @@ module .exports = class Footer extends Tabs
|
|
|
93
93
|
this .editors .set (panel .attr ("id"), this .routeGraph);
|
|
94
94
|
break;
|
|
95
95
|
}
|
|
96
|
-
case "
|
|
96
|
+
case "video-recorder":
|
|
97
97
|
{
|
|
98
|
-
const
|
|
98
|
+
const VideoRecorder = require ("../Editors/VideoRecorder");
|
|
99
99
|
|
|
100
|
-
this .
|
|
100
|
+
this .videoRecorder = new VideoRecorder (panel);
|
|
101
101
|
|
|
102
|
-
this .editors .set (panel .attr ("id"), this .
|
|
102
|
+
this .editors .set (panel .attr ("id"), this .videoRecorder);
|
|
103
103
|
break;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
@@ -276,6 +276,10 @@ module .exports = class AnimationEditor extends Interface
|
|
|
276
276
|
|
|
277
277
|
this .setSelection (selection);
|
|
278
278
|
|
|
279
|
+
// Visibility
|
|
280
|
+
|
|
281
|
+
document .addEventListener ("visibilitychange", () => this .visibility ());
|
|
282
|
+
|
|
279
283
|
// Setup
|
|
280
284
|
|
|
281
285
|
this .setup ();
|
|
@@ -296,6 +300,12 @@ module .exports = class AnimationEditor extends Interface
|
|
|
296
300
|
this .requestDrawTimeline ();
|
|
297
301
|
}
|
|
298
302
|
|
|
303
|
+
visibility ()
|
|
304
|
+
{
|
|
305
|
+
if (this .timeSensor)
|
|
306
|
+
this .timeSensor ._evenLive = !(document .webkitHidden ?? document .hidden);
|
|
307
|
+
}
|
|
308
|
+
|
|
299
309
|
isAnimation (node)
|
|
300
310
|
{
|
|
301
311
|
if (!node .getType () .includes (X3D .X3DConstants .Group))
|
|
@@ -396,6 +406,10 @@ module .exports = class AnimationEditor extends Interface
|
|
|
396
406
|
}
|
|
397
407
|
else
|
|
398
408
|
{
|
|
409
|
+
// TimeSensor
|
|
410
|
+
|
|
411
|
+
this .timeSensor = null;
|
|
412
|
+
|
|
399
413
|
// Show Animations List
|
|
400
414
|
|
|
401
415
|
this .updateMemberList ();
|
package/src/Editors/Console.js
CHANGED
|
@@ -16,13 +16,15 @@ module .exports = class Console extends Interface
|
|
|
16
16
|
{
|
|
17
17
|
super (`Sunrize.Console.${element .attr ("id")}.`);
|
|
18
18
|
|
|
19
|
+
this .console = element;
|
|
19
20
|
this .suspendConsole = false;
|
|
20
21
|
this .historyIndex = 0;
|
|
21
22
|
this .history = [ ];
|
|
22
23
|
this .addMessageCallback = this .addMessage .bind (this);
|
|
23
24
|
|
|
24
|
-
this .
|
|
25
|
-
|
|
25
|
+
this .left = $("<div></div>")
|
|
26
|
+
.addClass ("console-left")
|
|
27
|
+
.appendTo (this .console);
|
|
26
28
|
|
|
27
29
|
this .output = $("<div></div>")
|
|
28
30
|
.addClass (["console-output", "output"])
|
|
@@ -1843,7 +1843,7 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
|
|
|
1843
1843
|
executionContext = this .objects .get (executionContextId),
|
|
1844
1844
|
childNode = this .objects .get (nodeId),
|
|
1845
1845
|
defaultDirectory = $.try (() => path .dirname (url .fileURLToPath (executionContext .getWorldURL ()))),
|
|
1846
|
-
defaultPath = childNode .
|
|
1846
|
+
defaultPath = childNode .getDisplayName () && defaultDirectory ? path .join (defaultDirectory, `${childNode .getDisplayName ()}.x3d`) : defaultDirectory,
|
|
1847
1847
|
response = await electron .ipcRenderer .invoke ("file-path", { type: "save", defaultPath });
|
|
1848
1848
|
|
|
1849
1849
|
if (response .canceled)
|
|
@@ -3157,7 +3157,9 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
|
|
|
3157
3157
|
event .originalEvent .dataTransfer .dropEffect = "move";
|
|
3158
3158
|
|
|
3159
3159
|
if (sourceIndex == destinationIndex || sourceIndex + 1 == destinationIndex)
|
|
3160
|
-
{
|
|
3160
|
+
{
|
|
3161
|
+
;
|
|
3162
|
+
}
|
|
3161
3163
|
else if (sourceIndex < destinationIndex)
|
|
3162
3164
|
{
|
|
3163
3165
|
for (let i = sourceIndex + 1; i < destinationIndex; ++ i)
|
|
@@ -83,9 +83,13 @@ module .exports = new class SceneProperties extends Dialog
|
|
|
83
83
|
.width ("15px")
|
|
84
84
|
.append ($("<input></input>")
|
|
85
85
|
.attr ("type", "checkbox")
|
|
86
|
+
.attr ("id", `scene-properties-${component .name}`)
|
|
86
87
|
.attr ("component", component .name)
|
|
87
88
|
.on ("change", () => this .changeComponents ())))
|
|
88
|
-
.append ($("<td></td>")
|
|
89
|
+
.append ($("<td></td>")
|
|
90
|
+
.append ($("<label></label>")
|
|
91
|
+
.attr ("for", `scene-properties-${component .name}`)
|
|
92
|
+
.text (component .title)))
|
|
89
93
|
.append ($("<td></td>")
|
|
90
94
|
.width ("15px")
|
|
91
95
|
.append ($("<input></input>")
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
const
|
|
5
|
+
$ = require ("jquery"),
|
|
6
|
+
Interface = require ("../Application/Interface"),
|
|
7
|
+
electron = require ("electron"),
|
|
8
|
+
fs = require ("fs"),
|
|
9
|
+
_ = require ("../Application/GetText");
|
|
10
|
+
|
|
11
|
+
module .exports = class VideoRecorder extends Interface
|
|
12
|
+
{
|
|
13
|
+
static mimeTypes = [
|
|
14
|
+
["MP4", "video/mp4", "mp4"],
|
|
15
|
+
["WebM", "video/webm", "webm"],
|
|
16
|
+
["OGG", "video/ogg", "ogv"],
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
constructor (element)
|
|
20
|
+
{
|
|
21
|
+
super (`Sunrize.VideoRecorder.${element .attr ("id")}.`);
|
|
22
|
+
|
|
23
|
+
this .recorder = element;
|
|
24
|
+
|
|
25
|
+
this .left = $("<div></div>")
|
|
26
|
+
.addClass ("video-recorder-left")
|
|
27
|
+
.appendTo (this .recorder);
|
|
28
|
+
|
|
29
|
+
// Toolbar
|
|
30
|
+
|
|
31
|
+
this .toolbar = $("<div></div>")
|
|
32
|
+
.addClass (["toolbar", "vertical-toolbar", "secondary-toolbar", "video-recorder-toolbar"])
|
|
33
|
+
.appendTo (this .recorder);
|
|
34
|
+
|
|
35
|
+
this .setup ();
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
#desktop;
|
|
39
|
+
|
|
40
|
+
async initialize ()
|
|
41
|
+
{
|
|
42
|
+
this .#desktop = await electron .ipcRenderer .invoke ("path", "desktop");
|
|
43
|
+
|
|
44
|
+
// Toolbar
|
|
45
|
+
|
|
46
|
+
this .recordButton = $("<span></span>")
|
|
47
|
+
.addClass (["material-symbols-outlined"])
|
|
48
|
+
.attr ("title", _("Start recording."))
|
|
49
|
+
.text ("screen_record")
|
|
50
|
+
.on ("click", () => this .toggleRecord ())
|
|
51
|
+
.appendTo (this .toolbar);
|
|
52
|
+
|
|
53
|
+
this .settingsButton = $("<span></span>")
|
|
54
|
+
.addClass (["material-symbols-outlined"])
|
|
55
|
+
.attr ("title", _("Edit settings."))
|
|
56
|
+
.text ("settings")
|
|
57
|
+
.on ("click", () => this .showSettings ())
|
|
58
|
+
.appendTo (this .toolbar);
|
|
59
|
+
|
|
60
|
+
this .mimeTypeButton = $("<select></select>");
|
|
61
|
+
|
|
62
|
+
for (const [name, mimeType] of VideoRecorder .mimeTypes)
|
|
63
|
+
{
|
|
64
|
+
if (!MediaRecorder .isTypeSupported (mimeType))
|
|
65
|
+
continue;
|
|
66
|
+
|
|
67
|
+
$("<option></option>")
|
|
68
|
+
.text (name)
|
|
69
|
+
.val (mimeType)
|
|
70
|
+
.appendTo (this .mimeTypeButton);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
#record = false;
|
|
75
|
+
#timeoutId;
|
|
76
|
+
#mimeType;
|
|
77
|
+
#recorder;
|
|
78
|
+
#blob;
|
|
79
|
+
|
|
80
|
+
toggleRecord ()
|
|
81
|
+
{
|
|
82
|
+
if (this .#record)
|
|
83
|
+
this .stopRecord ();
|
|
84
|
+
else
|
|
85
|
+
this .startRecord ();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
async startRecord ()
|
|
89
|
+
{
|
|
90
|
+
const stream = this .browser .getElement () .captureStream (30);
|
|
91
|
+
|
|
92
|
+
this .#timeoutId = setTimeout (() => this .stopRecord (), 60_000);
|
|
93
|
+
this .#mimeType = this .mimeTypeButton .val ();
|
|
94
|
+
this .#recorder = new MediaRecorder (stream, { mimeType: this .#mimeType });
|
|
95
|
+
|
|
96
|
+
const chunks = [ ];
|
|
97
|
+
|
|
98
|
+
this .#recorder .addEventListener ("dataavailable", event =>
|
|
99
|
+
{
|
|
100
|
+
if (event .data .size > 0)
|
|
101
|
+
chunks .push (event .data);
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
this .#blob = new Promise (resolve =>
|
|
105
|
+
{
|
|
106
|
+
this .#recorder .addEventListener ("stop", () =>
|
|
107
|
+
{
|
|
108
|
+
resolve (new Blob (chunks, { type: this .#mimeType }));
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
this .#recorder .start ();
|
|
113
|
+
|
|
114
|
+
// Toggle State
|
|
115
|
+
|
|
116
|
+
this .#record = true;
|
|
117
|
+
|
|
118
|
+
this .recordButton .addClass ("active");
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
async stopRecord ()
|
|
122
|
+
{
|
|
123
|
+
clearTimeout (this .#timeoutId);
|
|
124
|
+
|
|
125
|
+
this .#recorder .stop ();
|
|
126
|
+
|
|
127
|
+
const
|
|
128
|
+
suffix = VideoRecorder .mimeTypes .find (([, mimeType]) => mimeType === this .#mimeType) [2],
|
|
129
|
+
blob = await this .#blob,
|
|
130
|
+
buffer = Buffer .from (await blob .arrayBuffer ());
|
|
131
|
+
|
|
132
|
+
fs .writeFileSync (`${this .#desktop}/test.${suffix}`, buffer);
|
|
133
|
+
|
|
134
|
+
// Toggle State
|
|
135
|
+
|
|
136
|
+
this .#record = false;
|
|
137
|
+
|
|
138
|
+
this .recordButton .removeClass ("active");
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
showSettings ()
|
|
142
|
+
{
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
};
|
|
@@ -7,7 +7,7 @@ const handler =
|
|
|
7
7
|
if (Reflect .has (target, key))
|
|
8
8
|
return Reflect .get (target, key);
|
|
9
9
|
|
|
10
|
-
const property = target .node
|
|
10
|
+
const property = Reflect .get (target .node, key);
|
|
11
11
|
|
|
12
12
|
if (typeof property === "function")
|
|
13
13
|
return property .bind (target .node);
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
border: 1px solid transparent !important;
|
|
82
82
|
border-radius: var(--window-tabs-height);
|
|
83
83
|
padding: 4px 6px 4px 9px !important;
|
|
84
|
-
color: var(--
|
|
84
|
+
color: var(--tabs-text-color);
|
|
85
85
|
font-family: var(--sans-serif);
|
|
86
86
|
box-shadow: none;
|
|
87
87
|
transition: background-color 200ms, border-color 200ms, color 200ms;
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
|
|
90
90
|
.etabs .tab:hover,
|
|
91
91
|
.etabs .tab.active {
|
|
92
|
-
background-color: var(--
|
|
92
|
+
background-color: var(--tabs-background-color);
|
|
93
93
|
border-color: var(--border-color) !important;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.etabs .tab.active {
|
|
97
|
-
color: var(--
|
|
97
|
+
color: var(--tabs-highlight-color);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.etabs .tab:focus {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
border: none;
|
|
126
126
|
border-radius: 4px;
|
|
127
127
|
background: none;
|
|
128
|
-
color: var(--
|
|
128
|
+
color: var(--tabs-text-color);
|
|
129
129
|
font-size: 18px;
|
|
130
130
|
top: 0px;
|
|
131
131
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@charset "utf-8";
|
|
2
2
|
@import url(media.css);
|
|
3
|
+
@import url(fonts.css);
|
|
3
4
|
@import url(definitions.css);
|
|
4
5
|
|
|
5
6
|
html {
|
|
@@ -54,17 +55,17 @@ body {
|
|
|
54
55
|
::-webkit-scrollbar-track, /* Track */
|
|
55
56
|
::-webkit-scrollbar-thumb:window-inactive, /* Handle */
|
|
56
57
|
::-webkit-scrollbar-corner { /* Corner */
|
|
57
|
-
background
|
|
58
|
+
background: none;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
/* Scrollbar Handle */
|
|
61
62
|
:hover::-webkit-scrollbar-thumb {
|
|
62
|
-
background
|
|
63
|
+
background: var(--scrollbar-thumb-color);
|
|
63
64
|
border-radius: var(--scrollbar-width);
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
:hover::-webkit-scrollbar-thumb:hover {
|
|
67
|
-
background
|
|
68
|
+
background: var(--scrollbar-thumb-color-hover);
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
/* https://developer.chrome.com/docs/css-ui/scrollbar-styling?hl=de */
|
|
@@ -75,16 +76,23 @@ body {
|
|
|
75
76
|
/* textarea resizer */
|
|
76
77
|
|
|
77
78
|
::-webkit-resizer {
|
|
78
|
-
background
|
|
79
|
+
background: none;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
:hover::-webkit-resizer {
|
|
82
|
-
background
|
|
83
|
+
background: var(--scrollbar-thumb-color);
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
/* inputs */
|
|
86
87
|
|
|
88
|
+
input[type=button] {
|
|
89
|
+
user-select: none;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
}
|
|
92
|
+
|
|
87
93
|
input[type=checkbox] {
|
|
94
|
+
user-select: none;
|
|
95
|
+
cursor: pointer;
|
|
88
96
|
accent-color: var(--system-green);
|
|
89
97
|
}
|
|
90
98
|
|
|
@@ -92,6 +100,16 @@ input[type=range] {
|
|
|
92
100
|
accent-color: var(--accent-color);
|
|
93
101
|
}
|
|
94
102
|
|
|
103
|
+
label[for] {
|
|
104
|
+
user-select: none;
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.button {
|
|
109
|
+
user-select: none;
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
}
|
|
112
|
+
|
|
95
113
|
/* common */
|
|
96
114
|
|
|
97
115
|
.green {
|
|
@@ -206,7 +224,8 @@ td > div {
|
|
|
206
224
|
tr.disabled ~ tr input,
|
|
207
225
|
tr.disabled ~ tr textarea,
|
|
208
226
|
tr.disabled ~ tr select,
|
|
209
|
-
tr.disabled ~ tr button
|
|
227
|
+
tr.disabled ~ tr button,
|
|
228
|
+
tr.disabled ~ tr label {
|
|
210
229
|
pointer-events: none;
|
|
211
230
|
}
|
|
212
231
|
|
|
@@ -738,6 +757,7 @@ body.light .qtip-tipsy {
|
|
|
738
757
|
font-family: var(--sans-serif);
|
|
739
758
|
font-size: var(--small-font-size);
|
|
740
759
|
font-weight: bold;
|
|
760
|
+
white-space: nowrap;
|
|
741
761
|
transition: visibility 300ms allow-discrete, opacity 300ms linear;
|
|
742
762
|
}
|
|
743
763
|
|
|
@@ -782,10 +802,6 @@ body.dark .dialog ::placeholder {
|
|
|
782
802
|
overflow-y: auto;
|
|
783
803
|
}
|
|
784
804
|
|
|
785
|
-
.scene-properties .button {
|
|
786
|
-
cursor: pointer;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
805
|
.scene-properties .drag {
|
|
790
806
|
cursor: move;
|
|
791
807
|
}
|
|
@@ -988,7 +1004,6 @@ body.dark .ui-widget .library-list .component {
|
|
|
988
1004
|
}
|
|
989
1005
|
|
|
990
1006
|
.node-list .button {
|
|
991
|
-
cursor: pointer;
|
|
992
1007
|
position: relative;
|
|
993
1008
|
top: 2px;
|
|
994
1009
|
font-size: var(--font-size);
|
|
@@ -1072,16 +1087,16 @@ body.dark .ui-widget .library-list .component {
|
|
|
1072
1087
|
|
|
1073
1088
|
#footer > .ui-tabs-nav .ui-tabs-anchor {
|
|
1074
1089
|
padding: 4px 30px 10px;
|
|
1075
|
-
color: var(--
|
|
1090
|
+
color: var(--tabs-text-color);
|
|
1076
1091
|
}
|
|
1077
1092
|
|
|
1078
1093
|
#footer > .ui-tabs-nav .ui-tabs-active .ui-tabs-anchor {
|
|
1079
|
-
color: var(--
|
|
1094
|
+
color: var(--tabs-highlight-color);
|
|
1080
1095
|
}
|
|
1081
1096
|
|
|
1082
1097
|
#footer > .ui-tabs-nav :is(li.ui-tabs-active, li:hover) {
|
|
1083
1098
|
border-color: var(--border-color);
|
|
1084
|
-
background-color: var(--
|
|
1099
|
+
background-color: var(--tabs-background-color);
|
|
1085
1100
|
}
|
|
1086
1101
|
|
|
1087
1102
|
#footer > .ui-tabs-nav li:not(.ui-tabs-active, :hover, :first-child)::before {
|
|
@@ -1262,7 +1277,7 @@ body.dark .ui-widget .library-list .component {
|
|
|
1262
1277
|
padding-left: 17px;
|
|
1263
1278
|
width: 100%;
|
|
1264
1279
|
height: 100%;
|
|
1265
|
-
background
|
|
1280
|
+
background: none;
|
|
1266
1281
|
color: var(--text-color);
|
|
1267
1282
|
resize: none;
|
|
1268
1283
|
border-right: 1px solid var(--border-color);
|
|
@@ -1325,6 +1340,7 @@ body.dark .ui-widget .library-list .component {
|
|
|
1325
1340
|
}
|
|
1326
1341
|
|
|
1327
1342
|
.console-search-status {
|
|
1343
|
+
user-select: none;
|
|
1328
1344
|
flex: 0 0 auto;
|
|
1329
1345
|
position: relative;
|
|
1330
1346
|
top: 10px;
|
|
@@ -1394,10 +1410,11 @@ body.light .console-output .selected {
|
|
|
1394
1410
|
.script-editor .node-name {
|
|
1395
1411
|
position: absolute;
|
|
1396
1412
|
bottom: 0px;
|
|
1413
|
+
border-bottom: 1px solid var(--border-color);
|
|
1397
1414
|
width: 100%;
|
|
1398
1415
|
height: var(--input-height);
|
|
1399
1416
|
border: none;
|
|
1400
|
-
|
|
1417
|
+
padding: 0px 5px;
|
|
1401
1418
|
background: none;
|
|
1402
1419
|
}
|
|
1403
1420
|
|
|
@@ -1493,7 +1510,8 @@ body.light .console-output .selected {
|
|
|
1493
1510
|
width: 100%;
|
|
1494
1511
|
height: var(--input-height);
|
|
1495
1512
|
border: none;
|
|
1496
|
-
|
|
1513
|
+
padding: 0px 5px;
|
|
1514
|
+
background: none;
|
|
1497
1515
|
}
|
|
1498
1516
|
|
|
1499
1517
|
.animation-editor .tracks {
|
|
@@ -1526,7 +1544,7 @@ body.light .console-output .selected {
|
|
|
1526
1544
|
|
|
1527
1545
|
#route-graph {
|
|
1528
1546
|
box-sizing: border-box;
|
|
1529
|
-
background: var(--
|
|
1547
|
+
background: var(--route-graph-background-color);
|
|
1530
1548
|
}
|
|
1531
1549
|
|
|
1532
1550
|
.route-graph-top {
|
|
@@ -1576,16 +1594,16 @@ body.light .console-output .selected {
|
|
|
1576
1594
|
margin: 0px 6px 0px 10px;
|
|
1577
1595
|
font-size: inherit;
|
|
1578
1596
|
font-family: inherit;
|
|
1579
|
-
color: var(--
|
|
1597
|
+
color: var(--tabs-text-color);
|
|
1580
1598
|
}
|
|
1581
1599
|
|
|
1582
1600
|
#route-graph .ui-tabs > .ui-tabs-nav .ui-tabs-active .ui-tabs-anchor {
|
|
1583
|
-
color: var(--
|
|
1601
|
+
color: var(--tabs-highlight-color);
|
|
1584
1602
|
}
|
|
1585
1603
|
|
|
1586
1604
|
#route-graph .ui-tabs > .ui-tabs-nav :is(li.ui-tabs-active, li:hover) {
|
|
1587
1605
|
border-color: var(--border-color);
|
|
1588
|
-
background-color: var(--
|
|
1606
|
+
background-color: var(--tabs-background-color);
|
|
1589
1607
|
}
|
|
1590
1608
|
|
|
1591
1609
|
#route-graph .ui-tabs > .ui-tabs-nav li:not(.ui-tabs-active, :hover, :first-child)::before {
|
|
@@ -1821,6 +1839,18 @@ body.light .console-output .selected {
|
|
|
1821
1839
|
height: 100%;
|
|
1822
1840
|
}
|
|
1823
1841
|
|
|
1842
|
+
/* Video Recorder */
|
|
1843
|
+
|
|
1844
|
+
.video-recorder-left {
|
|
1845
|
+
overflow: hidden;
|
|
1846
|
+
position: absolute;
|
|
1847
|
+
box-sizing: border-box;
|
|
1848
|
+
left: 0px;
|
|
1849
|
+
right: var(--toolbar-size);
|
|
1850
|
+
height: 100%;
|
|
1851
|
+
border-right: 1px solid var(--border-color);
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1824
1854
|
/* Sidebar */
|
|
1825
1855
|
|
|
1826
1856
|
#sidebar {
|
|
@@ -2240,7 +2270,6 @@ body.light .console-output .selected {
|
|
|
2240
2270
|
}
|
|
2241
2271
|
|
|
2242
2272
|
.scene-graph .button {
|
|
2243
|
-
cursor: pointer;
|
|
2244
2273
|
font-size: var(--font-size);
|
|
2245
2274
|
position: relative;
|
|
2246
2275
|
top: 2.5px;
|
|
@@ -2308,6 +2337,10 @@ body.light .console-output .selected {
|
|
|
2308
2337
|
border: var(--qtip-border);
|
|
2309
2338
|
}
|
|
2310
2339
|
|
|
2340
|
+
.tp-lblv_l, .tp-rotv_b, .tp-fldv_b, .tp-coltxtv_ms {
|
|
2341
|
+
color: var(--text-color) !important;
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2311
2344
|
.tp-lblv_v {
|
|
2312
2345
|
width: 185px !important;
|
|
2313
2346
|
}
|
|
@@ -1,130 +1,147 @@
|
|
|
1
1
|
@charset "utf-8";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
:root {
|
|
4
|
+
/* System Colors */
|
|
5
|
+
|
|
6
|
+
--system-red: rgb(255, 56, 60);
|
|
7
|
+
--system-orange: rgb(255, 141, 40);
|
|
8
|
+
--system-yellow: rgb(255, 204, 0);
|
|
9
|
+
--system-green: rgb(52, 199, 89);
|
|
10
|
+
--system-mint: rgb(0, 200, 179);
|
|
11
|
+
--system-teal: rgb(0, 195, 208);
|
|
12
|
+
--system-cyan: rgb(0, 192, 232);
|
|
13
|
+
--system-blue: rgb(0, 136, 255);
|
|
14
|
+
--system-indigo: rgb(88, 86, 214);
|
|
15
|
+
--system-purple: rgb(203, 48, 224);
|
|
16
|
+
--system-pink: rgb(255, 45, 85);
|
|
17
|
+
--system-brown: rgb(172, 127, 94);
|
|
18
|
+
|
|
19
|
+
--system-gray0: rgb(72, 72, 77);
|
|
20
|
+
--system-gray1: rgb(142, 142, 147);
|
|
21
|
+
--system-gray2: rgb(174, 174, 178);
|
|
22
|
+
--system-gray3: rgb(199, 199, 204);
|
|
23
|
+
--system-gray4: rgb(209, 209, 214);
|
|
24
|
+
--system-gray5: rgb(229, 229, 234);
|
|
25
|
+
--system-gray6: rgb(242, 242, 247);
|
|
26
|
+
--system-gray7: rgb(249, 249, 255);
|
|
27
|
+
--system-gray8: rgb(255, 255, 255);
|
|
13
28
|
|
|
14
|
-
|
|
15
|
-
font-family: "Roboto";
|
|
16
|
-
src: url(../fonts/Roboto/Roboto-Italic-VariableFont_wdth\,wght.ttf);
|
|
17
|
-
font-display: swap;
|
|
18
|
-
font-weight: 100 900;
|
|
19
|
-
font-stretch: 75% 125%;
|
|
20
|
-
font-style: italic;
|
|
21
|
-
font-optical-sizing: auto;
|
|
22
|
-
font-variation-settings: "wdth" 100;
|
|
23
|
-
}
|
|
29
|
+
/* Colors */
|
|
24
30
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
font-variation-settings: "wdth" 100;
|
|
34
|
-
}
|
|
31
|
+
--background-color: var(--system-gray6);
|
|
32
|
+
--text-color: var(--system-gray0);
|
|
33
|
+
--highlight-color: black;
|
|
34
|
+
--text-disabled: var(--system-gray2);
|
|
35
|
+
--border-color: var(--system-gray3);
|
|
36
|
+
--expander-color: var(--system-gray1);
|
|
37
|
+
--accent-color: var(--system-red);
|
|
38
|
+
--separator-color: var(--system-gray3);
|
|
35
39
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
font-stretch: 75% 125%;
|
|
42
|
-
font-style: italic;
|
|
43
|
-
font-optical-sizing: auto;
|
|
44
|
-
font-variation-settings: "wdth" 100;
|
|
45
|
-
}
|
|
40
|
+
--selection-color: black;
|
|
41
|
+
--selection-background-color: rgb(246, 196, 197);
|
|
42
|
+
--selection-range: rgba(0, 0, 0, 0.05);
|
|
43
|
+
--scrollbar-thumb-color: rgba(0, 0, 0, 0.2);
|
|
44
|
+
--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.4);
|
|
46
45
|
|
|
47
|
-
|
|
48
|
-
:
|
|
49
|
-
|
|
46
|
+
--secondary-toolbar-color: hsl(214, 35%, 90%);
|
|
47
|
+
--sidebar-background-color: hsl(211, 46%, 86%);
|
|
48
|
+
--tint-color1: rgba(255, 255, 255, 0.5);
|
|
49
|
+
--tint-color2: white;
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
--system-teal: rgb(0, 195, 208);
|
|
57
|
-
--system-cyan: rgb(0, 192, 232);
|
|
58
|
-
--system-blue: rgb(0, 136, 255);
|
|
59
|
-
--system-indigo: rgb(88, 86, 214);
|
|
60
|
-
--system-purple: rgb(203, 48, 224);
|
|
61
|
-
--system-pink: rgb(255, 45, 85);
|
|
62
|
-
--system-brown: rgb(172, 127, 94);
|
|
63
|
-
|
|
64
|
-
--system-gray0: rgb(72, 72, 77);
|
|
65
|
-
--system-gray1: rgb(142, 142, 147);
|
|
66
|
-
--system-gray2: rgb(174, 174, 178);
|
|
67
|
-
--system-gray3: rgb(199, 199, 204);
|
|
68
|
-
--system-gray4: rgb(209, 209, 214);
|
|
69
|
-
--system-gray5: rgb(229, 229, 234);
|
|
70
|
-
--system-gray6: rgb(242, 242, 247);
|
|
71
|
-
--system-gray7: rgb(249, 249, 255);
|
|
72
|
-
--system-gray8: rgb(255, 255, 255);
|
|
73
|
-
|
|
74
|
-
--selection-color: black;
|
|
75
|
-
--selection-background-color: rgb(246, 196, 197);
|
|
76
|
-
--selection-range: rgba(0, 0, 0, 0.05);
|
|
77
|
-
--scrollbar-thumb-color: rgba(0, 0, 0, 0.2);
|
|
78
|
-
--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.4);
|
|
51
|
+
--tabs-background-color: white;
|
|
52
|
+
--tabs-text-color: var(--text-color);
|
|
53
|
+
--tabs-highlight-color: var(--accent-color);
|
|
54
|
+
--tabs-height: 26px;
|
|
55
|
+
--window-tabs-height: 34px;
|
|
79
56
|
|
|
80
|
-
|
|
57
|
+
--topbar-height: 8px;
|
|
58
|
+
--toolbar-outer-radius: 15px;
|
|
59
|
+
--toolbar-inner-radius: calc(var(--toolbar-outer-radius) / 3 * 2);
|
|
60
|
+
--toolbar-size: 30px;
|
|
61
|
+
--icon-size: 23px;
|
|
62
|
+
--medium-icon-size: 18px;
|
|
63
|
+
--large-icon-size: 28px;
|
|
81
64
|
|
|
82
|
-
|
|
83
|
-
--filter-system-gray0: invert(36%) sepia(72%) saturate(11%) hue-rotate(222deg) brightness(95%) contrast(90%);
|
|
84
|
-
--filter-system-gray1: invert(63%) sepia(4%) saturate(334%) hue-rotate(201deg) brightness(89%) contrast(86%);
|
|
65
|
+
/* Filter Colors */
|
|
85
66
|
|
|
86
|
-
|
|
67
|
+
--filter-text-color: var(--filter-system-gray0);
|
|
68
|
+
--filter-highlight-color: var(--filter-system-grayZ);
|
|
69
|
+
--filter-accent-color: var(--filter-system-red);
|
|
87
70
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
--tint-color2: rgba(255, 255, 255, 0.6);
|
|
92
|
-
--tabs-icon-color: white;
|
|
71
|
+
--filter-system-red: invert(31%) sepia(82%) saturate(3000%) hue-rotate(344deg) brightness(115%) contrast(105%);
|
|
72
|
+
--filter-system-gray0: invert(36%) sepia(72%) saturate(11%) hue-rotate(222deg) brightness(95%) contrast(90%);
|
|
73
|
+
--filter-system-gray1: invert(63%) sepia(4%) saturate(334%) hue-rotate(201deg) brightness(89%) contrast(86%);
|
|
93
74
|
|
|
94
|
-
|
|
75
|
+
/* Fonts */
|
|
95
76
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
77
|
+
--sans-serif: Roboto, sans-serif;
|
|
78
|
+
--monospace: Roboto Mono, monospace;
|
|
79
|
+
--font-size: 10pt;
|
|
80
|
+
--large-font-size: 18pt;
|
|
81
|
+
--small-font-size: 8pt;
|
|
82
|
+
|
|
83
|
+
/*Qtip */
|
|
84
|
+
|
|
85
|
+
--qtip-shadow: var(--tool-shadow);
|
|
86
|
+
--qtip-border-radius: 12px;
|
|
87
|
+
|
|
88
|
+
--qtip-background-color: white;
|
|
89
|
+
--qtip-border: 1px solid var(--system-gray1);
|
|
90
|
+
--qtip-highlight-color: black;
|
|
91
|
+
|
|
92
|
+
/* TweakPanel colors */
|
|
93
|
+
|
|
94
|
+
--tp-base-border-radius: 12px;
|
|
95
|
+
--tp-container-background-color: white;
|
|
96
|
+
--tp-container-background-color-active: white;
|
|
97
|
+
--tp-container-background-color-focus: white;
|
|
98
|
+
--tp-container-background-color-hover: white;
|
|
99
|
+
--tp-base-background-color: var(--system-gray7);
|
|
100
|
+
--tp-base-shadow-color: hsla(0, 0%, 0%, 0.2);
|
|
101
|
+
--tp-container-foreground-color: hsl(230, 7%, 17%);
|
|
102
|
+
--tp-groove-foreground-color: hsl(230, 7%, 17%);
|
|
103
|
+
--tp-input-background-color: hsl(230, 7%, 92%);
|
|
104
|
+
--tp-input-background-color-active: hsl(230, 7%, 94%);
|
|
105
|
+
--tp-input-background-color-focus: hsl(230, 7%, 94%);
|
|
106
|
+
--tp-input-background-color-hover: hsl(230, 7%, 94%);
|
|
107
|
+
--tp-input-foreground-color: hsl(230, 7%, 17%);
|
|
108
|
+
--tp-button-background-color: var(--tp-input-background-color);
|
|
109
|
+
--tp-button-background-color-active: var(--tp-input-background-color-active);
|
|
110
|
+
--tp-button-background-color-focus: var(--tp-input-background-color-focus);
|
|
111
|
+
--tp-button-background-color-hover: var(--tp-input-background-color-hover);
|
|
112
|
+
--tp-button-foreground-color: var(--tp-input-foreground-color);
|
|
113
|
+
--tp-label-foreground-color: hsl(230, 7%, 17%);
|
|
114
|
+
--tp-monitor-background-color: var(--tp-input-background-color);
|
|
115
|
+
--tp-monitor-background-color-readonly: transparent;
|
|
116
|
+
--tp-monitor-background-color-active: var(--tp-input-background-color-active);
|
|
117
|
+
--tp-monitor-background-color-focus: var(--tp-input-background-color-focus);
|
|
118
|
+
--tp-monitor-background-color-hover: var(--tp-input-background-color-hover);
|
|
119
|
+
--tp-monitor-foreground-color: var(--tp-input-foreground-color);
|
|
120
|
+
|
|
121
|
+
/* Tools */
|
|
122
|
+
|
|
123
|
+
--tool-backdrop-filter: blur(25px);
|
|
124
|
+
--tool-background-color: color-mix(in srgb, var(--sidebar-background-color), transparent 20%);
|
|
125
|
+
--tool-border-radius: 12px;
|
|
126
|
+
--tool-border: 1px solid var(--system-gray8);
|
|
127
|
+
--tool-shadow: 3px 3px 9px rgba(0, 0, 0, 0.6);
|
|
128
|
+
|
|
129
|
+
--background-disabled: repeating-linear-gradient(
|
|
130
|
+
-45deg,
|
|
131
|
+
var(--tint-color1),
|
|
132
|
+
var(--tint-color1) 10px,
|
|
133
|
+
transparent 10px,
|
|
134
|
+
transparent 20px
|
|
135
|
+
);
|
|
136
|
+
|
|
137
|
+
/* Route Graph */
|
|
138
|
+
|
|
139
|
+
--route-graph-background-color: white;
|
|
123
140
|
}
|
|
124
141
|
|
|
125
142
|
@media (prefers-color-scheme: dark) {
|
|
126
143
|
:root {
|
|
127
|
-
/* Colors */
|
|
144
|
+
/* System Colors */
|
|
128
145
|
|
|
129
146
|
--system-red: rgb(255, 66, 69);
|
|
130
147
|
--system-orange: rgb(255, 146, 48);
|
|
@@ -155,19 +172,35 @@
|
|
|
155
172
|
--scrollbar-thumb-color: rgba(255, 255, 255, 0.2);
|
|
156
173
|
--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.4);
|
|
157
174
|
|
|
175
|
+
/* Colors */
|
|
176
|
+
|
|
177
|
+
--text-color: var(--system-gray1);
|
|
178
|
+
--highlight-color: var(--system-gray0);
|
|
179
|
+
--border-color: var(--system-gray8);
|
|
180
|
+
--expander-color: var(--system-gray8);
|
|
181
|
+
--filter-text-color: var(--filter-system-gray1);
|
|
182
|
+
--filter-highlight-color: var(--filter-system-gray0);
|
|
183
|
+
|
|
184
|
+
--secondary-toolbar-color: hsl(220, 9%, 17%);
|
|
185
|
+
--sidebar-background-color: hsl(217, 20%, 21%);
|
|
186
|
+
--tint-color1: rgba(0, 0, 0, 0.2);
|
|
187
|
+
--tint-color2: rgba(0, 0, 0, 0.4);
|
|
188
|
+
|
|
189
|
+
--tabs-background-color: var(--system-gray5);
|
|
190
|
+
--tabs-text-color: var(--text-color);
|
|
191
|
+
--tabs-highlight-color: var(--accent-color);
|
|
192
|
+
|
|
158
193
|
/* Filter Colors */
|
|
159
194
|
|
|
160
195
|
--filter-system-red: invert(69%) sepia(59%) saturate(6315%) hue-rotate(336deg) brightness(99%) contrast(108%);
|
|
161
196
|
--filter-system-gray0: invert(97%) sepia(2%) saturate(509%) hue-rotate(200deg) brightness(84%) contrast(94%);
|
|
162
197
|
--filter-system-gray1: invert(72%) sepia(0%) saturate(6315%) hue-rotate(205deg) brightness(81%) contrast(62%);
|
|
163
198
|
|
|
164
|
-
/*
|
|
199
|
+
/* Qtip */
|
|
165
200
|
|
|
166
|
-
--
|
|
167
|
-
--
|
|
168
|
-
--
|
|
169
|
-
--tint-color2: rgba(0, 0, 0, 0.4);
|
|
170
|
-
--tabs-icon-color: var(--system-gray6);
|
|
201
|
+
--qtip-background-color: black;
|
|
202
|
+
--qtip-border: 1px solid var(--system-gray4);
|
|
203
|
+
--qtip-highlight-color: white;
|
|
171
204
|
|
|
172
205
|
/* TweakPanel colors */
|
|
173
206
|
|
|
@@ -193,94 +226,6 @@
|
|
|
193
226
|
--tp-monitor-background-color-focus: var(--tp-input-background-color-focus);
|
|
194
227
|
--tp-monitor-background-color-hover: var(--tp-input-background-color-hover);
|
|
195
228
|
--tp-monitor-foreground-color: var(--tp-input-foreground-color);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
body {
|
|
200
|
-
/* Colors */
|
|
201
|
-
|
|
202
|
-
--background-color: var(--system-gray6);
|
|
203
|
-
--text-color: var(--system-gray0);
|
|
204
|
-
--highlight-color: black;
|
|
205
|
-
--text-disabled: var(--system-gray2);
|
|
206
|
-
--border-color: var(--system-gray3);
|
|
207
|
-
--expander-color: var(--system-gray1);
|
|
208
|
-
--accent-color: var(--system-red);
|
|
209
|
-
--separator-color: var(--system-gray3);
|
|
210
|
-
|
|
211
|
-
--window-tabs-background-color: hsl(206, 62%, 95%);
|
|
212
|
-
--window-tabs-text-color: var(--text-color);
|
|
213
|
-
--window-tabs-highlight-color: var(--accent-color);
|
|
214
|
-
|
|
215
|
-
--window-tabs-height: 34px;
|
|
216
|
-
--tabs-height: 26px;
|
|
217
|
-
|
|
218
|
-
--topbar-height: 8px;
|
|
219
|
-
--toolbar-outer-radius: 15px;
|
|
220
|
-
--toolbar-inner-radius: calc(var(--toolbar-outer-radius) / 3 * 2);
|
|
221
|
-
--toolbar-size: 30px;
|
|
222
|
-
--icon-size: 23px;
|
|
223
|
-
--medium-icon-size: 18px;
|
|
224
|
-
--large-icon-size: 28px;
|
|
225
|
-
|
|
226
|
-
/* Filter Colors */
|
|
227
|
-
|
|
228
|
-
--filter-text-color: var(--filter-system-gray0);
|
|
229
|
-
--filter-highlight-color: var(--filter-system-grayZ);
|
|
230
|
-
--filter-accent-color: var(--filter-system-red);
|
|
231
|
-
|
|
232
|
-
/* Fonts */
|
|
233
|
-
|
|
234
|
-
--sans-serif: Roboto, sans-serif;
|
|
235
|
-
--monospace: Roboto Mono, monospace;
|
|
236
|
-
--font-size: 10pt;
|
|
237
|
-
--large-font-size: 18pt;
|
|
238
|
-
--small-font-size: 8pt;
|
|
239
|
-
|
|
240
|
-
/* Tools */
|
|
241
|
-
|
|
242
|
-
--tool-backdrop-filter: blur(25px);
|
|
243
|
-
--tool-background-color: color-mix(in srgb, var(--sidebar-background-color), transparent 20%);
|
|
244
|
-
--tool-border-radius: 12px;
|
|
245
|
-
--tool-border: 1px solid var(--system-gray8);
|
|
246
|
-
--tool-shadow: 3px 3px 9px rgba(0, 0, 0, 0.6);
|
|
247
|
-
|
|
248
|
-
--background-disabled: repeating-linear-gradient(
|
|
249
|
-
-45deg,
|
|
250
|
-
var(--tint-color1),
|
|
251
|
-
var(--tint-color1) 10px,
|
|
252
|
-
transparent 10px,
|
|
253
|
-
transparent 20px
|
|
254
|
-
);
|
|
255
|
-
|
|
256
|
-
/*Qtip */
|
|
257
|
-
|
|
258
|
-
--qtip-shadow: var(--tool-shadow);
|
|
259
|
-
--qtip-border-radius: 12px;
|
|
260
|
-
|
|
261
|
-
--qtip-background-color: white;
|
|
262
|
-
--qtip-border: 1px solid var(--system-gray1);
|
|
263
|
-
--qtip-highlight-color: black;
|
|
264
|
-
|
|
265
|
-
/* Routing Editor */
|
|
266
|
-
|
|
267
|
-
--routes-background-color: white;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
@media (prefers-color-scheme: dark) {
|
|
271
|
-
body {
|
|
272
|
-
/* Colors */
|
|
273
|
-
|
|
274
|
-
--text-color: var(--system-gray1);
|
|
275
|
-
--highlight-color: var(--system-gray0);
|
|
276
|
-
--border-color: var(--system-gray8);
|
|
277
|
-
--expander-color: var(--system-gray8);
|
|
278
|
-
--filter-text-color: var(--filter-system-gray1);
|
|
279
|
-
--filter-highlight-color: var(--filter-system-gray0);
|
|
280
|
-
|
|
281
|
-
--window-tabs-background-color: var(--system-gray5);
|
|
282
|
-
--window-tabs-text-color: var(--text-color);
|
|
283
|
-
--window-tabs-highlight-color: var(--accent-color);
|
|
284
229
|
|
|
285
230
|
/* Tools */
|
|
286
231
|
|
|
@@ -288,14 +233,8 @@ body {
|
|
|
288
233
|
--tool-border: 1px solid var(--system-gray2);
|
|
289
234
|
--tool-shadow: 3px 3px 9px var(--system-gray8);
|
|
290
235
|
|
|
291
|
-
/*
|
|
292
|
-
|
|
293
|
-
--qtip-background-color: black;
|
|
294
|
-
--qtip-border: 1px solid var(--system-gray4);
|
|
295
|
-
--qtip-highlight-color: white;
|
|
296
|
-
|
|
297
|
-
/* Routing Editor */
|
|
236
|
+
/* Route Graph */
|
|
298
237
|
|
|
299
|
-
--
|
|
238
|
+
--route-graph-background-color: black;
|
|
300
239
|
}
|
|
301
240
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: "Roboto";
|
|
5
|
+
src: url(../fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf);
|
|
6
|
+
font-display: swap;
|
|
7
|
+
font-weight: 100 900;
|
|
8
|
+
font-stretch: 75% 125%;
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-optical-sizing: auto;
|
|
11
|
+
font-variation-settings: "wdth" 100;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: "Roboto";
|
|
16
|
+
src: url(../fonts/Roboto/Roboto-Italic-VariableFont_wdth\,wght.ttf);
|
|
17
|
+
font-display: swap;
|
|
18
|
+
font-weight: 100 900;
|
|
19
|
+
font-stretch: 75% 125%;
|
|
20
|
+
font-style: italic;
|
|
21
|
+
font-optical-sizing: auto;
|
|
22
|
+
font-variation-settings: "wdth" 100;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@font-face {
|
|
26
|
+
font-family: "Roboto Mono";
|
|
27
|
+
src: url(../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
|
|
28
|
+
font-display: swap;
|
|
29
|
+
font-weight: 100 900;
|
|
30
|
+
font-stretch: 75% 125%;
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-optical-sizing: auto;
|
|
33
|
+
font-variation-settings: "wdth" 100;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: "Roboto Mono";
|
|
38
|
+
src: url(../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf);
|
|
39
|
+
font-display: swap;
|
|
40
|
+
font-weight: 100 900;
|
|
41
|
+
font-stretch: 75% 125%;
|
|
42
|
+
font-style: italic;
|
|
43
|
+
font-optical-sizing: auto;
|
|
44
|
+
font-variation-settings: "wdth" 100;
|
|
45
|
+
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
$ = require ("jquery"),
|
|
6
|
-
electron = require ("electron"),
|
|
7
|
-
Interface = require ("../Application/Interface"),
|
|
8
|
-
util = require ("util"),
|
|
9
|
-
_ = require ("../Application/GetText");
|
|
10
|
-
|
|
11
|
-
module .exports = class MediaRecorder extends Interface
|
|
12
|
-
{
|
|
13
|
-
constructor (element)
|
|
14
|
-
{
|
|
15
|
-
super (`Sunrize.MediaRecorder.${element .attr ("id")}.`);
|
|
16
|
-
|
|
17
|
-
this .recorder = element;
|
|
18
|
-
|
|
19
|
-
// Toolbar
|
|
20
|
-
|
|
21
|
-
this .toolbar = $("<div></div>")
|
|
22
|
-
.addClass (["toolbar", "vertical-toolbar", "secondary-toolbar", "media-recorder-toolbar"])
|
|
23
|
-
.appendTo (this .recorder);
|
|
24
|
-
|
|
25
|
-
this .setup ();
|
|
26
|
-
}
|
|
27
|
-
};
|