refinerycms 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (451) hide show
  1. data/CONTRIBUTORS +8 -0
  2. data/LICENSE +21 -0
  3. data/README +40 -0
  4. data/app/controllers/application.rb +3 -0
  5. data/app/controllers/application_controller.rb +8 -0
  6. data/config/amazon_s3.yml +17 -0
  7. data/config/boot.rb +110 -0
  8. data/config/database.yml.example +20 -0
  9. data/config/environment.rb +67 -0
  10. data/config/environments/development.rb +17 -0
  11. data/config/environments/production.rb +19 -0
  12. data/config/environments/test.rb +22 -0
  13. data/config/initializers/inflections.rb +10 -0
  14. data/config/initializers/mime_types.rb +5 -0
  15. data/config/rackspace_cloudfiles.yml +14 -0
  16. data/config/routes.rb +19 -0
  17. data/db/migrate/20090903030652_remove_title_from_resources.rb +9 -0
  18. data/db/migrate/20090914025122_change_default_image_thumbnails.rb +9 -0
  19. data/db/migrate/20090916025552_resave_refinery_settings_through_serializer.rb +13 -0
  20. data/db/migrate/20090916045536_create_user_plugins.rb +41 -0
  21. data/db/migrate/20090916055243_add_position_to_user_plugins.rb +9 -0
  22. data/db/schema.rb +141 -0
  23. data/db/seeds.rb +109 -0
  24. data/lib/refinery_initializer.rb +9 -0
  25. data/public/.htaccess +40 -0
  26. data/public/404.html +29 -0
  27. data/public/422.html +30 -0
  28. data/public/500.html +30 -0
  29. data/public/favicon.ico +0 -0
  30. data/public/images/lightbox/bullet.gif +0 -0
  31. data/public/images/lightbox/close.gif +0 -0
  32. data/public/images/lightbox/closelabel.gif +0 -0
  33. data/public/images/lightbox/donate-button.gif +0 -0
  34. data/public/images/lightbox/download-icon.gif +0 -0
  35. data/public/images/lightbox/loading.gif +0 -0
  36. data/public/images/lightbox/nextlabel.gif +0 -0
  37. data/public/images/lightbox/prevlabel.gif +0 -0
  38. data/public/images/refinery/add.gif +0 -0
  39. data/public/images/refinery/add.png +0 -0
  40. data/public/images/refinery/admin_bg.png +0 -0
  41. data/public/images/refinery/ajax-loader.gif +0 -0
  42. data/public/images/refinery/branch-end.gif +0 -0
  43. data/public/images/refinery/branch-start.gif +0 -0
  44. data/public/images/refinery/branch.gif +0 -0
  45. data/public/images/refinery/cross.gif +0 -0
  46. data/public/images/refinery/deactive-gradient.gif +0 -0
  47. data/public/images/refinery/delete.gif +0 -0
  48. data/public/images/refinery/drag.gif +0 -0
  49. data/public/images/refinery/edit.gif +0 -0
  50. data/public/images/refinery/header-background.gif +0 -0
  51. data/public/images/refinery/header_background.png +0 -0
  52. data/public/images/refinery/hover-gradient.jpg +0 -0
  53. data/public/images/refinery/icons/accept.png +0 -0
  54. data/public/images/refinery/icons/add.png +0 -0
  55. data/public/images/refinery/icons/application_edit.png +0 -0
  56. data/public/images/refinery/icons/application_go.png +0 -0
  57. data/public/images/refinery/icons/arrow_left.png +0 -0
  58. data/public/images/refinery/icons/arrow_switch.png +0 -0
  59. data/public/images/refinery/icons/arrow_up.png +0 -0
  60. data/public/images/refinery/icons/bin_closed.png +0 -0
  61. data/public/images/refinery/icons/cancel.png +0 -0
  62. data/public/images/refinery/icons/cog_add.png +0 -0
  63. data/public/images/refinery/icons/cog_edit.png +0 -0
  64. data/public/images/refinery/icons/cross.png +0 -0
  65. data/public/images/refinery/icons/delete.png +0 -0
  66. data/public/images/refinery/icons/edit.png +0 -0
  67. data/public/images/refinery/icons/email_edit.png +0 -0
  68. data/public/images/refinery/icons/email_go.png +0 -0
  69. data/public/images/refinery/icons/email_open.png +0 -0
  70. data/public/images/refinery/icons/eye.png +0 -0
  71. data/public/images/refinery/icons/help.png +0 -0
  72. data/public/images/refinery/icons/image_add.png +0 -0
  73. data/public/images/refinery/icons/image_edit.png +0 -0
  74. data/public/images/refinery/icons/layout_add.png +0 -0
  75. data/public/images/refinery/icons/layout_edit.png +0 -0
  76. data/public/images/refinery/icons/page_add.png +0 -0
  77. data/public/images/refinery/icons/page_edit.png +0 -0
  78. data/public/images/refinery/icons/page_link.png +0 -0
  79. data/public/images/refinery/icons/page_white_edit.png +0 -0
  80. data/public/images/refinery/icons/page_white_put.png +0 -0
  81. data/public/images/refinery/icons/reorder.png +0 -0
  82. data/public/images/refinery/icons/tick.png +0 -0
  83. data/public/images/refinery/icons/user.png +0 -0
  84. data/public/images/refinery/icons/user_add.png +0 -0
  85. data/public/images/refinery/icons/user_comment.png +0 -0
  86. data/public/images/refinery/icons/user_edit.png +0 -0
  87. data/public/images/refinery/info.gif +0 -0
  88. data/public/images/refinery/logo.png +0 -0
  89. data/public/images/refinery/m-tools.gif +0 -0
  90. data/public/images/refinery/magnifier.png +0 -0
  91. data/public/images/refinery/nav-3-background.gif +0 -0
  92. data/public/images/refinery/page_bg.png +0 -0
  93. data/public/images/refinery/resolve-digital.gif +0 -0
  94. data/public/images/refinery/search.gif +0 -0
  95. data/public/images/refinery/shad_blcorner.png +0 -0
  96. data/public/images/refinery/shad_bottom.png +0 -0
  97. data/public/images/refinery/shad_brcorner.png +0 -0
  98. data/public/images/refinery/shad_tlcorner.png +0 -0
  99. data/public/images/refinery/shad_trcorner.png +0 -0
  100. data/public/images/refinery/tableft.gif +0 -0
  101. data/public/images/refinery/tabright.gif +0 -0
  102. data/public/images/refinery/tick.gif +0 -0
  103. data/public/images/thickbox/cross.png +0 -0
  104. data/public/images/thickbox/loadingAnimation.gif +0 -0
  105. data/public/images/thickbox/macFFBgHack.png +0 -0
  106. data/public/images/wymeditor/skins/refinery/blockquote.png +0 -0
  107. data/public/images/wymeditor/skins/refinery/center.png +0 -0
  108. data/public/images/wymeditor/skins/refinery/css.png +0 -0
  109. data/public/images/wymeditor/skins/refinery/h1.png +0 -0
  110. data/public/images/wymeditor/skins/refinery/h2.png +0 -0
  111. data/public/images/wymeditor/skins/refinery/h3.png +0 -0
  112. data/public/images/wymeditor/skins/refinery/h4.png +0 -0
  113. data/public/images/wymeditor/skins/refinery/h5.png +0 -0
  114. data/public/images/wymeditor/skins/refinery/h6.png +0 -0
  115. data/public/images/wymeditor/skins/refinery/icons.png +0 -0
  116. data/public/images/wymeditor/skins/refinery/iframe/lbl-blockquote.png +0 -0
  117. data/public/images/wymeditor/skins/refinery/iframe/lbl-h1.png +0 -0
  118. data/public/images/wymeditor/skins/refinery/iframe/lbl-h2.png +0 -0
  119. data/public/images/wymeditor/skins/refinery/iframe/lbl-h3.png +0 -0
  120. data/public/images/wymeditor/skins/refinery/iframe/lbl-h4.png +0 -0
  121. data/public/images/wymeditor/skins/refinery/iframe/lbl-h5.png +0 -0
  122. data/public/images/wymeditor/skins/refinery/iframe/lbl-h6.png +0 -0
  123. data/public/images/wymeditor/skins/refinery/iframe/lbl-p.png +0 -0
  124. data/public/images/wymeditor/skins/refinery/iframe/lbl-pre.png +0 -0
  125. data/public/images/wymeditor/skins/refinery/justify.png +0 -0
  126. data/public/images/wymeditor/skins/refinery/left.png +0 -0
  127. data/public/images/wymeditor/skins/refinery/paragraph.png +0 -0
  128. data/public/images/wymeditor/skins/refinery/right.png +0 -0
  129. data/public/images/wymeditor/skins/wymeditor_icon.png +0 -0
  130. data/public/javascripts/admin.js +26 -0
  131. data/public/javascripts/application.js +2 -0
  132. data/public/javascripts/builder.js +136 -0
  133. data/public/javascripts/controls.js +963 -0
  134. data/public/javascripts/dialog.js +52 -0
  135. data/public/javascripts/dragdrop.js +973 -0
  136. data/public/javascripts/effects.js +1128 -0
  137. data/public/javascripts/fastinit.js +84 -0
  138. data/public/javascripts/jquery/GPL-LICENSE.txt +278 -0
  139. data/public/javascripts/jquery/MIT-LICENSE.txt +20 -0
  140. data/public/javascripts/jquery/README +67 -0
  141. data/public/javascripts/jquery/jquery.js +11 -0
  142. data/public/javascripts/jquery/jquery.ui.draggable.js +1 -0
  143. data/public/javascripts/jquery/jquery.ui.js +1 -0
  144. data/public/javascripts/jquery/jquery.ui.resizable.js +1 -0
  145. data/public/javascripts/jquery/jquery.ui.sortable.js +1 -0
  146. data/public/javascripts/lightbox.js +503 -0
  147. data/public/javascripts/livepipe.js +356 -0
  148. data/public/javascripts/overlabel.js +66 -0
  149. data/public/javascripts/parse_url.js +38 -0
  150. data/public/javascripts/prototype.enhancements.js +24 -0
  151. data/public/javascripts/prototype.js +4320 -0
  152. data/public/javascripts/scriptaculous.js +47 -0
  153. data/public/javascripts/slider.js +275 -0
  154. data/public/javascripts/tabs.js +147 -0
  155. data/public/javascripts/thickbox.js +363 -0
  156. data/public/javascripts/tooltips.js +173 -0
  157. data/public/javascripts/wymeditor/boot_wym.js +163 -0
  158. data/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +4986 -0
  159. data/public/javascripts/wymeditor/lang/ca.js +45 -0
  160. data/public/javascripts/wymeditor/lang/cs.js +45 -0
  161. data/public/javascripts/wymeditor/lang/de.js +45 -0
  162. data/public/javascripts/wymeditor/lang/en.js +48 -0
  163. data/public/javascripts/wymeditor/lang/es.js +45 -0
  164. data/public/javascripts/wymeditor/lang/fa.js +46 -0
  165. data/public/javascripts/wymeditor/lang/fr.js +45 -0
  166. data/public/javascripts/wymeditor/lang/he.js +45 -0
  167. data/public/javascripts/wymeditor/lang/hu.js +45 -0
  168. data/public/javascripts/wymeditor/lang/it.js +45 -0
  169. data/public/javascripts/wymeditor/lang/nb.js +45 -0
  170. data/public/javascripts/wymeditor/lang/nl.js +45 -0
  171. data/public/javascripts/wymeditor/lang/nn.js +45 -0
  172. data/public/javascripts/wymeditor/lang/pl.js +45 -0
  173. data/public/javascripts/wymeditor/lang/pt-br.js +45 -0
  174. data/public/javascripts/wymeditor/lang/pt.js +45 -0
  175. data/public/javascripts/wymeditor/lang/ru.js +45 -0
  176. data/public/javascripts/wymeditor/lang/sv.js +45 -0
  177. data/public/javascripts/wymeditor/lang/tr.js +45 -0
  178. data/public/javascripts/wymeditor/lang/zh_cn.js +47 -0
  179. data/public/javascripts/wymeditor/skins/refinery/skin.js +40 -0
  180. data/public/robots.txt +2 -0
  181. data/public/stylesheets/application.css +0 -0
  182. data/public/stylesheets/application.css.example +76 -0
  183. data/public/stylesheets/formatting.css +0 -0
  184. data/public/stylesheets/formatting.css.example +86 -0
  185. data/public/stylesheets/home.css +0 -0
  186. data/public/stylesheets/home.css.example +27 -0
  187. data/public/stylesheets/ie6.css +0 -0
  188. data/public/stylesheets/ie7.css +0 -0
  189. data/public/stylesheets/lightbox.css +27 -0
  190. data/public/stylesheets/overlabel.css +21 -0
  191. data/public/stylesheets/refinery.css +1036 -0
  192. data/public/stylesheets/theme.css +36 -0
  193. data/public/stylesheets/thickbox.css +165 -0
  194. data/public/stylesheets/tooltips.css +38 -0
  195. data/public/stylesheets/wymeditor/skins/refinery/skin.css +211 -0
  196. data/public/stylesheets/wymeditor/skins/refinery/wymiframe.css +92 -0
  197. data/public/wymeditor/GPL-license.txt +278 -0
  198. data/public/wymeditor/MIT-license.txt +20 -0
  199. data/public/wymeditor/README +35 -0
  200. data/vendor/plugins/acts_as_indexed/CHANGELOG +74 -0
  201. data/vendor/plugins/acts_as_indexed/MIT-LICENSE +20 -0
  202. data/vendor/plugins/acts_as_indexed/README.rdoc +114 -0
  203. data/vendor/plugins/acts_as_indexed/Rakefile +35 -0
  204. data/vendor/plugins/acts_as_indexed/init.rb +2 -0
  205. data/vendor/plugins/acts_as_indexed/lib/acts_as_indexed.rb +224 -0
  206. data/vendor/plugins/acts_as_indexed/lib/search_atom.rb +107 -0
  207. data/vendor/plugins/acts_as_indexed/lib/search_index.rb +329 -0
  208. data/vendor/plugins/acts_as_indexed/lib/will_paginate_search.rb +29 -0
  209. data/vendor/plugins/acts_as_indexed/test/abstract_unit.rb +47 -0
  210. data/vendor/plugins/acts_as_indexed/test/acts_as_indexed_test.rb +102 -0
  211. data/vendor/plugins/acts_as_indexed/test/database.yml +10 -0
  212. data/vendor/plugins/acts_as_indexed/test/fixtures/post.rb +5 -0
  213. data/vendor/plugins/acts_as_indexed/test/fixtures/posts.yml +31 -0
  214. data/vendor/plugins/acts_as_indexed/test/schema.rb +6 -0
  215. data/vendor/plugins/acts_as_tree/README +26 -0
  216. data/vendor/plugins/acts_as_tree/Rakefile +22 -0
  217. data/vendor/plugins/acts_as_tree/init.rb +1 -0
  218. data/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +141 -0
  219. data/vendor/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
  220. data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +219 -0
  221. data/vendor/plugins/acts_as_tree/test/database.yml +0 -0
  222. data/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
  223. data/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
  224. data/vendor/plugins/acts_as_tree/test/schema.rb +0 -0
  225. data/vendor/plugins/attachment_fu/CHANGELOG +35 -0
  226. data/vendor/plugins/attachment_fu/LICENSE +20 -0
  227. data/vendor/plugins/attachment_fu/README +193 -0
  228. data/vendor/plugins/attachment_fu/Rakefile +22 -0
  229. data/vendor/plugins/attachment_fu/amazon_s3.yml.tpl +17 -0
  230. data/vendor/plugins/attachment_fu/init.rb +16 -0
  231. data/vendor/plugins/attachment_fu/install.rb +7 -0
  232. data/vendor/plugins/attachment_fu/lib/geometry.rb +93 -0
  233. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb +514 -0
  234. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/cloud_file_backend.rb +211 -0
  235. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/db_file_backend.rb +39 -0
  236. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb +126 -0
  237. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/s3_backend.rb +394 -0
  238. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/core_image_processor.rb +59 -0
  239. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/gd2_processor.rb +54 -0
  240. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb +61 -0
  241. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/mini_magick_processor.rb +132 -0
  242. data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/rmagick_processor.rb +57 -0
  243. data/vendor/plugins/attachment_fu/rackspace_cloudfiles.yml.tpl +14 -0
  244. data/vendor/plugins/attachment_fu/test/backends/db_file_test.rb +16 -0
  245. data/vendor/plugins/attachment_fu/test/backends/file_system_test.rb +143 -0
  246. data/vendor/plugins/attachment_fu/test/backends/remote/cloudfiles_test.rb +102 -0
  247. data/vendor/plugins/attachment_fu/test/backends/remote/s3_test.rb +119 -0
  248. data/vendor/plugins/attachment_fu/test/base_attachment_tests.rb +77 -0
  249. data/vendor/plugins/attachment_fu/test/basic_test.rb +70 -0
  250. data/vendor/plugins/attachment_fu/test/database.yml +18 -0
  251. data/vendor/plugins/attachment_fu/test/extra_attachment_test.rb +67 -0
  252. data/vendor/plugins/attachment_fu/test/fixtures/attachment.rb +226 -0
  253. data/vendor/plugins/attachment_fu/test/fixtures/files/fake/rails.png +0 -0
  254. data/vendor/plugins/attachment_fu/test/fixtures/files/foo.txt +1 -0
  255. data/vendor/plugins/attachment_fu/test/fixtures/files/rails.png +0 -0
  256. data/vendor/plugins/attachment_fu/test/geometry_test.rb +108 -0
  257. data/vendor/plugins/attachment_fu/test/processors/core_image_test.rb +37 -0
  258. data/vendor/plugins/attachment_fu/test/processors/gd2_test.rb +31 -0
  259. data/vendor/plugins/attachment_fu/test/processors/image_science_test.rb +31 -0
  260. data/vendor/plugins/attachment_fu/test/processors/mini_magick_test.rb +103 -0
  261. data/vendor/plugins/attachment_fu/test/processors/rmagick_test.rb +255 -0
  262. data/vendor/plugins/attachment_fu/test/schema.rb +134 -0
  263. data/vendor/plugins/attachment_fu/test/test_helper.rb +150 -0
  264. data/vendor/plugins/attachment_fu/test/validation_test.rb +55 -0
  265. data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/color.rb +27 -0
  266. data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/effects.rb +31 -0
  267. data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/perspective.rb +25 -0
  268. data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/quality.rb +25 -0
  269. data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/scale.rb +47 -0
  270. data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/watermark.rb +32 -0
  271. data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/processor.rb +123 -0
  272. data/vendor/plugins/authentication/README +0 -0
  273. data/vendor/plugins/authentication/Rakefile +0 -0
  274. data/vendor/plugins/authentication/app/controllers/admin/users_controller.rb +93 -0
  275. data/vendor/plugins/authentication/app/controllers/sessions_controller.rb +30 -0
  276. data/vendor/plugins/authentication/app/controllers/users_controller.rb +86 -0
  277. data/vendor/plugins/authentication/app/helpers/sessions_helper.rb +2 -0
  278. data/vendor/plugins/authentication/app/helpers/users_helper.rb +2 -0
  279. data/vendor/plugins/authentication/app/models/user.rb +146 -0
  280. data/vendor/plugins/authentication/app/models/user_mailer.rb +25 -0
  281. data/vendor/plugins/authentication/app/models/user_observer.rb +11 -0
  282. data/vendor/plugins/authentication/app/models/user_plugin.rb +5 -0
  283. data/vendor/plugins/authentication/app/views/admin/users/_form.html.erb +42 -0
  284. data/vendor/plugins/authentication/app/views/admin/users/edit.html.erb +1 -0
  285. data/vendor/plugins/authentication/app/views/admin/users/index.html.erb +41 -0
  286. data/vendor/plugins/authentication/app/views/admin/users/new.html.erb +1 -0
  287. data/vendor/plugins/authentication/app/views/sessions/new.html.erb +21 -0
  288. data/vendor/plugins/authentication/app/views/user_mailer/activation.html.erb +3 -0
  289. data/vendor/plugins/authentication/app/views/user_mailer/signup_notification.html.erb +8 -0
  290. data/vendor/plugins/authentication/app/views/users/new.html.erb +28 -0
  291. data/vendor/plugins/authentication/config/routes.rb +10 -0
  292. data/vendor/plugins/authentication/init.rb +13 -0
  293. data/vendor/plugins/authentication/lib/authenticated_system.rb +115 -0
  294. data/vendor/plugins/authentication/lib/authenticated_test_helper.rb +10 -0
  295. data/vendor/plugins/authentication/test/fixtures/users.yml +19 -0
  296. data/vendor/plugins/authentication/test/functional/admin/base_controller_test.rb +8 -0
  297. data/vendor/plugins/authentication/test/functional/admin/dashboard_controller_test.rb +8 -0
  298. data/vendor/plugins/authentication/test/functional/admin/pages_controller_test.rb +8 -0
  299. data/vendor/plugins/authentication/test/functional/sessions_controller_test.rb +85 -0
  300. data/vendor/plugins/authentication/test/functional/users_controller_test.rb +99 -0
  301. data/vendor/plugins/authentication/test/test_helper.rb +38 -0
  302. data/vendor/plugins/authentication/test/unit/user_mailer_test.rb +31 -0
  303. data/vendor/plugins/authentication/test/unit/user_test.rb +164 -0
  304. data/vendor/plugins/dashboard/app/controllers/admin/dashboard_controller.rb +16 -0
  305. data/vendor/plugins/dashboard/app/helpers/admin/dashboard_helper.rb +19 -0
  306. data/vendor/plugins/dashboard/app/views/admin/dashboard/_recent_activity.html.erb +14 -0
  307. data/vendor/plugins/dashboard/app/views/admin/dashboard/index.html.erb +31 -0
  308. data/vendor/plugins/dashboard/config/routes.rb +5 -0
  309. data/vendor/plugins/dashboard/init.rb +7 -0
  310. data/vendor/plugins/images/app/controllers/admin/images_controller.rb +72 -0
  311. data/vendor/plugins/images/app/helpers/admin/images_helper.rb +17 -0
  312. data/vendor/plugins/images/app/models/image.rb +51 -0
  313. data/vendor/plugins/images/app/views/admin/images/_form.html.erb +36 -0
  314. data/vendor/plugins/images/app/views/admin/images/_grid_view.html.erb +17 -0
  315. data/vendor/plugins/images/app/views/admin/images/_list_view.html.erb +21 -0
  316. data/vendor/plugins/images/app/views/admin/images/edit.html.erb +1 -0
  317. data/vendor/plugins/images/app/views/admin/images/index.html.erb +43 -0
  318. data/vendor/plugins/images/app/views/admin/images/insert.html.erb +115 -0
  319. data/vendor/plugins/images/app/views/admin/images/new.html.erb +1 -0
  320. data/vendor/plugins/images/config/routes.rb +5 -0
  321. data/vendor/plugins/images/init.rb +8 -0
  322. data/vendor/plugins/images/lib/tasks/images.rake +28 -0
  323. data/vendor/plugins/inquiries/app/controllers/admin/inquiries_controller.rb +29 -0
  324. data/vendor/plugins/inquiries/app/controllers/admin/inquiry_settings_controller.rb +16 -0
  325. data/vendor/plugins/inquiries/app/controllers/inquiries_controller.rb +41 -0
  326. data/vendor/plugins/inquiries/app/helpers/inquiries_helper.rb +13 -0
  327. data/vendor/plugins/inquiries/app/models/inquiry.rb +18 -0
  328. data/vendor/plugins/inquiries/app/models/inquiry_mailer.rb +19 -0
  329. data/vendor/plugins/inquiries/app/models/inquiry_setting.rb +11 -0
  330. data/vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb +27 -0
  331. data/vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb +44 -0
  332. data/vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb +62 -0
  333. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/_confirmation_email_form.html.erb +50 -0
  334. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/_notification_recipients_form.html.erb +22 -0
  335. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/edit.html.erb +5 -0
  336. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/index.html.erb +32 -0
  337. data/vendor/plugins/inquiries/app/views/inquiries/new.html.erb +33 -0
  338. data/vendor/plugins/inquiries/app/views/inquiries/thank_you.html.erb +9 -0
  339. data/vendor/plugins/inquiries/app/views/inquiry_mailer/confirmation.html.erb +1 -0
  340. data/vendor/plugins/inquiries/app/views/inquiry_mailer/notification.html.erb +18 -0
  341. data/vendor/plugins/inquiries/config/routes.rb +8 -0
  342. data/vendor/plugins/inquiries/init.rb +11 -0
  343. data/vendor/plugins/news/app/controllers/admin/news_items_controller.rb +5 -0
  344. data/vendor/plugins/news/app/controllers/news_items_controller.rb +20 -0
  345. data/vendor/plugins/news/app/models/news_item.rb +26 -0
  346. data/vendor/plugins/news/app/views/admin/news_items/_form.html.erb +33 -0
  347. data/vendor/plugins/news/app/views/admin/news_items/_news_item.html.erb +15 -0
  348. data/vendor/plugins/news/app/views/admin/news_items/edit.html.erb +1 -0
  349. data/vendor/plugins/news/app/views/admin/news_items/index.html.erb +36 -0
  350. data/vendor/plugins/news/app/views/admin/news_items/new.html.erb +1 -0
  351. data/vendor/plugins/news/app/views/news_items/_recent_posts.html.erb +8 -0
  352. data/vendor/plugins/news/app/views/news_items/index.html.erb +23 -0
  353. data/vendor/plugins/news/app/views/news_items/show.html.erb +18 -0
  354. data/vendor/plugins/news/config/routes.rb +7 -0
  355. data/vendor/plugins/news/init.rb +7 -0
  356. data/vendor/plugins/pages/app/controllers/admin/page_dialogs_controller.rb +48 -0
  357. data/vendor/plugins/pages/app/controllers/admin/page_parts_controller.rb +35 -0
  358. data/vendor/plugins/pages/app/controllers/admin/pages_controller.rb +12 -0
  359. data/vendor/plugins/pages/app/controllers/pages_controller.rb +20 -0
  360. data/vendor/plugins/pages/app/helpers/pages_helper.rb +2 -0
  361. data/vendor/plugins/pages/app/models/page.rb +97 -0
  362. data/vendor/plugins/pages/app/models/page_part.rb +17 -0
  363. data/vendor/plugins/pages/app/views/admin/page_dialogs/_page_link.html.erb +6 -0
  364. data/vendor/plugins/pages/app/views/admin/page_dialogs/link_to.html.erb +253 -0
  365. data/vendor/plugins/pages/app/views/admin/page_parts/new.html.erb +11 -0
  366. data/vendor/plugins/pages/app/views/admin/pages/_form.html.erb +179 -0
  367. data/vendor/plugins/pages/app/views/admin/pages/_list.html.erb +29 -0
  368. data/vendor/plugins/pages/app/views/admin/pages/_sortable_list.html.erb +4 -0
  369. data/vendor/plugins/pages/app/views/admin/pages/edit.html.erb +1 -0
  370. data/vendor/plugins/pages/app/views/admin/pages/index.html.erb +42 -0
  371. data/vendor/plugins/pages/app/views/admin/pages/new.html.erb +1 -0
  372. data/vendor/plugins/pages/app/views/pages/home.html.erb +9 -0
  373. data/vendor/plugins/pages/app/views/pages/show.html.erb +10 -0
  374. data/vendor/plugins/pages/config/routes.rb +12 -0
  375. data/vendor/plugins/pages/init.rb +8 -0
  376. data/vendor/plugins/refinery/app/controllers/admin/base_controller.rb +37 -0
  377. data/vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb +14 -0
  378. data/vendor/plugins/refinery/app/helpers/application_helper.rb +84 -0
  379. data/vendor/plugins/refinery/app/views/admin/_head.html.erb +27 -0
  380. data/vendor/plugins/refinery/app/views/admin/_menu.html.erb +85 -0
  381. data/vendor/plugins/refinery/app/views/layouts/admin.html.erb +25 -0
  382. data/vendor/plugins/refinery/app/views/layouts/application.html.erb +32 -0
  383. data/vendor/plugins/refinery/app/views/shared/_footer.html.erb +3 -0
  384. data/vendor/plugins/refinery/app/views/shared/_google_analytics.html.erb +12 -0
  385. data/vendor/plugins/refinery/app/views/shared/_ie6check.html.erb +11 -0
  386. data/vendor/plugins/refinery/app/views/shared/_menu.html.erb +16 -0
  387. data/vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb +28 -0
  388. data/vendor/plugins/refinery/app/views/shared/_message.html.erb +10 -0
  389. data/vendor/plugins/refinery/app/views/shared/_submenu.html.erb +4 -0
  390. data/vendor/plugins/refinery/app/views/shared/_submenu_branch.html.erb +10 -0
  391. data/vendor/plugins/refinery/app/views/shared/admin/_make_sortable.html.erb +71 -0
  392. data/vendor/plugins/refinery/app/views/shared/admin/_search.html.erb +5 -0
  393. data/vendor/plugins/refinery/app/views/shared/admin/_sortable_list.html.erb +10 -0
  394. data/vendor/plugins/refinery/app/views/welcome.html.erb +13 -0
  395. data/vendor/plugins/refinery/app/views/wymiframe.html.erb +8 -0
  396. data/vendor/plugins/refinery/config/routes.rb +10 -0
  397. data/vendor/plugins/refinery/init.rb +9 -0
  398. data/vendor/plugins/refinery/lib/crud.rb +134 -0
  399. data/vendor/plugins/refinery/lib/generators/refinery/README +29 -0
  400. data/vendor/plugins/refinery/lib/generators/refinery/Rakefile +12 -0
  401. data/vendor/plugins/refinery/lib/generators/refinery/USAGE +2 -0
  402. data/vendor/plugins/refinery/lib/generators/refinery/install.rb +2 -0
  403. data/vendor/plugins/refinery/lib/generators/refinery/refinery_generator.rb +65 -0
  404. data/vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb +7 -0
  405. data/vendor/plugins/refinery/lib/generators/refinery/templates/controller.rb +5 -0
  406. data/vendor/plugins/refinery/lib/generators/refinery/templates/init.rb +7 -0
  407. data/vendor/plugins/refinery/lib/generators/refinery/templates/migration.rb +36 -0
  408. data/vendor/plugins/refinery/lib/generators/refinery/templates/model.rb +8 -0
  409. data/vendor/plugins/refinery/lib/generators/refinery/templates/public_controller.rb +20 -0
  410. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb +18 -0
  411. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_singular_name.html.erb +15 -0
  412. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_sortable_list.html.erb +2 -0
  413. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/edit.html.erb +1 -0
  414. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/index.html.erb +45 -0
  415. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/new.html.erb +1 -0
  416. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/index.html.erb +15 -0
  417. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/show.html.erb +23 -0
  418. data/vendor/plugins/refinery/lib/refinery.rb +15 -0
  419. data/vendor/plugins/refinery/lib/refinery/activity.rb +16 -0
  420. data/vendor/plugins/refinery/lib/refinery/application_controller.rb +53 -0
  421. data/vendor/plugins/refinery/lib/refinery/form_helpers.rb +28 -0
  422. data/vendor/plugins/refinery/lib/refinery/initializer.rb +28 -0
  423. data/vendor/plugins/refinery/lib/refinery/link_renderer.rb +45 -0
  424. data/vendor/plugins/refinery/lib/refinery/plugin.rb +47 -0
  425. data/vendor/plugins/refinery/lib/refinery/plugins.rb +53 -0
  426. data/vendor/plugins/refinery/lib/tasks/refinery.rake +28 -0
  427. data/vendor/plugins/refinery_dialogs/app/controllers/admin/dialogs_controller.rb +24 -0
  428. data/vendor/plugins/refinery_dialogs/app/views/admin/dialogs/show.html.erb +20 -0
  429. data/vendor/plugins/refinery_dialogs/app/views/layouts/admin_dialog.html.erb +31 -0
  430. data/vendor/plugins/refinery_dialogs/config/routes.rb +5 -0
  431. data/vendor/plugins/refinery_dialogs/init.rb +8 -0
  432. data/vendor/plugins/refinery_settings/app/controllers/admin/refinery_settings_controller.rb +5 -0
  433. data/vendor/plugins/refinery_settings/app/models/refinery_setting.rb +62 -0
  434. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_form.html.erb +21 -0
  435. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_make_sortable.html.erb +7 -0
  436. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_refinery_setting.html.erb +13 -0
  437. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/edit.html.erb +4 -0
  438. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/index.html.erb +33 -0
  439. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/new.html.erb +1 -0
  440. data/vendor/plugins/refinery_settings/config/routes.rb +5 -0
  441. data/vendor/plugins/refinery_settings/init.rb +9 -0
  442. data/vendor/plugins/resources/app/controllers/admin/resources_controller.rb +25 -0
  443. data/vendor/plugins/resources/app/models/resource.rb +36 -0
  444. data/vendor/plugins/resources/app/views/admin/resources/_form.html.erb +18 -0
  445. data/vendor/plugins/resources/app/views/admin/resources/_resource.html.erb +16 -0
  446. data/vendor/plugins/resources/app/views/admin/resources/edit.html.erb +1 -0
  447. data/vendor/plugins/resources/app/views/admin/resources/index.html.erb +33 -0
  448. data/vendor/plugins/resources/app/views/admin/resources/new.html.erb +1 -0
  449. data/vendor/plugins/resources/config/routes.rb +7 -0
  450. data/vendor/plugins/resources/init.rb +7 -0
  451. metadata +567 -0
@@ -0,0 +1,40 @@
1
+ WYMeditor.SKINS['refinery'] = {
2
+
3
+ init: function(wym) {
4
+
5
+ //render following sections as panels
6
+ /* jQuery(wym._box).find(wym._options.classesSelector)
7
+ .addClass("wym_panel"); */
8
+
9
+ //render following sections as buttons
10
+ jQuery(wym._box).find(wym._options.toolsSelector)
11
+ .addClass("wym_buttons");
12
+
13
+ //render following sections as dropdown menus
14
+ /* jQuery(wym._box).find(wym._options.classesSelector)
15
+ .addClass("wym_dropdown")
16
+ .find(WYMeditor.H2)
17
+ .append("<span>&nbsp;&gt;</span>");
18
+ */
19
+ // auto add some margin to the main area sides if left area
20
+ // or right area are not empty (if they contain sections)
21
+ jQuery(wym._box).find("div.wym_area_right ul")
22
+ .parents("div.wym_area_right").show()
23
+ .parents(wym._options.boxSelector)
24
+ .find("div.wym_area_main")
25
+ .css({"margin-right": "155px"});
26
+
27
+ jQuery(wym._box).find("div.wym_area_left ul")
28
+ .parents("div.wym_area_left").show()
29
+ .parents(wym._options.boxSelector)
30
+ .find("div.wym_area_main")
31
+ .css({"margin-left": "155px"});
32
+
33
+ //make hover work under IE < 7
34
+ jQuery(wym._box).find(".wym_section").hover(function(){
35
+ jQuery(this).addClass("hover");
36
+ },function(){
37
+ jQuery(this).removeClass("hover");
38
+ });
39
+ }
40
+ };
@@ -0,0 +1,2 @@
1
+ User-Agent: *
2
+ Disallow: /admin/
File without changes
@@ -0,0 +1,76 @@
1
+ /* default refinery css */
2
+ body {
3
+ background: #E1E1E1;
4
+
5
+ }
6
+ #page {
7
+ background: white;
8
+ padding: 20px;
9
+ width: 1000px;
10
+ margin: 0px auto;
11
+ }
12
+ #header {
13
+ height: 71px;
14
+ margin-bottom: 10px;
15
+ }
16
+ #header h1 {
17
+ float: left;
18
+ }
19
+ #menu {
20
+ list-style: none;
21
+ float: right;
22
+ margin-top: 20px;
23
+ }
24
+ #menu li {
25
+ float: left;
26
+ margin: 0px 9px;
27
+ }
28
+
29
+ #menu li a {
30
+ font-size: 18px;
31
+ }
32
+
33
+ #footer {
34
+ margin-top: 12px;
35
+ font-size: 11px;
36
+ }
37
+
38
+ #body_content_left {
39
+ float: left;
40
+ width: 600px;
41
+ }
42
+ #body_content_right {
43
+ float: right;
44
+ margin: 0px 12px;
45
+ width: 360px;
46
+ }
47
+
48
+ .inquiries form label {
49
+ width: 150px;
50
+ float: left;
51
+ }
52
+ .inquiries form input {
53
+
54
+ }
55
+ .inquiries form input, .inquiries form textarea {
56
+
57
+ }
58
+ .inquiries form textarea {
59
+
60
+ }
61
+ .inquiries form .actions {
62
+ margin-left: 150px;
63
+ }
64
+
65
+ .inquiries form .actions input {
66
+ }
67
+
68
+ .inquiries .field {
69
+ margin: 12px 0px;
70
+ }
71
+
72
+ .inquiries form {
73
+ padding-top: 12px;
74
+ }
75
+
76
+ /* put your main css here */
File without changes
@@ -0,0 +1,86 @@
1
+ /* basic formatting styles */
2
+ body {
3
+ font-family: Arial, Helvetica, sans-serif;
4
+ font-size: 14px;
5
+ }
6
+ #header h1 a {
7
+ text-decoration: none;
8
+ }
9
+ a, a:visited {
10
+ color: #1A2DE1;
11
+ }
12
+ h1 {
13
+ font-size: 24px;
14
+ }
15
+ h2 {
16
+ font-size: 14px;
17
+ }
18
+ #menu a {
19
+ text-decoration: none;
20
+ }
21
+ #menu li.selected a, #menu a.on, #menu a:hover {
22
+ text-decoration: underline;
23
+ }
24
+ #menu li.selected ul li a {
25
+ text-decoration: none;
26
+ }
27
+ #menu li ul li.selected a, #menu li ul li a.on, #menu li ul li a:hover {
28
+ text-decoration: underline;
29
+ }
30
+ .inquiries .message_field label {
31
+ vertical-align: top;
32
+ }
33
+
34
+ /* Default error colouring */
35
+
36
+ div.fieldWithErrors {
37
+ display: inline;
38
+ }
39
+
40
+ #errorExplanation {
41
+ border-top: 3px solid #F27F7F;
42
+ background: #FFBEBE;
43
+ padding: 10px;
44
+ }
45
+
46
+ #errorExplanation, #errorExplanation *, .fieldWithErrors, .fieldWithErrors * {
47
+ color: #9C2626;
48
+ }
49
+
50
+ /* Browser Hacks */
51
+
52
+ /* remove borders from images */
53
+
54
+ a img {
55
+ border: 0px none;
56
+ }
57
+
58
+ /*
59
+ Firefox Dotted Line Fix
60
+ - http://sonspring.com/journal/removing-dotted-links
61
+ */
62
+ a:focus {
63
+ outline: none;
64
+ }
65
+
66
+ /*
67
+ Clearfix docs
68
+ - Main docs: http://positioniseverything.net/easyclearing.html
69
+ - IE7 change: http://www.456bereastreet.com/archive/200603/new_clearing_method_needed_for_ie7/
70
+ */
71
+ .clearfix:after {
72
+ content: ".";
73
+ display: block;
74
+ height: 0;
75
+ clear: both;
76
+ visibility: hidden;
77
+ }
78
+ .clearfix {
79
+ display: inline-block;
80
+ }
81
+
82
+ /* Hide from IE Mac \*/
83
+ .clearfix {
84
+ display:block;
85
+ }
86
+ /* End hide from IE Mac */
File without changes
@@ -0,0 +1,27 @@
1
+ /* refinery default styles */
2
+ #featured_image {
3
+ width: 587px;
4
+ height: 444px;
5
+ background: #BCCED8;
6
+ }
7
+ #featured_item {
8
+ margin-top: 48px;
9
+ background: #E1E1E1;
10
+ padding: 10px;
11
+ }
12
+ #featured_item h2 {
13
+ margin: 11px 0px 27px 0px;
14
+ }
15
+ #featured_item_text {
16
+ width: 180px;
17
+ margin-right: 20px;
18
+ float: left;
19
+ }
20
+ #featured_item_image {
21
+ height: 134px;
22
+ width: 134px;
23
+ background: #BCCED8;
24
+ float: left;
25
+ }
26
+
27
+ /* place styles relevant to only the homepage here */
File without changes
File without changes
@@ -0,0 +1,27 @@
1
+ #lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
2
+ #lightbox img{ width: auto; height: auto;}
3
+ #lightbox a img{ border: none; }
4
+
5
+ #outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
6
+ #imageContainer{ padding: 10px; }
7
+
8
+ #loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
9
+ #hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
10
+ #imageContainer>#hoverNav{ left: 0;}
11
+ #hoverNav a{ outline: none;}
12
+
13
+ #prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
14
+ #prevLink { left: 0; float: left;}
15
+ #nextLink { right: 0; float: right;}
16
+ #prevLink:hover, #prevLink:visited:hover { background: url(/images/lightbox/prevlabel.gif) left 15% no-repeat; }
17
+ #nextLink:hover, #nextLink:visited:hover { background: url(/images/lightbox/nextlabel.gif) right 15% no-repeat; }
18
+
19
+ #imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; }
20
+
21
+ #imageData{ padding:0 10px; color: #666; }
22
+ #imageData #imageDetails{ width: 70%; float: left; text-align: left; }
23
+ #imageData #caption{ font-weight: bold; }
24
+ #imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
25
+ #imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; outline: none;}
26
+
27
+ #overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
@@ -0,0 +1,21 @@
1
+ div.overlabel-field {
2
+ position:relative;
3
+ float:left;
4
+ margin-right:3px;
5
+ }
6
+
7
+ label.overlabel {
8
+ position:absolute;
9
+ top:3px;
10
+ left:5px;
11
+ z-index:1;
12
+ color:#999;
13
+ }
14
+
15
+ label.overlabel-apply {
16
+ position:absolute;
17
+ top:3px;
18
+ left:5px;
19
+ z-index:1;
20
+ color:#999;
21
+ }
@@ -0,0 +1,1036 @@
1
+ * {
2
+ color: #41403C;
3
+ font-family: Arial;
4
+ font-size: 13px;
5
+ }
6
+
7
+ body {
8
+ margin: 0;
9
+ padding: 0;
10
+ font: 10px/1.5em Verdana;
11
+ background: black url('/images/refinery/page_bg.png') repeat;
12
+ }
13
+
14
+ div.login {
15
+ width: 300px !important;
16
+ }
17
+
18
+ div.login h1 {
19
+ margin: 0;
20
+ padding: 5px;
21
+ font-size: 20px;
22
+ text-align: center;
23
+ line-height:22px
24
+ }
25
+
26
+ acronym {
27
+ cursor: help;
28
+ }
29
+
30
+ #actions {
31
+ float: right;
32
+ width: 36.1%;
33
+ padding-left: 15px;
34
+ }
35
+
36
+ #records {
37
+ float: left;
38
+ width: 60.6%;
39
+ padding-right: 15px;
40
+ }
41
+
42
+ #actions ul {
43
+ margin: 0;
44
+ padding: 0;
45
+ list-style: none;
46
+ }
47
+
48
+ #actions li a {
49
+ background-color:#F6F5F4;
50
+ background-position: 12px;
51
+ background-repeat: no-repeat;
52
+ border:1px solid #B7B7A8;
53
+ display:block;
54
+ padding:9px 12px 9px 36px;
55
+ }
56
+ #actions li a:hover {
57
+ text-decoration: underline;
58
+ }
59
+
60
+ #actions li {
61
+ margin-top: 10px;
62
+ }
63
+
64
+ #sort-status {
65
+ padding: 5px 5px 5px 0px;
66
+ }
67
+
68
+ hr {
69
+ border: 0;
70
+ border-top: 1px solid #484743;
71
+ }
72
+
73
+ .form-actions {
74
+ margin-top: 10px;
75
+ }
76
+
77
+ .actions img {
78
+ border: none;
79
+ }
80
+
81
+ .actions a, .actions a:hover {
82
+ border: none;
83
+ text-decoration: none;
84
+ }
85
+
86
+ .errorExplanation {
87
+ background: 7px 10px no-repeat url('/images/refinery/icons/cancel.png') #FFB1B1;
88
+ padding: 0px 5px 5px 30px;
89
+ font-weight: bold;
90
+ margin-top: 5px;
91
+ margin-bottom: 5px;
92
+ border: 1px solid red;
93
+ }
94
+
95
+ .errorExplanation h2 {
96
+ color: red;
97
+ text-transform: none;
98
+ display: none;
99
+ }
100
+
101
+ .errorExplanation p {
102
+ font-weight: normal;
103
+ }
104
+
105
+ .fieldWithErrors input, .fieldWithErrors textarea {
106
+ border: 1px solid red;
107
+ background-color: #FFECF0;
108
+ }
109
+
110
+ #flash {
111
+ width: 545px;
112
+ }
113
+ .login #flash {
114
+ width: 230px;
115
+ }
116
+ #message, #flash {
117
+ padding: 8px 8px 8px 30px;
118
+ margin-bottom: 5px;
119
+ }
120
+
121
+ .flash_notice {
122
+ border: 1px solid #00A017;
123
+ color: #00A017;
124
+ background: 7px 7px no-repeat url('/images/refinery/icons/accept.png') #E0F5E0;
125
+ }
126
+
127
+ .flash_notice, .flash_notice * {
128
+ color: #00A017;
129
+ }
130
+
131
+ .flash_error {
132
+ border: 1px solid #A00027;
133
+ color: #A00027;
134
+ background: 7px 7px no-repeat url('/images/refinery/icons/cancel.png') #FFB1B1;
135
+ }
136
+
137
+ a {
138
+ color: #41403C;
139
+ text-decoration: none;
140
+ border-bottom: 1px dotted #727272;
141
+ }
142
+
143
+ .splash #content {
144
+ background: url('/images/refinery/admin_bg.png') repeat-y;
145
+ }
146
+ #content h1 {
147
+ font-size: 18px;
148
+ font-weight: lighter;
149
+ text-align: center;
150
+ border-bottom: 1px solid #99998B;
151
+ padding-bottom: 10px;
152
+ }
153
+
154
+ .less-important {
155
+ color: #727272;
156
+ }
157
+
158
+ #header a, #administration_tabnav a, #submenu a {
159
+ border: 0px;
160
+ }
161
+
162
+ a:hover {
163
+ color: #000;
164
+ border-bottom: 1px solid #727272;
165
+ }
166
+
167
+ #page {
168
+ margin: 0px auto 10px auto;
169
+ text-align: left;
170
+ width: 990px;
171
+ background: #f6f5f4;
172
+ }
173
+
174
+ #header ul#menu {
175
+ display: block;
176
+ margin: 0;
177
+ padding: 32px 15px 0 0;
178
+ }
179
+
180
+ #header ul#menu li#logout {
181
+ float: right;
182
+ }
183
+
184
+ #header li {
185
+ float: left;
186
+ margin-right: 2px;
187
+ list-style: none;
188
+ }
189
+
190
+ #header li a {
191
+ display: block;
192
+ padding: 9px 12px;
193
+ font-size: 14px;
194
+ background-color: #c2c2b3;
195
+ margin-top: 6px;
196
+ }
197
+
198
+ #header li a:hover {
199
+ background-color: #deded9;
200
+ }
201
+
202
+ #header li a.active {
203
+ background-color: #f6f5f4;
204
+ padding: 12px;
205
+ margin-top: 0px;
206
+ }
207
+
208
+ #content {
209
+ padding: 15px;
210
+ }
211
+
212
+ pre {
213
+ margin: 0;
214
+ padding: 0;
215
+ }
216
+
217
+ .clearfix:after {
218
+ content: ".";
219
+ display: block;
220
+ height: 0;
221
+ clear: both;
222
+ visibility: hidden;
223
+ }
224
+
225
+ .preview {
226
+ color: #A3A093;
227
+ }
228
+
229
+ #header {
230
+ background: url('/images/refinery/header_background.png') #50504B repeat-x bottom;
231
+ padding: 26px 15px 0 15px;
232
+ position: relative;
233
+ }
234
+
235
+ #site_link {
236
+ display: block;
237
+ color: #C2C2B3;
238
+ float: left;
239
+
240
+ }
241
+
242
+ #site_link:hover {
243
+ text-decoration: underline;
244
+ }
245
+
246
+ #list_actions {
247
+
248
+ }
249
+
250
+ #header #logo {
251
+ position: absolute;
252
+ right: 20px;
253
+ top: 25px;
254
+ }
255
+
256
+ #header h1 {
257
+ color: white;
258
+ font-size: 20px;
259
+ font-weight: normal;
260
+ margin-bottom: 0;
261
+ padding-bottom: 4px;
262
+ margin-top: 0;
263
+ }
264
+
265
+ #header p {
266
+ color: white;
267
+ font-size: 90%;
268
+ padding: 0;
269
+ margin: 0;
270
+ }
271
+
272
+ #footer {
273
+ display: block; background: #CDCCBB; text-align: right; padding-right: 5px;
274
+ }
275
+
276
+ #footer a {
277
+ font-size: 100%;
278
+ }
279
+
280
+ #footer, #footer * {
281
+ color: #99998B;
282
+ font-size: 85%;
283
+ }
284
+
285
+ #submenu {
286
+ clear: both;
287
+ padding-left: 10px;
288
+ background: url('/images/refinery/nav-3-background.gif') #EFEE8 repeat-x bottom;
289
+ }
290
+
291
+ #submenu ul {
292
+ list-style: none;
293
+ margin: 0;
294
+ padding: 0 0 0 10px;
295
+ }
296
+
297
+ #submenu li {
298
+ float: left;
299
+ }
300
+
301
+ #submenu li a {
302
+ display: block;
303
+ padding: 6px;
304
+ }
305
+
306
+ #submenu2 {
307
+ margin-left: 10px;
308
+ margin-right: 12px;
309
+ }
310
+
311
+ #submenu a {
312
+ color: #727272;
313
+ text-decoration: none;
314
+ }
315
+
316
+ .filter {
317
+ float: right;
318
+ }
319
+
320
+ #records ul {
321
+ list-style: none;
322
+ margin-left: 0;
323
+ padding-left: 0;
324
+ }
325
+
326
+ #records li {
327
+ padding: 5px;
328
+ vertical-align: top;
329
+ margin-bottom: 2px;
330
+ }
331
+
332
+ #records .left-column {
333
+ float: left;
334
+ width: 65%;
335
+ }
336
+
337
+ #records .left-column img {
338
+ vertical-align: bottom;
339
+ margin-top: 1px;
340
+ margin-right: 5px;
341
+ }
342
+
343
+ #records .right-column {
344
+ float: right;
345
+ width: 34%;
346
+ text-align: right;
347
+ }
348
+
349
+ #records .on {
350
+ background-color: #E6E5DC !important;
351
+ }
352
+ #records .off {
353
+ background-color: #f6f5f4 !important;
354
+ }
355
+
356
+ #records .on-hover, #pagination ul a:hover, #pagination .on {
357
+ background: url('/images/refinery/hover-gradient.jpg') repeat-x bottom #D4D4C6
358
+ }
359
+ #records ul.empty {
360
+ display: none;
361
+ }
362
+
363
+ /* order of specificity: class rules need to be ruled important otherwise id based rules override them */
364
+ .tree ul li ul {
365
+ padding: 0;
366
+ }
367
+
368
+ .tree ul li {
369
+ margin: 0 !important;
370
+ padding: 5px 0 0 40px !important;
371
+ background: url('/images/refinery/branch.gif') no-repeat 15px 0px;
372
+ }
373
+
374
+ .tree .on-hover, #pagination ul.tree a:hover, #pagination .tree .on {
375
+ background: url('/images/refinery/branch.gif') no-repeat 15px 0px;
376
+ }
377
+
378
+ .tree ul li.branch_start {
379
+ background-image: url('/images/refinery/branch-start.gif');
380
+ }
381
+ .tree ul li.branch_end {
382
+ background-image: url('/images/refinery/branch-end.gif');
383
+ }
384
+
385
+ .tree li span.spacing {
386
+ display: none;
387
+ }
388
+ .reordering .hover {
389
+ height: 300%;
390
+ display: block;
391
+ }
392
+
393
+ .reordering {
394
+ margin: 0;
395
+ padding: 0;
396
+ }
397
+
398
+ .reordering li ul{
399
+ padding: 6px 10px 0px 40px !important;
400
+ }
401
+
402
+ .reordering ul.empty {
403
+ margin: 0;
404
+ display: block !important;
405
+ }
406
+
407
+ ul.reordering li {
408
+ background: #E6E5DC !important;
409
+ cursor: move;
410
+ border: 1px solid #b7b7a8;
411
+ line-height: 16px;
412
+ margin-bottom: 2px !important;
413
+ padding: 3px 0px 0px 3px !important;
414
+ }
415
+ .reordering .actions {
416
+ display: none !important;
417
+ }
418
+ .reordering li span.spacing {
419
+ display: block;
420
+ }
421
+
422
+ #content h2 {
423
+ font-size: 140%;
424
+ color:#41403C;
425
+ margin-bottom: 15px;
426
+ margin-top: 10px;
427
+ }
428
+
429
+ .pagination {
430
+ background-color: #C9DAE2;
431
+ padding: 7px;
432
+ margin: 10px 0px;
433
+ }
434
+
435
+ .pagination .disabled {
436
+ color: #A8B9C1;
437
+ }
438
+
439
+ .pagination a, .current, .disabled {
440
+ padding: 7px;
441
+ line-height: 20px;
442
+ border: none;
443
+ }
444
+
445
+ .pagination .current, .pagination a:hover {
446
+ background: #A8B9C1;
447
+ }
448
+
449
+ #dialog-form-actions .pagination {
450
+ margin: -4px 6px -4px 0px;
451
+ float: right;
452
+ width: auto;
453
+ }
454
+ #dialog-form-actions .pagination a, #dialog-form-actions .pagination .current, #dialog-form-actions .pagination .disabled {
455
+ line-height: 15px;
456
+ }
457
+
458
+ textarea {
459
+ line-height: 20px;
460
+ }
461
+
462
+ label {
463
+ font-size: 90%;
464
+ margin-bottom: 5px;
465
+ display: block;
466
+ }
467
+
468
+ textarea, select {
469
+ padding: 5px;
470
+ }
471
+
472
+ .field-couple {
473
+ margin-bottom: 20px;
474
+ }
475
+
476
+ .submit {
477
+ border: auto;
478
+ width: auto;
479
+ height: 25px;
480
+ }
481
+
482
+ label {
483
+ font-size: 110%;
484
+ margin-bottom: 5px;
485
+ font-weight: bold;
486
+ margin-top: 20px;
487
+ }
488
+
489
+ label.input_label {
490
+ font-size: inherit;
491
+ margin-bottom: inerhit;
492
+ display: inline;
493
+ font-weight: normal;
494
+ margin-top: inherit;
495
+ }
496
+
497
+ small label {
498
+ font-size: inherit;
499
+ font-weight: inherit;
500
+ display: inherit;
501
+ }
502
+
503
+ label.stripped {
504
+ float: none;
505
+ display: inline;
506
+ font-weight: normal;
507
+ font-size: 1em;
508
+ margin: 0px;
509
+ padding: 0px;
510
+ }
511
+
512
+ .form-actions {
513
+ background-color: white;
514
+ padding: 10px;
515
+ border: 1px solid #CCC;
516
+ }
517
+
518
+ #body_field {
519
+ float: left;
520
+ width: 60%;
521
+ }
522
+
523
+ .no_side_body {
524
+ width: 72% !important;
525
+ }
526
+
527
+ #side_body_field {
528
+ float: left;
529
+ width: 38%;
530
+ margin-left: 18px;
531
+ }
532
+
533
+ #body_field textarea, #side_body_field textarea {
534
+ width: 99%;
535
+ }
536
+
537
+ .record .title span {
538
+ line-height: 30px;
539
+ }
540
+ #records .actions {
541
+ float: right;
542
+ width: 120px;
543
+ text-align: right;
544
+ display: block;
545
+ }
546
+
547
+ .tree .actions {
548
+ margin-top: -6px;
549
+ }
550
+
551
+ .published {
552
+ width: 25px;
553
+ text-align: center;
554
+ }
555
+
556
+ .actions a {
557
+ display: block;
558
+ float: right;
559
+ margin: 3px;
560
+ line-height: 16px;
561
+ }
562
+ .actions a * {
563
+ padding: 4px;
564
+ }
565
+
566
+ .actions a:hover {
567
+ color: #E6E5DC;
568
+ background: #3F3E3A;
569
+ }
570
+
571
+ .actions a.cancel {
572
+ color: #AF0027;
573
+ }
574
+
575
+ .actions a.cancel:hover {
576
+ color: white;
577
+ background: #AF0027;
578
+ }
579
+
580
+ .actions a.reorder_anchor:hover {
581
+ background: inherit !important;
582
+ cursor: move;
583
+ }
584
+
585
+ #other_records {
586
+ width: 68%;
587
+ }
588
+
589
+ #recent_activity {
590
+ border-collapse: collapse;
591
+ width: 100%;
592
+ }
593
+
594
+ #recent_activity td {
595
+ padding: 5px;
596
+ }
597
+
598
+ #recent_activity tr.on {
599
+ background: #E6E5DC;
600
+ }
601
+
602
+ #common_actions {
603
+ margin: 0;
604
+ padding: 0;
605
+ }
606
+
607
+ #common_actions li {
608
+ margin: 0;
609
+ list-style: none;
610
+ padding: 5px 0px 5px 0px;
611
+ }
612
+
613
+ #common_actions li a {
614
+ font-weight: bold;
615
+ }
616
+
617
+ .larger {
618
+ font-size: 200%;
619
+ }
620
+
621
+ #actions a img {
622
+ vertical-align: bottom;
623
+ border: 0;
624
+ }
625
+
626
+ .brown_border {
627
+ border: 1px solid #99998B;
628
+ }
629
+
630
+ #inquiry {
631
+ border-collapse: collapse;
632
+ width: 100%;
633
+ }
634
+
635
+ #inquiry td {
636
+ border-bottom: 1px solid #99998B;
637
+ padding: 7px;
638
+ }
639
+
640
+ body.dialog {
641
+ background: #FFF;
642
+ }
643
+
644
+ body.dialog, body.wym_dialog {
645
+ text-align: left;
646
+ }
647
+
648
+ #wym_hide_fields {
649
+ display: none;
650
+ }
651
+
652
+ body.dialog #dialog_main {
653
+ background: #f6f5f4;
654
+ }
655
+
656
+ body.dialog span.selected_radio {
657
+ background: #f6f5f4;
658
+ }
659
+ body.dialog form {
660
+ width: 100% !important;
661
+ }
662
+ .dialog span.radio {
663
+ display: block;
664
+ line-height: 36px;
665
+ height: 36px;
666
+ }
667
+
668
+ .dialog span.radio * {
669
+ cursor: pointer;
670
+ font-weight: bold;
671
+ }
672
+
673
+ .dialog #dialog_menu_left {
674
+ width: 130px;
675
+ float: left;
676
+ margin-top: 9px;
677
+ }
678
+
679
+ .dialog #dialog_main {
680
+ float: left;
681
+ min-height: 415px;
682
+ width: 756px;
683
+ }
684
+
685
+ .dialog #existing_image_content {
686
+ position: relative;
687
+ height: 391px;
688
+ padding: 12px;
689
+ }
690
+
691
+ .dialog #existing_image_area_content ul {
692
+ margin: 0px;
693
+ padding: 0px;
694
+ }
695
+
696
+ .dialog #existing_image_area_content ul li {
697
+ list-style: none;
698
+ padding: 0px;
699
+ margin: 0px 6px;
700
+ float: left;
701
+ height: 114px;
702
+ width: 114px;
703
+ cursor: pointer;
704
+ text-align: center;
705
+ vertical-align: middle;
706
+ }
707
+
708
+ .dialog #existing_image_area_content ul li img {
709
+ border: 4px solid transparent;
710
+ }
711
+
712
+ .dialog #existing_image_area_content ul li.selected img {
713
+ border: 4px solid black;
714
+ }
715
+ /*
716
+ #dialog_main {
717
+ position: relative;
718
+ }
719
+ */
720
+ #existing_image_area_content {
721
+ height: 342px;
722
+ }
723
+
724
+ #existing_image_area .pagination {
725
+ background: #FFF;
726
+ bottom: 0px;
727
+ right: 0px;
728
+ text-align: right;
729
+ position: absolute;
730
+ margin: 0px;
731
+ width: 766px;
732
+ }
733
+
734
+ #upload_image_area {
735
+ padding: 12px;
736
+ }
737
+
738
+ .dialog #content {
739
+ padding: 0px;
740
+ }
741
+
742
+ .wym_dialog #page {
743
+ width: 940px;
744
+ padding: 6px;
745
+ }
746
+
747
+ #dialog_main #pages_list {
748
+ width: 100%;
749
+ }
750
+
751
+ #dialog_main #pages_list ul {
752
+ margin: 12px 24px 24px 12px;
753
+ padding: 0px;
754
+ }
755
+
756
+ #dialog_main #pages_list ul li {
757
+ cursor: pointer;
758
+ line-height: 24px;
759
+ border: 1px solid transparent;
760
+ list-style: none;
761
+ }
762
+
763
+ #dialog_main #pages_list ul li.child {
764
+ padding-left: 20px;
765
+ }
766
+ /*
767
+ #dialog_main #pages_list ul li span {
768
+ display: block;
769
+ padding: 3px;
770
+ margin-left: 24px;
771
+ }*/
772
+ #dialog_main #pages_list ul li a {
773
+ display: block;
774
+ padding: 3px;
775
+ margin-left: 24px;
776
+ text-decoration: none;
777
+ border-bottom: none;
778
+ }
779
+ #dialog_main #pages_list li:hover {
780
+ background-color: #C9DAE2 !important;
781
+ }
782
+
783
+ #dialog_main .actions {
784
+ margin-right: 48px;
785
+ }
786
+
787
+ #dialog_main #pages_list .linked, #dialog_main #pages_list .linked:hover {
788
+ border: 1px solid #00A017;
789
+ color: #00A017;
790
+ background: 7px 7px no-repeat url('/images/refinery/icons/accept.png') #E0F5E0;
791
+ }
792
+
793
+ #dialog_main #web_address_area, #dialog_main #email_address_area {
794
+ padding: 12px;
795
+ }
796
+
797
+ #link_title {
798
+ margin-top: 12px;
799
+ }
800
+
801
+ #link_title label {
802
+ margin: 3px 0px 0px 0px !important;
803
+ width: 130px;
804
+ display: block;
805
+ float: left;
806
+ }
807
+
808
+ #link_title input {
809
+ width: 770px;
810
+ }
811
+
812
+ ul#menu.reordering_menu li a {
813
+ cursor: move;
814
+ }
815
+
816
+ #header #menu li a#menu_reorder, #header #menu li a#menu_reorder_done {
817
+ height: 10px;
818
+ margin-top: 11px;
819
+ cursor: pointer !important;
820
+ background-color: #8a8a72;
821
+ background-repeat: no-repeat;
822
+ background-position: 7px;
823
+ width: 4px;
824
+ _margin-top: 6px;
825
+ }
826
+ #header #menu li a#menu_reorder:hover, #header #menu li a#menu_reorder_done:hover {
827
+ background-color: #a1a18b;
828
+ }
829
+ #header #menu li a#menu_reorder {
830
+ background-image: url('/images/refinery/icons/arrow_switch.png');
831
+ }
832
+ #header #menu li a#menu_reorder_done {
833
+ background-image: url('/images/refinery/icons/tick.png');
834
+ }
835
+
836
+ .clearfix:after {
837
+ content:".";
838
+ display:block;
839
+ height:0;
840
+ clear:both;
841
+ visibility:hidden;
842
+ }
843
+ .clearfix {display:inline-block;}
844
+ /* Hide from IE Mac \*/
845
+ .clearfix {display:block;}
846
+ /* End hide from IE Mac */
847
+
848
+ /*
849
+ Firefox Dotted Line Fix
850
+ - http://sonspring.com/journal/removing-dotted-links
851
+ */
852
+ a:focus {
853
+ outline: none;
854
+ }
855
+
856
+ a img {
857
+ border: 0px none;
858
+ }
859
+
860
+ /* icons */
861
+ .add_icon {
862
+ background-image: url('/images/refinery/icons/add.png');
863
+ }
864
+ .edit_icon {
865
+ background-image: url('/images/refinery/icons/application_edit.png');
866
+ }
867
+ .reorder_icon {
868
+ background-image: url('/images/refinery/icons/arrow_switch.png');
869
+ }
870
+
871
+ .user_comment_icon {
872
+ background-image: url('/images/refinery/icons/user_comment.png');
873
+ }
874
+ .edit_email_icon {
875
+ background-image: url('/images/refinery/icons/email_edit.png');
876
+ }
877
+
878
+ .back_icon {
879
+ background-image: url('/images/refinery/icons/arrow_left.png');
880
+ }
881
+ .go_icon {
882
+ background-image: url('/images/refinery/icons/application_go.png');
883
+ }
884
+
885
+ /* page parts */
886
+
887
+ ul#page_parts {
888
+ margin: 20px 0 0 0;
889
+ padding: 0;
890
+ }
891
+
892
+ ul#page_parts li {
893
+ float: left;
894
+ list-style: none;
895
+ margin-right: 2px;
896
+ }
897
+
898
+ ul#page_parts li a {
899
+ line-height: 27px;
900
+ display: block;
901
+ background: #c2c3b3;
902
+ padding: 0px 8px;
903
+ border-bottom: none;
904
+ margin-top: 6px;
905
+ }
906
+
907
+ ul#page_parts li a.active {
908
+ background: #808080;
909
+ line-height: 33px;
910
+ color: white;
911
+ margin-top: 0px;
912
+ }
913
+
914
+ #add_page_part {
915
+ background: #8A8A72;
916
+ padding: 5px 8px 3px 8px;
917
+ border-bottom: none;
918
+ margin-top: 9px;
919
+ display: block;
920
+ float: left;
921
+ }
922
+ #add_page_part img {
923
+ vertical-align: middle;
924
+ }
925
+
926
+ /* dialog stuff */
927
+ #dialog_frame {
928
+ width:952px;
929
+ height:430px;
930
+ padding: 0px;
931
+ border: 0px solid #F2F1ED;
932
+ }
933
+ .wym_hideables {
934
+ display: none;
935
+ }
936
+ #TB_ajaxContent, #TB_ajaxContent.TB_modal {
937
+ padding: 0px;
938
+ }
939
+ .wym_dialog .form-actions {
940
+ margin-top: 0px;
941
+ border: 0px none;
942
+ border-top: 1px solid #E8E8E8;
943
+ }
944
+ a#TB_closeWindowButton {
945
+ text-decoration: none;
946
+ border-bottom: 0px none;
947
+ position: absolute;
948
+ float: none;
949
+ top: 7px;
950
+ right: 6px;
951
+ }
952
+ #TB_title {
953
+ height: 33px;
954
+ line-height: 33px;
955
+ position: relative;
956
+ }
957
+ #TB_ajaxWindowTitle {
958
+ float: none;
959
+ padding: 0px;
960
+ margin-left: 12px;
961
+ font-size: 16px;
962
+ }
963
+ #existing_image_area {
964
+ padding-top:6px;
965
+ }
966
+
967
+ textarea.wymeditor {
968
+ }
969
+ #TB_closeAjaxWindow {
970
+ margin-bottom: 0px;
971
+ padding: 0px;
972
+ }
973
+ #TB_window div.field {
974
+ margin: 0px 10px;
975
+ }
976
+ #TB_window .form-actions {
977
+ margin-top: 12px;
978
+ }
979
+
980
+ #dialog_container {
981
+ padding: 0px 12px 12px 12px;
982
+ }
983
+ #dialog_container .form-actions {
984
+ position: absolute;
985
+ bottom: 0px;
986
+ left: 0px;
987
+ width: 100%;
988
+ border-right: 0px;
989
+ border-left: 0px;
990
+ border-bottom: 0px;
991
+ padding: 10px 0px;
992
+ }
993
+ #dialog_container .form-actions #submit_button {
994
+ margin-left: 10px;
995
+ }
996
+ #dialog_main .form-actions {
997
+ position: inherit;
998
+ width: 97%;
999
+ border: 1px solid #E8E8E8;
1000
+ padding: 10px;
1001
+ }
1002
+
1003
+ ul#image_grid {
1004
+ width: 580px;
1005
+ padding: 0px;
1006
+ margin: 15px 0;
1007
+ }
1008
+
1009
+ ul#image_grid li {
1010
+ float: left;
1011
+ margin: 0px 13px 12px 0px;
1012
+ padding: 0px;
1013
+ width: 135px;
1014
+ text-align: center;
1015
+ height: 176px;
1016
+ }
1017
+ ul#image_grid li.row-end {
1018
+ margin-right: 0px;
1019
+ float: right;
1020
+ }
1021
+ ul#image_grid li a {
1022
+ border: 0 none;
1023
+ }
1024
+ ul#image_grid li p {
1025
+ margin: 3px 0;
1026
+ }
1027
+ ul#image_grid li span.actions {
1028
+ width: 100%;
1029
+ }
1030
+ ul#plugins {
1031
+ margin: 0px;
1032
+ padding: 0px;
1033
+ }
1034
+ ul#plugins li {
1035
+ list-style: none;
1036
+ }