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

.monaco-workbench .viewlet.scm-viewlet .collapsible.header .actions {
	width: initial;
	flex: 1;
}

.scm-viewlet .scm-status {
	height: 100%;
	position: relative;
}

.scm-viewlet .monaco-list-row > .scm-provider {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	height: 100%;
	padding: 0 12px 0 20px;
}

.scm-viewlet .monaco-list-row > .scm-provider > .monaco-action-bar {
	flex: 1;
}

.scm-viewlet .monaco-list-row > .scm-provider > .monaco-action-bar .action-item {
	padding: 0 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: flex;
	align-items: center;
	min-width: 14px;
}

.scm-viewlet .monaco-list-row > .scm-provider > .monaco-action-bar .action-label {
	text-overflow: ellipsis;
	overflow: hidden;
	min-width: 14px; /* minimum size of icons */
}

.scm-viewlet .monaco-list-row > .scm-provider > .monaco-action-bar .action-label .codicon {
	font-size: 14px;
	vertical-align: sub;
	display: inline-flex;
}

.scm-viewlet .monaco-list-row > .scm-provider > .monaco-action-bar .action-item:last-of-type {
	padding-right: 0;
}

.scm-viewlet .scm-provider > .name,
.scm-viewlet .scm-provider > .count {
	display: flex;
	align-items: center;
}

.scm-viewlet .scm-provider > .count {
	margin: 0 0.5em;
}

.scm-viewlet .scm-provider > .count.hidden {
	display: none;
}

.scm-viewlet .scm-provider > .type,
.scm-viewlet .scm-provider > .name > .type {
	opacity: 0.7;
	margin-left: 0.5em;
	font-size: 0.9em;
}

.scm-viewlet .monaco-list-row {
	line-height: 22px;
}

.scm-viewlet .monaco-list-row .resource-group {
	display: flex;
	height: 100%;
	align-items: center;
}

.scm-viewlet .monaco-list-row .resource-group > .name {
	flex: 1;
	font-size: 11px;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
}

.scm-viewlet .monaco-list-row .resource {
	display: flex;
	height: 100%;
}

.scm-viewlet .monaco-list-row .resource.faded {
	opacity: 0.7;
}

.scm-viewlet .monaco-list-row .resource > .name {
	flex: 1;
	overflow: hidden;
}

.scm-viewlet .monaco-list-row .resource > .name.strike-through > .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {
	text-decoration: line-through;
}

.scm-viewlet .monaco-list-row .resource-group > .count {
	padding: 0 12px 0 8px;
	display: flex;
}

.scm-viewlet .monaco-list-row .resource > .decoration-icon {
	width: 16px;
	height: 100%;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	margin-right: 8px;
}

.scm-viewlet .monaco-list .monaco-list-row .resource > .name > .monaco-icon-label > .actions {
	flex-grow: 100;
}

.scm-viewlet .monaco-list .monaco-list-row .resource-group > .actions,
.scm-viewlet .monaco-list .monaco-list-row .resource > .name > .monaco-icon-label > .actions {
	display: none;
	max-width: fit-content;
}

.scm-viewlet .monaco-list .monaco-list-row:hover .resource-group > .actions,
.scm-viewlet .monaco-list .monaco-list-row:hover .resource > .name > .monaco-icon-label > .actions,
.scm-viewlet .monaco-list .monaco-list-row.selected .resource-group > .actions,
.scm-viewlet .monaco-list .monaco-list-row.focused .resource-group > .actions,
.scm-viewlet .monaco-list .monaco-list-row.selected .resource > .name > .monaco-icon-label > .actions,
.scm-viewlet .monaco-list .monaco-list-row.focused .resource > .name > .monaco-icon-label > .actions,
.scm-viewlet .monaco-list:not(.selection-multiple) .monaco-list-row .resource:hover > .actions {
	display: block;
}

.scm-viewlet .scm-status.show-actions > .monaco-list .monaco-list-row .resource-group > .actions,
.scm-viewlet .scm-status.show-actions > .monaco-list .monaco-list-row .resource > .name > .monaco-icon-label > .actions {
	display: block;
}

.scm-viewlet .monaco-list-row .resource > .name > .monaco-icon-label > .actions .action-label,
.scm-viewlet .monaco-list-row .resource-group > .actions .action-label {
	width: 16px;
	height: 100%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.scm-viewlet .monaco-list-row .resource > .name > .monaco-icon-label > .actions .action-label.codicon {
	line-height: 22px;
}

.scm-viewlet .scm-editor {
	box-sizing: border-box;
	padding: 5px 12px 5px 16px;
}

.scm-viewlet .scm-editor.hidden {
	display: none;
}

.scm-viewlet .scm-editor-container {
	padding: 1px;
	position: relative;
	outline-offset: -1px;
}

.scm-viewlet .scm-editor-container > .scm-editor-validation {
	position: absolute;
	width: 100%;
	z-index: 10;
	left: 0px;
	box-sizing: border-box;
	font-size: 0.9em;
	padding: 1px 3px;
	display: none;
}

.scm-viewlet .scm-editor-container.synthetic-focus > .scm-editor-validation {
	display: block;
}

.scm-viewlet .scm-editor-placeholder {
	position: absolute;
	pointer-events: none;
	z-index: 1;
	margin: 1px;
	padding: 3px 4px;
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.scm-viewlet .scm-editor-placeholder.hidden {
	display: none;
}

.scm-viewlet .scm-editor-container .monaco-editor-background,
.scm-viewlet .scm-editor-container .monaco-editor,
.scm-viewlet .scm-editor-container .mtk1 {
	color: inherit;
}

.scm-viewlet .list-view-mode .monaco-tl-twistie:not(.force-twistie):not(.collapsible) {
	background-image: none !important;
	width: 8px !important;
	margin-right: 0 !important;
}

.scm-viewlet .scm-status.show-file-icons.hide-arrows.tree-view-mode .monaco-tl-indent .indent-guide:first-child {
	border: none;
}
