style(ui): 操作按钮白底灰边,危险按钮悬停淡红

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
2026-10-27 18:12:31 +08:00
co-authored by Devin
parent 58ee41a4f8
commit e8e5527e63
6 changed files with 28 additions and 23 deletions
+5 -4
View File
@@ -138,11 +138,12 @@ onMounted(load)
.act {
display: inline-flex; align-items: center; justify-content: center;
width: 1.9rem; height: 1.9rem; border-radius: 0.6rem;
color: var(--fg-3); background: transparent;
transition: background 0.15s, color 0.15s;
color: var(--fg-3); background: var(--surface-solid);
box-shadow: inset 0 0 0 1px var(--hairline);
transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.act:hover { background: var(--hover); color: var(--fg); }
.act.danger:hover { background: rgb(244 63 94 / 0.1); color: #dc2626; }
.act:hover { background: var(--surface-2); color: var(--fg); box-shadow: inset 0 0 0 1px rgb(24 24 27 / 0.14); }
.act.danger:hover { background: rgb(244 63 94 / 0.08); color: #dc2626; box-shadow: inset 0 0 0 1px rgb(244 63 94 / 0.28); }
.fade-enter-active, .fade-leave-active { transition: opacity 0.15s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }