@qiaolei81/copilot-session-viewer 0.3.6 → 0.3.7

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.
@@ -475,6 +475,119 @@
475
475
  color: #f85149;
476
476
  }
477
477
 
478
+ /* Usage Section */
479
+ .usage-container {
480
+ font-size: 12px;
481
+ }
482
+ .usage-compact {
483
+ padding: 8px;
484
+ background: #21262d;
485
+ border: 1px solid #30363d;
486
+ border-radius: 4px;
487
+ color: #c9d1d9;
488
+ cursor: pointer;
489
+ transition: all 0.2s;
490
+ display: flex;
491
+ align-items: center;
492
+ justify-content: space-between;
493
+ }
494
+ .usage-compact:hover {
495
+ background: #30363d;
496
+ border-color: #58a6ff;
497
+ }
498
+ .usage-expand-icon {
499
+ color: #8b949e;
500
+ font-size: 10px;
501
+ }
502
+ .usage-expanded {
503
+ margin-top: 12px;
504
+ padding: 12px;
505
+ background: rgba(110, 118, 129, 0.05);
506
+ border: 1px solid #30363d;
507
+ border-radius: 6px;
508
+ }
509
+ .usage-section {
510
+ margin-bottom: 12px;
511
+ }
512
+ .usage-section:last-child {
513
+ margin-bottom: 0;
514
+ }
515
+ .usage-section-title {
516
+ font-size: 11px;
517
+ font-weight: 600;
518
+ color: #8b949e;
519
+ text-transform: uppercase;
520
+ letter-spacing: 0.5px;
521
+ margin-bottom: 8px;
522
+ }
523
+ .usage-model {
524
+ padding: 8px;
525
+ background: #161b22;
526
+ border-radius: 4px;
527
+ margin-bottom: 6px;
528
+ }
529
+ .usage-model:last-child {
530
+ margin-bottom: 0;
531
+ }
532
+ .usage-model-name {
533
+ font-size: 11px;
534
+ font-weight: 600;
535
+ color: #58a6ff;
536
+ margin-bottom: 4px;
537
+ font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
538
+ }
539
+ .usage-model-details {
540
+ font-size: 12px;
541
+ color: #c9d1d9;
542
+ display: flex;
543
+ flex-direction: column;
544
+ gap: 2px;
545
+ }
546
+ .usage-model-details > div {
547
+ display: flex;
548
+ gap: 8px;
549
+ align-items: center;
550
+ }
551
+ .usage-token-label {
552
+ color: #8b949e;
553
+ font-weight: 500;
554
+ min-width: 40px;
555
+ }
556
+ .usage-cache-ratio {
557
+ color: #3fb950;
558
+ font-weight: 600;
559
+ }
560
+ .usage-context {
561
+ font-size: 12px;
562
+ color: #c9d1d9;
563
+ display: flex;
564
+ flex-direction: column;
565
+ gap: 4px;
566
+ }
567
+ .usage-context > div {
568
+ display: flex;
569
+ gap: 8px;
570
+ align-items: center;
571
+ }
572
+ .usage-code-changes {
573
+ font-size: 12px;
574
+ color: #c9d1d9;
575
+ display: flex;
576
+ gap: 8px;
577
+ align-items: center;
578
+ }
579
+ .usage-code-added {
580
+ color: #3fb950;
581
+ font-weight: 600;
582
+ }
583
+ .usage-code-removed {
584
+ color: #f85149;
585
+ font-weight: 600;
586
+ }
587
+ .usage-code-files {
588
+ color: #8b949e;
589
+ }
590
+
478
591
  /* Content */
479
592
  .content {
480
593
  flex: 1;
@@ -1126,7 +1239,7 @@
1126
1239
 
1127
1240
  /* Bottom spacer for last event visibility */
1128
1241
  .scroller-bottom-spacer {
1129
- height: max(env(safe-area-inset-bottom, 0px), 80px);
1242
+ height: max(env(safe-area-inset-bottom, 0px), 16px);
1130
1243
  flex-shrink: 0;
1131
1244
  }
1132
1245