git-tm 0.3.0 → 0.4.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.
@@ -1,1259 +1,1259 @@
1
- @font-face {
2
- font-family: "Inter";
3
- src: url("./fonts/InterVariable.woff2") format("woff2-variations");
4
- font-weight: 100 900;
5
- font-display: swap;
6
- font-style: normal;
7
- }
8
-
9
- :root {
10
- --glass-bg: rgba(255, 255, 255, 0.1);
11
- --glass-border: rgba(255, 255, 255, 0.2);
12
- --primary-blue: #2b85fd;
13
- --secondary-blue: #1a73e8;
14
- --accent-purple: #7c3aed;
15
- --text-primary: #e2e8f0;
16
- --text-secondary: #94a3b8;
17
- --bg-dark: #0f172a;
18
- --bg-card: rgba(30, 41, 59, 0.7);
19
- }
20
-
21
- body {
22
- font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
23
- sans-serif;
24
- margin: 0;
25
- padding: 0;
26
- background: var(--bg-dark);
27
- color: var(--text-primary);
28
- height: 100vh;
29
- overflow: hidden;
30
- background-image: radial-gradient(
31
- at 40% 20%,
32
- rgba(61, 64, 241, 0.271) 0px,
33
- transparent 50%
34
- ),
35
- radial-gradient(at 80% 0%, rgba(124, 58, 237, 0.15) 0px, transparent 50%),
36
- radial-gradient(at 0% 50%, rgba(43, 133, 253, 0.15) 0px, transparent 50%);
37
- background-attachment: fixed;
38
- }
39
-
40
- ::-webkit-scrollbar,
41
- ::-webkit-scrollbar-track,
42
- ::-webkit-scrollbar-thumb,
43
- ::-webkit-scrollbar-thumb:hover {
44
- display: none;
45
- }
46
-
47
- * {
48
- scrollbar-width: none;
49
- -ms-overflow-style: none;
50
- }
51
-
52
- #app {
53
- height: 100vh;
54
- max-width: 100vw;
55
- margin: 0;
56
- padding: 20px;
57
- box-sizing: border-box;
58
- display: flex;
59
- flex-direction: column;
60
- backdrop-filter: blur(20px);
61
- }
62
-
63
- header {
64
- flex-shrink: 0;
65
- background: var(--glass-bg);
66
- padding: 15px;
67
- border-radius: 8px;
68
- box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
69
- border: 1px solid var(--glass-border);
70
- backdrop-filter: blur(10px);
71
- margin-bottom: 10px;
72
- text-align: center;
73
- display: flex;
74
- flex-direction: column;
75
- align-items: center;
76
- }
77
-
78
- header h1 {
79
- margin: 0 0 10px 0;
80
- }
81
-
82
- #repo-info {
83
- text-align: center;
84
- color: var(--text-secondary);
85
- }
86
-
87
- .repo-details {
88
- display: flex;
89
- gap: 15px;
90
- align-items: center;
91
- justify-content: center;
92
- margin-top: 10px;
93
- }
94
-
95
- .repo-name {
96
- font-size: 1.1em;
97
- font-weight: 600;
98
- color: var(--text-primary);
99
- }
100
-
101
- .branch-name {
102
- color: var(--text-secondary);
103
- background: var(--bg-card);
104
- padding: 4px 12px;
105
- border-radius: 15px;
106
- font-size: 0.9em;
107
- }
108
-
109
- .commit {
110
- padding: 12px;
111
- margin: 8px 0;
112
- border-radius: 6px;
113
- border: 1px solid var(--glass-border);
114
- background: var(--bg-card);
115
- display: grid;
116
- grid-template-columns: 80px 1fr auto;
117
- gap: 12px;
118
- align-items: center;
119
- cursor: pointer;
120
- transition: all 0.2s;
121
- color: var(--text-primary);
122
- backdrop-filter: blur(10px);
123
- position: relative;
124
- overflow: visible;
125
- z-index: 1;
126
- }
127
-
128
- .commit:hover {
129
- background: rgba(30, 41, 59, 0.9);
130
- transform: translateX(2px);
131
- border: 1px solid var(--primary-blue);
132
- z-index: 2;
133
- }
134
-
135
- .commit::before {
136
- content: "";
137
- position: absolute;
138
- top: 0;
139
- left: 0;
140
- width: 100%;
141
- height: 100%;
142
- background: linear-gradient(
143
- 45deg,
144
- transparent,
145
- rgba(255, 255, 255, 0.05),
146
- transparent
147
- );
148
- transform: translateX(-100%);
149
- transition: transform 0.6s;
150
- }
151
-
152
- .commit:hover::before {
153
- transform: translateX(100%);
154
- }
155
-
156
- .commit.selected-first {
157
- border: 1px solid var(--primary-blue);
158
- background: rgba(43, 133, 253, 0.2);
159
- }
160
-
161
- .commit.selected-second {
162
- border: 1px solid var(--accent-purple);
163
- background: rgba(124, 58, 237, 0.2);
164
- }
165
-
166
- .commit-hash {
167
- font-family: monospace;
168
- color: var(--primary-blue);
169
- }
170
-
171
- .commit-message {
172
- font-weight: 500;
173
- }
174
-
175
- .commit-author,
176
- .commit-date {
177
- color: var(--text-secondary);
178
- }
179
-
180
- .commit-date {
181
- color: var(--text-secondary);
182
- white-space: nowrap;
183
- font-family: monospace;
184
- min-width: 200px;
185
- font-size: 0.9em;
186
- display: flex;
187
- align-items: center;
188
- }
189
-
190
- .commit-info {
191
- display: flex;
192
- align-items: center;
193
- gap: 12px;
194
- margin-left: auto;
195
- position: relative;
196
- z-index: 2;
197
- }
198
-
199
- #comparison-panel {
200
- position: fixed;
201
- bottom: 0;
202
- left: 0;
203
- right: 0;
204
- background: var(--glass-bg);
205
- padding: 15px 15px 25px 15px;
206
- box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
207
- display: flex;
208
- flex-direction: column;
209
- z-index: 1000;
210
- overflow: hidden;
211
- backdrop-filter: blur(20px);
212
- border-top: 1px solid var(--glass-border);
213
- transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
214
- height: 75vh;
215
- transform: translateY(calc(100% - 45px));
216
- max-height: calc(100vh - 100px);
217
- }
218
-
219
- #comparison-panel.collapsed {
220
- transform: translateY(calc(100% - 90px));
221
- }
222
-
223
- #comparison-panel:not(.collapsed) {
224
- transform: translateY(0);
225
- }
226
-
227
- .diff-content {
228
- margin-top: 15px;
229
- flex: 1;
230
- overflow-y: auto;
231
- background: var(--bg-card);
232
- padding: 15px;
233
- border-radius: 6px;
234
- font-family: "Fira Code", "Consolas", monospace;
235
- line-height: 1.5;
236
- font-size: 14px;
237
- contain: content;
238
- will-change: transform;
239
- border: 1px solid var(--glass-border);
240
- }
241
-
242
- .diff-line {
243
- display: flex;
244
- font-family: monospace;
245
- white-space: pre;
246
- font-size: 12px;
247
- line-height: 1.5;
248
- margin: 0;
249
- position: relative;
250
- background: black;
251
- }
252
-
253
- .line-numbers {
254
- user-select: none;
255
- width: 80px;
256
- min-width: 80px;
257
- padding: 0 8px;
258
- color: #6e7781;
259
- background: #f6f8fa;
260
- border-right: 1px solid #e1e4e8;
261
- text-align: right;
262
- display: flex;
263
- }
264
-
265
- .line-number {
266
- width: 50%;
267
- padding: 0 4px;
268
- color: #6e7781;
269
- }
270
-
271
- .diff-line code {
272
- padding: 0 16px;
273
- flex: 1;
274
- }
275
-
276
- .diff-line::before {
277
- content: attr(data-line-number);
278
- display: inline-block;
279
- width: 40px;
280
- margin-right: 10px;
281
- color: #6e7781;
282
- user-select: none;
283
- text-align: right;
284
- }
285
-
286
- .diff-line.addition {
287
- background-color: #e6ffec;
288
- border-left: 4px solid #2ea043;
289
- }
290
-
291
- .diff-line.deletion {
292
- background-color: #ffebe9;
293
- border-left: 4px solid #cf222e;
294
- }
295
-
296
- .diff-line:not(.addition):not(.deletion) {
297
- color: #57606a;
298
- background-color: #f8f9fa;
299
- border-left: 4px solid transparent;
300
- }
301
-
302
- .diff-line:hover {
303
- filter: brightness(97%);
304
- }
305
-
306
- .compare-button {
307
- padding: 1.3em 2em;
308
- font-size: 11px;
309
- text-transform: uppercase;
310
- letter-spacing: 2px;
311
- font-weight: 500;
312
- color: #ffffff;
313
- background-color: #31c423;
314
- border: none;
315
- border-radius: 45px;
316
- box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
317
- transition: all 0.3s ease 0s;
318
- cursor: pointer;
319
- outline: none;
320
- }
321
-
322
- .compare-button:hover {
323
- background-color: rgb(24, 169, 48);
324
- box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
325
- color: #fff;
326
- transform: translateY(-2px);
327
- }
328
-
329
- .compare-button:active {
330
- transform: translateY(-1px);
331
- }
332
-
333
- .clear-button {
334
- padding: 1.3em 2em;
335
- font-size: 11px;
336
- text-transform: uppercase;
337
- letter-spacing: 2px;
338
- font-weight: 500;
339
- color: #ffffff;
340
- background: rgba(220, 53, 69, 0.8);
341
- border: none;
342
- border-radius: 45px;
343
- box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
344
- transition: all 0.3s ease 0s;
345
- cursor: pointer;
346
- outline: none;
347
- backdrop-filter: blur(10px);
348
- }
349
-
350
- .clear-button:hover {
351
- background-color: #ad2936;
352
- box-shadow: 0px 15px 20px rgba(229, 46, 46, 0.4);
353
- color: #fff;
354
- transform: translateY(-2px);
355
- }
356
-
357
- .clear-button:active {
358
- transform: translateY(-1px);
359
- }
360
-
361
- .layout {
362
- flex: 1;
363
- display: grid;
364
- grid-template-columns: 250px 1fr;
365
- gap: 20px;
366
- height: calc(100vh - 260px);
367
- overflow: hidden;
368
- margin-bottom: 60px;
369
- }
370
-
371
- .sidebar {
372
- background: var(--glass-bg);
373
- padding: 20px;
374
- overflow-x: hidden;
375
- border-radius: 8px;
376
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
377
- height: calc(100vh - 292px);
378
- width: 219px;
379
- overflow-y: auto;
380
- border: 1px solid var(--glass-border);
381
- backdrop-filter: blur(10px);
382
- }
383
-
384
- .sidebar::-webkit-scrollbar,
385
- .commits-container::-webkit-scrollbar {
386
- display: block;
387
- width: 8px;
388
- }
389
-
390
- .sidebar::-webkit-scrollbar-track,
391
- .commits-container::-webkit-scrollbar-track {
392
- background: transparent;
393
- }
394
-
395
- .sidebar::-webkit-scrollbar-thumb,
396
- .commits-container::-webkit-scrollbar-thumb {
397
- background-color: var(--glass-border);
398
- border-radius: 4px;
399
- border: 2px solid transparent;
400
- background-clip: padding-box;
401
- }
402
-
403
- .sidebar::-webkit-scrollbar-thumb:hover,
404
- .commits-container::-webkit-scrollbar-thumb:hover {
405
- background-color: var(--primary-blue);
406
- }
407
-
408
- .sidebar,
409
- .commits-container {
410
- scrollbar-width: thin;
411
- scrollbar-color: var(--glass-border) transparent;
412
- }
413
-
414
- .commits-container {
415
- margin-top: 10px;
416
- overflow-y: auto;
417
- overflow-x: hidden;
418
- max-height: calc(100vh - 360px);
419
- padding-right: 16px;
420
- padding-bottom: 20px;
421
- position: relative;
422
- z-index: 1;
423
- }
424
-
425
- .branch-list {
426
- margin-top: 10px;
427
- }
428
-
429
- .branch-item {
430
- padding: 8px 12px;
431
- margin: 4px 0;
432
- border-radius: 4px;
433
- cursor: pointer;
434
- transition: all 0.2s;
435
- color: var(--text-primary);
436
- }
437
-
438
- .branch-item:hover {
439
- background: rgba(43, 133, 253, 0.2);
440
- }
441
-
442
- .branch-item.active {
443
- background: var(--primary-blue);
444
- color: white;
445
- }
446
-
447
- .branch-section {
448
- margin-bottom: 20px;
449
- }
450
-
451
- .branch-section h3 {
452
- font-size: 0.9em;
453
- color: var(--text-secondary);
454
- margin-bottom: 8px;
455
- padding-bottom: 4px;
456
- border-bottom: 1px solid #eee;
457
- }
458
-
459
- .branch-item.remote {
460
- color: var(--text-secondary);
461
- padding-left: 20px;
462
- position: relative;
463
- }
464
-
465
- .branch-item.remote::before {
466
- content: "⇋";
467
- position: absolute;
468
- left: 6px;
469
- color: var(--text-secondary);
470
- }
471
-
472
- .timeline-section {
473
- background: var(--glass-bg);
474
- padding: 20px;
475
- border-radius: 8px;
476
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
477
- height: calc(100vh - 292px);
478
- margin-bottom: 0;
479
- border: 1px solid var(--glass-border);
480
- backdrop-filter: blur(10px);
481
- position: relative;
482
- background: linear-gradient(
483
- to bottom,
484
- var(--glass-bg),
485
- rgba(30, 41, 59, 0.8)
486
- );
487
- display: flex;
488
- flex-direction: column;
489
- }
490
-
491
- .commits-container {
492
- margin-top: 10px;
493
- overflow-y: auto;
494
- overflow-x: hidden;
495
- max-height: calc(100vh - 360px);
496
- padding-right: 16px;
497
- padding-bottom: 20px;
498
- position: relative;
499
- z-index: 1;
500
- }
501
-
502
- .comparison-header {
503
- position: relative;
504
- padding: 5px 15px;
505
- cursor: pointer;
506
- display: flex;
507
- justify-content: space-between;
508
- align-items: center;
509
- }
510
-
511
- .commit-selectors {
512
- display: flex;
513
- gap: 15px;
514
- align-items: center;
515
- margin-top: 2px;
516
- }
517
-
518
- .select-group {
519
- display: flex;
520
- align-items: center;
521
- gap: 8px;
522
- }
523
-
524
- .commit-select {
525
- padding: 6px 12px;
526
- border: 1px solid var(--glass-border);
527
- border-radius: 6px;
528
- width: 300px;
529
- font-family: monospace;
530
- background: var(--bg-card);
531
- color: var(--text-primary);
532
- backdrop-filter: blur(10px);
533
- }
534
-
535
- .commit-select option {
536
- background: var(--bg-dark);
537
- color: var(--text-primary);
538
- padding: 8px 12px;
539
- }
540
-
541
- .commit-select option:hover,
542
- .commit-select option:focus,
543
- .commit-select option:active {
544
- background: var(--bg-dark) !important;
545
- color: var(--text-primary) !important;
546
- box-shadow: none !important;
547
- }
548
-
549
- .commit-select option:checked {
550
- background: var(--primary-blue);
551
- color: white;
552
- }
553
-
554
- .branch-info {
555
- display: flex;
556
- gap: 20px;
557
- margin-top: 10px;
558
- color: var(--text-secondary);
559
- font-size: 0.9em;
560
- }
561
-
562
- .branch-info div {
563
- background: var(--bg-card);
564
- padding: 4px 12px;
565
- border-radius: 15px;
566
- }
567
-
568
- h2,
569
- h3 {
570
- margin: 0;
571
- color: #ffffff;
572
- }
573
-
574
- @media (max-width: 768px) {
575
- .layout {
576
- grid-template-columns: 1fr;
577
- height: calc(100vh - 160px);
578
- }
579
-
580
- body {
581
- padding: 0;
582
- }
583
-
584
- .commit {
585
- grid-template-columns: 1fr;
586
- gap: 8px;
587
- }
588
-
589
- .commit-selectors {
590
- flex-direction: column;
591
- align-items: stretch;
592
- }
593
-
594
- .select-group {
595
- flex-direction: column;
596
- align-items: stretch;
597
- }
598
-
599
- .commit-select {
600
- width: 100%;
601
- }
602
-
603
- .timeline-section {
604
- max-height: none;
605
- }
606
-
607
- #comparison-panel {
608
- height: 45vh;
609
- }
610
-
611
- .diff-content {
612
- height: calc(45vh - 140px);
613
- }
614
- }
615
-
616
- @media (min-width: 769px) and (max-width: 1024px) {
617
- .layout {
618
- grid-template-columns: 200px 1fr;
619
- }
620
-
621
- .commit {
622
- grid-template-columns: 70px 1fr 120px;
623
- }
624
- }
625
-
626
- .dropdown {
627
- position: relative;
628
- cursor: pointer;
629
- width: 45px;
630
- height: 45px;
631
- background: var(--primary-blue);
632
- box-shadow: 0 8px 32px rgba(43, 133, 253, 0.3);
633
- border-radius: 50%;
634
- display: flex;
635
- justify-content: center;
636
- align-items: center;
637
- overflow: hidden;
638
- margin-left: 10px;
639
- }
640
-
641
- .dropdown input {
642
- position: absolute;
643
- opacity: 0;
644
- width: 100%;
645
- height: 100%;
646
- cursor: pointer;
647
- z-index: 2;
648
- }
649
-
650
- .dropdown svg {
651
- width: 24px;
652
- height: 24px;
653
- fill: white;
654
- transition: transform 0.3s ease;
655
- z-index: 1;
656
- transform: rotate(180deg);
657
- }
658
-
659
- #comparison-panel:not(.collapsed) .dropdown svg {
660
- transform: rotate(0deg);
661
- }
662
-
663
- .diff-file {
664
- margin-bottom: 20px;
665
- border: 1px solid var(--glass-border);
666
- border-radius: 6px;
667
- overflow: hidden;
668
- background: var(--bg-card);
669
- }
670
-
671
- .diff-file-header {
672
- background: rgba(30, 41, 59, 0.9);
673
- padding: 10px 16px;
674
- display: flex;
675
- align-items: center;
676
- gap: 10px;
677
- cursor: pointer;
678
- user-select: none;
679
- border-bottom: 1px solid var(--glass-border);
680
- }
681
-
682
- .file-status {
683
- font-family: monospace;
684
- font-weight: bold;
685
- font-size: 14px;
686
- min-width: 24px;
687
- }
688
-
689
- .diff-file-name {
690
- flex-grow: 1;
691
- font-family: monospace;
692
- font-weight: 600;
693
- color: #ffffff;
694
- }
695
-
696
- .diff-stats {
697
- margin-right: 16px;
698
- }
699
-
700
- .diff-added {
701
- color: #28a745;
702
- margin-right: 8px;
703
- }
704
-
705
- .diff-removed {
706
- color: #d73a49;
707
- }
708
-
709
- .diff-collapse-icon {
710
- transition: transform 0.2s ease;
711
- }
712
-
713
- .diff-file.collapsed .diff-collapse-icon {
714
- transform: rotate(-90deg);
715
- }
716
-
717
- .diff-file.collapsed .diff-file-content {
718
- display: none;
719
- }
720
-
721
- .diff-file-content {
722
- background: #1a2b4b;
723
- overflow-x: auto;
724
- }
725
-
726
- .diff-hunk-header {
727
- color: #e2e8f0;
728
- background: #243660;
729
- padding: 8px 16px;
730
- font-family: monospace;
731
- font-size: 12px;
732
- border-bottom: 1px solid #334873;
733
- font-weight: 600;
734
- display: flex;
735
- align-items: center;
736
- gap: 8px;
737
- }
738
-
739
- .diff-hunk-header::before {
740
- content: "•";
741
- color: #6e7781;
742
- }
743
-
744
- .diff-line.addition {
745
- background: #e6ffec;
746
- }
747
-
748
- .diff-line.deletion {
749
- background: #ffebe9;
750
- }
751
-
752
- .diff-line.addition code {
753
- color: #1a7f37;
754
- }
755
-
756
- .diff-line.deletion code {
757
- color: #cf222e;
758
- }
759
-
760
- .diff-line .fullscreen-loader,
761
- .terminal-loader {
762
- display: none;
763
- }
764
-
765
- #loader-container {
766
- position: fixed;
767
- top: 0;
768
- left: 0;
769
- width: 100vw;
770
- height: 100vh;
771
- background: rgb(4, 35, 78);
772
- display: none;
773
- justify-content: center;
774
- align-items: center;
775
- z-index: 9999;
776
- opacity: 1;
777
- transition: opacity 0.5s ease-out;
778
- }
779
-
780
- #loader-container.fade-out {
781
- opacity: 0;
782
- }
783
-
784
- .loader {
785
- --path: #e84d31;
786
- --dot: #ffffff;
787
- --duration: 3s;
788
- width: 44px;
789
- height: 44px;
790
- position: relative;
791
- }
792
-
793
- .loader:before {
794
- content: "";
795
- width: 6px;
796
- height: 6px;
797
- border-radius: 50%;
798
- position: absolute;
799
- display: block;
800
- background: var(--dot);
801
- top: 37px;
802
- left: 19px;
803
- transform: translate(-18px, -18px);
804
- animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
805
- infinite;
806
- }
807
-
808
- .loader svg {
809
- display: block;
810
- width: 100%;
811
- height: 100%;
812
- }
813
-
814
- .loader svg rect,
815
- .loader svg polygon,
816
- .loader svg circle {
817
- fill: none;
818
- stroke: var(--path);
819
- stroke-width: 10px;
820
- stroke-linejoin: round;
821
- stroke-linecap: round;
822
- }
823
-
824
- .loader svg polygon {
825
- stroke-dasharray: 145 76 145 76;
826
- stroke-dashoffset: 0;
827
- animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
828
- infinite;
829
- }
830
-
831
- .loader svg rect {
832
- stroke-dasharray: 192 64 192 64;
833
- stroke-dashoffset: 0;
834
- animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
835
- }
836
-
837
- .loader svg circle {
838
- stroke-dasharray: 150 50 150 50;
839
- stroke-dashoffset: 75;
840
- animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
841
- infinite;
842
- }
843
-
844
- .loader.triangle {
845
- width: 48px;
846
- }
847
-
848
- .loader.triangle:before {
849
- left: 21px;
850
- transform: translate(-10px, -18px);
851
- animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
852
- infinite;
853
- }
854
-
855
- @keyframes pathTriangle {
856
- 33% {
857
- stroke-dashoffset: 74;
858
- }
859
-
860
- 66% {
861
- stroke-dashoffset: 147;
862
- }
863
-
864
- 100% {
865
- stroke-dashoffset: 221;
866
- }
867
- }
868
-
869
- @keyframes dotTriangle {
870
- 33% {
871
- transform: translate(0, 0);
872
- }
873
-
874
- 66% {
875
- transform: translate(10px, -18px);
876
- }
877
-
878
- 100% {
879
- transform: translate(-10px, -18px);
880
- }
881
- }
882
-
883
- @keyframes pathRect {
884
- 25% {
885
- stroke-dashoffset: 64;
886
- }
887
-
888
- 50% {
889
- stroke-dashoffset: 128;
890
- }
891
-
892
- 75% {
893
- stroke-dashoffset: 192;
894
- }
895
-
896
- 100% {
897
- stroke-dashoffset: 256;
898
- }
899
- }
900
-
901
- @keyframes dotRect {
902
- 25% {
903
- transform: translate(0, 0);
904
- }
905
-
906
- 50% {
907
- transform: translate(18px, -18px);
908
- }
909
-
910
- 75% {
911
- transform: translate(0, -36px);
912
- }
913
-
914
- 100% {
915
- transform: translate(-18px, -18px);
916
- }
917
- }
918
-
919
- @keyframes pathCircle {
920
- 25% {
921
- stroke-dashoffset: 125;
922
- }
923
-
924
- 50% {
925
- stroke-dashoffset: 175;
926
- }
927
-
928
- 75% {
929
- stroke-dashoffset: 225;
930
- }
931
-
932
- 100% {
933
- stroke-dashoffset: 275;
934
- }
935
- }
936
-
937
- .loader {
938
- display: inline-block;
939
- margin: 0 16px;
940
- }
941
-
942
- .bento-grid {
943
- display: grid;
944
- grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
945
- gap: 20px;
946
- padding: 20px;
947
- }
948
-
949
- .bento-item {
950
- background: var(--glass-bg);
951
- border-radius: 16px;
952
- padding: 24px;
953
- border: 1px solid var(--glass-border);
954
- backdrop-filter: blur(10px);
955
- transition: all 0.3s ease;
956
- }
957
-
958
- .bento-item:hover {
959
- transform: translateY(-5px);
960
- box-shadow: 0 8px 32px rgba(43, 133, 253, 0.2);
961
- border-color: var(--primary-blue);
962
- }
963
-
964
- .bento-item.featured {
965
- grid-column: span 2;
966
- grid-row: span 2;
967
- }
968
-
969
- .glass-card {
970
- background: linear-gradient(
971
- 135deg,
972
- rgba(255, 255, 255, 0.1),
973
- rgba(255, 255, 255, 0.05)
974
- );
975
- backdrop-filter: blur(20px);
976
- -webkit-backdrop-filter: blur(20px);
977
- border: 1px solid var(--glass-border);
978
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
979
- }
980
-
981
- .fade-out {
982
- opacity: 0 !important;
983
- }
984
-
985
- .binary-message {
986
- padding: 20px;
987
- text-align: center;
988
- color: var(--text-secondary);
989
- background: var(--bg-dark);
990
- border-radius: 4px;
991
- margin: 10px;
992
- }
993
-
994
- .diff-file-info {
995
- color: var(--text-secondary);
996
- margin-right: 16px;
997
- padding: 2px 8px;
998
- background: rgba(255, 255, 255, 0.1);
999
- border-radius: 4px;
1000
- font-size: 0.9em;
1001
- }
1002
-
1003
- .card {
1004
- width: 330px;
1005
- height: 80px;
1006
- border-radius: 8px;
1007
- box-sizing: border-box;
1008
- padding: 10px 15px;
1009
- background-color: #ffffff;
1010
- box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
1011
- position: relative;
1012
- overflow: hidden;
1013
- display: flex;
1014
- align-items: center;
1015
- justify-content: space-around;
1016
- gap: 15px;
1017
- }
1018
- .wave {
1019
- position: absolute;
1020
- transform: rotate(90deg);
1021
- left: -31px;
1022
- top: 32px;
1023
- width: 80px;
1024
- fill: #ffa30d3a;
1025
- }
1026
- .icon-container {
1027
- width: 35px;
1028
- height: 35px;
1029
- display: flex;
1030
- justify-content: center;
1031
- align-items: center;
1032
- background-color: #ffa30d48;
1033
- border-radius: 50%;
1034
- margin-left: 8px;
1035
- }
1036
- .icon {
1037
- width: 17px;
1038
- height: 17px;
1039
- color: #db970e;
1040
- }
1041
- .message-text-container {
1042
- display: flex;
1043
- flex-direction: column;
1044
- justify-content: center;
1045
- align-items: center;
1046
- flex-grow: 1;
1047
- }
1048
- .message-text,
1049
- .sub-text {
1050
- margin: 0;
1051
- cursor: default;
1052
- }
1053
- .message-text {
1054
- color: #db970e;
1055
- font-size: 17px;
1056
- font-weight: 700;
1057
- }
1058
- .sub-text {
1059
- font-size: 14px;
1060
- color: #555;
1061
- }
1062
- .cross-icon {
1063
- width: 18px;
1064
- height: 18px;
1065
- color: #555;
1066
- cursor: pointer;
1067
- }
1068
-
1069
- .card.toast {
1070
- width: 330px;
1071
- height: 80px;
1072
- border-radius: 8px;
1073
- box-sizing: border-box;
1074
- padding: 10px 15px;
1075
- background-color: #ffffff;
1076
- box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
1077
- position: relative;
1078
- overflow: hidden;
1079
- display: flex;
1080
- align-items: center;
1081
- justify-content: space-around;
1082
- gap: 15px;
1083
- opacity: 0;
1084
- transform: translateY(-20px);
1085
- transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
1086
- margin-bottom: 10px;
1087
- }
1088
-
1089
- .card.toast.show {
1090
- opacity: 1;
1091
- transform: translateY(0);
1092
- }
1093
-
1094
- .card.toast.hide {
1095
- opacity: 0;
1096
- transform: translateY(-20px);
1097
- }
1098
-
1099
- #toast-container {
1100
- position: fixed;
1101
- top: 10px;
1102
- left: 50%;
1103
- transform: translateX(-50%);
1104
- z-index: 9999;
1105
- display: flex;
1106
- flex-direction: column;
1107
- align-items: center;
1108
- pointer-events: none;
1109
- }
1110
-
1111
- .wave {
1112
- position: absolute;
1113
- transform: rotate(90deg);
1114
- left: -31px;
1115
- top: 32px;
1116
- width: 80px;
1117
- fill: #ffa30d3a;
1118
- }
1119
-
1120
- .icon-container {
1121
- width: 35px;
1122
- height: 35px;
1123
- display: flex;
1124
- justify-content: center;
1125
- align-items: center;
1126
- border-radius: 50%;
1127
- margin-left: 8px;
1128
- }
1129
-
1130
- .icon {
1131
- width: 17px;
1132
- height: 17px;
1133
- }
1134
-
1135
- .message-text-container {
1136
- display: flex;
1137
- flex-direction: column;
1138
- justify-content: center;
1139
- align-items: flex-start;
1140
- flex-grow: 1;
1141
- }
1142
-
1143
- .message-text {
1144
- margin: 0;
1145
- cursor: default;
1146
- font-size: 17px;
1147
- font-weight: 700;
1148
- }
1149
-
1150
- .cross-icon {
1151
- width: 18px;
1152
- height: 18px;
1153
- color: #555;
1154
- cursor: pointer;
1155
- }
1156
-
1157
- .commit-author-container {
1158
- position: relative;
1159
- display: flex;
1160
- align-items: center;
1161
- cursor: pointer;
1162
- }
1163
-
1164
- .author-avatar {
1165
- width: 32px;
1166
- height: 32px;
1167
- border-radius: 50%;
1168
- transition: transform 0.2s ease;
1169
- border: 2px solid var(--glass-border);
1170
- }
1171
-
1172
- .author-avatar:hover {
1173
- transform: scale(1.1);
1174
- border-color: var(--primary-blue);
1175
- }
1176
-
1177
- .author-tooltip {
1178
- position: absolute;
1179
- right: 0;
1180
- top: calc(100% + 5px);
1181
- background: var(--bg-dark);
1182
- border: 1px solid var(--glass-border);
1183
- border-radius: 8px;
1184
- padding: 16px;
1185
- min-width: 250px;
1186
- backdrop-filter: blur(10px);
1187
- z-index: 100000;
1188
- opacity: 0;
1189
- visibility: hidden;
1190
- transform: translateY(-10px);
1191
- transition: all 0.2s ease;
1192
- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
1193
- }
1194
-
1195
- .commit-author-container:hover .author-tooltip {
1196
- opacity: 1;
1197
- visibility: visible;
1198
- transform: translateY(0);
1199
- }
1200
-
1201
- .author-tooltip-content {
1202
- display: flex;
1203
- flex-direction: column;
1204
- gap: 8px;
1205
- }
1206
-
1207
- .author-name {
1208
- font-weight: 600;
1209
- color: var(--text-primary);
1210
- }
1211
-
1212
- .author-email {
1213
- color: var(--text-secondary);
1214
- font-size: 0.9em;
1215
- }
1216
-
1217
- .github-link {
1218
- color: var(--primary-blue);
1219
- text-decoration: none;
1220
- display: flex;
1221
- align-items: center;
1222
- gap: 4px;
1223
- font-size: 0.9em;
1224
- margin-top: 4px;
1225
- }
1226
-
1227
- .github-link:hover {
1228
- text-decoration: underline;
1229
- }
1230
-
1231
- .app-logo {
1232
- width: 50px;
1233
- height: 50px;
1234
- /* object-fit: contain; */
1235
- display: inline-block;
1236
- margin: 0;
1237
- vertical-align: middle;
1238
- }
1239
-
1240
- .title-container {
1241
- display: flex;
1242
- align-items: center;
1243
- gap: 10px;
1244
- margin-bottom: 10px;
1245
- flex-direction: row;
1246
- }
1247
-
1248
- .title-container h1 {
1249
- margin: 0;
1250
- display: inline-flex;
1251
- align-items: center;
1252
- }
1253
-
1254
- .app-logo {
1255
- width: 40px;
1256
- height: 40px;
1257
- object-fit: contain;
1258
- display: block;
1259
- }
1
+ @font-face {
2
+ font-family: "Inter";
3
+ src: url("./fonts/InterVariable.woff2") format("woff2-variations");
4
+ font-weight: 100 900;
5
+ font-display: swap;
6
+ font-style: normal;
7
+ }
8
+
9
+ :root {
10
+ --glass-bg: rgba(255, 255, 255, 0.1);
11
+ --glass-border: rgba(255, 255, 255, 0.2);
12
+ --primary-blue: #2b85fd;
13
+ --secondary-blue: #1a73e8;
14
+ --accent-purple: #7c3aed;
15
+ --text-primary: #e2e8f0;
16
+ --text-secondary: #94a3b8;
17
+ --bg-dark: #0f172a;
18
+ --bg-card: rgba(30, 41, 59, 0.7);
19
+ }
20
+
21
+ body {
22
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
23
+ sans-serif;
24
+ margin: 0;
25
+ padding: 0;
26
+ background: var(--bg-dark);
27
+ color: var(--text-primary);
28
+ height: 100vh;
29
+ overflow: hidden;
30
+ background-image: radial-gradient(
31
+ at 40% 20%,
32
+ rgba(61, 64, 241, 0.271) 0px,
33
+ transparent 50%
34
+ ),
35
+ radial-gradient(at 80% 0%, rgba(124, 58, 237, 0.15) 0px, transparent 50%),
36
+ radial-gradient(at 0% 50%, rgba(43, 133, 253, 0.15) 0px, transparent 50%);
37
+ background-attachment: fixed;
38
+ }
39
+
40
+ ::-webkit-scrollbar,
41
+ ::-webkit-scrollbar-track,
42
+ ::-webkit-scrollbar-thumb,
43
+ ::-webkit-scrollbar-thumb:hover {
44
+ display: none;
45
+ }
46
+
47
+ * {
48
+ scrollbar-width: none;
49
+ -ms-overflow-style: none;
50
+ }
51
+
52
+ #app {
53
+ height: 100vh;
54
+ max-width: 100vw;
55
+ margin: 0;
56
+ padding: 20px;
57
+ box-sizing: border-box;
58
+ display: flex;
59
+ flex-direction: column;
60
+ backdrop-filter: blur(20px);
61
+ }
62
+
63
+ header {
64
+ flex-shrink: 0;
65
+ background: var(--glass-bg);
66
+ padding: 15px;
67
+ border-radius: 8px;
68
+ box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
69
+ border: 1px solid var(--glass-border);
70
+ backdrop-filter: blur(10px);
71
+ margin-bottom: 10px;
72
+ text-align: center;
73
+ display: flex;
74
+ flex-direction: column;
75
+ align-items: center;
76
+ }
77
+
78
+ header h1 {
79
+ margin: 0 0 10px 0;
80
+ }
81
+
82
+ #repo-info {
83
+ text-align: center;
84
+ color: var(--text-secondary);
85
+ }
86
+
87
+ .repo-details {
88
+ display: flex;
89
+ gap: 15px;
90
+ align-items: center;
91
+ justify-content: center;
92
+ margin-top: 10px;
93
+ }
94
+
95
+ .repo-name {
96
+ font-size: 1.1em;
97
+ font-weight: 600;
98
+ color: var(--text-primary);
99
+ }
100
+
101
+ .branch-name {
102
+ color: var(--text-secondary);
103
+ background: var(--bg-card);
104
+ padding: 4px 12px;
105
+ border-radius: 15px;
106
+ font-size: 0.9em;
107
+ }
108
+
109
+ .commit {
110
+ padding: 12px;
111
+ margin: 8px 0;
112
+ border-radius: 6px;
113
+ border: 1px solid var(--glass-border);
114
+ background: var(--bg-card);
115
+ display: grid;
116
+ grid-template-columns: 80px 1fr auto;
117
+ gap: 12px;
118
+ align-items: center;
119
+ cursor: pointer;
120
+ transition: all 0.2s;
121
+ color: var(--text-primary);
122
+ backdrop-filter: blur(10px);
123
+ position: relative;
124
+ overflow: visible;
125
+ z-index: 1;
126
+ }
127
+
128
+ .commit:hover {
129
+ background: rgba(30, 41, 59, 0.9);
130
+ transform: translateX(2px);
131
+ border: 1px solid var(--primary-blue);
132
+ z-index: 2;
133
+ }
134
+
135
+ .commit::before {
136
+ content: "";
137
+ position: absolute;
138
+ top: 0;
139
+ left: 0;
140
+ width: 100%;
141
+ height: 100%;
142
+ background: linear-gradient(
143
+ 45deg,
144
+ transparent,
145
+ rgba(255, 255, 255, 0.05),
146
+ transparent
147
+ );
148
+ transform: translateX(-100%);
149
+ transition: transform 0.6s;
150
+ }
151
+
152
+ .commit:hover::before {
153
+ transform: translateX(100%);
154
+ }
155
+
156
+ .commit.selected-first {
157
+ border: 1px solid var(--primary-blue);
158
+ background: rgba(43, 133, 253, 0.2);
159
+ }
160
+
161
+ .commit.selected-second {
162
+ border: 1px solid var(--accent-purple);
163
+ background: rgba(124, 58, 237, 0.2);
164
+ }
165
+
166
+ .commit-hash {
167
+ font-family: monospace;
168
+ color: var(--primary-blue);
169
+ }
170
+
171
+ .commit-message {
172
+ font-weight: 500;
173
+ }
174
+
175
+ .commit-author,
176
+ .commit-date {
177
+ color: var(--text-secondary);
178
+ }
179
+
180
+ .commit-date {
181
+ color: var(--text-secondary);
182
+ white-space: nowrap;
183
+ font-family: monospace;
184
+ min-width: 200px;
185
+ font-size: 0.9em;
186
+ display: flex;
187
+ align-items: center;
188
+ }
189
+
190
+ .commit-info {
191
+ display: flex;
192
+ align-items: center;
193
+ gap: 12px;
194
+ margin-left: auto;
195
+ position: relative;
196
+ z-index: 2;
197
+ }
198
+
199
+ #comparison-panel {
200
+ position: fixed;
201
+ bottom: 0;
202
+ left: 0;
203
+ right: 0;
204
+ background: var(--glass-bg);
205
+ padding: 15px 15px 25px 15px;
206
+ box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
207
+ display: flex;
208
+ flex-direction: column;
209
+ z-index: 1000;
210
+ overflow: hidden;
211
+ backdrop-filter: blur(20px);
212
+ border-top: 1px solid var(--glass-border);
213
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
214
+ height: 75vh;
215
+ transform: translateY(calc(100% - 45px));
216
+ max-height: calc(100vh - 100px);
217
+ }
218
+
219
+ #comparison-panel.collapsed {
220
+ transform: translateY(calc(100% - 90px));
221
+ }
222
+
223
+ #comparison-panel:not(.collapsed) {
224
+ transform: translateY(0);
225
+ }
226
+
227
+ .diff-content {
228
+ margin-top: 15px;
229
+ flex: 1;
230
+ overflow-y: auto;
231
+ background: var(--bg-card);
232
+ padding: 15px;
233
+ border-radius: 6px;
234
+ font-family: "Fira Code", "Consolas", monospace;
235
+ line-height: 1.5;
236
+ font-size: 14px;
237
+ contain: content;
238
+ will-change: transform;
239
+ border: 1px solid var(--glass-border);
240
+ }
241
+
242
+ .diff-line {
243
+ display: flex;
244
+ font-family: monospace;
245
+ white-space: pre;
246
+ font-size: 12px;
247
+ line-height: 1.5;
248
+ margin: 0;
249
+ position: relative;
250
+ background: black;
251
+ }
252
+
253
+ .line-numbers {
254
+ user-select: none;
255
+ width: 80px;
256
+ min-width: 80px;
257
+ padding: 0 8px;
258
+ color: #6e7781;
259
+ background: #f6f8fa;
260
+ border-right: 1px solid #e1e4e8;
261
+ text-align: right;
262
+ display: flex;
263
+ }
264
+
265
+ .line-number {
266
+ width: 50%;
267
+ padding: 0 4px;
268
+ color: #6e7781;
269
+ }
270
+
271
+ .diff-line code {
272
+ padding: 0 16px;
273
+ flex: 1;
274
+ }
275
+
276
+ .diff-line::before {
277
+ content: attr(data-line-number);
278
+ display: inline-block;
279
+ width: 40px;
280
+ margin-right: 10px;
281
+ color: #6e7781;
282
+ user-select: none;
283
+ text-align: right;
284
+ }
285
+
286
+ .diff-line.addition {
287
+ background-color: #e6ffec;
288
+ border-left: 4px solid #2ea043;
289
+ }
290
+
291
+ .diff-line.deletion {
292
+ background-color: #ffebe9;
293
+ border-left: 4px solid #cf222e;
294
+ }
295
+
296
+ .diff-line:not(.addition):not(.deletion) {
297
+ color: #57606a;
298
+ background-color: #f8f9fa;
299
+ border-left: 4px solid transparent;
300
+ }
301
+
302
+ .diff-line:hover {
303
+ filter: brightness(97%);
304
+ }
305
+
306
+ .compare-button {
307
+ padding: 1.3em 2em;
308
+ font-size: 11px;
309
+ text-transform: uppercase;
310
+ letter-spacing: 2px;
311
+ font-weight: 500;
312
+ color: #ffffff;
313
+ background-color: #31c423;
314
+ border: none;
315
+ border-radius: 45px;
316
+ box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
317
+ transition: all 0.3s ease 0s;
318
+ cursor: pointer;
319
+ outline: none;
320
+ }
321
+
322
+ .compare-button:hover {
323
+ background-color: rgb(24, 169, 48);
324
+ box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
325
+ color: #fff;
326
+ transform: translateY(-2px);
327
+ }
328
+
329
+ .compare-button:active {
330
+ transform: translateY(-1px);
331
+ }
332
+
333
+ .clear-button {
334
+ padding: 1.3em 2em;
335
+ font-size: 11px;
336
+ text-transform: uppercase;
337
+ letter-spacing: 2px;
338
+ font-weight: 500;
339
+ color: #ffffff;
340
+ background: rgba(220, 53, 69, 0.8);
341
+ border: none;
342
+ border-radius: 45px;
343
+ box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
344
+ transition: all 0.3s ease 0s;
345
+ cursor: pointer;
346
+ outline: none;
347
+ backdrop-filter: blur(10px);
348
+ }
349
+
350
+ .clear-button:hover {
351
+ background-color: #ad2936;
352
+ box-shadow: 0px 15px 20px rgba(229, 46, 46, 0.4);
353
+ color: #fff;
354
+ transform: translateY(-2px);
355
+ }
356
+
357
+ .clear-button:active {
358
+ transform: translateY(-1px);
359
+ }
360
+
361
+ .layout {
362
+ flex: 1;
363
+ display: grid;
364
+ grid-template-columns: 250px 1fr;
365
+ gap: 20px;
366
+ height: calc(100vh - 260px);
367
+ overflow: hidden;
368
+ margin-bottom: 60px;
369
+ }
370
+
371
+ .sidebar {
372
+ background: var(--glass-bg);
373
+ padding: 20px;
374
+ overflow-x: hidden;
375
+ border-radius: 8px;
376
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
377
+ height: calc(100vh - 292px);
378
+ width: 219px;
379
+ overflow-y: auto;
380
+ border: 1px solid var(--glass-border);
381
+ backdrop-filter: blur(10px);
382
+ }
383
+
384
+ .sidebar::-webkit-scrollbar,
385
+ .commits-container::-webkit-scrollbar {
386
+ display: block;
387
+ width: 8px;
388
+ }
389
+
390
+ .sidebar::-webkit-scrollbar-track,
391
+ .commits-container::-webkit-scrollbar-track {
392
+ background: transparent;
393
+ }
394
+
395
+ .sidebar::-webkit-scrollbar-thumb,
396
+ .commits-container::-webkit-scrollbar-thumb {
397
+ background-color: var(--glass-border);
398
+ border-radius: 4px;
399
+ border: 2px solid transparent;
400
+ background-clip: padding-box;
401
+ }
402
+
403
+ .sidebar::-webkit-scrollbar-thumb:hover,
404
+ .commits-container::-webkit-scrollbar-thumb:hover {
405
+ background-color: var(--primary-blue);
406
+ }
407
+
408
+ .sidebar,
409
+ .commits-container {
410
+ scrollbar-width: thin;
411
+ scrollbar-color: var(--glass-border) transparent;
412
+ }
413
+
414
+ .commits-container {
415
+ margin-top: 10px;
416
+ overflow-y: auto;
417
+ overflow-x: hidden;
418
+ max-height: calc(100vh - 360px);
419
+ padding-right: 16px;
420
+ padding-bottom: 20px;
421
+ position: relative;
422
+ z-index: 1;
423
+ }
424
+
425
+ .branch-list {
426
+ margin-top: 10px;
427
+ }
428
+
429
+ .branch-item {
430
+ padding: 8px 12px;
431
+ margin: 4px 0;
432
+ border-radius: 4px;
433
+ cursor: pointer;
434
+ transition: all 0.2s;
435
+ color: var(--text-primary);
436
+ }
437
+
438
+ .branch-item:hover {
439
+ background: rgba(43, 133, 253, 0.2);
440
+ }
441
+
442
+ .branch-item.active {
443
+ background: var(--primary-blue);
444
+ color: white;
445
+ }
446
+
447
+ .branch-section {
448
+ margin-bottom: 20px;
449
+ }
450
+
451
+ .branch-section h3 {
452
+ font-size: 0.9em;
453
+ color: var(--text-secondary);
454
+ margin-bottom: 8px;
455
+ padding-bottom: 4px;
456
+ border-bottom: 1px solid #eee;
457
+ }
458
+
459
+ .branch-item.remote {
460
+ color: var(--text-secondary);
461
+ padding-left: 20px;
462
+ position: relative;
463
+ }
464
+
465
+ .branch-item.remote::before {
466
+ content: "⇋";
467
+ position: absolute;
468
+ left: 6px;
469
+ color: var(--text-secondary);
470
+ }
471
+
472
+ .timeline-section {
473
+ background: var(--glass-bg);
474
+ padding: 20px;
475
+ border-radius: 8px;
476
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
477
+ height: calc(100vh - 292px);
478
+ margin-bottom: 0;
479
+ border: 1px solid var(--glass-border);
480
+ backdrop-filter: blur(10px);
481
+ position: relative;
482
+ background: linear-gradient(
483
+ to bottom,
484
+ var(--glass-bg),
485
+ rgba(30, 41, 59, 0.8)
486
+ );
487
+ display: flex;
488
+ flex-direction: column;
489
+ }
490
+
491
+ .commits-container {
492
+ margin-top: 10px;
493
+ overflow-y: auto;
494
+ overflow-x: hidden;
495
+ max-height: calc(100vh - 360px);
496
+ padding-right: 16px;
497
+ padding-bottom: 20px;
498
+ position: relative;
499
+ z-index: 1;
500
+ }
501
+
502
+ .comparison-header {
503
+ position: relative;
504
+ padding: 5px 15px;
505
+ cursor: pointer;
506
+ display: flex;
507
+ justify-content: space-between;
508
+ align-items: center;
509
+ }
510
+
511
+ .commit-selectors {
512
+ display: flex;
513
+ gap: 15px;
514
+ align-items: center;
515
+ margin-top: 2px;
516
+ }
517
+
518
+ .select-group {
519
+ display: flex;
520
+ align-items: center;
521
+ gap: 8px;
522
+ }
523
+
524
+ .commit-select {
525
+ padding: 6px 12px;
526
+ border: 1px solid var(--glass-border);
527
+ border-radius: 6px;
528
+ width: 300px;
529
+ font-family: monospace;
530
+ background: var(--bg-card);
531
+ color: var(--text-primary);
532
+ backdrop-filter: blur(10px);
533
+ }
534
+
535
+ .commit-select option {
536
+ background: var(--bg-dark);
537
+ color: var(--text-primary);
538
+ padding: 8px 12px;
539
+ }
540
+
541
+ .commit-select option:hover,
542
+ .commit-select option:focus,
543
+ .commit-select option:active {
544
+ background: var(--bg-dark) !important;
545
+ color: var(--text-primary) !important;
546
+ box-shadow: none !important;
547
+ }
548
+
549
+ .commit-select option:checked {
550
+ background: var(--primary-blue);
551
+ color: white;
552
+ }
553
+
554
+ .branch-info {
555
+ display: flex;
556
+ gap: 20px;
557
+ margin-top: 10px;
558
+ color: var(--text-secondary);
559
+ font-size: 0.9em;
560
+ }
561
+
562
+ .branch-info div {
563
+ background: var(--bg-card);
564
+ padding: 4px 12px;
565
+ border-radius: 15px;
566
+ }
567
+
568
+ h2,
569
+ h3 {
570
+ margin: 0;
571
+ color: #ffffff;
572
+ }
573
+
574
+ @media (max-width: 768px) {
575
+ .layout {
576
+ grid-template-columns: 1fr;
577
+ height: calc(100vh - 160px);
578
+ }
579
+
580
+ body {
581
+ padding: 0;
582
+ }
583
+
584
+ .commit {
585
+ grid-template-columns: 1fr;
586
+ gap: 8px;
587
+ }
588
+
589
+ .commit-selectors {
590
+ flex-direction: column;
591
+ align-items: stretch;
592
+ }
593
+
594
+ .select-group {
595
+ flex-direction: column;
596
+ align-items: stretch;
597
+ }
598
+
599
+ .commit-select {
600
+ width: 100%;
601
+ }
602
+
603
+ .timeline-section {
604
+ max-height: none;
605
+ }
606
+
607
+ #comparison-panel {
608
+ height: 45vh;
609
+ }
610
+
611
+ .diff-content {
612
+ height: calc(45vh - 140px);
613
+ }
614
+ }
615
+
616
+ @media (min-width: 769px) and (max-width: 1024px) {
617
+ .layout {
618
+ grid-template-columns: 200px 1fr;
619
+ }
620
+
621
+ .commit {
622
+ grid-template-columns: 70px 1fr 120px;
623
+ }
624
+ }
625
+
626
+ .dropdown {
627
+ position: relative;
628
+ cursor: pointer;
629
+ width: 45px;
630
+ height: 45px;
631
+ background: var(--primary-blue);
632
+ box-shadow: 0 8px 32px rgba(43, 133, 253, 0.3);
633
+ border-radius: 50%;
634
+ display: flex;
635
+ justify-content: center;
636
+ align-items: center;
637
+ overflow: hidden;
638
+ margin-left: 10px;
639
+ }
640
+
641
+ .dropdown input {
642
+ position: absolute;
643
+ opacity: 0;
644
+ width: 100%;
645
+ height: 100%;
646
+ cursor: pointer;
647
+ z-index: 2;
648
+ }
649
+
650
+ .dropdown svg {
651
+ width: 24px;
652
+ height: 24px;
653
+ fill: white;
654
+ transition: transform 0.3s ease;
655
+ z-index: 1;
656
+ transform: rotate(180deg);
657
+ }
658
+
659
+ #comparison-panel:not(.collapsed) .dropdown svg {
660
+ transform: rotate(0deg);
661
+ }
662
+
663
+ .diff-file {
664
+ margin-bottom: 20px;
665
+ border: 1px solid var(--glass-border);
666
+ border-radius: 6px;
667
+ overflow: hidden;
668
+ background: var(--bg-card);
669
+ }
670
+
671
+ .diff-file-header {
672
+ background: rgba(30, 41, 59, 0.9);
673
+ padding: 10px 16px;
674
+ display: flex;
675
+ align-items: center;
676
+ gap: 10px;
677
+ cursor: pointer;
678
+ user-select: none;
679
+ border-bottom: 1px solid var(--glass-border);
680
+ }
681
+
682
+ .file-status {
683
+ font-family: monospace;
684
+ font-weight: bold;
685
+ font-size: 14px;
686
+ min-width: 24px;
687
+ }
688
+
689
+ .diff-file-name {
690
+ flex-grow: 1;
691
+ font-family: monospace;
692
+ font-weight: 600;
693
+ color: #ffffff;
694
+ }
695
+
696
+ .diff-stats {
697
+ margin-right: 16px;
698
+ }
699
+
700
+ .diff-added {
701
+ color: #28a745;
702
+ margin-right: 8px;
703
+ }
704
+
705
+ .diff-removed {
706
+ color: #d73a49;
707
+ }
708
+
709
+ .diff-collapse-icon {
710
+ transition: transform 0.2s ease;
711
+ }
712
+
713
+ .diff-file.collapsed .diff-collapse-icon {
714
+ transform: rotate(-90deg);
715
+ }
716
+
717
+ .diff-file.collapsed .diff-file-content {
718
+ display: none;
719
+ }
720
+
721
+ .diff-file-content {
722
+ background: #1a2b4b;
723
+ overflow-x: auto;
724
+ }
725
+
726
+ .diff-hunk-header {
727
+ color: #e2e8f0;
728
+ background: #243660;
729
+ padding: 8px 16px;
730
+ font-family: monospace;
731
+ font-size: 12px;
732
+ border-bottom: 1px solid #334873;
733
+ font-weight: 600;
734
+ display: flex;
735
+ align-items: center;
736
+ gap: 8px;
737
+ }
738
+
739
+ .diff-hunk-header::before {
740
+ content: "•";
741
+ color: #6e7781;
742
+ }
743
+
744
+ .diff-line.addition {
745
+ background: #e6ffec;
746
+ }
747
+
748
+ .diff-line.deletion {
749
+ background: #ffebe9;
750
+ }
751
+
752
+ .diff-line.addition code {
753
+ color: #1a7f37;
754
+ }
755
+
756
+ .diff-line.deletion code {
757
+ color: #cf222e;
758
+ }
759
+
760
+ .diff-line .fullscreen-loader,
761
+ .terminal-loader {
762
+ display: none;
763
+ }
764
+
765
+ #loader-container {
766
+ position: fixed;
767
+ top: 0;
768
+ left: 0;
769
+ width: 100vw;
770
+ height: 100vh;
771
+ background: rgb(4, 35, 78);
772
+ display: none;
773
+ justify-content: center;
774
+ align-items: center;
775
+ z-index: 9999;
776
+ opacity: 1;
777
+ transition: opacity 0.5s ease-out;
778
+ }
779
+
780
+ #loader-container.fade-out {
781
+ opacity: 0;
782
+ }
783
+
784
+ .loader {
785
+ --path: #e84d31;
786
+ --dot: #ffffff;
787
+ --duration: 3s;
788
+ width: 44px;
789
+ height: 44px;
790
+ position: relative;
791
+ }
792
+
793
+ .loader:before {
794
+ content: "";
795
+ width: 6px;
796
+ height: 6px;
797
+ border-radius: 50%;
798
+ position: absolute;
799
+ display: block;
800
+ background: var(--dot);
801
+ top: 37px;
802
+ left: 19px;
803
+ transform: translate(-18px, -18px);
804
+ animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
805
+ infinite;
806
+ }
807
+
808
+ .loader svg {
809
+ display: block;
810
+ width: 100%;
811
+ height: 100%;
812
+ }
813
+
814
+ .loader svg rect,
815
+ .loader svg polygon,
816
+ .loader svg circle {
817
+ fill: none;
818
+ stroke: var(--path);
819
+ stroke-width: 10px;
820
+ stroke-linejoin: round;
821
+ stroke-linecap: round;
822
+ }
823
+
824
+ .loader svg polygon {
825
+ stroke-dasharray: 145 76 145 76;
826
+ stroke-dashoffset: 0;
827
+ animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
828
+ infinite;
829
+ }
830
+
831
+ .loader svg rect {
832
+ stroke-dasharray: 192 64 192 64;
833
+ stroke-dashoffset: 0;
834
+ animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
835
+ }
836
+
837
+ .loader svg circle {
838
+ stroke-dasharray: 150 50 150 50;
839
+ stroke-dashoffset: 75;
840
+ animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
841
+ infinite;
842
+ }
843
+
844
+ .loader.triangle {
845
+ width: 48px;
846
+ }
847
+
848
+ .loader.triangle:before {
849
+ left: 21px;
850
+ transform: translate(-10px, -18px);
851
+ animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86)
852
+ infinite;
853
+ }
854
+
855
+ @keyframes pathTriangle {
856
+ 33% {
857
+ stroke-dashoffset: 74;
858
+ }
859
+
860
+ 66% {
861
+ stroke-dashoffset: 147;
862
+ }
863
+
864
+ 100% {
865
+ stroke-dashoffset: 221;
866
+ }
867
+ }
868
+
869
+ @keyframes dotTriangle {
870
+ 33% {
871
+ transform: translate(0, 0);
872
+ }
873
+
874
+ 66% {
875
+ transform: translate(10px, -18px);
876
+ }
877
+
878
+ 100% {
879
+ transform: translate(-10px, -18px);
880
+ }
881
+ }
882
+
883
+ @keyframes pathRect {
884
+ 25% {
885
+ stroke-dashoffset: 64;
886
+ }
887
+
888
+ 50% {
889
+ stroke-dashoffset: 128;
890
+ }
891
+
892
+ 75% {
893
+ stroke-dashoffset: 192;
894
+ }
895
+
896
+ 100% {
897
+ stroke-dashoffset: 256;
898
+ }
899
+ }
900
+
901
+ @keyframes dotRect {
902
+ 25% {
903
+ transform: translate(0, 0);
904
+ }
905
+
906
+ 50% {
907
+ transform: translate(18px, -18px);
908
+ }
909
+
910
+ 75% {
911
+ transform: translate(0, -36px);
912
+ }
913
+
914
+ 100% {
915
+ transform: translate(-18px, -18px);
916
+ }
917
+ }
918
+
919
+ @keyframes pathCircle {
920
+ 25% {
921
+ stroke-dashoffset: 125;
922
+ }
923
+
924
+ 50% {
925
+ stroke-dashoffset: 175;
926
+ }
927
+
928
+ 75% {
929
+ stroke-dashoffset: 225;
930
+ }
931
+
932
+ 100% {
933
+ stroke-dashoffset: 275;
934
+ }
935
+ }
936
+
937
+ .loader {
938
+ display: inline-block;
939
+ margin: 0 16px;
940
+ }
941
+
942
+ .bento-grid {
943
+ display: grid;
944
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
945
+ gap: 20px;
946
+ padding: 20px;
947
+ }
948
+
949
+ .bento-item {
950
+ background: var(--glass-bg);
951
+ border-radius: 16px;
952
+ padding: 24px;
953
+ border: 1px solid var(--glass-border);
954
+ backdrop-filter: blur(10px);
955
+ transition: all 0.3s ease;
956
+ }
957
+
958
+ .bento-item:hover {
959
+ transform: translateY(-5px);
960
+ box-shadow: 0 8px 32px rgba(43, 133, 253, 0.2);
961
+ border-color: var(--primary-blue);
962
+ }
963
+
964
+ .bento-item.featured {
965
+ grid-column: span 2;
966
+ grid-row: span 2;
967
+ }
968
+
969
+ .glass-card {
970
+ background: linear-gradient(
971
+ 135deg,
972
+ rgba(255, 255, 255, 0.1),
973
+ rgba(255, 255, 255, 0.05)
974
+ );
975
+ backdrop-filter: blur(20px);
976
+ -webkit-backdrop-filter: blur(20px);
977
+ border: 1px solid var(--glass-border);
978
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
979
+ }
980
+
981
+ .fade-out {
982
+ opacity: 0 !important;
983
+ }
984
+
985
+ .binary-message {
986
+ padding: 20px;
987
+ text-align: center;
988
+ color: var(--text-secondary);
989
+ background: var(--bg-dark);
990
+ border-radius: 4px;
991
+ margin: 10px;
992
+ }
993
+
994
+ .diff-file-info {
995
+ color: var(--text-secondary);
996
+ margin-right: 16px;
997
+ padding: 2px 8px;
998
+ background: rgba(255, 255, 255, 0.1);
999
+ border-radius: 4px;
1000
+ font-size: 0.9em;
1001
+ }
1002
+
1003
+ .card {
1004
+ width: 330px;
1005
+ height: 80px;
1006
+ border-radius: 8px;
1007
+ box-sizing: border-box;
1008
+ padding: 10px 15px;
1009
+ background-color: #ffffff;
1010
+ box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
1011
+ position: relative;
1012
+ overflow: hidden;
1013
+ display: flex;
1014
+ align-items: center;
1015
+ justify-content: space-around;
1016
+ gap: 15px;
1017
+ }
1018
+ .wave {
1019
+ position: absolute;
1020
+ transform: rotate(90deg);
1021
+ left: -31px;
1022
+ top: 32px;
1023
+ width: 80px;
1024
+ fill: #ffa30d3a;
1025
+ }
1026
+ .icon-container {
1027
+ width: 35px;
1028
+ height: 35px;
1029
+ display: flex;
1030
+ justify-content: center;
1031
+ align-items: center;
1032
+ background-color: #ffa30d48;
1033
+ border-radius: 50%;
1034
+ margin-left: 8px;
1035
+ }
1036
+ .icon {
1037
+ width: 17px;
1038
+ height: 17px;
1039
+ color: #db970e;
1040
+ }
1041
+ .message-text-container {
1042
+ display: flex;
1043
+ flex-direction: column;
1044
+ justify-content: center;
1045
+ align-items: center;
1046
+ flex-grow: 1;
1047
+ }
1048
+ .message-text,
1049
+ .sub-text {
1050
+ margin: 0;
1051
+ cursor: default;
1052
+ }
1053
+ .message-text {
1054
+ color: #db970e;
1055
+ font-size: 17px;
1056
+ font-weight: 700;
1057
+ }
1058
+ .sub-text {
1059
+ font-size: 14px;
1060
+ color: #555;
1061
+ }
1062
+ .cross-icon {
1063
+ width: 18px;
1064
+ height: 18px;
1065
+ color: #555;
1066
+ cursor: pointer;
1067
+ }
1068
+
1069
+ .card.toast {
1070
+ width: 330px;
1071
+ height: 80px;
1072
+ border-radius: 8px;
1073
+ box-sizing: border-box;
1074
+ padding: 10px 15px;
1075
+ background-color: #ffffff;
1076
+ box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
1077
+ position: relative;
1078
+ overflow: hidden;
1079
+ display: flex;
1080
+ align-items: center;
1081
+ justify-content: space-around;
1082
+ gap: 15px;
1083
+ opacity: 0;
1084
+ transform: translateY(-20px);
1085
+ transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
1086
+ margin-bottom: 10px;
1087
+ }
1088
+
1089
+ .card.toast.show {
1090
+ opacity: 1;
1091
+ transform: translateY(0);
1092
+ }
1093
+
1094
+ .card.toast.hide {
1095
+ opacity: 0;
1096
+ transform: translateY(-20px);
1097
+ }
1098
+
1099
+ #toast-container {
1100
+ position: fixed;
1101
+ top: 10px;
1102
+ left: 50%;
1103
+ transform: translateX(-50%);
1104
+ z-index: 9999;
1105
+ display: flex;
1106
+ flex-direction: column;
1107
+ align-items: center;
1108
+ pointer-events: none;
1109
+ }
1110
+
1111
+ .wave {
1112
+ position: absolute;
1113
+ transform: rotate(90deg);
1114
+ left: -31px;
1115
+ top: 32px;
1116
+ width: 80px;
1117
+ fill: #ffa30d3a;
1118
+ }
1119
+
1120
+ .icon-container {
1121
+ width: 35px;
1122
+ height: 35px;
1123
+ display: flex;
1124
+ justify-content: center;
1125
+ align-items: center;
1126
+ border-radius: 50%;
1127
+ margin-left: 8px;
1128
+ }
1129
+
1130
+ .icon {
1131
+ width: 17px;
1132
+ height: 17px;
1133
+ }
1134
+
1135
+ .message-text-container {
1136
+ display: flex;
1137
+ flex-direction: column;
1138
+ justify-content: center;
1139
+ align-items: flex-start;
1140
+ flex-grow: 1;
1141
+ }
1142
+
1143
+ .message-text {
1144
+ margin: 0;
1145
+ cursor: default;
1146
+ font-size: 17px;
1147
+ font-weight: 700;
1148
+ }
1149
+
1150
+ .cross-icon {
1151
+ width: 18px;
1152
+ height: 18px;
1153
+ color: #555;
1154
+ cursor: pointer;
1155
+ }
1156
+
1157
+ .commit-author-container {
1158
+ position: relative;
1159
+ display: flex;
1160
+ align-items: center;
1161
+ cursor: pointer;
1162
+ }
1163
+
1164
+ .author-avatar {
1165
+ width: 32px;
1166
+ height: 32px;
1167
+ border-radius: 50%;
1168
+ transition: transform 0.2s ease;
1169
+ border: 2px solid var(--glass-border);
1170
+ }
1171
+
1172
+ .author-avatar:hover {
1173
+ transform: scale(1.1);
1174
+ border-color: var(--primary-blue);
1175
+ }
1176
+
1177
+ .author-tooltip {
1178
+ position: absolute;
1179
+ right: 0;
1180
+ top: calc(100% + 5px);
1181
+ background: var(--bg-dark);
1182
+ border: 1px solid var(--glass-border);
1183
+ border-radius: 8px;
1184
+ padding: 16px;
1185
+ min-width: 250px;
1186
+ backdrop-filter: blur(10px);
1187
+ z-index: 100000;
1188
+ opacity: 0;
1189
+ visibility: hidden;
1190
+ transform: translateY(-10px);
1191
+ transition: all 0.2s ease;
1192
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
1193
+ }
1194
+
1195
+ .commit-author-container:hover .author-tooltip {
1196
+ opacity: 1;
1197
+ visibility: visible;
1198
+ transform: translateY(0);
1199
+ }
1200
+
1201
+ .author-tooltip-content {
1202
+ display: flex;
1203
+ flex-direction: column;
1204
+ gap: 8px;
1205
+ }
1206
+
1207
+ .author-name {
1208
+ font-weight: 600;
1209
+ color: var(--text-primary);
1210
+ }
1211
+
1212
+ .author-email {
1213
+ color: var(--text-secondary);
1214
+ font-size: 0.9em;
1215
+ }
1216
+
1217
+ .github-link {
1218
+ color: var(--primary-blue);
1219
+ text-decoration: none;
1220
+ display: flex;
1221
+ align-items: center;
1222
+ gap: 4px;
1223
+ font-size: 0.9em;
1224
+ margin-top: 4px;
1225
+ }
1226
+
1227
+ .github-link:hover {
1228
+ text-decoration: underline;
1229
+ }
1230
+
1231
+ .app-logo {
1232
+ width: 50px;
1233
+ height: 50px;
1234
+ /* object-fit: contain; */
1235
+ display: inline-block;
1236
+ margin: 0;
1237
+ vertical-align: middle;
1238
+ }
1239
+
1240
+ .title-container {
1241
+ display: flex;
1242
+ align-items: center;
1243
+ gap: 10px;
1244
+ margin-bottom: 10px;
1245
+ flex-direction: row;
1246
+ }
1247
+
1248
+ .title-container h1 {
1249
+ margin: 0;
1250
+ display: inline-flex;
1251
+ align-items: center;
1252
+ }
1253
+
1254
+ .app-logo {
1255
+ width: 40px;
1256
+ height: 40px;
1257
+ object-fit: contain;
1258
+ display: block;
1259
+ }