Path: blob/main/src/vs/base/browser/ui/iconLabel/iconlabel.css
5236 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45/* ---------- Icon label ---------- */67.monaco-icon-label {8display: flex; /* required for icons support :before rule */9overflow: hidden;10text-overflow: ellipsis;11}1213.monaco-icon-label::before {1415/* svg icons rendered as background image */16background-size: 16px;17background-position: left center;18background-repeat: no-repeat;19padding-right: 6px;20width: 16px;21height: 22px;22line-height: inherit !important;23display: inline-block;2425/* fonts icons */26-webkit-font-smoothing: antialiased;27-moz-osx-font-smoothing: grayscale;28vertical-align: top;2930flex-shrink: 0; /* fix for https://github.com/microsoft/vscode/issues/13787 */31}3233.monaco-icon-label-iconpath {34width: 16px;35height: 22px;36margin-right: 6px;37display: flex;38}3940.monaco-icon-label-container.disabled {41color: var(--vscode-disabledForeground);42}43.monaco-icon-label > .monaco-icon-label-container {44min-width: 0;45overflow: hidden;46text-overflow: ellipsis;47flex: 1;48}4950.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {51color: inherit;52white-space: pre; /* enable to show labels that include multiple whitespaces */53}5455.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {56margin: 0 2px;57opacity: 0.5;58}5960.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-suffix-container > .label-suffix {61opacity: .7;62white-space: pre;63}6465.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {66opacity: .7;67margin-left: 0.5em;68font-size: 0.9em;69white-space: pre; /* enable to show labels that include multiple whitespaces */70}7172.monaco-icon-label.nowrap > .monaco-icon-label-container > .monaco-icon-description-container > .label-description{73white-space: nowrap74}7576.vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {77opacity: .95;78}7980.monaco-icon-label.bold > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,81.monaco-icon-label.bold > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {82font-weight: bold;83}8485.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,86.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {87font-style: italic;88}8990.monaco-icon-label.deprecated {91text-decoration: line-through;92opacity: 0.66;93}9495.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,96.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {97text-decoration: line-through;98}99100.monaco-icon-label::after {101opacity: 0.75;102font-size: 90%;103font-weight: 600;104margin: auto 16px 0 5px; /* https://github.com/microsoft/vscode/issues/113223 */105text-align: center;106}107108/* make sure selection color wins when a label is being selected */109.monaco-list:focus .selected .monaco-icon-label, /* list */110.monaco-list:focus .selected .monaco-icon-label::after111{112color: inherit !important;113}114115.monaco-list-row.focused.selected .label-description,116.monaco-list-row.selected .label-description {117opacity: .8;118}119120121