From ac93a38a6f5bb6823167362a95eef626208b6c06 Mon Sep 17 00:00:00 2001 From: RT15548 <168917470+RT15548@users.noreply.github.com> Date: Mon, 16 Feb 2026 17:29:20 +0800 Subject: [PATCH] Bump version to 2.5.0 and update story outline --- manifest.json | 4 +- modules/story-outline/story-outline.html | 49 ++++++++++++++++++------ 2 files changed, 40 insertions(+), 13 deletions(-) diff --git a/manifest.json b/manifest.json index 051e5ec..02136d3 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "js": "index.js", "css": "style.css", "author": "biex", - "version": "2.4.0", + "version": "2.5.0", "homePage": "https://github.com/RT15548/LittleWhiteBox", "generate_interceptor": "xiaobaixGenerateInterceptor" -} \ No newline at end of file +} diff --git a/modules/story-outline/story-outline.html b/modules/story-outline/story-outline.html index 3658877..51906fc 100644 --- a/modules/story-outline/story-outline.html +++ b/modules/story-outline/story-outline.html @@ -96,6 +96,31 @@ --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 10px 10px -5px rgba(0, 0, 0, 0.6) } + /* === 滚动条样式 === */ + ::-webkit-scrollbar { + width: 8px; + height: 8px + } + + ::-webkit-scrollbar-track { + background: var(--bg2) + } + + ::-webkit-scrollbar-thumb { + background: var(--bd); + border-radius: 4px + } + + ::-webkit-scrollbar-thumb:hover { + background: var(--c3) + } + + /* Firefox scrollbar */ + * { + scrollbar-width: thin; + scrollbar-color: var(--bd) var(--bg2) + } + [data-theme="dark"] .side-glass { background: rgba(24, 24, 27, 0.7); backdrop-filter: blur(12px); @@ -1448,11 +1473,12 @@ } .mob-pop.act { - display: flex + display: flex; + min-height: 1em } .pop-hd { - padding: 12px; + padding: .3em; cursor: grab; touch-action: none; flex-shrink: 0 @@ -2205,6 +2231,16 @@ transition: transform .3s } + /* 默认(亮色):显示月亮,隐藏太阳 */ + .theme-toggle i.fa-sun { + display: none + } + + .theme-toggle i.fa-moon { + display: inline + } + + /* 暗色主题:显示太阳,隐藏月亮 */ [data-theme="dark"] .theme-toggle i.fa-moon { display: none } @@ -2213,14 +2249,6 @@ display: inline } - :root .theme-toggle i.fa-sun { - display: none - } - - :root .theme-toggle i.fa-moon { - display: inline - } - [data-theme="dark"] .adv-var-item code { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.1) @@ -2320,7 +2348,6 @@ left: 48px } } -