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.
- checksums.yaml +4 -4
- data/app/assets/images/blacklight/add_circle.svg +1 -0
- data/app/assets/images/blacklight/arrow_back_ios.svg +1 -0
- data/app/assets/images/blacklight/arrow_forward_ios.svg +1 -0
- data/app/assets/images/blacklight/check.svg +1 -0
- data/app/assets/images/blacklight/check_circle.svg +1 -0
- data/app/assets/images/blacklight/chevron_right.svg +1 -0
- data/app/assets/images/blacklight/custom_fullscreen.svg +1 -0
- data/app/assets/images/blacklight/edit.svg +1 -0
- data/app/assets/images/blacklight/error.svg +1 -0
- data/app/assets/images/blacklight/info.svg +1 -0
- data/app/assets/images/blacklight/remove_circle.svg +1 -0
- data/app/assets/images/blacklight/remove_circle_outline.svg +1 -0
- data/app/assets/images/blacklight/resize_small.svg +1 -0
- data/app/assets/images/blacklight/warning.svg +1 -0
- data/app/assets/javascripts/spotlight/admin/block_mixins/autocompleteable.js +1 -1
- data/app/assets/javascripts/spotlight/admin/block_mixins/plustextable.js +2 -2
- data/app/assets/javascripts/spotlight/admin/blocks/browse_block.js +1 -1
- data/app/assets/javascripts/spotlight/admin/blocks/pages_block.js +1 -1
- data/app/assets/javascripts/spotlight/admin/blocks/resources_block.js +7 -7
- data/app/assets/javascripts/spotlight/admin/blocks/solr_documents_base_block.js +3 -3
- data/app/assets/javascripts/spotlight/admin/blocks/uploaded_items_block.js +7 -7
- data/app/assets/javascripts/spotlight/admin/catalog_edit.js +2 -2
- data/app/assets/javascripts/spotlight/admin/multi_image_selector.js +2 -2
- data/app/assets/javascripts/spotlight/admin/reindex_monitor.js +1 -1
- data/app/assets/javascripts/spotlight/admin/search_typeahead.js +2 -2
- data/app/assets/javascripts/spotlight/admin/sir-trevor/block_controls.js +1 -1
- data/app/assets/javascripts/spotlight/admin/users.js +1 -1
- data/app/assets/javascripts/spotlight/user/index.js +1 -0
- data/app/assets/javascripts/spotlight/user/zpr_links.js.erb +6 -6
- data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +44 -4
- data/app/assets/stylesheets/spotlight/_blacklight_overrides.scss +4 -8
- data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +31 -14
- data/app/assets/stylesheets/spotlight/_browse.scss +16 -13
- data/app/assets/stylesheets/spotlight/_catalog.scss +13 -7
- data/app/assets/stylesheets/spotlight/_collapse_toggle.scss +10 -14
- data/app/assets/stylesheets/spotlight/_curation.scss +34 -32
- data/app/assets/stylesheets/spotlight/_exhibit_admin.scss +4 -29
- data/app/assets/stylesheets/spotlight/_exhibits_index.scss +16 -14
- data/app/assets/stylesheets/spotlight/_featured_browse_categories_block.scss +22 -20
- data/app/assets/stylesheets/spotlight/_footer.scss +2 -2
- data/app/assets/stylesheets/spotlight/_header.scss +18 -39
- data/app/assets/stylesheets/spotlight/_item_text_block.scss +1 -24
- data/app/assets/stylesheets/spotlight/_mixins.scss +3 -8
- data/app/assets/stylesheets/spotlight/_multi_up_item_grid.scss +1 -1
- data/app/assets/stylesheets/spotlight/_nestable.scss +1 -2
- data/app/assets/stylesheets/spotlight/_pages.scss +33 -54
- data/app/assets/stylesheets/spotlight/_report_a_problem.scss +7 -1
- data/app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss +9 -9
- data/app/assets/stylesheets/spotlight/_slideshow_block.scss +13 -11
- data/app/assets/stylesheets/spotlight/_spotlight.scss +0 -1
- data/app/assets/stylesheets/spotlight/_translations.scss +12 -12
- data/app/assets/stylesheets/spotlight/_variables.scss +14 -15
- data/app/assets/stylesheets/spotlight/_variables_bootstrap.scss +7 -7
- data/app/assets/stylesheets/spotlight/typeahead.css +1 -1
- data/app/builders/spotlight/bootstrap_breadcrumbs_builder.rb +3 -2
- data/app/controllers/concerns/spotlight/catalog.rb +1 -1
- data/app/controllers/concerns/spotlight/controller.rb +3 -3
- data/app/controllers/concerns/spotlight/search_helper.rb +23 -0
- data/app/controllers/spotlight/browse_controller.rb +18 -4
- data/app/controllers/spotlight/catalog_controller.rb +13 -17
- data/app/controllers/spotlight/dashboards_controller.rb +5 -1
- data/app/controllers/spotlight/exhibits_controller.rb +1 -1
- data/app/controllers/spotlight/home_pages_controller.rb +32 -3
- data/app/controllers/spotlight/pages_controller.rb +19 -1
- data/app/controllers/spotlight/search_configurations_controller.rb +3 -3
- data/app/controllers/spotlight/searches_controller.rb +4 -1
- data/app/controllers/spotlight/solr_controller.rb +1 -2
- data/app/helpers/spotlight/application_helper.rb +1 -1
- data/app/helpers/spotlight/browse_helper.rb +1 -1
- data/app/helpers/spotlight/crud_link_helpers.rb +19 -0
- data/app/helpers/spotlight/pages_helper.rb +1 -1
- data/app/mailers/spotlight/contact_mailer.rb +1 -1
- data/app/models/concerns/spotlight/access_controls_enforcement_search_builder.rb +2 -2
- data/app/models/concerns/spotlight/exhibit_analytics.rb +1 -3
- data/app/models/concerns/spotlight/exhibit_documents.rb +1 -1
- data/app/models/sir_trevor_rails/blocks/solr_documents_block.rb +11 -3
- data/app/models/spotlight/ability.rb +1 -1
- data/app/models/spotlight/analytics/ga.rb +25 -35
- data/app/models/spotlight/analytics/ga_model.rb +29 -0
- data/app/models/spotlight/blacklight_configuration.rb +5 -3
- data/app/models/spotlight/contact_form.rb +11 -4
- data/app/models/spotlight/exhibit.rb +0 -4
- data/app/models/spotlight/field_metadata.rb +3 -9
- data/app/models/spotlight/page.rb +0 -3
- data/app/models/spotlight/page_configurations.rb +1 -1
- data/app/models/spotlight/role.rb +0 -4
- data/app/models/spotlight/search.rb +3 -17
- data/app/presenters/spotlight/iiif_manifest_presenter.rb +5 -1
- data/app/serializers/spotlight/exhibit_export_serializer.rb +69 -28
- data/app/serializers/spotlight/page_representer.rb +1 -1
- data/app/views/catalog/_save_search.html.erb +6 -4
- data/app/views/devise/mailer/invitation_instructions.html.erb +1 -1
- data/app/views/layouts/spotlight/base.html.erb +48 -0
- data/app/views/layouts/spotlight/spotlight.html.erb +16 -54
- data/app/views/shared/_about_navbar.html.erb +2 -2
- data/app/views/shared/_browse_navbar.html.erb +2 -2
- data/app/views/shared/_curated_features_navbar.html.erb +4 -4
- data/app/views/shared/_exhibit_navbar.html.erb +5 -5
- data/app/views/shared/_header_navbar.html.erb +8 -13
- data/app/views/shared/_masthead.html.erb +1 -1
- data/app/views/shared/_site_sidebar.html.erb +6 -6
- data/app/views/shared/_user_util_links.html.erb +47 -0
- data/app/views/spotlight/about_pages/_contact.html.erb +3 -4
- data/app/views/spotlight/about_pages/_contacts.html.erb +1 -1
- data/app/views/spotlight/about_pages/_sidebar.html.erb +3 -5
- data/app/views/spotlight/about_pages/index.html.erb +7 -6
- data/app/views/spotlight/admin_users/index.html.erb +78 -79
- data/app/views/spotlight/appearances/edit.html.erb +26 -23
- data/app/views/spotlight/browse/_search.html.erb +2 -2
- data/app/views/spotlight/browse/_search_box.html.erb +9 -6
- data/app/views/spotlight/browse/_search_title.html.erb +1 -1
- data/app/views/spotlight/browse/_sort_and_per_page.html.erb +3 -5
- data/app/views/spotlight/browse/index.html.erb +4 -6
- data/app/views/spotlight/browse/show.html.erb +1 -1
- data/app/views/spotlight/catalog/_admin_header.html.erb +2 -2
- data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +1 -1
- data/app/views/spotlight/catalog/_document_admin_table.html.erb +4 -4
- data/app/views/spotlight/catalog/_edit_sidecar.html.erb +1 -1
- data/app/views/spotlight/catalog/_index_compact_default.html.erb +1 -2
- data/app/views/spotlight/catalog/_reindex_progress_panel.html.erb +3 -5
- data/app/views/spotlight/catalog/admin.html.erb +12 -12
- data/app/views/spotlight/contact_forms/new.html.erb +1 -3
- data/app/views/spotlight/contacts/edit.html.erb +6 -5
- data/app/views/spotlight/contacts/new.html.erb +6 -5
- data/app/views/spotlight/custom_fields/edit.html.erb +6 -5
- data/app/views/spotlight/custom_fields/new.html.erb +6 -5
- data/app/views/spotlight/dashboards/_analytics.html.erb +3 -3
- data/app/views/spotlight/dashboards/_page.html.erb +6 -6
- data/app/views/spotlight/dashboards/_page_activity.html.erb +5 -5
- data/app/views/spotlight/dashboards/_reindexing_activity.html.erb +12 -12
- data/app/views/spotlight/dashboards/analytics.html.erb +11 -11
- data/app/views/spotlight/dashboards/show.html.erb +13 -13
- data/app/views/spotlight/exhibits/_confirmation_status.html.erb +3 -4
- data/app/views/spotlight/exhibits/_contact.html.erb +3 -3
- data/app/views/spotlight/exhibits/_delete.html.erb +7 -5
- data/app/views/spotlight/exhibits/_exhibit_card.html.erb +2 -2
- data/app/views/spotlight/exhibits/_exhibit_card_front.html.erb +2 -2
- data/app/views/spotlight/exhibits/_form.html.erb +5 -5
- data/app/views/spotlight/exhibits/_languages.html.erb +2 -2
- data/app/views/spotlight/exhibits/_new_exhibit_form.html.erb +0 -2
- data/app/views/spotlight/exhibits/edit.html.erb +43 -42
- data/app/views/spotlight/exhibits/index.html.erb +40 -41
- data/app/views/spotlight/exhibits/new.html.erb +4 -5
- data/app/views/spotlight/feature_pages/_header.html.erb +12 -14
- data/app/views/spotlight/feature_pages/_sidebar.html.erb +2 -4
- data/app/views/spotlight/featured_images/_form.html.erb +4 -4
- data/app/views/spotlight/filters/_form.html.erb +1 -1
- data/app/views/spotlight/home_pages/_edit_page_link.html.erb +1 -1
- data/app/views/spotlight/home_pages/_sidebar.html.erb +1 -3
- data/app/views/spotlight/metadata_configurations/_metadata_field.html.erb +4 -4
- data/app/views/spotlight/metadata_configurations/edit.html.erb +5 -4
- data/app/views/spotlight/pages/_edit_page_link.html.erb +1 -1
- data/app/views/spotlight/pages/_form.html.erb +7 -7
- data/app/views/spotlight/pages/_order_pages.html.erb +2 -2
- data/app/views/spotlight/pages/_page.html.erb +11 -11
- data/app/views/spotlight/pages/_view_type_group.html.erb +1 -1
- data/app/views/spotlight/pages/edit.html.erb +2 -4
- data/app/views/spotlight/pages/index.html.erb +5 -4
- data/app/views/spotlight/pages/show.html.erb +5 -4
- data/app/views/spotlight/resources/_external_resources_form.html.erb +2 -2
- data/app/views/spotlight/resources/_form.html.erb +1 -1
- data/app/views/spotlight/resources/csv_upload/_form.html.erb +1 -1
- data/app/views/spotlight/resources/iiif/_form.html.erb +1 -1
- data/app/views/spotlight/resources/json_upload/_form.html.erb +1 -1
- data/app/views/spotlight/resources/new.html.erb +25 -23
- data/app/views/spotlight/resources/upload/_form.html.erb +2 -2
- data/app/views/spotlight/roles/index.html.erb +60 -57
- data/app/views/spotlight/search_configurations/_facet_metadata.html.erb +3 -1
- data/app/views/spotlight/search_configurations/_facets.html.erb +19 -18
- data/app/views/spotlight/search_configurations/_search_fields.html.erb +6 -6
- data/app/views/spotlight/search_configurations/_sort.html.erb +6 -6
- data/app/views/spotlight/search_configurations/edit.html.erb +42 -40
- data/app/views/spotlight/searches/_form.html.erb +15 -10
- data/app/views/spotlight/searches/_search.html.erb +29 -22
- data/app/views/spotlight/searches/edit.html.erb +6 -5
- data/app/views/spotlight/searches/index.html.erb +32 -31
- data/app/views/spotlight/shared/_configuration_sidebar.html.erb +6 -6
- data/app/views/spotlight/shared/_curation_sidebar.html.erb +8 -9
- data/app/views/spotlight/shared/_exhibit_sidebar.html.erb +6 -8
- data/app/views/spotlight/shared/_locale_picker.html.erb +3 -3
- data/app/views/spotlight/shared/_report_a_problem.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_browse_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_search_results_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +8 -8
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +8 -8
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +3 -4
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb +32 -31
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +5 -5
- data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +8 -10
- data/app/views/spotlight/sites/edit.html.erb +31 -34
- data/app/views/spotlight/sites/edit_exhibits.html.erb +28 -29
- data/app/views/spotlight/tags/index.html.erb +25 -24
- data/app/views/spotlight/translations/_browse_categories.html.erb +20 -15
- data/app/views/spotlight/translations/_general.html.erb +69 -91
- data/app/views/spotlight/translations/_metadata.html.erb +18 -14
- data/app/views/spotlight/translations/_page.html.erb +2 -2
- data/app/views/spotlight/translations/_search_fields.html.erb +26 -20
- data/app/views/spotlight/translations/edit.html.erb +16 -14
- data/config/locales/spotlight.en.yml +3 -0
- data/config/routes.rb +1 -1
- data/lib/generators/spotlight/install_generator.rb +2 -2
- data/lib/generators/spotlight/scaffold_resource_generator.rb +1 -1
- data/lib/generators/spotlight/templates/spotlight.scss +0 -1
- data/lib/spotlight/engine.rb +12 -0
- data/lib/spotlight/version.rb +1 -1
- data/spec/controllers/application_controller_spec.rb +2 -2
- data/spec/controllers/spotlight/browse_controller_spec.rb +1 -1
- data/spec/controllers/spotlight/catalog_controller_spec.rb +13 -13
- data/spec/controllers/spotlight/dashboards_controller_spec.rb +2 -1
- data/spec/controllers/spotlight/search_configurations_controller_spec.rb +1 -1
- data/spec/examples.txt +50 -1489
- data/spec/features/add_items_spec.rb +2 -2
- data/spec/features/browse_category_admin_spec.rb +3 -3
- data/spec/features/browse_category_spec.rb +3 -3
- data/spec/features/catalog_spec.rb +1 -1
- data/spec/features/exhibits/translation_editing_spec.rb +21 -21
- data/spec/features/feature_page_spec.rb +1 -1
- data/spec/features/home_page_spec.rb +3 -3
- data/spec/features/javascript/blocks/featured_browse_categories_block_spec.rb +1 -1
- data/spec/features/javascript/blocks/link_to_search_block_spec.rb +1 -1
- data/spec/features/javascript/blocks/search_result_block_spec.rb +9 -4
- data/spec/features/javascript/blocks/solr_documents_block_spec.rb +23 -15
- data/spec/features/javascript/blocks/solr_documents_carousel_block_spec.rb +29 -0
- data/spec/features/javascript/blocks/uploaded_items_block_spec.rb +2 -2
- data/spec/features/javascript/edit_in_place_spec.rb +1 -0
- data/spec/features/javascript/feature_page_admin_spec.rb +11 -11
- data/spec/features/javascript/locale_selector_spec.rb +0 -1
- data/spec/features/javascript/multi_image_select_spec.rb +3 -3
- data/spec/features/javascript/reindex_monitor_spec.rb +2 -2
- data/spec/features/javascript/roles_admin_spec.rb +2 -2
- data/spec/features/javascript/search_context_spec.rb +4 -6
- data/spec/features/site_users_management_spec.rb +1 -1
- data/spec/helpers/spotlight/application_helper_spec.rb +2 -1
- data/spec/helpers/spotlight/crud_link_helpers_spec.rb +19 -0
- data/spec/helpers/spotlight/languages_helper_spec.rb +1 -0
- data/spec/lib/spotlight/controller_spec.rb +2 -2
- data/spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb +38 -0
- data/spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb +7 -6
- data/spec/models/spotlight/analytics/ga_spec.rb +16 -1
- data/spec/models/spotlight/contact_form_spec.rb +37 -5
- data/spec/models/spotlight/exhibit_spec.rb +8 -4
- data/spec/presenters/spotlight/iiif_manifest_presenter_spec.rb +4 -0
- data/spec/routing/spotlight/exhibit_catalog_spec.rb +15 -11
- data/spec/serializers/spotlight/exhibit_export_serializer_spec.rb +60 -0
- data/spec/test_app_templates/Gemfile.extra +3 -0
- data/spec/test_app_templates/catalog_controller.rb +4 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +2 -2
- data/spec/views/shared/_header_navbar.html.erb_spec.rb +1 -1
- data/spec/views/shared/_masthead.html.erb_spec.rb +1 -1
- data/spec/views/{_user_util_links.html.erb_spec.rb → shared/_user_util_links.html.erb_spec.rb} +1 -1
- data/spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/about_pages/index.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/browse/_search.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb +2 -13
- data/spec/views/spotlight/browse/show.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/catalog/admin.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb +5 -5
- data/spec/views/spotlight/dashboards/analytics.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/exhibits/edit.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/exhibits/index.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb +7 -7
- data/spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb +3 -2
- data/spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb +2 -1
- data/spec/views/spotlight/pages/index.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/pages/show.html.erb_spec.rb +3 -3
- data/spec/views/spotlight/searches/_search.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/searches/edit.html.erb_spec.rb +3 -3
- data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb +3 -3
- data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb +2 -2
- data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb +1 -1
- data/spec/views/spotlight/translations/_page.html.erb_spec.rb +2 -2
- data/vendor/assets/javascripts/bootstrap-tagsinput.js +1 -1
- data/vendor/assets/stylesheets/sir-trevor/_variables.scss +15 -8
- metadata +31 -28
- data/app/assets/stylesheets/spotlight/_navbar.scss +0 -48
- data/app/views/_user_util_links.html.erb +0 -50
- data/app/views/shared/_modal.html.erb +0 -6
@@ -1,5 +1,5 @@
|
|
1
1
|
$image-overlay-max-height: 300px;
|
2
|
-
$image-overlay-bottom-margin:
|
2
|
+
$image-overlay-bottom-margin: 36px;
|
3
3
|
|
4
4
|
@function category-min-height($overlay-max-height) {
|
5
5
|
@return $overlay-max-height + $image-overlay-bottom-margin;
|
@@ -13,7 +13,7 @@ $image-overlay-bottom-margin: $padding-large-vertical * 3;
|
|
13
13
|
.very-long-description-text {
|
14
14
|
width: auto;
|
15
15
|
|
16
|
-
@media (min-width:
|
16
|
+
@media (min-width: breakpoint-min("md")) {
|
17
17
|
column-gap: 3em;
|
18
18
|
column-width: 20em;
|
19
19
|
}
|
@@ -33,8 +33,8 @@ $image-overlay-bottom-margin: $padding-large-vertical * 3;
|
|
33
33
|
}
|
34
34
|
|
35
35
|
.image-overlay {
|
36
|
-
border: 2px solid $gray-
|
37
|
-
border-radius: $border-radius-
|
36
|
+
border: 2px solid $gray-600;
|
37
|
+
border-radius: $border-radius-lg;
|
38
38
|
margin-bottom: $image-overlay-bottom-margin;
|
39
39
|
max-height: 240px;
|
40
40
|
min-height: 140px;
|
@@ -61,7 +61,7 @@ $image-overlay-bottom-margin: $padding-large-vertical * 3;
|
|
61
61
|
transform-style: preserve-3d;
|
62
62
|
|
63
63
|
.browse-category-title {
|
64
|
-
font-size: $font-size
|
64
|
+
font-size: $h3-font-size;
|
65
65
|
@extend %vertical-align;
|
66
66
|
|
67
67
|
small {
|
@@ -77,28 +77,28 @@ $image-overlay-bottom-margin: $padding-large-vertical * 3;
|
|
77
77
|
}
|
78
78
|
}
|
79
79
|
|
80
|
-
@media screen and (max-width:
|
80
|
+
@media screen and (max-width: breakpoint-max("sm")) {
|
81
81
|
.image-overlay {
|
82
82
|
margin: 10px auto;
|
83
83
|
max-width: 350px;
|
84
84
|
}
|
85
|
-
.text-overlay .browse-category-title {font-size: $font-size
|
85
|
+
.text-overlay .browse-category-title {font-size: $h3-font-size;}
|
86
86
|
}
|
87
|
-
@media screen and (min-width:
|
87
|
+
@media screen and (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("lg")) {
|
88
88
|
$image-overlay-max-height: 250px;
|
89
89
|
.category {min-height: category-min-height($image-overlay-max-height);}
|
90
|
-
.text-overlay .browse-category-title {font-size: $font-size
|
90
|
+
.text-overlay .browse-category-title {font-size: $h4-font-size;}
|
91
91
|
}
|
92
|
-
@media screen and (min-width:
|
92
|
+
@media screen and (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("md")) {
|
93
93
|
$image-overlay-max-height: 180px;
|
94
94
|
.category {min-height: category-min-height($image-overlay-max-height);}
|
95
95
|
.image-overlay {max-height: $image-overlay-max-height;}
|
96
96
|
}
|
97
|
-
@media screen and (max-width:
|
97
|
+
@media screen and (max-width: breakpoint-max("sm")) {
|
98
98
|
$image-overlay-max-height: 180px;
|
99
99
|
.category {min-height: category-min-height($image-overlay-max-height);}
|
100
100
|
}
|
101
|
-
@media screen and (min-width:
|
101
|
+
@media screen and (min-width: breakpoint-min("lg")) {
|
102
102
|
.category {min-height: category-min-height($image-overlay-max-height);}
|
103
103
|
.image-overlay {max-height: $image-overlay-max-height;}
|
104
104
|
}
|
@@ -106,9 +106,12 @@ $image-overlay-bottom-margin: $padding-large-vertical * 3;
|
|
106
106
|
|
107
107
|
.search-box-container {
|
108
108
|
margin: 0 auto;
|
109
|
-
text-align: center;
|
110
109
|
width: 100%;
|
111
110
|
|
111
|
+
.col-form-label {
|
112
|
+
text-align: right;
|
113
|
+
}
|
114
|
+
|
112
115
|
.browse-search-form {
|
113
116
|
.browse-search-expand {
|
114
117
|
text-align: center;
|
@@ -8,7 +8,7 @@
|
|
8
8
|
}
|
9
9
|
|
10
10
|
.document-thumbnail a > img {
|
11
|
-
border: 1px solid $gray-
|
11
|
+
border: 1px solid $gray-600;
|
12
12
|
width: 60px;
|
13
13
|
height: 60px;
|
14
14
|
object-fit: cover;
|
@@ -26,12 +26,18 @@
|
|
26
26
|
}
|
27
27
|
}
|
28
28
|
|
29
|
+
#documents.documents-list {
|
30
|
+
.document-thumbnail a > img {
|
31
|
+
max-width: 100px;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
29
35
|
#document {
|
30
36
|
ul.tags {
|
31
37
|
text-align: center;
|
32
38
|
li {
|
33
|
-
@extend .
|
34
|
-
@extend .
|
39
|
+
@extend .badge;
|
40
|
+
@extend .badge-secondary;
|
35
41
|
a {
|
36
42
|
color: #fff;
|
37
43
|
}
|
@@ -41,7 +47,7 @@
|
|
41
47
|
|
42
48
|
.document, tr.doc-row, li.dd-item, .autocomplete-item {
|
43
49
|
&.blacklight-private {
|
44
|
-
.index_title, h1, .
|
50
|
+
.index_title, h1, .card-title, .autocomplete-title {
|
45
51
|
@include private-label;
|
46
52
|
}
|
47
53
|
}
|
@@ -59,7 +65,7 @@ form.edit_solr_document {
|
|
59
65
|
cursor: text;
|
60
66
|
display: block;
|
61
67
|
}
|
62
|
-
.bg-warning.
|
68
|
+
.bg-warning.form-text {
|
63
69
|
font-size: 0.9em;
|
64
70
|
padding: 3px 6px;
|
65
71
|
}
|
@@ -114,7 +120,7 @@ form.edit_solr_document {
|
|
114
120
|
}
|
115
121
|
|
116
122
|
.blacklight-exhibit_tags a {
|
117
|
-
@extend .
|
118
|
-
@extend .
|
123
|
+
@extend .badge;
|
124
|
+
@extend .badge-secondary;
|
119
125
|
}
|
120
126
|
}
|
@@ -1,18 +1,14 @@
|
|
1
|
+
// Rotate collapse-chevron element (has a ❯ in it)
|
2
|
+
// with the previous siblings collapsed status
|
1
3
|
.btn.collapse-toggle {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
float: right;
|
8
|
-
font-family: "Glyphicons Halflings";
|
9
|
-
font-size: 0.8em;
|
10
|
-
line-height: 2em;
|
11
|
-
padding-left: 1ch;
|
4
|
+
& + .collapse-chevron {
|
5
|
+
display: inline-block;
|
6
|
+
text-align: right;
|
7
|
+
transform: rotate(90deg);
|
8
|
+
width: 16px;
|
12
9
|
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
content: "\e080"; //chevron right
|
10
|
+
&.collapsed + .collapse-chevron {
|
11
|
+
text-align: left;
|
12
|
+
transform: none;
|
17
13
|
}
|
18
14
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.page-links a {
|
2
|
-
padding-left:
|
3
|
-
padding-right:
|
2
|
+
padding-left: 0;
|
3
|
+
padding-right: 0;
|
4
4
|
}
|
5
5
|
|
6
6
|
.missing-description {
|
@@ -10,7 +10,7 @@
|
|
10
10
|
display: inline-block;
|
11
11
|
.input-field {
|
12
12
|
input[type='text'] {
|
13
|
-
@extend .
|
13
|
+
@extend .form-control-sm;
|
14
14
|
height: auto;
|
15
15
|
padding: 0 5px;
|
16
16
|
width: 195px;
|
@@ -19,8 +19,8 @@
|
|
19
19
|
}
|
20
20
|
input[type='submit'] {
|
21
21
|
@extend .btn;
|
22
|
-
@extend .btn-
|
23
|
-
@extend .btn-
|
22
|
+
@extend .btn-secondary;
|
23
|
+
@extend .btn-sm;
|
24
24
|
}
|
25
25
|
display: none;
|
26
26
|
}
|
@@ -30,8 +30,8 @@
|
|
30
30
|
}
|
31
31
|
|
32
32
|
|
33
|
-
.
|
34
|
-
.pic
|
33
|
+
.card-header {
|
34
|
+
.pic {
|
35
35
|
width: 70px;
|
36
36
|
display: inline-block;
|
37
37
|
margin-bottom: 0;
|
@@ -45,9 +45,14 @@
|
|
45
45
|
|
46
46
|
.publish-control {
|
47
47
|
display: inline;
|
48
|
+
|
48
49
|
.checkbox {
|
49
50
|
padding-top: 0;
|
50
51
|
}
|
52
|
+
|
53
|
+
.form-check-inline {
|
54
|
+
vertical-align: middle;
|
55
|
+
}
|
51
56
|
}
|
52
57
|
|
53
58
|
.main {
|
@@ -63,23 +68,24 @@
|
|
63
68
|
}
|
64
69
|
}
|
65
70
|
|
66
|
-
|
71
|
+
[data-in-place-edit-target]:hover:after {
|
72
|
+
content: "\270f";
|
73
|
+
line-height: 1;
|
74
|
+
margin-left: 6px;
|
75
|
+
display: inline-block;
|
76
|
+
color: #777;
|
77
|
+
}
|
78
|
+
[data-in-place-edit-target].hide-edit-icon:after {
|
79
|
+
display: none;
|
80
|
+
}
|
81
|
+
|
82
|
+
.card.page-admin {
|
67
83
|
&:hover {
|
68
84
|
@include panel-hover-highlighting;
|
69
85
|
}
|
70
|
-
.
|
71
|
-
|
72
|
-
|
73
|
-
content: "\270f";
|
74
|
-
font-family: "Glyphicons Halflings";
|
75
|
-
line-height: 1;
|
76
|
-
margin-left: 6px;
|
77
|
-
display: inline-block;
|
78
|
-
color: #777;
|
79
|
-
}
|
80
|
-
&[data-in-place-edit-target].hide-edit-icon:after {
|
81
|
-
display: none;
|
82
|
-
}
|
86
|
+
.card-title {
|
87
|
+
@extend .mb-0;
|
88
|
+
@extend .py-2;
|
83
89
|
}
|
84
90
|
|
85
91
|
.page-links, .contact-links {
|
@@ -94,11 +100,11 @@
|
|
94
100
|
}
|
95
101
|
}
|
96
102
|
|
97
|
-
.contacts_admin .
|
103
|
+
.contacts_admin .card-header.page .main {
|
98
104
|
width: 95%;
|
99
105
|
}
|
100
106
|
|
101
|
-
.
|
107
|
+
.card-header.item-grid {
|
102
108
|
&:hover {
|
103
109
|
@include panel-hover-highlighting;
|
104
110
|
}
|
@@ -116,7 +122,7 @@
|
|
116
122
|
}
|
117
123
|
}
|
118
124
|
|
119
|
-
.
|
125
|
+
.card-header.search {
|
120
126
|
&:hover {
|
121
127
|
@include panel-hover-highlighting;
|
122
128
|
}
|
@@ -132,16 +138,12 @@
|
|
132
138
|
vertical-align: top;
|
133
139
|
display: inline-block;
|
134
140
|
}
|
135
|
-
.
|
141
|
+
.card-title {
|
136
142
|
font-size: 15px;
|
137
143
|
}
|
138
144
|
}
|
139
145
|
|
140
146
|
#edit-search {
|
141
|
-
.input-group-addon {
|
142
|
-
background: none;
|
143
|
-
border: none;
|
144
|
-
}
|
145
147
|
#preview {
|
146
148
|
height: 60px;
|
147
149
|
width: 60px;
|
@@ -171,7 +173,7 @@ h1,h2,h3,h4,h5,h6 {
|
|
171
173
|
}
|
172
174
|
.spotlight-admin-thumbnail {
|
173
175
|
position: relative;
|
174
|
-
.
|
176
|
+
.badge {
|
175
177
|
position: absolute;
|
176
178
|
top: 0;
|
177
179
|
left: 0;
|
@@ -189,7 +191,7 @@ table#exhibit-specific-fields {
|
|
189
191
|
margin-top: 1em;
|
190
192
|
.field-label {
|
191
193
|
min-width: 10em;
|
192
|
-
font-size: $font-size
|
194
|
+
font-size: $h4-font-size;
|
193
195
|
}
|
194
196
|
.field-description {
|
195
197
|
font-size: $font-size-base;
|
@@ -217,4 +219,4 @@ table.tags {
|
|
217
219
|
td:nth-child(3), th:nth-child(3) {
|
218
220
|
text-align: center;
|
219
221
|
}
|
220
|
-
}
|
222
|
+
}
|
@@ -27,31 +27,6 @@
|
|
27
27
|
white-space: nowrap;
|
28
28
|
}
|
29
29
|
}
|
30
|
-
|
31
|
-
.callout {
|
32
|
-
margin: 40px 0;
|
33
|
-
padding: 2 * $padding-large-vertical;
|
34
|
-
border-left: 3px solid $gray-lighter;
|
35
|
-
> p {
|
36
|
-
padding-left: 0;
|
37
|
-
}
|
38
|
-
h4 {
|
39
|
-
margin-top: 0;
|
40
|
-
margin-bottom: $padding-base-vertical;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
.callout-danger {
|
44
|
-
background-color: lighten($brand-danger, 40%);
|
45
|
-
border-color: $brand-danger;
|
46
|
-
h4 {
|
47
|
-
color: $brand-danger;
|
48
|
-
}
|
49
|
-
a:hover, a:focus {
|
50
|
-
color: $btn-danger-color;
|
51
|
-
background-color: $btn-danger-bg;
|
52
|
-
border-color: $btn-danger-border;
|
53
|
-
}
|
54
|
-
}
|
55
30
|
}
|
56
31
|
|
57
32
|
#edit-search {
|
@@ -60,13 +35,15 @@
|
|
60
35
|
}
|
61
36
|
|
62
37
|
.constraint-value {
|
63
|
-
@include border-right-radius($border-radius-
|
38
|
+
@include border-right-radius($border-radius-sm);
|
64
39
|
}
|
65
40
|
|
66
|
-
.form-control-
|
41
|
+
.form-control-plaintext { display: none; }
|
67
42
|
}
|
68
43
|
|
69
44
|
.analytics {
|
45
|
+
border-bottom: 1px solid $table-border-color;
|
46
|
+
table-layout: fixed;
|
70
47
|
text-align: center;
|
71
48
|
|
72
49
|
& > tfoot > tr > th {
|
@@ -82,8 +59,6 @@
|
|
82
59
|
|
83
60
|
border-left: 1px solid $table-border-color;
|
84
61
|
}
|
85
|
-
|
86
|
-
border-bottom: 1px solid $table-border-color;
|
87
62
|
}
|
88
63
|
|
89
64
|
.pending-label {
|
@@ -1,11 +1,9 @@
|
|
1
1
|
.exhibit-card {
|
2
2
|
box-sizing: border-box;
|
3
|
-
float: left;
|
4
3
|
height: $exhibit-card-height;
|
5
|
-
margin:
|
4
|
+
margin-bottom: 2rem;
|
6
5
|
// image width + gutter + border (x2)
|
7
6
|
max-width: $exhibit-card-image-size + $exhibit-card-gutter + 2px;
|
8
|
-
padding: 0 $exhibit-card-gutter 0 0;
|
9
7
|
perspective: 1000; // for flip animation
|
10
8
|
position: relative;
|
11
9
|
|
@@ -36,12 +34,14 @@
|
|
36
34
|
width: 100%;
|
37
35
|
}
|
38
36
|
|
39
|
-
.card-title {
|
37
|
+
.exhibit-card-title {
|
40
38
|
@extend .h5;
|
41
39
|
@extend .text-center;
|
42
40
|
|
43
|
-
font-size: $font-size
|
41
|
+
font-size: $h4-font-size;
|
44
42
|
line-height: 1.2;
|
43
|
+
margin-bottom: 10px;
|
44
|
+
margin-top: 10px;
|
45
45
|
}
|
46
46
|
|
47
47
|
.card-front {
|
@@ -61,8 +61,9 @@
|
|
61
61
|
}
|
62
62
|
|
63
63
|
.unpublished {
|
64
|
-
@extend .
|
64
|
+
@extend .mx-auto;
|
65
65
|
|
66
|
+
display: block;
|
66
67
|
font-size: $font-size-base;
|
67
68
|
margin-top: -1em;
|
68
69
|
position: relative;
|
@@ -80,6 +81,7 @@
|
|
80
81
|
transform: rotateY(-180deg);
|
81
82
|
|
82
83
|
.card-title {
|
84
|
+
@extend .text-center;
|
83
85
|
border-bottom: 1px dotted $exhibit-card-border;
|
84
86
|
line-height: $headings-line-height;
|
85
87
|
margin-bottom: $padding-base-vertical;
|
@@ -93,7 +95,7 @@
|
|
93
95
|
}
|
94
96
|
|
95
97
|
.description {
|
96
|
-
font-size: $font-size
|
98
|
+
font-size: $h6-font-size;
|
97
99
|
}
|
98
100
|
|
99
101
|
.visit-exhibit {
|
@@ -107,10 +109,10 @@
|
|
107
109
|
}
|
108
110
|
|
109
111
|
// between the small and medium breakpoints, reduce the size of the image by a little bit
|
110
|
-
@media (min-width:
|
112
|
+
@media (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("lg")) {
|
111
113
|
|
112
114
|
// calculate the size of one full grid column
|
113
|
-
$reduce-exhibit-card-image-size: ((($container-
|
115
|
+
$reduce-exhibit-card-image-size: (((map-get($container-max-widths, "md") - $grid-gutter-width) / $grid-columns) - ($grid-gutter-width / 2));
|
114
116
|
|
115
117
|
.exhibit-card,
|
116
118
|
.card-face {
|
@@ -136,19 +138,19 @@
|
|
136
138
|
}
|
137
139
|
|
138
140
|
// For the medium breakpoint, reduce the max width of the .exhibit-card to align right-edge of row correctly
|
139
|
-
@media (min-width:
|
141
|
+
@media (min-width: breakpoint-min("md")) and (max-width: breakpoint-max("lg")) {
|
140
142
|
.exhibit-card {
|
141
143
|
|
142
144
|
// each card is 3 columns wide
|
143
|
-
max-width: 3 * ($container-
|
145
|
+
max-width: 3 * (map-get($container-max-widths, "lg") / $grid-columns) - 5px;
|
144
146
|
}
|
145
147
|
}
|
146
148
|
|
147
149
|
// For the small breakpoint, reduce the max width of the .exhibit-card to align right-edge of row correctly
|
148
|
-
@media (min-width:
|
150
|
+
@media (min-width: breakpoint-min("sm")) and (max-width: breakpoint-max("md")) {
|
149
151
|
.exhibit-card {
|
150
152
|
|
151
|
-
// each card is
|
152
|
-
max-width:
|
153
|
+
// each card is 6 columns wide
|
154
|
+
max-width: 6 * (map-get($container-max-widths, "md") / $grid-columns) - 5px;
|
153
155
|
}
|
154
156
|
}
|