blacklight-spotlight 2.13.0 → 3.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/blacklight/add_circle.svg +1 -0
  3. data/app/assets/images/blacklight/arrow_back_ios.svg +1 -0
  4. data/app/assets/images/blacklight/arrow_forward_ios.svg +1 -0
  5. data/app/assets/images/blacklight/check.svg +1 -0
  6. data/app/assets/images/blacklight/check_circle.svg +1 -0
  7. data/app/assets/images/blacklight/chevron_right.svg +1 -0
  8. data/app/assets/images/blacklight/custom_fullscreen.svg +1 -0
  9. data/app/assets/images/blacklight/edit.svg +1 -0
  10. data/app/assets/images/blacklight/error.svg +1 -0
  11. data/app/assets/images/blacklight/info.svg +1 -0
  12. data/app/assets/images/blacklight/remove_circle.svg +1 -0
  13. data/app/assets/images/blacklight/remove_circle_outline.svg +1 -0
  14. data/app/assets/images/blacklight/resize_small.svg +1 -0
  15. data/app/assets/images/blacklight/warning.svg +1 -0
  16. data/app/assets/javascripts/spotlight/admin/block_mixins/autocompleteable.js +1 -1
  17. data/app/assets/javascripts/spotlight/admin/block_mixins/plustextable.js +2 -2
  18. data/app/assets/javascripts/spotlight/admin/blocks/browse_block.js +1 -1
  19. data/app/assets/javascripts/spotlight/admin/blocks/pages_block.js +1 -1
  20. data/app/assets/javascripts/spotlight/admin/blocks/resources_block.js +7 -7
  21. data/app/assets/javascripts/spotlight/admin/blocks/solr_documents_base_block.js +3 -3
  22. data/app/assets/javascripts/spotlight/admin/blocks/uploaded_items_block.js +7 -7
  23. data/app/assets/javascripts/spotlight/admin/catalog_edit.js +2 -2
  24. data/app/assets/javascripts/spotlight/admin/multi_image_selector.js +2 -2
  25. data/app/assets/javascripts/spotlight/admin/reindex_monitor.js +1 -1
  26. data/app/assets/javascripts/spotlight/admin/search_typeahead.js +2 -2
  27. data/app/assets/javascripts/spotlight/admin/sir-trevor/block_controls.js +1 -1
  28. data/app/assets/javascripts/spotlight/admin/users.js +1 -1
  29. data/app/assets/javascripts/spotlight/user/index.js +1 -0
  30. data/app/assets/javascripts/spotlight/user/zpr_links.js.erb +6 -6
  31. data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +44 -4
  32. data/app/assets/stylesheets/spotlight/_blacklight_overrides.scss +4 -8
  33. data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +31 -14
  34. data/app/assets/stylesheets/spotlight/_browse.scss +16 -13
  35. data/app/assets/stylesheets/spotlight/_catalog.scss +13 -7
  36. data/app/assets/stylesheets/spotlight/_collapse_toggle.scss +10 -14
  37. data/app/assets/stylesheets/spotlight/_curation.scss +34 -32
  38. data/app/assets/stylesheets/spotlight/_exhibit_admin.scss +4 -29
  39. data/app/assets/stylesheets/spotlight/_exhibits_index.scss +16 -14
  40. data/app/assets/stylesheets/spotlight/_featured_browse_categories_block.scss +22 -20
  41. data/app/assets/stylesheets/spotlight/_footer.scss +2 -2
  42. data/app/assets/stylesheets/spotlight/_header.scss +18 -39
  43. data/app/assets/stylesheets/spotlight/_item_text_block.scss +1 -24
  44. data/app/assets/stylesheets/spotlight/_mixins.scss +3 -8
  45. data/app/assets/stylesheets/spotlight/_multi_up_item_grid.scss +1 -1
  46. data/app/assets/stylesheets/spotlight/_nestable.scss +1 -2
  47. data/app/assets/stylesheets/spotlight/_pages.scss +33 -54
  48. data/app/assets/stylesheets/spotlight/_report_a_problem.scss +7 -1
  49. data/app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss +9 -9
  50. data/app/assets/stylesheets/spotlight/_slideshow_block.scss +13 -11
  51. data/app/assets/stylesheets/spotlight/_spotlight.scss +0 -1
  52. data/app/assets/stylesheets/spotlight/_translations.scss +12 -12
  53. data/app/assets/stylesheets/spotlight/_variables.scss +14 -15
  54. data/app/assets/stylesheets/spotlight/_variables_bootstrap.scss +7 -7
  55. data/app/assets/stylesheets/spotlight/typeahead.css +1 -1
  56. data/app/builders/spotlight/bootstrap_breadcrumbs_builder.rb +3 -2
  57. data/app/controllers/concerns/spotlight/catalog.rb +1 -1
  58. data/app/controllers/concerns/spotlight/controller.rb +3 -3
  59. data/app/controllers/concerns/spotlight/search_helper.rb +23 -0
  60. data/app/controllers/spotlight/browse_controller.rb +18 -4
  61. data/app/controllers/spotlight/catalog_controller.rb +13 -17
  62. data/app/controllers/spotlight/dashboards_controller.rb +5 -1
  63. data/app/controllers/spotlight/exhibits_controller.rb +1 -1
  64. data/app/controllers/spotlight/home_pages_controller.rb +32 -3
  65. data/app/controllers/spotlight/pages_controller.rb +19 -1
  66. data/app/controllers/spotlight/search_configurations_controller.rb +3 -3
  67. data/app/controllers/spotlight/searches_controller.rb +4 -1
  68. data/app/controllers/spotlight/solr_controller.rb +1 -2
  69. data/app/helpers/spotlight/application_helper.rb +1 -1
  70. data/app/helpers/spotlight/browse_helper.rb +1 -1
  71. data/app/helpers/spotlight/crud_link_helpers.rb +19 -0
  72. data/app/helpers/spotlight/pages_helper.rb +1 -1
  73. data/app/mailers/spotlight/contact_mailer.rb +1 -1
  74. data/app/models/concerns/spotlight/access_controls_enforcement_search_builder.rb +2 -2
  75. data/app/models/concerns/spotlight/exhibit_analytics.rb +1 -3
  76. data/app/models/concerns/spotlight/exhibit_documents.rb +1 -1
  77. data/app/models/sir_trevor_rails/blocks/solr_documents_block.rb +11 -3
  78. data/app/models/spotlight/ability.rb +1 -1
  79. data/app/models/spotlight/analytics/ga.rb +25 -35
  80. data/app/models/spotlight/analytics/ga_model.rb +29 -0
  81. data/app/models/spotlight/blacklight_configuration.rb +5 -3
  82. data/app/models/spotlight/contact_form.rb +11 -4
  83. data/app/models/spotlight/exhibit.rb +0 -4
  84. data/app/models/spotlight/field_metadata.rb +3 -9
  85. data/app/models/spotlight/page.rb +0 -3
  86. data/app/models/spotlight/page_configurations.rb +1 -1
  87. data/app/models/spotlight/role.rb +0 -4
  88. data/app/models/spotlight/search.rb +3 -17
  89. data/app/presenters/spotlight/iiif_manifest_presenter.rb +5 -1
  90. data/app/serializers/spotlight/exhibit_export_serializer.rb +69 -28
  91. data/app/serializers/spotlight/page_representer.rb +1 -1
  92. data/app/views/catalog/_save_search.html.erb +6 -4
  93. data/app/views/devise/mailer/invitation_instructions.html.erb +1 -1
  94. data/app/views/layouts/spotlight/base.html.erb +48 -0
  95. data/app/views/layouts/spotlight/spotlight.html.erb +16 -54
  96. data/app/views/shared/_about_navbar.html.erb +2 -2
  97. data/app/views/shared/_browse_navbar.html.erb +2 -2
  98. data/app/views/shared/_curated_features_navbar.html.erb +4 -4
  99. data/app/views/shared/_exhibit_navbar.html.erb +5 -5
  100. data/app/views/shared/_header_navbar.html.erb +8 -13
  101. data/app/views/shared/_masthead.html.erb +1 -1
  102. data/app/views/shared/_site_sidebar.html.erb +6 -6
  103. data/app/views/shared/_user_util_links.html.erb +47 -0
  104. data/app/views/spotlight/about_pages/_contact.html.erb +3 -4
  105. data/app/views/spotlight/about_pages/_contacts.html.erb +1 -1
  106. data/app/views/spotlight/about_pages/_sidebar.html.erb +3 -5
  107. data/app/views/spotlight/about_pages/index.html.erb +7 -6
  108. data/app/views/spotlight/admin_users/index.html.erb +78 -79
  109. data/app/views/spotlight/appearances/edit.html.erb +26 -23
  110. data/app/views/spotlight/browse/_search.html.erb +2 -2
  111. data/app/views/spotlight/browse/_search_box.html.erb +9 -6
  112. data/app/views/spotlight/browse/_search_title.html.erb +1 -1
  113. data/app/views/spotlight/browse/_sort_and_per_page.html.erb +3 -5
  114. data/app/views/spotlight/browse/index.html.erb +4 -6
  115. data/app/views/spotlight/browse/show.html.erb +1 -1
  116. data/app/views/spotlight/catalog/_admin_header.html.erb +2 -2
  117. data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +1 -1
  118. data/app/views/spotlight/catalog/_document_admin_table.html.erb +4 -4
  119. data/app/views/spotlight/catalog/_edit_sidecar.html.erb +1 -1
  120. data/app/views/spotlight/catalog/_index_compact_default.html.erb +1 -2
  121. data/app/views/spotlight/catalog/_reindex_progress_panel.html.erb +3 -5
  122. data/app/views/spotlight/catalog/admin.html.erb +12 -12
  123. data/app/views/spotlight/contact_forms/new.html.erb +1 -3
  124. data/app/views/spotlight/contacts/edit.html.erb +6 -5
  125. data/app/views/spotlight/contacts/new.html.erb +6 -5
  126. data/app/views/spotlight/custom_fields/edit.html.erb +6 -5
  127. data/app/views/spotlight/custom_fields/new.html.erb +6 -5
  128. data/app/views/spotlight/dashboards/_analytics.html.erb +3 -3
  129. data/app/views/spotlight/dashboards/_page.html.erb +6 -6
  130. data/app/views/spotlight/dashboards/_page_activity.html.erb +5 -5
  131. data/app/views/spotlight/dashboards/_reindexing_activity.html.erb +12 -12
  132. data/app/views/spotlight/dashboards/analytics.html.erb +11 -11
  133. data/app/views/spotlight/dashboards/show.html.erb +13 -13
  134. data/app/views/spotlight/exhibits/_confirmation_status.html.erb +3 -4
  135. data/app/views/spotlight/exhibits/_contact.html.erb +3 -3
  136. data/app/views/spotlight/exhibits/_delete.html.erb +7 -5
  137. data/app/views/spotlight/exhibits/_exhibit_card.html.erb +2 -2
  138. data/app/views/spotlight/exhibits/_exhibit_card_front.html.erb +2 -2
  139. data/app/views/spotlight/exhibits/_form.html.erb +5 -5
  140. data/app/views/spotlight/exhibits/_languages.html.erb +2 -2
  141. data/app/views/spotlight/exhibits/_new_exhibit_form.html.erb +0 -2
  142. data/app/views/spotlight/exhibits/edit.html.erb +43 -42
  143. data/app/views/spotlight/exhibits/index.html.erb +40 -41
  144. data/app/views/spotlight/exhibits/new.html.erb +4 -5
  145. data/app/views/spotlight/feature_pages/_header.html.erb +12 -14
  146. data/app/views/spotlight/feature_pages/_sidebar.html.erb +2 -4
  147. data/app/views/spotlight/featured_images/_form.html.erb +4 -4
  148. data/app/views/spotlight/filters/_form.html.erb +1 -1
  149. data/app/views/spotlight/home_pages/_edit_page_link.html.erb +1 -1
  150. data/app/views/spotlight/home_pages/_sidebar.html.erb +1 -3
  151. data/app/views/spotlight/metadata_configurations/_metadata_field.html.erb +4 -4
  152. data/app/views/spotlight/metadata_configurations/edit.html.erb +5 -4
  153. data/app/views/spotlight/pages/_edit_page_link.html.erb +1 -1
  154. data/app/views/spotlight/pages/_form.html.erb +7 -7
  155. data/app/views/spotlight/pages/_order_pages.html.erb +2 -2
  156. data/app/views/spotlight/pages/_page.html.erb +11 -11
  157. data/app/views/spotlight/pages/_view_type_group.html.erb +1 -1
  158. data/app/views/spotlight/pages/edit.html.erb +2 -4
  159. data/app/views/spotlight/pages/index.html.erb +5 -4
  160. data/app/views/spotlight/pages/show.html.erb +5 -4
  161. data/app/views/spotlight/resources/_external_resources_form.html.erb +2 -2
  162. data/app/views/spotlight/resources/_form.html.erb +1 -1
  163. data/app/views/spotlight/resources/csv_upload/_form.html.erb +1 -1
  164. data/app/views/spotlight/resources/iiif/_form.html.erb +1 -1
  165. data/app/views/spotlight/resources/json_upload/_form.html.erb +1 -1
  166. data/app/views/spotlight/resources/new.html.erb +25 -23
  167. data/app/views/spotlight/resources/upload/_form.html.erb +2 -2
  168. data/app/views/spotlight/roles/index.html.erb +60 -57
  169. data/app/views/spotlight/search_configurations/_facet_metadata.html.erb +3 -1
  170. data/app/views/spotlight/search_configurations/_facets.html.erb +19 -18
  171. data/app/views/spotlight/search_configurations/_search_fields.html.erb +6 -6
  172. data/app/views/spotlight/search_configurations/_sort.html.erb +6 -6
  173. data/app/views/spotlight/search_configurations/edit.html.erb +42 -40
  174. data/app/views/spotlight/searches/_form.html.erb +15 -10
  175. data/app/views/spotlight/searches/_search.html.erb +29 -22
  176. data/app/views/spotlight/searches/edit.html.erb +6 -5
  177. data/app/views/spotlight/searches/index.html.erb +32 -31
  178. data/app/views/spotlight/shared/_configuration_sidebar.html.erb +6 -6
  179. data/app/views/spotlight/shared/_curation_sidebar.html.erb +8 -9
  180. data/app/views/spotlight/shared/_exhibit_sidebar.html.erb +6 -8
  181. data/app/views/spotlight/shared/_locale_picker.html.erb +3 -3
  182. data/app/views/spotlight/shared/_report_a_problem.html.erb +2 -2
  183. data/app/views/spotlight/sir_trevor/blocks/_browse_block.html.erb +1 -1
  184. data/app/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb +1 -1
  185. data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +2 -2
  186. data/app/views/spotlight/sir_trevor/blocks/_search_results_block.html.erb +2 -2
  187. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +8 -8
  188. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +8 -8
  189. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +3 -4
  190. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb +32 -31
  191. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +5 -5
  192. data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +8 -10
  193. data/app/views/spotlight/sites/edit.html.erb +31 -34
  194. data/app/views/spotlight/sites/edit_exhibits.html.erb +28 -29
  195. data/app/views/spotlight/tags/index.html.erb +25 -24
  196. data/app/views/spotlight/translations/_browse_categories.html.erb +20 -15
  197. data/app/views/spotlight/translations/_general.html.erb +69 -91
  198. data/app/views/spotlight/translations/_metadata.html.erb +18 -14
  199. data/app/views/spotlight/translations/_page.html.erb +2 -2
  200. data/app/views/spotlight/translations/_search_fields.html.erb +26 -20
  201. data/app/views/spotlight/translations/edit.html.erb +16 -14
  202. data/config/locales/spotlight.en.yml +3 -0
  203. data/config/routes.rb +1 -1
  204. data/lib/generators/spotlight/install_generator.rb +2 -2
  205. data/lib/generators/spotlight/scaffold_resource_generator.rb +1 -1
  206. data/lib/generators/spotlight/templates/spotlight.scss +0 -1
  207. data/lib/spotlight/engine.rb +12 -0
  208. data/lib/spotlight/version.rb +1 -1
  209. data/spec/controllers/application_controller_spec.rb +2 -2
  210. data/spec/controllers/spotlight/browse_controller_spec.rb +1 -1
  211. data/spec/controllers/spotlight/catalog_controller_spec.rb +13 -13
  212. data/spec/controllers/spotlight/dashboards_controller_spec.rb +2 -1
  213. data/spec/controllers/spotlight/search_configurations_controller_spec.rb +1 -1
  214. data/spec/examples.txt +50 -1489
  215. data/spec/features/add_items_spec.rb +2 -2
  216. data/spec/features/browse_category_admin_spec.rb +3 -3
  217. data/spec/features/browse_category_spec.rb +3 -3
  218. data/spec/features/catalog_spec.rb +1 -1
  219. data/spec/features/exhibits/translation_editing_spec.rb +21 -21
  220. data/spec/features/feature_page_spec.rb +1 -1
  221. data/spec/features/home_page_spec.rb +3 -3
  222. data/spec/features/javascript/blocks/featured_browse_categories_block_spec.rb +1 -1
  223. data/spec/features/javascript/blocks/link_to_search_block_spec.rb +1 -1
  224. data/spec/features/javascript/blocks/search_result_block_spec.rb +9 -4
  225. data/spec/features/javascript/blocks/solr_documents_block_spec.rb +23 -15
  226. data/spec/features/javascript/blocks/solr_documents_carousel_block_spec.rb +29 -0
  227. data/spec/features/javascript/blocks/uploaded_items_block_spec.rb +2 -2
  228. data/spec/features/javascript/edit_in_place_spec.rb +1 -0
  229. data/spec/features/javascript/feature_page_admin_spec.rb +11 -11
  230. data/spec/features/javascript/locale_selector_spec.rb +0 -1
  231. data/spec/features/javascript/multi_image_select_spec.rb +3 -3
  232. data/spec/features/javascript/reindex_monitor_spec.rb +2 -2
  233. data/spec/features/javascript/roles_admin_spec.rb +2 -2
  234. data/spec/features/javascript/search_context_spec.rb +4 -6
  235. data/spec/features/site_users_management_spec.rb +1 -1
  236. data/spec/helpers/spotlight/application_helper_spec.rb +2 -1
  237. data/spec/helpers/spotlight/crud_link_helpers_spec.rb +19 -0
  238. data/spec/helpers/spotlight/languages_helper_spec.rb +1 -0
  239. data/spec/lib/spotlight/controller_spec.rb +2 -2
  240. data/spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb +38 -0
  241. data/spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb +7 -6
  242. data/spec/models/spotlight/analytics/ga_spec.rb +16 -1
  243. data/spec/models/spotlight/contact_form_spec.rb +37 -5
  244. data/spec/models/spotlight/exhibit_spec.rb +8 -4
  245. data/spec/presenters/spotlight/iiif_manifest_presenter_spec.rb +4 -0
  246. data/spec/routing/spotlight/exhibit_catalog_spec.rb +15 -11
  247. data/spec/serializers/spotlight/exhibit_export_serializer_spec.rb +60 -0
  248. data/spec/test_app_templates/Gemfile.extra +3 -0
  249. data/spec/test_app_templates/catalog_controller.rb +4 -0
  250. data/spec/test_app_templates/lib/generators/test_app_generator.rb +2 -2
  251. data/spec/views/shared/_header_navbar.html.erb_spec.rb +1 -1
  252. data/spec/views/shared/_masthead.html.erb_spec.rb +1 -1
  253. data/spec/views/{_user_util_links.html.erb_spec.rb → shared/_user_util_links.html.erb_spec.rb} +1 -1
  254. data/spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb +2 -2
  255. data/spec/views/spotlight/about_pages/index.html.erb_spec.rb +2 -2
  256. data/spec/views/spotlight/browse/_search.html.erb_spec.rb +1 -1
  257. data/spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb +2 -13
  258. data/spec/views/spotlight/browse/show.html.erb_spec.rb +2 -2
  259. data/spec/views/spotlight/catalog/admin.html.erb_spec.rb +1 -1
  260. data/spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb +5 -5
  261. data/spec/views/spotlight/dashboards/analytics.html.erb_spec.rb +1 -1
  262. data/spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb +2 -2
  263. data/spec/views/spotlight/exhibits/edit.html.erb_spec.rb +1 -1
  264. data/spec/views/spotlight/exhibits/index.html.erb_spec.rb +1 -1
  265. data/spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb +7 -7
  266. data/spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb +3 -2
  267. data/spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb +2 -1
  268. data/spec/views/spotlight/pages/index.html.erb_spec.rb +2 -2
  269. data/spec/views/spotlight/pages/show.html.erb_spec.rb +3 -3
  270. data/spec/views/spotlight/searches/_search.html.erb_spec.rb +1 -1
  271. data/spec/views/spotlight/searches/edit.html.erb_spec.rb +3 -3
  272. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb +3 -3
  273. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb_spec.rb +1 -1
  274. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb +2 -2
  275. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb +1 -1
  276. data/spec/views/spotlight/translations/_page.html.erb_spec.rb +2 -2
  277. data/vendor/assets/javascripts/bootstrap-tagsinput.js +1 -1
  278. data/vendor/assets/stylesheets/sir-trevor/_variables.scss +15 -8
  279. metadata +31 -28
  280. data/app/assets/stylesheets/spotlight/_navbar.scss +0 -48
  281. data/app/views/_user_util_links.html.erb +0 -50
  282. data/app/views/shared/_modal.html.erb +0 -6
@@ -1,6 +1,8 @@
1
- $featured-browse-category-border-color: $legend-border-color;
2
- $featured-browse-category-caption-color: $gray-lighter;
3
-
1
+ $featured-browse-category-border-color: $border-color;
2
+ $featured-browse-category-caption-color: $white;
3
+ $container-tablet: 720px;
4
+ $container-desktop: 960px;
5
+ $container-large-desktop: 1140px;
4
6
  // Large desktop
5
7
  $featured-browse-category-margin-large-desktop: 15px;
6
8
  $no-sidebar-large-desktop-large-image-width: floor(($container-large-desktop)/ 3) - $featured-browse-category-margin-large-desktop;
@@ -35,23 +37,23 @@ $aspect-ratio-factor-medium-image: 1; // 1:1 width: height
35
37
  background-size: cover;
36
38
  background-position: center;
37
39
  border: 2px solid $featured-browse-category-border-color;
38
- border-radius: $border-radius-large;
40
+ border-radius: $border-radius-lg;
39
41
  position: relative;
40
42
  float: left;
41
43
  background-repeat: no-repeat;
42
44
  .category-caption {
43
45
  color: $featured-browse-category-caption-color;
44
46
  position: absolute;
45
- bottom: $line-height-computed;
47
+ bottom: 16px; // assumes default font-size of 16px, using browser default of 1 rem == 16px
46
48
  text-align: center;
47
49
  text-shadow: 0 1px 0 #000000;
48
50
  width: 100%;
49
51
  }
50
52
  .category-title {
51
- font-size: $font-size-large;
53
+ font-size: $font-size-lg;
52
54
  line-height: 1.2;
53
55
  margin: 0;
54
- padding: $table-condensed-cell-padding;
56
+ padding: $spacer / 4;
55
57
  }
56
58
  .item-count {
57
59
  font-size: $font-size-base;
@@ -64,15 +66,15 @@ $aspect-ratio-factor-medium-image: 1; // 1:1 width: height
64
66
  .browse-category {
65
67
  width: $no-sidebar-xs-image-width;
66
68
  height: $no-sidebar-xs-image-width * $aspect-ratio-factor-large-image;
67
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
69
+ @media (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("md")) {
68
70
  width: $no-sidebar-tablet-large-image-width;
69
71
  height: $no-sidebar-tablet-large-image-width * $aspect-ratio-factor-large-image;
70
72
  }
71
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
73
+ @media (min-width: breakpoint-min("md")) and (max-width: breakpoint-max("lg")) {
72
74
  width: $no-sidebar-desktop-large-image-width;
73
75
  height: $no-sidebar-desktop-large-image-width * $aspect-ratio-factor-large-image;
74
76
  }
75
- @media (min-width: $screen-lg-min) {
77
+ @media (min-width: breakpoint-min("lg")) {
76
78
  width: $no-sidebar-large-desktop-large-image-width;
77
79
  height: $no-sidebar-large-desktop-large-image-width * $aspect-ratio-factor-large-image;
78
80
  }
@@ -82,17 +84,17 @@ $aspect-ratio-factor-medium-image: 1; // 1:1 width: height
82
84
  .browse-category {
83
85
  width: $no-sidebar-large-desktop-medium-image-width;
84
86
  height: $no-sidebar-large-desktop-medium-image-width * $aspect-ratio-factor-medium-image;
85
- @media (max-width: $screen-xs-max) {
87
+ @media (max-width: breakpoint-max("sm")) {
86
88
  width: $no-sidebar-xs-image-width;
87
89
  height: $no-sidebar-xs-image-width * $aspect-ratio-factor-medium-image;
88
90
  }
89
91
  }
90
92
  .category-4 {
91
- @extend .hidden-sm;
93
+ @extend .d-sm-none;
92
94
  }
93
95
  .category-5 {
94
- @extend .hidden-md;
95
- @extend .hidden-sm;
96
+ @extend .d-md-none;
97
+ @extend .d-sm-none;
96
98
  }
97
99
  }
98
100
  }
@@ -102,15 +104,15 @@ $aspect-ratio-factor-medium-image: 1; // 1:1 width: height
102
104
  .browse-category {
103
105
  width: $with-sidebar-xs-image-width;
104
106
  height: $with-sidebar-xs-image-width * $aspect-ratio-factor-large-image;
105
- @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
107
+ @media (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("md")) {
106
108
  width: $with-sidebar-tablet-large-image-width;
107
109
  height: $with-sidebar-tablet-large-image-width * $aspect-ratio-factor-large-image;
108
110
  }
109
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
111
+ @media (min-width: breakpoint-min("md")) and (max-width: breakpoint-max("lg")) {
110
112
  width: $with-sidebar-desktop-large-image-width;
111
113
  height: $with-sidebar-desktop-large-image-width * $aspect-ratio-factor-large-image;
112
114
  }
113
- @media (min-width: $screen-lg-min) {
115
+ @media (min-width: breakpoint-min("lg")) {
114
116
  width: $with-sidebar-large-desktop-large-image-width;
115
117
  height: $with-sidebar-large-desktop-large-image-width * $aspect-ratio-factor-large-image;
116
118
  }
@@ -120,11 +122,11 @@ $aspect-ratio-factor-medium-image: 1; // 1:1 width: height
120
122
  .browse-category {
121
123
  width: $with-sidebar-desktop-medium-image-width;
122
124
  height: $with-sidebar-desktop-medium-image-width * $aspect-ratio-factor-medium-image;
123
- @media (max-width: $screen-xs-max) {
125
+ @media (max-width: breakpoint-max("sm")) {
124
126
  width: $with-sidebar-xs-image-width;
125
127
  height: $with-sidebar-xs-image-width * $aspect-ratio-factor-medium-image;
126
128
  }
127
- @media (min-width: $screen-lg-min) {
129
+ @media (min-width: breakpoint-min("lg")) {
128
130
  width: $with-sidebar-large-desktop-medium-image-width;
129
131
  height: $with-sidebar-large-desktop-medium-image-width * $aspect-ratio-factor-medium-image;
130
132
  }
@@ -133,4 +135,4 @@ $aspect-ratio-factor-medium-image: 1; // 1:1 width: height
133
135
  .category-4, .category-5 {
134
136
  display: none;
135
137
  }
136
- }
138
+ }
@@ -1,6 +1,6 @@
1
1
  .site-footer {
2
- background-color: $gray-lighter;
3
- color: $gray-light;
2
+ background-color: $gray-700;
3
+ color: $gray-600;
4
4
  margin-top: $footer-top-margin;
5
5
  padding: 10px;
6
6
 
@@ -7,53 +7,31 @@
7
7
  height: inherit;
8
8
  }
9
9
 
10
- @mixin transparent-masthead-navigation-menu() {
11
- @extend .navbar-transparent;
12
-
13
- border: 0;
14
- border-radius: 0;
15
-
16
- ul.nav.navbar-nav {
17
- > li {
18
- text-transform: uppercase;
19
-
20
- a {
21
- letter-spacing: 1.2px;
22
- }
23
- }
24
-
25
- .dropdown-menu {
26
- text-transform: none;
27
- }
28
- }
29
- }
30
-
31
10
  .navbar-static-top {
32
11
  margin-bottom: 0;
33
12
  }
34
13
 
35
14
  .masthead {
36
15
  background-color: $masthead-bg;
37
- border-bottom: 1px solid $navbar-default-border;
16
+ border-bottom: 1px solid $border-color;
38
17
  margin-bottom: $padding-large-vertical * 2.5;
39
18
  padding: 0;
40
19
  position: relative;
41
- // allow dropdowns in the top nav to stack above the masthead
42
- z-index: $zindex-navbar - 1;
43
20
 
44
21
 
45
22
  .site-title {
46
- padding-bottom: $padding-base-vertical;
23
+ margin-top: $padding-large-vertical;
24
+ padding-bottom: $padding-base-vertical / 2;
47
25
  position: relative;
48
26
  white-space: nowrap;
49
27
  }
50
28
 
51
29
  small {
52
- @extend .hidden-xs;
30
+ @extend .d-none;
31
+ @extend .d-md-block;
32
+ @extend .py-2;
53
33
 
54
- display: block;
55
- padding-bottom: $padding-base-vertical;
56
- padding-top: $padding-base-vertical;
34
+ font-size: $h4-font-size;
57
35
  }
58
36
 
59
37
  .navbar {
@@ -88,20 +66,25 @@
88
66
  }
89
67
 
90
68
  .site-title-container {
91
- max-height: $masthead-height - $navbar-height;
92
- padding-bottom: $padding-large-vertical;
93
- padding-top: $padding-large-vertical;
69
+ @extend .px-4;
70
+ @extend .py-2;
71
+
72
+ max-height: $masthead-height - $navbar-brand-height;
94
73
  }
95
74
 
96
75
  .image-masthead {
97
76
  .navbar {
98
- @include transparent-masthead-navigation-menu();
77
+ @extend .navbar-dark;
99
78
  background-color: $navbar-transparent-page-bg;
79
+ text-transform: uppercase;
80
+ .dropdown-menu {
81
+ text-transform: none;
82
+ }
100
83
  }
101
84
 
102
- .h1 {
85
+ .h2 {
103
86
  color: $white;
104
- text-shadow: 1px 1px 0 $black;
87
+ text-shadow: 1px 1px 0 $gray-900;
105
88
  }
106
89
 
107
90
  small {
@@ -159,8 +142,4 @@
159
142
  position: absolute;
160
143
  width: 1px;
161
144
  }
162
-
163
- .glyphicon-search {
164
- line-height: $line-height-computed;
165
- }
166
145
  }
@@ -3,29 +3,6 @@
3
3
  border: 0.1em solid #d4d4d4;
4
4
  padding: 0 .6em;
5
5
  }
6
- .item-text {
7
- .image-block {
8
- max-width: 30%;
9
-
10
- .thumbnail {
11
- margin-bottom: 5;
12
- }
13
- &.pull-left {
14
- .thumbnail {
15
- margin-right: 15px;
16
- }
17
- }
18
- &.pull-right {
19
- .thumbnail {
20
- margin-left: 15px;
21
- }
22
- }
23
- .primary-caption, .secondary-caption {
24
- text-align: center;
25
- font-style: italic;
26
- }
27
- }
28
- }
29
6
 
30
7
  .st-block input[type="text"] {
31
8
  @extend .form-control;
@@ -49,7 +26,7 @@
49
26
  margin-top: 15px;
50
27
  }
51
28
  .dd3-content {
52
- &.panel-default {
29
+ &.card {
53
30
  padding-left: 0;
54
31
  }
55
32
  }
@@ -1,21 +1,16 @@
1
- @mixin link-highlighting() {
2
- background-color: $nav-link-hover-bg;
3
- text-decoration: none;
4
- }
5
-
6
1
  @mixin edit-in-place-highlighting() {
7
2
  background: #F7F7D0;
8
3
  cursor: text;
9
4
  }
10
5
 
11
6
  @mixin panel-hover-highlighting() {
12
- background-color: $gray-lighter;
7
+ background: $gray-300;
13
8
  }
14
9
 
15
10
  @mixin private-label() {
16
11
  &:after {
17
- @extend .label;
18
- @extend .label-warning;
12
+ @extend .badge;
13
+ @extend .badge-warning;
19
14
  content: 'Private';
20
15
  margin-left: 3px;
21
16
  }
@@ -41,7 +41,7 @@
41
41
  padding: 1em;
42
42
  min-width: 125px;
43
43
 
44
- @media (max-width: $screen-xs-max) {
44
+ @media (max-width: breakpoint-max("sm")) {
45
45
  min-width: 200px;
46
46
  -webkit-flex: 1 1 200px;
47
47
  }
@@ -49,7 +49,7 @@ tr.dd-item {
49
49
  .dd-placeholder,
50
50
  .dd-empty { margin: 5px 0; padding: 0; min-height: 30px; border: 1px dashed #b6bcbf; box-sizing: border-box; }
51
51
  .dd-empty { border: 1px dashed #bbb; min-height: 100px;
52
- background-image: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
52
+ background-image: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
53
53
  linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
54
54
  background-size: 60px 60px;
55
55
  background-position: 0 0, 30px 30px;
@@ -83,7 +83,6 @@ tr.dd-item {
83
83
  .dd3-content.page-admin {
84
84
  position: relative;
85
85
  }
86
- .dd3-content .panel-body {background: white;}
87
86
  .dd-dragel > .dd3-item > .dd3-content { margin: 0; }
88
87
 
89
88
  .dd3-item > button { margin-left: 30px; }
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .primary-actions {
15
- @extend .pull-right;
15
+ @extend .float-right;
16
16
  }
17
17
 
18
18
  #nested-pages {
@@ -23,9 +23,9 @@
23
23
  position: absolute;
24
24
  top: 0;
25
25
  left: 0;
26
- background-color: $panel-info-heading-bg;
26
+ background-color: theme-colors("secondary");
27
27
  padding: 3px 8px;
28
- color: $panel-info-text;
28
+ color: $body-color;
29
29
  font-weight: bold;
30
30
  }
31
31
 
@@ -36,7 +36,7 @@
36
36
 
37
37
  .field-select {
38
38
  margin-bottom: $padding-large-vertical;
39
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
39
+ @media (min-width: breakpoint-min("md")) and (max-width: breakpoint-max("lg")) {
40
40
  margin-bottom: 2 * $padding-large-vertical;
41
41
 
42
42
  > select {
@@ -51,7 +51,7 @@
51
51
  margin-top: $padding-small-vertical;
52
52
  }
53
53
  h4 {
54
- line-height: $line-height-large;
54
+ line-height: $line-height-lg;
55
55
  }
56
56
  .contacts-header {
57
57
  margin-top: 4 * $padding-large-vertical;
@@ -68,30 +68,16 @@
68
68
 
69
69
  ol.sidenav {
70
70
  li {
71
- color: $gray-darker;
72
- a {
73
- &:hover, &:focus {
74
- @include link-highlighting();
75
- }
76
- }
77
- > h4 {
78
- font-size: ceil(($font-size-base * 1.05));
79
- margin-top: 3 * $padding-large-vertical;
80
- > a {
81
- color: $text-color;
82
- display: block;
83
- font-weight: 400;
84
- }
85
- }
71
+ color: $gray-900;
72
+ margin-top: $padding-large-vertical;
86
73
  }
74
+
87
75
  ol.subsection {
88
76
  padding-left: 0;
89
77
  li {
90
78
  list-style: square;
91
79
  margin-left: 18px;
92
- > a {
93
- display: block;
94
- }
80
+ margin-top: $padding-small-vertical;
95
81
  }
96
82
  }
97
83
  }
@@ -104,7 +90,7 @@
104
90
 
105
91
  .contact-photo {
106
92
  border: 1px solid #ccc;
107
- border-radius: $border-radius-base;
93
+ border-radius: $border-radius;
108
94
  float: left;
109
95
  margin-right: 15px;
110
96
  margin-top: 3px;
@@ -113,7 +99,7 @@
113
99
 
114
100
  // Indent contact fields so they align evenly, only when there is a contact photo
115
101
  .sidenav.contacts .contact-photo + div[itemprop] ~ div[itemprop] {
116
- margin-left: 87px;
102
+ margin-left: 85px;
117
103
  }
118
104
 
119
105
  .item-grid-block {
@@ -132,8 +118,8 @@
132
118
  justify-content: space-between;
133
119
  align-content: stretch;
134
120
 
135
- @media (max-width: $screen-sm-max) {
136
- margin-bottom: $line-height-computed;
121
+ @media (max-width: breakpoint-max("md")) {
122
+ margin-bottom: $line-height-lg;
137
123
  }
138
124
  }
139
125
 
@@ -145,30 +131,23 @@
145
131
  order: 1;
146
132
  padding: 5px;
147
133
 
148
- @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
134
+ @media (min-width: breakpoint-min("md")) and (max-width: breakpoint-max("lg")) {
149
135
  min-width: 128px;
150
136
  }
151
137
  }
152
138
 
153
- .thumbnail {
154
- border: 1px solid $gray-lighter;
155
- border-radius: 0;
156
- margin: 0;
157
- padding: 0;
158
-
159
- img {
160
- border: 1px solid $gray-light;
161
- width: 100%;
162
- height: 110px;
163
- object-fit: cover;
164
- overflow: hidden;
165
-
166
- @media (min-width: $screen-lg-min) {
167
- height: 160px; // default: no sidebar, no text column
168
- // reduce height if on a page with a sidebar or text column, because will be less wide
169
- .col-md-9 & {
170
- height: 125px;
171
- }
139
+ .img-thumbnail {
140
+ border: 1px solid $gray-600;
141
+ width: 100%;
142
+ height: 110px;
143
+ object-fit: cover;
144
+ overflow: hidden;
145
+
146
+ @media (min-width: breakpoint-min("lg")) {
147
+ height: 160px; // default: no sidebar, no text column
148
+ // reduce height if on a page with a sidebar or text column, because will be less wide
149
+ .col-md-9 & {
150
+ height: 125px;
172
151
  }
173
152
  }
174
153
  }
@@ -188,7 +167,7 @@
188
167
 
189
168
  .thumbnail img {
190
169
  height: 210px;
191
- @media (min-width: $screen-lg-min) {
170
+ @media (min-width: breakpoint-min("lg")) {
192
171
  height: 270px; // default: no sidebar, no text column
193
172
  // reduce height if on a page with a sidebar or text column, because will be less wide
194
173
  .col-md-9 & {
@@ -228,12 +207,12 @@
228
207
  }
229
208
 
230
209
  .oembed-block {
231
- @media (max-width: $screen-sm-max) {
210
+ @media (max-width: breakpoint-max("md")) {
232
211
  margin-bottom: $padding-base-horizontal;
233
212
  }
234
213
 
235
214
  iframe {
236
- @media (min-width: $screen-md-min) {
215
+ @media (min-width: breakpoint-min("md")) {
237
216
  max-width: 100%;
238
217
  }
239
218
  }
@@ -248,7 +227,7 @@
248
227
  .items-col {
249
228
  z-index: 1;
250
229
 
251
- @media (max-width: $screen-sm-max) {
230
+ @media (max-width: breakpoint-max("md")) {
252
231
  margin-bottom: 0;
253
232
  }
254
233
 
@@ -271,12 +250,12 @@
271
250
  img {
272
251
  max-height: 250px;
273
252
  object-fit: cover;
274
- @media (max-width: $screen-sm-max) {
253
+ @media (max-width: breakpoint-max("md")) {
275
254
  max-height: 175px;
276
255
  }
277
256
  }
278
257
 
279
- @media (max-width: $screen-sm-max) {
258
+ @media (max-width: breakpoint-max("md")) {
280
259
  -webkit-flex: 1 1 175px;
281
260
  }
282
261
  }
@@ -285,7 +264,7 @@
285
264
  }
286
265
 
287
266
  .item-features .carousel-indicators {
288
- @media (max-width: $screen-xs-max) {
267
+ @media (max-width: breakpoint-max("sm")) {
289
268
  width: 100%;
290
269
  margin-top: 2 * $padding-large-vertical;
291
270
  }