@openneuro/app 4.2.0 → 4.2.4
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/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/{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/{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/draft-container.tsx +11 -22
- 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/update-file.jsx +2 -2
- package/src/scripts/refactor_2021/dataset/snapshot-container.tsx +4 -8
- package/src/scripts/refactor_2021/routes.tsx +1 -1
- package/src/scripts/refactor_2021/search/initial-search-params.tsx +7 -7
- 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/search-container.tsx +2 -2
- package/src/scripts/refactor_2021/search/search-params-ctx.tsx +3 -3
- package/src/scripts/refactor_2021/search/use-search-results.tsx +3 -3
- package/src/scripts/refactor_2021/user/api.jsx +11 -6
- 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/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/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/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 -92
- 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,273 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//
|
|
3
|
-
// Load core variables and mixins
|
|
4
|
-
// --------------------------------------------------
|
|
5
|
-
|
|
6
|
-
@import "variables";
|
|
7
|
-
@import "mixins";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
//
|
|
11
|
-
// Buttons
|
|
12
|
-
// --------------------------------------------------
|
|
13
|
-
|
|
14
|
-
// Common styles
|
|
15
|
-
.btn-default,
|
|
16
|
-
.btn-primary,
|
|
17
|
-
.btn-success,
|
|
18
|
-
.btn-info,
|
|
19
|
-
.btn-warning,
|
|
20
|
-
.btn-danger {
|
|
21
|
-
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
|
|
22
|
-
$shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
|
|
23
|
-
@include box-shadow($shadow);
|
|
24
|
-
|
|
25
|
-
// Reset the shadow
|
|
26
|
-
&:active,
|
|
27
|
-
&.active {
|
|
28
|
-
@include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.badge {
|
|
32
|
-
text-shadow: none;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Mixin for generating new styles
|
|
37
|
-
@mixin btn-styles($btn-color: #555) {
|
|
38
|
-
@include gradient-vertical($start-color: $btn-color, $end-color: darken($btn-color, 12%));
|
|
39
|
-
@include reset-filter; // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620
|
|
40
|
-
background-repeat: repeat-x;
|
|
41
|
-
border-color: darken($btn-color, 14%);
|
|
42
|
-
|
|
43
|
-
&:hover,
|
|
44
|
-
&:focus {
|
|
45
|
-
background-color: darken($btn-color, 12%);
|
|
46
|
-
background-position: 0 -15px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&:active,
|
|
50
|
-
&.active {
|
|
51
|
-
background-color: darken($btn-color, 12%);
|
|
52
|
-
border-color: darken($btn-color, 14%);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.disabled,
|
|
56
|
-
&:disabled,
|
|
57
|
-
&[disabled] {
|
|
58
|
-
background-color: darken($btn-color, 12%);
|
|
59
|
-
background-image: none;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Common styles
|
|
64
|
-
.btn {
|
|
65
|
-
// Remove the gradient for the pressed/active state
|
|
66
|
-
&:active,
|
|
67
|
-
&.active {
|
|
68
|
-
background-image: none;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Apply the mixin to the buttons
|
|
73
|
-
.btn-default { @include btn-styles($btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }
|
|
74
|
-
.btn-primary { @include btn-styles($btn-primary-bg); }
|
|
75
|
-
.btn-success { @include btn-styles($btn-success-bg); }
|
|
76
|
-
.btn-info { @include btn-styles($btn-info-bg); }
|
|
77
|
-
.btn-warning { @include btn-styles($btn-warning-bg); }
|
|
78
|
-
.btn-danger { @include btn-styles($btn-danger-bg); }
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
//
|
|
82
|
-
// Images
|
|
83
|
-
// --------------------------------------------------
|
|
84
|
-
|
|
85
|
-
.thumbnail,
|
|
86
|
-
.img-thumbnail {
|
|
87
|
-
@include box-shadow(0 1px 2px rgba(0,0,0,.075));
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
//
|
|
92
|
-
// Dropdowns
|
|
93
|
-
// --------------------------------------------------
|
|
94
|
-
|
|
95
|
-
.dropdown-menu > li > a:hover,
|
|
96
|
-
.dropdown-menu > li > a:focus {
|
|
97
|
-
@include gradient-vertical($start-color: $dropdown-link-hover-bg, $end-color: darken($dropdown-link-hover-bg, 5%));
|
|
98
|
-
background-color: darken($dropdown-link-hover-bg, 5%);
|
|
99
|
-
}
|
|
100
|
-
.dropdown-menu > .active > a,
|
|
101
|
-
.dropdown-menu > .active > a:hover,
|
|
102
|
-
.dropdown-menu > .active > a:focus {
|
|
103
|
-
@include gradient-vertical($start-color: $dropdown-link-active-bg, $end-color: darken($dropdown-link-active-bg, 5%));
|
|
104
|
-
background-color: darken($dropdown-link-active-bg, 5%);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
//
|
|
109
|
-
// Navbar
|
|
110
|
-
// --------------------------------------------------
|
|
111
|
-
|
|
112
|
-
// Default navbar
|
|
113
|
-
.navbar-default {
|
|
114
|
-
@include gradient-vertical($start-color: lighten($navbar-default-bg, 10%), $end-color: $navbar-default-bg);
|
|
115
|
-
@include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
|
116
|
-
border-radius: $navbar-border-radius;
|
|
117
|
-
$shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
|
|
118
|
-
@include box-shadow($shadow);
|
|
119
|
-
|
|
120
|
-
.navbar-nav > .open > a,
|
|
121
|
-
.navbar-nav > .active > a {
|
|
122
|
-
@include gradient-vertical($start-color: darken($navbar-default-link-active-bg, 5%), $end-color: darken($navbar-default-link-active-bg, 2%));
|
|
123
|
-
@include box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
.navbar-brand,
|
|
127
|
-
.navbar-nav > li > a {
|
|
128
|
-
text-shadow: 0 1px 0 rgba(255,255,255,.25);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// Inverted navbar
|
|
132
|
-
.navbar-inverse {
|
|
133
|
-
@include gradient-vertical($start-color: lighten($navbar-inverse-bg, 10%), $end-color: $navbar-inverse-bg);
|
|
134
|
-
@include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257
|
|
135
|
-
|
|
136
|
-
.navbar-nav > .open > a,
|
|
137
|
-
.navbar-nav > .active > a {
|
|
138
|
-
@include gradient-vertical($start-color: $navbar-inverse-link-active-bg, $end-color: lighten($navbar-inverse-link-active-bg, 2.5%));
|
|
139
|
-
@include box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.navbar-brand,
|
|
143
|
-
.navbar-nav > li > a {
|
|
144
|
-
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// Undo rounded corners in static and fixed navbars
|
|
149
|
-
.navbar-static-top,
|
|
150
|
-
.navbar-fixed-top,
|
|
151
|
-
.navbar-fixed-bottom {
|
|
152
|
-
border-radius: 0;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
// Fix active state of dropdown items in collapsed mode
|
|
156
|
-
@media (max-width: $grid-float-breakpoint-max) {
|
|
157
|
-
.navbar .navbar-nav .open .dropdown-menu > .active > a {
|
|
158
|
-
&,
|
|
159
|
-
&:hover,
|
|
160
|
-
&:focus {
|
|
161
|
-
color: #fff;
|
|
162
|
-
@include gradient-vertical($start-color: $dropdown-link-active-bg, $end-color: darken($dropdown-link-active-bg, 5%));
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
//
|
|
169
|
-
// Alerts
|
|
170
|
-
// --------------------------------------------------
|
|
171
|
-
|
|
172
|
-
// Common styles
|
|
173
|
-
.alert {
|
|
174
|
-
text-shadow: 0 1px 0 rgba(255,255,255,.2);
|
|
175
|
-
$shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);
|
|
176
|
-
@include box-shadow($shadow);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
// Mixin for generating new styles
|
|
180
|
-
@mixin alert-styles($color) {
|
|
181
|
-
@include gradient-vertical($start-color: $color, $end-color: darken($color, 7.5%));
|
|
182
|
-
border-color: darken($color, 15%);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
// Apply the mixin to the alerts
|
|
186
|
-
.alert-success { @include alert-styles($alert-success-bg); }
|
|
187
|
-
.alert-info { @include alert-styles($alert-info-bg); }
|
|
188
|
-
.alert-warning { @include alert-styles($alert-warning-bg); }
|
|
189
|
-
.alert-danger { @include alert-styles($alert-danger-bg); }
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
//
|
|
193
|
-
// Progress bars
|
|
194
|
-
// --------------------------------------------------
|
|
195
|
-
|
|
196
|
-
// Give the progress background some depth
|
|
197
|
-
.progress {
|
|
198
|
-
@include gradient-vertical($start-color: darken($progress-bg, 4%), $end-color: $progress-bg)
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
// Mixin for generating new styles
|
|
202
|
-
@mixin progress-bar-styles($color) {
|
|
203
|
-
@include gradient-vertical($start-color: $color, $end-color: darken($color, 10%));
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
// Apply the mixin to the progress bars
|
|
207
|
-
.progress-bar { @include progress-bar-styles($progress-bar-bg); }
|
|
208
|
-
.progress-bar-success { @include progress-bar-styles($progress-bar-success-bg); }
|
|
209
|
-
.progress-bar-info { @include progress-bar-styles($progress-bar-info-bg); }
|
|
210
|
-
.progress-bar-warning { @include progress-bar-styles($progress-bar-warning-bg); }
|
|
211
|
-
.progress-bar-danger { @include progress-bar-styles($progress-bar-danger-bg); }
|
|
212
|
-
|
|
213
|
-
// Reset the striped class because our mixins don't do multiple gradients and
|
|
214
|
-
// the above custom styles override the new `.progress-bar-striped` in v3.2.0.
|
|
215
|
-
.progress-bar-striped {
|
|
216
|
-
@include gradient-striped;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
//
|
|
221
|
-
// List groups
|
|
222
|
-
// --------------------------------------------------
|
|
223
|
-
|
|
224
|
-
.list-group {
|
|
225
|
-
border-radius: $border-radius-base;
|
|
226
|
-
@include box-shadow(0 1px 2px rgba(0,0,0,.075));
|
|
227
|
-
}
|
|
228
|
-
.list-group-item.active,
|
|
229
|
-
.list-group-item.active:hover,
|
|
230
|
-
.list-group-item.active:focus {
|
|
231
|
-
text-shadow: 0 -1px 0 darken($list-group-active-bg, 10%);
|
|
232
|
-
@include gradient-vertical($start-color: $list-group-active-bg, $end-color: darken($list-group-active-bg, 7.5%));
|
|
233
|
-
border-color: darken($list-group-active-border, 7.5%);
|
|
234
|
-
|
|
235
|
-
.badge {
|
|
236
|
-
text-shadow: none;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
//
|
|
242
|
-
// Panels
|
|
243
|
-
// --------------------------------------------------
|
|
244
|
-
|
|
245
|
-
// Common styles
|
|
246
|
-
.panel {
|
|
247
|
-
@include box-shadow(0 1px 2px rgba(0,0,0,.05));
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
// Mixin for generating new styles
|
|
251
|
-
@mixin panel-heading-styles($color) {
|
|
252
|
-
@include gradient-vertical($start-color: $color, $end-color: darken($color, 5%));
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
// Apply the mixin to the panel headings only
|
|
256
|
-
.panel-default > .panel-heading { @include panel-heading-styles($panel-default-heading-bg); }
|
|
257
|
-
.panel-primary > .panel-heading { @include panel-heading-styles($panel-primary-heading-bg); }
|
|
258
|
-
.panel-success > .panel-heading { @include panel-heading-styles($panel-success-heading-bg); }
|
|
259
|
-
.panel-info > .panel-heading { @include panel-heading-styles($panel-info-heading-bg); }
|
|
260
|
-
.panel-warning > .panel-heading { @include panel-heading-styles($panel-warning-heading-bg); }
|
|
261
|
-
.panel-danger > .panel-heading { @include panel-heading-styles($panel-danger-heading-bg); }
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
//
|
|
265
|
-
// Wells
|
|
266
|
-
// --------------------------------------------------
|
|
267
|
-
|
|
268
|
-
.well {
|
|
269
|
-
@include gradient-vertical($start-color: darken($well-bg, 5%), $end-color: $well-bg);
|
|
270
|
-
border-color: darken($well-bg, 10%);
|
|
271
|
-
$shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
|
|
272
|
-
@include box-shadow($shadow);
|
|
273
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Thumbnails
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Mixin and adjust the regular image class
|
|
7
|
-
.thumbnail {
|
|
8
|
-
display: block;
|
|
9
|
-
padding: $thumbnail-padding;
|
|
10
|
-
margin-bottom: $line-height-computed;
|
|
11
|
-
line-height: $line-height-base;
|
|
12
|
-
background-color: $thumbnail-bg;
|
|
13
|
-
border: 1px solid $thumbnail-border;
|
|
14
|
-
border-radius: $thumbnail-border-radius;
|
|
15
|
-
@include transition(border .2s ease-in-out);
|
|
16
|
-
|
|
17
|
-
> img,
|
|
18
|
-
a > img {
|
|
19
|
-
@include img-responsive;
|
|
20
|
-
margin-left: auto;
|
|
21
|
-
margin-right: auto;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// [converter] extracted a&:hover, a&:focus, a&.active to a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active
|
|
25
|
-
|
|
26
|
-
// Image captions
|
|
27
|
-
.caption {
|
|
28
|
-
padding: $thumbnail-caption-padding;
|
|
29
|
-
color: $thumbnail-caption-color;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// Add a hover state for linked versions only
|
|
34
|
-
a.thumbnail:hover,
|
|
35
|
-
a.thumbnail:focus,
|
|
36
|
-
a.thumbnail.active {
|
|
37
|
-
border-color: $link-color;
|
|
38
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Tooltips
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Base class
|
|
7
|
-
.tooltip {
|
|
8
|
-
position: absolute;
|
|
9
|
-
z-index: $zindex-tooltip;
|
|
10
|
-
display: block;
|
|
11
|
-
// Reset font and text properties given new insertion method
|
|
12
|
-
font-family: $font-family-base;
|
|
13
|
-
font-size: $font-size-small;
|
|
14
|
-
font-weight: normal;
|
|
15
|
-
line-height: 1.4;
|
|
16
|
-
@include opacity(0);
|
|
17
|
-
|
|
18
|
-
&.in { @include opacity($tooltip-opacity); }
|
|
19
|
-
&.top { margin-top: -3px; padding: $tooltip-arrow-width 0; }
|
|
20
|
-
&.right { margin-left: 3px; padding: 0 $tooltip-arrow-width; }
|
|
21
|
-
&.bottom { margin-top: 3px; padding: $tooltip-arrow-width 0; }
|
|
22
|
-
&.left { margin-left: -3px; padding: 0 $tooltip-arrow-width; }
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Wrapper for the tooltip content
|
|
26
|
-
.tooltip-inner {
|
|
27
|
-
max-width: $tooltip-max-width;
|
|
28
|
-
padding: 3px 8px;
|
|
29
|
-
color: $tooltip-color;
|
|
30
|
-
text-align: center;
|
|
31
|
-
text-decoration: none;
|
|
32
|
-
background-color: $tooltip-bg;
|
|
33
|
-
border-radius: $border-radius-base;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Arrows
|
|
37
|
-
.tooltip-arrow {
|
|
38
|
-
position: absolute;
|
|
39
|
-
width: 0;
|
|
40
|
-
height: 0;
|
|
41
|
-
border-color: transparent;
|
|
42
|
-
border-style: solid;
|
|
43
|
-
}
|
|
44
|
-
// Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
|
|
45
|
-
.tooltip {
|
|
46
|
-
&.top .tooltip-arrow {
|
|
47
|
-
bottom: 0;
|
|
48
|
-
left: 50%;
|
|
49
|
-
margin-left: -$tooltip-arrow-width;
|
|
50
|
-
border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
|
|
51
|
-
border-top-color: $tooltip-arrow-color;
|
|
52
|
-
}
|
|
53
|
-
&.top-left .tooltip-arrow {
|
|
54
|
-
bottom: 0;
|
|
55
|
-
right: $tooltip-arrow-width;
|
|
56
|
-
margin-bottom: -$tooltip-arrow-width;
|
|
57
|
-
border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
|
|
58
|
-
border-top-color: $tooltip-arrow-color;
|
|
59
|
-
}
|
|
60
|
-
&.top-right .tooltip-arrow {
|
|
61
|
-
bottom: 0;
|
|
62
|
-
left: $tooltip-arrow-width;
|
|
63
|
-
margin-bottom: -$tooltip-arrow-width;
|
|
64
|
-
border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
|
|
65
|
-
border-top-color: $tooltip-arrow-color;
|
|
66
|
-
}
|
|
67
|
-
&.right .tooltip-arrow {
|
|
68
|
-
top: 50%;
|
|
69
|
-
left: 0;
|
|
70
|
-
margin-top: -$tooltip-arrow-width;
|
|
71
|
-
border-width: $tooltip-arrow-width $tooltip-arrow-width $tooltip-arrow-width 0;
|
|
72
|
-
border-right-color: $tooltip-arrow-color;
|
|
73
|
-
}
|
|
74
|
-
&.left .tooltip-arrow {
|
|
75
|
-
top: 50%;
|
|
76
|
-
right: 0;
|
|
77
|
-
margin-top: -$tooltip-arrow-width;
|
|
78
|
-
border-width: $tooltip-arrow-width 0 $tooltip-arrow-width $tooltip-arrow-width;
|
|
79
|
-
border-left-color: $tooltip-arrow-color;
|
|
80
|
-
}
|
|
81
|
-
&.bottom .tooltip-arrow {
|
|
82
|
-
top: 0;
|
|
83
|
-
left: 50%;
|
|
84
|
-
margin-left: -$tooltip-arrow-width;
|
|
85
|
-
border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
|
|
86
|
-
border-bottom-color: $tooltip-arrow-color;
|
|
87
|
-
}
|
|
88
|
-
&.bottom-left .tooltip-arrow {
|
|
89
|
-
top: 0;
|
|
90
|
-
right: $tooltip-arrow-width;
|
|
91
|
-
margin-top: -$tooltip-arrow-width;
|
|
92
|
-
border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
|
|
93
|
-
border-bottom-color: $tooltip-arrow-color;
|
|
94
|
-
}
|
|
95
|
-
&.bottom-right .tooltip-arrow {
|
|
96
|
-
top: 0;
|
|
97
|
-
left: $tooltip-arrow-width;
|
|
98
|
-
margin-top: -$tooltip-arrow-width;
|
|
99
|
-
border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
|
|
100
|
-
border-bottom-color: $tooltip-arrow-color;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Typography
|
|
3
|
-
// --------------------------------------------------
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// Headings
|
|
7
|
-
// -------------------------
|
|
8
|
-
|
|
9
|
-
h1, h2, h3, h4, h5, h6,
|
|
10
|
-
.h1, .h2, .h3, .h4, .h5, .h6 {
|
|
11
|
-
font-family: $headings-font-family;
|
|
12
|
-
font-weight: $headings-font-weight;
|
|
13
|
-
line-height: $headings-line-height;
|
|
14
|
-
color: $headings-color;
|
|
15
|
-
|
|
16
|
-
small,
|
|
17
|
-
.small {
|
|
18
|
-
font-weight: normal;
|
|
19
|
-
line-height: 1;
|
|
20
|
-
color: $headings-small-color;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
h1, .h1,
|
|
25
|
-
h2, .h2,
|
|
26
|
-
h3, .h3 {
|
|
27
|
-
margin-top: $line-height-computed;
|
|
28
|
-
margin-bottom: ($line-height-computed / 2);
|
|
29
|
-
|
|
30
|
-
small,
|
|
31
|
-
.small {
|
|
32
|
-
font-size: 65%;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
h4, .h4,
|
|
36
|
-
h5, .h5,
|
|
37
|
-
h6, .h6 {
|
|
38
|
-
margin-top: ($line-height-computed / 2);
|
|
39
|
-
margin-bottom: ($line-height-computed / 2);
|
|
40
|
-
|
|
41
|
-
small,
|
|
42
|
-
.small {
|
|
43
|
-
font-size: 75%;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
h1, .h1 { font-size: $font-size-h1; }
|
|
48
|
-
h2, .h2 { font-size: $font-size-h2; }
|
|
49
|
-
h3, .h3 { font-size: $font-size-h3; }
|
|
50
|
-
h4, .h4 { font-size: $font-size-h4; }
|
|
51
|
-
h5, .h5 { font-size: $font-size-h5; }
|
|
52
|
-
h6, .h6 { font-size: $font-size-h6; }
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
// Body text
|
|
56
|
-
// -------------------------
|
|
57
|
-
|
|
58
|
-
p {
|
|
59
|
-
margin: 0 0 ($line-height-computed / 2);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.lead {
|
|
63
|
-
margin-bottom: $line-height-computed;
|
|
64
|
-
font-size: floor(($font-size-base * 1.15));
|
|
65
|
-
font-weight: 300;
|
|
66
|
-
line-height: 1.4;
|
|
67
|
-
|
|
68
|
-
@media (min-width: $screen-sm-min) {
|
|
69
|
-
font-size: ($font-size-base * 1.5);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// Emphasis & misc
|
|
75
|
-
// -------------------------
|
|
76
|
-
|
|
77
|
-
// Ex: (12px small font / 14px base font) * 100% = about 85%
|
|
78
|
-
small,
|
|
79
|
-
.small {
|
|
80
|
-
font-size: floor((100% * $font-size-small / $font-size-base));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
mark,
|
|
84
|
-
.mark {
|
|
85
|
-
background-color: $state-warning-bg;
|
|
86
|
-
padding: .2em;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Alignment
|
|
90
|
-
.text-left { text-align: left; }
|
|
91
|
-
.text-right { text-align: right; }
|
|
92
|
-
.text-center { text-align: center; }
|
|
93
|
-
.text-justify { text-align: justify; }
|
|
94
|
-
.text-nowrap { white-space: nowrap; }
|
|
95
|
-
|
|
96
|
-
// Transformation
|
|
97
|
-
.text-lowercase { text-transform: lowercase; }
|
|
98
|
-
.text-uppercase { text-transform: uppercase; }
|
|
99
|
-
.text-capitalize { text-transform: capitalize; }
|
|
100
|
-
|
|
101
|
-
// Contextual colors
|
|
102
|
-
.text-muted {
|
|
103
|
-
color: $text-muted;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@include text-emphasis-variant('.text-primary', $brand-primary);
|
|
107
|
-
|
|
108
|
-
@include text-emphasis-variant('.text-success', $state-success-text);
|
|
109
|
-
|
|
110
|
-
@include text-emphasis-variant('.text-info', $state-info-text);
|
|
111
|
-
|
|
112
|
-
@include text-emphasis-variant('.text-warning', $state-warning-text);
|
|
113
|
-
|
|
114
|
-
@include text-emphasis-variant('.text-danger', $state-danger-text);
|
|
115
|
-
|
|
116
|
-
// Contextual backgrounds
|
|
117
|
-
// For now we'll leave these alongside the text classes until v4 when we can
|
|
118
|
-
// safely shift things around (per SemVer rules).
|
|
119
|
-
.bg-primary {
|
|
120
|
-
// Given the contrast here, this is the only class to have its color inverted
|
|
121
|
-
// automatically.
|
|
122
|
-
color: #fff;
|
|
123
|
-
}
|
|
124
|
-
@include bg-variant('.bg-primary', $brand-primary);
|
|
125
|
-
|
|
126
|
-
@include bg-variant('.bg-success', $state-success-bg);
|
|
127
|
-
|
|
128
|
-
@include bg-variant('.bg-info', $state-info-bg);
|
|
129
|
-
|
|
130
|
-
@include bg-variant('.bg-warning', $state-warning-bg);
|
|
131
|
-
|
|
132
|
-
@include bg-variant('.bg-danger', $state-danger-bg);
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
// Page header
|
|
136
|
-
// -------------------------
|
|
137
|
-
|
|
138
|
-
.page-header {
|
|
139
|
-
padding-bottom: (($line-height-computed / 2) - 1);
|
|
140
|
-
margin: ($line-height-computed * 2) 0 $line-height-computed;
|
|
141
|
-
border-bottom: 1px solid $page-header-border-color;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
// Lists
|
|
146
|
-
// -------------------------
|
|
147
|
-
|
|
148
|
-
// Unordered and Ordered lists
|
|
149
|
-
ul,
|
|
150
|
-
ol {
|
|
151
|
-
margin-top: 0;
|
|
152
|
-
margin-bottom: ($line-height-computed / 2);
|
|
153
|
-
ul,
|
|
154
|
-
ol {
|
|
155
|
-
margin-bottom: 0;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// List options
|
|
160
|
-
|
|
161
|
-
// [converter] extracted from `.list-unstyled` for libsass compatibility
|
|
162
|
-
@mixin list-unstyled {
|
|
163
|
-
padding-left: 0;
|
|
164
|
-
list-style: none;
|
|
165
|
-
}
|
|
166
|
-
// [converter] extracted as `@mixin list-unstyled` for libsass compatibility
|
|
167
|
-
.list-unstyled {
|
|
168
|
-
@include list-unstyled;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
// Inline turns list items into inline-block
|
|
173
|
-
.list-inline {
|
|
174
|
-
@include list-unstyled;
|
|
175
|
-
margin-left: -5px;
|
|
176
|
-
|
|
177
|
-
> li {
|
|
178
|
-
display: inline-block;
|
|
179
|
-
padding-left: 5px;
|
|
180
|
-
padding-right: 5px;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
// Description Lists
|
|
185
|
-
dl {
|
|
186
|
-
margin-top: 0; // Remove browser default
|
|
187
|
-
margin-bottom: $line-height-computed;
|
|
188
|
-
}
|
|
189
|
-
dt,
|
|
190
|
-
dd {
|
|
191
|
-
line-height: $line-height-base;
|
|
192
|
-
}
|
|
193
|
-
dt {
|
|
194
|
-
font-weight: bold;
|
|
195
|
-
}
|
|
196
|
-
dd {
|
|
197
|
-
margin-left: 0; // Undo browser default
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
// Horizontal description lists
|
|
201
|
-
//
|
|
202
|
-
// Defaults to being stacked without any of the below styles applied, until the
|
|
203
|
-
// grid breakpoint is reached (default of ~768px).
|
|
204
|
-
|
|
205
|
-
.dl-horizontal {
|
|
206
|
-
dd {
|
|
207
|
-
@include clearfix; // Clear the floated `dt` if an empty `dd` is present
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
@media (min-width: $grid-float-breakpoint) {
|
|
211
|
-
dt {
|
|
212
|
-
float: left;
|
|
213
|
-
width: ($dl-horizontal-offset - 20);
|
|
214
|
-
clear: left;
|
|
215
|
-
text-align: right;
|
|
216
|
-
@include text-overflow;
|
|
217
|
-
}
|
|
218
|
-
dd {
|
|
219
|
-
margin-left: $dl-horizontal-offset;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
// Misc
|
|
226
|
-
// -------------------------
|
|
227
|
-
|
|
228
|
-
// Abbreviations and acronyms
|
|
229
|
-
abbr[title],
|
|
230
|
-
// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
|
|
231
|
-
abbr[data-original-title] {
|
|
232
|
-
cursor: help;
|
|
233
|
-
border-bottom: 1px dotted $abbr-border-color;
|
|
234
|
-
}
|
|
235
|
-
.initialism {
|
|
236
|
-
font-size: 90%;
|
|
237
|
-
@extend .text-uppercase;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
// Blockquotes
|
|
241
|
-
blockquote {
|
|
242
|
-
padding: ($line-height-computed / 2) $line-height-computed;
|
|
243
|
-
margin: 0 0 $line-height-computed;
|
|
244
|
-
font-size: $blockquote-font-size;
|
|
245
|
-
border-left: 5px solid $blockquote-border-color;
|
|
246
|
-
|
|
247
|
-
p,
|
|
248
|
-
ul,
|
|
249
|
-
ol {
|
|
250
|
-
&:last-child {
|
|
251
|
-
margin-bottom: 0;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
// Note: Deprecated small and .small as of v3.1.0
|
|
256
|
-
// Context: https://github.com/twbs/bootstrap/issues/11660
|
|
257
|
-
footer,
|
|
258
|
-
small,
|
|
259
|
-
.small {
|
|
260
|
-
display: block;
|
|
261
|
-
font-size: 80%; // back to default font-size
|
|
262
|
-
line-height: $line-height-base;
|
|
263
|
-
color: $blockquote-small-color;
|
|
264
|
-
|
|
265
|
-
&:before {
|
|
266
|
-
content: '\2014 \00A0'; // em dash, nbsp
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
// Opposite alignment of blockquote
|
|
272
|
-
//
|
|
273
|
-
// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.
|
|
274
|
-
.blockquote-reverse,
|
|
275
|
-
blockquote.pull-right {
|
|
276
|
-
padding-right: 15px;
|
|
277
|
-
padding-left: 0;
|
|
278
|
-
border-right: 5px solid $blockquote-border-color;
|
|
279
|
-
border-left: 0;
|
|
280
|
-
text-align: right;
|
|
281
|
-
|
|
282
|
-
// Account for citation
|
|
283
|
-
footer,
|
|
284
|
-
small,
|
|
285
|
-
.small {
|
|
286
|
-
&:before { content: ''; }
|
|
287
|
-
&:after {
|
|
288
|
-
content: '\00A0 \2014'; // nbsp, em dash
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
// Addresses
|
|
294
|
-
address {
|
|
295
|
-
margin-bottom: $line-height-computed;
|
|
296
|
-
font-style: normal;
|
|
297
|
-
line-height: $line-height-base;
|
|
298
|
-
}
|