forked from jakerella/jquerySimpleFilePreview
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimpleFilePreview.css
More file actions
executable file
·100 lines (97 loc) · 1.84 KB
/
simpleFilePreview.css
File metadata and controls
executable file
·100 lines (97 loc) · 1.84 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.simpleFilePreview_multiUI {
border-radius:3px;
background-color:#f2f2f2;
width: 100%;
position: relative;
padding: 15px 30px;
margin-left: 0; /*75px*/
}
.simpleFilePreview_multiClip {
overflow: hidden;
}
.simpleFilePreview_multi {
display: block;
/*height: 130px;*/
padding: 0;
position: relative;
left: 0;
}
.simpleFilePreview_shifter {
position: absolute;
top: 70px;
font-weight: bold;
cursor: pointer;
}
.simpleFilePreview_shiftLeft { left: 3px; }
.simpleFilePreview_shiftRight { right: 3px; }
.imageHolder{ margin: 10px 15px; }
.simpleFilePreview {
position: relative;
display: block;
width: 120px;
height: 120px;
margin-left: 10px;
border-radius:3px;
background-color: #f7f7f7;
padding: 3px;
text-align: center;
cursor: pointer;
overflow: hidden;
}
.simpleFilePreview_multi .simpleFilePreview { float: left; }
.simpleFilePreview_input {
background-color: #3c8dbc;
color:#FFF;
font-weight: bold;
position: relative;
overflow: hidden;
display: inline-block;
padding-top: 30%;
height: 100%;
width: 100%;
}
.simpleFilePreview:hover {
background-color: #ddd;
}
.simpleFilePreview input {
position: absolute;
top: 0;
right: 0;
opacity: 0;
-moz-opacity: 0;
filter: alpha(opacity=0);
cursor: pointer;
z-index: 5;
}
.simpleFilePreview_preview {
max-width: 120px;
max-height: 120px;
z-index: 3;
}
.simpleFilePreview_preview.simpleFilePreview_hasFilename {
max-width: 120px;
max-height: 100px;
}
.simpleFilePreview_filename {
font-size: 0.8em;
color: #666;
width: 95%;
height: 1.15em;
overflow: hidden;
display: inline-block;
}
.simpleFilePreview_remove {
display: none;
color: #c33;
font-weight: bold;
position: absolute;
top: 0;
right: 0;
z-index: 4;
}
.simpleFilePreview_remove i {
font-size: 1.4em;
}
.simpleFilePreview.hover {
border: 1px solid #f00;
}