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,6 +1,8 @@
|
|
1
|
-
$featured-browse-category-border-color: $
|
2
|
-
$featured-browse-category-caption-color: $
|
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-
|
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:
|
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-
|
53
|
+
font-size: $font-size-lg;
|
52
54
|
line-height: 1.2;
|
53
55
|
margin: 0;
|
54
|
-
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:
|
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:
|
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:
|
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:
|
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 .
|
93
|
+
@extend .d-sm-none;
|
92
94
|
}
|
93
95
|
.category-5 {
|
94
|
-
@extend .
|
95
|
-
@extend .
|
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:
|
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:
|
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:
|
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:
|
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:
|
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
|
+
}
|
@@ -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 $
|
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
|
-
|
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 .
|
30
|
+
@extend .d-none;
|
31
|
+
@extend .d-md-block;
|
32
|
+
@extend .py-2;
|
53
33
|
|
54
|
-
|
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
|
-
|
92
|
-
|
93
|
-
|
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
|
-
@
|
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
|
-
.
|
85
|
+
.h2 {
|
103
86
|
color: $white;
|
104
|
-
text-shadow: 1px 1px 0 $
|
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
|
-
&.
|
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
|
7
|
+
background: $gray-300;
|
13
8
|
}
|
14
9
|
|
15
10
|
@mixin private-label() {
|
16
11
|
&:after {
|
17
|
-
@extend .
|
18
|
-
@extend .
|
12
|
+
@extend .badge;
|
13
|
+
@extend .badge-warning;
|
19
14
|
content: 'Private';
|
20
15
|
margin-left: 3px;
|
21
16
|
}
|
@@ -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 .
|
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:
|
26
|
+
background-color: theme-colors("secondary");
|
27
27
|
padding: 3px 8px;
|
28
|
-
color: $
|
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:
|
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-
|
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-
|
72
|
-
|
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
|
-
|
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
|
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:
|
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:
|
136
|
-
margin-bottom: $line-height-
|
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:
|
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-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
height
|
163
|
-
|
164
|
-
|
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:
|
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:
|
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:
|
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:
|
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:
|
253
|
+
@media (max-width: breakpoint-max("md")) {
|
275
254
|
max-height: 175px;
|
276
255
|
}
|
277
256
|
}
|
278
257
|
|
279
|
-
@media (max-width:
|
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:
|
267
|
+
@media (max-width: breakpoint-max("sm")) {
|
289
268
|
width: 100%;
|
290
269
|
margin-top: 2 * $padding-large-vertical;
|
291
270
|
}
|