git-tm 0.4.1 → 1.0.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.
@@ -0,0 +1,2628 @@
1
+ /* Git Time Machine — UI styles. No external fonts or frameworks. */
2
+
3
+ :root {
4
+ --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
5
+ --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
6
+
7
+ --accent: #f05133;
8
+ --accent-strong: #e0431f;
9
+ --accent-soft: rgba(240, 81, 51, 0.12);
10
+ --radius: 10px;
11
+ --radius-sm: 6px;
12
+ --side-w: 252px;
13
+ --top-h: 54px;
14
+ --gutter: 8px;
15
+
16
+ /* light */
17
+ --bg: #f3f4f7;
18
+ --bg-dots: rgba(20, 24, 33, 0.07);
19
+ --bg-glow: rgba(240, 81, 51, 0.07);
20
+ --bg-panel: #ffffff;
21
+ --bg-elev: #f7f8fa;
22
+ --bg-hover: #f0f2f5;
23
+ --bg-active: #e9ecf1;
24
+ --border: #e2e5eb;
25
+ --border-strong: #cfd4dd;
26
+ --text: #1b1f29;
27
+ --text-2: #3d4454;
28
+ --muted: #687185;
29
+ --add: #1a7f37;
30
+ --del: #cf222e;
31
+ --add-bg: #e6f6ea;
32
+ --del-bg: #fdebec;
33
+ --add-mark: #aceebb;
34
+ --del-mark: #ffc8cc;
35
+ --hunk-bg: #eef3fb;
36
+ --hunk-fg: #4a6492;
37
+ --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px -12px rgba(16, 24, 40, 0.18);
38
+ --lane-0: #f05133;
39
+ --lane-1: #2f81f7;
40
+ --lane-2: #1f9d55;
41
+ --lane-3: #a259ff;
42
+ --lane-4: #d4a017;
43
+ --lane-5: #e5487f;
44
+ --lane-6: #0ea5b7;
45
+ --lane-7: #7c8799;
46
+ --heat-0: #e7eaef;
47
+ --heat-1: #fcd2c6;
48
+ --heat-2: #f8a28c;
49
+ --heat-3: #f3734f;
50
+ --heat-4: #d8401d;
51
+ color-scheme: light;
52
+ }
53
+
54
+ :root[data-theme="dark"] {
55
+ --bg: #0a0c10;
56
+ --bg-dots: rgba(255, 255, 255, 0.045);
57
+ --bg-glow: rgba(240, 81, 51, 0.1);
58
+ --bg-panel: #11141a;
59
+ --bg-elev: #161a21;
60
+ --bg-hover: #1a1f28;
61
+ --bg-active: #212733;
62
+ --border: #222833;
63
+ --border-strong: #30384a;
64
+ --text: #e7e9ee;
65
+ --text-2: #c3c8d3;
66
+ --muted: #8a93a6;
67
+ --add: #4ac26b;
68
+ --del: #ff6b62;
69
+ --add-bg: rgba(46, 160, 67, 0.13);
70
+ --del-bg: rgba(248, 81, 73, 0.12);
71
+ --add-mark: rgba(46, 160, 67, 0.38);
72
+ --del-mark: rgba(248, 81, 73, 0.38);
73
+ --hunk-bg: rgba(56, 139, 253, 0.08);
74
+ --hunk-fg: #8fb3e8;
75
+ --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
76
+ --lane-0: #ff6a4a;
77
+ --lane-1: #4d9bff;
78
+ --lane-2: #3cc272;
79
+ --lane-3: #b083ff;
80
+ --lane-4: #e8b931;
81
+ --lane-5: #ff6b9d;
82
+ --lane-6: #2cc6d6;
83
+ --lane-7: #8e98ab;
84
+ --heat-0: #1a1f28;
85
+ --heat-1: #4a2219;
86
+ --heat-2: #7f2f1d;
87
+ --heat-3: #c54424;
88
+ --heat-4: #ff6a4a;
89
+ color-scheme: dark;
90
+ }
91
+
92
+ @media (prefers-color-scheme: dark) {
93
+ :root:not([data-theme="light"]) {
94
+ --bg: #0a0c10;
95
+ --bg-dots: rgba(255, 255, 255, 0.045);
96
+ --bg-glow: rgba(240, 81, 51, 0.1);
97
+ --bg-panel: #11141a;
98
+ --bg-elev: #161a21;
99
+ --bg-hover: #1a1f28;
100
+ --bg-active: #212733;
101
+ --border: #222833;
102
+ --border-strong: #30384a;
103
+ --text: #e7e9ee;
104
+ --text-2: #c3c8d3;
105
+ --muted: #8a93a6;
106
+ --add: #4ac26b;
107
+ --del: #ff6b62;
108
+ --add-bg: rgba(46, 160, 67, 0.13);
109
+ --del-bg: rgba(248, 81, 73, 0.12);
110
+ --add-mark: rgba(46, 160, 67, 0.38);
111
+ --del-mark: rgba(248, 81, 73, 0.38);
112
+ --hunk-bg: rgba(56, 139, 253, 0.08);
113
+ --hunk-fg: #8fb3e8;
114
+ --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
115
+ --lane-0: #ff6a4a;
116
+ --lane-1: #4d9bff;
117
+ --lane-2: #3cc272;
118
+ --lane-3: #b083ff;
119
+ --lane-4: #e8b931;
120
+ --lane-5: #ff6b9d;
121
+ --lane-6: #2cc6d6;
122
+ --lane-7: #8e98ab;
123
+ --heat-0: #1a1f28;
124
+ --heat-1: #4a2219;
125
+ --heat-2: #7f2f1d;
126
+ --heat-3: #c54424;
127
+ --heat-4: #ff6a4a;
128
+ color-scheme: dark;
129
+ }
130
+ }
131
+
132
+ /* ------------------------------------------------------------------ base */
133
+
134
+ *,
135
+ *::before,
136
+ *::after {
137
+ box-sizing: border-box;
138
+ }
139
+
140
+ html,
141
+ body {
142
+ height: 100%;
143
+ margin: 0;
144
+ }
145
+
146
+ body {
147
+ font: 13.5px/1.45 var(--font);
148
+ color: var(--text);
149
+ background-color: var(--bg);
150
+ background-image:
151
+ radial-gradient(1200px 500px at 0% -10%, var(--bg-glow), transparent 60%),
152
+ radial-gradient(circle at 1px 1px, var(--bg-dots) 1px, transparent 0);
153
+ background-size: auto, 22px 22px;
154
+ background-attachment: fixed;
155
+ -webkit-font-smoothing: antialiased;
156
+ overflow: hidden;
157
+ }
158
+
159
+ a {
160
+ color: inherit;
161
+ text-decoration: none;
162
+ }
163
+
164
+ button,
165
+ input,
166
+ select {
167
+ font: inherit;
168
+ color: inherit;
169
+ }
170
+
171
+ button {
172
+ cursor: pointer;
173
+ }
174
+
175
+ :focus-visible {
176
+ outline: 2px solid var(--accent);
177
+ outline-offset: 1px;
178
+ border-radius: 4px;
179
+ }
180
+
181
+ svg.i,
182
+ .icon-btn svg,
183
+ .search svg {
184
+ width: 16px;
185
+ height: 16px;
186
+ flex: none;
187
+ fill: none;
188
+ stroke: currentColor;
189
+ stroke-width: 1.5;
190
+ stroke-linecap: round;
191
+ stroke-linejoin: round;
192
+ }
193
+
194
+ code,
195
+ kbd,
196
+ pre {
197
+ font-family: var(--mono);
198
+ }
199
+
200
+ kbd {
201
+ font-size: 11px;
202
+ padding: 1px 5px;
203
+ border: 1px solid var(--border-strong);
204
+ border-bottom-width: 2px;
205
+ border-radius: 4px;
206
+ background: var(--bg-elev);
207
+ color: var(--muted);
208
+ }
209
+
210
+ .muted {
211
+ color: var(--muted);
212
+ }
213
+
214
+ .small {
215
+ font-size: 12px;
216
+ }
217
+
218
+ .spacer {
219
+ flex: 1;
220
+ }
221
+
222
+ [hidden] {
223
+ display: none !important;
224
+ }
225
+
226
+ * {
227
+ scrollbar-width: thin;
228
+ scrollbar-color: var(--border-strong) transparent;
229
+ }
230
+
231
+ /* ------------------------------------------------------------------ shell */
232
+
233
+ .app {
234
+ display: grid;
235
+ grid-template-columns: var(--side-w) minmax(0, 1fr);
236
+ grid-template-rows: var(--top-h) minmax(0, 1fr);
237
+ gap: var(--gutter);
238
+ height: 100vh;
239
+ padding: 0 var(--gutter) var(--gutter);
240
+ }
241
+
242
+ .topbar {
243
+ grid-column: 1 / -1;
244
+ display: flex;
245
+ align-items: center;
246
+ gap: 14px;
247
+ min-width: 0;
248
+ padding: 0 6px;
249
+ }
250
+
251
+ .brand {
252
+ display: flex;
253
+ align-items: center;
254
+ gap: 9px;
255
+ font-weight: 650;
256
+ font-size: 15px;
257
+ letter-spacing: -0.01em;
258
+ flex: none;
259
+ }
260
+
261
+ .brand img {
262
+ display: block;
263
+ }
264
+
265
+ .repo {
266
+ display: flex;
267
+ align-items: center;
268
+ gap: 8px;
269
+ min-width: 0;
270
+ padding-left: 14px;
271
+ border-left: 1px solid var(--border);
272
+ height: 24px;
273
+ }
274
+
275
+ .repo-name {
276
+ font-weight: 600;
277
+ white-space: nowrap;
278
+ overflow: hidden;
279
+ text-overflow: ellipsis;
280
+ }
281
+
282
+ .repo-branch {
283
+ display: inline-flex;
284
+ align-items: center;
285
+ gap: 4px;
286
+ font: 12px var(--mono);
287
+ color: var(--muted);
288
+ padding: 2px 8px;
289
+ background: var(--bg-panel);
290
+ border: 1px solid var(--border);
291
+ border-radius: 99px;
292
+ white-space: nowrap;
293
+ max-width: 220px;
294
+ overflow: hidden;
295
+ text-overflow: ellipsis;
296
+ }
297
+
298
+ .tabs {
299
+ display: flex;
300
+ gap: 2px;
301
+ padding: 3px;
302
+ background: var(--bg-panel);
303
+ border: 1px solid var(--border);
304
+ border-radius: 9px;
305
+ margin-left: 6px;
306
+ }
307
+
308
+ .tabs a {
309
+ padding: 4px 12px;
310
+ border-radius: 6px;
311
+ color: var(--muted);
312
+ font-weight: 500;
313
+ }
314
+
315
+ .tabs a:hover {
316
+ color: var(--text);
317
+ }
318
+
319
+ .tabs a.active {
320
+ background: var(--bg-active);
321
+ color: var(--text);
322
+ }
323
+
324
+ .search {
325
+ flex: 1;
326
+ min-width: 0;
327
+ max-width: 440px;
328
+ margin-left: auto;
329
+ display: flex;
330
+ align-items: center;
331
+ gap: 8px;
332
+ height: 34px;
333
+ padding: 0 10px;
334
+ background: var(--bg-panel);
335
+ border: 1px solid var(--border);
336
+ border-radius: 9px;
337
+ color: var(--muted);
338
+ }
339
+
340
+ .search:focus-within {
341
+ border-color: var(--accent);
342
+ box-shadow: 0 0 0 3px var(--accent-soft);
343
+ }
344
+
345
+ .search input {
346
+ flex: 1;
347
+ width: 100%;
348
+ min-width: 0;
349
+ border: 0;
350
+ background: none;
351
+ outline: none;
352
+ color: var(--text);
353
+ }
354
+
355
+ .search input::-webkit-search-cancel-button {
356
+ filter: grayscale(1);
357
+ }
358
+
359
+ .actions {
360
+ display: flex;
361
+ gap: 4px;
362
+ }
363
+
364
+ .icon-btn {
365
+ display: inline-grid;
366
+ place-items: center;
367
+ width: 32px;
368
+ height: 32px;
369
+ border: 1px solid transparent;
370
+ border-radius: 8px;
371
+ background: none;
372
+ color: var(--muted);
373
+ flex: none;
374
+ }
375
+
376
+ .icon-btn:hover {
377
+ color: var(--text);
378
+ background: var(--bg-hover);
379
+ }
380
+
381
+ .icon-btn.busy svg {
382
+ animation: bob 0.8s ease-in-out infinite;
383
+ }
384
+
385
+ @keyframes bob {
386
+ 50% {
387
+ transform: translateY(2px);
388
+ }
389
+ }
390
+
391
+ .mobile-only {
392
+ display: none;
393
+ }
394
+
395
+ .sidebar,
396
+ .log-pane,
397
+ .detail-pane,
398
+ .page {
399
+ background: var(--bg-panel);
400
+ border: 1px solid var(--border);
401
+ border-radius: var(--radius);
402
+ box-shadow: var(--shadow);
403
+ }
404
+
405
+ .main {
406
+ min-width: 0;
407
+ min-height: 0;
408
+ display: flex;
409
+ flex-direction: column;
410
+ }
411
+
412
+ /* ------------------------------------------------------------------ sidebar */
413
+
414
+ .sidebar {
415
+ display: flex;
416
+ flex-direction: column;
417
+ min-height: 0;
418
+ overflow: hidden;
419
+ }
420
+
421
+ .side-filter {
422
+ padding: 10px 10px 6px;
423
+ }
424
+
425
+ .side-filter input {
426
+ width: 100%;
427
+ height: 30px;
428
+ padding: 0 10px;
429
+ border: 1px solid var(--border);
430
+ border-radius: 7px;
431
+ background: var(--bg-elev);
432
+ outline: none;
433
+ }
434
+
435
+ .side-filter input:focus {
436
+ border-color: var(--accent);
437
+ }
438
+
439
+ .side-scroll {
440
+ flex: 1;
441
+ overflow: auto;
442
+ padding: 4px 6px 10px;
443
+ }
444
+
445
+ .side-list {
446
+ margin-bottom: 6px;
447
+ }
448
+
449
+ .side-title {
450
+ display: flex;
451
+ align-items: center;
452
+ gap: 6px;
453
+ width: 100%;
454
+ padding: 8px 6px 4px;
455
+ border: 0;
456
+ background: none;
457
+ font-size: 11px;
458
+ font-weight: 650;
459
+ letter-spacing: 0.06em;
460
+ text-transform: uppercase;
461
+ color: var(--muted);
462
+ }
463
+
464
+ .side-title .count,
465
+ .side-item .count {
466
+ margin-left: auto;
467
+ font-weight: 500;
468
+ letter-spacing: 0;
469
+ font-size: 11px;
470
+ color: var(--muted);
471
+ }
472
+
473
+ .chev {
474
+ transition: transform 0.15s;
475
+ width: 12px !important;
476
+ height: 12px !important;
477
+ }
478
+
479
+ .side-section:not(.collapsed) .side-title .chev,
480
+ .file.open .file-head .chev {
481
+ transform: rotate(90deg);
482
+ }
483
+
484
+ .side-section.collapsed .side-body {
485
+ display: none;
486
+ }
487
+
488
+ .side-group + .side-group {
489
+ margin-top: 4px;
490
+ padding-top: 4px;
491
+ border-top: 1px dashed var(--border);
492
+ }
493
+
494
+ .side-item {
495
+ position: relative;
496
+ display: flex;
497
+ align-items: center;
498
+ gap: 7px;
499
+ height: 28px;
500
+ padding: 0 6px 0 8px;
501
+ border-radius: 6px;
502
+ color: var(--text-2);
503
+ cursor: pointer;
504
+ user-select: none;
505
+ }
506
+
507
+ .side-item .label {
508
+ min-width: 0;
509
+ overflow: hidden;
510
+ text-overflow: ellipsis;
511
+ white-space: nowrap;
512
+ }
513
+
514
+ .side-item:hover {
515
+ background: var(--bg-hover);
516
+ color: var(--text);
517
+ }
518
+
519
+ .side-item.active {
520
+ background: var(--accent-soft);
521
+ color: var(--text);
522
+ }
523
+
524
+ .side-item.active::before {
525
+ content: "";
526
+ position: absolute;
527
+ left: 0;
528
+ top: 6px;
529
+ bottom: 6px;
530
+ width: 3px;
531
+ border-radius: 3px;
532
+ background: var(--accent);
533
+ }
534
+
535
+ .side-item.current .label {
536
+ font-weight: 600;
537
+ }
538
+
539
+ .side-item.current > svg {
540
+ color: var(--accent);
541
+ }
542
+
543
+ .side-item.worktree {
544
+ color: var(--lane-4);
545
+ }
546
+
547
+ .side-item .track {
548
+ display: flex;
549
+ gap: 4px;
550
+ margin-left: auto;
551
+ font: 11px var(--mono);
552
+ color: var(--muted);
553
+ }
554
+
555
+ .mini-btn {
556
+ display: none;
557
+ place-items: center;
558
+ width: 22px;
559
+ height: 22px;
560
+ margin-left: auto;
561
+ border: 0;
562
+ border-radius: 5px;
563
+ background: none;
564
+ color: var(--muted);
565
+ flex: none;
566
+ }
567
+
568
+ .side-item .track + .mini-btn {
569
+ margin-left: 0;
570
+ }
571
+
572
+ .side-item:hover .mini-btn,
573
+ .side-item:focus-within .mini-btn {
574
+ display: grid;
575
+ }
576
+
577
+ .side-item:hover .track:empty {
578
+ display: none;
579
+ }
580
+
581
+ .mini-btn:hover {
582
+ background: var(--bg-active);
583
+ color: var(--text);
584
+ }
585
+
586
+ .side-none {
587
+ padding: 4px 10px;
588
+ color: var(--muted);
589
+ font-size: 12px;
590
+ }
591
+
592
+ .side-foot {
593
+ padding: 8px 14px;
594
+ font-size: 11px;
595
+ color: var(--muted);
596
+ border-top: 1px solid var(--border);
597
+ }
598
+
599
+ /* ------------------------------------------------------------------ history */
600
+
601
+ .history {
602
+ flex: 1;
603
+ min-height: 0;
604
+ display: grid;
605
+ grid-template-columns: minmax(0, 1fr);
606
+ }
607
+
608
+ .history.has-detail {
609
+ grid-template-columns: minmax(320px, 1fr) var(--gutter) minmax(360px, var(--detail-w, 46%));
610
+ }
611
+
612
+ .resizer {
613
+ display: none;
614
+ cursor: col-resize;
615
+ border-radius: 4px;
616
+ }
617
+
618
+ .history.has-detail .resizer {
619
+ display: block;
620
+ }
621
+
622
+ .resizer:hover,
623
+ .resizer:active {
624
+ background: var(--accent-soft);
625
+ }
626
+
627
+ .log-pane {
628
+ display: flex;
629
+ flex-direction: column;
630
+ min-height: 0;
631
+ min-width: 0;
632
+ overflow: hidden;
633
+ }
634
+
635
+ .log-head {
636
+ display: flex;
637
+ align-items: center;
638
+ flex-wrap: wrap;
639
+ gap: 8px;
640
+ min-height: 46px;
641
+ padding: 8px 14px;
642
+ border-bottom: 1px solid var(--border);
643
+ }
644
+
645
+ .log-title {
646
+ display: flex;
647
+ align-items: center;
648
+ gap: 6px;
649
+ }
650
+
651
+ .chip {
652
+ display: inline-flex;
653
+ align-items: center;
654
+ gap: 4px;
655
+ height: 24px;
656
+ padding: 0 4px 0 9px;
657
+ border: 1px solid var(--border);
658
+ border-radius: 99px;
659
+ background: var(--bg-elev);
660
+ font-size: 12px;
661
+ color: var(--text-2);
662
+ }
663
+
664
+ button.chip {
665
+ padding: 0 4px;
666
+ }
667
+
668
+ .chip button {
669
+ display: grid;
670
+ place-items: center;
671
+ width: 18px;
672
+ height: 18px;
673
+ padding: 0;
674
+ border: 0;
675
+ border-radius: 50%;
676
+ background: none;
677
+ color: var(--muted);
678
+ }
679
+
680
+ .chip button:hover,
681
+ button.chip:hover {
682
+ color: var(--text);
683
+ background: var(--bg-active);
684
+ }
685
+
686
+ .chip svg {
687
+ width: 12px;
688
+ height: 12px;
689
+ }
690
+
691
+ .chip.filter {
692
+ border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
693
+ background: var(--accent-soft);
694
+ }
695
+
696
+ .log-cols,
697
+ .row {
698
+ display: grid;
699
+ grid-template-columns: var(--graph-w, 40px) minmax(0, 1fr) 160px 104px 70px;
700
+ align-items: center;
701
+ column-gap: 10px;
702
+ padding: 0 12px 0 6px;
703
+ }
704
+
705
+ .no-graph .log-cols,
706
+ .no-graph .row {
707
+ grid-template-columns: 0 minmax(0, 1fr) 160px 104px 70px;
708
+ column-gap: 0 10px;
709
+ padding-left: 14px;
710
+ }
711
+
712
+ .log-cols {
713
+ height: 30px;
714
+ font-size: 11px;
715
+ font-weight: 600;
716
+ letter-spacing: 0.04em;
717
+ text-transform: uppercase;
718
+ color: var(--muted);
719
+ border-bottom: 1px solid var(--border);
720
+ background: var(--bg-elev);
721
+ }
722
+
723
+ .log-scroll {
724
+ position: relative;
725
+ flex: 1;
726
+ overflow: auto;
727
+ outline: none;
728
+ }
729
+
730
+ .log-spacer {
731
+ position: relative;
732
+ }
733
+
734
+ .log-status {
735
+ position: absolute;
736
+ left: 0;
737
+ right: 0;
738
+ }
739
+
740
+ .row {
741
+ position: absolute;
742
+ top: 0;
743
+ left: 0;
744
+ right: 0;
745
+ height: 34px;
746
+ cursor: pointer;
747
+ border-left: 2px solid transparent;
748
+ }
749
+
750
+ .row:hover {
751
+ background: var(--bg-hover);
752
+ }
753
+
754
+ .row.selected {
755
+ background: var(--bg-active);
756
+ }
757
+
758
+ .row.open {
759
+ background: var(--accent-soft);
760
+ border-left-color: var(--accent);
761
+ }
762
+
763
+ .c-graph {
764
+ height: 100%;
765
+ overflow: hidden;
766
+ }
767
+
768
+ .graph {
769
+ display: block;
770
+ }
771
+
772
+ .c-msg {
773
+ display: flex;
774
+ align-items: center;
775
+ gap: 6px;
776
+ min-width: 0;
777
+ overflow: hidden;
778
+ white-space: nowrap;
779
+ }
780
+
781
+ .c-msg > .muted {
782
+ flex: none;
783
+ }
784
+
785
+ .subject {
786
+ overflow: hidden;
787
+ text-overflow: ellipsis;
788
+ white-space: nowrap;
789
+ min-width: 0;
790
+ }
791
+
792
+ .row .subject.merge {
793
+ color: var(--muted);
794
+ }
795
+
796
+ .row.worktree .subject {
797
+ color: var(--lane-4);
798
+ font-weight: 500;
799
+ font-style: italic;
800
+ }
801
+
802
+ .c-author {
803
+ display: flex;
804
+ align-items: center;
805
+ gap: 7px;
806
+ min-width: 0;
807
+ color: var(--text-2);
808
+ }
809
+
810
+ .c-author span:last-child {
811
+ overflow: hidden;
812
+ text-overflow: ellipsis;
813
+ white-space: nowrap;
814
+ }
815
+
816
+ .c-date {
817
+ color: var(--muted);
818
+ white-space: nowrap;
819
+ font-size: 12.5px;
820
+ }
821
+
822
+ .c-sha {
823
+ font: 12px var(--mono);
824
+ color: var(--muted);
825
+ text-align: right;
826
+ }
827
+
828
+ /* refs */
829
+
830
+ .refs {
831
+ display: inline-flex;
832
+ gap: 4px;
833
+ flex: none;
834
+ max-width: 60%;
835
+ overflow: hidden;
836
+ }
837
+
838
+ .refs.wrap {
839
+ flex-wrap: wrap;
840
+ max-width: none;
841
+ }
842
+
843
+ .ref {
844
+ display: inline-flex;
845
+ align-items: center;
846
+ gap: 3px;
847
+ height: 20px;
848
+ padding: 0 7px;
849
+ border-radius: 5px;
850
+ font: 500 11.5px var(--mono);
851
+ white-space: nowrap;
852
+ overflow: hidden;
853
+ text-overflow: ellipsis;
854
+ max-width: 180px;
855
+ border: 1px solid transparent;
856
+ }
857
+
858
+ .ref svg {
859
+ width: 11px !important;
860
+ height: 11px !important;
861
+ }
862
+
863
+ .ref-head {
864
+ background: var(--accent);
865
+ color: #fff;
866
+ }
867
+
868
+ .ref-detached {
869
+ background: var(--text);
870
+ color: var(--bg-panel);
871
+ }
872
+
873
+ .ref-branch {
874
+ background: color-mix(in srgb, var(--lane-1) 14%, transparent);
875
+ color: var(--lane-1);
876
+ border-color: color-mix(in srgb, var(--lane-1) 30%, transparent);
877
+ }
878
+
879
+ .ref-remote {
880
+ background: color-mix(in srgb, var(--lane-3) 12%, transparent);
881
+ color: var(--lane-3);
882
+ border-color: color-mix(in srgb, var(--lane-3) 26%, transparent);
883
+ }
884
+
885
+ .ref-tag {
886
+ background: color-mix(in srgb, var(--lane-4) 15%, transparent);
887
+ color: color-mix(in srgb, var(--lane-4) 80%, var(--text));
888
+ border-color: color-mix(in srgb, var(--lane-4) 32%, transparent);
889
+ }
890
+
891
+ .ref-more {
892
+ background: var(--bg-active);
893
+ color: var(--muted);
894
+ }
895
+
896
+ /* avatars */
897
+
898
+ .avatar {
899
+ position: relative;
900
+ display: inline-grid;
901
+ place-items: center;
902
+ flex: none;
903
+ width: var(--av-s);
904
+ height: var(--av-s);
905
+ border-radius: 50%;
906
+ overflow: hidden;
907
+ font-size: calc(var(--av-s) * 0.42);
908
+ font-weight: 650;
909
+ letter-spacing: -0.02em;
910
+ color: hsl(var(--av-h) 55% 35%);
911
+ background: hsl(var(--av-h) 70% 88%);
912
+ }
913
+
914
+ :root[data-theme="dark"] .avatar {
915
+ color: hsl(var(--av-h) 70% 82%);
916
+ background: hsl(var(--av-h) 35% 26%);
917
+ }
918
+
919
+ @media (prefers-color-scheme: dark) {
920
+ :root:not([data-theme="light"]) .avatar {
921
+ color: hsl(var(--av-h) 70% 82%);
922
+ background: hsl(var(--av-h) 35% 26%);
923
+ }
924
+ }
925
+
926
+ .avatar img {
927
+ position: absolute;
928
+ inset: 0;
929
+ width: 100%;
930
+ height: 100%;
931
+ object-fit: cover;
932
+ }
933
+
934
+ /* ------------------------------------------------------------------ detail pane */
935
+
936
+ .detail-pane {
937
+ min-height: 0;
938
+ min-width: 0;
939
+ overflow: auto;
940
+ }
941
+
942
+ .detail-top {
943
+ position: sticky;
944
+ top: 0;
945
+ z-index: 3;
946
+ display: flex;
947
+ align-items: center;
948
+ gap: 6px;
949
+ padding: 8px 10px 8px 16px;
950
+ background: var(--bg-panel);
951
+ border-bottom: 1px solid var(--border);
952
+ }
953
+
954
+ .sha-pill {
955
+ font: 12.5px var(--mono);
956
+ padding: 3px 8px;
957
+ border-radius: 6px;
958
+ background: var(--bg-elev);
959
+ border: 1px solid var(--border);
960
+ }
961
+
962
+ .detail-head {
963
+ padding: 16px 18px 12px;
964
+ }
965
+
966
+ .detail-head .ref,
967
+ .contains .ref {
968
+ max-width: 100%;
969
+ }
970
+
971
+ .detail-head .subject {
972
+ margin: 8px 0 6px;
973
+ font-size: 17px;
974
+ line-height: 1.35;
975
+ font-weight: 650;
976
+ letter-spacing: -0.01em;
977
+ white-space: normal;
978
+ overflow-wrap: anywhere;
979
+ }
980
+
981
+ .detail-head .body {
982
+ margin: 0 0 10px;
983
+ padding: 10px 12px;
984
+ white-space: pre-wrap;
985
+ overflow-wrap: anywhere;
986
+ font-size: 12.5px;
987
+ line-height: 1.55;
988
+ max-height: 40vh;
989
+ overflow: auto;
990
+ color: var(--text-2);
991
+ background: var(--bg-elev);
992
+ border-radius: var(--radius-sm);
993
+ border: 1px solid var(--border);
994
+ }
995
+
996
+ .people {
997
+ display: flex;
998
+ flex-direction: column;
999
+ gap: 6px;
1000
+ margin: 12px 0;
1001
+ }
1002
+
1003
+ .person {
1004
+ display: flex;
1005
+ align-items: center;
1006
+ gap: 10px;
1007
+ }
1008
+
1009
+ .person.sub {
1010
+ padding-left: 42px;
1011
+ gap: 6px;
1012
+ }
1013
+
1014
+ .who {
1015
+ overflow-wrap: anywhere;
1016
+ }
1017
+
1018
+ .meta {
1019
+ display: grid;
1020
+ grid-template-columns: max-content minmax(0, 1fr);
1021
+ gap: 6px 14px;
1022
+ margin: 10px 0;
1023
+ font-size: 12.5px;
1024
+ }
1025
+
1026
+ .meta dt {
1027
+ color: var(--muted);
1028
+ }
1029
+
1030
+ .meta dd {
1031
+ margin: 0;
1032
+ display: flex;
1033
+ gap: 8px;
1034
+ flex-wrap: wrap;
1035
+ }
1036
+
1037
+ .sha-link {
1038
+ font-family: var(--mono);
1039
+ color: var(--accent);
1040
+ }
1041
+
1042
+ .sha-link:hover {
1043
+ text-decoration: underline;
1044
+ }
1045
+
1046
+ .detail-actions {
1047
+ display: flex;
1048
+ flex-wrap: wrap;
1049
+ gap: 6px;
1050
+ margin-top: 12px;
1051
+ }
1052
+
1053
+ .detail-tabs {
1054
+ position: sticky;
1055
+ top: 49px;
1056
+ z-index: 2;
1057
+ display: flex;
1058
+ align-items: center;
1059
+ gap: 2px;
1060
+ padding: 0 14px;
1061
+ background: var(--bg-panel);
1062
+ border-bottom: 1px solid var(--border);
1063
+ }
1064
+
1065
+ .detail-tabs a {
1066
+ padding: 10px 10px 9px;
1067
+ color: var(--muted);
1068
+ font-weight: 500;
1069
+ border-bottom: 2px solid transparent;
1070
+ margin-bottom: -1px;
1071
+ }
1072
+
1073
+ .detail-tabs a:hover {
1074
+ color: var(--text);
1075
+ }
1076
+
1077
+ .detail-tabs a.active {
1078
+ color: var(--text);
1079
+ border-bottom-color: var(--accent);
1080
+ }
1081
+
1082
+ .parent-pick {
1083
+ margin-left: auto;
1084
+ font-size: 12px;
1085
+ color: var(--muted);
1086
+ display: flex;
1087
+ align-items: center;
1088
+ gap: 6px;
1089
+ }
1090
+
1091
+ select,
1092
+ .field input {
1093
+ height: 30px;
1094
+ padding: 0 8px;
1095
+ border: 1px solid var(--border);
1096
+ border-radius: 7px;
1097
+ background: var(--bg-elev);
1098
+ }
1099
+
1100
+ .detail-body {
1101
+ padding: 12px 14px 24px;
1102
+ }
1103
+
1104
+ /* ------------------------------------------------------------------ buttons */
1105
+
1106
+ .btn {
1107
+ display: inline-flex;
1108
+ align-items: center;
1109
+ gap: 6px;
1110
+ height: 32px;
1111
+ padding: 0 12px;
1112
+ border: 1px solid var(--border-strong);
1113
+ border-radius: 8px;
1114
+ background: var(--bg-panel);
1115
+ font-weight: 500;
1116
+ white-space: nowrap;
1117
+ }
1118
+
1119
+ .btn:hover {
1120
+ background: var(--bg-hover);
1121
+ }
1122
+
1123
+ .btn-sm {
1124
+ height: 27px;
1125
+ padding: 0 9px;
1126
+ font-size: 12.5px;
1127
+ border-radius: 7px;
1128
+ }
1129
+
1130
+ .btn-ghost {
1131
+ border-color: transparent;
1132
+ background: none;
1133
+ color: var(--text-2);
1134
+ }
1135
+
1136
+ .btn-primary,
1137
+ .btn[aria-pressed="true"] {
1138
+ background: var(--accent);
1139
+ border-color: var(--accent);
1140
+ color: #fff;
1141
+ }
1142
+
1143
+ .btn-primary:hover {
1144
+ background: var(--accent-strong);
1145
+ }
1146
+
1147
+ .btn-ghost[aria-pressed="true"] {
1148
+ background: var(--accent-soft);
1149
+ border-color: transparent;
1150
+ color: var(--accent);
1151
+ }
1152
+
1153
+ .seg {
1154
+ display: inline-flex;
1155
+ padding: 2px;
1156
+ border: 1px solid var(--border);
1157
+ border-radius: 8px;
1158
+ background: var(--bg-elev);
1159
+ }
1160
+
1161
+ .seg button {
1162
+ height: 25px;
1163
+ padding: 0 10px;
1164
+ border: 0;
1165
+ border-radius: 6px;
1166
+ background: none;
1167
+ font-size: 12.5px;
1168
+ color: var(--muted);
1169
+ }
1170
+
1171
+ .seg button[aria-pressed="true"] {
1172
+ background: var(--bg-panel);
1173
+ color: var(--text);
1174
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
1175
+ }
1176
+
1177
+ .check {
1178
+ display: inline-flex;
1179
+ align-items: center;
1180
+ gap: 6px;
1181
+ font-size: 12.5px;
1182
+ color: var(--text-2);
1183
+ cursor: pointer;
1184
+ }
1185
+
1186
+ .check input {
1187
+ accent-color: var(--accent);
1188
+ }
1189
+
1190
+ /* ------------------------------------------------------------------ changes + diff */
1191
+
1192
+ .changes-bar {
1193
+ display: flex;
1194
+ align-items: center;
1195
+ flex-wrap: wrap;
1196
+ gap: 8px 12px;
1197
+ margin-bottom: 10px;
1198
+ }
1199
+
1200
+ .summary {
1201
+ font-weight: 600;
1202
+ }
1203
+
1204
+ .a {
1205
+ color: var(--add);
1206
+ }
1207
+
1208
+ .d {
1209
+ color: var(--del);
1210
+ }
1211
+
1212
+ .summary .a,
1213
+ .summary .d {
1214
+ font: 600 12.5px var(--mono);
1215
+ margin-left: 4px;
1216
+ }
1217
+
1218
+ .files {
1219
+ display: flex;
1220
+ flex-direction: column;
1221
+ gap: 8px;
1222
+ }
1223
+
1224
+ .file {
1225
+ border: 1px solid var(--border);
1226
+ border-radius: var(--radius-sm);
1227
+ background: var(--bg-panel);
1228
+ }
1229
+
1230
+ .file-head {
1231
+ position: sticky;
1232
+ top: 95px;
1233
+ z-index: 1;
1234
+ display: flex;
1235
+ align-items: center;
1236
+ gap: 8px;
1237
+ width: 100%;
1238
+ min-height: 36px;
1239
+ padding: 6px 10px;
1240
+ border: 0;
1241
+ border-radius: var(--radius-sm);
1242
+ background: var(--bg-elev);
1243
+ text-align: left;
1244
+ }
1245
+
1246
+ .compare .file-head {
1247
+ top: 0;
1248
+ }
1249
+
1250
+ .file.open .file-head {
1251
+ border-bottom: 1px solid var(--border);
1252
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
1253
+ }
1254
+
1255
+ .file-head:hover {
1256
+ background: var(--bg-hover);
1257
+ }
1258
+
1259
+ .status {
1260
+ display: inline-grid;
1261
+ place-items: center;
1262
+ width: 18px;
1263
+ height: 18px;
1264
+ border-radius: 4px;
1265
+ font: 700 10.5px var(--mono);
1266
+ flex: none;
1267
+ }
1268
+
1269
+ .status-added,
1270
+ .status-untracked {
1271
+ background: var(--add-bg);
1272
+ color: var(--add);
1273
+ }
1274
+
1275
+ .status-deleted {
1276
+ background: var(--del-bg);
1277
+ color: var(--del);
1278
+ }
1279
+
1280
+ .status-modified {
1281
+ background: color-mix(in srgb, var(--lane-4) 18%, transparent);
1282
+ color: color-mix(in srgb, var(--lane-4) 75%, var(--text));
1283
+ }
1284
+
1285
+ .status-renamed,
1286
+ .status-copied {
1287
+ background: color-mix(in srgb, var(--lane-3) 16%, transparent);
1288
+ color: var(--lane-3);
1289
+ }
1290
+
1291
+ .file-head .path {
1292
+ flex: 1;
1293
+ min-width: 0;
1294
+ overflow: hidden;
1295
+ text-overflow: ellipsis;
1296
+ white-space: nowrap;
1297
+ font: 12.5px var(--mono);
1298
+ direction: ltr;
1299
+ }
1300
+
1301
+ .path .dir,
1302
+ .path .old {
1303
+ color: var(--muted);
1304
+ }
1305
+
1306
+ .path .arrow {
1307
+ margin: 0 6px;
1308
+ color: var(--muted);
1309
+ }
1310
+
1311
+ .path .name {
1312
+ font-weight: 600;
1313
+ }
1314
+
1315
+ .nums {
1316
+ display: flex;
1317
+ align-items: center;
1318
+ gap: 6px;
1319
+ font: 12px var(--mono);
1320
+ flex: none;
1321
+ }
1322
+
1323
+ .bin {
1324
+ color: var(--muted);
1325
+ }
1326
+
1327
+ .statbar {
1328
+ display: inline-flex;
1329
+ gap: 1px;
1330
+ }
1331
+
1332
+ .statbar i {
1333
+ width: 7px;
1334
+ height: 7px;
1335
+ border-radius: 1.5px;
1336
+ }
1337
+
1338
+ .statbar i.a {
1339
+ background: var(--add);
1340
+ }
1341
+
1342
+ .statbar i.d {
1343
+ background: var(--del);
1344
+ }
1345
+
1346
+ .file-tools {
1347
+ display: flex;
1348
+ justify-content: flex-end;
1349
+ gap: 4px;
1350
+ padding: 4px 6px;
1351
+ border-bottom: 1px solid var(--border);
1352
+ }
1353
+
1354
+ .file-body {
1355
+ overflow-x: auto;
1356
+ }
1357
+
1358
+ .diff,
1359
+ .code-view {
1360
+ width: 100%;
1361
+ border-collapse: collapse;
1362
+ table-layout: fixed;
1363
+ font: 12px/1.6 var(--mono);
1364
+ tab-size: 4;
1365
+ }
1366
+
1367
+ .diff col.c-ln {
1368
+ width: 48px;
1369
+ }
1370
+
1371
+ .diff td {
1372
+ padding: 0;
1373
+ vertical-align: top;
1374
+ }
1375
+
1376
+ .ln {
1377
+ width: 48px;
1378
+ padding: 0 8px 0 0 !important;
1379
+ text-align: right;
1380
+ color: var(--muted);
1381
+ user-select: none;
1382
+ opacity: 0.75;
1383
+ }
1384
+
1385
+ .ln::before {
1386
+ content: attr(data-n);
1387
+ }
1388
+
1389
+ .diff .code,
1390
+ .code-view .code {
1391
+ padding: 0 12px 0 6px;
1392
+ white-space: pre-wrap;
1393
+ overflow-wrap: anywhere;
1394
+ }
1395
+
1396
+ .sign {
1397
+ display: inline-block;
1398
+ width: 14px;
1399
+ user-select: none;
1400
+ color: var(--muted);
1401
+ }
1402
+
1403
+ .diff tr.add,
1404
+ .diff td.add {
1405
+ background: var(--add-bg);
1406
+ }
1407
+
1408
+ .diff tr.del,
1409
+ .diff td.del {
1410
+ background: var(--del-bg);
1411
+ }
1412
+
1413
+ .diff tr.add .sign {
1414
+ color: var(--add);
1415
+ }
1416
+
1417
+ .diff tr.del .sign {
1418
+ color: var(--del);
1419
+ }
1420
+
1421
+ .diff td.blank {
1422
+ background: repeating-linear-gradient(-45deg, transparent 0 4px, var(--bg-elev) 4px 8px);
1423
+ }
1424
+
1425
+ .diff.split td.code {
1426
+ border-left: 1px solid var(--border);
1427
+ }
1428
+
1429
+ .diff.split td.ln + td.code {
1430
+ border-left: 0;
1431
+ }
1432
+
1433
+ .diff.split tr > td:nth-child(3) {
1434
+ border-left: 1px solid var(--border);
1435
+ }
1436
+
1437
+ mark.ins {
1438
+ background: var(--add-mark);
1439
+ color: inherit;
1440
+ border-radius: 2px;
1441
+ }
1442
+
1443
+ mark.del {
1444
+ background: var(--del-mark);
1445
+ color: inherit;
1446
+ border-radius: 2px;
1447
+ }
1448
+
1449
+ .diff tr.hunk td {
1450
+ white-space: nowrap;
1451
+ overflow: hidden;
1452
+ text-overflow: ellipsis;
1453
+ background: var(--hunk-bg);
1454
+ color: var(--hunk-fg);
1455
+ padding-top: 3px;
1456
+ padding-bottom: 3px;
1457
+ }
1458
+
1459
+ .diff tr.hunk .section {
1460
+ margin-left: 10px;
1461
+ color: var(--muted);
1462
+ }
1463
+
1464
+ .diff tr.note td {
1465
+ color: var(--muted);
1466
+ font-style: italic;
1467
+ }
1468
+
1469
+ .diff-note {
1470
+ padding: 10px 14px;
1471
+ color: var(--muted);
1472
+ font-size: 12.5px;
1473
+ }
1474
+
1475
+ /* file browser */
1476
+
1477
+ .crumbs {
1478
+ display: flex;
1479
+ flex-wrap: wrap;
1480
+ align-items: center;
1481
+ gap: 2px 4px;
1482
+ margin-bottom: 10px;
1483
+ font: 12.5px var(--mono);
1484
+ }
1485
+
1486
+ .crumbs a {
1487
+ display: inline-flex;
1488
+ align-items: center;
1489
+ gap: 5px;
1490
+ color: var(--accent);
1491
+ }
1492
+
1493
+ .crumbs a:hover {
1494
+ text-decoration: underline;
1495
+ }
1496
+
1497
+ .crumbs .sep {
1498
+ color: var(--muted);
1499
+ }
1500
+
1501
+ .tree {
1502
+ border: 1px solid var(--border);
1503
+ border-radius: var(--radius-sm);
1504
+ overflow: hidden;
1505
+ }
1506
+
1507
+ .tree-row {
1508
+ display: grid;
1509
+ grid-template-columns: 16px minmax(0, 1fr) auto;
1510
+ align-items: center;
1511
+ gap: 10px;
1512
+ padding: 6px 12px;
1513
+ border-bottom: 1px solid var(--border);
1514
+ }
1515
+
1516
+ .tree-row:last-child {
1517
+ border-bottom: 0;
1518
+ }
1519
+
1520
+ .tree-row:hover {
1521
+ background: var(--bg-hover);
1522
+ }
1523
+
1524
+ .tree-row svg {
1525
+ color: var(--muted);
1526
+ }
1527
+
1528
+ .tree-row .dir {
1529
+ font-weight: 600;
1530
+ }
1531
+
1532
+ .tree-row span {
1533
+ overflow: hidden;
1534
+ text-overflow: ellipsis;
1535
+ white-space: nowrap;
1536
+ }
1537
+
1538
+ .file-bar {
1539
+ display: flex;
1540
+ align-items: center;
1541
+ gap: 6px;
1542
+ padding: 6px 8px;
1543
+ border: 1px solid var(--border);
1544
+ border-bottom: 0;
1545
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0;
1546
+ background: var(--bg-elev);
1547
+ }
1548
+
1549
+ .file-bar + .code-view,
1550
+ .file-bar + .empty {
1551
+ border: 1px solid var(--border);
1552
+ border-radius: 0 0 var(--radius-sm) var(--radius-sm);
1553
+ }
1554
+
1555
+ .code-view td {
1556
+ padding: 0;
1557
+ vertical-align: top;
1558
+ }
1559
+
1560
+ .code-view .ln {
1561
+ width: 52px;
1562
+ }
1563
+
1564
+ .code-view tr:hover td.code {
1565
+ background: var(--bg-hover);
1566
+ }
1567
+
1568
+ .code-view.blame .blame-cell {
1569
+ width: 210px;
1570
+ padding: 0 8px !important;
1571
+ border-right: 1px solid var(--border);
1572
+ box-shadow: inset 3px 0 0 color-mix(in srgb, var(--accent) calc(var(--age) * 100%), var(--border));
1573
+ font-size: 11.5px;
1574
+ white-space: nowrap;
1575
+ overflow: hidden;
1576
+ }
1577
+
1578
+ .code-view.blame .blame-cell.first {
1579
+ border-top: 1px solid var(--border);
1580
+ }
1581
+
1582
+ .blame-cell a {
1583
+ display: flex;
1584
+ gap: 8px;
1585
+ color: var(--text-2);
1586
+ }
1587
+
1588
+ .blame-cell a:hover .sha {
1589
+ text-decoration: underline;
1590
+ }
1591
+
1592
+ .blame-cell .sha {
1593
+ color: var(--accent);
1594
+ }
1595
+
1596
+ .blame-cell .who {
1597
+ flex: 1;
1598
+ overflow: hidden;
1599
+ text-overflow: ellipsis;
1600
+ }
1601
+
1602
+ .blame-cell .when {
1603
+ color: var(--muted);
1604
+ }
1605
+
1606
+ /* ------------------------------------------------------------------ pages */
1607
+
1608
+ .page {
1609
+ flex: 1;
1610
+ min-height: 0;
1611
+ overflow: auto;
1612
+ padding: 22px 26px 40px;
1613
+ }
1614
+
1615
+ .page-head h1 {
1616
+ margin: 0;
1617
+ font-size: 20px;
1618
+ letter-spacing: -0.02em;
1619
+ }
1620
+
1621
+ .page-head p {
1622
+ margin: 4px 0 18px;
1623
+ }
1624
+
1625
+ .compare-form {
1626
+ display: flex;
1627
+ flex-wrap: wrap;
1628
+ align-items: flex-end;
1629
+ gap: 10px;
1630
+ padding: 14px;
1631
+ border: 1px solid var(--border);
1632
+ border-radius: var(--radius);
1633
+ background: var(--bg-elev);
1634
+ }
1635
+
1636
+ .field {
1637
+ position: relative;
1638
+ display: flex;
1639
+ flex-direction: column;
1640
+ gap: 4px;
1641
+ }
1642
+
1643
+ .field > label {
1644
+ font-size: 11.5px;
1645
+ font-weight: 600;
1646
+ color: var(--muted);
1647
+ text-transform: uppercase;
1648
+ letter-spacing: 0.04em;
1649
+ }
1650
+
1651
+ .field-row {
1652
+ display: flex;
1653
+ gap: 4px;
1654
+ }
1655
+
1656
+ .field-row .icon-btn {
1657
+ height: 34px;
1658
+ width: 34px;
1659
+ border-color: var(--border);
1660
+ background: var(--bg-panel);
1661
+ }
1662
+
1663
+ .field-row input {
1664
+ width: 220px;
1665
+ height: 34px;
1666
+ font: 13px var(--mono);
1667
+ text-transform: none;
1668
+ letter-spacing: 0;
1669
+ color: var(--text);
1670
+ background: var(--bg-panel);
1671
+ outline: none;
1672
+ }
1673
+
1674
+ .field-row input:focus {
1675
+ border-color: var(--accent);
1676
+ }
1677
+
1678
+ /* commit picker */
1679
+
1680
+ .picker {
1681
+ position: absolute;
1682
+ top: calc(100% + 6px);
1683
+ left: 0;
1684
+ z-index: 20;
1685
+ width: min(420px, calc(100vw - 48px));
1686
+ border: 1px solid var(--border-strong);
1687
+ border-radius: var(--radius);
1688
+ background: var(--bg-panel);
1689
+ box-shadow: var(--shadow);
1690
+ overflow: hidden;
1691
+ }
1692
+
1693
+ .picker-search {
1694
+ width: 100%;
1695
+ height: 38px;
1696
+ padding: 0 12px;
1697
+ border: 0;
1698
+ border-bottom: 1px solid var(--border);
1699
+ background: var(--bg-elev);
1700
+ outline: none;
1701
+ }
1702
+
1703
+ .picker-list {
1704
+ max-height: 340px;
1705
+ overflow: auto;
1706
+ padding: 4px;
1707
+ }
1708
+
1709
+ .picker-item {
1710
+ display: grid;
1711
+ grid-template-columns: 16px minmax(0, 1fr) auto;
1712
+ align-items: center;
1713
+ gap: 8px;
1714
+ width: 100%;
1715
+ padding: 6px 8px;
1716
+ border: 0;
1717
+ border-radius: 6px;
1718
+ background: none;
1719
+ text-align: left;
1720
+ }
1721
+
1722
+ .picker-item:hover,
1723
+ .picker-item:focus-visible {
1724
+ background: var(--bg-hover);
1725
+ }
1726
+
1727
+ .picker-kind {
1728
+ color: var(--muted);
1729
+ display: grid;
1730
+ }
1731
+
1732
+ .picker-label {
1733
+ overflow: hidden;
1734
+ text-overflow: ellipsis;
1735
+ white-space: nowrap;
1736
+ }
1737
+
1738
+ .picker-sep {
1739
+ padding: 8px 8px 4px;
1740
+ font-size: 11px;
1741
+ font-weight: 600;
1742
+ letter-spacing: 0.05em;
1743
+ text-transform: uppercase;
1744
+ color: var(--muted);
1745
+ }
1746
+
1747
+ .picker-none {
1748
+ padding: 6px 8px 10px;
1749
+ color: var(--muted);
1750
+ }
1751
+
1752
+ .picker .loading {
1753
+ padding: 12px;
1754
+ }
1755
+
1756
+ /* time travel */
1757
+
1758
+ .dir-badge {
1759
+ display: inline-block;
1760
+ margin-right: 6px;
1761
+ padding: 1px 8px;
1762
+ border-radius: 99px;
1763
+ font-size: 12px;
1764
+ font-weight: 600;
1765
+ background: var(--bg-active);
1766
+ }
1767
+
1768
+ .dir-badge.forward,
1769
+ .cmp-arrow.forward {
1770
+ color: var(--add);
1771
+ }
1772
+
1773
+ .dir-badge.forward {
1774
+ background: var(--add-bg);
1775
+ }
1776
+
1777
+ .dir-badge.back,
1778
+ .cmp-arrow.back {
1779
+ color: var(--del);
1780
+ }
1781
+
1782
+ .dir-badge.back {
1783
+ background: var(--del-bg);
1784
+ }
1785
+
1786
+ .dir-badge.across,
1787
+ .cmp-arrow.across {
1788
+ color: var(--lane-3);
1789
+ }
1790
+
1791
+ .dir-badge.across {
1792
+ background: color-mix(in srgb, var(--lane-3) 14%, transparent);
1793
+ }
1794
+
1795
+ .travel {
1796
+ margin: 4px 0 18px;
1797
+ padding: 14px 16px;
1798
+ border: 1px solid var(--border);
1799
+ border-radius: var(--radius);
1800
+ background: var(--bg-elev);
1801
+ }
1802
+
1803
+ .travel-row {
1804
+ display: flex;
1805
+ align-items: center;
1806
+ gap: 8px;
1807
+ }
1808
+
1809
+ .travel-range {
1810
+ flex: 1;
1811
+ min-width: 0;
1812
+ height: 6px;
1813
+ margin: 0 4px;
1814
+ border-radius: 3px;
1815
+ appearance: none;
1816
+ background: linear-gradient(90deg, var(--del) 0 var(--back), var(--add) var(--back) 100%);
1817
+ opacity: 0.9;
1818
+ cursor: pointer;
1819
+ }
1820
+
1821
+ .travel-range::-webkit-slider-thumb {
1822
+ appearance: none;
1823
+ width: 18px;
1824
+ height: 18px;
1825
+ border-radius: 50%;
1826
+ background: var(--bg-panel);
1827
+ border: 3px solid var(--accent);
1828
+ box-shadow: var(--shadow);
1829
+ }
1830
+
1831
+ .travel-range::-moz-range-thumb {
1832
+ width: 14px;
1833
+ height: 14px;
1834
+ border-radius: 50%;
1835
+ background: var(--bg-panel);
1836
+ border: 3px solid var(--accent);
1837
+ }
1838
+
1839
+ .travel-ends {
1840
+ display: flex;
1841
+ justify-content: space-between;
1842
+ margin: 4px 44px 10px;
1843
+ }
1844
+
1845
+ .travel-now {
1846
+ display: flex;
1847
+ flex-wrap: wrap;
1848
+ align-items: baseline;
1849
+ gap: 4px 10px;
1850
+ min-height: 22px;
1851
+ }
1852
+
1853
+ .step-count {
1854
+ font-weight: 600;
1855
+ }
1856
+
1857
+ .step-subject {
1858
+ min-width: 0;
1859
+ overflow: hidden;
1860
+ text-overflow: ellipsis;
1861
+ white-space: nowrap;
1862
+ max-width: 100%;
1863
+ }
1864
+
1865
+ .cmp-date {
1866
+ margin-top: 2px;
1867
+ }
1868
+
1869
+ .cmp-commits summary {
1870
+ display: flex;
1871
+ align-items: center;
1872
+ gap: 8px;
1873
+ }
1874
+
1875
+ .dot-added,
1876
+ .dot-removed {
1877
+ width: 8px;
1878
+ height: 8px;
1879
+ border-radius: 50%;
1880
+ background: var(--add);
1881
+ }
1882
+
1883
+ .dot-removed {
1884
+ background: var(--del);
1885
+ }
1886
+
1887
+ .mini-row {
1888
+ cursor: pointer;
1889
+ }
1890
+
1891
+ .mini-row.current {
1892
+ background: var(--accent-soft);
1893
+ box-shadow: inset 3px 0 0 var(--accent);
1894
+ }
1895
+
1896
+ /* picking commits in History */
1897
+
1898
+ .travel-bar {
1899
+ display: flex;
1900
+ align-items: center;
1901
+ flex-wrap: wrap;
1902
+ gap: 8px;
1903
+ padding: 8px 12px;
1904
+ border-top: 1px solid var(--border);
1905
+ background: var(--bg-elev);
1906
+ }
1907
+
1908
+ .travel-slot {
1909
+ display: inline-flex;
1910
+ align-items: center;
1911
+ gap: 8px;
1912
+ min-width: 0;
1913
+ max-width: 38%;
1914
+ height: 30px;
1915
+ padding: 0 4px 0 10px;
1916
+ border: 1px dashed var(--border-strong);
1917
+ border-radius: 8px;
1918
+ }
1919
+
1920
+ .travel-slot.filled {
1921
+ border-style: solid;
1922
+ background: var(--bg-panel);
1923
+ }
1924
+
1925
+ .slot-label {
1926
+ font-size: 11px;
1927
+ font-weight: 650;
1928
+ letter-spacing: 0.05em;
1929
+ text-transform: uppercase;
1930
+ color: var(--muted);
1931
+ }
1932
+
1933
+ .travel-slot.from .slot-label {
1934
+ color: var(--lane-1);
1935
+ }
1936
+
1937
+ .travel-slot.to .slot-label {
1938
+ color: var(--accent);
1939
+ }
1940
+
1941
+ .slot-sha {
1942
+ font: 12px var(--mono);
1943
+ }
1944
+
1945
+ .slot-subject {
1946
+ min-width: 0;
1947
+ overflow: hidden;
1948
+ text-overflow: ellipsis;
1949
+ white-space: nowrap;
1950
+ color: var(--text-2);
1951
+ }
1952
+
1953
+ .travel-slot button {
1954
+ display: grid;
1955
+ place-items: center;
1956
+ width: 22px;
1957
+ height: 22px;
1958
+ border: 0;
1959
+ border-radius: 5px;
1960
+ background: none;
1961
+ color: var(--muted);
1962
+ }
1963
+
1964
+ .travel-slot button:hover {
1965
+ background: var(--bg-active);
1966
+ color: var(--text);
1967
+ }
1968
+
1969
+ .travel-arrow {
1970
+ color: var(--muted);
1971
+ }
1972
+
1973
+ .travel-bar button:disabled {
1974
+ opacity: 0.45;
1975
+ cursor: default;
1976
+ }
1977
+
1978
+ .history.picking .row {
1979
+ cursor: crosshair;
1980
+ }
1981
+
1982
+ .pick-pill {
1983
+ display: inline-block;
1984
+ padding: 1px 7px;
1985
+ border-radius: 5px;
1986
+ font: 600 11px var(--font);
1987
+ letter-spacing: 0.03em;
1988
+ color: #fff;
1989
+ background: var(--lane-1);
1990
+ }
1991
+
1992
+ .pick-pill.to {
1993
+ background: var(--accent);
1994
+ }
1995
+
1996
+ .row.picked-from {
1997
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lane-1) 60%, transparent);
1998
+ }
1999
+
2000
+ .row.picked-to {
2001
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent);
2002
+ }
2003
+
2004
+ .compare-form .seg {
2005
+ height: 34px;
2006
+ align-items: center;
2007
+ }
2008
+
2009
+ .compare-form .seg button {
2010
+ height: 28px;
2011
+ }
2012
+
2013
+ .compare-form .btn {
2014
+ height: 34px;
2015
+ }
2016
+
2017
+ .swap {
2018
+ margin-bottom: 1px;
2019
+ }
2020
+
2021
+ .compare-result {
2022
+ margin-top: 18px;
2023
+ }
2024
+
2025
+ .cmp-summary {
2026
+ display: grid;
2027
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
2028
+ align-items: center;
2029
+ gap: 12px;
2030
+ }
2031
+
2032
+ .cmp-side {
2033
+ display: flex;
2034
+ flex-direction: column;
2035
+ gap: 2px;
2036
+ min-width: 0;
2037
+ padding: 12px 14px;
2038
+ border: 1px solid var(--border);
2039
+ border-radius: var(--radius);
2040
+ }
2041
+
2042
+ .cmp-side:hover {
2043
+ border-color: var(--border-strong);
2044
+ background: var(--bg-hover);
2045
+ }
2046
+
2047
+ .cmp-name {
2048
+ font: 600 14px var(--mono);
2049
+ }
2050
+
2051
+ .cmp-sub {
2052
+ font-size: 12.5px;
2053
+ color: var(--muted);
2054
+ overflow: hidden;
2055
+ text-overflow: ellipsis;
2056
+ white-space: nowrap;
2057
+ }
2058
+
2059
+ .cmp-arrow {
2060
+ color: var(--muted);
2061
+ font-size: 18px;
2062
+ }
2063
+
2064
+ .cmp-stats {
2065
+ margin: 14px 0;
2066
+ color: var(--text-2);
2067
+ }
2068
+
2069
+ .cmp-commits {
2070
+ margin-bottom: 18px;
2071
+ border: 1px solid var(--border);
2072
+ border-radius: var(--radius);
2073
+ overflow: hidden;
2074
+ }
2075
+
2076
+ .cmp-commits summary {
2077
+ padding: 10px 14px;
2078
+ cursor: pointer;
2079
+ font-weight: 600;
2080
+ background: var(--bg-elev);
2081
+ }
2082
+
2083
+ .mini-log {
2084
+ max-height: 360px;
2085
+ overflow: auto;
2086
+ }
2087
+
2088
+ .mini-row {
2089
+ display: grid;
2090
+ grid-template-columns: 18px minmax(0, 1fr) auto 64px;
2091
+ align-items: center;
2092
+ gap: 10px;
2093
+ padding: 6px 14px;
2094
+ border-top: 1px solid var(--border);
2095
+ }
2096
+
2097
+ .mini-row:hover {
2098
+ background: var(--bg-hover);
2099
+ }
2100
+
2101
+ .mini-row .subject {
2102
+ display: flex;
2103
+ gap: 6px;
2104
+ align-items: center;
2105
+ }
2106
+
2107
+ .mini-row .sha {
2108
+ font: 12px var(--mono);
2109
+ color: var(--muted);
2110
+ text-align: right;
2111
+ }
2112
+
2113
+ /* insights */
2114
+
2115
+ .tiles {
2116
+ display: grid;
2117
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
2118
+ gap: 10px;
2119
+ margin-bottom: 14px;
2120
+ }
2121
+
2122
+ .tile {
2123
+ display: flex;
2124
+ flex-direction: column;
2125
+ gap: 2px;
2126
+ padding: 14px 16px;
2127
+ border: 1px solid var(--border);
2128
+ border-radius: var(--radius);
2129
+ background: var(--bg-elev);
2130
+ }
2131
+
2132
+ .tile-v {
2133
+ font-size: 22px;
2134
+ font-weight: 650;
2135
+ letter-spacing: -0.02em;
2136
+ }
2137
+
2138
+ .tile-l {
2139
+ color: var(--muted);
2140
+ font-size: 12px;
2141
+ }
2142
+
2143
+ .card {
2144
+ border: 1px solid var(--border);
2145
+ border-radius: var(--radius);
2146
+ padding: 14px 16px;
2147
+ margin-bottom: 14px;
2148
+ min-width: 0;
2149
+ }
2150
+
2151
+ .card header {
2152
+ display: flex;
2153
+ align-items: baseline;
2154
+ justify-content: space-between;
2155
+ gap: 10px;
2156
+ margin-bottom: 12px;
2157
+ }
2158
+
2159
+ .card h2 {
2160
+ margin: 0;
2161
+ font-size: 14px;
2162
+ }
2163
+
2164
+ .grid-2 {
2165
+ display: grid;
2166
+ grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
2167
+ gap: 14px;
2168
+ }
2169
+
2170
+ .grid-2 .card {
2171
+ margin: 0;
2172
+ }
2173
+
2174
+ .scroll-x {
2175
+ overflow-x: auto;
2176
+ }
2177
+
2178
+ .heatmap {
2179
+ display: block;
2180
+ min-width: 720px;
2181
+ width: 100%;
2182
+ max-width: 900px;
2183
+ }
2184
+
2185
+ .heatmap rect.l0,
2186
+ .legend i.l0 {
2187
+ fill: var(--heat-0);
2188
+ background: var(--heat-0);
2189
+ }
2190
+
2191
+ .heatmap rect.l1,
2192
+ .legend i.l1 {
2193
+ fill: var(--heat-1);
2194
+ background: var(--heat-1);
2195
+ }
2196
+
2197
+ .heatmap rect.l2,
2198
+ .legend i.l2 {
2199
+ fill: var(--heat-2);
2200
+ background: var(--heat-2);
2201
+ }
2202
+
2203
+ .heatmap rect.l3,
2204
+ .legend i.l3 {
2205
+ fill: var(--heat-3);
2206
+ background: var(--heat-3);
2207
+ }
2208
+
2209
+ .heatmap rect.l4,
2210
+ .legend i.l4 {
2211
+ fill: var(--heat-4);
2212
+ background: var(--heat-4);
2213
+ }
2214
+
2215
+ .axis {
2216
+ font: 10px var(--font);
2217
+ fill: var(--muted);
2218
+ }
2219
+
2220
+ .legend {
2221
+ display: flex;
2222
+ align-items: center;
2223
+ justify-content: flex-end;
2224
+ gap: 3px;
2225
+ margin-top: 8px;
2226
+ }
2227
+
2228
+ .legend i {
2229
+ width: 11px;
2230
+ height: 11px;
2231
+ border-radius: 2.5px;
2232
+ }
2233
+
2234
+ .punch {
2235
+ display: block;
2236
+ width: 100%;
2237
+ min-width: 520px;
2238
+ }
2239
+
2240
+ .punch circle {
2241
+ fill: var(--accent);
2242
+ opacity: 0.85;
2243
+ }
2244
+
2245
+ .people-list {
2246
+ display: flex;
2247
+ flex-direction: column;
2248
+ max-height: 420px;
2249
+ overflow: auto;
2250
+ }
2251
+
2252
+ .person-row {
2253
+ display: grid;
2254
+ grid-template-columns: 28px minmax(0, 1fr) 90px 48px;
2255
+ align-items: center;
2256
+ gap: 10px;
2257
+ padding: 7px 6px;
2258
+ border: 0;
2259
+ border-radius: 7px;
2260
+ background: none;
2261
+ text-align: left;
2262
+ }
2263
+
2264
+ .person-row:hover {
2265
+ background: var(--bg-hover);
2266
+ }
2267
+
2268
+ .pr-main {
2269
+ display: flex;
2270
+ flex-direction: column;
2271
+ min-width: 0;
2272
+ }
2273
+
2274
+ .pr-main > span {
2275
+ overflow: hidden;
2276
+ text-overflow: ellipsis;
2277
+ white-space: nowrap;
2278
+ }
2279
+
2280
+ .pr-name {
2281
+ font-weight: 600;
2282
+ }
2283
+
2284
+ .pr-bar {
2285
+ height: 6px;
2286
+ border-radius: 3px;
2287
+ background: var(--bg-active);
2288
+ overflow: hidden;
2289
+ }
2290
+
2291
+ .pr-bar i {
2292
+ display: block;
2293
+ height: 100%;
2294
+ background: var(--accent);
2295
+ border-radius: 3px;
2296
+ }
2297
+
2298
+ .pr-count {
2299
+ font: 600 12.5px var(--mono);
2300
+ text-align: right;
2301
+ }
2302
+
2303
+ /* ------------------------------------------------------------------ feedback */
2304
+
2305
+ .loading {
2306
+ display: flex;
2307
+ align-items: center;
2308
+ justify-content: center;
2309
+ gap: 10px;
2310
+ padding: 28px;
2311
+ color: var(--muted);
2312
+ }
2313
+
2314
+ .spinner {
2315
+ width: 14px;
2316
+ height: 14px;
2317
+ border: 2px solid var(--border-strong);
2318
+ border-top-color: var(--accent);
2319
+ border-radius: 50%;
2320
+ animation: spin 0.7s linear infinite;
2321
+ }
2322
+
2323
+ @keyframes spin {
2324
+ to {
2325
+ transform: rotate(360deg);
2326
+ }
2327
+ }
2328
+
2329
+ .empty {
2330
+ display: flex;
2331
+ flex-direction: column;
2332
+ align-items: center;
2333
+ gap: 4px;
2334
+ padding: 40px 20px;
2335
+ text-align: center;
2336
+ color: var(--muted);
2337
+ }
2338
+
2339
+ .empty strong {
2340
+ color: var(--text);
2341
+ font-size: 14px;
2342
+ }
2343
+
2344
+ .empty.small {
2345
+ padding: 16px;
2346
+ }
2347
+
2348
+ .empty.error strong {
2349
+ color: var(--del);
2350
+ }
2351
+
2352
+ .toasts {
2353
+ position: fixed;
2354
+ right: 16px;
2355
+ bottom: 16px;
2356
+ z-index: 50;
2357
+ display: flex;
2358
+ flex-direction: column;
2359
+ gap: 8px;
2360
+ pointer-events: none;
2361
+ }
2362
+
2363
+ .toast {
2364
+ max-width: 380px;
2365
+ padding: 10px 14px;
2366
+ border: 1px solid var(--border);
2367
+ border-left: 3px solid var(--muted);
2368
+ border-radius: 8px;
2369
+ background: var(--bg-panel);
2370
+ box-shadow: var(--shadow);
2371
+ opacity: 0;
2372
+ transform: translateY(8px);
2373
+ transition: opacity 0.2s, transform 0.2s;
2374
+ }
2375
+
2376
+ .toast.in {
2377
+ opacity: 1;
2378
+ transform: none;
2379
+ }
2380
+
2381
+ .toast-success {
2382
+ border-left-color: var(--add);
2383
+ }
2384
+
2385
+ .toast-error {
2386
+ border-left-color: var(--del);
2387
+ }
2388
+
2389
+ .banner {
2390
+ position: fixed;
2391
+ left: 50%;
2392
+ top: 62px;
2393
+ z-index: 40;
2394
+ transform: translateX(-50%);
2395
+ display: flex;
2396
+ align-items: center;
2397
+ gap: 12px;
2398
+ padding: 6px 6px 6px 14px;
2399
+ border: 1px solid var(--border-strong);
2400
+ border-radius: 10px;
2401
+ background: var(--bg-panel);
2402
+ box-shadow: var(--shadow);
2403
+ max-width: calc(100vw - 24px);
2404
+ }
2405
+
2406
+ .banner[data-kind="offline"] {
2407
+ padding: 10px 14px;
2408
+ border-color: color-mix(in srgb, var(--del) 45%, var(--border));
2409
+ }
2410
+
2411
+ dialog.help {
2412
+ width: min(460px, calc(100vw - 32px));
2413
+ padding: 20px 22px;
2414
+ border: 1px solid var(--border);
2415
+ border-radius: 12px;
2416
+ background: var(--bg-panel);
2417
+ color: var(--text);
2418
+ box-shadow: var(--shadow);
2419
+ }
2420
+
2421
+ dialog.help::backdrop {
2422
+ background: rgba(0, 0, 0, 0.4);
2423
+ }
2424
+
2425
+ dialog.help h2 {
2426
+ margin: 0 0 10px;
2427
+ font-size: 14px;
2428
+ }
2429
+
2430
+ dialog.help h2 + dl + h2 {
2431
+ margin-top: 18px;
2432
+ }
2433
+
2434
+ dialog.help dl {
2435
+ display: grid;
2436
+ grid-template-columns: 150px 1fr;
2437
+ gap: 8px 12px;
2438
+ margin: 0 0 6px;
2439
+ }
2440
+
2441
+ dialog.help dt {
2442
+ white-space: nowrap;
2443
+ }
2444
+
2445
+ dialog.help dd {
2446
+ margin: 0;
2447
+ color: var(--text-2);
2448
+ }
2449
+
2450
+ dialog.help .btn {
2451
+ margin-top: 14px;
2452
+ float: right;
2453
+ }
2454
+
2455
+ /* ------------------------------------------------------------------ responsive */
2456
+
2457
+ /* Columns adapt to the width of the list itself, not the window. */
2458
+ .log-pane {
2459
+ container-type: inline-size;
2460
+ }
2461
+
2462
+ @container (max-width: 900px) {
2463
+ .log-cols,
2464
+ .row {
2465
+ grid-template-columns: var(--graph-w, 40px) minmax(0, 1fr) 128px 96px 64px;
2466
+ }
2467
+
2468
+ .no-graph .log-cols,
2469
+ .no-graph .row {
2470
+ grid-template-columns: 0 minmax(0, 1fr) 128px 96px 64px;
2471
+ }
2472
+ }
2473
+
2474
+ @container (max-width: 760px) {
2475
+ .c-author {
2476
+ display: none;
2477
+ }
2478
+
2479
+ .log-cols,
2480
+ .row {
2481
+ grid-template-columns: var(--graph-w, 40px) minmax(0, 1fr) 96px 64px;
2482
+ }
2483
+
2484
+ .no-graph .log-cols,
2485
+ .no-graph .row {
2486
+ grid-template-columns: 0 minmax(0, 1fr) 96px 64px;
2487
+ }
2488
+ }
2489
+
2490
+ @container (max-width: 520px) {
2491
+ .c-sha {
2492
+ display: none;
2493
+ }
2494
+
2495
+ .log-cols,
2496
+ .row {
2497
+ grid-template-columns: var(--graph-w, 40px) minmax(0, 1fr) 76px;
2498
+ }
2499
+
2500
+ .no-graph .log-cols,
2501
+ .no-graph .row {
2502
+ grid-template-columns: 0 minmax(0, 1fr) 76px;
2503
+ }
2504
+ }
2505
+
2506
+ @media (max-width: 1000px) {
2507
+ .brand-name,
2508
+ .repo {
2509
+ display: none;
2510
+ }
2511
+ }
2512
+
2513
+ @media (max-width: 860px) {
2514
+ :root {
2515
+ --gutter: 6px;
2516
+ }
2517
+
2518
+ .app {
2519
+ grid-template-columns: minmax(0, 1fr);
2520
+ }
2521
+
2522
+ .mobile-only {
2523
+ display: inline-grid;
2524
+ }
2525
+
2526
+ .sidebar {
2527
+ position: fixed;
2528
+ z-index: 30;
2529
+ top: var(--top-h);
2530
+ bottom: 8px;
2531
+ left: 8px;
2532
+ width: min(300px, calc(100vw - 16px));
2533
+ transform: translateX(calc(-100% - 16px));
2534
+ transition: transform 0.2s;
2535
+ }
2536
+
2537
+ body.sidebar-open .sidebar {
2538
+ transform: none;
2539
+ }
2540
+
2541
+ .topbar {
2542
+ gap: 8px;
2543
+ padding: 0;
2544
+ }
2545
+
2546
+ .tabs {
2547
+ margin-left: 0;
2548
+ }
2549
+
2550
+ .tabs a {
2551
+ padding: 4px 8px;
2552
+ }
2553
+
2554
+ .search kbd {
2555
+ display: none;
2556
+ }
2557
+
2558
+ .history.has-detail {
2559
+ grid-template-columns: minmax(0, 1fr);
2560
+ }
2561
+
2562
+ .history.has-detail .resizer {
2563
+ display: none;
2564
+ }
2565
+
2566
+ .detail-pane {
2567
+ position: fixed;
2568
+ z-index: 20;
2569
+ inset: var(--top-h) 6px 6px;
2570
+ }
2571
+
2572
+ .page {
2573
+ padding: 16px;
2574
+ }
2575
+
2576
+ .cmp-summary {
2577
+ grid-template-columns: minmax(0, 1fr);
2578
+ }
2579
+
2580
+ .cmp-arrow {
2581
+ display: none;
2582
+ }
2583
+
2584
+ .field,
2585
+ .field-row input {
2586
+ flex: 1;
2587
+ width: 100%;
2588
+ }
2589
+
2590
+ .grid-2 {
2591
+ grid-template-columns: minmax(0, 1fr);
2592
+ }
2593
+ }
2594
+
2595
+ @media (max-width: 560px) {
2596
+ .search {
2597
+ max-width: none;
2598
+ }
2599
+
2600
+ .actions #help-btn,
2601
+ .actions #fetch-btn {
2602
+ display: none;
2603
+ }
2604
+
2605
+ .topbar {
2606
+ gap: 6px;
2607
+ }
2608
+
2609
+ .tabs a {
2610
+ padding: 4px 7px;
2611
+ font-size: 12.5px;
2612
+ }
2613
+
2614
+ .search {
2615
+ padding: 0 8px;
2616
+ }
2617
+
2618
+ .search svg {
2619
+ display: none;
2620
+ }
2621
+ }
2622
+
2623
+ @media (prefers-reduced-motion: reduce) {
2624
+ * {
2625
+ animation: none !important;
2626
+ transition: none !important;
2627
+ }
2628
+ }