extensionEditor.css 8.8 KB
Newer Older
J
Joao Moreno 已提交
1 2 3 4 5 6 7
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.extension-editor {
	height: 100%;
J
Joao Moreno 已提交
8
	overflow: hidden;
J
Joao Moreno 已提交
9 10
}

J
Joao Moreno 已提交
11 12
.extension-editor .clickable {
	cursor: pointer;
J
Joao Moreno 已提交
13 14
}

J
Joao Moreno 已提交
15
.extension-editor > .header {
J
Joao Moreno 已提交
16
	display: flex;
17 18 19 20
	padding-top: 20px;
	padding-bottom: 14px;
	padding-left: 20px;
	padding-right: 20px;
J
Joao Moreno 已提交
21
	overflow: hidden;
J
Joao Moreno 已提交
22
	font-size: 14px;
J
Joao Moreno 已提交
23 24
}

25 26 27 28 29
.extension-editor > .header > .icon-container {
	position: relative;
}

.extension-editor > .header > .icon-container .icon {
J
Joao Moreno 已提交
30 31
	height: 128px;
	width: 128px;
32
	object-fit: contain;
J
Joao Moreno 已提交
33 34
}

35 36 37
.extension-editor > .header > .icon-container .extension-remote-badge {
	position: absolute;
	right: 0px;
38 39 40 41 42 43 44 45 46
	top: 88px;
	width: 38px;
	height: 38px;
	line-height: 38px;
}

.extension-editor > .header > .icon-container .extension-remote-badge .octicon {
	font-size: 32px;
	vertical-align: middle;
47 48
}

J
Joao Moreno 已提交
49 50 51
.extension-editor > .header > .details {
	padding-left: 20px;
	overflow: hidden;
52
	user-select: text;
J
Joao Moreno 已提交
53 54
}

J
Joao Moreno 已提交
55 56
.extension-editor > .header > .details > .title {
	display: flex;
57
	align-items: center;
J
Joao Moreno 已提交
58 59 60
}

.extension-editor > .header > .details > .title > .name {
S
Sandeep Somavarapu 已提交
61
	flex: 0;
J
Joao Moreno 已提交
62
	font-size: 26px;
J
Joao Moreno 已提交
63
	line-height: 30px;
J
Joao Moreno 已提交
64
	font-weight: 600;
J
Joao Moreno 已提交
65
	white-space: nowrap;
J
Joao Moreno 已提交
66 67
}

S
Sandeep Somavarapu 已提交
68 69 70 71
.extension-editor > .header > .details > .title > .identifier {
	margin-left: 10px;
	font-size: 14px;
	opacity: 0.6;
72
	background: rgba(173, 173, 173, 0.31);
S
Sandeep Somavarapu 已提交
73 74 75
	padding: 0px 4px;
	border-radius: 4px;
	user-select: text;
S
Sandeep Somavarapu 已提交
76
	white-space: nowrap;
S
Sandeep Somavarapu 已提交
77 78
}

S
Sandeep Somavarapu 已提交
79 80 81 82 83 84
.extension-editor > .header > .details > .title > .builtin {
	font-size: 10px;
	font-style: italic;
	margin-left: 10px;
}

S
Sandeep Somavarapu 已提交
85 86 87 88
.vs .extension-editor > .header > .details > .title > .preview {
	color: white;
}

89 90
.extension-editor > .header > .details > .title > .preview {
	background: rgb(214, 63, 38);
S
Sandeep Somavarapu 已提交
91 92
	font-size: 10px;
	font-style: italic;
93 94 95
	margin-left: 10px;
	padding: 0px 4px;
	border-radius: 4px;
96
	user-select: none;
97 98
}

J
Joao Moreno 已提交
99
.extension-editor > .header > .details > .subtitle {
100
	padding-top: 6px;
J
Joao Moreno 已提交
101
	white-space: nowrap;
J
Joao Moreno 已提交
102 103
	height: 20px;
	line-height: 20px;
J
Joao Moreno 已提交
104 105
}

J
Joao Moreno 已提交
106 107 108 109 110 111 112 113
.extension-editor > .header > .details > .subtitle > .publisher {
	font-size: 18px;
}

.extension-editor > .header > .details > .subtitle > .install > .count {
	margin-left: 6px;
}

J
Joao Moreno 已提交
114 115 116 117 118 119 120
.extension-editor > .header > .details > .subtitle > span:not(:first-child):not(:empty),
.extension-editor > .header > .details > .subtitle > a:not(:first-child):not(:empty) {
	border-left: 1px solid rgba(128, 128, 128, 0.7);
	margin-left: 14px;
	padding-left: 14px;
}

J
Joao Moreno 已提交
121
.extension-editor > .header > .details > .description {
122
	margin-top: 10px;
J
Joao Moreno 已提交
123 124 125 126 127 128
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.extension-editor > .header > .details > .actions {
129
	margin-top: 10px;
J
Joao Moreno 已提交
130 131 132 133 134 135 136 137 138 139
}

.extension-editor > .header > .details > .actions > .monaco-action-bar {
	text-align: initial;
}

.extension-editor > .header > .details > .actions > .monaco-action-bar > .actions-container {
	justify-content: flex-start;
}

140 141
.extension-editor > .header > .details > .actions > .monaco-action-bar > .actions-container > .action-item > .action-label {
	font-weight: 600;
S
Sandeep Somavarapu 已提交
142
	margin: 4px 8px 4px 0px;
J
Joao Moreno 已提交
143
	padding: 1px 6px;
144 145
}

146

147
.extension-editor > .header > .details > .subtext-container {
148 149
	display: block;
	float: left;
150
	margin-top: 0;
151
	font-size: 13px;
152
	font-style: italic;
153 154
}

155
.extension-editor > .header > .details > .subtext-container > .monaco-action-bar {
156
	float: left;
157 158 159 160
	margin-top: 2px;
	font-style: normal;
}

161
.extension-editor > .header > .details > .subtext-container > .subtext {
162
	float:left;
163
	margin-top: 5px;
164
	margin-right: 4px;
165
}
166
.extension-editor > .header > .details > .subtext-container > .monaco-action-bar .action-label {
167 168
	margin-top: 4px;
	margin-left: 4px;
169 170
	padding-top: 0;
	padding-bottom: 2px;
171 172
}

J
Joao Moreno 已提交
173
.extension-editor > .body {
174
	height: calc(100% - 168px);
J
Joao Moreno 已提交
175
	overflow: hidden;
176 177
}

J
Joao Moreno 已提交
178 179
.extension-editor > .body > .navbar {
	height: 36px;
180
	font-weight: bold;
J
Joao Moreno 已提交
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
	font-size: 14px;
	line-height: 36px;
	padding-left: 20px;
	border-bottom: 1px solid rgba(136, 136, 136, 0.45);
	box-sizing: border-box;
}

.extension-editor > .body > .navbar > .monaco-action-bar > .actions-container {
	justify-content: initial;
}

.extension-editor > .body > .navbar > .monaco-action-bar > .actions-container > .action-item > .action-label {
	margin-right: 16px;
}

.extension-editor > .body > .navbar > .monaco-action-bar > .actions-container > .action-item > .action-label {
	font-size: inherit;
198
	opacity: 0.7;
J
Joao Moreno 已提交
199 200 201 202 203 204 205 206 207 208 209 210 211
}

.extension-editor > .body > .navbar > .monaco-action-bar > .actions-container > .action-item.disabled > .action-label {
	opacity: 1;
	text-decoration: underline;
}

.extension-editor > .body > .navbar > .monaco-action-bar > .actions-container > .action-item > .action-label:hover {
	text-decoration: underline;
}

.extension-editor > .body > .content {
	height: calc(100% - 36px);
212 213
	position: relative;
	overflow: hidden;
214
	user-select: text;
215 216
}

217 218 219 220
.extension-editor > .body > .content.loading {
	background: url('loading.svg') center center no-repeat;
}

J
Joao Moreno 已提交
221 222 223 224
.extension-editor > .body > .content > .monaco-scrollable-element {
	height: 100%;
}

225 226 227 228
.extension-editor > .body > .content > .nocontent {
	margin-left: 20px;
}

J
Joao Moreno 已提交
229
.extension-editor > .body > .content > .monaco-scrollable-element > .subcontent {
230 231 232 233 234 235 236
	height: 100%;
	padding: 20px;
	overflow-y: scroll;
	box-sizing: border-box;
}

.extension-editor > .body > .content table {
J
Joao Moreno 已提交
237
	width: 100%;
238 239 240 241
	border-spacing: 0;
	border-collapse: separate;
}

J
Joao Moreno 已提交
242 243 244 245
.extension-editor > .body > .content details:not(:first-child) {
	margin-top: 20px;
}

246 247 248 249 250
.extension-editor > .body > .content details > summary {
	cursor: pointer;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 120%;
J
Joao Moreno 已提交
251 252
	border-bottom: 1px solid rgba(128, 128, 128, 0.22);
	padding-bottom: 6px;
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
}

.extension-editor > .body > .content details > summary:focus {
	outline: none;
}

.extension-editor > .body > .content details > summary::-webkit-details-marker {
	color: rgba(128, 128, 128, 0.5);
}

.extension-editor > .body > .content table tr:nth-child(odd) {
	background-color: rgba(130, 130, 130, 0.04);
}

.extension-editor > .body > .content table tr:not(:first-child):hover {
	background-color: rgba(128, 128, 128, 0.15);
}

.extension-editor > .body > .content table th,
.extension-editor > .body > .content table td {
	padding: 2px 16px 2px 4px;
}

.extension-editor > .body > .content table th:last-child,
.extension-editor > .body > .content table td:last-child {
	padding: 2px 4px;
}

.extension-editor > .body > .content table th {
	text-align: left;
E
EbXpJ6bp 已提交
283
	word-break: keep-all;
284 285
}

J
Joao Moreno 已提交
286
.extension-editor > .body > .content table code:not(:empty) {
287
	font-family: var(--monaco-monospace-font);
288
	font-size: 90%;
289 290 291
	background-color: rgba(128, 128, 128, 0.17);
	border-radius: 4px;
	padding: 1px 4px;
S
Sandeep Somavarapu 已提交
292 293
}

294 295 296 297 298 299 300 301 302 303 304 305
.extension-editor > .body > .content table .colorBox {
	box-sizing: border-box;
	width: 0.8em;
	height: 0.8em;
	display: inline-block;
	border-width: 0.1em;
	border-style: solid;
	border-color: rgb(0, 0, 0);
	margin: 0em 0.2em;
	vertical-align: middle;
}

306 307
.vs-dark .extension-editor > .body > .content table .colorBox,
.hc-black .extension-editor > .body > .content table .colorBox {
308 309 310
	border-color: rgb(238, 238, 238);
}

S
Sandeep Somavarapu 已提交
311
.extension-editor .subcontent .monaco-list-row .content .unknown-extension {
312 313 314
	line-height: 62px;
}

S
Sandeep Somavarapu 已提交
315
.extension-editor .subcontent .monaco-list-row .content .unknown-extension > .error-marker {
316 317 318 319
	background-color: #BE1100;
	padding: 2px 4px;
	font-weight: bold;
	font-size: 11px;
S
Sandeep Somavarapu 已提交
320
	color: #CCC;
321 322
}

S
Sandeep Somavarapu 已提交
323
.extension-editor .subcontent .monaco-list-row .unknown-extension > .message {
324 325 326 327 328
	padding-left: 10px;
	font-weight: bold;
	font-size: 14px;
}

S
Sandeep Somavarapu 已提交
329
.extension-editor .subcontent .monaco-list-row .extension {
S
Sandeep Somavarapu 已提交
330 331 332 333
	display: flex;
	align-items: center;
}

S
Sandeep Somavarapu 已提交
334
.extension-editor .subcontent .monaco-list-row .extension > .details {
S
Sandeep Somavarapu 已提交
335 336 337 338 339
	flex: 1;
	overflow: hidden;
	padding-left: 10px;
}

S
Sandeep Somavarapu 已提交
340
.extension-editor .subcontent .monaco-list-row .extension > .details > .header {
S
Sandeep Somavarapu 已提交
341
	display: flex;
342
	align-items: center;
S
Sandeep Somavarapu 已提交
343
	line-height: 19px;
S
Sandeep Somavarapu 已提交
344 345 346
	overflow: hidden;
}

S
Sandeep Somavarapu 已提交
347
.extension-editor .subcontent .monaco-list-row .extension > .icon {
S
Sandeep Somavarapu 已提交
348 349
	height: 40px;
	width: 40px;
E
EbXpJ6bp 已提交
350
	object-fit: contain;
S
Sandeep Somavarapu 已提交
351 352
}

S
Sandeep Somavarapu 已提交
353
.extension-editor .subcontent .monaco-list-row .extension > .details > .header > .name {
S
Sandeep Somavarapu 已提交
354 355 356 357
	font-weight: bold;
	font-size: 16px;
}

S
Sandeep Somavarapu 已提交
358
.extension-editor .subcontent .monaco-list-row .extension > .details > .header > .name:hover {
359 360 361
	text-decoration: underline;
}

S
Sandeep Somavarapu 已提交
362
.extension-editor .subcontent .monaco-list-row .extension > .details > .header > .identifier {
S
Sandeep Somavarapu 已提交
363 364
	font-size: 90%;
	opacity: 0.6;
365 366 367 368
	margin-left: 10px;
	background: rgba(173, 173, 173, 0.31);
	padding: 0px 4px;
	border-radius: 4px;
S
Sandeep Somavarapu 已提交
369 370
}

S
Sandeep Somavarapu 已提交
371
.extension-editor .subcontent .monaco-list-row .extension > .details > .footer {
S
Sandeep Somavarapu 已提交
372
	display: flex;
S
Sandeep Somavarapu 已提交
373
	line-height: 19px;
S
Sandeep Somavarapu 已提交
374 375 376 377
	overflow: hidden;
	padding-top: 5px;
}

S
Sandeep Somavarapu 已提交
378
.extension-editor .subcontent .monaco-list-row .extension > .details > .footer > .author {
S
Sandeep Somavarapu 已提交
379 380 381
	font-size: 90%;
	font-weight: 600;
	opacity: 0.6;
S
Sandeep Somavarapu 已提交
382
}