🎨 style(core): 优化管理面板健康卡片与列表项交互效果

* 为健康卡片添加悬浮放大及阴影交互效果
* 为列表项行添加过渡动画及悬浮样式增强
* 统一前端交互动效时长与视觉反馈体验
This commit is contained in:
orion committed 2026-09-11 11:40:10 +08:00
1 parent df0557c74f
commit 1c4defe295
2 files changed
+7 -1

No files matched your search

+5
View File
@@ -114,6 +114,11 @@ textarea {
background: #2f414a !important; background: #2f414a !important;
box-shadow: -6px -6px 16px rgba(69,88,99,.4), 6px 6px 16px rgba(10,18,23,.45) !important; box-shadow: -6px -6px 16px rgba(69,88,99,.4), 6px 6px 16px rgba(10,18,23,.45) !important;
} }
.fcb-health-card { transition: all 300ms ease !important; }
.fcb-health-card:hover { transform: translateY(-4px) !important; background: #f0f4f8 !important; box-shadow: -10px -10px 25px rgba(255,255,255,.9), 10px 10px 25px rgba(163,177,198,.6) !important; }
.fcb-list-row { transition: all 300ms ease !important; }
.fcb-list-row:hover { background: #f0f4f8 !important; box-shadow: inset 0 0 0 1px rgba(183,208,210,.7), 0 8px 18px rgba(163,177,198,.25) !important; }
.dark .fcb-list-row:hover { background: #2f414a !important; }
.dark .theme-2026-card { .dark .theme-2026-card {
border-color: rgba(68, 86, 94, 0.82); border-color: rgba(68, 86, 94, 0.82);
+2 -1
View File
@@ -129,7 +129,7 @@
v-for="action in healthActions" v-for="action in healthActions"
:key="action.key" :key="action.key"
type="button" type="button"
class="theme-2026-card-hover group flex min-h-20 flex-col justify-between rounded-[20px] border p-3 text-left shadow-sm transition-all duration-200 hover:shadow-md sm:min-h-24 sm:rounded-[30px] sm:p-4" class="fcb-health-card theme-2026-card-hover group flex min-h-20 flex-col justify-between rounded-[20px] border p-3 text-left shadow-sm transition-all duration-300 hover:shadow-md sm:min-h-24 sm:rounded-[30px] sm:p-4"
:class="getHealthActionClass(action.tone)" :class="getHealthActionClass(action.tone)"
@click="openHealthQueue(action.health)" @click="openHealthQueue(action.health)"
> >
@@ -372,6 +372,7 @@
<tr <tr
v-for="file in analyticsTopFiles" v-for="file in analyticsTopFiles"
:key="file.code" :key="file.code"
class="fcb-list-row"
:class="[isDarkMode ? 'hover:bg-gray-700/60' : 'hover:bg-gray-50']" :class="[isDarkMode ? 'hover:bg-gray-700/60' : 'hover:bg-gray-50']"
> >
<td <td