spontaneous 0.1.0.alpha1 → 0.2.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (413) hide show
  1. data/Gemfile +40 -35
  2. data/LICENSE +20 -0
  3. data/Rakefile +39 -42
  4. data/Readme.markdown +155 -0
  5. data/application/css/definitions.scss +3 -0
  6. data/application/css/editing.scss +9 -4
  7. data/application/css/min/565d4c25e82148acb01c45c8d675b37a08676d77.css +1 -0
  8. data/application/css/min/84dbe894ea96eafd321c30823d630817bfc4b03b.css +1 -0
  9. data/application/css/min/d1b54ff4847c613618267ca1c15658e2aee0a4e5.css +1 -0
  10. data/application/css/v2.scss +144 -50
  11. data/application/js/add_alias_dialogue.js +18 -8
  12. data/application/js/ajax.js +1 -1
  13. data/application/js/authentication.js +8 -1
  14. data/application/js/box.js +37 -7
  15. data/application/js/box_container.js +1 -1
  16. data/application/js/compatibility.js +7 -0
  17. data/application/js/content.js +7 -0
  18. data/application/js/content_area.js +4 -0
  19. data/application/js/edit_panel.js +44 -18
  20. data/application/js/editing.js +12 -0
  21. data/application/js/event_source.js +17 -0
  22. data/application/js/extensions.js +2 -0
  23. data/application/js/field_types/file_field.js +2 -1
  24. data/application/js/field_types/image_field.js +35 -48
  25. data/application/js/field_types/long_string_field.js +12 -0
  26. data/application/js/field_types/markdown_field.js +2 -5
  27. data/application/js/field_types/string_field.js +5 -1
  28. data/application/js/field_types/webvideo_field.js +15 -0
  29. data/application/js/init.js +1 -0
  30. data/application/js/location.js +30 -19
  31. data/application/js/login.js +1 -2
  32. data/application/js/min/2a0c2962537a3181fedfff5c92596ba6d3122dc9.js +3 -0
  33. data/application/js/min/4cf1c493d3379ecba5287758c61238034c0893f9.js +2 -0
  34. data/application/js/min/78ac6b99d96750bb6b9f9aad4cb9cd91cd03f391.js +3 -0
  35. data/application/js/min/c8efb9b9f7c3f6613fcebc6be60f605b6570a382.js +90 -0
  36. data/application/js/page.js +1 -0
  37. data/application/js/page_entry.js +6 -40
  38. data/application/js/preview.js +2 -3
  39. data/application/js/top_bar.js +76 -31
  40. data/application/js/upload.js +5 -2
  41. data/application/js/upload_manager.js +2 -81
  42. data/application/js/vendor/jquery-1.7.1.min.js +4 -0
  43. data/application/js/vendor/jquery-ui-1.8.16.custom.min.js +791 -0
  44. data/application/js/views.js +3 -3
  45. data/application/js/views/box_view.js +164 -83
  46. data/application/js/views/page_piece_view.js +2 -2
  47. data/application/js/views/page_view.js +46 -15
  48. data/application/js/views/piece_view.js +29 -8
  49. data/application/static/diagonal-texture.png +0 -0
  50. data/application/static/item-buttons-highlight.png +0 -0
  51. data/application/static/plus-box.png +0 -0
  52. data/application/static/plus_alt.svg +8 -0
  53. data/application/static/slot-up-arrow.png +0 -0
  54. data/application/views/{index.erubis → index.erb} +9 -5
  55. data/application/views/{login.erubis → login.erb} +14 -10
  56. data/application/views/schema_modification_error.html.erb +18 -6
  57. data/application/views/{unsupported.erubis → unsupported.erb} +0 -0
  58. data/bin/spot +15 -2
  59. data/db/migrations/20100610142136_init.rb +2 -2
  60. data/db/migrations/20101130104334_timestamps.rb +2 -2
  61. data/db/migrations/20110209152710_users_and_groups.rb +11 -11
  62. data/db/migrations/20120106171423_visibility_path.rb +19 -0
  63. data/db/migrations/20120107124541_owner_id.rb +19 -0
  64. data/docs/recipe-interface-screenshot.png +0 -0
  65. data/lib/cutaneous.rb +11 -10
  66. data/lib/cutaneous/context_helper.rb +119 -14
  67. data/lib/cutaneous/preview_context.rb +4 -3
  68. data/lib/cutaneous/preview_renderer.rb +1 -6
  69. data/lib/cutaneous/publish_context.rb +1 -0
  70. data/lib/cutaneous/{first_pass_renderer.rb → publish_renderer.rb} +2 -6
  71. data/lib/cutaneous/publish_template.rb +62 -0
  72. data/lib/cutaneous/publish_token_parser.rb +8 -0
  73. data/lib/cutaneous/renderer.rb +4 -2
  74. data/lib/cutaneous/request_context.rb +1 -0
  75. data/lib/cutaneous/{second_pass_renderer.rb → request_renderer.rb} +2 -5
  76. data/lib/cutaneous/request_template.rb +11 -0
  77. data/lib/cutaneous/request_token_parser.rb +9 -0
  78. data/lib/cutaneous/token_parser.rb +125 -0
  79. data/lib/sequel/plugins/content_table_inheritance.rb +19 -12
  80. data/lib/sequel/plugins/scoped_table_name.rb +45 -0
  81. data/lib/spontaneous.rb +123 -126
  82. data/lib/spontaneous/box.rb +127 -47
  83. data/lib/spontaneous/box_style.rb +39 -22
  84. data/lib/spontaneous/change.rb +2 -2
  85. data/lib/spontaneous/cli.rb +1 -0
  86. data/lib/spontaneous/cli/base.rb +12 -4
  87. data/lib/spontaneous/cli/console.rb +72 -0
  88. data/lib/spontaneous/cli/server.rb +36 -12
  89. data/lib/spontaneous/cli/site.rb +175 -1
  90. data/lib/spontaneous/collections/box_set.rb +19 -1
  91. data/lib/spontaneous/collections/entry_set.rb +70 -22
  92. data/lib/spontaneous/collections/field_set.rb +3 -3
  93. data/lib/spontaneous/collections/prototype_set.rb +28 -0
  94. data/lib/spontaneous/config.rb +14 -5
  95. data/lib/spontaneous/content.rb +23 -24
  96. data/lib/spontaneous/errors.rb +20 -4
  97. data/lib/spontaneous/extensions/array.rb +2 -2
  98. data/lib/spontaneous/extensions/json.rb +1 -1
  99. data/lib/spontaneous/extensions/nil.rb +13 -0
  100. data/lib/spontaneous/facet.rb +61 -7
  101. data/lib/spontaneous/field_types.rb +1 -3
  102. data/lib/spontaneous/field_types/date_field.rb +1 -0
  103. data/lib/spontaneous/field_types/field.rb +32 -15
  104. data/lib/spontaneous/field_types/image_field.rb +138 -69
  105. data/lib/spontaneous/field_types/location_field.rb +59 -0
  106. data/lib/spontaneous/field_types/long_string_field.rb +13 -0
  107. data/lib/spontaneous/field_types/markdown_field.rb +2 -1
  108. data/lib/spontaneous/field_types/string_field.rb +2 -2
  109. data/lib/spontaneous/field_types/webvideo_field.rb +255 -0
  110. data/lib/spontaneous/generators/page/inline.html.cut +1 -1
  111. data/lib/spontaneous/generators/page/page.html.cut.tt +5 -4
  112. data/lib/spontaneous/generators/page/page.rb.tt +1 -5
  113. data/lib/spontaneous/generators/site.rb +1 -0
  114. data/lib/spontaneous/generators/site/.gitignore +2 -0
  115. data/lib/spontaneous/generators/site/Gemfile.tt +3 -5
  116. data/lib/spontaneous/generators/site/config/environment.rb.tt +1 -0
  117. data/lib/spontaneous/generators/site/config/environments/development.rb.tt +3 -1
  118. data/lib/spontaneous/generators/site/config/environments/production.rb.tt +3 -1
  119. data/lib/spontaneous/generators/site/config/indexes.rb.tt +23 -0
  120. data/lib/spontaneous/generators/site/public/css/{site.css → site.scss} +0 -0
  121. data/lib/spontaneous/generators/site/schema/box.rb.tt +5 -0
  122. data/lib/spontaneous/generators/site/templates/layouts/standard.html.cut.tt +11 -5
  123. data/lib/spontaneous/image_size.rb +0 -1
  124. data/lib/spontaneous/loader.rb +335 -218
  125. data/lib/spontaneous/logger.rb +7 -2
  126. data/lib/spontaneous/media.rb +64 -59
  127. data/lib/spontaneous/media/file.rb +74 -0
  128. data/lib/spontaneous/page.rb +47 -18
  129. data/lib/spontaneous/page_piece.rb +29 -27
  130. data/lib/spontaneous/paths.rb +0 -1
  131. data/lib/spontaneous/permissions.rb +3 -21
  132. data/lib/spontaneous/permissions/user.rb +5 -1
  133. data/lib/spontaneous/permissions/user_level.rb +6 -7
  134. data/lib/spontaneous/piece.rb +12 -7
  135. data/lib/spontaneous/plugins/aliases.rb +76 -31
  136. data/lib/spontaneous/plugins/allowed_types.rb +36 -37
  137. data/lib/spontaneous/plugins/application/facets.rb +7 -10
  138. data/lib/spontaneous/plugins/application/features.rb +17 -0
  139. data/lib/spontaneous/plugins/application/paths.rb +25 -31
  140. data/lib/spontaneous/plugins/application/render.rb +1 -5
  141. data/lib/spontaneous/plugins/application/serialisation.rb +2 -0
  142. data/lib/spontaneous/plugins/application/state.rb +6 -9
  143. data/lib/spontaneous/plugins/boxes.rb +65 -40
  144. data/lib/spontaneous/plugins/controllers.rb +22 -22
  145. data/lib/spontaneous/plugins/entries.rb +149 -150
  146. data/lib/spontaneous/plugins/entry.rb +50 -35
  147. data/lib/spontaneous/plugins/field/editor_class.rb +13 -0
  148. data/lib/spontaneous/plugins/fields.rb +41 -33
  149. data/lib/spontaneous/plugins/instance_code.rb +9 -9
  150. data/lib/spontaneous/plugins/layouts.rb +31 -35
  151. data/lib/spontaneous/plugins/media.rb +31 -32
  152. data/lib/spontaneous/plugins/page/formats.rb +56 -31
  153. data/lib/spontaneous/plugins/page/request.rb +15 -9
  154. data/lib/spontaneous/plugins/page_search.rb +30 -31
  155. data/lib/spontaneous/plugins/page_tree.rb +59 -12
  156. data/lib/spontaneous/plugins/paths.rb +84 -79
  157. data/lib/spontaneous/plugins/permissions.rb +26 -28
  158. data/lib/spontaneous/plugins/prototypes.rb +42 -37
  159. data/lib/spontaneous/plugins/publishing.rb +50 -94
  160. data/lib/spontaneous/plugins/render.rb +8 -16
  161. data/lib/spontaneous/plugins/schema_hierarchy.rb +20 -21
  162. data/lib/spontaneous/plugins/schema_id.rb +33 -25
  163. data/lib/spontaneous/plugins/schema_title.rb +3 -4
  164. data/lib/spontaneous/plugins/serialisation.rb +32 -35
  165. data/lib/spontaneous/plugins/site/features.rb +32 -0
  166. data/lib/spontaneous/plugins/site/instance.rb +3 -2
  167. data/lib/spontaneous/plugins/site/level.rb +18 -0
  168. data/lib/spontaneous/plugins/site/map.rb +2 -1
  169. data/lib/spontaneous/plugins/site/publishing.rb +56 -59
  170. data/lib/spontaneous/plugins/site/revisions.rb +24 -19
  171. data/lib/spontaneous/plugins/site/schema.rb +33 -0
  172. data/lib/spontaneous/plugins/site/search.rb +43 -0
  173. data/lib/spontaneous/plugins/site/selectors.rb +35 -30
  174. data/lib/spontaneous/plugins/site/storage.rb +63 -0
  175. data/lib/spontaneous/plugins/site_map.rb +23 -25
  176. data/lib/spontaneous/plugins/styles.rb +35 -43
  177. data/lib/spontaneous/plugins/supertype.rb +3 -1
  178. data/lib/spontaneous/plugins/visibility.rb +90 -83
  179. data/lib/spontaneous/prototypes/box_prototype.rb +55 -25
  180. data/lib/spontaneous/prototypes/field_prototype.rb +66 -19
  181. data/lib/spontaneous/prototypes/style_prototype.rb +2 -2
  182. data/lib/spontaneous/publishing.rb +1 -1
  183. data/lib/spontaneous/publishing/immediate.rb +128 -49
  184. data/lib/spontaneous/publishing/simultaneous.rb +70 -0
  185. data/lib/spontaneous/rack.rb +38 -26
  186. data/lib/spontaneous/rack/around_back.rb +3 -23
  187. data/lib/spontaneous/rack/around_preview.rb +3 -8
  188. data/lib/spontaneous/rack/assets.rb +7 -6
  189. data/lib/spontaneous/rack/authentication.rb +21 -0
  190. data/lib/spontaneous/rack/back.rb +310 -331
  191. data/lib/spontaneous/rack/cacheable_file.rb +27 -0
  192. data/lib/spontaneous/rack/cookie_authentication.rb +38 -0
  193. data/lib/spontaneous/rack/css.rb +43 -0
  194. data/lib/spontaneous/rack/event_source.rb +31 -0
  195. data/lib/spontaneous/rack/front.rb +30 -8
  196. data/lib/spontaneous/rack/helpers.rb +31 -0
  197. data/lib/spontaneous/rack/media.rb +22 -21
  198. data/lib/spontaneous/rack/public.rb +2 -1
  199. data/lib/spontaneous/rack/query_authentication.rb +35 -0
  200. data/lib/spontaneous/rack/reloader.rb +6 -3
  201. data/lib/spontaneous/rack/user_helpers.rb +28 -0
  202. data/lib/spontaneous/render.rb +64 -23
  203. data/lib/spontaneous/render/context_base.rb +143 -0
  204. data/lib/spontaneous/render/format.rb +24 -19
  205. data/lib/spontaneous/render/helpers.rb +14 -0
  206. data/lib/spontaneous/render/helpers/html_helper.rb +69 -0
  207. data/lib/spontaneous/render/helpers/script_helper.rb +17 -0
  208. data/lib/spontaneous/render/helpers/stylesheet_helper.rb +16 -0
  209. data/lib/spontaneous/render/preview_context.rb +8 -0
  210. data/lib/spontaneous/render/preview_renderer.rb +6 -0
  211. data/lib/spontaneous/render/publish_context.rb +22 -0
  212. data/lib/spontaneous/render/published_renderer.rb +12 -13
  213. data/lib/spontaneous/render/publishing_renderer.rb +3 -0
  214. data/lib/spontaneous/render/render_cache.rb +26 -0
  215. data/lib/spontaneous/render/renderer.rb +5 -1
  216. data/lib/spontaneous/render/request_context.rb +8 -0
  217. data/lib/spontaneous/schema.rb +56 -24
  218. data/lib/spontaneous/schema/schema_modification.rb +2 -2
  219. data/lib/spontaneous/schema/uid.rb +22 -106
  220. data/lib/spontaneous/schema/uid_map.rb +120 -0
  221. data/lib/spontaneous/search.rb +11 -0
  222. data/lib/spontaneous/search/compound_indexer.rb +26 -0
  223. data/lib/spontaneous/search/database.rb +72 -0
  224. data/lib/spontaneous/search/field.rb +95 -0
  225. data/lib/spontaneous/search/index.rb +184 -0
  226. data/lib/spontaneous/search/results.rb +34 -0
  227. data/lib/spontaneous/server.rb +5 -1
  228. data/lib/spontaneous/site.rb +56 -16
  229. data/lib/spontaneous/storage.rb +22 -0
  230. data/lib/spontaneous/storage/backend.rb +10 -0
  231. data/lib/spontaneous/storage/cloud.rb +104 -0
  232. data/lib/spontaneous/storage/local.rb +52 -0
  233. data/lib/spontaneous/style.rb +27 -9
  234. data/lib/spontaneous/version.rb +1 -1
  235. data/spontaneous.gemspec +719 -0
  236. data/test/disabled/test_slots.rb +1 -1
  237. data/test/experimental/test_cutaneous.rb +309 -0
  238. data/test/experimental/test_features.rb +129 -0
  239. data/test/fixtures/application/views/{index.erubis → index.erb} +0 -0
  240. data/test/fixtures/back/public/css/sass_include.scss +5 -0
  241. data/test/fixtures/back/public/css/sass_template.scss +4 -0
  242. data/test/fixtures/example_application/templates/client_project.html.cut +4 -4
  243. data/test/fixtures/example_application/templates/client_project/images.html.cut +1 -1
  244. data/test/fixtures/example_application/templates/client_projects.html.cut +2 -2
  245. data/test/fixtures/example_application/templates/inline_image.html.cut +1 -1
  246. data/test/fixtures/example_application/templates/layouts/home.html.cut +7 -7
  247. data/test/fixtures/example_application/templates/layouts/info.html.cut +1 -1
  248. data/test/fixtures/example_application/templates/layouts/project.html.cut +4 -4
  249. data/test/fixtures/example_application/templates/layouts/projects.html.cut +2 -2
  250. data/test/fixtures/example_application/templates/project.html.cut +2 -2
  251. data/test/fixtures/example_application/templates/project/inline.html.cut +3 -3
  252. data/test/fixtures/example_application/templates/project_image.html.cut +1 -1
  253. data/test/fixtures/example_application/templates/text.html.cut +1 -1
  254. data/test/fixtures/fields/youtube_api_response.xml +102 -0
  255. data/test/fixtures/layouts/layouts/custom4.html.cut +0 -0
  256. data/test/fixtures/plugins/schema_plugin/public/css/plugin.css +1 -0
  257. data/test/fixtures/plugins/schema_plugin/public/js/plugin.js +1 -0
  258. data/test/fixtures/plugins/schema_plugin/public/static.html +1 -0
  259. data/test/fixtures/plugins/schema_plugin/public/subdir/image.gif +1 -0
  260. data/test/fixtures/plugins/schema_plugin/public/subdir/include1.scss +3 -0
  261. data/test/fixtures/plugins/schema_plugin/public/subdir/sass.scss +4 -0
  262. data/test/fixtures/plugins/schema_plugin/public/subdir/sass/include2.scss +4 -0
  263. data/test/fixtures/public/templates/layouts/default.html.cut +1 -1
  264. data/test/fixtures/public/templates/layouts/default.pdf.cut +1 -1
  265. data/test/fixtures/public/templates/layouts/default.rss.cut +1 -1
  266. data/test/fixtures/public/templates/layouts/dynamic.html.cut +1 -1
  267. data/test/fixtures/schema_modification/config/database.yml +0 -0
  268. data/test/fixtures/schema_modification/config/environment.rb +2 -0
  269. data/test/fixtures/schema_modification/schema/box.rb +1 -0
  270. data/test/fixtures/schema_modification/schema/custom_box.rb +1 -0
  271. data/test/fixtures/schema_modification/schema/page.rb +6 -0
  272. data/test/fixtures/schema_modification/schema/piece.rb +1 -0
  273. data/test/fixtures/search/config/database.yml +1 -0
  274. data/test/fixtures/search/config/indexes.rb +4 -0
  275. data/test/fixtures/serialisation/root_hash.yaml.erb +16 -20
  276. data/test/fixtures/storage/cloud/environment.rb +12 -0
  277. data/test/fixtures/storage/default/environment.rb +1 -0
  278. data/test/fixtures/templates/aliases/layouts/c_alias.html.cut +1 -1
  279. data/test/fixtures/templates/content/include.html.cut +1 -1
  280. data/test/fixtures/templates/content/include_dir.html.cut +1 -1
  281. data/test/fixtures/templates/content/included.epub.cut +1 -1
  282. data/test/fixtures/templates/content/included.html.cut +1 -1
  283. data/test/fixtures/templates/content/partial/included.html.cut +1 -1
  284. data/test/fixtures/templates/content/preprocess.html.cut +1 -1
  285. data/test/fixtures/templates/content/second.html.cut +1 -1
  286. data/test/fixtures/templates/content/template.epub.cut +1 -1
  287. data/test/fixtures/templates/content/template.html.cut +1 -1
  288. data/test/fixtures/templates/default_style_class.html.cut +1 -1
  289. data/test/fixtures/templates/engine/braces.html.cut +6 -0
  290. data/test/fixtures/templates/engine/multiline.html.cut +5 -0
  291. data/test/fixtures/templates/extended/grandparent.html.cut +7 -7
  292. data/test/fixtures/templates/extended/main.html.cut +5 -5
  293. data/test/fixtures/templates/extended/parent.html.cut +10 -8
  294. data/test/fixtures/templates/extended/partial.html.cut +1 -0
  295. data/test/fixtures/templates/extended/partial_with_locals.html.cut +1 -0
  296. data/test/fixtures/templates/extended/with_includes.html.cut +9 -0
  297. data/test/fixtures/templates/extended/with_includes_and_locals.html.cut +9 -0
  298. data/test/fixtures/templates/layouts/entries.html.cut +7 -7
  299. data/test/fixtures/templates/layouts/page_style.html.cut +1 -1
  300. data/test/fixtures/templates/layouts/params.html.cut +1 -1
  301. data/test/fixtures/templates/layouts/preview_render.html.cut +2 -2
  302. data/test/fixtures/templates/layouts/standard_page.html.cut +1 -1
  303. data/test/fixtures/templates/layouts/subdir_style.html.cut +1 -1
  304. data/test/fixtures/templates/layouts/template_params.html.cut +1 -1
  305. data/test/fixtures/templates/layouts/variables.html.cut +7 -0
  306. data/test/fixtures/templates/page_class/inline_style.html.cut +1 -1
  307. data/test/fixtures/templates/preview_render/variables.html.cut +1 -0
  308. data/test/fixtures/templates/publishing/templates/layouts/dynamic.html.cut +1 -0
  309. data/test/fixtures/templates/publishing/templates/layouts/dynamic.rtf.cut +1 -0
  310. data/test/fixtures/templates/publishing/templates/layouts/static.html.cut +1 -0
  311. data/test/fixtures/templates/template_class/anonymous_style.html.cut +2 -2
  312. data/test/fixtures/templates/template_class/complex_template.html.cut +4 -4
  313. data/test/fixtures/templates/template_class/complex_template.pdf.cut +4 -4
  314. data/test/fixtures/templates/template_class/default_template_style.html.cut +2 -2
  315. data/test/fixtures/templates/template_class/images_with_template.html.cut +3 -3
  316. data/test/fixtures/templates/template_class/slots_template.html.cut +3 -3
  317. data/test/fixtures/templates/template_class/slots_template.pdf.cut +3 -3
  318. data/test/fixtures/templates/template_class/this_template.epub.cut +1 -1
  319. data/test/fixtures/templates/template_class/this_template.html.cut +1 -1
  320. data/test/fixtures/templates/template_class/this_template.pdf.cut +1 -1
  321. data/test/fixtures/templates/with_default_style_class.html.cut +1 -1
  322. data/test/functional/test_application.rb +19 -15
  323. data/test/functional/test_back.rb +130 -98
  324. data/test/functional/test_front.rb +72 -28
  325. data/test/javascript/test_dom.rb +1 -1
  326. data/test/javascript/test_markdown.rb +1 -1
  327. data/test/slow/test_publishing.rb +94 -75
  328. data/test/slow/test_visibility.rb +47 -14
  329. data/test/test_helper.rb +30 -3
  330. data/test/ui/test_page_editing.rb +1 -1
  331. data/test/unit/test_alias.rb +200 -16
  332. data/test/unit/test_authentication.rb +26 -28
  333. data/test/unit/test_boxes.rb +146 -75
  334. data/test/unit/test_config.rb +42 -20
  335. data/test/unit/test_content.rb +156 -37
  336. data/test/unit/test_content_inheritance.rb +4 -2
  337. data/test/unit/test_extensions.rb +7 -1
  338. data/test/unit/test_fields.rb +558 -290
  339. data/test/{experimental → unit}/test_formats.rb +42 -3
  340. data/test/unit/test_generators.rb +3 -2
  341. data/test/unit/test_helpers.rb +54 -0
  342. data/test/unit/test_image_size.rb +1 -1
  343. data/test/unit/test_images.rb +51 -40
  344. data/test/unit/test_layouts.rb +21 -4
  345. data/test/unit/test_logger.rb +1 -1
  346. data/test/unit/test_media.rb +165 -7
  347. data/test/unit/test_page.rb +158 -27
  348. data/test/unit/test_permissions.rb +170 -187
  349. data/test/unit/test_piece.rb +27 -9
  350. data/test/unit/test_plugins.rb +153 -0
  351. data/test/unit/test_prototype_set.rb +60 -2
  352. data/test/unit/test_prototypes.rb +81 -20
  353. data/test/unit/test_render.rb +97 -9
  354. data/test/unit/test_schema.rb +167 -120
  355. data/test/unit/test_search.rb +588 -0
  356. data/test/unit/test_serialisation.rb +26 -10
  357. data/test/unit/test_site.rb +42 -25
  358. data/test/unit/test_storage.rb +88 -0
  359. data/test/unit/test_structure.rb +11 -5
  360. data/test/unit/test_styles.rb +64 -3
  361. data/test/unit/test_table_scoping.rb +76 -0
  362. data/test/unit/test_templates.rb +69 -31
  363. data/test/unit/test_type_hierarchy.rb +9 -1
  364. metadata +274 -208
  365. data/Gemfile.lock +0 -146
  366. data/application/css/min/54ee0ed3c7fac7632bd5c020d69e9a2503e0c88c.css +0 -1
  367. data/application/css/min/c256adc144e2bdd0b0539356b04eb62db01e1dc3.css +0 -1
  368. data/application/js/edit_dialogue.js +0 -137
  369. data/application/js/min/492a209de8ee955fa9c729a765377495001e11b1.js +0 -17
  370. data/application/js/min/80f684d77c940887a1d4a63e3a96102e993baa98.js +0 -88
  371. data/application/js/min/c7140ec9475e5bf868b901e0621338d7d162358b.js +0 -3
  372. data/application/js/min/f07f2bd6630ee31e1c2288ec223383d8f0658ba6.js +0 -2
  373. data/application/js/vendor/.DS_Store +0 -0
  374. data/application/js/vendor/JS.Class-2.1.5/src/command.js +0 -93
  375. data/application/js/vendor/JS.Class-2.1.5/src/comparable.js +0 -37
  376. data/application/js/vendor/JS.Class-2.1.5/src/constant_scope.js +0 -48
  377. data/application/js/vendor/JS.Class-2.1.5/src/core.js +0 -1060
  378. data/application/js/vendor/JS.Class-2.1.5/src/decorator.js +0 -50
  379. data/application/js/vendor/JS.Class-2.1.5/src/enumerable.js +0 -505
  380. data/application/js/vendor/JS.Class-2.1.5/src/forwardable.js +0 -22
  381. data/application/js/vendor/JS.Class-2.1.5/src/hash.js +0 -334
  382. data/application/js/vendor/JS.Class-2.1.5/src/linked_list.js +0 -114
  383. data/application/js/vendor/JS.Class-2.1.5/src/loader.js +0 -553
  384. data/application/js/vendor/JS.Class-2.1.5/src/method_chain.js +0 -172
  385. data/application/js/vendor/JS.Class-2.1.5/src/observable.js +0 -55
  386. data/application/js/vendor/JS.Class-2.1.5/src/package.js +0 -472
  387. data/application/js/vendor/JS.Class-2.1.5/src/proxy.js +0 -58
  388. data/application/js/vendor/JS.Class-2.1.5/src/ruby.js +0 -44
  389. data/application/js/vendor/JS.Class-2.1.5/src/set.js +0 -332
  390. data/application/js/vendor/JS.Class-2.1.5/src/stack_trace.js +0 -151
  391. data/application/js/vendor/JS.Class-2.1.5/src/state.js +0 -95
  392. data/application/js/vendor/JS.Class-2.1.5/src/stdlib.js +0 -2612
  393. data/application/js/vendor/jquery-1.4.2.min.js +0 -154
  394. data/application/js/vendor/jquery-1.4.3.min.js +0 -166
  395. data/application/js/vendor/jquery-1.5.1.min.js +0 -16
  396. data/application/js/vendor/jquery-1.5.1rc1.min.js +0 -24
  397. data/application/js/vendor/jquery-ui-1.8.6.custom.min.js +0 -265
  398. data/application/js/vendor/jquery-ui-1.8.custom.min.js +0 -106
  399. data/application/js/vendor/jquery.hotkeys-0.7.9.js +0 -248
  400. data/application/js/vendor/jquery.hotkeys-0.7.9.min.js +0 -19
  401. data/application/js/vendor/jsdiff.js +0 -169
  402. data/lib/cutaneous/first_pass_parser.rb +0 -23
  403. data/lib/cutaneous/parser_core.rb +0 -18
  404. data/lib/cutaneous/second_pass_parser.rb +0 -23
  405. data/lib/sequel/plugins/yajl_serialization.rb +0 -154
  406. data/lib/spontaneous/plugins.rb +0 -20
  407. data/lib/spontaneous/proxy_object.rb +0 -12
  408. data/lib/spontaneous/publishing/fire_and_forget.rb +0 -57
  409. data/lib/spontaneous/render/context.rb +0 -100
  410. data/spontaneous.gemspec.tmpl +0 -66
  411. data/test/experimental/test_plugins.rb +0 -64
  412. data/test/fixtures/templates/publishing/layouts/dynamic.html.cut +0 -1
  413. data/test/fixtures/templates/publishing/layouts/static.html.cut +0 -1
data/Gemfile CHANGED
@@ -1,49 +1,54 @@
1
1
  source :rubygems
2
2
 
3
+ gemspec
3
4
 
4
- gem 'rake', '~> 0.8.7'
5
- gem 'activesupport', '~> 3.0.4'
6
- gem 'home_run', '~> 1.0.0'
7
- gem 'sequel', '~> 3.20'
8
- gem 'yajl-ruby', '~> 0.7'
9
- gem 'erubis', '~> 2.6'
10
- gem 'tenjin', '~> 0.6.1'
11
- gem 'sinatra', '~> 1.1.2'
12
- gem 'rack', '~> 1.3.beta'
13
- gem 'thin', '~> 1.2'
14
- gem 'less', '~> 1.2'
15
- gem 'sass', '~> 3.1.4'
16
- gem 'stringex', '~> 1.1'
17
- gem 'mini_magick', '~> 3.3'
18
- gem 'fire_and_forget', '~> 0.3.2'
19
- gem 'thor', '~> 0.14.6'
20
- gem 'hwia', '~> 1.0.2'
21
- gem 'base58', '~> 0.1.0'
22
- # markdown
23
- gem 'kramdown', '~> 0.13.3'
24
- gem 'launchy', '~> 0.4.0'
25
- gem 'shine', '~> 0.6'
26
- #gem 'xapian-full', '~> 1.2.3'
5
+ # gem 'rake', '~> 0.9.2'
6
+ # gem 'rdoc', '~> 3.9.4'
7
+ # gem 'activesupport', '~> 3.0.4'
8
+ # gem 'home_run', '~> 1.0.0'
9
+ # gem 'sequel', '~> 3.27'
10
+ # gem 'yajl-ruby', '~> 0.7'
11
+ # gem 'erubis', '~> 2.6'
12
+ # gem 'tenjin', '~> 0.6.1'
13
+ # gem 'sinatra', '~> 1.3.0'
14
+ # gem 'rack', '~> 1.3.4'
15
+ # gem 'thin', '~> 1.2'
16
+ # gem 'less', '~> 1.2'
17
+ # gem 'sass', '~> 3.1.4'
18
+ # gem 'stringex', '~> 1.1'
19
+ # gem 'mini_magick', '~> 3.3'
20
+ # gem 'thor', '~> 0.14.6'
21
+ # gem 'base58', '~> 0.1.0'
22
+ # # markdown
23
+ # gem 'kramdown', '~> 0.13.3'
24
+ # gem 'launchy', '~> 0.4.0'
25
+ # gem 'shine', '~> 0.6'
26
+ # gem 'foreman', '~> 0.22.0'
27
+ gem 'simultaneous', :path => "/Users/garry/Dropbox/Development/spontaneous3/simultaneous"
28
+ # gem 'rack-async', :git => "git://github.com/matsadler/rack-async.git"
27
29
 
30
+ # gem 'xapian-full', '~> 1.2.3'
31
+ # gem 'xapian-fu', '~> 1.3'
32
+
33
+ gem "mysql2", "~> 0.3.7", :git => "git://github.com/brianmario/mysql2.git", :ref => "d3a96b8"
28
34
  group :development do
29
- gem 'minitest', '~> 2.1.0'
30
- gem 'mysql2', '~> 0.2'
31
- # gem 'pg', '~> 0.9.0'
32
- gem 'jeweler', '~> 1.5'
33
- gem 'jnunemaker-matchy', '~> 0.4'
34
- gem 'shoulda', :git => 'https://github.com/dasch/shoulda.git', :branch => 'minitest'
35
+ # gem 'minitest', '~> 2.1.0'
36
+ # # gem 'pg', '~> 0.9.0'
37
+ # gem 'jeweler', '~> 1.5'
38
+ # gem 'jnunemaker-matchy', '~> 0.4'
39
+ gem 'shoulda', '~> 2.11.3', :git => 'https://github.com/dasch/shoulda.git', :branch => 'minitest'
35
40
  # gem 'mini_shoulda', '~> 0.3.0'
36
- gem 'timecop', '~> 0.3'
37
- gem 'mocha', '~> 0.9'
38
- gem 'rack-test', '~> 0.5'
39
- gem 'leftright', '~> 0.9'
40
- gem 'stackdeck', '~> 0.2'
41
+ # gem 'timecop', '~> 0.3'
42
+ # gem 'mocha', '~> 0.9'
43
+ # gem 'rack-test', '~> 0.5'
44
+ # gem 'leftright', '~> 0.9'
45
+ # gem 'stackdeck', '~> 0.2'
41
46
  gem 'selenium-client', '~> 1.2.18', :platforms => [:mri_18]
42
47
  # gem 'Selenium', '~> 1.1.14'
43
48
  gem 'johnson', '2.0.0.pre3', :platforms => [:mri_18]
44
49
  gem 'harmony', '~> 0.5', :platforms => [:mri_18]
45
50
  gem 'ruby-debug', :platforms => [:mri_18]
46
- gem 'reek'
51
+ # gem 'reek'
47
52
  gem 'locat', :path => '/Users/garry/Dropbox/Development/spontaneous3/locat'
48
53
  end
49
54
 
data/LICENSE CHANGED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Garry Hill <garry@magnetised.net>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included
12
+ in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -49,18 +49,10 @@ task :default => :test
49
49
 
50
50
  require 'rake/testtask'
51
51
 
52
- $test_glob = nil
53
- if p = ARGV.index('-')
54
- filenames = ARGV[(p+1)..-1]
55
- ARGV.slice!((p)..-1)
56
- $test_glob = filenames.map { |f| "test/**/test_#{f}.rb" }
57
- end
58
-
59
52
  Rake::TestTask.new(:test) do |test|
60
53
  test.libs << 'test'
61
54
  test.ruby_opts << '-rubygems'
62
- test.pattern = $test_glob || 'test/{unit,slow,functional,experimental}/test_*.rb'
63
- # test.pattern = $test_glob || 'test/**/test_*.rb'
55
+ test.pattern = 'test/{unit,slow,functional,experimental}/test_*.rb'
64
56
  test.verbose = false
65
57
  end
66
58
 
@@ -121,7 +113,8 @@ task :coverage do
121
113
  end
122
114
 
123
115
  require 'rdoc/task'
124
- Rake::RDocTask.new do |rdoc|
116
+
117
+ RDoc::Task.new do |rdoc|
125
118
  rdoc.rdoc_dir = 'rdoc'
126
119
  rdoc.title = "#{name} #{version}"
127
120
  rdoc.rdoc_files.include('README*')
@@ -169,12 +162,14 @@ namespace :gem do
169
162
  task :build => :gemspec do
170
163
  sh "mkdir -p pkg"
171
164
  sh "gem build #{gemspec_file}"
165
+ sh "mkdir -p #{@project_dir}/pkg"
166
+ sh "cp #{gem_file} #{@project_dir}/pkg"
172
167
  sh "mv #{gem_file} pkg"
173
168
  end
174
169
 
175
170
 
176
171
  desc "Generate #{gemspec_file}"
177
- task :gemspec => :validate do
172
+ task :gemspec => :assets do
178
173
  # read spec file and split out manifest section
179
174
  spec = File.read(gemspec_file)
180
175
  head, manifest, tail = spec.split(" # = MANIFEST =\n")
@@ -202,40 +197,11 @@ namespace :gem do
202
197
  spec = [head, manifest, tail].join(" # = MANIFEST =\n")
203
198
  File.open(gemspec_file, 'w') { |io| io.write(spec) }
204
199
  puts "Updated #{gemspec_file}"
205
- end
206
-
207
- desc "Validate #{gemspec_file}"
208
- task :validate => :generate do
209
- libfiles = Dir['lib/*'] - ["lib/#{name}.rb", "lib/#{name}"]
210
- unless libfiles.empty?
211
- puts "Directory `lib` should only contain a `#{name}.rb` file and `#{name}` dir."
212
- # exit!
213
- end
214
- unless Dir['VERSION*'].empty?
215
- puts "A `VERSION` file at root level violates Gem best practices."
216
- # exit!
217
- end
218
- end
219
-
220
- desc "Generate the gemspec file from a template"
221
- task :generate => :assets do
222
- template = File.read('spontaneous.gemspec.tmpl')
223
- require 'bundler'
224
-
225
- File.open('spontaneous.gemspec', 'w') do |gemspec|
226
- bundler = Bundler.load
227
- dependencies = bundler.dependencies_for(:default, :runtime).map do |dependency|
228
- %{s.add_dependency('#{dependency.name}', [#{dependency.requirement.as_list.map { |d| d.inspect }.join(', ')}])}
229
- end
230
- development_dependencies = bundler.dependencies_for(:development).map do |dependency|
231
- %{s.add_development_dependency('#{dependency.name}', [#{dependency.requirement.as_list.map { |d| d.inspect }.join(', ')}])}
232
- end
233
- gemspec.write(template % [dependencies.join("\n "), development_dependencies.join("\n ")])
234
- end
200
+ FileUtils.cp('spontaneous.gemspec', @project_dir)
235
201
  end
236
202
 
237
203
  desc "Bundle & compress assets"
238
- task :assets => :setup do
204
+ task :assets => :validate do
239
205
  app_dir = Spontaneous.application_dir
240
206
  bundles = {}
241
207
  [Spontaneous::Rack::Assets::JavaScript, Spontaneous::Rack::Assets::CSS].each do |mod|
@@ -272,6 +238,37 @@ namespace :gem do
272
238
  File.open(module_path, 'w') { |file| file.write(converted.join) }
273
239
  end
274
240
 
241
+ desc "Validate #{gemspec_file}"
242
+ task :validate => :generate do
243
+ libfiles = Dir['lib/*'] - ["lib/#{name}.rb", "lib/#{name}"]
244
+ unless libfiles.empty?
245
+ puts "Directory `lib` should only contain a `#{name}.rb` file and `#{name}` dir."
246
+ # exit!
247
+ end
248
+ unless Dir['VERSION*'].empty?
249
+ puts "A `VERSION` file at root level violates Gem best practices."
250
+ # exit!
251
+ end
252
+ end
253
+
254
+ desc "Generate the gemspec file from a template"
255
+ task :generate => :setup do
256
+ # template = File.read('spontaneous.gemspec.tmpl')
257
+ # require 'bundler'
258
+
259
+ # File.open('spontaneous.gemspec', 'w') do |gemspec|
260
+ # bundler = Bundler.load
261
+ # dependencies = bundler.dependencies_for(:default, :runtime).map do |dependency|
262
+ # %{s.add_dependency('#{dependency.name}', [#{dependency.requirement.as_list.map { |d| d.inspect }.join(', ')}])}
263
+ # end
264
+ # development_dependencies = bundler.dependencies_for(:development).map do |dependency|
265
+ # %{s.add_development_dependency('#{dependency.name}', [#{dependency.requirement.as_list.map { |d| d.inspect }.join(', ')}])}
266
+ # end
267
+ # gemspec.write(template)
268
+ # end
269
+ end
270
+
271
+
275
272
  task :setup do
276
273
  @build_dir = Dir.tmpdir + "/spontaneous"
277
274
  FileUtils.rm_r(@build_dir) if File.directory?(@build_dir)
data/Readme.markdown CHANGED
@@ -4,4 +4,159 @@ Spontaneous is a revolutionary new content management system that brings the bes
4
4
 
5
5
  This is version 2 of an existing (closed source) CMS that has been in active production use for over 6 years. For more information about that, and to see the sites that it powers, please go to [magnetised's homepage](http://magnetised.info/spontaneous).
6
6
 
7
+ ## INTRODUCTION
8
+
9
+ Spontaneous uses a powerful hierarchical system to organise your information. This breaks out of the bonds of the traditional "title, slug, text" model of CMS content and instead allows content authors to build complex, highly styled pages out of simple, easily editable blocks.
10
+
11
+ - Ruby 1.9
12
+ - Using classes instead of db for metadata
13
+ - Versioning of metadata
14
+ - Keeps the developer in the text editor
15
+ - Simplifies the interface for the site editor
16
+ - Clear separation of content from schema - changing the site metadata
17
+ - Carefully thought out deployment/upgrade process
18
+ - Interaction between code and db content kept to a bare minimum and separated from normal site editing functions (a 'developer view')
19
+ - Built to deliver fast sites
20
+ - Pages render to static HTML if possible
21
+ - Compression of JS & CSS assets
22
+ - Proper workflow
23
+ - Save != publish
24
+ - Site editors can make sweeping changes and then make them live together
25
+ - Multiple outputs
26
+ - Publish the same content to multiple formats (e.g. HTML, RSS, ATOM, JSON, PDF\*, EPUB\*)
27
+ - Sophisticated user managment
28
+ - Customisable per-site roles to determine visibility & editabilty of site content
29
+ - Give specified users access to only specific parts of the site\*
30
+ - HTML5 goodness
31
+ - Drag & drop
32
+ - Resumable uploads
33
+ - Responsive
34
+ - Attractive
35
+ - Simple
36
+ - Powerful hierarchical data
37
+ - Layout is done by the templates not the editor
38
+ - Frees you up to do intricate designs
39
+ - Minimises the risk of breaking the site design (consistent branding)
40
+ - Custom, page based, controllers
41
+ - Define custom actions on particular page types
42
+
43
+ \* Features currently only sketched out awaiting full implementation
44
+
45
+ ### The Content Hierarchy
46
+
47
+ A Spontaneous site is composed of pages. Within those pages are zero or more 'Boxes'. Each of those Boxes can be configured to accept the addition of zero or more types of object. These object types can either be Pages -- creating a page hierarchy -- or Pieces that are displayed as the page's content.
48
+
49
+ A Spontaneous site is composed of a set of 'Pages', 'Boxes' and 'Pieces'. Each
50
+ 'page' in the system maps to a webpage, accessible through a URL. Within that page are a set of Boxes, Pieces and sub-Pages that combine together to form its content.
51
+
52
+ To use a concrete example, imagine a page in a site dedicated to publishing recipes.
53
+
54
+ If you think about how you'd go about describing a recipe you might come up
55
+ with a list resembling the following:
56
+
57
+ - The title of the recipe
58
+ - A brief introduction to it telling you why you should cook it
59
+ - An image of the finished dish
60
+ - A list of ingredients. Each ingredient would have
61
+ - A name
62
+ - An amount (in grams, cups, whatever)
63
+ - A set of cooking steps. Each step consists of a description and perhaps an
64
+ image
65
+
66
+ In a traditional CMS system most of the above would have to be constructed using
67
+ a rich-text editor. Using Spontaneous however you are able to map all of the
68
+ elements above into discrete editable blocks.
69
+
70
+ The recipe page would have the following fields:
71
+
72
+ - 'title' a simple unformatted string
73
+ - 'introduction' a piece of formatted text
74
+ - 'photo' an image of the finished dish
75
+
76
+ Along with these fields it would also have the following boxes:
77
+
78
+ - 'ingredients' this box will hold the list of ingredients. It is configured to
79
+ allow the addition of any number of 'Ingredient' pieces. Each 'Ingredient'
80
+ piece has 2 fields:
81
+ - 'name' a simple string to hold the ingredient name
82
+ - 'amount' another simple string to hold the amount needed
83
+
84
+ - 'steps' this box will hold the list of cooking steps involved in making the
85
+ dish. It is configured to accept any number of 'Step' pieces. Each 'Step'
86
+ piece has the following fields:
87
+ - 'method' a rich text string describing the actual cooking step
88
+ - 'image' an optional image showing the result of the step
89
+
90
+ In order to create a new recipe page the site editor simply needs to work
91
+ through the recipe adding the ingredients and steps needed and filling in their
92
+ details. At no point do they need to worry about the layout of the final page as
93
+ this will be completely handled by the CMS when the page is displayed.
94
+
95
+ The configuration of Spontaneous's 'schema' (the list of Page, Piece and Box
96
+ types needed to describe the site contents) is done using simple Ruby classes.
97
+ For instance, in order to describe the content types described above you would
98
+ need the following Ruby code:
99
+
100
+ class RecipePage < Page
101
+ field :title
102
+ field :introduction, :richtext
103
+ field :image
104
+
105
+ box :ingredients do
106
+ allow :Ingredient
107
+ end
108
+
109
+ box :steps do
110
+ allow :Step
111
+ end
112
+ end
113
+
114
+ class Ingredient < Piece
115
+ field :name, :string
116
+ field :amount, :string
117
+ end
118
+
119
+ class Step < Piece
120
+ field :method, :richtext
121
+ field :image
122
+ end
123
+
124
+ This will generate the following interface for the site editors:
125
+
126
+ <img src="https://github.com/SpontaneousCMS/spontaneous/raw/master/docs/recipe-interface-screenshot.png" alt="Spontaneous interface" width="800" height="577" />
127
+
128
+ , meaning that as well as writing copy and selecting images
129
+ the person writing the page also has to spend a lot of effort on the layout of
130
+ the page.
131
+ each of which will be laid out
132
+ automatically into pre-defined templates, leaving the editor to concentra
133
+
134
+ The only difference between a 'page' and a 'piece' is that pages are directly
135
+ publicly accessible through a URL, whereas pieces are only visible within the
136
+ context of a page.
137
+
138
+
139
+ Each of the objects in the content hierarchy -- pages, boxes & pieces -- can
140
+ have zero or more fields. These are where the actual content of the site, such
141
+ as text or images, will be entered by the site editors.
142
+
143
+ Each
144
+ or 'piece' has zero or more 'boxes' defined. Each of those boxes can be
145
+ configured to accept the addition of zero or more types of page or piece
146
+
147
+
148
+ The creation of the various relationships is done using normal Ruby code. Every
149
+ element in the content hierarchy has an associated Ruby class which has
150
+ configuration information about the fields
151
+
152
+ ## GETTING STARTED
153
+
154
+ RVM
155
+ Ruby 1.9
156
+ gem install spontaneous
157
+ spot create site.com
158
+ cd site.com
159
+ bundle install
160
+ spot init
161
+ spot server
7
162
 
@@ -36,6 +36,9 @@ $dialogue-width: 980px;
36
36
  $corner-radius: 4px;
37
37
  $radius: $corner-radius;
38
38
 
39
+ $slot-addable-colour: #ddd;
40
+ $entry-background-colour: #eee;
41
+
39
42
  @mixin rounded($radius: 4px) {
40
43
  -webkit-border-radius: $radius;
41
44
  -moz-border-radius: $radius;
@@ -25,9 +25,10 @@ $text-edit-width: 621px;
25
25
 
26
26
  }
27
27
  .editing-toolbar {
28
+ @include rounded($radius $radius 0 0);
28
29
  // background-color: $editing-1;
29
30
  // background: $editing-1 url(/@spontaneous/static/editing-1-noise.png) 0 0 repeat;
30
- background-color: rgba(0, 0, 0, 0.3);
31
+ background-color: rgba(0, 0, 0, 0.2);
31
32
  padding: $unit/2 $unit*2;
32
33
  .indent {
33
34
 
@@ -62,9 +63,13 @@ $text-edit-width: 621px;
62
63
  width: 128px;
63
64
  }
64
65
  }
65
- &.bottom .buttons {
66
- // padding-bottom: $unit/2;
67
- padding-top: 0;
66
+ &.bottom {
67
+ @include rounded( 0 0 $radius $radius);
68
+
69
+ .buttons {
70
+ // padding-bottom: $unit/2;
71
+ padding-top: 0;
72
+ }
68
73
  }
69
74
  }
70
75
  .field-group-bg {
@@ -0,0 +1 @@
1
+ .shadow{-webkit-box-shadow:0px 3px 30px #cccccc;-moz-box-shadow:0px 3px 30px #cccccc}.clearfix:after,#outer #login form .inputs .submit:after{content:".";display:block;height:0;clear:both;visibility:hidden}.box-flexible{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1}.no-select,.interface,.button,#outer #login form .inputs label span,#outer #login form .inputs button{-moz-user-select:none;-webkit-user-select:none}.interface,.button,#outer #login form .inputs label span,#outer #login form .inputs button{font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Roman","Frutiger LT Std";-webkit-font-smoothing:antialiased;text-transform:uppercase;font-size:10px;font-weight:bold}.button{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#10b2fe;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#29bafe), to(#01a6f3));background-image:-moz-linear-gradient(top, #29bafe, #01a6f3);color:white !important}.button:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.button:hover{background-color:#ff6c03 !important;color:white !important}.button .key-combo{opacity:0.5;margin-left:4px}.button.cancel{background-color:#6b6b6b;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#787878), to(#5e5e5e));background-image:-moz-linear-gradient(top, #787878, #5e5e5e)}.button.cancel:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.controls-gradient{background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#404040), to(#222));background-image:-moz-linear-gradient(top, #404040, #222)}body,h1,h2,h3,h4,h5,h6,dd,dt,ul,ol,li{margin:0;padding:0;font-weight:normal;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body{margin-bottom:300px;background-color:white;font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std 45 Light"}ul,ol{list-style-type:none}a{text-decoration:none}#outer{width:400px;margin:0 auto;top:100px;position:relative}#outer h1{margin:0;padding:0;padding-left:8px;font-weight:100;font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std";-webkit-font-smoothing:antialiased;font-size:24px;line-height:28px;color:#666}#outer #login{position:relative}#outer #login #splash{display:none;width:100px;height:108px;background:url(/@spontaneous/static/spot.svg) 0 0 no-repeat;-moz-background-size:100% 100%;-o-background-size:100% 100%;-webkit-background-size:100% 100%;background-size:100% 100%;position:absolute;left:-108px;top:-5px}#outer #login form{-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;background-color:#eee;border:solid 3px #fafafa;font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std 45 Light"}#outer #login form p{position:relative;margin-top:0;margin-bottom:4px}#outer #login form p.error{-webkit-font-smoothing:antialiased;-webkit-border-top-right-radius:8px;-moz-border-radius-topright:8px;border-top-right-radius:8px;-webkit-border-top-left-radius:8px;-moz-border-radius-topleft:8px;border-top-left-radius:8px;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(red), to(#f00000));background-image:-moz-linear-gradient(top, red, #f00000);padding:8px;color:#fff}#outer #login form .inputs{padding:8px}#outer #login form .inputs input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none;font-size:14px;font-weight:bold;padding:4px;width:376px;font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std 45 Light";outline-color:#10b2fe}#outer #login form .inputs label{position:relative}#outer #login form .inputs label span{position:absolute;left:8px;top:4px;color:#666}#outer #login form .inputs label span.faded{opacity:0.5}#outer #login form .inputs .submit{margin-bottom:0}#outer #login form .inputs button{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#10b2fe;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#29bafe), to(#01a6f3));background-image:-moz-linear-gradient(top, #29bafe, #01a6f3);color:white !important;border:none;float:right;width:96px}#outer #login form .inputs button:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}
@@ -0,0 +1 @@
1
+ @charset "UTF-8";.shadow{-webkit-box-shadow:0px 3px 30px #cccccc;-moz-box-shadow:0px 3px 30px #cccccc}.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}.box-flexible{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1}.no-select,.interface,.button{-moz-user-select:none;-webkit-user-select:none}.interface,.button{font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Roman","Frutiger LT Std";-webkit-font-smoothing:antialiased;text-transform:uppercase;font-size:10px;font-weight:bold}.button{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#10b2fe;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#29bafe), to(#01a6f3));background-image:-moz-linear-gradient(top, #29bafe, #01a6f3);color:white !important}.button:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.button:hover{background-color:#ff6c03 !important;color:white !important}.button .key-combo{opacity:0.5;margin-left:4px}.button.cancel{background-color:#6b6b6b;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#787878), to(#5e5e5e));background-image:-moz-linear-gradient(top, #787878, #5e5e5e)}.button.cancel:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.controls-gradient{background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#404040), to(#222));background-image:-moz-linear-gradient(top, #404040, #222)}body,h1,h2,h3,h4,h5,h6,dd,dt,ul,ol,li{margin:0;padding:0;font-weight:normal;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body{margin-bottom:300px;background-color:white;font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std 45 Light"}ul,ol{list-style-type:none}a{text-decoration:none}body{background:url(/@spontaneous/static/texture.png) repeat;color:#fff;font-size:16px}#container{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:rgba(0,0,0,0.2);width:700px;margin:0 auto;margin-top:100px;padding:32px}#container h1{font-size:24px;margin-top:0}#container .src{color:#999;font-size:12px}#container .src a{color:#999}#container .src a:hover,#container .src a:hover strong{color:#ff6c03}#container .changes{font-size:14px}#container .changes li:before{content:"— "}#container .actions{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:rgba(0,0,0,0.2);padding:32px;list-style-position:outside}#container .actions li{margin-bottom:8px}#container .actions li form{margin:0;padding:0}#container .actions li p{margin:0;display:block;margin-left:32px;padding:8px;padding-bottom:32px}#container .actions li p .button{width:50px}#container .actions li p button{border:none}#container .actions li:last-child{margin-bottom:0}#container .actions li:last-child p{margin-bottom:0}#container .actions a{color:#10b2fe;cursor:pointer}#container .actions a strong{font-weight:bold}#container .actions a em{font-style:normal}#container .actions a:hover,#container .actions a:hover strong{color:#ff6c03}
@@ -0,0 +1 @@
1
+ .shadow,#page-slots.slots .slot-entries .entry-wrap .dialogue,#page-slots.slots .slot-entries .entry-wrap.ui-sortable-helper > .entry-contents,#dialogue-wrap #dialogue-outer,#editing,#status-bar,.pop-over,.editing-panel .field-group.image .field .value img{-webkit-box-shadow:0px 3px 30px #cccccc;-moz-box-shadow:0px 3px 30px #cccccc}.clearfix:after,#top:after,.fields-preview:after,.fields-preview-text li:after,.fields-preview-image:after,#page-slots.slots .slot-tabs:after,#page-slots.slots .slot-entries .entry-wrap:after,#page-slots.slots .slot-entries .entry-wrap .entry-inner:after,#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs:after,#editing:after,.editing-panel .editing-fields:after,#editing #content-panel .tabs:after,#editing #content-panel #content-wrapper .facet-allowed .type-list:after{content:".";display:block;height:0;clear:both;visibility:hidden}.box-flexible,.pop-over > header > h3,.pop-over #popover-delete a,.editing-panel .field-group.image{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1}.no-select,.interface,.button,.preview-label,.fields-preview-text .name,.fields-preview-image li .name,#top #navigation li select,#top #switch-mode,#top #open-publish,#page-content #page-info .path,#page-content #page-info .path h3,#page-content #page-info .path h3.developer a,#page-content #page-info .buttons .status,#page-slots.slots .slot-tabs li,#page-slots.slots .slot-addable a,#page-slots.slots .slot-entries .entry-wrap .title-bar,#page-slots.slots .slot-entries .entry-wrap .dialogue .buttons a,#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li,#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable,#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable a,#create-home-dialogue .instructions,#publishing-dialogue .change-list .actions,#publishing-dialogue .change-set .add span,#editing .field-group .name,.pop-over > header > h3,.pop-over .button.close,.pop-over .button.cancel,.pop-over .pop-insert-link label,.pop-over .link-page-browser .page-list .page,.pop-over .link-page-browser .page-ancestors ul li,.pop-over #popover-delete a.ok,.pop-over #popover-delete a.cancel,.editing-panel .editing-toolbar .buttons .save,.editing-panel .editing-toolbar .buttons .cancel,.editing-panel .field-group .name,.editing-panel .field-group.image .field .value .info,.field .markdown-editor .md-toolbar a,#conflicted-fields-dialogue .instructions,#conflicted-fields-dialogue .labels .diff,#add-alias-dialogue .instructions,.fields-preview-image li .value img{-moz-user-select:none;-webkit-user-select:none}.interface,.button,.preview-label,.fields-preview-text .name,.fields-preview-image li .name,#top #navigation li select,#top #switch-mode,#top #open-publish,#page-content #page-info .path,#page-content #page-info .path h3,#page-content #page-info .path h3.developer a,#page-content #page-info .buttons .status,#page-slots.slots .slot-tabs li,#page-slots.slots .slot-addable a,#page-slots.slots .slot-entries .entry-wrap .title-bar,#page-slots.slots .slot-entries .entry-wrap .dialogue .buttons a,#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li,#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable,#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable a,#create-home-dialogue .instructions,#publishing-dialogue .change-list .actions,#publishing-dialogue .change-set .add span,#editing .field-group .name,.pop-over > header > h3,.pop-over .button.close,.pop-over .button.cancel,.pop-over .pop-insert-link label,.pop-over .link-page-browser .page-list .page,.pop-over .link-page-browser .page-ancestors ul li,.pop-over #popover-delete a.ok,.pop-over #popover-delete a.cancel,.editing-panel .editing-toolbar .buttons .save,.editing-panel .editing-toolbar .buttons .cancel,.editing-panel .field-group .name,.editing-panel .field-group.image .field .value .info,.field .markdown-editor .md-toolbar a,#conflicted-fields-dialogue .instructions,#conflicted-fields-dialogue .labels .diff,#add-alias-dialogue .instructions{font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Roman","Frutiger LT Std";-webkit-font-smoothing:antialiased;text-transform:uppercase;font-size:10px;font-weight:bold}.button{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#10b2fe;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#29bafe), to(#01a6f3));background-image:-moz-linear-gradient(top, #29bafe, #01a6f3);color:white !important}.button:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.button:hover{background-color:#ff6c03 !important;color:white !important}.button .key-combo{opacity:0.5;margin-left:4px}.button.cancel{background-color:#6b6b6b;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#787878), to(#5e5e5e));background-image:-moz-linear-gradient(top, #787878, #5e5e5e)}.button.cancel:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.controls-gradient,#top,#dialogue-wrap #dialogue-outer #dialogue-title,#status-bar,.pop-over > header{background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#404040), to(#222));background-image:-moz-linear-gradient(top, #404040, #222)}body,h1,h2,h3,h4,h5,h6,dd,dt,ul,ol,li{margin:0;padding:0;font-weight:normal;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}body{margin-bottom:300px;background-color:white;font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std 45 Light"}ul,ol{list-style-type:none}a{text-decoration:none}.preview-label,.fields-preview-text .name,.fields-preview-image li .name{color:#333333}.preview-value,.fields-preview-text .value{font-size:11px;font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std 45 Light";line-height:13px;color:#666666;font-weight:normal}.container-padding,#top,#page-content #page-info,#page-content #page-fields .fields-preview,#page-slots.slots .fields-preview.depth-box,#page-slots.slots .slot-addable,#status-bar{padding-left:64px;padding-right:64px}img.missing{width:100%;height:50px;background:url("/@spontaneous/static/missing.png") 50% 50% no-repeat;border:none}.clear{clear:both}#top{display:-webkit-box;display:-moz-box;display:box;box-align:center;-webkit-box-align:center;-moz-box-align:center;position:fixed;height:31px;top:0;right:0;left:0}#top #navigation{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;font-size:11px;font-weight:bold;color:#999999;width:100%}#top #navigation li{padding-left:10px;padding-right:15px;background:url("/@spontaneous/static/location-arrow.png") right 0 no-repeat;float:left;display:block;font-weight:bold}#top #navigation li select{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-transform:none;font-size:11px;-webkit-appearance:none;cursor:pointer;display:block;background:url("/@spontaneous/static/select-arrow.png") 95% 50% no-repeat;border:none;outline:none;position:relative;padding-top:0px;padding-right:25px;height:31px;color:#ccc;font-weight:bold;width:100%}#top #navigation li select.unselected{color:#888;font-weight:normal;font-style:italic;max-width:80px}#top #navigation li a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;color:#ddd;height:31px;padding-top:9px;display:block;background:url("/@spontaneous/static/select-arrow.png") right 50% no-repeat;padding-right:20px}#top #navigation li a:hover,#top #navigation li select:hover{color:white}#top #navigation li.root a{background-image:none;padding-right:5px}#top #navigation li:first-child{background-image:url("/@spontaneous/static/spontaneous.png"),url("/@spontaneous/static/location-arrow.png");background-position:0 70%, right 0;background-repeat:no-repeat;padding-right:12px}#top #navigation li:first-child a{padding-right:28px}#top #switch-mode,#top #open-publish{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#10b2fe;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#29bafe), to(#01a6f3));background-image:-moz-linear-gradient(top, #29bafe, #01a6f3);color:white !important;display:-webkit-box;display:-moz-box;display:box;box-orient:vertical;-webkit-box-orient:vertical;-moz-box-orient:vertical;box-align:center;-webkit-box-align:center;-moz-box-align:center;margin:0;width:64px}#top #switch-mode:hover,#top #open-publish:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}#top #open-publish{position:relative;margin-right:8px}#top #open-publish #publish-progress{position:absolute;left:4px;top:1px}#top #open-publish.progress{padding-left:20px;padding-right:20px;width:124px;background-color:#666;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#737373), to(#595959));background-image:-moz-linear-gradient(top, #737373, #595959);color:#999999}#top #open-publish.progress:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}#content{position:fixed;overflow:auto;top:31px;right:0;bottom:0px;left:0}#content #data_pane,#content #preview_pane{border:none;display:block;position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%}#page-content #page-info{background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#3a3a3a), to(#222));background-image:-moz-linear-gradient(top, #3a3a3a, #222);height:54px;padding-top:10px;position:relative}#page-content #page-info h1,#page-content #page-info h3{position:relative}#page-content #page-info h1{font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std";font-weight:100;color:white;font-size:24px;line-height:21px}#page-content #page-info h1 span{color:#888888}#page-content #page-info .path,#page-content #page-info .path h3,#page-content #page-info .path h3.developer a{cursor:pointer;color:#c1c1c1;font-size:11px;line-height:12px;text-transform:none}#page-content #page-info .path .uid,#page-content #page-info .path .developer{margin-left:32px;opacity:0.5}#page-content #page-info .path .uid.missing,#page-content #page-info .path .developer.missing{opacity:0.5}#page-content #page-info > .path{display:-webkit-box;display:-moz-box;display:box;position:absolute;bottom:12px}#page-content #page-info .path .edit{display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;box-align:center;-webkit-box-align:center;-moz-box-align:center}#page-content #page-info .path .edit .input-error{display:block;position:relative;top:0;vertical-align:top;margin-left:8px}#page-content #page-info .path .edit .input-error input[type="text"],#page-content #page-info .path .edit .input-error span{height:16px;padding:4px}#page-content #page-info .path .edit .input-error input[type="text"]{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;font-weight:bold;width:400px;border:none;outline:none;vertical-align:top}#page-content #page-info .path .edit .input-error span{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;padding-left:8px;padding-right:8px;background-color:red;position:absolute;right:-1px;top:0;color:white}#page-content #page-info .path .edit input[type="text"].error{color:red}#page-content #page-info .path .edit .input-error.uid-input input[type="text"]{padding-left:1.05em;width:200px}#page-content #page-info .path .edit .button{display:block;margin-left:8px;padding-left:32px;padding-right:32px}#page-content #page-info .path .edit .button.cancel{padding-left:10px;padding-right:10px}#page-content #page-info .path .edit span,#page-content #page-info .path .edit a.path{display:block;position:relative}#page-content #page-info .path .edit a.path{color:#c1c1c1;margin-right:1px}#page-content #page-info .path .edit a.path:hover{color:white}#page-content #page-info .path .edit span{color:#bbbbbb;margin-right:1px}#page-content #page-info .path .edit .hash{color:#666;position:absolute;left:4px;font-weight:bold;padding-top:5px}#page-content #page-info .path h3:hover{color:white}#page-content #page-info .buttons{position:absolute;right:64px;top:16px}#page-content #page-info .buttons .button.publish{width:120px;height:32px;padding-top:8px;background-color:#666666;font-size:12px;position:relative}#page-content #page-info .buttons .button.publish:hover{background-color:#ff6c03}#page-content #page-info .buttons .status{vertical-align:top;display:inline-block;text-transform:none;font-weight:normal;margin:0;padding:0;color:#666666;font-size:10px;line-height:11px;position:relative;top:5px;margin-right:8px}#page-content #page-info .buttons .status strong{display:block;text-transform:uppercase}#page-content #page-fields .fields-preview{padding-top:8px;padding-bottom:8px;position:relative}#page-content #page-fields .fields-preview .overlay{position:absolute;left:0;right:0;top:0;bottom:0;border-style:solid;border-width:2px;border-color:transparent}#page-content #page-fields .fields-preview.hover .overlay{border-color:#10b2fe}.fields-preview{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background-color:#fff;cursor:pointer}.fields-preview .value p{margin:0 0 8px 0;padding:0}.fields-preview .value p:last-child{margin-bottom:0}.fields-preview .fields-preview-text{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fields-preview-text{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:580px;float:left;padding-right:100px;margin-right:16px}.fields-preview-text.empty{display:none}.fields-preview-text li{border-bottom:solid 1px #eee;padding-top:3px;padding-bottom:3px;display:block;line-height:13px;font-size:11px;font-family:"HelveticaNeue","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std 45 Light";float:left;width:100%;position:relative;padding-left:100px}.fields-preview-text li .name,.fields-preview-text li .value{float:left}.fields-preview-text li:last-child{border-bottom:none}.fields-preview-text .name{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100px;right:100px;margin-left:-100px;padding-right:8px}.fields-preview-text .value a{color:#ff6c03}.fields-preview-text .value h1,.fields-preview-text .value h2{font-size:1.2em;font-weight:bold;margin-bottom:1em}.fields-preview-text .value h2{font-size:1em}.fields-preview-text .value ul,.fields-preview-text .value ol{display:block;padding-left:1.4em;margin-bottom:8px}.fields-preview-text .value ul li,.fields-preview-text .value ol li{display:list-item;list-style-position:outside;border:none;margin:0;padding:0;float:none}.fields-preview-text .value ul{list-style-type:disc !important}.fields-preview-text .value ol{list-style-type:decimal !important}.fields-preview-image{float:left;width:300px}.fields-preview-image.empty{display:none}.fields-preview-image li{float:left;display:block;margin-right:4px;margin-bottom:4px;position:relative}.fields-preview-image li .name{opacity:0.7;color:black;padding-left:4px;padding-top:2px;background-color:#efefef;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;left:0;right:0;bottom:0;top:auto;height:16px;z-index:4}.fields-preview-image li .value{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#efefef;max-height:90px;min-height:45px;min-width:90px;cursor:pointer;text-align:center;position:relative}.fields-preview-image li .value .waiting{position:absolute;display:block;left:0;right:0;text-align:center;top:30%;height:16px;z-index:3}.fields-preview-image li .value .image-drop{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;z-index:100;position:absolute;top:0;right:0;bottom:0;left:0;text-align:center}.fields-preview-image li .value .image-drop .drop-upload-outer{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:solid 1px white;position:absolute;margin:4px;height:6px;left:0;right:0;bottom:50%;padding:0 1px}.fields-preview-image li .value .image-drop .drop-upload-outer .drop-upload-inner{position:relative;margin-right:2px;top:1px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:white;height:4px}.fields-preview-image li .value .image-drop.drop-active{border:solid 2px #10b2fe;cursor:copy}.fields-preview-image li .value .image-drop.drop-invalid{cursor:no-drop}.fields-preview-image li .value .image-drop.uploading{background-color:rgba(0,0,0,0.5)}.fields-preview-image li .value img{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative;max-height:90px}#page-slots.slots{height:100%}#page-slots.slots .slot-tabs{height:32px;vertical-align:top;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#666), to(#4d4d4d));background-image:-moz-linear-gradient(top, #666, #4d4d4d)}#page-slots.slots .slot-tabs li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:11px;color:#dddddd;display:block;float:left;height:100%;padding-left:16px;width:160px;padding-top:9px;cursor:pointer;border-left:solid 1px transparent;border-right:solid 1px #494949;position:relative}#page-slots.slots .slot-tabs li .down{display:none}#page-slots.slots .slot-tabs li:hover,#page-slots.slots .slot-tabs li.active{background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff7d14), to(#ff6c03));background-image:-moz-linear-gradient(top, #ff7d14, #ff6c03);background-color:#ff6c03;color:white;border-right-color:#ff6c03}#page-slots.slots .slot-tabs li:hover .down,#page-slots.slots .slot-tabs li.active .down{position:absolute;display:block;left:0;right:0;bottom:-7px;height:7px;background:url("/@spontaneous/static/orange-down-arrow.png") 50% 0 no-repeat;z-index:100;display:none}#page-slots.slots .slot-tabs li:first-child{padding-left:64px;width:224px}#page-slots.slots .slot-tabs li:first-child.active .down{padding-left:64px}#page-slots.slots .slot-tabs li.active + li:hover{border-left-color:#ea5700}#page-slots.slots .fields-preview.depth-box{background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#ddd));background-image:-moz-linear-gradient(top, #eee, #ddd);display:-webkit-box;display:-moz-box;display:box;border-top:solid 1px #CCC;position:relative;padding-top:12px;padding-bottom:5px}#page-slots.slots .fields-preview.depth-box .overlay{position:absolute;left:0;right:0;top:-1px;bottom:0;border-style:solid;border-width:2px;border-color:transparent}#page-slots.slots .fields-preview.depth-box.hover .overlay{border-color:#10b2fe}#page-slots.slots .fields-preview.depth-box .value{color:#555555}#page-slots.slots .fields-preview.depth-box .fields-preview-text{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;width:60%}#page-slots.slots .fields-preview.depth-box .fields-preview-image{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;width:40%}#page-slots.slots .slot-addable{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background:url("/@spontaneous/static/diagonal-texture.png");border-top:solid 1px #cccccc;text-align:center;height:40px;padding-top:8px;position:relative}#page-slots.slots .slot-addable a{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#10b2fe;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#29bafe), to(#01a6f3));background-image:-moz-linear-gradient(top, #29bafe, #01a6f3);color:white !important;padding-right:16px;padding-left:16px;margin-right:4px;margin-left:4px}#page-slots.slots .slot-addable a:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}#page-slots.slots .slot-addable .alias{font-style:italic}#page-slots.slots .slot-addable .down{position:absolute;display:block;left:0;right:0;bottom:-18px;height:18px;background:url("/@spontaneous/static/slot-down-arrow.png") 50% 0 no-repeat;display:none}#page-slots.slots .slot-addable.floating{background:none;border-top:0;padding-left:10px;padding-right:10px;padding-top:5px;text-align:center;background:url("/@spontaneous/static/plus-box.png") 10px 7px no-repeat}#page-slots.slots .slot-addable.floating .down{display:none}#page-slots.slots .slot-instructions{font-weight:100;font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std";-webkit-font-smoothing:antialiased;position:absolute;left:0;right:0;top:64px;display:none;text-align:center;color:#ccc}#page-slots.slots .slot-addable.drop-active{outline:solid 2px #10b2fe}#page-slots.slots .slot-content.empty .slot-instructions{display:block}#page-slots.slots .slot-entries{padding-top:32px;padding-bottom:50%;position:relative}#page-slots.slots .slot-entries .fields-preview{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;padding:4px;background:none;background-color:white}#page-slots.slots .slot-entries .entry-wrap{position:relative;margin-left:64px;margin-right:64px}#page-slots.slots .slot-entries .entry-wrap .entry-contents{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#eee;padding:2px}#page-slots.slots .slot-entries .entry-wrap .entry-spacer{height:32px;position:relative}#page-slots.slots .slot-entries .entry-wrap .entry-spacer.add-entry{background:url("/@spontaneous/static/diagonal-texture.png");margin:0 4px;cursor:pointer}#page-slots.slots .slot-entries .entry-wrap .entry-inner{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative}#page-slots.slots .slot-entries .entry-wrap .title-bar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;background-color:transparent;width:20px;color:rgba(255,255,255,0.4);padding-top:4px;text-transform:none;font-weight:normal;cursor:ns-resize;position:absolute;left:auto;right:-20px;top:-3px;height:auto}#page-slots.slots .slot-entries .entry-wrap .title-bar .actions{display:-webkit-box;display:-moz-box;display:box;box-orient:vertical;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;top:4px}#page-slots.slots .slot-entries .entry-wrap .title-bar .actions a{background:url("/@spontaneous/static/item-buttons-highlight.png") 0 0 no-repeat;display:block;width:15px;height:15px;cursor:pointer}#page-slots.slots .slot-entries .entry-wrap .title-bar .actions .delete{background-position:-61px 0}#page-slots.slots .slot-entries .entry-wrap .title-bar .actions .delete:hover{background-position:-61px -20px}#page-slots.slots .slot-entries .entry-wrap .title-bar .actions .visibility{background-position:-32px 0}#page-slots.slots .slot-entries .entry-wrap .title-bar .actions .visibility:hover{background-position:-32px -20px}#page-slots.slots .slot-entries .entry-wrap .dialogue{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;position:absolute;top:20px;left:4px;right:4px;background-color:rgba(0,0,0,0.9);z-index:30;padding:32px;color:white}#page-slots.slots .slot-entries .entry-wrap .dialogue .buttons a{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#ccc;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#d9d9d9), to(#bfbfbf));background-image:-moz-linear-gradient(top, #d9d9d9, #bfbfbf);color:white !important;padding-left:16px;padding-right:16px}#page-slots.slots .slot-entries .entry-wrap .dialogue .buttons a:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}#page-slots.slots .slot-entries .entry-wrap .dialogue .buttons a + a{margin-left:8px}#page-slots.slots .slot-entries .entry-wrap .dialogue .buttons a.default{background-color:#10b2fe}#page-slots.slots .slot-entries .entry-wrap .white-bg,#page-slots.slots .slot-entries .entry-wrap .grey-bg{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;left:0px;right:40%;top:0;bottom:0px;margin:0;background-color:white;z-index:1}#page-slots.slots .slot-entries .entry-wrap .white-bg{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;border-width:2px;border-color:transparent;border-style:solid}#page-slots.slots .slot-entries .entry-wrap .white-bg.active{border-color:#10b2fe}#page-slots.slots .slot-entries .entry-wrap .grey-bg{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;left:auto;width:40%;right:0;background-color:#eee;margin-left:0}#page-slots.slots .slot-entries .entry-wrap .entry{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;z-index:2;float:left}#page-slots.slots .slot-entries .entry-wrap .entry .fields-preview{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;padding:4px;background:none;border-color:white}#page-slots.slots .slot-entries .entry-wrap .entry .fields-preview-text{width:100%;position:relative;margin-bottom:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#page-slots.slots .slot-entries .entry-wrap .entry .fields-preview-text li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#page-slots.slots .slot-entries .entry-wrap .slots{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;padding-left:0;float:left;width:40%;z-index:2;left:1px}#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:24px;display:block;margin-right:1px;width:100%;background:none}#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;width:25%;height:100%;display:block;padding-left:8px;padding-top:6px;cursor:pointer;border-right:solid 1px #b7b7b7;background-color:#c4c4c4;color:#666666}#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li:nth-child(4){float:right;position:relative;border-right:none}#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li:hover{background-color:#ff6c03;border-right-color:#ff6c03;color:#fff}#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li.active:hover,#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li.active{background:#ddd none;border-right:solid 1px #ddd;color:#666666}#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li:hover + li:nth-child(4){border-left-color:#ff6c03}#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li:last-child{border-right:none}#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs li .down{display:none}#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;background:none;background-color:#ddd;height:33px;padding:8px 8px 0 8px}#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable a{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#6b6b6b;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#787878), to(#5e5e5e));background-image:-moz-linear-gradient(top, #787878, #5e5e5e);color:white !important;padding-left:8px;padding-right:8px}#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable a:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable a + a{margin-left:8px}#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable .alias{font-style:italic}#page-slots.slots .slot-entries .entry-wrap .slots .slot-addable .down{display:none}#page-slots.slots .slot-entries .entry-wrap .slots .slot-entries{padding-top:8px}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2{margin-left:8px;margin-right:20px;margin-bottom:8px}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .white-bg{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;width:auto;right:0}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .grey-bg{display:none}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .entry-contents{padding:0}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .entry-spacer{height:8px}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2:last-child .entry-spacer{outline:solid 1px red;display:none}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .entry{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;width:100%}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .entry .fields-preview{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;padding:4px;background:none;width:100%;display:block}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .entry .fields-preview .fields-preview-text{width:100%;margin-bottom:0}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .entry .fields-preview .fields-preview-image{float:none;width:100%;margin-left:0;margin-top:4px;padding-top:4px}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .entry .fields-preview .fields-preview-text.empty + .fields-preview-image{margin-top:0}#page-slots.slots .slot-entries .entry-wrap .slots .entry-wrap.depth-2 .entry + .entry{margin-top:8px}#page-slots.slots .slot-entries .entry-wrap .alias-target{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;padding:4px;background-color:#444;color:white;font-size:14px;font-style:italic}#page-slots.slots .slot-entries .entry-wrap .alias-target.no-fields{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}#page-slots.slots .slot-entries .entry-wrap .alias-target:hover{color:#ff6c03}#page-slots.slots .slot-entries .entry-wrap .alias-target .icon-wrap,#page-slots.slots .slot-entries .entry-wrap .alias-target a{display:inline-block;vertical-align:top;cursor:pointer}#page-slots.slots .slot-entries .entry-wrap .alias-target .icon-wrap{margin-right:8px}#page-slots.slots .slot-entries .entry-wrap.no-boxes .white-bg{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;right:0}#page-slots.slots .slot-entries .entry-wrap.no-boxes .grey-bg{display:none}#page-slots.slots .slot-entries .entry-wrap.no-boxes .entry{width:100%}#page-slots.slots .slot-entries .entry-wrap.no-boxes .entry .fields-preview{display:-webkit-box;display:-moz-box;display:box}#page-slots.slots .slot-entries .entry-wrap.no-boxes .entry .fields-preview .fields-preview-text{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;width:60%;padding-right:0}#page-slots.slots .slot-entries .entry-wrap.no-boxes .entry .fields-preview .fields-preview-image{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;width:40%}#page-slots.slots .slot-entries .entry-wrap.hidden{opacity:0.4 !important}#page-slots.slots .slot-entries .entry-wrap.editing.hidden{opacity:1 !important}#page-slots.slots .slot-entries .entry-wrap.page .white-bg{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;right:0}#page-slots.slots .slot-entries .entry-wrap.page .page-title{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;background-color:#444;padding:4px}#page-slots.slots .slot-entries .entry-wrap.page .page-title a{cursor:pointer;font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std";font-weight:100;color:#fff;font-size:16px;line-height:normal}#page-slots.slots .slot-entries .entry-wrap.page .page-title a:hover{color:#ff6c03}#page-slots.slots .slot-entries .entry-wrap.boxes.depth-1 .entry{width:60%}#page-slots.slots .slot-entries .entry-wrap.boxes.depth-1 .entry .fields-preview.depth-1 .fields-preview-text{margin-right:-110px;padding-right:110px}#page-slots.slots .slot-entries .entry-wrap.boxes.depth-1 .entry .fields-preview.depth-1 .fields-preview-image{width:94px;float:right}#page-slots.slots .slot-entries .entry-wrap.boxes.depth-1 .entry .fields-preview.depth-1 .fields-preview-image img{max-width:94px}#page-slots.slots .slot-entries .entry-wrap.boxes.depth-1 .entry .fields-preview.depth-1 .fields-preview-image li{margin-right:0}#page-slots.slots .slot-entries .entry-wrap.boxes.depth-1 .entry .fields-preview.depth-1 .fields-preview-image li:last-child{margin-bottom:0}#dialogue-overlay{position:fixed;left:0;right:0;top:0;bottom:0;background-color:rgba(255,255,255,0.9);z-index:1000}#dialogue-wrap{position:fixed;left:0;right:0;bottom:0;top:0;overflow:auto;z-index:1001}#dialogue-wrap #dialogue-outer{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:-webkit-box;display:-moz-box;display:box;box-orient:vertical;-webkit-box-orient:vertical;-moz-box-orient:vertical;background-color:#222;position:relative;top:50px;margin:0 auto;margin-bottom:50px}#dialogue-wrap #dialogue-outer #dialogue-title{font-weight:100;font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std";-webkit-font-smoothing:antialiased;-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;height:26px;color:#fff;padding:0 8px 0 10px;padding-top:6px}#dialogue-wrap #dialogue-outer #dialogue-body{overflow:auto;margin:0 2px;background-color:#fff}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls{position:relative}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions{display:-webkit-box;display:-moz-box;display:box}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions .spacer{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions .button{display:block;width:128px;margin:8px 0}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions .button + .button{margin-left:8px}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions .button:last-child{margin-right:8px}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions .cancel{background-color:#6b6b6b;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#787878), to(#5e5e5e));background-image:-moz-linear-gradient(top, #787878, #5e5e5e)}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions .cancel:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions .save{background-color:#10b2fe;float:right}#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions .disabled,#dialogue-wrap #dialogue-outer #dialogue-control-wrap #dialogue-controls .dialogue-actions .disabled:hover{background-color:#333333 !important;color:#6b6b6b !important}.dialogue-wrapper,#editing{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;background-color:#cccccc;width:980px}#create-home-dialogue .instructions{margin:0;background-color:#f2f2f2;color:#666;padding:4px 8px;margin-bottom:8px}#create-home-dialogue .instructions .button{padding-left:2px;padding-right:2px}#create-home-dialogue .type{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:-webkit-box;display:-moz-box;display:box;cursor:pointer;padding:4px 8px;background-color:#fbfbfb;border:solid 1px #f2f2f2;margin:8px;margin-top:0}#create-home-dialogue .type:hover{background-color:#666;color:#fff}#create-home-dialogue .type.selected{background-color:#10b2fe;color:#fff}#publishing-dialogue{min-height:200px;max-height:90%;position:relative;display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal}#publishing-dialogue .change-list{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;width:50%}#publishing-dialogue .change-list#changes{border-right:solid 2px #000}#publishing-dialogue .change-list .actions{display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;box-align:center;-webkit-box-align:center;-moz-box-align:center;color:#666;background-color:#f2f2f2;padding:4px 8px}#publishing-dialogue .change-list .actions div{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1}#publishing-dialogue .change-list .actions .button{padding-left:8px;padding-right:8px}#publishing-dialogue .change-list .change-sets{overflow:auto}#publishing-dialogue .change-list .change-sets .instructions{font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std";color:#999;text-align:center;position:relative;padding-top:50px}#publishing-dialogue .publish-up-to-date{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:absolute;left:0;right:0;top:0;bottom:0;margin:60px 200px 60px 200px;text-align:center;background-color:#333;opacity:0.95;font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue","FrutigerLTStd-Light","Frutiger LT Std";font-size:24px;padding-top:24px;color:#fff}#publishing-dialogue .change-set{cursor:pointer;padding:8px 8px 0 8px}#publishing-dialogue .change-set .inner{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:-webkit-box;display:-moz-box;display:box;border:solid 3px transparent;background-color:#fbfbfb;border:solid 1px #f2f2f2}#publishing-dialogue .change-set .pages{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1}#publishing-dialogue .change-set .pages .title{padding:4px 8px;color:#333}#publishing-dialogue .change-set .pages .title + .title{border-top:solid 1px #f2f2f2}#publishing-dialogue .change-set .pages .url{font-size:10px;color:#666}#publishing-dialogue .change-set .add{-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;display:-webkit-box;display:-moz-box;display:box;box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;box-align:center;-webkit-box-align:center;-moz-box-align:center;width:64px;background-color:#f2f2f2;position:relative;color:#999}#publishing-dialogue .change-set .add span{font-size:40px;position:relative;top:-5px}#publishing-dialogue .change-set .add:hover{background-color:#10b2fe;color:#fff}#publishing-dialogue .change-set .titles a{display:block;margin-bottom:2px}#publishing-dialogue .change-set .titles a span{font-size:11px;margin-left:1em}#publishing-dialogue .change-set:hover{border-color:#10b2fe}#editing{z-index:1001}#editing .button{background-color:#42ab06}#editing .field-group-bg{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:absolute;margin:8px;top:0px;bottom:0px}#editing .field-group-bg.text{left:0;right:343px}#editing .field-group-bg.image{left:629px;right:0}#editing input[type="submit"]{visibility:hidden;position:absolute;width:0;height:0}#editing .field-group{position:relative;z-index:1010;float:left;padding:8px}#editing .field-group .field + .field{margin-top:8px}#editing .field-group .name{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background-color:#d1d1d1;display:block;height:24px;padding-left:8px;padding-top:6px}#editing .field-group .value{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;border:solid 2px transparent;padding:6px;background-color:white}#editing .field-group .value textarea,#editing .field-group .value input[type="text"]{font-family:"Lucida Grande";font-size:11px;line-height:14px;outline:none}#editing .field-group .value input[type="file"]{visibility:hidden;position:absolute;width:0;height:0}#editing .field-group .value textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;width:100%;padding-right:64px}#editing .field-group .value input[type="text"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;border:none;display:block;font-weight:bold}#editing .field-group .field.focus .name{background-color:#42ab06;color:white}#editing .field-group .field.focus .value{border-color:#42ab06}#editing .field-group.image{width:327px}#editing .field-group.image .field .value{position:relative;min-height:70px}#editing .field-group.image .field .value img{max-width:50%}#editing .field-group.image .field .value img.empty{width:50%;height:100px}#editing .field-group.image .field .value .actions{margin:8px;margin-left:0;position:absolute;top:0;right:0;bottom:0;width:109px}#editing .field-group.image .field .value .actions .button{display:block}#editing .field-group.image .field .value .actions .button.clear{color:#5b5b5b;background-color:#d1d1d1;position:absolute;bottom:0;width:100%}#editing .field-group.image .field .value .landscape img{max-width:100%;max-height:50%}#editing .field-group.image .field .value .landscape .actions{width:auto;display:block;margin:8px 0 0 0;position:relative}#editing .field-group.image .field .value .landscape .actions .button{display:inline-block;width:109px}#editing .field-group.image .field .value .landscape .actions .button.clear{position:static}#editing .field-group.image .field .value .landscape .actions .button.change{position:absolute;right:0}#status-bar{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;height:32px;bottom:0;left:0;right:0;background-color:#cccccc;z-index:100000}#status-bar #progress-container{position:relative;top:12px;font-size:10px;color:#888888}#status-bar #progress-container #progress-bars{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:relative;width:50%;height:8px;border:solid 1px #151515}#status-bar #progress-container #progress-bars .bar,#status-bar #progress-container #progress-bars #editing #url-panel,#editing #status-bar #progress-container #progress-bars #url-panel,#status-bar #progress-container #progress-bars #editing #content-panel .tabs .tab,#editing #content-panel .tabs #status-bar #progress-container #progress-bars .tab,#status-bar #progress-container #progress-bars #editing #content-panel #content-wrapper .field-wrap .field.edit .name,#editing #content-panel #content-wrapper .field-wrap .field.edit #status-bar #progress-container #progress-bars .name,#status-bar #progress-container #progress-bars #editing #content-panel #content-wrapper .field-wrap .field.edit .value input.input,#editing #content-panel #content-wrapper .field-wrap .field.edit .value #status-bar #progress-container #progress-bars input.input,#status-bar #progress-container #progress-bars #editing #content-panel #content-wrapper .page-entry-link h3,#editing #content-panel #content-wrapper .page-entry-link #status-bar #progress-container #progress-bars h3{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;height:8px;padding:0;background-color:black;position:absolute;top:0;left:0;opacity:0.7}#status-bar #progress-container #progress-bars #progress-individual{opacity:0.3}#status-bar #progress-container #progress-bars #progress-total{background-color:#fff}#status-bar #progress-container #progress-name{position:absolute;right:16px;top:-1px;text-align:right}#status-bar #progress-container #progress-stats{position:absolute;left:50%;top:-1px;margin-left:10px}#script-load-splash{background:url("/@spontaneous/static/splash.png") 0 0 no-repeat;width:318px;height:43px;position:relative;margin:0 auto;top:150px}#script-load-splash #script-load-progress{-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;position:relative;left:-31px;top:64px;border:solid 1px #ddd;padding:1px;width:380px;height:4px}#script-load-splash #script-load-progress div{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;background-color:#ddd;height:4px}#script-load-splash #script-load-progress.synchronous{border:none;color:#ddd;top:44px;left:47px}#script-load-splash.loaded{background-position:0 -80px}.icon-wrap{overflow:hidden;position:relative}.icon-wrap img{position:relative}.pop-over{display:inline-block;background-color:#222;margin:0px;-webkit-padding-start:0;-moz-padding-start:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:absolute;opacity:0px;z-index:1000000}.pop-over > div{margin:0px 8px 8px 8px !important;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.pop-over > header{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;position:relative;padding:8px 8px 8px 8px}.pop-over > header > h3{text-transform:none;margin:0px;margin-bottom:0;color:white;font-size:14px;line-height:22px;display:block;text-align:center;font-weight:normal}.pop-over header .button{min-width:50px}.pop-over .po-button.back{position:relative;padding-left:5px;margin-left:8px}.pop-over .back.black > .pointer{background-image:-webkit-gradient(linear, left top, right bottom, from(#7d828c), color-stop(0.5, #303749), color-stop(0.5, #121a2e), to(#121a2e));border-left:solid 1px rgba(79,79,79,0.75);border:solid 1px rgba(79,79,79,0.75);-webkit-border-radius:6px 0 6px 0;-moz-border-radius:6px 0 6px 0;border-radius:6px 0 6px 0;height:19px;width:19px;display:inline-block;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg);-webkit-mask-image:-webkit-gradient(linear, left bottom, right top, from(#000), color-stop(0.5, #000), color-stop(0.5, transparent), to(transparent));position:absolute;left:-7px;top:1px;-webkit-background-clip:content;-moz-background-clip:content;background-clip:content}.pop-over .back:hover .pointer,.pop-over .back.hover .pointer{background-image:-webkit-gradient(linear, left top, right bottom, from(#4286f5), color-stop(0.5, #4286f5), color-stop(0.5, #194fdb), to(#194fdb))}.pop-over .button{min-width:100px}.pop-over .button.close,.pop-over .button.cancel{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#404040;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#4d4d4d), to(#333));background-image:-moz-linear-gradient(top, #4d4d4d, #333);color:white !important;min-width:50px}.pop-over .button.close:hover,.pop-over .button.cancel:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.pop-over .po-button.forward{position:relative;padding-right:5px;margin-right:8px}.pop-over .forward.black > .pointer{background-image:-webkit-gradient(linear, left top, right bottom, from(#7d828c), color-stop(0.5, #303749), color-stop(0.5, #121a2e), to(#121a2e));border-left:solid 1px rgba(79,79,79,0.75);border:solid 1px rgba(79,79,79,0.75);border-top-left-radius:6px;border-bottom-right-radius:6px;height:19px;width:19px;display:inline-block;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg);-webkit-mask-image:-webkit-gradient(linear, right top, left bottom, from(#000), color-stop(0.5, #000), color-stop(0.5, transparent), to(transparent));position:absolute;right:-7px;top:1px;-webkit-background-clip:content;-moz-background-clip:content;background-clip:content}.pop-over .forward:hover > .pointer,.pop-over .forward.hover > .pointer{background-image:-webkit-gradient(linear, left top, right bottom, from(#4286f5), color-stop(0.5, #4286f5), color-stop(0.5, #194fdb), to(#194fdb))}.pop-over header{display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;box-align:stretch;-webkit-box-align:stretch;-moz-box-align:stretch}.pop-over .menuHandle{position:absolute;top:-14px;left:8px;height:30px !important;width:30px;border:solid 2px #4f4f4f;border-bottom:none;border-right:none;background-color:#404040 !important;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform:rotate(45deg);-webkit-mask-image:-webkit-gradient(linear, left top, right bottom, from(#000), color-stop(0.5, #000), color-stop(0.5, transparent), to(transparent))}.pop-over .hide{-webkit-transform:translate3d(-1000px, 0px);-moz-transform:translate3d(-1000px, 0px);transform:translate3d(-1000px, 0px)}.pop-over .show{-webkit-transform:translate3d(0px, 0px);-moz-transform:translate3d(0px, 0px);transform:translate3d(0px, 0px)}.pop-over .fade-in{-webkit-transition:opacity 0.25s ease-in-out;-moz-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out;opacity:1}.pop-over .fade-out{-webkit-transition:opacity 0.25s ease-in-out;-moz-transition:opacity 0.25s ease-in-out;transition:opacity 0.25s ease-in-out;opacity:0}.pop-over ul.dropdown-menu-basic,.pop-over .dropdown-menu-basic li{margin:0px;padding:0px;list-style:none}.pop-over .dropdown-menu-basic li{border-bottom:1px solid #666666;font-size:18px !important;line-height:36px;padding:0px 8px}.pop-over .dropdown-menu-basic li:hover,.pop-over .dropdown-menu-basic li.hover{background-image:-webkit-gradient(linear, left top, left bottom, from(#4286f5), to(#194fdb));color:white}.pop-over .dropdown-menu-basic li:first-of-type{-webkit-border-top-right-radius:5px;-moz-border-radius-topright:5px;border-top-right-radius:5px;-webkit-border-top-left-radius:5px;-moz-border-radius-topleft:5px;border-top-left-radius:5px}.pop-over .dropdown-menu-basic li:last-of-type{-webkit-border-bottom-right-radius:5px;-moz-border-radius-bottomright:5px;border-bottom-right-radius:5px;-webkit-border-bottom-left-radius:5px;-moz-border-radius-bottomleft:5px;border-bottom-left-radius:5px}.pop-over .buttons{display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify}.pop-over .buttons a{display:block}.pop-over .pop-insert-link p{margin-top:0;margin-bottom:8px}.pop-over .pop-insert-link label{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:block;background-color:#404040;color:#fff;padding:0}.pop-over .pop-insert-link label span{display:block;padding:4px 0 4px 4px}.pop-over .pop-insert-link input,.pop-over .pop-insert-link textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;border:none;display:block;outline:none;width:100%;padding:4px;margin:0}.pop-over .link-page-browser{margin-bottom:8px}.pop-over .link-page-browser label{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.pop-over .link-page-browser .page-list{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;background-color:#fff;padding:8px 0}.pop-over .link-page-browser .page-list .page{cursor:pointer;color:#333;text-transform:none;padding:4px 4px;padding-right:80px;position:relative;font-size:11px;border-bottom:solid 1px #eee}.pop-over .link-page-browser .page-list .page:last-child{border-bottom:none}.pop-over .link-page-browser .page-list .page:hover{background-color:#999;color:#fff}.pop-over .link-page-browser .page-list .page.active{background-color:#10b2fe;color:white}.pop-over .link-page-browser .page-list .page.active span:hover{background-color:#01a6f3}.pop-over .link-page-browser .page-list .page span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;display:block;position:absolute;right:0;top:0;bottom:0;font-size:16px;line-height:13px;font-weight:normal;width:80px;margin:2px;background:url("/@spontaneous/static/page-browser-next.png") right 1px no-repeat}.pop-over .link-page-browser .page-list .page span:hover{background-position:right -39px;background-color:#8d8d8d}.pop-over .link-page-browser .page-list .page span:active{background-color:#10b2fe}.pop-over .link-page-browser .page-ancestors{background-color:#4d4d4d}.pop-over .link-page-browser .page-ancestors ul{display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;margin:0;padding:0;padding:4px}.pop-over .link-page-browser .page-ancestors ul li{font-size:10px;text-transform:none;cursor:pointer}.pop-over .link-page-browser .page-ancestors ul li,.pop-over .link-page-browser .page-ancestors ul li a{color:#ccc}.pop-over .link-page-browser .page-ancestors ul li span{display:inline-block;color:#777;margin:0 2px;padding:0}.pop-over .link-page-browser .page-ancestors ul li:hover a{color:#fff}.pop-over .link-page-browser .page-ancestors ul li:active a{color:#10b2fe}.pop-over #popover-delete{display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify}.pop-over #popover-delete a.ok{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#10b2fe;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#29bafe), to(#01a6f3));background-image:-moz-linear-gradient(top, #29bafe, #01a6f3);color:white !important;display:block}.pop-over #popover-delete a.ok:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.pop-over #popover-delete a.cancel{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#404040;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#4d4d4d), to(#333));background-image:-moz-linear-gradient(top, #4d4d4d, #333);color:white !important;display:block}.pop-over #popover-delete a.cancel:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.pop-over #popover-delete a{max-width:100px}.editing-panel{z-index:1001;background:url(/@spontaneous/static/editing-texture-1.png) repeat}.editing-panel .editing-fields{display:-webkit-box;display:-moz-box;display:box;box-align:horizontal;-webkit-box-align:horizontal;-moz-box-align:horizontal;padding:8px}.editing-panel .editing-toolbar{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;background-color:rgba(0,0,0,0.2);padding:4px 16px}.editing-panel .editing-toolbar .indent{position:absolute;top:0;right:0;left:0;height:6px}.editing-panel .editing-toolbar.bottom .indent{top:auto;bottom:0}.editing-panel .editing-toolbar .buttons{display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify;width:621px}.editing-panel .editing-toolbar .buttons .save,.editing-panel .editing-toolbar .buttons .cancel{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#10b2fe;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#29bafe), to(#01a6f3));background-image:-moz-linear-gradient(top, #29bafe, #01a6f3);color:white !important}.editing-panel .editing-toolbar .buttons .save:hover,.editing-panel .editing-toolbar .buttons .cancel:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.editing-panel .editing-toolbar .buttons .cancel{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;cursor:pointer;text-align:center;height:17px;padding-top:2px;font-weight:bold;display:inline-block;text-decoration:none;background-color:#444;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#515151), to(#373737));background-image:-moz-linear-gradient(top, #515151, #373737);color:white !important}.editing-panel .editing-toolbar .buttons .cancel:hover{background-color:#ff6c03 !important;background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff6c03), to(#e96100));background-image:-moz-linear-gradient(top, #ff6c03, #e96100);color:white !important}.editing-panel .editing-toolbar .buttons .save,.editing-panel .editing-toolbar .buttons .cancel{display:block;width:128px}.editing-panel .editing-toolbar.bottom{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.editing-panel .editing-toolbar.bottom .buttons{padding-top:0}.editing-panel .field-group-bg{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;position:absolute;margin:8px;top:0px;bottom:0px}.editing-panel .field-group-bg.text{left:0;right:343px}.editing-panel .field-group-bg.image{left:629px;right:0}.editing-panel input[type="submit"]{visibility:hidden;position:absolute;width:0;height:0}.editing-panel .field-group{position:relative;z-index:1010;float:left;padding:8px}.editing-panel .field-group .field + .field{margin-top:8px}.editing-panel .field-group .name{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background-color:rgba(0,0,0,0.2);color:#fff;display:block;height:16px;padding-left:8px;padding-top:2px}.editing-panel .field-group .name .comment{font-weight:normal;text-transform:none;margin-left:8px}.editing-panel .field-group .value{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;border:solid 2px transparent;padding:6px;background-color:white;opacity:0.8}.editing-panel .field-group .value textarea,.editing-panel .field-group .value input[type="text"]{font-family:"Lucida Grande";font-size:11px;line-height:14px;outline:none}.editing-panel .field-group .value input[type="file"]{visibility:hidden;position:absolute;width:0;height:0}.editing-panel .field-group .value textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:none;width:100%;padding-right:64px;resize:vertical}.editing-panel .field-group .value input[type="text"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;border:none;display:block;font-weight:bold}.editing-panel .field-group .field.focus .name{background-color:rgba(0,0,0,0.6);color:white}.editing-panel .field-group .field.focus .name .comment{color:white}.editing-panel .field-group .field.focus .value{border-color:#fff;background-color:#fff;opacity:1}.editing-panel .field-group.text{width:621px}.editing-panel.depth-2 .editing-fields{padding:0;box-orient:vertical;-webkit-box-orient:vertical;-moz-box-orient:vertical}.editing-panel.depth-2 .editing-toolbar{padding-left:8px;padding-right:8px}.editing-panel.depth-2 .editing-toolbar .buttons{width:100%}.editing-panel.depth-2 .field-group.text{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.editing-panel.depth-2 .field-group.image{padding:8px}.editing-panel .field-group.image{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;padding:8px 0}.editing-panel .field-group.image .field{display:inline-block;vertical-align:top;min-width:100px;margin-right:8px;margin-bottom:8px;margin-top:0;margin-left:0}.editing-panel .field-group.image .field .name{background-color:rgba(0,0,0,0.6)}.editing-panel .field-group.image .field .value{opacity:1}.editing-panel .field-group.image .field .value{position:relative;min-height:70px;text-align:center}.editing-panel .field-group.image .field .value img{max-width:200px;cursor:pointer}.editing-panel .field-group.image .field .value img:hover{outline:solid 1px #10b2fe}.editing-panel .field-group.image .field .value img.empty{width:50%;height:100px}.editing-panel .field-group.image .field .value .image-drop{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;z-index:2;position:absolute;top:0;right:0;bottom:0;left:0}.editing-panel .field-group.image .field .value .image-drop.drop-active,.editing-panel .field-group.image .field .value .image-drop:hover{border:solid 1px #10b2fe}.editing-panel .field-group.image .field .value .actions{margin:0px;margin-left:0;position:absolute;top:0;right:0;width:60px}.editing-panel .field-group.image .field .value .actions .button{display:block}.editing-panel .field-group.image .field .value .actions .button.clear{color:#5b5b5b;background-color:#d1d1d1;width:100%}.editing-panel .field-group.image .field .value .info{position:absolute;left:0;right:0;bottom:0;padding:8px;opacity:0.7;color:black;padding-left:4px;padding-top:2px;background-color:#efefef;text-transform:none;display:-webkit-box;display:-moz-box;display:box;box-orient:vertical;-webkit-box-orient:vertical;-moz-box-orient:vertical}.editing-panel .field-group.image .field .value .info .filename{word-wrap:break-word}.editing-panel .field-group.image .field .value .info .sizes{padding-top:4px;display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;box-pack:justify;-webkit-box-pack:justify;-moz-box-pack:justify}.editing-panel .field-group.image .field .value .landscape img{max-width:200px}.editing-panel .field-group.image .field .value .landscape .actions{width:auto;display:block;margin:8px 0 0 0;position:relative}.editing-panel .field-group.image .field .value .landscape .actions .button{display:inline-block;width:109px}.editing-panel .field-group.image .field .value .landscape .actions .button.clear{position:static}.editing-panel .field-group.image .field .value .landscape .actions .button.change{position:absolute;right:0}.clearfix:after,#top:after,.fields-preview:after,.fields-preview-text li:after,.fields-preview-image:after,#page-slots.slots .slot-tabs:after,#page-slots.slots .slot-entries .entry-wrap:after,#page-slots.slots .slot-entries .entry-wrap .entry-inner:after,#page-slots.slots .slot-entries .entry-wrap .slots .slot-tabs:after,#editing:after,.editing-panel .editing-fields:after,#editing #content-panel .tabs:after,#editing #content-panel #content-wrapper .facet-allowed .type-list:after{content:".";display:block;height:0;clear:both;visibility:hidden}.bar,#editing #url-panel,#editing #content-panel .tabs .tab,#editing #content-panel #content-wrapper .field-wrap .field.edit .name,#editing #content-panel #content-wrapper .field-wrap .field.edit .value input.input,#editing #content-panel #content-wrapper .page-entry-link h3{height:23px;padding-top:11px}.border-box,#editing #content-panel #content-wrapper .field-wrap .field.edit .value input.input{-webkit-box-sizing:border-box;-mox-box-sizing:border-box;box-sizing:border-box}#editing{position:absolute;top:0;left:0;right:0;bottom:0}#editing #url-panel{background-color:#e0e0e0;padding-left:10px;position:absolute;top:0;left:0;right:0}#editing #function-panel{position:absolute;top:34px;left:0;right:0;height:34px}#editing #content-panel{position:absolute;top:85px;left:0;right:0;bottom:0;overflow:auto;padding:0 10px;padding-bottom:100px}#editing #content-panel .tabs{-webkit-border-top-right-radius:5px;-moz-border-radius-topright:5px;border-top-right-radius:5px;-webkit-border-top-left-radius:5px;-moz-border-radius-topleft:5px;border-top-left-radius:5px;background-color:#d7d7d7;list-style:none;height:34px}#editing #content-panel .tabs .tab:first-child{-webkit-border-top-left-radius:5px;-moz-border-radius-topleft:5px;border-top-left-radius:5px}#editing #content-panel .tabs .tab{display:block;float:left;padding-left:10px;min-width:130px;border-right:solid 1px #c5c5c5;cursor:pointer}#editing #content-panel .tabs .tab:hover{background-color:#10b2fe}#editing #content-panel .tabs .tab.active{background-color:#c5c5c5;font-weight:bold}#editing #content-panel #content-wrapper{border-top:solid 1px #cecece;background-color:#e0e0e0}#editing #content-panel #content-wrapper .field-wrap .edit,#editing #content-panel #content-wrapper .field-wrap .preview{padding:10px;background-color:#cecece}#editing #content-panel #content-wrapper .field-wrap .field{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;width:100%}#editing #content-panel #content-wrapper .field-wrap .field .name,#editing #content-panel #content-wrapper .field-wrap .field .value{display:table-cell}#editing #content-panel #content-wrapper .field-wrap .field .name{-webkit-border-top-left-radius:5px;-moz-border-radius-topleft:5px;border-top-left-radius:5px;-webkit-border-bottom:5px;-moz-border-radius-bottomleft:5px;border-bottom-left-radius:5px;vertical-align:top;font-weight:bold;width:150px;padding-right:10px;text-align:right}#editing #content-panel #content-wrapper .field-wrap .field .value{-webkit-border-top-right-radius:5px;-moz-border-radius-topright:5px;border-top-right-radius:5px;-webkit-border-bottom:5px;-moz-border-radius-bottomright:5px;border-bottom-right-radius:5px;padding-left:10px}#editing #content-panel #content-wrapper .field-wrap .field.edit .name{background-color:#aaa}#editing #content-panel #content-wrapper .field-wrap .field.edit .name.active{background-color:#10b2fe;color:#fff}#editing #content-panel #content-wrapper .field-wrap .field.edit .value{padding-top:0;padding-bottom:0;padding-right:0;padding-left:0px;position:relative}#editing #content-panel #content-wrapper .field-wrap .field.edit .value input.input{-webkit-border-top-right-radius:5px;-moz-border-radius-topright:5px;border-top-right-radius:5px;-webkit-border-bottom:5px;-moz-border-radius-bottomright:5px;border-bottom-right-radius:5px;display:block;position:relative;left:0;width:100%;height:34px;border:solid 2px #10b2fe;outline:none;padding-left:10px;vertical-align:top}#editing #content-panel #content-wrapper .field-wrap .field.edit .value input.input:focus{border-color:#10b2fe}#editing #content-panel #content-wrapper .field-wrap .field + .field{margin-top:10px}#editing #content-panel #content-wrapper .facet-contents-wrap .facet-contents-wrap .facet-drag-bar{display:none}#editing #content-panel #content-wrapper .facet-contents-wrap .editing .facet-contents-wrap .facet-drag-bar{display:block}#editing #content-panel #content-wrapper .facet.depth-1 .facet-contents-wrap{background-color:#d7d7d7}#editing #content-panel #content-wrapper .facet.depth-2{background-color:#e0e0e0}#editing #content-panel #content-wrapper .facet.depth-2 .field-wrap .preview{background-color:#fff}#editing #content-panel #content-wrapper .facet.depth-2 .field-wrap .edit{background-color:#e0e0e0}#editing #content-panel #content-wrapper .facet.depth-2 .facet-contents-wrap{background-color:#e0e0e0}#editing #content-panel #content-wrapper .facet.depth-1 > .facet-bottom-bar{-webkit-border-bottom-right-radius:5px;-moz-border-radius-bottomright:5px;border-bottom-right-radius:5px;-webkit-border-bottom-left-radius:5px;-moz-border-radius-bottomleft:5px;border-bottom-left-radius:5px;background-color:#e0e0e0}#editing #content-panel #content-wrapper .facet-allowed{background-color:#cecece;padding:0}#editing #content-panel #content-wrapper .facet-allowed .type-list{-webkit-border-top-right-radius:5px;-moz-border-radius-topright:5px;border-top-right-radius:5px;-webkit-border-top-left-radius:5px;-moz-border-radius-topleft:5px;border-top-left-radius:5px;padding-left:10px;padding-right:10px;padding-bottom:6px}#editing #content-panel #content-wrapper .facet-allowed .type-list a{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;display:block;float:left;min-width:95px;padding:7px 6px 0 6px;height:21px;background-color:#d7d7d7;margin-top:6px}#editing #content-panel #content-wrapper .facet-allowed .type-list a:hover{background-color:#10b2fe;color:#fff}#editing #content-panel #content-wrapper .facet-allowed .type-list a + a{margin-left:6px}#editing #content-panel #content-wrapper .page-entry-link h3{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;background-color:#e0e0e0;margin-bottom:10px;font-size:150%;padding-left:10px}#editing #content-panel #content-wrapper .page-entry-link h3 a{font-weight:normal}#editing #content-panel #content-wrapper .facet-contents-wrap{padding:10px}#editing #content-panel #content-wrapper .facet-contents-wrap .facet-drag-bar{-webkit-border-top-right-radius:5px;-moz-border-radius-topright:5px;border-top-right-radius:5px;-webkit-border-top-left-radius:5px;-moz-border-radius-topleft:5px;border-top-left-radius:5px;height:24px;background-color:#c5c5c5}#editing #content-panel #content-wrapper .facet-contents-wrap .facet{margin-top:20px}#editing #content-panel #content-wrapper .facet-contents-wrap .page .field-wrap{padding-bottom:10px}#editing #content-panel #content-wrapper .depth-2 .facet-contents-wrap{background-color:#cecece}#editing #content-panel #content-wrapper .facet-bottom-bar{-webkit-border-bottom-right-radius:5px;-moz-border-radius-bottomright:5px;border-bottom-right-radius:5px;-webkit-border-bottom-left-radius:5px;-moz-border-radius-bottomleft:5px;border-bottom-left-radius:5px;height:10px;background-color:#d7d7d7}#page-fields .editing-panel .editing-fields,#page-fields .editing-panel .editing-toolbar,.box-fields .editing-panel .editing-fields,.box-fields .editing-panel .editing-toolbar{padding-left:64px;padding-right:64px}#page-fields .editing-panel .field-group.text,.box-fields .editing-panel .field-group.text{padding-left:0}.box-fields .editing-panel .editing-toolbar.bottom .indent{opacity:0.2}.field .markdown-editor .md-toolbar{display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;background-color:rgba(0,0,0,0.2)}.field .markdown-editor .md-toolbar a{color:#999;display:block;border:solid 1px transparent;padding:2px 6px;cursor:pointer}.field .markdown-editor .md-toolbar a.active{background-color:#ccc}.field .markdown-editor .md-toolbar a:hover{background-color:#999}.field .markdown-editor .md-toolbar a + a{margin-left:10px}.field.focus .markdown-editor .md-toolbar{background-color:rgba(0,0,0,0.6)}.field.focus .markdown-editor .md-toolbar a{color:#333}#conflicted-fields-dialogue .instructions{text-transform:none;margin:0;background-color:#f2f2f2;color:#666;padding:8px}#conflicted-fields-dialogue .differences{display:-webkit-box;display:-moz-box;display:box}#conflicted-fields-dialogue .diff{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:11px;width:50%;padding:8px 8px;border:solid 2px #f2f2f2;cursor:pointer}#conflicted-fields-dialogue .diff.selected{border-color:#10b2fe}#conflicted-fields-dialogue .diff ins{background-color:#deffdd;text-decoration:none}#conflicted-fields-dialogue .diff del{background-color:#fedddd;text-decoration:line-through}#conflicted-fields-dialogue .diff .para{color:#ccc}#conflicted-fields-dialogue .labels .diff{border:none;background-color:#fbfbfb;padding-top:5px;padding-bottom:5px}#conflicted-fields-dialogue .image-field-conflict.changes .diff{display:-webkit-box;display:-moz-box;display:box;box-orient:horizontal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;box-pack:center;-webkit-box-pack:center;-moz-box-pack:center;box-align:center;-webkit-box-align:center;-moz-box-align:center}#conflicted-fields-dialogue .image-field-conflict.changes .diff img{max-height:500px;max-width:100%;display:block}#add-alias-dialogue .instructions{margin:0;background-color:#f2f2f2;color:#666;padding:4px 8px}#add-alias-dialogue .type{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;display:-webkit-box;display:-moz-box;display:box;cursor:pointer;padding:4px 8px;background-color:#fbfbfb;border:solid 1px #f2f2f2;margin:8px;margin-bottom:0}#add-alias-dialogue .type:hover{background-color:#666;color:#fff}#add-alias-dialogue .type.selected{background-color:#10b2fe;color:#fff}a.developer.source{color:rgba(255,255,255,0.6)}a.developer.source:hover{color:#fff}
@@ -91,12 +91,12 @@ img.missing {
91
91
  padding-top: 0px;
92
92
  padding-right: 25px;
93
93
  height: 31px;
94
- color: #888888;
94
+ color: #ccc;
95
95
  font-weight: bold;
96
96
  width: 100%;
97
97
  }
98
98
  select.unselected {
99
- color: #555555;
99
+ color: #888;
100
100
  font-weight: normal;
101
101
  font-style: italic;
102
102
  max-width: 80px;
@@ -104,7 +104,8 @@ img.missing {
104
104
  a {
105
105
  @include box-sizing;
106
106
  cursor: pointer;
107
- color: #888888;
107
+ // color: #888888;
108
+ color: #ddd;
108
109
  height: 31px;
109
110
  padding-top: 9px;
110
111
  display: block;
@@ -117,6 +118,7 @@ img.missing {
117
118
  }
118
119
  li.root a {
119
120
  background-image: none;
121
+ padding-right: 5px;
120
122
  }
121
123
  li:first-child {
122
124
  background-image: url("/@spontaneous/static/spontaneous.png"), url("/@spontaneous/static/location-arrow.png");
@@ -395,7 +397,7 @@ img.missing {
395
397
  margin-right: 16px;
396
398
  li {
397
399
  @extend .clearfix;
398
- border-bottom: solid 1px #cccccc;
400
+ border-bottom: solid 1px $entry-background-colour;
399
401
  padding-top: 3px;
400
402
  padding-bottom: 3px;
401
403
  display: block;
@@ -556,6 +558,8 @@ img.missing {
556
558
  .fields-preview-text + .fields-preview-image {}
557
559
 
558
560
  #page-slots.slots {
561
+ height: 100%;
562
+
559
563
  .slot-tabs {
560
564
  @extend .clearfix;
561
565
  height: 32px;
@@ -587,7 +591,8 @@ img.missing {
587
591
  border-right-color: $highlight;
588
592
  .down {
589
593
  @include down-arrow("/@spontaneous/static/orange-down-arrow.png", 7px);
590
- z-index: 1;
594
+ z-index: 100;
595
+ display: none;
591
596
  }
592
597
  }
593
598
  li:first-child {
@@ -607,6 +612,7 @@ img.missing {
607
612
  @extend .container-padding;
608
613
  @include vertical-gradient(#eeeeee, #dddddd);
609
614
  @include display-box;
615
+ border-top: solid 1px #CCC;
610
616
  position:relative;
611
617
  padding-top: 12px;
612
618
  padding-bottom: 5px;
@@ -614,7 +620,7 @@ img.missing {
614
620
  position: absolute;
615
621
  left: 0;
616
622
  right: 0;
617
- top: 0;
623
+ top: -1px;
618
624
  bottom: 0;
619
625
  border-style: solid;
620
626
  border-width: 2px;
@@ -644,37 +650,83 @@ img.missing {
644
650
  .slot-addable {
645
651
  @extend .container-padding;
646
652
  @include box-sizing;
647
- @include vertical-gradient(#dddddd, #eeeeee);
653
+ // @include vertical-gradient($slot-addable-colour, $entry-background-colour);
654
+ background: url("/@spontaneous/static/diagonal-texture.png");
648
655
  border-top: solid 1px #cccccc;
656
+ text-align: center;
649
657
  height: 40px;
650
- padding-top: 10px;
658
+ padding-top: 8px;
651
659
  position: relative;
652
660
  a {
653
661
  @include button;
654
662
  padding-right: 16px;
655
663
  padding-left: 16px;
664
+ margin-right: 4px;
665
+ margin-left: 4px;
656
666
  }
657
667
  // a:hover {
658
668
  // background-color: $highlight;
659
669
  // color: white;
660
670
  // }
661
671
  a + a {
662
- margin-left: 8px;
663
672
  }
664
673
  .alias {
665
674
  font-style: italic;
666
675
  }
667
676
  .down {
668
677
  @include down-arrow("/@spontaneous/static/slot-down-arrow.png", 18px);
678
+ display: none;
679
+ }
680
+ }
681
+ .slot-addable.floating {
682
+ // @include vertical-gradient($entry-background-colour, $slot-addable-colour);
683
+ // @include corners;
684
+ // margin-top: 10px;
685
+ background: none;
686
+ // margin-left: $container-padding;
687
+ // margin-right: $container-padding;
688
+ border-top: 0;
689
+ padding-left: 10px;
690
+ padding-right: 10px;
691
+ padding-top: 5px;
692
+ text-align: center;
693
+ background: url("/@spontaneous/static/plus-box.png") 10px 7px no-repeat;
694
+
695
+ .down {
696
+ display: none;
697
+ // background-image: url("/@spontaneous/static/slot-up-arrow.png");
698
+ // bottom: auto;
699
+ // top: -18px;
669
700
  }
670
701
  }
702
+ .slot-instructions {
703
+ @include header;
704
+ position: absolute;
705
+ left: 0;
706
+ right: 0;
707
+ top: $container-padding;
708
+ display: none;
709
+ text-align: center;
710
+ color: #ccc;
711
+ }
671
712
  .slot-addable.drop-active {
672
713
  outline: solid 2px $action;
673
714
  }
715
+ .slot-content.empty {
716
+ .slot-instructions {
717
+ display: block;
718
+ }
719
+ .slot-addable.bottom {
720
+ // display: none;
721
+ }
722
+ }
674
723
  }
675
724
 
725
+
676
726
  #page-slots.slots .slot-entries {
677
727
  padding-top: 32px;
728
+ padding-bottom: 50%;
729
+ position: relative;
678
730
  .fields-preview {
679
731
  @include rounded;
680
732
  padding: 4px;
@@ -686,66 +738,82 @@ img.missing {
686
738
  position: relative;
687
739
  margin-left: $container-padding;
688
740
  margin-right: $container-padding;
689
-
690
741
  .entry-contents {
691
742
  @include rounded;
692
- background-color: gray;
693
- padding: 1px;
694
- padding-top: $title-bar-height + 4px;
743
+ background-color: $entry-background-colour;
744
+ padding: 2px;
745
+ // padding-top: $title-bar-height + 4px;
695
746
  }
696
747
  .entry-spacer {
697
748
  height: $container-padding/2;
749
+ position: relative;
698
750
  }
751
+ .entry-spacer.add-entry {
752
+ background: url("/@spontaneous/static/diagonal-texture.png");
753
+ margin: 0 4px;
754
+ cursor: pointer;
755
+ }
699
756
  .entry-inner {
700
757
  @extend .clearfix;
701
758
  @include rounded;
702
- background-color: gray;
759
+ // background-color: gray;
703
760
  // padding: $unit;
704
761
  position: relative;
705
762
  }
706
763
  .title-bar {
707
- @include vertical-gradient(gray + #111111, gray);
764
+ // @include vertical-gradient(gray + #111111, gray);
708
765
  @include box-sizing;
709
- @include rounded-top;
766
+ @include rounded-right;
710
767
  @extend .interface;
768
+ $title-bar-width: 20px;
769
+
770
+ // background-color: rgba($entry-background-colour, 0.6);
771
+ background-color: transparent;
772
+
773
+
774
+ width: $title-bar-width;
711
775
  color: rgba(255, 255, 255, 0.4);
712
776
  padding-top: 4px;
713
- padding-left: $unit/2 + 2px;
777
+ // padding-left: $unit/2 + 2px;
714
778
  text-transform: none;
715
779
  font-weight: normal;
716
780
  cursor: ns-resize;
717
781
  position: absolute;
718
- left: 0;
719
- right: 0;
720
- top: 0;
721
- height: $title-bar-height;
782
+ left: auto;
783
+ right: -$title-bar-width;
784
+ // top: $unit/2;
785
+ top: -3px;
786
+ // height: $title-bar-height;
787
+ height: auto;
722
788
  .actions {
789
+ @include display-box;
790
+ @include box-orient(vertical);
723
791
  @include rounded-bottom;
724
- background-color: rgba(0, 0, 0, 0.2);
725
- position: absolute;
726
- top: 0;
727
- right: $unit/2;
792
+ // background-color: rgba(0, 0, 0, 0.2);
793
+ // position: absolute;
794
+ top: $unit/2;
795
+ // right: $unit/2;
728
796
  a {
729
- background: url("/@spontaneous/static/item-buttons.png") 0 0 no-repeat;
730
- display: inline-block;
797
+ background: url("/@spontaneous/static/item-buttons-highlight.png") 0 0 no-repeat;
798
+ display: block;
731
799
  width: 15px;
732
800
  height: 15px;
733
- position: relative;
734
- top: 4px;
801
+ // position: relative;
802
+ // top: 4px;
735
803
  cursor: pointer;
736
- padding: 0 10px;
804
+ // padding: 0 10px;
737
805
  }
738
806
  .delete {
739
- background-position: -54px 0;
807
+ background-position: -61px 0;
740
808
  }
741
809
  .delete:hover {
742
- background-position: -54px -20px;
810
+ background-position: -61px -20px;
743
811
  }
744
812
  .visibility {
745
- background-position: -25px 0;
813
+ background-position: -32px 0;
746
814
  }
747
815
  .visibility:hover {
748
- background-position: -25px -20px;
816
+ background-position: -32px -20px;
749
817
  }
750
818
  }
751
819
  }
@@ -789,7 +857,7 @@ img.missing {
789
857
  z-index: 1;
790
858
  }
791
859
  .white-bg {
792
- @include corners(0, 0, 0, $corner-radius);
860
+ @include corners($corner-radius - 1, 0, 0, $corner-radius - 1);
793
861
  border-width: 2px;
794
862
  border-color: transparent;
795
863
  border-style: solid;
@@ -803,7 +871,9 @@ img.missing {
803
871
  left: auto;
804
872
  width: 40%;
805
873
  right: 0;
806
- background-color: #6b6b6b;
874
+ // background-color: #6b6b6b;
875
+ background-color: $entry-background-colour;
876
+
807
877
  margin-left: 0;
808
878
  }
809
879
  .entry {
@@ -857,9 +927,10 @@ img.missing {
857
927
  padding-left: 8px;
858
928
  padding-top: 6px;
859
929
  cursor: pointer;
860
- border-right: solid 1px #565656;
861
- background-color: #6b6b6b;
862
- color: #f2f2f2;
930
+ border-right: solid 1px darken($slot-addable-colour, 15%);
931
+ background-color: darken($slot-addable-colour, 10%);
932
+ color: #666666;
933
+ // color: #f2f2f2;
863
934
  }
864
935
  li:first-child {
865
936
  // @include rounded-top-left;
@@ -870,18 +941,23 @@ img.missing {
870
941
  position: relative;
871
942
  border-right: none;
872
943
  }
873
- li.active:hover, li.active {
874
- background: #565656 none;
875
- border-right: solid 1px #565656;
876
- color: white;
877
- }
878
944
  li:hover {
879
945
  background-color: $highlight;
880
946
  border-right-color: $highlight;
947
+ color: #fff;
948
+ }
949
+ li.active:hover, li.active {
950
+ background: $slot-addable-colour none;
951
+ border-right: solid 1px darken($slot-addable-colour, 0%);
952
+ // color: white;
953
+ color: #666666;
881
954
  }
882
955
  li:hover + li:nth-child(4) {
883
956
  border-left-color: $highlight;
884
957
  }
958
+ li:last-child {
959
+ border-right: none;
960
+ }
885
961
  li .down {
886
962
  display: none;
887
963
  }
@@ -891,7 +967,9 @@ img.missing {
891
967
  @include box-sizing;
892
968
  border: none;
893
969
  background: none;
894
- background-color: #565656;
970
+ // background-color: #565656;
971
+ // background-color: (darken($entry-background-colour, 10%));
972
+ background-color: $slot-addable-colour;
895
973
  height: 33px;
896
974
  padding: $unit 8px 0 8px;
897
975
  a {
@@ -919,10 +997,10 @@ img.missing {
919
997
  .entry-wrap.depth-2 {
920
998
  // padding-top: $title-bar-height + ($unit/2);
921
999
  margin-left: $unit;
922
- margin-right: $unit;
1000
+ margin-right: 20px;
923
1001
  margin-bottom: $unit;
924
1002
  .white-bg {
925
- @include rounded(0 0 $radius $radius);
1003
+ @include rounded($radius - 1);
926
1004
  width: auto;
927
1005
  right: 0;
928
1006
  }
@@ -931,11 +1009,15 @@ img.missing {
931
1009
  }
932
1010
  .entry-contents {
933
1011
  // padding: $unit/2 $unit/2;
934
- // padding: 0;
1012
+ padding: 0;
935
1013
  }
936
1014
  .entry-spacer {
937
1015
  height: $unit;
938
1016
  }
1017
+ &:last-child .entry-spacer {
1018
+ outline: solid 1px red;
1019
+ display: none;
1020
+ }
939
1021
  .entry {
940
1022
  @include rounded;
941
1023
  width: 100%;
@@ -970,11 +1052,18 @@ img.missing {
970
1052
  }
971
1053
  }
972
1054
  .alias-target {
1055
+ @include rounded-top;
973
1056
  padding: $unit/2;
974
1057
  background-color: #444;
975
1058
  color: white;
976
1059
  font-size: 14px;
977
1060
  font-style: italic;
1061
+ &.no-fields {
1062
+ @include rounded;
1063
+ }
1064
+ &:hover {
1065
+ color: $highlight;
1066
+ }
978
1067
  .icon-wrap, a {
979
1068
  display: inline-block;
980
1069
  vertical-align: top;
@@ -986,7 +1075,8 @@ img.missing {
986
1075
  }
987
1076
  &.no-boxes {
988
1077
  .white-bg {
989
- @include rounded(0 0 $radius $radius);
1078
+ // @include rounded(0 0 $radius $radius);
1079
+ @include rounded($radius - 1);
990
1080
  right: 0;
991
1081
  }
992
1082
  .grey-bg {
@@ -1013,12 +1103,16 @@ img.missing {
1013
1103
  .entry-wrap.hidden {
1014
1104
  opacity: 0.4 !important;
1015
1105
  }
1106
+ .entry-wrap.editing.hidden {
1107
+ opacity: 1 !important;
1108
+ }
1016
1109
  .entry-wrap.page {
1017
1110
  .white-bg {
1018
1111
  @include corners(0, 0, $corner-radius, $corner-radius);
1019
1112
  right: 0;
1020
1113
  }
1021
1114
  .page-title {
1115
+ @include rounded-top;
1022
1116
  background-color: #444;
1023
1117
  padding: $unit/2;
1024
1118
  a {
@@ -1034,7 +1128,7 @@ img.missing {
1034
1128
  }
1035
1129
  }
1036
1130
  }
1037
- .entry-wrap.ui-sortable-helper .entry-contents {
1131
+ .entry-wrap.ui-sortable-helper > .entry-contents {
1038
1132
  @extend .shadow;
1039
1133
  }
1040
1134
  .entry-wrap.boxes.depth-1 .entry {