🎨 style(core): 为健康状态卡片添加过渡动画效果
* 为 .fcb-health-card 添加平滑的过渡动画效果 * 统一设置 transform、box-shadow、颜色及透明度变化曲线 * 优化组件交互的视觉反馈体验
This commit is contained in:
1 parent
be94248630
commit
1578461a78
1 file changed
+7
@@ -556,3 +556,10 @@ button:not(:disabled):hover { filter: brightness(1.025); }
|
||||
.fcb-health-card:hover {
|
||||
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;
|
||||
}
|
||||
Reference in new issue
Block a user