notabstitle.css 6.4 KB
Newer Older
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

B
Benjamin Pasero 已提交
7 8 9 10 11 12
/* Title Container */

.monaco-workbench > .part.editor > .content > .one-editor-container > .title {
	padding-left: 2px;
}

13 14 15
/* Title Decoration */

.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration {
B
Benjamin Pasero 已提交
16
	width: 18px;
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
}

.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration.dirty {
	background-size: 16px;
	background-position: left center;
	background-repeat: no-repeat;
}

.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration.dirty {
	background: url('close-dirty.svg') center center no-repeat;
}

.hc-black .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration.dirty,
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-decoration.dirty {
	background: url('close-dirty-inverse.svg') center center no-repeat;
}

/* Title Label */
B
Benjamin Pasero 已提交
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
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label {
	line-height: 35px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
	flex: 1;
	font-style: italic;
}

.monaco-workbench > .part.editor > .content > .one-editor-container > .title.pinned .title-label {
	font-style: normal;
}

.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label a {
	text-decoration: none;
	font-size: 13px;
	cursor: default;
}

.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label a {
	color: #333333;
}

B
Benjamin Pasero 已提交
60
.vs .monaco-workbench > .part.editor > .content > .one-editor-container .title.inactive .title-label a {
61 62 63 64 65 66 67
	color: rgba(51, 51, 51, 0.5);
}

.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label a {
	color: white;
}

B
Benjamin Pasero 已提交
68
.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container .title.inactive .title-label a {
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
	color: rgba(255, 255, 255, 0.5);
}

/* Title Description */

.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label span {
	margin-left: 0.5em;
	font-size: 0.9em;
	cursor: default;
}

.vs .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label span {
	color: rgba(108, 108, 108, 0.7);
}

.vs-dark .monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-label span {
	color: rgba(204, 204, 204, 0.7);
}

/* Title Actions */
.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-actions {
	display: flex;
	flex: initial;
}

B
Benjamin Pasero 已提交
94
.monaco-workbench > .part.editor > .content > .one-editor-container .title.inactive .title-actions {
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
	opacity: 0.5;
}

.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-actions .action-label {
	display: block;
	height: 35px;
	width: 28px;
	background-size: 16px;
	background-position: center center;
	background-repeat: no-repeat;
}

.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-actions .action-label .label {
	display: none;
}

.monaco-workbench > .part.editor > .content > .one-editor-container > .title .title-actions .editor-group-toolbar {
	padding-left: 4px;
	background-color: rgba(128, 128, 128, 0.2);
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
}

/* Drag Cursor */
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container .title,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container .title .title-label span {
	cursor: -webkit-grab;
}

#monaco-workbench-editor-move-overlay,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.dragged,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.dragged .title,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.dragged .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.dragged .title .title-label span,
.monaco-workbench > .part.editor > .content.multiple-editors .one-editor-container.dragged .monaco-editor .view-lines {
	cursor: -webkit-grabbing;
}

.monaco-workbench > .part.editor > .content.multiple-editors.custom-drag-cursor .one-editor-container .title,
.monaco-workbench > .part.editor > .content.multiple-editors.custom-drag-cursor .one-editor-container .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-editors.custom-drag-cursor .one-editor-container .title .title-label span {
	cursor: url(data:;base64,AAACAAEAICACAAcABQAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAAAEAAAAAAAAAAAAAAgAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8AAAA/AAAAfwAAAP+AAAH/gAAB/8AAA//AAAd/wAAGf+AAAH9gAADbYAAA2yAAAZsAAAGbAAAAGAAAAAAAAA//////////////////////////////////////////////////////////////////////////////////////gH///4B///8Af//+AD///AA///wAH//4AB//8AAf//AAD//5AA///gAP//4AD//8AF///AB///5A////5///8=), auto;
}

#monaco-workbench-editor-move-overlay-custom-drag-cursor,
.monaco-workbench > .part.editor > .content.multiple-editors.custom-drag-cursor .one-editor-container.dragged,
.monaco-workbench > .part.editor > .content.multiple-editors.custom-drag-cursor .one-editor-container.dragged .title,
.monaco-workbench > .part.editor > .content.multiple-editors.custom-drag-cursor .one-editor-container.dragged .title .title-label a,
.monaco-workbench > .part.editor > .content.multiple-editors.custom-drag-cursor .one-editor-container.dragged .title .title-label span,
.monaco-workbench > .part.editor > .content.multiple-editors.custom-drag-cursor .one-editor-container.dragged .monaco-editor .view-lines {
	cursor: url(data:;base64,AAACAAEAICACAAcABQAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAAAEAAAAAAAAAAAAAAgAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8AAAA/AAAAfwAAAP+AAAH/gAAB/8AAAH/AAAB/wAAA/0AAANsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////////////////////////////////////////gH///4B///8Af//+AD///AA///wAH//+AB///wAf//4AH//+AD///yT/////////////////////////////8=), auto;
145
}