binarydiffeditor.css 1.6 KB
Newer Older
E
Erich Gamma 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-workbench .binarydiff-left {
	float: left;
}

.monaco-workbench .binarydiff-right {
	box-shadow: -6px 0 5px -5px #DDD;
}

14
.vs-dark .monaco-workbench .binarydiff-right {
E
Erich Gamma 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27 28
	box-shadow: -6px 0 5px -5px black;
}

.monaco-workbench .binary-container {
	padding-left: 20px;
	box-sizing:			border-box;
}

.monaco-workbench .binary-container img {
	background-position: 0 0, 8px 8px;
	background-size: 16px 16px;
}

/* CSS checkerbox pattern (learnt from http://lea.verou.me/2011/02/checkerboard-pattern-with-css3/*/
29
.vs .monaco-workbench .binary-container img {
30 31
	background-image:
		linear-gradient(45deg, rgb(220, 220, 220) 25%, transparent 25%, transparent 75%, rgb(220, 220, 220) 75%, rgb(220, 220, 220)),
E
Erich Gamma 已提交
32 33 34
		linear-gradient(45deg, rgb(220, 220, 220) 25%, transparent 25%, transparent 75%, rgb(220, 220, 220) 75%, rgb(220, 220, 220));
}

35
.vs-dark .monaco-workbench .binary-container img {
36 37
	background-image:
		linear-gradient(45deg, rgb(80, 80, 80) 25%, transparent 25%, transparent 75%, rgb(80, 80, 80) 75%, rgb(80, 80, 80)),
E
Erich Gamma 已提交
38 39 40
		linear-gradient(45deg, rgb(80, 80, 80) 25%, transparent 25%, transparent 75%, rgb(80, 80, 80) 75%, rgb(80, 80, 80));
}

41
.vs-dark .monaco-workbench .binary-container a {
E
Erich Gamma 已提交
42 43 44
	color: #1C5DAF;
}

45
.vs-dark .monaco-workbench .binary-container a:hover {
E
Erich Gamma 已提交
46 47
	color: #4080D0;
}