geoblacklight 6.0.0.pre.alpha.7 → 6.0.0.pre.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/Rakefile +1 -17
  4. data/app/assets/images/geoblacklight/logo-dark.svg +31 -0
  5. data/app/assets/images/geoblacklight/logo.svg +10 -10
  6. data/app/assets/stylesheets/geoblacklight/global.css +44 -7
  7. data/app/assets/stylesheets/geoblacklight/index_maps.css +0 -7
  8. data/app/assets/stylesheets/geoblacklight/record.css +33 -9
  9. data/app/assets/stylesheets/geoblacklight/search.css +66 -17
  10. data/app/assets/stylesheets/geoblacklight/viewers.css +18 -111
  11. data/app/assets/stylesheets/geoblacklight.css +0 -5
  12. data/app/components/blacklight/icons/georeferenced_component.rb +23 -0
  13. data/app/components/geoblacklight/document/download_link_component.html.erb +1 -1
  14. data/app/components/geoblacklight/document/preview_component.html.erb +0 -2
  15. data/app/components/geoblacklight/document_component.html.erb +0 -4
  16. data/app/components/geoblacklight/facets/bbox_field_component.html.erb +2 -1
  17. data/app/components/geoblacklight/georeferenced_header_badge_component.rb +16 -0
  18. data/app/components/geoblacklight/header_badge_component.html.erb +4 -2
  19. data/app/components/geoblacklight/header_badge_component.rb +1 -1
  20. data/app/components/geoblacklight/header_badges_component.html.erb +5 -0
  21. data/app/components/geoblacklight/header_badges_component.rb +34 -0
  22. data/app/components/geoblacklight/item_map_viewer_component.html.erb +0 -58
  23. data/app/components/geoblacklight/item_map_viewer_component.rb +19 -70
  24. data/app/components/geoblacklight/locator_map_component.rb +31 -0
  25. data/app/components/geoblacklight/metadata_description_markdown_component.rb +3 -9
  26. data/app/components/geoblacklight/overview_map_component.html.erb +2 -0
  27. data/app/components/geoblacklight/overview_map_component.rb +86 -0
  28. data/app/components/geoblacklight/relations/relation_component.html.erb +12 -0
  29. data/app/components/geoblacklight/relations/relation_component.rb +30 -0
  30. data/app/components/geoblacklight/relations/relations_component.html.erb +15 -0
  31. data/app/components/geoblacklight/relations/relations_component.rb +59 -0
  32. data/app/components/geoblacklight/resource_header_badge_component.rb +1 -1
  33. data/app/components/geoblacklight/search_result_component.html.erb +14 -33
  34. data/app/components/geoblacklight/search_result_component.rb +2 -14
  35. data/app/components/geoblacklight/static_map_component.rb +3 -14
  36. data/app/components/geoblacklight/truncatable_metadata_field_layout_component.html.erb +7 -0
  37. data/app/components/geoblacklight/truncatable_metadata_field_layout_component.rb +45 -0
  38. data/app/controllers/{relation_controller.rb → relations_controller.rb} +2 -2
  39. data/app/controllers/viewer_record_controller.rb +26 -0
  40. data/app/helpers/geoblacklight_helper.rb +52 -5
  41. data/app/javascript/geoblacklight/controllers/overview_map_controller.js +143 -0
  42. data/app/javascript/geoblacklight/core.js +8 -8
  43. data/app/javascript/geoblacklight/index.js +9 -12
  44. data/app/javascript/geoblacklight/initializers/field_truncation.js +62 -0
  45. data/app/javascript/geoblacklight/initializers/metadata_download.js +3 -8
  46. data/app/javascript/geoblacklight/initializers/truncation.js +7 -3
  47. data/app/javascript/geoblacklight/initializers/viewer_requests.js +61 -0
  48. data/app/javascript/geoblacklight/initializers/viewer_theme.js +28 -0
  49. data/app/models/concerns/geoblacklight/solr_document/thumbnail.rb +38 -0
  50. data/app/models/concerns/geoblacklight/solr_document.rb +2 -0
  51. data/app/models/concerns/geoblacklight/suppressed_records_search_behavior.rb +1 -1
  52. data/app/views/catalog/_document_split.html.erb +10 -10
  53. data/app/views/catalog/_home_text.html.erb +1 -1
  54. data/app/views/catalog/metadata.html.erb +1 -1
  55. data/app/views/{relation → relations}/index.html.erb +1 -1
  56. data/app/views/relations/index.json.jbuilder +9 -0
  57. data/config/importmap.rb +8 -8
  58. data/config/locales/geoblacklight.en.yml +48 -99
  59. data/geoblacklight.gemspec +3 -3
  60. data/lib/generators/geoblacklight/assets_generator.rb +2 -2
  61. data/lib/generators/geoblacklight/templates/assets/customizations.css +5 -1
  62. data/lib/generators/geoblacklight/templates/catalog_controller.rb +17 -27
  63. data/lib/generators/geoblacklight/templates/settings.yml +14 -70
  64. data/lib/geoblacklight/configuration/display_note_shown_config.rb +3 -0
  65. data/lib/geoblacklight/configuration/relationship_config.rb +7 -1
  66. data/lib/geoblacklight/configuration/relationships_config.rb +15 -15
  67. data/lib/geoblacklight/configuration/settings_attributes.rb +85 -0
  68. data/lib/geoblacklight/configuration/settings_builder.rb +3 -12
  69. data/lib/geoblacklight/configuration.rb +23 -44
  70. data/lib/geoblacklight/exceptions.rb +4 -0
  71. data/lib/geoblacklight/reference.rb +0 -2
  72. data/lib/geoblacklight/references.rb +17 -5
  73. data/lib/geoblacklight/relations/ancestors.rb +12 -0
  74. data/lib/geoblacklight/relations/descendants.rb +11 -0
  75. data/lib/geoblacklight/relations/query.rb +39 -0
  76. data/lib/geoblacklight/{relation → relations}/relation_response.rb +5 -4
  77. data/lib/geoblacklight/routes/exportable.rb +2 -1
  78. data/lib/geoblacklight/version.rb +1 -1
  79. data/lib/geoblacklight/viewer_record.rb +39 -0
  80. data/lib/geoblacklight.rb +1 -0
  81. data/lib/tasks/geoblacklight.rake +1 -17
  82. data/lib/tasks/solr.rb +37 -0
  83. data/schema/readme.md +1 -1
  84. data/script/wait-for-solr +36 -0
  85. data/solr/conf/solrconfig.xml +10 -16
  86. data/spec/components/geoblacklight/document/sidebar_component_spec.rb +2 -2
  87. data/spec/components/geoblacklight/document_component_spec.rb +7 -33
  88. data/spec/components/geoblacklight/{header_icons_component_spec.rb → header_badges_component_spec.rb} +20 -2
  89. data/spec/components/geoblacklight/item_map_viewer_component_spec.rb +35 -16
  90. data/spec/components/geoblacklight/locator_map_component_spec.rb +54 -0
  91. data/spec/components/geoblacklight/metadata_description_markdown_component_spec.rb +1 -6
  92. data/spec/components/geoblacklight/overview_map_component_spec.rb +136 -0
  93. data/spec/components/geoblacklight/relations/relation_component_spec.rb +98 -0
  94. data/spec/components/geoblacklight/relations/relations_component_spec.rb +146 -0
  95. data/spec/components/geoblacklight/search_result_component_spec.rb +66 -39
  96. data/spec/components/geoblacklight/static_map_component_spec.rb +8 -2
  97. data/spec/components/geoblacklight/truncatable_metadata_field_layout_component_spec.rb +83 -0
  98. data/spec/controllers/catalog_controller_spec.rb +22 -7
  99. data/spec/controllers/{relation_controller_spec.rb → relations_controller_spec.rb} +1 -1
  100. data/spec/features/axe_spec.rb +4 -3
  101. data/spec/features/home_page_spec.rb +8 -7
  102. data/spec/features/index_view_spec.rb +6 -20
  103. data/spec/features/layer_preview_spec.rb +4 -11
  104. data/spec/features/locator_map_spec.rb +31 -0
  105. data/spec/features/relations_spec.rb +22 -11
  106. data/spec/features/restricted_viewer_spec.rb +16 -0
  107. data/spec/features/search_results_map_spec.rb +89 -13
  108. data/spec/features/search_spec.rb +6 -2
  109. data/spec/features/tilejson_spec.rb +1 -3
  110. data/spec/features/tms_spec.rb +2 -2
  111. data/spec/features/truncated_metadata_spec.rb +77 -0
  112. data/spec/features/viewer_requests_spec.rb +40 -0
  113. data/spec/features/viewer_theme_spec.rb +51 -0
  114. data/spec/features/wmts_spec.rb +6 -6
  115. data/spec/features/xyz_spec.rb +3 -3
  116. data/spec/fixtures/solr_documents/README.md +18 -14
  117. data/spec/fixtures/solr_documents/actual-polygon1.json +22 -18
  118. data/spec/fixtures/solr_documents/b1g_wabash_child_15.json +14 -15
  119. data/spec/fixtures/solr_documents/b1g_wabash_child_16.json +14 -15
  120. data/spec/fixtures/solr_documents/b1g_wabash_child_17.json +14 -15
  121. data/spec/fixtures/solr_documents/b1g_wabash_child_18.json +14 -15
  122. data/spec/fixtures/solr_documents/b1g_wabash_parent.json +14 -15
  123. data/spec/fixtures/solr_documents/esri-dynamic-layer-single-layer.json +2 -2
  124. data/spec/fixtures/solr_documents/esri-feature-layer.json +1 -1
  125. data/spec/fixtures/solr_documents/esri-image-map-layer.json +20 -20
  126. data/spec/fixtures/solr_documents/esri-wms-layer.json +22 -24
  127. data/spec/fixtures/solr_documents/index_map_point.json +3 -3
  128. data/spec/fixtures/solr_documents/public_polygon.json +28 -0
  129. data/spec/helpers/geoblacklight_helper_spec.rb +103 -25
  130. data/spec/lib/geoblacklight/bounding_box_spec.rb +16 -0
  131. data/spec/lib/geoblacklight/configuration/relationships_config_spec.rb +121 -0
  132. data/spec/lib/geoblacklight/configuration/settings_attributes_spec.rb +113 -0
  133. data/spec/lib/geoblacklight/configuration/settings_builder_spec.rb +33 -4
  134. data/spec/lib/geoblacklight/references_spec.rb +35 -0
  135. data/spec/lib/geoblacklight/{relation → relations}/ancestors_spec.rb +17 -6
  136. data/spec/lib/geoblacklight/{relation → relations}/descendants_spec.rb +14 -7
  137. data/spec/lib/geoblacklight/{relation → relations}/relation_response_spec.rb +31 -17
  138. data/spec/lib/geoblacklight/viewer_record_spec.rb +69 -0
  139. data/spec/models/concerns/geoblacklight/solr_document/thumbnail_spec.rb +149 -0
  140. data/spec/models/concerns/geoblacklight/solr_document_spec.rb +1 -1
  141. data/spec/requests/bookmarks_spec.rb +1 -1
  142. data/spec/requests/catalog_show_spec.rb +24 -2
  143. data/spec/requests/index_view_spec.rb +50 -2
  144. data/spec/requests/missing_metadata_spec.rb +1 -1
  145. data/spec/requests/relations_spec.rb +9 -2
  146. data/spec/requests/search_results_spec.rb +6 -6
  147. data/spec/requests/viewer_record_spec.rb +39 -0
  148. data/spec/requests/viewer_requests_spec.rb +54 -0
  149. data/spec/solr_config_spec.rb +41 -0
  150. data/spec/solr_fixtures_spec.rb +23 -0
  151. data/spec/spec_helper.rb +7 -2
  152. data/spec/support/features/map_helpers.rb +68 -0
  153. data/spec/support/features/session_helpers.rb +4 -1
  154. data/spec/support/features/viewer_helpers.rb +20 -0
  155. data/spec/support/features.rb +4 -0
  156. metadata +69 -75
  157. data/app/components/geoblacklight/accordion_component.html.erb +0 -16
  158. data/app/components/geoblacklight/accordion_component.rb +0 -15
  159. data/app/components/geoblacklight/attribute_table_component.html.erb +0 -15
  160. data/app/components/geoblacklight/attribute_table_component.rb +0 -17
  161. data/app/components/geoblacklight/header_icons_component.html.erb +0 -3
  162. data/app/components/geoblacklight/header_icons_component.rb +0 -27
  163. data/app/components/geoblacklight/index_map_inspect_component.html.erb +0 -12
  164. data/app/components/geoblacklight/index_map_inspect_component.rb +0 -15
  165. data/app/components/geoblacklight/index_map_legend_component.html.erb +0 -14
  166. data/app/components/geoblacklight/index_map_legend_component.rb +0 -24
  167. data/app/components/geoblacklight/location_leaflet_map_component.rb +0 -68
  168. data/app/components/geoblacklight/relations_component.html.erb +0 -23
  169. data/app/components/geoblacklight/relations_component.rb +0 -25
  170. data/app/components/geoblacklight/viewer_help_text_component.html.erb +0 -1
  171. data/app/components/geoblacklight/viewer_help_text_component.rb +0 -46
  172. data/app/javascript/geoblacklight/controllers/leaflet_viewer_controller.js +0 -240
  173. data/app/javascript/geoblacklight/controllers/openlayers_viewer_controller.js +0 -74
  174. data/app/javascript/geoblacklight/controllers/search_results_controller.js +0 -50
  175. data/app/javascript/geoblacklight/initializers/popovers.js +0 -11
  176. data/app/javascript/geoblacklight/leaflet/basemaps.js +0 -73
  177. data/app/javascript/geoblacklight/leaflet/constants.js +0 -18
  178. data/app/javascript/geoblacklight/leaflet/controls/geosearch.js +0 -168
  179. data/app/javascript/geoblacklight/leaflet/controls/layer_opacity.js +0 -121
  180. data/app/javascript/geoblacklight/leaflet/controls/sidebar.js +0 -49
  181. data/app/javascript/geoblacklight/leaflet/controls/sleep.js +0 -101
  182. data/app/javascript/geoblacklight/leaflet/inspection.js +0 -210
  183. data/app/javascript/geoblacklight/leaflet/layer_index_map.js +0 -128
  184. data/app/javascript/geoblacklight/leaflet/layer_wmts.js +0 -57
  185. data/app/javascript/geoblacklight/leaflet/layers.js +0 -146
  186. data/app/javascript/geoblacklight/leaflet/utils.js +0 -83
  187. data/app/javascript/geoblacklight/openlayers/basemaps.js +0 -55
  188. data/app/javascript/geoblacklight/openlayers/inspection.js +0 -42
  189. data/app/javascript/geoblacklight/openlayers/layers.js +0 -44
  190. data/app/views/relation/index.json.jbuilder +0 -8
  191. data/lib/geoblacklight/configuration/layer_config.rb +0 -28
  192. data/lib/geoblacklight/configuration/leaflet_config.rb +0 -73
  193. data/lib/geoblacklight/configuration/leaflet_layers_config.rb +0 -33
  194. data/lib/geoblacklight/configuration/leaflet_sleep_config.rb +0 -20
  195. data/lib/geoblacklight/relation/ancestors.rb +0 -31
  196. data/lib/geoblacklight/relation/descendants.rb +0 -31
  197. data/spec/components/geoblacklight/attribute_table_component_spec.rb +0 -36
  198. data/spec/components/geoblacklight/index_map_legend_component_spec.rb +0 -29
  199. data/spec/components/geoblacklight/viewer_help_text_component_spec.rb +0 -27
  200. data/spec/features/configurable_basemap_spec.rb +0 -40
  201. data/spec/features/full_screen_control_spec.rb +0 -15
  202. data/spec/features/layer_inspection_spec.rb +0 -12
  203. data/spec/features/layer_opacity_spec.rb +0 -16
  204. data/spec/fixtures/solr_documents/harvard_raster.json +0 -39
  205. data/spec/fixtures/solr_documents/public_polygon_mit.json +0 -23
  206. data/spec/fixtures/solr_documents/uva_slug_colon.json +0 -29
  207. data/spec/javascripts/geoblacklight_spec.js +0 -11
  208. data/spec/lib/geoblacklight/configuration/layer_config_spec.rb +0 -71
  209. data/spec/lib/geoblacklight/configuration/leaflet_config_spec.rb +0 -129
  210. data/spec/lib/geoblacklight/configuration/leaflet_layers_config_spec.rb +0 -63
  211. data/spec/lib/geoblacklight/configuration_spec.rb +0 -48
  212. /data/app/components/geoblacklight/{location_leaflet_map_component.html.erb → locator_map_component.html.erb} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41621cc93dcec1e50e5a61dcd253b85e9d30d37d14408fd38cbb52ed95e9d1fe
4
- data.tar.gz: 1a252e3b76a40a850255f2d826483931ef00f6d6ad60f3327e59883cad0b1513
3
+ metadata.gz: 882883c1ce07c52e32fca43a194ab1d9665e1738c192cc7503aeef299413494a
4
+ data.tar.gz: a256e2d5e9b40ccf874cecaca59667fc3271498e23704615988e17560ec2540a
5
5
  SHA512:
6
- metadata.gz: 4505cc2a6b93f79da8d71ba8d907d2e3a3d464593757138efa6c7d02fa3869df8a315c9513c858052997d376232e47b3f69baf84e5e6d27ce31e2e55ca851983
7
- data.tar.gz: 96a2d4ff423acdea8c7b95b38eab43c627b7b1f757c94fa883928d3459b97e85ba5a52decbd75a74f808819e75952b71b7670bd2cd1593e10629fcd527abea1a
6
+ metadata.gz: 7e7464c82018a49901805735257079c12544f947a346392f9547148eaa322b7b973bac198642049aba13b5fe0f367e88702045cc7c8cc2c41d929a0553ee364d
7
+ data.tar.gz: a7e221097f39e5e0a1cf2ce68d7bd6b6a938930ed4f4e98702c26841019d9587d94b6b4ed23766a9bad3beb17bfc18b92120bdc2afa7b931768de33e7316eb2d
data/README.md CHANGED
@@ -10,9 +10,9 @@ communities. We're actively looking for community input and development partners
10
10
 
11
11
  ## Documentation
12
12
 
13
- Our full [GeoBlacklight Documentation](https://geoblacklight.org/latest/docs/) has how-to guides for installing, customizing, and maintaining a GeoBlacklight instance.
13
+ Our full [GeoBlacklight Documentation](https://geoblacklight.org/documentation/) has how-to guides for installing, customizing, and maintaining a GeoBlacklight instance.
14
14
 
15
- See the [Quick Start](https://geoblacklight.org/latest/docs/geoblacklight_quick_start/) section to create a new GeoBlacklight application, or see [For Developers](https://geoblacklight.org/latest/docs/developers/) for more information about setting up a development environment.
15
+ See the [Quick Start](https://geoblacklight.org/documentation/geoblacklight_quick_start/) section to create a new GeoBlacklight application, or see [For Developers](https://geoblacklight.org/documentation/developers/) for more information about setting up a development environment.
16
16
 
17
17
  ## Contributing
18
18
 
data/Rakefile CHANGED
@@ -10,23 +10,7 @@ end
10
10
 
11
11
  require "engine_cart/rake_task"
12
12
  require "rspec/core/rake_task"
13
- require "open3"
14
-
15
- def system_with_error_handling(*args)
16
- Open3.popen3(*args) do |_stdin, stdout, stderr, thread|
17
- puts stdout.read
18
- raise "Unable to run #{args.inspect}: #{stderr.read}" unless thread.value.success?
19
- end
20
- end
21
-
22
- def with_solr(&block)
23
- puts "Starting Solr"
24
- system_with_error_handling "docker compose up -d solr"
25
- yield
26
- ensure
27
- puts "Stopping Solr"
28
- system_with_error_handling "docker compose stop solr"
29
- end
13
+ require "tasks/solr"
30
14
 
31
15
  task(:spec).clear
32
16
  RSpec::Core::RakeTask.new(:spec) do |t|
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg width="100%" height="100%" viewBox="0 0 1500 600" version="1.1"
4
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"
5
+ xmlns:serif="http://www.serif.com/"
6
+ style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
7
+ <g id="Layer-11" serif:id="Layer 11">
8
+ <path d="M14.055,176.77l229.956,-132.77l229.974,132.77l0,265.544l-229.974,132.767l-229.956,-132.767l0,-265.544Z" style="fill:#00594f;fill-rule:nonzero;"/>
9
+ <path d="M60.968,392.079c7.567,-0.26 15.168,0.78 22.686,-0.758c9.04,-1.864 15.811,-7.043 21.147,-14.377c3.387,-4.651 7.008,-9.172 10.34,-13.869c5.723,-8.054 13.874,-10.634 23.232,-10.69c8.376,-0.065 16.377,-1.386 23.358,-6.582c2.545,-1.886 4.316,-4.463 6.644,-7.275c4.247,9.876 9.15,18.738 16.146,26.274c21.456,23.14 47.932,29.251 77.997,22.908c7.134,-1.496 13.945,-4.074 20.292,-7.643c2.636,-1.467 4.803,-1.258 7.378,-0.182c14.033,5.821 22.521,24.858 19.028,38.121c-3.673,13.941 -8.772,27.45 -15.04,40.171c-7.614,15.479 -5.848,30.131 -1.668,45.463c1.729,6.338 4.081,12.437 7.09,18.15c-0.827,1.019 -1.452,0.348 -1.856,0.045c-11.498,-8.395 -22.229,-17.504 -31.135,-28.767c-10.912,-13.804 -10.937,-27.983 -2.536,-42.762c3.775,-6.633 6.689,-13.578 7.979,-21.147c2.156,-12.685 -2.088,-23.685 -12.602,-32.255c-0.987,1.692 -0.373,3.503 -0.513,5.217c-0.647,8.524 -3.28,15.755 -10.482,21.39c-12.078,9.433 -16.886,21.945 -13.1,37.421c-2.329,-0.738 -2.962,-2.625 -3.666,-4.111c-8.116,-17.295 -14.009,-35.174 -14.186,-54.526c-0.025,-2.616 0.552,-5.237 0.774,-7.86c0.096,-1.149 0.114,-2.442 -1.116,-3.026c-1.098,-0.542 -1.799,0.425 -2.517,1.082c-8.143,7.491 -15.84,15.451 -22.766,24.042c-10.595,13.204 -23.104,21.258 -40.929,18.427c-4.946,-0.81 -10.112,-0.129 -15.108,-0.129c-0.578,-2.644 1.253,-2.991 2.346,-3.728c8.083,-5.216 14.966,-11.862 22.194,-18.119c12.414,-10.713 18.349,-25.064 23.596,-39.933c0.497,-1.407 1.161,-2.859 -0.1,-4.154c-0.781,-0.801 -1.851,-0.692 -2.771,-0.245c-9.068,4.681 -19.204,5.658 -28.842,8.358c-17.902,5.02 -33.559,14.356 -48.322,25.305c-3.984,2.95 -8.195,4.631 -12.903,3.547c-10.581,-2.44 -21.197,-4.957 -30.069,-11.795l0,-1.988Z" style="fill:#4dba6d;"/>
10
+ <path d="M165.997,93.296c13.689,9.307 23.087,20.778 32.049,32.6c4.384,5.765 8.282,11.905 12.348,17.908c8.436,12.462 9.603,25.956 5.72,40.186c-2.699,9.868 -5.212,19.772 -2.773,30.128c1.038,4.417 3.134,8.303 5.731,11.947c1.205,1.669 2.005,2.782 -0.893,3.854c-11.188,4.175 -21.716,9.608 -30.295,18.158c-2.327,2.318 -3.236,-0.043 -4.189,-1.178c-7.507,-8.841 -9.458,-19.255 -8.434,-30.521c1.395,-15.463 4.799,-30.488 8.895,-45.452c3.88,-14.175 1.427,-28.083 -3.986,-41.555c-4.644,-11.572 -9.129,-23.203 -14.173,-36.075" style="fill:#4dba6d;"/>
11
+ <path d="M438.379,244.959c-5.792,3.003 -11.548,2.558 -17.027,3.301c-17.107,2.319 -31.316,9.678 -41.989,23.345c-7.642,9.784 -16.374,18.517 -25.312,27.034c-6.166,5.88 -13.595,9.73 -21.924,11.79c-3.237,0.809 -4.852,0.542 -4.812,-3.468c0.113,-9.467 -1.986,-18.591 -5.128,-27.486c-0.701,-1.97 -1.467,-3.637 1.007,-5.014c22.308,-12.335 44.102,-25.702 68.496,-33.792c11.147,-3.713 22.536,-4.602 34.025,-2.005c4.457,1.008 8.657,2.878 12.664,6.295" style="fill:#4dba6d;"/>
12
+ <path d="M72.058,225.788c0.595,-1.518 0.827,-2.438 1.292,-3.236c9.538,-16.55 36.928,-18.833 48.267,-3.561c9.553,12.877 21.096,22.443 36.58,27.15c5.528,1.669 10.557,4.576 15.204,8.094c3.152,2.359 3.93,4.385 1.301,8.033c-6.121,8.483 -10.282,17.966 -12.268,29.221c-11.455,-8.074 -23.553,-14.685 -31.18,-26.504c-5.529,-8.583 -10.499,-17.476 -14.988,-26.7c-4.353,-8.928 -12.354,-13.538 -22.175,-14.533c-7.208,-0.731 -14.437,-0.326 -22.033,2.036" style="fill:#4dba6d;"/>
13
+ <path d="M318.489,347.509c-1.017,-1.734 0.115,-3.092 0.747,-4.563c3.312,-7.725 6.762,-15.411 7.347,-23.966c0.15,-2.36 1.419,-3.069 3.549,-3.069c5.758,-0.042 10.888,-2.212 15.998,-4.572c10.302,-4.753 20.385,-10.179 32.334,-9.528c3.875,0.216 7.575,0.889 10.933,2.687c9.738,5.221 19.881,9.551 29.954,14.072c6.563,2.947 11.189,7.085 13.526,12.173c-6.443,0.059 -11.948,-2.775 -17.701,-4.355c-8.106,-2.255 -16.301,-3.722 -24.656,-4.791c-11.489,-1.466 -20.476,3.273 -27.663,11.304c-9.359,10.475 -21.625,13.156 -34.555,14.544c-3.259,0.368 -6.588,0.05 -9.875,0.022l0.062,0.042Z" style="fill:#4dba6d;"/>
14
+ <path d="M268.734,228.619c-13.455,-2.766 -26.434,-4.328 -40.078,-1.675c11.688,-32.168 8.106,-63.129 -3.386,-94.156c13.996,9.361 36.418,58.961 43.464,95.831" style="fill:#4dba6d;"/>
15
+ <path d="M159.927,301.152c0.087,9.341 -0.811,17.987 2.494,26.166c0.815,2.05 -0.591,2.146 -1.955,2.382c-18.264,3.094 -34.311,-2.209 -46.954,-15.044c-8.634,-8.772 -17.776,-9.089 -27.029,-3.939c-1.703,0.947 -3.381,1.965 -6.355,3.7c4.949,-10.482 11.033,-17.938 20.572,-22.28c9.643,-4.399 18.693,-4.525 26.84,3.417c9.277,9.053 20.19,10.078 32.387,5.598" style="fill:#4dba6d;"/>
16
+ <path d="M318.427,347.467c3.72,4.117 8.708,6.827 12.244,11.231c18.424,23.016 19.465,51.449 -3.938,75.137c-0.8,0.821 -1.556,2.159 -2.788,1.597c-1.614,-0.738 -1.329,-2.471 -1.173,-3.939c0.878,-9.672 1.704,-19.329 1.722,-29.039c0.051,-15.806 -8.029,-25.986 -23.527,-29.532c-1.123,-0.261 -2.244,-0.519 -3.995,-0.932c6.13,-5.338 11.655,-10.736 16.084,-17.177c1.697,-2.492 2.077,-6.049 5.433,-7.304l-0.062,-0.042Z" style="fill:#4dba6d;"/>
17
+ <path d="M299.793,246.079c7.263,-2.612 13.37,-6.202 18.488,-11.54c3.888,-4.035 5.488,-9.314 8.193,-13.989c1.841,-3.15 3.698,-6.26 6.757,-8.387c4.281,-3.001 8.742,-4.536 14.314,-3.597c10.052,1.69 20.112,3.15 29.6,7.152c2.575,1.076 5.003,2.382 8.499,5.111c-6.667,0 -11.98,0.422 -17.214,-0.088c-11.219,-1.072 -18.381,3.942 -23.268,13.693c-2.857,5.715 -5.956,11.32 -9.64,16.629c-4.49,6.452 -10.839,9.854 -17.832,12.578c-1.261,0.498 -2.551,1.177 -3.446,-0.413c-3.692,-6.479 -9.146,-11.536 -14.451,-17.149" style="fill:#4dba6d;"/>
18
+ <path d="M292.815,164.227c6.62,7.404 11.384,15.436 14.874,24.148c2.864,7.192 2.001,14.564 -0.459,21.715c-3.117,9.038 -7.965,17.298 -11.894,25.977c-1.307,2.9 -2.919,4.155 -6.378,1.828c-4.747,-3.193 -10.085,-5.519 -15.597,-7.303c-1.932,-0.629 -3.741,-1.43 -3.283,-4.067c0.906,-5.176 1.012,-10.46 2.644,-15.513c1.04,-3.212 2.507,-6.328 5.187,-8.258c11.504,-8.237 16.228,-19.359 14.927,-33.286c-0.169,-1.735 -0.021,-3.486 -0.021,-5.241" style="fill:#4dba6d;"/><g><path d="M44.308,305.678c0,32.362 19.186,59.638 52.935,59.638c15.718,0 25.889,-5.316 32.824,-15.256l0.462,0c0,0 -0.231,3.467 -0.231,6.241l0,5.548c0,21.266 -15.487,28.894 -33.286,28.894c-18.031,0 -32.593,-7.859 -32.593,-7.859l-9.015,23.116c11.326,6.01 27.045,10.171 41.839,10.171c30.743,0 62.181,-15.257 62.181,-55.709l0,-81.136c0,-3.005 2.08,-4.623 5.085,-4.623l9.015,0l0,-24.964l-27.276,0c-9.247,0 -12.945,5.547 -12.945,10.864c0,1.618 0,3.005 0,3.005l-0.462,0c0,0 -9.015,-16.643 -36.292,-16.643c-33.98,0 -52.241,26.351 -52.241,58.713Zm59.176,34.905c-18.955,0 -29.357,-15.257 -29.357,-35.829c0,-19.88 9.709,-32.825 27.508,-32.825c15.949,0 29.356,7.166 29.356,33.98c0,26.583 -13.407,34.674 -27.507,34.674Z" style="fill:#fff;fill-rule:nonzero;"/>
19
+ <path d="M185.775,308.683c0,33.518 24.272,61.719 63.337,61.719c29.357,0 47.387,-17.799 47.387,-17.799l-12.251,-20.342c0,0 -14.101,13.176 -33.056,13.176c-17.799,0 -33.055,-10.864 -35.366,-31.668l81.366,0c0,0 0.694,-7.397 0.694,-10.865c0,-31.206 -18.493,-55.939 -52.241,-55.939c-35.367,0 -59.87,25.427 -59.87,61.718Zm30.975,-15.256c3.236,-14.794 13.869,-23.809 28.895,-23.809c12.02,0 21.728,9.708 22.191,23.809l-51.086,0Z" style="fill:#fff;fill-rule:nonzero;"/>
20
+ <path d="M314.529,308.683c0,36.292 28.663,61.719 64.492,61.719c36.061,0 64.724,-25.427 64.724,-61.719c0,-36.06 -28.663,-61.718 -64.724,-61.718c-35.829,0 -64.492,25.658 -64.492,61.718Zm29.588,0c0,-21.728 15.95,-36.754 34.904,-36.754c19.186,0 35.136,15.026 35.136,36.754c0,21.96 -15.95,36.754 -35.136,36.754c-18.954,0 -34.904,-14.794 -34.904,-36.754Z" style="fill:#fff;fill-rule:nonzero;"/></g></g><g id="for-dark-backgrounds" serif:id="for dark backgrounds"><path d="M550.992,353.09c16.8,0 30.661,-13.86 30.661,-38.012c0,-23.1 -12.39,-38.011 -30.241,-38.011c-15.751,0 -30.451,11.13 -30.451,38.221c0,18.901 9.87,37.802 30.031,37.802m-49.981,-111.304c0,-3.15 -1.681,-4.62 -4.621,-4.62l-8.61,0l0,-17.43l20.161,0c9.45,0 13.44,3.99 13.44,13.44l0,34.651c0,5.04 -0.42,8.82 -0.42,8.82l0.42,0c0,0 9.24,-17.431 34.231,-17.431c28.561,0 46.622,22.682 46.622,55.652c0,33.812 -20.371,55.653 -48.302,55.653c-23.731,0 -33.391,-17.851 -33.391,-17.851l-0.42,0c0,0 0.42,3.359 0.42,7.98l0,7.35l-19.53,0l0,-126.214Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
21
+ <path d="M627.431,241.786c0,-3.15 -1.68,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.45,0 13.441,3.99 13.441,13.441l0,112.773c0,3.15 1.68,4.62 4.62,4.62l8.61,0l0,17.431l-20.161,0c-9.45,0 -13.44,-3.99 -13.44,-13.441l0,-112.773Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
22
+ <path d="M714.302,354.14c17.22,0 28.351,-18.061 28.351,-33.812l0,-3.569l-5.25,0c-15.331,0 -43.052,0.84 -43.052,20.37c0,8.611 6.511,17.011 19.951,17.011m23.521,-52.292l4.62,0l0,-1.05c0,-18.69 -6.931,-25.41 -23.521,-25.41c-5.04,0 -17.431,1.259 -17.431,8.189l0,6.091l-19.11,0l0,-10.501c0,-17.43 26.461,-19.95 36.751,-19.95c34.441,0 43.682,18.061 43.682,41.581l0,45.152c0,3.15 1.679,4.62 4.62,4.62l8.61,0l0,17.43l-19.111,0c-9.45,0 -13.23,-4.62 -13.23,-12.18c0,-3.571 0.42,-6.3 0.42,-6.3l-0.42,0c0,0 -8.401,21.001 -33.811,21.001c-18.271,0 -36.122,-11.131 -36.122,-32.342c0,-34.23 46.202,-36.331 64.053,-36.331" style="fill:#cdcdcd;fill-rule:nonzero;"/>
23
+ <path d="M844.682,259.216c12.811,0 38.222,5.25 38.222,23.311l0,10.92l-18.481,0l0,-5.88c0,-7.56 -11.97,-10.92 -19.741,-10.92c-20.79,0 -36.331,15.54 -36.331,38.011c0,24.15 17.641,37.802 37.382,37.802c19.95,0 32.97,-14.702 32.97,-14.702l8.821,14.491c0,0 -15.12,18.271 -43.262,18.271c-33.391,0 -56.701,-23.731 -56.701,-55.652c0,-31.291 22.891,-55.652 57.121,-55.652" style="fill:#cdcdcd;fill-rule:nonzero;"/>
24
+ <path d="M909.011,241.786c0,-3.15 -1.681,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.45,0 13.44,2.73 13.44,12.18l0,68.883l9.45,0c3.781,0 8.401,-1.05 11.131,-4.62l24.57,-34.441l23.312,0l-28.771,39.481c-4.831,6.51 -7.981,7.98 -7.981,7.98l0,0.42c0,0 3.57,1.26 7.141,7.981l15.751,28.77c1.679,3.36 3.779,4.2 9.03,4.2l6.51,0l0,17.431l-14.7,0c-9.871,0 -13.021,-1.68 -17.641,-9.87l-19.321,-35.701c-2.31,-3.991 -7.14,-4.411 -10.5,-4.411l-7.981,0l0,49.982l-20.37,0l0,-126.214Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
25
+ <path d="M1019.43,241.786c0,-3.15 -1.681,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.451,0 13.44,3.99 13.44,13.441l0,112.773c0,3.15 1.681,4.62 4.621,4.62l8.61,0l0,17.431l-20.161,0c-9.45,0 -13.44,-3.99 -13.44,-13.441l0,-112.773Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
26
+ <path d="M1077.32,219.735l18.271,0l0,21.21l-18.271,0l0,-21.21Zm-0.42,64.052c0,-3.15 -1.679,-4.62 -4.62,-4.62l-8.61,0l0,-17.43l19.951,0c9.45,0 13.441,3.99 13.441,13.44l0,70.772c0,3.151 1.679,4.62 4.62,4.62l8.61,0l0,17.431l-19.951,0c-9.45,0 -13.441,-3.99 -13.441,-13.44l0,-70.773Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
27
+ <path d="M1203.57,312.559c0,-27.722 -13.651,-35.702 -30.031,-35.702c-18.481,0 -28.982,13.441 -28.982,35.071c0,22.051 11.551,37.172 30.661,37.172c14.701,0 28.352,-8.82 28.352,-36.541m-33.182,-53.342c26.461,0 34.022,16.591 34.022,16.591l0.42,0l0,-3.361c0,-6.3 3.36,-10.71 11.76,-10.71l19.741,0l0,17.43l-8.401,0c-2.73,0 -4.62,1.471 -4.62,4.201l0,80.222c0,35.072 -26.671,48.512 -53.552,48.512c-12.81,0 -25.831,-3.57 -36.331,-8.82l6.93,-16.381c0,0 13.021,7.14 28.982,7.14c18.48,0 33.6,-8.19 33.6,-29.611l0,-7.14c0,-3.36 0.421,-6.72 0.421,-6.72l-0.421,0c-6.3,10.29 -16.17,16.171 -31.711,16.171c-29.4,0 -47.461,-23.732 -47.461,-54.392c0,-30.451 17.011,-53.132 46.621,-53.132" style="fill:#cdcdcd;fill-rule:nonzero;"/>
28
+ <path d="M1258.01,241.786c0,-3.15 -1.681,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.45,0 13.44,3.99 13.44,13.021l0,41.371c0,5.04 -0.42,8.82 -0.42,8.82l0.42,0c4.62,-10.29 18.271,-23.731 39.482,-23.731c24.991,0 36.331,13.651 36.331,40.742l0,45.991c0,3.15 1.68,4.62 4.62,4.62l8.61,0l0,17.431l-19.95,0c-9.45,0 -13.441,-3.99 -13.441,-13.441l0,-49.981c0,-14.91 -3.15,-26.671 -20.161,-26.671c-16.17,0 -29.19,10.92 -33.6,26.251c-1.471,4.2 -1.891,9.03 -1.891,14.07l0,49.772l-20.37,0l0,-126.214Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
29
+ <path d="M1390.69,278.117l-13.86,0l0,-16.38l14.28,0l0,-29.191l19.951,0l0,29.191l25.41,0l0,16.38l-25.41,0l0,48.722c0,21.211 14.7,23.94 22.471,23.94c2.939,0 4.83,-0.42 4.83,-0.42l0,18.061c0,0 -2.731,0.42 -7.141,0.42c-13.44,0 -40.531,-4.201 -40.531,-39.692l0,-51.031Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
30
+ </g>
31
+ </svg>
@@ -17,15 +17,15 @@
17
17
  <path d="M299.793,246.079c7.263,-2.612 13.37,-6.202 18.488,-11.54c3.888,-4.035 5.488,-9.314 8.193,-13.989c1.841,-3.15 3.698,-6.26 6.757,-8.387c4.281,-3.001 8.742,-4.536 14.314,-3.597c10.052,1.69 20.112,3.15 29.6,7.152c2.575,1.076 5.003,2.382 8.499,5.111c-6.667,0 -11.98,0.422 -17.214,-0.088c-11.219,-1.072 -18.381,3.942 -23.268,13.693c-2.857,5.715 -5.956,11.32 -9.64,16.629c-4.49,6.452 -10.839,9.854 -17.832,12.578c-1.261,0.498 -2.551,1.177 -3.446,-0.413c-3.692,-6.479 -9.146,-11.536 -14.451,-17.149" style="fill:#4dba6d;"/>
18
18
  <path d="M292.815,164.227c6.62,7.404 11.384,15.436 14.874,24.148c2.864,7.192 2.001,14.564 -0.459,21.715c-3.117,9.038 -7.965,17.298 -11.894,25.977c-1.307,2.9 -2.919,4.155 -6.378,1.828c-4.747,-3.193 -10.085,-5.519 -15.597,-7.303c-1.932,-0.629 -3.741,-1.43 -3.283,-4.067c0.906,-5.176 1.012,-10.46 2.644,-15.513c1.04,-3.212 2.507,-6.328 5.187,-8.258c11.504,-8.237 16.228,-19.359 14.927,-33.286c-0.169,-1.735 -0.021,-3.486 -0.021,-5.241" style="fill:#4dba6d;"/><g><path d="M44.308,305.678c0,32.362 19.186,59.638 52.935,59.638c15.718,0 25.889,-5.316 32.824,-15.256l0.462,0c0,0 -0.231,3.467 -0.231,6.241l0,5.548c0,21.266 -15.487,28.894 -33.286,28.894c-18.031,0 -32.593,-7.859 -32.593,-7.859l-9.015,23.116c11.326,6.01 27.045,10.171 41.839,10.171c30.743,0 62.181,-15.257 62.181,-55.709l0,-81.136c0,-3.005 2.08,-4.623 5.085,-4.623l9.015,0l0,-24.964l-27.276,0c-9.247,0 -12.945,5.547 -12.945,10.864c0,1.618 0,3.005 0,3.005l-0.462,0c0,0 -9.015,-16.643 -36.292,-16.643c-33.98,0 -52.241,26.351 -52.241,58.713Zm59.176,34.905c-18.955,0 -29.357,-15.257 -29.357,-35.829c0,-19.88 9.709,-32.825 27.508,-32.825c15.949,0 29.356,7.166 29.356,33.98c0,26.583 -13.407,34.674 -27.507,34.674Z" style="fill:#fff;fill-rule:nonzero;"/>
19
19
  <path d="M185.775,308.683c0,33.518 24.272,61.719 63.337,61.719c29.357,0 47.387,-17.799 47.387,-17.799l-12.251,-20.342c0,0 -14.101,13.176 -33.056,13.176c-17.799,0 -33.055,-10.864 -35.366,-31.668l81.366,0c0,0 0.694,-7.397 0.694,-10.865c0,-31.206 -18.493,-55.939 -52.241,-55.939c-35.367,0 -59.87,25.427 -59.87,61.718Zm30.975,-15.256c3.236,-14.794 13.869,-23.809 28.895,-23.809c12.02,0 21.728,9.708 22.191,23.809l-51.086,0Z" style="fill:#fff;fill-rule:nonzero;"/>
20
- <path d="M314.529,308.683c0,36.292 28.663,61.719 64.492,61.719c36.061,0 64.724,-25.427 64.724,-61.719c0,-36.06 -28.663,-61.718 -64.724,-61.718c-35.829,0 -64.492,25.658 -64.492,61.718Zm29.588,0c0,-21.728 15.95,-36.754 34.904,-36.754c19.186,0 35.136,15.026 35.136,36.754c0,21.96 -15.95,36.754 -35.136,36.754c-18.954,0 -34.904,-14.794 -34.904,-36.754Z" style="fill:#fff;fill-rule:nonzero;"/></g></g><g id="for-dark-backgrounds" serif:id="for dark backgrounds"><path d="M550.992,353.09c16.8,0 30.661,-13.86 30.661,-38.012c0,-23.1 -12.39,-38.011 -30.241,-38.011c-15.751,0 -30.451,11.13 -30.451,38.221c0,18.901 9.87,37.802 30.031,37.802m-49.981,-111.304c0,-3.15 -1.681,-4.62 -4.621,-4.62l-8.61,0l0,-17.43l20.161,0c9.45,0 13.44,3.99 13.44,13.44l0,34.651c0,5.04 -0.42,8.82 -0.42,8.82l0.42,0c0,0 9.24,-17.431 34.231,-17.431c28.561,0 46.622,22.682 46.622,55.652c0,33.812 -20.371,55.653 -48.302,55.653c-23.731,0 -33.391,-17.851 -33.391,-17.851l-0.42,0c0,0 0.42,3.359 0.42,7.98l0,7.35l-19.53,0l0,-126.214Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
21
- <path d="M627.431,241.786c0,-3.15 -1.68,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.45,0 13.441,3.99 13.441,13.441l0,112.773c0,3.15 1.68,4.62 4.62,4.62l8.61,0l0,17.431l-20.161,0c-9.45,0 -13.44,-3.99 -13.44,-13.441l0,-112.773Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
22
- <path d="M714.302,354.14c17.22,0 28.351,-18.061 28.351,-33.812l0,-3.569l-5.25,0c-15.331,0 -43.052,0.84 -43.052,20.37c0,8.611 6.511,17.011 19.951,17.011m23.521,-52.292l4.62,0l0,-1.05c0,-18.69 -6.931,-25.41 -23.521,-25.41c-5.04,0 -17.431,1.259 -17.431,8.189l0,6.091l-19.11,0l0,-10.501c0,-17.43 26.461,-19.95 36.751,-19.95c34.441,0 43.682,18.061 43.682,41.581l0,45.152c0,3.15 1.679,4.62 4.62,4.62l8.61,0l0,17.43l-19.111,0c-9.45,0 -13.23,-4.62 -13.23,-12.18c0,-3.571 0.42,-6.3 0.42,-6.3l-0.42,0c0,0 -8.401,21.001 -33.811,21.001c-18.271,0 -36.122,-11.131 -36.122,-32.342c0,-34.23 46.202,-36.331 64.053,-36.331" style="fill:#cdcdcd;fill-rule:nonzero;"/>
23
- <path d="M844.682,259.216c12.811,0 38.222,5.25 38.222,23.311l0,10.92l-18.481,0l0,-5.88c0,-7.56 -11.97,-10.92 -19.741,-10.92c-20.79,0 -36.331,15.54 -36.331,38.011c0,24.15 17.641,37.802 37.382,37.802c19.95,0 32.97,-14.702 32.97,-14.702l8.821,14.491c0,0 -15.12,18.271 -43.262,18.271c-33.391,0 -56.701,-23.731 -56.701,-55.652c0,-31.291 22.891,-55.652 57.121,-55.652" style="fill:#cdcdcd;fill-rule:nonzero;"/>
24
- <path d="M909.011,241.786c0,-3.15 -1.681,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.45,0 13.44,2.73 13.44,12.18l0,68.883l9.45,0c3.781,0 8.401,-1.05 11.131,-4.62l24.57,-34.441l23.312,0l-28.771,39.481c-4.831,6.51 -7.981,7.98 -7.981,7.98l0,0.42c0,0 3.57,1.26 7.141,7.981l15.751,28.77c1.679,3.36 3.779,4.2 9.03,4.2l6.51,0l0,17.431l-14.7,0c-9.871,0 -13.021,-1.68 -17.641,-9.87l-19.321,-35.701c-2.31,-3.991 -7.14,-4.411 -10.5,-4.411l-7.981,0l0,49.982l-20.37,0l0,-126.214Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
25
- <path d="M1019.43,241.786c0,-3.15 -1.681,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.451,0 13.44,3.99 13.44,13.441l0,112.773c0,3.15 1.681,4.62 4.621,4.62l8.61,0l0,17.431l-20.161,0c-9.45,0 -13.44,-3.99 -13.44,-13.441l0,-112.773Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
26
- <path d="M1077.32,219.735l18.271,0l0,21.21l-18.271,0l0,-21.21Zm-0.42,64.052c0,-3.15 -1.679,-4.62 -4.62,-4.62l-8.61,0l0,-17.43l19.951,0c9.45,0 13.441,3.99 13.441,13.44l0,70.772c0,3.151 1.679,4.62 4.62,4.62l8.61,0l0,17.431l-19.951,0c-9.45,0 -13.441,-3.99 -13.441,-13.44l0,-70.773Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
27
- <path d="M1203.57,312.559c0,-27.722 -13.651,-35.702 -30.031,-35.702c-18.481,0 -28.982,13.441 -28.982,35.071c0,22.051 11.551,37.172 30.661,37.172c14.701,0 28.352,-8.82 28.352,-36.541m-33.182,-53.342c26.461,0 34.022,16.591 34.022,16.591l0.42,0l0,-3.361c0,-6.3 3.36,-10.71 11.76,-10.71l19.741,0l0,17.43l-8.401,0c-2.73,0 -4.62,1.471 -4.62,4.201l0,80.222c0,35.072 -26.671,48.512 -53.552,48.512c-12.81,0 -25.831,-3.57 -36.331,-8.82l6.93,-16.381c0,0 13.021,7.14 28.982,7.14c18.48,0 33.6,-8.19 33.6,-29.611l0,-7.14c0,-3.36 0.421,-6.72 0.421,-6.72l-0.421,0c-6.3,10.29 -16.17,16.171 -31.711,16.171c-29.4,0 -47.461,-23.732 -47.461,-54.392c0,-30.451 17.011,-53.132 46.621,-53.132" style="fill:#cdcdcd;fill-rule:nonzero;"/>
28
- <path d="M1258.01,241.786c0,-3.15 -1.681,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.45,0 13.44,3.99 13.44,13.021l0,41.371c0,5.04 -0.42,8.82 -0.42,8.82l0.42,0c4.62,-10.29 18.271,-23.731 39.482,-23.731c24.991,0 36.331,13.651 36.331,40.742l0,45.991c0,3.15 1.68,4.62 4.62,4.62l8.61,0l0,17.431l-19.95,0c-9.45,0 -13.441,-3.99 -13.441,-13.441l0,-49.981c0,-14.91 -3.15,-26.671 -20.161,-26.671c-16.17,0 -29.19,10.92 -33.6,26.251c-1.471,4.2 -1.891,9.03 -1.891,14.07l0,49.772l-20.37,0l0,-126.214Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
29
- <path d="M1390.69,278.117l-13.86,0l0,-16.38l14.28,0l0,-29.191l19.951,0l0,29.191l25.41,0l0,16.38l-25.41,0l0,48.722c0,21.211 14.7,23.94 22.471,23.94c2.939,0 4.83,-0.42 4.83,-0.42l0,18.061c0,0 -2.731,0.42 -7.141,0.42c-13.44,0 -40.531,-4.201 -40.531,-39.692l0,-51.031Z" style="fill:#cdcdcd;fill-rule:nonzero;"/>
20
+ <path d="M314.529,308.683c0,36.292 28.663,61.719 64.492,61.719c36.061,0 64.724,-25.427 64.724,-61.719c0,-36.06 -28.663,-61.718 -64.724,-61.718c-35.829,0 -64.492,25.658 -64.492,61.718Zm29.588,0c0,-21.728 15.95,-36.754 34.904,-36.754c19.186,0 35.136,15.026 35.136,36.754c0,21.96 -15.95,36.754 -35.136,36.754c-18.954,0 -34.904,-14.794 -34.904,-36.754Z" style="fill:#fff;fill-rule:nonzero;"/></g></g><g id="for-light-backgrounds" serif:id="for light backgrounds"><path d="M550.992,353.09c16.8,0 30.661,-13.86 30.661,-38.012c0,-23.1 -12.39,-38.011 -30.241,-38.011c-15.751,0 -30.451,11.13 -30.451,38.221c0,18.901 9.87,37.802 30.031,37.802m-49.981,-111.304c0,-3.15 -1.681,-4.62 -4.621,-4.62l-8.61,0l0,-17.43l20.161,0c9.45,0 13.44,3.99 13.44,13.44l0,34.651c0,5.04 -0.42,8.82 -0.42,8.82l0.42,0c0,0 9.24,-17.431 34.231,-17.431c28.561,0 46.622,22.682 46.622,55.652c0,33.812 -20.371,55.653 -48.302,55.653c-23.731,0 -33.391,-17.851 -33.391,-17.851l-0.42,0c0,0 0.42,3.359 0.42,7.98l0,7.35l-19.53,0l0,-126.214Z" style="fill:#4d4d4d;fill-rule:nonzero;"/>
21
+ <path d="M627.431,241.786c0,-3.15 -1.68,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.45,0 13.441,3.99 13.441,13.441l0,112.773c0,3.15 1.68,4.62 4.62,4.62l8.61,0l0,17.431l-20.161,0c-9.45,0 -13.44,-3.99 -13.44,-13.441l0,-112.773Z" style="fill:#4d4d4d;fill-rule:nonzero;"/>
22
+ <path d="M714.302,354.14c17.22,0 28.351,-18.061 28.351,-33.812l0,-3.569l-5.25,0c-15.331,0 -43.052,0.84 -43.052,20.37c0,8.611 6.511,17.011 19.951,17.011m23.521,-52.292l4.62,0l0,-1.05c0,-18.69 -6.931,-25.41 -23.521,-25.41c-5.04,0 -17.431,1.259 -17.431,8.189l0,6.091l-19.11,0l0,-10.501c0,-17.43 26.461,-19.95 36.751,-19.95c34.441,0 43.682,18.061 43.682,41.581l0,45.152c0,3.15 1.679,4.62 4.62,4.62l8.61,0l0,17.43l-19.111,0c-9.45,0 -13.23,-4.62 -13.23,-12.18c0,-3.571 0.42,-6.3 0.42,-6.3l-0.42,0c0,0 -8.401,21.001 -33.811,21.001c-18.271,0 -36.122,-11.131 -36.122,-32.342c0,-34.23 46.202,-36.331 64.053,-36.331" style="fill:#4d4d4d;fill-rule:nonzero;"/>
23
+ <path d="M844.682,259.216c12.811,0 38.222,5.25 38.222,23.311l0,10.92l-18.481,0l0,-5.88c0,-7.56 -11.97,-10.92 -19.741,-10.92c-20.79,0 -36.331,15.54 -36.331,38.011c0,24.15 17.641,37.802 37.382,37.802c19.95,0 32.97,-14.702 32.97,-14.702l8.821,14.491c0,0 -15.12,18.271 -43.262,18.271c-33.391,0 -56.701,-23.731 -56.701,-55.652c0,-31.291 22.891,-55.652 57.121,-55.652" style="fill:#4d4d4d;fill-rule:nonzero;"/>
24
+ <path d="M909.011,241.786c0,-3.15 -1.681,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.45,0 13.44,2.73 13.44,12.18l0,68.883l9.45,0c3.781,0 8.401,-1.05 11.131,-4.62l24.57,-34.441l23.312,0l-28.771,39.481c-4.831,6.51 -7.981,7.98 -7.981,7.98l0,0.42c0,0 3.57,1.26 7.141,7.981l15.751,28.77c1.679,3.36 3.779,4.2 9.03,4.2l6.51,0l0,17.431l-14.7,0c-9.871,0 -13.021,-1.68 -17.641,-9.87l-19.321,-35.701c-2.31,-3.991 -7.14,-4.411 -10.5,-4.411l-7.981,0l0,49.982l-20.37,0l0,-126.214Z" style="fill:#4d4d4d;fill-rule:nonzero;"/>
25
+ <path d="M1019.43,241.786c0,-3.15 -1.681,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.451,0 13.44,3.99 13.44,13.441l0,112.773c0,3.15 1.681,4.62 4.621,4.62l8.61,0l0,17.431l-20.161,0c-9.45,0 -13.44,-3.99 -13.44,-13.441l0,-112.773Z" style="fill:#4d4d4d;fill-rule:nonzero;"/>
26
+ <path d="M1077.32,219.735l18.271,0l0,21.21l-18.271,0l0,-21.21Zm-0.42,64.052c0,-3.15 -1.679,-4.62 -4.62,-4.62l-8.61,0l0,-17.43l19.951,0c9.45,0 13.441,3.99 13.441,13.44l0,70.772c0,3.151 1.679,4.62 4.62,4.62l8.61,0l0,17.431l-19.951,0c-9.45,0 -13.441,-3.99 -13.441,-13.44l0,-70.773Z" style="fill:#4d4d4d;fill-rule:nonzero;"/>
27
+ <path d="M1203.57,312.559c0,-27.722 -13.651,-35.702 -30.031,-35.702c-18.481,0 -28.982,13.441 -28.982,35.071c0,22.051 11.551,37.172 30.661,37.172c14.701,0 28.352,-8.82 28.352,-36.541m-33.182,-53.342c26.461,0 34.022,16.591 34.022,16.591l0.42,0l0,-3.361c0,-6.3 3.36,-10.71 11.76,-10.71l19.741,0l0,17.43l-8.401,0c-2.73,0 -4.62,1.471 -4.62,4.201l0,80.222c0,35.072 -26.671,48.512 -53.552,48.512c-12.81,0 -25.831,-3.57 -36.331,-8.82l6.93,-16.381c0,0 13.021,7.14 28.982,7.14c18.48,0 33.6,-8.19 33.6,-29.611l0,-7.14c0,-3.36 0.421,-6.72 0.421,-6.72l-0.421,0c-6.3,10.29 -16.17,16.171 -31.711,16.171c-29.4,0 -47.461,-23.732 -47.461,-54.392c0,-30.451 17.011,-53.132 46.621,-53.132" style="fill:#4d4d4d;fill-rule:nonzero;"/>
28
+ <path d="M1258.01,241.786c0,-3.15 -1.681,-4.62 -4.62,-4.62l-8.61,0l0,-17.431l20.16,0c9.45,0 13.44,3.99 13.44,13.021l0,41.371c0,5.04 -0.42,8.82 -0.42,8.82l0.42,0c4.62,-10.29 18.271,-23.731 39.482,-23.731c24.991,0 36.331,13.651 36.331,40.742l0,45.991c0,3.15 1.68,4.62 4.62,4.62l8.61,0l0,17.431l-19.95,0c-9.45,0 -13.441,-3.99 -13.441,-13.441l0,-49.981c0,-14.91 -3.15,-26.671 -20.161,-26.671c-16.17,0 -29.19,10.92 -33.6,26.251c-1.471,4.2 -1.891,9.03 -1.891,14.07l0,49.772l-20.37,0l0,-126.214Z" style="fill:#4d4d4d;fill-rule:nonzero;"/>
29
+ <path d="M1390.69,278.117l-13.86,0l0,-16.38l14.28,0l0,-29.191l19.951,0l0,29.191l25.41,0l0,16.38l-25.41,0l0,48.722c0,21.211 14.7,23.94 22.471,23.94c2.939,0 4.83,-0.42 4.83,-0.42l0,18.061c0,0 -2.731,0.42 -7.141,0.42c-13.44,0 -40.531,-4.201 -40.531,-39.692l0,-51.031Z" style="fill:#4d4d4d;fill-rule:nonzero;"/>
30
30
  </g>
31
31
  </svg>
@@ -7,22 +7,31 @@
7
7
  }
8
8
 
9
9
  /* Truncation */
10
+ /* NOTE: text truncation is line-based; field truncation is based on the number
11
+ * of items in that field. They apply to different elements (paragraph vs dd).
12
+ * Both use the CSS here. */
10
13
  .truncate-abstract {
11
14
  transition: none; /* No animation */
12
15
  position: relative;
13
16
  }
14
17
 
18
+ .truncate-field {
19
+ margin: 0;
20
+ padding: 0;
21
+ }
22
+
23
+ .read-more-slot:empty {
24
+ display: none;
25
+ }
26
+
15
27
  .truncate-abstract.collapse:not(.show),
16
28
  .truncate-abstract.collapsing {
17
29
  display: block;
18
30
  display: -webkit-box;
19
- height: auto;
20
- min-height: 8rem;
21
- max-height: 8rem;
22
31
  overflow-y: hidden;
23
- line-clamp: 8;
32
+ line-clamp: var(--max-lines, 8);
33
+ -webkit-line-clamp: var(--max-lines, 8);
24
34
  -webkit-box-orient: vertical;
25
- -webkit-line-clamp: 8;
26
35
 
27
36
  /* Gradient fade effect */
28
37
  &::after {
@@ -31,7 +40,35 @@
31
40
  bottom: 0;
32
41
  left: 0;
33
42
  width: 100%;
34
- height: 2rem;
35
- background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bs-body-bg));
43
+ height: 2em;
44
+ pointer-events: none;
45
+ background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bs-body-bg) 65%);
36
46
  }
37
47
  }
48
+
49
+ .truncate-field > dd.truncate-preview {
50
+ position: relative;
51
+ max-height: 0.7em;
52
+ overflow: hidden;
53
+
54
+ /* Gradient fade effect */
55
+ &::after {
56
+ content: "";
57
+ position: absolute;
58
+ inset: 0;
59
+ pointer-events: none;
60
+ background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bs-body-bg) 85%);
61
+ }
62
+ }
63
+
64
+ /* Badges */
65
+ .icon-badge,
66
+ .file-type-badge {
67
+ text-transform: uppercase;
68
+ font-weight: 600;
69
+ gap: 0.25em;
70
+ display: inline-flex;
71
+ align-items: center;
72
+ color: var(--bs-body-color);
73
+ background-color: var(--bs-secondary-bg);
74
+ }
@@ -1,12 +1,5 @@
1
1
  /* Styles for index maps */
2
2
 
3
- /* Outline the border of the clickable areas to improve contrast */
4
- .viewer[data-leaflet-viewer-protocol-value="IndexMap"] {
5
- .leaflet-interactive {
6
- stroke: black;
7
- }
8
- }
9
-
10
3
  /* Index map legend */
11
4
  .index-map-legend {
12
5
  margin-bottom: 0.5em;
@@ -17,11 +17,6 @@
17
17
  }
18
18
  }
19
19
 
20
- /* Attribute table */
21
- [data-sidebar="false"] .attribute-data {
22
- margin-top: 1rem;
23
- }
24
-
25
20
  /* Metadata */
26
21
  .document-metadata {
27
22
  margin-top: 1rem;
@@ -46,13 +41,42 @@
46
41
  }
47
42
  }
48
43
 
44
+ /* Relations */
49
45
  #relations {
50
46
  display: block;
51
- }
52
47
 
53
- .relations {
54
- .list-group {
55
- --bs-list-group-border-width: 0;
48
+ .card + .card {
49
+ margin-top: 1rem;
50
+ }
51
+
52
+ .card-header {
53
+ display: flex;
54
+ justify-content: space-between;
55
+ }
56
+
57
+ .list-group-item {
58
+ display: flex;
59
+ flex-direction: column;
60
+ gap: 0.3em;
61
+ align-items: flex-start;
62
+ }
63
+
64
+ .description,
65
+ .read-more,
66
+ .browse-all,
67
+ .card-footer,
68
+ .badges {
69
+ font-size: calc(var(--bs-body-font-size) * 0.75);
70
+ }
71
+
72
+ .description p {
73
+ display: inline;
74
+ margin: 0;
75
+ }
76
+
77
+ .read-more {
78
+ display: inline-block;
79
+ flex: none;
56
80
  }
57
81
  }
58
82
 
@@ -7,6 +7,47 @@
7
7
  .document {
8
8
  border: 0;
9
9
  padding-bottom: var(--bl-results-document-padding-top);
10
+
11
+ .document-thumbnail {
12
+ padding: 0;
13
+ margin: 0 1rem 0 0;
14
+
15
+ a {
16
+ color: var(--bs-body-color);
17
+ background-color: var(--bs-body-bg);
18
+ text-decoration: none;
19
+ border: var(--bs-border-width) solid var(--bs-border-color);
20
+ border-radius: var(--bs-border-radius);
21
+ box-shadow: var(--bs-box-shadow);
22
+ overflow: hidden;
23
+ display: flex;
24
+ place-content: center;
25
+ place-items: center;
26
+ width: 6rem;
27
+ height: 6rem;
28
+ }
29
+
30
+ img {
31
+ max-height: 6rem;
32
+ width: auto;
33
+ object-fit: cover;
34
+ }
35
+
36
+ .blacklight-icons {
37
+ display: block;
38
+ height: fit-content;
39
+ width: fit-content;
40
+
41
+ svg {
42
+ height: 3rem;
43
+ width: 3rem;
44
+ }
45
+ }
46
+ }
47
+ }
48
+
49
+ .document.highlighted {
50
+ background-color: var(--bs-secondary-bg);
10
51
  }
11
52
  }
12
53
 
@@ -20,25 +61,13 @@
20
61
  line-height: 1.25;
21
62
  gap: 0.25em;
22
63
 
23
- .status-icons {
64
+ .badges {
24
65
  flex: none;
25
66
  display: flex;
26
67
  justify-content: flex-start;
27
68
  align-items: center;
28
69
  gap: 0.2em;
29
70
  }
30
-
31
- /* More info dropdown and area */
32
- .dropdown-toggle {
33
- width: 1.5em;
34
- height: 1.5em;
35
- }
36
-
37
- .dropdown-toggle::after {
38
- vertical-align: top;
39
- margin-left: -0.25em;
40
- margin-top: 0.25em;
41
- }
42
71
  }
43
72
 
44
73
  .index_title {
@@ -47,10 +76,30 @@
47
76
  flex-grow: 1;
48
77
  flex-shrink: 1;
49
78
  }
79
+
80
+ .document-main-section {
81
+ .metadata {
82
+ padding: 0.5em;
83
+ }
84
+
85
+ .badges {
86
+ margin-bottom: 0.5em;
87
+ }
88
+
89
+ .description p {
90
+ display: inline;
91
+ margin: 0;
92
+ }
93
+ }
50
94
  }
51
95
 
52
- .more-info-area > div {
53
- padding-left: var(--bl-results-document-padding-top);
54
- padding-right: var(--bl-results-document-padding-top);
55
- padding-bottom: var(--bl-results-document-padding-top);
96
+ /* Facet navigation */
97
+ .alpha-filter .pagination {
98
+ margin: 1rem 0;
99
+
100
+ @media (min-width: 992px) {
101
+ .page-item {
102
+ flex: 1;
103
+ }
104
+ }
56
105
  }
@@ -1,26 +1,32 @@
1
1
  /* Styles for map viewers */
2
2
 
3
+ /* Theme using bootstrap's colors */
4
+ :root {
5
+ --ogm-data-color: var(--bs-primary);
6
+ --ogm-highlight-color: var(--bs-success);
7
+ --ogm-selected-color: var(--bs-warning);
8
+ --ogm-invalid-color: var(--bs-danger);
9
+ }
10
+
3
11
  /* Viewers */
4
12
  .viewer {
13
+ display: block;
5
14
  height: 500px;
6
15
  }
7
16
 
8
- .leaflet-viewer,
9
- .openlayers-viewer,
10
- .mirador-viewer,
11
- .openseadragon-viewer {
17
+ .overview-map,
18
+ .locator-map {
12
19
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
13
- }
14
-
15
- .leaflet-viewer,
16
- .openseadragon-viewer {
17
20
  border-radius: var(--bs-border-radius);
21
+ clip-path: inset(0 round var(--bs-border-radius));
22
+ overflow: hidden;
18
23
  }
19
24
 
20
- /* Locator map on search results */
21
- search .location-viewer {
25
+ /* In the facet the search map fills the panel */
26
+ .facets .overview-map {
22
27
  border: none;
23
28
  border-radius: 0;
29
+ clip-path: none;
24
30
 
25
31
  @media (min-width: 992px) {
26
32
  height: unset;
@@ -28,106 +34,7 @@ search .location-viewer {
28
34
  }
29
35
  }
30
36
 
31
- .leaflet-container {
32
- background: var(--bs-body-bg);
33
- }
34
-
35
- /* Contrast fix for darkMatter theme in Leaflet */
36
- [data-bs-theme="dark"] .leaflet-tile-pane img[src*="dark_all"] {
37
- filter: brightness(2.5) contrast(200%);
38
- }
39
-
40
- /* Dark mode styles for leaflet controls */
41
- .leaflet-touch .leaflet-bar {
42
- border: 2px solid var(--bs-border-color);
43
- }
44
-
45
- .leaflet-bar a {
46
- color: var(--bs-body-color);
47
- background-color: var(--bs-body-bg);
48
-
49
- &:hover {
50
- color: var(--bs-body-color);
51
- background-color: color-mix(in srgb, var(--bs-body-bg), var(--bs-body-color) 10%);
52
- }
53
-
54
- &.leaflet-disabled {
55
- color: color-mix(in srgb, var(--bs-body-color), var(--bs-body-bg) 50%);
56
- background-color: var(--bs-body-bg);
57
- cursor: not-allowed;
58
-
59
- &:hover {
60
- color: color-mix(in srgb, var(--bs-body-color), var(--bs-body-bg) 50%);
61
- background-color: var(--bs-body-bg);
62
- }
63
- }
64
- }
65
-
66
- [data-bs-theme="dark"] .leaflet-bar a.leaflet-fullscreen-icon {
67
- color: var(--bs-body-bg);
68
- background-color: var(--bs-body-color);
69
- filter: invert(1);
70
-
71
- &:hover {
72
- background-color: color-mix(in srgb, var(--bs-body-color), black 10%);
73
- }
74
- }
75
-
76
- /* Dark mode responsiveness for openlayers viewer */
77
- :root {
78
- --ol-foreground-color: var(--bs-body-color);
79
- --ol-background-color: var(--bs-body-bg);
80
- }
81
-
82
- /* Hide attribution and controls and disable interaction on the static map */
83
- #static-map {
37
+ /* Smaller locator map for the show page */
38
+ .locator-map {
84
39
  height: 250px;
85
- pointer-events: none;
86
- cursor: default;
87
-
88
- .leaflet-interactive {
89
- pointer-events: none;
90
- cursor: default;
91
- }
92
-
93
- .leaflet-control-container {
94
- display: none;
95
- }
96
- }
97
-
98
- /* Prevent transparency of Leaflet's affiliations display to improve contrast */
99
- .leaflet-container .leaflet-control-attribution {
100
- background: var(--bs-body-bg);
101
- color: var(--bs-body-color);
102
-
103
- a {
104
- color: var(--bs-link-color);
105
- }
106
- }
107
-
108
- /* Fix text color on buttons inside the map to match Bootstrap */
109
- .leaflet-control-container {
110
- .search-control {
111
- a {
112
- color: var(--bs-btn-color);
113
- }
114
- }
115
- }
116
-
117
- /* Blur the background of the dynamic search toggle to improve contrast */
118
- #gbl-dynamic-button {
119
- background: rgba(var(--bs-body-bg-rgb), 0.7);
120
- backdrop-filter: blur(5px);
121
-
122
- /* Make sure it can fit inside the facet on very small screens */
123
- @media (min-width: 992px) and (max-width: 1199px) {
124
- --bs-btn-font-size: var(--bs-small-font-size);
125
- }
126
- }
127
-
128
- /* IIIF viewers */
129
- #mirador,
130
- #openseadragon {
131
- position: relative;
132
- height: 500px;
133
40
  }
@@ -1,10 +1,5 @@
1
1
  /* This is the default Geoblacklight theme. */
2
2
 
3
- /* GBL dependencies CSS */
4
- @import url("https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.css");
5
- @import url("https://cdn.jsdelivr.net/npm/leaflet.fullscreen@5.3.0/dist/Control.FullScreen.css");
6
- @import url("https://cdn.jsdelivr.net/npm/ol@8.1.0/ol.css");
7
-
8
3
  /* GBL CSS */
9
4
  @import url("geoblacklight/global.css");
10
5
  @import url("geoblacklight/viewers.css");
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Blacklight
4
+ module Icons
5
+ class GeoreferencedComponent < Blacklight::Icons::IconComponent
6
+ self.svg = svg
7
+
8
+ def svg
9
+ <<~SVG
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
11
+ <title>#{title}</title>
12
+ <path fill="currentColor" fill-rule="evenodd" d="M16 5a11 11 0 1 0 0 22 11 11 0 1 0 0-22zm0 3.5a7.5 7.5 0 1 1 0 15 7.5 7.5 0 1 1 0-15zm0 4a3.5 3.5 0 1 0 0 7 3.5 3.5 0 1 0 0-7zM0 14.25h4v3.5H0zm28 0h4v3.5h-4zM14.25 0h3.5v4h-3.5zm0 28h3.5v4h-3.5z"/>
13
+ </svg>
14
+ SVG
15
+ end
16
+
17
+ def title
18
+ key = "blacklight.icon.#{name}"
19
+ t(key)
20
+ end
21
+ end
22
+ end
23
+ end
@@ -1,5 +1,5 @@
1
1
  <li class="download list-group-item list-group-item-action">
2
2
  <%= link_to url, class: 'nav-link', data: @data do %>
3
- <% if file_type.present? %><span class="badge text-bg-secondary"><%= file_type %></span><% end %><span class="title"><%= title %></span>
3
+ <% if file_type.present? %><span class="badge file-type-badge"><%= file_type %></span><% end %><span class="title"><%= title %></span>
4
4
  <% end %>
5
5
  </li>
@@ -1,6 +1,4 @@
1
1
  <div id="viewer-container">
2
- <%= render Geoblacklight::ViewerHelpTextComponent.new('viewer_protocol', @document.viewer_protocol) %>
3
- <%= render Geoblacklight::IndexMapLegendComponent.new(document: @document) %>
4
2
  <%= render Geoblacklight::ItemMapViewerComponent.new(document: @document) %>
5
3
  <%= render Geoblacklight::IiifDragDropComponent.new(document: @document) %>
6
4
  </div>
@@ -17,8 +17,6 @@
17
17
  <%= render Geoblacklight::DisplayNoteComponent.new(display_note: display_note) %>
18
18
  <% end %>
19
19
  <%= render Geoblacklight::Document::PreviewComponent.new(document: @document) %>
20
- <%= render Geoblacklight::AttributeTableComponent.new(document: @document) %>
21
- <%= render Geoblacklight::IndexMapInspectComponent.new(document: @document) %>
22
20
  <%= embed %>
23
21
  <%= content %>
24
22
  <%= metadata %>
@@ -30,8 +28,6 @@
30
28
  <%= partial %>
31
29
  <% end %>
32
30
  </div>
33
-
34
- <%= thumbnail %>
35
31
  <% end %>
36
32
  <%= footer %>
37
33
  <% end %>
@@ -12,6 +12,7 @@
12
12
  </button>
13
13
  </h3>
14
14
  <div id="<%= html_id %>" role="region" aria-labelledby="<%= header_html_id %>" class="panel-collapse facet-content collapse show">
15
- <%= render Geoblacklight::LocationLeafletMapComponent.new(geosearch: { dynamic: true }) %>
15
+ <%# No map_geometry: this map is pointed at the results, or at the area they are filtered to %>
16
+ <%= render Geoblacklight::OverviewMapComponent.new(geosearch: true, map_geometry: nil) %>
16
17
  </div>
17
18
  </div>
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Geoblacklight
4
+ # Badge that indicates the data is georeferenced
5
+ class GeoreferencedHeaderBadgeComponent < HeaderBadgeComponent
6
+ # Don't render for empty or false values
7
+ def render?
8
+ @document.georeferenced?
9
+ end
10
+
11
+ # Without this, the badge would show "true" for the label
12
+ def label
13
+ t("geoblacklight.badges.georeferenced")
14
+ end
15
+ end
16
+ end