@openneuro/app 4.33.4 → 4.34.0-alpha.0

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 (302) hide show
  1. package/package.json +4 -3
  2. package/src/client.jsx +2 -1
  3. package/src/scripts/authentication/signOut.ts +1 -1
  4. package/src/scripts/common/containers/footer.tsx +1 -1
  5. package/src/scripts/common/containers/header.tsx +3 -2
  6. package/src/scripts/common/content/affiliate-content.jsx +72 -0
  7. package/src/scripts/common/content/assets/affiliates/bids.jpg +0 -0
  8. package/src/scripts/common/content/assets/affiliates/datalad.jpg +0 -0
  9. package/src/scripts/common/content/assets/affiliates/nih-bi-logo.png +0 -0
  10. package/src/scripts/common/content/assets/front-page/brand_mark.png +0 -0
  11. package/src/scripts/common/content/assets/front-page/cube-get.png +0 -0
  12. package/src/scripts/common/content/assets/front-page/cube-share.png +0 -0
  13. package/src/scripts/common/content/assets/front-page/cube-use.png +0 -0
  14. package/src/scripts/common/content/assets/front-page/ljaf.png +0 -0
  15. package/src/scripts/common/content/assets/front-page/logo_app.png +0 -0
  16. package/src/scripts/common/content/assets/front-page/logo_cube.png +0 -0
  17. package/src/scripts/common/content/assets/front-page/logo_data.png +0 -0
  18. package/src/scripts/common/content/assets/front-page/logo_users.png +0 -0
  19. package/src/scripts/common/content/assets/front-page/novo-logo.png +0 -0
  20. package/src/scripts/common/content/assets/front-page/nru-logo.png +0 -0
  21. package/src/scripts/common/content/assets/front-page/nsf.png +0 -0
  22. package/src/scripts/common/content/assets/front-page/sqm-logo.png +0 -0
  23. package/src/scripts/common/content/assets/front-page/squishymedia.png +0 -0
  24. package/src/scripts/common/content/assets/front-page/stanford.png +0 -0
  25. package/src/scripts/common/content/assets/modality-cubes/brain-initiative.jpg +0 -0
  26. package/src/scripts/common/content/assets/modality-cubes/eeg.jpg +0 -0
  27. package/src/scripts/common/content/assets/modality-cubes/ieeg.jpg +0 -0
  28. package/src/scripts/common/content/assets/modality-cubes/meg.jpg +0 -0
  29. package/src/scripts/common/content/assets/modality-cubes/mri.jpg +0 -0
  30. package/src/scripts/common/content/assets/modality-cubes/nih_cube.jpg +0 -0
  31. package/src/scripts/common/content/assets/modality-cubes/nirs.jpg +0 -0
  32. package/src/scripts/common/content/assets/modality-cubes/pet-scan.jpg +0 -0
  33. package/src/scripts/common/content/assets/portal-content/nih-bi-brand.png +0 -0
  34. package/src/scripts/common/content/facet-content.jsx +186 -0
  35. package/src/scripts/common/content/front-page-content.jsx +177 -0
  36. package/src/scripts/common/content/image-attribution.tsx +3 -3
  37. package/src/scripts/common/content/modality-cube-content.jsx +92 -0
  38. package/src/scripts/common/content/portal-content.jsx +149 -0
  39. package/src/scripts/common/content/portal-grant-content.jsx +30 -0
  40. package/src/scripts/common/content/sortby-list.jsx +18 -0
  41. package/src/scripts/common/forms/warn-button.jsx +1 -1
  42. package/src/scripts/components/accordion/AccordionTab.tsx +68 -0
  43. package/src/scripts/components/accordion/AccordionWrap.tsx +22 -0
  44. package/src/scripts/components/accordion/__tests__/AccordionTab.spec.tsx +35 -0
  45. package/src/scripts/components/accordion/accordion.scss +68 -0
  46. package/src/scripts/components/activity-slider/ActivitySlider.tsx +121 -0
  47. package/src/scripts/components/activity-slider/slider.scss +130 -0
  48. package/src/scripts/components/affiliate-article/AffiliateArticle.tsx +26 -0
  49. package/src/scripts/components/affiliate-article/affiliate.scss +32 -0
  50. package/src/scripts/components/aggregate-count/AggregateCount.tsx +20 -0
  51. package/src/scripts/components/assets/activity-icon.png +0 -0
  52. package/src/scripts/components/assets/close-button.png +0 -0
  53. package/src/scripts/components/assets/favicon copy.ico +0 -0
  54. package/src/scripts/components/assets/favicon.ico +0 -0
  55. package/src/scripts/components/assets/get_data_browse.png +0 -0
  56. package/src/scripts/components/assets/get_data_download.png +0 -0
  57. package/src/scripts/components/assets/ljaf copy.png +0 -0
  58. package/src/scripts/components/assets/logo_app copy.png +0 -0
  59. package/src/scripts/components/assets/logo_cube copy.png +0 -0
  60. package/src/scripts/components/assets/logo_data copy.png +0 -0
  61. package/src/scripts/components/assets/logo_users copy.png +0 -0
  62. package/src/scripts/components/assets/mri-scan.jpg +0 -0
  63. package/src/scripts/components/assets/nih copy.png +0 -0
  64. package/src/scripts/components/assets/nih-bi-brand.jpg +0 -0
  65. package/src/scripts/components/assets/nih-stanford.jpg +0 -0
  66. package/src/scripts/components/assets/nih.png +0 -0
  67. package/src/scripts/components/assets/nimh.png +0 -0
  68. package/src/scripts/components/assets/nsf copy.png +0 -0
  69. package/src/scripts/components/assets/on-dark-horz.svg +1 -0
  70. package/src/scripts/components/assets/on-dark.svg +1 -0
  71. package/src/scripts/components/assets/on-light-horz.svg +1 -0
  72. package/src/scripts/components/assets/on-light.svg +1 -0
  73. package/src/scripts/components/assets/orcid_24x24 copy.png +0 -0
  74. package/src/scripts/components/assets/orcid_24x24.png +0 -0
  75. package/src/scripts/components/assets/share_data_collaborate.png +0 -0
  76. package/src/scripts/components/assets/share_data_publish.png +0 -0
  77. package/src/scripts/components/assets/share_data_validate.png +0 -0
  78. package/src/scripts/components/assets/squishymedia copy.png +0 -0
  79. package/src/scripts/components/assets/stanford copy.png +0 -0
  80. package/src/scripts/components/assets/tab-get_data.png +0 -0
  81. package/src/scripts/components/assets/tab-share_data.png +0 -0
  82. package/src/scripts/components/assets/tab-use_data.png +0 -0
  83. package/src/scripts/components/assets/use_data_analyze.png +0 -0
  84. package/src/scripts/components/assets/use_data_snapshot.png +0 -0
  85. package/src/scripts/components/button/Button.tsx +113 -0
  86. package/src/scripts/components/button/__tests__/Button.spec.tsx +21 -0
  87. package/src/scripts/components/button/button.scss +140 -0
  88. package/src/scripts/components/count-toggle/CountToggle.tsx +65 -0
  89. package/src/scripts/components/count-toggle/__tests__/CountToggle.spec.tsx +31 -0
  90. package/src/scripts/components/count-toggle/count-toggle.scss +34 -0
  91. package/src/scripts/components/dropdown/Dropdown.tsx +38 -0
  92. package/src/scripts/components/dropdown/dropdown.scss +29 -0
  93. package/src/scripts/components/facets/FacetRadio.tsx +43 -0
  94. package/src/scripts/components/facets/FacetRange.tsx +35 -0
  95. package/src/scripts/components/facets/FacetSearch.tsx +66 -0
  96. package/src/scripts/components/facets/FacetSelect.tsx +87 -0
  97. package/src/scripts/components/facets/SingleSelect.tsx +39 -0
  98. package/src/scripts/components/facets/__tests__/FacetSelect.spec.tsx +14 -0
  99. package/src/scripts/components/facets/__tests__/SingleSelect.spec.tsx +58 -0
  100. package/src/scripts/components/facets/facet.scss +244 -0
  101. package/src/scripts/components/footer/Footer.tsx +52 -0
  102. package/src/scripts/components/footer/footer.scss +20 -0
  103. package/src/scripts/components/formatting/__tests__/modality-label.spec.tsx +34 -0
  104. package/src/scripts/components/formatting/modality-label.tsx +34 -0
  105. package/src/scripts/components/front-page/ActivityHeader.tsx +12 -0
  106. package/src/scripts/components/front-page/AffiliateBlock.tsx +22 -0
  107. package/src/scripts/components/front-page/Contributors.tsx +28 -0
  108. package/src/scripts/components/front-page/GetUpdates.tsx +99 -0
  109. package/src/scripts/components/front-page/Infographic.tsx +36 -0
  110. package/src/scripts/components/front-page/front-page.scss +295 -0
  111. package/src/scripts/components/header/Header.tsx +151 -0
  112. package/src/scripts/components/header/LandingExpandedHeader.tsx +110 -0
  113. package/src/scripts/components/header/header.scss +409 -0
  114. package/src/scripts/components/icon/Icon.tsx +55 -0
  115. package/src/scripts/components/icon/__tests__/Icon.spec.tsx +10 -0
  116. package/src/scripts/components/icon/icon.scss +8 -0
  117. package/src/scripts/components/input/Input.tsx +137 -0
  118. package/src/scripts/components/input/TermSearch.tsx +101 -0
  119. package/src/scripts/components/input/input.scss +147 -0
  120. package/src/scripts/components/input/term-search.scss +68 -0
  121. package/src/scripts/components/json-tree/ExpandableProperty.tsx +35 -0
  122. package/src/scripts/components/json-tree/RecursiveProperty.tsx +67 -0
  123. package/src/scripts/components/json-tree/json-tree.scss +19 -0
  124. package/src/scripts/components/loading/Loading.tsx +19 -0
  125. package/src/scripts/components/loading/__tests__/Loading.spec.tsx +12 -0
  126. package/src/scripts/components/loading/loading.scss +141 -0
  127. package/src/scripts/components/logo/Logo.tsx +44 -0
  128. package/src/scripts/components/logo/__tests__/Logo.spec.tsx +22 -0
  129. package/src/scripts/components/modal/Modal.tsx +51 -0
  130. package/src/scripts/components/modal/ModalExample.tsx +25 -0
  131. package/src/scripts/components/modal/UserLoginModal.tsx +74 -0
  132. package/src/scripts/components/modal/__tests__/UserLoginModal.spec.tsx +37 -0
  133. package/src/scripts/components/modal/modal.scss +60 -0
  134. package/src/scripts/components/modality-cube/ModalityCube.tsx +60 -0
  135. package/src/scripts/components/modality-cube/modality-cube.scss +303 -0
  136. package/src/scripts/components/page/Page.tsx +61 -0
  137. package/src/scripts/components/page/page.scss +408 -0
  138. package/src/scripts/components/progress-bar/ProgressBar.tsx +16 -0
  139. package/src/scripts/components/progress-bar/progress-bar.scss +34 -0
  140. package/src/scripts/components/radio/Radio.tsx +33 -0
  141. package/src/scripts/components/radio/RadioGroup.tsx +45 -0
  142. package/src/scripts/components/radio/__tests__/RadioGroup.spec.tsx +31 -0
  143. package/src/scripts/components/radio/radio.scss +335 -0
  144. package/src/scripts/components/range/TwoHandleRange.scss +108 -0
  145. package/src/scripts/components/range/TwoHandleRange.tsx +128 -0
  146. package/src/scripts/components/range/__tests__/TwoHandleRange.spec.tsx +34 -0
  147. package/src/scripts/components/read-more/ReadMore.tsx +50 -0
  148. package/src/scripts/components/read-more/__tests__/ReadMore.spec.tsx +14 -0
  149. package/src/scripts/components/read-more/read-more.scss +79 -0
  150. package/src/scripts/components/scss/_flex-grid.scss +216 -0
  151. package/src/scripts/components/scss/_helper-classes.scss +162 -0
  152. package/src/scripts/components/scss/_normalize.scss +614 -0
  153. package/src/scripts/components/scss/_variables.scss +245 -0
  154. package/src/scripts/components/scss/global.scss +124 -0
  155. package/src/scripts/components/scss/toasts.scss +33 -0
  156. package/src/scripts/components/scss/upload-modal.scss +479 -0
  157. package/src/scripts/components/search-page/CommunityHeader.tsx +27 -0
  158. package/src/scripts/components/search-page/FacetBlockContainerExample.tsx +6 -0
  159. package/src/scripts/components/search-page/FilterDateItem.tsx +44 -0
  160. package/src/scripts/components/search-page/FilterListItem.tsx +62 -0
  161. package/src/scripts/components/search-page/FiltersBlock.tsx +277 -0
  162. package/src/scripts/components/search-page/ModalityHeader.tsx +64 -0
  163. package/src/scripts/components/search-page/NeurobagelSearch.tsx +59 -0
  164. package/src/scripts/components/search-page/SearchPage.tsx +114 -0
  165. package/src/scripts/components/search-page/SearchResultItem.tsx +417 -0
  166. package/src/scripts/components/search-page/SearchResultsList.tsx +48 -0
  167. package/src/scripts/components/search-page/SearchSort.tsx +52 -0
  168. package/src/scripts/components/search-page/SearchSortContainerExample.tsx +9 -0
  169. package/src/scripts/components/search-page/TermListItem.tsx +41 -0
  170. package/src/scripts/components/search-page/__tests__/NuerobagelSearch.spec.tsx +17 -0
  171. package/src/scripts/components/search-page/filters-block.scss +99 -0
  172. package/src/scripts/components/search-page/neurobagel_logo.svg +75 -0
  173. package/src/scripts/components/search-page/search-page.scss +505 -0
  174. package/src/scripts/components/search-page/search-result.scss +117 -0
  175. package/src/scripts/components/search-page/search-sort.scss +56 -0
  176. package/src/scripts/components/select/SelectGroup.tsx +41 -0
  177. package/src/scripts/components/select/__tests__/SelectGroup.spec.tsx +43 -0
  178. package/src/scripts/components/select/select.scss +40 -0
  179. package/src/scripts/components/textarea/Textarea.tsx +68 -0
  180. package/src/scripts/components/textarea/__tests__/Textarea.spec.tsx +53 -0
  181. package/src/scripts/components/tooltip/Tooltip.tsx +30 -0
  182. package/src/scripts/components/tooltip/__tests__/Tooltip.spec.tsx +14 -0
  183. package/src/scripts/components/tooltip/tooltip.scss +159 -0
  184. package/src/scripts/components/user/UserMenu.tsx +72 -0
  185. package/src/scripts/components/user/user-menu.scss +88 -0
  186. package/src/scripts/components/warn-button/WarnButton.tsx +97 -0
  187. package/src/scripts/components/warn-button/warn-button.scss +39 -0
  188. package/src/scripts/datalad/dataset/dataset-query-context.js +2 -0
  189. package/src/scripts/dataset/comments/comment.jsx +1 -1
  190. package/src/scripts/dataset/components/AnalyzeDropdown.tsx +2 -2
  191. package/src/scripts/dataset/components/CloneDropdown.tsx +2 -2
  192. package/src/scripts/dataset/components/DatasetEventItem.tsx +105 -0
  193. package/src/scripts/dataset/components/DatasetGitAccess.tsx +2 -2
  194. package/src/scripts/dataset/components/DatasetToolButton.tsx +2 -2
  195. package/src/scripts/dataset/components/ModalitiesMetaDataBlock.tsx +2 -10
  196. package/src/scripts/dataset/components/ValidationBlock.tsx +37 -2
  197. package/src/scripts/dataset/components/VersionList.tsx +1 -1
  198. package/src/scripts/dataset/components/scss/dataset-events.module.scss +41 -0
  199. package/src/scripts/dataset/dataset-query.jsx +12 -11
  200. package/src/scripts/dataset/download/__tests__/__snapshots__/download-command-line.spec.jsx.snap +7 -1
  201. package/src/scripts/dataset/download/__tests__/download-command-line.spec.jsx +2 -2
  202. package/src/scripts/dataset/download/download-command-line.jsx +17 -13
  203. package/src/scripts/dataset/download/download-datalad.jsx +6 -3
  204. package/src/scripts/dataset/download/download-link.jsx +1 -1
  205. package/src/scripts/dataset/download/download-s3.jsx +0 -4
  206. package/src/scripts/dataset/files/file-display.jsx +1 -1
  207. package/src/scripts/dataset/files/file-tree-unloaded-directory.jsx +1 -1
  208. package/src/scripts/dataset/files/file-tree.tsx +1 -1
  209. package/src/scripts/dataset/files/file-view.jsx +1 -1
  210. package/src/scripts/dataset/files/file-viewer-type.jsx +5 -1
  211. package/src/scripts/dataset/files/file.tsx +2 -2
  212. package/src/scripts/dataset/files/files.tsx +3 -3
  213. package/src/scripts/dataset/files/viewers/file-viewer-json.jsx +1 -1
  214. package/src/scripts/dataset/files/viewers/file-viewer-markdown.tsx +13 -0
  215. package/src/scripts/dataset/fragments/cancel-button.tsx +1 -1
  216. package/src/scripts/dataset/fragments/dataset-citation.jsx +2 -2
  217. package/src/scripts/dataset/fragments/edit-button.tsx +1 -1
  218. package/src/scripts/dataset/fragments/edit-list.jsx +1 -1
  219. package/src/scripts/dataset/fragments/save-button.tsx +1 -1
  220. package/src/scripts/dataset/mutations/admin-exports.jsx +1 -1
  221. package/src/scripts/dataset/mutations/cache-clear.jsx +1 -1
  222. package/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx +2 -2
  223. package/src/scripts/dataset/mutations/dataset-events.tsx +187 -0
  224. package/src/scripts/dataset/mutations/dataset-relations.tsx +1 -1
  225. package/src/scripts/dataset/mutations/delete-anonymous-reviewer.tsx +1 -1
  226. package/src/scripts/dataset/mutations/delete-comment.jsx +1 -1
  227. package/src/scripts/dataset/mutations/delete-file.jsx +1 -1
  228. package/src/scripts/dataset/mutations/deprecate-version.tsx +1 -1
  229. package/src/scripts/dataset/mutations/flag-annex-object.jsx +2 -2
  230. package/src/scripts/dataset/mutations/follow.tsx +1 -1
  231. package/src/scripts/dataset/mutations/import-dataset.tsx +1 -1
  232. package/src/scripts/dataset/mutations/publish.jsx +1 -1
  233. package/src/scripts/dataset/mutations/remove-annex-object.jsx +2 -2
  234. package/src/scripts/dataset/mutations/remove-permissions.tsx +1 -1
  235. package/src/scripts/dataset/mutations/revalidate.jsx +2 -2
  236. package/src/scripts/dataset/mutations/snapshot.tsx +1 -1
  237. package/src/scripts/dataset/mutations/star.tsx +1 -1
  238. package/src/scripts/dataset/mutations/submit-metadata.jsx +1 -1
  239. package/src/scripts/dataset/mutations/undo-deprecate-version.tsx +2 -2
  240. package/src/scripts/dataset/mutations/update-permissions.tsx +1 -1
  241. package/src/scripts/dataset/routes/admin-datalad.jsx +4 -0
  242. package/src/scripts/dataset/routes/dataset-default.tsx +1 -1
  243. package/src/scripts/dataset/routes/delete-page.tsx +7 -3
  244. package/src/scripts/dataset/routes/deprecate-snapshot-page.tsx +1 -1
  245. package/src/scripts/dataset/routes/manage-permissions.jsx +1 -1
  246. package/src/scripts/dataset/routes/snapshot-default.tsx +1 -1
  247. package/src/scripts/dataset/routes/snapshot.tsx +1 -1
  248. package/src/scripts/dataset/snapshot-container.tsx +14 -8
  249. package/src/scripts/pages/admin/flagged-files.jsx +1 -1
  250. package/src/scripts/pages/admin/user-tools.tsx +1 -1
  251. package/src/scripts/pages/admin/users.tsx +2 -2
  252. package/src/scripts/pages/api.jsx +2 -2
  253. package/src/scripts/pages/front-page/aggregate-queries/aggregate-counts-container.tsx +6 -7
  254. package/src/scripts/pages/front-page/front-page.tsx +7 -9
  255. package/src/scripts/pages/metadata/dataset-metadata.tsx +1 -1
  256. package/src/scripts/search/__tests__/search-container.spec.tsx +7 -7
  257. package/src/scripts/search/filters-block-container.tsx +66 -9
  258. package/src/scripts/search/initial-search-params.tsx +7 -7
  259. package/src/scripts/search/inputs/__tests__/sort-by-select.spec.tsx +1 -1
  260. package/src/scripts/search/inputs/admin-allDatasets-toggle.tsx +1 -1
  261. package/src/scripts/search/inputs/age-range-input.tsx +3 -2
  262. package/src/scripts/search/inputs/author-input.tsx +3 -2
  263. package/src/scripts/search/inputs/dataset-type-select.tsx +3 -2
  264. package/src/scripts/search/inputs/date-radios.tsx +3 -2
  265. package/src/scripts/search/inputs/diagnosis-select.tsx +3 -2
  266. package/src/scripts/search/inputs/initiative-select.tsx +12 -6
  267. package/src/scripts/search/inputs/keyword-input.tsx +2 -2
  268. package/src/scripts/search/inputs/modality-select.tsx +28 -26
  269. package/src/scripts/search/inputs/pet/bodyParts_input.tsx +4 -3
  270. package/src/scripts/search/inputs/pet/scannerManufacturersModelNames_input.tsx +4 -3
  271. package/src/scripts/search/inputs/pet/scannerManufacturers_input.tsx +4 -3
  272. package/src/scripts/search/inputs/pet/tracerNames_input.tsx +4 -3
  273. package/src/scripts/search/inputs/pet/tracerRadionuclides_input.tsx +4 -3
  274. package/src/scripts/search/inputs/section-select.tsx +3 -2
  275. package/src/scripts/search/inputs/sex-radios.tsx +3 -2
  276. package/src/scripts/search/inputs/show-datasets-radios.tsx +4 -3
  277. package/src/scripts/search/inputs/sort-by-select.tsx +1 -1
  278. package/src/scripts/search/inputs/species-select.tsx +3 -2
  279. package/src/scripts/search/inputs/study-domain-input.tsx +4 -3
  280. package/src/scripts/search/inputs/subject-count-range-input.tsx +3 -2
  281. package/src/scripts/search/inputs/task-input.tsx +4 -3
  282. package/src/scripts/search/search-container.tsx +14 -17
  283. package/src/scripts/search/search-params-ctx.tsx +28 -5
  284. package/src/scripts/search/search-routes.tsx +2 -4
  285. package/src/scripts/search/use-search-results.tsx +14 -13
  286. package/src/scripts/uploader/upload-issues.tsx +1 -1
  287. package/src/scripts/uploader/upload-progress.jsx +1 -1
  288. package/src/scripts/uploader/uploader-modal.jsx +1 -1
  289. package/src/scripts/users/components/close-button.tsx +1 -1
  290. package/src/scripts/users/components/edit-button.tsx +1 -1
  291. package/src/scripts/users/components/edit-list.tsx +1 -1
  292. package/src/scripts/users/components/edit-string.tsx +1 -1
  293. package/src/scripts/users/dataset-card.tsx +2 -2
  294. package/src/scripts/users/user-notification-accordion.tsx +1 -1
  295. package/src/scripts/utils/user-login-modal-ctx.tsx +1 -1
  296. package/src/scripts/validation/validation-issues.tsx +2 -1
  297. package/src/scripts/validation/validation-panel.tsx +2 -1
  298. package/src/scripts/validation/validation-results.tsx +4 -3
  299. package/src/scripts/validation-legacy/validation-panel.jsx +2 -1
  300. package/src/scripts/validation-legacy/validation-results.issues.jsx +2 -3
  301. package/src/scripts/validation-legacy/validation-results.tsx +3 -4
  302. package/tsconfig.json +1 -4
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ width="19.999809mm"
6
+ height="20.000071mm"
7
+ viewBox="0 0 19.999809 20.000071"
8
+ version="1.1"
9
+ id="svg33028"
10
+ inkscape:version="1.2.2 (732a01da63, 2022-12-09, custom)"
11
+ sodipodi:docname="2023-10-19_nb_ko_neurobagel-logo_no-words.svg"
12
+ inkscape:export-filename="../f42a4677/2023-10-19_nb_ko_neurobagel-logo-9-double-w-words-light-bkgrnd.png"
13
+ inkscape:export-xdpi="196"
14
+ inkscape:export-ydpi="196"
15
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
16
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
17
+ xmlns:xlink="http://www.w3.org/1999/xlink"
18
+ xmlns="http://www.w3.org/2000/svg"
19
+ xmlns:svg="http://www.w3.org/2000/svg">
20
+ <sodipodi:namedview
21
+ id="namedview33030"
22
+ pagecolor="#ffffff"
23
+ bordercolor="#666666"
24
+ borderopacity="1.0"
25
+ inkscape:showpageshadow="2"
26
+ inkscape:pageopacity="0.0"
27
+ inkscape:pagecheckerboard="0"
28
+ inkscape:deskcolor="#d1d1d1"
29
+ inkscape:document-units="mm"
30
+ showgrid="false"
31
+ inkscape:zoom="2.3786088"
32
+ inkscape:cx="57.386486"
33
+ inkscape:cy="84.29297"
34
+ inkscape:window-width="1842"
35
+ inkscape:window-height="1005"
36
+ inkscape:window-x="78"
37
+ inkscape:window-y="38"
38
+ inkscape:window-maximized="1"
39
+ inkscape:current-layer="layer1" />
40
+ <defs
41
+ id="defs33025">
42
+ <linearGradient
43
+ inkscape:collect="always"
44
+ xlink:href="#linearGradient31372"
45
+ id="linearGradient31374"
46
+ x1="81.119553"
47
+ y1="121.03011"
48
+ x2="95.557304"
49
+ y2="107.07687"
50
+ gradientUnits="userSpaceOnUse"
51
+ gradientTransform="translate(-32.371578,-83.730304)" />
52
+ <linearGradient
53
+ inkscape:collect="always"
54
+ id="linearGradient31372">
55
+ <stop
56
+ style="stop-color:#f9a767;stop-opacity:1;"
57
+ offset="0"
58
+ id="stop31368" />
59
+ <stop
60
+ style="stop-color:#c44bcf;stop-opacity:1;"
61
+ offset="1"
62
+ id="stop31370" />
63
+ </linearGradient>
64
+ </defs>
65
+ <g
66
+ inkscape:label="Layer 1"
67
+ inkscape:groupmode="layer"
68
+ id="layer1"
69
+ transform="translate(-45.964344,-20.331186)">
70
+ <path
71
+ id="path13809-6-3-8-6-1-9"
72
+ style="fill:url(#linearGradient31374);fill-opacity:1;stroke:none;stroke-width:0.502708;stroke-linecap:round"
73
+ d="m 55.964251,20.331186 a 10,10 0 0 0 -3.288688,0.55707 1.9835366,1.9461924 0 0 1 1.251086,1.80816 1.9835366,1.9461924 0 0 1 -0.636137,1.42782 l 1.174089,2.1115 a 4.375,4.375 0 0 1 1.51567,-0.27337 4.375,4.375 0 0 1 4.375443,4.37493 4.375,4.375 0 0 1 -0.67334,2.33111 l 1.78955,1.52497 a 1.9835366,1.9461924 0 0 1 1.07177,-0.31471 1.9835366,1.9461924 0 0 1 1.95957,1.64538 10,10 0 0 0 1.46089,-5.19296 10,10 0 0 0 -9.999903,-9.9999 z m -5.958293,1.97042 a 10,10 0 0 0 -4.041614,8.02948 10,10 0 0 0 6.783049,9.46661 1.9835366,1.9461924 0 0 1 -0.483175,-1.26298 1.9835366,1.9461924 0 0 1 1.764751,-1.9327 l 0.49661,-2.14096 a 4.375,4.375 0 0 1 -2.920235,-4.12376 4.375,4.375 0 0 1 1.759066,-3.5047 l -1.223698,-2.20038 a 1.9835366,1.9461924 0 0 1 -0.197404,0.0103 1.9835366,1.9461924 0 0 1 -1.983859,-1.94613 1.9835366,1.9461924 0 0 1 0.04651,-0.39481 z m 8.859926,11.31558 a 4.375,4.375 0 0 1 -2.885613,1.09502 4.375,4.375 0 0 1 -0.226343,-0.007 l -0.499711,2.1544 a 1.9835366,1.9461924 0 0 1 0.977201,1.67535 1.9835366,1.9461924 0 0 1 -1.139982,1.757 10,10 0 0 0 0.872815,0.0393 10,10 0 0 0 6.678143,-2.56367 1.9835366,1.9461924 0 0 1 -0.0987,0.004 1.9835366,1.9461924 0 0 1 -1.98386,-1.94614 1.9835366,1.9461924 0 0 1 0.12196,-0.65991 z" />
74
+ </g>
75
+ </svg>
@@ -0,0 +1,505 @@
1
+ @import '../scss/variables';
2
+
3
+ .search-page-portal-header {
4
+ position: relative;
5
+ color: #fff;
6
+ z-index: 1100;
7
+ @media (max-width: 980px) {
8
+ z-index: 3;
9
+ }
10
+
11
+ .hex-col {
12
+ margin: 50px 0 -30px auto;
13
+ position: relative;
14
+ align-self: flex-end;
15
+ @media (max-width: 980px) {
16
+ margin-left: 60px;
17
+ }
18
+ @media (max-width: 767px) {
19
+ display: none;
20
+ }
21
+ }
22
+ @media (max-width: 767px) {
23
+ .portal-primary {
24
+ width: 100%;
25
+ min-width: 100%;
26
+ flex-basis: 100%;
27
+ }
28
+ }
29
+
30
+ .primary-content,
31
+ .secondary-content {
32
+ font-weight: 300;
33
+ font-size: 24px;
34
+ }
35
+ .primary-content {
36
+ a {
37
+ color: #fff;
38
+ }
39
+ @media (max-width: 450px) {
40
+ font-size: 20px;
41
+ }
42
+ }
43
+ .secondary-content {
44
+ margin: 25px 0 50px;
45
+ display: flex;
46
+ @media (max-width: 450px) {
47
+ flex-direction: column;
48
+ font-size: 17px;
49
+ }
50
+ .aggregate-count:first-child {
51
+ margin-right: 60px;
52
+ }
53
+ span {
54
+ font-weight: 600;
55
+ }
56
+ }
57
+ }
58
+
59
+ .search-page-portal-header {
60
+ background-color: var(--current-theme-primary);
61
+ background: linear-gradient(
62
+ 16deg,
63
+ var(--current-theme-primary-dark) 0%,
64
+ var(--current-theme-primary) 70%
65
+ );
66
+ }
67
+
68
+ .search-page-coms {
69
+ position: relative;
70
+ background-color: #f3f7f6;
71
+ padding: 20px 0 40px;
72
+ h2 {
73
+ font-size: 19px;
74
+ }
75
+ .primary-content {
76
+ font-weight: 300;
77
+ font-size: 19px;
78
+ }
79
+ .secondary-content {
80
+ font-weight: 300;
81
+ font-size: 15px;
82
+ margin-top: 25px;
83
+ display: flex;
84
+ }
85
+ }
86
+
87
+ .search-hexagon {
88
+ position: relative;
89
+ width: 250px;
90
+ height: 144.34px;
91
+ margin: 72.17px 0;
92
+
93
+ background-size: auto 288.6751px;
94
+ background-position: center;
95
+
96
+ .hexTop,
97
+ .hexBottom {
98
+ position: absolute;
99
+ z-index: 1;
100
+ width: 176.78px;
101
+ height: 176.78px;
102
+ overflow: hidden;
103
+ transform: scaleY(0.5774) rotate(-45deg);
104
+ background: inherit;
105
+ left: 36.61px;
106
+
107
+ /*counter transform the bg image on the caps*/
108
+ &:after,
109
+ &:after {
110
+ content: '';
111
+ position: absolute;
112
+ width: 250px;
113
+ height: 144.33756729740645px;
114
+ transform: rotate(45deg) scaleY(1.7321) translateY(-72.1688px);
115
+ transform-origin: 0 0;
116
+ background: inherit;
117
+ }
118
+ }
119
+ .hexTop {
120
+ top: -88.3883px;
121
+ &:after {
122
+ background-position: center top;
123
+ }
124
+ }
125
+
126
+ .hexBottom {
127
+ bottom: -88.3883px;
128
+
129
+ &:after {
130
+ background-position: center bottom;
131
+ }
132
+ }
133
+
134
+ &:after {
135
+ content: '';
136
+ position: absolute;
137
+ top: 0px;
138
+ left: 0;
139
+ width: 250px;
140
+ height: 144.3376px;
141
+ z-index: 2;
142
+ background: inherit;
143
+ }
144
+ }
145
+
146
+ .search-shade-cube {
147
+ margin: 0;
148
+ position: absolute;
149
+ height: 169px;
150
+ width: 169px;
151
+ transform-style: preserve-3d;
152
+ transform: scale3d(1.05, 1.04, 1.04) rotateX(-36deg) rotateY(-45deg)
153
+ rotateZ(0deg) translate3d(0px, 0px, 0px) skew(0deg, 0deg);
154
+ z-index: 4;
155
+ top: 69px;
156
+ margin-left: 29px;
157
+
158
+ > div {
159
+ position: absolute;
160
+ box-sizing: border-box;
161
+ text-align: center;
162
+ height: 100%;
163
+ width: 100%;
164
+ color: #000;
165
+ font-weight: bold;
166
+ &.front {
167
+ transform: translateZ(69px);
168
+ display: flex;
169
+ flex-direction: column;
170
+ justify-content: center;
171
+ align-items: center;
172
+
173
+ background-color: rgba(0, 0, 0, 0.32);
174
+ }
175
+ &.top {
176
+ transform: rotateX(-270deg) translateY(-100px);
177
+ transform-origin: top center;
178
+ }
179
+ &.right {
180
+ transform: rotateY(-270deg) translateX(100px);
181
+ transform-origin: top right;
182
+ background-color: rgba(0, 0, 0, 0.53);
183
+ }
184
+ }
185
+ }
186
+
187
+ .search {
188
+ padding: 0 0 50px;
189
+ }
190
+ .search-heading {
191
+ margin: 20px 0;
192
+ @media (max-width: 450px) {
193
+ margin-top: 60px;
194
+ }
195
+ h1 {
196
+ margin: 0;
197
+ @media (max-width: 450px) {
198
+ font-size: 20px;
199
+ }
200
+ }
201
+ .go-back {
202
+ font-size: 14px;
203
+ }
204
+ }
205
+ .search-wrapper {
206
+ display: flex;
207
+ }
208
+
209
+ .close-filters-btn,
210
+ .show-filters-btn {
211
+ display: none;
212
+ }
213
+
214
+ @media (max-width: 980px) {
215
+ .close-filters-btn,
216
+ .show-filters-btn {
217
+ display: block;
218
+ position: absolute;
219
+ top: 40px;
220
+ right: 0;
221
+ background: none;
222
+ border: 0;
223
+ font-size: 12px;
224
+ margin: 10px;
225
+ padding: 0;
226
+ }
227
+ }
228
+
229
+ @media (max-width: 450px) {
230
+ .close-filters-btn,
231
+ .show-filters-btn {
232
+ top: 0px;
233
+ left: 0;
234
+ margin: 10px 0 20px;
235
+ border: 1px solid #ccc;
236
+ padding: 10px;
237
+ display: block;
238
+ }
239
+ .close-filters-btn {
240
+ left: 20px;
241
+ }
242
+ }
243
+
244
+ .search-nav {
245
+ flex: 0 0 auto;
246
+ padding: 0;
247
+ width: 430px;
248
+
249
+ @media (max-width: 980px) {
250
+ opacity: 0;
251
+ transition: opacity 0.3s;
252
+ transform: translateX(-100vw);
253
+ background: white;
254
+ z-index: 1000;
255
+ top: 0;
256
+ right: 0;
257
+ left: 0;
258
+ bottom: 0;
259
+ width: 100%;
260
+ height: 100vh;
261
+ min-height: 100%;
262
+ overflow: scroll;
263
+ position: fixed;
264
+ z-index: 1205;
265
+ top: 0;
266
+ padding: 80px 25px;
267
+ &.show-mobile-filters {
268
+ opacity: 1;
269
+ transform: translateX(0);
270
+ transition: opacity 1s;
271
+ }
272
+ }
273
+
274
+ .facet-accordion.on-accordion-wrapper {
275
+ padding: 0;
276
+ }
277
+
278
+ .search-keyword {
279
+ margin-bottom: 30px;
280
+ }
281
+ }
282
+ @media (max-width: 980px) {
283
+ .search-filters-open {
284
+ z-index: 1200;
285
+ position: relative;
286
+ }
287
+ }
288
+
289
+ .search-content {
290
+ flex: 1;
291
+ padding: 0 0 0 30px;
292
+ position: relative;
293
+ max-width: 100%;
294
+ @media (max-width: 980px) {
295
+ padding: 0;
296
+ }
297
+ .search-results {
298
+ border: 1px solid $newspaper;
299
+ border-radius: $border-radius-default;
300
+ max-width: 100%;
301
+ .search-result {
302
+ border-bottom: 1px solid $newspaper;
303
+ }
304
+ }
305
+ .load-more {
306
+ .on-button {
307
+ display: block;
308
+ border: 1px solid;
309
+ width: 100%;
310
+ background-color: #fff;
311
+ transition: background-color 0.3s;
312
+ &:hover {
313
+ text-decoration: none;
314
+ background-color: $newspaper;
315
+ }
316
+ }
317
+ }
318
+ }
319
+
320
+ .search-sort {
321
+ display: flex;
322
+ justify-content: flex-end;
323
+ }
324
+
325
+ .results-count {
326
+ padding: 20px 0;
327
+
328
+ span {
329
+ color: var(--current-theme-primary);
330
+ }
331
+ }
332
+
333
+ .date-facet .on-radio-wrapper.row .custom-radio {
334
+ margin-right: 0;
335
+ flex-basis: 50%;
336
+ }
337
+
338
+ .on-accordion-wrapper .keyword-accordion {
339
+ .accordion-title {
340
+ background: #e9e9e9;
341
+ width: 18px;
342
+ border-radius: 50%;
343
+ line-height: 0;
344
+ display: flex;
345
+ justify-content: center;
346
+ align-items: center;
347
+ height: 18px;
348
+ font-size: 12px;
349
+ align-content: space-around;
350
+ flex-direction: row;
351
+ font-weight: 600;
352
+ color: #515151;
353
+ font-family: monospace;
354
+ &:after {
355
+ display: none;
356
+ }
357
+ }
358
+ .accordion-content {
359
+ font-size: 12px;
360
+ margin: 10px 0;
361
+ .on-icon {
362
+ font-size: 10px;
363
+ padding: 1px 4px;
364
+ border-radius: $border-radius-default;
365
+ line-height: 1;
366
+ background-color: var(--current-theme-primary);
367
+ color: #fff;
368
+ }
369
+ }
370
+ }
371
+
372
+ .on-accordion-wrapper .keyword-accordion {
373
+ .accordion-title {
374
+ position: absolute;
375
+ top: -20px;
376
+ left: 70px;
377
+ }
378
+ }
379
+
380
+ .facet-search .help-text {
381
+ font-size: 12px;
382
+ margin: 10px 0;
383
+ .on-icon {
384
+ font-size: 10px;
385
+ padding: 1px 4px;
386
+ border-radius: $border-radius-default;
387
+ line-height: 1;
388
+ background-color: var(--current-theme-primary);
389
+ color: #fff;
390
+ }
391
+ }
392
+
393
+ .nih-facet {
394
+ padding: 0 0 10px;
395
+ ul {
396
+ padding: 0;
397
+ margin: 0;
398
+ list-style: none;
399
+ li {
400
+ cursor: pointer;
401
+ align-items: center;
402
+ justify-content: flex-start;
403
+
404
+ font-size: 14px;
405
+ border-top: 1px solid $newspaper;
406
+ padding: 10px;
407
+ display: block;
408
+ font-weight: 500;
409
+ font-weight: 500;
410
+ &.selected-item {
411
+ color: var(--current-theme-primary);
412
+ }
413
+ }
414
+ }
415
+ }
416
+
417
+ @media (max-width: 980px) {
418
+ .search-facet-wrapper {
419
+ .modality-facet.facet-accordion.on-accordion-wrapper {
420
+ margin: 20px 0;
421
+ border: 0;
422
+ background: #e5f4f7;
423
+ border-radius: $border-radius-default;
424
+ padding: 10px;
425
+ .accordion-item.collapsed {
426
+ max-height: initial;
427
+ }
428
+ .accordion-title,
429
+ h2 {
430
+ margin: 10px 0 15px;
431
+ font-size: 19px;
432
+ font-weight: 600;
433
+ color: var(--current-theme-primary);
434
+ }
435
+ .accordion-title {
436
+ margin: 10px 0 15px 0;
437
+ padding: 0;
438
+ &:after {
439
+ display: none;
440
+ }
441
+ }
442
+ .facet-list {
443
+ padding: 0 0 10px;
444
+ color: var(--current-theme-primary);
445
+ ul {
446
+ padding: 0;
447
+ margin: 0;
448
+ list-style: none;
449
+ li {
450
+ cursor: pointer;
451
+ }
452
+ }
453
+ .label {
454
+ display: flex;
455
+ align-items: center;
456
+ justify-content: flex-start;
457
+
458
+ span {
459
+ margin-left: 10px;
460
+ display: inline-block;
461
+ font-size: 14px;
462
+ }
463
+ }
464
+
465
+ .level-1 > li {
466
+ border-top: 1px solid $newspaper;
467
+
468
+ > .label {
469
+ padding: 10px;
470
+ font-weight: 500;
471
+ font-size: 16px;
472
+ }
473
+ }
474
+ .level-2 {
475
+ margin-bottom: 10px;
476
+ font-size: 14px;
477
+ > li {
478
+ display: flex;
479
+ justify-content: flex-start;
480
+
481
+ .label {
482
+ margin-left: 15px;
483
+ }
484
+ &:before {
485
+ content: '-';
486
+ margin-left: 12px;
487
+ }
488
+ }
489
+ }
490
+ }
491
+ .facet-list ul li {
492
+ > .label {
493
+ font-weight: 500;
494
+ }
495
+ &.selected-facet > .label {
496
+ color: var(--current-theme-primary);
497
+ font-weight: 600;
498
+ span {
499
+ color: var(--current-theme-primary);
500
+ }
501
+ }
502
+ }
503
+ }
504
+ }
505
+ }
@@ -0,0 +1,117 @@
1
+ @import '../scss/variables';
2
+ .search-result {
3
+ padding: 20px;
4
+ h3 {
5
+ margin: 0 0 5px;
6
+ a {
7
+ color: var(--current-theme-primary);
8
+ &:hover {
9
+ color: var(--current-theme-primary-hover);
10
+ }
11
+ }
12
+ }
13
+
14
+ .result-icon-wrap,
15
+ .owner-icon-wrap {
16
+ display: flex;
17
+ justify-content: flex-end;
18
+ @media (max-width: 480px) {
19
+ justify-content: flex-start;
20
+ margin-bottom: 10px;
21
+ }
22
+ .result-icon {
23
+ margin-left: 15px;
24
+ }
25
+ }
26
+ .result-activity-icon {
27
+ width: 18px;
28
+ height: 19px;
29
+
30
+ &[data-tooltip]::after {
31
+ width: 130px;
32
+ padding: 5px;
33
+ line-height: 1.6em;
34
+ text-align: center;
35
+ white-space: break-spaces;
36
+ }
37
+ }
38
+
39
+ .result-meta-body > div {
40
+ font-size: 14px;
41
+ margin-bottom: 10px;
42
+ display: flex;
43
+ flex-direction: column;
44
+
45
+ strong {
46
+ text-transform: uppercase;
47
+ color: #666;
48
+ margin-bottom: 5px;
49
+ }
50
+ .list-item {
51
+ display: inline-block;
52
+
53
+ border-right: 1px solid #cacaca;
54
+ font-weight: 600;
55
+ padding: 3px 6px;
56
+ margin: 0 10px 5px 0;
57
+ color: var(--current-theme-secondary);
58
+ border: 1px solid;
59
+ border-radius: $border-radius-default;
60
+ }
61
+ }
62
+
63
+ .result-meta-footer {
64
+ display: flex;
65
+ flex-wrap: wrap;
66
+ .result-summary-meta {
67
+ margin: 0 10px 10px 0;
68
+ padding: 0 40px 0 0;
69
+ font-size: 14px;
70
+ font-weight: 600;
71
+ &:last-child {
72
+ padding-right: 0;
73
+ }
74
+ strong {
75
+ text-transform: uppercase;
76
+ color: #666;
77
+ }
78
+ }
79
+ }
80
+
81
+ .updated-divider {
82
+ margin: 0 10px;
83
+ @media (max-width: 767px) {
84
+ display: none;
85
+ }
86
+ }
87
+ .result-upload-info {
88
+ text-align: left;
89
+ font-size: 12px;
90
+ margin: 0 0 20px;
91
+ display: flex;
92
+ justify-content: flex-start;
93
+ @media (max-width: 767px) {
94
+ flex-direction: column;
95
+ }
96
+ span {
97
+ color: #666;
98
+ }
99
+ }
100
+ }
101
+
102
+ .dataset-permissions-tag {
103
+ text-align: right;
104
+ margin-bottom: 15px;
105
+ @media (max-width: 480px) {
106
+ text-align: left;
107
+ display: block;
108
+ }
109
+ small {
110
+ border: 1px solid;
111
+ padding: 2px 10px;
112
+ border-radius: 4px;
113
+ color: var(--current-theme-secondary);
114
+ font-weight: 600;
115
+ font-size: 10px;
116
+ }
117
+ }