notebookDiff.css 2.2 KB
Newer Older
R
rebornix 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

/* .notebook-diff-editor {
	display: flex;
	flex-direction: row;
	height: 100%;
	width: 100%;
}
.notebook-diff-editor-modified,
.notebook-diff-editor-original {
	display: flex;
	height: 100%;
	width: 50%;
} */

.notebook-text-diff-editor .cell-diff-editor-container {
	margin: 8px;
}

R
rebornix 已提交
23
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container {
R
rebornix 已提交
24 25 26 27 28 29
	display: flex;
	height: 24px;
	align-items: center;
	cursor: default;
}

R
rebornix 已提交
30
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .metadata-folding-indicator .codicon {
R
rebornix 已提交
31 32 33 34 35
	visibility: visible;
	padding: 4px 0 0 10px;
	cursor: pointer;
}

R
rebornix 已提交
36
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .metadata-status {
R
rebornix 已提交
37 38 39
	font-size: 12px;
}

R
rebornix 已提交
40
.notebook-text-diff-editor .cell-diff-editor-container .metadata-header-container .metadata-status span {
R
rebornix 已提交
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
	margin: 0 8px;
	line-height: 21px;
}

.notebook-text-diff-editor .cell-diff-editor-container.delete .editor-container {
	display: inline-block;
	width: calc(50% - 18px);
}

.notebook-text-diff-editor .cell-diff-editor-container.delete .diagonal-fill {
	display: inline-block;
	width: calc(50% + 18px);
}

.notebook-text-diff-editor .cell-diff-editor-container.insert .editor-container {
	display: inline-block;
	width: calc(50% + 18px);
}

.notebook-text-diff-editor .cell-diff-editor-container.insert .diagonal-fill {
	display: inline-block;
	width: calc(50% - 18px);
}

.notebook-text-diff-editor {
	overflow: hidden;
}

.monaco-workbench .notebook-text-diff-editor > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row,
.monaco-workbench .notebook-text-diff-editor > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row:hover,
.monaco-workbench .notebook-text-diff-editor > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row.focused {
	outline: none !important;
}