From 6c49249ce189036b5051f7e5c16b1c84ca85d365 Mon Sep 17 00:00:00 2001 From: seaHi Date: Sat, 15 Aug 2026 14:42:29 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E4=B8=AD=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E5=92=8C=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/admin/categories/+page.svelte | 18 ++++++++++++++---- src/routes/admin/series/+page.svelte | 18 ++++++++++++++---- src/routes/admin/tags/+page.svelte | 18 ++++++++++++++---- 3 files changed, 42 insertions(+), 12 deletions(-) diff --git a/src/routes/admin/categories/+page.svelte b/src/routes/admin/categories/+page.svelte index cf93f35..070edeb 100644 --- a/src/routes/admin/categories/+page.svelte +++ b/src/routes/admin/categories/+page.svelte @@ -367,6 +367,12 @@ text-decoration-color 0.2s; } + .action-btn:hover { + color: var(--accent-color, #419b38); + text-decoration: underline; + text-underline-offset: 4px; + } + .action-btn.delete:hover { color: #d9534f; text-decoration: underline; @@ -381,18 +387,22 @@ .edit-input { width: 100%; - padding: 6px 8px; - border: 1px solid rgba(0, 0, 0, 0.2); - background: transparent; + padding: 8px 10px; + border: 1px solid rgba(0, 0, 0, 0.12); + border-radius: 0; + background: rgba(0, 0, 0, 0.015); font-family: inherit; font-size: 0.95rem; color: var(--text-color); box-sizing: border-box; - border-radius: 4px; + transition: + border-color 0.3s ease, + box-shadow 0.3s ease; } .edit-input:focus { outline: none; border-color: var(--accent-color, #419b38); + box-shadow: 0 0 0 3px rgba(65, 155, 56, 0.08); } diff --git a/src/routes/admin/series/+page.svelte b/src/routes/admin/series/+page.svelte index 1178a2e..f582459 100644 --- a/src/routes/admin/series/+page.svelte +++ b/src/routes/admin/series/+page.svelte @@ -357,6 +357,12 @@ text-decoration-color 0.2s; } + .action-btn:hover { + color: var(--accent-color, #419b38); + text-decoration: underline; + text-underline-offset: 4px; + } + .action-btn.delete:hover { color: #d9534f; text-decoration: underline; @@ -371,18 +377,22 @@ .edit-input { width: 100%; - padding: 6px 8px; - border: 1px solid rgba(0, 0, 0, 0.2); - background: transparent; + padding: 8px 10px; + border: 1px solid rgba(0, 0, 0, 0.12); + border-radius: 0; + background: rgba(0, 0, 0, 0.015); font-family: inherit; font-size: 0.95rem; color: var(--text-color); box-sizing: border-box; - border-radius: 4px; + transition: + border-color 0.3s ease, + box-shadow 0.3s ease; } .edit-input:focus { outline: none; border-color: var(--accent-color, #419b38); + box-shadow: 0 0 0 3px rgba(65, 155, 56, 0.08); } diff --git a/src/routes/admin/tags/+page.svelte b/src/routes/admin/tags/+page.svelte index fcc9a69..399d596 100644 --- a/src/routes/admin/tags/+page.svelte +++ b/src/routes/admin/tags/+page.svelte @@ -301,6 +301,12 @@ text-decoration-color 0.2s; } + .action-btn:hover { + color: var(--accent-color, #419b38); + text-decoration: underline; + text-underline-offset: 4px; + } + .action-btn.delete:hover { color: #d9534f; text-decoration: underline; @@ -315,18 +321,22 @@ .edit-input { width: 100%; - padding: 6px 8px; - border: 1px solid rgba(0, 0, 0, 0.2); - background: transparent; + padding: 8px 10px; + border: 1px solid rgba(0, 0, 0, 0.12); + border-radius: 0; + background: rgba(0, 0, 0, 0.015); font-family: inherit; font-size: 0.95rem; color: var(--text-color); box-sizing: border-box; - border-radius: 4px; + transition: + border-color 0.3s ease, + box-shadow 0.3s ease; } .edit-input:focus { outline: none; border-color: var(--accent-color, #419b38); + box-shadow: 0 0 0 3px rgba(65, 155, 56, 0.08); }