titlecontrol.css 3.1 KB
Newer Older
B
Benjamin Pasero 已提交
1 2 3 4 5
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

6 7
/* Editor Label */

8 9
.monaco-workbench > .part.editor > .content .editor-group-container > .title .title-label,
.monaco-workbench > .part.editor > .content .editor-group-container > .title .tabs-container > .tab .tab-label {
10 11 12 13
	white-space: nowrap;
	flex: 1;
}

14 15
.monaco-workbench > .part.editor > .content .editor-group-container > .title .title-label a,
.monaco-workbench > .part.editor > .content .editor-group-container > .title .tabs-container > .tab .tab-label a {
16 17 18 19
	text-decoration: none;
	font-size: 13px;
}

20 21 22 23
.monaco-workbench > .part.editor > .content .editor-group-container > .title .monaco-icon-label::before,
.monaco-workbench > .part.editor > .content .editor-group-container > .title .tabs-container > .tab .monaco-icon-label::before,
.monaco-workbench > .part.editor > .content .editor-group-container > .title .title-label a,
.monaco-workbench > .part.editor > .content .editor-group-container > .title .tabs-container > .tab .tab-label a,
24
.monaco-workbench > .part.editor > .content .editor-group-container > .title .title-label h2,
25
.monaco-workbench > .part.editor > .content .editor-group-container > .title .tabs-container > .tab .tab-label span {
26 27 28
	cursor: pointer;
}

29 30
/* Title Actions */

31 32
.monaco-workbench > .part.editor > .content .editor-group-container > .title .title-actions .action-label,
.monaco-workbench > .part.editor > .content .editor-group-container > .title .editor-actions .action-label {
33 34
	display: block;
	height: 35px;
35
	line-height: 35px;
J
Johannes Rieken 已提交
36
	min-width: 28px;
37 38 39 40 41
	background-size: 16px;
	background-position: center center;
	background-repeat: no-repeat;
}

42 43
.hc-black .monaco-workbench > .part.editor > .content .editor-group-container > .title .title-actions .action-label,
.hc-black .monaco-workbench > .part.editor > .content .editor-group-container > .title .editor-actions .action-label {
B
Benjamin Pasero 已提交
44 45 46
	line-height: initial;
}

47 48
.monaco-workbench > .part.editor > .content .editor-group-container > .title .editor-actions .action-label .label,
.monaco-workbench > .part.editor > .content .editor-group-container > .title .title-actions .action-label .label {
49 50 51
	display: none;
}

52
/* Drag Cursor */
B
Benjamin Pasero 已提交
53
.monaco-workbench > .part.editor > .content .editor-group-container > .title {
B
Benjamin Pasero 已提交
54 55 56
	cursor: -webkit-grab;
}

B
Benjamin Pasero 已提交
57 58
/* Actions */

59
.monaco-workbench > .part.editor > .content .editor-group-container > .title .close-editor-action {
B
Benjamin Pasero 已提交
60 61 62
	background: url('close.svg') center center no-repeat;
}

63 64
.vs-dark .monaco-workbench > .part.editor > .content .editor-group-container > .title .close-editor-action,
.hc-black .monaco-workbench > .part.editor > .content .editor-group-container > .title .close-editor-action {
B
Benjamin Pasero 已提交
65 66 67
	background: url('close-inverse.svg') center center no-repeat;
}

68 69 70 71 72 73 74 75
/* Drag and Drop Feedback */

.monaco-editor-group-drag-image {
	display: inline-block;
	padding: 1px 7px;
	border-radius: 10px;
	font-size: 12px;
	position: absolute;
76
}