alchemy_cms 2.0.7 → 2.1.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (256) hide show
  1. data/.gitignore +1 -4
  2. data/.travis.yml +1 -1
  3. data/Gemfile +7 -2
  4. data/README.md +6 -6
  5. data/Rakefile +26 -18
  6. data/alchemy_cms.gemspec +14 -14
  7. data/{assets/stylesheets → app/assets/images/alchemy}/Jcrop.gif +0 -0
  8. data/{assets/images → app/assets/images/alchemy}/ajax_loader.gif +0 -0
  9. data/{assets/images → app/assets/images/alchemy}/alchemy-logo.png +0 -0
  10. data/{assets/images → app/assets/images/alchemy}/flags.png +0 -0
  11. data/{assets/images → app/assets/images/alchemy}/gui/navi-tab.png +0 -0
  12. data/{assets/images → app/assets/images/alchemy}/gui/shading_90.png +0 -0
  13. data/{assets/images → app/assets/images/alchemy}/gui/toggle.png +0 -0
  14. data/{assets/images → app/assets/images/alchemy}/icons.png +0 -0
  15. data/{assets/images → app/assets/images/alchemy}/image_loader.gif +0 -0
  16. data/{assets/images → app/assets/images/alchemy}/jquery-sb/select_arrow.gif +0 -0
  17. data/{assets/images → app/assets/images/alchemy}/jquery-sb/select_arrow_bg.gif +0 -0
  18. data/{assets/images → app/assets/images/alchemy}/jquery-sb/select_arrow_bg_hover.gif +0 -0
  19. data/{assets/images → app/assets/images/alchemy}/placeholder.png +0 -0
  20. data/{assets/images/gui → app/assets/images/alchemy}/shading.png +0 -0
  21. data/{assets/images → app/assets/images/alchemy}/swfupload/browse_button.png +0 -0
  22. data/{assets/stylesheets/default/img → app/assets/images/alchemy}/tabs.gif +0 -0
  23. data/{assets/images/jquery-ui → app/assets/images/alchemy}/ui-icons_666666_256x240.png +0 -0
  24. data/app/assets/javascripts/alchemy/alchemy.base.js +212 -0
  25. data/app/assets/javascripts/alchemy/alchemy.buttons.js +36 -0
  26. data/app/assets/javascripts/alchemy/alchemy.dirty.js +91 -0
  27. data/app/assets/javascripts/alchemy/alchemy.dragndrop.js +114 -0
  28. data/{assets/javascripts → app/assets/javascripts/alchemy}/alchemy.element_editor_selector.js +0 -0
  29. data/{assets/javascripts → app/assets/javascripts/alchemy}/alchemy.growler.js +0 -0
  30. data/{assets/javascripts → app/assets/javascripts/alchemy}/alchemy.image_cropper.js +0 -0
  31. data/app/assets/javascripts/alchemy/alchemy.js +26 -0
  32. data/app/assets/javascripts/alchemy/alchemy.js_extensions.js +17 -0
  33. data/{assets/javascripts → app/assets/javascripts/alchemy}/alchemy.link_overlay.js +1 -1
  34. data/{assets/javascripts → app/assets/javascripts/alchemy}/alchemy.page_sorter.js +0 -0
  35. data/{assets/javascripts → app/assets/javascripts/alchemy}/alchemy.preview.js +0 -0
  36. data/app/assets/javascripts/alchemy/alchemy.windows.js +438 -0
  37. data/app/assets/stylesheets/alchemy/_defaults.scss +160 -0
  38. data/app/assets/stylesheets/alchemy/alchemy.css +9 -0
  39. data/{assets/stylesheets/alchemy.css → app/assets/stylesheets/alchemy/base.css.scss} +216 -353
  40. data/{assets/stylesheets/elements.css → app/assets/stylesheets/alchemy/elements.css.scss} +41 -70
  41. data/{assets/stylesheets/flags.css → app/assets/stylesheets/alchemy/flags.css.scss} +1 -1
  42. data/{assets/stylesheets/jquery-ui-1.8.7.alchemy.css → app/assets/stylesheets/alchemy/jquery-ui.alchemy.css} +15 -15
  43. data/{assets/stylesheets/jquery.Jcrop.css → app/assets/stylesheets/alchemy/jquery.Jcrop.css.scss} +3 -3
  44. data/{assets/stylesheets/jquery.sb.css → app/assets/stylesheets/alchemy/jquery.sb.css.scss} +19 -29
  45. data/{assets/stylesheets → app/assets/stylesheets/alchemy}/print.css +6 -1
  46. data/{assets/stylesheets → app/assets/stylesheets/alchemy}/standard_set.css +0 -0
  47. data/{assets/stylesheets/alchemy_tinymce_content.css → app/assets/stylesheets/alchemy/tinymce_content.css} +0 -0
  48. data/{assets/stylesheets/alchemy_tinymce_dialog.css → app/assets/stylesheets/alchemy/tinymce_dialog.css} +2 -2
  49. data/app/controllers/admin/attachments_controller.rb +2 -8
  50. data/app/controllers/admin/clipboard_controller.rb +2 -2
  51. data/app/controllers/admin/contents_controller.rb +4 -16
  52. data/app/controllers/admin/elements_controller.rb +2 -2
  53. data/app/controllers/admin/essence_audios_controller.rb +0 -3
  54. data/app/controllers/admin/essence_files_controller.rb +0 -11
  55. data/app/controllers/admin/essence_flashes_controller.rb +0 -3
  56. data/app/controllers/admin/essence_pictures_controller.rb +2 -7
  57. data/app/controllers/admin/essence_videos_controller.rb +0 -3
  58. data/app/controllers/admin/languages_controller.rb +4 -10
  59. data/app/controllers/admin/pages_controller.rb +6 -4
  60. data/app/controllers/admin/pictures_controller.rb +13 -18
  61. data/app/controllers/admin/trash_controller.rb +0 -5
  62. data/app/controllers/admin/users_controller.rb +2 -3
  63. data/app/controllers/alchemy_controller.rb +18 -30
  64. data/app/controllers/pages_controller.rb +21 -24
  65. data/app/helpers/admin/elements_helper.rb +5 -0
  66. data/app/helpers/admin/pages_helper.rb +36 -1
  67. data/app/helpers/alchemy_helper.rb +39 -17
  68. data/app/models/attachment.rb +2 -2
  69. data/app/models/essence_file.rb +1 -1
  70. data/app/models/page.rb +1 -1
  71. data/app/sweepers/pages_sweeper.rb +10 -0
  72. data/app/views/admin/attachments/destroy.js.erb +4 -0
  73. data/app/views/admin/clipboard/insert.js.erb +12 -19
  74. data/app/views/admin/contents/create.js.erb +1 -1
  75. data/app/views/admin/contents/destroy.js.erb +7 -0
  76. data/app/views/admin/contents/order.js.erb +6 -0
  77. data/app/views/admin/elements/_element.html.erb +4 -2
  78. data/app/views/admin/elements/create.js.erb +19 -26
  79. data/app/views/admin/elements/fold.js.erb +1 -1
  80. data/app/views/admin/elements/index.html.erb +1 -1
  81. data/app/views/admin/essence_files/assign.js.erb +8 -0
  82. data/app/views/admin/essence_pictures/save_link.js.erb +3 -0
  83. data/app/views/admin/index.html.erb +37 -27
  84. data/app/views/admin/languages/destroy.js.erb +1 -0
  85. data/app/views/admin/pages/_page.html.erb +1 -1
  86. data/app/views/admin/pages/_sitemap.html.erb +1 -1
  87. data/app/views/admin/pages/edit.html.erb +2 -2
  88. data/app/views/admin/pages/update.js.erb +1 -1
  89. data/app/views/admin/partials/_upload_form.html.erb +11 -11
  90. data/app/views/admin/pictures/archive_overlay.js.erb +1 -0
  91. data/app/views/admin/pictures/flush.js.erb +2 -0
  92. data/app/views/admin/pictures/update.js.erb +1 -0
  93. data/app/views/admin/trash/clear.js.erb +3 -0
  94. data/app/views/alchemy/error_notice.js.erb +1 -0
  95. data/app/views/alchemy/permission_denied.js.erb +2 -0
  96. data/app/views/alchemy/redirect.js.erb +1 -0
  97. data/app/views/alchemy/remote_errors.js.erb +3 -0
  98. data/app/views/alchemy/update.js.erb +5 -0
  99. data/app/views/essences/_essence_file_editor.html.erb +0 -1
  100. data/app/views/essences/_essence_file_view.html.erb +1 -5
  101. data/app/views/essences/_essence_picture_tools.html.erb +1 -1
  102. data/app/views/layouts/alchemy.html.erb +22 -9
  103. data/app/views/pages/show.rss.builder +1 -1
  104. data/config/alchemy/elements.yml +0 -5
  105. data/config/alchemy/page_layouts.yml +1 -1
  106. data/config/asset_packages.yml +17 -19
  107. data/config/authorization_rules.rb +1 -0
  108. data/config/locales/de.yml +0 -1
  109. data/config/routes.rb +1 -1
  110. data/lib/alchemy/tinymce.rb +51 -0
  111. data/lib/alchemy/version.rb +3 -3
  112. data/lib/alchemy_cms.rb +4 -2
  113. data/script/rails +6 -0
  114. data/spec/controllers/admin/clipboard_controller_spec.rb +15 -13
  115. data/spec/controllers/admin/contents_controller_spec.rb +4 -4
  116. data/spec/controllers/admin/trash_controller_spec.rb +6 -9
  117. data/spec/controllers/pages_controller_spec.rb +9 -8
  118. data/spec/dummy/Rakefile +1 -1
  119. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  120. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  121. data/spec/dummy/app/mailers/.gitkeep +0 -0
  122. data/spec/dummy/app/models/.gitkeep +0 -0
  123. data/spec/dummy/app/views/layouts/application.html.erb +3 -3
  124. data/spec/dummy/config/application.rb +12 -6
  125. data/spec/dummy/config/database.yml +3 -0
  126. data/spec/dummy/config/environments/development.rb +7 -3
  127. data/spec/dummy/config/environments/production.rb +23 -12
  128. data/spec/dummy/config/environments/test.rb +5 -1
  129. data/spec/dummy/config/initializers/secret_token.rb +1 -1
  130. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  131. data/spec/dummy/config/locales/en.yml +1 -1
  132. data/spec/dummy/config/routes.rb +1 -1
  133. data/spec/dummy/lib/assets/.gitkeep +0 -0
  134. data/spec/factories.rb +8 -8
  135. data/spec/helpers/admin/elements_helper_spec.rb +2 -2
  136. data/spec/helpers/contents_helper_spec.rb +1 -1
  137. data/spec/helpers/elements_helper_spec.rb +6 -6
  138. data/spec/helpers/essences_helper_spec.rb +1 -1
  139. data/spec/helpers/pages_helper_spec.rb +37 -37
  140. data/spec/integration/pages_controller_spec.rb +29 -26
  141. data/spec/integration/security_spec.rb +2 -1
  142. data/spec/models/content_spec.rb +1 -1
  143. data/spec/models/element_spec.rb +11 -11
  144. data/spec/models/language_spec.rb +5 -5
  145. data/spec/models/page_spec.rb +54 -54
  146. data/spec/models/user_spec.rb +2 -1
  147. data/spec/routing_spec.rb +1 -1
  148. data/{assets/javascripts/jquery.js → vendor/assets/javascripts/jquery-1.6.2.min.js} +0 -0
  149. data/{assets/javascripts/jquery-ui.js → vendor/assets/javascripts/jquery-ui-custom-1.8.16.min.js} +0 -0
  150. data/{assets/javascripts → vendor/assets/javascripts/jquery_plugins}/jquery.Jcrop.min.js +0 -0
  151. data/{assets/javascripts → vendor/assets/javascripts/jquery_plugins}/jquery.dialogextend.min.js +7 -7
  152. data/{assets/javascripts → vendor/assets/javascripts/jquery_plugins}/jquery.in-place-edit.js +0 -0
  153. data/{assets/javascripts → vendor/assets/javascripts/jquery_plugins}/jquery.sb.min.js +0 -0
  154. data/{assets/javascripts → vendor/assets/javascripts/jquery_plugins}/jquery.scrollTo-1.4.2-min.js +10 -10
  155. data/{assets/javascripts → vendor/assets/javascripts/jquery_plugins}/jquery.ui.nestedSortable.js +0 -0
  156. data/{assets/javascripts → vendor/assets/javascripts/jquery_plugins}/jquery.ui.tabspaging.js +0 -0
  157. data/{assets → vendor/assets}/javascripts/swfupload/fileprogress.js +202 -202
  158. data/{assets → vendor/assets}/javascripts/swfupload/handlers.js +171 -171
  159. data/{assets → vendor/assets}/javascripts/swfupload/queue.js +97 -97
  160. data/{assets → vendor/assets}/javascripts/swfupload/swfupload.js +980 -980
  161. data/{assets → vendor/assets}/javascripts/swfupload/swfupload.swf +0 -0
  162. data/{assets → vendor/assets}/javascripts/tiny_mce/jquery.tinymce.js +0 -0
  163. data/{assets → vendor/assets}/javascripts/tiny_mce/langs/de.js +0 -0
  164. data/{assets → vendor/assets}/javascripts/tiny_mce/langs/en.js +0 -0
  165. data/{assets → vendor/assets}/javascripts/tiny_mce/license.txt +504 -504
  166. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/alchemy_link/editor_plugin.js +0 -0
  167. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/alchemy_link/langs/de.js +0 -0
  168. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/alchemy_link/langs/en.js +0 -0
  169. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +0 -0
  170. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -0
  171. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +110 -110
  172. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -0
  173. data/{assets/javascripts/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css → vendor/assets/javascripts/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css.erb} +8 -8
  174. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/inlinepopups/template.htm +387 -387
  175. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/paste/editor_plugin.js +0 -0
  176. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/paste/js/pastetext.js +36 -36
  177. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/paste/js/pasteword.js +51 -51
  178. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/paste/langs/de_dlg.js +0 -0
  179. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +0 -0
  180. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/paste/pastetext.htm +26 -26
  181. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/paste/pasteword.htm +21 -21
  182. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/cell.htm +180 -180
  183. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/css/cell.css +16 -16
  184. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/css/row.css +25 -25
  185. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/css/table.css +13 -13
  186. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/editor_plugin.js +0 -0
  187. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/js/cell.js +319 -319
  188. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/js/merge_cells.js +27 -27
  189. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/js/row.js +237 -237
  190. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/js/table.js +450 -450
  191. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/langs/de_dlg.js +0 -0
  192. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +0 -0
  193. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/merge_cells.htm +32 -32
  194. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/row.htm +158 -158
  195. data/{assets → vendor/assets}/javascripts/tiny_mce/plugins/table/table.htm +188 -188
  196. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/about.htm +52 -52
  197. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/anchor.htm +26 -26
  198. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/charmap.htm +51 -51
  199. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/color_picker.htm +74 -74
  200. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/editor_template.js +0 -0
  201. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/image.htm +80 -80
  202. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  203. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/flash.gif +0 -0
  204. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  205. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/iframe.gif +0 -0
  206. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/pagebreak.gif +0 -0
  207. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
  208. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/realmedia.gif +0 -0
  209. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
  210. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/trans.gif +0 -0
  211. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/video.gif +0 -0
  212. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/img/windowsmedia.gif +0 -0
  213. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/about.js +73 -73
  214. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/anchor.js +43 -43
  215. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/charmap.js +355 -355
  216. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/color_picker.js +329 -329
  217. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/image.js +251 -251
  218. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/link.js +153 -153
  219. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/js/source_editor.js +56 -56
  220. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/langs/de.js +0 -0
  221. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +0 -0
  222. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/langs/en.js +0 -0
  223. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +0 -0
  224. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/link.htm +57 -57
  225. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/shortcuts.htm +47 -47
  226. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/content.css +50 -50
  227. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +117 -117
  228. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  229. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  230. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  231. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  232. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  233. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  234. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +214 -214
  235. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +48 -48
  236. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +117 -117
  237. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  238. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  239. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  240. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +217 -217
  241. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +7 -7
  242. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -5
  243. data/{assets → vendor/assets}/javascripts/tiny_mce/themes/advanced/source_editor.htm +25 -25
  244. data/{assets → vendor/assets}/javascripts/tiny_mce/tiny_mce.js +0 -0
  245. data/{assets → vendor/assets}/javascripts/tiny_mce/tiny_mce_popup.js +0 -0
  246. data/{assets → vendor/assets}/javascripts/tiny_mce/utils/editable_selects.js +70 -70
  247. data/{assets → vendor/assets}/javascripts/tiny_mce/utils/form_utils.js +210 -210
  248. data/{assets → vendor/assets}/javascripts/tiny_mce/utils/mctabs.js +161 -161
  249. data/{assets → vendor/assets}/javascripts/tiny_mce/utils/validate.js +252 -252
  250. metadata +338 -369
  251. data/app/views/elements/_download_editor.html.erb +0 -1
  252. data/app/views/elements/_download_view.html.erb +0 -3
  253. data/assets/javascripts/alchemy.js +0 -903
  254. data/assets/javascripts/jquery.rails.js +0 -315
  255. data/assets/stylesheets/ie6.css +0 -18
  256. data/config/initializers/tinymce_hammer.rb +0 -31
@@ -1,8 +1,4 @@
1
- /* @override
2
- http://localhost:3000/stylesheets/alchemy/elements.css
3
- http://0.0.0.0:3000/stylesheets/alchemy/elements.css
4
- http://localhost:3000/stylesheets/alchemy/elements.css
5
- */
1
+ @import "defaults";
6
2
 
7
3
  #alchemy div.content_editor input.text_with_icon.auto_resize.thin_border {
8
4
  padding-right: 52px;
@@ -39,7 +35,7 @@ img.add_element_spinner {
39
35
  }
40
36
 
41
37
  #element_area h2#no_elements_on_page_notice {
42
- padding: 8px;
38
+ padding: 2*$default-padding;
43
39
  text-align: center;
44
40
  }
45
41
 
@@ -62,7 +58,7 @@ img.add_element_spinner {
62
58
  position: absolute;
63
59
  top: 0;
64
60
  left: 0;
65
- background: url(/images/alchemy/icons.png) no-repeat -224px -72px;
61
+ background: image-url('alchemy/icons.png') no-repeat -224px -72px;
66
62
  }
67
63
 
68
64
  .element_handle span.icon {
@@ -109,7 +105,7 @@ div.element_foot span.element_public {
109
105
  padding: 4px;
110
106
  background-color: #f0e8d7;
111
107
  border: 1px solid #c2baab;
112
- border-radius: 3px;
108
+ @include rounded-corner;
113
109
  height: 115px;
114
110
  }
115
111
 
@@ -119,7 +115,7 @@ div.element_foot span.element_public {
119
115
  text-align: center;
120
116
  font-weight: bold;
121
117
  line-height: 104px;
122
- border-radius: 3px;
118
+ @include rounded-corner;
123
119
  font-size: 40px;
124
120
  display: block;
125
121
  height: 100%;
@@ -128,14 +124,14 @@ div.element_foot span.element_public {
128
124
  }
129
125
 
130
126
  .add_content a .icon.assign {
131
- background: url(/images/alchemy/icons.png) no-repeat -288px -72px;
127
+ background: image-url('alchemy/icons.png') no-repeat -288px -72px;
132
128
  position: absolute;
133
129
  top: 52px;
134
130
  left: 47px;
135
131
  }
136
132
 
137
133
  .element_foot {
138
- padding: 8px;
134
+ padding: 2*$default-padding;
139
135
  border-top-style: none;
140
136
  position: relative;
141
137
  background-color: #e5dcca;
@@ -175,16 +171,13 @@ div.element_foot span.element_public {
175
171
 
176
172
  div.element_editor {
177
173
  border: 1px solid #bba589;
178
- -webkit-border-radius: 3px;
179
- -moz-border-radius: 3px;
180
- border-radius: 3px;
174
+ @include rounded-corner;
181
175
  background-color: #f0e8d7;
182
176
  margin-bottom: 8px;
183
177
  }
184
178
 
185
179
  div.element_editor.not-draggable {
186
- opacity: 0.5;
187
- filter: alpha(opacity = 50);
180
+ @include opacity-50;
188
181
  }
189
182
 
190
183
  div.element_editor.dirty {
@@ -225,15 +218,15 @@ span.element_tools_icons {
225
218
  }
226
219
 
227
220
  a.delete_element_button {
228
- background: url(/images/alchemy/icons.png) no-repeat -63px -72px;
221
+ background: image-url('alchemy/icons.png') no-repeat -63px -72px;
229
222
  }
230
223
 
231
224
  a.element_copy_button {
232
- background: url(/images/alchemy/icons.png) no-repeat -128px -72px;
225
+ background: image-url('alchemy/icons.png') no-repeat -128px -72px;
233
226
  }
234
227
 
235
228
  a.element_move_button {
236
- background: url(/images/alchemy/icons.png) no-repeat -97px -72px;
229
+ background: image-url('alchemy/icons.png') no-repeat -97px -72px;
237
230
  }
238
231
 
239
232
  .element_head {
@@ -258,9 +251,7 @@ div.picture_gallery_images {
258
251
  overflow: hidden;
259
252
  margin-bottom: 8px;
260
253
  border: 1px inset #cecece;
261
- -webkit-border-radius: 3px;
262
- -moz-border-radius: 3px;
263
- border-radius: 3px;
254
+ @include rounded-corner;
264
255
  background-color: #e5dcca;
265
256
  padding: 1px;
266
257
  }
@@ -335,20 +326,16 @@ div.content_editor a.icon_button {
335
326
  position: absolute;
336
327
  bottom: 0;
337
328
  right: 24px;
338
- -webkit-border-radius: 0;
339
- -moz-border-radius: 0;
340
- border-radius: 0;
329
+ @include reset-border-radius;
341
330
  }
342
331
 
343
332
  div.content_editor a.icon_button.unlink {
344
- -webkit-border-radius: 0 3px 3px 0;
345
- -moz-border-radius: 0 3px 3px 0;
346
- border-radius: 0 3px 3px 0;
333
+ @include right-rounded-border;
347
334
  right: 1px;
348
335
  }
349
336
 
350
337
  a.expand_element {
351
- background: url(/images/alchemy/icons.png) no-repeat -160px -72px;
338
+ background: image-url('alchemy/icons.png') no-repeat -160px -72px;
352
339
  height: 16px;
353
340
  width: 16px;
354
341
  text-decoration: none;
@@ -357,7 +344,7 @@ a.expand_element {
357
344
  }
358
345
 
359
346
  a.fold_element {
360
- background: url(/images/alchemy/icons.png) no-repeat -192px -72px;
347
+ background: image-url('alchemy/icons.png') no-repeat -192px -72px;
361
348
  height: 16px;
362
349
  width: 16px;
363
350
  text-decoration: none;
@@ -366,9 +353,9 @@ a.fold_element {
366
353
  }
367
354
 
368
355
  .content_editor select.essence_editor_select {
369
- -moz-border-radius: 2px 2px 2px 2px;
356
+ @include rounded-corner;
370
357
  background: white;
371
- border: 1px solid #9A9A9A;
358
+ border: 1px solid $button-border-color;
372
359
  font-size:11px;
373
360
  height:21px;
374
361
  line-height:21px;
@@ -393,9 +380,9 @@ a.fold_element {
393
380
  }
394
381
 
395
382
  .droppable_element_placeholder {
396
- border: 1px dotted #9A9A9A;
397
- background-color: #e3e3e3;
398
- margin-bottom: 8px;
383
+ border: 1px dotted $button-border-color;
384
+ background-color: $medium-gray;
385
+ margin-bottom: 2*$default-margin;
399
386
  }
400
387
 
401
388
  .edit_images_bottom {
@@ -421,11 +408,8 @@ a.icon_button.linked {
421
408
 
422
409
  .edit_images_bottom a.linked {
423
410
  position: relative;
424
- -webkit-border-radius: 3px;
425
- -moz-border-radius: 3px;
426
- -o-border-radius: 3px;
427
- border-radius: 3px;
428
- background-image: url(/images/alchemy/gui/shading.png);
411
+ @include rounded-corner;
412
+ background-image: image-url('alchemy/shading.png');
429
413
  background-repeat: repeat-x;
430
414
  background-position: 0 -75px;
431
415
  background-color: #ffd77a;
@@ -438,9 +422,8 @@ a.icon_button.linked {
438
422
  }
439
423
 
440
424
  .edit_images_bottom a.disabled {
441
- opacity: 0.5;
425
+ @include opacity-50;
442
426
  cursor: default;
443
- filter: alpha(opacity = 50);
444
427
  }
445
428
 
446
429
  div.content_editor.essence_picture_editor {
@@ -533,9 +516,7 @@ div.file {
533
516
  margin-bottom: 4px;
534
517
  border: 1px solid #c0c0c0;
535
518
  background-color: #f3f3f3;
536
- border-radius: 3px;
537
- -webkit-border-radius: 3px;
538
- -moz-border-radius: 3px;
519
+ @include rounded-corner;
539
520
  height: 24px;
540
521
  }
541
522
 
@@ -547,15 +528,15 @@ div.file_icon {
547
528
  }
548
529
 
549
530
  div.file_icon span.icon {
550
- margin: 4px;
531
+ margin: $default-margin;
551
532
  }
552
533
 
553
534
  div.file_icon a.assign_file {
554
535
  display: block;
555
536
  height: 16px;
556
- background: url(/images/alchemy/icons.png) no-repeat -480px -40px;
537
+ background: image-url('alchemy/icons.png') no-repeat -240px -24px;
557
538
  width: 16px;
558
- margin: 4px;
539
+ margin: $default-margin;
559
540
  }
560
541
 
561
542
  div.file_name {
@@ -578,16 +559,16 @@ div.essence_file_tools a{
578
559
  text-decoration: none;
579
560
  width: 16px;
580
561
  height: 16px;
581
- margin: 4px;
562
+ margin: $default-margin;
582
563
  float: left;
583
564
  }
584
565
 
585
566
  div.essence_file_tools a.assign_file {
586
- background: url(/images/alchemy/icons.png) -512px -40px;
567
+ background: image-url('alchemy/icons.png') -256px -24px;
587
568
  }
588
569
 
589
570
  div.essence_file_tools a.edit_file {
590
- background: url(/images/alchemy/icons.png) -160px -167px;
571
+ background: image-url('alchemy/icons.png') -16px -24px;
591
572
  }
592
573
 
593
574
  td.content_editor_essence_type {
@@ -624,7 +605,7 @@ div.essence_richtext_loader {
624
605
  width: 100%;
625
606
  height: 100%;
626
607
  background-color: #ededed;
627
- opacity: 0.95;
608
+ @include opacity-95;
628
609
  }
629
610
 
630
611
  div.essence_richtext_loader img {
@@ -669,12 +650,10 @@ div.content_editor {
669
650
 
670
651
  div.content_editor.missing p {
671
652
  line-height: 25px;
672
- padding: 8px;
653
+ padding: 2*$default-padding;
673
654
  border: 1px solid #f5b04e;
674
655
  background-color: #f5dea9;
675
- -webkit-border-radius: 3px;
676
- -moz-border-radius: 3px;
677
- border-radius: 3px;
656
+ @include rounded-corner;
678
657
  font-size: 11px;
679
658
  }
680
659
 
@@ -716,9 +695,7 @@ div.content_editor label span.warning.icon {
716
695
  padding: 8px 4px 8px 32px;
717
696
  margin-bottom: 8px;
718
697
  margin-top: 8px;
719
- -webkit-border-radius: 4px;
720
- -moz-border-radius: 4px;
721
- border-radius: 4px;
698
+ @include rounded-corner;
722
699
  border: 1px solid #f5b04e;
723
700
  position: relative;
724
701
  }
@@ -735,9 +712,7 @@ div.content_editor label span.warning.icon {
735
712
  line-height: 21px;
736
713
  background-color: #f5dea9;
737
714
  margin-top: 4px;
738
- -webkit-border-radius: 3px;
739
- -moz-border-radius: 3px;
740
- border-radius: 3px;
715
+ @include rounded-corner;
741
716
  }
742
717
 
743
718
  p.content_editor_error span.icon.warning {
@@ -778,7 +753,7 @@ textarea {
778
753
  width: 362px;
779
754
  border-style: inset;
780
755
  border-width: 1px;
781
- border-radius: 3px;
756
+ @include rounded-corner;
782
757
  height: 100px;
783
758
  }
784
759
 
@@ -803,9 +778,7 @@ div.element_editor div.error {
803
778
  padding: 8px 4px 8px 32px;
804
779
  margin-bottom: 8px;
805
780
  margin-top: 8px;
806
- -webkit-border-radius: 3px;
807
- -moz-border-radius: 3px;
808
- border-radius: 3px;
781
+ @include rounded-corner;
809
782
  background-color: #f1c9ca;
810
783
  color: #931f23;
811
784
  border-style: solid;
@@ -823,11 +796,9 @@ div.element_editor div.error span.icon {
823
796
  margin-top: 8px;
824
797
  margin-bottom: 8px;
825
798
  background-color: #f1c9ca;
826
- padding: 8px;
799
+ padding: 2*$default-padding;
827
800
  list-style-type: none;
828
- -webkit-border-radius: 3px;
829
- -moz-border-radius: 3px;
830
- border-radius: 3px;
801
+ @include rounded-corner;
831
802
  color: #931f23;
832
803
  border-style: solid;
833
804
  border-width: 1px;
@@ -1 +1 @@
1
- .flag{width:16px;height:11px;line-height:11px;background:url(/images/alchemy/flags.png) no-repeat}.flag.ad{background-position:0 0}.flag.ae{background-position:0 -11px}.flag.af{background-position:0 -22px}.flag.ag{background-position:0 -33px}.flag.ai{background-position:0 -44px}.flag.al{background-position:0 -55px}.flag.am{background-position:0 -66px}.flag.an{background-position:0 -77px}.flag.ao{background-position:0 -88px}.flag.ar{background-position:0 -99px}.flag.as{background-position:0 -110px}.flag.at{background-position:0 -121px}.flag.au{background-position:0 -132px}.flag.aw{background-position:0 -143px}.flag.ax{background-position:0 -154px}.flag.az{background-position:0 -165px}.flag.ba{background-position:0 -176px}.flag.bb{background-position:0 -187px}.flag.bd{background-position:0 -198px}.flag.be{background-position:0 -209px}.flag.bf{background-position:0 -220px}.flag.bg{background-position:0 -231px}.flag.bh{background-position:0 -242px}.flag.bi{background-position:0 -253px}.flag.bj{background-position:0 -264px}.flag.bm{background-position:0 -275px}.flag.bn{background-position:0 -286px}.flag.bo{background-position:0 -297px}.flag.br{background-position:0 -308px}.flag.bs{background-position:0 -319px}.flag.bt{background-position:0 -330px}.flag.bv{background-position:0 -341px}.flag.bw{background-position:0 -352px}.flag.by{background-position:0 -363px}.flag.bz{background-position:0 -374px}.flag.ca{background-position:0 -385px}.flag.catalonia{background-position:0 -396px}.flag.cc{background-position:0 -407px}.flag.cd{background-position:0 -418px}.flag.cf{background-position:0 -429px}.flag.cg{background-position:0 -440px}.flag.ch{background-position:0 -451px}.flag.ci{background-position:0 -462px}.flag.ck{background-position:0 -473px}.flag.cl{background-position:0 -484px}.flag.cm{background-position:0 -495px}.flag.cn{background-position:0 -506px}.flag.co{background-position:0 -517px}.flag.cu{background-position:0 -528px}.flag.cr{background-position:0 -539px}.flag.cs{background-position:0 -550px}.flag.cv{background-position:0 -561px}.flag.cx{background-position:0 -572px}.flag.cy{background-position:-16px 0}.flag.cz{background-position:-16px -11px}.flag.de{background-position:-16px -22px}.flag.dj{background-position:-16px -33px}.flag.dk{background-position:-16px -44px}.flag.dm{background-position:-16px -55px}.flag.do{background-position:-16px -66px}.flag.dz{background-position:-16px -77px}.flag.ec{background-position:-16px -88px}.flag.ee{background-position:-16px -99px}.flag.eg{background-position:-16px -110px}.flag.eh{background-position:-16px -121px}.flag.england{background-position:-16px -132px}.flag.er{background-position:-16px -143px}.flag.es{background-position:-16px -154px}.flag.et{background-position:-16px -165px}.flag.eu{background-position:-16px -176px}.flag.fam{background-position:-16px -187px}.flag.fi{background-position:-16px -198px}.flag.fj{background-position:-16px -209px}.flag.fk{background-position:-16px -220px}.flag.fm{background-position:-16px -231px}.flag.fo{background-position:-16px -242px}.flag.fr{background-position:-16px -253px}.flag.ga{background-position:-16px -264px}.flag.en{background-position:-16px -275px}.flag.gd{background-position:-16px -286px}.flag.ge{background-position:-16px -297px}.flag.gf{background-position:-16px -308px}.flag.gh{background-position:-16px -319px}.flag.gi{background-position:-16px -330px}.flag.gl{background-position:-16px -341px}.flag.gm{background-position:-16px -352px}.flag.gn{background-position:-16px -363px}.flag.gp{background-position:-16px -374px}.flag.gq{background-position:-16px -385px}.flag.gr{background-position:-16px -396px}.flag.gs{background-position:-16px -407px}.flag.gt{background-position:-16px -418px}.flag.gu{background-position:-16px -429px}.flag.gw{background-position:-16px -440px}.flag.gy{background-position:-16px -451px}.flag.hk{background-position:-16px -462px}.flag.hm{background-position:-16px -473px}.flag.hn{background-position:-16px -484px}.flag.hr{background-position:-16px -495px}.flag.ht{background-position:-16px -506px}.flag.hu{background-position:-16px -517px}.flag.id{background-position:-16px -528px}.flag.ie{background-position:-16px -539px}.flag.il{background-position:-16px -550px}.flag.in{background-position:-16px -561px}.flag.io{background-position:-16px -572px}.flag.iq{background-position:-32px 0}.flag.ir{background-position:-32px -11px}.flag.is{background-position:-32px -22px}.flag.it{background-position:-32px -33px}.flag.jm{background-position:-32px -44px}.flag.jo{background-position:-32px -55px}.flag.jp{background-position:-32px -66px}.flag.ke{background-position:-32px -77px}.flag.kg{background-position:-32px -88px}.flag.kh{background-position:-32px -99px}.flag.ki{background-position:-32px -110px}.flag.km{background-position:-32px -121px}.flag.kn{background-position:-32px -132px}.flag.kp{background-position:-32px -143px}.flag.kr{background-position:-32px -154px}.flag.kw{background-position:-32px -165px}.flag.ky{background-position:-32px -176px}.flag.kz{background-position:-32px -187px}.flag.la{background-position:-32px -198px}.flag.lb{background-position:-32px -209px}.flag.lc{background-position:-32px -220px}.flag.li{background-position:-32px -231px}.flag.lr{background-position:-32px -242px}.flag.lk{background-position:-32px -253px}.flag.ls{background-position:-32px -264px}.flag.lt{background-position:-32px -275px}.flag.lu{background-position:-32px -286px}.flag.lv{background-position:-32px -297px}.flag.ly{background-position:-32px -308px}.flag.ma{background-position:-32px -319px}.flag.mc{background-position:-32px -330px}.flag.md{background-position:-32px -341px}.flag.me{background-position:-32px -352px}.flag.mg{background-position:-32px -363px}.flag.mh{background-position:-32px -374px}.flag.mk{background-position:-32px -385px}.flag.ml{background-position:-32px -396px}.flag.mm{background-position:-32px -407px}.flag.mn{background-position:-32px -418px}.flag.mo{background-position:-32px -429px}.flag.mp{background-position:-32px -440px}.flag.mq{background-position:-32px -451px}.flag.mr{background-position:-32px -462px}.flag.ms{background-position:-32px -473px}.flag.mt{background-position:-32px -484px}.flag.mu{background-position:-32px -495px}.flag.mv{background-position:-32px -506px}.flag.mw{background-position:-32px -517px}.flag.mx{background-position:-32px -528px}.flag.my{background-position:-32px -539px}.flag.mz{background-position:-32px -550px}.flag.na{background-position:-32px -561px}.flag.nc{background-position:-32px -572px}.flag.ne{background-position:-48px 0}.flag.nf{background-position:-48px -11px}.flag.ng{background-position:-48px -22px}.flag.ni{background-position:-48px -33px}.flag.nl{background-position:-48px -44px}.flag.no{background-position:-48px -55px}.flag.np{background-position:-48px -66px}.flag.nr{background-position:-48px -77px}.flag.nu{background-position:-48px -88px}.flag.nz{background-position:-48px -99px}.flag.om{background-position:-48px -110px}.flag.pa{background-position:-48px -121px}.flag.pe{background-position:-48px -132px}.flag.pf{background-position:-48px -143px}.flag.pg{background-position:-48px -154px}.flag.ph{background-position:-48px -165px}.flag.pk{background-position:-48px -176px}.flag.pl{background-position:-48px -187px}.flag.pm{background-position:-48px -198px}.flag.pn{background-position:-48px -209px}.flag.pr{background-position:-48px -220px}.flag.ps{background-position:-48px -231px}.flag.pt{background-position:-48px -242px}.flag.pw{background-position:-48px -253px}.flag.py{background-position:-48px -264px}.flag.qa{background-position:-48px -275px}.flag.re{background-position:-48px -286px}.flag.ro{background-position:-48px -297px}.flag.rs{background-position:-48px -308px}.flag.ru{background-position:-48px -319px}.flag.rw{background-position:-48px -330px}.flag.sa{background-position:-48px -341px}.flag.sb{background-position:-48px -352px}.flag.sc{background-position:-48px -363px}.flag.scotland{background-position:-48px -374px}.flag.sd{background-position:-48px -385px}.flag.se{background-position:-48px -396px}.flag.sg{background-position:-48px -407px}.flag.sh{background-position:-48px -418px}.flag.si{background-position:-48px -429px}.flag.sj{background-position:-48px -440px}.flag.sk{background-position:-48px -451px}.flag.sl{background-position:-48px -462px}.flag.sm{background-position:-48px -473px}.flag.sn{background-position:-48px -484px}.flag.so{background-position:-48px -495px}.flag.sr{background-position:-48px -506px}.flag.st{background-position:-48px -517px}.flag.sv{background-position:-48px -528px}.flag.sy{background-position:-48px -539px}.flag.sz{background-position:-48px -550px}.flag.tc{background-position:-48px -561px}.flag.td{background-position:-48px -572px}.flag.tf{background-position:-64px 0}.flag.tg{background-position:-64px -11px}.flag.th{background-position:-64px -22px}.flag.tj{background-position:-64px -33px}.flag.tk{background-position:-64px -44px}.flag.tl{background-position:-64px -55px}.flag.tm{background-position:-64px -66px}.flag.tn{background-position:-64px -77px}.flag.to{background-position:-64px -88px}.flag.tr{background-position:-64px -99px}.flag.tt{background-position:-64px -110px}.flag.tv{background-position:-64px -121px}.flag.tw{background-position:-64px -132px}.flag.tz{background-position:-64px -143px}.flag.ua{background-position:-64px -154px}.flag.ug{background-position:-64px -165px}.flag.um{background-position:-64px -176px}.flag.us{background-position:-64px -187px}.flag.uy{background-position:-64px -198px}.flag.uz{background-position:-64px -209px}.flag.va{background-position:-64px -220px}.flag.vc{background-position:-64px -231px}.flag.ve{background-position:-64px -242px}.flag.vg{background-position:-64px -253px}.flag.vi{background-position:-64px -264px}.flag.vn{background-position:-64px -275px}.flag.vu{background-position:-64px -286px}.flag.wales{background-position:-64px -297px}.flag.wf{background-position:-64px -308px}.flag.ws{background-position:-64px -319px}.flag.ye{background-position:-64px -330px}.flag.yt{background-position:-64px -341px}.flag.za{background-position:-64px -352px}.flag.zm{background-position:-64px -363px}.flag.zw{background-position:-64px -374px}
1
+ .flag{width:16px;height:11px;line-height:11px;background:image-url('alchemy/flags.png') no-repeat}.flag.ad{background-position:0 0}.flag.ae{background-position:0 -11px}.flag.af{background-position:0 -22px}.flag.ag{background-position:0 -33px}.flag.ai{background-position:0 -44px}.flag.al{background-position:0 -55px}.flag.am{background-position:0 -66px}.flag.an{background-position:0 -77px}.flag.ao{background-position:0 -88px}.flag.ar{background-position:0 -99px}.flag.as{background-position:0 -110px}.flag.at{background-position:0 -121px}.flag.au{background-position:0 -132px}.flag.aw{background-position:0 -143px}.flag.ax{background-position:0 -154px}.flag.az{background-position:0 -165px}.flag.ba{background-position:0 -176px}.flag.bb{background-position:0 -187px}.flag.bd{background-position:0 -198px}.flag.be{background-position:0 -209px}.flag.bf{background-position:0 -220px}.flag.bg{background-position:0 -231px}.flag.bh{background-position:0 -242px}.flag.bi{background-position:0 -253px}.flag.bj{background-position:0 -264px}.flag.bm{background-position:0 -275px}.flag.bn{background-position:0 -286px}.flag.bo{background-position:0 -297px}.flag.br{background-position:0 -308px}.flag.bs{background-position:0 -319px}.flag.bt{background-position:0 -330px}.flag.bv{background-position:0 -341px}.flag.bw{background-position:0 -352px}.flag.by{background-position:0 -363px}.flag.bz{background-position:0 -374px}.flag.ca{background-position:0 -385px}.flag.catalonia{background-position:0 -396px}.flag.cc{background-position:0 -407px}.flag.cd{background-position:0 -418px}.flag.cf{background-position:0 -429px}.flag.cg{background-position:0 -440px}.flag.ch{background-position:0 -451px}.flag.ci{background-position:0 -462px}.flag.ck{background-position:0 -473px}.flag.cl{background-position:0 -484px}.flag.cm{background-position:0 -495px}.flag.cn{background-position:0 -506px}.flag.co{background-position:0 -517px}.flag.cu{background-position:0 -528px}.flag.cr{background-position:0 -539px}.flag.cs{background-position:0 -550px}.flag.cv{background-position:0 -561px}.flag.cx{background-position:0 -572px}.flag.cy{background-position:-16px 0}.flag.cz{background-position:-16px -11px}.flag.de{background-position:-16px -22px}.flag.dj{background-position:-16px -33px}.flag.dk{background-position:-16px -44px}.flag.dm{background-position:-16px -55px}.flag.do{background-position:-16px -66px}.flag.dz{background-position:-16px -77px}.flag.ec{background-position:-16px -88px}.flag.ee{background-position:-16px -99px}.flag.eg{background-position:-16px -110px}.flag.eh{background-position:-16px -121px}.flag.england{background-position:-16px -132px}.flag.er{background-position:-16px -143px}.flag.es{background-position:-16px -154px}.flag.et{background-position:-16px -165px}.flag.eu{background-position:-16px -176px}.flag.fam{background-position:-16px -187px}.flag.fi{background-position:-16px -198px}.flag.fj{background-position:-16px -209px}.flag.fk{background-position:-16px -220px}.flag.fm{background-position:-16px -231px}.flag.fo{background-position:-16px -242px}.flag.fr{background-position:-16px -253px}.flag.ga{background-position:-16px -264px}.flag.en{background-position:-16px -275px}.flag.gd{background-position:-16px -286px}.flag.ge{background-position:-16px -297px}.flag.gf{background-position:-16px -308px}.flag.gh{background-position:-16px -319px}.flag.gi{background-position:-16px -330px}.flag.gl{background-position:-16px -341px}.flag.gm{background-position:-16px -352px}.flag.gn{background-position:-16px -363px}.flag.gp{background-position:-16px -374px}.flag.gq{background-position:-16px -385px}.flag.gr{background-position:-16px -396px}.flag.gs{background-position:-16px -407px}.flag.gt{background-position:-16px -418px}.flag.gu{background-position:-16px -429px}.flag.gw{background-position:-16px -440px}.flag.gy{background-position:-16px -451px}.flag.hk{background-position:-16px -462px}.flag.hm{background-position:-16px -473px}.flag.hn{background-position:-16px -484px}.flag.hr{background-position:-16px -495px}.flag.ht{background-position:-16px -506px}.flag.hu{background-position:-16px -517px}.flag.id{background-position:-16px -528px}.flag.ie{background-position:-16px -539px}.flag.il{background-position:-16px -550px}.flag.in{background-position:-16px -561px}.flag.io{background-position:-16px -572px}.flag.iq{background-position:-32px 0}.flag.ir{background-position:-32px -11px}.flag.is{background-position:-32px -22px}.flag.it{background-position:-32px -33px}.flag.jm{background-position:-32px -44px}.flag.jo{background-position:-32px -55px}.flag.jp{background-position:-32px -66px}.flag.ke{background-position:-32px -77px}.flag.kg{background-position:-32px -88px}.flag.kh{background-position:-32px -99px}.flag.ki{background-position:-32px -110px}.flag.km{background-position:-32px -121px}.flag.kn{background-position:-32px -132px}.flag.kp{background-position:-32px -143px}.flag.kr{background-position:-32px -154px}.flag.kw{background-position:-32px -165px}.flag.ky{background-position:-32px -176px}.flag.kz{background-position:-32px -187px}.flag.la{background-position:-32px -198px}.flag.lb{background-position:-32px -209px}.flag.lc{background-position:-32px -220px}.flag.li{background-position:-32px -231px}.flag.lr{background-position:-32px -242px}.flag.lk{background-position:-32px -253px}.flag.ls{background-position:-32px -264px}.flag.lt{background-position:-32px -275px}.flag.lu{background-position:-32px -286px}.flag.lv{background-position:-32px -297px}.flag.ly{background-position:-32px -308px}.flag.ma{background-position:-32px -319px}.flag.mc{background-position:-32px -330px}.flag.md{background-position:-32px -341px}.flag.me{background-position:-32px -352px}.flag.mg{background-position:-32px -363px}.flag.mh{background-position:-32px -374px}.flag.mk{background-position:-32px -385px}.flag.ml{background-position:-32px -396px}.flag.mm{background-position:-32px -407px}.flag.mn{background-position:-32px -418px}.flag.mo{background-position:-32px -429px}.flag.mp{background-position:-32px -440px}.flag.mq{background-position:-32px -451px}.flag.mr{background-position:-32px -462px}.flag.ms{background-position:-32px -473px}.flag.mt{background-position:-32px -484px}.flag.mu{background-position:-32px -495px}.flag.mv{background-position:-32px -506px}.flag.mw{background-position:-32px -517px}.flag.mx{background-position:-32px -528px}.flag.my{background-position:-32px -539px}.flag.mz{background-position:-32px -550px}.flag.na{background-position:-32px -561px}.flag.nc{background-position:-32px -572px}.flag.ne{background-position:-48px 0}.flag.nf{background-position:-48px -11px}.flag.ng{background-position:-48px -22px}.flag.ni{background-position:-48px -33px}.flag.nl{background-position:-48px -44px}.flag.no{background-position:-48px -55px}.flag.np{background-position:-48px -66px}.flag.nr{background-position:-48px -77px}.flag.nu{background-position:-48px -88px}.flag.nz{background-position:-48px -99px}.flag.om{background-position:-48px -110px}.flag.pa{background-position:-48px -121px}.flag.pe{background-position:-48px -132px}.flag.pf{background-position:-48px -143px}.flag.pg{background-position:-48px -154px}.flag.ph{background-position:-48px -165px}.flag.pk{background-position:-48px -176px}.flag.pl{background-position:-48px -187px}.flag.pm{background-position:-48px -198px}.flag.pn{background-position:-48px -209px}.flag.pr{background-position:-48px -220px}.flag.ps{background-position:-48px -231px}.flag.pt{background-position:-48px -242px}.flag.pw{background-position:-48px -253px}.flag.py{background-position:-48px -264px}.flag.qa{background-position:-48px -275px}.flag.re{background-position:-48px -286px}.flag.ro{background-position:-48px -297px}.flag.rs{background-position:-48px -308px}.flag.ru{background-position:-48px -319px}.flag.rw{background-position:-48px -330px}.flag.sa{background-position:-48px -341px}.flag.sb{background-position:-48px -352px}.flag.sc{background-position:-48px -363px}.flag.scotland{background-position:-48px -374px}.flag.sd{background-position:-48px -385px}.flag.se{background-position:-48px -396px}.flag.sg{background-position:-48px -407px}.flag.sh{background-position:-48px -418px}.flag.si{background-position:-48px -429px}.flag.sj{background-position:-48px -440px}.flag.sk{background-position:-48px -451px}.flag.sl{background-position:-48px -462px}.flag.sm{background-position:-48px -473px}.flag.sn{background-position:-48px -484px}.flag.so{background-position:-48px -495px}.flag.sr{background-position:-48px -506px}.flag.st{background-position:-48px -517px}.flag.sv{background-position:-48px -528px}.flag.sy{background-position:-48px -539px}.flag.sz{background-position:-48px -550px}.flag.tc{background-position:-48px -561px}.flag.td{background-position:-48px -572px}.flag.tf{background-position:-64px 0}.flag.tg{background-position:-64px -11px}.flag.th{background-position:-64px -22px}.flag.tj{background-position:-64px -33px}.flag.tk{background-position:-64px -44px}.flag.tl{background-position:-64px -55px}.flag.tm{background-position:-64px -66px}.flag.tn{background-position:-64px -77px}.flag.to{background-position:-64px -88px}.flag.tr{background-position:-64px -99px}.flag.tt{background-position:-64px -110px}.flag.tv{background-position:-64px -121px}.flag.tw{background-position:-64px -132px}.flag.tz{background-position:-64px -143px}.flag.ua{background-position:-64px -154px}.flag.ug{background-position:-64px -165px}.flag.um{background-position:-64px -176px}.flag.us{background-position:-64px -187px}.flag.uy{background-position:-64px -198px}.flag.uz{background-position:-64px -209px}.flag.va{background-position:-64px -220px}.flag.vc{background-position:-64px -231px}.flag.ve{background-position:-64px -242px}.flag.vg{background-position:-64px -253px}.flag.vi{background-position:-64px -264px}.flag.vn{background-position:-64px -275px}.flag.vu{background-position:-64px -286px}.flag.wales{background-position:-64px -297px}.flag.wf{background-position:-64px -308px}.flag.ws{background-position:-64px -319px}.flag.ye{background-position:-64px -330px}.flag.yt{background-position:-64px -341px}.flag.za{background-position:-64px -352px}.flag.zm{background-position:-64px -363px}.flag.zw{background-position:-64px -374px}
@@ -159,7 +159,7 @@
159
159
 
160
160
  #alchemy .ui-state-default, #alchemy .ui-widget-content .ui-state-default, #alchemy .ui-widget-header .ui-state-default {
161
161
  border: 1px solid #9a9a9a;
162
- background: #ededed url(/images/alchemy/gui/shading.png) repeat-x 50% -67px;
162
+ background: #ededed url('/assets/alchemy/shading.png') repeat-x 50% -67px;
163
163
  font-weight: normal;
164
164
  color: #333333;
165
165
  text-shadow: #f2f2f2 1px 1px 0;
@@ -173,7 +173,7 @@
173
173
  #alchemy .ui-state-hover, #alchemy .ui-widget-content .ui-state-hover, #alchemy .ui-widget-header .ui-state-hover, #alchemy .ui-state-focus, #alchemy .ui-widget-content .ui-state-focus, #alchemy .ui-widget-header .ui-state-focus, #alchemy .ui-dialog .ui-dialog-titlebar-refresh:hover, #alchemy .ui-dialog .ui-dialog-titlebar-refresh:focus
174
174
  {
175
175
  border: 1px solid #888888;
176
- background: #e6f0f5 url(/images/alchemy/gui/shading.png) repeat-x 50% -65px;
176
+ background: #e6f0f5 url('/assets/alchemy/shading.png') repeat-x 50% -65px;
177
177
  font-weight: normal;
178
178
  color: #333;
179
179
  }
@@ -227,7 +227,7 @@
227
227
 
228
228
  #alchemy .ui-state-highlight, #alchemy .ui-widget-content .ui-state-highlight, #alchemy .ui-widget-header .ui-state-highlight {
229
229
  border: 1px solid #f9dd34;
230
- background: #ffef8f url(/images/alchemy/jquery-ui/ui-bg_highlight-soft_25_ffef8f_1x100.png) 50% top repeat-x;
230
+ background: #ffef8f url('/assets/alchemy/ui-bg_highlight-soft_25_ffef8f_1x100.png') 50% top repeat-x;
231
231
  color: #363636;
232
232
  }
233
233
 
@@ -237,7 +237,7 @@
237
237
 
238
238
  #alchemy .ui-state-error, #alchemy .ui-widget-content .ui-state-error, #alchemy .ui-widget-header .ui-state-error {
239
239
  border: 1px solid #cd0a0a;
240
- background: #cd0a0a url(/images/alchemy/jquery-ui/ui-bg_flat_15_cd0a0a_40x100.png) 50% 50% repeat-x;
240
+ background: #cd0a0a url('/assets/alchemy/ui-bg_flat_15_cd0a0a_40x100.png') 50% 50% repeat-x;
241
241
  color: #ffffff;
242
242
  }
243
243
 
@@ -273,35 +273,35 @@
273
273
  #alchemy .ui-icon {
274
274
  width: 16px;
275
275
  height: 16px;
276
- background-image: url(/images/alchemy/jquery-ui/ui-icons_666666_256x240.png);
276
+ background-image: url('/assets/alchemy/ui-icons_666666_256x240.png');
277
277
  }
278
278
 
279
279
  #alchemy .ui-widget-content .ui-icon {
280
- background-image: url(/images/alchemy/jquery-ui/ui-icons_666666_256x240.png);
280
+ background-image: url('/assets/alchemy/ui-icons_666666_256x240.png');
281
281
  }
282
282
 
283
283
  #alchemy .ui-widget-header .ui-icon {
284
- background-image: url(/images/alchemy/jquery-ui/ui-icons_666666_256x240.png);
284
+ background-image: url('/assets/alchemy/ui-icons_666666_256x240.png');
285
285
  }
286
286
 
287
287
  #alchemy .ui-state-default .ui-icon {
288
- background-image: url(/images/alchemy/jquery-ui/ui-icons_666666_256x240.png);
288
+ background-image: url('/assets/alchemy/ui-icons_666666_256x240.png');
289
289
  }
290
290
 
291
291
  #alchemy .ui-state-hover .ui-icon, #alchemy .ui-state-focus .ui-icon {
292
- background-image: url(/images/alchemy/jquery-ui/ui-icons_666666_256x240.png);
292
+ background-image: url('/assets/alchemy/ui-icons_666666_256x240.png');
293
293
  }
294
294
 
295
295
  #alchemy .ui-state-active .ui-icon {
296
- background-image: url(/images/alchemy/jquery-ui/ui-icons_666666_256x240.png);
296
+ background-image: url('/assets/alchemy/ui-icons_666666_256x240.png');
297
297
  }
298
298
 
299
299
  #alchemy .ui-state-highlight .ui-icon {
300
- background-image: url(/images/alchemy/jquery-ui/ui-icons_2e83ff_256x240.png);
300
+ background-image: url('/assets/alchemy/ui-icons_2e83ff_256x240.png');
301
301
  }
302
302
 
303
303
  #alchemy .ui-state-error .ui-icon, #alchemy .ui-state-error-text .ui-icon {
304
- background-image: url(/images/alchemy/jquery-ui/ui-icons_ffffff_256x240.png);
304
+ background-image: url('/assets/alchemy/ui-icons_ffffff_256x240.png');
305
305
  }
306
306
 
307
307
  /* positioning */
@@ -1085,7 +1085,7 @@
1085
1085
  #alchemy .ui-widget-shadow {
1086
1086
  margin: -8px 0 0 -8px;
1087
1087
  padding: 8px;
1088
- background: #000000 url(/images/alchemy/jquery-ui/ui-bg_flat_70_000000_40x100.png) 50% 50% repeat-x;
1088
+ background: #000000 url('/assets/alchemy/ui-bg_flat_70_000000_40x100.png') 50% 50% repeat-x;
1089
1089
  opacity: .30;
1090
1090
  filter: Alpha(Opacity=30);
1091
1091
  -moz-border-radius: 3px;
@@ -1659,11 +1659,11 @@ button.ui-button::-moz-focus-inner {
1659
1659
  border-width: 0;
1660
1660
  }
1661
1661
 
1662
- /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
1662
+ /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed') */
1663
1663
 
1664
1664
  #alchemy .ui-tabs .ui-tabs-nav {
1665
1665
  padding: 4px 8px 0;
1666
- background: #e5e5e5 url(../../images/alchemy/gui/shading.png) 0 -59px;
1666
+ background: #e5e5e5 url('/assets/alchemy/shading.png') 0 -59px;
1667
1667
  -webkit-border-radius: 0;
1668
1668
  -moz-border-radius: 0;
1669
1669
  border-radius: 0;
@@ -1,3 +1,4 @@
1
+ @import "defaults";
1
2
  /* Fixes issue here http://code.google.com/p/jcrop/issues/detail?id=1 */
2
3
  .jcrop-holder { text-align: left; }
3
4
 
@@ -5,7 +6,7 @@
5
6
  {
6
7
  font-size: 0px;
7
8
  position: absolute;
8
- background: white url('Jcrop.gif') top left repeat;
9
+ background: white image-url('alchemy/Jcrop.gif') top left repeat;
9
10
  }
10
11
  .jcrop-vline { height: 100%; width: 1px !important; }
11
12
  .jcrop-hline { width: 100%; height: 1px !important; }
@@ -30,6 +31,5 @@
30
31
  {
31
32
  border-color: black;
32
33
  background-color: #C7BB00;
33
- -moz-border-radius: 3px;
34
- -webkit-border-radius: 3px;
34
+ @include rounded-corner;
35
35
  }
@@ -1,4 +1,4 @@
1
- /* @override http://localhost:3000/stylesheets/alchemy/jquery.sb.css */
1
+ @import "defaults";
2
2
 
3
3
  /* always visible styles */
4
4
 
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  #alchemy .selectbox .display {
23
- border: 1px solid #abadb3;
23
+ border: 1px solid $button-border-color;
24
24
  cursor: default;
25
25
  display: block;
26
26
  font-weight: normal;
@@ -30,10 +30,8 @@
30
30
  position: relative;
31
31
  text-decoration: none;
32
32
  overflow: hidden;
33
- border-radius: 3px;
34
- -moz-border-radius: 3px;
35
- -webkit-border-radius: 3px;
36
- background: #f5f5f5 url(/images/alchemy/gui/shading.png) repeat-x 0 -69px;
33
+ @include rounded-corner;
34
+ background: $button-bg-color image-url('alchemy/shading.png') repeat-x 0 -69px;
37
35
  }
38
36
 
39
37
  #alchemy .content_editor.validation_failed .selectbox .display {
@@ -41,7 +39,7 @@
41
39
  }
42
40
 
43
41
  #alchemy .selectbox .display .text {
44
- text-shadow: #f2f2f2 1px 1px 0;
42
+ text-shadow: $button-text-shadow;
45
43
  }
46
44
 
47
45
  #alchemy .selectbox .display.long {
@@ -61,7 +59,7 @@
61
59
  }
62
60
 
63
61
  #alchemy .selectbox.focused .display {
64
- border: 1px solid #888888;
62
+ border: 1px solid $button-hover-border-color;
65
63
  }
66
64
 
67
65
  #alchemy .selectbox.focused .display .text {
@@ -70,7 +68,7 @@
70
68
 
71
69
  #alchemy .selectbox.focused .display .arrow_btn,
72
70
  #alchemy .selectbox .display:hover .arrow_btn {
73
- background: #e6f0f5 url(/images/alchemy/gui/shading.png) repeat-x 50% -75px;
71
+ background: $button-hover-bg-color image-url('alchemy/shading.png') repeat-x 50% -75px;
74
72
  }
75
73
 
76
74
 
@@ -87,11 +85,11 @@
87
85
  }
88
86
 
89
87
  #alchemy .selectbox .display.hover .arrow_btn .interior {
90
- background: #e6f0f5 url(/images/alchemy/gui/shading.png) repeat-x 0 -75px;
88
+ background: #e6f0f5 image-url('alchemy/shading.png') repeat-x 0 -75px;
91
89
  }
92
90
 
93
91
  #alchemy .selectbox .display .arrow_btn {
94
- background: #ededed url(/images/alchemy/gui/shading.png) repeat-x 0 -75px;
92
+ background: #ededed image-url('alchemy/shading.png') repeat-x 0 -75px;
95
93
  display: block;
96
94
  height: 23px;
97
95
  padding: 0;
@@ -108,7 +106,7 @@
108
106
  }
109
107
 
110
108
  #alchemy .selectbox .display .arrow_btn .arrow {
111
- background: url(../../images/alchemy/jquery-ui/ui-icons_666666_256x240.png) no-repeat -63px -11px;
109
+ background: image-url('alchemy/ui-icons_666666_256x240.png') no-repeat -63px -11px;
112
110
  display: block;
113
111
  height: 23px;
114
112
  width: 19px;
@@ -126,8 +124,8 @@
126
124
  /* dropdown styles */
127
125
 
128
126
  #alchemy .items {
129
- background: #f5f5f5;
130
- border: 1px solid #828790;
127
+ background: $button-bg-color;
128
+ border: 1px solid $button-border-color;
131
129
  display: block;
132
130
  list-style-type: none;
133
131
  margin: 0;
@@ -137,9 +135,7 @@
137
135
  -moz-box-shadow: 0 3px 5px rgba(0,0,0,.5);
138
136
  -webkit-box-shadow: 0 3px 5px rgba(0,0,0,.5);
139
137
  box-shadow: 0 3px 5px rgba(0,0,0,.5);
140
- border-radius: 3px;
141
- -moz-border-radius: 3px;
142
- -webkit-border-radius: 3px;
138
+ @include rounded-corner;
143
139
  padding: 0;
144
140
  line-height: 15px;
145
141
  font-size: 11px;
@@ -169,7 +165,7 @@
169
165
  display: block;
170
166
  margin: 0;
171
167
  padding: 0;
172
- white-space:nowrap;
168
+ white-space:nowrap;
173
169
  }
174
170
 
175
171
  #alchemy .items li:first-child {
@@ -177,7 +173,7 @@
177
173
  }
178
174
 
179
175
  #alchemy .items li .item {
180
- color: #333;
176
+ color: $text-color;
181
177
  cursor: default;
182
178
  display: block;
183
179
  text-decoration: none;
@@ -186,7 +182,7 @@
186
182
 
187
183
  #alchemy .items li.selected .item {
188
184
  background-color: #e6f0f5;
189
- color: #333;
185
+ color: $text-color;
190
186
  }
191
187
 
192
188
  #alchemy .items li.disabled .item {
@@ -195,7 +191,7 @@
195
191
 
196
192
  #alchemy .items li.hover > .item {
197
193
  background-color: #e6f0f5;
198
- color: #333;
194
+ color: $text-color;
199
195
  cursor: pointer;
200
196
  }
201
197
 
@@ -223,17 +219,11 @@
223
219
  }
224
220
 
225
221
  #alchemy .items>li.first .item {
226
- -moz-border-radius-topleft: 3px;
227
- -moz-border-radius-topright: 3px;
228
- -webkit-border-top-left-radius: 3px;
229
- -webkit-border-top-right-radius: 3px;
222
+ @include top-rounded-border;
230
223
  }
231
224
 
232
225
  #alchemy .items>li.last .item {
233
- -moz-border-radius-bottomleft: 3px;
234
- -moz-border-radius-bottomright: 3px;
235
- -webkit-border-bottom-left-radius: 3px;
236
- -webkit-border-bottom-right-radius: 3px;
226
+ @include bottom-rounded-border;
237
227
  }
238
228
 
239
229
  /* for optgroups */