alchemy_cms 7.0.8 → 7.1.0.pre.b2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (394) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +162 -0
  3. data/Gemfile +9 -11
  4. data/README.md +11 -9
  5. data/alchemy_cms.gemspec +4 -3
  6. data/app/assets/config/alchemy_manifest.js +3 -5
  7. data/app/assets/images/alchemy/missing-image.svg +1 -1
  8. data/app/assets/javascripts/alchemy/admin.js +1 -23
  9. data/app/assets/javascripts/alchemy/alchemy.confirm_dialog.js.coffee +2 -3
  10. data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +19 -34
  11. data/app/assets/javascripts/alchemy/alchemy.elements_window.js.coffee +38 -13
  12. data/app/assets/javascripts/alchemy/alchemy.file_progress.js.coffee +1 -1
  13. data/app/assets/javascripts/alchemy/alchemy.fixed_elements.js +32 -25
  14. data/app/assets/javascripts/alchemy/alchemy.growler.js.coffee +1 -1
  15. data/app/assets/javascripts/alchemy/alchemy.image_overlay.coffee +3 -5
  16. data/app/assets/javascripts/alchemy/alchemy.initializer.js.coffee +0 -57
  17. data/app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee +24 -65
  18. data/app/assets/javascripts/alchemy/alchemy.list_filter.js.coffee +2 -2
  19. data/app/assets/javascripts/alchemy/alchemy.preview.js.coffee +5 -4
  20. data/app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee +5 -5
  21. data/app/assets/javascripts/alchemy/templates/index.js +0 -2
  22. data/app/assets/javascripts/alchemy/templates/node_folder.hbs +1 -1
  23. data/app/assets/javascripts/alchemy/templates/page.hbs +1 -1
  24. data/app/assets/javascripts/alchemy/templates/page_folder.hbs +2 -2
  25. data/app/assets/javascripts/tinymce/icons/remixicons/icons.js +93 -0
  26. data/app/assets/javascripts/tinymce/plugins/alchemy_link/plugin.min.js +37 -18
  27. data/app/assets/stylesheets/alchemy/_custom-properties.scss +82 -0
  28. data/app/assets/stylesheets/alchemy/_mixins.scss +38 -30
  29. data/app/assets/stylesheets/alchemy/_variables.scss +23 -8
  30. data/app/assets/stylesheets/alchemy/admin.scss +3 -4
  31. data/app/assets/stylesheets/alchemy/archive.scss +110 -50
  32. data/app/assets/stylesheets/alchemy/attachments.scss +5 -4
  33. data/app/assets/stylesheets/alchemy/buttons.scss +41 -166
  34. data/app/assets/stylesheets/alchemy/dashboard.scss +31 -6
  35. data/app/assets/stylesheets/alchemy/dialogs.scss +12 -28
  36. data/app/assets/stylesheets/alchemy/elements.scss +272 -282
  37. data/app/assets/stylesheets/alchemy/flash.scss +20 -12
  38. data/app/assets/stylesheets/alchemy/forms.scss +21 -34
  39. data/app/assets/stylesheets/alchemy/frame.scss +11 -32
  40. data/app/assets/stylesheets/alchemy/hints.scss +4 -62
  41. data/app/assets/stylesheets/alchemy/image_library.scss +36 -33
  42. data/app/assets/stylesheets/alchemy/menubar.scss +7 -6
  43. data/app/assets/stylesheets/alchemy/navigation.scss +27 -15
  44. data/app/assets/stylesheets/alchemy/nodes.scss +11 -7
  45. data/app/assets/stylesheets/alchemy/notices.scss +16 -4
  46. data/app/assets/stylesheets/alchemy/page-select.scss +10 -2
  47. data/app/assets/stylesheets/alchemy/pagination.scss +22 -13
  48. data/app/assets/stylesheets/alchemy/resource_info.scss +7 -5
  49. data/app/assets/stylesheets/alchemy/selects.scss +49 -42
  50. data/app/assets/stylesheets/alchemy/shoelace.scss +345 -0
  51. data/app/assets/stylesheets/alchemy/sitemap.scss +24 -14
  52. data/app/assets/stylesheets/alchemy/spinner.scss +9 -19
  53. data/app/assets/stylesheets/alchemy/tables.scss +16 -24
  54. data/app/assets/stylesheets/alchemy/tags.scss +4 -0
  55. data/app/assets/stylesheets/alchemy/toolbar.scss +29 -25
  56. data/app/assets/stylesheets/alchemy/upload.scss +140 -89
  57. data/app/assets/stylesheets/tinymce/skins/content/alchemy/content.min.scss +69 -0
  58. data/app/assets/stylesheets/tinymce/skins/skintool.json +38 -0
  59. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.css +711 -0
  60. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.inline.css +705 -0
  61. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.inline.min.css +7 -0
  62. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.min.css +7 -0
  63. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.mobile.css +29 -0
  64. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.mobile.min.css +7 -0
  65. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/fonts/tinymce-mobile.woff +0 -0
  66. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/skin.min.scss +3798 -0
  67. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/skin.mobile.css +677 -0
  68. data/app/assets/stylesheets/tinymce/skins/ui/alchemy/skin.mobile.min.css +7 -0
  69. data/app/components/alchemy/admin/node_select.rb +39 -0
  70. data/app/components/alchemy/admin/page_select.rb +42 -0
  71. data/app/controllers/alchemy/admin/base_controller.rb +5 -6
  72. data/app/controllers/alchemy/admin/elements_controller.rb +63 -35
  73. data/app/controllers/alchemy/admin/pages_controller.rb +9 -4
  74. data/app/controllers/alchemy/base_controller.rb +4 -2
  75. data/app/controllers/concerns/alchemy/admin/uploader_responses.rb +1 -1
  76. data/app/controllers/concerns/alchemy/site_redirects.rb +1 -1
  77. data/app/decorators/alchemy/element_editor.rb +0 -2
  78. data/app/helpers/alchemy/admin/attachments_helper.rb +6 -5
  79. data/app/helpers/alchemy/admin/base_helper.rb +17 -12
  80. data/app/helpers/alchemy/admin/ingredients_helper.rb +4 -1
  81. data/app/helpers/alchemy/admin/pages_helper.rb +5 -11
  82. data/app/helpers/alchemy/base_helper.rb +47 -13
  83. data/app/javascript/alchemy_admin/clipboard.js +16 -0
  84. data/app/javascript/alchemy_admin/components/alchemy_html_element.js +129 -0
  85. data/app/javascript/alchemy_admin/components/button.js +59 -0
  86. data/app/javascript/alchemy_admin/components/char_counter.js +40 -0
  87. data/app/javascript/alchemy_admin/components/datepicker.js +39 -0
  88. data/app/javascript/alchemy_admin/components/dialog_link.js +45 -0
  89. data/app/javascript/alchemy_admin/components/element_editor/publish_element_button.js +36 -0
  90. data/app/javascript/alchemy_admin/components/element_editor.js +553 -0
  91. data/app/javascript/alchemy_admin/components/ingredient_group.js +54 -0
  92. data/app/javascript/alchemy_admin/components/link_buttons/link_button.js +48 -0
  93. data/app/javascript/alchemy_admin/components/link_buttons/unlink_button.js +38 -0
  94. data/app/javascript/alchemy_admin/components/link_buttons.js +79 -0
  95. data/app/javascript/alchemy_admin/components/node_select.js +45 -0
  96. data/app/javascript/alchemy_admin/components/overlay.js +18 -0
  97. data/app/javascript/alchemy_admin/components/page_select.js +63 -0
  98. data/app/javascript/alchemy_admin/components/remote_select.js +134 -0
  99. data/app/javascript/alchemy_admin/components/select.js +12 -0
  100. data/app/javascript/alchemy_admin/components/spinner.js +31 -0
  101. data/app/javascript/alchemy_admin/components/tinymce.js +134 -0
  102. data/app/javascript/alchemy_admin/components/uploader/file_upload.js +266 -0
  103. data/app/javascript/alchemy_admin/components/uploader/progress.js +258 -0
  104. data/app/javascript/alchemy_admin/components/uploader.js +132 -0
  105. data/app/javascript/alchemy_admin/dirty.js +49 -0
  106. data/app/javascript/alchemy_admin/file_editors.js +1 -1
  107. data/app/javascript/alchemy_admin/gui.js +14 -0
  108. data/app/javascript/alchemy_admin/i18n.js +12 -8
  109. data/app/javascript/alchemy_admin/image_cropper.js +6 -3
  110. data/app/javascript/alchemy_admin/image_loader.js +7 -15
  111. data/app/javascript/alchemy_admin/ingredient_anchor_link.js +2 -5
  112. data/app/javascript/alchemy_admin/initializer.js +65 -0
  113. data/app/javascript/alchemy_admin/locales/en.js +31 -0
  114. data/app/javascript/alchemy_admin/picture_editors.js +6 -4
  115. data/app/javascript/alchemy_admin/picture_selector.js +38 -0
  116. data/app/javascript/alchemy_admin/please_wait_overlay.js +8 -0
  117. data/app/javascript/alchemy_admin/sortable_elements.js +78 -0
  118. data/app/javascript/alchemy_admin/spinner.js +36 -0
  119. data/app/javascript/alchemy_admin/tags_autocomplete.js +46 -0
  120. data/app/javascript/alchemy_admin/utils/ajax.js +6 -5
  121. data/app/javascript/alchemy_admin/utils/debounce.js +10 -0
  122. data/app/javascript/alchemy_admin/utils/dom_helpers.js +20 -0
  123. data/app/javascript/alchemy_admin/utils/format.js +11 -0
  124. data/app/javascript/alchemy_admin/utils/max.js +3 -0
  125. data/app/javascript/alchemy_admin/utils/string_conversions.js +10 -0
  126. data/app/javascript/alchemy_admin.js +64 -13
  127. data/app/javascript/menubar.js +10 -0
  128. data/app/models/alchemy/attachment.rb +9 -11
  129. data/app/models/alchemy/element.rb +11 -0
  130. data/app/models/alchemy/ingredients/richtext.rb +1 -10
  131. data/app/models/alchemy/node.rb +4 -0
  132. data/app/models/alchemy/page/page_naming.rb +7 -0
  133. data/app/models/alchemy/page/page_natures.rb +10 -2
  134. data/app/models/alchemy/page.rb +11 -51
  135. data/app/models/alchemy/picture/url.rb +1 -9
  136. data/app/models/alchemy/picture_variant.rb +11 -2
  137. data/app/models/concerns/alchemy/picture_thumbnails.rb +1 -1
  138. data/app/serializers/alchemy/page_tree_serializer.rb +2 -1
  139. data/app/services/alchemy/copy_page.rb +98 -0
  140. data/app/views/alchemy/_menubar.html.erb +17 -13
  141. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +14 -10
  142. data/app/views/alchemy/admin/attachments/_attachment.html.erb +44 -36
  143. data/app/views/alchemy/admin/attachments/_replace_button.html.erb +15 -21
  144. data/app/views/alchemy/admin/attachments/archive_overlay.js.erb +0 -1
  145. data/app/views/alchemy/admin/attachments/assign.js.erb +1 -1
  146. data/app/views/alchemy/admin/attachments/index.html.erb +6 -4
  147. data/app/views/alchemy/admin/attachments/show.html.erb +10 -23
  148. data/app/views/alchemy/admin/clipboard/clear.js.erb +1 -1
  149. data/app/views/alchemy/admin/clipboard/index.html.erb +3 -7
  150. data/app/views/alchemy/admin/clipboard/insert.js.erb +1 -1
  151. data/app/views/alchemy/admin/crop.html.erb +1 -1
  152. data/app/views/alchemy/admin/dashboard/_locked_pages.html.erb +1 -1
  153. data/app/views/alchemy/admin/dashboard/index.html.erb +13 -11
  154. data/app/views/alchemy/admin/dashboard/info.html.erb +7 -7
  155. data/app/views/alchemy/admin/elements/_add_nested_element_form.html.erb +21 -23
  156. data/app/views/alchemy/admin/elements/_element.html.erb +52 -44
  157. data/app/views/alchemy/admin/elements/_footer.html.erb +1 -1
  158. data/app/views/alchemy/admin/elements/_form.html.erb +1 -1
  159. data/app/views/alchemy/admin/elements/_header.html.erb +11 -12
  160. data/app/views/alchemy/admin/elements/_toolbar.html.erb +33 -45
  161. data/app/views/alchemy/admin/elements/create.js.erb +7 -15
  162. data/app/views/alchemy/admin/elements/destroy.js.erb +0 -2
  163. data/app/views/alchemy/admin/elements/index.html.erb +27 -24
  164. data/app/views/alchemy/admin/elements/new.html.erb +9 -11
  165. data/app/views/alchemy/admin/ingredients/_file_fields.html.erb +2 -2
  166. data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +3 -3
  167. data/app/views/alchemy/admin/ingredients/_video_fields.html.erb +1 -2
  168. data/app/views/alchemy/admin/languages/_form.html.erb +2 -3
  169. data/app/views/alchemy/admin/languages/_language.html.erb +15 -8
  170. data/app/views/alchemy/admin/languages/_table.html.erb +1 -0
  171. data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +28 -16
  172. data/app/views/alchemy/admin/layoutpages/index.html.erb +2 -2
  173. data/app/views/alchemy/admin/legacy_page_urls/_legacy_page_url.html.erb +12 -8
  174. data/app/views/alchemy/admin/legacy_page_urls/_new.html.erb +1 -1
  175. data/app/views/alchemy/admin/nodes/_form.html.erb +20 -21
  176. data/app/views/alchemy/admin/nodes/_node.html.erb +39 -34
  177. data/app/views/alchemy/admin/nodes/index.html.erb +1 -1
  178. data/app/views/alchemy/admin/pages/_anchor_link.html.erb +4 -4
  179. data/app/views/alchemy/admin/pages/_create_language_form.html.erb +2 -2
  180. data/app/views/alchemy/admin/pages/_current_page.html.erb +1 -1
  181. data/app/views/alchemy/admin/pages/_external_link.html.erb +4 -4
  182. data/app/views/alchemy/admin/pages/_file_link.html.erb +5 -5
  183. data/app/views/alchemy/admin/pages/_form.html.erb +10 -21
  184. data/app/views/alchemy/admin/pages/_internal_link.html.erb +4 -4
  185. data/app/views/alchemy/admin/pages/_locked_page.html.erb +2 -2
  186. data/app/views/alchemy/admin/pages/_new_page_form.html.erb +4 -17
  187. data/app/views/alchemy/admin/pages/_page.html.erb +76 -72
  188. data/app/views/alchemy/admin/pages/_page_infos.html.erb +23 -7
  189. data/app/views/alchemy/admin/pages/_page_layout_filter.html.erb +2 -1
  190. data/app/views/alchemy/admin/pages/_page_status.html.erb +11 -21
  191. data/app/views/alchemy/admin/pages/_publication_fields.html.erb +2 -5
  192. data/app/views/alchemy/admin/pages/_table.html.erb +1 -1
  193. data/app/views/alchemy/admin/pages/_table_row.html.erb +43 -39
  194. data/app/views/alchemy/admin/pages/_toolbar.html.erb +43 -38
  195. data/app/views/alchemy/admin/pages/configure.html.erb +12 -14
  196. data/app/views/alchemy/admin/pages/edit.html.erb +80 -103
  197. data/app/views/alchemy/admin/pages/info.html.erb +20 -11
  198. data/app/views/alchemy/admin/pages/link.html.erb +22 -16
  199. data/app/views/alchemy/admin/pages/new.html.erb +9 -11
  200. data/app/views/alchemy/admin/pages/unlock.js.erb +10 -3
  201. data/app/views/alchemy/admin/partials/_language_tree_select.html.erb +15 -13
  202. data/app/views/alchemy/admin/partials/_main_navigation_entry.html.erb +3 -5
  203. data/app/views/alchemy/admin/partials/_routes.html.erb +10 -2
  204. data/app/views/alchemy/admin/partials/_site_select.html.erb +6 -5
  205. data/app/views/alchemy/admin/partials/_toolbar_button.html.erb +28 -23
  206. data/app/views/alchemy/admin/pictures/_archive.html.erb +5 -5
  207. data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +1 -1
  208. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +21 -23
  209. data/app/views/alchemy/admin/pictures/_infos.html.erb +2 -6
  210. data/app/views/alchemy/admin/pictures/_picture.html.erb +17 -21
  211. data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +17 -16
  212. data/app/views/alchemy/admin/pictures/_tag_list.html.erb +1 -1
  213. data/app/views/alchemy/admin/pictures/archive_overlay.js.erb +1 -1
  214. data/app/views/alchemy/admin/pictures/assign.js.erb +1 -1
  215. data/app/views/alchemy/admin/pictures/index.html.erb +34 -30
  216. data/app/views/alchemy/admin/pictures/show.html.erb +3 -3
  217. data/app/views/alchemy/admin/resources/_filter.html.erb +2 -2
  218. data/app/views/alchemy/admin/resources/_form.html.erb +2 -2
  219. data/app/views/alchemy/admin/resources/_per_page_select.html.erb +1 -1
  220. data/app/views/alchemy/admin/resources/_resource.html.erb +16 -9
  221. data/app/views/alchemy/admin/resources/_table.html.erb +4 -1
  222. data/app/views/alchemy/admin/resources/index.html.erb +22 -19
  223. data/app/views/alchemy/admin/sites/index.html.erb +2 -1
  224. data/app/views/alchemy/admin/styleguide/index.html.erb +54 -28
  225. data/app/views/alchemy/admin/tags/_tag.html.erb +16 -14
  226. data/app/views/alchemy/admin/tags/index.html.erb +15 -12
  227. data/app/views/alchemy/admin/tinymce/_setup.html.erb +28 -0
  228. data/app/views/alchemy/admin/uploader/_button.html.erb +23 -29
  229. data/app/views/alchemy/admin/uploader/_setup.html.erb +3 -8
  230. data/app/views/alchemy/base/500.html.erb +1 -1
  231. data/app/views/alchemy/base/error_notice.js.erb +0 -1
  232. data/app/views/alchemy/ingredients/_boolean_editor.html.erb +1 -1
  233. data/app/views/alchemy/ingredients/_datetime_editor.html.erb +1 -1
  234. data/app/views/alchemy/ingredients/_file_editor.html.erb +5 -5
  235. data/app/views/alchemy/ingredients/_link_editor.html.erb +1 -1
  236. data/app/views/alchemy/ingredients/_node_editor.html.erb +6 -19
  237. data/app/views/alchemy/ingredients/_page_editor.html.erb +7 -19
  238. data/app/views/alchemy/ingredients/_picture_editor.html.erb +2 -2
  239. data/app/views/alchemy/ingredients/_richtext_editor.html.erb +6 -15
  240. data/app/views/alchemy/ingredients/_select_editor.html.erb +2 -1
  241. data/app/views/alchemy/ingredients/_text_editor.html.erb +1 -1
  242. data/app/views/alchemy/ingredients/shared/_anchor.html.erb +1 -1
  243. data/app/views/alchemy/ingredients/shared/_link_tools.html.erb +10 -20
  244. data/app/views/alchemy/ingredients/shared/_picture_tools.html.erb +42 -49
  245. data/app/views/kaminari/alchemy/_first_page.html.erb +4 -2
  246. data/app/views/kaminari/alchemy/_gap.html.erb +1 -1
  247. data/app/views/kaminari/alchemy/_last_page.html.erb +4 -2
  248. data/app/views/kaminari/alchemy/_next_page.html.erb +4 -2
  249. data/app/views/kaminari/alchemy/_prev_page.html.erb +4 -2
  250. data/app/views/layouts/alchemy/admin.html.erb +10 -29
  251. data/bundles/shoelace.js +10 -0
  252. data/bundles/tinymce.js +20 -0
  253. data/config/alchemy/config.yml +11 -10
  254. data/config/alchemy/modules.yml +30 -30
  255. data/config/brakeman.ignore +0 -34
  256. data/config/importmap.rb +9 -5
  257. data/config/initializers/dragonfly.rb +1 -0
  258. data/config/initializers/rails_live_reload.rb +13 -0
  259. data/config/locales/alchemy.en.yml +25 -9
  260. data/config/routes.rb +2 -1
  261. data/lib/alchemy/auth_accessors.rb +6 -1
  262. data/lib/alchemy/config.rb +24 -2
  263. data/lib/alchemy/dev_support/live_reload_watcher.rb +5 -0
  264. data/lib/alchemy/engine.rb +10 -3
  265. data/lib/alchemy/forms/builder.rb +18 -12
  266. data/lib/alchemy/resources_helper.rb +3 -3
  267. data/lib/alchemy/test_support/capybara_helpers.rb +8 -5
  268. data/lib/alchemy/test_support/having_picture_thumbnails_examples.rb +6 -6
  269. data/lib/alchemy/test_support/rspec_matchers.rb +14 -0
  270. data/lib/alchemy/test_support/shared_uploader_examples.rb +1 -1
  271. data/lib/alchemy/tinymce.rb +19 -3
  272. data/lib/alchemy/version.rb +1 -1
  273. data/package.json +30 -9
  274. data/rollup.config.mjs +65 -0
  275. data/vendor/assets/fonts/remixicon.eot +0 -0
  276. data/vendor/assets/fonts/remixicon.svg +7816 -0
  277. data/vendor/assets/fonts/remixicon.ttf +0 -0
  278. data/vendor/assets/fonts/remixicon.woff +0 -0
  279. data/vendor/assets/fonts/remixicon.woff2 +0 -0
  280. data/vendor/assets/stylesheets/remixicon.scss +10480 -0
  281. data/vendor/assets/stylesheets/tinymce/skins/content/default/content.min.css +1 -0
  282. data/vendor/javascript/clipboard.min.js +7 -0
  283. data/vendor/javascript/flatpickr.min.js +1 -0
  284. data/vendor/javascript/keymaster.min.js +1 -0
  285. data/vendor/javascript/rails-ujs.min.js +1 -0
  286. data/vendor/javascript/shoelace.min.js +995 -0
  287. data/vendor/javascript/sortable.min.js +7 -0
  288. data/vendor/javascript/tinymce.min.js +1 -0
  289. data/vendor/javascript/ungap-custom-elements.min.js +3 -0
  290. metadata +111 -124
  291. data/.codeclimate.yml +0 -35
  292. data/.editorconfig +0 -23
  293. data/.github/FUNDING.yml +0 -4
  294. data/.github/ISSUE_TEMPLATE/Bug_report.md +0 -22
  295. data/.github/ISSUE_TEMPLATE/Feature_request.md +0 -17
  296. data/.github/PULL_REQUEST_TEMPLATE.md +0 -18
  297. data/.github/workflows/brakeman-analysis.yml +0 -46
  298. data/.github/workflows/lint.yml +0 -37
  299. data/.github/workflows/stale.yml +0 -33
  300. data/.github/workflows/test.yml +0 -124
  301. data/.gitignore +0 -31
  302. data/.hound.yml +0 -9
  303. data/.localeapp/config.rb +0 -8
  304. data/.prettierrc +0 -6
  305. data/.rspec +0 -1
  306. data/.rubocop.yml +0 -7
  307. data/.standard.yml +0 -4
  308. data/.yardopts +0 -5
  309. data/app/assets/javascripts/alchemy/alchemy.autocomplete.js.coffee +0 -30
  310. data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +0 -53
  311. data/app/assets/javascripts/alchemy/alchemy.buttons.js.coffee +0 -45
  312. data/app/assets/javascripts/alchemy/alchemy.char_counter.js.coffee +0 -19
  313. data/app/assets/javascripts/alchemy/alchemy.dirty.js.coffee +0 -59
  314. data/app/assets/javascripts/alchemy/alchemy.dragndrop.js.coffee +0 -79
  315. data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +0 -267
  316. data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +0 -27
  317. data/app/assets/javascripts/alchemy/alchemy.spinner.js +0 -32
  318. data/app/assets/javascripts/alchemy/alchemy.tooltips.coffee +0 -10
  319. data/app/assets/javascripts/alchemy/alchemy.uploader.js.coffee +0 -131
  320. data/app/assets/javascripts/alchemy/menubar.js.coffee +0 -8
  321. data/app/assets/javascripts/alchemy/node_select.js +0 -39
  322. data/app/assets/javascripts/alchemy/page_select.js +0 -46
  323. data/app/assets/javascripts/alchemy/templates/node.hbs +0 -16
  324. data/app/assets/javascripts/alchemy/templates/spinner.hbs +0 -7
  325. data/app/assets/stylesheets/alchemy/jquery-ui.scss +0 -435
  326. data/app/assets/stylesheets/tinymce/skins/alchemy/content.min.css.scss +0 -94
  327. data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce-small.svg +0 -63
  328. data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce-small.ttf +0 -0
  329. data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce-small.woff +0 -0
  330. data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce.svg +0 -129
  331. data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce.ttf +0 -0
  332. data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce.woff +0 -0
  333. data/app/assets/stylesheets/tinymce/skins/alchemy/img/anchor.gif +0 -0
  334. data/app/assets/stylesheets/tinymce/skins/alchemy/img/loader.gif +0 -0
  335. data/app/assets/stylesheets/tinymce/skins/alchemy/img/object.gif +0 -0
  336. data/app/assets/stylesheets/tinymce/skins/alchemy/img/trans.gif +0 -0
  337. data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +0 -2105
  338. data/app/javascript/alchemy_admin/datepicker.js +0 -33
  339. data/app/javascript/alchemy_admin/tinymce.js +0 -146
  340. data/app/javascript/alchemy_admin/translations.js +0 -32
  341. data/app/views/alchemy/admin/elements/fold.js.erb +0 -33
  342. data/app/views/alchemy/admin/elements/order.js.erb +0 -11
  343. data/app/views/alchemy/admin/elements/publish.js.erb +0 -21
  344. data/app/views/alchemy/admin/elements/update.js.erb +0 -27
  345. data/vendor/assets/fonts/fa-regular-400.eot +0 -0
  346. data/vendor/assets/fonts/fa-regular-400.svg +0 -803
  347. data/vendor/assets/fonts/fa-regular-400.ttf +0 -0
  348. data/vendor/assets/fonts/fa-regular-400.woff +0 -0
  349. data/vendor/assets/fonts/fa-regular-400.woff2 +0 -0
  350. data/vendor/assets/fonts/fa-solid-900.eot +0 -0
  351. data/vendor/assets/fonts/fa-solid-900.svg +0 -4938
  352. data/vendor/assets/fonts/fa-solid-900.ttf +0 -0
  353. data/vendor/assets/fonts/fa-solid-900.woff +0 -0
  354. data/vendor/assets/fonts/fa-solid-900.woff2 +0 -0
  355. data/vendor/assets/javascripts/clipboard.min.js +0 -7
  356. data/vendor/assets/javascripts/fileupload/jquery.fileupload-process.js +0 -178
  357. data/vendor/assets/javascripts/fileupload/jquery.fileupload-validate.js +0 -125
  358. data/vendor/assets/javascripts/fileupload/jquery.fileupload.js +0 -1502
  359. data/vendor/assets/javascripts/fileupload/jquery.iframe-transport.js +0 -224
  360. data/vendor/assets/javascripts/jquery-ui/data.js +0 -45
  361. data/vendor/assets/javascripts/jquery-ui/ie.js +0 -20
  362. data/vendor/assets/javascripts/jquery-ui/keycode.js +0 -51
  363. data/vendor/assets/javascripts/jquery-ui/plugin.js +0 -49
  364. data/vendor/assets/javascripts/jquery-ui/safe-active-element.js +0 -46
  365. data/vendor/assets/javascripts/jquery-ui/safe-blur.js +0 -27
  366. data/vendor/assets/javascripts/jquery-ui/scroll-parent.js +0 -50
  367. data/vendor/assets/javascripts/jquery-ui/unique-id.js +0 -54
  368. data/vendor/assets/javascripts/jquery-ui/version.js +0 -20
  369. data/vendor/assets/javascripts/jquery-ui/widget.js +0 -754
  370. data/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +0 -1268
  371. data/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +0 -241
  372. data/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +0 -1623
  373. data/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +0 -931
  374. data/vendor/assets/javascripts/jquery_plugins/jquery.scrollTo.min.js +0 -7
  375. data/vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js +0 -296
  376. data/vendor/assets/javascripts/keymaster.js +0 -296
  377. data/vendor/assets/javascripts/requestAnimationFrame.js +0 -31
  378. data/vendor/assets/javascripts/tinymce/license.txt +0 -504
  379. data/vendor/assets/javascripts/tinymce/tinymce.min.js +0 -2
  380. data/vendor/assets/stylesheets/fontawesome/_animated.scss +0 -20
  381. data/vendor/assets/stylesheets/fontawesome/_bordered-pulled.scss +0 -20
  382. data/vendor/assets/stylesheets/fontawesome/_core.scss +0 -21
  383. data/vendor/assets/stylesheets/fontawesome/_fixed-width.scss +0 -6
  384. data/vendor/assets/stylesheets/fontawesome/_icons.scss +0 -1441
  385. data/vendor/assets/stylesheets/fontawesome/_larger.scss +0 -23
  386. data/vendor/assets/stylesheets/fontawesome/_list.scss +0 -18
  387. data/vendor/assets/stylesheets/fontawesome/_mixins.scss +0 -56
  388. data/vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss +0 -24
  389. data/vendor/assets/stylesheets/fontawesome/_screen-reader.scss +0 -5
  390. data/vendor/assets/stylesheets/fontawesome/_stacked.scss +0 -31
  391. data/vendor/assets/stylesheets/fontawesome/_variables.scss +0 -1458
  392. data/vendor/assets/stylesheets/fontawesome/fontawesome.scss +0 -16
  393. data/vendor/assets/stylesheets/fontawesome/regular.scss +0 -23
  394. data/vendor/assets/stylesheets/fontawesome/solid.scss +0 -24
@@ -0,0 +1,711 @@
1
+ /**
2
+ * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3
+ * Licensed under the LGPL or a commercial license.
4
+ * For LGPL see License.txt in the project root for license information.
5
+ * For commercial licenses see https://www.tiny.cloud/
6
+ */
7
+ .mce-content-body .mce-item-anchor {
8
+ background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
9
+ cursor: default;
10
+ display: inline-block;
11
+ height: 12px !important;
12
+ padding: 0 2px;
13
+ -webkit-user-modify: read-only;
14
+ -moz-user-modify: read-only;
15
+ -webkit-user-select: all;
16
+ -ms-user-select: all;
17
+ user-select: all;
18
+ width: 8px !important;
19
+ }
20
+ .mce-content-body .mce-item-anchor[data-mce-selected] {
21
+ outline-offset: 1px;
22
+ }
23
+ .tox-comments-visible .tox-comment {
24
+ background-color: #fff0b7;
25
+ }
26
+ .tox-comments-visible .tox-comment--active {
27
+ background-color: #ffe168;
28
+ }
29
+ .tox-checklist > li:not(.tox-checklist--hidden) {
30
+ list-style: none;
31
+ margin: 0.25em 0;
32
+ }
33
+ .tox-checklist > li:not(.tox-checklist--hidden)::before {
34
+ content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
35
+ cursor: pointer;
36
+ height: 1em;
37
+ margin-left: -1.5em;
38
+ margin-top: 0.125em;
39
+ position: absolute;
40
+ width: 1em;
41
+ }
42
+ .tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
43
+ content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
44
+ }
45
+ [dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before {
46
+ margin-left: 0;
47
+ margin-right: -1.5em;
48
+ }
49
+ /* stylelint-disable */
50
+ /* http://prismjs.com/ */
51
+ /**
52
+ * prism.js default theme for JavaScript, CSS and HTML
53
+ * Based on dabblet (http://dabblet.com)
54
+ * @author Lea Verou
55
+ */
56
+ code[class*="language-"],
57
+ pre[class*="language-"] {
58
+ color: black;
59
+ background: none;
60
+ text-shadow: 0 1px white;
61
+ font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
62
+ font-size: 1em;
63
+ text-align: left;
64
+ white-space: pre;
65
+ word-spacing: normal;
66
+ word-break: normal;
67
+ word-wrap: normal;
68
+ line-height: 1.5;
69
+ -moz-tab-size: 4;
70
+ tab-size: 4;
71
+ -webkit-hyphens: none;
72
+ -ms-hyphens: none;
73
+ hyphens: none;
74
+ }
75
+ pre[class*="language-"]::selection,
76
+ pre[class*="language-"] ::selection,
77
+ code[class*="language-"]::selection,
78
+ code[class*="language-"] ::selection {
79
+ text-shadow: none;
80
+ background: #b3d4fc;
81
+ }
82
+ @media print {
83
+ code[class*="language-"],
84
+ pre[class*="language-"] {
85
+ text-shadow: none;
86
+ }
87
+ }
88
+ /* Code blocks */
89
+ pre[class*="language-"] {
90
+ padding: 1em;
91
+ margin: 0.5em 0;
92
+ overflow: auto;
93
+ }
94
+ :not(pre) > code[class*="language-"],
95
+ pre[class*="language-"] {
96
+ background: #f5f2f0;
97
+ }
98
+ /* Inline code */
99
+ :not(pre) > code[class*="language-"] {
100
+ padding: 0.1em;
101
+ border-radius: 0.3em;
102
+ white-space: normal;
103
+ }
104
+ .token.comment,
105
+ .token.prolog,
106
+ .token.doctype,
107
+ .token.cdata {
108
+ color: slategray;
109
+ }
110
+ .token.punctuation {
111
+ color: #999;
112
+ }
113
+ .namespace {
114
+ opacity: 0.7;
115
+ }
116
+ .token.property,
117
+ .token.tag,
118
+ .token.boolean,
119
+ .token.number,
120
+ .token.constant,
121
+ .token.symbol,
122
+ .token.deleted {
123
+ color: #905;
124
+ }
125
+ .token.selector,
126
+ .token.attr-name,
127
+ .token.string,
128
+ .token.char,
129
+ .token.builtin,
130
+ .token.inserted {
131
+ color: #690;
132
+ }
133
+ .token.operator,
134
+ .token.entity,
135
+ .token.url,
136
+ .language-css .token.string,
137
+ .style .token.string {
138
+ color: #9a6e3a;
139
+ background: hsla(0, 0%, 100%, 0.5);
140
+ }
141
+ .token.atrule,
142
+ .token.attr-value,
143
+ .token.keyword {
144
+ color: #07a;
145
+ }
146
+ .token.function,
147
+ .token.class-name {
148
+ color: #DD4A68;
149
+ }
150
+ .token.regex,
151
+ .token.important,
152
+ .token.variable {
153
+ color: #e90;
154
+ }
155
+ .token.important,
156
+ .token.bold {
157
+ font-weight: bold;
158
+ }
159
+ .token.italic {
160
+ font-style: italic;
161
+ }
162
+ .token.entity {
163
+ cursor: help;
164
+ }
165
+ /* stylelint-enable */
166
+ .mce-content-body {
167
+ overflow-wrap: break-word;
168
+ word-wrap: break-word;
169
+ }
170
+ .mce-content-body .mce-visual-caret {
171
+ background-color: black;
172
+ background-color: currentColor;
173
+ position: absolute;
174
+ }
175
+ .mce-content-body .mce-visual-caret-hidden {
176
+ display: none;
177
+ }
178
+ .mce-content-body *[data-mce-caret] {
179
+ left: -1000px;
180
+ margin: 0;
181
+ padding: 0;
182
+ position: absolute;
183
+ right: auto;
184
+ top: 0;
185
+ }
186
+ .mce-content-body .mce-offscreen-selection {
187
+ left: -2000000px;
188
+ max-width: 1000000px;
189
+ position: absolute;
190
+ }
191
+ .mce-content-body *[contentEditable=false] {
192
+ cursor: default;
193
+ }
194
+ .mce-content-body *[contentEditable=true] {
195
+ cursor: text;
196
+ }
197
+ .tox-cursor-format-painter {
198
+ cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default;
199
+ }
200
+ .mce-content-body figure.align-left {
201
+ float: left;
202
+ }
203
+ .mce-content-body figure.align-right {
204
+ float: right;
205
+ }
206
+ .mce-content-body figure.image.align-center {
207
+ display: table;
208
+ margin-left: auto;
209
+ margin-right: auto;
210
+ }
211
+ .mce-preview-object {
212
+ border: 1px solid gray;
213
+ display: inline-block;
214
+ line-height: 0;
215
+ margin: 0 2px 0 2px;
216
+ position: relative;
217
+ }
218
+ .mce-preview-object .mce-shim {
219
+ background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
220
+ height: 100%;
221
+ left: 0;
222
+ position: absolute;
223
+ top: 0;
224
+ width: 100%;
225
+ }
226
+ .mce-preview-object[data-mce-selected="2"] .mce-shim {
227
+ display: none;
228
+ }
229
+ .mce-object {
230
+ background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
231
+ border: 1px dashed #aaa;
232
+ }
233
+ .mce-pagebreak {
234
+ border: 1px dashed #aaa;
235
+ cursor: default;
236
+ display: block;
237
+ height: 5px;
238
+ margin-top: 15px;
239
+ page-break-before: always;
240
+ width: 100%;
241
+ }
242
+ @media print {
243
+ .mce-pagebreak {
244
+ border: 0;
245
+ }
246
+ }
247
+ .tiny-pageembed .mce-shim {
248
+ background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
249
+ height: 100%;
250
+ left: 0;
251
+ position: absolute;
252
+ top: 0;
253
+ width: 100%;
254
+ }
255
+ .tiny-pageembed[data-mce-selected="2"] .mce-shim {
256
+ display: none;
257
+ }
258
+ .tiny-pageembed {
259
+ display: inline-block;
260
+ position: relative;
261
+ }
262
+ .tiny-pageembed--21by9,
263
+ .tiny-pageembed--16by9,
264
+ .tiny-pageembed--4by3,
265
+ .tiny-pageembed--1by1 {
266
+ display: block;
267
+ overflow: hidden;
268
+ padding: 0;
269
+ position: relative;
270
+ width: 100%;
271
+ }
272
+ .tiny-pageembed--21by9 {
273
+ padding-top: 42.857143%;
274
+ }
275
+ .tiny-pageembed--16by9 {
276
+ padding-top: 56.25%;
277
+ }
278
+ .tiny-pageembed--4by3 {
279
+ padding-top: 75%;
280
+ }
281
+ .tiny-pageembed--1by1 {
282
+ padding-top: 100%;
283
+ }
284
+ .tiny-pageembed--21by9 iframe,
285
+ .tiny-pageembed--16by9 iframe,
286
+ .tiny-pageembed--4by3 iframe,
287
+ .tiny-pageembed--1by1 iframe {
288
+ border: 0;
289
+ height: 100%;
290
+ left: 0;
291
+ position: absolute;
292
+ top: 0;
293
+ width: 100%;
294
+ }
295
+ .mce-content-body[data-mce-placeholder] {
296
+ position: relative;
297
+ }
298
+ .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
299
+ color: rgba(0, 0, 0, 0.7);
300
+ content: attr(data-mce-placeholder);
301
+ position: absolute;
302
+ }
303
+ .mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before {
304
+ left: 1px;
305
+ }
306
+ .mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before {
307
+ right: 1px;
308
+ }
309
+ .mce-content-body div.mce-resizehandle {
310
+ background-color: #4099ff;
311
+ border-color: #4099ff;
312
+ border-style: solid;
313
+ border-width: 1px;
314
+ box-sizing: border-box;
315
+ height: 10px;
316
+ position: absolute;
317
+ width: 10px;
318
+ z-index: 1298;
319
+ }
320
+ .mce-content-body div.mce-resizehandle:hover {
321
+ background-color: #4099ff;
322
+ }
323
+ .mce-content-body div.mce-resizehandle:nth-of-type(1) {
324
+ cursor: nwse-resize;
325
+ }
326
+ .mce-content-body div.mce-resizehandle:nth-of-type(2) {
327
+ cursor: nesw-resize;
328
+ }
329
+ .mce-content-body div.mce-resizehandle:nth-of-type(3) {
330
+ cursor: nwse-resize;
331
+ }
332
+ .mce-content-body div.mce-resizehandle:nth-of-type(4) {
333
+ cursor: nesw-resize;
334
+ }
335
+ .mce-content-body .mce-resize-backdrop {
336
+ z-index: 10000;
337
+ }
338
+ .mce-content-body .mce-clonedresizable {
339
+ cursor: default;
340
+ opacity: 0.5;
341
+ outline: 1px dashed black;
342
+ position: absolute;
343
+ z-index: 10001;
344
+ }
345
+ .mce-content-body .mce-clonedresizable.mce-resizetable-columns th,
346
+ .mce-content-body .mce-clonedresizable.mce-resizetable-columns td {
347
+ border: 0;
348
+ }
349
+ .mce-content-body .mce-resize-helper {
350
+ background: #555;
351
+ background: rgba(0, 0, 0, 0.75);
352
+ border: 1px;
353
+ border-radius: 3px;
354
+ color: white;
355
+ display: none;
356
+ font-family: sans-serif;
357
+ font-size: 12px;
358
+ line-height: 14px;
359
+ margin: 5px 10px;
360
+ padding: 5px;
361
+ position: absolute;
362
+ white-space: nowrap;
363
+ z-index: 10002;
364
+ }
365
+ .tox-rtc-user-selection {
366
+ position: relative;
367
+ }
368
+ .tox-rtc-user-cursor {
369
+ bottom: 0;
370
+ cursor: default;
371
+ position: absolute;
372
+ top: 0;
373
+ width: 2px;
374
+ }
375
+ .tox-rtc-user-cursor::before {
376
+ background-color: inherit;
377
+ border-radius: 50%;
378
+ content: '';
379
+ display: block;
380
+ height: 8px;
381
+ position: absolute;
382
+ right: -3px;
383
+ top: -3px;
384
+ width: 8px;
385
+ }
386
+ .tox-rtc-user-cursor:hover::after {
387
+ background-color: inherit;
388
+ border-radius: 100px;
389
+ box-sizing: border-box;
390
+ color: #fff;
391
+ content: attr(data-user);
392
+ display: block;
393
+ font-size: 12px;
394
+ font-weight: bold;
395
+ left: -5px;
396
+ min-height: 8px;
397
+ min-width: 8px;
398
+ padding: 0 12px;
399
+ position: absolute;
400
+ top: -11px;
401
+ white-space: nowrap;
402
+ z-index: 1000;
403
+ }
404
+ .tox-rtc-user-selection--1 .tox-rtc-user-cursor {
405
+ background-color: #2dc26b;
406
+ }
407
+ .tox-rtc-user-selection--2 .tox-rtc-user-cursor {
408
+ background-color: #e03e2d;
409
+ }
410
+ .tox-rtc-user-selection--3 .tox-rtc-user-cursor {
411
+ background-color: #f1c40f;
412
+ }
413
+ .tox-rtc-user-selection--4 .tox-rtc-user-cursor {
414
+ background-color: #3598db;
415
+ }
416
+ .tox-rtc-user-selection--5 .tox-rtc-user-cursor {
417
+ background-color: #b96ad9;
418
+ }
419
+ .tox-rtc-user-selection--6 .tox-rtc-user-cursor {
420
+ background-color: #e67e23;
421
+ }
422
+ .tox-rtc-user-selection--7 .tox-rtc-user-cursor {
423
+ background-color: #aaa69d;
424
+ }
425
+ .tox-rtc-user-selection--8 .tox-rtc-user-cursor {
426
+ background-color: #f368e0;
427
+ }
428
+ .tox-rtc-remote-image {
429
+ background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;
430
+ border: 1px solid #ccc;
431
+ min-height: 240px;
432
+ min-width: 320px;
433
+ }
434
+ .mce-match-marker {
435
+ background: #aaa;
436
+ color: #fff;
437
+ }
438
+ .mce-match-marker-selected {
439
+ background: #39f;
440
+ color: #fff;
441
+ }
442
+ .mce-match-marker-selected::selection {
443
+ background: #39f;
444
+ color: #fff;
445
+ }
446
+ .mce-content-body img[data-mce-selected],
447
+ .mce-content-body video[data-mce-selected],
448
+ .mce-content-body audio[data-mce-selected],
449
+ .mce-content-body object[data-mce-selected],
450
+ .mce-content-body embed[data-mce-selected],
451
+ .mce-content-body table[data-mce-selected] {
452
+ outline: 3px solid #b4d7ff;
453
+ }
454
+ .mce-content-body hr[data-mce-selected] {
455
+ outline: 3px solid #b4d7ff;
456
+ outline-offset: 1px;
457
+ }
458
+ .mce-content-body *[contentEditable=false] *[contentEditable=true]:focus {
459
+ outline: 3px solid #b4d7ff;
460
+ }
461
+ .mce-content-body *[contentEditable=false] *[contentEditable=true]:hover {
462
+ outline: 3px solid #b4d7ff;
463
+ }
464
+ .mce-content-body *[contentEditable=false][data-mce-selected] {
465
+ cursor: not-allowed;
466
+ outline: 3px solid #b4d7ff;
467
+ }
468
+ .mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
469
+ .mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
470
+ outline: none;
471
+ }
472
+ .mce-content-body *[data-mce-selected="inline-boundary"] {
473
+ background-color: #b4d7ff;
474
+ }
475
+ .mce-content-body .mce-edit-focus {
476
+ outline: 3px solid #b4d7ff;
477
+ }
478
+ .mce-content-body td[data-mce-selected],
479
+ .mce-content-body th[data-mce-selected] {
480
+ position: relative;
481
+ }
482
+ .mce-content-body td[data-mce-selected]::selection,
483
+ .mce-content-body th[data-mce-selected]::selection {
484
+ background: none;
485
+ }
486
+ .mce-content-body td[data-mce-selected] *,
487
+ .mce-content-body th[data-mce-selected] * {
488
+ outline: none;
489
+ -webkit-touch-callout: none;
490
+ -webkit-user-select: none;
491
+ -ms-user-select: none;
492
+ user-select: none;
493
+ }
494
+ .mce-content-body td[data-mce-selected]::after,
495
+ .mce-content-body th[data-mce-selected]::after {
496
+ background-color: rgba(180, 215, 255, 0.7);
497
+ border: 1px solid rgba(180, 215, 255, 0.7);
498
+ bottom: -1px;
499
+ content: '';
500
+ left: -1px;
501
+ mix-blend-mode: multiply;
502
+ position: absolute;
503
+ right: -1px;
504
+ top: -1px;
505
+ }
506
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
507
+ .mce-content-body td[data-mce-selected]::after,
508
+ .mce-content-body th[data-mce-selected]::after {
509
+ border-color: rgba(0, 84, 180, 0.7);
510
+ }
511
+ }
512
+ .mce-content-body img::selection {
513
+ background: none;
514
+ }
515
+ .ephox-snooker-resizer-bar {
516
+ background-color: #b4d7ff;
517
+ opacity: 0;
518
+ -webkit-user-select: none;
519
+ -ms-user-select: none;
520
+ user-select: none;
521
+ }
522
+ .ephox-snooker-resizer-cols {
523
+ cursor: col-resize;
524
+ }
525
+ .ephox-snooker-resizer-rows {
526
+ cursor: row-resize;
527
+ }
528
+ .ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
529
+ opacity: 1;
530
+ }
531
+ .mce-spellchecker-word {
532
+ background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
533
+ background-position: 0 calc(100% + 1px);
534
+ background-repeat: repeat-x;
535
+ background-size: auto 6px;
536
+ cursor: default;
537
+ height: 2rem;
538
+ }
539
+ .mce-spellchecker-grammar {
540
+ background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
541
+ background-position: 0 calc(100% + 1px);
542
+ background-repeat: repeat-x;
543
+ background-size: auto 6px;
544
+ cursor: default;
545
+ }
546
+ .mce-toc {
547
+ border: 1px solid gray;
548
+ }
549
+ .mce-toc h2 {
550
+ margin: 4px;
551
+ }
552
+ .mce-toc li {
553
+ list-style-type: none;
554
+ }
555
+ table[style*="border-width: 0px"],
556
+ .mce-item-table:not([border]),
557
+ .mce-item-table[border="0"],
558
+ table[style*="border-width: 0px"] td,
559
+ .mce-item-table:not([border]) td,
560
+ .mce-item-table[border="0"] td,
561
+ table[style*="border-width: 0px"] th,
562
+ .mce-item-table:not([border]) th,
563
+ .mce-item-table[border="0"] th,
564
+ table[style*="border-width: 0px"] caption,
565
+ .mce-item-table:not([border]) caption,
566
+ .mce-item-table[border="0"] caption {
567
+ border: 1px dashed #bbb;
568
+ }
569
+ .mce-visualblocks p,
570
+ .mce-visualblocks h1,
571
+ .mce-visualblocks h2,
572
+ .mce-visualblocks h3,
573
+ .mce-visualblocks h4,
574
+ .mce-visualblocks h5,
575
+ .mce-visualblocks h6,
576
+ .mce-visualblocks div:not([data-mce-bogus]),
577
+ .mce-visualblocks section,
578
+ .mce-visualblocks article,
579
+ .mce-visualblocks blockquote,
580
+ .mce-visualblocks address,
581
+ .mce-visualblocks pre,
582
+ .mce-visualblocks figure,
583
+ .mce-visualblocks figcaption,
584
+ .mce-visualblocks hgroup,
585
+ .mce-visualblocks aside,
586
+ .mce-visualblocks ul,
587
+ .mce-visualblocks ol,
588
+ .mce-visualblocks dl {
589
+ background-repeat: no-repeat;
590
+ border: 1px dashed #bbb;
591
+ margin-left: 3px;
592
+ padding-top: 10px;
593
+ }
594
+ .mce-visualblocks p {
595
+ background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
596
+ }
597
+ .mce-visualblocks h1 {
598
+ background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
599
+ }
600
+ .mce-visualblocks h2 {
601
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
602
+ }
603
+ .mce-visualblocks h3 {
604
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
605
+ }
606
+ .mce-visualblocks h4 {
607
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
608
+ }
609
+ .mce-visualblocks h5 {
610
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
611
+ }
612
+ .mce-visualblocks h6 {
613
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
614
+ }
615
+ .mce-visualblocks div:not([data-mce-bogus]) {
616
+ background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
617
+ }
618
+ .mce-visualblocks section {
619
+ background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
620
+ }
621
+ .mce-visualblocks article {
622
+ background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
623
+ }
624
+ .mce-visualblocks blockquote {
625
+ background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
626
+ }
627
+ .mce-visualblocks address {
628
+ background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
629
+ }
630
+ .mce-visualblocks pre {
631
+ background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
632
+ }
633
+ .mce-visualblocks figure {
634
+ background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
635
+ }
636
+ .mce-visualblocks figcaption {
637
+ border: 1px dashed #bbb;
638
+ }
639
+ .mce-visualblocks hgroup {
640
+ background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
641
+ }
642
+ .mce-visualblocks aside {
643
+ background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
644
+ }
645
+ .mce-visualblocks ul {
646
+ background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
647
+ }
648
+ .mce-visualblocks ol {
649
+ background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
650
+ }
651
+ .mce-visualblocks dl {
652
+ background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
653
+ }
654
+ .mce-visualblocks:not([dir=rtl]) p,
655
+ .mce-visualblocks:not([dir=rtl]) h1,
656
+ .mce-visualblocks:not([dir=rtl]) h2,
657
+ .mce-visualblocks:not([dir=rtl]) h3,
658
+ .mce-visualblocks:not([dir=rtl]) h4,
659
+ .mce-visualblocks:not([dir=rtl]) h5,
660
+ .mce-visualblocks:not([dir=rtl]) h6,
661
+ .mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),
662
+ .mce-visualblocks:not([dir=rtl]) section,
663
+ .mce-visualblocks:not([dir=rtl]) article,
664
+ .mce-visualblocks:not([dir=rtl]) blockquote,
665
+ .mce-visualblocks:not([dir=rtl]) address,
666
+ .mce-visualblocks:not([dir=rtl]) pre,
667
+ .mce-visualblocks:not([dir=rtl]) figure,
668
+ .mce-visualblocks:not([dir=rtl]) figcaption,
669
+ .mce-visualblocks:not([dir=rtl]) hgroup,
670
+ .mce-visualblocks:not([dir=rtl]) aside,
671
+ .mce-visualblocks:not([dir=rtl]) ul,
672
+ .mce-visualblocks:not([dir=rtl]) ol,
673
+ .mce-visualblocks:not([dir=rtl]) dl {
674
+ margin-left: 3px;
675
+ }
676
+ .mce-visualblocks[dir=rtl] p,
677
+ .mce-visualblocks[dir=rtl] h1,
678
+ .mce-visualblocks[dir=rtl] h2,
679
+ .mce-visualblocks[dir=rtl] h3,
680
+ .mce-visualblocks[dir=rtl] h4,
681
+ .mce-visualblocks[dir=rtl] h5,
682
+ .mce-visualblocks[dir=rtl] h6,
683
+ .mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),
684
+ .mce-visualblocks[dir=rtl] section,
685
+ .mce-visualblocks[dir=rtl] article,
686
+ .mce-visualblocks[dir=rtl] blockquote,
687
+ .mce-visualblocks[dir=rtl] address,
688
+ .mce-visualblocks[dir=rtl] pre,
689
+ .mce-visualblocks[dir=rtl] figure,
690
+ .mce-visualblocks[dir=rtl] figcaption,
691
+ .mce-visualblocks[dir=rtl] hgroup,
692
+ .mce-visualblocks[dir=rtl] aside,
693
+ .mce-visualblocks[dir=rtl] ul,
694
+ .mce-visualblocks[dir=rtl] ol,
695
+ .mce-visualblocks[dir=rtl] dl {
696
+ background-position-x: right;
697
+ margin-right: 3px;
698
+ }
699
+ .mce-nbsp,
700
+ .mce-shy {
701
+ background: #aaa;
702
+ }
703
+ .mce-shy::after {
704
+ content: '-';
705
+ }
706
+ body {
707
+ font-family: sans-serif;
708
+ }
709
+ table {
710
+ border-collapse: collapse;
711
+ }