alchemy_cms 2.1.12 → 2.2.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (405) hide show
  1. data/.travis.yml +1 -1
  2. data/Gemfile +20 -16
  3. data/README.md +11 -7
  4. data/alchemy_cms.gemspec +31 -29
  5. data/app/assets/javascripts/alchemy/alchemy.base.js +234 -233
  6. data/app/assets/javascripts/alchemy/alchemy.buttons.js +26 -26
  7. data/app/assets/javascripts/alchemy/alchemy.datepicker.js +32 -32
  8. data/app/assets/javascripts/alchemy/alchemy.dirty.js +78 -78
  9. data/app/assets/javascripts/alchemy/alchemy.dragndrop.js +103 -103
  10. data/app/assets/javascripts/alchemy/alchemy.element_editor_selector.js +84 -84
  11. data/app/assets/javascripts/alchemy/alchemy.elements_window.js +88 -88
  12. data/app/assets/javascripts/alchemy/alchemy.file_progress.js +92 -0
  13. data/app/assets/javascripts/alchemy/alchemy.growler.js +23 -23
  14. data/app/assets/javascripts/alchemy/alchemy.html5.js +23 -0
  15. data/app/assets/javascripts/alchemy/alchemy.image_cropper.js +53 -52
  16. data/app/assets/javascripts/alchemy/alchemy.jquery_loader.js +33 -30
  17. data/app/assets/javascripts/alchemy/alchemy.js +2 -0
  18. data/app/assets/javascripts/alchemy/alchemy.js_extensions.js +14 -14
  19. data/app/assets/javascripts/alchemy/alchemy.link_overlay.js.coffee +181 -0
  20. data/app/assets/javascripts/alchemy/alchemy.menubar.js +48 -48
  21. data/app/assets/javascripts/alchemy/alchemy.page_sorter.js +39 -39
  22. data/app/assets/javascripts/alchemy/alchemy.preview.js +81 -83
  23. data/app/assets/javascripts/alchemy/alchemy.preview_window.js +86 -86
  24. data/app/assets/javascripts/alchemy/alchemy.routes.js.erb +23 -23
  25. data/app/assets/javascripts/alchemy/alchemy.swf_upload.js +208 -353
  26. data/app/assets/javascripts/alchemy/alchemy.uploader.js +279 -0
  27. data/app/assets/javascripts/alchemy/alchemy.windows.js +268 -268
  28. data/app/assets/javascripts/tiny_mce/plugins/alchemy_link/editor_plugin.js +42 -42
  29. data/app/assets/stylesheets/alchemy/_defaults.scss +89 -89
  30. data/app/assets/stylesheets/alchemy/base.css.scss +790 -804
  31. data/app/assets/stylesheets/alchemy/buttons.css.scss +263 -264
  32. data/app/assets/stylesheets/alchemy/dashboard.css.scss +66 -66
  33. data/app/assets/stylesheets/alchemy/elements.css.scss +575 -564
  34. data/app/assets/stylesheets/alchemy/flash.css.scss +45 -45
  35. data/app/assets/stylesheets/alchemy/frame.css.scss +262 -262
  36. data/app/assets/stylesheets/alchemy/icons.css.scss +86 -86
  37. data/app/assets/stylesheets/alchemy/jquery-ui.alchemy.css.scss +706 -707
  38. data/app/assets/stylesheets/alchemy/jquery.Jcrop.css.scss +46 -27
  39. data/app/assets/stylesheets/alchemy/jquery.sb.css.scss +107 -107
  40. data/app/assets/stylesheets/alchemy/login.css.scss +40 -38
  41. data/app/assets/stylesheets/alchemy/menubar.css.scss +84 -82
  42. data/app/assets/stylesheets/alchemy/modules.css.scss +9 -9
  43. data/app/assets/stylesheets/alchemy/pagination.css.scss +49 -49
  44. data/app/assets/stylesheets/alchemy/print.css +7 -7
  45. data/app/assets/stylesheets/alchemy/sitemap.css.scss +185 -154
  46. data/app/assets/stylesheets/alchemy/standard_set.css +205 -206
  47. data/app/assets/stylesheets/alchemy/tables.css.scss +94 -60
  48. data/app/assets/stylesheets/alchemy/tinymce_content.css.scss +34 -34
  49. data/app/assets/stylesheets/alchemy/tinymce_dialog.css.scss +177 -177
  50. data/app/assets/stylesheets/alchemy/upload.css.scss +68 -45
  51. data/app/assets/stylesheets/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css.scss +222 -221
  52. data/app/controllers/alchemy/admin/attachments_controller.rb +100 -100
  53. data/app/controllers/alchemy/admin/base_controller.rb +116 -116
  54. data/app/controllers/alchemy/admin/clipboard_controller.rb +44 -44
  55. data/app/controllers/alchemy/admin/contents_controller.rb +55 -55
  56. data/app/controllers/alchemy/admin/dashboard_controller.rb +12 -11
  57. data/app/controllers/alchemy/admin/elements_controller.rb +109 -109
  58. data/app/controllers/alchemy/admin/essence_audios_controller.rb +8 -8
  59. data/app/controllers/alchemy/admin/essence_files_controller.rb +20 -20
  60. data/app/controllers/alchemy/admin/essence_flashes_controller.rb +8 -8
  61. data/app/controllers/alchemy/admin/essence_pictures_controller.rb +81 -81
  62. data/app/controllers/alchemy/admin/essence_videos_controller.rb +8 -8
  63. data/app/controllers/alchemy/admin/languages_controller.rb +16 -4
  64. data/app/controllers/alchemy/admin/layoutpages_controller.rb +9 -9
  65. data/app/controllers/alchemy/admin/pages_controller.rb +249 -248
  66. data/app/controllers/alchemy/admin/pictures_controller.rb +105 -105
  67. data/app/controllers/alchemy/admin/resources_controller.rb +111 -166
  68. data/app/controllers/alchemy/admin/trash_controller.rb +18 -18
  69. data/app/controllers/alchemy/admin/users_controller.rb +69 -69
  70. data/app/controllers/alchemy/attachments_controller.rb +27 -27
  71. data/app/controllers/alchemy/base_controller.rb +159 -155
  72. data/app/controllers/alchemy/elements_controller.rb +16 -16
  73. data/app/controllers/alchemy/messages_controller.rb +59 -59
  74. data/app/controllers/alchemy/pages_controller.rb +194 -198
  75. data/app/controllers/alchemy/pictures_controller.rb +57 -57
  76. data/app/controllers/alchemy/user_sessions_controller.rb +70 -70
  77. data/app/helpers/alchemy/admin/attachments_helper.rb +7 -7
  78. data/app/helpers/alchemy/admin/base_helper.rb +425 -425
  79. data/app/helpers/alchemy/admin/contents_helper.rb +72 -72
  80. data/app/helpers/alchemy/admin/elements_helper.rb +108 -107
  81. data/app/helpers/alchemy/admin/essences_helper.rb +108 -108
  82. data/app/helpers/alchemy/admin/pages_helper.rb +42 -42
  83. data/app/helpers/alchemy/admin/pictures_helper.rb +26 -26
  84. data/app/helpers/alchemy/base_helper.rb +90 -90
  85. data/app/helpers/alchemy/elements_helper.rb +167 -168
  86. data/app/helpers/alchemy/essences_helper.rb +133 -133
  87. data/app/helpers/alchemy/pages_helper.rb +515 -526
  88. data/app/helpers/alchemy/pictures_helper.rb +19 -0
  89. data/app/mailers/alchemy/messages.rb +13 -13
  90. data/app/mailers/alchemy/notifications.rb +19 -19
  91. data/app/models/alchemy.rb +3 -3
  92. data/app/models/alchemy/attachment.rb +52 -78
  93. data/app/models/alchemy/cell.rb +48 -48
  94. data/app/models/alchemy/content.rb +196 -196
  95. data/app/models/alchemy/element.rb +500 -490
  96. data/app/models/alchemy/essence_audio.rb +7 -7
  97. data/app/models/alchemy/essence_date.rb +10 -10
  98. data/app/models/alchemy/essence_file.rb +7 -7
  99. data/app/models/alchemy/essence_flash.rb +6 -6
  100. data/app/models/alchemy/essence_html.rb +9 -9
  101. data/app/models/alchemy/essence_picture.rb +17 -17
  102. data/app/models/alchemy/essence_richtext.rb +53 -53
  103. data/app/models/alchemy/essence_text.rb +21 -21
  104. data/app/models/alchemy/essence_video.rb +7 -7
  105. data/app/models/alchemy/folded_page.rb +3 -3
  106. data/app/models/alchemy/language.rb +91 -91
  107. data/app/models/alchemy/language/code.rb +14 -14
  108. data/app/models/alchemy/message.rb +48 -45
  109. data/app/models/alchemy/page.rb +555 -558
  110. data/app/models/alchemy/picture.rb +100 -99
  111. data/app/models/alchemy/user.rb +76 -74
  112. data/app/models/alchemy/user_session.rb +8 -8
  113. data/app/sweepers/alchemy/content_sweeper.rb +15 -15
  114. data/app/sweepers/alchemy/pages_sweeper.rb +50 -50
  115. data/app/sweepers/alchemy/pictures_sweeper.rb +14 -14
  116. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +23 -23
  117. data/app/views/alchemy/admin/attachments/_attachment.html.erb +56 -56
  118. data/app/views/alchemy/admin/attachments/_file_to_assign.html.erb +15 -15
  119. data/app/views/alchemy/admin/attachments/_files_list.html.erb +16 -16
  120. data/app/views/alchemy/admin/attachments/create.js.erb +2 -2
  121. data/app/views/alchemy/admin/attachments/destroy.js.erb +3 -3
  122. data/app/views/alchemy/admin/attachments/edit.html.erb +10 -10
  123. data/app/views/alchemy/admin/attachments/index.html.erb +14 -14
  124. data/app/views/alchemy/admin/attachments/new.html.erb +9 -9
  125. data/app/views/alchemy/admin/clipboard/index.html.erb +21 -21
  126. data/app/views/alchemy/admin/clipboard/insert.js.erb +5 -5
  127. data/app/views/alchemy/admin/contents/_missing.html.erb +1 -1
  128. data/app/views/alchemy/admin/contents/create.js.erb +33 -33
  129. data/app/views/alchemy/admin/contents/destroy.js.erb +5 -5
  130. data/app/views/alchemy/admin/contents/new.html.erb +13 -13
  131. data/app/views/alchemy/admin/contents/order.js.erb +2 -2
  132. data/app/views/alchemy/admin/dashboard/index.html.erb +96 -92
  133. data/app/views/alchemy/admin/elements/_add_content.html.erb +12 -12
  134. data/app/views/alchemy/admin/elements/_element.html.erb +3 -3
  135. data/app/views/alchemy/admin/elements/_new_element_form.html.erb +28 -28
  136. data/app/views/alchemy/admin/elements/_picture_editor.html.erb +21 -21
  137. data/app/views/alchemy/admin/elements/create.js.erb +32 -32
  138. data/app/views/alchemy/admin/elements/index.html.erb +2 -2
  139. data/app/views/alchemy/admin/elements/new.html.erb +31 -31
  140. data/app/views/alchemy/admin/elements/order.js.erb +3 -3
  141. data/app/views/alchemy/admin/elements/trash.js.erb +13 -13
  142. data/app/views/alchemy/admin/elements/update.js.erb +6 -6
  143. data/app/views/alchemy/admin/essence_files/assign.js.erb +6 -6
  144. data/app/views/alchemy/admin/essence_pictures/crop.html.erb +32 -32
  145. data/app/views/alchemy/admin/essence_pictures/destroy.js.erb +1 -1
  146. data/app/views/alchemy/admin/essence_pictures/edit.html.erb +1 -1
  147. data/app/views/alchemy/admin/essence_pictures/update.js.erb +11 -11
  148. data/app/views/alchemy/admin/languages/_form.html.erb +51 -45
  149. data/app/views/alchemy/admin/languages/_language.html.erb +45 -45
  150. data/app/views/alchemy/admin/languages/_table.html.erb +25 -25
  151. data/app/views/alchemy/admin/layoutpages/index.html.erb +35 -35
  152. data/app/views/alchemy/admin/pages/_create_language_form.html.erb +42 -42
  153. data/app/views/alchemy/admin/pages/_external_link.html.erb +1 -1
  154. data/app/views/alchemy/admin/pages/_new_page_form.html.erb +27 -27
  155. data/app/views/alchemy/admin/pages/_page.html.erb +112 -112
  156. data/app/views/alchemy/admin/pages/_sitemap.html.erb +1 -1
  157. data/app/views/alchemy/admin/pages/configure.html.erb +71 -69
  158. data/app/views/alchemy/admin/pages/configure_external.html.erb +38 -38
  159. data/app/views/alchemy/admin/pages/destroy.js.erb +10 -10
  160. data/app/views/alchemy/admin/pages/edit.html.erb +165 -165
  161. data/app/views/alchemy/admin/pages/fold.js.erb +2 -2
  162. data/app/views/alchemy/admin/pages/index.html.erb +66 -66
  163. data/app/views/alchemy/admin/pages/locked.html.erb +1 -1
  164. data/app/views/alchemy/admin/pages/new.html.erb +40 -40
  165. data/app/views/alchemy/admin/pages/sort.js.erb +4 -4
  166. data/app/views/alchemy/admin/pages/unlock.js.erb +6 -6
  167. data/app/views/alchemy/admin/pages/update.js.erb +19 -19
  168. data/app/views/alchemy/admin/partials/_flash.html.erb +2 -2
  169. data/app/views/alchemy/admin/partials/_flash_notices.html.erb +1 -1
  170. data/app/views/alchemy/admin/partials/_flash_upload.html.erb +38 -0
  171. data/app/views/alchemy/admin/partials/_language_tree_select.html.erb +15 -15
  172. data/app/views/alchemy/admin/partials/_main_navigation_entry.html.erb +8 -8
  173. data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +35 -35
  174. data/app/views/alchemy/admin/partials/_search_form.html.erb +14 -14
  175. data/app/views/alchemy/admin/partials/_sub_navigation_tab.html.erb +6 -6
  176. data/app/views/alchemy/admin/partials/_upload_form.html.erb +56 -118
  177. data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +11 -11
  178. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +71 -71
  179. data/app/views/alchemy/admin/pictures/_picture.html.erb +32 -32
  180. data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +26 -26
  181. data/app/views/alchemy/admin/pictures/_pictures_list.html.erb +6 -6
  182. data/app/views/alchemy/admin/pictures/create.js.erb +7 -7
  183. data/app/views/alchemy/admin/pictures/index.html.erb +67 -67
  184. data/app/views/alchemy/admin/pictures/show_in_window.html.erb +5 -4
  185. data/app/views/alchemy/admin/resources/_form.html.erb +25 -19
  186. data/app/views/alchemy/admin/resources/_resource.html.erb +37 -36
  187. data/app/views/alchemy/admin/resources/_table.html.erb +17 -17
  188. data/app/views/alchemy/admin/resources/destroy.js.erb +1 -1
  189. data/app/views/alchemy/admin/resources/index.html.erb +14 -14
  190. data/app/views/alchemy/admin/trash/index.html.erb +20 -20
  191. data/app/views/alchemy/admin/users/_table.html.erb +52 -52
  192. data/app/views/alchemy/admin/users/_user.html.erb +35 -36
  193. data/app/views/alchemy/admin/users/index.html.erb +26 -27
  194. data/app/views/alchemy/base/error_notice.html.erb +2 -2
  195. data/app/views/alchemy/base/update.js.erb +1 -1
  196. data/app/views/alchemy/elements/_contactform_view.html.erb +76 -76
  197. data/app/views/alchemy/elements/_download_view.html.erb +1 -1
  198. data/app/views/alchemy/elements/_editor_not_found.html.erb +3 -3
  199. data/app/views/alchemy/elements/_searchresult_view.html.erb +2 -2
  200. data/app/views/alchemy/elements/_sitemap_editor.html.erb +1 -1
  201. data/app/views/alchemy/essences/_essence_audio_view.html.erb +13 -13
  202. data/app/views/alchemy/essences/_essence_date_editor.html.erb +10 -10
  203. data/app/views/alchemy/essences/_essence_file_editor.html.erb +62 -62
  204. data/app/views/alchemy/essences/_essence_file_view.html.erb +8 -8
  205. data/app/views/alchemy/essences/_essence_flash_view.html.erb +19 -19
  206. data/app/views/alchemy/essences/_essence_html_editor.html.erb +6 -6
  207. data/app/views/alchemy/essences/_essence_picture_editor.html.erb +73 -73
  208. data/app/views/alchemy/essences/_essence_picture_view.html.erb +34 -34
  209. data/app/views/alchemy/essences/_essence_richtext_editor.html.erb +7 -7
  210. data/app/views/alchemy/essences/_essence_text_editor.html.erb +8 -8
  211. data/app/views/alchemy/navigation/_image_link.html.erb +12 -12
  212. data/app/views/alchemy/navigation/_link.html.erb +13 -13
  213. data/app/views/alchemy/navigation/_renderer.html.erb +17 -17
  214. data/app/views/alchemy/page_layouts/_layout_footer.html.erb +1 -1
  215. data/app/views/alchemy/page_layouts/_layout_header.html.erb +1 -1
  216. data/app/views/alchemy/pages/show.rss.builder +14 -14
  217. data/app/views/alchemy/search/_result.html.erb +7 -7
  218. data/app/views/alchemy/user_sessions/leave.html.erb +9 -9
  219. data/app/views/alchemy/user_sessions/login.html.erb +39 -39
  220. data/app/views/alchemy/user_sessions/logout.html.erb +1 -1
  221. data/app/views/layouts/alchemy/admin.html.erb +81 -81
  222. data/app/views/layouts/alchemy/login.html.erb +36 -36
  223. data/app/views/layouts/alchemy/pages.html.erb +48 -27
  224. data/bin/alchemy +136 -134
  225. data/config/alchemy/config.yml +13 -9
  226. data/config/locales/alchemy.de.yml +24 -30
  227. data/config/locales/alchemy.en.yml +11 -28
  228. data/config/routes.rb +146 -146
  229. data/db/migrate/20100607193638_create_essence_pictures.rb +3 -3
  230. data/db/migrate/20101109150312_alter_pages_visible_column_default.rb +1 -1
  231. data/db/migrate/20101109151812_create_languages.rb +3 -3
  232. data/db/migrate/20110115123343_remove_css_class_default_from_essence_pictures.rb +3 -3
  233. data/db/migrate/20110224105120_change_pages_visible_default.rb +3 -3
  234. data/db/migrate/20110228182659_remove_default_page_layout_from_pages.rb +2 -2
  235. data/db/migrate/20110414163140_remove_display_name_from_elements.rb +3 -3
  236. data/db/migrate/20110511100516_rename_essence_texts_title_to_link_title.rb +2 -2
  237. data/db/migrate/20110529130500_add_cell_id_to_elements.rb +3 -3
  238. data/db/migrate/20110530102804_change_pages_page_layout_column.rb +3 -3
  239. data/db/migrate/20110711142057_change_open_link_in_new_window_to_link_target.rb +1 -1
  240. data/db/migrate/20111116125112_namespace_alchemy_models.rb +21 -21
  241. data/lib/alchemy/auth_engine.rb +5 -5
  242. data/lib/alchemy/capistrano.rb +64 -64
  243. data/lib/alchemy/config.rb +47 -44
  244. data/lib/alchemy/engine.rb +41 -41
  245. data/lib/alchemy/essence.rb +50 -51
  246. data/lib/alchemy/i18n.rb +48 -48
  247. data/lib/alchemy/modules.rb +30 -30
  248. data/lib/alchemy/mount_point.rb +6 -6
  249. data/lib/alchemy/page_layout.rb +94 -93
  250. data/lib/alchemy/resource.rb +82 -0
  251. data/lib/alchemy/resources_helper.rb +56 -0
  252. data/lib/alchemy/scoped_pagination_url_helper.rb +8 -8
  253. data/lib/alchemy/seeder.rb +88 -88
  254. data/lib/alchemy/tinymce.rb +49 -49
  255. data/lib/alchemy/upgrader.rb +103 -103
  256. data/lib/alchemy/version.rb +1 -1
  257. data/lib/alchemy_cms.rb +26 -27
  258. data/lib/extensions/action_view.rb +1 -1
  259. data/lib/extensions/array.rb +3 -3
  260. data/lib/extensions/hash.rb +3 -3
  261. data/lib/middleware/flash_session_cookie.rb +1 -1
  262. data/lib/rails/generators/alchemy/deploy_script/deploy_script_generator.rb +24 -24
  263. data/lib/rails/generators/alchemy/elements/elements_generator.rb +7 -7
  264. data/lib/rails/generators/alchemy/elements/templates/view.html.erb +17 -17
  265. data/lib/rails/generators/alchemy/page_layouts/page_layouts_generator.rb +6 -6
  266. data/lib/rails/generators/alchemy/plugin/templates/authorization_rules.rb +8 -8
  267. data/lib/rails/generators/alchemy/scaffold/files/pages.html.erb +7 -7
  268. data/lib/rails/generators/alchemy/scaffold/scaffold_generator.rb +36 -36
  269. data/lib/rails/templates/alchemy.rb +1 -1
  270. data/lib/tasks/ferret.rake +2 -2
  271. data/lib/tasks/fleximage.rake +32 -32
  272. data/lib/tasks/install.rake +12 -12
  273. data/lib/tasks/upgrade.rake +4 -4
  274. data/spec/controllers/admin/clipboard_controller_spec.rb +43 -43
  275. data/spec/controllers/admin/contents_controller_spec.rb +22 -22
  276. data/spec/controllers/admin/elements_controller_spec.rb +13 -13
  277. data/spec/controllers/admin/languages_controller_spec.rb +31 -0
  278. data/spec/controllers/admin/pages_controller_spec.rb +10 -41
  279. data/spec/controllers/admin/resources_controller_spec.rb +19 -0
  280. data/spec/controllers/admin/trash_controller_spec.rb +11 -11
  281. data/spec/controllers/base_controller_spec.rb +46 -46
  282. data/spec/controllers/pages_controller_spec.rb +102 -92
  283. data/spec/dummy/app/controllers/admin/events_controller.rb +3 -0
  284. data/spec/dummy/app/controllers/errors_controller.rb +5 -0
  285. data/spec/dummy/app/models/event.rb +3 -0
  286. data/spec/dummy/config.ru +1 -1
  287. data/spec/dummy/config/application.rb +3 -0
  288. data/spec/dummy/config/authorization_rules.rb +7 -0
  289. data/spec/dummy/config/environments/development.rb +8 -1
  290. data/spec/dummy/config/environments/production.rb +1 -1
  291. data/spec/dummy/config/environments/test.rb +5 -2
  292. data/spec/dummy/config/routes.rb +9 -1
  293. data/spec/dummy/db/schema.rb +47 -35
  294. data/spec/dummy/public/404.html +19 -7
  295. data/spec/dummy/public/404.html.bak +26 -0
  296. data/spec/dummy/public/422.html +19 -7
  297. data/spec/dummy/public/500.html +19 -7
  298. data/spec/dummy/script/rails +2 -2
  299. data/spec/factories.rb +76 -76
  300. data/spec/helpers/admin/base_helper_spec.rb +21 -21
  301. data/spec/helpers/admin/contents_helper_spec.rb +14 -14
  302. data/spec/helpers/admin/elements_helper_spec.rb +40 -40
  303. data/spec/helpers/admin/essences_helper_spec.rb +7 -7
  304. data/spec/helpers/elements_helper_spec.rb +154 -154
  305. data/spec/helpers/essences_helper_spec.rb +10 -10
  306. data/spec/helpers/pages_helper_spec.rb +369 -372
  307. data/spec/helpers/pictures_helper_spec.rb +14 -0
  308. data/spec/helpers/url_helpers_spec.rb +29 -34
  309. data/spec/integration/admin/pages_controller_spec.rb +50 -50
  310. data/spec/integration/admin/resources_integration_spec.rb +100 -0
  311. data/spec/integration/navigation_spec.rb +1 -1
  312. data/spec/integration/pages_controller_spec.rb +205 -207
  313. data/spec/integration/security_spec.rb +47 -47
  314. data/spec/javascripts/alchemy/link_overlay_spec.js.coffee +42 -0
  315. data/spec/javascripts/alchemy_integration_spec.coffee +12 -0
  316. data/spec/javascripts/fixtures/select.html +3 -0
  317. data/spec/javascripts/helpers/.gitkeep +0 -0
  318. data/spec/javascripts/helpers/jasmine-jquery-1.3.1.js +289 -0
  319. data/spec/javascripts/helpers/mock-ajax.js +207 -0
  320. data/spec/javascripts/helpers/test_responses/test_responses.js +1 -0
  321. data/spec/javascripts/spec.css +3 -0
  322. data/spec/javascripts/spec.js +2 -0
  323. data/spec/libraries/resource_spec.rb +122 -0
  324. data/spec/libraries/resources_helper_spec.rb +105 -0
  325. data/spec/models/content_spec.rb +67 -67
  326. data/spec/models/element_spec.rb +133 -133
  327. data/spec/models/essence_picture_spec.rb +5 -5
  328. data/spec/models/essence_richtext_spec.rb +4 -4
  329. data/spec/models/language_spec.rb +89 -89
  330. data/spec/models/page_spec.rb +436 -506
  331. data/spec/models/picture_spec.rb +34 -34
  332. data/spec/models/user_spec.rb +2 -2
  333. data/spec/page_layout_spec.rb +24 -20
  334. data/spec/routing_spec.rb +253 -253
  335. data/spec/spec_helper.rb +51 -50
  336. data/spec/support/alchemy/controller_hacks.rb +25 -25
  337. data/spec/support/alchemy/specs_helpers.rb +25 -25
  338. data/spec/support/integration_spec_helper.rb +24 -0
  339. data/vendor/assets/javascripts/jquery_plugins/jquery.html5uploader.js +271 -0
  340. data/vendor/assets/javascripts/jquery_plugins/jquery.in-place-edit.js +86 -85
  341. data/vendor/assets/javascripts/jquery_plugins/jquery.ui.nestedSortable.js +380 -377
  342. data/vendor/assets/javascripts/jquery_plugins/jquery.ui.tabspaging.js +285 -279
  343. data/vendor/assets/javascripts/swfupload/SWFObject License.txt +3 -3
  344. data/vendor/assets/javascripts/swfupload/swfupload.cookies.js +47 -47
  345. data/vendor/assets/javascripts/swfupload/swfupload.js +612 -612
  346. data/vendor/assets/javascripts/swfupload/swfupload.queue.js +93 -93
  347. data/vendor/assets/javascripts/swfupload/swfupload.speed.js +337 -337
  348. data/vendor/assets/javascripts/swfupload/swfupload.swfobject.js +706 -102
  349. data/vendor/assets/javascripts/tiny_mce/license.txt +6 -6
  350. data/vendor/assets/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +97 -97
  351. data/vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/template.htm +386 -376
  352. data/vendor/assets/javascripts/tiny_mce/plugins/paste/js/pastetext.js +30 -30
  353. data/vendor/assets/javascripts/tiny_mce/plugins/paste/js/pasteword.js +45 -45
  354. data/vendor/assets/javascripts/tiny_mce/plugins/paste/pastetext.htm +20 -17
  355. data/vendor/assets/javascripts/tiny_mce/plugins/paste/pasteword.htm +12 -12
  356. data/vendor/assets/javascripts/tiny_mce/plugins/table/cell.htm +183 -173
  357. data/vendor/assets/javascripts/tiny_mce/plugins/table/css/cell.css +4 -4
  358. data/vendor/assets/javascripts/tiny_mce/plugins/table/css/row.css +7 -7
  359. data/vendor/assets/javascripts/tiny_mce/plugins/table/css/table.css +3 -3
  360. data/vendor/assets/javascripts/tiny_mce/plugins/table/js/cell.js +282 -280
  361. data/vendor/assets/javascripts/tiny_mce/plugins/table/js/merge_cells.js +15 -15
  362. data/vendor/assets/javascripts/tiny_mce/plugins/table/js/row.js +204 -204
  363. data/vendor/assets/javascripts/tiny_mce/plugins/table/js/table.js +435 -435
  364. data/vendor/assets/javascripts/tiny_mce/plugins/table/merge_cells.htm +24 -22
  365. data/vendor/assets/javascripts/tiny_mce/plugins/table/row.htm +144 -136
  366. data/vendor/assets/javascripts/tiny_mce/plugins/table/table.htm +184 -168
  367. data/vendor/assets/javascripts/tiny_mce/themes/advanced/about.htm +62 -46
  368. data/vendor/assets/javascripts/tiny_mce/themes/advanced/anchor.htm +17 -16
  369. data/vendor/assets/javascripts/tiny_mce/themes/advanced/charmap.htm +56 -47
  370. data/vendor/assets/javascripts/tiny_mce/themes/advanced/color_picker.htm +67 -54
  371. data/vendor/assets/javascripts/tiny_mce/themes/advanced/editor_template.js +852 -1
  372. data/vendor/assets/javascripts/tiny_mce/themes/advanced/image.htm +79 -69
  373. data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/about.js +48 -48
  374. data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/anchor.js +28 -28
  375. data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/charmap.js +317 -317
  376. data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/color_picker.js +248 -246
  377. data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/image.js +246 -246
  378. data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/link.js +146 -146
  379. data/vendor/assets/javascripts/tiny_mce/themes/advanced/js/source_editor.js +31 -31
  380. data/vendor/assets/javascripts/tiny_mce/themes/advanced/langs/de.js +1 -1
  381. data/vendor/assets/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +1 -1
  382. data/vendor/assets/javascripts/tiny_mce/themes/advanced/langs/en.js +1 -1
  383. data/vendor/assets/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +1 -1
  384. data/vendor/assets/javascripts/tiny_mce/themes/advanced/link.htm +53 -46
  385. data/vendor/assets/javascripts/tiny_mce/themes/advanced/shortcuts.htm +57 -45
  386. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/default/content.css +182 -47
  387. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +399 -92
  388. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +891 -187
  389. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/highcontrast/content.css +102 -24
  390. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +377 -78
  391. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css +452 -77
  392. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +167 -45
  393. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +399 -92
  394. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +890 -190
  395. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +33 -7
  396. data/vendor/assets/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +15 -4
  397. data/vendor/assets/javascripts/tiny_mce/themes/advanced/source_editor.htm +18 -15
  398. data/vendor/assets/javascripts/tiny_mce/utils/editable_selects.js +46 -46
  399. data/vendor/assets/javascripts/tiny_mce/utils/form_utils.js +124 -124
  400. data/vendor/assets/javascripts/tiny_mce/utils/mctabs.js +112 -112
  401. data/vendor/assets/javascripts/tiny_mce/utils/validate.js +213 -213
  402. metadata +102 -115
  403. data/app/assets/javascripts/alchemy/alchemy.link_overlay.js +0 -216
  404. data/lib/tasks/routes.rake +0 -29
  405. data/spec/integration/admin/resources_spec.rb +0 -19
@@ -1,43 +1,43 @@
1
- (function() {
2
- tinymce.PluginManager.requireLangPack('alchemy_link');
3
-
4
- tinymce.create('tinymce.plugins.alchemy_link', {
5
- init: function(ed, url) {
6
- ed.addButton('alchemy_link', {
7
- title: 'alchemy_link.link_button_title',
8
- label: '',
9
- 'class': 'alchemy_link',
10
- onclick: function() {
11
- ed.focus();
12
- Alchemy.LinkOverlay.open({
13
- node: ed.selection.getNode(),
14
- bookmark: ed.selection.getBookmark(),
15
- selection: ed.selection,
16
- editor: ed
17
- },
18
- (ed.settings.alchemy_link_overlay_width || 408));
19
- }
20
- });
21
- ed.onNodeChange.add(function(ed, cm, n, co) {
22
- // Activates the link button when the caret is placed in a anchor element
23
- cm.setActive('alchemy_link', n.nodeName == 'A');
24
- });
25
- },
26
-
27
- createControl: function(n, cm) {
28
- return null;
29
- },
30
-
31
- getInfo: function() {
32
- return {
33
- longname: 'Link overlay plugin for Alchemy',
34
- author: 'magic labs*',
35
- authorurl: 'http://magiclabs.de',
36
- infourl: 'http://alchemy-app.com',
37
- version: "0.3.2"
38
- };
39
- }
40
- });
41
-
42
- tinymce.PluginManager.add('alchemy_link', tinymce.plugins.alchemy_link);
1
+ (function () {
2
+ tinymce.PluginManager.requireLangPack('alchemy_link');
3
+
4
+ tinymce.create('tinymce.plugins.alchemy_link', {
5
+ init:function (ed, url) {
6
+ ed.addButton('alchemy_link', {
7
+ title:'alchemy_link.link_button_title',
8
+ label:'',
9
+ 'class':'alchemy_link',
10
+ onclick:function () {
11
+ ed.focus();
12
+ Alchemy.LinkOverlay.open({
13
+ node:ed.selection.getNode(),
14
+ bookmark:ed.selection.getBookmark(),
15
+ selection:ed.selection,
16
+ editor:ed
17
+ },
18
+ (ed.settings.alchemy_link_overlay_width || 408));
19
+ }
20
+ });
21
+ ed.onNodeChange.add(function (ed, cm, n, co) {
22
+ // Activates the link button when the caret is placed in a anchor element
23
+ cm.setActive('alchemy_link', n.nodeName == 'A');
24
+ });
25
+ },
26
+
27
+ createControl:function (n, cm) {
28
+ return null;
29
+ },
30
+
31
+ getInfo:function () {
32
+ return {
33
+ longname:'Link overlay plugin for Alchemy',
34
+ author:'magic labs*',
35
+ authorurl:'http://magiclabs.de',
36
+ infourl:'http://alchemy-app.com',
37
+ version:"0.3.2"
38
+ };
39
+ }
40
+ });
41
+
42
+ tinymce.PluginManager.add('alchemy_link', tinymce.plugins.alchemy_link);
43
43
  })();
@@ -19,25 +19,25 @@ $default-font-style: $default-font-size $default-font-face;
19
19
  $default-border: 1px solid #AFAFAF;
20
20
 
21
21
  @mixin button-styles {
22
- margin: 0;
23
- font: 11px $default-font-face;
24
- border: 1px solid $button-border-color;
25
- background-color: $button-bg-color;
26
- background-image: image-url('alchemy/shading.png');
27
- background-repeat: repeat-x;
28
- background-position: 0 -73px;
29
- cursor: pointer;
30
- color: $text-color;
31
- text-shadow: $button-text-shadow;
32
- @include rounded-corner;
22
+ margin: 0;
23
+ font: 11px $default-font-face;
24
+ border: 1px solid $button-border-color;
25
+ background-color: $button-bg-color;
26
+ background-image: image-url('alchemy/shading.png');
27
+ background-repeat: repeat-x;
28
+ background-position: 0 -73px;
29
+ cursor: pointer;
30
+ color: $text-color;
31
+ text-shadow: $button-text-shadow;
32
+ @include rounded-corner;
33
33
  }
34
34
 
35
35
  @mixin button-hover-styles {
36
- text-decoration: none;
37
- text-shadow: none;
38
- border: 1px solid $button-hover-border-color;
39
- background: $button-hover-bg-color image-url('alchemy/shading.png') repeat-x 50% -75px;
40
- font-weight: normal;
36
+ text-decoration: none;
37
+ text-shadow: none;
38
+ border: 1px solid $button-hover-border-color;
39
+ background: $button-hover-bg-color image-url('alchemy/shading.png') repeat-x 50% -75px;
40
+ font-weight: normal;
41
41
  }
42
42
 
43
43
  @mixin rounded-corner {
@@ -59,97 +59,97 @@ $default-border: 1px solid #AFAFAF;
59
59
  }
60
60
 
61
61
  @mixin top-rounded-border {
62
- $sidea: top-left;
63
- $sideb: top-right;
64
- $radius: 3px;
65
- border-#{$sidea}-radius: $radius;
66
- border-#{$sideb}-radius: $radius;
67
- -o-border-#{$sidea}-radius: $radius;
68
- -o-border-#{$sideb}-radius: $radius;
69
- -ms-border-#{$sidea}-radius: $radius;
70
- -ms-border-#{$sideb}-radius: $radius;
71
- -moz-border-radius-#{$sidea}: $radius;
72
- -moz-border-radius-#{$sideb}: $radius;
73
- -webkit-border-#{$sidea}-radius: $radius;
74
- -webkit-border-#{$sideb}-radius: $radius;
62
+ $sidea: top-left;
63
+ $sideb: top-right;
64
+ $radius: 3px;
65
+ border-#{$sidea}-radius: $radius;
66
+ border-#{$sideb}-radius: $radius;
67
+ -o-border-#{$sidea}-radius: $radius;
68
+ -o-border-#{$sideb}-radius: $radius;
69
+ -ms-border-#{$sidea}-radius: $radius;
70
+ -ms-border-#{$sideb}-radius: $radius;
71
+ -moz-border-radius-#{$sidea}: $radius;
72
+ -moz-border-radius-#{$sideb}: $radius;
73
+ -webkit-border-#{$sidea}-radius: $radius;
74
+ -webkit-border-#{$sideb}-radius: $radius;
75
75
  }
76
76
 
77
77
  @mixin left-rounded-border {
78
- $sidea: bottom-left;
79
- $sideb: top-left;
80
- $radius: 3px;
81
- border-#{$sidea}-radius: $radius;
82
- border-#{$sideb}-radius: $radius;
83
- -o-border-#{$sidea}-radius: $radius;
84
- -o-border-#{$sideb}-radius: $radius;
85
- -ms-border-#{$sidea}-radius: $radius;
86
- -ms-border-#{$sideb}-radius: $radius;
87
- -moz-border-radius-#{$sidea}: $radius;
88
- -moz-border-radius-#{$sideb}: $radius;
89
- -webkit-border-#{$sidea}-radius: $radius;
90
- -webkit-border-#{$sideb}-radius: $radius;
78
+ $sidea: bottom-left;
79
+ $sideb: top-left;
80
+ $radius: 3px;
81
+ border-#{$sidea}-radius: $radius;
82
+ border-#{$sideb}-radius: $radius;
83
+ -o-border-#{$sidea}-radius: $radius;
84
+ -o-border-#{$sideb}-radius: $radius;
85
+ -ms-border-#{$sidea}-radius: $radius;
86
+ -ms-border-#{$sideb}-radius: $radius;
87
+ -moz-border-radius-#{$sidea}: $radius;
88
+ -moz-border-radius-#{$sideb}: $radius;
89
+ -webkit-border-#{$sidea}-radius: $radius;
90
+ -webkit-border-#{$sideb}-radius: $radius;
91
91
  }
92
92
 
93
93
  @mixin right-rounded-border {
94
- $sidea: bottom-right;
95
- $sideb: top-right;
96
- $radius: 3px;
97
- border-#{$sidea}-radius: $radius;
98
- border-#{$sideb}-radius: $radius;
99
- -o-border-#{$sidea}-radius: $radius;
100
- -o-border-#{$sideb}-radius: $radius;
101
- -ms-border-#{$sidea}-radius: $radius;
102
- -ms-border-#{$sideb}-radius: $radius;
103
- -moz-border-radius-#{$sidea}: $radius;
104
- -moz-border-radius-#{$sideb}: $radius;
105
- -webkit-border-#{$sidea}-radius: $radius;
106
- -webkit-border-#{$sideb}-radius: $radius;
94
+ $sidea: bottom-right;
95
+ $sideb: top-right;
96
+ $radius: 3px;
97
+ border-#{$sidea}-radius: $radius;
98
+ border-#{$sideb}-radius: $radius;
99
+ -o-border-#{$sidea}-radius: $radius;
100
+ -o-border-#{$sideb}-radius: $radius;
101
+ -ms-border-#{$sidea}-radius: $radius;
102
+ -ms-border-#{$sideb}-radius: $radius;
103
+ -moz-border-radius-#{$sidea}: $radius;
104
+ -moz-border-radius-#{$sideb}: $radius;
105
+ -webkit-border-#{$sidea}-radius: $radius;
106
+ -webkit-border-#{$sideb}-radius: $radius;
107
107
  }
108
108
 
109
109
  @mixin bottom-rounded-border {
110
- $sidea: bottom-left;
111
- $sideb: bottom-right;
112
- $radius: 3px;
113
- border-#{$sidea}-radius: $radius;
114
- border-#{$sideb}-radius: $radius;
115
- -o-border-#{$sidea}-radius: $radius;
116
- -o-border-#{$sideb}-radius: $radius;
117
- -ms-border-#{$sidea}-radius: $radius;
118
- -ms-border-#{$sideb}-radius: $radius;
119
- -moz-border-radius-#{$sidea}: $radius;
120
- -moz-border-radius-#{$sideb}: $radius;
121
- -webkit-border-#{$sidea}-radius: $radius;
122
- -webkit-border-#{$sideb}-radius: $radius;
110
+ $sidea: bottom-left;
111
+ $sideb: bottom-right;
112
+ $radius: 3px;
113
+ border-#{$sidea}-radius: $radius;
114
+ border-#{$sideb}-radius: $radius;
115
+ -o-border-#{$sidea}-radius: $radius;
116
+ -o-border-#{$sideb}-radius: $radius;
117
+ -ms-border-#{$sidea}-radius: $radius;
118
+ -ms-border-#{$sideb}-radius: $radius;
119
+ -moz-border-radius-#{$sidea}: $radius;
120
+ -moz-border-radius-#{$sideb}: $radius;
121
+ -webkit-border-#{$sidea}-radius: $radius;
122
+ -webkit-border-#{$sideb}-radius: $radius;
123
123
  }
124
124
 
125
125
  @mixin bottom-left-rounded-border {
126
- $side: bottom-left;
127
- $radius: 3px;
128
- border-#{$side}-radius: $radius;
129
- -o-border-#{$side}-radius: $radius;
130
- -ms-border-#{$side}-radius: $radius;
131
- -moz-border-radius-#{$side}: $radius;
132
- -webkit-border-#{$side}-radius: $radius;
126
+ $side: bottom-left;
127
+ $radius: 3px;
128
+ border-#{$side}-radius: $radius;
129
+ -o-border-#{$side}-radius: $radius;
130
+ -ms-border-#{$side}-radius: $radius;
131
+ -moz-border-radius-#{$side}: $radius;
132
+ -webkit-border-#{$side}-radius: $radius;
133
133
  }
134
134
 
135
135
  @mixin rounded-search-field {
136
- $radius: 12px;
137
- border-radius: $radius;
138
- -o-border-radius: $radius;
139
- -ms-border-radius: $radius;
140
- -moz-border-radius: $radius;
141
- -webkit-border-radius: $radius;
136
+ $radius: 12px;
137
+ border-radius: $radius;
138
+ -o-border-radius: $radius;
139
+ -ms-border-radius: $radius;
140
+ -moz-border-radius: $radius;
141
+ -webkit-border-radius: $radius;
142
142
  }
143
143
 
144
- @mixin opacity($opacity) {
145
- opacity: $opacity/100;
146
- filter: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{$opacity})");
144
+ @mixin opacity($opacity){
145
+ opacity: $opacity/100;
146
+ filter: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{$opacity})");
147
147
  }
148
148
 
149
149
  @mixin disable-user-select {
150
- -webkit-user-select: none;
151
- -moz-user-select: none;
152
- -ms-user-select: none;
153
- -o-user-select: none;
154
- user-select: none;
150
+ -webkit-user-select: none;
151
+ -moz-user-select: none;
152
+ -ms-user-select: none;
153
+ -o-user-select: none;
154
+ user-select: none;
155
155
  }
@@ -1,58 +1,58 @@
1
1
  @import "alchemy/defaults";
2
2
 
3
3
  h1 {
4
- margin: 0 0 10px;
5
- padding: 0;
6
- font-weight: bold;
7
- font-size: 12px;
4
+ margin: 0 0 10px;
5
+ padding: 0;
6
+ font-weight: bold;
7
+ font-size: 12px;
8
8
  }
9
9
 
10
10
  h2 {
11
- margin: 5px 0;
12
- padding-bottom: 5px;
13
- clear: both;
14
- font-weight: bold;
15
- font-size: 12px;
11
+ margin: 5px 0;
12
+ padding-bottom: 5px;
13
+ clear: both;
14
+ font-weight: bold;
15
+ font-size: 12px;
16
16
  }
17
17
 
18
18
  h3 {
19
- margin: 5px 0;
20
- padding-bottom: 5px;
21
- font-size: 12px;
22
- font-weight: bold;
19
+ margin: 5px 0;
20
+ padding-bottom: 5px;
21
+ font-size: 12px;
22
+ font-weight: bold;
23
23
  }
24
24
 
25
25
  p {
26
- margin: 0 0 5px;
27
- padding: 0;
28
- font-size: 12px;
26
+ margin: 0 0 5px;
27
+ padding: 0;
28
+ font-size: 12px;
29
29
  }
30
30
 
31
31
  a {
32
- color: $text-color;
33
- text-decoration: none;
34
-
35
- &:hover {
36
- text-decoration: underline;
37
- }
38
-
39
- img {
40
- border: none;
41
- }
32
+ color: $text-color;
33
+ text-decoration: none;
34
+
35
+ &:hover {
36
+ text-decoration: underline;
37
+ }
38
+
39
+ img {
40
+ border: none;
41
+ }
42
42
  }
43
43
 
44
44
  form {
45
- margin-bottom: 0;
45
+ margin-bottom: 0;
46
46
  }
47
47
 
48
48
  ul {
49
- padding-left: 16px;
50
- margin-top: 1em;
51
- margin-bottom: 1em;
52
-
53
- li {
54
- margin-bottom: 0.5em;
55
- }
49
+ padding-left: 16px;
50
+ margin-top: 1em;
51
+ margin-bottom: 1em;
52
+
53
+ li {
54
+ margin-bottom: 0.5em;
55
+ }
56
56
  }
57
57
 
58
58
  .float_right {
@@ -66,161 +66,161 @@ ul {
66
66
  /* @group overlay */
67
67
 
68
68
  #user_list li.table_row div.table_left span.icon img {
69
- width: 16px;
70
- height: 16px;
71
- position: relative;
72
- top: 1px;
73
- left: -1px;
69
+ width: 16px;
70
+ height: 16px;
71
+ position: relative;
72
+ top: 1px;
73
+ left: -1px;
74
74
  }
75
75
 
76
76
  span.updated_at {
77
- float: right;
77
+ float: right;
78
78
  }
79
79
 
80
80
  a.drop_down_select img {
81
- float: left;
82
- position: relative;
83
- top: 2px;
84
- margin-right: 4px;
81
+ float: left;
82
+ position: relative;
83
+ top: 2px;
84
+ margin-right: 4px;
85
85
  }
86
86
 
87
87
  #alchemy a.search_field_clear {
88
- width: 16px;
89
- height: 16px;
90
- background: image-url('alchemy/ui-icons_666666_256x240.png') no-repeat -80px -128px;
91
- position: absolute;
92
- right: 8px;
93
- top: 4px;
94
- @include rounded-corner;
88
+ width: 16px;
89
+ height: 16px;
90
+ background: image-url('alchemy/ui-icons_666666_256x240.png') no-repeat -80px -128px;
91
+ position: absolute;
92
+ right: 8px;
93
+ top: 4px;
94
+ @include rounded-corner;
95
95
  }
96
96
 
97
97
  #language_select {
98
- margin-bottom: 4px;
98
+ margin-bottom: 4px;
99
99
  }
100
100
 
101
101
  .js_filter_field_box {
102
- position: relative;
103
- float: right;
104
- margin-left: 4px;
102
+ position: relative;
103
+ float: right;
104
+ margin-left: 4px;
105
105
  }
106
106
 
107
107
  .js_filter_field_box .js_filter_field {
108
- width: 170px;
109
- text-align: left;
110
- @include rounded-search-field;
111
- padding: 3px 24px 2px;
112
- height: 19px;
108
+ width: 170px;
109
+ text-align: left;
110
+ @include rounded-search-field;
111
+ padding: 3px 24px 2px;
112
+ height: 19px;
113
113
  }
114
114
 
115
115
  .js_filter_field_box label {
116
- text-shadow: #fefefe 1px 1px 0;
117
- font-size: 10px;
118
- display: inline-block;
119
- text-align: center;
116
+ text-shadow: #fefefe 1px 1px 0;
117
+ font-size: 10px;
118
+ display: inline-block;
119
+ text-align: center;
120
120
  }
121
121
 
122
122
  .js_filter_field_box .js_filter_field_clear {
123
- width: 15px;
124
- height: 15px;
125
- background: image-url('alchemy/icons.png') no-repeat 0 -70px;
126
- position: absolute;
127
- right: 8px;
128
- top: 4px;
129
- @include rounded-corner;
123
+ width: 15px;
124
+ height: 15px;
125
+ background: image-url('alchemy/icons.png') no-repeat 0 -70px;
126
+ position: absolute;
127
+ right: 8px;
128
+ top: 4px;
129
+ @include rounded-corner;
130
130
  }
131
131
 
132
- div.source_editor textarea{
133
- width: 100%;
134
- height: 358px;
132
+ div.source_editor textarea {
133
+ width: 100%;
134
+ height: 358px;
135
135
  }
136
136
 
137
137
  div.edit_source_buttons {
138
- height: 18px;
139
- margin-top: 8px;
140
- float: right;
141
- clear: both;
138
+ height: 18px;
139
+ margin-top: 8px;
140
+ float: right;
141
+ clear: both;
142
142
  }
143
143
 
144
144
  div.info {
145
- padding: 8px 8px 8px 32px;
146
- line-height: 17px;
147
- color: $text-color;
148
- border: 1px solid #0b5c84;
149
- @include rounded-corner;
150
- background-color: #eaf4f9;
151
- position: relative;
152
- margin-bottom: 8px;
145
+ padding: 8px 8px 8px 32px;
146
+ line-height: 17px;
147
+ color: $text-color;
148
+ border: 1px solid #0b5c84;
149
+ @include rounded-corner;
150
+ background-color: #eaf4f9;
151
+ position: relative;
152
+ margin-bottom: 8px;
153
153
  }
154
154
 
155
155
  div.info.footnote {
156
- font-size: 10px;
157
- margin: 16px;
156
+ font-size: 10px;
157
+ margin: 16px;
158
158
  }
159
159
 
160
160
  div#page {
161
- height: auto !important;
162
- height: 100%;
163
- min-height: 100%;
164
- position: relative;
165
- /* needed for footer positioning*/
161
+ height: auto !important;
162
+ height: 100%;
163
+ min-height: 100%;
164
+ position: relative;
165
+ /* needed for footer positioning*/
166
166
  }
167
167
 
168
168
  #archive_all .edit_images_bottom span {
169
- width: 19px;
170
- height: 19px;
171
- float: left;
172
- margin-right: 4px;
169
+ width: 19px;
170
+ height: 19px;
171
+ float: left;
172
+ margin-right: 4px;
173
173
  }
174
174
 
175
- #archive_all .edit_images_bottom span a{
176
- display: block;
177
- height: 19px;
178
- width: 19px;
179
- background-repeat: no-repeat;
180
- text-decoration: none;
181
- background-position: left;
175
+ #archive_all .edit_images_bottom span a {
176
+ display: block;
177
+ height: 19px;
178
+ width: 19px;
179
+ background-repeat: no-repeat;
180
+ text-decoration: none;
181
+ background-position: left;
182
182
  }
183
183
 
184
184
  #archive_all .edit_images_bottom span a:hover {
185
- background-position: right;
185
+ background-position: right;
186
186
  }
187
187
 
188
188
  .picture_tool_delete {
189
- width: 16px;
190
- height: 16px;
191
- position: absolute;
192
- background-color: white;
193
- top: 3px;
194
- right: 4px;
195
- padding: 1px;
196
- z-index: 1;
197
- display: none;
189
+ width: 16px;
190
+ height: 16px;
191
+ position: absolute;
192
+ background-color: white;
193
+ top: 3px;
194
+ right: 4px;
195
+ padding: 1px;
196
+ z-index: 1;
197
+ display: none;
198
198
  }
199
199
 
200
200
  .picture_tool_delete a {
201
- display: block;
202
- width: 16px;
203
- height: 16px;
204
- background: image-url('alchemy/icons.png') no-repeat -63px -72px;
205
- cursor: pointer;
201
+ display: block;
202
+ width: 16px;
203
+ height: 16px;
204
+ background: image-url('alchemy/icons.png') no-repeat -63px -72px;
205
+ cursor: pointer;
206
206
  }
207
207
 
208
208
  div.tip {
209
- background-color: #eff8d0;
210
- border: 1px solid #cce21c;
211
- padding: 2*$default-padding;
212
- margin: 8px 0;
213
- @include rounded-corner;
214
- width: 450px;
209
+ background-color: #eff8d0;
210
+ border: 1px solid #cce21c;
211
+ padding: 2*$default-padding;
212
+ margin: 8px 0;
213
+ @include rounded-corner;
214
+ width: 450px;
215
215
  }
216
216
 
217
217
  #back_to_site {
218
- float: right;
219
- margin-right: 8px;
218
+ float: right;
219
+ margin-right: 8px;
220
220
  }
221
221
 
222
222
  #page_names textarea {
223
- height: 78px;
223
+ height: 78px;
224
224
  }
225
225
 
226
226
  div#new_page_from_clipboard {
@@ -237,1269 +237,1255 @@ div#new_page_from_clipboard span {
237
237
  }
238
238
 
239
239
  #page_editing_head .site_status {
240
- margin: 0 4px 0 0;
241
- float: left;
240
+ margin: 0 4px 0 0;
241
+ float: left;
242
242
  }
243
243
 
244
244
  div#page_status_options {
245
- float: left;
245
+ float: left;
246
246
  }
247
247
 
248
248
  div#page_editing_menu {
249
- overflow: auto;
250
- padding-left: 1px;
251
- padding-right: 1px;
252
- }
253
-
254
- h2#sitemap_heading {
255
- padding: 0;
249
+ overflow: auto;
250
+ padding-left: 1px;
251
+ padding-right: 1px;
256
252
  }
257
253
 
258
254
  div#userinfo {
259
- text-align: right;
260
- float: right;
261
- margin-right: 8px;
255
+ text-align: right;
256
+ float: right;
257
+ margin-right: 8px;
262
258
  }
263
259
 
264
260
  #userinfo img {
265
- position: relative;
266
- top: 1px;
261
+ position: relative;
262
+ top: 1px;
267
263
  }
268
264
 
269
265
  div#user_list_legend {
270
- overflow: auto;
271
- padding: 1px 1px 4px;
272
- margin-bottom: 5px;
273
- border-bottom: 1px solid black;
274
- width: 370px;
266
+ overflow: auto;
267
+ padding: 1px 1px 4px;
268
+ margin-bottom: 5px;
269
+ border-bottom: 1px solid black;
270
+ width: 370px;
275
271
  }
276
272
 
277
273
  #toolbar {
278
- z-index: 10;
279
- padding: 6px;
280
- height: 40px;
281
- background: $medium-gray image-url('alchemy/shading.png') repeat-x 0 -40px;
282
- margin-right: 0px;
283
- border: $default-border;
284
- border-top-style: none;
285
- border-right-style: none;
286
- @include bottom-left-rounded-border;
287
- position: relative;
288
- margin-left: 5px;
274
+ z-index: 10;
275
+ padding: 6px;
276
+ height: 40px;
277
+ background: $medium-gray image-url('alchemy/shading.png') repeat-x 0 -40px;
278
+ margin-right: 0px;
279
+ border: $default-border;
280
+ border-top-style: none;
281
+ border-right-style: none;
282
+ @include bottom-left-rounded-border;
283
+ position: relative;
284
+ margin-left: 5px;
289
285
  }
290
286
 
291
287
  #toolbar form {
292
- margin: 0 0 0 8px;
293
- float: right;
294
- text-align: center;
288
+ margin: 0 0 0 8px;
289
+ float: right;
290
+ text-align: center;
295
291
  }
296
292
 
297
293
  #toolbar div.button_with_label form {
298
- float: none;
299
- margin: 0;
300
- display: inline-block;
301
- line-height: 5px;
294
+ float: none;
295
+ margin: 0;
296
+ display: inline-block;
297
+ line-height: 5px;
302
298
  }
303
299
 
304
300
  #toolbar div.button_with_label form label {
305
- margin-top: $default-margin;
301
+ margin-top: $default-margin;
306
302
  }
307
303
 
308
304
  #toolbar div.search_field {
309
- position: relative;
310
- float: left;
311
- margin-bottom: $default-margin;
305
+ position: relative;
306
+ float: left;
307
+ margin-bottom: $default-margin;
312
308
  }
313
309
 
314
310
  #toolbar div p {
315
- float: right;
316
- margin: 3px $default-margin 0 0;
317
- padding: 0;
311
+ float: right;
312
+ margin: 3px $default-margin 0 0;
313
+ padding: 0;
318
314
  }
319
315
 
320
316
  div#toolbar div.toolbar_spacer {
321
- float: left;
322
- width: 1px;
323
- height: 37px;
324
- border-right-style: dotted;
325
- border-right-width: 1px;
326
- margin-right: 2*$default-margin;
327
- margin-left: $default-margin;
317
+ float: left;
318
+ width: 1px;
319
+ height: 37px;
320
+ border-right-style: dotted;
321
+ border-right-width: 1px;
322
+ margin-right: 2*$default-margin;
323
+ margin-left: $default-margin;
328
324
  }
329
325
 
330
326
  div#toolbar a.button {
331
- width: 25px;
332
- height: 21px;
333
- text-decoration: none;
334
- float: right;
335
- border-width: 0;
336
- border-style: none;
337
- font-size: 0;
338
- padding: 0;
339
- background-repeat: no-repeat;
340
- background-position: 0 0;
327
+ width: 25px;
328
+ height: 21px;
329
+ text-decoration: none;
330
+ float: right;
331
+ border-width: 0;
332
+ border-style: none;
333
+ font-size: 0;
334
+ padding: 0;
335
+ background-repeat: no-repeat;
336
+ background-position: 0 0;
341
337
  }
342
338
 
343
339
  div#toolbar a.button:active {
344
- text-decoration: none;
345
- background-position: 0 -21px;
340
+ text-decoration: none;
341
+ background-position: 0 -21px;
346
342
  }
347
343
 
348
344
  #page_sorting_panel p {
349
- margin-top: 1em;
345
+ margin-top: 1em;
350
346
  }
351
347
 
352
348
  div.info span.icon.info {
353
- position: absolute;
354
- top: 8px;
355
- left: 8px;
349
+ position: absolute;
350
+ top: 8px;
351
+ left: 8px;
356
352
  }
357
353
 
358
354
  div.table_right span.tools a.icon_button img {
359
- left: -1px;
355
+ left: -1px;
360
356
  }
361
357
 
362
358
  #user_edit form {
363
- margin: 0;
364
- padding: 2*$default-padding;
359
+ margin: 0;
360
+ padding: 2*$default-padding;
365
361
  }
366
362
 
367
363
  li.even {
368
- background-color: #fff;
364
+ background-color: #fff;
369
365
  }
370
366
 
371
367
  li.odd {
372
- background-color: #eaf3f9;
368
+ background-color: #eaf3f9;
373
369
  }
374
370
 
375
371
  ul.list li.table_row {
376
- display: block;
377
- margin: 0 0 8px;
378
- background-color: #ffffff;
379
- position: relative;
380
- line-height: 18px;
381
- float: left;
382
- width: 100%;
372
+ display: block;
373
+ margin: 0 0 8px;
374
+ background-color: #ffffff;
375
+ position: relative;
376
+ line-height: 18px;
377
+ float: left;
378
+ width: 100%;
383
379
  }
384
380
 
385
381
  ul.list {
386
- margin: 0;
387
- padding: 2*$default-padding;
388
- list-style-type: none;
382
+ margin: 0;
383
+ padding: 2*$default-padding;
384
+ list-style-type: none;
389
385
  }
390
386
 
391
387
  ul#layoutpages.list {
392
- margin-top: 16px;
388
+ margin-top: 16px;
393
389
  }
394
390
 
395
391
  ul#layoutpages.list li {
396
- margin-left: 8px;
392
+ margin-left: 8px;
397
393
  }
398
394
 
399
395
  ul#sitemap.list {
400
- padding: 0 0 104px 0;
396
+ padding: 0;
401
397
  }
402
398
 
403
399
  ul.list li {
404
- list-style-type: none;
405
- border-width: 0;
406
- border-style: none;
407
- display: block;
400
+ list-style-type: none;
401
+ border-width: 0;
402
+ border-style: none;
403
+ display: block;
408
404
  }
409
405
 
410
406
  ul.list li.legend {
411
- background-color: transparent;
412
- font-weight: bold;
407
+ background-color: transparent;
408
+ font-weight: bold;
413
409
  }
414
410
 
415
411
  #layoutpages li img.site_status {
416
- float: left;
412
+ float: left;
417
413
  }
418
414
 
419
415
  ul.list div.detail_row {
420
- background-color: $medium-gray;
421
- font-size: 10px;
422
- margin-top: 3px;
423
- padding: $default-padding;
424
- overflow: hidden;
416
+ background-color: $medium-gray;
417
+ font-size: 10px;
418
+ margin-top: 3px;
419
+ padding: $default-padding;
420
+ overflow: hidden;
425
421
  }
426
422
 
427
423
  ul.list div.detail_row div {
428
- padding-top: 1px;
429
- padding-bottom: 1px;
424
+ padding-top: 1px;
425
+ padding-bottom: 1px;
430
426
  }
431
427
 
432
428
  ul.list span.right {
433
- float: right;
434
- }
435
-
436
- #sitemap li.legend span.right {
437
- margin-right: 52px;
438
- }
439
-
440
- #sitemap li.legend span.right span.page_move {
441
- display: inline-block;
442
- width: 74px;
443
- text-align: center;
444
- }
445
-
446
- h2#sitemap_heading span.page_infos {
447
- margin-right: 120px;
448
- width: 40px;
449
- text-align: center;
450
- float: right;
451
- line-height: 28px;
429
+ float: right;
452
430
  }
453
431
 
454
432
  .handle {
455
- cursor: move;
433
+ cursor: move;
456
434
  }
457
435
 
458
436
  #userinfo p {
459
- padding: 0;
460
- margin: 0;
461
- font-weight: bold;
437
+ padding: 0;
438
+ margin: 0;
439
+ font-weight: bold;
462
440
  }
463
441
 
464
442
  /* @group image_upload */
465
443
 
466
444
  table td.tools .icon, table td.icon .icon {
467
- width: 16px;
468
- height: 16px;
469
- @include disable-user-select;
470
- margin-top: 0;
471
- background-repeat: no-repeat;
472
- display: inline;
473
- display: inline-block;
474
- margin-right: 4px;
445
+ width: 16px;
446
+ height: 16px;
447
+ @include disable-user-select;
448
+ margin-top: 0;
449
+ background-repeat: no-repeat;
450
+ display: inline;
451
+ display: inline-block;
452
+ margin-right: 4px;
475
453
  }
476
454
 
477
455
  input#search_input_field {
478
- width: 170px;
479
- text-align: left;
480
- @include rounded-search-field;
481
- padding: 3px 24px 2px;
482
- height: 18px;
456
+ width: 170px;
457
+ text-align: left;
458
+ @include rounded-search-field;
459
+ padding: 3px 24px 2px;
460
+ height: 18px;
483
461
  }
484
462
 
485
- .list li.table_row div.table_right span{
486
- float: left;
487
- text-align: left;
463
+ .list li.table_row div.table_right span {
464
+ float: left;
465
+ text-align: left;
488
466
  }
489
467
 
490
468
  .list li.table_row div.table_center {
491
- float: none;
492
- padding-left: 24px;
469
+ float: none;
470
+ padding-left: 24px;
493
471
  }
494
472
 
495
473
  .list div.table_left {
496
- float: left;
474
+ float: left;
497
475
  }
498
476
 
499
477
  .list div.table_right {
500
- float: right;
478
+ float: right;
501
479
  }
502
480
 
503
481
  #archive_all {
504
- padding: 4*$default-padding;
482
+ padding: 4*$default-padding;
505
483
  }
506
484
 
507
485
  #archive_all .padding_left_right {
508
- padding-right: 8px;
509
- padding-left: 8px;
486
+ padding-right: 8px;
487
+ padding-left: 8px;
510
488
  }
511
489
 
512
490
  .inplace-edit {
513
- background-color: $light-gray;
514
- position: absolute;
515
- left: -5px;
516
- top: -8px;
517
- width: 204px;
518
- z-index: 10;
519
- height: 60px;
520
- border: $default-border;
521
- @include rounded-corner;
491
+ background-color: $light-gray;
492
+ position: absolute;
493
+ left: -5px;
494
+ top: -8px;
495
+ width: 204px;
496
+ z-index: 10;
497
+ height: 60px;
498
+ border: $default-border;
499
+ @include rounded-corner;
522
500
  }
523
501
 
524
502
  .inplace-edit input.save-button {
525
- float: right;
503
+ float: right;
526
504
  }
527
505
 
528
506
  .inplace-edit div.buttons input.cancel-button {
529
- float: left;
507
+ float: left;
530
508
  }
531
509
 
532
510
  .inplace-edit div.buttons {
533
- margin-top: 4px;
534
- position: absolute;
535
- bottom: 4px;
536
- width: 196px;
537
- padding-right: 4px;
538
- padding-left: 4px;
511
+ margin-top: 4px;
512
+ position: absolute;
513
+ bottom: 4px;
514
+ width: 196px;
515
+ padding-right: 4px;
516
+ padding-left: 4px;
539
517
  }
540
518
 
541
519
  .inplace-edit input.thin_border {
542
- width: 186px;
543
- font-family: "Courier New", Courier, mono;
544
- position: absolute;
545
- left: 4px;
546
- top: 4px;
547
- height: 18px;
520
+ width: 186px;
521
+ font-family: "Courier New", Courier, mono;
522
+ position: absolute;
523
+ left: 4px;
524
+ top: 4px;
525
+ height: 18px;
548
526
  }
549
527
 
550
528
  div.spinner {
551
- background-color: #ffffff;
552
- width: 100%;
553
- height: 100%;
554
- position: absolute;
555
- top: 0;
556
- left: 0;
529
+ background-color: #ffffff;
530
+ width: 100%;
531
+ height: 100%;
532
+ position: absolute;
533
+ top: 0;
534
+ left: 0;
557
535
  }
558
536
 
559
537
  .headline_text_editor {
560
- overflow: auto;
561
- width: 374px;
538
+ overflow: auto;
539
+ width: 374px;
562
540
  }
563
541
 
564
542
  .short_content_text {
565
- width: 374px;
566
- background-color: white;
567
- margin-bottom: 10px;
568
- padding-bottom: 2px;
569
- padding-top: 2px;
570
- padding-left: 2px;
571
- float: none;
543
+ width: 374px;
544
+ background-color: white;
545
+ margin-bottom: 10px;
546
+ padding-bottom: 2px;
547
+ padding-top: 2px;
548
+ padding-left: 2px;
549
+ float: none;
572
550
  }
573
551
 
574
552
  .short_content_text a {
575
- color: #000000;
576
- text-decoration: none;
577
- font-weight: bold;
553
+ color: #000000;
554
+ text-decoration: none;
555
+ font-weight: bold;
578
556
  }
579
557
 
580
558
  .short_content_text a:hover {
581
- color: #000000;
582
- text-decoration: underline;
559
+ color: #000000;
560
+ text-decoration: underline;
583
561
  }
584
562
 
585
563
  .picture_tool_assign_box {
586
- float: right;
587
- width: 105px;
588
- overflow: auto;
589
- padding: 1px;
564
+ float: right;
565
+ width: 105px;
566
+ overflow: auto;
567
+ padding: 1px;
590
568
  }
591
569
 
592
570
  /* @end */
593
571
 
594
572
  .short_picture {
595
- float: left
573
+ float: left
596
574
  }
597
575
 
598
576
  .short_element {
599
- margin-left: 20px;
600
- float: left;
577
+ margin-left: 20px;
578
+ float: left;
601
579
  }
602
580
 
603
581
  .short_element input {
604
- width: 190px;
605
- float: left;
606
- font: 11px $default-font-face;
582
+ width: 190px;
583
+ float: left;
584
+ font: 11px $default-font-face;
607
585
  }
608
586
 
609
587
  .dashed_border {
610
- border: 1px dashed;
588
+ border: 1px dashed;
611
589
  }
612
590
 
613
591
  ul#all_files {
614
- list-style-type: none;
615
- display: block;
616
- margin: 0;
617
- padding: 0;
618
- width: 100%;
592
+ list-style-type: none;
593
+ display: block;
594
+ margin: 0;
595
+ padding: 0;
596
+ width: 100%;
619
597
  }
620
598
 
621
599
  img.image_in_text {
622
- position: relative;
623
- top: 3px;
600
+ position: relative;
601
+ top: 3px;
624
602
  }
625
603
 
626
604
  div.right_checkbox {
627
- float: left;
605
+ float: left;
628
606
  }
629
607
 
630
608
  div.all_rights {
631
- float: left;
632
- clear: both;
633
- margin-top: 10px;
609
+ float: left;
610
+ clear: both;
611
+ margin-top: 10px;
634
612
  }
635
613
 
636
614
  textarea.thin_border {
637
- border-style: inset;
638
- font: $default-font-style;
639
- padding: $default-padding;
640
- border-width: 1px;
641
- @include rounded-corner;
642
- height: auto;
615
+ border-style: inset;
616
+ font: $default-font-style;
617
+ padding: $default-padding;
618
+ border-width: 1px;
619
+ @include rounded-corner;
620
+ height: auto;
643
621
  }
644
622
 
645
623
  .thin_border, .input_field {
646
- margin: 0;
647
- @include rounded-corner;
648
- background: #fff;
649
- border: 1px inset #e5e5e5;
650
- width: 210px;
651
- font-size: 12px;
652
- line-height: 19px;
653
- height: 25px;
654
- padding: 1px $default-padding;
624
+ margin: 0;
625
+ @include rounded-corner;
626
+ background: #fff;
627
+ border: 1px inset #e5e5e5;
628
+ width: 210px;
629
+ font-size: 12px;
630
+ line-height: 19px;
631
+ height: 25px;
632
+ padding: 1px $default-padding;
655
633
  }
656
634
 
657
635
  .thin_border.dirty {
658
- background-color: #fff8df;
636
+ background-color: #fff8df;
659
637
  }
660
638
 
661
639
  select.select_box {
662
- border: 1px solid #9a9a9a;
663
- color: $text-color;
664
- padding: 1px;
665
- margin: 0;
666
- font-size: 12px;
667
- @include rounded-corner;
668
- background: #f4f4f4;
669
- height: 21px;
640
+ border: 1px solid #9a9a9a;
641
+ color: $text-color;
642
+ padding: 1px;
643
+ margin: 0;
644
+ font-size: 12px;
645
+ @include rounded-corner;
646
+ background: #f4f4f4;
647
+ height: 21px;
670
648
  }
671
649
 
672
650
  #tooltip {
673
- border: 1px solid #0b5c84;
674
- color: #333333;
675
- position: absolute;
676
- display: none;
677
- padding: $default-padding;
678
- font-size: 11px;
679
- max-width: 200px;
680
- @include rounded-corner;
681
- -moz-box-shadow: 0 2px 8px $dark-gray;
682
- -webkit-box-shadow: 0 2px 8px $dark-gray;
683
- box-shadow: 0 2px 8px $dark-gray;
684
- background-color: #eaf4f9;
651
+ border: 1px solid #0b5c84;
652
+ color: #333333;
653
+ position: absolute;
654
+ display: none;
655
+ padding: $default-padding;
656
+ font-size: 11px;
657
+ max-width: 200px;
658
+ @include rounded-corner;
659
+ -moz-box-shadow: 0 2px 8px $dark-gray;
660
+ -webkit-box-shadow: 0 2px 8px $dark-gray;
661
+ box-shadow: 0 2px 8px $dark-gray;
662
+ background-color: #eaf4f9;
685
663
  }
686
664
 
687
665
  #tooltip p,
688
666
  #tooltip h1 {
689
- font-size: 11px;
667
+ font-size: 11px;
690
668
  }
691
669
 
692
- .date_select_without_time #date_date_4i{
693
- display: none;
670
+ .date_select_without_time #date_date_4i {
671
+ display: none;
694
672
  }
695
673
 
696
- .date_select_without_time #date_date_5i{
697
- display: none;
674
+ .date_select_without_time #date_date_5i {
675
+ display: none;
698
676
  }
699
677
 
700
678
  .with_padding {
701
- padding: 2*$default-padding;
679
+ padding: 2*$default-padding;
702
680
  }
703
681
 
704
682
  .with_margin {
705
- margin: 2*$default-padding;
683
+ margin: 2*$default-padding;
706
684
  }
707
685
 
708
686
  .element_spinner {
709
- float: right;
710
- height: 23px;
711
- position: relative;
712
- bottom: 3px;
713
- right: -3px;
687
+ float: right;
688
+ height: 23px;
689
+ position: relative;
690
+ bottom: 3px;
691
+ right: -3px;
714
692
  }
715
693
 
716
694
  .element_folder_spinner {
717
- position: relative;
718
- bottom: 2px;
719
- width: 24px;
720
- height: 24px;
721
- right: -2px;
695
+ position: relative;
696
+ bottom: 2px;
697
+ width: 24px;
698
+ height: 24px;
699
+ right: -2px;
722
700
  }
723
701
 
724
702
  .element_spinner img {
725
- bottom: 1px;
726
- float: left;
727
- position: relative;
728
- width: 24px;
729
- height: 24px;
730
- right: 0;
703
+ bottom: 1px;
704
+ float: left;
705
+ position: relative;
706
+ width: 24px;
707
+ height: 24px;
708
+ right: 0;
731
709
  }
732
710
 
733
711
  span.spinner_wait_text {
734
- float: left;
735
- position: relative;
736
- top: 4px;
712
+ float: left;
713
+ position: relative;
714
+ top: 4px;
737
715
  }
738
716
 
739
717
  div.element_head span.ajax_folder span.error_icon {
740
- float: left;
741
- width: 14px;
742
- height: 15px;
743
- text-align: center;
744
- background-color: white;
745
- border: 1px solid #935b5b;
746
- color: #935b5b;
718
+ float: left;
719
+ width: 14px;
720
+ height: 15px;
721
+ text-align: center;
722
+ background-color: white;
723
+ border: 1px solid #935b5b;
724
+ color: #935b5b;
747
725
  }
748
726
 
749
727
  div#images {
750
- margin-top: 16px;
751
- margin-bottom: 8px;
752
- overflow: visible;
728
+ margin-top: 16px;
729
+ margin-bottom: 8px;
730
+ overflow: visible;
753
731
  }
754
732
 
755
733
  #toolbar_links {
756
- line-height: 21px;
757
- margin-left: 8px;
758
- float: left;
734
+ line-height: 21px;
735
+ margin-left: 8px;
736
+ float: left;
759
737
  }
760
738
 
761
739
  div#toolbar_buttons {
762
- float: left;
763
- margin-right: 6px;
740
+ float: left;
741
+ margin-right: 6px;
764
742
  }
765
743
 
766
744
  div#toolbar_buttons_right {
767
- float: right;
768
- margin-left: 8px;
745
+ float: right;
746
+ margin-left: 8px;
769
747
  }
770
748
 
771
749
  #errorExplanation {
772
- background: #ffdfdf;
773
- padding: 2*$default-padding;
774
- text-align: left;
775
- margin-bottom: 8px;
776
- border: 1px solid #d08f91;
777
- color: #690001;
778
- @include rounded-corner;
750
+ background: #ffdfdf;
751
+ padding: 2*$default-padding;
752
+ text-align: left;
753
+ margin-bottom: 8px;
754
+ border: 1px solid #d08f91;
755
+ color: #690001;
756
+ @include rounded-corner;
779
757
  }
780
758
 
781
759
  #errorExplanation h2 {
782
- font-size: 1.2em;
760
+ font-size: 1.2em;
783
761
  }
784
762
 
785
763
  div.field_with_errors {
786
- display: inline;
764
+ display: inline;
787
765
  }
788
766
 
789
767
  p.foot_note {
790
- font-size: 10px;
791
- line-height: 1.5em;
768
+ font-size: 10px;
769
+ line-height: 1.5em;
792
770
  }
793
771
 
794
772
  #errorExplanation ul {
795
- padding: 0 0 0 16px;
773
+ padding: 0 0 0 16px;
796
774
  }
797
775
 
798
776
  #all_files td.name a {
799
- cursor: -webkit-zoom-in;
800
- cursor: -moz-zoom-in;
801
- cursor: -o-zoom-in;
802
- cursor: zoom-in;
777
+ cursor: -webkit-zoom-in;
778
+ cursor: -moz-zoom-in;
779
+ cursor: -o-zoom-in;
780
+ cursor: zoom-in;
803
781
  }
804
782
 
805
783
  #sitemap .placeholder {
806
- background-color: $medium-gray;
807
- margin-bottom: 0px;
808
- margin-left: 22px;
784
+ background-color: $medium-gray;
785
+ margin-bottom: 0px;
786
+ margin-left: 22px;
809
787
  }
810
788
 
811
789
  div#jscropper {
812
- padding: 2*$default-padding;
813
- display: inline-block;
790
+ padding: 2*$default-padding;
791
+ display: inline-block;
814
792
  }
815
793
 
816
794
  div#crop_explain.tip {
817
- margin: 8px 8px 0;
818
- float: right;
819
- width: 25%;
795
+ margin: 8px 8px 0;
796
+ float: right;
797
+ width: 25%;
820
798
  }
821
799
 
822
800
  textarea#essence_picture_caption {
823
- width: 233px;
824
- height: 61px;
801
+ width: 233px;
802
+ height: 61px;
825
803
  }
826
804
 
827
805
  #alchemy .ui-dialog-content form.with_padding table td {
828
- vertical-align: top;
806
+ vertical-align: top;
829
807
  }
830
808
 
831
809
  #page_selector_scroll_container {
832
- position: relative;
833
- width: 100%;
810
+ position: relative;
811
+ width: 100%;
834
812
  }
835
813
 
836
814
  #page_selector_container {
837
- height: 230px;
838
- background-color: $light-gray;
839
- margin-bottom: 4px;
840
- border: 1px inset #e8e8e8;
841
- overflow: auto;
842
- padding: 4px 0 0 4px;
843
- @include rounded-corner;
815
+ height: 230px;
816
+ background-color: $light-gray;
817
+ margin-bottom: 4px;
818
+ border: 1px inset #e8e8e8;
819
+ overflow: auto;
820
+ padding: 4px 0 0 4px;
821
+ @include rounded-corner;
844
822
  }
845
823
 
846
824
  div#image_assign_filter_and_image_sizing {
847
- width: 100%;
848
- height: 40px;
825
+ width: 100%;
826
+ height: 40px;
849
827
  }
850
828
 
851
829
  #assign_image_list {
852
- padding: 2*$default-padding;
853
- overflow: hidden;
854
- text-align: center;
830
+ padding: 2*$default-padding;
831
+ overflow: hidden;
832
+ text-align: center;
855
833
  }
856
834
 
857
835
  /* @group Picture Thumbnails */
858
836
 
859
837
  .picture_thumbnail {
860
- padding: $default-padding;
861
- margin: 2px 1px 2px 2px;
862
- background-color: #fff;
863
- float: none;
864
- display: inline;
865
- display: inline-block;
866
- border: 1px solid #c0c0c0;
867
- position: relative;
868
- @include rounded-corner;
838
+ padding: $default-padding;
839
+ margin: 2px 1px 2px 2px;
840
+ background-color: #fff;
841
+ float: none;
842
+ display: inline;
843
+ display: inline-block;
844
+ border: 1px solid #c0c0c0;
845
+ position: relative;
846
+ @include rounded-corner;
869
847
  }
870
848
 
871
849
  #pictures {
872
- padding: 2*$default-padding;
873
- border: $default-border;
874
- @include rounded-corner;
875
- margin: -2*$default-padding;
876
- background-color: $medium-gray;
850
+ padding: 2*$default-padding;
851
+ border: $default-border;
852
+ @include rounded-corner;
853
+ margin: -2*$default-padding;
854
+ background-color: $medium-gray;
877
855
  }
878
856
 
879
857
  #pictures, #picture_archive .pagination {
880
- text-align: center;
858
+ text-align: center;
881
859
  }
882
860
 
883
861
  #pictures .picture_thumbnail {
884
- margin: 0 16px 16px 0;
885
- display: inline-block;
886
- float: none;
862
+ margin: 0 16px 16px 0;
863
+ display: inline-block;
864
+ float: none;
887
865
  }
888
866
 
889
867
  #pictures .picture_thumbnail:hover .picture_tool_delete {
890
- display: block;
868
+ display: block;
891
869
  }
892
870
 
893
871
  .picture_thumbnail .thumbnail_background {
894
- display: table-cell;
895
- width: 160px;
896
- height: 120px;
897
- background-color: $dark-gray;
898
- text-align: center;
899
- vertical-align: middle;
900
- padding: 0;
901
- line-height: 0;
872
+ display: table-cell;
873
+ width: 160px;
874
+ height: 120px;
875
+ background-color: $dark-gray;
876
+ text-align: center;
877
+ vertical-align: middle;
878
+ padding: 0;
879
+ line-height: 0;
902
880
  }
903
881
 
904
882
  .picture_thumbnail.small .thumbnail_background {
905
- width: 80px;
906
- height: 60px;
883
+ width: 80px;
884
+ height: 60px;
907
885
  }
908
886
 
909
887
  .picture_thumbnail.medium .thumbnail_background {
910
- width: 160px;
911
- height: 120px;
888
+ width: 160px;
889
+ height: 120px;
912
890
  }
913
891
 
914
892
  .picture_thumbnail.large .thumbnail_background {
915
- width: 240px;
916
- height: 180px;
893
+ width: 240px;
894
+ height: 180px;
917
895
  }
918
896
 
919
897
  #pictures .picture_thumbnail .thumbnail_background {
920
- cursor: -webkit-zoom-in;
921
- cursor: -moz-zoom-in;
922
- cursor: -ms-zoom-in;
923
- cursor: -o-zoom-in;
924
- cursor: image-url('alchemy/lupe.cur'), zoom-in, pointer;
898
+ cursor: -webkit-zoom-in;
899
+ cursor: -moz-zoom-in;
900
+ cursor: -ms-zoom-in;
901
+ cursor: -o-zoom-in;
902
+ cursor: image-url('alchemy/lupe.cur'), zoom-in, pointer;
925
903
  }
926
904
 
927
905
  div.picture_thumbnail.small {
928
- width: 80px;
929
- height: 75px;
906
+ width: 80px;
907
+ height: 75px;
930
908
  }
931
909
 
932
910
  div.picture_thumbnail.medium {
933
- width: 160px;
934
- height: 140px;
911
+ width: 160px;
912
+ height: 140px;
935
913
  }
936
914
 
937
915
  div.picture_thumbnail.large {
938
- width: 240px;
939
- height: 195px;
916
+ width: 240px;
917
+ height: 195px;
940
918
  }
941
919
 
942
920
  .picture_thumbnail .picture_name {
943
- height: 12px;
944
- display: block;
945
- text-align: center;
946
- white-space: nowrap;
947
- overflow: hidden;
948
- position: absolute;
949
- bottom: 1px;
950
- left: 0;
951
- font-family: "Courier New", Courier, mono;
952
- line-height: 11px;
953
- padding: 2px 0;
954
- margin-right: 4px;
955
- margin-left: 4px;
921
+ height: 12px;
922
+ display: block;
923
+ text-align: center;
924
+ white-space: nowrap;
925
+ overflow: hidden;
926
+ position: absolute;
927
+ bottom: 1px;
928
+ left: 0;
929
+ font-family: "Courier New", Courier, mono;
930
+ line-height: 11px;
931
+ padding: 2px 0;
932
+ margin-right: 4px;
933
+ margin-left: 4px;
956
934
  }
957
935
 
958
936
  .picture_thumbnail .picture_name.rename.hover {
959
- cursor: text;
937
+ cursor: text;
960
938
  }
961
939
 
962
940
  .picture_thumbnail.small .picture_name {
963
- width: 80px;
941
+ width: 80px;
964
942
  }
965
943
 
966
944
  .picture_thumbnail.medium .picture_name {
967
- width: 160px;
968
- bottom: 3px;
945
+ width: 160px;
946
+ bottom: 3px;
969
947
  }
970
948
 
971
949
  .picture_thumbnail.large .picture_name {
972
- width: 240px;
950
+ width: 240px;
973
951
  }
974
952
 
975
953
  div.assign_image_list_image {
976
- text-align: center;
977
- overflow: hidden;
978
- position: relative;
954
+ text-align: center;
955
+ overflow: hidden;
956
+ position: relative;
979
957
  }
980
958
 
981
959
  div.picture_thumbnail.small div.image_spinner img {
982
- top: 14px;
983
- left: 25px;
960
+ top: 14px;
961
+ left: 25px;
984
962
  }
985
963
 
986
964
  div.picture_thumbnail.medium div.image_spinner img {
987
- top: 42px;
988
- left: 64px;
965
+ top: 42px;
966
+ left: 64px;
989
967
  }
990
968
 
991
969
  div.picture_thumbnail.large div.image_spinner img {
992
- top: 74px;
993
- left: 108px;
970
+ top: 74px;
971
+ left: 108px;
994
972
  }
995
973
 
996
974
  div.image_spinner {
997
- background-color: $dark-gray;
998
- width: 1px;
999
- margin: $default-margin;
975
+ background-color: $dark-gray;
976
+ width: 1px;
977
+ margin: $default-margin;
1000
978
  }
1001
979
 
1002
980
  div.picture_thumbnail.small .image_spinner {
1003
- height: 60px;
1004
- margin: $default-margin;
981
+ height: 60px;
982
+ margin: $default-margin;
1005
983
  }
1006
984
 
1007
985
  div.picture_thumbnail.medium .image_spinner {
1008
- height: 120px;
1009
- margin: $default-margin;
986
+ height: 120px;
987
+ margin: $default-margin;
1010
988
  }
1011
989
 
1012
990
  div.picture_thumbnail.large .image_spinner {
1013
- height: 180px;
991
+ height: 180px;
1014
992
  }
1015
993
 
1016
994
  div.image_spinner img {
1017
- position: absolute;
1018
- z-index: 0;
1019
- top: 32px;
1020
- left: 40px;
995
+ position: absolute;
996
+ z-index: 0;
997
+ top: 32px;
998
+ left: 40px;
1021
999
  }
1022
1000
 
1023
1001
  #assign_image_list div.assign_image_list_image img {
1024
- border-style: none;
1002
+ border-style: none;
1025
1003
  }
1026
1004
 
1027
1005
  #assign_image_list div.assign_image_list_image span {
1028
-
1006
+
1029
1007
  }
1030
1008
 
1031
1009
  /* @end */
1032
1010
 
1033
1011
  div#errors {
1034
- margin-bottom: 8px;
1035
- padding: 8px 8px 4px 28px;
1036
- border-width: 1px;
1037
- border-style: solid;
1038
- @include rounded-corner;
1039
- border-color: #c49c9c;
1040
- color: #592e2e;
1041
- background-color: #efd3d3;
1012
+ margin-bottom: 8px;
1013
+ padding: 8px 8px 4px 28px;
1014
+ border-width: 1px;
1015
+ border-style: solid;
1016
+ @include rounded-corner;
1017
+ border-color: #c49c9c;
1018
+ color: #592e2e;
1019
+ background-color: #efd3d3;
1042
1020
  }
1043
1021
 
1044
1022
  #overlay_tabs div#errors {
1045
- margin: 8px 8px 0;
1023
+ margin: 8px 8px 0;
1046
1024
  }
1047
1025
 
1048
1026
  #errors ul li {
1049
- margin-bottom: 0.5em;
1027
+ margin-bottom: 0.5em;
1050
1028
  }
1051
1029
 
1052
1030
  #errors ul {
1053
- margin: 0;
1054
- padding: 0;
1055
- list-style-type: decimal;
1031
+ margin: 0;
1032
+ padding: 0;
1033
+ list-style-type: decimal;
1056
1034
  }
1057
1035
 
1058
1036
  #alchemyConfirmation .alchemy_window_buttons {
1059
- display: block;
1060
- text-align: right;
1061
- margin-top: 8px;
1062
- padding-right: 8px;
1037
+ display: block;
1038
+ text-align: right;
1039
+ margin-top: 8px;
1040
+ padding-right: 8px;
1063
1041
  }
1064
1042
 
1065
1043
  #alchemyConfirmation_content div.alchemy_window_message {
1066
- padding: 2*$default-padding;
1044
+ padding: 2*$default-padding;
1067
1045
  }
1068
1046
 
1069
1047
  #page_select {
1070
- width: 120px;
1071
- margin-left: 8px;
1048
+ width: 120px;
1049
+ margin-left: 8px;
1072
1050
  }
1073
1051
 
1074
1052
  #new_page_form th, #new_page_form td {
1075
- white-space: nowrap;
1076
- padding: 2px;
1053
+ white-space: nowrap;
1054
+ padding: 2px;
1077
1055
  }
1078
1056
 
1079
1057
  #new_page_form tbody tr td.second_row div.selectbox a.display {
1080
- width: 123px;
1058
+ width: 123px;
1081
1059
  }
1082
1060
 
1083
1061
  input.with_border {
1084
- margin: 0;
1085
- padding: 1px;
1086
- font-size: 12px;
1087
- border: 1px solid silver;
1062
+ margin: 0;
1063
+ padding: 1px;
1064
+ font-size: 12px;
1065
+ border: 1px solid silver;
1088
1066
  }
1089
1067
 
1090
1068
  input#user_admin {
1091
- margin: 0 0 0 1px;
1092
- padding: 0;
1093
- border-width: 0;
1094
- border-style: none;
1069
+ margin: 0 0 0 1px;
1070
+ padding: 0;
1071
+ border-width: 0;
1072
+ border-style: none;
1095
1073
  }
1096
1074
 
1097
1075
  #image_edit div {
1098
- height: 25px;
1076
+ height: 25px;
1099
1077
  }
1100
1078
 
1101
1079
  #image_edit div span {
1102
- float: left;
1103
- padding: 0;
1104
- margin-right: 6px;
1105
- height: 17px;
1106
- line-height: 19px;
1080
+ float: left;
1081
+ padding: 0;
1082
+ margin-right: 6px;
1083
+ height: 17px;
1084
+ line-height: 19px;
1107
1085
  }
1108
1086
 
1109
1087
  #alchemy div#overlay_toolbar div#image_assign_filter_and_image_sizing form {
1110
- float: right;
1111
- width: 290px;
1112
- height: 25px;
1113
- margin-top: 2px;
1114
- padding: 0 !important;
1115
- margin-right: 0;
1088
+ float: right;
1089
+ width: 290px;
1090
+ height: 25px;
1091
+ margin-top: 2px;
1092
+ padding: 0 !important;
1093
+ margin-right: 0;
1116
1094
  }
1117
1095
 
1118
1096
  div#image_assign_filter_and_image_sizing form div.search_field {
1119
- margin-right: 4px;
1120
- float: left;
1121
- position: relative;
1097
+ margin-right: 4px;
1098
+ float: left;
1099
+ position: relative;
1122
1100
  }
1123
1101
 
1124
1102
  div#image_assign_filter_and_image_sizing form input.button {
1125
- float: right;
1103
+ float: right;
1126
1104
  }
1127
1105
 
1128
1106
  li.assign_file_file {
1129
- display: block;
1130
- text-align: center;
1131
- width: 100%;
1132
- margin-bottom: 4px;
1107
+ display: block;
1108
+ text-align: center;
1109
+ width: 100%;
1110
+ margin-bottom: 4px;
1133
1111
  }
1134
1112
 
1135
1113
  #assign_file_list li.assign_file_file a {
1136
- overflow: hidden;
1137
- display: block;
1138
- padding-right: 4px;
1139
- text-align: left;
1140
- line-height: 25px;
1114
+ overflow: hidden;
1115
+ display: block;
1116
+ padding-right: 4px;
1117
+ text-align: left;
1118
+ line-height: 25px;
1141
1119
  }
1142
1120
 
1143
1121
  div.assign_file_file_icon {
1144
- float: left;
1145
- margin: $default-margin;
1146
- line-height: normal;
1122
+ float: left;
1123
+ margin: $default-margin;
1124
+ line-height: normal;
1147
1125
  }
1148
1126
 
1149
1127
  #alchemy .ui-dialog-content a img {
1150
- border-style: none;
1128
+ border-style: none;
1151
1129
  }
1152
1130
 
1153
1131
  #sitemap_external_links form {
1154
- margin-left: 5px;
1155
- margin-bottom: 4px;
1132
+ margin-left: 5px;
1133
+ margin-bottom: 4px;
1156
1134
  }
1157
1135
 
1158
1136
  input#link_to_text {
1159
- border-width: 1px;
1160
- font-size: 11px;
1161
- line-height: 11px;
1162
- width: 229px;
1137
+ border-width: 1px;
1138
+ font-size: 11px;
1139
+ line-height: 11px;
1140
+ width: 229px;
1163
1141
  }
1164
1142
 
1165
1143
  .link_window_tab_body {
1166
- background-color: $light-gray;
1167
- padding: 2*$default-padding;
1168
- margin: 0;
1144
+ background-color: $light-gray;
1145
+ padding: 2*$default-padding;
1146
+ margin: 0;
1169
1147
  }
1170
1148
 
1171
1149
  #alchemy .ui-dialog-content ul#sitemap {
1172
- margin: 0;
1173
- padding: 0 8px 8px 0;
1150
+ margin: 0;
1151
+ padding: 0 8px 8px 0;
1174
1152
  }
1175
1153
 
1176
1154
  #alchemy .ui-dialog-content ul#sitemap li {
1177
- margin-left: 0;
1178
- padding-left: 0;
1155
+ margin-left: 0;
1156
+ padding-left: 0;
1179
1157
  }
1180
1158
 
1181
1159
  #alchemy .ui-dialog-content ul#sitemap li li {
1182
- padding-left: 22px;
1160
+ padding-left: 22px;
1183
1161
  }
1184
1162
 
1185
1163
  #alchemy .ui-dialog-content ul#sitemap ul li span.sitemap_sitename {
1186
- background-color: #f9f9f9;
1187
- width: 311px;
1188
- margin: 6px 0 0;
1189
- padding: 0 0 4px 4px;
1190
- height: 14px;
1191
- float: left;
1192
- line-height: 18px;
1164
+ background-color: #f9f9f9;
1165
+ width: 311px;
1166
+ margin: 6px 0 0;
1167
+ padding: 0 0 4px 4px;
1168
+ height: 14px;
1169
+ float: left;
1170
+ line-height: 18px;
1193
1171
  }
1194
1172
 
1195
1173
  #alchemy .ui-dialog-content ul#sitemap ul li ul li span.sitemap_sitename {
1196
- float: left;
1197
- background-color: #f9f9f9;
1198
- width: 290px;
1199
- margin: 6px 0 0;
1200
- padding: 0 0 4px 4px;
1201
- height: 14px;
1174
+ float: left;
1175
+ background-color: #f9f9f9;
1176
+ width: 290px;
1177
+ margin: 6px 0 0;
1178
+ padding: 0 0 4px 4px;
1179
+ height: 14px;
1202
1180
  }
1203
1181
 
1204
1182
  #alchemy .ui-dialog-content ul#sitemap ul li ul li ul li span.sitemap_sitename {
1205
- float: left;
1206
- background-color: #f9f9f9;
1207
- width: 269px;
1208
- margin: 6px 0 0;
1209
- padding: 0 0 4px 4px;
1210
- height: 14px;
1183
+ float: left;
1184
+ background-color: #f9f9f9;
1185
+ width: 269px;
1186
+ margin: 6px 0 0;
1187
+ padding: 0 0 4px 4px;
1188
+ height: 14px;
1211
1189
  }
1212
1190
 
1213
1191
  #alchemy .ui-dialog-content ul#sitemap ul li ul li ul li ul li span.sitemap_sitename {
1214
- float: left;
1215
- background-color: #f9f9f9;
1216
- width: 248px;
1217
- margin: 6px 0 0;
1218
- padding: 0 0 4px 4px;
1219
- height: 14px;
1192
+ float: left;
1193
+ background-color: #f9f9f9;
1194
+ width: 248px;
1195
+ margin: 6px 0 0;
1196
+ padding: 0 0 4px 4px;
1197
+ height: 14px;
1220
1198
  }
1221
1199
 
1222
1200
  #alchemy .ui-dialog-content ul#sitemap img.site_status {
1223
- float: left;
1224
- border-style: none;
1225
- margin-bottom: 0px;
1226
- border-width: 0;
1227
- padding: 0;
1228
- padding-top: 6px;
1229
- margin-right: 4px;
1201
+ float: left;
1202
+ border-style: none;
1203
+ margin-bottom: 0px;
1204
+ border-width: 0;
1205
+ padding: 0;
1206
+ padding-top: 6px;
1207
+ margin-right: 4px;
1230
1208
  }
1231
1209
 
1232
1210
  #alchemy .ui-dialog-content ul#sitemap ul li img {
1233
- border-width: 0;
1234
- border-style: none;
1235
- float: left;
1211
+ border-width: 0;
1212
+ border-style: none;
1213
+ float: left;
1236
1214
  }
1237
1215
 
1238
1216
  #alchemy .ui-dialog-content ul#sitemap .sitemap_row {
1239
- padding: 0;
1240
- margin: 0px;
1241
- font-size: 12px;
1242
- line-height: 22px;
1243
- position: relative;
1244
- height: 28px;
1217
+ padding: 0;
1218
+ margin: 0px;
1219
+ font-size: 12px;
1220
+ line-height: 22px;
1221
+ position: relative;
1222
+ height: 28px;
1245
1223
  }
1246
1224
 
1247
1225
  div.elements_from_page_selector {
1248
- width: 154px;
1226
+ width: 154px;
1249
1227
  }
1250
1228
 
1251
1229
  div.elements_for_page {
1252
- position: absolute;
1253
- right: 23px;
1254
- top: 0;
1255
- z-index: 15;
1256
- background-color: white;
1257
- width: 240px;
1258
- padding: $default-padding;
1259
- border: 1px solid #9c9d9c;
1260
- -webkit-box-shadow: #9ea09f 0px 0px 4px;
1261
- -moz-box-shadow: #9ea09f 0px 0px 4px;
1262
- -o-box-shadow: #9ea09f 0px 0px 4px;
1263
- box-shadow: #9ea09f 0px 0px 4px;
1264
- line-height: 13px;
1265
- @include rounded-corner;
1230
+ position: absolute;
1231
+ right: 23px;
1232
+ top: 0;
1233
+ z-index: 15;
1234
+ background-color: white;
1235
+ width: 240px;
1236
+ padding: $default-padding;
1237
+ border: 1px solid #9c9d9c;
1238
+ -webkit-box-shadow: #9ea09f 0px 0px 4px;
1239
+ -moz-box-shadow: #9ea09f 0px 0px 4px;
1240
+ -o-box-shadow: #9ea09f 0px 0px 4px;
1241
+ box-shadow: #9ea09f 0px 0px 4px;
1242
+ line-height: 13px;
1243
+ @include rounded-corner;
1266
1244
  }
1267
1245
 
1268
1246
  a.close_elements_from_page_selector {
1269
- position: absolute;
1270
- right: 0;
1271
- top: 8px;
1272
- font-size: 0;
1273
- padding-right: 2px;
1274
- width: 11px;
1275
- height: 15px;
1276
- background: image-url('alchemy/icons.png') no-repeat 0 -72px;
1277
- cursor: pointer;
1247
+ position: absolute;
1248
+ right: 0;
1249
+ top: 8px;
1250
+ font-size: 0;
1251
+ padding-right: 2px;
1252
+ width: 11px;
1253
+ height: 15px;
1254
+ background: image-url('alchemy/icons.png') no-repeat 0 -72px;
1255
+ cursor: pointer;
1278
1256
  }
1279
1257
 
1280
1258
  .elements_for_page img {
1281
- width: 20px;
1282
- height: 20px;
1259
+ width: 20px;
1260
+ height: 20px;
1283
1261
  }
1284
1262
 
1285
1263
  #alchemy .ui-dialog-content ul#sitemap ul .sitemap_row a {
1286
- color: black;
1287
- text-decoration: none;
1288
- display: block;
1289
- outline: none;
1264
+ color: black;
1265
+ text-decoration: none;
1266
+ display: block;
1267
+ outline: none;
1290
1268
  }
1291
1269
 
1292
1270
  #sitemap a.show_elements_to_link {
1293
- float: left;
1294
- width: 16px;
1295
- height: 16px;
1296
- position: relative;
1297
- background: image-url('alchemy/icons.png') no-repeat -512px -72px;
1298
- margin: 2px;
1299
- font-size: 0;
1300
- text-decoration: none;
1271
+ float: left;
1272
+ width: 16px;
1273
+ height: 16px;
1274
+ position: relative;
1275
+ background: image-url('alchemy/icons.png') no-repeat -512px -72px;
1276
+ margin: 2px;
1277
+ font-size: 0;
1278
+ text-decoration: none;
1301
1279
  }
1302
1280
 
1303
1281
  .bordertop_white {
1304
- border-top: 4px solid white;
1305
- padding-top: 8px;
1306
- padding-bottom: 8px;
1307
- overflow: auto;
1308
- float: none;
1282
+ border-top: 4px solid white;
1283
+ padding-top: 8px;
1284
+ padding-bottom: 8px;
1285
+ overflow: auto;
1286
+ float: none;
1309
1287
  }
1310
1288
 
1311
1289
  ul#assign_file_list {
1312
- margin-bottom: 8px;
1313
- margin-top: 8px;
1314
- clear: both;
1315
- height: 280px;
1316
- overflow-x: hidden;
1317
- overflow-y: auto;
1290
+ margin-bottom: 8px;
1291
+ margin-top: 8px;
1292
+ clear: both;
1293
+ height: 280px;
1294
+ overflow-x: hidden;
1295
+ overflow-y: auto;
1318
1296
  }
1319
1297
 
1320
- ul#sitemap li .sitemap_sitename.selected_page a{
1321
- background-color: #DB694C;
1322
- color: #f5f5f5;
1298
+ ul#sitemap li .sitemap_sitename.selected_page a {
1299
+ background-color: #DB694C;
1300
+ color: #f5f5f5;
1323
1301
  }
1324
1302
 
1325
1303
  #alchemy .ui-dialog-content ul#sitemap ul li span.sitemap_sitename.selected_page a {
1326
- font-weight: bold;
1327
- padding-left: 4px;
1304
+ font-weight: bold;
1305
+ padding-left: 4px;
1328
1306
  }
1329
1307
 
1330
1308
  #alchemy .ui-dialog-content ul#sitemap ul li span.sitemap_sitename a:hover {
1331
- font-weight: bold;
1309
+ font-weight: bold;
1332
1310
  }
1333
1311
 
1334
1312
  div.assign_file_file_name {
1335
- float: left;
1313
+ float: left;
1336
1314
  }
1337
1315
 
1338
1316
  .selected_file a {
1339
- font-weight: bold;
1340
- white-space: nowrap;
1341
- overflow: hidden;
1317
+ font-weight: bold;
1318
+ white-space: nowrap;
1319
+ overflow: hidden;
1342
1320
  }
1343
1321
 
1344
1322
  div.assign_file_file_icon img {
1345
- margin-top: 2px;
1323
+ margin-top: 2px;
1346
1324
  }
1347
1325
 
1348
1326
  #external_link_table .padding_right {
1349
- padding-right: 8px;
1327
+ padding-right: 8px;
1350
1328
  }
1351
1329
 
1352
1330
  #external_link_table .external_address_input {
1353
- width: 195px;
1331
+ width: 195px;
1354
1332
  }
1355
1333
 
1356
1334
  .elements_for_page .alchemy_selectbox {
1357
- float: left;
1358
- width: 217px;
1335
+ float: left;
1336
+ width: 217px;
1359
1337
  }
1360
1338
 
1361
1339
  table.window_form td.checkbox {
1362
- text-align: left;
1340
+ text-align: left;
1363
1341
  }
1364
1342
 
1365
1343
  select#url_protocol.medium {
1366
- margin: 0;
1344
+ margin: 0;
1367
1345
  }
1368
1346
 
1369
1347
  #alchemy .ui-dialog-content input.auto_resize, #alchemy .ui-dialog-content textarea.auto_resize {
1370
- width: 98%;
1348
+ width: 98%;
1371
1349
  }
1372
1350
 
1373
1351
  #alchemy .ui-dialog-content td.medium {
1374
- width: 76px;
1352
+ width: 76px;
1375
1353
  }
1376
1354
 
1377
1355
  #alchemy .ui-dialog-content input.medium_long {
1378
- width: 129px;
1356
+ width: 129px;
1379
1357
  }
1380
1358
 
1381
1359
  #alchemy .ui-dialog-content input.long,
1382
1360
  #alchemy .ui-dialog-content textarea.long {
1383
- margin: 0;
1384
- width: 240px;
1361
+ margin: 0;
1362
+ width: 240px;
1385
1363
  }
1386
1364
 
1387
1365
  #alchemy .ui-dialog-content input.very_long {
1388
- width: 300px;
1389
- margin: 0;
1366
+ width: 300px;
1367
+ margin: 0;
1390
1368
  }
1391
1369
 
1392
1370
  #alchemy .ui-dialog-content p a.button {
1393
- float: right;
1371
+ float: right;
1394
1372
  }
1395
1373
 
1396
1374
  #alchemy .ui-dialog-content p a.button.small {
1397
- float: none;
1398
- display: inline-block;
1375
+ float: none;
1376
+ display: inline-block;
1399
1377
  }
1400
1378
 
1401
1379
  .assign_file_file.selected_file {
1402
- background-color: #d1d1d1;
1380
+ background-color: #d1d1d1;
1403
1381
  }
1404
1382
 
1405
1383
  div.info ol {
1406
- margin: 0 0 8px;
1407
- padding-left: 20px;
1384
+ margin: 0 0 8px;
1385
+ padding-left: 20px;
1408
1386
  }
1409
1387
 
1410
1388
  div.info ol li {
1411
- text-indent: 0;
1412
- margin-bottom: 4px;
1389
+ text-indent: 0;
1390
+ margin-bottom: 4px;
1413
1391
  }
1414
1392
 
1415
1393
  div#overlay_toolbar {
1416
- background: $medium-gray image-url('alchemy/shading.png') repeat-x 0 -42px;
1417
- border: $default-border;
1418
- height: 38px;
1419
- border-left-style: none;
1420
- border-right-style: none;
1421
- padding: 2*$default-padding;
1394
+ background: $medium-gray image-url('alchemy/shading.png') repeat-x 0 -42px;
1395
+ border: $default-border;
1396
+ height: 38px;
1397
+ border-left-style: none;
1398
+ border-right-style: none;
1399
+ padding: 2*$default-padding;
1422
1400
  }
1423
1401
 
1424
1402
  div#overlay_toolbar div.toolbar_spacer {
1425
- float: left;
1426
- width: 1px;
1427
- height: 37px;
1428
- border-right-style: dotted;
1429
- border-right-width: 1px;
1430
- margin-right: 8px;
1431
- margin-left: 4px;
1403
+ float: left;
1404
+ width: 1px;
1405
+ height: 37px;
1406
+ border-right-style: dotted;
1407
+ border-right-width: 1px;
1408
+ margin-right: 8px;
1409
+ margin-left: 4px;
1432
1410
  }
1433
1411
 
1434
1412
  div#overlay_toolbar a.button {
1435
- width: 25px;
1436
- height: 21px;
1437
- text-decoration: none;
1438
- float: right;
1439
- border-width: 0;
1440
- border-style: none;
1441
- font-size: 0;
1442
- padding: 0;
1443
- background-repeat: no-repeat;
1444
- background-position: 0 0;
1413
+ width: 25px;
1414
+ height: 21px;
1415
+ text-decoration: none;
1416
+ float: right;
1417
+ border-width: 0;
1418
+ border-style: none;
1419
+ font-size: 0;
1420
+ padding: 0;
1421
+ background-repeat: no-repeat;
1422
+ background-position: 0 0;
1445
1423
  }
1446
1424
 
1447
1425
  div#overlay_toolbar a.button:active {
1448
- text-decoration: none;
1449
- background-position: 0 -21px;
1426
+ text-decoration: none;
1427
+ background-position: 0 -21px;
1450
1428
  }
1451
1429
 
1452
1430
  #alchemy div#overlay_toolbar form {
1453
- float: left;
1454
- padding: 0;
1455
- margin-right: 8px;
1431
+ float: left;
1432
+ padding: 0;
1433
+ margin-right: 8px;
1456
1434
  }
1457
1435
 
1458
1436
  #alchemy .ui-dialog #alchemyConfirmation.ui-dialog-content {
1459
- padding: 2*$default-padding;
1437
+ padding: 2*$default-padding;
1460
1438
  }
1461
1439
 
1462
1440
  #preview_load_info {
1463
- float: left;
1464
- width: 16px;
1465
- height: 16px;
1466
- margin: 1px 0 0 -12px;
1441
+ float: left;
1442
+ width: 16px;
1443
+ height: 16px;
1444
+ margin: 1px 0 0 -12px;
1467
1445
  }
1468
1446
 
1469
1447
  #clipboard_items {
1470
1448
 
1471
- ul {
1472
- list-style-type: none;
1473
- margin: 0 0 8px;
1474
- padding: 0;
1475
- height: 220px;
1476
- overflow-y: auto;
1477
- overflow-x: hidden;
1478
-
1479
- li {
1480
- padding: 2*$default-padding;
1481
- border: $default-border;
1482
- background-color: white;
1483
- @include rounded-corner;
1484
- &.element {
1485
- background-color: #E5DCCA;
1486
- border: 1px solid #BBA589;
1487
- }
1488
- }
1489
- }
1490
- }
1491
-
1492
- #trash_items {
1493
- height: 310px;
1494
- overflow-x: hidden;
1495
- overflow-y: auto;
1449
+ ul {
1450
+ list-style-type: none;
1451
+ margin: 0 0 8px;
1452
+ padding: 0;
1453
+ height: 220px;
1454
+ overflow-y: auto;
1455
+ overflow-x: hidden;
1456
+
1457
+ li {
1458
+ padding: 2*$default-padding;
1459
+ border: $default-border;
1460
+ background-color: white;
1461
+ @include rounded-corner;
1462
+ &.element {
1463
+ background-color: #E5DCCA;
1464
+ border: 1px solid #BBA589;
1465
+ }
1466
+ }
1467
+ }
1496
1468
  }
1497
1469
 
1498
1470
  .mceEditor table {
1499
- border-spacing: 0 !important;
1500
- }
1501
-
1502
- #sitemap_heading span.page_name {
1503
- margin-left: 24px;
1504
- line-height: 28px;
1471
+ border-spacing: 0 !important;
1472
+ }
1473
+
1474
+ #dropbox {
1475
+ background: $medium-gray;
1476
+ border: $default-border;
1477
+ @include rounded-corner;
1478
+ padding: $default-padding;
1479
+ margin-bottom: 2*$default-padding;
1480
+ text-align: center;
1481
+ line-height: 6em;
1482
+ &.dragover {
1483
+ background: $dark-gray;
1484
+ color: $light-gray;
1485
+ border-color: $light-gray;
1486
+ }
1487
+ }
1488
+
1489
+ div.browse {
1490
+ margin-bottom: 1em;
1505
1491
  }