Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css
3296 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 .lightBulbWidget {
7
display: flex;
8
align-items: center;
9
justify-content: center;
10
}
11
12
.monaco-editor .lightBulbWidget:hover{
13
cursor: pointer;
14
}
15
16
.monaco-editor .lightBulbWidget.codicon-light-bulb,
17
.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle {
18
color: var(--vscode-editorLightBulb-foreground);
19
}
20
21
.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix,
22
.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle-autofix {
23
color: var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground));
24
}
25
26
.monaco-editor .lightBulbWidget.codicon-sparkle-filled {
27
color: var(--vscode-editorLightBulbAi-foreground, var(--vscode-icon-foreground));
28
}
29
30
.monaco-editor .lightBulbWidget:before {
31
position: relative;
32
z-index: 2;
33
}
34
35
.monaco-editor .lightBulbWidget:after {
36
position: absolute;
37
top: 0;
38
left: 0;
39
content: '';
40
display: block;
41
width: 100%;
42
height: 100%;
43
opacity: 0.3;
44
z-index: 1;
45
}
46
47
/* gutter decoration */
48
.monaco-editor .glyph-margin-widgets .cgmr[class*="codicon-gutter-lightbulb"] {
49
display: block;
50
cursor: pointer;
51
}
52
53
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb,
54
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-sparkle {
55
color: var(--vscode-editorLightBulb-foreground);
56
}
57
58
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-auto-fix,
59
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-aifix-auto-fix {
60
color: var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground));
61
}
62
63
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-sparkle-filled {
64
color: var(--vscode-editorLightBulbAi-foreground, var(--vscode-icon-foreground));
65
}
66
67