🎨 style(core): 为健康卡片添加悬停抬升效果

* 为健康卡片添加 :hover 交互样式
* 实现鼠标悬停时向上位移 2px 的视觉反馈效果
This commit is contained in:
orion committed 2026-09-11 17:45:01 +08:00
1 parent 7f727d72e6
commit be94248630
1 file changed
+6
+6
View File
@@ -550,3 +550,9 @@ button:not(:disabled):hover { filter: brightness(1.025); }
background: #d6e8ec !important;
box-shadow: inset 0 0 0 2px rgba(113,152,166,.5) !important;
}
/* Final specificity: health cards are inner cards, so they lift 2px. */
.theme-2026-card .fcb-health-card:hover,
.fcb-health-card:hover {
transform: translateY(-2px) !important;
}