style: 优化文件卡片悬停样式效果

This commit is contained in:
seahi committed 2026-07-29 21:42:52 +08:00
1 parent 0a0f921040
commit 467341ad11
1 file changed
+1 -4
+1 -4
View File
@@ -214,13 +214,10 @@
background: var(--bg-color);
display: flex;
flex-direction: column;
box-shadow: 4px 4px 0 rgba(0,0,0,1);
transition: transform 0.2s, box-shadow 0.2s;
}
.file-card:hover {
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0 rgba(0,0,0,1);
border-color: var(--accent-color);
}
.file-preview {