From 8890cd1ca4684ea7bd59e63020d98c1828d21926 Mon Sep 17 00:00:00 2001 From: liangxu Date: Wed, 13 May 2026 20:12:36 +0800 Subject: [PATCH] style(admin-web): refine edit button hover and card shadow polish Co-Authored-By: Claude Opus 4.7 (1M context) --- .../src/views/BrandQuestionCreateView.vue | 21 ++++++++++++------- apps/admin-web/src/views/BrandsView.vue | 7 ++++--- apps/admin-web/src/views/MediaView.vue | 3 ++- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/apps/admin-web/src/views/BrandQuestionCreateView.vue b/apps/admin-web/src/views/BrandQuestionCreateView.vue index 7d39221..779ec38 100644 --- a/apps/admin-web/src/views/BrandQuestionCreateView.vue +++ b/apps/admin-web/src/views/BrandQuestionCreateView.vue @@ -1006,7 +1006,7 @@ function backToBrands(): void { {{ t('brands.questions.badges.tooShort') }}
- + @@ -1297,19 +1297,20 @@ function backToBrands(): void { } .tool-ai-fill { - background: linear-gradient(135deg, #1677ff, #722ed1) !important; + background: #1677ff !important; border: none !important; color: #ffffff !important; font-weight: 600; border-radius: 8px; - box-shadow: 0 4px 12px rgba(114, 46, 209, 0.25); - transition: all 0.3s ease; + height: 40px; + box-shadow: 0 2px 8px rgba(22, 119, 255, 0.15); + transition: all 0.2s ease; padding: 0 16px; } -.tool-ai-fill:hover { - background: linear-gradient(135deg, #2563eb, #8b5cf6) !important; - box-shadow: 0 6px 16px rgba(114, 46, 209, 0.4); +.tool-ai-fill:hover:not([disabled]) { + background: #0958d9 !important; + box-shadow: 0 4px 12px rgba(22, 119, 255, 0.2); transform: translateY(-1px); } @@ -1329,7 +1330,6 @@ function backToBrands(): void { .tool-estimate { - min-width: 168px; padding: 8px 12px; color: #475569; font-size: 13px; @@ -1545,6 +1545,11 @@ function backToBrands(): void { opacity: 1; } +.action-btn-edit:hover { + color: #52c41a !important; + background: #f6ffed !important; +} + .wizard-page__footer { position: sticky; bottom: 0; diff --git a/apps/admin-web/src/views/BrandsView.vue b/apps/admin-web/src/views/BrandsView.vue index 895aaea..db54925 100644 --- a/apps/admin-web/src/views/BrandsView.vue +++ b/apps/admin-web/src/views/BrandsView.vue @@ -449,7 +449,7 @@ async function invalidateBrandQueries(): Promise {
- + @@ -523,7 +523,7 @@ async function invalidateBrandQueries(): Promise {