titlecontrol.css 5.7 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 > .one-editor-silo > .container > .title .title-label,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab .tab-label {
10 11 12 13
	white-space: nowrap;
	flex: 1;
}

I
isidor 已提交
14 15 16 17 18
.monaco-workbench > .part.editor > .content > .one-editor-silo.centered > .container > .title .title-label {
	flex-direction: row;
	justify-content: center;
}

19 20
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .title-label a,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab .tab-label a {
21 22 23 24
	text-decoration: none;
	font-size: 13px;
}

25 26 27 28
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .monaco-icon-label::before,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab .monaco-icon-label::before,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .title-label a,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab .tab-label a,
29 30
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .title-label span,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab .tab-label span {
31 32 33
	cursor: pointer;
}

34 35
/* Title Actions */

36
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .title-actions .action-label,
37
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .editor-actions .action-label {
38 39
	display: block;
	height: 35px;
40
	line-height: 35px;
J
Johannes Rieken 已提交
41
	min-width: 28px;
42 43 44 45 46
	background-size: 16px;
	background-position: center center;
	background-repeat: no-repeat;
}

47
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .title-actions .action-label,
48
.hc-black .monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .editor-actions .action-label {
B
Benjamin Pasero 已提交
49 50 51
	line-height: initial;
}

52
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .editor-actions .action-label .label,
53
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .title-actions .action-label .label {
54 55 56
	display: none;
}

B
Benjamin Pasero 已提交
57
/* Drag Cursor */
B
Benjamin Pasero 已提交
58 59 60 61 62
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo > .container > .title,
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo > .container > .title.tabs .scrollbar .slider,
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo > .container > .title .monaco-icon-label::before,
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo > .container > .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo > .container > .title .title-label span {
B
Benjamin Pasero 已提交
63 64 65 66
	cursor: -webkit-grab;
}

#monaco-workbench-editor-move-overlay,
B
Benjamin Pasero 已提交
67 68 69 70 71 72
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo.drag,
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo.drag > .container > .title,
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo.drag > .container > .title.tabs .scrollbar .slider,
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo.drag > .container > .title .monaco-icon-label::before,
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo.drag > .container > .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-groups > .one-editor-silo.drag > .container > .title .title-label span {
B
Benjamin Pasero 已提交
73 74 75
	cursor: -webkit-grabbing;
}

B
Benjamin Pasero 已提交
76 77 78 79 80 81
/* Actions */

.monaco-workbench .close-editor-action {
	background: url('close.svg') center center no-repeat;
}

B
Benjamin Pasero 已提交
82 83
.vs-dark .monaco-workbench .close-editor-action,
.hc-black .monaco-workbench .close-editor-action {
B
Benjamin Pasero 已提交
84 85 86
	background: url('close-inverse.svg') center center no-repeat;
}

87 88
.monaco-workbench > .part.editor > .content.vertical-layout > .one-editor-silo > .container > .title .split-editor-action {
	background: url('split-editor-vertical.svg') center center no-repeat;
B
Benjamin Pasero 已提交
89 90
}

91 92 93 94 95 96 97 98 99 100 101 102
.vs-dark .monaco-workbench > .part.editor > .content.vertical-layout > .one-editor-silo > .container > .title .split-editor-action,
.hc-black .monaco-workbench > .part.editor > .content.vertical-layout > .one-editor-silo > .container > .title .split-editor-action {
	background: url('split-editor-vertical-inverse.svg') center center no-repeat;
}

.monaco-workbench > .part.editor > .content.horizontal-layout > .one-editor-silo > .container > .title .split-editor-action {
	background: url('split-editor-horizontal.svg') center center no-repeat;
}

.vs-dark .monaco-workbench > .part.editor > .content.horizontal-layout > .one-editor-silo > .container > .title .split-editor-action,
.hc-black .monaco-workbench > .part.editor > .content.horizontal-layout > .one-editor-silo > .container > .title .split-editor-action {
	background: url('split-editor-horizontal-inverse.svg') center center no-repeat;
B
Benjamin Pasero 已提交
103 104 105 106 107 108
}

.monaco-workbench .show-group-editors-action {
	background: url('stackview.svg') center center no-repeat;
}

B
Benjamin Pasero 已提交
109 110
.vs-dark .monaco-workbench .show-group-editors-action,
.hc-black .monaco-workbench .show-group-editors-action {
B
Benjamin Pasero 已提交
111
	background: url('stackview-inverse.svg') center center no-repeat;
I
isidor 已提交
112
}