From 1383722db6af2080f18f9f8ab0e7ab083f3c8e20 Mon Sep 17 00:00:00 2001 From: QLHazyCoder <2825305047@qq.com> Date: Wed, 20 May 2026 03:09:30 +0800 Subject: [PATCH] Refine sidepanel plus payment visibility --- sidepanel/sidepanel.css | 12 +++++++++-- sidepanel/sidepanel.html | 22 ++++++++++++--------- tests/sidepanel-contribution-button.test.js | 9 ++++++++- 3 files changed, 31 insertions(+), 12 deletions(-) diff --git a/sidepanel/sidepanel.css b/sidepanel/sidepanel.css index f70854c..1a49181 100644 --- a/sidepanel/sidepanel.css +++ b/sidepanel/sidepanel.css @@ -657,6 +657,7 @@ header { display: flex; align-items: center; min-height: 34px; + margin-bottom: 14px; padding: 7px 46px; border: 1px solid color-mix(in srgb, var(--amber) 24%, var(--border)); border-radius: var(--radius-sm); @@ -683,6 +684,11 @@ header { letter-spacing: 0.08em; } +.auto-run-ad-badge--end { + left: auto; + right: 10px; +} + .auto-run-ad-viewport { width: 100%; min-width: 0; @@ -702,7 +708,8 @@ header { display: block; font-size: 12px; line-height: 1.4; - color: var(--text-secondary); + color: var(--text-primary); + font-weight: 500; white-space: nowrap; } @@ -712,7 +719,8 @@ header { } .auto-run-ad-link { - color: color-mix(in srgb, var(--amber) 80%, var(--link)); + color: color-mix(in srgb, var(--amber) 88%, var(--text-primary)); + font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; diff --git a/sidepanel/sidepanel.html b/sidepanel/sidepanel.html index f7079e5..87d721b 100644 --- a/sidepanel/sidepanel.html +++ b/sidepanel/sidepanel.html @@ -80,6 +80,17 @@ +
+@@ -124,15 +135,6 @@ -