@unana_dev/doxen 0.2.5 → 0.3.0
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/README.md +22 -2
- package/client/app.js +535 -10
- package/client/comments.js +352 -0
- package/client/index.html +18 -13
- package/client/style.css +633 -25
- package/package.json +2 -1
- package/src/access-worker.js +28 -0
- package/src/build.js +1 -1
- package/src/comment-report.js +82 -0
- package/src/comments.sql +10 -0
- package/src/content.js +34 -3
- package/src/deploy-state.js +1 -0
- package/src/deploy.js +5 -0
- package/src/dev.js +1 -0
- package/src/index.d.ts +1 -0
- package/src/templates/comment-report.yml +34 -0
package/client/style.css
CHANGED
|
@@ -243,18 +243,18 @@ main {
|
|
|
243
243
|
}
|
|
244
244
|
article {
|
|
245
245
|
font-size: 16px;
|
|
246
|
-
line-height: 1.
|
|
246
|
+
line-height: 1.625;
|
|
247
247
|
font-weight: 400;
|
|
248
|
-
letter-spacing:
|
|
248
|
+
letter-spacing: normal;
|
|
249
|
+
color: #1c1d1e;
|
|
249
250
|
overflow-wrap: anywhere;
|
|
250
251
|
}
|
|
251
252
|
article h1 {
|
|
252
|
-
font-size:
|
|
253
|
-
letter-spacing: -0.
|
|
254
|
-
line-height: 1.
|
|
255
|
-
margin:
|
|
256
|
-
|
|
257
|
-
font-weight: 650;
|
|
253
|
+
font-size: 36px;
|
|
254
|
+
letter-spacing: -0.025em;
|
|
255
|
+
line-height: 1.25;
|
|
256
|
+
margin: 0 0 24px;
|
|
257
|
+
font-weight: 700;
|
|
258
258
|
}
|
|
259
259
|
article strong {
|
|
260
260
|
font-weight: 600;
|
|
@@ -294,17 +294,28 @@ article strong {
|
|
|
294
294
|
display: none;
|
|
295
295
|
}
|
|
296
296
|
article h2 {
|
|
297
|
-
font-size:
|
|
298
|
-
letter-spacing: -0.
|
|
299
|
-
margin:
|
|
300
|
-
|
|
301
|
-
|
|
297
|
+
font-size: 30px;
|
|
298
|
+
letter-spacing: -0.0125em;
|
|
299
|
+
margin: 20px 0;
|
|
300
|
+
padding-top: 1em;
|
|
301
|
+
line-height: 1.2;
|
|
302
|
+
font-weight: 600;
|
|
302
303
|
}
|
|
303
304
|
article h3 {
|
|
305
|
+
font-size: 24px;
|
|
306
|
+
letter-spacing: -0.0125em;
|
|
307
|
+
line-height: 1.333333;
|
|
308
|
+
font-weight: 600;
|
|
309
|
+
margin: 20px 0;
|
|
310
|
+
padding-top: 0.75em;
|
|
311
|
+
}
|
|
312
|
+
article h4 {
|
|
304
313
|
font-size: 20px;
|
|
305
|
-
|
|
314
|
+
letter-spacing: -0.0125em;
|
|
315
|
+
line-height: 1.4;
|
|
306
316
|
font-weight: 600;
|
|
307
|
-
margin:
|
|
317
|
+
margin: 20px 0;
|
|
318
|
+
padding-top: 0.5em;
|
|
308
319
|
}
|
|
309
320
|
article :is(h1, h2, h3, h4, h5, h6) {
|
|
310
321
|
scroll-margin-top: 24px;
|
|
@@ -326,32 +337,62 @@ article hr:has(+ .document-version) {
|
|
|
326
337
|
display: none;
|
|
327
338
|
}
|
|
328
339
|
article p {
|
|
329
|
-
|
|
330
|
-
margin: 16px 0;
|
|
340
|
+
margin: 20px 0;
|
|
331
341
|
}
|
|
332
342
|
article blockquote {
|
|
333
343
|
margin: 20px 0;
|
|
334
344
|
padding: 12px 24px;
|
|
335
345
|
border-left: 2px solid var(--accent-border, #d6dfe6);
|
|
336
|
-
color: #
|
|
346
|
+
color: #686f74;
|
|
337
347
|
}
|
|
338
348
|
article blockquote p {
|
|
339
349
|
margin: 0;
|
|
340
|
-
|
|
350
|
+
}
|
|
351
|
+
article blockquote > * + * {
|
|
352
|
+
margin-top: 16px;
|
|
341
353
|
}
|
|
342
354
|
article hr {
|
|
343
355
|
border: 0;
|
|
344
356
|
border-top: 1px solid var(--line);
|
|
345
|
-
margin: 20px 0
|
|
357
|
+
margin: 20px 0;
|
|
346
358
|
}
|
|
347
359
|
article ul,
|
|
348
360
|
article ol {
|
|
349
361
|
padding-left: 24px;
|
|
350
|
-
|
|
362
|
+
margin: 20px 0;
|
|
363
|
+
}
|
|
364
|
+
article li {
|
|
365
|
+
padding-left: 4px;
|
|
366
|
+
line-height: 1.5;
|
|
367
|
+
}
|
|
368
|
+
article li::marker {
|
|
369
|
+
color: #686f74;
|
|
351
370
|
}
|
|
352
371
|
article li + li {
|
|
353
372
|
margin-top: 8px;
|
|
354
373
|
}
|
|
374
|
+
article li > p {
|
|
375
|
+
margin: 0;
|
|
376
|
+
}
|
|
377
|
+
article li > :is(ul, ol) {
|
|
378
|
+
margin: 8px 0 0;
|
|
379
|
+
}
|
|
380
|
+
article li > :not(:first-child) {
|
|
381
|
+
margin-top: 8px;
|
|
382
|
+
}
|
|
383
|
+
article ul {
|
|
384
|
+
list-style-type: disc;
|
|
385
|
+
}
|
|
386
|
+
article ul ul {
|
|
387
|
+
list-style-type: circle;
|
|
388
|
+
}
|
|
389
|
+
article ol ol {
|
|
390
|
+
list-style-type: lower-alpha;
|
|
391
|
+
}
|
|
392
|
+
article a:not(.folder-cards a) {
|
|
393
|
+
text-decoration: underline;
|
|
394
|
+
text-underline-offset: 2px;
|
|
395
|
+
}
|
|
355
396
|
article pre {
|
|
356
397
|
overflow: auto;
|
|
357
398
|
padding: 18px;
|
|
@@ -373,6 +414,417 @@ article pre code {
|
|
|
373
414
|
border: 0;
|
|
374
415
|
background: none;
|
|
375
416
|
}
|
|
417
|
+
@media (min-width: 1201px) {
|
|
418
|
+
body.is-spreadsheet .layout {
|
|
419
|
+
grid-template-columns: 288px minmax(0, 1fr);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
body.is-spreadsheet .toc {
|
|
423
|
+
display: none;
|
|
424
|
+
}
|
|
425
|
+
body.sheet-fullscreen {
|
|
426
|
+
overflow: hidden;
|
|
427
|
+
}
|
|
428
|
+
.sheet-viewer {
|
|
429
|
+
--sheet-accent: var(--accent, #009dff);
|
|
430
|
+
--sheet-soft: color-mix(in srgb, var(--sheet-accent) 7%, white);
|
|
431
|
+
--sheet-active: color-mix(in srgb, var(--sheet-accent) 22%, white);
|
|
432
|
+
--sheet-match: color-mix(in srgb, var(--sheet-accent) 14%, white);
|
|
433
|
+
--sheet-current: color-mix(in srgb, var(--sheet-accent) 45%, white);
|
|
434
|
+
--sheet-ink: color-mix(in srgb, var(--sheet-accent) 55%, #1c1d1e);
|
|
435
|
+
--sheet-head: #f3f4f5;
|
|
436
|
+
--sheet-grid: #ebedef;
|
|
437
|
+
--sheet-rule: #d9dcdf;
|
|
438
|
+
position: relative;
|
|
439
|
+
display: flex;
|
|
440
|
+
flex-direction: column;
|
|
441
|
+
height: clamp(420px, calc(100vh - 220px), 860px);
|
|
442
|
+
border: 1px solid #dcdfe2;
|
|
443
|
+
border-radius: 8px;
|
|
444
|
+
background: #fff;
|
|
445
|
+
overflow: hidden;
|
|
446
|
+
font-size: 13px;
|
|
447
|
+
line-height: 1.5;
|
|
448
|
+
overflow-wrap: normal;
|
|
449
|
+
}
|
|
450
|
+
.sheet-viewer.is-full {
|
|
451
|
+
position: fixed;
|
|
452
|
+
inset: 0;
|
|
453
|
+
z-index: 100;
|
|
454
|
+
height: 100vh;
|
|
455
|
+
border-radius: 0;
|
|
456
|
+
border: 0;
|
|
457
|
+
}
|
|
458
|
+
.sheet-viewer.is-resizing {
|
|
459
|
+
cursor: col-resize;
|
|
460
|
+
user-select: none;
|
|
461
|
+
}
|
|
462
|
+
.sheet-toolbar {
|
|
463
|
+
display: flex;
|
|
464
|
+
flex-wrap: wrap;
|
|
465
|
+
align-items: center;
|
|
466
|
+
gap: 8px;
|
|
467
|
+
padding: 8px 10px;
|
|
468
|
+
border-bottom: 1px solid #e6e8ea;
|
|
469
|
+
background: #fafbfb;
|
|
470
|
+
}
|
|
471
|
+
.sheet-full-button {
|
|
472
|
+
display: inline-flex;
|
|
473
|
+
align-items: center;
|
|
474
|
+
justify-content: center;
|
|
475
|
+
flex: 0 0 32px;
|
|
476
|
+
width: 32px;
|
|
477
|
+
height: 32px;
|
|
478
|
+
padding: 0;
|
|
479
|
+
border: 0;
|
|
480
|
+
background: transparent;
|
|
481
|
+
color: #555;
|
|
482
|
+
cursor: pointer;
|
|
483
|
+
}
|
|
484
|
+
.sheet-full-button svg {
|
|
485
|
+
width: 18px;
|
|
486
|
+
height: 18px;
|
|
487
|
+
}
|
|
488
|
+
.sheet-find {
|
|
489
|
+
display: flex;
|
|
490
|
+
align-items: center;
|
|
491
|
+
gap: 8px;
|
|
492
|
+
flex: 0 1 260px;
|
|
493
|
+
min-width: 180px;
|
|
494
|
+
height: 32px;
|
|
495
|
+
padding: 0 10px;
|
|
496
|
+
border: 1px solid #dee1e4;
|
|
497
|
+
border-radius: 6px;
|
|
498
|
+
background: #fff;
|
|
499
|
+
}
|
|
500
|
+
.sheet-find:focus-within {
|
|
501
|
+
border-color: var(--accent-border, #76caff);
|
|
502
|
+
}
|
|
503
|
+
.sheet-find-icon {
|
|
504
|
+
width: 11px;
|
|
505
|
+
height: 11px;
|
|
506
|
+
flex-shrink: 0;
|
|
507
|
+
border: 1.5px solid #999;
|
|
508
|
+
border-radius: 50%;
|
|
509
|
+
}
|
|
510
|
+
.sheet-find input {
|
|
511
|
+
flex: 1;
|
|
512
|
+
min-width: 0;
|
|
513
|
+
padding: 0;
|
|
514
|
+
border: 0;
|
|
515
|
+
border-radius: 0;
|
|
516
|
+
outline: 0;
|
|
517
|
+
background: transparent;
|
|
518
|
+
font-size: 13px;
|
|
519
|
+
}
|
|
520
|
+
.sheet-find-count {
|
|
521
|
+
font-size: 12px;
|
|
522
|
+
color: #888;
|
|
523
|
+
white-space: nowrap;
|
|
524
|
+
}
|
|
525
|
+
.sheet-spacer {
|
|
526
|
+
flex: 1;
|
|
527
|
+
}
|
|
528
|
+
.sheet-button,
|
|
529
|
+
.sheet-download {
|
|
530
|
+
display: inline-flex;
|
|
531
|
+
align-items: center;
|
|
532
|
+
height: 32px;
|
|
533
|
+
padding: 0 12px;
|
|
534
|
+
border: 1px solid #dee1e4;
|
|
535
|
+
border-radius: 6px;
|
|
536
|
+
background: #fff;
|
|
537
|
+
color: #1f2124;
|
|
538
|
+
font-size: 13px;
|
|
539
|
+
white-space: nowrap;
|
|
540
|
+
}
|
|
541
|
+
.sheet-button[aria-pressed="true"] {
|
|
542
|
+
background: var(--sheet-soft);
|
|
543
|
+
border-color: var(--sheet-accent);
|
|
544
|
+
color: var(--sheet-ink);
|
|
545
|
+
}
|
|
546
|
+
.sheet-download {
|
|
547
|
+
padding: 0 14px;
|
|
548
|
+
border-color: var(--sheet-accent);
|
|
549
|
+
background: var(--sheet-accent);
|
|
550
|
+
color: #fff;
|
|
551
|
+
font-weight: 500;
|
|
552
|
+
}
|
|
553
|
+
.sheet-download,
|
|
554
|
+
.sheet-download:hover {
|
|
555
|
+
text-decoration: none;
|
|
556
|
+
}
|
|
557
|
+
.sheet-download:hover {
|
|
558
|
+
filter: brightness(0.94);
|
|
559
|
+
}
|
|
560
|
+
.sheet-formula {
|
|
561
|
+
display: flex;
|
|
562
|
+
align-items: stretch;
|
|
563
|
+
min-height: 34px;
|
|
564
|
+
border-bottom: 1px solid #e6e8ea;
|
|
565
|
+
}
|
|
566
|
+
.sheet-name-box,
|
|
567
|
+
.sheet-fx {
|
|
568
|
+
display: flex;
|
|
569
|
+
align-items: center;
|
|
570
|
+
justify-content: center;
|
|
571
|
+
flex-shrink: 0;
|
|
572
|
+
border-right: 1px solid #e6e8ea;
|
|
573
|
+
}
|
|
574
|
+
.sheet-name-box {
|
|
575
|
+
width: 72px;
|
|
576
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
577
|
+
font-size: 12px;
|
|
578
|
+
color: #333;
|
|
579
|
+
}
|
|
580
|
+
.sheet-fx {
|
|
581
|
+
width: 36px;
|
|
582
|
+
color: #aaa;
|
|
583
|
+
font-family: Georgia, serif;
|
|
584
|
+
font-style: italic;
|
|
585
|
+
}
|
|
586
|
+
.sheet-formula-value {
|
|
587
|
+
flex: 1;
|
|
588
|
+
min-width: 0;
|
|
589
|
+
max-height: 110px;
|
|
590
|
+
padding: 8px 12px;
|
|
591
|
+
overflow: auto;
|
|
592
|
+
white-space: pre-wrap;
|
|
593
|
+
overflow-wrap: anywhere;
|
|
594
|
+
line-height: 1.55;
|
|
595
|
+
color: #222;
|
|
596
|
+
}
|
|
597
|
+
.sheet-grid {
|
|
598
|
+
position: relative;
|
|
599
|
+
flex: 1;
|
|
600
|
+
min-height: 0;
|
|
601
|
+
overflow: auto;
|
|
602
|
+
outline: none;
|
|
603
|
+
background: #fff;
|
|
604
|
+
}
|
|
605
|
+
.sheet-grid:focus-visible {
|
|
606
|
+
box-shadow: inset 0 0 0 2px var(--accent-border, #76caff);
|
|
607
|
+
}
|
|
608
|
+
article .sheet-grid table {
|
|
609
|
+
width: auto;
|
|
610
|
+
margin: 0;
|
|
611
|
+
border-collapse: separate;
|
|
612
|
+
border-spacing: 0;
|
|
613
|
+
table-layout: fixed;
|
|
614
|
+
font-size: 13.5px;
|
|
615
|
+
line-height: 1.5;
|
|
616
|
+
}
|
|
617
|
+
article .sheet-grid :is(th, td) {
|
|
618
|
+
border: 0;
|
|
619
|
+
border-radius: 0;
|
|
620
|
+
overflow-wrap: normal;
|
|
621
|
+
}
|
|
622
|
+
article .sheet-grid th:first-child,
|
|
623
|
+
article .sheet-grid th:last-child {
|
|
624
|
+
border-radius: 0;
|
|
625
|
+
}
|
|
626
|
+
article .sheet-grid thead th {
|
|
627
|
+
position: sticky;
|
|
628
|
+
top: 0;
|
|
629
|
+
z-index: 3;
|
|
630
|
+
height: 26px;
|
|
631
|
+
padding: 0;
|
|
632
|
+
background: var(--sheet-head);
|
|
633
|
+
color: #666;
|
|
634
|
+
font-size: 12px;
|
|
635
|
+
font-weight: 500;
|
|
636
|
+
text-align: center;
|
|
637
|
+
border-right: 1px solid var(--sheet-rule);
|
|
638
|
+
border-bottom: 1px solid var(--sheet-rule);
|
|
639
|
+
user-select: none;
|
|
640
|
+
}
|
|
641
|
+
article .sheet-grid thead .sheet-corner {
|
|
642
|
+
left: 0;
|
|
643
|
+
z-index: 5;
|
|
644
|
+
}
|
|
645
|
+
article .sheet-grid .sheet-row-head {
|
|
646
|
+
position: sticky;
|
|
647
|
+
left: 0;
|
|
648
|
+
z-index: 2;
|
|
649
|
+
padding: 8px 0 0;
|
|
650
|
+
background: var(--sheet-head);
|
|
651
|
+
color: #777;
|
|
652
|
+
font-size: 12px;
|
|
653
|
+
font-weight: 400;
|
|
654
|
+
text-align: center;
|
|
655
|
+
vertical-align: top;
|
|
656
|
+
border-right: 1px solid var(--sheet-rule);
|
|
657
|
+
border-bottom: 1px solid #e4e6e8;
|
|
658
|
+
user-select: none;
|
|
659
|
+
}
|
|
660
|
+
article .sheet-grid :is(.sheet-col-head, .sheet-row-head).is-active {
|
|
661
|
+
background: var(--sheet-active);
|
|
662
|
+
color: var(--sheet-ink);
|
|
663
|
+
font-weight: 700;
|
|
664
|
+
}
|
|
665
|
+
.sheet-resize {
|
|
666
|
+
position: absolute;
|
|
667
|
+
top: 0;
|
|
668
|
+
right: -4px;
|
|
669
|
+
bottom: 0;
|
|
670
|
+
z-index: 2;
|
|
671
|
+
width: 8px;
|
|
672
|
+
cursor: col-resize;
|
|
673
|
+
touch-action: none;
|
|
674
|
+
}
|
|
675
|
+
.sheet-resize:hover {
|
|
676
|
+
background: color-mix(in srgb, var(--sheet-accent) 35%, transparent);
|
|
677
|
+
}
|
|
678
|
+
article .sheet-grid td {
|
|
679
|
+
padding: 8px 10px;
|
|
680
|
+
vertical-align: top;
|
|
681
|
+
text-align: left;
|
|
682
|
+
background: #fff;
|
|
683
|
+
border-right: 1px solid var(--sheet-grid);
|
|
684
|
+
border-bottom: 1px solid var(--sheet-grid);
|
|
685
|
+
cursor: cell;
|
|
686
|
+
}
|
|
687
|
+
article .sheet-grid td > div {
|
|
688
|
+
overflow: hidden;
|
|
689
|
+
text-overflow: ellipsis;
|
|
690
|
+
white-space: nowrap;
|
|
691
|
+
word-break: keep-all;
|
|
692
|
+
overflow-wrap: anywhere;
|
|
693
|
+
}
|
|
694
|
+
.sheet-viewer.is-wrapped .sheet-grid td > div,
|
|
695
|
+
article .sheet-grid td.is-expanded > div {
|
|
696
|
+
white-space: pre-wrap;
|
|
697
|
+
}
|
|
698
|
+
article .sheet-grid td.is-number {
|
|
699
|
+
text-align: right;
|
|
700
|
+
font-variant-numeric: tabular-nums;
|
|
701
|
+
}
|
|
702
|
+
article .sheet-grid .sheet-header-row > * {
|
|
703
|
+
position: sticky;
|
|
704
|
+
top: 26px;
|
|
705
|
+
z-index: 1;
|
|
706
|
+
font-weight: 700;
|
|
707
|
+
background: #fafbfb;
|
|
708
|
+
border-bottom: 2px solid #d0d4d8;
|
|
709
|
+
}
|
|
710
|
+
article .sheet-grid .sheet-header-row > .sheet-row-head {
|
|
711
|
+
z-index: 4;
|
|
712
|
+
font-weight: 400;
|
|
713
|
+
background: var(--sheet-head);
|
|
714
|
+
}
|
|
715
|
+
article .sheet-grid .sheet-header-row > .sheet-row-head.is-active {
|
|
716
|
+
font-weight: 700;
|
|
717
|
+
background: var(--sheet-active);
|
|
718
|
+
}
|
|
719
|
+
article .sheet-grid td.is-selected {
|
|
720
|
+
position: relative;
|
|
721
|
+
z-index: 1;
|
|
722
|
+
background: var(--sheet-soft);
|
|
723
|
+
box-shadow: inset 0 0 0 2px var(--sheet-accent);
|
|
724
|
+
}
|
|
725
|
+
article .sheet-grid .sheet-header-row > td.is-selected {
|
|
726
|
+
position: sticky;
|
|
727
|
+
z-index: 2;
|
|
728
|
+
}
|
|
729
|
+
article .sheet-grid td.is-match {
|
|
730
|
+
background: var(--sheet-match);
|
|
731
|
+
}
|
|
732
|
+
article .sheet-grid td.is-current-match {
|
|
733
|
+
background: var(--sheet-current);
|
|
734
|
+
}
|
|
735
|
+
.sheet-footer {
|
|
736
|
+
display: flex;
|
|
737
|
+
align-items: stretch;
|
|
738
|
+
height: 36px;
|
|
739
|
+
flex-shrink: 0;
|
|
740
|
+
border-top: 1px solid #dcdfe2;
|
|
741
|
+
background: var(--sheet-head);
|
|
742
|
+
}
|
|
743
|
+
.sheet-arrows {
|
|
744
|
+
display: flex;
|
|
745
|
+
align-items: center;
|
|
746
|
+
gap: 2px;
|
|
747
|
+
padding: 0 6px;
|
|
748
|
+
border-right: 1px solid #dcdfe2;
|
|
749
|
+
}
|
|
750
|
+
.sheet-arrow {
|
|
751
|
+
width: 26px;
|
|
752
|
+
height: 26px;
|
|
753
|
+
padding: 0;
|
|
754
|
+
border: 0;
|
|
755
|
+
border-radius: 4px;
|
|
756
|
+
background: transparent;
|
|
757
|
+
color: #666;
|
|
758
|
+
font-size: 16px;
|
|
759
|
+
line-height: 1;
|
|
760
|
+
}
|
|
761
|
+
.sheet-arrow:hover {
|
|
762
|
+
background: #e6e8ea;
|
|
763
|
+
}
|
|
764
|
+
.sheet-tabs {
|
|
765
|
+
display: flex;
|
|
766
|
+
align-items: stretch;
|
|
767
|
+
flex: 1;
|
|
768
|
+
min-width: 0;
|
|
769
|
+
overflow-x: auto;
|
|
770
|
+
}
|
|
771
|
+
.sheet-tab {
|
|
772
|
+
display: flex;
|
|
773
|
+
align-items: center;
|
|
774
|
+
flex-shrink: 0;
|
|
775
|
+
gap: 8px;
|
|
776
|
+
margin-top: -1px;
|
|
777
|
+
padding: 0 18px;
|
|
778
|
+
border: 0;
|
|
779
|
+
border-right: 1px solid #dcdfe2;
|
|
780
|
+
border-radius: 0;
|
|
781
|
+
background: transparent;
|
|
782
|
+
color: #666;
|
|
783
|
+
font-size: 13px;
|
|
784
|
+
white-space: nowrap;
|
|
785
|
+
}
|
|
786
|
+
.sheet-tab:hover {
|
|
787
|
+
color: #1f2124;
|
|
788
|
+
}
|
|
789
|
+
.sheet-tab.is-active {
|
|
790
|
+
background: #fff;
|
|
791
|
+
color: var(--sheet-ink);
|
|
792
|
+
font-weight: 700;
|
|
793
|
+
box-shadow: inset 0 -2px 0 var(--sheet-accent);
|
|
794
|
+
}
|
|
795
|
+
.sheet-tab-count {
|
|
796
|
+
font-size: 11px;
|
|
797
|
+
font-weight: 400;
|
|
798
|
+
color: #9a9a9a;
|
|
799
|
+
}
|
|
800
|
+
.sheet-status {
|
|
801
|
+
display: flex;
|
|
802
|
+
align-items: center;
|
|
803
|
+
gap: 14px;
|
|
804
|
+
padding: 0 14px;
|
|
805
|
+
border-left: 1px solid #dcdfe2;
|
|
806
|
+
color: #777;
|
|
807
|
+
font-size: 12px;
|
|
808
|
+
white-space: nowrap;
|
|
809
|
+
}
|
|
810
|
+
.sheet-hint,
|
|
811
|
+
.sheet-message {
|
|
812
|
+
margin: 14px 0 0;
|
|
813
|
+
font-size: 12px;
|
|
814
|
+
color: #9a9a9a;
|
|
815
|
+
}
|
|
816
|
+
@media (max-width: 700px) {
|
|
817
|
+
.sheet-find {
|
|
818
|
+
flex: 1 1 180px;
|
|
819
|
+
}
|
|
820
|
+
.sheet-spacer,
|
|
821
|
+
.sheet-status span:first-child:empty {
|
|
822
|
+
display: none;
|
|
823
|
+
}
|
|
824
|
+
.sheet-status {
|
|
825
|
+
padding: 0 10px;
|
|
826
|
+
}
|
|
827
|
+
}
|
|
376
828
|
article table {
|
|
377
829
|
width: 100%;
|
|
378
830
|
border-collapse: separate;
|
|
@@ -487,13 +939,21 @@ article img {
|
|
|
487
939
|
.toc {
|
|
488
940
|
position: sticky;
|
|
489
941
|
top: 0;
|
|
942
|
+
display: flex;
|
|
943
|
+
flex-direction: column;
|
|
490
944
|
height: 100vh;
|
|
491
945
|
padding: 30px 0;
|
|
492
|
-
overflow: auto;
|
|
493
946
|
}
|
|
494
947
|
.toc .eyebrow {
|
|
495
948
|
font-size: 12px;
|
|
496
949
|
}
|
|
950
|
+
.toc-frame { position: relative; min-height: 0; }
|
|
951
|
+
.toc-frame::before, .toc-frame::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; height: 24px; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
|
|
952
|
+
.toc-frame::before { top: 0; background: linear-gradient(to bottom, #fff, #fff0); }
|
|
953
|
+
.toc-frame::after { bottom: 0; background: linear-gradient(to top, #fff, #fff0); }
|
|
954
|
+
.toc-frame.has-above::before, .toc-frame.has-below::after { opacity: 1; }
|
|
955
|
+
#toc { max-height: 100%; overflow-y: auto; scrollbar-width: none; }
|
|
956
|
+
#toc::-webkit-scrollbar { display: none; }
|
|
497
957
|
#toc a {
|
|
498
958
|
display: block;
|
|
499
959
|
color: #7d8289;
|
|
@@ -606,7 +1066,7 @@ dialog::backdrop {
|
|
|
606
1066
|
.result mark {
|
|
607
1067
|
background: var(--accent-highlight, #dcf0ff);
|
|
608
1068
|
}
|
|
609
|
-
@media (max-width:
|
|
1069
|
+
@media (max-width: 1199px) {
|
|
610
1070
|
header,
|
|
611
1071
|
.layout {
|
|
612
1072
|
grid-template-columns: 230px minmax(0, 1fr);
|
|
@@ -658,13 +1118,21 @@ dialog::backdrop {
|
|
|
658
1118
|
padding-top: 25px;
|
|
659
1119
|
}
|
|
660
1120
|
article h1 {
|
|
661
|
-
font-size:
|
|
1121
|
+
font-size: 30px;
|
|
662
1122
|
}
|
|
663
1123
|
.folder-cards {
|
|
664
1124
|
grid-template-columns: minmax(0, 1fr);
|
|
665
1125
|
}
|
|
666
1126
|
article h2 {
|
|
667
|
-
font-size:
|
|
1127
|
+
font-size: 24px;
|
|
1128
|
+
}
|
|
1129
|
+
article h3 {
|
|
1130
|
+
font-size: 20px;
|
|
1131
|
+
line-height: 1.4;
|
|
1132
|
+
}
|
|
1133
|
+
article h4 {
|
|
1134
|
+
font-size: 18px;
|
|
1135
|
+
line-height: 1.5;
|
|
668
1136
|
}
|
|
669
1137
|
article table {
|
|
670
1138
|
font-size: 12px;
|
|
@@ -682,3 +1150,143 @@ dialog::backdrop {
|
|
|
682
1150
|
scroll-behavior: auto !important;
|
|
683
1151
|
}
|
|
684
1152
|
}
|
|
1153
|
+
|
|
1154
|
+
.comment-anchor { position: relative; }
|
|
1155
|
+
.comment-trigger { position: absolute; left: calc(100% + 20px); top: 0; z-index: 2; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 3px; border: 0; border-radius: 14px; background: transparent; color: #374151; font-size: 13px; font-weight: 600; cursor: pointer; opacity: 0; white-space: nowrap; }
|
|
1156
|
+
.comment-trigger:not(:has(.comment-avatar)) { width: 32px; height: 32px; padding: 0; justify-content: center; color: #9ca3af; }
|
|
1157
|
+
.comment-anchor:hover > .comment-trigger, .comment-trigger:focus-visible, .comment-trigger:has(.comment-avatar) { opacity: 1; }
|
|
1158
|
+
.comment-trigger:hover:has(.comment-avatar), .comment-trigger:focus-visible:has(.comment-avatar) { background: #f3f4f6; }
|
|
1159
|
+
.comment-trigger.is-open:has(.comment-avatar) { background: #fef3c7; }
|
|
1160
|
+
.comment-trigger:not(:has(.comment-avatar)):hover { color: #4b5563; }
|
|
1161
|
+
.comment-trigger .comment-avatar { width: 22px; height: 22px; box-shadow: 0 0 0 2px white; }
|
|
1162
|
+
.comment-trigger .comment-avatar + .comment-avatar { margin-left: -12px; }
|
|
1163
|
+
.comment-tooltip { position: absolute; top: calc(100% + 6px); left: 0; z-index: 3; display: none; border-radius: 6px; padding: 4px 8px; background: #191919; color: white; font-size: 12px; font-weight: 400; }
|
|
1164
|
+
.comment-trigger:hover .comment-tooltip, .comment-trigger:focus-visible .comment-tooltip { display: block; }
|
|
1165
|
+
.comment-avatar { display: inline-grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #2f6b4f; color: white; font-size: 11px; font-weight: 600; }
|
|
1166
|
+
.comment-panel { position: absolute; z-index: 10; left: 0; top: calc(100% + 8px); display: flex; flex-direction: column; box-sizing: border-box; width: min(320px, calc(100vw - 32px)); max-height: calc(100dvh - 24px); border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px #1118271a, 0 2px 6px #1118270d; color: #191919; font-size: 13px; overflow: hidden; text-align: left; }
|
|
1167
|
+
.comment-panel[hidden], .comment-selection-trigger[hidden], .comment-foot[hidden] { display: none; }
|
|
1168
|
+
.comment-list-frame { position: relative; display: flex; flex: 0 1 auto; min-height: 0; max-height: 50dvh; }
|
|
1169
|
+
.comment-list-frame::before, .comment-list-frame::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; height: 24px; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
|
|
1170
|
+
.comment-list-frame::before { top: 0; background: linear-gradient(to bottom, #fff, #fff0); }
|
|
1171
|
+
.comment-list-frame::after { bottom: 0; background: linear-gradient(to top, #fff, #fff0); }
|
|
1172
|
+
.comment-list-frame.has-above::before, .comment-list-frame.has-below::after { opacity: 1; }
|
|
1173
|
+
.comment-list { flex: 1; min-height: 0; padding: 4px 0; overflow-y: auto; scrollbar-width: none; }
|
|
1174
|
+
.comment-list::-webkit-scrollbar { display: none; }
|
|
1175
|
+
.comment-card-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px 6px; }
|
|
1176
|
+
.comment-card-head strong { flex: 1; min-width: 0; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
|
|
1177
|
+
.comment-card-head time { flex: none; color: #6b7280; font-size: 12px; }
|
|
1178
|
+
.comment-panel p.comment-body { margin: 0; padding: 0 16px 12px 50px; color: #1f2937; font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
1179
|
+
.comment-panel p.comment-quote { margin: 2px 16px 6px 50px; color: #57534e; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
1180
|
+
.comment-quote mark { border-bottom: 1.5px solid #eab308; border-radius: 2px; padding: 1px 2px; background: #fef3c7; color: inherit; }
|
|
1181
|
+
.comment-form { padding: 10px 16px 12px; background: #fff; }
|
|
1182
|
+
.comment-input-row { display: flex; align-items: flex-start; gap: 10px; }
|
|
1183
|
+
.comment-input-row > .comment-avatar { margin-top: 8px; }
|
|
1184
|
+
.comment-field { display: flex; flex: 1; align-items: flex-end; gap: 6px; min-width: 0; padding: 3px 10px; border: 1px solid #d1d5db; border-radius: 10px; background: white; }
|
|
1185
|
+
.comment-panel textarea { flex: 1; min-width: 0; height: 32px; max-height: 160px; margin: 0; padding: 6px 4px 6px 0; border: 0; background: transparent; color: #191919; resize: none; outline: 0; font: inherit; font-size: 14px; line-height: 20px; overflow-y: hidden; }
|
|
1186
|
+
.comment-panel textarea::placeholder { color: #9ca3af; }
|
|
1187
|
+
.comment-submit { display: grid; flex: none; place-items: center; width: 22px; height: 22px; margin-bottom: 5px; padding: 0; border: 0; border-radius: 50%; background: #191919; color: white; cursor: pointer; }
|
|
1188
|
+
.comment-submit:disabled { background: #f3f4f6; color: #9ca3af; cursor: not-allowed; }
|
|
1189
|
+
.comment-foot { display: flex; justify-content: space-between; gap: 8px; margin: 6px 0 0 34px; color: #6b7280; font-size: 11px; }
|
|
1190
|
+
.comment-form [role="alert"] { margin: 6px 0 0 34px; color: #b91c1c; font-size: 12px; }
|
|
1191
|
+
.comment-form [role="alert"]:empty { display: none; }
|
|
1192
|
+
.comment-selection-trigger { position: fixed; z-index: 100; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border: 1px solid #e5e7eb; border-radius: 8px; background: white; box-shadow: 0 6px 16px #1118271a, 0 1px 2px #1118270f; color: #191919; font: inherit; font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; }
|
|
1193
|
+
.comment-orphans { position: static; width: min(320px, 100%); margin-top: 24px; padding: 12px 16px; border: 1px solid #e5e7eb; border-radius: 12px; background: white; font-size: 13px; }
|
|
1194
|
+
.comment-orphans summary { cursor: pointer; font-weight: 600; }
|
|
1195
|
+
.comment-orphans > div { margin-top: 10px; }
|
|
1196
|
+
.comment-orphans p { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
1197
|
+
.comment-draft-highlight { background: #cfe3ff; color: inherit; }
|
|
1198
|
+
.comment-highlight { border-bottom: 2px solid #eab308; background: #fef3c7; color: inherit; }
|
|
1199
|
+
.comment-anchor:has(.comment-trigger.is-open) .comment-highlight { background: #fde68a; }
|
|
1200
|
+
@media (min-width: 1600px) { .comment-panel { left: calc(100% + 88px); top: -8px; } }
|
|
1201
|
+
@media (hover: none) { .comment-trigger { left: auto; right: 0; min-width: 44px; min-height: 44px; opacity: 1; } }
|
|
1202
|
+
|
|
1203
|
+
/* Reserve a lane beside the document for comment controls. */
|
|
1204
|
+
body.has-comments #content { --comment-lane: 56px; padding-right: var(--comment-lane); }
|
|
1205
|
+
body.has-comments .comment-trigger { left: calc(100% + var(--comment-offset, 0px) + 8px); right: auto; }
|
|
1206
|
+
body.has-comments .comment-panel { left: auto; right: var(--comment-panel-right); width: min(320px, calc(100vw - 32px)); }
|
|
1207
|
+
.comment-tooltip { top: auto; bottom: calc(100% + 6px); }
|
|
1208
|
+
.compact-toc { display: none; }
|
|
1209
|
+
.compact-toc[hidden], #compact-toc-links[hidden] { display: none !important; }
|
|
1210
|
+
@media (min-width: 1600px) {
|
|
1211
|
+
body.has-comments #content { --comment-lane: 88px; }
|
|
1212
|
+
body.has-comments .comment-panel { left: calc(100% + var(--comment-offset, 0px) + 88px); right: auto; top: -8px; width: 320px; }
|
|
1213
|
+
body.comment-card-open .toc { opacity: .3; }
|
|
1214
|
+
}
|
|
1215
|
+
@media (max-width: 1599px) {
|
|
1216
|
+
body.has-comments .comment-trigger:has(.comment-avatar) { width: 44px; height: 44px; padding: 0; justify-content: center; background: transparent; }
|
|
1217
|
+
body.has-comments .comment-trigger .comment-avatar { width: 24px; height: 24px; }
|
|
1218
|
+
body.has-comments .comment-trigger .comment-avatar + .comment-avatar { display: none; }
|
|
1219
|
+
body.has-comments .comment-count { position: absolute; top: 20px; right: 0; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; background: #191919; color: white; font-size: 10px; line-height: 16px; text-align: center; }
|
|
1220
|
+
body.has-comments .comment-trigger.is-open .comment-avatar { box-shadow: 0 0 0 3px #fef3c7; }
|
|
1221
|
+
}
|
|
1222
|
+
@media (max-width: 1199px) {
|
|
1223
|
+
body.has-comments #content { --comment-lane: 48px; }
|
|
1224
|
+
body.has-comments .compact-toc:not([hidden]) { position: absolute; z-index: 20; display: flex; flex-direction: column; align-items: flex-end; top: 18px; right: 0; }
|
|
1225
|
+
#compact-toc-toggle { height: 32px; padding: 0 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: white; color: #374151; font: inherit; font-size: 13px; cursor: pointer; }
|
|
1226
|
+
#compact-toc-links { width: 220px; max-width: calc(100vw - 40px); margin-top: 8px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: white; box-shadow: 0 10px 24px #1118271a; }
|
|
1227
|
+
#compact-toc-links a { display: block; margin: 8px 0; color: #4b5563; font-size: 13px; }
|
|
1228
|
+
body.has-comments #breadcrumb { padding-right: 58px; }
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.document-modified {
|
|
1232
|
+
margin: -12px 0 24px;
|
|
1233
|
+
color: #929ba5;
|
|
1234
|
+
font-size: 12px;
|
|
1235
|
+
}
|
|
1236
|
+
.global-search-field {
|
|
1237
|
+
display: flex;
|
|
1238
|
+
align-items: center;
|
|
1239
|
+
gap: 6px;
|
|
1240
|
+
}
|
|
1241
|
+
#search-tag {
|
|
1242
|
+
flex: none;
|
|
1243
|
+
padding: 5px 8px;
|
|
1244
|
+
border-radius: 6px;
|
|
1245
|
+
background: var(--accent-soft, #f5f9fc);
|
|
1246
|
+
font-size: 12px;
|
|
1247
|
+
}
|
|
1248
|
+
#global-search { min-width: 0; }
|
|
1249
|
+
|
|
1250
|
+
/* 전체 문서 검색 */
|
|
1251
|
+
.search-trigger { width: 100%; height: 40px; gap: 10px; padding: 0 8px 0 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f9fafb; box-shadow: none; color: #6b7280; cursor: text; }
|
|
1252
|
+
.search-trigger:hover { background: #fff; border-color: #d1d5db; }
|
|
1253
|
+
.search-trigger:focus-visible { outline: none; border-color: var(--accent, #eab308); box-shadow: 0 0 0 3px var(--accent-soft, #fef3c7); }
|
|
1254
|
+
.search-icon { width: 18px; height: 18px; flex: none; color: #6b7280; }
|
|
1255
|
+
.search-trigger .search-icon { width: 16px; height: 16px; }
|
|
1256
|
+
.search-trigger .search-label { flex: 1; }
|
|
1257
|
+
.search-label::before { content: none; }
|
|
1258
|
+
.search-trigger kbd { background: #fff; padding: 1px 6px; }
|
|
1259
|
+
#search-dialog { position: fixed; top: 120px; right: auto; bottom: auto; max-width: calc(100% - 40px); max-height: calc(100vh - 140px); margin: 0; padding: 0; border: 0; border-radius: 14px; box-shadow: 0 24px 60px #1118274d, 0 2px 8px #11182714; color: #191919; }
|
|
1260
|
+
#search-dialog::backdrop { background: #1118276b; backdrop-filter: blur(3px); }
|
|
1261
|
+
.dialog-head { margin: 0; padding: 18px 20px 12px; font-size: 15px; font-weight: 600; }
|
|
1262
|
+
.dialog-head button, #clear-search, #clear-search-tag { display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #6b7280; font-size: 24px; line-height: 1; }
|
|
1263
|
+
.dialog-head button, #clear-search { width: 32px; height: 32px; }
|
|
1264
|
+
.search-body { padding: 0 20px 12px; }
|
|
1265
|
+
.global-search-field { height: 48px; gap: 8px; padding: 0 8px 0 14px; border: 1px solid #e5e7eb; border-radius: 10px; }
|
|
1266
|
+
.global-search-field:focus-within { border-color: var(--accent, #eab308); box-shadow: 0 0 0 3px var(--accent-soft, #fef3c7); }
|
|
1267
|
+
#global-search { flex: 1; width: 100%; min-width: 40px; height: 24px; padding: 0; border: 0; border-radius: 0; outline: 0; background: transparent; font-size: 15px; }
|
|
1268
|
+
#global-search::-webkit-search-cancel-button { display: none; }
|
|
1269
|
+
#search-tag:not([hidden]) { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; max-width: 180px; height: 28px; padding: 0 4px 0 8px; border-radius: 6px; background: var(--accent-soft, #fef3c7); color: var(--accent, #92400e); font-size: 13px; font-weight: 600; }
|
|
1270
|
+
#search-tag-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1271
|
+
#clear-search-tag { display: flex; align-items: center; justify-content: flex-end; flex: none; width: 20px; height: 20px; color: color-mix(in srgb, var(--accent, #92400e) 80%, black); font-size: 13px; font-weight: 600; }
|
|
1272
|
+
#clear-search[hidden] { display: none; }
|
|
1273
|
+
#search-count { margin: 10px 2px 0; color: #6b7280; font-size: 12px; }
|
|
1274
|
+
#search-suggestions:not([hidden]) { margin: 0 20px 16px; padding: 6px; border: 1px solid #ecedef; border-radius: 10px; }
|
|
1275
|
+
#search-suggestions p { margin: 4px 8px 6px; color: #6b7280; font-size: 11px; }
|
|
1276
|
+
.search-suggestion { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border: 0; text-align: left; }
|
|
1277
|
+
.search-suggestion:hover, .search-suggestion:focus-visible { background: var(--accent-soft, #fef9e7); }
|
|
1278
|
+
.search-suggestion span { padding: 2px 8px; border-radius: 6px; background: var(--accent-soft, #fef3c7); color: var(--accent, #92400e); font-size: 13px; font-weight: 600; }
|
|
1279
|
+
.search-suggestion small { color: #6b7280; font-size: 12px; }
|
|
1280
|
+
#results:not(:empty) { padding: 4px 12px 12px; border-top: 1px solid #f0f1f3; }
|
|
1281
|
+
.result { padding: 12px; border: 0; border-radius: 10px; }
|
|
1282
|
+
.result:hover, .result:focus-visible { background: #f9fafb; }
|
|
1283
|
+
.result small { color: #6b7280; font-size: 12px; }
|
|
1284
|
+
.result strong { display: block; margin: 2px 0 4px; color: var(--accent, #b45309); font-size: 15px; }
|
|
1285
|
+
.result p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 0; color: #4b5563; font-size: 13px; line-height: 1.6; }
|
|
1286
|
+
.search-empty { padding: 28px 8px 20px; text-align: center; font-size: 14px; }
|
|
1287
|
+
.search-empty p { margin: 6px 0 14px; color: #6b7280; font-size: 13px; }
|
|
1288
|
+
.search-empty button { color: #191919; font-size: 13px; }
|
|
1289
|
+
@media (max-width: 700px) {
|
|
1290
|
+
.search-trigger { width: 150px; }
|
|
1291
|
+
#search-dialog { top: 80px; max-height: calc(100vh - 100px); }
|
|
1292
|
+
}
|