/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-icon-label.file-icon.workspacetrusteditor-name-file-icon.ext-file-icon.tab-label::before {
	font-family: 'codicon';
	content: '\eb53';
}

.workspace-trust-editor {
	max-width: 1000px;
	padding-top: 11px;
	padding-left: 15px;
	padding-right: 15px;
	margin: auto;
	height: calc(100% - 11px);
}

.workspace-trust-editor > .workspace-trust-header {
	padding: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.workspace-trust-editor .workspace-trust-header .workspace-trust-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	padding: 10px 0px;
	display: flex;
}

.workspace-trust-editor .workspace-trust-header .workspace-trust-title .workspace-trust-title-icon {
	font-size: 32px;
	margin-right: 8px;
}

.workspace-trust-editor .workspace-trust-header .workspace-trust-title .workspace-trust-title-icon.codicon-workspace-trusted-icon {
	color: var(--workspace-trust-state-trusted-color) !important;
}

.workspace-trust-editor .workspace-trust-header .workspace-trust-title .workspace-trust-title-icon.codicon-workspace-untrusted-icon {
	color: var(--workspace-trust-state-untrusted-color) !important;
}

.workspace-trust-editor .workspace-trust-header .workspace-trust-description {
	cursor: default;
	user-select: text;
	max-width: 500px;
}

/** Buttons Container */
.workspace-trust-editor .workspace-trust-header .workspace-trust-buttons-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 20px 0 10px 0;
	overflow: hidden; /* buttons row should never overflow */
	white-space: nowrap;
}

/** Buttons */
.workspace-trust-editor .workspace-trust-header .workspace-trust-buttons-row .workspace-trust-buttons {
	display: flex;
	overflow: hidden;
}

.workspace-trust-editor .workspace-trust-header .workspace-trust-buttons-row .workspace-trust-buttons .monaco-button {
	width: fit-content;
	width: -moz-fit-content;
	padding: 5px 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 4px 5px; /* allows button focus outline to be visible */
	outline-offset: 2px !important;
}

.workspace-trust-editor .workspace-trust-section-title {
	font-weight: 600;
	font-size: 18px;
	padding-bottom: 5px;
}

.workspace-trust-editor .workspace-trust-editor-body {
	height: 100%;
}

/** Features List */
.workspace-trust-editor .workspace-trust-features {
	padding: 14px;
	cursor: default;
	user-select: text;
}

.workspace-trust-editor .workspace-trust-features  .workspace-trust-extensions-list {
	padding-bottom: 10px;
}

.workspace-trust-editor .workspace-trust-features  .workspace-trust-extension-list-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 32px;
}


.workspace-trust-editor .workspace-trust-features  .workspace-trust-extension-list-description {
	padding-bottom: 15px;
}


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

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

.workspace-trust-editor .extensions-grid-view .extension-list-item {
	padding-left: 0;
	cursor: default;
}

.workspace-trust-editor .extensions-grid-view .extension-list-item > .details {
	display: flex;
	flex-direction: column;
}

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

.workspace-trust-editor .extensions-grid-view .extension-list-item > .details > .footer,
.workspace-trust-editor .extensions-grid-view .extension-list-item > .details > .header-container {
	flex-grow: 0;
}

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

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

.workspace-trust-editor .extensions-grid-view .extension-list-item > .details > .description {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	flex-grow: 1;
	white-space: break-spaces;
}


.workspace-trust-editor .workspace-trust-features  .workspace-trust-extension-list-entry {
	display: flex;
	margin-bottom: 10px;
	align-items: center;
}

.workspace-trust-editor .workspace-trust-features  .workspace-trust-extension-list-entry .workspace-trust-extension-text {
	display: flex;
	flex-direction: column;
	margin-left: 5px;
}
.workspace-trust-editor .workspace-trust-features  .workspace-trust-extension-list-entry .workspace-trust-extension-icon,
.workspace-trust-editor .workspace-trust-features  .workspace-trust-extension-list-entry .workspace-trust-extension-icon .icon {
	height: 42px;
}

.workspace-trust-editor .workspace-trust-features  .workspace-trust-extension-list-entry .workspace-trust-extension-name {
	font-weight: 600;
}

/** Settings */
.workspace-trust-editor .workspace-trust-settings .workspace-trust-section-title {
	padding: 14px;
}

.workspace-trust-editor .settings-editor .settings-body {
	margin-top: 0;
}

.workspace-trust-editor .settings-editor .settings-body .settings-tree-container .shadow.top {
	left: initial;
	margin-left: initial;
	max-width: initial;
}

.workspace-trust-editor .settings-editor .settings-body .settings-tree-container .monaco-list-row .monaco-tl-contents {
	padding-left: 0;
	padding-right: 0;
}

.workspace-trust-editor .settings-editor .settings-body .settings-tree-container .monaco-list-row .monaco-tl-contents .setting-list-edit-row > .setting-list-valueInput {
	width: 100%;
	max-width: 100%;
}
