Path: blob/main/src/vs/base/browser/ui/iconLabel/iconlabel.css
3296 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: 16px;36padding-left: 2px;37margin-top: 2px;38display: flex;39}4041.monaco-icon-label-container.disabled {42color: var(--vscode-disabledForeground);43}44.monaco-icon-label > .monaco-icon-label-container {45min-width: 0;46overflow: hidden;47text-overflow: ellipsis;48flex: 1;49}5051.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {52color: inherit;53white-space: pre; /* enable to show labels that include multiple whitespaces */54}5556.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {57margin: 0 2px;58opacity: 0.5;59}6061.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-suffix-container > .label-suffix {62opacity: .7;63white-space: pre;64}6566.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {67opacity: .7;68margin-left: 0.5em;69font-size: 0.9em;70white-space: pre; /* enable to show labels that include multiple whitespaces */71}7273.monaco-icon-label.nowrap > .monaco-icon-label-container > .monaco-icon-description-container > .label-description{74white-space: nowrap75}7677.vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {78opacity: .95;79}8081.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,82.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {83font-style: italic;84}8586.monaco-icon-label.deprecated {87text-decoration: line-through;88opacity: 0.66;89}9091.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,92.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {93text-decoration: line-through;94}9596.monaco-icon-label::after {97opacity: 0.75;98font-size: 90%;99font-weight: 600;100margin: auto 16px 0 5px; /* https://github.com/microsoft/vscode/issues/113223 */101text-align: center;102}103104/* make sure selection color wins when a label is being selected */105.monaco-list:focus .selected .monaco-icon-label, /* list */106.monaco-list:focus .selected .monaco-icon-label::after107{108color: inherit !important;109}110111.monaco-list-row.focused.selected .label-description,112.monaco-list-row.selected .label-description {113opacity: .8;114}115116117