views.css 2.2 KB
Newer Older
P
Pine Wu 已提交
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.
 *--------------------------------------------------------------------------------------------*/

S
Sandeep Somavarapu 已提交
6 7
/* File icon themeable tree style */
.file-icon-themable-tree .monaco-tree-row .content {
S
Sandeep Somavarapu 已提交
8
	display: flex;
P
Pine Wu 已提交
9
}
P
Pine Wu 已提交
10

S
Sandeep Somavarapu 已提交
11
.file-icon-themable-tree .monaco-tree-row .content::before {
S
Sandeep Somavarapu 已提交
12
	background-size: 16px;
S
Sandeep Somavarapu 已提交
13
	background-position: 50% 50%;
S
Sandeep Somavarapu 已提交
14 15 16
	background-repeat: no-repeat;
	padding-right: 6px;
	width: 16px;
17
	height: 22px;
S
Sandeep Somavarapu 已提交
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 62 63
	display: inline-block;
	vertical-align: top;
	content: ' ';
}

.file-icon-themable-tree.align-icons-and-twisties .monaco-tree-row:not(.has-children) .content::before {
	display: none;
}

.file-icon-themable-tree .monaco-tree-row.has-children.expanded .content::before {
	background-image: url("expanded.svg");
}

.file-icon-themable-tree .monaco-tree-row.has-children .content::before {
	display: inline-block;
	background-image: url("collapsed.svg");
}

.vs-dark .file-icon-themable-tree .monaco-tree-row.has-children.expanded .content::before {
	background-image: url("expanded-dark.svg");
}

.vs-dark .file-icon-themable-tree .monaco-tree-row.has-children .content::before {
	background-image: url("collapsed-dark.svg");
}

.hc-black .file-icon-themable-tree .monaco-tree-row.has-children.expanded .content::before {
	background-image: url("expanded-hc.svg");
}

.hc-black .file-icon-themable-tree .monaco-tree-row.has-children .content::before {
	background-image: url("collapsed-hc.svg");
}

.file-icon-themable-tree.hide-arrows .monaco-tree-row .content::before {
	display: none;
}

.custom-view-tree-node-item {
	display: flex;
	height: 22px;
	line-height: 22px;
}

.custom-view-tree-node-item > .custom-view-tree-node-item-resourceLabel {
	flex: 1;
P
Pine Wu 已提交
64
}
S
Sandeep Somavarapu 已提交
65

S
Sandeep Somavarapu 已提交
66 67 68 69
.custom-view-tree-node-item > .custom-view-tree-node-item-label {
	flex: 1;
	text-overflow: ellipsis;
	overflow: hidden;
S
Sandeep Somavarapu 已提交
70 71 72 73 74 75 76 77 78 79
}

.custom-view-tree-node-item > .custom-view-tree-node-item-icon {
	background-size: 16px;
	background-position: left center;
	background-repeat: no-repeat;
	padding-right: 6px;
	width: 16px;
	height: 22px;
	-webkit-font-smoothing: antialiased;
S
Sandeep Somavarapu 已提交
80
}