UNPKG

monaco-editor-core

Version:

A browser based code editor

64 lines (53 loc) 1.92 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-action-bar .action-item.menu-entry .action-label.icon { width: 16px; height: 16px; background-repeat: no-repeat; background-position: 50%; background-size: 16px; } .monaco-action-bar .action-item.menu-entry.text-only .action-label { color: var(--vscode-descriptionForeground); overflow: hidden; border-radius: 2px; } .monaco-action-bar .action-item.menu-entry.text-only.use-comma:not(:last-of-type) .action-label::after { content: ', '; } .monaco-action-bar .action-item.menu-entry.text-only + .action-item:not(.text-only) > .monaco-dropdown .action-label { color: var(--vscode-descriptionForeground); } .monaco-dropdown-with-default { display: flex !important; flex-direction: row; border-radius: 5px; } .monaco-dropdown-with-default > .action-container > .action-label { margin-right: 0; } .monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon { width: 16px; height: 16px; background-repeat: no-repeat; background-position: 50%; background-size: 16px; } .monaco-dropdown-with-default:hover { background-color: var(--vscode-toolbar-hoverBackground); } .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] { font-size: 12px; padding-left: 0px; padding-right: 0px; line-height: 16px; margin-left: -3px; } .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label { display: block; background-size: 16px; background-position: center center; background-repeat: no-repeat; }