@nubase/terminal 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/nubase.js +11 -0
- package/out/main/index.js +3240 -0
- package/out/preload/index.cjs +23 -0
- package/out/renderer/assets/BinaryPreviews-Dvmgctgl.js +262 -0
- package/out/renderer/assets/CodeEditor-BKx61p9c.js +2034 -0
- package/out/renderer/assets/DocumentPreviews-BA1gL-ZJ.js +66 -0
- package/out/renderer/assets/DocxPreview-CiY-SNbh.js +6955 -0
- package/out/renderer/assets/ImagePreview-DpnKfbxj.js +120 -0
- package/out/renderer/assets/PdfPreview-6oeuYaqY.js +24399 -0
- package/out/renderer/assets/PdfPreview-BT-DZbCt.css +6483 -0
- package/out/renderer/assets/SpreadsheetPreviews-B4Qby88A.js +23987 -0
- package/out/renderer/assets/abap-Cel38df4.js +1317 -0
- package/out/renderer/assets/apex-DzOmV_zF.js +355 -0
- package/out/renderer/assets/azcli-Xvapx-7p.js +56 -0
- package/out/renderer/assets/bat-BGMSIlWY.js +126 -0
- package/out/renderer/assets/bicep-CcpV5qxk.js +228 -0
- package/out/renderer/assets/cameligo-BfMDXVEx.js +233 -0
- package/out/renderer/assets/clojure-DFgIAJGu.js +801 -0
- package/out/renderer/assets/codicon-DF1abBS2.ttf +0 -0
- package/out/renderer/assets/coffee-Db4q5aZ8.js +308 -0
- package/out/renderer/assets/cpp-CEvPJv6f.js +450 -0
- package/out/renderer/assets/csharp-CVoBr97X.js +405 -0
- package/out/renderer/assets/csp-Cgzd5gxo.js +49 -0
- package/out/renderer/assets/css-D3M-RRVi.js +287 -0
- package/out/renderer/assets/css.worker-AXSlELAq.js +50031 -0
- package/out/renderer/assets/cssMode-CrMQfSUN.js +101 -0
- package/out/renderer/assets/cursor-editorTextHighlight-kG3uUOwL.svg +8 -0
- package/out/renderer/assets/cypher-DJJgZ_3Q.js +326 -0
- package/out/renderer/assets/dart-Bkg7I-Qe.js +341 -0
- package/out/renderer/assets/dockerfile-B1r36HyK.js +194 -0
- package/out/renderer/assets/ecl-C1Ji6tZG.js +531 -0
- package/out/renderer/assets/editor-CXfYqUZ6.css +4816 -0
- package/out/renderer/assets/editor.api-zF37fz_e.js +127071 -0
- package/out/renderer/assets/elixir-D_-n8lGJ.js +526 -0
- package/out/renderer/assets/fileTypes-nBt-Y6NI.js +56306 -0
- package/out/renderer/assets/flow9-CCdkJPNN.js +179 -0
- package/out/renderer/assets/freemarker2-CBlvIP9I.js +733 -0
- package/out/renderer/assets/fsharp-D5KoOpm3.js +248 -0
- package/out/renderer/assets/go-B7BFdMAL.js +264 -0
- package/out/renderer/assets/graphql-BqIezLde.js +177 -0
- package/out/renderer/assets/handlebars-CG4DAk5_.js +414 -0
- package/out/renderer/assets/hcl-C1GQCKC0.js +222 -0
- package/out/renderer/assets/html-C-_R4s2w.js +335 -0
- package/out/renderer/assets/html.worker-vQ8gO4kF.js +30584 -0
- package/out/renderer/assets/htmlMode-mGTQJ-lr.js +125 -0
- package/out/renderer/assets/index-CQHlaLTi.js +46080 -0
- package/out/renderer/assets/index-DBYJcRdn.css +3124 -0
- package/out/renderer/assets/ini-DDFxEGYN.js +97 -0
- package/out/renderer/assets/java-BqvgSBNj.js +272 -0
- package/out/renderer/assets/javascript-BuIet4p-.js +69 -0
- package/out/renderer/assets/json.worker-DBhrCMTN.js +23259 -0
- package/out/renderer/assets/jsonMode-OAArikPQ.js +769 -0
- package/out/renderer/assets/julia-D30HQT3I.js +688 -0
- package/out/renderer/assets/kotlin-Bql4-FwM.js +303 -0
- package/out/renderer/assets/less-D_rhcFqZ.js +245 -0
- package/out/renderer/assets/lexon-CjhVPeai.js +188 -0
- package/out/renderer/assets/liquid-DJNDWhYP.js +277 -0
- package/out/renderer/assets/lspLanguageFeatures-BIH0_3rO.css +24 -0
- package/out/renderer/assets/lspLanguageFeatures-Bvh4jxNk.js +2583 -0
- package/out/renderer/assets/lua-HQuy0vuU.js +203 -0
- package/out/renderer/assets/m3-CIJ7obE2.js +287 -0
- package/out/renderer/assets/markdown-I0GroHKS.js +265 -0
- package/out/renderer/assets/mdx-B4We-zdi.js +330 -0
- package/out/renderer/assets/mips-DY_Z1uin.js +190 -0
- package/out/renderer/assets/msdax-YkUW9rXl.js +416 -0
- package/out/renderer/assets/mysql-CIm9uV8f.js +921 -0
- package/out/renderer/assets/objective-c-JkhNEfNv.js +233 -0
- package/out/renderer/assets/pascal-Dvq-PxOC.js +289 -0
- package/out/renderer/assets/pascaligo-A9tZTvdV.js +204 -0
- package/out/renderer/assets/pdf_viewer-8SNFor7s.js +7639 -0
- package/out/renderer/assets/perl-C2Ujz2HB.js +720 -0
- package/out/renderer/assets/pgsql-BHB-cYm3.js +879 -0
- package/out/renderer/assets/php-DkNik5Vk.js +548 -0
- package/out/renderer/assets/pla-DQ-RrdDE.js +149 -0
- package/out/renderer/assets/postiats-f1cpw-r_.js +702 -0
- package/out/renderer/assets/powerquery-CwYp-rYn.js +940 -0
- package/out/renderer/assets/powershell-DNVb682q.js +252 -0
- package/out/renderer/assets/protobuf-C73bXEb8.js +663 -0
- package/out/renderer/assets/pug-BxvM69yY.js +419 -0
- package/out/renderer/assets/python-Hlw9kU7X.js +389 -0
- package/out/renderer/assets/qsharp-BCs2AvEL.js +335 -0
- package/out/renderer/assets/r-B7wnzr1V.js +282 -0
- package/out/renderer/assets/razor-BswxUzye.js +615 -0
- package/out/renderer/assets/redis-BQXcxMfX.js +324 -0
- package/out/renderer/assets/redshift-2dZdIUPH.js +838 -0
- package/out/renderer/assets/restructuredtext-CVT2zSWP.js +290 -0
- package/out/renderer/assets/ruby-DjmMI5Dp.js +612 -0
- package/out/renderer/assets/rust-BhSCZj0F.js +382 -0
- package/out/renderer/assets/sb-DaUIZery.js +146 -0
- package/out/renderer/assets/scala-CYIN7D7O.js +589 -0
- package/out/renderer/assets/scheme-DanUmhC2.js +173 -0
- package/out/renderer/assets/scss-BVILLTDt.js +420 -0
- package/out/renderer/assets/shell-Bpairu2a.js +293 -0
- package/out/renderer/assets/solidity-OLm4MSRm.js +1395 -0
- package/out/renderer/assets/sophia-DJz2Vk1M.js +234 -0
- package/out/renderer/assets/sparql-Bk5uRAQt.js +237 -0
- package/out/renderer/assets/sql-DQBN9zz5.js +858 -0
- package/out/renderer/assets/st-50mV4H0S.js +657 -0
- package/out/renderer/assets/swift-Yc0Q28XL.js +376 -0
- package/out/renderer/assets/systemverilog-Du7vdcmu.js +616 -0
- package/out/renderer/assets/tcl-DG7u3TBj.js +312 -0
- package/out/renderer/assets/toggleHighContrast-CKRp-vZ7.css +3691 -0
- package/out/renderer/assets/toggleHighContrast-NyS1pk1Z.js +51247 -0
- package/out/renderer/assets/twig-C49MsNA9.js +438 -0
- package/out/renderer/assets/typescript-F2yeVXIn.js +382 -0
- package/out/renderer/assets/typespec-DA1dz9gQ.js +245 -0
- package/out/renderer/assets/useAsync-Bi56CNnI.js +30 -0
- package/out/renderer/assets/vb-BDNIgfQk.js +447 -0
- package/out/renderer/assets/wgsl-j-0nJ_62.js +457 -0
- package/out/renderer/assets/xml-BfG5_Ah8.js +131 -0
- package/out/renderer/assets/yaml-7gp9FQUG.js +224 -0
- package/out/renderer/index.html +14 -0
- package/package.json +66 -4
- package/resources/skills/nubase-extension-authoring/SKILL.md +273 -0
- package/resources/templates/extension/package.json.template +13 -0
- package/resources/templates/extension/src/host.ts.template +12 -0
- package/resources/templates/extension/src/ui.tsx.template +26 -0
- package/resources/templates/extension/tsconfig.json.template +4 -0
- package/README.md +0 -3
|
@@ -0,0 +1,3691 @@
|
|
|
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 .selection-anchor {
|
|
7
|
+
background-color: #007ACC;
|
|
8
|
+
width: 2px !important;
|
|
9
|
+
}
|
|
10
|
+
/*---------------------------------------------------------------------------------------------
|
|
11
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
13
|
+
*--------------------------------------------------------------------------------------------*/
|
|
14
|
+
|
|
15
|
+
.monaco-editor .bracket-match {
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
background-color: var(--vscode-editorBracketMatch-background);
|
|
18
|
+
border: 1px solid var(--vscode-editorBracketMatch-border);
|
|
19
|
+
}
|
|
20
|
+
/*---------------------------------------------------------------------------------------------
|
|
21
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
22
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
23
|
+
*--------------------------------------------------------------------------------------------*/
|
|
24
|
+
|
|
25
|
+
.inline-editor-progress-decoration {
|
|
26
|
+
display: inline-block;
|
|
27
|
+
width: 1em;
|
|
28
|
+
height: 1em;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.inline-progress-widget {
|
|
32
|
+
display: flex !important;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.inline-progress-widget .icon {
|
|
38
|
+
font-size: 80% !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.inline-progress-widget:hover .icon {
|
|
42
|
+
font-size: 90% !important;
|
|
43
|
+
animation: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.inline-progress-widget:hover .icon::before {
|
|
47
|
+
content: var(--vscode-icon-x-content);
|
|
48
|
+
font-family: var(--vscode-icon-x-font-family);
|
|
49
|
+
}
|
|
50
|
+
/*---------------------------------------------------------------------------------------------
|
|
51
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
52
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
53
|
+
*--------------------------------------------------------------------------------------------*/
|
|
54
|
+
|
|
55
|
+
.monaco-editor .monaco-editor-overlaymessage {
|
|
56
|
+
padding-bottom: 8px;
|
|
57
|
+
z-index: 10000;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.monaco-editor .monaco-editor-overlaymessage.below {
|
|
61
|
+
padding-bottom: 0;
|
|
62
|
+
padding-top: 8px;
|
|
63
|
+
z-index: 10000;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@keyframes fadeIn {
|
|
67
|
+
from { opacity: 0; }
|
|
68
|
+
to { opacity: 1; }
|
|
69
|
+
}
|
|
70
|
+
.monaco-editor .monaco-editor-overlaymessage.fadeIn {
|
|
71
|
+
animation: fadeIn 150ms ease-out;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@keyframes fadeOut {
|
|
75
|
+
from { opacity: 1; }
|
|
76
|
+
to { opacity: 0; }
|
|
77
|
+
}
|
|
78
|
+
.monaco-editor .monaco-editor-overlaymessage.fadeOut {
|
|
79
|
+
animation: fadeOut 100ms ease-out;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.monaco-editor .monaco-editor-overlaymessage .message {
|
|
83
|
+
padding: 2px 4px;
|
|
84
|
+
color: var(--vscode-editorHoverWidget-foreground);
|
|
85
|
+
background-color: var(--vscode-editorHoverWidget-background);
|
|
86
|
+
border: 1px solid var(--vscode-inputValidation-infoBorder);
|
|
87
|
+
border-radius: 3px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.monaco-editor .monaco-editor-overlaymessage .message p {
|
|
91
|
+
margin-block: 0px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.monaco-editor .monaco-editor-overlaymessage .message a {
|
|
95
|
+
color: var(--vscode-textLink-foreground);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.monaco-editor .monaco-editor-overlaymessage .message a:hover {
|
|
99
|
+
color: var(--vscode-textLink-activeForeground);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.monaco-editor.hc-black .monaco-editor-overlaymessage .message,
|
|
103
|
+
.monaco-editor.hc-light .monaco-editor-overlaymessage .message {
|
|
104
|
+
border-width: 2px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.monaco-editor .monaco-editor-overlaymessage .anchor {
|
|
108
|
+
width: 0 !important;
|
|
109
|
+
height: 0 !important;
|
|
110
|
+
border-color: transparent;
|
|
111
|
+
border-style: solid;
|
|
112
|
+
z-index: 1000;
|
|
113
|
+
border-width: 8px;
|
|
114
|
+
position: absolute;
|
|
115
|
+
left: 2px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.monaco-editor .monaco-editor-overlaymessage .anchor.top {
|
|
119
|
+
border-bottom-color: var(--vscode-inputValidation-infoBorder);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.monaco-editor .monaco-editor-overlaymessage .anchor.below {
|
|
123
|
+
border-top-color: var(--vscode-inputValidation-infoBorder);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,
|
|
127
|
+
.monaco-editor .monaco-editor-overlaymessage.below .anchor.below {
|
|
128
|
+
display: none;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.monaco-editor .monaco-editor-overlaymessage.below .anchor.top {
|
|
132
|
+
display: inherit;
|
|
133
|
+
top: -8px;
|
|
134
|
+
}
|
|
135
|
+
/*---------------------------------------------------------------------------------------------
|
|
136
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
137
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
138
|
+
*--------------------------------------------------------------------------------------------*/
|
|
139
|
+
|
|
140
|
+
.action-widget {
|
|
141
|
+
font-size: 13px;
|
|
142
|
+
min-width: 100px;
|
|
143
|
+
max-width: 80vw;
|
|
144
|
+
z-index: 40;
|
|
145
|
+
display: block;
|
|
146
|
+
width: 100%;
|
|
147
|
+
border: 1px solid var(--vscode-editorHoverWidget-border) !important;
|
|
148
|
+
border-radius: var(--vscode-cornerRadius-large);
|
|
149
|
+
background-color: var(--vscode-menu-background);
|
|
150
|
+
color: var(--vscode-menu-foreground);
|
|
151
|
+
padding: 4px;
|
|
152
|
+
box-shadow: var(--vscode-shadow-lg);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.modern-ui.monaco-enable-motion .action-widget.action-widget-dropdown {
|
|
156
|
+
animation: action-widget-dropdown-open 250ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
157
|
+
transform-origin: bottom left;
|
|
158
|
+
will-change: transform, opacity;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.modern-ui.monaco-enable-motion .context-view.bottom .action-widget.action-widget-dropdown {
|
|
162
|
+
transform-origin: top left;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.modern-ui.monaco-enable-motion .action-widget.action-widget-dropdown.action-widget-dropdown-closing {
|
|
166
|
+
animation: action-widget-dropdown-close 150ms cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
167
|
+
pointer-events: none;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@keyframes action-widget-dropdown-open {
|
|
171
|
+
0% {
|
|
172
|
+
opacity: 0;
|
|
173
|
+
transform: scale(0.97);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
100% {
|
|
177
|
+
opacity: 1;
|
|
178
|
+
transform: scale(1);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@keyframes action-widget-dropdown-close {
|
|
183
|
+
0% {
|
|
184
|
+
opacity: var(--action-widget-close-start-opacity, 1);
|
|
185
|
+
transform: var(--action-widget-close-start-transform, scale(1));
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
100% {
|
|
189
|
+
opacity: 0;
|
|
190
|
+
transform: scale(0.99);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.context-view-block {
|
|
195
|
+
position: fixed;
|
|
196
|
+
cursor: initial;
|
|
197
|
+
left: 0;
|
|
198
|
+
top: 0;
|
|
199
|
+
width: 100%;
|
|
200
|
+
height: 100%;
|
|
201
|
+
z-index: -1;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.action-widget .monaco-list {
|
|
205
|
+
user-select: none;
|
|
206
|
+
-webkit-user-select: none;
|
|
207
|
+
border: none !important;
|
|
208
|
+
border-width: 0 !important;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.action-widget .monaco-list:focus:before {
|
|
212
|
+
outline: 0 !important;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.action-widget .monaco-list .monaco-scrollable-element {
|
|
216
|
+
overflow: visible;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/** Styles for each row in the list element **/
|
|
220
|
+
.action-widget .monaco-list .monaco-list-row {
|
|
221
|
+
padding: 0 12px 0 6px;
|
|
222
|
+
white-space: nowrap;
|
|
223
|
+
cursor: pointer;
|
|
224
|
+
touch-action: none;
|
|
225
|
+
border-radius: var(--vscode-cornerRadius-medium);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled) {
|
|
229
|
+
background-color: var(--vscode-list-hoverBackground) !important;
|
|
230
|
+
color: var(--vscode-list-hoverForeground);
|
|
231
|
+
outline: 1px solid var(--vscode-menu-selectionBorder, transparent);
|
|
232
|
+
outline-offset: -2px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/* Hover changes the focused row without moving DOM focus, including while a combobox owns it. */
|
|
236
|
+
.action-widget .monaco-list.mouse-navigation .monaco-list-row.action.focused:not(.option-disabled),
|
|
237
|
+
.action-widget .monaco-list:not(.keyboard-navigation):not(:focus-visible) .monaco-list-row.action.focused:not(.option-disabled) {
|
|
238
|
+
outline-color: var(--vscode-contrastActiveBorder, transparent);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.action-widget .monaco-list-row.group-header {
|
|
242
|
+
color: var(--vscode-descriptionForeground) !important;
|
|
243
|
+
font-weight: var(--vscode-fontWeight-semiBold);
|
|
244
|
+
font-size: 11px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.action-widget .monaco-list-row.group-header:not(:first-of-type) {
|
|
248
|
+
margin-top: 2px;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.action-widget .monaco-scrollable-element .monaco-list-rows .monaco-list-row.separator {
|
|
252
|
+
border-top: 1px solid var(--vscode-editorHoverWidget-border);
|
|
253
|
+
color: var(--vscode-descriptionForeground);
|
|
254
|
+
font-size: 12px;
|
|
255
|
+
margin: 4px 6px;
|
|
256
|
+
width: calc(100% - 12px);
|
|
257
|
+
cursor: default;
|
|
258
|
+
-webkit-user-select: none;
|
|
259
|
+
user-select: none;
|
|
260
|
+
border-radius: 0;
|
|
261
|
+
pointer-events: none;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.action-widget .monaco-scrollable-element .monaco-list-rows .monaco-list-row.separator:hover,
|
|
265
|
+
.action-widget .monaco-scrollable-element .monaco-list-rows .monaco-list-row.separator.focused {
|
|
266
|
+
outline: 0 solid;
|
|
267
|
+
background-color: transparent !important;
|
|
268
|
+
border-radius: 0;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.action-widget .monaco-list-row.separator:first-of-type {
|
|
272
|
+
border-top: none;
|
|
273
|
+
margin-top: 0;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* Separators with text labels (titled section headers) */
|
|
277
|
+
.action-widget .monaco-list-row.separator > span:not(:empty) {
|
|
278
|
+
display: flex;
|
|
279
|
+
align-items: center;
|
|
280
|
+
height: 100%;
|
|
281
|
+
padding-left: 10px;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.action-widget .monaco-list .group-header,
|
|
285
|
+
.action-widget .monaco-list .option-disabled,
|
|
286
|
+
.action-widget .monaco-list .option-disabled:before,
|
|
287
|
+
.action-widget .monaco-list .option-disabled .focused,
|
|
288
|
+
.action-widget .monaco-list .option-disabled .focused:before {
|
|
289
|
+
cursor: default !important;
|
|
290
|
+
-webkit-touch-callout: none;
|
|
291
|
+
-webkit-user-select: none;
|
|
292
|
+
user-select: none;
|
|
293
|
+
background-color: transparent !important;
|
|
294
|
+
outline: 0 solid !important;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.action-widget .monaco-list-row.action {
|
|
298
|
+
display: flex;
|
|
299
|
+
gap: 6px;
|
|
300
|
+
align-items: center;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.action-widget .monaco-list-row.action .codicon {
|
|
304
|
+
font-size: 12px;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.action-widget .monaco-list-row.action .action-list-item-toolbar .codicon {
|
|
308
|
+
font-size: 16px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* Compact icon modifier: render the leading row codicon at the compact size */
|
|
312
|
+
.action-widget .actionList.compact-icons .monaco-list-row.action .codicon {
|
|
313
|
+
font-size: var(--vscode-codiconFontSize-compact, 12px);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* Toolbar codicons keep the regular codicon size even in compact lists */
|
|
317
|
+
.action-widget .actionList.compact-icons .monaco-list-row.action .action-list-item-toolbar .codicon {
|
|
318
|
+
font-size: var(--vscode-codiconFontSize, 16px);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/* The submenu indicator keeps the regular codicon size even in compact lists */
|
|
322
|
+
.action-widget .actionList.compact-icons .monaco-list-row.action .action-list-submenu-indicator.codicon {
|
|
323
|
+
font-size: var(--vscode-codiconFontSize, 16px);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.action-widget .monaco-list-row.action.option-disabled,
|
|
327
|
+
.action-widget .monaco-list:focus .monaco-list-row.focused.action.option-disabled,
|
|
328
|
+
.action-widget .monaco-list-row.action.option-disabled .codicon,
|
|
329
|
+
.action-widget .monaco-list:not(.drop-target):not(.dragging) .monaco-list-row:hover:not(.selected):not(.focused).option-disabled {
|
|
330
|
+
color: var(--vscode-disabledForeground);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
.action-widget .monaco-list-row.action:not(.option-disabled) .codicon {
|
|
335
|
+
color: inherit;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.action-widget .monaco-list-row.action .title {
|
|
339
|
+
flex: 1;
|
|
340
|
+
overflow: hidden;
|
|
341
|
+
text-overflow: ellipsis;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.action-widget .monaco-list-row.action .detail {
|
|
345
|
+
order: 99;
|
|
346
|
+
width: 100%;
|
|
347
|
+
padding-left: 18px;
|
|
348
|
+
font-size: 11px;
|
|
349
|
+
line-height: 14px;
|
|
350
|
+
color: var(--vscode-descriptionForeground);
|
|
351
|
+
opacity: 0.8;
|
|
352
|
+
overflow: hidden;
|
|
353
|
+
text-overflow: ellipsis;
|
|
354
|
+
white-space: nowrap;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled) .detail {
|
|
358
|
+
color: inherit;
|
|
359
|
+
opacity: 1;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.action-widget .monaco-list-row.action .action-item-badge {
|
|
363
|
+
padding: 0 var(--vscode-spacing-size60, 6px);
|
|
364
|
+
border-radius: var(--vscode-cornerRadius-circle, 9999px);
|
|
365
|
+
background-color: var(--vscode-badge-background);
|
|
366
|
+
color: var(--vscode-badge-foreground);
|
|
367
|
+
font-size: var(--vscode-fontSize-label2, 11px);
|
|
368
|
+
line-height: 18px;
|
|
369
|
+
flex-shrink: 0;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.action-widget .monaco-list-row.action .monaco-keybinding > .monaco-keybinding-key {
|
|
373
|
+
background-color: var(--vscode-keybindingLabel-background);
|
|
374
|
+
color: var(--vscode-keybindingLabel-foreground);
|
|
375
|
+
border-style: solid;
|
|
376
|
+
border-width: 1px;
|
|
377
|
+
border-radius: 3px;
|
|
378
|
+
border-color: var(--vscode-keybindingLabel-border);
|
|
379
|
+
border-bottom-color: var(--vscode-keybindingLabel-bottomBorder);
|
|
380
|
+
box-shadow: inset 0 -1px 0 var(--vscode-widget-shadow);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/* Action bar */
|
|
384
|
+
|
|
385
|
+
.action-widget .action-widget-action-bar {
|
|
386
|
+
background-color: var(--vscode-menu-background);
|
|
387
|
+
border-top: 1px solid var(--vscode-editorHoverWidget-border);
|
|
388
|
+
margin-top: 4px;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.action-widget .action-widget-action-bar::before {
|
|
392
|
+
display: block;
|
|
393
|
+
content: "";
|
|
394
|
+
width: 100%;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.action-widget .action-widget-action-bar .actions-container {
|
|
398
|
+
padding: 2px 8px 0px 26px;
|
|
399
|
+
width: auto;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.action-widget-action-bar .action-label {
|
|
403
|
+
color: var(--vscode-textLink-activeForeground);
|
|
404
|
+
font-size: 12px;
|
|
405
|
+
line-height: 22px;
|
|
406
|
+
padding: 0;
|
|
407
|
+
pointer-events: all;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.action-widget-action-bar .action-item {
|
|
411
|
+
margin-right: 16px;
|
|
412
|
+
pointer-events: none;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.action-widget-action-bar .action-label:hover {
|
|
416
|
+
background-color: transparent !important;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.monaco-action-bar .actions-container.highlight-toggled .action-label.checked {
|
|
420
|
+
/* The important gives this rule precedence over the hover rule. */
|
|
421
|
+
background: var(--vscode-actionBar-toggledBackground) !important;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.action-widget .monaco-list .monaco-list-row .description {
|
|
425
|
+
color: var(--vscode-descriptionForeground);
|
|
426
|
+
margin-left: 0.5em;
|
|
427
|
+
font-size: 12px;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.action-widget .monaco-list .monaco-list-row .description a {
|
|
431
|
+
color: var(--vscode-textLink-foreground);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.action-widget .monaco-list .monaco-list-row .description a:hover,
|
|
435
|
+
.action-widget .monaco-list .monaco-list-row .description a:active {
|
|
436
|
+
color: var(--vscode-textLink-activeForeground);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.action-widget .monaco-list-row.action .group-title {
|
|
440
|
+
color: var(--vscode-descriptionForeground);
|
|
441
|
+
margin-left: 0.5em;
|
|
442
|
+
margin-right: 6px;
|
|
443
|
+
font-size: 12px;
|
|
444
|
+
flex-shrink: 0;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/* Items with detail — show detail as subtext below the title */
|
|
448
|
+
.action-widget .monaco-list .monaco-list-row.action.has-detail {
|
|
449
|
+
flex-wrap: wrap;
|
|
450
|
+
align-content: center;
|
|
451
|
+
padding-right: 6px;
|
|
452
|
+
|
|
453
|
+
.title {
|
|
454
|
+
line-height: 14px;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/* Items with an inline toggle — wrap so the toggle sits on its own row */
|
|
459
|
+
.action-widget .monaco-list-row.action.has-inline-toggle {
|
|
460
|
+
flex-wrap: wrap;
|
|
461
|
+
align-content: center;
|
|
462
|
+
padding-right: 6px;
|
|
463
|
+
|
|
464
|
+
.title {
|
|
465
|
+
line-height: 14px;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/* Standalone toggles are peer settings, so the label and switch share one row. */
|
|
470
|
+
.action-widget .monaco-list-row.action.has-standalone-toggle .title {
|
|
471
|
+
font-size: var(--vscode-fontSize-body1);
|
|
472
|
+
font-weight: var(--vscode-fontWeight-regular);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.action-widget .monaco-list-row.action.has-standalone-toggle .action-list-item-inline-toggle {
|
|
476
|
+
order: 100;
|
|
477
|
+
width: auto;
|
|
478
|
+
margin-left: auto;
|
|
479
|
+
padding: var(--vscode-spacing-sizeNone);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.action-widget .monaco-list-row.action .action-list-item-inline-toggle {
|
|
483
|
+
order: 100;
|
|
484
|
+
width: 100%;
|
|
485
|
+
display: flex;
|
|
486
|
+
align-items: center;
|
|
487
|
+
gap: 8px;
|
|
488
|
+
padding-left: 18px;
|
|
489
|
+
padding-top: 6px;
|
|
490
|
+
line-height: 16px;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.action-widget .monaco-list-row.action .action-list-item-inline-toggle .action-list-item-inline-toggle-label {
|
|
494
|
+
flex: 1;
|
|
495
|
+
min-width: 0;
|
|
496
|
+
overflow: hidden;
|
|
497
|
+
text-overflow: ellipsis;
|
|
498
|
+
white-space: nowrap;
|
|
499
|
+
font-size: 12px;
|
|
500
|
+
line-height: 16px;
|
|
501
|
+
color: var(--vscode-foreground);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/* Inline description mode — description rendered right after the label */
|
|
505
|
+
.action-widget .inline-description .monaco-list-row.action {
|
|
506
|
+
/* Override the row gap so group-title and toolbar sit flush */
|
|
507
|
+
gap: 0;
|
|
508
|
+
|
|
509
|
+
.title {
|
|
510
|
+
flex: 0 1 auto;
|
|
511
|
+
min-width: 0;
|
|
512
|
+
margin-left: 6px;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.description {
|
|
516
|
+
flex: 1;
|
|
517
|
+
min-width: 0;
|
|
518
|
+
overflow: hidden;
|
|
519
|
+
text-overflow: ellipsis;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.group-title {
|
|
523
|
+
margin-left: auto;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.action-list-item-toolbar {
|
|
527
|
+
margin-left: 4px;
|
|
528
|
+
margin-right: 10px;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/* When description is hidden (e.g. items with only a submenu), push the
|
|
532
|
+
* submenu chevron to the far right using an auto left margin. When
|
|
533
|
+
* description is visible it already consumes all available space via
|
|
534
|
+
* flex:1, so the auto margin has no additional effect. */
|
|
535
|
+
.action-list-submenu-indicator {
|
|
536
|
+
margin-left: auto;
|
|
537
|
+
margin-right: 10px;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/* Item toolbar - shows on hover/focus */
|
|
542
|
+
.action-widget .monaco-list-row.action .action-list-item-toolbar {
|
|
543
|
+
display: none;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.action-widget .monaco-list-row.action.has-toolbar .action-list-item-toolbar {
|
|
547
|
+
margin-right: var(--vscode-spacing-size100, 10px);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.action-widget .monaco-list-row.action.has-detail.has-toolbar .action-list-item-toolbar {
|
|
551
|
+
display: flex;
|
|
552
|
+
visibility: hidden;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.action-widget .monaco-list-row.focused.action.has-toolbar .action-list-item-toolbar,
|
|
556
|
+
.action-widget .monaco-list-row:hover.action.has-toolbar .action-list-item-toolbar {
|
|
557
|
+
display: flex;
|
|
558
|
+
visibility: visible;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.action-widget .monaco-list-row .action-list-item-toolbar .monaco-action-bar:not(.vertical) .action-label:not(.disabled):hover {
|
|
562
|
+
background-color: var(--vscode-toolbar-hoverBackground);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.action-widget-delegate-label {
|
|
566
|
+
display: flex;
|
|
567
|
+
align-items: center;
|
|
568
|
+
gap: 4px;
|
|
569
|
+
font-size: 12px;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/* Filter input */
|
|
573
|
+
.action-widget .action-list-filter {
|
|
574
|
+
padding: 2px 2px 4px 2px;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.action-widget .action-list-filter-row {
|
|
578
|
+
display: flex;
|
|
579
|
+
align-items: center;
|
|
580
|
+
gap: 4px;
|
|
581
|
+
padding-right: 10px;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.action-widget .action-list-filter:first-child {
|
|
585
|
+
border-bottom: none;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.action-widget .action-list-filter:last-child {
|
|
589
|
+
border-top: 1px solid var(--vscode-editorHoverWidget-border);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.action-widget .action-list-filter-input {
|
|
593
|
+
width: 100%;
|
|
594
|
+
min-width: 0;
|
|
595
|
+
flex: 1;
|
|
596
|
+
box-sizing: border-box;
|
|
597
|
+
padding: 4px 8px;
|
|
598
|
+
border: 1px solid var(--vscode-input-border, transparent);
|
|
599
|
+
border-radius: 3px;
|
|
600
|
+
background-color: var(--vscode-input-background);
|
|
601
|
+
color: var(--vscode-input-foreground);
|
|
602
|
+
/* The themed border below replaces the browser's native focus outline. */
|
|
603
|
+
outline: none;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.action-widget .action-list-filter-input:focus {
|
|
607
|
+
border-color: var(--vscode-focusBorder);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.action-widget .action-list-filter-input::placeholder {
|
|
611
|
+
color: var(--vscode-input-placeholderForeground);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/* Filter action buttons remain quiet until the pointer reveals them. */
|
|
615
|
+
.action-widget .action-list-filter-actions .action-label {
|
|
616
|
+
padding: 3px;
|
|
617
|
+
border-radius: 3px;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.action-widget .action-list-filter-actions .action-label:hover {
|
|
621
|
+
background-color: var(--vscode-toolbar-hoverBackground);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.action-widget .action-list-filter-label {
|
|
625
|
+
color: var(--vscode-descriptionForeground);
|
|
626
|
+
font-size: 12px;
|
|
627
|
+
flex-shrink: 0;
|
|
628
|
+
margin-right: 2px;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/* Footer text */
|
|
632
|
+
.action-widget .action-list-footer {
|
|
633
|
+
color: var(--vscode-descriptionForeground);
|
|
634
|
+
font-size: 11px;
|
|
635
|
+
/* Left padding matches the list row padding so the text aligns with the section headings. */
|
|
636
|
+
padding: 4px 10px 2px 6px;
|
|
637
|
+
/* Space between the last list item and the divider above the footer. */
|
|
638
|
+
margin-top: 4px;
|
|
639
|
+
border-top: 1px solid var(--vscode-editorHoverWidget-border);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
/* Header banner */
|
|
643
|
+
.action-widget .action-list-header {
|
|
644
|
+
display: flex;
|
|
645
|
+
align-items: flex-start;
|
|
646
|
+
/* Match the row gap so the text aligns with the item labels. */
|
|
647
|
+
gap: 6px;
|
|
648
|
+
color: var(--vscode-foreground);
|
|
649
|
+
font-size: 12px;
|
|
650
|
+
line-height: 16px;
|
|
651
|
+
/* Match the row padding so the icon sits in the item icon column and the text aligns with the item labels. Top padding matches the left so the icon is evenly inset. */
|
|
652
|
+
padding: 6px 12px 6px 6px;
|
|
653
|
+
/* No horizontal margin so the rounded box matches the item hover outline. */
|
|
654
|
+
margin-bottom: 2px;
|
|
655
|
+
background-color: var(--vscode-chat-requestBubbleBackground);
|
|
656
|
+
border-radius: var(--vscode-cornerRadius-medium);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/* Give widgets with a header banner more room so the banner text reads well. */
|
|
660
|
+
.action-widget:has(.action-list-header) {
|
|
661
|
+
min-width: 160px;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.action-widget .action-list-header .action-list-header-icon {
|
|
665
|
+
flex-shrink: 0;
|
|
666
|
+
/* Match the row icon column so the icon centers on the item icon column and the text lines up with the item labels. The filled info glyph reads optically heavier than the item check icon, so render it slightly smaller. */
|
|
667
|
+
width: 12px;
|
|
668
|
+
text-align: center;
|
|
669
|
+
font-size: 12px !important;
|
|
670
|
+
line-height: 16px;
|
|
671
|
+
color: var(--vscode-descriptionForeground);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.action-widget .action-list-header .action-list-header-text {
|
|
675
|
+
flex: 1;
|
|
676
|
+
font-size: 11px;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.action-widget .action-list-header .action-list-header-dismiss {
|
|
680
|
+
flex-shrink: 0;
|
|
681
|
+
cursor: pointer;
|
|
682
|
+
color: var(--vscode-descriptionForeground);
|
|
683
|
+
font-size: 12px;
|
|
684
|
+
line-height: 16px;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.action-widget .action-list-header .action-list-header-dismiss:hover {
|
|
688
|
+
color: var(--vscode-foreground);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.action-widget .action-list-header .action-list-header-dismiss:focus-visible {
|
|
692
|
+
outline: var(--vscode-strokeThickness) solid var(--vscode-focusBorder);
|
|
693
|
+
outline-offset: 2px;
|
|
694
|
+
border-radius: var(--vscode-cornerRadius-small);
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/* Anchor for the absolutely-positioned submenu panel */
|
|
698
|
+
.action-widget .actionList {
|
|
699
|
+
position: relative;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.action-widget .action-list-submenu-indicator {
|
|
703
|
+
display: flex;
|
|
704
|
+
align-items: center;
|
|
705
|
+
justify-content: center;
|
|
706
|
+
width: 20px;
|
|
707
|
+
height: 20px;
|
|
708
|
+
flex-shrink: 0;
|
|
709
|
+
border-radius: 4px;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.action-widget .action-list-submenu-indicator.has-submenu {
|
|
713
|
+
opacity: 0.6;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.action-widget .monaco-list-row.action .action-list-submenu-indicator.codicon {
|
|
717
|
+
display: flex;
|
|
718
|
+
font-size: 16px;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.action-list-submenu-panel {
|
|
722
|
+
z-index: 50;
|
|
723
|
+
width: max-content;
|
|
724
|
+
/* Hug the inner list so rows (and their hover background) fill the panel.
|
|
725
|
+
* Otherwise the panel inherits the 100px min-width from `.action-widget`
|
|
726
|
+
* and the hover highlight stops short of the right edge. */
|
|
727
|
+
min-width: 0;
|
|
728
|
+
outline: none;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.action-list-submenu-hover-header {
|
|
732
|
+
padding: 4px 8px;
|
|
733
|
+
line-height: 1.4em;
|
|
734
|
+
font-size: 12px;
|
|
735
|
+
max-width: 300px;
|
|
736
|
+
word-wrap: break-word;
|
|
737
|
+
-webkit-user-select: text;
|
|
738
|
+
user-select: text;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.action-list-submenu-hover-header.content-owns-padding {
|
|
742
|
+
padding: 0;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.action-list-submenu-hover-header a {
|
|
746
|
+
color: var(--vscode-textLink-foreground);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.action-list-submenu-hover-header a:hover,
|
|
750
|
+
.action-list-submenu-hover-header a:active {
|
|
751
|
+
color: var(--vscode-textLink-activeForeground);
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.action-list-submenu-hover-header.has-submenu {
|
|
755
|
+
border-bottom: 1px solid var(--vscode-menu-separatorBackground, var(--vscode-editorWidget-border));
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
.action-list-submenu-hover-header > p {
|
|
759
|
+
margin-left: 0;
|
|
760
|
+
margin-right: 0;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
.action-list-submenu-hover-header > p:first-child {
|
|
764
|
+
margin-top: 0;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.action-list-submenu-hover-header > p:last-child {
|
|
768
|
+
margin-bottom: 0;
|
|
769
|
+
}
|
|
770
|
+
/*---------------------------------------------------------------------------------------------
|
|
771
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
772
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
773
|
+
*--------------------------------------------------------------------------------------------*/
|
|
774
|
+
|
|
775
|
+
.monaco-switch {
|
|
776
|
+
position: relative;
|
|
777
|
+
flex: 0 0 auto;
|
|
778
|
+
width: var(--vscode-spacing-size280);
|
|
779
|
+
height: var(--vscode-spacing-size160);
|
|
780
|
+
padding: 0;
|
|
781
|
+
border: var(--vscode-strokeThickness) solid transparent;
|
|
782
|
+
border-radius: var(--vscode-cornerRadius-circle);
|
|
783
|
+
background: color-mix(in srgb, var(--vscode-descriptionForeground) 36%, transparent);
|
|
784
|
+
cursor: pointer;
|
|
785
|
+
transition: background-color 120ms ease, border-color 120ms ease;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.monaco-switch.checked {
|
|
789
|
+
background: var(--vscode-button-background);
|
|
790
|
+
border-color: var(--vscode-button-background);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.monaco-switch:disabled {
|
|
794
|
+
cursor: default;
|
|
795
|
+
opacity: 0.5;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.monaco-switch:focus-visible {
|
|
799
|
+
outline: var(--vscode-strokeThickness) solid var(--vscode-focusBorder);
|
|
800
|
+
outline-offset: var(--vscode-spacing-size20);
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.monaco-switch-thumb {
|
|
804
|
+
position: absolute;
|
|
805
|
+
top: var(--vscode-strokeThickness);
|
|
806
|
+
left: var(--vscode-strokeThickness);
|
|
807
|
+
width: var(--vscode-spacing-size120);
|
|
808
|
+
height: var(--vscode-spacing-size120);
|
|
809
|
+
border-radius: var(--vscode-cornerRadius-circle);
|
|
810
|
+
background: var(--vscode-button-foreground);
|
|
811
|
+
transition: transform 120ms ease;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.monaco-switch.checked .monaco-switch-thumb {
|
|
815
|
+
transform: translateX(var(--vscode-spacing-size120));
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/* The workbench marks high contrast with `.hc-black` / `.hc-light`; `.vscode-high-contrast`
|
|
819
|
+
* is the webview equivalent, and the switch is rendered in both. */
|
|
820
|
+
.hc-black .monaco-switch,
|
|
821
|
+
.hc-light .monaco-switch,
|
|
822
|
+
.vscode-high-contrast .monaco-switch {
|
|
823
|
+
border-color: var(--vscode-contrastBorder);
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.monaco-reduce-motion .monaco-switch,
|
|
827
|
+
.monaco-reduce-motion .monaco-switch-thumb {
|
|
828
|
+
transition: none;
|
|
829
|
+
}
|
|
830
|
+
/*---------------------------------------------------------------------------------------------
|
|
831
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
832
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
833
|
+
*--------------------------------------------------------------------------------------------*/
|
|
834
|
+
|
|
835
|
+
.monaco-link {
|
|
836
|
+
color: var(--vscode-textLink-foreground);
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.monaco-link:hover {
|
|
840
|
+
color: var(--vscode-textLink-activeForeground);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/*---------------------------------------------------------------------------------------------
|
|
844
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
845
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
846
|
+
*--------------------------------------------------------------------------------------------*/
|
|
847
|
+
|
|
848
|
+
.post-edit-widget {
|
|
849
|
+
box-shadow: var(--vscode-shadow-lg);
|
|
850
|
+
border: 1px solid var(--vscode-widget-border, transparent);
|
|
851
|
+
border-radius: 4px;
|
|
852
|
+
color: var(--vscode-button-foreground);
|
|
853
|
+
background-color: var(--vscode-button-background);
|
|
854
|
+
overflow: hidden;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.post-edit-widget .monaco-button {
|
|
858
|
+
padding: 2px;
|
|
859
|
+
border: none;
|
|
860
|
+
border-radius: 0;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.post-edit-widget .monaco-button:hover {
|
|
864
|
+
background-color: var(--vscode-button-hoverBackground) !important;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.post-edit-widget .monaco-button .codicon {
|
|
868
|
+
margin: 0;
|
|
869
|
+
}
|
|
870
|
+
/*---------------------------------------------------------------------------------------------
|
|
871
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
872
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
873
|
+
*--------------------------------------------------------------------------------------------*/
|
|
874
|
+
|
|
875
|
+
@font-face {
|
|
876
|
+
font-family: "codicon";
|
|
877
|
+
font-display: block;
|
|
878
|
+
src: url(./codicon-DF1abBS2.ttf) format("truetype");
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
.codicon[class*='codicon-'] {
|
|
882
|
+
font: normal normal normal 16px/1 codicon;
|
|
883
|
+
display: inline-block;
|
|
884
|
+
text-decoration: none;
|
|
885
|
+
text-rendering: auto;
|
|
886
|
+
text-align: center;
|
|
887
|
+
text-transform: none;
|
|
888
|
+
-webkit-font-smoothing: antialiased;
|
|
889
|
+
-moz-osx-font-smoothing: grayscale;
|
|
890
|
+
user-select: none;
|
|
891
|
+
-webkit-user-select: none;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/* icon rules are dynamically created by the platform theme service (see iconsStyleSheet.ts) */
|
|
895
|
+
/*---------------------------------------------------------------------------------------------
|
|
896
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
897
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
898
|
+
*--------------------------------------------------------------------------------------------*/
|
|
899
|
+
|
|
900
|
+
.codicon-wrench-subaction {
|
|
901
|
+
opacity: 0.5;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
@keyframes codicon-spin {
|
|
905
|
+
100% {
|
|
906
|
+
transform:rotate(360deg);
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
.codicon-sync.codicon-modifier-spin,
|
|
911
|
+
.codicon-loading.codicon-modifier-spin,
|
|
912
|
+
.codicon-gear.codicon-modifier-spin,
|
|
913
|
+
.codicon-notebook-state-executing.codicon-modifier-spin,
|
|
914
|
+
.codicon-loading,
|
|
915
|
+
.codicon-tree-item-loading::before {
|
|
916
|
+
/* Use steps to throttle FPS to reduce CPU usage */
|
|
917
|
+
animation: codicon-spin 1.5s steps(30) infinite;
|
|
918
|
+
/* Ensure rotation happens around exact center to prevent wobble */
|
|
919
|
+
transform-origin: center center;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.codicon-modifier-disabled {
|
|
923
|
+
opacity: 0.4;
|
|
924
|
+
}
|
|
925
|
+
/*---------------------------------------------------------------------------------------------
|
|
926
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
927
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
928
|
+
*--------------------------------------------------------------------------------------------*/
|
|
929
|
+
|
|
930
|
+
/* stylelint-disable layer-checker */
|
|
931
|
+
|
|
932
|
+
.monaco-editor .codicon.codicon-symbol-array,
|
|
933
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-array { color: var(--vscode-symbolIcon-arrayForeground); }
|
|
934
|
+
.monaco-editor .codicon.codicon-symbol-boolean,
|
|
935
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-boolean { color: var(--vscode-symbolIcon-booleanForeground); }
|
|
936
|
+
.monaco-editor .codicon.codicon-symbol-class,
|
|
937
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-class { color: var(--vscode-symbolIcon-classForeground); }
|
|
938
|
+
.monaco-editor .codicon.codicon-symbol-method,
|
|
939
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-method { color: var(--vscode-symbolIcon-methodForeground); }
|
|
940
|
+
.monaco-editor .codicon.codicon-symbol-color,
|
|
941
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-color { color: var(--vscode-symbolIcon-colorForeground); }
|
|
942
|
+
.monaco-editor .codicon.codicon-symbol-constant,
|
|
943
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-constant { color: var(--vscode-symbolIcon-constantForeground); }
|
|
944
|
+
.monaco-editor .codicon.codicon-symbol-constructor,
|
|
945
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-constructor { color: var(--vscode-symbolIcon-constructorForeground); }
|
|
946
|
+
.monaco-editor .codicon.codicon-symbol-value,
|
|
947
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-value,
|
|
948
|
+
.monaco-editor .codicon.codicon-symbol-enum,
|
|
949
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-enum { color: var(--vscode-symbolIcon-enumeratorForeground); }
|
|
950
|
+
.monaco-editor .codicon.codicon-symbol-enum-member,
|
|
951
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-enum-member { color: var(--vscode-symbolIcon-enumeratorMemberForeground); }
|
|
952
|
+
.monaco-editor .codicon.codicon-symbol-event,
|
|
953
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-event { color: var(--vscode-symbolIcon-eventForeground); }
|
|
954
|
+
.monaco-editor .codicon.codicon-symbol-field,
|
|
955
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-field { color: var(--vscode-symbolIcon-fieldForeground); }
|
|
956
|
+
.monaco-editor .codicon.codicon-symbol-file,
|
|
957
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-file { color: var(--vscode-symbolIcon-fileForeground); }
|
|
958
|
+
.monaco-editor .codicon.codicon-symbol-folder,
|
|
959
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-folder { color: var(--vscode-symbolIcon-folderForeground); }
|
|
960
|
+
.monaco-editor .codicon.codicon-symbol-function,
|
|
961
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-function { color: var(--vscode-symbolIcon-functionForeground); }
|
|
962
|
+
.monaco-editor .codicon.codicon-symbol-interface,
|
|
963
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-interface { color: var(--vscode-symbolIcon-interfaceForeground); }
|
|
964
|
+
.monaco-editor .codicon.codicon-symbol-key,
|
|
965
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-key { color: var(--vscode-symbolIcon-keyForeground); }
|
|
966
|
+
.monaco-editor .codicon.codicon-symbol-keyword,
|
|
967
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-keyword { color: var(--vscode-symbolIcon-keywordForeground); }
|
|
968
|
+
.monaco-editor .codicon.codicon-symbol-module,
|
|
969
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-module { color: var(--vscode-symbolIcon-moduleForeground); }
|
|
970
|
+
.monaco-editor .codicon.codicon-symbol-namespace,
|
|
971
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-namespace { color: var(--vscode-symbolIcon-namespaceForeground); }
|
|
972
|
+
.monaco-editor .codicon.codicon-symbol-null,
|
|
973
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-null { color: var(--vscode-symbolIcon-nullForeground); }
|
|
974
|
+
.monaco-editor .codicon.codicon-symbol-number,
|
|
975
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-number { color: var(--vscode-symbolIcon-numberForeground); }
|
|
976
|
+
.monaco-editor .codicon.codicon-symbol-object,
|
|
977
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-object { color: var(--vscode-symbolIcon-objectForeground); }
|
|
978
|
+
.monaco-editor .codicon.codicon-symbol-operator,
|
|
979
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-operator { color: var(--vscode-symbolIcon-operatorForeground); }
|
|
980
|
+
.monaco-editor .codicon.codicon-symbol-package,
|
|
981
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-package { color: var(--vscode-symbolIcon-packageForeground); }
|
|
982
|
+
.monaco-editor .codicon.codicon-symbol-property,
|
|
983
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-property { color: var(--vscode-symbolIcon-propertyForeground); }
|
|
984
|
+
.monaco-editor .codicon.codicon-symbol-reference,
|
|
985
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-reference { color: var(--vscode-symbolIcon-referenceForeground); }
|
|
986
|
+
.monaco-editor .codicon.codicon-symbol-snippet,
|
|
987
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-snippet { color: var(--vscode-symbolIcon-snippetForeground); }
|
|
988
|
+
.monaco-editor .codicon.codicon-symbol-string,
|
|
989
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-string { color: var(--vscode-symbolIcon-stringForeground); }
|
|
990
|
+
.monaco-editor .codicon.codicon-symbol-struct,
|
|
991
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-struct { color: var(--vscode-symbolIcon-structForeground); }
|
|
992
|
+
.monaco-editor .codicon.codicon-symbol-text,
|
|
993
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-text { color: var(--vscode-symbolIcon-textForeground); }
|
|
994
|
+
.monaco-editor .codicon.codicon-symbol-type-parameter,
|
|
995
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-type-parameter { color: var(--vscode-symbolIcon-typeParameterForeground); }
|
|
996
|
+
.monaco-editor .codicon.codicon-symbol-unit,
|
|
997
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-unit { color: var(--vscode-symbolIcon-unitForeground); }
|
|
998
|
+
.monaco-editor .codicon.codicon-symbol-variable,
|
|
999
|
+
.monaco-workbench .codicon-colored.codicon.codicon-symbol-variable { color: var(--vscode-symbolIcon-variableForeground); }
|
|
1000
|
+
/*---------------------------------------------------------------------------------------------
|
|
1001
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1002
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1003
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1004
|
+
|
|
1005
|
+
.monaco-editor .lightBulbWidget {
|
|
1006
|
+
display: flex;
|
|
1007
|
+
align-items: center;
|
|
1008
|
+
justify-content: center;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.monaco-editor .lightBulbWidget:hover{
|
|
1012
|
+
cursor: pointer;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.monaco-editor .lightBulbWidget.codicon-light-bulb,
|
|
1016
|
+
.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle {
|
|
1017
|
+
color: var(--vscode-editorLightBulb-foreground);
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix,
|
|
1021
|
+
.monaco-editor .lightBulbWidget.codicon-lightbulb-sparkle-autofix {
|
|
1022
|
+
color: var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground));
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
.monaco-editor .lightBulbWidget.codicon-sparkle-filled {
|
|
1026
|
+
color: var(--vscode-editorLightBulbAi-foreground, var(--vscode-icon-foreground));
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
.monaco-editor .lightBulbWidget:before {
|
|
1030
|
+
position: relative;
|
|
1031
|
+
z-index: 2;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
.monaco-editor .lightBulbWidget:after {
|
|
1035
|
+
position: absolute;
|
|
1036
|
+
top: 0;
|
|
1037
|
+
left: 0;
|
|
1038
|
+
content: '';
|
|
1039
|
+
display: block;
|
|
1040
|
+
width: 100%;
|
|
1041
|
+
height: 100%;
|
|
1042
|
+
opacity: 0.3;
|
|
1043
|
+
z-index: 1;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
/* gutter decoration */
|
|
1047
|
+
.monaco-editor .glyph-margin-widgets .cgmr[class*="codicon-gutter-lightbulb"] {
|
|
1048
|
+
display: block;
|
|
1049
|
+
cursor: pointer;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb,
|
|
1053
|
+
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-sparkle {
|
|
1054
|
+
color: var(--vscode-editorLightBulb-foreground);
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-auto-fix,
|
|
1058
|
+
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-aifix-auto-fix {
|
|
1059
|
+
color: var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground));
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.monaco-editor .glyph-margin-widgets .cgmr.codicon-gutter-lightbulb-sparkle-filled {
|
|
1063
|
+
color: var(--vscode-editorLightBulbAi-foreground, var(--vscode-icon-foreground));
|
|
1064
|
+
}
|
|
1065
|
+
/*---------------------------------------------------------------------------------------------
|
|
1066
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1067
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1068
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1069
|
+
|
|
1070
|
+
.monaco-editor .codelens-decoration {
|
|
1071
|
+
overflow: hidden;
|
|
1072
|
+
display: inline-flex !important; /* !important to override inline display:block style */
|
|
1073
|
+
align-items: center;
|
|
1074
|
+
text-overflow: ellipsis;
|
|
1075
|
+
white-space: nowrap;
|
|
1076
|
+
color: var(--vscode-editorCodeLens-foreground);
|
|
1077
|
+
line-height: var(--vscode-editorCodeLens-lineHeight);
|
|
1078
|
+
font-size: var(--vscode-editorCodeLens-fontSize);
|
|
1079
|
+
padding-right: calc(var(--vscode-editorCodeLens-fontSize)*0.5);
|
|
1080
|
+
font-feature-settings: var(--vscode-editorCodeLens-fontFeatureSettings);
|
|
1081
|
+
font-family: var(--vscode-editorCodeLens-fontFamily), var(--vscode-editorCodeLens-fontFamilyDefault);
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.monaco-editor .codelens-decoration > span,
|
|
1085
|
+
.monaco-editor .codelens-decoration > a {
|
|
1086
|
+
user-select: none;
|
|
1087
|
+
-webkit-user-select: none;
|
|
1088
|
+
white-space: nowrap;
|
|
1089
|
+
vertical-align: sub;
|
|
1090
|
+
display: inline-flex;
|
|
1091
|
+
align-items: center;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.monaco-editor .codelens-decoration > a {
|
|
1095
|
+
text-decoration: none;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.monaco-editor .codelens-decoration > a:hover {
|
|
1099
|
+
cursor: pointer;
|
|
1100
|
+
color: var(--vscode-editorLink-activeForeground) !important;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
.monaco-editor .codelens-decoration > a:hover .codicon {
|
|
1104
|
+
color: var(--vscode-editorLink-activeForeground) !important;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
.monaco-editor .codelens-decoration .codicon[class*='codicon-'] {
|
|
1108
|
+
vertical-align: middle;
|
|
1109
|
+
color: currentColor !important;
|
|
1110
|
+
color: var(--vscode-editorCodeLens-foreground);
|
|
1111
|
+
line-height: var(--vscode-editorCodeLens-lineHeight);
|
|
1112
|
+
font-size: var(--vscode-editorCodeLens-fontSize);
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
.monaco-editor .codelens-decoration > a:hover .codicon::before {
|
|
1117
|
+
cursor: pointer;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
@keyframes fadein {
|
|
1121
|
+
0% { opacity: 0;}
|
|
1122
|
+
100% { opacity: 1;}
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.monaco-editor .codelens-decoration.fadein {
|
|
1126
|
+
animation: fadein 0.1s linear;
|
|
1127
|
+
}
|
|
1128
|
+
/*---------------------------------------------------------------------------------------------
|
|
1129
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1130
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1131
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1132
|
+
.monaco-editor .inlineSuggestionsHints {
|
|
1133
|
+
padding: 4px;
|
|
1134
|
+
|
|
1135
|
+
.warningMessage p {
|
|
1136
|
+
margin: 0;
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.monaco-editor .inlineSuggestionsHints.withBorder {
|
|
1141
|
+
z-index: 39;
|
|
1142
|
+
color: var(--vscode-editorHoverWidget-foreground);
|
|
1143
|
+
background-color: var(--vscode-editorHoverWidget-background);
|
|
1144
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.monaco-editor .inlineSuggestionsHints a {
|
|
1148
|
+
color: var(--vscode-foreground) !important;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.monaco-editor .inlineSuggestionsHints a:hover {
|
|
1152
|
+
color: var(--vscode-foreground) !important;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
.monaco-editor .inlineSuggestionsHints .keybinding {
|
|
1156
|
+
display: flex;
|
|
1157
|
+
align-items: center;
|
|
1158
|
+
margin-left: 4px;
|
|
1159
|
+
opacity: 0.6;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key {
|
|
1163
|
+
font-size: 8px;
|
|
1164
|
+
padding: 2px 3px;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.monaco-editor .inlineSuggestionsHints .availableSuggestionCount a {
|
|
1168
|
+
display: flex;
|
|
1169
|
+
min-width: 19px;
|
|
1170
|
+
justify-content: center;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
.monaco-editor .inlineSuggestionStatusBarItemLabel {
|
|
1174
|
+
align-items: center;
|
|
1175
|
+
margin-right: 2px;
|
|
1176
|
+
}
|
|
1177
|
+
/*---------------------------------------------------------------------------------------------
|
|
1178
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1179
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1180
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1181
|
+
|
|
1182
|
+
/* Find widget */
|
|
1183
|
+
.monaco-editor .find-widget {
|
|
1184
|
+
position: absolute;
|
|
1185
|
+
z-index: 35;
|
|
1186
|
+
height: 34px;
|
|
1187
|
+
overflow: hidden;
|
|
1188
|
+
line-height: 19px;
|
|
1189
|
+
transition: transform 200ms linear;
|
|
1190
|
+
padding: 0 4px 0 9px;
|
|
1191
|
+
margin-top: 4px;
|
|
1192
|
+
box-sizing: border-box;
|
|
1193
|
+
transform: translateY(calc(-100% - 10px)); /* shadow (10px) */
|
|
1194
|
+
box-shadow: var(--vscode-shadow-lg);
|
|
1195
|
+
color: var(--vscode-editorWidget-foreground);
|
|
1196
|
+
border: 1px solid var(--vscode-widget-border);
|
|
1197
|
+
border-radius: var(--vscode-cornerRadius-large);
|
|
1198
|
+
background-color: var(--vscode-editorWidget-background);
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.monaco-reduce-motion .monaco-editor .find-widget {
|
|
1202
|
+
transition: transform 0ms linear;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
.monaco-editor .find-widget textarea {
|
|
1206
|
+
margin: 0px;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.monaco-editor .find-widget.hiddenEditor {
|
|
1210
|
+
display: none;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/* Find widget when replace is toggled on */
|
|
1214
|
+
.monaco-editor .find-widget.replaceToggled > .replace-part {
|
|
1215
|
+
display: flex;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
.monaco-editor .find-widget.visible {
|
|
1219
|
+
transform: translateY(0);
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
/* This outline-color rule is used to override the outline color for synthetic-focus find input. */
|
|
1223
|
+
.monaco-editor .find-widget .monaco-inputbox.synthetic-focus {
|
|
1224
|
+
outline: 1px solid -webkit-focus-ring-color;
|
|
1225
|
+
outline-offset: -1px;
|
|
1226
|
+
outline-color: var(--vscode-focusBorder);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.monaco-editor .find-widget .monaco-inputbox .input {
|
|
1230
|
+
background-color: transparent;
|
|
1231
|
+
min-height: 0;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
.monaco-editor .find-widget .monaco-findInput .input {
|
|
1235
|
+
font-size: 13px;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.monaco-editor .find-widget > .find-part,
|
|
1239
|
+
.monaco-editor .find-widget > .replace-part {
|
|
1240
|
+
margin: 3px 25px 0 17px;
|
|
1241
|
+
font-size: 12px;
|
|
1242
|
+
display: flex;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
.monaco-editor .find-widget > .find-part .monaco-inputbox,
|
|
1246
|
+
.monaco-editor .find-widget > .replace-part .monaco-inputbox {
|
|
1247
|
+
min-height: 25px;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {
|
|
1252
|
+
padding-right: 22px;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
.monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .input,
|
|
1256
|
+
.monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .mirror,
|
|
1257
|
+
.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .input,
|
|
1258
|
+
.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {
|
|
1259
|
+
padding-top: 2px;
|
|
1260
|
+
padding-bottom: 2px;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
.monaco-editor .find-widget > .find-part .find-actions {
|
|
1264
|
+
height: 25px;
|
|
1265
|
+
display: flex;
|
|
1266
|
+
align-items: center;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
.monaco-editor .find-widget > .replace-part .replace-actions {
|
|
1270
|
+
height: 25px;
|
|
1271
|
+
display: flex;
|
|
1272
|
+
align-items: center;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
.monaco-editor .find-widget .monaco-findInput {
|
|
1276
|
+
vertical-align: middle;
|
|
1277
|
+
display: flex;
|
|
1278
|
+
flex: 1;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element {
|
|
1282
|
+
/* Make sure textarea inherits the width correctly */
|
|
1283
|
+
width: 100%;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical {
|
|
1287
|
+
/* Hide vertical scrollbar */
|
|
1288
|
+
opacity: 0;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
.monaco-editor .find-widget .matchesCount {
|
|
1292
|
+
display: flex;
|
|
1293
|
+
flex: initial;
|
|
1294
|
+
margin: 0 0 0 3px;
|
|
1295
|
+
padding: 2px 0 0 2px;
|
|
1296
|
+
height: 25px;
|
|
1297
|
+
vertical-align: middle;
|
|
1298
|
+
box-sizing: border-box;
|
|
1299
|
+
text-align: center;
|
|
1300
|
+
line-height: 23px;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
.monaco-editor .find-widget .button {
|
|
1304
|
+
width: 16px;
|
|
1305
|
+
height: 16px;
|
|
1306
|
+
padding: 3px;
|
|
1307
|
+
border-radius: 5px;
|
|
1308
|
+
display: flex;
|
|
1309
|
+
flex: initial;
|
|
1310
|
+
margin-left: 3px;
|
|
1311
|
+
background-position: center center;
|
|
1312
|
+
background-repeat: no-repeat;
|
|
1313
|
+
cursor: pointer;
|
|
1314
|
+
display: flex;
|
|
1315
|
+
align-items: center;
|
|
1316
|
+
justify-content: center;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/* find in selection button */
|
|
1320
|
+
.monaco-editor .find-widget .codicon-find-selection {
|
|
1321
|
+
width: 22px;
|
|
1322
|
+
height: 22px;
|
|
1323
|
+
padding: 3px;
|
|
1324
|
+
border-radius: 5px;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
.monaco-editor .find-widget .button.left {
|
|
1328
|
+
margin: 4px 0 4px 5px;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
.monaco-editor .find-widget .button.wide {
|
|
1332
|
+
width: auto;
|
|
1333
|
+
padding: 1px 6px;
|
|
1334
|
+
top: -1px;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
.monaco-editor .find-widget .button.toggle {
|
|
1338
|
+
position: absolute;
|
|
1339
|
+
top: 0;
|
|
1340
|
+
left: 0;
|
|
1341
|
+
width: 18px;
|
|
1342
|
+
height: -webkit-fill-available;
|
|
1343
|
+
border-radius: var(--vscode-cornerRadius-small);
|
|
1344
|
+
box-sizing: border-box;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
.monaco-editor .find-widget .button.toggle.disabled {
|
|
1348
|
+
display: none;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
.monaco-editor .find-widget .disabled {
|
|
1352
|
+
color: var(--vscode-disabledForeground);
|
|
1353
|
+
cursor: default;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
.monaco-editor .find-widget > .replace-part {
|
|
1357
|
+
display: none;
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
.monaco-editor .find-widget > .replace-part > .monaco-findInput {
|
|
1361
|
+
position: relative;
|
|
1362
|
+
display: flex;
|
|
1363
|
+
vertical-align: middle;
|
|
1364
|
+
flex: auto;
|
|
1365
|
+
flex-grow: 0;
|
|
1366
|
+
flex-shrink: 0;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
.monaco-editor .find-widget > .replace-part > .monaco-findInput > .controls {
|
|
1370
|
+
position: absolute;
|
|
1371
|
+
top: 3px;
|
|
1372
|
+
right: 2px;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
/* REDUCED */
|
|
1376
|
+
.monaco-editor .find-widget.reduced-find-widget .matchesCount {
|
|
1377
|
+
display: none;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
/* NARROW (SMALLER THAN REDUCED) */
|
|
1381
|
+
.monaco-editor .find-widget.narrow-find-widget {
|
|
1382
|
+
max-width: 257px !important;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/* COLLAPSED (SMALLER THAN NARROW) */
|
|
1386
|
+
.monaco-editor .find-widget.collapsed-find-widget {
|
|
1387
|
+
max-width: 170px !important;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
.monaco-editor .find-widget.collapsed-find-widget .button.previous,
|
|
1391
|
+
.monaco-editor .find-widget.collapsed-find-widget .button.next,
|
|
1392
|
+
.monaco-editor .find-widget.collapsed-find-widget .button.replace,
|
|
1393
|
+
.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,
|
|
1394
|
+
.monaco-editor .find-widget.collapsed-find-widget > .find-part .monaco-findInput .controls {
|
|
1395
|
+
display: none;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
.monaco-editor .find-widget.no-results .matchesCount {
|
|
1399
|
+
color: var(--vscode-errorForeground);
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
.monaco-editor .findMatch {
|
|
1403
|
+
animation-duration: 0;
|
|
1404
|
+
animation-name: inherit !important;
|
|
1405
|
+
background-color: var(--vscode-editor-findMatchHighlightBackground);
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
.monaco-editor .currentFindMatch {
|
|
1409
|
+
background-color: var(--vscode-editor-findMatchBackground);
|
|
1410
|
+
border: 2px solid var(--vscode-editor-findMatchBorder);
|
|
1411
|
+
padding: 1px;
|
|
1412
|
+
box-sizing: border-box;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
.monaco-editor .findScope {
|
|
1416
|
+
background-color: var(--vscode-editor-findRangeHighlightBackground);
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
.monaco-editor .find-widget .monaco-sash {
|
|
1420
|
+
left: 0 !important;
|
|
1421
|
+
background-color: var(--vscode-editorWidget-resizeBorder, var(--vscode-editorWidget-border));
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
.monaco-editor.hc-black .find-widget .button:before {
|
|
1425
|
+
position: relative;
|
|
1426
|
+
top: 1px;
|
|
1427
|
+
left: 2px;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
/* Action bars */
|
|
1431
|
+
.monaco-editor .find-widget .button:not(.disabled):hover,
|
|
1432
|
+
.monaco-editor .find-widget .codicon-find-selection:hover {
|
|
1433
|
+
background-color: var(--vscode-toolbar-hoverBackground) !important;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
.monaco-editor.findMatch {
|
|
1437
|
+
background-color: var(--vscode-editor-findMatchHighlightBackground);
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
.monaco-editor.currentFindMatch {
|
|
1441
|
+
background-color: var(--vscode-editor-findMatchBackground);
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
.monaco-editor.findScope {
|
|
1445
|
+
background-color: var(--vscode-editor-findRangeHighlightBackground);
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
.monaco-editor.findMatch {
|
|
1449
|
+
background-color: var(--vscode-editorWidget-background);
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/* Close button position. */
|
|
1453
|
+
.monaco-editor .find-widget > .button.codicon-widget-close {
|
|
1454
|
+
position: absolute;
|
|
1455
|
+
top: 5px;
|
|
1456
|
+
right: 4px;
|
|
1457
|
+
}
|
|
1458
|
+
/*---------------------------------------------------------------------------------------------
|
|
1459
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1460
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1461
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1462
|
+
|
|
1463
|
+
.colorpicker-widget {
|
|
1464
|
+
height: 190px;
|
|
1465
|
+
user-select: none;
|
|
1466
|
+
-webkit-user-select: none;
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
/* Decoration */
|
|
1470
|
+
|
|
1471
|
+
.colorpicker-color-decoration,
|
|
1472
|
+
.hc-light .colorpicker-color-decoration {
|
|
1473
|
+
border: solid 0.1em #000;
|
|
1474
|
+
box-sizing: border-box;
|
|
1475
|
+
margin: 0.1em var(--vscode-colorPicker-colorDecoratorMargin) 0;
|
|
1476
|
+
width: var(--vscode-colorPicker-colorDecoratorWidth);
|
|
1477
|
+
height: 0.8em;
|
|
1478
|
+
line-height: 0.8em;
|
|
1479
|
+
display: inline-block;
|
|
1480
|
+
cursor: pointer;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
.hc-black .colorpicker-color-decoration,
|
|
1484
|
+
.vs-dark .colorpicker-color-decoration {
|
|
1485
|
+
border: solid 0.1em #eee;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
/* Header */
|
|
1489
|
+
|
|
1490
|
+
.colorpicker-header {
|
|
1491
|
+
display: flex;
|
|
1492
|
+
height: 24px;
|
|
1493
|
+
position: relative;
|
|
1494
|
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");
|
|
1495
|
+
background-size: 9px 9px;
|
|
1496
|
+
image-rendering: pixelated;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
.colorpicker-header .picked-color {
|
|
1500
|
+
width: 240px;
|
|
1501
|
+
display: flex;
|
|
1502
|
+
align-items: center;
|
|
1503
|
+
justify-content: center;
|
|
1504
|
+
line-height: 24px;
|
|
1505
|
+
cursor: pointer;
|
|
1506
|
+
color: white;
|
|
1507
|
+
flex: 1;
|
|
1508
|
+
white-space: nowrap;
|
|
1509
|
+
overflow: hidden;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
.colorpicker-header .picked-color .picked-color-presentation {
|
|
1513
|
+
white-space: nowrap;
|
|
1514
|
+
margin-left: 5px;
|
|
1515
|
+
margin-right: 5px;
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
.colorpicker-header .picked-color .codicon {
|
|
1519
|
+
color: inherit;
|
|
1520
|
+
font-size: 14px;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
.colorpicker-header .picked-color.light {
|
|
1524
|
+
color: black;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
.colorpicker-header .original-color {
|
|
1528
|
+
width: 74px;
|
|
1529
|
+
z-index: inherit;
|
|
1530
|
+
cursor: pointer;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
.standalone-colorpicker {
|
|
1534
|
+
color: var(--vscode-editorHoverWidget-foreground);
|
|
1535
|
+
background-color: var(--vscode-editorHoverWidget-background);
|
|
1536
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
.colorpicker-header.standalone-colorpicker {
|
|
1540
|
+
border-bottom: none;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
.colorpicker-header .close-button {
|
|
1544
|
+
cursor: pointer;
|
|
1545
|
+
background-color: var(--vscode-editorHoverWidget-background);
|
|
1546
|
+
border-left: 1px solid var(--vscode-editorHoverWidget-border);
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
.colorpicker-header .close-button-inner-div {
|
|
1550
|
+
width: 100%;
|
|
1551
|
+
height: 100%;
|
|
1552
|
+
text-align: center;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
.colorpicker-header .close-button-inner-div:hover {
|
|
1556
|
+
background-color: var(--vscode-toolbar-hoverBackground);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
.colorpicker-header .close-icon {
|
|
1560
|
+
padding: 3px;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/* Body */
|
|
1564
|
+
|
|
1565
|
+
.colorpicker-body {
|
|
1566
|
+
display: flex;
|
|
1567
|
+
padding: 8px;
|
|
1568
|
+
position: relative;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
.colorpicker-body .saturation-wrap {
|
|
1572
|
+
overflow: hidden;
|
|
1573
|
+
height: 150px;
|
|
1574
|
+
position: relative;
|
|
1575
|
+
min-width: 220px;
|
|
1576
|
+
flex: 1;
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
.colorpicker-body .saturation-box {
|
|
1580
|
+
height: 150px;
|
|
1581
|
+
position: absolute;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
.colorpicker-body .saturation-selection {
|
|
1585
|
+
width: 9px;
|
|
1586
|
+
height: 9px;
|
|
1587
|
+
margin: -5px 0 0 -5px;
|
|
1588
|
+
border: 1px solid rgb(255, 255, 255);
|
|
1589
|
+
border-radius: 100%;
|
|
1590
|
+
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);
|
|
1591
|
+
position: absolute;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
.colorpicker-body .strip {
|
|
1595
|
+
width: 25px;
|
|
1596
|
+
height: 150px;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
.colorpicker-body .standalone-strip {
|
|
1600
|
+
width: 25px;
|
|
1601
|
+
height: 122px;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
.colorpicker-body .hue-strip {
|
|
1605
|
+
position: relative;
|
|
1606
|
+
margin-left: 8px;
|
|
1607
|
+
cursor: grab;
|
|
1608
|
+
background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
.colorpicker-body .opacity-strip {
|
|
1612
|
+
position: relative;
|
|
1613
|
+
margin-left: 8px;
|
|
1614
|
+
cursor: grab;
|
|
1615
|
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");
|
|
1616
|
+
background-size: 9px 9px;
|
|
1617
|
+
image-rendering: pixelated;
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
.colorpicker-body .strip.grabbing {
|
|
1621
|
+
cursor: grabbing;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
.colorpicker-body .slider {
|
|
1625
|
+
position: absolute;
|
|
1626
|
+
top: 0;
|
|
1627
|
+
left: -2px;
|
|
1628
|
+
width: calc(100% + 4px);
|
|
1629
|
+
height: 4px;
|
|
1630
|
+
box-sizing: border-box;
|
|
1631
|
+
border: 1px solid rgba(255, 255, 255, 0.71);
|
|
1632
|
+
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.85);
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
.colorpicker-body .strip .overlay {
|
|
1636
|
+
height: 150px;
|
|
1637
|
+
pointer-events: none;
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
.colorpicker-body .standalone-strip .standalone-overlay {
|
|
1641
|
+
height: 122px;
|
|
1642
|
+
pointer-events: none;
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
.standalone-colorpicker-body {
|
|
1646
|
+
display: block;
|
|
1647
|
+
border: 1px solid transparent;
|
|
1648
|
+
border-bottom: 1px solid var(--vscode-editorHoverWidget-border);
|
|
1649
|
+
overflow: hidden;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
.colorpicker-body .insert-button {
|
|
1653
|
+
position: absolute;
|
|
1654
|
+
height: 20px;
|
|
1655
|
+
width: 58px;
|
|
1656
|
+
padding: 0px;
|
|
1657
|
+
right: 8px;
|
|
1658
|
+
bottom: 8px;
|
|
1659
|
+
background: var(--vscode-button-background);
|
|
1660
|
+
color: var(--vscode-button-foreground);
|
|
1661
|
+
border-radius: 2px;
|
|
1662
|
+
border: none;
|
|
1663
|
+
cursor: pointer;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
.colorpicker-body .insert-button:hover {
|
|
1667
|
+
background: var(--vscode-button-hoverBackground);
|
|
1668
|
+
}
|
|
1669
|
+
/*---------------------------------------------------------------------------------------------
|
|
1670
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1671
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1672
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1673
|
+
|
|
1674
|
+
.monaco-editor .peekview-widget {
|
|
1675
|
+
box-shadow: var(--vscode-shadow-lg);
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
.monaco-editor .peekview-widget .head {
|
|
1679
|
+
box-sizing: border-box;
|
|
1680
|
+
display: flex;
|
|
1681
|
+
justify-content: space-between;
|
|
1682
|
+
flex-wrap: nowrap;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
.monaco-editor .peekview-widget .head .peekview-title {
|
|
1686
|
+
display: flex;
|
|
1687
|
+
align-items: baseline;
|
|
1688
|
+
font-size: 13px;
|
|
1689
|
+
margin-left: 20px;
|
|
1690
|
+
min-width: 0;
|
|
1691
|
+
text-overflow: ellipsis;
|
|
1692
|
+
overflow: hidden;
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
.monaco-editor .peekview-widget .head .peekview-title.clickable {
|
|
1696
|
+
cursor: pointer;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty) {
|
|
1700
|
+
font-size: 0.9em;
|
|
1701
|
+
margin-left: 0.5em;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
.monaco-editor .peekview-widget .head .peekview-title .meta {
|
|
1705
|
+
white-space: nowrap;
|
|
1706
|
+
overflow: hidden;
|
|
1707
|
+
text-overflow: ellipsis;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
.monaco-editor .peekview-widget .head .peekview-title .dirname {
|
|
1711
|
+
overflow: hidden;
|
|
1712
|
+
text-overflow: ellipsis;
|
|
1713
|
+
white-space: nowrap;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
.monaco-editor .peekview-widget .head .peekview-title .filename {
|
|
1717
|
+
overflow: hidden;
|
|
1718
|
+
text-overflow: ellipsis;
|
|
1719
|
+
white-space: nowrap;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty)::before {
|
|
1723
|
+
content: '-';
|
|
1724
|
+
padding: 0 0.3em;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
.monaco-editor .peekview-widget .head .peekview-actions {
|
|
1728
|
+
flex: 1;
|
|
1729
|
+
text-align: right;
|
|
1730
|
+
padding-right: 2px;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar {
|
|
1734
|
+
display: inline-block;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar,
|
|
1738
|
+
.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar > .actions-container {
|
|
1739
|
+
height: 100%;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
.monaco-editor .peekview-widget > .body {
|
|
1743
|
+
border-top: 1px solid;
|
|
1744
|
+
position: relative;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
.monaco-editor .peekview-widget .head .peekview-title .codicon {
|
|
1748
|
+
margin-right: 4px;
|
|
1749
|
+
align-self: center;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon {
|
|
1753
|
+
color: inherit !important;
|
|
1754
|
+
}
|
|
1755
|
+
/*---------------------------------------------------------------------------------------------
|
|
1756
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1757
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1758
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1759
|
+
.monaco-editor .zone-widget {
|
|
1760
|
+
position: absolute;
|
|
1761
|
+
z-index: 10;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
.monaco-editor .zone-widget .zone-widget-container {
|
|
1766
|
+
border-top-style: solid;
|
|
1767
|
+
border-bottom-style: solid;
|
|
1768
|
+
border-top-width: 0;
|
|
1769
|
+
border-bottom-width: 0;
|
|
1770
|
+
position: relative;
|
|
1771
|
+
}
|
|
1772
|
+
/*---------------------------------------------------------------------------------------------
|
|
1773
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1774
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1775
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1776
|
+
|
|
1777
|
+
/* -- zone widget */
|
|
1778
|
+
.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget {
|
|
1779
|
+
border-top-width: 1px;
|
|
1780
|
+
border-bottom-width: 1px;
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
.monaco-editor .reference-zone-widget .inline {
|
|
1784
|
+
display: inline-block;
|
|
1785
|
+
vertical-align: top;
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
.monaco-editor .reference-zone-widget .messages {
|
|
1789
|
+
height: 100%;
|
|
1790
|
+
width: 100%;
|
|
1791
|
+
text-align: center;
|
|
1792
|
+
padding: 3em 0;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
.monaco-editor .reference-zone-widget .ref-tree {
|
|
1796
|
+
line-height: 23px;
|
|
1797
|
+
background-color: var(--vscode-peekViewResult-background);
|
|
1798
|
+
color: var(--vscode-peekViewResult-lineForeground);
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
.monaco-editor .reference-zone-widget .ref-tree .reference {
|
|
1802
|
+
text-overflow: ellipsis;
|
|
1803
|
+
overflow: hidden;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
.monaco-editor .reference-zone-widget .ref-tree .reference-file {
|
|
1807
|
+
display: inline-flex;
|
|
1808
|
+
width: 100%;
|
|
1809
|
+
height: 100%;
|
|
1810
|
+
color: var(--vscode-peekViewResult-fileForeground);
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file {
|
|
1814
|
+
color: inherit !important;
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) {
|
|
1818
|
+
background-color: var(--vscode-peekViewResult-selectionBackground);
|
|
1819
|
+
color: var(--vscode-peekViewResult-selectionForeground) !important;
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
.monaco-editor .reference-zone-widget .ref-tree .reference-file .count {
|
|
1823
|
+
margin-right: 12px;
|
|
1824
|
+
margin-left: auto;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight {
|
|
1828
|
+
color: var(--vscode-peekViewResult-fileForeground) !important;
|
|
1829
|
+
background-color: var(--vscode-peekViewResult-matchHighlightBackground) !important;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
.monaco-editor .reference-zone-widget .preview .reference-decoration {
|
|
1833
|
+
background-color: var(--vscode-peekViewEditor-matchHighlightBackground);
|
|
1834
|
+
border: 2px solid var(--vscode-peekViewEditor-matchHighlightBorder);
|
|
1835
|
+
box-sizing: border-box;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,
|
|
1839
|
+
.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {
|
|
1840
|
+
background-color: var(--vscode-peekViewEditor-background);
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
.monaco-editor .reference-zone-widget .preview .monaco-editor .margin {
|
|
1844
|
+
background-color: var(--vscode-peekViewEditorGutter-background);
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
/* High Contrast Theming */
|
|
1848
|
+
|
|
1849
|
+
.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,
|
|
1850
|
+
.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file {
|
|
1851
|
+
font-weight: bold;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,
|
|
1855
|
+
.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight {
|
|
1856
|
+
border: 1px dotted var(--vscode-contrastActiveBorder, transparent);
|
|
1857
|
+
box-sizing: border-box;
|
|
1858
|
+
}
|
|
1859
|
+
/*---------------------------------------------------------------------------------------------
|
|
1860
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1861
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1862
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1863
|
+
|
|
1864
|
+
.monaco-editor .hoverHighlight {
|
|
1865
|
+
background-color: var(--vscode-editor-hoverHighlightBackground);
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
.monaco-editor .monaco-resizable-hover {
|
|
1869
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
1870
|
+
border-radius: var(--vscode-cornerRadius-large);
|
|
1871
|
+
box-sizing: content-box;
|
|
1872
|
+
background-color: var(--vscode-editorHoverWidget-background);
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
.monaco-editor .monaco-resizable-hover > .monaco-hover {
|
|
1876
|
+
border: none;
|
|
1877
|
+
border-radius: inherit;
|
|
1878
|
+
overflow: hidden;
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
.monaco-editor .monaco-hover {
|
|
1882
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
1883
|
+
border-radius: var(--vscode-cornerRadius-large);
|
|
1884
|
+
color: var(--vscode-editorHoverWidget-foreground);
|
|
1885
|
+
background-color: var(--vscode-editorHoverWidget-background);
|
|
1886
|
+
box-shadow: var(--vscode-shadow-lg);
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
.monaco-editor .monaco-hover a {
|
|
1890
|
+
color: var(--vscode-textLink-foreground);
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
.monaco-editor .monaco-hover a:hover {
|
|
1894
|
+
color: var(--vscode-textLink-activeForeground);
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
.monaco-editor .monaco-hover .hover-row {
|
|
1898
|
+
border-radius: var(--vscode-cornerRadius-large);
|
|
1899
|
+
display: flex;
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
.monaco-editor .monaco-hover .hover-row.hover-row-with-copy {
|
|
1903
|
+
position: relative;
|
|
1904
|
+
padding-right: 20px;
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
.monaco-editor .monaco-hover .hover-row .hover-row-contents {
|
|
1908
|
+
min-width: 0;
|
|
1909
|
+
display: flex;
|
|
1910
|
+
flex-direction: column;
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
.monaco-editor .monaco-hover .hover-row .verbosity-actions {
|
|
1914
|
+
border-right: 1px solid var(--vscode-editorHoverWidget-border);
|
|
1915
|
+
width: 22px;
|
|
1916
|
+
overflow-y: clip;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
.monaco-editor .monaco-hover .hover-row .verbosity-actions-inner {
|
|
1920
|
+
display: flex;
|
|
1921
|
+
flex-direction: column;
|
|
1922
|
+
padding-left: 5px;
|
|
1923
|
+
padding-right: 5px;
|
|
1924
|
+
justify-content: flex-end;
|
|
1925
|
+
position: relative;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
.monaco-editor .monaco-hover .hover-row .verbosity-actions-inner .codicon {
|
|
1929
|
+
cursor: pointer;
|
|
1930
|
+
font-size: 11px;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
.monaco-editor .monaco-hover .hover-row .verbosity-actions-inner .codicon.enabled {
|
|
1934
|
+
color: var(--vscode-textLink-foreground);
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
.monaco-editor .monaco-hover .hover-row .verbosity-actions-inner .codicon.disabled {
|
|
1938
|
+
opacity: 0.6;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
.monaco-editor .monaco-hover .hover-row .actions {
|
|
1942
|
+
background-color: var(--vscode-editorHoverWidget-statusBarBackground);
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
.monaco-editor .monaco-hover code {
|
|
1946
|
+
background-color: var(--vscode-textCodeBlock-background);
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
.monaco-editor .monaco-hover .hover-copy-button {
|
|
1950
|
+
position: absolute;
|
|
1951
|
+
top: 4px;
|
|
1952
|
+
right: 4px;
|
|
1953
|
+
padding: 2px 4px;
|
|
1954
|
+
border-radius: 3px;
|
|
1955
|
+
display: flex;
|
|
1956
|
+
align-items: center;
|
|
1957
|
+
justify-content: center;
|
|
1958
|
+
opacity: 0;
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
.monaco-editor .monaco-hover .hover-row-with-copy:hover .hover-copy-button,
|
|
1962
|
+
.monaco-editor .monaco-hover .hover-row-with-copy:focus-within .hover-copy-button {
|
|
1963
|
+
opacity: 1;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
.monaco-editor .monaco-hover .hover-copy-button:hover {
|
|
1967
|
+
background-color: var(--vscode-toolbar-hoverBackground);
|
|
1968
|
+
cursor: pointer;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
.monaco-editor .monaco-hover .hover-copy-button:focus {
|
|
1972
|
+
outline: 1px solid var(--vscode-focusBorder);
|
|
1973
|
+
outline-offset: -1px;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
.monaco-editor .monaco-hover .hover-copy-button .codicon {
|
|
1977
|
+
font-size: 16px;
|
|
1978
|
+
color: var(--vscode-foreground);
|
|
1979
|
+
}
|
|
1980
|
+
/*---------------------------------------------------------------------------------------------
|
|
1981
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1982
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1983
|
+
*--------------------------------------------------------------------------------------------*/
|
|
1984
|
+
|
|
1985
|
+
.monaco-editor.vs .dnd-target,
|
|
1986
|
+
.monaco-editor.hc-light .dnd-target {
|
|
1987
|
+
border-right: 2px dotted black;
|
|
1988
|
+
color: white; /* opposite of black */
|
|
1989
|
+
}
|
|
1990
|
+
.monaco-editor.vs-dark .dnd-target {
|
|
1991
|
+
border-right: 2px dotted #AEAFAD;
|
|
1992
|
+
color: #51504f; /* opposite of #AEAFAD */
|
|
1993
|
+
}
|
|
1994
|
+
.monaco-editor.hc-black .dnd-target {
|
|
1995
|
+
border-right: 2px dotted #fff;
|
|
1996
|
+
color: #000; /* opposite of #fff */
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
.monaco-editor.mouse-default .view-lines,
|
|
2000
|
+
.monaco-editor.vs-dark.mac.mouse-default .view-lines,
|
|
2001
|
+
.monaco-editor.hc-black.mac.mouse-default .view-lines,
|
|
2002
|
+
.monaco-editor.hc-light.mac.mouse-default .view-lines {
|
|
2003
|
+
cursor: default;
|
|
2004
|
+
}
|
|
2005
|
+
.monaco-editor.mouse-copy .view-lines,
|
|
2006
|
+
.monaco-editor.vs-dark.mac.mouse-copy .view-lines,
|
|
2007
|
+
.monaco-editor.hc-black.mac.mouse-copy .view-lines,
|
|
2008
|
+
.monaco-editor.hc-light.mac.mouse-copy .view-lines {
|
|
2009
|
+
cursor: copy;
|
|
2010
|
+
}
|
|
2011
|
+
/*---------------------------------------------------------------------------------------------
|
|
2012
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2013
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2014
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2015
|
+
|
|
2016
|
+
.monaco-editor .findOptionsWidget {
|
|
2017
|
+
background-color: var(--vscode-editorWidget-background);
|
|
2018
|
+
color: var(--vscode-editorWidget-foreground);
|
|
2019
|
+
box-shadow: var(--vscode-shadow-lg);
|
|
2020
|
+
border: 2px solid var(--vscode-contrastBorder);
|
|
2021
|
+
}
|
|
2022
|
+
/*---------------------------------------------------------------------------------------------
|
|
2023
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2024
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2025
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2026
|
+
.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,
|
|
2027
|
+
.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,
|
|
2028
|
+
.monaco-editor .margin-view-overlays .codicon-folding-expanded,
|
|
2029
|
+
.monaco-editor .margin-view-overlays .codicon-folding-collapsed {
|
|
2030
|
+
cursor: pointer;
|
|
2031
|
+
opacity: 0;
|
|
2032
|
+
transition: opacity 0.5s;
|
|
2033
|
+
display: flex;
|
|
2034
|
+
align-items: center;
|
|
2035
|
+
justify-content: center;
|
|
2036
|
+
font-size: 140%;
|
|
2037
|
+
margin-left: 2px;
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
.monaco-reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,
|
|
2041
|
+
.monaco-reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,
|
|
2042
|
+
.monaco-reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,
|
|
2043
|
+
.monaco-reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed {
|
|
2044
|
+
transition: initial;
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
.monaco-editor .margin-view-overlays:hover .codicon,
|
|
2048
|
+
.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,
|
|
2049
|
+
.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,
|
|
2050
|
+
.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {
|
|
2051
|
+
opacity: 1;
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
.monaco-editor .inline-folded:after {
|
|
2055
|
+
color: var(--vscode-editor-foldPlaceholderForeground);
|
|
2056
|
+
margin: 0.1em 0.2em 0 0.2em;
|
|
2057
|
+
content: "\22EF"; /* ellipses unicode character */
|
|
2058
|
+
display: inline;
|
|
2059
|
+
line-height: 1em;
|
|
2060
|
+
cursor: pointer;
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
.monaco-editor .folded-background {
|
|
2064
|
+
background-color: var(--vscode-editor-foldBackground);
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
.monaco-editor .cldr.codicon.codicon-folding-expanded,
|
|
2068
|
+
.monaco-editor .cldr.codicon.codicon-folding-collapsed,
|
|
2069
|
+
.monaco-editor .cldr.codicon.codicon-folding-manual-expanded,
|
|
2070
|
+
.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed {
|
|
2071
|
+
color: var(--vscode-editorGutter-foldingControlForeground) !important;
|
|
2072
|
+
}
|
|
2073
|
+
/*---------------------------------------------------------------------------------------------
|
|
2074
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2075
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2076
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2077
|
+
|
|
2078
|
+
/* marker zone */
|
|
2079
|
+
|
|
2080
|
+
.monaco-editor .peekview-widget .head .peekview-title .severity-icon {
|
|
2081
|
+
display: inline-block;
|
|
2082
|
+
vertical-align: text-top;
|
|
2083
|
+
margin-right: 4px;
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
.monaco-editor .marker-widget {
|
|
2087
|
+
text-overflow: ellipsis;
|
|
2088
|
+
white-space: nowrap;
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
.monaco-editor .marker-widget > .stale {
|
|
2092
|
+
opacity: 0.6;
|
|
2093
|
+
font-style: italic;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
.monaco-editor .marker-widget .title {
|
|
2097
|
+
display: inline-block;
|
|
2098
|
+
padding-right: 5px;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
.monaco-editor .marker-widget .descriptioncontainer {
|
|
2102
|
+
position: absolute;
|
|
2103
|
+
white-space: pre;
|
|
2104
|
+
user-select: text;
|
|
2105
|
+
-webkit-user-select: text;
|
|
2106
|
+
padding: 8px 12px 0 20px;
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
.monaco-editor .marker-widget .descriptioncontainer .message {
|
|
2110
|
+
display: flex;
|
|
2111
|
+
flex-direction: column;
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
.monaco-editor .marker-widget .descriptioncontainer .message .details {
|
|
2115
|
+
padding-left: 6px;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
.monaco-editor .marker-widget .descriptioncontainer .message .source,
|
|
2119
|
+
.monaco-editor .marker-widget .descriptioncontainer .message span.code {
|
|
2120
|
+
opacity: 0.6;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
.monaco-editor .marker-widget .descriptioncontainer .message a.code-link {
|
|
2124
|
+
opacity: 0.6;
|
|
2125
|
+
color: inherit;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before {
|
|
2129
|
+
content: '(';
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after {
|
|
2133
|
+
content: ')';
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
.monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {
|
|
2137
|
+
text-decoration: underline;
|
|
2138
|
+
/** Hack to force underline to show **/
|
|
2139
|
+
border-bottom: 1px solid transparent;
|
|
2140
|
+
text-underline-position: under;
|
|
2141
|
+
color: var(--vscode-textLink-activeForeground);
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
.monaco-editor .marker-widget .descriptioncontainer .filename {
|
|
2145
|
+
cursor: pointer;
|
|
2146
|
+
color: var(--vscode-textLink-activeForeground);
|
|
2147
|
+
}
|
|
2148
|
+
/*---------------------------------------------------------------------------------------------
|
|
2149
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2150
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2151
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2152
|
+
|
|
2153
|
+
.monaco-editor .zone-widget .codicon.codicon-error,
|
|
2154
|
+
.markers-panel .marker-icon.error, .markers-panel .marker-icon .codicon.codicon-error,
|
|
2155
|
+
.text-search-provider-messages .providerMessage .codicon.codicon-error,
|
|
2156
|
+
.extensions-viewlet > .extensions .codicon.codicon-error,
|
|
2157
|
+
.extension-editor .codicon.codicon-error,
|
|
2158
|
+
.chat-attached-context-attachment .codicon.codicon-error {
|
|
2159
|
+
color: var(--vscode-problemsErrorIcon-foreground);
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
.monaco-editor .zone-widget .codicon.codicon-warning,
|
|
2163
|
+
.markers-panel .marker-icon.warning, .markers-panel .marker-icon .codicon.codicon-warning,
|
|
2164
|
+
.text-search-provider-messages .providerMessage .codicon.codicon-warning,
|
|
2165
|
+
.extensions-viewlet > .extensions .codicon.codicon-warning,
|
|
2166
|
+
.extension-editor .codicon.codicon-warning,
|
|
2167
|
+
.preferences-editor .codicon.codicon-warning {
|
|
2168
|
+
color: var(--vscode-problemsWarningIcon-foreground);
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
.monaco-editor .zone-widget .codicon.codicon-info,
|
|
2172
|
+
.markers-panel .marker-icon.info, .markers-panel .marker-icon .codicon.codicon-info,
|
|
2173
|
+
.text-search-provider-messages .providerMessage .codicon.codicon-info,
|
|
2174
|
+
.extensions-viewlet > .extensions .codicon.codicon-info,
|
|
2175
|
+
.extension-editor .codicon.codicon-info {
|
|
2176
|
+
color: var(--vscode-problemsInfoIcon-foreground);
|
|
2177
|
+
}
|
|
2178
|
+
/*---------------------------------------------------------------------------------------------
|
|
2179
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2180
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2181
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2182
|
+
|
|
2183
|
+
.monaco-editor .snippet-placeholder {
|
|
2184
|
+
min-width: 2px;
|
|
2185
|
+
outline-style: solid;
|
|
2186
|
+
outline-width: 1px;
|
|
2187
|
+
background-color: var(--vscode-editor-snippetTabstopHighlightBackground, transparent);
|
|
2188
|
+
outline-color: var(--vscode-editor-snippetTabstopHighlightBorder, transparent);
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
.monaco-editor .finish-snippet-placeholder {
|
|
2192
|
+
outline-style: solid;
|
|
2193
|
+
outline-width: 1px;
|
|
2194
|
+
background-color: var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);
|
|
2195
|
+
outline-color: var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent);
|
|
2196
|
+
}
|
|
2197
|
+
/*---------------------------------------------------------------------------------------------
|
|
2198
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2199
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2200
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2201
|
+
|
|
2202
|
+
.monaco-editor .rename-box {
|
|
2203
|
+
z-index: 100;
|
|
2204
|
+
color: inherit;
|
|
2205
|
+
border-radius: 4px;
|
|
2206
|
+
box-shadow: var(--vscode-shadow-lg);
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
.monaco-editor .rename-box.preview {
|
|
2210
|
+
padding: 4px 4px 0 4px;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
.monaco-editor .rename-box .rename-input-with-button {
|
|
2214
|
+
padding: 3px;
|
|
2215
|
+
border-radius: 4px;
|
|
2216
|
+
width: calc(100% - 8px); /* 4px padding on each side */
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
.monaco-editor .rename-box .rename-input {
|
|
2220
|
+
width: calc(100% - 8px); /* 4px padding on each side */
|
|
2221
|
+
padding: 0;
|
|
2222
|
+
}
|
|
2223
|
+
|
|
2224
|
+
.monaco-editor .rename-box .rename-input:focus {
|
|
2225
|
+
outline: none;
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2228
|
+
.monaco-editor .rename-box .rename-suggestions-button {
|
|
2229
|
+
display: flex;
|
|
2230
|
+
align-items: center;
|
|
2231
|
+
padding: 3px;
|
|
2232
|
+
background-color: transparent;
|
|
2233
|
+
border: none;
|
|
2234
|
+
border-radius: 5px;
|
|
2235
|
+
cursor: pointer;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
.monaco-editor .rename-box .rename-suggestions-button:hover {
|
|
2239
|
+
background-color: var(--vscode-toolbar-hoverBackground)
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
.monaco-editor .rename-box .rename-candidate-list-container .monaco-list-row {
|
|
2243
|
+
border-radius: 2px;
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
.monaco-editor .rename-box .rename-label {
|
|
2247
|
+
display: none;
|
|
2248
|
+
opacity: .8;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
.monaco-editor .rename-box.preview .rename-label {
|
|
2252
|
+
display: inherit;
|
|
2253
|
+
}
|
|
2254
|
+
/*---------------------------------------------------------------------------------------------
|
|
2255
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2256
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2257
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2258
|
+
|
|
2259
|
+
/* Suggest widget*/
|
|
2260
|
+
|
|
2261
|
+
.monaco-editor .suggest-widget {
|
|
2262
|
+
width: 430px;
|
|
2263
|
+
z-index: 40;
|
|
2264
|
+
display: flex;
|
|
2265
|
+
flex-direction: column;
|
|
2266
|
+
border-radius: var(--vscode-cornerRadius-large);
|
|
2267
|
+
box-shadow: 0 2px 8px var(--vscode-widget-shadow);
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
.monaco-editor .suggest-widget.message {
|
|
2271
|
+
flex-direction: row;
|
|
2272
|
+
align-items: center;
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
.monaco-editor .suggest-widget,
|
|
2276
|
+
.monaco-editor .suggest-details {
|
|
2277
|
+
flex: 0 1 auto;
|
|
2278
|
+
width: 100%;
|
|
2279
|
+
border-style: solid;
|
|
2280
|
+
border-width: 1px;
|
|
2281
|
+
border-color: var(--vscode-editorSuggestWidget-border);
|
|
2282
|
+
background-color: var(--vscode-editorSuggestWidget-background);
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
.monaco-editor.hc-black .suggest-widget,
|
|
2286
|
+
.monaco-editor.hc-black .suggest-details,
|
|
2287
|
+
.monaco-editor.hc-light .suggest-widget,
|
|
2288
|
+
.monaco-editor.hc-light .suggest-details {
|
|
2289
|
+
border-width: 2px;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
.monaco-editor.hc-black .suggest-widget,
|
|
2293
|
+
.monaco-editor.hc-light .suggest-widget {
|
|
2294
|
+
box-shadow: none;
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
/* Styles for status bar part */
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
.monaco-editor .suggest-widget .suggest-status-bar {
|
|
2301
|
+
box-sizing: border-box;
|
|
2302
|
+
display: none;
|
|
2303
|
+
flex-flow: row nowrap;
|
|
2304
|
+
justify-content: space-between;
|
|
2305
|
+
width: 100%;
|
|
2306
|
+
font-size: 80%;
|
|
2307
|
+
padding: 0 4px 0 4px;
|
|
2308
|
+
border-top: 1px solid var(--vscode-editorSuggestWidget-border);
|
|
2309
|
+
overflow: hidden;
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {
|
|
2313
|
+
display: flex;
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
.monaco-editor .suggest-widget .suggest-status-bar .left {
|
|
2317
|
+
padding-right: 8px;
|
|
2318
|
+
}
|
|
2319
|
+
|
|
2320
|
+
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {
|
|
2321
|
+
color: var(--vscode-editorSuggestWidgetStatus-foreground);
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {
|
|
2325
|
+
margin-right: 0;
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {
|
|
2329
|
+
content: ', ';
|
|
2330
|
+
margin-right: 0.3em;
|
|
2331
|
+
}
|
|
2332
|
+
|
|
2333
|
+
.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row > .contents > .main > .right > .readMore,
|
|
2334
|
+
.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label > .contents > .main > .right > .readMore {
|
|
2335
|
+
display: none;
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover > .contents > .main > .right.can-expand-details > .details-label {
|
|
2339
|
+
width: 100%;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
/* Styles for Message element for when widget is loading or is empty */
|
|
2343
|
+
|
|
2344
|
+
.monaco-editor .suggest-widget > .message {
|
|
2345
|
+
padding-left: 22px;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
/** Styles for the list element **/
|
|
2349
|
+
|
|
2350
|
+
.monaco-editor .suggest-widget > .tree {
|
|
2351
|
+
height: 100%;
|
|
2352
|
+
width: 100%;
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
.monaco-editor .suggest-widget .monaco-list {
|
|
2356
|
+
user-select: none;
|
|
2357
|
+
-webkit-user-select: none;
|
|
2358
|
+
border-radius: var(--vscode-cornerRadius-large);
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
/** Styles for each row in the list element **/
|
|
2362
|
+
|
|
2363
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row {
|
|
2364
|
+
display: flex;
|
|
2365
|
+
-mox-box-sizing: border-box;
|
|
2366
|
+
box-sizing: border-box;
|
|
2367
|
+
padding-right: 10px;
|
|
2368
|
+
background-repeat: no-repeat;
|
|
2369
|
+
background-position: 2px 2px;
|
|
2370
|
+
white-space: nowrap;
|
|
2371
|
+
cursor: pointer;
|
|
2372
|
+
touch-action: none;
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused {
|
|
2376
|
+
color: var(--vscode-editorSuggestWidget-selectedForeground);
|
|
2377
|
+
outline: 1px solid var(--vscode-editorSuggestWidget-focusOutline);
|
|
2378
|
+
outline-offset: -1px;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon {
|
|
2382
|
+
color: var(--vscode-editorSuggestWidget-selectedIconForeground);
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents {
|
|
2386
|
+
flex: 1;
|
|
2387
|
+
height: 100%;
|
|
2388
|
+
overflow: hidden;
|
|
2389
|
+
padding-left: 2px;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main {
|
|
2393
|
+
display: flex;
|
|
2394
|
+
overflow: hidden;
|
|
2395
|
+
text-overflow: ellipsis;
|
|
2396
|
+
white-space: pre;
|
|
2397
|
+
justify-content: space-between;
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left,
|
|
2401
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right {
|
|
2402
|
+
display: flex;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused) > .contents > .main .monaco-icon-label {
|
|
2406
|
+
color: var(--vscode-editorSuggestWidget-foreground);
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {
|
|
2410
|
+
font-weight: bold;
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main .monaco-highlighted-label .highlight {
|
|
2414
|
+
color: var(--vscode-editorSuggestWidget-highlightForeground);
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused > .contents > .main .monaco-highlighted-label .highlight {
|
|
2418
|
+
color: var(--vscode-editorSuggestWidget-focusHighlightForeground);
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
/** ReadMore Icon styles **/
|
|
2422
|
+
|
|
2423
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .header > .codicon-close,
|
|
2424
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore::before {
|
|
2425
|
+
color: inherit;
|
|
2426
|
+
opacity: 1;
|
|
2427
|
+
font-size: 14px;
|
|
2428
|
+
cursor: pointer;
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .header > .codicon-close {
|
|
2432
|
+
position: absolute;
|
|
2433
|
+
top: 6px;
|
|
2434
|
+
right: 2px;
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2437
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .header > .codicon-close:hover,
|
|
2438
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore:hover {
|
|
2439
|
+
opacity: 1;
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
/** signature, qualifier, type/details styling **/
|
|
2443
|
+
|
|
2444
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label {
|
|
2445
|
+
color: var(--vscode-editorSuggestWidget-foreground);
|
|
2446
|
+
}
|
|
2447
|
+
|
|
2448
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused > .contents > .main > .right > .details-label {
|
|
2449
|
+
color: var(--vscode-editorSuggestWidget-selectedForeground);
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .signature-label {
|
|
2453
|
+
overflow: hidden;
|
|
2454
|
+
text-overflow: ellipsis;
|
|
2455
|
+
opacity: 0.6;
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .qualifier-label {
|
|
2459
|
+
margin-left: 12px;
|
|
2460
|
+
opacity: 0.4;
|
|
2461
|
+
font-size: 85%;
|
|
2462
|
+
line-height: initial;
|
|
2463
|
+
text-overflow: ellipsis;
|
|
2464
|
+
overflow: hidden;
|
|
2465
|
+
align-self: center;
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2468
|
+
/** Type Info and icon next to the label in the focused completion item **/
|
|
2469
|
+
|
|
2470
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label {
|
|
2471
|
+
font-size: 85%;
|
|
2472
|
+
margin-left: 1.1em;
|
|
2473
|
+
overflow: hidden;
|
|
2474
|
+
text-overflow: ellipsis;
|
|
2475
|
+
white-space: nowrap;
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label > .monaco-tokenized-source {
|
|
2479
|
+
display: inline;
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
/** Details: if using CompletionItem#details, show on focus **/
|
|
2483
|
+
|
|
2484
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .details-label {
|
|
2485
|
+
display: none;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused > .contents > .main > .right > .details-label {
|
|
2489
|
+
display: inline;
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
/** Details: if using CompletionItemLabel#details, always show **/
|
|
2493
|
+
|
|
2494
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label) > .contents > .main > .right > .details-label,
|
|
2495
|
+
.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label) > .contents > .main > .right > .details-label {
|
|
2496
|
+
display: inline;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
/** Ellipsis on hover **/
|
|
2500
|
+
|
|
2501
|
+
.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover > .contents > .main > .right.can-expand-details > .details-label {
|
|
2502
|
+
width: calc(100% - 26px);
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left {
|
|
2506
|
+
flex-shrink: 1;
|
|
2507
|
+
flex-grow: 1;
|
|
2508
|
+
overflow: hidden;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .left > .monaco-icon-label {
|
|
2512
|
+
flex-shrink: 0;
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label) > .contents > .main > .left > .monaco-icon-label {
|
|
2516
|
+
max-width: 100%;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label > .contents > .main > .left > .monaco-icon-label {
|
|
2520
|
+
flex-shrink: 1;
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right {
|
|
2524
|
+
overflow: hidden;
|
|
2525
|
+
flex-shrink: 4;
|
|
2526
|
+
max-width: 70%;
|
|
2527
|
+
}
|
|
2528
|
+
|
|
2529
|
+
/** When fitting the widget width to the inline detail, prioritize showing the full label: the label keeps its width and the detail truncates instead. **/
|
|
2530
|
+
.monaco-editor .suggest-widget.fit-width-to-details .monaco-list .monaco-list-row > .contents > .main > .left {
|
|
2531
|
+
flex-shrink: 0;
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
.monaco-editor .suggest-widget.fit-width-to-details .monaco-list .monaco-list-row > .contents > .main > .right {
|
|
2535
|
+
max-width: none;
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {
|
|
2539
|
+
display: inline-block;
|
|
2540
|
+
position: absolute;
|
|
2541
|
+
right: 10px;
|
|
2542
|
+
width: 18px;
|
|
2543
|
+
height: 18px;
|
|
2544
|
+
visibility: hidden;
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2547
|
+
/** Do NOT display ReadMore when docs is side/below **/
|
|
2548
|
+
|
|
2549
|
+
.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row > .contents > .main > .right > .readMore {
|
|
2550
|
+
display: none !important;
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
/** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/
|
|
2554
|
+
|
|
2555
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label > .contents > .main > .right > .readMore {
|
|
2556
|
+
display: none;
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
/** Focused item can show ReadMore, but can't when docs is side/below **/
|
|
2560
|
+
|
|
2561
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label > .contents > .main > .right > .readMore {
|
|
2562
|
+
display: inline-block;
|
|
2563
|
+
}
|
|
2564
|
+
|
|
2565
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover > .contents > .main > .right > .readMore {
|
|
2566
|
+
visibility: visible;
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
/** Styles for each row in the list **/
|
|
2570
|
+
|
|
2571
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {
|
|
2572
|
+
opacity: 0.66;
|
|
2573
|
+
text-decoration: unset;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated > .monaco-icon-label-container > .monaco-icon-name-container {
|
|
2577
|
+
text-decoration: line-through;
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {
|
|
2581
|
+
height: 100%;
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {
|
|
2585
|
+
display: block;
|
|
2586
|
+
height: 16px;
|
|
2587
|
+
width: 16px;
|
|
2588
|
+
margin-left: 2px;
|
|
2589
|
+
background-repeat: no-repeat;
|
|
2590
|
+
background-size: 80%;
|
|
2591
|
+
background-position: center;
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {
|
|
2595
|
+
display: none;
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {
|
|
2599
|
+
display: flex;
|
|
2600
|
+
align-items: center;
|
|
2601
|
+
margin-right: 4px;
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,
|
|
2605
|
+
.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {
|
|
2606
|
+
display: none;
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2609
|
+
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {
|
|
2610
|
+
margin: 0 0 0 0.3em;
|
|
2611
|
+
border: 0.1em solid #000;
|
|
2612
|
+
width: 0.7em;
|
|
2613
|
+
height: 0.7em;
|
|
2614
|
+
display: inline-block;
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
/** Styles for the docs of the completion item in focus **/
|
|
2618
|
+
|
|
2619
|
+
.monaco-editor .suggest-details-container {
|
|
2620
|
+
z-index: 41;
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
.monaco-editor .suggest-details {
|
|
2624
|
+
display: flex;
|
|
2625
|
+
flex-direction: column;
|
|
2626
|
+
cursor: default;
|
|
2627
|
+
color: var(--vscode-editorSuggestWidget-foreground);
|
|
2628
|
+
border-radius: var(--vscode-cornerRadius-large);
|
|
2629
|
+
overflow: hidden;
|
|
2630
|
+
}
|
|
2631
|
+
|
|
2632
|
+
.monaco-editor .suggest-details:focus {
|
|
2633
|
+
border-color: var(--vscode-focusBorder);
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
.monaco-editor .suggest-details a {
|
|
2637
|
+
color: var(--vscode-textLink-foreground);
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
.monaco-editor .suggest-details a:hover {
|
|
2641
|
+
color: var(--vscode-textLink-activeForeground);
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
.monaco-editor .suggest-details code {
|
|
2645
|
+
background-color: var(--vscode-textCodeBlock-background);
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
.monaco-editor .suggest-details.no-docs {
|
|
2649
|
+
display: none;
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element {
|
|
2653
|
+
flex: 1;
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body {
|
|
2657
|
+
box-sizing: border-box;
|
|
2658
|
+
height: 100%;
|
|
2659
|
+
width: 100%;
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .header > .type {
|
|
2663
|
+
flex: 2;
|
|
2664
|
+
overflow: hidden;
|
|
2665
|
+
text-overflow: ellipsis;
|
|
2666
|
+
opacity: 0.7;
|
|
2667
|
+
white-space: pre;
|
|
2668
|
+
margin: 0 24px 0 0;
|
|
2669
|
+
padding: 4px 0 4px 5px;
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
.monaco-editor .suggest-details.detail-and-doc > .monaco-scrollable-element > .body > .header > .type {
|
|
2673
|
+
padding-bottom: 12px;
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .header > .type.auto-wrap {
|
|
2677
|
+
white-space: normal;
|
|
2678
|
+
word-break: break-all;
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .docs {
|
|
2682
|
+
margin: 0;
|
|
2683
|
+
padding: 4px 5px;
|
|
2684
|
+
white-space: pre-wrap;
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
.monaco-editor .suggest-details.no-type > .monaco-scrollable-element > .body > .docs {
|
|
2688
|
+
margin-right: 24px;
|
|
2689
|
+
overflow: hidden;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .docs.markdown-docs {
|
|
2693
|
+
padding: 0;
|
|
2694
|
+
white-space: initial;
|
|
2695
|
+
min-height: calc(1rem + 8px);
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .docs.markdown-docs > div,
|
|
2699
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .docs.markdown-docs > span:not(:empty) {
|
|
2700
|
+
padding: 4px 5px;
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .docs.markdown-docs > div > p:first-child {
|
|
2704
|
+
margin-top: 0;
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .docs.markdown-docs > div > p:last-child {
|
|
2708
|
+
margin-bottom: 0;
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .docs.markdown-docs .monaco-tokenized-source {
|
|
2712
|
+
white-space: pre;
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .docs .code {
|
|
2716
|
+
white-space: pre-wrap;
|
|
2717
|
+
word-wrap: break-word;
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > .docs.markdown-docs .codicon {
|
|
2721
|
+
vertical-align: sub;
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
.monaco-editor .suggest-details > .monaco-scrollable-element > .body > p:empty {
|
|
2725
|
+
display: none;
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
.monaco-editor .suggest-details code {
|
|
2729
|
+
border-radius: 3px;
|
|
2730
|
+
padding: 0 0.4em;
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
.monaco-editor .suggest-details ul {
|
|
2734
|
+
padding-left: 20px;
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
.monaco-editor .suggest-details ol {
|
|
2738
|
+
padding-left: 20px;
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
.monaco-editor .suggest-details p code {
|
|
2742
|
+
font-family: var(--monaco-monospace-font);
|
|
2743
|
+
}
|
|
2744
|
+
/*---------------------------------------------------------------------------------------------
|
|
2745
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2746
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2747
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2748
|
+
|
|
2749
|
+
.monaco-editor .suggest-preview-additional-widget {
|
|
2750
|
+
white-space: nowrap;
|
|
2751
|
+
}
|
|
2752
|
+
|
|
2753
|
+
.monaco-editor .suggest-preview-additional-widget .content-spacer {
|
|
2754
|
+
color: transparent;
|
|
2755
|
+
white-space: pre;
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
.monaco-editor .suggest-preview-additional-widget .button {
|
|
2759
|
+
display: inline-block;
|
|
2760
|
+
cursor: pointer;
|
|
2761
|
+
text-decoration: underline;
|
|
2762
|
+
text-underline-position: under;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
.monaco-editor .ghost-text-hidden {
|
|
2766
|
+
opacity: 0;
|
|
2767
|
+
font-size: 0;
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2770
|
+
.monaco-editor .ghost-text-decoration,
|
|
2771
|
+
.monaco-editor .suggest-preview-text .ghost-text {
|
|
2772
|
+
font-style: italic;
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
.monaco-editor .suggest-preview-text.clickable .view-line {
|
|
2776
|
+
z-index: 1;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
.monaco-editor .ghost-text-decoration.clickable,
|
|
2780
|
+
.monaco-editor .ghost-text-decoration-preview.clickable,
|
|
2781
|
+
.monaco-editor .suggest-preview-text.clickable .ghost-text {
|
|
2782
|
+
cursor: pointer;
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
.monaco-editor .inline-completion-text-to-replace {
|
|
2786
|
+
text-decoration: underline;
|
|
2787
|
+
text-underline-position: under;
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
.monaco-editor .ghost-text-decoration,
|
|
2791
|
+
.monaco-editor .ghost-text-decoration-preview,
|
|
2792
|
+
.monaco-editor .suggest-preview-text .ghost-text {
|
|
2793
|
+
&.syntax-highlighted {
|
|
2794
|
+
opacity: 0.7;
|
|
2795
|
+
}
|
|
2796
|
+
&:not(.syntax-highlighted) {
|
|
2797
|
+
color: var(--vscode-editorGhostText-foreground);
|
|
2798
|
+
}
|
|
2799
|
+
background-color: var(--vscode-editorGhostText-background);
|
|
2800
|
+
border: 1px solid var(--vscode-editorGhostText-border);
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
.monaco-editor .ghost-text-decoration.warning,
|
|
2804
|
+
.monaco-editor .ghost-text-decoration-preview.warning,
|
|
2805
|
+
.monaco-editor .suggest-preview-text .ghost-text.warning {
|
|
2806
|
+
background: var(--monaco-editor-warning-decoration) repeat-x bottom left;
|
|
2807
|
+
border-bottom: 4px double var(--vscode-editorWarning-border);
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
.monaco-editor .ghost-text-decoration.short-text,
|
|
2811
|
+
.monaco-editor .ghost-text-decoration-preview.short-text,
|
|
2812
|
+
.monaco-editor .suggest-preview-text .ghost-text.short-text {
|
|
2813
|
+
text-decoration: underline dotted var(--vscode-editorGhostText-foreground);
|
|
2814
|
+
text-underline-position: under;
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
.ghost-text-view-warning-widget-icon {
|
|
2818
|
+
.codicon {
|
|
2819
|
+
color: var(--vscode-editorWarning-foreground) !important;
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
.monaco-editor {
|
|
2824
|
+
.edits-fadeout-decoration {
|
|
2825
|
+
opacity: var(--animation-opacity, 1);
|
|
2826
|
+
background-color: var(--vscode-inlineEdit-modifiedChangedTextBackground);
|
|
2827
|
+
}
|
|
2828
|
+
}
|
|
2829
|
+
/*---------------------------------------------------------------------------------------------
|
|
2830
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2831
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2832
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2833
|
+
|
|
2834
|
+
.monaco-editor .sticky-widget {
|
|
2835
|
+
overflow: hidden;
|
|
2836
|
+
border-bottom: 1px solid var(--vscode-editorStickyScroll-border);
|
|
2837
|
+
width: 100%;
|
|
2838
|
+
box-shadow: var(--vscode-editorStickyScroll-shadow) 0 4px 2px -2px;
|
|
2839
|
+
z-index: 4;
|
|
2840
|
+
right: initial !important;
|
|
2841
|
+
margin-left: '0px';
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
.monaco-editor .sticky-widget .sticky-widget-line-numbers {
|
|
2845
|
+
float: left;
|
|
2846
|
+
background-color: var(--vscode-editorStickyScrollGutter-background);
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
.monaco-editor .sticky-widget.peek .sticky-widget-line-numbers {
|
|
2850
|
+
background-color: var(--vscode-peekViewEditorStickyScrollGutter-background);
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
.monaco-editor .sticky-widget .sticky-widget-lines-scrollable {
|
|
2854
|
+
display: inline-block;
|
|
2855
|
+
position: absolute;
|
|
2856
|
+
overflow: hidden;
|
|
2857
|
+
width: var(--vscode-editorStickyScroll-scrollableWidth);
|
|
2858
|
+
background-color: var(--vscode-editorStickyScroll-background);
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
.monaco-editor .sticky-widget.peek .sticky-widget-lines-scrollable {
|
|
2862
|
+
background-color: var(--vscode-peekViewEditorStickyScroll-background);
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
.monaco-editor .sticky-widget .sticky-widget-lines {
|
|
2866
|
+
position: absolute;
|
|
2867
|
+
background-color: inherit;
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
.monaco-editor .sticky-widget .sticky-line-number,
|
|
2871
|
+
.monaco-editor .sticky-widget .sticky-line-content {
|
|
2872
|
+
color: var(--vscode-editorLineNumber-foreground);
|
|
2873
|
+
white-space: nowrap;
|
|
2874
|
+
display: inline-block;
|
|
2875
|
+
position: absolute;
|
|
2876
|
+
background-color: inherit;
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2879
|
+
.monaco-editor .sticky-widget .sticky-line-number .codicon-folding-expanded,
|
|
2880
|
+
.monaco-editor .sticky-widget .sticky-line-number .codicon-folding-collapsed {
|
|
2881
|
+
float: right;
|
|
2882
|
+
transition: var(--vscode-editorStickyScroll-foldingOpacityTransition);
|
|
2883
|
+
position: absolute;
|
|
2884
|
+
margin-left: 2px;
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
.monaco-editor .sticky-widget .sticky-line-content {
|
|
2888
|
+
width: var(--vscode-editorStickyScroll-scrollableWidth);
|
|
2889
|
+
background-color: inherit;
|
|
2890
|
+
white-space: nowrap;
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
.monaco-editor .sticky-widget .sticky-line-number-inner {
|
|
2894
|
+
display: inline-block;
|
|
2895
|
+
text-align: right;
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2898
|
+
.monaco-editor .sticky-widget .sticky-line-content:hover {
|
|
2899
|
+
background-color: var(--vscode-editorStickyScrollHover-background);
|
|
2900
|
+
cursor: pointer;
|
|
2901
|
+
}
|
|
2902
|
+
/*---------------------------------------------------------------------------------------------
|
|
2903
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2904
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2905
|
+
*--------------------------------------------------------------------------------------------*/
|
|
2906
|
+
|
|
2907
|
+
/*
|
|
2908
|
+
@keyframes blink { 50% { border-color: orange; } }
|
|
2909
|
+
*/
|
|
2910
|
+
|
|
2911
|
+
.monaco-editor {
|
|
2912
|
+
--inline-edit-border-radius: 3px;
|
|
2913
|
+
|
|
2914
|
+
.inline-edits-view-indicator {
|
|
2915
|
+
display: flex;
|
|
2916
|
+
|
|
2917
|
+
z-index: 34; /* Below the find widget */
|
|
2918
|
+
height: 20px;
|
|
2919
|
+
|
|
2920
|
+
color: var(--vscode-inlineEdit-gutterIndicator-primaryForeground);
|
|
2921
|
+
background-color: var(--vscode-inlineEdit-gutterIndicator-background);
|
|
2922
|
+
border: 1px solid var(--vscode-inlineEdit-gutterIndicator-primaryBorder);
|
|
2923
|
+
border-radius: var(--inline-edit-border-radius);
|
|
2924
|
+
|
|
2925
|
+
align-items: center;
|
|
2926
|
+
padding: 2px;
|
|
2927
|
+
padding-right: 10px;
|
|
2928
|
+
margin: 0 4px;
|
|
2929
|
+
|
|
2930
|
+
/*
|
|
2931
|
+
animation: blink 1s;
|
|
2932
|
+
animation-iteration-count: 3;
|
|
2933
|
+
*/
|
|
2934
|
+
|
|
2935
|
+
opacity: 0;
|
|
2936
|
+
|
|
2937
|
+
&.contained {
|
|
2938
|
+
transition: opacity 0.2s ease-in-out;
|
|
2939
|
+
transition-delay: 0.4s;
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2942
|
+
&.visible {
|
|
2943
|
+
opacity: 1;
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2946
|
+
&.top {
|
|
2947
|
+
opacity: 1;
|
|
2948
|
+
|
|
2949
|
+
.icon {
|
|
2950
|
+
transform: rotate(90deg);
|
|
2951
|
+
}
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
&.bottom {
|
|
2955
|
+
opacity: 1;
|
|
2956
|
+
|
|
2957
|
+
.icon {
|
|
2958
|
+
transform: rotate(-90deg);
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
.icon {
|
|
2963
|
+
display: flex;
|
|
2964
|
+
align-items: center;
|
|
2965
|
+
margin: 0 2px;
|
|
2966
|
+
transform: none;
|
|
2967
|
+
transition: transform 0.2s ease-in-out;
|
|
2968
|
+
.codicon {
|
|
2969
|
+
color: var(--vscode-inlineEdit-gutterIndicator-primaryForeground);
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2973
|
+
.label {
|
|
2974
|
+
margin: 0 2px;
|
|
2975
|
+
|
|
2976
|
+
display: flex;
|
|
2977
|
+
justify-content: center;
|
|
2978
|
+
width: 100%;
|
|
2979
|
+
}
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
.inline-edits-view .editorContainer {
|
|
2983
|
+
.preview .monaco-editor {
|
|
2984
|
+
.view-overlays .current-line-exact {
|
|
2985
|
+
border: none;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
.current-line-margin {
|
|
2989
|
+
border: none;
|
|
2990
|
+
}
|
|
2991
|
+
}
|
|
2992
|
+
|
|
2993
|
+
.inline-edits-view-zone.diagonal-fill {
|
|
2994
|
+
opacity: 0.5;
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2998
|
+
.strike-through {
|
|
2999
|
+
text-decoration: line-through;
|
|
3000
|
+
}
|
|
3001
|
+
|
|
3002
|
+
.inlineCompletions-line-insert {
|
|
3003
|
+
background: var(--vscode-inlineEdit-modifiedChangedLineBackground);
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
.inlineCompletions-line-delete {
|
|
3007
|
+
background: var(--vscode-inlineEdit-originalChangedLineBackground);
|
|
3008
|
+
}
|
|
3009
|
+
|
|
3010
|
+
.inlineCompletions-char-insert {
|
|
3011
|
+
background: var(--vscode-inlineEdit-modifiedChangedTextBackground);
|
|
3012
|
+
cursor: pointer;
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
.inlineCompletions-char-delete {
|
|
3016
|
+
background: var(--vscode-inlineEdit-originalChangedTextBackground);
|
|
3017
|
+
}
|
|
3018
|
+
|
|
3019
|
+
.inlineCompletions-char-delete.diff-range-empty {
|
|
3020
|
+
margin-left: -1px;
|
|
3021
|
+
border-left: solid var(--vscode-inlineEdit-originalChangedTextBackground) 3px;
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
.inlineCompletions-char-insert.diff-range-empty {
|
|
3025
|
+
border-left: solid var(--vscode-inlineEdit-modifiedChangedTextBackground) 3px;
|
|
3026
|
+
}
|
|
3027
|
+
|
|
3028
|
+
.inlineCompletions-char-delete.single-line-inline { /* Editor Decoration */
|
|
3029
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
3030
|
+
margin: -2px 0 0 -2px;
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
.inlineCompletions-char-insert.single-line-inline { /* Inline Decoration */
|
|
3034
|
+
border-top: 1px solid var(--vscode-inlineEdit-modifiedBorder); /* TODO: Do not set border inline but create overlaywidget (like deletion view) */
|
|
3035
|
+
border-bottom: 1px solid var(--vscode-inlineEdit-modifiedBorder); /* TODO: Do not set border inline but create overlaywidget (like deletion view) */
|
|
3036
|
+
}
|
|
3037
|
+
.inlineCompletions-char-insert.single-line-inline.start {
|
|
3038
|
+
border-top-left-radius: var(--inline-edit-border-radius);
|
|
3039
|
+
border-bottom-left-radius: var(--inline-edit-border-radius);
|
|
3040
|
+
border-left: 1px solid var(--vscode-inlineEdit-modifiedBorder); /* TODO: Do not set border inline but create overlaywidget (like deletion view) */
|
|
3041
|
+
}
|
|
3042
|
+
.inlineCompletions-char-insert.single-line-inline.end {
|
|
3043
|
+
border-top-right-radius: var(--inline-edit-border-radius);
|
|
3044
|
+
border-bottom-right-radius: var(--inline-edit-border-radius);
|
|
3045
|
+
border-right: 1px solid var(--vscode-inlineEdit-modifiedBorder); /* TODO: Do not set border inline but create overlaywidget (like deletion view) */
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
.inlineCompletions-char-delete.single-line-inline.empty,
|
|
3049
|
+
.inlineCompletions-char-insert.single-line-inline.empty {
|
|
3050
|
+
display: none;
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
.inlineCompletions.strike-through {
|
|
3054
|
+
text-decoration-thickness: 1px;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
/* line replacement bubbles */
|
|
3058
|
+
|
|
3059
|
+
.inlineCompletions-modified-bubble {
|
|
3060
|
+
background: var(--vscode-inlineEdit-modifiedChangedTextBackground);
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
.inlineCompletions-original-bubble {
|
|
3064
|
+
background: var(--vscode-inlineEdit-originalChangedTextBackground);
|
|
3065
|
+
}
|
|
3066
|
+
|
|
3067
|
+
.inlineCompletions-modified-bubble,
|
|
3068
|
+
.inlineCompletions-original-bubble {
|
|
3069
|
+
pointer-events: none;
|
|
3070
|
+
display: inline-block;
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
.inline-edit.ghost-text,
|
|
3074
|
+
.inline-edit.ghost-text-decoration,
|
|
3075
|
+
.inline-edit.ghost-text-decoration-preview,
|
|
3076
|
+
.inline-edit.suggest-preview-text .ghost-text {
|
|
3077
|
+
&.syntax-highlighted {
|
|
3078
|
+
opacity: 1 !important;
|
|
3079
|
+
}
|
|
3080
|
+
font-style: normal !important;
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
.inline-edit.modified-background.ghost-text,
|
|
3084
|
+
.inline-edit.modified-background.ghost-text-decoration,
|
|
3085
|
+
.inline-edit.modified-background.ghost-text-decoration-preview,
|
|
3086
|
+
.inline-edit.modified-background.suggest-preview-text .ghost-text {
|
|
3087
|
+
background: var(--vscode-inlineEdit-modifiedChangedTextBackground) !important;
|
|
3088
|
+
display: inline-block !important;
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
.inlineCompletions-original-lines {
|
|
3092
|
+
background: var(--vscode-editor-background);
|
|
3093
|
+
}
|
|
3094
|
+
|
|
3095
|
+
.inline-edit-jump-to-widget {
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
.monaco-keybinding {
|
|
3099
|
+
.monaco-keybinding-key {
|
|
3100
|
+
font-size: 11px;
|
|
3101
|
+
padding: 1px 2px 2px 2px;
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
.monaco-menu-option {
|
|
3108
|
+
color: var(--vscode-editorActionList-foreground);
|
|
3109
|
+
font-size: 13px;
|
|
3110
|
+
padding: 0 4px;
|
|
3111
|
+
line-height: 28px;
|
|
3112
|
+
display: flex;
|
|
3113
|
+
gap: 4px;
|
|
3114
|
+
align-items: center;
|
|
3115
|
+
border-radius: 3px;
|
|
3116
|
+
cursor: pointer;
|
|
3117
|
+
|
|
3118
|
+
.monaco-keybinding-key {
|
|
3119
|
+
font-size: 13px;
|
|
3120
|
+
opacity: 0.7;
|
|
3121
|
+
padding: 0;
|
|
3122
|
+
border: none;
|
|
3123
|
+
margin: 0;
|
|
3124
|
+
min-width: unset;
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
&.active {
|
|
3128
|
+
background: var(--vscode-editorActionList-focusBackground);
|
|
3129
|
+
color: var(--vscode-editorActionList-focusForeground);
|
|
3130
|
+
outline: 1px solid var(--vscode-menu-selectionBorder, transparent);
|
|
3131
|
+
outline-offset: -1px;
|
|
3132
|
+
|
|
3133
|
+
.monaco-keybinding-key {
|
|
3134
|
+
color: var(--vscode-editorActionList-focusForeground);
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
.inline-edits-long-distance-hint-widget .go-to-label::before {
|
|
3140
|
+
content: '';
|
|
3141
|
+
position: absolute;
|
|
3142
|
+
left: -12px;
|
|
3143
|
+
top: 0;
|
|
3144
|
+
width: 12px;
|
|
3145
|
+
height: 100%;
|
|
3146
|
+
background: linear-gradient(to left, var(--vscode-editorWidget-background) 0, transparent 12px);
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
.hc-black .inline-edits-long-distance-hint-widget .go-to-label::before,
|
|
3150
|
+
.hc-light .inline-edits-long-distance-hint-widget .go-to-label::before {
|
|
3151
|
+
/* Remove gradient in high contrast mode for clearer separation */
|
|
3152
|
+
background: var(--vscode-editorWidget-background);
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
.inline-edit-alternative-action-label .codicon {
|
|
3156
|
+
font-size: 12px !important;
|
|
3157
|
+
padding-right: 4px;
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
.inline-edit-alternative-action-label .monaco-keybinding-key {
|
|
3161
|
+
padding: 2px 3px;
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3164
|
+
.inline-edit-alternative-action-label .inline-edit-alternative-action-label-separator {
|
|
3165
|
+
width: 4px;
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3168
|
+
/* File icon in long distance hint widget */
|
|
3169
|
+
.inline-edits-long-distance-hint-widget.show-file-icons .target-file .file-icon::before {
|
|
3170
|
+
display: inline-block;
|
|
3171
|
+
width: 16px;
|
|
3172
|
+
height: 16px;
|
|
3173
|
+
vertical-align: text-bottom;
|
|
3174
|
+
background-size: 16px;
|
|
3175
|
+
background-position: center;
|
|
3176
|
+
background-repeat: no-repeat;
|
|
3177
|
+
}
|
|
3178
|
+
/*---------------------------------------------------------------------------------------------
|
|
3179
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3180
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3181
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3182
|
+
|
|
3183
|
+
.monaco-editor .goto-definition-link {
|
|
3184
|
+
text-decoration: underline;
|
|
3185
|
+
cursor: pointer;
|
|
3186
|
+
color: var(--vscode-editorLink-activeForeground) !important;
|
|
3187
|
+
}
|
|
3188
|
+
/*---------------------------------------------------------------------------------------------
|
|
3189
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3190
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3191
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
.monaco-editor.vs .valueSetReplacement {
|
|
3195
|
+
outline: solid 2px var(--vscode-editorBracketMatch-border);
|
|
3196
|
+
}
|
|
3197
|
+
/*---------------------------------------------------------------------------------------------
|
|
3198
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3199
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3200
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3201
|
+
|
|
3202
|
+
.monaco-editor .linked-editing-decoration {
|
|
3203
|
+
background-color: var(--vscode-editor-linkedEditingBackground);
|
|
3204
|
+
|
|
3205
|
+
/* Ensure decoration is visible even if range is empty */
|
|
3206
|
+
min-width: 1px;
|
|
3207
|
+
}
|
|
3208
|
+
/*---------------------------------------------------------------------------------------------
|
|
3209
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3210
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3211
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3212
|
+
.monaco-editor .detected-link,
|
|
3213
|
+
.monaco-editor .detected-link-active {
|
|
3214
|
+
text-decoration: underline;
|
|
3215
|
+
text-underline-position: under;
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
.monaco-editor .detected-link-active {
|
|
3219
|
+
cursor: pointer;
|
|
3220
|
+
color: var(--vscode-editorLink-activeForeground) !important;
|
|
3221
|
+
}
|
|
3222
|
+
/*---------------------------------------------------------------------------------------------
|
|
3223
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3224
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3225
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3226
|
+
|
|
3227
|
+
.monaco-editor {
|
|
3228
|
+
.scroll-editor-on-middle-click-dot {
|
|
3229
|
+
cursor: all-scroll;
|
|
3230
|
+
position: absolute;
|
|
3231
|
+
z-index: 1;
|
|
3232
|
+
background-color: var(--vscode-editor-foreground, white);
|
|
3233
|
+
border: 1px solid var(--vscode-editor-background, black);
|
|
3234
|
+
opacity: 0.5;
|
|
3235
|
+
width: 5px;
|
|
3236
|
+
height: 5px;
|
|
3237
|
+
border-radius: 50%;
|
|
3238
|
+
transform: translate(-50%, -50%);
|
|
3239
|
+
|
|
3240
|
+
&.hidden {
|
|
3241
|
+
display: none;
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3245
|
+
&.scroll-editor-on-middle-click-editor * {
|
|
3246
|
+
cursor: all-scroll;
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3249
|
+
/*---------------------------------------------------------------------------------------------
|
|
3250
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3251
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3252
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3253
|
+
|
|
3254
|
+
.monaco-editor .focused .selectionHighlight {
|
|
3255
|
+
background-color: var(--vscode-editor-selectionHighlightBackground);
|
|
3256
|
+
box-sizing: border-box;
|
|
3257
|
+
border: 1px solid var(--vscode-editor-selectionHighlightBorder);
|
|
3258
|
+
}
|
|
3259
|
+
.monaco-editor.hc-black .focused .selectionHighlight, .monaco-editor.hc-light .focused .selectionHighlight {
|
|
3260
|
+
border-style: dotted;
|
|
3261
|
+
}
|
|
3262
|
+
|
|
3263
|
+
.monaco-editor .wordHighlight {
|
|
3264
|
+
background-color: var(--vscode-editor-wordHighlightBackground);
|
|
3265
|
+
box-sizing: border-box;
|
|
3266
|
+
border: 1px solid var(--vscode-editor-wordHighlightBorder);
|
|
3267
|
+
}
|
|
3268
|
+
.monaco-editor.hc-black .wordHighlight, .monaco-editor.hc-light .wordHighlight {
|
|
3269
|
+
border-style: dotted;
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
.monaco-editor .wordHighlightStrong {
|
|
3273
|
+
background-color: var(--vscode-editor-wordHighlightStrongBackground);
|
|
3274
|
+
box-sizing: border-box;
|
|
3275
|
+
border: 1px solid var(--vscode-editor-wordHighlightStrongBorder);
|
|
3276
|
+
}
|
|
3277
|
+
.monaco-editor.hc-black .wordHighlightStrong, .monaco-editor.hc-light .wordHighlightStrong {
|
|
3278
|
+
border-style: dotted;
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3281
|
+
.monaco-editor .wordHighlightText {
|
|
3282
|
+
background-color: var(--vscode-editor-wordHighlightTextBackground);
|
|
3283
|
+
box-sizing: border-box;
|
|
3284
|
+
border: 1px solid var(--vscode-editor-wordHighlightTextBorder);
|
|
3285
|
+
}
|
|
3286
|
+
.monaco-editor.hc-black .wordHighlightText, .monaco-editor.hc-light .wordHighlightText {
|
|
3287
|
+
border-style: dotted;
|
|
3288
|
+
}
|
|
3289
|
+
/*---------------------------------------------------------------------------------------------
|
|
3290
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3291
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3292
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3293
|
+
|
|
3294
|
+
.monaco-editor .parameter-hints-widget {
|
|
3295
|
+
/* Must be higher than the sash's z-index and terminal canvases but lower than the suggest widget */
|
|
3296
|
+
z-index: 39;
|
|
3297
|
+
display: flex;
|
|
3298
|
+
flex-direction: column;
|
|
3299
|
+
line-height: 1.5em;
|
|
3300
|
+
cursor: default;
|
|
3301
|
+
color: var(--vscode-editorHoverWidget-foreground);
|
|
3302
|
+
background-color: var(--vscode-editorHoverWidget-background);
|
|
3303
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
3304
|
+
border-radius: var(--vscode-cornerRadius-large);
|
|
3305
|
+
box-shadow: var(--vscode-shadow-lg);
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
.hc-black .monaco-editor .parameter-hints-widget,
|
|
3309
|
+
.hc-light .monaco-editor .parameter-hints-widget {
|
|
3310
|
+
border-width: 2px;
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
.monaco-editor .parameter-hints-widget > .phwrapper {
|
|
3314
|
+
max-width: 440px;
|
|
3315
|
+
display: flex;
|
|
3316
|
+
flex-direction: row;
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
.monaco-editor .parameter-hints-widget.multiple {
|
|
3320
|
+
min-height: 3.3em;
|
|
3321
|
+
padding: 0;
|
|
3322
|
+
}
|
|
3323
|
+
|
|
3324
|
+
.monaco-editor .parameter-hints-widget.multiple .body::before {
|
|
3325
|
+
content: "";
|
|
3326
|
+
display: block;
|
|
3327
|
+
height: 100%;
|
|
3328
|
+
position: absolute;
|
|
3329
|
+
opacity: 0.5;
|
|
3330
|
+
border-left: 1px solid var(--vscode-editorHoverWidget-border);
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3333
|
+
.monaco-editor .parameter-hints-widget p,
|
|
3334
|
+
.monaco-editor .parameter-hints-widget ul {
|
|
3335
|
+
margin: 8px 0;
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
.monaco-editor .parameter-hints-widget .monaco-scrollable-element,
|
|
3339
|
+
.monaco-editor .parameter-hints-widget .body {
|
|
3340
|
+
display: flex;
|
|
3341
|
+
flex: 1;
|
|
3342
|
+
flex-direction: column;
|
|
3343
|
+
min-height: 100%;
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
.monaco-editor .parameter-hints-widget .signature {
|
|
3347
|
+
padding: 4px 5px;
|
|
3348
|
+
position: relative;
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
.monaco-editor .parameter-hints-widget .signature.has-docs::after {
|
|
3352
|
+
content: "";
|
|
3353
|
+
display: block;
|
|
3354
|
+
position: absolute;
|
|
3355
|
+
left: 0;
|
|
3356
|
+
width: 100%;
|
|
3357
|
+
padding-top: 4px;
|
|
3358
|
+
opacity: 0.5;
|
|
3359
|
+
border-bottom: 1px solid var(--vscode-editorHoverWidget-border);
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
.monaco-editor .parameter-hints-widget .code {
|
|
3363
|
+
font-family: var(--vscode-parameterHintsWidget-editorFontFamily), var(--vscode-parameterHintsWidget-editorFontFamilyDefault);
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
.monaco-editor .parameter-hints-widget .docs {
|
|
3367
|
+
padding: 0 10px 0 5px;
|
|
3368
|
+
white-space: pre-wrap;
|
|
3369
|
+
overflow-wrap: break-word;
|
|
3370
|
+
word-break: break-word;
|
|
3371
|
+
min-width: 0;
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3374
|
+
.monaco-editor .parameter-hints-widget .docs.empty {
|
|
3375
|
+
display: none;
|
|
3376
|
+
}
|
|
3377
|
+
|
|
3378
|
+
.monaco-editor .parameter-hints-widget .docs a {
|
|
3379
|
+
color: var(--vscode-textLink-foreground);
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
.monaco-editor .parameter-hints-widget .docs a:hover {
|
|
3383
|
+
color: var(--vscode-textLink-activeForeground);
|
|
3384
|
+
cursor: pointer;
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
.monaco-editor .parameter-hints-widget .docs .markdown-docs {
|
|
3388
|
+
white-space: initial;
|
|
3389
|
+
overflow-wrap: break-word;
|
|
3390
|
+
word-break: break-word;
|
|
3391
|
+
max-width: 100%;
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3394
|
+
.monaco-editor .parameter-hints-widget .docs code {
|
|
3395
|
+
font-family: var(--monaco-monospace-font);
|
|
3396
|
+
border-radius: 3px;
|
|
3397
|
+
padding: 0 0.4em;
|
|
3398
|
+
background-color: var(--vscode-textCodeBlock-background);
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source,
|
|
3402
|
+
.monaco-editor .parameter-hints-widget .docs .code {
|
|
3403
|
+
white-space: pre-wrap;
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3406
|
+
.monaco-editor .parameter-hints-widget .controls {
|
|
3407
|
+
display: none;
|
|
3408
|
+
flex-direction: column;
|
|
3409
|
+
align-items: center;
|
|
3410
|
+
min-width: 22px;
|
|
3411
|
+
justify-content: flex-end;
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3414
|
+
.monaco-editor .parameter-hints-widget.multiple .controls {
|
|
3415
|
+
display: flex;
|
|
3416
|
+
padding: 0 2px;
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3419
|
+
.monaco-editor .parameter-hints-widget.multiple .button {
|
|
3420
|
+
width: 16px;
|
|
3421
|
+
height: 16px;
|
|
3422
|
+
background-repeat: no-repeat;
|
|
3423
|
+
cursor: pointer;
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3426
|
+
.monaco-editor .parameter-hints-widget .button.previous {
|
|
3427
|
+
bottom: 24px;
|
|
3428
|
+
}
|
|
3429
|
+
|
|
3430
|
+
.monaco-editor .parameter-hints-widget .overloads {
|
|
3431
|
+
text-align: center;
|
|
3432
|
+
height: 12px;
|
|
3433
|
+
line-height: 12px;
|
|
3434
|
+
font-family: var(--monaco-monospace-font);
|
|
3435
|
+
}
|
|
3436
|
+
|
|
3437
|
+
.monaco-editor .parameter-hints-widget .signature .parameter.active {
|
|
3438
|
+
color: var(--vscode-editorHoverWidget-highlightForeground);
|
|
3439
|
+
font-weight: bold;
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
.monaco-editor .parameter-hints-widget .documentation-parameter > .parameter {
|
|
3443
|
+
font-weight: bold;
|
|
3444
|
+
margin-right: 0.5em;
|
|
3445
|
+
}
|
|
3446
|
+
/*---------------------------------------------------------------------------------------------
|
|
3447
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3448
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3449
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3450
|
+
|
|
3451
|
+
.monaco-editor {
|
|
3452
|
+
.editorPlaceholder {
|
|
3453
|
+
top: 0px;
|
|
3454
|
+
position: absolute;
|
|
3455
|
+
overflow: hidden;
|
|
3456
|
+
text-overflow: ellipsis;
|
|
3457
|
+
text-wrap: nowrap;
|
|
3458
|
+
pointer-events: none;
|
|
3459
|
+
|
|
3460
|
+
color: var(--vscode-editor-placeholder-foreground);
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3463
|
+
/*---------------------------------------------------------------------------------------------
|
|
3464
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3465
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3466
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3467
|
+
|
|
3468
|
+
.monaco-editor .unicode-highlight {
|
|
3469
|
+
border: 1px solid var(--vscode-editorUnicodeHighlight-border);
|
|
3470
|
+
background-color: var(--vscode-editorUnicodeHighlight-background);
|
|
3471
|
+
box-sizing: border-box;
|
|
3472
|
+
}
|
|
3473
|
+
/*---------------------------------------------------------------------------------------------
|
|
3474
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3475
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3476
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3477
|
+
|
|
3478
|
+
.editor-banner {
|
|
3479
|
+
box-sizing: border-box;
|
|
3480
|
+
cursor: default;
|
|
3481
|
+
width: 100%;
|
|
3482
|
+
font-size: 12px;
|
|
3483
|
+
display: flex;
|
|
3484
|
+
overflow: visible;
|
|
3485
|
+
|
|
3486
|
+
height: 26px;
|
|
3487
|
+
|
|
3488
|
+
background: var(--vscode-banner-background);
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
|
|
3492
|
+
.editor-banner .icon-container {
|
|
3493
|
+
display: flex;
|
|
3494
|
+
flex-shrink: 0;
|
|
3495
|
+
align-items: center;
|
|
3496
|
+
padding: 0 6px 0 10px;
|
|
3497
|
+
}
|
|
3498
|
+
|
|
3499
|
+
.editor-banner .icon-container.custom-icon {
|
|
3500
|
+
background-repeat: no-repeat;
|
|
3501
|
+
background-position: center center;
|
|
3502
|
+
background-size: 16px;
|
|
3503
|
+
width: 16px;
|
|
3504
|
+
padding: 0;
|
|
3505
|
+
margin: 0 6px 0 10px;
|
|
3506
|
+
}
|
|
3507
|
+
|
|
3508
|
+
.editor-banner .message-container {
|
|
3509
|
+
display: flex;
|
|
3510
|
+
align-items: center;
|
|
3511
|
+
line-height: 26px;
|
|
3512
|
+
text-overflow: ellipsis;
|
|
3513
|
+
white-space: nowrap;
|
|
3514
|
+
overflow: hidden;
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
.editor-banner .message-container p {
|
|
3518
|
+
margin-block-start: 0;
|
|
3519
|
+
margin-block-end: 0;
|
|
3520
|
+
}
|
|
3521
|
+
|
|
3522
|
+
.editor-banner .message-actions-container {
|
|
3523
|
+
flex-grow: 1;
|
|
3524
|
+
flex-shrink: 0;
|
|
3525
|
+
line-height: 26px;
|
|
3526
|
+
margin: 0 4px;
|
|
3527
|
+
}
|
|
3528
|
+
|
|
3529
|
+
.editor-banner .message-actions-container a.monaco-button {
|
|
3530
|
+
width: inherit;
|
|
3531
|
+
margin: 2px 8px;
|
|
3532
|
+
padding: 0px 12px;
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
.editor-banner .message-actions-container a {
|
|
3536
|
+
padding: 3px;
|
|
3537
|
+
margin-left: 12px;
|
|
3538
|
+
text-decoration: underline;
|
|
3539
|
+
}
|
|
3540
|
+
|
|
3541
|
+
.editor-banner .action-container {
|
|
3542
|
+
padding: 0 10px 0 6px;
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
.editor-banner {
|
|
3546
|
+
background-color: var(--vscode-banner-background);
|
|
3547
|
+
}
|
|
3548
|
+
|
|
3549
|
+
.editor-banner,
|
|
3550
|
+
.editor-banner .action-container .codicon,
|
|
3551
|
+
.editor-banner .message-actions-container .monaco-link {
|
|
3552
|
+
color: var(--vscode-banner-foreground);
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3555
|
+
.editor-banner .icon-container .codicon {
|
|
3556
|
+
color: var(--vscode-banner-iconForeground);
|
|
3557
|
+
}
|
|
3558
|
+
/*---------------------------------------------------------------------------------------------
|
|
3559
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3560
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3561
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3562
|
+
|
|
3563
|
+
.floating-menu-overlay-widget {
|
|
3564
|
+
padding: 2px 4px;
|
|
3565
|
+
color: var(--vscode-foreground);
|
|
3566
|
+
background-color: var(--vscode-editorWidget-background);
|
|
3567
|
+
border-radius: var(--vscode-cornerRadius-medium);
|
|
3568
|
+
border: 1px solid var(--vscode-contrastBorder);
|
|
3569
|
+
display: flex;
|
|
3570
|
+
align-items: center;
|
|
3571
|
+
justify-content: center;
|
|
3572
|
+
gap: 4px;
|
|
3573
|
+
z-index: 10;
|
|
3574
|
+
box-shadow: var(--vscode-shadow-lg);
|
|
3575
|
+
overflow: hidden;
|
|
3576
|
+
|
|
3577
|
+
&.single-button {
|
|
3578
|
+
background-color: transparent;
|
|
3579
|
+
border-width: 0;
|
|
3580
|
+
padding: 0;
|
|
3581
|
+
overflow: visible;
|
|
3582
|
+
|
|
3583
|
+
.action-item > .action-label,
|
|
3584
|
+
.action-item > .action-label.codicon:not(.separator) {
|
|
3585
|
+
height: 28px;
|
|
3586
|
+
line-height: 28px;
|
|
3587
|
+
border-radius: var(--vscode-cornerRadius-medium);
|
|
3588
|
+
box-shadow: 0 2px 8px var(--vscode-widget-shadow);
|
|
3589
|
+
}
|
|
3590
|
+
|
|
3591
|
+
.action-item > .action-label {
|
|
3592
|
+
padding: 0 8px;
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
.action-item > .action-label.codicon:not(.separator) {
|
|
3596
|
+
width: 28px;
|
|
3597
|
+
}
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
.actions-container {
|
|
3601
|
+
gap: 4px;
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
.action-item > .action-label {
|
|
3605
|
+
padding: 4px 6px;
|
|
3606
|
+
font-size: 11px;
|
|
3607
|
+
line-height: 14px;
|
|
3608
|
+
border-radius: var(--vscode-cornerRadius-small);
|
|
3609
|
+
}
|
|
3610
|
+
|
|
3611
|
+
.action-item > .action-label.codicon:not(.separator) {
|
|
3612
|
+
color: var(--vscode-foreground);
|
|
3613
|
+
width: 22px;
|
|
3614
|
+
height: 22px;
|
|
3615
|
+
padding: 0;
|
|
3616
|
+
font-size: 16px;
|
|
3617
|
+
line-height: 22px;
|
|
3618
|
+
display: flex;
|
|
3619
|
+
align-items: center;
|
|
3620
|
+
justify-content: center;
|
|
3621
|
+
}
|
|
3622
|
+
|
|
3623
|
+
.action-item.primary > .action-label,
|
|
3624
|
+
.action-item.primary > .action-label.action-label.codicon:not(.separator) {
|
|
3625
|
+
background-color: var(--vscode-button-background);
|
|
3626
|
+
color: var(--vscode-button-foreground);
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3629
|
+
.action-item.primary > .action-label:hover {
|
|
3630
|
+
background-color: var(--vscode-button-hoverBackground) !important;
|
|
3631
|
+
}
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3634
|
+
.hc-black .floating-menu-overlay-widget.single-button,
|
|
3635
|
+
.hc-light .floating-menu-overlay-widget.single-button {
|
|
3636
|
+
border-width: 1px;
|
|
3637
|
+
border-style: solid;
|
|
3638
|
+
border-color: var(--vscode-contrastBorder);
|
|
3639
|
+
background-color: var(--vscode-editorWidget-background);
|
|
3640
|
+
padding: 0;
|
|
3641
|
+
.action-item > .action-label,
|
|
3642
|
+
.action-item > .action-label.codicon:not(.separator) {
|
|
3643
|
+
box-shadow: none;
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
/*---------------------------------------------------------------------------------------------
|
|
3647
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3648
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3649
|
+
*--------------------------------------------------------------------------------------------*/
|
|
3650
|
+
|
|
3651
|
+
.monaco-editor .tokens-inspect-widget {
|
|
3652
|
+
z-index: 50;
|
|
3653
|
+
user-select: text;
|
|
3654
|
+
-webkit-user-select: text;
|
|
3655
|
+
padding: 10px;
|
|
3656
|
+
color: var(--vscode-editorHoverWidget-foreground);
|
|
3657
|
+
background-color: var(--vscode-editorHoverWidget-background);
|
|
3658
|
+
border: 1px solid var(--vscode-editorHoverWidget-border);
|
|
3659
|
+
}
|
|
3660
|
+
.monaco-editor.hc-black .tokens-inspect-widget, .monaco-editor.hc-light .tokens-inspect-widget {
|
|
3661
|
+
border-width: 2px;
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
.monaco-editor .tokens-inspect-widget .tokens-inspect-separator {
|
|
3665
|
+
height: 1px;
|
|
3666
|
+
border: 0;
|
|
3667
|
+
background-color: var(--vscode-editorHoverWidget-border);
|
|
3668
|
+
}
|
|
3669
|
+
|
|
3670
|
+
.monaco-editor .tokens-inspect-widget .tm-token {
|
|
3671
|
+
font-family: var(--monaco-monospace-font);
|
|
3672
|
+
}
|
|
3673
|
+
|
|
3674
|
+
.monaco-editor .tokens-inspect-widget .tm-token-length {
|
|
3675
|
+
font-weight: normal;
|
|
3676
|
+
font-size: 60%;
|
|
3677
|
+
float: right;
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
.monaco-editor .tokens-inspect-widget .tm-metadata-table {
|
|
3681
|
+
width: 100%;
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
.monaco-editor .tokens-inspect-widget .tm-metadata-value {
|
|
3685
|
+
font-family: var(--monaco-monospace-font);
|
|
3686
|
+
text-align: right;
|
|
3687
|
+
}
|
|
3688
|
+
|
|
3689
|
+
.monaco-editor .tokens-inspect-widget .tm-token-type {
|
|
3690
|
+
font-family: var(--monaco-monospace-font);
|
|
3691
|
+
}
|