@openneuro/app 4.1.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -18
- package/src/scripts/common/forms/warn-button.jsx +1 -1
- package/src/scripts/{redesign.tsx → index.tsx} +4 -4
- package/src/scripts/pages/citation-page.tsx +41 -0
- package/src/scripts/refactor_2021/admin/admin.jsx +1 -1
- package/src/scripts/refactor_2021/admin/flagged-files.jsx +2 -1
- package/src/scripts/refactor_2021/admin/user-tools.tsx +3 -5
- package/src/scripts/refactor_2021/admin/users.jsx +7 -10
- package/src/scripts/{authentication → refactor_2021/authentication}/__tests__/profile.spec.js +1 -1
- package/src/scripts/refactor_2021/containers/footer.tsx +1 -3
- package/src/scripts/{datalad/dataset → refactor_2021/dataset/comments}/__tests__/__snapshots__/comment.spec.jsx.snap +0 -8
- package/src/scripts/refactor_2021/dataset/comments/__tests__/__snapshots__/comments.spec.jsx.snap +129 -0
- package/src/scripts/{datalad/dataset → refactor_2021/dataset/comments}/__tests__/comment.spec.jsx +0 -0
- package/src/scripts/{datalad/dataset → refactor_2021/dataset/comments}/__tests__/comments.spec.jsx +0 -0
- package/src/scripts/refactor_2021/dataset/dataset-query.jsx +5 -3
- package/src/scripts/refactor_2021/dataset/dataset-routes.jsx +14 -4
- package/src/scripts/{datalad → refactor_2021/dataset}/download/__tests__/__snapshots__/download-command-line.spec.jsx.snap +0 -0
- package/src/scripts/{datalad → refactor_2021/dataset}/download/__tests__/__snapshots__/download-link.spec.jsx.snap +645 -105
- package/src/scripts/{datalad → refactor_2021/dataset}/download/__tests__/__snapshots__/shell-example.spec.jsx.snap +6 -3
- package/src/scripts/{datalad → refactor_2021/dataset}/download/__tests__/download-command-line.spec.jsx +0 -0
- package/src/scripts/{datalad → refactor_2021/dataset}/download/__tests__/download-link.spec.jsx +0 -0
- package/src/scripts/{datalad → refactor_2021/dataset}/download/__tests__/download-native.spec.js +0 -0
- package/src/scripts/{datalad → refactor_2021/dataset}/download/__tests__/shell-example.spec.jsx +0 -0
- package/src/scripts/refactor_2021/dataset/download/download-datalad.jsx +45 -10
- package/src/scripts/refactor_2021/dataset/draft-container.tsx +2 -0
- package/src/scripts/refactor_2021/dataset/files/file-tree.jsx +3 -2
- package/src/scripts/refactor_2021/dataset/fragments/__tests__/__snapshots__/cancel-button.spec.tsx.snap +10 -0
- package/src/scripts/refactor_2021/dataset/fragments/__tests__/__snapshots__/edit-button.spec.tsx.snap +10 -0
- package/src/scripts/refactor_2021/dataset/fragments/__tests__/__snapshots__/edit-list.spec.jsx.snap +24 -0
- package/src/scripts/refactor_2021/dataset/fragments/__tests__/__snapshots__/save-button.spec.tsx.snap +10 -0
- package/src/scripts/{datalad/fragments/__tests__/__snapshots__/select-input.spec.jsx.snap → refactor_2021/dataset/fragments/__tests__/__snapshots__/select-input.spec.tsx.snap} +0 -0
- package/src/scripts/{datalad/fragments/__tests__/cancel-button.spec.jsx → refactor_2021/dataset/fragments/__tests__/cancel-button.spec.tsx} +2 -2
- package/src/scripts/{datalad → refactor_2021/dataset}/fragments/__tests__/dataset-citation.spec.jsx +0 -0
- package/src/scripts/{datalad/fragments/__tests__/edit-button.spec.jsx → refactor_2021/dataset/fragments/__tests__/edit-button.spec.tsx} +2 -2
- package/src/scripts/refactor_2021/dataset/fragments/__tests__/edit-list.spec.jsx +27 -0
- package/src/scripts/{datalad/fragments/__tests__/save-button.spec.jsx → refactor_2021/dataset/fragments/__tests__/save-button.spec.tsx} +2 -2
- package/src/scripts/{datalad/fragments/__tests__/select-input.spec.jsx → refactor_2021/dataset/fragments/__tests__/select-input.spec.tsx} +0 -0
- package/src/scripts/refactor_2021/dataset/mutations/__tests__/__snapshots__/delete.spec.jsx.snap +50 -0
- package/src/scripts/{datalad → refactor_2021/dataset}/mutations/__tests__/__snapshots__/description.spec.jsx.snap +0 -0
- package/src/scripts/refactor_2021/dataset/mutations/__tests__/__snapshots__/update-permissions.spec.jsx.snap +27 -0
- package/src/scripts/{datalad → refactor_2021/dataset}/mutations/__tests__/cache-id.spec.js +0 -0
- package/src/scripts/{datalad → refactor_2021/dataset}/mutations/__tests__/delete.spec.jsx +8 -8
- package/src/scripts/{datalad → refactor_2021/dataset}/mutations/__tests__/description.spec.jsx +0 -0
- package/src/scripts/{datalad/mutations/__tests__/remove-permissions.spec.jsx → refactor_2021/dataset/mutations/__tests__/remove-permissions.spec.tsx} +1 -1
- package/src/scripts/refactor_2021/dataset/mutations/__tests__/update-permissions.spec.jsx +28 -0
- package/src/scripts/refactor_2021/dataset/mutations/dataset-relations.tsx +1 -1
- package/src/scripts/refactor_2021/dataset/mutations/update-file.jsx +2 -2
- package/src/scripts/refactor_2021/dataset/routes/download-dataset.tsx +76 -0
- package/src/scripts/refactor_2021/dataset/snapshot-container.tsx +10 -4
- package/src/scripts/refactor_2021/routes.tsx +1 -1
- package/src/scripts/refactor_2021/search/__tests__/search-params-ctx.spec.tsx +20 -0
- package/src/scripts/refactor_2021/search/initial-search-params.tsx +7 -7
- package/src/scripts/refactor_2021/search/inputs/__tests__/sort-by-select.spec.tsx +83 -0
- package/src/scripts/refactor_2021/search/inputs/index.ts +2 -2
- package/src/scripts/refactor_2021/search/inputs/{gender-radios.tsx → sex-radios.tsx} +10 -10
- package/src/scripts/refactor_2021/search/inputs/sort-by-select.tsx +38 -8
- package/src/scripts/refactor_2021/search/search-container.tsx +3 -3
- package/src/scripts/refactor_2021/search/search-params-ctx.tsx +3 -3
- package/src/scripts/refactor_2021/search/use-search-results.tsx +4 -3
- package/src/scripts/refactor_2021/uploader/upload-disclaimer.jsx +4 -3
- package/src/scripts/refactor_2021/user/api.jsx +11 -6
- package/src/server.jsx +1 -5
- package/src/ssr.ts +0 -1
- package/src/sass/_bootstrap-compass.scss +0 -9
- package/src/sass/_bootstrap-mincer.scss +0 -19
- package/src/sass/_bootstrap-sprockets.scss +0 -9
- package/src/sass/_bootstrap.scss +0 -50
- package/src/sass/animate/_attention-seekers/_bounce.scss +0 -15
- package/src/sass/animate/_attention-seekers/_flash.scss +0 -14
- package/src/sass/animate/_attention-seekers/_pulse.scss +0 -17
- package/src/sass/animate/_attention-seekers/_rubberBand.scss +0 -19
- package/src/sass/animate/_attention-seekers/_shake.scss +0 -15
- package/src/sass/animate/_attention-seekers/_swing.scss +0 -19
- package/src/sass/animate/_attention-seekers/_tada.scss +0 -17
- package/src/sass/animate/_attention-seekers/_wobble.scss +0 -21
- package/src/sass/animate/_attention-seekers/attention-seekers.scss +0 -12
- package/src/sass/animate/_bouncing-entrances/_bounceIn.scss +0 -26
- package/src/sass/animate/_bouncing-entrances/_bounceInDown.scss +0 -26
- package/src/sass/animate/_bouncing-entrances/_bounceInLeft.scss +0 -26
- package/src/sass/animate/_bouncing-entrances/_bounceInRight.scss +0 -26
- package/src/sass/animate/_bouncing-entrances/_bounceInUp.scss +0 -26
- package/src/sass/animate/_bouncing-entrances/bouncing-entrances.scss +0 -9
- package/src/sass/animate/_bouncing-exits/_bounceOut.scss +0 -26
- package/src/sass/animate/_bouncing-exits/_bounceOutDown.scss +0 -23
- package/src/sass/animate/_bouncing-exits/_bounceOutLeft.scss +0 -23
- package/src/sass/animate/_bouncing-exits/_bounceOutRight.scss +0 -23
- package/src/sass/animate/_bouncing-exits/_bounceOutUp.scss +0 -23
- package/src/sass/animate/_bouncing-exits/bouncing-exits.scss +0 -4
- package/src/sass/animate/_fading-entrances/_fadeIn.scss +0 -14
- package/src/sass/animate/_fading-entrances/_fadeInDown.scss +0 -20
- package/src/sass/animate/_fading-entrances/_fadeInDownBig.scss +0 -20
- package/src/sass/animate/_fading-entrances/_fadeInLeft.scss +0 -20
- package/src/sass/animate/_fading-entrances/_fadeInLeftBig.scss +0 -20
- package/src/sass/animate/_fading-entrances/_fadeInRight.scss +0 -20
- package/src/sass/animate/_fading-entrances/_fadeInRightBig.scss +0 -20
- package/src/sass/animate/_fading-entrances/_fadeInUp.scss +0 -19
- package/src/sass/animate/_fading-entrances/_fadeInUpBig.scss +0 -20
- package/src/sass/animate/_fading-entrances/fading-entrances.scss +0 -5
- package/src/sass/animate/_fading-exits/_fadeOut.scss +0 -14
- package/src/sass/animate/_fading-exits/_fadeOutDown.scss +0 -20
- package/src/sass/animate/_fading-exits/_fadeOutDownBig.scss +0 -20
- package/src/sass/animate/_fading-exits/_fadeOutLeft.scss +0 -20
- package/src/sass/animate/_fading-exits/_fadeOutLeftBig.scss +0 -20
- package/src/sass/animate/_fading-exits/_fadeOutRight.scss +0 -20
- package/src/sass/animate/_fading-exits/_fadeOutRightBig.scss +0 -20
- package/src/sass/animate/_fading-exits/_fadeOutUp.scss +0 -20
- package/src/sass/animate/_fading-exits/_fadeOutUpBig.scss +0 -20
- package/src/sass/animate/_fading-exits/fading-exits.scss +0 -5
- package/src/sass/animate/_flippers/_flip.scss +0 -33
- package/src/sass/animate/_flippers/_flipInX.scss +0 -26
- package/src/sass/animate/_flippers/_flipInY.scss +0 -26
- package/src/sass/animate/_flippers/_flipOutX.scss +0 -20
- package/src/sass/animate/_flippers/_flipOutY.scss +0 -20
- package/src/sass/animate/_flippers/flippers.scss +0 -8
- package/src/sass/animate/_lightspeed/_lightSpeedIn.scss +0 -29
- package/src/sass/animate/_lightspeed/_lightSpeedOut.scss +0 -21
- package/src/sass/animate/_lightspeed/lightspeed.scss +0 -3
- package/src/sass/animate/_properties.scss +0 -119
- package/src/sass/animate/_rotating-entrances/_rotateIn.scss +0 -22
- package/src/sass/animate/_rotating-entrances/_rotateInDownLeft.scss +0 -22
- package/src/sass/animate/_rotating-entrances/_rotateInDownRight.scss +0 -22
- package/src/sass/animate/_rotating-entrances/_rotateInUpLeft.scss +0 -22
- package/src/sass/animate/_rotating-entrances/_rotateInUpRight.scss +0 -22
- package/src/sass/animate/_rotating-entrances/rotating-entrances.scss +0 -8
- package/src/sass/animate/_rotating-exits/_rotateOut.scss +0 -22
- package/src/sass/animate/_rotating-exits/_rotateOutDownLeft.scss +0 -22
- package/src/sass/animate/_rotating-exits/_rotateOutDownRight.scss +0 -22
- package/src/sass/animate/_rotating-exits/_rotateOutUpLeft.scss +0 -22
- package/src/sass/animate/_rotating-exits/_rotateOutUpRight.scss +0 -22
- package/src/sass/animate/_rotating-exits/rotating-exits.scss +0 -8
- package/src/sass/animate/_sliding-entrances/_slideInDown.scss +0 -19
- package/src/sass/animate/_sliding-entrances/_slideInLeft.scss +0 -19
- package/src/sass/animate/_sliding-entrances/_slideInRight.scss +0 -42
- package/src/sass/animate/_sliding-entrances/_slideInUp.scss +0 -19
- package/src/sass/animate/_sliding-entrances/sliding-entrances.scss +0 -7
- package/src/sass/animate/_sliding-exits/_slideOutDown.scss +0 -19
- package/src/sass/animate/_sliding-exits/_slideOutLeft.scss +0 -19
- package/src/sass/animate/_sliding-exits/_slideOutRight.scss +0 -19
- package/src/sass/animate/_sliding-exits/_slideOutUp.scss +0 -19
- package/src/sass/animate/_sliding-exits/sliding-exits.scss +0 -7
- package/src/sass/animate/_specials/_hinge.scss +0 -37
- package/src/sass/animate/_specials/_rollIn.scss +0 -20
- package/src/sass/animate/_specials/_rollOut.scss +0 -22
- package/src/sass/animate/_specials/specials.scss +0 -6
- package/src/sass/animate/_zooming-entrances/_zoomIn.scss +0 -19
- package/src/sass/animate/_zooming-entrances/_zoomInDown.scss +0 -22
- package/src/sass/animate/_zooming-entrances/_zoomInLeft.scss +0 -22
- package/src/sass/animate/_zooming-entrances/_zoomInRight.scss +0 -22
- package/src/sass/animate/_zooming-entrances/_zoomInUp.scss +0 -22
- package/src/sass/animate/_zooming-entrances/zooming-entrances.scss +0 -4
- package/src/sass/animate/_zooming-exits/_zoomOut.scss +0 -22
- package/src/sass/animate/_zooming-exits/_zoomOutDown.scss +0 -23
- package/src/sass/animate/_zooming-exits/_zoomOutLeft.scss +0 -21
- package/src/sass/animate/_zooming-exits/_zoomOutRight.scss +0 -21
- package/src/sass/animate/_zooming-exits/_zoomOutUp.scss +0 -23
- package/src/sass/animate/_zooming-exits/zooming-exits.scss +0 -4
- package/src/sass/animate/animate.css +0 -7497
- package/src/sass/animate/animate.css.map +0 -7
- package/src/sass/animate/animate.min.css +0 -2
- package/src/sass/animate/animate.min.css.map +0 -7
- package/src/sass/animate/animate.scss +0 -30
- package/src/sass/animate/bower.json +0 -22
- package/src/sass/bootstrap/_alerts.scss +0 -70
- package/src/sass/bootstrap/_badges.scss +0 -68
- package/src/sass/bootstrap/_breadcrumbs.scss +0 -26
- package/src/sass/bootstrap/_button-groups.scss +0 -243
- package/src/sass/bootstrap/_buttons.scss +0 -160
- package/src/sass/bootstrap/_carousel.scss +0 -269
- package/src/sass/bootstrap/_close.scss +0 -36
- package/src/sass/bootstrap/_code.scss +0 -69
- package/src/sass/bootstrap/_component-animations.scss +0 -37
- package/src/sass/bootstrap/_dropdowns.scss +0 -223
- package/src/sass/bootstrap/_forms.scss +0 -613
- package/src/sass/bootstrap/_grid.scss +0 -84
- package/src/sass/bootstrap/_input-groups.scss +0 -166
- package/src/sass/bootstrap/_jumbotron.scss +0 -50
- package/src/sass/bootstrap/_labels.scss +0 -66
- package/src/sass/bootstrap/_list-group.scss +0 -124
- package/src/sass/bootstrap/_media.scss +0 -61
- package/src/sass/bootstrap/_mixins.scss +0 -39
- package/src/sass/bootstrap/_modals.scss +0 -150
- package/src/sass/bootstrap/_navbar.scss +0 -647
- package/src/sass/bootstrap/_navs.scss +0 -243
- package/src/sass/bootstrap/_normalize.scss +0 -427
- package/src/sass/bootstrap/_pager.scss +0 -54
- package/src/sass/bootstrap/_pagination.scss +0 -88
- package/src/sass/bootstrap/_panels.scss +0 -265
- package/src/sass/bootstrap/_popovers.scss +0 -135
- package/src/sass/bootstrap/_print.scss +0 -107
- package/src/sass/bootstrap/_progress-bars.scss +0 -87
- package/src/sass/bootstrap/_responsive-embed.scss +0 -35
- package/src/sass/bootstrap/_responsive-utilities.scss +0 -177
- package/src/sass/bootstrap/_scaffolding.scss +0 -162
- package/src/sass/bootstrap/_tables.scss +0 -234
- package/src/sass/bootstrap/_theme.scss +0 -273
- package/src/sass/bootstrap/_thumbnails.scss +0 -38
- package/src/sass/bootstrap/_tooltip.scss +0 -102
- package/src/sass/bootstrap/_type.scss +0 -298
- package/src/sass/bootstrap/_utilities.scss +0 -55
- package/src/sass/bootstrap/_variables.scss +0 -866
- package/src/sass/bootstrap/_wells.scss +0 -29
- package/src/sass/bootstrap/float-label.scss +0 -70
- package/src/sass/bootstrap/mixins/_alerts.scss +0 -14
- package/src/sass/bootstrap/mixins/_background-variant.scss +0 -11
- package/src/sass/bootstrap/mixins/_border-radius.scss +0 -18
- package/src/sass/bootstrap/mixins/_buttons.scss +0 -52
- package/src/sass/bootstrap/mixins/_center-block.scss +0 -7
- package/src/sass/bootstrap/mixins/_clearfix.scss +0 -22
- package/src/sass/bootstrap/mixins/_forms.scss +0 -88
- package/src/sass/bootstrap/mixins/_gradients.scss +0 -58
- package/src/sass/bootstrap/mixins/_grid-framework.scss +0 -81
- package/src/sass/bootstrap/mixins/_grid.scss +0 -122
- package/src/sass/bootstrap/mixins/_hide-text.scss +0 -21
- package/src/sass/bootstrap/mixins/_image.scss +0 -33
- package/src/sass/bootstrap/mixins/_labels.scss +0 -12
- package/src/sass/bootstrap/mixins/_list-group.scss +0 -31
- package/src/sass/bootstrap/mixins/_nav-divider.scss +0 -10
- package/src/sass/bootstrap/mixins/_nav-vertical-align.scss +0 -9
- package/src/sass/bootstrap/mixins/_opacity.scss +0 -8
- package/src/sass/bootstrap/mixins/_pagination.scss +0 -23
- package/src/sass/bootstrap/mixins/_panels.scss +0 -24
- package/src/sass/bootstrap/mixins/_progress-bar.scss +0 -10
- package/src/sass/bootstrap/mixins/_reset-filter.scss +0 -8
- package/src/sass/bootstrap/mixins/_resize.scss +0 -6
- package/src/sass/bootstrap/mixins/_responsive-visibility.scss +0 -21
- package/src/sass/bootstrap/mixins/_size.scss +0 -10
- package/src/sass/bootstrap/mixins/_tab-focus.scss +0 -9
- package/src/sass/bootstrap/mixins/_table-row.scss +0 -28
- package/src/sass/bootstrap/mixins/_text-emphasis.scss +0 -11
- package/src/sass/bootstrap/mixins/_text-overflow.scss +0 -8
- package/src/sass/bootstrap/mixins/_vendor-prefixes.scss +0 -222
- package/src/sass/crn_app/_admin.admin.scss +0 -205
- package/src/sass/crn_app/_admin.graphs.scss +0 -51
- package/src/sass/crn_app/_admin.tools.scss +0 -24
- package/src/sass/crn_app/_api.scss +0 -65
- package/src/sass/crn_app/_bootstrap.overrides.scss +0 -54
- package/src/sass/crn_app/_colors.scss +0 -88
- package/src/sass/crn_app/_common.click-to-edit.scss +0 -187
- package/src/sass/crn_app/_common.modals.scss +0 -686
- package/src/sass/crn_app/_common.pagination.scss +0 -41
- package/src/sass/crn_app/_common.papaya.scss +0 -348
- package/src/sass/crn_app/_common.progress-bar.scss +0 -26
- package/src/sass/crn_app/_common.spinner.scss +0 -63
- package/src/sass/crn_app/_common.status.scss +0 -103
- package/src/sass/crn_app/_common.tooltip.scss +0 -22
- package/src/sass/crn_app/_common.typeahead.scss +0 -31
- package/src/sass/crn_app/_common.variables.scss +0 -16
- package/src/sass/crn_app/_dashboard.datasets.scss +0 -588
- package/src/sass/crn_app/_dataset.comments.scss +0 -201
- package/src/sass/crn_app/_dataset.dataset.scss +0 -161
- package/src/sass/crn_app/_dataset.file-tree.scss +0 -277
- package/src/sass/crn_app/_dataset.jobs.scss +0 -701
- package/src/sass/crn_app/_dataset.sidebar.scss +0 -265
- package/src/sass/crn_app/_dataset.tools.scss +0 -118
- package/src/sass/crn_app/_elements-wrappers.scss +0 -870
- package/src/sass/crn_app/_faq.scss +0 -37
- package/src/sass/crn_app/_frontPage.scss +0 -569
- package/src/sass/crn_app/_nav.navbar.scss +0 -387
- package/src/sass/crn_app/_theme.scss +0 -87
- package/src/sass/crn_app/_upload.upload.scss +0 -393
- package/src/sass/crn_app/_upload.validation.scss +0 -210
- package/src/sass/draft/draft.scss +0 -11
- package/src/sass/draft/rich-editor.scss +0 -73
- package/src/sass/font-awesome/_animated.scss +0 -34
- package/src/sass/font-awesome/_bordered-pulled.scss +0 -25
- package/src/sass/font-awesome/_core.scss +0 -12
- package/src/sass/font-awesome/_fixed-width.scss +0 -6
- package/src/sass/font-awesome/_font-awesome.scss +0 -17
- package/src/sass/font-awesome/_icons.scss +0 -697
- package/src/sass/font-awesome/_larger.scss +0 -13
- package/src/sass/font-awesome/_list.scss +0 -19
- package/src/sass/font-awesome/_mixins.scss +0 -26
- package/src/sass/font-awesome/_path.scss +0 -15
- package/src/sass/font-awesome/_rotated-flipped.scss +0 -20
- package/src/sass/font-awesome/_stacked.scss +0 -20
- package/src/sass/font-awesome/_variables.scss +0 -713
- package/src/sass/main.scss +0 -317
- package/src/sass/pre-refactor-with-wrapper-main.scss +0 -1549
- package/src/scripts/admin/__tests__/__snapshots__/exports.spec.jsx.snap +0 -112
- package/src/scripts/admin/__tests__/exports.spec.jsx +0 -15
- package/src/scripts/admin/__tests__/users.spec.jsx +0 -15
- package/src/scripts/admin/admin.jsx +0 -53
- package/src/scripts/admin/flagged-files.jsx +0 -178
- package/src/scripts/admin/user-fragment.ts +0 -14
- package/src/scripts/admin/user-tools.tsx +0 -83
- package/src/scripts/admin/users.jsx +0 -224
- package/src/scripts/authentication/admin-user.jsx +0 -23
- package/src/scripts/authentication/buttons.jsx +0 -26
- package/src/scripts/authentication/globus-button.jsx +0 -39
- package/src/scripts/authentication/google-button.jsx +0 -32
- package/src/scripts/authentication/logged-in.jsx +0 -12
- package/src/scripts/authentication/logged-out.jsx +0 -12
- package/src/scripts/authentication/loginCheck.js +0 -7
- package/src/scripts/authentication/orcid-button.jsx +0 -32
- package/src/scripts/authentication/withProfile.jsx +0 -22
- package/src/scripts/classic.tsx +0 -18
- package/src/scripts/common/forms/file-select.tsx +0 -71
- package/src/scripts/common/partials/__tests__/__snapshots__/footer.spec.jsx.snap +0 -42
- package/src/scripts/common/partials/__tests__/__snapshots__/metric.spec.jsx.snap +0 -101
- package/src/scripts/common/partials/__tests__/footer.spec.jsx +0 -10
- package/src/scripts/common/partials/__tests__/metric.spec.jsx +0 -31
- package/src/scripts/common/partials/footer.jsx +0 -40
- package/src/scripts/common/partials/login.jsx +0 -99
- package/src/scripts/common/partials/metric.jsx +0 -73
- package/src/scripts/common/partials/spinner.jsx +0 -34
- package/src/scripts/common/partials/status.jsx +0 -96
- package/src/scripts/common/partials/timeout.jsx +0 -47
- package/src/scripts/common/partials/tooltip.jsx +0 -36
- package/src/scripts/components/__tests__/dropdown-button.spec.tsx +0 -49
- package/src/scripts/components/dropdown-button.tsx +0 -42
- package/src/scripts/components/feature-toggle.tsx +0 -19
- package/src/scripts/components/panel-group.tsx +0 -24
- package/src/scripts/components/panel.tsx +0 -42
- package/src/scripts/datalad/__tests__/snapshotVersion.spec.js +0 -21
- package/src/scripts/datalad/comments/__tests__/comment-editor.spec.jsx +0 -19
- package/src/scripts/datalad/comments/block-style-controls.jsx +0 -46
- package/src/scripts/datalad/comments/comment-editor.jsx +0 -79
- package/src/scripts/datalad/comments/inline-style-controls.jsx +0 -34
- package/src/scripts/datalad/comments/style-button.jsx +0 -28
- package/src/scripts/datalad/dashboard/__tests__/__snapshots__/dashboard.spec.jsx.snap +0 -163
- package/src/scripts/datalad/dashboard/__tests__/dashboard.spec.jsx +0 -21
- package/src/scripts/datalad/dashboard/dashboard.jsx +0 -54
- package/src/scripts/datalad/dashboard/datasets/__tests__/__snapshots__/dataset-filter.spec.jsx.snap +0 -20
- package/src/scripts/datalad/dashboard/datasets/__tests__/__snapshots__/dataset-row-skeleton.spec.jsx.snap +0 -13
- package/src/scripts/datalad/dashboard/datasets/__tests__/__snapshots__/dataset-row.spec.jsx.snap +0 -65
- package/src/scripts/datalad/dashboard/datasets/__tests__/__snapshots__/dataset-sorter.spec.jsx.snap +0 -14
- package/src/scripts/datalad/dashboard/datasets/__tests__/__snapshots__/dataset-virtual-scroller.spec.jsx.snap +0 -17
- package/src/scripts/datalad/dashboard/datasets/__tests__/__snapshots__/uploaded.spec.jsx.snap +0 -27
- package/src/scripts/datalad/dashboard/datasets/__tests__/dataset-filter.spec.jsx +0 -67
- package/src/scripts/datalad/dashboard/datasets/__tests__/dataset-query.spec.jsx +0 -72
- package/src/scripts/datalad/dashboard/datasets/__tests__/dataset-row-skeleton.spec.jsx +0 -9
- package/src/scripts/datalad/dashboard/datasets/__tests__/dataset-row.spec.jsx +0 -53
- package/src/scripts/datalad/dashboard/datasets/__tests__/dataset-sorter.spec.jsx +0 -69
- package/src/scripts/datalad/dashboard/datasets/__tests__/dataset-virtual-scroller.spec.jsx +0 -65
- package/src/scripts/datalad/dashboard/datasets/__tests__/uploaded.spec.jsx +0 -17
- package/src/scripts/datalad/dashboard/datasets/dataset-filter.jsx +0 -78
- package/src/scripts/datalad/dashboard/datasets/dataset-query.jsx +0 -102
- package/src/scripts/datalad/dashboard/datasets/dataset-row-error-boundary.jsx +0 -52
- package/src/scripts/datalad/dashboard/datasets/dataset-row-skeleton.jsx +0 -10
- package/src/scripts/datalad/dashboard/datasets/dataset-row.jsx +0 -58
- package/src/scripts/datalad/dashboard/datasets/dataset-sorter.jsx +0 -148
- package/src/scripts/datalad/dashboard/datasets/dataset-statuses.jsx +0 -44
- package/src/scripts/datalad/dashboard/datasets/dataset-tab.jsx +0 -192
- package/src/scripts/datalad/dashboard/datasets/dataset-virtual-scroller.jsx +0 -126
- package/src/scripts/datalad/dashboard/datasets/row-height.jsx +0 -7
- package/src/scripts/datalad/dashboard/datasets/uploaded.jsx +0 -33
- package/src/scripts/datalad/dataset/__tests__/__snapshots__/comments.spec.jsx.snap +0 -137
- package/src/scripts/datalad/dataset/__tests__/__snapshots__/dataset-page.spec.jsx.snap +0 -69
- package/src/scripts/datalad/dataset/__tests__/__snapshots__/dataset-query.spec.jsx.snap +0 -15
- package/src/scripts/datalad/dataset/__tests__/__snapshots__/left-siderbar.spec.jsx.snap +0 -85
- package/src/scripts/datalad/dataset/__tests__/dataset-page.spec.jsx +0 -33
- package/src/scripts/datalad/dataset/__tests__/dataset-query.spec.jsx +0 -20
- package/src/scripts/datalad/dataset/__tests__/left-siderbar.spec.jsx +0 -106
- package/src/scripts/datalad/dataset/comment.jsx +0 -90
- package/src/scripts/datalad/dataset/comments.jsx +0 -83
- package/src/scripts/datalad/dataset/dataset-description.jsx +0 -111
- package/src/scripts/datalad/dataset/dataset-main.jsx +0 -29
- package/src/scripts/datalad/dataset/dataset-page.jsx +0 -63
- package/src/scripts/datalad/dataset/dataset-query.jsx +0 -192
- package/src/scripts/datalad/dataset/dataset.jsx +0 -22
- package/src/scripts/datalad/dataset/delete-page.tsx +0 -92
- package/src/scripts/datalad/dataset/left-sidebar.jsx +0 -109
- package/src/scripts/datalad/download/__tests__/__snapshots__/download-dataset.spec.jsx.snap +0 -7
- package/src/scripts/datalad/download/__tests__/__snapshots__/download-tool.spec.jsx.snap +0 -26
- package/src/scripts/datalad/download/__tests__/download-dataset.spec.jsx +0 -19
- package/src/scripts/datalad/download/__tests__/download-tool.spec.jsx +0 -19
- package/src/scripts/datalad/download/download-command-line.jsx +0 -43
- package/src/scripts/datalad/download/download-datalad.jsx +0 -58
- package/src/scripts/datalad/download/download-dataset.jsx +0 -61
- package/src/scripts/datalad/download/download-link.jsx +0 -41
- package/src/scripts/datalad/download/download-native.js +0 -118
- package/src/scripts/datalad/download/download-query.js +0 -22
- package/src/scripts/datalad/download/download-s3.jsx +0 -46
- package/src/scripts/datalad/download/download-tool.jsx +0 -44
- package/src/scripts/datalad/download/native-file-toast.jsx +0 -90
- package/src/scripts/datalad/download/shell-example.jsx +0 -9
- package/src/scripts/datalad/download/track-download.js +0 -15
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/cancel-button.spec.jsx.snap +0 -21
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/dataset-analytics.spec.jsx.snap +0 -41
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/dataset-authors.spec.jsx.snap +0 -13
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/dataset-readme.spec.jsx.snap +0 -49
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/dataset-title.spec.jsx.snap +0 -7
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/dataset-tools.spec.jsx.snap +0 -346
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/dataset-uploaded.spec.jsx.snap +0 -7
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/edit-button.spec.jsx.snap +0 -21
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/edit-list.spec.jsx.snap +0 -34
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/edit-readme.spec.jsx.snap +0 -3
- package/src/scripts/datalad/fragments/__tests__/__snapshots__/save-button.spec.jsx.snap +0 -21
- package/src/scripts/datalad/fragments/__tests__/dataset-analytics.spec.jsx +0 -16
- package/src/scripts/datalad/fragments/__tests__/dataset-authors.spec.jsx +0 -22
- package/src/scripts/datalad/fragments/__tests__/dataset-prominent-links.spec.jsx +0 -32
- package/src/scripts/datalad/fragments/__tests__/dataset-readme.spec.jsx +0 -10
- package/src/scripts/datalad/fragments/__tests__/dataset-summary.spec.jsx +0 -55
- package/src/scripts/datalad/fragments/__tests__/dataset-title.spec.jsx +0 -10
- package/src/scripts/datalad/fragments/__tests__/dataset-tools.spec.jsx +0 -55
- package/src/scripts/datalad/fragments/__tests__/dataset-uploaded.spec.jsx +0 -16
- package/src/scripts/datalad/fragments/__tests__/edit-list.spec.jsx +0 -25
- package/src/scripts/datalad/fragments/__tests__/edit-readme.spec.jsx +0 -10
- package/src/scripts/datalad/fragments/cancel-button.jsx +0 -24
- package/src/scripts/datalad/fragments/copyable-tooltip.jsx +0 -82
- package/src/scripts/datalad/fragments/dataset-analytics.jsx +0 -27
- package/src/scripts/datalad/fragments/dataset-authors.jsx +0 -16
- package/src/scripts/datalad/fragments/dataset-citation.jsx +0 -77
- package/src/scripts/datalad/fragments/dataset-files.jsx +0 -50
- package/src/scripts/datalad/fragments/dataset-git-access.jsx +0 -56
- package/src/scripts/datalad/fragments/dataset-git-hash.jsx +0 -27
- package/src/scripts/datalad/fragments/dataset-history.jsx +0 -95
- package/src/scripts/datalad/fragments/dataset-modified.jsx +0 -17
- package/src/scripts/datalad/fragments/dataset-prominent-links.jsx +0 -129
- package/src/scripts/datalad/fragments/dataset-readme.jsx +0 -42
- package/src/scripts/datalad/fragments/dataset-summary.jsx +0 -230
- package/src/scripts/datalad/fragments/dataset-title.jsx +0 -10
- package/src/scripts/datalad/fragments/dataset-tools.jsx +0 -190
- package/src/scripts/datalad/fragments/dataset-uploaded.jsx +0 -25
- package/src/scripts/datalad/fragments/edit-button.jsx +0 -24
- package/src/scripts/datalad/fragments/edit-description-field.jsx +0 -54
- package/src/scripts/datalad/fragments/edit-description-list.jsx +0 -49
- package/src/scripts/datalad/fragments/edit-list.jsx +0 -82
- package/src/scripts/datalad/fragments/edit-readme.jsx +0 -44
- package/src/scripts/datalad/fragments/incomplete-dataset.jsx +0 -23
- package/src/scripts/datalad/fragments/metadata-tool.jsx +0 -34
- package/src/scripts/datalad/fragments/number-input.tsx +0 -126
- package/src/scripts/datalad/fragments/save-button.jsx +0 -24
- package/src/scripts/datalad/fragments/select-input.tsx +0 -247
- package/src/scripts/datalad/fragments/share-dataset-button.jsx +0 -32
- package/src/scripts/datalad/fragments/text-array-input.tsx +0 -119
- package/src/scripts/datalad/fragments/text-input.tsx +0 -206
- package/src/scripts/datalad/mutations/__tests__/__snapshots__/comment.spec.jsx.snap +0 -5
- package/src/scripts/datalad/mutations/__tests__/__snapshots__/delete.spec.jsx.snap +0 -181
- package/src/scripts/datalad/mutations/__tests__/__snapshots__/manage-permissions.spec.jsx.snap +0 -361
- package/src/scripts/datalad/mutations/__tests__/__snapshots__/subscribe-to-newsletter.spec.jsx.snap +0 -83
- package/src/scripts/datalad/mutations/__tests__/__snapshots__/update-file.spec.jsx.snap +0 -25
- package/src/scripts/datalad/mutations/__tests__/__snapshots__/update-permissions.spec.jsx.snap +0 -361
- package/src/scripts/datalad/mutations/__tests__/comment.spec.jsx +0 -154
- package/src/scripts/datalad/mutations/__tests__/manage-permissions.spec.jsx +0 -21
- package/src/scripts/datalad/mutations/__tests__/subscribe-to-newsletter.spec.jsx +0 -10
- package/src/scripts/datalad/mutations/__tests__/update-file.spec.jsx +0 -15
- package/src/scripts/datalad/mutations/__tests__/update-permissions.spec.jsx +0 -21
- package/src/scripts/datalad/mutations/add-metadata.jsx +0 -164
- package/src/scripts/datalad/mutations/comment.jsx +0 -164
- package/src/scripts/datalad/mutations/delete-dataset-form.jsx +0 -82
- package/src/scripts/datalad/mutations/description.jsx +0 -129
- package/src/scripts/datalad/mutations/flag-annex-object.jsx +0 -62
- package/src/scripts/datalad/mutations/metadata-form.jsx +0 -388
- package/src/scripts/datalad/mutations/readme.jsx +0 -53
- package/src/scripts/datalad/mutations/remove-annex-object.jsx +0 -71
- package/src/scripts/datalad/mutations/subscribe-to-newsletter.jsx +0 -26
- package/src/scripts/datalad/mutations/update-file.jsx +0 -51
- package/src/scripts/datalad/routes/__tests__/__snapshots__/manage-permissions.spec.jsx.snap +0 -159
- package/src/scripts/datalad/routes/__tests__/__snapshots__/snapshot.spec.jsx.snap +0 -31
- package/src/scripts/datalad/routes/__tests__/dataset-content.spec.jsx +0 -108
- package/src/scripts/datalad/routes/__tests__/file-display.spec.jsx +0 -22
- package/src/scripts/datalad/routes/__tests__/manage-permissions.spec.jsx +0 -101
- package/src/scripts/datalad/routes/__tests__/snapshot.spec.jsx +0 -49
- package/src/scripts/datalad/routes/admin-datalad.jsx +0 -45
- package/src/scripts/datalad/routes/admin-exports.jsx +0 -125
- package/src/scripts/datalad/routes/dataset-content.jsx +0 -198
- package/src/scripts/datalad/routes/dataset-routes.jsx +0 -162
- package/src/scripts/datalad/routes/file-display.jsx +0 -84
- package/src/scripts/datalad/routes/manage-permissions.jsx +0 -128
- package/src/scripts/datalad/routes/snapshot-content.jsx +0 -135
- package/src/scripts/datalad/routes/snapshot.jsx +0 -131
- package/src/scripts/datalad/snapshotVersion.js +0 -7
- package/src/scripts/datalad/validation/validation-panel.jsx +0 -48
- package/src/scripts/datalad/validation/validation-status.jsx +0 -120
- package/src/scripts/datalad/validation/validation.jsx +0 -40
- package/src/scripts/dataset/dataset.metrics.jsx +0 -61
- package/src/scripts/file-tree/__tests__/__snapshots__/file-tree-unloaded-directory.spec.jsx.snap +0 -26
- package/src/scripts/file-tree/__tests__/__snapshots__/file-tree.spec.jsx.snap +0 -18
- package/src/scripts/file-tree/__tests__/__snapshots__/file.spec.jsx.snap +0 -81
- package/src/scripts/file-tree/__tests__/file-tree-loading.spec.jsx +0 -18
- package/src/scripts/file-tree/__tests__/file-tree-unloaded-directory.spec.jsx +0 -74
- package/src/scripts/file-tree/__tests__/file-tree.spec.jsx +0 -94
- package/src/scripts/file-tree/__tests__/file-viewer-type.spec.jsx +0 -15
- package/src/scripts/file-tree/__tests__/file.spec.jsx +0 -44
- package/src/scripts/file-tree/__tests__/flat-to-tree.spec.js +0 -55
- package/src/scripts/file-tree/file-tree-loading.jsx +0 -64
- package/src/scripts/file-tree/file-tree-unloaded-directory.jsx +0 -108
- package/src/scripts/file-tree/file-tree.jsx +0 -133
- package/src/scripts/file-tree/file-view.jsx +0 -31
- package/src/scripts/file-tree/file-viewer-type.jsx +0 -45
- package/src/scripts/file-tree/file.jsx +0 -123
- package/src/scripts/file-tree/files.jsx +0 -126
- package/src/scripts/file-tree/flat-to-tree.js +0 -49
- package/src/scripts/file-tree/viewers/__tests__/__snapshots__/file-viewer-json.spec.jsx.snap +0 -51
- package/src/scripts/file-tree/viewers/__tests__/file-viewer-json.spec.jsx +0 -15
- package/src/scripts/file-tree/viewers/__tests__/parse-tabular.spec.js +0 -24
- package/src/scripts/file-tree/viewers/file-viewer-csv.jsx +0 -16
- package/src/scripts/file-tree/viewers/file-viewer-html.jsx +0 -20
- package/src/scripts/file-tree/viewers/file-viewer-json.jsx +0 -50
- package/src/scripts/file-tree/viewers/file-viewer-nifti.jsx +0 -11
- package/src/scripts/file-tree/viewers/file-viewer-table.jsx +0 -34
- package/src/scripts/file-tree/viewers/file-viewer-text.jsx +0 -13
- package/src/scripts/file-tree/viewers/file-viewer-tsv.jsx +0 -16
- package/src/scripts/file-tree/viewers/parse-tabular.js +0 -18
- package/src/scripts/front-page/__tests__/__snapshots__/email-subscription-box.spec.jsx.snap +0 -190
- package/src/scripts/front-page/__tests__/__snapshots__/front-page-stats.spec.jsx.snap +0 -29
- package/src/scripts/front-page/__tests__/__snapshots__/front-page-top-datasets.spec.jsx.snap +0 -464
- package/src/scripts/front-page/__tests__/dataset-count.spec.jsx +0 -33
- package/src/scripts/front-page/__tests__/email-subscription-box.spec.jsx +0 -57
- package/src/scripts/front-page/__tests__/front-page-stats.spec.jsx +0 -10
- package/src/scripts/front-page/__tests__/front-page-top-datasets.spec.jsx +0 -27
- package/src/scripts/front-page/__tests__/participant-count.spec.jsx +0 -31
- package/src/scripts/front-page/dataset-count.jsx +0 -29
- package/src/scripts/front-page/email-subscription-box.jsx +0 -131
- package/src/scripts/front-page/front-page-additional-info.jsx +0 -15
- package/src/scripts/front-page/front-page-collaborators.jsx +0 -117
- package/src/scripts/front-page/front-page-stats.jsx +0 -71
- package/src/scripts/front-page/front-page-support.jsx +0 -30
- package/src/scripts/front-page/front-page-tabs.jsx +0 -166
- package/src/scripts/front-page/front-page-top-datasets.jsx +0 -203
- package/src/scripts/front-page/front-page.jsx +0 -95
- package/src/scripts/front-page/participant-count.jsx +0 -25
- package/src/scripts/hooks/use-measure.js +0 -15
- package/src/scripts/hooks/use-previous.js +0 -7
- package/src/scripts/index.jsx +0 -16
- package/src/scripts/nav/assets/brand_mark.png +0 -0
- package/src/scripts/nav/assets/favicon-upload.png +0 -0
- package/src/scripts/nav/assets/logo_app.png +0 -0
- package/src/scripts/nav/navbar.jsx +0 -144
- package/src/scripts/nav/navbar.navmenu.jsx +0 -106
- package/src/scripts/nav/navbar.usermenu.jsx +0 -52
- package/src/scripts/pages/citation-page.jsx +0 -43
- package/src/scripts/pet/__tests__/__snapshots__/dummy.spec.jsx.snap +0 -70
- package/src/scripts/pet/__tests__/dummy.spec.jsx +0 -10
- package/src/scripts/pet/dummy.jsx +0 -61
- package/src/scripts/refactor_2021/dataset/dataset-pre-refactor-container.tsx +0 -12
- package/src/scripts/refactor_2021/dataset/routes/download-dataset.jsx +0 -70
- package/src/scripts/refactor_2021/redesign-form.jsx +0 -427
- package/src/scripts/routes.tsx +0 -36
- package/src/scripts/search/search-input.tsx +0 -42
- package/src/scripts/search/search-results.tsx +0 -114
- package/src/scripts/styles/capitalized.jsx +0 -6
- package/src/scripts/styles/uppercase.jsx +0 -6
- package/src/scripts/uploader/__tests__/add-path-to-files.spec.js +0 -29
- package/src/scripts/uploader/__tests__/file-upload.spec.js +0 -116
- package/src/scripts/uploader/__tests__/upload-disclaimer.spec.jsx +0 -67
- package/src/scripts/uploader/__tests__/upload-mutation.spec.js +0 -57
- package/src/scripts/uploader/__tests__/uploader.spec.js +0 -31
- package/src/scripts/uploader/add-path-to-files.js +0 -19
- package/src/scripts/uploader/file-upload.js +0 -88
- package/src/scripts/uploader/upload-button.jsx +0 -18
- package/src/scripts/uploader/upload-disclaimer.jsx +0 -91
- package/src/scripts/uploader/upload-file-status.jsx +0 -20
- package/src/scripts/uploader/upload-issues.jsx +0 -131
- package/src/scripts/uploader/upload-metadata.jsx +0 -59
- package/src/scripts/uploader/upload-mutation.js +0 -111
- package/src/scripts/uploader/upload-progress-button.jsx +0 -20
- package/src/scripts/uploader/upload-progress-class.js +0 -36
- package/src/scripts/uploader/upload-progress.jsx +0 -15
- package/src/scripts/uploader/upload-rename.jsx +0 -33
- package/src/scripts/uploader/upload-resume.jsx +0 -35
- package/src/scripts/uploader/upload-select.jsx +0 -29
- package/src/scripts/uploader/upload-status.jsx +0 -23
- package/src/scripts/uploader/upload-step.jsx +0 -48
- package/src/scripts/uploader/uploader-context.js +0 -6
- package/src/scripts/uploader/uploader-location.js +0 -5
- package/src/scripts/uploader/uploader-modal.jsx +0 -27
- package/src/scripts/uploader/uploader-setup-routes.jsx +0 -52
- package/src/scripts/uploader/uploader-status-routes.jsx +0 -30
- package/src/scripts/uploader/uploader-view.jsx +0 -45
- package/src/scripts/uploader/uploader.jsx +0 -388
- package/src/scripts/user/__mocks__/user.store.js +0 -1
- package/src/scripts/user/api.jsx +0 -132
- package/src/scripts/user/avatar.jsx +0 -40
- package/src/scripts/utils/crn.js +0 -15
- package/src/scripts/utils/request.js +0 -107
- package/src/scripts/utils/user.js +0 -18
- package/src/scripts/validation/validation-results.issues.issue.jsx +0 -90
- package/src/scripts/validation/validation-results.issues.jsx +0 -79
- package/src/scripts/validation/validation-results.jsx +0 -96
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Button groups
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
// Make the div behave like a button
|
|
6
|
-
.btn-group,
|
|
7
|
-
.btn-group-vertical {
|
|
8
|
-
position: relative;
|
|
9
|
-
display: inline-block;
|
|
10
|
-
vertical-align: middle; // match .btn alignment given font-size hack above
|
|
11
|
-
> .btn {
|
|
12
|
-
position: relative;
|
|
13
|
-
float: left;
|
|
14
|
-
// Bring the "active" button to the front
|
|
15
|
-
&:hover,
|
|
16
|
-
&:focus,
|
|
17
|
-
&:active,
|
|
18
|
-
&.active {
|
|
19
|
-
z-index: 2;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Prevent double borders when buttons are next to each other
|
|
25
|
-
.btn-group {
|
|
26
|
-
.btn + .btn,
|
|
27
|
-
.btn + .btn-group,
|
|
28
|
-
.btn-group + .btn,
|
|
29
|
-
.btn-group + .btn-group {
|
|
30
|
-
margin-left: -1px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// Optional: Group multiple button groups together for a toolbar
|
|
35
|
-
.btn-toolbar {
|
|
36
|
-
margin-left: -5px; // Offset the first child's margin
|
|
37
|
-
@include clearfix;
|
|
38
|
-
|
|
39
|
-
.btn-group,
|
|
40
|
-
.input-group {
|
|
41
|
-
float: left;
|
|
42
|
-
}
|
|
43
|
-
> .btn,
|
|
44
|
-
> .btn-group,
|
|
45
|
-
> .input-group {
|
|
46
|
-
margin-left: 5px;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
|
51
|
-
border-radius: 0;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
|
55
|
-
.btn-group > .btn:first-child {
|
|
56
|
-
margin-left: 0;
|
|
57
|
-
&:not(:last-child):not(.dropdown-toggle) {
|
|
58
|
-
@include border-right-radius(0);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
|
62
|
-
.btn-group > .btn:last-child:not(:first-child),
|
|
63
|
-
.btn-group > .dropdown-toggle:not(:first-child) {
|
|
64
|
-
@include border-left-radius(0);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
|
|
68
|
-
.btn-group > .btn-group {
|
|
69
|
-
float: left;
|
|
70
|
-
}
|
|
71
|
-
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
|
72
|
-
border-radius: 0;
|
|
73
|
-
}
|
|
74
|
-
.btn-group > .btn-group:first-child:not(:last-child) {
|
|
75
|
-
> .btn:last-child,
|
|
76
|
-
> .dropdown-toggle {
|
|
77
|
-
@include border-right-radius(0);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
|
81
|
-
@include border-left-radius(0);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// On active and open, don't show outline
|
|
85
|
-
.btn-group .dropdown-toggle:active,
|
|
86
|
-
.btn-group.open .dropdown-toggle {
|
|
87
|
-
outline: 0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
// Sizing
|
|
92
|
-
//
|
|
93
|
-
// Remix the default button sizing classes into new ones for easier manipulation.
|
|
94
|
-
|
|
95
|
-
.btn-group-xs > .btn { @extend .btn-xs; }
|
|
96
|
-
.btn-group-sm > .btn { @extend .btn-sm; }
|
|
97
|
-
.btn-group-lg > .btn { @extend .btn-lg; }
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
// Split button dropdowns
|
|
101
|
-
// ----------------------
|
|
102
|
-
|
|
103
|
-
// Give the line between buttons some depth
|
|
104
|
-
.btn-group > .btn + .dropdown-toggle {
|
|
105
|
-
padding-left: 8px;
|
|
106
|
-
padding-right: 8px;
|
|
107
|
-
}
|
|
108
|
-
.btn-group > .btn-lg + .dropdown-toggle {
|
|
109
|
-
padding-left: 12px;
|
|
110
|
-
padding-right: 12px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// The clickable button for toggling the menu
|
|
114
|
-
// Remove the gradient and set the same inset shadow as the :active state
|
|
115
|
-
.btn-group.open .dropdown-toggle {
|
|
116
|
-
@include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
|
117
|
-
|
|
118
|
-
// Show no shadow for `.btn-link` since it has no other button styles.
|
|
119
|
-
&.btn-link {
|
|
120
|
-
@include box-shadow(none);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
// Reposition the caret
|
|
126
|
-
.btn .caret {
|
|
127
|
-
margin-left: 0;
|
|
128
|
-
}
|
|
129
|
-
// Carets in other button sizes
|
|
130
|
-
.btn-lg .caret {
|
|
131
|
-
border-width: $caret-width-large $caret-width-large 0;
|
|
132
|
-
border-bottom-width: 0;
|
|
133
|
-
}
|
|
134
|
-
// Upside down carets for .dropup
|
|
135
|
-
.dropup .btn-lg .caret {
|
|
136
|
-
border-width: 0 $caret-width-large $caret-width-large;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
// Vertical button groups
|
|
141
|
-
// ----------------------
|
|
142
|
-
|
|
143
|
-
.btn-group-vertical {
|
|
144
|
-
> .btn,
|
|
145
|
-
> .btn-group,
|
|
146
|
-
> .btn-group > .btn {
|
|
147
|
-
display: block;
|
|
148
|
-
float: none;
|
|
149
|
-
width: 100%;
|
|
150
|
-
max-width: 100%;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// Clear floats so dropdown menus can be properly placed
|
|
154
|
-
> .btn-group {
|
|
155
|
-
@include clearfix;
|
|
156
|
-
> .btn {
|
|
157
|
-
float: none;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
> .btn + .btn,
|
|
162
|
-
> .btn + .btn-group,
|
|
163
|
-
> .btn-group + .btn,
|
|
164
|
-
> .btn-group + .btn-group {
|
|
165
|
-
margin-top: -1px;
|
|
166
|
-
margin-left: 0;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.btn-group-vertical > .btn {
|
|
171
|
-
&:not(:first-child):not(:last-child) {
|
|
172
|
-
border-radius: 0;
|
|
173
|
-
}
|
|
174
|
-
&:first-child:not(:last-child) {
|
|
175
|
-
border-top-right-radius: $border-radius-base;
|
|
176
|
-
@include border-bottom-radius(0);
|
|
177
|
-
}
|
|
178
|
-
&:last-child:not(:first-child) {
|
|
179
|
-
border-bottom-left-radius: $border-radius-base;
|
|
180
|
-
@include border-top-radius(0);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
|
184
|
-
border-radius: 0;
|
|
185
|
-
}
|
|
186
|
-
.btn-group-vertical > .btn-group:first-child:not(:last-child) {
|
|
187
|
-
> .btn:last-child,
|
|
188
|
-
> .dropdown-toggle {
|
|
189
|
-
@include border-bottom-radius(0);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
|
193
|
-
@include border-top-radius(0);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
// Justified button groups
|
|
198
|
-
// ----------------------
|
|
199
|
-
|
|
200
|
-
.btn-group-justified {
|
|
201
|
-
display: table;
|
|
202
|
-
width: 100%;
|
|
203
|
-
table-layout: fixed;
|
|
204
|
-
border-collapse: separate;
|
|
205
|
-
> .btn,
|
|
206
|
-
> .btn-group {
|
|
207
|
-
float: none;
|
|
208
|
-
display: table-cell;
|
|
209
|
-
width: 1%;
|
|
210
|
-
}
|
|
211
|
-
> .btn-group .btn {
|
|
212
|
-
width: 100%;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
> .btn-group .dropdown-menu {
|
|
216
|
-
left: auto;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
// Checkbox and radio options
|
|
222
|
-
//
|
|
223
|
-
// In order to support the browser's form validation feedback, powered by the
|
|
224
|
-
// `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
|
|
225
|
-
// `display: none;` or `visibility: hidden;` as that also hides the popover.
|
|
226
|
-
// Simply visually hiding the inputs via `opacity` would leave them clickable in
|
|
227
|
-
// certain cases which is prevented by using `clip` and `pointer-events`.
|
|
228
|
-
// This way, we ensure a DOM element is visible to position the popover from.
|
|
229
|
-
//
|
|
230
|
-
// See https://github.com/twbs/bootstrap/pull/12794 and
|
|
231
|
-
// https://github.com/twbs/bootstrap/pull/14559 for more information.
|
|
232
|
-
|
|
233
|
-
[data-toggle="buttons"] {
|
|
234
|
-
> .btn,
|
|
235
|
-
> .btn-group > .btn {
|
|
236
|
-
input[type="radio"],
|
|
237
|
-
input[type="checkbox"] {
|
|
238
|
-
position: absolute;
|
|
239
|
-
clip: rect(0,0,0,0);
|
|
240
|
-
pointer-events: none;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Buttons
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Base styles
|
|
7
|
-
// --------------------------------------------------
|
|
8
|
-
|
|
9
|
-
.btn {
|
|
10
|
-
display: inline-block;
|
|
11
|
-
margin-bottom: 0; // For input.btn
|
|
12
|
-
font-weight: $btn-font-weight;
|
|
13
|
-
text-align: center;
|
|
14
|
-
vertical-align: middle;
|
|
15
|
-
touch-action: manipulation;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
|
18
|
-
border: 1px solid transparent;
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
@include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $border-radius-base);
|
|
21
|
-
@include user-select(none);
|
|
22
|
-
|
|
23
|
-
&,
|
|
24
|
-
&:active,
|
|
25
|
-
&.active {
|
|
26
|
-
&:focus,
|
|
27
|
-
&.focus {
|
|
28
|
-
@include tab-focus;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:hover,
|
|
33
|
-
&:focus,
|
|
34
|
-
&.focus {
|
|
35
|
-
color: $btn-default-color;
|
|
36
|
-
text-decoration: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&:active,
|
|
40
|
-
&.active {
|
|
41
|
-
outline: 0;
|
|
42
|
-
background-image: none;
|
|
43
|
-
@include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.disabled,
|
|
47
|
-
&[disabled],
|
|
48
|
-
fieldset[disabled] & {
|
|
49
|
-
cursor: $cursor-disabled;
|
|
50
|
-
pointer-events: none; // Future-proof disabling of clicks
|
|
51
|
-
@include opacity(.65);
|
|
52
|
-
@include box-shadow(none);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
// Alternate buttons
|
|
58
|
-
// --------------------------------------------------
|
|
59
|
-
|
|
60
|
-
.btn-default {
|
|
61
|
-
@include button-variant($btn-default-color, $btn-default-bg, $btn-default-border);
|
|
62
|
-
}
|
|
63
|
-
.btn-primary {
|
|
64
|
-
@include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
|
|
65
|
-
}
|
|
66
|
-
// Success appears as green
|
|
67
|
-
.btn-success {
|
|
68
|
-
@include button-variant($btn-success-color, $btn-success-bg, $btn-success-border);
|
|
69
|
-
}
|
|
70
|
-
// Info appears as blue-green
|
|
71
|
-
.btn-info {
|
|
72
|
-
@include button-variant($btn-info-color, $btn-info-bg, $btn-info-border);
|
|
73
|
-
}
|
|
74
|
-
// Warning appears as orange
|
|
75
|
-
.btn-warning {
|
|
76
|
-
@include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border);
|
|
77
|
-
}
|
|
78
|
-
// Danger and error appear as red
|
|
79
|
-
.btn-danger {
|
|
80
|
-
@include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// Link buttons
|
|
85
|
-
// -------------------------
|
|
86
|
-
|
|
87
|
-
// Make a button look and behave like a link
|
|
88
|
-
.btn-link {
|
|
89
|
-
color: $link-color;
|
|
90
|
-
font-weight: normal;
|
|
91
|
-
border-radius: 0;
|
|
92
|
-
|
|
93
|
-
&,
|
|
94
|
-
&:active,
|
|
95
|
-
&.active,
|
|
96
|
-
&[disabled],
|
|
97
|
-
fieldset[disabled] & {
|
|
98
|
-
background-color: transparent;
|
|
99
|
-
@include box-shadow(none);
|
|
100
|
-
}
|
|
101
|
-
&,
|
|
102
|
-
&:hover,
|
|
103
|
-
&:focus,
|
|
104
|
-
&:active {
|
|
105
|
-
border-color: transparent;
|
|
106
|
-
}
|
|
107
|
-
&:hover,
|
|
108
|
-
&:focus {
|
|
109
|
-
color: $link-hover-color;
|
|
110
|
-
text-decoration: $link-hover-decoration;
|
|
111
|
-
background-color: transparent;
|
|
112
|
-
}
|
|
113
|
-
&[disabled],
|
|
114
|
-
fieldset[disabled] & {
|
|
115
|
-
&:hover,
|
|
116
|
-
&:focus {
|
|
117
|
-
color: $btn-link-disabled-color;
|
|
118
|
-
text-decoration: none;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
// Button Sizes
|
|
125
|
-
// --------------------------------------------------
|
|
126
|
-
|
|
127
|
-
.btn-lg {
|
|
128
|
-
// line-height: ensure even-numbered height of button next to large input
|
|
129
|
-
@include button-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large);
|
|
130
|
-
}
|
|
131
|
-
.btn-sm {
|
|
132
|
-
// line-height: ensure proper height of button next to small input
|
|
133
|
-
@include button-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small);
|
|
134
|
-
}
|
|
135
|
-
.btn-xs {
|
|
136
|
-
@include button-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $border-radius-small);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
// Block button
|
|
141
|
-
// --------------------------------------------------
|
|
142
|
-
|
|
143
|
-
.btn-block {
|
|
144
|
-
display: block;
|
|
145
|
-
width: 100%;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// Vertically space out multiple block buttons
|
|
149
|
-
.btn-block + .btn-block {
|
|
150
|
-
margin-top: 5px;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// Specificity overrides
|
|
154
|
-
input[type="submit"],
|
|
155
|
-
input[type="reset"],
|
|
156
|
-
input[type="button"] {
|
|
157
|
-
&.btn-block {
|
|
158
|
-
width: 100%;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Carousel
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Wrapper for the slide container and indicators
|
|
7
|
-
.carousel {
|
|
8
|
-
position: relative;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.carousel-inner {
|
|
12
|
-
position: relative;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
width: 100%;
|
|
15
|
-
|
|
16
|
-
> .item {
|
|
17
|
-
display: none;
|
|
18
|
-
position: relative;
|
|
19
|
-
@include transition(.6s ease-in-out left);
|
|
20
|
-
|
|
21
|
-
// Account for jankitude on images
|
|
22
|
-
> img,
|
|
23
|
-
> a > img {
|
|
24
|
-
@include img-responsive;
|
|
25
|
-
line-height: 1;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// WebKit CSS3 transforms for supported devices
|
|
29
|
-
@media all and (transform-3d), (-webkit-transform-3d) {
|
|
30
|
-
@include transition-transform(0.6s ease-in-out);
|
|
31
|
-
@include backface-visibility(hidden);
|
|
32
|
-
@include perspective(1000);
|
|
33
|
-
|
|
34
|
-
&.next,
|
|
35
|
-
&.active.right {
|
|
36
|
-
@include translate3d(100%, 0, 0);
|
|
37
|
-
left: 0;
|
|
38
|
-
}
|
|
39
|
-
&.prev,
|
|
40
|
-
&.active.left {
|
|
41
|
-
@include translate3d(-100%, 0, 0);
|
|
42
|
-
left: 0;
|
|
43
|
-
}
|
|
44
|
-
&.next.left,
|
|
45
|
-
&.prev.right,
|
|
46
|
-
&.active {
|
|
47
|
-
@include translate3d(0, 0, 0);
|
|
48
|
-
left: 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
> .active,
|
|
54
|
-
> .next,
|
|
55
|
-
> .prev {
|
|
56
|
-
display: block;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
> .active {
|
|
60
|
-
left: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
> .next,
|
|
64
|
-
> .prev {
|
|
65
|
-
position: absolute;
|
|
66
|
-
top: 0;
|
|
67
|
-
width: 100%;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
> .next {
|
|
71
|
-
left: 100%;
|
|
72
|
-
}
|
|
73
|
-
> .prev {
|
|
74
|
-
left: -100%;
|
|
75
|
-
}
|
|
76
|
-
> .next.left,
|
|
77
|
-
> .prev.right {
|
|
78
|
-
left: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
> .active.left {
|
|
82
|
-
left: -100%;
|
|
83
|
-
}
|
|
84
|
-
> .active.right {
|
|
85
|
-
left: 100%;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Left/right controls for nav
|
|
91
|
-
// ---------------------------
|
|
92
|
-
|
|
93
|
-
.carousel-control {
|
|
94
|
-
position: absolute;
|
|
95
|
-
top: 0;
|
|
96
|
-
left: 0;
|
|
97
|
-
bottom: 0;
|
|
98
|
-
width: $carousel-control-width;
|
|
99
|
-
@include opacity($carousel-control-opacity);
|
|
100
|
-
font-size: $carousel-control-font-size;
|
|
101
|
-
color: $carousel-control-color;
|
|
102
|
-
text-align: center;
|
|
103
|
-
text-shadow: $carousel-text-shadow;
|
|
104
|
-
// We can't have this transition here because WebKit cancels the carousel
|
|
105
|
-
// animation if you trip this while in the middle of another animation.
|
|
106
|
-
|
|
107
|
-
// Set gradients for backgrounds
|
|
108
|
-
&.left {
|
|
109
|
-
@include gradient-horizontal($start-color: rgba(0,0,0,.5), $end-color: rgba(0,0,0,.0001));
|
|
110
|
-
}
|
|
111
|
-
&.right {
|
|
112
|
-
left: auto;
|
|
113
|
-
right: 0;
|
|
114
|
-
@include gradient-horizontal($start-color: rgba(0,0,0,.0001), $end-color: rgba(0,0,0,.5));
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// Hover/focus state
|
|
118
|
-
&:hover,
|
|
119
|
-
&:focus {
|
|
120
|
-
outline: 0;
|
|
121
|
-
color: $carousel-control-color;
|
|
122
|
-
text-decoration: none;
|
|
123
|
-
@include opacity(.9);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Toggles
|
|
127
|
-
.icon-prev,
|
|
128
|
-
.icon-next,
|
|
129
|
-
.glyphicon-chevron-left,
|
|
130
|
-
.glyphicon-chevron-right {
|
|
131
|
-
position: absolute;
|
|
132
|
-
top: 50%;
|
|
133
|
-
z-index: 5;
|
|
134
|
-
display: inline-block;
|
|
135
|
-
}
|
|
136
|
-
.icon-prev,
|
|
137
|
-
.glyphicon-chevron-left {
|
|
138
|
-
left: 50%;
|
|
139
|
-
margin-left: -10px;
|
|
140
|
-
}
|
|
141
|
-
.icon-next,
|
|
142
|
-
.glyphicon-chevron-right {
|
|
143
|
-
right: 50%;
|
|
144
|
-
margin-right: -10px;
|
|
145
|
-
}
|
|
146
|
-
.icon-prev,
|
|
147
|
-
.icon-next {
|
|
148
|
-
width: 20px;
|
|
149
|
-
height: 20px;
|
|
150
|
-
margin-top: -10px;
|
|
151
|
-
line-height: 1;
|
|
152
|
-
font-family: serif;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
.icon-prev {
|
|
157
|
-
&:before {
|
|
158
|
-
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
.icon-next {
|
|
162
|
-
&:before {
|
|
163
|
-
content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
// Optional indicator pips
|
|
169
|
-
//
|
|
170
|
-
// Add an unordered list with the following class and add a list item for each
|
|
171
|
-
// slide your carousel holds.
|
|
172
|
-
|
|
173
|
-
.carousel-indicators {
|
|
174
|
-
position: absolute;
|
|
175
|
-
bottom: 10px;
|
|
176
|
-
left: 50%;
|
|
177
|
-
z-index: 15;
|
|
178
|
-
width: 60%;
|
|
179
|
-
margin-left: -30%;
|
|
180
|
-
padding-left: 0;
|
|
181
|
-
list-style: none;
|
|
182
|
-
text-align: center;
|
|
183
|
-
|
|
184
|
-
li {
|
|
185
|
-
display: inline-block;
|
|
186
|
-
width: 10px;
|
|
187
|
-
height: 10px;
|
|
188
|
-
margin: 1px;
|
|
189
|
-
text-indent: -999px;
|
|
190
|
-
border: 1px solid $carousel-indicator-border-color;
|
|
191
|
-
border-radius: 10px;
|
|
192
|
-
cursor: pointer;
|
|
193
|
-
|
|
194
|
-
// IE8-9 hack for event handling
|
|
195
|
-
//
|
|
196
|
-
// Internet Explorer 8-9 does not support clicks on elements without a set
|
|
197
|
-
// `background-color`. We cannot use `filter` since that's not viewed as a
|
|
198
|
-
// background color by the browser. Thus, a hack is needed.
|
|
199
|
-
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer
|
|
200
|
-
//
|
|
201
|
-
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
|
|
202
|
-
// set alpha transparency for the best results possible.
|
|
203
|
-
background-color: #000 \9; // IE8
|
|
204
|
-
background-color: rgba(0,0,0,0); // IE9
|
|
205
|
-
}
|
|
206
|
-
.active {
|
|
207
|
-
margin: 0;
|
|
208
|
-
width: 12px;
|
|
209
|
-
height: 12px;
|
|
210
|
-
background-color: $carousel-indicator-active-bg;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
// Optional captions
|
|
215
|
-
// -----------------------------
|
|
216
|
-
// Hidden by default for smaller viewports
|
|
217
|
-
.carousel-caption {
|
|
218
|
-
position: absolute;
|
|
219
|
-
left: 15%;
|
|
220
|
-
right: 15%;
|
|
221
|
-
bottom: 20px;
|
|
222
|
-
z-index: 10;
|
|
223
|
-
padding-top: 20px;
|
|
224
|
-
padding-bottom: 20px;
|
|
225
|
-
color: $carousel-caption-color;
|
|
226
|
-
text-align: center;
|
|
227
|
-
text-shadow: $carousel-text-shadow;
|
|
228
|
-
& .btn {
|
|
229
|
-
text-shadow: none; // No shadow for button elements in carousel-caption
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
// Scale up controls for tablets and up
|
|
235
|
-
@media screen and (min-width: $screen-sm-min) {
|
|
236
|
-
|
|
237
|
-
// Scale up the controls a smidge
|
|
238
|
-
.carousel-control {
|
|
239
|
-
.glyphicon-chevron-left,
|
|
240
|
-
.glyphicon-chevron-right,
|
|
241
|
-
.icon-prev,
|
|
242
|
-
.icon-next {
|
|
243
|
-
width: 30px;
|
|
244
|
-
height: 30px;
|
|
245
|
-
margin-top: -15px;
|
|
246
|
-
font-size: 30px;
|
|
247
|
-
}
|
|
248
|
-
.glyphicon-chevron-left,
|
|
249
|
-
.icon-prev {
|
|
250
|
-
margin-left: -15px;
|
|
251
|
-
}
|
|
252
|
-
.glyphicon-chevron-right,
|
|
253
|
-
.icon-next {
|
|
254
|
-
margin-right: -15px;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
// Show and left align the captions
|
|
259
|
-
.carousel-caption {
|
|
260
|
-
left: 20%;
|
|
261
|
-
right: 20%;
|
|
262
|
-
padding-bottom: 30px;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
// Move up the indicators
|
|
266
|
-
.carousel-indicators {
|
|
267
|
-
bottom: 20px;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Close icons
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
.close {
|
|
7
|
-
float: right;
|
|
8
|
-
font-size: ($font-size-base * 1.5);
|
|
9
|
-
font-weight: $close-font-weight;
|
|
10
|
-
line-height: 1;
|
|
11
|
-
color: $close-color;
|
|
12
|
-
text-shadow: $close-text-shadow;
|
|
13
|
-
@include opacity(.2);
|
|
14
|
-
|
|
15
|
-
&:hover,
|
|
16
|
-
&:focus {
|
|
17
|
-
color: $close-color;
|
|
18
|
-
text-decoration: none;
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
@include opacity(.5);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// [converter] extracted button& to button.close
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Additional properties for button version
|
|
27
|
-
// iOS requires the button element instead of an anchor tag.
|
|
28
|
-
// If you want the anchor version, it requires `href="#"`.
|
|
29
|
-
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
|
30
|
-
button.close {
|
|
31
|
-
padding: 0;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
background: transparent;
|
|
34
|
-
border: 0;
|
|
35
|
-
-webkit-appearance: none;
|
|
36
|
-
}
|