@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.2 → 1.0.0-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/es/LcdpUeditor.d.ts +4 -0
  2. package/es/LcdpUeditor.js +74 -50
  3. package/es/const.js +4 -4
  4. package/es/defaultConfig.json +76 -76
  5. package/es/tools/UeditorResourceLoader.js +6 -6
  6. package/es/tools/filterHtmlNode.d.ts +5 -0
  7. package/es/tools/filterHtmlNode.js +41 -0
  8. package/es/tools/loadScript.js +3 -3
  9. package/es/type.d.ts +3 -1
  10. package/lib/LcdpUeditor.d.ts +80 -0
  11. package/lib/LcdpUeditor.js +267 -0
  12. package/lib/const.d.ts +12 -0
  13. package/lib/const.js +39 -0
  14. package/lib/defaultConfig.json +77 -0
  15. package/lib/index.d.ts +4 -0
  16. package/lib/index.js +41 -0
  17. package/lib/tools/UeditorResourceLoader.d.ts +21 -0
  18. package/lib/tools/UeditorResourceLoader.js +90 -0
  19. package/lib/tools/filterHtmlNode.d.ts +5 -0
  20. package/lib/tools/filterHtmlNode.js +61 -0
  21. package/lib/tools/loadScript.d.ts +5 -0
  22. package/lib/tools/loadScript.js +39 -0
  23. package/lib/type.d.ts +144 -0
  24. package/lib/type.js +17 -0
  25. package/package.json +34 -32
  26. package/ueditor-resource/dialogs/anchor/anchor.html +62 -62
  27. package/ueditor-resource/dialogs/attachment/attachment.css +716 -716
  28. package/ueditor-resource/dialogs/attachment/attachment.html +61 -61
  29. package/ueditor-resource/dialogs/attachment/attachment.js +803 -803
  30. package/ueditor-resource/dialogs/audio/audio.css +879 -879
  31. package/ueditor-resource/dialogs/audio/audio.html +93 -93
  32. package/ueditor-resource/dialogs/audio/audio.js +815 -815
  33. package/ueditor-resource/dialogs/background/background.css +193 -193
  34. package/ueditor-resource/dialogs/background/background.html +59 -59
  35. package/ueditor-resource/dialogs/background/background.js +370 -370
  36. package/ueditor-resource/dialogs/contentimport/contentimport.html +176 -176
  37. package/ueditor-resource/dialogs/contentimport/contentimport.js +91 -91
  38. package/ueditor-resource/dialogs/emotion/emotion.css +129 -129
  39. package/ueditor-resource/dialogs/emotion/emotion.html +70 -70
  40. package/ueditor-resource/dialogs/emotion/emotion.js +186 -186
  41. package/ueditor-resource/dialogs/formula/formula.html +98 -98
  42. package/ueditor-resource/dialogs/formula/formula.js +147 -147
  43. package/ueditor-resource/dialogs/help/help.css +37 -37
  44. package/ueditor-resource/dialogs/help/help.html +82 -82
  45. package/ueditor-resource/dialogs/help/help.js +57 -57
  46. package/ueditor-resource/dialogs/image/image.css +768 -768
  47. package/ueditor-resource/dialogs/image/image.html +144 -144
  48. package/ueditor-resource/dialogs/image/image.js +1060 -1060
  49. package/ueditor-resource/dialogs/insertframe/insertframe.html +135 -135
  50. package/ueditor-resource/dialogs/internal.js +81 -81
  51. package/ueditor-resource/dialogs/link/link.html +148 -148
  52. package/ueditor-resource/dialogs/preview/preview.html +45 -45
  53. package/ueditor-resource/dialogs/scrawl/scrawl.css +324 -324
  54. package/ueditor-resource/dialogs/scrawl/scrawl.html +95 -95
  55. package/ueditor-resource/dialogs/scrawl/scrawl.js +682 -682
  56. package/ueditor-resource/dialogs/searchreplace/searchreplace.html +144 -144
  57. package/ueditor-resource/dialogs/searchreplace/searchreplace.js +174 -174
  58. package/ueditor-resource/dialogs/spechars/spechars.html +42 -42
  59. package/ueditor-resource/dialogs/spechars/spechars.js +86 -86
  60. package/ueditor-resource/dialogs/table/edittable.css +85 -85
  61. package/ueditor-resource/dialogs/table/edittable.html +69 -69
  62. package/ueditor-resource/dialogs/table/edittable.js +241 -241
  63. package/ueditor-resource/dialogs/table/edittd.html +62 -62
  64. package/ueditor-resource/dialogs/table/edittip.html +33 -33
  65. package/ueditor-resource/dialogs/template/config.js +42 -42
  66. package/ueditor-resource/dialogs/template/template.css +99 -99
  67. package/ueditor-resource/dialogs/template/template.html +26 -26
  68. package/ueditor-resource/dialogs/template/template.js +53 -53
  69. package/ueditor-resource/dialogs/video/video.css +909 -909
  70. package/ueditor-resource/dialogs/video/video.html +114 -114
  71. package/ueditor-resource/dialogs/video/video.js +867 -867
  72. package/ueditor-resource/dialogs/wordimage/wordimage.html +221 -221
  73. package/ueditor-resource/dialogs/wordimage/wordimage.js +93 -93
  74. package/ueditor-resource/lang/en/en.js +686 -686
  75. package/ueditor-resource/lang/zh-cn/zh-cn.js +748 -748
  76. package/ueditor-resource/lang/zh-tw/images/copy.png +0 -0
  77. package/ueditor-resource/lang/zh-tw/images/localimage.png +0 -0
  78. package/ueditor-resource/lang/zh-tw/images/music.png +0 -0
  79. package/ueditor-resource/lang/zh-tw/images/upload.png +0 -0
  80. package/ueditor-resource/lang/zh-tw/zh-tw.js +748 -0
  81. package/ueditor-resource/plugins/demo/demo.js +3 -3
  82. package/ueditor-resource/themes/default/css/ueditor.css +2148 -2148
  83. package/ueditor-resource/themes/default/dialog.css +17 -17
  84. package/ueditor-resource/themes/default/dialogbase.css +132 -132
  85. package/ueditor-resource/themes/default/exts/ai.svg +12 -12
  86. package/ueditor-resource/themes/default/exts/apk.svg +12 -12
  87. package/ueditor-resource/themes/default/exts/chm.svg +12 -12
  88. package/ueditor-resource/themes/default/exts/css.svg +12 -12
  89. package/ueditor-resource/themes/default/exts/doc.svg +22 -22
  90. package/ueditor-resource/themes/default/exts/docx.svg +22 -22
  91. package/ueditor-resource/themes/default/exts/dwg.svg +16 -16
  92. package/ueditor-resource/themes/default/exts/folder.svg +3 -3
  93. package/ueditor-resource/themes/default/exts/gif.svg +14 -14
  94. package/ueditor-resource/themes/default/exts/html.svg +12 -12
  95. package/ueditor-resource/themes/default/exts/jpeg.svg +14 -14
  96. package/ueditor-resource/themes/default/exts/jpg.svg +14 -14
  97. package/ueditor-resource/themes/default/exts/log.svg +12 -12
  98. package/ueditor-resource/themes/default/exts/mp3.svg +14 -14
  99. package/ueditor-resource/themes/default/exts/mp4.svg +12 -12
  100. package/ueditor-resource/themes/default/exts/pdf.svg +14 -14
  101. package/ueditor-resource/themes/default/exts/png.svg +14 -14
  102. package/ueditor-resource/themes/default/exts/ppt.svg +24 -24
  103. package/ueditor-resource/themes/default/exts/pptx.svg +24 -24
  104. package/ueditor-resource/themes/default/exts/psd.svg +12 -12
  105. package/ueditor-resource/themes/default/exts/rar.svg +12 -12
  106. package/ueditor-resource/themes/default/exts/svg.svg +12 -12
  107. package/ueditor-resource/themes/default/exts/torrent.svg +14 -14
  108. package/ueditor-resource/themes/default/exts/txt.svg +14 -14
  109. package/ueditor-resource/themes/default/exts/unknown.svg +12 -12
  110. package/ueditor-resource/themes/default/exts/xls.svg +25 -25
  111. package/ueditor-resource/themes/default/exts/xlsx.svg +25 -25
  112. package/ueditor-resource/themes/default/exts/zip.svg +12 -12
  113. package/ueditor-resource/themes/iframe.css +63 -63
  114. package/ueditor-resource/third-party/SyntaxHighlighter/shCore.js +3655 -3655
  115. package/ueditor-resource/third-party/clipboard/clipboard.js +752 -752
  116. package/ueditor-resource/third-party/codemirror/codemirror.css +106 -106
  117. package/ueditor-resource/third-party/codemirror/codemirror.js +3581 -3581
  118. package/ueditor-resource/third-party/jquery-3.5.1.js +1 -1
  119. package/ueditor-resource/third-party/jquery-3.5.1_1.js +4314 -4314
  120. package/ueditor-resource/third-party/webuploader/webuploader.css +88 -88
  121. package/ueditor-resource/third-party/webuploader/webuploader.js +3 -3
  122. package/ueditor-resource/third-party/zeroclipboard/ZeroClipboard.js +1255 -1255
  123. package/ueditor-resource/ueditor.all.js +5271 -5270
  124. package/ueditor-resource/ueditor.config.js +655 -656
  125. package/ueditor-resource/ueditor.parse.js +13 -13
  126. package/es/LcdpUeditor.d.ts.map +0 -1
  127. package/es/const.d.ts.map +0 -1
  128. package/es/index.d.ts.map +0 -1
  129. package/es/tools/UeditorResourceLoader.d.ts.map +0 -1
  130. package/es/tools/loadScript.d.ts.map +0 -1
  131. package/es/type.d.ts.map +0 -1
  132. package/ueditor-resource/index.html +0 -146
@@ -1,909 +1,909 @@
1
- @charset "utf-8";
2
- .wrapper {
3
- width: 100%;
4
- _width: 100%;
5
- zoom: 1;
6
- position: relative;
7
- }
8
-
9
- .tabbody {
10
- height: 355px;
11
- box-sizing: border-box;
12
-
13
- }
14
-
15
- #video {
16
- border-bottom: 1px solid #F0F0F0;
17
- }
18
-
19
- #video .padding-8 {
20
- box-sizing: border-box;
21
- padding: 8px;
22
- width: 100%;
23
- }
24
- #video .padding-8 input {
25
- box-sizing: border-box;
26
- width: 100%;
27
- height: 24px;
28
- margin-top: 4px;
29
- }
30
-
31
- .tabbody .panel {
32
- position: absolute;
33
- width: 0;
34
- height: 0;
35
- background: #fff;
36
- overflow: hidden;
37
- display: none;
38
- }
39
-
40
- .tabbody .panel.focus {
41
- width: 100%;
42
- height: 355px;
43
- display: block;
44
- margin-top: 8px;
45
- }
46
-
47
- .tabbody .panel table td {
48
- vertical-align: middle;
49
- }
50
-
51
- #videoUrl {
52
- width: 100%;
53
- height: 26px;
54
- line-height: 26px;
55
- /* margin: 8px 5px; */
56
- background: #FFF;
57
- border: 1px solid #d7d7d7;
58
- outline: none;
59
- border-radius: 3px;
60
- padding: 0 5px;
61
- box-sizing: border-box;
62
- }
63
-
64
- #videoSelect {
65
- width: 100px;
66
- display: inline-block;
67
- background: #FFF;
68
- border: 1px solid #EEE;
69
- line-height: 26px;
70
- text-align: center;
71
- color: #333;
72
- text-decoration: none;
73
- border-radius: 3px;
74
- vertical-align: middle;
75
- }
76
-
77
- #videoSearchTxt {
78
- margin-left: 15px;
79
- background: #FFF;
80
- width: 200px;
81
- height: 21px;
82
- line-height: 21px;
83
- border: 1px solid #d7d7d7;
84
- }
85
-
86
- #searchList {
87
- width: 570px;
88
- overflow: auto;
89
- zoom: 1;
90
- height: 270px;
91
- }
92
-
93
- #searchList div {
94
- float: left;
95
- width: 120px;
96
- height: 135px;
97
- margin: 5px 15px;
98
- }
99
-
100
- #searchList img {
101
- margin: 2px 8px;
102
- cursor: pointer;
103
- border: 2px solid #fff
104
- }
105
-
106
- /*不用缩略图*/
107
- #searchList p {
108
- margin-left: 10px;
109
- }
110
-
111
- #videoType {
112
- width: 65px;
113
- height: 23px;
114
- line-height: 22px;
115
- border: 1px solid #d7d7d7;
116
- }
117
-
118
- #videoSearchBtn, #videoSearchReset {
119
- /*width: 80px;*/
120
- height: 25px;
121
- line-height: 25px;
122
- background: #eee;
123
- border: 1px solid #d7d7d7;
124
- cursor: pointer;
125
- padding: 0 5px;
126
- }
127
-
128
- .container-box {
129
- margin: 8px 16px;
130
- }
131
-
132
- .left {
133
- flex: 1;
134
- box-sizing: border-box;
135
-
136
- }
137
- .right {
138
- width: 130px;
139
- box-sizing: border-box;
140
- }
141
-
142
-
143
- #preview {
144
- position: relative;
145
- width: 100%;
146
- box-sizing: border-box;
147
- padding: 0;
148
- overflow: hidden;
149
- height: 280px;
150
- border-right: 1px solid #F2F3F5;
151
- background-image: url('./icon/img.png');
152
- background-size: 32px 32px;
153
- background-repeat: no-repeat;
154
- background-position: center center;
155
- }
156
-
157
- #preview .previewMsg {
158
- position: absolute;
159
- top: 0;
160
- margin: 0;
161
- padding: 0;
162
- height: 280px;
163
- width: 100%;
164
- background-color: #666;
165
- }
166
-
167
- #preview .previewMsg span {
168
- display: block;
169
- margin: 125px auto 0 auto;
170
- text-align: center;
171
- font-size: 18px;
172
- color: #fff;
173
- }
174
-
175
- #preview .previewVideo {
176
- position: absolute;
177
- top: 0;
178
- margin: 0;
179
- padding: 0;
180
- height: 280px;
181
- width: 100%;
182
- }
183
-
184
- .edui-video-wrapper fieldset {
185
- border: 1px solid #ddd;
186
- padding-left: 5px;
187
- margin-bottom: 20px;
188
- padding-bottom: 5px;
189
- width: 115px;
190
- }
191
-
192
- #videoInfo {
193
- width: 120px;
194
- float: left;
195
- margin-left: 10px;
196
- _margin-left: 7px;
197
- }
198
-
199
- fieldset {
200
- border: 1px solid #ddd;
201
- padding-left: 5px;
202
- margin-bottom: 20px;
203
- padding-bottom: 5px;
204
- width: 115px;
205
- }
206
-
207
- fieldset legend {
208
- font-weight: bold;
209
- }
210
-
211
- fieldset p {
212
- line-height: 30px;
213
- }
214
-
215
- input.txt {
216
- padding: 3px 6px;
217
- font-size: 14px;
218
- line-height: 1.42857143;
219
- color: #555;
220
- background-color: #fff;
221
- background-image: none;
222
- border: 1px solid #ccc;
223
- border-radius: 4px;
224
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
225
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
226
- -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
227
- transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
228
- }
229
-
230
- input.txt:focus {
231
- outline: 0;
232
- }
233
-
234
- label.url {
235
- font-weight: bold;
236
- margin-left: 5px;
237
- }
238
-
239
-
240
- /* 图片对齐方式 */
241
- .alignBar {
242
- position: relative;
243
- }
244
-
245
-
246
- .alignBar #videoFloat {
247
- zoom: 1;
248
- position: relative;
249
- width: 100%;
250
- border-radius: 4px;
251
- height: 24px;
252
- display: flex;
253
- flex-direction: row;
254
- justify-content: flex-start;
255
- align-items: center;
256
- margin-top: 4px;
257
- }
258
-
259
- .alignBar #videoFloat div {
260
- box-sizing: border-box;
261
- cursor: pointer;
262
- display: block;
263
- flex: 1;
264
- height: 24px;
265
- background-repeat: no-repeat;
266
- background-size: 16px 16px;
267
- background-position: center center;
268
- border: 1px solid #DCDDE5;
269
- }
270
-
271
- .alignBar #videoFloat div:nth-child(1) {
272
- border-top-left-radius: 4px;
273
- border-bottom-left-radius: 4px;
274
- }
275
-
276
- .alignBar #videoFloat div:nth-child(4) {
277
- border-top-right-radius: 4px;
278
- border-bottom-right-radius: 4px;
279
- }
280
-
281
- .alignBar #videoFloat div.focus{
282
- border-color: #417FFB;
283
- }
284
-
285
- /* #videoFloat div {
286
- cursor: pointer;
287
- opacity: 0.5;
288
- filter: alpha(opacity=50);
289
- margin: 9px;
290
- _margin: 5px;
291
- width: 38px;
292
- height: 36px;
293
- float: left;
294
- } */
295
-
296
- /* #videoFloat .focus {
297
- opacity: 1;
298
- filter: alpha(opacity=100);
299
- } */
300
-
301
- span.view {
302
- display: inline-block;
303
- width: 30px;
304
- float: right;
305
- cursor: pointer;
306
- color: blue
307
- }
308
-
309
-
310
- /* upload video */
311
- .tabbody #upload.panel {
312
- width: 0;
313
- height: 0;
314
- overflow: hidden;
315
- position: absolute !important;
316
- clip: rect(1px, 1px, 1px, 1px);
317
- background: #fff;
318
- display: block;
319
- }
320
-
321
- .tabbody #upload.panel.focus {
322
- width: 100%;
323
- height: 335px;
324
- display: block;
325
- clip: auto;
326
- }
327
-
328
- #upload_alignment div {
329
- cursor: pointer;
330
- opacity: 0.5;
331
- filter: alpha(opacity=50);
332
- margin: 9px;
333
- _margin: 5px;
334
- width: 38px;
335
- height: 36px;
336
- float: left;
337
- }
338
-
339
- #upload_alignment .focus {
340
- opacity: 1;
341
- filter: alpha(opacity=100)
342
- }
343
-
344
- #upload_left {
345
- width: 427px;
346
- float: left;
347
- }
348
-
349
- #upload_left .controller {
350
- height: 30px;
351
- clear: both;
352
- }
353
-
354
- #uploadVideoInfo {
355
- margin-top: 10px;
356
- float: right;
357
- padding-right: 8px;
358
- }
359
-
360
- #upload .queueList {
361
- margin: 0;
362
- }
363
-
364
- #upload p {
365
- margin: 0;
366
- }
367
-
368
- .element-invisible {
369
- width: 0 !important;
370
- height: 0 !important;
371
- border: 0;
372
- padding: 0;
373
- margin: 0;
374
- overflow: hidden;
375
- position: absolute !important;
376
- clip: rect(1px, 1px, 1px, 1px);
377
- }
378
-
379
- #upload .placeholder {
380
- margin: 10px;
381
- margin-right: 0;
382
- border: 2px dashed #e6e6e6;
383
- *border: 0px dashed #e6e6e6;
384
- height: 161px;
385
- padding-top: 150px;
386
- text-align: center;
387
- width: 97%;
388
- float: left;
389
- background: url(./images/image.png) center 70px no-repeat;
390
- color: #cccccc;
391
- font-size: 18px;
392
- position: relative;
393
- top: 0;
394
- *margin-left: 0;
395
- *left: 10px;
396
- }
397
-
398
- #upload .placeholder .webuploader-pick {
399
- font-size: 18px;
400
- background: #00b7ee;
401
- border-radius: 3px;
402
- line-height: 44px;
403
- padding: 0 30px;
404
- *width: 120px;
405
- color: #fff;
406
- display: inline-block;
407
- margin: 0 auto 20px auto;
408
- cursor: pointer;
409
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
410
- }
411
-
412
- #upload .placeholder .webuploader-pick-hover {
413
- background: #00a2d4;
414
- }
415
-
416
-
417
- #filePickerContainer {
418
- text-align: center;
419
- }
420
-
421
- #upload .placeholder .flashTip {
422
- color: #666666;
423
- font-size: 12px;
424
- position: absolute;
425
- width: 100%;
426
- text-align: center;
427
- bottom: 20px;
428
- }
429
-
430
- #upload .placeholder .flashTip a {
431
- color: #0785d1;
432
- text-decoration: none;
433
- }
434
-
435
- #upload .placeholder .flashTip a:hover {
436
- text-decoration: underline;
437
- }
438
-
439
- #upload .placeholder.webuploader-dnd-over {
440
- border-color: #999999;
441
- }
442
-
443
- #upload .filelist {
444
- list-style: none;
445
- margin: 0;
446
- padding: 0;
447
- overflow-x: hidden;
448
- overflow-y: auto;
449
- position: relative;
450
- height: 285px;
451
- }
452
-
453
- #upload .filelist:after {
454
- content: '';
455
- display: block;
456
- width: 0;
457
- height: 0;
458
- overflow: hidden;
459
- clear: both;
460
- }
461
-
462
- #upload .filelist li {
463
- width: 113px;
464
- height: 113px;
465
- background: url(./images/bg.png);
466
- text-align: center;
467
- margin: 15px 0 0 20px;
468
- *margin: 15px 0 0 15px;
469
- position: relative;
470
- display: block;
471
- float: left;
472
- overflow: hidden;
473
- font-size: 12px;
474
- }
475
-
476
- #upload .filelist li p.log {
477
- position: relative;
478
- top: -45px;
479
- }
480
-
481
- #upload .filelist li p.title {
482
- position: absolute;
483
- top: 0;
484
- left: 0;
485
- width: 100%;
486
- overflow: hidden;
487
- white-space: nowrap;
488
- text-overflow: ellipsis;
489
- top: 5px;
490
- text-indent: 5px;
491
- text-align: left;
492
- }
493
-
494
- #upload .filelist li p.progress {
495
- position: absolute;
496
- width: 100%;
497
- bottom: 0;
498
- left: 0;
499
- height: 8px;
500
- overflow: hidden;
501
- z-index: 50;
502
- margin: 0;
503
- border-radius: 0;
504
- background: none;
505
- -webkit-box-shadow: 0 0 0;
506
- }
507
-
508
- #upload .filelist li p.progress span {
509
- display: none;
510
- overflow: hidden;
511
- width: 0;
512
- height: 100%;
513
- background: #1483d8 url(./images/progress.png) repeat-x;
514
-
515
- -webit-transition: width 200ms linear;
516
- -moz-transition: width 200ms linear;
517
- -o-transition: width 200ms linear;
518
- -ms-transition: width 200ms linear;
519
- transition: width 200ms linear;
520
-
521
- -webkit-animation: progressmove 2s linear infinite;
522
- -moz-animation: progressmove 2s linear infinite;
523
- -o-animation: progressmove 2s linear infinite;
524
- -ms-animation: progressmove 2s linear infinite;
525
- animation: progressmove 2s linear infinite;
526
-
527
- -webkit-transform: translateZ(0);
528
- }
529
-
530
- @-webkit-keyframes progressmove {
531
- 0% {
532
- background-position: 0 0;
533
- }
534
- 100% {
535
- background-position: 17px 0;
536
- }
537
- }
538
-
539
- @-moz-keyframes progressmove {
540
- 0% {
541
- background-position: 0 0;
542
- }
543
- 100% {
544
- background-position: 17px 0;
545
- }
546
- }
547
-
548
- @keyframes progressmove {
549
- 0% {
550
- background-position: 0 0;
551
- }
552
- 100% {
553
- background-position: 17px 0;
554
- }
555
- }
556
-
557
- #upload .filelist li p.imgWrap {
558
- position: relative;
559
- z-index: 2;
560
- line-height: 113px;
561
- vertical-align: middle;
562
- overflow: hidden;
563
- width: 113px;
564
- height: 113px;
565
-
566
- -webkit-transform-origin: 50% 50%;
567
- -moz-transform-origin: 50% 50%;
568
- -o-transform-origin: 50% 50%;
569
- -ms-transform-origin: 50% 50%;
570
- transform-origin: 50% 50%;
571
-
572
- -webit-transition: 200ms ease-out;
573
- -moz-transition: 200ms ease-out;
574
- -o-transition: 200ms ease-out;
575
- -ms-transition: 200ms ease-out;
576
- transition: 200ms ease-out;
577
- }
578
-
579
- #upload .filelist li p.imgWrap.notimage {
580
- margin-top: 0;
581
- width: 111px;
582
- height: 111px;
583
- border: 1px #eeeeee solid;
584
- }
585
-
586
- #upload .filelist li p.imgWrap.notimage i.file-preview {
587
- margin-top: 15px;
588
- }
589
-
590
- #upload .filelist li img {
591
- width: 100%;
592
- }
593
-
594
- #upload .filelist li p.error {
595
- background: #f43838;
596
- color: #fff;
597
- position: absolute;
598
- bottom: 0;
599
- left: 0;
600
- height: 28px;
601
- line-height: 28px;
602
- width: 100%;
603
- z-index: 100;
604
- display: none;
605
- }
606
-
607
- #upload .filelist li .success {
608
- display: block;
609
- position: absolute;
610
- left: 0;
611
- bottom: 0;
612
- height: 40px;
613
- width: 100%;
614
- z-index: 200;
615
- background: url(./images/success.png) no-repeat right bottom;
616
- background-image: url(./images/success.gif) \9;
617
- }
618
-
619
- #upload .filelist li.filePickerBlock {
620
- width: 113px;
621
- height: 113px;
622
- background: url(./images/image.png) no-repeat center 12px;
623
- border: 1px solid #eeeeee;
624
- border-radius: 0;
625
- }
626
-
627
- #upload .filelist li.filePickerBlock div.webuploader-pick {
628
- width: 100%;
629
- height: 100%;
630
- margin: 0;
631
- padding: 0;
632
- opacity: 0;
633
- background: none;
634
- font-size: 0;
635
- }
636
-
637
- #upload .filelist div.file-panel {
638
- position: absolute;
639
- height: 0;
640
- filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
641
- background: rgba(0, 0, 0, 0.5);
642
- width: 100%;
643
- top: 0;
644
- left: 0;
645
- overflow: hidden;
646
- z-index: 300;
647
- }
648
-
649
- #upload .filelist div.file-panel span {
650
- width: 24px;
651
- height: 24px;
652
- display: inline;
653
- float: right;
654
- text-indent: -9999px;
655
- overflow: hidden;
656
- background: url(./images/icons.png) no-repeat;
657
- background: url(./images/icons.gif) no-repeat \9;
658
- margin: 5px 1px 1px;
659
- cursor: pointer;
660
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
661
- -webkit-user-select: none;
662
- -moz-user-select: none;
663
- -ms-user-select: none;
664
- user-select: none;
665
- }
666
-
667
- #upload .filelist div.file-panel span.rotateLeft {
668
- display: none;
669
- background-position: 0 -24px;
670
- }
671
-
672
- #upload .filelist div.file-panel span.rotateLeft:hover {
673
- background-position: 0 0;
674
- }
675
-
676
- #upload .filelist div.file-panel span.rotateRight {
677
- display: none;
678
- background-position: -24px -24px;
679
- }
680
-
681
- #upload .filelist div.file-panel span.rotateRight:hover {
682
- background-position: -24px 0;
683
- }
684
-
685
- #upload .filelist div.file-panel span.cancel {
686
- background-position: -48px -24px;
687
- }
688
-
689
- #upload .filelist div.file-panel span.cancel:hover {
690
- background-position: -48px 0;
691
- }
692
-
693
- #upload .statusBar {
694
- height: 45px;
695
- border-bottom: 1px solid #dadada;
696
- margin: 0 10px;
697
- padding: 0;
698
- line-height: 45px;
699
- vertical-align: middle;
700
- position: relative;
701
- }
702
-
703
- #upload .statusBar .progress {
704
- border: 1px solid #1483d8;
705
- width: 198px;
706
- background: #fff;
707
- height: 18px;
708
- position: absolute;
709
- top: 12px;
710
- display: none;
711
- text-align: center;
712
- line-height: 18px;
713
- color: #6dbfff;
714
- margin: 0 10px 0 0;
715
- }
716
-
717
- #upload .statusBar .progress span.percentage {
718
- width: 0;
719
- height: 100%;
720
- left: 0;
721
- top: 0;
722
- background: #1483d8;
723
- position: absolute;
724
- }
725
-
726
- #upload .statusBar .progress span.text {
727
- position: relative;
728
- z-index: 10;
729
- }
730
-
731
- #upload .statusBar .info {
732
- display: inline-block;
733
- font-size: 14px;
734
- color: #666666;
735
- }
736
-
737
- #upload .statusBar .btns {
738
- position: absolute;
739
- top: 7px;
740
- right: 0;
741
- line-height: 30px;
742
- }
743
-
744
- #filePickerBtn {
745
- display: inline-block;
746
- float: left;
747
- }
748
-
749
- #upload .statusBar .btns .webuploader-pick,
750
- #upload .statusBar .btns .uploadBtn,
751
- #upload .statusBar .btns .uploadBtn.state-uploading,
752
- #upload .statusBar .btns .uploadBtn.state-paused {
753
- background: #ffffff;
754
- border: 1px solid #cfcfcf;
755
- color: #565656;
756
- padding: 0 18px;
757
- display: inline-block;
758
- border-radius: 3px;
759
- margin-left: 10px;
760
- cursor: pointer;
761
- font-size: 14px;
762
- float: left;
763
- -webkit-user-select: none;
764
- -moz-user-select: none;
765
- -ms-user-select: none;
766
- user-select: none;
767
- }
768
-
769
- #upload .statusBar .btns .webuploader-pick-hover,
770
- #upload .statusBar .btns .uploadBtn:hover,
771
- #upload .statusBar .btns .uploadBtn.state-uploading:hover,
772
- #upload .statusBar .btns .uploadBtn.state-paused:hover {
773
- background: #f0f0f0;
774
- }
775
-
776
- #upload .statusBar .btns .uploadBtn,
777
- #upload .statusBar .btns .uploadBtn.state-paused {
778
- background: #00b7ee;
779
- color: #fff;
780
- border-color: transparent;
781
- }
782
-
783
- #upload .statusBar .btns .uploadBtn:hover,
784
- #upload .statusBar .btns .uploadBtn.state-paused:hover {
785
- background: #00a2d4;
786
- }
787
-
788
- #upload .statusBar .btns .uploadBtn.disabled {
789
- pointer-events: none;
790
- filter: alpha(opacity=60);
791
- -moz-opacity: 0.6;
792
- -khtml-opacity: 0.6;
793
- opacity: 0.6;
794
- }
795
-
796
-
797
- /* 在线文件的文件预览图标 */
798
- i.file-preview {
799
- display: block;
800
- margin: 10px auto;
801
- width: 70px;
802
- height: 70px;
803
- background-image: url("./images/file-icons.png");
804
- background-image: url("./images/file-icons.gif") \9;
805
- background-position: -140px center;
806
- background-repeat: no-repeat;
807
- }
808
-
809
- i.file-preview.file-type-dir {
810
- background-position: 0 center;
811
- }
812
-
813
- i.file-preview.file-type-file {
814
- background-position: -140px center;
815
- }
816
-
817
- i.file-preview.file-type-filelist {
818
- background-position: -210px center;
819
- }
820
-
821
- i.file-preview.file-type-zip,
822
- i.file-preview.file-type-rar,
823
- i.file-preview.file-type-7z,
824
- i.file-preview.file-type-tar,
825
- i.file-preview.file-type-gz,
826
- i.file-preview.file-type-bz2 {
827
- background-position: -280px center;
828
- }
829
-
830
- i.file-preview.file-type-xls,
831
- i.file-preview.file-type-xlsx {
832
- background-position: -350px center;
833
- }
834
-
835
- i.file-preview.file-type-doc,
836
- i.file-preview.file-type-docx {
837
- background-position: -420px center;
838
- }
839
-
840
- i.file-preview.file-type-ppt,
841
- i.file-preview.file-type-pptx {
842
- background-position: -490px center;
843
- }
844
-
845
- i.file-preview.file-type-vsd {
846
- background-position: -560px center;
847
- }
848
-
849
- i.file-preview.file-type-pdf {
850
- background-position: -630px center;
851
- }
852
-
853
- i.file-preview.file-type-txt,
854
- i.file-preview.file-type-md,
855
- i.file-preview.file-type-json,
856
- i.file-preview.file-type-htm,
857
- i.file-preview.file-type-xml,
858
- i.file-preview.file-type-html,
859
- i.file-preview.file-type-js,
860
- i.file-preview.file-type-css,
861
- i.file-preview.file-type-php,
862
- i.file-preview.file-type-jsp,
863
- i.file-preview.file-type-asp {
864
- background-position: -700px center;
865
- }
866
-
867
- i.file-preview.file-type-apk {
868
- background-position: -770px center;
869
- }
870
-
871
- i.file-preview.file-type-exe {
872
- background-position: -840px center;
873
- }
874
-
875
- i.file-preview.file-type-ipa {
876
- background-position: -910px center;
877
- }
878
-
879
- i.file-preview.file-type-mp4,
880
- i.file-preview.file-type-swf,
881
- i.file-preview.file-type-mkv,
882
- i.file-preview.file-type-avi,
883
- i.file-preview.file-type-flv,
884
- i.file-preview.file-type-mov,
885
- i.file-preview.file-type-mpg,
886
- i.file-preview.file-type-mpeg,
887
- i.file-preview.file-type-ogv,
888
- i.file-preview.file-type-webm,
889
- i.file-preview.file-type-rm,
890
- i.file-preview.file-type-rmvb {
891
- background-position: -980px center;
892
- }
893
-
894
- i.file-preview.file-type-ogg,
895
- i.file-preview.file-type-wav,
896
- i.file-preview.file-type-wmv,
897
- i.file-preview.file-type-mid,
898
- i.file-preview.file-type-mp3 {
899
- background-position: -1050px center;
900
- }
901
-
902
- i.file-preview.file-type-jpg,
903
- i.file-preview.file-type-jpeg,
904
- i.file-preview.file-type-gif,
905
- i.file-preview.file-type-bmp,
906
- i.file-preview.file-type-png,
907
- i.file-preview.file-type-psd {
908
- background-position: -140px center;
909
- }
1
+ @charset "utf-8";
2
+ .wrapper {
3
+ width: 100%;
4
+ _width: 100%;
5
+ zoom: 1;
6
+ position: relative;
7
+ }
8
+
9
+ .tabbody {
10
+ height: 355px;
11
+ box-sizing: border-box;
12
+
13
+ }
14
+
15
+ #video {
16
+ border-bottom: 1px solid #F0F0F0;
17
+ }
18
+
19
+ #video .padding-8 {
20
+ box-sizing: border-box;
21
+ padding: 8px;
22
+ width: 100%;
23
+ }
24
+ #video .padding-8 input {
25
+ box-sizing: border-box;
26
+ width: 100%;
27
+ height: 24px;
28
+ margin-top: 4px;
29
+ }
30
+
31
+ .tabbody .panel {
32
+ position: absolute;
33
+ width: 0;
34
+ height: 0;
35
+ background: #fff;
36
+ overflow: hidden;
37
+ display: none;
38
+ }
39
+
40
+ .tabbody .panel.focus {
41
+ width: 100%;
42
+ height: 355px;
43
+ display: block;
44
+ margin-top: 8px;
45
+ }
46
+
47
+ .tabbody .panel table td {
48
+ vertical-align: middle;
49
+ }
50
+
51
+ #videoUrl {
52
+ width: 100%;
53
+ height: 26px;
54
+ line-height: 26px;
55
+ /* margin: 8px 5px; */
56
+ background: #FFF;
57
+ border: 1px solid #d7d7d7;
58
+ outline: none;
59
+ border-radius: 3px;
60
+ padding: 0 5px;
61
+ box-sizing: border-box;
62
+ }
63
+
64
+ #videoSelect {
65
+ width: 100px;
66
+ display: inline-block;
67
+ background: #FFF;
68
+ border: 1px solid #EEE;
69
+ line-height: 26px;
70
+ text-align: center;
71
+ color: #333;
72
+ text-decoration: none;
73
+ border-radius: 3px;
74
+ vertical-align: middle;
75
+ }
76
+
77
+ #videoSearchTxt {
78
+ margin-left: 15px;
79
+ background: #FFF;
80
+ width: 200px;
81
+ height: 21px;
82
+ line-height: 21px;
83
+ border: 1px solid #d7d7d7;
84
+ }
85
+
86
+ #searchList {
87
+ width: 570px;
88
+ overflow: auto;
89
+ zoom: 1;
90
+ height: 270px;
91
+ }
92
+
93
+ #searchList div {
94
+ float: left;
95
+ width: 120px;
96
+ height: 135px;
97
+ margin: 5px 15px;
98
+ }
99
+
100
+ #searchList img {
101
+ margin: 2px 8px;
102
+ cursor: pointer;
103
+ border: 2px solid #fff
104
+ }
105
+
106
+ /*不用缩略图*/
107
+ #searchList p {
108
+ margin-left: 10px;
109
+ }
110
+
111
+ #videoType {
112
+ width: 65px;
113
+ height: 23px;
114
+ line-height: 22px;
115
+ border: 1px solid #d7d7d7;
116
+ }
117
+
118
+ #videoSearchBtn, #videoSearchReset {
119
+ /*width: 80px;*/
120
+ height: 25px;
121
+ line-height: 25px;
122
+ background: #eee;
123
+ border: 1px solid #d7d7d7;
124
+ cursor: pointer;
125
+ padding: 0 5px;
126
+ }
127
+
128
+ .container-box {
129
+ margin: 8px 16px;
130
+ }
131
+
132
+ .left {
133
+ flex: 1;
134
+ box-sizing: border-box;
135
+
136
+ }
137
+ .right {
138
+ width: 130px;
139
+ box-sizing: border-box;
140
+ }
141
+
142
+
143
+ #preview {
144
+ position: relative;
145
+ width: 100%;
146
+ box-sizing: border-box;
147
+ padding: 0;
148
+ overflow: hidden;
149
+ height: 280px;
150
+ border-right: 1px solid #F2F3F5;
151
+ background-image: url('./icon/img.png');
152
+ background-size: 32px 32px;
153
+ background-repeat: no-repeat;
154
+ background-position: center center;
155
+ }
156
+
157
+ #preview .previewMsg {
158
+ position: absolute;
159
+ top: 0;
160
+ margin: 0;
161
+ padding: 0;
162
+ height: 280px;
163
+ width: 100%;
164
+ background-color: #666;
165
+ }
166
+
167
+ #preview .previewMsg span {
168
+ display: block;
169
+ margin: 125px auto 0 auto;
170
+ text-align: center;
171
+ font-size: 18px;
172
+ color: #fff;
173
+ }
174
+
175
+ #preview .previewVideo {
176
+ position: absolute;
177
+ top: 0;
178
+ margin: 0;
179
+ padding: 0;
180
+ height: 280px;
181
+ width: 100%;
182
+ }
183
+
184
+ .edui-video-wrapper fieldset {
185
+ border: 1px solid #ddd;
186
+ padding-left: 5px;
187
+ margin-bottom: 20px;
188
+ padding-bottom: 5px;
189
+ width: 115px;
190
+ }
191
+
192
+ #videoInfo {
193
+ width: 120px;
194
+ float: left;
195
+ margin-left: 10px;
196
+ _margin-left: 7px;
197
+ }
198
+
199
+ fieldset {
200
+ border: 1px solid #ddd;
201
+ padding-left: 5px;
202
+ margin-bottom: 20px;
203
+ padding-bottom: 5px;
204
+ width: 115px;
205
+ }
206
+
207
+ fieldset legend {
208
+ font-weight: bold;
209
+ }
210
+
211
+ fieldset p {
212
+ line-height: 30px;
213
+ }
214
+
215
+ input.txt {
216
+ padding: 3px 6px;
217
+ font-size: 14px;
218
+ line-height: 1.42857143;
219
+ color: #555;
220
+ background-color: #fff;
221
+ background-image: none;
222
+ border: 1px solid #ccc;
223
+ border-radius: 4px;
224
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
225
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
226
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
227
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
228
+ }
229
+
230
+ input.txt:focus {
231
+ outline: 0;
232
+ }
233
+
234
+ label.url {
235
+ font-weight: bold;
236
+ margin-left: 5px;
237
+ }
238
+
239
+
240
+ /* 图片对齐方式 */
241
+ .alignBar {
242
+ position: relative;
243
+ }
244
+
245
+
246
+ .alignBar #videoFloat {
247
+ zoom: 1;
248
+ position: relative;
249
+ width: 100%;
250
+ border-radius: 4px;
251
+ height: 24px;
252
+ display: flex;
253
+ flex-direction: row;
254
+ justify-content: flex-start;
255
+ align-items: center;
256
+ margin-top: 4px;
257
+ }
258
+
259
+ .alignBar #videoFloat div {
260
+ box-sizing: border-box;
261
+ cursor: pointer;
262
+ display: block;
263
+ flex: 1;
264
+ height: 24px;
265
+ background-repeat: no-repeat;
266
+ background-size: 16px 16px;
267
+ background-position: center center;
268
+ border: 1px solid #DCDDE5;
269
+ }
270
+
271
+ .alignBar #videoFloat div:nth-child(1) {
272
+ border-top-left-radius: 4px;
273
+ border-bottom-left-radius: 4px;
274
+ }
275
+
276
+ .alignBar #videoFloat div:nth-child(4) {
277
+ border-top-right-radius: 4px;
278
+ border-bottom-right-radius: 4px;
279
+ }
280
+
281
+ .alignBar #videoFloat div.focus{
282
+ border-color: #417FFB;
283
+ }
284
+
285
+ /* #videoFloat div {
286
+ cursor: pointer;
287
+ opacity: 0.5;
288
+ filter: alpha(opacity=50);
289
+ margin: 9px;
290
+ _margin: 5px;
291
+ width: 38px;
292
+ height: 36px;
293
+ float: left;
294
+ } */
295
+
296
+ /* #videoFloat .focus {
297
+ opacity: 1;
298
+ filter: alpha(opacity=100);
299
+ } */
300
+
301
+ span.view {
302
+ display: inline-block;
303
+ width: 30px;
304
+ float: right;
305
+ cursor: pointer;
306
+ color: blue
307
+ }
308
+
309
+
310
+ /* upload video */
311
+ .tabbody #upload.panel {
312
+ width: 0;
313
+ height: 0;
314
+ overflow: hidden;
315
+ position: absolute !important;
316
+ clip: rect(1px, 1px, 1px, 1px);
317
+ background: #fff;
318
+ display: block;
319
+ }
320
+
321
+ .tabbody #upload.panel.focus {
322
+ width: 100%;
323
+ height: 335px;
324
+ display: block;
325
+ clip: auto;
326
+ }
327
+
328
+ #upload_alignment div {
329
+ cursor: pointer;
330
+ opacity: 0.5;
331
+ filter: alpha(opacity=50);
332
+ margin: 9px;
333
+ _margin: 5px;
334
+ width: 38px;
335
+ height: 36px;
336
+ float: left;
337
+ }
338
+
339
+ #upload_alignment .focus {
340
+ opacity: 1;
341
+ filter: alpha(opacity=100)
342
+ }
343
+
344
+ #upload_left {
345
+ width: 427px;
346
+ float: left;
347
+ }
348
+
349
+ #upload_left .controller {
350
+ height: 30px;
351
+ clear: both;
352
+ }
353
+
354
+ #uploadVideoInfo {
355
+ margin-top: 10px;
356
+ float: right;
357
+ padding-right: 8px;
358
+ }
359
+
360
+ #upload .queueList {
361
+ margin: 0;
362
+ }
363
+
364
+ #upload p {
365
+ margin: 0;
366
+ }
367
+
368
+ .element-invisible {
369
+ width: 0 !important;
370
+ height: 0 !important;
371
+ border: 0;
372
+ padding: 0;
373
+ margin: 0;
374
+ overflow: hidden;
375
+ position: absolute !important;
376
+ clip: rect(1px, 1px, 1px, 1px);
377
+ }
378
+
379
+ #upload .placeholder {
380
+ margin: 10px;
381
+ margin-right: 0;
382
+ border: 2px dashed #e6e6e6;
383
+ *border: 0px dashed #e6e6e6;
384
+ height: 161px;
385
+ padding-top: 150px;
386
+ text-align: center;
387
+ width: 97%;
388
+ float: left;
389
+ background: url(./images/image.png) center 70px no-repeat;
390
+ color: #cccccc;
391
+ font-size: 18px;
392
+ position: relative;
393
+ top: 0;
394
+ *margin-left: 0;
395
+ *left: 10px;
396
+ }
397
+
398
+ #upload .placeholder .webuploader-pick {
399
+ font-size: 18px;
400
+ background: #00b7ee;
401
+ border-radius: 3px;
402
+ line-height: 44px;
403
+ padding: 0 30px;
404
+ *width: 120px;
405
+ color: #fff;
406
+ display: inline-block;
407
+ margin: 0 auto 20px auto;
408
+ cursor: pointer;
409
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
410
+ }
411
+
412
+ #upload .placeholder .webuploader-pick-hover {
413
+ background: #00a2d4;
414
+ }
415
+
416
+
417
+ #filePickerContainer {
418
+ text-align: center;
419
+ }
420
+
421
+ #upload .placeholder .flashTip {
422
+ color: #666666;
423
+ font-size: 12px;
424
+ position: absolute;
425
+ width: 100%;
426
+ text-align: center;
427
+ bottom: 20px;
428
+ }
429
+
430
+ #upload .placeholder .flashTip a {
431
+ color: #0785d1;
432
+ text-decoration: none;
433
+ }
434
+
435
+ #upload .placeholder .flashTip a:hover {
436
+ text-decoration: underline;
437
+ }
438
+
439
+ #upload .placeholder.webuploader-dnd-over {
440
+ border-color: #999999;
441
+ }
442
+
443
+ #upload .filelist {
444
+ list-style: none;
445
+ margin: 0;
446
+ padding: 0;
447
+ overflow-x: hidden;
448
+ overflow-y: auto;
449
+ position: relative;
450
+ height: 285px;
451
+ }
452
+
453
+ #upload .filelist:after {
454
+ content: '';
455
+ display: block;
456
+ width: 0;
457
+ height: 0;
458
+ overflow: hidden;
459
+ clear: both;
460
+ }
461
+
462
+ #upload .filelist li {
463
+ width: 113px;
464
+ height: 113px;
465
+ background: url(./images/bg.png);
466
+ text-align: center;
467
+ margin: 15px 0 0 20px;
468
+ *margin: 15px 0 0 15px;
469
+ position: relative;
470
+ display: block;
471
+ float: left;
472
+ overflow: hidden;
473
+ font-size: 12px;
474
+ }
475
+
476
+ #upload .filelist li p.log {
477
+ position: relative;
478
+ top: -45px;
479
+ }
480
+
481
+ #upload .filelist li p.title {
482
+ position: absolute;
483
+ top: 0;
484
+ left: 0;
485
+ width: 100%;
486
+ overflow: hidden;
487
+ white-space: nowrap;
488
+ text-overflow: ellipsis;
489
+ top: 5px;
490
+ text-indent: 5px;
491
+ text-align: left;
492
+ }
493
+
494
+ #upload .filelist li p.progress {
495
+ position: absolute;
496
+ width: 100%;
497
+ bottom: 0;
498
+ left: 0;
499
+ height: 8px;
500
+ overflow: hidden;
501
+ z-index: 50;
502
+ margin: 0;
503
+ border-radius: 0;
504
+ background: none;
505
+ -webkit-box-shadow: 0 0 0;
506
+ }
507
+
508
+ #upload .filelist li p.progress span {
509
+ display: none;
510
+ overflow: hidden;
511
+ width: 0;
512
+ height: 100%;
513
+ background: #1483d8 url(./images/progress.png) repeat-x;
514
+
515
+ -webit-transition: width 200ms linear;
516
+ -moz-transition: width 200ms linear;
517
+ -o-transition: width 200ms linear;
518
+ -ms-transition: width 200ms linear;
519
+ transition: width 200ms linear;
520
+
521
+ -webkit-animation: progressmove 2s linear infinite;
522
+ -moz-animation: progressmove 2s linear infinite;
523
+ -o-animation: progressmove 2s linear infinite;
524
+ -ms-animation: progressmove 2s linear infinite;
525
+ animation: progressmove 2s linear infinite;
526
+
527
+ -webkit-transform: translateZ(0);
528
+ }
529
+
530
+ @-webkit-keyframes progressmove {
531
+ 0% {
532
+ background-position: 0 0;
533
+ }
534
+ 100% {
535
+ background-position: 17px 0;
536
+ }
537
+ }
538
+
539
+ @-moz-keyframes progressmove {
540
+ 0% {
541
+ background-position: 0 0;
542
+ }
543
+ 100% {
544
+ background-position: 17px 0;
545
+ }
546
+ }
547
+
548
+ @keyframes progressmove {
549
+ 0% {
550
+ background-position: 0 0;
551
+ }
552
+ 100% {
553
+ background-position: 17px 0;
554
+ }
555
+ }
556
+
557
+ #upload .filelist li p.imgWrap {
558
+ position: relative;
559
+ z-index: 2;
560
+ line-height: 113px;
561
+ vertical-align: middle;
562
+ overflow: hidden;
563
+ width: 113px;
564
+ height: 113px;
565
+
566
+ -webkit-transform-origin: 50% 50%;
567
+ -moz-transform-origin: 50% 50%;
568
+ -o-transform-origin: 50% 50%;
569
+ -ms-transform-origin: 50% 50%;
570
+ transform-origin: 50% 50%;
571
+
572
+ -webit-transition: 200ms ease-out;
573
+ -moz-transition: 200ms ease-out;
574
+ -o-transition: 200ms ease-out;
575
+ -ms-transition: 200ms ease-out;
576
+ transition: 200ms ease-out;
577
+ }
578
+
579
+ #upload .filelist li p.imgWrap.notimage {
580
+ margin-top: 0;
581
+ width: 111px;
582
+ height: 111px;
583
+ border: 1px #eeeeee solid;
584
+ }
585
+
586
+ #upload .filelist li p.imgWrap.notimage i.file-preview {
587
+ margin-top: 15px;
588
+ }
589
+
590
+ #upload .filelist li img {
591
+ width: 100%;
592
+ }
593
+
594
+ #upload .filelist li p.error {
595
+ background: #f43838;
596
+ color: #fff;
597
+ position: absolute;
598
+ bottom: 0;
599
+ left: 0;
600
+ height: 28px;
601
+ line-height: 28px;
602
+ width: 100%;
603
+ z-index: 100;
604
+ display: none;
605
+ }
606
+
607
+ #upload .filelist li .success {
608
+ display: block;
609
+ position: absolute;
610
+ left: 0;
611
+ bottom: 0;
612
+ height: 40px;
613
+ width: 100%;
614
+ z-index: 200;
615
+ background: url(./images/success.png) no-repeat right bottom;
616
+ background-image: url(./images/success.gif) \9;
617
+ }
618
+
619
+ #upload .filelist li.filePickerBlock {
620
+ width: 113px;
621
+ height: 113px;
622
+ background: url(./images/image.png) no-repeat center 12px;
623
+ border: 1px solid #eeeeee;
624
+ border-radius: 0;
625
+ }
626
+
627
+ #upload .filelist li.filePickerBlock div.webuploader-pick {
628
+ width: 100%;
629
+ height: 100%;
630
+ margin: 0;
631
+ padding: 0;
632
+ opacity: 0;
633
+ background: none;
634
+ font-size: 0;
635
+ }
636
+
637
+ #upload .filelist div.file-panel {
638
+ position: absolute;
639
+ height: 0;
640
+ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
641
+ background: rgba(0, 0, 0, 0.5);
642
+ width: 100%;
643
+ top: 0;
644
+ left: 0;
645
+ overflow: hidden;
646
+ z-index: 300;
647
+ }
648
+
649
+ #upload .filelist div.file-panel span {
650
+ width: 24px;
651
+ height: 24px;
652
+ display: inline;
653
+ float: right;
654
+ text-indent: -9999px;
655
+ overflow: hidden;
656
+ background: url(./images/icons.png) no-repeat;
657
+ background: url(./images/icons.gif) no-repeat \9;
658
+ margin: 5px 1px 1px;
659
+ cursor: pointer;
660
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
661
+ -webkit-user-select: none;
662
+ -moz-user-select: none;
663
+ -ms-user-select: none;
664
+ user-select: none;
665
+ }
666
+
667
+ #upload .filelist div.file-panel span.rotateLeft {
668
+ display: none;
669
+ background-position: 0 -24px;
670
+ }
671
+
672
+ #upload .filelist div.file-panel span.rotateLeft:hover {
673
+ background-position: 0 0;
674
+ }
675
+
676
+ #upload .filelist div.file-panel span.rotateRight {
677
+ display: none;
678
+ background-position: -24px -24px;
679
+ }
680
+
681
+ #upload .filelist div.file-panel span.rotateRight:hover {
682
+ background-position: -24px 0;
683
+ }
684
+
685
+ #upload .filelist div.file-panel span.cancel {
686
+ background-position: -48px -24px;
687
+ }
688
+
689
+ #upload .filelist div.file-panel span.cancel:hover {
690
+ background-position: -48px 0;
691
+ }
692
+
693
+ #upload .statusBar {
694
+ height: 45px;
695
+ border-bottom: 1px solid #dadada;
696
+ margin: 0 10px;
697
+ padding: 0;
698
+ line-height: 45px;
699
+ vertical-align: middle;
700
+ position: relative;
701
+ }
702
+
703
+ #upload .statusBar .progress {
704
+ border: 1px solid #1483d8;
705
+ width: 198px;
706
+ background: #fff;
707
+ height: 18px;
708
+ position: absolute;
709
+ top: 12px;
710
+ display: none;
711
+ text-align: center;
712
+ line-height: 18px;
713
+ color: #6dbfff;
714
+ margin: 0 10px 0 0;
715
+ }
716
+
717
+ #upload .statusBar .progress span.percentage {
718
+ width: 0;
719
+ height: 100%;
720
+ left: 0;
721
+ top: 0;
722
+ background: #1483d8;
723
+ position: absolute;
724
+ }
725
+
726
+ #upload .statusBar .progress span.text {
727
+ position: relative;
728
+ z-index: 10;
729
+ }
730
+
731
+ #upload .statusBar .info {
732
+ display: inline-block;
733
+ font-size: 14px;
734
+ color: #666666;
735
+ }
736
+
737
+ #upload .statusBar .btns {
738
+ position: absolute;
739
+ top: 7px;
740
+ right: 0;
741
+ line-height: 30px;
742
+ }
743
+
744
+ #filePickerBtn {
745
+ display: inline-block;
746
+ float: left;
747
+ }
748
+
749
+ #upload .statusBar .btns .webuploader-pick,
750
+ #upload .statusBar .btns .uploadBtn,
751
+ #upload .statusBar .btns .uploadBtn.state-uploading,
752
+ #upload .statusBar .btns .uploadBtn.state-paused {
753
+ background: #ffffff;
754
+ border: 1px solid #cfcfcf;
755
+ color: #565656;
756
+ padding: 0 18px;
757
+ display: inline-block;
758
+ border-radius: 3px;
759
+ margin-left: 10px;
760
+ cursor: pointer;
761
+ font-size: 14px;
762
+ float: left;
763
+ -webkit-user-select: none;
764
+ -moz-user-select: none;
765
+ -ms-user-select: none;
766
+ user-select: none;
767
+ }
768
+
769
+ #upload .statusBar .btns .webuploader-pick-hover,
770
+ #upload .statusBar .btns .uploadBtn:hover,
771
+ #upload .statusBar .btns .uploadBtn.state-uploading:hover,
772
+ #upload .statusBar .btns .uploadBtn.state-paused:hover {
773
+ background: #f0f0f0;
774
+ }
775
+
776
+ #upload .statusBar .btns .uploadBtn,
777
+ #upload .statusBar .btns .uploadBtn.state-paused {
778
+ background: #00b7ee;
779
+ color: #fff;
780
+ border-color: transparent;
781
+ }
782
+
783
+ #upload .statusBar .btns .uploadBtn:hover,
784
+ #upload .statusBar .btns .uploadBtn.state-paused:hover {
785
+ background: #00a2d4;
786
+ }
787
+
788
+ #upload .statusBar .btns .uploadBtn.disabled {
789
+ pointer-events: none;
790
+ filter: alpha(opacity=60);
791
+ -moz-opacity: 0.6;
792
+ -khtml-opacity: 0.6;
793
+ opacity: 0.6;
794
+ }
795
+
796
+
797
+ /* 在线文件的文件预览图标 */
798
+ i.file-preview {
799
+ display: block;
800
+ margin: 10px auto;
801
+ width: 70px;
802
+ height: 70px;
803
+ background-image: url("./images/file-icons.png");
804
+ background-image: url("./images/file-icons.gif") \9;
805
+ background-position: -140px center;
806
+ background-repeat: no-repeat;
807
+ }
808
+
809
+ i.file-preview.file-type-dir {
810
+ background-position: 0 center;
811
+ }
812
+
813
+ i.file-preview.file-type-file {
814
+ background-position: -140px center;
815
+ }
816
+
817
+ i.file-preview.file-type-filelist {
818
+ background-position: -210px center;
819
+ }
820
+
821
+ i.file-preview.file-type-zip,
822
+ i.file-preview.file-type-rar,
823
+ i.file-preview.file-type-7z,
824
+ i.file-preview.file-type-tar,
825
+ i.file-preview.file-type-gz,
826
+ i.file-preview.file-type-bz2 {
827
+ background-position: -280px center;
828
+ }
829
+
830
+ i.file-preview.file-type-xls,
831
+ i.file-preview.file-type-xlsx {
832
+ background-position: -350px center;
833
+ }
834
+
835
+ i.file-preview.file-type-doc,
836
+ i.file-preview.file-type-docx {
837
+ background-position: -420px center;
838
+ }
839
+
840
+ i.file-preview.file-type-ppt,
841
+ i.file-preview.file-type-pptx {
842
+ background-position: -490px center;
843
+ }
844
+
845
+ i.file-preview.file-type-vsd {
846
+ background-position: -560px center;
847
+ }
848
+
849
+ i.file-preview.file-type-pdf {
850
+ background-position: -630px center;
851
+ }
852
+
853
+ i.file-preview.file-type-txt,
854
+ i.file-preview.file-type-md,
855
+ i.file-preview.file-type-json,
856
+ i.file-preview.file-type-htm,
857
+ i.file-preview.file-type-xml,
858
+ i.file-preview.file-type-html,
859
+ i.file-preview.file-type-js,
860
+ i.file-preview.file-type-css,
861
+ i.file-preview.file-type-php,
862
+ i.file-preview.file-type-jsp,
863
+ i.file-preview.file-type-asp {
864
+ background-position: -700px center;
865
+ }
866
+
867
+ i.file-preview.file-type-apk {
868
+ background-position: -770px center;
869
+ }
870
+
871
+ i.file-preview.file-type-exe {
872
+ background-position: -840px center;
873
+ }
874
+
875
+ i.file-preview.file-type-ipa {
876
+ background-position: -910px center;
877
+ }
878
+
879
+ i.file-preview.file-type-mp4,
880
+ i.file-preview.file-type-swf,
881
+ i.file-preview.file-type-mkv,
882
+ i.file-preview.file-type-avi,
883
+ i.file-preview.file-type-flv,
884
+ i.file-preview.file-type-mov,
885
+ i.file-preview.file-type-mpg,
886
+ i.file-preview.file-type-mpeg,
887
+ i.file-preview.file-type-ogv,
888
+ i.file-preview.file-type-webm,
889
+ i.file-preview.file-type-rm,
890
+ i.file-preview.file-type-rmvb {
891
+ background-position: -980px center;
892
+ }
893
+
894
+ i.file-preview.file-type-ogg,
895
+ i.file-preview.file-type-wav,
896
+ i.file-preview.file-type-wmv,
897
+ i.file-preview.file-type-mid,
898
+ i.file-preview.file-type-mp3 {
899
+ background-position: -1050px center;
900
+ }
901
+
902
+ i.file-preview.file-type-jpg,
903
+ i.file-preview.file-type-jpeg,
904
+ i.file-preview.file-type-gif,
905
+ i.file-preview.file-type-bmp,
906
+ i.file-preview.file-type-png,
907
+ i.file-preview.file-type-psd {
908
+ background-position: -140px center;
909
+ }