@openneuro/app 4.33.4 → 4.34.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.
- package/package.json +4 -3
- package/src/client.jsx +2 -1
- package/src/scripts/authentication/signOut.ts +1 -1
- package/src/scripts/common/containers/footer.tsx +1 -1
- package/src/scripts/common/containers/header.tsx +3 -2
- package/src/scripts/common/content/affiliate-content.jsx +72 -0
- package/src/scripts/common/content/assets/affiliates/bids.jpg +0 -0
- package/src/scripts/common/content/assets/affiliates/datalad.jpg +0 -0
- package/src/scripts/common/content/assets/affiliates/nih-bi-logo.png +0 -0
- package/src/scripts/common/content/assets/front-page/brand_mark.png +0 -0
- package/src/scripts/common/content/assets/front-page/cube-get.png +0 -0
- package/src/scripts/common/content/assets/front-page/cube-share.png +0 -0
- package/src/scripts/common/content/assets/front-page/cube-use.png +0 -0
- package/src/scripts/common/content/assets/front-page/ljaf.png +0 -0
- package/src/scripts/common/content/assets/front-page/logo_app.png +0 -0
- package/src/scripts/common/content/assets/front-page/logo_cube.png +0 -0
- package/src/scripts/common/content/assets/front-page/logo_data.png +0 -0
- package/src/scripts/common/content/assets/front-page/logo_users.png +0 -0
- package/src/scripts/common/content/assets/front-page/novo-logo.png +0 -0
- package/src/scripts/common/content/assets/front-page/nru-logo.png +0 -0
- package/src/scripts/common/content/assets/front-page/nsf.png +0 -0
- package/src/scripts/common/content/assets/front-page/sqm-logo.png +0 -0
- package/src/scripts/common/content/assets/front-page/squishymedia.png +0 -0
- package/src/scripts/common/content/assets/front-page/stanford.png +0 -0
- package/src/scripts/common/content/assets/modality-cubes/brain-initiative.jpg +0 -0
- package/src/scripts/common/content/assets/modality-cubes/eeg.jpg +0 -0
- package/src/scripts/common/content/assets/modality-cubes/ieeg.jpg +0 -0
- package/src/scripts/common/content/assets/modality-cubes/meg.jpg +0 -0
- package/src/scripts/common/content/assets/modality-cubes/mri.jpg +0 -0
- package/src/scripts/common/content/assets/modality-cubes/nih_cube.jpg +0 -0
- package/src/scripts/common/content/assets/modality-cubes/nirs.jpg +0 -0
- package/src/scripts/common/content/assets/modality-cubes/pet-scan.jpg +0 -0
- package/src/scripts/common/content/assets/portal-content/nih-bi-brand.png +0 -0
- package/src/scripts/common/content/facet-content.jsx +186 -0
- package/src/scripts/common/content/front-page-content.jsx +177 -0
- package/src/scripts/common/content/image-attribution.tsx +3 -3
- package/src/scripts/common/content/modality-cube-content.jsx +92 -0
- package/src/scripts/common/content/portal-content.jsx +149 -0
- package/src/scripts/common/content/portal-grant-content.jsx +30 -0
- package/src/scripts/common/content/sortby-list.jsx +18 -0
- package/src/scripts/common/forms/warn-button.jsx +1 -1
- package/src/scripts/components/accordion/AccordionTab.tsx +68 -0
- package/src/scripts/components/accordion/AccordionWrap.tsx +22 -0
- package/src/scripts/components/accordion/__tests__/AccordionTab.spec.tsx +35 -0
- package/src/scripts/components/accordion/accordion.scss +68 -0
- package/src/scripts/components/activity-slider/ActivitySlider.tsx +121 -0
- package/src/scripts/components/activity-slider/slider.scss +130 -0
- package/src/scripts/components/affiliate-article/AffiliateArticle.tsx +26 -0
- package/src/scripts/components/affiliate-article/affiliate.scss +32 -0
- package/src/scripts/components/aggregate-count/AggregateCount.tsx +20 -0
- package/src/scripts/components/assets/activity-icon.png +0 -0
- package/src/scripts/components/assets/close-button.png +0 -0
- package/src/scripts/components/assets/favicon copy.ico +0 -0
- package/src/scripts/components/assets/favicon.ico +0 -0
- package/src/scripts/components/assets/get_data_browse.png +0 -0
- package/src/scripts/components/assets/get_data_download.png +0 -0
- package/src/scripts/components/assets/ljaf copy.png +0 -0
- package/src/scripts/components/assets/logo_app copy.png +0 -0
- package/src/scripts/components/assets/logo_cube copy.png +0 -0
- package/src/scripts/components/assets/logo_data copy.png +0 -0
- package/src/scripts/components/assets/logo_users copy.png +0 -0
- package/src/scripts/components/assets/mri-scan.jpg +0 -0
- package/src/scripts/components/assets/nih copy.png +0 -0
- package/src/scripts/components/assets/nih-bi-brand.jpg +0 -0
- package/src/scripts/components/assets/nih-stanford.jpg +0 -0
- package/src/scripts/components/assets/nih.png +0 -0
- package/src/scripts/components/assets/nimh.png +0 -0
- package/src/scripts/components/assets/nsf copy.png +0 -0
- package/src/scripts/components/assets/on-dark-horz.svg +1 -0
- package/src/scripts/components/assets/on-dark.svg +1 -0
- package/src/scripts/components/assets/on-light-horz.svg +1 -0
- package/src/scripts/components/assets/on-light.svg +1 -0
- package/src/scripts/components/assets/orcid_24x24 copy.png +0 -0
- package/src/scripts/components/assets/orcid_24x24.png +0 -0
- package/src/scripts/components/assets/share_data_collaborate.png +0 -0
- package/src/scripts/components/assets/share_data_publish.png +0 -0
- package/src/scripts/components/assets/share_data_validate.png +0 -0
- package/src/scripts/components/assets/squishymedia copy.png +0 -0
- package/src/scripts/components/assets/stanford copy.png +0 -0
- package/src/scripts/components/assets/tab-get_data.png +0 -0
- package/src/scripts/components/assets/tab-share_data.png +0 -0
- package/src/scripts/components/assets/tab-use_data.png +0 -0
- package/src/scripts/components/assets/use_data_analyze.png +0 -0
- package/src/scripts/components/assets/use_data_snapshot.png +0 -0
- package/src/scripts/components/button/Button.tsx +113 -0
- package/src/scripts/components/button/__tests__/Button.spec.tsx +21 -0
- package/src/scripts/components/button/button.scss +140 -0
- package/src/scripts/components/count-toggle/CountToggle.tsx +65 -0
- package/src/scripts/components/count-toggle/__tests__/CountToggle.spec.tsx +31 -0
- package/src/scripts/components/count-toggle/count-toggle.scss +34 -0
- package/src/scripts/components/dropdown/Dropdown.tsx +38 -0
- package/src/scripts/components/dropdown/dropdown.scss +29 -0
- package/src/scripts/components/facets/FacetRadio.tsx +43 -0
- package/src/scripts/components/facets/FacetRange.tsx +35 -0
- package/src/scripts/components/facets/FacetSearch.tsx +66 -0
- package/src/scripts/components/facets/FacetSelect.tsx +87 -0
- package/src/scripts/components/facets/SingleSelect.tsx +39 -0
- package/src/scripts/components/facets/__tests__/FacetSelect.spec.tsx +14 -0
- package/src/scripts/components/facets/__tests__/SingleSelect.spec.tsx +58 -0
- package/src/scripts/components/facets/facet.scss +244 -0
- package/src/scripts/components/footer/Footer.tsx +52 -0
- package/src/scripts/components/footer/footer.scss +20 -0
- package/src/scripts/components/formatting/__tests__/modality-label.spec.tsx +34 -0
- package/src/scripts/components/formatting/modality-label.tsx +34 -0
- package/src/scripts/components/front-page/ActivityHeader.tsx +12 -0
- package/src/scripts/components/front-page/AffiliateBlock.tsx +22 -0
- package/src/scripts/components/front-page/Contributors.tsx +28 -0
- package/src/scripts/components/front-page/GetUpdates.tsx +99 -0
- package/src/scripts/components/front-page/Infographic.tsx +36 -0
- package/src/scripts/components/front-page/front-page.scss +295 -0
- package/src/scripts/components/header/Header.tsx +151 -0
- package/src/scripts/components/header/LandingExpandedHeader.tsx +110 -0
- package/src/scripts/components/header/header.scss +409 -0
- package/src/scripts/components/icon/Icon.tsx +55 -0
- package/src/scripts/components/icon/__tests__/Icon.spec.tsx +10 -0
- package/src/scripts/components/icon/icon.scss +8 -0
- package/src/scripts/components/input/Input.tsx +137 -0
- package/src/scripts/components/input/TermSearch.tsx +101 -0
- package/src/scripts/components/input/input.scss +147 -0
- package/src/scripts/components/input/term-search.scss +68 -0
- package/src/scripts/components/json-tree/ExpandableProperty.tsx +35 -0
- package/src/scripts/components/json-tree/RecursiveProperty.tsx +67 -0
- package/src/scripts/components/json-tree/json-tree.scss +19 -0
- package/src/scripts/components/loading/Loading.tsx +19 -0
- package/src/scripts/components/loading/__tests__/Loading.spec.tsx +12 -0
- package/src/scripts/components/loading/loading.scss +141 -0
- package/src/scripts/components/logo/Logo.tsx +44 -0
- package/src/scripts/components/logo/__tests__/Logo.spec.tsx +22 -0
- package/src/scripts/components/modal/Modal.tsx +51 -0
- package/src/scripts/components/modal/ModalExample.tsx +25 -0
- package/src/scripts/components/modal/UserLoginModal.tsx +74 -0
- package/src/scripts/components/modal/__tests__/UserLoginModal.spec.tsx +37 -0
- package/src/scripts/components/modal/modal.scss +60 -0
- package/src/scripts/components/modality-cube/ModalityCube.tsx +60 -0
- package/src/scripts/components/modality-cube/modality-cube.scss +303 -0
- package/src/scripts/components/page/Page.tsx +61 -0
- package/src/scripts/components/page/page.scss +408 -0
- package/src/scripts/components/progress-bar/ProgressBar.tsx +16 -0
- package/src/scripts/components/progress-bar/progress-bar.scss +34 -0
- package/src/scripts/components/radio/Radio.tsx +33 -0
- package/src/scripts/components/radio/RadioGroup.tsx +45 -0
- package/src/scripts/components/radio/__tests__/RadioGroup.spec.tsx +31 -0
- package/src/scripts/components/radio/radio.scss +335 -0
- package/src/scripts/components/range/TwoHandleRange.scss +108 -0
- package/src/scripts/components/range/TwoHandleRange.tsx +128 -0
- package/src/scripts/components/range/__tests__/TwoHandleRange.spec.tsx +34 -0
- package/src/scripts/components/read-more/ReadMore.tsx +50 -0
- package/src/scripts/components/read-more/__tests__/ReadMore.spec.tsx +14 -0
- package/src/scripts/components/read-more/read-more.scss +79 -0
- package/src/scripts/components/scss/_flex-grid.scss +216 -0
- package/src/scripts/components/scss/_helper-classes.scss +162 -0
- package/src/scripts/components/scss/_normalize.scss +614 -0
- package/src/scripts/components/scss/_variables.scss +245 -0
- package/src/scripts/components/scss/global.scss +124 -0
- package/src/scripts/components/scss/toasts.scss +33 -0
- package/src/scripts/components/scss/upload-modal.scss +479 -0
- package/src/scripts/components/search-page/CommunityHeader.tsx +27 -0
- package/src/scripts/components/search-page/FacetBlockContainerExample.tsx +6 -0
- package/src/scripts/components/search-page/FilterDateItem.tsx +44 -0
- package/src/scripts/components/search-page/FilterListItem.tsx +62 -0
- package/src/scripts/components/search-page/FiltersBlock.tsx +277 -0
- package/src/scripts/components/search-page/ModalityHeader.tsx +64 -0
- package/src/scripts/components/search-page/NeurobagelSearch.tsx +59 -0
- package/src/scripts/components/search-page/SearchPage.tsx +114 -0
- package/src/scripts/components/search-page/SearchResultItem.tsx +417 -0
- package/src/scripts/components/search-page/SearchResultsList.tsx +48 -0
- package/src/scripts/components/search-page/SearchSort.tsx +52 -0
- package/src/scripts/components/search-page/SearchSortContainerExample.tsx +9 -0
- package/src/scripts/components/search-page/TermListItem.tsx +41 -0
- package/src/scripts/components/search-page/__tests__/NuerobagelSearch.spec.tsx +17 -0
- package/src/scripts/components/search-page/filters-block.scss +99 -0
- package/src/scripts/components/search-page/neurobagel_logo.svg +75 -0
- package/src/scripts/components/search-page/search-page.scss +505 -0
- package/src/scripts/components/search-page/search-result.scss +117 -0
- package/src/scripts/components/search-page/search-sort.scss +56 -0
- package/src/scripts/components/select/SelectGroup.tsx +41 -0
- package/src/scripts/components/select/__tests__/SelectGroup.spec.tsx +43 -0
- package/src/scripts/components/select/select.scss +40 -0
- package/src/scripts/components/textarea/Textarea.tsx +68 -0
- package/src/scripts/components/textarea/__tests__/Textarea.spec.tsx +53 -0
- package/src/scripts/components/tooltip/Tooltip.tsx +30 -0
- package/src/scripts/components/tooltip/__tests__/Tooltip.spec.tsx +14 -0
- package/src/scripts/components/tooltip/tooltip.scss +159 -0
- package/src/scripts/components/user/UserMenu.tsx +72 -0
- package/src/scripts/components/user/user-menu.scss +88 -0
- package/src/scripts/components/warn-button/WarnButton.tsx +97 -0
- package/src/scripts/components/warn-button/warn-button.scss +39 -0
- package/src/scripts/datalad/dataset/dataset-query-context.js +2 -0
- package/src/scripts/dataset/comments/comment.jsx +1 -1
- package/src/scripts/dataset/components/AnalyzeDropdown.tsx +2 -2
- package/src/scripts/dataset/components/CloneDropdown.tsx +2 -2
- package/src/scripts/dataset/components/DatasetEventItem.tsx +105 -0
- package/src/scripts/dataset/components/DatasetGitAccess.tsx +2 -2
- package/src/scripts/dataset/components/DatasetToolButton.tsx +2 -2
- package/src/scripts/dataset/components/ModalitiesMetaDataBlock.tsx +2 -10
- package/src/scripts/dataset/components/ValidationBlock.tsx +37 -2
- package/src/scripts/dataset/components/VersionList.tsx +1 -1
- package/src/scripts/dataset/components/scss/dataset-events.module.scss +41 -0
- package/src/scripts/dataset/dataset-query.jsx +12 -11
- package/src/scripts/dataset/download/__tests__/__snapshots__/download-command-line.spec.jsx.snap +7 -1
- package/src/scripts/dataset/download/__tests__/download-command-line.spec.jsx +2 -2
- package/src/scripts/dataset/download/download-command-line.jsx +17 -13
- package/src/scripts/dataset/download/download-datalad.jsx +6 -3
- package/src/scripts/dataset/download/download-link.jsx +1 -1
- package/src/scripts/dataset/download/download-s3.jsx +0 -4
- package/src/scripts/dataset/files/file-display.jsx +1 -1
- package/src/scripts/dataset/files/file-tree-unloaded-directory.jsx +1 -1
- package/src/scripts/dataset/files/file-tree.tsx +1 -1
- package/src/scripts/dataset/files/file-view.jsx +1 -1
- package/src/scripts/dataset/files/file-viewer-type.jsx +5 -1
- package/src/scripts/dataset/files/file.tsx +2 -2
- package/src/scripts/dataset/files/files.tsx +3 -3
- package/src/scripts/dataset/files/viewers/file-viewer-json.jsx +1 -1
- package/src/scripts/dataset/files/viewers/file-viewer-markdown.tsx +13 -0
- package/src/scripts/dataset/fragments/cancel-button.tsx +1 -1
- package/src/scripts/dataset/fragments/dataset-citation.jsx +2 -2
- package/src/scripts/dataset/fragments/edit-button.tsx +1 -1
- package/src/scripts/dataset/fragments/edit-list.jsx +1 -1
- package/src/scripts/dataset/fragments/save-button.tsx +1 -1
- package/src/scripts/dataset/mutations/admin-exports.jsx +1 -1
- package/src/scripts/dataset/mutations/cache-clear.jsx +1 -1
- package/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx +2 -2
- package/src/scripts/dataset/mutations/dataset-events.tsx +187 -0
- package/src/scripts/dataset/mutations/dataset-relations.tsx +1 -1
- package/src/scripts/dataset/mutations/delete-anonymous-reviewer.tsx +1 -1
- package/src/scripts/dataset/mutations/delete-comment.jsx +1 -1
- package/src/scripts/dataset/mutations/delete-file.jsx +1 -1
- package/src/scripts/dataset/mutations/deprecate-version.tsx +1 -1
- package/src/scripts/dataset/mutations/flag-annex-object.jsx +2 -2
- package/src/scripts/dataset/mutations/follow.tsx +1 -1
- package/src/scripts/dataset/mutations/import-dataset.tsx +1 -1
- package/src/scripts/dataset/mutations/publish.jsx +1 -1
- package/src/scripts/dataset/mutations/remove-annex-object.jsx +2 -2
- package/src/scripts/dataset/mutations/remove-permissions.tsx +1 -1
- package/src/scripts/dataset/mutations/revalidate.jsx +2 -2
- package/src/scripts/dataset/mutations/snapshot.tsx +1 -1
- package/src/scripts/dataset/mutations/star.tsx +1 -1
- package/src/scripts/dataset/mutations/submit-metadata.jsx +1 -1
- package/src/scripts/dataset/mutations/undo-deprecate-version.tsx +2 -2
- package/src/scripts/dataset/mutations/update-permissions.tsx +1 -1
- package/src/scripts/dataset/routes/admin-datalad.jsx +4 -0
- package/src/scripts/dataset/routes/dataset-default.tsx +1 -1
- package/src/scripts/dataset/routes/delete-page.tsx +7 -3
- package/src/scripts/dataset/routes/deprecate-snapshot-page.tsx +1 -1
- package/src/scripts/dataset/routes/manage-permissions.jsx +1 -1
- package/src/scripts/dataset/routes/snapshot-default.tsx +1 -1
- package/src/scripts/dataset/routes/snapshot.tsx +1 -1
- package/src/scripts/dataset/snapshot-container.tsx +14 -8
- package/src/scripts/pages/admin/flagged-files.jsx +1 -1
- package/src/scripts/pages/admin/user-tools.tsx +1 -1
- package/src/scripts/pages/admin/users.tsx +2 -2
- package/src/scripts/pages/api.jsx +2 -2
- package/src/scripts/pages/front-page/aggregate-queries/aggregate-counts-container.tsx +6 -7
- package/src/scripts/pages/front-page/front-page.tsx +7 -9
- package/src/scripts/pages/metadata/dataset-metadata.tsx +1 -1
- package/src/scripts/search/__tests__/search-container.spec.tsx +7 -7
- package/src/scripts/search/filters-block-container.tsx +66 -9
- package/src/scripts/search/initial-search-params.tsx +7 -7
- package/src/scripts/search/inputs/__tests__/sort-by-select.spec.tsx +1 -1
- package/src/scripts/search/inputs/admin-allDatasets-toggle.tsx +1 -1
- package/src/scripts/search/inputs/age-range-input.tsx +3 -2
- package/src/scripts/search/inputs/author-input.tsx +3 -2
- package/src/scripts/search/inputs/dataset-type-select.tsx +3 -2
- package/src/scripts/search/inputs/date-radios.tsx +3 -2
- package/src/scripts/search/inputs/diagnosis-select.tsx +3 -2
- package/src/scripts/search/inputs/initiative-select.tsx +12 -6
- package/src/scripts/search/inputs/keyword-input.tsx +2 -2
- package/src/scripts/search/inputs/modality-select.tsx +28 -26
- package/src/scripts/search/inputs/pet/bodyParts_input.tsx +4 -3
- package/src/scripts/search/inputs/pet/scannerManufacturersModelNames_input.tsx +4 -3
- package/src/scripts/search/inputs/pet/scannerManufacturers_input.tsx +4 -3
- package/src/scripts/search/inputs/pet/tracerNames_input.tsx +4 -3
- package/src/scripts/search/inputs/pet/tracerRadionuclides_input.tsx +4 -3
- package/src/scripts/search/inputs/section-select.tsx +3 -2
- package/src/scripts/search/inputs/sex-radios.tsx +3 -2
- package/src/scripts/search/inputs/show-datasets-radios.tsx +4 -3
- package/src/scripts/search/inputs/sort-by-select.tsx +1 -1
- package/src/scripts/search/inputs/species-select.tsx +3 -2
- package/src/scripts/search/inputs/study-domain-input.tsx +4 -3
- package/src/scripts/search/inputs/subject-count-range-input.tsx +3 -2
- package/src/scripts/search/inputs/task-input.tsx +4 -3
- package/src/scripts/search/search-container.tsx +14 -17
- package/src/scripts/search/search-params-ctx.tsx +28 -5
- package/src/scripts/search/search-routes.tsx +2 -4
- package/src/scripts/search/use-search-results.tsx +14 -13
- package/src/scripts/uploader/upload-issues.tsx +1 -1
- package/src/scripts/uploader/upload-progress.jsx +1 -1
- package/src/scripts/uploader/uploader-modal.jsx +1 -1
- package/src/scripts/users/components/close-button.tsx +1 -1
- package/src/scripts/users/components/edit-button.tsx +1 -1
- package/src/scripts/users/components/edit-list.tsx +1 -1
- package/src/scripts/users/components/edit-string.tsx +1 -1
- package/src/scripts/users/dataset-card.tsx +2 -2
- package/src/scripts/users/user-notification-accordion.tsx +1 -1
- package/src/scripts/utils/user-login-modal-ctx.tsx +1 -1
- package/src/scripts/validation/validation-issues.tsx +2 -1
- package/src/scripts/validation/validation-panel.tsx +2 -1
- package/src/scripts/validation/validation-results.tsx +4 -3
- package/src/scripts/validation-legacy/validation-panel.jsx +2 -1
- package/src/scripts/validation-legacy/validation-results.issues.jsx +2 -3
- package/src/scripts/validation-legacy/validation-results.tsx +3 -4
- package/tsconfig.json +1 -4
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
$font-sans: 'Open Sans', sans-serif;
|
|
2
|
+
|
|
3
|
+
//old vars
|
|
4
|
+
$white: #fff;
|
|
5
|
+
$black: #000;
|
|
6
|
+
$mine-shaft: #222;
|
|
7
|
+
$stanford-red: #8c1515;
|
|
8
|
+
$coral: #eb472c;
|
|
9
|
+
$salmon: #ec7764;
|
|
10
|
+
|
|
11
|
+
$rock: #5f574f;
|
|
12
|
+
$stone: #928b81;
|
|
13
|
+
$driftwood: #b6b1a9;
|
|
14
|
+
$misty: #dad7cb;
|
|
15
|
+
|
|
16
|
+
$fuchsia: #9169a7;
|
|
17
|
+
|
|
18
|
+
$ocean: #00505c;
|
|
19
|
+
$algae: #175e54;
|
|
20
|
+
$sky: rgb(0, 124, 146);
|
|
21
|
+
$turquoise: #009b76;
|
|
22
|
+
$persian-green: #00b489;
|
|
23
|
+
$night: #012a30;
|
|
24
|
+
$jungle-mist: #b5cbd3;
|
|
25
|
+
$dodger-blue: #5890ff;
|
|
26
|
+
|
|
27
|
+
$yellow: #ffd820;
|
|
28
|
+
$honey: #fffcee;
|
|
29
|
+
|
|
30
|
+
$success: #24c85e;
|
|
31
|
+
$info: #24c8c8;
|
|
32
|
+
$warning: #f7ba4b;
|
|
33
|
+
$danger: #c82424;
|
|
34
|
+
|
|
35
|
+
$notification-green: #77e6a3;
|
|
36
|
+
|
|
37
|
+
$warning-orange-cream: #ffefdb;
|
|
38
|
+
$warning-orange: #df7600;
|
|
39
|
+
|
|
40
|
+
//end old vars
|
|
41
|
+
|
|
42
|
+
$charcoal: #333;
|
|
43
|
+
$newspaper: #dfdfdf;
|
|
44
|
+
|
|
45
|
+
/* SCSS RGB */
|
|
46
|
+
$on-light-aqua: rgb(55, 188, 210);
|
|
47
|
+
$on-dark-aqua: rgba(32, 78, 90, 1);
|
|
48
|
+
$on-secondary: #196583;
|
|
49
|
+
$on-dark-aqua-light: #e5f4f7;
|
|
50
|
+
|
|
51
|
+
$mri-theme: rgba(79, 51, 130, 1);
|
|
52
|
+
$mri-hover: adjust-color($mri-theme, $lightness: 10%);
|
|
53
|
+
$mri-dark: darken($mri-theme, 25%);
|
|
54
|
+
$mri-secondary: adjust-color($mri-theme, $lightness: 15%);
|
|
55
|
+
$mri-light: adjust-color($mri-theme, $lightness: 45%);
|
|
56
|
+
|
|
57
|
+
$eeg-theme: rgba(134, 31, 55, 1);
|
|
58
|
+
$eeg-hover: adjust-color($eeg-theme, $lightness: 10%);
|
|
59
|
+
$eeg-dark: darken($eeg-theme, 25%);
|
|
60
|
+
$eeg-secondary: adjust-color($eeg-theme, $lightness: 15%);
|
|
61
|
+
$eeg-light: adjust-color($eeg-theme, $lightness: 45%);
|
|
62
|
+
|
|
63
|
+
$pet-theme: rgba(0, 105, 192, 1);
|
|
64
|
+
$pet-hover: adjust-color($pet-theme, $lightness: 10%);
|
|
65
|
+
$pet-dark: darken($pet-theme, 25%);
|
|
66
|
+
$pet-secondary: adjust-color($pet-theme, $lightness: 15%);
|
|
67
|
+
$pet-light: adjust-color($pet-theme, $lightness: 45%);
|
|
68
|
+
|
|
69
|
+
$nih-theme: rgb(34, 133, 148);
|
|
70
|
+
$nih-hover: adjust-color($nih-theme, $lightness: 10%);
|
|
71
|
+
$nih-dark: rgba(32, 85, 138, 1);
|
|
72
|
+
$nih-secondary: adjust-color($nih-theme, $lightness: 15%);
|
|
73
|
+
$nih-light: rgba(155, 211, 221, 1);
|
|
74
|
+
|
|
75
|
+
$ieeg-theme: rgba(18, 109, 62, 1);
|
|
76
|
+
$ieeg-hover: adjust-color($ieeg-theme, $lightness: 10%);
|
|
77
|
+
$ieeg-dark: darken($ieeg-theme, 25%);
|
|
78
|
+
$ieeg-secondary: adjust-color($ieeg-theme, $lightness: 15%);
|
|
79
|
+
$ieeg-light: rgb(200, 212, 153);
|
|
80
|
+
|
|
81
|
+
$meg-theme: rgba(156, 57, 0, 1);
|
|
82
|
+
$meg-hover: adjust-color($meg-theme, $lightness: 10%);
|
|
83
|
+
$meg-dark: darken($meg-theme, 25%);
|
|
84
|
+
$meg-secondary: adjust-color($meg-theme, $lightness: 15%);
|
|
85
|
+
$meg-light: adjust-color($meg-theme, $lightness: 45%);
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
$nirs-theme: rgb(166 21 40);
|
|
89
|
+
$nirs-hover: adjust-color($nirs-theme, $lightness: 10%);
|
|
90
|
+
$nirs-dark: darken($nirs-theme, 25%);
|
|
91
|
+
$nirs-secondary: adjust-color($nirs-theme, $lightness: 15%);
|
|
92
|
+
$nirs-light: adjust-color($nirs-theme, $lightness: 45%);
|
|
93
|
+
|
|
94
|
+
$on-light-green: #00eeb5;
|
|
95
|
+
$on-light-red: #c00342;
|
|
96
|
+
$on-light-orange: rgb(255, 110, 43);
|
|
97
|
+
|
|
98
|
+
$primary: $on-dark-aqua;
|
|
99
|
+
|
|
100
|
+
$chiclet-color: #a2059e;
|
|
101
|
+
|
|
102
|
+
/* CSS HEX */
|
|
103
|
+
:root {
|
|
104
|
+
--mri-theme: #{$mri-theme};
|
|
105
|
+
--eeg-theme: #{$eeg-theme};
|
|
106
|
+
--pet-theme: #{$pet-theme};
|
|
107
|
+
--ieeg-theme: #{$ieeg-theme};
|
|
108
|
+
--meg-theme: #{$meg-theme};
|
|
109
|
+
--nirs-theme: #{$nirs-theme};
|
|
110
|
+
|
|
111
|
+
--on-light-aqua: #{$on-light-aqua};
|
|
112
|
+
--on-dark-aqua: #{$on-dark-aqua};
|
|
113
|
+
--on-light-green: #{on-light-green};
|
|
114
|
+
|
|
115
|
+
--current-theme-primary: #{$on-dark-aqua};
|
|
116
|
+
--current-theme-primary-hover: #{$on-light-aqua};
|
|
117
|
+
--current-theme-secondary: #{$on-secondary};
|
|
118
|
+
--current-theme-primary-dark: #{$on-dark-aqua};
|
|
119
|
+
--current-theme-primary-light: #{$on-dark-aqua-light};
|
|
120
|
+
--current-theme-header: #333;
|
|
121
|
+
--current-theme-header-dark: #333;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.mri-theme {
|
|
125
|
+
background-color: $mri-theme;
|
|
126
|
+
}
|
|
127
|
+
.eeg-theme {
|
|
128
|
+
background-color: $eeg-theme;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.pet-theme {
|
|
132
|
+
background-color: $pet-theme;
|
|
133
|
+
}
|
|
134
|
+
.ieeg-theme {
|
|
135
|
+
background-color: $ieeg-theme;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.on-light-aqua {
|
|
139
|
+
background-color: $on-light-aqua;
|
|
140
|
+
}
|
|
141
|
+
.on-light-green {
|
|
142
|
+
background-color: $on-light-green;
|
|
143
|
+
}
|
|
144
|
+
.on-dark-aqua {
|
|
145
|
+
background-color: $on-dark-aqua;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.meg-theme {
|
|
149
|
+
background-color: $meg-theme;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.nih-theme {
|
|
153
|
+
background: $nih-theme;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.gray-bg {
|
|
157
|
+
background: #f3f3f3;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
//Base unit used for spacing gutters
|
|
161
|
+
$base-unit: 20px;
|
|
162
|
+
|
|
163
|
+
//Screen Sizes
|
|
164
|
+
$screen-sm: 480px;
|
|
165
|
+
$screen-md: 767px;
|
|
166
|
+
$screen-lg: 989px;
|
|
167
|
+
|
|
168
|
+
$border-radius-default: 4px;
|
|
169
|
+
|
|
170
|
+
.search-page-mri,
|
|
171
|
+
.dataset-page-mri {
|
|
172
|
+
--current-theme-primary: #{$mri-theme};
|
|
173
|
+
--current-theme-primary-hover: #{$mri-hover};
|
|
174
|
+
--current-theme-primary-dark: #{$mri-dark};
|
|
175
|
+
--current-theme-secondary: #{$mri-secondary};
|
|
176
|
+
--current-theme-primary-light: #{$mri-light};
|
|
177
|
+
--current-theme-header: #{$mri-theme};
|
|
178
|
+
--current-theme-header-dark: #{$mri-dark};
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.search-page-eeg,
|
|
182
|
+
.dataset-page-eeg {
|
|
183
|
+
--current-theme-primary: #{$eeg-theme};
|
|
184
|
+
--current-theme-primary-hover: #{$eeg-hover};
|
|
185
|
+
--current-theme-primary-dark: #{$eeg-dark};
|
|
186
|
+
--current-theme-secondary: #{$eeg-secondary};
|
|
187
|
+
--current-theme-primary-light: #{$eeg-light};
|
|
188
|
+
--current-theme-header: #{$eeg-theme};
|
|
189
|
+
--current-theme-header-dark: #{$eeg-dark};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.search-page-pet,
|
|
193
|
+
.dataset-page-pet {
|
|
194
|
+
--current-theme-primary: #{$pet-theme};
|
|
195
|
+
--current-theme-primary-hover: #{$pet-hover};
|
|
196
|
+
--current-theme-primary-dark: #{$pet-dark};
|
|
197
|
+
--current-theme-secondary: #{$pet-secondary};
|
|
198
|
+
--current-theme-primary-light: #{$pet-light};
|
|
199
|
+
--current-theme-header: #{$pet-theme};
|
|
200
|
+
--current-theme-header-dark: #{$pet-dark};
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.search-page-nih,
|
|
204
|
+
.dataset-page-nih{
|
|
205
|
+
--current-theme-primary: #{$nih-theme};
|
|
206
|
+
--current-theme-primary-hover: #{$nih-hover};
|
|
207
|
+
--current-theme-primary-dark: #{$nih-dark};
|
|
208
|
+
--current-theme-secondary: #{$nih-secondary};
|
|
209
|
+
--current-theme-primary-light: #{$nih-light};
|
|
210
|
+
--current-theme-header: #{$nih-theme};
|
|
211
|
+
--current-theme-header-dark: #{$nih-dark};
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.search-page-ieeg,
|
|
215
|
+
.dataset-page-ieeg {
|
|
216
|
+
--current-theme-primary: #{$ieeg-theme};
|
|
217
|
+
--current-theme-primary-hover: #{$ieeg-hover};
|
|
218
|
+
--current-theme-primary-dark: #{$ieeg-dark};
|
|
219
|
+
--current-theme-secondary: #{$ieeg-secondary};
|
|
220
|
+
--current-theme-primary-light: #{$ieeg-light};
|
|
221
|
+
--current-theme-header: #{$ieeg-theme};
|
|
222
|
+
--current-theme-header-dark: #{$ieeg-dark};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.search-page-meg,
|
|
226
|
+
.dataset-page-meg {
|
|
227
|
+
--current-theme-primary: #{$meg-theme};
|
|
228
|
+
--current-theme-primary-hover: #{$meg-hover};
|
|
229
|
+
--current-theme-primary-dark: #{$meg-dark};
|
|
230
|
+
--current-theme-secondary: #{$meg-secondary};
|
|
231
|
+
--current-theme-primary-light: #{$meg-light};
|
|
232
|
+
--current-theme-header: #{$meg-theme};
|
|
233
|
+
--current-theme-header-dark: #{$meg-dark};
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.search-page-nirs,
|
|
237
|
+
.dataset-page-nirs {
|
|
238
|
+
--current-theme-primary: #{$nirs-theme};
|
|
239
|
+
--current-theme-primary-hover: #{$nirs-hover};
|
|
240
|
+
--current-theme-primary-dark: #{$nirs-dark};
|
|
241
|
+
--current-theme-secondary: #{$nirs-secondary};
|
|
242
|
+
--current-theme-primary-light: #{$nirs-light};
|
|
243
|
+
--current-theme-header: #{$nirs-theme};
|
|
244
|
+
--current-theme-header-dark: #{$nirs-dark};
|
|
245
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
.sb-show-main.sb-main-padded {
|
|
2
|
+
padding: 0 !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.sr-only {
|
|
6
|
+
border: 0;
|
|
7
|
+
clip: rect(0, 0, 0, 0);
|
|
8
|
+
height: 1px;
|
|
9
|
+
margin: -1px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
padding: 0;
|
|
12
|
+
position: absolute;
|
|
13
|
+
width: 1px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
body {
|
|
17
|
+
font-family: $font-sans;
|
|
18
|
+
min-height: 100vh;
|
|
19
|
+
padding: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
a,
|
|
23
|
+
a:link {
|
|
24
|
+
color: var(--current-theme-primary);
|
|
25
|
+
transition: color 0.3s;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
&:hover {
|
|
28
|
+
color: var(--current-theme-primary-hover);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.container {
|
|
32
|
+
max-width: calc(100vw - 80px);
|
|
33
|
+
width: 1690px;
|
|
34
|
+
margin: 0 auto;
|
|
35
|
+
position: relative;
|
|
36
|
+
z-index: 3;
|
|
37
|
+
@media (max-width: 767px) {
|
|
38
|
+
max-width: calc(100vw - 50px);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
div,
|
|
43
|
+
span,
|
|
44
|
+
input,
|
|
45
|
+
textarea {
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
img {
|
|
50
|
+
max-width: 100%;
|
|
51
|
+
height: auto;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
h1,
|
|
55
|
+
h2,
|
|
56
|
+
h3,
|
|
57
|
+
h4,
|
|
58
|
+
h5,
|
|
59
|
+
h6 {
|
|
60
|
+
line-height: 1.3em;
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
blockquote {
|
|
65
|
+
font-style: italic;
|
|
66
|
+
color: #454545;
|
|
67
|
+
margin: 20px 60px;
|
|
68
|
+
border-left: 10px solid #e2e2e2;
|
|
69
|
+
display: block;
|
|
70
|
+
padding: 0 0 0 30px;
|
|
71
|
+
@media (max-width: 480px) {
|
|
72
|
+
margin: 20px 10px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sr-only {
|
|
77
|
+
position: absolute;
|
|
78
|
+
width: 1px;
|
|
79
|
+
height: 1px;
|
|
80
|
+
padding: 0;
|
|
81
|
+
margin: -1px;
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
clip: rect(0, 0, 0, 0);
|
|
84
|
+
border: 0;
|
|
85
|
+
padding: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.sticky-content {
|
|
89
|
+
min-height: calc(100vh - 30px);
|
|
90
|
+
padding: 0;
|
|
91
|
+
}
|
|
92
|
+
.sticky-footer {
|
|
93
|
+
height: 30px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
pre {
|
|
97
|
+
border: 1px solid #eee;
|
|
98
|
+
padding: 5px;
|
|
99
|
+
background: #f4f4f4;
|
|
100
|
+
overflow-y: scroll;
|
|
101
|
+
pre {
|
|
102
|
+
margin: 0;
|
|
103
|
+
border: 0;
|
|
104
|
+
padding: 0;
|
|
105
|
+
background: transparent;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.return-link {
|
|
110
|
+
text-transform: uppercase;
|
|
111
|
+
color: #333;
|
|
112
|
+
font-weight: 600;
|
|
113
|
+
text-decoration: none;
|
|
114
|
+
margin-left: 40px;
|
|
115
|
+
font-size: 14px;
|
|
116
|
+
&:hover {
|
|
117
|
+
text-decoration: underline;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@media (max-width: 480px) {
|
|
121
|
+
display: block !important;
|
|
122
|
+
margin: 30px 0 20px !important;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Toasts
|
|
2
|
+
|
|
3
|
+
.Toastify__toast {
|
|
4
|
+
text-align: center;
|
|
5
|
+
background: #fff;
|
|
6
|
+
color: #000;
|
|
7
|
+
padding: 1em;
|
|
8
|
+
.Toastify__close-button--error {
|
|
9
|
+
color: #000;
|
|
10
|
+
}
|
|
11
|
+
.Toastify__progress-bar {
|
|
12
|
+
background: #eee;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.Toastify__toast--default {
|
|
17
|
+
border-top: 4px solid #333;
|
|
18
|
+
.Toastify__progress-bar {
|
|
19
|
+
background: var(--current-theme-primary);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.Toastify__toast--success {
|
|
24
|
+
border-top: 4px solid $on-light-green;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.Toastify__toast--warning {
|
|
28
|
+
border-top: 4px solid $on-light-orange;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.Toastify__toast--error {
|
|
32
|
+
border-top: 4px solid $on-light-red;
|
|
33
|
+
}
|