ueditor_rails4 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.markdown +45 -0
  4. data/Rakefile +40 -0
  5. data/app/assets/images/ueditor/themes/default/anchor.gif +0 -0
  6. data/app/assets/images/ueditor/themes/default/arrow.png +0 -0
  7. data/app/assets/images/ueditor/themes/default/button-bg.gif +0 -0
  8. data/app/assets/images/ueditor/themes/default/cancelbutton.gif +0 -0
  9. data/app/assets/images/ueditor/themes/default/cursor_h.gif +0 -0
  10. data/app/assets/images/ueditor/themes/default/cursor_h.png +0 -0
  11. data/app/assets/images/ueditor/themes/default/cursor_v.gif +0 -0
  12. data/app/assets/images/ueditor/themes/default/cursor_v.png +0 -0
  13. data/app/assets/images/ueditor/themes/default/dialog-title-bg.png +0 -0
  14. data/app/assets/images/ueditor/themes/default/filescan.png +0 -0
  15. data/app/assets/images/ueditor/themes/default/highlighted.gif +0 -0
  16. data/app/assets/images/ueditor/themes/default/icons-all.gif +0 -0
  17. data/app/assets/images/ueditor/themes/default/icons.gif +0 -0
  18. data/app/assets/images/ueditor/themes/default/icons.png +0 -0
  19. data/app/assets/images/ueditor/themes/default/lock.gif +0 -0
  20. data/app/assets/images/ueditor/themes/default/neweditor-tab-bg.png +0 -0
  21. data/app/assets/images/ueditor/themes/default/pagebreak.gif +0 -0
  22. data/app/assets/images/ueditor/themes/default/scale.png +0 -0
  23. data/app/assets/images/ueditor/themes/default/spacer.gif +0 -0
  24. data/app/assets/images/ueditor/themes/default/sparator_v.png +0 -0
  25. data/app/assets/images/ueditor/themes/default/toolbar_bg.png +0 -0
  26. data/app/assets/images/ueditor/themes/default/unhighlighted.gif +0 -0
  27. data/app/assets/images/ueditor/themes/default/upload.png +0 -0
  28. data/app/assets/images/ueditor/themes/default/videologo.gif +0 -0
  29. data/app/assets/images/ueditor/themes/default/word.gif +0 -0
  30. data/app/assets/images/ueditor/themes/default/wordpaste.png +0 -0
  31. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
  32. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
  33. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
  34. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
  35. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
  36. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
  37. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
  38. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
  39. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
  40. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
  41. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
  42. data/app/assets/images/ueditor_rails/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
  43. data/app/assets/images/ueditor_rails/dialogs/image/center_focus.jpg +0 -0
  44. data/app/assets/images/ueditor_rails/dialogs/image/left_focus.jpg +0 -0
  45. data/app/assets/images/ueditor_rails/dialogs/image/none_focus.jpg +0 -0
  46. data/app/assets/images/ueditor_rails/dialogs/image/right_focus.jpg +0 -0
  47. data/app/assets/images/ueditor_rails/dialogs/scrawl/addimg.png +0 -0
  48. data/app/assets/images/ueditor_rails/dialogs/scrawl/brush.png +0 -0
  49. data/app/assets/images/ueditor_rails/dialogs/scrawl/delimg.png +0 -0
  50. data/app/assets/images/ueditor_rails/dialogs/scrawl/delimgH.png +0 -0
  51. data/app/assets/images/ueditor_rails/dialogs/scrawl/empty.png +0 -0
  52. data/app/assets/images/ueditor_rails/dialogs/scrawl/emptyH.png +0 -0
  53. data/app/assets/images/ueditor_rails/dialogs/scrawl/eraser.png +0 -0
  54. data/app/assets/images/ueditor_rails/dialogs/scrawl/redo.png +0 -0
  55. data/app/assets/images/ueditor_rails/dialogs/scrawl/redoH.png +0 -0
  56. data/app/assets/images/ueditor_rails/dialogs/scrawl/scale.png +0 -0
  57. data/app/assets/images/ueditor_rails/dialogs/scrawl/scaleH.png +0 -0
  58. data/app/assets/images/ueditor_rails/dialogs/scrawl/size.png +0 -0
  59. data/app/assets/images/ueditor_rails/dialogs/scrawl/undo.png +0 -0
  60. data/app/assets/images/ueditor_rails/dialogs/scrawl/undoH.png +0 -0
  61. data/app/assets/javascripts/ueditor_rails/_config.js.erb +211 -0
  62. data/app/assets/javascripts/ueditor_rails/dialogs/attachment.js +5 -0
  63. data/app/assets/javascripts/ueditor_rails/dialogs/attachment/_callbacks.js +166 -0
  64. data/app/assets/javascripts/ueditor_rails/dialogs/attachment/_file_type_maps.js.erb +14 -0
  65. data/app/assets/javascripts/ueditor_rails/dialogs/image.js.erb +724 -0
  66. data/app/assets/javascripts/ueditor_rails/dialogs/scrawl.js +655 -0
  67. data/app/assets/javascripts/ueditor_rails/dialogs/wordimage.js +154 -0
  68. data/app/assets/javascripts/ueditor_rails/init.js +12 -0
  69. data/app/assets/stylesheets/ueditor/themes/default/dialogbase.css.erb +100 -0
  70. data/app/assets/stylesheets/ueditor/themes/default/ueditor.css +1582 -0
  71. data/app/assets/stylesheets/ueditor/themes/iframe.css +1 -0
  72. data/app/assets/stylesheets/ueditor_rails/dialogs/attachment.css.erb +161 -0
  73. data/app/assets/stylesheets/ueditor_rails/dialogs/image.css.erb +69 -0
  74. data/app/assets/stylesheets/ueditor_rails/dialogs/scrawl.css.erb +72 -0
  75. data/app/controllers/ueditor_rails/application_controller.rb +5 -0
  76. data/app/controllers/ueditor_rails/dialogs_controller.rb +21 -0
  77. data/app/controllers/ueditor_rails/libs_controller.rb +33 -0
  78. data/app/helpers/ueditor_rails/application_helper.rb +27 -0
  79. data/app/views/ueditor_rails/dialogs/attachment.html.erb +124 -0
  80. data/app/views/ueditor_rails/dialogs/image.html.erb +203 -0
  81. data/app/views/ueditor_rails/dialogs/scrawl.html.erb +96 -0
  82. data/app/views/ueditor_rails/dialogs/wordimage.html.erb +155 -0
  83. data/config/routes.rb +11 -0
  84. data/lib/generators/ueditor_rails/USAGE +8 -0
  85. data/lib/generators/ueditor_rails/install_generator.rb +15 -0
  86. data/lib/generators/ueditor_rails/templates/ueditor_config.js.erb +216 -0
  87. data/lib/tasks/ueditor_rails_tasks.rake +4 -0
  88. data/lib/ueditor_rails/engine.rb +17 -0
  89. data/lib/ueditor_rails/helpers/form_builder.rb +11 -0
  90. data/lib/ueditor_rails/helpers/form_helper.rb +37 -0
  91. data/lib/ueditor_rails/helpers/view_helper.rb +21 -0
  92. data/lib/ueditor_rails/util.rb +42 -0
  93. data/lib/ueditor_rails/version.rb +3 -0
  94. data/lib/ueditor_rails4.rb +32 -0
  95. data/test/dummy/README.rdoc +261 -0
  96. data/test/dummy/Rakefile +7 -0
  97. data/test/dummy/app/assets/javascripts/application.js +16 -0
  98. data/test/dummy/app/assets/javascripts/posts.js +2 -0
  99. data/test/dummy/app/assets/javascripts/ueditor_config.js.erb +208 -0
  100. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  101. data/test/dummy/app/assets/stylesheets/posts.css +4 -0
  102. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  103. data/test/dummy/app/controllers/application_controller.rb +3 -0
  104. data/test/dummy/app/controllers/posts_controller.rb +83 -0
  105. data/test/dummy/app/helpers/application_helper.rb +2 -0
  106. data/test/dummy/app/helpers/posts_helper.rb +2 -0
  107. data/test/dummy/app/models/post.rb +3 -0
  108. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  109. data/test/dummy/app/views/posts/_form.html.erb +25 -0
  110. data/test/dummy/app/views/posts/edit.html.erb +6 -0
  111. data/test/dummy/app/views/posts/index.html.erb +29 -0
  112. data/test/dummy/app/views/posts/new.html.erb +5 -0
  113. data/test/dummy/app/views/posts/show.html.erb +14 -0
  114. data/test/dummy/config.ru +4 -0
  115. data/test/dummy/config/application.rb +61 -0
  116. data/test/dummy/config/boot.rb +10 -0
  117. data/test/dummy/config/database.yml +25 -0
  118. data/test/dummy/config/environment.rb +5 -0
  119. data/test/dummy/config/environments/development.rb +37 -0
  120. data/test/dummy/config/environments/production.rb +67 -0
  121. data/test/dummy/config/environments/test.rb +37 -0
  122. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  123. data/test/dummy/config/initializers/inflections.rb +15 -0
  124. data/test/dummy/config/initializers/mime_types.rb +5 -0
  125. data/test/dummy/config/initializers/secret_token.rb +7 -0
  126. data/test/dummy/config/initializers/session_store.rb +8 -0
  127. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  128. data/test/dummy/config/locales/en.yml +5 -0
  129. data/test/dummy/config/routes.rb +8 -0
  130. data/test/dummy/db/migrate/20130327173045_create_posts.rb +10 -0
  131. data/test/dummy/db/schema.rb +23 -0
  132. data/test/dummy/public/404.html +26 -0
  133. data/test/dummy/public/422.html +26 -0
  134. data/test/dummy/public/500.html +25 -0
  135. data/test/dummy/public/favicon.ico +0 -0
  136. data/test/dummy/script/rails +6 -0
  137. data/test/dummy/test/fixtures/posts.yml +9 -0
  138. data/test/dummy/test/functional/posts_controller_test.rb +49 -0
  139. data/test/dummy/test/unit/helpers/posts_helper_test.rb +4 -0
  140. data/test/dummy/test/unit/post_test.rb +7 -0
  141. data/test/functional/ueditor_rails/dialogs_controller_test.rb +16 -0
  142. data/test/functional/ueditor_rails/libs_controller_test.rb +21 -0
  143. data/test/integration/navigation_test.rb +10 -0
  144. data/test/test_helper.rb +15 -0
  145. data/test/ueditor_rails_test.rb +7 -0
  146. data/vendor/assets/javascripts/ueditor/dialogs/anchor/anchor.html.erb +57 -0
  147. data/vendor/assets/javascripts/ueditor/dialogs/background/background.css +24 -0
  148. data/vendor/assets/javascripts/ueditor/dialogs/background/background.html.erb +55 -0
  149. data/vendor/assets/javascripts/ueditor/dialogs/background/background.js +348 -0
  150. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.css.erb +43 -0
  151. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.html.erb +54 -0
  152. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.js +186 -0
  153. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/0.gif +0 -0
  154. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/bface.gif +0 -0
  155. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/cface.gif +0 -0
  156. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/fface.gif +0 -0
  157. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/jxface2.gif +0 -0
  158. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  159. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/tface.gif +0 -0
  160. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/wface.gif +0 -0
  161. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/yface.gif +0 -0
  162. data/vendor/assets/javascripts/ueditor/dialogs/gmap/gmap.html.erb +89 -0
  163. data/vendor/assets/javascripts/ueditor/dialogs/help/help.css +7 -0
  164. data/vendor/assets/javascripts/ueditor/dialogs/help/help.html.erb +84 -0
  165. data/vendor/assets/javascripts/ueditor/dialogs/help/help.js +54 -0
  166. data/vendor/assets/javascripts/ueditor/dialogs/highlightcode/highlightcode.html.erb +131 -0
  167. data/vendor/assets/javascripts/ueditor/dialogs/insertframe/insertframe.html.erb +98 -0
  168. data/vendor/assets/javascripts/ueditor/dialogs/internal.js +79 -0
  169. data/vendor/assets/javascripts/ueditor/dialogs/link/link.html.erb +141 -0
  170. data/vendor/assets/javascripts/ueditor/dialogs/map/map.html.erb +105 -0
  171. data/vendor/assets/javascripts/ueditor/dialogs/music/music.css +30 -0
  172. data/vendor/assets/javascripts/ueditor/dialogs/music/music.html.erb +32 -0
  173. data/vendor/assets/javascripts/ueditor/dialogs/music/music.js +192 -0
  174. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.html.erb +74 -0
  175. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.js +160 -0
  176. data/vendor/assets/javascripts/ueditor/dialogs/snapscreen/snapscreen.html.erb +91 -0
  177. data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.html.erb +21 -0
  178. data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.js +56 -0
  179. data/vendor/assets/javascripts/ueditor/dialogs/table/dragicon.png +0 -0
  180. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.css +75 -0
  181. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.html.erb +57 -0
  182. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.js +182 -0
  183. data/vendor/assets/javascripts/ueditor/dialogs/table/edittd.html.erb +51 -0
  184. data/vendor/assets/javascripts/ueditor/dialogs/table/edittip.html.erb +33 -0
  185. data/vendor/assets/javascripts/ueditor/dialogs/tangram.js +1238 -0
  186. data/vendor/assets/javascripts/ueditor/dialogs/template/config.js +42 -0
  187. data/vendor/assets/javascripts/ueditor/dialogs/template/images/bg.gif +0 -0
  188. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre0.png +0 -0
  189. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre1.png +0 -0
  190. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre2.png +0 -0
  191. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre3.png +0 -0
  192. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre4.png +0 -0
  193. data/vendor/assets/javascripts/ueditor/dialogs/template/template.css +18 -0
  194. data/vendor/assets/javascripts/ueditor/dialogs/template/template.html.erb +26 -0
  195. data/vendor/assets/javascripts/ueditor/dialogs/template/template.js +53 -0
  196. data/vendor/assets/javascripts/ueditor/dialogs/video/images/center_focus.jpg +0 -0
  197. data/vendor/assets/javascripts/ueditor/dialogs/video/images/left_focus.jpg +0 -0
  198. data/vendor/assets/javascripts/ueditor/dialogs/video/images/none_focus.jpg +0 -0
  199. data/vendor/assets/javascripts/ueditor/dialogs/video/images/right_focus.jpg +0 -0
  200. data/vendor/assets/javascripts/ueditor/dialogs/video/video.css +59 -0
  201. data/vendor/assets/javascripts/ueditor/dialogs/video/video.html.erb +78 -0
  202. data/vendor/assets/javascripts/ueditor/dialogs/video/video.js.erb +409 -0
  203. data/vendor/assets/javascripts/ueditor/dialogs/webapp/webapp.html.erb +64 -0
  204. data/vendor/assets/javascripts/ueditor/editor_all.js.erb +19133 -0
  205. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/copy.png +0 -0
  206. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/imglabel.png +0 -0
  207. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/localimage.png +0 -0
  208. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/music.png +0 -0
  209. data/vendor/assets/javascripts/ueditor/lang/zh-cn/images/upload.png +0 -0
  210. data/vendor/assets/javascripts/ueditor/lang/zh-cn/zh-cn.js +492 -0
  211. data/vendor/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCore.js +3655 -0
  212. data/vendor/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css +316 -0
  213. data/vendor/assets/javascripts/ueditor/third-party/codemirror/codemirror.css +104 -0
  214. data/vendor/assets/javascripts/ueditor/third-party/codemirror/codemirror.js +3581 -0
  215. data/vendor/assets/javascripts/ueditor/third-party/fClipboard_ueditor.swf +0 -0
  216. data/vendor/assets/javascripts/ueditor/third-party/imageUploader.swf +0 -0
  217. data/vendor/assets/javascripts/ueditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
  218. data/vendor/assets/javascripts/ueditor/third-party/swfupload/fileprogress.js +215 -0
  219. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.cookies.js +53 -0
  220. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.js +1132 -0
  221. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.proxy.js +96 -0
  222. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.queue.js +98 -0
  223. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.speed.js +346 -0
  224. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload.swf +0 -0
  225. data/vendor/assets/javascripts/ueditor/third-party/swfupload/swfupload_fp9.swf +0 -0
  226. data/vendor/assets/javascripts/ueditor/uparse.js +348 -0
  227. metadata +363 -0
@@ -0,0 +1,154 @@
1
+ /**
2
+ * Created by JetBrains PhpStorm.
3
+ * User: taoqili
4
+ * Date: 12-1-30
5
+ * Time: 下午12:50
6
+ * To change this template use File | Settings | File Templates.
7
+ */
8
+
9
+ //editor.execCommand("wordimage","word_img");
10
+
11
+
12
+ var wordImage = {};
13
+ //(function(){
14
+ var g = baidu.g,
15
+ flashObj,flashContainer;
16
+ wordImage.init = function(opt, callbacks) {
17
+ showLocalPath("localPath");
18
+ //createCopyButton("clipboard","localPath");
19
+ createFlashUploader(opt, callbacks);
20
+ addUploadListener();
21
+ addOkListener();
22
+ };
23
+
24
+ function hideFlash(){
25
+ flashObj = null;
26
+ flashContainer.innerHTML = "";
27
+ }
28
+ function addOkListener() {
29
+ dialog.onok = function() {
30
+ if (!imageUrls.length) return;
31
+ var images = domUtils.getElementsByTagName(editor.document,"img");
32
+ for (var i = 0,img; img = images[i++];) {
33
+ var src = img.getAttribute("word_img");
34
+ if (!src) continue;
35
+ for (var j = 0,url; url = imageUrls[j++];) {
36
+ if (src.indexOf(url.original.replace(" ","")) != -1) {
37
+ img.src = editor.options.wordImagePath + url.url;
38
+ img.setAttribute("data_ue_src", editor.options.wordImagePath + url.url); //同时修改"data_ue_src"属性
39
+ img.setAttribute("title",url.title);
40
+ parent.baidu.editor.dom.domUtils.removeAttributes(img, ["word_img","style","width","height"]);
41
+ editor.fireEvent("selectionchange");
42
+ break;
43
+ }
44
+ }
45
+ }
46
+ hideFlash();
47
+ };
48
+ dialog.oncancel = function(){
49
+ hideFlash();
50
+ }
51
+ }
52
+
53
+ /**
54
+ * 绑定开始上传事件
55
+ */
56
+ function addUploadListener() {
57
+ g("upload").onclick = function () {
58
+ flashObj.upload();
59
+ this.style.display = "none";
60
+ };
61
+ }
62
+
63
+ function showLocalPath(id) {
64
+ //单张编辑
65
+ var img = editor.selection.getRange().getClosedNode();
66
+ if(editor.word_img.length==1 || img && img.tagName == 'IMG'){
67
+ g(id).value = editor.word_img[0];
68
+ return;
69
+ }
70
+ var path = editor.word_img[0];
71
+ var leftSlashIndex = path.lastIndexOf("/")||0, //不同版本的doc和浏览器都可能影响到这个符号,故直接判断两种
72
+ rightSlashIndex = path.lastIndexOf("\\")||0,
73
+ separater = leftSlashIndex > rightSlashIndex ? "/":"\\" ;
74
+
75
+ path = path.substring(0, path.lastIndexOf(separater)+1);
76
+ g(id).value = path;
77
+ }
78
+
79
+ function createFlashUploader(opt, callbacks) {
80
+ //由于lang.flashI18n是静态属性,不可以直接进行修改,否则会影响到后续内容
81
+ var i18n = utils.extend({},lang.flashI18n);
82
+ //处理图片资源地址的编码,补全等问题
83
+ for(var i in i18n){
84
+ if(!(i in {"lang":1,"uploadingTF":1,"imageTF":1,"textEncoding":1}) && i18n[i]){
85
+ i18n[i] = encodeURIComponent(editor.options.langPath + editor.options.lang + "/images/" + i18n[i]);
86
+ }
87
+ }
88
+ opt = utils.extend(opt,i18n,false);
89
+ var option = {
90
+ createOptions:{
91
+ id:'flash',
92
+ url:opt.flashUrl,
93
+ width:opt.width,
94
+ height:opt.height,
95
+ errorMessage:lang.flashError,
96
+ wmode:browser.safari ? 'transparent' : 'window',
97
+ ver:'10.0.0',
98
+ vars:opt,
99
+ container:opt.container
100
+ }
101
+ };
102
+
103
+ option = extendProperty(callbacks, option);
104
+ flashObj = new baidu.flash.imageUploader(option);
105
+ flashContainer = $G(opt.container);
106
+ }
107
+
108
+ function extendProperty(fromObj, toObj) {
109
+ for (var i in fromObj) {
110
+ if (!toObj[i]) {
111
+ toObj[i] = fromObj[i];
112
+ }
113
+ }
114
+ return toObj;
115
+ }
116
+
117
+ //})();
118
+
119
+ function getPasteData(id) {
120
+ baidu.g("msg").innerHTML = lang.copySuccess + "</br>";
121
+ setTimeout(function() {
122
+ baidu.g("msg").innerHTML = "";
123
+ }, 5000);
124
+ return baidu.g(id).value;
125
+ }
126
+
127
+ function createCopyButton(id, dataFrom) {
128
+ baidu.swf.create({
129
+ id:"copyFlash",
130
+ url:"fClipboard_ueditor.swf",
131
+ width:"58",
132
+ height:"25",
133
+ errorMessage:"",
134
+ bgColor:"#CBCBCB",
135
+ wmode:"transparent",
136
+ ver:"10.0.0",
137
+ vars:{
138
+ tid:dataFrom
139
+ }
140
+ }, id
141
+ );
142
+
143
+ var clipboard = baidu.swf.getMovie("copyFlash");
144
+ var clipinterval = setInterval(function() {
145
+ if (clipboard && clipboard.flashInit) {
146
+ clearInterval(clipinterval);
147
+ clipboard.setHandCursor(true);
148
+ clipboard.setContentFuncName("getPasteData");
149
+ //clipboard.setMEFuncName("mouseEventHandler");
150
+ }
151
+
152
+ }, 500);
153
+ }
154
+ createCopyButton("clipboard", "localPath");
@@ -0,0 +1,12 @@
1
+ //= require ueditor_rails/_config
2
+ //= require ueditor/editor_all
3
+ //= require_self
4
+
5
+ $(function() {
6
+ if(window.UEDITOR_FIELDS !== undefined) {
7
+ for(var i in window.UEDITOR_FIELDS) {
8
+ var f = window.UEDITOR_FIELDS[i];
9
+ UE.getEditor(f['id'], f['opt']);
10
+ }
11
+ }
12
+ });
@@ -0,0 +1,100 @@
1
+ /*弹出对话框页面样式组件
2
+ */
3
+
4
+ /*reset
5
+ */
6
+ html, body, div, span, applet, object, iframe,
7
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
+ a, abbr, acronym, address, big, cite, code,
9
+ del, dfn, em, font, img, ins, kbd, q, s, samp,
10
+ small, strike, strong, sub, sup, tt, var,
11
+ b, u, i, center,
12
+ dl, dt, dd, ol, ul, li,
13
+ fieldset, form, label, legend,
14
+ table, caption, tbody, tfoot, thead, tr, th, td {
15
+ margin: 0;
16
+ padding: 0;
17
+ outline: 0;
18
+ font-size: 100%;
19
+ }
20
+
21
+ body {
22
+ line-height: 1;
23
+ }
24
+
25
+ ol, ul {
26
+ list-style: none;
27
+ }
28
+
29
+ blockquote, q {
30
+ quotes: none;
31
+ }
32
+
33
+ ins {
34
+ text-decoration: none;
35
+ }
36
+
37
+ del {
38
+ text-decoration: line-through;
39
+ }
40
+
41
+ table {
42
+ border-collapse: collapse;
43
+ border-spacing: 0;
44
+ }
45
+
46
+ /*module
47
+ */
48
+ body {
49
+ background-color: #fff;
50
+ font: 12px/1.5 "宋体", "Arial Narrow", HELVETICA;
51
+ color: #646464;
52
+ }
53
+
54
+ /*tab*/
55
+ .tabhead {
56
+ position: relative;
57
+ z-index: 10;
58
+ }
59
+
60
+ .tabhead span {
61
+ display: inline-block;
62
+ padding: 0 5px;
63
+ height: 30px;
64
+ border: 1px solid #ccc;
65
+ background: url(dialog-title-bg.png) repeat-x;
66
+ text-align: center;
67
+ line-height: 30px;
68
+ cursor: pointer;
69
+ *margin-right: 5px;
70
+ }
71
+
72
+ .tabhead span.focus {
73
+ height: 31px;
74
+ border-bottom: none;
75
+ background: #fff;
76
+ }
77
+
78
+ .tabbody {
79
+ position: relative;
80
+ top: -1px;
81
+ margin: 0 auto;
82
+ border: 1px solid #ccc;
83
+ }
84
+
85
+ /*button*/
86
+ a.button {
87
+ display: block;
88
+ text-align: center;
89
+ line-height: 24px;
90
+ text-decoration: none;
91
+ height: 24px;
92
+ width: 95px;
93
+ border: 0;
94
+ color: #838383;
95
+ background: url(icons-all.gif) no-repeat;
96
+ }
97
+
98
+ a.button:hover {
99
+ background-position: 0 -30px;
100
+ }
@@ -0,0 +1,1582 @@
1
+ /*基础UI构建
2
+ */
3
+ /* common layer */
4
+ .edui-default .edui-box {
5
+ border: none;
6
+ padding: 0;
7
+ margin: 0;
8
+ overflow: hidden;
9
+ }
10
+
11
+ .edui-default a.edui-box {
12
+ display: block;
13
+ text-decoration: none;
14
+ color: black;
15
+ }
16
+
17
+ .edui-default a.edui-box:hover {
18
+ text-decoration: none;
19
+ }
20
+
21
+ .edui-default a.edui-box:active {
22
+ text-decoration: none;
23
+ }
24
+
25
+ .edui-default table.edui-box {
26
+ border-collapse: collapse;
27
+ }
28
+
29
+ .edui-default ul.edui-box {
30
+ list-style-type: none;
31
+ }
32
+
33
+ div.edui-box {
34
+ position: relative;
35
+ display: -moz-inline-box !important;
36
+ display: inline-block !important;
37
+ vertical-align: top;
38
+ }
39
+
40
+ .edui-default .edui-clearfix {
41
+ zoom: 1
42
+ }
43
+
44
+ .edui-default .edui-clearfix:after {
45
+ content: '\20';
46
+ display: block;
47
+ clear: both;
48
+ }
49
+
50
+ * html div.edui-box {
51
+ display: inline !important;
52
+ }
53
+
54
+ *:first-child+html div.edui-box {
55
+ display: inline !important;
56
+ }
57
+
58
+ /* control layout */
59
+ .edui-default .edui-button-body, .edui-splitbutton-body, .edui-menubutton-body, .edui-combox-body {
60
+ position: relative;
61
+ }
62
+
63
+ .edui-default .edui-popup {
64
+ position: absolute;
65
+ -webkit-user-select: none;
66
+ -moz-user-select: none;
67
+ }
68
+
69
+ .edui-default .edui-popup .edui-shadow {
70
+ position: absolute;
71
+ z-index: -1;
72
+ }
73
+
74
+ .edui-default .edui-popup .edui-bordereraser {
75
+ position: absolute;
76
+ overflow: hidden;
77
+ }
78
+
79
+ .edui-default .edui-tablepicker .edui-canvas {
80
+ position: relative;
81
+ }
82
+
83
+ .edui-default .edui-tablepicker .edui-canvas .edui-overlay {
84
+ position: absolute;
85
+ }
86
+
87
+ .edui-default .edui-dialog-modalmask, .edui-dialog-dragmask {
88
+ position: absolute;
89
+ left: 0;
90
+ top: 0;
91
+ width: 100%;
92
+ height: 100%;
93
+ }
94
+
95
+ .edui-default .edui-toolbar {
96
+ position: relative;
97
+ }
98
+
99
+ /*
100
+ * default theme
101
+ */
102
+ .edui-default .edui-label {
103
+ cursor: default;
104
+ }
105
+
106
+ .edui-default span.edui-clickable {
107
+ color: blue;
108
+ cursor: pointer;
109
+ text-decoration: underline;
110
+ }
111
+
112
+ .edui-default span.edui-unclickable {
113
+ color: gray;
114
+ cursor: default;
115
+ }
116
+ /* 工具栏 */
117
+ .edui-default .edui-toolbar {
118
+ cursor: default;
119
+ -webkit-user-select: none;
120
+ -moz-user-select: none;
121
+ padding: 1px;
122
+ overflow: hidden; /*全屏下单独一行不占位*/
123
+ zoom: 1;
124
+ }
125
+
126
+ .edui-default .edui-toolbar .edui-button,
127
+ .edui-default .edui-toolbar .edui-splitbutton,
128
+ .edui-default .edui-toolbar .edui-menubutton,
129
+ .edui-default .edui-toolbar .edui-combox {
130
+ margin: 1px;
131
+ }
132
+ /*UI工具栏、编辑区域、底部*/
133
+ .edui-default .edui-editor {
134
+ border: 1px solid #ccc;
135
+ background-color: white;
136
+ position: relative;
137
+ overflow: visible;
138
+ }
139
+
140
+ .edui-default .edui-editor-toolbarbox {
141
+ position: relative;
142
+ zoom: 1;
143
+ }
144
+
145
+ .edui-default .edui-editor-toolbarboxouter {
146
+ border-bottom: 1px solid #ccc;
147
+ background: white url(toolbar_bg.png) repeat-x bottom left;
148
+ }
149
+
150
+ .edui-default .edui-editor-toolbarboxinner {
151
+ padding: 2px;
152
+ }
153
+
154
+ .edui-default .edui-editor-iframeholder {
155
+ position: relative;
156
+ /*for fix ie6 toolbarmsg under iframe bug. relative -> static */
157
+ /*_position: static !important;*/
158
+ }
159
+
160
+ .edui-default .edui-editor-iframeholder textarea {
161
+ font-family: consolas, "Courier New", "lucida console", monospace;
162
+ font-size: 12px;
163
+ line-height: 18px;
164
+ }
165
+
166
+ .edui-default .edui-editor-bottombar {
167
+ /*border-top: 1px solid #ccc;*/
168
+ /*height: 20px;*/
169
+ /*width: 40%;*/
170
+ /*float: left;*/
171
+ /*overflow: hidden;*/
172
+ }
173
+
174
+ .edui-default .edui-editor-bottomContainer {
175
+ overflow: hidden;
176
+ }
177
+
178
+ .edui-default .edui-editor-bottomContainer table {
179
+ width: 100%;
180
+ height: 0;
181
+ overflow: hidden;
182
+ border-spacing: 0;
183
+ }
184
+
185
+ .edui-default .edui-editor-bottomContainer td {
186
+ white-space: nowrap;
187
+ border-top: 1px solid #ccc;
188
+ line-height: 20px;
189
+ font-size: 12px;
190
+ font-family: Arial, Helvetica, Tahoma, Verdana, Sans-Serif;
191
+ }
192
+
193
+ .edui-default .edui-editor-wordcount {
194
+ text-align: right;
195
+ margin-right: 5px;
196
+ color: #aaa;
197
+ }
198
+ .edui-default .edui-editor-scale {
199
+ width: 12px;
200
+ }
201
+ .edui-default .edui-editor-scale .edui-editor-icon {
202
+ float: right;
203
+ width: 100%;
204
+ height: 12px;
205
+ margin-top: 10px;
206
+ background: url(scale.png) no-repeat;
207
+ cursor: se-resize;
208
+ }
209
+ .edui-default .edui-editor-breadcrumb {
210
+ margin: 2px 0 0 3px;
211
+ }
212
+
213
+ .edui-default .edui-editor-breadcrumb span {
214
+ cursor: pointer;
215
+ text-decoration: underline;
216
+ color: blue;
217
+ }
218
+
219
+ .edui-default .edui-toolbar .edui-for-fullscreen {
220
+ float: right;
221
+ }
222
+
223
+ .edui-default .edui-bubble .edui-popup-content {
224
+ border: 1px solid #DCAC6C;
225
+ background-color: #fff6d9;
226
+ padding: 5px;
227
+ font-size: 10pt;
228
+ font-family: "??";
229
+ }
230
+
231
+ .edui-default .edui-bubble .edui-shadow {
232
+ box-shadow: 1px 1px 3px #818181;
233
+ -webkit-box-shadow: 2px 2px 3px #818181;
234
+ -moz-box-shadow: 2px 2px 3px #818181;
235
+ filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius = '2', MakeShadow = 'true', ShadowOpacity = '0.5');
236
+ }
237
+
238
+ .edui-default .edui-editor-toolbarmsg {
239
+ background-color: #FFF6D9;
240
+ border-bottom: 1px solid #ccc;
241
+ position: absolute;
242
+ bottom: -25px;
243
+ left: 0;
244
+ z-index: 1009;
245
+ width: 99.9%;
246
+ }
247
+
248
+ .edui-default .edui-editor-toolbarmsg-upload {
249
+ font-size: 14px;
250
+ color: blue;
251
+ width: 100px;
252
+ height: 16px;
253
+ line-height: 16px;
254
+ cursor: pointer;
255
+ position: absolute;
256
+ top: 5px;
257
+ left: 350px;
258
+ }
259
+
260
+ .edui-default .edui-editor-toolbarmsg-label {
261
+ font-size: 12px;
262
+ line-height: 16px;
263
+ padding: 4px;
264
+ }
265
+
266
+ .edui-default .edui-editor-toolbarmsg-close {
267
+ float: right;
268
+ width: 20px;
269
+ height: 16px;
270
+ line-height: 16px;
271
+ cursor: pointer;
272
+ color: red;
273
+ }
274
+ /*???????*/
275
+ .edui-default .edui-list .edui-bordereraser {
276
+ display: none;
277
+ }
278
+
279
+ .edui-default .edui-listitem {
280
+ padding: 1px;
281
+ white-space: nowrap;
282
+ }
283
+
284
+ .edui-default .edui-list .edui-state-hover {
285
+ position: relative;
286
+ background-color: #fff5d4;
287
+ border: 1px solid #dcac6c;
288
+ padding: 0;
289
+ }
290
+
291
+ .edui-default .edui-for-fontfamily .edui-listitem-label {
292
+ min-width: 120px;
293
+ _width: 120px;
294
+ font-size: 12px;
295
+ height: 22px;
296
+ line-height: 22px;
297
+ padding-left: 5px;
298
+ }
299
+
300
+ .edui-default .edui-for-underline .edui-listitem-label {
301
+ min-width: 120px;
302
+ _width: 120px;
303
+ padding: 3px 5px;
304
+ font-size: 12px;
305
+ }
306
+
307
+ .edui-default .edui-for-fontsize .edui-listitem-label {
308
+ min-width: 120px;
309
+ _width: 120px;
310
+ padding: 3px 5px;
311
+
312
+ }
313
+
314
+ .edui-default .edui-for-paragraph .edui-listitem-label {
315
+ min-width: 200px;
316
+ _width: 200px;
317
+ padding: 2px 5px;
318
+ }
319
+
320
+ .edui-default .edui-for-rowspacingtop .edui-listitem-label,
321
+ .edui-default .edui-for-rowspacingbottom .edui-listitem-label {
322
+ min-width: 53px;
323
+ _width: 53px;
324
+ padding: 2px 5px;
325
+ }
326
+
327
+ .edui-default .edui-for-lineheight .edui-listitem-label {
328
+ min-width: 53px;
329
+ _width: 53px;
330
+ padding: 2px 5px;
331
+ }
332
+
333
+ .edui-default .edui-for-customstyle .edui-listitem-label {
334
+ min-width: 200px;
335
+ _width: 200px;
336
+ width: 200px !important;
337
+ padding: 2px 5px;
338
+ }
339
+ /* ?????????*/
340
+ .edui-default .edui-menu {
341
+ z-index: 3000;
342
+ }
343
+
344
+ .edui-default .edui-menu .edui-popup-content {
345
+ background-color: white;
346
+ padding: 3px;
347
+ }
348
+
349
+ .edui-default .edui-menu-body {
350
+ _width: 150px;
351
+ min-width: 150px;
352
+ background: url(sparator_v.png) repeat-y 25px;
353
+ }
354
+
355
+ .edui-default .edui-menuitem-body {
356
+ }
357
+
358
+ .edui-default .edui-menuitem {
359
+ height: 20px;
360
+ cursor: default;
361
+ vertical-align: top;
362
+ }
363
+
364
+ .edui-default .edui-menuitem .edui-icon {
365
+ width: 20px !important;
366
+ height: 20px !important;
367
+ background: url(icons.png) 0 -40px;
368
+ background: url(icons.gif) 0 -40 px\9;
369
+ }
370
+
371
+ .edui-default .edui-menuitem .edui-label {
372
+ font-size: 12px;
373
+ line-height: 20px;
374
+ height: 20px;
375
+ padding-left: 10px;
376
+ }
377
+
378
+ .edui-default .edui-state-checked .edui-menuitem-body {
379
+ background: url(icons-all.gif) no-repeat 6px -205px;
380
+ }
381
+
382
+ .edui-default .edui-state-disabled .edui-menuitem-label {
383
+ color: gray;
384
+ }
385
+
386
+
387
+ /*???????? */
388
+ .edui-default .edui-toolbar .edui-combox-body .edui-button-body {
389
+ width: 60px;
390
+ font-size: 12px;
391
+ height: 20px;
392
+ line-height: 20px;
393
+ padding-left: 5px;
394
+ white-space: nowrap;
395
+ }
396
+
397
+ .edui-default .edui-toolbar .edui-combox-body .edui-arrow {
398
+ background: url(icons.png) -741px 0;
399
+ _background: url(icons.gif) -741px 0;
400
+ height: 20px;
401
+ width: 9px;
402
+ }
403
+
404
+ .edui-default .edui-toolbar .edui-combox .edui-combox-body {
405
+ border: 1px solid #CCC;
406
+ background-color: white;
407
+ }
408
+
409
+ .edui-default .edui-toolbar .edui-combox-body .edui-splitborder {
410
+ display: none;
411
+ }
412
+
413
+ .edui-default .edui-toolbar .edui-combox-body .edui-arrow {
414
+ border-left: 1px solid #CCC;
415
+ }
416
+
417
+ .edui-default .edui-toolbar .edui-state-hover .edui-combox-body {
418
+ background-color: #fff5d4;
419
+ border: 1px solid #dcac6c;
420
+ }
421
+
422
+ .edui-default .edui-toolbar .edui-state-hover .edui-combox-body .edui-arrow {
423
+ border-left: 1px solid #dcac6c;
424
+ }
425
+
426
+ .edui-default .edui-toolbar .edui-state-checked .edui-combox-body {
427
+ background-color: #FFE69F;
428
+ border: 1px solid #DCAC6C;
429
+ }
430
+
431
+ .edui-toolbar .edui-state-checked .edui-combox-body .edui-arrow {
432
+ border-left: 1px solid #DCAC6C;
433
+ }
434
+
435
+ .edui-toolbar .edui-state-disabled .edui-combox-body {
436
+ background-color: #F0F0EE;
437
+ opacity: 0.3;
438
+ filter: alpha(opacity = 30);
439
+ }
440
+
441
+ .edui-toolbar .edui-state-opened .edui-combox-body {
442
+ background-color: white;
443
+ border: 1px solid gray;
444
+ }
445
+ /*?????????*/
446
+ .edui-default .edui-toolbar .edui-button .edui-icon,
447
+ .edui-default .edui-toolbar .edui-menubutton .edui-icon,
448
+ .edui-default .edui-toolbar .edui-splitbutton .edui-icon {
449
+ height: 20px !important;
450
+ width: 20px !important;
451
+ background-image: url(icons.png);
452
+ background-image: url(icons.gif) \9;
453
+ }
454
+
455
+ .edui-default .edui-toolbar .edui-button .edui-button-wrap {
456
+ padding: 1px;
457
+ position: relative;
458
+ }
459
+
460
+ .edui-default .edui-toolbar .edui-button .edui-state-hover .edui-button-wrap {
461
+ background-color: #fff5d4;
462
+ padding: 0;
463
+ border: 1px solid #dcac6c;
464
+ }
465
+
466
+ .edui-default .edui-toolbar .edui-button .edui-state-checked .edui-button-wrap {
467
+ background-color: #ffe69f;
468
+ padding: 0;
469
+ border: 1px solid #dcac6c;
470
+ }
471
+
472
+ .edui-default .edui-toolbar .edui-button .edui-state-active .edui-button-wrap {
473
+ background-color: #ffffff;
474
+ padding: 0;
475
+ border: 1px solid gray;
476
+ }
477
+ .edui-default .edui-toolbar .edui-state-disabled .edui-label {
478
+ color: #ccc;
479
+ }
480
+ .edui-default .edui-toolbar .edui-state-disabled .edui-icon {
481
+ opacity: 0.3;
482
+ filter: alpha(opacity = 30);
483
+ }
484
+ /* toolbar icons */
485
+ .edui-default .edui-for-undo .edui-icon {
486
+ background-position: -160px 0;
487
+ }
488
+
489
+ .edui-default .edui-for-redo .edui-icon {
490
+ background-position: -100px 0;
491
+ }
492
+
493
+ .edui-default .edui-for-bold .edui-icon {
494
+ background-position: 0 0;
495
+ }
496
+
497
+ .edui-default .edui-for-italic .edui-icon {
498
+ background-position: -60px 0;
499
+ }
500
+
501
+ .edui-default .edui-for-underline .edui-icon {
502
+ background-position: -140px 0;
503
+ }
504
+
505
+ .edui-default .edui-for-strikethrough .edui-icon {
506
+ background-position: -120px 0;
507
+ }
508
+
509
+ .edui-default .edui-for-subscript .edui-icon {
510
+ background-position: -600px 0;
511
+ }
512
+
513
+ .edui-default .edui-for-superscript .edui-icon {
514
+ background-position: -620px 0;
515
+ }
516
+
517
+ .edui-default .edui-for-blockquote .edui-icon {
518
+ background-position: -220px 0;
519
+ }
520
+
521
+ .edui-default .edui-for-forecolor .edui-icon {
522
+ background-position: -720px 0;
523
+ }
524
+
525
+ .edui-default .edui-for-backcolor .edui-icon {
526
+ background-position: -760px 0;
527
+ }
528
+
529
+ .edui-default .edui-for-inserttable .edui-icon {
530
+ background-position: -580px -20px;
531
+ }
532
+
533
+ .edui-default .edui-for-autotypeset .edui-icon {
534
+ background-position: -640px -40px;
535
+ }
536
+
537
+ .edui-default .edui-for-justifyleft .edui-icon {
538
+ background-position: -460px 0;
539
+ }
540
+
541
+ .edui-default .edui-for-justifycenter .edui-icon {
542
+ background-position: -420px 0;
543
+ }
544
+
545
+ .edui-default .edui-for-justifyright .edui-icon {
546
+ background-position: -480px 0;
547
+ }
548
+
549
+ .edui-default .edui-for-justifyjustify .edui-icon {
550
+ background-position: -440px 0;
551
+ }
552
+
553
+ .edui-default .edui-for-insertorderedlist .edui-icon {
554
+ background-position: -80px 0;
555
+ }
556
+
557
+ .edui-default .edui-for-insertunorderedlist .edui-icon {
558
+ background-position: -20px 0;
559
+ }
560
+
561
+ .edui-default .edui-for-lineheight .edui-icon {
562
+ background-position: -725px -40px;
563
+ }
564
+
565
+ .edui-default .edui-for-rowspacingbottom .edui-icon {
566
+ background-position: -745px -40px;
567
+ }
568
+
569
+ .edui-default .edui-for-rowspacingtop .edui-icon {
570
+ background-position: -765px -40px;
571
+ }
572
+
573
+ .edui-default .edui-for-horizontal .edui-icon {
574
+ background-position: -360px 0;
575
+ }
576
+
577
+ .edui-default .edui-for-link .edui-icon {
578
+ background-position: -500px 0;
579
+ }
580
+
581
+ .edui-default .edui-for-code .edui-icon {
582
+ background-position: -440px -40px;
583
+ }
584
+
585
+ .edui-default .edui-for-insertimage .edui-icon {
586
+ background-position: -380px 0;
587
+ }
588
+
589
+ .edui-default .edui-for-insertframe .edui-icon {
590
+ background-position: -240px -40px;
591
+ }
592
+
593
+ .edui-default .edui-for-emoticon .edui-icon {
594
+ background-position: -60px -20px;
595
+ }
596
+
597
+ .edui-default .edui-for-spechars .edui-icon {
598
+ background-position: -240px 0;
599
+ }
600
+
601
+ .edui-default .edui-for-help .edui-icon {
602
+ background-position: -340px 0;
603
+ }
604
+
605
+ .edui-default .edui-for-print .edui-icon {
606
+ background-position: -440px -20px;
607
+ }
608
+
609
+ .edui-default .edui-for-preview .edui-icon {
610
+ background-position: -420px -20px;
611
+ }
612
+
613
+ .edui-default .edui-for-selectall .edui-icon {
614
+ background-position: -400px -20px;
615
+ }
616
+
617
+ .edui-default .edui-for-searchreplace .edui-icon {
618
+ background-position: -520px -20px;
619
+ }
620
+
621
+ .edui-default .edui-for-map .edui-icon {
622
+ background-position: -40px -40px;
623
+ }
624
+
625
+ .edui-default .edui-for-gmap .edui-icon {
626
+ background-position: -260px -40px;
627
+ }
628
+
629
+ .edui-default .edui-for-insertvideo .edui-icon {
630
+ background-position: -320px -20px;
631
+ }
632
+
633
+ .edui-default .edui-for-time .edui-icon {
634
+ background-position: -160px -20px;
635
+ }
636
+
637
+ .edui-default .edui-for-date .edui-icon {
638
+ background-position: -140px -20px;
639
+ }
640
+
641
+ .edui-default .edui-for-cut .edui-icon {
642
+ background-position: -680px 0;
643
+ }
644
+
645
+ .edui-default .edui-for-copy .edui-icon {
646
+ background-position: -700px 0;
647
+ }
648
+
649
+ .edui-default .edui-for-paste .edui-icon {
650
+ background-position: -560px 0;
651
+ }
652
+
653
+ .edui-default .edui-for-formatmatch .edui-icon {
654
+ background-position: -40px 0;
655
+ }
656
+
657
+ .edui-default .edui-for-pasteplain .edui-icon {
658
+ background-position: -360px -20px;
659
+ }
660
+
661
+ .edui-default .edui-for-directionalityltr .edui-icon {
662
+ background-position: -20px -20px;
663
+ }
664
+
665
+ .edui-default .edui-for-directionalityrtl .edui-icon {
666
+ background-position: -40px -20px;
667
+ }
668
+
669
+ .edui-default .edui-for-source .edui-icon {
670
+ background-position: -260px -0px;
671
+ }
672
+
673
+ .edui-default .edui-for-removeformat .edui-icon {
674
+ background-position: -580px 0;
675
+ }
676
+
677
+ .edui-default .edui-for-unlink .edui-icon {
678
+ background-position: -640px 0;
679
+ }
680
+
681
+ .edui-default .edui-for-touppercase .edui-icon {
682
+ background-position: -786px 0;
683
+ }
684
+
685
+ .edui-default .edui-for-tolowercase .edui-icon {
686
+ background-position: -806px 0;
687
+ }
688
+
689
+ .edui-default .edui-for-insertrow .edui-icon {
690
+ background-position: -740px -20px;
691
+ }
692
+
693
+ .edui-default .edui-for-insertcol .edui-icon {
694
+ background-position: -700px -20px;
695
+ }
696
+
697
+ .edui-default .edui-for-mergeright .edui-icon {
698
+ background-position: -60px -40px;
699
+ }
700
+
701
+ .edui-default .edui-for-mergedown .edui-icon {
702
+ background-position: -80px -40px;
703
+ }
704
+
705
+ .edui-default .edui-for-splittorows .edui-icon {
706
+ background-position: -100px -40px;
707
+ }
708
+
709
+ .edui-default .edui-for-splittocols .edui-icon {
710
+ background-position: -120px -40px;
711
+ }
712
+
713
+ .edui-default .edui-for-insertparagraphbeforetable .edui-icon {
714
+ background-position: -140px -40px;
715
+ }
716
+
717
+ .edui-default .edui-for-deleterow .edui-icon {
718
+ background-position: -660px -20px;
719
+ }
720
+
721
+ .edui-default .edui-for-deletecol .edui-icon {
722
+ background-position: -640px -20px;
723
+ }
724
+
725
+ .edui-default .edui-for-splittocells .edui-icon {
726
+ background-position: -800px -20px;
727
+ }
728
+
729
+ .edui-default .edui-for-mergecells .edui-icon {
730
+ background-position: -760px -20px;
731
+ }
732
+
733
+ .edui-default .edui-for-deletetable .edui-icon {
734
+ background-position: -620px -20px;
735
+ }
736
+
737
+ .edui-default .edui-for-cleardoc .edui-icon {
738
+ background-position: -520px 0;
739
+ }
740
+
741
+ .edui-default .edui-for-fullscreen .edui-icon {
742
+ background-position: -100px -20px;
743
+ }
744
+
745
+ .edui-default .edui-for-anchor .edui-icon {
746
+ background-position: -200px 0;
747
+ }
748
+
749
+ .edui-default .edui-for-pagebreak .edui-icon {
750
+ background-position: -460px -40px;
751
+ }
752
+
753
+ .edui-default .edui-for-imagenone .edui-icon {
754
+ background-position: -480px -40px;
755
+ }
756
+
757
+ .edui-default .edui-for-imageleft .edui-icon {
758
+ background-position: -500px -40px;
759
+ }
760
+
761
+ .edui-default .edui-for-wordimage .edui-icon {
762
+ background-position: -660px -40px;
763
+ }
764
+
765
+ .edui-default .edui-for-imageright .edui-icon {
766
+ background-position: -520px -40px;
767
+ }
768
+
769
+ .edui-default .edui-for-imagecenter .edui-icon {
770
+ background-position: -540px -40px;
771
+ }
772
+
773
+ .edui-default .edui-for-indent .edui-icon {
774
+ background-position: -400px 0;
775
+ }
776
+
777
+ .edui-default .edui-for-outdent .edui-icon {
778
+ background-position: -540px 0;
779
+ }
780
+
781
+ .edui-default .edui-for-webapp .edui-icon {
782
+ background-position: -601px -40px
783
+ }
784
+
785
+ .edui-default .edui-for-table .edui-icon {
786
+ background-position: -580px -20px;
787
+ }
788
+
789
+ .edui-default .edui-for-edittable .edui-icon {
790
+ background-position: -420px -40px;
791
+ }
792
+
793
+ .edui-default .edui-for-template .edui-icon {
794
+ background-position: -339px -40px;
795
+ }
796
+
797
+ .edui-default .edui-for-delete .edui-icon {
798
+ background-position: -360px -40px;
799
+ }
800
+
801
+ .edui-default .edui-for-highlightcode .edui-icon {
802
+ background-position: -440px -40px;
803
+ }
804
+
805
+ .edui-default .edui-for-deletehighlightcode .edui-icon {
806
+ background-position: -360px -40px;
807
+ }
808
+
809
+ .edui-default .edui-for-attachment .edui-icon {
810
+ background-position: -620px -40px;
811
+ }
812
+
813
+ .edui-default .edui-for-edittd .edui-icon {
814
+ background-position: -700px -40px;
815
+ }
816
+
817
+ .edui-default .edui-for-snapscreen .edui-icon {
818
+ background-position: -581px -40px
819
+ }
820
+
821
+ .edui-default .edui-for-scrawl .edui-icon {
822
+ background-position: -801px -41px
823
+ }
824
+
825
+ .edui-default .edui-for-background .edui-icon {
826
+ background-position: -678px -40px;
827
+ }
828
+
829
+ .edui-default .edui-for-music .edui-icon {
830
+ background-position: -18px -40px
831
+ }
832
+ /*splitbutton*/
833
+ .edui-default .edui-toolbar .edui-splitbutton-body .edui-arrow,
834
+ .edui-default .edui-toolbar .edui-menubutton-body .edui-arrow {
835
+ background: url(icons.png) -741px 0;
836
+ _background: url(icons.gif) -741px 0;
837
+ height: 20px;
838
+ width: 9px;
839
+ }
840
+
841
+ .edui-default .edui-toolbar .edui-splitbutton .edui-splitbutton-body,
842
+ .edui-default .edui-toolbar .edui-menubutton .edui-menubutton-body {
843
+ padding: 1px;
844
+ }
845
+
846
+ .edui-default .edui-toolbar .edui-splitborder {
847
+ width: 1px;
848
+ height: 20px;
849
+ }
850
+
851
+ .edui-default .edui-toolbar .edui-state-hover .edui-splitborder {
852
+ width: 1px;
853
+ border-left: 0px solid #dcac6c;
854
+ }
855
+
856
+ .edui-default .edui-toolbar .edui-state-active .edui-splitborder {
857
+ width: 0;
858
+ border-left: 1px solid gray;
859
+ }
860
+
861
+ .edui-default .edui-toolbar .edui-state-opened .edui-splitborder {
862
+ width: 1px;
863
+ border: 0;
864
+ }
865
+
866
+ .edui-default .edui-toolbar .edui-splitbutton .edui-state-hover .edui-splitbutton-body,
867
+ .edui-default .edui-toolbar .edui-menubutton .edui-state-hover .edui-menubutton-body {
868
+ background-color: #fff5d4;
869
+ border: 1px solid #dcac6c;
870
+ padding: 0;
871
+ }
872
+
873
+ .edui-default .edui-toolbar .edui-splitbutton .edui-state-checked .edui-splitbutton-body,
874
+ .edui-default .edui-toolbar .edui-menubutton .edui-state-checked .edui-menubutton-body {
875
+ background-color: #FFE69F;
876
+ border: 1px solid #DCAC6C;
877
+ padding: 0;
878
+ }
879
+
880
+ .edui-default .edui-toolbar .edui-splitbutton .edui-state-active .edui-splitbutton-body,
881
+ .edui-default .edui-toolbar .edui-menubutton .edui-state-active .edui-menubutton-body {
882
+ background-color: #ffffff;
883
+ border: 1px solid gray;
884
+ padding: 0;
885
+ }
886
+
887
+ .edui-default .edui-state-disabled .edui-arrow {
888
+ opacity: 0.3;
889
+ _filter: alpha(opacity = 30);
890
+ }
891
+
892
+ .edui-default .edui-toolbar .edui-splitbutton .edui-state-opened .edui-splitbutton-body,
893
+ .edui-default .edui-toolbar .edui-menubutton .edui-state-opened .edui-menubutton-body {
894
+ background-color: white;
895
+ border: 1px solid gray;
896
+ padding: 0;
897
+ }
898
+
899
+ .edui-default .edui-for-insertorderedlist .edui-bordereraser,
900
+ .edui-default .edui-for-lineheight .edui-bordereraser,
901
+ .edui-default .edui-for-rowspacingtop .edui-bordereraser,
902
+ .edui-default .edui-for-rowspacingbottom .edui-bordereraser,
903
+ .edui-default .edui-for-insertunorderedlist .edui-bordereraser {
904
+ background-color: white;
905
+ }
906
+
907
+ /* ??????????? */
908
+ .edui-default .edui-for-insertorderedlist .edui-popup-body .edui-icon,
909
+ .edui-default .edui-for-lineheight .edui-popup-body .edui-icon,
910
+ .edui-default .edui-for-rowspacingtop .edui-popup-body .edui-icon,
911
+ .edui-default .edui-for-rowspacingbottom .edui-popup-body .edui-icon,
912
+ .edui-default .edui-for-insertunorderedlist .edui-popup-body .edui-icon {
913
+ /*background-position: 0 -40px;*/
914
+ background-image: none ;
915
+ }
916
+
917
+ /* ???? */
918
+ .edui-default .edui-popup {
919
+ z-index: 3000;
920
+ }
921
+
922
+ .edui-default .edui-popup .edui-shadow {
923
+ left: 0;
924
+ top: 0;
925
+ width: 100%;
926
+ height: 100%;
927
+ background-color: black;
928
+ box-shadow: 3px 3px 5px #818181;
929
+ -webkit-box-shadow: 3px 3px 5px #818181;
930
+ -moz-box-shadow: 3px 3px 5px #818181;
931
+ filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius = '3', MakeShadow = 'true', ShadowOpacity = '0.5');
932
+ }
933
+
934
+ .edui-default .edui-popup-content {
935
+ border: 1px solid gray;
936
+ background-color: white;
937
+ padding: 5px;
938
+ }
939
+
940
+ .edui-default .edui-popup .edui-bordereraser {
941
+ background-color: white;
942
+ height: 3px;
943
+ }
944
+
945
+ .edui-default .edui-menu .edui-bordereraser {
946
+ height: 3px;
947
+ }
948
+
949
+ .edui-default .edui-anchor-topleft .edui-bordereraser {
950
+ left: 1px;
951
+ top: -2px;
952
+ }
953
+
954
+ .edui-default .edui-anchor-topright .edui-bordereraser {
955
+ right: 1px;
956
+ top: -2px;
957
+ }
958
+
959
+ .edui-default .edui-anchor-bottomleft .edui-bordereraser {
960
+ left: 0;
961
+ bottom: -6px;
962
+ height: 7px;
963
+ border-left: 1px solid gray;
964
+ border-right: 1px solid gray;
965
+ }
966
+
967
+ .edui-default .edui-anchor-bottomright .edui-bordereraser {
968
+ right: 0;
969
+ bottom: -6px;
970
+ height: 7px;
971
+ border-left: 1px solid gray;
972
+ border-right: 1px solid gray;
973
+ }
974
+
975
+ /* ????????????? */
976
+ .edui-default .edui-dialog {
977
+ z-index: 2000;
978
+ position: absolute;
979
+ }
980
+
981
+ .edui-default .edui-dialog-wrap {
982
+ margin-right: 6px;
983
+ margin-bottom: 6px;
984
+ border: 1px solid #c6c6c6;
985
+ }
986
+
987
+ .edui-default .edui-dialog-body {
988
+ position: relative;
989
+ background-color: white;
990
+ _zoom: 1;
991
+ }
992
+
993
+ .edui-default .edui-dialog-shadow {
994
+ position: absolute;
995
+ z-index: -1;
996
+ left: 0;
997
+ top: 0;
998
+ width: 100%;
999
+ height: 100%;
1000
+ background-color: black;
1001
+ box-shadow: 3px 3px 5px #818181;
1002
+ -webkit-box-shadow: 3px 3px 5px #818181;
1003
+ -moz-box-shadow: 3px 3px 5px #818181;
1004
+ filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius = '3', MakeShadow = 'true', ShadowOpacity = '0.5');
1005
+ }
1006
+
1007
+ .edui-default .edui-dialog-foot {
1008
+ background-color: white;
1009
+ }
1010
+
1011
+ .edui-default .edui-dialog-titlebar {
1012
+ height: 26px;
1013
+ border-bottom: 1px solid #c6c6c6;
1014
+ background: url(dialog-title-bg.png) repeat-x bottom;
1015
+ position: relative;
1016
+ cursor: move;
1017
+ }
1018
+ .edui-default .edui-dialog-caption {
1019
+ font-weight: bold;
1020
+ font-size: 12px;
1021
+ line-height: 26px;
1022
+ padding-left: 5px;
1023
+ }
1024
+
1025
+ .edui-default .edui-dialog-draghandle {
1026
+ height: 26px;
1027
+ }
1028
+
1029
+ .edui-default .edui-dialog-closebutton {
1030
+ position: absolute !important;
1031
+ right: 5px;
1032
+ top: 3px;
1033
+ }
1034
+
1035
+ .edui-default .edui-dialog-closebutton .edui-button-body {
1036
+ height: 20px;
1037
+ width: 20px;
1038
+ cursor: pointer;
1039
+ background: url("icons-all.gif") no-repeat 0 -59px;
1040
+ }
1041
+
1042
+ .edui-default .edui-dialog-closebutton .edui-state-hover .edui-button-body {
1043
+ background: url("icons-all.gif") no-repeat 0 -89px;
1044
+ }
1045
+
1046
+ .edui-default .edui-dialog-foot {
1047
+ height: 40px;
1048
+ }
1049
+
1050
+ .edui-default .edui-dialog-buttons {
1051
+ position: absolute;
1052
+ right: 0;
1053
+ }
1054
+
1055
+ .edui-default .edui-dialog-buttons .edui-button {
1056
+ margin-right: 10px;
1057
+ }
1058
+
1059
+ .edui-default .edui-dialog-buttons .edui-button .edui-button-body {
1060
+ background: url(icons-all.gif) no-repeat;
1061
+ height: 24px;
1062
+ width: 96px;
1063
+ font-size: 12px;
1064
+ line-height: 24px;
1065
+ text-align: center;
1066
+ cursor: default;
1067
+ }
1068
+
1069
+ .edui-default .edui-dialog-buttons .edui-button .edui-state-hover .edui-button-body {
1070
+ background: url(icons-all.gif) no-repeat 0 -30px;
1071
+ }
1072
+
1073
+ .edui-default .edui-dialog iframe {
1074
+ border: 0;
1075
+ padding: 0;
1076
+ margin: 0;
1077
+ vertical-align: top;
1078
+ }
1079
+
1080
+ .edui-default .edui-dialog-modalmask {
1081
+ opacity: 0.3;
1082
+ filter: alpha(opacity = 30);
1083
+ background-color: #ccc;
1084
+ position: absolute;
1085
+ /*z-index: 1999;*/
1086
+ }
1087
+
1088
+ .edui-default .edui-dialog-dragmask {
1089
+ position: absolute;
1090
+ /*z-index: 2001;*/
1091
+ background-color: transparent;
1092
+ cursor: move;
1093
+ }
1094
+
1095
+ .edui-default .edui-dialog-content {
1096
+ position: relative;
1097
+ }
1098
+
1099
+ .edui-default .dialogcontmask {
1100
+ cursor: move;
1101
+ visibility: hidden;
1102
+ display: block;
1103
+ position: absolute;
1104
+ width: 100%;
1105
+ height: 100%;
1106
+ opacity: 0;
1107
+ filter: alpha(opacity = 0);
1108
+ }
1109
+
1110
+ /*link-dialog*/
1111
+ .edui-default .edui-for-link .edui-dialog-content {
1112
+ width: 420px;
1113
+ height: 200px;
1114
+ overflow: hidden;
1115
+ }
1116
+ /*background-dialog*/
1117
+ .edui-default .edui-for-background .edui-dialog-content {
1118
+ width: 440px;
1119
+ height: 280px;
1120
+ overflow: hidden;
1121
+ }
1122
+
1123
+ /*template-dialog*/
1124
+ .edui-default .edui-for-template .edui-dialog-content {
1125
+ width: 630px;
1126
+ height: 390px;
1127
+ overflow: hidden;
1128
+ }
1129
+
1130
+ /*scrawl-dialog*/
1131
+ .edui-default .edui-for-scrawl .edui-dialog-content {
1132
+ width: 515px;
1133
+ *width: 506px;
1134
+ height: 360px;
1135
+ }
1136
+
1137
+ /*spechars-dialog*/
1138
+ .edui-default .edui-for-spechars .edui-dialog-content {
1139
+ width: 620px;
1140
+ height: 500px;
1141
+ *height: 570px;
1142
+ }
1143
+
1144
+ /*image-dialog*/
1145
+ .edui-default .edui-for-insertimage .edui-dialog-content {
1146
+ width: 640px;
1147
+ height: 390px;
1148
+ overflow: hidden;
1149
+ }
1150
+ /*webapp-dialog*/
1151
+ .edui-default .edui-for-webapp .edui-dialog-content {
1152
+ width: 560px;
1153
+ _width: 565px;
1154
+ height: 450px;
1155
+ overflow: hidden;
1156
+ }
1157
+
1158
+ /*image-insertframe*/
1159
+ .edui-default .edui-for-insertframe .edui-dialog-content {
1160
+ width: 350px;
1161
+ height: 200px;
1162
+ overflow: hidden;
1163
+ }
1164
+
1165
+ /*wordImage-dialog*/
1166
+ .edui-default .edui-for-wordimage .edui-dialog-content {
1167
+ width: 620px;
1168
+ height: 380px;
1169
+ overflow: hidden;
1170
+ }
1171
+
1172
+ /*attachment-dialog*/
1173
+ .edui-default .edui-for-attachment .edui-dialog-content {
1174
+ width: 480px;
1175
+ height: 360px;
1176
+ overflow: hidden;
1177
+ }
1178
+
1179
+ /*code-dialog*/
1180
+ .edui-default .edui-for-highlightcode .edui-dialog-content {
1181
+ width: 550px;
1182
+ height: 360px;
1183
+ overflow: hidden;
1184
+ }
1185
+
1186
+ /*map-dialog*/
1187
+ .edui-default .edui-for-map .edui-dialog-content {
1188
+ width: 550px;
1189
+ height: 400px;
1190
+ }
1191
+
1192
+ /*gmap-dialog*/
1193
+ .edui-default .edui-for-gmap .edui-dialog-content {
1194
+ width: 550px;
1195
+ height: 400px;
1196
+ }
1197
+
1198
+ /*video-dialog*/
1199
+ .edui-default .edui-for-insertvideo .edui-dialog-content {
1200
+ width: 590px;
1201
+ height: 390px;
1202
+ }
1203
+
1204
+ /*anchor-dialog*/
1205
+ .edui-default .edui-for-anchor .edui-dialog-content {
1206
+ width: 320px;
1207
+ height: 60px;
1208
+ overflow: hidden;
1209
+ }
1210
+
1211
+ /*searchreplace-dialog*/
1212
+ .edui-default .edui-for-searchreplace .edui-dialog-content {
1213
+ width: 400px;
1214
+ height: 180px;
1215
+ }
1216
+
1217
+ /*help-dialog*/
1218
+ .edui-default .edui-for-help .edui-dialog-content {
1219
+ width: 400px;
1220
+ height: 420px;
1221
+ }
1222
+
1223
+ /*edittable-dialog*/
1224
+ .edui-default .edui-for-edittable .edui-dialog-content {
1225
+ width: 540px;
1226
+ _width:590px;
1227
+ height: 265px;
1228
+ }
1229
+
1230
+ /*edittip-dialog*/
1231
+ .edui-default .edui-for-edittip .edui-dialog-content {
1232
+ width: 225px;
1233
+ height: 60px;
1234
+ }
1235
+
1236
+ /*edittd-dialog*/
1237
+ .edui-default .edui-for-edittd .edui-dialog-content {
1238
+ width: 240px;
1239
+ height: 50px;
1240
+ }
1241
+ /*snapscreen-dialog*/
1242
+ .edui-default .edui-for-snapscreen .edui-dialog-content {
1243
+ width: 400px;
1244
+ height: 220px;
1245
+ }
1246
+
1247
+ /*music-dialog*/
1248
+ .edui-default .edui-for-music .edui-dialog-content {
1249
+ width: 515px;
1250
+ height: 360px;
1251
+ }
1252
+ /*??????*/
1253
+ .edui-default .edui-for-paragraph .edui-listitem-label {
1254
+ font-family: Tahoma, Verdana, Arial, Helvetica;
1255
+ }
1256
+
1257
+ .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-p {
1258
+ font-size: 22px;
1259
+ line-height: 27px;
1260
+ }
1261
+
1262
+ .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h1 {
1263
+ font-weight: bolder;
1264
+ font-size: 32px;
1265
+ line-height: 36px;
1266
+ }
1267
+
1268
+ .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h2 {
1269
+ font-weight: bolder;
1270
+ font-size: 27px;
1271
+ line-height: 29px;
1272
+ }
1273
+
1274
+ .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h3 {
1275
+ font-weight: bolder;
1276
+ font-size: 19px;
1277
+ line-height: 23px;
1278
+ }
1279
+
1280
+ .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h4 {
1281
+ font-weight: bolder;
1282
+ font-size: 16px;
1283
+ line-height: 19px
1284
+ }
1285
+
1286
+ .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h5 {
1287
+ font-weight: bolder;
1288
+ font-size: 13px;
1289
+ line-height: 16px;
1290
+ }
1291
+
1292
+ .edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h6 {
1293
+ font-weight: bolder;
1294
+ font-size: 12px;
1295
+ line-height: 14px;
1296
+ }
1297
+ /* ?????? */
1298
+ .edui-default .edui-for-inserttable .edui-splitborder {
1299
+ display: none
1300
+ }
1301
+ .edui-default .edui-for-inserttable .edui-splitbutton-body .edui-arrow {
1302
+ width: 0
1303
+ }
1304
+ .edui-default .edui-toolbar .edui-for-inserttable .edui-state-active .edui-splitborder{
1305
+ border-left: 1px solid transparent;
1306
+ }
1307
+ .edui-default .edui-tablepicker .edui-infoarea {
1308
+ height: 14px;
1309
+ line-height: 14px;
1310
+ font-size: 12px;
1311
+ width: 220px;
1312
+ margin-bottom: 3px;
1313
+ clear: both;
1314
+ }
1315
+
1316
+ .edui-default .edui-tablepicker .edui-infoarea .edui-label {
1317
+ float: left;
1318
+ }
1319
+
1320
+ .edui-default .edui-dialog-buttons .edui-label {
1321
+ line-height: 24px;
1322
+ }
1323
+
1324
+ .edui-default .edui-tablepicker .edui-infoarea .edui-clickable {
1325
+ float: right;
1326
+ }
1327
+
1328
+ .edui-default .edui-tablepicker .edui-pickarea {
1329
+ background: url(unhighlighted.gif) repeat;
1330
+ height: 220px;
1331
+ width: 220px;
1332
+ }
1333
+
1334
+ .edui-default .edui-tablepicker .edui-pickarea .edui-overlay {
1335
+ background: url(highlighted.gif) repeat;
1336
+ }
1337
+
1338
+ /* ?????? */
1339
+ .edui-default .edui-colorpicker-topbar {
1340
+ height: 27px;
1341
+ width: 200px;
1342
+ /*border-bottom: 1px gray dashed;*/
1343
+ }
1344
+
1345
+ .edui-default .edui-colorpicker-preview {
1346
+ height: 20px;
1347
+ border: 1px inset black;
1348
+ margin-left: 1px;
1349
+ width: 128px;
1350
+ float: left;
1351
+ }
1352
+
1353
+ .edui-default .edui-colorpicker-nocolor {
1354
+ float: right;
1355
+ margin-right: 1px;
1356
+ font-size: 12px;
1357
+ line-height: 14px;
1358
+ height: 14px;
1359
+ border: 1px solid #333;
1360
+ padding: 3px 5px;
1361
+ cursor: pointer;
1362
+ }
1363
+
1364
+ .edui-default .edui-colorpicker-tablefirstrow {
1365
+ height: 30px;
1366
+ }
1367
+
1368
+ .edui-default .edui-colorpicker-colorcell {
1369
+ width: 14px;
1370
+ height: 14px;
1371
+ display: block;
1372
+ margin: 0;
1373
+ cursor: pointer;
1374
+ }
1375
+
1376
+ .edui-default .edui-colorpicker-colorcell:hover {
1377
+ width: 14px;
1378
+ height: 14px;
1379
+ margin: 0;
1380
+ }
1381
+ /*????????*/
1382
+ .edui-default .edui-autotypesetpicker .edui-autotypesetpicker-body {
1383
+ font-size: 12px;
1384
+ margin-bottom: 3px;
1385
+ clear: both;
1386
+ }
1387
+
1388
+ .edui-default .edui-autotypesetpicker-body table {
1389
+ border-collapse: separate;
1390
+ border-spacing: 2px;
1391
+ }
1392
+
1393
+ .edui-default .edui-autotypesetpicker-body td {
1394
+ font-size: 12px;
1395
+ word-wrap:break-word;
1396
+ }
1397
+
1398
+ .edui-default .edui-autotypesetpicker-body td input {
1399
+ margin: 3px 3px 3px 4px;
1400
+ *margin: 1px 0 0 0;
1401
+ }
1402
+ /*????????*/
1403
+ .edui-default .edui-cellalignpicker .edui-cellalignpicker-body {
1404
+ width: 70px;
1405
+ font-size: 12px;
1406
+ cursor: default;
1407
+ }
1408
+
1409
+ .edui-default .edui-cellalignpicker-body table {
1410
+ border-collapse: separate;
1411
+ border-spacing: 0;
1412
+ }
1413
+ .edui-default .edui-cellalignpicker-body td{
1414
+ padding: 1px;
1415
+ }
1416
+ .edui-default .edui-cellalignpicker-body .edui-icon{
1417
+ height: 20px;
1418
+ width: 20px;
1419
+ padding: 1px;
1420
+ background-image: url(icons.png);
1421
+ background-image: url(icons.gif) \9;
1422
+ }
1423
+ .edui-default .edui-cellalignpicker-body .edui-left{
1424
+ background-position: -460px 0;
1425
+ }
1426
+ .edui-default .edui-cellalignpicker-body .edui-center{
1427
+ background-position: -420px 0;
1428
+ }
1429
+ .edui-default .edui-cellalignpicker-body .edui-right{
1430
+ background-position: -480px 0;
1431
+ }
1432
+ .edui-default .edui-cellalignpicker-body td.edui-state-hover {
1433
+ background-color: #fff5d4;
1434
+ padding: 0;
1435
+ border: 1px solid #dcac6c;
1436
+ }
1437
+ /*???*/
1438
+ .edui-default .edui-toolbar .edui-separator {
1439
+ width: 2px;
1440
+ height: 20px;
1441
+ margin: 2px 4px 2px 3px;
1442
+ background: url(icons.png) -180px 0;
1443
+ background: url(icons.gif) -180px 0 \9;
1444
+ }
1445
+
1446
+ /*???? */
1447
+ .edui-default .edui-toolbar .edui-colorbutton .edui-colorlump {
1448
+ position: absolute;
1449
+ overflow: hidden;
1450
+ bottom: 1px;
1451
+ left: 1px;
1452
+ width: 18px;
1453
+ height: 4px;
1454
+ }
1455
+ /*?????????*/
1456
+ /*??????????*/
1457
+ .edui-default .edui-for-emotion .edui-icon {
1458
+ background-position: -60px -20px;
1459
+ }
1460
+
1461
+ .edui-default .edui-for-emotion .edui-popup-content {
1462
+ position: relative;
1463
+ z-index: 555
1464
+ }
1465
+
1466
+ .edui-default .edui-for-emotion .edui-popup-content iframe {
1467
+ width: 514px;
1468
+ height: 380px;
1469
+ overflow: hidden;
1470
+ }
1471
+
1472
+ .edui-default .edui-for-emotion .edui-splitborder {
1473
+ display: none
1474
+ }
1475
+
1476
+ .edui-default .edui-for-emotion .edui-splitbutton-body .edui-arrow {
1477
+ width: 0
1478
+ }
1479
+ .edui-default .edui-toolbar .edui-for-emotion .edui-state-active .edui-splitborder{
1480
+ border-left: 1px solid transparent;
1481
+ }
1482
+ /*contextmenu*/
1483
+ .edui-default .edui-hassubmenu .edui-arrow {
1484
+ height: 20px;
1485
+ width: 20px;
1486
+ float: right;
1487
+ background: url(icons-all.gif) no-repeat 10px -233px;
1488
+ }
1489
+
1490
+ .edui-default .edui-menu-body .edui-menuitem {
1491
+ padding: 1px;
1492
+ }
1493
+
1494
+ .edui-default .edui-menuseparator {
1495
+ margin: 2px 0;
1496
+ height: 1px;
1497
+ overflow: hidden;
1498
+ }
1499
+
1500
+ .edui-default .edui-menuseparator-inner {
1501
+ border-bottom: 1px solid #e2e3e3;
1502
+ margin-left: 29px;
1503
+ margin-right: 1px;
1504
+ }
1505
+
1506
+ .edui-default .edui-menu-body .edui-state-hover {
1507
+ padding: 0 !important;
1508
+ background-color: #fff5d4;
1509
+ border: 1px solid #dcac6c;
1510
+ }
1511
+ /*??????*/
1512
+ .edui-default .edui-wordpastepop .edui-popup-content{
1513
+ border: none;
1514
+ padding: 0;
1515
+ width: 54px;
1516
+ height: 21px;
1517
+ }
1518
+ .edui-default .edui-pasteicon {
1519
+ width: 100%;
1520
+ height: 100%;
1521
+ background-image: url(wordpaste.png);
1522
+ background-position: 0 0;
1523
+ }
1524
+
1525
+ .edui-default .edui-pasteicon.edui-state-opened {
1526
+ background-position: 0 -34px;
1527
+ }
1528
+
1529
+ .edui-default .edui-pastecontainer {
1530
+ position: relative;
1531
+ visibility: hidden;
1532
+ width: 97px;
1533
+ background: #fff;
1534
+ border: 1px solid #ccc;
1535
+ }
1536
+
1537
+ .edui-default .edui-pastecontainer .edui-title {
1538
+ font-weight: bold;
1539
+ background: #F8F8FF;
1540
+ height: 25px;
1541
+ line-height: 25px;
1542
+ font-size: 12px;
1543
+ padding-left: 5px;
1544
+ }
1545
+
1546
+ .edui-default .edui-pastecontainer .edui-button {
1547
+ overflow: hidden;
1548
+ margin: 3px 0;
1549
+ }
1550
+
1551
+ .edui-default .edui-pastecontainer .edui-button .edui-richtxticon,
1552
+ .edui-default .edui-pastecontainer .edui-button .edui-tagicon,
1553
+ .edui-default .edui-pastecontainer .edui-button .edui-plaintxticon{
1554
+ float: left;
1555
+ cursor: pointer;
1556
+ width: 29px;
1557
+ height: 29px;
1558
+ margin-left: 5px;
1559
+ background-image: url(wordpaste.png);
1560
+ background-repeat: no-repeat;
1561
+ }
1562
+ .edui-default .edui-pastecontainer .edui-button .edui-richtxticon {
1563
+ margin-left: 0;
1564
+ background-position: -109px 0;
1565
+ }
1566
+ .edui-default .edui-pastecontainer .edui-button .edui-tagicon {
1567
+ background-position: -148px 1px;
1568
+ }
1569
+
1570
+ .edui-default .edui-pastecontainer .edui-button .edui-plaintxticon {
1571
+ background-position: -72px 0;
1572
+ }
1573
+
1574
+ .edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-richtxticon {
1575
+ background-position: -109px -34px;
1576
+ }
1577
+ .edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-tagicon{
1578
+ background-position: -148px -34px;
1579
+ }
1580
+ .edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-plaintxticon{
1581
+ background-position: -72px -34px;
1582
+ }