@theia/vsx-registry 1.45.1 → 1.46.0-next.72

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.
Files changed (100) hide show
  1. package/README.md +45 -45
  2. package/lib/browser/recommended-extensions/preference-provider-overrides.d.ts +17 -17
  3. package/lib/browser/recommended-extensions/preference-provider-overrides.js +95 -95
  4. package/lib/browser/recommended-extensions/recommended-extensions-json-schema.d.ts +14 -14
  5. package/lib/browser/recommended-extensions/recommended-extensions-json-schema.js +94 -94
  6. package/lib/browser/recommended-extensions/recommended-extensions-preference-contribution.d.ts +11 -11
  7. package/lib/browser/recommended-extensions/recommended-extensions-preference-contribution.js +59 -59
  8. package/lib/browser/vsx-extension-commands.d.ts +14 -13
  9. package/lib/browser/vsx-extension-commands.d.ts.map +1 -1
  10. package/lib/browser/vsx-extension-commands.js +68 -63
  11. package/lib/browser/vsx-extension-commands.js.map +1 -1
  12. package/lib/browser/vsx-extension-editor-manager.d.ts +9 -9
  13. package/lib/browser/vsx-extension-editor-manager.js +49 -49
  14. package/lib/browser/vsx-extension-editor.d.ts +21 -21
  15. package/lib/browser/vsx-extension-editor.js +109 -109
  16. package/lib/browser/vsx-extension.d.ts +146 -143
  17. package/lib/browser/vsx-extension.d.ts.map +1 -1
  18. package/lib/browser/vsx-extension.js +616 -596
  19. package/lib/browser/vsx-extension.js.map +1 -1
  20. package/lib/browser/vsx-extensions-contribution.d.ts +70 -60
  21. package/lib/browser/vsx-extensions-contribution.d.ts.map +1 -1
  22. package/lib/browser/vsx-extensions-contribution.js +375 -344
  23. package/lib/browser/vsx-extensions-contribution.js.map +1 -1
  24. package/lib/browser/vsx-extensions-model.d.ts +75 -72
  25. package/lib/browser/vsx-extensions-model.d.ts.map +1 -1
  26. package/lib/browser/vsx-extensions-model.js +437 -391
  27. package/lib/browser/vsx-extensions-model.js.map +1 -1
  28. package/lib/browser/vsx-extensions-preferences.d.ts +12 -0
  29. package/lib/browser/vsx-extensions-preferences.d.ts.map +1 -0
  30. package/lib/browser/vsx-extensions-preferences.js +47 -0
  31. package/lib/browser/vsx-extensions-preferences.js.map +1 -0
  32. package/lib/browser/vsx-extensions-search-bar.d.ts +22 -14
  33. package/lib/browser/vsx-extensions-search-bar.d.ts.map +1 -1
  34. package/lib/browser/vsx-extensions-search-bar.js +106 -75
  35. package/lib/browser/vsx-extensions-search-bar.js.map +1 -1
  36. package/lib/browser/vsx-extensions-search-model.d.ts +21 -21
  37. package/lib/browser/vsx-extensions-search-model.js +70 -70
  38. package/lib/browser/vsx-extensions-source.d.ts +19 -19
  39. package/lib/browser/vsx-extensions-source.js +102 -102
  40. package/lib/browser/vsx-extensions-view-container.d.ts +49 -49
  41. package/lib/browser/vsx-extensions-view-container.js +179 -179
  42. package/lib/browser/vsx-extensions-widget.d.ts +35 -34
  43. package/lib/browser/vsx-extensions-widget.d.ts.map +1 -1
  44. package/lib/browser/vsx-extensions-widget.js +164 -156
  45. package/lib/browser/vsx-extensions-widget.js.map +1 -1
  46. package/lib/browser/vsx-language-quick-pick-service.d.ts +15 -15
  47. package/lib/browser/vsx-language-quick-pick-service.js +121 -121
  48. package/lib/browser/vsx-registry-frontend-module.d.ts +4 -4
  49. package/lib/browser/vsx-registry-frontend-module.d.ts.map +1 -1
  50. package/lib/browser/vsx-registry-frontend-module.js +99 -97
  51. package/lib/browser/vsx-registry-frontend-module.js.map +1 -1
  52. package/lib/common/index.d.ts +3 -3
  53. package/lib/common/index.js +25 -25
  54. package/lib/common/ovsx-client-provider.d.ts +13 -13
  55. package/lib/common/ovsx-client-provider.js +29 -29
  56. package/lib/common/vsx-environment.d.ts +9 -9
  57. package/lib/common/vsx-environment.js +20 -20
  58. package/lib/common/vsx-extension-uri.d.ts +3 -3
  59. package/lib/common/vsx-extension-uri.js +20 -20
  60. package/lib/common/vsx-registry-common-module.d.ts +3 -3
  61. package/lib/common/vsx-registry-common-module.js +57 -57
  62. package/lib/node/vsx-cli.d.ts +9 -9
  63. package/lib/node/vsx-cli.js +41 -41
  64. package/lib/node/vsx-environment-impl.d.ts +14 -14
  65. package/lib/node/vsx-environment-impl.js +61 -61
  66. package/lib/node/vsx-extension-resolver.d.ts +20 -20
  67. package/lib/node/vsx-extension-resolver.js +154 -154
  68. package/lib/node/vsx-registry-backend-module.d.ts +3 -3
  69. package/lib/node/vsx-registry-backend-module.js +35 -35
  70. package/lib/package.spec.js +25 -25
  71. package/package.json +12 -12
  72. package/src/browser/recommended-extensions/preference-provider-overrides.ts +99 -99
  73. package/src/browser/recommended-extensions/recommended-extensions-json-schema.ts +74 -74
  74. package/src/browser/recommended-extensions/recommended-extensions-preference-contribution.ts +68 -68
  75. package/src/browser/style/extensions.svg +4 -4
  76. package/src/browser/style/index.css +436 -373
  77. package/src/browser/vsx-extension-commands.ts +68 -63
  78. package/src/browser/vsx-extension-editor-manager.ts +42 -42
  79. package/src/browser/vsx-extension-editor.tsx +96 -96
  80. package/src/browser/vsx-extension.tsx +704 -675
  81. package/src/browser/vsx-extensions-contribution.ts +361 -327
  82. package/src/browser/vsx-extensions-model.ts +436 -389
  83. package/src/browser/vsx-extensions-preferences.ts +58 -0
  84. package/src/browser/vsx-extensions-search-bar.tsx +107 -69
  85. package/src/browser/vsx-extensions-search-model.ts +61 -61
  86. package/src/browser/vsx-extensions-source.ts +83 -83
  87. package/src/browser/vsx-extensions-view-container.ts +179 -179
  88. package/src/browser/vsx-extensions-widget.tsx +165 -156
  89. package/src/browser/vsx-language-quick-pick-service.ts +110 -110
  90. package/src/browser/vsx-registry-frontend-module.ts +108 -106
  91. package/src/common/index.ts +19 -19
  92. package/src/common/ovsx-client-provider.ts +35 -35
  93. package/src/common/vsx-environment.ts +27 -27
  94. package/src/common/vsx-extension-uri.ts +20 -20
  95. package/src/common/vsx-registry-common-module.ts +63 -63
  96. package/src/node/vsx-cli.ts +38 -38
  97. package/src/node/vsx-environment-impl.ts +50 -50
  98. package/src/node/vsx-extension-resolver.ts +125 -125
  99. package/src/node/vsx-registry-backend-module.ts +35 -35
  100. package/src/package.spec.ts +29 -29
@@ -1,373 +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
- .theia-vsx-extensions {
25
- height: 100%;
26
- }
27
-
28
- .theia-vsx-extension,
29
- .theia-vsx-extensions-view-container .part > .body {
30
- min-height: calc(var(--theia-content-line-height) * 3);
31
- }
32
-
33
- .theia-vsx-extensions-search-bar {
34
- padding: var(--theia-ui-padding) var(--theia-scrollbar-width)
35
- var(--theia-ui-padding) 18px
36
- /* expansion toggle padding of tree elements in result list */;
37
- display: flex;
38
- align-content: center;
39
- }
40
-
41
- .theia-vsx-extensions-search-bar .theia-input {
42
- overflow: hidden;
43
- line-height: var(--theia-content-line-height);
44
- flex: 1;
45
- padding-top: calc(var(--theia-ui-padding) / 2);
46
- padding-bottom: calc(var(--theia-ui-padding) / 2);
47
- }
48
-
49
- .theia-vsx-extension {
50
- display: flex;
51
- flex-direction: row;
52
- line-height: calc(var(--theia-content-line-height) * 17 / 22);
53
- align-items: center;
54
- }
55
-
56
- .theia-vsx-extension-icon {
57
- height: var(--theia-vsx-extension-icon-size);
58
- width: var(--theia-vsx-extension-icon-size);
59
- align-self: center;
60
- padding-right: calc(var(--theia-ui-padding) * 2.5);
61
- flex-shrink: 0;
62
- object-fit: contain;
63
- }
64
-
65
- .theia-vsx-extension-icon.placeholder {
66
- background-size: var(--theia-vsx-extension-icon-size);
67
- background-repeat: no-repeat;
68
- background-image: url("defaultIcon.png");
69
- }
70
-
71
- .theia-vsx-extension-content {
72
- display: flex;
73
- flex-direction: column;
74
- width: calc(
75
- 100% - var(--theia-vsx-extension-icon-size) - var(--theia-ui-padding) * 2.5
76
- );
77
- }
78
-
79
- .theia-vsx-extension-content .title {
80
- display: flex;
81
- flex-direction: row;
82
- justify-content: space-between;
83
- align-items: center;
84
- white-space: nowrap;
85
- }
86
-
87
- .theia-vsx-extension-content .title .name {
88
- font-weight: bold;
89
- }
90
-
91
- .theia-vsx-extension-content .title .version,
92
- .theia-vsx-extension-content .title .stat {
93
- opacity: 0.85;
94
- font-size: 80%;
95
- }
96
-
97
- .theia-vsx-extension-content .title .stat .codicon {
98
- font-size: 110%;
99
- }
100
-
101
- .theia-vsx-extension-content .title .stat .download-count,
102
- .theia-vsx-extension-content .title .stat .average-rating {
103
- display: inline-flex;
104
- align-items: center;
105
- }
106
-
107
- .theia-vsx-extension-content .title .stat .average-rating > i {
108
- color: #ff8e00;
109
- }
110
-
111
- .theia-vsx-extension-editor .download-count > i,
112
- .theia-vsx-extension-content .title .stat .average-rating > i,
113
- .theia-vsx-extension-content .title .stat .download-count > i {
114
- padding-right: calc(var(--theia-ui-padding) / 2);
115
- }
116
-
117
- .theia-vsx-extension-content .title .stat .average-rating,
118
- .theia-vsx-extension-content .title .stat .download-count {
119
- padding-left: var(--theia-ui-padding);
120
- }
121
-
122
- .theia-vsx-extension-description {
123
- padding-right: calc(var(--theia-ui-padding) * 2);
124
- }
125
-
126
- .theia-vsx-extension-publisher {
127
- font-weight: 600;
128
- font-size: 90%;
129
- }
130
-
131
- .theia-vsx-extension-action-bar {
132
- display: flex;
133
- flex-direction: row;
134
- justify-content: space-between;
135
- align-items: center;
136
- white-space: nowrap;
137
- }
138
-
139
- .theia-vsx-extension-action-bar .action {
140
- font-size: 90%;
141
- min-width: auto !important;
142
- padding: 2px var(--theia-ui-padding) !important;
143
- margin-top: 2px;
144
- vertical-align: middle;
145
- }
146
-
147
- /* Editor Section */
148
-
149
- .theia-vsx-extension-editor {
150
- height: 100%;
151
- overflow: hidden;
152
- display: flex;
153
- flex-direction: column;
154
- padding-top: 0;
155
- position: relative;
156
- }
157
-
158
- .theia-vsx-extension-editor .header {
159
- display: flex;
160
- padding: calc(var(--theia-ui-padding) * 3) calc(var(--theia-ui-padding) * 3)
161
- calc(var(--theia-ui-padding) * 3);
162
- flex-shrink: 0;
163
- border-bottom: 1px solid hsla(0, 0%, 50%, 0.5);
164
- width: 100%;
165
- background: var(--theia-editor-background);
166
- }
167
-
168
- .theia-vsx-extension-editor .scroll-container {
169
- position: relative;
170
- padding-top: 0;
171
- max-width: 100%;
172
- width: 100%;
173
- }
174
-
175
- .theia-vsx-extension-editor .body {
176
- flex: 1;
177
- padding: calc(var(--theia-ui-padding) * 2);
178
- padding-top: 0;
179
- max-width: 1000px;
180
- margin: 0 auto;
181
- line-height: 22px;
182
- }
183
-
184
- .theia-vsx-extension-editor .body h1 {
185
- padding-bottom: var(--theia-ui-padding);
186
- border-bottom: 1px solid hsla(0, 0%, 50%, 0.5);
187
- margin-top: calc(var(--theia-ui-padding) * 5);
188
- }
189
-
190
- .theia-vsx-extension-editor .body a {
191
- text-decoration: none;
192
- }
193
-
194
- .theia-vsx-extension-editor .body a:hover {
195
- text-decoration: underline;
196
- }
197
-
198
- .theia-vsx-extension-editor .body table {
199
- border-collapse: collapse;
200
- }
201
-
202
- .theia-vsx-extension-editor .body table > thead > tr > th {
203
- text-align: left;
204
- border-bottom: 1px solid var(--theia-extensionEditor-tableHeadBorder);
205
- }
206
-
207
- .theia-vsx-extension-editor .body table > thead > tr > th,
208
- .theia-vsx-extension-editor .body table > thead > tr > td,
209
- .theia-vsx-extension-editor .body table > tbody > tr > th,
210
- .theia-vsx-extension-editor .body table > tbody > tr > td {
211
- padding: 5px 10px;
212
- }
213
-
214
- .theia-vsx-extension-editor .body table > tbody > tr + tr > td {
215
- border-top: 1px solid var(--theia-extensionEditor-tableCellBorder);
216
- }
217
-
218
- .theia-vsx-extension-editor .scroll-container .body pre {
219
- white-space: normal;
220
- }
221
-
222
- .theia-vsx-extension-editor .body img {
223
- max-width: 100%;
224
- }
225
-
226
- .theia-vsx-extension-editor .header .icon-container {
227
- height: var(--theia-vsx-extension-editor-icon-size);
228
- width: var(--theia-vsx-extension-editor-icon-size);
229
- align-self: center;
230
- padding-right: calc(var(--theia-ui-padding) * 2.5);
231
- flex-shrink: 0;
232
- object-fit: contain;
233
- }
234
-
235
- .theia-vsx-extension-editor .header .icon-container.placeholder {
236
- background-size: var(--theia-vsx-extension-editor-icon-size);
237
- background-repeat: no-repeat;
238
- background-image: url("defaultIcon.png");
239
- }
240
-
241
- .theia-vsx-extension-editor .header .details {
242
- overflow: hidden;
243
- user-select: text;
244
- -webkit-user-select: text;
245
- }
246
-
247
- .theia-vsx-extension-editor .header .details .title,
248
- .theia-vsx-extension-editor .header .details .subtitle {
249
- display: flex;
250
- align-items: center;
251
- }
252
-
253
- .theia-vsx-extension-editor .header .details .title .name {
254
- flex: 0;
255
- font-size: calc(var(--theia-ui-font-size1) * 2);
256
- font-weight: 600;
257
- white-space: nowrap;
258
- cursor: pointer;
259
- }
260
-
261
- .theia-vsx-extension-editor .header .details .title .identifier {
262
- margin-left: calc(var(--theia-ui-padding) * 5 / 3);
263
- opacity: 0.6;
264
- background: hsla(0, 0%, 68%, 0.31);
265
- user-select: text;
266
- -webkit-user-select: text;
267
- white-space: nowrap;
268
- }
269
-
270
- .theia-vsx-extension-editor .header .details .title .preview {
271
- background: #d63f26;
272
- }
273
-
274
- .vs .theia-vsx-extension-editor .header .details .title .preview {
275
- color: white;
276
- }
277
-
278
- .theia-vsx-extension-editor .header .details .title .identifier,
279
- .theia-vsx-extension-editor .header .details .title .preview,
280
- .theia-vsx-extension-editor .header .details .title .builtin {
281
- line-height: var(--theia-code-line-height);
282
- }
283
-
284
- .theia-vsx-extension-editor .header .details .title .identifier,
285
- .theia-vsx-extension-editor .header .details .title .preview {
286
- padding: calc(var(--theia-ui-padding) * 2 / 3);
287
- padding-top: 0px;
288
- padding-bottom: 0px;
289
- border-radius: calc(var(--theia-ui-padding) * 2 / 3);
290
- }
291
-
292
- .theia-vsx-extension-editor .header .details .title .preview,
293
- .theia-vsx-extension-editor .header .details .title .builtin {
294
- font-size: var(--theia-ui-font-size0);
295
- font-style: italic;
296
- margin-left: calc(var(--theia-ui-padding) * 5 / 3);
297
- }
298
-
299
- .theia-vsx-extension-editor .header .details .subtitle {
300
- padding-top: var(--theia-ui-padding);
301
- white-space: nowrap;
302
- }
303
-
304
- .theia-vsx-extension-editor .header .details .subtitle > span {
305
- display: flex;
306
- align-items: center;
307
- cursor: pointer;
308
- line-height: var(--theia-content-line-height);
309
- height: var(--theia-content-line-height);
310
- }
311
-
312
- .theia-vsx-extension-editor
313
- .header
314
- .details
315
- .subtitle
316
- > span:not(:first-child):not(:empty) {
317
- border-left: 1px solid hsla(0, 0%, 50%, 0.7);
318
- padding-left: calc(var(--theia-ui-padding) * 2);
319
- margin-left: calc(var(--theia-ui-padding) * 2);
320
- font-weight: 500;
321
- }
322
-
323
- .theia-vsx-extension-editor .header .details .subtitle .publisher {
324
- font-size: var(--theia-ui-font-size3);
325
- }
326
-
327
- .theia-vsx-extension-editor
328
- .header
329
- .details
330
- .subtitle
331
- .publisher
332
- .namespace-access,
333
- .theia-vsx-extension-editor .header .details .subtitle .download-count::before {
334
- padding-right: var(--theia-ui-padding);
335
- }
336
-
337
- .theia-vsx-extension-editor .header .details .subtitle .average-rating > i {
338
- color: #ff8e00;
339
- }
340
-
341
- .theia-vsx-extension-editor
342
- .header
343
- .details
344
- .subtitle
345
- .average-rating
346
- > i:not(:first-child) {
347
- padding-left: calc(var(--theia-ui-padding) / 2);
348
- }
349
-
350
- .theia-vsx-extension-editor .header .details .description {
351
- margin-top: calc(var(--theia-ui-padding) * 5 / 3);
352
- }
353
-
354
- .theia-vsx-extension-editor .action {
355
- font-weight: 600;
356
- margin-top: calc(var(--theia-ui-padding) * 5 / 3);
357
- margin-left: 0px;
358
- padding: 1px var(--theia-ui-padding);
359
- vertical-align: middle;
360
- }
361
-
362
- /** Theming */
363
-
364
- .theia-vsx-extension-editor .action.prominent,
365
- .theia-vsx-extension-action-bar .action.prominent {
366
- color: var(--theia-extensionButton-prominentForeground);
367
- background-color: var(--theia-extensionButton-prominentBackground);
368
- }
369
-
370
- .theia-vsx-extension-editor .action.prominent:hover,
371
- .theia-vsx-extension-action-bar .action.prominent:hover {
372
- background-color: var(--theia-extensionButton-prominentHoverBackground);
373
- }
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
+ }