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
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Created with JetBrains PhpStorm.
3
+ * User: xuheng
4
+ * Date: 12-9-26
5
+ * Time: 下午1:06
6
+ * To change this template use File | Settings | File Templates.
7
+ */
8
+ /**
9
+ * tab点击处理事件
10
+ * @param tabHeads
11
+ * @param tabBodys
12
+ * @param obj
13
+ */
14
+ function clickHandler( tabHeads,tabBodys,obj ) {
15
+ //head样式更改
16
+ for ( var k = 0, len = tabHeads.length; k < len; k++ ) {
17
+ tabHeads[k].className = "";
18
+ }
19
+ obj.className = "focus";
20
+ //body显隐
21
+ var tabSrc = obj.getAttribute( "tabSrc" );
22
+ for ( var j = 0, length = tabBodys.length; j < length; j++ ) {
23
+ var body = tabBodys[j],
24
+ id = body.getAttribute( "id" );
25
+ body.onclick = function(){
26
+ this.style.zoom = 1;
27
+ };
28
+ if ( id != tabSrc ) {
29
+ body.style.zIndex = 1;
30
+ } else {
31
+ body.style.zIndex = 200;
32
+ }
33
+ }
34
+
35
+ }
36
+
37
+ /**
38
+ * TAB切换
39
+ * @param tabParentId tab的父节点ID或者对象本身
40
+ */
41
+ function switchTab( tabParentId ) {
42
+ var tabElements = $G( tabParentId ).children,
43
+ tabHeads = tabElements[0].children,
44
+ tabBodys = tabElements[1].children;
45
+
46
+ for ( var i = 0, length = tabHeads.length; i < length; i++ ) {
47
+ var head = tabHeads[i];
48
+ if ( head.className === "focus" )clickHandler(tabHeads,tabBodys, head );
49
+ head.onclick = function () {
50
+ clickHandler(tabHeads,tabBodys,this);
51
+ }
52
+ }
53
+ }
54
+ switchTab("helptab");
55
+
56
+ document.getElementById('version').innerHTML = parent.UE.version;
@@ -0,0 +1,894 @@
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
+ .alignBar{
42
+ float:right;
43
+ margin-top: 5px;
44
+ position: relative;
45
+ }
46
+
47
+ .alignBar .algnLabel{
48
+ float:left;
49
+ height: 20px;
50
+ line-height: 20px;
51
+ }
52
+
53
+ .alignBar #alignIcon{
54
+ zoom:1;
55
+ _display: inline;
56
+ display: inline-block;
57
+ position: relative;
58
+ }
59
+ .alignBar #alignIcon span{
60
+ float: left;
61
+ cursor: pointer;
62
+ display: block;
63
+ width: 19px;
64
+ height: 17px;
65
+ margin-right: 3px;
66
+ margin-left: 3px;
67
+ background-image: url(./images/alignicon.jpg);
68
+ }
69
+ .alignBar #alignIcon .none-align{
70
+ background-position: 0 -18px;
71
+ }
72
+ .alignBar #alignIcon .left-align{
73
+ background-position: -20px -18px;
74
+ }
75
+ .alignBar #alignIcon .right-align{
76
+ background-position: -40px -18px;
77
+ }
78
+ .alignBar #alignIcon .center-align{
79
+ background-position: -60px -18px;
80
+ }
81
+ .alignBar #alignIcon .none-align.focus{
82
+ background-position: 0 0;
83
+ }
84
+ .alignBar #alignIcon .left-align.focus{
85
+ background-position: -20px 0;
86
+ }
87
+ .alignBar #alignIcon .right-align.focus{
88
+ background-position: -40px 0;
89
+ }
90
+ .alignBar #alignIcon .center-align.focus{
91
+ background-position: -60px 0;
92
+ }
93
+
94
+
95
+
96
+
97
+ /* 远程图片样式 */
98
+ #remote {
99
+ z-index: 200;
100
+ }
101
+
102
+ #remote .top{
103
+ width: 100%;
104
+ margin-top: 25px;
105
+ }
106
+ #remote .left{
107
+ display: block;
108
+ float: left;
109
+ width: 300px;
110
+ height:10px;
111
+ }
112
+ #remote .right{
113
+ display: block;
114
+ float: right;
115
+ width: 300px;
116
+ height:10px;
117
+ }
118
+ #remote .row{
119
+ margin-left: 20px;
120
+ clear: both;
121
+ height: 40px;
122
+ }
123
+
124
+ #remote .row label{
125
+ text-align: center;
126
+ width: 50px;
127
+ zoom:1;
128
+ _display: inline;
129
+ display:inline-block;
130
+ vertical-align: middle;
131
+ }
132
+ #remote .row label.algnLabel{
133
+ float: left;
134
+
135
+ }
136
+
137
+ #remote input.text{
138
+ width: 150px;
139
+ padding: 3px 6px;
140
+ font-size: 14px;
141
+ line-height: 1.42857143;
142
+ color: #555;
143
+ background-color: #fff;
144
+ background-image: none;
145
+ border: 1px solid #ccc;
146
+ border-radius: 4px;
147
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
148
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
149
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
150
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
151
+ }
152
+ #remote input.text:focus {
153
+ border-color: #66afe9;
154
+ outline: 0;
155
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
156
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
157
+ }
158
+ #remote #url{
159
+ width: 500px;
160
+ margin-bottom: 2px;
161
+ }
162
+ #remote #width,
163
+ #remote #height{
164
+ width: 20px;
165
+ margin-left: 2px;
166
+ margin-right: 2px;
167
+ }
168
+ #remote #border,
169
+ #remote #vhSpace,
170
+ #remote #title{
171
+ width: 180px;
172
+ margin-right: 5px;
173
+ }
174
+ #remote #lock{
175
+ }
176
+ #remote #lockicon{
177
+ zoom: 1;
178
+ _display:inline;
179
+ display: inline-block;
180
+ width: 20px;
181
+ height: 20px;
182
+ background: url("../../themes/default/images/lock.gif") -13px -13px no-repeat;
183
+ vertical-align: middle;
184
+ }
185
+ #remote #preview{
186
+ clear: both;
187
+ width: 260px;
188
+ height: 240px;
189
+ z-index: 9999;
190
+ margin-top: 10px;
191
+ background-color: #eee;
192
+ overflow: hidden;
193
+ }
194
+
195
+ /* 上传图片 */
196
+ .tabbody #upload.panel {
197
+ width: 0;
198
+ height: 0;
199
+ overflow: hidden;
200
+ position: absolute !important;
201
+ clip: rect(1px, 1px, 1px, 1px);
202
+ background: #fff;
203
+ display: block;
204
+ }
205
+
206
+ .tabbody #upload.panel.focus {
207
+ width: 100%;
208
+ height: 346px;
209
+ display: block;
210
+ clip: auto;
211
+ }
212
+
213
+ #upload .queueList {
214
+ margin: 0;
215
+ width: 100%;
216
+ height: 100%;
217
+ position: absolute;
218
+ overflow: hidden;
219
+ }
220
+
221
+ #upload p {
222
+ margin: 0;
223
+ }
224
+
225
+ .element-invisible {
226
+ width: 0 !important;
227
+ height: 0 !important;
228
+ border: 0;
229
+ padding: 0;
230
+ margin: 0;
231
+ overflow: hidden;
232
+ position: absolute !important;
233
+ clip: rect(1px, 1px, 1px, 1px);
234
+ }
235
+
236
+ #upload .placeholder {
237
+ margin: 10px;
238
+ border: 2px dashed #e6e6e6;
239
+ *border: 0px dashed #e6e6e6;
240
+ height: 172px;
241
+ padding-top: 150px;
242
+ text-align: center;
243
+ background: url(./images/image.png) center 70px no-repeat;
244
+ color: #cccccc;
245
+ font-size: 18px;
246
+ position: relative;
247
+ top:0;
248
+ *top: 10px;
249
+ }
250
+
251
+ #upload .placeholder .webuploader-pick {
252
+ font-size: 18px;
253
+ background: #00b7ee;
254
+ border-radius: 3px;
255
+ line-height: 44px;
256
+ padding: 0 30px;
257
+ *width: 120px;
258
+ color: #fff;
259
+ display: inline-block;
260
+ margin: 0 auto 20px auto;
261
+ cursor: pointer;
262
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
263
+ }
264
+
265
+ #upload .placeholder .webuploader-pick-hover {
266
+ background: #00a2d4;
267
+ }
268
+
269
+
270
+ #filePickerContainer {
271
+ text-align: center;
272
+ }
273
+
274
+ #upload .placeholder .flashTip {
275
+ color: #666666;
276
+ font-size: 12px;
277
+ position: absolute;
278
+ width: 100%;
279
+ text-align: center;
280
+ bottom: 20px;
281
+ }
282
+
283
+ #upload .placeholder .flashTip a {
284
+ color: #0785d1;
285
+ text-decoration: none;
286
+ }
287
+
288
+ #upload .placeholder .flashTip a:hover {
289
+ text-decoration: underline;
290
+ }
291
+
292
+ #upload .placeholder.webuploader-dnd-over {
293
+ border-color: #999999;
294
+ }
295
+
296
+ #upload .filelist {
297
+ list-style: none;
298
+ margin: 0;
299
+ padding: 0;
300
+ overflow-x: hidden;
301
+ overflow-y: auto;
302
+ position: relative;
303
+ height: 300px;
304
+ }
305
+
306
+ #upload .filelist:after {
307
+ content: '';
308
+ display: block;
309
+ width: 0;
310
+ height: 0;
311
+ overflow: hidden;
312
+ clear: both;
313
+ position: relative;
314
+ }
315
+
316
+ #upload .filelist li {
317
+ width: 113px;
318
+ height: 113px;
319
+ background: url(./images/bg.png);
320
+ text-align: center;
321
+ margin: 9px 0 0 9px;
322
+ *margin: 6px 0 0 6px;
323
+ position: relative;
324
+ display: block;
325
+ float: left;
326
+ overflow: hidden;
327
+ font-size: 12px;
328
+ }
329
+
330
+ #upload .filelist li p.log {
331
+ position: relative;
332
+ top: -45px;
333
+ }
334
+
335
+ #upload .filelist li p.title {
336
+ position: absolute;
337
+ top: 0;
338
+ left: 0;
339
+ width: 100%;
340
+ overflow: hidden;
341
+ white-space: nowrap;
342
+ text-overflow: ellipsis;
343
+ top: 5px;
344
+ text-indent: 5px;
345
+ text-align: left;
346
+ }
347
+
348
+ #upload .filelist li p.progress {
349
+ position: absolute;
350
+ width: 100%;
351
+ bottom: 0;
352
+ left: 0;
353
+ height: 8px;
354
+ overflow: hidden;
355
+ z-index: 50;
356
+ margin: 0;
357
+ border-radius: 0;
358
+ background: none;
359
+ -webkit-box-shadow: 0 0 0;
360
+ }
361
+
362
+ #upload .filelist li p.progress span {
363
+ display: none;
364
+ overflow: hidden;
365
+ width: 0;
366
+ height: 100%;
367
+ background: #1483d8 url(./images/progress.png) repeat-x;
368
+
369
+ -webit-transition: width 200ms linear;
370
+ -moz-transition: width 200ms linear;
371
+ -o-transition: width 200ms linear;
372
+ -ms-transition: width 200ms linear;
373
+ transition: width 200ms linear;
374
+
375
+ -webkit-animation: progressmove 2s linear infinite;
376
+ -moz-animation: progressmove 2s linear infinite;
377
+ -o-animation: progressmove 2s linear infinite;
378
+ -ms-animation: progressmove 2s linear infinite;
379
+ animation: progressmove 2s linear infinite;
380
+
381
+ -webkit-transform: translateZ(0);
382
+ }
383
+
384
+ @-webkit-keyframes progressmove {
385
+ 0% {
386
+ background-position: 0 0;
387
+ }
388
+ 100% {
389
+ background-position: 17px 0;
390
+ }
391
+ }
392
+
393
+ @-moz-keyframes progressmove {
394
+ 0% {
395
+ background-position: 0 0;
396
+ }
397
+ 100% {
398
+ background-position: 17px 0;
399
+ }
400
+ }
401
+
402
+ @keyframes progressmove {
403
+ 0% {
404
+ background-position: 0 0;
405
+ }
406
+ 100% {
407
+ background-position: 17px 0;
408
+ }
409
+ }
410
+
411
+ #upload .filelist li p.imgWrap {
412
+ position: relative;
413
+ z-index: 2;
414
+ line-height: 113px;
415
+ vertical-align: middle;
416
+ overflow: hidden;
417
+ width: 113px;
418
+ height: 113px;
419
+
420
+ -webkit-transform-origin: 50% 50%;
421
+ -moz-transform-origin: 50% 50%;
422
+ -o-transform-origin: 50% 50%;
423
+ -ms-transform-origin: 50% 50%;
424
+ transform-origin: 50% 50%;
425
+
426
+ -webit-transition: 200ms ease-out;
427
+ -moz-transition: 200ms ease-out;
428
+ -o-transition: 200ms ease-out;
429
+ -ms-transition: 200ms ease-out;
430
+ transition: 200ms ease-out;
431
+ }
432
+
433
+ #upload .filelist li img {
434
+ width: 100%;
435
+ }
436
+
437
+ #upload .filelist li p.error {
438
+ background: #f43838;
439
+ color: #fff;
440
+ position: absolute;
441
+ bottom: 0;
442
+ left: 0;
443
+ height: 28px;
444
+ line-height: 28px;
445
+ width: 100%;
446
+ z-index: 100;
447
+ display:none;
448
+ }
449
+
450
+ #upload .filelist li .success {
451
+ display: block;
452
+ position: absolute;
453
+ left: 0;
454
+ bottom: 0;
455
+ height: 40px;
456
+ width: 100%;
457
+ z-index: 200;
458
+ background: url(./images/success.png) no-repeat right bottom;
459
+ background: url(./images/success.gif) no-repeat right bottom \9;
460
+ }
461
+
462
+ #upload .filelist li.filePickerBlock {
463
+ width: 113px;
464
+ height: 113px;
465
+ background: url(./images/image.png) no-repeat center 12px;
466
+ border: 1px solid #eeeeee;
467
+ border-radius: 0;
468
+ }
469
+ #upload .filelist li.filePickerBlock div.webuploader-pick {
470
+ width: 100%;
471
+ height: 100%;
472
+ margin: 0;
473
+ padding: 0;
474
+ opacity: 0;
475
+ background: none;
476
+ font-size: 0;
477
+ }
478
+
479
+ #upload .filelist div.file-panel {
480
+ position: absolute;
481
+ height: 0;
482
+ filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
483
+ background: rgba(0, 0, 0, 0.5);
484
+ width: 100%;
485
+ top: 0;
486
+ left: 0;
487
+ overflow: hidden;
488
+ z-index: 300;
489
+ }
490
+
491
+ #upload .filelist div.file-panel span {
492
+ width: 24px;
493
+ height: 24px;
494
+ display: inline;
495
+ float: right;
496
+ text-indent: -9999px;
497
+ overflow: hidden;
498
+ background: url(./images/icons.png) no-repeat;
499
+ background: url(./images/icons.gif) no-repeat \9;
500
+ margin: 5px 1px 1px;
501
+ cursor: pointer;
502
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
503
+ -webkit-user-select: none;
504
+ -moz-user-select: none;
505
+ -ms-user-select: none;
506
+ user-select: none;
507
+ }
508
+
509
+ #upload .filelist div.file-panel span.rotateLeft {
510
+ display:none;
511
+ background-position: 0 -24px;
512
+ }
513
+
514
+ #upload .filelist div.file-panel span.rotateLeft:hover {
515
+ background-position: 0 0;
516
+ }
517
+
518
+ #upload .filelist div.file-panel span.rotateRight {
519
+ display:none;
520
+ background-position: -24px -24px;
521
+ }
522
+
523
+ #upload .filelist div.file-panel span.rotateRight:hover {
524
+ background-position: -24px 0;
525
+ }
526
+
527
+ #upload .filelist div.file-panel span.cancel {
528
+ background-position: -48px -24px;
529
+ }
530
+
531
+ #upload .filelist div.file-panel span.cancel:hover {
532
+ background-position: -48px 0;
533
+ }
534
+
535
+ #upload .statusBar {
536
+ height: 45px;
537
+ border-bottom: 1px solid #dadada;
538
+ margin: 0 10px;
539
+ padding: 0;
540
+ line-height: 45px;
541
+ vertical-align: middle;
542
+ position: relative;
543
+ }
544
+
545
+ #upload .statusBar .progress {
546
+ border: 1px solid #1483d8;
547
+ width: 198px;
548
+ background: #fff;
549
+ height: 18px;
550
+ position: absolute;
551
+ top: 12px;
552
+ display: none;
553
+ text-align: center;
554
+ line-height: 18px;
555
+ color: #6dbfff;
556
+ margin: 0 10px 0 0;
557
+ }
558
+ #upload .statusBar .progress span.percentage {
559
+ width: 0;
560
+ height: 100%;
561
+ left: 0;
562
+ top: 0;
563
+ background: #1483d8;
564
+ position: absolute;
565
+ }
566
+ #upload .statusBar .progress span.text {
567
+ position: relative;
568
+ z-index: 10;
569
+ }
570
+
571
+ #upload .statusBar .info {
572
+ display: inline-block;
573
+ font-size: 14px;
574
+ color: #666666;
575
+ }
576
+
577
+ #upload .statusBar .btns {
578
+ position: absolute;
579
+ top: 7px;
580
+ right: 0;
581
+ line-height: 30px;
582
+ }
583
+
584
+ #filePickerBtn {
585
+ display: inline-block;
586
+ float: left;
587
+ }
588
+ #upload .statusBar .btns .webuploader-pick,
589
+ #upload .statusBar .btns .uploadBtn,
590
+ #upload .statusBar .btns .uploadBtn.state-uploading,
591
+ #upload .statusBar .btns .uploadBtn.state-paused {
592
+ background: #ffffff;
593
+ border: 1px solid #cfcfcf;
594
+ color: #565656;
595
+ padding: 0 18px;
596
+ display: inline-block;
597
+ border-radius: 3px;
598
+ margin-left: 10px;
599
+ cursor: pointer;
600
+ font-size: 14px;
601
+ float: left;
602
+ -webkit-user-select: none;
603
+ -moz-user-select: none;
604
+ -ms-user-select: none;
605
+ user-select: none;
606
+ }
607
+ #upload .statusBar .btns .webuploader-pick-hover,
608
+ #upload .statusBar .btns .uploadBtn:hover,
609
+ #upload .statusBar .btns .uploadBtn.state-uploading:hover,
610
+ #upload .statusBar .btns .uploadBtn.state-paused:hover {
611
+ background: #f0f0f0;
612
+ }
613
+
614
+ #upload .statusBar .btns .uploadBtn,
615
+ #upload .statusBar .btns .uploadBtn.state-paused{
616
+ background: #00b7ee;
617
+ color: #fff;
618
+ border-color: transparent;
619
+ }
620
+ #upload .statusBar .btns .uploadBtn:hover,
621
+ #upload .statusBar .btns .uploadBtn.state-paused:hover{
622
+ background: #00a2d4;
623
+ }
624
+
625
+ #upload .statusBar .btns .uploadBtn.disabled {
626
+ pointer-events: none;
627
+ filter:alpha(opacity=60);
628
+ -moz-opacity:0.6;
629
+ -khtml-opacity: 0.6;
630
+ opacity: 0.6;
631
+ }
632
+
633
+
634
+
635
+ /* 图片管理样式 */
636
+ #online {
637
+ width: 100%;
638
+ height: 336px;
639
+ padding: 10px 0 0 0;
640
+ }
641
+ #online #imageList{
642
+ width: 100%;
643
+ height: 100%;
644
+ overflow-x: hidden;
645
+ overflow-y: auto;
646
+ position: relative;
647
+ }
648
+ #online ul {
649
+ display: block;
650
+ list-style: none;
651
+ margin: 0;
652
+ padding: 0;
653
+ }
654
+ #online li {
655
+ float: left;
656
+ display: block;
657
+ list-style: none;
658
+ padding: 0;
659
+ width: 113px;
660
+ height: 113px;
661
+ margin: 0 0 9px 9px;
662
+ *margin: 0 0 6px 6px;
663
+ background-color: #eee;
664
+ overflow: hidden;
665
+ cursor: pointer;
666
+ position: relative;
667
+ }
668
+ #online li.clearFloat {
669
+ float: none;
670
+ clear: both;
671
+ display: block;
672
+ width:0;
673
+ height:0;
674
+ margin: 0;
675
+ padding: 0;
676
+ }
677
+ #online li img {
678
+ cursor: pointer;
679
+ }
680
+ #online li .icon {
681
+ cursor: pointer;
682
+ width: 113px;
683
+ height: 113px;
684
+ position: absolute;
685
+ top: 0;
686
+ left: 0;
687
+ z-index: 2;
688
+ border: 0;
689
+ background-repeat: no-repeat;
690
+ }
691
+ #online li .icon:hover {
692
+ width: 107px;
693
+ height: 107px;
694
+ border: 3px solid #1094fa;
695
+ }
696
+ #online li.selected .icon {
697
+ background-image: url(images/success.png);
698
+ background-image: url(images/success.gif)\9;
699
+ background-position: 75px 75px;
700
+ }
701
+ #online li.selected .icon:hover {
702
+ width: 107px;
703
+ height: 107px;
704
+ border: 3px solid #1094fa;
705
+ background-position: 72px 72px;
706
+ }
707
+
708
+
709
+ /* 图片搜索样式 */
710
+ #search .searchBar {
711
+ width: 100%;
712
+ height: 30px;
713
+ margin: 10px 0 5px 0;
714
+ padding: 0;
715
+ }
716
+
717
+ #search input.text{
718
+ width: 150px;
719
+ padding: 3px 6px;
720
+ font-size: 14px;
721
+ line-height: 1.42857143;
722
+ color: #555;
723
+ background-color: #fff;
724
+ background-image: none;
725
+ border: 1px solid #ccc;
726
+ border-radius: 4px;
727
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
728
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
729
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
730
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
731
+ }
732
+ #search input.text:focus {
733
+ border-color: #66afe9;
734
+ outline: 0;
735
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
736
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
737
+ }
738
+ #search input.searchTxt {
739
+ margin-left:5px;
740
+ padding-left: 5px;
741
+ background: #FFF;
742
+ width: 300px;
743
+ *width: 260px;
744
+ height: 21px;
745
+ line-height: 21px;
746
+ float: left;
747
+ dislay: block;
748
+ }
749
+
750
+ #search .searchType {
751
+ width: 65px;
752
+ height: 28px;
753
+ padding:0;
754
+ line-height: 28px;
755
+ border: 1px solid #d7d7d7;
756
+ border-radius: 0;
757
+ vertical-align: top;
758
+ margin-left: 5px;
759
+ float: left;
760
+ dislay: block;
761
+ }
762
+
763
+ #search #searchBtn,
764
+ #search #searchReset {
765
+ display: inline-block;
766
+ margin-bottom: 0;
767
+ margin-right: 5px;
768
+ padding: 4px 10px;
769
+ font-weight: 400;
770
+ text-align: center;
771
+ vertical-align: middle;
772
+ cursor: pointer;
773
+ background-image: none;
774
+ border: 1px solid transparent;
775
+ white-space: nowrap;
776
+ font-size: 14px;
777
+ border-radius: 4px;
778
+ -webkit-user-select: none;
779
+ -moz-user-select: none;
780
+ -ms-user-select: none;
781
+ user-select: none;
782
+ vertical-align: top;
783
+ float: right;
784
+ }
785
+
786
+ #search #searchBtn {
787
+ color: white;
788
+ border-color: #285e8e;
789
+ background-color: #3b97d7;
790
+ }
791
+ #search #searchReset {
792
+ color: #333;
793
+ border-color: #ccc;
794
+ background-color: #fff;
795
+ }
796
+ #search #searchBtn:hover {
797
+ background-color: #3276b1;
798
+ }
799
+ #search #searchReset:hover {
800
+ background-color: #eee;
801
+ }
802
+
803
+ #search .msg {
804
+ margin-left: 5px;
805
+ }
806
+
807
+ #search .searchList{
808
+ width: 100%;
809
+ height: 300px;
810
+ overflow: hidden;
811
+ clear: both;
812
+ }
813
+ #search .searchList ul{
814
+ margin:0;
815
+ padding:0;
816
+ list-style:none;
817
+ clear: both;
818
+ width: 100%;
819
+ height: 100%;
820
+ overflow-x: hidden;
821
+ overflow-y: auto;
822
+ zoom: 1;
823
+ position: relative;
824
+ }
825
+
826
+ #search .searchList li {
827
+ list-style:none;
828
+ float: left;
829
+ display: block;
830
+ width: 115px;
831
+ margin: 5px 10px 5px 20px;
832
+ *margin: 5px 10px 5px 15px;
833
+ padding:0;
834
+ font-size: 12px;
835
+ box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
836
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
837
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
838
+ position: relative;
839
+ vertical-align: top;
840
+ text-align: center;
841
+ overflow: hidden;
842
+ cursor: pointer;
843
+ filter: alpha(Opacity=100);
844
+ -moz-opacity: 1;
845
+ opacity: 1;
846
+ border: 2px solid #eee;
847
+ }
848
+
849
+ #search .searchList li.selected {
850
+ filter: alpha(Opacity=40);
851
+ -moz-opacity: 0.4;
852
+ opacity: 0.4;
853
+ border: 2px solid #00a0e9;
854
+ }
855
+
856
+ #search .searchList li p {
857
+ background-color: #eee;
858
+ margin: 0;
859
+ padding: 0;
860
+ position: relative;
861
+ width:100%;
862
+ height:115px;
863
+ overflow: hidden;
864
+ }
865
+
866
+ #search .searchList li p img {
867
+ cursor: pointer;
868
+ border: 0;
869
+ }
870
+
871
+ #search .searchList li a {
872
+ color: #999;
873
+ border-top: 1px solid #F2F2F2;
874
+ background: #FAFAFA;
875
+ text-align: center;
876
+ display: block;
877
+ padding: 0 5px;
878
+ width: 105px;
879
+ height:32px;
880
+ line-height:32px;
881
+ white-space:nowrap;
882
+ text-overflow:ellipsis;
883
+ text-decoration: none;
884
+ overflow: hidden;
885
+ word-break: break-all;
886
+ }
887
+
888
+ #search .searchList a:hover {
889
+ text-decoration: underline;
890
+ color: #333;
891
+ }
892
+ #search .searchList .clearFloat{
893
+ clear: both;
894
+ }