@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,79 @@
|
|
|
1
|
+
@import '../scss/variables';
|
|
2
|
+
.has-read-more {
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
section {
|
|
6
|
+
height: auto;
|
|
7
|
+
min-height: 300px;
|
|
8
|
+
max-height: 300px;
|
|
9
|
+
transition: max-height 0.4s;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
padding-bottom: 20px;
|
|
12
|
+
}
|
|
13
|
+
&.readmore-file-tree {
|
|
14
|
+
margin-bottom: 80px;
|
|
15
|
+
section {
|
|
16
|
+
min-height: 975px;
|
|
17
|
+
max-height: 975px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
label.expand-collapse {
|
|
21
|
+
position: absolute;
|
|
22
|
+
bottom: -15px;
|
|
23
|
+
width: 100%;
|
|
24
|
+
text-align: center;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
margin: 0;
|
|
27
|
+
background-image: linear-gradient(
|
|
28
|
+
to bottom,
|
|
29
|
+
rgba(255, 255, 255, 0.4),
|
|
30
|
+
rgba(255, 255, 255, 1)
|
|
31
|
+
);
|
|
32
|
+
padding-bottom: 50px;
|
|
33
|
+
display: block;
|
|
34
|
+
span {
|
|
35
|
+
font-size: 14px;
|
|
36
|
+
text-transform: uppercase;
|
|
37
|
+
font-weight: bold;
|
|
38
|
+
color: var(--current-theme-primary);
|
|
39
|
+
display: block;
|
|
40
|
+
position: relative;
|
|
41
|
+
top: 38px;
|
|
42
|
+
&:hover {
|
|
43
|
+
color: var(--current-theme-primary-hover);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
span:first-child {
|
|
47
|
+
display: inline;
|
|
48
|
+
}
|
|
49
|
+
span:last-child {
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
input.show-more {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
input.show-more[type='checkbox']:checked + section {
|
|
58
|
+
max-height: 9000px;
|
|
59
|
+
|
|
60
|
+
label.expand-collapse {
|
|
61
|
+
background: none;
|
|
62
|
+
span:last-child {
|
|
63
|
+
display: inline;
|
|
64
|
+
}
|
|
65
|
+
span:first-child {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
&.readmore-file-tree {
|
|
71
|
+
input.show-more[type='checkbox']:checked + section {
|
|
72
|
+
max-height: 40000px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.filetree-wrapper.on-accordion-wrapper .accordion-item {
|
|
77
|
+
max-height: 40000px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
////////////////////////
|
|
4
|
+
//The Flex Grid
|
|
5
|
+
////////////////////////
|
|
6
|
+
.grid {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
display: -webkit-flex;
|
|
9
|
+
display: -ms-flexbox;
|
|
10
|
+
display: -webkit-box;
|
|
11
|
+
display: flex;
|
|
12
|
+
-webkit-flex: 0 1 auto;
|
|
13
|
+
-ms-flex: 0 1 auto;
|
|
14
|
+
-webkit-box-flex: 0;
|
|
15
|
+
flex: 0 1 auto;
|
|
16
|
+
-webkit-flex-direction: row;
|
|
17
|
+
-ms-flex-direction: row;
|
|
18
|
+
-webkit-box-orient: horizontal;
|
|
19
|
+
-webkit-box-direction: normal;
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
-webkit-flex-wrap: wrap;
|
|
22
|
+
-ms-flex-wrap: wrap;
|
|
23
|
+
flex-wrap: wrap;
|
|
24
|
+
margin: 0;
|
|
25
|
+
//Use this modifier to remove gutters
|
|
26
|
+
&.grid-nogutter {
|
|
27
|
+
margin: 0;
|
|
28
|
+
& > .col {
|
|
29
|
+
padding-right: 0;
|
|
30
|
+
padding-left: 0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
&.align-center {
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
&.grid-column {
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.col {
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
-webkit-flex: 0 0 auto;
|
|
44
|
+
-ms-flex: 0 0 auto;
|
|
45
|
+
flex: 0 0 auto;
|
|
46
|
+
-webkit-flex-grow: 1;
|
|
47
|
+
-ms-flex-positive: 1;
|
|
48
|
+
-webkit-box-flex: 1;
|
|
49
|
+
flex-grow: 1;
|
|
50
|
+
-ms-flex-preferred-size: 0;
|
|
51
|
+
-webkit-flex-basis: 0;
|
|
52
|
+
flex-basis: 0;
|
|
53
|
+
max-width: 100%;
|
|
54
|
+
min-width: 0;
|
|
55
|
+
padding: 0 $base-unit 0 $base-unit;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
////////////////////////
|
|
59
|
+
//Column Modifiers
|
|
60
|
+
////////////////////////
|
|
61
|
+
|
|
62
|
+
//Column Vertical Alignment Classes
|
|
63
|
+
.col-align-top {
|
|
64
|
+
-webkit-align-self: flex-start;
|
|
65
|
+
-ms-flex-item-align: start;
|
|
66
|
+
align-self: flex-start;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.col-align-bottom {
|
|
70
|
+
align-self: flex-end;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.col-align-middle {
|
|
74
|
+
-webkit-align-self: center;
|
|
75
|
+
-ms-flex-item-align: center;
|
|
76
|
+
align-self: center;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
//Column Content Alignment Classes
|
|
80
|
+
.col-top {
|
|
81
|
+
justify-content: flex-start !important;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
display: flex;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.col-bottom {
|
|
87
|
+
justify-content: flex-end !important;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
display: flex;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.col-middle {
|
|
93
|
+
justify-content: center;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
display: flex;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
//Horizontal Grid Alignment
|
|
99
|
+
.grid-start {
|
|
100
|
+
-webkit-box-pack: start;
|
|
101
|
+
-ms-flex-pack: start;
|
|
102
|
+
justify-content: flex-start;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.grid-center {
|
|
106
|
+
-webkit-box-pack: center;
|
|
107
|
+
-ms-flex-pack: center;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.grid-end {
|
|
112
|
+
-webkit-box-pack: end;
|
|
113
|
+
-ms-flex-pack: end;
|
|
114
|
+
justify-content: flex-end;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.grid-column {
|
|
118
|
+
&.grid-start {
|
|
119
|
+
align-items: flex-start;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&.grid-center {
|
|
123
|
+
align-items: center;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.grid-end {
|
|
127
|
+
align-items: flex-end;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
//Column Distribution
|
|
132
|
+
.grid-around {
|
|
133
|
+
justify-content: space-around;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.grid-between {
|
|
137
|
+
-webkit-box-pack: justify;
|
|
138
|
+
-ms-flex-pack: justify;
|
|
139
|
+
justify-content: space-between;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
//Reordering Columns
|
|
143
|
+
.col-first {
|
|
144
|
+
-webkit-box-ordinal-group: 0;
|
|
145
|
+
-ms-flex-order: -1;
|
|
146
|
+
order: -1;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.col-last {
|
|
150
|
+
-webkit-box-ordinal-group: 2;
|
|
151
|
+
-ms-flex-order: 1;
|
|
152
|
+
order: 1;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.grid-reverse {
|
|
156
|
+
-webkit-box-orient: horizontal;
|
|
157
|
+
-webkit-box-direction: reverse;
|
|
158
|
+
-ms-flex-direction: row-reverse;
|
|
159
|
+
flex-direction: row-reverse;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
////////////////////////
|
|
163
|
+
//Column Sizing Classes
|
|
164
|
+
////////////////////////
|
|
165
|
+
|
|
166
|
+
//Fixed Column Class
|
|
167
|
+
.col-fixed {
|
|
168
|
+
flex: initial;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
//Grow Based Columns
|
|
172
|
+
@for $i from 2 through 11 {
|
|
173
|
+
.col-grow-#{$i} {
|
|
174
|
+
flex-grow: $i;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
//Percent Based Columns
|
|
179
|
+
@for $i from 1 through 12 {
|
|
180
|
+
.col-#{$i} {
|
|
181
|
+
-ms-flex-preferred-size: math.div(100%, 12) * $i;
|
|
182
|
+
-webkit-flex-basis: math.div(100%, 12) * $i;
|
|
183
|
+
flex-basis: math.div(100%, 12) * $i;
|
|
184
|
+
max-width: math.div(100%, 12) * $i;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
//////////////////
|
|
189
|
+
//Media Queries
|
|
190
|
+
//////////////////
|
|
191
|
+
@media only screen and (max-width: $screen-sm) {
|
|
192
|
+
// .grid-sm {
|
|
193
|
+
.col-sm {
|
|
194
|
+
flex: 100%;
|
|
195
|
+
max-width: 100%;
|
|
196
|
+
}
|
|
197
|
+
// }
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@media only screen and (max-width: $screen-md) {
|
|
201
|
+
// .grid-md {
|
|
202
|
+
.col-md {
|
|
203
|
+
flex: 100%;
|
|
204
|
+
max-width: 100%;
|
|
205
|
+
}
|
|
206
|
+
// }
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@media only screen and (max-width: $screen-lg) {
|
|
210
|
+
// .grid-lg {
|
|
211
|
+
.col-lg {
|
|
212
|
+
flex: 100%;
|
|
213
|
+
max-width: 100%;
|
|
214
|
+
}
|
|
215
|
+
// }
|
|
216
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
.full--width {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Add/remove floats
|
|
7
|
+
*/
|
|
8
|
+
.float--right {
|
|
9
|
+
float: right !important;
|
|
10
|
+
}
|
|
11
|
+
.float--left {
|
|
12
|
+
float: left !important;
|
|
13
|
+
}
|
|
14
|
+
.float--none {
|
|
15
|
+
float: none !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Textual
|
|
19
|
+
\*----------------------------------------------------------------------------*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Text alignment
|
|
23
|
+
*/
|
|
24
|
+
.text--left {
|
|
25
|
+
text-align: left !important;
|
|
26
|
+
}
|
|
27
|
+
.text--center {
|
|
28
|
+
text-align: center !important;
|
|
29
|
+
}
|
|
30
|
+
.text--right {
|
|
31
|
+
text-align: right !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Font weight
|
|
36
|
+
*
|
|
37
|
+
* ^deprecated: `.weight--x`
|
|
38
|
+
*/
|
|
39
|
+
.text--light,
|
|
40
|
+
.weight--light {
|
|
41
|
+
font-weight: 300 !important;
|
|
42
|
+
}
|
|
43
|
+
.text--normal,
|
|
44
|
+
.weight--normal {
|
|
45
|
+
font-weight: 400 !important;
|
|
46
|
+
}
|
|
47
|
+
.text--semibold,
|
|
48
|
+
.weight--semibold {
|
|
49
|
+
font-weight: 600 !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Capitals/lowercase
|
|
54
|
+
*
|
|
55
|
+
* ^deprecated: non prefixed with `text--`
|
|
56
|
+
*/
|
|
57
|
+
.text--caps,
|
|
58
|
+
.caps {
|
|
59
|
+
text-transform: uppercase !important;
|
|
60
|
+
}
|
|
61
|
+
.text--lowercase,
|
|
62
|
+
.lowercase {
|
|
63
|
+
text-transform: lowercase !important;
|
|
64
|
+
}
|
|
65
|
+
.text--firstcap,
|
|
66
|
+
.firstcap {
|
|
67
|
+
text-transform: capitalize !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Misc
|
|
71
|
+
\*----------------------------------------------------------------------------*/
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Hide from screanreaders & browsers
|
|
75
|
+
*/
|
|
76
|
+
.hidden {
|
|
77
|
+
display: none !important;
|
|
78
|
+
visibility: hidden;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Hide visually and from screenreaders, but maintain layout
|
|
83
|
+
*/
|
|
84
|
+
.invisible {
|
|
85
|
+
visibility: hidden;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Hide only visually, but have it available for screenreaders
|
|
90
|
+
* as per: h5bp.com/v
|
|
91
|
+
*/
|
|
92
|
+
@mixin visuallyhidden {
|
|
93
|
+
border: 0;
|
|
94
|
+
clip: rect(0 0 0 0);
|
|
95
|
+
height: 1px;
|
|
96
|
+
margin: -1px;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
padding: 0;
|
|
99
|
+
position: absolute;
|
|
100
|
+
width: 1px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.visuallyhidden {
|
|
104
|
+
@include visuallyhidden;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/*
|
|
108
|
+
This .scss loop will create "margin helpers" and "padding helpers" for use in your web projects.
|
|
109
|
+
It will generate several classes such as:
|
|
110
|
+
.m-r-10 which gives margin-right 10 pixels.
|
|
111
|
+
.m-r-15 gives MARGIN to the RIGHT 15 pixels.
|
|
112
|
+
.m-t-15 gives MARGIN to the TOP 15 pixels and so on.
|
|
113
|
+
.p-b-5 gives PADDING to the BOTTOM of 5 pixels
|
|
114
|
+
.p-l-40 gives PADDING to the LEFT of 40 pixels
|
|
115
|
+
The first letter is "m" or "p" for MARGIN or PADDING
|
|
116
|
+
Second letter is "t", "b", "l", or "r" for TOP, BOTTOM, LEFT, or RIGHT
|
|
117
|
+
Third letter is the number of spacing in pixels. Adjust the amounts generated by editing the $spaceamounts variable below.
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
$spaceamounts: (
|
|
121
|
+
5,
|
|
122
|
+
10,
|
|
123
|
+
15,
|
|
124
|
+
20,
|
|
125
|
+
25,
|
|
126
|
+
30,
|
|
127
|
+
35,
|
|
128
|
+
40,
|
|
129
|
+
45,
|
|
130
|
+
50,
|
|
131
|
+
75,
|
|
132
|
+
100
|
|
133
|
+
); // Adjust this to include the pixel amounts you need.
|
|
134
|
+
$sides: (top, bottom, left, right); // Leave this variable alone
|
|
135
|
+
|
|
136
|
+
@each $space in $spaceamounts {
|
|
137
|
+
@each $side in $sides {
|
|
138
|
+
.m-#{str-slice($side, 0, 1)}-#{$space} {
|
|
139
|
+
margin-#{$side}: #{$space}px !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.p-#{str-slice($side, 0, 1)}-#{$space} {
|
|
143
|
+
padding-#{$side}: #{$space}px !important;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.m-l-0 {
|
|
149
|
+
margin-left: 0 !important;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.m-r-0 {
|
|
153
|
+
margin-right: 0 !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.m-t-0 {
|
|
157
|
+
margin-top: 0 !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.m-b-0 {
|
|
161
|
+
margin-bottom: 0 !important;
|
|
162
|
+
}
|