atreides 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. data/LICENSE +7 -0
  2. data/README.rdoc +1 -0
  3. data/app/assets/javascripts/atreides/admin.js +22 -0
  4. data/app/assets/javascripts/atreides/admin_base.js.erb +247 -0
  5. data/app/assets/javascripts/atreides/admin_edit.js +9 -0
  6. data/app/assets/javascripts/atreides/application.js +15 -0
  7. data/app/assets/javascripts/atreides/comments.coffee +50 -0
  8. data/app/assets/javascripts/atreides/public.js +24 -0
  9. data/app/assets/javascripts/atreides/public_base.js.erb +119 -0
  10. data/app/assets/javascripts/atreides/terryblr.js +57 -0
  11. data/app/assets/stylesheets/atreides/admin.css +21 -0
  12. data/app/assets/stylesheets/atreides/admin_base.css.erb +1762 -0
  13. data/app/assets/stylesheets/atreides/application.css +13 -0
  14. data/app/assets/stylesheets/atreides/formtastic_changes.css +10 -0
  15. data/app/assets/stylesheets/atreides/iphone-checkboxes.css.erb +97 -0
  16. data/app/assets/stylesheets/atreides/jBreadCrumb.css +109 -0
  17. data/app/assets/stylesheets/atreides/public.css +15 -0
  18. data/app/assets/stylesheets/atreides/public_base.css +101 -0
  19. data/app/assets/stylesheets/atreides/swfupload.css.erb +63 -0
  20. data/app/controllers/admin/atreides/comments_controller.rb +47 -0
  21. data/app/controllers/admin/atreides/content_parts_controller.rb +43 -0
  22. data/app/controllers/admin/atreides/dropbox_controller.rb +40 -0
  23. data/app/controllers/admin/atreides/features_controller.rb +63 -0
  24. data/app/controllers/admin/atreides/github_controller.rb +35 -0
  25. data/app/controllers/admin/atreides/links_controller.rb +3 -0
  26. data/app/controllers/admin/atreides/messages_controller.rb +3 -0
  27. data/app/controllers/admin/atreides/orders_controller.rb +35 -0
  28. data/app/controllers/admin/atreides/pages_controller.rb +59 -0
  29. data/app/controllers/admin/atreides/photos_controller.rb +79 -0
  30. data/app/controllers/admin/atreides/posts_controller.rb +109 -0
  31. data/app/controllers/admin/atreides/products_controller.rb +39 -0
  32. data/app/controllers/admin/atreides/sessions_controller.rb +7 -0
  33. data/app/controllers/admin/atreides/sizes_controller.rb +4 -0
  34. data/app/controllers/admin/atreides/tags_controller.rb +20 -0
  35. data/app/controllers/admin/atreides/users_controller.rb +50 -0
  36. data/app/controllers/admin/atreides/videos_controller.rb +53 -0
  37. data/app/controllers/atreides/admin_controller.rb +96 -0
  38. data/app/controllers/atreides/admin_home_controller.rb +211 -0
  39. data/app/controllers/atreides/application_controller.rb +93 -0
  40. data/app/controllers/atreides/comments_controller.rb +43 -0
  41. data/app/controllers/atreides/home_controller.rb +71 -0
  42. data/app/controllers/atreides/likes_controller.rb +44 -0
  43. data/app/controllers/atreides/pages_controller.rb +34 -0
  44. data/app/controllers/atreides/posts_controller.rb +119 -0
  45. data/app/controllers/atreides/public_controller.rb +43 -0
  46. data/app/helpers/admin/atreides/comments_helper.rb +8 -0
  47. data/app/helpers/admin/atreides/dropbox_helper.rb +42 -0
  48. data/app/helpers/admin/atreides/features_helper.rb +4 -0
  49. data/app/helpers/admin/atreides/github_helper.rb +43 -0
  50. data/app/helpers/admin/atreides/links_helper.rb +4 -0
  51. data/app/helpers/admin/atreides/messages_helper.rb +4 -0
  52. data/app/helpers/admin/atreides/orders_helper.rb +30 -0
  53. data/app/helpers/admin/atreides/pages_helper.rb +17 -0
  54. data/app/helpers/admin/atreides/photos_helper.rb +14 -0
  55. data/app/helpers/admin/atreides/posts_helper.rb +41 -0
  56. data/app/helpers/admin/atreides/products_helper.rb +37 -0
  57. data/app/helpers/admin/atreides/sizes_helper.rb +4 -0
  58. data/app/helpers/admin/atreides/user_sessions_helper.rb +4 -0
  59. data/app/helpers/admin/atreides/users_helper.rb +8 -0
  60. data/app/helpers/admin/atreides/videos_helper.rb +4 -0
  61. data/app/helpers/atreides/admin_helper.rb +243 -0
  62. data/app/helpers/atreides/admin_home_helper.rb +4 -0
  63. data/app/helpers/atreides/application_helper.rb +210 -0
  64. data/app/helpers/atreides/home_helper.rb +4 -0
  65. data/app/helpers/atreides/posts_helper.rb +119 -0
  66. data/app/inputs/files_input.rb +13 -0
  67. data/app/inputs/price_input.rb +18 -0
  68. data/app/inputs/underline_input.rb +16 -0
  69. data/app/models/atreides/ability.rb +24 -0
  70. data/app/models/atreides/comment.rb +93 -0
  71. data/app/models/atreides/content_part.rb +107 -0
  72. data/app/models/atreides/feature.rb +90 -0
  73. data/app/models/atreides/github.rb +74 -0
  74. data/app/models/atreides/like.rb +35 -0
  75. data/app/models/atreides/line_item.rb +4 -0
  76. data/app/models/atreides/link.rb +32 -0
  77. data/app/models/atreides/message.rb +34 -0
  78. data/app/models/atreides/order.rb +209 -0
  79. data/app/models/atreides/page.rb +114 -0
  80. data/app/models/atreides/photo.rb +130 -0
  81. data/app/models/atreides/post.rb +271 -0
  82. data/app/models/atreides/product.rb +75 -0
  83. data/app/models/atreides/site.rb +59 -0
  84. data/app/models/atreides/size.rb +44 -0
  85. data/app/models/atreides/tag.rb +31 -0
  86. data/app/models/atreides/tweet.rb +123 -0
  87. data/app/models/atreides/user.rb +129 -0
  88. data/app/models/atreides/video.rb +206 -0
  89. data/app/models/atreides/vote.rb +43 -0
  90. data/app/models/fb_post_publisher_job.rb +72 -0
  91. data/app/models/settings.rb +19 -0
  92. data/app/models/tumblr_post_publisher_job.rb +75 -0
  93. data/app/models/tw_post_publisher_job.rb +54 -0
  94. data/app/views/admin/_edit_head_content.html.haml +2 -0
  95. data/app/views/admin/atreides/comments/_line.html.haml +60 -0
  96. data/app/views/admin/atreides/comments/_sidebar.html.haml +52 -0
  97. data/app/views/admin/atreides/comments/create.js.haml +1 -0
  98. data/app/views/admin/atreides/comments/index.html.haml +34 -0
  99. data/app/views/admin/atreides/content_parts/_form.html.haml +21 -0
  100. data/app/views/admin/atreides/content_parts/_photos.html.haml +18 -0
  101. data/app/views/admin/atreides/content_parts/_text.html.haml +1 -0
  102. data/app/views/admin/atreides/content_parts/_videos.html.haml +12 -0
  103. data/app/views/admin/atreides/content_parts/destroy.js.haml +3 -0
  104. data/app/views/admin/atreides/content_parts/edit.html.haml +0 -0
  105. data/app/views/admin/atreides/content_parts/new.html.haml +0 -0
  106. data/app/views/admin/atreides/content_parts/new.js.haml +11 -0
  107. data/app/views/admin/atreides/dropbox/_uploader.html.haml +134 -0
  108. data/app/views/admin/atreides/dropbox/list.html.haml +27 -0
  109. data/app/views/admin/atreides/dropbox/setup.html.haml +8 -0
  110. data/app/views/admin/atreides/features/_form.html.haml +60 -0
  111. data/app/views/admin/atreides/features/edit.html.haml +1 -0
  112. data/app/views/admin/atreides/features/index.html.haml +24 -0
  113. data/app/views/admin/atreides/features/new.html.haml +1 -0
  114. data/app/views/admin/atreides/github/index.html.haml +26 -0
  115. data/app/views/admin/atreides/github/show.html.haml +19 -0
  116. data/app/views/admin/atreides/likes/create.js.haml +2 -0
  117. data/app/views/admin/atreides/orders/_sidebar.html.haml +20 -0
  118. data/app/views/admin/atreides/orders/edit.html.haml +52 -0
  119. data/app/views/admin/atreides/orders/index.html.haml +8 -0
  120. data/app/views/admin/atreides/pages/_form.html.haml +31 -0
  121. data/app/views/admin/atreides/pages/edit.html.haml +3 -0
  122. data/app/views/admin/atreides/pages/index.html.haml +15 -0
  123. data/app/views/admin/atreides/pages/index.js.haml +4 -0
  124. data/app/views/admin/atreides/pages/new.html.haml +2 -0
  125. data/app/views/admin/atreides/photos/create.js.haml +18 -0
  126. data/app/views/admin/atreides/photos/destroy.js.haml +3 -0
  127. data/app/views/admin/atreides/posts/_archives.html.haml +19 -0
  128. data/app/views/admin/atreides/posts/_form.html.haml +66 -0
  129. data/app/views/admin/atreides/posts/_form_buttons.html.haml +9 -0
  130. data/app/views/admin/atreides/posts/_form_sidebar.html.haml +85 -0
  131. data/app/views/admin/atreides/posts/edit.html.haml +2 -0
  132. data/app/views/admin/atreides/posts/index.html.haml +24 -0
  133. data/app/views/admin/atreides/posts/index.js.haml +1 -0
  134. data/app/views/admin/atreides/posts/new.html.haml +2 -0
  135. data/app/views/admin/atreides/products/edit.html.haml +69 -0
  136. data/app/views/admin/atreides/products/index.html.haml +31 -0
  137. data/app/views/admin/atreides/sessions/new.html.haml +13 -0
  138. data/app/views/admin/atreides/user_sessions/new.html.haml +10 -0
  139. data/app/views/admin/atreides/users/_form.html.haml +19 -0
  140. data/app/views/admin/atreides/users/edit.html.haml +6 -0
  141. data/app/views/admin/atreides/users/index.html.haml +11 -0
  142. data/app/views/admin/atreides/users/new.html.haml +6 -0
  143. data/app/views/admin/atreides/users/show.html.haml +4 -0
  144. data/app/views/admin/atreides/videos/create.js.haml +9 -0
  145. data/app/views/admin/atreides/videos/destroy.js.haml +3 -0
  146. data/app/views/admin/common/_archive_sidebar.html.haml +29 -0
  147. data/app/views/admin/common/_list_table.html.erb +37 -0
  148. data/app/views/admin/common/_list_table_row.html.erb +18 -0
  149. data/app/views/admin/common/_pagination.html.erb +1 -0
  150. data/app/views/admin/common/_search_form.html.erb +6 -0
  151. data/app/views/admin/common/access_denied.html.haml +1 -0
  152. data/app/views/atreides/admin/_content_nav.html.haml +8 -0
  153. data/app/views/atreides/admin_home/_analytics.html.haml +93 -0
  154. data/app/views/atreides/admin_home/_fb_page_likes_analytics_tbody.haml +10 -0
  155. data/app/views/atreides/admin_home/_fb_page_views_analytics_tbody.haml +10 -0
  156. data/app/views/atreides/admin_home/_top_landing_pages_analytics_tbody.haml +14 -0
  157. data/app/views/atreides/admin_home/_top_referrers_analytics_tbody.haml +12 -0
  158. data/app/views/atreides/admin_home/_tweets_analytics_tbody.html.haml +8 -0
  159. data/app/views/atreides/admin_home/_visitors_analytics_tbody.html.haml +12 -0
  160. data/app/views/atreides/admin_home/index.html.haml +57 -0
  161. data/app/views/atreides/admin_home/search.html.haml +11 -0
  162. data/app/views/atreides/admin_home/setup.html.haml +15 -0
  163. data/app/views/atreides/common/_gallery_params.xml.erb +174 -0
  164. data/app/views/atreides/common/slideshow.xml.haml +6 -0
  165. data/app/views/atreides/errors/404.html.haml +10 -0
  166. data/app/views/atreides/errors/500.html.haml +4 -0
  167. data/app/views/atreides/home/index.html.haml +30 -0
  168. data/app/views/atreides/home/index.js.haml +1 -0
  169. data/app/views/atreides/home/robots.txt.erb +5 -0
  170. data/app/views/atreides/home/sitemap.xml.builder +35 -0
  171. data/app/views/atreides/pages/show.html.haml +3 -0
  172. data/app/views/atreides/posts/_archives.html.haml +19 -0
  173. data/app/views/atreides/posts/_featured_posts.html.haml +10 -0
  174. data/app/views/atreides/posts/_list.html.haml +9 -0
  175. data/app/views/atreides/posts/archives.html.haml +3 -0
  176. data/app/views/atreides/posts/archives.js.haml +1 -0
  177. data/app/views/atreides/posts/gallery_params.xml.haml +1 -0
  178. data/app/views/atreides/posts/index.atom.builder +22 -0
  179. data/app/views/atreides/posts/index.html.haml +13 -0
  180. data/app/views/atreides/posts/index.rss.builder +21 -0
  181. data/app/views/atreides/posts/show.html.haml +23 -0
  182. data/app/views/atreides/posts/tagged.html.haml +4 -0
  183. data/app/views/atreides/posts/tagged.js.haml +1 -0
  184. data/app/views/layouts/admin.html.haml +62 -0
  185. data/app/views/layouts/application.html.haml +37 -0
  186. data/app/views/layouts/atreides/application.html.erb +14 -0
  187. data/app/views/layouts/public.html.haml +39 -0
  188. data/config/cucumber.yml +11 -0
  189. data/config/locales/en.yml +236 -0
  190. data/config/locales/fr.yml +199 -0
  191. data/config/routes.rb +119 -0
  192. data/lib/assets/images/atreides/admin/add.png +0 -0
  193. data/lib/assets/images/atreides/admin/add_btn.png +0 -0
  194. data/lib/assets/images/atreides/admin/add_dashboard.png +0 -0
  195. data/lib/assets/images/atreides/admin/add_photo_button_sprite.png +0 -0
  196. data/lib/assets/images/atreides/admin/add_photos_btn.png +0 -0
  197. data/lib/assets/images/atreides/admin/background.png +0 -0
  198. data/lib/assets/images/atreides/admin/calendar.png +0 -0
  199. data/lib/assets/images/atreides/admin/chevron.gif +0 -0
  200. data/lib/assets/images/atreides/admin/chevron_overlay.png +0 -0
  201. data/lib/assets/images/atreides/admin/choose_photos_button_sprite.png +0 -0
  202. data/lib/assets/images/atreides/admin/content_bg.png +0 -0
  203. data/lib/assets/images/atreides/admin/content_bg_edit_form.png +0 -0
  204. data/lib/assets/images/atreides/admin/content_part_break.png +0 -0
  205. data/lib/assets/images/atreides/admin/content_part_drop_target.png +0 -0
  206. data/lib/assets/images/atreides/admin/content_part_icons.png +0 -0
  207. data/lib/assets/images/atreides/admin/content_part_photos.png +0 -0
  208. data/lib/assets/images/atreides/admin/content_part_text.png +0 -0
  209. data/lib/assets/images/atreides/admin/content_part_videos.png +0 -0
  210. data/lib/assets/images/atreides/admin/content_top_edit_form.png +0 -0
  211. data/lib/assets/images/atreides/admin/dashboard-indicator.gif +0 -0
  212. data/lib/assets/images/atreides/admin/dashboard_controls_activity.png +0 -0
  213. data/lib/assets/images/atreides/admin/dashboard_controls_customize.png +0 -0
  214. data/lib/assets/images/atreides/admin/dashboard_controls_drafts.png +0 -0
  215. data/lib/assets/images/atreides/admin/dashboard_controls_open.png +0 -0
  216. data/lib/assets/images/atreides/admin/dashboard_controls_posts.png +0 -0
  217. data/lib/assets/images/atreides/admin/dashboard_controls_queue.png +0 -0
  218. data/lib/assets/images/atreides/admin/dashboard_nav_border.png +0 -0
  219. data/lib/assets/images/atreides/admin/delete_bg.png +0 -0
  220. data/lib/assets/images/atreides/admin/down_arrow.png +0 -0
  221. data/lib/assets/images/atreides/admin/dropbox_big.jpg +0 -0
  222. data/lib/assets/images/atreides/admin/dropbox_btn.png +0 -0
  223. data/lib/assets/images/atreides/admin/dropbox_folder.png +0 -0
  224. data/lib/assets/images/atreides/admin/dropbox_icon.gif +0 -0
  225. data/lib/assets/images/atreides/admin/dropbox_icon.png +0 -0
  226. data/lib/assets/images/atreides/admin/expand_collapse.png +0 -0
  227. data/lib/assets/images/atreides/admin/form_sidebar_divider.png +0 -0
  228. data/lib/assets/images/atreides/admin/grey_hatch_bg.png +0 -0
  229. data/lib/assets/images/atreides/admin/header.png +0 -0
  230. data/lib/assets/images/atreides/admin/icon_dropbox.gif +0 -0
  231. data/lib/assets/images/atreides/admin/icon_home.gif +0 -0
  232. data/lib/assets/images/atreides/admin/input_bg.gif +0 -0
  233. data/lib/assets/images/atreides/admin/large_loading.gif +0 -0
  234. data/lib/assets/images/atreides/admin/new_content_icons.png +0 -0
  235. data/lib/assets/images/atreides/admin/off.png +0 -0
  236. data/lib/assets/images/atreides/admin/on.png +0 -0
  237. data/lib/assets/images/atreides/admin/page_icon.png +0 -0
  238. data/lib/assets/images/atreides/admin/permalink.png +0 -0
  239. data/lib/assets/images/atreides/admin/photos-display-type-gallery.png +0 -0
  240. data/lib/assets/images/atreides/admin/photos-display-type-photos.png +0 -0
  241. data/lib/assets/images/atreides/admin/product.png +0 -0
  242. data/lib/assets/images/atreides/admin/remove.png +0 -0
  243. data/lib/assets/images/atreides/admin/resize.png +0 -0
  244. data/lib/assets/images/atreides/admin/save_btn.png +0 -0
  245. data/lib/assets/images/atreides/admin/search_icon.png +0 -0
  246. data/lib/assets/images/atreides/admin/select_arrows.png +0 -0
  247. data/lib/assets/images/atreides/admin/slider.png +0 -0
  248. data/lib/assets/images/atreides/admin/slider_center.png +0 -0
  249. data/lib/assets/images/atreides/admin/slider_left.png +0 -0
  250. data/lib/assets/images/atreides/admin/slider_right.png +0 -0
  251. data/lib/assets/images/atreides/admin/sprite.png +0 -0
  252. data/lib/assets/images/atreides/admin/upload_btn.png +0 -0
  253. data/lib/assets/images/atreides/admin/video_bg.png +0 -0
  254. data/lib/assets/images/atreides/blank.gif +0 -0
  255. data/lib/assets/images/atreides/closelabel.png +0 -0
  256. data/lib/assets/images/atreides/loading.gif +0 -0
  257. data/lib/assets/images/atreides/sprite.png +0 -0
  258. data/lib/assets/images/atreides/tipsy.gif +0 -0
  259. data/lib/atreides.rb +82 -0
  260. data/lib/atreides/base/aasmstates.rb +117 -0
  261. data/lib/atreides/base/base.rb +40 -0
  262. data/lib/atreides/base/taggable.rb +43 -0
  263. data/lib/atreides/base/validation.rb +23 -0
  264. data/lib/atreides/configuration.rb +61 -0
  265. data/lib/atreides/engine.rb +41 -0
  266. data/lib/atreides/extendable.rb +12 -0
  267. data/lib/atreides/i18n_helpers.rb +65 -0
  268. data/lib/atreides/railties/tasks.rake +68 -0
  269. data/lib/atreides/time_formats.rb +19 -0
  270. data/lib/atreides/validators.rb +15 -0
  271. data/lib/atreides/version.rb +4 -0
  272. data/lib/generators/atreides/USAGE +0 -0
  273. data/lib/generators/atreides/atreides_generator.rb +58 -0
  274. data/lib/generators/templates/Procfile +2 -0
  275. data/lib/generators/templates/add_role_to_users.rb +16 -0
  276. data/lib/generators/templates/add_userid_to_resources.rb +15 -0
  277. data/lib/generators/templates/create_comments.rb +19 -0
  278. data/lib/generators/templates/create_content_parts.rb +66 -0
  279. data/lib/generators/templates/create_features.rb +21 -0
  280. data/lib/generators/templates/create_likes.rb +16 -0
  281. data/lib/generators/templates/create_line_items.rb +21 -0
  282. data/lib/generators/templates/create_links.rb +16 -0
  283. data/lib/generators/templates/create_messages.rb +24 -0
  284. data/lib/generators/templates/create_orders.rb +31 -0
  285. data/lib/generators/templates/create_pages.rb +31 -0
  286. data/lib/generators/templates/create_photos.rb +22 -0
  287. data/lib/generators/templates/create_posts.rb +38 -0
  288. data/lib/generators/templates/create_products.rb +24 -0
  289. data/lib/generators/templates/create_sessions.rb +16 -0
  290. data/lib/generators/templates/create_sites.rb +35 -0
  291. data/lib/generators/templates/create_sizes.rb +16 -0
  292. data/lib/generators/templates/create_tweets.rb +25 -0
  293. data/lib/generators/templates/create_videos.rb +24 -0
  294. data/lib/generators/templates/create_votes.rb +20 -0
  295. data/lib/generators/templates/delayed_job.rb +5 -0
  296. data/lib/generators/templates/devise_create_users.rb +42 -0
  297. data/lib/generators/templates/disqussion.rb +30 -0
  298. data/lib/generators/templates/em-net-http_override.rb +74 -0
  299. data/lib/generators/templates/initializer.rb +21 -0
  300. data/lib/generators/templates/new_relic.rb +6 -0
  301. data/lib/generators/templates/oembed.yml +63 -0
  302. data/lib/generators/templates/settings.yml +110 -0
  303. data/lib/generators/templates/string_extensions.rb +20 -0
  304. data/lib/generators/templates/unicorn.rb +2 -0
  305. data/lib/tasks/atreides_tasks.rake +4 -0
  306. data/lib/tasks/cucumber.rake +58 -0
  307. data/lib/tasks/tasks.rake +403 -0
  308. data/lib/tasks/yard.rake +18 -0
  309. metadata +1458 -0
@@ -0,0 +1,57 @@
1
+ /*
2
+ * Atreides - Public Behaviours
3
+ *
4
+ * Lachlan Laycock @ Jackson Laycock
5
+ * 04 March 2010
6
+ *
7
+ */
8
+ $(document).ready(function() {
9
+ // Add loading class to all links when clicked on - use CSS to style
10
+ $('a').click(function(e) {
11
+ $(this).addClass('loading')
12
+ })
13
+ // Remove loading class to all links when AJAX finished - use CSS to style
14
+ $('a').ajaxComplete(function(e) {
15
+ $(this).removeClass('loading');
16
+ });
17
+
18
+ // Slideshow
19
+ slideshow = $('.slideshow')
20
+ if (slideshow.length) {
21
+ slideshow.cycle({ fx: 'fade', timeout: 0 })
22
+
23
+ // Pause if details page
24
+ if (slideshow.parents('body.posts-show').length) {
25
+ slideshow.cycle({ timeout: 0 })
26
+ }
27
+
28
+ $('.slideshow_controls a').each(function(i, el) {
29
+ // Show each slide
30
+ $(el).click(function(e) { slideshow.cycle(i); return false; })
31
+ })
32
+ }
33
+
34
+ // Cart Items display
35
+ if ((cart = $('#cart_items')).length > 0) {
36
+ // Is cookie set?
37
+ if (items = $.cookie('cart_items')) {
38
+ $('#cart_items a').append(' ('+items.split('&').length+' items)')
39
+ }
40
+ }
41
+
42
+ // Auto-hide fields
43
+ auto_hides = $('.auto-hide-text input[type=text]')
44
+ if (auto_hides.length > 0) {
45
+ auto_hides.each(function(i, el) { $(el).attr('default',$(el).val()) })
46
+ auto_hides.focus(function(e) {
47
+ if ($(this).val()==$(this).attr('default')) $(this).val('')
48
+ $(this).attr('style', 'color:#000');
49
+ })
50
+ auto_hides.blur(function(e) {
51
+ if ($(this).val().length==0) {
52
+ $(this).val($(this).attr('default'))
53
+ $(this).attr('style', '');
54
+ }
55
+ })
56
+ }
57
+ });
@@ -0,0 +1,21 @@
1
+ /*
2
+ *= require atreides/admin_grid.css
3
+ *= require atreides/formtastic.css
4
+ *= require atreides/jquery-ui.css
5
+ *= require atreides/multipleselectbox.css
6
+ *= require atreides/tipsy.css
7
+ *= require atreides/facebox.css
8
+ *= require atreides/jBreadCrumb.css
9
+ *= require atreides/admin_base.css
10
+ */
11
+
12
+ /*
13
+ * Atreides - Admin Behaviours
14
+ *
15
+ * Lachlan Laycock @ Le 88
16
+ * 16 May 2011
17
+ *
18
+ * PUT YOUR MODIFICATIONS HERE
19
+ *
20
+ */
21
+
@@ -0,0 +1,1762 @@
1
+ /*
2
+ * Atreides - Admin Styles
3
+ *
4
+ * Lachlan Laycock @ Jackson Laycock
5
+ * 22 Feb 2010
6
+ *
7
+ * DO NOT EDIT THIS FILE!
8
+ * CHANGES TO THIS FILE WILL BE LOST!
9
+ *
10
+ * Use admin.css for location modifactions
11
+ *
12
+ */
13
+
14
+ /*
15
+ * Common
16
+ *
17
+ */
18
+
19
+ body {
20
+ background: #0A0B0C url("<%= image_path('atreides/admin/background.png') %>") 0 0 repeat-x;
21
+ }
22
+
23
+ a {
24
+ outline:none;
25
+ color:#1DAAC6;
26
+ }
27
+
28
+ a:hover {
29
+ text-decoration:underline;
30
+ }
31
+
32
+ thead th {
33
+ background:none;
34
+ border-bottom:1px solid #ccc;
35
+ }
36
+
37
+ tbody td,
38
+ tbody tr.even td,
39
+ tbody tr.odd td {
40
+ border-bottom:1px solid #eee;
41
+ background:none;
42
+ padding:6px;
43
+ }
44
+
45
+ tbody tr:hover td {
46
+ background:#f5f5f5;
47
+ }
48
+
49
+ tbody tr td:first-child a {
50
+ font-weight:bold;
51
+ color:#333;
52
+ text-decoration:none;
53
+ }
54
+
55
+ tbody tr td:first-child a:hover {
56
+ text-decoration:underline;
57
+ }
58
+
59
+ tfoot td {
60
+ border-bottom:1px solid #ccc;
61
+ font-weight:bold;
62
+ }
63
+
64
+ .flash {
65
+ -moz-border-radius: 3px;
66
+ -webkit-border-radius: 3px;
67
+ border-radius: 3px;
68
+ border-width:1px;
69
+ }
70
+
71
+ .left {
72
+ float:left;
73
+ }
74
+
75
+ .right {
76
+ float:right;
77
+ }
78
+
79
+ /*
80
+ * Header
81
+ *
82
+ */
83
+
84
+
85
+ #header {
86
+ margin-top:1em;
87
+ height:70px;
88
+ }
89
+
90
+ #header h1,
91
+ #header h1 a {
92
+ display:block;
93
+ height:61px;
94
+ overflow:hidden;
95
+ text-indent:-9000px;
96
+ background: transparent url("<%= image_path('atreides/admin/header.png') %>") 0 0 no-repeat;
97
+ margin-bottom:0;
98
+ }
99
+
100
+ #nav {
101
+ float:right;
102
+ color:#fff;
103
+ }
104
+
105
+ #nav ul {
106
+ list-style:none;
107
+ }
108
+
109
+ #nav li {
110
+ float:left;
111
+ margin-top:1em;
112
+ margin-right:1em;
113
+ font-size:1.2em;
114
+ line-height:1.9em;
115
+ }
116
+
117
+ #nav ul,
118
+ #nav li:last-child {
119
+ margin-right:0;
120
+ }
121
+
122
+ #nav a {
123
+ color:#fff;
124
+ }
125
+
126
+ #admin_search a {
127
+ display:block;
128
+ width:28px;
129
+ height:20px;
130
+ position:absolute;
131
+ margin:3px 0 5px 8px;
132
+ }
133
+
134
+ #admin_search input,
135
+ #site_selector {
136
+ border:1px solid #ccc;
137
+ -moz-border-radius: 3px;
138
+ -webkit-border-radius: 3px;
139
+ padding:3px;
140
+ padding-left:30px;
141
+ margin:0;
142
+ font-size:1em;
143
+ width:100px;
144
+ background: url("<%= image_path('atreides/admin/input_bg.gif') %>") repeat-x scroll 0 0 #FFFFFF;
145
+ }
146
+
147
+ #site_selector {
148
+ padding:0 5px;
149
+ line-height:25px;
150
+ color:#666666;
151
+ }
152
+
153
+ #site_selector label {
154
+ border-right:1px solid #ccc;
155
+ margin-right:5px;
156
+ font-weight:normal;
157
+ color:#95A3AA;
158
+ }
159
+
160
+ #site_selector span {
161
+ line-height:25px;
162
+ background: #fff url("<%= image_path('atreides/admin/select_arrows.png') %>") 100% 50% no-repeat;
163
+ padding-right:15px;
164
+ }
165
+
166
+ #site_selector .sites {
167
+ position:absolute;
168
+ display:none;
169
+ border:none;
170
+ background: #fff url("<%= image_path('atreides/admin/input_bg.gif') %>") repeat-x scroll 0 0;
171
+ width:75px;
172
+ margin-top:-26px;
173
+ margin-left:29px;
174
+ border:1px solid #ccc;
175
+ -moz-border-radius: 3px;
176
+ -webkit-border-radius: 3px;
177
+ -webkit-box-shadow: #000 0px 1px 3px;
178
+ -moz-box-shadow: #999 0px 2px 4px;
179
+ box-shadow: #000 0px 1px 3px;
180
+ z-index:1;
181
+ opacity:0.95;
182
+ }
183
+
184
+ #site_selector:hover .sites {
185
+ display:block;
186
+ }
187
+
188
+ #site_selector ol,
189
+ #site_selector li {
190
+ margin:0;
191
+ padding:0;
192
+ list-style:none;
193
+ float:none;
194
+ line-height:1em;
195
+ font-size:1em;
196
+ }
197
+
198
+ #site_selector li {
199
+ padding:5px;
200
+ }
201
+
202
+ #site_selector a,
203
+ #site_selector li span {
204
+ color:#666666;
205
+ text-decoration:none;
206
+ display:block;
207
+ background:none;
208
+ padding:0;
209
+ margin:0;
210
+ }
211
+
212
+ #site_selector li span {
213
+ line-height:1em;
214
+ }
215
+
216
+ #site_selector li {
217
+ border-bottom:1px solid #eee;
218
+ }
219
+
220
+ #site_selector li:last-child {
221
+ border-bottom:none;
222
+ }
223
+
224
+ /*
225
+ * Body
226
+ *
227
+ */
228
+
229
+
230
+ #body {
231
+ background: #fff url("<%= image_path('atreides/admin/content_bg_edit_form.png') %>") 0 0;
232
+ -moz-border-radius: 12px;
233
+ -webkit-border-radius: 12px;
234
+ border-radius: 12px;
235
+ }
236
+
237
+ #body.dashboard {
238
+ background: #444a50;
239
+ padding-top:20px;
240
+ border: 1px solid #495058;
241
+ width:952px;
242
+ position:relative;
243
+ left:-1px;
244
+ }
245
+
246
+ #body.dashboard img#content_top_edit_form {
247
+ display:none;
248
+ }
249
+
250
+ #body.dashboard p.loading {
251
+ text-align:center;
252
+ font-size:2em;
253
+ color:#C4CDD6;
254
+ line-height:2em;
255
+ margin:0.5em;
256
+ }
257
+
258
+ #body.dashboard p.loading img {
259
+ vertical-align:middle;
260
+ margin: 0 0.25em;
261
+ }
262
+
263
+ #body.dashboard p {
264
+ color:#C4CDD6;
265
+ }
266
+
267
+
268
+ #sidebar,
269
+ #content {
270
+ padding:20px;
271
+ padding-top:0;
272
+ }
273
+
274
+ #content {
275
+ padding-right:0;
276
+ }
277
+
278
+ #sidebar {
279
+ padding-left:0;
280
+ }
281
+
282
+ #content_nav {
283
+ background: #fff url("<%= image_path('atreides/admin/content_top_edit_form.png') %>") 10% 0 no-repeat;
284
+ -moz-border-radius: 5px;
285
+ -webkit-border-radius: 5px;
286
+ border-radius: 5px;
287
+ border:1px solid #ddd;
288
+ padding:5px 10px;
289
+ margin-bottom:2em;
290
+ }
291
+
292
+ #content_nav ul {
293
+ background: none;
294
+ width:520px;
295
+ height:85px;
296
+ margin:0 auto;
297
+ padding:0;
298
+ }
299
+
300
+ #content_nav li {
301
+ list-style:none;
302
+ float:left;
303
+ margin-right:5px;
304
+ width:70px;
305
+ }
306
+
307
+ #content_nav li a {
308
+ display:block;
309
+ padding-top:65px;
310
+ text-align:center;
311
+ text-transform:uppercase;
312
+ color:#666;
313
+ text-decoration:none;
314
+ background: transparent url("<%= image_path('atreides/admin/new_content_icons.png') %>") -10px -8px no-repeat;
315
+ }
316
+
317
+ #content_nav li.photos a {
318
+ background-position: -83px -8px;
319
+ }
320
+
321
+ #content_nav li.videos a {
322
+ background-position: -158px -8px;
323
+ }
324
+
325
+ #content_nav li.features a {
326
+ background-position: -568px -8px;
327
+ }
328
+
329
+ #content_nav li.contributors a {
330
+ background-position: -648px -8px;
331
+ }
332
+
333
+ #content_nav li.archives a {
334
+ background-position: -265px -8px;
335
+ }
336
+
337
+ #content_nav li.product a {
338
+ background-position: -415px -8px;
339
+ }
340
+
341
+ #content_nav li.comments a {
342
+ background-position: -343px -8px;
343
+ }
344
+
345
+ #content_nav li.store a {
346
+ background-position: -415px -8px;
347
+ }
348
+
349
+ #content_nav li.text a {
350
+ background-position: -492px -8px;
351
+ }
352
+
353
+ #content_nav li.pages a {
354
+ background-position: -10px -8px;
355
+ }
356
+
357
+ #content_nav li:last-child {
358
+ margin-right:0;
359
+ }
360
+
361
+ /*
362
+ * Sidebar
363
+ *
364
+ */
365
+
366
+ #sidebar {
367
+ }
368
+
369
+ .dashboard #content h2,
370
+ #sidebar h2 a {
371
+ color:#fff;
372
+ text-decoration:none;
373
+ display:block;
374
+ }
375
+
376
+ #sidebar h2 a span {
377
+ display:none;
378
+ }
379
+
380
+ #sidebar h2 a:hover span {
381
+ display:inline;
382
+ float:right;
383
+ text-transform:uppercase;
384
+ font-size:0.5em;
385
+ line-height:3em;
386
+ }
387
+
388
+ #sidebar ul {
389
+ list-style:none;
390
+ margin:0;
391
+ padding: 0 1.5em ;
392
+ }
393
+
394
+ #sidebar li.divider {
395
+ height:1.5em;
396
+ background: transparent url("<%= image_path('atreides/admin/form_sidebar_divider.png') %>") 0 50% repeat-x;
397
+ }
398
+
399
+ #sidebar li.new-content a {
400
+ padding:0 0.5em;
401
+ display:block;
402
+ font-size:1.5em;
403
+ line-height:2.2em;
404
+ -moz-border-radius: 5px;
405
+ -webkit-border-radius: 5px;
406
+ border-radius: 5px;
407
+ background:#ddd url("<%= image_path('atreides/admin/add.png') %>") 10px 55% no-repeat;
408
+ border:1px solid #bbb;
409
+ text-decoration:none;
410
+ color:#666;
411
+ font-weight:bold;
412
+ text-indent:25px;
413
+ }
414
+
415
+ #sidebar li.new-content a:hover {
416
+ background-color:#ccc;
417
+ border:1px solid #aaa;
418
+ }
419
+
420
+ .dashboard #sidebar h2 {
421
+ margin-bottom:0
422
+ }
423
+
424
+ .dashboard #sidebar h2 a,
425
+ .dashboard #sidebar li.new-content a {
426
+ color: #C4CDD6;
427
+ background-color:inherit;
428
+ border:1px solid transparent;
429
+ padding:0 0.5em;
430
+ -moz-border-radius: 5px;
431
+ -webkit-border-radius: 5px;
432
+ border-radius: 5px;
433
+ text-shadow:0 1px 0 #000000;
434
+ }
435
+
436
+ .dashboard #sidebar li.new-content a {
437
+ background-image:url("<%= image_path('atreides/admin/add_dashboard.png') %>");
438
+ }
439
+
440
+ .dashboard #sidebar h2 a:hover,
441
+ .dashboard #sidebar li.new-content a:hover {
442
+ border-color:#495058;
443
+ background-color:#282C30;
444
+ }
445
+
446
+ .dashboard #sidebar img {
447
+ vertical-align:middle;
448
+ }
449
+
450
+ .dashboard #sidebar li,
451
+ .dashboard #sidebar a {
452
+ color:#C4CDD6;
453
+ text-decoration:none;
454
+ }
455
+
456
+ .dashboard #sidebar a:hover {
457
+ text-decoration:underline;
458
+ }
459
+
460
+ .dashboard #sidebar li.divider {
461
+ background-image: url("<%= image_path('atreides/admin/dashboard_nav_border.png') %>");
462
+ }
463
+
464
+ /*
465
+ * Dashboard
466
+ *
467
+ */
468
+
469
+ #content .chart h3 {
470
+ color:#fff;
471
+ margin:0;
472
+ text-indent:1em;
473
+ line-height:2em;
474
+ }
475
+
476
+ #content .chart h3 span {
477
+ float:right;
478
+ margin-right:1em;
479
+ font-size:1.2em;
480
+ }
481
+
482
+ .chart {
483
+ border:1px solid #495058;
484
+ background:#282C30;
485
+ -moz-border-radius: 5px;
486
+ -webkit-border-radius: 5px;
487
+ border-radius: 5px;
488
+ margin-bottom:2em;
489
+ }
490
+
491
+ .chart table {
492
+ width:95%;
493
+ margin:0 auto 1.5em auto;
494
+ }
495
+
496
+ .chart table thead th {
497
+ color:#eee;
498
+ font-weight:bold;
499
+ }
500
+
501
+ .chart table td {
502
+ background:#eee;
503
+ }
504
+
505
+ .chart.top_referrers,
506
+ .chart.top_landing_pages,
507
+ .chart.tweet-reach,
508
+ .chart.tweet-exposure,
509
+ .chart.fb-page-views,
510
+ .chart.fb-page-likes {
511
+ width:48%;
512
+ float:left;
513
+ }
514
+
515
+ .chart.top_referrers table,
516
+ .chart.top_landing_pages table {
517
+ width:90%;
518
+ }
519
+
520
+ .chart.top_referrers,
521
+ .chart.tweet-reach,
522
+ .chart.fb-page-views {
523
+ margin-right:3%;
524
+ }
525
+
526
+ .chart.countries_week {
527
+ clear:both;
528
+ }
529
+
530
+ .graph_canvas {
531
+ height: 240px;
532
+ width: 100%;
533
+ }
534
+
535
+ #countries_pie {
536
+ height: 360px;
537
+ width: 100%;
538
+ }
539
+
540
+ /*
541
+ * Content
542
+ *
543
+ */
544
+
545
+ #content h2,
546
+ #content h3 {
547
+ font-weight:bold;
548
+ color:#444a50;
549
+ }
550
+
551
+ .search-form input,
552
+ .search-form a {
553
+ padding:2px;
554
+ font-size:1.2em;
555
+ line-height:2em;
556
+ }
557
+
558
+ .auto-hide-text input {
559
+ color:#666;
560
+ }
561
+
562
+ /*
563
+ * Archives
564
+ *
565
+ */
566
+
567
+ ul.archives {
568
+ list-style:none;
569
+ margin:0;
570
+ padding: 0;
571
+ }
572
+
573
+ ul.archives li {
574
+ float:left;
575
+ margin: 0 10px 10px 0;
576
+ }
577
+
578
+ ul.archives a {
579
+ width:90px;
580
+ height:90px;
581
+ overflow:hidden;
582
+ float:left;
583
+ display:block;
584
+ text-decoration:none;
585
+ padding:5px;
586
+ background-color: #eee;
587
+ background-position: 50% 50%;
588
+ }
589
+
590
+ ul.archives a .date-overlay {
591
+ display:none;
592
+ }
593
+
594
+ ul.archives a:hover .date-overlay {
595
+ display:block;
596
+ width:100px;
597
+ height:100px;
598
+ text-align:center;
599
+ line-height:100px;
600
+ font-size:2em;
601
+ color:#fff;
602
+ font-weight:bold;
603
+ background:#000;
604
+ opacity:0.66;
605
+ position:absolute;
606
+ margin:-5px;
607
+ }
608
+
609
+ ul.archives a span {
610
+ color:#fff;
611
+ font-weight:bold;
612
+ background:#000;
613
+ line-height:1.2em;
614
+ padding:1px;
615
+ }
616
+
617
+ .pagination a {
618
+ color:#C4CDD6
619
+ }
620
+
621
+ .pagination .previous {
622
+ float:left;
623
+ }
624
+
625
+ .pagination .next {
626
+ float:right;
627
+ }
628
+
629
+ .pagination .more a {
630
+ display:block;
631
+ text-align:center;
632
+ border:1px solid #495058;
633
+ -moz-border-radius: 5px;
634
+ -webkit-border-radius: 5px;
635
+ border-radius: 5px;
636
+ margin-bottom:2em;
637
+ width:650px;
638
+ padding:0.5em 0;
639
+ text-decoration:none;
640
+ font-size:1.2em;
641
+ }
642
+
643
+ .pagination .more a:hover {
644
+ background:#282C30;
645
+ text-decoration:underline;
646
+ }
647
+
648
+ /*
649
+ * Posts
650
+ *
651
+ */
652
+
653
+ #map_canvas {
654
+ width:100%;
655
+ height:200px;
656
+ }
657
+
658
+ #content_parts_drops_list li,
659
+ #content_parts_drops_list span {
660
+ float:none !important;
661
+ display:block;
662
+ cursor:move;
663
+ }
664
+
665
+ #content_parts_drops_list span {
666
+ margin: 5px 2px;
667
+ padding-left:40px;
668
+ line-height:34px;
669
+ background: transparent url("<%= image_path('atreides/admin/content_part_icons.png') %>") 0 0 no-repeat;
670
+ }
671
+
672
+ #content_part_photos span {
673
+ background-position: 0 -32px;
674
+ }
675
+
676
+ #content_part_videos span {
677
+ background-position: 0 -64px;
678
+ }
679
+
680
+ #content_parts_drops_list .draggable-sshot {
681
+ opacity:0.6;
682
+ }
683
+
684
+ #content_part_loading,
685
+ #content_part_drop,
686
+ #content_parts_container .empty-message {
687
+ border-radius: 5px;
688
+ background: #f5f5f5 url("<%= image_path('atreides/admin/large_loading.gif') %>") 28% 50% no-repeat;
689
+ border: 3px solid #686868;
690
+ width:auto;
691
+ text-align:center;
692
+ text-indent:45px;
693
+ line-height:3em;
694
+ font-size:2em;
695
+ font-weight:bold;
696
+ color:#686868;
697
+ margin:0 auto 1em auto;
698
+ display:none;
699
+ text-shadow: 0 1px 0 #fff;
700
+ box-shadow:inset 0 1px 5px #666;
701
+ -moz-box-shadow:inset 0 1px 5px #666;
702
+ -webkit-box-shadow:inset 0 1px 5px #666;
703
+ }
704
+
705
+ #content_part_drop,
706
+ #content_parts_container .empty-message {
707
+ background-image: url("<%= image_path('atreides/admin/content_part_drop_target.png') %>");
708
+ background-position:33% 50%;
709
+ }
710
+
711
+ #content_parts_container .empty-message {
712
+ background-position:20px 50%;
713
+ display:block;
714
+ }
715
+
716
+ #content_parts_container.droppable-active #content_part_drop,
717
+ #content_parts_container.loading #content_part_loading {
718
+ display:block;
719
+ }
720
+
721
+ #content_parts_container.droppable-active .empty-message,
722
+ #content_parts_container.loading .empty-message {
723
+ display:none;
724
+ }
725
+
726
+
727
+ #content_parts_container .part-container {
728
+ background:#fff;
729
+ border-radius:7px;
730
+ }
731
+
732
+ #content_parts_container .part-container.ui-sortable-helper {
733
+ border: 3px solid #aaa;
734
+ background:#f5f5f5;
735
+ position:relative;
736
+ left-3px;
737
+ top:-3px;
738
+ }
739
+
740
+ #content_parts_container.droppable-active .part-container,
741
+ #content_parts_container.loading .part-container {
742
+ background:none;
743
+ }
744
+
745
+ #content_parts_container .part-drag-handle,
746
+ #content_parts_container .part-delete-btn {
747
+ float:right;
748
+ margin:0;
749
+ width:18px;
750
+ height:18px;
751
+ margin-top:-18px;
752
+ position:relative;
753
+ top:20px;
754
+ left:-20px;
755
+ display:none;
756
+ }
757
+
758
+ #content_parts_container .part-drag-handle {
759
+ cursor:move;
760
+ left:-40px;
761
+ }
762
+
763
+ #content_parts_container fieldset:hover .part-drag-handle,
764
+ #content_parts_container fieldset:hover .part-delete-btn {
765
+ display:block;
766
+ }
767
+
768
+ #content_parts_container .ui-state-highlight {
769
+ height:5px;
770
+ line-height:5px;
771
+ border-width:2px;
772
+ border-radius:5px;
773
+ -moz-border-radius:5px;
774
+ -webkit-border-radius:5px;
775
+ text-align:center;
776
+
777
+ }
778
+
779
+ /*
780
+ * Orders
781
+ *
782
+ */
783
+
784
+
785
+ td.items_field a {
786
+ display:block;
787
+ float:left;
788
+ margin:5px;
789
+ }
790
+
791
+ .order-form .items li {
792
+ font-size:1.25em;
793
+ }
794
+
795
+ .order-form .items li img {
796
+ vertical-align:middle;
797
+ }
798
+
799
+
800
+ /*
801
+ * Pages
802
+ *
803
+ */
804
+
805
+ .atreides_pages_table img.page_icon {
806
+ float:left;
807
+ margin-right:0.5em;
808
+ vertical-align:middle;
809
+ }
810
+
811
+ .atreides_pages_table .collapsed,
812
+ .atreides_pages_table .expanded {
813
+ display:block;
814
+ float:left;
815
+ height:17px;
816
+ width:17px;
817
+ }
818
+
819
+ .atreides_pages_table .collapsed a,
820
+ .atreides_pages_table .expanded a {
821
+ display:block;
822
+ float:left;
823
+ margin-right:0.5em;
824
+ height:17px;
825
+ width:17px;
826
+ margin-top:8px;
827
+ background: transparent url("<%= image_path('atreides/admin/expand_collapse.png') %>") 0 0 no-repeat
828
+ }
829
+
830
+ .atreides_pages_table .expanded a {
831
+ background-position: 0 100%;
832
+ }
833
+
834
+ .atreides_pages_table .page_column {
835
+ line-height:30px;
836
+ }
837
+
838
+ /*
839
+ * Comments
840
+ *
841
+ */
842
+
843
+ #comments_list {
844
+ border-top:1px solid #ccc;
845
+ }
846
+
847
+ #comments_list .comment {
848
+ clear:left;
849
+ border-bottom:1px solid #eee;
850
+ padding: 1em 0;
851
+ }
852
+
853
+ #comments_list .comment:hover {
854
+ background:#f5f5f5;
855
+ }
856
+
857
+ #comments_list .comment-avatar {
858
+ float:left;
859
+ }
860
+
861
+ #comments_list .comment-name {
862
+ font-weight:bold;
863
+ }
864
+
865
+ #comments_list .comment-avatar img {
866
+ margin-right:0.5em;
867
+ margin-bottom:0.5em;
868
+ }
869
+
870
+ #comments_list .comment-excerpt p {
871
+ margin-bottom:0.5em;
872
+ }
873
+
874
+ .comment-time {
875
+ clear:left;
876
+ }
877
+
878
+ .comment-actions-left ul {
879
+ margin:0;
880
+ padding:0;
881
+ list-style:none;
882
+ }
883
+
884
+ .comment-actions-left li {
885
+ float:left;
886
+ margin-right:0.5em;
887
+ }
888
+
889
+ fieldset#comment_buttons {
890
+ border:none;
891
+ width:100%;
892
+ margin-top:1em;
893
+ }
894
+
895
+ #comment_buttons ol {
896
+ list-style:none;
897
+ margin:0;
898
+ padding:0;
899
+ }
900
+
901
+ #sidebar #filter-list ul {
902
+ padding:0;
903
+ }
904
+
905
+ .comments-panel-wrapper li.machine_tag {
906
+ float:none;
907
+ width:100%;
908
+ margin-bottom:0.5em;
909
+ }
910
+
911
+ /*
912
+ * Features
913
+ *
914
+ */
915
+
916
+ #feature_post_browser {
917
+ background:#eee;
918
+ border:1px solid #ccc;
919
+ -moz-border-radius: 5px;
920
+ padding:10px 11px;
921
+ -webkit-box-shadow: #000 0px 1px 3px;
922
+ -moz-box-shadow: #999 0px 2px 4px;
923
+ box-shadow: #000 0px 1px 3px;
924
+ }
925
+
926
+ #feature_post_browser .close a {
927
+ line-height:2em;
928
+ float:right;
929
+ background: transparent url("<%= image_path('atreides/admin/remove.png') %>") 50% 50% no-repeat;
930
+ text-indent:-999px;
931
+ overflow:hidden;
932
+ display:block;
933
+ width:22px;
934
+ height:22px;
935
+ }
936
+
937
+ #feature_post_browser label {
938
+ width:auto;
939
+ margin-bottom:0.5em;
940
+ }
941
+
942
+ #feature_post_browser li {
943
+ float:left;
944
+ width:auto;
945
+ margin-bottom:10px;
946
+ }
947
+
948
+ #feature_post_browser li:nth-child(6n+6) {
949
+ margin-right:0;
950
+ }
951
+
952
+ #feature_post_browser li a {
953
+ width:82px;
954
+ height:82px;
955
+ font-size:0.9em;
956
+ }
957
+
958
+ #feature_post_browser .date-overlay {
959
+ width:92px;
960
+ height:92px;
961
+ }
962
+
963
+ #feature_post_browser .more a {
964
+ width:99%;
965
+ border:none;
966
+ color:#333;
967
+ font-weight:bold;
968
+ margin:0;
969
+ }
970
+
971
+ #feature_post_browser .more a:hover {
972
+ color:#333;
973
+ background:#ddd;
974
+ }
975
+
976
+ #feature_photo_ul li {
977
+ width:auto;
978
+ }
979
+
980
+ /*
981
+ * Forms
982
+ *
983
+ */
984
+
985
+ form.formtastic fieldset {
986
+ margin-left:10px;
987
+ width:100%;
988
+ }
989
+
990
+ #form_sidebar fieldset.inputs {
991
+ width: 230px;
992
+ }
993
+
994
+ form .sidebar fieldset {
995
+ margin-left:20px;
996
+ }
997
+
998
+ form.formtastic .sidebar fieldset ol li label {
999
+ width:100%;
1000
+ }
1001
+
1002
+ form.formtastic .sidebar li li label {
1003
+ font-size:1.1em;
1004
+ line-height:1.5em;
1005
+ }
1006
+
1007
+ form .sidebar li {
1008
+ padding-top:1.5em;
1009
+ background: transparent url("<%= image_path('atreides/admin/form_sidebar_divider.png') %>") 0 0 repeat-x;
1010
+ }
1011
+
1012
+ form .sidebar li li {
1013
+ padding:0;
1014
+ float:left;
1015
+ background:none;
1016
+ width:auto;
1017
+ }
1018
+
1019
+ form .sidebar ol > li:first-child {
1020
+ padding-top:0;
1021
+ background: none;
1022
+ }
1023
+
1024
+ form .sidebar textarea {
1025
+ width:100%;
1026
+ height:auto;
1027
+ }
1028
+
1029
+ form .sidebar textarea[disabled] {
1030
+ background:none;
1031
+ }
1032
+
1033
+ form.formtastic fieldset ol li {
1034
+ width:95%;
1035
+ }
1036
+
1037
+ form.formtastic fieldset ol li label {
1038
+ float:none;
1039
+ font-weight:normal;
1040
+ font-size:1.25em;
1041
+ color:#666;
1042
+ width:50%;
1043
+ }
1044
+
1045
+ form.formtastic fieldset ol li.string input,
1046
+ form.formtastic fieldset ol li.text textarea,
1047
+ form.formtastic fieldset ol li.email input,
1048
+ form.formtastic fieldset ol li.url input,
1049
+ form.formtastic fieldset ol li.password input {
1050
+ width:100%;
1051
+ padding:2px;
1052
+ font-size:1.2em;
1053
+ }
1054
+
1055
+ form.formtastic fieldset ol li.text span.mceEditor {
1056
+ width:100%;
1057
+ }
1058
+
1059
+ form.formtastic fieldset ol li.boolean input {
1060
+ top:0;
1061
+ }
1062
+
1063
+ form.formtastic fieldset ol li.boolean label {
1064
+ padding-left:0;
1065
+ }
1066
+
1067
+
1068
+ form.formtastic fieldset ol li.url input.title,
1069
+ form.formtastic fieldset ol li.string input.title,
1070
+ form.formtastic fieldset ol li.email input.title,
1071
+ form.formtastic fieldset ol li.password input.title {
1072
+ padding:5px;
1073
+ font-size:2em;
1074
+ }
1075
+
1076
+ form.formtastic fieldset ol li p.inline-hints {
1077
+ margin-left:0;
1078
+ }
1079
+
1080
+ form.formtastic fieldset ol li.date-picker input[type=text] {
1081
+ width:92%;
1082
+ background: #fff url("<%= image_path('atreides/admin/calendar.png') %>") 4px 2px no-repeat;
1083
+ text-indent:20px;
1084
+ }
1085
+
1086
+ .common-tags label {
1087
+ margin-bottom:0.5em;
1088
+ }
1089
+
1090
+ .jq_tags_editor {
1091
+ min-height: 30px;
1092
+ padding: 5px 5px 10px 5px;
1093
+ cursor:test;
1094
+ border:1px solid #bbb;
1095
+ background: url("<%= image_path('atreides/admin/input_bg.gif') %>") repeat-x scroll 0 0 #FFFFFF;
1096
+ }
1097
+
1098
+ .jq_tags_editor input[type="text"] {
1099
+ border: none;
1100
+ }
1101
+
1102
+ .jq_tags_token,
1103
+ .tag-picker .jq_tags_token {
1104
+ -moz-border-radius: 2px;
1105
+ -webkit-border-radius: 2px;
1106
+ background: #c7da76 !important;
1107
+ border: solid 1px #b7c963;
1108
+ color: #111;
1109
+ font-weight:normal;
1110
+ float: left;
1111
+ margin: 0 5px 5px 0;
1112
+ padding: 0 5px;
1113
+ line-height:1.75em;
1114
+ width:auto;
1115
+ }
1116
+
1117
+ .jq_tags_token a,
1118
+ .common-tags .jq_tags_token {
1119
+ color: #749440;
1120
+ font-weight: bold;
1121
+ margin-left: 7px;
1122
+ text-decoration:none;
1123
+ }
1124
+
1125
+ .jq_tags_editor input,
1126
+ .jq_tags_editor input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
1127
+ background:none;
1128
+ border:none;
1129
+ box-shadow:none;
1130
+ }
1131
+
1132
+ li.machine_tag,
1133
+ #content_parts_drops_list li {
1134
+ -moz-border-radius: 3px;
1135
+ -webkit-border-radius: 3px;
1136
+ border-radius: 3px;
1137
+ color: #111;
1138
+ font-weight:normal;
1139
+ float: left;
1140
+ margin: 0 5px 5px 0;
1141
+ padding: 0 5px;
1142
+ line-height:2.25em;
1143
+ width:auto;
1144
+ border:1px solid #ccc;
1145
+ color:#666;
1146
+ background-color:#f5f5f5;
1147
+ }
1148
+
1149
+ li.machine_tag:hover,
1150
+ li.machine_tag.selected,
1151
+ #content_parts_drops_list li:hover {
1152
+ background-color:#ddd;
1153
+ }
1154
+
1155
+ form.formtastic .machine_tag input,
1156
+ form.formtastic .machine_tag a {
1157
+ vertical-align:top;
1158
+ margin: 5px;
1159
+ }
1160
+
1161
+ form.formtastic .machine_tag a,
1162
+ form.formtastic .machine_tag span {
1163
+ margin-left: 0.5em;
1164
+ }
1165
+
1166
+ form.formtastic .machine_tag a,
1167
+ form.formtastic .machine_tag span {
1168
+ margin-left: 0.5em;
1169
+ }
1170
+
1171
+ form.formtastic fieldset ol li.price span {
1172
+ float:left;
1173
+ font-size:1.5em;
1174
+ font-weight:bold;
1175
+ color:#666;
1176
+ line-height:1.3em;
1177
+ padding-right:0.25em;
1178
+ }
1179
+
1180
+ form.formtastic fieldset ol li.price input {
1181
+ width:85%;
1182
+ }
1183
+
1184
+ form.formtastic fieldset ol li.underline span {
1185
+ float:left;
1186
+ font-size:1.2em;
1187
+ line-height:1.2em;
1188
+ color:#666;
1189
+ }
1190
+
1191
+ form.formtastic fieldset ol li.underline input,
1192
+ form.formtastic fieldset ol li.underline input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
1193
+ width:70%;
1194
+ background:transparent;
1195
+ border-width:0;
1196
+ border-bottom-width:1px;
1197
+ font-size:1.2em;
1198
+ line-height:1em;
1199
+ box-shadow:none;
1200
+ padding:0 0.25em;
1201
+ }
1202
+
1203
+ form.formtastic fieldset ol li.files input {
1204
+ width:50%;
1205
+ }
1206
+
1207
+ form.formtastic fieldset ol li.post-states label {
1208
+ display:none;
1209
+ }
1210
+
1211
+ form.formtastic fieldset ol li.post-states select {
1212
+ font-size:1.5em;
1213
+ }
1214
+
1215
+ .upload-container {
1216
+ display:inline-block;
1217
+ vertical-align:top;
1218
+ width:60%;
1219
+ }
1220
+
1221
+ .photos-upload .upload-btn {
1222
+ background: transparent url("<%= image_path('atreides/admin/upload_btn.png') %>") 0 0 no-repeat;
1223
+ width:84px;
1224
+ height:24px;
1225
+ display:inline-block;
1226
+ margin:5px 0;
1227
+ cursor:pointer;
1228
+ vertical-align:middle;
1229
+ }
1230
+
1231
+ #dropbox_uploader.upload-btn {
1232
+ background-image: url("<%= image_path('atreides/admin/dropbox_btn.png') %>");
1233
+
1234
+ }
1235
+
1236
+ .photos-upload .upload-btn .qq-upload-button,
1237
+ .photos-upload .upload-btn a {
1238
+ display:block;
1239
+ border:none;
1240
+ width:84px;
1241
+ height:24px;
1242
+ overflow:hidden;
1243
+ text-indent:-500px;
1244
+ }
1245
+
1246
+ .photos-upload .upload-btn:hover {
1247
+ background-position: 0 -24px;
1248
+ }
1249
+
1250
+ .photos-upload .upload-btn:active {
1251
+ background-position: 0 -48px;
1252
+ }
1253
+
1254
+ .photos-upload .or {
1255
+ font-size:1.5em;
1256
+ text-align:center;
1257
+ font-style:italic;
1258
+ font-weight:bold;
1259
+ color:#ccc;
1260
+ position:relative;
1261
+ top:3px;
1262
+ padding:0 0.5em;
1263
+ }
1264
+
1265
+ .photos-upload .upload-progress {
1266
+ border:1px solid #ccc;
1267
+ color:#666;
1268
+ background:#f5f5f5;
1269
+ margin-top:5px;
1270
+ line-height:1.9em;
1271
+ -moz-border-radius: 3px;
1272
+ -webkit-border-radius: 3px;
1273
+ height:23px;
1274
+ width:100%;
1275
+ overflow:hidden;
1276
+ white-space:nowrap;
1277
+ }
1278
+
1279
+ .photos-upload .upload-progress .ui-progressbar-value {
1280
+ background:#ddd;
1281
+ }
1282
+
1283
+ .photos-upload .upload-progress span {
1284
+ position:absolute;
1285
+ display:block;
1286
+ margin-left:10px;
1287
+ width:180px;
1288
+ overflow:hidden;
1289
+ white-space:nowrap;
1290
+ text-overflow:ellipsis;
1291
+ }
1292
+
1293
+ .photos-upload .qq-upload-list {
1294
+ display:none;
1295
+ }
1296
+
1297
+ #dropbox_browser .MultipleSelectBox {
1298
+ border: none !important;
1299
+ }
1300
+
1301
+ #dropbox_browser .breadCrumb {
1302
+ width: 100%;
1303
+ padding:7px;
1304
+ }
1305
+
1306
+ #dropbox_browser .breadCrumb li {
1307
+ display:inline-block;
1308
+ }
1309
+
1310
+ #dropbox_browser .MultipleSelectBox li.selected {
1311
+ background-color: #ddd;
1312
+ border:none;
1313
+ border-radius:7px;
1314
+ }
1315
+
1316
+ #dropbox_browser .breadCrumb ul {
1317
+ margin:0;
1318
+ padding:0;
1319
+ }
1320
+
1321
+ #dropbox_browser .selector li {
1322
+ float:left;
1323
+ width:72px;
1324
+ height:85px;
1325
+ overflow:hidden;
1326
+ padding:7px;
1327
+ margin:5px;
1328
+ text-align:center;
1329
+ border:none;
1330
+ }
1331
+
1332
+ #dropbox_browser ul.selector {
1333
+ clear:left;
1334
+ }
1335
+
1336
+ #dropbox_browser .breadCrumb ul li:first-child a {
1337
+ background:url("<%= image_path('atreides/admin/dropbox_icon.png') %>") no-repeat 0 0;
1338
+ display:inline-block;
1339
+ width:16px;
1340
+ height:16px;
1341
+ text-indent:-999px;
1342
+ overflow:hidden;
1343
+ vertical-align:middle;
1344
+ }
1345
+
1346
+ #dropbox_browser .breadCrumb ul li a {
1347
+ cursor: pointer;
1348
+ }
1349
+
1350
+ #dropbox_browser .selector li img {
1351
+ display:block;
1352
+ margin:0 auto;
1353
+ width:72px;
1354
+ height:72px;
1355
+ background: transparent url("<%= image_path('atreides/admin/new_content_icons.png') %>") -10px -10px no-repeat;
1356
+ border:none;
1357
+ }
1358
+
1359
+ #dropbox_browser .selector li.directory a {
1360
+ background: transparent url("<%= image_path('atreides/admin/dropbox_folder.png') %>") 50% 0 no-repeat;
1361
+ padding-top: 70px;
1362
+ }
1363
+
1364
+ #dropbox_browser .selector li a {
1365
+ display: block;
1366
+ width:100%;
1367
+ white-space: nowrap;
1368
+ overflow:hidde;
1369
+ text-overflow:ellipsis;
1370
+ }
1371
+
1372
+ #dropbox_browser .selector li a.image {
1373
+ padding-left:0px;
1374
+
1375
+ }
1376
+
1377
+ form.formtastic fieldset ol li.photos-upload,
1378
+ form.formtastic fieldset ol li.photos-display-type,
1379
+ form.formtastic fieldset ol li.photos-choose {
1380
+ width:49%;
1381
+ float:left;
1382
+ margin-right:2%;
1383
+ }
1384
+
1385
+ form.formtastic fieldset ol li.photos-display-type,
1386
+ form.formtastic fieldset ol li.photos-choose {
1387
+ margin-right:0;
1388
+ }
1389
+
1390
+ .photos-display-type span {
1391
+ display:block;
1392
+ float:left;
1393
+ width:42%;
1394
+ margin-top:4px;
1395
+ margin-right:4%;
1396
+ padding: 0 0.25em;
1397
+ border:1px solid #ccc;
1398
+ color:#666;
1399
+ background:#f5f5f5;
1400
+ line-height:45px;
1401
+ font-size:1.1em;
1402
+ -moz-border-radius: 3px;
1403
+ -webkit-border-radius: 3px;
1404
+ border-radius: 3px;
1405
+ }
1406
+
1407
+ .photos-display-type span.selected {
1408
+ border-color: #aaa;
1409
+ background-color:#ddd;
1410
+ }
1411
+
1412
+ .photos-display-type span:hover {
1413
+ border-color: #aaa;
1414
+ }
1415
+
1416
+ .photos-display-type span img {
1417
+ vertical-align:middle;
1418
+ margin: 0 0.25em;
1419
+ }
1420
+
1421
+ .photos-choose a {
1422
+ display:block;
1423
+ margin:5px;
1424
+ width:84px;
1425
+ height:24px;
1426
+ background: #fff url("<%= image_path('atreides/admin/choose_photos_button_sprite.png') %>") 0 0 no-repeat;
1427
+ text-indent:-999px;
1428
+ overflow:hidden;
1429
+ }
1430
+
1431
+ .photos-choose a:hover {
1432
+ background-position: 0 50%;
1433
+ }
1434
+
1435
+ .photos-choose a:active {
1436
+ background-position: 0 100%;
1437
+ }
1438
+
1439
+ form.formtastic fieldset ol li.video-url input {
1440
+ width:65%;
1441
+ }
1442
+
1443
+ form.formtastic fieldset ol li.video-url a {
1444
+ float:right;
1445
+ display:block;
1446
+ width:84px;
1447
+ height:24px;
1448
+ text-indent:-999px;
1449
+ background: #fff url("<%= image_path('atreides/admin/add_btn.png') %>") 0 0 no-repeat;
1450
+ }
1451
+
1452
+ form.formtastic fieldset ol li.video-url a:hover {
1453
+ background-position:0 -24px;
1454
+ }
1455
+
1456
+ form.formtastic fieldset ol li.video-url a:active {
1457
+ background-position:0 -48px;
1458
+ }
1459
+
1460
+ .media-list ul li {
1461
+ float:left;
1462
+ width:auto;
1463
+ margin:5px;
1464
+ padding:5px;
1465
+ border:1px solid #ccc;
1466
+ color:#666;
1467
+ background:#f5f5f5;
1468
+ -moz-border-radius: 5px;
1469
+ -webkit-border-radius: 5px;
1470
+ cursor:move;
1471
+ text-align:center;
1472
+ }
1473
+
1474
+ .photos-list.media-list ul li {
1475
+ display:block;
1476
+ height:175px;
1477
+ width:113px;
1478
+ padding: 0 5px;
1479
+ }
1480
+
1481
+ .photos-list.media-list ul li:nth-child(5n+1) {
1482
+ clear:left;
1483
+ }
1484
+
1485
+ .media-list ul li img.photo-thumb {
1486
+ display:block;
1487
+ margin: 5px auto 5px auto;
1488
+ border:1px solid #000;
1489
+ }
1490
+
1491
+ .media-list ul li a {
1492
+ display:none;
1493
+ }
1494
+
1495
+ .media-list ul li:hover a {
1496
+ display:block;
1497
+ position:absolute;
1498
+ margin:-10px 0 0 -10px;
1499
+ padding:1px;
1500
+ height:18px;
1501
+ width:18px;
1502
+ background:#f5f5f5;
1503
+ border:1px solid #aaa;
1504
+ -moz-border-radius: 2px;
1505
+ -webkit-border-radius: 2px;
1506
+ border-radius: 2px;
1507
+ }
1508
+
1509
+ .media-list ul li textarea {
1510
+ width:95px;
1511
+ font-size:1em;
1512
+ line-height:1.5em;
1513
+ height:4.5em;
1514
+ padding-left: 5px;
1515
+ }
1516
+
1517
+ form.formtastic .videos-list li textarea {
1518
+ margin-top:5px;
1519
+ width:180px;
1520
+ }
1521
+
1522
+ form.formtastic .videos-list li,
1523
+ form.formtastic .photos-list li {
1524
+ width:auto;
1525
+ }
1526
+
1527
+ .flash-replaced .alt {
1528
+ display:none;
1529
+ }
1530
+
1531
+ form.formtastic fieldset ol li.add-inline-photo {
1532
+ float:right;
1533
+ text-align:right;
1534
+ width:200px;
1535
+ position:absolute;
1536
+ margin: 0 0 0 433px;
1537
+ height:2em;
1538
+ }
1539
+
1540
+ form.formtastic fieldset ol li.add-inline-photo a {
1541
+ text-decoration:none;
1542
+ color:#666;
1543
+ line-height:2em;
1544
+ }
1545
+
1546
+ form.formtastic fieldset ol li.add-inline-photo a:hover {
1547
+ text-decoration:underline;
1548
+ color:#333;
1549
+ }
1550
+
1551
+ form.formtastic fieldset ol li.add-inline-photo img {
1552
+ vertical-align:middle;
1553
+ margin-left:5px;
1554
+ }
1555
+
1556
+ #add_photo_flash {
1557
+ position:relative;
1558
+ top:-16px;
1559
+ left:120px;
1560
+ width:80px;
1561
+ height:16px;
1562
+ cusror:pointer;
1563
+ }
1564
+
1565
+ form.formtastic fieldset ol li.video-upload,
1566
+ form.formtastic fieldset ol li.video-url {
1567
+ width:40%;
1568
+ vertical-align:top;
1569
+ }
1570
+
1571
+ form.formtastic fieldset ol li.video-or {
1572
+ width:15%;
1573
+ height:2.5em;
1574
+ line-height:2.5em;
1575
+ overflow:hidden;
1576
+ font-size:3em;
1577
+ text-align:center;
1578
+ font-style:italic;
1579
+ font-weight:bold;
1580
+ color:#ddd;
1581
+ margin:0;
1582
+ }
1583
+
1584
+ form.formtastic fieldset.actions,
1585
+ fieldset.actions {
1586
+ padding:0;
1587
+ width:97.5%;
1588
+ }
1589
+
1590
+ form.formtastic fieldset.actions li,
1591
+ fieldset.actions li {
1592
+ float:left;
1593
+ width:auto;
1594
+ padding:0;
1595
+ margin-right:0.5em
1596
+ }
1597
+
1598
+ form.formtastic fieldset.actions li.cancel,
1599
+ form.formtastic fieldset.actions li.delete,
1600
+ fieldset.actions li.cancel,
1601
+ fieldset.actions li.delete {
1602
+ float:right;
1603
+ }
1604
+
1605
+ fieldset.actions input,
1606
+ fieldset.actions button,
1607
+ fieldset.actions input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
1608
+ fieldset.actions a {
1609
+ background:#eee;
1610
+ border:1px solid #aaa;
1611
+ padding:10px;
1612
+ font-weight:bold;
1613
+ font-size:1.2em;
1614
+ cursor:pointer;
1615
+ -moz-border-radius: 3px;
1616
+ -webkit-border-radius: 3px;
1617
+ border-radius: 3px;
1618
+ display:block;
1619
+ box-shadow:none;
1620
+ }
1621
+
1622
+ fieldset.actions .create,
1623
+ fieldset.actions input:not([type="checkbox"]):not([type="radio"]):not([type="file"]).create,
1624
+ fieldset.actions input:not([type="checkbox"]):not([type="radio"]):not([type="file"]).update {
1625
+ color:#5D9A25;
1626
+ }
1627
+
1628
+ fieldset.actions .cancel {
1629
+ text-decoration:none;
1630
+ color:#8A1F11;
1631
+ }
1632
+
1633
+ fieldset.actions .commit a,
1634
+ fieldset.actions .delete a {
1635
+ border-color:#fff;
1636
+ background:none;
1637
+ font-weight:normal;
1638
+ color:#999;
1639
+ text-decoration:none;
1640
+ }
1641
+
1642
+ fieldset.actions .delete a:hover {
1643
+ background:#8A1F11;
1644
+ color:#fff;
1645
+ border:1px solid #000;
1646
+ }
1647
+
1648
+ fieldset.actions .cancel:hover {
1649
+ background:#FBE3E5;
1650
+ border-color:#F5C0C3;
1651
+ }
1652
+
1653
+ fieldset.actions input:not([type="checkbox"]):not([type="radio"]):not([type="file"]).create:hover,
1654
+ fieldset.actions input:not([type="checkbox"]):not([type="radio"]):not([type="file"]).update:hover,
1655
+ fieldset.actions .commit a:hover {
1656
+ background:#E6F0C2;
1657
+ border-color:#C6D880;
1658
+ color:#5D9A25;
1659
+
1660
+ }
1661
+
1662
+ ul.ui-autocomplete {
1663
+ width:195px;
1664
+ margin:0;
1665
+ padding:0;
1666
+ list-style:none;
1667
+ }
1668
+
1669
+ ul.ui-autocomplete li {
1670
+ padding: 3px 5px;
1671
+ }
1672
+
1673
+ ul.ui-autocomplete a {
1674
+ display:block;
1675
+ }
1676
+
1677
+ ul.ui-autocomplete a:hover {
1678
+ background:#eee;
1679
+ border:none;
1680
+ font-weight:normal;
1681
+ color:inherit;
1682
+
1683
+ }
1684
+
1685
+ #ui-datepicker-div {
1686
+ display:none;
1687
+ }
1688
+
1689
+ /*
1690
+ * Validation
1691
+ *
1692
+ */
1693
+
1694
+ #errorExplanation {
1695
+ margin: 0 10px;
1696
+ }
1697
+
1698
+ #errorExplanation h2 {
1699
+ font-size:1.5em;
1700
+ margin-bottom:0.25em;
1701
+ color:#8A1F11;
1702
+ }
1703
+
1704
+ #errorExplanation p {
1705
+ font-size:1.1em;
1706
+ }
1707
+
1708
+ #errorExplanation ul {
1709
+ list-style:disc inside;
1710
+ padding:0;
1711
+ margin:0.5em;
1712
+ }
1713
+
1714
+ form.formtastic fieldset ol li.error {
1715
+ border:none;
1716
+ background:inherit;
1717
+ }
1718
+
1719
+ form.formtastic fieldset ol li.error label {
1720
+ color:#8A1F11;
1721
+ }
1722
+
1723
+ form.formtastic fieldset ol li.error input {
1724
+ border-color: #8A1F11;
1725
+ }
1726
+
1727
+ form.formtastic fieldset ol li p.inline-errors {
1728
+ margin-left:0;
1729
+ background:#8A1F11;
1730
+ color:#fff;
1731
+ padding:0.2em 0.5em;
1732
+ -moz-border-radius: 3px;
1733
+ -webkit-border-radius: 3px;
1734
+ border-radius: 3px;
1735
+ }
1736
+
1737
+ /*
1738
+ * Footer
1739
+ *
1740
+ */
1741
+
1742
+ #footer {
1743
+ margin-bottom:2em;
1744
+ }
1745
+
1746
+ #projects_list {
1747
+ cursor: move;
1748
+ }
1749
+
1750
+ #projects_list a {
1751
+ position: relative;
1752
+ }
1753
+
1754
+ .photos-count {
1755
+ background:#000000 none repeat scroll 0 0;
1756
+ color:#FFFFFF;
1757
+ font-weight:bold;
1758
+ line-height:1.2em;
1759
+ padding:1px;
1760
+ position: absolute;
1761
+ bottom: 0;
1762
+ }