@eclipse-glsp/vscode-integration-webview 0.9.0 → 0.10.0-next.1c5e79b.40
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/css/diagram.css +45 -4
- package/css/tool-palette.css +24 -14
- package/package.json +3 -3
package/css/diagram.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2020-
|
|
2
|
+
* Copyright (c) 2020-2022 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -52,10 +52,51 @@ body {
|
|
|
52
52
|
stroke: var(--vscode-editor-foreground);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.sprotty-edge.arrow {
|
|
55
|
+
.sprotty-edge .arrow {
|
|
56
56
|
fill: var(--vscode-editor-foreground);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.sprotty-node.selected
|
|
60
|
-
|
|
59
|
+
.sprotty-node.selected,
|
|
60
|
+
.sprotty-edge.selected {
|
|
61
|
+
stroke: var(--vscode-focusBorder);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.sprotty-edge.selected .arrow {
|
|
65
|
+
fill: var(--vscode-focusBorder);
|
|
66
|
+
stroke: var(--vscode-focusBorder);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.inactive .sprotty-node.selected {
|
|
70
|
+
stroke: var(--vscode-editor-inactiveSelectionBackground);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.sprotty-resize-handle.selected,
|
|
74
|
+
.sprotty-resize-handle.active,
|
|
75
|
+
.sprotty-edge > .sprotty-routing-handle.selected,
|
|
76
|
+
.sprotty-edge > .sprotty-routing-handle.mouseover {
|
|
77
|
+
fill: var(--vscode-focusBorder);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.inactive .sprotty-resize-handle,
|
|
81
|
+
.inactive .sprotty-routing-handle {
|
|
82
|
+
fill: var(--vscode-tab-unfocusedInactiveForeground);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.sprotty-node.mouseover:not(.selected),
|
|
86
|
+
.sprotty-edge.mouseover:not(.selected) {
|
|
87
|
+
stroke: var(--vscode-editor-foreground);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.sprotty-edge.mouseover:not(.selected) .arrow {
|
|
91
|
+
fill: var(--vscode-editor-foreground);
|
|
92
|
+
stroke: var(--vscode-editor-foreground);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.sprotty-popup {
|
|
96
|
+
padding: 0px;
|
|
97
|
+
border-radius: 2px;
|
|
98
|
+
box-shadow: 0px 1px 6px var(--vscode-widget-shadow);
|
|
99
|
+
background-color: var(--vscode-editorHoverWidget-background);
|
|
100
|
+
color: var(--vscode-editorHoverWidget-foreground);
|
|
101
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
61
102
|
}
|
package/css/tool-palette.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2020-
|
|
2
|
+
* Copyright (c) 2020-2022 EclipseSource and others.
|
|
3
3
|
*
|
|
4
4
|
* This program and the accompanying materials are made available under the
|
|
5
5
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -18,8 +18,16 @@
|
|
|
18
18
|
box-shadow: 0px 1px 6px var(--vscode-widget-shadow);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
.tool-palette :focus-visible {
|
|
22
|
+
outline: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.tool-group {
|
|
26
|
+
background: var(--vscode-settings-dropdownBackground);
|
|
27
|
+
}
|
|
28
|
+
|
|
21
29
|
.tool-palette .palette-header {
|
|
22
|
-
background: var(--vscode-
|
|
30
|
+
background: var(--vscode-settings-dropdownBackground);
|
|
23
31
|
color: var(--vscode-titleBar-activeForeground);
|
|
24
32
|
border: 0;
|
|
25
33
|
font-weight: normal;
|
|
@@ -31,20 +39,23 @@
|
|
|
31
39
|
}
|
|
32
40
|
|
|
33
41
|
.tool-palette .palette-header .header-icon {
|
|
34
|
-
font-size: var(--vscode-ui-font-size1);
|
|
35
42
|
float: left;
|
|
36
43
|
padding: 0.2em;
|
|
44
|
+
font-size: 11px;
|
|
45
|
+
text-transform: uppercase;
|
|
46
|
+
font-weight: 400;
|
|
37
47
|
}
|
|
38
48
|
|
|
39
49
|
.tool-palette .palette-header .header-tools {
|
|
40
|
-
font-size: var(--vscode-ui-font-size3);
|
|
41
50
|
float: right;
|
|
51
|
+
font-size: 11px;
|
|
42
52
|
}
|
|
43
53
|
|
|
44
54
|
.tool-palette .palette-header .header-tools i {
|
|
45
55
|
border: none;
|
|
46
56
|
width: 1em;
|
|
47
57
|
text-align: center;
|
|
58
|
+
border-radius: 5px;
|
|
48
59
|
}
|
|
49
60
|
|
|
50
61
|
.tool-palette .palette-header .header-tools i:hover:not(.clicked) {
|
|
@@ -58,35 +69,34 @@
|
|
|
58
69
|
.tool-palette .palette-body {
|
|
59
70
|
border: 0;
|
|
60
71
|
box-shadow: none;
|
|
72
|
+
background: var(--vscode-list-focusBackground);
|
|
73
|
+
color: var(--vscode-titleBar-activeForeground);
|
|
61
74
|
}
|
|
62
75
|
|
|
63
76
|
.tool-palette .palette-body .group-header {
|
|
64
77
|
font-size: var(--vscode-ui-font-size1);
|
|
65
|
-
|
|
66
|
-
|
|
78
|
+
text-transform: uppercase;
|
|
79
|
+
font-weight: bold;
|
|
80
|
+
background: var(--vscode-editorHoverWidget-statusBarBackground);
|
|
67
81
|
color: var(--vscode-titleBar-activeForeground);
|
|
68
82
|
border: 0;
|
|
69
83
|
}
|
|
70
84
|
|
|
71
|
-
.tool-
|
|
72
|
-
background: var(--vscode-
|
|
85
|
+
.tool-button {
|
|
86
|
+
background: var(--vscode-settings-dropdownBackground);
|
|
73
87
|
color: var(--vscode-titleBar-activeForeground);
|
|
74
88
|
}
|
|
75
89
|
|
|
76
90
|
.tool-palette .palette-body .tool-button:hover:not(.clicked) {
|
|
77
|
-
background: var(--vscode-
|
|
91
|
+
background: var(--vscode-menubar-selectionBackground);
|
|
78
92
|
}
|
|
79
93
|
|
|
80
94
|
.tool-palette .tool-button.clicked {
|
|
81
|
-
background: var(--vscode-
|
|
82
|
-
color: var(--vscode-menu-selectionForeground);
|
|
95
|
+
background: var(--vscode-inputOption-activeBackground);
|
|
83
96
|
}
|
|
84
97
|
|
|
85
98
|
.search-input {
|
|
86
99
|
background: var(--vscode-input-background);
|
|
87
100
|
color: var(--vscode-input-foreground);
|
|
88
101
|
border: var(--vscode-border-width) solid var(--vscode-input-border);
|
|
89
|
-
font-family: var(--vscode-ui-font-family);
|
|
90
|
-
font-size: var(--vscode-ui-font-size1);
|
|
91
|
-
line-height: var(--vscode-content-line-height);
|
|
92
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/vscode-integration-webview",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0-next.1c5e79b.40+1c5e79b",
|
|
4
4
|
"description": "Integration of a GLSP diagram in a VS Code extensions (WebView part)",
|
|
5
5
|
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
|
|
6
6
|
"keywords": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"css"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@eclipse-glsp/client": "
|
|
35
|
+
"@eclipse-glsp/client": "next",
|
|
36
36
|
"sprotty-vscode-webview": "0.1.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
},
|
|
53
53
|
"main": "lib/index",
|
|
54
54
|
"types": "lib/index",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "1c5e79bd049d6d5bd96f921b407db8e2f00287d1"
|
|
56
56
|
}
|