ueditor.rails 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +32 -0
- data/app/assets/javascripts/default.config.js +382 -0
- data/app/assets/javascripts/ueditor.js +2 -0
- data/lib/tasks/ueditor_on_rails_tasks.rake +4 -0
- data/lib/ueditor.rails.rb +17 -0
- data/lib/ueditor/engine.rb +23 -0
- data/lib/ueditor/helpers/form_builder.rb +11 -0
- data/lib/ueditor/helpers/form_helper.rb +13 -0
- data/lib/ueditor/helpers/js_helper.rb +13 -0
- data/lib/ueditor/helpers/view_helper.rb +13 -0
- data/lib/ueditor/hooks/simple_form.rb +16 -0
- data/lib/ueditor/version.rb +3 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +14 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/dummy_controller.rb +18 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/dummy_model.rb +5 -0
- data/test/dummy/app/views/dummy/new.html.erb +22 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +28 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +34 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/log/development.log +51 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/029530186b2a67ade6e57e578c85b454 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/02b56f18dcd4ddec585a02528773c04b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/07898ec696d976eeafb61ef6bb48e097 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0ab8e71a1cbfab4ba97406936b8424d8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0d7c51218669ae27b1bb2d8ff9c9c1f9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0f941886593d207e4ec1f3aba81f3189 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/19694ecb6829b547affeb420f6c4f4ba +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/24fd9e383d10c56ae5bf72ce4e8d57d5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2a3155304ce0d3a6b8245de3b211a442 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2ef8e8b9d212c49500f1cbb6ab432078 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f6f08f80fb713b72a4c53eca782d352 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/46de6851f078c896ce0a451fe8e67691 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4d359ff4c9c3e425adcf7471f456dd80 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/63be665b75f7410b31ece33884eb8eef +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7bd63ec22736e590f74f2614ba885123 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8165d0bcd2b5c04b4a98f4f0cbabef64 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8f07cc0565a08f28c45bc04f78ed9feb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9239aabeb118940064b039f4afb8f328 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/92e3cf1ee6169034b72859923497867a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/98ba4a17ce612c2782d52cb7f2a2beb9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a38c0bac61b2d1e331de0057548aba0f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b0df046a48e07ba1cd75447c9732874b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b7d95afb3c2e49e813b301d797917b8c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bc3d8cda22ec9e1bf2cbe1f02cc13438 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bd22193b7c008abf93a7640553ee8b24 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c846ab366c3537979e0c1f64aa2c7e23 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ccf39b0f3aeafc89430db44186a59037 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ce2d1d6840444ec16109eb6d2cf8c224 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/da3d050a8e457e6eb47cf56f3342fbd5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/db1e6b0095d2d333b72e73bdf3c40965 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e357c8a9ad97f42187ce017e3bf4a3ce +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e37eb86c730315ed8a58688351abf8f9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fa046bb067616da9d14862739bf2c67c +0 -0
- data/test/test_helper.rb +15 -0
- data/test/ueditor_on_rails_test.rb +7 -0
- data/vendor/assets/javascripts/ueditor/dialogs/anchor/anchor.html +40 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.css +681 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.html +60 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.js +754 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/bg.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/icons.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/icons.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/image.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/progress.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/success.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/success.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/background/background.css +94 -0
- data/vendor/assets/javascripts/ueditor/dialogs/background/background.html +56 -0
- data/vendor/assets/javascripts/ueditor/dialogs/background/background.js +376 -0
- data/vendor/assets/javascripts/ueditor/dialogs/background/images/bg.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/background/images/success.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js +65 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.css +165 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.html +89 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.js +519 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts0.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts1.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts2.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts3.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts4.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts5.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.css +43 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.html +54 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.js +186 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/0.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/bface.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/cface.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/fface.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/jxface2.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/tface.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/wface.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/yface.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/gmap/gmap.html +89 -0
- data/vendor/assets/javascripts/ueditor/dialogs/help/help.css +7 -0
- data/vendor/assets/javascripts/ueditor/dialogs/help/help.html +82 -0
- data/vendor/assets/javascripts/ueditor/dialogs/help/help.js +56 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/image.css +894 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/image.html +120 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/image.js +1139 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/images/alignicon.jpg +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/images/bg.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/images/icons.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/images/icons.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/images/image.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/images/progress.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/images/success.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/image/images/success.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/insertframe/insertframe.html +98 -0
- data/vendor/assets/javascripts/ueditor/dialogs/internal.js +81 -0
- data/vendor/assets/javascripts/ueditor/dialogs/link/link.html +126 -0
- data/vendor/assets/javascripts/ueditor/dialogs/map/map.html +135 -0
- data/vendor/assets/javascripts/ueditor/dialogs/map/show.html +118 -0
- data/vendor/assets/javascripts/ueditor/dialogs/music/music.css +30 -0
- data/vendor/assets/javascripts/ueditor/dialogs/music/music.html +32 -0
- data/vendor/assets/javascripts/ueditor/dialogs/music/music.js +192 -0
- data/vendor/assets/javascripts/ueditor/dialogs/preview/preview.html +40 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/addimg.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/brush.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/delimg.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/delimgH.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/empty.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/emptyH.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/eraser.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/redo.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/redoH.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/scale.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/scaleH.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/size.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/undo.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/undoH.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.css +72 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.html +95 -0
- data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.js +671 -0
- data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.html +102 -0
- data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.js +164 -0
- data/vendor/assets/javascripts/ueditor/dialogs/snapscreen/snapscreen.html +58 -0
- data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.html +21 -0
- data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.js +57 -0
- data/vendor/assets/javascripts/ueditor/dialogs/table/dragicon.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.css +84 -0
- data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.html +64 -0
- data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.js +237 -0
- data/vendor/assets/javascripts/ueditor/dialogs/table/edittd.html +61 -0
- data/vendor/assets/javascripts/ueditor/dialogs/table/edittip.html +33 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/config.js +42 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/images/bg.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre0.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre1.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre2.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre3.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre4.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/template.css +18 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/template.html +26 -0
- data/vendor/assets/javascripts/ueditor/dialogs/template/template.js +53 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/bg.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/center_focus.jpg +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/file-icons.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/file-icons.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/icons.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/icons.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/image.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/left_focus.jpg +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/none_focus.jpg +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/progress.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/right_focus.jpg +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/success.gif +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/images/success.png +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/video.css +635 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/video.html +86 -0
- data/vendor/assets/javascripts/ueditor/dialogs/video/video.js +789 -0
- data/vendor/assets/javascripts/ueditor/dialogs/webapp/webapp.html +53 -0
- data/vendor/assets/javascripts/ueditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/wordimage/imageUploader.swf +0 -0
- data/vendor/assets/javascripts/ueditor/dialogs/wordimage/tangram.js +1495 -0
- data/vendor/assets/javascripts/ueditor/dialogs/wordimage/wordimage.html +111 -0
- data/vendor/assets/javascripts/ueditor/dialogs/wordimage/wordimage.js +157 -0
- data/vendor/assets/javascripts/ueditor/index.html +175 -0
- data/vendor/assets/javascripts/ueditor/lang/en/en.js +684 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/addimage.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/alldeletebtnupskin.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/background.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/button.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/copy.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/deletedisable.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/deleteenable.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/listbackground.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/localimage.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/music.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/rotateleftdisable.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/rotateleftenable.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/rotaterightdisable.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/rotaterightenable.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/en/images/upload.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/copy.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/localimage.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/music.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/upload.png +0 -0
- data/vendor/assets/javascripts/ueditor/lang/zh-cn/zh-cn.js +669 -0
- data/vendor/assets/javascripts/ueditor/themes/default/css/ueditor.css +1903 -0
- data/vendor/assets/javascripts/ueditor/themes/default/css/ueditor.min.css +8 -0
- data/vendor/assets/javascripts/ueditor/themes/default/dialogbase.css +100 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/anchor.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/arrow.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/arrow_down.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/arrow_up.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/button-bg.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/cancelbutton.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/charts.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_h.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_h.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_v.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/cursor_v.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/dialog-title-bg.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/filescan.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/highlighted.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/icons-all.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/icons.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/icons.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/loaderror.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/loading.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/lock.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/neweditor-tab-bg.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/pagebreak.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/scale.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/sortable.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/spacer.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/sparator_v.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/table-cell-align.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/tangram-colorpicker.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/toolbar_bg.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/unhighlighted.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/upload.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/videologo.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/word.gif +0 -0
- data/vendor/assets/javascripts/ueditor/themes/default/images/wordpaste.png +0 -0
- data/vendor/assets/javascripts/ueditor/themes/iframe.css +1 -0
- data/vendor/assets/javascripts/ueditor/third-party/codemirror/codemirror.css +104 -0
- data/vendor/assets/javascripts/ueditor/third-party/codemirror/codemirror.js +3581 -0
- data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.js +1256 -0
- data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js +9 -0
- data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
- data/vendor/assets/javascripts/ueditor/ueditor.all.js +29429 -0
- data/vendor/assets/javascripts/ueditor/ueditor.all.min.js +709 -0
- data/vendor/assets/javascripts/ueditor/ueditor.config.js +413 -0
- data/vendor/assets/javascripts/ueditor/ueditor.parse.js +1022 -0
- data/vendor/assets/javascripts/ueditor/ueditor.parse.min.js +28 -0
- metadata +464 -0
@@ -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
|
+
}
|