monaco-editor-core
Version:
A browser based code editor
57 lines (46 loc) • 1.41 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 .rename-box {
z-index: 100;
color: inherit;
border-radius: 4px;
}
.monaco-editor .rename-box.preview {
padding: 4px 4px 0 4px;
}
.monaco-editor .rename-box .rename-input-with-button {
padding: 3px;
border-radius: 2px;
width: calc(100% - 8px); /* 4px padding on each side */
}
.monaco-editor .rename-box .rename-input {
width: calc(100% - 8px); /* 4px padding on each side */
padding: 0;
}
.monaco-editor .rename-box .rename-input:focus {
outline: none;
}
.monaco-editor .rename-box .rename-suggestions-button {
display: flex;
align-items: center;
padding: 3px;
background-color: transparent;
border: none;
border-radius: 5px;
cursor: pointer;
}
.monaco-editor .rename-box .rename-suggestions-button:hover {
background-color: var(--vscode-toolbar-hoverBackground)
}
.monaco-editor .rename-box .rename-candidate-list-container .monaco-list-row {
border-radius: 2px;
}
.monaco-editor .rename-box .rename-label {
display: none;
opacity: .8;
}
.monaco-editor .rename-box.preview .rename-label {
display: inherit;
}