jquery.fileUpload.css
1.07 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
69
70
71
72
73
.file-upload {
position: relative;
display: inline-block;
background: #D0EEFF;
border: 1px solid #99D3F5;
border-radius: 4px;
padding: 4px 12px;
color: #1E88C7;
text-decoration: none;
text-indent: 0;
line-height: 20px;
cursor: pointer;
}
.file-upload input {
position: absolute;
right: 0;
top: 0;
width: 100%; height : 100%;
opacity: 0;
cursor: pointer;
height: 100%;
}
.file-upload span {
cursor: pointer;
}
.file-upload:hover {
background: #AADFFD;
border-color: #78C3F3;
color: #004974;
text-decoration: none;
}
.file-close {
position: absolute;
display: inline-block;
top: -10px;
right: -10px;
width: 20px;
height: 20px;
overflow: hidden;
border-radius: 50px;
background: black;
opacity: 0.5;
z-index: 100;
}
.file-close:hover {
cursor: pointer;
opacity: 1;
}
.file-close::before, .file-close::after {
content: '';
position: absolute;
width: 80%;
top: 50%;
left: 10%;
height: 6px;
margin-top: -3px;
border-radius: 5px;
background: #ffffff;
}
.file-close::before {
transform: rotate(45deg);
}
.file-close::after {
transform: rotate(-45deg);
}