glebtv-ckeditor 4.4.7.4 → 4.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (443) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +38 -0
  3. data/MIT-LICENSE +1 -1
  4. data/README.md +124 -84
  5. data/Rakefile +1 -25
  6. data/app/assets/javascripts/ckeditor/application.js +0 -1
  7. data/app/assets/javascripts/ckeditor/config.js.erb +5 -59
  8. data/app/assets/javascripts/ckeditor/config_orig.js +58 -0
  9. data/app/assets/javascripts/ckeditor/filebrowser/images/gal_add.jpg +0 -0
  10. data/app/assets/javascripts/ckeditor/filebrowser/images/gal_add.png +0 -0
  11. data/app/assets/javascripts/ckeditor/filebrowser/images/gal_del.png +0 -0
  12. data/app/assets/javascripts/ckeditor/filebrowser/images/gal_more.gif +0 -0
  13. data/app/assets/javascripts/ckeditor/filebrowser/images/preloader.gif +0 -0
  14. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/avi.gif +0 -0
  15. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/ckfnothumb.gif +0 -0
  16. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/doc.gif +0 -0
  17. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/docx.gif +0 -0
  18. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/exe.gif +0 -0
  19. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/gz.gif +0 -0
  20. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/htm.gif +0 -0
  21. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/jpg.gif +0 -0
  22. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/mp3.gif +0 -0
  23. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/mpg.gif +0 -0
  24. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/pdf.gif +0 -0
  25. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/psd.gif +0 -0
  26. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/rar.gif +0 -0
  27. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/swf.gif +0 -0
  28. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/tar.gif +0 -0
  29. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/txt.gif +0 -0
  30. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/unknown.gif +0 -0
  31. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/wmv.gif +0 -0
  32. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/xls.gif +0 -0
  33. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/xlsx.gif +0 -0
  34. data/app/assets/javascripts/ckeditor/filebrowser/images/thumbs/zip.gif +0 -0
  35. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/application.js.erb +58 -56
  36. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/fileuploader.js +0 -0
  37. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/jquery.endless-scroll.js +0 -0
  38. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/jquery.tmpl.min.js +0 -0
  39. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/rails.js +0 -0
  40. data/app/assets/javascripts/ckeditor/filebrowser/stylesheets/uploader.css.erb +12 -6
  41. data/app/assets/javascripts/ckeditor/init.js.erb +6 -1
  42. data/app/assets/stylesheets/ckcontent.css +0 -0
  43. data/app/assets/stylesheets/ckeditor/application.css +0 -0
  44. data/app/controllers/ckeditor/application_controller.rb +6 -17
  45. data/app/controllers/ckeditor/attachment_files_controller.rb +10 -3
  46. data/app/controllers/ckeditor/pictures_controller.rb +9 -2
  47. data/app/helpers/ckeditor/application_helper.rb +0 -0
  48. data/app/views/ckeditor/attachment_files/index.html.erb +3 -3
  49. data/app/views/ckeditor/pictures/index.html.erb +3 -3
  50. data/app/views/ckeditor/shared/_asset.html.erb +0 -0
  51. data/app/views/ckeditor/shared/_asset_tmpl.html.erb +0 -0
  52. data/app/views/layouts/ckeditor/application.html.erb +3 -2
  53. data/app/views/rails_admin/main/_form_ck_editor.html.haml +1 -1
  54. data/app/views/rails_admin/main/_form_ck_editorml.html.haml +1 -1
  55. data/config/locales/bg.ckeditor.yml +9 -0
  56. data/config/locales/cs.ckeditor.yml +0 -0
  57. data/config/locales/de.ckeditor.yml +0 -0
  58. data/config/locales/el-GR.cdkeditor.yml +0 -0
  59. data/config/locales/en.ckeditor.yml +0 -0
  60. data/config/locales/es.ckeditor.yml +0 -0
  61. data/config/locales/fr.ckeditor.yml +0 -0
  62. data/config/locales/hu.ckeditor.yml +0 -0
  63. data/config/locales/it.ckeditor.yml +0 -0
  64. data/config/locales/ja.ckeditor.yml +9 -0
  65. data/config/locales/nb.ckeditor.yml +9 -0
  66. data/config/locales/nl.ckeditor.yml +0 -0
  67. data/config/locales/pl.ckeditor.yml +0 -0
  68. data/config/locales/pt-BR.ckeditor.yml +0 -0
  69. data/config/locales/pt-PT.ckeditor.yml +0 -0
  70. data/config/locales/ru.ckeditor.yml +0 -0
  71. data/config/locales/sv-SE.ckeditor.yml +0 -0
  72. data/config/locales/tr.ckeditor.yml +9 -0
  73. data/config/locales/uk.ckeditor.yml +0 -0
  74. data/config/locales/zh-CN.ckeditor.yml +1 -1
  75. data/config/locales/zh-TW.ckeditor.yml +9 -0
  76. data/config/routes.rb +0 -0
  77. data/lib/ckeditor.rb +39 -5
  78. data/lib/ckeditor/asset_response.rb +59 -0
  79. data/lib/ckeditor/backend/carrierwave.rb +1 -8
  80. data/lib/ckeditor/backend/dragonfly.rb +8 -6
  81. data/lib/ckeditor/backend/paperclip.rb +7 -11
  82. data/lib/ckeditor/backend/refile.rb +37 -0
  83. data/lib/ckeditor/engine.rb +4 -0
  84. data/lib/ckeditor/helpers/controllers.rb +0 -0
  85. data/lib/ckeditor/helpers/form_builder.rb +0 -0
  86. data/lib/ckeditor/helpers/form_helper.rb +0 -0
  87. data/lib/ckeditor/helpers/view_helper.rb +0 -0
  88. data/lib/ckeditor/hooks/cancan.rb +4 -1
  89. data/lib/ckeditor/hooks/formtastic.rb +0 -0
  90. data/lib/ckeditor/hooks/pundit.rb +0 -0
  91. data/lib/ckeditor/hooks/simple_form.rb +1 -1
  92. data/lib/ckeditor/http.rb +1 -3
  93. data/lib/ckeditor/orm/active_record.rb +0 -0
  94. data/lib/ckeditor/orm/base.rb +0 -0
  95. data/lib/ckeditor/orm/mongoid.rb +0 -0
  96. data/lib/ckeditor/paginatable.rb +0 -0
  97. data/lib/ckeditor/text_area.rb +2 -1
  98. data/lib/ckeditor/utils.rb +26 -23
  99. data/lib/ckeditor/utils/content_type_detector.rb +41 -0
  100. data/lib/ckeditor/utils/javascript_code.rb +10 -0
  101. data/lib/ckeditor/version.rb +4 -2
  102. data/lib/generators/ckeditor/install_generator.rb +1 -1
  103. data/lib/generators/ckeditor/pundit_policy_generator.rb +0 -0
  104. data/lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/asset.rb +0 -0
  105. data/lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/attachment_file.rb +0 -0
  106. data/lib/generators/ckeditor/templates/active_record/carrierwave/ckeditor/picture.rb +0 -0
  107. data/lib/generators/ckeditor/templates/active_record/carrierwave/migration.rb +0 -0
  108. data/lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/asset.rb +1 -1
  109. data/lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/attachment_file.rb +1 -1
  110. data/lib/generators/ckeditor/templates/active_record/dragonfly/ckeditor/picture.rb +0 -0
  111. data/lib/generators/ckeditor/templates/active_record/dragonfly/migration.rb +0 -0
  112. data/lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/asset.rb +0 -0
  113. data/lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/attachment_file.rb +3 -5
  114. data/lib/generators/ckeditor/templates/active_record/paperclip/ckeditor/picture.rb +3 -5
  115. data/lib/generators/ckeditor/templates/active_record/paperclip/migration.rb +7 -7
  116. data/lib/generators/ckeditor/templates/active_record/refile/ckeditor/asset.rb +4 -0
  117. data/lib/generators/ckeditor/templates/active_record/refile/ckeditor/attachment_file.rb +7 -0
  118. data/lib/generators/ckeditor/templates/active_record/refile/ckeditor/picture.rb +11 -0
  119. data/lib/generators/ckeditor/templates/active_record/refile/migration.rb +28 -0
  120. data/lib/generators/ckeditor/templates/base/carrierwave/uploaders/ckeditor_attachment_file_uploader.rb +2 -0
  121. data/lib/generators/ckeditor/templates/base/carrierwave/uploaders/ckeditor_picture_uploader.rb +0 -0
  122. data/lib/generators/ckeditor/templates/base/dragonfly/initializer.rb +13 -19
  123. data/lib/generators/ckeditor/templates/ckeditor.rb +23 -0
  124. data/lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/asset.rb +0 -0
  125. data/lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/attachment_file.rb +0 -0
  126. data/lib/generators/ckeditor/templates/mongoid/carrierwave/ckeditor/picture.rb +0 -0
  127. data/lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/asset.rb +0 -0
  128. data/lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/attachment_file.rb +3 -6
  129. data/lib/generators/ckeditor/templates/mongoid/paperclip/ckeditor/picture.rb +3 -5
  130. data/lib/generators/ckeditor/templates/pundit_policy/attachment_file_policy.rb +3 -3
  131. data/lib/generators/ckeditor/templates/pundit_policy/picture_policy.rb +3 -3
  132. data/lib/glebtv-ckeditor.rb +0 -0
  133. data/lib/tasks/ckeditor.rake +26 -0
  134. data/test/controllers/attachment_files_controller_test.rb +2 -2
  135. data/test/controllers/pictures_controller_test.rb +3 -4
  136. data/test/dummy/Rakefile +0 -0
  137. data/test/dummy/app/assets/javascripts/application.js +0 -1
  138. data/test/dummy/app/assets/stylesheets/application.css +0 -0
  139. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -0
  140. data/test/dummy/app/controllers/application_controller.rb +0 -1
  141. data/test/dummy/app/controllers/posts_controller.rb +0 -0
  142. data/test/dummy/app/helpers/application_helper.rb +0 -0
  143. data/test/dummy/app/helpers/posts_helper.rb +0 -0
  144. data/test/dummy/app/models/post.rb +0 -0
  145. data/test/dummy/app/views/layouts/application.html.erb +2 -2
  146. data/test/dummy/app/views/posts/_form.html.erb +0 -0
  147. data/test/dummy/app/views/posts/edit.html.erb +0 -0
  148. data/test/dummy/app/views/posts/index.html.erb +0 -0
  149. data/test/dummy/app/views/posts/new.html.erb +0 -0
  150. data/test/dummy/app/views/posts/show.html.erb +0 -0
  151. data/test/dummy/config.ru +0 -0
  152. data/test/dummy/config/application.rb +15 -15
  153. data/test/dummy/config/boot.rb +0 -0
  154. data/test/dummy/config/database.yml +0 -0
  155. data/test/dummy/config/environment.rb +0 -0
  156. data/test/dummy/config/environments/development.rb +0 -0
  157. data/test/dummy/config/environments/production.rb +0 -0
  158. data/test/dummy/config/environments/test.rb +7 -5
  159. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -0
  160. data/test/dummy/config/initializers/ckeditor.rb +0 -0
  161. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  162. data/test/dummy/config/initializers/inflections.rb +0 -0
  163. data/test/dummy/config/initializers/mime_types.rb +0 -0
  164. data/test/dummy/config/initializers/session_store.rb +0 -0
  165. data/test/dummy/config/initializers/wrap_parameters.rb +0 -0
  166. data/test/dummy/config/locales/en.yml +0 -0
  167. data/test/dummy/config/mongoid.yml +135 -1
  168. data/test/dummy/config/routes.rb +3 -3
  169. data/test/dummy/config/secrets.yml +8 -0
  170. data/test/dummy/db/migrate/20110623120047_create_posts.rb +1 -1
  171. data/test/dummy/public/404.html +0 -0
  172. data/test/dummy/public/422.html +0 -0
  173. data/test/dummy/public/500.html +0 -0
  174. data/test/dummy/public/favicon.ico +0 -0
  175. data/test/dummy/script/rails +0 -0
  176. data/test/dummy/test/fixtures/files/rails.png +0 -0
  177. data/test/dummy/test/fixtures/files/rails.tar.gz +0 -0
  178. data/test/functional/posts_controller_test.rb +6 -6
  179. data/test/generators/install_generator_test.rb +14 -0
  180. data/test/integration/navigation_test.rb +0 -0
  181. data/test/models/attachment_file_test.rb +2 -2
  182. data/test/{ckeditor_test.rb → models/ckeditor_test.rb} +35 -0
  183. data/test/models/picture_test.rb +6 -1
  184. data/test/models/utils_test.rb +6 -6
  185. data/test/orm/active_record.rb +0 -0
  186. data/test/orm/mongoid.rb +0 -0
  187. data/test/support/helpers.rb +0 -0
  188. data/test/support/integration_case.rb +0 -0
  189. data/test/support/raw_post.rb +0 -0
  190. data/test/support/routes.txt +0 -0
  191. data/test/test_helper.rb +3 -5
  192. data/vendor/assets/javascripts/ckeditor/LICENSE.md +159 -3
  193. data/vendor/assets/javascripts/ckeditor/README.md +39 -0
  194. data/vendor/assets/javascripts/ckeditor/adapters/jquery.js +7 -7
  195. data/vendor/assets/javascripts/ckeditor/build-config.js +4 -3
  196. data/vendor/assets/javascripts/ckeditor/ckeditor.js +1028 -964
  197. data/vendor/assets/javascripts/ckeditor/config.js +1 -1
  198. data/vendor/assets/javascripts/ckeditor/lang/en.js +3 -3
  199. data/vendor/assets/javascripts/ckeditor/lang/ru.js +3 -3
  200. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +5 -5
  201. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +4 -4
  202. data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +3 -3
  203. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +4 -4
  204. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  205. data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  206. data/vendor/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +9 -8
  207. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -1
  208. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/autocomplete.png +0 -0
  209. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/autoformat.png +0 -0
  210. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/commentselectedrange.png +0 -0
  211. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/searchcode.png +0 -0
  212. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/uncommentselectedrange.png +0 -0
  213. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/beautify.min.js +1 -1
  214. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +1 -1
  215. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.search.min.js +1 -1
  216. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +1 -1
  217. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.bbcode.min.js +0 -0
  218. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.bbcodemixed.min.js +0 -0
  219. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.htmlmixed.min.js +1 -1
  220. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.javascript.min.js +1 -1
  221. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.php.min.js +1 -1
  222. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/en.js +0 -0
  223. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/lang/ru.js +0 -0
  224. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +49 -29
  225. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/3024-day.css +2 -0
  226. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/3024-night.css +2 -0
  227. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance-mobile.css +0 -0
  228. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance.css +7 -8
  229. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/base16-dark.css +2 -0
  230. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/base16-light.css +2 -0
  231. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/blackboard.css +2 -0
  232. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/cobalt.css +2 -0
  233. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/colorforth.css +33 -0
  234. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/eclipse.css +0 -0
  235. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/elegant.css +0 -0
  236. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/erlang-dark.css +3 -1
  237. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/lesser-dark.css +4 -2
  238. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/liquibyte.css +95 -0
  239. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/mbo.css +2 -0
  240. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/mdn-like.css +3 -1
  241. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/midnight.css +2 -0
  242. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/monokai.css +5 -1
  243. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/neat.css +0 -0
  244. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/neo.css +0 -0
  245. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/night.css +2 -0
  246. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/paraiso-dark.css +2 -0
  247. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/paraiso-light.css +2 -0
  248. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/pastel-on-dark.css +3 -0
  249. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/rubyblue.css +2 -0
  250. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/solarized.css +9 -9
  251. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/the-matrix.css +2 -0
  252. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/tomorrow-night-bright.css +35 -0
  253. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/tomorrow-night-eighties.css +2 -0
  254. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/ttcn.css +65 -0
  255. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/twilight.css +2 -0
  256. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/vibrant-ink.css +2 -0
  257. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/xq-dark.css +2 -0
  258. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/xq-light.css +0 -0
  259. data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/zenburn.css +37 -0
  260. data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +10 -10
  261. data/vendor/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1 -1
  262. data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +8 -8
  263. data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +16 -16
  264. data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +14 -14
  265. data/vendor/assets/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  266. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js +2 -2
  267. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +4 -3
  268. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/form.js +4 -4
  269. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +4 -4
  270. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -5
  271. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/select.js +15 -15
  272. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +3 -3
  273. data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -5
  274. data/vendor/assets/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  275. data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
  276. data/vendor/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
  277. data/vendor/assets/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +3 -3
  278. data/vendor/assets/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  279. data/vendor/assets/javascripts/ckeditor/plugins/iframedialog/plugin.js +29 -34
  280. data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +41 -40
  281. data/vendor/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
  282. data/vendor/assets/javascripts/ckeditor/plugins/lineheight/LICENSE +22 -0
  283. data/vendor/assets/javascripts/ckeditor/plugins/lineheight/README.md +2 -0
  284. data/vendor/assets/javascripts/ckeditor/plugins/lineheight/lang/en.js +3 -0
  285. data/vendor/assets/javascripts/ckeditor/plugins/lineheight/lang/ru.js +3 -0
  286. data/vendor/assets/javascripts/ckeditor/plugins/lineheight/plugin.js +81 -0
  287. data/vendor/assets/javascripts/ckeditor/plugins/lineheight/readme.txt +30 -0
  288. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +2 -2
  289. data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +20 -20
  290. data/vendor/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
  291. data/vendor/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  292. data/vendor/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +7 -7
  293. data/vendor/assets/javascripts/ckeditor/plugins/loremipsum/icons/hidpi/loremipsum.png +0 -0
  294. data/vendor/assets/javascripts/ckeditor/plugins/loremipsum/icons/loremipsum.png +0 -0
  295. data/vendor/assets/javascripts/ckeditor/plugins/loremipsum/lang/en.js +8 -0
  296. data/vendor/assets/javascripts/ckeditor/plugins/loremipsum/lang/ru.js +8 -0
  297. data/vendor/assets/javascripts/ckeditor/plugins/loremipsum/plugin.js +131 -0
  298. data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  299. data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  300. data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  301. data/vendor/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
  302. data/vendor/assets/javascripts/ckeditor/plugins/notification/lang/en.js +7 -0
  303. data/vendor/assets/javascripts/ckeditor/plugins/notification/lang/ru.js +7 -0
  304. data/vendor/assets/javascripts/ckeditor/plugins/notification/plugin.js +923 -0
  305. data/vendor/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  306. data/vendor/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +29 -28
  307. data/vendor/assets/javascripts/ckeditor/plugins/preview/preview.html +0 -0
  308. data/vendor/assets/javascripts/ckeditor/plugins/scayt/CHANGELOG.md +20 -0
  309. data/vendor/assets/javascripts/ckeditor/plugins/scayt/LICENSE.md +28 -28
  310. data/vendor/assets/javascripts/ckeditor/plugins/scayt/README.md +25 -0
  311. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +19 -17
  312. data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -0
  313. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  314. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  315. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  316. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  317. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  318. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  319. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  320. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  321. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  322. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  323. data/vendor/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  324. data/vendor/assets/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +8 -7
  325. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  326. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  327. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  328. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  329. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  330. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  331. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  332. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  333. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  334. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  335. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  336. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  337. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  338. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  339. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  340. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  341. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/envelope.png +0 -0
  342. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  343. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/heart.png +0 -0
  344. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  345. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/kiss.png +0 -0
  346. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  347. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  348. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  349. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  350. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  351. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  352. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  353. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  354. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  355. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  356. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  357. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  358. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  359. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  360. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  361. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  362. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  363. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  364. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  365. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  366. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  367. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  368. data/vendor/assets/javascripts/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  369. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +1 -1
  370. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +1 -1
  371. data/vendor/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +10 -10
  372. data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +9 -3
  373. data/vendor/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +17 -17
  374. data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +12 -12
  375. data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +1 -1
  376. data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +7 -7
  377. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/default.js +4 -3
  378. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  379. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  380. data/vendor/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  381. data/vendor/assets/javascripts/ckeditor/plugins/wordcount/css/wordcount.css +1 -1
  382. data/vendor/assets/javascripts/ckeditor/plugins/wordcount/lang/en.js +4 -2
  383. data/vendor/assets/javascripts/ckeditor/plugins/wordcount/lang/ru.js +4 -2
  384. data/vendor/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +286 -145
  385. data/vendor/assets/javascripts/ckeditor/plugins/wsc/LICENSE.md +0 -0
  386. data/vendor/assets/javascripts/ckeditor/plugins/wsc/README.md +0 -0
  387. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +1 -1
  388. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
  389. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +1 -1
  390. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +88 -70
  391. data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +7 -7
  392. data/vendor/assets/javascripts/ckeditor/plugins/youtube/images/icon.png +0 -0
  393. data/vendor/assets/javascripts/ckeditor/plugins/youtube/lang/ru.js +1 -1
  394. data/vendor/assets/javascripts/ckeditor/plugins/youtube/plugin.js +388 -388
  395. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css +5 -0
  396. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +5 -0
  397. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +5 -0
  398. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +5 -0
  399. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +5 -0
  400. data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css +5 -0
  401. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +5 -0
  402. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css +5 -0
  403. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +5 -0
  404. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +5 -0
  405. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +5 -0
  406. data/vendor/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  407. data/vendor/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
  408. data/vendor/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
  409. data/vendor/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  410. data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  411. data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  412. data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  413. data/vendor/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  414. data/vendor/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
  415. data/vendor/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
  416. data/vendor/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
  417. data/vendor/assets/javascripts/ckeditor/skins/moono/images/spinner.gif +0 -0
  418. data/vendor/assets/javascripts/ckeditor/skins/moono/readme.md +49 -0
  419. data/vendor/assets/javascripts/ckeditor/styles.js +1 -1
  420. metadata +105 -130
  421. data/app/assets/javascripts/ckeditor/filebrowser/javascripts/jquery.min.js +0 -4
  422. data/app/assets/javascripts/ckeditor/override.js.erb +0 -21
  423. data/test/dummy/config/initializers/secret_token.rb +0 -7
  424. data/test/support/controller_hooks.rb +0 -27
  425. data/vendor/assets/javascripts/ckeditor/plugins/ipsum/icon.png +0 -0
  426. data/vendor/assets/javascripts/ckeditor/plugins/ipsum/plugin.js +0 -63
  427. data/vendor/assets/javascripts/ckeditor/plugins/map/example_usage.js +0 -30
  428. data/vendor/assets/javascripts/ckeditor/plugins/map/map.gif +0 -0
  429. data/vendor/assets/javascripts/ckeditor/plugins/map/plugin.js +0 -187
  430. data/vendor/assets/javascripts/ckeditor/plugins/mediaembed/icons/hidpi/mediaembed.png +0 -0
  431. data/vendor/assets/javascripts/ckeditor/plugins/mediaembed/icons/mediaembed.png +0 -0
  432. data/vendor/assets/javascripts/ckeditor/plugins/mediaembed/plugin.js +0 -64
  433. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css.scss +0 -771
  434. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css.scss +0 -812
  435. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css.scss +0 -844
  436. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css.scss +0 -825
  437. data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css.scss +0 -816
  438. data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css.scss +0 -2136
  439. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css.scss +0 -2145
  440. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css.scss +0 -2194
  441. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css.scss +0 -2362
  442. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css.scss +0 -2206
  443. data/vendor/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css.scss +0 -2254
@@ -1,816 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
- */
5
-
6
- .cke_dialog {
7
- visibility: visible;
8
- }
9
-
10
- .cke_dialog_body {
11
- z-index: 1;
12
- background: #eaeaea;
13
- border: 1px solid #b2b2b2;
14
- border-bottom-color: #999;
15
- -moz-border-radius: 3px;
16
- -webkit-border-radius: 3px;
17
- border-radius: 3px;
18
- -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
19
- -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
20
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
21
- }
22
-
23
- .cke_dialog strong {
24
- font-weight: bold;
25
- }
26
-
27
- .cke_dialog_title {
28
- font-weight: bold;
29
- font-size: 13px;
30
- cursor: move;
31
- position: relative;
32
- color: #474747;
33
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
34
- border-bottom: 1px solid #999;
35
- padding: 6px 10px;
36
- -moz-border-radius: 2px 2px 0 0;
37
- -webkit-border-radius: 2px 2px 0 0;
38
- border-radius: 2px 2px 0 0;
39
- -moz-box-shadow: 0 1px 0 #fff inset;
40
- -webkit-box-shadow: 0 1px 0 #fff inset;
41
- box-shadow: 0 1px 0 #fff inset;
42
- background: #cfd1cf;
43
- background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#cfd1cf));
44
- background-image: -moz-linear-gradient(top, #f5f5f5, #cfd1cf);
45
- background-image: -webkit-linear-gradient(top, #f5f5f5, #cfd1cf);
46
- background-image: -o-linear-gradient(top, #f5f5f5, #cfd1cf);
47
- background-image: -ms-linear-gradient(top, #f5f5f5, #cfd1cf);
48
- background-image: linear-gradient(top, #f5f5f5, #cfd1cf);
49
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf');
50
- }
51
-
52
- .cke_dialog_contents {
53
- background-color: #fff;
54
- overflow: auto;
55
- padding: 15px 10px 5px 10px;
56
- margin-top: 30px;
57
- border-top: 1px solid #bfbfbf;
58
- -moz-border-radius: 0 0 3px 3px;
59
- -webkit-border-radius: 0 0 3px 3px;
60
- border-radius: 0 0 3px 3px;
61
- }
62
-
63
- .cke_dialog_contents_body {
64
- overflow: auto;
65
- padding: 17px 10px 5px 10px;
66
- margin-top: 22px;
67
- }
68
-
69
- .cke_dialog_footer {
70
- text-align: right;
71
- position: relative;
72
- border: 0;
73
- outline: 1px solid #bfbfbf;
74
- -moz-box-shadow: 0 1px 0 #fff inset;
75
- -webkit-box-shadow: 0 1px 0 #fff inset;
76
- box-shadow: 0 1px 0 #fff inset;
77
- -moz-border-radius: 0 0 2px 2px;
78
- -webkit-border-radius: 0 0 2px 2px;
79
- border-radius: 0 0 2px 2px;
80
- background: #cfd1cf;
81
- background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#cfd1cf));
82
- background-image: -moz-linear-gradient(top, #ebebeb, #cfd1cf);
83
- background-image: -webkit-linear-gradient(top, #ebebeb, #cfd1cf);
84
- background-image: -o-linear-gradient(top, #ebebeb, #cfd1cf);
85
- background-image: -ms-linear-gradient(top, #ebebeb, #cfd1cf);
86
- background-image: linear-gradient(top, #ebebeb, #cfd1cf);
87
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf');
88
- }
89
-
90
- .cke_rtl .cke_dialog_footer {
91
- text-align: left;
92
- }
93
-
94
- .cke_hc .cke_dialog_footer {
95
- outline: 0;
96
- border-top: 1px solid #fff;
97
- }
98
-
99
- .cke_dialog {
100
- .cke_resizer {
101
- margin-top: 22px;
102
- }
103
- .cke_resizer_rtl {
104
- margin-left: 5px;
105
- }
106
- .cke_resizer_ltr {
107
- margin-right: 5px;
108
- }
109
- }
110
-
111
- .cke_dialog_tabs {
112
- height: 24px;
113
- display: inline-block;
114
- margin: 5px 0 0;
115
- position: absolute;
116
- z-index: 2;
117
- left: 10px;
118
- }
119
-
120
- .cke_rtl .cke_dialog_tabs {
121
- right: 10px;
122
- }
123
-
124
- a.cke_dialog_tab {
125
- height: 16px;
126
- padding: 4px 8px;
127
- margin-right: 3px;
128
- display: inline-block;
129
- cursor: pointer;
130
- line-height: 16px;
131
- outline: 0;
132
- color: #595959;
133
- border: 1px solid #bfbfbf;
134
- -moz-border-radius: 3px 3px 0 0;
135
- -webkit-border-radius: 3px 3px 0 0;
136
- border-radius: 3px 3px 0 0;
137
- background: #d4d4d4;
138
- background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#ededed));
139
- background-image: -moz-linear-gradient(top, #fafafa, #ededed);
140
- background-image: -webkit-linear-gradient(top, #fafafa, #ededed);
141
- background-image: -o-linear-gradient(top, #fafafa, #ededed);
142
- background-image: -ms-linear-gradient(top, #fafafa, #ededed);
143
- background-image: linear-gradient(top, #fafafa, #ededed);
144
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#fafafa',endColorstr='#ededed');
145
- }
146
-
147
- .cke_rtl a.cke_dialog_tab {
148
- margin-right: 0;
149
- margin-left: 3px;
150
- }
151
-
152
- a {
153
- &.cke_dialog_tab:hover {
154
- background: #ebebeb;
155
- background: -moz-linear-gradient(top, #ebebeb 0, #dfdfdf 100%);
156
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ebebeb), color-stop(100%, #dfdfdf));
157
- background: -webkit-linear-gradient(top, #ebebeb 0, #dfdfdf 100%);
158
- background: -o-linear-gradient(top, #ebebeb 0, #dfdfdf 100%);
159
- background: -ms-linear-gradient(top, #ebebeb 0, #dfdfdf 100%);
160
- background: linear-gradient(to bottom, #ebebeb 0, #dfdfdf 100%);
161
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb',endColorstr='#dfdfdf',GradientType=0);
162
- }
163
- &.cke_dialog_tab_selected {
164
- background: #fff;
165
- color: #383838;
166
- border-bottom-color: #fff;
167
- cursor: default;
168
- filter: none;
169
- &:hover {
170
- background: #ededed;
171
- background: -moz-linear-gradient(top, #ededed 0, #fff 100%);
172
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed), color-stop(100%, #fff));
173
- background: -webkit-linear-gradient(top, #ededed 0, #fff 100%);
174
- background: -o-linear-gradient(top, #ededed 0, #fff 100%);
175
- background: -ms-linear-gradient(top, #ededed 0, #fff 100%);
176
- background: linear-gradient(to bottom, #ededed 0, #fff 100%);
177
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#ffffff',GradientType=0);
178
- }
179
- }
180
- }
181
-
182
- .cke_hc a {
183
- &.cke_dialog_tab:hover, &.cke_dialog_tab_selected {
184
- border: 3px solid;
185
- padding: 2px 6px;
186
- }
187
- }
188
-
189
- a.cke_dialog_tab_disabled {
190
- color: #bababa;
191
- cursor: default;
192
- }
193
-
194
- .cke_single_page {
195
- .cke_dialog_tabs {
196
- display: none;
197
- }
198
- .cke_dialog_contents {
199
- padding-top: 5px;
200
- margin-top: 0;
201
- border-top: 0;
202
- }
203
- }
204
-
205
- .cke_dialog_close_button {
206
- background-image: image-url("ckeditor/skins/moono/images/close.png");
207
- background-repeat: no-repeat;
208
- background-position: 50%;
209
- position: absolute;
210
- cursor: pointer;
211
- text-align: center;
212
- height: 20px;
213
- width: 20px;
214
- top: 5px;
215
- z-index: 5;
216
- opacity: .8;
217
- filter: alpha(opacity = 80);
218
- &:hover {
219
- opacity: 1;
220
- filter: alpha(opacity = 100);
221
- }
222
- }
223
-
224
- .cke_hidpi .cke_dialog_close_button {
225
- background-image: image-url("ckeditor/skins/moono/images/hidpi/close.png");
226
- background-size: 16px;
227
- }
228
-
229
- .cke_dialog_close_button span {
230
- display: none;
231
- }
232
-
233
- .cke_hc .cke_dialog_close_button span {
234
- display: inline;
235
- cursor: pointer;
236
- font-weight: bold;
237
- position: relative;
238
- top: 3px;
239
- }
240
-
241
- .cke_ltr .cke_dialog_close_button {
242
- right: 5px;
243
- }
244
-
245
- .cke_rtl .cke_dialog_close_button {
246
- left: 6px;
247
- }
248
-
249
- .cke_dialog_close_button {
250
- top: 4px;
251
- }
252
-
253
- div.cke_disabled .cke_dialog_ui_labeled_content div * {
254
- background-color: #ddd;
255
- cursor: default;
256
- }
257
-
258
- .cke_dialog_ui_vbox table, .cke_dialog_ui_hbox table {
259
- margin: auto;
260
- }
261
-
262
- .cke_dialog_ui_vbox_child {
263
- padding: 5px 0;
264
- }
265
-
266
- .cke_dialog_ui_hbox {
267
- width: 100%;
268
- }
269
-
270
- .cke_dialog_ui_hbox_first, .cke_dialog_ui_hbox_child, .cke_dialog_ui_hbox_last {
271
- vertical-align: top;
272
- }
273
-
274
- .cke_ltr {
275
- .cke_dialog_ui_hbox_first, .cke_dialog_ui_hbox_child {
276
- padding-right: 10px;
277
- }
278
- }
279
-
280
- .cke_rtl {
281
- .cke_dialog_ui_hbox_first, .cke_dialog_ui_hbox_child {
282
- padding-left: 10px;
283
- }
284
- }
285
-
286
- .cke_ltr .cke_dialog_footer_buttons {
287
- .cke_dialog_ui_hbox_first, .cke_dialog_ui_hbox_child {
288
- padding-right: 5px;
289
- }
290
- }
291
-
292
- .cke_rtl .cke_dialog_footer_buttons {
293
- .cke_dialog_ui_hbox_first, .cke_dialog_ui_hbox_child {
294
- padding-left: 5px;
295
- padding-right: 0;
296
- }
297
- }
298
-
299
- .cke_hc div {
300
- &.cke_dialog_ui_input_text, &.cke_dialog_ui_input_password, &.cke_dialog_ui_input_textarea, &.cke_dialog_ui_input_select, &.cke_dialog_ui_input_file {
301
- border: 1px solid;
302
- }
303
- }
304
-
305
- textarea.cke_dialog_ui_input_textarea {
306
- overflow: auto;
307
- resize: none;
308
- }
309
-
310
- input {
311
- &.cke_dialog_ui_input_text, &.cke_dialog_ui_input_password {
312
- background-color: #fff;
313
- border: 1px solid #c9cccf;
314
- border-top-color: #aeb3b9;
315
- padding: 4px 6px;
316
- outline: 0;
317
- width: 100%;
318
- *width: 95%;
319
- -moz-box-sizing: border-box;
320
- -webkit-box-sizing: border-box;
321
- box-sizing: border-box;
322
- -moz-border-radius: 3px;
323
- -webkit-border-radius: 3px;
324
- border-radius: 3px;
325
- -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
326
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
327
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
328
- }
329
- }
330
-
331
- textarea.cke_dialog_ui_input_textarea {
332
- background-color: #fff;
333
- border: 1px solid #c9cccf;
334
- border-top-color: #aeb3b9;
335
- padding: 4px 6px;
336
- outline: 0;
337
- width: 100%;
338
- *width: 95%;
339
- -moz-box-sizing: border-box;
340
- -webkit-box-sizing: border-box;
341
- box-sizing: border-box;
342
- -moz-border-radius: 3px;
343
- -webkit-border-radius: 3px;
344
- border-radius: 3px;
345
- -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
346
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
347
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
348
- }
349
-
350
- input {
351
- &.cke_dialog_ui_input_text:hover, &.cke_dialog_ui_input_password:hover {
352
- border: 1px solid #aeb3b9;
353
- border-top-color: #a0a6ad;
354
- }
355
- }
356
-
357
- textarea.cke_dialog_ui_input_textarea:hover {
358
- border: 1px solid #aeb3b9;
359
- border-top-color: #a0a6ad;
360
- }
361
-
362
- input {
363
- &.cke_dialog_ui_input_text:focus, &.cke_dialog_ui_input_password:focus {
364
- outline: 0;
365
- border: 1px solid #139ff7;
366
- border-top-color: #1392e9;
367
- }
368
- }
369
-
370
- textarea.cke_dialog_ui_input_textarea:focus, select.cke_dialog_ui_input_select:focus {
371
- outline: 0;
372
- border: 1px solid #139ff7;
373
- border-top-color: #1392e9;
374
- }
375
-
376
- a.cke_dialog_ui_button {
377
- display: inline-block;
378
- *display: inline;
379
- *zoom: 1;
380
- padding: 4px 0;
381
- margin: 0;
382
- text-align: center;
383
- color: #333;
384
- vertical-align: middle;
385
- cursor: pointer;
386
- border: 1px solid #b6b6b6;
387
- border-bottom-color: #999;
388
- -moz-border-radius: 3px;
389
- -webkit-border-radius: 3px;
390
- border-radius: 3px;
391
- -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 1px 0 rgba(255, 255, 255, 0.15) inset;
392
- -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 1px 0 rgba(255, 255, 255, 0.15) inset;
393
- box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 1px 0 rgba(255, 255, 255, 0.15) inset;
394
- background: #e4e4e4;
395
- background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e4e4e4));
396
- background-image: -moz-linear-gradient(top, #fff, #e4e4e4);
397
- background-image: -webkit-linear-gradient(top, #fff, #e4e4e4);
398
- background-image: -o-linear-gradient(top, #fff, #e4e4e4);
399
- background-image: -ms-linear-gradient(top, #fff, #e4e4e4);
400
- background-image: linear-gradient(top, #fff, #e4e4e4);
401
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4');
402
- }
403
-
404
- span.cke_dialog_ui_button {
405
- padding: 0 10px;
406
- }
407
-
408
- a.cke_dialog_ui_button {
409
- &:hover {
410
- border-color: #9e9e9e;
411
- background: #ccc;
412
- background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ccc));
413
- background-image: -moz-linear-gradient(top, #f2f2f2, #ccc);
414
- background-image: -webkit-linear-gradient(top, #f2f2f2, #ccc);
415
- background-image: -o-linear-gradient(top, #f2f2f2, #ccc);
416
- background-image: -ms-linear-gradient(top, #f2f2f2, #ccc);
417
- background-image: linear-gradient(top, #f2f2f2, #ccc);
418
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc');
419
- }
420
- &:focus, &:active {
421
- border-color: #969696;
422
- outline: 0;
423
- -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.4) inset;
424
- -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.4) inset;
425
- box-shadow: 0 0 6px rgba(0, 0, 0, 0.4) inset;
426
- }
427
- }
428
-
429
- .cke_hc a.cke_dialog_ui_button {
430
- &:hover, &:focus, &:active {
431
- border: 3px solid;
432
- padding-top: 1px;
433
- padding-bottom: 1px;
434
- }
435
- &:hover span, &:focus span, &:active span {
436
- padding-left: 10px;
437
- padding-right: 10px;
438
- }
439
- }
440
-
441
- .cke_dialog_footer_buttons a.cke_dialog_ui_button span {
442
- color: inherit;
443
- font-size: 12px;
444
- font-weight: bold;
445
- line-height: 18px;
446
- padding: 0 12px;
447
- }
448
-
449
- a {
450
- &.cke_dialog_ui_button_ok {
451
- color: #fff;
452
- text-shadow: 0 -1px 0 #55830c;
453
- border-color: #62a60a #62a60a #4d9200;
454
- background: #69b10b;
455
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9ad717), to(#69b10b));
456
- background-image: -webkit-linear-gradient(top, #9ad717, #69b10b);
457
- background-image: -o-linear-gradient(top, #9ad717, #69b10b);
458
- background-image: linear-gradient(to bottom, #9ad717, #69b10b);
459
- background-image: -moz-linear-gradient(top, #9ad717, #69b10b);
460
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#9ad717',endColorstr='#69b10b');
461
- &:hover {
462
- border-color: #5b9909 #5b9909 #478500;
463
- background: #88be14;
464
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #88be14), color-stop(100%, #5d9c0a));
465
- background: -webkit-linear-gradient(top, #88be14 0, #5d9c0a 100%);
466
- background: -o-linear-gradient(top, #88be14 0, #5d9c0a 100%);
467
- background: linear-gradient(to bottom, #88be14 0, #5d9c0a 100%);
468
- background: -moz-linear-gradient(top, #88be14 0, #5d9c0a 100%);
469
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#88be14',endColorstr='#5d9c0a',GradientType=0);
470
- }
471
- }
472
- &.cke_dialog_ui_button span {
473
- text-shadow: 0 1px 0 #fff;
474
- }
475
- &.cke_dialog_ui_button_ok span {
476
- text-shadow: 0 -1px 0 #55830c;
477
- }
478
- }
479
-
480
- span.cke_dialog_ui_button {
481
- cursor: pointer;
482
- }
483
-
484
- a {
485
- &.cke_dialog_ui_button_ok {
486
- &:focus, &:active {
487
- border-width: 2px;
488
- padding: 3px 0;
489
- }
490
- }
491
- &.cke_dialog_ui_button_cancel {
492
- &:focus, &:active {
493
- border-width: 2px;
494
- padding: 3px 0;
495
- }
496
- }
497
- &.cke_dialog_ui_button_ok {
498
- &:focus, &:active {
499
- border-color: #568c0a;
500
- }
501
- &:focus span, &:active span {
502
- padding: 0 11px;
503
- }
504
- }
505
- &.cke_dialog_ui_button_cancel {
506
- &:focus span, &:active span {
507
- padding: 0 11px;
508
- }
509
- }
510
- }
511
-
512
- .cke_dialog_footer_buttons {
513
- display: inline-table;
514
- margin: 5px;
515
- width: auto;
516
- position: relative;
517
- vertical-align: middle;
518
- }
519
-
520
- div.cke_dialog_ui_input_select {
521
- display: table;
522
- }
523
-
524
- select.cke_dialog_ui_input_select {
525
- height: 25px;
526
- line-height: 25px;
527
- background-color: #fff;
528
- border: 1px solid #c9cccf;
529
- border-top-color: #aeb3b9;
530
- padding: 3px 3px 3px 6px;
531
- outline: 0;
532
- -moz-border-radius: 3px;
533
- -webkit-border-radius: 3px;
534
- border-radius: 3px;
535
- -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
536
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
537
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) inset;
538
- }
539
-
540
- .cke_dialog_ui_input_file {
541
- width: 100%;
542
- height: 25px;
543
- }
544
-
545
- .cke_hc .cke_dialog_ui_labeled_content {
546
- input:focus, select:focus, textarea:focus {
547
- outline: 1px dotted;
548
- }
549
- }
550
-
551
- .cke_dialog {
552
- .cke_dark_background {
553
- background-color: #dedede;
554
- }
555
- .cke_light_background {
556
- background-color: #ebebeb;
557
- }
558
- .cke_centered {
559
- text-align: center;
560
- }
561
- a.cke_btn_reset {
562
- float: right;
563
- background: image-url("ckeditor/skins/moono/images/refresh.png") top left no-repeat;
564
- width: 16px;
565
- height: 16px;
566
- border: 1px none;
567
- font-size: 1px;
568
- }
569
- }
570
-
571
- .cke_hidpi .cke_dialog a.cke_btn_reset {
572
- background-size: 16px;
573
- background-image: image-url("ckeditor/skins/moono/images/hidpi/refresh.png");
574
- }
575
-
576
- .cke_rtl .cke_dialog a.cke_btn_reset {
577
- float: left;
578
- }
579
-
580
- .cke_dialog a {
581
- &.cke_btn_locked, &.cke_btn_unlocked {
582
- float: left;
583
- width: 16px;
584
- height: 16px;
585
- background-repeat: no-repeat;
586
- border: none 1px;
587
- font-size: 1px;
588
- }
589
- &.cke_btn_locked .cke_icon {
590
- display: none;
591
- }
592
- }
593
-
594
- .cke_rtl .cke_dialog a {
595
- &.cke_btn_locked, &.cke_btn_unlocked {
596
- float: right;
597
- }
598
- }
599
-
600
- .cke_dialog a {
601
- &.cke_btn_locked {
602
- background-image: image-url("ckeditor/skins/moono/images/lock.png");
603
- }
604
- &.cke_btn_unlocked {
605
- background-image: image-url("ckeditor/skins/moono/images/lock-open.png");
606
- }
607
- }
608
-
609
- .cke_hidpi .cke_dialog a {
610
- &.cke_btn_unlocked {
611
- background-size: 16px;
612
- }
613
- &.cke_btn_locked {
614
- background-size: 16px;
615
- background-image: image-url("ckeditor/skins/moono/images/hidpi/lock.png");
616
- }
617
- &.cke_btn_unlocked {
618
- background-image: image-url("ckeditor/skins/moono/images/hidpi/lock-open.png");
619
- }
620
- }
621
-
622
- .cke_dialog {
623
- .cke_btn_over {
624
- border: outset 1px;
625
- cursor: pointer;
626
- }
627
- .ImagePreviewBox {
628
- border: 2px ridge black;
629
- overflow: scroll;
630
- height: 200px;
631
- width: 300px;
632
- padding: 2px;
633
- background-color: white;
634
- table td {
635
- white-space: normal;
636
- }
637
- }
638
- .ImagePreviewLoader {
639
- position: absolute;
640
- white-space: normal;
641
- overflow: hidden;
642
- height: 160px;
643
- width: 230px;
644
- margin: 2px;
645
- padding: 2px;
646
- opacity: .9;
647
- filter: alpha(opacity = 90);
648
- background-color: #e4e4e4;
649
- }
650
- .FlashPreviewBox {
651
- white-space: normal;
652
- border: 2px ridge black;
653
- overflow: auto;
654
- height: 160px;
655
- width: 390px;
656
- padding: 2px;
657
- background-color: white;
658
- }
659
- .cke_pastetext {
660
- width: 346px;
661
- height: 170px;
662
- textarea {
663
- width: 340px;
664
- height: 170px;
665
- resize: none;
666
- }
667
- }
668
- iframe.cke_pasteframe {
669
- width: 346px;
670
- height: 130px;
671
- background-color: white;
672
- border: 1px solid #aeb3b9;
673
- -moz-border-radius: 3px;
674
- -webkit-border-radius: 3px;
675
- border-radius: 3px;
676
- }
677
- .cke_hand {
678
- cursor: pointer;
679
- }
680
- }
681
-
682
- .cke_disabled {
683
- color: #a0a0a0;
684
- }
685
-
686
- .cke_dialog_body {
687
- .cke_label {
688
- display: none;
689
- }
690
- label {
691
- display: inline;
692
- margin-bottom: auto;
693
- cursor: default;
694
- &.cke_required {
695
- font-weight: bold;
696
- }
697
- }
698
- }
699
-
700
- a {
701
- &.cke_smile {
702
- overflow: hidden;
703
- display: block;
704
- text-align: center;
705
- padding: .3em 0;
706
- img {
707
- vertical-align: middle;
708
- }
709
- }
710
- &.cke_specialchar {
711
- cursor: inherit;
712
- display: block;
713
- height: 1.25em;
714
- padding: .2em .3em;
715
- text-align: center;
716
- }
717
- &.cke_smile, &.cke_specialchar {
718
- border: 1px solid transparent;
719
- }
720
- &.cke_smile {
721
- &:hover, &:focus, &:active {
722
- background: #fff;
723
- outline: 0;
724
- }
725
- }
726
- &.cke_specialchar {
727
- &:hover, &:focus, &:active {
728
- background: #fff;
729
- outline: 0;
730
- }
731
- }
732
- &.cke_smile:hover, &.cke_specialchar:hover {
733
- border-color: #888;
734
- }
735
- &.cke_smile {
736
- &:focus, &:active {
737
- border-color: #139ff7;
738
- }
739
- }
740
- &.cke_specialchar {
741
- &:focus, &:active {
742
- border-color: #139ff7;
743
- }
744
- }
745
- }
746
-
747
- .cke_dialog_contents a.colorChooser {
748
- display: block;
749
- margin-top: 6px;
750
- margin-left: 10px;
751
- width: 80px;
752
- }
753
-
754
- .cke_rtl .cke_dialog_contents a.colorChooser {
755
- margin-right: 10px;
756
- }
757
-
758
- .cke_dialog_ui_checkbox_input:focus, .cke_dialog_ui_radio_input:focus, .cke_btn_over {
759
- outline: 1px dotted #696969;
760
- }
761
-
762
- .cke_iframe_shim {
763
- display: block;
764
- position: absolute;
765
- top: 0;
766
- left: 0;
767
- z-index: -1;
768
- filter: alpha(opacity = 0);
769
- width: 100%;
770
- height: 100%;
771
- }
772
-
773
- .cke_rtl {
774
- input {
775
- &.cke_dialog_ui_input_text, &.cke_dialog_ui_input_password {
776
- padding-right: 2px;
777
- }
778
- }
779
- div {
780
- &.cke_dialog_ui_input_text, &.cke_dialog_ui_input_password {
781
- padding-left: 2px;
782
- }
783
- &.cke_dialog_ui_input_text {
784
- padding-right: 1px;
785
- }
786
- }
787
- .cke_dialog_ui_vbox_child, .cke_dialog_ui_hbox_child, .cke_dialog_ui_hbox_first, .cke_dialog_ui_hbox_last {
788
- padding-right: 2px !important;
789
- }
790
- }
791
-
792
- .cke_hc {
793
- .cke_dialog_title, .cke_dialog_footer {
794
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
795
- }
796
- a {
797
- &.cke_dialog_tab {
798
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
799
- }
800
- &.cke_dialog_ui_button, &.cke_dialog_ui_button_ok {
801
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
802
- &:hover {
803
- filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
804
- }
805
- }
806
- }
807
- div {
808
- &.cke_dialog_ui_input_text, &.cke_dialog_ui_input_password, &.cke_dialog_ui_input_textarea, &.cke_dialog_ui_input_select, &.cke_dialog_ui_input_file {
809
- border: 0;
810
- }
811
- }
812
- }
813
-
814
- .cke_dialog_footer {
815
- filter: "";
816
- }