spontaneous 0.2.0.alpha2 → 0.2.0.alpha3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. data/Gemfile +3 -40
  2. data/Rakefile +29 -41
  3. data/Readme.markdown +21 -8
  4. data/application/css/add_alias_dialogue.css.scss +79 -0
  5. data/application/css/{v2.scss → core.css.scss} +537 -550
  6. data/application/css/{definitions.scss → definitions.css.scss} +121 -33
  7. data/application/css/dialogue.css.scss +409 -0
  8. data/application/css/{editing.scss → editing.css.scss} +25 -262
  9. data/application/css/font.css.scss +8 -0
  10. data/application/css/jquery-ui-1.8.21.custom/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  11. data/application/css/jquery-ui-1.8.21.custom/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  12. data/application/css/jquery-ui-1.8.21.custom/images/ui-bg_flat_10_000000_40x100.png +0 -0
  13. data/application/css/jquery-ui-1.8.21.custom/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  14. data/application/css/jquery-ui-1.8.21.custom/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  15. data/application/css/jquery-ui-1.8.21.custom/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  16. data/application/css/jquery-ui-1.8.21.custom/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  17. data/application/css/jquery-ui-1.8.21.custom/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  18. data/application/css/jquery-ui-1.8.21.custom/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  19. data/application/css/jquery-ui-1.8.21.custom/images/ui-icons_222222_256x240.png +0 -0
  20. data/application/css/jquery-ui-1.8.21.custom/images/ui-icons_228ef1_256x240.png +0 -0
  21. data/application/css/jquery-ui-1.8.21.custom/images/ui-icons_ef8c08_256x240.png +0 -0
  22. data/application/css/jquery-ui-1.8.21.custom/images/ui-icons_ffd27a_256x240.png +0 -0
  23. data/application/css/jquery-ui-1.8.21.custom/images/ui-icons_ffffff_256x240.png +0 -0
  24. data/application/css/jquery-ui-1.8.21.custom/ui-lightness.css.scss +565 -0
  25. data/application/css/{login.scss → login.css.scss} +4 -4
  26. data/application/css/meta.css.scss +331 -0
  27. data/application/css/{popover.scss → popover.css.scss} +9 -8
  28. data/application/css/{schema_error.scss → schema_error.css.scss} +4 -4
  29. data/application/css/spontaneous.css +5 -0
  30. data/application/css/unsupported.css.scss +42 -0
  31. data/application/js/add_alias_dialogue.js +72 -10
  32. data/application/js/ajax.js +50 -16
  33. data/application/js/compatibility.js +19 -15
  34. data/application/js/content.js +39 -36
  35. data/application/js/content_area.js +53 -5
  36. data/application/js/dialogue.js +17 -0
  37. data/application/js/dom.js +1 -1
  38. data/application/js/edit_panel.js +23 -8
  39. data/application/js/extensions.js +7 -2
  40. data/application/js/field_preview.js +2 -1
  41. data/application/js/field_types/date_field.js +11 -8
  42. data/application/js/field_types/file_field.js +188 -9
  43. data/application/js/field_types/image_field.js +46 -29
  44. data/application/js/field_types/markdown_field.js +57 -14
  45. data/application/js/field_types/select_field.js +72 -0
  46. data/application/js/field_types/string_field.js +8 -0
  47. data/application/js/field_types/webvideo_field.js +8 -0
  48. data/application/js/init.js +1 -7
  49. data/application/js/location.js +41 -13
  50. data/application/js/login.js +3 -0
  51. data/application/js/meta_view/user_admin.js +543 -0
  52. data/application/js/meta_view.js +1 -0
  53. data/application/js/metadata.js +20 -0
  54. data/application/js/page.js +17 -3
  55. data/application/js/page_browser.js +40 -30
  56. data/application/js/page_entry.js +4 -0
  57. data/application/js/panel/root_menu.js +66 -0
  58. data/application/js/popover.js +2 -2
  59. data/application/js/preview.js +1 -1
  60. data/application/js/publish.js +138 -30
  61. data/application/js/services.js +43 -0
  62. data/application/js/sharded_upload.js +2 -2
  63. data/application/js/spontaneous.js +64 -5
  64. data/application/js/state.js +20 -9
  65. data/application/js/top_bar.js +273 -150
  66. data/application/js/types.js +20 -15
  67. data/application/js/upload.js +1 -2
  68. data/application/js/user.js +18 -4
  69. data/application/js/vendor/date.js +104 -0
  70. data/application/js/vendor/jquery-ui-1.8.18.custom.min.js +356 -0
  71. data/application/js/views/box_view.js +15 -8
  72. data/application/js/views/page_piece_view.js +11 -8
  73. data/application/js/views/page_view.js +21 -3
  74. data/application/js/views/piece_view.js +19 -10
  75. data/application/js/views.js +3 -0
  76. data/application/static/chromelogo-200x52-45c7cbc93be080bea342df5fcda2ef8b.png +0 -0
  77. data/application/static/dot-texture-9eea29e4ac7ad9a772285252078ec127.png +0 -0
  78. data/application/static/editing-textarea-resize-s-b5af62365eb7e19ea4beccf7242d508e.png +0 -0
  79. data/application/static/editing-texture-1-42b06a3439752490988f30f2a06d5e7c.png +0 -0
  80. data/application/static/font/fontawesome-webfont-5c5c21100a346972a82c34c5e96ffcfe.ttf +0 -0
  81. data/application/static/loop_alt1-white-7894b458528e92216196cae26b4c2c96.svg +12 -0
  82. data/application/static/spontaneous-states-e91ec89db525c62da0105b97cdd781ce.png +0 -0
  83. data/application/views/index.erb +2 -2
  84. data/application/views/login.erb +4 -8
  85. data/application/views/schema_modification_error.html.erb +1 -4
  86. data/application/views/unsupported.erb +9 -7
  87. data/bin/spot +1 -1
  88. data/db/migrations/20110209152710_users_and_groups.rb +10 -10
  89. data/db/migrations/20120305112647_site_modification_time.rb +11 -0
  90. data/db/migrations/20120418153903_add_ownership_of_content.rb +14 -0
  91. data/db/migrations/20120423175416_add_pending_modifications.rb +21 -0
  92. data/db/migrations/20120525164947_add_field_versions.rb +27 -0
  93. data/lib/sequel/plugins/scoped_table_name.rb +10 -1
  94. data/lib/spontaneous/asset/file.rb +25 -0
  95. data/lib/spontaneous/asset/source.rb +28 -0
  96. data/lib/spontaneous/asset.rb +75 -0
  97. data/lib/spontaneous/box.rb +6 -4
  98. data/lib/spontaneous/capistrano/deploy.rb +47 -0
  99. data/lib/spontaneous/capistrano/sync.rb +81 -0
  100. data/lib/spontaneous/capistrano.rb +13 -0
  101. data/lib/spontaneous/change.rb +60 -68
  102. data/lib/spontaneous/cli/assets.rb +29 -0
  103. data/lib/spontaneous/cli/base.rb +0 -48
  104. data/lib/spontaneous/cli/console.rb +1 -1
  105. data/lib/spontaneous/cli/server.rb +6 -4
  106. data/lib/spontaneous/cli/site.rb +28 -17
  107. data/lib/spontaneous/cli/user.rb +107 -0
  108. data/lib/spontaneous/cli.rb +100 -4
  109. data/lib/spontaneous/collections/entry_set.rb +2 -2
  110. data/lib/spontaneous/collections/field_set.rb +48 -22
  111. data/lib/spontaneous/collections/prototype_set.rb +20 -13
  112. data/lib/spontaneous/constants.rb +3 -0
  113. data/lib/spontaneous/content.rb +22 -5
  114. data/lib/spontaneous/errors.rb +3 -3
  115. data/lib/spontaneous/extensions/array.rb +12 -0
  116. data/lib/spontaneous/extensions/enumerable.rb +30 -0
  117. data/lib/spontaneous/extensions/nil.rb +3 -1
  118. data/lib/spontaneous/extensions/string.rb +16 -0
  119. data/lib/spontaneous/field_types/date_field.rb +45 -2
  120. data/lib/spontaneous/field_types/field.rb +42 -9
  121. data/lib/spontaneous/field_types/file_field.rb +68 -0
  122. data/lib/spontaneous/field_types/image_field.rb +63 -0
  123. data/lib/spontaneous/field_types/select_field.rb +109 -0
  124. data/lib/spontaneous/field_types/string_field.rb +6 -1
  125. data/lib/spontaneous/field_types/webvideo_field.rb +85 -27
  126. data/lib/spontaneous/field_types.rb +1 -1
  127. data/lib/spontaneous/field_version.rb +8 -0
  128. data/lib/spontaneous/generators/page.rb +1 -1
  129. data/lib/spontaneous/generators/site/Capfile.tt +1 -4
  130. data/lib/spontaneous/generators/site/Gemfile.tt +13 -6
  131. data/lib/spontaneous/generators/site/config/deploy.rb.tt +28 -0
  132. data/lib/spontaneous/generators/site/config/environments/production.rb.tt +7 -2
  133. data/lib/spontaneous/generators/site.rb +1 -0
  134. data/lib/spontaneous/json.rb +34 -11
  135. data/lib/spontaneous/layout.rb +22 -0
  136. data/lib/spontaneous/media/file.rb +4 -0
  137. data/lib/spontaneous/output/assets/compression.rb +58 -0
  138. data/lib/spontaneous/output/assets.rb +32 -0
  139. data/lib/spontaneous/output/context.rb +179 -0
  140. data/lib/spontaneous/output/format/html.rb +5 -0
  141. data/lib/spontaneous/output/format/plain.rb +5 -0
  142. data/lib/spontaneous/output/format.rb +180 -0
  143. data/lib/spontaneous/output/helpers/classes_helper.rb +18 -0
  144. data/lib/spontaneous/{render/helpers/html_helper.rb → output/helpers/conditional_comment_helper.rb} +3 -12
  145. data/lib/spontaneous/output/helpers/script_helper.rb +73 -0
  146. data/lib/spontaneous/output/helpers/stylesheet_helper.rb +61 -0
  147. data/lib/spontaneous/output/helpers.rb +28 -0
  148. data/lib/spontaneous/output/template/engine.rb +59 -0
  149. data/lib/spontaneous/output/template/renderer.rb +153 -0
  150. data/lib/spontaneous/output/template.rb +21 -0
  151. data/lib/spontaneous/output.rb +163 -0
  152. data/lib/spontaneous/page.rb +2 -1
  153. data/lib/spontaneous/paths.rb +6 -1
  154. data/lib/spontaneous/permissions/access_key.rb +5 -5
  155. data/lib/spontaneous/permissions/user.rb +81 -35
  156. data/lib/spontaneous/permissions/user_level.rb +26 -22
  157. data/lib/spontaneous/plugins/aliases.rb +76 -12
  158. data/lib/spontaneous/plugins/allowed_types.rb +60 -18
  159. data/lib/spontaneous/plugins/application/paths.rb +0 -28
  160. data/lib/spontaneous/plugins/application/system.rb +35 -0
  161. data/lib/spontaneous/plugins/boxes.rb +4 -0
  162. data/lib/spontaneous/plugins/content_groups.rb +16 -0
  163. data/lib/spontaneous/plugins/entries.rb +50 -30
  164. data/lib/spontaneous/plugins/fields.rb +15 -0
  165. data/lib/spontaneous/plugins/layouts.rb +8 -2
  166. data/lib/spontaneous/plugins/modifications.rb +228 -0
  167. data/lib/spontaneous/plugins/page/formats.rb +67 -42
  168. data/lib/spontaneous/plugins/page/request.rb +10 -0
  169. data/lib/spontaneous/plugins/page/site_timestamps.rb +28 -0
  170. data/lib/spontaneous/plugins/paths.rb +15 -3
  171. data/lib/spontaneous/plugins/publishing.rb +124 -45
  172. data/lib/spontaneous/plugins/render.rb +13 -8
  173. data/lib/spontaneous/plugins/schema_hierarchy.rb +18 -6
  174. data/lib/spontaneous/plugins/site/helpers.rb +53 -0
  175. data/lib/spontaneous/plugins/site/hooks.rb +50 -0
  176. data/lib/spontaneous/plugins/site/map.rb +1 -1
  177. data/lib/spontaneous/plugins/site/paths.rb +13 -0
  178. data/lib/spontaneous/plugins/site/publishing.rb +6 -2
  179. data/lib/spontaneous/plugins/site/{revisions.rb → state.rb} +5 -1
  180. data/lib/spontaneous/plugins/site/storage.rb +4 -0
  181. data/lib/spontaneous/plugins/site/url.rb +15 -0
  182. data/lib/spontaneous/plugins/site_map.rb +13 -3
  183. data/lib/spontaneous/plugins/styles.rb +5 -1
  184. data/lib/spontaneous/plugins/visibility.rb +39 -12
  185. data/lib/spontaneous/prototypes/box_prototype.rb +4 -0
  186. data/lib/spontaneous/prototypes/field_prototype.rb +15 -10
  187. data/lib/spontaneous/publishing/event_client.rb +46 -0
  188. data/lib/spontaneous/publishing/immediate.rb +81 -44
  189. data/lib/spontaneous/publishing/simultaneous.rb +23 -6
  190. data/lib/spontaneous/publishing.rb +4 -3
  191. data/lib/spontaneous/rack/around_back.rb +1 -5
  192. data/lib/spontaneous/rack/around_front.rb +4 -4
  193. data/lib/spontaneous/rack/around_preview.rb +4 -3
  194. data/lib/spontaneous/rack/assets.rb +81 -54
  195. data/lib/spontaneous/rack/authentication.rb +0 -1
  196. data/lib/spontaneous/rack/back.rb +160 -72
  197. data/lib/spontaneous/rack/cookie_authentication.rb +2 -2
  198. data/lib/spontaneous/rack/css.rb +18 -15
  199. data/lib/spontaneous/rack/event_source.rb +9 -21
  200. data/lib/spontaneous/rack/fiber_pool.rb +26 -0
  201. data/lib/spontaneous/rack/front.rb +12 -4
  202. data/lib/spontaneous/rack/helpers.rb +35 -13
  203. data/lib/spontaneous/rack/js.rb +41 -0
  204. data/lib/spontaneous/rack/public.rb +34 -44
  205. data/lib/spontaneous/rack/sse.rb +18 -0
  206. data/lib/spontaneous/rack/static.rb +3 -0
  207. data/lib/spontaneous/rack/user_admin.rb +100 -0
  208. data/lib/spontaneous/rack/user_helpers.rb +1 -1
  209. data/lib/spontaneous/rack.rb +6 -2
  210. data/lib/spontaneous/schema.rb +31 -4
  211. data/lib/spontaneous/search/index.rb +19 -3
  212. data/lib/spontaneous/search/results.rb +1 -1
  213. data/lib/spontaneous/sequel.rb +17 -0
  214. data/lib/spontaneous/site.rb +11 -4
  215. data/lib/spontaneous/state.rb +11 -0
  216. data/lib/spontaneous/storage/cloud.rb +4 -0
  217. data/lib/spontaneous/storage/local.rb +11 -0
  218. data/lib/spontaneous/style.rb +2 -2
  219. data/lib/spontaneous/tasks/database.rake +21 -22
  220. data/lib/spontaneous/utils/database/mysql_dumper.rb +4 -0
  221. data/lib/spontaneous/utils/database/postgres_dumper.rb +78 -0
  222. data/lib/spontaneous/utils/database.rb +6 -3
  223. data/lib/spontaneous/utils/smart_quotes.rb +499 -0
  224. data/lib/spontaneous/utils/smush_it.rb +66 -0
  225. data/lib/spontaneous/utils.rb +3 -1
  226. data/lib/spontaneous/version.rb +2 -2
  227. data/lib/spontaneous.rb +25 -29
  228. data/spontaneous.gemspec +186 -106
  229. data/test/experimental/test_features.rb +1 -1
  230. data/test/fixtures/asset_pipeline/application/css/basic.css.scss +4 -0
  231. data/test/fixtures/asset_pipeline/application/css/complex.css.scss.erb +6 -0
  232. data/test/fixtures/asset_pipeline/application/css/simple.css +3 -0
  233. data/test/fixtures/asset_pipeline/application/css/spontaneous.css +7 -0
  234. data/test/fixtures/asset_pipeline/application/css/subdir/complex.css.scss.erb +6 -0
  235. data/test/fixtures/asset_pipeline/application/css/subdir/library.css.scss +1 -0
  236. data/test/fixtures/asset_pipeline/application/css/subdir/simple.css +3 -0
  237. data/test/fixtures/asset_pipeline/application/js/basic.js.coffee +1 -0
  238. data/test/fixtures/asset_pipeline/application/js/complex.js.coffee.erb +1 -0
  239. data/test/fixtures/asset_pipeline/application/js/login.js +1 -0
  240. data/test/fixtures/asset_pipeline/application/js/require.js +1 -0
  241. data/test/fixtures/asset_pipeline/application/js/simple.js +1 -0
  242. data/test/fixtures/asset_pipeline/application/js/spontaneous.js +5 -0
  243. data/test/fixtures/asset_pipeline/application/js/subdir/complex.js.coffee.erb +1 -0
  244. data/test/fixtures/asset_pipeline/application/js/subdir/library.js.coffee +1 -0
  245. data/test/fixtures/asset_pipeline/application/js/subdir/simple.js +1 -0
  246. data/test/fixtures/asset_pipeline/application/js/vendor/jquery.js +1 -0
  247. data/test/fixtures/asset_pipeline/application/static/dot-texture.png +0 -0
  248. data/test/fixtures/asset_pipeline/application/static/subdir/px.gif +0 -0
  249. data/test/fixtures/assets/public1/css/a.scss +1 -0
  250. data/test/fixtures/assets/public1/js/a.js +1 -0
  251. data/test/fixtures/assets/public1/js/m.coffee +1 -0
  252. data/test/fixtures/assets/public2/css/b.scss +1 -0
  253. data/test/fixtures/assets/public2/css/c.css +1 -0
  254. data/test/fixtures/assets/public2/js/b.js +1 -0
  255. data/test/fixtures/assets/public2/js/c.js +1 -0
  256. data/test/fixtures/assets/public2/js/n.coffee +1 -0
  257. data/test/fixtures/back/config/user_levels.yml +3 -0
  258. data/test/fixtures/back/public/js/coffeescript.coffee +1 -0
  259. data/test/fixtures/back/templates/layouts/standard.css.cut +1 -0
  260. data/test/fixtures/back/templates/layouts/standard.js.cut +1 -0
  261. data/test/fixtures/example_application/config/database.yml +4 -4
  262. data/test/fixtures/helpers/templates/layouts/standard.html.cut +1 -0
  263. data/test/fixtures/helpers/templates/layouts/standard.mobile.cut +1 -0
  264. data/test/fixtures/images/vimlogo.pdf +0 -0
  265. data/test/fixtures/outputs/templates/layouts/standard.atom.cut +1 -0
  266. data/test/fixtures/permissions/config/user_levels.yml +6 -3
  267. data/test/fixtures/serialisation/class_hash.yaml.erb +1 -0
  268. data/test/fixtures/serialisation/root_hash.yaml.erb +2 -2
  269. data/test/fixtures/templates/extended/grandparent.html.cut +7 -7
  270. data/test/fixtures/templates/extended/main.html.cut +5 -5
  271. data/test/fixtures/templates/extended/parent.html.cut +8 -8
  272. data/test/fixtures/templates/extended/partial_with_locals.html.cut +1 -1
  273. data/test/fixtures/templates/extended/with_includes.html.cut +6 -6
  274. data/test/fixtures/templates/extended/with_includes_and_locals.html.cut +6 -7
  275. data/test/fixtures/templates/layouts/entries.html.cut +4 -4
  276. data/test/fixtures/templates/layouts/standard.html.cut +1 -0
  277. data/test/fixtures/templates/layouts/variables.html.cut +1 -1
  278. data/test/fixtures/templates/publishing/templates/layouts/static.html.cut +1 -1
  279. data/test/fixtures/templates/publishing/templates/layouts/static.rtf.cut +1 -0
  280. data/test/fixtures/templates/template_class/complex_template.html.cut +2 -2
  281. data/test/fixtures/templates/template_class/complex_template.pdf.cut +2 -2
  282. data/test/fixtures/templates/template_class/default_template_style.html.cut +1 -1
  283. data/test/fixtures/templates/template_class/images_with_template.html.cut +2 -2
  284. data/test/fixtures/templates/template_class/slots_template.html.cut +2 -2
  285. data/test/fixtures/templates/template_class/slots_template.pdf.cut +2 -2
  286. data/test/fixtures/user_manager/config/user_levels.yml +9 -0
  287. data/test/functional/test_application.rb +7 -7
  288. data/test/functional/test_back.rb +352 -97
  289. data/test/functional/test_front.rb +71 -20
  290. data/test/functional/test_user_manager.rb +284 -0
  291. data/test/javascript/env.js +13505 -0
  292. data/test/javascript/test_markdown.rb +43 -3
  293. data/test/support/custom_matchers.rb +3 -2
  294. data/test/test_helper.rb +50 -9
  295. data/test/test_javascript.rb +13 -13
  296. data/test/ui_helper.rb +1 -1
  297. data/test/unit/test_alias.rb +79 -8
  298. data/test/unit/test_asset_bundler.rb +220 -0
  299. data/test/unit/test_assets.rb +213 -0
  300. data/test/unit/test_async.rb +55 -0
  301. data/test/unit/test_authentication.rb +52 -39
  302. data/test/unit/test_boxes.rb +20 -15
  303. data/test/unit/test_changesets.rb +261 -0
  304. data/test/unit/test_content.rb +73 -33
  305. data/test/unit/test_content_inheritance.rb +18 -18
  306. data/test/unit/test_extensions.rb +26 -0
  307. data/test/unit/test_fields.rb +303 -16
  308. data/test/unit/test_formats.rb +267 -34
  309. data/test/unit/test_helpers.rb +79 -2
  310. data/test/unit/test_images.rb +10 -0
  311. data/test/unit/test_layouts.rb +21 -13
  312. data/test/unit/test_modifications.rb +648 -0
  313. data/test/unit/test_page.rb +6 -2
  314. data/test/unit/test_permissions.rb +101 -27
  315. data/test/unit/test_piece.rb +4 -4
  316. data/test/unit/test_plugins.rb +3 -2
  317. data/test/unit/test_publishing.rb +332 -0
  318. data/test/unit/test_render.rb +118 -67
  319. data/test/unit/test_revisions.rb +546 -0
  320. data/test/unit/test_schema.rb +83 -1
  321. data/test/unit/test_search.rb +59 -0
  322. data/test/unit/test_serialisation.rb +2 -47
  323. data/test/unit/test_site.rb +217 -108
  324. data/test/unit/test_storage.rb +26 -0
  325. data/test/unit/test_structure.rb +2 -2
  326. data/test/unit/test_styles.rb +90 -75
  327. data/test/unit/test_table_scoping.rb +21 -17
  328. data/test/unit/test_templates.rb +75 -69
  329. data/test/{slow → unit}/test_visibility.rb +78 -22
  330. metadata +528 -221
  331. data/application/css/add_alias_dialogue.scss +0 -27
  332. data/application/css/min/14c2a35812c443001b15d8b12a4780f88c678035.css +0 -1
  333. data/application/css/min/565d4c25e82148acb01c45c8d675b37a08676d77.css +0 -1
  334. data/application/css/min/84dbe894ea96eafd321c30823d630817bfc4b03b.css +0 -1
  335. data/application/css/spontaneous.scss +0 -111
  336. data/application/css/unsupported.scss +0 -16
  337. data/application/css/variables.scss +0 -80
  338. data/application/js/min/2a0c2962537a3181fedfff5c92596ba6d3122dc9.js +0 -3
  339. data/application/js/min/4cf1c493d3379ecba5287758c61238034c0893f9.js +0 -2
  340. data/application/js/min/78ac6b99d96750bb6b9f9aad4cb9cd91cd03f391.js +0 -3
  341. data/application/js/min/b8abf302a824c35385ff517b34111e1710ff3b37.js +0 -2
  342. data/application/js/min/c8efb9b9f7c3f6613fcebc6be60f605b6570a382.js +0 -90
  343. data/application/static/diagonal-texture.png +0 -0
  344. data/application/static/editing-0-noise.png +0 -0
  345. data/application/static/editing-1-noise.png +0 -0
  346. data/application/static/editing-texture-1.png +0 -0
  347. data/application/static/editing-texture.png +0 -0
  348. data/application/static/editing-toolbar-shadow-bottom.png +0 -0
  349. data/application/static/editing-toolbar-shadow-top.png +0 -0
  350. data/application/static/inner-glow.png +0 -0
  351. data/application/static/item-buttons-highlight.png +0 -0
  352. data/application/static/item-buttons.png +0 -0
  353. data/application/static/paper-texture-dark.png +0 -0
  354. data/application/static/plus_alt.svg +0 -8
  355. data/application/static/select-arrow-root.png +0 -0
  356. data/application/static/slot-up-arrow.png +0 -0
  357. data/application/static/spontaneous.png +0 -0
  358. data/lib/cutaneous/context_helper.rb +0 -187
  359. data/lib/cutaneous/preview_context.rb +0 -32
  360. data/lib/cutaneous/preview_renderer.rb +0 -10
  361. data/lib/cutaneous/publish_context.rb +0 -10
  362. data/lib/cutaneous/publish_renderer.rb +0 -14
  363. data/lib/cutaneous/publish_template.rb +0 -62
  364. data/lib/cutaneous/publish_token_parser.rb +0 -8
  365. data/lib/cutaneous/renderer.rb +0 -124
  366. data/lib/cutaneous/request_context.rb +0 -9
  367. data/lib/cutaneous/request_renderer.rb +0 -15
  368. data/lib/cutaneous/request_template.rb +0 -11
  369. data/lib/cutaneous/request_token_parser.rb +0 -9
  370. data/lib/cutaneous/token_parser.rb +0 -125
  371. data/lib/cutaneous.rb +0 -48
  372. data/lib/spontaneous/render/context_base.rb +0 -143
  373. data/lib/spontaneous/render/development_renderer.rb +0 -14
  374. data/lib/spontaneous/render/engine.rb +0 -19
  375. data/lib/spontaneous/render/format/html.rb +0 -5
  376. data/lib/spontaneous/render/format.rb +0 -75
  377. data/lib/spontaneous/render/helpers/script_helper.rb +0 -17
  378. data/lib/spontaneous/render/helpers/stylesheet_helper.rb +0 -16
  379. data/lib/spontaneous/render/helpers.rb +0 -14
  380. data/lib/spontaneous/render/preview_context.rb +0 -8
  381. data/lib/spontaneous/render/preview_renderer.rb +0 -24
  382. data/lib/spontaneous/render/publish_context.rb +0 -22
  383. data/lib/spontaneous/render/published_renderer.rb +0 -53
  384. data/lib/spontaneous/render/publishing_renderer.rb +0 -16
  385. data/lib/spontaneous/render/render_cache.rb +0 -26
  386. data/lib/spontaneous/render/renderer.rb +0 -50
  387. data/lib/spontaneous/render/request_context.rb +0 -8
  388. data/lib/spontaneous/render.rb +0 -214
  389. data/test/experimental/test_cutaneous.rb +0 -309
  390. data/test/fixtures/application/css/test.less +0 -5
  391. data/test/slow/test_publishing.rb +0 -1006
  392. /data/application/css/{developer.scss → developer.css.scss} +0 -0
  393. /data/application/js/vendor/{jquery-1.7.1.min.js → jquery.js} +0 -0
  394. /data/application/static/{location-arrow.png → location-arrow-c1c1d3ca472481c61a0a5f8cb289d743.png} +0 -0
  395. /data/application/static/{missing.png → missing-911ce6dbd9f4602e0f3fbcd7e78846a2.png} +0 -0
  396. /data/application/static/{orange-down-arrow.png → orange-down-arrow-395ae1929e8662b2ff0977daf12c35bb.png} +0 -0
  397. /data/application/static/{page-browser-next.png → page-browser-next-ce781a242c23b980b99b9db7abc20b05.png} +0 -0
  398. /data/application/static/{plus-box.png → plus-box-dcde74a1e496f68298c9b443caa1c5d5.png} +0 -0
  399. /data/application/static/{select-arrow.png → select-arrow-6e7dd3745b00e934b0d7a3250c46558b.png} +0 -0
  400. /data/application/static/{slot-down-arrow.png → slot-down-arrow-59ad5f5ee5b52a7ebd00bca4b3104194.png} +0 -0
  401. /data/application/static/{splash.png → splash-65b493a714df9b8b3ab170103401b53d.png} +0 -0
  402. /data/application/static/{spot.png → spot-71fab1d2f065034f5fc15e7bea2ad36c.png} +0 -0
  403. /data/application/static/{spot.svg → spot-8505041082d8d3bbe8d34c29dddb3b7d.svg} +0 -0
  404. /data/application/static/{texture.png → texture-03f7627e8264b1d607113ab32c593a58.png} +0 -0
@@ -1,16 +1,8 @@
1
- @import "definitions";
2
-
3
- @mixin image-overlay {
4
- opacity: 0.7;
5
- color: black;
6
- padding-left: 4px;
7
- padding-top: 2px;
8
- background-color: #efefef;
9
- }
10
-
1
+ @import "definitions.css.scss";
2
+ @import "font.css.scss";
11
3
 
12
4
 
13
- @mixin down-arrow($image: "/@spontaneous/static/orange-down-arrow.png", $height: 7px) {
5
+ @mixin down-arrow($image: "/@spontaneous/static/orange-down-arrow-395ae1929e8662b2ff0977daf12c35bb.png", $height: 7px) {
14
6
  position: absolute;
15
7
  display: block;
16
8
  left: 0;
@@ -20,15 +12,19 @@
20
12
  background: url($image) 50% 0 no-repeat;
21
13
  }
22
14
 
15
+ .no-select {
16
+ @include no-select;
17
+ }
23
18
  .preview-label {
24
- @extend .interface;
19
+ @include interface;
25
20
  color: #333333;
26
21
  }
27
22
 
28
23
  .preview-value {
29
24
  font-size: $field-preview-font-size;
30
25
  font-family: $content-font-family;
31
- line-height: $field-preview-font-size + 2;
26
+ // line-height: $field-preview-font-size + 4;
27
+ line-height: 1.4em;
32
28
  color: #666666;
33
29
  font-weight: normal;
34
30
  }
@@ -42,9 +38,9 @@
42
38
  img.missing {
43
39
  width: 100%;
44
40
  height: 50px;
45
- background: url("/@spontaneous/static/missing.png") 50% 50% no-repeat;
41
+ background: url("/@spontaneous/static/missing-911ce6dbd9f4602e0f3fbcd7e78846a2.png") 50% 50% no-repeat;
46
42
  border: none;
47
- // display: none;
43
+ // display: none;
48
44
  }
49
45
 
50
46
  .clear {
@@ -56,35 +52,37 @@ img.missing {
56
52
  @extend .container-padding;
57
53
  @extend .controls-gradient;
58
54
  @extend .clearfix;
59
- @include display-box;
60
- @include box-align(center);
55
+ @include display-box;
56
+ @include box-align(center);
61
57
  position: fixed;
62
58
  height: 31px;
63
59
  top: 0;
64
60
  right: 0;
65
61
  left: 0;
66
62
  #navigation {
67
- @include box-flex;
63
+ @include box-flex;
68
64
  font-size: 11px;
69
65
  font-weight: bold;
70
66
  color: #999999;
71
67
  width: 100%;
72
68
  li {
69
+ @include no-select;
73
70
  padding-left: 10px;
74
71
  padding-right: 15px;
75
- background: url("/@spontaneous/static/location-arrow.png") right 0 no-repeat;
72
+ background: url("/@spontaneous/static/location-arrow-c1c1d3ca472481c61a0a5f8cb289d743.png") right 0 no-repeat;
76
73
  float: left;
77
74
  display: block;
78
75
  font-weight: bold;
79
76
  select {
80
77
  @include box-sizing;
81
- @extend .interface;
78
+ @include interface;
82
79
  text-transform: none;
83
80
  font-size: 11px;
81
+ line-height: 13px;
84
82
  -webkit-appearance: none;
85
83
  cursor: pointer;
86
84
  display: block;
87
- background: url("/@spontaneous/static/select-arrow.png") 95% 50% no-repeat;
85
+ background: url("/@spontaneous/static/select-arrow-6e7dd3745b00e934b0d7a3250c46558b.png") 95% 50% no-repeat;
88
86
  border: none;
89
87
  outline: none;
90
88
  position: relative;
@@ -109,7 +107,7 @@ img.missing {
109
107
  height: 31px;
110
108
  padding-top: 9px;
111
109
  display: block;
112
- background: url("/@spontaneous/static/select-arrow.png") right 50% no-repeat;
110
+ background: url("/@spontaneous/static/select-arrow-6e7dd3745b00e934b0d7a3250c46558b.png") right 50% no-repeat;
113
111
  padding-right: 20px;
114
112
  }
115
113
  a:hover, select:hover {
@@ -120,32 +118,69 @@ img.missing {
120
118
  background-image: none;
121
119
  padding-right: 5px;
122
120
  }
123
- li:first-child {
124
- background-image: url("/@spontaneous/static/spontaneous.png"), url("/@spontaneous/static/location-arrow.png");
125
- background-position: 0 70%, right 0;
126
- background-repeat: no-repeat;
127
- padding-right: 12px;
128
- a {
129
- padding-right: 28px;
130
- }
131
- }
132
121
  }
133
- #switch-mode, #open-publish {
134
- @include button;
122
+ #spontaneous-root {
123
+ background-image: url("/@spontaneous/static/spontaneous-states-e91ec89db525c62da0105b97cdd781ce.png"), url("/@spontaneous/static/location-arrow-c1c1d3ca472481c61a0a5f8cb289d743.png");
124
+ background-position: 0 5px, right 0;
125
+ background-repeat: no-repeat;
126
+ padding-right: 12px;
127
+ cursor: pointer;
128
+ height: 31px;
129
+
130
+ span {
131
+ padding-right: 28px;
132
+ }
133
+ &:hover {
134
+ background-position: 0 -83px, right 0;
135
+
136
+ }
137
+
138
+ &.active {
139
+ background-position: 0 -39px, right 0;
140
+ }
141
+ }
142
+ #service-outer {
143
+ @include box-flex;
144
+ }
145
+ #cms-navigation-view {
146
+ @include display-box;
147
+ @include box-align(center);
148
+ }
149
+ #service-navigation {
135
150
  @include display-box;
136
- @include box-orient(vertical);
137
151
  @include box-align(center);
138
- margin: 0;
139
- width: 64px;
152
+ h2 {
153
+ @include box-flex;
154
+ @include interface;
155
+ text-transform: none;
156
+ font-size: 11px;
157
+ padding-left: $unit;
158
+ color: #fff;
159
+ font-weight: bold;
160
+ }
161
+ a {
162
+ display: block;
163
+ width: 64px;
164
+ }
165
+ }
166
+ #switch-mode, #open-publish {
167
+ @include button;
168
+ @include display-box;
169
+ @include box-orient(vertical);
170
+ @include box-align(center);
171
+ margin: 0;
172
+ width: 70px;
140
173
  }
141
174
  #open-publish {
142
- position: relative;
175
+ position: relative;
143
176
  margin-right: $unit;
144
177
  #publish-progress {
145
178
  position: absolute;
146
179
  left: 4px;
147
180
  top: 1px;
148
181
  }
182
+ &.disabled {
183
+ }
149
184
  }
150
185
  #open-publish.progress {
151
186
  padding-left: 20px;
@@ -156,14 +191,27 @@ img.missing {
156
191
  }
157
192
  }
158
193
 
159
- #content {
194
+ #content-outer {
195
+ background: url(/@spontaneous/static/texture-03f7627e8264b1d607113ab32c593a58.png) repeat;
196
+ color: #fff;
197
+ font-size: 16px;
160
198
  position: fixed;
161
- overflow: auto;
162
199
  top: 31px;
163
200
  right: 0;
164
201
  bottom: 0px;
165
202
  left: 0;
166
- #data_pane, #preview_pane {
203
+ #content {
204
+ background-color: white;
205
+ overflow: auto;
206
+ position: absolute;
207
+ left: 0;
208
+ right: 0;
209
+ bottom: 0;
210
+ top: 0;
211
+ }
212
+ #data_pane,
213
+ #preview_pane,
214
+ #services_pane {
167
215
  border: none;
168
216
  display: block;
169
217
  position: absolute;
@@ -197,34 +245,54 @@ img.missing {
197
245
  }
198
246
  }
199
247
  .path, .path h3, .path h3.developer a {
200
- @extend .interface;
248
+ @include interface;
201
249
  cursor: pointer;
202
250
  color: #c1c1c1;
203
251
  font-size: 11px;
204
252
  line-height: 12px;
205
253
  text-transform: none;
206
254
  }
207
- .path .uid, .path .developer {
255
+ .path .uid, .path .developer {
208
256
  // @include rounded;
209
257
  // background-color: rgba(0, 0, 0, 0.4);
210
258
  // padding: $unit/2;
211
- margin-left: $unit*4;
212
- opacity: 0.5;
213
- &.missing {
214
- opacity: 0.5;
215
- }
216
- }
259
+ margin-left: $unit*4;
260
+ opacity: 0.5;
261
+ &.missing {
262
+ opacity: 0.5;
263
+ }
264
+ }
217
265
  & > .path {
218
- @include display-box;
266
+ @include display-box;
219
267
  position: absolute;
220
268
  bottom: 12px;
221
269
  }
270
+ .path .titlesync {
271
+ margin-left: $unit;
272
+ margin-right: 10 *$unit;
273
+
274
+ position: relative;
275
+ a {
276
+ position: absolute;
277
+ top: 2px;
278
+ position: absolute;
279
+ background: url(/@spontaneous/static/loop_alt1-white-7894b458528e92216196cae26b4c2c96.svg) no-repeat;
280
+ // background-size: 36% 45%;
281
+ background-size: contain;
282
+ width: 20px;
283
+ height: 12px;
284
+ opacity: 0.3;
285
+ &:hover {
286
+ opacity: 1.0;
287
+ }
288
+ }
289
+ }
222
290
  .path .edit {
223
- @include display-box;
224
- @include box-orient(horizontal);
225
- @include box-align(center);
291
+ @include display-box;
292
+ @include box-orient(horizontal);
293
+ @include box-align(center);
226
294
  .input-error {
227
- display: block;
295
+ display: block;
228
296
  position: relative;
229
297
  top: 0;
230
298
  vertical-align: top;
@@ -262,17 +330,17 @@ img.missing {
262
330
  }
263
331
  }
264
332
  .button {
265
- display: block;
333
+ display: block;
266
334
  margin-left: 8px;
267
- padding-left: 32px;
268
- padding-right: 32px;
335
+ padding-left: 32px;
336
+ padding-right: 32px;
269
337
  }
270
338
  .button.cancel {
271
339
  padding-left: 10px;
272
340
  padding-right: 10px;
273
341
  }
274
342
  span, a.path {
275
- display: block;
343
+ display: block;
276
344
  position: relative;
277
345
  }
278
346
  a.path {
@@ -313,7 +381,7 @@ img.missing {
313
381
  background-color: $highlight;
314
382
  }
315
383
  .status {
316
- @extend .interface;
384
+ @include interface;
317
385
  vertical-align: top;
318
386
  display: inline-block;
319
387
  text-transform: none;
@@ -338,22 +406,22 @@ img.missing {
338
406
  @extend .container-padding;
339
407
  padding-top: 8px;
340
408
  padding-bottom: 8px;
341
- position: relative;
342
- .overlay {
343
- position: absolute;
344
- left: 0;
345
- right: 0;
346
- top: 0;
347
- bottom: 0;
348
- border-style: solid;
349
- border-width: 2px;
350
- border-color: transparent;
351
- }
352
- &.hover {
353
- .overlay {
354
- border-color: $action;
355
- }
356
- }
409
+ position: relative;
410
+ .overlay {
411
+ position: absolute;
412
+ left: 0;
413
+ right: 0;
414
+ top: 0;
415
+ bottom: 0;
416
+ border-style: solid;
417
+ border-width: 2px;
418
+ border-color: transparent;
419
+ }
420
+ &.hover {
421
+ .overlay {
422
+ border-color: $action;
423
+ }
424
+ }
357
425
  }
358
426
  }
359
427
  }
@@ -361,6 +429,10 @@ img.missing {
361
429
  .fields-preview {
362
430
  @extend .clearfix;
363
431
  @include box-sizing;
432
+ @include display-box;
433
+ @include box-orient(horizontal);
434
+ @include box-align(stretch);
435
+ @include box-pack(top);
364
436
  background-color: #fff;
365
437
  // border: solid 3px transparent;
366
438
  cursor: pointer;
@@ -381,35 +453,32 @@ img.missing {
381
453
 
382
454
  .fields-preview .fields-preview-text {
383
455
  @include box-sizing;
384
- // border: dotted 1px transparent;
385
- }
386
- .fields-preview.hover .fields-preview-text {
387
- // border: dotted 1px $action;
388
456
  }
389
457
  .fields-preview-text {
390
- &.empty {
391
- display: none;
392
- }
458
+ &.empty {
459
+ display: none;
460
+ }
393
461
  @include box-sizing;
394
462
  width: $field-text-preview-width;
395
- float: left;
396
- padding-right: 100px;
463
+ // float: left;
397
464
  margin-right: 16px;
398
465
  li {
466
+ @include display-box;
467
+ @include box-orient(horizontal);
468
+ @include box-align(stretch);
469
+ @include box-pack(top);
399
470
  @extend .clearfix;
400
471
  border-bottom: solid 1px $entry-background-colour;
401
472
  padding-top: 3px;
402
473
  padding-bottom: 3px;
403
- display: block;
404
474
  line-height: $field-preview-font-size + 2;
405
475
  font-size: $field-preview-font-size;
406
476
  font-family: $content-font-family;
407
- float: left;
408
477
  width: 100%;
409
478
  position: relative;
410
- padding-left: 100px;
411
479
  .name, .value {
412
- float: left;
480
+ // float: left;
481
+ display: block;
413
482
  }
414
483
  }
415
484
  li:last-child {
@@ -417,14 +486,17 @@ img.missing {
417
486
  }
418
487
  .name {
419
488
  @extend .preview-label;
420
- @include box-sizing;
489
+ @include box-sizing;
490
+ // @include
421
491
  width: 100px;
422
- right: 100px;
423
- margin-left: -100px;
424
- padding-right: $unit;
492
+ // right: 100px;
493
+ // margin-left: -100px;
494
+ padding-right: $unit;
495
+ padding-top: 2px;
425
496
  }
426
497
  .value {
427
498
  @extend .preview-value;
499
+ @include box-flex;
428
500
  a {
429
501
  color: $highlight;
430
502
  }
@@ -460,11 +532,12 @@ img.missing {
460
532
  }
461
533
 
462
534
  .fields-preview-image {
463
- &.empty {
464
- display: none;
465
- }
535
+ &.empty {
536
+ display: none;
537
+ }
466
538
  @extend .clearfix;
467
- float: left;
539
+ @include box-flex;
540
+ // float: left;
468
541
  width: $field-image-preview-width;
469
542
  li {
470
543
  float: left;
@@ -472,6 +545,15 @@ img.missing {
472
545
  margin-right: 4px;
473
546
  margin-bottom: 4px;
474
547
  position: relative;
548
+ width: 49%;
549
+ max-width: 150px;
550
+ min-width: 90px;
551
+ // size restrictions are mostly to stop the images getting too tall
552
+ // so for landscape images we can increase the size bounds a bit
553
+ &.landscape {
554
+ max-width: 250px;
555
+ min-width: 179px;
556
+ }
475
557
  .name {
476
558
  @extend .preview-label;
477
559
  @include image-overlay;
@@ -487,22 +569,22 @@ img.missing {
487
569
  .value {
488
570
  @include rounded;
489
571
  background-color: #efefef;
490
- max-height: 90px;
572
+ // max-height: 90px;
491
573
  min-height: 45px;
492
574
  min-width: 90px;
493
575
  cursor: pointer;
494
576
  text-align: center;
495
577
  position: relative;
496
- .waiting {
497
- position: absolute;
498
- display: block;
499
- left: 0;
500
- right: 0;
501
- text-align: center;
502
- top: 30%;
503
- height: $unit*2;
578
+ .waiting {
579
+ position: absolute;
580
+ display: block;
581
+ left: 0;
582
+ right: 0;
583
+ text-align: center;
584
+ top: 30%;
585
+ height: $unit*2;
504
586
  z-index: 3;
505
- }
587
+ }
506
588
  .image-drop {
507
589
  @include rounded;
508
590
  z-index: 100;
@@ -511,7 +593,7 @@ img.missing {
511
593
  right: 0;
512
594
  bottom: 0;
513
595
  left: 0;
514
- text-align: center;
596
+ text-align: center;
515
597
  .drop-upload-outer {
516
598
  @include rounded(4px);
517
599
  border: solid 1px white;
@@ -543,9 +625,16 @@ img.missing {
543
625
  background-color: rgba(0, 0, 0, 0.5);
544
626
  }
545
627
  img {
546
- @extend .no-select;
547
- @include rounded;
628
+ @include no-select;
629
+ @include rounded;
548
630
  position: relative;
631
+ max-height: 100%;
632
+ width: 100%;
633
+ display: block;
634
+ }
635
+ .missing-image {
636
+ width: 90px;
637
+ max-width: 90px;
549
638
  max-height: 90px;
550
639
  }
551
640
  img:hover {
@@ -557,6 +646,107 @@ img.missing {
557
646
 
558
647
  .fields-preview-text + .fields-preview-image {}
559
648
 
649
+ .file-field {
650
+ @extend .preview-value;
651
+ position: relative;
652
+ width: 100%;
653
+
654
+ @include display-box;
655
+ @include box-pack(center);
656
+
657
+ .file-drop {
658
+
659
+ position: absolute;
660
+ left: 0;
661
+ right: 0;
662
+ top: 0;
663
+ bottom: 0;
664
+ border: solid 1px transparent;
665
+ &.drop-active {
666
+ border-color: $action;
667
+ }
668
+ z-index:1;
669
+
670
+ .drop-upload-outer {
671
+ @include rounded(4px);
672
+ border: solid 1px #333;
673
+ position: absolute;
674
+ height: 7px;
675
+ left: 0;
676
+ right: 0;
677
+ top: 2px;
678
+ padding: 0 1px;
679
+
680
+ .drop-upload-inner {
681
+ @include rounded(3px);
682
+ position: relative;
683
+ margin-right: 2px;
684
+ top: 1px;
685
+ background-color: #333;
686
+ height: 5px;
687
+ }
688
+ }
689
+ }
690
+
691
+ .filename, .filesize {
692
+ @include box-flex(1);
693
+ @include interface;
694
+ text-transform: none;
695
+ position: relative;
696
+ top: -1px;
697
+ z-index:0;
698
+ }
699
+ .filename {
700
+ @include box-flex(2);
701
+ word-wrap: break-word;
702
+ font-style: italic;
703
+ // max-width: 90%;
704
+ overflow: auto;
705
+ height: auto;
706
+ }
707
+ .filesize {
708
+ text-align: right;
709
+ min-width: 40px;
710
+ }
711
+ &.uploading {
712
+ .filename, .filesize {
713
+ display: none;
714
+ }
715
+ }
716
+ }
717
+
718
+ .editing-panel .field-group .fieldtypes-filefield {
719
+ .value {
720
+ // padding: 0;
721
+ }
722
+ .file-field {
723
+ // height: 36px;
724
+ cursor: pointer;
725
+
726
+ .file-drop:hover {
727
+ // border-color: $action;
728
+ }
729
+ .filename, .filesize {
730
+ margin-top: 3px;
731
+ }
732
+ .filesize {
733
+ padding-right: $unit/2;
734
+ }
735
+ .filename {
736
+ padding-left: $unit/2;
737
+ }
738
+ .choose {
739
+ @include button(#333);
740
+ display: block;
741
+ padding-left: 6px;
742
+ padding-right: 6px;
743
+ }
744
+ &:hover .choose {
745
+ @include button;
746
+ }
747
+ }
748
+ }
749
+
560
750
  #page-slots.slots {
561
751
  height: 100%;
562
752
 
@@ -567,7 +757,7 @@ img.missing {
567
757
  @include vertical-gradient(#666666, #4d4d4d);
568
758
  li {
569
759
  @include box-sizing;
570
- @extend .interface;
760
+ @include interface;
571
761
  font-size: 11px;
572
762
  color: #dddddd;
573
763
  display: block;
@@ -590,7 +780,7 @@ img.missing {
590
780
  color: white;
591
781
  border-right-color: $highlight;
592
782
  .down {
593
- @include down-arrow("/@spontaneous/static/orange-down-arrow.png", 7px);
783
+ @include down-arrow("/@spontaneous/static/orange-down-arrow-395ae1929e8662b2ff0977daf12c35bb.png", 7px);
594
784
  z-index: 100;
595
785
  display: none;
596
786
  }
@@ -611,26 +801,26 @@ img.missing {
611
801
  .fields-preview.depth-box {
612
802
  @extend .container-padding;
613
803
  @include vertical-gradient(#eeeeee, #dddddd);
614
- @include display-box;
804
+ @include display-box;
615
805
  border-top: solid 1px #CCC;
616
- position:relative;
806
+ position:relative;
617
807
  padding-top: 12px;
618
808
  padding-bottom: 5px;
619
- .overlay {
620
- position: absolute;
621
- left: 0;
622
- right: 0;
623
- top: -1px;
624
- bottom: 0;
625
- border-style: solid;
626
- border-width: 2px;
627
- border-color: transparent;
628
- }
629
- &.hover {
630
- .overlay {
631
- border-color: $action;
632
- }
633
- }
809
+ .overlay {
810
+ position: absolute;
811
+ left: 0;
812
+ right: 0;
813
+ top: -1px;
814
+ bottom: 0;
815
+ border-style: solid;
816
+ border-width: 2px;
817
+ border-color: transparent;
818
+ }
819
+ &.hover {
820
+ .overlay {
821
+ border-color: $action;
822
+ }
823
+ }
634
824
  &:hover {
635
825
  // border-top-color: $action;
636
826
  // border-bottom-color: $action;
@@ -638,43 +828,53 @@ img.missing {
638
828
  .value {
639
829
  color: #555555;
640
830
  }
641
- .fields-preview-text {
642
- @include box-flex;
643
- width: 60%;
644
- }
645
- .fields-preview-image {
646
- @include box-flex;
647
- width: 40%;
648
- }
831
+ .fields-preview-text {
832
+ // @include box-flex;
833
+ // width: 60%;
834
+ }
835
+ .fields-preview-image {
836
+ @include box-flex;
837
+ // width: 40%;
838
+ }
649
839
  }
650
840
  .slot-addable {
651
841
  @extend .container-padding;
652
842
  @include box-sizing;
653
843
  // @include vertical-gradient($slot-addable-colour, $entry-background-colour);
654
- background: url("/@spontaneous/static/diagonal-texture.png");
844
+ background: url("/@spontaneous/static/dot-texture-9eea29e4ac7ad9a772285252078ec127.png");
655
845
  border-top: solid 1px #cccccc;
656
846
  text-align: center;
657
- height: 40px;
847
+ height: auto;
658
848
  padding-top: 8px;
849
+ padding-bottom: 8px;
659
850
  position: relative;
660
851
  a {
852
+ $add-pad: $unit * 1.5;
661
853
  @include button;
662
- padding-right: 16px;
663
- padding-left: 16px;
854
+ padding-left: $add-pad + $unit;
855
+ padding-right: $add-pad;
664
856
  margin-right: 4px;
665
857
  margin-left: 4px;
858
+ position: relative;
859
+ min-width: 84px;
860
+ &:before {
861
+ @include awesome-icon("\f063");
862
+ position: absolute;
863
+ left: $unit/2;
864
+ // width: $unit*2;
865
+ }
666
866
  }
667
867
  // a:hover {
668
- // background-color: $highlight;
669
- // color: white;
868
+ // background-color: $highlight;
869
+ // color: white;
670
870
  // }
671
871
  a + a {
672
872
  }
673
- .alias {
674
- font-style: italic;
675
- }
873
+ .alias {
874
+ font-style: italic;
875
+ }
676
876
  .down {
677
- @include down-arrow("/@spontaneous/static/slot-down-arrow.png", 18px);
877
+ @include down-arrow("/@spontaneous/static/slot-down-arrow-59ad5f5ee5b52a7ebd00bca4b3104194.png", 18px);
678
878
  display: none;
679
879
  }
680
880
  }
@@ -689,14 +889,13 @@ img.missing {
689
889
  padding-left: 10px;
690
890
  padding-right: 10px;
691
891
  padding-top: 5px;
892
+ padding-bottom: 5px;
692
893
  text-align: center;
693
- background: url("/@spontaneous/static/plus-box.png") 10px 7px no-repeat;
894
+ background: url("/@spontaneous/static/plus-box-dcde74a1e496f68298c9b443caa1c5d5.png") 10px 7px no-repeat;
895
+ height: auto;
694
896
 
695
897
  .down {
696
898
  display: none;
697
- // background-image: url("/@spontaneous/static/slot-up-arrow.png");
698
- // bottom: auto;
699
- // top: -18px;
700
899
  }
701
900
  }
702
901
  .slot-instructions {
@@ -734,22 +933,22 @@ img.missing {
734
933
  background-color: white;
735
934
  }
736
935
  .entry-wrap {
737
- @extend .clearfix;
936
+ @extend .clearfix;
738
937
  position: relative;
739
- margin-left: $container-padding;
938
+ margin-left: $container-padding - 6;
740
939
  margin-right: $container-padding;
741
- .entry-contents {
742
- @include rounded;
743
- background-color: $entry-background-colour;
744
- padding: 2px;
745
- // padding-top: $title-bar-height + 4px;
746
- }
747
- .entry-spacer {
748
- height: $container-padding/2;
940
+ .entry-contents {
941
+ @include rounded;
942
+ background-color: $entry-background-colour;
943
+ padding: 2px;
944
+ // padding-top: $title-bar-height + 4px;
945
+ }
946
+ .entry-spacer {
947
+ height: $entry-gap;
749
948
  position: relative;
750
- }
949
+ }
751
950
  .entry-spacer.add-entry {
752
- background: url("/@spontaneous/static/diagonal-texture.png");
951
+ background: url("/@spontaneous/static/dot-texture-9eea29e4ac7ad9a772285252078ec127.png");
753
952
  margin: 0 4px;
754
953
  cursor: pointer;
755
954
  }
@@ -759,12 +958,13 @@ img.missing {
759
958
  // background-color: gray;
760
959
  // padding: $unit;
761
960
  position: relative;
961
+ padding-bottom: $unit;
762
962
  }
763
963
  .title-bar {
764
964
  // @include vertical-gradient(gray + #111111, gray);
765
- @include box-sizing;
965
+ @include box-sizing;
766
966
  @include rounded-right;
767
- @extend .interface;
967
+ @include interface;
768
968
  $title-bar-width: 20px;
769
969
 
770
970
  // background-color: rgba($entry-background-colour, 0.6);
@@ -772,11 +972,11 @@ img.missing {
772
972
 
773
973
 
774
974
  width: $title-bar-width;
775
- color: rgba(255, 255, 255, 0.4);
776
- padding-top: 4px;
777
- // padding-left: $unit/2 + 2px;
778
- text-transform: none;
779
- font-weight: normal;
975
+ color: rgba(255, 255, 255, 0.4);
976
+ padding-top: 4px;
977
+ // padding-left: $unit/2 + 2px;
978
+ text-transform: none;
979
+ font-weight: normal;
780
980
  cursor: ns-resize;
781
981
  position: absolute;
782
982
  left: auto;
@@ -789,28 +989,35 @@ img.missing {
789
989
  @include display-box;
790
990
  @include box-orient(vertical);
791
991
  @include rounded-bottom;
792
- // background-color: rgba(0, 0, 0, 0.2);
793
- // position: absolute;
794
992
  top: $unit/2;
795
- // right: $unit/2;
796
993
  a {
797
- background: url("/@spontaneous/static/item-buttons-highlight.png") 0 0 no-repeat;
798
- display: block;
994
+ display: inline-block;
995
+ position: absolute;
799
996
  width: 15px;
800
997
  height: 15px;
801
- // position: relative;
802
- // top: 4px;
998
+ position: relative;
803
999
  cursor: pointer;
804
- // padding: 0 10px;
805
- }
806
- .delete {
807
- background-position: -61px 0;
1000
+ color: $entry-background-colour - #111;
1001
+ font-size: 14px;
808
1002
  }
809
- .delete:hover {
810
- background-position: -61px -20px;
1003
+ a:before {
1004
+ @include awesome-icon("\f057");
1005
+ position: absolute;
1006
+ left: 3px;
1007
+ top: 2px;
1008
+ }
1009
+ a:hover {
1010
+ color: $highlight;
1011
+ }
1012
+ .delete:before {
1013
+ font-size: 18px;
811
1014
  }
812
- .visibility {
813
- background-position: -32px 0;
1015
+ // .delete:hover {
1016
+ // background-position: -61px -20px;
1017
+ // }
1018
+ .visibility:before {
1019
+ content: "\f070";
1020
+ // background-position: -32px 0;
814
1021
  }
815
1022
  .visibility:hover {
816
1023
  background-position: -32px -20px;
@@ -863,7 +1070,6 @@ img.missing {
863
1070
  border-style: solid;
864
1071
  }
865
1072
  .white-bg.active {
866
- // -webkit-border-image: url(/@spontaneous/static/inner-glow.png) 8 8 8 8 repeat;
867
1073
  border-color: $action;
868
1074
  }
869
1075
  .grey-bg {
@@ -919,7 +1125,7 @@ img.missing {
919
1125
  background: none;
920
1126
  li {
921
1127
  @include box-sizing;
922
- @extend .interface;
1128
+ @include interface;
923
1129
  float: left;
924
1130
  width: 25%;
925
1131
  height: 100%;
@@ -963,7 +1169,7 @@ img.missing {
963
1169
  }
964
1170
  }
965
1171
  .slot-addable {
966
- @extend .interface;
1172
+ @include interface;
967
1173
  @include box-sizing;
968
1174
  border: none;
969
1175
  background: none;
@@ -977,15 +1183,15 @@ img.missing {
977
1183
  // background-color: #6b6b6b;
978
1184
  padding-left: 8px;
979
1185
  padding-right: 8px;
980
- & + a {
981
- margin-left: $unit;
982
- }
1186
+ & + a {
1187
+ margin-left: $unit;
1188
+ }
1189
+ }
1190
+ .alias {
1191
+ font-style: italic;
983
1192
  }
984
- .alias {
985
- font-style: italic;
986
- }
987
1193
  // a:hover {
988
- // background-color: $highlight;
1194
+ // background-color: $highlight;
989
1195
  //}
990
1196
  .down {
991
1197
  display: none;
@@ -993,6 +1199,7 @@ img.missing {
993
1199
  }
994
1200
  .slot-entries {
995
1201
  padding-top: 8px;
1202
+ padding-bottom: 8px;
996
1203
  }
997
1204
  .entry-wrap.depth-2 {
998
1205
  // padding-top: $title-bar-height + ($unit/2);
@@ -1000,20 +1207,20 @@ img.missing {
1000
1207
  margin-right: 20px;
1001
1208
  margin-bottom: $unit;
1002
1209
  .white-bg {
1003
- @include rounded($radius - 1);
1210
+ @include rounded($radius - 1);
1004
1211
  width: auto;
1005
1212
  right: 0;
1006
1213
  }
1007
1214
  .grey-bg {
1008
1215
  display: none;
1009
1216
  }
1010
- .entry-contents {
1011
- // padding: $unit/2 $unit/2;
1012
- padding: 0;
1013
- }
1014
- .entry-spacer {
1015
- height: $unit;
1016
- }
1217
+ .entry-contents {
1218
+ // padding: $unit/2 $unit/2;
1219
+ padding: 0;
1220
+ }
1221
+ .entry-spacer {
1222
+ height: $unit;
1223
+ }
1017
1224
  &:last-child .entry-spacer {
1018
1225
  outline: solid 1px red;
1019
1226
  display: none;
@@ -1028,7 +1235,7 @@ img.missing {
1028
1235
  // background-color: white;
1029
1236
  // border-color: white;
1030
1237
  width: 100%;
1031
- display: block;
1238
+ display: block;
1032
1239
  .fields-preview-text {
1033
1240
  width: 100%;
1034
1241
  margin-bottom: 0;
@@ -1041,9 +1248,9 @@ img.missing {
1041
1248
  margin-top: $unit/2;
1042
1249
  padding-top: $unit/2;
1043
1250
  }
1044
- .fields-preview-text.empty + .fields-preview-image {
1045
- margin-top: 0;
1046
- }
1251
+ .fields-preview-text.empty + .fields-preview-image {
1252
+ margin-top: 0;
1253
+ }
1047
1254
  }
1048
1255
  }
1049
1256
  .entry + .entry {
@@ -1051,83 +1258,116 @@ img.missing {
1051
1258
  }
1052
1259
  }
1053
1260
  }
1054
- .alias-target {
1261
+ .alias-target {
1055
1262
  @include rounded-top;
1056
- padding: $unit/2;
1057
- background-color: #444;
1058
- color: white;
1059
- font-size: 14px;
1060
- font-style: italic;
1263
+ position: relative;
1264
+ padding: $unit/2;
1265
+ background-color: #444;
1266
+ color: white;
1267
+ font-size: $target-name-size;
1268
+ font-style: italic;
1269
+ cursor: pointer;
1061
1270
  &.no-fields {
1062
1271
  @include rounded;
1063
1272
  }
1064
1273
  &:hover {
1065
1274
  color: $highlight;
1066
1275
  }
1067
- .icon-wrap, a {
1068
- display: inline-block;
1069
- vertical-align: top;
1070
- cursor: pointer;
1071
- }
1072
- .icon-wrap {
1073
- margin-right: $unit;
1074
- }
1075
- }
1076
- &.no-boxes {
1077
- .white-bg {
1078
- // @include rounded(0 0 $radius $radius);
1079
- @include rounded($radius - 1);
1080
- right: 0;
1081
- }
1082
- .grey-bg {
1083
- display: none;
1084
- }
1085
- .entry {
1086
- // @include box-flex;
1087
- width: 100%;
1088
- .fields-preview {
1089
- @include display-box;
1090
- .fields-preview-text {
1091
- @include box-flex;
1092
- width: 60%;
1093
- padding-right: 0;
1094
- }
1095
- .fields-preview-image {
1096
- @include box-flex;
1097
- width: 40%;
1098
- }
1276
+ .content-type {
1277
+ @include interface;
1278
+ position: absolute;
1279
+ right: $unit;
1280
+ top: 5px;
1281
+ font-style: normal;
1282
+ color: rgba(255, 255, 255, 0.4);
1283
+ &:hover {
1284
+ color: rgba(255, 255, 255, 0.8);
1099
1285
  }
1100
1286
  }
1101
- }
1287
+ .icon-wrap, a {
1288
+ display: inline-block;
1289
+ vertical-align: top;
1290
+ cursor: pointer;
1291
+ }
1292
+ .icon-wrap {
1293
+ margin-right: $unit;
1294
+ }
1295
+ }
1296
+ &.no-boxes {
1297
+ .white-bg {
1298
+ // @include rounded(0 0 $radius $radius);
1299
+ @include rounded($radius - 1);
1300
+ right: 0;
1301
+ }
1302
+ .grey-bg {
1303
+ display: none;
1304
+ }
1305
+ .entry {
1306
+ // @include box-flex;
1307
+ width: 100%;
1308
+ .fields-preview {
1309
+ @include display-box;
1310
+ .fields-preview-text {
1311
+ // @include box-flex;
1312
+ // width: 60%;
1313
+ width: $field-text-preview-width;
1314
+ max-width: $field-text-preview-width;
1315
+ padding-right: 0;
1316
+ }
1317
+ .fields-preview-image {
1318
+ @include box-flex;
1319
+ width: 40%;
1320
+ }
1321
+ }
1322
+ }
1323
+ }
1102
1324
  }
1103
1325
  .entry-wrap.hidden {
1104
1326
  opacity: 0.4 !important;
1327
+ .actions {
1328
+
1329
+ .visibility:before {
1330
+ content: "\f06e";
1331
+
1332
+ }
1333
+ }
1105
1334
  }
1106
1335
  .entry-wrap.editing.hidden {
1107
1336
  opacity: 1 !important;
1108
1337
  }
1109
- .entry-wrap.page {
1110
- .white-bg {
1338
+ .entry-wrap.page {
1339
+ .white-bg {
1111
1340
  @include corners(0, 0, $corner-radius, $corner-radius);
1112
- right: 0;
1113
- }
1114
- .page-title {
1341
+ right: 0;
1342
+ }
1343
+ .page-title {
1115
1344
  @include rounded-top;
1116
- background-color: #444;
1117
- padding: $unit/2;
1118
- a {
1119
- cursor: pointer;
1120
- font-family: $headline-font-family;
1121
- font-weight: 100;
1122
- color: #fff;
1123
- font-size: 16px;
1124
- line-height: normal;
1345
+ background-color: #444;
1346
+ padding: $unit/2;
1347
+ cursor: pointer;
1348
+ a {
1349
+ cursor: pointer;
1350
+ font-family: $headline-font-family;
1351
+ font-weight: 100;
1352
+ color: #fff;
1353
+ font-size: 16px;
1354
+ line-height: normal;
1355
+ }
1356
+ &:hover a, a:hover {
1357
+ color: $highlight;
1358
+ }
1359
+ .content-type {
1360
+ @include interface;
1361
+ position: absolute;
1362
+ right: $unit;
1363
+ top: $unit+1;
1364
+ color: rgba(255, 255, 255, 0.4);
1125
1365
  &:hover {
1126
- color: $highlight;
1366
+ color: rgba(255, 255, 255, 0.8);
1127
1367
  }
1128
1368
  }
1129
- }
1130
- }
1369
+ }
1370
+ }
1131
1371
  .entry-wrap.ui-sortable-helper > .entry-contents {
1132
1372
  @extend .shadow;
1133
1373
  }
@@ -1154,6 +1394,9 @@ img.missing {
1154
1394
  }
1155
1395
  }
1156
1396
  }
1397
+ #page-content.hidden .slot-entries .entry-wrap.hidden {
1398
+ opacity: 1.0 !important;
1399
+ }
1157
1400
 
1158
1401
  #dialogue-overlay {
1159
1402
  position: fixed;
@@ -1165,280 +1408,6 @@ img.missing {
1165
1408
  z-index: 1000;
1166
1409
  }
1167
1410
 
1168
- #dialogue-wrap {
1169
- position: fixed;
1170
- left: 0;
1171
- right: 0;
1172
- bottom: 0;
1173
- top: 0;
1174
- overflow: auto;
1175
- z-index: 1001;
1176
- $dialogue-frame-width: 2px;
1177
- #dialogue-outer {
1178
- @include rounded;
1179
- @include display-box;
1180
- @include box-orient($direction: vertical);
1181
- @extend .shadow;
1182
- background-color: $chrome-bg;
1183
- position: relative;
1184
- top: 50px;
1185
- // width: $dialogue-width;
1186
- margin: 0 auto;
1187
- margin-bottom: 50px;
1188
- // max-height: 90%;
1189
- #dialogue-title {
1190
- $height: 32px;
1191
- @extend .controls-gradient;
1192
- @include header;
1193
- @include rounded-top;
1194
- height: $height - 6px;
1195
- color: #fff;
1196
- padding: 0 $unit 0 ($unit+$dialogue-frame-width);
1197
- padding-top: 6px;
1198
- }
1199
- #dialogue-body {
1200
- // @extend .box-flexible;
1201
- // position: absolute;
1202
- // top: 32px;
1203
- // right: 2px;
1204
- // bottom: 32px;
1205
- // left: 2px;
1206
- // min-height: 100px;
1207
- overflow: auto;
1208
- margin: 0 $dialogue-frame-width;
1209
- background-color: #fff;
1210
- // max-height: 70%;
1211
- // margin-top: 32px;
1212
- // margin-bottom: 32px;
1213
- }
1214
- #dialogue-control-wrap {
1215
- // position: fixed;
1216
- // top: 0;
1217
- // right: 0;
1218
- // left: 0;
1219
- // z-index: 1002;
1220
-
1221
- #dialogue-controls {
1222
- position: relative;
1223
- // display: block;
1224
- // height: 46px;
1225
- .dialogue-actions {
1226
- @include display-box;
1227
- .spacer {
1228
- @include box-flex;
1229
- }
1230
- .button {
1231
- display: block;
1232
- width: 128px;
1233
- margin: $unit 0;
1234
- & + .button {
1235
- margin-left: $unit;
1236
- }
1237
- }
1238
- .button:last-child {
1239
- margin-right: $unit;
1240
- }
1241
- .cancel {
1242
- @include button-color(#6b6b6b);
1243
- }
1244
- .save {
1245
- background-color: $action;
1246
- float: right;
1247
- }
1248
- .disabled, .disabled:hover {
1249
- background-color: #333333 !important;
1250
- color: #6b6b6b !important;
1251
- }
1252
- }
1253
- }
1254
- }
1255
- }
1256
- }
1257
-
1258
- .dialogue-wrapper {
1259
- @include rounded;
1260
- @include box-sizing;
1261
- position: relative;
1262
- // top: 32px;
1263
- background-color: #cccccc;
1264
- width: $dialogue-width;
1265
- // margin: 32px auto;
1266
- }
1267
-
1268
- #create-home-dialogue {
1269
- .instructions {
1270
- @extend .interface;
1271
- margin: 0;
1272
- background-color: #f2f2f2;
1273
- color: #666;
1274
- padding: $unit/2 $unit;
1275
- margin-bottom: $unit;
1276
- .button {
1277
- padding-left: 2px;
1278
- padding-right: 2px;
1279
- }
1280
- }
1281
-
1282
- .type {
1283
- @include rounded;
1284
- @include display-box;
1285
- cursor: pointer;
1286
- padding: $unit/2 $unit;
1287
- background-color: #fbfbfb;
1288
- border: solid 1px #f2f2f2;
1289
- margin: $unit;
1290
- margin-top: 0;
1291
- &:hover {
1292
- background-color: #666;
1293
- color: #fff;
1294
- }
1295
- &.selected {
1296
- background-color: $action;
1297
- color: #fff;
1298
- }
1299
- }
1300
- }
1301
-
1302
- #publishing-dialogue {
1303
- min-height: 200px;
1304
- max-height: 90%;
1305
- position: relative;
1306
- @include display-box;
1307
- @include box-orient(horizontal);
1308
- .change-list {
1309
- @include box-flex;
1310
- width: 50%;
1311
- &#changes {
1312
- border-right: solid 2px #000;
1313
- }
1314
- .actions {
1315
- @extend .interface;
1316
- @include display-box;
1317
- @include box-orient(horizontal);
1318
- @include box-align(center);
1319
- color: #666;
1320
- background-color: #f2f2f2;
1321
- padding: $unit/2 $unit;
1322
-
1323
- div {
1324
- @include box-flex;
1325
- }
1326
- .button {
1327
- padding-left: $unit;
1328
- padding-right: $unit;
1329
- }
1330
- }
1331
- .change-sets {
1332
- overflow: auto;
1333
- .instructions {
1334
- font-family: $headline-font-family;
1335
- color: #999;
1336
- text-align: center;
1337
- position: relative;
1338
- padding-top: 50px;
1339
- }
1340
- }
1341
- }
1342
- // background-color: #fff;
1343
- // width: 600px;
1344
- // @extend .dialogue-wrapper;
1345
- // padding-top: $container-padding / 2;
1346
- // padding-bottom: $container-padding / 2;
1347
- .publish-up-to-date {
1348
- @include rounded;
1349
- @extend shadow;
1350
- position: absolute;
1351
- left: 0;
1352
- right: 0;
1353
- top: 0;
1354
- bottom: 0;
1355
- margin: 60px 200px 60px 200px;
1356
- text-align: center;
1357
- background-color: #333;
1358
- opacity: 0.95;
1359
- font-family: $headline-font-family;
1360
- font-size: 24px;
1361
- padding-top: 24px;
1362
- color: #fff;
1363
- // margin: $container-padding / 2;
1364
- // margin-top: 0;
1365
- // .publish-all {
1366
- // @include button(#666);
1367
- // @extend .interface;
1368
- // width: 128px;
1369
- // float: right;
1370
- // text-align: left;
1371
- // // background-color: #666666;
1372
- // input {
1373
- // margin: 1px 8px 0 8px;
1374
- // padding: 0;
1375
- // vertical-align: top;
1376
- // position: relative;
1377
- // }
1378
- // }
1379
- // .publish-all.checked {
1380
- // background-color: $action;
1381
- // }
1382
- }
1383
- .change-set {
1384
- cursor: pointer;
1385
- padding: $unit $unit 0 $unit;
1386
- .inner {
1387
- @include rounded;
1388
- @include display-box;
1389
- border: solid 3px transparent;
1390
- background-color: #fbfbfb;
1391
- border: solid 1px #f2f2f2;
1392
- }
1393
- .pages {
1394
- @include box-flex;
1395
- .title {
1396
- padding: $unit/2 $unit;
1397
- color: #333;
1398
- & + .title {
1399
- border-top: solid 1px #f2f2f2;
1400
- }
1401
- }
1402
- .url {
1403
- font-size: 10px;
1404
- color: #666;
1405
- }
1406
- }
1407
- .add {
1408
- @include rounded-right;
1409
- @include display-box;
1410
- @include box-pack(center);
1411
- @include box-align(center);
1412
- width: $container-padding;
1413
- background-color: #f2f2f2;
1414
- position: relative;
1415
- color: #999;
1416
- span {
1417
- @extend .interface;
1418
- font-size: 40px;
1419
- position: relative;
1420
- top: -5px;
1421
- }
1422
- &:hover {
1423
- background-color: $action;
1424
- color: #fff;
1425
- }
1426
- }
1427
- .titles a {
1428
- display: block;
1429
- margin-bottom: 2px;
1430
- span {
1431
- font-size: 11px;
1432
- margin-left: 1em;
1433
- }
1434
- }
1435
- }
1436
- .change-set:hover {
1437
- border-color: $action;
1438
- }
1439
- .change-set.selected {
1440
- }
1441
- }
1442
1411
 
1443
1412
  #editing {
1444
1413
  @extend .dialogue-wrapper;
@@ -1486,9 +1455,8 @@ img.missing {
1486
1455
  .name {
1487
1456
  @include rounded-top;
1488
1457
  @include box-sizing;
1489
- @extend .interface;
1458
+ @include interface;
1490
1459
  background-color: #d1d1d1;
1491
- // background-image: url(/@spontaneous/static/paper-texture-dark.png);
1492
1460
  display: block;
1493
1461
  height: 24px;
1494
1462
  padding-left: 8px;
@@ -1536,8 +1504,8 @@ img.missing {
1536
1504
  }
1537
1505
  }
1538
1506
  // .field-group.text {
1539
- // // width: 621px;
1540
- // width: 100%;
1507
+ // // width: 621px;
1508
+ // width: 100%;
1541
1509
  // }
1542
1510
  .field-group.image {
1543
1511
  width: 327px;
@@ -1623,7 +1591,7 @@ img.missing {
1623
1591
  .bar {
1624
1592
  @include rounded;
1625
1593
  height: 8px;
1626
- padding: 0;
1594
+ padding: 0;
1627
1595
  background-color: black;
1628
1596
  position: absolute;
1629
1597
  top: 0;
@@ -1634,7 +1602,7 @@ img.missing {
1634
1602
  opacity: 0.3;
1635
1603
  }
1636
1604
  #progress-total {
1637
- background-color: #fff;
1605
+ background-color: #fff;
1638
1606
  }
1639
1607
  }
1640
1608
  #progress-name {
@@ -1654,7 +1622,7 @@ img.missing {
1654
1622
 
1655
1623
  #script-load-splash {
1656
1624
  $progress-color: #dddddd;
1657
- background: url("/@spontaneous/static/splash.png") 0 0 no-repeat;
1625
+ background: url("/@spontaneous/static/splash-65b493a714df9b8b3ab170103401b53d.png") 0 0 no-repeat;
1658
1626
  width: 318px;
1659
1627
  height: 43px;
1660
1628
  position: relative;
@@ -1688,13 +1656,32 @@ img.missing {
1688
1656
  }
1689
1657
 
1690
1658
  .icon-wrap {
1691
- overflow: hidden;
1692
- position: relative;
1693
- img {
1694
- position: relative;
1659
+ overflow: hidden;
1660
+ position: relative;
1661
+ img {
1662
+ position: relative;
1663
+ }
1664
+ }
1665
+ .content-type.piece {
1666
+ @include interface;
1667
+ height: 0;
1668
+ overflow: visible;
1669
+ position: absolute;
1670
+ top: auto;
1671
+ bottom: $entry-gap + ($unit * 2);
1672
+ right: $unit;
1673
+ left: auto;
1674
+ color: rgba(0, 0, 0, 0.3);
1675
+ z-index: 21;
1676
+ &:hover {
1677
+ color: rgba(0, 0, 0, 0.5);
1695
1678
  }
1696
1679
  }
1697
- @import "popover";
1698
- @import "editing";
1699
- @import "add_alias_dialogue";
1700
- @import "developer";
1680
+ @import "dialogue.css.scss";
1681
+ @import "popover.css.scss";
1682
+ @import "editing.css.scss";
1683
+ @import "add_alias_dialogue.css.scss";
1684
+ @import "developer.css.scss";
1685
+ @import "meta.css.scss";
1686
+ @import "jquery-ui-1.8.21.custom/ui-lightness.css.scss";
1687
+