Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/editor/contrib/message/browser/messageController.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 .monaco-editor-overlaymessage {
7
padding-bottom: 8px;
8
z-index: 10000;
9
}
10
11
.monaco-editor .monaco-editor-overlaymessage.below {
12
padding-bottom: 0;
13
padding-top: 8px;
14
z-index: 10000;
15
}
16
17
@keyframes fadeIn {
18
from { opacity: 0; }
19
to { opacity: 1; }
20
}
21
.monaco-editor .monaco-editor-overlaymessage.fadeIn {
22
animation: fadeIn 150ms ease-out;
23
}
24
25
@keyframes fadeOut {
26
from { opacity: 1; }
27
to { opacity: 0; }
28
}
29
.monaco-editor .monaco-editor-overlaymessage.fadeOut {
30
animation: fadeOut 100ms ease-out;
31
}
32
33
.monaco-editor .monaco-editor-overlaymessage .message {
34
padding: 2px 4px;
35
color: var(--vscode-editorHoverWidget-foreground);
36
background-color: var(--vscode-editorHoverWidget-background);
37
border: 1px solid var(--vscode-inputValidation-infoBorder);
38
border-radius: 3px;
39
}
40
41
.monaco-editor .monaco-editor-overlaymessage .message p {
42
margin-block: 0px;
43
}
44
45
.monaco-editor .monaco-editor-overlaymessage .message a {
46
color: var(--vscode-textLink-foreground);
47
}
48
49
.monaco-editor .monaco-editor-overlaymessage .message a:hover {
50
color: var(--vscode-textLink-activeForeground);
51
}
52
53
.monaco-editor.hc-black .monaco-editor-overlaymessage .message,
54
.monaco-editor.hc-light .monaco-editor-overlaymessage .message {
55
border-width: 2px;
56
}
57
58
.monaco-editor .monaco-editor-overlaymessage .anchor {
59
width: 0 !important;
60
height: 0 !important;
61
border-color: transparent;
62
border-style: solid;
63
z-index: 1000;
64
border-width: 8px;
65
position: absolute;
66
left: 2px;
67
}
68
69
.monaco-editor .monaco-editor-overlaymessage .anchor.top {
70
border-bottom-color: var(--vscode-inputValidation-infoBorder);
71
}
72
73
.monaco-editor .monaco-editor-overlaymessage .anchor.below {
74
border-top-color: var(--vscode-inputValidation-infoBorder);
75
}
76
77
.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,
78
.monaco-editor .monaco-editor-overlaymessage.below .anchor.below {
79
display: none;
80
}
81
82
.monaco-editor .monaco-editor-overlaymessage.below .anchor.top {
83
display: inherit;
84
top: -8px;
85
}
86
87