From c776927676032f07cb9859b216e940d8e97e15bc Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Mon, 12 Jan 2026 19:01:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=AE=E5=8A=A8=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=9C=86=E8=A7=92=E8=B7=9F=E9=9A=8F=E5=85=A8=E5=B1=80=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 按钮圆角改用 var(--card-radius) 替代固定 50% - 阅读进度条圆角同步使用全局变量 - 清理重复的样式代码 --- style.css | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/style.css b/style.css index 962e0b9..c03d3f6 100644 --- a/style.css +++ b/style.css @@ -3174,7 +3174,7 @@ html.is-home.banner-as-cover #float_action_buttons.hidden { position: relative; overflow: visible; border: none !important; - border-radius: 50% !important; + border-radius: var(--card-radius) !important; background-color: var(--color-foreground) !important; color: var(--themecolor) !important; box-shadow: @@ -3256,14 +3256,6 @@ html.is-home.banner-as-cover #float_action_buttons.hidden { #float_action_buttons #fabtn_toggle_sides:hover { opacity: 1; } - opacity: 0.6; - font-size: 11px; - margin-top: 6px; -} - -#fabtn_toggle_sides:hover { - opacity: 1; -} /* 阅读进度按钮 */ #float_action_buttons #fabtn_reading_progress { @@ -3278,7 +3270,7 @@ html.is-home.banner-as-cover #float_action_buttons.hidden { top: 0; width: 0; height: 100%; - border-radius: 50%; + border-radius: var(--card-radius); background: var(--themecolor); opacity: 0.12; transition: width var(--animation-fast) var(--ease-standard);