mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-08 09:23:38 +01:00
Back translucent comment widget colors with the editor background so rendered Markdown does not bleed through. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 52bb4aca-2243-4fa0-9dbd-5f579a602a65
36 lines
907 B
CSS
36 lines
907 B
CSS
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
background: var(--vscode-editor-background);
|
|
}
|
|
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#editor {
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: scroll;
|
|
}
|
|
|
|
.md-comment-widget {
|
|
background:
|
|
linear-gradient(var(--vscode-menu-background), var(--vscode-menu-background)),
|
|
var(--vscode-editor-background);
|
|
}
|
|
|
|
.md-comment-widget:hover,
|
|
.md-comment-widget--hover {
|
|
background:
|
|
linear-gradient(var(--vscode-list-hoverBackground), var(--vscode-list-hoverBackground)),
|
|
var(--vscode-editor-background);
|
|
}
|