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

.open-editors .monaco-list .monaco-list-row:hover > .monaco-action-bar,
.open-editors .monaco-list .monaco-list-row.focused > .monaco-action-bar,
.open-editors .monaco-list .monaco-list-row.dirty > .monaco-action-bar {
	visibility: visible;
}

.open-editors .monaco-list .monaco-list-row > .monaco-action-bar .action-label {
	display: block;
}

.open-editors .monaco-list .monaco-list-row > .monaco-action-bar .codicon {
	color: inherit;
}

.open-editors .monaco-list .monaco-list-row > .monaco-action-bar .codicon-close {
	width: 8px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

28 29 30 31
.open-editors .monaco-list .monaco-list-row.dirty:not(:hover) > .monaco-action-bar .codicon-close::before {
	content: "\ea71"; /* Close icon flips between black dot and "X" for dirty open editors */
}

I
isidor 已提交
32 33 34 35 36 37 38 39 40 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 74 75 76 77 78 79 80 81 82 83
.open-editors .monaco-list .monaco-list-row > .monaco-action-bar .action-close-all-files,
.open-editors .monaco-list .monaco-list-row > .monaco-action-bar .save-all {
	width: 23px;
	height: 22px;
}

.open-editors .monaco-list .monaco-list-row > .open-editor {
	flex: 1;
}

.open-editors .monaco-list .monaco-list-row > .editor-group {
	flex: 1;
}

.open-editors .monaco-list .monaco-list-row {
	padding-left: 22px;
	display: flex;
}

.open-editors .monaco-list .monaco-list-row > .monaco-action-bar {
	visibility: hidden;
	display: flex;
	align-items: center;
}

.open-editors .monaco-list .monaco-list-row .editor-group {
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: default;
}

/* Bold font style does not go well with CJK fonts */
.composite:lang(zh-Hans) .open-editors .monaco-list .monaco-list-row .editor-group,
.composite:lang(zh-Hant) .open-editors .monaco-list .monaco-list-row .editor-group,
.composite:lang(ja) .open-editors .monaco-list .monaco-list-row .editor-group,
.composite:lang(ko) .open-editors .monaco-list .monaco-list-row .editor-group {
	font-weight: normal;
}

.open-editors .open-editor,
.open-editors .editor-group {
	height: 22px;
	line-height: 22px;
}

.open-editors .open-editor > a,
.open-editors .editor-group {
	text-overflow: ellipsis;
	overflow: hidden;
}

84 85
.monaco-workbench.hc-black .open-editors .open-editor,
.monaco-workbench.hc-black .open-editors .editor-group {
I
isidor 已提交
86 87
	line-height: 20px;
}