diff --git a/web/navi.css b/web/navi.css index fab6357..bfe7122 100644 --- a/web/navi.css +++ b/web/navi.css @@ -2153,3 +2153,43 @@ html[data-theme] .navi-footer .navi-quote { max-width: 40vw !important; color: #b6c2d2 !important; font-style: italic; } html.navi-dark[data-theme] .navi-footer .navi-quote { color: #6b7d95 !important; } + +/* ═══ v68:页脚不再裁切 + 底部按钮不再显灰(仍为文件末尾,级联必胜)═══ + v67 遗留:.navi-footer 实测 26px 而 scrollHeight > clientHeight+1(裁切 1-2px)。 + 改用固定行高 20px(单行行盒),高度 20/20/20,overflow:visible → 无裁切。 + 另:浅色主题下按钮底色 rgba(255,255,255,.72) 叠在浅背景上发灰, + 改为更亮的玻璃面 + 中性描边(不引入蓝色,深色主题保持原样)。 */ +html[data-theme] .navi-footer, +html[data-theme] body .navi-footer { + height: 20px !important; min-height: 20px !important; max-height: 20px !important; + line-height: 20px !important; + overflow: visible !important; +} +html[data-theme] .navi-footer .navi-quote { + line-height: 20px !important; height: 20px !important; + min-height: 0 !important; max-height: 20px !important; + display: inline-block !important; vertical-align: top !important; +} +html[data-theme] .navi-footer a, +html[data-theme] .navi-footer .navi-footer-sep { line-height: 20px !important; } + +/* 底部悬浮按钮:中性亮面,不再是"灰块" */ +html[data-theme]:not(.navi-dark) .navi-view-toggle, +html[data-theme]:not(.navi-dark) .navi-admin-entry, +html[data-theme]:not(.navi-dark) .navi-search-toggle { + background: rgba(255, 255, 255, 0.92) !important; + border: 1px solid rgba(100, 116, 139, 0.22) !important; + color: #334155 !important; + box-shadow: 0 6px 20px rgba(15, 23, 42, 0.10) !important; +} +html[data-theme]:not(.navi-dark) .navi-view-toggle:hover, +html[data-theme]:not(.navi-dark) .navi-admin-entry:hover, +html[data-theme]:not(.navi-dark) .navi-search-toggle:hover { + background: #ffffff !important; + border-color: rgba(71, 85, 105, 0.34) !important; +} +html[data-theme]:not(.navi-dark) .navi-view-toggle:focus-visible, +html[data-theme]:not(.navi-dark) .navi-admin-entry:focus-visible { + outline: 2px solid rgba(71, 85, 105, 0.55) !important; + outline-offset: 2px !important; +}