extensionEditor.css 2.7 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 11 12
	display: flex;
	flex-direction: column;
}

J
Joao Moreno 已提交
13 14 15 16
.extension-editor a {
	color: inherit;
}

J
Joao Moreno 已提交
17
.extension-editor > .header {
J
Joao Moreno 已提交
18
	display: flex;
J
Joao Moreno 已提交
19
	height: 128px;
J
Joao Moreno 已提交
20
	background: rgba(128, 128, 128, 0.15);
J
Joao Moreno 已提交
21
	padding: 20px;
J
Joao Moreno 已提交
22
	overflow: hidden;
J
Joao Moreno 已提交
23
	font-size: 14px;
J
Joao Moreno 已提交
24 25
}

J
Joao Moreno 已提交
26 27 28
.extension-editor > .header > .icon {
	height: 128px;
	width: 128px;
J
Joao Moreno 已提交
29
	min-width: 128px;
J
Joao Moreno 已提交
30 31 32 33 34
	background-size: 128px;
	background-repeat: no-repeat;
	background-position: center center;
}

J
Joao Moreno 已提交
35 36 37 38 39 40
.extension-editor > .header > .details {
	flex: 1;
	padding-left: 20px;
	overflow: hidden;
}

J
Joao Moreno 已提交
41 42 43 44 45 46 47
.extension-editor > .header > .details > .title {
	display: flex;
	align-items: baseline;
}

.extension-editor > .header > .details > .title > .name {
	flex: 1;
J
Joao Moreno 已提交
48
	font-size: 26px;
J
Joao Moreno 已提交
49
	line-height: 30px;
J
Joao Moreno 已提交
50 51
	font-weight: 600;
	line-height: normal;
J
Joao Moreno 已提交
52
	white-space: nowrap;
J
Joao Moreno 已提交
53 54
}

J
Joao Moreno 已提交
55 56 57 58
.extension-editor > .header > .details > .title > .license {
	margin-left: 10px;
}

J
Joao Moreno 已提交
59 60
.extension-editor > .header > .details > .subtitle {
	padding-top: 10px;
J
Joao Moreno 已提交
61
	white-space: nowrap;
J
Joao Moreno 已提交
62 63
	height: 20px;
	line-height: 20px;
J
Joao Moreno 已提交
64 65
}

J
Joao Moreno 已提交
66 67 68 69 70 71 72 73
.extension-editor > .header > .details > .subtitle > .publisher {
	font-size: 18px;
}

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

J
Joao Moreno 已提交
74 75 76 77 78 79 80
.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 已提交
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
.extension-editor > .header > .details > .description {
	margin-top: 14px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.extension-editor > .header > .details > .actions {
	margin-top: 14px;
}

.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;
}

100 101
.extension-editor > .header > .details > .actions > .monaco-action-bar > .actions-container > .action-item > .action-label {
	font-weight: 600;
J
Joao Moreno 已提交
102
	padding: 1px 6px;
J
Joao Moreno 已提交
103
	line-height: 15px;
104 105
}

J
Joao Moreno 已提交
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
.extension-editor > .body {
	flex: 1;
	overflow-y: scroll;
	overflow-x: hidden;
	padding: 20px;
}

.extension-editor > .body img {
	max-width: 100%;
}

.extension-editor > .body.loading {
	background-image: url('loading.svg');
	background-position: center center;
	background-repeat: no-repeat;
}