@theia/vsx-registry 1.53.0-next.5 → 1.53.0-next.55
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/README.md +45 -45
- package/lib/common/vsx-environment.d.ts +1 -0
- package/lib/common/vsx-environment.d.ts.map +1 -1
- package/lib/common/vsx-registry-common-module.d.ts.map +1 -1
- package/lib/common/vsx-registry-common-module.js +9 -3
- package/lib/common/vsx-registry-common-module.js.map +1 -1
- package/lib/node/vsx-cli.d.ts +1 -0
- package/lib/node/vsx-cli.d.ts.map +1 -1
- package/lib/node/vsx-cli.js +4 -0
- package/lib/node/vsx-cli.js.map +1 -1
- package/lib/node/vsx-environment-impl.d.ts +1 -0
- package/lib/node/vsx-environment-impl.d.ts.map +1 -1
- package/lib/node/vsx-environment-impl.js +3 -0
- package/lib/node/vsx-environment-impl.js.map +1 -1
- package/lib/node/vsx-extension-resolver.js +3 -3
- package/lib/node/vsx-extension-resolver.js.map +1 -1
- package/package.json +12 -11
- package/src/browser/recommended-extensions/preference-provider-overrides.ts +99 -99
- package/src/browser/recommended-extensions/recommended-extensions-json-schema.ts +74 -74
- package/src/browser/recommended-extensions/recommended-extensions-preference-contribution.ts +68 -68
- package/src/browser/style/extensions.svg +4 -4
- package/src/browser/style/index.css +436 -436
- package/src/browser/vsx-extension-argument-processor.ts +32 -32
- package/src/browser/vsx-extension-commands.ts +68 -68
- package/src/browser/vsx-extension-editor-manager.ts +42 -42
- package/src/browser/vsx-extension-editor.tsx +96 -96
- package/src/browser/vsx-extension.tsx +710 -710
- package/src/browser/vsx-extensions-contribution.ts +373 -373
- package/src/browser/vsx-extensions-model.ts +456 -456
- package/src/browser/vsx-extensions-preferences.ts +58 -58
- package/src/browser/vsx-extensions-search-bar.tsx +107 -107
- package/src/browser/vsx-extensions-search-model.ts +61 -61
- package/src/browser/vsx-extensions-source.ts +83 -83
- package/src/browser/vsx-extensions-view-container.ts +179 -179
- package/src/browser/vsx-extensions-widget.tsx +165 -165
- package/src/browser/vsx-language-quick-pick-service.ts +112 -112
- package/src/browser/vsx-registry-frontend-module.ts +113 -113
- package/src/common/index.ts +19 -19
- package/src/common/ovsx-client-provider.ts +35 -35
- package/src/common/vsx-environment.ts +28 -27
- package/src/common/vsx-extension-uri.ts +20 -20
- package/src/common/vsx-registry-common-module.ts +85 -78
- package/src/node/vsx-cli-deployer-participant.ts +46 -46
- package/src/node/vsx-cli.ts +55 -51
- package/src/node/vsx-environment-impl.ts +54 -50
- package/src/node/vsx-extension-resolver.ts +134 -134
- package/src/node/vsx-registry-backend-module.ts +38 -38
- package/src/node/vsx-remote-cli.ts +39 -39
- package/src/package.spec.ts +29 -29
|
@@ -1,436 +1,436 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (C) 2020 TypeFox and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
|
|
17
|
-
:root {
|
|
18
|
-
--theia-vsx-extension-icon-size: calc(var(--theia-ui-icon-font-size) * 3);
|
|
19
|
-
--theia-vsx-extension-editor-icon-size: calc(
|
|
20
|
-
var(--theia-vsx-extension-icon-size) * 3
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.vsx-search-container {
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
width: 100%;
|
|
28
|
-
background: var(--theia-input-background);
|
|
29
|
-
border-style: solid;
|
|
30
|
-
border-width: var(--theia-border-width);
|
|
31
|
-
border-color: var(--theia-input-background);
|
|
32
|
-
border-radius: 2px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.vsx-search-container:focus-within {
|
|
36
|
-
border-color: var(--theia-focusBorder);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.vsx-search-container .option-buttons {
|
|
40
|
-
height: 23px;
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
align-self: flex-start;
|
|
44
|
-
background-color: none;
|
|
45
|
-
margin: 2px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.vsx-search-container .option {
|
|
49
|
-
width: 21px;
|
|
50
|
-
height: 21px;
|
|
51
|
-
margin: 0 1px;
|
|
52
|
-
display: inline-block;
|
|
53
|
-
box-sizing: border-box;
|
|
54
|
-
align-items: center;
|
|
55
|
-
user-select: none;
|
|
56
|
-
background-repeat: no-repeat;
|
|
57
|
-
background-position: center;
|
|
58
|
-
border: var(--theia-border-width) solid transparent;
|
|
59
|
-
opacity: 0.7;
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.vsx-search-container .option.enabled {
|
|
64
|
-
color: var(--theia-inputOption-activeForeground);
|
|
65
|
-
border: var(--theia-border-width) var(--theia-inputOption-activeBorder) solid;
|
|
66
|
-
background-color: var(--theia-inputOption-activeBackground);
|
|
67
|
-
opacity: 1;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.vsx-search-container .option:hover {
|
|
71
|
-
opacity: 1;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.theia-vsx-extensions {
|
|
75
|
-
height: 100%;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.theia-vsx-extension,
|
|
79
|
-
.theia-vsx-extensions-view-container .part > .body {
|
|
80
|
-
min-height: calc(var(--theia-content-line-height) * 3);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.theia-vsx-extensions-search-bar {
|
|
84
|
-
padding: var(--theia-ui-padding) var(--theia-scrollbar-width)
|
|
85
|
-
var(--theia-ui-padding) 18px
|
|
86
|
-
/* expansion toggle padding of tree elements in result list */;
|
|
87
|
-
display: flex;
|
|
88
|
-
align-content: center;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.theia-vsx-extensions-search-bar .theia-input {
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
line-height: var(--theia-content-line-height);
|
|
94
|
-
flex: 1;
|
|
95
|
-
margin-top: calc(var(--theia-ui-padding) / 2);
|
|
96
|
-
margin-bottom: calc(var(--theia-ui-padding) / 2);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.theia-vsx-extensions-search-bar .theia-input:focus {
|
|
100
|
-
border: none;
|
|
101
|
-
outline: none;
|
|
102
|
-
}
|
|
103
|
-
.theia-vsx-extension {
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: row;
|
|
106
|
-
line-height: calc(var(--theia-content-line-height) * 17 / 22);
|
|
107
|
-
align-items: center;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.theia-vsx-extension-icon {
|
|
111
|
-
height: var(--theia-vsx-extension-icon-size);
|
|
112
|
-
width: var(--theia-vsx-extension-icon-size);
|
|
113
|
-
align-self: center;
|
|
114
|
-
padding-right: calc(var(--theia-ui-padding) * 2.5);
|
|
115
|
-
flex-shrink: 0;
|
|
116
|
-
object-fit: contain;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.theia-vsx-extension-icon.placeholder {
|
|
120
|
-
background-size: var(--theia-vsx-extension-icon-size);
|
|
121
|
-
background-repeat: no-repeat;
|
|
122
|
-
background-image: url("defaultIcon.png");
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.theia-vsx-extension-content {
|
|
126
|
-
display: flex;
|
|
127
|
-
flex-direction: column;
|
|
128
|
-
width: calc(
|
|
129
|
-
100% - var(--theia-vsx-extension-icon-size) - var(--theia-ui-padding) * 2.5
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.theia-vsx-extension-content .title {
|
|
134
|
-
display: flex;
|
|
135
|
-
flex-direction: row;
|
|
136
|
-
justify-content: space-between;
|
|
137
|
-
align-items: center;
|
|
138
|
-
white-space: nowrap;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.theia-vsx-extension-content .title .name {
|
|
142
|
-
font-weight: bold;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.theia-vsx-extension-content .title .version,
|
|
146
|
-
.theia-vsx-extension-content .title .stat {
|
|
147
|
-
opacity: 0.85;
|
|
148
|
-
font-size: 80%;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.theia-vsx-extension-content .title .stat .codicon {
|
|
152
|
-
font-size: 110%;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.theia-vsx-extension-content .title .stat .download-count,
|
|
156
|
-
.theia-vsx-extension-content .title .stat .average-rating {
|
|
157
|
-
display: inline-flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.theia-vsx-extension-content .title .stat .average-rating > i {
|
|
162
|
-
color: #ff8e00;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.theia-vsx-extension-editor .download-count > i,
|
|
166
|
-
.theia-vsx-extension-content .title .stat .average-rating > i,
|
|
167
|
-
.theia-vsx-extension-content .title .stat .download-count > i {
|
|
168
|
-
padding-right: calc(var(--theia-ui-padding) / 2);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.theia-vsx-extension-content .title .stat .average-rating,
|
|
172
|
-
.theia-vsx-extension-content .title .stat .download-count {
|
|
173
|
-
padding-left: var(--theia-ui-padding);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.theia-vsx-extension-description {
|
|
177
|
-
padding-right: calc(var(--theia-ui-padding) * 2);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.theia-vsx-extension-publisher {
|
|
181
|
-
font-weight: 600;
|
|
182
|
-
font-size: 90%;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.theia-vsx-extension-action-bar {
|
|
186
|
-
display: flex;
|
|
187
|
-
flex-direction: row;
|
|
188
|
-
justify-content: space-between;
|
|
189
|
-
align-items: center;
|
|
190
|
-
white-space: nowrap;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.theia-vsx-extension-action-bar .codicon-verified-filled {
|
|
194
|
-
color: var(--theia-extensionIcon-verifiedForeground);
|
|
195
|
-
margin-right: 2px;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.theia-vsx-extension-publisher-container {
|
|
199
|
-
display: flex;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.theia-vsx-extension-action-bar .action {
|
|
203
|
-
font-size: 90%;
|
|
204
|
-
min-width: auto !important;
|
|
205
|
-
padding: 2px var(--theia-ui-padding) !important;
|
|
206
|
-
margin-top: 2px;
|
|
207
|
-
vertical-align: middle;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/* Editor Section */
|
|
211
|
-
|
|
212
|
-
.theia-vsx-extension-editor {
|
|
213
|
-
height: 100%;
|
|
214
|
-
overflow: hidden;
|
|
215
|
-
display: flex;
|
|
216
|
-
flex-direction: column;
|
|
217
|
-
padding-top: 0;
|
|
218
|
-
position: relative;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.theia-vsx-extension-editor .header {
|
|
222
|
-
display: flex;
|
|
223
|
-
padding: calc(var(--theia-ui-padding) * 3) calc(var(--theia-ui-padding) * 3)
|
|
224
|
-
calc(var(--theia-ui-padding) * 3);
|
|
225
|
-
flex-shrink: 0;
|
|
226
|
-
border-bottom: 1px solid hsla(0, 0%, 50%, 0.5);
|
|
227
|
-
width: 100%;
|
|
228
|
-
background: var(--theia-editor-background);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.theia-vsx-extension-editor .scroll-container {
|
|
232
|
-
position: relative;
|
|
233
|
-
padding-top: 0;
|
|
234
|
-
max-width: 100%;
|
|
235
|
-
width: 100%;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.theia-vsx-extension-editor .body {
|
|
239
|
-
flex: 1;
|
|
240
|
-
padding: calc(var(--theia-ui-padding) * 2);
|
|
241
|
-
padding-top: 0;
|
|
242
|
-
max-width: 1000px;
|
|
243
|
-
margin: 0 auto;
|
|
244
|
-
line-height: 22px;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.theia-vsx-extension-editor .body h1 {
|
|
248
|
-
padding-bottom: var(--theia-ui-padding);
|
|
249
|
-
border-bottom: 1px solid hsla(0, 0%, 50%, 0.5);
|
|
250
|
-
margin-top: calc(var(--theia-ui-padding) * 5);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.theia-vsx-extension-editor .body a {
|
|
254
|
-
text-decoration: none;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.theia-vsx-extension-editor .body a:hover {
|
|
258
|
-
text-decoration: underline;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.theia-vsx-extension-editor .body table {
|
|
262
|
-
border-collapse: collapse;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.theia-vsx-extension-editor .body table > thead > tr > th {
|
|
266
|
-
text-align: left;
|
|
267
|
-
border-bottom: 1px solid var(--theia-extensionEditor-tableHeadBorder);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.theia-vsx-extension-editor .body table > thead > tr > th,
|
|
271
|
-
.theia-vsx-extension-editor .body table > thead > tr > td,
|
|
272
|
-
.theia-vsx-extension-editor .body table > tbody > tr > th,
|
|
273
|
-
.theia-vsx-extension-editor .body table > tbody > tr > td {
|
|
274
|
-
padding: 5px 10px;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.theia-vsx-extension-editor .body table > tbody > tr + tr > td {
|
|
278
|
-
border-top: 1px solid var(--theia-extensionEditor-tableCellBorder);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.theia-vsx-extension-editor .scroll-container .body pre {
|
|
282
|
-
white-space: normal;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.theia-vsx-extension-editor .body img {
|
|
286
|
-
max-width: 100%;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.theia-vsx-extension-editor .header .icon-container {
|
|
290
|
-
height: var(--theia-vsx-extension-editor-icon-size);
|
|
291
|
-
width: var(--theia-vsx-extension-editor-icon-size);
|
|
292
|
-
align-self: center;
|
|
293
|
-
padding-right: calc(var(--theia-ui-padding) * 2.5);
|
|
294
|
-
flex-shrink: 0;
|
|
295
|
-
object-fit: contain;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.theia-vsx-extension-editor .header .icon-container.placeholder {
|
|
299
|
-
background-size: var(--theia-vsx-extension-editor-icon-size);
|
|
300
|
-
background-repeat: no-repeat;
|
|
301
|
-
background-image: url("defaultIcon.png");
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.theia-vsx-extension-editor .header .details {
|
|
305
|
-
overflow: hidden;
|
|
306
|
-
user-select: text;
|
|
307
|
-
-webkit-user-select: text;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.theia-vsx-extension-editor .header .details .title,
|
|
311
|
-
.theia-vsx-extension-editor .header .details .subtitle {
|
|
312
|
-
display: flex;
|
|
313
|
-
align-items: center;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.theia-vsx-extension-editor .header .details .title .name {
|
|
317
|
-
flex: 0;
|
|
318
|
-
font-size: calc(var(--theia-ui-font-size1) * 2);
|
|
319
|
-
font-weight: 600;
|
|
320
|
-
white-space: nowrap;
|
|
321
|
-
cursor: pointer;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.theia-vsx-extension-editor .header .details .title .identifier {
|
|
325
|
-
margin-left: calc(var(--theia-ui-padding) * 5 / 3);
|
|
326
|
-
opacity: 0.6;
|
|
327
|
-
background: hsla(0, 0%, 68%, 0.31);
|
|
328
|
-
user-select: text;
|
|
329
|
-
-webkit-user-select: text;
|
|
330
|
-
white-space: nowrap;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.theia-vsx-extension-editor .header .details .title .preview {
|
|
334
|
-
background: #d63f26;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.vs .theia-vsx-extension-editor .header .details .title .preview {
|
|
338
|
-
color: white;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.theia-vsx-extension-editor .header .details .title .identifier,
|
|
342
|
-
.theia-vsx-extension-editor .header .details .title .preview,
|
|
343
|
-
.theia-vsx-extension-editor .header .details .title .builtin {
|
|
344
|
-
line-height: var(--theia-code-line-height);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.theia-vsx-extension-editor .header .details .title .identifier,
|
|
348
|
-
.theia-vsx-extension-editor .header .details .title .preview {
|
|
349
|
-
padding: calc(var(--theia-ui-padding) * 2 / 3);
|
|
350
|
-
padding-top: 0px;
|
|
351
|
-
padding-bottom: 0px;
|
|
352
|
-
border-radius: calc(var(--theia-ui-padding) * 2 / 3);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.theia-vsx-extension-editor .header .details .title .preview,
|
|
356
|
-
.theia-vsx-extension-editor .header .details .title .builtin {
|
|
357
|
-
font-size: var(--theia-ui-font-size0);
|
|
358
|
-
font-style: italic;
|
|
359
|
-
margin-left: calc(var(--theia-ui-padding) * 5 / 3);
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.theia-vsx-extension-editor .header .details .subtitle {
|
|
363
|
-
padding-top: var(--theia-ui-padding);
|
|
364
|
-
white-space: nowrap;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.theia-vsx-extension-editor .header .details .subtitle > span {
|
|
368
|
-
display: flex;
|
|
369
|
-
align-items: center;
|
|
370
|
-
cursor: pointer;
|
|
371
|
-
line-height: var(--theia-content-line-height);
|
|
372
|
-
height: var(--theia-content-line-height);
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.theia-vsx-extension-editor
|
|
376
|
-
.header
|
|
377
|
-
.details
|
|
378
|
-
.subtitle
|
|
379
|
-
> span:not(:first-child):not(:empty) {
|
|
380
|
-
border-left: 1px solid hsla(0, 0%, 50%, 0.7);
|
|
381
|
-
padding-left: calc(var(--theia-ui-padding) * 2);
|
|
382
|
-
margin-left: calc(var(--theia-ui-padding) * 2);
|
|
383
|
-
font-weight: 500;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.theia-vsx-extension-editor .header .details .subtitle .publisher {
|
|
387
|
-
font-size: var(--theia-ui-font-size3);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.theia-vsx-extension-editor
|
|
391
|
-
.header
|
|
392
|
-
.details
|
|
393
|
-
.subtitle
|
|
394
|
-
.publisher
|
|
395
|
-
.namespace-access,
|
|
396
|
-
.theia-vsx-extension-editor .header .details .subtitle .download-count::before {
|
|
397
|
-
padding-right: var(--theia-ui-padding);
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
.theia-vsx-extension-editor .header .details .subtitle .average-rating > i {
|
|
401
|
-
color: #ff8e00;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.theia-vsx-extension-editor
|
|
405
|
-
.header
|
|
406
|
-
.details
|
|
407
|
-
.subtitle
|
|
408
|
-
.average-rating
|
|
409
|
-
> i:not(:first-child) {
|
|
410
|
-
padding-left: calc(var(--theia-ui-padding) / 2);
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
.theia-vsx-extension-editor .header .details .description {
|
|
414
|
-
margin-top: calc(var(--theia-ui-padding) * 5 / 3);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
.theia-vsx-extension-editor .action {
|
|
418
|
-
font-weight: 600;
|
|
419
|
-
margin-top: calc(var(--theia-ui-padding) * 5 / 3);
|
|
420
|
-
margin-left: 0px;
|
|
421
|
-
padding: 1px var(--theia-ui-padding);
|
|
422
|
-
vertical-align: middle;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
/** Theming */
|
|
426
|
-
|
|
427
|
-
.theia-vsx-extension-editor .action.prominent,
|
|
428
|
-
.theia-vsx-extension-action-bar .action.prominent {
|
|
429
|
-
color: var(--theia-extensionButton-prominentForeground);
|
|
430
|
-
background-color: var(--theia-extensionButton-prominentBackground);
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.theia-vsx-extension-editor .action.prominent:hover,
|
|
434
|
-
.theia-vsx-extension-action-bar .action.prominent:hover {
|
|
435
|
-
background-color: var(--theia-extensionButton-prominentHoverBackground);
|
|
436
|
-
}
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (C) 2020 TypeFox and others.
|
|
3
|
+
*
|
|
4
|
+
* This program and the accompanying materials are made available under the
|
|
5
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
*
|
|
8
|
+
* This Source Code may also be made available under the following Secondary
|
|
9
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
* with the GNU Classpath Exception which is available at
|
|
12
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
*
|
|
14
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
********************************************************************************/
|
|
16
|
+
|
|
17
|
+
:root {
|
|
18
|
+
--theia-vsx-extension-icon-size: calc(var(--theia-ui-icon-font-size) * 3);
|
|
19
|
+
--theia-vsx-extension-editor-icon-size: calc(
|
|
20
|
+
var(--theia-vsx-extension-icon-size) * 3
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.vsx-search-container {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
width: 100%;
|
|
28
|
+
background: var(--theia-input-background);
|
|
29
|
+
border-style: solid;
|
|
30
|
+
border-width: var(--theia-border-width);
|
|
31
|
+
border-color: var(--theia-input-background);
|
|
32
|
+
border-radius: 2px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.vsx-search-container:focus-within {
|
|
36
|
+
border-color: var(--theia-focusBorder);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.vsx-search-container .option-buttons {
|
|
40
|
+
height: 23px;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
align-self: flex-start;
|
|
44
|
+
background-color: none;
|
|
45
|
+
margin: 2px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.vsx-search-container .option {
|
|
49
|
+
width: 21px;
|
|
50
|
+
height: 21px;
|
|
51
|
+
margin: 0 1px;
|
|
52
|
+
display: inline-block;
|
|
53
|
+
box-sizing: border-box;
|
|
54
|
+
align-items: center;
|
|
55
|
+
user-select: none;
|
|
56
|
+
background-repeat: no-repeat;
|
|
57
|
+
background-position: center;
|
|
58
|
+
border: var(--theia-border-width) solid transparent;
|
|
59
|
+
opacity: 0.7;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.vsx-search-container .option.enabled {
|
|
64
|
+
color: var(--theia-inputOption-activeForeground);
|
|
65
|
+
border: var(--theia-border-width) var(--theia-inputOption-activeBorder) solid;
|
|
66
|
+
background-color: var(--theia-inputOption-activeBackground);
|
|
67
|
+
opacity: 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.vsx-search-container .option:hover {
|
|
71
|
+
opacity: 1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.theia-vsx-extensions {
|
|
75
|
+
height: 100%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.theia-vsx-extension,
|
|
79
|
+
.theia-vsx-extensions-view-container .part > .body {
|
|
80
|
+
min-height: calc(var(--theia-content-line-height) * 3);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.theia-vsx-extensions-search-bar {
|
|
84
|
+
padding: var(--theia-ui-padding) var(--theia-scrollbar-width)
|
|
85
|
+
var(--theia-ui-padding) 18px
|
|
86
|
+
/* expansion toggle padding of tree elements in result list */;
|
|
87
|
+
display: flex;
|
|
88
|
+
align-content: center;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.theia-vsx-extensions-search-bar .theia-input {
|
|
92
|
+
overflow: hidden;
|
|
93
|
+
line-height: var(--theia-content-line-height);
|
|
94
|
+
flex: 1;
|
|
95
|
+
margin-top: calc(var(--theia-ui-padding) / 2);
|
|
96
|
+
margin-bottom: calc(var(--theia-ui-padding) / 2);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.theia-vsx-extensions-search-bar .theia-input:focus {
|
|
100
|
+
border: none;
|
|
101
|
+
outline: none;
|
|
102
|
+
}
|
|
103
|
+
.theia-vsx-extension {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: row;
|
|
106
|
+
line-height: calc(var(--theia-content-line-height) * 17 / 22);
|
|
107
|
+
align-items: center;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.theia-vsx-extension-icon {
|
|
111
|
+
height: var(--theia-vsx-extension-icon-size);
|
|
112
|
+
width: var(--theia-vsx-extension-icon-size);
|
|
113
|
+
align-self: center;
|
|
114
|
+
padding-right: calc(var(--theia-ui-padding) * 2.5);
|
|
115
|
+
flex-shrink: 0;
|
|
116
|
+
object-fit: contain;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.theia-vsx-extension-icon.placeholder {
|
|
120
|
+
background-size: var(--theia-vsx-extension-icon-size);
|
|
121
|
+
background-repeat: no-repeat;
|
|
122
|
+
background-image: url("defaultIcon.png");
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.theia-vsx-extension-content {
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
width: calc(
|
|
129
|
+
100% - var(--theia-vsx-extension-icon-size) - var(--theia-ui-padding) * 2.5
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.theia-vsx-extension-content .title {
|
|
134
|
+
display: flex;
|
|
135
|
+
flex-direction: row;
|
|
136
|
+
justify-content: space-between;
|
|
137
|
+
align-items: center;
|
|
138
|
+
white-space: nowrap;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.theia-vsx-extension-content .title .name {
|
|
142
|
+
font-weight: bold;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.theia-vsx-extension-content .title .version,
|
|
146
|
+
.theia-vsx-extension-content .title .stat {
|
|
147
|
+
opacity: 0.85;
|
|
148
|
+
font-size: 80%;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.theia-vsx-extension-content .title .stat .codicon {
|
|
152
|
+
font-size: 110%;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.theia-vsx-extension-content .title .stat .download-count,
|
|
156
|
+
.theia-vsx-extension-content .title .stat .average-rating {
|
|
157
|
+
display: inline-flex;
|
|
158
|
+
align-items: center;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.theia-vsx-extension-content .title .stat .average-rating > i {
|
|
162
|
+
color: #ff8e00;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.theia-vsx-extension-editor .download-count > i,
|
|
166
|
+
.theia-vsx-extension-content .title .stat .average-rating > i,
|
|
167
|
+
.theia-vsx-extension-content .title .stat .download-count > i {
|
|
168
|
+
padding-right: calc(var(--theia-ui-padding) / 2);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.theia-vsx-extension-content .title .stat .average-rating,
|
|
172
|
+
.theia-vsx-extension-content .title .stat .download-count {
|
|
173
|
+
padding-left: var(--theia-ui-padding);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.theia-vsx-extension-description {
|
|
177
|
+
padding-right: calc(var(--theia-ui-padding) * 2);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.theia-vsx-extension-publisher {
|
|
181
|
+
font-weight: 600;
|
|
182
|
+
font-size: 90%;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.theia-vsx-extension-action-bar {
|
|
186
|
+
display: flex;
|
|
187
|
+
flex-direction: row;
|
|
188
|
+
justify-content: space-between;
|
|
189
|
+
align-items: center;
|
|
190
|
+
white-space: nowrap;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.theia-vsx-extension-action-bar .codicon-verified-filled {
|
|
194
|
+
color: var(--theia-extensionIcon-verifiedForeground);
|
|
195
|
+
margin-right: 2px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.theia-vsx-extension-publisher-container {
|
|
199
|
+
display: flex;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.theia-vsx-extension-action-bar .action {
|
|
203
|
+
font-size: 90%;
|
|
204
|
+
min-width: auto !important;
|
|
205
|
+
padding: 2px var(--theia-ui-padding) !important;
|
|
206
|
+
margin-top: 2px;
|
|
207
|
+
vertical-align: middle;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* Editor Section */
|
|
211
|
+
|
|
212
|
+
.theia-vsx-extension-editor {
|
|
213
|
+
height: 100%;
|
|
214
|
+
overflow: hidden;
|
|
215
|
+
display: flex;
|
|
216
|
+
flex-direction: column;
|
|
217
|
+
padding-top: 0;
|
|
218
|
+
position: relative;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.theia-vsx-extension-editor .header {
|
|
222
|
+
display: flex;
|
|
223
|
+
padding: calc(var(--theia-ui-padding) * 3) calc(var(--theia-ui-padding) * 3)
|
|
224
|
+
calc(var(--theia-ui-padding) * 3);
|
|
225
|
+
flex-shrink: 0;
|
|
226
|
+
border-bottom: 1px solid hsla(0, 0%, 50%, 0.5);
|
|
227
|
+
width: 100%;
|
|
228
|
+
background: var(--theia-editor-background);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.theia-vsx-extension-editor .scroll-container {
|
|
232
|
+
position: relative;
|
|
233
|
+
padding-top: 0;
|
|
234
|
+
max-width: 100%;
|
|
235
|
+
width: 100%;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.theia-vsx-extension-editor .body {
|
|
239
|
+
flex: 1;
|
|
240
|
+
padding: calc(var(--theia-ui-padding) * 2);
|
|
241
|
+
padding-top: 0;
|
|
242
|
+
max-width: 1000px;
|
|
243
|
+
margin: 0 auto;
|
|
244
|
+
line-height: 22px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.theia-vsx-extension-editor .body h1 {
|
|
248
|
+
padding-bottom: var(--theia-ui-padding);
|
|
249
|
+
border-bottom: 1px solid hsla(0, 0%, 50%, 0.5);
|
|
250
|
+
margin-top: calc(var(--theia-ui-padding) * 5);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.theia-vsx-extension-editor .body a {
|
|
254
|
+
text-decoration: none;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.theia-vsx-extension-editor .body a:hover {
|
|
258
|
+
text-decoration: underline;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.theia-vsx-extension-editor .body table {
|
|
262
|
+
border-collapse: collapse;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.theia-vsx-extension-editor .body table > thead > tr > th {
|
|
266
|
+
text-align: left;
|
|
267
|
+
border-bottom: 1px solid var(--theia-extensionEditor-tableHeadBorder);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.theia-vsx-extension-editor .body table > thead > tr > th,
|
|
271
|
+
.theia-vsx-extension-editor .body table > thead > tr > td,
|
|
272
|
+
.theia-vsx-extension-editor .body table > tbody > tr > th,
|
|
273
|
+
.theia-vsx-extension-editor .body table > tbody > tr > td {
|
|
274
|
+
padding: 5px 10px;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.theia-vsx-extension-editor .body table > tbody > tr + tr > td {
|
|
278
|
+
border-top: 1px solid var(--theia-extensionEditor-tableCellBorder);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.theia-vsx-extension-editor .scroll-container .body pre {
|
|
282
|
+
white-space: normal;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.theia-vsx-extension-editor .body img {
|
|
286
|
+
max-width: 100%;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.theia-vsx-extension-editor .header .icon-container {
|
|
290
|
+
height: var(--theia-vsx-extension-editor-icon-size);
|
|
291
|
+
width: var(--theia-vsx-extension-editor-icon-size);
|
|
292
|
+
align-self: center;
|
|
293
|
+
padding-right: calc(var(--theia-ui-padding) * 2.5);
|
|
294
|
+
flex-shrink: 0;
|
|
295
|
+
object-fit: contain;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.theia-vsx-extension-editor .header .icon-container.placeholder {
|
|
299
|
+
background-size: var(--theia-vsx-extension-editor-icon-size);
|
|
300
|
+
background-repeat: no-repeat;
|
|
301
|
+
background-image: url("defaultIcon.png");
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.theia-vsx-extension-editor .header .details {
|
|
305
|
+
overflow: hidden;
|
|
306
|
+
user-select: text;
|
|
307
|
+
-webkit-user-select: text;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.theia-vsx-extension-editor .header .details .title,
|
|
311
|
+
.theia-vsx-extension-editor .header .details .subtitle {
|
|
312
|
+
display: flex;
|
|
313
|
+
align-items: center;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.theia-vsx-extension-editor .header .details .title .name {
|
|
317
|
+
flex: 0;
|
|
318
|
+
font-size: calc(var(--theia-ui-font-size1) * 2);
|
|
319
|
+
font-weight: 600;
|
|
320
|
+
white-space: nowrap;
|
|
321
|
+
cursor: pointer;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.theia-vsx-extension-editor .header .details .title .identifier {
|
|
325
|
+
margin-left: calc(var(--theia-ui-padding) * 5 / 3);
|
|
326
|
+
opacity: 0.6;
|
|
327
|
+
background: hsla(0, 0%, 68%, 0.31);
|
|
328
|
+
user-select: text;
|
|
329
|
+
-webkit-user-select: text;
|
|
330
|
+
white-space: nowrap;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.theia-vsx-extension-editor .header .details .title .preview {
|
|
334
|
+
background: #d63f26;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.vs .theia-vsx-extension-editor .header .details .title .preview {
|
|
338
|
+
color: white;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.theia-vsx-extension-editor .header .details .title .identifier,
|
|
342
|
+
.theia-vsx-extension-editor .header .details .title .preview,
|
|
343
|
+
.theia-vsx-extension-editor .header .details .title .builtin {
|
|
344
|
+
line-height: var(--theia-code-line-height);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.theia-vsx-extension-editor .header .details .title .identifier,
|
|
348
|
+
.theia-vsx-extension-editor .header .details .title .preview {
|
|
349
|
+
padding: calc(var(--theia-ui-padding) * 2 / 3);
|
|
350
|
+
padding-top: 0px;
|
|
351
|
+
padding-bottom: 0px;
|
|
352
|
+
border-radius: calc(var(--theia-ui-padding) * 2 / 3);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.theia-vsx-extension-editor .header .details .title .preview,
|
|
356
|
+
.theia-vsx-extension-editor .header .details .title .builtin {
|
|
357
|
+
font-size: var(--theia-ui-font-size0);
|
|
358
|
+
font-style: italic;
|
|
359
|
+
margin-left: calc(var(--theia-ui-padding) * 5 / 3);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.theia-vsx-extension-editor .header .details .subtitle {
|
|
363
|
+
padding-top: var(--theia-ui-padding);
|
|
364
|
+
white-space: nowrap;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.theia-vsx-extension-editor .header .details .subtitle > span {
|
|
368
|
+
display: flex;
|
|
369
|
+
align-items: center;
|
|
370
|
+
cursor: pointer;
|
|
371
|
+
line-height: var(--theia-content-line-height);
|
|
372
|
+
height: var(--theia-content-line-height);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.theia-vsx-extension-editor
|
|
376
|
+
.header
|
|
377
|
+
.details
|
|
378
|
+
.subtitle
|
|
379
|
+
> span:not(:first-child):not(:empty) {
|
|
380
|
+
border-left: 1px solid hsla(0, 0%, 50%, 0.7);
|
|
381
|
+
padding-left: calc(var(--theia-ui-padding) * 2);
|
|
382
|
+
margin-left: calc(var(--theia-ui-padding) * 2);
|
|
383
|
+
font-weight: 500;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.theia-vsx-extension-editor .header .details .subtitle .publisher {
|
|
387
|
+
font-size: var(--theia-ui-font-size3);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.theia-vsx-extension-editor
|
|
391
|
+
.header
|
|
392
|
+
.details
|
|
393
|
+
.subtitle
|
|
394
|
+
.publisher
|
|
395
|
+
.namespace-access,
|
|
396
|
+
.theia-vsx-extension-editor .header .details .subtitle .download-count::before {
|
|
397
|
+
padding-right: var(--theia-ui-padding);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.theia-vsx-extension-editor .header .details .subtitle .average-rating > i {
|
|
401
|
+
color: #ff8e00;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.theia-vsx-extension-editor
|
|
405
|
+
.header
|
|
406
|
+
.details
|
|
407
|
+
.subtitle
|
|
408
|
+
.average-rating
|
|
409
|
+
> i:not(:first-child) {
|
|
410
|
+
padding-left: calc(var(--theia-ui-padding) / 2);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.theia-vsx-extension-editor .header .details .description {
|
|
414
|
+
margin-top: calc(var(--theia-ui-padding) * 5 / 3);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.theia-vsx-extension-editor .action {
|
|
418
|
+
font-weight: 600;
|
|
419
|
+
margin-top: calc(var(--theia-ui-padding) * 5 / 3);
|
|
420
|
+
margin-left: 0px;
|
|
421
|
+
padding: 1px var(--theia-ui-padding);
|
|
422
|
+
vertical-align: middle;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/** Theming */
|
|
426
|
+
|
|
427
|
+
.theia-vsx-extension-editor .action.prominent,
|
|
428
|
+
.theia-vsx-extension-action-bar .action.prominent {
|
|
429
|
+
color: var(--theia-extensionButton-prominentForeground);
|
|
430
|
+
background-color: var(--theia-extensionButton-prominentBackground);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.theia-vsx-extension-editor .action.prominent:hover,
|
|
434
|
+
.theia-vsx-extension-action-bar .action.prominent:hover {
|
|
435
|
+
background-color: var(--theia-extensionButton-prominentHoverBackground);
|
|
436
|
+
}
|