Path: blob/main/src/vs/editor/browser/viewParts/viewLines/viewLines.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/* Uncomment to see lines flashing when they're painted */6/*.monaco-editor .view-lines > .view-line {7background-color: none;8animation-name: flash-background;9animation-duration: 800ms;10}11@keyframes flash-background {120% { background-color: lightgreen; }13100% { background-color: none }14}*/1516.mtkcontrol {17color: rgb(255, 255, 255) !important;18background: rgb(150, 0, 0) !important;19}2021.mtkoverflow {22background-color: var(--vscode-button-background, var(--vscode-editor-background));23color: var(--vscode-button-foreground, var(--vscode-editor-foreground));24border-width: 1px;25border-style: solid;26border-color: var(--vscode-contrastBorder);27border-radius: 2px;28padding: 4px;29cursor: pointer;30}31.mtkoverflow:hover {32background-color: var(--vscode-button-hoverBackground);33}3435.monaco-editor.no-user-select .lines-content,36.monaco-editor.no-user-select .view-line,37.monaco-editor.no-user-select .view-lines {38user-select: none;39-webkit-user-select: none;40}41/* Use user-select: text for lookup feature on macOS */42/* https://github.com/microsoft/vscode/issues/85632 */43.monaco-editor.mac .lines-content:hover,44.monaco-editor.mac .view-line:hover,45.monaco-editor.mac .view-lines:hover {46user-select: text;47-webkit-user-select: text;48-ms-user-select: text;49}5051.monaco-editor.enable-user-select {52user-select: initial;53-webkit-user-select: initial;54}5556.monaco-editor .view-lines {57white-space: nowrap;58}5960.monaco-editor .view-line {61box-sizing: border-box;62position: absolute;63width: 100%;64}6566/* There are view-lines in view-zones. We have to make sure this rule does not apply to them, as they don't set a line height */67.monaco-editor .lines-content > .view-lines > .view-line > span {68top: 0;69bottom: 0;70position: absolute;71}7273.monaco-editor .mtkw {74color: var(--vscode-editorWhitespace-foreground) !important;75}7677.monaco-editor .mtkz {78display: inline-block;79color: var(--vscode-editorWhitespace-foreground) !important;80}8182/* TODO@tokenization bootstrap fix */83/*.monaco-editor .view-line > span > span {84float: none;85min-height: inherit;86margin-left: inherit;87}*/888990