From 53b19a714c92527f309550d6523ddfa9e7693640 Mon Sep 17 00:00:00 2001 From: seaHi Date: Wed, 7 Oct 2026 12:46:09 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E9=A1=B5=E9=9D=A2=E7=9A=84=E5=BE=BD=E7=AB=A0?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=92=8C=E6=82=AC=E5=81=9C=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/admin/tags/+page.svelte | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/routes/admin/tags/+page.svelte b/src/routes/admin/tags/+page.svelte index 9a540ef..cb74579 100644 --- a/src/routes/admin/tags/+page.svelte +++ b/src/routes/admin/tags/+page.svelte @@ -226,30 +226,31 @@ line-height: 1; vertical-align: middle; box-sizing: border-box; + border-radius: 4px; + font-size: 85%; } .badge-link { + background-color: rgba(65, 155, 56, 0.12); color: var(--accent-color, #419b38); text-decoration: none; cursor: pointer; font-weight: 600; opacity: 1 !important; - transition: - background-color 0.15s ease, - color 0.15s ease; + transition: background-color 0.15s ease; } - .badge-link:hover, - .badge-link:focus-visible { - background-color: var(--accent-color, #419b38); - color: #ffffff; + .badge-link:hover { + background-color: rgba(65, 155, 56, 0.25); + color: var(--accent-color, #419b38); opacity: 1 !important; - text-decoration: none; - outline: none; + text-decoration: underline; + text-underline-offset: 2px; } .badge-link:focus-visible { - box-shadow: 0 0 0 2px rgba(65, 155, 56, 0.4); + outline: 2px solid var(--accent-color, #419b38); + outline-offset: 1px; } .badge-empty {