-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMediaLibrary.css
More file actions
68 lines (58 loc) · 1 KB
/
Copy pathMediaLibrary.css
File metadata and controls
68 lines (58 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.media-library {
padding: 12px;
}
.media-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
font-weight: 600;
}
.import-btn {
padding: 6px 12px;
background: var(--primary-color);
border: none;
border-radius: 4px;
color: white;
cursor: pointer;
}
.media-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 12px;
}
.media-item {
border: 1px solid var(--border-color);
border-radius: 4px;
padding: 8px;
cursor: pointer;
}
.media-item:hover {
border-color: var(--primary-color);
}
.media-preview {
width: 100%;
height: 80px;
background: var(--code-bg);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 8px;
}
.media-preview img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.media-info {
display: flex;
flex-direction: column;
}
.media-name {
font-size: 12px;
font-weight: 500;
}
.media-size {
font-size: 10px;
opacity: 0.7;
}