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

.monaco-workbench .explorer-action.new-file {
	background: url('AddFile.svg') center center no-repeat;
}

.monaco-workbench .explorer-action.save-all {
	background: url('saveall.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .explorer-action.save-all {
	background: url('saveall_inverse.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .explorer-action.new-file {
	background: url('AddFile_inverse.svg') center center no-repeat;
}

.monaco-workbench .explorer-action.new-folder {
	background: url('AddFolder.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .explorer-action.new-folder {
	background: url('AddFolder_inverse.svg') center center no-repeat;
}

.monaco-workbench .explorer-action.refresh-explorer {
	background: url('Refresh.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .explorer-action.refresh-explorer {
	background: url('Refresh_inverse.svg') center center no-repeat;
}

.monaco-workbench .explorer-action.collapse-explorer {
	background: url('CollapseAll.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .explorer-action.collapse-explorer {
	background: url('CollapseAll_inverse.svg') center center no-repeat;
}

.monaco-workbench .quick-open-sidebyside {
	background-image: url('SplitEditor.svg');
}

.monaco-workbench.vs-dark .quick-open-sidebyside {
	background-image: url('SplitEditor_inverse.svg');
}

.monaco-workbench .conflict-editor-action.accept-changes {
	background: url('check.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .conflict-editor-action.accept-changes {
	background: url('check-inverse.svg') center center no-repeat;
}

.monaco-workbench .conflict-editor-action.revert-changes {
	background: url('undo.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .conflict-editor-action.revert-changes {
	background: url('undo-inverse.svg') center center no-repeat;
}

.monaco-workbench .file-editor-action.action-open-preview {
	background: url('Preview.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .file-editor-action.action-open-preview {
	background: url('Preview_inverse.svg') center center no-repeat;
}

.monaco-workbench .iframe-editor-action.view-source {
	background: url('ViewSource.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .iframe-editor-action.view-source {
	background: url('ViewSource_inverse.svg') center center no-repeat;
}

.monaco-workbench .iframe-editor-action.refresh {
	background: url('Refresh.svg') center center no-repeat;
}

.monaco-workbench.vs-dark .iframe-editor-action.refresh {
	background: url('Refresh_inverse.svg') center center no-repeat;
}

.explorer-viewlet .explorer-folders-view .action-add-to-workingfiles {
	background: url("add.svg") center center no-repeat;
}

.explorer-viewlet .explorer-folders-view .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-add-to-workingfiles {
	background: url("add-focus.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .action-close-dirty-file:hover,
.explorer-viewlet .explorer-working-files .action-close-file {
	background: url("action-close.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-close-dirty-file:hover,
.explorer-viewlet .explorer-working-files .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-close-file {
	background: url("action-close-focus.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .action-close-dirty-file {
	background: url("action-close-dirty.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-close-dirty-file {
	background: url("action-close-dirty-focus.svg") center center no-repeat;
}

.explorer-viewlet .explorer-working-files .primary-action-bar {
	background-color: transparent !important;
}

.monaco-workbench.vs-dark .explorer-viewlet .explorer-folders-view .action-add-to-workingfiles {
	background: url("add-inverse.svg") center center no-repeat;
}

.monaco-workbench.vs-dark .explorer-viewlet .explorer-folders-view .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .action-add-to-workingfiles {
	background: url("add-focus.svg") center center no-repeat;
}

.monaco-workbench.vs-dark .explorer-viewlet .explorer-working-files .action-close-dirty-file:hover,
.monaco-workbench.vs-dark .explorer-viewlet .explorer-working-files .action-close-file {
	background: url("action-close-dark.svg") center center no-repeat;
}

.monaco-workbench.vs-dark .explorer-viewlet .explorer-working-files .action-close-dirty-file {
	background: url("action-close-dirty-dark.svg") center center no-repeat;
}

/* High Contrast Theming */
.monaco-workbench.hc-black .explorer-action,
.monaco-workbench.hc-black .quick-open-sidebyside,
.monaco-workbench.hc-black .iframe-editor-action,
.monaco-workbench.hc-black .file-editor-action.action-open-preview {
	background: none;
}

.monaco-workbench.hc-black .explorer-action:before,
.monaco-workbench.hc-black .iframe-editor-action:before,
.monaco-workbench.hc-black .file-editor-action.action-open-preview:before {
	position: absolute;
	top: 12px;
	left: 8px;
	height: 16px;
	width: 16px;
}

.monaco-workbench.hc-black .explorer-action.save-all:before {
	content: url('saveall_inverse.svg');
}

.monaco-workbench.hc-black .explorer-action.action-close-all-files:before {
	content: url('closeall_inverse.svg');
}

.monaco-workbench.hc-black .explorer-action.new-file:before {
	content: url('AddFile_inverse.svg');
}

.monaco-workbench.hc-black .explorer-action.new-folder:before {
	content: url('AddFolder_inverse.svg');
}

.monaco-workbench.hc-black .explorer-action.refresh-explorer:before {
	content: url('Refresh_inverse.svg');
}

.monaco-workbench.hc-black .explorer-action.collapse-explorer:before {
	content: url('CollapseAll_inverse.svg');
}

.monaco-workbench.hc-black .quick-open-sidebyside:before {
	content: url('SplitEditor_inverse.svg');
}

.monaco-workbench.hc-black .iframe-editor-action.view-source:before {
	content: url('ViewSource_inverse.svg');
}

.monaco-workbench.hc-black .iframe-editor-action.refresh:before {
	content: url('Refresh_inverse.svg');
}

.monaco-workbench.hc-black .file-editor-action.action-open-preview:before {
	content: url('Preview_inverse.svg');
}

.monaco-workbench.hc-black .explorer-viewlet .explorer-working-files .action-close-file:before {
	content: url('action-close-dark.svg');
	position: absolute;
	top: 3px;
	left: 0;
	height: 16px;
	width: 16px;
}

.monaco-workbench.hc-black .explorer-viewlet .explorer-working-files .action-close-file,
.monaco-workbench.hc-black .explorer-viewlet .explorer-working-files .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions > .primary-action-bar .action-close-file {
	background: none !important;
}