emailengine-app 2.79.8 → 2.79.9

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.
Files changed (133) hide show
  1. package/.github/dependabot.yml +22 -0
  2. package/.github/workflows/test.yml +39 -0
  3. package/.release-please-manifest.json +1 -1
  4. package/CHANGELOG.md +20 -0
  5. package/DOCKER_DEPLOYMENT.md +6 -7
  6. package/Dockerfile +35 -11
  7. package/config/default.toml +2 -1
  8. package/copy-static-files.sh +23 -5
  9. package/data/google-crawlers.json +1 -1
  10. package/lib/account.js +26 -1
  11. package/lib/api-routes/bull-board-routes.js +3 -2
  12. package/lib/api-routes/route-helpers.js +8 -0
  13. package/lib/auth-token.js +73 -2
  14. package/lib/autodetect-imap-settings.js +33 -25
  15. package/lib/consts.js +8 -1
  16. package/lib/egress-fetch.js +133 -0
  17. package/lib/export.js +35 -2
  18. package/lib/handlebars-helpers.js +129 -0
  19. package/lib/imap-proxy-auth.js +41 -21
  20. package/lib/imapproxy/imap-core/README.md +1 -0
  21. package/lib/imapproxy/imap-core/lib/tls-options.js +5 -46
  22. package/lib/imapproxy/imap-server.js +9 -10
  23. package/lib/openapi/index.js +3 -0
  24. package/lib/outbox.js +28 -3
  25. package/lib/rate-limit.js +23 -4
  26. package/lib/schemas.js +10 -3
  27. package/lib/security-headers.js +396 -0
  28. package/lib/sentry.js +36 -4
  29. package/lib/smtp-auth.js +86 -7
  30. package/lib/tools.js +265 -120
  31. package/lib/ui-routes/account-routes.js +4 -3
  32. package/lib/ui-routes/export-routes.js +4 -0
  33. package/lib/ui-routes/mcp-consent-routes.js +7 -0
  34. package/lib/ui-routes/network-config-routes.js +4 -3
  35. package/lib/ui-routes/route-helpers.js +24 -8
  36. package/lib/ui-routes/smtp-test-routes.js +7 -0
  37. package/lib/webhook-egress.js +5 -0
  38. package/package.json +21 -24
  39. package/sbom.json +1 -1
  40. package/server.js +37 -36
  41. package/static/js/ace/css/ace.css +1462 -0
  42. package/static/js/ace/css/kuroir-1.png +0 -0
  43. package/static/js/ace/css/kuroir-2.png +0 -0
  44. package/static/js/ace/css/main-1.png +0 -0
  45. package/static/js/ace/css/main-10.svg +4 -0
  46. package/static/js/ace/css/main-11.svg +5 -0
  47. package/static/js/ace/css/main-12.svg +4 -0
  48. package/static/js/ace/css/main-13.png +0 -0
  49. package/static/js/ace/css/main-14.png +0 -0
  50. package/static/js/ace/css/main-15.png +0 -0
  51. package/static/js/ace/css/main-16.png +0 -0
  52. package/static/js/ace/css/main-17.png +0 -0
  53. package/static/js/ace/css/main-18.png +0 -0
  54. package/static/js/ace/css/main-19.png +0 -0
  55. package/static/js/ace/css/main-2.png +0 -0
  56. package/static/js/ace/css/main-20.png +0 -0
  57. package/static/js/ace/css/main-21.png +0 -0
  58. package/static/js/ace/css/main-22.png +0 -0
  59. package/static/js/ace/css/main-23.png +0 -0
  60. package/static/js/ace/css/main-24.png +0 -0
  61. package/static/js/ace/css/main-25.svg +1 -0
  62. package/static/js/ace/css/main-26.png +0 -0
  63. package/static/js/ace/css/main-3.png +0 -0
  64. package/static/js/ace/css/main-4.png +0 -0
  65. package/static/js/ace/css/main-5.svg +7 -0
  66. package/static/js/ace/css/main-6.svg +9 -0
  67. package/static/js/ace/css/main-7.svg +7 -0
  68. package/static/js/ace/css/main-8.svg +9 -0
  69. package/static/js/ace/css/main-9.svg +6 -0
  70. package/static/js/ace/css/theme/kuroir.css +78 -0
  71. package/static/js/ace/css/theme/tomorrow_night.css +128 -0
  72. package/static/js/ace/css/theme/tomorrow_night_eighties.css +128 -0
  73. package/static/js/ace/css/theme/xcode.css +106 -0
  74. package/static/js/ace/css/tomorrow_night-1.png +0 -0
  75. package/static/js/ace/css/tomorrow_night-2.png +0 -0
  76. package/static/js/ace/css/tomorrow_night_eighties-1.png +0 -0
  77. package/static/js/ace/css/tomorrow_night_eighties-2.png +0 -0
  78. package/static/js/ace/css/xcode-1.png +0 -0
  79. package/static/js/ace/css/xcode-2.png +0 -0
  80. package/static/js/ee-client.js +256 -102
  81. package/static/js/public.js +7 -0
  82. package/static/js/ui.js +32 -0
  83. package/static/licenses.html +331 -291
  84. package/static/vendor/simplewebauthn/browser.min.js +2 -2
  85. package/translations/messages.pot +203 -157
  86. package/views/accounts/account.hbs +15 -37
  87. package/views/accounts/browse.hbs +3 -1
  88. package/views/accounts/edit.hbs +1 -1
  89. package/views/accounts/register/imap-server.hbs +1 -1
  90. package/views/config/ai.hbs +1 -1
  91. package/views/config/branding.hbs +2 -2
  92. package/views/config/document-store/chat.hbs +1 -1
  93. package/views/config/document-store/index.hbs +1 -1
  94. package/views/config/imap-proxy.hbs +1 -1
  95. package/views/config/license.hbs +1 -1
  96. package/views/config/mcp.hbs +1 -1
  97. package/views/config/network.hbs +14 -16
  98. package/views/config/oauth/app.hbs +2 -2
  99. package/views/config/service.hbs +1 -1
  100. package/views/config/smtp.hbs +1 -1
  101. package/views/config/webhooks.hbs +2 -2
  102. package/views/error.hbs +4 -2
  103. package/views/internals/index.hbs +1 -1
  104. package/views/layout/app.hbs +3 -11
  105. package/views/mcp/authorize.hbs +1 -1
  106. package/views/partials/ace_assets.hbs +13 -0
  107. package/views/partials/add_account_modal.hbs +1 -1
  108. package/views/partials/address_list.hbs +4 -4
  109. package/views/partials/filter_editor_js.hbs +2 -2
  110. package/views/partials/gateway_js.hbs +1 -1
  111. package/views/partials/oauth_form.hbs +1 -1
  112. package/views/partials/public_theme_init.hbs +1 -1
  113. package/views/partials/template_form.hbs +2 -2
  114. package/views/partials/test_send.hbs +7 -4
  115. package/views/partials/theme_init.hbs +1 -1
  116. package/views/partials/ui/details.hbs +2 -2
  117. package/views/partials/webhooks_editor_functions.hbs +1 -1
  118. package/views/reference/redirect.hbs +1 -1
  119. package/views/templates/template.hbs +2 -2
  120. package/views/tokens/new.hbs +1 -1
  121. package/views/unsubscribe.hbs +1 -1
  122. package/views/webhooks/webhook.hbs +2 -2
  123. package/workers/api.js +42 -112
  124. package/workers/export.js +1 -5
  125. package/workers/imap.js +1 -3
  126. package/workers/smtp.js +12 -43
  127. package/workers/submit.js +6 -12
  128. package/workers/webhooks.js +6 -17
  129. package/static/front/EmailEngine_logo_horiz.png +0 -0
  130. package/static/front/EmailEngine_logo_vert.png +0 -0
  131. package/static/front/index.html +0 -57
  132. package/static/front/logo.png +0 -0
  133. package/static/vendor/handlebars/handlebars.min-v4.7.9.js +0 -29
@@ -0,0 +1,1462 @@
1
+ /*ace_scrollbar.css*/
2
+ .ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{
3
+ position: absolute;
4
+ background: rgba(128, 128, 128, 0.6);
5
+ -moz-box-sizing: border-box;
6
+ box-sizing: border-box;
7
+ border: 1px solid #bbb;
8
+ border-radius: 2px;
9
+ z-index: 8;
10
+ }
11
+ .ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {
12
+ position: absolute;
13
+ z-index: 6;
14
+ background: none;
15
+ overflow: hidden!important;
16
+ }
17
+ .ace_editor>.ace_sb-v {
18
+ z-index: 6;
19
+ right: 0;
20
+ top: 0;
21
+ width: 12px;
22
+ }
23
+ .ace_editor>.ace_sb-v div {
24
+ z-index: 8;
25
+ right: 0;
26
+ width: 100%;
27
+ }
28
+ .ace_editor>.ace_sb-h {
29
+ bottom: 0;
30
+ left: 0;
31
+ height: 12px;
32
+ }
33
+ .ace_editor>.ace_sb-h div {
34
+ bottom: 0;
35
+ height: 100%;
36
+ }
37
+ .ace_editor>.ace_sb_grabbed {
38
+ z-index: 8;
39
+ background: #000;
40
+ }
41
+ /*ace_editor.css*/
42
+ .ace_br1 {border-top-left-radius : 3px;}
43
+ .ace_br2 {border-top-right-radius : 3px;}
44
+ .ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}
45
+ .ace_br4 {border-bottom-right-radius: 3px;}
46
+ .ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}
47
+ .ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}
48
+ .ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}
49
+ .ace_br8 {border-bottom-left-radius : 3px;}
50
+ .ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}
51
+ .ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}
52
+ .ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}
53
+ .ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
54
+ .ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
55
+ .ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
56
+ .ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
57
+ .ace_editor {
58
+ position: relative;
59
+ overflow: hidden;
60
+ padding: 0;
61
+ font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace;
62
+ direction: ltr;
63
+ text-align: left;
64
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
65
+ forced-color-adjust: none;
66
+ }
67
+ .ace_scroller {
68
+ position: absolute;
69
+ overflow: hidden;
70
+ top: 0;
71
+ bottom: 0;
72
+ background-color: inherit;
73
+ -ms-user-select: none;
74
+ -moz-user-select: none;
75
+ -webkit-user-select: none;
76
+ user-select: none;
77
+ cursor: text;
78
+ }
79
+ .ace_content {
80
+ position: absolute;
81
+ box-sizing: border-box;
82
+ min-width: 100%;
83
+ contain: style size layout;
84
+ font-variant-ligatures: no-common-ligatures;
85
+ }
86
+ .ace_invisible {
87
+ font-variant-ligatures: none;
88
+ }
89
+ .ace_keyboard-focus:focus {
90
+ box-shadow: inset 0 0 0 2px #5E9ED6;
91
+ outline: none;
92
+ }
93
+ .ace_dragging .ace_scroller:before{
94
+ position: absolute;
95
+ top: 0;
96
+ left: 0;
97
+ right: 0;
98
+ bottom: 0;
99
+ content: '';
100
+ background: rgba(250, 250, 250, 0.01);
101
+ z-index: 1000;
102
+ }
103
+ .ace_dragging.ace_dark .ace_scroller:before{
104
+ background: rgba(0, 0, 0, 0.01);
105
+ }
106
+ .ace_gutter {
107
+ position: absolute;
108
+ overflow : hidden;
109
+ width: auto;
110
+ top: 0;
111
+ bottom: 0;
112
+ left: 0;
113
+ cursor: default;
114
+ z-index: 4;
115
+ -ms-user-select: none;
116
+ -moz-user-select: none;
117
+ -webkit-user-select: none;
118
+ user-select: none;
119
+ contain: style size layout;
120
+ }
121
+ .ace_gutter-active-line {
122
+ position: absolute;
123
+ left: 0;
124
+ right: 0;
125
+ }
126
+ .ace_scroller.ace_scroll-left:after {
127
+ content: "";
128
+ position: absolute;
129
+ top: 0;
130
+ right: 0;
131
+ bottom: 0;
132
+ left: 0;
133
+ box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;
134
+ pointer-events: none;
135
+ }
136
+ .ace_gutter-cell, .ace_gutter-cell_svg-icons {
137
+ position: absolute;
138
+ top: 0;
139
+ left: 0;
140
+ right: 0;
141
+ padding-left: 19px;
142
+ padding-right: 6px;
143
+ background-repeat: no-repeat;
144
+ }
145
+ .ace_gutter-cell_svg-icons .ace_gutter_annotation {
146
+ margin-left: -14px;
147
+ float: left;
148
+ }
149
+ .ace_gutter-cell .ace_gutter_annotation {
150
+ margin-left: -19px;
151
+ float: left;
152
+ }
153
+ .ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold, .ace_gutter-cell.ace_security, .ace_icon.ace_security, .ace_icon.ace_security_fold {
154
+ background-image: url("./main-1.png");
155
+ background-repeat: no-repeat;
156
+ background-position: 2px center;
157
+ }
158
+ .ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {
159
+ background-image: url("./main-2.png");
160
+ background-repeat: no-repeat;
161
+ background-position: 2px center;
162
+ }
163
+ .ace_gutter-cell.ace_info, .ace_icon.ace_info, .ace_gutter-cell.ace_hint, .ace_icon.ace_hint {
164
+ background-image: url("./main-3.png");
165
+ background-repeat: no-repeat;
166
+ background-position: 2px center;
167
+ }
168
+ .ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info, .ace_dark .ace_gutter-cell.ace_hint, .ace_dark .ace_icon.ace_hint {
169
+ background-image: url("./main-4.png");
170
+ }
171
+ .ace_icon_svg.ace_error {
172
+ -webkit-mask-image: url("./main-5.svg");
173
+ background-color: crimson;
174
+ }
175
+ .ace_icon_svg.ace_security {
176
+ -webkit-mask-image: url("./main-6.svg");
177
+ background-color: crimson;
178
+ }
179
+ .ace_icon_svg.ace_warning {
180
+ -webkit-mask-image: url("./main-7.svg");
181
+ background-color: darkorange;
182
+ }
183
+ .ace_icon_svg.ace_info {
184
+ -webkit-mask-image: url("./main-8.svg");
185
+ background-color: royalblue;
186
+ }
187
+ .ace_icon_svg.ace_hint {
188
+ -webkit-mask-image: url("./main-9.svg");
189
+ background-color: silver;
190
+ }
191
+ .ace_icon_svg.ace_error_fold {
192
+ -webkit-mask-image: url("./main-10.svg");
193
+ background-color: crimson;
194
+ }
195
+ .ace_icon_svg.ace_security_fold {
196
+ -webkit-mask-image: url("./main-11.svg");
197
+ background-color: crimson;
198
+ }
199
+ .ace_icon_svg.ace_warning_fold {
200
+ -webkit-mask-image: url("./main-12.svg");
201
+ background-color: darkorange;
202
+ }
203
+ .ace_scrollbar {
204
+ contain: strict;
205
+ position: absolute;
206
+ right: 0;
207
+ bottom: 0;
208
+ z-index: 6;
209
+ }
210
+ .ace_scrollbar-inner {
211
+ position: absolute;
212
+ cursor: text;
213
+ left: 0;
214
+ top: 0;
215
+ }
216
+ .ace_scrollbar-v{
217
+ overflow-x: hidden;
218
+ overflow-y: scroll;
219
+ top: 0;
220
+ }
221
+ .ace_scrollbar-h {
222
+ overflow-x: scroll;
223
+ overflow-y: hidden;
224
+ left: 0;
225
+ }
226
+ .ace_print-margin {
227
+ position: absolute;
228
+ height: 100%;
229
+ }
230
+ .ace_text-input {
231
+ position: absolute;
232
+ z-index: 0;
233
+ width: 0.5em;
234
+ height: 1em;
235
+ opacity: 0;
236
+ background: transparent;
237
+ -moz-appearance: none;
238
+ appearance: none;
239
+ border: none;
240
+ resize: none;
241
+ outline: none;
242
+ overflow: hidden;
243
+ font: inherit;
244
+ padding: 0 1px;
245
+ margin: 0 -1px;
246
+ contain: strict;
247
+ -ms-user-select: text;
248
+ -moz-user-select: text;
249
+ -webkit-user-select: text;
250
+ user-select: text;
251
+ /*with `pre-line` chrome inserts   instead of space*/
252
+ white-space: pre!important;
253
+ }
254
+ .ace_text-input.ace_composition {
255
+ background: transparent;
256
+ color: inherit;
257
+ z-index: 1000;
258
+ opacity: 1;
259
+ }
260
+ .ace_composition_placeholder { color: transparent }
261
+ .ace_composition_marker {
262
+ border-bottom: 1px solid;
263
+ position: absolute;
264
+ border-radius: 0;
265
+ margin-top: 1px;
266
+ }
267
+ [ace_nocontext=true] {
268
+ transform: none!important;
269
+ filter: none!important;
270
+ clip-path: none!important;
271
+ mask : none!important;
272
+ contain: none!important;
273
+ perspective: none!important;
274
+ mix-blend-mode: initial!important;
275
+ z-index: auto;
276
+ }
277
+ .ace_layer {
278
+ z-index: 1;
279
+ position: absolute;
280
+ overflow: hidden;
281
+ /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/
282
+ word-wrap: normal;
283
+ white-space: pre;
284
+ height: 100%;
285
+ width: 100%;
286
+ box-sizing: border-box;
287
+ /* setting pointer-events: auto; on node under the mouse, which changes
288
+ during scroll, will break mouse wheel scrolling in Safari */
289
+ pointer-events: none;
290
+ }
291
+ .ace_gutter-layer {
292
+ position: relative;
293
+ width: auto;
294
+ text-align: right;
295
+ pointer-events: auto;
296
+ height: 1000000px;
297
+ contain: style size layout;
298
+ }
299
+ .ace_text-layer {
300
+ font: inherit !important;
301
+ position: absolute;
302
+ height: 1000000px;
303
+ width: 1000000px;
304
+ contain: style size layout;
305
+ }
306
+ .ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {
307
+ contain: style size layout;
308
+ position: absolute;
309
+ top: 0;
310
+ left: 0;
311
+ right: 0;
312
+ }
313
+ .ace_hidpi .ace_text-layer,
314
+ .ace_hidpi .ace_gutter-layer,
315
+ .ace_hidpi .ace_content,
316
+ .ace_hidpi .ace_gutter {
317
+ contain: strict;
318
+ }
319
+ .ace_hidpi .ace_text-layer > .ace_line,
320
+ .ace_hidpi .ace_text-layer > .ace_line_group {
321
+ contain: strict;
322
+ }
323
+ .ace_cjk {
324
+ display: inline-block;
325
+ text-align: center;
326
+ }
327
+ .ace_cursor-layer {
328
+ z-index: 4;
329
+ }
330
+ .ace_cursor {
331
+ z-index: 4;
332
+ position: absolute;
333
+ box-sizing: border-box;
334
+ border-left: 2px solid;
335
+ /* workaround for smooth cursor repaintng whole screen in chrome */
336
+ transform: translatez(0);
337
+ }
338
+ .ace_multiselect .ace_cursor {
339
+ border-left-width: 1px;
340
+ }
341
+ .ace_slim-cursors .ace_cursor {
342
+ border-left-width: 1px;
343
+ }
344
+ .ace_overwrite-cursors .ace_cursor {
345
+ border-left-width: 0;
346
+ border-bottom: 1px solid;
347
+ }
348
+ .ace_hidden-cursors .ace_cursor {
349
+ opacity: 0.2;
350
+ }
351
+ .ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {
352
+ opacity: 0;
353
+ }
354
+ .ace_smooth-blinking .ace_cursor {
355
+ transition: opacity 0.18s;
356
+ }
357
+ .ace_animate-blinking .ace_cursor {
358
+ animation-duration: 1000ms;
359
+ animation-timing-function: step-end;
360
+ animation-name: blink-ace-animate;
361
+ animation-iteration-count: infinite;
362
+ }
363
+ .ace_animate-blinking.ace_smooth-blinking .ace_cursor {
364
+ animation-duration: 1000ms;
365
+ animation-timing-function: ease-in-out;
366
+ animation-name: blink-ace-animate-smooth;
367
+ }
368
+ @keyframes blink-ace-animate {
369
+ from, to { opacity: 1; }
370
+ 60% { opacity: 0; }
371
+ }
372
+ @keyframes blink-ace-animate-smooth {
373
+ from, to { opacity: 1; }
374
+ 45% { opacity: 1; }
375
+ 60% { opacity: 0; }
376
+ 85% { opacity: 0; }
377
+ }
378
+ .ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {
379
+ position: absolute;
380
+ z-index: 3;
381
+ }
382
+ .ace_marker-layer .ace_selection {
383
+ position: absolute;
384
+ z-index: 5;
385
+ }
386
+ .ace_marker-layer .ace_bracket {
387
+ position: absolute;
388
+ z-index: 6;
389
+ }
390
+ .ace_marker-layer .ace_error_bracket {
391
+ position: absolute;
392
+ border-bottom: 1px solid #DE5555;
393
+ border-radius: 0;
394
+ }
395
+ .ace_marker-layer .ace_active-line {
396
+ position: absolute;
397
+ z-index: 2;
398
+ }
399
+ .ace_marker-layer .ace_selected-word {
400
+ position: absolute;
401
+ z-index: 4;
402
+ box-sizing: border-box;
403
+ }
404
+ .ace_line .ace_fold {
405
+ box-sizing: border-box;
406
+ display: inline-block;
407
+ height: 11px;
408
+ margin-top: -2px;
409
+ vertical-align: middle;
410
+ background-image:
411
+ url("./main-13.png"),
412
+ url("./main-14.png");
413
+ background-repeat: no-repeat, repeat-x;
414
+ background-position: center center, top left;
415
+ color: transparent;
416
+ border: 1px solid black;
417
+ border-radius: 2px;
418
+ cursor: pointer;
419
+ pointer-events: auto;
420
+ }
421
+ .ace_dark .ace_fold {
422
+ }
423
+ .ace_fold:hover{
424
+ background-image:
425
+ url("./main-15.png"),
426
+ url("./main-16.png");
427
+ }
428
+ .ace_tooltip {
429
+ background-color: #f5f5f5;
430
+ border: 1px solid gray;
431
+ border-radius: 1px;
432
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
433
+ color: black;
434
+ padding: 3px 4px;
435
+ position: fixed;
436
+ z-index: 999999;
437
+ box-sizing: border-box;
438
+ cursor: default;
439
+ white-space: pre-wrap;
440
+ word-wrap: break-word;
441
+ line-height: normal;
442
+ font-style: normal;
443
+ font-weight: normal;
444
+ letter-spacing: normal;
445
+ pointer-events: none;
446
+ overflow: auto;
447
+ max-width: min(33em, 66vw);
448
+ overscroll-behavior: contain;
449
+ }
450
+ .ace_tooltip pre {
451
+ white-space: pre-wrap;
452
+ }
453
+ .ace_tooltip.ace_dark {
454
+ background-color: #636363;
455
+ color: #fff;
456
+ }
457
+ .ace_tooltip:focus {
458
+ outline: 1px solid #5E9ED6;
459
+ }
460
+ .ace_icon {
461
+ display: inline-block;
462
+ width: 18px;
463
+ vertical-align: top;
464
+ }
465
+ .ace_icon_svg {
466
+ display: inline-block;
467
+ width: 12px;
468
+ vertical-align: top;
469
+ -webkit-mask-repeat: no-repeat;
470
+ -webkit-mask-size: 12px;
471
+ -webkit-mask-position: center;
472
+ }
473
+ .ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {
474
+ padding-right: 13px;
475
+ }
476
+ .ace_fold-widget, .ace_custom-widget {
477
+ box-sizing: border-box;
478
+ margin: 0 -12px 0 1px;
479
+ display: none;
480
+ width: 11px;
481
+ vertical-align: top;
482
+ background-image: url("./main-17.png");
483
+ background-repeat: no-repeat;
484
+ background-position: center;
485
+ border-radius: 3px;
486
+ border: 1px solid transparent;
487
+ cursor: pointer;
488
+ pointer-events: auto;
489
+ }
490
+ .ace_custom-widget {
491
+ background: none;
492
+ }
493
+ .ace_folding-enabled .ace_fold-widget {
494
+ display: inline-block;
495
+ }
496
+ .ace_fold-widget.ace_end {
497
+ background-image: url("./main-18.png");
498
+ }
499
+ .ace_fold-widget.ace_closed {
500
+ background-image: url("./main-19.png");
501
+ }
502
+ .ace_fold-widget:hover {
503
+ border: 1px solid rgba(0, 0, 0, 0.3);
504
+ background-color: rgba(255, 255, 255, 0.2);
505
+ box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
506
+ }
507
+ .ace_fold-widget:active {
508
+ border: 1px solid rgba(0, 0, 0, 0.4);
509
+ background-color: rgba(0, 0, 0, 0.05);
510
+ box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
511
+ }
512
+ /**
513
+ * Dark version for fold widgets
514
+ */
515
+ .ace_dark .ace_fold-widget {
516
+ background-image: url("./main-20.png");
517
+ }
518
+ .ace_dark .ace_fold-widget.ace_end {
519
+ background-image: url("./main-21.png");
520
+ }
521
+ .ace_dark .ace_fold-widget.ace_closed {
522
+ background-image: url("./main-22.png");
523
+ }
524
+ .ace_dark .ace_fold-widget:hover {
525
+ box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
526
+ background-color: rgba(255, 255, 255, 0.1);
527
+ }
528
+ .ace_dark .ace_fold-widget:active {
529
+ box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
530
+ }
531
+ .ace_inline_button {
532
+ border: 1px solid lightgray;
533
+ display: inline-block;
534
+ margin: -1px 8px;
535
+ padding: 0 5px;
536
+ pointer-events: auto;
537
+ cursor: pointer;
538
+ }
539
+ .ace_inline_button:hover {
540
+ border-color: gray;
541
+ background: rgba(200,200,200,0.2);
542
+ display: inline-block;
543
+ pointer-events: auto;
544
+ }
545
+ .ace_fold-widget.ace_invalid {
546
+ background-color: #FFB4B4;
547
+ border-color: #DE5555;
548
+ }
549
+ .ace_fade-fold-widgets .ace_fold-widget {
550
+ transition: opacity 0.4s ease 0.05s;
551
+ opacity: 0;
552
+ }
553
+ .ace_fade-fold-widgets:hover .ace_fold-widget {
554
+ transition: opacity 0.05s ease 0.05s;
555
+ opacity:1;
556
+ }
557
+ .ace_underline {
558
+ text-decoration: underline;
559
+ }
560
+ .ace_bold {
561
+ font-weight: bold;
562
+ }
563
+ .ace_nobold .ace_bold {
564
+ font-weight: normal;
565
+ }
566
+ .ace_italic {
567
+ font-style: italic;
568
+ }
569
+ .ace_error-marker {
570
+ background-color: rgba(255, 0, 0,0.2);
571
+ position: absolute;
572
+ z-index: 9;
573
+ }
574
+ .ace_highlight-marker {
575
+ background-color: rgba(255, 255, 0,0.2);
576
+ position: absolute;
577
+ z-index: 8;
578
+ }
579
+ .ace_mobile-menu {
580
+ position: absolute;
581
+ line-height: 1.5;
582
+ border-radius: 4px;
583
+ -ms-user-select: none;
584
+ -moz-user-select: none;
585
+ -webkit-user-select: none;
586
+ user-select: none;
587
+ background: white;
588
+ box-shadow: 1px 3px 2px grey;
589
+ border: 1px solid #dcdcdc;
590
+ color: black;
591
+ }
592
+ .ace_dark > .ace_mobile-menu {
593
+ background: #333;
594
+ color: #ccc;
595
+ box-shadow: 1px 3px 2px grey;
596
+ border: 1px solid #444;
597
+ }
598
+ .ace_mobile-button {
599
+ padding: 2px;
600
+ cursor: pointer;
601
+ overflow: hidden;
602
+ }
603
+ .ace_mobile-button:hover {
604
+ background-color: #eee;
605
+ opacity:1;
606
+ }
607
+ .ace_mobile-button:active {
608
+ background-color: #ddd;
609
+ }
610
+ .ace_placeholder {
611
+ position: relative;
612
+ font-family: arial;
613
+ transform: scale(0.9);
614
+ transform-origin: left;
615
+ white-space: pre;
616
+ opacity: 0.7;
617
+ margin: 0 10px;
618
+ z-index: 1;
619
+ }
620
+ .ace_ghost_text {
621
+ opacity: 0.5;
622
+ font-style: italic;
623
+ }
624
+ .ace_ghost_text_container > div {
625
+ white-space: pre;
626
+ }
627
+ .ghost_text_line_wrapped::after {
628
+ content: "↩";
629
+ position: absolute;
630
+ }
631
+ .ace_lineWidgetContainer.ace_ghost_text {
632
+ margin: 0px 4px
633
+ }
634
+ .ace_screenreader-only {
635
+ position:absolute;
636
+ left:-10000px;
637
+ top:auto;
638
+ width:1px;
639
+ height:1px;
640
+ overflow:hidden;
641
+ }
642
+ .ace_hidden_token {
643
+ display: none;
644
+ }
645
+ /*ace-tm*/
646
+ .ace-tm .ace_gutter {
647
+ background: #f0f0f0;
648
+ color: #333;
649
+ }
650
+ .ace-tm .ace_print-margin {
651
+ width: 1px;
652
+ background: #e8e8e8;
653
+ }
654
+ .ace-tm .ace_fold {
655
+ background-color: #6B72E6;
656
+ }
657
+ .ace-tm {
658
+ background-color: #FFFFFF;
659
+ color: black;
660
+ }
661
+ .ace-tm .ace_cursor {
662
+ color: black;
663
+ }
664
+ .ace-tm .ace_invisible {
665
+ color: rgb(191, 191, 191);
666
+ }
667
+ .ace-tm .ace_storage,
668
+ .ace-tm .ace_keyword {
669
+ color: blue;
670
+ }
671
+ .ace-tm .ace_constant {
672
+ color: rgb(197, 6, 11);
673
+ }
674
+ .ace-tm .ace_constant.ace_buildin {
675
+ color: rgb(88, 72, 246);
676
+ }
677
+ .ace-tm .ace_constant.ace_language {
678
+ color: rgb(88, 92, 246);
679
+ }
680
+ .ace-tm .ace_constant.ace_library {
681
+ color: rgb(6, 150, 14);
682
+ }
683
+ .ace-tm .ace_invalid {
684
+ background-color: rgba(255, 0, 0, 0.1);
685
+ color: red;
686
+ }
687
+ .ace-tm .ace_support.ace_function {
688
+ color: rgb(60, 76, 114);
689
+ }
690
+ .ace-tm .ace_support.ace_constant {
691
+ color: rgb(6, 150, 14);
692
+ }
693
+ .ace-tm .ace_support.ace_type,
694
+ .ace-tm .ace_support.ace_class {
695
+ color: rgb(109, 121, 222);
696
+ }
697
+ .ace-tm .ace_keyword.ace_operator {
698
+ color: rgb(104, 118, 135);
699
+ }
700
+ .ace-tm .ace_string {
701
+ color: rgb(3, 106, 7);
702
+ }
703
+ .ace-tm .ace_comment {
704
+ color: rgb(76, 136, 107);
705
+ }
706
+ .ace-tm .ace_comment.ace_doc {
707
+ color: rgb(0, 102, 255);
708
+ }
709
+ .ace-tm .ace_comment.ace_doc.ace_tag {
710
+ color: rgb(128, 159, 191);
711
+ }
712
+ .ace-tm .ace_constant.ace_numeric {
713
+ color: rgb(0, 0, 205);
714
+ }
715
+ .ace-tm .ace_variable {
716
+ color: rgb(49, 132, 149);
717
+ }
718
+ .ace-tm .ace_xml-pe {
719
+ color: rgb(104, 104, 91);
720
+ }
721
+ .ace-tm .ace_entity.ace_name.ace_function {
722
+ color: #0000A2;
723
+ }
724
+ .ace-tm .ace_heading {
725
+ color: rgb(12, 7, 255);
726
+ }
727
+ .ace-tm .ace_list {
728
+ color:rgb(185, 6, 144);
729
+ }
730
+ .ace-tm .ace_meta.ace_tag {
731
+ color:rgb(0, 22, 142);
732
+ }
733
+ .ace-tm .ace_string.ace_regex {
734
+ color: rgb(255, 0, 0)
735
+ }
736
+ .ace-tm .ace_marker-layer .ace_selection {
737
+ background: rgb(181, 213, 255);
738
+ }
739
+ .ace-tm.ace_multiselect .ace_selection.ace_start {
740
+ box-shadow: 0 0 3px 0px white;
741
+ }
742
+ .ace-tm .ace_marker-layer .ace_step {
743
+ background: rgb(252, 255, 0);
744
+ }
745
+ .ace-tm .ace_marker-layer .ace_stack {
746
+ background: rgb(164, 229, 101);
747
+ }
748
+ .ace-tm .ace_marker-layer .ace_bracket {
749
+ margin: -1px 0 0 -1px;
750
+ border: 1px solid rgb(192, 192, 192);
751
+ }
752
+ .ace-tm .ace_marker-layer .ace_active-line {
753
+ background: rgba(0, 0, 0, 0.07);
754
+ }
755
+ .ace-tm .ace_gutter-active-line {
756
+ background-color : #dcdcdc;
757
+ }
758
+ .ace-tm .ace_marker-layer .ace_selected-word {
759
+ background: rgb(250, 250, 255);
760
+ border: 1px solid rgb(200, 200, 250);
761
+ }
762
+ .ace-tm .ace_indent-guide {
763
+ background: url("./main-23.png") right repeat-y;
764
+ }
765
+ .ace-tm .ace_indent-guide-active {
766
+ background: url("./main-24.png") right repeat-y;
767
+ }
768
+ /*error_marker.css*/
769
+ .error_widget_wrapper {
770
+ background: inherit;
771
+ color: inherit;
772
+ border:none
773
+ }
774
+ .error_widget {
775
+ border-top: solid 2px;
776
+ border-bottom: solid 2px;
777
+ margin: 5px 0;
778
+ padding: 10px 40px;
779
+ white-space: pre-wrap;
780
+ }
781
+ .error_widget.ace_error, .error_widget_arrow.ace_error{
782
+ border-color: #ff5a5a
783
+ }
784
+ .error_widget.ace_warning, .error_widget_arrow.ace_warning{
785
+ border-color: #F1D817
786
+ }
787
+ .error_widget.ace_info, .error_widget_arrow.ace_info{
788
+ border-color: #5a5a5a
789
+ }
790
+ .error_widget.ace_ok, .error_widget_arrow.ace_ok{
791
+ border-color: #5aaa5a
792
+ }
793
+ .error_widget_arrow {
794
+ position: absolute;
795
+ border: solid 5px;
796
+ border-top-color: transparent!important;
797
+ border-right-color: transparent!important;
798
+ border-left-color: transparent!important;
799
+ top: -5px;
800
+ }
801
+ /*codelense.css*/
802
+ .ace_codeLens {
803
+ position: absolute;
804
+ color: #aaa;
805
+ font-size: 88%;
806
+ background: inherit;
807
+ width: 100%;
808
+ display: flex;
809
+ align-items: flex-end;
810
+ pointer-events: none;
811
+ }
812
+ .ace_codeLens > a {
813
+ cursor: pointer;
814
+ pointer-events: auto;
815
+ }
816
+ .ace_codeLens > a:hover {
817
+ color: #0000ff;
818
+ text-decoration: underline;
819
+ }
820
+ .ace_dark > .ace_codeLens > a:hover {
821
+ color: #4e94ce;
822
+ }
823
+ /*commandbar.css*/
824
+ .ace_tooltip.command_bar_tooltip_wrapper {
825
+ padding: 0;
826
+ }
827
+ .ace_tooltip .command_bar_tooltip {
828
+ padding: 1px 5px;
829
+ display: flex;
830
+ pointer-events: auto;
831
+ }
832
+ .ace_tooltip .command_bar_tooltip.tooltip_more_options {
833
+ padding: 1px;
834
+ flex-direction: column;
835
+ }
836
+ div.command_bar_tooltip_button {
837
+ display: inline-flex;
838
+ cursor: pointer;
839
+ margin: 1px;
840
+ border-radius: 2px;
841
+ padding: 2px 5px;
842
+ align-items: center;
843
+ }
844
+ div.command_bar_tooltip_button.ace_selected,
845
+ div.command_bar_tooltip_button:hover:not(.ace_disabled) {
846
+ background-color: rgba(0, 0, 0, 0.1);
847
+ }
848
+ div.command_bar_tooltip_button.ace_disabled {
849
+ color: #777;
850
+ pointer-events: none;
851
+ }
852
+ div.command_bar_tooltip_button .ace_icon_svg {
853
+ height: 12px;
854
+ background-color: #000;
855
+ }
856
+ div.command_bar_tooltip_button.ace_disabled .ace_icon_svg {
857
+ background-color: #777;
858
+ }
859
+ .command_bar_tooltip.tooltip_more_options .command_bar_tooltip_button {
860
+ display: flex;
861
+ }
862
+ .command_bar_tooltip.command_bar_button_value {
863
+ display: none;
864
+ }
865
+ .command_bar_tooltip.tooltip_more_options .command_bar_button_value {
866
+ display: inline-block;
867
+ width: 12px;
868
+ }
869
+ .command_bar_button_caption {
870
+ display: inline-block;
871
+ }
872
+ .command_bar_keybinding {
873
+ margin: 0 2px;
874
+ display: inline-block;
875
+ font-size: 8px;
876
+ }
877
+ .command_bar_tooltip.tooltip_more_options .command_bar_keybinding {
878
+ margin-left: auto;
879
+ }
880
+ .command_bar_keybinding div {
881
+ display: inline-block;
882
+ min-width: 8px;
883
+ padding: 2px;
884
+ margin: 0 1px;
885
+ border-radius: 2px;
886
+ background-color: #ccc;
887
+ text-align: center;
888
+ }
889
+ .ace_dark.ace_tooltip .command_bar_tooltip {
890
+ background-color: #373737;
891
+ color: #eee;
892
+ }
893
+ .ace_dark div.command_bar_tooltip_button.ace_disabled {
894
+ color: #979797;
895
+ }
896
+ .ace_dark div.command_bar_tooltip_button.ace_selected,
897
+ .ace_dark div.command_bar_tooltip_button:hover:not(.ace_disabled) {
898
+ background-color: rgba(255, 255, 255, 0.1);
899
+ }
900
+ .ace_dark div.command_bar_tooltip_button .ace_icon_svg {
901
+ background-color: #eee;
902
+ }
903
+ .ace_dark div.command_bar_tooltip_button.ace_disabled .ace_icon_svg {
904
+ background-color: #979797;
905
+ }
906
+ .ace_dark .command_bar_tooltip_button.ace_disabled {
907
+ color: #979797;
908
+ }
909
+ .ace_dark .command_bar_keybinding div {
910
+ background-color: #575757;
911
+ }
912
+ .ace_checkmark::before {
913
+ content: '✓';
914
+ }
915
+ /*diffview.css*/
916
+ /*
917
+ * Line Markers
918
+ */
919
+ .ace_diff {
920
+ position: absolute;
921
+ z-index: 0;
922
+ }
923
+ .ace_diff.inline {
924
+ z-index: 20;
925
+ }
926
+ /*
927
+ * Light Colors
928
+ */
929
+ .ace_diff.insert {
930
+ background-color: #EFFFF1;
931
+ }
932
+ .ace_diff.delete {
933
+ background-color: #FFF1F1;
934
+ }
935
+ .ace_diff.aligned_diff {
936
+ background: rgba(206, 194, 191, 0.26);
937
+ background: repeating-linear-gradient(
938
+ 45deg,
939
+ rgba(122, 111, 108, 0.26),
940
+ rgba(122, 111, 108, 0.26) 5px,
941
+ rgba(0, 0, 0, 0) 5px,
942
+ rgba(0, 0, 0, 0) 10px
943
+ );
944
+ }
945
+ .ace_diff.insert.inline {
946
+ background-color: rgb(74 251 74 / 18%);
947
+ }
948
+ .ace_diff.delete.inline {
949
+ background-color: rgb(251 74 74 / 15%);
950
+ }
951
+ .ace_diff.delete.inline.empty {
952
+ background-color: rgba(255, 128, 79, 0.7);
953
+ width: 2px !important;
954
+ }
955
+ .ace_diff.insert.inline.empty {
956
+ background-color: rgba(49, 230, 96, 0.7);
957
+ width: 2px !important;
958
+ }
959
+ .ace_diff-active-line {
960
+ border-bottom: 1px solid;
961
+ border-top: 1px solid;
962
+ background: transparent;
963
+ position: absolute;
964
+ box-sizing: border-box;
965
+ border-color: #9191ac;
966
+ }
967
+ .ace_dark .ace_diff-active-line {
968
+ background: transparent;
969
+ border-color: #75777a;
970
+ }
971
+ /* gutter changes */
972
+ .ace_mini-diff_gutter-enabled > .ace_gutter-cell,
973
+ .ace_mini-diff_gutter-enabled > .ace_gutter-cell_svg-icons {
974
+ padding-right: 13px;
975
+ }
976
+ .ace_mini-diff_gutter_other > .ace_gutter-cell,
977
+ .ace_mini-diff_gutter_other > .ace_gutter-cell_svg-icons {
978
+ display: none;
979
+ }
980
+ .ace_mini-diff_gutter_other {
981
+ pointer-events: none;
982
+ }
983
+ .ace_mini-diff_gutter-enabled > .mini-diff-added {
984
+ background-color: #EFFFF1;
985
+ border-left: 3px solid #2BB534;
986
+ padding-left: 16px;
987
+ display: block;
988
+ }
989
+ .ace_mini-diff_gutter-enabled > .mini-diff-deleted {
990
+ background-color: #FFF1F1;
991
+ border-left: 3px solid #EA7158;
992
+ padding-left: 16px;
993
+ display: block;
994
+ }
995
+ .ace_mini-diff_gutter-enabled > .mini-diff-added:after {
996
+ position: absolute;
997
+ right: 2px;
998
+ content: "+";
999
+ background-color: inherit;
1000
+ }
1001
+ .ace_mini-diff_gutter-enabled > .mini-diff-deleted:after {
1002
+ position: absolute;
1003
+ right: 2px;
1004
+ content: "-";
1005
+ background-color: inherit;
1006
+ }
1007
+ .ace_fade-fold-widgets:hover > .ace_folding-enabled > .mini-diff-added:after,
1008
+ .ace_fade-fold-widgets:hover > .ace_folding-enabled > .mini-diff-deleted:after {
1009
+ display: none;
1010
+ }
1011
+ .ace_diff_other .ace_selection {
1012
+ filter: drop-shadow(1px 2px 3px darkgray);
1013
+ }
1014
+ .ace_hidden_marker-layer .ace_bracket,
1015
+ .ace_hidden_marker-layer .ace_error_bracket {
1016
+ display: none;
1017
+ }
1018
+ /*
1019
+ * Dark Colors
1020
+ */
1021
+ .ace_dark .ace_diff.insert {
1022
+ background-color: #212E25;
1023
+ }
1024
+ .ace_dark .ace_diff.delete {
1025
+ background-color: #3F2222;
1026
+ }
1027
+ .ace_dark .ace_mini-diff_gutter-enabled > .mini-diff-added {
1028
+ background-color: #212E25;
1029
+ border-left-color:#00802F;
1030
+ }
1031
+ .ace_dark .ace_mini-diff_gutter-enabled > .mini-diff-deleted {
1032
+ background-color: #3F2222;
1033
+ border-left-color: #9C3838;
1034
+ }
1035
+ /*snippets.css*/
1036
+ .ace_snippet-marker {
1037
+ -moz-box-sizing: border-box;
1038
+ box-sizing: border-box;
1039
+ background: rgba(194, 193, 208, 0.09);
1040
+ border: 1px dotted rgba(211, 208, 235, 0.62);
1041
+ position: absolute;
1042
+ }
1043
+ /*autocompletion.css*/
1044
+ .ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
1045
+ background-color: #CAD6FA;
1046
+ z-index: 1;
1047
+ }
1048
+ .ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
1049
+ background-color: #3a674e;
1050
+ }
1051
+ .ace_editor.ace_autocomplete .ace_line-hover {
1052
+ border: 1px solid #abbffe;
1053
+ margin-top: -1px;
1054
+ background: rgba(233,233,253,0.4);
1055
+ position: absolute;
1056
+ z-index: 2;
1057
+ }
1058
+ .ace_dark.ace_editor.ace_autocomplete .ace_line-hover {
1059
+ border: 1px solid rgba(109, 150, 13, 0.8);
1060
+ background: rgba(58, 103, 78, 0.62);
1061
+ }
1062
+ .ace_completion-meta {
1063
+ opacity: 0.5;
1064
+ margin-left: 0.9em;
1065
+ }
1066
+ .ace_completion-message {
1067
+ margin-left: 0.9em;
1068
+ color: blue;
1069
+ }
1070
+ .ace_editor.ace_autocomplete .ace_completion-highlight{
1071
+ color: #2d69c7;
1072
+ }
1073
+ .ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{
1074
+ color: #93ca12;
1075
+ }
1076
+ .ace_editor.ace_autocomplete {
1077
+ width: 300px;
1078
+ z-index: 200000;
1079
+ border: 1px lightgray solid;
1080
+ position: fixed;
1081
+ box-shadow: 2px 3px 5px rgba(0,0,0,.2);
1082
+ line-height: 1.4;
1083
+ background: #fefefe;
1084
+ color: #111;
1085
+ }
1086
+ .ace_dark.ace_editor.ace_autocomplete {
1087
+ border: 1px #484747 solid;
1088
+ box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51);
1089
+ line-height: 1.4;
1090
+ background: #25282c;
1091
+ color: #c1c1c1;
1092
+ }
1093
+ .ace_autocomplete .ace_text-layer {
1094
+ width: calc(100% - 8px);
1095
+ }
1096
+ .ace_autocomplete .ace_line {
1097
+ display: flex;
1098
+ align-items: center;
1099
+ }
1100
+ .ace_autocomplete .ace_line > * {
1101
+ min-width: 0;
1102
+ flex: 0 0 auto;
1103
+ }
1104
+ .ace_autocomplete .ace_line .ace_ {
1105
+ flex: 0 1 auto;
1106
+ overflow: hidden;
1107
+ text-overflow: ellipsis;
1108
+ }
1109
+ .ace_autocomplete .ace_completion-spacer {
1110
+ flex: 1;
1111
+ }
1112
+ .ace_autocomplete.ace_loading:after {
1113
+ content: "";
1114
+ position: absolute;
1115
+ top: 0px;
1116
+ height: 2px;
1117
+ width: 8%;
1118
+ background: blue;
1119
+ z-index: 100;
1120
+ animation: ace_progress 3s infinite linear;
1121
+ animation-delay: 300ms;
1122
+ transform: translateX(-100%) scaleX(1);
1123
+ }
1124
+ @keyframes ace_progress {
1125
+ 0% { transform: translateX(-100%) scaleX(1) }
1126
+ 50% { transform: translateX(625%) scaleX(2) }
1127
+ 100% { transform: translateX(1500%) scaleX(3) }
1128
+ }
1129
+ @media (prefers-reduced-motion) {
1130
+ .ace_autocomplete.ace_loading:after {
1131
+ transform: translateX(625%) scaleX(2);
1132
+ animation: none;
1133
+ }
1134
+ }
1135
+ /*inlineautocomplete.css*/
1136
+ .ace_icon_svg.ace_arrow,
1137
+ .ace_icon_svg.ace_arrow_rotated {
1138
+ -webkit-mask-image: url("./main-25.svg");
1139
+ }
1140
+ .ace_icon_svg.ace_arrow_rotated {
1141
+ transform: rotate(180deg);
1142
+ }
1143
+ div.command_bar_tooltip_button.completion_position {
1144
+ padding: 0;
1145
+ }
1146
+ /*settings_menu.css*/
1147
+ #ace_settingsmenu, #kbshortcutmenu {
1148
+ background-color: #F7F7F7;
1149
+ color: black;
1150
+ box-shadow: -5px 4px 5px rgba(126, 126, 126, 0.55);
1151
+ padding: 1em 0.5em 2em 1em;
1152
+ overflow: auto;
1153
+ position: absolute;
1154
+ margin: 0;
1155
+ bottom: 0;
1156
+ right: 0;
1157
+ top: 0;
1158
+ z-index: 9991;
1159
+ cursor: default;
1160
+ }
1161
+ .ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {
1162
+ box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);
1163
+ background-color: rgba(255, 255, 255, 0.6);
1164
+ color: black;
1165
+ }
1166
+ .ace_optionsMenuEntry:hover {
1167
+ background-color: rgba(100, 100, 100, 0.1);
1168
+ transition: all 0.3s
1169
+ }
1170
+ .ace_closeButton {
1171
+ background: rgba(245, 146, 146, 0.5);
1172
+ border: 1px solid #F48A8A;
1173
+ border-radius: 50%;
1174
+ padding: 7px;
1175
+ position: absolute;
1176
+ right: -8px;
1177
+ top: -8px;
1178
+ z-index: 100000;
1179
+ }
1180
+ .ace_closeButton{
1181
+ background: rgba(245, 146, 146, 0.9);
1182
+ }
1183
+ .ace_optionsMenuKey {
1184
+ color: darkslateblue;
1185
+ font-weight: bold;
1186
+ }
1187
+ .ace_optionsMenuCommand {
1188
+ color: darkcyan;
1189
+ font-weight: normal;
1190
+ }
1191
+ .ace_optionsMenuEntry input, .ace_optionsMenuEntry button {
1192
+ vertical-align: middle;
1193
+ }
1194
+ .ace_optionsMenuEntry button[ace_selected_button=true] {
1195
+ background: #e7e7e7;
1196
+ box-shadow: 1px 0px 2px 0px #adadad inset;
1197
+ border-color: #adadad;
1198
+ }
1199
+ .ace_optionsMenuEntry button {
1200
+ background: white;
1201
+ border: 1px solid lightgray;
1202
+ margin: 0px;
1203
+ }
1204
+ .ace_optionsMenuEntry button:hover{
1205
+ background: #f0f0f0;
1206
+ }
1207
+ /*promtp.css*/
1208
+ .ace_prompt_container {
1209
+ max-width: 603px;
1210
+ width: 100%;
1211
+ margin: 20px auto;
1212
+ padding: 3px;
1213
+ background: white;
1214
+ border-radius: 2px;
1215
+ box-shadow: 0px 2px 3px 0px #555;
1216
+ }
1217
+ /*ace_searchbox*/
1218
+ /* ------------------------------------------------------------------------------------------
1219
+ * Editor Search Form
1220
+ * --------------------------------------------------------------------------------------- */
1221
+ .ace_search {
1222
+ background-color: #ddd;
1223
+ color: #666;
1224
+ border: 1px solid #cbcbcb;
1225
+ border-top: 0 none;
1226
+ overflow: hidden;
1227
+ margin: 0;
1228
+ padding: 4px 6px 0 4px;
1229
+ position: absolute;
1230
+ top: 0;
1231
+ z-index: 99;
1232
+ white-space: normal;
1233
+ }
1234
+ .ace_search.left {
1235
+ border-left: 0 none;
1236
+ border-radius: 0px 0px 5px 0px;
1237
+ left: 0;
1238
+ }
1239
+ .ace_search.right {
1240
+ border-radius: 0px 0px 0px 5px;
1241
+ border-right: 0 none;
1242
+ right: 0;
1243
+ }
1244
+ .ace_search_form, .ace_replace_form {
1245
+ margin: 0 20px 4px 0;
1246
+ overflow: hidden;
1247
+ line-height: 1.9;
1248
+ }
1249
+ .ace_replace_form {
1250
+ margin-right: 0;
1251
+ }
1252
+ .ace_search_form.ace_nomatch {
1253
+ outline: 1px solid red;
1254
+ }
1255
+ .ace_search_field {
1256
+ border-radius: 3px 0 0 3px;
1257
+ background-color: white;
1258
+ color: black;
1259
+ border: 1px solid #cbcbcb;
1260
+ border-right: 0 none;
1261
+ outline: 0;
1262
+ padding: 0;
1263
+ font-size: inherit;
1264
+ margin: 0;
1265
+ line-height: inherit;
1266
+ padding: 0 6px;
1267
+ min-width: 17em;
1268
+ vertical-align: top;
1269
+ min-height: 1.8em;
1270
+ box-sizing: content-box;
1271
+ }
1272
+ .ace_searchbtn {
1273
+ border: 1px solid #cbcbcb;
1274
+ line-height: inherit;
1275
+ display: inline-block;
1276
+ padding: 0 6px;
1277
+ background: #fff;
1278
+ border-right: 0 none;
1279
+ border-left: 1px solid #dcdcdc;
1280
+ cursor: pointer;
1281
+ margin: 0;
1282
+ position: relative;
1283
+ color: #666;
1284
+ }
1285
+ .ace_searchbtn:last-child {
1286
+ border-radius: 0 3px 3px 0;
1287
+ border-right: 1px solid #cbcbcb;
1288
+ }
1289
+ .ace_searchbtn:disabled {
1290
+ background: none;
1291
+ cursor: default;
1292
+ }
1293
+ .ace_searchbtn:hover {
1294
+ background-color: #eef1f6;
1295
+ }
1296
+ .ace_searchbtn.prev, .ace_searchbtn.next {
1297
+ padding: 0px 0.7em
1298
+ }
1299
+ .ace_searchbtn.prev:after, .ace_searchbtn.next:after {
1300
+ content: "";
1301
+ border: solid 2px #888;
1302
+ width: 0.5em;
1303
+ height: 0.5em;
1304
+ border-width: 2px 0 0 2px;
1305
+ display:inline-block;
1306
+ transform: rotate(-45deg);
1307
+ }
1308
+ .ace_searchbtn.next:after {
1309
+ border-width: 0 2px 2px 0 ;
1310
+ }
1311
+ .ace_searchbtn_close {
1312
+ background: url("./main-26.png") no-repeat 50% 0;
1313
+ border-radius: 50%;
1314
+ border: 0 none;
1315
+ color: #656565;
1316
+ cursor: pointer;
1317
+ font: 16px/16px Arial;
1318
+ padding: 0;
1319
+ height: 14px;
1320
+ width: 14px;
1321
+ top: 9px;
1322
+ right: 7px;
1323
+ position: absolute;
1324
+ }
1325
+ .ace_searchbtn_close:hover {
1326
+ background-color: #656565;
1327
+ background-position: 50% 100%;
1328
+ color: white;
1329
+ }
1330
+ .ace_button {
1331
+ margin-left: 2px;
1332
+ cursor: pointer;
1333
+ -webkit-user-select: none;
1334
+ -moz-user-select: none;
1335
+ -o-user-select: none;
1336
+ -ms-user-select: none;
1337
+ user-select: none;
1338
+ overflow: hidden;
1339
+ opacity: 0.7;
1340
+ border: 1px solid rgba(100,100,100,0.23);
1341
+ padding: 1px;
1342
+ box-sizing: border-box!important;
1343
+ color: black;
1344
+ }
1345
+ .ace_button:hover {
1346
+ background-color: #eee;
1347
+ opacity:1;
1348
+ }
1349
+ .ace_button:active {
1350
+ background-color: #ddd;
1351
+ }
1352
+ .ace_button.checked {
1353
+ border-color: #3399ff;
1354
+ opacity:1;
1355
+ }
1356
+ .ace_search_options{
1357
+ margin-bottom: 3px;
1358
+ text-align: right;
1359
+ -webkit-user-select: none;
1360
+ -moz-user-select: none;
1361
+ -o-user-select: none;
1362
+ -ms-user-select: none;
1363
+ user-select: none;
1364
+ clear: both;
1365
+ }
1366
+ .ace_search_counter {
1367
+ float: left;
1368
+ font-family: arial;
1369
+ padding: 0 8px;
1370
+ }
1371
+ /*ace_whitespaces_in_selection*/
1372
+ .ace_whitespaces_in_selection {
1373
+ color: rgba(0,0,0,0.29);
1374
+ }
1375
+ .ace_dark .ace_whitespaces_in_selection {
1376
+ color: rgba(187, 181, 181, 0.5);
1377
+ }
1378
+ /*incremental-occur-highlighting*/
1379
+ .ace_occur-highlight {
1380
+ border-radius: 4px;
1381
+ background-color: rgba(87, 255, 8, 0.25);
1382
+ position: absolute;
1383
+ z-index: 4;
1384
+ box-sizing: border-box;
1385
+ box-shadow: 0 0 4px rgb(91, 255, 50);
1386
+ }
1387
+ .ace_dark .ace_occur-highlight {
1388
+ background-color: rgb(80, 140, 85);
1389
+ box-shadow: 0 0 4px rgb(60, 120, 70);
1390
+ }
1391
+ /*incremental-search-highlighting*/
1392
+ .ace_marker-layer .ace_isearch-result {
1393
+ position: absolute;
1394
+ z-index: 6;
1395
+ box-sizing: border-box;
1396
+ }
1397
+ div.ace_isearch-result {
1398
+ border-radius: 4px;
1399
+ background-color: rgba(255, 200, 0, 0.5);
1400
+ box-shadow: 0 0 4px rgb(255, 200, 0);
1401
+ }
1402
+ .ace_dark div.ace_isearch-result {
1403
+ background-color: rgb(100, 110, 160);
1404
+ box-shadow: 0 0 4px rgb(80, 90, 140);
1405
+ }
1406
+ /*emacsMode*/
1407
+ .emacs-mode .ace_cursor{
1408
+ border: 1px rgba(50,250,50,0.8) solid!important;
1409
+ box-sizing: border-box!important;
1410
+ background-color: rgba(0,250,0,0.9);
1411
+ opacity: 0.5;
1412
+ }
1413
+ .emacs-mode .ace_hidden-cursors .ace_cursor{
1414
+ opacity: 1;
1415
+ background-color: transparent;
1416
+ }
1417
+ .emacs-mode .ace_overwrite-cursors .ace_cursor {
1418
+ opacity: 1;
1419
+ background-color: transparent;
1420
+ border-width: 0 0 2px 2px !important;
1421
+ }
1422
+ .emacs-mode .ace_text-layer {
1423
+ z-index: 4
1424
+ }
1425
+ .emacs-mode .ace_cursor-layer {
1426
+ z-index: 2
1427
+ }
1428
+ /*vimMode*/
1429
+ .normal-mode .ace_cursor{
1430
+ border: none;
1431
+ background-color: rgba(255,0,0,0.5);
1432
+ }
1433
+ .normal-mode .ace_hidden-cursors .ace_cursor{
1434
+ background-color: transparent;
1435
+ border: 1px solid red;
1436
+ opacity: 0.7
1437
+ }
1438
+ .ace_dialog {
1439
+ position: absolute;
1440
+ left: 0; right: 0;
1441
+ background: inherit;
1442
+ z-index: 15;
1443
+ padding: .1em .8em;
1444
+ overflow: hidden;
1445
+ color: inherit;
1446
+ }
1447
+ .ace_dialog-top {
1448
+ border-bottom: 1px solid #444;
1449
+ top: 0;
1450
+ }
1451
+ .ace_dialog-bottom {
1452
+ border-top: 1px solid #444;
1453
+ bottom: 0;
1454
+ }
1455
+ .ace_dialog input {
1456
+ border: none;
1457
+ outline: none;
1458
+ background: transparent;
1459
+ width: 20em;
1460
+ color: inherit;
1461
+ font-family: monospace;
1462
+ }