/*---------------------------------------------------------------------------------------------
 *  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%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.extension-editor .clickable {
	cursor: pointer;
}

.extension-editor > .header {
	display: flex;
	padding-top: 20px;
	padding-bottom: 14px;
	padding-left: 20px;
	padding-right: 20px;
	overflow: hidden;
	font-size: 14px;
}

.extension-editor > .header > .icon-container {
	position: relative;
}

.extension-editor > .header > .icon-container .icon {
	height: 128px;
	width: 128px;
	object-fit: contain;
}

.extension-editor > .header > .icon-container .extension-remote-badge {
	position: absolute;
	right: 0px;
	top: 88px;
	width: 38px;
	height: 38px;
	line-height: 38px;
	border-radius: 20px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.extension-editor > .header > .icon-container .extension-remote-badge .codicon {
	color: currentColor;
	font-size: 28px;
}

.extension-editor > .header > .details {
	padding-left: 20px;
	overflow: hidden;
	user-select: text;
	-webkit-user-select: text;
}

.extension-editor > .header > .details > .title {
	display: flex;
	align-items: center;
}

.extension-editor > .header > .details > .title > .name {
	flex: 0;
	font-size: 26px;
	line-height: 30px;
	font-weight: 600;
	white-space: nowrap;
}

.extension-editor > .header > .details > .title > .identifier {
	margin-left: 10px;
	font-size: 14px;
	opacity: 0.6;
	background: rgba(173, 173, 173, 0.31);
	padding: 0px 4px;
	border-radius: 4px;
	user-select: text;
	-webkit-user-select: text;
	white-space: nowrap;
}

.extension-editor > .header > .details > .title > .builtin {
	font-size: 10px;
	font-style: italic;
	margin-left: 10px;
}

.monaco-workbench.vs .extension-editor > .header > .details > .title > .preview {
	color: white;
}

.extension-editor > .header > .details > .title > .preview {
	background: rgb(214, 63, 38);
	font-size: 10px;
	font-style: italic;
	margin-left: 10px;
	padding: 0px 4px;
	border-radius: 4px;
	user-select: none;
	-webkit-user-select: none;
}

.extension-editor > .header > .details > .subtitle {
	padding-top: 6px;
	white-space: nowrap;
	height: 20px;
	line-height: 20px;
}

.extension-editor > .header > .details > .subtitle .publisher {
	font-size: 18px;
}

.extension-editor > .header > .details > .subtitle,
.extension-editor > .header > .details > .subtitle .install,
.extension-editor > .header > .details > .subtitle .rating {
	display: flex;
	align-items: center;
}

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

.extension-editor > .header > .details > .subtitle > div:not(:first-child):not(:empty) {
	border-left: 1px solid rgba(128, 128, 128, 0.7);
	margin-left: 14px;
	padding-left: 14px;
}

.extension-editor > .header > .details > .description {
	margin-top: 10px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

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

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

.extension-editor > .header > .details > .actions > .monaco-action-bar > .actions-container > .action-item > .extension-action {
	margin-right: 8px;
}

.extension-editor > .header > .details > .actions > .monaco-action-bar > .actions-container > .action-item > .extension-action.label {
	font-weight: 600;
	padding: 1px 6px;
	max-width: 300px;
}

.extension-editor > .header > .details > .actions > .monaco-action-bar > .actions-container > .action-item > .action-label.system-disable {
	margin-right: 0;
}

.extension-editor>.header>.details>.actions>.monaco-action-bar .action-item .action-label.extension-status-label,
.extension-editor>.header>.details>.actions>.monaco-action-bar .action-item .action-label.disable-status,
.extension-editor>.header>.details>.actions>.monaco-action-bar .action-item .action-label.malicious-status {
	font-weight: normal;
}

.extension-editor>.header>.details>.actions>.monaco-action-bar .action-item .action-label.extension-status-label:hover,
.extension-editor>.header>.details>.actions>.monaco-action-bar .action-item .action-label.disable-status:hover,
.extension-editor>.header>.details>.actions>.monaco-action-bar .action-item .action-label.malicious-status:hover {
	opacity: 0.9;
}

.extension-editor > .header > .details > .subtext-container {
	display: block;
	float: left;
	margin-top: 0;
	font-size: 13px;
	font-style: italic;
}

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

.extension-editor > .header > .details > .subtext-container > .subtext {
	float:left;
	margin-top: 5px;
	margin-right: 4px;
}

.extension-editor > .header > .details > .subtext-container > .monaco-action-bar .action-label {
	margin-top: 4px;
	margin-left: 4px;
	padding-top: 0;
	padding-bottom: 2px;
}

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

.extension-editor > .body {
	flex: 1;
	overflow: hidden;
}

.extension-editor > .body > .navbar {
	height: 36px;
	font-weight: bold;
	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;
	opacity: 0.7;
}

.extension-editor > .body > .navbar > .monaco-action-bar > .actions-container > .action-item > .action-label.checked {
	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);
	position: relative;
	overflow: hidden;
	user-select: text;
	-webkit-user-select: text;
}

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

.extension-editor > .body > .content > .monaco-scrollable-element {
	height: 100%;
}

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

.extension-editor > .body > .content > .extension-pack-readme {
	height: 100%;
}

.extension-editor > .body > .content > .extension-pack-readme > .extension-pack {
	height: 224px;
	padding-left: 20px;
}

.extension-editor > .body > .content > .extension-pack-readme.one-row > .extension-pack {
	height: 142px;
}

.extension-editor > .body > .content > .extension-pack-readme.two-rows > .extension-pack {
	height: 224px;
}

.extension-editor > .body > .content > .extension-pack-readme.three-rows > .extension-pack {
	height: 306px;
}

.extension-editor > .body > .content > .extension-pack-readme.more-rows > .extension-pack {
	height: 326px;
}

.extension-editor > .body > .content > .extension-pack-readme.one-row > .readme-content {
	height: calc(100% - 142px);
}

.extension-editor > .body > .content > .extension-pack-readme.two-rows > .readme-content {
	height: calc(100% - 224px);
}

.extension-editor > .body > .content > .extension-pack-readme.three-rows > .readme-content {
	height: calc(100% - 306px);
}

.extension-editor > .body > .content > .extension-pack-readme.more-rows > .readme-content {
	height: calc(100% - 326px);
}

.extension-editor > .body > .content > .extension-pack-readme > .extension-pack > .header,
.extension-editor > .body > .content > .extension-pack-readme > .extension-pack > .footer {
	margin-bottom: 10px;
	margin-right: 30px;
	font-weight: bold;
	font-size: 120%;
	border-bottom: 1px solid rgba(128, 128, 128, 0.22);
	padding: 4px 6px;
	line-height: 22px;
}

.extension-editor > .body > .content > .extension-pack-readme > .extension-pack > .extension-pack-content {
	height: calc(100% - 60px);
}

.extension-editor > .body > .content > .extension-pack-readme > .extension-pack > .extension-pack-content > .monaco-scrollable-element {
	height: 100%;
}

.extension-editor > .body > .content .extension-pack-readme > .extension-pack > .extension-pack-content > .monaco-scrollable-element > .subcontent {
	height: 100%;
	overflow-y: scroll;
	box-sizing: border-box;
}

.extension-editor > .body > .content > .monaco-scrollable-element > .subcontent {
	height: 100%;
	padding: 20px;
	overflow-y: scroll;
	box-sizing: border-box;
}

.extension-editor > .body > .content table {
	width: 100%;
	border-spacing: 0;
	border-collapse: separate;
}

.extension-editor > .body > .content details:not(:first-child) {
	margin-top: 20px;
}

.extension-editor > .body > .content details > summary {
	cursor: pointer;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 120%;
	border-bottom: 1px solid rgba(128, 128, 128, 0.22);
	padding: 3px 6px;
	line-height: 22px;
}

.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;
	word-break: keep-all;
}

.extension-editor > .body > .content table code:not(:empty) {
	font-family: var(--monaco-monospace-font);
	font-size: 90%;
	background-color: rgba(128, 128, 128, 0.17);
	border-radius: 4px;
	padding: 1px 4px;
}

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

.monaco-workbench.vs-dark .extension-editor > .body > .content table .colorBox,
.monaco-workbench.hc-black .extension-editor > .body > .content table .colorBox {
	border-color: rgb(238, 238, 238);
}

.extension-editor .subcontent .monaco-list-row .content .unknown-extension {
	line-height: 62px;
}

.extension-editor .subcontent .monaco-list-row .content .unknown-extension > .error-marker {
	background-color: #BE1100;
	padding: 2px 4px;
	font-weight: bold;
	font-size: 11px;
	color: #CCC;
}

.extension-editor .subcontent .monaco-list-row .unknown-extension > .message {
	padding-left: 10px;
	font-weight: bold;
	font-size: 14px;
}

.extension-editor .subcontent .monaco-list-row .extension {
	display: flex;
	align-items: center;
}

.extension-editor .subcontent .monaco-list-row .extension > .details {
	flex: 1;
	overflow: hidden;
	padding-left: 10px;
}

.extension-editor .subcontent .monaco-list-row .extension > .details > .header {
	display: flex;
	align-items: center;
	line-height: 19px;
	overflow: hidden;
}

.extension-editor .subcontent .monaco-list-row .extension > .icon {
	height: 40px;
	width: 40px;
	object-fit: contain;
}

.extension-editor .subcontent .monaco-list-row .extension > .details > .header > .name {
	font-weight: bold;
	font-size: 16px;
}

.extension-editor .subcontent .monaco-list-row .extension > .details > .header > .name:hover {
	text-decoration: underline;
}

.extension-editor .subcontent .monaco-list-row .extension > .details > .header > .identifier {
	font-size: 90%;
	opacity: 0.6;
	margin-left: 10px;
	background: rgba(173, 173, 173, 0.31);
	padding: 0px 4px;
	border-radius: 4px;
}

.extension-editor .subcontent .monaco-list-row .extension > .details > .footer {
	display: flex;
	line-height: 19px;
	overflow: hidden;
	padding-top: 5px;
}

.extension-editor .subcontent .monaco-list-row .extension > .details > .footer > .author {
	font-size: 90%;
	font-weight: 600;
	opacity: 0.6;
}

.extension-editor .extensions-grid-view {
	display: flex;
	flex-wrap: wrap;
}

.extension-editor .extensions-grid-view > .extension-container {
	margin: 0 10px 20px 0;
}

.extension-editor .extensions-grid-view .extension-list-item {
	cursor: default;
}

.extension-editor .extensions-grid-view .extension-list-item > .details .header > .name {
	cursor: pointer;
}

.extension-editor .extensions-grid-view .extension-list-item > .details > .header-container > .header > .version,
.extension-editor .extensions-grid-view .extension-list-item > .details > .header-container > .header > .ratings,
.extension-editor .extensions-grid-view .extension-list-item > .details > .header-container > .header > .install-count {
	display: none;
}

.extension-editor .extensions-grid-view > .extension-container:focus > .extension-list-item > .details .header > .name,
.extension-editor .extensions-grid-view > .extension-container:focus > .extension-list-item > .details .header > .name:hover {
	text-decoration: underline;
}
