From e2d7a5dc7cc710372531855c560ee652ea5c50a6 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Wed, 18 Mar 2026 23:07:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20QQ=E5=BC=B9=E7=AA=97=E5=8A=A0hover?= =?UTF-8?q?=E6=A1=A5=E6=8E=A5=E5=8C=BA=E5=9F=9F=20+=20=E5=9B=9E=E5=88=B0?= =?UTF-8?q?=E9=A1=B6=E9=83=A8=E6=8C=89=E9=92=AE=E9=80=8F=E6=98=8E=E5=BA=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - popup 加 ::before 透明桥接区域(16px),鼠标可以移到弹窗上 - 回到顶部按钮去掉深色背景,SVG 放大到 42px,默认半透明 --- css/float-widget.css | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/css/float-widget.css b/css/float-widget.css index ab0662d..98e8296 100644 --- a/css/float-widget.css +++ b/css/float-widget.css @@ -68,6 +68,16 @@ white-space: nowrap; } +/* 透明桥接区域:从 popup 右侧延伸到按钮,防止鼠标移向弹窗时中断 hover */ +.fw-popup::before { + content: ''; + position: absolute; + top: 0; + right: -16px; + width: 16px; + height: 100%; +} + /* 小三角 */ .fw-popup::after { content: ''; @@ -207,6 +217,11 @@ opacity: 0; visibility: hidden; transition: all 0.25s ease; + background: transparent !important; + border: none !important; + backdrop-filter: none !important; + -webkit-backdrop-filter: none !important; + box-shadow: none !important; } .fw-back-top.show { @@ -215,8 +230,13 @@ } .fw-back-top svg { - width: 28px; - height: 28px; + width: 42px; + height: 42px; + opacity: 0.5; + transition: opacity 0.2s ease; +} + +.fw-back-top:hover svg { opacity: 0.9; }