🎨 style(core): 为健康状态卡片添加过渡动画效果

* 为 .fcb-health-card 添加平滑的过渡动画效果
* 统一设置 transform、box-shadow、颜色及透明度变化曲线
* 优化组件交互的视觉反馈体验
This commit is contained in:
orion committed 2026-09-11 17:55:09 +08:00
1 parent be94248630
commit 1578461a78
1 file changed
+7
+7
View File
@@ -556,3 +556,10 @@ button:not(:disabled):hover { filter: brightness(1.025); }
.fcb-health-card:hover { .fcb-health-card:hover {
transform: translateY(-2px) !important; transform: translateY(-2px) !important;
} }
.fcb-health-card {
transition: transform 420ms cubic-bezier(.22, 1, .36, 1),
box-shadow 420ms ease,
background-color 420ms ease,
border-color 420ms ease,
opacity 420ms ease !important;
}