alchemy_cms 4.0.6 → 4.1.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +1 -0
  3. data/.gitignore +1 -0
  4. data/.localeapp/config.rb +8 -0
  5. data/.rubocop.yml +26 -13
  6. data/.travis.yml +12 -14
  7. data/CHANGELOG.md +5 -24
  8. data/Gemfile +10 -7
  9. data/README.md +16 -14
  10. data/Rakefile +1 -1
  11. data/alchemy_cms.gemspec +6 -7
  12. data/app/assets/images/alchemy/alchemy-logo.png +0 -0
  13. data/app/assets/images/alchemy/alchemy-logo.svg +1 -70
  14. data/app/assets/images/alchemy/favicon.ico +0 -0
  15. data/app/assets/images/alchemy/icon.svg +1 -14
  16. data/app/assets/javascripts/alchemy/admin.js +0 -7
  17. data/app/assets/javascripts/alchemy/alchemy.base.js.coffee +2 -2
  18. data/app/assets/javascripts/alchemy/alchemy.buttons.js.coffee +1 -1
  19. data/app/assets/javascripts/alchemy/alchemy.confirm_dialog.js.coffee +1 -1
  20. data/app/assets/javascripts/alchemy/alchemy.datepicker.js.coffee +1 -0
  21. data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +19 -6
  22. data/app/assets/javascripts/alchemy/alchemy.dirty.js.coffee +2 -7
  23. data/app/assets/javascripts/alchemy/alchemy.element_editors.js.coffee +36 -26
  24. data/app/assets/javascripts/alchemy/alchemy.elements_window.js.coffee +6 -15
  25. data/app/assets/javascripts/alchemy/alchemy.file_progress.js.coffee +1 -1
  26. data/app/assets/javascripts/alchemy/alchemy.growler.js.coffee +8 -11
  27. data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +4 -1
  28. data/app/assets/javascripts/alchemy/alchemy.image_overlay.coffee +1 -1
  29. data/app/assets/javascripts/alchemy/alchemy.initializer.js.coffee +5 -14
  30. data/app/assets/javascripts/alchemy/alchemy.preview.js.coffee +54 -75
  31. data/app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee +4 -13
  32. data/app/assets/javascripts/alchemy/alchemy.sitemap.js.coffee +1 -0
  33. data/app/assets/javascripts/alchemy/alchemy.tinymce.js.coffee +12 -6
  34. data/app/assets/javascripts/alchemy/alchemy.translations.js.coffee +0 -158
  35. data/app/assets/stylesheets/alchemy/_defaults.scss +0 -2
  36. data/app/assets/stylesheets/alchemy/_extends.scss +13 -18
  37. data/app/assets/stylesheets/alchemy/_mixins.scss +72 -46
  38. data/app/assets/stylesheets/alchemy/_variables.scss +128 -59
  39. data/app/assets/stylesheets/alchemy/admin.scss +7 -1
  40. data/app/assets/stylesheets/alchemy/archive.scss +23 -27
  41. data/app/assets/stylesheets/alchemy/base.scss +5 -355
  42. data/app/assets/stylesheets/alchemy/buttons.scss +23 -60
  43. data/app/assets/stylesheets/alchemy/clipboard.scss +26 -0
  44. data/app/assets/stylesheets/alchemy/dashboard.scss +7 -40
  45. data/app/assets/stylesheets/alchemy/dialogs.scss +23 -36
  46. data/app/assets/stylesheets/alchemy/elements.scss +80 -156
  47. data/app/assets/stylesheets/alchemy/errors.scss +2 -2
  48. data/app/assets/stylesheets/alchemy/flash.scss +19 -10
  49. data/app/assets/stylesheets/alchemy/fonts.scss +13 -0
  50. data/app/assets/stylesheets/alchemy/forms.scss +6 -1
  51. data/app/assets/stylesheets/alchemy/frame.scss +24 -65
  52. data/app/assets/stylesheets/alchemy/hints.scss +2 -2
  53. data/app/assets/stylesheets/alchemy/icons.scss +3 -337
  54. data/app/assets/stylesheets/alchemy/image_library.scss +9 -10
  55. data/app/assets/stylesheets/alchemy/jquery-ui.scss +21 -839
  56. data/app/assets/stylesheets/alchemy/jquery.datetimepicker.scss +32 -57
  57. data/app/assets/stylesheets/alchemy/lists.scss +4 -8
  58. data/app/assets/stylesheets/alchemy/menubar.scss +26 -29
  59. data/app/assets/stylesheets/alchemy/navigation.scss +23 -25
  60. data/app/assets/stylesheets/alchemy/notices.scss +25 -25
  61. data/app/assets/stylesheets/alchemy/pagination.scss +12 -7
  62. data/app/assets/stylesheets/alchemy/preview_window.scss +20 -0
  63. data/app/assets/stylesheets/alchemy/resource_info.scss +1 -1
  64. data/app/assets/stylesheets/alchemy/search.scss +19 -15
  65. data/app/assets/stylesheets/alchemy/selects.scss +63 -32
  66. data/app/assets/stylesheets/alchemy/sitemap.scss +70 -148
  67. data/app/assets/stylesheets/alchemy/tables.scss +16 -59
  68. data/app/assets/stylesheets/alchemy/toolbar.scss +9 -36
  69. data/app/assets/stylesheets/alchemy/trash.scss +8 -0
  70. data/app/assets/stylesheets/alchemy/upload.scss +5 -6
  71. data/app/assets/stylesheets/tinymce/skins/alchemy/content.min.css.scss +1 -0
  72. data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +78 -43
  73. data/app/controllers/alchemy/admin/attachments_controller.rb +6 -6
  74. data/app/controllers/alchemy/admin/base_controller.rb +9 -9
  75. data/app/controllers/alchemy/admin/contents_controller.rb +0 -17
  76. data/app/controllers/alchemy/admin/elements_controller.rb +1 -4
  77. data/app/controllers/alchemy/admin/essence_files_controller.rb +1 -3
  78. data/app/controllers/alchemy/admin/essence_pictures_controller.rb +1 -3
  79. data/app/controllers/alchemy/admin/languages_controller.rb +1 -1
  80. data/app/controllers/alchemy/admin/pictures_controller.rb +5 -5
  81. data/app/controllers/alchemy/admin/resources_controller.rb +10 -10
  82. data/app/controllers/alchemy/admin/tags_controller.rb +7 -7
  83. data/app/controllers/alchemy/api/contents_controller.rb +6 -1
  84. data/app/controllers/alchemy/api/elements_controller.rb +5 -1
  85. data/app/controllers/alchemy/api/pages_controller.rb +6 -1
  86. data/app/controllers/alchemy/base_controller.rb +5 -3
  87. data/app/controllers/alchemy/pages_controller.rb +1 -1
  88. data/app/helpers/alchemy/admin/base_helper.rb +14 -15
  89. data/app/helpers/alchemy/admin/contents_helper.rb +1 -2
  90. data/app/helpers/alchemy/admin/elements_helper.rb +7 -6
  91. data/app/helpers/alchemy/admin/tags_helper.rb +3 -4
  92. data/app/helpers/alchemy/base_helper.rb +35 -5
  93. data/app/helpers/alchemy/elements_helper.rb +2 -2
  94. data/app/helpers/alchemy/pages_helper.rb +4 -2
  95. data/app/models/alchemy/attachment.rb +14 -23
  96. data/app/models/alchemy/base_record.rb +13 -0
  97. data/app/models/alchemy/cell.rb +1 -1
  98. data/app/models/alchemy/content.rb +1 -2
  99. data/app/models/alchemy/content/factory.rb +1 -1
  100. data/app/models/alchemy/element.rb +10 -12
  101. data/app/models/alchemy/essence_boolean.rb +1 -1
  102. data/app/models/alchemy/essence_date.rb +2 -2
  103. data/app/models/alchemy/essence_file.rb +1 -1
  104. data/app/models/alchemy/essence_html.rb +1 -1
  105. data/app/models/alchemy/essence_link.rb +1 -1
  106. data/app/models/alchemy/essence_picture.rb +1 -1
  107. data/app/models/alchemy/essence_richtext.rb +1 -1
  108. data/app/models/alchemy/essence_select.rb +1 -1
  109. data/app/models/alchemy/essence_text.rb +1 -1
  110. data/app/models/alchemy/folded_page.rb +1 -1
  111. data/app/models/alchemy/language.rb +21 -5
  112. data/app/models/alchemy/page.rb +17 -5
  113. data/app/models/alchemy/page/page_elements.rb +14 -2
  114. data/app/models/alchemy/page/page_naming.rb +17 -4
  115. data/app/models/alchemy/picture.rb +4 -7
  116. data/app/models/alchemy/site.rb +3 -3
  117. data/app/models/alchemy/tag.rb +3 -3
  118. data/app/models/concerns/alchemy/content_touching.rb +23 -0
  119. data/app/serializers/alchemy/element_serializer.rb +2 -0
  120. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +1 -1
  121. data/app/views/alchemy/admin/attachments/_attachment.html.erb +11 -21
  122. data/app/views/alchemy/admin/attachments/_files_list.html.erb +26 -29
  123. data/app/views/alchemy/admin/attachments/_filter_bar.html.erb +2 -3
  124. data/app/views/alchemy/admin/attachments/_overlay_file_list.html.erb +3 -4
  125. data/app/views/alchemy/admin/attachments/_replace_button.html.erb +2 -3
  126. data/app/views/alchemy/admin/attachments/_tag_list.html.erb +3 -3
  127. data/app/views/alchemy/admin/attachments/destroy.js.erb +1 -1
  128. data/app/views/alchemy/admin/attachments/edit.html.erb +2 -2
  129. data/app/views/alchemy/admin/attachments/index.html.erb +3 -2
  130. data/app/views/alchemy/admin/attachments/show.html.erb +7 -8
  131. data/app/views/alchemy/admin/clipboard/clear.js.erb +1 -1
  132. data/app/views/alchemy/admin/clipboard/index.html.erb +23 -7
  133. data/app/views/alchemy/admin/clipboard/insert.js.erb +1 -1
  134. data/app/views/alchemy/admin/clipboard/remove.js.erb +2 -2
  135. data/app/views/alchemy/admin/contents/create.js.erb +1 -1
  136. data/app/views/alchemy/admin/dashboard/_locked_pages.html.erb +9 -6
  137. data/app/views/alchemy/admin/dashboard/_recent_pages.html.erb +6 -4
  138. data/app/views/alchemy/admin/dashboard/_sites.html.erb +4 -2
  139. data/app/views/alchemy/admin/dashboard/_users.html.erb +6 -4
  140. data/app/views/alchemy/admin/dashboard/index.html.erb +3 -3
  141. data/app/views/alchemy/admin/dashboard/info.html.erb +6 -7
  142. data/app/views/alchemy/admin/elements/_add_picture.html.erb +1 -1
  143. data/app/views/alchemy/admin/elements/_element.html.erb +1 -1
  144. data/app/views/alchemy/admin/elements/_element_header.html.erb +14 -14
  145. data/app/views/alchemy/admin/elements/_element_toolbar.html.erb +3 -3
  146. data/app/views/alchemy/admin/elements/_new_element_form.html.erb +2 -3
  147. data/app/views/alchemy/admin/elements/index.html.erb +2 -4
  148. data/app/views/alchemy/admin/elements/new.html.erb +1 -2
  149. data/app/views/alchemy/admin/elements/publish.js.erb +5 -5
  150. data/app/views/alchemy/admin/languages/_language.html.erb +4 -9
  151. data/app/views/alchemy/admin/languages/_table.html.erb +1 -1
  152. data/app/views/alchemy/admin/languages/index.html.erb +1 -1
  153. data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +5 -5
  154. data/app/views/alchemy/admin/layoutpages/index.html.erb +5 -4
  155. data/app/views/alchemy/admin/leave.html.erb +1 -1
  156. data/app/views/alchemy/admin/legacy_page_urls/_legacy_page_url.html.erb +1 -1
  157. data/app/views/alchemy/admin/legacy_page_urls/_new.html.erb +1 -1
  158. data/app/views/alchemy/admin/pages/_form.html.erb +1 -1
  159. data/app/views/alchemy/admin/pages/_locked_page.html.erb +1 -1
  160. data/app/views/alchemy/admin/pages/_page.html.erb +31 -23
  161. data/app/views/alchemy/admin/pages/_page_for_links.html.erb +5 -5
  162. data/app/views/alchemy/admin/pages/_page_infos.html.erb +3 -3
  163. data/app/views/alchemy/admin/pages/_publication_fields.html.erb +1 -1
  164. data/app/views/alchemy/admin/pages/edit.html.erb +22 -21
  165. data/app/views/alchemy/admin/pages/index.html.erb +5 -21
  166. data/app/views/alchemy/admin/pages/info.html.erb +5 -5
  167. data/app/views/alchemy/admin/pages/sort.html.erb +1 -1
  168. data/app/views/alchemy/admin/pages/unlock.js.erb +2 -4
  169. data/app/views/alchemy/admin/partials/_flash.html.erb +1 -1
  170. data/app/views/alchemy/admin/partials/_main_navigation_entry.html.erb +7 -3
  171. data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +2 -2
  172. data/app/views/alchemy/admin/partials/_search_form.html.erb +3 -3
  173. data/app/views/alchemy/admin/pictures/_archive.html.erb +19 -17
  174. data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +1 -1
  175. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +13 -13
  176. data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +2 -3
  177. data/app/views/alchemy/admin/pictures/_form.html.erb +3 -3
  178. data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +2 -3
  179. data/app/views/alchemy/admin/pictures/_picture.html.erb +7 -7
  180. data/app/views/alchemy/admin/pictures/_tag_list.html.erb +3 -3
  181. data/app/views/alchemy/admin/pictures/edit_multiple.html.erb +6 -7
  182. data/app/views/alchemy/admin/pictures/index.html.erb +12 -12
  183. data/app/views/alchemy/admin/pictures/index.js.erb +0 -1
  184. data/app/views/alchemy/admin/pictures/show.html.erb +9 -9
  185. data/app/views/alchemy/admin/resources/_filter_bar.html.erb +2 -3
  186. data/app/views/alchemy/admin/resources/_form.html.erb +10 -2
  187. data/app/views/alchemy/admin/resources/_resource.html.erb +9 -14
  188. data/app/views/alchemy/admin/resources/_table.html.erb +1 -1
  189. data/app/views/alchemy/admin/resources/_tag_list.html.erb +4 -4
  190. data/app/views/alchemy/admin/resources/index.html.erb +2 -3
  191. data/app/views/alchemy/admin/sites/index.html.erb +1 -1
  192. data/app/views/alchemy/admin/tags/_tag.html.erb +7 -11
  193. data/app/views/alchemy/admin/tags/index.html.erb +4 -4
  194. data/app/views/alchemy/admin/trash/index.html.erb +2 -3
  195. data/app/views/alchemy/admin/uploader/_button.html.erb +1 -2
  196. data/app/views/alchemy/base/500.html.erb +1 -1
  197. data/app/views/alchemy/base/permission_denied.js.erb +1 -1
  198. data/app/views/alchemy/base/redirect.js.erb +1 -2
  199. data/app/views/alchemy/elements/_editor_not_found.html.erb +2 -3
  200. data/app/views/alchemy/essences/_essence_date_editor.html.erb +1 -1
  201. data/app/views/alchemy/essences/_essence_file_editor.html.erb +7 -11
  202. data/app/views/alchemy/essences/_essence_picture_editor.html.erb +9 -7
  203. data/app/views/alchemy/essences/shared/_essence_picture_tools.html.erb +1 -1
  204. data/app/views/alchemy/pages/_meta_data.html.erb +1 -1
  205. data/app/views/kaminari/alchemy/_first_page.html.erb +7 -3
  206. data/app/views/kaminari/alchemy/_gap.html.erb +1 -1
  207. data/app/views/kaminari/alchemy/_last_page.html.erb +7 -3
  208. data/app/views/kaminari/alchemy/_next_page.html.erb +4 -2
  209. data/app/views/kaminari/alchemy/_page.html.erb +1 -1
  210. data/app/views/kaminari/alchemy/_prev_page.html.erb +4 -2
  211. data/app/views/layouts/alchemy/admin.html.erb +8 -6
  212. data/bin/rails +2 -2
  213. data/bin/rspec +1 -1
  214. data/config/alchemy/config.yml +0 -2
  215. data/config/alchemy/modules.yml +5 -5
  216. data/config/initializers/simple_form.rb +45 -8
  217. data/config/locales/alchemy.en.yml +66 -179
  218. data/config/routes.rb +1 -1
  219. data/db/migrate/20180226123013_alchemy_four_point_zero.rb +392 -0
  220. data/db/migrate/20180227224537_migrate_tags_to_gutentag.rb +41 -0
  221. data/lib/alchemy/config.rb +0 -2
  222. data/lib/alchemy/engine.rb +5 -9
  223. data/lib/alchemy/essence.rb +6 -6
  224. data/lib/alchemy/filetypes.rb +13 -1
  225. data/lib/alchemy/forms/builder.rb +5 -3
  226. data/lib/alchemy/i18n.rb +8 -6
  227. data/lib/alchemy/modules.rb +1 -1
  228. data/lib/alchemy/name_conversions.rb +0 -2
  229. data/lib/alchemy/page_layout.rb +3 -2
  230. data/lib/alchemy/paths.rb +5 -5
  231. data/lib/alchemy/resource.rb +9 -9
  232. data/lib/alchemy/resources_helper.rb +11 -15
  233. data/lib/alchemy/routing_constraints.rb +2 -2
  234. data/lib/alchemy/shell.rb +0 -1
  235. data/lib/alchemy/taggable.rb +40 -0
  236. data/lib/alchemy/tasks/tidy.rb +1 -9
  237. data/lib/alchemy/test_support/factories/content_factory.rb +10 -0
  238. data/lib/alchemy/test_support/factories/element_factory.rb +5 -0
  239. data/lib/alchemy/test_support/shared_contexts.rb +1 -1
  240. data/lib/alchemy/tinymce.rb +2 -2
  241. data/lib/alchemy/upgrader/four_point_one.rb +42 -0
  242. data/lib/alchemy/upgrader/tasks/harden_acts_as_taggable_on_migrations.rb +27 -0
  243. data/lib/alchemy/version.rb +1 -1
  244. data/lib/alchemy_cms.rb +2 -3
  245. data/lib/rails/generators/alchemy/elements/elements_generator.rb +2 -2
  246. data/lib/rails/generators/alchemy/essence/essence_generator.rb +1 -1
  247. data/lib/rails/generators/alchemy/install/install_generator.rb +4 -8
  248. data/lib/rails/generators/alchemy/module/module_generator.rb +1 -1
  249. data/lib/rails/generators/alchemy/page_layouts/page_layouts_generator.rb +2 -2
  250. data/lib/rails/generators/alchemy/site_layouts/site_layouts_generator.rb +2 -2
  251. data/lib/rails/generators/alchemy/views/views_generator.rb +1 -1
  252. data/lib/tasks/alchemy/db.rake +2 -1
  253. data/lib/tasks/alchemy/tidy.rake +0 -6
  254. data/lib/tasks/alchemy/upgrade.rake +11 -144
  255. data/vendor/assets/fonts/fa-regular-400.eot +0 -0
  256. data/vendor/assets/fonts/fa-regular-400.svg +363 -0
  257. data/vendor/assets/fonts/fa-regular-400.ttf +0 -0
  258. data/vendor/assets/fonts/fa-regular-400.woff +0 -0
  259. data/vendor/assets/fonts/fa-regular-400.woff2 +0 -0
  260. data/vendor/assets/fonts/fa-solid-900.eot +0 -0
  261. data/vendor/assets/fonts/fa-solid-900.svg +1413 -0
  262. data/vendor/assets/fonts/fa-solid-900.ttf +0 -0
  263. data/vendor/assets/fonts/fa-solid-900.woff +0 -0
  264. data/vendor/assets/fonts/fa-solid-900.woff2 +0 -0
  265. data/vendor/assets/javascripts/tinymce/license.txt +6 -6
  266. data/vendor/assets/javascripts/tinymce/tinymce.min.js +2 -15
  267. data/vendor/assets/stylesheets/fontawesome/_animated.scss +20 -0
  268. data/vendor/assets/stylesheets/fontawesome/_bordered-pulled.scss +20 -0
  269. data/vendor/assets/stylesheets/fontawesome/_core.scss +16 -0
  270. data/vendor/assets/stylesheets/fontawesome/_fixed-width.scss +6 -0
  271. data/vendor/assets/stylesheets/fontawesome/_icons.scss +792 -0
  272. data/vendor/assets/stylesheets/fontawesome/_larger.scss +23 -0
  273. data/vendor/assets/stylesheets/fontawesome/_list.scss +18 -0
  274. data/vendor/assets/stylesheets/fontawesome/_mixins.scss +57 -0
  275. data/vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss +23 -0
  276. data/vendor/assets/stylesheets/fontawesome/_screen-reader.scss +5 -0
  277. data/vendor/assets/stylesheets/fontawesome/_stacked.scss +31 -0
  278. data/vendor/assets/stylesheets/fontawesome/_variables.scss +805 -0
  279. data/vendor/assets/stylesheets/fontawesome/fa-regular.scss +22 -0
  280. data/vendor/assets/stylesheets/fontawesome/fa-solid.scss +23 -0
  281. data/vendor/assets/stylesheets/fontawesome/fontawesome.scss +16 -0
  282. metadata +78 -112
  283. data/app/assets/fonts/alchemy/icons.eot +0 -0
  284. data/app/assets/fonts/alchemy/icons.svg +0 -33
  285. data/app/assets/fonts/alchemy/icons.ttf +0 -0
  286. data/app/assets/fonts/alchemy/icons.woff +0 -0
  287. data/app/assets/images/alchemy/icons.png +0 -0
  288. data/app/assets/images/alchemy/ui-icons_666666_256x240.png +0 -0
  289. data/app/assets/images/sassy-ie-overlay.png +0 -0
  290. data/app/assets/javascripts/alchemy/alchemy.jquery_loader.js +0 -42
  291. data/app/assets/stylesheets/alchemy/icon-font.scss +0 -75
  292. data/app/assets/stylesheets/alchemy/modules.scss +0 -27
  293. data/app/models/alchemy.rb +0 -7
  294. data/app/views/alchemy/admin/contents/destroy.js.erb +0 -4
  295. data/app/views/alchemy/admin/pictures/flush.js.erb +0 -2
  296. data/config/locales/alchemy.de.yml +0 -932
  297. data/config/locales/alchemy.es.yml +0 -960
  298. data/config/locales/alchemy.fr.yml +0 -938
  299. data/config/locales/alchemy.it.yml +0 -938
  300. data/config/locales/alchemy.nl.yml +0 -918
  301. data/config/locales/alchemy.ru.yml +0 -830
  302. data/config/locales/simple_form.de.yml +0 -26
  303. data/config/locales/simple_form.en.yml +0 -25
  304. data/config/locales/simple_form.es.yml +0 -6
  305. data/config/locales/simple_form.fr.yml +0 -26
  306. data/config/locales/simple_form.it.yml +0 -25
  307. data/config/locales/simple_form.nl.yml +0 -25
  308. data/config/locales/simple_form.ru.yml +0 -25
  309. data/db/migrate/20130827094554_alchemy_two_point_six.rb +0 -378
  310. data/db/migrate/20130828121054_remove_do_not_index_from_alchemy_essence_texts.rb +0 -5
  311. data/db/migrate/20130828121120_remove_do_not_index_from_alchemy_essence_richtexts.rb +0 -5
  312. data/db/migrate/20130918201742_add_published_at_to_alchemy_pages.rb +0 -5
  313. data/db/migrate/20150608204610_add_parent_element_id_to_alchemy_elements.rb +0 -6
  314. data/db/migrate/20150729151825_add_link_text_to_alchemy_essence_files.rb +0 -5
  315. data/db/migrate/20150906195818_add_locale_to_alchemy_languages.rb +0 -7
  316. data/db/migrate/20160108174834_add_timebased_publishing_columns_to_pages.rb +0 -32
  317. data/db/migrate/20160422195310_add_image_file_format_to_alchemy_pictures.rb +0 -9
  318. data/db/migrate/20160617224938_change_alchemy_pages_locked_to_locked_at.rb +0 -22
  319. data/db/migrate/20160912223112_add_index_to_alchemy_pages_rgt.rb +0 -9
  320. data/db/migrate/20160927205604_add_foreign_key_indices_and_null_constraints.rb +0 -20
  321. data/db/migrate/20160928080104_add_foreign_keys.rb +0 -27
  322. data/lib/alchemy/touching.rb +0 -42
  323. data/lib/alchemy/upgrader/tasks/available_contents_upgrader.rb +0 -161
  324. data/lib/alchemy/upgrader/tasks/install_asset_manifests.rb +0 -15
  325. data/lib/alchemy/upgrader/tasks/install_dragonfly_config.rb +0 -14
  326. data/lib/alchemy/upgrader/tasks/nestable_elements_migration.rb +0 -71
  327. data/lib/alchemy/upgrader/tasks/three_point_two_task.rb +0 -31
  328. data/lib/alchemy/upgrader/three_point_five.rb +0 -32
  329. data/lib/alchemy/upgrader/three_point_four.rb +0 -52
  330. data/lib/alchemy/upgrader/three_point_one.rb +0 -54
  331. data/lib/alchemy/upgrader/three_point_three.rb +0 -50
  332. data/lib/alchemy/upgrader/three_point_two.rb +0 -40
  333. data/lib/alchemy/upgrader/three_point_zero.rb +0 -92
  334. data/vendor/assets/javascripts/jquery_plugins/jquery.floatThead.min.js +0 -3
  335. data/vendor/assets/javascripts/tinymce/langs/de.js +0 -219
  336. data/vendor/assets/javascripts/tinymce/langs/es.js +0 -219
  337. data/vendor/assets/javascripts/tinymce/langs/fr.js +0 -219
  338. data/vendor/assets/javascripts/tinymce/langs/it.js +0 -219
  339. data/vendor/assets/javascripts/tinymce/langs/nl.js +0 -219
  340. data/vendor/assets/javascripts/tinymce/langs/ru.js +0 -219
@@ -2,34 +2,31 @@ button, input[type="submit"], a.button, input.button {
2
2
  @include button-defaults;
3
3
  position: relative;
4
4
 
5
+ &.secondary {
6
+ background-color: $secondary-button-bg-color;
7
+ color: $secondary-button-text-color;
8
+ border-color: $secondary-button-border-color;
9
+ }
10
+
5
11
  &.small {
6
12
  padding: $default-padding 3*$default-padding;
7
13
  vertical-align: inherit;
8
14
  line-height: 4*$default-padding;
9
15
  font-size: inherit;
10
-
11
- &.with_icon {
12
- padding: $default-padding 3*$default-padding $default-padding 6px;
13
- }
14
16
  }
15
17
 
16
- &.with_icon {
17
- padding: 6px 18px 6px 6px;
18
-
19
- span.icon {
20
- margin-top: -$default-margin;
21
- margin-right: $default-margin;
22
- height: 14px;
23
- }
18
+ &.with_icon .icon {
19
+ position: relative;
20
+ top: -1px;
21
+ margin-right: $default-margin;
22
+ color: inherit;
24
23
  }
25
24
 
26
25
  &.icon_only {
27
26
  margin: 0;
28
27
  padding: 0;
29
28
  border: 0 none;
30
- box-shadow: none;
31
29
  background: none;
32
- border-radius: 0;
33
30
 
34
31
  .icon {
35
32
  margin: 0;
@@ -50,23 +47,8 @@ button, input[type="submit"], a.button, input.button {
50
47
  padding: 3px;
51
48
  overflow: hidden;
52
49
  text-align: center;
53
-
54
- .icon {
55
- display: inline-block;
56
- vertical-align: middle;
57
- margin-top: -2px;
58
- }
59
-
60
- .old_icon {
61
- position: relative;
62
- background-repeat: no-repeat;
63
- width: 22px;
64
- height: 20px;
65
- display: inline-block;
66
- vertical-align: middle;
67
- top: -1px;
68
- left: -1px;
69
- }
50
+ text-shadow: none;
51
+ border-radius: $default-border-radius;
70
52
 
71
53
  img {
72
54
  position: absolute;
@@ -85,37 +67,19 @@ button, input[type="submit"], a.button, input.button {
85
67
  top: 0px;
86
68
  background: none;
87
69
  border: none;
88
- box-shadow: none;
89
70
 
90
71
  .icon {
91
72
  position: absolute;
92
73
  top: 50%;
93
- height: 8px;
94
74
  transform: translateX(-50%) translateY(-50%);
95
-
96
- &:before {
97
- line-height: 10px;
98
- }
99
-
100
- &.delete-small {
101
- background-position: -4px -76px;
102
- }
75
+ transition: color 250ms;
103
76
  }
104
77
 
105
78
  &:hover {
106
- border: $default-border-width $default-border-style $button-hover-border-color;
107
- border-radius: $default-border-radius;
108
- background: $button-hover-bg-color;
109
- }
110
- }
111
-
112
- &.old_icon {
113
- width: 20px;
114
- height: 19px;
79
+ border: $default-border-width $default-border-style $icon-color;
80
+ color: $icon-color;
115
81
 
116
- img {
117
- top: 0;
118
- left: 1px;
82
+ .icon { color: inherit }
119
83
  }
120
84
  }
121
85
 
@@ -143,7 +107,6 @@ button, input[type="submit"], a.button, input.button {
143
107
  button.icon_button {
144
108
  background: transparent;
145
109
  border: 0 none;
146
- border-radius: 0;
147
110
  box-shadow: none;
148
111
 
149
112
  &:disabled, &.disabled {
@@ -169,14 +132,14 @@ button.icon_button {
169
132
  background-color: darken($white, 10%);
170
133
  border: $default-border;
171
134
  padding: 2px;
172
- @extend %rounded-border;
135
+ border-radius: $default-border-radius;
173
136
  }
174
137
  }
175
138
 
176
139
  &:hover .icon_button {
177
140
  border: $default-border;
178
141
  padding: 2px;
179
- @extend %rounded-border;
142
+ border-radius: $default-border-radius;
180
143
  cursor: pointer;
181
144
 
182
145
  &:focus {
@@ -215,15 +178,15 @@ button.icon_button {
215
178
  }
216
179
 
217
180
  label {
218
- @extend %rounded-border;
181
+ border-radius: $default-border-radius;
219
182
  position: absolute;
220
183
  visibility: hidden;
221
184
  top: -20px;
222
185
  left: 50%;
223
186
  margin-left: -13px;
224
187
  z-index: 30;
225
- background: $dark-gray;
226
- color: #fff;
188
+ background-color: $tooltip-background-color;
189
+ color: $white;
227
190
  padding: $default-padding 2*$default-padding;
228
191
  line-height: 1;
229
192
  box-shadow: 0 0 4px $default-border-color;
@@ -238,7 +201,7 @@ button.icon_button {
238
201
  bottom: -10px;
239
202
  left: 8px;
240
203
  border: 5px transparent solid;
241
- border-top-color: $dark-gray;
204
+ border-top-color: $tooltip-background-color;
242
205
  }
243
206
 
244
207
  &.center {
@@ -0,0 +1,26 @@
1
+ #clipboard_items {
2
+
3
+ ul {
4
+ list-style-type: none;
5
+ margin: 0 0 8px;
6
+ padding: 0;
7
+ height: 220px;
8
+ overflow-y: auto;
9
+ overflow-x: hidden;
10
+
11
+ li {
12
+ padding: 2*$default-padding;
13
+ border: $default-border;
14
+ background-color: white;
15
+ border-radius: $default-border-radius;
16
+
17
+ &.elements {
18
+ background-color: $medium-gray;
19
+ }
20
+
21
+ > .icon {
22
+ margin-right: $default-padding;
23
+ }
24
+ }
25
+ }
26
+ }
@@ -1,32 +1,26 @@
1
1
  #dashboard {
2
2
  overflow: auto;
3
- padding: 4*$default-padding 2*$default-padding;
3
+ padding: 4*$default-padding 0;
4
4
  width: 100%;
5
5
  position: relative;
6
6
 
7
7
  h1 {
8
- font-size: 2em;
9
- margin: 0 0 8px 0;
8
+ font-size: 1.5em;
9
+ margin: 0 0 8px 8px;
10
10
  }
11
11
 
12
- h2 {
13
- padding: 0;
14
- margin-bottom: 16px;
12
+ p {
13
+ margin: 0 0 16px 8px;
15
14
  }
16
15
 
17
- div.column {
16
+ .column {
18
17
  width: 50%;
19
18
  float: left;
20
19
  padding-right: 16px;
21
20
  }
22
21
 
23
- div.widget {
24
- width: 100%;
22
+ .widget {
25
23
  margin-bottom: 16px;
26
- background-color: $medium-gray;
27
- border: $default-border;
28
- @extend .top-rounded-border;
29
- float: left;
30
24
 
31
25
  h2 {
32
26
  padding: 2 * $default-padding;
@@ -38,43 +32,16 @@
38
32
  }
39
33
 
40
34
  table {
41
- width: 100%;
42
- padding: 0;
43
- border-spacing: 0;
44
-
45
35
  td {
46
- padding: 2 * $default-padding;
47
- margin-bottom: 0;
48
36
  position: relative;
49
- color: #aaa;
50
37
 
51
38
  &:first-child { width: 40% }
52
39
  form { float: right }
53
- span { color: #333 }
54
40
  }
55
41
  }
56
42
  }
57
43
  }
58
44
 
59
- div#sideboard {
60
- right: 16px;
61
- top: 82px;
62
- position: absolute;
63
- width: 240px;
64
- padding: 16px;
65
-
66
- div.sideboard_widget img {
67
- margin-bottom: 16px;
68
- float: none;
69
- }
70
- }
71
-
72
- div#license {
73
- overflow: auto;
74
- height: 24em;
75
- background-color: white;
76
- }
77
-
78
45
  #update_check {
79
46
  height: 16px;
80
47
 
@@ -1,3 +1,5 @@
1
+ $dialog-transition-duration: 150ms;
2
+
1
3
  .alchemy-image-overlay-container,
2
4
  .alchemy-dialog-container {
3
5
  position: fixed;
@@ -10,7 +12,10 @@
10
12
  text-align: center;
11
13
  white-space: nowrap;
12
14
  opacity: 0;
13
- transition: opacity 200ms linear;
15
+ transform: scale(0.98);
16
+ transition-property: transform, opacity;
17
+ transition-duration: $dialog-transition-duration;
18
+ transition-timing-function: ease-in;
14
19
 
15
20
  // vertical aligment
16
21
  &:before {
@@ -24,6 +29,7 @@
24
29
 
25
30
  &.open {
26
31
  opacity: 1;
32
+ transform: scale(1);
27
33
  }
28
34
  }
29
35
 
@@ -36,7 +42,7 @@
36
42
  width: 100%;
37
43
  height: 100%;
38
44
  background-color: rgba(0, 0, 0, 0.0);
39
- transition: background-color 200ms linear;
45
+ transition: background-color $dialog-transition-duration linear;
40
46
 
41
47
  &.closable {
42
48
  cursor: pointer;
@@ -46,7 +52,7 @@
46
52
  .alchemy-dialog-overlay {
47
53
 
48
54
  &.open {
49
- background-color: rgba(0, 0, 0, 0.4);
55
+ background-color: rgba($dialog-overlay-color, $dialog-overlay-opacity);
50
56
  }
51
57
  }
52
58
 
@@ -61,15 +67,10 @@
61
67
 
62
68
  .alchemy-dialog {
63
69
  white-space: normal;
64
- background-color: $light-gray;
65
70
  margin: 2*$default-margin;
66
71
  @include border-top-radius($default-border-radius);
67
- box-shadow: 0 0 2px rgba(#000,0.8);
68
- transition: min-height 200ms ease-in-out;
69
-
70
- &.modal {
71
- box-shadow: 0 0 4px #666;
72
- }
72
+ box-shadow: $dialog-box-shadow;
73
+ transition: min-height $dialog-transition-duration ease-in-out;
73
74
 
74
75
  div#jscropper {
75
76
  padding: 2 * $default-padding;
@@ -125,10 +126,10 @@
125
126
  height: $dialog-header-height;
126
127
  padding: 0 2*$default-padding;
127
128
  line-height: $dialog-header-height;
128
- background: $header-color;
129
- color: $header-text-color;
129
+ background: $dialog-header-color;
130
+ color: $dialog-header-text-color;
130
131
  font-weight: normal;
131
- font-size: $header-font-size;
132
+ font-size: $dialog-header-font-size;
132
133
  @include border-top-radius($default-border-radius);
133
134
 
134
135
  .ui-draggable & {
@@ -143,6 +144,7 @@
143
144
  white-space: nowrap;
144
145
  overflow: hidden;
145
146
  text-overflow: ellipsis;
147
+ @include antialiased-font-smoothing;
146
148
  }
147
149
 
148
150
  .alchemy-image-overlay-close,
@@ -150,11 +152,6 @@
150
152
  position: absolute;
151
153
  z-index: 1;
152
154
  cursor: pointer;
153
-
154
- .icon.close.small {
155
- line-height: 1;
156
- vertical-align: text-top;
157
- }
158
155
  }
159
156
 
160
157
  .alchemy-dialog-close {
@@ -163,13 +160,14 @@
163
160
  padding: 0 $default-padding;
164
161
  color: inherit;
165
162
 
166
- .icon.close.small {
167
- font-size: 16px;
163
+ .icon {
164
+ color: inherit;
168
165
  }
169
166
  }
170
167
 
171
168
  .alchemy-dialog-body {
172
169
  position: relative;
170
+ background-color: $dialog-background-color;
173
171
  color: $text-color;
174
172
 
175
173
  .message {
@@ -184,18 +182,6 @@
184
182
  }
185
183
  }
186
184
 
187
- ul#sitemap ul li span.sitemap_sitename {
188
-
189
- &.selected_page a {
190
- font-weight: bold;
191
- padding-left: 4px;
192
- }
193
-
194
- a:hover {
195
- font-weight: bold;
196
- }
197
- }
198
-
199
185
  .buttons {
200
186
  text-align: right;
201
187
 
@@ -207,10 +193,7 @@
207
193
  }
208
194
 
209
195
  .alchemy-dialog-buttons {
210
- float: left;
211
- clear: both;
212
- width: 100%;
213
- padding: 4*$default-padding 0;
196
+ padding-top: 4*$default-padding;
214
197
  text-align: right;
215
198
 
216
199
  button:first-child {
@@ -224,4 +207,8 @@
224
207
  .ui-tabs-panel {
225
208
  padding: 4*$default-padding;
226
209
  }
210
+
211
+ .ui-tabs.ui-corner-all {
212
+ border-radius: 0;
213
+ }
227
214
  }
@@ -1,14 +1,22 @@
1
1
  #alchemy_elements_window {
2
2
  position: absolute;
3
3
  right: 0;
4
- top: 73px;
5
- width: 400px;
6
- height: auto;
4
+ top: $top-menu-height;
5
+ z-index: 20;
6
+ width: $elements-window-width;
7
+ height: calc(100vh - #{$top-menu-height});
7
8
  border-left: $default-border;
9
+ background-color: $light-gray;
8
10
  transition: 200ms ease-in-out;
11
+ transform: translate3d($elements-window-width - $default-border-width, 0, 0);
12
+
13
+ .elements-window-visible & {
14
+ transform: translate3d(0, 0, 0);
15
+ }
9
16
  }
10
17
 
11
18
  #element_area {
19
+ height: calc(100vh - #{$top-menu-height + $toolbar-height});
12
20
  overflow-x: hidden;
13
21
  overflow-y: auto;
14
22
 
@@ -39,13 +47,13 @@
39
47
  }
40
48
 
41
49
  .preview_text_quote {
42
- font-size: 10px;
50
+ font-size: $small-font-size;
43
51
  line-height: 15px;
44
52
  }
45
53
  }
46
54
 
47
55
  .preview_text_element_name {
48
- font-size: 10px;
56
+ font-size: $small-font-size;
49
57
  text-shadow: #efefef 1px 1px 1px;
50
58
  font-weight: bold;
51
59
  line-height: 15px;
@@ -64,18 +72,8 @@
64
72
 
65
73
  .element.icon {
66
74
  position: absolute;
67
- top: 0;
68
- left: 0;
69
- }
70
-
71
- .icon {
72
- position: absolute;
73
- right: 0;
74
- bottom: 0;
75
-
76
- &.element_dirty {
77
- background-position: -160px -166px;
78
- }
75
+ top: 3px;
76
+ left: 1px;
79
77
  }
80
78
  }
81
79
 
@@ -88,7 +86,7 @@
88
86
  width: 16px;
89
87
  height: 16px;
90
88
  right: 8px;
91
- top: 8px;
89
+ top: 10px;
92
90
 
93
91
  .error_icon {
94
92
  float: left;
@@ -106,7 +104,7 @@
106
104
  margin: 1px;
107
105
  width: 119px;
108
106
  border: 1px solid #c0c0c0;
109
- @extend %rounded-border;
107
+ border-radius: $default-border-radius;
110
108
  height: 123px;
111
109
 
112
110
  a {
@@ -117,10 +115,8 @@
117
115
  text-decoration: none;
118
116
  overflow: hidden;
119
117
  text-align: center;
120
- font-weight: bold;
121
118
  line-height: 104px;
122
- @extend %rounded-border;
123
- font-size: 40px;
119
+ border-radius: $default-border-radius;
124
120
  background-color: $light-gray;
125
121
 
126
122
  &:hover {
@@ -128,21 +124,21 @@
128
124
  }
129
125
 
130
126
  .icon {
131
- font-size: 30px;
132
- width: 30px;
133
- height: 30px;
127
+ font-size: 1.5em;
134
128
  position: absolute;
135
- top: 48px;
136
- left: 44px;
129
+ top: 50%;
130
+ left: 50%;
131
+ transform: translate(-50%, -50%);
137
132
  }
138
133
  }
139
134
  }
140
135
 
141
136
  .element-editor {
142
137
  border: 1px solid $default-border-color;
143
- @extend %rounded-border;
138
+ border-radius: $default-border-radius;
144
139
  background-color: $light-gray;
145
140
  margin-bottom: 2*$default-margin;
141
+ transition: box-shadow 250ms;
146
142
 
147
143
  &.not-draggable {
148
144
  opacity: 0.5;
@@ -157,8 +153,8 @@
157
153
  }
158
154
 
159
155
  &.selected {
160
- border-color: $blue;
161
- box-shadow: 0 0 4px $blue;
156
+ border-color: #c3c3c3;
157
+ box-shadow: 0 2px 8px rgba(#9b9b9b, 0.75);
162
158
  }
163
159
 
164
160
  &.folded {
@@ -191,7 +187,7 @@
191
187
  float: left;
192
188
  margin-top: 8px;
193
189
  margin-bottom: 4px;
194
- font-size: 10px;
190
+ font-size: $small-font-size;
195
191
  text-align: left;
196
192
  }
197
193
 
@@ -209,7 +205,7 @@
209
205
  line-height: 21px;
210
206
  background-color: #f5dea9;
211
207
  margin-top: 4px;
212
- @extend %rounded-border;
208
+ border-radius: $default-border-radius;
213
209
 
214
210
  .icon.warning {
215
211
  position: relative;
@@ -223,7 +219,7 @@
223
219
  padding: $default-padding 0;
224
220
 
225
221
  label {
226
- font-size: 10px;
222
+ font-size: $small-font-size;
227
223
  }
228
224
 
229
225
  .select2-container {
@@ -250,14 +246,15 @@
250
246
  .element-header {
251
247
  position: relative;
252
248
  padding: 2*$default-padding;
253
- background-color: $medium-gray;
249
+ background-color: $element-header-bg-color;
254
250
  @extend .disable-user-select;
255
251
  cursor: pointer;
252
+ @include border-top-radius($default-border-radius);
256
253
 
257
254
  > .hint-with-icon {
258
255
  position: absolute;
259
256
  right: 32px;
260
- top: 8px;
257
+ top: 10px;
261
258
 
262
259
  .hint-bubble {
263
260
  left: auto;
@@ -276,7 +273,7 @@
276
273
  .element-toolbar {
277
274
  padding: $default-padding 0;
278
275
  height: $element-toolbar-height;
279
- background-color: #f0f0f0;
276
+ // background-color: #f0f0f0;
280
277
 
281
278
  .element_tools {
282
279
  float: left;
@@ -299,11 +296,11 @@
299
296
  overflow: hidden;
300
297
  margin: $default-margin 0;
301
298
  border: 1px solid $default-border-color;
302
- @extend %rounded-border;
299
+ border-radius: $default-border-radius;
303
300
  background-color: $medium-gray;
304
301
  padding: 1px;
305
302
 
306
- .essence_picture_editor {
303
+ .essence_picture {
307
304
  margin: 1px;
308
305
  float: left;
309
306
  height: 126px;
@@ -331,16 +328,23 @@
331
328
  right: 0;
332
329
 
333
330
  .icon_button {
334
- @include button-defaults;
335
- width: 29px;
336
- height: 28px;
331
+ @include button-defaults(
332
+ $background-color: $medium-gray,
333
+ $hover-color: darken($medium-gray, 5%),
334
+ $border: $default-border);
335
+ width: $form-field-height;
336
+ height: $form-field-height;
337
337
  margin: 0 0 0 4px;
338
338
  padding: 2px;
339
339
  position: absolute;
340
- bottom: 3px;
340
+ bottom: 2px;
341
341
  right: 28px;
342
342
  border-radius: 0;
343
343
 
344
+ &.disabled, &.disabled:hover {
345
+ background-color: $form-field-disabled-bg-color;
346
+ }
347
+
344
348
  &.link-essence,
345
349
  &.unlink-essence {
346
350
  border: 1px solid #c0c0c0;
@@ -361,25 +365,6 @@
361
365
  }
362
366
  }
363
367
 
364
- .expand_element,
365
- .fold_element {
366
- background-image: image-url('alchemy/icons.png');
367
- background-repeat: no-repeat;
368
- height: 16px;
369
- width: 16px;
370
- text-decoration: none;
371
- display: block;
372
- margin: 1px;
373
- }
374
-
375
- .expand_element {
376
- background-position: -160px -72px;
377
- }
378
-
379
- .fold_element {
380
- background-position: -192px -72px;
381
- }
382
-
383
368
  .droppable_element_placeholder {
384
369
  height: 36px;
385
370
  border: 1px dotted $button-border-color;
@@ -390,43 +375,31 @@
390
375
 
391
376
  .edit_images_bottom {
392
377
  position: absolute;
378
+ display: flex;
379
+ justify-content: space-between;
393
380
  left: 0;
394
381
  bottom: 0;
395
382
  z-index: 0;
396
- width: inherit;
397
- padding: $default-padding;
398
-
399
- > a, > span.icon {
400
- float: left;
401
- margin: 0 $default-margin/2;
402
- width: 18px;
403
- height: 18px;
404
- }
383
+ padding: $default-padding $default-padding/2;
405
384
 
406
385
  a {
386
+ margin: 0 $default-padding/2;
387
+ padding: $default-padding/2;
388
+ cursor: pointer;
407
389
 
408
390
  &.linked {
409
- position: relative;
410
- @extend %rounded-border;
391
+ border-radius: $default-border-radius;
411
392
  background-color: $linked-color;
412
- border: 1px solid $button-border-color;
413
- bottom: 1px;
414
- margin-right: 2px;
415
- width: 18px;
416
- height: 18px;
417
- margin-left: 0;
418
-
419
- .icon { margin-left: 1px }
420
393
  }
421
- }
422
394
 
423
- a.disabled, > span.icon {
424
- opacity: 0.3;
425
- cursor: default;
395
+ &.disabled {
396
+ opacity: 0.3;
397
+ cursor: default;
398
+ }
426
399
  }
427
400
  }
428
401
 
429
- .essence_picture_editor {
402
+ .essence_picture {
430
403
  position: relative;
431
404
 
432
405
  .picture_tool_delete {
@@ -456,10 +429,8 @@
456
429
  border-color: $error_border_color
457
430
  }
458
431
 
459
- .thumbnail_background.missing:before {
460
- font-family: 'Alchemy Icons';
461
- @extend .icon-pictures:before;
462
- font-size: 48px;
432
+ .thumbnail_background .icon {
433
+ font-size: 4em;
463
434
  color: $medium-gray;
464
435
  vertical-align: top;
465
436
  }
@@ -472,7 +443,7 @@
472
443
  background-color: white;
473
444
  background-color: rgba(255, 254, 255, 0.7);
474
445
  padding: 4px 8px;
475
- font-size: 10px;
446
+ font-size: $small-font-size;
476
447
  text-align: right;
477
448
  height: 12px;
478
449
  overflow: hidden;
@@ -504,8 +475,8 @@
504
475
  margin: 6px 0 $default-margin;
505
476
  border: $default-border;
506
477
  background-color: $white;
507
- @extend %rounded-border;
508
- height: $default-form-field-height;
478
+ border-radius: $default-border-radius;
479
+ height: $form-field-height;
509
480
 
510
481
  .validation_failed & {
511
482
  color: $error_text_color;
@@ -514,18 +485,11 @@
514
485
  }
515
486
 
516
487
  .file_icon {
488
+ display: inline-block;
517
489
  text-align: center;
518
490
  float: left;
519
- line-height: 25px;
520
491
  width: 24px;
521
-
522
- .icon {
523
- margin: $default-margin;
524
- }
525
-
526
- .assign_file {
527
- background-position: -480px -40px;
528
- }
492
+ padding: 6px 4px;
529
493
  }
530
494
 
531
495
  .file_name {
@@ -533,8 +497,8 @@
533
497
  overflow: hidden;
534
498
  float: left;
535
499
  max-width: 80%;
536
- line-height: $default-form-field-height;
537
- font-size: 10px;
500
+ line-height: 28px;
501
+ font-size: $small-font-size;
538
502
  text-overflow: ellipsis;
539
503
  }
540
504
  }
@@ -548,18 +512,8 @@
548
512
 
549
513
  a {
550
514
  text-decoration: none;
551
- width: 16px;
552
- height: 16px;
553
- margin: 5px $default-margin;
515
+ padding: 6px $default-margin;
554
516
  float: left;
555
-
556
- &.assign_file {
557
- background: image-url('alchemy/icons.png') -512px -40px;
558
- }
559
-
560
- &.edit_file {
561
- background: image-url('alchemy/icons.png') -160px -167px;
562
- }
563
517
  }
564
518
  }
565
519
 
@@ -603,12 +557,6 @@ select.long {
603
557
  width: 70%;
604
558
  }
605
559
 
606
- .icon.warning {
607
- vertical-align: text-bottom;
608
- margin-left: 2px;
609
- margin-right: 6px;
610
- }
611
-
612
560
  .button {
613
561
  float: right;
614
562
  margin: 0;
@@ -637,10 +585,9 @@ select.long {
637
585
  }
638
586
 
639
587
  label {
640
- display: block;
588
+ display: inline-block;
641
589
  margin-bottom: 2px;
642
- font-size: 10px;
643
- text-shadow: #fff5e1 1px 1px 0;
590
+ font-size: $small-font-size;
644
591
  line-height: 15px;
645
592
  text-indent: 1px;
646
593
 
@@ -655,24 +602,6 @@ select.long {
655
602
  min-width: 90px;
656
603
  margin-right: 4px;
657
604
  }
658
-
659
- a.icon_button.small {
660
- width: 10px;
661
- height: 10px;
662
- display: none;
663
-
664
- .icon {
665
- top: 1px;
666
- right: 1px;
667
- }
668
-
669
- &:hover {
670
-
671
- .icon {
672
- right: 2px;
673
- }
674
- }
675
- }
676
605
  }
677
606
 
678
607
  &.essence_select {
@@ -688,16 +617,11 @@ select.long {
688
617
  }
689
618
  }
690
619
 
691
- &:hover label a.icon_button.small {
692
- display: inline-block;
693
- vertical-align: middle;
694
- }
695
-
696
620
  select.essence_editor_select {
697
- @extend %rounded-border;
621
+ border-radius: $default-border-radius;
698
622
  background: white;
699
623
  border: 1px solid $button-border-color;
700
- font-size: 11px;
624
+ font-size: $default-font-size;
701
625
  height: 21px;
702
626
  line-height: 21px;
703
627
  padding: 2px;
@@ -720,7 +644,7 @@ select.long {
720
644
  }
721
645
  }
722
646
 
723
- &.essence_picture_editor {
647
+ &.essence_picture {
724
648
  float: none;
725
649
  height: auto;
726
650
  display: inline-block;
@@ -742,9 +666,9 @@ textarea.has_tinymce {
742
666
  }
743
667
 
744
668
  .essence_html_editor textarea {
745
- font-family: $mono-font-face;
669
+ font-family: $mono-font-family;
746
670
  resize: vertical;
747
- font-size: 11px;
671
+ font-size: $form-field-font-size;
748
672
  }
749
673
 
750
674
  .text_short_float_left {
@@ -761,7 +685,7 @@ textarea.has_tinymce {
761
685
  background-color: $error_background_color;
762
686
  padding: 2*$default-padding;
763
687
  list-style-type: none;
764
- @extend %rounded-border;
688
+ border-radius: $default-border-radius;
765
689
  color: $error_text_color;
766
690
  border: 1px solid $error_border_color;
767
691
 
@@ -773,8 +697,8 @@ textarea.has_tinymce {
773
697
 
774
698
  .content_editor .hint-with-icon,
775
699
  .content_editor .with-hint,
776
- .element-handle .warning {
777
- margin-left: 0;
700
+ .element-handle .hint-with-icon {
701
+ margin: 0;
778
702
 
779
703
  > .hint-bubble {
780
704
  left: -7px;
@@ -786,7 +710,7 @@ textarea.has_tinymce {
786
710
  }
787
711
  }
788
712
 
789
- .content_editor .hint-with-icon {
713
+ .element-handle .hint-with-icon {
790
714
  top: -1px;
791
715
  }
792
716
 
@@ -818,5 +742,5 @@ textarea.has_tinymce {
818
742
  .essence_date--label {
819
743
  position: absolute;
820
744
  right: 5px;
821
- top: 31px;
745
+ top: 35px;
822
746
  }