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

.monaco-diff-editor .diffOverview {
	z-index: 9;
}
.monaco-diff-editor.vs			.diffOverview { background: #f9f7f7; }
.monaco-diff-editor.vs-dark		.diffOverview { background: #1E1E1E; }
.monaco-diff-editor.hc-black	.diffOverview { background: #000; }

.monaco-diff-editor .diffViewport {
	box-shadow: inset 0px 0px 1px 0px #B9B9B9;
	background: rgba(148, 148, 148, 0.19);
}
.monaco-diff-editor.vs-dark {
	background: #1E1E1E;
}

.monaco-scrollable-element.modified-in-monaco-diff-editor.vs		.scrollbar { background: rgba(0,0,0,0); }
.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark	.scrollbar { background: rgba(0,0,0,0); }
.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black	.scrollbar { background: none; }

.monaco-scrollable-element.modified-in-monaco-diff-editor .slider {
	z-index: 10;
}
.modified-in-monaco-diff-editor				.slider.active { background: rgba(171, 171, 171, .4); }
.modified-in-monaco-diff-editor.hc-black	.slider.active { background: none; }

.monaco-diff-editor.side-by-side			.editor.modified { box-shadow: -6px 0 5px -5px #DDD; }
.monaco-diff-editor.side-by-side.vs-dark	.editor.modified { box-shadow: -6px 0 5px -5px black; }

/* ---------- Diff ---------- */

.monaco-editor .line-delete,
.monaco-editor .char-delete {
	background: rgba(255, 0, 0, 0.2);
}
.monaco-editor.hc-black .line-delete,
.monaco-editor.hc-black .char-delete {
	background: none;
	border: 1px dashed #FF008F;
}


.monaco-editor .line-insert,
.monaco-editor .char-insert {
	background: rgba(155, 185, 85, 0.2);
}

.monaco-editor .insert-sign, .monaco-editor .delete-sign {
	background-size: 60%;
	opacity: 0.7;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.monaco-editor.hc-black .insert-sign, .monaco-editor.hc-black .delete-sign {
	opacity: 1;
}
.monaco-editor .insert-sign { background-image: url('addition.svg'); }
.monaco-editor .delete-sign { background-image: url('deletion.svg'); }

.monaco-editor.vs-dark .insert-sign, .monaco-editor.hc-black .insert-sign { background-image: url('addition-inverse.svg'); }
.monaco-editor.vs-dark .delete-sign, .monaco-editor.hc-black .delete-sign { background-image: url('deletion-inverse.svg'); }

.monaco-editor .inline-deleted-margin-view-zone {
	background: rgba(255, 0, 0, 0.2);
	text-align: right;
}
.monaco-editor .inline-added-margin-view-zone {
	background: rgba(155, 185, 85, 0.2);
	text-align: right;
}


.monaco-editor.hc-black .line-insert,
.monaco-editor.hc-black .char-insert {
	background: none;
	border: 1px dashed rgb(51, 255, 46);
}


.monaco-editor .diagonal-fill {
	background: url('diagonal-fill.png');
}
.monaco-editor.vs-dark .diagonal-fill {
	opacity: 0.2;
}
.monaco-editor.hc-black .diagonal-fill {
	background: none;
}

/* ---------- Inline Diff ---------- */

.monaco-editor .view-zones .view-lines .view-line span {
	display: inline-block;
}

/* High Contrast Theming */
.monaco-diff-editor.hc-black {
	background: #000;
}