forked from Studio-42/elFinder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quicklook.css
264 lines (219 loc) · 4.73 KB
/
quicklook.css
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
/* quicklook window */
.elfinder-quicklook {
position:absolute;
background:url("../img/quicklook-bg.png");
display:none;
overflow:hidden;
border-radius:7px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
padding:20px 0 40px 0;
}
.elfinder-quicklook .ui-resizable-se {
width:14px;
height:14px;
right:5px;
bottom:3px;
background:url("../img/toolbar.png") 0 -496px no-repeat;}
/* quicklook fullscreen window */
.elfinder-quicklook-fullscreen {
border-radius:0;
-moz-border-radius:0;
-webkit-border-radius:0;
-webkit-background-clip: padding-box;
/* background-clip:padding-box;*/
padding:0;
background:#000;
z-index:90000;
display:block;
}
/* hide titlebar in fullscreen mode */
.elfinder-quicklook-fullscreen .elfinder-quicklook-titlebar { display:none; }
/* hide preview border in fullscreen mode */
.elfinder-quicklook-fullscreen .elfinder-quicklook-preview { border:0 solid ;}
/* quicklook titlebar */
.elfinder-quicklook-titlebar {
text-align:center;
background:#777;
position:absolute;
left:0;
top:0;
width:100%;
height:20px;
-moz-border-radius-topleft: 7px;
-webkit-border-top-left-radius: 7px;
border-top-left-radius: 7px;
-moz-border-radius-topright: 7px;
-webkit-border-top-right-radius: 7px;
border-top-right-radius: 7px;
cursor:move;
}
/* window title */
.elfinder-quicklook-title {
color:#fff;
white-space:nowrap;
overflow:hidden;
padding:2px 0;
}
/* icon "close" in titlebar */
.elfinder-quicklook-titlebar .ui-icon {
position:absolute;
left : 4px;
top:50%;
margin-top:-8px;
width:16px;
height:16px;
cursor:default;
}
/* main part of quicklook window */
.elfinder-quicklook-preview {
overflow:hidden;
position:relative;
border:0 solid;
border-left:1px solid transparent;
border-right:1px solid transparent;
height:100%;
}
/* wrapper for file info/icon */
.elfinder-quicklook-info-wrapper {
position:absolute;
width:100%;
left:0;
top:50%;
margin-top:-50px;
}
/* file info */
.elfinder-quicklook-info {
padding: 0 12px 0 112px;
}
/* file name in info */
.elfinder-quicklook-info .elfinder-quicklook-info-data:first-child {
color:#fff;
font-weight:bold;
padding-bottom:.5em;
}
/* other data in info */
.elfinder-quicklook-info-data {
padding-bottom:.2em;
color:#fff;
}
/* file icon */
.elfinder-quicklook .elfinder-cwd-icon {
position:absolute;
left:32px;
top:50%;
margin-top:-20px;
}
/* image in preview */
.elfinder-quicklook-preview img {
display:block;
margin:0 auto;
}
/* navigation bar on quicklook window bottom */
.elfinder-quicklook-navbar {
position:absolute;
left:50%;
bottom:4px;
width:140px;
height:32px;
padding:0px;
margin-left:-70px;
border:1px solid transparent;
border-radius:19px;
-moz-border-radius:19px;
-webkit-border-radius:19px;
}
/* navigation bar in fullscreen mode */
.elfinder-quicklook-fullscreen .elfinder-quicklook-navbar {
width:188px;
margin-left:-94px;
padding:5px;
border:1px solid #eee;
background:#000;
}
/* show close icon in fullscreen mode */
.elfinder-quicklook-fullscreen .elfinder-quicklook-navbar-icon-close,
.elfinder-quicklook-fullscreen .elfinder-quicklook-navbar-separator {
display:inline;
}
/* icons in navbar */
.elfinder-quicklook-navbar-icon {
width:32px;
height:32px;
margin:0 7px;
float:left;
background:url("../img/quicklook-icons.png") 0 0 no-repeat;
}
/* fullscreen icon */
.elfinder-quicklook-navbar-icon-fullscreen {
background-position:0 -64px;
}
/* exit fullscreen icon */
.elfinder-quicklook-navbar-icon-fullscreen-off {
background-position:0 -96px;
}
/* prev file icon */
.elfinder-quicklook-navbar-icon-prev {
background-position:0 0;
}
/* next file icon */
.elfinder-quicklook-navbar-icon-next {
background-position:0 -32px;
}
/* close icon */
.elfinder-quicklook-navbar-icon-close {
background-position:0 -128px;
display:none;
}
/* icons separator */
.elfinder-quicklook-navbar-separator {
width:1px;
height:32px;
float:left;
border-left:1px solid #fff;
display:none;
}
/* text files preview wrapper */
.elfinder-quicklook-preview-text-wrapper {
width: 100%;
height:100%;
background:#fff;
color:#222;
overflow:auto;
}
/* text preview */
pre.elfinder-quicklook-preview-text {
margin:0;
padding:3px 9px;
}
/* html/pdf preview */
.elfinder-quicklook-preview-html,
.elfinder-quicklook-preview-pdf {
width:100%;
height:100%;
background:#fff;
border:0 solid;
margin:0;
}
/* swf preview container */
.elfinder-quicklook-preview-flash {
width:100%;
height:100%;
}
/* audio preview container */
.elfinder-quicklook-preview-audio {
width:100%;
position:absolute;
bottom:0;
left:0;
}
/* audio preview using embed */
embed.elfinder-quicklook-preview-audio {
height:30px;
background:transparent;
}
/* video preview container */
.elfinder-quicklook-preview-video {
width:100%;
height:100%;
}