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