atrium 0.0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (382) hide show
  1. data/.gitignore +9 -1
  2. data/.rspec +2 -0
  3. data/.rvmrc +1 -1
  4. data/CONTRIBUTING.md +73 -0
  5. data/Gemfile +27 -2
  6. data/Gemfile.lock +122 -246
  7. data/Guardfile +40 -10
  8. data/LICENSE +14 -0
  9. data/README.mkd +23 -39
  10. data/ROADMAP.mkd +41 -9
  11. data/Rakefile +39 -4
  12. data/app/assets/images/atrium/remove.png +0 -0
  13. data/app/assets/images/atrium/white-arrow.png +0 -0
  14. data/app/assets/javascripts/{atrium/atrium.js → atrium.js} +8 -153
  15. data/app/assets/stylesheets/{atrium/atrium.css → atrium.css} +110 -37
  16. data/app/assets/stylesheets/atrium/collections.css +4 -0
  17. data/app/assets/stylesheets/atrium/descriptions.css +4 -0
  18. data/app/assets/stylesheets/atrium/exhibits.css +4 -0
  19. data/app/assets/stylesheets/atrium/reset.css +69 -0
  20. data/app/assets/stylesheets/atrium/showcases.css +4 -0
  21. data/app/assets/stylesheets/atrium/theme.css +248 -0
  22. data/app/controllers/atrium/application_controller.rb +12 -0
  23. data/app/controllers/atrium/browse_levels_controller.rb +22 -0
  24. data/app/controllers/atrium/collections_controller.rb +42 -138
  25. data/app/controllers/atrium/descriptions_controller.rb +27 -146
  26. data/app/controllers/atrium/exhibits_controller.rb +51 -77
  27. data/app/controllers/atrium/order_controller.rb +74 -0
  28. data/app/controllers/atrium/showcases_controller.rb +96 -117
  29. data/app/helpers/atrium/application_helper.rb +8 -0
  30. data/app/helpers/atrium/collections_helper.rb +44 -0
  31. data/app/helpers/atrium/descriptions_helper.rb +4 -0
  32. data/app/helpers/atrium/exhibits_helper.rb +4 -0
  33. data/app/helpers/atrium/showcases_helper.rb +34 -0
  34. data/app/models/atrium/browse_level.rb +21 -11
  35. data/app/models/atrium/collection.rb +70 -36
  36. data/app/models/atrium/configuration.rb +66 -0
  37. data/app/models/atrium/description.rb +39 -88
  38. data/app/models/atrium/essay.rb +4 -5
  39. data/app/models/atrium/exhibit.rb +28 -19
  40. data/app/models/atrium/is_showcased_mixin.rb +34 -0
  41. data/app/models/atrium/query_param_mixin.rb +105 -0
  42. data/app/models/atrium/search/facet.rb +14 -25
  43. data/app/models/atrium/search/facet_selection.rb +10 -12
  44. data/app/models/atrium/showcase.rb +105 -95
  45. data/app/models/atrium/showcase/facet_selection.rb +18 -18
  46. data/app/models/atrium/showcase/featured_selection.rb +15 -0
  47. data/app/services/browse_level_evaluation_service.rb +131 -0
  48. data/app/services/current_filter_query_params_extraction_service.rb +91 -0
  49. data/app/services/navigation_tree.rb +13 -0
  50. data/app/services/params_adaptor_for_filter.rb +18 -0
  51. data/app/views/atrium/collections/_form.html.erb +149 -72
  52. data/app/views/atrium/collections/_head.html.erb +3 -0
  53. data/app/views/atrium/collections/edit.html.erb +1 -4
  54. data/app/views/atrium/collections/index.html.erb +14 -0
  55. data/app/views/atrium/collections/new.html.erb +2 -5
  56. data/app/views/atrium/collections/show.html.erb +11 -29
  57. data/app/views/atrium/descriptions/_form.html.erb +47 -49
  58. data/app/views/atrium/descriptions/edit.html.erb +1 -2
  59. data/app/views/atrium/descriptions/index.html.erb +2 -8
  60. data/app/views/atrium/descriptions/new.html.erb +2 -1
  61. data/app/views/atrium/descriptions/show.html.erb +2 -20
  62. data/app/views/atrium/exhibits/_exhibit.html.erb +1 -0
  63. data/app/views/atrium/exhibits/_form.html.erb +143 -96
  64. data/app/views/atrium/exhibits/edit.html.erb +1 -8
  65. data/app/views/atrium/exhibits/index.html.erb +2 -0
  66. data/app/views/atrium/exhibits/new.html.erb +0 -5
  67. data/app/views/atrium/exhibits/show.html.erb +2 -34
  68. data/app/views/atrium/showcases/_configure_menu.html.erb +55 -0
  69. data/app/views/atrium/showcases/_form.html.erb +40 -0
  70. data/app/views/atrium/showcases/edit.html.erb +3 -0
  71. data/app/views/atrium/showcases/index.html.erb +32 -0
  72. data/app/views/atrium/showcases/new.html.erb +3 -0
  73. data/app/views/atrium/showcases/show.html.erb +2 -1
  74. data/app/views/layouts/atrium.html.erb +16 -24
  75. data/app/views/layouts/atrium/application.html.erb +49 -0
  76. data/app/views/layouts/atrium/themes/default.html.erb +15 -0
  77. data/app/views/shared/_list_searchs.html.erb +4 -0
  78. data/app/views/shared/_navigation.html.erb +19 -0
  79. data/atrium.gemspec +31 -64
  80. data/config/routes.rb +40 -10
  81. data/{lib/generators/atrium/templates/migrations/create_atrium_collections.rb → db/migrate/20120730170406_create_atrium_collections.rb} +2 -1
  82. data/{lib/generators/atrium/templates/migrations/create_atrium_showcases.rb → db/migrate/20120731134846_create_atrium_showcases.rb} +3 -4
  83. data/{lib/generators/atrium/templates/migrations/create_atrium_exhibits.rb → db/migrate/20120731134856_create_atrium_exhibits.rb} +2 -1
  84. data/{lib/generators/atrium/templates/migrations/create_atrium_descriptions.rb → db/migrate/20120731134904_create_atrium_descriptions.rb} +2 -1
  85. data/{lib/generators/atrium/templates/migrations/create_atrium_essays.rb → db/migrate/20120731135534_create_atrium_essays.rb} +3 -2
  86. data/{lib/generators/atrium/templates/migrations/create_atrium_search_facets.rb → db/migrate/20120731135721_create_atrium_search_facets.rb} +1 -1
  87. data/{lib/generators/atrium/templates/migrations/create_atrium_showcase_facet_selections.rb → db/migrate/20120731140621_create_atrium_showcase_facet_selections.rb} +6 -2
  88. data/{lib/generators/atrium/templates/migrations/create_atrium_browse_levels.rb → db/migrate/20120801145241_create_atrium_browse_levels.rb} +1 -1
  89. data/db/migrate/20120820183808_create_selected_items.rb +16 -0
  90. data/db/migrate/20120823135716_update_atrium_collection_indices.rb +13 -0
  91. data/db/migrate/20120823143315_add_lookup_indices_as_required.rb +11 -0
  92. data/lib/atrium.rb +40 -36
  93. data/lib/atrium/engine.rb +4 -8
  94. data/lib/atrium/exceptions.rb +10 -0
  95. data/lib/atrium/version.rb +2 -2
  96. data/lib/generators/atrium/install/USAGE +8 -0
  97. data/lib/generators/atrium/install/install_generator.rb +86 -0
  98. data/lib/generators/atrium/install/templates/atrium_initializer.rb +21 -0
  99. data/lib/generators/atrium/install/templates/controllers/atrium_base_controller.rb +18 -0
  100. data/lib/generators/atrium/install/templates/controllers/collections_controller.rb +40 -0
  101. data/lib/generators/atrium/install/templates/controllers/descriptions_controller.rb +36 -0
  102. data/lib/generators/atrium/install/templates/controllers/exhibits_controller.rb +47 -0
  103. data/lib/generators/atrium/install/templates/controllers/selected_items_controller.rb +26 -0
  104. data/lib/generators/atrium/install/templates/helpers/application_helper.rb +42 -0
  105. data/lib/generators/atrium/install/templates/helpers/collections_helper.rb +15 -0
  106. data/lib/generators/atrium/install/templates/helpers/navigation_helper.rb +62 -0
  107. data/lib/generators/atrium/install/templates/helpers/solr_helper.rb +138 -0
  108. data/lib/generators/atrium/install/templates/models/selected_item.rb +7 -0
  109. data/lib/generators/atrium/install/templates/views/collections/_document.html.erb +19 -0
  110. data/lib/generators/atrium/install/templates/views/collections/_exhibits.html.erb +3 -0
  111. data/lib/generators/atrium/install/templates/views/collections/_pagination.html.erb +6 -0
  112. data/lib/generators/atrium/install/templates/views/collections/browse.html.erb +16 -0
  113. data/lib/generators/atrium/install/templates/views/collections/show.html.erb +19 -0
  114. data/lib/generators/atrium/install/templates/views/descriptions/show.html.erb +8 -0
  115. data/lib/generators/atrium/install/templates/views/exhibits/_document.html.erb +19 -0
  116. data/lib/generators/atrium/install/templates/views/exhibits/_pagination.html.erb +6 -0
  117. data/lib/generators/atrium/install/templates/views/exhibits/show.html.erb +28 -0
  118. data/lib/generators/atrium/install/templates/views/folder/_selected_items_form.html.erb +8 -0
  119. data/lib/generators/atrium/install/templates/views/folder/index.html.erb +45 -0
  120. data/lib/generators/atrium/install/templates/views/shared/_document_list.html.erb +14 -0
  121. data/lib/generators/atrium/install/templates/views/shared/_featured_sources.html.erb +19 -0
  122. data/lib/generators/atrium/install/templates/views/shared/_list_descriptions.html.erb +25 -0
  123. data/lib/generators/atrium/install/templates/views/shared/_masthead.html.erb +19 -0
  124. data/lib/generators/atrium/install/templates/views/shared/_navigation_browse_level.html.erb +34 -0
  125. data/lib/generators/atrium/install/templates/views/shared/_showcases.html.erb +12 -0
  126. data/lib/generators/atrium/install/templates/views/shared/_side_bar_navigation.html.erb +20 -0
  127. data/lib/generators/atrium/service/USAGE +9 -0
  128. data/lib/generators/atrium/service/service_generator.rb +16 -0
  129. data/lib/generators/atrium/service/templates/service.rb.erb +2 -0
  130. data/lib/generators/atrium/service/templates/service_spec.rb.erb +4 -0
  131. data/lib/generators/atrium/theme/USAGE +8 -0
  132. data/lib/generators/atrium/theme/templates/theme.html.erb +14 -0
  133. data/lib/generators/atrium/theme/theme_generator.rb +11 -0
  134. data/lib/tasks/atrium_tasks.rake +4 -0
  135. data/script/rails +10 -0
  136. data/spec/atrium_spec.rb +10 -0
  137. data/spec/controllers/atrium/application_controller_spec.rb +7 -0
  138. data/spec/controllers/atrium/collections_controller_spec.rb +125 -0
  139. data/spec/controllers/atrium/descriptions_controller_spec.rb +142 -0
  140. data/spec/controllers/atrium/exhibits_controller_spec.rb +102 -0
  141. data/spec/controllers/atrium/order_controller_spec.rb +100 -0
  142. data/spec/controllers/atrium/showcases_controller_spec.rb +217 -0
  143. data/spec/dummy/README.rdoc +261 -0
  144. data/spec/dummy/Rakefile +7 -0
  145. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  146. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  147. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  148. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  149. data/spec/dummy/app/mailers/.gitkeep +0 -0
  150. data/spec/dummy/app/models/.gitkeep +0 -0
  151. data/spec/dummy/app/models/collection.rb +3 -0
  152. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  153. data/spec/dummy/config.ru +4 -0
  154. data/spec/dummy/config/application.rb +59 -0
  155. data/spec/dummy/config/boot.rb +10 -0
  156. data/spec/dummy/config/database.yml +25 -0
  157. data/spec/dummy/config/environment.rb +5 -0
  158. data/spec/dummy/config/environments/development.rb +37 -0
  159. data/spec/dummy/config/environments/production.rb +67 -0
  160. data/spec/dummy/config/environments/test.rb +37 -0
  161. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  162. data/spec/dummy/config/initializers/inflections.rb +15 -0
  163. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  164. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  165. data/spec/dummy/config/initializers/session_store.rb +8 -0
  166. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  167. data/spec/dummy/config/locales/en.yml +5 -0
  168. data/spec/dummy/config/routes.rb +4 -0
  169. data/spec/dummy/db/schema.rb +124 -0
  170. data/spec/dummy/lib/assets/.gitkeep +0 -0
  171. data/spec/dummy/log/.gitkeep +0 -0
  172. data/spec/dummy/public/404.html +26 -0
  173. data/spec/dummy/public/422.html +26 -0
  174. data/spec/dummy/public/500.html +25 -0
  175. data/spec/dummy/public/favicon.ico +0 -0
  176. data/spec/dummy/script/rails +6 -0
  177. data/spec/dummy/test/fixtures/collections.yml +11 -0
  178. data/spec/dummy/test/unit/collection_test.rb +7 -0
  179. data/spec/factories/atrium_collections.rb +8 -0
  180. data/spec/factories/atrium_exhibits.rb +9 -0
  181. data/spec/factories/atrium_search_facets.rb +8 -0
  182. data/spec/factories/atrium_showcases.rb +25 -0
  183. data/spec/helpers/atrium/collections_helper_spec.rb +57 -0
  184. data/spec/helpers/atrium/showcases_helper_spec.rb +56 -0
  185. data/spec/models/atrium/browse_level_spec.rb +56 -0
  186. data/spec/models/atrium/collection_spec.rb +76 -0
  187. data/spec/models/atrium/configuration_spec.rb +114 -0
  188. data/spec/models/atrium/description_spec.rb +56 -0
  189. data/spec/models/atrium/essay_spec.rb +16 -0
  190. data/spec/models/atrium/exhibit_spec.rb +90 -0
  191. data/spec/models/atrium/search/facet_selection_spec.rb +23 -0
  192. data/{test_support/spec → spec}/models/atrium/search/facet_spec.rb +2 -4
  193. data/{test_support/spec → spec}/models/atrium/showcase/facet_selection_spec.rb +5 -5
  194. data/spec/models/atrium/showcase/featured_selection_spec.rb +18 -0
  195. data/spec/models/atrium/showcase_spec.rb +97 -0
  196. data/spec/services/browse_level_evaluation_service_spec.rb +33 -0
  197. data/spec/services/current_filter_query_params_extraction_service_spec.rb +34 -0
  198. data/spec/services/navigation_tree_spec.rb +18 -0
  199. data/spec/services/params_adaptor_for_filter_spec.rb +8 -0
  200. data/spec/spec_helper.rb +39 -0
  201. data/spec/support/accept_nested_attributes_for.rb +39 -0
  202. data/{test_support/spec → spec}/support/be_accessible_matcher.rb +0 -0
  203. data/{test_support/spec → spec}/support/be_routed_mixin.rb +0 -0
  204. data/spec/support/controller_hacks.rb +35 -0
  205. data/spec/support/routes.rb +5 -0
  206. data/spec/support/shared_examples/is_showcased_mixin.rb +20 -0
  207. data/spec/support/shared_examples/query_param_mixin.rb +179 -0
  208. data/{app/assets/stylesheets/atrium → vendor/assets/images}/chosen-sprite.png +0 -0
  209. data/{app → vendor}/assets/javascripts/chosen.jquery.js +0 -0
  210. data/{app → vendor}/assets/javascripts/ckeditor.warning.js +0 -0
  211. data/{app → vendor}/assets/javascripts/ckeditor/config.js.coffee +0 -0
  212. data/{app → vendor}/assets/javascripts/ckeditor/jquery.generateId.js +0 -0
  213. data/{app → vendor}/assets/javascripts/ckeditor/jquery.jeditable.ckeditor.js +0 -0
  214. data/{app → vendor}/assets/javascripts/ckeditor/plugins/linkItem/application_link.png +0 -0
  215. data/{app → vendor}/assets/javascripts/ckeditor/plugins/linkItem/dialogs/linkItem.js +0 -0
  216. data/{app → vendor}/assets/javascripts/ckeditor/plugins/linkItem/plugin.js +0 -0
  217. data/{app → vendor}/assets/javascripts/ckeditor/plugins/linkItem/ui_toolbar_pencil.png +0 -0
  218. data/vendor/assets/javascripts/jquery-ui-1.8.23.custom.min.js +41 -0
  219. data/vendor/assets/javascripts/jquery-ui-build.txt +8 -0
  220. data/{app → vendor}/assets/javascripts/jquery.jeditable.js +0 -0
  221. data/{app/assets/stylesheets/atrium → vendor/assets/stylesheets}/chosen.css +4 -4
  222. data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  223. data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  224. data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  225. data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  226. data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  227. data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  228. data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  229. data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  230. data/vendor/assets/stylesheets/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  231. data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  232. data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  233. data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  234. data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  235. data/vendor/assets/stylesheets/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  236. data/vendor/assets/stylesheets/ui-lightness/jquery-ui-1.8.23.custom.css +334 -0
  237. metadata +431 -949
  238. data/GETTING_STARTED.textile +0 -102
  239. data/app/assets/images/atrium/ajax-loader.gif +0 -0
  240. data/app/assets/images/atrium/lightbox-ico-loading.gif +0 -0
  241. data/app/assets/images/atrium/logo.png +0 -0
  242. data/app/assets/javascripts/jquery.colorbox.js +0 -864
  243. data/app/assets/stylesheets/colorbox.css +0 -42
  244. data/app/assets/stylesheets/controls.png +0 -0
  245. data/app/assets/stylesheets/loading.gif +0 -0
  246. data/app/controllers/atrium/base_controller.rb +0 -25
  247. data/app/controllers/atrium/collection_exhibit_order_controller.rb +0 -21
  248. data/app/controllers/atrium/customization_controller.rb +0 -41
  249. data/app/controllers/atrium/exhibit_facet_order_controller.rb +0 -19
  250. data/app/helpers/atrium/base_helper.rb +0 -6
  251. data/app/models/ability.rb +0 -14
  252. data/app/models/atrium/showcase/item.rb +0 -19
  253. data/app/models/role_mapper.rb +0 -23
  254. data/app/views/_user_util_links.html.erb +0 -25
  255. data/app/views/atrium/collections/_bookmark_control.html.erb +0 -25
  256. data/app/views/atrium/collections/_browse_index.html.erb +0 -20
  257. data/app/views/atrium/collections/_collection_items_index.html.erb +0 -10
  258. data/app/views/atrium/collections/_document.html.erb +0 -24
  259. data/app/views/atrium/collections/_document_list.html.erb +0 -6
  260. data/app/views/atrium/collections/_edit_navigation.html.erb +0 -20
  261. data/app/views/atrium/collections/_folder_control.html.erb +0 -12
  262. data/app/views/atrium/collections/_listing.html.erb +0 -18
  263. data/app/views/atrium/collections/_navigation.html.erb +0 -50
  264. data/app/views/atrium/collections/_results_pagination.html.erb +0 -9
  265. data/app/views/atrium/collections/_sort_and_per_page.html.erb +0 -23
  266. data/app/views/atrium/exhibits/_bookmark_control.html.erb +0 -25
  267. data/app/views/atrium/exhibits/_folder_control.html.erb +0 -12
  268. data/app/views/atrium/exhibits/_navigation.html.erb +0 -30
  269. data/app/views/atrium/showcases/_showcase_navigation.html.erb +0 -23
  270. data/app/views/catalog/_collection_home_text.html.erb +0 -6
  271. data/app/views/catalog/_constraints.html.erb +0 -9
  272. data/app/views/catalog/_default_collection_text.html.erb +0 -18
  273. data/app/views/catalog/_default_home_text.html.erb +0 -6
  274. data/app/views/catalog/_home_text.html.erb +0 -6
  275. data/app/views/catalog/_index_partials/_description.html.erb +0 -8
  276. data/app/views/catalog/_search_form.html.erb +0 -66
  277. data/app/views/catalog/_show_partials/_description.html.erb +0 -15
  278. data/app/views/catalog/browse_show.html.erb +0 -18
  279. data/app/views/catalog/index.html.erb +0 -41
  280. data/app/views/catalog/list_description.html.erb +0 -24
  281. data/app/views/catalog/list_item.html.erb +0 -3
  282. data/app/views/layouts/atrium_themes/default.html.erb +0 -4
  283. data/app/views/layouts/item_listing.html.erb +0 -36
  284. data/app/views/listing/_document.html.erb +0 -27
  285. data/app/views/listing/_document_list.html.erb +0 -3
  286. data/app/views/listing/_item_search.html.erb +0 -27
  287. data/app/views/shared/_banner.html.erb +0 -5
  288. data/app/views/shared/_collection_complete_list.html.erb +0 -33
  289. data/app/views/shared/_collection_search_form.html.erb +0 -12
  290. data/app/views/shared/_collection_title_header.html.erb +0 -3
  291. data/app/views/shared/_featured_sources.html.erb +0 -23
  292. data/app/views/shared/_list_descriptions.html.erb +0 -39
  293. data/app/views/shared/_navigation_browse_levels.html.erb +0 -34
  294. data/app/views/shared/_showcase_configure_menu.html.erb +0 -22
  295. data/app/views/shared/_top_navigation.html.erb +0 -9
  296. data/init.rb +0 -3
  297. data/lib/application_controller.rb +0 -24
  298. data/lib/atrium/application_helper.rb +0 -24
  299. data/lib/atrium/atrium_helper_behavior.rb +0 -159
  300. data/lib/atrium/catalog.rb +0 -203
  301. data/lib/atrium/collections_helper.rb +0 -172
  302. data/lib/atrium/controller.rb +0 -10
  303. data/lib/atrium/descriptions_helper.rb +0 -27
  304. data/lib/atrium/layout_helper.rb +0 -13
  305. data/lib/atrium/routes.rb +0 -100
  306. data/lib/atrium/solr_helper.rb +0 -440
  307. data/lib/generators/atrium/assets_generator.rb +0 -44
  308. data/lib/generators/atrium/atrium_generator.rb +0 -149
  309. data/lib/generators/atrium/cucumber_support_generator.rb +0 -29
  310. data/lib/generators/atrium/templates/config/role_map_cucumber.yml +0 -2
  311. data/lib/generators/atrium/templates/config/role_map_development.yml +0 -2
  312. data/lib/generators/atrium/templates/config/role_map_production.yml +0 -2
  313. data/lib/generators/atrium/templates/config/role_map_test.yml +0 -2
  314. data/lib/generators/atrium/templates/config/solr.yml +0 -10
  315. data/lib/generators/atrium/templates/db/seeds.rb +0 -87
  316. data/lib/generators/atrium/templates/migrations/create_atrium_showcase_items.rb +0 -17
  317. data/lib/generators/atrium/templates/themes/example.html.erb +0 -21
  318. data/lib/railties/all_tests.rake +0 -23
  319. data/lib/railties/atrium_cucumber.rake +0 -121
  320. data/lib/railties/index.rake +0 -37
  321. data/tasks/atrium.rake +0 -268
  322. data/tasks/atrium_rspec.rake +0 -91
  323. data/test_support/etc/Gemfile +0 -33
  324. data/test_support/etc/bundle_config +0 -3
  325. data/test_support/etc/rvmrc +0 -32
  326. data/test_support/features/atrium_collections.feature +0 -162
  327. data/test_support/features/atrium_exhibits.feature +0 -164
  328. data/test_support/features/step_definitions/atrium_collection_steps.rb +0 -102
  329. data/test_support/features/step_definitions/atrium_exhibit_steps.rb +0 -53
  330. data/test_support/features/step_definitions/bookmarks_steps.rb +0 -6
  331. data/test_support/features/step_definitions/error_steps.rb +0 -5
  332. data/test_support/features/step_definitions/folder_steps.rb +0 -27
  333. data/test_support/features/step_definitions/general_steps.rb +0 -50
  334. data/test_support/features/step_definitions/record_view_steps.rb +0 -12
  335. data/test_support/features/step_definitions/saved_searches_steps.rb +0 -22
  336. data/test_support/features/step_definitions/search_facets_steps.rb +0 -29
  337. data/test_support/features/step_definitions/search_history_steps.rb +0 -9
  338. data/test_support/features/step_definitions/search_result_steps.rb +0 -114
  339. data/test_support/features/step_definitions/search_steps.rb +0 -103
  340. data/test_support/features/step_definitions/user_steps.rb +0 -5
  341. data/test_support/features/step_definitions/web_steps.rb +0 -213
  342. data/test_support/features/support/env.rb +0 -67
  343. data/test_support/features/support/paths.rb +0 -76
  344. data/test_support/features/support/selectors.rb +0 -40
  345. data/test_support/fixtures/atrium_exhibits.yml +0 -3
  346. data/test_support/spec/controllers/atrium/base_controller_spec.rb +0 -13
  347. data/test_support/spec/controllers/atrium/collection_exhibit_order_controller_spec.rb +0 -29
  348. data/test_support/spec/controllers/atrium/collections_controller_spec.rb +0 -185
  349. data/test_support/spec/controllers/atrium/customization_controller_spec.rb +0 -38
  350. data/test_support/spec/controllers/atrium/descriptions_controller_spec.rb +0 -150
  351. data/test_support/spec/controllers/atrium/exhibit_facet_order_controller_spec.rb +0 -36
  352. data/test_support/spec/controllers/atrium/exhibits_controller_spec.rb +0 -192
  353. data/test_support/spec/controllers/atrium/showcases_controller_spec.rb +0 -219
  354. data/test_support/spec/helpers/atrium_collections_helper_spec.rb +0 -147
  355. data/test_support/spec/helpers/atrium_description_helper_spec.rb +0 -47
  356. data/test_support/spec/helpers/atrium_solr_helper_spec.rb +0 -522
  357. data/test_support/spec/models/atrium/browse_level_spec.rb +0 -31
  358. data/test_support/spec/models/atrium/collection_spec.rb +0 -30
  359. data/test_support/spec/models/atrium/description_spec.rb +0 -67
  360. data/test_support/spec/models/atrium/essay_spec.rb +0 -12
  361. data/test_support/spec/models/atrium/exhibit_spec.rb +0 -76
  362. data/test_support/spec/models/atrium/search/facet_selection_spec.rb +0 -24
  363. data/test_support/spec/models/atrium/search_facet_spec.rb +0 -54
  364. data/test_support/spec/models/atrium/showcase/item_spec.rb +0 -12
  365. data/test_support/spec/models/atrium/showcase_facet_selection_spec.rb +0 -65
  366. data/test_support/spec/models/atrium/showcase_spec.rb +0 -134
  367. data/test_support/spec/rcov.opts +0 -3
  368. data/test_support/spec/routing/atrium/collections_routing_spec.rb +0 -33
  369. data/test_support/spec/spec.opts +0 -4
  370. data/test_support/spec/spec_helper.rb +0 -47
  371. data/test_support/tmp/step_definitions/catalog_index_steps.rb +0 -14
  372. data/test_support/tmp/step_definitions/edit_document_steps.rb +0 -67
  373. data/test_support/tmp/step_definitions/hydra_metadata_steps.rb +0 -3
  374. data/test_support/tmp/step_definitions/hydra_steps.rb +0 -8
  375. data/test_support/tmp/step_definitions/search_steps.rb +0 -86
  376. data/test_support/tmp/step_definitions/searching_steps.rb +0 -22
  377. data/test_support/tmp/step_definitions/select_steps.rb +0 -8
  378. data/test_support/tmp/step_definitions/show_document_steps.rb +0 -73
  379. data/test_support/tmp/step_definitions/user_steps.rb +0 -15
  380. data/test_support/tmp/step_definitions/web_steps.rb +0 -273
  381. data/test_support/tmp/support/env.rb +0 -54
  382. data/test_support/tmp/support/paths.rb +0 -57
@@ -1,3 +1,23 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into atrium.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ *= require 'atrium/reset'
9
+ *= require_self
10
+ *= require 'atrium/theme'
11
+ *
12
+ *= require 'atrium/collections'
13
+ *= require 'atrium/descriptions'
14
+ *= require 'atrium/exhibits'
15
+ *= require 'atrium/showcases'
16
+ *
17
+ *= require 'chosen'
18
+ *= require 'ui-lightness/jquery-ui-1.8.23.custom'
19
+ */
20
+
1
21
  /* Global */
2
22
 
3
23
  body {
@@ -6,10 +26,6 @@ body {
6
26
 
7
27
  .warning { color: red !important;}
8
28
 
9
- #doc, #doc2, #doc3, #doc4 {
10
- border-top:5px solid #484748;
11
- }
12
-
13
29
  .button {
14
30
  background-color:#CCC;
15
31
  border-color: #FFF #000 #000 #FFF;
@@ -20,6 +36,34 @@ body {
20
36
  padding:.3em .5em;
21
37
  }
22
38
 
39
+ /** yui **/
40
+
41
+ #doc, #doc2, #doc3, #doc4 {
42
+ border-top:5px solid #484748;
43
+ }
44
+
45
+ /** Sidebar **/
46
+ .blacklight-atrium_collections-edit .sidebar h2,
47
+ .blacklight-atrium_exhibits-edit .sidebar h2 {
48
+ margin-bottom:.3em;
49
+ }
50
+
51
+ .collection-controls,
52
+ .exhibit-controls {
53
+ margin-top:0;
54
+ }
55
+
56
+ .collection-controls li,
57
+ .exhibit-controls li {
58
+ list-style-type:none;
59
+ }
60
+
61
+ .facet-list .collection-title,
62
+ .facet-list .exhibit-title {
63
+ margin-bottom:0;
64
+ }
65
+
66
+
23
67
  /** Banner **/
24
68
 
25
69
  #banner {
@@ -58,6 +102,14 @@ body {
58
102
  border-radius:3px;
59
103
  }
60
104
 
105
+ #prompt {
106
+ position:fixed;
107
+ top:3px;
108
+ left:3px;
109
+ text-align:center;
110
+ padding:1em .3em;
111
+ }
112
+
61
113
  /** Navigation menu **/
62
114
  #exhibit-menu {
63
115
  margin:0 0 .3em 0;
@@ -101,36 +153,6 @@ select {
101
153
  font-size:.9em;
102
154
  }
103
155
 
104
- /** Sidebar **/
105
- .blacklight-atrium_collections-edit .sidebar h2,
106
- .blacklight-atrium_exhibits-edit .sidebar h2 {
107
- margin-bottom:.3em;
108
- }
109
-
110
- .collection-controls,
111
- .exhibit-controls {
112
- margin-top:0;
113
- }
114
-
115
- .collection-controls li,
116
- .exhibit-controls li {
117
- list-style-type:none;
118
- }
119
-
120
- .facet-list .collection-title,
121
- .facet-list .exhibit-title {
122
- margin-bottom:0;
123
- }
124
-
125
- /** Banner **/
126
- #prompt {
127
- position:fixed;
128
- top:3px;
129
- left:3px;
130
- text-align:center;
131
- padding:1em .3em;
132
- }
133
-
134
156
  /** Pages **/
135
157
  #show-description ul {
136
158
  margin-left:0;
@@ -150,31 +172,56 @@ ol.sortable {
150
172
 
151
173
  ol.sortable li {
152
174
  font-size: 1.2em;
153
- height:1.2em;
154
- margin:0 3px 3px;
175
+ font-weight:normal;
176
+ margin:0 .3em .3em;
155
177
  padding-left:1.5em;
156
178
  padding:.4em .4em .4em 1.5em;
157
179
  }
158
180
 
181
+ ol.sortable .ui-icon {
182
+ margin-top:.2em;
183
+ }
184
+
159
185
  ol.sortable li span {
160
186
  position:absolute;
161
187
  margin-left:-1.3em;
162
188
  }
163
189
 
190
+ ol.sortable .controls a {
191
+ text-decoration:underline;
192
+ }
193
+
164
194
  .sortable td.label {
165
195
  padding-left:0;
166
196
  width:5.5em;
167
197
  }
168
198
 
169
199
  /** Forms **/
200
+ form input {
201
+ border:1px solid #CCC;
202
+ }
203
+
204
+ form.atrium fieldset {
205
+ margin-bottom:2em;
206
+ }
207
+
208
+ form.atrium fieldset.last {
209
+ margin-bottom:0;
210
+ }
211
+
170
212
  form.atrium ol {
171
- margin-left:0;
213
+ margin:0;
172
214
  }
173
215
 
174
216
  form.atrium ol li {
175
217
  list-style-type:none;
176
218
  }
177
219
 
220
+ form.atrium p:first-child,
221
+ form.atrium li:first-child label {
222
+ margin-top:0;
223
+ }
224
+
178
225
  form.atrium label {
179
226
  display:block;
180
227
  margin-top:1em;
@@ -189,15 +236,41 @@ form.atrium .inline label {
189
236
  margin-top:0;
190
237
  }
191
238
 
239
+ form.atrium input[type=text] {
240
+ line-height:1;
241
+ padding:.3em .3em .1em;
242
+ }
243
+
192
244
  form.atrium input[type=text],
193
245
  form.atrium select {
194
246
  width:72%;
195
247
  }
196
248
 
249
+ form.atrium small {
250
+ display:block;
251
+ opacity:.8;
252
+ margin-top:.5em;
253
+ margin-left:.5em;
254
+ }
255
+
256
+ form.atrium textarea {
257
+ width:98%;
258
+ }
259
+
197
260
  form.atrium th {
198
261
  text-align:left;
199
262
  }
200
263
 
264
+ form.hazardous-action .button {
265
+ background-color:#F00;
266
+ border-color:#FF5D5D #A80000 #A80000 #FF5D5D;
267
+ font-weight:bold;
268
+ }
269
+
270
+ #navigation-levels, #navigation-levels th, #navigation-levels td {
271
+ font-weight:normal;
272
+ }
273
+
201
274
  .chzn-container-multi .chzn-choices .search-choice .search-choice-close {
202
275
  border-bottom:none;
203
276
  }
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,69 @@
1
+ /* =============================================================================
2
+ HTML5 Boilerplate CSS:h5bp.com/css
3
+ ========================================================================== */
4
+
5
+ article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display:block}
6
+ audio, canvas, video {display:inline-block; *display:inline; *zoom:1}
7
+ audio:not([controls]) {display:none}
8
+ [hidden] {display:none}
9
+
10
+ html {font-size:100%; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%}
11
+ html, button, input, select, textarea {font-family:"Helvetic Neue",Helvitica,Ariel,sans-serif; color:#222}
12
+ body {margin:0; font-size:1em; line-height:1.5}
13
+
14
+ ::-moz-selection {background:#fe57a1; color:#fff; text-shadow:none}
15
+ ::selection {background:#fe57a1; color:#fff; text-shadow:none}
16
+
17
+ a {color:#F00}
18
+ a:visited {color:#F00}
19
+ a:hover {color:#F00}
20
+ a:focus {outline:thin dotted}
21
+ a:hover, a:active {outline:0}
22
+
23
+ abbr[title] {border-bottom:1px dotted}
24
+ b, strong {font-weight:bold}
25
+ blockquote {margin:1em 40px}
26
+ dfn {font-style:italic}
27
+ hr {display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0}
28
+ ins {background:#ff9; color:#000; text-decoration:none}
29
+ mark {background:#ff0; color:#000; font-style:italic; font-weight:bold}
30
+ pre, code, kbd, samp {font-family:monospace, serif; _font-family:'courier new', monospace; font-size:1em}
31
+ pre {white-space:pre; white-space:pre-wrap; word-wrap:break-word}
32
+ q {quotes:none}
33
+ q:before, q:after {content:""; content:none}
34
+ small {font-size:85%}
35
+
36
+ sub, sup {font-size:75%; line-height:0; position:relative; vertical-align:baseline}
37
+ sup {top:-0.5em}
38
+ sub {bottom:-0.25em}
39
+
40
+ ul, ol {margin:1em 0; padding:0}
41
+ li > ul, li > ol {padding-left:2em}
42
+ dd {margin:0 0 0 40px}
43
+ nav ul, nav ol {list-style:none; list-style-image:none; margin:0; padding:0}
44
+
45
+ img {border:0; -ms-interpolation-mode:bicubic; vertical-align:middle}
46
+
47
+ svg:not(:root) {overflow:hidden}
48
+
49
+ figure {margin:0}
50
+
51
+ form {margin:0}
52
+ label {cursor:pointer}
53
+ legend {border:0; *margin-left:-7px; padding:0; white-space:normal}
54
+ button, input, select, textarea {font-size:100%; margin:0; vertical-align:baseline; *vertical-align:middle}
55
+ button, input {line-height:normal}
56
+ button, input[type="button"], input[type="reset"], input[type="submit"] {cursor:pointer; -webkit-appearance:button; *overflow:visible}
57
+ button[disabled], input[disabled] {cursor:default}
58
+ input[type="checkbox"], input[type="radio"] {box-sizing:border-box; padding:0; *width:13px; *height:13px}
59
+ input[type="search"] {-webkit-appearance:textfield; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box}
60
+ input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {-webkit-appearance:none}
61
+ button::-moz-focus-inner, input::-moz-focus-inner {border:0; padding:0}
62
+ textarea {overflow:auto; vertical-align:top; resize:vertical}
63
+ input:valid, textarea:valid { }
64
+ input:invalid, textarea:invalid {background-color:#f0dddd}
65
+
66
+ table {border-collapse:collapse; border-spacing:0}
67
+ td {vertical-align:top}
68
+
69
+ .chromeframe {margin:0.2em 0; background:#ccc; color:black; padding:0.2em 0}
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,248 @@
1
+ /* =============================================================================
2
+ Primary styles
3
+ Author:Dan Brubaker Horst
4
+ ========================================================================== */
5
+
6
+ h1,
7
+ h2,
8
+ h3,
9
+ h4 {font-weight:normal}
10
+ h1 {font-size:2em}
11
+ h2 {margin-top:2em}
12
+ address {font-style:normal}
13
+
14
+ #collection-search .submit, #startOverLink, #search .submit, .button, button.button, input.button, a.button {
15
+ background-color:#006;
16
+ border-color:#6D6DD7 #323263 #323263 #6D6DD7;
17
+ border-style:solid;
18
+ border-width:1px;
19
+ color:#FFF;
20
+ display:inline-block;
21
+ padding:.1em .3em;
22
+ text-align:center;
23
+ text-decoration:none;
24
+ }
25
+
26
+ #page {background-color:#FEFDF9; max-width:42em; margin:0 auto}
27
+ #main, #sidebar, #ft {padding:.5em .75em; max-width:36em}
28
+ #hd {border-bottom:1px dotted #670202; padding:.5em 0 0; position:relative}
29
+ #hd hgroup,
30
+ #hd .root {display:none}
31
+ #hd hgroup a, #hd hgroup a:visited, #hd hgroup a:hover {color:#354F78}
32
+ #hd hgroup a {text-decoration:none}
33
+ #hd hgroup a:hover {border-bottom:1px dotted #354F78}
34
+ #user_util_links ul {height:1.5em; margin:0; overflow:hidden} /* TODO: Implement some sort of menu here */
35
+ #user_util_links li {list-style-type:none}
36
+
37
+ #breadcrumbs, #jump {padding:.5em .5em 0; max-width:41em}
38
+ .jump {text-align:right}
39
+ .back {
40
+ -webkit-border-radius:.7em;
41
+ -moz-border-radius:.7em;
42
+ border-radius:.7em;
43
+ background:url('/assets/atrium/white-arrow.png') no-repeat 42% center #F00; display:inline-block; text-indent:-100%; width:1.4em;}
44
+ #breadcrumbs {margin-bottom:.5em; padding-left:2.5em; text-indent:-2em}
45
+
46
+ #main hgroup {margin-bottom:2em}
47
+ #main hgroup h1 {font-size:1.5em; margin:0; line-height:1}
48
+ #main hgroup h2 {font-size:1em; font-style:italic; margin-top:0; text-align:right}
49
+ #main {background-repeat:no-repeat; background-position:right 7em}
50
+
51
+ #sidebar {border-top:1px dotted #670202; clear:both}
52
+ #sidebar h2 {margin-top:0}
53
+ #sidebar {background-repeat:no-repeat; background-position:center 2em}
54
+ #sidebar .sidebar-image {display:none}
55
+ #collection-search fieldset {border:0; margin:0; padding:0}
56
+ #collection-search #q {width:10.5em}
57
+ #browse-navigation h3,
58
+ #facets h3 {color:#670202; margin:0}
59
+ #browse-navigation .browse-facets h3 {margin:0}
60
+ #facets h3.twiddle-open, #facets li .selected, #browse-navigation .selected {color:#006; font-style:italic}
61
+ #browse-navigation ul,
62
+ #facets .facet_limit ul {margin:0 0 0 1em; padding-left:0}
63
+ #browse-navigation li ul {margin:0 0 0 2em}
64
+ #browse-navigation .browse-facets li h3 {margin-left:1em}
65
+ #browse-navigation li,
66
+ #facets li {position:relative}
67
+ #browse-navigation li .remove,
68
+ #facets li .remove {position:absolute; right:0; top:0}
69
+ #browse-navigation li ul li .remove {top:.15em}
70
+ #browse-navigation li .selected,
71
+ #facets li .selected {display:inline-block; padding-left:1em; text-indent:-1em; width:11em}
72
+ #browse-navigation li ul li .selected {width:9em}
73
+
74
+ #collection-title h2 {margin-top:0}
75
+ .blacklight-catalog-index #site-title {margin-bottom:2.4em}
76
+ #search {margin-bottom:2em}
77
+ #search form {margin-right:5em; position:relative}
78
+ h2.search {margin-top:0; text-align:left}
79
+ #search #q, #search #search_field, #search label {-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
80
+ #search #q {display:block; padding:.2em .3em; width:100%;}
81
+ #search label {display:inline-block; text-align:center; width:18%;}
82
+ #search_field {background-color:rgba(254, 255, 255, 0.8); padding:.3em .3em; width:80%}
83
+ .pageEntriesInfo {position:relative; margin:1em 0 2em}
84
+ #search .submit {bottom:3px; position:absolute; right:-5em}
85
+ #prompt .submit {position:static}
86
+ #appliedParams {padding-right:3em; margin-bottom:1.5em}
87
+ #appliedParams .appliedFilter {background-color:#FEFDF9; background-color:rgba(254, 253, 249, .8); border:1px solid #670202; display:block; padding:.2em .5em; position:relative; margin-bottom:.5em}
88
+ #appliedParams .btnRemove {background:url('/assets/atrium/remove.png') center center no-repeat; display:inline-block; height:1.9em; overflow:hidden; position:absolute; right:-3em; text-indent:2em; top:0; width:2em}
89
+ #appliedParams .filterName {margin-right:1.8em}
90
+ #appliedParams .filterName:after {color:#222; content:"\003E"; left:1em; position:relative}
91
+ #startOverLink {position:absolute; right:0; top:1.5em;}
92
+ #sortAndPerPage {margin:0 0 1em; position:relative}
93
+ #sortAndPerPage form {display:block}
94
+ #sortAndPerPage .per_page {margin-bottom:1em;}
95
+
96
+ .pagination {clear:both; padding:1em 0}
97
+ .pagination h2 {display:none}
98
+ .pagination-container {position:relative; text-align:center}
99
+ .pagination-container .disabled {color:#DCDCDC}
100
+ .pagination-container .current {color:#006}
101
+ .pagination-container .prev_page, .pagination-container .next_page {position:absolute; top:0}
102
+ .pagination-container .prev_page {left:0}
103
+ .pagination-container .next_page {right:0}
104
+
105
+ #documents {border-color:#670202; border-style:dotted; border-width:1px 0; clear:both; float:left; padding:1em 0; width:100%}
106
+ .document {clear:both; float:left; width:100%}
107
+ .document dl {float:left; margin:0 0 1em 2em; width:100%}
108
+ .document dt, .document dd {float:left; margin:0}
109
+ .document dt {color:#888; padding-right:3%; text-align:right; width:25%}
110
+ .document dd {clear:right; width:72%}
111
+ .document .index_title {margin-top:0}
112
+ .documentHeader {position:relative}
113
+ .documentHeader h3 {color:#222}
114
+ .documentFunctions {position:absolute; right:0; top:.1em; text-align:right}
115
+
116
+ ul.tools {text-align:right}
117
+ ul.tools li {display:inline-block; list-style-type:none; padding:0 .4em; text-align:left;}
118
+ ul.tools a {padding:.2em 0}
119
+
120
+ #ft {border-top:1px dotted #670202; margin-top:2em; padding-top:2em}
121
+ #ft address,
122
+ #ft nav {margin-top:.5em}
123
+ #ft nav {text-align:center}
124
+ #ft nav a {padding:.4em .6em}
125
+ #ft figure {display:block; padding:1em 0 0; height:4em; text-align:center}
126
+ #ft p, #ft address {margin:0}
127
+
128
+ h1, h2, h3 {color:#006}
129
+ hgroup h2 {color:#670202}
130
+ #sidebar li {color:#600; list-style-type:none}
131
+ #facets a,
132
+ #facets a:hover,
133
+ #facets a:visited,
134
+ #browse-navigation .browse-facets a,
135
+ #browse-navigation .browse-facets a:hover,
136
+ #browse-navigation .browse-facets a:visited {color:#670202; text-decoration:none}
137
+ #facets a.remove,
138
+ #facets a.remove:hover,
139
+ #facets a.remove:visited,
140
+ #browse-navigation .browse-facets a.remove,
141
+ #browse-navigation .browse-facets a.remove:hover,
142
+ #browse-navigation .browse-facets a.remove:visited {color:#F00; font-style:normal; margin-left:1em}
143
+
144
+ #collection-search label {display:block}
145
+ .essay-listing {margin-top:1.5em}
146
+ .close-symbol {color:#F00; font-size:1.2em; font-weight:bold; line-height: .8}
147
+
148
+ /* Minimize FOUC */
149
+
150
+ #facets ul {display:none}
151
+ #facets .twiddle+ul {display:block}
152
+ .no-js #sortAndPerPage input[type=submit]{display:none}
153
+
154
+ /* Typography */
155
+
156
+ #banner strong, #collection-search .submit, #search .submit, #startOverLink, #breadcrumbs, .button, h1, h2, h3 {font-family:Georgia, Times, serif}
157
+ #site-title h1, #site-title h2 {font-family:'IM Fell Great Primer', Georgia, serif} /* NOTE: 'IM Fell Great Primer' is loaded using the Google Web fonts API with a restricted character set */
158
+ #collection-search .submit, #search .submit, #startOverLink {font-variant:small-caps; text-transform:capitalize}
159
+
160
+ /* =============================================================================
161
+ Media Queries
162
+ Author:Dan Brubaker Horst
163
+ ========================================================================== */
164
+
165
+ /* NOTE: media queries sized with "em" use the root font size (typically 16px) */
166
+
167
+ /* Phone portrait */
168
+ @media only screen and (max-width:20em) { /* < 320 */
169
+ }
170
+
171
+ /* Phone landscape */
172
+ @media only screen and (min-width:20.5em) { /* > 320 */
173
+ #main, #sidebar, #ft {padding:1em 1.5em}
174
+ #hd nav a {display:inline; background:transparent; text-indent:0; width:auto}
175
+ #main hgroup h1 {font-size:2em}
176
+ #startOverLink {position:absolute; right:0; top:0;}
177
+ #hd nav a {margin-right:2em; position:relative}
178
+ #hd nav a:after {content:"\003E"; position:absolute; top:-.2em; right:-1.5em; text-decoration-color:transparent}
179
+ }
180
+
181
+ /* Tablet portrait */
182
+ @media only screen and (min-width:30.5em) { /* > 480 */
183
+ html {font-size:112.5%; -webkit-text-size-adjust:112.5%; -ms-text-size-adjust:112.5%} /* move base size from 16px to 18px */
184
+ html {background-color:#DCDCDC; background-image:url(''); background-repeat:repeat;}
185
+ #page {background-color:rgba(254, 253, 249, .8)}
186
+ #main, #sidebar, #ft {padding:2em 3em}
187
+ #main {min-height:30em}
188
+ #hd hgroup {background:url('') no-repeat .5em .5em transparent; border-bottom:1px dotted #670202; display:block; padding:.6em .5em 1em 6.8em}
189
+ #hd h2, #hd h3 {margin:0}
190
+ #hd h2 {font-size:1.2222em}
191
+ #hd h3 {font-size:1em}
192
+ #user_util_links {position:absolute; right:0; top:1em}
193
+ #main hgroup {margin-bottom:3em}
194
+ #main hgroup h1 {font-size:2.6667em} /* 48px */
195
+ #main hgroup h2 {font-size:1.1111em} /* 22px */
196
+ #search {margin-bottom:3em}
197
+ .blacklight-search-index #search {margin-bottom:2em}
198
+ #search #q {display:inline; width:60%}
199
+ #search label {width:5%}
200
+ #search_field {width:32%}
201
+ #sortAndPerPage form {display:inline-block}
202
+ #sort_form {position:absolute; right:0; top:0}
203
+ #ft {text-align:center}
204
+ #ft figure {display:inline-block; padding:1em}
205
+ }
206
+
207
+ /* Tablet landscape */
208
+ @media only screen and (min-width:64em) { /* = 768 */
209
+ #page {padding:0 1em; position:relative}
210
+ #page, #hd, #breadcrumbs, #jump, #ft {max-width:56em}
211
+ #hd hgroup {background-image:url(''); background-position:0 .5em; padding:2.1em 0 1em 10em}
212
+ #hd h2 {font-size:1.5em}
213
+ #hd h3 {font-size:1.2222em}
214
+ #breadcrumbs {padding:0; margin-top:.5em; text-indent:0}
215
+ #hd .root {display:inline}
216
+ #main hgroup {margin-bottom:3.1em}
217
+ #main hgroup h1 {font-size:3.5556em} /* 64px */
218
+ #main hgroup h2 {font-size:1.3333em} /* 24px */
219
+ #main {float:right; padding-right:0; width:36em}
220
+ #sidebar {border-top:none; clear:none; float:right; padding:2em 0; width:15em}
221
+ #sidebar h3 {margin-top:0.2857em} /* make sidebar and main headings share a baseline */
222
+ #search_field {width:33%}
223
+ #collection-search {position:relative}
224
+ #collection-search .submit {position:absolute; margin-left:0; right:0; bottom:2px; width:4em}
225
+ .blacklight-atrium_collections-edit #main form.atrium ol {width:36em}
226
+ #facets .facet {font-size:1.2222em} /* 22px */
227
+ #jump, #ft{clear:both}
228
+ #jump, #jump-top {display:none}
229
+ #ft {padding:2em 0; position:relative}
230
+ #ft section {margin:0 auto; width:26em}
231
+ #ft figure {padding:0; position:absolute; top:2em; width:12em}
232
+ .hesburgh-mark {left:0}
233
+ .nd-mark {right:0}
234
+ }
235
+
236
+ @media only screen and (min-width:48.5em) { /* > 768 */
237
+ }
238
+
239
+ /* Large Screen */
240
+ @media only screen and (min-width:71em) { /* > 1024 + 6em @ 18px */
241
+ #page {padding:0 3em}
242
+ #sidebar {width:17em}
243
+ #collection-search #q {width:12.5em}
244
+ .blacklight-atrium_collections-edit #main form.atrium ol {width:37em}
245
+ }
246
+
247
+ @media only screen and (min-width:64.5em) { /* > 1024 */
248
+ }