terminal.css 2.6 KB
Newer Older
D
Daniel Imms 已提交
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 28 29 30 31 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
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.monaco-workbench .integrated-terminal {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
}

.monaco-workbench .integrated-terminal {
	background-color: transparent!important;
	color: #333;
	-webkit-user-select: initial;
	overflow: hidden; /* prevents the terminal output being incorrectly placed over the title */
	padding: 0 20px;
}

.vs-dark .monaco-workbench .integrated-terminal {
	color: #CCC;
}

.hc-black .monaco-workbench .integrated-terminal {
	color: #FFF;
}

.monaco-workbench .integrated-terminal .terminal-wrapper {
	display: none;
}

.monaco-workbench .integrated-terminal .terminal-wrapper.active {
	align-items: flex-end;
	display: flex;
}

/* Terminal actions */

/* Light theme */
.monaco-workbench .terminal-action.close { background: url('close.svg') center center no-repeat; }
.monaco-workbench .terminal-action.focus-next { background: url('focus-next.svg') center center no-repeat; }
.monaco-workbench .terminal-action.focus-previous { background: url('focus-previous.svg') center center no-repeat; }
.monaco-workbench .terminal-action.new { background: url('new.svg') center center no-repeat; }
/* Dark theme */
.vs-dark .monaco-workbench .terminal-action.close { background: url('close-inverse.svg') center center no-repeat; }
.vs-dark .monaco-workbench .terminal-action.focus-next { background: url('focus-next-inverse.svg') center center no-repeat; }
.vs-dark .monaco-workbench .terminal-action.focus-previous { background: url('focus-previous-inverse.svg') center center no-repeat; }
.vs-dark .monaco-workbench .terminal-action.new { background: url('new-inverse.svg') center center no-repeat; }
/* High contrast black theme */
.hc-black .monaco-workbench .terminal-action { background: none; }
.hc-black .monaco-workbench .terminal-action:before {
	position: absolute;
	top: 12px;
	left: 8px;
	height: 16px;
	width: 16px;
}
.hc-black .monaco-workbench .terminal-action.close:before { content: url('close-inverse.svg'); }
.hc-black .monaco-workbench .terminal-action.focus-next:before { content: url('focus-next-inverse.svg'); }
.hc-black .monaco-workbench .terminal-action.focus-previous:before { content: url('focus-previous-inverse.svg'); }
.hc-black .monaco-workbench .terminal-action.new:before { content: url('new-inverse.svg'); }