style: 优化文件列表卡片的悬停交互动画效果
This commit is contained in:
1 parent
842af264e2
commit
20d9ea92fc
1 file changed
+8
-2
@@ -204,8 +204,12 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.file-card:hover {
|
||||
border-color: var(--accent-color);
|
||||
.file-card:hover .file-preview img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.file-card:hover .file-icon {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.file-preview {
|
||||
@@ -222,10 +226,12 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.file-icon {
|
||||
color: var(--text-muted);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.file-info {
|
||||
|
||||
Reference in new issue
Block a user