forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmonacoEditor.css
More file actions
123 lines (99 loc) · 2.72 KB
/
monacoEditor.css
File metadata and controls
123 lines (99 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.measure-width-div {
width: 95vw;
visibility: hidden;
position: absolute;
}
.monaco-editor-outer-container .mtk1 {
/* For some reason the monaco editor refuses to update this style no matter the theme. It's always black */
color: var(--override-foreground, var(--vscode-editor-foreground));
}
.monaco-editor .mtk1 {
/* For some reason the monaco editor refuses to update this style no matter the theme. It's always black */
color: var(--override-foreground, var(--vscode-editor-foreground));
}
/* Bunch of styles copied from vscode. Handles the hover window */
.monaco-editor-hover {
cursor: default;
position: absolute;
overflow: hidden;
z-index: 50;
-webkit-user-select: text;
-ms-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-o-user-select: text;
user-select: text;
box-sizing: initial;
animation: fadein 100ms linear;
line-height: 1.5em;
}
.monaco-editor-hover.hidden {
display: none;
}
.monaco-editor-hover .hover-contents {
padding: 4px 8px;
}
.monaco-editor-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {
max-width: 500px;
}
.monaco-editor-hover p,
.monaco-editor-hover ul {
margin: 8px 0;
}
.monaco-editor-hover hr {
margin-top: 4px;
margin-bottom: -6px;
margin-left: -10px;
margin-right: -10px;
height: 1px;
}
.monaco-editor-hover p:first-child,
.monaco-editor-hover ul:first-child {
margin-top: 0;
}
.monaco-editor-hover p:last-child,
.monaco-editor-hover ul:last-child {
margin-bottom: 0;
}
.monaco-editor-hover ul {
padding-left: 20px;
}
.monaco-editor-hover li > p {
margin-bottom: 0;
}
.monaco-editor-hover li > ul {
margin-top: 0;
}
.monaco-editor-hover code {
border-radius: 3px;
padding: 0 0.4em;
}
.monaco-editor-hover .monaco-tokenized-source {
white-space: pre-wrap;
word-break: break-all;
}
.monaco-editor-hover .hover-row.status-bar {
font-size: 12px;
line-height: 22px;
}
.monaco-editor-hover .hover-row.status-bar .actions {
display: flex;
}
.monaco-editor-hover .hover-row.status-bar .actions .action-container {
margin: 0px 8px;
cursor: pointer;
}
.monaco-editor-hover .hover-row.status-bar .actions .action-container .action .icon {
padding-right: 4px;
}
.monaco-editor .margin {
background-color: transparent !important;
}
.monaco-editor .parameter-hints-widget > .wrapper {
overflow: hidden;
}
.monaco-editor .view-overlays .debug-top-stack-frame-line { background: var(--vscode-editor-stackFrameHighlightBackground); }
.codicon-debug-stackframe-active:before { content: "\eb89" }
.codicon-debug-stackframe-dot:before { content: "\eb8a" }
.codicon-debug-stackframe:before { content: "\eb8b"; color: var(--vscode-debugIcon-breakpointCurrentStackframeForeground); }
.codicon-debug-stackframe-focused:before { content: "\eb8b" }