💄 style: 重构 2026 主题轻拟态视觉与丝滑动效
- 统一轻马卡龙配色、柔和阴影和卡片悬浮反馈 - 为生命周期和筛选面板增加真实高度连续展开收起动画 - 统一页面切换、列表、通知和发送内容切换动效 - 支持减少动态效果并保持键盘焦点和响应式布局
This commit is contained in:
1 parent
c76d4d9f64
commit
dec682becc
13 files changed
+128
-74
No files matched your search
@@ -407,3 +407,30 @@ textarea {
|
||||
.to-pink-600 {
|
||||
--tw-gradient-to: #6f9688 var(--tw-gradient-to-position) !important;
|
||||
}
|
||||
|
||||
/* Serenity-inspired soft pastel motion and surfaces. */
|
||||
:root {
|
||||
--fcb-pastel-sage: #9fc9bd;
|
||||
--fcb-pastel-blue: #a9c7d8;
|
||||
--fcb-pastel-lavender: #c5bddb;
|
||||
--fcb-surface: #f2f6f8;
|
||||
--fcb-shadow-soft: 0 12px 28px rgba(112, 137, 151, 0.16), -8px -8px 20px rgba(255,255,255,.72);
|
||||
}
|
||||
body { background: var(--fcb-surface); }
|
||||
.theme-2026-card,
|
||||
.theme-2026-card-hover {
|
||||
border-color: rgba(170, 194, 201, .62) !important;
|
||||
box-shadow: var(--fcb-shadow-soft) !important;
|
||||
}
|
||||
.theme-2026-card-hover:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 16px 34px rgba(112, 137, 151, .22), -8px -8px 20px rgba(255,255,255,.78) !important;
|
||||
}
|
||||
button, a { -webkit-tap-highlight-color: transparent; }
|
||||
button:not(:disabled), a { transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, opacity 220ms ease !important; }
|
||||
.fcb-lifecycle-list { overflow: visible; will-change: height; }
|
||||
.fcb-lifecycle-row { will-change: opacity; }
|
||||
.fcb-lifecycle-card { transform: none !important; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.theme-2026-card-hover:hover { transform: none; }
|
||||
}
|
||||
Reference in new issue
Block a user