Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/editor/contrib/codelens/browser/codelensWidget.css
4779 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
.monaco-editor .codelens-decoration {
7
overflow: hidden;
8
display: inline-flex !important; /* !important to override inline display:block style */
9
align-items: center;
10
text-overflow: ellipsis;
11
white-space: nowrap;
12
color: var(--vscode-editorCodeLens-foreground);
13
line-height: var(--vscode-editorCodeLens-lineHeight);
14
font-size: var(--vscode-editorCodeLens-fontSize);
15
padding-right: calc(var(--vscode-editorCodeLens-fontSize)*0.5);
16
font-feature-settings: var(--vscode-editorCodeLens-fontFeatureSettings);
17
font-family: var(--vscode-editorCodeLens-fontFamily), var(--vscode-editorCodeLens-fontFamilyDefault);
18
}
19
20
.monaco-editor .codelens-decoration > span,
21
.monaco-editor .codelens-decoration > a {
22
user-select: none;
23
-webkit-user-select: none;
24
white-space: nowrap;
25
vertical-align: sub;
26
display: inline-flex;
27
align-items: center;
28
}
29
30
.monaco-editor .codelens-decoration > a {
31
text-decoration: none;
32
}
33
34
.monaco-editor .codelens-decoration > a:hover {
35
cursor: pointer;
36
color: var(--vscode-editorLink-activeForeground) !important;
37
}
38
39
.monaco-editor .codelens-decoration > a:hover .codicon {
40
color: var(--vscode-editorLink-activeForeground) !important;
41
}
42
43
.monaco-editor .codelens-decoration .codicon[class*='codicon-'] {
44
vertical-align: middle;
45
color: currentColor !important;
46
color: var(--vscode-editorCodeLens-foreground);
47
line-height: var(--vscode-editorCodeLens-lineHeight);
48
font-size: var(--vscode-editorCodeLens-fontSize);
49
}
50
51
52
.monaco-editor .codelens-decoration > a:hover .codicon::before {
53
cursor: pointer;
54
}
55
56
@keyframes fadein {
57
0% { opacity: 0;}
58
100% { opacity: 1;}
59
}
60
61
.monaco-editor .codelens-decoration.fadein {
62
animation: fadein 0.1s linear;
63
}
64
65