monaco-editor
Version:
A browser based code editor
43 lines (35 loc) • 1.32 kB
CSS
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-editor .suggest-preview-additional-widget {
white-space: nowrap;
}
.monaco-editor .suggest-preview-additional-widget .content-spacer {
color: transparent;
white-space: pre;
}
.monaco-editor .suggest-preview-additional-widget .button {
display: inline-block;
cursor: pointer;
text-decoration: underline;
text-underline-position: under;
}
.monaco-editor .ghost-text-hidden {
opacity: 0;
font-size: 0;
}
.monaco-editor .ghost-text-decoration, .monaco-editor .suggest-preview-text .ghost-text {
font-style: italic;
}
.monaco-editor .inline-completion-text-to-replace {
text-decoration: underline;
text-underline-position: under;
}
.monaco-editor .ghost-text-decoration,
.monaco-editor .ghost-text-decoration-preview,
.monaco-editor .suggest-preview-text .ghost-text {
color: var(--vscode-editorGhostText-foreground) ;
background-color: var(--vscode-editorGhostText-background);
border: 1px solid var(--vscode-editorGhostText-border);
}