extensionEditor.css 5.2 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
	height: 128px;
J
Joao Moreno 已提交
18
	background: rgba(128, 128, 128, 0.15);
J
Joao Moreno 已提交
19
	padding: 20px;
J
Joao Moreno 已提交
20
	overflow: hidden;
J
Joao Moreno 已提交
21
	font-size: 14px;
J
Joao Moreno 已提交
22 23
}

J
Joao Moreno 已提交
24 25 26
.extension-editor > .header > .icon {
	height: 128px;
	width: 128px;
27
	object-fit: contain;
J
Joao Moreno 已提交
28 29
}

J
Joao Moreno 已提交
30 31 32 33 34 35
.extension-editor > .header > .details {
	flex: 1;
	padding-left: 20px;
	overflow: hidden;
}

J
Joao Moreno 已提交
36 37 38 39 40 41
.extension-editor > .header > .details > .title {
	display: flex;
	align-items: baseline;
}

.extension-editor > .header > .details > .title > .name {
S
Sandeep Somavarapu 已提交
42
	flex: 0;
J
Joao Moreno 已提交
43
	font-size: 26px;
J
Joao Moreno 已提交
44
	line-height: 30px;
J
Joao Moreno 已提交
45
	font-weight: 600;
J
Joao Moreno 已提交
46
	white-space: nowrap;
J
Joao Moreno 已提交
47 48
}

S
Sandeep Somavarapu 已提交
49 50 51 52 53 54 55 56 57 58 59
.extension-editor > .header > .details > .title > .identifier {
	margin-left: 10px;
	font-size: 14px;
	opacity: 0.6;
	background: rgba(173, 173, 173, 0.51);
	padding: 0px 4px;
	border-radius: 4px;
	user-select: text;
	-webkit-user-select: text;
}

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

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

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

J
Joao Moreno 已提交
75 76 77 78 79 80 81
.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 已提交
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
.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;
}

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

J
Joao Moreno 已提交
107
.extension-editor > .body {
108
	height: calc(100% - 168px);
J
Joao Moreno 已提交
109
	overflow: hidden;
110 111
}

J
Joao Moreno 已提交
112 113
.extension-editor > .body > .navbar {
	height: 36px;
114
	font-weight: bold;
J
Joao Moreno 已提交
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
	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;
132
	opacity: 0.7;
J
Joao Moreno 已提交
133 134 135 136 137 138 139 140 141 142 143 144 145
}

.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);
146 147
}

J
Joao Moreno 已提交
148 149 150 151 152
.extension-editor > .body > .content > .monaco-scrollable-element {
	height: 100%;
}

.extension-editor > .body > .content > .monaco-scrollable-element > .subcontent {
153 154 155 156 157 158 159
	height: 100%;
	padding: 20px;
	overflow-y: scroll;
	box-sizing: border-box;
}

.extension-editor > .body > .content table {
J
Joao Moreno 已提交
160
	width: 100%;
161 162 163 164
	border-spacing: 0;
	border-collapse: separate;
}

J
Joao Moreno 已提交
165 166 167 168
.extension-editor > .body > .content details:not(:first-child) {
	margin-top: 20px;
}

169 170 171 172 173
.extension-editor > .body > .content details > summary {
	cursor: pointer;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 120%;
J
Joao Moreno 已提交
174 175
	border-bottom: 1px solid rgba(128, 128, 128, 0.22);
	padding-bottom: 6px;
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
}

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

J
Joao Moreno 已提交
208
.extension-editor > .body > .content table code:not(:empty) {
209
	font-family: Monaco, Menlo, Consolas, "Droid Sans Mono", "Inconsolata", "Courier New", monospace, "Droid Sans Fallback";
210
	font-size: 90%;
211 212 213
	background-color: rgba(128, 128, 128, 0.17);
	border-radius: 4px;
	padding: 1px 4px;
214
}