markdown-design-doc-viewer-embed 0.0.0-stage → 1.5.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/viewer.css ADDED
@@ -0,0 +1,1769 @@
1
+ /* embed/reset.css */
2
+ :where(.seqnotes-embedded) *,
3
+ :where(.seqnotes-embedded) ::before,
4
+ :where(.seqnotes-embedded) ::after {
5
+ box-sizing: revert;
6
+ margin: revert;
7
+ padding: revert;
8
+ border: revert;
9
+ }
10
+ :where(.seqnotes-embedded) :where(h1, h2, h3, h4, h5, h6) {
11
+ font-size: revert;
12
+ font-weight: revert;
13
+ }
14
+ :where(.seqnotes-embedded) :where(a) {
15
+ color: revert;
16
+ text-decoration: revert;
17
+ }
18
+ :where(.seqnotes-embedded) :where(ol, ul, menu) {
19
+ list-style: revert;
20
+ }
21
+ :where(.seqnotes-embedded) :where(hr) {
22
+ height: revert;
23
+ color: revert;
24
+ }
25
+ :where(.seqnotes-embedded) :where(table) {
26
+ text-indent: revert;
27
+ border-color: revert;
28
+ border-collapse: revert;
29
+ }
30
+ :where(.seqnotes-embedded) :where(code, kbd, samp, pre) {
31
+ font-family: revert;
32
+ font-size: revert;
33
+ }
34
+ :where(.seqnotes-embedded) :where(sub, sup) {
35
+ font-size: revert;
36
+ line-height: revert;
37
+ position: revert;
38
+ vertical-align: revert;
39
+ top: revert;
40
+ bottom: revert;
41
+ }
42
+ :where(.seqnotes-embedded) :where(small) {
43
+ font-size: revert;
44
+ }
45
+ :where(.seqnotes-embedded) :where(abbr[title]) {
46
+ text-decoration: revert;
47
+ }
48
+ :where(.seqnotes-embedded) :where(img, svg, video, canvas, audio, iframe, embed, object) {
49
+ display: revert;
50
+ vertical-align: revert;
51
+ }
52
+ :where(.seqnotes-embedded) :where(img, video) {
53
+ max-width: revert;
54
+ height: revert;
55
+ }
56
+ :where(.seqnotes-embedded) :where(button, input, select, optgroup, textarea) {
57
+ font: revert;
58
+ letter-spacing: revert;
59
+ color: revert;
60
+ background-color: revert;
61
+ border-radius: revert;
62
+ opacity: revert;
63
+ appearance: revert;
64
+ }
65
+ :where(.seqnotes-embedded) :where(textarea) {
66
+ resize: revert;
67
+ }
68
+ :where(.seqnotes-embedded) ::placeholder {
69
+ color: revert;
70
+ opacity: revert;
71
+ }
72
+
73
+ /* webview/preview.css */
74
+ .seqnotes-viewer {
75
+ --seqnotes-accent: var(--vscode-textLink-activeForeground, #3794ff);
76
+ --seqnotes-accent-bg: color-mix(in srgb, var(--seqnotes-accent) 12%, transparent);
77
+ --seqnotes-current: var(--vscode-editorLineNumber-activeForeground, #c6c6c6);
78
+ --seqnotes-border: var(--vscode-panel-border, rgba(128, 128, 128, 0.35));
79
+ --seqnotes-muted: var(--vscode-descriptionForeground, rgba(128, 128, 128, 0.9));
80
+ --seqnotes-th-bg: var(--vscode-textCodeBlock-background, rgba(128, 128, 128, 0.1));
81
+ }
82
+ .seqnotes-viewer[data-seqnotes-theme=light]:not(.vscode-light, .vscode-high-contrast-light) {
83
+ color-scheme: light;
84
+ --vscode-editor-background: #ffffff;
85
+ --vscode-editor-foreground: #3b3b3b;
86
+ --vscode-foreground: #3b3b3b;
87
+ --vscode-descriptionForeground: #717171;
88
+ --vscode-icon-foreground: #3b3b3b;
89
+ --vscode-errorForeground: #f85149;
90
+ --vscode-focusBorder: #005fb8;
91
+ --vscode-textLink-foreground: #005fb8;
92
+ --vscode-textLink-activeForeground: #005fb8;
93
+ --vscode-textCodeBlock-background: #f3f3f3;
94
+ --vscode-textBlockQuote-border: #e5e5e5;
95
+ --vscode-textBlockQuote-foreground: #616161;
96
+ --vscode-panel-border: #e5e5e5;
97
+ --vscode-editorLineNumber-activeForeground: #171184;
98
+ --vscode-editorWidget-background: #f8f8f8;
99
+ --vscode-editorWidget-border: #c8c8c8;
100
+ --vscode-widget-shadow: rgba(0, 0, 0, 0.16);
101
+ --vscode-list-hoverBackground: #f2f2f2;
102
+ --vscode-toolbar-hoverBackground: rgba(184, 184, 184, 0.31);
103
+ --vscode-sash-hoverBorder: #005fb8;
104
+ --vscode-inputValidation-warningBackground: #f6f5d2;
105
+ --vscode-inputValidation-warningBorder: #b89500;
106
+ --vscode-input-background: #ffffff;
107
+ --vscode-input-foreground: #3b3b3b;
108
+ --vscode-input-border: #cecece;
109
+ --vscode-input-placeholderForeground: #767676;
110
+ --vscode-charts-blue: #1a85ff;
111
+ --vscode-charts-green: #388a34;
112
+ --vscode-charts-purple: #652d90;
113
+ --vscode-charts-red: #e51400;
114
+ --vscode-charts-yellow: #bf8803;
115
+ --vscode-editorGutter-addedBackground: #2ea043;
116
+ --vscode-editorGutter-modifiedBackground: #005fb8;
117
+ --vscode-editorGutter-deletedBackground: #f85149;
118
+ --vscode-diffEditor-insertedTextBackground: rgba(156, 204, 44, 0.25);
119
+ --vscode-diffEditor-removedTextBackground: rgba(255, 0, 0, 0.2);
120
+ --vscode-textPreformat-foreground: #3b3b3b;
121
+ --vscode-textBlockQuote-background: #f8f8f8;
122
+ --vscode-keybindingLabel-background: rgba(221, 221, 221, 0.4);
123
+ --vscode-keybindingLabel-foreground: #3b3b3b;
124
+ --vscode-keybindingLabel-border: rgba(204, 204, 204, 0.4);
125
+ --vscode-keybindingLabel-bottomBorder: rgba(187, 187, 187, 0.4);
126
+ --vscode-scrollbarSlider-background: rgba(100, 100, 100, 0.4);
127
+ --vscode-scrollbarSlider-hoverBackground: rgba(100, 100, 100, 0.7);
128
+ --vscode-scrollbarSlider-activeBackground: rgba(0, 0, 0, 0.6);
129
+ }
130
+ .seqnotes-viewer[data-seqnotes-theme=dark]:is(.vscode-light, .vscode-high-contrast-light) {
131
+ color-scheme: dark;
132
+ --vscode-editor-background: #1f1f1f;
133
+ --vscode-editor-foreground: #cccccc;
134
+ --vscode-foreground: #cccccc;
135
+ --vscode-descriptionForeground: #9d9d9d;
136
+ --vscode-icon-foreground: #cccccc;
137
+ --vscode-errorForeground: #f85149;
138
+ --vscode-focusBorder: #0078d4;
139
+ --vscode-textLink-foreground: #4daafc;
140
+ --vscode-textLink-activeForeground: #4daafc;
141
+ --vscode-textCodeBlock-background: #2b2b2b;
142
+ --vscode-textBlockQuote-border: #616161;
143
+ --vscode-textBlockQuote-foreground: #cccccc;
144
+ --vscode-panel-border: #2b2b2b;
145
+ --vscode-editorLineNumber-activeForeground: #cccccc;
146
+ --vscode-editorWidget-background: #202020;
147
+ --vscode-editorWidget-border: #313131;
148
+ --vscode-widget-shadow: rgba(0, 0, 0, 0.36);
149
+ --vscode-list-hoverBackground: #2a2d2e;
150
+ --vscode-toolbar-hoverBackground: rgba(90, 93, 94, 0.31);
151
+ --vscode-sash-hoverBorder: #0078d4;
152
+ --vscode-inputValidation-warningBackground: #352a05;
153
+ --vscode-inputValidation-warningBorder: #b89500;
154
+ --vscode-input-background: #313131;
155
+ --vscode-input-foreground: #cccccc;
156
+ --vscode-input-border: #3c3c3c;
157
+ --vscode-input-placeholderForeground: #989898;
158
+ --vscode-charts-blue: #3794ff;
159
+ --vscode-charts-green: #89d185;
160
+ --vscode-charts-purple: #b180d7;
161
+ --vscode-charts-red: #f14c4c;
162
+ --vscode-charts-yellow: #cca700;
163
+ --vscode-editorGutter-addedBackground: #2ea043;
164
+ --vscode-editorGutter-modifiedBackground: #0078d4;
165
+ --vscode-editorGutter-deletedBackground: #f85149;
166
+ --vscode-diffEditor-insertedTextBackground: rgba(156, 204, 44, 0.2);
167
+ --vscode-diffEditor-removedTextBackground: rgba(255, 0, 0, 0.2);
168
+ --vscode-textPreformat-foreground: #d0d0d0;
169
+ --vscode-textBlockQuote-background: #2b2b2b;
170
+ --vscode-keybindingLabel-background: rgba(128, 128, 128, 0.17);
171
+ --vscode-keybindingLabel-foreground: #cccccc;
172
+ --vscode-keybindingLabel-border: rgba(51, 51, 51, 0.6);
173
+ --vscode-keybindingLabel-bottomBorder: rgba(68, 68, 68, 0.6);
174
+ --vscode-scrollbarSlider-background: rgba(121, 121, 121, 0.4);
175
+ --vscode-scrollbarSlider-hoverBackground: rgba(100, 100, 100, 0.7);
176
+ --vscode-scrollbarSlider-activeBackground: rgba(191, 191, 191, 0.4);
177
+ }
178
+ html:has(> body[data-seqnotes-theme=light]:not(.vscode-light, .vscode-high-contrast-light)) {
179
+ color-scheme: light;
180
+ background: #ffffff;
181
+ scrollbar-color: rgba(100, 100, 100, 0.4) #ffffff;
182
+ }
183
+ html:has(> body[data-seqnotes-theme=dark]:is(.vscode-light, .vscode-high-contrast-light)) {
184
+ color-scheme: dark;
185
+ background: #1f1f1f;
186
+ scrollbar-color: rgba(121, 121, 121, 0.4) #1f1f1f;
187
+ }
188
+ .seqnotes-viewer {
189
+ padding: 2px 26px 40vh;
190
+ font-family: var(--vscode-markdown-font-family, var(--vscode-font-family));
191
+ font-size: var(--vscode-markdown-font-size, 14px);
192
+ line-height: var(--vscode-markdown-line-height, 1.6);
193
+ color: var(--vscode-editor-foreground);
194
+ background: var(--vscode-editor-background);
195
+ word-wrap: break-word;
196
+ }
197
+ :where(.seqnotes-viewer) :is(h1, h2, h3, h4, h5, h6) {
198
+ font-weight: 600;
199
+ line-height: 1.25;
200
+ margin: 1.4em 0 0.6em;
201
+ }
202
+ :where(.seqnotes-viewer) h1 {
203
+ font-size: 2em;
204
+ padding-bottom: 0.3em;
205
+ border-bottom: 1px solid var(--seqnotes-border);
206
+ }
207
+ :where(.seqnotes-viewer) h2 {
208
+ font-size: 1.5em;
209
+ padding-bottom: 0.3em;
210
+ border-bottom: 1px solid var(--seqnotes-border);
211
+ }
212
+ :where(.seqnotes-viewer) h3 {
213
+ font-size: 1.25em;
214
+ }
215
+ :where(.seqnotes-viewer) a {
216
+ color: var(--vscode-textLink-foreground);
217
+ text-decoration: none;
218
+ }
219
+ :where(.seqnotes-viewer) a:hover {
220
+ color: var(--vscode-textLink-activeForeground);
221
+ text-decoration: underline;
222
+ }
223
+ :where(.seqnotes-viewer) code {
224
+ font-family: var(--vscode-editor-font-family, monospace);
225
+ font-size: 0.9em;
226
+ background: var(--vscode-textCodeBlock-background, rgba(128, 128, 128, 0.15));
227
+ padding: 0.1em 0.35em;
228
+ border-radius: 3px;
229
+ }
230
+ :where(.seqnotes-viewer) pre {
231
+ background: var(--vscode-textCodeBlock-background, rgba(128, 128, 128, 0.15));
232
+ padding: 12px 16px;
233
+ border-radius: 4px;
234
+ overflow: auto;
235
+ }
236
+ :where(.seqnotes-viewer) pre code {
237
+ background: none;
238
+ padding: 0;
239
+ }
240
+ :where(.seqnotes-viewer) blockquote {
241
+ margin: 0 0 1em;
242
+ padding: 0 1em;
243
+ border-left: 4px solid var(--vscode-textBlockQuote-border, var(--seqnotes-border));
244
+ color: var(--vscode-textBlockQuote-foreground, inherit);
245
+ }
246
+ :where(.seqnotes-viewer) table {
247
+ border-collapse: collapse;
248
+ margin-bottom: 1em;
249
+ }
250
+ :where(.seqnotes-viewer) :is(th, td) {
251
+ border: 1px solid var(--seqnotes-border);
252
+ padding: 4px 10px;
253
+ }
254
+ :where(.seqnotes-viewer) th {
255
+ background: var(--seqnotes-th-bg);
256
+ }
257
+ .seqnotes-viewer.seqnotes-sticky-table-header thead th {
258
+ position: sticky;
259
+ top: 0;
260
+ z-index: 1;
261
+ background: linear-gradient(var(--seqnotes-th-bg), var(--seqnotes-th-bg)), var(--vscode-editor-background);
262
+ }
263
+ .seqnotes-cell-hidden {
264
+ display: none;
265
+ }
266
+ .seqnotes-cell-sub {
267
+ display: block;
268
+ font-size: 0.9em;
269
+ font-weight: normal;
270
+ color: var(--seqnotes-muted);
271
+ }
272
+ .seqnotes-cell-sub code {
273
+ font-size: 1em;
274
+ }
275
+ .seqnotes-tree-table {
276
+ --seqnotes-tree-indent: 1.25em;
277
+ --seqnotes-tree-line: color-mix(in srgb, var(--seqnotes-muted) 55%, transparent);
278
+ --seqnotes-tree-y: calc(5px + 0.8em);
279
+ }
280
+ @supports (top: 1lh) {
281
+ .seqnotes-tree-table {
282
+ --seqnotes-tree-y: calc(5px + 0.5lh);
283
+ }
284
+ }
285
+ .seqnotes-tree-head {
286
+ text-align: left;
287
+ }
288
+ .seqnotes-tree-head,
289
+ .seqnotes-tree-cell {
290
+ padding-left: calc(10px + (var(--seqnotes-depth, 0) + 1) * var(--seqnotes-tree-indent));
291
+ }
292
+ .seqnotes-tree-cell {
293
+ position: relative;
294
+ white-space: nowrap;
295
+ }
296
+ .seqnotes-tree-guides {
297
+ position: absolute;
298
+ top: -1px;
299
+ bottom: -1px;
300
+ left: 10px;
301
+ display: flex;
302
+ pointer-events: none;
303
+ }
304
+ .seqnotes-tree-guides > span {
305
+ position: relative;
306
+ flex: none;
307
+ width: var(--seqnotes-tree-indent);
308
+ }
309
+ .seqnotes-tree-guides > span::before,
310
+ .seqnotes-tree-guides > span::after {
311
+ content: "";
312
+ position: absolute;
313
+ left: 50%;
314
+ }
315
+ .seqnotes-tree-pipe::before,
316
+ .seqnotes-tree-tee::before {
317
+ top: 0;
318
+ bottom: 0;
319
+ border-left: 1px solid var(--seqnotes-tree-line);
320
+ }
321
+ .seqnotes-tree-elbow::before {
322
+ top: 0;
323
+ height: var(--seqnotes-tree-y);
324
+ border-left: 1px solid var(--seqnotes-tree-line);
325
+ }
326
+ .seqnotes-tree-tee::after,
327
+ .seqnotes-tree-elbow::after {
328
+ top: var(--seqnotes-tree-y);
329
+ width: calc(1.5 * var(--seqnotes-tree-indent) - 4px);
330
+ border-top: 1px solid var(--seqnotes-tree-line);
331
+ }
332
+ .seqnotes-tree-parent :is(.seqnotes-tree-tee, .seqnotes-tree-elbow)::after {
333
+ width: calc(var(--seqnotes-tree-indent) - 0.45em);
334
+ }
335
+ .seqnotes-tree-stem::before {
336
+ top: calc(var(--seqnotes-tree-y) + 0.45em);
337
+ bottom: 0;
338
+ border-left: 1px solid var(--seqnotes-tree-line);
339
+ }
340
+ .seqnotes-tree-folded .seqnotes-tree-stem {
341
+ display: none;
342
+ }
343
+ .seqnotes-tree-toggle {
344
+ position: absolute;
345
+ top: calc(var(--seqnotes-tree-y) - 0.6em);
346
+ left: calc(10px + var(--seqnotes-depth) * var(--seqnotes-tree-indent));
347
+ display: grid;
348
+ place-items: center;
349
+ width: var(--seqnotes-tree-indent);
350
+ height: 1.2em;
351
+ padding: 0;
352
+ border: none;
353
+ border-radius: 3px;
354
+ background: none;
355
+ color: var(--seqnotes-muted);
356
+ font: inherit;
357
+ cursor: pointer;
358
+ }
359
+ .seqnotes-tree-toggle:hover {
360
+ color: inherit;
361
+ background: var(--seqnotes-accent-bg);
362
+ }
363
+ .seqnotes-tree-toggle:focus-visible {
364
+ outline: 1px solid var(--vscode-focusBorder, var(--seqnotes-accent));
365
+ }
366
+ .seqnotes-tree-toggle::before {
367
+ content: "";
368
+ width: 0.4em;
369
+ height: 0.4em;
370
+ margin-top: -0.2em;
371
+ border-right: 1.5px solid currentColor;
372
+ border-bottom: 1.5px solid currentColor;
373
+ transform: rotate(45deg);
374
+ }
375
+ .seqnotes-tree-folded .seqnotes-tree-toggle::before {
376
+ margin: 0 0 0 -0.2em;
377
+ transform: rotate(-45deg);
378
+ }
379
+ :where(.seqnotes-tree-table:not(.seqnotes-table-plain)) .seqnotes-tree-parent > td {
380
+ background: color-mix(in srgb, var(--seqnotes-th-bg) 50%, transparent);
381
+ }
382
+ :where(.seqnotes-tree-table:not(.seqnotes-table-plain)) .seqnotes-tree-parent > .seqnotes-tree-cell {
383
+ font-weight: 600;
384
+ }
385
+ .seqnotes-tree-hidden {
386
+ display: none;
387
+ }
388
+ .seqnotes-table-tree-highlight .seqnotes-tree-table:not(.seqnotes-table-plain) > tbody > .seqnotes-tree-related > td {
389
+ background: color-mix(in srgb, var(--seqnotes-accent) 6%, transparent);
390
+ }
391
+ .seqnotes-table-tree-highlight .seqnotes-tree-table:not(.seqnotes-table-plain) > tbody > .seqnotes-tree-current > td {
392
+ background: var(--seqnotes-accent-bg);
393
+ }
394
+ .seqnotes-table-plain-cell {
395
+ position: relative;
396
+ padding-right: 34px;
397
+ }
398
+ .seqnotes-table-plain-cell > .seqnotes-table-plain-toggle {
399
+ top: 50%;
400
+ right: 4px;
401
+ transform: translateY(-50%);
402
+ }
403
+ .seqnotes-item-table:hover .seqnotes-table-plain-toggle {
404
+ opacity: 1;
405
+ }
406
+ .seqnotes-table-plain-toggle[aria-pressed=true] {
407
+ background: var(--seqnotes-accent-bg);
408
+ }
409
+ .seqnotes-table-plain :is(th, td).seqnotes-cell-hidden {
410
+ display: table-cell;
411
+ }
412
+ .seqnotes-table-plain :is(.seqnotes-cell-sub, .seqnotes-tree-guides, .seqnotes-tree-toggle) {
413
+ display: none;
414
+ }
415
+ .seqnotes-table-plain :is(.seqnotes-tree-head, .seqnotes-tree-cell) {
416
+ padding-left: 10px;
417
+ white-space: normal;
418
+ }
419
+ .seqnotes-table-plain .seqnotes-tree-head {
420
+ text-align: revert;
421
+ }
422
+ .seqnotes-table-plain .seqnotes-tree-hidden {
423
+ display: table-row;
424
+ }
425
+ @media print {
426
+ .seqnotes-tree-hidden {
427
+ display: table-row;
428
+ }
429
+ .seqnotes-tree-toggle {
430
+ visibility: hidden;
431
+ }
432
+ .seqnotes-table-plain-toggle {
433
+ display: none;
434
+ }
435
+ .seqnotes-table-plain-cell {
436
+ padding-right: 10px;
437
+ }
438
+ .seqnotes-tree-folded .seqnotes-tree-stem {
439
+ display: block;
440
+ }
441
+ .seqnotes-tree-parent :is(.seqnotes-tree-tee, .seqnotes-tree-elbow)::after {
442
+ width: calc(1.5 * var(--seqnotes-tree-indent) - 4px);
443
+ }
444
+ }
445
+ .seqnotes-front-matter {
446
+ font-size: 0.9em;
447
+ }
448
+ .seqnotes-front-matter th,
449
+ .seqnotes-front-matter td {
450
+ padding: 2px 8px;
451
+ }
452
+ .seqnotes-front-matter th {
453
+ text-align: left;
454
+ font-weight: normal;
455
+ color: var(--seqnotes-muted);
456
+ background: none;
457
+ }
458
+ .seqnotes-front-matter td {
459
+ white-space: pre-wrap;
460
+ }
461
+ .seqnotes-doc-header {
462
+ font-size: 0.9em;
463
+ margin-bottom: 1.5em;
464
+ }
465
+ .seqnotes-doc-headline {
466
+ display: flex;
467
+ flex-wrap: wrap;
468
+ overflow: hidden;
469
+ border: 1px solid var(--seqnotes-border);
470
+ border-radius: 4px;
471
+ }
472
+ .seqnotes-doc-title,
473
+ .seqnotes-doc-meta > div {
474
+ min-width: 0;
475
+ margin: 0 0 -1px -1px;
476
+ padding: 0.5em 8px;
477
+ border-left: 1px solid var(--seqnotes-border);
478
+ border-bottom: 1px solid var(--seqnotes-border);
479
+ overflow-wrap: anywhere;
480
+ }
481
+ .seqnotes-doc-title {
482
+ flex: 1 1 auto;
483
+ display: flex;
484
+ align-items: center;
485
+ font-weight: 600;
486
+ white-space: pre-wrap;
487
+ }
488
+ .seqnotes-doc-meta {
489
+ display: flex;
490
+ flex-wrap: wrap;
491
+ justify-content: flex-end;
492
+ margin: 0 0 0 auto;
493
+ }
494
+ .seqnotes-doc-meta:first-child {
495
+ margin-left: 0;
496
+ justify-content: flex-start;
497
+ }
498
+ .seqnotes-doc-meta > div {
499
+ flex: 1 1 auto;
500
+ display: flex;
501
+ align-items: center;
502
+ gap: 0.5em;
503
+ }
504
+ .seqnotes-doc-meta dt {
505
+ color: var(--seqnotes-muted);
506
+ white-space: nowrap;
507
+ }
508
+ .seqnotes-doc-meta dd {
509
+ min-width: 0;
510
+ margin: 0;
511
+ white-space: pre-wrap;
512
+ }
513
+ .seqnotes-doc-status dd {
514
+ padding: 0 0.6em;
515
+ border: 1px solid var(--seqnotes-border);
516
+ border-radius: 1em;
517
+ }
518
+ .seqnotes-doc-header .seqnotes-front-matter {
519
+ margin: 0.4em 0 0;
520
+ font-size: 1em;
521
+ }
522
+ .seqnotes-doc-header details.seqnotes-doc-more {
523
+ margin: 0;
524
+ padding: 0;
525
+ border: none;
526
+ border-radius: 0;
527
+ }
528
+ .seqnotes-doc-headline + details.seqnotes-doc-more {
529
+ margin-top: 0.6em;
530
+ }
531
+ .seqnotes-doc-header .seqnotes-doc-more > summary {
532
+ display: inline-flex;
533
+ margin: 0;
534
+ padding: 0;
535
+ background: none;
536
+ border: none;
537
+ font-weight: normal;
538
+ color: var(--seqnotes-muted);
539
+ }
540
+ .seqnotes-doc-header .seqnotes-doc-more > summary:hover {
541
+ color: var(--vscode-foreground, inherit);
542
+ }
543
+ .seqnotes-index table {
544
+ width: 100%;
545
+ }
546
+ .seqnotes-index th {
547
+ text-align: left;
548
+ }
549
+ .seqnotes-index-file {
550
+ color: var(--seqnotes-muted);
551
+ font-family: var(--vscode-editor-font-family);
552
+ font-size: 0.9em;
553
+ }
554
+ .seqnotes-index-status span {
555
+ padding: 0 0.6em;
556
+ border: 1px solid var(--seqnotes-border);
557
+ border-radius: 1em;
558
+ white-space: nowrap;
559
+ }
560
+ .seqnotes-index-changes .seqnotes-diff-counts {
561
+ flex-wrap: wrap;
562
+ }
563
+ .seqnotes-index-unchanged {
564
+ color: var(--seqnotes-muted);
565
+ }
566
+ .seqnotes-index-new {
567
+ padding: 0 0.6em;
568
+ border: 1px solid var(--vscode-editorGutter-addedBackground, #2ea043);
569
+ border-radius: 1em;
570
+ white-space: nowrap;
571
+ }
572
+ .seqnotes-index-filter {
573
+ display: flex;
574
+ flex-wrap: wrap;
575
+ align-items: center;
576
+ gap: 4px 12px;
577
+ margin: 0 0 1em;
578
+ }
579
+ .seqnotes-index-filter input {
580
+ flex: 0 1 28em;
581
+ min-width: 0;
582
+ padding: 4px 8px;
583
+ font: inherit;
584
+ color: var(--vscode-input-foreground, inherit);
585
+ background: var(--vscode-input-background, transparent);
586
+ border: 1px solid var(--vscode-input-border, var(--seqnotes-border));
587
+ border-radius: 2px;
588
+ }
589
+ .seqnotes-index-filter input::placeholder {
590
+ color: var(--vscode-input-placeholderForeground, var(--seqnotes-muted));
591
+ }
592
+ .seqnotes-index-filter input:focus {
593
+ outline: 1px solid var(--vscode-focusBorder, #0078d4);
594
+ outline-offset: -1px;
595
+ }
596
+ .seqnotes-index-count,
597
+ .seqnotes-index-empty {
598
+ color: var(--seqnotes-muted);
599
+ }
600
+ .seqnotes-index th:has(> .seqnotes-index-sort) {
601
+ padding: 0;
602
+ }
603
+ .seqnotes-index-sort {
604
+ display: flex;
605
+ align-items: center;
606
+ gap: 0.3em;
607
+ width: 100%;
608
+ padding: 4px 10px;
609
+ font: inherit;
610
+ font-weight: inherit;
611
+ text-align: left;
612
+ color: inherit;
613
+ background: none;
614
+ border: none;
615
+ cursor: pointer;
616
+ }
617
+ .seqnotes-index-sort:focus-visible {
618
+ outline: 1px solid var(--vscode-focusBorder, #0078d4);
619
+ outline-offset: -1px;
620
+ }
621
+ .seqnotes-index-sort::after {
622
+ content: "\2195";
623
+ color: var(--seqnotes-muted);
624
+ opacity: 0;
625
+ }
626
+ .seqnotes-index-sort:hover::after {
627
+ opacity: 1;
628
+ }
629
+ .seqnotes-index th[aria-sort=ascending] .seqnotes-index-sort::after {
630
+ content: "\2191";
631
+ opacity: 1;
632
+ }
633
+ .seqnotes-index th[aria-sort=descending] .seqnotes-index-sort::after {
634
+ content: "\2193";
635
+ opacity: 1;
636
+ }
637
+ @media print {
638
+ .seqnotes-index-filter {
639
+ display: none;
640
+ }
641
+ .seqnotes-index-sort::after {
642
+ display: none;
643
+ }
644
+ }
645
+ :where(.seqnotes-viewer) img {
646
+ max-width: 100%;
647
+ }
648
+ :where(.seqnotes-viewer) hr {
649
+ border: 0;
650
+ border-top: 1px solid var(--seqnotes-border);
651
+ }
652
+ .markdown-alert {
653
+ --seqnotes-alert: var(--vscode-charts-blue, #3794ff);
654
+ margin: 0 0 1em;
655
+ padding: 0 1em;
656
+ border-left: 4px solid var(--seqnotes-alert);
657
+ }
658
+ .markdown-alert-tip {
659
+ --seqnotes-alert: var(--vscode-charts-green, #388a34);
660
+ }
661
+ .markdown-alert-important {
662
+ --seqnotes-alert: var(--vscode-charts-purple, #b180d7);
663
+ }
664
+ .markdown-alert-warning {
665
+ --seqnotes-alert: var(--vscode-charts-yellow, #cca700);
666
+ }
667
+ .markdown-alert-caution {
668
+ --seqnotes-alert: var(--vscode-charts-red, #f14c4c);
669
+ }
670
+ .markdown-alert-title {
671
+ display: flex;
672
+ align-items: center;
673
+ color: var(--seqnotes-alert);
674
+ font-weight: 600;
675
+ }
676
+ .markdown-alert-title .octicon {
677
+ flex: none;
678
+ margin-right: 0.5em;
679
+ fill: currentColor;
680
+ }
681
+ .task-list-item {
682
+ list-style-type: none;
683
+ }
684
+ .task-list-item-checkbox {
685
+ margin: 0 0.3em 0.2em -1.4em;
686
+ vertical-align: middle;
687
+ }
688
+ .footnote-ref {
689
+ font-size: 0.75em;
690
+ line-height: 0;
691
+ }
692
+ .footnote-ref a {
693
+ margin: 0 0.1em;
694
+ }
695
+ .footnotes-sep {
696
+ margin-top: 2em;
697
+ }
698
+ .footnotes {
699
+ font-size: 0.9em;
700
+ color: var(--seqnotes-muted);
701
+ }
702
+ .footnotes-list {
703
+ padding-left: 2em;
704
+ }
705
+ .footnote-item p {
706
+ margin: 0.3em 0;
707
+ }
708
+ .footnote-backref {
709
+ text-decoration: none;
710
+ }
711
+ .seqnotes-footnote-popup {
712
+ position: fixed;
713
+ z-index: 15;
714
+ box-sizing: border-box;
715
+ max-width: min(480px, calc(100vw - 16px));
716
+ max-height: 50vh;
717
+ overflow: auto;
718
+ padding: 8px 12px;
719
+ font-size: 0.9em;
720
+ background: var(--vscode-editorWidget-background, var(--vscode-editor-background));
721
+ border: 1px solid var(--vscode-editorWidget-border, var(--seqnotes-border));
722
+ border-radius: 4px;
723
+ box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.16));
724
+ }
725
+ .seqnotes-footnote-popup[hidden] {
726
+ display: none;
727
+ }
728
+ .seqnotes-footnote-popup > :first-child {
729
+ margin-top: 0;
730
+ }
731
+ .seqnotes-footnote-popup > :last-child {
732
+ margin-bottom: 0;
733
+ }
734
+ @media print {
735
+ .seqnotes-footnote-popup {
736
+ display: none;
737
+ }
738
+ }
739
+ .footnote-ref a,
740
+ .footnote-item {
741
+ scroll-margin-top: 1em;
742
+ }
743
+ :where(.seqnotes-viewer) details {
744
+ margin: 0 0 1em;
745
+ padding: 0 12px;
746
+ border: 1px solid var(--seqnotes-border);
747
+ border-radius: 4px;
748
+ }
749
+ :where(.seqnotes-viewer) details[open] {
750
+ padding-bottom: 0.8em;
751
+ }
752
+ :where(.seqnotes-viewer) summary {
753
+ display: flex;
754
+ align-items: center;
755
+ gap: 0.6em;
756
+ margin: 0 -12px;
757
+ padding: 6px 12px;
758
+ border-radius: 3px;
759
+ background: var(--vscode-textCodeBlock-background, rgba(128, 128, 128, 0.1));
760
+ font-weight: 600;
761
+ list-style: none;
762
+ cursor: pointer;
763
+ user-select: none;
764
+ transition: background-color 0.15s;
765
+ }
766
+ :where(.seqnotes-viewer) summary::-webkit-details-marker {
767
+ display: none;
768
+ }
769
+ :where(.seqnotes-viewer) summary::before {
770
+ content: "";
771
+ flex: none;
772
+ width: 0.4em;
773
+ height: 0.4em;
774
+ margin: 0 0.1em;
775
+ border-right: 2px solid var(--seqnotes-muted);
776
+ border-bottom: 2px solid var(--seqnotes-muted);
777
+ transform: rotate(-45deg);
778
+ transition: transform 0.15s, border-color 0.15s;
779
+ }
780
+ :where(.seqnotes-viewer) details[open] > summary {
781
+ margin-bottom: 0.8em;
782
+ border-bottom: 1px solid var(--seqnotes-border);
783
+ border-bottom-left-radius: 0;
784
+ border-bottom-right-radius: 0;
785
+ }
786
+ :where(.seqnotes-viewer) details[open] > summary::before {
787
+ transform: rotate(45deg);
788
+ }
789
+ :where(.seqnotes-viewer) summary:hover {
790
+ background: var(--vscode-list-hoverBackground, rgba(128, 128, 128, 0.2));
791
+ }
792
+ :where(.seqnotes-viewer) summary:hover::before {
793
+ border-color: var(--seqnotes-accent);
794
+ }
795
+ :where(.seqnotes-viewer) summary:focus-visible {
796
+ outline: 1px solid var(--vscode-focusBorder);
797
+ outline-offset: -1px;
798
+ }
799
+ :where(.seqnotes-viewer) details > :last-child:not(summary) {
800
+ margin-bottom: 0;
801
+ }
802
+ .seqnotes-viewer {
803
+ --seqnotes-hl-keyword: #569cd6;
804
+ --seqnotes-hl-type: #4ec9b0;
805
+ --seqnotes-hl-number: #b5cea8;
806
+ --seqnotes-hl-string: #ce9178;
807
+ --seqnotes-hl-function: #dcdcaa;
808
+ --seqnotes-hl-comment: #6a9955;
809
+ --seqnotes-hl-meta: #9b9b9b;
810
+ --seqnotes-hl-variable: #9cdcfe;
811
+ --seqnotes-hl-selector: #d7ba7d;
812
+ }
813
+ .seqnotes-viewer:is(.vscode-light, .vscode-high-contrast-light):not([data-seqnotes-theme=dark]),
814
+ .seqnotes-viewer[data-seqnotes-theme=light] {
815
+ --seqnotes-hl-keyword: #0000ff;
816
+ --seqnotes-hl-type: #267f99;
817
+ --seqnotes-hl-number: #098658;
818
+ --seqnotes-hl-string: #a31515;
819
+ --seqnotes-hl-function: #795e26;
820
+ --seqnotes-hl-comment: #008000;
821
+ --seqnotes-hl-meta: #808080;
822
+ --seqnotes-hl-variable: #001080;
823
+ --seqnotes-hl-selector: #800000;
824
+ }
825
+ .hljs-keyword,
826
+ .hljs-literal,
827
+ .hljs-symbol,
828
+ .hljs-name,
829
+ .hljs-link {
830
+ color: var(--seqnotes-hl-keyword);
831
+ }
832
+ .hljs-built_in,
833
+ .hljs-type {
834
+ color: var(--seqnotes-hl-type);
835
+ }
836
+ .hljs-number,
837
+ .hljs-class,
838
+ .hljs-addition {
839
+ color: var(--seqnotes-hl-number);
840
+ }
841
+ .hljs-string,
842
+ .hljs-regexp,
843
+ .hljs-deletion {
844
+ color: var(--seqnotes-hl-string);
845
+ }
846
+ .hljs-title,
847
+ .hljs-title.function_ {
848
+ color: var(--seqnotes-hl-function);
849
+ }
850
+ .hljs-comment,
851
+ .hljs-quote {
852
+ color: var(--seqnotes-hl-comment);
853
+ font-style: italic;
854
+ }
855
+ .hljs-meta,
856
+ .hljs-tag {
857
+ color: var(--seqnotes-hl-meta);
858
+ }
859
+ .hljs-variable,
860
+ .hljs-template-variable,
861
+ .hljs-attr,
862
+ .hljs-attribute,
863
+ .hljs-property {
864
+ color: var(--seqnotes-hl-variable);
865
+ }
866
+ .hljs-section,
867
+ .hljs-bullet,
868
+ .hljs-selector-tag,
869
+ .hljs-selector-id,
870
+ .hljs-selector-class,
871
+ .hljs-selector-attr,
872
+ .hljs-selector-pseudo {
873
+ color: var(--seqnotes-hl-selector);
874
+ }
875
+ .hljs-section,
876
+ .hljs-strong {
877
+ font-weight: bold;
878
+ }
879
+ .hljs-emphasis {
880
+ font-style: italic;
881
+ }
882
+ .seqnotes-mermaid {
883
+ margin: 1em 0;
884
+ }
885
+ .seqnotes-mermaid-scratch {
886
+ position: fixed;
887
+ top: 0;
888
+ left: 0;
889
+ width: 100vw;
890
+ height: 0;
891
+ overflow: hidden;
892
+ visibility: hidden;
893
+ pointer-events: none;
894
+ }
895
+ .seqnotes-diagram {
896
+ position: relative;
897
+ }
898
+ .seqnotes-diagram svg {
899
+ display: block;
900
+ max-width: 100%;
901
+ height: auto;
902
+ margin: 0 auto;
903
+ }
904
+ .seqnotes-zoom-button,
905
+ .seqnotes-zoom-toolbar button,
906
+ .seqnotes-table-plain-toggle {
907
+ display: inline-flex;
908
+ align-items: center;
909
+ justify-content: center;
910
+ width: 26px;
911
+ height: 26px;
912
+ padding: 0;
913
+ border: none;
914
+ border-radius: 4px;
915
+ background: none;
916
+ color: var(--vscode-icon-foreground, currentColor);
917
+ font: inherit;
918
+ font-size: 16px;
919
+ line-height: 1;
920
+ cursor: pointer;
921
+ }
922
+ .seqnotes-zoom-button:hover,
923
+ .seqnotes-zoom-toolbar button:hover,
924
+ .seqnotes-table-plain-toggle:hover {
925
+ background: var(--vscode-toolbar-hoverBackground, rgba(128, 128, 128, 0.2));
926
+ }
927
+ .seqnotes-zoom-button:focus-visible,
928
+ .seqnotes-zoom-toolbar button:focus-visible,
929
+ .seqnotes-table-plain-toggle:focus-visible {
930
+ outline: 1px solid var(--vscode-focusBorder);
931
+ }
932
+ .seqnotes-zoom-button,
933
+ .seqnotes-table-plain-toggle {
934
+ position: absolute;
935
+ top: 0;
936
+ right: 0;
937
+ z-index: 1;
938
+ opacity: 0;
939
+ border: 1px solid var(--vscode-editorWidget-border, var(--seqnotes-border));
940
+ background: var(--vscode-editorWidget-background, var(--vscode-editor-background));
941
+ transition: opacity 0.15s;
942
+ }
943
+ .seqnotes-diagram:hover > .seqnotes-zoom-button,
944
+ .seqnotes-zoom-button:focus-visible,
945
+ .seqnotes-table-plain-toggle:focus-visible {
946
+ opacity: 1;
947
+ }
948
+ .seqnotes-zoomable {
949
+ cursor: zoom-in;
950
+ }
951
+ .seqnotes-zoomable:focus-visible {
952
+ outline: 1px solid var(--vscode-focusBorder);
953
+ outline-offset: 2px;
954
+ }
955
+ .seqnotes-zoom {
956
+ position: fixed;
957
+ inset: 0;
958
+ z-index: 20;
959
+ overflow: hidden;
960
+ background: var(--vscode-editor-background);
961
+ outline: none;
962
+ cursor: grab;
963
+ touch-action: none;
964
+ user-select: none;
965
+ }
966
+ .seqnotes-zoom[hidden] {
967
+ display: none;
968
+ }
969
+ .seqnotes-zoom-stage {
970
+ position: absolute;
971
+ top: 0;
972
+ left: 0;
973
+ transform-origin: 0 0;
974
+ }
975
+ .seqnotes-zoom-stage svg {
976
+ display: block;
977
+ }
978
+ .seqnotes-zoom-stage img {
979
+ display: block;
980
+ max-width: none;
981
+ }
982
+ .seqnotes-zoom.seqnotes-zoom-dragging {
983
+ cursor: grabbing;
984
+ }
985
+ .seqnotes-zoom .seqnotes-wireframe-screen {
986
+ cursor: auto;
987
+ user-select: text;
988
+ }
989
+ .seqnotes-zoom.seqnotes-zoom-space .seqnotes-wireframe-screen {
990
+ cursor: grab;
991
+ user-select: none;
992
+ }
993
+ .seqnotes-zoom-toolbar {
994
+ position: absolute;
995
+ top: 8px;
996
+ right: 8px;
997
+ display: flex;
998
+ gap: 2px;
999
+ padding: 2px;
1000
+ border: 1px solid var(--vscode-editorWidget-border, var(--seqnotes-border));
1001
+ border-radius: 6px;
1002
+ background: var(--vscode-editorWidget-background, var(--vscode-editor-background));
1003
+ box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36));
1004
+ }
1005
+ .seqnotes-mermaid-src {
1006
+ white-space: pre;
1007
+ }
1008
+ .seqnotes-error-message {
1009
+ color: var(--vscode-errorForeground, #f14c4c);
1010
+ margin-bottom: 4px;
1011
+ white-space: pre-wrap;
1012
+ }
1013
+ .seqnotes-warnings {
1014
+ position: relative;
1015
+ margin: 12px 0;
1016
+ padding: 6px 2em 6px 12px;
1017
+ border: 1px solid var(--vscode-inputValidation-warningBorder, #b89500);
1018
+ background: var(--vscode-inputValidation-warningBackground, rgba(184, 149, 0, 0.15));
1019
+ border-radius: 4px;
1020
+ }
1021
+ .seqnotes-warnings p {
1022
+ margin: 4px 0;
1023
+ }
1024
+ .seqnotes-warnings-close {
1025
+ position: absolute;
1026
+ top: 4px;
1027
+ right: 4px;
1028
+ width: 1.6em;
1029
+ height: 1.6em;
1030
+ padding: 0;
1031
+ border: none;
1032
+ border-radius: 4px;
1033
+ background: none;
1034
+ color: var(--vscode-icon-foreground, currentColor);
1035
+ font: inherit;
1036
+ line-height: 1;
1037
+ cursor: pointer;
1038
+ }
1039
+ .seqnotes-warnings-close:hover {
1040
+ background: var(--vscode-toolbar-hoverBackground, rgba(128, 128, 128, 0.2));
1041
+ }
1042
+ .seqnotes-warnings-close:focus-visible {
1043
+ outline: 1px solid var(--vscode-focusBorder);
1044
+ }
1045
+ .seqnotes-viewer.seqnotes-limit-width .seqnotes-viewer-root > * {
1046
+ margin-inline: max(0px, (100% - 1280px) / 2);
1047
+ }
1048
+ .seqnotes-viewer.seqnotes-limit-width.seqnotes-wide .seqnotes-viewer-root > .seqnotes-pair:not(.seqnotes-pair-stacked) {
1049
+ margin-inline: 0;
1050
+ }
1051
+ .seqnotes-viewer.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked) {
1052
+ display: grid;
1053
+ grid-template-columns: minmax(0, var(--seqnotes-split, 55%)) 24px minmax(0, 1fr);
1054
+ align-items: stretch;
1055
+ }
1056
+ .seqnotes-splitter {
1057
+ display: none;
1058
+ }
1059
+ .seqnotes-viewer.seqnotes-wide .seqnotes-splitter {
1060
+ display: block;
1061
+ cursor: col-resize;
1062
+ position: relative;
1063
+ touch-action: none;
1064
+ }
1065
+ .seqnotes-viewer.seqnotes-wide .seqnotes-splitter::after {
1066
+ content: "";
1067
+ position: absolute;
1068
+ top: 0;
1069
+ bottom: 0;
1070
+ left: 11px;
1071
+ width: 2px;
1072
+ background: transparent;
1073
+ transition: background-color 0.15s;
1074
+ }
1075
+ .seqnotes-viewer.seqnotes-wide .seqnotes-splitter:hover::after,
1076
+ .seqnotes-viewer.seqnotes-wide .seqnotes-splitter:active::after {
1077
+ background: var(--vscode-sash-hoverBorder, var(--seqnotes-accent));
1078
+ }
1079
+ .seqnotes-viewer.seqnotes-wide .seqnotes-splitter:focus {
1080
+ outline: none;
1081
+ }
1082
+ .seqnotes-viewer.seqnotes-wide .seqnotes-splitter:focus-visible::after {
1083
+ background: var(--vscode-focusBorder, var(--seqnotes-accent));
1084
+ }
1085
+ .seqnotes-viewer.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked) > .seqnotes-seq-col {
1086
+ align-self: start;
1087
+ position: sticky;
1088
+ top: 0;
1089
+ max-height: var(--seqnotes-viewport-height, 100vh);
1090
+ overflow: auto;
1091
+ box-sizing: border-box;
1092
+ padding: 8px 0;
1093
+ }
1094
+ .seqnotes-viewer.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked) > .seqnotes-seq-col .seqnotes-mermaid {
1095
+ margin: 0;
1096
+ }
1097
+ .seqnotes-viewer.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked) > .seqnotes-overview-col > :first-child,
1098
+ .seqnotes-viewer.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked) > .seqnotes-overview-col > :first-child > :first-child {
1099
+ margin-top: 8px;
1100
+ }
1101
+ .seqnotes-linked {
1102
+ cursor: pointer;
1103
+ }
1104
+ .seqnotes-hit {
1105
+ stroke: transparent !important;
1106
+ stroke-width: 14px !important;
1107
+ fill: none !important;
1108
+ pointer-events: stroke;
1109
+ }
1110
+ .messageText.seqnotes-linked {
1111
+ text-decoration: underline dotted;
1112
+ }
1113
+ .messageText.seqnotes-active {
1114
+ fill: var(--seqnotes-accent) !important;
1115
+ font-weight: bold;
1116
+ }
1117
+ .seqnotes-msg.seqnotes-active:not(.seqnotes-hit, .messageText) {
1118
+ stroke: var(--seqnotes-accent) !important;
1119
+ stroke-width: 3px !important;
1120
+ }
1121
+ .seqnotes-note.seqnotes-anchor > rect {
1122
+ fill: var(--seqnotes-accent) !important;
1123
+ stroke: var(--seqnotes-accent) !important;
1124
+ }
1125
+ .seqnotes-note.seqnotes-anchor :is(text, tspan) {
1126
+ fill: var(--vscode-editor-background, #fff) !important;
1127
+ font-weight: bold;
1128
+ }
1129
+ text.seqnotes-anchor,
1130
+ text.seqnotes-anchor tspan {
1131
+ fill: var(--seqnotes-accent) !important;
1132
+ font-weight: bold;
1133
+ }
1134
+ .seqnotes-anchor,
1135
+ .seqnotes-goto {
1136
+ cursor: pointer;
1137
+ }
1138
+ .seqnotes-goto > rect {
1139
+ stroke: var(--seqnotes-accent) !important;
1140
+ stroke-dasharray: 5 3;
1141
+ }
1142
+ .seqnotes-goto :is(text, tspan) {
1143
+ text-decoration: underline dotted;
1144
+ }
1145
+ .seqnotes-goto.seqnotes-jump-hover > rect,
1146
+ .seqnotes-note.seqnotes-anchor.seqnotes-jump-hover > rect {
1147
+ stroke-width: 3px !important;
1148
+ }
1149
+ .seqnotes-goto.seqnotes-jump-hover :is(text, tspan) {
1150
+ fill: var(--seqnotes-accent) !important;
1151
+ }
1152
+ text.seqnotes-anchor.seqnotes-jump-hover {
1153
+ text-decoration: underline;
1154
+ }
1155
+ .seqnotes-goto:focus-visible,
1156
+ .seqnotes-anchor:focus-visible {
1157
+ outline: 2px solid var(--vscode-focusBorder, var(--seqnotes-accent));
1158
+ outline-offset: 2px;
1159
+ }
1160
+ .seqnotes-branch {
1161
+ fill: var(--seqnotes-accent);
1162
+ fill-opacity: 0;
1163
+ pointer-events: none;
1164
+ transition: fill-opacity 0.15s;
1165
+ }
1166
+ .seqnotes-branch.seqnotes-jump-hover {
1167
+ fill-opacity: 0.08;
1168
+ }
1169
+ .seqnotes-branch.seqnotes-flash {
1170
+ animation: seqnotes-branch-flash 1.2s ease-out;
1171
+ }
1172
+ @keyframes seqnotes-branch-flash {
1173
+ 0%, 30% {
1174
+ fill-opacity: 0.25;
1175
+ }
1176
+ 100% {
1177
+ fill-opacity: 0;
1178
+ }
1179
+ }
1180
+ g.seqnotes-flash > rect {
1181
+ animation: seqnotes-note-flash 1.2s ease-out;
1182
+ }
1183
+ @keyframes seqnotes-note-flash {
1184
+ 0%, 30% {
1185
+ stroke: var(--seqnotes-accent);
1186
+ stroke-width: 6px;
1187
+ }
1188
+ }
1189
+ text.seqnotes-flash {
1190
+ animation: seqnotes-text-flash 1.2s ease-out;
1191
+ }
1192
+ @keyframes seqnotes-text-flash {
1193
+ 0%, 30% {
1194
+ opacity: 0.3;
1195
+ }
1196
+ }
1197
+ .seqnotes-jump-back {
1198
+ position: absolute;
1199
+ z-index: 1;
1200
+ transform: translateY(-50%);
1201
+ max-width: 60%;
1202
+ overflow: hidden;
1203
+ padding: 1px 8px;
1204
+ border: 1px solid var(--seqnotes-accent);
1205
+ border-radius: 10px;
1206
+ background: var(--vscode-editorWidget-background, var(--vscode-editor-background, #fff));
1207
+ color: var(--seqnotes-accent);
1208
+ font: 12px/1.6 var(--vscode-font-family, sans-serif);
1209
+ text-overflow: ellipsis;
1210
+ white-space: nowrap;
1211
+ cursor: pointer;
1212
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
1213
+ }
1214
+ .seqnotes-jump-back:hover {
1215
+ background: var(--seqnotes-accent);
1216
+ color: var(--vscode-editor-background, #fff);
1217
+ }
1218
+ .seqnotes-jump-back:focus-visible {
1219
+ outline: 1px solid var(--vscode-focusBorder);
1220
+ outline-offset: 1px;
1221
+ }
1222
+ .seqnotes-node.seqnotes-linked .nodeLabel:not([class*=attribute-] *) {
1223
+ text-decoration: underline dotted;
1224
+ }
1225
+ .seqnotes-node.seqnotes-active :is(rect, polygon, circle, ellipse, path, polyline):not(.label *, .divider *, [class^=row-rect] *) {
1226
+ stroke: var(--seqnotes-accent) !important;
1227
+ stroke-width: 3px !important;
1228
+ }
1229
+ .seqnotes-node.seqnotes-active .nodeLabel:not([class*=attribute-] *) {
1230
+ color: var(--seqnotes-accent) !important;
1231
+ font-weight: bold;
1232
+ }
1233
+ .seqnotes-node.seqnotes-active text {
1234
+ fill: var(--seqnotes-accent) !important;
1235
+ font-weight: bold;
1236
+ }
1237
+ .seqnotes-wireframe {
1238
+ margin: 1em 0;
1239
+ padding: 10px;
1240
+ }
1241
+ .seqnotes-wireframe-src {
1242
+ display: none;
1243
+ }
1244
+ .seqnotes-wireframe-frame {
1245
+ position: relative;
1246
+ max-width: 100%;
1247
+ margin: 0 auto;
1248
+ border: 1px solid var(--seqnotes-border);
1249
+ background: #fff;
1250
+ }
1251
+ .seqnotes-wireframe-screen {
1252
+ transform-origin: 0 0;
1253
+ contain: layout paint;
1254
+ }
1255
+ .seqnotes-wireframe-frame:hover > .seqnotes-zoom-button {
1256
+ opacity: 1;
1257
+ }
1258
+ .seqnotes-wireframe-note {
1259
+ margin: 6px 0 0;
1260
+ color: var(--vscode-editorWarning-foreground, #b89500);
1261
+ font-size: 0.9em;
1262
+ }
1263
+ .seqnotes-wireframe-missing > p {
1264
+ margin: 0;
1265
+ padding: 2em 1em;
1266
+ border: 1px dashed var(--seqnotes-border);
1267
+ color: var(--seqnotes-muted);
1268
+ text-align: center;
1269
+ }
1270
+ .seqnotes-part {
1271
+ position: absolute;
1272
+ box-sizing: border-box;
1273
+ pointer-events: none;
1274
+ border: 2px solid transparent;
1275
+ border-radius: 3px;
1276
+ transition: background-color 0.15s, border-color 0.15s;
1277
+ }
1278
+ .seqnotes-part.seqnotes-active {
1279
+ border-color: var(--seqnotes-accent);
1280
+ background: var(--seqnotes-accent-bg);
1281
+ }
1282
+ .seqnotes-part-number {
1283
+ position: absolute;
1284
+ left: 0;
1285
+ top: 0;
1286
+ min-width: 18px;
1287
+ height: 18px;
1288
+ padding: 0 4px;
1289
+ border-radius: 9px;
1290
+ box-sizing: border-box;
1291
+ background: #d93025;
1292
+ color: #fff;
1293
+ font: bold 11px/18px var(--vscode-font-family, sans-serif);
1294
+ text-align: center;
1295
+ transform: translate(-50%, -50%);
1296
+ pointer-events: none;
1297
+ }
1298
+ .seqnotes-part.seqnotes-active .seqnotes-part-number {
1299
+ background: var(--seqnotes-accent);
1300
+ }
1301
+ .seqnotes-part.seqnotes-unlinked:not(.seqnotes-active) .seqnotes-part-number {
1302
+ opacity: 0.45;
1303
+ }
1304
+ tr.seqnotes-row {
1305
+ cursor: pointer;
1306
+ }
1307
+ tr.seqnotes-row.seqnotes-active > td {
1308
+ background: var(--seqnotes-accent-bg);
1309
+ }
1310
+ tr.seqnotes-row.seqnotes-active > td:first-child {
1311
+ box-shadow: inset 3px 0 0 var(--seqnotes-accent);
1312
+ }
1313
+ .seqnotes-section {
1314
+ display: flow-root;
1315
+ margin: 0.8em 0;
1316
+ border-left: 3px solid transparent;
1317
+ padding: 0 8px 0 12px;
1318
+ border-radius: 2px;
1319
+ transition: background-color 0.15s, border-color 0.15s;
1320
+ }
1321
+ .seqnotes-section.seqnotes-active {
1322
+ border-left-color: var(--seqnotes-accent);
1323
+ background: var(--seqnotes-accent-bg);
1324
+ }
1325
+ .seqnotes-viewer.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked) > .seqnotes-overview-col > .seqnotes-section ~ .seqnotes-section {
1326
+ position: relative;
1327
+ margin-top: 1.6em;
1328
+ }
1329
+ .seqnotes-viewer.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked) > .seqnotes-overview-col > .seqnotes-section ~ .seqnotes-section::before {
1330
+ content: "";
1331
+ position: absolute;
1332
+ top: -0.8em;
1333
+ left: -3px;
1334
+ right: 0;
1335
+ border-top: 1px solid var(--seqnotes-border);
1336
+ }
1337
+ .seqnotes-section > :is(h1, h2, h3, h4, h5, h6) {
1338
+ cursor: pointer;
1339
+ margin-top: 0.5em;
1340
+ }
1341
+ .seqnotes-section > :is(h1, h2, h3, h4, h5, h6):hover {
1342
+ color: var(--seqnotes-accent);
1343
+ }
1344
+ .seqnotes-step {
1345
+ display: inline-block;
1346
+ min-width: 1.6em;
1347
+ margin-right: 0.5em;
1348
+ padding: 0 0.45em;
1349
+ border-radius: 0.8em;
1350
+ background: var(--vscode-foreground, #333);
1351
+ color: var(--vscode-editor-background, #fff);
1352
+ font-size: 0.65em;
1353
+ line-height: 1.6em;
1354
+ text-align: center;
1355
+ vertical-align: middle;
1356
+ box-sizing: border-box;
1357
+ }
1358
+ .messageText.seqnotes-unlinked:not(.seqnotes-current) {
1359
+ opacity: 0.55;
1360
+ }
1361
+ .seqnotes-node.seqnotes-unlinked:not(.seqnotes-current) .label {
1362
+ opacity: 0.55;
1363
+ }
1364
+ .seqnotes-unlinked:is(h1, h2, h3, h4, h5, h6)::after,
1365
+ .seqnotes-unlinked > td[data-seqnotes-mark]::after {
1366
+ content: attr(data-seqnotes-mark);
1367
+ margin-left: 0.6em;
1368
+ padding: 0 0.5em;
1369
+ border: 1px dashed var(--seqnotes-border);
1370
+ border-radius: 1em;
1371
+ color: var(--seqnotes-muted);
1372
+ font-size: 0.6em;
1373
+ font-weight: normal;
1374
+ vertical-align: middle;
1375
+ }
1376
+ [data-line].seqnotes-current:not(.seqnotes-mermaid) {
1377
+ box-shadow: -10px 0 0 -7px var(--seqnotes-current);
1378
+ }
1379
+ .messageText.seqnotes-current {
1380
+ font-weight: bold;
1381
+ text-decoration: underline;
1382
+ }
1383
+ .seqnotes-msg.seqnotes-current:not(.seqnotes-hit, .messageText) {
1384
+ stroke-width: 3px !important;
1385
+ }
1386
+ .seqnotes-node.seqnotes-current :is(rect, polygon, circle, ellipse, path, polyline):not(.label *, .divider *, [class^=row-rect] *) {
1387
+ stroke-width: 3px !important;
1388
+ }
1389
+ .seqnotes-node.seqnotes-current .nodeLabel:not([class*=attribute-] *) {
1390
+ font-weight: bold;
1391
+ text-decoration: underline;
1392
+ }
1393
+ .seqnotes-node.statediagram-cluster:is(.seqnotes-active, .seqnotes-current) .nodeLabel {
1394
+ font-weight: normal;
1395
+ }
1396
+ .seqnotes-toc {
1397
+ position: fixed;
1398
+ top: 50%;
1399
+ right: 4px;
1400
+ z-index: 10;
1401
+ transform: translateY(-50%);
1402
+ display: flex;
1403
+ flex-direction: column;
1404
+ box-sizing: border-box;
1405
+ width: 20px;
1406
+ max-height: 70vh;
1407
+ padding: 6px 0;
1408
+ border: 1px solid transparent;
1409
+ border-radius: 6px;
1410
+ font-size: 13px;
1411
+ line-height: 1.4;
1412
+ }
1413
+ .seqnotes-toc[hidden] {
1414
+ display: none;
1415
+ }
1416
+ .seqnotes-toc-title {
1417
+ display: none;
1418
+ }
1419
+ .seqnotes-toc ol {
1420
+ position: relative;
1421
+ min-height: 0;
1422
+ margin: 0;
1423
+ padding: 0;
1424
+ list-style: none;
1425
+ overflow: hidden;
1426
+ }
1427
+ .seqnotes-toc button {
1428
+ display: block;
1429
+ position: relative;
1430
+ box-sizing: border-box;
1431
+ width: 100%;
1432
+ height: 8px;
1433
+ padding: 0;
1434
+ border: none;
1435
+ background: none;
1436
+ color: inherit;
1437
+ font: inherit;
1438
+ text-align: left;
1439
+ white-space: nowrap;
1440
+ overflow: hidden;
1441
+ text-overflow: ellipsis;
1442
+ cursor: pointer;
1443
+ }
1444
+ .seqnotes-toc button::before {
1445
+ content: "";
1446
+ position: absolute;
1447
+ top: 3px;
1448
+ right: 2px;
1449
+ width: calc(14px - var(--seqnotes-toc-depth, 0) * 4px);
1450
+ height: 2px;
1451
+ border-radius: 1px;
1452
+ background: var(--seqnotes-border);
1453
+ }
1454
+ .seqnotes-toc .seqnotes-toc-current button::before {
1455
+ background: var(--seqnotes-accent);
1456
+ }
1457
+ .seqnotes-toc-text {
1458
+ display: none;
1459
+ }
1460
+ .seqnotes-toc:is(:hover, :has(:focus-visible)) {
1461
+ width: max-content;
1462
+ min-width: 160px;
1463
+ max-width: min(320px, 60vw);
1464
+ padding: 6px;
1465
+ border-color: var(--vscode-editorWidget-border, var(--seqnotes-border));
1466
+ background: var(--vscode-editorWidget-background, var(--vscode-editor-background));
1467
+ box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36));
1468
+ }
1469
+ .seqnotes-toc:is(:hover, :has(:focus-visible)) .seqnotes-toc-title {
1470
+ display: block;
1471
+ padding: 0 8px 4px;
1472
+ color: var(--seqnotes-muted);
1473
+ font-size: 11px;
1474
+ font-weight: 600;
1475
+ }
1476
+ .seqnotes-toc:is(:hover, :has(:focus-visible)) ol {
1477
+ overflow-y: auto;
1478
+ }
1479
+ .seqnotes-toc:is(:hover, :has(:focus-visible)) button {
1480
+ height: auto;
1481
+ padding: 2px 8px 2px calc(8px + var(--seqnotes-toc-depth, 0) * 12px);
1482
+ border-left: 2px solid transparent;
1483
+ border-radius: 3px;
1484
+ }
1485
+ .seqnotes-toc:is(:hover, :has(:focus-visible)) button::before {
1486
+ display: none;
1487
+ }
1488
+ .seqnotes-toc:is(:hover, :has(:focus-visible)) .seqnotes-toc-text {
1489
+ display: inline;
1490
+ }
1491
+ .seqnotes-toc:is(:hover, :has(:focus-visible)) button:hover {
1492
+ background: var(--vscode-list-hoverBackground, rgba(128, 128, 128, 0.2));
1493
+ }
1494
+ .seqnotes-toc:is(:hover, :has(:focus-visible)) .seqnotes-toc-current button {
1495
+ border-left-color: var(--seqnotes-accent);
1496
+ color: var(--seqnotes-accent);
1497
+ }
1498
+ .seqnotes-toc button:focus-visible {
1499
+ outline: 1px solid var(--vscode-focusBorder);
1500
+ outline-offset: -1px;
1501
+ }
1502
+ [data-seqnotes-diff] {
1503
+ --seqnotes-diff-color: var(--vscode-editorGutter-addedBackground, #2ea043);
1504
+ }
1505
+ [data-seqnotes-diff=changed] {
1506
+ --seqnotes-diff-color: var(--vscode-editorGutter-modifiedBackground, #005fb8);
1507
+ }
1508
+ [data-seqnotes-diff=deleted] {
1509
+ --seqnotes-diff-color: var(--vscode-editorGutter-deletedBackground, #f85149);
1510
+ }
1511
+ [data-seqnotes-diff]:not(tr, :where(.seqnotes-diff-off *)) {
1512
+ border-radius: 2px;
1513
+ background: color-mix(in srgb, var(--seqnotes-diff-color) 8%, transparent);
1514
+ box-shadow: -4px 0 0 0 var(--vscode-editor-background, transparent), -8px 0 0 0 var(--seqnotes-diff-color);
1515
+ }
1516
+ tr[data-seqnotes-diff]:not(:where(.seqnotes-diff-off *)) > :is(td, th) {
1517
+ background: color-mix(in srgb, var(--seqnotes-diff-color) 10%, transparent);
1518
+ }
1519
+ tr[data-seqnotes-diff]:not(:where(.seqnotes-diff-off *)) > :first-child {
1520
+ box-shadow: inset 4px 0 0 0 var(--seqnotes-diff-color);
1521
+ }
1522
+ [data-seqnotes-diff=deleted] {
1523
+ opacity: 0.75;
1524
+ }
1525
+ :is(h1, h2, h3, h4, h5, h6)[data-seqnotes-diff]:not(:where(.seqnotes-diff-off *)) {
1526
+ padding-left: 4px;
1527
+ }
1528
+ ins.seqnotes-diff-ins {
1529
+ text-decoration: none;
1530
+ }
1531
+ ins.seqnotes-diff-ins:not(:where(.seqnotes-diff-off *)) {
1532
+ border-radius: 2px;
1533
+ background: var(--vscode-diffEditor-insertedTextBackground, rgba(156, 204, 44, 0.25));
1534
+ box-shadow: 0 1.5px 0 0 var(--vscode-editorGutter-addedBackground, #2ea043);
1535
+ }
1536
+ del.seqnotes-diff-del {
1537
+ border-radius: 2px;
1538
+ background: var(--vscode-diffEditor-removedTextBackground, rgba(255, 0, 0, 0.2));
1539
+ text-decoration: line-through;
1540
+ text-decoration-color: var(--vscode-editorGutter-deletedBackground, #f85149);
1541
+ }
1542
+ .seqnotes-diff-old-diagram {
1543
+ margin: 0.5em 0 1em;
1544
+ }
1545
+ .seqnotes-diff-old-diagram > summary {
1546
+ color: var(--seqnotes-muted);
1547
+ font-size: 0.9em;
1548
+ }
1549
+ .seqnotes-diff-old-diagram > .seqnotes-mermaid {
1550
+ opacity: 0.75;
1551
+ background: color-mix(in srgb, var(--vscode-editorGutter-deletedBackground, #f85149) 8%, transparent);
1552
+ }
1553
+ .seqnotes-diff-focus {
1554
+ outline: 2px solid var(--vscode-focusBorder, #005fb8);
1555
+ outline-offset: 2px;
1556
+ }
1557
+ [data-seqnotes-diff] {
1558
+ scroll-margin: 25vh 0;
1559
+ }
1560
+ .seqnotes-diff-bar {
1561
+ position: fixed;
1562
+ bottom: 16px;
1563
+ left: 50%;
1564
+ z-index: 12;
1565
+ display: flex;
1566
+ align-items: center;
1567
+ gap: 8px;
1568
+ max-width: calc(100vw - 32px);
1569
+ box-sizing: border-box;
1570
+ padding: 3px 3px 3px 12px;
1571
+ border: 1px solid var(--vscode-editorWidget-border, var(--seqnotes-border));
1572
+ border-radius: 6px;
1573
+ background: var(--vscode-editorWidget-background, var(--vscode-editor-background));
1574
+ box-shadow: 0 2px 8px var(--vscode-widget-shadow, rgba(0, 0, 0, 0.36));
1575
+ font-size: 12px;
1576
+ transform: translateX(-50%);
1577
+ }
1578
+ .seqnotes-diff-bar[hidden] {
1579
+ display: none;
1580
+ }
1581
+ .seqnotes-diff-label {
1582
+ min-width: 0;
1583
+ overflow: hidden;
1584
+ text-overflow: ellipsis;
1585
+ white-space: nowrap;
1586
+ }
1587
+ .seqnotes-diff-counts {
1588
+ display: flex;
1589
+ gap: 8px;
1590
+ color: var(--seqnotes-muted);
1591
+ white-space: nowrap;
1592
+ }
1593
+ .seqnotes-diff-count::before {
1594
+ content: "";
1595
+ display: inline-block;
1596
+ width: 8px;
1597
+ height: 8px;
1598
+ margin-right: 4px;
1599
+ border-radius: 2px;
1600
+ background: var(--seqnotes-diff-color);
1601
+ }
1602
+ .seqnotes-diff-count[data-kind=added] {
1603
+ --seqnotes-diff-color: var(--vscode-editorGutter-addedBackground, #2ea043);
1604
+ }
1605
+ .seqnotes-diff-count[data-kind=changed] {
1606
+ --seqnotes-diff-color: var(--vscode-editorGutter-modifiedBackground, #005fb8);
1607
+ }
1608
+ .seqnotes-diff-count[data-kind=deleted] {
1609
+ --seqnotes-diff-color: var(--vscode-editorGutter-deletedBackground, #f85149);
1610
+ }
1611
+ .seqnotes-diff-buttons {
1612
+ display: flex;
1613
+ gap: 2px;
1614
+ }
1615
+ .seqnotes-diff-buttons button {
1616
+ display: inline-flex;
1617
+ align-items: center;
1618
+ justify-content: center;
1619
+ width: 24px;
1620
+ height: 24px;
1621
+ padding: 0;
1622
+ border: none;
1623
+ border-radius: 4px;
1624
+ background: transparent;
1625
+ color: var(--vscode-icon-foreground, currentColor);
1626
+ cursor: pointer;
1627
+ }
1628
+ .seqnotes-diff-buttons button:hover {
1629
+ background: var(--vscode-toolbar-hoverBackground, rgba(128, 128, 128, 0.2));
1630
+ }
1631
+ .seqnotes-diff-buttons button:focus-visible {
1632
+ outline: 1px solid var(--vscode-focusBorder);
1633
+ }
1634
+ .seqnotes-diff-buttons button:disabled {
1635
+ opacity: 0.4;
1636
+ cursor: default;
1637
+ background: transparent;
1638
+ }
1639
+ @media print {
1640
+ .seqnotes-diff-bar {
1641
+ display: none;
1642
+ }
1643
+ }
1644
+
1645
+ /* webview/theme.css */
1646
+ .seqnotes-viewer {
1647
+ --vscode-font-family:
1648
+ -apple-system,
1649
+ BlinkMacSystemFont,
1650
+ "Segoe UI",
1651
+ "Hiragino Sans",
1652
+ "Hiragino Kaku Gothic ProN",
1653
+ Meiryo,
1654
+ "Noto Sans JP",
1655
+ sans-serif;
1656
+ --vscode-markdown-font-family: var(--vscode-font-family);
1657
+ --vscode-markdown-font-size: 14px;
1658
+ --vscode-markdown-line-height: 1.6;
1659
+ --vscode-editor-font-family:
1660
+ "SF Mono",
1661
+ Menlo,
1662
+ Consolas,
1663
+ "Liberation Mono",
1664
+ monospace;
1665
+ }
1666
+ .seqnotes-viewer.vscode-light {
1667
+ color-scheme: light;
1668
+ --vscode-editor-background: #ffffff;
1669
+ --vscode-editor-foreground: #3b3b3b;
1670
+ --vscode-foreground: #3b3b3b;
1671
+ --vscode-descriptionForeground: #717171;
1672
+ --vscode-icon-foreground: #3b3b3b;
1673
+ --vscode-errorForeground: #f85149;
1674
+ --vscode-focusBorder: #005fb8;
1675
+ --vscode-textLink-foreground: #005fb8;
1676
+ --vscode-textLink-activeForeground: #005fb8;
1677
+ --vscode-textCodeBlock-background: #f3f3f3;
1678
+ --vscode-textBlockQuote-border: #e5e5e5;
1679
+ --vscode-textBlockQuote-foreground: #616161;
1680
+ --vscode-panel-border: #e5e5e5;
1681
+ --vscode-editorLineNumber-activeForeground: #171184;
1682
+ --vscode-editorWidget-background: #f8f8f8;
1683
+ --vscode-sideBar-background: #f8f8f8;
1684
+ --vscode-editorWidget-border: #c8c8c8;
1685
+ --vscode-widget-shadow: rgba(0, 0, 0, 0.16);
1686
+ --vscode-list-hoverBackground: #f2f2f2;
1687
+ --vscode-toolbar-hoverBackground: rgba(184, 184, 184, 0.31);
1688
+ --vscode-sash-hoverBorder: #005fb8;
1689
+ --vscode-inputValidation-warningBackground: #f6f5d2;
1690
+ --vscode-inputValidation-warningBorder: #b89500;
1691
+ --vscode-input-background: #ffffff;
1692
+ --vscode-input-foreground: #3b3b3b;
1693
+ --vscode-input-border: #cecece;
1694
+ --vscode-input-placeholderForeground: #767676;
1695
+ --vscode-charts-blue: #1a85ff;
1696
+ --vscode-charts-green: #388a34;
1697
+ --vscode-charts-purple: #652d90;
1698
+ --vscode-charts-red: #e51400;
1699
+ --vscode-charts-yellow: #bf8803;
1700
+ --vscode-editorGutter-addedBackground: #2ea043;
1701
+ --vscode-editorGutter-modifiedBackground: #005fb8;
1702
+ --vscode-editorGutter-deletedBackground: #f85149;
1703
+ --vscode-diffEditor-insertedTextBackground: rgba(156, 204, 44, 0.25);
1704
+ --vscode-diffEditor-removedTextBackground: rgba(255, 0, 0, 0.2);
1705
+ }
1706
+ .seqnotes-viewer.vscode-dark {
1707
+ color-scheme: dark;
1708
+ --vscode-editor-background: #1f1f1f;
1709
+ --vscode-editor-foreground: #cccccc;
1710
+ --vscode-foreground: #cccccc;
1711
+ --vscode-descriptionForeground: #9d9d9d;
1712
+ --vscode-icon-foreground: #cccccc;
1713
+ --vscode-errorForeground: #f85149;
1714
+ --vscode-focusBorder: #0078d4;
1715
+ --vscode-textLink-foreground: #4daafc;
1716
+ --vscode-textLink-activeForeground: #4daafc;
1717
+ --vscode-textCodeBlock-background: #2b2b2b;
1718
+ --vscode-textBlockQuote-border: #616161;
1719
+ --vscode-textBlockQuote-foreground: #cccccc;
1720
+ --vscode-panel-border: #2b2b2b;
1721
+ --vscode-editorLineNumber-activeForeground: #cccccc;
1722
+ --vscode-editorWidget-background: #202020;
1723
+ --vscode-sideBar-background: #181818;
1724
+ --vscode-editorWidget-border: #313131;
1725
+ --vscode-widget-shadow: rgba(0, 0, 0, 0.36);
1726
+ --vscode-list-hoverBackground: #2a2d2e;
1727
+ --vscode-toolbar-hoverBackground: rgba(90, 93, 94, 0.31);
1728
+ --vscode-sash-hoverBorder: #0078d4;
1729
+ --vscode-inputValidation-warningBackground: #352a05;
1730
+ --vscode-inputValidation-warningBorder: #b89500;
1731
+ --vscode-input-background: #313131;
1732
+ --vscode-input-foreground: #cccccc;
1733
+ --vscode-input-border: #3c3c3c;
1734
+ --vscode-input-placeholderForeground: #989898;
1735
+ --vscode-charts-blue: #3794ff;
1736
+ --vscode-charts-green: #89d185;
1737
+ --vscode-charts-purple: #b180d7;
1738
+ --vscode-charts-red: #f14c4c;
1739
+ --vscode-charts-yellow: #cca700;
1740
+ --vscode-editorGutter-addedBackground: #2ea043;
1741
+ --vscode-editorGutter-modifiedBackground: #0078d4;
1742
+ --vscode-editorGutter-deletedBackground: #f85149;
1743
+ --vscode-diffEditor-insertedTextBackground: rgba(156, 204, 44, 0.2);
1744
+ --vscode-diffEditor-removedTextBackground: rgba(255, 0, 0, 0.2);
1745
+ }
1746
+
1747
+ /* embed/viewer.css */
1748
+ .seqnotes-viewer.seqnotes-embedded {
1749
+ position: relative;
1750
+ box-sizing: border-box;
1751
+ height: 100%;
1752
+ padding: 0;
1753
+ overflow: hidden;
1754
+ }
1755
+ .seqnotes-embedded > .seqnotes-viewer-scroller {
1756
+ box-sizing: border-box;
1757
+ height: 100%;
1758
+ overflow: auto;
1759
+ padding: 2px 26px calc(var(--seqnotes-viewport-height, 0px) * 0.4);
1760
+ }
1761
+ .seqnotes-embedded > .seqnotes-toc {
1762
+ position: absolute;
1763
+ right: calc(4px + var(--seqnotes-scrollbar-width, 0px));
1764
+ max-height: 70%;
1765
+ }
1766
+ .seqnotes-embedded > .seqnotes-diff-bar {
1767
+ position: absolute;
1768
+ max-width: calc(100% - 32px);
1769
+ }