1 | /*! |
---|
2 | * bootstrap-fileinput v4.3.4 |
---|
3 | * http://plugins.krajee.com/file-input |
---|
4 | * |
---|
5 | * Author: Kartik Visweswaran |
---|
6 | * Copyright: 2014 - 2016, Kartik Visweswaran, Krajee.com |
---|
7 | * |
---|
8 | * Licensed under the BSD 3-Clause |
---|
9 | * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md |
---|
10 | */ |
---|
11 | .file-loading { |
---|
12 | top: 0; |
---|
13 | right: 0; |
---|
14 | width: 25px; |
---|
15 | height: 25px; |
---|
16 | font-size: 999px; |
---|
17 | text-align: right; |
---|
18 | color: #fff; |
---|
19 | background: transparent url('../img/loading.gif') top left no-repeat; |
---|
20 | border: none; |
---|
21 | } |
---|
22 | |
---|
23 | .file-object { |
---|
24 | margin: 0 0 -5px 0; |
---|
25 | padding: 0; |
---|
26 | } |
---|
27 | |
---|
28 | .btn-file { |
---|
29 | position: relative; |
---|
30 | overflow: hidden; |
---|
31 | } |
---|
32 | |
---|
33 | .btn-file input[type=file] { |
---|
34 | position: absolute; |
---|
35 | top: 0; |
---|
36 | right: 0; |
---|
37 | min-width: 100%; |
---|
38 | min-height: 100%; |
---|
39 | text-align: right; |
---|
40 | opacity: 0; |
---|
41 | background: none repeat scroll 0 0 transparent; |
---|
42 | cursor: inherit; |
---|
43 | display: block; |
---|
44 | } |
---|
45 | |
---|
46 | .file-caption-name { |
---|
47 | display: inline-block; |
---|
48 | overflow: hidden; |
---|
49 | height: 20px; |
---|
50 | word-break: break-all; |
---|
51 | } |
---|
52 | |
---|
53 | .input-group-lg .file-caption-name { |
---|
54 | height: 25px; |
---|
55 | } |
---|
56 | |
---|
57 | .file-zoom-dialog { |
---|
58 | text-align: left; |
---|
59 | } |
---|
60 | |
---|
61 | .file-error-message { |
---|
62 | color: #a94442; |
---|
63 | background-color: #f2dede; |
---|
64 | margin: 5px; |
---|
65 | border: 1px solid #ebccd1; |
---|
66 | border-radius: 4px; |
---|
67 | padding: 15px; |
---|
68 | } |
---|
69 | |
---|
70 | .file-error-message pre, .file-error-message ul { |
---|
71 | margin: 0; |
---|
72 | text-align: left; |
---|
73 | } |
---|
74 | |
---|
75 | .file-error-message pre { |
---|
76 | margin: 5px 0; |
---|
77 | } |
---|
78 | |
---|
79 | .file-caption-disabled { |
---|
80 | background-color: #EEEEEE; |
---|
81 | cursor: not-allowed; |
---|
82 | opacity: 1; |
---|
83 | } |
---|
84 | |
---|
85 | .file-preview { |
---|
86 | border-radius: 5px; |
---|
87 | border: 1px solid #ddd; |
---|
88 | padding: 5px; |
---|
89 | width: 100%; |
---|
90 | margin-bottom: 5px; |
---|
91 | } |
---|
92 | |
---|
93 | .file-preview-frame { |
---|
94 | position: relative; |
---|
95 | display: table; |
---|
96 | margin: 8px; |
---|
97 | height: 160px; |
---|
98 | border: 1px solid #ddd; |
---|
99 | box-shadow: 1px 1px 5px 0 #a2958a; |
---|
100 | padding: 6px; |
---|
101 | float: left; |
---|
102 | text-align: center; |
---|
103 | vertical-align: middle; |
---|
104 | } |
---|
105 | |
---|
106 | .file-preview-frame:not(.file-preview-error):hover { |
---|
107 | box-shadow: 3px 3px 5px 0 #333; |
---|
108 | } |
---|
109 | |
---|
110 | .file-preview-image { |
---|
111 | vertical-align: middle; |
---|
112 | } |
---|
113 | |
---|
114 | .file-preview-text { |
---|
115 | display: block; |
---|
116 | color: #428bca; |
---|
117 | border: 1px solid #ddd; |
---|
118 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace; |
---|
119 | outline: none; |
---|
120 | padding: 8px; |
---|
121 | resize: none; |
---|
122 | } |
---|
123 | |
---|
124 | .file-preview-html { |
---|
125 | border: 1px solid #ddd; |
---|
126 | padding: 8px; |
---|
127 | overflow: auto; |
---|
128 | } |
---|
129 | |
---|
130 | .file-zoom-dialog .file-preview-text { |
---|
131 | font-size: 1.2em; |
---|
132 | } |
---|
133 | |
---|
134 | .file-preview-other { |
---|
135 | left: 0; |
---|
136 | top: 0; |
---|
137 | right: 0; |
---|
138 | bottom: 0; |
---|
139 | margin: auto; |
---|
140 | text-align: center; |
---|
141 | vertical-align: middle; |
---|
142 | padding: 10px; |
---|
143 | } |
---|
144 | |
---|
145 | .file-preview-other:hover { |
---|
146 | opacity: 0.8; |
---|
147 | } |
---|
148 | |
---|
149 | .file-actions, .file-other-error { |
---|
150 | text-align: left; |
---|
151 | } |
---|
152 | |
---|
153 | .file-other-icon { |
---|
154 | font-size: 4.8em; |
---|
155 | } |
---|
156 | |
---|
157 | /* noinspection CssOverwrittenProperties */ |
---|
158 | .file-zoom-dialog .file-other-icon { |
---|
159 | font-size: 8em; |
---|
160 | font-size: 55vmin; |
---|
161 | } |
---|
162 | |
---|
163 | .file-input-new .file-preview, .file-input-new .close, .file-input-new .glyphicon-file, |
---|
164 | .file-input-new .fileinput-remove-button, .file-input-new .fileinput-upload-button, |
---|
165 | .file-input-ajax-new .fileinput-remove-button, .file-input-ajax-new .fileinput-upload-button { |
---|
166 | display: none; |
---|
167 | } |
---|
168 | |
---|
169 | .file-caption-main { |
---|
170 | width: 100%; |
---|
171 | } |
---|
172 | |
---|
173 | .file-input-ajax-new .no-browse .input-group-btn, |
---|
174 | .file-input-new .no-browse .input-group-btn { |
---|
175 | display: none; |
---|
176 | } |
---|
177 | |
---|
178 | .file-input-ajax-new .no-browse .form-control, |
---|
179 | .file-input-new .no-browse .form-control { |
---|
180 | border-top-right-radius: 4px; |
---|
181 | border-bottom-right-radius: 4px; |
---|
182 | } |
---|
183 | |
---|
184 | .file-thumb-loading { |
---|
185 | background: transparent url('../img/loading.gif') no-repeat scroll center center content-box !important; |
---|
186 | } |
---|
187 | |
---|
188 | .file-actions { |
---|
189 | margin-top: 15px; |
---|
190 | } |
---|
191 | |
---|
192 | .file-footer-buttons { |
---|
193 | float: right; |
---|
194 | } |
---|
195 | |
---|
196 | .file-upload-indicator { |
---|
197 | display: inline; |
---|
198 | cursor: default; |
---|
199 | opacity: 0.8; |
---|
200 | width: 60%; |
---|
201 | } |
---|
202 | |
---|
203 | .file-upload-indicator:hover { |
---|
204 | font-weight: bold; |
---|
205 | opacity: 1; |
---|
206 | } |
---|
207 | |
---|
208 | .file-footer-caption { |
---|
209 | display: block; |
---|
210 | white-space: nowrap; |
---|
211 | overflow: hidden; |
---|
212 | text-overflow: ellipsis; |
---|
213 | width: 160px; |
---|
214 | text-align: center; |
---|
215 | padding-top: 4px; |
---|
216 | font-size: 11px; |
---|
217 | color: #777; |
---|
218 | margin: 5px auto; |
---|
219 | } |
---|
220 | |
---|
221 | .file-preview-error { |
---|
222 | opacity: 0.65; |
---|
223 | box-shadow: none; |
---|
224 | } |
---|
225 | |
---|
226 | .file-preview-frame:not(.file-preview-error) .file-footer-caption:hover { |
---|
227 | color: #000; |
---|
228 | } |
---|
229 | |
---|
230 | .file-drop-zone { |
---|
231 | border: 1px dashed #aaa; |
---|
232 | border-radius: 4px; |
---|
233 | height: 100%; |
---|
234 | text-align: center; |
---|
235 | vertical-align: middle; |
---|
236 | margin: 12px 15px 12px 12px; |
---|
237 | padding: 5px; |
---|
238 | } |
---|
239 | |
---|
240 | .file-drop-zone-title { |
---|
241 | color: #aaa; |
---|
242 | font-size: 1.6em; |
---|
243 | padding: 85px 10px; |
---|
244 | cursor: default; |
---|
245 | } |
---|
246 | |
---|
247 | .file-preview .clickable, |
---|
248 | .clickable .file-drop-zone-title { |
---|
249 | cursor: pointer; |
---|
250 | } |
---|
251 | |
---|
252 | .file-drop-zone.clickable:hover { |
---|
253 | border: 2px dashed #999; |
---|
254 | } |
---|
255 | |
---|
256 | .file-drop-zone.clickable:focus { |
---|
257 | border: 2px solid #5acde2; |
---|
258 | } |
---|
259 | |
---|
260 | .file-drop-zone .file-preview-thumbnails { |
---|
261 | cursor: default; |
---|
262 | } |
---|
263 | |
---|
264 | .file-highlighted { |
---|
265 | border: 2px dashed #999 !important; |
---|
266 | background-color: #f0f0f0; |
---|
267 | } |
---|
268 | |
---|
269 | .file-uploading { |
---|
270 | background: url('../img/loading-sm.gif') no-repeat center bottom 10px; |
---|
271 | opacity: 0.65; |
---|
272 | } |
---|
273 | |
---|
274 | .file-thumb-progress { |
---|
275 | height: 10px; |
---|
276 | } |
---|
277 | |
---|
278 | .file-thumb-progress .progress, .file-thumb-progress .progress-bar { |
---|
279 | height: 10px; |
---|
280 | font-size: 9px; |
---|
281 | line-height: 10px; |
---|
282 | } |
---|
283 | |
---|
284 | .file-thumbnail-footer { |
---|
285 | position: relative; |
---|
286 | } |
---|
287 | |
---|
288 | .file-thumb-progress { |
---|
289 | position: absolute; |
---|
290 | top: 35px; |
---|
291 | left: 0; |
---|
292 | right: 0; |
---|
293 | } |
---|
294 | |
---|
295 | .file-zoom-fullscreen.modal { |
---|
296 | position: fixed; |
---|
297 | top: 0; |
---|
298 | right: 0; |
---|
299 | bottom: 0; |
---|
300 | left: 0; |
---|
301 | } |
---|
302 | |
---|
303 | .file-zoom-fullscreen .modal-dialog { |
---|
304 | position: fixed; |
---|
305 | margin: 0; |
---|
306 | width: 100%; |
---|
307 | height: 100%; |
---|
308 | padding: 0; |
---|
309 | } |
---|
310 | |
---|
311 | .file-zoom-fullscreen .modal-content { |
---|
312 | border-radius: 0; |
---|
313 | box-shadow: none; |
---|
314 | } |
---|
315 | |
---|
316 | .file-zoom-fullscreen .modal-body { |
---|
317 | overflow-y: auto; |
---|
318 | } |
---|
319 | |
---|
320 | .file-zoom-dialog .modal-body { |
---|
321 | position: relative !important; |
---|
322 | } |
---|
323 | |
---|
324 | .file-zoom-dialog .btn-navigate { |
---|
325 | position: absolute; |
---|
326 | padding: 0; |
---|
327 | margin: 0; |
---|
328 | background: transparent; |
---|
329 | text-decoration: none; |
---|
330 | outline: none; |
---|
331 | opacity: 0.7; |
---|
332 | top: 45%; |
---|
333 | font-size: 4em; |
---|
334 | color: #1c94c4; |
---|
335 | } |
---|
336 | |
---|
337 | .file-zoom-dialog .floating-buttons { |
---|
338 | position: absolute; |
---|
339 | top: 5px; |
---|
340 | right: 10px; |
---|
341 | } |
---|
342 | |
---|
343 | .floating-buttons, .floating-buttons .btn { |
---|
344 | z-index: 3000; |
---|
345 | } |
---|
346 | |
---|
347 | .file-zoom-dialog .kv-zoom-actions .btn, |
---|
348 | .floating-buttons .btn { |
---|
349 | margin-left: 3px; |
---|
350 | } |
---|
351 | |
---|
352 | .file-zoom-dialog .btn-navigate:not([disabled]):hover, |
---|
353 | .file-zoom-dialog .btn-navigate:not([disabled]):focus { |
---|
354 | outline: none; |
---|
355 | box-shadow: none; |
---|
356 | opacity: 0.5; |
---|
357 | } |
---|
358 | |
---|
359 | .file-zoom-dialog .btn-navigate[disabled] { |
---|
360 | opacity: 0.3; |
---|
361 | } |
---|
362 | |
---|
363 | .file-zoom-dialog .btn-prev { |
---|
364 | left: 1px; |
---|
365 | } |
---|
366 | |
---|
367 | .file-zoom-dialog .btn-next { |
---|
368 | right: 1px; |
---|
369 | } |
---|
370 | |
---|
371 | .file-drag-handle { |
---|
372 | display: inline; |
---|
373 | margin-right: 2px; |
---|
374 | font-size: 16px; |
---|
375 | cursor: move; |
---|
376 | cursor: -webkit-grabbing; |
---|
377 | } |
---|
378 | |
---|
379 | .file-drag-handle:hover { |
---|
380 | opacity: 0.7; |
---|
381 | } |
---|
382 | |
---|
383 | .file-zoom-content { |
---|
384 | height: 480px; |
---|
385 | text-align: center; |
---|
386 | } |
---|
387 | |
---|
388 | .file-preview-initial.sortable-chosen { |
---|
389 | background-color: #d9edf7; |
---|
390 | } |
---|
391 | |
---|
392 | .file-preview-frame.sortable-ghost { |
---|
393 | background-color: #eee; |
---|
394 | } |
---|
395 | |
---|
396 | /* IE 10 fix */ |
---|
397 | .btn-file ::-ms-browse { |
---|
398 | width: 100%; |
---|
399 | height: 100%; |
---|
400 | } |
---|