sidebarpart.css 1.9 KB
Newer Older
E
Erich Gamma 已提交
1 2 3 4
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
A
Alex Dima 已提交
5

E
Erich Gamma 已提交
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
.monaco-workbench > .sidebar > .title > .title-actions {
	background-color: rgb(243, 243, 243);
}

.monaco-workbench.vs-dark > .sidebar > .title > .title-actions {
	background-color: rgb(37, 37, 38);
}

.monaco-workbench > .sidebar > .content {
	overflow: hidden;
}

.monaco-workbench.nosidebar > .sidebar {
	display: none !important;
	visibility: hidden !important;
}

.monaco-workbench .viewlet .collapsible.header .title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.monaco-workbench .viewlet .collapsible.header .actions {
	float: right;
	padding-right: 8px;
32
	width: 0; /* not using display: none for keyboard a11y reasons */
E
Erich Gamma 已提交
33 34
}

35
.monaco-workbench .viewlet .split-view-view:hover .actions,
36
.monaco-workbench .viewlet .collapsible.header.focused .actions {
37
	width: initial;
E
Erich Gamma 已提交
38 39 40 41 42 43 44 45
}

.monaco-workbench .viewlet .collapsible.header .actions .action-label {
	width: 28px;
	background-size: 16px;
	background-position: center center;
	background-repeat: no-repeat;
	margin-right: 0;
46
	height: 22px;
E
Erich Gamma 已提交
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
}

.monaco-workbench .viewlet .collapsible.header .actions .action-label .label {
	display: none;
}

.monaco-workbench .viewlet .collapsible.header.collapsed .actions {
	display: none;
}

.monaco-workbench .viewlet .collapsible.header .action-label {
	margin-right: 0.2em;
	background-repeat: no-repeat;
	width: 16px;
	height: 16px;
}

/* High Contrast Theming */
A
Alex Dima 已提交
65
.monaco-workbench.hc-black > .sidebar.left {
E
Erich Gamma 已提交
66 67 68
	border-right: 1px solid #6FC3DF;
}

A
Alex Dima 已提交
69
.monaco-workbench.hc-black > .sidebar.right {
E
Erich Gamma 已提交
70 71 72 73 74 75
	border-left: 1px solid #6FC3DF;
}

.monaco-workbench.hc-black > .sidebar > .title > .title-actions {
	background-color: #000;
}