|
69 | 69 | .bottom-stats-bar { position: fixed; bottom: 0; right: 0; left: 240px; background: rgba(22, 27, 44, 0.7); backdrop-filter: blur(16px); border-top: 1px solid var(--border); padding: 0.5rem 1.5rem; display: flex; align-items: center; justify-content: space-between; z-index: 900; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); height: 40px; } |
70 | 70 | .bottom-stats-bar.collapsed { transform: translateY(40px); } |
71 | 71 | .stats-items { display: flex; gap: 1.5rem; align-items: center; overflow-x: auto; flex: 1; } |
72 | | - .stats-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--text-dim); white-space: nowrap; min-width: 100px; } |
73 | | - .stats-item strong { color: var(--primary); font-weight: 700; } |
| 72 | + .stats-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--text-dim); white-space: nowrap; } |
| 73 | + .stats-item strong, .stats-item span[id^="debug-"] { font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace; color: var(--primary); font-weight: 700; display: inline-block; text-align: left; } |
74 | 74 | .stats-toggle-tongue { position: absolute; top: -24px; right: 2rem; background: rgba(22, 27, 44, 0.7); backdrop-filter: blur(16px); border: 1px solid var(--border); border-bottom: none; padding: 4px 12px; border-radius: 8px 8px 0 0; cursor: pointer; color: var(--text-dim); display: flex; align-items: center; justify-content: center; height: 24px; box-sizing: border-box; } |
75 | 75 | .stats-toggle-tongue:hover { color: var(--text); background: var(--surface-hover); } |
76 | 76 | .debug-items { display: flex; gap: 1rem; margin-left: 1.5rem; border-left: 1px solid var(--border); padding-left: 1.5rem; } |
@@ -578,32 +578,32 @@ <h2>Top Connection Scanners (404s)</h2> |
578 | 578 | <i data-lucide="chevron-down" id="stats-toggle-icon" style="width: 16px; height: 16px;"></i> |
579 | 579 | </div> |
580 | 580 | <div class="stats-items"> |
581 | | - <div class="stats-item" style="min-width: 110px;"> |
| 581 | + <div class="stats-item"> |
582 | 582 | <i data-lucide="users" style="width: 14px; height: 14px;" title="Current Listeners"></i> |
583 | | - <span>Listeners: <strong id="global-listeners">0</strong></span> |
| 583 | + <span>Listeners: <strong id="global-listeners" style="width: 30px;">0</strong></span> |
584 | 584 | </div> |
585 | | - <div class="stats-item" style="min-width: 160px;"> |
| 585 | + <div class="stats-item"> |
586 | 586 | <i data-lucide="tower-control" style="width: 14px; height: 14px;" title="Active Broadcasting Sources"></i> |
587 | | - <span>Sources: <strong id="global-sources">0</strong></span> |
588 | | - <span style="font-size: 0.7rem; opacity: 0.7;">(<span id="stat-streamers" style="color: var(--success)">0</span> / <span id="stat-relays" style="color: var(--warning)">0</span>)</span> |
| 587 | + <span>Sources: <strong id="global-sources" style="width: 25px;">0</strong></span> |
| 588 | + <span style="font-size: 0.7rem; opacity: 0.7; width: 60px;">(<span id="stat-streamers" style="color: var(--success)">0</span> / <span id="stat-relays" style="color: var(--warning)">0</span>)</span> |
589 | 589 | </div> |
590 | | - <div class="stats-item" style="min-width: 100px;"> |
| 590 | + <div class="stats-item"> |
591 | 591 | <i data-lucide="arrow-down-circle" style="width: 14px; height: 14px; color: var(--success);" title="Total Data Received"></i> |
592 | | - <span>In: <strong id="global-mb-in">0.00</strong> MB</span> |
| 592 | + <span>In: <strong id="global-mb-in" style="width: 70px;">0.00</strong> MB</span> |
593 | 593 | </div> |
594 | | - <div class="stats-item" style="min-width: 100px;"> |
| 594 | + <div class="stats-item"> |
595 | 595 | <i data-lucide="arrow-up-circle" style="width: 14px; height: 14px; color: var(--primary);" title="Total Data Sent"></i> |
596 | | - <span>Out: <strong id="global-mb-out">0.00</strong> MB</span> |
| 596 | + <span>Out: <strong id="global-mb-out" style="width: 70px;">0.00</strong> MB</span> |
597 | 597 | </div> |
598 | 598 |
|
599 | 599 | <!-- Debug Stats (only visible in ?debug mode) --> |
600 | 600 | <div class="debug-items" id="debug-stats-bar" style="display: none;"> |
601 | | - <div class="stats-item" style="min-width: 80px;"><i data-lucide="cpu" title="System RAM Usage"></i> <span id="debug-ram">0 B</span></div> |
602 | | - <div class="stats-item" style="min-width: 80px;"><i data-lucide="database" title="Heap Memory Allocation"></i> <span id="debug-heap">0 B</span></div> |
603 | | - <div class="stats-item" style="min-width: 70px;"><i data-lucide="layers" title="Active Goroutines"></i> <span id="debug-goroutines">0</span></div> |
604 | | - <div class="stats-item" style="min-width: 70px;"><i data-lucide="refresh-cw" title="Garbage Collection Cycles"></i> <span id="debug-gc">0</span></div> |
605 | | - <div class="stats-item" style="min-width: 90px;"><i data-lucide="trash" title="Total Dropped Bytes"></i> <span id="debug-loss">0 B</span></div> |
606 | | - <div class="stats-item" style="min-width: 80px;"><i data-lucide="clock" title="Server Uptime"></i> <span id="debug-uptime">0s</span></div> |
| 601 | + <div class="stats-item"><i data-lucide="cpu" title="System RAM Usage"></i> <span id="debug-ram" style="width: 80px;">0 B</span></div> |
| 602 | + <div class="stats-item"><i data-lucide="database" title="Heap Memory Allocation"></i> <span id="debug-heap" style="width: 80px;">0 B</span></div> |
| 603 | + <div class="stats-item"><i data-lucide="layers" title="Active Goroutines"></i> <span id="debug-goroutines" style="width: 40px;">0</span></div> |
| 604 | + <div class="stats-item"><i data-lucide="refresh-cw" title="Garbage Collection Cycles"></i> <span id="debug-gc" style="width: 40px;">0</span></div> |
| 605 | + <div class="stats-item"><i data-lucide="trash" title="Total Dropped Bytes"></i> <span id="debug-loss" style="width: 80px;">0 B</span></div> |
| 606 | + <div class="stats-item"><i data-lucide="clock" title="Server Uptime"></i> <span id="debug-uptime" style="width: 80px;">0s</span></div> |
607 | 607 | </div> |
608 | 608 | </div> |
609 | 609 | </div> |
|
0 commit comments