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

/* Git viewlet */

.git-viewlet {
	height: 100%;	
}

/* Actionbar actions */

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

.git-action.smart-commit {
	background: url('check.svg') center center no-repeat;
}

.git-action.run-pull {
	background: url('pull.svg') center center no-repeat;
}

.git-action.run-push {
	background: url('push.svg') center center no-repeat;
}

/* Tree actions */

.git-action.stage {
	background: url('add.svg') center center no-repeat;
}

.git-viewlet .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .git-action.stage {
	background: url('add-focus.svg') center center no-repeat;
}

.git-action.undo {
	background: url('undo.svg') center center no-repeat;
}

.git-viewlet .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .git-action.undo {
	background: url('undo-focus.svg') center center no-repeat;
}

.git-action.unstage {
	background: url('subtract.svg') center center no-repeat;
}

.git-viewlet .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .git-action.unstage {
	background: url('subtract-focus.svg') center center no-repeat;
}

/* Dark theme actions */

.vs-dark .git-action.refresh {
	background: url('refresh-inverse.svg') center center no-repeat;
}

.vs-dark .git-action.commit {
	background: url('check-inverse.svg') center center no-repeat;
}

.vs-dark .git-action.stage-and-commit {
	background: url('check-inverse.svg') center center no-repeat;
}

.vs-dark .git-action.run-pull {
	background: url('pull-inverse.svg') center center no-repeat;
}

.vs-dark .git-action.run-push {
	background: url('push-inverse.svg') center center no-repeat;
}

.vs-dark .git-action.stage {
	background: url('add-inverse.svg') center center no-repeat;
}

.vs-dark .git-action.undo {
	background: url('undo-inverse.svg') center center no-repeat;
}

.vs-dark .git-action.unstage {
	background: url('subtract-inverse.svg') center center no-repeat;
}

/* High Contrast Theming */
.hc-black .git-action {
	background: none;
}

.hc-black .title-actions .git-action:before {
	position: absolute;
	top: 12px;
	left: 8px;
	height: 16px;
	width: 16px;
}

.hc-black .git-action.refresh:before {
	content: url('refresh-inverse.svg');
}

.hc-black .git-action.smart-commit:before {
	content: url('check-inverse.svg');
}

.hc-black .git-viewlet .focused .monaco-tree-row.selected:not(.highlighted) > .content.actions .git-action {
	background: none;
}

.hc-black .git-viewlet .monaco-tree .monaco-tree-rows > .monaco-tree-row.has-children > .content:after,
.hc-black .git-viewlet .monaco-tree .monaco-tree-rows > .monaco-tree-row.expanded > .content:before {
	content: '';
}

.hc-black .monaco-tree .git-action:before {
	display: inline-block;
	position: relative;
	top: -2px;
	height: 16px;
	width: 16px;
}

.hc-black .git-viewlet .git-action.stage:before {
	content: url('add-inverse.svg');
}

.hc-black .git-viewlet .git-action.undo:before {
	content: url('undo-inverse.svg');
}

.hc-black .git-viewlet .git-action.unstage:before {
	content: url('subtract-inverse.svg');
}