fix(ui): enhance header and post styles with new animations and layout adjustments

这个提交包含在:
2026-01-29 16:28:33 +08:00 未验证
父节点 c34fb7da19
当前提交 d3af9f09d9
修改 4 个文件,包含 81 行新增19 行删除
+6 -9
查看文件
@@ -158,7 +158,7 @@
&.open {
display: block;
animation: terminal-frame 0.2s ease-out;
animation: terminal-frame-reveal 0.3s ease-out forwards;
// 逐行渲染效果 - 为每个子项添加延迟动画
li {
@@ -182,17 +182,14 @@
padding: 0;
}
// 菜单框架渲染动画 - 模拟终端窗口从上到下打开
@keyframes terminal-frame {
// 菜单框架渲染动画 - 从上到下逐层渲染边框和内容
@keyframes terminal-frame-reveal {
0% {
max-height: 0;
opacity: 0;
}
50% {
clip-path: inset(-10px -10px calc(100% + 10px) -10px);
opacity: 1;
}
100% {
max-height: 800px;
clip-path: inset(-10px -10px -10px -10px);
opacity: 1;
}
}
@@ -201,7 +198,7 @@
@keyframes terminal-line {
0% {
opacity: 0;
transform: translateX(-10px);
transform: translateX(-2px);
}
50% {
opacity: 0.5;