/
style.less
60 lines (58 loc) · 1.38 KB
/
style.less
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
.nb-file-list {
display: flex;
}
.nb-upload {
.ant-upload-list-item.ant-upload-list-item-list-type-picture-card {
padding: 3px;
}
.ant-upload-list-item-thumbnail {
img {
object-fit: cover;
}
}
.ant-upload-list-item-actions {
left: auto !important;
right: 2px !important;
top: 2px !important;
transform: none !important;
.ant-btn-text:hover, .ant-btn-text:focus {
background: rgba(0, 0, 0, 0.4);
}
}
.ant-upload-list-picture-card .ant-upload-list-item-info {
overflow: inherit;
}
.ant-upload-list-picture-card .ant-upload-list-item-name {
display: block;
margin-top: 10px;
font-size: 13px;
color: #636363;
}
.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info::before {
display: none;
}
.ant-upload-list-picture-card .ant-upload-list-item-progress {
bottom: calc(50% - 11px);
pointer-events: none;
}
.ant-btn {
background: rgba(0, 0, 0, 0.5);
}
.ant-upload-list-picture-card-container {
margin-bottom: 28px;
}
}
.nb-upload-small {
.ant-upload-list-picture-card-container {
margin: 0 3px 3px 0;
height: 32px;
width: 32px;
}
.ant-upload-list-picture-card .ant-upload-list-item-name {
display: none;
}
.ant-upload-list-picture .ant-upload-list-item,
.ant-upload-list-picture-card .ant-upload-list-item {
padding: 1px;
}
}