/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /* ---------- Icon label ---------- */ .monaco-icon-label { display: flex; /* required for icons support :before rule */ overflow: hidden; text-overflow: ellipsis; } .monaco-icon-label::before { /* svg icons rendered as background image */ background-size: 16px; background-position: left center; background-repeat: no-repeat; padding-right: 6px; width: 16px; height: 22px; display: inline-block; /* fonts icons */ -webkit-font-smoothing: antialiased; vertical-align: top; } .monaco-icon-label > .label-name { color: inherit; white-space: pre; /* enable to show labels that include multiple whitespaces */ } .monaco-icon-label > .label-description { opacity: 0.7; margin-left: 0.5em; font-size: 0.9em; white-space: pre; /* enable to show labels that include multiple whitespaces */ overflow: hidden; text-overflow: ellipsis; flex-shrink: 100; } .monaco-icon-label.italic > .label-name, .monaco-icon-label.italic > .label-description { font-style: italic; } .monaco-icon-label::after { opacity: 0.75; font-size: 90%; font-weight: 600; padding: 0 12px 0 5px; margin-left: auto; text-align: center; } /* make sure selection color wins when a label is being selected */ .monaco-tree.focused .selected .monaco-icon-label, /* tree */ .monaco-tree.focused .selected .monaco-icon-label::after, .monaco-list:focus .focused.selected .monaco-icon-label, /* list */ .monaco-list:focus .focused.selected .monaco-icon-label::after { color: inherit !important; }