/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /* File icon themeable OLD tree style */ .file-icon-themable-tree .monaco-tree-row .content { display: flex; } .file-icon-themable-tree .monaco-tree-row .content::before { background-size: 16px; background-position: 50% 50%; background-repeat: no-repeat; padding-right: 6px; width: 16px; height: 22px; display: inline-block; vertical-align: top; content: ' '; } .file-icon-themable-tree .monaco-tree-row.has-children.expanded .content::before { background-image: url("tree-expanded-light.svg"); } .file-icon-themable-tree .monaco-tree-row.has-children .content::before { display: inline-block; background-image: url("tree-collapsed-light.svg"); } .vs-dark .file-icon-themable-tree .monaco-tree-row.has-children.expanded .content::before { background-image: url("tree-expanded-dark.svg"); } .vs-dark .file-icon-themable-tree .monaco-tree-row.has-children .content::before { background-image: url("tree-collapsed-dark.svg"); } .hc-black .file-icon-themable-tree .monaco-tree-row.has-children.expanded .content::before { background-image: url("tree-expanded-hc.svg"); } .hc-black .file-icon-themable-tree .monaco-tree-row.has-children .content::before { background-image: url("tree-collapsed-hc.svg"); } .file-icon-themable-tree.align-icons-and-twisties .monaco-tree-row:not(.has-children) .content::before, .file-icon-themable-tree.hide-arrows .monaco-tree-row .content::before { display: none; } /* File icons in trees */ .file-icon-themable-tree.align-icons-and-twisties .monaco-tl-twistie:not(.force-twistie):not(.collapsible), .file-icon-themable-tree .align-icon-with-twisty .monaco-tl-twistie:not(.force-twistie):not(.collapsible), .file-icon-themable-tree.hide-arrows .monaco-tl-twistie:not(.force-twistie) { background-image: none !important; width: 0 !important; margin-right: 0 !important; } /* Misc */ .monaco-workbench .tree-explorer-viewlet-tree-view { height: 100%; } .monaco-workbench .tree-explorer-viewlet-tree-view .message { display: flex; padding: 4px 12px 0px 18px; user-select: text } .monaco-workbench .tree-explorer-viewlet-tree-view .message p { margin-top: 0px; margin-bottom: 0px; padding-bottom: 4px; } .monaco-workbench .tree-explorer-viewlet-tree-view .message ul { padding-left: 24px; } .monaco-workbench .tree-explorer-viewlet-tree-view .message.hide { display: none; } .monaco-workbench .tree-explorer-viewlet-tree-view .customview-tree { height: 100%; } .monaco-workbench .tree-explorer-viewlet-tree-view .customview-tree.hide { display: none; } .customview-tree .monaco-list-row .monaco-tl-contents.align-icon-with-twisty::before { display: none; } .customview-tree .monaco-list-row .monaco-tl-contents:not(.align-icon-with-twisty)::before { display: inline-block; } .customview-tree .monaco-list .monaco-list-row { padding-right: 12px; padding-left: 0px; } .customview-tree .monaco-list .monaco-list-row .custom-view-tree-node-item { display: flex; height: 22px; line-height: 22px; flex: 1; text-overflow: ellipsis; overflow: hidden; flex-wrap: nowrap; padding-left: 3px; } .customview-tree .monaco-list .monaco-list-row .custom-view-tree-node-item .custom-view-tree-node-item-resourceLabel { flex: 1; text-overflow: ellipsis; overflow: hidden; } .customview-tree .monaco-list .monaco-list-row .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; } .customview-tree .monaco-list .monaco-list-row .custom-view-tree-node-item .custom-view-tree-node-item-resourceLabel .monaco-icon-label-description-container { flex: 1; } .customview-tree .monaco-list .monaco-list-row .custom-view-tree-node-item .custom-view-tree-node-item-resourceLabel::after { padding-right: 0px; } .customview-tree .monaco-list .monaco-list-row .custom-view-tree-node-item .actions { display: none; } .customview-tree .monaco-list .monaco-list-row:hover .custom-view-tree-node-item .actions, .customview-tree .monaco-list .monaco-list-row.selected .custom-view-tree-node-item .actions, .customview-tree .monaco-list .monaco-list-row.focused .custom-view-tree-node-item .actions { display: block; } .customview-tree .monaco-list .custom-view-tree-node-item .actions .action-label { width: 16px; height: 100%; background-size: 16px; background-position: 50% 50%; background-repeat: no-repeat; }