From a52874fe0842b0f8238b5a000c14507c61089edd Mon Sep 17 00:00:00 2001 From: yuanyuanxiang <962914132@qq.com> Date: Tue, 2 Jun 2026 21:50:21 +0200 Subject: [PATCH] Feature(web): bandwidth read-out + collapsible fullscreen toolbar --- server/web/index.html | 74 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 71 insertions(+), 3 deletions(-) diff --git a/server/web/index.html b/server/web/index.html index e1d7963..2fbe649 100644 --- a/server/web/index.html +++ b/server/web/index.html @@ -829,6 +829,17 @@ .toolbar-btn:disabled { opacity: 0.3; cursor: not-allowed; } .toolbar-btn:disabled:hover { background: transparent; } .toolbar-btn:disabled:active { transform: none; } + /* Throughput read-out inside the floating toolbar (fullscreen mode). + Hidden automatically while empty so the toolbar collapses cleanly. */ + .fb-stats { + color: rgba(255,255,255,0.9); + font-size: 12px; + padding: 0 10px 0 6px; + font-variant-numeric: tabular-nums; + white-space: nowrap; + user-select: none; + } + .fb-stats:empty { display: none; } .toolbar-toggle { position: fixed; /* 同 .floating-toolbar:8px 基础 + 安全区 inset 避开刘海/灵动岛 */ @@ -1205,10 +1216,12 @@
+ +
100%
@@ -1291,6 +1304,12 @@