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,677 @@
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
+ /* RESET all the things! */
8
+ .tinymce-mobile-outer-container {
9
+ all: initial;
10
+ display: block;
11
+ }
12
+ .tinymce-mobile-outer-container * {
13
+ border: 0;
14
+ box-sizing: initial;
15
+ cursor: inherit;
16
+ float: none;
17
+ line-height: 1;
18
+ margin: 0;
19
+ outline: 0;
20
+ padding: 0;
21
+ -webkit-tap-highlight-color: transparent;
22
+ /* TBIO-3691, stop the gray flicker on touch. */
23
+ text-shadow: none;
24
+ white-space: nowrap;
25
+ }
26
+ .tinymce-mobile-icon-arrow-back::before {
27
+ content: "\e5cd";
28
+ }
29
+ .tinymce-mobile-icon-image::before {
30
+ content: "\e412";
31
+ }
32
+ .tinymce-mobile-icon-cancel-circle::before {
33
+ content: "\e5c9";
34
+ }
35
+ .tinymce-mobile-icon-full-dot::before {
36
+ content: "\e061";
37
+ }
38
+ .tinymce-mobile-icon-align-center::before {
39
+ content: "\e234";
40
+ }
41
+ .tinymce-mobile-icon-align-left::before {
42
+ content: "\e236";
43
+ }
44
+ .tinymce-mobile-icon-align-right::before {
45
+ content: "\e237";
46
+ }
47
+ .tinymce-mobile-icon-bold::before {
48
+ content: "\e238";
49
+ }
50
+ .tinymce-mobile-icon-italic::before {
51
+ content: "\e23f";
52
+ }
53
+ .tinymce-mobile-icon-unordered-list::before {
54
+ content: "\e241";
55
+ }
56
+ .tinymce-mobile-icon-ordered-list::before {
57
+ content: "\e242";
58
+ }
59
+ .tinymce-mobile-icon-font-size::before {
60
+ content: "\e245";
61
+ }
62
+ .tinymce-mobile-icon-underline::before {
63
+ content: "\e249";
64
+ }
65
+ .tinymce-mobile-icon-link::before {
66
+ content: "\e157";
67
+ }
68
+ .tinymce-mobile-icon-unlink::before {
69
+ content: "\eca2";
70
+ }
71
+ .tinymce-mobile-icon-color::before {
72
+ content: "\e891";
73
+ }
74
+ .tinymce-mobile-icon-previous::before {
75
+ content: "\e314";
76
+ }
77
+ .tinymce-mobile-icon-next::before {
78
+ content: "\e315";
79
+ }
80
+ .tinymce-mobile-icon-large-font::before,
81
+ .tinymce-mobile-icon-style-formats::before {
82
+ content: "\e264";
83
+ }
84
+ .tinymce-mobile-icon-undo::before {
85
+ content: "\e166";
86
+ }
87
+ .tinymce-mobile-icon-redo::before {
88
+ content: "\e15a";
89
+ }
90
+ .tinymce-mobile-icon-removeformat::before {
91
+ content: "\e239";
92
+ }
93
+ .tinymce-mobile-icon-small-font::before {
94
+ content: "\e906";
95
+ }
96
+ .tinymce-mobile-icon-readonly-back::before,
97
+ .tinymce-mobile-format-matches::after {
98
+ content: "\e5ca";
99
+ }
100
+ .tinymce-mobile-icon-small-heading::before {
101
+ content: "small";
102
+ }
103
+ .tinymce-mobile-icon-large-heading::before {
104
+ content: "large";
105
+ }
106
+ .tinymce-mobile-icon-small-heading::before,
107
+ .tinymce-mobile-icon-large-heading::before {
108
+ font-family: sans-serif;
109
+ font-size: 80%;
110
+ }
111
+ .tinymce-mobile-mask-edit-icon::before {
112
+ content: "\e254";
113
+ }
114
+ .tinymce-mobile-icon-back::before {
115
+ content: "\e5c4";
116
+ }
117
+ .tinymce-mobile-icon-heading::before {
118
+ /* TODO: Translate */
119
+ content: "Headings";
120
+ font-family: sans-serif;
121
+ font-size: 80%;
122
+ font-weight: bold;
123
+ }
124
+ .tinymce-mobile-icon-h1::before {
125
+ content: "H1";
126
+ font-weight: bold;
127
+ }
128
+ .tinymce-mobile-icon-h2::before {
129
+ content: "H2";
130
+ font-weight: bold;
131
+ }
132
+ .tinymce-mobile-icon-h3::before {
133
+ content: "H3";
134
+ font-weight: bold;
135
+ }
136
+ .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask {
137
+ align-items: center;
138
+ display: flex;
139
+ justify-content: center;
140
+ background: rgba(51, 51, 51, 0.5);
141
+ height: 100%;
142
+ position: absolute;
143
+ top: 0;
144
+ width: 100%;
145
+ }
146
+ .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container {
147
+ align-items: center;
148
+ border-radius: 50%;
149
+ display: flex;
150
+ flex-direction: column;
151
+ font-family: sans-serif;
152
+ font-size: 1em;
153
+ justify-content: space-between;
154
+ }
155
+ .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .mixin-menu-item {
156
+ align-items: center;
157
+ display: flex;
158
+ justify-content: center;
159
+ border-radius: 50%;
160
+ height: 2.1em;
161
+ width: 2.1em;
162
+ }
163
+ .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section {
164
+ align-items: center;
165
+ display: flex;
166
+ justify-content: center;
167
+ flex-direction: column;
168
+ font-size: 1em;
169
+ }
170
+ @media only screen and (min-device-width:700px) {
171
+ .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section {
172
+ font-size: 1.2em;
173
+ }
174
+ }
175
+ .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon {
176
+ align-items: center;
177
+ display: flex;
178
+ justify-content: center;
179
+ border-radius: 50%;
180
+ height: 2.1em;
181
+ width: 2.1em;
182
+ background-color: white;
183
+ color: #207ab7;
184
+ }
185
+ .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon::before {
186
+ content: "\e900";
187
+ font-family: 'tinymce-mobile', sans-serif;
188
+ }
189
+ .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section:not(.tinymce-mobile-mask-tap-icon-selected) .tinymce-mobile-mask-tap-icon {
190
+ z-index: 2;
191
+ }
192
+ .tinymce-mobile-android-container.tinymce-mobile-android-maximized {
193
+ background: #ffffff;
194
+ border: none;
195
+ bottom: 0;
196
+ display: flex;
197
+ flex-direction: column;
198
+ left: 0;
199
+ position: fixed;
200
+ right: 0;
201
+ top: 0;
202
+ }
203
+ .tinymce-mobile-android-container:not(.tinymce-mobile-android-maximized) {
204
+ position: relative;
205
+ }
206
+ .tinymce-mobile-android-container .tinymce-mobile-editor-socket {
207
+ display: flex;
208
+ flex-grow: 1;
209
+ }
210
+ .tinymce-mobile-android-container .tinymce-mobile-editor-socket iframe {
211
+ display: flex !important;
212
+ flex-grow: 1;
213
+ height: auto !important;
214
+ }
215
+ .tinymce-mobile-android-scroll-reload {
216
+ overflow: hidden;
217
+ }
218
+ :not(.tinymce-mobile-readonly-mode) > .tinymce-mobile-android-selection-context-toolbar {
219
+ margin-top: 23px;
220
+ }
221
+ .tinymce-mobile-toolstrip {
222
+ background: #fff;
223
+ display: flex;
224
+ flex: 0 0 auto;
225
+ z-index: 1;
226
+ }
227
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar {
228
+ align-items: center;
229
+ background-color: #fff;
230
+ border-bottom: 1px solid #cccccc;
231
+ display: flex;
232
+ flex: 1;
233
+ height: 2.5em;
234
+ width: 100%;
235
+ /* Make it no larger than the toolstrip, so that it needs to scroll */
236
+ }
237
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group {
238
+ align-items: center;
239
+ display: flex;
240
+ height: 100%;
241
+ flex-shrink: 1;
242
+ }
243
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group > div {
244
+ align-items: center;
245
+ display: flex;
246
+ height: 100%;
247
+ flex: 1;
248
+ }
249
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-exit-container {
250
+ background: #f44336;
251
+ }
252
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-toolbar-scrollable-group {
253
+ flex-grow: 1;
254
+ }
255
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item {
256
+ padding-left: 0.5em;
257
+ padding-right: 0.5em;
258
+ }
259
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button {
260
+ align-items: center;
261
+ display: flex;
262
+ height: 80%;
263
+ margin-left: 2px;
264
+ margin-right: 2px;
265
+ }
266
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button.tinymce-mobile-toolbar-button-selected {
267
+ background: #bfbfbf;
268
+ color: #cccccc;
269
+ }
270
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:first-of-type,
271
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:last-of-type {
272
+ background: #207ab7;
273
+ color: #eceff1;
274
+ }
275
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar {
276
+ /* Note, this file is imported inside .tinymce-mobile-context-toolbar, so that prefix is on everything here. */
277
+ }
278
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group {
279
+ align-items: center;
280
+ display: flex;
281
+ height: 100%;
282
+ flex: 1;
283
+ padding-bottom: 0.4em;
284
+ padding-top: 0.4em;
285
+ /* Make any buttons appearing on the left and right display in the centre (e.g. color edges) */
286
+ /* For widgets like the colour picker, use the whole height */
287
+ }
288
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog {
289
+ display: flex;
290
+ min-height: 1.5em;
291
+ overflow: hidden;
292
+ padding-left: 0;
293
+ padding-right: 0;
294
+ position: relative;
295
+ width: 100%;
296
+ }
297
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain {
298
+ display: flex;
299
+ height: 100%;
300
+ transition: left cubic-bezier(0.4, 0, 1, 1) 0.15s;
301
+ width: 100%;
302
+ }
303
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen {
304
+ display: flex;
305
+ flex: 0 0 auto;
306
+ justify-content: space-between;
307
+ width: 100%;
308
+ }
309
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen input {
310
+ font-family: Sans-serif;
311
+ }
312
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container {
313
+ display: flex;
314
+ flex-grow: 1;
315
+ position: relative;
316
+ }
317
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container .tinymce-mobile-input-container-x {
318
+ -ms-grid-row-align: center;
319
+ align-self: center;
320
+ background: inherit;
321
+ border: none;
322
+ border-radius: 50%;
323
+ color: #888;
324
+ font-size: 0.6em;
325
+ font-weight: bold;
326
+ height: 100%;
327
+ padding-right: 2px;
328
+ position: absolute;
329
+ right: 0;
330
+ }
331
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container.tinymce-mobile-input-container-empty .tinymce-mobile-input-container-x {
332
+ display: none;
333
+ }
334
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous,
335
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next {
336
+ align-items: center;
337
+ display: flex;
338
+ }
339
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous::before,
340
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next::before {
341
+ align-items: center;
342
+ display: flex;
343
+ font-weight: bold;
344
+ height: 100%;
345
+ padding-left: 0.5em;
346
+ padding-right: 0.5em;
347
+ }
348
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous.tinymce-mobile-toolbar-navigation-disabled::before,
349
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next.tinymce-mobile-toolbar-navigation-disabled::before {
350
+ visibility: hidden;
351
+ }
352
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item {
353
+ color: #cccccc;
354
+ font-size: 10px;
355
+ line-height: 10px;
356
+ margin: 0 2px;
357
+ padding-top: 3px;
358
+ }
359
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item.tinymce-mobile-dot-active {
360
+ color: #bfbfbf;
361
+ }
362
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-font::before,
363
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-heading::before {
364
+ margin-left: 0.5em;
365
+ margin-right: 0.9em;
366
+ }
367
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-font::before,
368
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-heading::before {
369
+ margin-left: 0.9em;
370
+ margin-right: 0.5em;
371
+ }
372
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider {
373
+ display: flex;
374
+ flex: 1;
375
+ margin-left: 0;
376
+ margin-right: 0;
377
+ padding: 0.28em 0;
378
+ position: relative;
379
+ }
380
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container {
381
+ align-items: center;
382
+ display: flex;
383
+ flex-grow: 1;
384
+ height: 100%;
385
+ }
386
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container .tinymce-mobile-slider-size-line {
387
+ background: #cccccc;
388
+ display: flex;
389
+ flex: 1;
390
+ height: 0.2em;
391
+ margin-bottom: 0.3em;
392
+ margin-top: 0.3em;
393
+ }
394
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container {
395
+ padding-left: 2em;
396
+ padding-right: 2em;
397
+ }
398
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container {
399
+ align-items: center;
400
+ display: flex;
401
+ flex-grow: 1;
402
+ height: 100%;
403
+ }
404
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container .tinymce-mobile-slider-gradient {
405
+ background: linear-gradient(to right, hsl(0, 100%, 50%) 0%, hsl(60, 100%, 50%) 17%, hsl(120, 100%, 50%) 33%, hsl(180, 100%, 50%) 50%, hsl(240, 100%, 50%) 67%, hsl(300, 100%, 50%) 83%, hsl(0, 100%, 50%) 100%);
406
+ display: flex;
407
+ flex: 1;
408
+ height: 0.2em;
409
+ margin-bottom: 0.3em;
410
+ margin-top: 0.3em;
411
+ }
412
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-black {
413
+ /* Not part of theming */
414
+ background: black;
415
+ height: 0.2em;
416
+ margin-bottom: 0.3em;
417
+ margin-top: 0.3em;
418
+ width: 1.2em;
419
+ }
420
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-white {
421
+ /* Not part of theming */
422
+ background: white;
423
+ height: 0.2em;
424
+ margin-bottom: 0.3em;
425
+ margin-top: 0.3em;
426
+ width: 1.2em;
427
+ }
428
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb {
429
+ /* vertically centering trick (margin: auto, top: 0, bottom: 0). On iOS and Safari, if you leave
430
+ * out these values, then it shows the thumb at the top of the spectrum. This is probably because it is
431
+ * absolutely positioned with only a left value, and not a top. Note, on Chrome it seems to be fine without
432
+ * this approach.
433
+ */
434
+ align-items: center;
435
+ background-clip: padding-box;
436
+ background-color: #455a64;
437
+ border: 0.5em solid rgba(136, 136, 136, 0);
438
+ border-radius: 3em;
439
+ bottom: 0;
440
+ color: #fff;
441
+ display: flex;
442
+ height: 0.5em;
443
+ justify-content: center;
444
+ left: -10px;
445
+ margin: auto;
446
+ position: absolute;
447
+ top: 0;
448
+ transition: border 120ms cubic-bezier(0.39, 0.58, 0.57, 1);
449
+ width: 0.5em;
450
+ }
451
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb.tinymce-mobile-thumb-active {
452
+ border: 0.5em solid rgba(136, 136, 136, 0.39);
453
+ }
454
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper,
455
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group > div {
456
+ align-items: center;
457
+ display: flex;
458
+ height: 100%;
459
+ flex: 1;
460
+ }
461
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper {
462
+ flex-direction: column;
463
+ justify-content: center;
464
+ }
465
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item {
466
+ align-items: center;
467
+ display: flex;
468
+ }
469
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item:not(.tinymce-mobile-serialised-dialog) {
470
+ height: 100%;
471
+ }
472
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-container {
473
+ display: flex;
474
+ }
475
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input {
476
+ background: #ffffff;
477
+ border: none;
478
+ border-radius: 0;
479
+ color: #455a64;
480
+ flex-grow: 1;
481
+ font-size: 0.85em;
482
+ padding-bottom: 0.1em;
483
+ padding-left: 5px;
484
+ padding-top: 0.1em;
485
+ }
486
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::-webkit-input-placeholder {
487
+ /* WebKit, Blink, Edge */
488
+ color: #888;
489
+ }
490
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input:-ms-input-placeholder {
491
+ /* WebKit, Blink, Edge */
492
+ color: #888;
493
+ }
494
+ .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::placeholder {
495
+ /* WebKit, Blink, Edge */
496
+ color: #888;
497
+ }
498
+ /* dropup */
499
+ .tinymce-mobile-dropup {
500
+ background: white;
501
+ display: flex;
502
+ overflow: hidden;
503
+ width: 100%;
504
+ }
505
+ .tinymce-mobile-dropup.tinymce-mobile-dropup-shrinking {
506
+ transition: height 0.3s ease-out;
507
+ }
508
+ .tinymce-mobile-dropup.tinymce-mobile-dropup-growing {
509
+ transition: height 0.3s ease-in;
510
+ }
511
+ .tinymce-mobile-dropup.tinymce-mobile-dropup-closed {
512
+ flex-grow: 0;
513
+ }
514
+ .tinymce-mobile-dropup.tinymce-mobile-dropup-open:not(.tinymce-mobile-dropup-growing) {
515
+ flex-grow: 1;
516
+ }
517
+ /* TODO min-height for device size and orientation */
518
+ .tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) {
519
+ min-height: 200px;
520
+ }
521
+ @media only screen and (orientation: landscape) {
522
+ .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) {
523
+ min-height: 200px;
524
+ }
525
+ }
526
+ @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
527
+ .tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) {
528
+ min-height: 150px;
529
+ }
530
+ }
531
+ /* styles menu */
532
+ .tinymce-mobile-styles-menu {
533
+ font-family: sans-serif;
534
+ outline: 4px solid black;
535
+ overflow: hidden;
536
+ position: relative;
537
+ width: 100%;
538
+ }
539
+ .tinymce-mobile-styles-menu [role="menu"] {
540
+ display: flex;
541
+ flex-direction: column;
542
+ height: 100%;
543
+ position: absolute;
544
+ width: 100%;
545
+ }
546
+ .tinymce-mobile-styles-menu [role="menu"].transitioning {
547
+ transition: transform 0.5s ease-in-out;
548
+ }
549
+ .tinymce-mobile-styles-menu .tinymce-mobile-styles-item {
550
+ border-bottom: 1px solid #ddd;
551
+ color: #455a64;
552
+ cursor: pointer;
553
+ display: flex;
554
+ padding: 1em 1em;
555
+ position: relative;
556
+ }
557
+ .tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser .tinymce-mobile-styles-collapse-icon::before {
558
+ color: #455a64;
559
+ content: "\e314";
560
+ font-family: 'tinymce-mobile', sans-serif;
561
+ }
562
+ .tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-styles-item-is-menu::after {
563
+ color: #455a64;
564
+ content: "\e315";
565
+ font-family: 'tinymce-mobile', sans-serif;
566
+ padding-left: 1em;
567
+ padding-right: 1em;
568
+ position: absolute;
569
+ right: 0;
570
+ }
571
+ .tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-format-matches::after {
572
+ font-family: 'tinymce-mobile', sans-serif;
573
+ padding-left: 1em;
574
+ padding-right: 1em;
575
+ position: absolute;
576
+ right: 0;
577
+ }
578
+ .tinymce-mobile-styles-menu .tinymce-mobile-styles-separator,
579
+ .tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser {
580
+ align-items: center;
581
+ background: #fff;
582
+ border-top: #455a64;
583
+ color: #455a64;
584
+ display: flex;
585
+ min-height: 2.5em;
586
+ padding-left: 1em;
587
+ padding-right: 1em;
588
+ }
589
+ .tinymce-mobile-styles-menu [data-transitioning-destination="before"][data-transitioning-state],
590
+ .tinymce-mobile-styles-menu [data-transitioning-state="before"] {
591
+ transform: translate(-100%);
592
+ }
593
+ .tinymce-mobile-styles-menu [data-transitioning-destination="current"][data-transitioning-state],
594
+ .tinymce-mobile-styles-menu [data-transitioning-state="current"] {
595
+ transform: translate(0%);
596
+ }
597
+ .tinymce-mobile-styles-menu [data-transitioning-destination="after"][data-transitioning-state],
598
+ .tinymce-mobile-styles-menu [data-transitioning-state="after"] {
599
+ transform: translate(100%);
600
+ }
601
+ @font-face {
602
+ font-family: 'tinymce-mobile';
603
+ font-style: normal;
604
+ font-weight: normal;
605
+ src: url('fonts/tinymce-mobile.woff?8x92w3') format('woff');
606
+ }
607
+ @media (min-device-width: 700px) {
608
+ .tinymce-mobile-outer-container,
609
+ .tinymce-mobile-outer-container input {
610
+ font-size: 25px;
611
+ }
612
+ }
613
+ @media (max-device-width: 700px) {
614
+ .tinymce-mobile-outer-container,
615
+ .tinymce-mobile-outer-container input {
616
+ font-size: 18px;
617
+ }
618
+ }
619
+ .tinymce-mobile-icon {
620
+ font-family: 'tinymce-mobile', sans-serif;
621
+ }
622
+ .mixin-flex-and-centre {
623
+ align-items: center;
624
+ display: flex;
625
+ justify-content: center;
626
+ }
627
+ .mixin-flex-bar {
628
+ align-items: center;
629
+ display: flex;
630
+ height: 100%;
631
+ }
632
+ .tinymce-mobile-outer-container .tinymce-mobile-editor-socket iframe {
633
+ background-color: #fff;
634
+ width: 100%;
635
+ }
636
+ .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon {
637
+ /* Note, on the iPod touch in landscape, this isn't visible when the navbar appears */
638
+ background-color: #207ab7;
639
+ border-radius: 50%;
640
+ bottom: 1em;
641
+ color: white;
642
+ font-size: 1em;
643
+ height: 2.1em;
644
+ position: fixed;
645
+ right: 2em;
646
+ width: 2.1em;
647
+ align-items: center;
648
+ display: flex;
649
+ justify-content: center;
650
+ }
651
+ @media only screen and (min-device-width:700px) {
652
+ .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon {
653
+ font-size: 1.2em;
654
+ }
655
+ }
656
+ .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket {
657
+ height: 300px;
658
+ overflow: hidden;
659
+ }
660
+ .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket iframe {
661
+ height: 100%;
662
+ }
663
+ .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-toolstrip {
664
+ display: none;
665
+ }
666
+ /*
667
+ Note, that if you don't include this (::-webkit-file-upload-button), the toolbar width gets
668
+ increased and the whole body becomes scrollable. It's important!
669
+ */
670
+ input[type="file"]::-webkit-file-upload-button {
671
+ display: none;
672
+ }
673
+ @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
674
+ .tinymce-mobile-ios-container .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon {
675
+ bottom: 50%;
676
+ }
677
+ }