baidu_ueditor_rails5 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/baidu_ueditor.js +1 -1
  4. data/app/assets/javascripts/ueditor/dialogs/anchor/anchor.html +40 -0
  5. data/app/assets/javascripts/ueditor/dialogs/attachment/attachment.css +681 -0
  6. data/app/assets/javascripts/ueditor/dialogs/attachment/attachment.html +60 -0
  7. data/app/assets/javascripts/ueditor/dialogs/attachment/attachment.js +754 -0
  8. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
  9. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
  10. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
  11. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
  12. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
  13. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
  14. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
  15. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
  16. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
  17. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
  18. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
  19. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
  20. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
  21. data/app/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.gif +0 -0
  22. data/app/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.png +0 -0
  23. data/app/assets/javascripts/ueditor/dialogs/attachment/images/bg.png +0 -0
  24. data/app/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.gif +0 -0
  25. data/app/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.png +0 -0
  26. data/app/assets/javascripts/ueditor/dialogs/attachment/images/icons.gif +0 -0
  27. data/app/assets/javascripts/ueditor/dialogs/attachment/images/icons.png +0 -0
  28. data/app/assets/javascripts/ueditor/dialogs/attachment/images/image.png +0 -0
  29. data/app/assets/javascripts/ueditor/dialogs/attachment/images/progress.png +0 -0
  30. data/app/assets/javascripts/ueditor/dialogs/attachment/images/success.gif +0 -0
  31. data/app/assets/javascripts/ueditor/dialogs/attachment/images/success.png +0 -0
  32. data/app/assets/javascripts/ueditor/dialogs/background/background.css +94 -0
  33. data/app/assets/javascripts/ueditor/dialogs/background/background.html +56 -0
  34. data/app/assets/javascripts/ueditor/dialogs/background/background.js +376 -0
  35. data/app/assets/javascripts/ueditor/dialogs/background/images/bg.png +0 -0
  36. data/app/assets/javascripts/ueditor/dialogs/background/images/success.png +0 -0
  37. data/app/assets/javascripts/ueditor/dialogs/charts/chart.config.js +65 -0
  38. data/app/assets/javascripts/ueditor/dialogs/charts/charts.css +165 -0
  39. data/app/assets/javascripts/ueditor/dialogs/charts/charts.html +89 -0
  40. data/app/assets/javascripts/ueditor/dialogs/charts/charts.js +519 -0
  41. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts0.png +0 -0
  42. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts1.png +0 -0
  43. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts2.png +0 -0
  44. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts3.png +0 -0
  45. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts4.png +0 -0
  46. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts5.png +0 -0
  47. data/app/assets/javascripts/ueditor/dialogs/emotion/emotion.css +43 -0
  48. data/app/assets/javascripts/ueditor/dialogs/emotion/emotion.html +54 -0
  49. data/app/assets/javascripts/ueditor/dialogs/emotion/emotion.js +186 -0
  50. data/app/assets/javascripts/ueditor/dialogs/emotion/images/0.gif +0 -0
  51. data/app/assets/javascripts/ueditor/dialogs/emotion/images/bface.gif +0 -0
  52. data/app/assets/javascripts/ueditor/dialogs/emotion/images/cface.gif +0 -0
  53. data/app/assets/javascripts/ueditor/dialogs/emotion/images/fface.gif +0 -0
  54. data/app/assets/javascripts/ueditor/dialogs/emotion/images/jxface2.gif +0 -0
  55. data/app/assets/javascripts/ueditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  56. data/app/assets/javascripts/ueditor/dialogs/emotion/images/tface.gif +0 -0
  57. data/app/assets/javascripts/ueditor/dialogs/emotion/images/wface.gif +0 -0
  58. data/app/assets/javascripts/ueditor/dialogs/emotion/images/yface.gif +0 -0
  59. data/app/assets/javascripts/ueditor/dialogs/gmap/gmap.html +89 -0
  60. data/app/assets/javascripts/ueditor/dialogs/help/help.css +7 -0
  61. data/app/assets/javascripts/ueditor/dialogs/help/help.html +82 -0
  62. data/app/assets/javascripts/ueditor/dialogs/help/help.js +56 -0
  63. data/app/assets/javascripts/ueditor/dialogs/image/image.css +894 -0
  64. data/app/assets/javascripts/ueditor/dialogs/image/image.html +120 -0
  65. data/app/assets/javascripts/ueditor/dialogs/image/image.js +1142 -0
  66. data/app/assets/javascripts/ueditor/dialogs/image/images/alignicon.jpg +0 -0
  67. data/app/assets/javascripts/ueditor/dialogs/image/images/bg.png +0 -0
  68. data/app/assets/javascripts/ueditor/dialogs/image/images/icons.gif +0 -0
  69. data/app/assets/javascripts/ueditor/dialogs/image/images/icons.png +0 -0
  70. data/app/assets/javascripts/ueditor/dialogs/image/images/image.png +0 -0
  71. data/app/assets/javascripts/ueditor/dialogs/image/images/progress.png +0 -0
  72. data/app/assets/javascripts/ueditor/dialogs/image/images/success.gif +0 -0
  73. data/app/assets/javascripts/ueditor/dialogs/image/images/success.png +0 -0
  74. data/app/assets/javascripts/ueditor/dialogs/insertframe/insertframe.html +98 -0
  75. data/app/assets/javascripts/ueditor/dialogs/internal.js +81 -0
  76. data/app/assets/javascripts/ueditor/dialogs/link/link.html +126 -0
  77. data/app/assets/javascripts/ueditor/dialogs/map/map.html +135 -0
  78. data/app/assets/javascripts/ueditor/dialogs/map/show.html +118 -0
  79. data/app/assets/javascripts/ueditor/dialogs/music/music.css +30 -0
  80. data/app/assets/javascripts/ueditor/dialogs/music/music.html +32 -0
  81. data/app/assets/javascripts/ueditor/dialogs/music/music.js +192 -0
  82. data/app/assets/javascripts/ueditor/dialogs/preview/preview.html +40 -0
  83. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/addimg.png +0 -0
  84. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/brush.png +0 -0
  85. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/delimg.png +0 -0
  86. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/delimgH.png +0 -0
  87. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/empty.png +0 -0
  88. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/emptyH.png +0 -0
  89. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/eraser.png +0 -0
  90. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/redo.png +0 -0
  91. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/redoH.png +0 -0
  92. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/scale.png +0 -0
  93. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/scaleH.png +0 -0
  94. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/size.png +0 -0
  95. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/undo.png +0 -0
  96. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/undoH.png +0 -0
  97. data/app/assets/javascripts/ueditor/dialogs/scrawl/scrawl.css +72 -0
  98. data/app/assets/javascripts/ueditor/dialogs/scrawl/scrawl.html +95 -0
  99. data/app/assets/javascripts/ueditor/dialogs/scrawl/scrawl.js +671 -0
  100. data/app/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.html +102 -0
  101. data/app/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.js +164 -0
  102. data/app/assets/javascripts/ueditor/dialogs/snapscreen/snapscreen.html +58 -0
  103. data/app/assets/javascripts/ueditor/dialogs/spechars/spechars.html +21 -0
  104. data/app/assets/javascripts/ueditor/dialogs/spechars/spechars.js +57 -0
  105. data/app/assets/javascripts/ueditor/dialogs/table/dragicon.png +0 -0
  106. data/app/assets/javascripts/ueditor/dialogs/table/edittable.css +84 -0
  107. data/app/assets/javascripts/ueditor/dialogs/table/edittable.html +64 -0
  108. data/app/assets/javascripts/ueditor/dialogs/table/edittable.js +237 -0
  109. data/app/assets/javascripts/ueditor/dialogs/table/edittd.html +61 -0
  110. data/app/assets/javascripts/ueditor/dialogs/table/edittip.html +33 -0
  111. data/app/assets/javascripts/ueditor/dialogs/template/config.js +42 -0
  112. data/app/assets/javascripts/ueditor/dialogs/template/images/bg.gif +0 -0
  113. data/app/assets/javascripts/ueditor/dialogs/template/images/pre0.png +0 -0
  114. data/app/assets/javascripts/ueditor/dialogs/template/images/pre1.png +0 -0
  115. data/app/assets/javascripts/ueditor/dialogs/template/images/pre2.png +0 -0
  116. data/app/assets/javascripts/ueditor/dialogs/template/images/pre3.png +0 -0
  117. data/app/assets/javascripts/ueditor/dialogs/template/images/pre4.png +0 -0
  118. data/app/assets/javascripts/ueditor/dialogs/template/template.css +18 -0
  119. data/app/assets/javascripts/ueditor/dialogs/template/template.html +26 -0
  120. data/app/assets/javascripts/ueditor/dialogs/template/template.js +53 -0
  121. data/app/assets/javascripts/ueditor/dialogs/video/images/bg.png +0 -0
  122. data/app/assets/javascripts/ueditor/dialogs/video/images/center_focus.jpg +0 -0
  123. data/app/assets/javascripts/ueditor/dialogs/video/images/file-icons.gif +0 -0
  124. data/app/assets/javascripts/ueditor/dialogs/video/images/file-icons.png +0 -0
  125. data/app/assets/javascripts/ueditor/dialogs/video/images/icons.gif +0 -0
  126. data/app/assets/javascripts/ueditor/dialogs/video/images/icons.png +0 -0
  127. data/app/assets/javascripts/ueditor/dialogs/video/images/image.png +0 -0
  128. data/app/assets/javascripts/ueditor/dialogs/video/images/left_focus.jpg +0 -0
  129. data/app/assets/javascripts/ueditor/dialogs/video/images/none_focus.jpg +0 -0
  130. data/app/assets/javascripts/ueditor/dialogs/video/images/progress.png +0 -0
  131. data/app/assets/javascripts/ueditor/dialogs/video/images/right_focus.jpg +0 -0
  132. data/app/assets/javascripts/ueditor/dialogs/video/images/success.gif +0 -0
  133. data/app/assets/javascripts/ueditor/dialogs/video/images/success.png +0 -0
  134. data/app/assets/javascripts/ueditor/dialogs/video/video.css +635 -0
  135. data/app/assets/javascripts/ueditor/dialogs/video/video.html +86 -0
  136. data/app/assets/javascripts/ueditor/dialogs/video/video.js +791 -0
  137. data/app/assets/javascripts/ueditor/dialogs/webapp/webapp.html +53 -0
  138. data/app/assets/javascripts/ueditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
  139. data/app/assets/javascripts/ueditor/dialogs/wordimage/imageUploader.swf +0 -0
  140. data/app/assets/javascripts/ueditor/dialogs/wordimage/tangram.js +1495 -0
  141. data/app/assets/javascripts/ueditor/dialogs/wordimage/wordimage.html +111 -0
  142. data/app/assets/javascripts/ueditor/dialogs/wordimage/wordimage.js +157 -0
  143. data/app/assets/javascripts/ueditor/index.html +175 -0
  144. data/app/assets/javascripts/ueditor/lang/en/en.js +684 -0
  145. data/app/assets/javascripts/ueditor/lang/en/images/addimage.png +0 -0
  146. data/app/assets/javascripts/ueditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
  147. data/app/assets/javascripts/ueditor/lang/en/images/alldeletebtnupskin.png +0 -0
  148. data/app/assets/javascripts/ueditor/lang/en/images/background.png +0 -0
  149. data/app/assets/javascripts/ueditor/lang/en/images/button.png +0 -0
  150. data/app/assets/javascripts/ueditor/lang/en/images/copy.png +0 -0
  151. data/app/assets/javascripts/ueditor/lang/en/images/deletedisable.png +0 -0
  152. data/app/assets/javascripts/ueditor/lang/en/images/deleteenable.png +0 -0
  153. data/app/assets/javascripts/ueditor/lang/en/images/listbackground.png +0 -0
  154. data/app/assets/javascripts/ueditor/lang/en/images/localimage.png +0 -0
  155. data/app/assets/javascripts/ueditor/lang/en/images/music.png +0 -0
  156. data/app/assets/javascripts/ueditor/lang/en/images/rotateleftdisable.png +0 -0
  157. data/app/assets/javascripts/ueditor/lang/en/images/rotateleftenable.png +0 -0
  158. data/app/assets/javascripts/ueditor/lang/en/images/rotaterightdisable.png +0 -0
  159. data/app/assets/javascripts/ueditor/lang/en/images/rotaterightenable.png +0 -0
  160. data/app/assets/javascripts/ueditor/lang/en/images/upload.png +0 -0
  161. data/app/assets/javascripts/ueditor/lang/zh-cn/images/copy.png +0 -0
  162. data/app/assets/javascripts/ueditor/lang/zh-cn/images/localimage.png +0 -0
  163. data/app/assets/javascripts/ueditor/lang/zh-cn/images/music.png +0 -0
  164. data/app/assets/javascripts/ueditor/lang/zh-cn/images/upload.png +0 -0
  165. data/app/assets/javascripts/ueditor/lang/zh-cn/zh-cn.js +669 -0
  166. data/app/assets/javascripts/ueditor/themes/default/css/ueditor.css +1903 -0
  167. data/app/assets/javascripts/ueditor/themes/default/css/ueditor.min.css +8 -0
  168. data/app/assets/javascripts/ueditor/themes/default/dialogbase.css +100 -0
  169. data/app/assets/javascripts/ueditor/themes/default/images/anchor.gif +0 -0
  170. data/app/assets/javascripts/ueditor/themes/default/images/arrow.png +0 -0
  171. data/app/assets/javascripts/ueditor/themes/default/images/arrow_down.png +0 -0
  172. data/app/assets/javascripts/ueditor/themes/default/images/arrow_up.png +0 -0
  173. data/app/assets/javascripts/ueditor/themes/default/images/button-bg.gif +0 -0
  174. data/app/assets/javascripts/ueditor/themes/default/images/cancelbutton.gif +0 -0
  175. data/app/assets/javascripts/ueditor/themes/default/images/charts.png +0 -0
  176. data/app/assets/javascripts/ueditor/themes/default/images/cursor_h.gif +0 -0
  177. data/app/assets/javascripts/ueditor/themes/default/images/cursor_h.png +0 -0
  178. data/app/assets/javascripts/ueditor/themes/default/images/cursor_v.gif +0 -0
  179. data/app/assets/javascripts/ueditor/themes/default/images/cursor_v.png +0 -0
  180. data/app/assets/javascripts/ueditor/themes/default/images/dialog-title-bg.png +0 -0
  181. data/app/assets/javascripts/ueditor/themes/default/images/filescan.png +0 -0
  182. data/app/assets/javascripts/ueditor/themes/default/images/highlighted.gif +0 -0
  183. data/app/assets/javascripts/ueditor/themes/default/images/icons-all.gif +0 -0
  184. data/app/assets/javascripts/ueditor/themes/default/images/icons.gif +0 -0
  185. data/app/assets/javascripts/ueditor/themes/default/images/icons.png +0 -0
  186. data/app/assets/javascripts/ueditor/themes/default/images/loaderror.png +0 -0
  187. data/app/assets/javascripts/ueditor/themes/default/images/loading.gif +0 -0
  188. data/app/assets/javascripts/ueditor/themes/default/images/lock.gif +0 -0
  189. data/app/assets/javascripts/ueditor/themes/default/images/neweditor-tab-bg.png +0 -0
  190. data/app/assets/javascripts/ueditor/themes/default/images/pagebreak.gif +0 -0
  191. data/app/assets/javascripts/ueditor/themes/default/images/scale.png +0 -0
  192. data/app/assets/javascripts/ueditor/themes/default/images/sortable.png +0 -0
  193. data/app/assets/javascripts/ueditor/themes/default/images/spacer.gif +0 -0
  194. data/app/assets/javascripts/ueditor/themes/default/images/sparator_v.png +0 -0
  195. data/app/assets/javascripts/ueditor/themes/default/images/table-cell-align.png +0 -0
  196. data/app/assets/javascripts/ueditor/themes/default/images/tangram-colorpicker.png +0 -0
  197. data/app/assets/javascripts/ueditor/themes/default/images/toolbar_bg.png +0 -0
  198. data/app/assets/javascripts/ueditor/themes/default/images/unhighlighted.gif +0 -0
  199. data/app/assets/javascripts/ueditor/themes/default/images/upload.png +0 -0
  200. data/app/assets/javascripts/ueditor/themes/default/images/videologo.gif +0 -0
  201. data/app/assets/javascripts/ueditor/themes/default/images/word.gif +0 -0
  202. data/app/assets/javascripts/ueditor/themes/default/images/wordpaste.png +0 -0
  203. data/app/assets/javascripts/ueditor/themes/iframe.css +1 -0
  204. data/app/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCore.js +3655 -0
  205. data/app/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css +1 -0
  206. data/app/assets/javascripts/ueditor/third-party/codemirror/codemirror.css +104 -0
  207. data/app/assets/javascripts/ueditor/third-party/codemirror/codemirror.js +3581 -0
  208. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.js +13 -0
  209. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.src.js +313 -0
  210. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.js +15 -0
  211. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.src.js +316 -0
  212. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.js +17 -0
  213. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.src.js +583 -0
  214. data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.js +50 -0
  215. data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.src.js +2430 -0
  216. data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts.js +283 -0
  217. data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts.src.js +16974 -0
  218. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.js +7 -0
  219. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.src.js +401 -0
  220. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.js +133 -0
  221. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.src.js +3113 -0
  222. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/data.js +17 -0
  223. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/data.src.js +582 -0
  224. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.js +11 -0
  225. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.src.js +447 -0
  226. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.js +22 -0
  227. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.src.js +709 -0
  228. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.js +12 -0
  229. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.src.js +289 -0
  230. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.js +1 -0
  231. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.src.js +53 -0
  232. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/map.js +27 -0
  233. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/map.src.js +1002 -0
  234. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js +12 -0
  235. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.src.js +128 -0
  236. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/dark-blue.js +254 -0
  237. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/dark-green.js +255 -0
  238. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/gray.js +257 -0
  239. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js +103 -0
  240. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/skies.js +89 -0
  241. data/app/assets/javascripts/ueditor/third-party/jquery-1.10.2.js +9789 -0
  242. data/app/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.js +6 -0
  243. data/app/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.map +1 -0
  244. data/app/assets/javascripts/ueditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
  245. data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.eot +0 -0
  246. data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.svg +65 -0
  247. data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.ttf +0 -0
  248. data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.woff +0 -0
  249. data/app/assets/javascripts/ueditor/third-party/video-js/video-js.css +766 -0
  250. data/app/assets/javascripts/ueditor/third-party/video-js/video-js.min.css +5 -0
  251. data/app/assets/javascripts/ueditor/third-party/video-js/video-js.swf +0 -0
  252. data/app/assets/javascripts/ueditor/third-party/video-js/video.dev.js +7108 -0
  253. data/app/assets/javascripts/ueditor/third-party/video-js/video.js +129 -0
  254. data/app/assets/javascripts/ueditor/third-party/webuploader/Uploader.swf +0 -0
  255. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.css +28 -0
  256. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.js +5670 -0
  257. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.min.js +2 -0
  258. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.js +4176 -0
  259. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.min.js +2 -0
  260. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.js +5559 -0
  261. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.min.js +2 -0
  262. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.js +6733 -0
  263. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.min.js +2 -0
  264. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.js +4593 -0
  265. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.min.js +2 -0
  266. data/app/assets/javascripts/ueditor/third-party/xss.min.js +1 -0
  267. data/app/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.js +1256 -0
  268. data/app/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js +9 -0
  269. data/app/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
  270. data/app/assets/javascripts/ueditor/ueditor.all.js +29568 -0
  271. data/app/assets/javascripts/ueditor/ueditor.all.min.js +18 -0
  272. data/app/assets/javascripts/ueditor/ueditor.config.js +497 -0
  273. data/app/assets/javascripts/ueditor/ueditor.parse.js +1022 -0
  274. data/app/assets/javascripts/ueditor/ueditor.parse.min.js +7 -0
  275. data/app/assets/javascripts/{ueditor → ueditor_custom}/preinit.js.erb +0 -0
  276. data/lib/baidu_ueditor_rails/version.rb +1 -1
  277. metadata +292 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b904f63166aac4adf820ee0c39b1dc630db074a620003056daac227f11519a95
4
- data.tar.gz: e550e093386c0552adaf1086a2d8c0bb8de65d3975ef22725237a2d3bcc1bc09
3
+ metadata.gz: '08c28b17dec426666bd91bfaf4882fa6294f123464e36bf123035655ca163537'
4
+ data.tar.gz: abd72404704c1dfd7b4735c41b7d9c32c070fc2e2b54b46b39b74755c962f22e
5
5
  SHA512:
6
- metadata.gz: 974ba5af876471c7798f67de0fc54758c03e5dd9adf97990803a80d700718010069a6302e573718c698fa94d3025b9715daf6784fb3078434b04db815090a3c9
7
- data.tar.gz: 22c1107a8c1dc84ae4fda7c86f76238fb3c93fdcfb1e0fe3eb4c7d65f0b33011c45000dbf92c053a55068cc552b132d057477f7fbbcc9c89a819ee134775b27e
6
+ metadata.gz: 53f99815b3bbbe70000ffa4734ea1b2dde96caa5f0640f1b4027257e0e4a22b258237ad014c2e2c602ea20f08245b68b047e86e3be33b6f9bd9e7454daf7cca1
7
+ data.tar.gz: 3c48ef925c4b78331b0b4e5a30fee5d4a3320297166eb461d61b8b563b04d99309491408ff512e27a4a5b82846d51b6198c6861bded64c6c7555f82d646f8c14
data/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  Add this line to your application's Gemfile:
13
13
 
14
- gem 'baidu_ueditor_rails5', github: 'doabit/baidu_ueditor_rails'
14
+ gem 'baidu_ueditor_rails5', github: 'doabit/baidu_ueditor_rails', reqiure: 'baidu_ueditor_rails'
15
15
 
16
16
  And then execute:
17
17
 
@@ -10,7 +10,7 @@
10
10
  // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
11
  // GO AFTER THE REQUIRES BELOW.
12
12
  //
13
- //= require ueditor/preinit
13
+ //= require ueditor_custom/preinit
14
14
  //= require ueditor/ueditor.config
15
15
  //= require ueditor/ueditor.all
16
16
 
@@ -0,0 +1,40 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
+ "http://www.w3.org/TR/html4/loose.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6
+ <title></title>
7
+ <style type="text/css">
8
+ *{color: #838383;margin: 0;padding: 0}
9
+ html,body {font-size: 12px;overflow: hidden; }
10
+ .content{padding:5px 0 0 15px;}
11
+ input{width:210px;height:21px;line-height:21px;margin-left: 4px;}
12
+ </style>
13
+ </head>
14
+ <body>
15
+ <div class="content">
16
+ <span><var id="lang_input_anchorName"></var></span><input id="anchorName" value="" />
17
+ </div>
18
+ <script type="text/javascript" src="../internal.js"></script>
19
+ <script type="text/javascript">
20
+ var anchorInput = $G('anchorName'),
21
+ node = editor.selection.getRange().getClosedNode();
22
+ if(node && node.tagName == 'IMG' && (node = node.getAttribute('anchorname'))){
23
+ anchorInput.value = node;
24
+ }
25
+ anchorInput.onkeydown = function(evt){
26
+ evt = evt || window.event;
27
+ if(evt.keyCode == 13){
28
+ editor.execCommand('anchor', anchorInput.value);
29
+ dialog.close();
30
+ domUtils.preventDefault(evt)
31
+ }
32
+ };
33
+ dialog.onok = function (){
34
+ editor.execCommand('anchor', anchorInput.value);
35
+ dialog.close();
36
+ };
37
+ $focus(anchorInput);
38
+ </script>
39
+ </body>
40
+ </html>
@@ -0,0 +1,681 @@
1
+ @charset "utf-8";
2
+ /* dialog样式 */
3
+ .wrapper {
4
+ zoom: 1;
5
+ width: 630px;
6
+ *width: 626px;
7
+ height: 380px;
8
+ margin: 0 auto;
9
+ padding: 10px;
10
+ position: relative;
11
+ font-family: sans-serif;
12
+ }
13
+
14
+ /*tab样式框大小*/
15
+ .tabhead {
16
+ float:left;
17
+ }
18
+ .tabbody {
19
+ width: 100%;
20
+ height: 346px;
21
+ position: relative;
22
+ clear: both;
23
+ }
24
+
25
+ .tabbody .panel {
26
+ position: absolute;
27
+ width: 0;
28
+ height: 0;
29
+ background: #fff;
30
+ overflow: hidden;
31
+ display: none;
32
+ }
33
+
34
+ .tabbody .panel.focus {
35
+ width: 100%;
36
+ height: 346px;
37
+ display: block;
38
+ }
39
+
40
+ /* 上传附件 */
41
+ .tabbody #upload.panel {
42
+ width: 0;
43
+ height: 0;
44
+ overflow: hidden;
45
+ position: absolute !important;
46
+ clip: rect(1px, 1px, 1px, 1px);
47
+ background: #fff;
48
+ display: block;
49
+ }
50
+
51
+ .tabbody #upload.panel.focus {
52
+ width: 100%;
53
+ height: 346px;
54
+ display: block;
55
+ clip: auto;
56
+ }
57
+
58
+ #upload .queueList {
59
+ margin: 0;
60
+ width: 100%;
61
+ height: 100%;
62
+ position: absolute;
63
+ overflow: hidden;
64
+ }
65
+
66
+ #upload p {
67
+ margin: 0;
68
+ }
69
+
70
+ .element-invisible {
71
+ width: 0 !important;
72
+ height: 0 !important;
73
+ border: 0;
74
+ padding: 0;
75
+ margin: 0;
76
+ overflow: hidden;
77
+ position: absolute !important;
78
+ clip: rect(1px, 1px, 1px, 1px);
79
+ }
80
+
81
+ #upload .placeholder {
82
+ margin: 10px;
83
+ border: 2px dashed #e6e6e6;
84
+ *border: 0px dashed #e6e6e6;
85
+ height: 172px;
86
+ padding-top: 150px;
87
+ text-align: center;
88
+ background: url(./images/image.png) center 70px no-repeat;
89
+ color: #cccccc;
90
+ font-size: 18px;
91
+ position: relative;
92
+ top:0;
93
+ *top: 10px;
94
+ }
95
+
96
+ #upload .placeholder .webuploader-pick {
97
+ font-size: 18px;
98
+ background: #00b7ee;
99
+ border-radius: 3px;
100
+ line-height: 44px;
101
+ padding: 0 30px;
102
+ *width: 120px;
103
+ color: #fff;
104
+ display: inline-block;
105
+ margin: 0 auto 20px auto;
106
+ cursor: pointer;
107
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
108
+ }
109
+
110
+ #upload .placeholder .webuploader-pick-hover {
111
+ background: #00a2d4;
112
+ }
113
+
114
+
115
+ #filePickerContainer {
116
+ text-align: center;
117
+ }
118
+
119
+ #upload .placeholder .flashTip {
120
+ color: #666666;
121
+ font-size: 12px;
122
+ position: absolute;
123
+ width: 100%;
124
+ text-align: center;
125
+ bottom: 20px;
126
+ }
127
+
128
+ #upload .placeholder .flashTip a {
129
+ color: #0785d1;
130
+ text-decoration: none;
131
+ }
132
+
133
+ #upload .placeholder .flashTip a:hover {
134
+ text-decoration: underline;
135
+ }
136
+
137
+ #upload .placeholder.webuploader-dnd-over {
138
+ border-color: #999999;
139
+ }
140
+
141
+ #upload .filelist {
142
+ list-style: none;
143
+ margin: 0;
144
+ padding: 0;
145
+ overflow-x: hidden;
146
+ overflow-y: auto;
147
+ position: relative;
148
+ height: 300px;
149
+ }
150
+
151
+ #upload .filelist:after {
152
+ content: '';
153
+ display: block;
154
+ width: 0;
155
+ height: 0;
156
+ overflow: hidden;
157
+ clear: both;
158
+ }
159
+
160
+ #upload .filelist li {
161
+ width: 113px;
162
+ height: 113px;
163
+ background: url(./images/bg.png);
164
+ text-align: center;
165
+ margin: 9px 0 0 9px;
166
+ *margin: 6px 0 0 6px;
167
+ position: relative;
168
+ display: block;
169
+ float: left;
170
+ overflow: hidden;
171
+ font-size: 12px;
172
+ }
173
+
174
+ #upload .filelist li p.log {
175
+ position: relative;
176
+ top: -45px;
177
+ }
178
+
179
+ #upload .filelist li p.title {
180
+ position: absolute;
181
+ top: 0;
182
+ left: 0;
183
+ width: 100%;
184
+ overflow: hidden;
185
+ white-space: nowrap;
186
+ text-overflow: ellipsis;
187
+ top: 5px;
188
+ text-indent: 5px;
189
+ text-align: left;
190
+ }
191
+
192
+ #upload .filelist li p.progress {
193
+ position: absolute;
194
+ width: 100%;
195
+ bottom: 0;
196
+ left: 0;
197
+ height: 8px;
198
+ overflow: hidden;
199
+ z-index: 50;
200
+ margin: 0;
201
+ border-radius: 0;
202
+ background: none;
203
+ -webkit-box-shadow: 0 0 0;
204
+ }
205
+
206
+ #upload .filelist li p.progress span {
207
+ display: none;
208
+ overflow: hidden;
209
+ width: 0;
210
+ height: 100%;
211
+ background: #1483d8 url(./images/progress.png) repeat-x;
212
+
213
+ -webit-transition: width 200ms linear;
214
+ -moz-transition: width 200ms linear;
215
+ -o-transition: width 200ms linear;
216
+ -ms-transition: width 200ms linear;
217
+ transition: width 200ms linear;
218
+
219
+ -webkit-animation: progressmove 2s linear infinite;
220
+ -moz-animation: progressmove 2s linear infinite;
221
+ -o-animation: progressmove 2s linear infinite;
222
+ -ms-animation: progressmove 2s linear infinite;
223
+ animation: progressmove 2s linear infinite;
224
+
225
+ -webkit-transform: translateZ(0);
226
+ }
227
+
228
+ @-webkit-keyframes progressmove {
229
+ 0% {
230
+ background-position: 0 0;
231
+ }
232
+ 100% {
233
+ background-position: 17px 0;
234
+ }
235
+ }
236
+
237
+ @-moz-keyframes progressmove {
238
+ 0% {
239
+ background-position: 0 0;
240
+ }
241
+ 100% {
242
+ background-position: 17px 0;
243
+ }
244
+ }
245
+
246
+ @keyframes progressmove {
247
+ 0% {
248
+ background-position: 0 0;
249
+ }
250
+ 100% {
251
+ background-position: 17px 0;
252
+ }
253
+ }
254
+
255
+ #upload .filelist li p.imgWrap {
256
+ position: relative;
257
+ z-index: 2;
258
+ line-height: 113px;
259
+ vertical-align: middle;
260
+ overflow: hidden;
261
+ width: 113px;
262
+ height: 113px;
263
+
264
+ -webkit-transform-origin: 50% 50%;
265
+ -moz-transform-origin: 50% 50%;
266
+ -o-transform-origin: 50% 50%;
267
+ -ms-transform-origin: 50% 50%;
268
+ transform-origin: 50% 50%;
269
+
270
+ -webit-transition: 200ms ease-out;
271
+ -moz-transition: 200ms ease-out;
272
+ -o-transition: 200ms ease-out;
273
+ -ms-transition: 200ms ease-out;
274
+ transition: 200ms ease-out;
275
+ }
276
+ #upload .filelist li p.imgWrap.notimage {
277
+ margin-top: 0;
278
+ width: 111px;
279
+ height: 111px;
280
+ border: 1px #eeeeee solid;
281
+ }
282
+ #upload .filelist li p.imgWrap.notimage i.file-preview {
283
+ margin-top: 15px;
284
+ }
285
+
286
+ #upload .filelist li img {
287
+ width: 100%;
288
+ }
289
+
290
+ #upload .filelist li p.error {
291
+ background: #f43838;
292
+ color: #fff;
293
+ position: absolute;
294
+ bottom: 0;
295
+ left: 0;
296
+ height: 28px;
297
+ line-height: 28px;
298
+ width: 100%;
299
+ z-index: 100;
300
+ display:none;
301
+ }
302
+
303
+ #upload .filelist li .success {
304
+ display: block;
305
+ position: absolute;
306
+ left: 0;
307
+ bottom: 0;
308
+ height: 40px;
309
+ width: 100%;
310
+ z-index: 200;
311
+ background: url(./images/success.png) no-repeat right bottom;
312
+ background-image: url(./images/success.gif) \9;
313
+ }
314
+
315
+ #upload .filelist li.filePickerBlock {
316
+ width: 113px;
317
+ height: 113px;
318
+ background: url(./images/image.png) no-repeat center 12px;
319
+ border: 1px solid #eeeeee;
320
+ border-radius: 0;
321
+ }
322
+ #upload .filelist li.filePickerBlock div.webuploader-pick {
323
+ width: 100%;
324
+ height: 100%;
325
+ margin: 0;
326
+ padding: 0;
327
+ opacity: 0;
328
+ background: none;
329
+ font-size: 0;
330
+ }
331
+
332
+ #upload .filelist div.file-panel {
333
+ position: absolute;
334
+ height: 0;
335
+ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
336
+ background: rgba(0, 0, 0, 0.5);
337
+ width: 100%;
338
+ top: 0;
339
+ left: 0;
340
+ overflow: hidden;
341
+ z-index: 300;
342
+ }
343
+
344
+ #upload .filelist div.file-panel span {
345
+ width: 24px;
346
+ height: 24px;
347
+ display: inline;
348
+ float: right;
349
+ text-indent: -9999px;
350
+ overflow: hidden;
351
+ background: url(./images/icons.png) no-repeat;
352
+ background: url(./images/icons.gif) no-repeat \9;
353
+ margin: 5px 1px 1px;
354
+ cursor: pointer;
355
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
356
+ -webkit-user-select: none;
357
+ -moz-user-select: none;
358
+ -ms-user-select: none;
359
+ user-select: none;
360
+ }
361
+
362
+ #upload .filelist div.file-panel span.rotateLeft {
363
+ display:none;
364
+ background-position: 0 -24px;
365
+ }
366
+
367
+ #upload .filelist div.file-panel span.rotateLeft:hover {
368
+ background-position: 0 0;
369
+ }
370
+
371
+ #upload .filelist div.file-panel span.rotateRight {
372
+ display:none;
373
+ background-position: -24px -24px;
374
+ }
375
+
376
+ #upload .filelist div.file-panel span.rotateRight:hover {
377
+ background-position: -24px 0;
378
+ }
379
+
380
+ #upload .filelist div.file-panel span.cancel {
381
+ background-position: -48px -24px;
382
+ }
383
+
384
+ #upload .filelist div.file-panel span.cancel:hover {
385
+ background-position: -48px 0;
386
+ }
387
+
388
+ #upload .statusBar {
389
+ height: 45px;
390
+ border-bottom: 1px solid #dadada;
391
+ margin: 0 10px;
392
+ padding: 0;
393
+ line-height: 45px;
394
+ vertical-align: middle;
395
+ position: relative;
396
+ }
397
+
398
+ #upload .statusBar .progress {
399
+ border: 1px solid #1483d8;
400
+ width: 198px;
401
+ background: #fff;
402
+ height: 18px;
403
+ position: absolute;
404
+ top: 12px;
405
+ display: none;
406
+ text-align: center;
407
+ line-height: 18px;
408
+ color: #6dbfff;
409
+ margin: 0 10px 0 0;
410
+ }
411
+ #upload .statusBar .progress span.percentage {
412
+ width: 0;
413
+ height: 100%;
414
+ left: 0;
415
+ top: 0;
416
+ background: #1483d8;
417
+ position: absolute;
418
+ }
419
+ #upload .statusBar .progress span.text {
420
+ position: relative;
421
+ z-index: 10;
422
+ }
423
+
424
+ #upload .statusBar .info {
425
+ display: inline-block;
426
+ font-size: 14px;
427
+ color: #666666;
428
+ }
429
+
430
+ #upload .statusBar .btns {
431
+ position: absolute;
432
+ top: 7px;
433
+ right: 0;
434
+ line-height: 30px;
435
+ }
436
+
437
+ #filePickerBtn {
438
+ display: inline-block;
439
+ float: left;
440
+ }
441
+ #upload .statusBar .btns .webuploader-pick,
442
+ #upload .statusBar .btns .uploadBtn,
443
+ #upload .statusBar .btns .uploadBtn.state-uploading,
444
+ #upload .statusBar .btns .uploadBtn.state-paused {
445
+ background: #ffffff;
446
+ border: 1px solid #cfcfcf;
447
+ color: #565656;
448
+ padding: 0 18px;
449
+ display: inline-block;
450
+ border-radius: 3px;
451
+ margin-left: 10px;
452
+ cursor: pointer;
453
+ font-size: 14px;
454
+ float: left;
455
+ -webkit-user-select: none;
456
+ -moz-user-select: none;
457
+ -ms-user-select: none;
458
+ user-select: none;
459
+ }
460
+ #upload .statusBar .btns .webuploader-pick-hover,
461
+ #upload .statusBar .btns .uploadBtn:hover,
462
+ #upload .statusBar .btns .uploadBtn.state-uploading:hover,
463
+ #upload .statusBar .btns .uploadBtn.state-paused:hover {
464
+ background: #f0f0f0;
465
+ }
466
+
467
+ #upload .statusBar .btns .uploadBtn,
468
+ #upload .statusBar .btns .uploadBtn.state-paused{
469
+ background: #00b7ee;
470
+ color: #fff;
471
+ border-color: transparent;
472
+ }
473
+ #upload .statusBar .btns .uploadBtn:hover,
474
+ #upload .statusBar .btns .uploadBtn.state-paused:hover{
475
+ background: #00a2d4;
476
+ }
477
+
478
+ #upload .statusBar .btns .uploadBtn.disabled {
479
+ pointer-events: none;
480
+ filter:alpha(opacity=60);
481
+ -moz-opacity:0.6;
482
+ -khtml-opacity: 0.6;
483
+ opacity: 0.6;
484
+ }
485
+
486
+
487
+
488
+ /* 图片管理样式 */
489
+ #online {
490
+ width: 100%;
491
+ height: 336px;
492
+ padding: 10px 0 0 0;
493
+ }
494
+ #online #fileList{
495
+ width: 100%;
496
+ height: 100%;
497
+ overflow-x: hidden;
498
+ overflow-y: auto;
499
+ position: relative;
500
+ }
501
+ #online ul {
502
+ display: block;
503
+ list-style: none;
504
+ margin: 0;
505
+ padding: 0;
506
+ }
507
+ #online li {
508
+ float: left;
509
+ display: block;
510
+ list-style: none;
511
+ padding: 0;
512
+ width: 113px;
513
+ height: 113px;
514
+ margin: 0 0 9px 9px;
515
+ *margin: 0 0 6px 6px;
516
+ background-color: #eee;
517
+ overflow: hidden;
518
+ cursor: pointer;
519
+ position: relative;
520
+ }
521
+ #online li.clearFloat {
522
+ float: none;
523
+ clear: both;
524
+ display: block;
525
+ width:0;
526
+ height:0;
527
+ margin: 0;
528
+ padding: 0;
529
+ }
530
+ #online li img {
531
+ cursor: pointer;
532
+ }
533
+ #online li div.file-wrapper {
534
+ cursor: pointer;
535
+ position: absolute;
536
+ display: block;
537
+ width: 111px;
538
+ height: 111px;
539
+ border: 1px solid #eee;
540
+ background: url("./images/bg.png") repeat;
541
+ }
542
+ #online li div span.file-title{
543
+ display: block;
544
+ padding: 0 3px;
545
+ margin: 3px 0 0 0;
546
+ font-size: 12px;
547
+ height: 13px;
548
+ color: #555555;
549
+ text-align: center;
550
+ width: 107px;
551
+ white-space: nowrap;
552
+ word-break: break-all;
553
+ overflow: hidden;
554
+ text-overflow: ellipsis;
555
+ }
556
+ #online li .icon {
557
+ cursor: pointer;
558
+ width: 113px;
559
+ height: 113px;
560
+ position: absolute;
561
+ top: 0;
562
+ left: 0;
563
+ z-index: 2;
564
+ border: 0;
565
+ background-repeat: no-repeat;
566
+ }
567
+ #online li .icon:hover {
568
+ width: 107px;
569
+ height: 107px;
570
+ border: 3px solid #1094fa;
571
+ }
572
+ #online li.selected .icon {
573
+ background-image: url(images/success.png);
574
+ background-image: url(images/success.gif) \9;
575
+ background-position: 75px 75px;
576
+ }
577
+ #online li.selected .icon:hover {
578
+ width: 107px;
579
+ height: 107px;
580
+ border: 3px solid #1094fa;
581
+ background-position: 72px 72px;
582
+ }
583
+
584
+
585
+ /* 在线文件的文件预览图标 */
586
+ i.file-preview {
587
+ display: block;
588
+ margin: 10px auto;
589
+ width: 70px;
590
+ height: 70px;
591
+ background-image: url("./images/file-icons.png");
592
+ background-image: url("./images/file-icons.gif") \9;
593
+ background-position: -140px center;
594
+ background-repeat: no-repeat;
595
+ }
596
+ i.file-preview.file-type-dir{
597
+ background-position: 0 center;
598
+ }
599
+ i.file-preview.file-type-file{
600
+ background-position: -140px center;
601
+ }
602
+ i.file-preview.file-type-filelist{
603
+ background-position: -210px center;
604
+ }
605
+ i.file-preview.file-type-zip,
606
+ i.file-preview.file-type-rar,
607
+ i.file-preview.file-type-7z,
608
+ i.file-preview.file-type-tar,
609
+ i.file-preview.file-type-gz,
610
+ i.file-preview.file-type-bz2{
611
+ background-position: -280px center;
612
+ }
613
+ i.file-preview.file-type-xls,
614
+ i.file-preview.file-type-xlsx{
615
+ background-position: -350px center;
616
+ }
617
+ i.file-preview.file-type-doc,
618
+ i.file-preview.file-type-docx{
619
+ background-position: -420px center;
620
+ }
621
+ i.file-preview.file-type-ppt,
622
+ i.file-preview.file-type-pptx{
623
+ background-position: -490px center;
624
+ }
625
+ i.file-preview.file-type-vsd{
626
+ background-position: -560px center;
627
+ }
628
+ i.file-preview.file-type-pdf{
629
+ background-position: -630px center;
630
+ }
631
+ i.file-preview.file-type-txt,
632
+ i.file-preview.file-type-md,
633
+ i.file-preview.file-type-json,
634
+ i.file-preview.file-type-htm,
635
+ i.file-preview.file-type-xml,
636
+ i.file-preview.file-type-html,
637
+ i.file-preview.file-type-js,
638
+ i.file-preview.file-type-css,
639
+ i.file-preview.file-type-php,
640
+ i.file-preview.file-type-jsp,
641
+ i.file-preview.file-type-asp{
642
+ background-position: -700px center;
643
+ }
644
+ i.file-preview.file-type-apk{
645
+ background-position: -770px center;
646
+ }
647
+ i.file-preview.file-type-exe{
648
+ background-position: -840px center;
649
+ }
650
+ i.file-preview.file-type-ipa{
651
+ background-position: -910px center;
652
+ }
653
+ i.file-preview.file-type-mp4,
654
+ i.file-preview.file-type-swf,
655
+ i.file-preview.file-type-mkv,
656
+ i.file-preview.file-type-avi,
657
+ i.file-preview.file-type-flv,
658
+ i.file-preview.file-type-mov,
659
+ i.file-preview.file-type-mpg,
660
+ i.file-preview.file-type-mpeg,
661
+ i.file-preview.file-type-ogv,
662
+ i.file-preview.file-type-webm,
663
+ i.file-preview.file-type-rm,
664
+ i.file-preview.file-type-rmvb{
665
+ background-position: -980px center;
666
+ }
667
+ i.file-preview.file-type-ogg,
668
+ i.file-preview.file-type-wav,
669
+ i.file-preview.file-type-wmv,
670
+ i.file-preview.file-type-mid,
671
+ i.file-preview.file-type-mp3{
672
+ background-position: -1050px center;
673
+ }
674
+ i.file-preview.file-type-jpg,
675
+ i.file-preview.file-type-jpeg,
676
+ i.file-preview.file-type-gif,
677
+ i.file-preview.file-type-bmp,
678
+ i.file-preview.file-type-png,
679
+ i.file-preview.file-type-psd{
680
+ background-position: -140px center;
681
+ }