sunrize 2.1.20 → 2.2.0
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 +6 -6
- package/src/Application/Application.js +14 -15
- package/src/Application/Document.js +113 -60
- package/src/Application/Interface.js +1 -1
- package/src/Application/Tabs.js +377 -48
- package/src/Controls/AddPrototypePopover.js +2 -1
- package/src/Controls/AnimationPropertiesPopover.js +3 -4
- package/src/Controls/EditNodePopover.js +4 -1
- package/src/Controls/EditUserDefinedFieldPopover.js +4 -1
- package/src/Controls/ExportNodePopover.js +3 -1
- package/src/Controls/ImportNodePopover.js +3 -1
- package/src/Editors/AnimationEditor.js +8 -3
- package/src/Editors/BrowserFrame.js +44 -30
- package/src/Editors/NodeList.js +2 -2
- package/src/Editors/SceneProperties.js +7 -3
- package/src/Editors/ScriptEditor.js +1 -0
- package/src/Tools/Core/X3DPrototypeInstanceTool.js +2 -0
- package/src/Tools/Grids/AxonometricGridTool.js +1 -1
- package/src/Tools/Grids/X3DGridNodeTool.js +7 -13
- package/src/Tools/Rendering/X3DGeometryNodeTool.x3d +6 -7
- package/src/Tools/Shaders/ToolShader.x3d +13 -6
- package/src/Undo/Editor.js +81 -79
- package/src/assets/html/application-template.html +95 -27
- package/src/assets/html/application.html +95 -27
- package/src/assets/images/seti/audio.svg +44 -0
- package/src/assets/images/seti/default.svg +36 -0
- package/src/assets/images/seti/html.svg +37 -0
- package/src/assets/images/seti/image.svg +37 -0
- package/src/assets/images/seti/json.svg +37 -0
- package/src/assets/images/seti/obj.svg +50 -0
- package/src/assets/images/seti/others.svg +50 -0
- package/src/assets/images/seti/ply.svg +50 -0
- package/src/assets/images/seti/sog.svg +57 -0
- package/src/assets/images/seti/spz.svg +57 -0
- package/src/assets/images/seti/stl.svg +50 -0
- package/src/assets/images/seti/svg.svg +41 -0
- package/src/assets/images/seti/video.svg +36 -0
- package/src/assets/images/seti/vrml.svg +34 -0
- package/src/assets/themes/default.css +12 -1
- package/src/assets/themes/system-colors.css +4 -9
package/src/Undo/Editor.js
CHANGED
|
@@ -583,10 +583,8 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
583
583
|
newURL .push (encodeURI (relativePath));
|
|
584
584
|
continue;
|
|
585
585
|
}
|
|
586
|
-
catch
|
|
587
|
-
{
|
|
588
|
-
// console .log (error)
|
|
589
|
-
}
|
|
586
|
+
catch
|
|
587
|
+
{ }
|
|
590
588
|
|
|
591
589
|
newURL .push (fileURL);
|
|
592
590
|
}
|
|
@@ -1915,12 +1913,14 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
1915
1913
|
*
|
|
1916
1914
|
* @param {X3DBrowser} browser
|
|
1917
1915
|
* @param {UndoManager} undoManager
|
|
1916
|
+
* @returns X3DNode | null
|
|
1918
1917
|
*/
|
|
1919
|
-
static
|
|
1918
|
+
static getLayerConfigNode (browser, create = false, undoManager = UndoManager .shared)
|
|
1920
1919
|
{
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1920
|
+
if (browser .getActiveLayer () === browser .getWorld () .getLayerSet () .getLayer0 ())
|
|
1921
|
+
return this .getConfigNode (browser .currentScene, create, undoManager);
|
|
1922
|
+
|
|
1923
|
+
return browser .getActiveLayer ();
|
|
1924
1924
|
}
|
|
1925
1925
|
|
|
1926
1926
|
/**
|
|
@@ -1928,7 +1928,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
1928
1928
|
* @param {X3DExecutionContext} executionContext
|
|
1929
1929
|
* @param {UndoManager} undoManager
|
|
1930
1930
|
*/
|
|
1931
|
-
static
|
|
1931
|
+
static getConfigNode (executionContext, create = false, undoManager = UndoManager .shared)
|
|
1932
1932
|
{
|
|
1933
1933
|
if (executionContext .getWorldInfos () .length)
|
|
1934
1934
|
return executionContext .getWorldInfos () .at (-1) .getValue ();
|
|
@@ -1939,6 +1939,72 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
1939
1939
|
return null;
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
|
+
/**
|
|
1943
|
+
*
|
|
1944
|
+
* @param {X3DExecutionContext} executionContext
|
|
1945
|
+
* @param {X3DNode} node
|
|
1946
|
+
* @param {string} path
|
|
1947
|
+
* @param {X3DField} value
|
|
1948
|
+
* @param {UndoManager} undoManager
|
|
1949
|
+
*/
|
|
1950
|
+
static setNodeMetaData (node, path, value, undoManager = UndoManager .shared)
|
|
1951
|
+
{
|
|
1952
|
+
node = node .valueOf ();
|
|
1953
|
+
|
|
1954
|
+
const
|
|
1955
|
+
hasValue = node .hasMetaData (path),
|
|
1956
|
+
oldValue = node .getMetaData (path, value .create ());
|
|
1957
|
+
|
|
1958
|
+
undoManager .beginUndo (_("Change Metadata of Node %s"), node .getTypeName ());
|
|
1959
|
+
|
|
1960
|
+
node .setMetaData (path, value);
|
|
1961
|
+
|
|
1962
|
+
undoManager .registerUndo (() =>
|
|
1963
|
+
{
|
|
1964
|
+
if (hasValue)
|
|
1965
|
+
this .setNodeMetaData (node, path, oldValue, undoManager);
|
|
1966
|
+
else
|
|
1967
|
+
this .removeNodeMetaData (node, path, oldValue, undoManager);
|
|
1968
|
+
});
|
|
1969
|
+
|
|
1970
|
+
this .requestUpdateInstances (node, undoManager);
|
|
1971
|
+
|
|
1972
|
+
undoManager .endUndo ();
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
*
|
|
1977
|
+
* @param {X3DExecutionContext} executionContext
|
|
1978
|
+
* @param {X3DNode} node
|
|
1979
|
+
* @param {string} path
|
|
1980
|
+
* @param {X3DField} type
|
|
1981
|
+
* @param {UndoManager} undoManager
|
|
1982
|
+
*/
|
|
1983
|
+
static removeNodeMetaData (node, path, type, undoManager = UndoManager .shared)
|
|
1984
|
+
{
|
|
1985
|
+
node = node .valueOf ();
|
|
1986
|
+
|
|
1987
|
+
const hasValue = node .hasMetaData (path);
|
|
1988
|
+
|
|
1989
|
+
if (!hasValue)
|
|
1990
|
+
return;
|
|
1991
|
+
|
|
1992
|
+
const oldValue = node .getMetaData (path, type .create ());
|
|
1993
|
+
|
|
1994
|
+
undoManager .beginUndo (_("Change Metadata of Node %s"), node .getTypeName ());
|
|
1995
|
+
|
|
1996
|
+
node .removeMetaData (path);
|
|
1997
|
+
|
|
1998
|
+
undoManager .registerUndo (() =>
|
|
1999
|
+
{
|
|
2000
|
+
this .setNodeMetaData (node, path, oldValue, undoManager);
|
|
2001
|
+
});
|
|
2002
|
+
|
|
2003
|
+
this .requestUpdateInstances (node, undoManager);
|
|
2004
|
+
|
|
2005
|
+
undoManager .endUndo ();
|
|
2006
|
+
}
|
|
2007
|
+
|
|
1942
2008
|
/**
|
|
1943
2009
|
*
|
|
1944
2010
|
* @param {X3DExecutionContext} executionContext
|
|
@@ -2202,8 +2268,6 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
2202
2268
|
}
|
|
2203
2269
|
}
|
|
2204
2270
|
}
|
|
2205
|
-
|
|
2206
|
-
this .updateInstances (proto, undoManager);
|
|
2207
2271
|
}
|
|
2208
2272
|
else // Script node
|
|
2209
2273
|
{
|
|
@@ -2245,6 +2309,9 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
2245
2309
|
}
|
|
2246
2310
|
}
|
|
2247
2311
|
|
|
2312
|
+
if (node instanceof X3D .X3DProtoDeclaration)
|
|
2313
|
+
this .updateInstances (node, undoManager);
|
|
2314
|
+
|
|
2248
2315
|
undoManager .registerUndo (() =>
|
|
2249
2316
|
{
|
|
2250
2317
|
this .#changeAccessType (executionContext, node, field, oldAccessType, undoManager);
|
|
@@ -2363,8 +2430,6 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
2363
2430
|
}
|
|
2364
2431
|
}
|
|
2365
2432
|
}
|
|
2366
|
-
|
|
2367
|
-
this .updateInstances (proto, undoManager);
|
|
2368
2433
|
}
|
|
2369
2434
|
else
|
|
2370
2435
|
{
|
|
@@ -2408,6 +2473,9 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
2408
2473
|
for (const field of fields)
|
|
2409
2474
|
node .addUserDefinedField (field .getAccessType (), field .getName (), field);
|
|
2410
2475
|
|
|
2476
|
+
if (node instanceof X3D .X3DProtoDeclaration)
|
|
2477
|
+
this .updateInstances (node, undoManager);
|
|
2478
|
+
|
|
2411
2479
|
//
|
|
2412
2480
|
|
|
2413
2481
|
undoManager .registerUndo (() =>
|
|
@@ -2956,72 +3024,6 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
2956
3024
|
return modelMatrices;
|
|
2957
3025
|
}
|
|
2958
3026
|
|
|
2959
|
-
/**
|
|
2960
|
-
*
|
|
2961
|
-
* @param {X3DExecutionContext} executionContext
|
|
2962
|
-
* @param {X3DNode} node
|
|
2963
|
-
* @param {string} path
|
|
2964
|
-
* @param {X3DField} value
|
|
2965
|
-
* @param {UndoManager} undoManager
|
|
2966
|
-
*/
|
|
2967
|
-
static setNodeMetaData (node, path, value, undoManager = UndoManager .shared)
|
|
2968
|
-
{
|
|
2969
|
-
node = node .valueOf ();
|
|
2970
|
-
|
|
2971
|
-
const
|
|
2972
|
-
hasValue = node .hasMetaData (path),
|
|
2973
|
-
oldValue = node .getMetaData (path, value .create ());
|
|
2974
|
-
|
|
2975
|
-
undoManager .beginUndo (_("Change Metadata of Node %s"), node .getTypeName ());
|
|
2976
|
-
|
|
2977
|
-
node .setMetaData (path, value);
|
|
2978
|
-
|
|
2979
|
-
undoManager .registerUndo (() =>
|
|
2980
|
-
{
|
|
2981
|
-
if (hasValue)
|
|
2982
|
-
this .setNodeMetaData (node, path, oldValue, undoManager);
|
|
2983
|
-
else
|
|
2984
|
-
this .removeNodeMetaData (node, path, oldValue, undoManager);
|
|
2985
|
-
});
|
|
2986
|
-
|
|
2987
|
-
this .requestUpdateInstances (node, undoManager);
|
|
2988
|
-
|
|
2989
|
-
undoManager .endUndo ();
|
|
2990
|
-
}
|
|
2991
|
-
|
|
2992
|
-
/**
|
|
2993
|
-
*
|
|
2994
|
-
* @param {X3DExecutionContext} executionContext
|
|
2995
|
-
* @param {X3DNode} node
|
|
2996
|
-
* @param {string} path
|
|
2997
|
-
* @param {X3DField} type
|
|
2998
|
-
* @param {UndoManager} undoManager
|
|
2999
|
-
*/
|
|
3000
|
-
static removeNodeMetaData (node, path, type, undoManager = UndoManager .shared)
|
|
3001
|
-
{
|
|
3002
|
-
node = node .valueOf ();
|
|
3003
|
-
|
|
3004
|
-
const hasValue = node .hasMetaData (path);
|
|
3005
|
-
|
|
3006
|
-
if (!hasValue)
|
|
3007
|
-
return;
|
|
3008
|
-
|
|
3009
|
-
const oldValue = node .getMetaData (path, type .create ());
|
|
3010
|
-
|
|
3011
|
-
undoManager .beginUndo (_("Change Metadata of Node %s"), node .getTypeName ());
|
|
3012
|
-
|
|
3013
|
-
node .removeMetaData (path);
|
|
3014
|
-
|
|
3015
|
-
undoManager .registerUndo (() =>
|
|
3016
|
-
{
|
|
3017
|
-
this .setNodeMetaData (node, path, oldValue, undoManager);
|
|
3018
|
-
});
|
|
3019
|
-
|
|
3020
|
-
this .requestUpdateInstances (node, undoManager);
|
|
3021
|
-
|
|
3022
|
-
undoManager .endUndo ();
|
|
3023
|
-
}
|
|
3024
|
-
|
|
3025
3027
|
/**
|
|
3026
3028
|
*
|
|
3027
3029
|
* @param {X3DExecutionContext} executionContext
|
|
@@ -7,9 +7,15 @@
|
|
|
7
7
|
<body>
|
|
8
8
|
<tab-group sortable="true">
|
|
9
9
|
<style>
|
|
10
|
+
@import url(../themes/media.css);
|
|
11
|
+
|
|
12
|
+
.material-symbols-outlined {
|
|
13
|
+
font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
|
|
14
|
+
}
|
|
15
|
+
|
|
10
16
|
::-webkit-scrollbar {
|
|
11
17
|
width: 8px;
|
|
12
|
-
height:
|
|
18
|
+
height: 4px;
|
|
13
19
|
}
|
|
14
20
|
|
|
15
21
|
::-webkit-scrollbar-track, /* Track */
|
|
@@ -21,6 +27,15 @@
|
|
|
21
27
|
/* Handle */
|
|
22
28
|
::-webkit-scrollbar-thumb {
|
|
23
29
|
background-color: var(--scrollbar-thumb-color);
|
|
30
|
+
border-radius: 2px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:hover::-webkit-scrollbar-thumb {
|
|
34
|
+
background-color: var(--scrollbar-thumb-color-hover);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.etabs .buttons {
|
|
38
|
+
display: none;
|
|
24
39
|
}
|
|
25
40
|
|
|
26
41
|
.etabs .nav {
|
|
@@ -33,60 +48,113 @@
|
|
|
33
48
|
white-space: nowrap;
|
|
34
49
|
}
|
|
35
50
|
|
|
51
|
+
.etabs .tab:not(.active, :hover, :focus, :first-child)::before {
|
|
52
|
+
content: "•";
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 9px;
|
|
55
|
+
left: -3px;
|
|
56
|
+
color: var(--text-disabled);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.etabs .tab:is(.active, :hover, :focus) + .tab::before {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
36
63
|
.etabs .tab {
|
|
37
|
-
background:
|
|
38
|
-
border
|
|
39
|
-
|
|
64
|
+
background: none;
|
|
65
|
+
border: 1px solid transparent !important;
|
|
66
|
+
border-radius: var(--window-tabs-height);
|
|
67
|
+
padding: 4px 6px 4px 9px !important;
|
|
40
68
|
color: var(--window-tabs-text-color);
|
|
41
69
|
font-family: var(--sans-serif);
|
|
42
70
|
box-shadow: none;
|
|
71
|
+
transition: background-color 200ms, border-color 200ms, color 200ms;
|
|
43
72
|
}
|
|
44
73
|
|
|
45
|
-
.etabs .tab:
|
|
46
|
-
|
|
74
|
+
.etabs .tab:hover,
|
|
75
|
+
.etabs .tab.active {
|
|
76
|
+
background-color: var(--window-tabs-background-color);
|
|
77
|
+
border-color: var(--border-color) !important;
|
|
47
78
|
}
|
|
48
79
|
|
|
49
80
|
.etabs .tab.active {
|
|
50
|
-
z-index: 1100;
|
|
51
|
-
background: var(--background-color);
|
|
52
81
|
color: var(--window-tabs-highlight-color);
|
|
53
82
|
}
|
|
54
83
|
|
|
55
|
-
.etabs
|
|
56
|
-
|
|
57
|
-
content: "";
|
|
58
|
-
position: relative;
|
|
59
|
-
display: block;
|
|
60
|
-
height: 1px;
|
|
61
|
-
width: 100%;
|
|
62
|
-
box-shadow: var(--tabs-shadow);
|
|
84
|
+
.etabs .tab:focus {
|
|
85
|
+
border-color: var(--system-blue) !important;
|
|
63
86
|
}
|
|
64
87
|
|
|
65
|
-
.etabs .
|
|
66
|
-
|
|
88
|
+
.etabs .tab-icon {
|
|
89
|
+
width: 16px;
|
|
90
|
+
height: 16px;
|
|
91
|
+
transform: scale(1.4);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.etabs .tab-icon img {
|
|
95
|
+
width: 16px;
|
|
96
|
+
height: 16px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.etabs .tab-title {
|
|
100
|
+
margin-left: 5px;
|
|
67
101
|
}
|
|
68
102
|
|
|
69
|
-
.etabs .
|
|
70
|
-
.etabs .tab-
|
|
103
|
+
.etabs .tab-audio,
|
|
104
|
+
.etabs .tab-pin,
|
|
105
|
+
.etabs .tab-close,
|
|
106
|
+
.etabs .tab-close button {
|
|
107
|
+
appearance: none;
|
|
108
|
+
position: relative;
|
|
109
|
+
border: none;
|
|
110
|
+
border-radius: 4px;
|
|
71
111
|
background: none;
|
|
112
|
+
color: var(--window-tabs-text-color);
|
|
113
|
+
font-size: 18px;
|
|
114
|
+
top: 0px;
|
|
72
115
|
}
|
|
73
116
|
|
|
74
|
-
|
|
117
|
+
@media (prefers-color-scheme: light) {
|
|
118
|
+
.etabs .tab-audio:hover,
|
|
119
|
+
.etabs .tab-close:hover,
|
|
120
|
+
.etabs .tab-close:hover button {
|
|
121
|
+
background-color: var(--system-gray4);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.etabs .tab-audio:hover,
|
|
126
|
+
.etabs .tab-close:hover,
|
|
75
127
|
.etabs .tab-close:hover button {
|
|
76
128
|
color: var(--system-gray0);
|
|
77
129
|
}
|
|
78
130
|
|
|
79
|
-
.etabs .tab-
|
|
80
|
-
|
|
131
|
+
.etabs .tab-pin,
|
|
132
|
+
.etabs .tab-audio {
|
|
133
|
+
display: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.etabs .tab:not(.active) .tab-audio {
|
|
137
|
+
display: none !important;
|
|
81
138
|
}
|
|
82
139
|
|
|
83
|
-
.etabs .tab.active .tab-close button,
|
|
84
|
-
|
|
85
|
-
visibility: visible;
|
|
140
|
+
.etabs .tab:not(.active, :hover, :focus) :where(.tab-close button, .tab-audio, .tab-pin) {
|
|
141
|
+
color: var(--text-disabled);
|
|
86
142
|
}
|
|
87
143
|
|
|
144
|
+
.etabs .tab-audio {
|
|
145
|
+
margin-right: -3px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.etabs .tab-audio,
|
|
149
|
+
.etabs .tab-pin,
|
|
88
150
|
.etabs .tab-close {
|
|
89
|
-
margin-left:
|
|
151
|
+
margin-left: 5px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.etabs .tab-pin span {
|
|
155
|
+
margin-right: 2px;
|
|
156
|
+
font-size: inherit;
|
|
157
|
+
transform: rotate(45deg);
|
|
90
158
|
}
|
|
91
159
|
</style>
|
|
92
160
|
</tab-group>
|
|
@@ -7,9 +7,15 @@
|
|
|
7
7
|
<body>
|
|
8
8
|
<tab-group sortable="true">
|
|
9
9
|
<style>
|
|
10
|
+
@import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/media.css);
|
|
11
|
+
|
|
12
|
+
.material-symbols-outlined {
|
|
13
|
+
font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
|
|
14
|
+
}
|
|
15
|
+
|
|
10
16
|
::-webkit-scrollbar {
|
|
11
17
|
width: 8px;
|
|
12
|
-
height:
|
|
18
|
+
height: 4px;
|
|
13
19
|
}
|
|
14
20
|
|
|
15
21
|
::-webkit-scrollbar-track, /* Track */
|
|
@@ -21,6 +27,15 @@
|
|
|
21
27
|
/* Handle */
|
|
22
28
|
::-webkit-scrollbar-thumb {
|
|
23
29
|
background-color: var(--scrollbar-thumb-color);
|
|
30
|
+
border-radius: 2px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:hover::-webkit-scrollbar-thumb {
|
|
34
|
+
background-color: var(--scrollbar-thumb-color-hover);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.etabs .buttons {
|
|
38
|
+
display: none;
|
|
24
39
|
}
|
|
25
40
|
|
|
26
41
|
.etabs .nav {
|
|
@@ -33,60 +48,113 @@
|
|
|
33
48
|
white-space: nowrap;
|
|
34
49
|
}
|
|
35
50
|
|
|
51
|
+
.etabs .tab:not(.active, :hover, :focus, :first-child)::before {
|
|
52
|
+
content: "•";
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 9px;
|
|
55
|
+
left: -3px;
|
|
56
|
+
color: var(--text-disabled);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.etabs .tab:is(.active, :hover, :focus) + .tab::before {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
36
63
|
.etabs .tab {
|
|
37
|
-
background:
|
|
38
|
-
border
|
|
39
|
-
|
|
64
|
+
background: none;
|
|
65
|
+
border: 1px solid transparent !important;
|
|
66
|
+
border-radius: var(--window-tabs-height);
|
|
67
|
+
padding: 4px 6px 4px 9px !important;
|
|
40
68
|
color: var(--window-tabs-text-color);
|
|
41
69
|
font-family: var(--sans-serif);
|
|
42
70
|
box-shadow: none;
|
|
71
|
+
transition: background-color 200ms, border-color 200ms, color 200ms;
|
|
43
72
|
}
|
|
44
73
|
|
|
45
|
-
.etabs .tab:
|
|
46
|
-
|
|
74
|
+
.etabs .tab:hover,
|
|
75
|
+
.etabs .tab.active {
|
|
76
|
+
background-color: var(--window-tabs-background-color);
|
|
77
|
+
border-color: var(--border-color) !important;
|
|
47
78
|
}
|
|
48
79
|
|
|
49
80
|
.etabs .tab.active {
|
|
50
|
-
z-index: 1100;
|
|
51
|
-
background: var(--background-color);
|
|
52
81
|
color: var(--window-tabs-highlight-color);
|
|
53
82
|
}
|
|
54
83
|
|
|
55
|
-
.etabs
|
|
56
|
-
|
|
57
|
-
content: "";
|
|
58
|
-
position: relative;
|
|
59
|
-
display: block;
|
|
60
|
-
height: 1px;
|
|
61
|
-
width: 100%;
|
|
62
|
-
box-shadow: var(--tabs-shadow);
|
|
84
|
+
.etabs .tab:focus {
|
|
85
|
+
border-color: var(--system-blue) !important;
|
|
63
86
|
}
|
|
64
87
|
|
|
65
|
-
.etabs .
|
|
66
|
-
|
|
88
|
+
.etabs .tab-icon {
|
|
89
|
+
width: 16px;
|
|
90
|
+
height: 16px;
|
|
91
|
+
transform: scale(1.4);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.etabs .tab-icon img {
|
|
95
|
+
width: 16px;
|
|
96
|
+
height: 16px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.etabs .tab-title {
|
|
100
|
+
margin-left: 5px;
|
|
67
101
|
}
|
|
68
102
|
|
|
69
|
-
.etabs .
|
|
70
|
-
.etabs .tab-
|
|
103
|
+
.etabs .tab-audio,
|
|
104
|
+
.etabs .tab-pin,
|
|
105
|
+
.etabs .tab-close,
|
|
106
|
+
.etabs .tab-close button {
|
|
107
|
+
appearance: none;
|
|
108
|
+
position: relative;
|
|
109
|
+
border: none;
|
|
110
|
+
border-radius: 4px;
|
|
71
111
|
background: none;
|
|
112
|
+
color: var(--window-tabs-text-color);
|
|
113
|
+
font-size: 18px;
|
|
114
|
+
top: 0px;
|
|
72
115
|
}
|
|
73
116
|
|
|
74
|
-
|
|
117
|
+
@media (prefers-color-scheme: light) {
|
|
118
|
+
.etabs .tab-audio:hover,
|
|
119
|
+
.etabs .tab-close:hover,
|
|
120
|
+
.etabs .tab-close:hover button {
|
|
121
|
+
background-color: var(--system-gray4);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.etabs .tab-audio:hover,
|
|
126
|
+
.etabs .tab-close:hover,
|
|
75
127
|
.etabs .tab-close:hover button {
|
|
76
128
|
color: var(--system-gray0);
|
|
77
129
|
}
|
|
78
130
|
|
|
79
|
-
.etabs .tab-
|
|
80
|
-
|
|
131
|
+
.etabs .tab-pin,
|
|
132
|
+
.etabs .tab-audio {
|
|
133
|
+
display: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.etabs .tab:not(.active) .tab-audio {
|
|
137
|
+
display: none !important;
|
|
81
138
|
}
|
|
82
139
|
|
|
83
|
-
.etabs .tab.active .tab-close button,
|
|
84
|
-
|
|
85
|
-
visibility: visible;
|
|
140
|
+
.etabs .tab:not(.active, :hover, :focus) :where(.tab-close button, .tab-audio, .tab-pin) {
|
|
141
|
+
color: var(--text-disabled);
|
|
86
142
|
}
|
|
87
143
|
|
|
144
|
+
.etabs .tab-audio {
|
|
145
|
+
margin-right: -3px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.etabs .tab-audio,
|
|
149
|
+
.etabs .tab-pin,
|
|
88
150
|
.etabs .tab-close {
|
|
89
|
-
margin-left:
|
|
151
|
+
margin-left: 5px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.etabs .tab-pin span {
|
|
155
|
+
margin-right: 2px;
|
|
156
|
+
font-size: inherit;
|
|
157
|
+
transform: rotate(45deg);
|
|
90
158
|
}
|
|
91
159
|
</style>
|
|
92
160
|
</tab-group>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
viewBox="0 0 32 32"
|
|
4
|
+
version="1.1"
|
|
5
|
+
id="svg3"
|
|
6
|
+
sodipodi:docname="audio.svg"
|
|
7
|
+
inkscape:version="1.4.4 (dcaf3e7, 2026-05-05)"
|
|
8
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
12
|
+
<defs
|
|
13
|
+
id="defs3" />
|
|
14
|
+
<sodipodi:namedview
|
|
15
|
+
id="namedview3"
|
|
16
|
+
pagecolor="#ffffff"
|
|
17
|
+
bordercolor="#666666"
|
|
18
|
+
borderopacity="1.0"
|
|
19
|
+
inkscape:showpageshadow="2"
|
|
20
|
+
inkscape:pageopacity="0.0"
|
|
21
|
+
inkscape:pagecheckerboard="0"
|
|
22
|
+
inkscape:deskcolor="#d1d1d1"
|
|
23
|
+
inkscape:zoom="21.625"
|
|
24
|
+
inkscape:cx="16"
|
|
25
|
+
inkscape:cy="16"
|
|
26
|
+
inkscape:window-width="1024"
|
|
27
|
+
inkscape:window-height="841"
|
|
28
|
+
inkscape:window-x="0"
|
|
29
|
+
inkscape:window-y="33"
|
|
30
|
+
inkscape:window-maximized="0"
|
|
31
|
+
inkscape:current-layer="svg3" />
|
|
32
|
+
<path
|
|
33
|
+
d="M16.3 23.8c-.2 0-.4-.2-.6-.3-1.5-1.3-3-2.6-4.6-3.9-.1-.1-.1-.1-.2-.1H6.7c-.4 0-.6-.2-.7-.5v-5.7c0-.5.3-.8.8-.8H11c.1 0 .2 0 .2-.1 1.5-1.3 3.1-2.7 4.6-4 .4-.3.8-.3 1.1.1.1.1.1.3.1.4V23c0 .3-.1.6-.4.7-.1 0-.1 0-.2.1h-.1zm9.7-7.7c0 .3 0 .6-.1.9-.1 1.2-.4 2.4-.9 3.6-.4 1-.9 1.9-1.6 2.7-.1.2-.3.3-.6.4-.3 0-.5-.1-.7-.3-.2-.2-.2-.5 0-.7.1-.2.3-.4.4-.6 1-1.4 1.6-2.9 1.8-4.5.4-3-.3-5.7-2.2-8.1-.2-.3-.3-.6 0-.9.3-.4.8-.4 1.2 0 .7.9 1.3 1.8 1.7 2.9.5 1.2.8 2.5.9 3.8v.7c.1 0 .1.1.1.1z"
|
|
34
|
+
id="path1"
|
|
35
|
+
style="fill:#c45c24;fill-opacity:1" />
|
|
36
|
+
<path
|
|
37
|
+
d="M23.3 15.9c0 2.1-.6 3.9-1.7 5.5-.1.2-.3.3-.6.4-.3 0-.5-.1-.7-.3-.2-.2-.2-.5 0-.8 0-.1.1-.1.1-.2.8-1.1 1.2-2.2 1.4-3.5.3-2.1-.2-4-1.5-5.8-.1-.2-.2-.4-.2-.6.1-.3.2-.5.5-.6.3-.1.6 0 .8.3.3.4.6.9.9 1.4.5 1.1.9 2.3.9 3.5.1.4.1.6.1.7z"
|
|
38
|
+
id="path2"
|
|
39
|
+
style="fill:#c45c24;fill-opacity:1" />
|
|
40
|
+
<path
|
|
41
|
+
d="M20.5 16c0 1.2-.3 2.4-1 3.4-.2.4-.6.5-1 .3-.3-.2-.5-.6-.2-1 .4-.6.6-1.3.7-2 .2-1.2-.1-2.4-.7-3.4-.2-.4-.1-.8.2-1 .3-.2.8-.1 1 .2.4.6.6 1.2.8 1.9.1.6.2 1.1.2 1.6z"
|
|
42
|
+
id="path3"
|
|
43
|
+
style="fill:#c45c24;fill-opacity:1" />
|
|
44
|
+
</svg>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
viewBox="0 0 32 32"
|
|
4
|
+
version="1.1"
|
|
5
|
+
id="svg1"
|
|
6
|
+
sodipodi:docname="default.svg"
|
|
7
|
+
inkscape:version="1.4.4 (dcaf3e7, 2026-05-05)"
|
|
8
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
12
|
+
<defs
|
|
13
|
+
id="defs1" />
|
|
14
|
+
<sodipodi:namedview
|
|
15
|
+
id="namedview1"
|
|
16
|
+
pagecolor="#ffffff"
|
|
17
|
+
bordercolor="#666666"
|
|
18
|
+
borderopacity="1.0"
|
|
19
|
+
inkscape:showpageshadow="2"
|
|
20
|
+
inkscape:pageopacity="0.0"
|
|
21
|
+
inkscape:pagecheckerboard="0"
|
|
22
|
+
inkscape:deskcolor="#d1d1d1"
|
|
23
|
+
inkscape:zoom="3.822796"
|
|
24
|
+
inkscape:cx="11.902283"
|
|
25
|
+
inkscape:cy="12.033077"
|
|
26
|
+
inkscape:window-width="1179"
|
|
27
|
+
inkscape:window-height="841"
|
|
28
|
+
inkscape:window-x="1"
|
|
29
|
+
inkscape:window-y="33"
|
|
30
|
+
inkscape:window-maximized="0"
|
|
31
|
+
inkscape:current-layer="svg1" />
|
|
32
|
+
<path
|
|
33
|
+
d="m 9.561046,17.182378 h 12.877908 v 1.711006 H 9.561046 Z m 0,-4.075762 h 7.191234 v 1.711006 H 9.561046 Z m 0,-4.0757638 H 22.438954 V 10.74186 H 9.561046 Z m 0,12.2272878 h 9.568503 v 1.711008 H 9.561046 Z"
|
|
34
|
+
id="path1"
|
|
35
|
+
style="fill:#7e7e7e;fill-opacity:1;stroke-width:0.99999" />
|
|
36
|
+
</svg>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
viewBox="0 0 32 32"
|
|
4
|
+
version="1.1"
|
|
5
|
+
id="svg1"
|
|
6
|
+
sodipodi:docname="html.svg"
|
|
7
|
+
inkscape:version="1.4.4 (dcaf3e7, 2026-05-05)"
|
|
8
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
12
|
+
<defs
|
|
13
|
+
id="defs1" />
|
|
14
|
+
<sodipodi:namedview
|
|
15
|
+
id="namedview1"
|
|
16
|
+
pagecolor="#ffffff"
|
|
17
|
+
bordercolor="#666666"
|
|
18
|
+
borderopacity="1.0"
|
|
19
|
+
inkscape:showpageshadow="2"
|
|
20
|
+
inkscape:pageopacity="0.0"
|
|
21
|
+
inkscape:pagecheckerboard="0"
|
|
22
|
+
inkscape:deskcolor="#d1d1d1"
|
|
23
|
+
inkscape:zoom="21.625"
|
|
24
|
+
inkscape:cx="16"
|
|
25
|
+
inkscape:cy="16"
|
|
26
|
+
inkscape:window-width="1024"
|
|
27
|
+
inkscape:window-height="841"
|
|
28
|
+
inkscape:window-x="0"
|
|
29
|
+
inkscape:window-y="33"
|
|
30
|
+
inkscape:window-maximized="0"
|
|
31
|
+
inkscape:current-layer="svg1" />
|
|
32
|
+
<path
|
|
33
|
+
fill="#EF7623"
|
|
34
|
+
d="M8 15l6-5.6V12l-4.5 4 4.5 4v2.6L8 17v-2zm16 2.1l-6 5.6V20l4.6-4-4.6-4V9.3l6 5.6v2.2z"
|
|
35
|
+
id="path1"
|
|
36
|
+
style="fill:#ef7520;fill-opacity:1" />
|
|
37
|
+
</svg>
|