esp-ckeditor 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +32 -0
  3. data/Rakefile +28 -0
  4. data/app/assets/javascripts/esp-ckeditor/_source/core/_bootstrap.js +87 -0
  5. data/app/assets/javascripts/esp-ckeditor/_source/core/ckeditor.js +141 -0
  6. data/app/assets/javascripts/esp-ckeditor/_source/core/ckeditor_base.js +227 -0
  7. data/app/assets/javascripts/esp-ckeditor/_source/core/ckeditor_basic.js +238 -0
  8. data/app/assets/javascripts/esp-ckeditor/_source/core/command.js +209 -0
  9. data/app/assets/javascripts/esp-ckeditor/_source/core/commanddefinition.js +129 -0
  10. data/app/assets/javascripts/esp-ckeditor/_source/core/config.js +423 -0
  11. data/app/assets/javascripts/esp-ckeditor/_source/core/dataprocessor.js +65 -0
  12. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/comment.js +32 -0
  13. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/document.js +251 -0
  14. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/documentfragment.js +49 -0
  15. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/domobject.js +258 -0
  16. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/element.js +1691 -0
  17. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/elementpath.js +119 -0
  18. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/event.js +145 -0
  19. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/node.js +696 -0
  20. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/nodelist.js +26 -0
  21. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/range.js +2054 -0
  22. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/rangelist.js +213 -0
  23. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/text.js +128 -0
  24. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/walker.js +462 -0
  25. data/app/assets/javascripts/esp-ckeditor/_source/core/dom/window.js +96 -0
  26. data/app/assets/javascripts/esp-ckeditor/_source/core/dom.js +20 -0
  27. data/app/assets/javascripts/esp-ckeditor/_source/core/dtd.js +266 -0
  28. data/app/assets/javascripts/esp-ckeditor/_source/core/editor.js +1060 -0
  29. data/app/assets/javascripts/esp-ckeditor/_source/core/editor_basic.js +186 -0
  30. data/app/assets/javascripts/esp-ckeditor/_source/core/env.js +305 -0
  31. data/app/assets/javascripts/esp-ckeditor/_source/core/event.js +342 -0
  32. data/app/assets/javascripts/esp-ckeditor/_source/core/eventInfo.js +120 -0
  33. data/app/assets/javascripts/esp-ckeditor/_source/core/focusmanager.js +152 -0
  34. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/basicwriter.js +145 -0
  35. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/cdata.js +43 -0
  36. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/comment.js +60 -0
  37. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/element.js +308 -0
  38. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/filter.js +288 -0
  39. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/fragment.js +518 -0
  40. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser/text.js +53 -0
  41. data/app/assets/javascripts/esp-ckeditor/_source/core/htmlparser.js +224 -0
  42. data/app/assets/javascripts/esp-ckeditor/_source/core/lang.js +157 -0
  43. data/app/assets/javascripts/esp-ckeditor/_source/core/loader.js +240 -0
  44. data/app/assets/javascripts/esp-ckeditor/_source/core/plugindefinition.js +83 -0
  45. data/app/assets/javascripts/esp-ckeditor/_source/core/plugins.js +103 -0
  46. data/app/assets/javascripts/esp-ckeditor/_source/core/resourcemanager.js +238 -0
  47. data/app/assets/javascripts/esp-ckeditor/_source/core/scriptloader.js +180 -0
  48. data/app/assets/javascripts/esp-ckeditor/_source/core/skins.js +184 -0
  49. data/app/assets/javascripts/esp-ckeditor/_source/core/themes.js +19 -0
  50. data/app/assets/javascripts/esp-ckeditor/_source/core/tools.js +763 -0
  51. data/app/assets/javascripts/esp-ckeditor/_source/core/ui.js +128 -0
  52. data/app/assets/javascripts/esp-ckeditor/_source/lang/_languages.js +27 -0
  53. data/app/assets/javascripts/esp-ckeditor/_source/lang/en.js +815 -0
  54. data/app/assets/javascripts/esp-ckeditor/_source/lang/ru.js +815 -0
  55. data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js +222 -0
  56. data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/en.js +108 -0
  57. data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/lang/he.js +216 -0
  58. data/app/assets/javascripts/esp-ckeditor/_source/plugins/a11yhelp/plugin.js +47 -0
  59. data/app/assets/javascripts/esp-ckeditor/_source/plugins/basicstyles/plugin.js +129 -0
  60. data/app/assets/javascripts/esp-ckeditor/_source/plugins/button/plugin.js +290 -0
  61. data/app/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/dialogs/paste.js +223 -0
  62. data/app/assets/javascripts/esp-ckeditor/_source/plugins/clipboard/plugin.js +453 -0
  63. data/app/assets/javascripts/esp-ckeditor/_source/plugins/contextmenu/plugin.js +179 -0
  64. data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialog/dialogDefinition.js +1166 -0
  65. data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialog/plugin.js +3308 -0
  66. data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialogadvtab/plugin.js +208 -0
  67. data/app/assets/javascripts/esp-ckeditor/_source/plugins/dialogui/plugin.js +1541 -0
  68. data/app/assets/javascripts/esp-ckeditor/_source/plugins/domiterator/plugin.js +361 -0
  69. data/app/assets/javascripts/esp-ckeditor/_source/plugins/editingblock/plugin.js +278 -0
  70. data/app/assets/javascripts/esp-ckeditor/_source/plugins/elementspath/plugin.js +218 -0
  71. data/app/assets/javascripts/esp-ckeditor/_source/plugins/enterkey/plugin.js +433 -0
  72. data/app/assets/javascripts/esp-ckeditor/_source/plugins/entities/plugin.js +250 -0
  73. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/dialogs/esp_attachment.js +234 -0
  74. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/images/esp_attachment.png +0 -0
  75. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/en.js +22 -0
  76. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/ru.js +22 -0
  77. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/lang/uk.js +22 -0
  78. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_attachment/plugin.js +23 -0
  79. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/dialogs/esp_audio.js +207 -0
  80. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/esp_audio.png +0 -0
  81. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/images/placeholder.png +0 -0
  82. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/en.js +18 -0
  83. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/ru.js +18 -0
  84. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/lang/uk.js +18 -0
  85. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_audio/plugin.js +182 -0
  86. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/dialogs/esp_blockquote.js +132 -0
  87. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_blockquote/plugin.js +235 -0
  88. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/dialogs/esp_image.js +1414 -0
  89. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/images/esp_image.png +0 -0
  90. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/en.js +9 -0
  91. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/ru.js +9 -0
  92. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/lang/uk.js +9 -0
  93. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_image/plugin.js +80 -0
  94. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_anchor.js +145 -0
  95. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/dialogs/esp_link.js +1396 -0
  96. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/anchor.png +0 -0
  97. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_anchor.png +0 -0
  98. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_link.png +0 -0
  99. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/images/esp_unlink.png +0 -0
  100. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/en.js +8 -0
  101. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/ru.js +8 -0
  102. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/lang/uk.js +8 -0
  103. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_link/plugin.js +379 -0
  104. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_address.png +0 -0
  105. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_blockquote.png +0 -0
  106. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_div.png +0 -0
  107. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h1.png +0 -0
  108. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h2.png +0 -0
  109. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h3.png +0 -0
  110. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h4.png +0 -0
  111. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h5.png +0 -0
  112. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_h6.png +0 -0
  113. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_p.png +0 -0
  114. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/block_pre.png +0 -0
  115. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
  116. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_showblocks/plugin.js +163 -0
  117. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/dialogs/esp_video.js +277 -0
  118. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/esp_video.png +0 -0
  119. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/images/placeholder.png +0 -0
  120. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/en.js +19 -0
  121. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/ru.js +19 -0
  122. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/lang/uk.js +19 -0
  123. data/app/assets/javascripts/esp-ckeditor/_source/plugins/esp_video/plugin.js +182 -0
  124. data/app/assets/javascripts/esp-ckeditor/_source/plugins/fakeobjects/plugin.js +175 -0
  125. data/app/assets/javascripts/esp-ckeditor/_source/plugins/filebrowser/plugin.js +534 -0
  126. data/app/assets/javascripts/esp-ckeditor/_source/plugins/find/dialogs/find.js +915 -0
  127. data/app/assets/javascripts/esp-ckeditor/_source/plugins/find/plugin.js +47 -0
  128. data/app/assets/javascripts/esp-ckeditor/_source/plugins/floatpanel/plugin.js +428 -0
  129. data/app/assets/javascripts/esp-ckeditor/_source/plugins/format/plugin.js +197 -0
  130. data/app/assets/javascripts/esp-ckeditor/_source/plugins/htmldataprocessor/plugin.js +596 -0
  131. data/app/assets/javascripts/esp-ckeditor/_source/plugins/htmlwriter/plugin.js +319 -0
  132. data/app/assets/javascripts/esp-ckeditor/_source/plugins/image/dialogs/image.js +1407 -0
  133. data/app/assets/javascripts/esp-ckeditor/_source/plugins/image/plugin.js +81 -0
  134. data/app/assets/javascripts/esp-ckeditor/_source/plugins/indent/plugin.js +461 -0
  135. data/app/assets/javascripts/esp-ckeditor/_source/plugins/justify/plugin.js +253 -0
  136. data/app/assets/javascripts/esp-ckeditor/_source/plugins/keystrokes/plugin.js +225 -0
  137. data/app/assets/javascripts/esp-ckeditor/_source/plugins/list/plugin.js +774 -0
  138. data/app/assets/javascripts/esp-ckeditor/_source/plugins/listblock/plugin.js +266 -0
  139. data/app/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/dialogs/liststyle.js +225 -0
  140. data/app/assets/javascripts/esp-ckeditor/_source/plugins/liststyle/plugin.js +66 -0
  141. data/app/assets/javascripts/esp-ckeditor/_source/plugins/maximize/plugin.js +353 -0
  142. data/app/assets/javascripts/esp-ckeditor/_source/plugins/menu/plugin.js +541 -0
  143. data/app/assets/javascripts/esp-ckeditor/_source/plugins/panel/plugin.js +400 -0
  144. data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/filter/default.js +1367 -0
  145. data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastefromword/plugin.js +141 -0
  146. data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/dialogs/pastetext.js +67 -0
  147. data/app/assets/javascripts/esp-ckeditor/_source/plugins/pastetext/plugin.js +98 -0
  148. data/app/assets/javascripts/esp-ckeditor/_source/plugins/popup/plugin.js +64 -0
  149. data/app/assets/javascripts/esp-ckeditor/_source/plugins/removeformat/plugin.js +185 -0
  150. data/app/assets/javascripts/esp-ckeditor/_source/plugins/resize/plugin.js +168 -0
  151. data/app/assets/javascripts/esp-ckeditor/_source/plugins/richcombo/plugin.js +381 -0
  152. data/app/assets/javascripts/esp-ckeditor/_source/plugins/selection/plugin.js +1729 -0
  153. data/app/assets/javascripts/esp-ckeditor/_source/plugins/showborders/plugin.js +207 -0
  154. data/app/assets/javascripts/esp-ckeditor/_source/plugins/sourcearea/plugin.js +209 -0
  155. data/app/assets/javascripts/esp-ckeditor/_source/plugins/styles/plugin.js +1700 -0
  156. data/app/assets/javascripts/esp-ckeditor/_source/plugins/styles/styles/default.js +88 -0
  157. data/app/assets/javascripts/esp-ckeditor/_source/plugins/stylescombo/plugin.js +218 -0
  158. data/app/assets/javascripts/esp-ckeditor/_source/plugins/tab/plugin.js +367 -0
  159. data/app/assets/javascripts/esp-ckeditor/_source/plugins/table/dialogs/table.js +623 -0
  160. data/app/assets/javascripts/esp-ckeditor/_source/plugins/table/plugin.js +78 -0
  161. data/app/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/dialogs/tableCell.js +525 -0
  162. data/app/assets/javascripts/esp-ckeditor/_source/plugins/tabletools/plugin.js +1194 -0
  163. data/app/assets/javascripts/esp-ckeditor/_source/plugins/toolbar/plugin.js +545 -0
  164. data/app/assets/javascripts/esp-ckeditor/_source/plugins/undo/plugin.js +578 -0
  165. data/app/assets/javascripts/esp-ckeditor/_source/plugins/wysiwygarea/plugin.js +1347 -0
  166. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/dialog.css +988 -0
  167. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/editor.css +25 -0
  168. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/elementspath.css +73 -0
  169. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.css +367 -0
  170. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/icons.png +0 -0
  171. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/icons_rtl.png +0 -0
  172. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.gif +0 -0
  173. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides.png +0 -0
  174. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/dialog_sides_rtl.png +0 -0
  175. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/mini.gif +0 -0
  176. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/noimage.png +0 -0
  177. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites.png +0 -0
  178. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/sprites_ie6.png +0 -0
  179. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/images/toolbar_start.gif +0 -0
  180. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/mainui.css +209 -0
  181. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/menu.css +232 -0
  182. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/panel.css +227 -0
  183. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/presets.css +49 -0
  184. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/reset.css +85 -0
  185. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/richcombo.css +287 -0
  186. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/skin.js +236 -0
  187. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/templates.css +88 -0
  188. data/app/assets/javascripts/esp-ckeditor/_source/skins/kama/toolbar.css +412 -0
  189. data/app/assets/javascripts/esp-ckeditor/_source/themes/default/theme.js +407 -0
  190. data/app/assets/javascripts/esp-ckeditor/application.js +8 -0
  191. data/app/assets/javascripts/esp-ckeditor/ckeditor.js +137 -0
  192. data/app/assets/javascripts/esp-ckeditor/ckeditor.pack +194 -0
  193. data/app/assets/javascripts/esp-ckeditor/ckeditor_source.js +35 -0
  194. data/app/assets/javascripts/esp-ckeditor/ckpackager.jar +0 -0
  195. data/app/assets/javascripts/esp-ckeditor/ckpackager.txt +2 -0
  196. data/app/assets/javascripts/esp-ckeditor/config.js +147 -0
  197. data/app/assets/javascripts/esp-ckeditor/contents.css +38 -0
  198. data/app/assets/javascripts/esp-ckeditor/images/spacer.gif +0 -0
  199. data/app/assets/javascripts/esp-ckeditor/init_ckeditor.js +1 -0
  200. data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +1 -0
  201. data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/en.js +1 -0
  202. data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/lang/he.js +1 -0
  203. data/app/assets/javascripts/esp-ckeditor/plugins/a11yhelp/plugin.js +1 -0
  204. data/app/assets/javascripts/esp-ckeditor/plugins/basicstyles/plugin.js +1 -0
  205. data/app/assets/javascripts/esp-ckeditor/plugins/button/plugin.js +1 -0
  206. data/app/assets/javascripts/esp-ckeditor/plugins/clipboard/dialogs/paste.js +1 -0
  207. data/app/assets/javascripts/esp-ckeditor/plugins/clipboard/plugin.js +1 -0
  208. data/app/assets/javascripts/esp-ckeditor/plugins/contextmenu/plugin.js +1 -0
  209. data/app/assets/javascripts/esp-ckeditor/plugins/dialog/dialogDefinition.js +0 -0
  210. data/app/assets/javascripts/esp-ckeditor/plugins/dialog/plugin.js +1 -0
  211. data/app/assets/javascripts/esp-ckeditor/plugins/dialogadvtab/plugin.js +1 -0
  212. data/app/assets/javascripts/esp-ckeditor/plugins/dialogui/plugin.js +1 -0
  213. data/app/assets/javascripts/esp-ckeditor/plugins/domiterator/plugin.js +1 -0
  214. data/app/assets/javascripts/esp-ckeditor/plugins/editingblock/plugin.js +1 -0
  215. data/app/assets/javascripts/esp-ckeditor/plugins/elementspath/plugin.js +1 -0
  216. data/app/assets/javascripts/esp-ckeditor/plugins/enterkey/plugin.js +1 -0
  217. data/app/assets/javascripts/esp-ckeditor/plugins/entities/plugin.js +1 -0
  218. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/dialogs/esp_attachment.js +1 -0
  219. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/images/esp_attachment.png +0 -0
  220. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/en.js +1 -0
  221. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/ru.js +1 -0
  222. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/lang/uk.js +1 -0
  223. data/app/assets/javascripts/esp-ckeditor/plugins/esp_attachment/plugin.js +1 -0
  224. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/dialogs/esp_audio.js +1 -0
  225. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/esp_audio.png +0 -0
  226. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/images/placeholder.png +0 -0
  227. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/en.js +1 -0
  228. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/ru.js +1 -0
  229. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/lang/uk.js +1 -0
  230. data/app/assets/javascripts/esp-ckeditor/plugins/esp_audio/plugin.js +1 -0
  231. data/app/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/dialogs/esp_blockquote.js +1 -0
  232. data/app/assets/javascripts/esp-ckeditor/plugins/esp_blockquote/plugin.js +1 -0
  233. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/dialogs/esp_image.js +1 -0
  234. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/images/esp_image.png +0 -0
  235. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/en.js +1 -0
  236. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/ru.js +1 -0
  237. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/lang/uk.js +1 -0
  238. data/app/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js +1 -0
  239. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_anchor.js +1 -0
  240. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/dialogs/esp_link.js +1 -0
  241. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/anchor.png +0 -0
  242. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_anchor.png +0 -0
  243. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_link.png +0 -0
  244. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/images/esp_unlink.png +0 -0
  245. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/en.js +1 -0
  246. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/ru.js +1 -0
  247. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/lang/uk.js +1 -0
  248. data/app/assets/javascripts/esp-ckeditor/plugins/esp_link/plugin.js +1 -0
  249. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_address.png +0 -0
  250. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_blockquote.png +0 -0
  251. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_div.png +0 -0
  252. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h1.png +0 -0
  253. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h2.png +0 -0
  254. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h3.png +0 -0
  255. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h4.png +0 -0
  256. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h5.png +0 -0
  257. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_h6.png +0 -0
  258. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_p.png +0 -0
  259. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/block_pre.png +0 -0
  260. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/images/esp_showblocks.png +0 -0
  261. data/app/assets/javascripts/esp-ckeditor/plugins/esp_showblocks/plugin.js +1 -0
  262. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/dialogs/esp_video.js +1 -0
  263. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/images/esp_video.png +0 -0
  264. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/images/placeholder.png +0 -0
  265. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/en.js +1 -0
  266. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/ru.js +1 -0
  267. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/lang/uk.js +1 -0
  268. data/app/assets/javascripts/esp-ckeditor/plugins/esp_video/plugin.js +1 -0
  269. data/app/assets/javascripts/esp-ckeditor/plugins/fakeobjects/plugin.js +1 -0
  270. data/app/assets/javascripts/esp-ckeditor/plugins/filebrowser/plugin.js +1 -0
  271. data/app/assets/javascripts/esp-ckeditor/plugins/find/dialogs/find.js +1 -0
  272. data/app/assets/javascripts/esp-ckeditor/plugins/find/plugin.js +1 -0
  273. data/app/assets/javascripts/esp-ckeditor/plugins/floatpanel/plugin.js +1 -0
  274. data/app/assets/javascripts/esp-ckeditor/plugins/format/plugin.js +1 -0
  275. data/app/assets/javascripts/esp-ckeditor/plugins/htmldataprocessor/plugin.js +1 -0
  276. data/app/assets/javascripts/esp-ckeditor/plugins/htmlwriter/plugin.js +1 -0
  277. data/app/assets/javascripts/esp-ckeditor/plugins/image/dialogs/image.js +1 -0
  278. data/app/assets/javascripts/esp-ckeditor/plugins/image/plugin.js +1 -0
  279. data/app/assets/javascripts/esp-ckeditor/plugins/indent/plugin.js +1 -0
  280. data/app/assets/javascripts/esp-ckeditor/plugins/justify/plugin.js +1 -0
  281. data/app/assets/javascripts/esp-ckeditor/plugins/keystrokes/plugin.js +1 -0
  282. data/app/assets/javascripts/esp-ckeditor/plugins/list/plugin.js +1 -0
  283. data/app/assets/javascripts/esp-ckeditor/plugins/listblock/plugin.js +1 -0
  284. data/app/assets/javascripts/esp-ckeditor/plugins/liststyle/dialogs/liststyle.js +1 -0
  285. data/app/assets/javascripts/esp-ckeditor/plugins/liststyle/plugin.js +1 -0
  286. data/app/assets/javascripts/esp-ckeditor/plugins/maximize/plugin.js +1 -0
  287. data/app/assets/javascripts/esp-ckeditor/plugins/menu/plugin.js +1 -0
  288. data/app/assets/javascripts/esp-ckeditor/plugins/panel/plugin.js +1 -0
  289. data/app/assets/javascripts/esp-ckeditor/plugins/pastefromword/filter/default.js +1 -0
  290. data/app/assets/javascripts/esp-ckeditor/plugins/pastefromword/plugin.js +1 -0
  291. data/app/assets/javascripts/esp-ckeditor/plugins/pastetext/dialogs/pastetext.js +1 -0
  292. data/app/assets/javascripts/esp-ckeditor/plugins/pastetext/plugin.js +1 -0
  293. data/app/assets/javascripts/esp-ckeditor/plugins/popup/plugin.js +1 -0
  294. data/app/assets/javascripts/esp-ckeditor/plugins/removeformat/plugin.js +1 -0
  295. data/app/assets/javascripts/esp-ckeditor/plugins/resize/plugin.js +1 -0
  296. data/app/assets/javascripts/esp-ckeditor/plugins/richcombo/plugin.js +1 -0
  297. data/app/assets/javascripts/esp-ckeditor/plugins/selection/plugin.js +1 -0
  298. data/app/assets/javascripts/esp-ckeditor/plugins/showborders/plugin.js +1 -0
  299. data/app/assets/javascripts/esp-ckeditor/plugins/sourcearea/plugin.js +1 -0
  300. data/app/assets/javascripts/esp-ckeditor/plugins/styles/plugin.js +1 -0
  301. data/app/assets/javascripts/esp-ckeditor/plugins/styles/styles/default.js +1 -0
  302. data/app/assets/javascripts/esp-ckeditor/plugins/stylescombo/plugin.js +1 -0
  303. data/app/assets/javascripts/esp-ckeditor/plugins/tab/plugin.js +1 -0
  304. data/app/assets/javascripts/esp-ckeditor/plugins/table/dialogs/table.js +1 -0
  305. data/app/assets/javascripts/esp-ckeditor/plugins/table/plugin.js +1 -0
  306. data/app/assets/javascripts/esp-ckeditor/plugins/tabletools/dialogs/tableCell.js +1 -0
  307. data/app/assets/javascripts/esp-ckeditor/plugins/tabletools/plugin.js +1 -0
  308. data/app/assets/javascripts/esp-ckeditor/plugins/toolbar/plugin.js +1 -0
  309. data/app/assets/javascripts/esp-ckeditor/plugins/undo/plugin.js +1 -0
  310. data/app/assets/javascripts/esp-ckeditor/plugins/wysiwygarea/plugin.js +1 -0
  311. data/app/assets/javascripts/esp-ckeditor/skins/kama/dialog.css +988 -0
  312. data/app/assets/javascripts/esp-ckeditor/skins/kama/editor.css +25 -0
  313. data/app/assets/javascripts/esp-ckeditor/skins/kama/elementspath.css +73 -0
  314. data/app/assets/javascripts/esp-ckeditor/skins/kama/icons.css +367 -0
  315. data/app/assets/javascripts/esp-ckeditor/skins/kama/icons.png +0 -0
  316. data/app/assets/javascripts/esp-ckeditor/skins/kama/icons_rtl.png +0 -0
  317. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  318. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/dialog_sides.png +0 -0
  319. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  320. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/mini.gif +0 -0
  321. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/noimage.png +0 -0
  322. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/sprites.png +0 -0
  323. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  324. data/app/assets/javascripts/esp-ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  325. data/app/assets/javascripts/esp-ckeditor/skins/kama/mainui.css +209 -0
  326. data/app/assets/javascripts/esp-ckeditor/skins/kama/menu.css +232 -0
  327. data/app/assets/javascripts/esp-ckeditor/skins/kama/panel.css +227 -0
  328. data/app/assets/javascripts/esp-ckeditor/skins/kama/presets.css +49 -0
  329. data/app/assets/javascripts/esp-ckeditor/skins/kama/reset.css +85 -0
  330. data/app/assets/javascripts/esp-ckeditor/skins/kama/richcombo.css +287 -0
  331. data/app/assets/javascripts/esp-ckeditor/skins/kama/skin.js +236 -0
  332. data/app/assets/javascripts/esp-ckeditor/skins/kama/templates.css +88 -0
  333. data/app/assets/javascripts/esp-ckeditor/skins/kama/toolbar.css +412 -0
  334. data/app/inputs/ckeditor_input.rb +42 -0
  335. data/config/routes.rb +2 -0
  336. data/lib/esp-ckeditor/engine.rb +9 -0
  337. data/lib/esp-ckeditor/version.rb +3 -0
  338. data/lib/esp-ckeditor.rb +17 -0
  339. data/lib/tasks/esp-ckeditor_tasks.rake +4 -0
  340. metadata +434 -0
@@ -0,0 +1,236 @@
1
+ /*
2
+ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ CKEDITOR.skins.add( 'kama', (function()
7
+ {
8
+ var uiColorStylesheetId = 'cke_ui_color';
9
+
10
+ return {
11
+ editor : { css : [ 'editor.css' ] },
12
+ dialog : { css : [ 'dialog.css' ] },
13
+ richcombo : { canGroup: false },
14
+ templates : { css : [ 'templates.css' ] },
15
+ margins : [ 0, 0, 0, 0 ],
16
+ init : function( editor )
17
+ {
18
+ if ( editor.config.width && !isNaN( editor.config.width ) )
19
+ editor.config.width -= 12;
20
+
21
+ var uiColorMenus = [];
22
+ var uiColorRegex = /\$color/g;
23
+ var uiColorMenuCss = "/* UI Color Support */\
24
+ .cke_skin_kama .cke_menuitem .cke_icon_wrapper\
25
+ {\
26
+ background-color: $color !important;\
27
+ border-color: $color !important;\
28
+ }\
29
+ \
30
+ .cke_skin_kama .cke_menuitem a:hover .cke_icon_wrapper,\
31
+ .cke_skin_kama .cke_menuitem a:focus .cke_icon_wrapper,\
32
+ .cke_skin_kama .cke_menuitem a:active .cke_icon_wrapper\
33
+ {\
34
+ background-color: $color !important;\
35
+ border-color: $color !important;\
36
+ }\
37
+ \
38
+ .cke_skin_kama .cke_menuitem a:hover .cke_label,\
39
+ .cke_skin_kama .cke_menuitem a:focus .cke_label,\
40
+ .cke_skin_kama .cke_menuitem a:active .cke_label\
41
+ {\
42
+ background-color: $color !important;\
43
+ }\
44
+ \
45
+ .cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_label,\
46
+ .cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_label,\
47
+ .cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_label\
48
+ {\
49
+ background-color: transparent !important;\
50
+ }\
51
+ \
52
+ .cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_icon_wrapper,\
53
+ .cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_icon_wrapper,\
54
+ .cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_icon_wrapper\
55
+ {\
56
+ background-color: $color !important;\
57
+ border-color: $color !important;\
58
+ }\
59
+ \
60
+ .cke_skin_kama .cke_menuitem a.cke_disabled .cke_icon_wrapper\
61
+ {\
62
+ background-color: $color !important;\
63
+ border-color: $color !important;\
64
+ }\
65
+ \
66
+ .cke_skin_kama .cke_menuseparator\
67
+ {\
68
+ background-color: $color !important;\
69
+ }\
70
+ \
71
+ .cke_skin_kama .cke_menuitem a:hover,\
72
+ .cke_skin_kama .cke_menuitem a:focus,\
73
+ .cke_skin_kama .cke_menuitem a:active\
74
+ {\
75
+ background-color: $color !important;\
76
+ }";
77
+ // We have to split CSS declarations for webkit.
78
+ if ( CKEDITOR.env.webkit )
79
+ {
80
+ uiColorMenuCss = uiColorMenuCss.split( '}' ).slice( 0, -1 );
81
+ for ( var i = 0 ; i < uiColorMenuCss.length ; i++ )
82
+ uiColorMenuCss[ i ] = uiColorMenuCss[ i ].split( '{' );
83
+ }
84
+
85
+ function getStylesheet( document )
86
+ {
87
+ var node = document.getById( uiColorStylesheetId );
88
+ if ( !node )
89
+ {
90
+ node = document.getHead().append( 'style' );
91
+ node.setAttribute( "id", uiColorStylesheetId );
92
+ node.setAttribute( "type", "text/css" );
93
+ }
94
+ return node;
95
+ }
96
+
97
+ function updateStylesheets( styleNodes, styleContent, replace )
98
+ {
99
+ var r, i, content;
100
+ for ( var id = 0 ; id < styleNodes.length ; id++ )
101
+ {
102
+ if ( CKEDITOR.env.webkit )
103
+ {
104
+ for ( i = 0 ; i < styleContent.length ; i++ )
105
+ {
106
+ content = styleContent[ i ][ 1 ];
107
+ for ( r = 0 ; r < replace.length ; r++ )
108
+ content = content.replace( replace[ r ][ 0 ], replace[ r ][ 1 ] );
109
+
110
+ styleNodes[ id ].$.sheet.addRule( styleContent[ i ][ 0 ], content );
111
+ }
112
+ }
113
+ else
114
+ {
115
+ content = styleContent;
116
+ for ( r = 0 ; r < replace.length ; r++ )
117
+ content = content.replace( replace[ r ][ 0 ], replace[ r ][ 1 ] );
118
+
119
+ if ( CKEDITOR.env.ie )
120
+ styleNodes[ id ].$.styleSheet.cssText += content;
121
+ else
122
+ styleNodes[ id ].$.innerHTML += content;
123
+ }
124
+ }
125
+ }
126
+
127
+ var uiColorRegexp = /\$color/g;
128
+
129
+ CKEDITOR.tools.extend( editor,
130
+ {
131
+ uiColor: null,
132
+
133
+ getUiColor : function()
134
+ {
135
+ return this.uiColor;
136
+ },
137
+
138
+ setUiColor : function( color )
139
+ {
140
+ var cssContent,
141
+ uiStyle = getStylesheet( CKEDITOR.document ),
142
+ cssId = '.' + editor.id;
143
+
144
+ var cssSelectors =
145
+ [
146
+ cssId + " .cke_wrapper",
147
+ cssId + "_dialog .cke_dialog_contents",
148
+ cssId + "_dialog a.cke_dialog_tab",
149
+ cssId + "_dialog .cke_dialog_footer"
150
+ ].join( ',' );
151
+ var cssProperties = "background-color: $color !important;";
152
+
153
+ if ( CKEDITOR.env.webkit )
154
+ cssContent = [ [ cssSelectors, cssProperties ] ];
155
+ else
156
+ cssContent = cssSelectors + '{' + cssProperties + '}';
157
+
158
+ return ( this.setUiColor =
159
+ function( color )
160
+ {
161
+ var replace = [ [ uiColorRegexp, color ] ];
162
+ editor.uiColor = color;
163
+
164
+ // Update general style.
165
+ updateStylesheets( [ uiStyle ], cssContent, replace );
166
+
167
+ // Update menu styles.
168
+ updateStylesheets( uiColorMenus, uiColorMenuCss, replace );
169
+ })( color );
170
+ }
171
+ });
172
+
173
+ editor.on( 'menuShow', function( event )
174
+ {
175
+ var panel = event.data[ 0 ];
176
+ var iframe = panel.element.getElementsByTag( 'iframe' ).getItem( 0 ).getFrameDocument();
177
+
178
+ // Add stylesheet if missing.
179
+ if ( !iframe.getById( 'cke_ui_color' ) )
180
+ {
181
+ var node = getStylesheet( iframe );
182
+ uiColorMenus.push( node );
183
+
184
+ var color = editor.getUiColor();
185
+ // Set uiColor for new menu.
186
+ if ( color )
187
+ updateStylesheets( [ node ], uiColorMenuCss, [ [ uiColorRegexp, color ] ] );
188
+ }
189
+ });
190
+
191
+ // Apply UI color if specified in config.
192
+ if ( editor.config.uiColor )
193
+ editor.setUiColor( editor.config.uiColor );
194
+ }
195
+ };
196
+ })() );
197
+
198
+ (function()
199
+ {
200
+ CKEDITOR.dialog ? dialogSetup() : CKEDITOR.on( 'dialogPluginReady', dialogSetup );
201
+
202
+ function dialogSetup()
203
+ {
204
+ CKEDITOR.dialog.on( 'resize', function( evt )
205
+ {
206
+ var data = evt.data,
207
+ width = data.width,
208
+ height = data.height,
209
+ dialog = data.dialog,
210
+ contents = dialog.parts.contents;
211
+
212
+ if ( data.skin != 'kama' )
213
+ return;
214
+
215
+ contents.setStyles(
216
+ {
217
+ width : width + 'px',
218
+ height : height + 'px'
219
+ });
220
+ });
221
+ }
222
+ })();
223
+
224
+ /**
225
+ * The base user interface color to be used by the editor. Not all skins are
226
+ * compatible with this setting.
227
+ * @name CKEDITOR.config.uiColor
228
+ * @type String
229
+ * @default '' (empty)
230
+ * @example
231
+ * // Using a color code.
232
+ * config.uiColor = '#AADC6E';
233
+ * @example
234
+ * // Using an HTML color name.
235
+ * config.uiColor = 'Gold';
236
+ */
@@ -0,0 +1,88 @@
1
+ /*
2
+ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ /**
7
+ * Styles for the "templates" plugin.
8
+ */
9
+
10
+ .cke_skin_kama .cke_tpl_list
11
+ {
12
+ border: #dcdcdc 2px solid;
13
+ background-color: #ffffff;
14
+ overflow-y: auto;
15
+ overflow-x: hidden;
16
+ width: 100%;
17
+ height: 220px;
18
+ }
19
+
20
+ .cke_skin_kama .cke_tpl_item
21
+ {
22
+ margin: 5px;
23
+ padding: 7px;
24
+ border: #eeeeee 1px solid;
25
+ *width: 88%;
26
+ }
27
+
28
+ .cke_skin_kama .cke_tpl_preview
29
+ {
30
+ border-collapse: separate;
31
+ text-indent:0;
32
+ width: 100%;
33
+ }
34
+ .cke_skin_kama .cke_tpl_preview td
35
+ {
36
+ padding: 2px;
37
+ vertical-align: middle;
38
+ }
39
+ .cke_skin_kama .cke_tpl_preview .cke_tpl_preview_img
40
+ {
41
+ width: 100px;
42
+ }
43
+ .cke_skin_kama .cke_tpl_preview span
44
+ {
45
+ white-space: normal;
46
+ }
47
+
48
+ .cke_skin_kama .cke_tpl_title
49
+ {
50
+ font-weight: bold;
51
+ }
52
+
53
+ .cke_skin_kama .cke_tpl_list a:active .cke_tpl_item,
54
+ .cke_skin_kama .cke_tpl_list a:hover .cke_tpl_item,
55
+ .cke_skin_kama .cke_tpl_list a:focus .cke_tpl_item
56
+ {
57
+ border: #ff9933 1px solid;
58
+ background-color: #fffacd;
59
+ }
60
+
61
+ .cke_skin_kama .cke_tpl_list a:active *,
62
+ .cke_skin_kama .cke_tpl_list a:hover *,
63
+ .cke_skin_kama .cke_tpl_list a:focus *
64
+ {
65
+ cursor: pointer;
66
+ }
67
+
68
+ /* IE6 contextual selectors childs won't get :hover transition until,
69
+ the hover style of the link itself contains certain CSS declarations.*/
70
+ .cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:active,
71
+ .cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:hover,
72
+ .cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:focus
73
+ {
74
+ background-position: 0 0;
75
+ }
76
+
77
+ .cke_skin_kama .cke_hc .cke_tpl_list a:active .cke_tpl_item,
78
+ .cke_skin_kama .cke_hc .cke_tpl_list a:hover .cke_tpl_item,
79
+ .cke_skin_kama .cke_hc .cke_tpl_list a:focus .cke_tpl_item
80
+ {
81
+ border-width: 3px;
82
+ }
83
+
84
+ .cke_skin_kama .cke_tpl_empty, .cke_tpl_loading
85
+ {
86
+ text-align: center;
87
+ padding: 5px;
88
+ }
@@ -0,0 +1,412 @@
1
+ /*
2
+ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.html or http://ckeditor.com/license
4
+ */
5
+
6
+ @media print
7
+ {
8
+ /* For printing, we simply hide the toolbar */
9
+
10
+ .cke_skin_kama .cke_toolbox
11
+ {
12
+ display: none;
13
+ }
14
+ }
15
+
16
+ .cke_skin_kama .cke_browser_webkit .cke_toolbox,
17
+ .cke_skin_kama .cke_browser_webkit .cke_toolbox > span
18
+ {
19
+ white-space: normal;
20
+ }
21
+
22
+ .cke_skin_kama .cke_toolbox
23
+ {
24
+ clear: both;
25
+ /* Define the padding-bottom otherwise the collapser button will not be clickable #4932*/
26
+ padding-bottom: 1px;
27
+ }
28
+
29
+ .cke_skin_kama a.cke_toolbox_collapser,
30
+ .cke_skin_kama a:hover.cke_toolbox_collapser
31
+ {
32
+ /* arrowtop.gif */
33
+ background-image: url(images/sprites.png);
34
+ _background-image: url(images/sprites_ie6.png);
35
+ background-position: 3px -1366px; /* +3px +4px */
36
+ background-repeat: no-repeat;
37
+ width: 11px;
38
+ height: 11px;
39
+ float: right;
40
+ border: 1px outset #D3D3D3;
41
+ margin: 11px 0 2px;
42
+ cursor: pointer;
43
+ }
44
+
45
+ .cke_skin_kama .cke_rtl a.cke_toolbox_collapser,
46
+ .cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser
47
+ {
48
+ float: left;
49
+ }
50
+
51
+ .cke_skin_kama a.cke_toolbox_collapser span
52
+ {
53
+ display: none;
54
+ }
55
+
56
+ .cke_skin_kama .cke_hc a.cke_toolbox_collapser span
57
+ {
58
+ font-size: 10px;
59
+ font-weight: bold;
60
+ font-family: Arial;
61
+ display: inline;
62
+ }
63
+
64
+ .cke_skin_kama a.cke_toolbox_collapser_min,
65
+ .cke_skin_kama a:hover.cke_toolbox_collapser_min
66
+ {
67
+ /* arrowleft.gif*/
68
+ background-image: url(images/sprites.png);
69
+ _background-image: url(images/sprites_ie6.png);
70
+ background-position: 4px -1387px; /* +4px +3px */
71
+ background-repeat: no-repeat;
72
+ margin: 2px 4px;
73
+ }
74
+
75
+ .cke_skin_kama .cke_rtl a.cke_toolbox_collapser_min,
76
+ .cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser_min
77
+ {
78
+ /* arrowright.gif*/
79
+ background-position: 4px -1408px; /* +2px +3px */
80
+ }
81
+
82
+ .cke_skin_kama .cke_separator
83
+ {
84
+ display: inline-block;
85
+ border-left: solid 1px #D3D3D3;
86
+ margin: 3px 2px 0;
87
+ height: 16px;
88
+
89
+ /* These are for IE < 8, but it's ok for the others */
90
+ vertical-align: top;
91
+ }
92
+
93
+ .cke_skin_kama .cke_break
94
+ {
95
+ font-size: 0;
96
+ clear: left;
97
+ }
98
+
99
+ .cke_skin_kama .cke_rtl .cke_break
100
+ {
101
+ clear: right;
102
+ }
103
+
104
+ .cke_skin_kama .cke_toolbar_start
105
+ {
106
+ display: none;
107
+ }
108
+
109
+ .cke_skin_kama .cke_toolgroup
110
+ {
111
+ -moz-border-radius:5px;
112
+ -webkit-border-radius: 5px;
113
+ border-radius: 5px;
114
+ /*
115
+ background-image: url(images/sprites.png);
116
+ _background-image: url(images/sprites_ie6.png);
117
+ background-repeat: repeat-x;
118
+ background-position: 0 -500px;
119
+ */
120
+ background-color: #fff;
121
+ float: left;
122
+ margin-right: 6px;
123
+ margin-bottom: 5px;
124
+ padding: 2px;
125
+ display: inline;
126
+ }
127
+
128
+ .cke_skin_kama .cke_rtl .cke_toolgroup
129
+ {
130
+ float: right;
131
+ margin-right: 0;
132
+ margin-left: 6px;
133
+ }
134
+
135
+ .cke_skin_kama .cke_button a,
136
+ .cke_skin_kama .cke_button a:hover,
137
+ .cke_skin_kama .cke_button a:focus,
138
+ .cke_skin_kama .cke_button a:active,
139
+ .cke_skin_kama .cke_button a.cke_off
140
+ {
141
+ border-radius: 3px;
142
+ outline: none;
143
+ padding: 2px 4px;
144
+ height: 18px;
145
+ display: inline-block;
146
+ cursor: default;
147
+ }
148
+
149
+ .cke_skin_kama .cke_button a,
150
+ .cke_skin_kama .cke_button a.cke_off
151
+ {
152
+ filter: alpha(opacity=70); /* IE */
153
+ opacity: 0.70; /* Safari, Opera and Mozilla */
154
+ -moz-border-radius: 3px;
155
+ -webkit-border-radius: 3px;
156
+ }
157
+
158
+ .cke_skin_kama .cke_hc .cke_button a,
159
+ .cke_skin_kama .cke_hc .cke_button a.cke_off
160
+ {
161
+ opacity: 1.0;
162
+ filter: alpha(opacity=100);
163
+ border: 1px solid white;
164
+ }
165
+
166
+ .cke_skin_kama .cke_button a.cke_on
167
+ {
168
+ background-color: #a3d7ff;
169
+ filter: alpha(opacity=100); /* IE */
170
+ opacity: 1; /* Safari, Opera and Mozilla */
171
+ padding: 2px 4px;
172
+ }
173
+
174
+ .cke_skin_kama .cke_hc .cke_button a.cke_on
175
+ {
176
+ padding: 0 2px !important;
177
+ border-width: 3px;
178
+ }
179
+
180
+ .cke_skin_kama .cke_button a.cke_disabled *
181
+ {
182
+ filter: alpha(opacity=30); /* IE */
183
+ opacity: 0.3; /* Safari, Opera and Mozilla */
184
+ }
185
+
186
+ /* IE with zoom != 100% will distort the icons otherwise #4821 */
187
+ .cke_skin_kama .cke_browser_ie .cke_button a.cke_disabled *,
188
+ .cke_skin_kama .cke_browser_ie a:hover.cke_button .cke_disabled *
189
+ {
190
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale'), alpha(opacity=30);
191
+ }
192
+ .cke_skin_kama .cke_browser_ie .cke_rtl .cke_button a.cke_disabled *,
193
+ .cke_skin_kama .cke_browser_ie .cke_rtl a:hover.cke_button .cke_disabled *
194
+ {
195
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale'), alpha(opacity=30);
196
+ }
197
+ .cke_skin_kama .cke_browser_ie6 .cke_button a.cke_disabled *,
198
+ .cke_skin_kama .cke_browser_ie6 a:hover.cke_button .cke_disabled *,
199
+ .cke_skin_kama .cke_browser_ie .cke_button.cke_noalphafix a.cke_disabled *
200
+ {
201
+ filter: alpha(opacity=30);
202
+ }
203
+
204
+ .cke_skin_kama .cke_hc .cke_button a.cke_disabled *,
205
+ .cke_skin_kama .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled *
206
+ {
207
+ filter: alpha(opacity=60);
208
+ opacity: 0.6;
209
+ }
210
+
211
+ .cke_skin_kama .cke_button a:hover.cke_on,
212
+ .cke_skin_kama .cke_button a:focus.cke_on,
213
+ .cke_skin_kama .cke_button a:active.cke_on, /* IE */
214
+ .cke_skin_kama .cke_button a:hover.cke_off,
215
+ .cke_skin_kama .cke_button a:focus.cke_off,
216
+ .cke_skin_kama .cke_button a:active.cke_off /* IE */
217
+ {
218
+ filter: alpha(opacity=100); /* IE */
219
+ opacity: 1; /* Safari, Opera and Mozilla */
220
+ padding: 2px 4px;
221
+ }
222
+
223
+ .cke_skin_kama .cke_button a:hover,
224
+ .cke_skin_kama .cke_button a:focus,
225
+ .cke_skin_kama .cke_button a:active /* IE */
226
+ {
227
+ background-color: #dff1ff;
228
+ }
229
+
230
+ .cke_skin_kama .cke_button a:hover.cke_on,
231
+ .cke_skin_kama .cke_button a:focus.cke_on,
232
+ .cke_skin_kama .cke_button a:active.cke_on /* IE */
233
+ {
234
+ background-color: #86caff;
235
+ }
236
+
237
+ .cke_skin_kama .cke_hc .cke_button a:hover,
238
+ .cke_skin_kama .cke_hc .cke_button a:focus,
239
+ .cke_skin_kama .cke_hc .cke_button a:active /* IE */
240
+ {
241
+ padding: 0 2px !important;
242
+ border-width: 3px;
243
+ }
244
+
245
+ .cke_skin_kama .cke_button .cke_icon
246
+ {
247
+ background-image: url(icons.png);
248
+ background-position: 100px;
249
+ background-repeat: no-repeat;
250
+ margin-top: 1px;
251
+ width: 16px;
252
+ height: 16px;
253
+ display: inline-block;
254
+ cursor: default;
255
+ }
256
+
257
+ .cke_skin_kama .cke_rtl .cke_button .cke_icon
258
+ {
259
+ background-image: url(icons_rtl.png);
260
+ }
261
+ /* IE with zoom != 100% will distort the icons otherwise #4821 */
262
+ .cke_skin_kama .cke_browser_ie .cke_button .cke_icon
263
+ {
264
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
265
+ }
266
+ .cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_icon
267
+ {
268
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
269
+ }
270
+ .cke_skin_kama .cke_browser_ie6 .cke_button .cke_icon,
271
+ .cke_skin_kama .cke_browser_ie6 .cke_rtl .cke_button .cke_icon,
272
+ .cke_skin_kama .cke_browser_ie .cke_button.cke_noalphafix .cke_icon,
273
+ .cke_skin_kama .cke_browser_ie .cke_rtl .cke_button.cke_noalphafix .cke_icon
274
+ {
275
+ filter: none;
276
+ }
277
+
278
+
279
+ .cke_skin_kama .cke_button .cke_label
280
+ {
281
+ cursor: default;
282
+ display: none;
283
+ padding-left: 3px;
284
+ line-height: 18px;
285
+ vertical-align: middle;
286
+ }
287
+
288
+ .cke_skin_kama .cke_hc .cke_button .cke_label
289
+ {
290
+ padding: 0;
291
+ display: inline-block;
292
+ }
293
+
294
+ .cke_skin_kama .cke_hc .cke_button .cke_icon
295
+ {
296
+ display: none;
297
+ }
298
+
299
+ .cke_skin_kama .cke_accessibility
300
+ {
301
+ position: absolute;
302
+ display: block;
303
+ width: 0;
304
+ height: 0;
305
+ overflow: hidden;
306
+ }
307
+
308
+ .cke_skin_kama .cke_button .cke_buttonarrow
309
+ {
310
+ display: inline-block;
311
+ height: 17px;
312
+ width: 8px;
313
+ background-position: 2px -1469px; /* (+2, -5) */
314
+ background-image: url(images/sprites.png);
315
+ _background-image: url(images/sprites_ie6.png);
316
+ background-repeat: no-repeat;
317
+ cursor: default;
318
+ }
319
+
320
+ /* IE with zoom != 100% will distort the icons otherwise #4821 */
321
+ .cke_skin_kama .cke_browser_ie .cke_button .cke_buttonarrow
322
+ {
323
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale');
324
+ }
325
+ .cke_skin_kama .cke_browser_ie6 .cke_button .cke_buttonarrow
326
+ {
327
+ filter: none;
328
+ }
329
+
330
+ /*** Firefox 2 ***/
331
+
332
+ .cke_skin_kama .cke_browser_gecko .cke_toolbar,
333
+ .cke_skin_kama .cke_browser_gecko .cke_button a,
334
+ .cke_skin_kama .cke_browser_gecko .cke_button a.cke_off,
335
+ .cke_skin_kama .cke_browser_gecko .cke_button .cke_icon,
336
+ .cke_skin_kama .cke_browser_gecko .cke_button .cke_buttonarrow,
337
+ .cke_skin_kama .cke_browser_gecko .cke_separator,
338
+ .cke_skin_kama .cke_browser_gecko .cke_toolbar_start
339
+ {
340
+ display: block;
341
+ float: left;
342
+ }
343
+
344
+ .cke_skin_kama .cke_browser_gecko.cke_hc .cke_button .cke_icon
345
+ {
346
+ display: none;
347
+ }
348
+
349
+ .cke_skin_kama .cke_browser_gecko .cke_rtl .cke_toolbar,
350
+ .cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button a,
351
+ .cke_skin_kama .cke_browser_gecko .cke_rtl.cke_button a.cke_off,
352
+ .cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_icon,
353
+ .cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_buttonarrow,
354
+ .cke_skin_kama .cke_browser_gecko .cke_rtl .cke_separator,
355
+ .cke_skin_kama .cke_browser_gecko .cke_rtl .cke_toolbar_start
356
+ {
357
+ float: right;
358
+ }
359
+
360
+ .cke_skin_kama .cke_browser_gecko .cke_button .cke_label,
361
+ .cke_skin_kama .cke_browser_gecko .cke_break
362
+ {
363
+ float: left;
364
+ }
365
+
366
+ .cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_label,
367
+ .cke_skin_kama .cke_browser_gecko .cke_rtl .cke_break
368
+ {
369
+ float: right;
370
+ }
371
+
372
+ /*** WebKit ***/
373
+
374
+ /* We have originally used display:inline-block+float for cke_toolbar and it
375
+ worked well in all browsers, except IE+RTL. We had to change it to inline
376
+ and remove the float. This change didn't play well with Safari. */
377
+
378
+ .cke_skin_kama .cke_browser_webkit .cke_toolbar
379
+ {
380
+ float: left;
381
+ }
382
+
383
+ .cke_skin_kama .cke_browser_webkit .cke_rtl .cke_toolbar
384
+ {
385
+ float: right;
386
+ }
387
+
388
+ /*** Mixed Fixes ***/
389
+
390
+ .cke_skin_kama .cke_browser_ie .cke_button .cke_label
391
+ {
392
+ line-height: 16px;
393
+ }
394
+
395
+ /* Fix cursor shape consistency on toolbar combos (#4031) */
396
+ .cke_skin_kama .cke_browser_ie .cke_rcombo,
397
+ .cke_skin_kama .cke_browser_ie .cke_rcombo *
398
+ {
399
+ cursor: default;
400
+ }
401
+
402
+ .cke_skin_kama .cke_browser_ie .cke_toolbox
403
+ {
404
+ padding-bottom: 5px;
405
+ _padding-bottom: 6px;
406
+ }
407
+
408
+ .cke_shared .cke_skin_kama .cke_browser_ie .cke_toolbox
409
+ {
410
+ padding-bottom: 0;
411
+ }
412
+