style: 优化文件卡片悬停样式效果
This commit is contained in:
1 parent
0a0f921040
commit
467341ad11
1 file changed
+1
-4
@@ -214,13 +214,10 @@
|
|||||||
background: var(--bg-color);
|
background: var(--bg-color);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
box-shadow: 4px 4px 0 rgba(0,0,0,1);
|
|
||||||
transition: transform 0.2s, box-shadow 0.2s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-card:hover {
|
.file-card:hover {
|
||||||
transform: translate(-2px, -2px);
|
border-color: var(--accent-color);
|
||||||
box-shadow: 6px 6px 0 rgba(0,0,0,1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-preview {
|
.file-preview {
|
||||||
|
|||||||
Reference in new issue
Block a user