From 3ea39841c8049525e31e9f4d6300f0c60cdb42de Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 24 Jan 2023 13:33:51 +0100 Subject: Adding upstream version 5.2.3+dfsg. Signed-off-by: Daniel Baumann --- site/content/404.md | 13 + site/content/docs/5.2/_index.html | 5 + site/content/docs/5.2/about/brand.md | 47 + site/content/docs/5.2/about/license.md | 34 + site/content/docs/5.2/about/overview.md | 29 + site/content/docs/5.2/about/team.md | 23 + site/content/docs/5.2/about/translations.md | 20 + site/content/docs/5.2/components/accordion.md | 165 ++ site/content/docs/5.2/components/alerts.md | 257 ++++ site/content/docs/5.2/components/badge.md | 103 ++ site/content/docs/5.2/components/breadcrumb.md | 111 ++ site/content/docs/5.2/components/button-group.md | 256 ++++ site/content/docs/5.2/components/buttons.md | 242 +++ site/content/docs/5.2/components/card.md | 739 +++++++++ site/content/docs/5.2/components/carousel.md | 385 +++++ site/content/docs/5.2/components/close-button.md | 38 + site/content/docs/5.2/components/collapse.md | 198 +++ site/content/docs/5.2/components/dropdowns.md | 1124 ++++++++++++++ site/content/docs/5.2/components/list-group.md | 494 ++++++ site/content/docs/5.2/components/modal.md | 888 +++++++++++ site/content/docs/5.2/components/navbar.md | 813 ++++++++++ site/content/docs/5.2/components/navs-tabs.md | 671 ++++++++ site/content/docs/5.2/components/offcanvas.md | 353 +++++ site/content/docs/5.2/components/pagination.md | 177 +++ site/content/docs/5.2/components/placeholders.md | 145 ++ site/content/docs/5.2/components/popovers.md | 284 ++++ site/content/docs/5.2/components/progress.md | 154 ++ site/content/docs/5.2/components/scrollspy.md | 427 ++++++ site/content/docs/5.2/components/spinners.md | 213 +++ site/content/docs/5.2/components/toasts.md | 401 +++++ site/content/docs/5.2/components/tooltips.md | 301 ++++ site/content/docs/5.2/content/figures.md | 33 + site/content/docs/5.2/content/images.md | 63 + site/content/docs/5.2/content/reboot.md | 446 ++++++ site/content/docs/5.2/content/tables.md | 835 ++++++++++ site/content/docs/5.2/content/typography.md | 286 ++++ site/content/docs/5.2/customize/color.md | 151 ++ site/content/docs/5.2/customize/components.md | 77 + site/content/docs/5.2/customize/css-variables.md | 60 + site/content/docs/5.2/customize/optimize.md | 95 ++ site/content/docs/5.2/customize/options.md | 31 + site/content/docs/5.2/customize/overview.md | 51 + site/content/docs/5.2/customize/sass.md | 311 ++++ site/content/docs/5.2/examples/.stylelintrc | 15 + site/content/docs/5.2/examples/_index.md | 45 + .../content/docs/5.2/examples/album-rtl/index.html | 209 +++ site/content/docs/5.2/examples/album/index.html | 208 +++ site/content/docs/5.2/examples/blog-rtl/index.html | 206 +++ site/content/docs/5.2/examples/blog/blog.css | 69 + site/content/docs/5.2/examples/blog/blog.rtl.css | 69 + site/content/docs/5.2/examples/blog/index.html | 258 ++++ .../docs/5.2/examples/carousel-rtl/index.html | 167 ++ .../docs/5.2/examples/carousel/carousel.css | 82 + .../docs/5.2/examples/carousel/carousel.rtl.css | 74 + site/content/docs/5.2/examples/carousel/index.html | 166 ++ .../docs/5.2/examples/cheatsheet-rtl/index.html | 1618 ++++++++++++++++++++ .../docs/5.2/examples/cheatsheet/cheatsheet.css | 164 ++ .../docs/5.2/examples/cheatsheet/cheatsheet.js | 73 + .../5.2/examples/cheatsheet/cheatsheet.rtl.css | 157 ++ .../docs/5.2/examples/cheatsheet/index.html | 1602 +++++++++++++++++++ .../docs/5.2/examples/checkout-rtl/index.html | 232 +++ .../docs/5.2/examples/checkout/form-validation.css | 3 + .../docs/5.2/examples/checkout/form-validation.js | 19 + site/content/docs/5.2/examples/checkout/index.html | 232 +++ site/content/docs/5.2/examples/cover/cover.css | 50 + site/content/docs/5.2/examples/cover/index.html | 34 + .../docs/5.2/examples/dashboard-rtl/dashboard.js | 53 + .../docs/5.2/examples/dashboard-rtl/index.html | 253 +++ .../docs/5.2/examples/dashboard/dashboard.css | 92 ++ .../docs/5.2/examples/dashboard/dashboard.js | 53 + .../docs/5.2/examples/dashboard/dashboard.rtl.css | 88 ++ .../content/docs/5.2/examples/dashboard/index.html | 252 +++ .../docs/5.2/examples/dropdowns/dropdowns.css | 79 + .../content/docs/5.2/examples/dropdowns/index.html | 338 ++++ .../docs/5.2/examples/features/features.css | 36 + site/content/docs/5.2/examples/features/index.html | 347 +++++ .../5.2/examples/features/unsplash-photo-1.jpg | Bin 0 -> 10451 bytes .../5.2/examples/features/unsplash-photo-2.jpg | Bin 0 -> 113018 bytes .../5.2/examples/features/unsplash-photo-3.jpg | Bin 0 -> 40607 bytes site/content/docs/5.2/examples/footers/index.html | 186 +++ site/content/docs/5.2/examples/grid/grid.css | 13 + site/content/docs/5.2/examples/grid/index.html | 188 +++ site/content/docs/5.2/examples/headers/headers.css | 15 + site/content/docs/5.2/examples/headers/index.html | 295 ++++ .../docs/5.2/examples/heroes/bootstrap-docs.png | Bin 0 -> 371399 bytes .../docs/5.2/examples/heroes/bootstrap-themes.png | Bin 0 -> 278159 bytes site/content/docs/5.2/examples/heroes/heroes.css | 3 + site/content/docs/5.2/examples/heroes/index.html | 125 ++ .../content/docs/5.2/examples/jumbotron/index.html | 45 + .../docs/5.2/examples/list-groups/index.html | 222 +++ .../docs/5.2/examples/list-groups/list-groups.css | 61 + site/content/docs/5.2/examples/masonry/index.html | 105 ++ site/content/docs/5.2/examples/modals/index.html | 173 +++ site/content/docs/5.2/examples/modals/modals.css | 15 + .../docs/5.2/examples/navbar-bottom/index.html | 41 + .../docs/5.2/examples/navbar-fixed/index.html | 40 + .../5.2/examples/navbar-fixed/navbar-top-fixed.css | 5 + .../docs/5.2/examples/navbar-static/index.html | 40 + .../docs/5.2/examples/navbar-static/navbar-top.css | 4 + .../docs/5.2/examples/navbars-offcanvas/index.html | 147 ++ .../docs/5.2/examples/navbars-offcanvas/navbar.css | 7 + site/content/docs/5.2/examples/navbars/index.html | 416 +++++ site/content/docs/5.2/examples/navbars/navbar.css | 7 + .../docs/5.2/examples/offcanvas-navbar/index.html | 140 ++ .../5.2/examples/offcanvas-navbar/offcanvas.css | 52 + .../5.2/examples/offcanvas-navbar/offcanvas.js | 7 + site/content/docs/5.2/examples/pricing/index.html | 187 +++ site/content/docs/5.2/examples/pricing/pricing.css | 11 + site/content/docs/5.2/examples/product/index.html | 148 ++ site/content/docs/5.2/examples/product/product.css | 69 + site/content/docs/5.2/examples/sidebars/index.html | 391 +++++ .../docs/5.2/examples/sidebars/sidebars.css | 59 + .../content/docs/5.2/examples/sidebars/sidebars.js | 8 + site/content/docs/5.2/examples/sign-in/index.html | 32 + site/content/docs/5.2/examples/sign-in/signin.css | 33 + .../docs/5.2/examples/starter-template/index.html | 52 + .../examples/starter-template/starter-template.css | 9 + .../5.2/examples/sticky-footer-navbar/index.html | 52 + .../sticky-footer-navbar/sticky-footer-navbar.css | 7 + .../docs/5.2/examples/sticky-footer/index.html | 24 + .../5.2/examples/sticky-footer/sticky-footer.css | 9 + site/content/docs/5.2/extend/approach.md | 86 ++ site/content/docs/5.2/extend/icons.md | 40 + site/content/docs/5.2/forms/checks-radios.md | 307 ++++ site/content/docs/5.2/forms/floating-labels.md | 152 ++ site/content/docs/5.2/forms/form-control.md | 152 ++ site/content/docs/5.2/forms/input-group.md | 316 ++++ site/content/docs/5.2/forms/layout.md | 329 ++++ site/content/docs/5.2/forms/overview.md | 154 ++ site/content/docs/5.2/forms/range.md | 49 + site/content/docs/5.2/forms/select.md | 81 + site/content/docs/5.2/forms/validation.md | 380 +++++ .../docs/5.2/getting-started/accessibility.md | 62 + .../docs/5.2/getting-started/best-practices.md | 20 + .../docs/5.2/getting-started/browsers-devices.md | 79 + site/content/docs/5.2/getting-started/contents.md | 111 ++ .../content/docs/5.2/getting-started/contribute.md | 67 + site/content/docs/5.2/getting-started/download.md | 119 ++ .../docs/5.2/getting-started/introduction.md | 162 ++ .../content/docs/5.2/getting-started/javascript.md | 337 ++++ site/content/docs/5.2/getting-started/parcel.md | 159 ++ site/content/docs/5.2/getting-started/rfs.md | 86 ++ site/content/docs/5.2/getting-started/rtl.md | 182 +++ site/content/docs/5.2/getting-started/vite.md | 198 +++ site/content/docs/5.2/getting-started/webpack.md | 322 ++++ site/content/docs/5.2/helpers/clearfix.md | 36 + site/content/docs/5.2/helpers/color-background.md | 52 + site/content/docs/5.2/helpers/colored-links.md | 21 + site/content/docs/5.2/helpers/position.md | 63 + site/content/docs/5.2/helpers/ratio.md | 81 + site/content/docs/5.2/helpers/stacks.md | 85 + site/content/docs/5.2/helpers/stretched-link.md | 74 + site/content/docs/5.2/helpers/text-truncation.md | 23 + site/content/docs/5.2/helpers/vertical-rule.md | 45 + site/content/docs/5.2/helpers/visually-hidden.md | 29 + site/content/docs/5.2/layout/breakpoints.md | 174 +++ site/content/docs/5.2/layout/columns.md | 317 ++++ site/content/docs/5.2/layout/containers.md | 91 ++ site/content/docs/5.2/layout/css-grid.md | 267 ++++ site/content/docs/5.2/layout/grid.md | 530 +++++++ site/content/docs/5.2/layout/gutters.md | 165 ++ site/content/docs/5.2/layout/utilities.md | 25 + site/content/docs/5.2/layout/z-index.md | 16 + site/content/docs/5.2/migration.md | 504 ++++++ site/content/docs/5.2/utilities/api.md | 616 ++++++++ site/content/docs/5.2/utilities/background.md | 124 ++ site/content/docs/5.2/utilities/borders.md | 166 ++ site/content/docs/5.2/utilities/colors.md | 113 ++ site/content/docs/5.2/utilities/display.md | 112 ++ site/content/docs/5.2/utilities/flex.md | 666 ++++++++ site/content/docs/5.2/utilities/float.md | 48 + site/content/docs/5.2/utilities/interactions.md | 42 + site/content/docs/5.2/utilities/opacity.md | 31 + site/content/docs/5.2/utilities/overflow.md | 40 + site/content/docs/5.2/utilities/position.md | 130 ++ site/content/docs/5.2/utilities/shadows.md | 30 + site/content/docs/5.2/utilities/sizing.md | 60 + site/content/docs/5.2/utilities/spacing.md | 127 ++ site/content/docs/5.2/utilities/text.md | 155 ++ site/content/docs/5.2/utilities/vertical-align.md | 48 + site/content/docs/5.2/utilities/visibility.md | 37 + site/content/docs/_index.html | 5 + site/content/docs/versions.md | 27 + 183 files changed, 31460 insertions(+) create mode 100644 site/content/404.md create mode 100644 site/content/docs/5.2/_index.html create mode 100644 site/content/docs/5.2/about/brand.md create mode 100644 site/content/docs/5.2/about/license.md create mode 100644 site/content/docs/5.2/about/overview.md create mode 100644 site/content/docs/5.2/about/team.md create mode 100644 site/content/docs/5.2/about/translations.md create mode 100644 site/content/docs/5.2/components/accordion.md create mode 100644 site/content/docs/5.2/components/alerts.md create mode 100644 site/content/docs/5.2/components/badge.md create mode 100644 site/content/docs/5.2/components/breadcrumb.md create mode 100644 site/content/docs/5.2/components/button-group.md create mode 100644 site/content/docs/5.2/components/buttons.md create mode 100644 site/content/docs/5.2/components/card.md create mode 100644 site/content/docs/5.2/components/carousel.md create mode 100644 site/content/docs/5.2/components/close-button.md create mode 100644 site/content/docs/5.2/components/collapse.md create mode 100644 site/content/docs/5.2/components/dropdowns.md create mode 100644 site/content/docs/5.2/components/list-group.md create mode 100644 site/content/docs/5.2/components/modal.md create mode 100644 site/content/docs/5.2/components/navbar.md create mode 100644 site/content/docs/5.2/components/navs-tabs.md create mode 100644 site/content/docs/5.2/components/offcanvas.md create mode 100644 site/content/docs/5.2/components/pagination.md create mode 100644 site/content/docs/5.2/components/placeholders.md create mode 100644 site/content/docs/5.2/components/popovers.md create mode 100644 site/content/docs/5.2/components/progress.md create mode 100644 site/content/docs/5.2/components/scrollspy.md create mode 100644 site/content/docs/5.2/components/spinners.md create mode 100644 site/content/docs/5.2/components/toasts.md create mode 100644 site/content/docs/5.2/components/tooltips.md create mode 100644 site/content/docs/5.2/content/figures.md create mode 100644 site/content/docs/5.2/content/images.md create mode 100644 site/content/docs/5.2/content/reboot.md create mode 100644 site/content/docs/5.2/content/tables.md create mode 100644 site/content/docs/5.2/content/typography.md create mode 100644 site/content/docs/5.2/customize/color.md create mode 100644 site/content/docs/5.2/customize/components.md create mode 100644 site/content/docs/5.2/customize/css-variables.md create mode 100644 site/content/docs/5.2/customize/optimize.md create mode 100644 site/content/docs/5.2/customize/options.md create mode 100644 site/content/docs/5.2/customize/overview.md create mode 100644 site/content/docs/5.2/customize/sass.md create mode 100644 site/content/docs/5.2/examples/.stylelintrc create mode 100644 site/content/docs/5.2/examples/_index.md create mode 100644 site/content/docs/5.2/examples/album-rtl/index.html create mode 100644 site/content/docs/5.2/examples/album/index.html create mode 100644 site/content/docs/5.2/examples/blog-rtl/index.html create mode 100644 site/content/docs/5.2/examples/blog/blog.css create mode 100644 site/content/docs/5.2/examples/blog/blog.rtl.css create mode 100644 site/content/docs/5.2/examples/blog/index.html create mode 100644 site/content/docs/5.2/examples/carousel-rtl/index.html create mode 100644 site/content/docs/5.2/examples/carousel/carousel.css create mode 100644 site/content/docs/5.2/examples/carousel/carousel.rtl.css create mode 100644 site/content/docs/5.2/examples/carousel/index.html create mode 100644 site/content/docs/5.2/examples/cheatsheet-rtl/index.html create mode 100644 site/content/docs/5.2/examples/cheatsheet/cheatsheet.css create mode 100644 site/content/docs/5.2/examples/cheatsheet/cheatsheet.js create mode 100644 site/content/docs/5.2/examples/cheatsheet/cheatsheet.rtl.css create mode 100644 site/content/docs/5.2/examples/cheatsheet/index.html create mode 100644 site/content/docs/5.2/examples/checkout-rtl/index.html create mode 100644 site/content/docs/5.2/examples/checkout/form-validation.css create mode 100644 site/content/docs/5.2/examples/checkout/form-validation.js create mode 100644 site/content/docs/5.2/examples/checkout/index.html create mode 100644 site/content/docs/5.2/examples/cover/cover.css create mode 100644 site/content/docs/5.2/examples/cover/index.html create mode 100644 site/content/docs/5.2/examples/dashboard-rtl/dashboard.js create mode 100644 site/content/docs/5.2/examples/dashboard-rtl/index.html create mode 100644 site/content/docs/5.2/examples/dashboard/dashboard.css create mode 100644 site/content/docs/5.2/examples/dashboard/dashboard.js create mode 100644 site/content/docs/5.2/examples/dashboard/dashboard.rtl.css create mode 100644 site/content/docs/5.2/examples/dashboard/index.html create mode 100644 site/content/docs/5.2/examples/dropdowns/dropdowns.css create mode 100644 site/content/docs/5.2/examples/dropdowns/index.html create mode 100644 site/content/docs/5.2/examples/features/features.css create mode 100644 site/content/docs/5.2/examples/features/index.html create mode 100644 site/content/docs/5.2/examples/features/unsplash-photo-1.jpg create mode 100644 site/content/docs/5.2/examples/features/unsplash-photo-2.jpg create mode 100644 site/content/docs/5.2/examples/features/unsplash-photo-3.jpg create mode 100644 site/content/docs/5.2/examples/footers/index.html create mode 100644 site/content/docs/5.2/examples/grid/grid.css create mode 100644 site/content/docs/5.2/examples/grid/index.html create mode 100644 site/content/docs/5.2/examples/headers/headers.css create mode 100644 site/content/docs/5.2/examples/headers/index.html create mode 100644 site/content/docs/5.2/examples/heroes/bootstrap-docs.png create mode 100644 site/content/docs/5.2/examples/heroes/bootstrap-themes.png create mode 100644 site/content/docs/5.2/examples/heroes/heroes.css create mode 100644 site/content/docs/5.2/examples/heroes/index.html create mode 100644 site/content/docs/5.2/examples/jumbotron/index.html create mode 100644 site/content/docs/5.2/examples/list-groups/index.html create mode 100644 site/content/docs/5.2/examples/list-groups/list-groups.css create mode 100644 site/content/docs/5.2/examples/masonry/index.html create mode 100644 site/content/docs/5.2/examples/modals/index.html create mode 100644 site/content/docs/5.2/examples/modals/modals.css create mode 100644 site/content/docs/5.2/examples/navbar-bottom/index.html create mode 100644 site/content/docs/5.2/examples/navbar-fixed/index.html create mode 100644 site/content/docs/5.2/examples/navbar-fixed/navbar-top-fixed.css create mode 100644 site/content/docs/5.2/examples/navbar-static/index.html create mode 100644 site/content/docs/5.2/examples/navbar-static/navbar-top.css create mode 100644 site/content/docs/5.2/examples/navbars-offcanvas/index.html create mode 100644 site/content/docs/5.2/examples/navbars-offcanvas/navbar.css create mode 100644 site/content/docs/5.2/examples/navbars/index.html create mode 100644 site/content/docs/5.2/examples/navbars/navbar.css create mode 100644 site/content/docs/5.2/examples/offcanvas-navbar/index.html create mode 100644 site/content/docs/5.2/examples/offcanvas-navbar/offcanvas.css create mode 100644 site/content/docs/5.2/examples/offcanvas-navbar/offcanvas.js create mode 100644 site/content/docs/5.2/examples/pricing/index.html create mode 100644 site/content/docs/5.2/examples/pricing/pricing.css create mode 100644 site/content/docs/5.2/examples/product/index.html create mode 100644 site/content/docs/5.2/examples/product/product.css create mode 100644 site/content/docs/5.2/examples/sidebars/index.html create mode 100644 site/content/docs/5.2/examples/sidebars/sidebars.css create mode 100644 site/content/docs/5.2/examples/sidebars/sidebars.js create mode 100644 site/content/docs/5.2/examples/sign-in/index.html create mode 100644 site/content/docs/5.2/examples/sign-in/signin.css create mode 100644 site/content/docs/5.2/examples/starter-template/index.html create mode 100644 site/content/docs/5.2/examples/starter-template/starter-template.css create mode 100644 site/content/docs/5.2/examples/sticky-footer-navbar/index.html create mode 100644 site/content/docs/5.2/examples/sticky-footer-navbar/sticky-footer-navbar.css create mode 100644 site/content/docs/5.2/examples/sticky-footer/index.html create mode 100644 site/content/docs/5.2/examples/sticky-footer/sticky-footer.css create mode 100644 site/content/docs/5.2/extend/approach.md create mode 100644 site/content/docs/5.2/extend/icons.md create mode 100644 site/content/docs/5.2/forms/checks-radios.md create mode 100644 site/content/docs/5.2/forms/floating-labels.md create mode 100644 site/content/docs/5.2/forms/form-control.md create mode 100644 site/content/docs/5.2/forms/input-group.md create mode 100644 site/content/docs/5.2/forms/layout.md create mode 100644 site/content/docs/5.2/forms/overview.md create mode 100644 site/content/docs/5.2/forms/range.md create mode 100644 site/content/docs/5.2/forms/select.md create mode 100644 site/content/docs/5.2/forms/validation.md create mode 100644 site/content/docs/5.2/getting-started/accessibility.md create mode 100644 site/content/docs/5.2/getting-started/best-practices.md create mode 100644 site/content/docs/5.2/getting-started/browsers-devices.md create mode 100644 site/content/docs/5.2/getting-started/contents.md create mode 100644 site/content/docs/5.2/getting-started/contribute.md create mode 100644 site/content/docs/5.2/getting-started/download.md create mode 100644 site/content/docs/5.2/getting-started/introduction.md create mode 100644 site/content/docs/5.2/getting-started/javascript.md create mode 100644 site/content/docs/5.2/getting-started/parcel.md create mode 100644 site/content/docs/5.2/getting-started/rfs.md create mode 100644 site/content/docs/5.2/getting-started/rtl.md create mode 100644 site/content/docs/5.2/getting-started/vite.md create mode 100644 site/content/docs/5.2/getting-started/webpack.md create mode 100644 site/content/docs/5.2/helpers/clearfix.md create mode 100644 site/content/docs/5.2/helpers/color-background.md create mode 100644 site/content/docs/5.2/helpers/colored-links.md create mode 100644 site/content/docs/5.2/helpers/position.md create mode 100644 site/content/docs/5.2/helpers/ratio.md create mode 100644 site/content/docs/5.2/helpers/stacks.md create mode 100644 site/content/docs/5.2/helpers/stretched-link.md create mode 100644 site/content/docs/5.2/helpers/text-truncation.md create mode 100644 site/content/docs/5.2/helpers/vertical-rule.md create mode 100644 site/content/docs/5.2/helpers/visually-hidden.md create mode 100644 site/content/docs/5.2/layout/breakpoints.md create mode 100644 site/content/docs/5.2/layout/columns.md create mode 100644 site/content/docs/5.2/layout/containers.md create mode 100644 site/content/docs/5.2/layout/css-grid.md create mode 100644 site/content/docs/5.2/layout/grid.md create mode 100644 site/content/docs/5.2/layout/gutters.md create mode 100644 site/content/docs/5.2/layout/utilities.md create mode 100644 site/content/docs/5.2/layout/z-index.md create mode 100644 site/content/docs/5.2/migration.md create mode 100644 site/content/docs/5.2/utilities/api.md create mode 100644 site/content/docs/5.2/utilities/background.md create mode 100644 site/content/docs/5.2/utilities/borders.md create mode 100644 site/content/docs/5.2/utilities/colors.md create mode 100644 site/content/docs/5.2/utilities/display.md create mode 100644 site/content/docs/5.2/utilities/flex.md create mode 100644 site/content/docs/5.2/utilities/float.md create mode 100644 site/content/docs/5.2/utilities/interactions.md create mode 100644 site/content/docs/5.2/utilities/opacity.md create mode 100644 site/content/docs/5.2/utilities/overflow.md create mode 100644 site/content/docs/5.2/utilities/position.md create mode 100644 site/content/docs/5.2/utilities/shadows.md create mode 100644 site/content/docs/5.2/utilities/sizing.md create mode 100644 site/content/docs/5.2/utilities/spacing.md create mode 100644 site/content/docs/5.2/utilities/text.md create mode 100644 site/content/docs/5.2/utilities/vertical-align.md create mode 100644 site/content/docs/5.2/utilities/visibility.md create mode 100644 site/content/docs/_index.html create mode 100644 site/content/docs/versions.md (limited to 'site/content') diff --git a/site/content/404.md b/site/content/404.md new file mode 100644 index 0000000..de003f1 --- /dev/null +++ b/site/content/404.md @@ -0,0 +1,13 @@ +--- +title: "404 - File not found" +layout: 404 +description: "" +url: /404.html +robots: noindex,follow +sitemap_exclude: true +--- + +
+

404

+

File not found

+
diff --git a/site/content/docs/5.2/_index.html b/site/content/docs/5.2/_index.html new file mode 100644 index 0000000..fe65dc3 --- /dev/null +++ b/site/content/docs/5.2/_index.html @@ -0,0 +1,5 @@ +--- +layout: redirect +sitemap_exclude: true +redirect: "/docs/5.2/getting-started/introduction/" +--- diff --git a/site/content/docs/5.2/about/brand.md b/site/content/docs/5.2/about/brand.md new file mode 100644 index 0000000..80c6135 --- /dev/null +++ b/site/content/docs/5.2/about/brand.md @@ -0,0 +1,47 @@ +--- +layout: docs +title: Brand guidelines +description: Documentation and examples for Bootstrap's logo and brand usage guidelines. +group: about +toc: true +--- + +Have a need for Bootstrap's brand resources? Great! We have only a few guidelines we follow, and in turn ask you to follow as well. + +## Logo + +When referencing Bootstrap, use our logo mark. Do not modify our logos in any way. Do not use Bootstrap's branding for your own open or closed source projects. **Do not use the Twitter name or logo** in association with Bootstrap. + +
+ Bootstrap +
+ +Our logo mark is also available in black and white. All rules for our primary logo apply to these as well. + +
+
+ Bootstrap +
+
+ Bootstrap +
+
+ +## Name + +Bootstrap should always be referred to as just **Bootstrap**. No Twitter before it and no capital _s_. + +
+
+
Bootstrap
+ Correct +
+
+
BootStrap
+ Incorrect +
+
+
Twitter Bootstrap
+ Incorrect +
+
diff --git a/site/content/docs/5.2/about/license.md b/site/content/docs/5.2/about/license.md new file mode 100644 index 0000000..07e60e0 --- /dev/null +++ b/site/content/docs/5.2/about/license.md @@ -0,0 +1,34 @@ +--- +layout: docs +title: License FAQs +description: Commonly asked questions about Bootstrap's open source license. +group: about +--- + +Bootstrap is released under the MIT license and is copyright {{< year >}} Twitter. Boiled down to smaller chunks, it can be described with the following conditions. + +## It requires you to: + +- Keep the license and copyright notice included in Bootstrap's CSS and JavaScript files when you use them in your works + +## It permits you to: + +- Freely download and use Bootstrap, in whole or in part, for personal, private, company internal, or commercial purposes +- Use Bootstrap in packages or distributions that you create +- Modify the source code +- Grant a sublicense to modify and distribute Bootstrap to third parties not included in the license + +## It forbids you to: + +- Hold the authors and license owners liable for damages as Bootstrap is provided without warranty +- Hold the creators or copyright holders of Bootstrap liable +- Redistribute any piece of Bootstrap without proper attribution +- Use any marks owned by Twitter in any way that might state or imply that Twitter endorses your distribution +- Use any marks owned by Twitter in any way that might state or imply that you created the Twitter software in question + +## It does not require you to: + +- Include the source of Bootstrap itself, or of any modifications you may have made to it, in any redistribution you may assemble that includes it +- Submit changes that you make to Bootstrap back to the Bootstrap project (though such feedback is encouraged) + +The full Bootstrap license is located [in the project repository]({{< param repo >}}/blob/v{{< param current_version >}}/LICENSE) for more information. diff --git a/site/content/docs/5.2/about/overview.md b/site/content/docs/5.2/about/overview.md new file mode 100644 index 0000000..1f39b85 --- /dev/null +++ b/site/content/docs/5.2/about/overview.md @@ -0,0 +1,29 @@ +--- +layout: docs +title: About +description: Learn more about the team maintaining Bootstrap, how and why the project started, and how to get involved. +group: about +aliases: + - "/about/" + - "/docs/5.2/about/" +--- + +## Team + +Bootstrap is maintained by a [small team of developers](https://github.com/orgs/twbs/people) on GitHub. We're actively looking to grow this team and would love to hear from you if you're excited about CSS at scale, writing and maintaining vanilla JavaScript plugins, and improving build tooling processes for frontend code. + +## History + +Originally created by a designer and a developer at Twitter, Bootstrap has become one of the most popular front-end frameworks and open source projects in the world. + +Bootstrap was created at Twitter in mid-2010 by [@mdo](https://twitter.com/mdo) and [@fat](https://twitter.com/fat). Prior to being an open-sourced framework, Bootstrap was known as _Twitter Blueprint_. A few months into development, Twitter held its [first Hack Week](https://blog.twitter.com/engineering/en_us/a/2010/hack-week.html) and the project exploded as developers of all skill levels jumped in without any external guidance. It served as the style guide for internal tools development at the company for over a year before its public release, and continues to do so today. + +Originally [released](https://blog.twitter.com/developer/en_us/a/2011/bootstrap-twitter.html) on , we've since had over [twenty releases]({{< param repo >}}/releases), including two major rewrites with v2 and v3. With Bootstrap 2, we added responsive functionality to the entire framework as an optional stylesheet. Building on that with Bootstrap 3, we rewrote the library once more to make it responsive by default with a mobile first approach. + +With Bootstrap 4, we once again rewrote the project to account for two key architectural changes: a migration to Sass and the move to CSS's flexbox. Our intention is to help in a small way to move the web development community forward by pushing for newer CSS properties, fewer dependencies, and new technologies across more modern browsers. + +Our latest release, Bootstrap 5, focuses on improving v4's codebase with as few major breaking changes as possible. We improved existing features and components, removed support for older browsers, dropped jQuery for regular JavaScript, and embraced more future-friendly technologies like CSS custom properties as part of our tooling. + +## Get involved + +Get involved with Bootstrap development by [opening an issue]({{< param repo >}}/issues/new/choose) or submitting a pull request. Read our [contributing guidelines]({{< param repo >}}/blob/v{{< param current_version >}}/.github/CONTRIBUTING.md) for information on how we develop. diff --git a/site/content/docs/5.2/about/team.md b/site/content/docs/5.2/about/team.md new file mode 100644 index 0000000..c00ba4e --- /dev/null +++ b/site/content/docs/5.2/about/team.md @@ -0,0 +1,23 @@ +--- +layout: docs +title: Team +description: An overview of the founding team and core contributors to Bootstrap. +group: about +--- + +Bootstrap is maintained by the founding team and a small group of invaluable core contributors, with the massive support and involvement of our community. + +{{< team.inline >}} +
+ {{- range (index $.Site.Data "core-team") }} + + @{{ .user }} + + {{ .name }} @{{ .user }} + + + {{ end -}} +
+{{< /team.inline >}} + +Get involved with Bootstrap development by [opening an issue]({{< param repo >}}/issues/new/choose) or submitting a pull request. Read our [contributing guidelines]({{< param repo >}}/blob/v{{< param current_version >}}/.github/CONTRIBUTING.md) for information on how we develop. diff --git a/site/content/docs/5.2/about/translations.md b/site/content/docs/5.2/about/translations.md new file mode 100644 index 0000000..5e2ae30 --- /dev/null +++ b/site/content/docs/5.2/about/translations.md @@ -0,0 +1,20 @@ +--- +layout: docs +title: Translations +description: Links to community-translated Bootstrap documentation sites. +group: about +--- + +Community members have translated Bootstrap's documentation into various languages. None are officially supported and they may not always be up-to-date. + +{{< translations.inline >}} + +{{< /translations.inline >}} + +**We don't help organize or host translations, we just link to them.** + +Finished a new or better translation? Open a pull request to add it to our list. diff --git a/site/content/docs/5.2/components/accordion.md b/site/content/docs/5.2/components/accordion.md new file mode 100644 index 0000000..2e24723 --- /dev/null +++ b/site/content/docs/5.2/components/accordion.md @@ -0,0 +1,165 @@ +--- +layout: docs +title: Accordion +description: Build vertically collapsing accordions in combination with our Collapse JavaScript plugin. +group: components +aliases: + - "/components/" + - "/docs/5.2/components/" +toc: true +--- + +## How it works + +The accordion uses [collapse]({{< docsref "/components/collapse" >}}) internally to make it collapsible. To render an accordion that's expanded, add the `.open` class on the `.accordion`. + +{{< callout info >}} +{{< partial "callout-info-prefersreducedmotion.md" >}} +{{< /callout >}} + +## Example + +Click the accordions below to expand/collapse the accordion content. + +{{< example >}} +
+
+

+ +

+
+
+ This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow. +
+
+
+
+

+ +

+
+
+ This is the second item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow. +
+
+
+
+

+ +

+
+
+ This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow. +
+
+
+
+{{< /example >}} + +### Flush + +Add `.accordion-flush` to remove the default `background-color`, some borders, and some rounded corners to render accordions edge-to-edge with their parent container. + +{{< example class="bg-light" >}} +
+
+

+ +

+
+
Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush class. This is the first item's accordion body.
+
+
+
+

+ +

+
+
Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush class. This is the second item's accordion body. Let's imagine this being filled with some actual content.
+
+
+
+

+ +

+
+
Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush class. This is the third item's accordion body. Nothing more exciting happening here in terms of content, but just filling up the space to make it look, at least at first glance, a bit more representative of how this would look in a real-world application.
+
+
+
+{{< /example >}} + +### Always open + +Omit the `data-bs-parent` attribute on each `.accordion-collapse` to make accordion items stay open when another item is opened. + +{{< example >}} +
+
+

+ +

+
+
+ This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow. +
+
+
+
+

+ +

+
+
+ This is the second item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow. +
+
+
+
+

+ +

+
+
+ This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body, though the transition does limit overflow. +
+
+
+
+{{< /example >}} + +## Accessibility + +Please read the [collapse accessibility section]({{< docsref "/components/collapse#accessibility" >}}) for more information. + +## CSS + +### Variables + +{{< added-in "5.2.0" >}} + +As part of Bootstrap's evolving CSS variables approach, accordions now use local CSS variables on `.accordion` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too. + +{{< scss-docs name="accordion-css-vars" file="scss/_accordion.scss" >}} + +### Sass variables + +{{< scss-docs name="accordion-variables" file="scss/_variables.scss" >}} diff --git a/site/content/docs/5.2/components/alerts.md b/site/content/docs/5.2/components/alerts.md new file mode 100644 index 0000000..8837ed4 --- /dev/null +++ b/site/content/docs/5.2/components/alerts.md @@ -0,0 +1,257 @@ +--- +layout: docs +title: Alerts +description: Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. +group: components +toc: true +--- + +## Examples + +Alerts are available for any length of text, as well as an optional close button. For proper styling, use one of the eight **required** contextual classes (e.g., `.alert-success`). For inline dismissal, use the [alerts JavaScript plugin](#dismissing). + +{{< example >}} +{{< alerts.inline >}} +{{- range (index $.Site.Data "theme-colors") }} +{{- end -}} +{{< /alerts.inline >}} +{{< /example >}} + +{{< callout info >}} +{{< partial "callout-warning-color-assistive-technologies.md" >}} +{{< /callout >}} + +### Live example + +Click the button below to show an alert (hidden with inline styles to start), then dismiss (and destroy) it with the built-in close button. + +{{< example stackblitz_add_js="true" >}} +
+ +{{< /example >}} + +We use the following JavaScript to trigger our live alert demo: + +```js +const alertPlaceholder = document.getElementById('liveAlertPlaceholder') + +const alert = (message, type) => { + const wrapper = document.createElement('div') + wrapper.innerHTML = [ + `' + ].join('') + + alertPlaceholder.append(wrapper) +} + +const alertTrigger = document.getElementById('liveAlertBtn') +if (alertTrigger) { + alertTrigger.addEventListener('click', () => { + alert('Nice, you triggered this alert message!', 'success') + }) +} +``` + +### Link color + +Use the `.alert-link` utility class to quickly provide matching colored links within any alert. + +{{< example >}} +{{< alerts.inline >}} +{{- range (index $.Site.Data "theme-colors") }} +{{ end -}} +{{< /alerts.inline >}} +{{< /example >}} + +### Additional content + +Alerts can also contain additional HTML elements like headings, paragraphs and dividers. + +{{< example >}} + +{{< /example >}} + +### Icons + +Similarly, you can use [flexbox utilities]({{< docsref "/utilities/flex" >}}) and [Bootstrap Icons]({{< param icons >}}) to create alerts with icons. Depending on your icons and content, you may want to add more utilities or custom styles. + +{{< example >}} + +{{< /example >}} + +Need more than one icon for your alerts? Consider using more Bootstrap Icons and making a local SVG sprite like so to easily reference the same icons repeatedly. + +{{< example >}} + + + + + + + + + + + + + + + + +{{< /example >}} + +### Dismissing + +Using the alert JavaScript plugin, it's possible to dismiss any alert inline. Here's how: + +- Be sure you've loaded the alert plugin, or the compiled Bootstrap JavaScript. +- Add a [close button]({{< docsref "/components/close-button" >}}) and the `.alert-dismissible` class, which adds extra padding to the right of the alert and positions the close button. +- On the close button, add the `data-bs-dismiss="alert"` attribute, which triggers the JavaScript functionality. Be sure to use the ` + +{{< /example >}} + +{{< callout warning >}} +When an alert is dismissed, the element is completely removed from the page structure. If a keyboard user dismisses the alert using the close button, their focus will suddenly be lost and, depending on the browser, reset to the start of the page/document. For this reason, we recommend including additional JavaScript that listens for the `closed.bs.alert` event and programmatically sets `focus()` to the most appropriate location in the page. If you're planning to move focus to a non-interactive element that normally does not receive focus, make sure to add `tabindex="-1"` to the element. +{{< /callout >}} + +## CSS + +### Variables + +{{< added-in "5.2.0" >}} + +As part of Bootstrap's evolving CSS variables approach, alerts now use local CSS variables on `.alert` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too. + +{{< scss-docs name="alert-css-vars" file="scss/_alert.scss" >}} + +### Sass variables + +{{< scss-docs name="alert-variables" file="scss/_variables.scss" >}} + +### Sass mixin + +Used in combination with `$theme-colors` to create contextual modifier classes for our alerts. + +{{< scss-docs name="alert-variant-mixin" file="scss/mixins/_alert.scss" >}} + +### Sass loop + +Loop that generates the modifier classes with the `alert-variant()` mixin. + +{{< scss-docs name="alert-modifiers" file="scss/_alert.scss" >}} + +## JavaScript behavior + +### Initialize + +Initialize elements as alerts + +```js +const alertList = document.querySelectorAll('.alert') +const alerts = [...alertList].map(element => new bootstrap.Alert(element)) +``` + +{{< callout info >}} +For the sole purpose of dismissing an alert, it isn't necessary to initialize the component manually via the JS API. By making use of `data-bs-dismiss="alert"`, the component will be initialized automatically and properly dismissed. + +See the [triggers](#triggers) section for more details. +{{< /callout >}} + +### Triggers + +{{% js-dismiss "alert" %}} + +**Note that closing an alert will remove it from the DOM.** + +### Methods + +You can create an alert instance with the alert constructor, for example: + +```js +const bsAlert = new bootstrap.Alert('#myAlert') +``` + +This makes an alert listen for click events on descendant elements which have the `data-bs-dismiss="alert"` attribute. (Not necessary when using the data-api’s auto-initialization.) + +{{< bs-table >}} +| Method | Description | +| --- | --- | +| `close` | Closes an alert by removing it from the DOM. If the `.fade` and `.show` classes are present on the element, the alert will fade out before it is removed. | +| `dispose` | Destroys an element's alert. (Removes stored data on the DOM element) | +| `getInstance` | Static method which allows you to get the alert instance associated to a DOM element. For example: `bootstrap.Alert.getInstance(alert)`. | +| `getOrCreateInstance` | Static method which returns an alert instance associated to a DOM element or create a new one in case it wasn't initialized. You can use it like this: `bootstrap.Alert.getOrCreateInstance(element)`. | +{{< /bs-table >}} + +Basic usage: + +```js +const alert = bootstrap.Alert.getOrCreateInstance('#myAlert') +alert.close() +``` + +### Events + +Bootstrap's alert plugin exposes a few events for hooking into alert functionality. + +{{< bs-table >}} +| Event | Description | +| --- | --- | +| `close.bs.alert` | Fires immediately when the `close` instance method is called. | +| `closed.bs.alert` | Fired when the alert has been closed and CSS transitions have completed. | +{{< /bs-table >}} + +```js +const myAlert = document.getElementById('myAlert') +myAlert.addEventListener('closed.bs.alert', event => { + // do something, for instance, explicitly move focus to the most appropriate element, + // so it doesn't get lost/reset to the start of the page + // document.getElementById('...').focus() +}) +``` diff --git a/site/content/docs/5.2/components/badge.md b/site/content/docs/5.2/components/badge.md new file mode 100644 index 0000000..55b1ffb --- /dev/null +++ b/site/content/docs/5.2/components/badge.md @@ -0,0 +1,103 @@ +--- +layout: docs +title: Badges +description: Documentation and examples for badges, our small count and labeling component. +group: components +toc: true +--- + +## Examples + +Badges scale to match the size of the immediate parent element by using relative font sizing and `em` units. As of v5, badges no longer have focus or hover styles for links. + +### Headings + +{{< example >}} +

Example heading New

+

Example heading New

+

Example heading New

+

Example heading New

+
Example heading New
+
Example heading New
+{{< /example >}} + +### Buttons + +Badges can be used as part of links or buttons to provide a counter. + +{{< example >}} + +{{< /example >}} + +Note that depending on how they are used, badges may be confusing for users of screen readers and similar assistive technologies. While the styling of badges provides a visual cue as to their purpose, these users will simply be presented with the content of the badge. Depending on the specific situation, these badges may seem like random additional words or numbers at the end of a sentence, link, or button. + +Unless the context is clear (as with the "Notifications" example, where it is understood that the "4" is the number of notifications), consider including additional context with a visually hidden piece of additional text. + +### Positioned + +Use utilities to modify a `.badge` and position it in the corner of a link or button. + +{{< example >}} + +{{< /example >}} + +You can also replace the `.badge` class with a few more utilities without a count for a more generic indicator. + +{{< example >}} + +{{< /example >}} + +## Background colors + +{{< added-in "5.2.0" >}} + +Set a `background-color` with contrasting foreground `color` with [our `.text-bg-{color}` helpers]({{< docsref "helpers/color-background" >}}). Previously it was required to manually pair your choice of [`.text-{color}`]({{< docsref "/utilities/colors" >}}) and [`.bg-{color}`]({{< docsref "/utilities/background" >}}) utilities for styling, which you still may use if you prefer. + +{{< example >}} +{{< badge.inline >}} +{{- range (index $.Site.Data "theme-colors") }} +{{ .name | title }}{{- end -}} +{{< /badge.inline >}} +{{< /example >}} + +{{< callout info >}} +{{< partial "callout-warning-color-assistive-technologies.md" >}} +{{< /callout >}} + +## Pill badges + +Use the `.rounded-pill` utility class to make badges more rounded with a larger `border-radius`. + +{{< example >}} +{{< badge.inline >}} +{{- range (index $.Site.Data "theme-colors") }} +{{ .name | title }}{{- end -}} +{{< /badge.inline >}} +{{< /example >}} + +## CSS + +### Variables + +{{< added-in "5.2.0" >}} + +As part of Bootstrap's evolving CSS variables approach, badges now use local CSS variables on `.badge` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too. + +{{< scss-docs name="badge-css-vars" file="scss/_badge.scss" >}} + +### Sass variables + +{{< scss-docs name="badge-variables" file="scss/_variables.scss" >}} diff --git a/site/content/docs/5.2/components/breadcrumb.md b/site/content/docs/5.2/components/breadcrumb.md new file mode 100644 index 0000000..0012f97 --- /dev/null +++ b/site/content/docs/5.2/components/breadcrumb.md @@ -0,0 +1,111 @@ +--- +layout: docs +title: Breadcrumb +description: Indicate the current page's location within a navigational hierarchy that automatically adds separators via CSS. +group: components +toc: true +--- + +## Example + +Use an ordered or unordered list with linked list items to create a minimally styled breadcrumb. Use our utilities to add additional styles as desired. + +{{< example >}} + + + + + +{{< /example >}} + +## Dividers + +Dividers are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content). They can be changed by modifying a local CSS custom property `--bs-breadcrumb-divider`, or through the `$breadcrumb-divider` Sass variable — and `$breadcrumb-divider-flipped` for its RTL counterpart, if needed. We default to our Sass variable, which is set as a fallback to the custom property. This way, you get a global divider that you can override without recompiling CSS at any time. + +{{< example >}} + +{{< /example >}} + +When modifying via Sass, the [quote](https://sass-lang.com/documentation/modules/string#quote) function is required to generate the quotes around a string. For example, using `>` as the divider, you can use this: + +```scss +$breadcrumb-divider: quote(">"); +``` + +It's also possible to use an **embedded SVG icon**. Apply it via our CSS custom property, or use the Sass variable. + + +{{< callout info >}} +### Using embedded SVG + +Inlining SVG as data URI requires to URL escape a few characters, most notably `<`, `>` and `#`. That's why the `$breadcrumb-divider` variable is passed through our [`escape-svg()` Sass function]({{< docsref "/customize/sass#escape-svg" >}}). When using the CSS custom property, you need to URL escape your SVG on your own. Read [Kevin Weber's explanations on CodePen](https://codepen.io/kevinweber/pen/dXWoRw ) for detailed information on what to escape. +{{< /callout >}} + +{{< example >}} + +{{< /example >}} + +```scss +$breadcrumb-divider: url("data:image/svg+xml,"); +``` + +You can also remove the divider setting `--bs-breadcrumb-divider: '';` (empty strings in CSS custom properties counts as a value), or setting the Sass variable to `$breadcrumb-divider: none;`. + +{{< example >}} + +{{< /example >}} + + +```scss +$breadcrumb-divider: none; +``` + +## Accessibility + +Since breadcrumbs provide a navigation, it's a good idea to add a meaningful label such as `aria-label="breadcrumb"` to describe the type of navigation provided in the `