From 86a96c8ecd64aaa263cf1f6d7220f8b64a88e9a6 Mon Sep 17 00:00:00 2001 From: merzainc Date: Tue, 16 May 2023 10:02:01 +0200 Subject: [PATCH 1/2] Add 5.3 files --- about/brand/index.html | 2353 +++++- about/license/index.html | 2324 ++++- about/overview/index.html | 2320 ++++- about/team/index.html | 2542 ++++-- about/translations/index.html | 2285 ++++- assets/ak7kmzkzhq-dsn.algolia.net/index.html | 14 + assets/brand/bootstrap-social-logo.png | Bin 145590 -> 0 bytes assets/brand/bootstrap-social.png | Bin 54961 -> 0 bytes .../cdn.jsdelivr.net/npm/@docsearch/css@3.css | 8 + .../core@2.11.7/dist/umd/popper.min.js | 6 + .../npm/@stackblitz/sdk@1/bundles/sdk.umd.js | 520 ++ .../npm/chart.js@4.2.1/dist/chart.umd.min.js | 20 + .../feather-icons@4.28.0/dist/feather.min.js | 13 + .../dist/masonry.pkgd.min.js | 9 + assets/css/docs.css | 5 +- assets/image.png | Bin 535703 -> 0 bytes assets/img/bootstrap-icons.png | Bin 40798 -> 0 bytes assets/img/bootstrap-themes.png | Bin 88695 -> 0 bytes assets/img/examples/badges.png | Bin 0 -> 6328 bytes assets/img/examples/breadcrumbs.png | Bin 0 -> 2382 bytes assets/img/examples/buttons.png | Bin 0 -> 4545 bytes assets/img/examples/grid.png | Bin 14485 -> 9395 bytes assets/img/examples/jumbotrons.png | Bin 0 -> 6463 bytes assets/img/examples/navbars-offcanvas.png | Bin 0 -> 6864 bytes assets/img/examples/navbars.png | Bin 13126 -> 13124 bytes assets/img/favicons/favicon-16x16.png | Bin 529 -> 525 bytes assets/img/guides/bootstrap-parcel.png | Bin 0 -> 161826 bytes assets/img/guides/bootstrap-vite.png | Bin 0 -> 169189 bytes assets/img/guides/bootstrap-webpack.png | Bin 0 -> 169872 bytes .../guides/parcel-dev-server-bootstrap.png | Bin 0 -> 15565 bytes assets/img/guides/parcel-dev-server.png | Bin 0 -> 13933 bytes .../img/guides/vite-dev-server-bootstrap.png | Bin 0 -> 14001 bytes assets/img/guides/vite-dev-server.png | Bin 0 -> 13584 bytes .../guides/webpack-dev-server-bootstrap.png | Bin 0 -> 14702 bytes assets/img/guides/webpack-dev-server.png | Bin 0 -> 14197 bytes assets/js/color-modes.js | 77 + assets/js/docs.min.js | 7 +- assets/js/validate-forms.js | 23 +- components/accordion/index.html | 3295 ++++++-- components/alerts/index.html | 3889 +++++++-- components/badge/index.html | 2967 +++++-- components/breadcrumb/index.html | 2889 +++++-- components/button-group/index.html | 3779 +++++++-- components/buttons/index.html | 4341 ++++++++-- components/card/index.html | 7156 ++++++++++++---- components/carousel/index.html | 5201 +++++++++--- components/close-button/index.html | 2595 +++++- components/collapse/index.html | 3444 ++++++-- components/dropdowns/index.html | 7456 ++++++++++++----- components/list-group/index.html | 5166 +++++++++--- components/modal/index.html | 5754 +++++++++---- components/navbar/index.html | 6621 +++++++++++---- components/navs-tabs/index.html | 5562 +++++++++--- components/offcanvas/index.html | 4328 ++++++++-- components/pagination/index.html | 3392 ++++++-- components/placeholders/index.html | 2951 +++++-- components/popovers/index.html | 4100 +++++++-- components/progress/index.html | 3605 ++++++-- components/scrollspy/index.html | 3590 ++++++-- components/spinners/index.html | 3785 +++++++-- components/toasts/index.html | 4564 +++++++--- components/tooltips/index.html | 3990 +++++++-- content/figures/index.html | 2517 +++++- content/images/index.html | 2772 ++++-- content/reboot/index.html | 4205 ++++++++-- content/tables/index.html | 6385 +++++++++----- content/typography/index.html | 3976 +++++++-- customize/color-modes/index.html | 2747 ++++++ customize/color/index.html | 3778 +++++++-- customize/components/index.html | 2727 ++++-- customize/css-variables/index.html | 2658 +++++- customize/optimize/index.html | 2730 ++++-- customize/options/index.html | 2474 ++++-- customize/overview/index.html | 2480 +++++- customize/sass/index.html | 3228 +++++-- dist/css/bootstrap.min.css | 7 +- dist/css/bootstrap.rtl.min.css | 7 +- dist/js/bootstrap.bundle.js | 7075 ++++++++++++++++ dist/js/bootstrap.bundle.js.map | 1 + dist/js/bootstrap.bundle.min.js | 6 +- dist/js/bootstrap.bundle.min.js.map | 1 + examples/album-rtl/index.html | 893 +- examples/album/index.html | 897 +- examples/badges/badges.css | 3 + examples/badges/index.html | 582 ++ examples/blog-rtl/index.html | 800 +- examples/blog/blog.css | 34 - examples/blog/blog.rtl.css | 34 - examples/blog/index.html | 905 +- examples/breadcrumbs/breadcrumbs.css | 50 + examples/breadcrumbs/index.html | 332 + examples/buttons/index.html | 357 + examples/carousel-rtl/index.html | 773 +- examples/carousel/carousel.css | 17 +- examples/carousel/carousel.rtl.css | 17 +- examples/carousel/index.html | 767 +- examples/cheatsheet-rtl/index.html | 5262 ++++++++---- examples/cheatsheet/cheatsheet.css | 13 +- examples/cheatsheet/cheatsheet.js | 24 +- examples/cheatsheet/cheatsheet.rtl.css | 13 +- examples/cheatsheet/index.html | 5224 ++++++++---- examples/checkout-rtl/index.html | 755 +- .../{form-validation.css => checkout.css} | 0 examples/checkout/checkout.js | 19 + examples/checkout/form-validation.js | 20 - examples/checkout/index.html | 761 +- examples/cover/cover.css | 9 +- examples/cover/index.html | 289 +- examples/dashboard-rtl/dashboard.js | 22 +- examples/dashboard-rtl/index.html | 753 +- examples/dashboard/dashboard.css | 8 - examples/dashboard/dashboard.js | 22 +- examples/dashboard/dashboard.rtl.css | 8 - examples/dashboard/index.html | 753 +- examples/dropdowns/dropdowns.css | 60 +- examples/dropdowns/index.html | 1256 ++- examples/features/features.css | 45 +- examples/features/index.html | 1026 ++- examples/footers/footers.css | 12 - examples/footers/index.html | 726 +- examples/grid/grid.css | 8 +- examples/grid/index.html | 652 +- examples/headers/headers.css | 19 +- examples/headers/index.html | 975 ++- examples/heroes/heroes.css | 8 - examples/heroes/index.html | 539 +- examples/index.html | 2696 ++++-- examples/jumbotron/index.html | 333 +- examples/jumbotrons/index.html | 348 + examples/jumbotrons/jumbotrons.css | 1 + examples/list-groups/index.html | 828 +- examples/list-groups/list-groups.css | 58 +- examples/masonry/index.html | 477 +- examples/modals/index.html | 645 +- examples/modals/modals.css | 26 - examples/navbar-bottom/index.html | 313 +- examples/navbar-fixed/index.html | 308 +- ...{navbar-top-fixed.css => navbar-fixed.css} | 0 examples/navbar-static/index.html | 308 +- .../{navbar-top.css => navbar-static.css} | 0 examples/navbars-offcanvas/index.html | 506 ++ .../navbars-offcanvas.css} | 0 examples/navbars/index.html | 1381 ++- examples/navbars/navbars.css | 7 + examples/offcanvas-navbar/index.html | 584 +- .../{offcanvas.css => offcanvas-navbar.css} | 21 +- .../{offcanvas.js => offcanvas-navbar.js} | 4 +- examples/pricing/index.html | 731 +- examples/pricing/pricing.css | 2 +- examples/product/index.html | 581 +- examples/sidebars/index.html | 1291 ++- examples/sidebars/sidebars.css | 44 +- examples/sidebars/sidebars.js | 8 - examples/sign-in/index.html | 286 +- examples/sign-in/{signin.css => sign-in.css} | 6 - examples/starter-template/index.html | 443 +- .../starter-template/starter-template.css | 18 - examples/sticky-footer-navbar/index.html | 334 +- examples/sticky-footer/index.html | 273 +- extend/approach/index.html | 2549 +++++- extend/icons/index.html | 2373 +++++- forms/checks-radios/index.html | 4370 ++++++++-- forms/floating-labels/index.html | 3252 +++++-- forms/form-control/index.html | 3621 ++++++-- forms/input-group/index.html | 4166 ++++++--- forms/layout/index.html | 4067 ++++++--- forms/overview/index.html | 2950 +++++-- forms/range/index.html | 2666 ++++-- forms/select/index.html | 2845 +++++-- forms/validation/index.html | 4756 ++++++++--- getting-started/accessibility/index.html | 2518 +++++- getting-started/browsers-devices/index.html | 2690 ++++-- getting-started/contents/index.html | 2647 ++++-- getting-started/contribute/index.html | 2627 ++++-- getting-started/download/index.html | 2642 ++++-- getting-started/index.html | 11 +- getting-started/introduction/index.html | 2832 +++++-- getting-started/javascript/index.html | 3271 ++++++-- getting-started/parcel/index.html | 2717 ++++-- getting-started/rfs/index.html | 2532 ++++-- getting-started/rtl/index.html | 2852 +++++-- getting-started/vite/index.html | 2274 +++++ getting-started/webpack/index.html | 3035 +++++-- helpers/clearfix/index.html | 2347 +++++- helpers/color-background/index.html | 2107 +++++ helpers/colored-links/index.html | 2521 +++++- helpers/focus-ring/index.html | 2317 +++++ helpers/icon-link/index.html | 2329 +++++ helpers/position/index.html | 2382 +++++- helpers/ratio/index.html | 2712 ++++-- helpers/stacks/index.html | 2797 +++++-- helpers/stretched-link/index.html | 2730 ++++-- helpers/text-truncation/index.html | 2352 +++++- helpers/vertical-rule/index.html | 2451 +++++- helpers/visually-hidden/index.html | 2301 ++++- index-main.html | 346 - index.html | 10 +- layout/breakpoints/index.html | 2857 +++++-- layout/columns/index.html | 4023 +++++++-- layout/containers/index.html | 2744 ++++-- layout/css-grid/index.html | 3806 +++++++-- layout/grid/index.html | 4590 +++++++--- layout/gutters/index.html | 3037 +++++-- layout/utilities/index.html | 2337 +++++- layout/z-index/index.html | 2287 ++++- migration/index.html | 5673 ++++++++++--- utilities/api/index.html | 3871 +++++++-- utilities/background/index.html | 3570 ++++++-- utilities/borders/index.html | 4131 +++++++-- utilities/colors/index.html | 3399 ++++++-- utilities/display/index.html | 2830 +++++-- utilities/flex/index.html | 4912 ++++++++--- utilities/float/index.html | 2573 ++++-- utilities/interactions/index.html | 2463 +++++- utilities/link/index.html | 2579 ++++++ utilities/object-fit/index.html | 2187 +++++ utilities/opacity/index.html | 2321 ++++- utilities/overflow/index.html | 2506 +++++- utilities/position/index.html | 3077 +++++-- utilities/shadows/index.html | 2454 +++++- utilities/sizing/index.html | 2756 ++++-- utilities/spacing/index.html | 3216 +++++-- utilities/text/index.html | 3547 ++++++-- utilities/vertical-align/index.html | 2449 +++++- utilities/visibility/index.html | 2331 +++++- utilities/z-index/index.html | 2105 +++++ 226 files changed, 317291 insertions(+), 78628 deletions(-) create mode 100644 assets/ak7kmzkzhq-dsn.algolia.net/index.html delete mode 100644 assets/brand/bootstrap-social-logo.png delete mode 100644 assets/brand/bootstrap-social.png create mode 100644 assets/cdn.jsdelivr.net/npm/@docsearch/css@3.css create mode 100644 assets/cdn.jsdelivr.net/npm/@popperjs/core@2.11.7/dist/umd/popper.min.js create mode 100644 assets/cdn.jsdelivr.net/npm/@stackblitz/sdk@1/bundles/sdk.umd.js create mode 100644 assets/cdn.jsdelivr.net/npm/chart.js@4.2.1/dist/chart.umd.min.js create mode 100644 assets/cdn.jsdelivr.net/npm/feather-icons@4.28.0/dist/feather.min.js create mode 100644 assets/cdn.jsdelivr.net/npm/masonry-layout@4.2.2/dist/masonry.pkgd.min.js delete mode 100644 assets/image.png delete mode 100644 assets/img/bootstrap-icons.png delete mode 100644 assets/img/bootstrap-themes.png create mode 100644 assets/img/examples/badges.png create mode 100644 assets/img/examples/breadcrumbs.png create mode 100644 assets/img/examples/buttons.png create mode 100644 assets/img/examples/jumbotrons.png create mode 100644 assets/img/examples/navbars-offcanvas.png create mode 100644 assets/img/guides/bootstrap-parcel.png create mode 100644 assets/img/guides/bootstrap-vite.png create mode 100644 assets/img/guides/bootstrap-webpack.png create mode 100644 assets/img/guides/parcel-dev-server-bootstrap.png create mode 100644 assets/img/guides/parcel-dev-server.png create mode 100644 assets/img/guides/vite-dev-server-bootstrap.png create mode 100644 assets/img/guides/vite-dev-server.png create mode 100644 assets/img/guides/webpack-dev-server-bootstrap.png create mode 100644 assets/img/guides/webpack-dev-server.png create mode 100644 assets/js/color-modes.js create mode 100644 customize/color-modes/index.html create mode 100644 dist/js/bootstrap.bundle.js create mode 100644 dist/js/bootstrap.bundle.js.map create mode 100644 dist/js/bootstrap.bundle.min.js.map create mode 100644 examples/badges/badges.css create mode 100644 examples/badges/index.html create mode 100644 examples/breadcrumbs/breadcrumbs.css create mode 100644 examples/breadcrumbs/index.html create mode 100644 examples/buttons/index.html rename examples/checkout/{form-validation.css => checkout.css} (100%) create mode 100644 examples/checkout/checkout.js delete mode 100644 examples/checkout/form-validation.js delete mode 100644 examples/footers/footers.css create mode 100644 examples/jumbotrons/index.html create mode 100644 examples/jumbotrons/jumbotrons.css rename examples/navbar-fixed/{navbar-top-fixed.css => navbar-fixed.css} (100%) rename examples/navbar-static/{navbar-top.css => navbar-static.css} (100%) create mode 100644 examples/navbars-offcanvas/index.html rename examples/{navbars/navbar.css => navbars-offcanvas/navbars-offcanvas.css} (100%) create mode 100644 examples/navbars/navbars.css rename examples/offcanvas-navbar/{offcanvas.css => offcanvas-navbar.css} (69%) rename examples/offcanvas-navbar/{offcanvas.js => offcanvas-navbar.js} (80%) delete mode 100644 examples/sidebars/sidebars.js rename examples/sign-in/{signin.css => sign-in.css} (86%) delete mode 100644 examples/starter-template/starter-template.css create mode 100644 getting-started/vite/index.html create mode 100644 helpers/color-background/index.html create mode 100644 helpers/focus-ring/index.html create mode 100644 helpers/icon-link/index.html delete mode 100644 index-main.html create mode 100644 utilities/link/index.html create mode 100644 utilities/object-fit/index.html create mode 100644 utilities/z-index/index.html diff --git a/about/brand/index.html b/about/brand/index.html index ba64d57..c021a26 100644 --- a/about/brand/index.html +++ b/about/brand/index.html @@ -1,485 +1,1960 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Brand guidelines · Bootstrap v5.3 -Brand guidelines · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + +
+ +
- - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
+
+ + + +
+
+
+ +

Brand guidelines

+
+

+ Documentation and examples for Bootstrap’s logo and brand + usage guidelines. +

+
- +
+ + On this page +
+
+ +
+
+
+

+ 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. +

+ +

+ 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. +

+
+ 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 capital s. +

+
+
+
Bootstrap
+ Correct +
+
+
BootStrap
+ Incorrect +
+
+
+
+ - + + + + - + + + + + + diff --git a/about/license/index.html b/about/license/index.html index 4061fe4..9faa895 100644 --- a/about/license/index.html +++ b/about/license/index.html @@ -1,470 +1,1950 @@ - - - + + + + + + + + + + - - - - - - - + + - - + License FAQs · Bootstrap v5.3 -License FAQs · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + +
+ +
- - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
+ + +
+
+
+ +

License FAQs

+
+

+ Commonly asked questions about Bootstrap’s open source + license. +

- -
  • - - -
    -
      -
    • Clearfix
    • -
    • Colored links
    • -
    • Ratio
    • -
    • Position
    • -
    • Stacks
    • -
    • Visually hidden
    • -
    • Stretched link
    • -
    • Text truncation
    • -
    • Vertical rule
    • + +
      +

      + Bootstrap is released under the MIT license and is copyright 2023. + 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 +
      -
      - -
    • - - -
      -
      -
    • -
    • - - -
      -
        -
      • Approach
      • -
      • Icons
      • +

        + 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 Bootstrap in any way that might state or + imply that Bootstrap endorses your distribution +
        • +
        • + Use any marks owned by Bootstrap in any way that might state or + imply that you created the Bootstrap software in question +
        -
      -
    • -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        + 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 + for more information. +

      -
    • -
    • -
    • - - Migration - -
    • -
    - - - +
  • +
    -
    -
    -
    - View on GitHub -

    License FAQs

    + + + + -
    - - -

    Bootstrap is released under the MIT license and is copyright 2021 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 for more information.

    + -
    -
    - + - + const jsSnippet = event.target + .closest('.bd-code-snippet') + .querySelector('.btn-edit') + .getAttribute('data-sb-js-snippet'); + StackBlitzSDK.openBootstrapSnippet(htmlSnippet, jsSnippet, classes); + }); + }); - - - + StackBlitzSDK.openBootstrapSnippet = ( + htmlSnippet, + jsSnippet, + classes + ) => { + const markup = ` + + + + + + + Bootstrap Example + <${'script'} src="index.html\/\/cdn\.jsdelivr\.net\/npm\/bootstrap@5\.3\.0\-alpha3\/dist\/js\/bootstrap\.bundle\.min\.js"> + + + +${htmlSnippet.replace(/^/gm, ' ')} + + +`; + const jsSnippetContent = jsSnippet + ? '\/\/ NOTICE!!! Initially embedded in our docs this JavaScript\n\/\/ file contains elements that can help you create reproducible\n\/\/ use cases in StackBlitz for instance\.\n\/\/ In a real project please adapt this content to your needs\.\n\/\/ \u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\n\n\/\*!\n \* JavaScript for Bootstrap\u0027s docs \(https:\/\/getbootstrap\.com\/\)\n \* Copyright 2011\-2023 The Bootstrap Authors\n \* Licensed under the Creative Commons Attribution 3\.0 Unported License\.\n \* For details, see https:\/\/creativecommons\.org\/licenses\/by\/3\.0\/\.\n \*\/\n\n\/\* global bootstrap: false \*\/\n\n\(\(\) =\u003e \{\n \u0027use strict\u0027\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Tooltips\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all tooltips in a docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022tooltip\u0022\]\u0027\)\n \.forEach\(tooltip =\u003e \{\n new bootstrap\.Tooltip\(tooltip\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Popovers\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all popovers in docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022popover\u0022\]\u0027\)\n \.forEach\(popover =\u003e \{\n new bootstrap\.Popover\(popover\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Toasts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used by \u0027Placement\u0027 example in docs or StackBlitz\n const toastPlacement = document\.getElementById\(\u0027toastPlacement\u0027\)\n if \(toastPlacement\) \{\n document\.getElementById\(\u0027selectToastPlacement\u0027\)\.addEventListener\(\u0027change\u0027, function \(\) \{\n if \(!toastPlacement\.dataset\.originalClass\) \{\n toastPlacement\.dataset\.originalClass = toastPlacement\.className\n \}\n\n toastPlacement\.className = `\$\{toastPlacement\.dataset\.originalClass\} \$\{this\.value\}`\n \}\)\n \}\n\n \/\/ Instantiate all toasts in docs pages only\n document\.querySelectorAll\(\u0027\.bd\-example \.toast\u0027\)\n \.forEach\(toastNode =\u003e \{\n const toast = new bootstrap\.Toast\(toastNode, \{\n autohide: false\n \}\)\n\n toast\.show\(\)\n \}\)\n\n \/\/ Instantiate all toasts in docs pages only\n \/\/ js\-docs\-start live\-toast\n const toastTrigger = document\.getElementById\(\u0027liveToastBtn\u0027\)\n const toastLiveExample = document\.getElementById\(\u0027liveToast\u0027\)\n\n if \(toastTrigger\) \{\n const toastBootstrap = bootstrap\.Toast\.getOrCreateInstance\(toastLiveExample\)\n toastTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n toastBootstrap\.show\(\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-toast\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Alerts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used in \u0027Show live alert\u0027 example in docs or StackBlitz\n\n \/\/ js\-docs\-start live\-alert\n const alertPlaceholder = document\.getElementById\(\u0027liveAlertPlaceholder\u0027\)\n const appendAlert = \(message, type\) =\u003e \{\n const wrapper = document\.createElement\(\u0027div\u0027\)\n wrapper\.innerHTML = \[\n `\u003cdiv class=\u0022alert alert\-\$\{type\} alert\-dismissible\u0022 role=\u0022alert\u0022\u003e`,\n ` \u003cdiv\u003e\$\{message\}\u003c\/div\u003e`,\n \u0027 \u003cbutton type=\u0022button\u0022 class=\u0022btn\-close\u0022 data\-bs\-dismiss=\u0022alert\u0022 aria\-label=\u0022Close\u0022\u003e\u003c\/button\u003e\u0027,\n \u0027\u003c\/div\u003e\u0027\n \]\.join\(\u0027\u0027\)\n\n alertPlaceholder\.append\(wrapper\)\n \}\n\n const alertTrigger = document\.getElementById\(\u0027liveAlertBtn\u0027\)\n if \(alertTrigger\) \{\n alertTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n appendAlert\(\u0027Nice, you triggered this alert message!\u0027, \u0027success\u0027\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-alert\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Carousels\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all non\-autoplaying carousels in docs or StackBlitz\n document\.querySelectorAll\(\u0027\.carousel:not\(\[data\-bs\-ride=\u0022carousel\u0022\]\)\u0027\)\n \.forEach\(carousel =\u003e \{\n bootstrap\.Carousel\.getOrCreateInstance\(carousel\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Checks \u0026 Radios\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Indeterminate checkbox example in docs and StackBlitz\n document\.querySelectorAll\(\u0027\.bd\-example\-indeterminate \[type=\u0022checkbox\u0022\]\u0027\)\n \.forEach\(checkbox =\u003e \{\n if \(checkbox\.id\.includes\(\u0027Indeterminate\u0027\)\) \{\n checkbox\.indeterminate = true\n \}\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Links\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Disable empty links in docs examples only\n document\.querySelectorAll\(\u0027\.bd\-content \[href=\u0022#\u0022\]\u0027\)\n \.forEach\(link =\u003e \{\n link\.addEventListener\(\u0027click\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal \u0027Varying modal content\u0027 example in docs and StackBlitz\n \/\/ js\-docs\-start varying\-modal\-content\n const exampleModal = document\.getElementById\(\u0027exampleModal\u0027\)\n if \(exampleModal\) \{\n exampleModal\.addEventListener\(\u0027show\.bs\.modal\u0027, event =\u003e \{\n \/\/ Button that triggered the modal\n const button = event\.relatedTarget\n \/\/ Extract info from data\-bs\-\* attributes\n const recipient = button\.getAttribute\(\u0027data\-bs\-whatever\u0027\)\n \/\/ If necessary, you could initiate an Ajax request here\n \/\/ and then do the updating in a callback\.\n\n \/\/ Update the modal\u0027s content\.\n const modalTitle = exampleModal\.querySelector\(\u0027\.modal\-title\u0027\)\n const modalBodyInput = exampleModal\.querySelector\(\u0027\.modal\-body input\u0027\)\n\n modalTitle\.textContent = `New message to \$\{recipient\}`\n modalBodyInput\.value = recipient\n \}\)\n \}\n \/\/ js\-docs\-end varying\-modal\-content\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Offcanvas\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ \u0027Offcanvas components\u0027 example in docs only\n const myOffcanvas = document\.querySelectorAll\(\u0027\.bd\-example\-offcanvas \.offcanvas\u0027\)\n if \(myOffcanvas\) \{\n myOffcanvas\.forEach\(offcanvas =\u003e \{\n offcanvas\.addEventListener\(\u0027show\.bs\.offcanvas\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}, false\)\n \}\)\n \}\n\}\)\(\)\n' + : null; + const project = { + files: { + 'index.html': markup, + 'index.js': jsSnippetContent, + }, + title: 'Bootstrap Example', + description: `Official example from ${window.location.href}`, + template: jsSnippet ? 'javascript' : 'html', + tags: ['bootstrap'], + }; + StackBlitzSDK.openProject(project, { openFile: 'index.html' }); + }; + + - + diff --git a/about/overview/index.html b/about/overview/index.html index 4c861c6..f8f9365 100644 --- a/about/overview/index.html +++ b/about/overview/index.html @@ -1,454 +1,1962 @@ - - - + + + + + + + + + + - - - - - - - + + - - + About · Bootstrap v5.3 -About · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + +
    + +
    - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + +
    +
    +
    + +

    About

    +
    +

    + Learn more about the team maintaining Bootstrap, how and why the + project started, and how to get involved. +

    + +
    + +
    +

    + Team + +

    +

    + Bootstrap is maintained by a + small team of developers + 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 and + @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 + 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 + on , + we’ve since had over + twenty 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 + or submitting a pull request. Read our + contributing guidelines + for information on how we develop. +

    +
    +
    - - - + + + + + - + - + + + + + diff --git a/about/team/index.html b/about/team/index.html index f415f43..2e21ec0 100644 --- a/about/team/index.html +++ b/about/team/index.html @@ -1,525 +1,2057 @@ - - - - - - - - - - - - - - -Team · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Team · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    - -
    - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Team

    +
    +

    + An overview of the founding team and core contributors to Bootstrap. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Team

    +
    +

    + Bootstrap is maintained by the founding team and a small group of + invaluable core contributors, with the massive support and + involvement of our community. +

    + + + +

    + Get involved with Bootstrap development by + opening an issue + or submitting a pull request. Read our + contributing guidelines + for information on how we develop. +

    -

    An overview of the founding team and core contributors to Bootstrap.

    - - -
    - - - -
    - - -

    Bootstrap is maintained by the founding team and a small group of invaluable core contributors, with the massive support and involvement of our community.

    - - - -

    Get involved with Bootstrap development by opening an issue or submitting a pull request. Read our contributing guidelines for information on how we develop.

    +
    +
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/about/translations/index.html b/about/translations/index.html index aff5144..5a09d0a 100644 --- a/about/translations/index.html +++ b/about/translations/index.html @@ -1,459 +1,1926 @@ - - + + + + + + + + + + - - - - - - - + + - - + Translations · Bootstrap v5.3 -Translations · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + +
    + +
    - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + - - + + - + + - + + + + + + diff --git a/assets/ak7kmzkzhq-dsn.algolia.net/index.html b/assets/ak7kmzkzhq-dsn.algolia.net/index.html new file mode 100644 index 0000000..2a34133 --- /dev/null +++ b/assets/ak7kmzkzhq-dsn.algolia.net/index.html @@ -0,0 +1,14 @@ + + + + + +Page has moved + + +

    Click here...

    + + + + + diff --git a/assets/brand/bootstrap-social-logo.png b/assets/brand/bootstrap-social-logo.png deleted file mode 100644 index 9dbb732a41330afa654caf17741552dc2b7d86c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 145590 zcma&NbyQqW@GpqF%wWMS_&^{K+%*KZ83uQk;1Jvig9O*$!Da@R-~j>z3kd{wPjGj8 ze0P7l=j~r_`_%3Gsp_iku2ZMaxz*h_R!ie8As#gz3JMD0J7onO6cjY*e-94&vm~~~ z{_vSO)Kb$^{6zAQMDp}pe?K6%fxeEv0KI7*)oa8nH zcoX(aB)6f!n^2NxdX`*23xj~y!N8kf;Po>I0^S4yul<470l=$3lA8eF^#{P!GwTn$ z`tToJ`vI=}fLA_%OCR8+FYqdsFzYAGiny-aNPZ0I$3Nm)_3=yz~TI zct5ki%Q%v|kN?f^CiK6tp3QG#NNyrYuET&=p}?yE;Kc{vWi-iE1j%J6@G=;9@sZ>z zisUj7c;*j0{Qx}m1)fKdoQDI?Lx5*Nz|#QWNjUH{6nNqXJP86GeE=T%01kbC#~y%- zMDCL+yVKT)v$2Y+*|wXVnY+W)`>UhJr|0tc^mzaDaQAe7^LT&zba(Z5w)?QRc(*!o zGv9ghE$O^A@FeHmQ5eJi@#g*A_0weIbu7=`-PO}_-|gn_TQ9)H?d9X`<jYso?55RsPVEgp%gD>E(7hpRW zw0(2&7y{f60`B?)cijP7zJOgXz>W)GBMf+yDt;IMJV;gE^9G)~0d_8r9*eCGJ%K0Q zzzc8st<&xMo3qDfA6)@|J%E?jXOGvX57(!U?tqK;fO9Y4xjW$K;^5&uVDIYW;e7Yu z`sC3KaB;HraCP$dtl$AWKiRr>0Xz?Sdi)wEgCk(i32^uNASuBqhv=AC<^tfqIbymI|L!XF9$=J;|;t+j$55se&6#<^2$p49E-E6;f3lX)5)1 zscgRA(RJC;wVaF5Eby#8;dgRqHQh+QQZ2}s&CHPI;kgm+7>?aBeL0gU!ZSq~Yj{9f zep~LJ*Hqv8ZE6?Plzy9eJM388)z;QLY*}4XQ!PZfN3%Cz=o#c0)X?MTDwO-B$+n@c zwY90UwRLIHRp{$i-)4jMc3R&&df#^g^gpJTU7bSSf18?T|LEiN6k0wl8}Kbi#+9L& zh={n0KG=mWkTt|5#Ky`^jG2y(&Kvr}Ijp7 z_VT6Rr*q`W-o+TLo!wu8@b5P_-D>B&(cd5E=KA}OExjzdC{0X_O^uC-czNF<*Z!sS zwX}6~v~^Jv$ILkE&uk#prhXpZZu|QQd^Xk`NZs2T^5Ulpz7x8+d|24LyV^NlxEg)G zQYNh|-Su$)`r-A1sEvQt@?(d(nn6Q*`@(|R*Q!>ge+s3K-1j3kuBg3kpn4^UXfa=o9U~ui-s9I;x2m1|%gg z_SZF!M#y5JFY7(&W%9TWHT=C-jqOO4v0a5vm8vbvu`0Na1w6*_3KrhhxAj6zEMli` zcd^8CCDLaxc(T@O=KvK06k0AW?^WlWTGSUi>nW6BljNwHGXTM^Xyn?(^{pfSCZU=r+xH5oM^Y+M^p2>M?aS1_fF5f!G zVgnetf(uqvpOAu}FC&5qDS|@!o*AO#sW~*iV$*o(d-aJ-By+L~}S5L4|13^}_!^>@8DdjlBy$NfV2@nO5U_767#*}W9RE390B4{pO` zhKeL0st7I}7N_mtUoG-=zY#`Rw}QF9Y_Hq|WB3~#$8zd;==-=(4Lt?%oAA^%vj_G@ zK?kMD0O=-exfMD=7a6a2$s*q0~q9bA*3kzDUHf12;uvTD__td0V^2h-BYed5ft~dwey2uA-Q@nI)yk#zfCns2}lF8d2f`fHf}8G zU@;N@UC@OJanEzc%G`=w;OCLh{1Esp9VVXWfqC3 zq>?$Y4kh!yP~)+dl9ocvr0Lh{BFT_D!^T!!8=-kRavBkADqCmdCM%YUPaMG;0=nTa zAj$#Y2FvJ<3ccFRB0bfWNdrnmTe=%2*f^a7v^q?UO-SK^38vxhQ%%bXG05$s&hF(pU}AFu@q*_EVGm%570KM){?? zGkLj6_}waWY8B8#>_R-So8VVGG)NNj_Ae38=|+R&#i(0X(BL1M$bL)r`@baqdS0-f zZ}ah4%beM8Q%abfCs?8_NPd`pIY>=@JEo_iSsCJ;q{5-^wgqSNZwgmftEKK%z%>5T z5d&gFg(Pf4tPn%pU(wSB=$;;FnkJfabGsE?EA_v0<^}OB2nRdWkT4;53~8%kuoWwb z5H>O-P`YHCp%jEhrtVjC?YGmiE&*@r{gW__f_`N8|6ZE-%YOmnEfmA9>``R46r?vD zoXFyamH>?txTDqjROeDaZzZM)^MkmILIuYS)RQMz4`{V0RAM);Gc$)M46A=Ney8gBT-50H5%a~WsErqL80eh9mP zuP!Y(YLa`1TOU5v+2jTcu)(wjP<&%g1I@@a?P31pvH`T^OBEYKeJjJOL!v$vLu6Jd zl821mZu1|ZX$%gjeIPKhbta<`!xRZEJ=Q)!W2*tQi$O~{iuFNeT9qWjg>n|&V7SCN}FS{GAF z@`sVrGJ}o`AJ|#wK)R!eD&(J4h)k2F&|i71SXOAf{;o3^UR5#u@hmD_kkY=+8n=^r z*5UY-NLM5$v7XGxYSZDcU>WWDGHV>FVJjf9hD~=LET_w=Lt2@mP=|tFfg?^xCi73H zS~(ds_KghQ9-dx>Mf}RC@NG>PMX#va&%DoY9mUo9g45=C2n_l8iU>E%89brm(3DyiIju#{MzK;xmbU2{m{t~ymTJBJG_8&{kP?KzCWqbWme`&$rNj2S5 z(lmL*g|U=`*f^P?oCX;^x%H5)7-3`m z?7qN#e1m0us9HbFe0(@(Ioa;(=-uy9*LP`u6u(?E8RPq<@PQb@YEI8}dNAKXk&#sh zJ=se;lz^az!nM#3X3a3pSLwoV6gai9EQ_`TnA2x!K{@3B@97ODUtIif)E}`S4-PAY zV8`?eOazf0$mwDi(sHPF<5a7HGqv*bqAI#R9WtE(EuE8j(@Jr;?@qXQ$*;W6Vt_Zr zB}t)&iR7*hR|A>vxfSr^7>q)YQ%tN{!(y$(a(e79wFkx4s=Da9_Jsi$3jJNa$q3zC zeaQ@t?1Zo(5BpTqY!z$-CC|k$f7bTDsliLM_IdBTmO74J(u%NYH-4pdj*xVRf)pT+ z$IhF3KJ`DgGW8<2<}^-*lU!Q#^0qmuumGy%dB5AflVd-Sdk7}Je@fILeCj6g zORfwZ@Fk{2Pc^|}d;8IY6d~@p9xR5=Jxx$3;!v9v7iBHULUKlVWml17bUV?L^UcqX z37hA1PrzPMmXv63XX#*r{LB;vb;$p#$7_w5$CZ)Jf=ias$cg7$8GwWbXnK$UlvHM& zpiR7OIhvxZ)Br`pQmkm6Mo<+NGaYvh;T}OF{!HRfcop5iWq$17i_b0@JrVv>j$7hm zM;UJYh$oG277Wqm_+KJNsw=P%KUcN-$JewA>zOIaNQS3QaFzSp3cT7nH9kd@N%kMp zmiKeBBzVw8@)h!9y}S$wfDNhSp7Uq+c+t*^?#+LgK$MS!M%d8^$f#D3ahIGPoW8MX zWiO}7!BzjNR(Jb$m+=I&C#5WUNExex{enzx@YI$=pF(bDqLqA9}nlNy=wBRQWWd4L{ke4vtj;bY!dMru?)%aG>(BQ-kwom3hBM zOSrW*A-spI#_kDf0;bazUg8@x$9DTGK7-)$eO_VJI_rJTEXMq77`PP{Ny>sDMt zlB*(ENnj5JR@{pi9{ghS*oif!k(at%$GeFNIrkDNSa6y!5ROKs}Pgwt0d}V#Q zpiRGRSejSZ^c!J0g6SIZ(R8-B&*Byt9#O59<3VP#!#crzu*{`NpGAPhob{<=Vl zS$`4l>Fg5H_V+~dVt>p-e^NI+Wk7zs^i+RZk<+V8fVzct>w6(Mi62L=FS8UZMH7cEY-9YN)u}(NcAvNLnI58zvETJ~s?M5+ z_K1CN{!!0<+wJY(NtXW^X#pm7Y5ny2gu7d(ec&cCH6y?pB&gL2vwpDPFm$jPnq)|| zz)a(Us92!o2S3#FP*=b#c_tjSiobB`C|*K7+7+m##U6<^*5EX%G{dE)7e+wTQ5GRe z_4gHLCyxb-cyVCneF~J13Oqm<(KHUX{R>9%VtosW_;7P39y&c)4E86U`t)zAFRWN4 z$Ei)md3R!UNakeU!8synsM0&bkyv~0b*rb7xbqc<%gDuQLGSR;eAc4Nd)6eqjB6yr=-K#mY-4TrBiWkS`rsz+S$R&+~^Wd5EIOH#w zb1}svUC^V~*mgQCGsUw_hnS**)~#DpnEl|h7VJhZbXlY`N6eD`Y~87GVWdk}h)%Su zi!NzrnD~MU6>#-Tz8oLY1O`)p{&6KBY}09SbGYd!Kr5ctr;BQ=UqTewHn|^sj3usm zJwTIsIIyf2S>%&(77(vNj|C)|FVk1IVX(iGr*PfSZFmj5#h6MB!CRWiqHX?YvL6~asXc2c* zUB+LLd;c>0Hs!Qlb5^JprX5DLWT%#nlyE9E^VwHjr+r!Gpes`{{gTCiuTr!%{saR#yg_PX*KDMRBG zaL+vkap5Z8WZ4UNf5|8&y$0V1%HI+Sy)ELp>XlDn#?)rXkl9%h2M3@oi5<>%oH8Y7 z!-^BR81TT{PR#GFh)kyCzKPp)lR99SJjjlMgO`$M*0X*^KBpF*@txFl{Z0DPnMEk3 zgmcFSYH9e56Cdo9CuiF-1I&%vcd${d|D2*rquzz-rAx_waTI%5dT?eyCu3jZ2J9W*pOWHCdjLkzr^?mBIh#gS%}u~bT81>hqPbo-rP(`RG);s2qFV&=rxx>Vu`(Qtv>w?!}QmO})EaRpF~)F&X$;&uJa z4K@!ieTvjFBJm0rAM{#EY!BGEBMYtBv^eJpEi)KKpqSYT?SGi=)>_e(A#x{{BUJ!T zazv^3jNMSW+mJ5Ie4g;(i+!3W09$$;2lDrcKJj{u!_&_Kigf@}s$Bd~NMMLM4li1m zrT(}2`qHGcEu6bE;3ngxHf0q9$+q6tRqhFJkhfCp;4kIN|R$$j!BR&O!4L5(>lA?UHbh z=Z|{hd;BuaSX=xX!8<)khGH-`iV-=o%>{&>T|5VX#|yrS#+f$rxX@-lgs;srN01qU z@rpX5vp{I@V#5HLreDqIZ>w=K%$W>b>`4$ABmXQN zW**8A84xoeGQX?SF)sh)_=y{mWAGvTNjQRA>O%uf!5%+pIfv{8;YqO@2coDsL&Q@c`H zl36eKFQnP_zEy}Y&{rP5jN?j)&kU_ax*s2E&_r6~vivkO-DFHF?Z>cYx$0Ya+S?Z` z*V|R^yt)%;{=I^L-?=V14z(}RExXnlVYI`ZQ%(9n65E&Rtjg2YzEw<{z zMDRR$ZL({HBFX2tmLKUdH49|Od6O|!VOs|QccO?U)vrWL`;s$UjW_qa>b>%2krTdr zinT)v4KHT`>F?5y{S89PFu1L;9 zJZ9G{OCC2&S$4~Uy!reqkLI`y@c9GPx;9^>;cHa;#_?IPTy1*8GjJW6z9_tzF>boV zjWiAobY{N;`y_{Nnf_Z|C#vQb#hVv5;FIfj43Swk^jq(?yJOXg{d-fo-`3pYAo(@o zYK1TJHy`sP?Zyy51pS&helTYD88JGhE+48d z(F5!r7FBF*??&FsT^d7cDuR(KiChNV%5J4ehJ;|MmfF;|GFtlnl!U)eV<)fX;3x4z zHIbz(aF2dNXmaho1W53o{c0mYO8Ii{^aj-GNY!uV&yROn*!?Lp+EhyYTvoW80vW7H zm*)FHg;Va>eY>)Myq84^!lwG;S;e}iNGjhMD2{?Yjl#faIRDNy{h4iyKd*9H5q4fx ztDAmm509XV(?^G#C|je}_=_Na{DX=v&54HUTB6H#-M)micRa*;|88!WsAxe`18`HA zMd5wvFE9)rUIkc2W2l-}etkP<1vMqS6@eY;$!_fIr(8`bED>MizkiRJVM_H76t2=Q z>(Osl6gsa`p)~*1oQ@814(p3b14kTNhwvpmh??|3JZ-U_#PX04KS;qzzYnDHqph`H z6|0_(@$>U{S8Wf4_tW&1<)XhA_G-Z5;aIHA4RDqG#6^;kcWRW-Tz z{m)mby0VA(z$qP1Y`fIz`8HZc{jXvv2`&;0YDO7dkR7g^^eSF^s$c1E!^k+}*e5jp z9hMLjTR40ZOVlm9^qd|irx`U5QKSaHssc1CuKw6|CC32M)Sv(2DxQ|}ksFgrvHuW< zpQv4%jtI*{uM8WWS%=VBv$p)wBPtt563*T7x4mp3{mX)+Xq);+=%VG@k0s9&hYO42 z-=Py7sp)m{fK$RUn*>@ezDazg-EEnFYP=k0>u(+>_2#uOprm8ev*mLs?V<@J-*wfb zbRjFJQz#O4>zTCEBIbUskXc%uM| zMFRi)1%>s{s(jjrVOG42;2VyZj+jLPBxT0ZXFJ{~C^rHJT#S#oo<50(_U+8{hYAxf zCB7ksUoo1k(%4Ypq`Bg`K=N^1lB5|rsM=-)4qc~y}fAoB}f-vmO2Srkf9Sc!-7j_!N&Ppzp4t!iZ>j7+i#eB8a|ctN5~ zJ#^k|*i4vlT-mKqNKKL<2II&EUM0`h-hr1;YU$Gms>|W!E-7nLa!I*iM*VtnOY+~A zTiM#dd}ek3wk6i8HVB4$$r{7GQIO zR&V$#Y~;;_Dw3|p-zKr+Lks z^91+NOA>1ylRDW7-?epvBSaeuwhYW7cu6TNLIB{&Ma*Ih%7v1B!V)vV>|sj<@_xEV z+3I}8`h}=%pdJwExB>S4y3835w*x;AxbS=BAFNpCB)9Dy#(agb%$YaluwgUr^6ZHrP|AU(O4{#MAUWFG8r{0N zpo!%!@?}Q}M2SeAeB?8EMPPh#wVIL1CZssdQx{@uy~|j!9v-Pk=cW2y*g&zikK7v6 zFzQHP%jJ{t8Y{aCz4LT23}n8g6sYARZ8rAQviQ8a^i`j7!SoDY!YLy6bv9WScNO}Mkdwqj)4Ie`S!8^5fy~5 zR3}Dr3nytVO}v!N5*k+2uTLh9EBDd3HxUV|ymXPtEzY-f0GJNAK#;U0bBYI&?F+0J z+7!==37?Fo$FYWt*}O=gLk|!H?hWtpgx*b5GA#aT;7D$bldHt-+TOri;Fb`iguu@& zj8ZxMQ~8y*wp>LvoNpSNg;NE_?TWUgCjQ9lPL68K_Mg--26O2OUSXyLrqvAUXH%cQ zoauAFoWrvCu+9Pltqtv|b=K@&^J=)*Sg$#e(+HX*N zoySC+@j!bwhQzH7dFfz)_96A1aAZ3CyJ4NP{3nO=&!wm->2L5t-X|TSfBh7WFVmW* zs?T-stQHq<3L$$t#Xo(=-%=AR4C{Wrl1cy{=B)Y^K$bBs!$& zaKNF#6fh(qe$gvrj2Q}9HkY6tuLntGA+uhcvL0A2uF%1e)pthyy=k_l&Sl5oCg*u{ zaK&2t>6A#V&+eSC*-DY^m>|(Qj0um7n~UKZ&$Jn*K=fgMKHEQ$g*#kTbnn8CI??bR z9?67n_wTWJG;6UciiI1jElTm3E-PL4FkpZ4VqU#z0qY7d|LVD8JqM7;(B(8(4h67?)lpTNGpr zUHD~y2q=j10C7_A{IknYd>wtai`^ViB`XVNrG4wcMPa|L!89sHJ*2}4{x&gnY?!`Q zY85GqFSAAclWzkW#Hpf+-VOIghkr4kkk?4^=C-2hg*EAtirhW^015vLGUv(_x407x zktd`Rr8rvgYTZ-L*X%_sC$*Z`_ty+VAaWSjH_&1T}!Y@A=;S)Y|S6>=R_Y{G~19tM5#FPMc-$*bV%{}O(0(bt>ro9*IB@$0&$ znsW-*>JzJLB}mhNd*5*P5)sh^oJ{_`!`juitsn`Oh6T7^UqPpRaPX@W%2QfV3@TJ? zDBqsOm3j2(w{d`z4(3NbJgf_T)fYIvz>_|WV>)vEal*VX476yi^`i@}E-6XDw8FNW zQaqA=XktKpoyB<1-Kp}8e^Bo=lFNdS?!DpSipuIt0&6WyM(|(CSMeNpSD_7CPZ6&i zy#PhMxc2lsF6^O5aA?Z$@LlQ0Lj#*v#rX73br~8|oHYL+UCiWY`F-OMei*WxpBq_* z{_{}irDcivPwt{y4rYf!IODD>rEmnRyLS5L^huNt*k&?tF6dZ&?#l|2r4QFe!()GP zUr{5~bf#qtAXhYvSa%UpzmelLB8uR8bc$>_wK~1!%%;ETML2jBp%(=nKIRulV^(Ch zex-^I_&VmAS+gzz-hHkU_2&J`{l6c$3ht9kn<@f7D)q#~*bx>sTD=!a()HfIUB`rQ zw;&&sI$LkJggcC88kVcQ@GvaI-KH@p12X_hC; zUcX-PLA9!g87greF1NcX05yDDABay-Y9Xm$rRAB~ty(PuR_~<&UaEJEi;dlb$J(ee zFf&vj{V)P|UkwD~_3fwYDGq{;GlL53R+W~ezmmkVBdFjXI|4!|+?wUOLx!W0!eTw` z1!s_=s(}Dp_AF4&N%Ayu`2oXg@+1K z!Iiee0Ktz+H-dAtpjoGQOJjaxY)j3gkL6;Z1jjmgWc(OdKvAEtx+BTGT{?Y;I@v_#T)1@AeLk`;$U!yIAO-1Hb%rO zfyg`jclcWmra56Uo&H>M2$%*46C6MM%6Dxg0r3(T?lhj-p5V5y6YW5E%3Fd2tNcvDo}A=Fdhx` zaL_&K&Wi%+$~llZYMp2ARnd3FObOuLYc(R7u7}S@~eElUOUb zqm9om>KZMSI}#c70Yig7Lq)8v`Pn7H>PngK_HJaQw1YJx{+0Ev51d` zr@k5YcnU!s_e5}d}FJc;-nbhbZ5QZcjpIXh|-@T%|_u`hj^ zKxt9)A`)b>^mk)fNxvVKR@4O3%c1<-(ob{`pY5IzVTS0aE5gKdSrC@rzy5v zz?K-!eo0?q-6R0VJEWOe>8?MZ-I(|((++T$Oas@iv(&TP{b8WPJt~AFqjJ}#yz+|- z`rM6vo5-fQ*uV8iqjBDV5|{3lZ(<5jG+RHiD5MtwZ|sOsd>**D-)7gNWTMU@!-ff7 zMI56w`!Dx52~+xVNX z%>LOvD7DBG4WD3O#PIRYg#O=UM4}^H_AL>WKJCB6#h9wvT8XCE+pQc?)OYkrznbd4 z&ASpyYwm?Og;39#T6`ZHIuK1hF~O~}45?e&-H$LRvN(C^Bt74Y3f^~S_oUz*?Igh| z3Cyu-v~u9R3)042H4TtsBgIH-%!fL(ie$MZ*43ceOu|NQ&TSfcu$fN zKC_D>nOaQY>0bR?(K&M->jFxzF#QEC4JF+Z!-ucS22+v8P>Z_Kd_sn7A&d!8xNOq6 z2H(%tXErysG`MpkeT2%lR~@0(G=;{jpds*vh=kh}0$o+hotE}eg>EU{2I#y*-KhA^YjsvEH$*$Q+xjRPOJ~H=L|1M3j!E9)5?)2=n?$P+Y=X7@V z8UJF$%&4Xwktj#}how1*6<5~LVLlT%26T}++^T+Z=>YNymct`=7JclJgP)V65q$ol zy9e^ibw5$ccNxRQZ+4C6xh#raFXr+3;t&?bSt?JXL8sdL<7*t)KiTW;Jq?PHmWhp7 zJH+S*;hYR%_>sr+NQBqP{HT||w4p$Ye}QK4+rIhfN!L|M)2F|+uVd-KhvCbt0DSl7 zFr2z!ybIrpkZGQREBdVCJ~0BE_)D<#`QOLLOUTb*jyOEyda}~|7 zRXix&wnHjb{u`*%qHD6Fk0cYC^xP#Awee-osdr6Gfv~+Jv5|F9(CWe-mLRlL>4T;d zRXCy_-IhjEd6H(LB+Kjv7<5Hub%hT|4{pZu^<1!dDkGSoh2i$*0Sw9yx^$W zuNSlTII2${rno>mp>&v5KHnq6;P;)~Y_6d~eOl~QD0MIY0rHse?X=EuZb>0$Z`u}y z&dg4NS_LNOylsh#;TO#`T=jRD?R3;KhDJXdqb*r$6MvFCE)q5CN{kZ?k+(%uI4+(| z()eJ?V;#KGgU%Vqz**r0`Q3)BqxDkcO!bQJ7TKU8_kfwxD91Mjy&Tl*!0*mK>yEd# z*^X82gG-!kDQ2@j3lx~-R8owV>l8nkqG+H`kd!iO3p>2zHhdvzPyJSToMx`cV&UKz z8b*9@CxN$(TkXtaMJ@L6_M;oZ2caFXI!THDS6K4xR5LGd+DA$?&Vy~#j&99Ps(_~T zE59Aqc4*}!sbi%rrfvq=qs27+S2$J@W}`>RH@Q_iDhteDpNPhv75$O1RgV?M1B(Jf zcCt31TXji_S&BT8N+TMKF)*5}j8t)rW23ag=0`^K2M;l1CyMrgL0Z5RPMp%v09cZ= zYaKp5{Au4wTBJu@vR2QG$^txrQcHI8)A1m3h?b^ZH(UNk7ps?MBe^?6tKC@myM309 zUb^MVAC7+{yWixye$=Sj*8CH8k*Jvbgb1P;uHAkYN}e6B2Fb^cJj8-VrTxOtZ-T^| z`!`}r!c5sL(ogQJS`Z1Ju{SQ_mr*lSs0Ouxn6u-uWaz4=C9q|tA_a~l0HupJGQ!`}LjO+xi6}3yP&7#@{9~rqEBU_C2kN`w zBTUIN%$}A|uk&>Of)DeL)Tz{+05mgI*CH6F45rlJP%y@-^y?MJhiJ%Z)b6fY4pUYy zm1X%@M8(3{LZ2ZT!ZI^u7mahlpNR5!m?WUJJei>2d(o+|TMP@;SeJHyskRVQCYcc0 znr=BeyGRX2|Mhz{6Q*Ku|KdE*GG#yYPJqXH*K2h`#h<-jMbX0O# z$M&_!2N-7$6=_CP(zMG)yNJ}$uw3r;8K|+}6pDD;bALx*9s4VAgRjVik4aQ7!kiKQ zy~$Ti(Zzyrdi){cfrl-fP1kc%8t?g7w*6D+fWe$3CW-BdNluR(xQ|c^`d3&QQ^yS& zTUX7f9QI?BXWYLIDDCZ&Sm-hQ+00FEt7*U&;{7K-r4Pd9Awsb2NSZVOnFh)wlQau_ z!fjVXVEMP6=?0mV4!$-#C3KnjJ@3y-*a!J;_1dS`hp_rpcUoRolO$gAkxwvB|M^(<9e-}@~k9$xlv z&8%ks?qI~|U==NKQl^U9=|M&w85?Zp0AI$~K?OSuoARo{twnt|kmk4^UO}{*+k{`r z6y=2+!8g&)FHGtTBMoc|@_N5eB3>o^F}FhA$_hlju)m$?(|nH;){hm2ncN?ilzUq9 zZibA(IB-c{?0A4xgPOW?nwI1P!fGHlx&sc1FM_?Kb&BHsGPwslMG)e#pPE{j`dpB+0>)O?AB66wK%o@v|g$-3!NSP zX;i&qW*%HcWEt<|GH2_3V@zBh?Bsb-(rZSDAiw4i`)1x4);g%IUht(izEMr-SV-)I0w{=@OB@=v9*U-D`5w< zdj+IM{#;9=a`~O;_{I>)f9R)h&lrgAVDF!>4oq0;A^oK|78zS>TApP|@QJo^<=%1O zpy*wkP)LGfn!dYD#V?)t8OvS@X{Tz#vkPU@Gy$d^+R&!)*J?Mi)=dr|-#8DlL@Dlw zet)Fn`NZR(B#CMLfmX)%=hTS1_Z2zRQAwIj9;d}EMsB!`c3uGBocuwF3!Y{nDPGNK zzu-#R5i;kcksI3RuALfPRdlTPkHpA24|vxT?@!mXjc;wB6ec}Md`s)piT1@@rTILG zac>jjHGdUMMX1m&OQ?jrRkM(Ffw7v}DuLm?sNt2MUiuZ49gj_A-@#3W^~c!Tf^YM5 zqM32`g)U#uilczbm*uof8Pw9uI3v7;=KjLJFL|$BL+p&N*spm=1tlrb5?FMeK9<=-pxt zUI!_avtTzUhFHVc40BaH2Mq>q=f|ddX#?akoSxELg6teB-xvh#eP zKQMfz$}HF6&iL?G0y`vq*;$FHA~%KQjEiM@vnVSeGN% zGi##AOrYGsv#tS^%%dX}c?^I_M(fY3@fm=(x}=caymIS*6)0iM zWDsv?-{EUxt`vh@bs+zC{oO#LQ{n8*R~f|mIAPB7*Bc7RmP@+MfW_lDg0d$J0e=sS}lansSt&&Wyt`EkR|# z`dQpMG|qBOd&D)8bd;#05z2QcwA{S9M|PRVV$pv%$9-|@d2F+#(82il+uz?@a6z<@ z!{MJZM+)LJAYqudqOG(2L=WeM;K9`Bn@kFm0O{a!haAJ=p4Bc}S5b-y+>~#@v${oV z=??ZZf+G7K0%7fKScmE*m#0S*TUv#V^w=J0wuI>;E#PpQ4#B)yrMb*s9XGqma`a?F z1BYugQfFY`w2tn3=PkiJYPfwxW1iB`RDAs!UPP&cP~@A0v(k9+1>Lh>kB;nDGI7RZ zvfEo6ic;N?qUYJF)>^jmO{EQ=YsCc>U@jh|V%U2#4qMD*su^8zR2%rd2U#Wxwphd3M?J zEo+V=Ro%AqOv{ZSJb&JJ(iKOEI@6MxQFiN=NBkVN{Y1q|h`XZA+8#giz1{O~9cu=U zOmH$yl`Wal`IL%T)^T1;)C+6-L|XJ$wWOYEn`)QYz)Y6U28P@#$ZtK8zrDpB{t4`Z zgNmr=K)AmM*FxI9lTup+0lMu=jR$lE+}?pGjD&`IFS~dI=I=kzQa+Uka8F*RJ7p=X z#psna3)km4zwD9Yv=R(T(C_6EyOG2);?!a_{}kVNZvVlz`SNYP1KdT(k#KG7&GVT~ zC?4xFVFpq07^aq}n$%@5|W|LMMCEkKd*jdCJ`1igdV2oCOIlm12Ic3wm7 z&`?|=KO&UN3|X14JT-%1R4zO1b+~84F0Ch^LGr7qamjQf`9Vyxa`%IX?;hJ&=wx;z z`Y>YC-F3n|nsP+&^)vz7sAaB4Pw>c~RU7oGK@wWkyxT0C`?IEA*Wiiq{CfoM63=jv z2|5tM{$re$O2&mpm`5q1@syAO{90`1v$F?*Y33Z)`;TY2YD9_`;un$J%!oj-sXmon zjZx0I?qXbJY`)k3MoQPHyJTNbHcN^l?LnU0@N#Sji6~OWfv){i_nLBYz}vItRfO)V zEt>Ee=UF~tJ4ms=c&!x~JDhfWW&+Z)ZL1CZ)zSmM%{M->d@nkB}frXv-lP|>=tXWr*QerPr40z>0_2EtWgpK<~Z*1WPa>1M# z7Rr)qcbs219$;<}T8FlULu6RmK1))VTCWZJ4zjq+%ch2xUaRHpkuSs29|+nc(?$6R zW?#8sMv(`2zo2)rH9CzSaFk-V`sgzt6=XF%y%toJVL=fq7uQ)9dr)HTgzhu>0aaIR z&{nPc`RcdA!L`i3-sMgbcYk+wtz-7Sn0&lGUn#o+kAR)5<<+|5 zEsOXHKCCgJcDh&lIPGh!ovvv22&o0i0EjqS4jj~AC}kljxeZbpVr%X&d}lu*rQ%Uv z&%@N0=@8mHr;&qdC=D*G@FnELP~g;$+9r^!u)G=mPO_*34eaV{zqlGz!Il z(&M92evq4|5Dj0qYajL+Ep5=P0zYWjr_=r%Ks+$!a!hKd3v&w{Uu*;^)^F@+8X;8T z!2ybrox4&zkjsW}7!O|bF`={1Q9FupwEk}c;cK}B2omf(tw@-Gr}L5%7bC2`x}-(e zsY4Upr)coyuS1rTQS4CqpJZjvf9Y$t$KR0!xiow7-28Qq`QjsFU2`fiz^Rfb*Exe8 z{>s#=Msay&If-jgRnY4oCz7pizHVF8ZCwi*LGD!Q==FYpq*vm%PP7%1Fn*m{d>Zb* z9K?gCl6h9-?nTV* z_=!n9gR4+j4Yio-Q~N!(arpNb{ zCZXspuh8Dz%4L*1G!5PS^Me?zkzoO?APR02Fu{%*UfC_V4U5XT=N#Byf{Fd3)K6UI zrCeqVRhNuA7OMQHs+mjDHx>Am!a^@Y{Eo;ktKEzC+S9#?(fl&V`lNh=(R%6jecNG` zfY09SASnBqny)}=H10g42<00(&}0@cBEUMT9C`Z7R4xhiF)mIpyCa8Ok!4B6LGAilu@grDelGXe`sub%?`^qVJ0X{9x|eJ27>8dlg{WfE&(JoQwuJHmMoH|4u{mmAmz+W^tHLk4H2dQ`BHvcaMe5 zVnFP+(2X^Zt`UOI5=k0;gQu>y)$ZkSlJ`GKyz`+%$z$ zxFxLSmg8xN`%l7JbEN zg=q+X6*q|0%5!lAvI4EU&<#pLD;b@7u6t?dVyoC2C7>6!tWi6_vnn53#lUAS1NV)G z`D!yrI{4+~+EU`4w>=>fchMnv<8g=vfmNiIODVq@n#NPVisIh{!u zJnhC}2`RTZ7jo+eyGl2RDt*Y>BbLwL2_8%caR0SwmOo20bBdWpXnw zXO@G+vk|@zq-?Kd^>YhUA+OjJj#hxxs%PW&y!3x#tXez)<9B(c9-hp_Zocha8W2GA&M9L&>l0GsRw1RAVvAP8A!!m z(PC{=i>3IgB6t0vJVS1dhO+K9t=*y1C|T%s9UWOiBdmO8FMY+bJe8yf?Z0rz2Dz!L5>&aZXf2Gm*X zYTT`>XJlL!v&2ha8M$vR(mu)e011S(5mt~?qxI1DMiMy~EU5-U_NH=FGtk499cC1K zL5ps4A{1SA#WI9v4x#3XCCjj@FO+8>kCPV`>j}rgy~*LYIx}Z~)S`fF8O|H7L4uUU zOF@I?ik;04$@xR(d)cJn8j2wRi}MS%EceQDEU4PVww|y}W@4sJj%ilJ4}2jYLW?Y_ zXkg1L2J7cstM9E(Rf476avUK9R(2{UaD+VG(r1Ss8NF~bA{_w0ZmO<+4y1DX@5K^M64DU&9Iiyaf-1N z_61iC=bc31BU6N26Jd4OWm=3%j@qQbMpzUSc1FE%dwaNVU*`9?Kw>S`eI08;=*~?+ zy;(xHsN3^=W*NnFmGOB3x^RSS|GfYffU=Xj=RtRd5(+C)gi;OE)gLv=>gWmlVT@H~ ziRVz5H8L!Zf=p!U81cMI zbZnJ-`$9(5z|-`zH{Z-)3ak|OvDIoxxsM!~)zPUMuJR1EV1nw`g=)xFN2nWYwHKD_ z=Jqy1tX!^JffdWMp8T~QmCD=4R!3dy2`2{a&Wz&%j;)3 z=2;eNi*2dMp?+ekh~ka1uglKcTV+Qf8CU>|ch?TSkX~4Mv8c)UxZ(Q$^@FhO;>tEy zGm+3K0q%rYdF(aXA*!-h;n{;HF90<~^;#^mI6#SU&rc5+^-Mum2b^Syt3UZ1s%&R# z@7k;o?)eKszm?Uhft1Qor>J&@Di2ImKoy%c9c%@b4c!yDJM_7E!nNL=X_u_EACzgR z%-vHV0TzqU>XbdpJkD6FPM^^4(IS~kNrO$+FjUk~TqKJ_>mm+>H(?rrDegBGFi$3@ z>7Cq?R@1LxCQp(p>D_~ztG+?b}S;k(n^h@!IfHi!gebt2;}7&m=MtJ$dV2T+)oaD z2U1ph(fTUS#O^D3(Y$6YN$35M|`gHXqXsQmu?VY{@>iYY~1>RONOyKo~5Kg~b<& zKCBdRmdXa4Ah6;xW*1$o1Xj7KMh-7}eAt>VxCY~O0ER@yY|imXd4|UAt)O5v(2~9C zLM>zFxrG!pS6S@euU>I5?BqB!evCE&RSDCR%OOeF2FaaCi1ET|ja(+77Jkn*YgFd| zFYwj2+YQ%$ZOs?kjmn1966y}Q0<1_!6Jq`TCfC&z>9m(^t|G=AhM{4X{gdt4*BLu) z-Iq^x`}YxErKbKtC&yJRqZgdXCIsnZawwyxhLD6#_Qy8fmTzci)s9606gwq^iQMHy z?FACCjCM;3%V$?1vLjSWVOc~-9ig)Vz*l?Be5TSJdu0H>I6=9qyfIfgL5x;ji&jPk z3u!xCL%=mnN1qH_mv^L3&mSz6RiAeIy!T3(L?3zNm& z3e`&cRzJ5bvUdRmv`RD>Wp&bXRWdEAuWmFu4{2y3_aMs{%iB@nrgOT^8fF12>T&?o zh31OvGYz++M|ONFMvHizgiiP?WPZ0$?l%)&UH$#`cV#mpu#)C1-;huChVfIXBjZpI zu7^_K1#__kRND7VXXH&hAsL;{d(IUE;SqUE5Ap}B79w{{*LFgz*en*1VuNd7k%m@_ z46b&#F6#luSXocsCTs9lEusKUZ3xMc(EK1t9r#e?SM`MZ!Pve`Lu2dfWzVJIU&<)+K`0^4^>(Oz}2@qc^1NJVFmCy<$a*l;9Q9XrxN0H28pA%t)?q>_r za4{Sy%oSmK0{8Z?J@>vr=H6;T^UzmevM^bskx~FqcVq@=Z7>}gKvn6q0u|syIGve>AXEk zEFvwJz?u=gq@M|`%sl5B5mprqU4YD-^XDUR_mXmVDDPf!&(Q3sX0TORmgj`HvgT`% zx3jaJ23S_($YC8ly+(sY98cCc80#=5FlOF4M?o|)PRp?omYG6|>+N7G)!=J{$Q@1( zqVl05EXRYLn9q6Q$eio}5ZZ#7Mr+kz&1_z5R{UO2mSm2NK)P(_jsy!s zH3iUDsm)F!-)kr~k@s6#UahKUU<39VWbxU~aaX#c9nU#~z|CcY4IR#cvXy2#^DJeXNI3E>asSO~I^y0hvL89zae zknoC1FBpex;YIC<)!6;H#S=CxQjF!u=c3AbdWcaX`P!=$H;J9`gBi_Bh*hdVlf}(x z@Ku~&Hs(%bM?4D6pbs=pIPsPIRnRp}i}Dg&YOrP*!W*zF9knSW#wyTiK1Y1v3klxq z+?+JdZYTvy_09mUx`lTdj9InQ;A(n+bP$sRPAYWY?1?ZQFi%!1>NnQ#Qr&07&a{BW z?MoUb)`})r{={xskHhY2p9VIY_XSuje8v%uAIu=}8JB~tY8pDIDz12V;Q&Kl5v>!y z??Yxi*=Lk^o7lD}2O$47j{!UsyY^X*td z?bIPz!Zw$A3BIh&S*A|#Qp-oS5W|J4AzSr)#OyHcTCA3OwR})!w6==q3RH=!2Jbq+ z>DIvTC1qGRz_q$B(YwW|1=JbpJ{hdhT}}Uw&{qxLuWrEB-wCkpVzJa#-B-mJp$oEn z+}Dr}1PQM!dk&l|e3o%%vfv~;(ur5gw z>IAzisdpQ-j4dHiG_(=cXUb(Hu?LBCq_;CEbpyA#V$yGkF3)eO6>S3--2WV89^#96r#U=>yI zh*o=1q}pr_FQY5SELryp4upPD`^+Ly$a-sxH6r9C0hmh+Ssr0L<=oT;Tv_a@utHwJ ztv=|yfQhfBpnfAptAQ1bi!fS&75YBN(Uv@KqIAbz!May9+JzE%%l62Z5Dm0*Z<>&y z6P3ANUJiu?<6fP+Z%5^XbC{uoVXzXdi!4`iJ2T-@YLv-wcCY1&taC0o_kLM8ks~5t zYQxcL{19OsMd+UTRF2Wq=i5xf-KeXtsmReK&b+wgEiOfpE|7UjbC~qIt=` z1FnkuF3v-^w?5S}!gVr-5bN%(y&Fay+Vw%n1_F9MW|eE`GC}wuo-m8r2|VD8e4ggW zxinO!a3n@0N!$Em!x0qZ2stE*CDPD&s~9ccPLO3fr+oVk@`l|JyAR(`jbFYRvm?YJ z%!0Tg!tz=)?sD%^qs%kO1$C7N?N#FUSrs&7H*Pn|f@m0T>_wR-koq~EhBpbOm znbU&$Asd92-5|Mgw_O9MVv1^_b*`?88u zQbf@z9sD27ig?9T#au~Vaka%-ZeKP@X72!1DXe^XCe#tqv8b(ObcpTOP>x|eE5PPz zjov|&tFCYwjdtzNVBR(>>K>kfqGzeBWSZ*?nMKIVILws8!~?4~g;dD^hZS(uLOD*H z7)wwg@1qTf%;?Fn1z*C7cP_@|Kr}cnXGM`}Zu}oBZw`POtQAjqt2SBdVX)Nu%#L&P zL|b9;5NEYCH8u;!H%nwekIIf3v2&fZWfAbocNcM1_NjSB%|Q4rgLN~GF#DUzX2!vF zw1jz_?5^qb&fi_mssK-I3;7_p;yVUQNHzV8rE2>=K;=a*tR{0pU}?2d`5bDr0(aZ? z$u{`gg0E^Cw%pKR?K16BP_-Xc?iedyW^y`^5HFZ}7_2M+l`qlN7;AVewk}9`Sq5R% z>Ksx!Knp)OT_K%S?=(V=g;qYhVX)ZS`9qVH9ZiE7=RffzQ;4XqZDrWCREN|2;}F$o z>nGGA>kKV()@(syH3Mw|M_IDGXvl^i>kG3wpO@QOuTJ+8Ql@hVuE5scCTwS4iU~XH zvK>HxR@bz2k3(E|EDI=xzsd@r$P)4jq!POSe)sk*1SzYU@UbTIJ7YkrPIB2pUNfTkQ=(3gw%ii087XcRG`{Ny~6`4Vx1+biy zBfcu`E7{=62lk2>3*9IYJe2$H=Y&|bR^tj8bg8itPfh0V$_HWABy+Oa1;j;@HM?Qq z{9>sD)R9FL%H8dUm4%54yHKrr_9H!E;MEoMl)jP{jT#HSfuOyd`*Y?#=T}>AAFtSH zvL?2sF>;>lJrE8#I(LN^eZS3EkU^)7OQ z#PWXH(N^aO>>ONSofjKY8Nj6%eDvN1F;>upV5W`Sy@zxE|D>Ve8W=&bg}HjXnFAqu zD( z_&P<}S4ZfXQ00ts#3z|E)8nX6y&$~OWO*3Ot;{`gEV1?G3XHvZ8&{~A;$fFkpK53r z(w5J!+rSU)9#Sjy^v&rw=MqgaZ``5T=SR84)GQ#S%v}xE23G4M&V_KJm@KL%szr7; z(DF36H6!YG?EL|hxu<_?6bb;*zjq?cHre(ZgdaEeUBqyYrc5t1NZ1GLthy}_bH#~ zytqyZ08#h5H3V4kfAH>>P~_^02PDd30!5F7hxRN|-j@{-a^iJ7Uwj}b!ZaH_oFpL} z0|txbi7;867xvuNRDrPXrLcO9uA$Icfhz{722*nGQ=lW1JQ~sq>y%avZIDcq#M=Brlge$V&&Yvzc* z-;f;-_^vdA4Ay(#N@UH_2@0%7dFWtEO%AkZUh#uA9A$`VmL5>GyQGzAXomz$>e)!k zwcX6K11Mam{A5Ny_tIXqrwm`yrD$?FXxwQl6Ii+IS@e~_YS-?;wHucQr z^f-RjUa3QNMJbaj7HSqbXVcIQHd)4~hJv@^3v-p*%~yl0Mcao%1W$j{8QxzMry_DM z<9^k8`rJIw?#AyRi%PF{Ja*!)q1M#t2(Ui$S5(L_6xp$0bS@&ma=w=XR5OH$a9wwp zRUKAa%kZOPy&7n3$ux*0fW;D1@C$gtS%_p>NNAN;r!eJjpI&~ldzp(;Rn=Hs5n@qP zuel<`Vz--nE>~K(2U2;(Rw0`aVf$Y_0bBc1Hh~{J$gcovKS#i??oWNb&JO1uwaj%y z$=BCM*9V8!!O~&)Ek_a_M}d_q&D=wi21dOE6p=hZJEKij&!5LKt*})*FPWtJb9#?v z%RoYM(3K&t#SPdggbhD@2b{27(hWZdtS;?UV|RMWaFcxwx?mcnci&lu1(17QQiFNr zo<5`4tFG5>uk*Um4I*);-zWi=oj~w_%CM*?42hK$V8MjGGZsr_a>sqm8u@!ec{7I% z+?kt0Q9Zpzd9+zw^@TK-QQJ3D<7najSa1bh*3`QNRvlEoOkw(m^Ozv7!jN8WU0w!7 zTf3K804eKZzCP`66R_m=PfF@{fmo_@KL6)Gd4j2bM&b9_KKK3;k~iu0kt%1fl@Fdh z9+1WB%RMTe_ldIpRag;WMd$u(|6u?6>-}e6U%Q@pT^|Unz7GN}Al7x*?L=+Nzf(u? z?|=7f`0wZcK4i-uPM*Jf{xXr)%K$78I(f;?`dPYxOFVh!$dC!RnEa2?5$E!G&NZ%;;J3ghiOe6R)Q}$G+RDMkDqM znr>klBpb9_W^>+VgCL!`aH>K9*Lr|`U+XktZsV*@=*0y#P1t5d04rT(Vy}p;HZf2% z>C4MZ4sEdF0`m{3kww=>E%#z=Vx|1P#1URz(!Vc@FTpiyH_-ajJKJuN#4WZyr#2@L z(@1^6z^~nZ?tk&*pP%9Xgc9ouH*QhIid||BCsjIm@`r!%1fPRXf%LR(AvH5>R-YvB9+Mdar(!8=~pG#uS2P0H_EUZ!LLFn zqSY_a$=dk=Y6XU^B=7RdEDJ*6)&*Gho6zJ`5X(u>Kvj=iF6+2Vh(Ik9b|=Af^QtJeIA zqpV3s9@s60-OLG>BJu3&jpLx{ETSr0z@h$^YOq@ssXFzWaKh;%p|d*b-v z!^cmYIC1>MUsr1)hmpdOwlvMzlf@l`0c8367=ElCpv6Bb75vjOrv`iQ+^Gys!LHEj z)WK5&PMm{L8Wx2H$FO(A+)VDCp0;RfM2@v zz%QYr#F;^tNy9~{!6xK7fNbvjP51@9id(5P>_a^Eh2(i&Qg@W(ase7e*h+I#1FDiM z=|r)C$#ErjBiB7ekwbJYMyA)fob{*;i50ajvCN;U$e{11pZw}|ME@1JmAe3Ufh^=8 z^{NRnOHY*Y#8>XymRCA*%9nYGQy~`(3!_}tfmC~LzFkHgM(zrmPTY0;t`m0&O!`@v zgLC#Qj=b;uwJ{@=78Kooe z(PKz10awZas0r>FyE|cX-+|3d%Aq&@Cfv&2cJp>v6>H3@!h2paLF4ARXQW-Oa0z^>n5|=0cbSu`ITGbAv_>!5>F7vwCA#8f2<^1HJaR zQ+r1X_g}%PFbqP$s)|>hA%sveY*@-c6R6Uh{iIbGC6@|kZM1YDo$l7vLDE$Uz@9sM z_8d(Oflk^3^*r2B<_PDD?(niM!o%y(jrqw~=ow;WUenM>Ns5rsBjPJ#q zxmVnWkGlWNeP`~!zqqxzZLjJ8dbE z%eTF_!@&gW(EbqX)`)xDNwU!5whclRq+)MFB39pujHaXXA(7)o0vM>J9MkvRocJNC7IBJHFlu3Dz`~=%;9e~5EdsN|tmIRHfvE`9%y|G256~lN4P9_99{K?| zfzZK&rK29i;M$c>!$YbF{UN#*hrR>uL?*cB9t8XF!_We;mk}EA$iw&Cdk=E&J@-C> z#sJMDm9(VEY?OWEFXH#hxsK5R=x&V%W*^U0>O%D5MD9wb(DJG8u6eiS_eFesD(ZQlxXLn zbjBz=hv2a&pHlXP&elMBDL<1+;7kdwWwp6 zwtLlREjTY(b_Yv#r#=Y=mU1A6tewjs&D)nzfPhsOZgcmHyt2lC3ajWFht@4NfDkME zVy&<^(+L*9)pr%g*%66PsAAxTWSGTbj@ud*I6p}9m4HRITVdc$A{GM`0n3vV8Bn?J*|r=z^=qC$;DS8(_knCovPZv9LNvOgQ$8Lpgss;85Z1R0z(w6+Mum%+;%IZa@)-MGsK`ut;Qt>GcSLWY8Jb8WfD|-+vuNj zbDwL^U1kWe&@&DZ8nA{{ocO6Q5UoDD$LnPhtq4}fZ#P&u`8{wKTzU4n=U@1bzy0|y zd@=aamlS$Xnvq?f-uQC<^kuXjN~2ffFQeyS^6OX9zXGr{Er?Yn8xdA`ggKzWiJW zt*nfCA_tXT+^P#9-P2GHP`Fnn)pm?CVX`U~puGUZ=@4Xv5S?hXMi!r`u%BHDqx!wC zegt!fR1k|Hk!rYKEsHsDX-KgUiw*EfnHif94R9LFb&xa`pa1e~;r77HDzuVR&%f|H zUz97bMra$wropjI@a1_UZBwZ2ju_~p(_q;4s_<2Lq;W)V<&VWGWy&YL9@ZENjhyqC z^C1-j`}X$v^A}!y?zO}&$o2UBV4sORwb9?;=51f*?TcmTh^KO@nZ0BBav2=Fl_64j zTLa5D5{r6+i-aAuz{W<{6>&}H8DkUh(Q%1|qhXXr7ZykT9CWh`k!rXF3qE;W16WAJ zGQqL~ZPXH?th58e4PtMZ`jiVyK{vvZbNV$N6Si(@G*$6AHAartx5G=<}(jKN6tFpnbce;PhM<^<9C%ejCtYqw;lT%e9P0^igellx4 zpM-S`2U?AuR;^niB^Gpwy3X<_YlV;sL*N>pPpw$MyRRmbUbn%?p#(TYk#W$m{& zt%y}`NTZHPO)inK(8xTMz@5)7`uqv6{pOK0n*Kl&+U8Tc^m*8-Sx}~Ip+YMO6sR4H z=R}ogq5+LoM}n0TGWln$BblWIFzi1+_mp8P$ySnh=0g(rq*C@#Z-RdnbSwH#ih-Aad7uH?ul^_rDYItpUBhaI@B0d0L$=_Ata{gY`qQ^BE|?Bo?H~G-!5Jw0hB$N=T@dp70o`E5|C+FuQ6>>BUUhM3XxX zwo%j{2f@T%6 z&9r#odBavw3;f0=wf97;C3%%MRDFyvtU?JW1ro1VC0t(4H(_O3%zZv?vTU^>T_!cw z(l?;h1|FuCbX-=JL;Wc4_(oFIF1NbpX%lY$%aJeF2-Bq%3U6lmE~RGXSNbkHdv_m6 zJ75}|&`K5+p;Y#!SMw;oy@nl~#v_JJB+br{E|SF&(4ZCFtI4jmrt=>LTdm2`V@Gz; z*;Erw=rxbfSSP)TQJCgbJpNXIT4QFh*t410(0wv$FWsj64zqv?YAp{(32F3zWt?1t z1u$e*hkQm=IvrX!WWg!Gx1hPzt;VZ2*PfA4hy>DMZ1=n~tjpeH0I`f#8WsmVI$`x) z@q^HlIX17C8L;4bjvs|#)gHbEJGXlN3zA2rX$KLG+RUH(now=W@k-mFNxDW~f*f)nd7H#ydB}k=8on)(C9QTGJ zH@RQ$4KwvU*muli$4nRno5Y?noSxv5urBcX%OO@zgQV-sKbhPv@k7zWH zTP-~i&PS6AXRYF@?6&*0JaB4XVZ@5_|CXYVDFo=aL=6vb`5?WagEmFDojAj|S7I9{j z+M8Anyf~Tjib^%mLo}d_9F#_w{`{j?D_>~mF-lV`YFcTVT!jv2lQ`CKNx%pt8aw5c z(&!wWE~K2kN|;T_uTY4lC%2;clSE=n>wtyZ1M&P*H6N~SuC8ou{?_KeEO#{IAmM2F zdD(OI0nEx1m&@?VXjNxa`6^uYW*L4ZR>3fKjpobH^Qo1%XEv-H%gIkRb=BQPXFYs2 zGkCZ#v;q_wvTc-dL)`#^%ogds6yO91WSGl@KEmX4mk{grQF`?(pMup2aXMYMi;36F zYDPgHJ52}7r@+lx0XRtQf`gmNF$0+qXFU^iKb66`Yk1` z!q+-zt*)%@+k{l16^zBcS-p9c*V16?fKJVVqSN*nZe0vXxB?i1mes4~m6fad7VL0T zqgLZ`mHwpA?uTH9D*LC$DO&nCMETn^M;}JlHWx~&Ei9bq!zBftgNzhj)frh1w^nd^pNwzv)?va!XzT8`Aph+y zchzkun3ce_4zJ$as3o0FrnJ>PFJa7bnUI9t-&w^$x!HZUSn$KJiVT&tV{!ICrd$Iu zJUlU!uR316AdytsqLIFX)^VCh{XmXtFFw_I7R>rgT3y#5z1-kVuQJ1D(4Lnd zVfXL^Lp97Iw;ESReLv1pLv8ST69>EITA?$abp;8Qv6QNM>8|{3*xYvmm)NpV1}D4R z7iTgnyvi(yUF<@`%#!=C0eKH+bL3U$S1&ZD29{vkFM5rqKmBGHqMC%Kd3+k#;sqT{ z7Mi09JJhizL*rA4Y^fjTR?O?CxTDWN9Zem4FimH;J@BCe}ZeF|C@)f zt5+t~rFRX8p3Hr^YI+B*F~KBJLpBwP9J)fID%<3n4@*`2eXD7tNT%t$r}np|l62A? zV_Icz$ef15$;aQ8nm*2}?7|^n{NlT$S>GgREibK7ER|FsS$i1fokdW|cTGYrs1;hd z{R-tb;UO5s#eKN7M2L1J$Ev%>zF?J8p>-@TtMy%I)O9FWCB^u~R|F_!NiM?{jOzQ< zl3@A3SA7<`Q?#z`Lvibe=O#Q{n7U}^SIsH~O&gm+I~}P?%On+M-iE5ydXlN*)R)GS zo4{+)sOLi_X%x9ry#`a%YzU(;HRu{?tDXjXM~qo~Z(JB*+dkrsyc&&5+aqB6`FEKP z30n6pZ?1f1vvRAOx-<%-ymp(PNwxwuWYsGawF4^@lTWz)MYzT$ER5Nee4<&+O2lH4 zgF)u%2$r7^)Uf{S!JORQ2mfxk-l!$Lghz9bTsXSm)&`{O?yf(xo3wdlS#*+LjX9-l zFc=7=QFXkUQc71fqLf@Jqoc*M`^%0@YBH(ozh^BEC56zj$TVb0p*AXQ4F^4*1!a^e zI*xEK2iu)cY1&murf3ja!y}k>n`^t6w@IxT-s-Klx1kDq9j*`;1m%n z6uTu|dUcisk0_Adx`u>Slo~MBv5H2Ov}e!e5<+ymBh6&qC%uUnLaq$(nlryVlT1sD)#>AyeUG8QKQ|{QY|Vp8cZ0<>wpF zhAJk)#eOpmY1DF#m#am){i=xd?B}JD(h0hLk1{A0bt!%P4LJYvucB2;c~VLgSM0VO z(f?RVske006|L-ejz)oqfi1ox9ii!s3gJ$axtHv63Y0^PG;??~7uyCY$tAa}G@y)E zI2T?^%rb*tSz$61V#N(uzHSm~)iN~SftDOx8}ub6B33A+hEeSA!))ML6>VIs%6p&5 zxvs9ss_(&E^d~|o=0dM5^6Z3jp?5-}YhQ8|8AQTYwlpNe`YbsXI~qD*z0sjcVCnPF zv1%HncKjNYN_MHFs2$=ru65}~qG&o~MLEzFIJ7QPX|~#nE6Q`SYpMyUrs@U3xD0kA zmTb}}#Vwcxt7y^R`1-r=J^jrj@T*xTELe2k@3gptUh#w~DtoW^BBY7s#42j;CReop z9Zsb*iq5&OH%Z@x5$htvsttWwJpC#`q~6XCI7GGU8A2*LVwT0@^ay2#S*2EVnoeC` zo4v>hSe;;vw}*C!QVn{}PMFTqTU4|iN(|$2CuSU|bj8GNEmhhZDXF8yvv<@QGe|Xm z?PmNJgHpMf1kn(^UhF!yJmtKcljX$uvk8 z*Sh@I*eZ4v)5J7c*QxwzIzfJVX~AuvdeA3!%qT`;%Ay{$={&t%$@Tgmox7{we=Wo^ z&01M8#e!A984xkgO6KmF=WJ)F(mO)Z&Qys04^?FlI3`%3nE90>WP`6lw_e$Ijh3P5 zZfHm|Z_j=PFTu(!$(WfnchJ+H2&*)EG7-+)i`)s;qrWp=c8=2Sgqi`HT*4pb&41&$ z&put{n~vwBGb)UyJ$PTWaA*rIk(bguFs2ZUil4rM`;Vg3{rt<~v1WN2b_nN0Rkul-4(;I=M1BxgH4ATMoB0O`*2! zH6#_Xy$zGh;3d_VQ$76FyT+`9EVdw5jzxSDSa`)}Au-D>Gd>{a^8mj1>?O&0d}5uf zeLa^#Lar1>-O#WeE#84%03Jc9PTKo2ZYV{AQhmuZ4o&xw z0M`jUQSZG)(N!C5Ub$&>mYhoDb^7G(I5RgRbIV$IRhj#E(*h{dp7{LR&%O4_cmB`d zyQ-my9q>I>iW!s5X(2}GY8g!&f;wJEa9SiN1X;G*1~5!?&Yu5Z<=MntCgG|gk4p2@5zwVDw}2qRJE_cw=Q8NS=NtICM9MOu`D z);ligYjm`F$QU1A{`lj|A7HTYKlm6D;TAGR@l$&HBQ)cFUex+le+sH5Fl1Gg zbd`_=jjDo`_a`tejuU5v_OBAE9^mmL{ZktJtHC~4H zfv*%BpcYihLBic$Tx6UIzh=@3O2HyUVx@cYwjfyT@sqH4^~vX(O>-v1FMs~O477q8 zg-@z0{{#5FF#!?O@2L^+dy3G5L6S}ATobNbDO)4@wcuko`7sKQ4zTE}h5RCL{rr0b ztqbF-yUrLt{!xW2vn)xqyzCzLm1Q`!!l&SJ-B#qwCI~ZO&4C!`L;=e~gwm-bx&~0| z9doR}E0NLTW$0m(A5&qDlWaAYAydgQ22Klw<2ca90;Za_}1MXLWPUJ#ko|mL1IOLl>Vl7VpZY&A_sJw3Rx?3=BpP9U4~`?OtiA6f`zchof6h= zYwjjigC36L%=%hLEO18yC3h~CF<=1#)(higeVSkmydtF}ByJ|c&XnH|Myjw=wB$Hf!n7H-5 zpC@L8SCDHizE1j1{_ZA+xSIvZopcs?7iNnN3&;?WoUMZTF-)H%z>E-p;uN3 zJ9VG(N?q~lkK~oKDn8{F$N{*HYpL#PS-DJJ)d<~B$!hkTf8AsOv}N78k~ zHC_kl&7$DRN1pUP$hrs-su-ftRiN`JY#C*mUpijt(O9_m4Q*f9;_Uppn)03 zC)5<(-7O=jgcU4E72{pDR7Wdy2d|FLFsoHE>jkGlS!F;HcL!Q8L>A}hV|dfH8jF*T zTV2)YE4D$@9SGnTJ8DPVSz24TC&IPcw7y?kSNKykk^8mj40Fvk4nU*ExKFJo#&|qJ zM^L(=xz)^iv5QxYpVHFbdixK5^xmKRi6M*Zeb{}4hFOFtdddvpm3#XT2nDr7YNKXW zo>Hx^LbG@>D`<7mEi)$X&(!zefYCDaF2vPm_h3ab8|HCd1`CU5PeA)XeH07N=z5V5 zUhNrG-AS0fFwLt}owysVSeK##TKbF(`QGvI#3F2#ylGV24F_5DA4 z->Gj*tM-2Uhdmc2Vl8)NG`=rBW9sgYY{ZgRNS-64uVooJGhwelkCvg~)Ee;$UWHhp zl?R@23K{%)6!rGLrU4DRU=uxeVM(Xi43(a*z{t!eD10f0GxhQcyj*NjPj20NuF|Wb z6&$LUDDn=)iRhE)lfGtBV08CMk-^>maE?(>HfH{-CNv*4K?ZXNJ%Sck)Ly;DX>~z@ zwI7+_z}U8PCas*Sz`aq;GCT|gC>7U>s_9Wf+!}(`2g$R(1*^U>DPg4}KmC1}W%(Uq z)v5XjE6-Nl5m-g|LS;Wg4ig4`7KT%h$g4)B6YRoXbk`{I4*a?Zj9BJa*xKz!ta3jx z2|RUCAE@u;XGA1*r-xO$XU3{UCqNReyhMnHn=|$GP5AtH(;ljv;Pddxc`%dU-608d znu{Z99$kue5IGQ9_xpmu{-1oS{&w%xbDOMj~ZpVQ2U)j0~=0=jFjpHvK z^BFXfO!BA&w%Rg7keA83$IKiI%kTk?nVFe++56G%msxGu6R}xUSt-Q?|Kq9blBb`- zRne>DO7Ql2o0yAK%2unTQg+{lrMGpLic6f}7bk4kGP|;mnMOrH^V)SbKLu^O&)Q)<3ur#vs)z; z)6BxxwH0P@`=XWutoZc)s1&|=Kl`|o4>0-K1JjXwW86u%QnbF0thjZU_3wqIn2OvU zeG*yuvrdBL#cRciurNic%FTOP=IF6z=DcwvdIEIUa0aZ|-PP>>e8shBu=OCg9!y)g zw4i9bFV!JidD-ASSYC!jsEp?SrRJ7$rBQFf!I*eC2BX8m6)SP+)t4>S6Iawq%D5D) zatOWw9P(YiZ!obc3JPM(n0l|wYANYH#}4K&5U}_+O3OQoOEKc zz5Kul(8^4-s1~xm_x)c!8Du^8JfyCoCFCd`zi6^>bsDE23krYS04q16r-iPt=5-2M zc>-R<*`+TboSG;Vrp}y%+AAj^zT%!L91F{v8^Wu;+>ACJUs^18Smk20kY%}S&v&e) zYDL#>LzdP(t;Chi!|#`n)!j}ojISK&kmCZ3mRqY9`uS{D%}m^SXI z636GIPV&Xw`C12CU5>oncH^CDTn*l-=rZsHu)^8W+wVf&UF%?4=^=}gD!>fiBvc5q z_j~f7QV++2-gr>xLYjTdMz!Lfs<3n8O~S^TNRzQ-1W1$gdp4$9mvCVUU{dfE3sZHi z42*WScM->)x8ds$Q%3G5k-{eD5Mg1I^MRvAw2<}v@BK0#4L@^*D`Z(hDW3Z!vVisP zXX8&C;w@|Jdg)cZar=~BK`I3+z#>^ZC<;<=vQnpt)mNT|`Ma|UT6xhBYz0_=LR7vJ z(q_e{my|#4^LAtjSx&P@r!6#ZCnAY)9tY8#Z?&9FD-Y%Nj%(o zZK+)%q3WzI%PQ)nAYSVRi(Xs>QC7d-2Nk$16K{VAEUO6~&tf#j7RF3V zo=BT4>dk7h$xM7=vZ$X>j77#PXg;-MV{m`Fcs6PxJaX=L}@r;whVnrx|Eko<&@i5!0CxfgX6ryHSou4OG zwx|C}v6`DKK3}l9=@e9E-d~+IFR+EvXP-KhuPhQS+yf-7yGX2b z@NwPXW)xWE(GX9h3sxZ0SrM(5Fw6m0^MaXh2`Ep4vQu#8%&W2T_gCphDEnY&v4Sg# z^_d(0D`2Lwe>DUv!E(p&?vyJ;MJz7jX%1AeTGxCEvS1Z+;hIVUnAu69MDAVFwk+t? zN)#)drIqF7)#bIIYYkSI!dHXT+WPt$uuNZwzA-=+ts3+lihVd$h#L0Auo}Xvo3i+xw$MQJ8p;w~b2*H}xZ~_;?3Q|*r4*^t;Ss)5dI}Kdwy}jMT{e&sJc;#Xx z&Z$1U>SZ3i;b{`R7P3nJ4y?!EWL}Du^88#re z9+k2QI@RB3PC-+#F&M&VJirlzHa5lp!;_B@aR^G4B#726TXmomOEzk7-4a@5L?TuA z3aFr!R6(lFd?+~t58x!6ff->@e-vDy>KIteC+-ZekmWGUCToTjuFijdjw_pR_x{Tn zSdG1xAE58CH!pR^mbfEr37Y^Ib+RHLl{pfqq`VfTTd)!@WRE3+tVon9L&4DX8l0{U_K`1(g!s$n;P(`KMEJ+jmv42cxY3a%=%avVa*Nw`s^K5dMBCp#7=Ba2>*NYzF)sd1HBRc}pi zi5APgwQbZpc>)Gk0oBg7&ol~Fb&^$}Iy42L0$1!uk~j#nXJHFV!sGDD3Ca2n$;vM4 z=_`u$&4QJK(DI|slcjtA)U&6j7ypwGSDpydm)8x}efNsct$Xvo=3G1x`U4qCMY7KF zVs!R680k$SshVAo22=STQ&YAm6|C|levZJIXHIFd^z8<)0T&MUSaC$u6NJY-9Jjb(qIKvZ;bwGv2^d`O4|-Csda4*NnOhsm{4`3JOQO{P}OcP zV5*ZrF;J}6{A!X}+ z7>22OtkSn9SVzu54orJ_7)Fa+4~So*8Wc(d1yo|SS2m19unUivF+W!wIOzMI@qJHH1NZzFmfF#T}MYu>9|d zmn2kz4^#H-SDpz2sGQoWm+QKa(>|wTw`;OA zR-$E<@VVowY^h{>dm&(IQz^GvayQv(uS%B_!+Ea9q(6?!!Wl&Mat5~*pn?9=4Q zCbsh+%w>dXfvQm}#~`rw1281nVHH#v@?I&A4Y@ef>$Yr1bc^xCmG=EVgq`Pe9M_e_ zwMn5QiU3JPLJ|Q(Gd6oPMyas$&<11{u@KC#MS642IR|BJ&gqkL__jIc;A{{KoBpZ& z{m#YR85XSa?bq-1%;!_*o_Fqj-G2>^1Qv*rtoY@_hq&Ij5ym1HUf|=rdZI+Vy$_M4 zumVkf^tsNtVk@qhHqs57f>m)lB(7n|T73Cc_A187g-KmTW~j1XYDBHiY#EVKLNM z)AFrc)#*Xl^XHtC2|K`57B_;RN$Kua#Gxt%*ZFtPc6SAqxlmx43(bD*Ux6tDV72#d zOO~bQuoTmKxg93N`U(?xqVBwR1wg5?uG`EYtW1MlhK8*?L;yaRmY8#(5}k2SE$ z#{y1*3a0XwwLbLv07X z=TZZUV-1S;1zdGfaiytc>;(DE4gY#1y=4gn^~)uCih=5bc@`NUC96 z#07Q)R?K#A#S+4Tv3ML%SVln$Ka_%wLjAd9!Rd}WLW3n5t30fvKsl->g;jQi=ag0F z;=Bth0;V$ay*t74dn7Ahg@&K$k-9H56$&T5 zti+Wtm8a?V6j-eG%5?oX>dNh)CYCq3aDSh_M3dtlg}bl0g{~OD%5ymkGhoLOe`#>H9#Tn;l}htD_+ z<5KRLq60`O<2@-*$N?x(H87<{=z=%eZu`bg^t;l^WT?-eZcnigsxlKcyyCbU*$gs) zD_tx(ikXEeyTh5OkbPm)yQSz)eCi+mhD-N6)eg-yCoT(f>NFGI(|y667;?u+A&dhgOR zN}Wki^$UvxS1ETABW+lgp<}*NCPZQ_0jw{>SpNKj`KFLmsC0i6w$f}@wTmyZBKWeQ zp>%tBqE4WRhmuuK_@i>5TR}6S!K133&}c_#aiiM#8AxRkQS#LqyTMpkVX6_xG8?Mg z-3!KQh>HcbLQpFAK}-Rum<+7NTvMSnJV#2L?r34Pa8E)ES4mgsE74^n^*Njz*$SRZ zE>u``B>A}^1YYsmH-jrhmY-jOw6*~j^+L9VfA#M&mT2N$2!Yk&U5B*Z+lOk8H%dbE zEe(B)qF-YRx;&KA)@YS;EJJ(H3)#g2Td^nPLDt$wW6{qLe-w13-_QQ5ul6Gp0Ba%c z_4^a{HB>rWeAODpm5s=d6*XvZ^}y2cB^%!7jP=_54gUS)2(UU6ew)=CgFszLR(PW9 z4j-4X6z&DBRCOZZ1r<}2yBW|-2xoyUTv77jQ=-by9OVhl0#hLC5L9OXRU25=aMs59 zq9nshGM0j!h2K(?>2T1#8YdkZT2{%1l?$JnoSjHo{D{e5Y%l;;#m+mSB{HE=aB?rG zD@qoWvh>_LzE-k=zL4)cngnN(6~MBVqs<^;DdK??VQv&!+hvjJH~c$EuTkZbD61c@ z-Ozd$SQijkmwnBe1!!C>x@0sNK$!0E`eAEgwj0K*k;-mnrg10`X;Xu7PQp@e219Syg{5BK9RUoSH#HE83WK|l} za)*>K+}#p7KvoLS>)4`T$`m-pVQ6&)+C_4f+ew8qWdSV3I-%{*JHo_A!&slRzkyvLToq{rv?8!Lo|<=#%2)ChVQ-&VuzRrb za20w=V*}9Q%Cs-MQqobpd(O+*{UFc+R2HC{uL@kC%IdS*!~WPaq0bP)dVtHG2Ktdf z8JUpLsqm)(*5a2+nOy3r8O!#*FqWZax1vKJ-BW^=up+dawcG)jd5}kD^twAh@g=BM zfD%8RF%hb-tUjyWS%K6uZ&SXv=Wb+PAEVqs7oq76${aA$Fdpn`09ZiE0AZjA_y{Mm zq4J9UQhrP%D&W=9iYH6Y&zS*p3#_SVV$MT|%U&6v1)!R*gw;7g6-SgYb0Pf+DzhKY zd2$e7%HTtnYODrUQB*^!an``{2-uH)&aGe0P!zDti<+Z=s$*`C_UP?~`?&vLscZ+0 zr@d;J2?ZDODx1P&z%{G}*eP-gSeXM^T)lh%R;yrYeH~l{VaDLF{v1S^7teyLK_5%& zD%xE$%N?TTDAOdsazm(IXYyeRunhAc6S}?IWgJO{NGp3sEe@Vz23kD9STjKtgz1W^ z-3>WwHgf@0=L=Z)4W>dhmW*{&UM&L4D)eO->+%I?iqLrnVqi%VtDD^S99D5M%!D2A zm1ig5Di)R1`}fPjipG+$1eGb!ZJ~Zcy&KtHnYaufiYxMpA0|QOG8$kfp4=7Io-o@& zuw~q>u`2m3e#Is~UYQ&37f;GqDyzp-@Fu~k<%lK1JQ%u)-yV^5SBNJ>*3)*9Rz6g> zi!bh&?l6@SUR;SKXJeh)-);zDEh$Sg3tyChk7Xf8OeHCbt1__$2}`<4U1vgL-(s3Q&ukxEUVDvkg^K|R9tQdO^W^oOw^tk%60~r5>z~y2$>lYmUNYB z4rqd~1eFp?V5zTsFC+^=1C}gB{aL#mTeQCt0I)bu@9yt`PJ@IebHZEYyECh_jx8bH z+s8^OTohMEz{M@FvMaQrbCO1v3~(qMQDK(#drWhMVLtXAeTu#&6jO0Fkw z)w^jhG_?k4MNy%%yvu7?XFCXJ))iPx<7d||#crov)Mc!Jr7x<%0K#gTjlZJ~S4tsMN(|8Hdni2)K~%TBA&uSVBukJ#S~ST*Ylttb7;`t8!rK z&+H8ieRl!nq{!NRUyvoRK4T|CptTq`7a7ab&}kY)R*5Jc>J*`4PtxLR;@~Qjg?uiy%;uGdhR5Nx&33Z4{L zmU0+8pt0mE-j&>p_0e|R?NGY;bHQa09xQnU|oQ7wsnzJsF%!Ot|i-ZzZa0T$v!@xaOSaA>N zcR-aoAv~3=h{h6KMOUIr#&Tf3R~9VSeX6_?S0ODWys)YOVmJ-%3R$X8Mgz?`5LuUQioo5F1yXM!t~xxngZs_OW?+7)VKUH;rf1m1>i}s;cGx_M zvf|csM{O+`zG`N!v0e>|h&fpqfNY)$?H(lo0x7Vi$pF0A76Pzt!b-E~;~?tvqcPay zU5P93#jMwWC#o?jsth0GDu_z^s#2kjyM{wDAGxIolsU{5%j@{|x&40B+*WjsJ3T@le&A*`ua8vG1r>(4G4S(}t` zSi4G?YzSFtXU%{WY=zqns6f@$)@%l{b}s~2pZMgb{^2ts%5fxKo%>kW4fSFfF;%^z z(o=}*T6v->cRR51_Ky$hjaq;%Y{^${3iYupJ-=i+G}sk>mEU1v0#pXDQelw}y{o9h zh7ceb&Y52frmCsW7l3GshN&PdW*Mu`=ul;TwZY`lw8b380#{{_k_hc{hq6vp0h(D{ zwZd|RyqJNKL+45X&+IV@B$mp(R#ldMgKd2#nAa1WqL zbR`KIBi*am?@5L4Ajo|<4lJ_OAY*YEJ78+3J4RXk<)YypyW#oVjA}vlE`*__q$^Qn zG^Wxkf3M?AyOET8Yo0$PtGuG#@u|QO6gvD4)^_>9j@<>6JNziaZ z=q#j|fRjGM)hgzItq>NojOBY~*c2KlEx*r88jP~y7G5a#dzI{m-B=yLn5VsL#G#sL@Hn_x*xEeO5cDXCq?UgCEGPD?)tuo{)ZLFp$YdI1 zF?CSHiFei7z4BlY*1^ZI8}fErc?;&Ew=WXQGxhz2dRM=f!`;p9V5nea8mx9?9#}*e z9q-G_!fT;c_-ZTntQ~hV7FEKFWWd@M0x}hrWoS!<)ibKwV9Th8G8$BF2c1`3SDbwW zUqw}`D0lmi8DI&zg18X!oe0OQ++&^5!c>RErE2#c$GiemfJ|>xI1Q#j%Y{S~z5eL5 zT4pw!!IVRya>!H97iDoXJEqwd3an0q)zGl1>)=|qa?7(gn`K)?zHb62GGVJMp!MAX z>tomrbT{1iOrxsf)t4jW>fJm@BUaGl+ds^R4!}h9Iq$J`uIWYhgEln?s`w1ZclhezWelw) zV?ks6o*>Go#ns5J@MqLmrb5n9$X1@s(Y(qCpfpB>Q+JMnE>d922vMf%zM$I$6;+zlp9@xa?XKiLCd0%7U!&IS zDE7gwQ9~0evu1;&Wy@&F&~`TjQ6a9f8UWOEQ+P>N9g$YE((KR{O8~~%oVFWOS!@dh zRv1f-bu=Wco5fh^O}_9sK35N{Y{J^BJXqi5CHGZZ!=4&T536A1lt=f41t(_2yNG%z ze03mm39LXWFB;{M{UBIs#^O@JSNWMX_I5?NfRh@_Do%EU)^S*uf~w_XIHYYiL}M*R z`|duK-4Gv(_6CpSupjiy7mCU*EX~nWaQdVdKVmgFaZ0C}uxJ!jW>pSUU2zd2iA<>B zPG~a-D^|lLH;^J9S^`|_!#PIfL$jZ^rUUq5Q|LyJ{Kr(@dyEHRHCQ6#GSVb7FepQ3 zH@E?cJe6akDEd9{5@9Xd0b15gE@;c-M_7ht;Wl#8%dMceN?%{pdjSivD=8vcOU9Qdw#&T?XIdUO6z^!WWMr-o=%4W&IiNO7qHic=`@pCNF}r!092Bo#??x)Aoz;w&@{!)kl|^< zf|TJST5B91>si)kEf+Fzk4=gK%FST5h2}s`PUP$$8f)_Qfo=w#rK>cHDz2uZa2CID zujp&&TxhV!P}4e}>O>A?nF6XxhAQ?%JEMl^Qf197Lql6aOU9bXUC1i{wROHT;f$%9 z-UZgtELcAZSTdI4J)Q3LZe&PHf#nUf1eLqL6m&WVhO7L8xpJWOXUzs!$~f3RIAGSt za$o2-D6|-|7sSW1DA;G|`3e&^z!F~xQlDwi*Nougsv``^d-;BIdo%j2VjTQ92Tzf+<{dJ&;&EA z)e3$c-(7V@XM^78+9-^Lw&Lbly8$?P>o=4&YW;bbu<`?RP2Mp%EDwZCF)w7GBvCf+?on66WZHD$7xo!e*<~2GcsaiDsV(uQc~L&c}D(-kwz|v~A|k z1Xl81(^U{9U-9(&bH>Vhi&R&-48C2h_JYEy&Zc_Njm)jzfW_b-^(n91723@Ju-pk| zioTMw^hLpzz3wDKd;4f?5M17(%J4h&9-deT)8fMvcMxF6_2W_%0*iS`>O#GL!y>R+ zwP#t329}L}Nrgg+$v4YX4_4|pffvolmInbCaB?i{2?3Tw#l1o@WOOA*jfG@~tH4&( zp4UpbH?HumYEy`&qAR)m23xR*i1*qV>X4HCXv7+jTB$+Z%DN?HBxBJe{n@xaV_Ojx~`USx2UGPI193bfPGVs}F`R^3N-g#s&QDGWNV3RfgT zK$e3O+=1AN2n(glr?C(`)e{_jtZ$_EOViIK=r%6XwFYCi73HE9`xoyx92HTrNuDi zZAHFLrf?-?b!aw#E-TJlIh-29LB;}HTb&BO`-Rq60;{FiO` z0aP*;Q||-CR0}OjIc7kDi3e@ba2Uvn;jY~vq!3vQRflavb(GM7pE36j;Y)tCP|d(*3UPh9g|n&n@0dW7TOdb7HoHp3Lc5juYzY zbaEh*;W@&r>h+inoJ>8fwpux@V&_5a9@tuz@Jaop8e(N!>(W5>C*mBeK-3}pc$qOAsv1}0+)tUOR}8ax-VUZ#VL z)wP`L1m&y%iXXip+-h7AFK|jnV98hwEJr_a-|kwWj0It_EsV(8LuT!9=BuoCVMS{n z`$68)(6BOGeRZD$M41eOEd>^nLd*FMjHPH7Sap^@Y0&;Fp2U_@I!7IO85YM62>_jov_cXAM#t~pW;n_i;C0lv+Ib`J($315W!&M3^?RI|{{0v`7 zRjMo_=O?%X6qj#S>l&ekL#4sU_SN12j?h=@=0PXqm0=n*2DgQvO70q}vkzQ3*U21y zDYFbfM))GEirN)wkX8?}6GLIeV-67tE-|&q#FG5inJ{s_j^qF<(Pbu#-5y+dZ|4SI zyNY*xtP<}cDO?3pHED^gEhD{9H@8Yey~mUidOGsFFdJKhp!M;4#1^g*Kptl zQ)y{XTd}e@>tAuNqT0=d5m-JD1B#2KtOiI71a%p@&k>Rmm0B^|nM{KNw3U;D8!WDJ14}EzqCp`@vd!DF&ziibzLM6La!}a*>+~h*1m{(3bF|bD& z01IUK?hizJolA|2Rnkgq0V%0Uy8*JYZfLz)rf=W`Ujy^6}s{mVakLR8`|#kEa=_m2c4}s$80ccnUSm3H|ojmJKu8fQrwhVvu$!ydkg{+)8$5e=v2UpW1LS4ykYoU0G3b77xQccbaok1&=REAN7| z1uL15xu}X|g~dcj_m#M6bp^Oqf-SDovE6Y+tCk~cr6ZYN5m`C$bw*qjutXJY?yCTc zYi(7YvR!5rvI0u#E8i)Tjo`S>(Mw9XFjfgI zS&OL{t9`6Ay~9}GDx7uwO16U6tLB`3naYJtT?#B`yio#FVUIF(9*lHPNhgP%<2HDe zeh*REnGCf0-7Ht6Dudh{fbN!2ZsC+P=$mX^PnUb;D@Ln02%z$gH3yh-P#Y9kU`(UkKf0-p-z*G$ zE4PP(l|r~n37_f>VLJmc5o#&wV2zpuSu5NehOitP8~Ro;8XReoA(+5f&eAh^#LH=_ z)4;G{)Z5sUti0`Ym#8e`c#yEI_SzUiRtl}zt{SU=^(lZQoV*q9-b}`84J$pFK3s*4*Sq48@PMkC-Irl86KNTBjo;p7 zXq&IAQQ6VL|w%r!0vH;cg)(gAayNdVfdH?GoEJLp1u?Q=`YVn?y24A;L z7G&^#tD2aJRw1rzO8`B9wGTS)i*E%lx>w2&@H~nm;lGmKv)Z(o-d_e0Sgc{m7^J zbLCKD<(*gsDQ>j-{5YYAVq18o^_3)LKEz`XSZh8J1u69v7FJ$bw9dsaa2ayY+1o-+ z8fNs|-4DiZ7&t#T2&{?hC0p6uXA1NaZU6IAa0$trX09fWgEO+@zTsgYi z9caN(O)l(I_~zY)`>+3opz@&^i&Q9MF+5F= zq%tE0SNaXE?KRXnLYKDO0hNo&olgWrWaTh@yivPGHLffYo>5+nTWV$To!gEzRJ(N> zTawL!!pfTmJ4P`Vs=F^`XvI4}1{-Hk?+oxHTh*qp&;-gh@Y~Zi3S}8S@KX)%E8J06 z3N6ETVIiu7l&}8Cm9X+$b;5WJQSFid;a@A-b*@B|Q~1hw z=?-N%&zq19^I$fG1n^Q|aX#npO#QOu9EXH;?8FJ4zBP7($O^EUt9+`#KfnIB^R}7b z$}M3!u)5J*I8|$dSaM!?>9)}FW>RG3RSo5i!dG>CqElfx4HY?3FSJO7edw7-Zr_F+ zoi)zsR6xbBUxop=cqC%D$8P{&&=zOvVXlo4c@R(mF?{!FclaIF3563d%C=C`eX$o= z`7TohO)=hiYMa46cbk#*8)lUUg_v++Y{^$l-g4G1sSsp+@)!K>iJI!R*|0!WvpMmN zFxG!370Os-LKT*6qgTOIU{y_6od*rirZUu6WI~3>(r2hM^*m&F-?`)QuX}9n>m8xD z0ay7@U84*st15)mgnaw~&;(-vApI;Adk#P^*S1j7A``Yj`ag}R-)M04AB(Rb%}Fl? zl1gP&*b-7Ti!0PSQ*xiWogW;_k)-T(2TiA|kW;;VCPHx)$DOLqr2u5LolJ zhDMml(6?ZLr1nJvDMJg(GBk^OLGC0$Uof*RVG$q;jrBeb-y{{@xM?C(T6Gj<-M;ll zH*WlIfMqJosrsDD0aBd|fl<>|Tu~{@4nIaIEA_h%aoxd{OPTIq3b9q)4Q4@M^-vbu zM!8t?iD&X(Yj>a(V^ou&i-dUYl?j=sKj+Ec?h3!HffW$7dY7oON?HKxr^|V7BP(z3 zv!3H!nq7ItAoM|3>Y>A8P9aOx4!GZvoAgw|7j?dz#E;dSZKdcMX)tkFGs ziLpjsvL9mtNaM3&D(~GM#MbzmrK@iiO@0N;M`zZJjo70(gcC$*EaYg8+d!U_?!u}t zRz#)FI>gj8kaF?`qcsaF@7fb8uN;UfU3Yhaf~nZbVh%UBLSs=ZG!;_Q`6qw{ODVBH zSDp+OIP1oZxyI7RG7$=?YutwK+D;>udRTxq)lEuLb!cS;mjIgCRY+P*$camu2Yo-Cdb4)~?V@D6n9w22;=A>rGQ( zAOBLebFp-nd!<9vJ063LSWF9rXJ(lTFqJndRpoS!eke~t6rR>Moq5}(GolJii7SVn zU~(S&3viA6=+dP%hKS;q_a&dX1EDduAI%w!_<-EVuY0i@+&D`+-^Mp{Z{Us+QCD#s z`n`RWp?U0*PK;3i)JC3Bi&U7H6|Sf~lLN_$@)gYu zsp+WRNri8;!|;EUo#Bt))ph3g)oQJDv|(&3NhgR1q`pEZ)iTK2WjbRwE(t-hDq9o` zj)_td0T$pS#K!5Hg$)K%2*d?layR)+4RG8o@e1n+MRM~Lb6d@`Gi=D0zH^|OoVPpZ97%iqy9tpQDP}*?SqOp4g z?~k;B%H(?th4Axx0;`#Kz~rrZV1=p-Aq&X*>|oyw-Mu=&jx{3|3!Hrpi?vjjpA{Zp z;t{!P_gyz0A>6MXkmc>j1LZ~TC;o}^#^y27Yl(>Uh=vtiiMHaFK^E? zUIbM<8y9f>0XHh*2DMm&dM`fID-;Cl;7TKJeWp zh^q;#8L&r281L@+Zb5qI9Z5ZtB9zEN$`5*d0s_n1&Mmq`mEE?NPz+)%8$)`lK4Tx? z5=1<#`X#>oEMK~d-#l>1d#OC6>T|05uSf3M&ugi9J#~L}=oZn#yS?u6AKr8Q?f39% zYMzMxs&855y~`*Tf_A14e0hNaB`ex*Pyi}fEYMZ=as*Vj!jcySU2s?eOD=SD@w4GJ z%P1L5Xccs={Kq)K6;x2g%9~3?H;{#XV#Mw00+_Ixz>;p@?x2T4z9GQL@CxaY8R98P z2Lt$^$~J4c{Ty?}M9N%&DZaSEf7cH`Gn{0e`79MRb{Aj#vW2a$d!g}zmW&QefhNTJ zgp2tWn{Ch)o~SdR8ky?(SS&r^zP%tTs3Od=*LIg9tLI%p75ZwAgCGg>#dl4f%keUO z#5JhG(fL4c-hRG^kC&gX-+z5Q^~~}+N2;crE zVMBF-c60YllPP7bv{c{=)eoEK0j+AlYJn?n=G>?olyg_eK93YM@B&%8Ly&fP!=suh zxpxo+uG(ase+^&}yu&w~TjRkTO5MNAagf0bmePS+b9FLtmT71!-R+C4_SGEB6?2I9 zD5%5wIUhps9+sgVpRj0j%fF@FHs}hP`h`o$hFB`g8~&91GuUEaueNBWz!%Wknl$tx zsDf|UwXkb1Plju;PPDaRP7zpjC?t6Ijmu9NwCf3llj`@!nQ-O^F;yG~ftIgOWb#9% zfho_h@0wht7ghTsV&fnacoa^?PR(%Fu({Gp^}I_zgf;MDAVHRo^XeMoA-$tIsu~0q zhDryhwqA6|`pQ1H7%WeO^|lFkO2ciEgjV-iKTL1lGG+Ea?VbVv-s)a5v}7f~j)o2<_w^V+E+PvDO`Mr2vZos3hIX5B^+K zX|YDJ49a2|`>Sc847C_7$vtDT7z@_-Z2?;`SvWtl&qnQwO!S)7r`sa~VgZUHA$hgUqHT09n; zunXf!LetQa?K=#r3RgSO2oZcF)eUQZ(=pa5$*TgB(sH(QI>cDFkjY7a1-qc7VhN_G zY&gkIgQavP2Ssd^G&BdoHd!h_#V7CJEgdd<8DH@PMZcdaoN{wwNA|Q6T56BlD2JwU9zxyAu4Ns(cwHW!2(*Sz{6n!N zGb%yqm3j|@B5V03SS#YJn5??>r2_90aV5bDtZG`Y)uv9Xn239PR4F#(U z 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 - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Accordion

    +
    +

    + Build vertically collapsing accordions in combination with our + Collapse JavaScript plugin. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Accordion

    +
    + + On this page +
    +
    + +
    -

    Build vertically collapsing accordions in combination with our Collapse JavaScript plugin.

    - - -
    - -
    - On this page - +
    +

    + How it works + +

    +

    + The accordion uses + collapse internally to make it + collapsible. To render an accordion that’s expanded, add the + .open class on the .accordion. +

    +
    + The animation effect of this component is dependent on the + prefers-reduced-motion media query. See the + reduced motion section of our accessibility documentation. +
    + +

    + Example + +

    +

    + Click the accordions below to expand/collapse the accordion content. +

    +
    +
    +
    +
    +

    + +

    +
    +
    + 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. +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="accordion" id="accordionExample">
    +  <div class="accordion-item">
    +    <h2 class="accordion-header">
    +      <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
    +        Accordion Item #1
    +      </button>
    +    </h2>
    +    <div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#accordionExample">
    +      <div class="accordion-body">
    +        <strong>This is the first item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    +      </div>
    +    </div>
    +  </div>
    +  <div class="accordion-item">
    +    <h2 class="accordion-header">
    +      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
    +        Accordion Item #2
    +      </button>
    +    </h2>
    +    <div id="collapseTwo" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
    +      <div class="accordion-body">
    +        <strong>This is the second item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    +      </div>
    +    </div>
    +  </div>
    +  <div class="accordion-item">
    +    <h2 class="accordion-header">
    +      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
    +        Accordion Item #3
    +      </button>
    +    </h2>
    +    <div id="collapseThree" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
    +      <div class="accordion-body">
    +        <strong>This is the third item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Flush + +

    +

    + Add .accordion-flush to remove some borders and rounded + corners to render accordions edge-to-edge with their parent + container. +

    +
    +
    +
    +
    +

    + +

    +
    +
    + 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. +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="accordion accordion-flush" id="accordionFlushExample">
    +  <div class="accordion-item">
    +    <h2 class="accordion-header">
    +      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne">
    +        Accordion Item #1
    +      </button>
    +    </h2>
    +    <div id="flush-collapseOne" class="accordion-collapse collapse" data-bs-parent="#accordionFlushExample">
    +      <div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the first item's accordion body.</div>
    +    </div>
    +  </div>
    +  <div class="accordion-item">
    +    <h2 class="accordion-header">
    +      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseTwo" aria-expanded="false" aria-controls="flush-collapseTwo">
    +        Accordion Item #2
    +      </button>
    +    </h2>
    +    <div id="flush-collapseTwo" class="accordion-collapse collapse" data-bs-parent="#accordionFlushExample">
    +      <div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the second item's accordion body. Let's imagine this being filled with some actual content.</div>
    +    </div>
    +  </div>
    +  <div class="accordion-item">
    +    <h2 class="accordion-header">
    +      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseThree" aria-expanded="false" aria-controls="flush-collapseThree">
    +        Accordion Item #3
    +      </button>
    +    </h2>
    +    <div id="flush-collapseThree" class="accordion-collapse collapse" data-bs-parent="#accordionFlushExample">
    +      <div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> 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.</div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Always open + +

    +

    + Omit the data-bs-parent attribute on each + .accordion-collapse to make accordion items stay open + when another item is opened. +

    +
    +
    +
    +
    +

    + +

    +
    +
    + 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. +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="accordion" id="accordionPanelsStayOpenExample">
    +  <div class="accordion-item">
    +    <h2 class="accordion-header">
    +      <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseOne" aria-expanded="true" aria-controls="panelsStayOpen-collapseOne">
    +        Accordion Item #1
    +      </button>
    +    </h2>
    +    <div id="panelsStayOpen-collapseOne" class="accordion-collapse collapse show">
    +      <div class="accordion-body">
    +        <strong>This is the first item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    +      </div>
    +    </div>
    +  </div>
    +  <div class="accordion-item">
    +    <h2 class="accordion-header">
    +      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseTwo" aria-expanded="false" aria-controls="panelsStayOpen-collapseTwo">
    +        Accordion Item #2
    +      </button>
    +    </h2>
    +    <div id="panelsStayOpen-collapseTwo" class="accordion-collapse collapse">
    +      <div class="accordion-body">
    +        <strong>This is the second item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    +      </div>
    +    </div>
    +  </div>
    +  <div class="accordion-item">
    +    <h2 class="accordion-header">
    +      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseThree" aria-expanded="false" aria-controls="panelsStayOpen-collapseThree">
    +        Accordion Item #3
    +      </button>
    +    </h2>
    +    <div id="panelsStayOpen-collapseThree" class="accordion-collapse collapse">
    +      <div class="accordion-body">
    +        <strong>This is the third item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Accessibility + +

    +

    + Please read the + collapse accessibility section + for more information. +

    +

    + CSS + +

    +

    + Variables + +

    + Added in v5.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/_accordion.scss +
    + +
    +
    +
    +
    --#{$prefix}accordion-color: #{$accordion-color};
    +--#{$prefix}accordion-bg: #{$accordion-bg};
    +--#{$prefix}accordion-transition: #{$accordion-transition};
    +--#{$prefix}accordion-border-color: #{$accordion-border-color};
    +--#{$prefix}accordion-border-width: #{$accordion-border-width};
    +--#{$prefix}accordion-border-radius: #{$accordion-border-radius};
    +--#{$prefix}accordion-inner-border-radius: #{$accordion-inner-border-radius};
    +--#{$prefix}accordion-btn-padding-x: #{$accordion-button-padding-x};
    +--#{$prefix}accordion-btn-padding-y: #{$accordion-button-padding-y};
    +--#{$prefix}accordion-btn-color: #{$accordion-button-color};
    +--#{$prefix}accordion-btn-bg: #{$accordion-button-bg};
    +--#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon)};
    +--#{$prefix}accordion-btn-icon-width: #{$accordion-icon-width};
    +--#{$prefix}accordion-btn-icon-transform: #{$accordion-icon-transform};
    +--#{$prefix}accordion-btn-icon-transition: #{$accordion-icon-transition};
    +--#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon)};
    +--#{$prefix}accordion-btn-focus-border-color: #{$accordion-button-focus-border-color};
    +--#{$prefix}accordion-btn-focus-box-shadow: #{$accordion-button-focus-box-shadow};
    +--#{$prefix}accordion-body-padding-x: #{$accordion-body-padding-x};
    +--#{$prefix}accordion-body-padding-y: #{$accordion-body-padding-y};
    +--#{$prefix}accordion-active-color: #{$accordion-button-active-color};
    +--#{$prefix}accordion-active-bg: #{$accordion-button-active-bg};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $accordion-padding-y:                     1rem;
    +$accordion-padding-x:                     1.25rem;
    +$accordion-color:                         var(--#{$prefix}body-color);
    +$accordion-bg:                            var(--#{$prefix}body-bg);
    +$accordion-border-width:                  var(--#{$prefix}border-width);
    +$accordion-border-color:                  var(--#{$prefix}border-color);
    +$accordion-border-radius:                 var(--#{$prefix}border-radius);
    +$accordion-inner-border-radius:           subtract($accordion-border-radius, $accordion-border-width);
    +
    +$accordion-body-padding-y:                $accordion-padding-y;
    +$accordion-body-padding-x:                $accordion-padding-x;
    +
    +$accordion-button-padding-y:              $accordion-padding-y;
    +$accordion-button-padding-x:              $accordion-padding-x;
    +$accordion-button-color:                  var(--#{$prefix}body-color);
    +$accordion-button-bg:                     var(--#{$prefix}accordion-bg);
    +$accordion-transition:                    $btn-transition, border-radius .15s ease;
    +$accordion-button-active-bg:              var(--#{$prefix}primary-bg-subtle);
    +$accordion-button-active-color:           var(--#{$prefix}primary-text-emphasis);
    +
    +$accordion-button-focus-border-color:     $input-focus-border-color;
    +$accordion-button-focus-box-shadow:       $btn-focus-box-shadow;
    +
    +$accordion-icon-width:                    1.25rem;
    +$accordion-icon-color:                    $body-color;
    +$accordion-icon-active-color:             $primary-text-emphasis;
    +$accordion-icon-transition:               transform .2s ease-in-out;
    +$accordion-icon-transform:                rotate(-180deg);
    +
    +$accordion-button-icon:         url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    +$accordion-button-active-icon:  url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    +
    +
    +
    - - -
    - - -

    How it works

    -

    The accordion uses collapse internally to make it collapsible. To render an accordion that’s expanded, add the .open class on the .accordion.

    -
    -The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation. -
    - -

    Example

    -

    Click the accordions below to expand/collapse the accordion content.

    -
    -
    -
    -

    - -

    -
    -
    - 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. -
    -
    -
    -
    -
    <div class="accordion" id="accordionExample">
    -  <div class="accordion-item">
    -    <h2 class="accordion-header" id="headingOne">
    -      <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
    -        Accordion Item #1
    -      </button>
    -    </h2>
    -    <div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
    -      <div class="accordion-body">
    -        <strong>This is the first item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="accordion-item">
    -    <h2 class="accordion-header" id="headingTwo">
    -      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
    -        Accordion Item #2
    -      </button>
    -    </h2>
    -    <div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample">
    -      <div class="accordion-body">
    -        <strong>This is the second item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="accordion-item">
    -    <h2 class="accordion-header" id="headingThree">
    -      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
    -        Accordion Item #3
    -      </button>
    -    </h2>
    -    <div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#accordionExample">
    -      <div class="accordion-body">
    -        <strong>This is the third item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    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.

    -
    -
    -
    -

    - -

    -
    -
    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.
    +
    - - -
    <div class="accordion accordion-flush" id="accordionFlushExample">
    -  <div class="accordion-item">
    -    <h2 class="accordion-header" id="flush-headingOne">
    -      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne">
    -        Accordion Item #1
    -      </button>
    -    </h2>
    -    <div id="flush-collapseOne" class="accordion-collapse collapse" aria-labelledby="flush-headingOne" data-bs-parent="#accordionFlushExample">
    -      <div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the first item's accordion body.</div>
    -    </div>
    -  </div>
    -  <div class="accordion-item">
    -    <h2 class="accordion-header" id="flush-headingTwo">
    -      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseTwo" aria-expanded="false" aria-controls="flush-collapseTwo">
    -        Accordion Item #2
    -      </button>
    -    </h2>
    -    <div id="flush-collapseTwo" class="accordion-collapse collapse" aria-labelledby="flush-headingTwo" data-bs-parent="#accordionFlushExample">
    -      <div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> class. This is the second item's accordion body. Let's imagine this being filled with some actual content.</div>
    -    </div>
    -  </div>
    -  <div class="accordion-item">
    -    <h2 class="accordion-header" id="flush-headingThree">
    -      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseThree" aria-expanded="false" aria-controls="flush-collapseThree">
    -        Accordion Item #3
    -      </button>
    -    </h2>
    -    <div id="flush-collapseThree" class="accordion-collapse collapse" aria-labelledby="flush-headingThree" data-bs-parent="#accordionFlushExample">
    -      <div class="accordion-body">Placeholder content for this accordion, which is intended to demonstrate the <code>.accordion-flush</code> 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.</div>
    -    </div>
    -  </div>
    -</div>
    -

    Always open

    -

    Omit the data-bs-parent attribute on each .accordion-collapse to make accordion items stay open when another item is opened.

    -
    -
    -
    -

    - -

    -
    -
    - 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. -
    -
    -
    -
    -
    <div class="accordion" id="accordionPanelsStayOpenExample">
    -  <div class="accordion-item">
    -    <h2 class="accordion-header" id="panelsStayOpen-headingOne">
    -      <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseOne" aria-expanded="true" aria-controls="panelsStayOpen-collapseOne">
    -        Accordion Item #1
    -      </button>
    -    </h2>
    -    <div id="panelsStayOpen-collapseOne" class="accordion-collapse collapse show" aria-labelledby="panelsStayOpen-headingOne">
    -      <div class="accordion-body">
    -        <strong>This is the first item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="accordion-item">
    -    <h2 class="accordion-header" id="panelsStayOpen-headingTwo">
    -      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseTwo" aria-expanded="false" aria-controls="panelsStayOpen-collapseTwo">
    -        Accordion Item #2
    -      </button>
    -    </h2>
    -    <div id="panelsStayOpen-collapseTwo" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingTwo">
    -      <div class="accordion-body">
    -        <strong>This is the second item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="accordion-item">
    -    <h2 class="accordion-header" id="panelsStayOpen-headingThree">
    -      <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseThree" aria-expanded="false" aria-controls="panelsStayOpen-collapseThree">
    -        Accordion Item #3
    -      </button>
    -    </h2>
    -    <div id="panelsStayOpen-collapseThree" class="accordion-collapse collapse" aria-labelledby="panelsStayOpen-headingThree">
    -      <div class="accordion-body">
    -        <strong>This is the third item's accordion body.</strong> 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 <code>.accordion-body</code>, though the transition does limit overflow.
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Accessibility

    -

    Please read the collapse accessibility section for more information.

    -

    Sass

    -

    Variables

    -
    $accordion-padding-y:                     1rem;
    -$accordion-padding-x:                     1.25rem;
    -$accordion-color:                         $body-color;
    -$accordion-bg:                            $body-bg;
    -$accordion-border-width:                  $border-width;
    -$accordion-border-color:                  rgba($black, .125);
    -$accordion-border-radius:                 $border-radius;
    -$accordion-inner-border-radius:           subtract($accordion-border-radius, $accordion-border-width);
    -
    -$accordion-body-padding-y:                $accordion-padding-y;
    -$accordion-body-padding-x:                $accordion-padding-x;
    -
    -$accordion-button-padding-y:              $accordion-padding-y;
    -$accordion-button-padding-x:              $accordion-padding-x;
    -$accordion-button-color:                  $accordion-color;
    -$accordion-button-bg:                     $accordion-bg;
    -$accordion-transition:                    $btn-transition, border-radius .15s ease;
    -$accordion-button-active-bg:              tint-color($component-active-bg, 90%);
    -$accordion-button-active-color:           shade-color($primary, 10%);
    -
    -$accordion-button-focus-border-color:     $input-focus-border-color;
    -$accordion-button-focus-box-shadow:       $btn-focus-box-shadow;
    -
    -$accordion-icon-width:                    1.25rem;
    -$accordion-icon-color:                    $accordion-button-color;
    -$accordion-icon-active-color:             $accordion-button-active-color;
    -$accordion-icon-transition:               transform .2s ease-in-out;
    -$accordion-icon-transform:                rotate(-180deg);
    -
    -$accordion-button-icon:         url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    -$accordion-button-active-icon:  url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    -
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/alerts/index.html b/components/alerts/index.html index a92c477..05eba99 100644 --- a/components/alerts/index.html +++ b/components/alerts/index.html @@ -1,875 +1,3056 @@ - - - - - - - - - - - - - - - -Alerts · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Alerts · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Alerts

    +
    +

    + Provide contextual feedback messages for typical user actions with + the handful of available and flexible alert messages. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Alerts

    +
    + + On this page +
    +
    -

    Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

    - -
    - - -
    - On this page - +
    +

    + 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. +

    +
    + Heads up! As of v5.3.0, the + alert-variant() Sass mixin is deprecated. Alert + variants now have their CSS variables overridden in + the Sass loop. +
    + +
    +
    + + + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="alert alert-primary" role="alert">
    +  A simple primary alert—check it out!
    +</div>
    +<div class="alert alert-secondary" role="alert">
    +  A simple secondary alert—check it out!
    +</div>
    +<div class="alert alert-success" role="alert">
    +  A simple success alert—check it out!
    +</div>
    +<div class="alert alert-danger" role="alert">
    +  A simple danger alert—check it out!
    +</div>
    +<div class="alert alert-warning" role="alert">
    +  A simple warning alert—check it out!
    +</div>
    +<div class="alert alert-info" role="alert">
    +  A simple info alert—check it out!
    +</div>
    +<div class="alert alert-light" role="alert">
    +  A simple light alert—check it out!
    +</div>
    +<div class="alert alert-dark" role="alert">
    +  A simple dark alert—check it out!
    +</div>
    +
    +
    + +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + +

    + 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. +

    +
    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div id="liveAlertPlaceholder"></div>
    +<button type="button" class="btn btn-primary" id="liveAlertBtn">Show live alert</button>
    +
    +
    + +

    We use the following JavaScript to trigger our live alert demo:

    +
    +
    + +
    +
    +
    const alertPlaceholder = document.getElementById('liveAlertPlaceholder')
    +const appendAlert = (message, type) => {
    +  const wrapper = document.createElement('div')
    +  wrapper.innerHTML = [
    +    `<div class="alert alert-${type} alert-dismissible" role="alert">`,
    +    `   <div>${message}</div>`,
    +    '   <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>',
    +    '</div>'
    +  ].join('')
    +
    +  alertPlaceholder.append(wrapper)
    +}
    +
    +const alertTrigger = document.getElementById('liveAlertBtn')
    +if (alertTrigger) {
    +  alertTrigger.addEventListener('click', () => {
    +    appendAlert('Nice, you triggered this alert message!', 'success')
    +  })
    +}
    +
    +
    + +

    + Use the .alert-link utility class to quickly provide + matching colored links within any alert. +

    +
    +
    + + + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="alert alert-primary" role="alert">
    +  A simple primary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    +</div>
    +<div class="alert alert-secondary" role="alert">
    +  A simple secondary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    +</div>
    +<div class="alert alert-success" role="alert">
    +  A simple success alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    +</div>
    +<div class="alert alert-danger" role="alert">
    +  A simple danger alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    +</div>
    +<div class="alert alert-warning" role="alert">
    +  A simple warning alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    +</div>
    +<div class="alert alert-info" role="alert">
    +  A simple info alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    +</div>
    +<div class="alert alert-light" role="alert">
    +  A simple light alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    +</div>
    +<div class="alert alert-dark" role="alert">
    +  A simple dark alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    +</div>
    +
    +
    + +

    + Additional content + +

    +

    + Alerts can also contain additional HTML elements like headings, + paragraphs and dividers. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="alert alert-success" role="alert">
    +  <h4 class="alert-heading">Well done!</h4>
    +  <p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>
    +  <hr>
    +  <p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
    +</div>
    +
    +
    + +

    + Icons + +

    +

    + Similarly, you can use + flexbox utilities and + Bootstrap Icons to + create alerts with icons. Depending on your icons and content, you + may want to add more utilities or custom styles. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="alert alert-primary d-flex align-items-center" role="alert">
    +  <svg xmlns="http://www.w3.org/2000/svg" class="bi bi-exclamation-triangle-fill flex-shrink-0 me-2" viewBox="0 0 16 16" role="img" aria-label="Warning:">
    +    <path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"/>
    +  </svg>
    +  <div>
    +    An example alert with an icon
    +  </div>
    +</div>
    +
    +
    + +

    + 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. +

    +
    +
    + + + + + + + + + + + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
    +  <symbol id="check-circle-fill" viewBox="0 0 16 16">
    +    <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
    +  </symbol>
    +  <symbol id="info-fill" viewBox="0 0 16 16">
    +    <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/>
    +  </symbol>
    +  <symbol id="exclamation-triangle-fill" viewBox="0 0 16 16">
    +    <path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"/>
    +  </symbol>
    +</svg>
    +
    +<div class="alert alert-primary d-flex align-items-center" role="alert">
    +  <svg class="bi flex-shrink-0 me-2" role="img" aria-label="Info:"><use xlink:href="#info-fill"/></svg>
    +  <div>
    +    An example alert with an icon
    +  </div>
    +</div>
    +<div class="alert alert-success d-flex align-items-center" role="alert">
    +  <svg class="bi flex-shrink-0 me-2" role="img" aria-label="Success:"><use xlink:href="#check-circle-fill"/></svg>
    +  <div>
    +    An example success alert with an icon
    +  </div>
    +</div>
    +<div class="alert alert-warning d-flex align-items-center" role="alert">
    +  <svg class="bi flex-shrink-0 me-2" role="img" aria-label="Warning:"><use xlink:href="#exclamation-triangle-fill"/></svg>
    +  <div>
    +    An example warning alert with an icon
    +  </div>
    +</div>
    +<div class="alert alert-danger d-flex align-items-center" role="alert">
    +  <svg class="bi flex-shrink-0 me-2" role="img" aria-label="Danger:"><use xlink:href="#exclamation-triangle-fill"/></svg>
    +  <div>
    +    An example danger alert with an icon
    +  </div>
    +</div>
    +
    +
    + +

    + 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 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 + <button> element with it for proper behavior + across all devices. +
    • +
    • + To animate alerts when dismissing them, be sure to add the + .fade and .show classes. +
    • +
    +

    You can see this in action with a live demo:

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="alert alert-warning alert-dismissible fade show" role="alert">
    +  <strong>Holy guacamole!</strong> You should check in on some of those fields below.
    +  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    +</div>
    +
    +
    + +
    + 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. +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.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/_alert.scss +
    + +
    +
    +
    +
    --#{$prefix}alert-bg: transparent;
    +--#{$prefix}alert-padding-x: #{$alert-padding-x};
    +--#{$prefix}alert-padding-y: #{$alert-padding-y};
    +--#{$prefix}alert-margin-bottom: #{$alert-margin-bottom};
    +--#{$prefix}alert-color: inherit;
    +--#{$prefix}alert-border-color: transparent;
    +--#{$prefix}alert-border: #{$alert-border-width} solid var(--#{$prefix}alert-border-color);
    +--#{$prefix}alert-border-radius: #{$alert-border-radius};
    +--#{$prefix}alert-link-color: inherit;
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $alert-padding-y:               $spacer;
    +$alert-padding-x:               $spacer;
    +$alert-margin-bottom:           1rem;
    +$alert-border-radius:           var(--#{$prefix}border-radius);
    +$alert-link-font-weight:        $font-weight-bold;
    +$alert-border-width:            var(--#{$prefix}border-width);
    +$alert-bg-scale:                -80%;
    +$alert-border-scale:            -70%;
    +$alert-color-scale:             40%;
    +$alert-dismissible-padding-r:   $alert-padding-x * 3; // 3x covers width of x plus default padding on either side
    +
    +
    +
    +

    + Sass mixin + +

    + Deprecated in v5.3.0 + +

    + Used in combination with $theme-colors to create + contextual modifier classes for our alerts. +

    +
    +
    + scss/mixins/_alert.scss +
    + +
    +
    +
    +
    @mixin alert-variant($background, $border, $color) {
    +  --#{$prefix}alert-color: #{$color};
    +  --#{$prefix}alert-bg: #{$background};
    +  --#{$prefix}alert-border-color: #{$border};
    +  --#{$prefix}alert-link-color: #{shade-color($color, 20%)};
    +
    +  @if $enable-gradients {
    +    background-image: var(--#{$prefix}gradient);
    +  }
    +
    +  .alert-link {
    +    color: var(--#{$prefix}alert-link-color);
    +  }
    +}
    +
    +
    +
    +

    + Sass loop + +

    +

    + Loop that generates the modifier classes with the + alert-variant() mixin. +

    +
    +
    + scss/_alert.scss +
    + +
    +
    +
    +
    // Generate contextual modifier classes for colorizing the alert
    +@each $state in map-keys($theme-colors) {
    +  .alert-#{$state} {
    +    --#{$prefix}alert-color: var(--#{$prefix}#{$state}-text-emphasis);
    +    --#{$prefix}alert-bg: var(--#{$prefix}#{$state}-bg-subtle);
    +    --#{$prefix}alert-border-color: var(--#{$prefix}#{$state}-border-subtle);
    +    --#{$prefix}alert-link-color: var(--#{$prefix}#{$state}-text-emphasis);
    +  }
    +}
    +
    +
    +
    +

    + JavaScript behavior + +

    +

    + Initialize + +

    +

    Initialize elements as alerts

    +
    +
    const alertList = document.querySelectorAll('.alert')
    +const alerts = [...alertList].map(element => new bootstrap.Alert(element))
    +
    +
    +
    +

    + 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 section for more details. +

    +
    + +

    + Triggers + +

    +

    + Dismissal can be achieved with the + data-bs-dismiss attribute on a button + within the alert as demonstrated below: +

    +
    +
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    +
    +
    +

    + or on a button outside the alert using the + additional data-bs-target as demonstrated below: +

    +
    +
    <button type="button" class="btn-close" data-bs-dismiss="alert" data-bs-target="#my-alert" aria-label="Close"></button>
    +
    +
    +

    + Note that closing an alert will remove it from the DOM. +

    +

    + Methods + +

    +

    + You can create an alert instance with the alert constructor, for + example: +

    +
    +
    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.) +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    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). +
    +
    + +

    Basic usage:

    +
    +
    const alert = bootstrap.Alert.getOrCreateInstance('#myAlert')
    +alert.close()
    +
    +
    +

    + Events + +

    +

    + Bootstrap’s alert plugin exposes a few events for hooking into + alert functionality. +

    +
    + + + + + + + + + + + + + + + + + +
    EventDescription
    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. +
    +
    + +
    +
    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()
    +})
    +
    +
    +
    +
    - -
    - - -

    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.

    -
    - - - - - - - - - -
    <div class="alert alert-primary" role="alert">
    -  A simple primary alert—check it out!
    -</div>
    -<div class="alert alert-secondary" role="alert">
    -  A simple secondary alert—check it out!
    -</div>
    -<div class="alert alert-success" role="alert">
    -  A simple success alert—check it out!
    -</div>
    -<div class="alert alert-danger" role="alert">
    -  A simple danger alert—check it out!
    -</div>
    -<div class="alert alert-warning" role="alert">
    -  A simple warning alert—check it out!
    -</div>
    -<div class="alert alert-info" role="alert">
    -  A simple info alert—check it out!
    -</div>
    -<div class="alert alert-light" role="alert">
    -  A simple light alert—check it out!
    -</div>
    -<div class="alert alert-dark" role="alert">
    -  A simple dark alert—check it out!
    -</div>
    -
    -
    Conveying meaning to assistive technologies
    -

    Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .visually-hidden class. -

    - -

    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.

    -
    -
    - -
    <div id="liveAlertPlaceholder"></div>
    -<button type="button" class="btn btn-primary" id="liveAlertBtn">Show live alert</button>
    -

    We use the following JavaScript to trigger our live alert demo:

    -
    var alertPlaceholder = document.getElementById('liveAlertPlaceholder')
    -var alertTrigger = document.getElementById('liveAlertBtn')
    -
    -function alert(message, type) {
    -  var wrapper = document.createElement('div')
    -  wrapper.innerHTML = '<div class="alert alert-' + type + ' alert-dismissible" role="alert">' + message + '<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button></div>'
    -
    -  alertPlaceholder.append(wrapper)
    -}
    -
    -if (alertTrigger) {
    -  alertTrigger.addEventListener('click', function () {
    -    alert('Nice, you triggered this alert message!', 'success')
    -  })
    -}
    -
    -

    Use the .alert-link utility class to quickly provide matching colored links within any alert.

    -
    - - - - - - - - - -
    <div class="alert alert-primary" role="alert">
    -  A simple primary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    -</div>
    -<div class="alert alert-secondary" role="alert">
    -  A simple secondary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    -</div>
    -<div class="alert alert-success" role="alert">
    -  A simple success alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    -</div>
    -<div class="alert alert-danger" role="alert">
    -  A simple danger alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    -</div>
    -<div class="alert alert-warning" role="alert">
    -  A simple warning alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    -</div>
    -<div class="alert alert-info" role="alert">
    -  A simple info alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    -</div>
    -<div class="alert alert-light" role="alert">
    -  A simple light alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    -</div>
    -<div class="alert alert-dark" role="alert">
    -  A simple dark alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    -</div>
    -

    Additional content

    -

    Alerts can also contain additional HTML elements like headings, paragraphs and dividers.

    -
    - -
    <div class="alert alert-success" role="alert">
    -  <h4 class="alert-heading">Well done!</h4>
    -  <p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>
    -  <hr>
    -  <p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
    -</div>
    -

    Icons

    -

    Similarly, you can use flexbox utilities and Bootstrap Icons to create alerts with icons. Depending on your icons and content, you may want to add more utilities or custom styles.

    -
    - -
    <div class="alert alert-primary d-flex align-items-center" role="alert">
    -  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-exclamation-triangle-fill flex-shrink-0 me-2" viewBox="0 0 16 16" role="img" aria-label="Warning:">
    -    <path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"/>
    -  </svg>
    -  <div>
    -    An example alert with an icon
    -  </div>
    -</div>
    -

    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.

    -
    - - - - - - - - - - - - - - - - -
    <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
    -  <symbol id="check-circle-fill" fill="currentColor" viewBox="0 0 16 16">
    -    <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
    -  </symbol>
    -  <symbol id="info-fill" fill="currentColor" viewBox="0 0 16 16">
    -    <path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/>
    -  </symbol>
    -  <symbol id="exclamation-triangle-fill" fill="currentColor" viewBox="0 0 16 16">
    -    <path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"/>
    -  </symbol>
    -</svg>
    -
    -<div class="alert alert-primary d-flex align-items-center" role="alert">
    -  <svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Info:"><use xlink:href="#info-fill"/></svg>
    -  <div>
    -    An example alert with an icon
    -  </div>
    -</div>
    -<div class="alert alert-success d-flex align-items-center" role="alert">
    -  <svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Success:"><use xlink:href="#check-circle-fill"/></svg>
    -  <div>
    -    An example success alert with an icon
    -  </div>
    -</div>
    -<div class="alert alert-warning d-flex align-items-center" role="alert">
    -  <svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Warning:"><use xlink:href="#exclamation-triangle-fill"/></svg>
    -  <div>
    -    An example warning alert with an icon
    -  </div>
    -</div>
    -<div class="alert alert-danger d-flex align-items-center" role="alert">
    -  <svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Danger:"><use xlink:href="#exclamation-triangle-fill"/></svg>
    -  <div>
    -    An example danger alert with an icon
    -  </div>
    -</div>
    -

    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 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 <button> element with it for proper behavior across all devices.
    • -
    • To animate alerts when dismissing them, be sure to add the .fade and .show classes.
    • -
    -

    You can see this in action with a live demo:

    -
    - -
    <div class="alert alert-warning alert-dismissible fade show" role="alert">
    -  <strong>Holy guacamole!</strong> You should check in on some of those fields below.
    -  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    -</div>
    -
    -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. -
    - -

    Sass

    -

    Variables

    -
    $alert-padding-y:               $spacer;
    -$alert-padding-x:               $spacer;
    -$alert-margin-bottom:           1rem;
    -$alert-border-radius:           $border-radius;
    -$alert-link-font-weight:        $font-weight-bold;
    -$alert-border-width:            $border-width;
    -$alert-bg-scale:                -80%;
    -$alert-border-scale:            -70%;
    -$alert-color-scale:             40%;
    -$alert-dismissible-padding-r:   $alert-padding-x * 3; // 3x covers width of x plus default padding on either side
    -
    -

    Variant mixin

    -

    Used in combination with $theme-colors to create contextual modifier classes for our alerts.

    -
    @mixin alert-variant($background, $border, $color) {
    -  color: $color;
    -  @include gradient-bg($background);
    -  border-color: $border;
    -
    -  .alert-link {
    -    color: shade-color($color, 20%);
    -  }
    -}
    -
    -

    Loop

    -

    Loop that generates the modifier classes with the alert-variant() mixin.

    -
    // Generate contextual modifier classes for colorizing the alert.
    -
    -@each $state, $value in $theme-colors {
    -  $alert-background: shift-color($value, $alert-bg-scale);
    -  $alert-border: shift-color($value, $alert-border-scale);
    -  $alert-color: shift-color($value, $alert-color-scale);
    -  @if (contrast-ratio($alert-background, $alert-color) < $min-contrast-ratio) {
    -    $alert-color: mix($value, color-contrast($alert-background), abs($alert-color-scale));
    -  }
    -  .alert-#{$state} {
    -    @include alert-variant($alert-background, $alert-border, $alert-color);
    -  }
    -}
    -
    -

    JavaScript behavior

    -

    Initialize

    -

    Initialize elements as alerts

    -
    var alertList = document.querySelectorAll('.alert')
    -var alerts =  [].slice.call(alertList).map(function (element) {
    -  return new bootstrap.Alert(element)
    -})
    -
    -

    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 section for more details.

    - -
    - -

    Triggers

    -

    Dismissal can be achieved with the data attribute on a button within the alert as demonstrated below:

    -
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    -

    or on a button outside the alert using the data-bs-target as demonstrated below:

    -
    <button type="button" class="btn-close" data-bs-dismiss="alert" data-bs-target="#my-alert" aria-label="Close"></button>
    -

    Note that closing an alert will remove it from the DOM.

    -

    Methods

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    MethodDescription
    - 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, you can use it like this: 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) -
    -
    var alertNode = document.querySelector('.alert')
    -var alert = bootstrap.Alert.getInstance(alertNode)
    -alert.close()
    -

    Events

    -

    Bootstrap’s alert plugin exposes a few events for hooking into alert functionality.

    - - - - - - - - - - - - - - - - - -
    EventDescription
    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. -
    -
    var myAlert = document.getElementById('myAlert')
    -myAlert.addEventListener('closed.bs.alert', function () {
    -  // 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/components/badge/index.html b/components/badge/index.html index 6977025..fd1f278 100644 --- a/components/badge/index.html +++ b/components/badge/index.html @@ -1,578 +1,2431 @@ - - - - - - - - - - - - - - - -Badges · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Badges · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Badges

    +
    +

    + Documentation and examples for badges, our small count and labeling + component. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Badges

    +
    + + On this page +
    +
    -

    Documentation and examples for badges, our small count and labeling component.

    - -
    - - -
    - On this page - +
    +

    + 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 heading New +

    +

    + Example heading New +

    +

    + Example heading New +

    +

    + Example heading New +

    +
    + Example heading New +
    +
    + Example heading New +
    +
    +
    + html +
    + + +
    +
    +
    +
    <h1>Example heading <span class="badge bg-secondary">New</span></h1>
    +<h2>Example heading <span class="badge bg-secondary">New</span></h2>
    +<h3>Example heading <span class="badge bg-secondary">New</span></h3>
    +<h4>Example heading <span class="badge bg-secondary">New</span></h4>
    +<h5>Example heading <span class="badge bg-secondary">New</span></h5>
    +<h6>Example heading <span class="badge bg-secondary">New</span></h6>
    +
    +
    + +

    + Buttons + +

    +

    + Badges can be used as part of links or buttons to provide a counter. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary">
    +  Notifications <span class="badge text-bg-secondary">4</span>
    +</button>
    +
    +
    + +

    + 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. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary position-relative">
    +  Inbox
    +  <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">
    +    99+
    +    <span class="visually-hidden">unread messages</span>
    +  </span>
    +</button>
    +
    +
    + +

    + You can also replace the .badge class with a few more + utilities without a count for a more generic indicator. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary position-relative">
    +  Profile
    +  <span class="position-absolute top-0 start-100 translate-middle p-2 bg-danger border border-light rounded-circle">
    +    <span class="visually-hidden">New alerts</span>
    +  </span>
    +</button>
    +
    +
    + +

    + Background colors + +

    + Added in v5.2.0 + +

    + Set a background-color with contrasting foreground + color with + our .text-bg-{color} helpers. Previously it was required to manually pair your choice of + .text-{color} + and + .bg-{color} + utilities for styling, which you still may use if you prefer. +

    +
    +
    + Primary + Secondary + Success + Danger + Warning + Info + Light + Dark +
    +
    + html +
    + + +
    +
    +
    +
    <span class="badge text-bg-primary">Primary</span>
    +<span class="badge text-bg-secondary">Secondary</span>
    +<span class="badge text-bg-success">Success</span>
    +<span class="badge text-bg-danger">Danger</span>
    +<span class="badge text-bg-warning">Warning</span>
    +<span class="badge text-bg-info">Info</span>
    +<span class="badge text-bg-light">Light</span>
    +<span class="badge text-bg-dark">Dark</span>
    +
    +
    + +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + +

    + Pill badges + +

    +

    + Use the .rounded-pill utility class to make badges more + rounded with a larger border-radius. +

    +
    +
    + Primary + Secondary + Success + Danger + Warning + Info + Light + Dark +
    +
    + html +
    + + +
    +
    +
    +
    <span class="badge rounded-pill text-bg-primary">Primary</span>
    +<span class="badge rounded-pill text-bg-secondary">Secondary</span>
    +<span class="badge rounded-pill text-bg-success">Success</span>
    +<span class="badge rounded-pill text-bg-danger">Danger</span>
    +<span class="badge rounded-pill text-bg-warning">Warning</span>
    +<span class="badge rounded-pill text-bg-info">Info</span>
    +<span class="badge rounded-pill text-bg-light">Light</span>
    +<span class="badge rounded-pill text-bg-dark">Dark</span>
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.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/_badge.scss +
    + +
    +
    +
    +
    --#{$prefix}badge-padding-x: #{$badge-padding-x};
    +--#{$prefix}badge-padding-y: #{$badge-padding-y};
    +@include rfs($badge-font-size, --#{$prefix}badge-font-size);
    +--#{$prefix}badge-font-weight: #{$badge-font-weight};
    +--#{$prefix}badge-color: #{$badge-color};
    +--#{$prefix}badge-border-radius: #{$badge-border-radius};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $badge-font-size:                   .75em;
    +$badge-font-weight:                 $font-weight-bold;
    +$badge-color:                       $white;
    +$badge-padding-y:                   .35em;
    +$badge-padding-x:                   .65em;
    +$badge-border-radius:               var(--#{$prefix}border-radius);
    +
    +
    +
    +
    +
    - -
    - - -

    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 heading New

    -

    Example heading New

    -

    Example heading New

    -

    Example heading New

    -
    Example heading New
    -
    Example heading New
    -
    <h1>Example heading <span class="badge bg-secondary">New</span></h1>
    -<h2>Example heading <span class="badge bg-secondary">New</span></h2>
    -<h3>Example heading <span class="badge bg-secondary">New</span></h3>
    -<h4>Example heading <span class="badge bg-secondary">New</span></h4>
    -<h5>Example heading <span class="badge bg-secondary">New</span></h5>
    -<h6>Example heading <span class="badge bg-secondary">New</span></h6>
    -

    Buttons

    -

    Badges can be used as part of links or buttons to provide a counter.

    -
    - -
    <button type="button" class="btn btn-primary">
    -  Notifications <span class="badge bg-secondary">4</span>
    -</button>
    -

    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.

    -
    - -
    <button type="button" class="btn btn-primary position-relative">
    -  Inbox
    -  <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">
    -    99+
    -    <span class="visually-hidden">unread messages</span>
    -  </span>
    -</button>
    -

    You can also replace the .badge class with a few more utilities without a count for a more generic indicator.

    -
    - -
    <button type="button" class="btn btn-primary position-relative">
    -  Profile
    -  <span class="position-absolute top-0 start-100 translate-middle p-2 bg-danger border border-light rounded-circle">
    -    <span class="visually-hidden">New alerts</span>
    -  </span>
    -</button>
    -

    Background colors

    -

    Use our background utility classes to quickly change the appearance of a badge. Please note that when using Bootstrap’s default .bg-light, you’ll likely need a text color utility like .text-dark for proper styling. This is because background utilities do not set anything but background-color.

    -
    - -Primary -Secondary -Success -Danger -Warning -Info -Light -Dark -
    <span class="badge bg-primary">Primary</span>
    -<span class="badge bg-secondary">Secondary</span>
    -<span class="badge bg-success">Success</span>
    -<span class="badge bg-danger">Danger</span>
    -<span class="badge bg-warning text-dark">Warning</span>
    -<span class="badge bg-info text-dark">Info</span>
    -<span class="badge bg-light text-dark">Light</span>
    -<span class="badge bg-dark">Dark</span>
    -
    -
    Conveying meaning to assistive technologies
    -

    Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .visually-hidden class. -

    - -

    Pill badges

    -

    Use the .rounded-pill utility class to make badges more rounded with a larger border-radius.

    -
    - -Primary -Secondary -Success -Danger -Warning -Info -Light -Dark -
    <span class="badge rounded-pill bg-primary">Primary</span>
    -<span class="badge rounded-pill bg-secondary">Secondary</span>
    -<span class="badge rounded-pill bg-success">Success</span>
    -<span class="badge rounded-pill bg-danger">Danger</span>
    -<span class="badge rounded-pill bg-warning text-dark">Warning</span>
    -<span class="badge rounded-pill bg-info text-dark">Info</span>
    -<span class="badge rounded-pill bg-light text-dark">Light</span>
    -<span class="badge rounded-pill bg-dark">Dark</span>
    -

    Sass

    -

    Variables

    -
    $badge-font-size:                   .75em;
    -$badge-font-weight:                 $font-weight-bold;
    -$badge-color:                       $white;
    -$badge-padding-y:                   .35em;
    -$badge-padding-x:                   .65em;
    -$badge-border-radius:               $border-radius;
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/breadcrumb/index.html b/components/breadcrumb/index.html index 3e46f43..01c4777 100644 --- a/components/breadcrumb/index.html +++ b/components/breadcrumb/index.html @@ -1,567 +1,2364 @@ - - - - - - - - - - - - - - - -Breadcrumb · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Breadcrumb · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Breadcrumb

    +
    +

    + Indicate the current page’s location within a navigational + hierarchy that automatically adds separators via CSS. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Breadcrumb

    +
    + + On this page +
    +
    + +
    -

    Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS.

    - -
    - - -
    - On this page - +
    +

    + 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. +

    +
    +
    + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <nav aria-label="breadcrumb">
    +  <ol class="breadcrumb">
    +    <li class="breadcrumb-item active" aria-current="page">Home</li>
    +  </ol>
    +</nav>
    +
    +<nav aria-label="breadcrumb">
    +  <ol class="breadcrumb">
    +    <li class="breadcrumb-item"><a href="#">Home</a></li>
    +    <li class="breadcrumb-item active" aria-current="page">Library</li>
    +  </ol>
    +</nav>
    +
    +<nav aria-label="breadcrumb">
    +  <ol class="breadcrumb">
    +    <li class="breadcrumb-item"><a href="#">Home</a></li>
    +    <li class="breadcrumb-item"><a href="#">Library</a></li>
    +    <li class="breadcrumb-item active" aria-current="page">Data</li>
    +  </ol>
    +</nav>
    +
    +
    + +

    + Dividers + +

    +

    + Dividers are automatically added in CSS through + ::before + and + 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. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
    +  <ol class="breadcrumb">
    +    <li class="breadcrumb-item"><a href="#">Home</a></li>
    +    <li class="breadcrumb-item active" aria-current="page">Library</li>
    +  </ol>
    +</nav>
    +
    +
    + +

    + When modifying via Sass, the + quote + function is required to generate the quotes around a string. For + example, using > as the divider, you can use this: +

    +
    +
    $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. +

    +
    + Inlined SVG requires properly escaped characters. + Some reserved characters, such as <, + > and #, must be URL-encoded or + escaped. We do this with the + $breadcrumb-divider variable using our + escape-svg() Sass function. When customizing the CSS variable, you must handle this yourself. + Read + Kevin Weber’s explanations on CodePen + for more info. +
    + +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav style="--bs-breadcrumb-divider: url(&#34;data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%236c757d'/%3E%3C/svg%3E&#34;);" aria-label="breadcrumb">
    +  <ol class="breadcrumb">
    +    <li class="breadcrumb-item"><a href="#">Home</a></li>
    +    <li class="breadcrumb-item active" aria-current="page">Library</li>
    +  </ol>
    +</nav>
    +
    +
    + +
    +
    $breadcrumb-divider: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><path d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='#{$breadcrumb-divider-color}'/></svg>");
    +
    +
    +

    + 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;. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav style="--bs-breadcrumb-divider: '';" aria-label="breadcrumb">
    +  <ol class="breadcrumb">
    +    <li class="breadcrumb-item"><a href="#">Home</a></li>
    +    <li class="breadcrumb-item active" aria-current="page">Library</li>
    +  </ol>
    +</nav>
    +
    +
    + +
    +
    $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 <nav> element, as + well as applying an aria-current="page" to + the last item of the set to indicate that it represents the current + page. +

    +

    + For more information, see the + ARIA Authoring Practices Guide breadcrumb pattern. +

    +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, + breadcrumbs now use local CSS variables on + .breadcrumb for enhanced real-time customization. + Values for the CSS variables are set via Sass, so Sass customization + is still supported, too. +

    +
    +
    + scss/_breadcrumb.scss +
    + +
    +
    +
    +
    --#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x};
    +--#{$prefix}breadcrumb-padding-y: #{$breadcrumb-padding-y};
    +--#{$prefix}breadcrumb-margin-bottom: #{$breadcrumb-margin-bottom};
    +@include rfs($breadcrumb-font-size, --#{$prefix}breadcrumb-font-size);
    +--#{$prefix}breadcrumb-bg: #{$breadcrumb-bg};
    +--#{$prefix}breadcrumb-border-radius: #{$breadcrumb-border-radius};
    +--#{$prefix}breadcrumb-divider-color: #{$breadcrumb-divider-color};
    +--#{$prefix}breadcrumb-item-padding-x: #{$breadcrumb-item-padding-x};
    +--#{$prefix}breadcrumb-item-active-color: #{$breadcrumb-active-color};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $breadcrumb-font-size:              null;
    +$breadcrumb-padding-y:              0;
    +$breadcrumb-padding-x:              0;
    +$breadcrumb-item-padding-x:         .5rem;
    +$breadcrumb-margin-bottom:          1rem;
    +$breadcrumb-bg:                     null;
    +$breadcrumb-divider-color:          var(--#{$prefix}secondary-color);
    +$breadcrumb-active-color:           var(--#{$prefix}secondary-color);
    +$breadcrumb-divider:                quote("/");
    +$breadcrumb-divider-flipped:        $breadcrumb-divider;
    +$breadcrumb-border-radius:          null;
    +
    +
    +
    +
    +
    - -
    - - -

    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.

    -
    - - - - - -
    <nav aria-label="breadcrumb">
    -  <ol class="breadcrumb">
    -    <li class="breadcrumb-item active" aria-current="page">Home</li>
    -  </ol>
    -</nav>
    -
    -<nav aria-label="breadcrumb">
    -  <ol class="breadcrumb">
    -    <li class="breadcrumb-item"><a href="#">Home</a></li>
    -    <li class="breadcrumb-item active" aria-current="page">Library</li>
    -  </ol>
    -</nav>
    -
    -<nav aria-label="breadcrumb">
    -  <ol class="breadcrumb">
    -    <li class="breadcrumb-item"><a href="#">Home</a></li>
    -    <li class="breadcrumb-item"><a href="#">Library</a></li>
    -    <li class="breadcrumb-item active" aria-current="page">Data</li>
    -  </ol>
    -</nav>
    -

    Dividers

    -

    Dividers are automatically added in CSS through ::before and 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.

    -
    - -
    <nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
    -  <ol class="breadcrumb">
    -    <li class="breadcrumb-item"><a href="#">Home</a></li>
    -    <li class="breadcrumb-item active" aria-current="page">Library</li>
    -  </ol>
    -</nav>
    -

    When modifying via Sass, the quote function is required to generate the quotes around a string. For example, using > as the divider, you can use this:

    -
    $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.

    -
    - -
    <nav style="--bs-breadcrumb-divider: url(&#34;data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E&#34;);" aria-label="breadcrumb">
    -  <ol class="breadcrumb">
    -    <li class="breadcrumb-item"><a href="#">Home</a></li>
    -    <li class="breadcrumb-item active" aria-current="page">Library</li>
    -  </ol>
    -</nav>
    -
    $breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E");
    -

    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;.

    -
    - -
    <nav style="--bs-breadcrumb-divider: '';" aria-label="breadcrumb">
    -  <ol class="breadcrumb">
    -    <li class="breadcrumb-item"><a href="#">Home</a></li>
    -    <li class="breadcrumb-item active" aria-current="page">Library</li>
    -  </ol>
    -</nav>
    -
    $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 <nav> element, as well as applying an aria-current="page" to the last item of the set to indicate that it represents the current page.

    -

    For more information, see the WAI-ARIA Authoring Practices for the breadcrumb pattern.

    -

    Sass

    -

    Variables

    -
    $breadcrumb-font-size:              null;
    -$breadcrumb-padding-y:              0;
    -$breadcrumb-padding-x:              0;
    -$breadcrumb-item-padding-x:         .5rem;
    -$breadcrumb-margin-bottom:          1rem;
    -$breadcrumb-bg:                     null;
    -$breadcrumb-divider-color:          $gray-600;
    -$breadcrumb-active-color:           $gray-600;
    -$breadcrumb-divider:                quote("/");
    -$breadcrumb-divider-flipped:        $breadcrumb-divider;
    -$breadcrumb-border-radius:          null;
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/button-group/index.html b/components/button-group/index.html index 4a96a21..d77c713 100644 --- a/components/button-group/index.html +++ b/components/button-group/index.html @@ -1,771 +1,3050 @@ - - - - - - - - - - - - - - - -Button group · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Button group · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Button group

    +
    +

    + Group a series of buttons together on a single line or stack them in + a vertical column. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Button group

    +
    + + On this page +
    +
    -

    Group a series of buttons together on a single line or stack them in a vertical column.

    - - -
    - -
    - On this page - +
    +

    + Basic example + +

    +

    + Wrap a series of buttons with .btn in + .btn-group. +

    +
    +
    +
    + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group" role="group" aria-label="Basic example">
    +  <button type="button" class="btn btn-primary">Left</button>
    +  <button type="button" class="btn btn-primary">Middle</button>
    +  <button type="button" class="btn btn-primary">Right</button>
    +</div>
    +
    +
    + +
    + Button groups require an appropriate role attribute and + explicit label to ensure assistive technologies like screen readers + identify buttons as grouped and announce them. Use + role="group" for button groups or + role="toolbar" for button toolbars. Then use + aria-label or aria-labelledby to label + them. +
    + +

    + These classes can also be added to groups of links, as an + alternative to the + .nav navigation components. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group">
    +  <a href="#" class="btn btn-primary active" aria-current="page">Active link</a>
    +  <a href="#" class="btn btn-primary">Link</a>
    +  <a href="#" class="btn btn-primary">Link</a>
    +</div>
    +
    +
    + +

    + Mixed styles + +

    +
    +
    +
    + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group" role="group" aria-label="Basic mixed styles example">
    +  <button type="button" class="btn btn-danger">Left</button>
    +  <button type="button" class="btn btn-warning">Middle</button>
    +  <button type="button" class="btn btn-success">Right</button>
    +</div>
    +
    +
    + +

    + Outlined styles + +

    +
    +
    +
    + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group" role="group" aria-label="Basic outlined example">
    +  <button type="button" class="btn btn-outline-primary">Left</button>
    +  <button type="button" class="btn btn-outline-primary">Middle</button>
    +  <button type="button" class="btn btn-outline-primary">Right</button>
    +</div>
    +
    +
    + +

    + Checkbox and radio button groups + +

    +

    + Combine button-like checkbox and radio + toggle buttons + into a seamless looking button group. +

    +
    +
    +
    + + + + + + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group" role="group" aria-label="Basic checkbox toggle button group">
    +  <input type="checkbox" class="btn-check" id="btncheck1" autocomplete="off">
    +  <label class="btn btn-outline-primary" for="btncheck1">Checkbox 1</label>
    +
    +  <input type="checkbox" class="btn-check" id="btncheck2" autocomplete="off">
    +  <label class="btn btn-outline-primary" for="btncheck2">Checkbox 2</label>
    +
    +  <input type="checkbox" class="btn-check" id="btncheck3" autocomplete="off">
    +  <label class="btn btn-outline-primary" for="btncheck3">Checkbox 3</label>
    +</div>
    +
    +
    + +
    +
    +
    + + + + + + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group" role="group" aria-label="Basic radio toggle button group">
    +  <input type="radio" class="btn-check" name="btnradio" id="btnradio1" autocomplete="off" checked>
    +  <label class="btn btn-outline-primary" for="btnradio1">Radio 1</label>
    +
    +  <input type="radio" class="btn-check" name="btnradio" id="btnradio2" autocomplete="off">
    +  <label class="btn btn-outline-primary" for="btnradio2">Radio 2</label>
    +
    +  <input type="radio" class="btn-check" name="btnradio" id="btnradio3" autocomplete="off">
    +  <label class="btn btn-outline-primary" for="btnradio3">Radio 3</label>
    +</div>
    +
    +
    + +

    + Button toolbar + +

    +

    + Combine sets of button groups into button toolbars for more complex + components. Use utility classes as needed to space out groups, + buttons, and more. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-toolbar" role="toolbar" aria-label="Toolbar with button groups">
    +  <div class="btn-group me-2" role="group" aria-label="First group">
    +    <button type="button" class="btn btn-primary">1</button>
    +    <button type="button" class="btn btn-primary">2</button>
    +    <button type="button" class="btn btn-primary">3</button>
    +    <button type="button" class="btn btn-primary">4</button>
    +  </div>
    +  <div class="btn-group me-2" role="group" aria-label="Second group">
    +    <button type="button" class="btn btn-secondary">5</button>
    +    <button type="button" class="btn btn-secondary">6</button>
    +    <button type="button" class="btn btn-secondary">7</button>
    +  </div>
    +  <div class="btn-group" role="group" aria-label="Third group">
    +    <button type="button" class="btn btn-info">8</button>
    +  </div>
    +</div>
    +
    +
    + +

    + Feel free to mix input groups with button groups in your toolbars. + Similar to the example above, you’ll likely need some + utilities though to space things properly. +

    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-toolbar mb-3" role="toolbar" aria-label="Toolbar with button groups">
    +  <div class="btn-group me-2" role="group" aria-label="First group">
    +    <button type="button" class="btn btn-outline-secondary">1</button>
    +    <button type="button" class="btn btn-outline-secondary">2</button>
    +    <button type="button" class="btn btn-outline-secondary">3</button>
    +    <button type="button" class="btn btn-outline-secondary">4</button>
    +  </div>
    +  <div class="input-group">
    +    <div class="input-group-text" id="btnGroupAddon">@</div>
    +    <input type="text" class="form-control" placeholder="Input group example" aria-label="Input group example" aria-describedby="btnGroupAddon">
    +  </div>
    +</div>
    +
    +<div class="btn-toolbar justify-content-between" role="toolbar" aria-label="Toolbar with button groups">
    +  <div class="btn-group" role="group" aria-label="First group">
    +    <button type="button" class="btn btn-outline-secondary">1</button>
    +    <button type="button" class="btn btn-outline-secondary">2</button>
    +    <button type="button" class="btn btn-outline-secondary">3</button>
    +    <button type="button" class="btn btn-outline-secondary">4</button>
    +  </div>
    +  <div class="input-group">
    +    <div class="input-group-text" id="btnGroupAddon2">@</div>
    +    <input type="text" class="form-control" placeholder="Input group example" aria-label="Input group example" aria-describedby="btnGroupAddon2">
    +  </div>
    +</div>
    +
    +
    + +

    + Sizing + +

    +

    + Instead of applying button sizing classes to every button in a + group, just add .btn-group-* to each + .btn-group, including each one when nesting multiple + groups. +

    +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group btn-group-lg" role="group" aria-label="Large button group">
    +  <button type="button" class="btn btn-outline-primary">Left</button>
    +  <button type="button" class="btn btn-outline-primary">Middle</button>
    +  <button type="button" class="btn btn-outline-primary">Right</button>
    +</div>
    +<br>
    +<div class="btn-group" role="group" aria-label="Default button group">
    +  <button type="button" class="btn btn-outline-primary">Left</button>
    +  <button type="button" class="btn btn-outline-primary">Middle</button>
    +  <button type="button" class="btn btn-outline-primary">Right</button>
    +</div>
    +<br>
    +<div class="btn-group btn-group-sm" role="group" aria-label="Small button group">
    +  <button type="button" class="btn btn-outline-primary">Left</button>
    +  <button type="button" class="btn btn-outline-primary">Middle</button>
    +  <button type="button" class="btn btn-outline-primary">Right</button>
    +</div>
    +
    +
    + +

    + Nesting + +

    +

    + Place a .btn-group within another + .btn-group when you want dropdown menus mixed with a + series of buttons. +

    +
    +
    +
    + + + +
    + + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group" role="group" aria-label="Button group with nested dropdown">
    +  <button type="button" class="btn btn-primary">1</button>
    +  <button type="button" class="btn btn-primary">2</button>
    +
    +  <div class="btn-group" role="group">
    +    <button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +      Dropdown
    +    </button>
    +    <ul class="dropdown-menu">
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +    </ul>
    +  </div>
    +</div>
    +
    +
    + +

    + Vertical variation + +

    +

    + Make a set of buttons appear vertically stacked rather than + horizontally. + Split button dropdowns are not supported here. +

    +
    +
    +
    + + + + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group-vertical" role="group" aria-label="Vertical button group">
    +  <button type="button" class="btn btn-primary">Button</button>
    +  <button type="button" class="btn btn-primary">Button</button>
    +  <button type="button" class="btn btn-primary">Button</button>
    +  <button type="button" class="btn btn-primary">Button</button>
    +  <button type="button" class="btn btn-primary">Button</button>
    +  <button type="button" class="btn btn-primary">Button</button>
    +</div>
    +
    +
    + +
    +
    +
    + + +
    + + +
    + + +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group-vertical" role="group" aria-label="Vertical button group">
    +  <button type="button" class="btn btn-primary">Button</button>
    +  <button type="button" class="btn btn-primary">Button</button>
    +  <div class="btn-group" role="group">
    +    <button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +      Dropdown
    +    </button>
    +    <ul class="dropdown-menu">
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +    </ul>
    +  </div>
    +  <button type="button" class="btn btn-primary">Button</button>
    +  <button type="button" class="btn btn-primary">Button</button>
    +  <div class="btn-group" role="group">
    +    <button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +      Dropdown
    +    </button>
    +    <ul class="dropdown-menu">
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +    </ul>
    +  </div>
    +  <div class="btn-group" role="group">
    +    <button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +      Dropdown
    +    </button>
    +    <ul class="dropdown-menu">
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +    </ul>
    +  </div>
    +  <div class="btn-group" role="group">
    +    <button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +      Dropdown
    +    </button>
    +    <ul class="dropdown-menu">
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    +    </ul>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    + + + + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group-vertical" role="group" aria-label="Vertical radio toggle button group">
    +  <input type="radio" class="btn-check" name="vbtn-radio" id="vbtn-radio1" autocomplete="off" checked>
    +  <label class="btn btn-outline-danger" for="vbtn-radio1">Radio 1</label>
    +  <input type="radio" class="btn-check" name="vbtn-radio" id="vbtn-radio2" autocomplete="off">
    +  <label class="btn btn-outline-danger" for="vbtn-radio2">Radio 2</label>
    +  <input type="radio" class="btn-check" name="vbtn-radio" id="vbtn-radio3" autocomplete="off">
    +  <label class="btn btn-outline-danger" for="vbtn-radio3">Radio 3</label>
    +</div>
    +
    +
    - - -
    - - -

    Basic example

    -

    Wrap a series of buttons with .btn in .btn-group.

    -
    -
    - - - -
    -
    <div class="btn-group" role="group" aria-label="Basic example">
    -  <button type="button" class="btn btn-primary">Left</button>
    -  <button type="button" class="btn btn-primary">Middle</button>
    -  <button type="button" class="btn btn-primary">Right</button>
    -</div>
    -
    -
    Ensure correct role and provide a label
    -

    In order for assistive technologies (such as screen readers) to convey that a series of buttons is grouped, an appropriate role attribute needs to be provided. For button groups, this would be role="group", while toolbars should have a role="toolbar".

    -

    In addition, groups and toolbars should be given an explicit label, as most assistive technologies will otherwise not announce them, despite the presence of the correct role attribute. In the examples provided here, we use aria-label, but alternatives such as aria-labelledby can also be used.

    - -
    - -

    These classes can also be added to groups of links, as an alternative to the .nav navigation components.

    -
    - -
    <div class="btn-group">
    -  <a href="#" class="btn btn-primary active" aria-current="page">Active link</a>
    -  <a href="#" class="btn btn-primary">Link</a>
    -  <a href="#" class="btn btn-primary">Link</a>
    -</div>
    -

    Mixed styles

    -
    -
    - - - -
    -
    <div class="btn-group" role="group" aria-label="Basic mixed styles example">
    -  <button type="button" class="btn btn-danger">Left</button>
    -  <button type="button" class="btn btn-warning">Middle</button>
    -  <button type="button" class="btn btn-success">Right</button>
    -</div>
    -

    Outlined styles

    -
    -
    - - - -
    -
    <div class="btn-group" role="group" aria-label="Basic outlined example">
    -  <button type="button" class="btn btn-outline-primary">Left</button>
    -  <button type="button" class="btn btn-outline-primary">Middle</button>
    -  <button type="button" class="btn btn-outline-primary">Right</button>
    -</div>
    -

    Checkbox and radio button groups

    -

    Combine button-like checkbox and radio toggle buttons into a seamless looking button group.

    -
    -
    - - - - - - - - -
    -
    <div class="btn-group" role="group" aria-label="Basic checkbox toggle button group">
    -  <input type="checkbox" class="btn-check" id="btncheck1" autocomplete="off">
    -  <label class="btn btn-outline-primary" for="btncheck1">Checkbox 1</label>
    -
    -  <input type="checkbox" class="btn-check" id="btncheck2" autocomplete="off">
    -  <label class="btn btn-outline-primary" for="btncheck2">Checkbox 2</label>
    -
    -  <input type="checkbox" class="btn-check" id="btncheck3" autocomplete="off">
    -  <label class="btn btn-outline-primary" for="btncheck3">Checkbox 3</label>
    -</div>
    -
    -
    - - - - - - - - -
    -
    <div class="btn-group" role="group" aria-label="Basic radio toggle button group">
    -  <input type="radio" class="btn-check" name="btnradio" id="btnradio1" autocomplete="off" checked>
    -  <label class="btn btn-outline-primary" for="btnradio1">Radio 1</label>
    -
    -  <input type="radio" class="btn-check" name="btnradio" id="btnradio2" autocomplete="off">
    -  <label class="btn btn-outline-primary" for="btnradio2">Radio 2</label>
    -
    -  <input type="radio" class="btn-check" name="btnradio" id="btnradio3" autocomplete="off">
    -  <label class="btn btn-outline-primary" for="btnradio3">Radio 3</label>
    -</div>
    -

    Button toolbar

    -

    Combine sets of button groups into button toolbars for more complex components. Use utility classes as needed to space out groups, buttons, and more.

    -
    - -
    <div class="btn-toolbar" role="toolbar" aria-label="Toolbar with button groups">
    -  <div class="btn-group me-2" role="group" aria-label="First group">
    -    <button type="button" class="btn btn-primary">1</button>
    -    <button type="button" class="btn btn-primary">2</button>
    -    <button type="button" class="btn btn-primary">3</button>
    -    <button type="button" class="btn btn-primary">4</button>
    -  </div>
    -  <div class="btn-group me-2" role="group" aria-label="Second group">
    -    <button type="button" class="btn btn-secondary">5</button>
    -    <button type="button" class="btn btn-secondary">6</button>
    -    <button type="button" class="btn btn-secondary">7</button>
    -  </div>
    -  <div class="btn-group" role="group" aria-label="Third group">
    -    <button type="button" class="btn btn-info">8</button>
    -  </div>
    -</div>
    -

    Feel free to mix input groups with button groups in your toolbars. Similar to the example above, you’ll likely need some utilities though to space things properly.

    -
    - - - -
    <div class="btn-toolbar mb-3" role="toolbar" aria-label="Toolbar with button groups">
    -  <div class="btn-group me-2" role="group" aria-label="First group">
    -    <button type="button" class="btn btn-outline-secondary">1</button>
    -    <button type="button" class="btn btn-outline-secondary">2</button>
    -    <button type="button" class="btn btn-outline-secondary">3</button>
    -    <button type="button" class="btn btn-outline-secondary">4</button>
    -  </div>
    -  <div class="input-group">
    -    <div class="input-group-text" id="btnGroupAddon">@</div>
    -    <input type="text" class="form-control" placeholder="Input group example" aria-label="Input group example" aria-describedby="btnGroupAddon">
    -  </div>
    -</div>
    -
    -<div class="btn-toolbar justify-content-between" role="toolbar" aria-label="Toolbar with button groups">
    -  <div class="btn-group" role="group" aria-label="First group">
    -    <button type="button" class="btn btn-outline-secondary">1</button>
    -    <button type="button" class="btn btn-outline-secondary">2</button>
    -    <button type="button" class="btn btn-outline-secondary">3</button>
    -    <button type="button" class="btn btn-outline-secondary">4</button>
    -  </div>
    -  <div class="input-group">
    -    <div class="input-group-text" id="btnGroupAddon2">@</div>
    -    <input type="text" class="form-control" placeholder="Input group example" aria-label="Input group example" aria-describedby="btnGroupAddon2">
    -  </div>
    -</div>
    -

    Sizing

    -

    Instead of applying button sizing classes to every button in a group, just add .btn-group-* to each .btn-group, including each one when nesting multiple groups.

    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    - - - -
    -
    -
    <div class="btn-group btn-group-lg" role="group" aria-label="...">...</div>
    -<div class="btn-group" role="group" aria-label="...">...</div>
    -<div class="btn-group btn-group-sm" role="group" aria-label="...">...</div>
    -

    Nesting

    -

    Place a .btn-group within another .btn-group when you want dropdown menus mixed with a series of buttons.

    -
    -
    - - - -
    - - -
    -
    -
    <div class="btn-group" role="group" aria-label="Button group with nested dropdown">
    -  <button type="button" class="btn btn-primary">1</button>
    -  <button type="button" class="btn btn-primary">2</button>
    -
    -  <div class="btn-group" role="group">
    -    <button id="btnGroupDrop1" type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -      Dropdown
    -    </button>
    -    <ul class="dropdown-menu" aria-labelledby="btnGroupDrop1">
    -      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    -      <li><a class="dropdown-item" href="#">Dropdown link</a></li>
    -    </ul>
    -  </div>
    -</div>
    -

    Vertical variation

    -

    Make a set of buttons appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.

    -
    -
    - - - - - - -
    -
    -
    -
    - - -
    - - -
    - - -
    - - +
    -
    - - -
    -
    - - -
    - - -
    -
    - - - - - - -
    -
    -
    <div class="btn-group-vertical">
    -  ...
    -</div>
    -
    - - - - - - - - - - - - - - - + + + + + + + + + + + + - + diff --git a/components/buttons/index.html b/components/buttons/index.html index 80dede0..3406894 100644 --- a/components/buttons/index.html +++ b/components/buttons/index.html @@ -1,884 +1,3499 @@ - - - - - - - - - - - - - - - -Buttons · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Buttons · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Buttons

    +
    +

    + Use Bootstrap’s custom button styles for actions in forms, + dialogs, and more with support for multiple sizes, states, and more. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Buttons

    +
    + + On this page +
    +
    -

    Use Bootstrap’s custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.

    - - -
    - -
    - On this page - +
    +

    + Base class + +

    +

    + Bootstrap has a base .btn class that sets up basic + styles such as padding and content alignment. By default, + .btn controls have a transparent border and background + color, and lack any explicit focus and hover styles. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn">Base class</button>
    +
    +
    + +

    + The .btn class is intended to be used in conjunction + with our button variants, or to serve as a basis for your own custom + styles. +

    +
    + If you are using the .btn class on its own, remember to + at least define some explicit :focus and/or + :focus-visible styles. +
    + +

    + Variants + +

    +

    + Bootstrap includes several button variants, each serving its own + semantic purpose, with a few extras thrown in for more control. +

    +
    +
    + + + + + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary">Primary</button>
    +<button type="button" class="btn btn-secondary">Secondary</button>
    +<button type="button" class="btn btn-success">Success</button>
    +<button type="button" class="btn btn-danger">Danger</button>
    +<button type="button" class="btn btn-warning">Warning</button>
    +<button type="button" class="btn btn-info">Info</button>
    +<button type="button" class="btn btn-light">Light</button>
    +<button type="button" class="btn btn-dark">Dark</button>
    +
    +<button type="button" class="btn btn-link">Link</button>
    +
    +
    + +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + +

    + Disable text wrapping + +

    +

    + If you don’t want the button text to wrap, you can add the + .text-nowrap class to the button. In Sass, you can set + $btn-white-space: nowrap to disable text wrapping for + each button. +

    +

    + Button tags + +

    +

    + The .btn classes are designed to be used with the + <button> element. However, you can also use these + classes on <a> or + <input> elements (though some browsers may apply + a slightly different rendering). +

    +

    + When using button classes on <a> elements that + are used to trigger in-page functionality (like collapsing content), + rather than linking to new pages or sections within the current + page, these links should be given a + role="button" to appropriately convey their + purpose to assistive technologies such as screen readers. +

    +
    +
    + Link + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <a class="btn btn-primary" href="#" role="button">Link</a>
    +<button class="btn btn-primary" type="submit">Button</button>
    +<input class="btn btn-primary" type="button" value="Input">
    +<input class="btn btn-primary" type="submit" value="Submit">
    +<input class="btn btn-primary" type="reset" value="Reset">
    +
    +
    + +

    + Outline buttons + +

    +

    + In need of a button, but not the hefty background colors they bring? + Replace the default modifier classes with the + .btn-outline-* ones to remove all background images and + colors on any button. +

    +
    +
    + + + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-outline-primary">Primary</button>
    +<button type="button" class="btn btn-outline-secondary">Secondary</button>
    +<button type="button" class="btn btn-outline-success">Success</button>
    +<button type="button" class="btn btn-outline-danger">Danger</button>
    +<button type="button" class="btn btn-outline-warning">Warning</button>
    +<button type="button" class="btn btn-outline-info">Info</button>
    +<button type="button" class="btn btn-outline-light">Light</button>
    +<button type="button" class="btn btn-outline-dark">Dark</button>
    +
    +
    + +
    + Some of the button styles use a relatively light foreground color, + and should only be used on a dark background in order to have + sufficient contrast. +
    + +

    + Sizes + +

    +

    + Fancy larger or smaller buttons? Add .btn-lg or + .btn-sm for additional sizes. +

    +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary btn-lg">Large button</button>
    +<button type="button" class="btn btn-secondary btn-lg">Large button</button>
    +
    +
    + +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary btn-sm">Small button</button>
    +<button type="button" class="btn btn-secondary btn-sm">Small button</button>
    +
    +
    + +

    You can even roll your own custom sizing with CSS variables:

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary"
    +        style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem;">
    +  Custom button
    +</button>
    +
    +
    + +

    + Disabled state + +

    +

    + Make buttons look inactive by adding the + disabled boolean attribute to any + <button> element. Disabled buttons have + pointer-events: none applied to, preventing hover and + active states from triggering. +

    +
    +
    + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary" disabled>Primary button</button>
    +<button type="button" class="btn btn-secondary" disabled>Button</button>
    +<button type="button" class="btn btn-outline-primary" disabled>Primary button</button>
    +<button type="button" class="btn btn-outline-secondary" disabled>Button</button>
    +
    +
    + +

    + Disabled buttons using the <a> element behave a + bit different: +

    +
      +
    • + <a>s don’t support the + disabled attribute, so you must add the + .disabled class to make it visually appear disabled. +
    • +
    • + Some future-friendly styles are included to disable all + pointer-events on anchor buttons. +
    • +
    • + Disabled buttons using <a> should include the + aria-disabled="true" attribute to indicate + the state of the element to assistive technologies. +
    • +
    • + Disabled buttons using <a> + should not include the href attribute. +
    • +
    +
    + +
    + html +
    + + +
    +
    +
    +
    <a class="btn btn-primary disabled" role="button" aria-disabled="true">Primary link</a>
    +<a class="btn btn-secondary disabled" role="button" aria-disabled="true">Link</a>
    +
    +
    + + +

    + To cover cases where you have to keep the + href attribute on a disabled link, the + .disabled class uses + pointer-events: none to try to disable the link + functionality of <a>s. Note that this CSS + property is not yet standardized for HTML, but all modern browsers + support it. In addition, even in browsers that do support + pointer-events: none, keyboard navigation remains + unaffected, meaning that sighted keyboard users and users of + assistive technologies will still be able to activate these links. + So to be safe, in addition to + aria-disabled="true", also include a + tabindex="-1" attribute on these links to + prevent them from receiving keyboard focus, and use custom + JavaScript to disable their functionality altogether. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a href="#" class="btn btn-primary disabled" tabindex="-1" role="button" aria-disabled="true">Primary link</a>
    +<a href="#" class="btn btn-secondary disabled" tabindex="-1" role="button" aria-disabled="true">Link</a>
    +
    +
    + +

    + Block buttons + +

    +

    + Create responsive stacks of full-width, “block buttons” + like those in Bootstrap 4 with a mix of our display and gap + utilities. By using utilities instead of button specific classes, we + have much greater control over spacing, alignment, and responsive + behaviors. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-grid gap-2">
    +  <button class="btn btn-primary" type="button">Button</button>
    +  <button class="btn btn-primary" type="button">Button</button>
    +</div>
    +
    +
    + +

    + Here we create a responsive variation, starting with vertically + stacked buttons until the md breakpoint, where + .d-md-block replaces the .d-grid class, + thus nullifying the gap-2 utility. Resize your browser + to see them change. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-grid gap-2 d-md-block">
    +  <button class="btn btn-primary" type="button">Button</button>
    +  <button class="btn btn-primary" type="button">Button</button>
    +</div>
    +
    +
    + +

    + You can adjust the width of your block buttons with grid column + width classes. For example, for a half-width “block + button”, use .col-6. Center it horizontally with + .mx-auto, too. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-grid gap-2 col-6 mx-auto">
    +  <button class="btn btn-primary" type="button">Button</button>
    +  <button class="btn btn-primary" type="button">Button</button>
    +</div>
    +
    +
    + +

    + Additional utilities can be used to adjust the alignment of buttons + when horizontal. Here we’ve taken our previous responsive + example and added some flex utilities and a margin utility on the + button to right align the buttons when they’re no longer + stacked. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-grid gap-2 d-md-flex justify-content-md-end">
    +  <button class="btn btn-primary me-md-2" type="button">Button</button>
    +  <button class="btn btn-primary" type="button">Button</button>
    +</div>
    +
    +
    + +

    + Button plugin + +

    +

    + The button plugin allows you to create simple on/off toggle buttons. +

    +
    + Visually, these toggle buttons are identical to the + checkbox toggle buttons. However, they are conveyed differently by assistive technologies: + the checkbox toggles will be announced by screen readers as + “checked”/“not checked” (since, despite + their appearance, they are fundamentally still checkboxes), whereas + these toggle buttons will be announced as + “button”/“button pressed”. The choice + between these two approaches will depend on the type of toggle you + are creating, and whether or not the toggle will make sense to users + when announced as a checkbox or as an actual button. +
    + +

    + Toggle states + +

    +

    + Add data-bs-toggle="button" to toggle a + button’s active state. If you’re + pre-toggling a button, you must manually add the + .active class and + aria-pressed="true" to ensure that it is + conveyed appropriately to assistive technologies. +

    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary" data-bs-toggle="button">Toggle button</button>
    +<button type="button" class="btn btn-primary active" data-bs-toggle="button" aria-pressed="true">Active toggle button</button>
    +<button type="button" class="btn btn-primary" disabled data-bs-toggle="button">Disabled toggle button</button>
    +
    +
    + +
    + +
    + html +
    + + +
    +
    +
    +
    <a href="#" class="btn btn-primary" role="button" data-bs-toggle="button">Toggle link</a>
    +<a href="#" class="btn btn-primary active" role="button" data-bs-toggle="button" aria-pressed="true">Active toggle link</a>
    +<a class="btn btn-primary disabled" aria-disabled="true" role="button" data-bs-toggle="button">Disabled toggle link</a>
    +
    +
    + +

    + Methods + +

    +

    + You can create a button instance with the button constructor, for + example: +

    +
    +
    const bsButton = new bootstrap.Button('#myButton')
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    dispose + Destroys an element’s button. (Removes stored data on + the DOM element) +
    getInstance + Static method which allows you to get the button instance + associated to a DOM element, you can use it like this: + bootstrap.Button.getInstance(element). +
    getOrCreateInstance + Static method which returns a button instance associated to + a DOM element or create a new one in case it wasn’t + initialized. You can use it like this: + bootstrap.Button.getOrCreateInstance(element). +
    toggle + Toggles push state. Gives the button the appearance that it + has been activated. +
    +
    + +

    For example, to toggle all buttons

    +
    +
    document.querySelectorAll('.btn').forEach(buttonElement => {
    +  const button = bootstrap.Button.getOrCreateInstance(buttonElement)
    +  button.toggle()
    +})
    +
    +
    +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, + buttons now use local CSS variables on .btn for + enhanced real-time customization. Values for the CSS variables are + set via Sass, so Sass customization is still supported, too. +

    +
    +
    + scss/_buttons.scss +
    + +
    +
    +
    +
    --#{$prefix}btn-padding-x: #{$btn-padding-x};
    +--#{$prefix}btn-padding-y: #{$btn-padding-y};
    +--#{$prefix}btn-font-family: #{$btn-font-family};
    +@include rfs($btn-font-size, --#{$prefix}btn-font-size);
    +--#{$prefix}btn-font-weight: #{$btn-font-weight};
    +--#{$prefix}btn-line-height: #{$btn-line-height};
    +--#{$prefix}btn-color: #{$btn-color};
    +--#{$prefix}btn-bg: transparent;
    +--#{$prefix}btn-border-width: #{$btn-border-width};
    +--#{$prefix}btn-border-color: transparent;
    +--#{$prefix}btn-border-radius: #{$btn-border-radius};
    +--#{$prefix}btn-hover-border-color: transparent;
    +--#{$prefix}btn-box-shadow: #{$btn-box-shadow};
    +--#{$prefix}btn-disabled-opacity: #{$btn-disabled-opacity};
    +--#{$prefix}btn-focus-box-shadow: 0 0 0 #{$btn-focus-width} rgba(var(--#{$prefix}btn-focus-shadow-rgb), .5);
    +
    +
    +

    + Each .btn-* modifier class updates the appropriate CSS + variables to minimize additional CSS rules with our + button-variant(), + button-outline-variant(), and + button-size() mixins. +

    +

    + Here’s an example of building a custom + .btn-* modifier class like we do for the buttons unique + to our docs by reassigning Bootstrap’s CSS variables with a + mixture of our own CSS and Sass variables. +

    +
    + +
    +
    +
    + site/assets/scss/_buttons.scss +
    + +
    +
    +
    +
    .btn-bd-primary {
    +  --bs-btn-font-weight: 600;
    +  --bs-btn-color: var(--bs-white);
    +  --bs-btn-bg: var(--bd-violet-bg);
    +  --bs-btn-border-color: var(--bd-violet-bg);
    +  --bs-btn-hover-color: var(--bs-white);
    +  --bs-btn-hover-bg: #{shade-color($bd-violet, 10%)};
    +  --bs-btn-hover-border-color: #{shade-color($bd-violet, 10%)};
    +  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    +  --bs-btn-active-color: var(--bs-btn-hover-color);
    +  --bs-btn-active-bg: #{shade-color($bd-violet, 20%)};
    +  --bs-btn-active-border-color: #{shade-color($bd-violet, 20%)};
    +}
    +
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $btn-color:                   var(--#{$prefix}body-color);
    +$btn-padding-y:               $input-btn-padding-y;
    +$btn-padding-x:               $input-btn-padding-x;
    +$btn-font-family:             $input-btn-font-family;
    +$btn-font-size:               $input-btn-font-size;
    +$btn-line-height:             $input-btn-line-height;
    +$btn-white-space:             null; // Set to `nowrap` to prevent text wrapping
    +
    +$btn-padding-y-sm:            $input-btn-padding-y-sm;
    +$btn-padding-x-sm:            $input-btn-padding-x-sm;
    +$btn-font-size-sm:            $input-btn-font-size-sm;
    +
    +$btn-padding-y-lg:            $input-btn-padding-y-lg;
    +$btn-padding-x-lg:            $input-btn-padding-x-lg;
    +$btn-font-size-lg:            $input-btn-font-size-lg;
    +
    +$btn-border-width:            $input-btn-border-width;
    +
    +$btn-font-weight:             $font-weight-normal;
    +$btn-box-shadow:              inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075);
    +$btn-focus-width:             $input-btn-focus-width;
    +$btn-focus-box-shadow:        $input-btn-focus-box-shadow;
    +$btn-disabled-opacity:        .65;
    +$btn-active-box-shadow:       inset 0 3px 5px rgba($black, .125);
    +
    +$btn-link-color:              var(--#{$prefix}link-color);
    +$btn-link-hover-color:        var(--#{$prefix}link-hover-color);
    +$btn-link-disabled-color:     $gray-600;
    +
    +// Allows for customizing button radius independently from global border radius
    +$btn-border-radius:           var(--#{$prefix}border-radius);
    +$btn-border-radius-sm:        var(--#{$prefix}border-radius-sm);
    +$btn-border-radius-lg:        var(--#{$prefix}border-radius-lg);
    +
    +$btn-transition:              color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    +
    +$btn-hover-bg-shade-amount:       15%;
    +$btn-hover-bg-tint-amount:        15%;
    +$btn-hover-border-shade-amount:   20%;
    +$btn-hover-border-tint-amount:    10%;
    +$btn-active-bg-shade-amount:      20%;
    +$btn-active-bg-tint-amount:       20%;
    +$btn-active-border-shade-amount:  25%;
    +$btn-active-border-tint-amount:   10%;
    +
    +
    +
    +

    + Sass mixins + +

    +

    + There are three mixins for buttons: button and button outline + variant mixins (both based on $theme-colors), plus a + button size mixin. +

    +
    +
    + scss/mixins/_buttons.scss +
    + +
    +
    +
    +
    @mixin button-variant(
    +  $background,
    +  $border,
    +  $color: color-contrast($background),
    +  $hover-background: if($color == $color-contrast-light, shade-color($background, $btn-hover-bg-shade-amount), tint-color($background, $btn-hover-bg-tint-amount)),
    +  $hover-border: if($color == $color-contrast-light, shade-color($border, $btn-hover-border-shade-amount), tint-color($border, $btn-hover-border-tint-amount)),
    +  $hover-color: color-contrast($hover-background),
    +  $active-background: if($color == $color-contrast-light, shade-color($background, $btn-active-bg-shade-amount), tint-color($background, $btn-active-bg-tint-amount)),
    +  $active-border: if($color == $color-contrast-light, shade-color($border, $btn-active-border-shade-amount), tint-color($border, $btn-active-border-tint-amount)),
    +  $active-color: color-contrast($active-background),
    +  $disabled-background: $background,
    +  $disabled-border: $border,
    +  $disabled-color: color-contrast($disabled-background)
    +) {
    +  --#{$prefix}btn-color: #{$color};
    +  --#{$prefix}btn-bg: #{$background};
    +  --#{$prefix}btn-border-color: #{$border};
    +  --#{$prefix}btn-hover-color: #{$hover-color};
    +  --#{$prefix}btn-hover-bg: #{$hover-background};
    +  --#{$prefix}btn-hover-border-color: #{$hover-border};
    +  --#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix($color, $border, 15%))};
    +  --#{$prefix}btn-active-color: #{$active-color};
    +  --#{$prefix}btn-active-bg: #{$active-background};
    +  --#{$prefix}btn-active-border-color: #{$active-border};
    +  --#{$prefix}btn-active-shadow: #{$btn-active-box-shadow};
    +  --#{$prefix}btn-disabled-color: #{$disabled-color};
    +  --#{$prefix}btn-disabled-bg: #{$disabled-background};
    +  --#{$prefix}btn-disabled-border-color: #{$disabled-border};
    +}
    +
    +
    +
    +
    +
    + scss/mixins/_buttons.scss +
    + +
    +
    +
    +
    @mixin button-outline-variant(
    +  $color,
    +  $color-hover: color-contrast($color),
    +  $active-background: $color,
    +  $active-border: $color,
    +  $active-color: color-contrast($active-background)
    +) {
    +  --#{$prefix}btn-color: #{$color};
    +  --#{$prefix}btn-border-color: #{$color};
    +  --#{$prefix}btn-hover-color: #{$color-hover};
    +  --#{$prefix}btn-hover-bg: #{$active-background};
    +  --#{$prefix}btn-hover-border-color: #{$active-border};
    +  --#{$prefix}btn-focus-shadow-rgb: #{to-rgb($color)};
    +  --#{$prefix}btn-active-color: #{$active-color};
    +  --#{$prefix}btn-active-bg: #{$active-background};
    +  --#{$prefix}btn-active-border-color: #{$active-border};
    +  --#{$prefix}btn-active-shadow: #{$btn-active-box-shadow};
    +  --#{$prefix}btn-disabled-color: #{$color};
    +  --#{$prefix}btn-disabled-bg: transparent;
    +  --#{$prefix}btn-disabled-border-color: #{$color};
    +  --#{$prefix}gradient: none;
    +}
    +
    +
    +
    +
    +
    + scss/mixins/_buttons.scss +
    + +
    +
    +
    +
    @mixin button-size($padding-y, $padding-x, $font-size, $border-radius) {
    +  --#{$prefix}btn-padding-y: #{$padding-y};
    +  --#{$prefix}btn-padding-x: #{$padding-x};
    +  @include rfs($font-size, --#{$prefix}btn-font-size);
    +  --#{$prefix}btn-border-radius: #{$border-radius};
    +}
    +
    +
    +
    +

    + Sass loops + +

    +

    + Button variants (for regular and outline buttons) use their + respective mixins with our $theme-colors map to + generate the modifier classes in scss/_buttons.scss. +

    +
    +
    + scss/_buttons.scss +
    + +
    +
    +
    +
    @each $color, $value in $theme-colors {
    +  .btn-#{$color} {
    +    @if $color == "light" {
    +      @include button-variant(
    +        $value,
    +        $value,
    +        $hover-background: shade-color($value, $btn-hover-bg-shade-amount),
    +        $hover-border: shade-color($value, $btn-hover-border-shade-amount),
    +        $active-background: shade-color($value, $btn-active-bg-shade-amount),
    +        $active-border: shade-color($value, $btn-active-border-shade-amount)
    +      );
    +    } @else if $color == "dark" {
    +      @include button-variant(
    +        $value,
    +        $value,
    +        $hover-background: tint-color($value, $btn-hover-bg-tint-amount),
    +        $hover-border: tint-color($value, $btn-hover-border-tint-amount),
    +        $active-background: tint-color($value, $btn-active-bg-tint-amount),
    +        $active-border: tint-color($value, $btn-active-border-tint-amount)
    +      );
    +    } @else {
    +      @include button-variant($value, $value);
    +    }
    +  }
    +}
    +
    +@each $color, $value in $theme-colors {
    +  .btn-outline-#{$color} {
    +    @include button-outline-variant($value);
    +  }
    +}
    +
    +
    +
    +
    +
    - -
    - - -

    Examples

    -

    Bootstrap includes several predefined button styles, each serving its own semantic purpose, with a few extras thrown in for more control.

    -
    - - - - - - - - - - - -
    <button type="button" class="btn btn-primary">Primary</button>
    -<button type="button" class="btn btn-secondary">Secondary</button>
    -<button type="button" class="btn btn-success">Success</button>
    -<button type="button" class="btn btn-danger">Danger</button>
    -<button type="button" class="btn btn-warning">Warning</button>
    -<button type="button" class="btn btn-info">Info</button>
    -<button type="button" class="btn btn-light">Light</button>
    -<button type="button" class="btn btn-dark">Dark</button>
    -
    -<button type="button" class="btn btn-link">Link</button>
    -
    -
    Conveying meaning to assistive technologies
    -

    Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .visually-hidden class. -

    - -

    Disable text wrapping

    -

    If you don’t want the button text to wrap, you can add the .text-nowrap class to the button. In Sass, you can set $btn-white-space: nowrap to disable text wrapping for each button.

    -

    Button tags

    -

    The .btn classes are designed to be used with the <button> element. However, you can also use these classes on <a> or <input> elements (though some browsers may apply a slightly different rendering).

    -

    When using button classes on <a> elements that are used to trigger in-page functionality (like collapsing content), rather than linking to new pages or sections within the current page, these links should be given a role="button" to appropriately convey their purpose to assistive technologies such as screen readers.

    -
    -Link - - - - -
    <a class="btn btn-primary" href="#" role="button">Link</a>
    -<button class="btn btn-primary" type="submit">Button</button>
    -<input class="btn btn-primary" type="button" value="Input">
    -<input class="btn btn-primary" type="submit" value="Submit">
    -<input class="btn btn-primary" type="reset" value="Reset">
    -

    Outline buttons

    -

    In need of a button, but not the hefty background colors they bring? Replace the default modifier classes with the .btn-outline-* ones to remove all background images and colors on any button.

    -
    - - - - - - - - - -
    <button type="button" class="btn btn-outline-primary">Primary</button>
    -<button type="button" class="btn btn-outline-secondary">Secondary</button>
    -<button type="button" class="btn btn-outline-success">Success</button>
    -<button type="button" class="btn btn-outline-danger">Danger</button>
    -<button type="button" class="btn btn-outline-warning">Warning</button>
    -<button type="button" class="btn btn-outline-info">Info</button>
    -<button type="button" class="btn btn-outline-light">Light</button>
    -<button type="button" class="btn btn-outline-dark">Dark</button>
    -
    -Some of the button styles use a relatively light foreground color, and should only be used on a dark background in order to have sufficient contrast. -
    - -

    Sizes

    -

    Fancy larger or smaller buttons? Add .btn-lg or .btn-sm for additional sizes.

    -
    - - -
    <button type="button" class="btn btn-primary btn-lg">Large button</button>
    -<button type="button" class="btn btn-secondary btn-lg">Large button</button>
    -
    - - -
    <button type="button" class="btn btn-primary btn-sm">Small button</button>
    -<button type="button" class="btn btn-secondary btn-sm">Small button</button>
    -

    Disabled state

    -

    Make buttons look inactive by adding the disabled boolean attribute to any <button> element. Disabled buttons have pointer-events: none applied to, preventing hover and active states from triggering.

    -
    - - -
    <button type="button" class="btn btn-lg btn-primary" disabled>Primary button</button>
    -<button type="button" class="btn btn-secondary btn-lg" disabled>Button</button>
    -

    Disabled buttons using the <a> element behave a bit different:

    -
      -
    • <a>s don’t support the disabled attribute, so you must add the .disabled class to make it visually appear disabled.
    • -
    • Some future-friendly styles are included to disable all pointer-events on anchor buttons.
    • -
    • Disabled buttons using <a> should include the aria-disabled="true" attribute to indicate the state of the element to assistive technologies.
    • -
    • Disabled buttons using <a> should not include the href attribute.
    • -
    -
    <a class="btn btn-primary btn-lg disabled" role="button" aria-disabled="true">Primary link</a>
    -<a class="btn btn-secondary btn-lg disabled" role="button" aria-disabled="true">Link</a>
    - -

    To cover cases where you have to keep the href attribute on a disabled link, the .disabled class uses pointer-events: none to try to disable the link functionality of <a>s. Note that this CSS property is not yet standardized for HTML, but all modern browsers support it. In addition, even in browsers that do support pointer-events: none, keyboard navigation remains unaffected, meaning that sighted keyboard users and users of assistive technologies will still be able to activate these links. So to be safe, in addition to aria-disabled="true", also include a tabindex="-1" attribute on these links to prevent them from receiving keyboard focus, and use custom JavaScript to disable their functionality altogether.

    -
    <a href="#" class="btn btn-primary btn-lg disabled" tabindex="-1" role="button" aria-disabled="true">Primary link</a>
    -<a href="#" class="btn btn-secondary btn-lg disabled" tabindex="-1" role="button" aria-disabled="true">Link</a>
    -

    Block buttons

    -

    Create responsive stacks of full-width, “block buttons” like those in Bootstrap 4 with a mix of our display and gap utilities. By using utilities instead of button specific classes, we have much greater control over spacing, alignment, and responsive behaviors.

    -
    -
    - - -
    -
    <div class="d-grid gap-2">
    -  <button class="btn btn-primary" type="button">Button</button>
    -  <button class="btn btn-primary" type="button">Button</button>
    -</div>
    -

    Here we create a responsive variation, starting with vertically stacked buttons until the md breakpoint, where .d-md-block replaces the .d-grid class, thus nullifying the gap-2 utility. Resize your browser to see them change.

    -
    -
    - - -
    -
    <div class="d-grid gap-2 d-md-block">
    -  <button class="btn btn-primary" type="button">Button</button>
    -  <button class="btn btn-primary" type="button">Button</button>
    -</div>
    -

    You can adjust the width of your block buttons with grid column width classes. For example, for a half-width “block button”, use .col-6. Center it horizontally with .mx-auto, too.

    -
    -
    - - -
    -
    <div class="d-grid gap-2 col-6 mx-auto">
    -  <button class="btn btn-primary" type="button">Button</button>
    -  <button class="btn btn-primary" type="button">Button</button>
    -</div>
    -

    Additional utilities can be used to adjust the alignment of buttons when horizontal. Here we’ve taken our previous responsive example and added some flex utilities and a margin utility on the button to right align the buttons when they’re no longer stacked.

    -
    -
    - - -
    -
    <div class="d-grid gap-2 d-md-flex justify-content-md-end">
    -  <button class="btn btn-primary me-md-2" type="button">Button</button>
    -  <button class="btn btn-primary" type="button">Button</button>
    -</div>
    -

    Button plugin

    -

    The button plugin allows you to create simple on/off toggle buttons.

    -
    -Visually, these toggle buttons are identical to the checkbox toggle buttons. However, they are conveyed differently by assistive technologies: the checkbox toggles will be announced by screen readers as “checked”/“not checked” (since, despite their appearance, they are fundamentally still checkboxes), whereas these toggle buttons will be announced as “button”/“button pressed”. The choice between these two approaches will depend on the type of toggle you are creating, and whether or not the toggle will make sense to users when announced as a checkbox or as an actual button. -
    - -

    Toggle states

    -

    Add data-bs-toggle="button" to toggle a button’s active state. If you’re pre-toggling a button, you must manually add the .active class and aria-pressed="true" to ensure that it is conveyed appropriately to assistive technologies.

    -
    - - - -
    <button type="button" class="btn btn-primary" data-bs-toggle="button" autocomplete="off">Toggle button</button>
    -<button type="button" class="btn btn-primary active" data-bs-toggle="button" autocomplete="off" aria-pressed="true">Active toggle button</button>
    -<button type="button" class="btn btn-primary" disabled data-bs-toggle="button" autocomplete="off">Disabled toggle button</button>
    -
    <a href="#" class="btn btn-primary" role="button" data-bs-toggle="button">Toggle link</a>
    -<a href="#" class="btn btn-primary active" role="button" data-bs-toggle="button" aria-pressed="true">Active toggle link</a>
    -<a class="btn btn-primary disabled" aria-disabled="true" role="button" data-bs-toggle="button">Disabled toggle link</a>
    -

    Methods

    -

    You can create a button instance with the button constructor, for example:

    -
    var button = document.getElementById('myButton')
    -var bsButton = new bootstrap.Button(button)
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    MethodDescription
    - toggle - - Toggles push state. Gives the button the appearance that it has been activated. -
    - dispose - - Destroys an element's button. (Removes stored data on the DOM element) -
    - getInstance - - Static method which allows you to get the button instance associated to a DOM element, you can use it like this: bootstrap.Button.getInstance(element) -
    - getOrCreateInstance - - Static method which returns a button instance associated to a DOM element or create a new one in case it wasn't initialized. - You can use it like this: bootstrap.Button.getOrCreateInstance(element) -
    -

    For example, to toggle all buttons

    -
    var buttons = document.querySelectorAll('.btn')
    -buttons.forEach(function (button) {
    -  var button = new bootstrap.Button(button)
    -  button.toggle()
    -})
    -

    Sass

    -

    Variables

    -
    $btn-padding-y:               $input-btn-padding-y;
    -$btn-padding-x:               $input-btn-padding-x;
    -$btn-font-family:             $input-btn-font-family;
    -$btn-font-size:               $input-btn-font-size;
    -$btn-line-height:             $input-btn-line-height;
    -$btn-white-space:             null; // Set to `nowrap` to prevent text wrapping
    -
    -$btn-padding-y-sm:            $input-btn-padding-y-sm;
    -$btn-padding-x-sm:            $input-btn-padding-x-sm;
    -$btn-font-size-sm:            $input-btn-font-size-sm;
    -
    -$btn-padding-y-lg:            $input-btn-padding-y-lg;
    -$btn-padding-x-lg:            $input-btn-padding-x-lg;
    -$btn-font-size-lg:            $input-btn-font-size-lg;
    -
    -$btn-border-width:            $input-btn-border-width;
    -
    -$btn-font-weight:             $font-weight-normal;
    -$btn-box-shadow:              inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075);
    -$btn-focus-width:             $input-btn-focus-width;
    -$btn-focus-box-shadow:        $input-btn-focus-box-shadow;
    -$btn-disabled-opacity:        .65;
    -$btn-active-box-shadow:       inset 0 3px 5px rgba($black, .125);
    -
    -$btn-link-color:              $link-color;
    -$btn-link-hover-color:        $link-hover-color;
    -$btn-link-disabled-color:     $gray-600;
    -
    -// Allows for customizing button radius independently from global border radius
    -$btn-border-radius:           $border-radius;
    -$btn-border-radius-sm:        $border-radius-sm;
    -$btn-border-radius-lg:        $border-radius-lg;
    -
    -$btn-transition:              color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -
    -$btn-hover-bg-shade-amount:       15%;
    -$btn-hover-bg-tint-amount:        15%;
    -$btn-hover-border-shade-amount:   20%;
    -$btn-hover-border-tint-amount:    10%;
    -$btn-active-bg-shade-amount:      20%;
    -$btn-active-bg-tint-amount:       20%;
    -$btn-active-border-shade-amount:  25%;
    -$btn-active-border-tint-amount:   10%;
    -
    -

    Mixins

    -

    There are three mixins for buttons: button and button outline variant mixins (both based on $theme-colors), plus a button size mixin.

    -
    @mixin button-variant(
    -  $background,
    -  $border,
    -  $color: color-contrast($background),
    -  $hover-background: if($color == $color-contrast-light, shade-color($background, $btn-hover-bg-shade-amount), tint-color($background, $btn-hover-bg-tint-amount)),
    -  $hover-border: if($color == $color-contrast-light, shade-color($border, $btn-hover-border-shade-amount), tint-color($border, $btn-hover-border-tint-amount)),
    -  $hover-color: color-contrast($hover-background),
    -  $active-background: if($color == $color-contrast-light, shade-color($background, $btn-active-bg-shade-amount), tint-color($background, $btn-active-bg-tint-amount)),
    -  $active-border: if($color == $color-contrast-light, shade-color($border, $btn-active-border-shade-amount), tint-color($border, $btn-active-border-tint-amount)),
    -  $active-color: color-contrast($active-background),
    -  $disabled-background: $background,
    -  $disabled-border: $border,
    -  $disabled-color: color-contrast($disabled-background)
    -) {
    -  color: $color;
    -  @include gradient-bg($background);
    -  border-color: $border;
    -  @include box-shadow($btn-box-shadow);
    -
    -  &:hover {
    -    color: $hover-color;
    -    @include gradient-bg($hover-background);
    -    border-color: $hover-border;
    -  }
    -
    -  .btn-check:focus + &,
    -  &:focus {
    -    color: $hover-color;
    -    @include gradient-bg($hover-background);
    -    border-color: $hover-border;
    -    @if $enable-shadows {
    -      @include box-shadow($btn-box-shadow, 0 0 0 $btn-focus-width rgba(mix($color, $border, 15%), .5));
    -    } @else {
    -      // Avoid using mixin so we can pass custom focus shadow properly
    -      box-shadow: 0 0 0 $btn-focus-width rgba(mix($color, $border, 15%), .5);
    -    }
    -  }
    -
    -  .btn-check:checked + &,
    -  .btn-check:active + &,
    -  &:active,
    -  &.active,
    -  .show > &.dropdown-toggle {
    -    color: $active-color;
    -    background-color: $active-background;
    -    // Remove CSS gradients if they're enabled
    -    background-image: if($enable-gradients, none, null);
    -    border-color: $active-border;
    -
    -    &:focus {
    -      @if $enable-shadows {
    -        @include box-shadow($btn-active-box-shadow, 0 0 0 $btn-focus-width rgba(mix($color, $border, 15%), .5));
    -      } @else {
    -        // Avoid using mixin so we can pass custom focus shadow properly
    -        box-shadow: 0 0 0 $btn-focus-width rgba(mix($color, $border, 15%), .5);
    -      }
    -    }
    -  }
    -
    -  &:disabled,
    -  &.disabled {
    -    color: $disabled-color;
    -    background-color: $disabled-background;
    -    // Remove CSS gradients if they're enabled
    -    background-image: if($enable-gradients, none, null);
    -    border-color: $disabled-border;
    -  }
    -}
    -
    -
    @mixin button-outline-variant(
    -  $color,
    -  $color-hover: color-contrast($color),
    -  $active-background: $color,
    -  $active-border: $color,
    -  $active-color: color-contrast($active-background)
    -) {
    -  color: $color;
    -  border-color: $color;
    -
    -  &:hover {
    -    color: $color-hover;
    -    background-color: $active-background;
    -    border-color: $active-border;
    -  }
    -
    -  .btn-check:focus + &,
    -  &:focus {
    -    box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
    -  }
    -
    -  .btn-check:checked + &,
    -  .btn-check:active + &,
    -  &:active,
    -  &.active,
    -  &.dropdown-toggle.show {
    -    color: $active-color;
    -    background-color: $active-background;
    -    border-color: $active-border;
    -
    -    &:focus {
    -      @if $enable-shadows {
    -        @include box-shadow($btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($color, .5));
    -      } @else {
    -        // Avoid using mixin so we can pass custom focus shadow properly
    -        box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
    -      }
    -    }
    -  }
    -
    -  &:disabled,
    -  &.disabled {
    -    color: $color;
    -    background-color: transparent;
    -  }
    -}
    -
    -
    @mixin button-size($padding-y, $padding-x, $font-size, $border-radius) {
    -  padding: $padding-y $padding-x;
    -  @include font-size($font-size);
    -  // Manually declare to provide an override to the browser default
    -  @include border-radius($border-radius, 0);
    -}
    -
    -

    Loops

    -

    Button variants (for regular and outline buttons) use their respective mixins with our $theme-colors map to generate the modifier classes in scss/_buttons.scss.

    -
    @each $color, $value in $theme-colors {
    -  .btn-#{$color} {
    -    @include button-variant($value, $value);
    -  }
    -}
    -
    -@each $color, $value in $theme-colors {
    -  .btn-outline-#{$color} {
    -    @include button-outline-variant($value);
    -  }
    -}
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/card/index.html b/components/card/index.html index 32c22dc..f1562ad 100644 --- a/components/card/index.html +++ b/components/card/index.html @@ -1,1821 +1,5441 @@ - - + + + + + + + + + + + + - - - - - - - + Cards · Bootstrap v5.3 - - + + -Cards · Bootstrap v5.1 + - + + + + + + + + + + + - - + + + + + + - + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + -
    - + +
    +
    +
    + +

    Cards

    +
    +

    + Bootstrap’s cards provide a flexible and extensible content + container with multiple variants and options. +

    - -
  • - - -
  • -
  • -
  • - - Migration - -
  • - - - +
    +

    + About + +

    +

    + A card is a flexible and extensible content + container. It includes options for headers and footers, a wide + variety of content, contextual background colors, and powerful + display options. If you’re familiar with Bootstrap 3, cards + replace our old panels, wells, and thumbnails. Similar functionality + to those components is available as modifier classes for cards. +

    +

    + Example + +

    +

    + Cards are built with as little markup and styles as possible, but + still manage to deliver a ton of control and customization. Built + with flexbox, they offer easy alignment and mix well with other + Bootstrap components. They have no margin by default, + so use + spacing utilities + as needed. +

    +

    + Below is an example of a basic card with mixed content and a fixed + width. Cards have no fixed width to start, so they’ll + naturally fill the full width of its parent element. This is easily + customized with our various sizing options. +

    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    + Go somewhere +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card" style="width: 18rem;">
    +  <img src="..." class="card-img-top" alt="...">
    +  <div class="card-body">
    +    <h5 class="card-title">Card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +
    -
    -
    -
    - View on GitHub -

    Cards

    -
    -

    Bootstrap’s cards provide a flexible and extensible content container with multiple variants and options.

    - +

    + Content types + +

    +

    + Cards support a wide variety of content, including images, text, + list groups, links, and more. Below are examples of what’s + supported. +

    +

    + Body + +

    +

    + The building block of a card is the .card-body. Use it + whenever you need a padded section within a card. +

    +
    +
    +
    +
    + This is some text within a card body. +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card">
    +  <div class="card-body">
    +    This is some text within a card body.
    +  </div>
    +</div>
    +
    +
    -
    + +

    + Card titles are used by adding .card-title to a + <h*> tag. In the same way, links are added and + placed next to each other by adding .card-link to an + <a> tag. +

    +

    + Subtitles are used by adding a .card-subtitle to a + <h*> tag. If the .card-title and the + .card-subtitle items are placed in a + .card-body item, the card title and subtitle are + aligned nicely. +

    +
    +
    +
    +
    +
    Card title
    +
    + Card subtitle +
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    + Card link + Another link +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card" style="width: 18rem;">
    +  <div class="card-body">
    +    <h5 class="card-title">Card title</h5>
    +    <h6 class="card-subtitle mb-2 text-body-secondary">Card subtitle</h6>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +    <a href="#" class="card-link">Card link</a>
    +    <a href="#" class="card-link">Another link</a>
    +  </div>
    +</div>
    +
    +
    +

    + Images + +

    +

    + .card-img-top places an image to the top of the card. + With .card-text, text can be added to the card. Text + within .card-text can also be styled with the standard + HTML tags. +

    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card" style="width: 18rem;">
    +  <img src="..." class="card-img-top" alt="...">
    +  <div class="card-body">
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +
    +
    - +

    + List groups + +

    +

    Create lists of content in a card with a flush list group.

    +
    +
    +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card" style="width: 18rem;">
    +  <ul class="list-group list-group-flush">
    +    <li class="list-group-item">An item</li>
    +    <li class="list-group-item">A second item</li>
    +    <li class="list-group-item">A third item</li>
    +  </ul>
    +</div>
    +
    +
    +
    +
    +
    +
    Featured
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card" style="width: 18rem;">
    +  <div class="card-header">
    +    Featured
    +  </div>
    +  <ul class="list-group list-group-flush">
    +    <li class="list-group-item">An item</li>
    +    <li class="list-group-item">A second item</li>
    +    <li class="list-group-item">A third item</li>
    +  </ul>
    +</div>
    +
    +
    -
    - - -

    About

    -

    A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options. If you’re familiar with Bootstrap 3, cards replace our old panels, wells, and thumbnails. Similar functionality to those components is available as modifier classes for cards.

    -

    Example

    -

    Cards are built with as little markup and styles as possible, but still manage to deliver a ton of control and customization. Built with flexbox, they offer easy alignment and mix well with other Bootstrap components. They have no margin by default, so use spacing utilities as needed.

    -

    Below is an example of a basic card with mixed content and a fixed width. Cards have no fixed width to start, so they’ll naturally fill the full width of its parent element. This is easily customized with our various sizing options.

    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    - Go somewhere -
    -
    -
    <div class="card" style="width: 18rem;">
    -  <img src="..." class="card-img-top" alt="...">
    -  <div class="card-body">
    -    <h5 class="card-title">Card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    -

    Content types

    -

    Cards support a wide variety of content, including images, text, list groups, links, and more. Below are examples of what’s supported.

    -

    Body

    -

    The building block of a card is the .card-body. Use it whenever you need a padded section within a card.

    -
    -
    -
    - This is some text within a card body. -
    -
    -
    <div class="card">
    -  <div class="card-body">
    -    This is some text within a card body.
    -  </div>
    -</div>
    - -

    Card titles are used by adding .card-title to a <h*> tag. In the same way, links are added and placed next to each other by adding .card-link to an <a> tag.

    -

    Subtitles are used by adding a .card-subtitle to a <h*> tag. If the .card-title and the .card-subtitle items are placed in a .card-body item, the card title and subtitle are aligned nicely.

    -
    -
    -
    -
    Card title
    -
    Card subtitle
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    - Card link - Another link -
    -
    -
    <div class="card" style="width: 18rem;">
    -  <div class="card-body">
    -    <h5 class="card-title">Card title</h5>
    -    <h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -    <a href="#" class="card-link">Card link</a>
    -    <a href="#" class="card-link">Another link</a>
    -  </div>
    -</div>
    -

    Images

    -

    .card-img-top places an image to the top of the card. With .card-text, text can be added to the card. Text within .card-text can also be styled with the standard HTML tags.

    -
    -
    - PlaceholderImage cap - -
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    <div class="card" style="width: 18rem;">
    -  <img src="..." class="card-img-top" alt="...">
    -  <div class="card-body">
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -

    List groups

    -

    Create lists of content in a card with a flush list group.

    -
    -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    -
    -
    <div class="card" style="width: 18rem;">
    -  <ul class="list-group list-group-flush">
    -    <li class="list-group-item">An item</li>
    -    <li class="list-group-item">A second item</li>
    -    <li class="list-group-item">A third item</li>
    -  </ul>
    -</div>
    -
    -
    -
    - Featured -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    -
    -
    <div class="card" style="width: 18rem;">
    -  <div class="card-header">
    -    Featured
    -  </div>
    -  <ul class="list-group list-group-flush">
    -    <li class="list-group-item">An item</li>
    -    <li class="list-group-item">A second item</li>
    -    <li class="list-group-item">A third item</li>
    -  </ul>
    -</div>
    -
    -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    - -
    -
    <div class="card" style="width: 18rem;">
    -  <ul class="list-group list-group-flush">
    -    <li class="list-group-item">An item</li>
    -    <li class="list-group-item">A second item</li>
    -    <li class="list-group-item">A third item</li>
    -  </ul>
    -  <div class="card-footer">
    -    Card footer
    -  </div>
    -</div>
    -

    Kitchen sink

    -

    Mix and match multiple content types to create the card you need, or throw everything in there. Shown below are image styles, blocks, text styles, and a list group—all wrapped in a fixed-width card.

    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    - -
    -
    <div class="card" style="width: 18rem;">
    -  <img src="..." class="card-img-top" alt="...">
    -  <div class="card-body">
    -    <h5 class="card-title">Card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -  <ul class="list-group list-group-flush">
    -    <li class="list-group-item">An item</li>
    -    <li class="list-group-item">A second item</li>
    -    <li class="list-group-item">A third item</li>
    -  </ul>
    -  <div class="card-body">
    -    <a href="#" class="card-link">Card link</a>
    -    <a href="#" class="card-link">Another link</a>
    -  </div>
    -</div>
    - -

    Add an optional header and/or footer within a card.

    -
    -
    -
    - Featured -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    -
    <div class="card">
    -  <div class="card-header">
    -    Featured
    -  </div>
    -  <div class="card-body">
    -    <h5 class="card-title">Special title treatment</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    -

    Card headers can be styled by adding .card-header to <h*> elements.

    -
    -
    -
    Featured
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    -
    <div class="card">
    -  <h5 class="card-header">Featured</h5>
    -  <div class="card-body">
    -    <h5 class="card-title">Special title treatment</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    -
    -
    -
    - Quote -
    -
    -
    -

    A well-known quote, contained in a blockquote element.

    -
    Someone famous in Source Title
    -
    -
    -
    -
    <div class="card">
    -  <div class="card-header">
    -    Quote
    -  </div>
    -  <div class="card-body">
    -    <blockquote class="blockquote mb-0">
    -      <p>A well-known quote, contained in a blockquote element.</p>
    -      <footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
    -    </blockquote>
    -  </div>
    -</div>
    -
    -
    -
    - Featured -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    - -
    -
    <div class="card text-center">
    -  <div class="card-header">
    -    Featured
    -  </div>
    -  <div class="card-body">
    -    <h5 class="card-title">Special title treatment</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -  <div class="card-footer text-muted">
    -    2 days ago
    -  </div>
    -</div>
    -

    Sizing

    -

    Cards assume no specific width to start, so they’ll be 100% wide unless otherwise stated. You can change this as needed with custom CSS, grid classes, grid Sass mixins, or utilities.

    -

    Using grid markup

    -

    Using the grid, wrap cards in columns and rows as needed.

    -
    -
    -
    -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    -
    -
    -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    -
    -
    -
    <div class="row">
    -  <div class="col-sm-6">
    -    <div class="card">
    -      <div class="card-body">
    -        <h5 class="card-title">Special title treatment</h5>
    -        <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -        <a href="#" class="btn btn-primary">Go somewhere</a>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col-sm-6">
    -    <div class="card">
    -      <div class="card-body">
    -        <h5 class="card-title">Special title treatment</h5>
    -        <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -        <a href="#" class="btn btn-primary">Go somewhere</a>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Using utilities

    -

    Use our handful of available sizing utilities to quickly set a card’s width.

    -
    -
    -
    -
    Card title
    -

    With supporting text below as a natural lead-in to additional content.

    - Button -
    -
    - -
    -
    -
    Card title
    -

    With supporting text below as a natural lead-in to additional content.

    - Button -
    -
    -
    <div class="card w-75">
    -  <div class="card-body">
    -    <h5 class="card-title">Card title</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Button</a>
    -  </div>
    -</div>
    -
    -<div class="card w-50">
    -  <div class="card-body">
    -    <h5 class="card-title">Card title</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Button</a>
    -  </div>
    -</div>
    -

    Using custom CSS

    -

    Use custom CSS in your stylesheets or as inline styles to set a width.

    -
    -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    -
    <div class="card" style="width: 18rem;">
    -  <div class="card-body">
    -    <h5 class="card-title">Special title treatment</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    -

    Text alignment

    -

    You can quickly change the text alignment of any card—in its entirety or specific parts—with our text align classes.

    -
    -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    - -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    - -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    -
    <div class="card" style="width: 18rem;">
    -  <div class="card-body">
    -    <h5 class="card-title">Special title treatment</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    -
    -<div class="card text-center" style="width: 18rem;">
    -  <div class="card-body">
    -    <h5 class="card-title">Special title treatment</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    -
    -<div class="card text-end" style="width: 18rem;">
    -  <div class="card-body">
    -    <h5 class="card-title">Special title treatment</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    - -

    Add some navigation to a card’s header (or block) with Bootstrap’s nav components.

    -
    -
    -
    - -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    -
    <div class="card text-center">
    -  <div class="card-header">
    -    <ul class="nav nav-tabs card-header-tabs">
    -      <li class="nav-item">
    -        <a class="nav-link active" aria-current="true" href="#">Active</a>
    -      </li>
    -      <li class="nav-item">
    -        <a class="nav-link" href="#">Link</a>
    -      </li>
    -      <li class="nav-item">
    -        <a class="nav-link disabled">Disabled</a>
    -      </li>
    -    </ul>
    -  </div>
    -  <div class="card-body">
    -    <h5 class="card-title">Special title treatment</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    -
    -
    -
    - -
    -
    -
    Special title treatment
    -

    With supporting text below as a natural lead-in to additional content.

    - Go somewhere -
    -
    -
    <div class="card text-center">
    -  <div class="card-header">
    -    <ul class="nav nav-pills card-header-pills">
    -      <li class="nav-item">
    -        <a class="nav-link active" href="#">Active</a>
    -      </li>
    -      <li class="nav-item">
    -        <a class="nav-link" href="#">Link</a>
    -      </li>
    -      <li class="nav-item">
    -        <a class="nav-link disabled">Disabled</a>
    -      </li>
    -    </ul>
    -  </div>
    -  <div class="card-body">
    -    <h5 class="card-title">Special title treatment</h5>
    -    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    -

    Images

    -

    Cards include a few options for working with images. Choose from appending “image caps” at either end of a card, overlaying images with card content, or simply embedding the image in a card.

    -

    Image caps

    -

    Similar to headers and footers, cards can include top and bottom “image caps”—images at the top or bottom of a card.

    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -

    Last updated 3 mins ago

    -
    -
    -
    -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -

    Last updated 3 mins ago

    -
    - PlaceholderImage cap - -
    -
    <div class="card mb-3">
    -  <img src="..." class="card-img-top" alt="...">
    -  <div class="card-body">
    -    <h5 class="card-title">Card title</h5>
    -    <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -    <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
    -  </div>
    -</div>
    -<div class="card">
    -  <div class="card-body">
    -    <h5 class="card-title">Card title</h5>
    -    <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -    <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
    -  </div>
    -  <img src="..." class="card-img-bottom" alt="...">
    -</div>
    -

    Image overlays

    -

    Turn an image into a card background and overlay your card’s text. Depending on the image, you may or may not need additional styles or utilities.

    -
    -
    - PlaceholderCard image - -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -

    Last updated 3 mins ago

    -
    -
    -
    <div class="card bg-dark text-white">
    -  <img src="..." class="card-img" alt="...">
    -  <div class="card-img-overlay">
    -    <h5 class="card-title">Card title</h5>
    -    <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -    <p class="card-text">Last updated 3 mins ago</p>
    -  </div>
    -</div>
    -
    -Note that content should not be larger than the height of the image. If content is larger than the image the content will be displayed outside the image. -
    - -

    Horizontal

    -

    Using a combination of grid and utility classes, cards can be made horizontal in a mobile-friendly and responsive way. In the example below, we remove the grid gutters with .g-0 and use .col-md-* classes to make the card horizontal at the md breakpoint. Further adjustments may be needed depending on your card content.

    -
    -
    -
    -
    - PlaceholderImage +
    +
    +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card" style="width: 18rem;">
    +  <ul class="list-group list-group-flush">
    +    <li class="list-group-item">An item</li>
    +    <li class="list-group-item">A second item</li>
    +    <li class="list-group-item">A third item</li>
    +  </ul>
    +  <div class="card-footer">
    +    Card footer
    +  </div>
    +</div>
    +
    +
    -
    -
    -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -

    Last updated 3 mins ago

    -
    -
    -
    -
    -
    <div class="card mb-3" style="max-width: 540px;">
    -  <div class="row g-0">
    -    <div class="col-md-4">
    -      <img src="..." class="img-fluid rounded-start" alt="...">
    -    </div>
    -    <div class="col-md-8">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -        <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Card styles

    -

    Cards include various options for customizing their backgrounds, borders, and color.

    -

    Background and color

    -

    Use text color and background utilities to change the appearance of a card.

    -
    - -
    -
    Header
    -
    -
    Primary card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Secondary card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Success card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Danger card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Warning card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Info card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Light card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Dark card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    <div class="card text-white bg-primary mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Primary card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card text-white bg-secondary mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Secondary card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card text-white bg-success mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Success card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card text-white bg-danger mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Danger card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card text-dark bg-warning mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Warning card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card text-dark bg-info mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Info card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card text-dark bg-light mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Light card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card text-white bg-dark mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Dark card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -
    -
    Conveying meaning to assistive technologies
    -

    Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .visually-hidden class. -

    - -

    Border

    -

    Use border utilities to change just the border-color of a card. Note that you can put .text-{color} classes on the parent .card or a subset of the card’s contents as shown below.

    -
    - -
    -
    Header
    -
    -
    Primary card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Secondary card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Success card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Danger card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Warning card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Info card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Light card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    -
    Header
    -
    -
    Dark card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    -
    -
    <div class="card border-primary mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body text-primary">
    -    <h5 class="card-title">Primary card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card border-secondary mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body text-secondary">
    -    <h5 class="card-title">Secondary card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card border-success mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body text-success">
    -    <h5 class="card-title">Success card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card border-danger mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body text-danger">
    -    <h5 class="card-title">Danger card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card border-warning mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Warning card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card border-info mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Info card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card border-light mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body">
    -    <h5 class="card-title">Light card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -<div class="card border-dark mb-3" style="max-width: 18rem;">
    -  <div class="card-header">Header</div>
    -  <div class="card-body text-dark">
    -    <h5 class="card-title">Dark card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -</div>
    -

    Mixins utilities

    -

    You can also change the borders on the card header and footer as needed, and even remove their background-color with .bg-transparent.

    -
    -
    -
    Header
    -
    -
    Success card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    -
    - -
    -
    <div class="card border-success mb-3" style="max-width: 18rem;">
    -  <div class="card-header bg-transparent border-success">Header</div>
    -  <div class="card-body text-success">
    -    <h5 class="card-title">Success card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -  </div>
    -  <div class="card-footer bg-transparent border-success">Footer</div>
    -</div>
    -

    Card layout

    -

    In addition to styling the content within cards, Bootstrap includes a few options for laying out series of cards. For the time being, these layout options are not yet responsive.

    -

    Card groups

    -

    Use card groups to render cards as a single, attached element with equal width and height columns. Card groups start off stacked and use display: flex; to become attached with uniform dimensions starting at the sm breakpoint.

    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -

    Last updated 3 mins ago

    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This card has supporting text below as a natural lead-in to additional content.

    -

    Last updated 3 mins ago

    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

    -

    Last updated 3 mins ago

    -
    -
    -
    -
    <div class="card-group">
    -  <div class="card">
    -    <img src="..." class="card-img-top" alt="...">
    -    <div class="card-body">
    -      <h5 class="card-title">Card title</h5>
    -      <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
    -    </div>
    -  </div>
    -  <div class="card">
    -    <img src="..." class="card-img-top" alt="...">
    -    <div class="card-body">
    -      <h5 class="card-title">Card title</h5>
    -      <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
    -      <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
    -    </div>
    -  </div>
    -  <div class="card">
    -    <img src="..." class="card-img-top" alt="...">
    -    <div class="card-body">
    -      <h5 class="card-title">Card title</h5>
    -      <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
    -      <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
    -    </div>
    -  </div>
    -</div>
    -

    When using card groups with footers, their content will automatically line up.

    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    - -
    -
    - PlaceholderImage cap +

    + Kitchen sink + +

    +

    + Mix and match multiple content types to create the card you need, or + throw everything in there. Shown below are image styles, blocks, + text styles, and a list group—all wrapped in a fixed-width card. +

    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card" style="width: 18rem;">
    +  <img src="..." class="card-img-top" alt="...">
    +  <div class="card-body">
    +    <h5 class="card-title">Card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +  <ul class="list-group list-group-flush">
    +    <li class="list-group-item">An item</li>
    +    <li class="list-group-item">A second item</li>
    +    <li class="list-group-item">A third item</li>
    +  </ul>
    +  <div class="card-body">
    +    <a href="#" class="card-link">Card link</a>
    +    <a href="#" class="card-link">Another link</a>
    +  </div>
    +</div>
    +
    +
    -
    -
    Card title
    -

    This card has supporting text below as a natural lead-in to additional content.

    -
    - -
    -
    - PlaceholderImage cap + +

    Add an optional header and/or footer within a card.

    +
    +
    +
    +
    Featured
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card">
    +  <div class="card-header">
    +    Featured
    +  </div>
    +  <div class="card-body">
    +    <h5 class="card-title">Special title treatment</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +
    -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

    -
    - -
    -
    -
    <div class="card-group">
    -  <div class="card">
    -    <img src="..." class="card-img-top" alt="...">
    -    <div class="card-body">
    -      <h5 class="card-title">Card title</h5>
    -      <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -    </div>
    -    <div class="card-footer">
    -      <small class="text-muted">Last updated 3 mins ago</small>
    -    </div>
    -  </div>
    -  <div class="card">
    -    <img src="..." class="card-img-top" alt="...">
    -    <div class="card-body">
    -      <h5 class="card-title">Card title</h5>
    -      <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
    -    </div>
    -    <div class="card-footer">
    -      <small class="text-muted">Last updated 3 mins ago</small>
    -    </div>
    -  </div>
    -  <div class="card">
    -    <img src="..." class="card-img-top" alt="...">
    -    <div class="card-body">
    -      <h5 class="card-title">Card title</h5>
    -      <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
    -    </div>
    -    <div class="card-footer">
    -      <small class="text-muted">Last updated 3 mins ago</small>
    -    </div>
    -  </div>
    -</div>
    -

    Grid cards

    -

    Use the Bootstrap grid system and its .row-cols classes to control how many grid columns (wrapped around your cards) you show per row. For example, here’s .row-cols-1 laying out the cards on one column, and .row-cols-md-2 splitting four cards to equal width across multiple rows, from the medium breakpoint up.

    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content.

    -
    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    -
    -
    -
    -
    <div class="row row-cols-1 row-cols-md-2 g-4">
    -  <div class="col">
    -    <div class="card">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Change it to .row-cols-3 and you’ll see the fourth card wrap.

    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content.

    -
    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    -
    -
    -
    -
    <div class="row row-cols-1 row-cols-md-3 g-4">
    -  <div class="col">
    -    <div class="card">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    When you need equal height, add .h-100 to the cards. If you want equal heights by default, you can set $card-height: 100% in Sass.

    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a short card.

    -
    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content.

    -
    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    -
    -
    -
    -
    <div class="row row-cols-1 row-cols-md-3 g-4">
    -  <div class="col">
    -    <div class="card h-100">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card h-100">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a short card.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card h-100">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card h-100">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Just like with card groups, card footers will automatically line up.

    -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

    -
    - -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This card has supporting text below as a natural lead-in to additional content.

    -
    - -
    -
    -
    -
    - PlaceholderImage cap - -
    -
    Card title
    -

    This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

    -
    - -
    -
    -
    -
    <div class="row row-cols-1 row-cols-md-3 g-4">
    -  <div class="col">
    -    <div class="card h-100">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    -      </div>
    -      <div class="card-footer">
    -        <small class="text-muted">Last updated 3 mins ago</small>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card h-100">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
    -      </div>
    -      <div class="card-footer">
    -        <small class="text-muted">Last updated 3 mins ago</small>
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="card h-100">
    -      <img src="..." class="card-img-top" alt="...">
    -      <div class="card-body">
    -        <h5 class="card-title">Card title</h5>
    -        <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
    -      </div>
    -      <div class="card-footer">
    -        <small class="text-muted">Last updated 3 mins ago</small>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Masonry

    -

    In v4 we used a CSS-only technique to mimic the behavior of Masonry-like columns, but this technique came with lots of unpleasant side effects. If you want to have this type of layout in v5, you can just make use of Masonry plugin. Masonry is not included in Bootstrap, but we’ve made a demo example to help you get started.

    -

    Sass

    -

    Variables

    -
    $card-spacer-y:                     $spacer;
    -$card-spacer-x:                     $spacer;
    -$card-title-spacer-y:               $spacer * .5;
    -$card-border-width:                 $border-width;
    -$card-border-color:                 rgba($black, .125);
    -$card-border-radius:                $border-radius;
    -$card-box-shadow:                   null;
    -$card-inner-border-radius:          subtract($card-border-radius, $card-border-width);
    -$card-cap-padding-y:                $card-spacer-y * .5;
    -$card-cap-padding-x:                $card-spacer-x;
    -$card-cap-bg:                       rgba($black, .03);
    -$card-cap-color:                    null;
    -$card-height:                       null;
    -$card-color:                        null;
    -$card-bg:                           $white;
    -$card-img-overlay-padding:          $spacer;
    -$card-group-margin:                 $grid-gutter-width * .5;
    -
    +

    + Card headers can be styled by adding .card-header to + <h*> elements. +

    +
    +
    +
    +
    Featured
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card">
    +  <h5 class="card-header">Featured</h5>
    +  <div class="card-body">
    +    <h5 class="card-title">Special title treatment</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +
    -
    -
    -
    +
    +
    +
    +
    Quote
    +
    +
    +

    + A well-known quote, contained in a blockquote element. +

    +
    + Someone famous in + Source Title +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card">
    +  <div class="card-header">
    +    Quote
    +  </div>
    +  <div class="card-body">
    +    <blockquote class="blockquote mb-0">
    +      <p>A well-known quote, contained in a blockquote element.</p>
    +      <footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
    +    </blockquote>
    +  </div>
    +</div>
    +
    +
    +
    +
    +
    +
    Featured
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card text-center">
    +  <div class="card-header">
    +    Featured
    +  </div>
    +  <div class="card-body">
    +    <h5 class="card-title">Special title treatment</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +  <div class="card-footer text-body-secondary">
    +    2 days ago
    +  </div>
    +</div>
    +
    +
    -
    -
    -
    -
    - - Bootstrap - Bootstrap - - -
    -
    -
    Links
    - -
    - -
    -
    Projects
    - -
    - +

    + Sizing + +

    +

    + Cards assume no specific width to start, so + they’ll be 100% wide unless otherwise stated. You can change + this as needed with custom CSS, grid classes, grid Sass mixins, or + utilities. +

    +

    + Using grid markup + +

    +

    Using the grid, wrap cards in columns and rows as needed.

    +
    +
    +
    +
    +
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    +
    +
    +
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row">
    +  <div class="col-sm-6 mb-3 mb-sm-0">
    +    <div class="card">
    +      <div class="card-body">
    +        <h5 class="card-title">Special title treatment</h5>
    +        <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +        <a href="#" class="btn btn-primary">Go somewhere</a>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col-sm-6">
    +    <div class="card">
    +      <div class="card-body">
    +        <h5 class="card-title">Special title treatment</h5>
    +        <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +        <a href="#" class="btn btn-primary">Go somewhere</a>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Using utilities + +

    +

    + Use our handful of + available sizing utilities + to quickly set a card’s width. +

    +
    +
    +
    +
    +
    Card title
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Button +
    +
    + +
    +
    +
    Card title
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Button +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card w-75 mb-3">
    +  <div class="card-body">
    +    <h5 class="card-title">Card title</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Button</a>
    +  </div>
    +</div>
    +
    +<div class="card w-50">
    +  <div class="card-body">
    +    <h5 class="card-title">Card title</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Button</a>
    +  </div>
    +</div>
    +
    +
    + +

    + Using custom CSS + +

    +

    + Use custom CSS in your stylesheets or as inline styles to set a + width. +

    +
    +
    +
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card" style="width: 18rem;">
    +  <div class="card-body">
    +    <h5 class="card-title">Special title treatment</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +
    + +

    + Text alignment + +

    +

    + You can quickly change the text alignment of any card—in its + entirety or specific parts—with our + text align classes. +

    +
    +
    +
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    + +
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    + +
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card mb-3" style="width: 18rem;">
    +  <div class="card-body">
    +    <h5 class="card-title">Special title treatment</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +<div class="card text-center mb-3" style="width: 18rem;">
    +  <div class="card-body">
    +    <h5 class="card-title">Special title treatment</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +<div class="card text-end" style="width: 18rem;">
    +  <div class="card-body">
    +    <h5 class="card-title">Special title treatment</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +
    + + +

    + Add some navigation to a card’s header (or block) with + Bootstrap’s + nav components. +

    +
    +
    +
    +
    + +
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card text-center">
    +  <div class="card-header">
    +    <ul class="nav nav-tabs card-header-tabs">
    +      <li class="nav-item">
    +        <a class="nav-link active" aria-current="true" href="#">Active</a>
    +      </li>
    +      <li class="nav-item">
    +        <a class="nav-link" href="#">Link</a>
    +      </li>
    +      <li class="nav-item">
    +        <a class="nav-link disabled">Disabled</a>
    +      </li>
    +    </ul>
    +  </div>
    +  <div class="card-body">
    +    <h5 class="card-title">Special title treatment</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    Special title treatment
    +

    + With supporting text below as a natural lead-in to + additional content. +

    + Go somewhere +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card text-center">
    +  <div class="card-header">
    +    <ul class="nav nav-pills card-header-pills">
    +      <li class="nav-item">
    +        <a class="nav-link active" href="#">Active</a>
    +      </li>
    +      <li class="nav-item">
    +        <a class="nav-link" href="#">Link</a>
    +      </li>
    +      <li class="nav-item">
    +        <a class="nav-link disabled">Disabled</a>
    +      </li>
    +    </ul>
    +  </div>
    +  <div class="card-body">
    +    <h5 class="card-title">Special title treatment</h5>
    +    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +
    + +

    + Images + +

    +

    + Cards include a few options for working with images. Choose from + appending “image caps” at either end of a card, + overlaying images with card content, or simply embedding the image + in a card. +

    +

    + Image caps + +

    +

    + Similar to headers and footers, cards can include top and bottom + “image caps”—images at the top or bottom of a card. +

    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a wider card with supporting text below as a natural + lead-in to additional content. This content is a little bit + longer. +

    +

    + Last updated 3 mins ago +

    +
    +
    +
    +
    +
    Card title
    +

    + This is a wider card with supporting text below as a natural + lead-in to additional content. This content is a little bit + longer. +

    +

    + Last updated 3 mins ago +

    +
    + + Placeholder + + + Image cap + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card mb-3">
    +  <img src="..." class="card-img-top" alt="...">
    +  <div class="card-body">
    +    <h5 class="card-title">Card title</h5>
    +    <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +    <p class="card-text"><small class="text-body-secondary">Last updated 3 mins ago</small></p>
    +  </div>
    +</div>
    +<div class="card">
    +  <div class="card-body">
    +    <h5 class="card-title">Card title</h5>
    +    <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +    <p class="card-text"><small class="text-body-secondary">Last updated 3 mins ago</small></p>
    +  </div>
    +  <img src="..." class="card-img-bottom" alt="...">
    +</div>
    +
    +
    + +

    + Image overlays + +

    +

    + Turn an image into a card background and overlay your card’s + text. Depending on the image, you may or may not need additional + styles or utilities. +

    +
    +
    +
    + + Placeholder + + + Card image + + +
    +
    Card title
    +

    + This is a wider card with supporting text below as a natural + lead-in to additional content. This content is a little bit + longer. +

    +

    + Last updated 3 mins ago +

    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card text-bg-dark">
    +  <img src="..." class="card-img" alt="...">
    +  <div class="card-img-overlay">
    +    <h5 class="card-title">Card title</h5>
    +    <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +    <p class="card-text"><small>Last updated 3 mins ago</small></p>
    +  </div>
    +</div>
    +
    +
    + +
    + Note that content should not be larger than the height of the image. + If content is larger than the image the content will be displayed + outside the image. +
    + +

    + Horizontal + +

    +

    + Using a combination of grid and utility classes, cards can be made + horizontal in a mobile-friendly and responsive way. In the example + below, we remove the grid gutters with .g-0 and use + .col-md-* classes to make the card horizontal at the + md breakpoint. Further adjustments may be needed + depending on your card content. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image + + +
    +
    +
    +
    Card title
    +

    + This is a wider card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +

    + Last updated 3 mins ago +

    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card mb-3" style="max-width: 540px;">
    +  <div class="row g-0">
    +    <div class="col-md-4">
    +      <img src="..." class="img-fluid rounded-start" alt="...">
    +    </div>
    +    <div class="col-md-8">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +        <p class="card-text"><small class="text-body-secondary">Last updated 3 mins ago</small></p>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Card styles + +

    +

    + Cards include various options for customizing their backgrounds, + borders, and color. +

    +

    + Background and color + +

    + Added in v5.2.0 + +

    + Set a background-color with contrasting foreground + color with + our .text-bg-{color} helpers. Previously it was required to manually pair your choice of + .text-{color} + and + .bg-{color} + utilities for styling, which you still may use if you prefer. +

    +
    +
    +
    +
    Header
    +
    +
    Primary card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Secondary card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Success card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Danger card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Warning card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Info card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Light card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Dark card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card text-bg-primary mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Primary card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card text-bg-secondary mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Secondary card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card text-bg-success mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Success card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card text-bg-danger mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Danger card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card text-bg-warning mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Warning card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card text-bg-info mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Info card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card text-bg-light mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Light card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card text-bg-dark mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Dark card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +
    +
    + +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + +

    + Border + +

    +

    + Use + border utilities to + change just the border-color of a card. Note that you + can put .text-{color} classes on the parent + .card or a subset of the card’s contents as shown + below. +

    +
    +
    +
    +
    Header
    +
    +
    Primary card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Secondary card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Success card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Danger card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Warning card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Info card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Light card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +
    Dark card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card border-primary mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body text-primary">
    +    <h5 class="card-title">Primary card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card border-secondary mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body text-secondary">
    +    <h5 class="card-title">Secondary card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card border-success mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body text-success">
    +    <h5 class="card-title">Success card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card border-danger mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body text-danger">
    +    <h5 class="card-title">Danger card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card border-warning mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Warning card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card border-info mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Info card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card border-light mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Light card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card border-dark mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <h5 class="card-title">Dark card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +
    +
    + +

    + Mixins utilities + +

    +

    + You can also change the borders on the card header and footer as + needed, and even remove their background-color with + .bg-transparent. +

    +
    +
    +
    +
    + Header +
    +
    +
    Success card title
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card border-success mb-3" style="max-width: 18rem;">
    +  <div class="card-header bg-transparent border-success">Header</div>
    +  <div class="card-body text-success">
    +    <h5 class="card-title">Success card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +  <div class="card-footer bg-transparent border-success">Footer</div>
    +</div>
    +
    +
    + +

    + Card layout + +

    +

    + In addition to styling the content within cards, Bootstrap includes + a few options for laying out series of cards. For the time being, + these layout options are not yet responsive. +

    +

    + Card groups + +

    +

    + Use card groups to render cards as a single, attached element with + equal width and height columns. Card groups start off stacked and + use display: flex; to become attached with uniform + dimensions starting at the sm breakpoint. +

    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a wider card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +

    + Last updated 3 mins ago +

    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This card has supporting text below as a natural lead-in + to additional content. +

    +

    + Last updated 3 mins ago +

    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a wider card with supporting text below as a + natural lead-in to additional content. This card has even + longer content than the first to show that equal height + action. +

    +

    + Last updated 3 mins ago +

    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card-group">
    +  <div class="card">
    +    <img src="..." class="card-img-top" alt="...">
    +    <div class="card-body">
    +      <h5 class="card-title">Card title</h5>
    +      <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      <p class="card-text"><small class="text-body-secondary">Last updated 3 mins ago</small></p>
    +    </div>
    +  </div>
    +  <div class="card">
    +    <img src="..." class="card-img-top" alt="...">
    +    <div class="card-body">
    +      <h5 class="card-title">Card title</h5>
    +      <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
    +      <p class="card-text"><small class="text-body-secondary">Last updated 3 mins ago</small></p>
    +    </div>
    +  </div>
    +  <div class="card">
    +    <img src="..." class="card-img-top" alt="...">
    +    <div class="card-body">
    +      <h5 class="card-title">Card title</h5>
    +      <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
    +      <p class="card-text"><small class="text-body-secondary">Last updated 3 mins ago</small></p>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + When using card groups with footers, their content will + automatically line up. +

    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a wider card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    + +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This card has supporting text below as a natural lead-in + to additional content. +

    +
    + +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a wider card with supporting text below as a + natural lead-in to additional content. This card has even + longer content than the first to show that equal height + action. +

    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card-group">
    +  <div class="card">
    +    <img src="..." class="card-img-top" alt="...">
    +    <div class="card-body">
    +      <h5 class="card-title">Card title</h5>
    +      <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +    </div>
    +    <div class="card-footer">
    +      <small class="text-body-secondary">Last updated 3 mins ago</small>
    +    </div>
    +  </div>
    +  <div class="card">
    +    <img src="..." class="card-img-top" alt="...">
    +    <div class="card-body">
    +      <h5 class="card-title">Card title</h5>
    +      <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
    +    </div>
    +    <div class="card-footer">
    +      <small class="text-body-secondary">Last updated 3 mins ago</small>
    +    </div>
    +  </div>
    +  <div class="card">
    +    <img src="..." class="card-img-top" alt="...">
    +    <div class="card-body">
    +      <h5 class="card-title">Card title</h5>
    +      <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
    +    </div>
    +    <div class="card-footer">
    +      <small class="text-body-secondary">Last updated 3 mins ago</small>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Grid cards + +

    +

    + Use the Bootstrap grid system and its + .row-cols classes + to control how many grid columns (wrapped around your cards) you + show per row. For example, here’s + .row-cols-1 laying out the cards on one column, and + .row-cols-md-2 splitting four cards to equal width + across multiple rows, from the medium breakpoint up. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row row-cols-1 row-cols-md-2 g-4">
    +  <div class="col">
    +    <div class="card">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content.</p>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Change it to .row-cols-3 and you’ll see the + fourth card wrap. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row row-cols-1 row-cols-md-3 g-4">
    +  <div class="col">
    +    <div class="card">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content.</p>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + When you need equal height, add .h-100 to the cards. If + you want equal heights by default, you can set + $card-height: 100% in Sass. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    This is a short card.

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a longer card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row row-cols-1 row-cols-md-3 g-4">
    +  <div class="col">
    +    <div class="card h-100">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card h-100">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a short card.</p>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card h-100">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content.</p>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card h-100">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Just like with card groups, card footers will automatically line up. +

    +
    +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a wider card with supporting text below as a + natural lead-in to additional content. This content is a + little bit longer. +

    +
    + +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This card has supporting text below as a natural lead-in + to additional content. +

    +
    + +
    +
    +
    +
    + + Placeholder + + + Image cap + + +
    +
    Card title
    +

    + This is a wider card with supporting text below as a + natural lead-in to additional content. This card has + even longer content than the first to show that equal + height action. +

    +
    + +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row row-cols-1 row-cols-md-3 g-4">
    +  <div class="col">
    +    <div class="card h-100">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    +      </div>
    +      <div class="card-footer">
    +        <small class="text-body-secondary">Last updated 3 mins ago</small>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card h-100">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p>
    +      </div>
    +      <div class="card-footer">
    +        <small class="text-body-secondary">Last updated 3 mins ago</small>
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col">
    +    <div class="card h-100">
    +      <img src="..." class="card-img-top" alt="...">
    +      <div class="card-body">
    +        <h5 class="card-title">Card title</h5>
    +        <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
    +      </div>
    +      <div class="card-footer">
    +        <small class="text-body-secondary">Last updated 3 mins ago</small>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Masonry + +

    +

    + In v4 we used a CSS-only technique to mimic the + behavior of Masonry-like + columns, but this technique came with lots of unpleasant + side effects. If you want to have this type of layout in v5, you + can just make use of Masonry plugin. + Masonry is not included in Bootstrap, but + we’ve made a + demo example to help + you get started. +

    +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, cards + now use local CSS variables on .card for enhanced + real-time customization. Values for the CSS variables are set via + Sass, so Sass customization is still supported, too. +

    +
    +
    + scss/_card.scss +
    + +
    +
    +
    +
    --#{$prefix}card-spacer-y: #{$card-spacer-y};
    +--#{$prefix}card-spacer-x: #{$card-spacer-x};
    +--#{$prefix}card-title-spacer-y: #{$card-title-spacer-y};
    +--#{$prefix}card-title-color: #{$card-title-color};
    +--#{$prefix}card-subtitle-color: #{$card-subtitle-color};
    +--#{$prefix}card-border-width: #{$card-border-width};
    +--#{$prefix}card-border-color: #{$card-border-color};
    +--#{$prefix}card-border-radius: #{$card-border-radius};
    +--#{$prefix}card-box-shadow: #{$card-box-shadow};
    +--#{$prefix}card-inner-border-radius: #{$card-inner-border-radius};
    +--#{$prefix}card-cap-padding-y: #{$card-cap-padding-y};
    +--#{$prefix}card-cap-padding-x: #{$card-cap-padding-x};
    +--#{$prefix}card-cap-bg: #{$card-cap-bg};
    +--#{$prefix}card-cap-color: #{$card-cap-color};
    +--#{$prefix}card-height: #{$card-height};
    +--#{$prefix}card-color: #{$card-color};
    +--#{$prefix}card-bg: #{$card-bg};
    +--#{$prefix}card-img-overlay-padding: #{$card-img-overlay-padding};
    +--#{$prefix}card-group-margin: #{$card-group-margin};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $card-spacer-y:                     $spacer;
    +$card-spacer-x:                     $spacer;
    +$card-title-spacer-y:               $spacer * .5;
    +$card-title-color:                  null;
    +$card-subtitle-color:               null;
    +$card-border-width:                 var(--#{$prefix}border-width);
    +$card-border-color:                 var(--#{$prefix}border-color-translucent);
    +$card-border-radius:                var(--#{$prefix}border-radius);
    +$card-box-shadow:                   null;
    +$card-inner-border-radius:          subtract($card-border-radius, $card-border-width);
    +$card-cap-padding-y:                $card-spacer-y * .5;
    +$card-cap-padding-x:                $card-spacer-x;
    +$card-cap-bg:                       rgba(var(--#{$prefix}body-color-rgb), .03);
    +$card-cap-color:                    null;
    +$card-height:                       null;
    +$card-color:                        null;
    +$card-bg:                           var(--#{$prefix}body-bg);
    +$card-img-overlay-padding:          $spacer;
    +$card-group-margin:                 $grid-gutter-width * .5;
    +
    +
    +
    +
    +
    - - - + + + + + - + - + + + + + diff --git a/components/carousel/index.html b/components/carousel/index.html index b842762..bf43e20 100644 --- a/components/carousel/index.html +++ b/components/carousel/index.html @@ -1,1133 +1,4210 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Carousel · Bootstrap v5.3 -Carousel · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    + -
    - - -
    <div id="carouselExampleSlidesOnly" class="carousel slide" data-bs-ride="carousel">
    -  <div class="carousel-inner">
    -    <div class="carousel-item active">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -  </div>
    -</div>
    -

    With controls

    -

    Adding in the previous and next controls. We recommend using <button> elements, but you can also use <a> elements with role="button".

    -
    -
    <div id="carouselExampleControls" class="carousel slide" data-bs-ride="carousel">
    -  <div class="carousel-inner">
    -    <div class="carousel-item active">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -  </div>
    -  <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="prev">
    -    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Previous</span>
    -  </button>
    -  <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="next">
    -    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Next</span>
    -  </button>
    -</div>
    -

    With indicators

    -

    You can also add the indicators to the carousel, alongside the controls, too.

    -
    - -
    <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
    -  <div class="carousel-indicators">
    -    <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
    -    <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button>
    -    <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2" aria-label="Slide 3"></button>
    -  </div>
    -  <div class="carousel-inner">
    -    <div class="carousel-item active">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -  </div>
    -  <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
    -    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Previous</span>
    -  </button>
    -  <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
    -    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Next</span>
    -  </button>
    -</div>
    -

    With captions

    -

    Add captions to your slides easily with the .carousel-caption element within any .carousel-item. They can be easily hidden on smaller viewports, as shown below, with optional display utilities. We hide them initially with .d-none and bring them back on medium-sized devices with .d-md-block.

    -
    - -
    <div id="carouselExampleCaptions" class="carousel slide" data-bs-ride="carousel">
    -  <div class="carousel-indicators">
    -    <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
    -    <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1" aria-label="Slide 2"></button>
    -    <button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2" aria-label="Slide 3"></button>
    -  </div>
    -  <div class="carousel-inner">
    -    <div class="carousel-item active">
    -      <img src="..." class="d-block w-100" alt="...">
    -      <div class="carousel-caption d-none d-md-block">
    -        <h5>First slide label</h5>
    -        <p>Some representative placeholder content for the first slide.</p>
    -      </div>
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -      <div class="carousel-caption d-none d-md-block">
    -        <h5>Second slide label</h5>
    -        <p>Some representative placeholder content for the second slide.</p>
    -      </div>
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -      <div class="carousel-caption d-none d-md-block">
    -        <h5>Third slide label</h5>
    -        <p>Some representative placeholder content for the third slide.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
    -    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Previous</span>
    -  </button>
    -  <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
    -    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Next</span>
    -  </button>
    -</div>
    -

    Crossfade

    -

    Add .carousel-fade to your carousel to animate slides with a fade transition instead of a slide.

    -
    - -
    <div id="carouselExampleFade" class="carousel slide carousel-fade" data-bs-ride="carousel">
    -  <div class="carousel-inner">
    -    <div class="carousel-item active">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -  </div>
    -  <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleFade" data-bs-slide="prev">
    -    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Previous</span>
    -  </button>
    -  <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleFade" data-bs-slide="next">
    -    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Next</span>
    -  </button>
    -</div>
    - -

    Add data-bs-interval="" to a .carousel-item to change the amount of time to delay between automatically cycling to the next item.

    -
    - -
    <div id="carouselExampleInterval" class="carousel slide" data-bs-ride="carousel">
    -  <div class="carousel-inner">
    -    <div class="carousel-item active" data-bs-interval="10000">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item" data-bs-interval="2000">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -  </div>
    -  <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleInterval" data-bs-slide="prev">
    -    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Previous</span>
    -  </button>
    -  <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleInterval" data-bs-slide="next">
    -    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Next</span>
    -  </button>
    -</div>
    -

    Disable touch swiping

    -

    Carousels support swiping left/right on touchscreen devices to move between slides. This can be disabled using the data-bs-touch attribute. The example below also does not include the data-bs-ride attribute and has data-bs-interval="false" so it doesn’t autoplay.

    -
    - -
    <div id="carouselExampleControlsNoTouching" class="carousel slide" data-bs-touch="false" data-bs-interval="false">
    -  <div class="carousel-inner">
    -    <div class="carousel-item active">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -    </div>
    -  </div>
    -  <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleControlsNoTouching" data-bs-slide="prev">
    -    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Previous</span>
    -  </button>
    -  <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleControlsNoTouching" data-bs-slide="next">
    -    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Next</span>
    -  </button>
    -</div>
    -

    Dark variant

    -

    Add .carousel-dark to the .carousel for darker controls, indicators, and captions. Controls have been inverted from their default white fill with the filter CSS property. Captions and controls have additional Sass variables that customize the color and background-color.

    -
    - -
    <div id="carouselExampleDark" class="carousel carousel-dark slide" data-bs-ride="carousel">
    -  <div class="carousel-indicators">
    -    <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
    -    <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="1" aria-label="Slide 2"></button>
    -    <button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="2" aria-label="Slide 3"></button>
    -  </div>
    -  <div class="carousel-inner">
    -    <div class="carousel-item active" data-bs-interval="10000">
    -      <img src="..." class="d-block w-100" alt="...">
    -      <div class="carousel-caption d-none d-md-block">
    -        <h5>First slide label</h5>
    -        <p>Some representative placeholder content for the first slide.</p>
    -      </div>
    -    </div>
    -    <div class="carousel-item" data-bs-interval="2000">
    -      <img src="..." class="d-block w-100" alt="...">
    -      <div class="carousel-caption d-none d-md-block">
    -        <h5>Second slide label</h5>
    -        <p>Some representative placeholder content for the second slide.</p>
    -      </div>
    -    </div>
    -    <div class="carousel-item">
    -      <img src="..." class="d-block w-100" alt="...">
    -      <div class="carousel-caption d-none d-md-block">
    -        <h5>Third slide label</h5>
    -        <p>Some representative placeholder content for the third slide.</p>
    -      </div>
    -    </div>
    -  </div>
    -  <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="prev">
    -    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Previous</span>
    -  </button>
    -  <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="next">
    -    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    -    <span class="visually-hidden">Next</span>
    -  </button>
    -</div>
    -

    Custom transition

    -

    The transition duration of .carousel-item can be changed with the $carousel-transition-duration Sass variable before compiling or custom styles if you’re using the compiled CSS. If multiple transitions are applied, make sure the transform transition is defined first (eg. transition: transform 2s ease, opacity .5s ease-out).

    -

    Sass

    -

    Variables

    -
    $carousel-control-color:             $white;
    -$carousel-control-width:             15%;
    -$carousel-control-opacity:           .5;
    -$carousel-control-hover-opacity:     .9;
    -$carousel-control-transition:        opacity .15s ease;
    -
    -$carousel-indicator-width:           30px;
    -$carousel-indicator-height:          3px;
    -$carousel-indicator-hit-area-height: 10px;
    -$carousel-indicator-spacer:          3px;
    -$carousel-indicator-opacity:         .5;
    -$carousel-indicator-active-bg:       $white;
    -$carousel-indicator-active-opacity:  1;
    -$carousel-indicator-transition:      opacity .6s ease;
    -
    -$carousel-caption-width:             70%;
    -$carousel-caption-color:             $white;
    -$carousel-caption-padding-y:         1.25rem;
    -$carousel-caption-spacer:            1.25rem;
    -
    -$carousel-control-icon-width:        2rem;
    -
    -$carousel-control-prev-icon-bg:      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>");
    -$carousel-control-next-icon-bg:      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>");
    -
    -$carousel-transition-duration:       .6s;
    -$carousel-transition:                transform $carousel-transition-duration ease-in-out; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
    -
    -$carousel-dark-indicator-active-bg:  $black;
    -$carousel-dark-caption-color:        $black;
    -$carousel-dark-control-icon-filter:  invert(1) grayscale(100);
    -
    -

    Usage

    -

    Via data attributes

    -

    Use data attributes to easily control the position of the carousel. data-bs-slide accepts the keywords prev or next, which alters the slide position relative to its current position. Alternatively, use data-bs-slide-to to pass a raw slide index to the carousel data-bs-slide-to="2", which shifts the slide position to a particular index beginning with 0.

    -

    The data-bs-ride="carousel" attribute is used to mark a carousel as animating starting at page load. If you don’t use data-bs-ride="carousel" to initialize your carousel, you have to initialize it yourself. It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.

    -

    Via JavaScript

    -

    Call carousel manually with:

    -
    var myCarousel = document.querySelector('#myCarousel')
    -var carousel = new bootstrap.Carousel(myCarousel)
    -

    Options

    -

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-interval="".

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDefaultDescription
    intervalnumber5000The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.
    keyboardbooleantrueWhether the carousel should react to keyboard events.
    pausestring | boolean'hover'

    If set to 'hover', pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave. If set to false, hovering over the carousel won't pause it.

    -

    On touch-enabled devices, when set to 'hover', cycling will pause on touchend (once the user finished interacting with the carousel) for two intervals, before automatically resuming. Note that this is in addition to the above mouse behavior.

    ridestring | booleanfalseAutoplays the carousel after the user manually cycles the first item. If set to 'carousel', autoplays the carousel on load.
    wrapbooleantrueWhether the carousel should cycle continuously or have hard stops.
    touchbooleantrueWhether the carousel should support left/right swipe interactions on touchscreen devices.
    -

    Methods

    -
    -

    Asynchronous methods and transitions

    -

    All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

    -

    See our JavaScript documentation for more information.

    - -
    - -

    You can create a carousel instance with the carousel constructor, for example, to initialize with additional options and start cycling through items:

    -
    var myCarousel = document.querySelector('#myCarousel')
    -var carousel = new bootstrap.Carousel(myCarousel, {
    -  interval: 2000,
    -  wrap: false
    -})
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    MethodDescription
    cycleCycles through the carousel items from left to right.
    pauseStops the carousel from cycling through items.
    prevCycles to the previous item. Returns to the caller before the previous item has been shown (e.g., before the slid.bs.carousel event occurs).
    nextCycles to the next item. Returns to the caller before the next item has been shown (e.g., before the slid.bs.carousel event occurs).
    nextWhenVisibleDon't cycle carousel to next when the page isn't visible or the carousel or its parent isn't visible. Returns to the caller before the target item has been shown -
    toCycles the carousel to a particular frame (0 based, similar to an array). Returns to the caller before the target item has been shown (e.g., before the slid.bs.carousel event occurs).
    disposeDestroys an element's carousel. (Removes stored data on the DOM element)
    - getInstance - - Static method which allows you to get the carousel instance associated to a DOM element, you can use it like this: bootstrap.Carousel.getInstance(element) -
    - getOrCreateInstance - - Static method which returns a carousel instance associated to a DOM element or create a new one in case it wasn't initialized. - You can use it like this: bootstrap.Carousel.getOrCreateInstance(element) -
    -

    Events

    -

    Bootstrap’s carousel class exposes two events for hooking into carousel functionality. Both events have the following additional properties:

    -
      -
    • direction: The direction in which the carousel is sliding (either "left" or "right").
    • -
    • relatedTarget: The DOM element that is being slid into place as the active item.
    • -
    • from: The index of the current item
    • -
    • to: The index of the next item
    • -
    -

    All carousel events are fired at the carousel itself (i.e. at the <div class="carousel">).

    - - - - - - - - - - - - - - - - - -
    Event typeDescription
    slide.bs.carouselFires immediately when the slide instance method is invoked.
    slid.bs.carouselFired when the carousel has completed its slide transition.
    -
    var myCarousel = document.getElementById('myCarousel')
    -
    -myCarousel.addEventListener('slide.bs.carousel', function () {
    -  // do something...
    -})
    -
    -
    - - +

    + You can create a carousel instance with the carousel constructor, + and pass on any additional options. For example, to manually + initialize an autoplaying carousel (assuming you’re not using + the data-bs-ride="carousel" attribute in the + markup itself) with a specific interval and with touch support + disabled, you can use: +

    +
    +
    const myCarouselElement = document.querySelector('#myCarousel')
    +
    +const carousel = new bootstrap.Carousel(myCarouselElement, {
    +  interval: 2000,
    +  touch: false
    +})
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    cycle + Starts cycling through the carousel items from left to + right. +
    dispose + Destroys an element’s carousel. (Removes stored data + on the DOM element) +
    getInstance + Static method which allows you to get the carousel instance + associated to a DOM element. You can use it like this: + bootstrap.Carousel.getInstance(element). +
    getOrCreateInstance + Static method which returns a carousel instance associated + to a DOM element, or creates a new one in case it + wasn’t initialized. You can use it like this: + bootstrap.Carousel.getOrCreateInstance(element). +
    next + Cycles to the next item. + Returns to the caller before the next item has been + shown + (e.g., before the slid.bs.carousel event + occurs). +
    nextWhenVisible + Don’t cycle carousel to next when the page, the + carousel, or the carousel’s parent aren’t + visible. + Returns to the caller before the target item has been + shown. +
    pauseStops the carousel from cycling through items.
    prev + Cycles to the previous item. + Returns to the caller before the previous item has been + shown + (e.g., before the slid.bs.carousel event + occurs). +
    to + Cycles the carousel to a particular frame (0 based, similar + to an array). + Returns to the caller before the target item has been + shown + (e.g., before the slid.bs.carousel event + occurs). +
    +
    +

    + Events + +

    +

    + Bootstrap’s carousel class exposes two events for hooking into + carousel functionality. Both events have the following additional + properties: +

    +
      +
    • + direction: The direction in which the carousel is + sliding (either "left" or + "right"). +
    • +
    • + relatedTarget: The DOM element that is being slid + into place as the active item. +
    • +
    • from: The index of the current item
    • +
    • to: The index of the next item
    • +
    +

    + All carousel events are fired at the carousel itself (i.e. at the + <div class="carousel">). +

    +
    + + + + + + + + + + + + + + + + + +
    Event typeDescription
    slid.bs.carousel + Fired when the carousel has completed its slide transition. +
    slide.bs.carousel + Fires immediately when the slide instance + method is invoked. +
    +
    - - + + - + + - + + + + + diff --git a/components/close-button/index.html b/components/close-button/index.html index b2364cc..5f88c1e 100644 --- a/components/close-button/index.html +++ b/components/close-button/index.html @@ -1,492 +1,2201 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Close button · Bootstrap v5.3 -Close button · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
    + - +
    +
    +
    + +

    Close button

    +
    +

    + A generic close button for dismissing content like modals and + alerts. +

    +
    -
    -
    -
    - View on GitHub -

    Close button

    +
    + + On this page +
    +
    -

    A generic close button for dismissing content like modals and alerts.

    - -
    +
    +

    + Example + +

    +

    + Provide an option to dismiss or close a component with + .btn-close. Default styling is limited, but highly + customizable. Modify the Sass variables to replace the default + background-image. + Be sure to include text for screen readers, as + we’ve done with aria-label. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn-close" aria-label="Close"></button>
    +
    +
    +

    + Disabled state + +

    +

    + Disabled close buttons change their opacity. + We’ve also applied pointer-events: none and + user-select: none to preventing hover and active states + from triggering. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn-close" disabled aria-label="Close"></button>
    +
    +
    -
    - On this page - -
    +

    + Dark variant + +

    + Deprecated in v5.3.0 +
    + Heads up! As of v5.3.0, the + .btn-close-white class is deprecated. Instead, use + data-bs-theme="dark" to change the color mode + of the close button. +
    -
    - - -

    Example

    -

    Provide an option to dismiss or close a component with .btn-close. Default styling is limited, but highly customizable. Modify the Sass variables to replace the default background-image. Be sure to include text for screen readers, as we’ve done with aria-label.

    -
    - -
    <button type="button" class="btn-close" aria-label="Close"></button>
    -

    Disabled state

    -

    Disabled close buttons change their opacity. We’ve also applied pointer-events: none and user-select: none to preventing hover and active states from triggering.

    -
    - -
    <button type="button" class="btn-close" disabled aria-label="Close"></button>
    -

    White variant

    -

    Change the default .btn-close to be white with the .btn-close-white class. This class uses the filter property to invert the background-image.

    -
    - - -
    <button type="button" class="btn-close btn-close-white" aria-label="Close"></button>
    -<button type="button" class="btn-close btn-close-white" disabled aria-label="Close"></button>
    -

    Sass

    -

    Variables

    -
    $btn-close-width:            1em;
    -$btn-close-height:           $btn-close-width;
    -$btn-close-padding-x:        .25em;
    -$btn-close-padding-y:        $btn-close-padding-x;
    -$btn-close-color:            $black;
    -$btn-close-bg:               url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
    -$btn-close-focus-shadow:     $input-btn-focus-box-shadow;
    -$btn-close-opacity:          .5;
    -$btn-close-hover-opacity:    .75;
    -$btn-close-focus-opacity:    1;
    -$btn-close-disabled-opacity: .25;
    -$btn-close-white-filter:     invert(1) grayscale(100%) brightness(200%);
    -
    +

    + Add data-bs-theme="dark" to the + .btn-close, or to its parent element, to invert the + close button. This uses the filter property to invert + the background-image without overriding its value. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div data-bs-theme="dark">
    +  <button type="button" class="btn-close" aria-label="Close"></button>
    +  <button type="button" class="btn-close" disabled aria-label="Close"></button>
    +</div>
    +
    +
    -
    -
    -
    +

    + CSS + +

    +

    + Variables + +

    + Added in v5.3.0 +

    + As part of Bootstrap’s evolving CSS variables approach, close + button now uses local CSS variables on .btn-close for + enhanced real-time customization. Values for the CSS variables are + set via Sass, so Sass customization is still supported, too. +

    +
    +
    + scss/_close.scss +
    + +
    +
    +
    +
    --#{$prefix}btn-close-color: #{$btn-close-color};
    +--#{$prefix}btn-close-bg: #{ escape-svg($btn-close-bg) };
    +--#{$prefix}btn-close-opacity: #{$btn-close-opacity};
    +--#{$prefix}btn-close-hover-opacity: #{$btn-close-hover-opacity};
    +--#{$prefix}btn-close-focus-shadow: #{$btn-close-focus-shadow};
    +--#{$prefix}btn-close-focus-opacity: #{$btn-close-focus-opacity};
    +--#{$prefix}btn-close-disabled-opacity: #{$btn-close-disabled-opacity};
    +--#{$prefix}btn-close-white-filter: #{$btn-close-white-filter};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $btn-close-width:            1em;
    +$btn-close-height:           $btn-close-width;
    +$btn-close-padding-x:        .25em;
    +$btn-close-padding-y:        $btn-close-padding-x;
    +$btn-close-color:            $black;
    +$btn-close-bg:               url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>");
    +$btn-close-focus-shadow:     $focus-ring-box-shadow;
    +$btn-close-opacity:          .5;
    +$btn-close-hover-opacity:    .75;
    +$btn-close-focus-opacity:    1;
    +$btn-close-disabled-opacity: .25;
    +$btn-close-white-filter:     invert(1) grayscale(100%) brightness(200%);
    +
    +
    +
    + + + - + - + + + - + - + + + + + diff --git a/components/collapse/index.html b/components/collapse/index.html index 5fe9295..eb02d22 100644 --- a/components/collapse/index.html +++ b/components/collapse/index.html @@ -1,751 +1,2737 @@ - - - - - - - - - - - - - - - -Collapse · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Collapse · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Collapse

    +
    +

    + Toggle the visibility of content across your project with a few + classes and our JavaScript plugins. +

    - -
  • - - -
  • -
  • - - -
    -
      -
    • Approach
    • -
    • Icons
    • + +
      +

      + How it works + +

      +

      + The collapse JavaScript plugin is used to show and hide content. + Buttons or anchors are used as triggers that are mapped to specific + elements you toggle. Collapsing an element will animate the + height from its current value to 0. Given + how CSS handles animations, you cannot use padding on a + .collapse element. Instead, use the class as an + independent wrapping element. +

      +
      + The animation effect of this component is dependent on the + prefers-reduced-motion media query. See the + reduced motion section of our accessibility documentation. +
      + +

      + Example + +

      +

      + Click the buttons below to show and hide another element via class + changes: +

      +
        +
      • .collapse hides content
      • +
      • .collapsing is applied during transitions
      • +
      • .collapse.show shows content
      -
      - -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        + Generally, we recommend using a <button> with the + data-bs-target attribute. While not recommended from a + semantic point of view, you can also use an + <a> link with the href attribute + (and a role="button"). In both cases, the + data-bs-toggle="collapse" is required. +

        +
        +
        +

        + + +

        +
        +
        + Some placeholder content for the collapse component. This + panel is hidden by default but revealed when the user + activates the relevant trigger. +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <p>
        +  <a class="btn btn-primary" data-bs-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
        +    Link with href
        +  </a>
        +  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
        +    Button with data-bs-target
        +  </button>
        +</p>
        +<div class="collapse" id="collapseExample">
        +  <div class="card card-body">
        +    Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.
        +  </div>
        +</div>
        +
        +
        + +

        + Horizontal + +

        +

        + The collapse plugin supports horizontal collapsing. Add the + .collapse-horizontal modifier class to transition the + width instead of height and set a + width on the immediate child element. Feel free to + write your own custom Sass, use inline styles, or use our + width utilities. +

        +
        + Please note that while the example below has a + min-height set to avoid excessive repaints in our docs, + this is not explicitly required. + Only the width on the child element is + required. +
        + +
        +
        +

        + +

        +
        +
        +
        + This is some placeholder content for a horizontal collapse. + It's hidden by default and shown when triggered. +
        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <p>
        +  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#collapseWidthExample" aria-expanded="false" aria-controls="collapseWidthExample">
        +    Toggle width collapse
        +  </button>
        +</p>
        +<div style="min-height: 120px;">
        +  <div class="collapse collapse-horizontal" id="collapseWidthExample">
        +    <div class="card card-body" style="width: 300px;">
        +      This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered.
        +    </div>
        +  </div>
        +</div>
        +
        +
        + +

        + Multiple toggles and targets + +

        +

        + A <button> or <a> element can + show and hide multiple elements by referencing them with a selector + in its data-bs-target or href attribute. + Conversely, multiple <button> or + <a> elements can show and hide the same element + if they each reference it with their data-bs-target or + href attribute. +

        +
        +
        +

        + + + +

        +
        +
        +
        +
        + Some placeholder content for the first collapse component + of this multi-collapse example. This panel is hidden by + default but revealed when the user activates the relevant + trigger. +
        +
        +
        +
        +
        +
        + Some placeholder content for the second collapse component + of this multi-collapse example. This panel is hidden by + default but revealed when the user activates the relevant + trigger. +
        +
        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <p>
        +  <a class="btn btn-primary" data-bs-toggle="collapse" href="#multiCollapseExample1" role="button" aria-expanded="false" aria-controls="multiCollapseExample1">Toggle first element</a>
        +  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#multiCollapseExample2" aria-expanded="false" aria-controls="multiCollapseExample2">Toggle second element</button>
        +  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target=".multi-collapse" aria-expanded="false" aria-controls="multiCollapseExample1 multiCollapseExample2">Toggle both elements</button>
        +</p>
        +<div class="row">
        +  <div class="col">
        +    <div class="collapse multi-collapse" id="multiCollapseExample1">
        +      <div class="card card-body">
        +        Some placeholder content for the first collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
        +      </div>
        +    </div>
        +  </div>
        +  <div class="col">
        +    <div class="collapse multi-collapse" id="multiCollapseExample2">
        +      <div class="card card-body">
        +        Some placeholder content for the second collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
        +      </div>
        +    </div>
        +  </div>
        +</div>
        +
        +
        + +

        + Accessibility + +

        +

        + Be sure to add aria-expanded to the control element. + This attribute explicitly conveys the current state of the + collapsible element tied to the control to screen readers and + similar assistive technologies. If the collapsible element is closed + by default, the attribute on the control element should have a value + of aria-expanded="false". If you’ve set + the collapsible element to be open by default using the + show class, set + aria-expanded="true" on the control instead. + The plugin will automatically toggle this attribute on the control + based on whether or not the collapsible element has been opened or + closed (via JavaScript, or because the user triggered another + control element also tied to the same collapsible element). If the + control element’s HTML element is not a button (e.g., an + <a> or <div>), the attribute + role="button" should be added to the element. +

        +

        + If your control element is targeting a single collapsible element – + i.e. the data-bs-target attribute is pointing to an + id selector – you should add the + aria-controls attribute to the control element, + containing the id of the collapsible element. Modern + screen readers and similar assistive technologies make use of this + attribute to provide users with additional shortcuts to navigate + directly to the collapsible element itself. +

        +

        + Note that Bootstrap’s current implementation does not cover + the various optional keyboard interactions described in the + ARIA Authoring Practices Guide accordion pattern + - you will need to include these yourself with custom JavaScript. +

        +

        + CSS + +

        +

        + Sass variables + +

        +
        +
        + scss/_variables.scss +
        + +
        +
        +
        +
        $transition-collapse:         height .35s ease;
        +$transition-collapse-width:   width .35s ease;
        +
        +
        +
        +

        + Classes + +

        +

        + Collapse transition classes can be found in + scss/_transitions.scss as these are shared across + multiple components (collapse and accordion). +

        +
        +
        + scss/_transitions.scss +
        + +
        +
        +
        +
        .collapse {
        +  &:not(.show) {
        +    display: none;
        +  }
        +}
        +
        +.collapsing {
        +  height: 0;
        +  overflow: hidden;
        +  @include transition($transition-collapse);
        +
        +  &.collapse-horizontal {
        +    width: 0;
        +    height: auto;
        +    @include transition($transition-collapse-width);
        +  }
        +}
        +
        +
        +
        +

        + Usage + +

        +

        + The collapse plugin utilizes a few classes to handle the heavy + lifting: +

        +
          +
        • .collapse hides the content
        • +
        • .collapse.show shows the content
        • +
        • + .collapsing is added when the transition starts, and + removed when it finishes +
        +

        These classes can be found in _transitions.scss.

        +

        + Via data attributes + +

        +

        + Just add data-bs-toggle="collapse" and a + data-bs-target to the element to automatically assign + control of one or more collapsible elements. The + data-bs-target attribute accepts a CSS selector to + apply the collapse to. Be sure to add the class + collapse to the collapsible element. If you’d + like it to default open, add the additional class show. +

        +

        + To add accordion-like group management to a collapsible area, add + the data attribute + data-bs-parent="#selector". Refer to the + accordion page for more + information. +

        +

        + Via JavaScript + +

        +

        Enable manually with:

        +
        +
        const collapseElementList = document.querySelectorAll('.collapse')
        +const collapseList = [...collapseElementList].map(collapseEl => new bootstrap.Collapse(collapseEl))
        +
        +
        +

        + Options + +

        +

        + As options can be passed via data attributes or JavaScript, you can + append an option name to data-bs-, as in + data-bs-animation="{value}". Make sure to + change the case type of the option name from + “camelCase” to + “kebab-case” when passing the options via data + attributes. For example, use + data-bs-custom-class="beautifier" instead of + data-bs-customClass="beautifier". +

        +

        + As of Bootstrap 5.2.0, all components support an + experimental reserved data attribute + data-bs-config that can house simple component + configuration as a JSON string. When an element has + data-bs-config='{"delay":0, + "title":123}' + and data-bs-title="456" attributes, the final + title value will be 456 and the separate + data attributes will override values given on + data-bs-config. In addition, existing data attributes + are able to house JSON values like + data-bs-delay='{"show":0,"hide":150}'. +

        +

        + The final configuration object is the merged result of + data-bs-config, data-bs-, and + js object where the latest given key-value overrides + the others. +

        + +
        + + + + + + + + + + + + + + + + + + + + + + + +
        NameTypeDefaultDescription
        parentselector, DOM elementnull + If parent is provided, then all collapsible elements under + the specified parent will be closed when this collapsible + item is shown. (similar to traditional accordion behavior - + this is dependent on the card class). The + attribute has to be set on the target collapsible area. +
        togglebooleantrueToggles the collapsible element on invocation.
        +
        + +

        + Methods + +

        +
        + All API methods are asynchronous and start a transition. + They return to the caller as soon as the transition is started, but + before it ends. In addition, a method call on a transitioning + component will be ignored. + Learn more in our JavaScript docs. +
        + +

        + Activates your content as a collapsible element. Accepts an optional + options object. +

        +

        + You can create a collapse instance with the constructor, for + example: +

        +
        +
        const bsCollapse = new bootstrap.Collapse('#myCollapse', {
        +  toggle: false
        +})
        +
        +
        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        MethodDescription
        dispose + Destroys an element’s collapse. (Removes stored data + on the DOM element) +
        getInstance + Static method which allows you to get the collapse instance + associated to a DOM element, you can use it like this: + bootstrap.Collapse.getInstance(element). +
        getOrCreateInstance + Static method which returns a collapse instance associated + to a DOM element or create a new one in case it wasn’t + initialized. You can use it like this: + bootstrap.Collapse.getOrCreateInstance(element). +
        hide + Hides a collapsible element. + Returns to the caller before the collapsible element has + actually been hidden + (e.g., before the hidden.bs.collapse event + occurs). +
        show + Shows a collapsible element. + Returns to the caller before the collapsible element has + actually been shown + (e.g., before the shown.bs.collapse event + occurs). +
        toggle + Toggles a collapsible element to shown or hidden. + Returns to the caller before the collapsible element has + actually been shown or hidden + (i.e. before the shown.bs.collapse or + hidden.bs.collapse event occurs). +
        +
        + +

        + Events + +

        +

        + Bootstrap’s collapse class exposes a few events for hooking + into collapse functionality. +

        +
        + + + + + + + + + + + + + + + + + + + + + + + + + +
        Event typeDescription
        hide.bs.collapse + This event is fired immediately when the + hide method has been called. +
        hidden.bs.collapse + This event is fired when a collapse element has been hidden + from the user (will wait for CSS transitions to complete). +
        show.bs.collapse + This event fires immediately when the + show instance method is called. +
        shown.bs.collapse + This event is fired when a collapse element has been made + visible to the user (will wait for CSS transitions to + complete). +
        +
        + +
        +
        const myCollapsible = document.getElementById('myCollapsible')
        +myCollapsible.addEventListener('hidden.bs.collapse', event => {
        +  // do something...
        +})
        +
        +
      -
    • -
    • -
    • - - Migration - -
    • -
    - - - - -
    -
    -
    - View on GitHub -

    Collapse

    -
    -

    Toggle the visibility of content across your project with a few classes and our JavaScript plugins.

    - - -
    - +
    +
    -
    - On this page - +
    +
    +
    +
    + + + Bootstrap + + + Bootstrap + + +
    +
    +
    Links
    + +
    +
    +
    Guides
    + +
    +
    +
    Projects
    + +
    +
    +
    Community
    + +
    - - -
    - - -

    How it works

    -

    The collapse JavaScript plugin is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the height from its current value to 0. Given how CSS handles animations, you cannot use padding on a .collapse element. Instead, use the class as an independent wrapping element.

    -
    -The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation. -
    - -

    Example

    -

    Click the buttons below to show and hide another element via class changes:

    -
      -
    • .collapse hides content
    • -
    • .collapsing is applied during transitions
    • -
    • .collapse.show shows content
    • -
    -

    Generally, we recommend using a button with the data-bs-target attribute. While not recommended from a semantic point of view, you can also use a link with the href attribute (and a role="button"). In both cases, the data-bs-toggle="collapse" is required.

    -
    -

    - - -

    -
    -
    - Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger. -
    -
    -
    <p>
    -  <a class="btn btn-primary" data-bs-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
    -    Link with href
    -  </a>
    -  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
    -    Button with data-bs-target
    -  </button>
    -</p>
    -<div class="collapse" id="collapseExample">
    -  <div class="card card-body">
    -    Some placeholder content for the collapse component. This panel is hidden by default but revealed when the user activates the relevant trigger.
    -  </div>
    -</div>
    -

    Horizontal

    -

    The collapse plugin also supports horizontal collapsing. Add the .collapse-horizontal modifier class to transition the width instead of height and set a width on the immediate child element. Feel free to write your own custom Sass, use inline styles, or use our width utilities.

    -
    -Please note that while the example below has a min-height set to avoid excessive repaints in our docs, this is not explicitly required. Only the width on the child element is required. -
    - -
    -

    - -

    -
    -
    -
    - This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered. -
    -
    -
    -
    <p>
    -  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#collapseWidthExample" aria-expanded="false" aria-controls="collapseWidthExample">
    -    Toggle width collapse
    -  </button>
    -</p>
    -<div style="min-height: 120px;">
    -  <div class="collapse collapse-horizontal" id="collapseWidthExample">
    -    <div class="card card-body" style="width: 300px;">
    -      This is some placeholder content for a horizontal collapse. It's hidden by default and shown when triggered.
    -    </div>
    -  </div>
    -</div>
    -

    Multiple targets

    -

    A <button> or <a> can show and hide multiple elements by referencing them with a selector in its href or data-bs-target attribute. -Multiple <button> or <a> can show and hide an element if they each reference it with their href or data-bs-target attribute

    -
    -

    - - - -

    -
    -
    -
    -
    - Some placeholder content for the first collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
    -
    -
    -
    -
    -
    - Some placeholder content for the second collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger. -
    -
    -
    -
    -
    <p>
    -  <a class="btn btn-primary" data-bs-toggle="collapse" href="#multiCollapseExample1" role="button" aria-expanded="false" aria-controls="multiCollapseExample1">Toggle first element</a>
    -  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target="#multiCollapseExample2" aria-expanded="false" aria-controls="multiCollapseExample2">Toggle second element</button>
    -  <button class="btn btn-primary" type="button" data-bs-toggle="collapse" data-bs-target=".multi-collapse" aria-expanded="false" aria-controls="multiCollapseExample1 multiCollapseExample2">Toggle both elements</button>
    -</p>
    -<div class="row">
    -  <div class="col">
    -    <div class="collapse multi-collapse" id="multiCollapseExample1">
    -      <div class="card card-body">
    -        Some placeholder content for the first collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col">
    -    <div class="collapse multi-collapse" id="multiCollapseExample2">
    -      <div class="card card-body">
    -        Some placeholder content for the second collapse component of this multi-collapse example. This panel is hidden by default but revealed when the user activates the relevant trigger.
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Accessibility

    -

    Be sure to add aria-expanded to the control element. This attribute explicitly conveys the current state of the collapsible element tied to the control to screen readers and similar assistive technologies. If the collapsible element is closed by default, the attribute on the control element should have a value of aria-expanded="false". If you’ve set the collapsible element to be open by default using the show class, set aria-expanded="true" on the control instead. The plugin will automatically toggle this attribute on the control based on whether or not the collapsible element has been opened or closed (via JavaScript, or because the user triggered another control element also tied to the same collapsible element). If the control element’s HTML element is not a button (e.g., an <a> or <div>), the attribute role="button" should be added to the element.

    -

    If your control element is targeting a single collapsible element – i.e. the data-bs-target attribute is pointing to an id selector – you should add the aria-controls attribute to the control element, containing the id of the collapsible element. Modern screen readers and similar assistive technologies make use of this attribute to provide users with additional shortcuts to navigate directly to the collapsible element itself.

    -

    Note that Bootstrap’s current implementation does not cover the various optional keyboard interactions described in the WAI-ARIA Authoring Practices 1.1 accordion pattern - you will need to include these yourself with custom JavaScript.

    -

    Sass

    -

    Variables

    -
    $transition-collapse:         height .35s ease;
    -$transition-collapse-width:   width .35s ease;
    -
    -

    Classes

    -

    Collapse transition classes can be found in scss/_transitions.scss as these are shared across multiple components (collapse and accordion).

    -
    .collapse {
    -  &:not(.show) {
    -    display: none;
    -  }
    -}
    -
    -.collapsing {
    -  height: 0;
    -  overflow: hidden;
    -  @include transition($transition-collapse);
    -
    -  &.collapse-horizontal {
    -    width: 0;
    -    height: auto;
    -    @include transition($transition-collapse-width);
    -  }
    -}
    -
    -

    Usage

    -

    The collapse plugin utilizes a few classes to handle the heavy lifting:

    -
      -
    • .collapse hides the content
    • -
    • .collapse.show shows the content
    • -
    • .collapsing is added when the transition starts, and removed when it finishes
    • -
    -

    These classes can be found in _transitions.scss.

    -

    Via data attributes

    -

    Just add data-bs-toggle="collapse" and a data-bs-target to the element to automatically assign control of one or more collapsible elements. The data-bs-target attribute accepts a CSS selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you’d like it to default open, add the additional class show.

    -

    To add accordion-like group management to a collapsible area, add the data attribute data-bs-parent="#selector". Refer to the accordion page for more information.

    -

    Via JavaScript

    -

    Enable manually with:

    -
    var collapseElementList = [].slice.call(document.querySelectorAll('.collapse'))
    -var collapseList = collapseElementList.map(function (collapseEl) {
    -  return new bootstrap.Collapse(collapseEl)
    -})
    -

    Options

    -

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-parent="".

    - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDefaultDescription
    parentselector | jQuery object | DOM element falseIf parent is provided, then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this is dependent on the card class). The attribute has to be set on the target collapsible area.
    togglebooleantrueToggles the collapsible element on invocation
    -

    Methods

    -
    -

    Asynchronous methods and transitions

    -

    All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

    -

    See our JavaScript documentation for more information.

    - -
    - -

    Activates your content as a collapsible element. Accepts an optional options object.

    -

    You can create a collapse instance with the constructor, for example:

    -
    var myCollapse = document.getElementById('myCollapse')
    -var bsCollapse = new bootstrap.Collapse(myCollapse, {
    -  toggle: false
    -})
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    MethodDescription
    toggleToggles a collapsible element to shown or hidden. Returns to the caller before the collapsible element has actually been shown or hidden (i.e. before the shown.bs.collapse or hidden.bs.collapse event occurs).
    showShows a collapsible element. Returns to the caller before the collapsible element has actually been shown (e.g., before the shown.bs.collapse event occurs).
    hideHides a collapsible element. Returns to the caller before the collapsible element has actually been hidden (e.g., before the hidden.bs.collapse event occurs).
    disposeDestroys an element's collapse. (Removes stored data on the DOM element)
    - getInstance - - Static method which allows you to get the collapse instance associated to a DOM element, you can use it like this: bootstrap.Collapse.getInstance(element) -
    - getOrCreateInstance - - Static method which returns a collapse instance associated to a DOM element or create a new one in case it wasn't initialized. - You can use it like this: bootstrap.Collapse.getOrCreateInstance(element) -
    -

    Events

    -

    Bootstrap’s collapse class exposes a few events for hooking into collapse functionality.

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Event typeDescription
    show.bs.collapseThis event fires immediately when the show instance method is called.
    shown.bs.collapseThis event is fired when a collapse element has been made visible to the user (will wait for CSS transitions to complete).
    hide.bs.collapseThis event is fired immediately when the hide method has been called.
    hidden.bs.collapseThis event is fired when a collapse element has been hidden from the user (will wait for CSS transitions to complete).
    -
    var myCollapsible = document.getElementById('myCollapsible')
    -myCollapsible.addEventListener('hidden.bs.collapse', function () {
    -  // do something...
    -})
    -
    -
    -
  • -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/dropdowns/index.html b/components/dropdowns/index.html index 3a33856..7d09295 100644 --- a/components/dropdowns/index.html +++ b/components/dropdowns/index.html @@ -1,1977 +1,5577 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Dropdowns · Bootstrap v5.3 -Dropdowns · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
    + + +
    +
    +
    + +

    Dropdowns

    +
    +

    + Toggle contextual overlays for displaying lists of links and more + with the Bootstrap dropdown plugin. +

    - -
  • - - -
  • -
  • -
  • - - Migration - -
  • - - - +
    +

    + Overview + +

    +

    + Dropdowns are toggleable, contextual overlays for displaying lists + of links and more. They’re made interactive with the included + Bootstrap dropdown JavaScript plugin. They’re toggled by + clicking, not by hovering; this is + an intentional design decision. +

    +

    + Dropdowns are built on a third party library, + Popper, which provides dynamic + positioning and viewport detection. Be sure to include + popper.min.js + before Bootstrap’s JavaScript or use + bootstrap.bundle.min.js / + bootstrap.bundle.js which contains Popper. Popper + isn’t used to position dropdowns in navbars though as dynamic + positioning isn’t required. +

    +

    + Accessibility + +

    +

    + The + WAI + ARIA + standard defines an actual + role="menu" widget, but this is specific to application-like menus which trigger + actions or functions. + ARIA + menus can only contain menu items, checkbox menu items, radio button + menu items, radio button groups, and sub-menus. +

    +

    + Bootstrap’s dropdowns, on the other hand, are designed to be + generic and applicable to a variety of situations and markup + structures. For instance, it is possible to create dropdowns that + contain additional inputs and form controls, such as search fields + or login forms. For this reason, Bootstrap does not expect (nor + automatically add) any of the role and + aria- attributes required for true + ARIA + menus. Authors will have to include these more specific attributes + themselves. +

    +

    + However, Bootstrap does add built-in support for most standard + keyboard menu interactions, such as the ability to move through + individual .dropdown-item elements using the cursor + keys and close the menu with the Esc key. +

    +

    + Examples + +

    +

    + Wrap the dropdown’s toggle (your button or link) and the + dropdown menu within .dropdown, or another element that + declares position: relative;. Ideally, you should use a + <button> element as the dropdown trigger, but the + plugin will work with <a> elements as well. The + examples shown here use semantic <ul> elements + where appropriate, but custom markup is supported. +

    +

    + Single button + +

    +

    + Any single .btn can be turned into a dropdown toggle + with some markup changes. Here’s how you can put them to work + with <button> elements: +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="dropdown">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropdown button
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +  </ul>
    +</div>
    +
    +
    -
    -
    -
    - View on GitHub -

    Dropdowns

    -
    -

    Toggle contextual overlays for displaying lists of links and more with the Bootstrap dropdown plugin.

    - +

    + While <button> is the recommended control for a + dropdown toggle, there might be situations where you have to use an + <a> element. If you do, we recommend adding a + role="button" attribute to appropriately + convey control’s purpose to assistive technologies such as + screen readers. +

    + +
    + html +
    + + +
    +
    +
    +
    <div class="dropdown">
    +  <a class="btn btn-secondary dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropdown link
    +  </a>
    +
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +  </ul>
    +</div>
    +
    +
    +

    The best part is you can do this with any button variant, too:

    +
    +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    +
    +
    <!-- Example single danger button -->
    +<div class="btn-group">
    +  <button type="button" class="btn btn-danger dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +    Action
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +</div>
    +
    +
    +

    + Split button + +

    +

    + Similarly, create split button dropdowns with virtually the same + markup as single button dropdowns, but with the addition of + .dropdown-toggle-split for proper spacing around the + dropdown caret. +

    +

    + We use this extra class to reduce the horizontal + padding on either side of the caret by 25% and remove + the margin-left that’s added for regular button + dropdowns. Those extra changes keep the caret centered in the split + button and provide a more appropriately sized hit area next to the + main button. +

    +
    +
    + + + +
    + +
    + + + +
    + +
    + + + +
    + +
    + + + +
    + +
    + + + +
    + +
    + + + +
    + +
    +
    +
    <!-- Example split danger button -->
    +<div class="btn-group">
    +  <button type="button" class="btn btn-danger">Action</button>
    +  <button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    +    <span class="visually-hidden">Toggle Dropdown</span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +</div>
    +
    +
    +

    + Sizing + +

    +

    + Button dropdowns work with buttons of all sizes, including default + and split dropdown buttons. +

    +
    +
    + + +
    +
    + + + +
    +
    +
    +
    <!-- Large button groups (default and split) -->
    +<div class="btn-group">
    +  <button class="btn btn-secondary btn-lg dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Large button
    +  </button>
    +  <ul class="dropdown-menu">
    +    ...
    +  </ul>
    +</div>
    +<div class="btn-group">
    +  <button class="btn btn-secondary btn-lg" type="button">
    +    Large split button
    +  </button>
    +  <button type="button" class="btn btn-lg btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    +    <span class="visually-hidden">Toggle Dropdown</span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    ...
    +  </ul>
    +</div>
    +
    +
    +
    +
    + + +
    +
    + + + +
    +
    +
    +
    <div class="btn-group">
    +  <button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Small button
    +  </button>
    +  <ul class="dropdown-menu">
    +    ...
    +  </ul>
    +</div>
    +<div class="btn-group">
    +  <button class="btn btn-secondary btn-sm" type="button">
    +    Small split button
    +  </button>
    +  <button type="button" class="btn btn-sm btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    +    <span class="visually-hidden">Toggle Dropdown</span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    ...
    +  </ul>
    +</div>
    +
    +
    +

    + Dark dropdowns + +

    + Deprecated in v5.3.0 - +

    + Opt into darker dropdowns to match a dark navbar or custom style by + adding .dropdown-menu-dark onto an existing + .dropdown-menu. No changes are required to the dropdown + items. +

    +
    +

    + Heads up! Dark variants for components were + deprecated in v5.3.0 with the introduction of color modes. Instead + of adding .dropdown-menu-dark, set + data-bs-theme="dark" on the root element, a parent + wrapper, or the component itself. +

    +
    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="dropdown">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropdown button
    +  </button>
    +  <ul class="dropdown-menu dropdown-menu-dark">
    +    <li><a class="dropdown-item active" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +</div>
    +
    +
    -
    - - -

    Overview

    -

    Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They’re made interactive with the included Bootstrap dropdown JavaScript plugin. They’re toggled by clicking, not by hovering; this is an intentional design decision.

    -

    Dropdowns are built on a third party library, Popper, which provides dynamic positioning and viewport detection. Be sure to include popper.min.js before Bootstrap’s JavaScript or use bootstrap.bundle.min.js / bootstrap.bundle.js which contains Popper. Popper isn’t used to position dropdowns in navbars though as dynamic positioning isn’t required.

    -

    Accessibility

    -

    The WAI ARIA standard defines an actual role="menu" widget, but this is specific to application-like menus which trigger actions or functions. ARIA menus can only contain menu items, checkbox menu items, radio button menu items, radio button groups, and sub-menus.

    -

    Bootstrap’s dropdowns, on the other hand, are designed to be generic and applicable to a variety of situations and markup structures. For instance, it is possible to create dropdowns that contain additional inputs and form controls, such as search fields or login forms. For this reason, Bootstrap does not expect (nor automatically add) any of the role and aria- attributes required for true ARIA menus. Authors will have to include these more specific attributes themselves.

    -

    However, Bootstrap does add built-in support for most standard keyboard menu interactions, such as the ability to move through individual .dropdown-item elements using the cursor keys and close the menu with the ESC key.

    -

    Examples

    -

    Wrap the dropdown’s toggle (your button or link) and the dropdown menu within .dropdown, or another element that declares position: relative;. Dropdowns can be triggered from <a> or <button> elements to better fit your potential needs. The examples shown here use semantic <ul> elements where appropriate, but custom markup is supported.

    -

    Single button

    -

    Any single .btn can be turned into a dropdown toggle with some markup changes. Here’s how you can put them to work with either <button> elements:

    -
    - -
    <div class="dropdown">
    -  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropdown button
    -  </button>
    -  <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
    -    <li><a class="dropdown-item" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -  </ul>
    -</div>
    -

    And with <a> elements:

    -
    <div class="dropdown">
    -  <a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropdown link
    -  </a>
    -
    -  <ul class="dropdown-menu" aria-labelledby="dropdownMenuLink">
    -    <li><a class="dropdown-item" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -  </ul>
    -</div>
    -

    The best part is you can do this with any button variant, too:

    - -
    <!-- Example single danger button -->
    -<div class="btn-group">
    -  <button type="button" class="btn btn-danger dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -    Action
    -  </button>
    -  <ul class="dropdown-menu">
    -    <li><a class="dropdown-item" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    <li><hr class="dropdown-divider"></li>
    -    <li><a class="dropdown-item" href="#">Separated link</a></li>
    -  </ul>
    -</div>
    -

    Split button

    -

    Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of .dropdown-toggle-split for proper spacing around the dropdown caret.

    -

    We use this extra class to reduce the horizontal padding on either side of the caret by 25% and remove the margin-left that’s added for regular button dropdowns. Those extra changes keep the caret centered in the split button and provide a more appropriately sized hit area next to the main button.

    -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    -
    <!-- Example split danger button -->
    -<div class="btn-group">
    -  <button type="button" class="btn btn-danger">Action</button>
    -  <button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    -    <span class="visually-hidden">Toggle Dropdown</span>
    -  </button>
    -  <ul class="dropdown-menu">
    -    <li><a class="dropdown-item" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    <li><hr class="dropdown-divider"></li>
    -    <li><a class="dropdown-item" href="#">Separated link</a></li>
    -  </ul>
    -</div>
    -

    Sizing

    -

    Button dropdowns work with buttons of all sizes, including default and split dropdown buttons.

    -
    -
    - - -
    -
    - - - -
    -
    -
    <!-- Large button groups (default and split) -->
    -<div class="btn-group">
    -  <button class="btn btn-secondary btn-lg dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    -    Large button
    -  </button>
    -  <ul class="dropdown-menu">
    -    ...
    -  </ul>
    -</div>
    -<div class="btn-group">
    -  <button class="btn btn-secondary btn-lg" type="button">
    -    Large split button
    -  </button>
    -  <button type="button" class="btn btn-lg btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    -    <span class="visually-hidden">Toggle Dropdown</span>
    -  </button>
    -  <ul class="dropdown-menu">
    -    ...
    -  </ul>
    -</div>
    -
    -
    - - -
    -
    - - - -
    -
    -
    <div class="btn-group">
    -  <button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    -    Small button
    -  </button>
    -  <ul class="dropdown-menu">
    -    ...
    -  </ul>
    -</div>
    -<div class="btn-group">
    -  <button class="btn btn-secondary btn-sm" type="button">
    -    Small split button
    -  </button>
    -  <button type="button" class="btn btn-sm btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    -    <span class="visually-hidden">Toggle Dropdown</span>
    -  </button>
    -  <ul class="dropdown-menu">
    -    ...
    -  </ul>
    -</div>
    -

    Dark dropdowns

    -

    Opt into darker dropdowns to match a dark navbar or custom style by adding .dropdown-menu-dark onto an existing .dropdown-menu. No changes are required to the dropdown items.

    -
    - -
    <div class="dropdown">
    -  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropdown button
    -  </button>
    -  <ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="dropdownMenuButton2">
    -    <li><a class="dropdown-item active" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    <li><hr class="dropdown-divider"></li>
    -    <li><a class="dropdown-item" href="#">Separated link</a></li>
    -  </ul>
    -</div>
    -

    And putting it to use in a navbar:

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Navbar</a>
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDarkDropdown" aria-controls="navbarNavDarkDropdown" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="collapse navbar-collapse" id="navbarNavDarkDropdown">
    -      <ul class="navbar-nav">
    -        <li class="nav-item dropdown">
    -          <a class="nav-link dropdown-toggle" href="#" id="navbarDarkDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
    -            Dropdown
    -          </a>
    -          <ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuLink">
    -            <li><a class="dropdown-item" href="#">Action</a></li>
    -            <li><a class="dropdown-item" href="#">Another action</a></li>
    -            <li><a class="dropdown-item" href="#">Something else here</a></li>
    -          </ul>
    -        </li>
    -      </ul>
    -    </div>
    -  </div>
    -</nav>
    -

    Directions

    -
    -

    RTL

    -

    Directions are mirrored when using Bootstrap in RTL, meaning .dropstart will appear on the right side. -

    - -

    Dropup

    -

    Trigger dropdown menus above elements by adding .dropup to the parent element.

    -
    - -
    - - - -
    -
    -
    <!-- Default dropup button -->
    -<div class="btn-group dropup">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropup
    -  </button>
    -  <ul class="dropdown-menu">
    -    <!-- Dropdown menu links -->
    -  </ul>
    -</div>
    -
    -<!-- Split dropup button -->
    -<div class="btn-group dropup">
    -  <button type="button" class="btn btn-secondary">
    -    Split dropup
    -  </button>
    -  <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    -    <span class="visually-hidden">Toggle Dropdown</span>
    -  </button>
    -  <ul class="dropdown-menu">
    -    <!-- Dropdown menu links -->
    -  </ul>
    -</div>
    -

    Dropright

    -

    Trigger dropdown menus at the right of the elements by adding .dropend to the parent element.

    -
    -
    - - -
    -
    - - - -
    -
    -
    <!-- Default dropend button -->
    -<div class="btn-group dropend">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropright
    -  </button>
    -  <ul class="dropdown-menu">
    -    <!-- Dropdown menu links -->
    -  </ul>
    -</div>
    -
    -<!-- Split dropend button -->
    -<div class="btn-group dropend">
    -  <button type="button" class="btn btn-secondary">
    -    Split dropend
    -  </button>
    -  <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    -    <span class="visually-hidden">Toggle Dropright</span>
    -  </button>
    -  <ul class="dropdown-menu">
    -    <!-- Dropdown menu links -->
    -  </ul>
    -</div>
    -

    Dropleft

    -

    Trigger dropdown menus at the left of the elements by adding .dropstart to the parent element.

    -
    -
    - - -
    -
    -
    - - -
    - -
    -
    -
    <!-- Default dropstart button -->
    -<div class="btn-group dropstart">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropstart
    -  </button>
    -  <ul class="dropdown-menu">
    -    <!-- Dropdown menu links -->
    -  </ul>
    -</div>
    -
    -<!-- Split dropstart button -->
    -<div class="btn-group">
    -  <div class="btn-group dropstart" role="group">
    -    <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    -      <span class="visually-hidden">Toggle Dropstart</span>
    -    </button>
    -    <ul class="dropdown-menu">
    -      <!-- Dropdown menu links -->
    -    </ul>
    -  </div>
    -  <button type="button" class="btn btn-secondary">
    -    Split dropstart
    -  </button>
    -</div>
    -
    -

    You can use <a> or <button> elements as dropdown items.

    -
    - -
    <div class="dropdown">
    -  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropdown
    -  </button>
    -  <ul class="dropdown-menu" aria-labelledby="dropdownMenu2">
    -    <li><button class="dropdown-item" type="button">Action</button></li>
    -    <li><button class="dropdown-item" type="button">Another action</button></li>
    -    <li><button class="dropdown-item" type="button">Something else here</button></li>
    -  </ul>
    -</div>
    -

    You can also create non-interactive dropdown items with .dropdown-item-text. Feel free to style further with custom CSS or text utilities.

    -
    - -
    <ul class="dropdown-menu">
    -  <li><span class="dropdown-item-text">Dropdown item text</span></li>
    -  <li><a class="dropdown-item" href="#">Action</a></li>
    -  <li><a class="dropdown-item" href="#">Another action</a></li>
    -  <li><a class="dropdown-item" href="#">Something else here</a></li>
    -</ul>
    -

    Active

    -

    Add .active to items in the dropdown to style them as active. To convey the active state to assistive technologies, use the aria-current attribute — using the page value for the current page, or true for the current item in a set.

    -
    <ul class="dropdown-menu">
    -  <li><a class="dropdown-item" href="#">Regular link</a></li>
    -  <li><a class="dropdown-item active" href="#" aria-current="true">Active link</a></li>
    -  <li><a class="dropdown-item" href="#">Another link</a></li>
    -</ul>
    -

    Disabled

    -

    Add .disabled to items in the dropdown to style them as disabled.

    -
    <ul class="dropdown-menu">
    -  <li><a class="dropdown-item" href="#">Regular link</a></li>
    -  <li><a class="dropdown-item disabled">Disabled link</a></li>
    -  <li><a class="dropdown-item" href="#">Another link</a></li>
    -</ul>
    - -

    By default, a dropdown menu is automatically positioned 100% from the top and along the left side of its parent. You can change this with the directional .drop* classes, but you can also control them with additional modifier classes.

    -

    Add .dropdown-menu-end to a .dropdown-menu to right align the dropdown menu. Directions are mirrored when using Bootstrap in RTL, meaning .dropdown-menu-end will appear on the left side.

    -
    -Heads up! Dropdowns are positioned thanks to Popper except when they are contained in a navbar. -
    - -
    -
    - - -
    -
    <div class="btn-group">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -    Right-aligned menu example
    -  </button>
    -  <ul class="dropdown-menu dropdown-menu-end">
    -    <li><button class="dropdown-item" type="button">Action</button></li>
    -    <li><button class="dropdown-item" type="button">Another action</button></li>
    -    <li><button class="dropdown-item" type="button">Something else here</button></li>
    -  </ul>
    -</div>
    -

    Responsive alignment

    -

    If you want to use responsive alignment, disable dynamic positioning by adding the data-bs-display="static" attribute and use the responsive variation classes.

    -

    To align right the dropdown menu with the given breakpoint or larger, add .dropdown-menu{-sm|-md|-lg|-xl|-xxl}-end.

    -
    -
    - - -
    -
    <div class="btn-group">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
    -    Left-aligned but right aligned when large screen
    -  </button>
    -  <ul class="dropdown-menu dropdown-menu-lg-end">
    -    <li><button class="dropdown-item" type="button">Action</button></li>
    -    <li><button class="dropdown-item" type="button">Another action</button></li>
    -    <li><button class="dropdown-item" type="button">Something else here</button></li>
    -  </ul>
    -</div>
    -

    To align left the dropdown menu with the given breakpoint or larger, add .dropdown-menu-end and .dropdown-menu{-sm|-md|-lg|-xl|-xxl}-start.

    -
    -
    - - -
    -
    <div class="btn-group">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
    -    Right-aligned but left aligned when large screen
    -  </button>
    -  <ul class="dropdown-menu dropdown-menu-end dropdown-menu-lg-start">
    -    <li><button class="dropdown-item" type="button">Action</button></li>
    -    <li><button class="dropdown-item" type="button">Another action</button></li>
    -    <li><button class="dropdown-item" type="button">Something else here</button></li>
    -  </ul>
    -</div>
    -

    Note that you don’t need to add a data-bs-display="static" attribute to dropdown buttons in navbars, since Popper isn’t used in navbars.

    -

    Alignment options

    -

    Taking most of the options shown above, here’s a small kitchen sink demo of various dropdown alignment options in one place.

    -
    -
    - - -
    - -
    - - -
    - -
    - - -
    - -
    - - -
    - -
    - - -
    - -
    - - -
    - -
    - - -
    -
    <div class="btn-group">
    -  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropdown
    -  </button>
    -  <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -
    -<div class="btn-group">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -    Right-aligned menu
    -  </button>
    -  <ul class="dropdown-menu dropdown-menu-end">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -
    -<div class="btn-group">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
    -    Left-aligned, right-aligned lg
    -  </button>
    -  <ul class="dropdown-menu dropdown-menu-lg-end">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -
    -<div class="btn-group">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
    -    Right-aligned, left-aligned lg
    -  </button>
    -  <ul class="dropdown-menu dropdown-menu-end dropdown-menu-lg-start">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -
    -<div class="btn-group dropstart">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropstart
    -  </button>
    -  <ul class="dropdown-menu">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -
    -<div class="btn-group dropend">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropend
    -  </button>
    -  <ul class="dropdown-menu">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -
    -<div class="btn-group dropup">
    -  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropup
    -  </button>
    -  <ul class="dropdown-menu">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    - -

    Headers

    -

    Add a header to label sections of actions in any dropdown menu.

    -
    - -
    <ul class="dropdown-menu">
    -  <li><h6 class="dropdown-header">Dropdown header</h6></li>
    -  <li><a class="dropdown-item" href="#">Action</a></li>
    -  <li><a class="dropdown-item" href="#">Another action</a></li>
    -</ul>
    -

    Dividers

    -

    Separate groups of related menu items with a divider.

    -
    <ul class="dropdown-menu">
    -  <li><a class="dropdown-item" href="#">Action</a></li>
    -  <li><a class="dropdown-item" href="#">Another action</a></li>
    -  <li><a class="dropdown-item" href="#">Something else here</a></li>
    -  <li><hr class="dropdown-divider"></li>
    -  <li><a class="dropdown-item" href="#">Separated link</a></li>
    -</ul>
    -

    Text

    -

    Place any freeform text within a dropdown menu with text and use spacing utilities. Note that you’ll likely need additional sizing styles to constrain the menu width.

    -
    - -
    <div class="dropdown-menu p-4 text-muted" style="max-width: 200px;">
    -  <p>
    -    Some example text that's free-flowing within the dropdown menu.
    -  </p>
    -  <p class="mb-0">
    -    And this is more example text.
    -  </p>
    -</div>
    -

    Forms

    -

    Put a form within a dropdown menu, or make it into a dropdown menu, and use margin or padding utilities to give it the negative space you require.

    -
    - -
    <div class="dropdown-menu">
    -  <form class="px-4 py-3">
    -    <div class="mb-3">
    -      <label for="exampleDropdownFormEmail1" class="form-label">Email address</label>
    -      <input type="email" class="form-control" id="exampleDropdownFormEmail1" placeholder="email@example.com">
    -    </div>
    -    <div class="mb-3">
    -      <label for="exampleDropdownFormPassword1" class="form-label">Password</label>
    -      <input type="password" class="form-control" id="exampleDropdownFormPassword1" placeholder="Password">
    -    </div>
    -    <div class="mb-3">
    -      <div class="form-check">
    -        <input type="checkbox" class="form-check-input" id="dropdownCheck">
    -        <label class="form-check-label" for="dropdownCheck">
    -          Remember me
    -        </label>
    -      </div>
    -    </div>
    -    <button type="submit" class="btn btn-primary">Sign in</button>
    -  </form>
    -  <div class="dropdown-divider"></div>
    -  <a class="dropdown-item" href="#">New around here? Sign up</a>
    -  <a class="dropdown-item" href="#">Forgot password?</a>
    -</div>
    -
    - -
    <form class="dropdown-menu p-4">
    -  <div class="mb-3">
    -    <label for="exampleDropdownFormEmail2" class="form-label">Email address</label>
    -    <input type="email" class="form-control" id="exampleDropdownFormEmail2" placeholder="email@example.com">
    -  </div>
    -  <div class="mb-3">
    -    <label for="exampleDropdownFormPassword2" class="form-label">Password</label>
    -    <input type="password" class="form-control" id="exampleDropdownFormPassword2" placeholder="Password">
    -  </div>
    -  <div class="mb-3">
    -    <div class="form-check">
    -      <input type="checkbox" class="form-check-input" id="dropdownCheck2">
    -      <label class="form-check-label" for="dropdownCheck2">
    -        Remember me
    -      </label>
    -    </div>
    -  </div>
    -  <button type="submit" class="btn btn-primary">Sign in</button>
    -</form>
    - -

    Use data-bs-offset or data-bs-reference to change the location of the dropdown.

    -
    -
    - -
    - - - -
    -
    -
    <div class="d-flex">
    -  <div class="dropdown me-1">
    -    <button type="button" class="btn btn-secondary dropdown-toggle" id="dropdownMenuOffset" data-bs-toggle="dropdown" aria-expanded="false" data-bs-offset="10,20">
    -      Offset
    -    </button>
    -    <ul class="dropdown-menu" aria-labelledby="dropdownMenuOffset">
    -      <li><a class="dropdown-item" href="#">Action</a></li>
    -      <li><a class="dropdown-item" href="#">Another action</a></li>
    -      <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    </ul>
    -  </div>
    -  <div class="btn-group">
    -    <button type="button" class="btn btn-secondary">Reference</button>
    -    <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" id="dropdownMenuReference" data-bs-toggle="dropdown" aria-expanded="false" data-bs-reference="parent">
    -      <span class="visually-hidden">Toggle Dropdown</span>
    -    </button>
    -    <ul class="dropdown-menu" aria-labelledby="dropdownMenuReference">
    -      <li><a class="dropdown-item" href="#">Action</a></li>
    -      <li><a class="dropdown-item" href="#">Another action</a></li>
    -      <li><a class="dropdown-item" href="#">Something else here</a></li>
    -      <li><hr class="dropdown-divider"></li>
    -      <li><a class="dropdown-item" href="#">Separated link</a></li>
    -    </ul>
    -  </div>
    -</div>
    -

    Auto close behavior

    -

    By default, the dropdown menu is closed when clicking inside or outside the dropdown menu. You can use the autoClose option to change this behavior of the dropdown.

    -
    -
    - - -
    - -
    - - -
    - -
    - - -
    - -
    - - -
    -
    <div class="btn-group">
    -  <button class="btn btn-secondary dropdown-toggle" type="button" id="defaultDropdown" data-bs-toggle="dropdown" data-bs-auto-close="true" aria-expanded="false">
    -    Default dropdown
    -  </button>
    -  <ul class="dropdown-menu" aria-labelledby="defaultDropdown">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -
    -<div class="btn-group">
    -  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuClickableOutside" data-bs-toggle="dropdown" data-bs-auto-close="inside" aria-expanded="false">
    -    Clickable outside
    -  </button>
    -  <ul class="dropdown-menu" aria-labelledby="dropdownMenuClickableOutside">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -
    -<div class="btn-group">
    -  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuClickableInside" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
    -    Clickable inside
    -  </button>
    -  <ul class="dropdown-menu" aria-labelledby="dropdownMenuClickableInside">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -
    -<div class="btn-group">
    -  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuClickable" data-bs-toggle="dropdown" data-bs-auto-close="false" aria-expanded="false">
    -    Manual close
    -  </button>
    -  <ul class="dropdown-menu" aria-labelledby="dropdownMenuClickable">
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -    <li><a class="dropdown-item" href="#">Menu item</a></li>
    -  </ul>
    -</div>
    -

    Sass

    -

    Variables

    -

    Variables for all dropdowns:

    -
    $dropdown-min-width:                10rem;
    -$dropdown-padding-x:                0;
    -$dropdown-padding-y:                .5rem;
    -$dropdown-spacer:                   .125rem;
    -$dropdown-font-size:                $font-size-base;
    -$dropdown-color:                    $body-color;
    -$dropdown-bg:                       $white;
    -$dropdown-border-color:             rgba($black, .15);
    -$dropdown-border-radius:            $border-radius;
    -$dropdown-border-width:             $border-width;
    -$dropdown-inner-border-radius:      subtract($dropdown-border-radius, $dropdown-border-width);
    -$dropdown-divider-bg:               $dropdown-border-color;
    -$dropdown-divider-margin-y:         $spacer * .5;
    -$dropdown-box-shadow:               $box-shadow;
    -
    -$dropdown-link-color:               $gray-900;
    -$dropdown-link-hover-color:         shade-color($dropdown-link-color, 10%);
    -$dropdown-link-hover-bg:            $gray-200;
    -
    -$dropdown-link-active-color:        $component-active-color;
    -$dropdown-link-active-bg:           $component-active-bg;
    -
    -$dropdown-link-disabled-color:      $gray-500;
    -
    -$dropdown-item-padding-y:           $spacer * .25;
    -$dropdown-item-padding-x:           $spacer;
    -
    -$dropdown-header-color:             $gray-600;
    -$dropdown-header-padding:           $dropdown-padding-y $dropdown-item-padding-x;
    -
    -

    Variables for the dark dropdown:

    -
    $dropdown-dark-color:               $gray-300;
    -$dropdown-dark-bg:                  $gray-800;
    -$dropdown-dark-border-color:        $dropdown-border-color;
    -$dropdown-dark-divider-bg:          $dropdown-divider-bg;
    -$dropdown-dark-box-shadow:          null;
    -$dropdown-dark-link-color:          $dropdown-dark-color;
    -$dropdown-dark-link-hover-color:    $white;
    -$dropdown-dark-link-hover-bg:       rgba($white, .15);
    -$dropdown-dark-link-active-color:   $dropdown-link-active-color;
    -$dropdown-dark-link-active-bg:      $dropdown-link-active-bg;
    -$dropdown-dark-link-disabled-color: $gray-500;
    -$dropdown-dark-header-color:        $gray-500;
    -
    -

    Variables for the CSS-based carets that indicate a dropdown’s interactivity:

    -
    $caret-width:                 .3em;
    -$caret-vertical-align:        $caret-width * .85;
    -$caret-spacing:               $caret-width * .85;
    -
    -

    Mixins

    -

    Mixins are used to generate the CSS-based carets and can be found in scss/mixins/_caret.scss.

    -
    @mixin caret-down {
    -  border-top: $caret-width solid;
    -  border-right: $caret-width solid transparent;
    -  border-bottom: 0;
    -  border-left: $caret-width solid transparent;
    -}
    -
    -@mixin caret-up {
    -  border-top: 0;
    -  border-right: $caret-width solid transparent;
    -  border-bottom: $caret-width solid;
    -  border-left: $caret-width solid transparent;
    -}
    -
    -@mixin caret-end {
    -  border-top: $caret-width solid transparent;
    -  border-right: 0;
    -  border-bottom: $caret-width solid transparent;
    -  border-left: $caret-width solid;
    -}
    -
    -@mixin caret-start {
    -  border-top: $caret-width solid transparent;
    -  border-right: $caret-width solid;
    -  border-bottom: $caret-width solid transparent;
    -}
    -
    -@mixin caret($direction: down) {
    -  @if $enable-caret {
    -    &::after {
    -      display: inline-block;
    -      margin-left: $caret-spacing;
    -      vertical-align: $caret-vertical-align;
    -      content: "";
    -      @if $direction == down {
    -        @include caret-down();
    -      } @else if $direction == up {
    -        @include caret-up();
    -      } @else if $direction == end {
    -        @include caret-end();
    -      }
    -    }
    -
    -    @if $direction == start {
    -      &::after {
    -        display: none;
    -      }
    -
    -      &::before {
    -        display: inline-block;
    -        margin-right: $caret-spacing;
    -        vertical-align: $caret-vertical-align;
    -        content: "";
    -        @include caret-start();
    -      }
    -    }
    -
    -    &:empty::after {
    -      margin-left: 0;
    -    }
    -  }
    -}
    -
    -

    Usage

    -

    Via data attributes or JavaScript, the dropdown plugin toggles hidden content (dropdown menus) by toggling the .show class on the parent .dropdown-menu. The data-bs-toggle="dropdown" attribute is relied on for closing dropdown menus at an application level, so it’s a good idea to always use it.

    -
    -On touch-enabled devices, opening a dropdown adds empty mouseover handlers to the immediate children of the <body> element. This admittedly ugly hack is necessary to work around a quirk in iOS' event delegation, which would otherwise prevent a tap anywhere outside of the dropdown from triggering the code that closes the dropdown. Once the dropdown is closed, these additional empty mouseover handlers are removed. -
    - -

    Via data attributes

    -

    Add data-bs-toggle="dropdown" to a link or button to toggle a dropdown.

    -
    <div class="dropdown">
    -  <button id="dLabel" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    -    Dropdown trigger
    -  </button>
    -  <ul class="dropdown-menu" aria-labelledby="dLabel">
    -    ...
    -  </ul>
    -</div>
    -

    Via JavaScript

    -

    Call the dropdowns via JavaScript:

    -
    var dropdownElementList = [].slice.call(document.querySelectorAll('.dropdown-toggle'))
    -var dropdownList = dropdownElementList.map(function (dropdownToggleEl) {
    -  return new bootstrap.Dropdown(dropdownToggleEl)
    -})
    -
    -
    data-bs-toggle="dropdown" still required
    -

    Regardless of whether you call your dropdown via JavaScript or instead use the data-api, data-bs-toggle="dropdown" is always required to be present on the dropdown’s trigger element. -

    - -

    Options

    -

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-offset="". Make sure to change the case type of the option name from camelCase to kebab-case when passing the options via data attributes. For example, instead of using data-bs-autoClose="false", use data-bs-auto-close="false".

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDefaultDescription
    boundarystring | element'clippingParents'Overflow constraint boundary of the dropdown menu (applies only to Popper's preventOverflow modifier). By default it's 'clippingParents' and can accept an HTMLElement reference (via JavaScript only). For more information refer to Popper's detectOverflow docs.
    referencestring | element | object'toggle'Reference element of the dropdown menu. Accepts the values of 'toggle', 'parent', an HTMLElement reference or an object providing getBoundingClientRect. For more information refer to Popper's constructor docs and virtual element docs.
    displaystring'dynamic'By default, we use Popper for dynamic positioning. Disable this with static.
    offsetarray | string | function[0, 2] -

    Offset of the dropdown relative to its target. You can pass a string in data attributes with comma separated values like: data-bs-offset="10,20"

    -

    When a function is used to determine the offset, it is called with an object containing the popper placement, the reference, and popper rects as its first argument. The triggering element DOM node is passed as the second argument. The function must return an array with two numbers: [skidding, distance].

    -

    For more information refer to Popper's offset docs.

    -
    autoCloseboolean | stringtrue -

    Configure the auto close behavior of the dropdown:

    -
      -
    • true - the dropdown will be closed by clicking outside or inside the dropdown menu.
    • -
    • false - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)
    • -
    • 'inside' - the dropdown will be closed (only) by clicking inside the dropdown menu.
    • -
    • 'outside' - the dropdown will be closed (only) by clicking outside the dropdown menu.
    • -
    -
    popperConfignull | object | functionnull -

    To change Bootstrap's default Popper config, see Popper's configuration.

    -

    When a function is used to create the Popper configuration, it's called with an object that contains the Bootstrap's default Popper configuration. It helps you use and merge the default with your own configuration. The function must return a configuration object for Popper.

    -
    -

    Using function with popperConfig

    -
    var dropdown = new bootstrap.Dropdown(element, {
    -  popperConfig: function (defaultBsPopperConfig) {
    -    // var newPopperConfig = {...}
    -    // use defaultBsPopperConfig if needed...
    -    // return newPopperConfig
    -  }
    -})
    -

    Methods

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    MethodDescription
    toggle - Toggles the dropdown menu of a given navbar or tabbed navigation. -
    show - Shows the dropdown menu of a given navbar or tabbed navigation. -
    hide - Hides the dropdown menu of a given navbar or tabbed navigation. -
    update - Updates the position of an element's dropdown. -
    dispose - Destroys an element's dropdown. (Removes stored data on the DOM element) -
    - getInstance - - Static method which allows you to get the dropdown instance associated to a DOM element, you can use it like this: bootstrap.Dropdown.getInstance(element) -
    - getOrCreateInstance - - Static method which returns a dropdown instance associated to a DOM element or create a new one in case it wasn't initialized. - You can use it like this: bootstrap.Dropdown.getOrCreateInstance(element) -
    -

    Events

    -

    All dropdown events are fired at the toggling element and then bubbled up. So you can also add event listeners on the .dropdown-menu’s parent element. hide.bs.dropdown and hidden.bs.dropdown events have a clickEvent property (only when the original Event type is click) that contains an Event Object for the click event.

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    MethodDescription
    - show.bs.dropdown - - Fires immediately when the show instance method is called. -
    - shown.bs.dropdown - - Fired when the dropdown has been made visible to the user and CSS transitions have completed. -
    - hide.bs.dropdown - - Fires immediately when the hide instance method has been called. -
    - hidden.bs.dropdown - - Fired when the dropdown has finished being hidden from the user and CSS transitions have completed. -
    -
    var myDropdown = document.getElementById('myDropdown')
    -myDropdown.addEventListener('show.bs.dropdown', function () {
    -  // do something...
    -})
    -
    -
    -
    -
    +

    And putting it to use in a navbar:

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
    +  <div class="container-fluid">
    +    <a class="navbar-brand" href="#">Navbar</a>
    +    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDarkDropdown" aria-controls="navbarNavDarkDropdown" aria-expanded="false" aria-label="Toggle navigation">
    +      <span class="navbar-toggler-icon"></span>
    +    </button>
    +    <div class="collapse navbar-collapse" id="navbarNavDarkDropdown">
    +      <ul class="navbar-nav">
    +        <li class="nav-item dropdown">
    +          <button class="btn btn-dark dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +            Dropdown
    +          </button>
    +          <ul class="dropdown-menu dropdown-menu-dark">
    +            <li><a class="dropdown-item" href="#">Action</a></li>
    +            <li><a class="dropdown-item" href="#">Another action</a></li>
    +            <li><a class="dropdown-item" href="#">Something else here</a></li>
    +          </ul>
    +        </li>
    +      </ul>
    +    </div>
    +  </div>
    +</nav>
    +
    +
    +

    + Directions + +

    +
    + Directions are flipped in RTL mode. As such, + .dropstart will appear on the right side. +
    -
    -
    -
    -
    - - Bootstrap - Bootstrap - - -
    -
    -
    Links
    - -
    - -
    -
    Projects
    - -
    - +

    + Centered + +

    +

    + Make the dropdown menu centered below the toggle with + .dropdown-center on the parent element. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="dropdown-center">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Centered dropdown
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Action two</a></li>
    +    <li><a class="dropdown-item" href="#">Action three</a></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + Dropup + +

    +

    + Trigger dropdown menus above elements by adding + .dropup to the parent element. +

    +
    +
    + + +
    +
    + + + +
    +
    +
    +
    <!-- Default dropup button -->
    +<div class="btn-group dropup">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropup
    +  </button>
    +  <ul class="dropdown-menu">
    +    <!-- Dropdown menu links -->
    +  </ul>
    +</div>
    +
    +<!-- Split dropup button -->
    +<div class="btn-group dropup">
    +  <button type="button" class="btn btn-secondary">
    +    Split dropup
    +  </button>
    +  <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    +    <span class="visually-hidden">Toggle Dropdown</span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    <!-- Dropdown menu links -->
    +  </ul>
    +</div>
    +
    +
    +

    + Dropup centered + +

    +

    + Make the dropup menu centered above the toggle with + .dropup-center on the parent element. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="dropup-center dropup">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Centered dropup
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Action two</a></li>
    +    <li><a class="dropdown-item" href="#">Action three</a></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + Dropend + +

    +

    + Trigger dropdown menus at the right of the elements by adding + .dropend to the parent element. +

    +
    +
    + + +
    +
    + + + +
    +
    +
    +
    <!-- Default dropend button -->
    +<div class="btn-group dropend">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropend
    +  </button>
    +  <ul class="dropdown-menu">
    +    <!-- Dropdown menu links -->
    +  </ul>
    +</div>
    +
    +<!-- Split dropend button -->
    +<div class="btn-group dropend">
    +  <button type="button" class="btn btn-secondary">
    +    Split dropend
    +  </button>
    +  <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    +    <span class="visually-hidden">Toggle Dropend</span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    <!-- Dropdown menu links -->
    +  </ul>
    +</div>
    +
    +
    +

    + Dropstart + +

    +

    + Trigger dropdown menus at the left of the elements by adding + .dropstart to the parent element. +

    +
    +
    + + +
    +
    + + + +
    +
    +
    +
    <!-- Default dropstart button -->
    +<div class="btn-group dropstart">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropstart
    +  </button>
    +  <ul class="dropdown-menu">
    +    <!-- Dropdown menu links -->
    +  </ul>
    +</div>
    +
    +<!-- Split dropstart button -->
    +<div class="btn-group dropstart">
    +  <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    +    <span class="visually-hidden">Toggle Dropstart</span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    <!-- Dropdown menu links -->
    +  </ul>
    +  <button type="button" class="btn btn-secondary">
    +    Split dropstart
    +  </button>
    +</div>
    +
    +
    + +

    + You can use <a> or + <button> elements as dropdown items. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="dropdown">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropdown
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><button class="dropdown-item" type="button">Action</button></li>
    +    <li><button class="dropdown-item" type="button">Another action</button></li>
    +    <li><button class="dropdown-item" type="button">Something else here</button></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + You can also create non-interactive dropdown items with + .dropdown-item-text. Feel free to style further with + custom CSS or text utilities. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="dropdown-menu">
    +  <li><span class="dropdown-item-text">Dropdown item text</span></li>
    +  <li><a class="dropdown-item" href="#">Action</a></li>
    +  <li><a class="dropdown-item" href="#">Another action</a></li>
    +  <li><a class="dropdown-item" href="#">Something else here</a></li>
    +</ul>
    +
    +
    + +

    + Active + +

    +

    + Add .active to items in the dropdown to + style them as active. To convey the active state to + assistive technologies, use the aria-current attribute + — using the page value for the current page, or + true for the current item in a set. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <ul class="dropdown-menu">
    +  <li><a class="dropdown-item" href="#">Regular link</a></li>
    +  <li><a class="dropdown-item active" href="#" aria-current="true">Active link</a></li>
    +  <li><a class="dropdown-item" href="#">Another link</a></li>
    +</ul>
    +
    +
    + +

    + Disabled + +

    +

    + Add .disabled to items in the dropdown to + style them as disabled. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <ul class="dropdown-menu">
    +  <li><a class="dropdown-item" href="#">Regular link</a></li>
    +  <li><a class="dropdown-item disabled">Disabled link</a></li>
    +  <li><a class="dropdown-item" href="#">Another link</a></li>
    +</ul>
    +
    +
    + + +

    + By default, a dropdown menu is automatically positioned 100% from + the top and along the left side of its parent. You can change this + with the directional .drop* classes, but you can also + control them with additional modifier classes. +

    +

    + Add .dropdown-menu-end to a + .dropdown-menu to right align the dropdown menu. + Directions are mirrored when using Bootstrap in RTL, meaning + .dropdown-menu-end will appear on the left side. +

    +
    + Heads up! Dropdowns are positioned thanks to Popper + except when they are contained in a navbar. +
    + +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +    Right-aligned menu example
    +  </button>
    +  <ul class="dropdown-menu dropdown-menu-end">
    +    <li><button class="dropdown-item" type="button">Action</button></li>
    +    <li><button class="dropdown-item" type="button">Another action</button></li>
    +    <li><button class="dropdown-item" type="button">Something else here</button></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + Responsive alignment + +

    +

    + If you want to use responsive alignment, disable dynamic positioning + by adding the + data-bs-display="static" attribute and use + the responsive variation classes. +

    +

    + To align right the dropdown menu with the given + breakpoint or larger, add + .dropdown-menu{-sm|-md|-lg|-xl|-xxl}-end. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
    +    Left-aligned but right aligned when large screen
    +  </button>
    +  <ul class="dropdown-menu dropdown-menu-lg-end">
    +    <li><button class="dropdown-item" type="button">Action</button></li>
    +    <li><button class="dropdown-item" type="button">Another action</button></li>
    +    <li><button class="dropdown-item" type="button">Something else here</button></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + To align left the dropdown menu with the given + breakpoint or larger, add .dropdown-menu-end and + .dropdown-menu{-sm|-md|-lg|-xl|-xxl}-start. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
    +    Right-aligned but left aligned when large screen
    +  </button>
    +  <ul class="dropdown-menu dropdown-menu-end dropdown-menu-lg-start">
    +    <li><button class="dropdown-item" type="button">Action</button></li>
    +    <li><button class="dropdown-item" type="button">Another action</button></li>
    +    <li><button class="dropdown-item" type="button">Something else here</button></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + Note that you don’t need to add a + data-bs-display="static" attribute to + dropdown buttons in navbars, since Popper isn’t used in + navbars. +

    +

    + Alignment options + +

    +

    + Taking most of the options shown above, here’s a small kitchen + sink demo of various dropdown alignment options in one place. +

    +
    +
    +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropdown
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +<div class="btn-group">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +    Right-aligned menu
    +  </button>
    +  <ul class="dropdown-menu dropdown-menu-end">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +<div class="btn-group">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
    +    Left-aligned, right-aligned lg
    +  </button>
    +  <ul class="dropdown-menu dropdown-menu-lg-end">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +<div class="btn-group">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
    +    Right-aligned, left-aligned lg
    +  </button>
    +  <ul class="dropdown-menu dropdown-menu-end dropdown-menu-lg-start">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +<div class="btn-group dropstart">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropstart
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +<div class="btn-group dropend">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropend
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +<div class="btn-group dropup">
    +  <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropup
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +
    + + +

    + Headers + +

    +

    Add a header to label sections of actions in any dropdown menu.

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="dropdown-menu">
    +  <li><h6 class="dropdown-header">Dropdown header</h6></li>
    +  <li><a class="dropdown-item" href="#">Action</a></li>
    +  <li><a class="dropdown-item" href="#">Another action</a></li>
    +</ul>
    +
    +
    + +

    + Dividers + +

    +

    Separate groups of related menu items with a divider.

    +
    + +
    + html +
    + + +
    +
    +
    +
    <ul class="dropdown-menu">
    +  <li><a class="dropdown-item" href="#">Action</a></li>
    +  <li><a class="dropdown-item" href="#">Another action</a></li>
    +  <li><a class="dropdown-item" href="#">Something else here</a></li>
    +  <li><hr class="dropdown-divider"></li>
    +  <li><a class="dropdown-item" href="#">Separated link</a></li>
    +</ul>
    +
    +
    + +

    + Text + +

    +

    + Place any freeform text within a dropdown menu with text and use + spacing utilities. + Note that you’ll likely need additional sizing styles to + constrain the menu width. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="dropdown-menu p-4 text-body-secondary" style="max-width: 200px;">
    +  <p>
    +    Some example text that's free-flowing within the dropdown menu.
    +  </p>
    +  <p class="mb-0">
    +    And this is more example text.
    +  </p>
    +</div>
    +
    +
    + +

    + Forms + +

    +

    + Put a form within a dropdown menu, or make it into a dropdown menu, + and use + margin or padding utilities + to give it the negative space you require. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="dropdown-menu">
    +  <form class="px-4 py-3">
    +    <div class="mb-3">
    +      <label for="exampleDropdownFormEmail1" class="form-label">Email address</label>
    +      <input type="email" class="form-control" id="exampleDropdownFormEmail1" placeholder="email@example.com">
    +    </div>
    +    <div class="mb-3">
    +      <label for="exampleDropdownFormPassword1" class="form-label">Password</label>
    +      <input type="password" class="form-control" id="exampleDropdownFormPassword1" placeholder="Password">
    +    </div>
    +    <div class="mb-3">
    +      <div class="form-check">
    +        <input type="checkbox" class="form-check-input" id="dropdownCheck">
    +        <label class="form-check-label" for="dropdownCheck">
    +          Remember me
    +        </label>
    +      </div>
    +    </div>
    +    <button type="submit" class="btn btn-primary">Sign in</button>
    +  </form>
    +  <div class="dropdown-divider"></div>
    +  <a class="dropdown-item" href="#">New around here? Sign up</a>
    +  <a class="dropdown-item" href="#">Forgot password?</a>
    +</div>
    +
    +
    + +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="dropdown">
    +  <button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside">
    +    Dropdown form
    +  </button>
    +  <form class="dropdown-menu p-4">
    +    <div class="mb-3">
    +      <label for="exampleDropdownFormEmail2" class="form-label">Email address</label>
    +      <input type="email" class="form-control" id="exampleDropdownFormEmail2" placeholder="email@example.com">
    +    </div>
    +    <div class="mb-3">
    +      <label for="exampleDropdownFormPassword2" class="form-label">Password</label>
    +      <input type="password" class="form-control" id="exampleDropdownFormPassword2" placeholder="Password">
    +    </div>
    +    <div class="mb-3">
    +      <div class="form-check">
    +        <input type="checkbox" class="form-check-input" id="dropdownCheck2">
    +        <label class="form-check-label" for="dropdownCheck2">
    +          Remember me
    +        </label>
    +      </div>
    +    </div>
    +    <button type="submit" class="btn btn-primary">Sign in</button>
    +  </form>
    +</div>
    +
    +
    + + +

    + Use data-bs-offset or data-bs-reference to + change the location of the dropdown. +

    +
    +
    +
    + +
    + + + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex">
    +  <div class="dropdown me-1">
    +    <button type="button" class="btn btn-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" data-bs-offset="10,20">
    +      Offset
    +    </button>
    +    <ul class="dropdown-menu">
    +      <li><a class="dropdown-item" href="#">Action</a></li>
    +      <li><a class="dropdown-item" href="#">Another action</a></li>
    +      <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    </ul>
    +  </div>
    +  <div class="btn-group">
    +    <button type="button" class="btn btn-secondary">Reference</button>
    +    <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false" data-bs-reference="parent">
    +      <span class="visually-hidden">Toggle Dropdown</span>
    +    </button>
    +    <ul class="dropdown-menu">
    +      <li><a class="dropdown-item" href="#">Action</a></li>
    +      <li><a class="dropdown-item" href="#">Another action</a></li>
    +      <li><a class="dropdown-item" href="#">Something else here</a></li>
    +      <li><hr class="dropdown-divider"></li>
    +      <li><a class="dropdown-item" href="#">Separated link</a></li>
    +    </ul>
    +  </div>
    +</div>
    +
    +
    + +

    + Auto close behavior + +

    +

    + By default, the dropdown menu is closed when clicking inside or + outside the dropdown menu. You can use the + autoClose option to change this behavior of the + dropdown. +

    +
    +
    +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="btn-group">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" data-bs-auto-close="true" aria-expanded="false">
    +    Default dropdown
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +<div class="btn-group">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" data-bs-auto-close="inside" aria-expanded="false">
    +    Clickable inside
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +<div class="btn-group">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
    +    Clickable outside
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +<div class="btn-group">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" data-bs-auto-close="false" aria-expanded="false">
    +    Manual close
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +    <li><a class="dropdown-item" href="#">Menu item</a></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, + dropdowns now use local CSS variables on + .dropdown-menu for enhanced real-time customization. + Values for the CSS variables are set via Sass, so Sass customization + is still supported, too. +

    +
    +
    + scss/_dropdown.scss +
    + +
    +
    +
    +
    --#{$prefix}dropdown-zindex: #{$zindex-dropdown};
    +--#{$prefix}dropdown-min-width: #{$dropdown-min-width};
    +--#{$prefix}dropdown-padding-x: #{$dropdown-padding-x};
    +--#{$prefix}dropdown-padding-y: #{$dropdown-padding-y};
    +--#{$prefix}dropdown-spacer: #{$dropdown-spacer};
    +@include rfs($dropdown-font-size, --#{$prefix}dropdown-font-size);
    +--#{$prefix}dropdown-color: #{$dropdown-color};
    +--#{$prefix}dropdown-bg: #{$dropdown-bg};
    +--#{$prefix}dropdown-border-color: #{$dropdown-border-color};
    +--#{$prefix}dropdown-border-radius: #{$dropdown-border-radius};
    +--#{$prefix}dropdown-border-width: #{$dropdown-border-width};
    +--#{$prefix}dropdown-inner-border-radius: #{$dropdown-inner-border-radius};
    +--#{$prefix}dropdown-divider-bg: #{$dropdown-divider-bg};
    +--#{$prefix}dropdown-divider-margin-y: #{$dropdown-divider-margin-y};
    +--#{$prefix}dropdown-box-shadow: #{$dropdown-box-shadow};
    +--#{$prefix}dropdown-link-color: #{$dropdown-link-color};
    +--#{$prefix}dropdown-link-hover-color: #{$dropdown-link-hover-color};
    +--#{$prefix}dropdown-link-hover-bg: #{$dropdown-link-hover-bg};
    +--#{$prefix}dropdown-link-active-color: #{$dropdown-link-active-color};
    +--#{$prefix}dropdown-link-active-bg: #{$dropdown-link-active-bg};
    +--#{$prefix}dropdown-link-disabled-color: #{$dropdown-link-disabled-color};
    +--#{$prefix}dropdown-item-padding-x: #{$dropdown-item-padding-x};
    +--#{$prefix}dropdown-item-padding-y: #{$dropdown-item-padding-y};
    +--#{$prefix}dropdown-header-color: #{$dropdown-header-color};
    +--#{$prefix}dropdown-header-padding-x: #{$dropdown-header-padding-x};
    +--#{$prefix}dropdown-header-padding-y: #{$dropdown-header-padding-y};
    +
    +
    +
    +

    + Dropdown items include at least one variable that is not set on + .dropdown. This allows you to provide a new value + while Bootstrap defaults to a fallback value. +

    +
      +
    • --bs-dropdown-item-border-radius
    • +
    +
    + +

    + Customization through CSS variables can be seen on the + .dropdown-menu-dark class where we override specific + values without adding duplicate CSS selectors. +

    +
    +
    + scss/_dropdown.scss +
    + +
    +
    +
    +
    --#{$prefix}dropdown-color: #{$dropdown-dark-color};
    +--#{$prefix}dropdown-bg: #{$dropdown-dark-bg};
    +--#{$prefix}dropdown-border-color: #{$dropdown-dark-border-color};
    +--#{$prefix}dropdown-box-shadow: #{$dropdown-dark-box-shadow};
    +--#{$prefix}dropdown-link-color: #{$dropdown-dark-link-color};
    +--#{$prefix}dropdown-link-hover-color: #{$dropdown-dark-link-hover-color};
    +--#{$prefix}dropdown-divider-bg: #{$dropdown-dark-divider-bg};
    +--#{$prefix}dropdown-link-hover-bg: #{$dropdown-dark-link-hover-bg};
    +--#{$prefix}dropdown-link-active-color: #{$dropdown-dark-link-active-color};
    +--#{$prefix}dropdown-link-active-bg: #{$dropdown-dark-link-active-bg};
    +--#{$prefix}dropdown-link-disabled-color: #{$dropdown-dark-link-disabled-color};
    +--#{$prefix}dropdown-header-color: #{$dropdown-dark-header-color};
    +
    +
    +

    + Sass variables + +

    +

    Variables for all dropdowns:

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $dropdown-min-width:                10rem;
    +$dropdown-padding-x:                0;
    +$dropdown-padding-y:                .5rem;
    +$dropdown-spacer:                   .125rem;
    +$dropdown-font-size:                $font-size-base;
    +$dropdown-color:                    var(--#{$prefix}body-color);
    +$dropdown-bg:                       var(--#{$prefix}body-bg);
    +$dropdown-border-color:             var(--#{$prefix}border-color-translucent);
    +$dropdown-border-radius:            var(--#{$prefix}border-radius);
    +$dropdown-border-width:             var(--#{$prefix}border-width);
    +$dropdown-inner-border-radius:      calc(#{$dropdown-border-radius} - #{$dropdown-border-width}); // stylelint-disable-line function-disallowed-list
    +$dropdown-divider-bg:               $dropdown-border-color;
    +$dropdown-divider-margin-y:         $spacer * .5;
    +$dropdown-box-shadow:               $box-shadow;
    +
    +$dropdown-link-color:               var(--#{$prefix}body-color);
    +$dropdown-link-hover-color:         $dropdown-link-color;
    +$dropdown-link-hover-bg:            var(--#{$prefix}tertiary-bg);
    +
    +$dropdown-link-active-color:        $component-active-color;
    +$dropdown-link-active-bg:           $component-active-bg;
    +
    +$dropdown-link-disabled-color:      var(--#{$prefix}tertiary-color);
    +
    +$dropdown-item-padding-y:           $spacer * .25;
    +$dropdown-item-padding-x:           $spacer;
    +
    +$dropdown-header-color:             $gray-600;
    +$dropdown-header-padding-x:         $dropdown-item-padding-x;
    +$dropdown-header-padding-y:         $dropdown-padding-y;
    +// fusv-disable
    +$dropdown-header-padding:           $dropdown-header-padding-y $dropdown-header-padding-x; // Deprecated in v5.2.0
    +// fusv-enable
    +
    +
    +
    +

    Variables for the dark dropdown:

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $dropdown-dark-color:               $gray-300;
    +$dropdown-dark-bg:                  $gray-800;
    +$dropdown-dark-border-color:        $dropdown-border-color;
    +$dropdown-dark-divider-bg:          $dropdown-divider-bg;
    +$dropdown-dark-box-shadow:          null;
    +$dropdown-dark-link-color:          $dropdown-dark-color;
    +$dropdown-dark-link-hover-color:    $white;
    +$dropdown-dark-link-hover-bg:       rgba($white, .15);
    +$dropdown-dark-link-active-color:   $dropdown-link-active-color;
    +$dropdown-dark-link-active-bg:      $dropdown-link-active-bg;
    +$dropdown-dark-link-disabled-color: $gray-500;
    +$dropdown-dark-header-color:        $gray-500;
    +
    +
    +
    +

    + Variables for the CSS-based carets that indicate a dropdown’s + interactivity: +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $caret-width:                 .3em;
    +$caret-vertical-align:        $caret-width * .85;
    +$caret-spacing:               $caret-width * .85;
    +
    +
    +
    +

    + Sass mixins + +

    +

    + Mixins are used to generate the CSS-based carets and can be found in + scss/mixins/_caret.scss. +

    +
    +
    + scss/mixins/_caret.scss +
    + +
    +
    +
    +
    @mixin caret-down($width: $caret-width) {
    +  border-top: $width solid;
    +  border-right: $width solid transparent;
    +  border-bottom: 0;
    +  border-left: $width solid transparent;
    +}
    +
    +@mixin caret-up($width: $caret-width) {
    +  border-top: 0;
    +  border-right: $width solid transparent;
    +  border-bottom: $width solid;
    +  border-left: $width solid transparent;
    +}
    +
    +@mixin caret-end($width: $caret-width) {
    +  border-top: $width solid transparent;
    +  border-right: 0;
    +  border-bottom: $width solid transparent;
    +  border-left: $width solid;
    +}
    +
    +@mixin caret-start($width: $caret-width) {
    +  border-top: $width solid transparent;
    +  border-right: $width solid;
    +  border-bottom: $width solid transparent;
    +}
    +
    +@mixin caret(
    +  $direction: down,
    +  $width: $caret-width,
    +  $spacing: $caret-spacing,
    +  $vertical-align: $caret-vertical-align
    +) {
    +  @if $enable-caret {
    +    &::after {
    +      display: inline-block;
    +      margin-left: $spacing;
    +      vertical-align: $vertical-align;
    +      content: "";
    +      @if $direction == down {
    +        @include caret-down($width);
    +      } @else if $direction == up {
    +        @include caret-up($width);
    +      } @else if $direction == end {
    +        @include caret-end($width);
    +      }
    +    }
    +
    +    @if $direction == start {
    +      &::after {
    +        display: none;
    +      }
    +
    +      &::before {
    +        display: inline-block;
    +        margin-right: $spacing;
    +        vertical-align: $vertical-align;
    +        content: "";
    +        @include caret-start($width);
    +      }
    +    }
    +
    +    &:empty::after {
    +      margin-left: 0;
    +    }
    +  }
    +}
    +
    +
    +
    +

    + Usage + +

    +

    + Via data attributes or JavaScript, the dropdown plugin toggles + hidden content (dropdown menus) by toggling the + .show class on the parent .dropdown-menu. + The data-bs-toggle="dropdown" attribute is + relied on for closing dropdown menus at an application level, so + it’s a good idea to always use it. +

    +
    + On touch-enabled devices, opening a dropdown adds empty + mouseover handlers to the immediate children of the + <body> element. This admittedly ugly hack is + necessary to work around a + quirk in iOS’ event delegation, which would otherwise prevent a tap anywhere outside of the + dropdown from triggering the code that closes the dropdown. Once the + dropdown is closed, these additional empty + mouseover handlers are removed. +
    + +

    + Via data attributes + +

    +

    + Add data-bs-toggle="dropdown" to a link or + button to toggle a dropdown. +

    +
    +
    <div class="dropdown">
    +  <button type="button" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dropdown trigger
    +  </button>
    +  <ul class="dropdown-menu">
    +    ...
    +  </ul>
    +</div>
    +
    +
    +

    + Via JavaScript + +

    +
    + Dropdowns must have + data-bs-toggle="dropdown" on their trigger + element, regardless of whether you call your dropdown via JavaScript + or use the data-api. +
    + +

    Call the dropdowns via JavaScript:

    +
    +
    const dropdownElementList = document.querySelectorAll('.dropdown-toggle')
    +const dropdownList = [...dropdownElementList].map(dropdownToggleEl => new bootstrap.Dropdown(dropdownToggleEl))
    +
    +
    +

    + Options + +

    +

    + As options can be passed via data attributes or JavaScript, you can + append an option name to data-bs-, as in + data-bs-animation="{value}". Make sure to + change the case type of the option name from + “camelCase” to + “kebab-case” when passing the options via data + attributes. For example, use + data-bs-custom-class="beautifier" instead of + data-bs-customClass="beautifier". +

    +

    + As of Bootstrap 5.2.0, all components support an + experimental reserved data attribute + data-bs-config that can house simple component + configuration as a JSON string. When an element has + data-bs-config='{"delay":0, + "title":123}' + and data-bs-title="456" attributes, the final + title value will be 456 and the separate + data attributes will override values given on + data-bs-config. In addition, existing data attributes + are able to house JSON values like + data-bs-delay='{"show":0,"hide":150}'. +

    +

    + The final configuration object is the merged result of + data-bs-config, data-bs-, and + js object where the latest given key-value overrides + the others. +

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDefaultDescription
    autoCloseboolean, stringtrue + Configure the auto close behavior of the dropdown: +
      +
    • + true - the dropdown will be closed by + clicking outside or inside the dropdown menu. +
    • +
    • + false - the dropdown will be closed by + clicking the toggle button and manually calling + hide or toggle method. (Also + will not be closed by pressing Esc key) +
    • +
    • + 'inside' - the dropdown will be closed + (only) by clicking inside the dropdown menu. +
    • +
    • + 'outside' - the dropdown will be closed + (only) by clicking outside the dropdown menu. +
    • +
    + Note: the dropdown can always be closed with the + Esc key. +
    boundarystring, element'clippingParents' + Overflow constraint boundary of the dropdown menu (applies + only to Popper’s preventOverflow modifier). By default + it’s clippingParents and can accept an + HTMLElement reference (via JavaScript only). For more + information refer to Popper’s + detectOverflow docs. +
    displaystring'dynamic' + By default, we use Popper for dynamic positioning. Disable + this with static. +
    offsetarray, string, function[0, 2] + Offset of the dropdown relative to its target. You can pass + a string in data attributes with comma separated values + like: data-bs-offset="10,20". When a + function is used to determine the offset, it is called with + an object containing the popper placement, the reference, + and popper rects as its first argument. The triggering + element DOM node is passed as the second argument. The + function must return an array with two numbers: + skidding, + distance. For more information refer to Popper’s + offset docs. +
    popperConfignull, object, functionnull + To change Bootstrap’s default Popper config, see + Popper’s configuration. When a function is used to create the Popper + configuration, it’s called with an object that + contains the Bootstrap’s default Popper configuration. + It helps you use and merge the default with your own + configuration. The function must return a configuration + object for Popper. +
    referencestring, element, object'toggle' + Reference element of the dropdown menu. Accepts the values + of 'toggle', 'parent', an + HTMLElement reference or an object providing + getBoundingClientRect. For more information + refer to Popper’s + constructor docs + and + virtual element docs. +
    +
    + +

    + Using function with popperConfig + +

    +
    +
    const dropdown = new bootstrap.Dropdown(element, {
    +  popperConfig(defaultBsPopperConfig) {
    +    // const newPopperConfig = {...}
    +    // use defaultBsPopperConfig if needed...
    +    // return newPopperConfig
    +  }
    +})
    +
    +
    +

    + Methods + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    dispose + Destroys an element’s dropdown. (Removes stored data + on the DOM element) +
    getInstance + Static method which allows you to get the dropdown instance + associated to a DOM element, you can use it like this: + bootstrap.Dropdown.getInstance(element). +
    getOrCreateInstance + Static method which returns a dropdown instance associated + to a DOM element or create a new one in case it wasn’t + initialized. You can use it like this: + bootstrap.Dropdown.getOrCreateInstance(element). +
    hide + Hides the dropdown menu of a given navbar or tabbed + navigation. +
    show + Shows the dropdown menu of a given navbar or tabbed + navigation. +
    toggle + Toggles the dropdown menu of a given navbar or tabbed + navigation. +
    updateUpdates the position of an element’s dropdown.
    +
    + +

    + Events + +

    +

    + All dropdown events are fired at the toggling element and then + bubbled up. So you can also add event listeners on the + .dropdown-menu’s parent element. + hide.bs.dropdown and + hidden.bs.dropdown events have a + clickEvent property (only when the original Event type + is click) that contains an Event Object for the click + event. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Event typeDescription
    hide.bs.dropdown + Fires immediately when the hide instance method + has been called. +
    hidden.bs.dropdown + Fired when the dropdown has finished being hidden from the + user and CSS transitions have completed. +
    show.bs.dropdown + Fires immediately when the show instance method + is called. +
    shown.bs.dropdown + Fired when the dropdown has been made visible to the user + and CSS transitions have completed. +
    +
    + +
    +
    const myDropdown = document.getElementById('myDropdown')
    +myDropdown.addEventListener('show.bs.dropdown', event => {
    +  // do something...
    +})
    +
    +
    +
    +
    - - - + + + + + - + - + + + + + diff --git a/components/list-group/index.html b/components/list-group/index.html index dd9f519..8cf363f 100644 --- a/components/list-group/index.html +++ b/components/list-group/index.html @@ -1,1201 +1,4009 @@ - - - - - - - - - - - - - - - -List group · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + List group · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    List group

    +
    +

    + List groups are a flexible and powerful component for displaying a + series of content. Modify and extend them to support just about any + content within. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    List group

    + -

    List groups are a flexible and powerful component for displaying a series of content. Modify and extend them to support just about any content within.

    - - -
    - -
    - On this page - +
    +

    + Basic example + +

    +

    + The most basic list group is an unordered list with list items and + the proper classes. Build upon it with the options that follow, or + with your own CSS as needed. +

    +
    +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    • A fourth item
    • +
    • And a fifth one
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group">
    +  <li class="list-group-item">An item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +  <li class="list-group-item">A fourth item</li>
    +  <li class="list-group-item">And a fifth one</li>
    +</ul>
    +
    +
    + +

    + Active items + +

    +

    + Add .active to a .list-group-item to + indicate the current active selection. +

    +
    +
    +
      +
    • + An active item +
    • +
    • A second item
    • +
    • A third item
    • +
    • A fourth item
    • +
    • And a fifth one
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group">
    +  <li class="list-group-item active" aria-current="true">An active item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +  <li class="list-group-item">A fourth item</li>
    +  <li class="list-group-item">And a fifth one</li>
    +</ul>
    +
    +
    + +

    + Disabled items + +

    +

    + Add .disabled to a .list-group-item to + make it appear disabled. Note that some elements with + .disabled will also require custom JavaScript to fully + disable their click events (e.g., links). +

    +
    +
    +
      +
    • + A disabled item +
    • +
    • A second item
    • +
    • A third item
    • +
    • A fourth item
    • +
    • And a fifth one
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group">
    +  <li class="list-group-item disabled" aria-disabled="true">A disabled item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +  <li class="list-group-item">A fourth item</li>
    +  <li class="list-group-item">And a fifth one</li>
    +</ul>
    +
    +
    + + +

    + Use <a>s or <button>s to + create actionable list group items with hover, disabled, + and active states by adding .list-group-item-action. We + separate these pseudo-classes to ensure list groups made of + non-interactive elements (like <li>s or + <div>s) don’t provide a click or tap + affordance. +

    +

    + Be sure to + not use the standard .btn classes here. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <div class="list-group">
    +  <a href="#" class="list-group-item list-group-item-action active" aria-current="true">
    +    The current link item
    +  </a>
    +  <a href="#" class="list-group-item list-group-item-action">A second link item</a>
    +  <a href="#" class="list-group-item list-group-item-action">A third link item</a>
    +  <a href="#" class="list-group-item list-group-item-action">A fourth link item</a>
    +  <a class="list-group-item list-group-item-action disabled">A disabled link item</a>
    +</div>
    +
    +
    + +

    + With <button>s, you can also make use of the + disabled attribute instead of the + .disabled class. Sadly, <a>s + don’t support the disabled attribute. +

    +
    +
    +
    + + + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="list-group">
    +  <button type="button" class="list-group-item list-group-item-action active" aria-current="true">
    +    The current button
    +  </button>
    +  <button type="button" class="list-group-item list-group-item-action">A second button item</button>
    +  <button type="button" class="list-group-item list-group-item-action">A third button item</button>
    +  <button type="button" class="list-group-item list-group-item-action">A fourth button item</button>
    +  <button type="button" class="list-group-item list-group-item-action" disabled>A disabled button item</button>
    +</div>
    +
    +
    + +

    + Flush + +

    +

    + Add .list-group-flush to remove some borders and + rounded corners to render list group items edge-to-edge in a parent + container (e.g., cards). +

    +
    +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    • A fourth item
    • +
    • And a fifth one
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group list-group-flush">
    +  <li class="list-group-item">An item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +  <li class="list-group-item">A fourth item</li>
    +  <li class="list-group-item">And a fifth one</li>
    +</ul>
    +
    +
    + +

    + Numbered + +

    +

    + Add the .list-group-numbered modifier class (and + optionally use an <ol> element) to opt into + numbered list group items. Numbers are generated via CSS (as opposed + to a <ol>s default browser styling) for better + placement inside list group items and to allow for better + customization. +

    +

    + Numbers are generated by counter-reset on the + <ol>, and then styled and placed with a + ::before pseudo-element on the + <li> with counter-increment and + content. +

    +
    +
    +
      +
    1. A list item
    2. +
    3. A list item
    4. +
    5. A list item
    6. +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ol class="list-group list-group-numbered">
    +  <li class="list-group-item">A list item</li>
    +  <li class="list-group-item">A list item</li>
    +  <li class="list-group-item">A list item</li>
    +</ol>
    +
    +
    + +

    These work great with custom content as well.

    +
    +
    +
      +
    1. +
      +
      Subheading
      + Content for list item +
      + 14 +
    2. +
    3. +
      +
      Subheading
      + Content for list item +
      + 14 +
    4. +
    5. +
      +
      Subheading
      + Content for list item +
      + 14 +
    6. +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ol class="list-group list-group-numbered">
    +  <li class="list-group-item d-flex justify-content-between align-items-start">
    +    <div class="ms-2 me-auto">
    +      <div class="fw-bold">Subheading</div>
    +      Content for list item
    +    </div>
    +    <span class="badge bg-primary rounded-pill">14</span>
    +  </li>
    +  <li class="list-group-item d-flex justify-content-between align-items-start">
    +    <div class="ms-2 me-auto">
    +      <div class="fw-bold">Subheading</div>
    +      Content for list item
    +    </div>
    +    <span class="badge bg-primary rounded-pill">14</span>
    +  </li>
    +  <li class="list-group-item d-flex justify-content-between align-items-start">
    +    <div class="ms-2 me-auto">
    +      <div class="fw-bold">Subheading</div>
    +      Content for list item
    +    </div>
    +    <span class="badge bg-primary rounded-pill">14</span>
    +  </li>
    +</ol>
    +
    +
    + +

    + Horizontal + +

    +

    + Add .list-group-horizontal to change the layout of list + group items from vertical to horizontal across all breakpoints. + Alternatively, choose a responsive variant + .list-group-horizontal-{sm|md|lg|xl|xxl} to make a list + group horizontal starting at that breakpoint’s + min-width. Currently + horizontal list groups cannot be combined with flush list + groups. +

    +

    + ProTip: Want equal-width list group items when + horizontal? Add .flex-fill to each list group item. +

    +
    +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    +
      +
    • An item
    • +
    • A second item
    • +
    • A third item
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group list-group-horizontal">
    +  <li class="list-group-item">An item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +</ul>
    +<ul class="list-group list-group-horizontal-sm">
    +  <li class="list-group-item">An item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +</ul>
    +<ul class="list-group list-group-horizontal-md">
    +  <li class="list-group-item">An item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +</ul>
    +<ul class="list-group list-group-horizontal-lg">
    +  <li class="list-group-item">An item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +</ul>
    +<ul class="list-group list-group-horizontal-xl">
    +  <li class="list-group-item">An item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +</ul>
    +<ul class="list-group list-group-horizontal-xxl">
    +  <li class="list-group-item">An item</li>
    +  <li class="list-group-item">A second item</li>
    +  <li class="list-group-item">A third item</li>
    +</ul>
    +
    +
    + +

    + Variants + +

    +
    + Heads up! As of v5.3.0, the + list-group-item-variant() Sass mixin is deprecated. + List group item variants now have their CSS variables overridden in + the Sass loop. +
    + +

    + Use contextual classes to style list items with a stateful + background and color. +

    +
    +
    +
      +
    • + A simple default list group item +
    • + +
    • + A simple primary list group item +
    • +
    • + A simple secondary list group item +
    • +
    • + A simple success list group item +
    • +
    • + A simple danger list group item +
    • +
    • + A simple warning list group item +
    • +
    • + A simple info list group item +
    • +
    • + A simple light list group item +
    • +
    • + A simple dark list group item +
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group">
    +  <li class="list-group-item">A simple default list group item</li>
    +
    +  <li class="list-group-item list-group-item-primary">A simple primary list group item</li>
    +  <li class="list-group-item list-group-item-secondary">A simple secondary list group item</li>
    +  <li class="list-group-item list-group-item-success">A simple success list group item</li>
    +  <li class="list-group-item list-group-item-danger">A simple danger list group item</li>
    +  <li class="list-group-item list-group-item-warning">A simple warning list group item</li>
    +  <li class="list-group-item list-group-item-info">A simple info list group item</li>
    +  <li class="list-group-item list-group-item-light">A simple light list group item</li>
    +  <li class="list-group-item list-group-item-dark">A simple dark list group item</li>
    +</ul>
    +
    +
    + + +

    + Contextual classes also work with + .list-group-item-action for <a> and + <button> elements. Note the addition of the hover + styles here not present in the previous example. Also supported is + the .active state; apply it to indicate an active + selection on a contextual list group item. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <div class="list-group">
    +  <a href="#" class="list-group-item list-group-item-action">A simple default list group item</a>
    +
    +  <a href="#" class="list-group-item list-group-item-action list-group-item-primary">A simple primary list group item</a>
    +  <a href="#" class="list-group-item list-group-item-action list-group-item-secondary">A simple secondary list group item</a>
    +  <a href="#" class="list-group-item list-group-item-action list-group-item-success">A simple success list group item</a>
    +  <a href="#" class="list-group-item list-group-item-action list-group-item-danger">A simple danger list group item</a>
    +  <a href="#" class="list-group-item list-group-item-action list-group-item-warning">A simple warning list group item</a>
    +  <a href="#" class="list-group-item list-group-item-action list-group-item-info">A simple info list group item</a>
    +  <a href="#" class="list-group-item list-group-item-action list-group-item-light">A simple light list group item</a>
    +  <a href="#" class="list-group-item list-group-item-action list-group-item-dark">A simple dark list group item</a>
    +</div>
    +
    +
    + +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + +

    + With badges + +

    +

    + Add badges to any list group item to show unread counts, activity, + and more with the help of some + utilities. +

    +
    +
    +
      +
    • + A list item + 14 +
    • +
    • + A second list item + 2 +
    • +
    • + A third list item + 1 +
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group">
    +  <li class="list-group-item d-flex justify-content-between align-items-center">
    +    A list item
    +    <span class="badge bg-primary rounded-pill">14</span>
    +  </li>
    +  <li class="list-group-item d-flex justify-content-between align-items-center">
    +    A second list item
    +    <span class="badge bg-primary rounded-pill">2</span>
    +  </li>
    +  <li class="list-group-item d-flex justify-content-between align-items-center">
    +    A third list item
    +    <span class="badge bg-primary rounded-pill">1</span>
    +  </li>
    +</ul>
    +
    +
    + +

    + Custom content + +

    +

    + Add nearly any HTML within, even for linked list groups like the one + below, with the help of + flexbox utilities. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <div class="list-group">
    +  <a href="#" class="list-group-item list-group-item-action active" aria-current="true">
    +    <div class="d-flex w-100 justify-content-between">
    +      <h5 class="mb-1">List group item heading</h5>
    +      <small>3 days ago</small>
    +    </div>
    +    <p class="mb-1">Some placeholder content in a paragraph.</p>
    +    <small>And some small print.</small>
    +  </a>
    +  <a href="#" class="list-group-item list-group-item-action">
    +    <div class="d-flex w-100 justify-content-between">
    +      <h5 class="mb-1">List group item heading</h5>
    +      <small class="text-body-secondary">3 days ago</small>
    +    </div>
    +    <p class="mb-1">Some placeholder content in a paragraph.</p>
    +    <small class="text-body-secondary">And some muted small print.</small>
    +  </a>
    +  <a href="#" class="list-group-item list-group-item-action">
    +    <div class="d-flex w-100 justify-content-between">
    +      <h5 class="mb-1">List group item heading</h5>
    +      <small class="text-body-secondary">3 days ago</small>
    +    </div>
    +    <p class="mb-1">Some placeholder content in a paragraph.</p>
    +    <small class="text-body-secondary">And some muted small print.</small>
    +  </a>
    +</div>
    +
    +
    + +

    + Checkboxes and radios + +

    +

    + Place Bootstrap’s checkboxes and radios within list group + items and customize as needed. You can use them without + <label>s, but please remember to include an + aria-label attribute and value for accessibility. +

    +
    +
    +
      +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group">
    +  <li class="list-group-item">
    +    <input class="form-check-input me-1" type="checkbox" value="" id="firstCheckbox">
    +    <label class="form-check-label" for="firstCheckbox">First checkbox</label>
    +  </li>
    +  <li class="list-group-item">
    +    <input class="form-check-input me-1" type="checkbox" value="" id="secondCheckbox">
    +    <label class="form-check-label" for="secondCheckbox">Second checkbox</label>
    +  </li>
    +  <li class="list-group-item">
    +    <input class="form-check-input me-1" type="checkbox" value="" id="thirdCheckbox">
    +    <label class="form-check-label" for="thirdCheckbox">Third checkbox</label>
    +  </li>
    +</ul>
    +
    +
    + +
    +
    +
      +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group">
    +  <li class="list-group-item">
    +    <input class="form-check-input me-1" type="radio" name="listGroupRadio" value="" id="firstRadio" checked>
    +    <label class="form-check-label" for="firstRadio">First radio</label>
    +  </li>
    +  <li class="list-group-item">
    +    <input class="form-check-input me-1" type="radio" name="listGroupRadio" value="" id="secondRadio">
    +    <label class="form-check-label" for="secondRadio">Second radio</label>
    +  </li>
    +  <li class="list-group-item">
    +    <input class="form-check-input me-1" type="radio" name="listGroupRadio" value="" id="thirdRadio">
    +    <label class="form-check-label" for="thirdRadio">Third radio</label>
    +  </li>
    +</ul>
    +
    +
    + +

    + You can use .stretched-link on + <label>s to make the whole list group item + clickable. +

    +
    +
    +
      +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="list-group">
    +  <li class="list-group-item">
    +    <input class="form-check-input me-1" type="checkbox" value="" id="firstCheckboxStretched">
    +    <label class="form-check-label stretched-link" for="firstCheckboxStretched">First checkbox</label>
    +  </li>
    +  <li class="list-group-item">
    +    <input class="form-check-input me-1" type="checkbox" value="" id="secondCheckboxStretched">
    +    <label class="form-check-label stretched-link" for="secondCheckboxStretched">Second checkbox</label>
    +  </li>
    +  <li class="list-group-item">
    +    <input class="form-check-input me-1" type="checkbox" value="" id="thirdCheckboxStretched">
    +    <label class="form-check-label stretched-link" for="thirdCheckboxStretched">Third checkbox</label>
    +  </li>
    +</ul>
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, list + groups now use local CSS variables on .list-group for + enhanced real-time customization. Values for the CSS variables are + set via Sass, so Sass customization is still supported, too. +

    +
    +
    + scss/_list-group.scss +
    + +
    +
    +
    +
    --#{$prefix}list-group-color: #{$list-group-color};
    +--#{$prefix}list-group-bg: #{$list-group-bg};
    +--#{$prefix}list-group-border-color: #{$list-group-border-color};
    +--#{$prefix}list-group-border-width: #{$list-group-border-width};
    +--#{$prefix}list-group-border-radius: #{$list-group-border-radius};
    +--#{$prefix}list-group-item-padding-x: #{$list-group-item-padding-x};
    +--#{$prefix}list-group-item-padding-y: #{$list-group-item-padding-y};
    +--#{$prefix}list-group-action-color: #{$list-group-action-color};
    +--#{$prefix}list-group-action-hover-color: #{$list-group-action-hover-color};
    +--#{$prefix}list-group-action-hover-bg: #{$list-group-hover-bg};
    +--#{$prefix}list-group-action-active-color: #{$list-group-action-active-color};
    +--#{$prefix}list-group-action-active-bg: #{$list-group-action-active-bg};
    +--#{$prefix}list-group-disabled-color: #{$list-group-disabled-color};
    +--#{$prefix}list-group-disabled-bg: #{$list-group-disabled-bg};
    +--#{$prefix}list-group-active-color: #{$list-group-active-color};
    +--#{$prefix}list-group-active-bg: #{$list-group-active-bg};
    +--#{$prefix}list-group-active-border-color: #{$list-group-active-border-color};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $list-group-color:                  var(--#{$prefix}body-color);
    +$list-group-bg:                     var(--#{$prefix}body-bg);
    +$list-group-border-color:           var(--#{$prefix}border-color);
    +$list-group-border-width:           var(--#{$prefix}border-width);
    +$list-group-border-radius:          var(--#{$prefix}border-radius);
    +
    +$list-group-item-padding-y:         $spacer * .5;
    +$list-group-item-padding-x:         $spacer;
    +// fusv-disable
    +$list-group-item-bg-scale:          -80%; // Deprecated in v5.3.0
    +$list-group-item-color-scale:       40%; // Deprecated in v5.3.0
    +// fusv-enable
    +
    +$list-group-hover-bg:               var(--#{$prefix}tertiary-bg);
    +$list-group-active-color:           $component-active-color;
    +$list-group-active-bg:              $component-active-bg;
    +$list-group-active-border-color:    $list-group-active-bg;
    +
    +$list-group-disabled-color:         var(--#{$prefix}secondary-color);
    +$list-group-disabled-bg:            $list-group-bg;
    +
    +$list-group-action-color:           var(--#{$prefix}secondary-color);
    +$list-group-action-hover-color:     var(--#{$prefix}emphasis-color);
    +
    +$list-group-action-active-color:    var(--#{$prefix}body-color);
    +$list-group-action-active-bg:       var(--#{$prefix}secondary-bg);
    +
    +
    +
    +

    + Sass mixins + +

    + Deprecated in v5.3.0 + +

    + Used in combination with $theme-colors to generate the + contextual variant classes for + .list-group-items. +

    +
    +
    + scss/mixins/_list-group.scss +
    + +
    +
    +
    +
    @mixin list-group-item-variant($state, $background, $color) {
    +  .list-group-item-#{$state} {
    +    color: $color;
    +    background-color: $background;
    +
    +    &.list-group-item-action {
    +      &:hover,
    +      &:focus {
    +        color: $color;
    +        background-color: shade-color($background, 10%);
    +      }
    +
    +      &.active {
    +        color: $white;
    +        background-color: $color;
    +        border-color: $color;
    +      }
    +    }
    +  }
    +}
    +
    +
    +
    +

    + Sass loop + +

    +

    + Loop that generates the modifier classes with an overriding of CSS + variables. +

    +
    +
    + scss/_list-group.scss +
    + +
    +
    +
    +
    // List group contextual variants
    +//
    +// Add modifier classes to change text and background color on individual items.
    +// Organizationally, this must come after the `:hover` states.
    +
    +@each $state in map-keys($theme-colors) {
    +  .list-group-item-#{$state} {
    +    --#{$prefix}list-group-color: var(--#{$prefix}#{$state}-text-emphasis);
    +    --#{$prefix}list-group-bg: var(--#{$prefix}#{$state}-bg-subtle);
    +    --#{$prefix}list-group-border-color: var(--#{$prefix}#{$state}-border-subtle);
    +    --#{$prefix}list-group-action-hover-color: var(--#{$prefix}emphasis-color);
    +    --#{$prefix}list-group-action-hover-bg: var(--#{$prefix}#{$state}-border-subtle);
    +    --#{$prefix}list-group-action-active-color: var(--#{$prefix}emphasis-color);
    +    --#{$prefix}list-group-action-active-bg: var(--#{$prefix}#{$state}-border-subtle);
    +    --#{$prefix}list-group-active-color: var(--#{$prefix}#{$state}-bg-subtle);
    +    --#{$prefix}list-group-active-bg: var(--#{$prefix}#{$state}-text-emphasis);
    +    --#{$prefix}list-group-active-border-color: var(--#{$prefix}#{$state}-text-emphasis);
    +  }
    +}
    +
    +
    +
    +

    + JavaScript behavior + +

    +

    + Use the tab JavaScript plugin—include it individually or through the + compiled bootstrap.js file—to extend our list group to + create tabbable panes of local content. +

    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    <div class="row">
    +  <div class="col-4">
    +    <div class="list-group" id="list-tab" role="tablist">
    +      <a class="list-group-item list-group-item-action active" id="list-home-list" data-bs-toggle="list" href="#list-home" role="tab" aria-controls="list-home">Home</a>
    +      <a class="list-group-item list-group-item-action" id="list-profile-list" data-bs-toggle="list" href="#list-profile" role="tab" aria-controls="list-profile">Profile</a>
    +      <a class="list-group-item list-group-item-action" id="list-messages-list" data-bs-toggle="list" href="#list-messages" role="tab" aria-controls="list-messages">Messages</a>
    +      <a class="list-group-item list-group-item-action" id="list-settings-list" data-bs-toggle="list" href="#list-settings" role="tab" aria-controls="list-settings">Settings</a>
    +    </div>
    +  </div>
    +  <div class="col-8">
    +    <div class="tab-content" id="nav-tabContent">
    +      <div class="tab-pane fade show active" id="list-home" role="tabpanel" aria-labelledby="list-home-list">...</div>
    +      <div class="tab-pane fade" id="list-profile" role="tabpanel" aria-labelledby="list-profile-list">...</div>
    +      <div class="tab-pane fade" id="list-messages" role="tabpanel" aria-labelledby="list-messages-list">...</div>
    +      <div class="tab-pane fade" id="list-settings" role="tabpanel" aria-labelledby="list-settings-list">...</div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    + Using data attributes + +

    +

    + You can activate a list group navigation without writing any + JavaScript by simply specifying + data-bs-toggle="list" or on an element. Use + these data attributes on .list-group-item. +

    +
    +
    <div role="tabpanel">
    +  <!-- List group -->
    +  <div class="list-group" id="myList" role="tablist">
    +    <a class="list-group-item list-group-item-action active" data-bs-toggle="list" href="#home" role="tab">Home</a>
    +    <a class="list-group-item list-group-item-action" data-bs-toggle="list" href="#profile" role="tab">Profile</a>
    +    <a class="list-group-item list-group-item-action" data-bs-toggle="list" href="#messages" role="tab">Messages</a>
    +    <a class="list-group-item list-group-item-action" data-bs-toggle="list" href="#settings" role="tab">Settings</a>
    +  </div>
    +
    +  <!-- Tab panes -->
    +  <div class="tab-content">
    +    <div class="tab-pane active" id="home" role="tabpanel">...</div>
    +    <div class="tab-pane" id="profile" role="tabpanel">...</div>
    +    <div class="tab-pane" id="messages" role="tabpanel">...</div>
    +    <div class="tab-pane" id="settings" role="tabpanel">...</div>
    +  </div>
    +</div>
    +
    +
    +

    + Via JavaScript + +

    +

    + Enable tabbable list item via JavaScript (each list item needs to be + activated individually): +

    +
    +
    const triggerTabList = document.querySelectorAll('#myTab a')
    +triggerTabList.forEach(triggerEl => {
    +  const tabTrigger = new bootstrap.Tab(triggerEl)
    +
    +  triggerEl.addEventListener('click', event => {
    +    event.preventDefault()
    +    tabTrigger.show()
    +  })
    +})
    +
    +
    +

    You can activate individual list item in several ways:

    +
    +
    const triggerEl = document.querySelector('#myTab a[href="#profile"]')
    +bootstrap.Tab.getInstance(triggerEl).show() // Select tab by name
    +
    +const triggerFirstTabEl = document.querySelector('#myTab li:first-child a')
    +bootstrap.Tab.getInstance(triggerFirstTabEl).show() // Select first tab
    +
    +
    +

    + Fade effect + +

    +

    + To make tabs panel fade in, add .fade to each + .tab-pane. The first tab pane must also have + .show to make the initial content visible. +

    +
    +
    <div class="tab-content">
    +  <div class="tab-pane fade show active" id="home" role="tabpanel">...</div>
    +  <div class="tab-pane fade" id="profile" role="tabpanel">...</div>
    +  <div class="tab-pane fade" id="messages" role="tabpanel">...</div>
    +  <div class="tab-pane fade" id="settings" role="tabpanel">...</div>
    +</div>
    +
    +
    +

    + Methods + +

    +
    + All API methods are asynchronous and start a transition. + They return to the caller as soon as the transition is started, but + before it ends. In addition, a method call on a transitioning + component will be ignored. + Learn more in our JavaScript docs. +
    + +

    Activates your content as a tab element.

    +

    + You can create a tab instance with the constructor, for example: +

    +
    +
    const bsTab = new bootstrap.Tab('#myTab')
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    disposeDestroys an element’s tab.
    getInstance + Static method which allows you to get the tab instance + associated with a DOM element, you can use it like this: + bootstrap.Tab.getInstance(element). +
    getOrCreateInstance + Static method which returns a tab instance associated to a + DOM element or create a new one in case it wasn’t + initialized. You can use it like this: + bootstrap.Tab.getOrCreateInstance(element). +
    show + Selects the given tab and shows its associated pane. Any + other tab that was previously selected becomes unselected + and its associated pane is hidden. + Returns to the caller before the tab pane has actually + been shown + (i.e. before the shown.bs.tab event occurs). +
    +
    + +

    + Events + +

    +

    When showing a new tab, the events fire in the following order:

    +
      +
    1. hide.bs.tab (on the current active tab)
    2. +
    3. show.bs.tab (on the to-be-shown tab)
    4. +
    5. + hidden.bs.tab (on the previous active tab, the same + one as for the hide.bs.tab event) +
    6. +
    7. + shown.bs.tab (on the newly-active just-shown tab, the + same one as for the show.bs.tab event) +
    8. +
    +

    + If no tab was already active, then the hide.bs.tab and + hidden.bs.tab events will not be fired. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Event typeDescription
    hide.bs.tab + This event fires when a new tab is to be shown (and thus the + previous active tab is to be hidden). Use + event.target and + event.relatedTarget to target the current + active tab and the new soon-to-be-active tab, respectively. +
    hidden.bs.tab + This event fires after a new tab is shown (and thus the + previous active tab is hidden). Use + event.target and + event.relatedTarget to target the previous + active tab and the new active tab, respectively. +
    show.bs.tab + This event fires on tab show, but before the new tab has + been shown. Use event.target and + event.relatedTarget to target the active tab + and the previous active tab (if available) respectively. +
    shown.bs.tab + This event fires on tab show after a tab has been shown. Use + event.target and + event.relatedTarget to target the active tab + and the previous active tab (if available) respectively. +
    +
    + +
    +
    const tabElms = document.querySelectorAll('a[data-bs-toggle="list"]')
    +tabElms.forEach(tabElm => {
    +  tabElm.addEventListener('shown.bs.tab', event => {
    +    event.target // newly activated tab
    +    event.relatedTarget // previous active tab
    +  })
    +})
    +
    +
    - - -
    - - -

    Basic example

    -

    The most basic list group is an unordered list with list items and the proper classes. Build upon it with the options that follow, or with your own CSS as needed.

    -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    • A fourth item
    • -
    • And a fifth one
    • -
    -
    <ul class="list-group">
    -  <li class="list-group-item">An item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -  <li class="list-group-item">A fourth item</li>
    -  <li class="list-group-item">And a fifth one</li>
    -</ul>
    -

    Active items

    -

    Add .active to a .list-group-item to indicate the current active selection.

    -
    -
      -
    • An active item
    • -
    • A second item
    • -
    • A third item
    • -
    • A fourth item
    • -
    • And a fifth one
    • -
    -
    <ul class="list-group">
    -  <li class="list-group-item active" aria-current="true">An active item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -  <li class="list-group-item">A fourth item</li>
    -  <li class="list-group-item">And a fifth one</li>
    -</ul>
    -

    Disabled items

    -

    Add .disabled to a .list-group-item to make it appear disabled. Note that some elements with .disabled will also require custom JavaScript to fully disable their click events (e.g., links).

    -
    -
      -
    • A disabled item
    • -
    • A second item
    • -
    • A third item
    • -
    • A fourth item
    • -
    • And a fifth one
    • -
    -
    <ul class="list-group">
    -  <li class="list-group-item disabled" aria-disabled="true">A disabled item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -  <li class="list-group-item">A fourth item</li>
    -  <li class="list-group-item">And a fifth one</li>
    -</ul>
    - -

    Use <a>s or <button>s to create actionable list group items with hover, disabled, and active states by adding .list-group-item-action. We separate these pseudo-classes to ensure list groups made of non-interactive elements (like <li>s or <div>s) don’t provide a click or tap affordance.

    -

    Be sure to not use the standard .btn classes here.

    -
    <div class="list-group">
    -  <a href="#" class="list-group-item list-group-item-action active" aria-current="true">
    -    The current link item
    -  </a>
    -  <a href="#" class="list-group-item list-group-item-action">A second link item</a>
    -  <a href="#" class="list-group-item list-group-item-action">A third link item</a>
    -  <a href="#" class="list-group-item list-group-item-action">A fourth link item</a>
    -  <a class="list-group-item list-group-item-action disabled">A disabled link item</a>
    -</div>
    -

    With <button>s, you can also make use of the disabled attribute instead of the .disabled class. Sadly, <a>s don’t support the disabled attribute.

    -
    -
    - - - - - -
    -
    <div class="list-group">
    -  <button type="button" class="list-group-item list-group-item-action active" aria-current="true">
    -    The current button
    -  </button>
    -  <button type="button" class="list-group-item list-group-item-action">A second item</button>
    -  <button type="button" class="list-group-item list-group-item-action">A third button item</button>
    -  <button type="button" class="list-group-item list-group-item-action">A fourth button item</button>
    -  <button type="button" class="list-group-item list-group-item-action" disabled>A disabled button item</button>
    -</div>
    -

    Flush

    -

    Add .list-group-flush to remove some borders and rounded corners to render list group items edge-to-edge in a parent container (e.g., cards).

    -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    • A fourth item
    • -
    • And a fifth one
    • -
    -
    <ul class="list-group list-group-flush">
    -  <li class="list-group-item">An item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -  <li class="list-group-item">A fourth item</li>
    -  <li class="list-group-item">And a fifth one</li>
    -</ul>
    -

    Numbered

    -

    Add the .list-group-numbered modifier class (and optionally use an <ol> element) to opt into numbered list group items. Numbers are generated via CSS (as opposed to a <ol>s default browser styling) for better placement inside list group items and to allow for better customization.

    -

    Numbers are generated by counter-reset on the <ol>, and then styled and placed with a ::before pseudo-element on the <li> with counter-increment and content.

    -
    -
      -
    1. A list item
    2. -
    3. A list item
    4. -
    5. A list item
    6. -
    -
    <ol class="list-group list-group-numbered">
    -  <li class="list-group-item">A list item</li>
    -  <li class="list-group-item">A list item</li>
    -  <li class="list-group-item">A list item</li>
    -</ol>
    -

    These work great with custom content as well.

    -
    -
      -
    1. -
      -
      Subheading
      - Content for list item -
      - 14 -
    2. -
    3. -
      -
      Subheading
      - Content for list item -
      - 14 -
    4. -
    5. -
      -
      Subheading
      - Content for list item -
      - 14 -
    6. -
    -
    <ol class="list-group list-group-numbered">
    -  <li class="list-group-item d-flex justify-content-between align-items-start">
    -    <div class="ms-2 me-auto">
    -      <div class="fw-bold">Subheading</div>
    -      Content for list item
    -    </div>
    -    <span class="badge bg-primary rounded-pill">14</span>
    -  </li>
    -  <li class="list-group-item d-flex justify-content-between align-items-start">
    -    <div class="ms-2 me-auto">
    -      <div class="fw-bold">Subheading</div>
    -      Content for list item
    -    </div>
    -    <span class="badge bg-primary rounded-pill">14</span>
    -  </li>
    -  <li class="list-group-item d-flex justify-content-between align-items-start">
    -    <div class="ms-2 me-auto">
    -      <div class="fw-bold">Subheading</div>
    -      Content for list item
    -    </div>
    -    <span class="badge bg-primary rounded-pill">14</span>
    -  </li>
    -</ol>
    -

    Horizontal

    -

    Add .list-group-horizontal to change the layout of list group items from vertical to horizontal across all breakpoints. Alternatively, choose a responsive variant .list-group-horizontal-{sm|md|lg|xl|xxl} to make a list group horizontal starting at that breakpoint’s min-width. Currently horizontal list groups cannot be combined with flush list groups.

    -

    ProTip: Want equal-width list group items when horizontal? Add .flex-fill to each list group item.

    -
    - -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    -
      -
    • An item
    • -
    • A second item
    • -
    • A third item
    • -
    -
    <ul class="list-group list-group-horizontal">
    -  <li class="list-group-item">An item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -</ul>
    -<ul class="list-group list-group-horizontal-sm">
    -  <li class="list-group-item">An item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -</ul>
    -<ul class="list-group list-group-horizontal-md">
    -  <li class="list-group-item">An item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -</ul>
    -<ul class="list-group list-group-horizontal-lg">
    -  <li class="list-group-item">An item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -</ul>
    -<ul class="list-group list-group-horizontal-xl">
    -  <li class="list-group-item">An item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -</ul>
    -<ul class="list-group list-group-horizontal-xxl">
    -  <li class="list-group-item">An item</li>
    -  <li class="list-group-item">A second item</li>
    -  <li class="list-group-item">A third item</li>
    -</ul>
    -

    Contextual classes

    -

    Use contextual classes to style list items with a stateful background and color.

    -
    -
      -
    • A simple default list group item
    • - -
    • A simple primary list group item
    • -
    • A simple secondary list group item
    • -
    • A simple success list group item
    • -
    • A simple danger list group item
    • -
    • A simple warning list group item
    • -
    • A simple info list group item
    • -
    • A simple light list group item
    • -
    • A simple dark list group item
    • -
    -
    <ul class="list-group">
    -  <li class="list-group-item">A simple default list group item</li>
    -
    -  <li class="list-group-item list-group-item-primary">A simple primary list group item</li>
    -  <li class="list-group-item list-group-item-secondary">A simple secondary list group item</li>
    -  <li class="list-group-item list-group-item-success">A simple success list group item</li>
    -  <li class="list-group-item list-group-item-danger">A simple danger list group item</li>
    -  <li class="list-group-item list-group-item-warning">A simple warning list group item</li>
    -  <li class="list-group-item list-group-item-info">A simple info list group item</li>
    -  <li class="list-group-item list-group-item-light">A simple light list group item</li>
    -  <li class="list-group-item list-group-item-dark">A simple dark list group item</li>
    -</ul>
    -

    Contextual classes also work with .list-group-item-action. Note the addition of the hover styles here not present in the previous example. Also supported is the .active state; apply it to indicate an active selection on a contextual list group item.

    -
    <div class="list-group">
    -  <a href="#" class="list-group-item list-group-item-action">A simple default list group item</a>
    -
    -  <a href="#" class="list-group-item list-group-item-action list-group-item-primary">A simple primary list group item</a>
    -  <a href="#" class="list-group-item list-group-item-action list-group-item-secondary">A simple secondary list group item</a>
    -  <a href="#" class="list-group-item list-group-item-action list-group-item-success">A simple success list group item</a>
    -  <a href="#" class="list-group-item list-group-item-action list-group-item-danger">A simple danger list group item</a>
    -  <a href="#" class="list-group-item list-group-item-action list-group-item-warning">A simple warning list group item</a>
    -  <a href="#" class="list-group-item list-group-item-action list-group-item-info">A simple info list group item</a>
    -  <a href="#" class="list-group-item list-group-item-action list-group-item-light">A simple light list group item</a>
    -  <a href="#" class="list-group-item list-group-item-action list-group-item-dark">A simple dark list group item</a>
    -</div>
    -
    -
    Conveying meaning to assistive technologies
    -

    Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .visually-hidden class. -

    - -

    With badges

    -

    Add badges to any list group item to show unread counts, activity, and more with the help of some utilities.

    -
    -
      -
    • - A list item - 14 -
    • -
    • - A second list item - 2 -
    • -
    • - A third list item - 1 -
    • -
    -
    <ul class="list-group">
    -  <li class="list-group-item d-flex justify-content-between align-items-center">
    -    A list item
    -    <span class="badge bg-primary rounded-pill">14</span>
    -  </li>
    -  <li class="list-group-item d-flex justify-content-between align-items-center">
    -    A second list item
    -    <span class="badge bg-primary rounded-pill">2</span>
    -  </li>
    -  <li class="list-group-item d-flex justify-content-between align-items-center">
    -    A third list item
    -    <span class="badge bg-primary rounded-pill">1</span>
    -  </li>
    -</ul>
    -

    Custom content

    -

    Add nearly any HTML within, even for linked list groups like the one below, with the help of flexbox utilities.

    -
    <div class="list-group">
    -  <a href="#" class="list-group-item list-group-item-action active" aria-current="true">
    -    <div class="d-flex w-100 justify-content-between">
    -      <h5 class="mb-1">List group item heading</h5>
    -      <small>3 days ago</small>
    -    </div>
    -    <p class="mb-1">Some placeholder content in a paragraph.</p>
    -    <small>And some small print.</small>
    -  </a>
    -  <a href="#" class="list-group-item list-group-item-action">
    -    <div class="d-flex w-100 justify-content-between">
    -      <h5 class="mb-1">List group item heading</h5>
    -      <small class="text-muted">3 days ago</small>
    -    </div>
    -    <p class="mb-1">Some placeholder content in a paragraph.</p>
    -    <small class="text-muted">And some muted small print.</small>
    -  </a>
    -  <a href="#" class="list-group-item list-group-item-action">
    -    <div class="d-flex w-100 justify-content-between">
    -      <h5 class="mb-1">List group item heading</h5>
    -      <small class="text-muted">3 days ago</small>
    -    </div>
    -    <p class="mb-1">Some placeholder content in a paragraph.</p>
    -    <small class="text-muted">And some muted small print.</small>
    -  </a>
    -</div>
    -

    Checkboxes and radios

    -

    Place Bootstrap’s checkboxes and radios within list group items and customize as needed. You can use them without <label>s, but please remember to include an aria-label attribute and value for accessibility.

    -
    -
      -
    • - - First checkbox -
    • -
    • - - Second checkbox -
    • -
    • - - Third checkbox -
    • -
    • - - Fourth checkbox -
    • -
    • - - Fifth checkbox -
    • -
    -
    <ul class="list-group">
    -  <li class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="" aria-label="...">
    -    First checkbox
    -  </li>
    -  <li class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="" aria-label="...">
    -    Second checkbox
    -  </li>
    -  <li class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="" aria-label="...">
    -    Third checkbox
    -  </li>
    -  <li class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="" aria-label="...">
    -    Fourth checkbox
    -  </li>
    -  <li class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="" aria-label="...">
    -    Fifth checkbox
    -  </li>
    -</ul>
    -

    And if you want <label>s as the .list-group-item for large hit areas, you can do that, too.

    -
    -
    - - - - - -
    -
    <div class="list-group">
    -  <label class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="">
    -    First checkbox
    -  </label>
    -  <label class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="">
    -    Second checkbox
    -  </label>
    -  <label class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="">
    -    Third checkbox
    -  </label>
    -  <label class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="">
    -    Fourth checkbox
    -  </label>
    -  <label class="list-group-item">
    -    <input class="form-check-input me-1" type="checkbox" value="">
    -    Fifth checkbox
    -  </label>
    -</div>
    -

    Sass

    -

    Variables

    -
    $list-group-color:                  $gray-900;
    -$list-group-bg:                     $white;
    -$list-group-border-color:           rgba($black, .125);
    -$list-group-border-width:           $border-width;
    -$list-group-border-radius:          $border-radius;
    -
    -$list-group-item-padding-y:         $spacer * .5;
    -$list-group-item-padding-x:         $spacer;
    -$list-group-item-bg-scale:          -80%;
    -$list-group-item-color-scale:       40%;
    -
    -$list-group-hover-bg:               $gray-100;
    -$list-group-active-color:           $component-active-color;
    -$list-group-active-bg:              $component-active-bg;
    -$list-group-active-border-color:    $list-group-active-bg;
    -
    -$list-group-disabled-color:         $gray-600;
    -$list-group-disabled-bg:            $list-group-bg;
    -
    -$list-group-action-color:           $gray-700;
    -$list-group-action-hover-color:     $list-group-action-color;
    -
    -$list-group-action-active-color:    $body-color;
    -$list-group-action-active-bg:       $gray-200;
    -
    -

    Mixins

    -

    Used in combination with $theme-colors to generate the contextual variant classes for .list-group-items.

    -
    @mixin list-group-item-variant($state, $background, $color) {
    -  .list-group-item-#{$state} {
    -    color: $color;
    -    background-color: $background;
    -
    -    &.list-group-item-action {
    -      &:hover,
    -      &:focus {
    -        color: $color;
    -        background-color: shade-color($background, 10%);
    -      }
    -
    -      &.active {
    -        color: $white;
    -        background-color: $color;
    -        border-color: $color;
    -      }
    -    }
    -  }
    -}
    -
    -

    Loop

    -

    Loop that generates the modifier classes with the list-group-item-variant() mixin.

    -
    // List group contextual variants
    -//
    -// Add modifier classes to change text and background color on individual items.
    -// Organizationally, this must come after the `:hover` states.
    -
    -@each $state, $value in $theme-colors {
    -  $list-group-variant-bg: shift-color($value, $list-group-item-bg-scale);
    -  $list-group-variant-color: shift-color($value, $list-group-item-color-scale);
    -  @if (contrast-ratio($list-group-variant-bg, $list-group-variant-color) < $min-contrast-ratio) {
    -    $list-group-variant-color: mix($value, color-contrast($list-group-variant-bg), abs($list-group-item-color-scale));
    -  }
    -
    -  @include list-group-item-variant($state, $list-group-variant-bg, $list-group-variant-color);
    -}
    -
    -

    JavaScript behavior

    -

    Use the tab JavaScript plugin—include it individually or through the compiled bootstrap.js file—to extend our list group to create tabbable panes of local content.

    -
    -
    -
    - +
    -
    - -
    -
    <div class="row">
    -  <div class="col-4">
    -    <div class="list-group" id="list-tab" role="tablist">
    -      <a class="list-group-item list-group-item-action active" id="list-home-list" data-bs-toggle="list" href="#list-home" role="tab" aria-controls="list-home">Home</a>
    -      <a class="list-group-item list-group-item-action" id="list-profile-list" data-bs-toggle="list" href="#list-profile" role="tab" aria-controls="list-profile">Profile</a>
    -      <a class="list-group-item list-group-item-action" id="list-messages-list" data-bs-toggle="list" href="#list-messages" role="tab" aria-controls="list-messages">Messages</a>
    -      <a class="list-group-item list-group-item-action" id="list-settings-list" data-bs-toggle="list" href="#list-settings" role="tab" aria-controls="list-settings">Settings</a>
    -    </div>
    -  </div>
    -  <div class="col-8">
    -    <div class="tab-content" id="nav-tabContent">
    -      <div class="tab-pane fade show active" id="list-home" role="tabpanel" aria-labelledby="list-home-list">...</div>
    -      <div class="tab-pane fade" id="list-profile" role="tabpanel" aria-labelledby="list-profile-list">...</div>
    -      <div class="tab-pane fade" id="list-messages" role="tabpanel" aria-labelledby="list-messages-list">...</div>
    -      <div class="tab-pane fade" id="list-settings" role="tabpanel" aria-labelledby="list-settings-list">...</div>
    -    </div>
    -  </div>
    -</div>
    -

    Using data attributes

    -

    You can activate a list group navigation without writing any JavaScript by simply specifying data-bs-toggle="list" or on an element. Use these data attributes on .list-group-item.

    -
    <div role="tabpanel">
    -  <!-- List group -->
    -  <div class="list-group" id="myList" role="tablist">
    -    <a class="list-group-item list-group-item-action active" data-bs-toggle="list" href="#home" role="tab">Home</a>
    -    <a class="list-group-item list-group-item-action" data-bs-toggle="list" href="#profile" role="tab">Profile</a>
    -    <a class="list-group-item list-group-item-action" data-bs-toggle="list" href="#messages" role="tab">Messages</a>
    -    <a class="list-group-item list-group-item-action" data-bs-toggle="list" href="#settings" role="tab">Settings</a>
    -  </div>
    -
    -  <!-- Tab panes -->
    -  <div class="tab-content">
    -    <div class="tab-pane active" id="home" role="tabpanel">...</div>
    -    <div class="tab-pane" id="profile" role="tabpanel">...</div>
    -    <div class="tab-pane" id="messages" role="tabpanel">...</div>
    -    <div class="tab-pane" id="settings" role="tabpanel">...</div>
    -  </div>
    -</div>
    -

    Via JavaScript

    -

    Enable tabbable list item via JavaScript (each list item needs to be activated individually):

    -
    var triggerTabList = [].slice.call(document.querySelectorAll('#myTab a'))
    -triggerTabList.forEach(function (triggerEl) {
    -  var tabTrigger = new bootstrap.Tab(triggerEl)
    -
    -  triggerEl.addEventListener('click', function (event) {
    -    event.preventDefault()
    -    tabTrigger.show()
    -  })
    -})
    -

    You can activate individual list item in several ways:

    -
    var triggerEl = document.querySelector('#myTab a[href="#profile"]')
    -bootstrap.Tab.getInstance(triggerEl).show() // Select tab by name
    -
    -var triggerFirstTabEl = document.querySelector('#myTab li:first-child a')
    -bootstrap.Tab.getInstance(triggerFirstTabEl).show() // Select first tab
    -

    Fade effect

    -

    To make tabs panel fade in, add .fade to each .tab-pane. The first tab pane must also have .show to make the initial content visible.

    -
    <div class="tab-content">
    -  <div class="tab-pane fade show active" id="home" role="tabpanel">...</div>
    -  <div class="tab-pane fade" id="profile" role="tabpanel">...</div>
    -  <div class="tab-pane fade" id="messages" role="tabpanel">...</div>
    -  <div class="tab-pane fade" id="settings" role="tabpanel">...</div>
    -</div>
    -

    Methods

    -

    constructor

    -

    Activates a list item element and content container. Tab should have either a data-bs-target or an href targeting a container node in the DOM.

    -
    <div class="list-group" id="myList" role="tablist">
    -  <a class="list-group-item list-group-item-action active" data-bs-toggle="list" href="#home" role="tab">Home</a>
    -  <a class="list-group-item list-group-item-action" data-bs-toggle="list" href="#profile" role="tab">Profile</a>
    -  <a class="list-group-item list-group-item-action" data-bs-toggle="list" href="#messages" role="tab">Messages</a>
    -  <a class="list-group-item list-group-item-action" data-bs-toggle="list" href="#settings" role="tab">Settings</a>
    -</div>
    -
    -<div class="tab-content">
    -  <div class="tab-pane active" id="home" role="tabpanel">...</div>
    -  <div class="tab-pane" id="profile" role="tabpanel">...</div>
    -  <div class="tab-pane" id="messages" role="tabpanel">...</div>
    -  <div class="tab-pane" id="settings" role="tabpanel">...</div>
    -</div>
    -
    -<script>
    -  var firstTabEl = document.querySelector('#myTab a:last-child')
    -  var firstTab = new bootstrap.Tab(firstTabEl)
    -
    -  firstTab.show()
    -</script>
    -

    show

    -

    Selects the given list item and shows its associated pane. Any other list item that was previously selected becomes unselected and its associated pane is hidden. Returns to the caller before the tab pane has actually been shown (for example, before the shown.bs.tab event occurs).

    -
      var someListItemEl = document.querySelector('#someListItem')
    -  var tab = new bootstrap.Tab(someListItemEl)
    -
    -  tab.show()
    -

    dispose

    -

    Destroys an element’s tab.

    -

    getInstance

    -

    Static method which allows you to get the tab instance associated with a DOM element

    -
    var triggerEl = document.querySelector('#trigger')
    -var tab = bootstrap.Tab.getInstance(triggerEl) // Returns a Bootstrap tab instance
    -

    getOrCreateInstance

    -

    Static method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn’t initialized

    -
    var triggerEl = document.querySelector('#trigger')
    -var tab = bootstrap.Tab.getOrCreateInstance(triggerEl) // Returns a Bootstrap tab instance
    -

    Events

    -

    When showing a new tab, the events fire in the following order:

    -
      -
    1. hide.bs.tab (on the current active tab)
    2. -
    3. show.bs.tab (on the to-be-shown tab)
    4. -
    5. hidden.bs.tab (on the previous active tab, the same one as for the hide.bs.tab event)
    6. -
    7. shown.bs.tab (on the newly-active just-shown tab, the same one as for the show.bs.tab event)
    8. -
    -

    If no tab was already active, the hide.bs.tab and hidden.bs.tab events will not be fired.

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Event typeDescription
    show.bs.tabThis event fires on tab show, but before the new tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
    shown.bs.tabThis event fires on tab show after a tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
    hide.bs.tabThis event fires when a new tab is to be shown (and thus the previous active tab is to be hidden). Use event.target and event.relatedTarget to target the current active tab and the new soon-to-be-active tab, respectively.
    hidden.bs.tabThis event fires after a new tab is shown (and thus the previous active tab is hidden). Use event.target and event.relatedTarget to target the previous active tab and the new active tab, respectively.
    -
    var tabElms = document.querySelectorAll('a[data-bs-toggle="list"]')
    -tabElms.forEach(function(tabElm) {
    -  tabElm.addEventListener('shown.bs.tab', function (event) {
    -    event.target // newly activated tab
    -    event.relatedTarget // previous active tab
    -  })
    -}
    -
    - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/modal/index.html b/components/modal/index.html index 7ded3c6..7b932d1 100644 --- a/components/modal/index.html +++ b/components/modal/index.html @@ -1,1465 +1,4405 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Modal · Bootstrap v5.3 -Modal · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
    + + +
    +
    +
    + +

    Modal

    +
    +

    + Use Bootstrap’s JavaScript modal plugin to add dialogs to your + site for lightboxes, user notifications, or completely custom + content. +

    - -
  • - - -
  • -
  • - - -
    -
      -
    • Overview
    • -
    • Team
    • -
    • Brand
    • -
    • License
    • -
    • Translations
    • + +
      +

      + How it works + +

      +

      + Before getting started with Bootstrap’s modal component, be + sure to read the following as our menu options have recently + changed. +

      +
        +
      • + Modals are built with HTML, CSS, and JavaScript. They’re + positioned over everything else in the document and remove scroll + from the <body> so that modal content scrolls + instead. +
      • +
      • + Clicking on the modal “backdrop” will automatically + close the modal. +
      • +
      • + Bootstrap only supports one modal window at a time. Nested modals + aren’t supported as we believe them to be poor user + experiences. +
      • +
      • + Modals use position: fixed, which can sometimes be a + bit particular about its rendering. Whenever possible, place your + modal HTML in a top-level position to avoid potential interference + from other elements. You’ll likely run into issues when + nesting a .modal within another fixed element. +
      • +
      • + Once again, due to position: fixed, there are some + caveats with using modals on mobile devices. + See our browser support docs + for details. +
      • +
      • + Due to how HTML5 defines its semantics, + the autofocus HTML attribute + has no effect in Bootstrap modals. To achieve the same effect, use + some custom JavaScript: +
      -
      - -
    • -
    • - - Migration - -
    • -
    - +
    +
    const myModal = document.getElementById('myModal')
    +const myInput = document.getElementById('myInput')
    +
    +myModal.addEventListener('shown.bs.modal', () => {
    +  myInput.focus()
    +})
    +
    +
    +
    + The animation effect of this component is dependent on the + prefers-reduced-motion media query. See the + reduced motion section of our accessibility documentation. +
    - +

    Keep reading for demos and usage guidelines.

    +

    + Examples + +

    + +

    + Below is a static modal example (meaning its + position and display have been + overridden). Included are the modal header, modal body (required for + padding), and modal footer (optional). We ask that you + include modal headers with dismiss actions whenever possible, or + provide another explicit dismiss action. +

    +
    + +
    +
    +
    <div class="modal" tabindex="-1">
    +  <div class="modal-dialog">
    +    <div class="modal-content">
    +      <div class="modal-header">
    +        <h5 class="modal-title">Modal title</h5>
    +        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
    +      </div>
    +      <div class="modal-body">
    +        <p>Modal body text goes here.</p>
    +      </div>
    +      <div class="modal-footer">
    +        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
    +        <button type="button" class="btn btn-primary">Save changes</button>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +
    + In the above static example, we use <h5>, to + avoid issues with the heading hierarchy in the documentation page. + Structurally, however, a modal dialog represents its own separate + document/context, so the .modal-title should ideally be + an <h1>. If necessary, you can use the + font size utilities + to control the heading’s appearance. All the following live + examples use this approach. +
    -
    -
    -
    - View on GitHub -

    Modal

    -
    -

    Use Bootstrap’s JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content.

    - +

    + Live demo + +

    +

    + Toggle a working modal demo by clicking the button below. It will + slide down and fade in from the top of the page. +

    + +
    + +
    +
    +
    <!-- Button trigger modal -->
    +<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">
    +  Launch demo modal
    +</button>
    +
    +<!-- Modal -->
    +<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
    +  <div class="modal-dialog">
    +    <div class="modal-content">
    +      <div class="modal-header">
    +        <h1 class="modal-title fs-5" id="exampleModalLabel">Modal title</h1>
    +        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
    +      </div>
    +      <div class="modal-body">
    +        ...
    +      </div>
    +      <div class="modal-footer">
    +        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
    +        <button type="button" class="btn btn-primary">Save changes</button>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    + Static backdrop + +

    +

    + When backdrop is set to static, the modal will not close when + clicking outside of it. Click the button below to try it. +

    + +
    + +
    +
    +
    <!-- Button trigger modal -->
    +<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#staticBackdrop">
    +  Launch static backdrop modal
    +</button>
    +
    +<!-- Modal -->
    +<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
    +  <div class="modal-dialog">
    +    <div class="modal-content">
    +      <div class="modal-header">
    +        <h1 class="modal-title fs-5" id="staticBackdropLabel">Modal title</h1>
    +        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
    +      </div>
    +      <div class="modal-body">
    +        ...
    +      </div>
    +      <div class="modal-footer">
    +        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
    +        <button type="button" class="btn btn-primary">Understood</button>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    + Scrolling long content + +

    +

    + When modals become too long for the user’s viewport or device, + they scroll independent of the page itself. Try the demo below to + see what we mean. +

    + +
    + +
    +

    + You can also create a scrollable modal that allows scroll the modal + body by adding .modal-dialog-scrollable to + .modal-dialog. +

    + +
    + +
    +
    +
    <!-- Scrollable modal -->
    +<div class="modal-dialog modal-dialog-scrollable">
    +  ...
    +</div>
    +
    +
    +

    + Vertically centered + +

    +

    + Add .modal-dialog-centered to + .modal-dialog to vertically center the modal. +

    + + +
    + + +
    +
    +
    <!-- Vertically centered modal -->
    +<div class="modal-dialog modal-dialog-centered">
    +  ...
    +</div>
    +
    +<!-- Vertically centered scrollable modal -->
    +<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
    +  ...
    +</div>
    +
    +
    +

    + Tooltips and popovers + +

    +

    + Tooltips and + popovers can be placed within + modals as needed. When modals are closed, any tooltips and popovers + within are also automatically dismissed. +

    + +
    + +
    +
    +
    <div class="modal-body">
    +  <h2 class="fs-5">Popover in a modal</h2>
    +  <p>This <button class="btn btn-secondary" data-bs-toggle="popover" title="Popover title" data-bs-content="Popover body content is set in this attribute.">button</button> triggers a popover on click.</p>
    +  <hr>
    +  <h2 class="fs-5">Tooltips in a modal</h2>
    +  <p><a href="#" data-bs-toggle="tooltip" title="Tooltip">This link</a> and <a href="#" data-bs-toggle="tooltip" title="Tooltip">that link</a> have tooltips on hover.</p>
    +</div>
    +
    +
    +

    + Using the grid + +

    +

    + Utilize the Bootstrap grid system within a modal by nesting + .container-fluid within the .modal-body. + Then, use the normal grid system classes as you would anywhere else. +

    + +
    + +
    +
    +
    <div class="modal-body">
    +  <div class="container-fluid">
    +    <div class="row">
    +      <div class="col-md-4">.col-md-4</div>
    +      <div class="col-md-4 ms-auto">.col-md-4 .ms-auto</div>
    +    </div>
    +    <div class="row">
    +      <div class="col-md-3 ms-auto">.col-md-3 .ms-auto</div>
    +      <div class="col-md-2 ms-auto">.col-md-2 .ms-auto</div>
    +    </div>
    +    <div class="row">
    +      <div class="col-md-6 ms-auto">.col-md-6 .ms-auto</div>
    +    </div>
    +    <div class="row">
    +      <div class="col-sm-9">
    +        Level 1: .col-sm-9
    +        <div class="row">
    +          <div class="col-8 col-sm-6">
    +            Level 2: .col-8 .col-sm-6
    +          </div>
    +          <div class="col-4 col-sm-6">
    +            Level 2: .col-4 .col-sm-6
    +          </div>
    +        </div>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    + Varying modal content + +

    +

    + Have a bunch of buttons that all trigger the same modal with + slightly different contents? Use + event.relatedTarget and + HTML data-bs-* attributes + to vary the contents of the modal depending on which button was + clicked. +

    +

    + Below is a live demo followed by example HTML and JavaScript. For + more information, + read the modal events docs for details on + relatedTarget. +

    +
    +
    + + + -
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" data-bs-whatever="@mdo">Open modal for @mdo</button>
    +<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" data-bs-whatever="@fat">Open modal for @fat</button>
    +<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" data-bs-whatever="@getbootstrap">Open modal for @getbootstrap</button>
    +
    +<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
    +  <div class="modal-dialog">
    +    <div class="modal-content">
    +      <div class="modal-header">
    +        <h1 class="modal-title fs-5" id="exampleModalLabel">New message</h1>
    +        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
    +      </div>
    +      <div class="modal-body">
    +        <form>
    +          <div class="mb-3">
    +            <label for="recipient-name" class="col-form-label">Recipient:</label>
    +            <input type="text" class="form-control" id="recipient-name">
    +          </div>
    +          <div class="mb-3">
    +            <label for="message-text" class="col-form-label">Message:</label>
    +            <textarea class="form-control" id="message-text"></textarea>
    +          </div>
    +        </form>
    +      </div>
    +      <div class="modal-footer">
    +        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
    +        <button type="button" class="btn btn-primary">Send message</button>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +
    +
    + +
    +
    +
    const exampleModal = document.getElementById('exampleModal')
    +if (exampleModal) {
    +  exampleModal.addEventListener('show.bs.modal', event => {
    +    // Button that triggered the modal
    +    const button = event.relatedTarget
    +    // Extract info from data-bs-* attributes
    +    const recipient = button.getAttribute('data-bs-whatever')
    +    // If necessary, you could initiate an Ajax request here
    +    // and then do the updating in a callback.
    +
    +    // Update the modal's content.
    +    const modalTitle = exampleModal.querySelector('.modal-title')
    +    const modalBodyInput = exampleModal.querySelector('.modal-body input')
    +
    +    modalTitle.textContent = `New message to ${recipient}`
    +    modalBodyInput.value = recipient
    +  })
    +}
    +
    +
    +

    + Toggle between modals + +

    +

    + Toggle between multiple modals with some clever placement of the + data-bs-target and + data-bs-toggle attributes. For example, you could + toggle a password reset modal from within an already open sign in + modal. + Please note multiple modals cannot be open at the same + time—this method simply toggles between two separate modals. +

    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="modal fade" id="exampleModalToggle" aria-hidden="true" aria-labelledby="exampleModalToggleLabel" tabindex="-1">
    +  <div class="modal-dialog modal-dialog-centered">
    +    <div class="modal-content">
    +      <div class="modal-header">
    +        <h1 class="modal-title fs-5" id="exampleModalToggleLabel">Modal 1</h1>
    +        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
    +      </div>
    +      <div class="modal-body">
    +        Show a second modal and hide this one with the button below.
    +      </div>
    +      <div class="modal-footer">
    +        <button class="btn btn-primary" data-bs-target="#exampleModalToggle2" data-bs-toggle="modal">Open second modal</button>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +<div class="modal fade" id="exampleModalToggle2" aria-hidden="true" aria-labelledby="exampleModalToggleLabel2" tabindex="-1">
    +  <div class="modal-dialog modal-dialog-centered">
    +    <div class="modal-content">
    +      <div class="modal-header">
    +        <h1 class="modal-title fs-5" id="exampleModalToggleLabel2">Modal 2</h1>
    +        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
    +      </div>
    +      <div class="modal-body">
    +        Hide this modal and show the first with the button below.
    +      </div>
    +      <div class="modal-footer">
    +        <button class="btn btn-primary" data-bs-target="#exampleModalToggle" data-bs-toggle="modal">Back to first</button>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +<button class="btn btn-primary" data-bs-target="#exampleModalToggle" data-bs-toggle="modal">Open first modal</button>
    +
    +
    - +

    + Change animation + +

    +

    + The $modal-fade-transform variable determines the + transform state of .modal-dialog before the modal + fade-in animation, the $modal-show-transform variable + determines the transform of .modal-dialog at the end of + the modal fade-in animation. +

    +

    + If you want for example a zoom-in animation, you can set + $modal-fade-transform: scale(.8). +

    +

    + Remove animation + +

    +

    + For modals that simply appear rather than fade in to view, remove + the .fade class from your modal markup. +

    +
    +
    <div class="modal" tabindex="-1" aria-labelledby="..." aria-hidden="true">
    +  ...
    +</div>
    +
    +
    +

    + Dynamic heights + +

    +

    + If the height of a modal changes while it is open, you should call + myModal.handleUpdate() to readjust the modal’s + position in case a scrollbar appears. +

    +

    + Accessibility + +

    +

    + Be sure to add aria-labelledby="...", + referencing the modal title, to .modal. Additionally, + you may give a description of your modal dialog with + aria-describedby on .modal. Note that you + don’t need to add role="dialog" since + we already add it via JavaScript. +

    +

    + Embedding YouTube videos + +

    +

    + Embedding YouTube videos in modals requires additional JavaScript + not in Bootstrap to automatically stop playback and more. + See this helpful Stack Overflow post + for more information. +

    +

    + Optional sizes + +

    +

    + Modals have three optional sizes, available via modifier classes to + be placed on a .modal-dialog. These sizes kick in at + certain breakpoints to avoid horizontal scrollbars on narrower + viewports. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    SizeClassModal max-width
    Small.modal-sm300px
    DefaultNone500px
    Large.modal-lg800px
    Extra large.modal-xl1140px
    +
    +

    + Our default modal without modifier class constitutes the + “medium” size modal. +

    +
    + + + +
    +
    +
    <div class="modal-dialog modal-xl">...</div>
    +<div class="modal-dialog modal-lg">...</div>
    +<div class="modal-dialog modal-sm">...</div>
    +
    +
    + + + +

    + Fullscreen Modal + +

    +

    + Another override is the option to pop up a modal that covers the + user viewport, available via modifier classes that are placed on a + .modal-dialog. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ClassAvailability
    .modal-fullscreenAlways
    .modal-fullscreen-sm-down576px
    .modal-fullscreen-md-down768px
    .modal-fullscreen-lg-down992px
    .modal-fullscreen-xl-down1200px
    .modal-fullscreen-xxl-down1400px
    +
    -
    - - -

    How it works

    -

    Before getting started with Bootstrap’s modal component, be sure to read the following as our menu options have recently changed.

    -
      -
    • Modals are built with HTML, CSS, and JavaScript. They’re positioned over everything else in the document and remove scroll from the <body> so that modal content scrolls instead.
    • -
    • Clicking on the modal “backdrop” will automatically close the modal.
    • -
    • Bootstrap only supports one modal window at a time. Nested modals aren’t supported as we believe them to be poor user experiences.
    • -
    • Modals use position: fixed, which can sometimes be a bit particular about its rendering. Whenever possible, place your modal HTML in a top-level position to avoid potential interference from other elements. You’ll likely run into issues when nesting a .modal within another fixed element.
    • -
    • Once again, due to position: fixed, there are some caveats with using modals on mobile devices. See our browser support docs for details.
    • -
    • Due to how HTML5 defines its semantics, the autofocus HTML attribute has no effect in Bootstrap modals. To achieve the same effect, use some custom JavaScript:
    • -
    -
    var myModal = document.getElementById('myModal')
    -var myInput = document.getElementById('myInput')
    -
    -myModal.addEventListener('shown.bs.modal', function () {
    -  myInput.focus()
    -})
    -
    -The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation. -
    - -

    Keep reading for demos and usage guidelines.

    -

    Examples

    - -

    Below is a static modal example (meaning its position and display have been overridden). Included are the modal header, modal body (required for padding), and modal footer (optional). We ask that you include modal headers with dismiss actions whenever possible, or provide another explicit dismiss action.

    -
    - -
    -
    <div class="modal" tabindex="-1">
    -  <div class="modal-dialog">
    -    <div class="modal-content">
    -      <div class="modal-header">
    -        <h5 class="modal-title">Modal title</h5>
    -        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
    -      </div>
    -      <div class="modal-body">
    -        <p>Modal body text goes here.</p>
    -      </div>
    -      <div class="modal-footer">
    -        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
    -        <button type="button" class="btn btn-primary">Save changes</button>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Live demo

    -

    Toggle a working modal demo by clicking the button below. It will slide down and fade in from the top of the page.

    - -
    - -
    -
    <!-- Button trigger modal -->
    -<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">
    -  Launch demo modal
    -</button>
    -
    -<!-- Modal -->
    -<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
    -  <div class="modal-dialog">
    -    <div class="modal-content">
    -      <div class="modal-header">
    -        <h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
    -        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
    -      </div>
    -      <div class="modal-body">
    -        ...
    -      </div>
    -      <div class="modal-footer">
    -        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
    -        <button type="button" class="btn btn-primary">Save changes</button>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Static backdrop

    -

    When backdrop is set to static, the modal will not close when clicking outside it. Click the button below to try it.

    - -
    - -
    -
    <!-- Button trigger modal -->
    -<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#staticBackdrop">
    -  Launch static backdrop modal
    -</button>
    -
    -<!-- Modal -->
    -<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
    -  <div class="modal-dialog">
    -    <div class="modal-content">
    -      <div class="modal-header">
    -        <h5 class="modal-title" id="staticBackdropLabel">Modal title</h5>
    -        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
    -      </div>
    -      <div class="modal-body">
    -        ...
    -      </div>
    -      <div class="modal-footer">
    -        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
    -        <button type="button" class="btn btn-primary">Understood</button>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Scrolling long content

    -

    When modals become too long for the user’s viewport or device, they scroll independent of the page itself. Try the demo below to see what we mean.

    - -
    - -
    -

    You can also create a scrollable modal that allows scroll the modal body by adding .modal-dialog-scrollable to .modal-dialog.

    - -
    - -
    -
    <!-- Scrollable modal -->
    -<div class="modal-dialog modal-dialog-scrollable">
    -  ...
    -</div>
    -

    Vertically centered

    -

    Add .modal-dialog-centered to .modal-dialog to vertically center the modal.

    - - -
    - - -
    -
    <!-- Vertically centered modal -->
    -<div class="modal-dialog modal-dialog-centered">
    -  ...
    -</div>
    -
    -<!-- Vertically centered scrollable modal -->
    -<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
    -  ...
    -</div>
    -

    Tooltips and popovers

    -

    Tooltips and popovers can be placed within modals as needed. When modals are closed, any tooltips and popovers within are also automatically dismissed.

    - -
    - -
    -
    <div class="modal-body">
    -  <h5>Popover in a modal</h5>
    -  <p>This <a href="#" role="button" class="btn btn-secondary popover-test" title="Popover title" data-bs-content="Popover body content is set in this attribute.">button</a> triggers a popover on click.</p>
    -  <hr>
    -  <h5>Tooltips in a modal</h5>
    -  <p><a href="#" class="tooltip-test" title="Tooltip">This link</a> and <a href="#" class="tooltip-test" title="Tooltip">that link</a> have tooltips on hover.</p>
    -</div>
    -

    Using the grid

    -

    Utilize the Bootstrap grid system within a modal by nesting .container-fluid within the .modal-body. Then, use the normal grid system classes as you would anywhere else.

    -
    -
  • - -
    - -
    -
    <div class="modal-body">
    -  <div class="container-fluid">
    -    <div class="row">
    -      <div class="col-md-4">.col-md-4</div>
    -      <div class="col-md-4 ms-auto">.col-md-4 .ms-auto</div>
    -    </div>
    -    <div class="row">
    -      <div class="col-md-3 ms-auto">.col-md-3 .ms-auto</div>
    -      <div class="col-md-2 ms-auto">.col-md-2 .ms-auto</div>
    -    </div>
    -    <div class="row">
    -      <div class="col-md-6 ms-auto">.col-md-6 .ms-auto</div>
    -    </div>
    -    <div class="row">
    -      <div class="col-sm-9">
    -        Level 1: .col-sm-9
    -        <div class="row">
    -          <div class="col-8 col-sm-6">
    -            Level 2: .col-8 .col-sm-6
    -          </div>
    -          <div class="col-4 col-sm-6">
    -            Level 2: .col-4 .col-sm-6
    -          </div>
    -        </div>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Varying modal content

    -

    Have a bunch of buttons that all trigger the same modal with slightly different contents? Use event.relatedTarget and HTML data-bs-* attributes to vary the contents of the modal depending on which button was clicked.

    -

    Below is a live demo followed by example HTML and JavaScript. For more information, read the modal events docs for details on relatedTarget.

    -
    - - - - - + + - + + - + + + const classes = Array.from( + event.target + .closest('.bd-code-snippet') + .querySelector('.bd-example').classList + ).join(' '); - + const jsSnippet = event.target + .closest('.bd-code-snippet') + .querySelector('.btn-edit') + .getAttribute('data-sb-js-snippet'); + StackBlitzSDK.openBootstrapSnippet(htmlSnippet, jsSnippet, classes); + }); + }); + + StackBlitzSDK.openBootstrapSnippet = ( + htmlSnippet, + jsSnippet, + classes + ) => { + const markup = ` + + + + + + + Bootstrap Example + <${'script'} src="index.html\/\/cdn\.jsdelivr\.net\/npm\/bootstrap@5\.3\.0\-alpha3\/dist\/js\/bootstrap\.bundle\.min\.js"> + + + +${htmlSnippet.replace(/^/gm, ' ')} + + +`; + const jsSnippetContent = jsSnippet + ? '\/\/ NOTICE!!! Initially embedded in our docs this JavaScript\n\/\/ file contains elements that can help you create reproducible\n\/\/ use cases in StackBlitz for instance\.\n\/\/ In a real project please adapt this content to your needs\.\n\/\/ \u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\n\n\/\*!\n \* JavaScript for Bootstrap\u0027s docs \(https:\/\/getbootstrap\.com\/\)\n \* Copyright 2011\-2023 The Bootstrap Authors\n \* Licensed under the Creative Commons Attribution 3\.0 Unported License\.\n \* For details, see https:\/\/creativecommons\.org\/licenses\/by\/3\.0\/\.\n \*\/\n\n\/\* global bootstrap: false \*\/\n\n\(\(\) =\u003e \{\n \u0027use strict\u0027\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Tooltips\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all tooltips in a docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022tooltip\u0022\]\u0027\)\n \.forEach\(tooltip =\u003e \{\n new bootstrap\.Tooltip\(tooltip\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Popovers\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all popovers in docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022popover\u0022\]\u0027\)\n \.forEach\(popover =\u003e \{\n new bootstrap\.Popover\(popover\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Toasts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used by \u0027Placement\u0027 example in docs or StackBlitz\n const toastPlacement = document\.getElementById\(\u0027toastPlacement\u0027\)\n if \(toastPlacement\) \{\n document\.getElementById\(\u0027selectToastPlacement\u0027\)\.addEventListener\(\u0027change\u0027, function \(\) \{\n if \(!toastPlacement\.dataset\.originalClass\) \{\n toastPlacement\.dataset\.originalClass = toastPlacement\.className\n \}\n\n toastPlacement\.className = `\$\{toastPlacement\.dataset\.originalClass\} \$\{this\.value\}`\n \}\)\n \}\n\n \/\/ Instantiate all toasts in docs pages only\n document\.querySelectorAll\(\u0027\.bd\-example \.toast\u0027\)\n \.forEach\(toastNode =\u003e \{\n const toast = new bootstrap\.Toast\(toastNode, \{\n autohide: false\n \}\)\n\n toast\.show\(\)\n \}\)\n\n \/\/ Instantiate all toasts in docs pages only\n \/\/ js\-docs\-start live\-toast\n const toastTrigger = document\.getElementById\(\u0027liveToastBtn\u0027\)\n const toastLiveExample = document\.getElementById\(\u0027liveToast\u0027\)\n\n if \(toastTrigger\) \{\n const toastBootstrap = bootstrap\.Toast\.getOrCreateInstance\(toastLiveExample\)\n toastTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n toastBootstrap\.show\(\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-toast\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Alerts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used in \u0027Show live alert\u0027 example in docs or StackBlitz\n\n \/\/ js\-docs\-start live\-alert\n const alertPlaceholder = document\.getElementById\(\u0027liveAlertPlaceholder\u0027\)\n const appendAlert = \(message, type\) =\u003e \{\n const wrapper = document\.createElement\(\u0027div\u0027\)\n wrapper\.innerHTML = \[\n `\u003cdiv class=\u0022alert alert\-\$\{type\} alert\-dismissible\u0022 role=\u0022alert\u0022\u003e`,\n ` \u003cdiv\u003e\$\{message\}\u003c\/div\u003e`,\n \u0027 \u003cbutton type=\u0022button\u0022 class=\u0022btn\-close\u0022 data\-bs\-dismiss=\u0022alert\u0022 aria\-label=\u0022Close\u0022\u003e\u003c\/button\u003e\u0027,\n \u0027\u003c\/div\u003e\u0027\n \]\.join\(\u0027\u0027\)\n\n alertPlaceholder\.append\(wrapper\)\n \}\n\n const alertTrigger = document\.getElementById\(\u0027liveAlertBtn\u0027\)\n if \(alertTrigger\) \{\n alertTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n appendAlert\(\u0027Nice, you triggered this alert message!\u0027, \u0027success\u0027\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-alert\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Carousels\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all non\-autoplaying carousels in docs or StackBlitz\n document\.querySelectorAll\(\u0027\.carousel:not\(\[data\-bs\-ride=\u0022carousel\u0022\]\)\u0027\)\n \.forEach\(carousel =\u003e \{\n bootstrap\.Carousel\.getOrCreateInstance\(carousel\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Checks \u0026 Radios\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Indeterminate checkbox example in docs and StackBlitz\n document\.querySelectorAll\(\u0027\.bd\-example\-indeterminate \[type=\u0022checkbox\u0022\]\u0027\)\n \.forEach\(checkbox =\u003e \{\n if \(checkbox\.id\.includes\(\u0027Indeterminate\u0027\)\) \{\n checkbox\.indeterminate = true\n \}\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Links\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Disable empty links in docs examples only\n document\.querySelectorAll\(\u0027\.bd\-content \[href=\u0022#\u0022\]\u0027\)\n \.forEach\(link =\u003e \{\n link\.addEventListener\(\u0027click\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal \u0027Varying modal content\u0027 example in docs and StackBlitz\n \/\/ js\-docs\-start varying\-modal\-content\n const exampleModal = document\.getElementById\(\u0027exampleModal\u0027\)\n if \(exampleModal\) \{\n exampleModal\.addEventListener\(\u0027show\.bs\.modal\u0027, event =\u003e \{\n \/\/ Button that triggered the modal\n const button = event\.relatedTarget\n \/\/ Extract info from data\-bs\-\* attributes\n const recipient = button\.getAttribute\(\u0027data\-bs\-whatever\u0027\)\n \/\/ If necessary, you could initiate an Ajax request here\n \/\/ and then do the updating in a callback\.\n\n \/\/ Update the modal\u0027s content\.\n const modalTitle = exampleModal\.querySelector\(\u0027\.modal\-title\u0027\)\n const modalBodyInput = exampleModal\.querySelector\(\u0027\.modal\-body input\u0027\)\n\n modalTitle\.textContent = `New message to \$\{recipient\}`\n modalBodyInput\.value = recipient\n \}\)\n \}\n \/\/ js\-docs\-end varying\-modal\-content\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Offcanvas\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ \u0027Offcanvas components\u0027 example in docs only\n const myOffcanvas = document\.querySelectorAll\(\u0027\.bd\-example\-offcanvas \.offcanvas\u0027\)\n if \(myOffcanvas\) \{\n myOffcanvas\.forEach\(offcanvas =\u003e \{\n offcanvas\.addEventListener\(\u0027show\.bs\.offcanvas\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}, false\)\n \}\)\n \}\n\}\)\(\)\n' + : null; + const project = { + files: { + 'index.html': markup, + 'index.js': jsSnippetContent, + }, + title: 'Bootstrap Example', + description: `Official example from ${window.location.href}`, + template: jsSnippet ? 'javascript' : 'html', + tags: ['bootstrap'], + }; + StackBlitzSDK.openProject(project, { openFile: 'index.html' }); + }; + + - + diff --git a/components/navbar/index.html b/components/navbar/index.html index 0e1ccb6..3254795 100644 --- a/components/navbar/index.html +++ b/components/navbar/index.html @@ -1,1594 +1,5137 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Navbar · Bootstrap v5.3 -Navbar · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
    + + +
    +
    +
    + +

    Navbar

    +
    +

    + Documentation and examples for Bootstrap’s powerful, + responsive navigation header, the navbar. Includes support for + branding, navigation, and more, including support for our collapse + plugin. +

    - -
  • - - -
  • -
  • - - -
    -
      -
    • Approach
    • -
    • Icons
    • + +
      +

      + How it works + +

      +

      + Here’s what you need to know before getting started with the + navbar: +

      +
        +
      • + Navbars require a wrapping .navbar with + .navbar-expand{-sm|-md|-lg|-xl|-xxl} for responsive + collapsing and color scheme classes. +
      • +
      • + Navbars and their contents are fluid by default. Change the + container to limit their horizontal + width in different ways. +
      • +
      • + Use our + spacing and + flex utility classes + for controlling spacing and alignment within navbars. +
      • +
      • + Navbars are responsive by default, but you can easily modify them + to change that. Responsive behavior depends on our Collapse + JavaScript plugin. +
      • +
      • + Ensure accessibility by using a <nav> element + or, if using a more generic element such as a + <div>, add a + role="navigation" to every navbar to + explicitly identify it as a landmark region for users of assistive + technologies. +
      • +
      • + Indicate the current item by using + aria-current="page" for the current page or + aria-current="true" for the current item in + a set. +
      • +
      • + New in v5.2.0: Navbars can be themed with CSS + variables that are scoped to the .navbar base class. + .navbar-light has been deprecated and + .navbar-dark has been rewritten to override CSS + variables instead of adding additional styles. +
      -
      - -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +
        + The animation effect of this component is dependent on the + prefers-reduced-motion media query. See the + reduced motion section of our accessibility documentation. +
        + +

        + Supported content + +

        +

        + Navbars come with built-in support for a handful of sub-components. + Choose from the following as needed: +

        +
          +
        • + .navbar-brand for your company, product, or project + name. +
        • +
        • + .navbar-nav for a full-height and lightweight + navigation (including support for dropdowns). +
        • +
        • + .navbar-toggler for use with our collapse plugin and + other + navigation toggling behaviors. +
        • +
        • + Flex and spacing utilities for any form controls and actions. +
        • +
        • + .navbar-text for adding vertically centered strings + of text. +
        • +
        • + .collapse.navbar-collapse for grouping and hiding + navbar contents by a parent breakpoint. +
        • +
        • + Add an optional .navbar-scroll to set a + max-height and + scroll expanded navbar content. +
        -
      -
    • -
    • -
    • - - Migration - -
    • -
    - +

    + Here’s an example of all the sub-components included in a + responsive light-themed navbar that automatically collapses at the + lg (large) breakpoint. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav class="navbar navbar-expand-lg bg-body-tertiary">
    +  <div class="container-fluid">
    +    <a class="navbar-brand" href="#">Navbar</a>
    +    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    +      <span class="navbar-toggler-icon"></span>
    +    </button>
    +    <div class="collapse navbar-collapse" id="navbarSupportedContent">
    +      <ul class="navbar-nav me-auto mb-2 mb-lg-0">
    +        <li class="nav-item">
    +          <a class="nav-link active" aria-current="page" href="#">Home</a>
    +        </li>
    +        <li class="nav-item">
    +          <a class="nav-link" href="#">Link</a>
    +        </li>
    +        <li class="nav-item dropdown">
    +          <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
    +            Dropdown
    +          </a>
    +          <ul class="dropdown-menu">
    +            <li><a class="dropdown-item" href="#">Action</a></li>
    +            <li><a class="dropdown-item" href="#">Another action</a></li>
    +            <li><hr class="dropdown-divider"></li>
    +            <li><a class="dropdown-item" href="#">Something else here</a></li>
    +          </ul>
    +        </li>
    +        <li class="nav-item">
    +          <a class="nav-link disabled">Disabled</a>
    +        </li>
    +      </ul>
    +      <form class="d-flex" role="search">
    +        <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
    +        <button class="btn btn-outline-success" type="submit">Search</button>
    +      </form>
    +    </div>
    +  </div>
    +</nav>
    +
    +
    - +

    + This example uses + background + (bg-body-tertiary) and + spacing + (me-auto, mb-2, mb-lg-0, + me-2) utility classes. +

    +

    + Brand + +

    +

    + The .navbar-brand can be applied to most elements, but + an anchor works best, as some elements might require utility classes + or custom styles. +

    +

    + Text + +

    +

    + Add your text within an element with the + .navbar-brand class. +

    +
    +
    + + -
    -
    -
    - View on GitHub -

    Navbar

    -
    -

    Documentation and examples for Bootstrap’s powerful, responsive navigation header, the navbar. Includes support for branding, navigation, and more, including support for our collapse plugin.

    - + + +
    +
    + html +
    + + +
    +
    +
    +
    <!-- As a link -->
    +<nav class="navbar bg-body-tertiary">
    +  <div class="container-fluid">
    +    <a class="navbar-brand" href="#">Navbar</a>
    +  </div>
    +</nav>
    +
    +<!-- As a heading -->
    +<nav class="navbar bg-body-tertiary">
    +  <div class="container-fluid">
    +    <span class="navbar-brand mb-0 h1">Navbar</span>
    +  </div>
    +</nav>
    +
    +
    -
    +

    + Image + +

    +

    + You can replace the text within the .navbar-brand with + an <img>. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav class="navbar bg-body-tertiary">
    +  <div class="container">
    +    <a class="navbar-brand" href="#">
    +      <img src="/docs/5.3/assets/brand/bootstrap-logo.svg" alt="Bootstrap" width="30" height="24">
    +    </a>
    +  </div>
    +</nav>
    +
    +
    +

    + Image and text + +

    +

    + You can also make use of some additional utilities to add an image + and text at the same time. Note the addition of + .d-inline-block and .align-text-top on the + <img>. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav class="navbar bg-body-tertiary">
    +  <div class="container-fluid">
    +    <a class="navbar-brand" href="#">
    +      <img src="/docs/5.3/assets/brand/bootstrap-logo.svg" alt="Logo" width="30" height="24" class="d-inline-block align-text-top">
    +      Bootstrap
    +    </a>
    +  </div>
    +</nav>
    +
    +
    - + +

    + Navbar navigation links build on our .nav options with + their own modifier class and require the use of + toggler classes for proper responsive + styling. + Navigation in navbars will also grow to occupy as much horizontal + space as possible + to keep your navbar contents securely aligned. +

    +

    + Add the .active class on .nav-link to + indicate the current page. +

    +

    + Please note that you should also add the + aria-current attribute on the active + .nav-link. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav class="navbar navbar-expand-lg bg-body-tertiary">
    +  <div class="container-fluid">
    +    <a class="navbar-brand" href="#">Navbar</a>
    +    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    +      <span class="navbar-toggler-icon"></span>
    +    </button>
    +    <div class="collapse navbar-collapse" id="navbarNav">
    +      <ul class="navbar-nav">
    +        <li class="nav-item">
    +          <a class="nav-link active" aria-current="page" href="#">Home</a>
    +        </li>
    +        <li class="nav-item">
    +          <a class="nav-link" href="#">Features</a>
    +        </li>
    +        <li class="nav-item">
    +          <a class="nav-link" href="#">Pricing</a>
    +        </li>
    +        <li class="nav-item">
    +          <a class="nav-link disabled">Disabled</a>
    +        </li>
    +      </ul>
    +    </div>
    +  </div>
    +</nav>
    +
    +
    +

    + And because we use classes for our navs, you can avoid the + list-based approach entirely if you like. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav class="navbar navbar-expand-lg bg-body-tertiary">
    +  <div class="container-fluid">
    +    <a class="navbar-brand" href="#">Navbar</a>
    +    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
    +      <span class="navbar-toggler-icon"></span>
    +    </button>
    +    <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
    +      <div class="navbar-nav">
    +        <a class="nav-link active" aria-current="page" href="#">Home</a>
    +        <a class="nav-link" href="#">Features</a>
    +        <a class="nav-link" href="#">Pricing</a>
    +        <a class="nav-link disabled">Disabled</a>
    +      </div>
    +    </div>
    +  </div>
    +</nav>
    +
    +
    -
    - - -

    How it works

    -

    Here’s what you need to know before getting started with the navbar:

    -
      -
    • Navbars require a wrapping .navbar with .navbar-expand{-sm|-md|-lg|-xl|-xxl} for responsive collapsing and color scheme classes.
    • -
    • Navbars and their contents are fluid by default. Change the container to limit their horizontal width in different ways.
    • -
    • Use our spacing and flex utility classes for controlling spacing and alignment within navbars.
    • -
    • Navbars are responsive by default, but you can easily modify them to change that. Responsive behavior depends on our Collapse JavaScript plugin.
    • -
    • Ensure accessibility by using a <nav> element or, if using a more generic element such as a <div>, add a role="navigation" to every navbar to explicitly identify it as a landmark region for users of assistive technologies.
    • -
    • Indicate the current item by using aria-current="page" for the current page or aria-current="true" for the current item in a set.
    • -
    -
    -The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation. -
    - -

    Supported content

    -

    Navbars come with built-in support for a handful of sub-components. Choose from the following as needed:

    -
      -
    • .navbar-brand for your company, product, or project name.
    • -
    • .navbar-nav for a full-height and lightweight navigation (including support for dropdowns).
    • -
    • .navbar-toggler for use with our collapse plugin and other navigation toggling behaviors.
    • -
    • Flex and spacing utilities for any form controls and actions.
    • -
    • .navbar-text for adding vertically centered strings of text.
    • -
    • .collapse.navbar-collapse for grouping and hiding navbar contents by a parent breakpoint.
    • -
    • Add an optional .navbar-scroll to set a max-height and scroll expanded navbar content.
    • -
    -

    Here’s an example of all the sub-components included in a responsive light-themed navbar that automatically collapses at the lg (large) breakpoint.

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Navbar</a>
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="collapse navbar-collapse" id="navbarSupportedContent">
    -      <ul class="navbar-nav me-auto mb-2 mb-lg-0">
    -        <li class="nav-item">
    -          <a class="nav-link active" aria-current="page" href="#">Home</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Link</a>
    -        </li>
    -        <li class="nav-item dropdown">
    -          <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
    -            Dropdown
    -          </a>
    -          <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
    -            <li><a class="dropdown-item" href="#">Action</a></li>
    -            <li><a class="dropdown-item" href="#">Another action</a></li>
    -            <li><hr class="dropdown-divider"></li>
    -            <li><a class="dropdown-item" href="#">Something else here</a></li>
    -          </ul>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link disabled">Disabled</a>
    -        </li>
    -      </ul>
    -      <form class="d-flex">
    -        <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
    -        <button class="btn btn-outline-success" type="submit">Search</button>
    -      </form>
    -    </div>
    -  </div>
    -</nav>
    -

    This example uses background (bg-light) and spacing (my-2, my-lg-0, me-sm-0, my-sm-0) utility classes.

    -

    Brand

    -

    The .navbar-brand can be applied to most elements, but an anchor works best, as some elements might require utility classes or custom styles.

    -

    Text

    -

    Add your text within an element with the .navbar-brand class.

    -
    - - - - - -
    <!-- As a link -->
    -<nav class="navbar navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Navbar</a>
    -  </div>
    -</nav>
    -
    -<!-- As a heading -->
    -<nav class="navbar navbar-light bg-light">
    -  <div class="container-fluid">
    -    <span class="navbar-brand mb-0 h1">Navbar</span>
    -  </div>
    -</nav>
    -

    Image

    -

    You can replace the text within the .navbar-brand with an <img>.

    -
    - -
    <nav class="navbar navbar-light bg-light">
    -  <div class="container">
    -    <a class="navbar-brand" href="#">
    -      <img src="/docs/5.1/assets/brand/bootstrap-logo.svg" alt="" width="30" height="24">
    -    </a>
    -  </div>
    -</nav>
    -

    Image and text

    -

    You can also make use of some additional utilities to add an image and text at the same time. Note the addition of .d-inline-block and .align-text-top on the <img>.

    -
    <nav class="navbar navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">
    -      <img src="/docs/5.1/assets/brand/bootstrap-logo.svg" alt="" width="30" height="24" class="d-inline-block align-text-top">
    -      Bootstrap
    -    </a>
    -  </div>
    -</nav>
    - -

    Navbar navigation links build on our .nav options with their own modifier class and require the use of toggler classes for proper responsive styling. Navigation in navbars will also grow to occupy as much horizontal space as possible to keep your navbar contents securely aligned.

    -

    Add the .active class on .nav-link to indicate the current page.

    -

    Please note that you should also add the aria-current attribute on the active .nav-link.

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Navbar</a>
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="collapse navbar-collapse" id="navbarNav">
    -      <ul class="navbar-nav">
    -        <li class="nav-item">
    -          <a class="nav-link active" aria-current="page" href="#">Home</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Features</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Pricing</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link disabled">Disabled</a>
    -        </li>
    -      </ul>
    -    </div>
    -  </div>
    -</nav>
    -

    And because we use classes for our navs, you can avoid the list-based approach entirely if you like.

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Navbar</a>
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
    -      <div class="navbar-nav">
    -        <a class="nav-link active" aria-current="page" href="#">Home</a>
    -        <a class="nav-link" href="#">Features</a>
    -        <a class="nav-link" href="#">Pricing</a>
    -        <a class="nav-link disabled">Disabled</a>
    -      </div>
    -    </div>
    -  </div>
    -</nav>
    -

    You can also use dropdowns in your navbar. Dropdown menus require a wrapping element for positioning, so be sure to use separate and nested elements for .nav-item and .nav-link as shown below.

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Navbar</a>
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="collapse navbar-collapse" id="navbarNavDropdown">
    -      <ul class="navbar-nav">
    -        <li class="nav-item">
    -          <a class="nav-link active" aria-current="page" href="#">Home</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Features</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Pricing</a>
    -        </li>
    -        <li class="nav-item dropdown">
    -          <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
    -            Dropdown link
    -          </a>
    -          <ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
    -            <li><a class="dropdown-item" href="#">Action</a></li>
    -            <li><a class="dropdown-item" href="#">Another action</a></li>
    -            <li><a class="dropdown-item" href="#">Something else here</a></li>
    -          </ul>
    -        </li>
    -      </ul>
    -    </div>
    -  </div>
    -</nav>
    -

    Forms

    -

    Place various form controls and components within a navbar:

    -
    - -
    <nav class="navbar navbar-light bg-light">
    -  <div class="container-fluid">
    -    <form class="d-flex">
    -      <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
    -      <button class="btn btn-outline-success" type="submit">Search</button>
    -    </form>
    -  </div>
    -</nav>
    -

    Immediate child elements of .navbar use flex layout and will default to justify-content: space-between. Use additional flex utilities as needed to adjust this behavior.

    -
    - -
    <nav class="navbar navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand">Navbar</a>
    -    <form class="d-flex">
    -      <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
    -      <button class="btn btn-outline-success" type="submit">Search</button>
    -    </form>
    -  </div>
    -</nav>
    -

    Input groups work, too. If your navbar is an entire form, or mostly a form, you can use the <form> element as the container and save some HTML.

    -
    - -
    <nav class="navbar navbar-light bg-light">
    -  <form class="container-fluid">
    -    <div class="input-group">
    -      <span class="input-group-text" id="basic-addon1">@</span>
    -      <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1">
    -    </div>
    -  </form>
    -</nav>
    -

    Various buttons are supported as part of these navbar forms, too. This is also a great reminder that vertical alignment utilities can be used to align different sized elements.

    -
    - -
    <nav class="navbar navbar-light bg-light">
    -  <form class="container-fluid justify-content-start">
    -    <button class="btn btn-outline-success me-2" type="button">Main button</button>
    -    <button class="btn btn-sm btn-outline-secondary" type="button">Smaller button</button>
    -  </form>
    -</nav>
    -

    Text

    -

    Navbars may contain bits of text with the help of .navbar-text. This class adjusts vertical alignment and horizontal spacing for strings of text.

    -
    - -
    <nav class="navbar navbar-light bg-light">
    -  <div class="container-fluid">
    -    <span class="navbar-text">
    -      Navbar text with an inline element
    -    </span>
    -  </div>
    -</nav>
    -

    Mix and match with other components and utilities as needed.

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Navbar w/ text</a>
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="collapse navbar-collapse" id="navbarText">
    -      <ul class="navbar-nav me-auto mb-2 mb-lg-0">
    -        <li class="nav-item">
    -          <a class="nav-link active" aria-current="page" href="#">Home</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Features</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Pricing</a>
    -        </li>
    -      </ul>
    -      <span class="navbar-text">
    -        Navbar text with an inline element
    -      </span>
    -    </div>
    -  </div>
    -</nav>
    -

    Color schemes

    -

    Theming the navbar has never been easier thanks to the combination of theming classes and background-color utilities. Choose from .navbar-light for use with light background colors, or .navbar-dark for dark background colors. Then, customize with .bg-* utilities.

    -
    - - - -
    -
    <nav class="navbar navbar-dark bg-dark">
    -  <!-- Navbar content -->
    -</nav>
    -
    -<nav class="navbar navbar-dark bg-primary">
    -  <!-- Navbar content -->
    -</nav>
    -
    -<nav class="navbar navbar-light" style="background-color: #e3f2fd;">
    -  <!-- Navbar content -->
    -</nav>
    -

    Containers

    -

    Although it’s not required, you can wrap a navbar in a .container to center it on a page–though note that an inner container is still required. Or you can add a container inside the .navbar to only center the contents of a fixed or static top navbar.

    -
    -
    - -
    -
    <div class="container">
    -  <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -    <div class="container-fluid">
    -      <a class="navbar-brand" href="#">Navbar</a>
    -    </div>
    -  </nav>
    -</div>
    -

    Use any of the responsive containers to change how wide the content in your navbar is presented.

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-md">
    -    <a class="navbar-brand" href="#">Navbar</a>
    -  </div>
    -</nav>
    -

    Placement

    -

    Use our position utilities to place navbars in non-static positions. Choose from fixed to the top, fixed to the bottom, or stickied to the top (scrolls with the page until it reaches the top, then stays there). Fixed navbars use position: fixed, meaning they’re pulled from the normal flow of the DOM and may require custom CSS (e.g., padding-top on the <body>) to prevent overlap with other elements.

    -

    Also note that .sticky-top uses position: sticky, which isn’t fully supported in every browser.

    -
    - -
    <nav class="navbar navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Default</a>
    -  </div>
    -</nav>
    -
    - -
    <nav class="navbar fixed-top navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Fixed top</a>
    -  </div>
    -</nav>
    -
    - -
    <nav class="navbar fixed-bottom navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Fixed bottom</a>
    -  </div>
    -</nav>
    -
    - -
    <nav class="navbar sticky-top navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Sticky top</a>
    -  </div>
    -</nav>
    -

    Scrolling

    -

    Add .navbar-nav-scroll to a .navbar-nav (or other navbar sub-component) to enable vertical scrolling within the toggleable contents of a collapsed navbar. By default, scrolling kicks in at 75vh (or 75% of the viewport height), but you can override that with the local CSS custom property --bs-navbar-height or custom styles. At larger viewports when the navbar is expanded, content will appear as it does in a default navbar.

    -

    Please note that this behavior comes with a potential drawback of overflow—when setting overflow-y: auto (required to scroll the content here), overflow-x is the equivalent of auto, which will crop some horizontal content.

    -

    Here’s an example navbar using .navbar-nav-scroll with style="--bs-scroll-height: 100px;", with some extra margin utilities for optimum spacing.

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Navbar scroll</a>
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarScroll" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="collapse navbar-collapse" id="navbarScroll">
    -      <ul class="navbar-nav me-auto my-2 my-lg-0 navbar-nav-scroll" style="--bs-scroll-height: 100px;">
    -        <li class="nav-item">
    -          <a class="nav-link active" aria-current="page" href="#">Home</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Link</a>
    -        </li>
    -        <li class="nav-item dropdown">
    -          <a class="nav-link dropdown-toggle" href="#" id="navbarScrollingDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
    -            Link
    -          </a>
    -          <ul class="dropdown-menu" aria-labelledby="navbarScrollingDropdown">
    -            <li><a class="dropdown-item" href="#">Action</a></li>
    -            <li><a class="dropdown-item" href="#">Another action</a></li>
    -            <li><hr class="dropdown-divider"></li>
    -            <li><a class="dropdown-item" href="#">Something else here</a></li>
    -          </ul>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link disabled">Link</a>
    -        </li>
    -      </ul>
    -      <form class="d-flex">
    -        <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
    -        <button class="btn btn-outline-success" type="submit">Search</button>
    -      </form>
    -    </div>
    -  </div>
    -</nav>
    -

    Responsive behaviors

    -

    Navbars can use .navbar-toggler, .navbar-collapse, and .navbar-expand{-sm|-md|-lg|-xl|-xxl} classes to determine when their content collapses behind a button. In combination with other utilities, you can easily choose when to show or hide particular elements.

    -

    For navbars that never collapse, add the .navbar-expand class on the navbar. For navbars that always collapse, don’t add any .navbar-expand class.

    -

    Toggler

    -

    Navbar togglers are left-aligned by default, but should they follow a sibling element like a .navbar-brand, they’ll automatically be aligned to the far right. Reversing your markup will reverse the placement of the toggler. Below are examples of different toggle styles.

    -

    With no .navbar-brand shown at the smallest breakpoint:

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-fluid">
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="collapse navbar-collapse" id="navbarTogglerDemo01">
    -      <a class="navbar-brand" href="#">Hidden brand</a>
    -      <ul class="navbar-nav me-auto mb-2 mb-lg-0">
    -        <li class="nav-item">
    -          <a class="nav-link active" aria-current="page" href="#">Home</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Link</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link disabled">Disabled</a>
    -        </li>
    -      </ul>
    -      <form class="d-flex">
    -        <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
    -        <button class="btn btn-outline-success" type="submit">Search</button>
    -      </form>
    -    </div>
    -  </div>
    -</nav>
    -

    With a brand name shown on the left and toggler on the right:

    -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Navbar</a>
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="collapse navbar-collapse" id="navbarTogglerDemo02">
    -      <ul class="navbar-nav me-auto mb-2 mb-lg-0">
    -        <li class="nav-item">
    -          <a class="nav-link active" aria-current="page" href="#">Home</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Link</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link disabled">Disabled</a>
    -        </li>
    -      </ul>
    -      <form class="d-flex">
    -        <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
    -        <button class="btn btn-outline-success" type="submit">Search</button>
    -      </form>
    -    </div>
    -  </div>
    -</nav>
    -

    With a toggler on the left and brand name on the right:

    -
    -
  • -
    - -
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
    -  <div class="container-fluid">
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <a class="navbar-brand" href="#">Navbar</a>
    -    <div class="collapse navbar-collapse" id="navbarTogglerDemo03">
    -      <ul class="navbar-nav me-auto mb-2 mb-lg-0">
    -        <li class="nav-item">
    -          <a class="nav-link active" aria-current="page" href="#">Home</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link" href="#">Link</a>
    -        </li>
    -        <li class="nav-item">
    -          <a class="nav-link disabled">Disabled</a>
    -        </li>
    -      </ul>
    -      <form class="d-flex">
    -        <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
    -        <button class="btn btn-outline-success" type="submit">Search</button>
    -      </form>
    -    </div>
    -  </div>
    -</nav>
    -

    External content

    -

    Sometimes you want to use the collapse plugin to trigger a container element for content that structurally sits outside of the .navbar . Because our plugin works on the id and data-bs-target matching, that’s easily done!

    -
    - - -
    <div class="collapse" id="navbarToggleExternalContent">
    -  <div class="bg-dark p-4">
    -    <h5 class="text-white h4">Collapsed content</h5>
    -    <span class="text-muted">Toggleable via the navbar brand.</span>
    -  </div>
    -</div>
    -<nav class="navbar navbar-dark bg-dark">
    -  <div class="container-fluid">
    -    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -  </div>
    -</nav>
    -

    When you do this, we recommend including additional JavaScript to move the focus programmatically to the container when it is opened. Otherwise, keyboard users and users of assistive technologies will likely have a hard time finding the newly revealed content - particularly if the container that was opened comes before the toggler in the document’s structure. We also recommend making sure that the toggler has the aria-controls attribute, pointing to the id of the content container. In theory, this allows assistive technology users to jump directly from the toggler to the container it controls–but support for this is currently quite patchy.

    -

    Offcanvas

    -

    Transform your expanding and collapsing navbar into an offcanvas drawer with the offcanvas plugin. We extend both the offcanvas default styles and use our .navbar-expand-* classes to create a dynamic and flexible navigation sidebar.

    -

    In the example below, to create an offcanvas navbar that is always collapsed across all breakpoints, omit the .navbar-expand-* class entirely.

    -
    -
    - - -
    <nav class="navbar navbar-light bg-light fixed-top">
    -  <div class="container-fluid">
    -    <a class="navbar-brand" href="#">Offcanvas navbar</a>
    -    <button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar">
    -      <span class="navbar-toggler-icon"></span>
    -    </button>
    -    <div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasNavbar" aria-labelledby="offcanvasNavbarLabel">
    -      <div class="offcanvas-header">
    -        <h5 class="offcanvas-title" id="offcanvasNavbarLabel">Offcanvas</h5>
    -        <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -      </div>
    -      <div class="offcanvas-body">
    -        <ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
    -          <li class="nav-item">
    -            <a class="nav-link active" aria-current="page" href="#">Home</a>
    -          </li>
    -          <li class="nav-item">
    -            <a class="nav-link" href="#">Link</a>
    -          </li>
    -          <li class="nav-item dropdown">
    -            <a class="nav-link dropdown-toggle" href="#" id="offcanvasNavbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
    -              Dropdown
    -            </a>
    -            <ul class="dropdown-menu" aria-labelledby="offcanvasNavbarDropdown">
    -              <li><a class="dropdown-item" href="#">Action</a></li>
    -              <li><a class="dropdown-item" href="#">Another action</a></li>
    -              <li>
    -                <hr class="dropdown-divider">
    -              </li>
    -              <li><a class="dropdown-item" href="#">Something else here</a></li>
    -            </ul>
    -          </li>
    -        </ul>
    -        <form class="d-flex">
    -          <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
    -          <button class="btn btn-outline-success" type="submit">Search</button>
    -        </form>
    -      </div>
    -    </div>
    -  </div>
    -</nav>
    -

    To create an offcanvas navbar that expands into a normal navbar at a specific breakpoint like lg, use .navbar-expand-lg.

    -
    <nav class="navbar navbar-light navbar-expand-lg bg-light fixed-top">
    -  <a class="navbar-brand" href="#">Offcanvas navbar</a>
    -  <button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#navbarOffcanvasLg" aria-controls="navbarOffcanvasLg">
    -    <span class="navbar-toggler-icon"></span>
    -  </button>
    -  <div class="offcanvas offcanvas-end" tabindex="-1" id="navbarOffcanvasLg" aria-labelledby="navbarOffcanvasLgLabel">
    -    ...
    -  </div>
    -</nav>
    -

    Sass

    -

    Variables

    -
    $navbar-padding-y:                  $spacer * .5;
    -$navbar-padding-x:                  null;
    -
    -$navbar-nav-link-padding-x:         .5rem;
    -
    -$navbar-brand-font-size:            $font-size-lg;
    -// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
    -$nav-link-height:                   $font-size-base * $line-height-base + $nav-link-padding-y * 2;
    -$navbar-brand-height:               $navbar-brand-font-size * $line-height-base;
    -$navbar-brand-padding-y:            ($nav-link-height - $navbar-brand-height) * .5;
    -$navbar-brand-margin-end:           1rem;
    -
    -$navbar-toggler-padding-y:          .25rem;
    -$navbar-toggler-padding-x:          .75rem;
    -$navbar-toggler-font-size:          $font-size-lg;
    -$navbar-toggler-border-radius:      $btn-border-radius;
    -$navbar-toggler-focus-width:        $btn-focus-width;
    -$navbar-toggler-transition:         box-shadow .15s ease-in-out;
    -
    -
    $navbar-dark-color:                 rgba($white, .55);
    -$navbar-dark-hover-color:           rgba($white, .75);
    -$navbar-dark-active-color:          $white;
    -$navbar-dark-disabled-color:        rgba($white, .25);
    -$navbar-dark-toggler-icon-bg:       url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
    -$navbar-dark-toggler-border-color:  rgba($white, .1);
    -
    -$navbar-light-color:                rgba($black, .55);
    -$navbar-light-hover-color:          rgba($black, .7);
    -$navbar-light-active-color:         rgba($black, .9);
    -$navbar-light-disabled-color:       rgba($black, .3);
    -$navbar-light-toggler-icon-bg:      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
    -$navbar-light-toggler-border-color: rgba($black, .1);
    -
    -$navbar-light-brand-color:                $navbar-light-active-color;
    -$navbar-light-brand-hover-color:          $navbar-light-active-color;
    -$navbar-dark-brand-color:                 $navbar-dark-active-color;
    -$navbar-dark-brand-hover-color:           $navbar-dark-active-color;
    -
    -

    Loop

    -

    Responsive navbar expand/collapse classes (e.g., .navbar-expand-lg) are combined with the $breakpoints map and generated through a loop in scss/_navbar.scss.

    -
    // Generate series of `.navbar-expand-*` responsive classes for configuring
    -// where your navbar collapses.
    -.navbar-expand {
    -  @each $breakpoint in map-keys($grid-breakpoints) {
    -    $next: breakpoint-next($breakpoint, $grid-breakpoints);
    -    $infix: breakpoint-infix($next, $grid-breakpoints);
    -
    -    // stylelint-disable-next-line scss/selector-no-union-class-name
    -    &#{$infix} {
    -      @include media-breakpoint-up($next) {
    -        flex-wrap: nowrap;
    -        justify-content: flex-start;
    -
    -        .navbar-nav {
    -          flex-direction: row;
    -
    -          .dropdown-menu {
    -            position: absolute;
    -          }
    -
    -          .nav-link {
    -            padding-right: $navbar-nav-link-padding-x;
    -            padding-left: $navbar-nav-link-padding-x;
    -          }
    -        }
    -
    -        .navbar-nav-scroll {
    -          overflow: visible;
    -        }
    -
    -        .navbar-collapse {
    -          display: flex !important; // stylelint-disable-line declaration-no-important
    -          flex-basis: auto;
    -        }
    -
    -        .navbar-toggler {
    -          display: none;
    -        }
    -
    -        .offcanvas-header {
    -          display: none;
    -        }
    -
    -        .offcanvas {
    -          position: inherit;
    -          bottom: 0;
    -          z-index: 1000;
    -          flex-grow: 1;
    -          visibility: visible !important; // stylelint-disable-line declaration-no-important
    -          background-color: transparent;
    -          border-right: 0;
    -          border-left: 0;
    -          @include transition(none);
    -          transform: none;
    -        }
    -        .offcanvas-top,
    -        .offcanvas-bottom {
    -          height: auto;
    -          border-top: 0;
    -          border-bottom: 0;
    -        }
    -
    -        .offcanvas-body {
    -          display: flex;
    -          flex-grow: 0;
    -          padding: 0;
    -          overflow-y: visible;
    -        }
    -      }
    -    }
    -  }
    -}
    -
    + - - - + + + - + - + + const jsSnippet = event.target + .closest('.bd-code-snippet') + .querySelector('.btn-edit') + .getAttribute('data-sb-js-snippet'); + StackBlitzSDK.openBootstrapSnippet(htmlSnippet, jsSnippet, classes); + }); + }); - + StackBlitzSDK.openBootstrapSnippet = ( + htmlSnippet, + jsSnippet, + classes + ) => { + const markup = ` + + + + + + + Bootstrap Example + <${'script'} src="index.html\/\/cdn\.jsdelivr\.net\/npm\/bootstrap@5\.3\.0\-alpha3\/dist\/js\/bootstrap\.bundle\.min\.js"> + + + +${htmlSnippet.replace(/^/gm, ' ')} + + +`; + const jsSnippetContent = jsSnippet + ? '\/\/ NOTICE!!! Initially embedded in our docs this JavaScript\n\/\/ file contains elements that can help you create reproducible\n\/\/ use cases in StackBlitz for instance\.\n\/\/ In a real project please adapt this content to your needs\.\n\/\/ \u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\n\n\/\*!\n \* JavaScript for Bootstrap\u0027s docs \(https:\/\/getbootstrap\.com\/\)\n \* Copyright 2011\-2023 The Bootstrap Authors\n \* Licensed under the Creative Commons Attribution 3\.0 Unported License\.\n \* For details, see https:\/\/creativecommons\.org\/licenses\/by\/3\.0\/\.\n \*\/\n\n\/\* global bootstrap: false \*\/\n\n\(\(\) =\u003e \{\n \u0027use strict\u0027\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Tooltips\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all tooltips in a docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022tooltip\u0022\]\u0027\)\n \.forEach\(tooltip =\u003e \{\n new bootstrap\.Tooltip\(tooltip\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Popovers\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all popovers in docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022popover\u0022\]\u0027\)\n \.forEach\(popover =\u003e \{\n new bootstrap\.Popover\(popover\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Toasts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used by \u0027Placement\u0027 example in docs or StackBlitz\n const toastPlacement = document\.getElementById\(\u0027toastPlacement\u0027\)\n if \(toastPlacement\) \{\n document\.getElementById\(\u0027selectToastPlacement\u0027\)\.addEventListener\(\u0027change\u0027, function \(\) \{\n if \(!toastPlacement\.dataset\.originalClass\) \{\n toastPlacement\.dataset\.originalClass = toastPlacement\.className\n \}\n\n toastPlacement\.className = `\$\{toastPlacement\.dataset\.originalClass\} \$\{this\.value\}`\n \}\)\n \}\n\n \/\/ Instantiate all toasts in docs pages only\n document\.querySelectorAll\(\u0027\.bd\-example \.toast\u0027\)\n \.forEach\(toastNode =\u003e \{\n const toast = new bootstrap\.Toast\(toastNode, \{\n autohide: false\n \}\)\n\n toast\.show\(\)\n \}\)\n\n \/\/ Instantiate all toasts in docs pages only\n \/\/ js\-docs\-start live\-toast\n const toastTrigger = document\.getElementById\(\u0027liveToastBtn\u0027\)\n const toastLiveExample = document\.getElementById\(\u0027liveToast\u0027\)\n\n if \(toastTrigger\) \{\n const toastBootstrap = bootstrap\.Toast\.getOrCreateInstance\(toastLiveExample\)\n toastTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n toastBootstrap\.show\(\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-toast\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Alerts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used in \u0027Show live alert\u0027 example in docs or StackBlitz\n\n \/\/ js\-docs\-start live\-alert\n const alertPlaceholder = document\.getElementById\(\u0027liveAlertPlaceholder\u0027\)\n const appendAlert = \(message, type\) =\u003e \{\n const wrapper = document\.createElement\(\u0027div\u0027\)\n wrapper\.innerHTML = \[\n `\u003cdiv class=\u0022alert alert\-\$\{type\} alert\-dismissible\u0022 role=\u0022alert\u0022\u003e`,\n ` \u003cdiv\u003e\$\{message\}\u003c\/div\u003e`,\n \u0027 \u003cbutton type=\u0022button\u0022 class=\u0022btn\-close\u0022 data\-bs\-dismiss=\u0022alert\u0022 aria\-label=\u0022Close\u0022\u003e\u003c\/button\u003e\u0027,\n \u0027\u003c\/div\u003e\u0027\n \]\.join\(\u0027\u0027\)\n\n alertPlaceholder\.append\(wrapper\)\n \}\n\n const alertTrigger = document\.getElementById\(\u0027liveAlertBtn\u0027\)\n if \(alertTrigger\) \{\n alertTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n appendAlert\(\u0027Nice, you triggered this alert message!\u0027, \u0027success\u0027\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-alert\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Carousels\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all non\-autoplaying carousels in docs or StackBlitz\n document\.querySelectorAll\(\u0027\.carousel:not\(\[data\-bs\-ride=\u0022carousel\u0022\]\)\u0027\)\n \.forEach\(carousel =\u003e \{\n bootstrap\.Carousel\.getOrCreateInstance\(carousel\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Checks \u0026 Radios\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Indeterminate checkbox example in docs and StackBlitz\n document\.querySelectorAll\(\u0027\.bd\-example\-indeterminate \[type=\u0022checkbox\u0022\]\u0027\)\n \.forEach\(checkbox =\u003e \{\n if \(checkbox\.id\.includes\(\u0027Indeterminate\u0027\)\) \{\n checkbox\.indeterminate = true\n \}\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Links\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Disable empty links in docs examples only\n document\.querySelectorAll\(\u0027\.bd\-content \[href=\u0022#\u0022\]\u0027\)\n \.forEach\(link =\u003e \{\n link\.addEventListener\(\u0027click\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal \u0027Varying modal content\u0027 example in docs and StackBlitz\n \/\/ js\-docs\-start varying\-modal\-content\n const exampleModal = document\.getElementById\(\u0027exampleModal\u0027\)\n if \(exampleModal\) \{\n exampleModal\.addEventListener\(\u0027show\.bs\.modal\u0027, event =\u003e \{\n \/\/ Button that triggered the modal\n const button = event\.relatedTarget\n \/\/ Extract info from data\-bs\-\* attributes\n const recipient = button\.getAttribute\(\u0027data\-bs\-whatever\u0027\)\n \/\/ If necessary, you could initiate an Ajax request here\n \/\/ and then do the updating in a callback\.\n\n \/\/ Update the modal\u0027s content\.\n const modalTitle = exampleModal\.querySelector\(\u0027\.modal\-title\u0027\)\n const modalBodyInput = exampleModal\.querySelector\(\u0027\.modal\-body input\u0027\)\n\n modalTitle\.textContent = `New message to \$\{recipient\}`\n modalBodyInput\.value = recipient\n \}\)\n \}\n \/\/ js\-docs\-end varying\-modal\-content\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Offcanvas\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ \u0027Offcanvas components\u0027 example in docs only\n const myOffcanvas = document\.querySelectorAll\(\u0027\.bd\-example\-offcanvas \.offcanvas\u0027\)\n if \(myOffcanvas\) \{\n myOffcanvas\.forEach\(offcanvas =\u003e \{\n offcanvas\.addEventListener\(\u0027show\.bs\.offcanvas\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}, false\)\n \}\)\n \}\n\}\)\(\)\n' + : null; + const project = { + files: { + 'index.html': markup, + 'index.js': jsSnippetContent, + }, + title: 'Bootstrap Example', + description: `Official example from ${window.location.href}`, + template: jsSnippet ? 'javascript' : 'html', + tags: ['bootstrap'], + }; + StackBlitzSDK.openProject(project, { openFile: 'index.html' }); + }; + + - + diff --git a/components/navs-tabs/index.html b/components/navs-tabs/index.html index 6aa8407..d918727 100644 --- a/components/navs-tabs/index.html +++ b/components/navs-tabs/index.html @@ -1,1237 +1,4423 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Navs and tabs · Bootstrap v5.3 -Navs and tabs · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
    + + +
    +
    +
    + +

    Navs and tabs

    +
    +

    + Documentation and examples for how to use Bootstrap’s included + navigation components. +

    - -
  • - - -
  • -
  • -
  • - - Migration - -
  • - - - +
    +

    + Base nav + +

    +

    + Navigation available in Bootstrap share general markup and styles, + from the base .nav class to the active and disabled + states. Swap modifier classes to switch between each style. +

    +

    + The base .nav component is built with flexbox and + provide a strong foundation for building all types of navigation + components. It includes some style overrides (for working with + lists), some link padding for larger hit areas, and basic disabled + styling. +

    +
    +

    + The base .nav component does not include any + .active state. The following examples include the + class, mainly to demonstrate that this particular class does not + trigger any special styling. +

    +

    + To convey the active state to assistive technologies, use the + aria-current attribute — using the + page value for current page, or true for + the current item in a set. +

    +
    -
    -
    -
    - View on GitHub -

    Navs and tabs

    -
    -

    Documentation and examples for how to use Bootstrap’s included navigation components.

    - +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    -
    +

    + Classes are used throughout, so your markup can be super flexible. + Use <ul>s like above, <ol> if + the order of your items is important, or roll your own with a + <nav> element. Because the .nav uses + display: flex, the nav links behave the same as nav + items would, but without the extra markup. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav class="nav">
    +  <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  <a class="nav-link" href="#">Link</a>
    +  <a class="nav-link" href="#">Link</a>
    +  <a class="nav-link disabled">Disabled</a>
    +</nav>
    +
    +
    +

    + Available styles + +

    +

    + Change the style of .navs component with modifiers and + utilities. Mix and match as needed, or build your own. +

    +

    + Horizontal alignment + +

    +

    + Change the horizontal alignment of your nav with + flexbox utilities. By default, navs are left-aligned, but you can easily change them + to center or right aligned. +

    +

    Centered with .justify-content-center:

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav justify-content-center">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    - +

    Right-aligned with .justify-content-end:

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav justify-content-end">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    +

    + Vertical + +

    +

    + Stack your navigation by changing the flex item direction with the + .flex-column utility. Need to stack them on some + viewports but not others? Use the responsive versions (e.g., + .flex-sm-column). +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav flex-column">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    -
    - - -

    Base nav

    -

    Navigation available in Bootstrap share general markup and styles, from the base .nav class to the active and disabled states. Swap modifier classes to switch between each style.

    -

    The base .nav component is built with flexbox and provide a strong foundation for building all types of navigation components. It includes some style overrides (for working with lists), some link padding for larger hit areas, and basic disabled styling.

    -
    -

    The base .nav component does not include any .active state. The following examples include the class, mainly to demonstrate that this particular class does not trigger any special styling.

    -

    To convey the active state to assistive technologies, use the aria-current attribute — using the page value for current page, or true for the current item in a set.

    - -
    - -
    - -
    <ul class="nav">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    Classes are used throughout, so your markup can be super flexible. Use <ul>s like above, <ol> if the order of your items is important, or roll your own with a <nav> element. Because the .nav uses display: flex, the nav links behave the same as nav items would, but without the extra markup.

    -
    - -
    <nav class="nav">
    -  <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  <a class="nav-link" href="#">Link</a>
    -  <a class="nav-link" href="#">Link</a>
    -  <a class="nav-link disabled">Disabled</a>
    -</nav>
    -

    Available styles

    -

    Change the style of .navs component with modifiers and utilities. Mix and match as needed, or build your own.

    -

    Horizontal alignment

    -

    Change the horizontal alignment of your nav with flexbox utilities. By default, navs are left-aligned, but you can easily change them to center or right aligned.

    -

    Centered with .justify-content-center:

    -
    - -
    <ul class="nav justify-content-center">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    Right-aligned with .justify-content-end:

    -
    - -
    <ul class="nav justify-content-end">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    Vertical

    -

    Stack your navigation by changing the flex item direction with the .flex-column utility. Need to stack them on some viewports but not others? Use the responsive versions (e.g., .flex-sm-column).

    -
    - -
    <ul class="nav flex-column">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    As always, vertical navigation is possible without <ul>s, too.

    -
    - -
    <nav class="nav flex-column">
    -  <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  <a class="nav-link" href="#">Link</a>
    -  <a class="nav-link" href="#">Link</a>
    -  <a class="nav-link disabled">Disabled</a>
    -</nav>
    -

    Tabs

    -

    Takes the basic nav from above and adds the .nav-tabs class to generate a tabbed interface. Use them to create tabbable regions with our tab JavaScript plugin.

    -
    - -
    <ul class="nav nav-tabs">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    Pills

    -

    Take that same HTML, but use .nav-pills instead:

    -
    - -
    <ul class="nav nav-pills">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    Fill and justify

    -

    Force your .nav’s contents to extend the full available width one of two modifier classes. To proportionately fill all available space with your .nav-items, use .nav-fill. Notice that all horizontal space is occupied, but not every nav item has the same width.

    -
    - -
    <ul class="nav nav-pills nav-fill">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Much longer nav link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    When using a <nav>-based navigation, you can safely omit .nav-item as only .nav-link is required for styling <a> elements.

    -
    <nav class="nav nav-pills nav-fill">
    -  <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  <a class="nav-link" href="#">Much longer nav link</a>
    -  <a class="nav-link" href="#">Link</a>
    -  <a class="nav-link disabled">Disabled</a>
    -</nav>
    -

    For equal-width elements, use .nav-justified. All horizontal space will be occupied by nav links, but unlike the .nav-fill above, every nav item will be the same width.

    -
    - -
    <ul class="nav nav-pills nav-justified">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Much longer nav link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    Similar to the .nav-fill example using a <nav>-based navigation.

    -
    <nav class="nav nav-pills nav-justified">
    -  <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  <a class="nav-link" href="#">Much longer nav link</a>
    -  <a class="nav-link" href="#">Link</a>
    -  <a class="nav-link disabled">Disabled</a>
    -</nav>
    -

    Working with flex utilities

    -

    If you need responsive nav variations, consider using a series of flexbox utilities. While more verbose, these utilities offer greater customization across responsive breakpoints. In the example below, our nav will be stacked on the lowest breakpoint, then adapt to a horizontal layout that fills the available width starting from the small breakpoint.

    -
    <nav class="nav nav-pills flex-column flex-sm-row">
    -  <a class="flex-sm-fill text-sm-center nav-link active" aria-current="page" href="#">Active</a>
    -  <a class="flex-sm-fill text-sm-center nav-link" href="#">Longer nav link</a>
    -  <a class="flex-sm-fill text-sm-center nav-link" href="#">Link</a>
    -  <a class="flex-sm-fill text-sm-center nav-link disabled">Disabled</a>
    -</nav>
    -

    Regarding accessibility

    -

    If you’re using navs to provide a navigation bar, be sure to add a role="navigation" to the most logical parent container of the <ul>, or wrap a <nav> element around the whole navigation. Do not add the role to the <ul> itself, as this would prevent it from being announced as an actual list by assistive technologies.

    -

    Note that navigation bars, even if visually styled as tabs with the .nav-tabs class, should not be given role="tablist", role="tab" or role="tabpanel" attributes. These are only appropriate for dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices. See JavaScript behavior for dynamic tabbed interfaces in this section for an example. The aria-current attribute is not necessary on dynamic tabbed interfaces since our JavaScript handles the selected state by adding aria-selected="true" on the active tab.

    -

    Using dropdowns

    -

    Add dropdown menus with a little extra HTML and the dropdowns JavaScript plugin.

    -

    Tabs with dropdowns

    -
    <ul class="nav nav-tabs">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item dropdown">
    -    <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Dropdown</a>
    -    <ul class="dropdown-menu">
    -      <li><a class="dropdown-item" href="#">Action</a></li>
    -      <li><a class="dropdown-item" href="#">Another action</a></li>
    -      <li><a class="dropdown-item" href="#">Something else here</a></li>
    -      <li><hr class="dropdown-divider"></li>
    -      <li><a class="dropdown-item" href="#">Separated link</a></li>
    -    </ul>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    Pills with dropdowns

    -
    <ul class="nav nav-pills">
    -  <li class="nav-item">
    -    <a class="nav-link active" aria-current="page" href="#">Active</a>
    -  </li>
    -  <li class="nav-item dropdown">
    -    <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Dropdown</a>
    -    <ul class="dropdown-menu">
    -      <li><a class="dropdown-item" href="#">Action</a></li>
    -      <li><a class="dropdown-item" href="#">Another action</a></li>
    -      <li><a class="dropdown-item" href="#">Something else here</a></li>
    -      <li><hr class="dropdown-divider"></li>
    -      <li><a class="dropdown-item" href="#">Separated link</a></li>
    -    </ul>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link" href="#">Link</a>
    -  </li>
    -  <li class="nav-item">
    -    <a class="nav-link disabled">Disabled</a>
    -  </li>
    -</ul>
    -

    Sass

    -

    Variables

    -
    $nav-link-padding-y:                .5rem;
    -$nav-link-padding-x:                1rem;
    -$nav-link-font-size:                null;
    -$nav-link-font-weight:              null;
    -$nav-link-color:                    $link-color;
    -$nav-link-hover-color:              $link-hover-color;
    -$nav-link-transition:               color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    -$nav-link-disabled-color:           $gray-600;
    -
    -$nav-tabs-border-color:             $gray-300;
    -$nav-tabs-border-width:             $border-width;
    -$nav-tabs-border-radius:            $border-radius;
    -$nav-tabs-link-hover-border-color:  $gray-200 $gray-200 $nav-tabs-border-color;
    -$nav-tabs-link-active-color:        $gray-700;
    -$nav-tabs-link-active-bg:           $body-bg;
    -$nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg;
    -
    -$nav-pills-border-radius:           $border-radius;
    -$nav-pills-link-active-color:       $component-active-color;
    -$nav-pills-link-active-bg:          $component-active-bg;
    -
    -

    JavaScript behavior

    -

    Use the tab JavaScript plugin—include it individually or through the compiled bootstrap.js file—to extend our navigational tabs and pills to create tabbable panes of local content.

    -

    Dynamic tabbed interfaces, as described in the WAI ARIA Authoring Practices, require role="tablist", role="tab", role="tabpanel", and additional aria- attributes in order to convey their structure, functionality and current state to users of assistive technologies (such as screen readers). As a best practice, we recommend using <button> elements for the tabs, as these are controls that trigger a dynamic change, rather than links that navigate to a new page or location.

    -

    Note that dynamic tabbed interfaces should not contain dropdown menus, as this causes both usability and accessibility issues. From a usability perspective, the fact that the currently displayed tab’s trigger element is not immediately visible (as it’s inside the closed dropdown menu) can cause confusion. From an accessibility point of view, there is currently no sensible way to map this sort of construct to a standard WAI ARIA pattern, meaning that it cannot be easily made understandable to users of assistive technologies.

    -
    - -
    -
    -

    This is some placeholder content the Home tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -

    This is some placeholder content the Profile tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -

    This is some placeholder content the Contact tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -
    -
    <ul class="nav nav-tabs" id="myTab" role="tablist">
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home" type="button" role="tab" aria-controls="home" aria-selected="true">Home</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile" type="button" role="tab" aria-controls="profile" aria-selected="false">Profile</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="contact-tab" data-bs-toggle="tab" data-bs-target="#contact" type="button" role="tab" aria-controls="contact" aria-selected="false">Contact</button>
    -  </li>
    -</ul>
    -<div class="tab-content" id="myTabContent">
    -  <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">...</div>
    -  <div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
    -  <div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">...</div>
    -</div>
    -

    To help fit your needs, this works with <ul>-based markup, as shown above, or with any arbitrary “roll your own” markup. Note that if you’re using <nav>, you shouldn’t add role="tablist" directly to it, as this would override the element’s native role as a navigation landmark. Instead, switch to an alternative element (in the example below, a simple <div>) and wrap the <nav> around it.

    -
    - - -
    -
    <nav>
    -  <div class="nav nav-tabs" id="nav-tab" role="tablist">
    -    <button class="nav-link active" id="nav-home-tab" data-bs-toggle="tab" data-bs-target="#nav-home" type="button" role="tab" aria-controls="nav-home" aria-selected="true">Home</button>
    -    <button class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" data-bs-target="#nav-profile" type="button" role="tab" aria-controls="nav-profile" aria-selected="false">Profile</button>
    -    <button class="nav-link" id="nav-contact-tab" data-bs-toggle="tab" data-bs-target="#nav-contact" type="button" role="tab" aria-controls="nav-contact" aria-selected="false">Contact</button>
    -  </div>
    -</nav>
    -<div class="tab-content" id="nav-tabContent">
    -  <div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">...</div>
    -  <div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab">...</div>
    -  <div class="tab-pane fade" id="nav-contact" role="tabpanel" aria-labelledby="nav-contact-tab">...</div>
    -</div>
    -

    The tabs plugin also works with pills.

    -
    - -
    -
    -

    This is some placeholder content the Home tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -

    This is some placeholder content the Profile tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -

    This is some placeholder content the Contact tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -
    -
    <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link active" id="pills-home-tab" data-bs-toggle="pill" data-bs-target="#pills-home" type="button" role="tab" aria-controls="pills-home" aria-selected="true">Home</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="pills-profile-tab" data-bs-toggle="pill" data-bs-target="#pills-profile" type="button" role="tab" aria-controls="pills-profile" aria-selected="false">Profile</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="pills-contact-tab" data-bs-toggle="pill" data-bs-target="#pills-contact" type="button" role="tab" aria-controls="pills-contact" aria-selected="false">Contact</button>
    -  </li>
    -</ul>
    -<div class="tab-content" id="pills-tabContent">
    -  <div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">...</div>
    -  <div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">...</div>
    -  <div class="tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab">...</div>
    -</div>
    -

    And with vertical pills.

    -
    -
    - -
    -
    -

    This is some placeholder content the Home tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -

    This is some placeholder content the Profile tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -

    This is some placeholder content the Messages tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -

    This is some placeholder content the Settings tab's associated content. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling. You can use it with tabs, pills, and any other .nav-powered navigation.

    -
    -
    -
    -
    -
    <div class="d-flex align-items-start">
    -  <div class="nav flex-column nav-pills me-3" id="v-pills-tab" role="tablist" aria-orientation="vertical">
    -    <button class="nav-link active" id="v-pills-home-tab" data-bs-toggle="pill" data-bs-target="#v-pills-home" type="button" role="tab" aria-controls="v-pills-home" aria-selected="true">Home</button>
    -    <button class="nav-link" id="v-pills-profile-tab" data-bs-toggle="pill" data-bs-target="#v-pills-profile" type="button" role="tab" aria-controls="v-pills-profile" aria-selected="false">Profile</button>
    -    <button class="nav-link" id="v-pills-messages-tab" data-bs-toggle="pill" data-bs-target="#v-pills-messages" type="button" role="tab" aria-controls="v-pills-messages" aria-selected="false">Messages</button>
    -    <button class="nav-link" id="v-pills-settings-tab" data-bs-toggle="pill" data-bs-target="#v-pills-settings" type="button" role="tab" aria-controls="v-pills-settings" aria-selected="false">Settings</button>
    -  </div>
    -  <div class="tab-content" id="v-pills-tabContent">
    -    <div class="tab-pane fade show active" id="v-pills-home" role="tabpanel" aria-labelledby="v-pills-home-tab">...</div>
    -    <div class="tab-pane fade" id="v-pills-profile" role="tabpanel" aria-labelledby="v-pills-profile-tab">...</div>
    -    <div class="tab-pane fade" id="v-pills-messages" role="tabpanel" aria-labelledby="v-pills-messages-tab">...</div>
    -    <div class="tab-pane fade" id="v-pills-settings" role="tabpanel" aria-labelledby="v-pills-settings-tab">...</div>
    -  </div>
    -</div>
    -

    Using data attributes

    -

    You can activate a tab or pill navigation without writing any JavaScript by simply specifying data-bs-toggle="tab" or data-bs-toggle="pill" on an element. Use these data attributes on .nav-tabs or .nav-pills.

    -
    <!-- Nav tabs -->
    -<ul class="nav nav-tabs" id="myTab" role="tablist">
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home" type="button" role="tab" aria-controls="home" aria-selected="true">Home</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile" type="button" role="tab" aria-controls="profile" aria-selected="false">Profile</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="messages-tab" data-bs-toggle="tab" data-bs-target="#messages" type="button" role="tab" aria-controls="messages" aria-selected="false">Messages</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="settings-tab" data-bs-toggle="tab" data-bs-target="#settings" type="button" role="tab" aria-controls="settings" aria-selected="false">Settings</button>
    -  </li>
    -</ul>
    -
    -<!-- Tab panes -->
    -<div class="tab-content">
    -  <div class="tab-pane active" id="home" role="tabpanel" aria-labelledby="home-tab">...</div>
    -  <div class="tab-pane" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
    -  <div class="tab-pane" id="messages" role="tabpanel" aria-labelledby="messages-tab">...</div>
    -  <div class="tab-pane" id="settings" role="tabpanel" aria-labelledby="settings-tab">...</div>
    -</div>
    -

    Via JavaScript

    -

    Enable tabbable tabs via JavaScript (each tab needs to be activated individually):

    -
    var triggerTabList = [].slice.call(document.querySelectorAll('#myTab button'))
    -triggerTabList.forEach(function (triggerEl) {
    -  var tabTrigger = new bootstrap.Tab(triggerEl)
    -
    -  triggerEl.addEventListener('click', function (event) {
    -    event.preventDefault()
    -    tabTrigger.show()
    -  })
    -})
    -

    You can activate individual tabs in several ways:

    -
    var triggerEl = document.querySelector('#myTab button[data-bs-target="#profile"]')
    -bootstrap.Tab.getInstance(triggerEl).show() // Select tab by name
    -
    -var triggerFirstTabEl = document.querySelector('#myTab li:first-child button')
    -bootstrap.Tab.getInstance(triggerFirstTabEl).show() // Select first tab
    -

    Fade effect

    -

    To make tabs fade in, add .fade to each .tab-pane. The first tab pane must also have .show to make the initial content visible.

    -
    <div class="tab-content">
    -  <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">...</div>
    -  <div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
    -  <div class="tab-pane fade" id="messages" role="tabpanel" aria-labelledby="messages-tab">...</div>
    -  <div class="tab-pane fade" id="settings" role="tabpanel" aria-labelledby="settings-tab">...</div>
    -</div>
    -

    Methods

    -
    -

    Asynchronous methods and transitions

    -

    All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

    -

    See our JavaScript documentation for more information.

    - -
    - -

    constructor

    -

    Activates a tab element and content container. Tab should have either a data-bs-target or, if using a link, an href attribute, targeting a container node in the DOM.

    -
    <ul class="nav nav-tabs" id="myTab" role="tablist">
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home" type="button" role="tab" aria-controls="home" aria-selected="true">Home</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile" type="button" role="tab" aria-controls="profile" aria-selected="false">Profile</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="messages-tab" data-bs-toggle="tab" data-bs-target="#messages" type="button" role="tab" aria-controls="messages" aria-selected="false">Messages</button>
    -  </li>
    -  <li class="nav-item" role="presentation">
    -    <button class="nav-link" id="settings-tab" data-bs-toggle="tab" data-bs-target="#settings" type="button" role="tab" aria-controls="settings" aria-selected="false">Settings</button>
    -  </li>
    -</ul>
    -
    -<div class="tab-content">
    -  <div class="tab-pane active" id="home" role="tabpanel" aria-labelledby="home-tab">...</div>
    -  <div class="tab-pane" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
    -  <div class="tab-pane" id="messages" role="tabpanel" aria-labelledby="messages-tab">...</div>
    -  <div class="tab-pane" id="settings" role="tabpanel" aria-labelledby="settings-tab">...</div>
    -</div>
    -
    -<script>
    -  var firstTabEl = document.querySelector('#myTab li:last-child button')
    -  var firstTab = new bootstrap.Tab(firstTabEl)
    -
    -  firstTab.show()
    -</script>
    -

    show

    -

    Selects the given tab and shows its associated pane. Any other tab that was previously selected becomes unselected and its associated pane is hidden. Returns to the caller before the tab pane has actually been shown (i.e. before the shown.bs.tab event occurs).

    -
      var someTabTriggerEl = document.querySelector('#someTabTrigger')
    -  var tab = new bootstrap.Tab(someTabTriggerEl)
    -
    -  tab.show()
    -

    dispose

    -

    Destroys an element’s tab.

    -

    getInstance

    -

    Static method which allows you to get the tab instance associated with a DOM element

    -
    var triggerEl = document.querySelector('#trigger')
    -var tab = bootstrap.Tab.getInstance(triggerEl) // Returns a Bootstrap tab instance
    -

    getOrCreateInstance

    -

    Static method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn’t initialized

    -
    var triggerEl = document.querySelector('#trigger')
    -var tab = bootstrap.Tab.getOrCreateInstance(triggerEl) // Returns a Bootstrap tab instance
    -

    Events

    -

    When showing a new tab, the events fire in the following order:

    -
      -
    1. hide.bs.tab (on the current active tab)
    2. -
    3. show.bs.tab (on the to-be-shown tab)
    4. -
    5. hidden.bs.tab (on the previous active tab, the same one as for the hide.bs.tab event)
    6. -
    7. shown.bs.tab (on the newly-active just-shown tab, the same one as for the show.bs.tab event)
    8. -
    -

    If no tab was already active, then the hide.bs.tab and hidden.bs.tab events will not be fired.

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Event typeDescription
    show.bs.tabThis event fires on tab show, but before the new tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
    shown.bs.tabThis event fires on tab show after a tab has been shown. Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.
    hide.bs.tabThis event fires when a new tab is to be shown (and thus the previous active tab is to be hidden). Use event.target and event.relatedTarget to target the current active tab and the new soon-to-be-active tab, respectively.
    hidden.bs.tabThis event fires after a new tab is shown (and thus the previous active tab is hidden). Use event.target and event.relatedTarget to target the previous active tab and the new active tab, respectively.
    -
    var tabEl = document.querySelector('button[data-bs-toggle="tab"]')
    -tabEl.addEventListener('shown.bs.tab', function (event) {
    -  event.target // newly activated tab
    -  event.relatedTarget // previous active tab
    -})
    -
    -
    -
    -
    +

    + As always, vertical navigation is possible without + <ul>s, too. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav class="nav flex-column">
    +  <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  <a class="nav-link" href="#">Link</a>
    +  <a class="nav-link" href="#">Link</a>
    +  <a class="nav-link disabled">Disabled</a>
    +</nav>
    +
    +
    +

    + Tabs + +

    +

    + Takes the basic nav from above and adds the + .nav-tabs class to generate a tabbed interface. Use + them to create tabbable regions with our + tab JavaScript plugin. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav nav-tabs">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    -
    -
    -
    -
    - - Bootstrap - Bootstrap - - -
    -
    -
    Links
    - -
    - -
    -
    Projects
    - -
    - +

    + Pills + +

    +

    Take that same HTML, but use .nav-pills instead:

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav nav-pills">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    + +

    + Underline + +

    +

    + Take that same HTML, but use .nav-underline instead: +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav nav-underline">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    + +

    + Fill and justify + +

    +

    + Force your .nav’s contents to extend the full + available width one of two modifier classes. To proportionately fill + all available space with your .nav-items, use + .nav-fill. Notice that all horizontal space is + occupied, but not every nav item has the same width. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav nav-pills nav-fill">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Much longer nav link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    + +

    + When using a <nav>-based navigation, you can + safely omit .nav-item as only .nav-link is + required for styling <a> elements. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <nav class="nav nav-pills nav-fill">
    +  <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  <a class="nav-link" href="#">Much longer nav link</a>
    +  <a class="nav-link" href="#">Link</a>
    +  <a class="nav-link disabled">Disabled</a>
    +</nav>
    +
    +
    + +

    + For equal-width elements, use .nav-justified. All + horizontal space will be occupied by nav links, but unlike the + .nav-fill above, every nav item will be the same width. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav nav-pills nav-justified">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Much longer nav link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    + +

    + Similar to the .nav-fill example using a + <nav>-based navigation. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <nav class="nav nav-pills nav-justified">
    +  <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  <a class="nav-link" href="#">Much longer nav link</a>
    +  <a class="nav-link" href="#">Link</a>
    +  <a class="nav-link disabled">Disabled</a>
    +</nav>
    +
    +
    + +

    + Working with flex utilities + +

    +

    + If you need responsive nav variations, consider using a series of + flexbox utilities. + While more verbose, these utilities offer greater customization + across responsive breakpoints. In the example below, our nav will be + stacked on the lowest breakpoint, then adapt to a horizontal layout + that fills the available width starting from the small breakpoint. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <nav class="nav nav-pills flex-column flex-sm-row">
    +  <a class="flex-sm-fill text-sm-center nav-link active" aria-current="page" href="#">Active</a>
    +  <a class="flex-sm-fill text-sm-center nav-link" href="#">Longer nav link</a>
    +  <a class="flex-sm-fill text-sm-center nav-link" href="#">Link</a>
    +  <a class="flex-sm-fill text-sm-center nav-link disabled">Disabled</a>
    +</nav>
    +
    +
    + +

    + Regarding accessibility + +

    +

    + If you’re using navs to provide a navigation bar, be sure to + add a role="navigation" to the most logical + parent container of the <ul>, or wrap a + <nav> element around the whole navigation. Do not + add the role to the <ul> itself, as this would + prevent it from being announced as an actual list by assistive + technologies. +

    +

    + Note that navigation bars, even if visually styled as tabs with the + .nav-tabs class, should not be given + role="tablist", + role="tab" or + role="tabpanel" attributes. These are only + appropriate for dynamic tabbed interfaces, as described in the + ARIA Authoring Practices Guide tabs pattern. See JavaScript behavior for + dynamic tabbed interfaces in this section for an example. The + aria-current attribute is not necessary on dynamic + tabbed interfaces since our JavaScript handles the selected state by + adding aria-selected="true" on the active + tab. +

    +

    + Using dropdowns + +

    +

    + Add dropdown menus with a little extra HTML and the + dropdowns JavaScript plugin. +

    +

    + Tabs with dropdowns + +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav nav-tabs">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item dropdown">
    +    <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Dropdown</a>
    +    <ul class="dropdown-menu">
    +      <li><a class="dropdown-item" href="#">Action</a></li>
    +      <li><a class="dropdown-item" href="#">Another action</a></li>
    +      <li><a class="dropdown-item" href="#">Something else here</a></li>
    +      <li><hr class="dropdown-divider"></li>
    +      <li><a class="dropdown-item" href="#">Separated link</a></li>
    +    </ul>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    + +

    + Pills with dropdowns + +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <ul class="nav nav-pills">
    +  <li class="nav-item">
    +    <a class="nav-link active" aria-current="page" href="#">Active</a>
    +  </li>
    +  <li class="nav-item dropdown">
    +    <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Dropdown</a>
    +    <ul class="dropdown-menu">
    +      <li><a class="dropdown-item" href="#">Action</a></li>
    +      <li><a class="dropdown-item" href="#">Another action</a></li>
    +      <li><a class="dropdown-item" href="#">Something else here</a></li>
    +      <li><hr class="dropdown-divider"></li>
    +      <li><a class="dropdown-item" href="#">Separated link</a></li>
    +    </ul>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link" href="#">Link</a>
    +  </li>
    +  <li class="nav-item">
    +    <a class="nav-link disabled">Disabled</a>
    +  </li>
    +</ul>
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, navs + now use local CSS variables on .nav, + .nav-tabs, and .nav-pills for enhanced + real-time customization. Values for the CSS variables are set via + Sass, so Sass customization is still supported, too. +

    +

    On the .nav base class:

    +
    +
    + scss/_nav.scss +
    + +
    +
    +
    +
    --#{$prefix}nav-link-padding-x: #{$nav-link-padding-x};
    +--#{$prefix}nav-link-padding-y: #{$nav-link-padding-y};
    +@include rfs($nav-link-font-size, --#{$prefix}nav-link-font-size);
    +--#{$prefix}nav-link-font-weight: #{$nav-link-font-weight};
    +--#{$prefix}nav-link-color: #{$nav-link-color};
    +--#{$prefix}nav-link-hover-color: #{$nav-link-hover-color};
    +--#{$prefix}nav-link-disabled-color: #{$nav-link-disabled-color};
    +
    +
    +

    On the .nav-tabs modifier class:

    +
    +
    + scss/_nav.scss +
    + +
    +
    +
    +
    --#{$prefix}nav-tabs-border-width: #{$nav-tabs-border-width};
    +--#{$prefix}nav-tabs-border-color: #{$nav-tabs-border-color};
    +--#{$prefix}nav-tabs-border-radius: #{$nav-tabs-border-radius};
    +--#{$prefix}nav-tabs-link-hover-border-color: #{$nav-tabs-link-hover-border-color};
    +--#{$prefix}nav-tabs-link-active-color: #{$nav-tabs-link-active-color};
    +--#{$prefix}nav-tabs-link-active-bg: #{$nav-tabs-link-active-bg};
    +--#{$prefix}nav-tabs-link-active-border-color: #{$nav-tabs-link-active-border-color};
    +
    +
    +

    On the .nav-pills modifier class:

    +
    +
    + scss/_nav.scss +
    + +
    +
    +
    +
    --#{$prefix}nav-pills-border-radius: #{$nav-pills-border-radius};
    +--#{$prefix}nav-pills-link-active-color: #{$nav-pills-link-active-color};
    +--#{$prefix}nav-pills-link-active-bg: #{$nav-pills-link-active-bg};
    +
    +
    + Added in v5.3.0 + +

    On the .nav-underline modifier class:

    +
    +
    + scss/_nav.scss +
    + +
    +
    +
    +
    --#{$prefix}nav-underline-gap: #{$nav-underline-gap};
    +--#{$prefix}nav-underline-border-width: #{$nav-underline-border-width};
    +--#{$prefix}nav-underline-link-active-color: #{$nav-underline-link-active-color};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $nav-link-padding-y:                .5rem;
    +$nav-link-padding-x:                1rem;
    +$nav-link-font-size:                null;
    +$nav-link-font-weight:              null;
    +$nav-link-color:                    var(--#{$prefix}link-color);
    +$nav-link-hover-color:              var(--#{$prefix}link-hover-color);
    +$nav-link-transition:               color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    +$nav-link-disabled-color:           var(--#{$prefix}secondary-color);
    +$nav-link-focus-box-shadow:         $focus-ring-box-shadow;
    +
    +$nav-tabs-border-color:             var(--#{$prefix}border-color);
    +$nav-tabs-border-width:             var(--#{$prefix}border-width);
    +$nav-tabs-border-radius:            var(--#{$prefix}border-radius);
    +$nav-tabs-link-hover-border-color:  var(--#{$prefix}secondary-bg) var(--#{$prefix}secondary-bg) $nav-tabs-border-color;
    +$nav-tabs-link-active-color:        var(--#{$prefix}emphasis-color);
    +$nav-tabs-link-active-bg:           var(--#{$prefix}body-bg);
    +$nav-tabs-link-active-border-color: var(--#{$prefix}border-color) var(--#{$prefix}border-color) $nav-tabs-link-active-bg;
    +
    +$nav-pills-border-radius:           var(--#{$prefix}border-radius);
    +$nav-pills-link-active-color:       $component-active-color;
    +$nav-pills-link-active-bg:          $component-active-bg;
    +
    +$nav-underline-gap:                 1rem;
    +$nav-underline-border-width:        .125rem;
    +$nav-underline-link-active-color:   var(--#{$prefix}emphasis-color);
    +
    +
    +
    +

    + JavaScript behavior + +

    +

    + Use the tab JavaScript plugin—include it individually or through the + compiled bootstrap.js file—to extend our navigational + tabs and pills to create tabbable panes of local content. +

    +
    + +
    +
    +

    + This is some placeholder content the + Home tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the content + visibility and styling. You can use it with tabs, pills, and + any other .nav-powered navigation. +

    +
    +
    +

    + This is some placeholder content the + Profile tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the content + visibility and styling. You can use it with tabs, pills, and + any other .nav-powered navigation. +

    +
    +
    +

    + This is some placeholder content the + Contact tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the content + visibility and styling. You can use it with tabs, pills, and + any other .nav-powered navigation. +

    +
    +
    +

    + This is some placeholder content the + Disabled tab's associated content. +

    +
    +
    +
    +
    +
    <ul class="nav nav-tabs" id="myTab" role="tablist">
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home-tab-pane" type="button" role="tab" aria-controls="home-tab-pane" aria-selected="true">Home</button>
    +  </li>
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile-tab-pane" type="button" role="tab" aria-controls="profile-tab-pane" aria-selected="false">Profile</button>
    +  </li>
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link" id="contact-tab" data-bs-toggle="tab" data-bs-target="#contact-tab-pane" type="button" role="tab" aria-controls="contact-tab-pane" aria-selected="false">Contact</button>
    +  </li>
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link" id="disabled-tab" data-bs-toggle="tab" data-bs-target="#disabled-tab-pane" type="button" role="tab" aria-controls="disabled-tab-pane" aria-selected="false" disabled>Disabled</button>
    +  </li>
    +</ul>
    +<div class="tab-content" id="myTabContent">
    +  <div class="tab-pane fade show active" id="home-tab-pane" role="tabpanel" aria-labelledby="home-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="profile-tab-pane" role="tabpanel" aria-labelledby="profile-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="contact-tab-pane" role="tabpanel" aria-labelledby="contact-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="disabled-tab-pane" role="tabpanel" aria-labelledby="disabled-tab" tabindex="0">...</div>
    +</div>
    +
    +
    +

    + To help fit your needs, this works with + <ul>-based markup, as shown above, or with any + arbitrary “roll your own” markup. Note that if + you’re using <nav>, you shouldn’t add + role="tablist" directly to it, as this would + override the element’s native role as a navigation landmark. + Instead, switch to an alternative element (in the example below, a + simple <div>) and wrap the + <nav> around it. +

    +
    + + +
    +
    +
    <nav>
    +  <div class="nav nav-tabs" id="nav-tab" role="tablist">
    +    <button class="nav-link active" id="nav-home-tab" data-bs-toggle="tab" data-bs-target="#nav-home" type="button" role="tab" aria-controls="nav-home" aria-selected="true">Home</button>
    +    <button class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" data-bs-target="#nav-profile" type="button" role="tab" aria-controls="nav-profile" aria-selected="false">Profile</button>
    +    <button class="nav-link" id="nav-contact-tab" data-bs-toggle="tab" data-bs-target="#nav-contact" type="button" role="tab" aria-controls="nav-contact" aria-selected="false">Contact</button>
    +    <button class="nav-link" id="nav-disabled-tab" data-bs-toggle="tab" data-bs-target="#nav-disabled" type="button" role="tab" aria-controls="nav-disabled" aria-selected="false" disabled>Disabled</button>
    +  </div>
    +</nav>
    +<div class="tab-content" id="nav-tabContent">
    +  <div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="nav-contact" role="tabpanel" aria-labelledby="nav-contact-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="nav-disabled" role="tabpanel" aria-labelledby="nav-disabled-tab" tabindex="0">...</div>
    +</div>
    +
    +
    +

    The tabs plugin also works with pills.

    +
    + +
    +
    +

    + This is some placeholder content the + Home tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the content + visibility and styling. You can use it with tabs, pills, and + any other .nav-powered navigation. +

    +
    +
    +

    + This is some placeholder content the + Profile tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the content + visibility and styling. You can use it with tabs, pills, and + any other .nav-powered navigation. +

    +
    +
    +

    + This is some placeholder content the + Contact tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the content + visibility and styling. You can use it with tabs, pills, and + any other .nav-powered navigation. +

    +
    +
    +

    + This is some placeholder content the + Disabled tab's associated content. +

    +
    +
    +
    +
    +
    <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link active" id="pills-home-tab" data-bs-toggle="pill" data-bs-target="#pills-home" type="button" role="tab" aria-controls="pills-home" aria-selected="true">Home</button>
    +  </li>
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link" id="pills-profile-tab" data-bs-toggle="pill" data-bs-target="#pills-profile" type="button" role="tab" aria-controls="pills-profile" aria-selected="false">Profile</button>
    +  </li>
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link" id="pills-contact-tab" data-bs-toggle="pill" data-bs-target="#pills-contact" type="button" role="tab" aria-controls="pills-contact" aria-selected="false">Contact</button>
    +  </li>
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link" id="pills-disabled-tab" data-bs-toggle="pill" data-bs-target="#pills-disabled" type="button" role="tab" aria-controls="pills-disabled" aria-selected="false" disabled>Disabled</button>
    +  </li>
    +</ul>
    +<div class="tab-content" id="pills-tabContent">
    +  <div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="pills-disabled" role="tabpanel" aria-labelledby="pills-disabled-tab" tabindex="0">...</div>
    +</div>
    +
    +
    +

    + And with vertical pills. Ideally, for vertical tabs, you should also + add aria-orientation="vertical" to the tab + list container. +

    +
    +
    + +
    +
    +

    + This is some placeholder content the + Home tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the + content visibility and styling. You can use it with tabs, + pills, and any other .nav-powered navigation. +

    +
    +
    +

    + This is some placeholder content the + Profile tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the + content visibility and styling. You can use it with tabs, + pills, and any other .nav-powered navigation. +

    +
    +
    +

    + This is some placeholder content the + Disabled tab's associated content. +

    +
    +
    +

    + This is some placeholder content the + Messages tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the + content visibility and styling. You can use it with tabs, + pills, and any other .nav-powered navigation. +

    +
    +
    +

    + This is some placeholder content the + Settings tab's associated content. Clicking + another tab will toggle the visibility of this one for the + next. The tab JavaScript swaps classes to control the + content visibility and styling. You can use it with tabs, + pills, and any other .nav-powered navigation. +

    +
    +
    +
    +
    +
    +
    <div class="d-flex align-items-start">
    +  <div class="nav flex-column nav-pills me-3" id="v-pills-tab" role="tablist" aria-orientation="vertical">
    +    <button class="nav-link active" id="v-pills-home-tab" data-bs-toggle="pill" data-bs-target="#v-pills-home" type="button" role="tab" aria-controls="v-pills-home" aria-selected="true">Home</button>
    +    <button class="nav-link" id="v-pills-profile-tab" data-bs-toggle="pill" data-bs-target="#v-pills-profile" type="button" role="tab" aria-controls="v-pills-profile" aria-selected="false">Profile</button>
    +    <button class="nav-link" id="v-pills-disabled-tab" data-bs-toggle="pill" data-bs-target="#v-pills-disabled" type="button" role="tab" aria-controls="v-pills-disabled" aria-selected="false" disabled>Disabled</button>
    +    <button class="nav-link" id="v-pills-messages-tab" data-bs-toggle="pill" data-bs-target="#v-pills-messages" type="button" role="tab" aria-controls="v-pills-messages" aria-selected="false">Messages</button>
    +    <button class="nav-link" id="v-pills-settings-tab" data-bs-toggle="pill" data-bs-target="#v-pills-settings" type="button" role="tab" aria-controls="v-pills-settings" aria-selected="false">Settings</button>
    +  </div>
    +  <div class="tab-content" id="v-pills-tabContent">
    +    <div class="tab-pane fade show active" id="v-pills-home" role="tabpanel" aria-labelledby="v-pills-home-tab" tabindex="0">...</div>
    +    <div class="tab-pane fade" id="v-pills-profile" role="tabpanel" aria-labelledby="v-pills-profile-tab" tabindex="0">...</div>
    +    <div class="tab-pane fade" id="v-pills-disabled" role="tabpanel" aria-labelledby="v-pills-disabled-tab" tabindex="0">...</div>
    +    <div class="tab-pane fade" id="v-pills-messages" role="tabpanel" aria-labelledby="v-pills-messages-tab" tabindex="0">...</div>
    +    <div class="tab-pane fade" id="v-pills-settings" role="tabpanel" aria-labelledby="v-pills-settings-tab" tabindex="0">...</div>
    +  </div>
    +</div>
    +
    +
    +

    + Accessibility + +

    +

    + Dynamic tabbed interfaces, as described in the + ARIA Authoring Practices Guide tabs pattern, require role="tablist", + role="tab", + role="tabpanel", and additional + aria- attributes in order to convey their structure, + functionality, and current state to users of assistive technologies + (such as screen readers). As a best practice, we recommend using + <button> elements for the tabs, as these are + controls that trigger a dynamic change, rather than links that + navigate to a new page or location. +

    +

    + In line with the ARIA Authoring Practices pattern, only the + currently active tab receives keyboard focus. When the JavaScript + plugin is initialized, it will set + tabindex="-1" on all inactive tab controls. + Once the currently active tab has focus, the cursor keys activate + the previous/next tab, with the plugin changing the + roving tabindex + accordingly. However, note that the JavaScript plugin does not + distinguish between horizontal and vertical tab lists when it comes + to cursor key interactions: regardless of the tab list’s + orientation, both the up and left cursor go to the previous + tab, and down and right cursor go to the next tab. +

    +
    + In general, to facilitate keyboard navigation, it’s + recommended to make the tab panels themselves focusable as well, + unless the first element containing meaningful content inside the + tab panel is already focusable. The JavaScript plugin does not try + to handle this aspect—where appropriate, you’ll need to + explicitly make your tab panels focusable by adding + tabindex="0" in your markup. +
    + +
    + The tab JavaScript plugin does not support tabbed + interfaces that contain dropdown menus, as these cause both + usability and accessibility issues. From a usability perspective, + the fact that the currently displayed tab’s trigger element is + not immediately visible (as it’s inside the closed dropdown + menu) can cause confusion. From an accessibility point of view, + there is currently no sensible way to map this sort of construct to + a standard WAI ARIA pattern, meaning that it cannot be easily made + understandable to users of assistive technologies. +
    + +

    + Using data attributes + +

    +

    + You can activate a tab or pill navigation without writing any + JavaScript by simply specifying + data-bs-toggle="tab" or + data-bs-toggle="pill" on an element. Use + these data attributes on .nav-tabs or + .nav-pills. +

    +
    +
    <!-- Nav tabs -->
    +<ul class="nav nav-tabs" id="myTab" role="tablist">
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home" type="button" role="tab" aria-controls="home" aria-selected="true">Home</button>
    +  </li>
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile" type="button" role="tab" aria-controls="profile" aria-selected="false">Profile</button>
    +  </li>
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link" id="messages-tab" data-bs-toggle="tab" data-bs-target="#messages" type="button" role="tab" aria-controls="messages" aria-selected="false">Messages</button>
    +  </li>
    +  <li class="nav-item" role="presentation">
    +    <button class="nav-link" id="settings-tab" data-bs-toggle="tab" data-bs-target="#settings" type="button" role="tab" aria-controls="settings" aria-selected="false">Settings</button>
    +  </li>
    +</ul>
    +
    +<!-- Tab panes -->
    +<div class="tab-content">
    +  <div class="tab-pane active" id="home" role="tabpanel" aria-labelledby="home-tab" tabindex="0">...</div>
    +  <div class="tab-pane" id="profile" role="tabpanel" aria-labelledby="profile-tab" tabindex="0">...</div>
    +  <div class="tab-pane" id="messages" role="tabpanel" aria-labelledby="messages-tab" tabindex="0">...</div>
    +  <div class="tab-pane" id="settings" role="tabpanel" aria-labelledby="settings-tab" tabindex="0">...</div>
    +</div>
    +
    +
    +

    + Via JavaScript + +

    +

    + Enable tabbable tabs via JavaScript (each tab needs to be activated + individually): +

    +
    +
    const triggerTabList = document.querySelectorAll('#myTab button')
    +triggerTabList.forEach(triggerEl => {
    +  const tabTrigger = new bootstrap.Tab(triggerEl)
    +
    +  triggerEl.addEventListener('click', event => {
    +    event.preventDefault()
    +    tabTrigger.show()
    +  })
    +})
    +
    +
    +

    You can activate individual tabs in several ways:

    +
    +
    const triggerEl = document.querySelector('#myTab button[data-bs-target="#profile"]')
    +bootstrap.Tab.getInstance(triggerEl).show() // Select tab by name
    +
    +const triggerFirstTabEl = document.querySelector('#myTab li:first-child button')
    +bootstrap.Tab.getInstance(triggerFirstTabEl).show() // Select first tab
    +
    +
    +

    + Fade effect + +

    +

    + To make tabs fade in, add .fade to each + .tab-pane. The first tab pane must also have + .show to make the initial content visible. +

    +
    +
    <div class="tab-content">
    +  <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="messages" role="tabpanel" aria-labelledby="messages-tab" tabindex="0">...</div>
    +  <div class="tab-pane fade" id="settings" role="tabpanel" aria-labelledby="settings-tab" tabindex="0">...</div>
    +</div>
    +
    +
    +

    + Methods + +

    +
    + All API methods are asynchronous and start a transition. + They return to the caller as soon as the transition is started, but + before it ends. In addition, a method call on a transitioning + component will be ignored. + Learn more in our JavaScript docs. +
    + +

    Activates your content as a tab element.

    +

    + You can create a tab instance with the constructor, for example: +

    +
    +
    const bsTab = new bootstrap.Tab('#myTab')
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    disposeDestroys an element’s tab.
    getInstance + Static method which allows you to get the tab instance + associated with a DOM element, you can use it like this: + bootstrap.Tab.getInstance(element). +
    getOrCreateInstance + Static method which returns a tab instance associated to a + DOM element or create a new one in case it wasn’t + initialized. You can use it like this: + bootstrap.Tab.getOrCreateInstance(element). +
    show + Selects the given tab and shows its associated pane. Any + other tab that was previously selected becomes unselected + and its associated pane is hidden. + Returns to the caller before the tab pane has actually + been shown + (i.e. before the shown.bs.tab event occurs). +
    +
    + +

    + Events + +

    +

    When showing a new tab, the events fire in the following order:

    +
      +
    1. hide.bs.tab (on the current active tab)
    2. +
    3. show.bs.tab (on the to-be-shown tab)
    4. +
    5. + hidden.bs.tab (on the previous active tab, the same + one as for the hide.bs.tab event) +
    6. +
    7. + shown.bs.tab (on the newly-active just-shown tab, the + same one as for the show.bs.tab event) +
    8. +
    +

    + If no tab was already active, then the hide.bs.tab and + hidden.bs.tab events will not be fired. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Event typeDescription
    hide.bs.tab + This event fires when a new tab is to be shown (and thus the + previous active tab is to be hidden). Use + event.target and + event.relatedTarget to target the current + active tab and the new soon-to-be-active tab, respectively. +
    hidden.bs.tab + This event fires after a new tab is shown (and thus the + previous active tab is hidden). Use + event.target and + event.relatedTarget to target the previous + active tab and the new active tab, respectively. +
    show.bs.tab + This event fires on tab show, but before the new tab has + been shown. Use event.target and + event.relatedTarget to target the active tab + and the previous active tab (if available) respectively. +
    shown.bs.tab + This event fires on tab show after a tab has been shown. Use + event.target and + event.relatedTarget to target the active tab + and the previous active tab (if available) respectively. +
    +
    + +
    +
    const tabEl = document.querySelector('button[data-bs-toggle="tab"]')
    +tabEl.addEventListener('shown.bs.tab', event => {
    +  event.target // newly activated tab
    +  event.relatedTarget // previous active tab
    +})
    +
    +
    +
    +
    - - - + + + + + - + - + + + + diff --git a/components/offcanvas/index.html b/components/offcanvas/index.html index a155af3..72130a5 100644 --- a/components/offcanvas/index.html +++ b/components/offcanvas/index.html @@ -1,878 +1,3500 @@ - - - - - - - - - - - - - - - -Offcanvas · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Offcanvas · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Offcanvas

    +
    +

    + Build hidden sidebars into your project for navigation, shopping + carts, and more with a few classes and our JavaScript plugin. +

    - -
  • - - -
  • -
  • - - -
    -
      -
    • Clearfix
    • -
    • Colored links
    • -
    • Ratio
    • -
    • Position
    • -
    • Stacks
    • -
    • Visually hidden
    • -
    • Stretched link
    • -
    • Text truncation
    • -
    • Vertical rule
    • + +
      +

      + How it works + +

      +

      + Offcanvas is a sidebar component that can be toggled via JavaScript + to appear from the left, right, top, or bottom edge of the viewport. + Buttons or anchors are used as triggers that are attached to + specific elements you toggle, and data attributes are + used to invoke our JavaScript. +

      +
        +
      • + Offcanvas shares some of the same JavaScript code as modals. + Conceptually, they are quite similar, but they are separate + plugins. +
      • +
      • + Similarly, some + source Sass variables for + offcanvas’s styles and dimensions are inherited from the + modal’s variables. +
      • +
      • + When shown, offcanvas includes a default backdrop that can be + clicked to hide the offcanvas. +
      • +
      • + Similar to modals, only one offcanvas can be shown at a time. +
      -
      - -
    • - - -
      -
        -
      • API
      • -
      • Background
      • -
      • Borders
      • -
      • Colors
      • -
      • Display
      • -
      • Flex
      • -
      • Float
      • -
      • Interactions
      • -
      • Opacity
      • -
      • Overflow
      • -
      • Position
      • -
      • Shadows
      • -
      • Sizing
      • -
      • Spacing
      • -
      • Text
      • -
      • Vertical align
      • -
      • Visibility
      • +

        + Heads up! Given how CSS handles animations, you + cannot use margin or translate on an + .offcanvas element. Instead, use the class as an + independent wrapping element. +

        +
        + The animation effect of this component is dependent on the + prefers-reduced-motion media query. See the + reduced motion section of our accessibility documentation. +
        + +

        + Examples + +

        +

        + Offcanvas components + +

        +

        + Below is an offcanvas example that is shown by default (via + .show on .offcanvas). Offcanvas includes + support for a header with a close button and an optional body class + for some initial padding. We suggest that you include + offcanvas headers with dismiss actions whenever possible, or provide + an explicit dismiss action. +

        +
        +
        +
        +
        +
        Offcanvas
        + +
        +
        + Content for the offcanvas goes here. You can place just about + any Bootstrap component or custom elements here. +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="offcanvas offcanvas-start show" tabindex="-1" id="offcanvas" aria-labelledby="offcanvasLabel">
        +  <div class="offcanvas-header">
        +    <h5 class="offcanvas-title" id="offcanvasLabel">Offcanvas</h5>
        +    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
        +  </div>
        +  <div class="offcanvas-body">
        +    Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.
        +  </div>
        +</div>
        +
        +
        + +

        + Live demo + +

        +

        + Use the buttons below to show and hide an offcanvas element via + JavaScript that toggles the .show class on an element + with the .offcanvas class. +

        +
          +
        • .offcanvas hides content (default)
        • +
        • .offcanvas.show shows content
        -
      -
    • -
    • - - -
      -
        -
      • Approach
      • -
      • Icons
      • +

        + You can use a link with the href attribute, or a button + with the data-bs-target attribute. In both cases, the + data-bs-toggle="offcanvas" is required. +

        +
        +
        + + Link with href + + + +
        +
        +
        + Offcanvas +
        + +
        +
        +
        + Some text as placeholder. In real life you can have the + elements you have chosen. Like, text, images, lists, etc. +
        + +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <a class="btn btn-primary" data-bs-toggle="offcanvas" href="#offcanvasExample" role="button" aria-controls="offcanvasExample">
        +  Link with href
        +</a>
        +<button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample" aria-controls="offcanvasExample">
        +  Button with data-bs-target
        +</button>
        +
        +<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasExample" aria-labelledby="offcanvasExampleLabel">
        +  <div class="offcanvas-header">
        +    <h5 class="offcanvas-title" id="offcanvasExampleLabel">Offcanvas</h5>
        +    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
        +  </div>
        +  <div class="offcanvas-body">
        +    <div>
        +      Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
        +    </div>
        +    <div class="dropdown mt-3">
        +      <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown">
        +        Dropdown button
        +      </button>
        +      <ul class="dropdown-menu">
        +        <li><a class="dropdown-item" href="#">Action</a></li>
        +        <li><a class="dropdown-item" href="#">Another action</a></li>
        +        <li><a class="dropdown-item" href="#">Something else here</a></li>
        +      </ul>
        +    </div>
        +  </div>
        +</div>
        +
        +
        + +

        + Body scrolling + +

        +

        + Scrolling the <body> element is disabled when an + offcanvas and its backdrop are visible. Use the + data-bs-scroll attribute to enable + <body> scrolling. +

        +
        +
        + + +
        +
        +
        + Offcanvas with body scrolling +
        + +
        +
        +

        + Try scrolling the rest of the page to see this option in + action. +

        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">Enable body scrolling</button>
        +
        +<div class="offcanvas offcanvas-start" data-bs-scroll="true" data-bs-backdrop="false" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel">
        +  <div class="offcanvas-header">
        +    <h5 class="offcanvas-title" id="offcanvasScrollingLabel">Offcanvas with body scrolling</h5>
        +    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
        +  </div>
        +  <div class="offcanvas-body">
        +    <p>Try scrolling the rest of the page to see this option in action.</p>
        +  </div>
        +</div>
        +
        +
        + +

        + Body scrolling and backdrop + +

        +

        + You can also enable <body> scrolling with a + visible backdrop. +

        +
        +
        + + +
        +
        +
        + Backdrop with scrolling +
        + +
        +
        +

        + Try scrolling the rest of the page to see this option in + action. +

        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasWithBothOptions" aria-controls="offcanvasWithBothOptions">Enable both scrolling & backdrop</button>
        +
        +<div class="offcanvas offcanvas-start" data-bs-scroll="true" tabindex="-1" id="offcanvasWithBothOptions" aria-labelledby="offcanvasWithBothOptionsLabel">
        +  <div class="offcanvas-header">
        +    <h5 class="offcanvas-title" id="offcanvasWithBothOptionsLabel">Backdrop with scrolling</h5>
        +    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
        +  </div>
        +  <div class="offcanvas-body">
        +    <p>Try scrolling the rest of the page to see this option in action.</p>
        +  </div>
        +</div>
        +
        +
        + +

        + Static backdrop + +

        +

        + When backdrop is set to static, the offcanvas will not close when + clicking outside of it. +

        +
        +
        + + +
        +
        +
        + Offcanvas +
        + +
        +
        +
        I will not close if you click outside of me.
        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#staticBackdrop" aria-controls="staticBackdrop">
        +  Toggle static offcanvas
        +</button>
        +
        +<div class="offcanvas offcanvas-start" data-bs-backdrop="static" tabindex="-1" id="staticBackdrop" aria-labelledby="staticBackdropLabel">
        +  <div class="offcanvas-header">
        +    <h5 class="offcanvas-title" id="staticBackdropLabel">Offcanvas</h5>
        +    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
        +  </div>
        +  <div class="offcanvas-body">
        +    <div>
        +      I will not close if you click outside of me.
        +    </div>
        +  </div>
        +</div>
        +
        +
        + +

        + Dark offcanvas + +

        +

        + Deprecated in v5.3.0 + Added in v5.2.0 +

        +

        + Change the appearance of offcanvases with utilities to better match + them to different contexts like dark navbars. Here we add + .text-bg-dark to the .offcanvas and + .btn-close-white to .btn-close for proper + styling with a dark offcanvas. If you have dropdowns within, + consider also adding .dropdown-menu-dark to + .dropdown-menu. +

        +
        + Heads up! Dark variants for components were deprecated in v5.3.0 + with the introduction of color modes. Instead of manually adding + classes mentioned above, set + data-bs-theme="dark" on the root element, a + parent wrapper, or the component itself. +
        + +
        +
        +
        +
        +
        + Offcanvas +
        + +
        +
        +

        Place offcanvas content here.

        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="offcanvas offcanvas-start show text-bg-dark" tabindex="-1" id="offcanvasDark" aria-labelledby="offcanvasDarkLabel">
        +  <div class="offcanvas-header">
        +    <h5 class="offcanvas-title" id="offcanvasDarkLabel">Offcanvas</h5>
        +    <button type="button" class="btn-close btn-close-white" data-bs-dismiss="offcanvasDark" aria-label="Close"></button>
        +  </div>
        +  <div class="offcanvas-body">
        +    <p>Place offcanvas content here.</p>
        +  </div>
        +</div>
        +
        +
        + +

        + Responsive + +

        + Added in v5.2.0 + +

        + Responsive offcanvas classes hide content outside the viewport from + a specified breakpoint and down. Above that breakpoint, the contents + within will behave as usual. For example, + .offcanvas-lg hides content in an offcanvas below the + lg breakpoint, but shows the content above the + lg breakpoint. +

        +
        +
        + + +
        + Resize your browser to show the responsive offcanvas toggle. +
        + +
        +
        +
        + Responsive offcanvas +
        + +
        +
        +

        + This is content within an .offcanvas-lg. +

        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <button class="btn btn-primary d-lg-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasResponsive" aria-controls="offcanvasResponsive">Toggle offcanvas</button>
        +
        +<div class="alert alert-info d-none d-lg-block">Resize your browser to show the responsive offcanvas toggle.</div>
        +
        +<div class="offcanvas-lg offcanvas-end" tabindex="-1" id="offcanvasResponsive" aria-labelledby="offcanvasResponsiveLabel">
        +  <div class="offcanvas-header">
        +    <h5 class="offcanvas-title" id="offcanvasResponsiveLabel">Responsive offcanvas</h5>
        +    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#offcanvasResponsive" aria-label="Close"></button>
        +  </div>
        +  <div class="offcanvas-body">
        +    <p class="mb-0">This is content within an <code>.offcanvas-lg</code>.</p>
        +  </div>
        +</div>
        +
        +
        + +

        + Responsive offcanvas classes are available across for each + breakpoint. +

        +
          +
        • .offcanvas
        • +
        • .offcanvas-sm
        • +
        • .offcanvas-md
        • +
        • .offcanvas-lg
        • +
        • .offcanvas-xl
        • +
        • .offcanvas-xxl
        -
      -
    • -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        + Placement + +

        +

        + There’s no default placement for offcanvas components, so you + must add one of the modifier classes below. +

        +
          +
        • + .offcanvas-start places offcanvas on the left of the + viewport (shown above) +
        • +
        • + .offcanvas-end places offcanvas on the right of the + viewport +
        • +
        • + .offcanvas-top places offcanvas on the top of the + viewport +
        • +
        • + .offcanvas-bottom places offcanvas on the bottom of + the viewport +
        -
      -
    • -
    • -
    • - - Migration - -
    • -
    - - - - -
    -
    -
    - View on GitHub -

    Offcanvas

    -
    -

    Build hidden sidebars into your project for navigation, shopping carts, and more with a few classes and our JavaScript plugin.

    - - -
    - - -
    - On this page - +

    + Add a dismiss button with the + data-bs-dismiss="offcanvas" attribute, which + triggers the JavaScript functionality. Be sure to use the + <button> element with it for proper behavior + across all devices. +

    +

    + Via data attributes + +

    +

    + Toggle + +

    +

    + Add data-bs-toggle="offcanvas" and a + data-bs-target or href to the element to + automatically assign control of one offcanvas element. The + data-bs-target attribute accepts a CSS selector to + apply the offcanvas to. Be sure to add the class + offcanvas to the offcanvas element. If you’d like + it to default open, add the additional class show. +

    +

    + Dismiss + +

    +

    + Dismissal can be achieved with the + data-bs-dismiss attribute on a button + within the offcanvas as demonstrated below: +

    +
    +
    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    +
    +
    +

    + or on a button outside the offcanvas using the + additional data-bs-target as demonstrated below: +

    +
    +
    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#my-offcanvas" aria-label="Close"></button>
    +
    +
    +
    + While both ways to dismiss an offcanvas are supported, keep in mind + that dismissing from outside an offcanvas does not match the + ARIA Authoring Practices Guide dialog (modal) pattern. Do this at your own risk. +
    + +

    + Via JavaScript + +

    +

    Enable manually with:

    +
    +
    const offcanvasElementList = document.querySelectorAll('.offcanvas')
    +const offcanvasList = [...offcanvasElementList].map(offcanvasEl => new bootstrap.Offcanvas(offcanvasEl))
    +
    +
    +

    + Options + +

    +

    + As options can be passed via data attributes or JavaScript, you can + append an option name to data-bs-, as in + data-bs-animation="{value}". Make sure to + change the case type of the option name from + “camelCase” to + “kebab-case” when passing the options via data + attributes. For example, use + data-bs-custom-class="beautifier" instead of + data-bs-customClass="beautifier". +

    +

    + As of Bootstrap 5.2.0, all components support an + experimental reserved data attribute + data-bs-config that can house simple component + configuration as a JSON string. When an element has + data-bs-config='{"delay":0, + "title":123}' + and data-bs-title="456" attributes, the final + title value will be 456 and the separate + data attributes will override values given on + data-bs-config. In addition, existing data attributes + are able to house JSON values like + data-bs-delay='{"show":0,"hide":150}'. +

    +

    + The final configuration object is the merged result of + data-bs-config, data-bs-, and + js object where the latest given key-value overrides + the others. +

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDefaultDescription
    backdropboolean or the string statictrue + Apply a backdrop on body while offcanvas is open. + Alternatively, specify static for a backdrop + which doesn’t close the offcanvas when clicked. +
    keyboardbooleantrueCloses the offcanvas when escape key is pressed.
    scrollbooleanfalseAllow body scrolling while offcanvas is open.
    +
    + +

    + Methods + +

    +
    + All API methods are asynchronous and start a transition. + They return to the caller as soon as the transition is started, but + before it ends. In addition, a method call on a transitioning + component will be ignored. + Learn more in our JavaScript docs. +
    + +

    + Activates your content as an offcanvas element. Accepts an optional + options object. +

    +

    + You can create an offcanvas instance with the constructor, for + example: +

    +
    +
    const bsOffcanvas = new bootstrap.Offcanvas('#myOffcanvas')
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    getInstance + Static method which allows you to get the offcanvas + instance associated with a DOM element. +
    getOrCreateInstance + Static method which allows you to get the offcanvas + instance associated with a DOM element, or create a new one + in case it wasn’t initialized. +
    hide + Hides an offcanvas element. + Returns to the caller before the offcanvas element has + actually been hidden + (i.e. before the hidden.bs.offcanvas event + occurs). +
    show + Shows an offcanvas element. + Returns to the caller before the offcanvas element has + actually been shown + (i.e. before the shown.bs.offcanvas event + occurs). +
    toggle + Toggles an offcanvas element to shown or hidden. + Returns to the caller before the offcanvas element has + actually been shown or hidden + (i.e. before the shown.bs.offcanvas or + hidden.bs.offcanvas event occurs). +
    +
    + +

    + Events + +

    +

    + Bootstrap’s offcanvas class exposes a few events for hooking + into offcanvas functionality. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Event typeDescription
    hide.bs.offcanvas + This event is fired immediately when the + hide method has been called. +
    hidden.bs.offcanvas + This event is fired when an offcanvas element has been + hidden from the user (will wait for CSS transitions to + complete). +
    hidePrevented.bs.offcanvas + This event is fired when the offcanvas is shown, its + backdrop is static and a click outside of the + offcanvas is performed. The event is also fired when the + escape key is pressed and the keyboard option + is set to false. +
    show.bs.offcanvas + This event fires immediately when the + show instance method is called. +
    shown.bs.offcanvas + This event is fired when an offcanvas element has been made + visible to the user (will wait for CSS transitions to + complete). +
    +
    + +
    +
    const myOffcanvas = document.getElementById('myOffcanvas')
    +myOffcanvas.addEventListener('hidden.bs.offcanvas', event => {
    +  // do something...
    +})
    +
    +
    - - -
    - - -

    How it works

    -

    Offcanvas is a sidebar component that can be toggled via JavaScript to appear from the left, right, or bottom edge of the viewport. Buttons or anchors are used as triggers that are attached to specific elements you toggle, and data attributes are used to invoke our JavaScript.

    -
      -
    • Offcanvas shares some of the same JavaScript code as modals. Conceptually, they are quite similar, but they are separate plugins.
    • -
    • Similarly, some source Sass variables for offcanvas’s styles and dimensions are inherited from the modal’s variables.
    • -
    • When shown, offcanvas includes a default backdrop that can be clicked to hide the offcanvas.
    • -
    • Similar to modals, only one offcanvas can be shown at a time.
    • -
    -

    Heads up! Given how CSS handles animations, you cannot use margin or translate on an .offcanvas element. Instead, use the class as an independent wrapping element.

    -
    -The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation. -
    - -

    Examples

    -

    Offcanvas components

    -

    Below is an offcanvas example that is shown by default (via .show on .offcanvas). Offcanvas includes support for a header with a close button and an optional body class for some initial padding. We suggest that you include offcanvas headers with dismiss actions whenever possible, or provide an explicit dismiss action.

    -
    -
    -
    -
    Offcanvas
    - -
    -
    - Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here. -
    -
    -
    <div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvas" aria-labelledby="offcanvasLabel">
    -  <div class="offcanvas-header">
    -    <h5 class="offcanvas-title" id="offcanvasLabel">Offcanvas</h5>
    -    <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -  </div>
    -  <div class="offcanvas-body">
    -    Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.
    -  </div>
    -</div>
    -

    Live demo

    -

    Use the buttons below to show and hide an offcanvas element via JavaScript that toggles the .show class on an element with the .offcanvas class.

    -
      -
    • .offcanvas hides content (default)
    • -
    • .offcanvas.show shows content
    • -
    -

    You can use a link with the href attribute, or a button with the data-bs-target attribute. In both cases, the data-bs-toggle="offcanvas" is required.

    -
    - - Link with href - - - -
    -
    -
    Offcanvas
    - -
    -
    -
    - Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc. +
    - -
  • - -
    <a class="btn btn-primary" data-bs-toggle="offcanvas" href="#offcanvasExample" role="button" aria-controls="offcanvasExample">
    -  Link with href
    -</a>
    -<button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample" aria-controls="offcanvasExample">
    -  Button with data-bs-target
    -</button>
    -
    -<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasExample" aria-labelledby="offcanvasExampleLabel">
    -  <div class="offcanvas-header">
    -    <h5 class="offcanvas-title" id="offcanvasExampleLabel">Offcanvas</h5>
    -    <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -  </div>
    -  <div class="offcanvas-body">
    -    <div>
    -      Some text as placeholder. In real life you can have the elements you have chosen. Like, text, images, lists, etc.
    -    </div>
    -    <div class="dropdown mt-3">
    -      <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown">
    -        Dropdown button
    -      </button>
    -      <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
    -        <li><a class="dropdown-item" href="#">Action</a></li>
    -        <li><a class="dropdown-item" href="#">Another action</a></li>
    -        <li><a class="dropdown-item" href="#">Something else here</a></li>
    -      </ul>
    -    </div>
    -  </div>
    -</div>
    -

    Placement

    -

    There’s no default placement for offcanvas components, so you must add one of the modifier classes below;

    -
      -
    • .offcanvas-start places offcanvas on the left of the viewport (shown above)
    • -
    • .offcanvas-end places offcanvas on the right of the viewport
    • -
    • .offcanvas-top places offcanvas on the top of the viewport
    • -
    • .offcanvas-bottom places offcanvas on the bottom of the viewport
    • -
    -

    Try the top, right, and bottom examples out below.

    -
    - - -
    -
    -
    Offcanvas top
    - -
    -
    - ... -
    -
    -
    <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasTop" aria-controls="offcanvasTop">Toggle top offcanvas</button>
    -
    -<div class="offcanvas offcanvas-top" tabindex="-1" id="offcanvasTop" aria-labelledby="offcanvasTopLabel">
    -  <div class="offcanvas-header">
    -    <h5 id="offcanvasTopLabel">Offcanvas top</h5>
    -    <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -  </div>
    -  <div class="offcanvas-body">
    -    ...
    -  </div>
    -</div>
    -
    - - -
    -
    -
    Offcanvas right
    - -
    -
    - ... -
    -
    -
    <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasRight" aria-controls="offcanvasRight">Toggle right offcanvas</button>
    -
    -<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasRight" aria-labelledby="offcanvasRightLabel">
    -  <div class="offcanvas-header">
    -    <h5 id="offcanvasRightLabel">Offcanvas right</h5>
    -    <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -  </div>
    -  <div class="offcanvas-body">
    -    ...
    -  </div>
    -</div>
    -
    - - -
    -
    -
    Offcanvas bottom
    - -
    -
    - ... -
    -
    -
    <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasBottom" aria-controls="offcanvasBottom">Toggle bottom offcanvas</button>
    -
    -<div class="offcanvas offcanvas-bottom" tabindex="-1" id="offcanvasBottom" aria-labelledby="offcanvasBottomLabel">
    -  <div class="offcanvas-header">
    -    <h5 class="offcanvas-title" id="offcanvasBottomLabel">Offcanvas bottom</h5>
    -    <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -  </div>
    -  <div class="offcanvas-body small">
    -    ...
    -  </div>
    -</div>
    -

    Backdrop

    -

    Scrolling the <body> element is disabled when an offcanvas and its backdrop are visible. Use the data-bs-scroll attribute to toggle <body> scrolling and data-bs-backdrop to toggle the backdrop.

    -
    - - - - -
    -
    -
    Colored with scrolling
    - -
    -
    -

    Try scrolling the rest of the page to see this option in action.

    -
    -
    -
    -
    -
    Offcanvas with backdrop
    - -
    -
    -

    .....

    -
    -
    -
    -
    -
    Backdrop with scrolling
    - -
    -
    -

    Try scrolling the rest of the page to see this option in action.

    -
    -
    -
    <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">Enable body scrolling</button>
    -<button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasWithBackdrop" aria-controls="offcanvasWithBackdrop">Enable backdrop (default)</button>
    -<button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasWithBothOptions" aria-controls="offcanvasWithBothOptions">Enable both scrolling & backdrop</button>
    -
    -<div class="offcanvas offcanvas-start" data-bs-scroll="true" data-bs-backdrop="false" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel">
    -  <div class="offcanvas-header">
    -    <h5 class="offcanvas-title" id="offcanvasScrollingLabel">Colored with scrolling</h5>
    -    <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -  </div>
    -  <div class="offcanvas-body">
    -    <p>Try scrolling the rest of the page to see this option in action.</p>
    -  </div>
    -</div>
    -<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasWithBackdrop" aria-labelledby="offcanvasWithBackdropLabel">
    -  <div class="offcanvas-header">
    -    <h5 class="offcanvas-title" id="offcanvasWithBackdropLabel">Offcanvas with backdrop</h5>
    -    <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -  </div>
    -  <div class="offcanvas-body">
    -    <p>.....</p>
    -  </div>
    -</div>
    -<div class="offcanvas offcanvas-start" data-bs-scroll="true" tabindex="-1" id="offcanvasWithBothOptions" aria-labelledby="offcanvasWithBothOptionsLabel">
    -  <div class="offcanvas-header">
    -    <h5 class="offcanvas-title" id="offcanvasWithBothOptionsLabel">Backdrop with scrolling</h5>
    -    <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -  </div>
    -  <div class="offcanvas-body">
    -    <p>Try scrolling the rest of the page to see this option in action.</p>
    -  </div>
    -</div>
    -

    Accessibility

    -

    Since the offcanvas panel is conceptually a modal dialog, be sure to add aria-labelledby="..."—referencing the offcanvas title—to .offcanvas. Note that you don’t need to add role="dialog" since we already add it via JavaScript.

    -

    Sass

    -

    Variables

    -
    $offcanvas-padding-y:               $modal-inner-padding;
    -$offcanvas-padding-x:               $modal-inner-padding;
    -$offcanvas-horizontal-width:        400px;
    -$offcanvas-vertical-height:         30vh;
    -$offcanvas-transition-duration:     .3s;
    -$offcanvas-border-color:            $modal-content-border-color;
    -$offcanvas-border-width:            $modal-content-border-width;
    -$offcanvas-title-line-height:       $modal-title-line-height;
    -$offcanvas-bg-color:                $modal-content-bg;
    -$offcanvas-color:                   $modal-content-color;
    -$offcanvas-box-shadow:              $modal-content-box-shadow-xs;
    -$offcanvas-backdrop-bg:             $modal-backdrop-bg;
    -$offcanvas-backdrop-opacity:        $modal-backdrop-opacity;
    -
    -

    Usage

    -

    The offcanvas plugin utilizes a few classes and attributes to handle the heavy lifting:

    -
      -
    • .offcanvas hides the content
    • -
    • .offcanvas.show shows the content
    • -
    • .offcanvas-start hides the offcanvas on the left
    • -
    • .offcanvas-end hides the offcanvas on the right
    • -
    • .offcanvas-bottom hides the offcanvas on the bottom
    • -
    -

    Add a dismiss button with the data-bs-dismiss="offcanvas" attribute, which triggers the JavaScript functionality. Be sure to use the <button> element with it for proper behavior across all devices.

    -

    Via data attributes

    -

    Toggle

    -

    Add data-bs-toggle="offcanvas" and a data-bs-target or href to the element to automatically assign control of one offcanvas element. The data-bs-target attribute accepts a CSS selector to apply the offcanvas to. Be sure to add the class offcanvas to the offcanvas element. If you’d like it to default open, add the additional class show.

    -

    Dismiss

    -

    Dismissal can be achieved with the data attribute on a button within the offcanvas as demonstrated below:

    -
    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
    -

    or on a button outside the offcanvas using the data-bs-target as demonstrated below:

    -
    <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#my-offcanvas" aria-label="Close"></button>
    -
    -While both ways to dismiss an offcanvas are supported, keep in mind that dismissing from outside an offcanvas does not match the WAI-ARIA modal dialog design pattern. Do this at your own risk. -
    - -

    Via JavaScript

    -

    Enable manually with:

    -
    var offcanvasElementList = [].slice.call(document.querySelectorAll('.offcanvas'))
    -var offcanvasList = offcanvasElementList.map(function (offcanvasEl) {
    -  return new bootstrap.Offcanvas(offcanvasEl)
    -})
    -

    Options

    -

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-backdrop="".

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDefaultDescription
    backdropbooleantrueApply a backdrop on body while offcanvas is open
    keyboardbooleantrueCloses the offcanvas when escape key is pressed
    scrollbooleanfalseAllow body scrolling while offcanvas is open
    - -

    Methods

    -
    -

    Asynchronous methods and transitions

    -

    All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

    -

    See our JavaScript documentation for more information.

    - -
    - -

    Activates your content as an offcanvas element. Accepts an optional options object.

    -

    You can create an offcanvas instance with the constructor, for example:

    -
    var myOffcanvas = document.getElementById('myOffcanvas')
    -var bsOffcanvas = new bootstrap.Offcanvas(myOffcanvas)
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    MethodDescription
    toggleToggles an offcanvas element to shown or hidden. Returns to the caller before the offcanvas element has actually been shown or hidden (i.e. before the shown.bs.offcanvas or hidden.bs.offcanvas event occurs).
    showShows an offcanvas element. Returns to the caller before the offcanvas element has actually been shown (i.e. before the shown.bs.offcanvas event occurs).
    hideHides an offcanvas element. Returns to the caller before the offcanvas element has actually been hidden (i.e. before the hidden.bs.offcanvas event occurs).
    getInstanceStatic method which allows you to get the offcanvas instance associated with a DOM element
    getOrCreateInstanceStatic method which allows you to get the offcanvas instance associated with a DOM element, or create a new one in case it wasn’t initialized
    - -

    Events

    -

    Bootstrap’s offcanvas class exposes a few events for hooking into offcanvas functionality.

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Event typeDescription
    show.bs.offcanvasThis event fires immediately when the show instance method is called.
    shown.bs.offcanvasThis event is fired when an offcanvas element has been made visible to the user (will wait for CSS transitions to complete).
    hide.bs.offcanvasThis event is fired immediately when the hide method has been called.
    hidden.bs.offcanvasThis event is fired when an offcanvas element has been hidden from the user (will wait for CSS transitions to complete).
    - -
    var myOffcanvas = document.getElementById('myOffcanvas')
    -myOffcanvas.addEventListener('hidden.bs.offcanvas', function () {
    -  // do something...
    -})
    -
    - - - - - - - - - - - - - - - + + + + + + + + + + + + - + diff --git a/components/pagination/index.html b/components/pagination/index.html index 6cfd767..3f9fdc7 100644 --- a/components/pagination/index.html +++ b/components/pagination/index.html @@ -1,751 +1,2683 @@ - - - - - - - - - - - - - - - -Pagination · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Pagination · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Pagination

    +
    +

    + Documentation and examples for showing pagination to indicate a + series of related content exists across multiple pages. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Pagination

    +
    + + On this page +
    +
    -

    Documentation and examples for showing pagination to indicate a series of related content exists across multiple pages.

    - -
    - - -
    - On this page - +
    +

    + Overview + +

    +

    + We use a large block of connected links for our pagination, making + links hard to miss and easily scalable—all while providing large hit + areas. Pagination is built with list HTML elements so screen readers + can announce the number of available links. Use a wrapping + <nav> element to identify it as a navigation + section to screen readers and other assistive technologies. +

    +

    + In addition, as pages likely have more than one such navigation + section, it’s advisable to provide a descriptive + aria-label for the <nav> to reflect + its purpose. For example, if the pagination component is used to + navigate between a set of search results, an appropriate label could + be aria-label="Search results pages". +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav aria-label="Page navigation example">
    +  <ul class="pagination">
    +    <li class="page-item"><a class="page-link" href="#">Previous</a></li>
    +    <li class="page-item"><a class="page-link" href="#">1</a></li>
    +    <li class="page-item"><a class="page-link" href="#">2</a></li>
    +    <li class="page-item"><a class="page-link" href="#">3</a></li>
    +    <li class="page-item"><a class="page-link" href="#">Next</a></li>
    +  </ul>
    +</nav>
    +
    +
    + +

    + Working with icons + +

    +

    + Looking to use an icon or symbol in place of text for some + pagination links? Be sure to provide proper screen reader support + with aria attributes. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav aria-label="Page navigation example">
    +  <ul class="pagination">
    +    <li class="page-item">
    +      <a class="page-link" href="#" aria-label="Previous">
    +        <span aria-hidden="true">&laquo;</span>
    +      </a>
    +    </li>
    +    <li class="page-item"><a class="page-link" href="#">1</a></li>
    +    <li class="page-item"><a class="page-link" href="#">2</a></li>
    +    <li class="page-item"><a class="page-link" href="#">3</a></li>
    +    <li class="page-item">
    +      <a class="page-link" href="#" aria-label="Next">
    +        <span aria-hidden="true">&raquo;</span>
    +      </a>
    +    </li>
    +  </ul>
    +</nav>
    +
    +
    + +

    + Disabled and active states + +

    +

    + Pagination links are customizable for different circumstances. Use + .disabled for links that appear un-clickable and + .active to indicate the current page. +

    +

    + While the .disabled class uses + pointer-events: none to try to disable the + link functionality of <a>s, that CSS property is + not yet standardized and doesn’t account for keyboard + navigation. As such, you should always add + tabindex="-1" on disabled links and use + custom JavaScript to fully disable their functionality. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav aria-label="...">
    +  <ul class="pagination">
    +    <li class="page-item disabled">
    +      <a class="page-link">Previous</a>
    +    </li>
    +    <li class="page-item"><a class="page-link" href="#">1</a></li>
    +    <li class="page-item active" aria-current="page">
    +      <a class="page-link" href="#">2</a>
    +    </li>
    +    <li class="page-item"><a class="page-link" href="#">3</a></li>
    +    <li class="page-item">
    +      <a class="page-link" href="#">Next</a>
    +    </li>
    +  </ul>
    +</nav>
    +
    +
    + +

    + You can optionally swap out active or disabled anchors for + <span>, or omit the anchor in the case of the + prev/next arrows, to remove click functionality and prevent keyboard + focus while retaining intended styles. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav aria-label="...">
    +  <ul class="pagination">
    +    <li class="page-item disabled">
    +      <span class="page-link">Previous</span>
    +    </li>
    +    <li class="page-item"><a class="page-link" href="#">1</a></li>
    +    <li class="page-item active" aria-current="page">
    +      <span class="page-link">2</span>
    +    </li>
    +    <li class="page-item"><a class="page-link" href="#">3</a></li>
    +    <li class="page-item">
    +      <a class="page-link" href="#">Next</a>
    +    </li>
    +  </ul>
    +</nav>
    +
    +
    + +

    + Sizing + +

    +

    + Fancy larger or smaller pagination? Add + .pagination-lg or .pagination-sm for + additional sizes. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav aria-label="...">
    +  <ul class="pagination pagination-lg">
    +    <li class="page-item active" aria-current="page">
    +      <span class="page-link">1</span>
    +    </li>
    +    <li class="page-item"><a class="page-link" href="#">2</a></li>
    +    <li class="page-item"><a class="page-link" href="#">3</a></li>
    +  </ul>
    +</nav>
    +
    +
    + +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav aria-label="...">
    +  <ul class="pagination pagination-sm">
    +    <li class="page-item active" aria-current="page">
    +      <span class="page-link">1</span>
    +    </li>
    +    <li class="page-item"><a class="page-link" href="#">2</a></li>
    +    <li class="page-item"><a class="page-link" href="#">3</a></li>
    +  </ul>
    +</nav>
    +
    +
    + +

    + Alignment + +

    +

    + Change the alignment of pagination components with + flexbox utilities. For + example, with .justify-content-center: +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav aria-label="Page navigation example">
    +  <ul class="pagination justify-content-center">
    +    <li class="page-item disabled">
    +      <a class="page-link">Previous</a>
    +    </li>
    +    <li class="page-item"><a class="page-link" href="#">1</a></li>
    +    <li class="page-item"><a class="page-link" href="#">2</a></li>
    +    <li class="page-item"><a class="page-link" href="#">3</a></li>
    +    <li class="page-item">
    +      <a class="page-link" href="#">Next</a>
    +    </li>
    +  </ul>
    +</nav>
    +
    +
    + +

    Or with .justify-content-end:

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <nav aria-label="Page navigation example">
    +  <ul class="pagination justify-content-end">
    +    <li class="page-item disabled">
    +      <a class="page-link">Previous</a>
    +    </li>
    +    <li class="page-item"><a class="page-link" href="#">1</a></li>
    +    <li class="page-item"><a class="page-link" href="#">2</a></li>
    +    <li class="page-item"><a class="page-link" href="#">3</a></li>
    +    <li class="page-item">
    +      <a class="page-link" href="#">Next</a>
    +    </li>
    +  </ul>
    +</nav>
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, + pagination now uses local CSS variables on + .pagination for enhanced real-time customization. + Values for the CSS variables are set via Sass, so Sass customization + is still supported, too. +

    +
    +
    + scss/_pagination.scss +
    + +
    +
    +
    +
    --#{$prefix}pagination-padding-x: #{$pagination-padding-x};
    +--#{$prefix}pagination-padding-y: #{$pagination-padding-y};
    +@include rfs($pagination-font-size, --#{$prefix}pagination-font-size);
    +--#{$prefix}pagination-color: #{$pagination-color};
    +--#{$prefix}pagination-bg: #{$pagination-bg};
    +--#{$prefix}pagination-border-width: #{$pagination-border-width};
    +--#{$prefix}pagination-border-color: #{$pagination-border-color};
    +--#{$prefix}pagination-border-radius: #{$pagination-border-radius};
    +--#{$prefix}pagination-hover-color: #{$pagination-hover-color};
    +--#{$prefix}pagination-hover-bg: #{$pagination-hover-bg};
    +--#{$prefix}pagination-hover-border-color: #{$pagination-hover-border-color};
    +--#{$prefix}pagination-focus-color: #{$pagination-focus-color};
    +--#{$prefix}pagination-focus-bg: #{$pagination-focus-bg};
    +--#{$prefix}pagination-focus-box-shadow: #{$pagination-focus-box-shadow};
    +--#{$prefix}pagination-active-color: #{$pagination-active-color};
    +--#{$prefix}pagination-active-bg: #{$pagination-active-bg};
    +--#{$prefix}pagination-active-border-color: #{$pagination-active-border-color};
    +--#{$prefix}pagination-disabled-color: #{$pagination-disabled-color};
    +--#{$prefix}pagination-disabled-bg: #{$pagination-disabled-bg};
    +--#{$prefix}pagination-disabled-border-color: #{$pagination-disabled-border-color};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $pagination-padding-y:              .375rem;
    +$pagination-padding-x:              .75rem;
    +$pagination-padding-y-sm:           .25rem;
    +$pagination-padding-x-sm:           .5rem;
    +$pagination-padding-y-lg:           .75rem;
    +$pagination-padding-x-lg:           1.5rem;
    +
    +$pagination-font-size:              $font-size-base;
    +
    +$pagination-color:                  var(--#{$prefix}link-color);
    +$pagination-bg:                     var(--#{$prefix}body-bg);
    +$pagination-border-radius:          var(--#{$prefix}border-radius);
    +$pagination-border-width:           var(--#{$prefix}border-width);
    +$pagination-margin-start:           calc(#{$pagination-border-width} * -1); // stylelint-disable-line function-disallowed-list
    +$pagination-border-color:           var(--#{$prefix}border-color);
    +
    +$pagination-focus-color:            var(--#{$prefix}link-hover-color);
    +$pagination-focus-bg:               var(--#{$prefix}secondary-bg);
    +$pagination-focus-box-shadow:       $focus-ring-box-shadow;
    +$pagination-focus-outline:          0;
    +
    +$pagination-hover-color:            var(--#{$prefix}link-hover-color);
    +$pagination-hover-bg:               var(--#{$prefix}tertiary-bg);
    +$pagination-hover-border-color:     var(--#{$prefix}border-color); // Todo in v6: remove this?
    +
    +$pagination-active-color:           $component-active-color;
    +$pagination-active-bg:              $component-active-bg;
    +$pagination-active-border-color:    $component-active-bg;
    +
    +$pagination-disabled-color:         var(--#{$prefix}secondary-color);
    +$pagination-disabled-bg:            var(--#{$prefix}secondary-bg);
    +$pagination-disabled-border-color:  var(--#{$prefix}border-color);
    +
    +$pagination-transition:              color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    +
    +$pagination-border-radius-sm:       var(--#{$prefix}border-radius-sm);
    +$pagination-border-radius-lg:       var(--#{$prefix}border-radius-lg);
    +
    +
    +
    +

    + Sass mixins + +

    +
    +
    + scss/mixins/_pagination.scss +
    + +
    +
    +
    +
    @mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) {
    +  --#{$prefix}pagination-padding-x: #{$padding-x};
    +  --#{$prefix}pagination-padding-y: #{$padding-y};
    +  @include rfs($font-size, --#{$prefix}pagination-font-size);
    +  --#{$prefix}pagination-border-radius: #{$border-radius};
    +}
    +
    +
    +
    +
    +
    - -
    - - -

    Overview

    -

    We use a large block of connected links for our pagination, making links hard to miss and easily scalable—all while providing large hit areas. Pagination is built with list HTML elements so screen readers can announce the number of available links. Use a wrapping <nav> element to identify it as a navigation section to screen readers and other assistive technologies.

    -

    In addition, as pages likely have more than one such navigation section, it’s advisable to provide a descriptive aria-label for the <nav> to reflect its purpose. For example, if the pagination component is used to navigate between a set of search results, an appropriate label could be aria-label="Search results pages".

    -
    - -
    <nav aria-label="Page navigation example">
    -  <ul class="pagination">
    -    <li class="page-item"><a class="page-link" href="#">Previous</a></li>
    -    <li class="page-item"><a class="page-link" href="#">1</a></li>
    -    <li class="page-item"><a class="page-link" href="#">2</a></li>
    -    <li class="page-item"><a class="page-link" href="#">3</a></li>
    -    <li class="page-item"><a class="page-link" href="#">Next</a></li>
    -  </ul>
    -</nav>
    -

    Working with icons

    -

    Looking to use an icon or symbol in place of text for some pagination links? Be sure to provide proper screen reader support with aria attributes.

    -
    - -
    <nav aria-label="Page navigation example">
    -  <ul class="pagination">
    -    <li class="page-item">
    -      <a class="page-link" href="#" aria-label="Previous">
    -        <span aria-hidden="true">&laquo;</span>
    -      </a>
    -    </li>
    -    <li class="page-item"><a class="page-link" href="#">1</a></li>
    -    <li class="page-item"><a class="page-link" href="#">2</a></li>
    -    <li class="page-item"><a class="page-link" href="#">3</a></li>
    -    <li class="page-item">
    -      <a class="page-link" href="#" aria-label="Next">
    -        <span aria-hidden="true">&raquo;</span>
    -      </a>
    -    </li>
    -  </ul>
    -</nav>
    -

    Disabled and active states

    -

    Pagination links are customizable for different circumstances. Use .disabled for links that appear un-clickable and .active to indicate the current page.

    -

    While the .disabled class uses pointer-events: none to try to disable the link functionality of <a>s, that CSS property is not yet standardized and doesn’t account for keyboard navigation. As such, you should always add tabindex="-1" on disabled links and use custom JavaScript to fully disable their functionality.

    -
    - -
    <nav aria-label="...">
    -  <ul class="pagination">
    -    <li class="page-item disabled">
    -      <a class="page-link">Previous</a>
    -    </li>
    -    <li class="page-item"><a class="page-link" href="#">1</a></li>
    -    <li class="page-item active" aria-current="page">
    -      <a class="page-link" href="#">2</a>
    -    </li>
    -    <li class="page-item"><a class="page-link" href="#">3</a></li>
    -    <li class="page-item">
    -      <a class="page-link" href="#">Next</a>
    -    </li>
    -  </ul>
    -</nav>
    -

    You can optionally swap out active or disabled anchors for <span>, or omit the anchor in the case of the prev/next arrows, to remove click functionality and prevent keyboard focus while retaining intended styles.

    -
    - -
    <nav aria-label="...">
    -  <ul class="pagination">
    -    <li class="page-item disabled">
    -      <span class="page-link">Previous</span>
    -    </li>
    -    <li class="page-item"><a class="page-link" href="#">1</a></li>
    -    <li class="page-item active" aria-current="page">
    -      <span class="page-link">2</span>
    -    </li>
    -    <li class="page-item"><a class="page-link" href="#">3</a></li>
    -    <li class="page-item">
    -      <a class="page-link" href="#">Next</a>
    -    </li>
    -  </ul>
    -</nav>
    -

    Sizing

    -

    Fancy larger or smaller pagination? Add .pagination-lg or .pagination-sm for additional sizes.

    -
    - -
    <nav aria-label="...">
    -  <ul class="pagination pagination-lg">
    -    <li class="page-item active" aria-current="page">
    -      <span class="page-link">1</span>
    -    </li>
    -    <li class="page-item"><a class="page-link" href="#">2</a></li>
    -    <li class="page-item"><a class="page-link" href="#">3</a></li>
    -  </ul>
    -</nav>
    -
    - -
    <nav aria-label="...">
    -  <ul class="pagination pagination-sm">
    -    <li class="page-item active" aria-current="page">
    -      <span class="page-link">1</span>
    -    </li>
    -    <li class="page-item"><a class="page-link" href="#">2</a></li>
    -    <li class="page-item"><a class="page-link" href="#">3</a></li>
    -  </ul>
    -</nav>
    -

    Alignment

    -

    Change the alignment of pagination components with flexbox utilities.

    -
    - -
    <nav aria-label="Page navigation example">
    -  <ul class="pagination justify-content-center">
    -    <li class="page-item disabled">
    -      <a class="page-link">Previous</a>
    -    </li>
    -    <li class="page-item"><a class="page-link" href="#">1</a></li>
    -    <li class="page-item"><a class="page-link" href="#">2</a></li>
    -    <li class="page-item"><a class="page-link" href="#">3</a></li>
    -    <li class="page-item">
    -      <a class="page-link" href="#">Next</a>
    -    </li>
    -  </ul>
    -</nav>
    -
    - -
    <nav aria-label="Page navigation example">
    -  <ul class="pagination justify-content-end">
    -    <li class="page-item disabled">
    -      <a class="page-link">Previous</a>
    -    </li>
    -    <li class="page-item"><a class="page-link" href="#">1</a></li>
    -    <li class="page-item"><a class="page-link" href="#">2</a></li>
    -    <li class="page-item"><a class="page-link" href="#">3</a></li>
    -    <li class="page-item">
    -      <a class="page-link" href="#">Next</a>
    -    </li>
    -  </ul>
    -</nav>
    -

    Sass

    -

    Variables

    -
    $pagination-padding-y:              .375rem;
    -$pagination-padding-x:              .75rem;
    -$pagination-padding-y-sm:           .25rem;
    -$pagination-padding-x-sm:           .5rem;
    -$pagination-padding-y-lg:           .75rem;
    -$pagination-padding-x-lg:           1.5rem;
    -
    -$pagination-color:                  $link-color;
    -$pagination-bg:                     $white;
    -$pagination-border-width:           $border-width;
    -$pagination-border-radius:          $border-radius;
    -$pagination-margin-start:           -$pagination-border-width;
    -$pagination-border-color:           $gray-300;
    -
    -$pagination-focus-color:            $link-hover-color;
    -$pagination-focus-bg:               $gray-200;
    -$pagination-focus-box-shadow:       $input-btn-focus-box-shadow;
    -$pagination-focus-outline:          0;
    -
    -$pagination-hover-color:            $link-hover-color;
    -$pagination-hover-bg:               $gray-200;
    -$pagination-hover-border-color:     $gray-300;
    -
    -$pagination-active-color:           $component-active-color;
    -$pagination-active-bg:              $component-active-bg;
    -$pagination-active-border-color:    $pagination-active-bg;
    -
    -$pagination-disabled-color:         $gray-600;
    -$pagination-disabled-bg:            $white;
    -$pagination-disabled-border-color:  $gray-300;
    -
    -$pagination-transition:              color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -
    -$pagination-border-radius-sm:       $border-radius-sm;
    -$pagination-border-radius-lg:       $border-radius-lg;
    -
    -

    Mixins

    -
    @mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) {
    -  .page-link {
    -    padding: $padding-y $padding-x;
    -    @include font-size($font-size);
    -  }
    -
    -  .page-item {
    -    @if $pagination-margin-start == (-$pagination-border-width) {
    -      &:first-child {
    -        .page-link {
    -          @include border-start-radius($border-radius);
    -        }
    -      }
    -
    -      &:last-child {
    -        .page-link {
    -          @include border-end-radius($border-radius);
    -        }
    -      }
    -    } @else {
    -      //Add border-radius to all pageLinks in case they have left margin
    -      .page-link {
    -        @include border-radius($border-radius);
    -      }
    -    }
    -  }
    -}
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/placeholders/index.html b/components/placeholders/index.html index 6de5fd0..92f3d36 100644 --- a/components/placeholders/index.html +++ b/components/placeholders/index.html @@ -1,608 +1,2387 @@ - - - - - - - - - - - - - - - -Placeholders · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Placeholders · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +
    + Added in v5.1 + View on GitHub + +
    +

    Placeholders

    +
    +

    + Use loading placeholders for your components or pages to indicate + something may still be loading. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Placeholders

    +
    + + On this page +
    +
    + +
    -

    Use loading placeholders for your components or pages to indicate something may still be loading.

    - - -
    - -
    - On this page - +
    +

    + About + +

    +

    + Placeholders can be used to enhance the experience of your + application. They’re built only with HTML and CSS, meaning you + don’t need any JavaScript to create them. You will, however, + need some custom JavaScript to toggle their visibility. Their + appearance, color, and sizing can be easily customized with our + utility classes. +

    +

    + Example + +

    +

    + In the example below, we take a typical card component and recreate + it with placeholders applied to create a “loading card”. + Size and proportions are the same between the two. +

    +
    +
    + + Placeholder + + +
    +
    Card title
    +

    + Some quick example text to build on the card title and make up + the bulk of the card's content. +

    + Go somewhere +
    +
    + +
    +
    +
    <div class="card">
    +  <img src="..." class="card-img-top" alt="...">
    +
    +  <div class="card-body">
    +    <h5 class="card-title">Card title</h5>
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +    <a href="#" class="btn btn-primary">Go somewhere</a>
    +  </div>
    +</div>
    +
    +<div class="card" aria-hidden="true">
    +  <img src="..." class="card-img-top" alt="...">
    +  <div class="card-body">
    +    <h5 class="card-title placeholder-glow">
    +      <span class="placeholder col-6"></span>
    +    </h5>
    +    <p class="card-text placeholder-glow">
    +      <span class="placeholder col-7"></span>
    +      <span class="placeholder col-4"></span>
    +      <span class="placeholder col-4"></span>
    +      <span class="placeholder col-6"></span>
    +      <span class="placeholder col-8"></span>
    +    </p>
    +    <a class="btn btn-primary disabled placeholder col-6"></a>
    +  </div>
    +</div>
    +
    +
    +

    + How it works + +

    +

    + Create placeholders with the .placeholder class and a + grid column class (e.g., .col-6) to set the + width. They can replace the text inside an element or + be added as a modifier class to an existing component. +

    +

    + We apply additional styling to .btns via + ::before to ensure the height is + respected. You may extend this pattern for other situations as + needed, or add a &nbsp; within the element to + reflect the height when actual text is rendered in its place. +

    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <p aria-hidden="true">
    +  <span class="placeholder col-6"></span>
    +</p>
    +
    +<a class="btn btn-primary disabled placeholder col-4"></a>
    +
    +
    + +
    + The use of aria-hidden="true" only indicates + that the element should be hidden to screen readers. The + loading behavior of the placeholder depends on how authors + will actually use the placeholder styles, how they plan to update + things, etc. Some JavaScript code may be needed to swap the + state of the placeholder and inform AT users of the update. +
    + +

    + Width + +

    +

    + You can change the width through grid column classes, + width utilities, or inline styles. +

    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <span class="placeholder col-6"></span>
    +<span class="placeholder w-75"></span>
    +<span class="placeholder" style="width: 25%;"></span>
    +
    +
    + +

    + Color + +

    +

    + By default, the placeholder uses + currentColor. This can be overridden with a custom + color or utility class. +

    +
    +
    + + + + + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <span class="placeholder col-12"></span>
    +
    +<span class="placeholder col-12 bg-primary"></span>
    +<span class="placeholder col-12 bg-secondary"></span>
    +<span class="placeholder col-12 bg-success"></span>
    +<span class="placeholder col-12 bg-danger"></span>
    +<span class="placeholder col-12 bg-warning"></span>
    +<span class="placeholder col-12 bg-info"></span>
    +<span class="placeholder col-12 bg-light"></span>
    +<span class="placeholder col-12 bg-dark"></span>
    +
    +
    + +

    + Sizing + +

    +

    + The size of .placeholders are based on the typographic + style of the parent element. Customize them with sizing modifiers: + .placeholder-lg, .placeholder-sm, or + .placeholder-xs. +

    +
    +
    + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <span class="placeholder col-12 placeholder-lg"></span>
    +<span class="placeholder col-12"></span>
    +<span class="placeholder col-12 placeholder-sm"></span>
    +<span class="placeholder col-12 placeholder-xs"></span>
    +
    +
    + +

    + Animation + +

    +

    + Animate placeholders with .placeholder-glow or + .placeholder-wave to better convey the perception of + something being actively loaded. +

    +
    +
    +

    + +

    + +

    + +

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="placeholder-glow">
    +  <span class="placeholder col-12"></span>
    +</p>
    +
    +<p class="placeholder-wave">
    +  <span class="placeholder col-12"></span>
    +</p>
    +
    +
    + +

    + CSS + +

    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $placeholder-opacity-max:           .5;
    +$placeholder-opacity-min:           .2;
    +
    +
    +
    - - -
    - - -

    About

    -

    Placeholders can be used to enhance the experience of your application. They’re built only with HTML and CSS, meaning you don’t need any JavaScript to create them. You will, however, need some custom JavaScript to toggle their visibility. Their appearance, color, and sizing can be easily customized with our utility classes.

    -

    Example

    -

    In the example below, we take a typical card component and recreate it with placeholders applied to create a “loading card”. Size and proportions are the same between the two.

    -
    -
    - Placeholder - -
    -
    Card title
    -

    Some quick example text to build on the card title and make up the bulk of the card's content.

    - Go somewhere -
    -
    -
    -

    - - - - - -

    - - - - -
    <div class="card">
    -  <img src="..." class="card-img-top" alt="...">
    -
    -  <div class="card-body">
    -    <h5 class="card-title">Card title</h5>
    -    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    -    <a href="#" class="btn btn-primary">Go somewhere</a>
    -  </div>
    -</div>
    -
    -<div class="card" aria-hidden="true">
    -  <img src="..." class="card-img-top" alt="...">
    -  <div class="card-body">
    -    <h5 class="card-title placeholder-glow">
    -      <span class="placeholder col-6"></span>
    -    </h5>
    -    <p class="card-text placeholder-glow">
    -      <span class="placeholder col-7"></span>
    -      <span class="placeholder col-4"></span>
    -      <span class="placeholder col-4"></span>
    -      <span class="placeholder col-6"></span>
    -      <span class="placeholder col-8"></span>
    -    </p>
    -    <a href="#" tabindex="-1" class="btn btn-primary disabled placeholder col-6"></a>
    -  </div>
    -</div>
    -

    How it works

    -

    Create placeholders with the .placeholder class and a grid column class (e.g., .col-6) to set the width. They can replace the text inside an element or be added as a modifier class to an existing component.

    -

    We apply additional styling to .btns via ::before to ensure the height is respected. You may extend this pattern for other situations as needed, or add a &nbsp; within the element to reflect the height when actual text is rendered in its place.

    -
    - - - -
    <p aria-hidden="true">
    -  <span class="placeholder col-6"></span>
    -</p>
    -
    -<a href="#" tabindex="-1" class="btn btn-primary disabled placeholder col-4" aria-hidden="true"></a>
    -
    -The use of aria-hidden="true" only indicates that the element should be hidden to screen readers. The loading behavior of the placeholder depends on how authors will actually use the placeholder styles, how they plan to update things, etc. Some JavaScript code may be needed to swap the state of the placeholder and inform AT users of the update. -
    - -

    Width

    -

    You can change the width through grid column classes, width utilities, or inline styles.

    -
    - - - -
    <span class="placeholder col-6"></span>
    -<span class="placeholder w-75"></span>
    -<span class="placeholder" style="width: 25%;"></span>
    -

    Color

    -

    By default, the placeholder uses currentColor. This can be overridden with a custom color or utility class.

    -
    - - - - - - - - - - -
    <span class="placeholder col-12"></span>
    -
    -<span class="placeholder col-12 bg-primary"></span>
    -<span class="placeholder col-12 bg-secondary"></span>
    -<span class="placeholder col-12 bg-success"></span>
    -<span class="placeholder col-12 bg-danger"></span>
    -<span class="placeholder col-12 bg-warning"></span>
    -<span class="placeholder col-12 bg-info"></span>
    -<span class="placeholder col-12 bg-light"></span>
    -<span class="placeholder col-12 bg-dark"></span>
    -

    Sizing

    -

    The size of .placeholders are based on the typographic style of the parent element. Customize them with sizing modifiers: .placeholder-lg, .placeholder-sm, or .placeholder-xs.

    -
    - - - - -
    <span class="placeholder col-12 placeholder-lg"></span>
    -<span class="placeholder col-12"></span>
    -<span class="placeholder col-12 placeholder-sm"></span>
    -<span class="placeholder col-12 placeholder-xs"></span>
    -

    Animation

    -

    Animate placeholders with .placeholder-glow or .placeholder-wave to better convey the perception of something being actively loaded.

    -
    -

    - -

    - -

    - -

    -
    <p class="placeholder-glow">
    -  <span class="placeholder col-12"></span>
    -</p>
    -
    -<p class="placeholder-wave">
    -  <span class="placeholder col-12"></span>
    -</p>
    -

    Sass

    -

    Variables

    -
    $placeholder-opacity-max:           .5;
    -$placeholder-opacity-min:           .2;
    -
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/popovers/index.html b/components/popovers/index.html index 5deb4b6..da3d519 100644 --- a/components/popovers/index.html +++ b/components/popovers/index.html @@ -1,863 +1,3283 @@ - - - - - - - - - - - - - - - -Popovers · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Popovers · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Popovers

    +
    +

    + Documentation and examples for adding Bootstrap popovers, like those + found in iOS, to any element on your site. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Popovers

    +
    + + On this page +
    +
    -

    Documentation and examples for adding Bootstrap popovers, like those found in iOS, to any element on your site.

    - - -
    - -
    - On this page - +
    + By default, this component uses the built-in content sanitizer, + which strips out any HTML elements that are not explicitly allowed. + See the + sanitizer section in our JavaScript documentation + for more details. +
    + +
    + The animation effect of this component is dependent on the + prefers-reduced-motion media query. See the + reduced motion section of our accessibility documentation. +
    + +

    Keep reading to see how popovers work with some examples.

    +

    + Examples + +

    +

    + Enable popovers + +

    +

    + As mentioned above, you must initialize popovers before they can be + used. One way to initialize all popovers on a page would be to + select them by their data-bs-toggle attribute, like so: +

    +
    +
    const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]')
    +const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl))
    +
    +
    +

    + Live demo + +

    +

    + We use JavaScript similar to the snippet above to render the + following live popover. Titles are set via + data-bs-title and body content is set via + data-bs-content. +

    +
    + Feel free to use either title or + data-bs-title in your HTML. When title is + used, Popper will replace it automatically with + data-bs-title when the element is rendered. +
    + +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-lg btn-danger" data-bs-toggle="popover" data-bs-title="Popover title" data-bs-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>
    +
    +
    + +

    + Four directions + +

    +

    + Four options are available: top, right, bottom, and left. Directions + are mirrored when using Bootstrap in RTL. Set + data-bs-placement to change the direction. +

    +
    +
    + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="top" data-bs-content="Top popover">
    +  Popover on top
    +</button>
    +<button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="right" data-bs-content="Right popover">
    +  Popover on right
    +</button>
    +<button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="bottom" data-bs-content="Bottom popover">
    +  Popover on bottom
    +</button>
    +<button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="left" data-bs-content="Left popover">
    +  Popover on left
    +</button>
    +
    +
    + +

    + Custom container + +

    +

    + When you have some styles on a parent element that interfere with a + popover, you’ll want to specify a custom + container so that the popover’s HTML appears + within that element instead. This is common in responsive tables, + input groups, and the like. +

    +
    +
    const popover = new bootstrap.Popover('.example-popover', {
    +  container: 'body'
    +})
    +
    +
    +

    + Another situation where you’ll want to set an explicit custom + container are popovers inside a + modal dialog, to make sure that + the popover itself is appended to the modal. This is particularly + important for popovers that contain interactive elements – modal + dialogs will trap focus, so unless the popover is a child element of + the modal, users won’t be able to focus or activate these + interactive elements. +

    +
    +
    const popover = new bootstrap.Popover('.example-popover', {
    +  container: '.modal-body'
    +})
    +
    +
    +

    + Custom popovers + +

    + Added in v5.2.0 + +

    + You can customize the appearance of popovers using + CSS variables. We set a custom class with + data-bs-custom-class="custom-popover" to + scope our custom appearance and use it to override some of the local + CSS variables. +

    +
    + +
    +
    .custom-popover {
    +  --bs-popover-max-width: 200px;
    +  --bs-popover-border-color: var(--bs-primary);
    +  --bs-popover-header-bg: var(--bs-primary);
    +  --bs-popover-header-color: var(--bs-white);
    +  --bs-popover-body-padding-x: 1rem;
    +  --bs-popover-body-padding-y: .5rem;
    +}
    +
    +
    +
    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-secondary"
    +        data-bs-toggle="popover" data-bs-placement="right"
    +        data-bs-custom-class="custom-popover"
    +        data-bs-title="Custom popover"
    +        data-bs-content="This popover is themed via CSS variables.">
    +  Custom popover
    +</button>
    +
    +
    + +

    + Dismiss on next click + +

    +

    + Use the focus trigger to dismiss popovers on the + user’s next click of an element other than the toggle element. +

    +
    + Dismissing on next click requires specific HTML for proper + cross-browser and cross-platform behavior. + You can only use <a> elements, not + <button>s, and you must include a + tabindex. +
    + +
    + +
    + html +
    + + +
    +
    +
    +
    <a tabindex="0" class="btn btn-lg btn-danger" role="button" data-bs-toggle="popover" data-bs-trigger="focus" data-bs-title="Dismissible popover" data-bs-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a>
    +
    +
    + +
    +
    const popover = new bootstrap.Popover('.popover-dismiss', {
    +  trigger: 'focus'
    +})
    +
    +
    +

    + Disabled elements + +

    +

    + Elements with the disabled attribute aren’t + interactive, meaning users cannot hover or click them to trigger a + popover (or tooltip). As a workaround, you’ll want to trigger + the popover from a wrapper <div> or + <span>, ideally made keyboard-focusable using + tabindex="0". +

    +

    + For disabled popover triggers, you may also prefer + data-bs-trigger="hover focus" so that the + popover appears as immediate visual feedback to your users as they + may not expect to click on a disabled element. +

    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="Disabled popover">
    +  <button class="btn btn-primary" type="button" disabled>Disabled button</button>
    +</span>
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, popovers now + use local CSS variables on .popover for enhanced + real-time customization. Values for the CSS variables are set via + Sass, so Sass customization is still supported, too. +

    +
    +
    + scss/_popover.scss +
    + +
    +
    +
    +
    --#{$prefix}popover-zindex: #{$zindex-popover};
    +--#{$prefix}popover-max-width: #{$popover-max-width};
    +@include rfs($popover-font-size, --#{$prefix}popover-font-size);
    +--#{$prefix}popover-bg: #{$popover-bg};
    +--#{$prefix}popover-border-width: #{$popover-border-width};
    +--#{$prefix}popover-border-color: #{$popover-border-color};
    +--#{$prefix}popover-border-radius: #{$popover-border-radius};
    +--#{$prefix}popover-inner-border-radius: #{$popover-inner-border-radius};
    +--#{$prefix}popover-box-shadow: #{$popover-box-shadow};
    +--#{$prefix}popover-header-padding-x: #{$popover-header-padding-x};
    +--#{$prefix}popover-header-padding-y: #{$popover-header-padding-y};
    +@include rfs($popover-header-font-size, --#{$prefix}popover-header-font-size);
    +--#{$prefix}popover-header-color: #{$popover-header-color};
    +--#{$prefix}popover-header-bg: #{$popover-header-bg};
    +--#{$prefix}popover-body-padding-x: #{$popover-body-padding-x};
    +--#{$prefix}popover-body-padding-y: #{$popover-body-padding-y};
    +--#{$prefix}popover-body-color: #{$popover-body-color};
    +--#{$prefix}popover-arrow-width: #{$popover-arrow-width};
    +--#{$prefix}popover-arrow-height: #{$popover-arrow-height};
    +--#{$prefix}popover-arrow-border: var(--#{$prefix}popover-border-color);
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $popover-font-size:                 $font-size-sm;
    +$popover-bg:                        var(--#{$prefix}body-bg);
    +$popover-max-width:                 276px;
    +$popover-border-width:              var(--#{$prefix}border-width);
    +$popover-border-color:              var(--#{$prefix}border-color-translucent);
    +$popover-border-radius:             var(--#{$prefix}border-radius-lg);
    +$popover-inner-border-radius:       calc(#{$popover-border-radius} - #{$popover-border-width}); // stylelint-disable-line function-disallowed-list
    +$popover-box-shadow:                $box-shadow;
    +
    +$popover-header-font-size:          $font-size-base;
    +$popover-header-bg:                 var(--#{$prefix}secondary-bg);
    +$popover-header-color:              $headings-color;
    +$popover-header-padding-y:          .5rem;
    +$popover-header-padding-x:          $spacer;
    +
    +$popover-body-color:                var(--#{$prefix}body-color);
    +$popover-body-padding-y:            $spacer;
    +$popover-body-padding-x:            $spacer;
    +
    +$popover-arrow-width:               1rem;
    +$popover-arrow-height:              .5rem;
    +
    +
    +
    +

    + Usage + +

    +

    Enable popovers via JavaScript:

    +
    +
    const exampleEl = document.getElementById('example')
    +const popover = new bootstrap.Popover(exampleEl, options)
    +
    +
    +
    +

    + Keep popovers accessible to keyboard and assistive technology + users + by only adding them to HTML elements that are traditionally + keyboard-focusable and interactive (such as links or form + controls). While other HTML elements can be made focusable by + adding tabindex="0", this can create + annoying and confusing tab stops on non-interactive elements for + keyboard users, and most assistive technologies currently do not + announce popovers in this situation. Additionally, do not rely + solely on hover as the trigger for your popovers as + this will make them impossible to trigger for keyboard users. +

    +

    + Avoid adding an excessive amount of content in popovers with the + html option. Once popovers are displayed, their + content is tied to the trigger element with the + aria-describedby attribute, causing all of the + popover’s content to be announced to assistive technology + users as one long, uninterrupted stream. +

    +

    + Popovers do not manage keyboard focus order, and their placement + can be random in the DOM, so be careful when adding interactive + elements (like forms or links), as it may lead to an illogical + focus order or make the popover content itself completely + unreachable for keyboard users. In cases where you must use these + elements, consider using a modal dialog instead. +

    +
    + +

    + Options + +

    +

    + As options can be passed via data attributes or JavaScript, you can + append an option name to data-bs-, as in + data-bs-animation="{value}". Make sure to + change the case type of the option name from + “camelCase” to + “kebab-case” when passing the options via data + attributes. For example, use + data-bs-custom-class="beautifier" instead of + data-bs-customClass="beautifier". +

    +

    + As of Bootstrap 5.2.0, all components support an + experimental reserved data attribute + data-bs-config that can house simple component + configuration as a JSON string. When an element has + data-bs-config='{"delay":0, + "title":123}' + and data-bs-title="456" attributes, the final + title value will be 456 and the separate + data attributes will override values given on + data-bs-config. In addition, existing data attributes + are able to house JSON values like + data-bs-delay='{"show":0,"hide":150}'. +

    +

    + The final configuration object is the merged result of + data-bs-config, data-bs-, and + js object where the latest given key-value overrides + the others. +

    + +
    + Note that for security reasons the sanitize, + sanitizeFn, and allowList options cannot + be supplied using data attributes. +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDefaultDescription
    allowListobject + Default value + Object which contains allowed attributes and tags.
    animationbooleantrueApply a CSS fade transition to the popover.
    boundarystring, element'clippingParents' + Overflow constraint boundary of the popover (applies only to + Popper’s preventOverflow modifier). By default, + it’s 'clippingParents' and can accept an + HTMLElement reference (via JavaScript only). For more + information refer to Popper’s + detectOverflow docs. +
    containerstring, element, falsefalse + Appends the popover to a specific element. Example: + container: 'body'. This option is particularly + useful in that it allows you to position the popover in the + flow of the document near the triggering element - which + will prevent the popover from floating away from the + triggering element during a window resize. +
    contentstring, element, function'' + The popover’s text content. If a function is given, it + will be called with its this reference set to + the element that the popover is attached to. +
    customClassstring, function'' + Add classes to the popover when it is shown. Note that these + classes will be added in addition to any classes specified + in the template. To add multiple classes, separate them with + spaces: 'class-1 class-2'. You can also pass a + function that should return a single string containing + additional class names. +
    delaynumber, object0 + Delay showing and hiding the popover (ms)—doesn’t + apply to manual trigger type. If a number is supplied, delay + is applied to both hide/show. Object structure is: + delay: { "show": 500, "hide": 100 + }. +
    fallbackPlacementsstring, array['top', 'right', 'bottom', 'left'] + Define fallback placements by providing a list of placements + in array (in order of preference). For more information + refer to Popper’s + behavior docs. +
    htmlbooleanfalse + Allow HTML in the popover. If true, HTML tags in the + popover’s title will be rendered in the + popover. If false, innerText property will be + used to insert content into the DOM. Use text if + you’re worried about XSS attacks. +
    offsetnumber, string, function[0, 0] + Offset of the popover relative to its target. You can pass a + string in data attributes with comma separated values like: + data-bs-offset="10,20". When a + function is used to determine the offset, it is called with + an object containing the popper placement, the reference, + and popper rects as its first argument. The triggering + element DOM node is passed as the second argument. The + function must return an array with two numbers: + skidding, + distance. For more information refer to Popper’s + offset docs. +
    placementstring, function'top' + How to position the popover: auto, top, bottom, left, right. + When auto is specified, it will dynamically + reorient the popover. When a function is used to determine + the placement, it is called with the popover DOM node as its + first argument and the triggering element DOM node as its + second. The this context is set to the popover + instance. +
    popperConfignull, object, functionnull + To change Bootstrap’s default Popper config, see + Popper’s configuration. When a function is used to create the Popper + configuration, it’s called with an object that + contains the Bootstrap’s default Popper configuration. + It helps you use and merge the default with your own + configuration. The function must return a configuration + object for Popper. +
    sanitizebooleantrue + Enable or disable the sanitization. If activated + 'template', 'content' and + 'title' options will be sanitized. +
    sanitizeFnnull, functionnull + Here you can supply your own sanitize function. This can be + useful if you prefer to use a dedicated library to perform + sanitization. +
    selectorstring, falsefalse + If a selector is provided, popover objects will be delegated + to the specified targets. In practice, this is used to also + apply popovers to dynamically added DOM elements (jQuery.on + support). See + this issue + and + an informative example. Note: title attribute must + not be used as a selector. +
    templatestring + '<div class="popover" + role="popover"><div + class="popover-arrow"></div><div + class="popover-inner"></div></div>' + + Base HTML to use when creating the popover. The + popover’s title will be injected into the + .popover-inner. + .popover-arrow will become the popover’s + arrow. The outermost wrapper element should have the + .popover class and + role="popover". +
    titlestring, element, function'' + The popover title. If a function is given, it will be called + with its this reference set to the element that + the popover is attached to. +
    triggerstring'hover focus' + How popover is triggered: click, hover, focus, manual. You + may pass multiple triggers; separate them with a space. + 'manual' indicates that the popover will be + triggered programmatically via the + .popover('show'), + .popover('hide') and + .popover('toggle') methods; this value cannot + be combined with any other trigger. 'hover' on + its own will result in popovers that cannot be triggered via + the keyboard, and should only be used if alternative methods + for conveying the same information for keyboard users is + present. +
    +
    + +
    +

    + Data attributes for individual popovers + +

    +

    + Options for individual popovers can alternatively be specified + through the use of data attributes, as explained above. +

    +
    + +

    + Using function with popperConfig + +

    +
    +
    const popover = new bootstrap.Popover(element, {
    +  popperConfig(defaultBsPopperConfig) {
    +    // const newPopperConfig = {...}
    +    // use defaultBsPopperConfig if needed...
    +    // return newPopperConfig
    +  }
    +})
    +
    +
    +

    + Methods + +

    +
    + All API methods are asynchronous and start a transition. + They return to the caller as soon as the transition is started, but + before it ends. In addition, a method call on a transitioning + component will be ignored. + Learn more in our JavaScript docs. +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    disable + Removes the ability for an element’s popover to be + shown. The popover will only be able to be shown if it is + re-enabled. +
    dispose + Hides and destroys an element’s popover (Removes + stored data on the DOM element). Popovers that use + delegation (which are created using + the selector option) + cannot be individually destroyed on descendant trigger + elements. +
    enable + Gives an element’s popover the ability to be shown. + Popovers are enabled by default. +
    getInstance + Static method which allows you to get the popover + instance associated with a DOM element. +
    getOrCreateInstance + Static method which allows you to get the popover + instance associated with a DOM element, or create a new one + in case it wasn’t initialized. +
    hide + Hides an element’s popover. + Returns to the caller before the popover has actually + been hidden + (i.e. before the hidden.bs.popover event + occurs). This is considered a “manual” + triggering of the popover. +
    setContent + Gives a way to change the popover’s content after its + initialization. +
    show + Reveals an element’s popover. + Returns to the caller before the popover has actually + been shown + (i.e. before the shown.bs.popover event + occurs). This is considered a “manual” + triggering of the popover. Popovers whose title and content + are both zero-length are never displayed. +
    toggle + Toggles an element’s popover. + Returns to the caller before the popover has actually + been shown or hidden + (i.e. before the shown.bs.popover or + hidden.bs.popover event occurs). This is + considered a “manual” triggering of the popover. +
    toggleEnabled + Toggles the ability for an element’s popover to be + shown or hidden. +
    updateUpdates the position of an element’s popover.
    +
    + +
    +
    // getOrCreateInstance example
    +const popover = bootstrap.Popover.getOrCreateInstance('#example') // Returns a Bootstrap popover instance
    +
    +// setContent example
    +myPopover.setContent({
    +  '.popover-header': 'another title',
    +  '.popover-body': 'another content'
    +})
    +
    +
    +
    + The setContent method accepts an + object argument, where each property-key is a valid + string selector within the popover template, and each + related property-value can be string | + element | function | null +
    + +

    + Events + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    EventDescription
    hide.bs.popover + This event is fired immediately when the + hide instance method has been called. +
    hidden.bs.popover + This event is fired when the popover has finished being + hidden from the user (will wait for CSS transitions to + complete). +
    inserted.bs.popover + This event is fired after the + show.bs.popover event when the popover template + has been added to the DOM. +
    show.bs.popover + This event fires immediately when the + show instance method is called. +
    shown.bs.popover + This event is fired when the popover has been made visible + to the user (will wait for CSS transitions to complete). +
    +
    + +
    +
    const myPopoverTrigger = document.getElementById('myPopover')
    +myPopoverTrigger.addEventListener('hidden.bs.popover', () => {
    +  // do something...
    +})
    +
    +
    +
    +
    - -
    - - -

    Overview

    -

    Things to know when using the popover plugin:

    -
      -
    • Popovers rely on the 3rd party library Popper for positioning. You must include popper.min.js before bootstrap.js or use bootstrap.bundle.min.js / bootstrap.bundle.js which contains Popper in order for popovers to work!
    • -
    • Popovers require the tooltip plugin as a dependency.
    • -
    • Popovers are opt-in for performance reasons, so you must initialize them yourself.
    • -
    • Zero-length title and content values will never show a popover.
    • -
    • Specify container: 'body' to avoid rendering problems in more complex components (like our input groups, button groups, etc).
    • -
    • Triggering popovers on hidden elements will not work.
    • -
    • Popovers for .disabled or disabled elements must be triggered on a wrapper element.
    • -
    • When triggered from anchors that wrap across multiple lines, popovers will be centered between the anchors' overall width. Use .text-nowrap on your <a>s to avoid this behavior.
    • -
    • Popovers must be hidden before their corresponding elements have been removed from the DOM.
    • -
    • Popovers can be triggered thanks to an element inside a shadow DOM.
    • -
    -
    -By default, this component uses the built-in content sanitizer, which strips out any HTML elements that are not explicitly allowed. See the sanitizer section in our JavaScript documentation for more details. -
    - -
    -The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation. -
    - -

    Keep reading to see how popovers work with some examples.

    -

    Example: Enable popovers everywhere

    -

    One way to initialize all popovers on a page would be to select them by their data-bs-toggle attribute:

    -
    var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
    -var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
    -  return new bootstrap.Popover(popoverTriggerEl)
    -})
    -

    Example: Using the container option

    -

    When you have some styles on a parent element that interfere with a popover, you’ll want to specify a custom container so that the popover’s HTML appears within that element instead.

    -
    var popover = new bootstrap.Popover(document.querySelector('.example-popover'), {
    -  container: 'body'
    -})
    -

    Example

    -
    - -
    <button type="button" class="btn btn-lg btn-danger" data-bs-toggle="popover" title="Popover title" data-bs-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>
    -

    Four directions

    -

    Four options are available: top, right, bottom, and left aligned. Directions are mirrored when using Bootstrap in RTL.

    -
    - - - - -
    <button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="top" data-bs-content="Top popover">
    -  Popover on top
    -</button>
    -<button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="right" data-bs-content="Right popover">
    -  Popover on right
    -</button>
    -<button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="bottom" data-bs-content="Bottom popover">
    -  Popover on bottom
    -</button>
    -<button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="left" data-bs-content="Left popover">
    -  Popover on left
    -</button>
    -

    Dismiss on next click

    -

    Use the focus trigger to dismiss popovers on the user’s next click of a different element than the toggle element.

    -
    -

    Specific markup required for dismiss-on-next-click

    -

    For proper cross-browser and cross-platform behavior, you must use the <a> tag, not the <button> tag, and you also must include a tabindex attribute. -

    - -
    <a tabindex="0" class="btn btn-lg btn-danger" role="button" data-bs-toggle="popover" data-bs-trigger="focus" title="Dismissible popover" data-bs-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a>
    -
    var popover = new bootstrap.Popover(document.querySelector('.popover-dismiss'), {
    -  trigger: 'focus'
    -})
    -

    Disabled elements

    -

    Elements with the disabled attribute aren’t interactive, meaning users cannot hover or click them to trigger a popover (or tooltip). As a workaround, you’ll want to trigger the popover from a wrapper <div> or <span>, ideally made keyboard-focusable using tabindex="0".

    -

    For disabled popover triggers, you may also prefer data-bs-trigger="hover focus" so that the popover appears as immediate visual feedback to your users as they may not expect to click on a disabled element.

    -
    - - - -
    <span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="Disabled popover">
    -  <button class="btn btn-primary" type="button" disabled>Disabled button</button>
    -</span>
    -

    Sass

    -

    Variables

    -
    $popover-font-size:                 $font-size-sm;
    -$popover-bg:                        $white;
    -$popover-max-width:                 276px;
    -$popover-border-width:              $border-width;
    -$popover-border-color:              rgba($black, .2);
    -$popover-border-radius:             $border-radius-lg;
    -$popover-inner-border-radius:       subtract($popover-border-radius, $popover-border-width);
    -$popover-box-shadow:                $box-shadow;
    -
    -$popover-header-bg:                 shade-color($popover-bg, 6%);
    -$popover-header-color:              $headings-color;
    -$popover-header-padding-y:          .5rem;
    -$popover-header-padding-x:          $spacer;
    -
    -$popover-body-color:                $body-color;
    -$popover-body-padding-y:            $spacer;
    -$popover-body-padding-x:            $spacer;
    -
    -$popover-arrow-width:               1rem;
    -$popover-arrow-height:              .5rem;
    -$popover-arrow-color:               $popover-bg;
    -
    -$popover-arrow-outer-color:         fade-in($popover-border-color, .05);
    -
    -

    Usage

    -

    Enable popovers via JavaScript:

    -
    var exampleEl = document.getElementById('example')
    -var popover = new bootstrap.Popover(exampleEl, options)
    -
    -

    Making popovers work for keyboard and assistive technology users

    -

    To allow keyboard users to activate your popovers, you should only add them to HTML elements that are traditionally keyboard-focusable and interactive (such as links or form controls). Although arbitrary HTML elements (such as <span>s) can be made focusable by adding the tabindex="0" attribute, this will add potentially annoying and confusing tab stops on non-interactive elements for keyboard users, and most assistive technologies currently do not announce the popover’s content in this situation. Additionally, do not rely solely on hover as the trigger for your popovers, as this will make them impossible to trigger for keyboard users.

    -

    While you can insert rich, structured HTML in popovers with the html option, we strongly recommend that you avoid adding an excessive amount of content. The way popovers currently work is that, once displayed, their content is tied to the trigger element with the aria-describedby attribute. As a result, the entirety of the popover’s content will be announced to assistive technology users as one long, uninterrupted stream.

    -

    Additionally, while it is possible to also include interactive controls (such as form elements or links) in your popover (by adding these elements to the allowList of allowed attributes and tags), be aware that currently the popover does not manage keyboard focus order. When a keyboard user opens a popover, focus remains on the triggering element, and as the popover usually does not immediately follow the trigger in the document’s structure, there is no guarantee that moving forward/pressing TAB will move a keyboard user into the popover itself. In short, simply adding interactive controls to a popover is likely to make these controls unreachable/unusable for keyboard users and users of assistive technologies, or at the very least make for an illogical overall focus order. In these cases, consider using a modal dialog instead.

    - -
    - -

    Options

    -

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-animation="". Make sure to change the case type of the option name from camelCase to kebab-case when passing the options via data attributes. For example, instead of using data-bs-customClass="beautifier", use data-bs-custom-class="beautifier".

    -
    -Note that for security reasons the sanitize, sanitizeFn, and allowList options cannot be supplied using data attributes. -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDefaultDescription
    animationbooleantrueApply a CSS fade transition to the popover
    containerstring | element | falsefalse -

    Appends the popover to a specific element. Example: container: 'body'. This option is particularly useful in that it allows you to position the popover in the flow of the document near the triggering element - which will prevent the popover from floating away from the triggering element during a window resize.

    -
    contentstring | element | function'' -

    Default content value if data-bs-content attribute isn't present.

    -

    If a function is given, it will be called with its this reference set to the element that the popover is attached to.

    -
    delaynumber | object0 -

    Delay showing and hiding the popover (ms) - does not apply to manual trigger type

    -

    If a number is supplied, delay is applied to both hide/show

    -

    Object structure is: delay: { "show": 500, "hide": 100 }

    -
    htmlbooleanfalseInsert HTML into the popover. If false, innerText property will be used to insert content into the DOM. Use text if you're worried about XSS attacks.
    placementstring | function'right' -

    How to position the popover - auto | top | bottom | left | right.
    When auto is specified, it will dynamically reorient the popover.

    -

    When a function is used to determine the placement, it is called with the popover DOM node as its first argument and the triggering element DOM node as its second. The this context is set to the popover instance.

    -
    selectorstring | falsefalseIf a selector is provided, popover objects will be delegated to the specified targets. In practice, this is used to enable dynamic HTML content to have popovers added. See this and an informative example.
    templatestring'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>' -

    Base HTML to use when creating the popover.

    -

    The popover's title will be injected into the .popover-header.

    -

    The popover's content will be injected into the .popover-body.

    -

    .popover-arrow will become the popover's arrow.

    -

    The outermost wrapper element should have the .popover class.

    -
    titlestring | element | function'' -

    Default title value if title attribute isn't present.

    -

    If a function is given, it will be called with its this reference set to the element that the popover is attached to.

    -
    triggerstring'click'How popover is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space. manual cannot be combined with any other trigger.
    fallbackPlacementsarray['top', 'right', 'bottom', 'left']Define fallback placements by providing a list of placements in array (in order of preference). For more information refer to - Popper's behavior docs
    boundarystring | element'clippingParents'Overflow constraint boundary of the popover (applies only to Popper's preventOverflow modifier). By default it's 'clippingParents' and can accept an HTMLElement reference (via JavaScript only). For more information refer to Popper's detectOverflow docs.
    customClassstring | function'' -

    Add classes to the popover when it is shown. Note that these classes will be added in addition to any classes specified in the template. To add multiple classes, separate them with spaces: 'class-1 class-2'.

    -

    You can also pass a function that should return a single string containing additional class names.

    -
    sanitizebooleantrueEnable or disable the sanitization. If activated 'template', 'content' and 'title' options will be sanitized. See the sanitizer section in our JavaScript documentation.
    allowListobjectDefault valueObject which contains allowed attributes and tags
    sanitizeFnnull | functionnullHere you can supply your own sanitize function. This can be useful if you prefer to use a dedicated library to perform sanitization.
    offsetarray | string | function[0, 8] -

    Offset of the popover relative to its target. You can pass a string in data attributes with comma separated values like: data-bs-offset="10,20"

    -

    When a function is used to determine the offset, it is called with an object containing the popper placement, the reference, and popper rects as its first argument. The triggering element DOM node is passed as the second argument. The function must return an array with two numbers: [skidding, distance].

    -

    For more information refer to Popper's offset docs.

    -
    popperConfignull | object | functionnull -

    To change Bootstrap's default Popper config, see Popper's configuration.

    -

    When a function is used to create the Popper configuration, it's called with an object that contains the Bootstrap's default Popper configuration. It helps you use and merge the default with your own configuration. The function must return a configuration object for Popper.

    -
    -
    -

    Data attributes for individual popovers

    -

    Options for individual popovers can alternatively be specified through the use of data attributes, as explained above. -

    - -

    Using function with popperConfig

    -
    var popover = new bootstrap.Popover(element, {
    -  popperConfig: function (defaultBsPopperConfig) {
    -    // var newPopperConfig = {...}
    -    // use defaultBsPopperConfig if needed...
    -    // return newPopperConfig
    -  }
    -})
    -

    Methods

    -
    -

    Asynchronous methods and transitions

    -

    All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

    -

    See our JavaScript documentation for more information.

    - -
    - -

    show

    -

    Reveals an element’s popover. Returns to the caller before the popover has actually been shown (i.e. before the shown.bs.popover event occurs). This is considered a “manual” triggering of the popover. Popovers whose title and content are both zero-length are never displayed.

    -
    myPopover.show()
    -

    hide

    -

    Hides an element’s popover. Returns to the caller before the popover has actually been hidden (i.e. before the hidden.bs.popover event occurs). This is considered a “manual” triggering of the popover.

    -
    myPopover.hide()
    -

    toggle

    -

    Toggles an element’s popover. Returns to the caller before the popover has actually been shown or hidden (i.e. before the shown.bs.popover or hidden.bs.popover event occurs). This is considered a “manual” triggering of the popover.

    -
    myPopover.toggle()
    -

    dispose

    -

    Hides and destroys an element’s popover (Removes stored data on the DOM element). Popovers that use delegation (which are created using the selector option) cannot be individually destroyed on descendant trigger elements.

    -
    myPopover.dispose()
    -

    enable

    -

    Gives an element’s popover the ability to be shown. Popovers are enabled by default.

    -
    myPopover.enable()
    -

    disable

    -

    Removes the ability for an element’s popover to be shown. The popover will only be able to be shown if it is re-enabled.

    -
    myPopover.disable()
    -

    toggleEnabled

    -

    Toggles the ability for an element’s popover to be shown or hidden.

    -
    myPopover.toggleEnabled()
    -

    update

    -

    Updates the position of an element’s popover.

    -
    myPopover.update()
    -

    getInstance

    -

    Static method which allows you to get the popover instance associated with a DOM element

    -
    var exampleTriggerEl = document.getElementById('example')
    -var popover = bootstrap.Popover.getInstance(exampleTriggerEl) // Returns a Bootstrap popover instance
    -

    getOrCreateInstance

    -

    Static method which allows you to get the popover instance associated with a DOM element, or create a new one in case it wasn’t initialized

    -
    var exampleTriggerEl = document.getElementById('example')
    -var popover = bootstrap.Popover.getOrCreateInstance(exampleTriggerEl) // Returns a Bootstrap popover instance
    -

    Events

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Event typeDescription
    show.bs.popoverThis event fires immediately when the show instance method is called.
    shown.bs.popoverThis event is fired when the popover has been made visible to the user (will wait for CSS transitions to complete).
    hide.bs.popoverThis event is fired immediately when the hide instance method has been called.
    hidden.bs.popoverThis event is fired when the popover has finished being hidden from the user (will wait for CSS transitions to complete).
    inserted.bs.popoverThis event is fired after the show.bs.popover event when the popover template has been added to the DOM.
    -
    var myPopoverTrigger = document.getElementById('myPopover')
    -myPopoverTrigger.addEventListener('hidden.bs.popover', function () {
    -  // do something...
    -})
    -
    +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/progress/index.html b/components/progress/index.html index 2c608a9..453d4b8 100644 --- a/components/progress/index.html +++ b/components/progress/index.html @@ -1,639 +1,3068 @@ - - + + + + + + + + + + + + - - - - - - - + Progress · Bootstrap v5.3 - - + + -Progress · Bootstrap v5.1 + - + + + + + + + + + + + - - + + + + + + - + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + -
    - + +
    +
    +
    + +

    Progress

    +
    +

    + Documentation and examples for using Bootstrap custom progress bars + featuring support for stacked bars, animated backgrounds, and text + labels. +

    - -
  • - - -
    - + +
    + + On this page +
    +
    -
  • -
  • - - -
    -
      -
    • Overview
    • -
    • Team
    • -
    • Brand
    • -
    • License
    • -
    • Translations
    • + +
      +
      + New markup in v5.3.0 — We’ve deprecated the + previous HTML structure for progress bars and replaced it with a + more accessible one. The previous structure will continue to work + until v6. + See what’s changed in our migration guide. +
      + +

      + How it works + +

      +

      + Progress components are built with two HTML elements, some CSS to + set the width, and a few attributes. We don’t use + the HTML5 <progress> element, ensuring you can stack progress bars, animate them, and place + text labels over them. +

      +
        +
      • + We use the .progress as a wrapper to indicate the max + value of the progress bar. +
      • +
      • + The .progress wrapper also requires a + role="progressbar" and + aria attributes to make it accessible, including an + accessible name (using aria-label, + aria-labelledby, or similar). +
      • +
      • + We use the inner .progress-bar purely for the visual + bar and label. +
      • +
      • + The .progress-bar requires an inline style, utility + class, or custom CSS to set its width. +
      • +
      • + We provide a special .progress-stacked class to + create multiple/stacked progress bars. +
      -
      - -
    • -
    • - - Migration - -
    • -
    - +

    Put that all together, and you have the following examples.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar" style="width: 0%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar" style="width: 25%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar" style="width: 50%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar" style="width: 75%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar" style="width: 100%"></div>
    +</div>
    +
    +
    - +

    + Bar sizing + +

    +

    + Width + +

    +

    + Bootstrap provides a handful of + utilities for setting width. Depending on your needs, these may help with quickly configuring + the width of the .progress-bar. +

    +
    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar w-75"></div>
    +</div>
    +
    +
    -
    -
    -
    - View on GitHub -

    Progress

    -
    -

    Documentation and examples for using Bootstrap custom progress bars featuring support for stacked bars, animated backgrounds, and text labels.

    - +

    + Height + +

    +

    + You only set a height value on the + .progress container, so if you change that value, the + inner .progress-bar will automatically resize + accordingly. +

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Example 1px high" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="height: 1px">
    +  <div class="progress-bar" style="width: 25%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Example 20px high" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="height: 20px">
    +  <div class="progress-bar" style="width: 25%"></div>
    +</div>
    +
    +
    -
    +

    + Labels + +

    +

    + Add labels to your progress bars by placing text within the + .progress-bar. +

    +
    +
    +
    +
    25%
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Example with label" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar" style="width: 25%">25%</div>
    +</div>
    +
    +
    +

    + Note that by default, the content inside the + .progress-bar is controlled with + overflow: hidden, so it doesn’t bleed out of the + bar. If your progress bar is shorter than its label, the content + will be capped and may become unreadable. To change this behavior, + you can use .overflow-visible from the + overflow utilities, but make sure to also define an explicit + text color so + the text remains readable. Be aware though that currently this + approach does not take into account + color modes. +

    +
    +
    +
    +
    + Long label text for the progress bar, set to a dark color +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Example with label" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar overflow-visible text-dark" style="width: 10%">Long label text for the progress bar, set to a dark color</div>
    +</div>
    +
    +
    -
    - On this page - -
    +

    + Backgrounds + +

    +

    + Use background utility classes to change the appearance of + individual progress bars. +

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Success example" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar bg-success" style="width: 25%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Info example" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar bg-info" style="width: 50%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Warning example" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar bg-warning" style="width: 75%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Danger example" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar bg-danger" style="width: 100%"></div>
    +</div>
    +
    +
    +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    -
    - - -

    How it works

    -

    Progress components are built with two HTML elements, some CSS to set the width, and a few attributes. We don’t use the HTML5 <progress> element, ensuring you can stack progress bars, animate them, and place text labels over them.

    -
      -
    • We use the .progress as a wrapper to indicate the max value of the progress bar.
    • -
    • We use the inner .progress-bar to indicate the progress so far.
    • -
    • The .progress-bar requires an inline style, utility class, or custom CSS to set their width.
    • -
    • The .progress-bar also requires some role and aria attributes to make it accessible.
    • -
    -

    Put that all together, and you have the following examples.

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    <div class="progress">
    -  <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -

    Bootstrap provides a handful of utilities for setting width. Depending on your needs, these may help with quickly configuring progress.

    -
    -
    -
    -
    -
    <div class="progress">
    -  <div class="progress-bar w-75" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -

    Labels

    -

    Add labels to your progress bars by placing text within the .progress-bar.

    -
    -
    -
    25%
    -
    -
    <div class="progress">
    -  <div class="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">25%</div>
    -</div>
    -

    Height

    -

    We only set a height value on the .progress, so if you change that value the inner .progress-bar will automatically resize accordingly.

    -
    -
    -
    -
    -
    -
    -
    -
    <div class="progress" style="height: 1px;">
    -  <div class="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress" style="height: 20px;">
    -  <div class="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -

    Backgrounds

    -

    Use background utility classes to change the appearance of individual progress bars.

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    <div class="progress">
    -  <div class="progress-bar bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar bg-info" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar bg-warning" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar bg-danger" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -

    Multiple bars

    -

    Include multiple progress bars in a progress component if you need.

    -
    -
    -
    -
    -
    -
    -
    <div class="progress">
    -  <div class="progress-bar" role="progressbar" style="width: 15%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
    -  <div class="progress-bar bg-success" role="progressbar" style="width: 30%" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100"></div>
    -  <div class="progress-bar bg-info" role="progressbar" style="width: 20%" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -

    Striped

    -

    Add .progress-bar-striped to any .progress-bar to apply a stripe via CSS gradient over the progress bar’s background color.

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    <div class="progress">
    -  <div class="progress-bar progress-bar-striped" role="progressbar" style="width: 10%" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar progress-bar-striped bg-info" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar progress-bar-striped bg-warning" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -<div class="progress">
    -  <div class="progress-bar progress-bar-striped bg-danger" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
    -</div>
    -

    Animated stripes

    -

    The striped gradient can also be animated. Add .progress-bar-animated to .progress-bar to animate the stripes right to left via CSS3 animations.

    -
    -
    -
    -
    -
    <div class="progress">
    -  <div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%"></div>
    -</div>
    -

    Sass

    -

    Variables

    -
    $progress-height:                   1rem;
    -$progress-font-size:                $font-size-base * .75;
    -$progress-bg:                       $gray-200;
    -$progress-border-radius:            $border-radius;
    -$progress-box-shadow:               $box-shadow-inset;
    -$progress-bar-color:                $white;
    -$progress-bar-bg:                   $primary;
    -$progress-bar-animation-timing:     1s linear infinite;
    -$progress-bar-transition:           width .6s ease;
    -
    -

    Keyframes

    -

    Used for creating the CSS animations for .progress-bar-animated. Included in scss/_progress-bar.scss.

    -
    @if $enable-transitions {
    -  @keyframes progress-bar-stripes {
    -    0% { background-position-x: $progress-height; }
    -  }
    -}
    -
    +

    + If you’re adding labels to progress bars with a custom + background color, make sure to also set an appropriate + text color, + so the labels remain readable and have sufficient contrast. +

    +
    +
    +
    +
    + 25% +
    +
    +
    +
    + 50% +
    +
    +
    +
    + 75% +
    +
    +
    +
    + 100% +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Success example" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar bg-success" style="width: 25%">25%</div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Info example" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar bg-info text-dark" style="width: 50%">50%</div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Warning example" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar bg-warning text-dark" style="width: 75%">75%</div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Danger example" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar bg-danger" style="width: 100%">100%</div>
    +</div>
    +
    +
    -
    -
    -
    +

    + Alternatively, you can use the new combined + color and background + helper classes. +

    +
    +
    +
    +
    + 75% +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Warning example" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar text-bg-warning" style="width: 75%">75%</div>
    +</div>
    +
    +
    +

    + Multiple bars + +

    +

    + You can include multiple progress components inside a container with + .progress-stacked to create a single stacked progress + bar. Note that in this case, the styling to set the visual width of + the progress bar must be applied to the + .progress elements, rather than the + .progress-bars. +

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress-stacked">
    +  <div class="progress" role="progressbar" aria-label="Segment one" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100" style="width: 15%">
    +    <div class="progress-bar"></div>
    +  </div>
    +  <div class="progress" role="progressbar" aria-label="Segment two" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%">
    +    <div class="progress-bar bg-success"></div>
    +  </div>
    +  <div class="progress" role="progressbar" aria-label="Segment three" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
    +    <div class="progress-bar bg-info"></div>
    +  </div>
    +</div>
    +
    +
    -
    -
    -
    -
    - - Bootstrap - Bootstrap - - -
    -
    -
    Links
    - -
    - -
    -
    Projects
    - -
    - +

    + Striped + +

    +

    + Add .progress-bar-striped to any + .progress-bar to apply a stripe via CSS gradient over + the progress bar’s background color. +

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Default striped example" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar progress-bar-striped" style="width: 10%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Success striped example" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar progress-bar-striped bg-success" style="width: 25%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Info striped example" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar progress-bar-striped bg-info" style="width: 50%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Warning striped example" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar progress-bar-striped bg-warning" style="width: 75%"></div>
    +</div>
    +<div class="progress" role="progressbar" aria-label="Danger striped example" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar progress-bar-striped bg-danger" style="width: 100%"></div>
    +</div>
    +
    +
    + +

    + Animated stripes + +

    +

    + The striped gradient can also be animated. Add + .progress-bar-animated to .progress-bar to + animate the stripes right to left via CSS3 animations. +

    +
    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="progress" role="progressbar" aria-label="Animated striped example" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
    +  <div class="progress-bar progress-bar-striped progress-bar-animated" style="width: 75%"></div>
    +</div>
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, + progress bars now use local CSS variables on + .progress for enhanced real-time customization. Values + for the CSS variables are set via Sass, so Sass customization is + still supported, too. +

    +
    +
    + scss/_progress.scss +
    + +
    +
    +
    +
    --#{$prefix}progress-height: #{$progress-height};
    +@include rfs($progress-font-size, --#{$prefix}progress-font-size);
    +--#{$prefix}progress-bg: #{$progress-bg};
    +--#{$prefix}progress-border-radius: #{$progress-border-radius};
    +--#{$prefix}progress-box-shadow: #{$progress-box-shadow};
    +--#{$prefix}progress-bar-color: #{$progress-bar-color};
    +--#{$prefix}progress-bar-bg: #{$progress-bar-bg};
    +--#{$prefix}progress-bar-transition: #{$progress-bar-transition};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $progress-height:                   1rem;
    +$progress-font-size:                $font-size-base * .75;
    +$progress-bg:                       var(--#{$prefix}secondary-bg);
    +$progress-border-radius:            var(--#{$prefix}border-radius);
    +$progress-box-shadow:               var(--#{$prefix}box-shadow-inset);
    +$progress-bar-color:                $white;
    +$progress-bar-bg:                   $primary;
    +$progress-bar-animation-timing:     1s linear infinite;
    +$progress-bar-transition:           width .6s ease;
    +
    +
    +
    +

    + Keyframes + +

    +

    + Used for creating the CSS animations for + .progress-bar-animated. Included in + scss/_progress-bar.scss. +

    +
    +
    + scss/_progress.scss +
    + +
    +
    +
    +
    @if $enable-transitions {
    +  @keyframes progress-bar-stripes {
    +    0% { background-position-x: $progress-height; }
    +  }
    +}
    +
    +
    +
    +
    +
  • - - - + + - + + - + + + + + + diff --git a/components/scrollspy/index.html b/components/scrollspy/index.html index daf752c..45cc4b6 100644 --- a/components/scrollspy/index.html +++ b/components/scrollspy/index.html @@ -1,769 +1,2867 @@ - - - - - - - - - - - - - - - -Scrollspy · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Scrollspy · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Scrollspy

    +
    +

    + Automatically update Bootstrap navigation or list group components + based on scroll position to indicate which link is currently active + in the viewport. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Scrollspy

    +
    + + On this page +
    +
    -

    Automatically update Bootstrap navigation or list group components based on scroll position to indicate which link is currently active in the viewport.

    - - -
    - -
    - On this page - +

    + Examples + +

    + +

    + Scroll the area below the navbar and watch the active class change. + Open the dropdown menu and watch the dropdown items be highlighted + as well. +

    +
    + +
    +

    First heading

    +

    + This is some placeholder content for the scrollspy page. Note + that as you scroll down the page, the appropriate navigation + link is highlighted. It's repeated throughout the component + example. We keep adding some more example copy here to emphasize + the scrolling and highlighting. +

    +

    Second heading

    +

    + This is some placeholder content for the scrollspy page. Note + that as you scroll down the page, the appropriate navigation + link is highlighted. It's repeated throughout the component + example. We keep adding some more example copy here to emphasize + the scrolling and highlighting. +

    +

    Third heading

    +

    + This is some placeholder content for the scrollspy page. Note + that as you scroll down the page, the appropriate navigation + link is highlighted. It's repeated throughout the component + example. We keep adding some more example copy here to emphasize + the scrolling and highlighting. +

    +

    Fourth heading

    +

    + This is some placeholder content for the scrollspy page. Note + that as you scroll down the page, the appropriate navigation + link is highlighted. It's repeated throughout the component + example. We keep adding some more example copy here to emphasize + the scrolling and highlighting. +

    +

    Fifth heading

    +

    + This is some placeholder content for the scrollspy page. Note + that as you scroll down the page, the appropriate navigation + link is highlighted. It's repeated throughout the component + example. We keep adding some more example copy here to emphasize + the scrolling and highlighting. +

    +
    +
    +
    +
    <nav id="navbar-example2" class="navbar bg-body-tertiary px-3 mb-3">
    +  <a class="navbar-brand" href="#">Navbar</a>
    +  <ul class="nav nav-pills">
    +    <li class="nav-item">
    +      <a class="nav-link" href="#scrollspyHeading1">First</a>
    +    </li>
    +    <li class="nav-item">
    +      <a class="nav-link" href="#scrollspyHeading2">Second</a>
    +    </li>
    +    <li class="nav-item dropdown">
    +      <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Dropdown</a>
    +      <ul class="dropdown-menu">
    +        <li><a class="dropdown-item" href="#scrollspyHeading3">Third</a></li>
    +        <li><a class="dropdown-item" href="#scrollspyHeading4">Fourth</a></li>
    +        <li><hr class="dropdown-divider"></li>
    +        <li><a class="dropdown-item" href="#scrollspyHeading5">Fifth</a></li>
    +      </ul>
    +    </li>
    +  </ul>
    +</nav>
    +<div data-bs-spy="scroll" data-bs-target="#navbar-example2" data-bs-root-margin="0px 0px -40%" data-bs-smooth-scroll="true" class="scrollspy-example bg-body-tertiary p-3 rounded-2" tabindex="0">
    +  <h4 id="scrollspyHeading1">First heading</h4>
    +  <p>...</p>
    +  <h4 id="scrollspyHeading2">Second heading</h4>
    +  <p>...</p>
    +  <h4 id="scrollspyHeading3">Third heading</h4>
    +  <p>...</p>
    +  <h4 id="scrollspyHeading4">Fourth heading</h4>
    +  <p>...</p>
    +  <h4 id="scrollspyHeading5">Fifth heading</h4>
    +  <p>...</p>
    +</div>
    +
    +
    +

    + Nested nav + +

    +

    + Scrollspy also works with nested .navs. If a nested + .nav is .active, its parents will also be + .active. Scroll the area next to the navbar and watch + the active class change. +

    +
    +
    +
    + +
    +
    +
    +
    +

    Item 1

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout + the component example. We keep adding some more example + copy here to emphasize the scrolling and highlighting. +

    +

    + Keep in mind that the JavaScript plugin tries to pick the + right element among all that may be visible. Multiple + visible scrollspy targets at the same time may cause some + issues. +

    +
    +
    +
    Item 1-1
    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout + the component example. We keep adding some more example + copy here to emphasize the scrolling and highlighting. +

    +

    + Keep in mind that the JavaScript plugin tries to pick the + right element among all that may be visible. Multiple + visible scrollspy targets at the same time may cause some + issues. +

    +
    +
    +
    Item 1-2
    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout + the component example. We keep adding some more example + copy here to emphasize the scrolling and highlighting. +

    +

    + Keep in mind that the JavaScript plugin tries to pick the + right element among all that may be visible. Multiple + visible scrollspy targets at the same time may cause some + issues. +

    +
    +
    +

    Item 2

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout + the component example. We keep adding some more example + copy here to emphasize the scrolling and highlighting. +

    +

    + Keep in mind that the JavaScript plugin tries to pick the + right element among all that may be visible. Multiple + visible scrollspy targets at the same time may cause some + issues. +

    +
    +
    +

    Item 3

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout + the component example. We keep adding some more example + copy here to emphasize the scrolling and highlighting. +

    +

    + Keep in mind that the JavaScript plugin tries to pick the + right element among all that may be visible. Multiple + visible scrollspy targets at the same time may cause some + issues. +

    +
    +
    +
    Item 3-1
    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout + the component example. We keep adding some more example + copy here to emphasize the scrolling and highlighting. +

    +

    + Keep in mind that the JavaScript plugin tries to pick the + right element among all that may be visible. Multiple + visible scrollspy targets at the same time may cause some + issues. +

    +
    +
    +
    Item 3-2
    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout + the component example. We keep adding some more example + copy here to emphasize the scrolling and highlighting. +

    +

    + Keep in mind that the JavaScript plugin tries to pick the + right element among all that may be visible. Multiple + visible scrollspy targets at the same time may cause some + issues. +

    +
    +
    +
    +
    +
    +
    +
    <div class="row">
    +  <div class="col-4">
    +    <nav id="navbar-example3" class="h-100 flex-column align-items-stretch pe-4 border-end">
    +      <nav class="nav nav-pills flex-column">
    +        <a class="nav-link" href="#item-1">Item 1</a>
    +        <nav class="nav nav-pills flex-column">
    +          <a class="nav-link ms-3 my-1" href="#item-1-1">Item 1-1</a>
    +          <a class="nav-link ms-3 my-1" href="#item-1-2">Item 1-2</a>
    +        </nav>
    +        <a class="nav-link" href="#item-2">Item 2</a>
    +        <a class="nav-link" href="#item-3">Item 3</a>
    +        <nav class="nav nav-pills flex-column">
    +          <a class="nav-link ms-3 my-1" href="#item-3-1">Item 3-1</a>
    +          <a class="nav-link ms-3 my-1" href="#item-3-2">Item 3-2</a>
    +        </nav>
    +      </nav>
    +    </nav>
    +  </div>
    +
    +  <div class="col-8">
    +    <div data-bs-spy="scroll" data-bs-target="#navbar-example3" data-bs-smooth-scroll="true" class="scrollspy-example-2" tabindex="0">
    +      <div id="item-1">
    +        <h4>Item 1</h4>
    +        <p>...</p>
    +      </div>
    +      <div id="item-1-1">
    +        <h5>Item 1-1</h5>
    +        <p>...</p>
    +      </div>
    +      <div id="item-1-2">
    +        <h5>Item 1-2</h5>
    +        <p>...</p>
    +      </div>
    +      <div id="item-2">
    +        <h4>Item 2</h4>
    +        <p>...</p>
    +      </div>
    +      <div id="item-3">
    +        <h4>Item 3</h4>
    +        <p>...</p>
    +      </div>
    +      <div id="item-3-1">
    +        <h5>Item 3-1</h5>
    +        <p>...</p>
    +      </div>
    +      <div id="item-3-2">
    +        <h5>Item 3-2</h5>
    +        <p>...</p>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    + List group + +

    +

    + Scrollspy also works with .list-groups. Scroll the area + next to the list group and watch the active class change. +

    +
    +
    +
    + +
    +
    +
    +

    Item 1

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout the + component example. We keep adding some more example copy + here to emphasize the scrolling and highlighting. +

    +

    Item 2

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout the + component example. We keep adding some more example copy + here to emphasize the scrolling and highlighting. +

    +

    Item 3

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout the + component example. We keep adding some more example copy + here to emphasize the scrolling and highlighting. +

    +

    Item 4

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout the + component example. We keep adding some more example copy + here to emphasize the scrolling and highlighting. +

    +
    +
    +
    +
    +
    +
    <div class="row">
    +  <div class="col-4">
    +    <div id="list-example" class="list-group">
    +      <a class="list-group-item list-group-item-action" href="#list-item-1">Item 1</a>
    +      <a class="list-group-item list-group-item-action" href="#list-item-2">Item 2</a>
    +      <a class="list-group-item list-group-item-action" href="#list-item-3">Item 3</a>
    +      <a class="list-group-item list-group-item-action" href="#list-item-4">Item 4</a>
    +    </div>
    +  </div>
    +  <div class="col-8">
    +    <div data-bs-spy="scroll" data-bs-target="#list-example" data-bs-smooth-scroll="true" class="scrollspy-example" tabindex="0">
    +      <h4 id="list-item-1">Item 1</h4>
    +      <p>...</p>
    +      <h4 id="list-item-2">Item 2</h4>
    +      <p>...</p>
    +      <h4 id="list-item-3">Item 3</h4>
    +      <p>...</p>
    +      <h4 id="list-item-4">Item 4</h4>
    +      <p>...</p>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    + Simple anchors + +

    +

    + Scrollspy is not limited to nav components and list groups, so it + will work on any <a> anchor elements in the + current document. Scroll the area and watch the + .active class change. +

    +
    +
    +
    + +
    +
    +
    +

    Item 1

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout the + component example. We keep adding some more example copy + here to emphasize the scrolling and highlighting. +

    +

    Item 2

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout the + component example. We keep adding some more example copy + here to emphasize the scrolling and highlighting. +

    +

    Item 3

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout the + component example. We keep adding some more example copy + here to emphasize the scrolling and highlighting. +

    +

    Item 4

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout the + component example. We keep adding some more example copy + here to emphasize the scrolling and highlighting. +

    +

    Item 5

    +

    + This is some placeholder content for the scrollspy page. + Note that as you scroll down the page, the appropriate + navigation link is highlighted. It's repeated throughout the + component example. We keep adding some more example copy + here to emphasize the scrolling and highlighting. +

    +
    +
    +
    +
    +
    +
    <div class="row">
    +  <div class="col-4">
    +    <div id="simple-list-example" class="d-flex flex-column gap-2 simple-list-example-scrollspy text-center">
    +      <a class="p-1 rounded" href="#simple-list-item-1">Item 1</a>
    +      <a class="p-1 rounded" href="#simple-list-item-2">Item 2</a>
    +      <a class="p-1 rounded" href="#simple-list-item-3">Item 3</a>
    +      <a class="p-1 rounded" href="#simple-list-item-4">Item 4</a>
    +      <a class="p-1 rounded" href="#simple-list-item-5">Item 5</a>
    +    </div>
    +  </div>
    +  <div class="col-8">
    +    <div data-bs-spy="scroll" data-bs-target="#simple-list-example" data-bs-offset="0" data-bs-smooth-scroll="true" class="scrollspy-example" tabindex="0">
    +      <h4 id="simple-list-item-1">Item 1</h4>
    +      <p>...</p>
    +      <h4 id="simple-list-item-2">Item 2</h4>
    +      <p>...</p>
    +      <h4 id="simple-list-item-3">Item 3</h4>
    +      <p>...</p>
    +      <h4 id="simple-list-item-4">Item 4</h4>
    +      <p>...</p>
    +      <h4 id="simple-list-item-5">Item 5</h4>
    +      <p>...</p>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    + Non-visible elements + +

    +

    + Target elements that aren’t visible will be ignored and their + corresponding nav items won’t receive an + .active class. Scrollspy instances initialized in a + non-visible wrapper will ignore all target elements. Use the + refresh method to check for observable elements once + the wrapper becomes visible. +

    +
    +
    document.querySelectorAll('#nav-tab>[data-bs-toggle="tab"]').forEach(el => {
    +  el.addEventListener('shown.bs.tab', () => {
    +    const target = el.getAttribute('data-bs-target')
    +    const scrollElem = document.querySelector(`${target} [data-bs-spy="scroll"]`)
    +    bootstrap.ScrollSpy.getOrCreateInstance(scrollElem).refresh()
    +  })
    +})
    +
    +
    +

    + Usage + +

    +

    + Via data attributes + +

    +

    + To easily add scrollspy behavior to your topbar navigation, add + data-bs-spy="scroll" to the element you want + to spy on (most typically this would be the + <body>). Then add the + data-bs-target attribute with the id or + class name of the parent element of any Bootstrap + .nav component. +

    +
    +
    <body data-bs-spy="scroll" data-bs-target="#navbar-example">
    +  ...
    +  <div id="navbar-example">
    +    <ul class="nav nav-tabs" role="tablist">
    +      ...
    +    </ul>
    +  </div>
    +  ...
    +</body>
    +
    +
    +

    + Via JavaScript + +

    +
    +
    const scrollSpy = new bootstrap.ScrollSpy(document.body, {
    +  target: '#navbar-example'
    +})
    +
    +
    +

    + Options + +

    +

    + As options can be passed via data attributes or JavaScript, you can + append an option name to data-bs-, as in + data-bs-animation="{value}". Make sure to + change the case type of the option name from + “camelCase” to + “kebab-case” when passing the options via data + attributes. For example, use + data-bs-custom-class="beautifier" instead of + data-bs-customClass="beautifier". +

    +

    + As of Bootstrap 5.2.0, all components support an + experimental reserved data attribute + data-bs-config that can house simple component + configuration as a JSON string. When an element has + data-bs-config='{"delay":0, + "title":123}' + and data-bs-title="456" attributes, the final + title value will be 456 and the separate + data attributes will override values given on + data-bs-config. In addition, existing data attributes + are able to house JSON values like + data-bs-delay='{"show":0,"hide":150}'. +

    +

    + The final configuration object is the merged result of + data-bs-config, data-bs-, and + js object where the latest given key-value overrides + the others. +

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDefaultDescription
    rootMarginstring0px 0px -25% + Intersection Observer + rootMargin + valid units, when calculating scroll position. +
    smoothScrollbooleanfalse + Enables smooth scrolling when a user clicks on a link that + refers to ScrollSpy observables. +
    targetstring, DOM elementnullSpecifies element to apply Scrollspy plugin.
    thresholdarray[0.1, 0.5, 1] + IntersectionObserver + threshold + valid input, when calculating scroll position. +
    +
    + +
    +

    Deprecated Options

    +

    + Up until v5.1.3 we were using offset & + method options, which are now deprecated and replaced + by rootMargin. To keep backwards compatibility, we + will continue to parse a given offset to + rootMargin, but this feature will be removed in + v6. +

    +
    + +

    + Methods + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    dispose + Destroys an element’s scrollspy. (Removes stored data + on the DOM element) +
    getInstance + Static method to get the scrollspy instance + associated with a DOM element. +
    getOrCreateInstance + Static method to get the scrollspy instance + associated with a DOM element, or to create a new one in + case it wasn’t initialized. +
    refresh + When adding or removing elements in the DOM, you’ll + need to call the refresh method. +
    +
    + +

    Here’s an example using the refresh method:

    +
    +
    const dataSpyList = document.querySelectorAll('[data-bs-spy="scroll"]')
    +dataSpyList.forEach(dataSpyEl => {
    +  bootstrap.ScrollSpy.getInstance(dataSpyEl).refresh()
    +})
    +
    +
    +

    + Events + +

    +
    + + + + + + + + + + + + + +
    EventDescription
    activate.bs.scrollspy + This event fires on the scroll element whenever an anchor is + activated by the scrollspy. +
    +
    + +
    +
    const firstScrollSpyEl = document.querySelector('[data-bs-spy="scroll"]')
    +firstScrollSpyEl.addEventListener('activate.bs.scrollspy', () => {
    +  // do something...
    +})
    +
    +
    - - -
    - - -

    How it works

    -

    Scrollspy has a few requirements to function properly:

    -
      -
    • It must be used on a Bootstrap nav component or list group.
    • -
    • Scrollspy requires position: relative; on the element you’re spying on, usually the <body>.
    • -
    • Anchors (<a>) are required and must point to an element with that id.
    • -
    -

    When successfully implemented, your nav or list group will update accordingly, moving the .active class from one item to the next based on their associated targets.

    -
    -

    Scrollable containers and keyboard access

    -

    If you’re making a scrollable container (other than the <body>), be sure to have a height set and overflow-y: scroll; applied to it—alongside a tabindex="0" to ensure keyboard access. -

    - -

    Example in navbar

    -

    Scroll the area below the navbar and watch the active class change. The dropdown items will be highlighted as well.

    -
    - -
    -

    First heading

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -

    Second heading

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -

    Third heading

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -

    Fourth heading

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -

    Fifth heading

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -
    -
    -
    <nav id="navbar-example2" class="navbar navbar-light bg-light px-3">
    -  <a class="navbar-brand" href="#">Navbar</a>
    -  <ul class="nav nav-pills">
    -    <li class="nav-item">
    -      <a class="nav-link" href="#scrollspyHeading1">First</a>
    -    </li>
    -    <li class="nav-item">
    -      <a class="nav-link" href="#scrollspyHeading2">Second</a>
    -    </li>
    -    <li class="nav-item dropdown">
    -      <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Dropdown</a>
    -      <ul class="dropdown-menu">
    -        <li><a class="dropdown-item" href="#scrollspyHeading3">Third</a></li>
    -        <li><a class="dropdown-item" href="#scrollspyHeading4">Fourth</a></li>
    -        <li><hr class="dropdown-divider"></li>
    -        <li><a class="dropdown-item" href="#scrollspyHeading5">Fifth</a></li>
    -      </ul>
    -    </li>
    -  </ul>
    -</nav>
    -<div data-bs-spy="scroll" data-bs-target="#navbar-example2" data-bs-offset="0" class="scrollspy-example" tabindex="0">
    -  <h4 id="scrollspyHeading1">First heading</h4>
    -  <p>...</p>
    -  <h4 id="scrollspyHeading2">Second heading</h4>
    -  <p>...</p>
    -  <h4 id="scrollspyHeading3">Third heading</h4>
    -  <p>...</p>
    -  <h4 id="scrollspyHeading4">Fourth heading</h4>
    -  <p>...</p>
    -  <h4 id="scrollspyHeading5">Fifth heading</h4>
    -  <p>...</p>
    -</div>
    -

    Example with nested nav

    -

    Scrollspy also works with nested .navs. If a nested .nav is .active, its parents will also be .active. Scroll the area next to the navbar and watch the active class change.

    -
    -
    -
    - -
    -
    -
    -

    Item 1

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -
    Item 1-1
    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -
    Item 1-2
    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -

    Item 2

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -

    Item 3

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -
    Item 3-1
    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -
    Item 3-2
    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -
    -
    -
    -
    -
    <nav id="navbar-example3" class="navbar navbar-light bg-light flex-column align-items-stretch p-3">
    -  <a class="navbar-brand" href="#">Navbar</a>
    -  <nav class="nav nav-pills flex-column">
    -    <a class="nav-link" href="#item-1">Item 1</a>
    -    <nav class="nav nav-pills flex-column">
    -      <a class="nav-link ms-3 my-1" href="#item-1-1">Item 1-1</a>
    -      <a class="nav-link ms-3 my-1" href="#item-1-2">Item 1-2</a>
    -    </nav>
    -    <a class="nav-link" href="#item-2">Item 2</a>
    -    <a class="nav-link" href="#item-3">Item 3</a>
    -    <nav class="nav nav-pills flex-column">
    -      <a class="nav-link ms-3 my-1" href="#item-3-1">Item 3-1</a>
    -      <a class="nav-link ms-3 my-1" href="#item-3-2">Item 3-2</a>
    -    </nav>
    -  </nav>
    -</nav>
    -
    -<div data-bs-spy="scroll" data-bs-target="#navbar-example3" data-bs-offset="0" tabindex="0">
    -  <h4 id="item-1">Item 1</h4>
    -  <p>...</p>
    -  <h5 id="item-1-1">Item 1-1</h5>
    -  <p>...</p>
    -  <h5 id="item-1-2">Item 1-2</h5>
    -  <p>...</p>
    -  <h4 id="item-2">Item 2</h4>
    -  <p>...</p>
    -  <h4 id="item-3">Item 3</h4>
    -  <p>...</p>
    -  <h5 id="item-3-1">Item 3-1</h5>
    -  <p>...</p>
    -  <h5 id="item-3-2">Item 3-2</h5>
    -  <p>...</p>
    -</div>
    -

    Example with list-group

    -

    Scrollspy also works with .list-groups. Scroll the area next to the list group and watch the active class change.

    -
    -
    -
    - -
    -
    -
    -

    Item 1

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -

    Item 2

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -

    Item 3

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -

    Item 4

    -

    This is some placeholder content for the scrollspy page. Note that as you scroll down the page, the appropriate navigation link is highlighted. It's repeated throughout the component example. We keep adding some more example copy here to emphasize the scrolling and highlighting.

    -
    +
    - - -
    <div id="list-example" class="list-group">
    -  <a class="list-group-item list-group-item-action" href="#list-item-1">Item 1</a>
    -  <a class="list-group-item list-group-item-action" href="#list-item-2">Item 2</a>
    -  <a class="list-group-item list-group-item-action" href="#list-item-3">Item 3</a>
    -  <a class="list-group-item list-group-item-action" href="#list-item-4">Item 4</a>
    -</div>
    -<div data-bs-spy="scroll" data-bs-target="#list-example" data-bs-offset="0" class="scrollspy-example" tabindex="0">
    -  <h4 id="list-item-1">Item 1</h4>
    -  <p>...</p>
    -  <h4 id="list-item-2">Item 2</h4>
    -  <p>...</p>
    -  <h4 id="list-item-3">Item 3</h4>
    -  <p>...</p>
    -  <h4 id="list-item-4">Item 4</h4>
    -  <p>...</p>
    -</div>
    -

    Usage

    -

    Via data attributes

    -

    To easily add scrollspy behavior to your topbar navigation, add data-bs-spy="scroll" to the element you want to spy on (most typically this would be the <body>). Then add the data-bs-target attribute with the ID or class of the parent element of any Bootstrap .nav component.

    -
    body {
    -  position: relative;
    -}
    -
    <body data-bs-spy="scroll" data-bs-target="#navbar-example">
    -  ...
    -  <div id="navbar-example">
    -    <ul class="nav nav-tabs" role="tablist">
    -      ...
    -    </ul>
    -  </div>
    -  ...
    -</body>
    -

    Via JavaScript

    -

    After adding position: relative; in your CSS, call the scrollspy via JavaScript:

    -
    var scrollSpy = new bootstrap.ScrollSpy(document.body, {
    -  target: '#navbar-example'
    -})
    -
    -

    Resolvable ID targets required

    -

    Navbar links must have resolvable id targets. For example, a <a href="#home">home</a> must correspond to something in the DOM like <div id="home"></div>. -

    - -
    -

    Non-visible target elements ignored

    -

    Target elements that are not visible will be ignored and their corresponding nav items will never be highlighted. -

    - -

    Methods

    -

    refresh

    -

    When using scrollspy in conjunction with adding or removing of elements from the DOM, you’ll need to call the refresh method like so:

    -
    var dataSpyList = [].slice.call(document.querySelectorAll('[data-bs-spy="scroll"]'))
    -dataSpyList.forEach(function (dataSpyEl) {
    -  bootstrap.ScrollSpy.getInstance(dataSpyEl)
    -    .refresh()
    -})
    -

    dispose

    -

    Destroys an element’s scrollspy. (Removes stored data on the DOM element)

    -

    getInstance

    -

    Static method which allows you to get the scrollspy instance associated with a DOM element

    -
    var scrollSpyContentEl = document.getElementById('content')
    -var scrollSpy = bootstrap.ScrollSpy.getInstance(scrollSpyContentEl) // Returns a Bootstrap scrollspy instance
    -

    getOrCreateInstance

    -

    Static method which allows you to get the scrollspy instance associated with a DOM element, or create a new one in case it wasn’t initialized

    -
    var scrollSpyContentEl = document.getElementById('content')
    -var scrollSpy = bootstrap.ScrollSpy.getOrCreateInstance(scrollSpyContentEl) // Returns a Bootstrap scrollspy instance
    -

    Options

    -

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-offset="".

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDefaultDescription
    offsetnumber10Pixels to offset from top when calculating position of scroll.
    methodstringautoFinds which section the spied element is in. auto will choose the best method to get scroll coordinates. offset will use the Element.getBoundingClientRect() method to get scroll coordinates. position will use the HTMLElement.offsetTop and HTMLElement.offsetLeft properties to get scroll coordinates.
    targetstring | jQuery object | DOM elementSpecifies element to apply Scrollspy plugin.
    -

    Events

    - - - - - - - - - - - - - -
    Event typeDescription
    activate.bs.scrollspyThis event fires on the scroll element whenever a new item becomes activated by the scrollspy.
    -
    var firstScrollSpyEl = document.querySelector('[data-bs-spy="scroll"]')
    -firstScrollSpyEl.addEventListener('activate.bs.scrollspy', function () {
    -  // do something...
    -})
    -
    - - - - - - - - - - - - - - - + + + + + + + + + + + + - + diff --git a/components/spinners/index.html b/components/spinners/index.html index ab5f6fa..ca79df2 100644 --- a/components/spinners/index.html +++ b/components/spinners/index.html @@ -1,762 +1,3065 @@ - - - - - - - - - - - - - - - -Spinners · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Spinners · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Spinners

    +
    +

    + Indicate the loading state of a component or page with Bootstrap + spinners, built entirely with HTML, CSS, and no JavaScript. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Spinners

    +
    + + On this page +
    +
    + +
    -

    Indicate the loading state of a component or page with Bootstrap spinners, built entirely with HTML, CSS, and no JavaScript.

    - -
    - - -
    - On this page - +
    +

    + About + +

    +

    + Bootstrap “spinners” can be used to show the loading + state in your projects. They’re built only with HTML and CSS, + meaning you don’t need any JavaScript to create them. You + will, however, need some custom JavaScript to toggle their + visibility. Their appearance, alignment, and sizing can be easily + customized with our amazing utility classes. +

    +

    + For accessibility purposes, each loader here includes + role="status" and a nested + <span + class="visually-hidden">Loading...</span>. +

    +
    + The animation effect of this component is dependent on the + prefers-reduced-motion media query. See the + reduced motion section of our accessibility documentation. +
    + +

    + Border spinner + +

    +

    Use the border spinners for a lightweight loading indicator.

    +
    +
    +
    + Loading... +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="spinner-border" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +
    +
    + +

    + Colors + +

    +

    + The border spinner uses currentColor for its + border-color, meaning you can customize the color with + text color utilities. You can use any of our text color utilities on the standard + spinner. +

    +
    +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="spinner-border text-primary" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-border text-secondary" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-border text-success" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-border text-danger" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-border text-warning" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-border text-info" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-border text-light" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-border text-dark" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +
    +
    + +
    + Why not use border-color utilities? + Each border spinner specifies a transparent border for + at least one side, so .border-{color} utilities would + override that. +
    + +

    + Growing spinner + +

    +

    + If you don’t fancy a border spinner, switch to the grow + spinner. While it doesn’t technically spin, it does repeatedly + grow! +

    +
    +
    +
    + Loading... +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="spinner-grow" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +
    +
    + +

    + Once again, this spinner is built with currentColor, so + you can easily change its appearance with + text color utilities. Here it is in blue, along with the supported variants. +

    +
    +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    + Loading... +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="spinner-grow text-primary" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-grow text-secondary" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-grow text-success" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-grow text-danger" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-grow text-warning" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-grow text-info" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-grow text-light" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-grow text-dark" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +
    +
    + +

    + Alignment + +

    +

    + Spinners in Bootstrap are built with rems, + currentColor, and display: inline-flex. + This means they can easily be resized, recolored, and quickly + aligned. +

    +

    + Margin + +

    +

    + Use + margin utilities + like .m-5 for easy spacing. +

    +
    +
    +
    + Loading... +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="spinner-border m-5" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +
    +
    + +

    + Placement + +

    +

    + Use flexbox utilities, + float utilities, or + text alignment + utilities to place spinners exactly where you need them in any + situation. +

    +

    + Flex + +

    +
    +
    +
    +
    + Loading... +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex justify-content-center">
    +  <div class="spinner-border" role="status">
    +    <span class="visually-hidden">Loading...</span>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    + Loading... + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex align-items-center">
    +  <strong>Loading...</strong>
    +  <div class="spinner-border ms-auto" role="status" aria-hidden="true"></div>
    +</div>
    +
    +
    + +

    + Floats + +

    +
    +
    +
    +
    + Loading... +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="clearfix">
    +  <div class="spinner-border float-end" role="status">
    +    <span class="visually-hidden">Loading...</span>
    +  </div>
    +</div>
    +
    +
    + +

    + Text align + +

    +
    +
    +
    +
    + Loading... +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="text-center">
    +  <div class="spinner-border" role="status">
    +    <span class="visually-hidden">Loading...</span>
    +  </div>
    +</div>
    +
    +
    + +

    + Size + +

    +

    + Add .spinner-border-sm and + .spinner-grow-sm to make a smaller spinner that can + quickly be used within other components. +

    +
    +
    +
    + Loading... +
    +
    + Loading... +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="spinner-border spinner-border-sm" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-grow spinner-grow-sm" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +
    +
    + +

    + Or, use custom CSS or inline styles to change the dimensions as + needed. +

    +
    +
    +
    + Loading... +
    +
    + Loading... +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="spinner-border" style="width: 3rem; height: 3rem;" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +<div class="spinner-grow" style="width: 3rem; height: 3rem;" role="status">
    +  <span class="visually-hidden">Loading...</span>
    +</div>
    +
    +
    + +

    + Buttons + +

    +

    + Use spinners within buttons to indicate an action is currently + processing or taking place. You may also swap the text out of the + spinner element and utilize button text as needed. +

    +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <button class="btn btn-primary" type="button" disabled>
    +  <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
    +  <span class="visually-hidden">Loading...</span>
    +</button>
    +<button class="btn btn-primary" type="button" disabled>
    +  <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
    +  Loading...
    +</button>
    +
    +
    + +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <button class="btn btn-primary" type="button" disabled>
    +  <span class="spinner-grow spinner-grow-sm" role="status" aria-hidden="true"></span>
    +  <span class="visually-hidden">Loading...</span>
    +</button>
    +<button class="btn btn-primary" type="button" disabled>
    +  <span class="spinner-grow spinner-grow-sm" role="status" aria-hidden="true"></span>
    +  Loading...
    +</button>
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, + spinners now use local CSS variables on + .spinner-border and .spinner-grow for + enhanced real-time customization. Values for the CSS variables are + set via Sass, so Sass customization is still supported, too. +

    +

    Border spinner variables:

    +
    +
    + scss/_spinners.scss +
    + +
    +
    +
    +
    --#{$prefix}spinner-width: #{$spinner-width};
    +--#{$prefix}spinner-height: #{$spinner-height};
    +--#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};
    +--#{$prefix}spinner-border-width: #{$spinner-border-width};
    +--#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};
    +--#{$prefix}spinner-animation-name: spinner-border;
    +
    +
    +

    Growing spinner variables:

    +
    +
    + scss/_spinners.scss +
    + +
    +
    +
    +
    --#{$prefix}spinner-width: #{$spinner-width};
    +--#{$prefix}spinner-height: #{$spinner-height};
    +--#{$prefix}spinner-vertical-align: #{$spinner-vertical-align};
    +--#{$prefix}spinner-animation-speed: #{$spinner-animation-speed};
    +--#{$prefix}spinner-animation-name: spinner-grow;
    +
    +
    +

    + For both spinners, small spinner modifier classes are used to update + the values of these CSS variables as needed. For example, the + .spinner-border-sm class does the following: +

    +
    +
    + scss/_spinners.scss +
    + +
    +
    +
    +
    --#{$prefix}spinner-width: #{$spinner-width-sm};
    +--#{$prefix}spinner-height: #{$spinner-height-sm};
    +--#{$prefix}spinner-border-width: #{$spinner-border-width-sm};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $spinner-width:           2rem;
    +$spinner-height:          $spinner-width;
    +$spinner-vertical-align:  -.125em;
    +$spinner-border-width:    .25em;
    +$spinner-animation-speed: .75s;
    +
    +$spinner-width-sm:        1rem;
    +$spinner-height-sm:       $spinner-width-sm;
    +$spinner-border-width-sm: .2em;
    +
    +
    +
    +

    + Keyframes + +

    +

    + Used for creating the CSS animations for our spinners. Included in + scss/_spinners.scss. +

    +
    +
    + scss/_spinners.scss +
    + +
    +
    +
    +
    @keyframes spinner-border {
    +  to { transform: rotate(360deg) #{"/* rtl:ignore */"}; }
    +}
    +
    +
    +
    +
    +
    + scss/_spinners.scss +
    + +
    +
    +
    +
    @keyframes spinner-grow {
    +  0% {
    +    transform: scale(0);
    +  }
    +  50% {
    +    opacity: 1;
    +    transform: none;
    +  }
    +}
    +
    +
    +
    +
    +
    - -
    - - -

    About

    -

    Bootstrap “spinners” can be used to show the loading state in your projects. They’re built only with HTML and CSS, meaning you don’t need any JavaScript to create them. You will, however, need some custom JavaScript to toggle their visibility. Their appearance, alignment, and sizing can be easily customized with our amazing utility classes.

    -

    For accessibility purposes, each loader here includes role="status" and a nested <span class="visually-hidden">Loading...</span>.

    -
    -The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation. -
    - -

    Border spinner

    -

    Use the border spinners for a lightweight loading indicator.

    -
    -
    - Loading... -
    -
    <div class="spinner-border" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -

    Colors

    -

    The border spinner uses currentColor for its border-color, meaning you can customize the color with text color utilities. You can use any of our text color utilities on the standard spinner.

    -
    - -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    <div class="spinner-border text-primary" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-border text-secondary" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-border text-success" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-border text-danger" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-border text-warning" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-border text-info" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-border text-light" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-border text-dark" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -
    -Why not use border-color utilities? Each border spinner specifies a transparent border for at least one side, so .border-{color} utilities would override that. -
    - -

    Growing spinner

    -

    If you don’t fancy a border spinner, switch to the grow spinner. While it doesn’t technically spin, it does repeatedly grow!

    -
    -
    - Loading... -
    -
    <div class="spinner-grow" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -

    Once again, this spinner is built with currentColor, so you can easily change its appearance with text color utilities. Here it is in blue, along with the supported variants.

    -
    - -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    - Loading... -
    -
    <div class="spinner-grow text-primary" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-grow text-secondary" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-grow text-success" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-grow text-danger" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-grow text-warning" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-grow text-info" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-grow text-light" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-grow text-dark" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -

    Alignment

    -

    Spinners in Bootstrap are built with rems, currentColor, and display: inline-flex. This means they can easily be resized, recolored, and quickly aligned.

    -

    Margin

    -

    Use margin utilities like .m-5 for easy spacing.

    -
    -
    - Loading... -
    -
    <div class="spinner-border m-5" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -

    Placement

    -

    Use flexbox utilities, float utilities, or text alignment utilities to place spinners exactly where you need them in any situation.

    -

    Flex

    -
    -
    -
    - Loading... -
    -
    -
    <div class="d-flex justify-content-center">
    -  <div class="spinner-border" role="status">
    -    <span class="visually-hidden">Loading...</span>
    -  </div>
    -</div>
    -
    -
    - Loading... - -
    -
    <div class="d-flex align-items-center">
    -  <strong>Loading...</strong>
    -  <div class="spinner-border ms-auto" role="status" aria-hidden="true"></div>
    -</div>
    -

    Floats

    -
    -
    -
    - Loading... -
    -
    -
    <div class="clearfix">
    -  <div class="spinner-border float-end" role="status">
    -    <span class="visually-hidden">Loading...</span>
    -  </div>
    -</div>
    -

    Text align

    -
    -
    -
    - Loading... -
    -
    -
    <div class="text-center">
    -  <div class="spinner-border" role="status">
    -    <span class="visually-hidden">Loading...</span>
    -  </div>
    -</div>
    -

    Size

    -

    Add .spinner-border-sm and .spinner-grow-sm to make a smaller spinner that can quickly be used within other components.

    -
    -
    - Loading... -
    -
    - Loading... -
    -
    <div class="spinner-border spinner-border-sm" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-grow spinner-grow-sm" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -

    Or, use custom CSS or inline styles to change the dimensions as needed.

    -
    -
    - Loading... -
    -
    - Loading... -
    -
    <div class="spinner-border" style="width: 3rem; height: 3rem;" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -<div class="spinner-grow" style="width: 3rem; height: 3rem;" role="status">
    -  <span class="visually-hidden">Loading...</span>
    -</div>
    -

    Buttons

    -

    Use spinners within buttons to indicate an action is currently processing or taking place. You may also swap the text out of the spinner element and utilize button text as needed.

    -
    - - -
    <button class="btn btn-primary" type="button" disabled>
    -  <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
    -  <span class="visually-hidden">Loading...</span>
    -</button>
    -<button class="btn btn-primary" type="button" disabled>
    -  <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
    -  Loading...
    -</button>
    -
    - - -
    <button class="btn btn-primary" type="button" disabled>
    -  <span class="spinner-grow spinner-grow-sm" role="status" aria-hidden="true"></span>
    -  <span class="visually-hidden">Loading...</span>
    -</button>
    -<button class="btn btn-primary" type="button" disabled>
    -  <span class="spinner-grow spinner-grow-sm" role="status" aria-hidden="true"></span>
    -  Loading...
    -</button>
    -

    Sass

    -

    Variables

    -
    $spinner-width:           2rem;
    -$spinner-height:          $spinner-width;
    -$spinner-vertical-align:  -.125em;
    -$spinner-border-width:    .25em;
    -$spinner-animation-speed: .75s;
    -
    -$spinner-width-sm:        1rem;
    -$spinner-height-sm:       $spinner-width-sm;
    -$spinner-border-width-sm: .2em;
    -
    -

    Keyframes

    -

    Used for creating the CSS animations for our spinners. Included in scss/_spinners.scss.

    -
    @keyframes spinner-border {
    -  to { transform: rotate(360deg) #{"/* rtl:ignore */"}; }
    -}
    -
    -
    @keyframes spinner-grow {
    -  0% {
    -    transform: scale(0);
    -  }
    -  50% {
    -    opacity: 1;
    -    transform: none;
    -  }
    -}
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/toasts/index.html b/components/toasts/index.html index 8cf6909..e1b306e 100644 --- a/components/toasts/index.html +++ b/components/toasts/index.html @@ -1,1037 +1,3575 @@ - - - - - - - - - - - - - - - -Toasts · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Toasts · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Toasts

    +
    +

    + Push notifications to your visitors with a toast, a lightweight and + easily customizable alert message. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Toasts

    +
    + + On this page +
    +
    -

    Push notifications to your visitors with a toast, a lightweight and easily customizable alert message.

    - - -
    - -
    - On this page - +
    + The animation effect of this component is dependent on the + prefers-reduced-motion media query. See the + reduced motion section of our accessibility documentation. +
    + +

    + Examples + +

    +

    + Basic + +

    +

    + To encourage extensible and predictable toasts, we recommend a + header and body. Toast headers use display: flex, + allowing easy alignment of content thanks to our margin and flexbox + utilities. +

    +

    + Toasts are as flexible as you need and have very little required + markup. At a minimum, we require a single element to contain your + “toasted” content and strongly encourage a dismiss + button. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    +  <div class="toast-header">
    +    <img src="..." class="rounded me-2" alt="...">
    +    <strong class="me-auto">Bootstrap</strong>
    +    <small>11 mins ago</small>
    +    <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +  </div>
    +  <div class="toast-body">
    +    Hello, world! This is a toast message.
    +  </div>
    +</div>
    +
    +
    + +
    + Previously, our scripts dynamically added the + .hide class to completely hide a toast (with + display:none, rather than just with + opacity:0). This is now not necessary anymore. However, + for backwards compatibility, our script will continue to toggle the + class (even though there is no practical need for it) until the next + major version. +
    + +

    + Live example + +

    +

    + Click the button below to show a toast (positioned with our + utilities in the lower right corner) that has been hidden by + default. +

    +
    + +
    +
    + +
    +
    +
    <button type="button" class="btn btn-primary" id="liveToastBtn">Show live toast</button>
    +
    +<div class="toast-container position-fixed bottom-0 end-0 p-3">
    +  <div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    +    <div class="toast-header">
    +      <img src="..." class="rounded me-2" alt="...">
    +      <strong class="me-auto">Bootstrap</strong>
    +      <small>11 mins ago</small>
    +      <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +    </div>
    +    <div class="toast-body">
    +      Hello, world! This is a toast message.
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    We use the following JavaScript to trigger our live toast demo:

    +
    +
    + +
    +
    +
    const toastTrigger = document.getElementById('liveToastBtn')
    +const toastLiveExample = document.getElementById('liveToast')
    +
    +if (toastTrigger) {
    +  const toastBootstrap = bootstrap.Toast.getOrCreateInstance(toastLiveExample)
    +  toastTrigger.addEventListener('click', () => {
    +    toastBootstrap.show()
    +  })
    +}
    +
    +
    +

    + Translucent + +

    +

    + Toasts are slightly translucent to blend in with what’s below + them. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    +  <div class="toast-header">
    +    <img src="..." class="rounded me-2" alt="...">
    +    <strong class="me-auto">Bootstrap</strong>
    +    <small class="text-body-secondary">11 mins ago</small>
    +    <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +  </div>
    +  <div class="toast-body">
    +    Hello, world! This is a toast message.
    +  </div>
    +</div>
    +
    +
    + +

    + Stacking + +

    +

    + You can stack toasts by wrapping them in a toast container, which + will vertically add some spacing. +

    +
    +
    +
    + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="toast-container position-static">
    +  <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    +    <div class="toast-header">
    +      <img src="..." class="rounded me-2" alt="...">
    +      <strong class="me-auto">Bootstrap</strong>
    +      <small class="text-body-secondary">just now</small>
    +      <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +    </div>
    +    <div class="toast-body">
    +      See? Just like this.
    +    </div>
    +  </div>
    +
    +  <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    +    <div class="toast-header">
    +      <img src="..." class="rounded me-2" alt="...">
    +      <strong class="me-auto">Bootstrap</strong>
    +      <small class="text-body-secondary">2 seconds ago</small>
    +      <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +    </div>
    +    <div class="toast-body">
    +      Heads up, toasts will stack automatically
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Custom content + +

    +

    + Customize your toasts by removing sub-components, tweaking them with + utilities, or by adding + your own markup. Here we’ve created a simpler toast by + removing the default .toast-header, adding a custom + hide icon from + Bootstrap Icons, and + using some + flexbox utilities to + adjust the layout. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="toast align-items-center" role="alert" aria-live="assertive" aria-atomic="true">
    +  <div class="d-flex">
    +    <div class="toast-body">
    +      Hello, world! This is a toast message.
    +    </div>
    +    <button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
    +  </div>
    +</div>
    +
    +
    + +

    + Alternatively, you can also add additional controls and components + to toasts. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    +  <div class="toast-body">
    +    Hello, world! This is a toast message.
    +    <div class="mt-2 pt-2 border-top">
    +      <button type="button" class="btn btn-primary btn-sm">Take action</button>
    +      <button type="button" class="btn btn-secondary btn-sm" data-bs-dismiss="toast">Close</button>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Color schemes + +

    +

    + Building on the above example, you can create different toast color + schemes with our + color and + background + utilities. Here we’ve added .text-bg-primary to + the .toast, and then added + .btn-close-white to our close button. For a crisp edge, + we remove the default border with .border-0. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="toast align-items-center text-bg-primary border-0" role="alert" aria-live="assertive" aria-atomic="true">
    +  <div class="d-flex">
    +    <div class="toast-body">
    +      Hello, world! This is a toast message.
    +    </div>
    +    <button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
    +  </div>
    +</div>
    +
    +
    + +

    + Placement + +

    +

    + Place toasts with custom CSS as you need them. The top right is + often used for notifications, as is the top middle. If you’re + only ever going to show one toast at a time, put the positioning + styles right on the .toast. +

    +
    +
    +
    +
    + + +
    +
    +
    +
    +
    +
    + + Bootstrap + 11 mins ago +
    +
    + Hello, world! This is a toast message. +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form>
    +  <div class="mb-3">
    +    <label for="selectToastPlacement">Toast placement</label>
    +    <select class="form-select mt-2" id="selectToastPlacement">
    +      <option value="" selected>Select a position...</option>
    +      <option value="top-0 start-0">Top left</option>
    +      <option value="top-0 start-50 translate-middle-x">Top center</option>
    +      <option value="top-0 end-0">Top right</option>
    +      <option value="top-50 start-0 translate-middle-y">Middle left</option>
    +      <option value="top-50 start-50 translate-middle">Middle center</option>
    +      <option value="top-50 end-0 translate-middle-y">Middle right</option>
    +      <option value="bottom-0 start-0">Bottom left</option>
    +      <option value="bottom-0 start-50 translate-middle-x">Bottom center</option>
    +      <option value="bottom-0 end-0">Bottom right</option>
    +    </select>
    +  </div>
    +</form>
    +<div aria-live="polite" aria-atomic="true" class="bg-body-secondary position-relative bd-example-toasts rounded-3">
    +  <div class="toast-container p-3" id="toastPlacement">
    +    <div class="toast">
    +      <div class="toast-header">
    +        <img src="..." class="rounded me-2" alt="...">
    +        <strong class="me-auto">Bootstrap</strong>
    +        <small>11 mins ago</small>
    +      </div>
    +      <div class="toast-body">
    +        Hello, world! This is a toast message.
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + For systems that generate more notifications, consider using a + wrapping element so they can easily stack. +

    +
    +
    +
    + + + + +
    + + + + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div aria-live="polite" aria-atomic="true" class="position-relative">
    +  <!-- Position it: -->
    +  <!-- - `.toast-container` for spacing between toasts -->
    +  <!-- - `top-0` & `end-0` to position the toasts in the upper right corner -->
    +  <!-- - `.p-3` to prevent the toasts from sticking to the edge of the container  -->
    +  <div class="toast-container top-0 end-0 p-3">
    +
    +    <!-- Then put toasts within -->
    +    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    +      <div class="toast-header">
    +        <img src="..." class="rounded me-2" alt="...">
    +        <strong class="me-auto">Bootstrap</strong>
    +        <small class="text-body-secondary">just now</small>
    +        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +      </div>
    +      <div class="toast-body">
    +        See? Just like this.
    +      </div>
    +    </div>
    +
    +    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    +      <div class="toast-header">
    +        <img src="..." class="rounded me-2" alt="...">
    +        <strong class="me-auto">Bootstrap</strong>
    +        <small class="text-body-secondary">2 seconds ago</small>
    +        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +      </div>
    +      <div class="toast-body">
    +        Heads up, toasts will stack automatically
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + You can also get fancy with flexbox utilities to align toasts + horizontally and/or vertically. +

    +
    +
    + +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <!-- Flexbox container for aligning the toasts -->
    +<div aria-live="polite" aria-atomic="true" class="d-flex justify-content-center align-items-center w-100">
    +
    +  <!-- Then put toasts within -->
    +  <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    +    <div class="toast-header">
    +      <img src="..." class="rounded me-2" alt="...">
    +      <strong class="me-auto">Bootstrap</strong>
    +      <small>11 mins ago</small>
    +      <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +    </div>
    +    <div class="toast-body">
    +      Hello, world! This is a toast message.
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Accessibility + +

    +

    + Toasts are intended to be small interruptions to your visitors or + users, so to help those with screen readers and similar assistive + technologies, you should wrap your toasts in an + aria-live region. Changes to live regions (such as injecting/updating a toast + component) are automatically announced by screen readers without + needing to move the user’s focus or otherwise interrupt the + user. Additionally, include + aria-atomic="true" to ensure that the entire + toast is always announced as a single (atomic) unit, rather than + just announcing what was changed (which could lead to problems if + you only update part of the toast’s content, or if displaying + the same toast content at a later point in time). If the information + needed is important for the process, e.g. for a list of errors in a + form, then use the + alert component instead of toast. +

    +

    + Note that the live region needs to be present in the markup + before the toast is generated or updated. If you + dynamically generate both at the same time and inject them into the + page, they will generally not be announced by assistive + technologies. +

    +

    + You also need to adapt the role and + aria-live level depending on the content. If it’s + an important message like an error, use + role="alert" aria-live="assertive", + otherwise use + role="status" aria-live="polite" + attributes. +

    +

    + As the content you’re displaying changes, be sure to update + the delay timeout so that users + have enough time to read the toast. +

    +
    +
    <div class="toast" role="alert" aria-live="polite" aria-atomic="true" data-bs-delay="10000">
    +  <div role="alert" aria-live="assertive" aria-atomic="true">...</div>
    +</div>
    +
    +
    +

    + When using autohide: false, you must add a close button + to allow users to dismiss the toast. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <div role="alert" aria-live="assertive" aria-atomic="true" class="toast" data-bs-autohide="false">
    +  <div class="toast-header">
    +    <img src="..." class="rounded me-2" alt="...">
    +    <strong class="me-auto">Bootstrap</strong>
    +    <small>11 mins ago</small>
    +    <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +  </div>
    +  <div class="toast-body">
    +    Hello, world! This is a toast message.
    +  </div>
    +</div>
    +
    +
    + +

    + While technically it’s possible to add focusable/actionable + controls (such as additional buttons or links) in your toast, you + should avoid doing this for autohiding toasts. Even if you give the + toast a long delay timeout, + keyboard and assistive technology users may find it difficult to + reach the toast in time to take action (since toasts don’t + receive focus when they are displayed). If you absolutely must have + further controls, we recommend using a toast with + autohide: false. +

    +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, toasts + now use local CSS variables on .toast for enhanced + real-time customization. Values for the CSS variables are set via + Sass, so Sass customization is still supported, too. +

    +
    +
    + scss/_toasts.scss +
    + +
    +
    +
    +
    --#{$prefix}toast-zindex: #{$zindex-toast};
    +--#{$prefix}toast-padding-x: #{$toast-padding-x};
    +--#{$prefix}toast-padding-y: #{$toast-padding-y};
    +--#{$prefix}toast-spacing: #{$toast-spacing};
    +--#{$prefix}toast-max-width: #{$toast-max-width};
    +@include rfs($toast-font-size, --#{$prefix}toast-font-size);
    +--#{$prefix}toast-color: #{$toast-color};
    +--#{$prefix}toast-bg: #{$toast-background-color};
    +--#{$prefix}toast-border-width: #{$toast-border-width};
    +--#{$prefix}toast-border-color: #{$toast-border-color};
    +--#{$prefix}toast-border-radius: #{$toast-border-radius};
    +--#{$prefix}toast-box-shadow: #{$toast-box-shadow};
    +--#{$prefix}toast-header-color: #{$toast-header-color};
    +--#{$prefix}toast-header-bg: #{$toast-header-background-color};
    +--#{$prefix}toast-header-border-color: #{$toast-header-border-color};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $toast-max-width:                   350px;
    +$toast-padding-x:                   .75rem;
    +$toast-padding-y:                   .5rem;
    +$toast-font-size:                   .875rem;
    +$toast-color:                       null;
    +$toast-background-color:            rgba(var(--#{$prefix}body-bg-rgb), .85);
    +$toast-border-width:                var(--#{$prefix}border-width);
    +$toast-border-color:                var(--#{$prefix}border-color-translucent);
    +$toast-border-radius:               var(--#{$prefix}border-radius);
    +$toast-box-shadow:                  var(--#{$prefix}box-shadow);
    +$toast-spacing:                     $container-padding-x;
    +
    +$toast-header-color:                var(--#{$prefix}secondary-color);
    +$toast-header-background-color:     rgba(var(--#{$prefix}body-bg-rgb), .85);
    +$toast-header-border-color:         $toast-border-color;
    +
    +
    +
    +

    + Usage + +

    +

    Initialize toasts via JavaScript:

    +
    +
    const toastElList = document.querySelectorAll('.toast')
    +const toastList = [...toastElList].map(toastEl => new bootstrap.Toast(toastEl, option))
    +
    +
    +

    + Triggers + +

    +

    + Dismissal can be achieved with the + data-bs-dismiss attribute on a button + within the toast as demonstrated below: +

    +
    +
    <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    +
    +
    +

    + or on a button outside the toast using the + additional data-bs-target as demonstrated below: +

    +
    +
    <button type="button" class="btn-close" data-bs-dismiss="toast" data-bs-target="#my-toast" aria-label="Close"></button>
    +
    +
    +

    + Options + +

    +

    + As options can be passed via data attributes or JavaScript, you can + append an option name to data-bs-, as in + data-bs-animation="{value}". Make sure to + change the case type of the option name from + “camelCase” to + “kebab-case” when passing the options via data + attributes. For example, use + data-bs-custom-class="beautifier" instead of + data-bs-customClass="beautifier". +

    +

    + As of Bootstrap 5.2.0, all components support an + experimental reserved data attribute + data-bs-config that can house simple component + configuration as a JSON string. When an element has + data-bs-config='{"delay":0, + "title":123}' + and data-bs-title="456" attributes, the final + title value will be 456 and the separate + data attributes will override values given on + data-bs-config. In addition, existing data attributes + are able to house JSON values like + data-bs-delay='{"show":0,"hide":150}'. +

    +

    + The final configuration object is the merged result of + data-bs-config, data-bs-, and + js object where the latest given key-value overrides + the others. +

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDefaultDescription
    animationbooleantrueApply a CSS fade transition to the toast.
    autohidebooleantrueAutomatically hide the toast after the delay.
    delaynumber5000Delay in milliseconds before hiding the toast.
    +
    + +

    + Methods + +

    +
    + All API methods are asynchronous and start a transition. + They return to the caller as soon as the transition is started, but + before it ends. In addition, a method call on a transitioning + component will be ignored. + Learn more in our JavaScript docs. +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    dispose + Hides an element’s toast. Your toast will remain on + the DOM but won’t show anymore. +
    getInstance + Static method which allows you to get the toast + instance associated with a DOM element.
    + For example: + const myToastEl = + document.getElementById('myToastEl') + const myToast = + bootstrap.Toast.getInstance(myToastEl) + Returns a Bootstrap toast instance. +
    getOrCreateInstance + Static method which allows you to get the toast + instance associated with a DOM element, or create a new one, + in case it wasn’t initialized.
    const myToastEl = + document.getElementById('myToastEl') + const myToast = + bootstrap.Toast.getOrCreateInstance(myToastEl) + Returns a Bootstrap toast instance. +
    hide + Hides an element’s toast. + Returns to the caller before the toast has actually been + hidden + (i.e. before the hidden.bs.toast event occurs). + You have to manually call this method if you made + autohide to false. +
    isShown + Returns a boolean according to toast’s visibility + state. +
    show + Reveals an element’s toast. + Returns to the caller before the toast has actually been + shown + (i.e. before the shown.bs.toast event occurs). + You have to manually call this method, instead your toast + won’t show. +
    +
    + +

    + Events + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    EventDescription
    hide.bs.toast + This event is fired immediately when the + hide instance method has been called. +
    hidden.bs.toast + This event is fired when the toast has finished being hidden + from the user. +
    show.bs.toast + This event fires immediately when the + show instance method is called. +
    shown.bs.toast + This event is fired when the toast has been made visible to + the user. +
    +
    + +
    +
    const myToastEl = document.getElementById('myToast')
    +myToastEl.addEventListener('hidden.bs.toast', () => {
    +  // do something...
    +})
    +
    +
    - - -
    - - -

    Toasts are lightweight notifications designed to mimic the push notifications that have been popularized by mobile and desktop operating systems. They’re built with flexbox, so they’re easy to align and position.

    -

    Overview

    -

    Things to know when using the toast plugin:

    -
      -
    • Toasts are opt-in for performance reasons, so you must initialize them yourself.
    • -
    • Toasts will automatically hide if you do not specify autohide: false.
    • -
    -
    -The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation. -
    - -

    Examples

    -

    Basic

    -

    To encourage extensible and predictable toasts, we recommend a header and body. Toast headers use display: flex, allowing easy alignment of content thanks to our margin and flexbox utilities.

    -

    Toasts are as flexible as you need and have very little required markup. At a minimum, we require a single element to contain your “toasted” content and strongly encourage a dismiss button.

    -
    - -
    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    -  <div class="toast-header">
    -    <img src="..." class="rounded me-2" alt="...">
    -    <strong class="me-auto">Bootstrap</strong>
    -    <small>11 mins ago</small>
    -    <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -  </div>
    -  <div class="toast-body">
    -    Hello, world! This is a toast message.
    -  </div>
    -</div>
    -
    -Previously, our scripts dynamically added the .hide class to completely hide a toast (with display:none, rather than just with opacity:0). This is now not necessary anymore. However, for backwards compatibility, our script will continue to toggle the class (even though there is no practical need for it) until the next major version. -
    - -

    Live example

    -

    Click the button below to show a toast (positioned with our utilities in the lower right corner) that has been hidden by default.

    -
    - -
    -
    - -
    -
    <button type="button" class="btn btn-primary" id="liveToastBtn">Show live toast</button>
    -
    -<div class="position-fixed bottom-0 end-0 p-3" style="z-index: 11">
    -  <div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    -    <div class="toast-header">
    -      <img src="..." class="rounded me-2" alt="...">
    -      <strong class="me-auto">Bootstrap</strong>
    -      <small>11 mins ago</small>
    -      <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -    </div>
    -    <div class="toast-body">
    -      Hello, world! This is a toast message.
    -    </div>
    -  </div>
    -</div>
    -

    We use the following JavaScript to trigger our live toast demo:

    -
    var toastTrigger = document.getElementById('liveToastBtn')
    -var toastLiveExample = document.getElementById('liveToast')
    -if (toastTrigger) {
    -  toastTrigger.addEventListener('click', function () {
    -    var toast = new bootstrap.Toast(toastLiveExample)
    -
    -    toast.show()
    -  })
    -}
    -

    Translucent

    -

    Toasts are slightly translucent to blend in with what’s below them.

    -
    - -
    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    -  <div class="toast-header">
    -    <img src="..." class="rounded me-2" alt="...">
    -    <strong class="me-auto">Bootstrap</strong>
    -    <small class="text-muted">11 mins ago</small>
    -    <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -  </div>
    -  <div class="toast-body">
    -    Hello, world! This is a toast message.
    -  </div>
    -</div>
    -

    Stacking

    -

    You can stack toasts by wrapping them in a toast container, which will vertically add some spacing.

    -
    -
    -
    -
    - See? Just like this. -
    - - - - -
    <div class="toast-container">
    -  <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    -    <div class="toast-header">
    -      <img src="..." class="rounded me-2" alt="...">
    -      <strong class="me-auto">Bootstrap</strong>
    -      <small class="text-muted">just now</small>
    -      <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -    </div>
    -    <div class="toast-body">
    -      See? Just like this.
    -    </div>
    -  </div>
    -
    -  <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    -    <div class="toast-header">
    -      <img src="..." class="rounded me-2" alt="...">
    -      <strong class="me-auto">Bootstrap</strong>
    -      <small class="text-muted">2 seconds ago</small>
    -      <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -    </div>
    -    <div class="toast-body">
    -      Heads up, toasts will stack automatically
    -    </div>
    -  </div>
    -</div>
    -

    Custom content

    -

    Customize your toasts by removing sub-components, tweaking them with utilities, or by adding your own markup. Here we’ve created a simpler toast by removing the default .toast-header, adding a custom hide icon from Bootstrap Icons, and using some flexbox utilities to adjust the layout.

    -
    - -
    <div class="toast align-items-center" role="alert" aria-live="assertive" aria-atomic="true">
    -  <div class="d-flex">
    -    <div class="toast-body">
    -    Hello, world! This is a toast message.
    -   </div>
    -    <button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
    -  </div>
    -</div>
    -

    Alternatively, you can also add additional controls and components to toasts.

    -
    - -
    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    -  <div class="toast-body">
    -    Hello, world! This is a toast message.
    -    <div class="mt-2 pt-2 border-top">
    -      <button type="button" class="btn btn-primary btn-sm">Take action</button>
    -      <button type="button" class="btn btn-secondary btn-sm" data-bs-dismiss="toast">Close</button>
    -    </div>
    -  </div>
    -</div>
    -

    Color schemes

    -

    Building on the above example, you can create different toast color schemes with our color and background utilities. Here we’ve added .bg-primary and .text-white to the .toast, and then added .btn-close-white to our close button. For a crisp edge, we remove the default border with .border-0.

    -
    - -
    <div class="toast align-items-center text-white bg-primary border-0" role="alert" aria-live="assertive" aria-atomic="true">
    -  <div class="d-flex">
    -    <div class="toast-body">
    -      Hello, world! This is a toast message.
    -    </div>
    -    <button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
    -  </div>
    -</div>
    -

    Placement

    -

    Place toasts with custom CSS as you need them. The top right is often used for notifications, as is the top middle. If you’re only ever going to show one toast at a time, put the positioning styles right on the .toast.

    -
    -
    -
    - - -
    -
    -
    -
    -
    -
    - - - Bootstrap - 11 mins ago -
    -
    - Hello, world! This is a toast message. -
    -
    -
    -
    -
    <form>
    -  <div class="mb-3">
    -    <label for="selectToastPlacement">Toast placement</label>
    -    <select class="form-select mt-2" id="selectToastPlacement">
    -      <option value="" selected>Select a position...</option>
    -      <option value="top-0 start-0">Top left</option>
    -      <option value="top-0 start-50 translate-middle-x">Top center</option>
    -      <option value="top-0 end-0">Top right</option>
    -      <option value="top-50 start-0 translate-middle-y">Middle left</option>
    -      <option value="top-50 start-50 translate-middle">Middle center</option>
    -      <option value="top-50 end-0 translate-middle-y">Middle right</option>
    -      <option value="bottom-0 start-0">Bottom left</option>
    -      <option value="bottom-0 start-50 translate-middle-x">Bottom center</option>
    -      <option value="bottom-0 end-0">Bottom right</option>
    -    </select>
    -  </div>
    -</form>
    -<div aria-live="polite" aria-atomic="true" class="bg-dark position-relative bd-example-toasts">
    -  <div class="toast-container position-absolute p-3" id="toastPlacement">
    -    <div class="toast">
    -      <div class="toast-header">
    -        <img src="..." class="rounded me-2" alt="...">
    -        <strong class="me-auto">Bootstrap</strong>
    -        <small>11 mins ago</small>
    -      </div>
    -      <div class="toast-body">
    -        Hello, world! This is a toast message.
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    For systems that generate more notifications, consider using a wrapping element so they can easily stack.

    -
    -
    - - - - -
    - - - - - -
    -
    -
    <div aria-live="polite" aria-atomic="true" class="position-relative">
    -  <!-- Position it: -->
    -  <!-- - `.toast-container` for spacing between toasts -->
    -  <!-- - `.position-absolute`, `top-0` & `end-0` to position the toasts in the upper right corner -->
    -  <!-- - `.p-3` to prevent the toasts from sticking to the edge of the container  -->
    -  <div class="toast-container position-absolute top-0 end-0 p-3">
    -
    -    <!-- Then put toasts within -->
    -    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    -      <div class="toast-header">
    -        <img src="..." class="rounded me-2" alt="...">
    -        <strong class="me-auto">Bootstrap</strong>
    -        <small class="text-muted">just now</small>
    -        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -      </div>
    -      <div class="toast-body">
    -        See? Just like this.
    -      </div>
    -    </div>
    -
    -    <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    -      <div class="toast-header">
    -        <img src="..." class="rounded me-2" alt="...">
    -        <strong class="me-auto">Bootstrap</strong>
    -        <small class="text-muted">2 seconds ago</small>
    -        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -      </div>
    -      <div class="toast-body">
    -        Heads up, toasts will stack automatically
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    You can also get fancy with flexbox utilities to align toasts horizontally and/or vertically.

    -
    - -
    - - - -
    -
    <!-- Flexbox container for aligning the toasts -->
    -<div aria-live="polite" aria-atomic="true" class="d-flex justify-content-center align-items-center w-100">
    -
    -  <!-- Then put toasts within -->
    -  <div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
    -    <div class="toast-header">
    -      <img src="..." class="rounded me-2" alt="...">
    -      <strong class="me-auto">Bootstrap</strong>
    -      <small>11 mins ago</small>
    -      <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -    </div>
    -    <div class="toast-body">
    -      Hello, world! This is a toast message.
    -    </div>
    -  </div>
    -</div>
    -

    Accessibility

    -

    Toasts are intended to be small interruptions to your visitors or users, so to help those with screen readers and similar assistive technologies, you should wrap your toasts in an aria-live region. Changes to live regions (such as injecting/updating a toast component) are automatically announced by screen readers without needing to move the user’s focus or otherwise interrupt the user. Additionally, include aria-atomic="true" to ensure that the entire toast is always announced as a single (atomic) unit, rather than just announcing what was changed (which could lead to problems if you only update part of the toast’s content, or if displaying the same toast content at a later point in time). If the information needed is important for the process, e.g. for a list of errors in a form, then use the alert component instead of toast.

    -

    Note that the live region needs to be present in the markup before the toast is generated or updated. If you dynamically generate both at the same time and inject them into the page, they will generally not be announced by assistive technologies.

    -

    You also need to adapt the role and aria-live level depending on the content. If it’s an important message like an error, use role="alert" aria-live="assertive", otherwise use role="status" aria-live="polite" attributes.

    -

    As the content you’re displaying changes, be sure to update the delay timeout so that users have enough time to read the toast.

    -
    <div class="toast" role="alert" aria-live="polite" aria-atomic="true" data-bs-delay="10000">
    -  <div role="alert" aria-live="assertive" aria-atomic="true">...</div>
    -</div>
    -

    When using autohide: false, you must add a close button to allow users to dismiss the toast.

    -
    - -
    <div role="alert" aria-live="assertive" aria-atomic="true" class="toast" data-bs-autohide="false">
    -  <div class="toast-header">
    -    <img src="..." class="rounded me-2" alt="...">
    -    <strong class="me-auto">Bootstrap</strong>
    -    <small>11 mins ago</small>
    -    <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -  </div>
    -  <div class="toast-body">
    -    Hello, world! This is a toast message.
    -  </div>
    -</div>
    -

    While technically it’s possible to add focusable/actionable controls (such as additional buttons or links) in your toast, you should avoid doing this for autohiding toasts. Even if you give the toast a long delay timeout, keyboard and assistive technology users may find it difficult to reach the toast in time to take action (since toasts don’t receive focus when they are displayed). If you absolutely must have further controls, we recommend using a toast with autohide: false.

    -

    Sass

    -

    Variables

    -
    $toast-max-width:                   350px;
    -$toast-padding-x:                   .75rem;
    -$toast-padding-y:                   .5rem;
    -$toast-font-size:                   .875rem;
    -$toast-color:                       null;
    -$toast-background-color:            rgba($white, .85);
    -$toast-border-width:                1px;
    -$toast-border-color:                rgba($black, .1);
    -$toast-border-radius:               $border-radius;
    -$toast-box-shadow:                  $box-shadow;
    -$toast-spacing:                     $container-padding-x;
    -
    -$toast-header-color:                $gray-600;
    -$toast-header-background-color:     rgba($white, .85);
    -$toast-header-border-color:         rgba($black, .05);
    -
    -

    Usage

    -

    Initialize toasts via JavaScript:

    -
    var toastElList = [].slice.call(document.querySelectorAll('.toast'))
    -var toastList = toastElList.map(function (toastEl) {
    -  return new bootstrap.Toast(toastEl, option)
    -})
    -

    Triggers

    -

    Dismissal can be achieved with the data attribute on a button within the toast as demonstrated below:

    -
    <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
    -

    or on a button outside the toast using the data-bs-target as demonstrated below:

    -
    <button type="button" class="btn-close" data-bs-dismiss="toast" data-bs-target="#my-toast" aria-label="Close"></button>
    -

    Options

    -

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-animation="".

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDefaultDescription
    animationbooleantrueApply a CSS fade transition to the toast
    autohidebooleantrueAuto hide the toast
    delaynumber - 5000 - Delay hiding the toast (ms)
    -

    Methods

    -
    -

    Asynchronous methods and transitions

    -

    All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

    -

    See our JavaScript documentation for more information.

    - -
    - -

    show

    -

    Reveals an element’s toast. Returns to the caller before the toast has actually been shown (i.e. before the shown.bs.toast event occurs). -You have to manually call this method, instead your toast won’t show.

    -
    toast.show()
    -

    hide

    -

    Hides an element’s toast. Returns to the caller before the toast has actually been hidden (i.e. before the hidden.bs.toast event occurs). You have to manually call this method if you made autohide to false.

    -
    toast.hide()
    -

    dispose

    -

    Hides an element’s toast. Your toast will remain on the DOM but won’t show anymore.

    -
    toast.dispose()
    -

    getInstance

    -

    Static method which allows you to get the toast instance associated with a DOM element

    -
    var myToastEl = document.getElementById('myToastEl')
    -var myToast = bootstrap.Toast.getInstance(myToastEl) // Returns a Bootstrap toast instance
    -

    getOrCreateInstance

    -

    Static method which allows you to get the toast instance associated with a DOM element, or create a new one in case it wasn’t initialized

    -
    var myToastEl = document.getElementById('myToastEl')
    -var myToast = bootstrap.Toast.getOrCreateInstance(myToastEl) // Returns a Bootstrap toast instance
    -

    Events

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Event typeDescription
    show.bs.toastThis event fires immediately when the show instance method is called.
    shown.bs.toastThis event is fired when the toast has been made visible to the user.
    hide.bs.toastThis event is fired immediately when the hide instance method has been called.
    hidden.bs.toastThis event is fired when the toast has finished being hidden from the user.
    -
    var myToastEl = document.getElementById('myToast')
    -myToastEl.addEventListener('hidden.bs.toast', function () {
    -  // do something...
    -})
    -
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/components/tooltips/index.html b/components/tooltips/index.html index eb77a6e..066a26c 100644 --- a/components/tooltips/index.html +++ b/components/tooltips/index.html @@ -1,862 +1,3176 @@ - - - - - - - - - - - - - - - -Tooltips · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Tooltips · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Tooltips

    +
    +

    + Documentation and examples for adding custom Bootstrap tooltips with + CSS and JavaScript using CSS3 for animations and data-bs-attributes + for local title storage. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Tooltips

    +
    + + On this page +
    +
    -

    Documentation and examples for adding custom Bootstrap tooltips with CSS and JavaScript using CSS3 for animations and data-bs-attributes for local title storage.

    - - -
    - -
    - On this page - +

    + Got all that? Great, let’s see how they work with some + examples. +

    +
    + By default, this component uses the built-in content sanitizer, + which strips out any HTML elements that are not explicitly allowed. + See the + sanitizer section in our JavaScript documentation + for more details. +
    + +
    + The animation effect of this component is dependent on the + prefers-reduced-motion media query. See the + reduced motion section of our accessibility documentation. +
    + +

    + Examples + +

    +

    + Enable tooltips + +

    +

    + As mentioned above, you must initialize tooltips before they can be + used. One way to initialize all tooltips on a page would be to + select them by their data-bs-toggle attribute, like so: +

    +
    +
    const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
    +const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
    +
    +
    + +

    Hover over the links below to see tooltips:

    +
    +
    +

    + Placeholder text to demonstrate some + inline links + with tooltips. This is now just filler, no killer. Content + placed here just to mimic the presence of + real text. And all that just to give you an idea of how tooltips would + look when used in real-world situations. So hopefully you've now + seen how + these tooltips on links + can work in practice, once you use them on + your own + site or project. +

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="muted">Placeholder text to demonstrate some <a href="#" data-bs-toggle="tooltip" data-bs-title="Default tooltip">inline links</a> with tooltips. This is now just filler, no killer. Content placed here just to mimic the presence of <a href="#" data-bs-toggle="tooltip" data-bs-title="Another tooltip">real text</a>. And all that just to give you an idea of how tooltips would look when used in real-world situations. So hopefully you've now seen how <a href="#" data-bs-toggle="tooltip" data-bs-title="Another one here too">these tooltips on links</a> can work in practice, once you use them on <a href="#" data-bs-toggle="tooltip" data-bs-title="The last tip!">your own</a> site or project.</p>
    +
    +
    + +
    + Feel free to use either title or + data-bs-title in your HTML. When title is + used, Popper will replace it automatically with + data-bs-title when the element is rendered. +
    + +

    + Custom tooltips + +

    + Added in v5.2.0 + +

    + You can customize the appearance of tooltips using + CSS variables. We set a custom class with + data-bs-custom-class="custom-tooltip" to + scope our custom appearance and use it to override a local CSS + variable. +

    +
    + +
    +
    .custom-tooltip {
    +  --bs-tooltip-bg: var(--bs-primary);
    +}
    +
    +
    +
    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <button type="button" class="btn btn-secondary"
    +        data-bs-toggle="tooltip" data-bs-placement="top"
    +        data-bs-custom-class="custom-tooltip"
    +        data-bs-title="This top tooltip is themed via CSS variables.">
    +  Custom tooltip
    +</button>
    +
    +
    + +

    + Directions + +

    +

    + Hover over the buttons below to see the four tooltips directions: + top, right, bottom, and left. Directions are mirrored when using + Bootstrap in RTL. +

    +
    +
    + + + + + +
    +
    +
    +
    <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Tooltip on top">
    +  Tooltip on top
    +</button>
    +<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="right" data-bs-title="Tooltip on right">
    +  Tooltip on right
    +</button>
    +<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="Tooltip on bottom">
    +  Tooltip on bottom
    +</button>
    +<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="Tooltip on left">
    +  Tooltip on left
    +</button>
    +
    +
    +

    And with custom HTML added:

    +
    +
    <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-html="true" data-bs-title="<em>Tooltip</em> <u>with</u> <b>HTML</b>">
    +  Tooltip with HTML
    +</button>
    +
    +
    +

    With an SVG:

    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, tooltips now + use local CSS variables on .tooltip for enhanced + real-time customization. Values for the CSS variables are set via + Sass, so Sass customization is still supported, too. +

    +
    +
    + scss/_tooltip.scss +
    + +
    +
    +
    +
    --#{$prefix}tooltip-zindex: #{$zindex-tooltip};
    +--#{$prefix}tooltip-max-width: #{$tooltip-max-width};
    +--#{$prefix}tooltip-padding-x: #{$tooltip-padding-x};
    +--#{$prefix}tooltip-padding-y: #{$tooltip-padding-y};
    +--#{$prefix}tooltip-margin: #{$tooltip-margin};
    +@include rfs($tooltip-font-size, --#{$prefix}tooltip-font-size);
    +--#{$prefix}tooltip-color: #{$tooltip-color};
    +--#{$prefix}tooltip-bg: #{$tooltip-bg};
    +--#{$prefix}tooltip-border-radius: #{$tooltip-border-radius};
    +--#{$prefix}tooltip-opacity: #{$tooltip-opacity};
    +--#{$prefix}tooltip-arrow-width: #{$tooltip-arrow-width};
    +--#{$prefix}tooltip-arrow-height: #{$tooltip-arrow-height};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $tooltip-font-size:                 $font-size-sm;
    +$tooltip-max-width:                 200px;
    +$tooltip-color:                     var(--#{$prefix}body-bg);
    +$tooltip-bg:                        var(--#{$prefix}emphasis-color);
    +$tooltip-border-radius:             var(--#{$prefix}border-radius);
    +$tooltip-opacity:                   .9;
    +$tooltip-padding-y:                 $spacer * .25;
    +$tooltip-padding-x:                 $spacer * .5;
    +$tooltip-margin:                    null; // TODO: remove this in v6
    +
    +$tooltip-arrow-width:               .8rem;
    +$tooltip-arrow-height:              .4rem;
    +// fusv-disable
    +$tooltip-arrow-color:               null; // Deprecated in Bootstrap 5.2.0 for CSS variables
    +// fusv-enable
    +
    +
    +
    +

    + Usage + +

    +

    + The tooltip plugin generates content and markup on demand, and by + default places tooltips after their trigger element. Trigger the + tooltip via JavaScript: +

    +
    +
    const exampleEl = document.getElementById('example')
    +const tooltip = new bootstrap.Tooltip(exampleEl, options)
    +
    +
    +
    +

    + Tooltips automatically attempt to change positions when a parent + container has overflow: auto or + overflow: scroll, but still keeps the original + placement’s positioning. Set the + boundary option + (for the flip modifier using the popperConfig option) + to any HTMLElement to override the default value, + 'clippingParents', such as + document.body: +

    +
    +
    const tooltip = new bootstrap.Tooltip('#example', {
    +  boundary: document.body // or document.querySelector('#boundary')
    +})
    +
    +
    +
    + +

    + Markup + +

    +

    + The required markup for a tooltip is only a + data attribute and title on the HTML + element you wish to have a tooltip. The generated markup of a + tooltip is rather simple, though it does require a position (by + default, set to top by the plugin). +

    +
    + Keep tooltips accessible to keyboard and assistive technology + users + by only adding them to HTML elements that are traditionally + keyboard-focusable and interactive (such as links or form controls). + While other HTML elements can be made focusable by adding + tabindex="0", this can create annoying and + confusing tab stops on non-interactive elements for keyboard users, + and most assistive technologies currently do not announce tooltips + in this situation. Additionally, do not rely solely on + hover as the trigger for your tooltips as this will + make theme impossible to trigger for keyboard users. +
    + +
    +
    <!-- HTML to write -->
    +<a href="#" data-bs-toggle="tooltip" data-bs-title="Some tooltip text!">Hover over me</a>
    +
    +<!-- Generated markup by the plugin -->
    +<div class="tooltip bs-tooltip-top" role="tooltip">
    +  <div class="tooltip-arrow"></div>
    +  <div class="tooltip-inner">
    +    Some tooltip text!
    +  </div>
    +</div>
    +
    +
    +

    + Disabled elements + +

    +

    + Elements with the disabled attribute aren’t + interactive, meaning users cannot focus, hover, or click them to + trigger a tooltip (or popover). As a workaround, you’ll want + to trigger the tooltip from a wrapper <div> or + <span>, ideally made keyboard-focusable using + tabindex="0". +

    +
    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <span class="d-inline-block" tabindex="0" data-bs-toggle="tooltip" data-bs-title="Disabled tooltip">
    +  <button class="btn btn-primary" type="button" disabled>Disabled button</button>
    +</span>
    +
    +
    +
    +

    + Options + +

    +

    + As options can be passed via data attributes or JavaScript, you can + append an option name to data-bs-, as in + data-bs-animation="{value}". Make sure to + change the case type of the option name from + “camelCase” to + “kebab-case” when passing the options via data + attributes. For example, use + data-bs-custom-class="beautifier" instead of + data-bs-customClass="beautifier". +

    +

    + As of Bootstrap 5.2.0, all components support an + experimental reserved data attribute + data-bs-config that can house simple component + configuration as a JSON string. When an element has + data-bs-config='{"delay":0, + "title":123}' + and data-bs-title="456" attributes, the final + title value will be 456 and the separate + data attributes will override values given on + data-bs-config. In addition, existing data attributes + are able to house JSON values like + data-bs-delay='{"show":0,"hide":150}'. +

    +

    + The final configuration object is the merged result of + data-bs-config, data-bs-, and + js object where the latest given key-value overrides + the others. +

    + +
    + Note that for security reasons the sanitize, + sanitizeFn, and allowList options cannot + be supplied using data attributes. +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDefaultDescription
    allowListobject + Default value + Object which contains allowed attributes and tags.
    animationbooleantrueApply a CSS fade transition to the tooltip.
    boundarystring, element'clippingParents' + Overflow constraint boundary of the tooltip (applies only to + Popper’s preventOverflow modifier). By default, + it’s 'clippingParents' and can accept an + HTMLElement reference (via JavaScript only). For more + information refer to Popper’s + detectOverflow docs. +
    containerstring, element, falsefalse + Appends the tooltip to a specific element. Example: + container: 'body'. This option is particularly + useful in that it allows you to position the tooltip in the + flow of the document near the triggering element - which + will prevent the tooltip from floating away from the + triggering element during a window resize. +
    customClassstring, function'' + Add classes to the tooltip when it is shown. Note that these + classes will be added in addition to any classes specified + in the template. To add multiple classes, separate them with + spaces: 'class-1 class-2'. You can also pass a + function that should return a single string containing + additional class names. +
    delaynumber, object0 + Delay showing and hiding the tooltip (ms)—doesn’t + apply to manual trigger type. If a number is supplied, delay + is applied to both hide/show. Object structure is: + delay: { "show": 500, "hide": 100 + }. +
    fallbackPlacementsarray['top', 'right', 'bottom', 'left'] + Define fallback placements by providing a list of placements + in array (in order of preference). For more information + refer to Popper’s + behavior docs. +
    htmlbooleanfalse + Allow HTML in the tooltip. If true, HTML tags in the + tooltip’s title will be rendered in the + tooltip. If false, innerText property will be + used to insert content into the DOM. Use text if + you’re worried about XSS attacks. +
    offsetarray, string, function[0, 0] + Offset of the tooltip relative to its target. You can pass a + string in data attributes with comma separated values like: + data-bs-offset="10,20". When a + function is used to determine the offset, it is called with + an object containing the popper placement, the reference, + and popper rects as its first argument. The triggering + element DOM node is passed as the second argument. The + function must return an array with two numbers: + skidding, + distance. For more information refer to Popper’s + offset docs. +
    placementstring, function'top' + How to position the tooltip: auto, top, bottom, left, right. + When auto is specified, it will dynamically + reorient the tooltip. When a function is used to determine + the placement, it is called with the tooltip DOM node as its + first argument and the triggering element DOM node as its + second. The this context is set to the tooltip + instance. +
    popperConfignull, object, functionnull + To change Bootstrap’s default Popper config, see + Popper’s configuration. When a function is used to create the Popper + configuration, it’s called with an object that + contains the Bootstrap’s default Popper configuration. + It helps you use and merge the default with your own + configuration. The function must return a configuration + object for Popper. +
    sanitizebooleantrue + Enable or disable the sanitization. If activated + 'template', 'content' and + 'title' options will be sanitized. +
    sanitizeFnnull, functionnull + Here you can supply your own sanitize function. This can be + useful if you prefer to use a dedicated library to perform + sanitization. +
    selectorstring, falsefalse + If a selector is provided, tooltip objects will be delegated + to the specified targets. In practice, this is used to also + apply tooltips to dynamically added DOM elements (jQuery.on + support). See + this issue + and + an informative example. Note: title attribute must + not be used as a selector. +
    templatestring + '<div class="tooltip" + role="tooltip"><div + class="tooltip-arrow"></div><div + class="tooltip-inner"></div></div>' + + Base HTML to use when creating the tooltip. The + tooltip’s title will be injected into the + .tooltip-inner. + .tooltip-arrow will become the tooltip’s + arrow. The outermost wrapper element should have the + .tooltip class and + role="tooltip". +
    titlestring, element, function'' + The tooltip title. If a function is given, it will be called + with its this reference set to the element that + the popover is attached to. +
    triggerstring'hover focus' + How tooltip is triggered: click, hover, focus, manual. You + may pass multiple triggers; separate them with a space. + 'manual' indicates that the tooltip will be + triggered programmatically via the + .tooltip('show'), + .tooltip('hide') and + .tooltip('toggle') methods; this value cannot + be combined with any other trigger. 'hover' on + its own will result in tooltips that cannot be triggered via + the keyboard, and should only be used if alternative methods + for conveying the same information for keyboard users is + present. +
    +
    + +
    +

    + Data attributes for individual tooltips + +

    +

    + Options for individual tooltips can alternatively be specified + through the use of data attributes, as explained above. +

    +
    + +

    + Using function with popperConfig + +

    +
    +
    const tooltip = new bootstrap.Tooltip(element, {
    +  popperConfig(defaultBsPopperConfig) {
    +    // const newPopperConfig = {...}
    +    // use defaultBsPopperConfig if needed...
    +    // return newPopperConfig
    +  }
    +})
    +
    +
    +

    + Methods + +

    +
    + All API methods are asynchronous and start a transition. + They return to the caller as soon as the transition is started, but + before it ends. In addition, a method call on a transitioning + component will be ignored. + Learn more in our JavaScript docs. +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    disable + Removes the ability for an element’s tooltip to be + shown. The tooltip will only be able to be shown if it is + re-enabled. +
    dispose + Hides and destroys an element’s tooltip (Removes + stored data on the DOM element). Tooltips that use + delegation (which are created using + the selector option) + cannot be individually destroyed on descendant trigger + elements. +
    enable + Gives an element’s tooltip the ability to be shown. + Tooltips are enabled by default. +
    getInstance + Static method which allows you to get the tooltip + instance associated with a DOM element, or create a new one + in case it wasn’t initialized. +
    getOrCreateInstance + Static method which allows you to get the tooltip + instance associated with a DOM element, or create a new one + in case it wasn’t initialized. +
    hide + Hides an element’s tooltip. + Returns to the caller before the tooltip has actually + been hidden + (i.e. before the hidden.bs.tooltip event + occurs). This is considered a “manual” + triggering of the tooltip. +
    setContent + Gives a way to change the tooltip’s content after its + initialization. +
    show + Reveals an element’s tooltip. + Returns to the caller before the tooltip has actually + been shown + (i.e. before the shown.bs.tooltip event + occurs). This is considered a “manual” + triggering of the tooltip. Tooltips with zero-length titles + are never displayed. +
    toggle + Toggles an element’s tooltip. + Returns to the caller before the tooltip has actually + been shown or hidden + (i.e. before the shown.bs.tooltip or + hidden.bs.tooltip event occurs). This is + considered a “manual” triggering of the tooltip. +
    toggleEnabled + Toggles the ability for an element’s tooltip to be + shown or hidden. +
    updateUpdates the position of an element’s tooltip.
    +
    + +
    +
    const tooltip = bootstrap.Tooltip.getInstance('#example') // Returns a Bootstrap tooltip instance
    +
    +// setContent example
    +tooltip.setContent({ '.tooltip-inner': 'another title' })
    +
    +
    +
    + The setContent method accepts an + object argument, where each property-key is a valid + string selector within the tooltip template, and each + related property-value can be string | + element | function | null +
    + +

    + Events + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    EventDescription
    hide.bs.tooltip + This event is fired immediately when the + hide instance method has been called. +
    hidden.bs.tooltip + This event is fired when the tooltip has finished being + hidden from the user (will wait for CSS transitions to + complete). +
    inserted.bs.tooltip + This event is fired after the + show.bs.tooltip event when the tooltip template + has been added to the DOM. +
    show.bs.tooltip + This event fires immediately when the + show instance method is called. +
    shown.bs.tooltip + This event is fired when the tooltip has been made visible + to the user (will wait for CSS transitions to complete). +
    +
    + +
    +
    const myTooltipEl = document.getElementById('myTooltip')
    +const tooltip = bootstrap.Tooltip.getOrCreateInstance(myTooltipEl)
    +
    +myTooltipEl.addEventListener('hidden.bs.tooltip', () => {
    +  // do something...
    +})
    +
    +tooltip.hide()
    +
    +
    +
    +
    - -
    - - -

    Overview

    -

    Things to know when using the tooltip plugin:

    -
      -
    • Tooltips rely on the 3rd party library Popper for positioning. You must include popper.min.js before bootstrap.js or use bootstrap.bundle.min.js / bootstrap.bundle.js which contains Popper in order for tooltips to work!
    • -
    • Tooltips are opt-in for performance reasons, so you must initialize them yourself.
    • -
    • Tooltips with zero-length titles are never displayed.
    • -
    • Specify container: 'body' to avoid rendering problems in more complex components (like our input groups, button groups, etc).
    • -
    • Triggering tooltips on hidden elements will not work.
    • -
    • Tooltips for .disabled or disabled elements must be triggered on a wrapper element.
    • -
    • When triggered from hyperlinks that span multiple lines, tooltips will be centered. Use white-space: nowrap; on your <a>s to avoid this behavior.
    • -
    • Tooltips must be hidden before their corresponding elements have been removed from the DOM.
    • -
    • Tooltips can be triggered thanks to an element inside a shadow DOM.
    • -
    -
    -By default, this component uses the built-in content sanitizer, which strips out any HTML elements that are not explicitly allowed. See the sanitizer section in our JavaScript documentation for more details. -
    - -
    -The animation effect of this component is dependent on the prefers-reduced-motion media query. See the reduced motion section of our accessibility documentation. -
    - -

    Got all that? Great, let’s see how they work with some examples.

    -

    Example: Enable tooltips everywhere

    -

    One way to initialize all tooltips on a page would be to select them by their data-bs-toggle attribute:

    -
    var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
    -var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
    -  return new bootstrap.Tooltip(tooltipTriggerEl)
    -})
    -

    Examples

    -

    Hover over the links below to see tooltips:

    -
    -

    Placeholder text to demonstrate some inline links with tooltips. This is now just filler, no killer. Content placed here just to mimic the presence of real text. And all that just to give you an idea of how tooltips would look when used in real-world situations. So hopefully you've now seen how these tooltips on links can work in practice, once you use them on your own site or project. -

    -
    -

    Hover over the buttons below to see the four tooltips directions: top, right, bottom, and left. Directions are mirrored when using Bootstrap in RTL.

    -
    -
    - - - - - -
    -
    -
    <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">
    -  Tooltip on top
    -</button>
    -<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="right" title="Tooltip on right">
    -  Tooltip on right
    -</button>
    -<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Tooltip on bottom">
    -  Tooltip on bottom
    -</button>
    -<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="left" title="Tooltip on left">
    -  Tooltip on left
    -</button>
    -

    And with custom HTML added:

    -
    <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-html="true" title="<em>Tooltip</em> <u>with</u> <b>HTML</b>">
    -  Tooltip with HTML
    -</button>
    -

    With an SVG:

    - -

    Sass

    -

    Variables

    -
    $tooltip-font-size:                 $font-size-sm;
    -$tooltip-max-width:                 200px;
    -$tooltip-color:                     $white;
    -$tooltip-bg:                        $black;
    -$tooltip-border-radius:             $border-radius;
    -$tooltip-opacity:                   .9;
    -$tooltip-padding-y:                 $spacer * .25;
    -$tooltip-padding-x:                 $spacer * .5;
    -$tooltip-margin:                    0;
    -
    -$tooltip-arrow-width:               .8rem;
    -$tooltip-arrow-height:              .4rem;
    -$tooltip-arrow-color:               $tooltip-bg;
    -
    -

    Usage

    -

    The tooltip plugin generates content and markup on demand, and by default places tooltips after their trigger element.

    -

    Trigger the tooltip via JavaScript:

    -
    var exampleEl = document.getElementById('example')
    -var tooltip = new bootstrap.Tooltip(exampleEl, options)
    -
    -
    Overflow auto and scroll
    -

    Tooltip position attempts to automatically change when a parent container has overflow: auto or overflow: scroll like our .table-responsive, but still keeps the original placement’s positioning. To resolve this, set the boundary option (for the flip modifier using the popperConfig option) to any HTMLElement to override the default value, 'clippingParents', such as document.body:

    -
    var exampleEl = document.getElementById('example')
    -var tooltip = new bootstrap.Tooltip(exampleEl, {
    -  boundary: document.body // or document.querySelector('#boundary')
    -})
    -
    -
    - -

    Markup

    -

    The required markup for a tooltip is only a data attribute and title on the HTML element you wish to have a tooltip. The generated markup of a tooltip is rather simple, though it does require a position (by default, set to top by the plugin).

    -
    -
    Making tooltips work for keyboard and assistive technology users
    -

    You should only add tooltips to HTML elements that are traditionally keyboard-focusable and interactive (such as links or form controls). Although arbitrary HTML elements (such as <span>s) can be made focusable by adding the tabindex="0" attribute, this will add potentially annoying and confusing tab stops on non-interactive elements for keyboard users, and most assistive technologies currently do not announce the tooltip in this situation. Additionally, do not rely solely on hover as the trigger for your tooltip, as this will make your tooltips impossible to trigger for keyboard users. -

    - -
    <!-- HTML to write -->
    -<a href="#" data-bs-toggle="tooltip" title="Some tooltip text!">Hover over me</a>
    -
    -<!-- Generated markup by the plugin -->
    -<div class="tooltip bs-tooltip-top" role="tooltip">
    -  <div class="tooltip-arrow"></div>
    -  <div class="tooltip-inner">
    -    Some tooltip text!
    -  </div>
    -</div>
    -

    Disabled elements

    -

    Elements with the disabled attribute aren’t interactive, meaning users cannot focus, hover, or click them to trigger a tooltip (or popover). As a workaround, you’ll want to trigger the tooltip from a wrapper <div> or <span>, ideally made keyboard-focusable using tabindex="0".

    -
    -
    - - - -
    <span class="d-inline-block" tabindex="0" data-bs-toggle="tooltip" title="Disabled tooltip">
    -  <button class="btn btn-primary" type="button" disabled>Disabled button</button>
    -</span>
    -
    -

    Options

    -

    Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-animation="". Make sure to change the case type of the option name from camelCase to kebab-case when passing the options via data attributes. For example, instead of using data-bs-customClass="beautifier", use data-bs-custom-class="beautifier".

    -
    -Note that for security reasons the sanitize, sanitizeFn, and allowList options cannot be supplied using data attributes. -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDefaultDescription
    animationbooleantrueApply a CSS fade transition to the tooltip
    containerstring | element | falsefalse -

    Appends the tooltip to a specific element. Example: container: 'body'. This option is particularly useful in that it allows you to position the tooltip in the flow of the document near the triggering element - which will prevent the tooltip from floating away from the triggering element during a window resize.

    -
    delaynumber | object0 -

    Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type

    -

    If a number is supplied, delay is applied to both hide/show

    -

    Object structure is: delay: { "show": 500, "hide": 100 }

    -
    htmlbooleanfalse -

    Allow HTML in the tooltip.

    -

    If true, HTML tags in the tooltip's title will be rendered in the tooltip. If false, innerText property will be used to insert content into the DOM.

    -

    Use text if you're worried about XSS attacks.

    -
    placementstring | function'top' -

    How to position the tooltip - auto | top | bottom | left | right.
    When auto is specified, it will dynamically reorient the tooltip.

    -

    When a function is used to determine the placement, it is called with the tooltip DOM node as its first argument and the triggering element DOM node as its second. The this context is set to the tooltip instance.

    -
    selectorstring | falsefalseIf a selector is provided, tooltip objects will be delegated to the specified targets. In practice, this is used to also apply tooltips to dynamically added DOM elements (jQuery.on support). See this and an informative example.
    templatestring'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' -

    Base HTML to use when creating the tooltip.

    -

    The tooltip's title will be injected into the .tooltip-inner.

    -

    .tooltip-arrow will become the tooltip's arrow.

    -

    The outermost wrapper element should have the .tooltip class and role="tooltip".

    -
    titlestring | element | function'' -

    Default title value if title attribute isn't present.

    -

    If a function is given, it will be called with its this reference set to the element that the tooltip is attached to.

    -
    triggerstring'hover focus' -

    How tooltip is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space.

    -

    'manual' indicates that the tooltip will be triggered programmatically via the .show(), .hide() and .toggle() methods; this value cannot be combined with any other trigger.

    -

    'hover' on its own will result in tooltips that cannot be triggered via the keyboard, and should only be used if alternative methods for conveying the same information for keyboard users is present.

    -
    fallbackPlacementsarray['top', 'right', 'bottom', 'left']Define fallback placements by providing a list of placements in array (in order of preference). For more information refer to - Popper's behavior docs
    boundarystring | element'clippingParents'Overflow constraint boundary of the tooltip (applies only to Popper's preventOverflow modifier). By default it's 'clippingParents' and can accept an HTMLElement reference (via JavaScript only). For more information refer to Popper's detectOverflow docs.
    customClassstring | function'' -

    Add classes to the tooltip when it is shown. Note that these classes will be added in addition to any classes specified in the template. To add multiple classes, separate them with spaces: 'class-1 class-2'.

    -

    You can also pass a function that should return a single string containing additional class names.

    -
    sanitizebooleantrueEnable or disable the sanitization. If activated 'template' and 'title' options will be sanitized. See the sanitizer section in our JavaScript documentation.
    allowListobjectDefault valueObject which contains allowed attributes and tags
    sanitizeFnnull | functionnullHere you can supply your own sanitize function. This can be useful if you prefer to use a dedicated library to perform sanitization.
    offsetarray | string | function[0, 0] -

    Offset of the tooltip relative to its target. You can pass a string in data attributes with comma separated values like: data-bs-offset="10,20"

    -

    When a function is used to determine the offset, it is called with an object containing the popper placement, the reference, and popper rects as its first argument. The triggering element DOM node is passed as the second argument. The function must return an array with two numbers: [skidding, distance].

    -

    For more information refer to Popper's offset docs.

    -
    popperConfignull | object | functionnull -

    To change Bootstrap's default Popper config, see Popper's configuration.

    -

    When a function is used to create the Popper configuration, it's called with an object that contains the Bootstrap's default Popper configuration. It helps you use and merge the default with your own configuration. The function must return a configuration object for Popper.

    -
    -
    -

    Data attributes for individual tooltips

    -

    Options for individual tooltips can alternatively be specified through the use of data attributes, as explained above. -

    - -

    Using function with popperConfig

    -
    var tooltip = new bootstrap.Tooltip(element, {
    -  popperConfig: function (defaultBsPopperConfig) {
    -    // var newPopperConfig = {...}
    -    // use defaultBsPopperConfig if needed...
    -    // return newPopperConfig
    -  }
    -})
    -

    Methods

    -
    -

    Asynchronous methods and transitions

    -

    All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

    -

    See our JavaScript documentation for more information.

    - -
    - -

    show

    -

    Reveals an element’s tooltip. Returns to the caller before the tooltip has actually been shown (i.e. before the shown.bs.tooltip event occurs). This is considered a “manual” triggering of the tooltip. Tooltips with zero-length titles are never displayed.

    -
    tooltip.show()
    -

    hide

    -

    Hides an element’s tooltip. Returns to the caller before the tooltip has actually been hidden (i.e. before the hidden.bs.tooltip event occurs). This is considered a “manual” triggering of the tooltip.

    -
    tooltip.hide()
    -

    toggle

    -

    Toggles an element’s tooltip. Returns to the caller before the tooltip has actually been shown or hidden (i.e. before the shown.bs.tooltip or hidden.bs.tooltip event occurs). This is considered a “manual” triggering of the tooltip.

    -
    tooltip.toggle()
    -

    dispose

    -

    Hides and destroys an element’s tooltip (Removes stored data on the DOM element). Tooltips that use delegation (which are created using the selector option) cannot be individually destroyed on descendant trigger elements.

    -
    tooltip.dispose()
    -

    enable

    -

    Gives an element’s tooltip the ability to be shown. Tooltips are enabled by default.

    -
    tooltip.enable()
    -

    disable

    -

    Removes the ability for an element’s tooltip to be shown. The tooltip will only be able to be shown if it is re-enabled.

    -
    tooltip.disable()
    -

    toggleEnabled

    -

    Toggles the ability for an element’s tooltip to be shown or hidden.

    -
    tooltip.toggleEnabled()
    -

    update

    -

    Updates the position of an element’s tooltip.

    -
    tooltip.update()
    -

    getInstance

    -

    Static method which allows you to get the tooltip instance associated with a DOM element

    -
    var exampleTriggerEl = document.getElementById('example')
    -var tooltip = bootstrap.Tooltip.getInstance(exampleTriggerEl) // Returns a Bootstrap tooltip instance
    -

    getOrCreateInstance

    -

    Static method which allows you to get the tooltip instance associated with a DOM element, or create a new one in case it wasn’t initialized

    -
    var exampleTriggerEl = document.getElementById('example')
    -var tooltip = bootstrap.Tooltip.getOrCreateInstance(exampleTriggerEl) // Returns a Bootstrap tooltip instance
    -

    Events

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Event typeDescription
    show.bs.tooltipThis event fires immediately when the show instance method is called.
    shown.bs.tooltipThis event is fired when the tooltip has been made visible to the user (will wait for CSS transitions to complete).
    hide.bs.tooltipThis event is fired immediately when the hide instance method has been called.
    hidden.bs.tooltipThis event is fired when the tooltip has finished being hidden from the user (will wait for CSS transitions to complete).
    inserted.bs.tooltipThis event is fired after the show.bs.tooltip event when the tooltip template has been added to the DOM.
    -
    var myTooltipEl = document.getElementById('myTooltip')
    -var tooltip = new bootstrap.Tooltip(myTooltipEl)
    -
    -myTooltipEl.addEventListener('hidden.bs.tooltip', function () {
    -  // do something...
    -})
    -
    -tooltip.hide()
    -
    +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/content/figures/index.html b/content/figures/index.html index d69389f..00d84c5 100644 --- a/content/figures/index.html +++ b/content/figures/index.html @@ -1,485 +1,2074 @@ - - - - - - - - - - - - - - - -Figures · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Figures · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Figures

    +
    +

    + Documentation and examples for displaying related images and text + with the figure component in Bootstrap. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Figures

    +
    + + On this page +
    +
    + +
    -

    Documentation and examples for displaying related images and text with the figure component in Bootstrap.

    - -
    - - -
    - On this page - +
    +

    + Anytime you need to display a piece of content—like an image with an + optional caption, consider using a <figure>. +

    +

    + Use the included .figure, .figure-img and + .figure-caption classes to provide some baseline styles + for the HTML5 <figure> and + <figcaption> elements. Images in figures have no + explicit size, so be sure to add the .img-fluid class + to your <img> to make it responsive. +

    +
    +
    +
    + + Placeholder + + 400x300 + +
    + A caption for the above image. +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <figure class="figure">
    +  <img src="..." class="figure-img img-fluid rounded" alt="...">
    +  <figcaption class="figure-caption">A caption for the above image.</figcaption>
    +</figure>
    +
    +
    + +

    + Aligning the figure’s caption is easy with our + text utilities. +

    +
    +
    +
    + + Placeholder + + 400x300 + +
    + A caption for the above image. +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <figure class="figure">
    +  <img src="..." class="figure-img img-fluid rounded" alt="...">
    +  <figcaption class="figure-caption text-end">A caption for the above image.</figcaption>
    +</figure>
    +
    +
    + +

    + CSS + +

    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $figure-caption-font-size:          $small-font-size;
    +$figure-caption-color:              var(--#{$prefix}secondary-color);
    +
    +
    +
    +
    +
    - -
    - - -

    Anytime you need to display a piece of content—like an image with an optional caption, consider using a <figure>.

    -

    Use the included .figure, .figure-img and .figure-caption classes to provide some baseline styles for the HTML5 <figure> and <figcaption> elements. Images in figures have no explicit size, so be sure to add the .img-fluid class to your <img> to make it responsive.

    -
    -
    - Placeholder400x300 - -
    A caption for the above image.
    -
    -
    <figure class="figure">
    -  <img src="..." class="figure-img img-fluid rounded" alt="...">
    -  <figcaption class="figure-caption">A caption for the above image.</figcaption>
    -</figure>
    -

    Aligning the figure’s caption is easy with our text utilities.

    -
    -
    - Placeholder400x300 - -
    A caption for the above image.
    -
    -
    <figure class="figure">
    -  <img src="..." class="figure-img img-fluid rounded" alt="...">
    -  <figcaption class="figure-caption text-end">A caption for the above image.</figcaption>
    -</figure>
    -

    Sass

    -

    Variables

    -
    $figure-caption-font-size:          $small-font-size;
    -$figure-caption-color:              $gray-600;
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/content/images/index.html b/content/images/index.html index e918528..c5cdfc9 100644 --- a/content/images/index.html +++ b/content/images/index.html @@ -1,510 +1,2304 @@ - - - - - - - - - - - - - - - -Images · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Images · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Images

    +
    +

    + Documentation and examples for opting images into responsive + behavior (so they never become wider than their parent) and add + lightweight styles to them—all via classes. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Images

    +
    + + On this page +
    +
    -

    Documentation and examples for opting images into responsive behavior (so they never become wider than their parent) and add lightweight styles to them—all via classes.

    - -
    - - -
    - On this page - +
    +

    + Responsive images + +

    +

    + Images in Bootstrap are made responsive with + .img-fluid. This applies + max-width: 100%; and height: auto; to the + image so that it scales with the parent width. +

    +
    +
    + + Placeholder + + + Responsive image + + +
    +
    + html +
    + + +
    +
    +
    +
    <img src="..." class="img-fluid" alt="...">
    +
    +
    + +

    + Image thumbnails + +

    +

    + In addition to our + border-radius utilities, you can use .img-thumbnail to give an image a + rounded 1px border appearance. +

    +
    +
    + + + A generic square placeholder image with a white border around + it, making it resemble a photograph taken with an old instant + camera + + + 200x200 + +
    +
    + html +
    + + +
    +
    +
    +
    <img src="..." class="img-thumbnail" alt="...">
    +
    +
    + +

    + Aligning images + +

    +

    + Align images with the + helper float classes + or + text alignment classes. block-level images can be centered using + the .mx-auto margin utility class. +

    +
    +
    + + Placeholder + + 200x200 + + + Placeholder + + 200x200 + +
    +
    + html +
    + + +
    +
    +
    +
    <img src="..." class="rounded float-start" alt="...">
    +<img src="..." class="rounded float-end" alt="...">
    +
    +
    + +
    +
    + + Placeholder + + 200x200 + +
    +
    + html +
    + + +
    +
    +
    +
    <img src="..." class="rounded mx-auto d-block" alt="...">
    +
    +
    + +
    +
    +
    + + Placeholder + + 200x200 + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="text-center">
    +  <img src="..." class="rounded" alt="...">
    +</div>
    +
    +
    + +

    + Picture + +

    +

    + If you are using the <picture> element to specify + multiple <source> elements for a specific + <img>, make sure to add the + .img-* classes to the <img> and not + to the <picture> tag. +

    +
    +
    <picture>
    +  <source srcset="..." type="image/svg+xml">
    +  <img src="..." class="img-fluid img-thumbnail" alt="...">
    +</picture>
    +
    +
    +

    + CSS + +

    +

    + Sass variables + +

    +

    Variables are available for image thumbnails.

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $thumbnail-padding:                 .25rem;
    +$thumbnail-bg:                      var(--#{$prefix}body-bg);
    +$thumbnail-border-width:            var(--#{$prefix}border-width);
    +$thumbnail-border-color:            var(--#{$prefix}border-color);
    +$thumbnail-border-radius:           var(--#{$prefix}border-radius);
    +$thumbnail-box-shadow:              var(--#{$prefix}box-shadow-sm);
    +
    +
    +
    +
    +
    - -
    - - -

    Responsive images

    -

    Images in Bootstrap are made responsive with .img-fluid. This applies max-width: 100%; and height: auto; to the image so that it scales with the parent width.

    -
    -PlaceholderResponsive image - -
    <img src="..." class="img-fluid" alt="...">
    -

    Image thumbnails

    -

    In addition to our border-radius utilities, you can use .img-thumbnail to give an image a rounded 1px border appearance.

    -
    -A generic square placeholder image with a white border around it, making it resemble a photograph taken with an old instant camera200x200 - -
    <img src="..." class="img-thumbnail" alt="...">
    -

    Aligning images

    -

    Align images with the helper float classes or text alignment classes. block-level images can be centered using the .mx-auto margin utility class.

    -
    -Placeholder200x200 - -Placeholder200x200 - -
    <img src="..." class="rounded float-start" alt="...">
    -<img src="..." class="rounded float-end" alt="...">
    -
    -Placeholder200x200 - -
    <img src="..." class="rounded mx-auto d-block" alt="...">
    -
    -
    - Placeholder200x200 - -
    -
    <div class="text-center">
    -  <img src="..." class="rounded" alt="...">
    -</div>
    -

    Picture

    -

    If you are using the <picture> element to specify multiple <source> elements for a specific <img>, make sure to add the .img-* classes to the <img> and not to the <picture> tag.

    -
    <picture>
    -  <source srcset="..." type="image/svg+xml">
    -  <img src="..." class="img-fluid img-thumbnail" alt="...">
    -</picture>
    -

    Sass

    -

    Variables

    -

    Variables are available for image thumbnails.

    -
    $thumbnail-padding:                 .25rem;
    -$thumbnail-bg:                      $body-bg;
    -$thumbnail-border-width:            $border-width;
    -$thumbnail-border-color:            $gray-300;
    -$thumbnail-border-radius:           $border-radius;
    -$thumbnail-box-shadow:              $box-shadow-sm;
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/content/reboot/index.html b/content/reboot/index.html index 85b4ac9..bd73673 100644 --- a/content/reboot/index.html +++ b/content/reboot/index.html @@ -1,899 +1,3352 @@ - - - - - - - - - - - - - - - -Reboot · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Reboot · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Reboot

    +
    +

    + Reboot, a collection of element-specific CSS changes in a single + file, kickstart Bootstrap to provide an elegant, consistent, and + simple baseline to build upon. +

    - -
  • - - -
  • -
  • - - -
    -
      -
    • Clearfix
    • -
    • Colored links
    • -
    • Ratio
    • -
    • Position
    • -
    • Stacks
    • -
    • Visually hidden
    • -
    • Stretched link
    • -
    • Text truncation
    • -
    • Vertical rule
    • + +
      +

      + Approach + +

      +

      + Reboot builds upon Normalize, providing many HTML elements with + somewhat opinionated styles using only element selectors. Additional + styling is done only with classes. For example, we reboot some + <table> styles for a simpler baseline and later + provide .table, .table-bordered, and more. +

      +

      + Here are our guidelines and reasons for choosing what to override in + Reboot: +

      +
        +
      • + Update some browser default values to use rems + instead of ems for scalable component spacing. +
      • +
      • + Avoid margin-top. Vertical margins can collapse, + yielding unexpected results. More importantly though, a single + direction of margin is a simpler mental model. +
      • +
      • + For easier scaling across device sizes, block elements should use + rems for margins. +
      • +
      • + Keep declarations of font-related properties to a + minimum, using inherit whenever possible. +
      -
      - -
    • - - -
      -
        -
      • API
      • -
      • Background
      • -
      • Borders
      • -
      • Colors
      • -
      • Display
      • -
      • Flex
      • -
      • Float
      • -
      • Interactions
      • -
      • Opacity
      • -
      • Overflow
      • -
      • Position
      • -
      • Shadows
      • -
      • Sizing
      • -
      • Spacing
      • -
      • Text
      • -
      • Vertical align
      • -
      • Visibility
      • +

        + CSS variables + +

        + Added in v5.2.0 + +

        + With v5.1.1, we standardized our required @imports + across all our CSS bundles (including bootstrap.css, + bootstrap-reboot.css, and + bootstrap-grid.css) to include _root.scss. + This adds :root level CSS variables to all bundles, + regardless of how many of them are used in that bundle. Ultimately + Bootstrap 5 will continue to see more + CSS variables + added over time, in order to provide more real-time customization + without the need to always recompile Sass. Our approach is to take + our source Sass variables and transform them into CSS variables. + That way, even if you don’t use CSS variables, you still have + all the power of Sass. + This is still in-progress and will take time to fully + implement. +

        +

        + For example, consider these :root CSS variables for + common <body> styles: +

        +
        +
        + scss/_root.scss +
        + +
        +
        +
        +
        @if $font-size-root != null {
        +  --#{$prefix}root-font-size: #{$font-size-root};
        +}
        +--#{$prefix}body-font-family: #{inspect($font-family-base)};
        +@include rfs($font-size-base, --#{$prefix}body-font-size);
        +--#{$prefix}body-font-weight: #{$font-weight-base};
        +--#{$prefix}body-line-height: #{$line-height-base};
        +@if $body-text-align != null {
        +  --#{$prefix}body-text-align: #{$body-text-align};
        +}
        +
        +--#{$prefix}body-color: #{$body-color};
        +--#{$prefix}body-color-rgb: #{to-rgb($body-color)};
        +--#{$prefix}body-bg: #{$body-bg};
        +--#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};
        +
        +--#{$prefix}emphasis-color: #{$body-emphasis-color};
        +--#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color)};
        +
        +--#{$prefix}secondary-color: #{$body-secondary-color};
        +--#{$prefix}secondary-color-rgb: #{to-rgb($body-secondary-color)};
        +--#{$prefix}secondary-bg: #{$body-secondary-bg};
        +--#{$prefix}secondary-bg-rgb: #{to-rgb($body-secondary-bg)};
        +
        +--#{$prefix}tertiary-color: #{$body-tertiary-color};
        +--#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color)};
        +--#{$prefix}tertiary-bg: #{$body-tertiary-bg};
        +--#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg)};
        +
        +
        +

        + In practice, those variables are then applied in Reboot like so: +

        +
        +
        + scss/_reboot.scss +
        + +
        +
        +
        +
        body {
        +  margin: 0; // 1
        +  font-family: var(--#{$prefix}body-font-family);
        +  @include font-size(var(--#{$prefix}body-font-size));
        +  font-weight: var(--#{$prefix}body-font-weight);
        +  line-height: var(--#{$prefix}body-line-height);
        +  color: var(--#{$prefix}body-color);
        +  text-align: var(--#{$prefix}body-text-align);
        +  background-color: var(--#{$prefix}body-bg); // 2
        +  -webkit-text-size-adjust: 100%; // 3
        +  -webkit-tap-highlight-color: rgba($black, 0); // 4
        +}
        +
        +
        +
        +

        + Which allows you to make real-time customizations however you like: +

        +
        +
        <body style="--bs-body-color: #333;">
        +  <!-- ... -->
        +</body>
        +
        +
        +

        + Page defaults + +

        +

        + The <html> and <body> elements + are updated to provide better page-wide defaults. More specifically: +

        +
          +
        • + The box-sizing is globally set on every + element—including *::before and + *::after, to border-box. This ensures + that the declared width of element is never exceeded due to + padding or border. +
            +
          • + No base font-size is declared on the + <html>, but 16px is assumed + (the browser default). font-size: 1rem is applied + on the <body> for easy responsive + type-scaling via media queries while respecting user + preferences and ensuring a more accessible approach. This + browser default can be overridden by modifying the + $font-size-root variable. +
          • +
          +
        • +
        • + The <body> also sets a global + font-family, font-weight, + line-height, and color. This is + inherited later by some form elements to prevent font + inconsistencies. +
        • +
        • + For safety, the <body> has a declared + background-color, defaulting to #fff. +
        -
      -
    • -
    • - - -
      - -
      -
    • -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        + Native font stack + +

        +

        + Bootstrap utilizes a “native font stack” or + “system font stack” for optimum text rendering on every + device and OS. These system fonts have been designed specifically + with today’s devices in mind, with improved rendering on + screens, variable font support, and more. Read more about + native font stacks in this Smashing Magazine article. +

        +
        +
        $font-family-sans-serif:
        +  // Cross-platform generic font family (default user interface font)
        +  system-ui,
        +  // Safari for macOS and iOS (San Francisco)
        +  -apple-system,
        +  // Windows
        +  "Segoe UI",
        +  // Android
        +  Roboto,
        +  // older macOS and iOS
        +  "Helvetica Neue"
        +  // Linux
        +  "Noto Sans",
        +  "Liberation Sans",
        +  // Basic web fallback
        +  Arial,
        +  // Sans serif fallback
        +  sans-serif,
        +  // Emoji fonts
        +  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
        +
        +
        +

        + Note that because the font stack includes emoji fonts, many common + symbol/dingbat Unicode characters will be rendered as multicolored + pictographs. Their appearance will vary, depending on the style used + in the browser/platform’s native emoji font, and they + won’t be affected by any CSS color styles. +

        +

        + This font-family is applied to the + <body> and automatically inherited globally + throughout Bootstrap. To switch the global font-family, + update $font-family-base and recompile Bootstrap. +

        +

        + Headings + +

        +

        + All heading elements—<h1><h6> + have their margin-top removed, + margin-bottom: .5rem set, and + line-height tightened. While headings inherit their + color by default, you can also override it via optional + CSS variable, --bs-heading-color. +

        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        HeadingExample
        <h1></h1>h1. Bootstrap heading
        <h2></h2>h2. Bootstrap heading
        <h3></h3>h3. Bootstrap heading
        <h4></h4>h4. Bootstrap heading
        <h5></h5>h5. Bootstrap heading
        <h6></h6>h6. Bootstrap heading
        +
        + +

        + Paragraphs + +

        +

        + All <p> elements have their + margin-top removed and + margin-bottom: 1rem set for easy spacing. +

        +
        +
        +

        This is an example paragraph.

        +
        +
        + html +
        + + +
        +
        +
        +
        <p>This is an example paragraph.</p>
        +
        +
        + + +

        + Links have a default color and underline applied. While + links change on :hover, they don’t change based + on whether someone :visited the link. They also receive + no special :focus styles. +

        +
        + +
        + html +
        + + +
        +
        +
        +
        <a href="#">This is an example link</a>
        +
        +
        + +

        + As of v5.3.x, link color is set using + rgba() and new -rgb CSS variables, + allowing for easy customization of link color opacity. Change the + link color opacity with the --bs-link-opacity CSS + variable: +

        +
        + +
        + html +
        + + +
        +
        +
        +
        <a href="#" style="--bs-link-opacity: .5">This is an example link</a>
        +
        +
        + +

        + Placeholder links—those without an href—are targeted + with a more specific selector and have their color and + text-decoration reset to their default values. +

        +
        + +
        + html +
        + + +
        +
        +
        +
        <a>This is a placeholder link</a>
        +
        +
        + +

        + Horizontal rules + +

        +

        + The <hr> element has been simplified. Similar to + browser defaults, <hr>s are styled via + border-top, have a default opacity: .25, + and automatically inherit their border-color via + color, including when color is set via the + parent. They can be modified with text, border, and opacity + utilities. +

        +
        +
        +
        + +
        +
        +
        + +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <hr>
        +
        +<div class="text-success">
        +  <hr>
        +</div>
        +
        +<hr class="border border-danger border-2 opacity-50">
        +<hr class="border border-primary border-3 opacity-75">
        +
        +
        + +

        + Lists + +

        +

        + All lists—<ul>, <ol>, and + <dl>—have their margin-top removed + and a margin-bottom: 1rem. Nested lists have no + margin-bottom. We’ve also reset the + padding-left on <ul> and + <ol> elements. +

        +
        +
          +
        • All lists have their top margin removed
        • +
        • And their bottom margin normalized
        • +
        • + Nested lists have no bottom margin +
            +
          • This way they have a more even appearance
          • +
          • Particularly when followed by more list items
          • +
          +
        • +
        • The left padding has also been reset
        • +
        +
          +
        1. Here’s an ordered list
        2. +
        3. With a few list items
        4. +
        5. It has the same overall look
        6. +
        7. As the previous unordered list
        8. +
        +
        +

        + For simpler styling, clear hierarchy, and better spacing, + description lists have updated margins. + <dd>s reset margin-left to + 0 and add margin-bottom: .5rem. + <dt>s are bolded. +

        +
        +
        +
        Description lists
        +
        A description list is perfect for defining terms.
        +
        Term
        +
        Definition for the term.
        +
        A second definition for the same term.
        +
        Another term
        +
        Definition for this other term.
        +
        +
        +

        + Inline code + +

        +

        + Wrap inline snippets of code with <code>. Be sure + to escape HTML angle brackets. +

        +
        +
        + For example, <section> should be wrapped as + inline. +
        +
        + html +
        + + +
        +
        +
        +
        For example, <code>&lt;section&gt;</code> should be wrapped as inline.
        +
        +
        + +

        + Code blocks + +

        +

        + Use <pre>s for multiple lines of code. Once + again, be sure to escape any angle brackets in the code for proper + rendering. The <pre> element is reset to remove + its margin-top and use rem units for its + margin-bottom. +

        +
        +
        +
        <p>Sample text here...</p>
        +<p>And another line of sample text here...</p>
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <pre><code>&lt;p&gt;Sample text here...&lt;/p&gt;
        +&lt;p&gt;And another line of sample text here...&lt;/p&gt;
        +</code></pre>
        +
        +
        + +

        + Variables + +

        +

        For indicating variables use the <var> tag.

        +
        +
        + y = mx + b +
        +
        + html +
        + + +
        +
        +
        +
        <var>y</var> = <var>m</var><var>x</var> + <var>b</var>
        +
        +
        + +

        + User input + +

        +

        + Use the <kbd> to indicate input that is typically + entered via keyboard. +

        +
        +
        + To switch directories, type cd followed by the name of + the directory.
        + To edit settings, press Ctrl + , +
        +
        + html +
        + + +
        +
        +
        +
        To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br>
        +To edit settings, press <kbd><kbd>Ctrl</kbd> + <kbd>,</kbd></kbd>
        +
        +
        + +

        + Sample output + +

        +

        + For indicating sample output from a program use the + <samp> tag. +

        +
        +
        + This text is meant to be treated as sample output from a + computer program. +
        +
        + html +
        + + +
        +
        +
        +
        <samp>This text is meant to be treated as sample output from a computer program.</samp>
        +
        +
        + +

        + Tables + +

        +

        + Tables are slightly adjusted to style <caption>s, + collapse borders, and ensure consistent + text-align throughout. Additional changes for borders, + padding, and more come with + the .table class. +

        +
        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        + This is an example table, and this is its caption to describe + the contents. +
        Table headingTable headingTable headingTable heading
        Table cellTable cellTable cellTable cell
        Table cellTable cellTable cellTable cell
        Table cellTable cellTable cellTable cell
        +
        +
        + html +
        + + +
        +
        +
        +
        <table>
        +  <caption>
        +    This is an example table, and this is its caption to describe the contents.
        +  </caption>
        +  <thead>
        +    <tr>
        +      <th>Table heading</th>
        +      <th>Table heading</th>
        +      <th>Table heading</th>
        +      <th>Table heading</th>
        +    </tr>
        +  </thead>
        +  <tbody>
        +    <tr>
        +      <td>Table cell</td>
        +      <td>Table cell</td>
        +      <td>Table cell</td>
        +      <td>Table cell</td>
        +    </tr>
        +    <tr>
        +      <td>Table cell</td>
        +      <td>Table cell</td>
        +      <td>Table cell</td>
        +      <td>Table cell</td>
        +    </tr>
        +    <tr>
        +      <td>Table cell</td>
        +      <td>Table cell</td>
        +      <td>Table cell</td>
        +      <td>Table cell</td>
        +    </tr>
        +  </tbody>
        +</table>
        +
        +
        + +

        + Forms + +

        +

        + Various form elements have been rebooted for simpler base styles. + Here are some of the most notable changes: +

        +
          +
        • + <fieldset>s have no borders, padding, or margin + so they can be easily used as wrappers for individual inputs or + groups of inputs. +
        • +
        • + <legend>s, like fieldsets, have also been + restyled to be displayed as a heading of sorts. +
        • +
        • + <label>s are set to + display: inline-block to allow margin to + be applied. +
        • +
        • + <input>s, <select>s, + <textarea>s, and <button>s + are mostly addressed by Normalize, but Reboot removes their + margin and sets line-height: inherit, + too. +
        • +
        • + <textarea>s are modified to only be resizable + vertically as horizontal resizing often “breaks” page + layout. +
        • +
        • + <button>s and <input> button + elements have cursor: pointer when + :not(:disabled). +
        +

        These changes, and more, are demonstrated below.

        +
        + Some date inputs types are + not fully supported + by the latest versions of Safari and Firefox. +
        + +
        +
        + Example legend +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + +

        +

        + + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + +

        +

        + + 100 +

        +

        + + + + +

        +

        + + + + +

        +
        +
        +

        + Pointers on buttons + +

        +

        + Reboot includes an enhancement for + role="button" to change the default cursor to + pointer. Add this attribute to elements to help + indicate elements are interactive. This role isn’t necessary + for <button> elements, which get their own + cursor change. +

        +
        +
        + Non-button element button +
        +
        + html +
        + + +
        +
        +
        +
        <span role="button" tabindex="0">Non-button element button</span>
        +
        +
        + +

        + Misc elements + +

        +

        + Address + +

        +

        + The <address> element is updated to reset the + browser default font-style from italic to + normal. line-height is also now inherited, + and margin-bottom: 1rem has been added. + <address>s are for presenting contact information + for the nearest ancestor (or an entire body of work). Preserve + formatting by ending lines with <br>. +

        +
        +
        + ACME Corporation
        + 1123 Fictional St,
        + San Francisco, CA 94103
        + P: (123) 456-7890 +
        +
        + Full Name
        + first.last@example.com +
        +
        +

        + Blockquote + +

        +

        + The default margin on blockquotes is + 1em 40px, so we reset that to 0 0 1rem for + something more consistent with other elements. +

        +
        +
        +

        A well-known quote, contained in a blockquote element.

        +
        +

        + Someone famous in Source Title +

        +
        +

        + Inline elements + +

        +

        + The <abbr> element receives basic styling to make + it stand out amongst paragraph text. +

        +
        + The HTML abbreviation + element. +
        +

        + Summary + +

        +

        + The default cursor on summary is text, so + we reset that to pointer to convey that the element can + be interacted with by clicking on it. +

        +
        +
        + Some details +

        More info about the details.

        +
        +
        + Even more details +

        Here are even more details about the details.

        +
        +
        +

        + HTML5 [hidden] attribute + +

        +

        + HTML5 adds + a new global attribute named [hidden], which is styled as display: none by default. + Borrowing an idea from PureCSS, we + improve upon this default by making + [hidden] { display: none !important; } to help prevent + its display from getting accidentally overridden. +

        +
        +
        <input type="text" hidden>
        +
        +
        +
        + Since [hidden] is not compatible with jQuery’s + $(...).hide() and $(...).show() methods, + we don’t specifically endorse [hidden] over other + techniques for managing the display of elements. +
        + +

        + To merely toggle the visibility of an element, meaning its + display is not modified and the element can still + affect the flow of the document, use + the .invisible class + instead. +

      -
    • -
    • -
    • - - Migration - -
    • -
    - - - - -
    -
    -
    - View on GitHub -

    Reboot

    -
    -

    Reboot, a collection of element-specific CSS changes in a single file, kickstart Bootstrap to provide an elegant, consistent, and simple baseline to build upon.

    - - -
    - +
    +
    -
    - On this page - +
    +
    +
    +
    + + + Bootstrap + + + Bootstrap + + +
    +
    +
    Links
    + +
    +
    +
    Guides
    + +
    +
    +
    Projects
    + +
    +
    +
    Community
    + +
    - - -
    - - -

    Approach

    -

    Reboot builds upon Normalize, providing many HTML elements with somewhat opinionated styles using only element selectors. Additional styling is done only with classes. For example, we reboot some <table> styles for a simpler baseline and later provide .table, .table-bordered, and more.

    -

    Here are our guidelines and reasons for choosing what to override in Reboot:

    -
      -
    • Update some browser default values to use rems instead of ems for scalable component spacing.
    • -
    • Avoid margin-top. Vertical margins can collapse, yielding unexpected results. More importantly though, a single direction of margin is a simpler mental model.
    • -
    • For easier scaling across device sizes, block elements should use rems for margins.
    • -
    • Keep declarations of font-related properties to a minimum, using inherit whenever possible.
    • -
    -

    CSS variables

    -

    Added in v5.1.1

    -

    With v5.1.1, we standardized our required @imports across all our CSS bundles (including bootstrap.css, bootstrap-reboot.css, and bootstrap-grid.css to include _root.scss . This adds :root level CSS variables to all bundles, regardless of how many of them are used in that bundle. Ultimately Bootstrap 5 will continue to see more CSS variables added over time.

    -

    Page defaults

    -

    The <html> and <body> elements are updated to provide better page-wide defaults. More specifically:

    -
      -
    • The box-sizing is globally set on every element—including *::before and *::after, to border-box. This ensures that the declared width of element is never exceeded due to padding or border. -
        -
      • No base font-size is declared on the <html>, but 16px is assumed (the browser default). font-size: 1rem is applied on the <body> for easy responsive type-scaling via media queries while respecting user preferences and ensuring a more accessible approach. This browser default can be overridden by modifying the $font-size-root variable.
      • -
      -
    • -
    • The <body> also sets a global font-family, font-weight, line-height, and color. This is inherited later by some form elements to prevent font inconsistencies.
    • -
    • For safety, the <body> has a declared background-color, defaulting to #fff.
    • -
    -

    Native font stack

    -

    Bootstrap utilizes a “native font stack” or “system font stack” for optimum text rendering on every device and OS. These system fonts have been designed specifically with today’s devices in mind, with improved rendering on screens, variable font support, and more. Read more about native font stacks in this Smashing Magazine article.

    -
    $font-family-sans-serif:
    -  // Cross-platform generic font family (default user interface font)
    -  system-ui,
    -  // Safari for macOS and iOS (San Francisco)
    -  -apple-system,
    -  // Windows
    -  "Segoe UI",
    -  // Android
    -  Roboto,
    -  // Basic web fallback
    -  "Helvetica Neue", Arial,
    -  // Linux
    -  "Noto Sans",
    -  "Liberation Sans",
    -  // Sans serif fallback
    -  sans-serif,
    -  // Emoji fonts
    -  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
    -

    Note that because the font stack includes emoji fonts, many common symbol/dingbat unicode characters will be rendered as multi-colored pictographs. Their appearance will vary, depending on the style used in the browser/platform’s native emoji font, and they won’t be affected by any CSS color styles.

    -

    This font-family is applied to the <body> and automatically inherited globally throughout Bootstrap. To switch the global font-family, update $font-family-base and recompile Bootstrap.

    -

    CSS variables

    -

    As Bootstrap 5 continues to mature, more and more styles will be built with CSS variables as a means to provide more real-time customization without the need to always recompile Sass. Our approach is to take our source Sass variables and transform them into CSS variables. That way, even if you don’t use CSS variables, you still have all the power of Sass. This is still in-progress and will take time to fully implement.

    -

    For example, consider these :root CSS variables for common <body> styles:

    -
      @if $font-size-root != null {
    -    --#{$variable-prefix}root-font-size: #{$font-size-root};
    -  }
    -  --#{$variable-prefix}body-font-family: #{$font-family-base};
    -  --#{$variable-prefix}body-font-size: #{$font-size-base};
    -  --#{$variable-prefix}body-font-weight: #{$font-weight-base};
    -  --#{$variable-prefix}body-line-height: #{$line-height-base};
    -  --#{$variable-prefix}body-color: #{$body-color};
    -  @if $body-text-align != null {
    -    --#{$variable-prefix}body-text-align: #{$body-text-align};
    -  }
    -  --#{$variable-prefix}body-bg: #{$body-bg};
    -  
    -

    In practice, those variables are then applied in Reboot like so:

    -
    body {
    -  margin: 0; // 1
    -  font-family: var(--#{$variable-prefix}body-font-family);
    -  @include font-size(var(--#{$variable-prefix}body-font-size));
    -  font-weight: var(--#{$variable-prefix}body-font-weight);
    -  line-height: var(--#{$variable-prefix}body-line-height);
    -  color: var(--#{$variable-prefix}body-color);
    -  text-align: var(--#{$variable-prefix}body-text-align);
    -  background-color: var(--#{$variable-prefix}body-bg); // 2
    -  -webkit-text-size-adjust: 100%; // 3
    -  -webkit-tap-highlight-color: rgba($black, 0); // 4
    -}
    -
    -

    Which allows you to make real-time customizations however you like:

    -
    <body style="--bs-body-color: #333;">
    -  <!-- ... -->
    -</body>
    -

    Headings and paragraphs

    -

    All heading elements—e.g., <h1>—and <p> are reset to have their margin-top removed. Headings have margin-bottom: .5rem added and paragraphs margin-bottom: 1rem for easy spacing.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    HeadingExample
    - <h1></h1> - h1. Bootstrap heading
    - <h2></h2> - h2. Bootstrap heading
    - <h3></h3> - h3. Bootstrap heading
    - <h4></h4> - h4. Bootstrap heading
    - <h5></h5> - h5. Bootstrap heading
    - <h6></h6> - h6. Bootstrap heading
    -

    Lists

    -

    All lists—<ul>, <ol>, and <dl>—have their margin-top removed and a margin-bottom: 1rem. Nested lists have no margin-bottom. We’ve also reset the padding-left on <ul> and <ol> elements.

    -
    -
      -
    • All lists have their top margin removed
    • -
    • And their bottom margin normalized
    • -
    • Nested lists have no bottom margin -
        -
      • This way they have a more even appearance
      • -
      • Particularly when followed by more list items
      • -
      -
    • -
    • The left padding has also been reset
    • -
    -
      -
    1. Here’s an ordered list
    2. -
    3. With a few list items
    4. -
    5. It has the same overall look
    6. -
    7. As the previous unordered list
    8. -
    - -
    -

    For simpler styling, clear hierarchy, and better spacing, description lists have updated margins. <dd>s reset margin-left to 0 and add margin-bottom: .5rem. <dt>s are bolded.

    -
    -
    -
    Description lists
    -
    A description list is perfect for defining terms.
    -
    Term
    -
    Definition for the term.
    -
    A second definition for the same term.
    -
    Another term
    -
    Definition for this other term.
    -
    -
    -

    Inline code

    -

    Wrap inline snippets of code with <code>. Be sure to escape HTML angle brackets.

    -
    -For example, <section> should be wrapped as inline. -
    For example, <code>&lt;section&gt;</code> should be wrapped as inline.
    -

    Code blocks

    -

    Use <pre>s for multiple lines of code. Once again, be sure to escape any angle brackets in the code for proper rendering. The <pre> element is reset to remove its margin-top and use rem units for its margin-bottom.

    -
    -
    <p>Sample text here...</p>
    -<p>And another line of sample text here...</p>
    -
    -
    <pre><code>&lt;p&gt;Sample text here...&lt;/p&gt;
    -&lt;p&gt;And another line of sample text here...&lt;/p&gt;
    -</code></pre>
    -

    Variables

    -

    For indicating variables use the <var> tag.

    -
    -y = mx + b -
    <var>y</var> = <var>m</var><var>x</var> + <var>b</var>
    -

    User input

    -

    Use the <kbd> to indicate input that is typically entered via keyboard.

    -
    -To switch directories, type cd followed by the name of the directory.
    -To edit settings, press ctrl + , -
    To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br>
    -To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd>
    -

    Sample output

    -

    For indicating sample output from a program use the <samp> tag.

    -
    -This text is meant to be treated as sample output from a computer program. -
    <samp>This text is meant to be treated as sample output from a computer program.</samp>
    -

    Tables

    -

    Tables are slightly adjusted to style <caption>s, collapse borders, and ensure consistent text-align throughout. Additional changes for borders, padding, and more come with the .table class.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - This is an example table, and this is its caption to describe the contents. -
    Table headingTable headingTable headingTable heading
    Table cellTable cellTable cellTable cell
    Table cellTable cellTable cellTable cell
    Table cellTable cellTable cellTable cell
    -
    -

    Forms

    -

    Various form elements have been rebooted for simpler base styles. Here are some of the most notable changes:

    -
      -
    • <fieldset>s have no borders, padding, or margin so they can be easily used as wrappers for individual inputs or groups of inputs.
    • -
    • <legend>s, like fieldsets, have also been restyled to be displayed as a heading of sorts.
    • -
    • <label>s are set to display: inline-block to allow margin to be applied.
    • -
    • <input>s, <select>s, <textarea>s, and <button>s are mostly addressed by Normalize, but Reboot removes their margin and sets line-height: inherit, too.
    • -
    • <textarea>s are modified to only be resizable vertically as horizontal resizing often “breaks” page layout.
    • -
    • <button>s and <input> button elements have cursor: pointer when :not(:disabled).
    • -
    -

    These changes, and more, are demonstrated below.

    -
    -
    - Example legend -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - -

    -

    - - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - 100 -

    -

    - - - - -

    -

    - - - - -

    -
    -
    -
    -
    Date & color input support
    -

    Keep in mind date inputs are not fully supported by all browsers, namely Safari. -

    - -

    Pointers on buttons

    -

    Reboot includes an enhancement for role="button" to change the default cursor to pointer. Add this attribute to elements to help indicate elements are interactive. This role isn’t necessary for <button> elements, which get their own cursor change.

    -
    -Non-button element button -
    <span role="button" tabindex="0">Non-button element button</span>
    -

    Misc elements

    -

    Address

    -

    The <address> element is updated to reset the browser default font-style from italic to normal. line-height is also now inherited, and margin-bottom: 1rem has been added. <address>s are for presenting contact information for the nearest ancestor (or an entire body of work). Preserve formatting by ending lines with <br>.

    -
    -
    - Twitter, Inc.
    - 1355 Market St, Suite 900
    - San Francisco, CA 94103
    - P: (123) 456-7890 -
    -
    - Full Name
    - first.last@example.com -
    -
    -

    Blockquote

    -

    The default margin on blockquotes is 1em 40px, so we reset that to 0 0 1rem for something more consistent with other elements.

    -
    -
    -

    A well-known quote, contained in a blockquote element.

    -
    -

    Someone famous in Source Title

    -
    -

    Inline elements

    -

    The <abbr> element receives basic styling to make it stand out amongst paragraph text.

    -
    - The HTML abbreviation element. -
    -

    Summary

    -

    The default cursor on summary is text, so we reset that to pointer to convey that the element can be interacted with by clicking on it.

    -
    -
    - Some details -

    More info about the details.

    -
    -
    - Even more details -

    Here are even more details about the details.

    -
    -
    -

    HTML5 [hidden] attribute

    -

    HTML5 adds a new global attribute named [hidden], which is styled as display: none by default. Borrowing an idea from PureCSS, we improve upon this default by making [hidden] { display: none !important; } to help prevent its display from getting accidentally overridden.

    -
    <input type="text" hidden>
    -
    -
    jQuery incompatibility
    -

    [hidden] is not compatible with jQuery’s $(...).hide() and $(...).show() methods. Therefore, we don’t currently especially endorse [hidden] over other techniques for managing the display of elements. -

    - -

    To merely toggle the visibility of an element, meaning its display is not modified and the element can still affect the flow of the document, use the .invisible class instead.

    -
    -
  • -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/content/tables/index.html b/content/tables/index.html index 4134717..184fe5c 100644 --- a/content/tables/index.html +++ b/content/tables/index.html @@ -1,2089 +1,4398 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Tables · Bootstrap v5.3 -Tables · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
    + + +
    +
    +
    + +

    Tables

    +
    +

    + Documentation and examples for opt-in styling of tables (given their + prevalent use in JavaScript plugins) with Bootstrap. +

    - -
  • - - -
  • -
  • - - -
    -
      -
    • Overview
    • -
    • Team
    • -
    • Brand
    • -
    • License
    • -
    • Translations
    • + +
      +

      + Overview + +

      +

      + Due to the widespread use of <table> elements + across third-party widgets like calendars and date pickers, + Bootstrap’s tables are opt-in. Add the base + class .table to any <table>, then + extend with our optional modifier classes or custom styles. All + table styles are not inherited in Bootstrap, meaning any nested + tables can be styled independent from the parent. +

      +

      + Using the most basic table markup, here’s how + .table-based tables look in Bootstrap. +

      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table">
      +  <thead>
      +    <tr>
      +      <th scope="col">#</th>
      +      <th scope="col">First</th>
      +      <th scope="col">Last</th>
      +      <th scope="col">Handle</th>
      +    </tr>
      +  </thead>
      +  <tbody>
      +    <tr>
      +      <th scope="row">1</th>
      +      <td>Mark</td>
      +      <td>Otto</td>
      +      <td>@mdo</td>
      +    </tr>
      +    <tr>
      +      <th scope="row">2</th>
      +      <td>Jacob</td>
      +      <td>Thornton</td>
      +      <td>@fat</td>
      +    </tr>
      +    <tr>
      +      <th scope="row">3</th>
      +      <td colspan="2">Larry the Bird</td>
      +      <td>@twitter</td>
      +    </tr>
      +  </tbody>
      +</table>
      +
      +

      + Variants + +

      +

      + Use contextual classes to color tables, table rows or individual + cells. +

      +
      + Heads up! Because of the more complicated CSS used + to generate our table variants, they most likely won’t see + color mode adaptive styling until v6. +
      + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      ClassHeadingHeading
      DefaultCellCell
      PrimaryCellCell
      SecondaryCellCell
      SuccessCellCell
      DangerCellCell
      WarningCellCell
      InfoCellCell
      LightCellCell
      DarkCellCell
      +
      +
      +
      <!-- On tables -->
      +<table class="table-primary">...</table>
      +<table class="table-secondary">...</table>
      +<table class="table-success">...</table>
      +<table class="table-danger">...</table>
      +<table class="table-warning">...</table>
      +<table class="table-info">...</table>
      +<table class="table-light">...</table>
      +<table class="table-dark">...</table>
      +
      +<!-- On rows -->
      +<tr class="table-primary">...</tr>
      +<tr class="table-secondary">...</tr>
      +<tr class="table-success">...</tr>
      +<tr class="table-danger">...</tr>
      +<tr class="table-warning">...</tr>
      +<tr class="table-info">...</tr>
      +<tr class="table-light">...</tr>
      +<tr class="table-dark">...</tr>
      +
      +<!-- On cells (`td` or `th`) -->
      +<tr>
      +  <td class="table-primary">...</td>
      +  <td class="table-secondary">...</td>
      +  <td class="table-success">...</td>
      +  <td class="table-danger">...</td>
      +  <td class="table-warning">...</td>
      +  <td class="table-info">...</td>
      +  <td class="table-light">...</td>
      +  <td class="table-dark">...</td>
      +</tr>
      +
      +
      + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
      + +

      + Accented tables + +

      +

      + Striped rows + +

      +

      + Use .table-striped to add zebra-striping to any table + row within the <tbody>. +

      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-striped">
      +  ...
      +</table>
      +
      +

      + Striped columns + +

      +

      + Use .table-striped-columns to add zebra-striping to any + table column. +

      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-striped-columns">
      +  ...
      +</table>
      +
      +

      These classes can also be added to table variants:

      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-dark table-striped">
      +  ...
      +</table>
      +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-dark table-striped-columns">
      +  ...
      +</table>
      +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-success table-striped">
      +  ...
      +</table>
      +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-success table-striped-columns">
      +  ...
      +</table>
      +
      +

      + Hoverable rows + +

      +

      + Add .table-hover to enable a hover state on table rows + within a <tbody>. +

      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-hover">
      +  ...
      +</table>
      +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-dark table-hover">
      +  ...
      +</table>
      +
      +

      + These hoverable rows can also be combined with the striped rows + variant: +

      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-striped table-hover">
      +  ...
      +</table>
      +
      +

      + Active tables + +

      +

      + Highlight a table row or cell by adding a + .table-active class. +

      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table">
      +  <thead>
      +    ...
      +  </thead>
      +  <tbody>
      +    <tr class="table-active">
      +      ...
      +    </tr>
      +    <tr>
      +      ...
      +    </tr>
      +    <tr>
      +      <th scope="row">3</th>
      +      <td colspan="2" class="table-active">Larry the Bird</td>
      +      <td>@twitter</td>
      +    </tr>
      +  </tbody>
      +</table>
      +
      +
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      #FirstLastHandle
      1MarkOtto@mdo
      2JacobThornton@fat
      3Larry the Bird@twitter
      +
      +
      +
      <table class="table table-dark">
      +  <thead>
      +    ...
      +  </thead>
      +  <tbody>
      +    <tr class="table-active">
      +      ...
      +    </tr>
      +    <tr>
      +      ...
      +    </tr>
      +    <tr>
      +      <th scope="row">3</th>
      +      <td colspan="2" class="table-active">Larry the Bird</td>
      +      <td>@twitter</td>
      +    </tr>
      +  </tbody>
      +</table>
      +
      +
      +

      + How do the variants and accented tables work? + +

      +

      + For the accented tables (striped rows, + striped columns, + hoverable rows, and + active tables), we used some techniques + to make these effects work for all our + table variants: +

      +
        +
      • + We start by setting the background of a table cell with the + --bs-table-bg custom property. All table variants + then set that custom property to colorize the table cells. This + way, we don’t get into trouble if semi-transparent colors + are used as table backgrounds. +
      • +
      • + Then we add an inset box shadow on the table cells with + box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); + to layer on top of any specified background-color. + Because we use a huge spread and no blur, the color will be + monotone. Since --bs-table-accent-bg is unset by + default, we don’t have a default box shadow. +
      • +
      • + When either .table-striped, + .table-striped-columns, .table-hover or + .table-active classes are added, the + --bs-table-accent-bg is set to a semitransparent + color to colorize the background. +
      • +
      • + For each table variant, we generate a + --bs-table-accent-bg color with the highest contrast + depending on that color. For example, the accent color for + .table-primary is darker while + .table-dark has a lighter accent color. +
      • +
      • + Text and border colors are generated the same way, and their + colors are inherited by default. +
      -
      - -
    • -
    • - - Migration - -
    • -
    - +

    Behind the scenes it looks like this:

    +
    + +
    +
    @mixin table-variant($state, $background) {
    +  .table-#{$state} {
    +    $color: color-contrast(opaque($body-bg, $background));
    +    $hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
    +    $striped-bg: mix($color, $background, percentage($table-striped-bg-factor));
    +    $active-bg: mix($color, $background, percentage($table-active-bg-factor));
    +    $table-border-color: mix($color, $background, percentage($table-border-factor));
    +
    +    --#{$prefix}table-color: #{$color};
    +    --#{$prefix}table-bg: #{$background};
    +    --#{$prefix}table-border-color: #{$table-border-color};
    +    --#{$prefix}table-striped-bg: #{$striped-bg};
    +    --#{$prefix}table-striped-color: #{color-contrast($striped-bg)};
    +    --#{$prefix}table-active-bg: #{$active-bg};
    +    --#{$prefix}table-active-color: #{color-contrast($active-bg)};
    +    --#{$prefix}table-hover-bg: #{$hover-bg};
    +    --#{$prefix}table-hover-color: #{color-contrast($hover-bg)};
    +
    +    color: var(--#{$prefix}table-color);
    +    border-color: var(--#{$prefix}table-border-color);
    +  }
    +}
    +
    +
    +
    +

    + Table borders + +

    +

    + Bordered tables + +

    +

    + Add .table-bordered for borders on all sides of the + table and cells. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    +
    +
    <table class="table table-bordered">
    +  ...
    +</table>
    +
    +

    + Border color utilities + can be added to change colors: +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    +
    +
    <table class="table table-bordered border-primary">
    +  ...
    +</table>
    +
    +

    + Tables without borders + +

    +

    Add .table-borderless for a table without borders.

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    +
    +
    <table class="table table-borderless">
    +  ...
    +</table>
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    +
    +
    <table class="table table-dark table-borderless">
    +  ...
    +</table>
    +
    +

    + Small tables + +

    +

    + Add .table-sm to make any .table more + compact by cutting all cell padding in half. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    +
    +
    <table class="table table-sm">
    +  ...
    +</table>
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    +
    +
    <table class="table table-dark table-sm">
    +  ...
    +</table>
    +
    +

    + Table group dividers + +

    +

    + Add a thicker border, darker between table + groups—<thead>, <tbody>, and + <tfoot>—with .table-group-divider. + Customize the color by changing the + border-top-color (which we don’t currently + provide a utility class for at this time). +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    +
    + html +
    + + +
    +
    +
    +
    <table class="table">
    +  <thead>
    +    <tr>
    +      <th scope="col">#</th>
    +      <th scope="col">First</th>
    +      <th scope="col">Last</th>
    +      <th scope="col">Handle</th>
    +    </tr>
    +  </thead>
    +  <tbody class="table-group-divider">
    +    <tr>
    +      <th scope="row">1</th>
    +      <td>Mark</td>
    +      <td>Otto</td>
    +      <td>@mdo</td>
    +    </tr>
    +    <tr>
    +      <th scope="row">2</th>
    +      <td>Jacob</td>
    +      <td>Thornton</td>
    +      <td>@fat</td>
    +    </tr>
    +    <tr>
    +      <th scope="row">3</th>
    +      <td colspan="2">Larry the Bird</td>
    +      <td>@twitter</td>
    +    </tr>
    +  </tbody>
    +</table>
    +
    +
    - +

    + Vertical alignment + +

    +

    + Table cells of <thead> are always vertical + aligned to the bottom. Table cells in + <tbody> inherit their alignment from + <table> and are aligned to the top by default. + Use the + vertical align + classes to re-align where needed. +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Heading 1Heading 2Heading 3Heading 4
    + This cell inherits + vertical-align: middle; from the table + + This cell inherits + vertical-align: middle; from the table + + This cell inherits + vertical-align: middle; from the table + + This here is some placeholder text, intended to take up + quite a bit of vertical space, to demonstrate how the + vertical alignment works in the preceding cells. +
    + This cell inherits + vertical-align: bottom; from the table row + + This cell inherits + vertical-align: bottom; from the table row + + This cell inherits + vertical-align: bottom; from the table row + + This here is some placeholder text, intended to take up + quite a bit of vertical space, to demonstrate how the + vertical alignment works in the preceding cells. +
    + This cell inherits + vertical-align: middle; from the table + + This cell inherits + vertical-align: middle; from the table + This cell is aligned to the top. + This here is some placeholder text, intended to take up + quite a bit of vertical space, to demonstrate how the + vertical alignment works in the preceding cells. +
    +
    +
    +
    +
    <div class="table-responsive">
    +  <table class="table align-middle">
    +    <thead>
    +      <tr>
    +        ...
    +      </tr>
    +    </thead>
    +    <tbody>
    +      <tr>
    +        ...
    +      </tr>
    +      <tr class="align-bottom">
    +        ...
    +      </tr>
    +      <tr>
    +        <td>...</td>
    +        <td>...</td>
    +        <td class="align-top">This cell is aligned to the top.</td>
    +        <td>...</td>
    +      </tr>
    +    </tbody>
    +  </table>
    +</div>
    +
    +
    +

    + Nesting + +

    +

    + Border styles, active styles, and table variants are not inherited + by nested tables. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    HeaderHeaderHeader
    AFirstLast
    BFirstLast
    CFirstLast
    +
    3Larrythe Bird@twitter
    +
    +
    +
    <table class="table table-striped">
    +  <thead>
    +    ...
    +  </thead>
    +  <tbody>
    +    ...
    +    <tr>
    +      <td colspan="4">
    +        <table class="table mb-0">
    +          ...
    +        </table>
    +      </td>
    +    </tr>
    +    ...
    +  </tbody>
    +</table>
    +
    +
    +

    + How nesting works + +

    +

    + To prevent any styles from leaking to nested tables, we use + the child combinator (>) selector in our CSS. Since + we need to target all the tds and ths in + the thead, tbody, and tfoot, + our selector would look pretty long without it. As such, we use the + rather odd looking + .table > :not(caption) > * > * selector to + target all tds and ths of the + .table, but none of any potential nested tables. +

    +

    + Note that if you add <tr>s as direct children of + a table, those <tr> will be wrapped in a + <tbody> by default, thus making our selectors + work as intended. +

    +

    + Anatomy + +

    +

    + Table head + +

    +

    + Similar to tables and dark tables, use the modifier classes + .table-light or .table-dark to make + <thead>s appear light or dark gray. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    +
    +
    +
    <table class="table">
    +  <thead class="table-light">
    +    ...
    +  </thead>
    +  <tbody>
    +    ...
    +  </tbody>
    +</table>
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    +
    +
    +
    <table class="table">
    +  <thead class="table-dark">
    +    ...
    +  </thead>
    +  <tbody>
    +    ...
    +  </tbody>
    +</table>
    +
    +
    +

    + Table foot + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    FooterFooterFooterFooter
    +
    +
    +
    <table class="table">
    +  <thead>
    +    ...
    +  </thead>
    +  <tbody>
    +    ...
    +  </tbody>
    +  <tfoot>
    +    ...
    +  </tfoot>
    +</table>
    +
    +
    +

    + Captions + +

    +

    + A <caption> functions like a heading for a table. + It helps users with screen readers to find a table and understand + what it’s about and decide if they want to read it. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + List of users +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    +
    +
    +
    <table class="table table-sm">
    +  <caption>List of users</caption>
    +  <thead>
    +    ...
    +  </thead>
    +  <tbody>
    +    ...
    +  </tbody>
    +</table>
    +
    +
    +

    + You can also put the <caption> on the top of the + table with .caption-top. +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + List of users +
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    +
    +
    + html +
    + + +
    +
    +
    +
    <table class="table caption-top">
    +  <caption>List of users</caption>
    +  <thead>
    +    <tr>
    +      <th scope="col">#</th>
    +      <th scope="col">First</th>
    +      <th scope="col">Last</th>
    +      <th scope="col">Handle</th>
    +    </tr>
    +  </thead>
    +  <tbody>
    +    <tr>
    +      <th scope="row">1</th>
    +      <td>Mark</td>
    +      <td>Otto</td>
    +      <td>@mdo</td>
    +    </tr>
    +    <tr>
    +      <th scope="row">2</th>
    +      <td>Jacob</td>
    +      <td>Thornton</td>
    +      <td>@fat</td>
    +    </tr>
    +    <tr>
    +      <th scope="row">3</th>
    +      <td>Larry</td>
    +      <td>the Bird</td>
    +      <td>@twitter</td>
    +    </tr>
    +  </tbody>
    +</table>
    +
    +
    -
    -
    -
    - View on GitHub -

    Tables

    -
    -

    Documentation and examples for opt-in styling of tables (given their prevalent use in JavaScript plugins) with Bootstrap.

    - +

    + Responsive tables + +

    +

    + Responsive tables allow tables to be scrolled horizontally with + ease. Make any table responsive across all viewports by wrapping a + .table with .table-responsive. Or, pick a + maximum breakpoint with which to have a responsive table up to by + using .table-responsive{-sm|-md|-lg|-xl|-xxl}. +

    +
    +
    + Vertical clipping/truncation + +
    +

    + Responsive tables make use of overflow-y: hidden, + which clips off any content that goes beyond the bottom or top + edges of the table. In particular, this can clip off dropdown + menus and other third-party widgets. +

    +
    -
    +

    + Always responsive + +

    +

    + Across every breakpoint, use .table-responsive for + horizontally scrolling tables. +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCellCell
    +
    +
    +
    +
    <div class="table-responsive">
    +  <table class="table">
    +    ...
    +  </table>
    +</div>
    +
    +
    +

    + Breakpoint specific + +

    +

    + Use .table-responsive{-sm|-md|-lg|-xl|-xxl} as needed + to create responsive tables up to a particular breakpoint. From that + breakpoint and up, the table will behave normally and not scroll + horizontally. +

    +

    + These tables may appear broken until their responsive styles + apply at specific viewport widths. +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    +
    +
    - +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    +
    +
    -
    - - -

    Overview

    -

    Due to the widespread use of <table> elements across third-party widgets like calendars and date pickers, Bootstrap’s tables are opt-in. Add the base class .table to any <table>, then extend with our optional modifier classes or custom styles. All table styles are not inherited in Bootstrap, meaning any nested tables can be styled independent from the parent.

    -

    Using the most basic table markup, here’s how .table-based tables look in Bootstrap.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table">
    -  <thead>
    -    <tr>
    -      <th scope="col">#</th>
    -      <th scope="col">First</th>
    -      <th scope="col">Last</th>
    -      <th scope="col">Handle</th>
    -    </tr>
    -  </thead>
    -  <tbody>
    -    <tr>
    -      <th scope="row">1</th>
    -      <td>Mark</td>
    -      <td>Otto</td>
    -      <td>@mdo</td>
    -    </tr>
    -    <tr>
    -      <th scope="row">2</th>
    -      <td>Jacob</td>
    -      <td>Thornton</td>
    -      <td>@fat</td>
    -    </tr>
    -    <tr>
    -      <th scope="row">3</th>
    -      <td colspan="2">Larry the Bird</td>
    -      <td>@twitter</td>
    -    </tr>
    -  </tbody>
    -</table>
    -

    Variants

    -

    Use contextual classes to color tables, table rows or individual cells.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ClassHeadingHeading
    DefaultCellCell
    PrimaryCellCell
    SecondaryCellCell
    SuccessCellCell
    DangerCellCell
    WarningCellCell
    InfoCellCell
    LightCellCell
    DarkCellCell
    -
    -
    <!-- On tables -->
    -<table class="table-primary">...</table>
    -<table class="table-secondary">...</table>
    -<table class="table-success">...</table>
    -<table class="table-danger">...</table>
    -<table class="table-warning">...</table>
    -<table class="table-info">...</table>
    -<table class="table-light">...</table>
    -<table class="table-dark">...</table>
    -
    -<!-- On rows -->
    -<tr class="table-primary">...</tr>
    -<tr class="table-secondary">...</tr>
    -<tr class="table-success">...</tr>
    -<tr class="table-danger">...</tr>
    -<tr class="table-warning">...</tr>
    -<tr class="table-info">...</tr>
    -<tr class="table-light">...</tr>
    -<tr class="table-dark">...</tr>
    -
    -<!-- On cells (`td` or `th`) -->
    -<tr>
    -  <td class="table-primary">...</td>
    -  <td class="table-secondary">...</td>
    -  <td class="table-success">...</td>
    -  <td class="table-danger">...</td>
    -  <td class="table-warning">...</td>
    -  <td class="table-info">...</td>
    -  <td class="table-light">...</td>
    -  <td class="table-dark">...</td>
    -</tr>
    -
    -
    Conveying meaning to assistive technologies
    -

    Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .visually-hidden class. -

    - -

    Accented tables

    -

    Striped rows

    -

    Use .table-striped to add zebra-striping to any table row within the <tbody>.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-striped">
    -  ...
    -</table>
    -

    These classes can also be added to table variants:

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-dark table-striped">
    -  ...
    -</table>
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-success table-striped">
    -  ...
    -</table>
    -

    Hoverable rows

    -

    Add .table-hover to enable a hover state on table rows within a <tbody>.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-hover">
    -  ...
    -</table>
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-dark table-hover">
    -  ...
    -</table>
    -

    These hoverable rows can also be combined with the striped variant:

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-striped table-hover">
    -  ...
    -</table>
    -

    Active tables

    -

    Highlight a table row or cell by adding a .table-active class.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    -
    <table class="table">
    -  <thead>
    -    ...
    -  </thead>
    -  <tbody>
    -    <tr class="table-active">
    -      ...
    -    </tr>
    -    <tr>
    -      ...
    -    </tr>
    -    <tr>
    -      <th scope="row">3</th>
    -      <td colspan="2" class="table-active">Larry the Bird</td>
    -      <td>@twitter</td>
    -    </tr>
    -  </tbody>
    -</table>
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    -
    <table class="table table-dark">
    -  <thead>
    -    ...
    -  </thead>
    -  <tbody>
    -    <tr class="table-active">
    -      ...
    -    </tr>
    -    <tr>
    -      ...
    -    </tr>
    -    <tr>
    -      <th scope="row">3</th>
    -      <td colspan="2" class="table-active">Larry the Bird</td>
    -      <td>@twitter</td>
    -    </tr>
    -  </tbody>
    -</table>
    -

    How do the variants and accented tables work?

    -

    For the accented tables (striped rows, hoverable rows, and active tables), we used some techniques to make these effects work for all our table variants:

    -
      -
    • We start by setting the background of a table cell with the --bs-table-bg custom property. All table variants then set that custom property to colorize the table cells. This way, we don’t get into trouble if semi-transparent colors are used as table backgrounds.
    • -
    • Then we add an inset box shadow on the table cells with box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); to layer on top of any specified background-color. Because we use a huge spread and no blur, the color will be monotone. Since --bs-table-accent-bg is unset by default, we don’t have a default box shadow.
    • -
    • When either .table-striped, .table-hover or .table-active classes are added, the --bs-table-accent-bg is set to a semitransparent color to colorize the background.
    • -
    • For each table variant, we generate a --bs-table-accent-bg color with the highest contrast depending on that color. For example, the accent color for .table-primary is darker while .table-dark has a lighter accent color.
    • -
    • Text and border colors are generated the same way, and their colors are inherited by default.
    • -
    -

    Behind the scenes it looks like this:

    -
    @mixin table-variant($state, $background) {
    -  .table-#{$state} {
    -    $color: color-contrast(opaque($body-bg, $background));
    -    $hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
    -    $striped-bg: mix($color, $background, percentage($table-striped-bg-factor));
    -    $active-bg: mix($color, $background, percentage($table-active-bg-factor));
    -
    -    --#{$variable-prefix}table-bg: #{$background};
    -    --#{$variable-prefix}table-striped-bg: #{$striped-bg};
    -    --#{$variable-prefix}table-striped-color: #{color-contrast($striped-bg)};
    -    --#{$variable-prefix}table-active-bg: #{$active-bg};
    -    --#{$variable-prefix}table-active-color: #{color-contrast($active-bg)};
    -    --#{$variable-prefix}table-hover-bg: #{$hover-bg};
    -    --#{$variable-prefix}table-hover-color: #{color-contrast($hover-bg)};
    -
    -    color: $color;
    -    border-color: mix($color, $background, percentage($table-border-factor));
    -  }
    -}
    -
    -

    Table borders

    -

    Bordered tables

    -

    Add .table-bordered for borders on all sides of the table and cells.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-bordered">
    -  ...
    -</table>
    -

    Border color utilities can be added to change colors:

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-bordered border-primary">
    -  ...
    -</table>
    -

    Tables without borders

    -

    Add .table-borderless for a table without borders.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-borderless">
    -  ...
    -</table>
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-dark table-borderless">
    -  ...
    -</table>
    -

    Small tables

    -

    Add .table-sm to make any .table more compact by cutting all cell padding in half.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-sm">
    -  ...
    -</table>
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    <table class="table table-dark table-sm">
    -  ...
    -</table>
    -

    Vertical alignment

    -

    Table cells of <thead> are always vertical aligned to the bottom. Table cells in <tbody> inherit their alignment from <table> and are aligned to the the top by default. Use the vertical align classes to re-align where needed.

    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Heading 1Heading 2Heading 3Heading 4
    This cell inherits vertical-align: middle; from the tableThis cell inherits vertical-align: middle; from the tableThis cell inherits vertical-align: middle; from the tableThis here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells.
    This cell inherits vertical-align: bottom; from the table rowThis cell inherits vertical-align: bottom; from the table rowThis cell inherits vertical-align: bottom; from the table rowThis here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells.
    This cell inherits vertical-align: middle; from the tableThis cell inherits vertical-align: middle; from the tableThis cell is aligned to the top.This here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells.
    -
    -
    -
    <div class="table-responsive">
    -  <table class="table align-middle">
    -    <thead>
    -      <tr>
    -        ...
    -      </tr>
    -    </thead>
    -    <tbody>
    -      <tr>
    -        ...
    -      </tr>
    -      <tr class="align-bottom">
    -        ...
    -      </tr>
    -      <tr>
    -        <td>...</td>
    -        <td>...</td>
    -        <td class="align-top">This cell is aligned to the top.</td>
    -        <td>...</td>
    -      </tr>
    -    </tbody>
    -  </table>
    -</div>
    -

    Nesting

    -

    Border styles, active styles, and table variants are not inherited by nested tables.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    HeaderHeaderHeader
    AFirstLast
    BFirstLast
    CFirstLast
    -
    3Larrythe Bird@twitter
    -
    -
    <table class="table table-striped">
    -  <thead>
    -    ...
    -  </thead>
    -  <tbody>
    -    ...
    -    <tr>
    -      <td colspan="4">
    -        <table class="table mb-0">
    -          ...
    -        </table>
    -      </td>
    -    </tr>
    -    ...
    -  </tbody>
    -</table>
    -

    How nesting works

    -

    To prevent any styles from leaking to nested tables, we use the child combinator (>) selector in our CSS. Since we need to target all the tds and ths in the thead, tbody, and tfoot, our selector would look pretty long without it. As such, we use the rather odd looking .table > :not(caption) > * > * selector to target all tds and ths of the .table, but none of any potential nested tables.

    -

    Note that if you add <tr>s as direct children of a table, those <tr> will be wrapped in a <tbody> by default, thus making our selectors work as intended.

    -

    Anatomy

    -

    Table head

    -

    Similar to tables and dark tables, use the modifier classes .table-light or .table-dark to make <thead>s appear light or dark gray.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    -
    -
    <table class="table">
    -  <thead class="table-light">
    -    ...
    -  </thead>
    -  <tbody>
    -    ...
    -  </tbody>
    -</table>
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    -
    -
    <table class="table">
    -  <thead class="table-dark">
    -    ...
    -  </thead>
    -  <tbody>
    -    ...
    -  </tbody>
    -</table>
    -

    Table foot

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    FooterFooterFooterFooter
    -
    -
    <table class="table">
    -  <thead>
    -    ...
    -  </thead>
    -  <tbody>
    -    ...
    -  </tbody>
    -  <tfoot>
    -    ...
    -  </tfoot>
    -</table>
    -

    Captions

    -

    A <caption> functions like a heading for a table. It helps users with screen readers to find a table and understand what it’s about and decide if they want to read it.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    List of users
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larry the Bird@twitter
    -
    -
    <table class="table table-sm">
    -  <caption>List of users</caption>
    -  <thead>
    -    ...
    -  </thead>
    -  <tbody>
    -    ...
    -  </tbody>
    -</table>
    -

    You can also put the <caption> on the top of the table with .caption-top.

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    List of users
    #FirstLastHandle
    1MarkOtto@mdo
    2JacobThornton@fat
    3Larrythe Bird@twitter
    -
    <table class="table caption-top">
    -  <caption>List of users</caption>
    -  <thead>
    -    <tr>
    -      <th scope="col">#</th>
    -      <th scope="col">First</th>
    -      <th scope="col">Last</th>
    -      <th scope="col">Handle</th>
    -    </tr>
    -  </thead>
    -  <tbody>
    -    <tr>
    -      <th scope="row">1</th>
    -      <td>Mark</td>
    -      <td>Otto</td>
    -      <td>@mdo</td>
    -    </tr>
    -    <tr>
    -      <th scope="row">2</th>
    -      <td>Jacob</td>
    -      <td>Thornton</td>
    -      <td>@fat</td>
    -    </tr>
    -    <tr>
    -      <th scope="row">3</th>
    -      <td>Larry</td>
    -      <td>the Bird</td>
    -      <td>@twitter</td>
    -    </tr>
    -  </tbody>
    -</table>
    -

    Responsive tables

    -

    Responsive tables allow tables to be scrolled horizontally with ease. Make any table responsive across all viewports by wrapping a .table with .table-responsive. Or, pick a maximum breakpoint with which to have a responsive table up to by using .table-responsive{-sm|-md|-lg|-xl|-xxl}.

    -
    -
    Vertical clipping/truncation
    -

    Responsive tables make use of overflow-y: hidden, which clips off any content that goes beyond the bottom or top edges of the table. In particular, this can clip off dropdown menus and other third-party widgets. -

    - -

    Always responsive

    -

    Across every breakpoint, use .table-responsive for horizontally scrolling tables.

    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCellCell
    -
    -
    -
    <div class="table-responsive">
    -  <table class="table">
    -    ...
    -  </table>
    -</div>
    -

    Breakpoint specific

    -

    Use .table-responsive{-sm|-md|-lg|-xl|-xxl} as needed to create responsive tables up to a particular breakpoint. From that breakpoint and up, the table will behave normally and not scroll horizontally.

    -

    These tables may appear broken until their responsive styles apply at specific viewport widths.

    - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    -
    -
    - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    -
    -
    - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    -
    -
    - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    -
    -
    - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    -
    -
    - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    -
    -
    - -
    <div class="table-responsive">
    -  <table class="table">
    -    ...
    -  </table>
    -</div>
    -
    -<div class="table-responsive-sm">
    -  <table class="table">
    -    ...
    -  </table>
    -</div>
    -
    -<div class="table-responsive-md">
    -  <table class="table">
    -    ...
    -  </table>
    -</div>
    -
    -<div class="table-responsive-lg">
    -  <table class="table">
    -    ...
    -  </table>
    -</div>
    -
    -<div class="table-responsive-xl">
    -  <table class="table">
    -    ...
    -  </table>
    -</div>
    -
    -<div class="table-responsive-xxl">
    -  <table class="table">
    -    ...
    -  </table>
    -</div>
    -

    Sass

    -

    Variables

    -
    $table-cell-padding-y:        .5rem;
    -$table-cell-padding-x:        .5rem;
    -$table-cell-padding-y-sm:     .25rem;
    -$table-cell-padding-x-sm:     .25rem;
    -
    -$table-cell-vertical-align:   top;
    -
    -$table-color:                 $body-color;
    -$table-bg:                    transparent;
    -$table-accent-bg:             transparent;
    -
    -$table-th-font-weight:        null;
    -
    -$table-striped-color:         $table-color;
    -$table-striped-bg-factor:     .05;
    -$table-striped-bg:            rgba($black, $table-striped-bg-factor);
    -
    -$table-active-color:          $table-color;
    -$table-active-bg-factor:      .1;
    -$table-active-bg:             rgba($black, $table-active-bg-factor);
    -
    -$table-hover-color:           $table-color;
    -$table-hover-bg-factor:       .075;
    -$table-hover-bg:              rgba($black, $table-hover-bg-factor);
    -
    -$table-border-factor:         .1;
    -$table-border-width:          $border-width;
    -$table-border-color:          $border-color;
    -
    -$table-striped-order:         odd;
    -
    -$table-group-separator-color: currentColor;
    -
    -$table-caption-color:         $text-muted;
    -
    -$table-bg-scale:              -80%;
    -
    -

    Loop

    -
    $table-variants: (
    -  "primary":    shift-color($primary, $table-bg-scale),
    -  "secondary":  shift-color($secondary, $table-bg-scale),
    -  "success":    shift-color($success, $table-bg-scale),
    -  "info":       shift-color($info, $table-bg-scale),
    -  "warning":    shift-color($warning, $table-bg-scale),
    -  "danger":     shift-color($danger, $table-bg-scale),
    -  "light":      $light,
    -  "dark":       $dark,
    -);
    -
    -

    Customizing

    -
      -
    • The factor variables ($table-striped-bg-factor, $table-active-bg-factor & $table-hover-bg-factor) are used to determine the contrast in table variants.
    • -
    • Apart from the light & dark table variants, theme colors are lightened by the $table-bg-level variable.
    • -
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    +
    +
    -
    -
    -
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    #HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
    1CellCellCellCellCellCellCellCell
    2CellCellCellCellCellCellCellCell
    3CellCellCellCellCellCellCellCell
    +
    +
    -
    -
    -
    -
    - - Bootstrap - Bootstrap - - -
    -
    -
    Links
    - -
    - -
    -
    Projects
    - -
    - +
    +
    <div class="table-responsive">
    +  <table class="table">
    +    ...
    +  </table>
    +</div>
    +
    +<div class="table-responsive-sm">
    +  <table class="table">
    +    ...
    +  </table>
    +</div>
    +
    +<div class="table-responsive-md">
    +  <table class="table">
    +    ...
    +  </table>
    +</div>
    +
    +<div class="table-responsive-lg">
    +  <table class="table">
    +    ...
    +  </table>
    +</div>
    +
    +<div class="table-responsive-xl">
    +  <table class="table">
    +    ...
    +  </table>
    +</div>
    +
    +<div class="table-responsive-xxl">
    +  <table class="table">
    +    ...
    +  </table>
    +</div>
    +
    +

    + CSS + +

    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $table-cell-padding-y:        .5rem;
    +$table-cell-padding-x:        .5rem;
    +$table-cell-padding-y-sm:     .25rem;
    +$table-cell-padding-x-sm:     .25rem;
    +
    +$table-cell-vertical-align:   top;
    +
    +$table-color:                 var(--#{$prefix}body-color);
    +$table-bg:                    transparent;
    +$table-accent-bg:             transparent;
    +
    +$table-th-font-weight:        null;
    +
    +$table-striped-color:         $table-color;
    +$table-striped-bg-factor:     .05;
    +$table-striped-bg:            rgba($black, $table-striped-bg-factor);
    +
    +$table-active-color:          $table-color;
    +$table-active-bg-factor:      .1;
    +$table-active-bg:             rgba($black, $table-active-bg-factor);
    +
    +$table-hover-color:           $table-color;
    +$table-hover-bg-factor:       .075;
    +$table-hover-bg:              rgba($black, $table-hover-bg-factor);
    +
    +$table-border-factor:         .1;
    +$table-border-width:          var(--#{$prefix}border-width);
    +$table-border-color:          var(--#{$prefix}border-color);
    +
    +$table-striped-order:         odd;
    +$table-striped-columns-order: even;
    +
    +$table-group-separator-color: currentcolor;
    +
    +$table-caption-color:         var(--#{$prefix}secondary-color);
    +
    +$table-bg-scale:              -80%;
    +
    +
    +
    +

    + Sass loop + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $table-variants: (
    +  "primary":    shift-color($primary, $table-bg-scale),
    +  "secondary":  shift-color($secondary, $table-bg-scale),
    +  "success":    shift-color($success, $table-bg-scale),
    +  "info":       shift-color($info, $table-bg-scale),
    +  "warning":    shift-color($warning, $table-bg-scale),
    +  "danger":     shift-color($danger, $table-bg-scale),
    +  "light":      $light,
    +  "dark":       $dark,
    +);
    +
    +
    +
    +

    + Customizing + +

    +
      +
    • + The factor variables ($table-striped-bg-factor, + $table-active-bg-factor & + $table-hover-bg-factor) are used to determine the + contrast in table variants. +
    • +
    • + Apart from the light & dark table variants, theme colors are + lightened by the $table-bg-scale variable. +
    • +
    +
    +
  • - - - + + - + + - + + + + + + diff --git a/content/typography/index.html b/content/typography/index.html index 0d9f337..dd55aef 100644 --- a/content/typography/index.html +++ b/content/typography/index.html @@ -1,864 +1,3158 @@ - - - - - - - - - - - - - - - -Typography · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Typography · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Typography

    +
    +

    + Documentation and examples for Bootstrap typography, including + global settings, headings, body text, lists, and more. +

    - -
  • - - -
  • -
  • - - -
    -
      -
    • API
    • -
    • Background
    • -
    • Borders
    • -
    • Colors
    • -
    • Display
    • -
    • Flex
    • -
    • Float
    • -
    • Interactions
    • -
    • Opacity
    • -
    • Overflow
    • -
    • Position
    • -
    • Shadows
    • -
    • Sizing
    • -
    • Spacing
    • -
    • Text
    • -
    • Vertical align
    • -
    • Visibility
    • + +
      +

      + Global settings + +

      +

      + Bootstrap sets basic global display, typography, and link styles. + When more control is needed, check out the + textual utility classes. +

      +
        +
      • + Use a + native font stack + that selects the best font-family for each OS and + device. +
      • +
      • + For a more inclusive and accessible type scale, we use the + browser’s default root font-size (typically + 16px) so visitors can customize their browser defaults as needed. +
      • +
      • + Use the $font-family-base, + $font-size-base, and + $line-height-base attributes as our typographic base + applied to the <body>. +
      • +
      • Set the global link color via $link-color.
      • +
      • + Use $body-bg to set a + background-color on the + <body> (#fff by default). +
      -
      - -
    • - - -
      -
        -
      • Approach
      • -
      • Icons
      • +

        + These styles can be found within _reboot.scss, and the + global variables are defined in _variables.scss. Make + sure to set $font-size-base in rem. +

        +

        + Headings + +

        +

        + All HTML headings, <h1> through + <h6>, are available. +

        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        HeadingExample
        <h1></h1>h1. Bootstrap heading
        <h2></h2>h2. Bootstrap heading
        <h3></h3>h3. Bootstrap heading
        <h4></h4>h4. Bootstrap heading
        <h5></h5>h5. Bootstrap heading
        <h6></h6>h6. Bootstrap heading
        +
        + +
        +
        <h1>h1. Bootstrap heading</h1>
        +<h2>h2. Bootstrap heading</h2>
        +<h3>h3. Bootstrap heading</h3>
        +<h4>h4. Bootstrap heading</h4>
        +<h5>h5. Bootstrap heading</h5>
        +<h6>h6. Bootstrap heading</h6>
        +
        +
        +

        + .h1 through .h6 classes are also + available, for when you want to match the font styling of a heading + but cannot use the associated HTML element. +

        +
        +
        +

        h1. Bootstrap heading

        +

        h2. Bootstrap heading

        +

        h3. Bootstrap heading

        +

        h4. Bootstrap heading

        +

        h5. Bootstrap heading

        +

        h6. Bootstrap heading

        +
        +
        + html +
        + + +
        +
        +
        +
        <p class="h1">h1. Bootstrap heading</p>
        +<p class="h2">h2. Bootstrap heading</p>
        +<p class="h3">h3. Bootstrap heading</p>
        +<p class="h4">h4. Bootstrap heading</p>
        +<p class="h5">h5. Bootstrap heading</p>
        +<p class="h6">h6. Bootstrap heading</p>
        +
        +
        + +

        + Customizing headings + +

        +

        + Use the included utility classes to recreate the small secondary + heading text from Bootstrap 3. +

        +
        +
        +

        + Fancy display heading + With faded secondary text +

        +
        +
        + html +
        + + +
        +
        +
        +
        <h3>
        +  Fancy display heading
        +  <small class="text-body-secondary">With faded secondary text</small>
        +</h3>
        +
        +
        + +

        + Display headings + +

        +

        + Traditional heading elements are designed to work best in the meat + of your page content. When you need a heading to stand out, consider + using a display heading—a larger, slightly more + opinionated heading style. +

        +
        +
        Display 1
        +
        Display 2
        +
        Display 3
        +
        Display 4
        +
        Display 5
        +
        Display 6
        +
        +
        +
        <h1 class="display-1">Display 1</h1>
        +<h1 class="display-2">Display 2</h1>
        +<h1 class="display-3">Display 3</h1>
        +<h1 class="display-4">Display 4</h1>
        +<h1 class="display-5">Display 5</h1>
        +<h1 class="display-6">Display 6</h1>
        +
        +
        +

        + Display headings are configured via the + $display-font-sizes Sass map and two variables, + $display-font-weight and + $display-line-height. +

        +

        + Display headings are customizable via two variables, + $display-font-family and + $display-font-style. +

        +
        +
        + scss/_variables.scss +
        + +
        +
        +
        +
        $display-font-sizes: (
        +  1: 5rem,
        +  2: 4.5rem,
        +  3: 4rem,
        +  4: 3.5rem,
        +  5: 3rem,
        +  6: 2.5rem
        +);
        +
        +$display-font-family: null;
        +$display-font-style:  null;
        +$display-font-weight: 300;
        +$display-line-height: $headings-line-height;
        +
        +
        +
        +

        + Lead + +

        +

        Make a paragraph stand out by adding .lead.

        +
        +
        +

        + This is a lead paragraph. It stands out from regular paragraphs. +

        +
        +
        + html +
        + + +
        +
        +
        +
        <p class="lead">
        +  This is a lead paragraph. It stands out from regular paragraphs.
        +</p>
        +
        +
        + +

        + Inline text elements + +

        +

        Styling for common inline HTML5 elements.

        +
        +
        +

        You can use the mark tag to highlight text.

        +

        + This line of text is meant to be treated as deleted + text. +

        +

        + This line of text is meant to be treated as no longer + accurate. +

        +

        + This line of text is meant to be treated as an addition to + the document. +

        +

        This line of text will render as underlined.

        +

        + This line of text is meant to be treated as fine + print. +

        +

        This line rendered as bold text.

        +

        This line rendered as italicized text.

        +
        +
        + html +
        + + +
        +
        +
        +
        <p>You can use the mark tag to <mark>highlight</mark> text.</p>
        +<p><del>This line of text is meant to be treated as deleted text.</del></p>
        +<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
        +<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
        +<p><u>This line of text will render as underlined.</u></p>
        +<p><small>This line of text is meant to be treated as fine print.</small></p>
        +<p><strong>This line rendered as bold text.</strong></p>
        +<p><em>This line rendered as italicized text.</em></p>
        +
        +
        + +

        Beware that those tags should be used for semantic purpose:

        +
          +
        • + <mark> represents text which is marked or + highlighted for reference or notation purposes. +
        • +
        • + <small> represents side-comments and small + print, like copyright and legal text. +
        • +
        • + <s> represents element that are no longer + relevant or no longer accurate. +
        • +
        • + <u> represents a span of inline text which + should be rendered in a way that indicates that it has a + non-textual annotation. +
        -
      -
    • -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        + If you want to style your text, you should use the following classes + instead: +

        +
          +
        • + .mark will apply the same styles as + <mark>. +
        • +
        • + .small will apply the same styles as + <small>. +
        • +
        • + .text-decoration-underline will apply the same styles + as <u>. +
        • +
        • + .text-decoration-line-through will apply the same + styles as <s>. +
        +

        + While not shown above, feel free to use <b> and + <i> in HTML5. <b> is meant to + highlight words or phrases without conveying additional importance, + while <i> is mostly for voice, technical terms, + etc. +

        +

        + Text utilities + +

        +

        + Change text alignment, transform, style, weight, line-height, + decoration and color with our + text utilities and + color utilities. +

        +

        + Abbreviations + +

        +

        + Stylized implementation of HTML’s + <abbr> element for abbreviations and acronyms to + show the expanded version on hover. Abbreviations have a default + underline and gain a help cursor to provide additional context on + hover and to users of assistive technologies. +

        +

        + Add .initialism to an abbreviation for a slightly + smaller font-size. +

        +
        +
        +

        attr

        +

        + HTML +

        +
        +
        + html +
        + + +
        +
        +
        +
        <p><abbr title="attribute">attr</abbr></p>
        +<p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr></p>
        +
        +
        + +

        + Blockquotes + +

        +

        + For quoting blocks of content from another source within your + document. Wrap + <blockquote class="blockquote"> around + any HTML as the quote. +

        +
        +
        +
        +

        A well-known quote, contained in a blockquote element.

        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <blockquote class="blockquote">
        +  <p>A well-known quote, contained in a blockquote element.</p>
        +</blockquote>
        +
        +
        + +

        + Naming a source + +

        +

        + The HTML spec requires that blockquote attribution be placed outside + the <blockquote>. When providing attribution, + wrap your <blockquote> in a + <figure> and use a + <figcaption> or a block level element (e.g., + <p>) with the + .blockquote-footer class. Be sure to wrap the name of + the source work in <cite> as well. +

        +
        +
        +
        +
        +

        A well-known quote, contained in a blockquote element.

        +
        + +
        +
        +
        + html +
        + + +
        +
        +
        +
        <figure>
        +  <blockquote class="blockquote">
        +    <p>A well-known quote, contained in a blockquote element.</p>
        +  </blockquote>
        +  <figcaption class="blockquote-footer">
        +    Someone famous in <cite title="Source Title">Source Title</cite>
        +  </figcaption>
        +</figure>
        +
        +
        + +

        + Alignment + +

        +

        + Use text utilities as needed to change the alignment of your + blockquote. +

        +
        +
        +
        +
        +

        A well-known quote, contained in a blockquote element.

        +
        + +
        +
        +
        + html +
        + + +
        +
        +
        +
        <figure class="text-center">
        +  <blockquote class="blockquote">
        +    <p>A well-known quote, contained in a blockquote element.</p>
        +  </blockquote>
        +  <figcaption class="blockquote-footer">
        +    Someone famous in <cite title="Source Title">Source Title</cite>
        +  </figcaption>
        +</figure>
        +
        +
        + +
        +
        +
        +
        +

        A well-known quote, contained in a blockquote element.

        +
        + +
        +
        +
        + html +
        + + +
        +
        +
        +
        <figure class="text-end">
        +  <blockquote class="blockquote">
        +    <p>A well-known quote, contained in a blockquote element.</p>
        +  </blockquote>
        +  <figcaption class="blockquote-footer">
        +    Someone famous in <cite title="Source Title">Source Title</cite>
        +  </figcaption>
        +</figure>
        +
        +
        + +

        + Lists + +

        +

        + Unstyled + +

        +

        + Remove the default list-style and left margin on list + items (immediate children only). + This only applies to immediate children list items, + meaning you will need to add the class for any nested lists as well. +

        +
        +
        +
          +
        • This is a list.
        • +
        • It appears completely unstyled.
        • +
        • Structurally, it's still a list.
        • +
        • + However, this style only applies to immediate child elements. +
        • +
        • + Nested lists: +
            +
          • are unaffected by this style
          • +
          • will still show a bullet
          • +
          • and have appropriate left margin
          • +
          +
        • +
        • This may still come in handy in some situations.
        • +
        +
        +
        + html +
        + + +
        +
        +
        +
        <ul class="list-unstyled">
        +  <li>This is a list.</li>
        +  <li>It appears completely unstyled.</li>
        +  <li>Structurally, it's still a list.</li>
        +  <li>However, this style only applies to immediate child elements.</li>
        +  <li>Nested lists:
        +    <ul>
        +      <li>are unaffected by this style</li>
        +      <li>will still show a bullet</li>
        +      <li>and have appropriate left margin</li>
        +    </ul>
        +  </li>
        +  <li>This may still come in handy in some situations.</li>
        +</ul>
        +
        +
        + +

        + Inline + +

        +

        + Remove a list’s bullets and apply some light + margin with a combination of two classes, + .list-inline and .list-inline-item. +

        +
        +
        +
          +
        • This is a list item.
        • +
        • And another one.
        • +
        • But they're displayed inline.
        • +
        +
        +
        + html +
        + + +
        +
        +
        +
        <ul class="list-inline">
        +  <li class="list-inline-item">This is a list item.</li>
        +  <li class="list-inline-item">And another one.</li>
        +  <li class="list-inline-item">But they're displayed inline.</li>
        +</ul>
        +
        +
        + +

        + Description list alignment + +

        +

        + Align terms and descriptions horizontally by using our grid + system’s predefined classes (or semantic mixins). For longer + terms, you can optionally add a .text-truncate class to + truncate the text with an ellipsis. +

        +
        +
        +
        +
        Description lists
        +
        + A description list is perfect for defining terms. +
        + +
        Term
        +
        +

        Definition for the term.

        +

        And some more placeholder definition text.

        +
        + +
        Another term
        +
        + This definition is short, so no extra paragraphs or anything. +
        + +
        + Truncated term is truncated +
        +
        + This can be useful when space is tight. Adds an ellipsis at + the end. +
        + +
        Nesting
        +
        +
        +
        Nested definition list
        +
        + I heard you like definition lists. Let me put a definition + list inside your definition list. +
        +
        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <dl class="row">
        +  <dt class="col-sm-3">Description lists</dt>
        +  <dd class="col-sm-9">A description list is perfect for defining terms.</dd>
        +
        +  <dt class="col-sm-3">Term</dt>
        +  <dd class="col-sm-9">
        +    <p>Definition for the term.</p>
        +    <p>And some more placeholder definition text.</p>
        +  </dd>
        +
        +  <dt class="col-sm-3">Another term</dt>
        +  <dd class="col-sm-9">This definition is short, so no extra paragraphs or anything.</dd>
        +
        +  <dt class="col-sm-3 text-truncate">Truncated term is truncated</dt>
        +  <dd class="col-sm-9">This can be useful when space is tight. Adds an ellipsis at the end.</dd>
        +
        +  <dt class="col-sm-3">Nesting</dt>
        +  <dd class="col-sm-9">
        +    <dl class="row">
        +      <dt class="col-sm-4">Nested definition list</dt>
        +      <dd class="col-sm-8">I heard you like definition lists. Let me put a definition list inside your definition list.</dd>
        +    </dl>
        +  </dd>
        +</dl>
        +
        +
        + +

        + Responsive font sizes + +

        +

        + In Bootstrap 5, we’ve enabled responsive font sizes by + default, allowing text to scale more naturally across device and + viewport sizes. Have a look at the + RFS page to find + out how this works. +

        +

        + CSS + +

        +

        + Sass variables + +

        +

        Headings have some dedicated variables for sizing and spacing.

        +
        +
        + scss/_variables.scss +
        + +
        +
        +
        +
        $headings-margin-bottom:      $spacer * .5;
        +$headings-font-family:        null;
        +$headings-font-style:         null;
        +$headings-font-weight:        500;
        +$headings-line-height:        1.2;
        +$headings-color:              null;
        +
        +
        +
        +

        + Miscellaneous typography elements covered here and in + Reboot also have dedicated + variables. +

        +
        +
        + scss/_variables.scss +
        + +
        +
        +
        +
        $lead-font-size:              $font-size-base * 1.25;
        +$lead-font-weight:            300;
        +
        +$small-font-size:             .875em;
        +
        +$sub-sup-font-size:           .75em;
        +
        +// fusv-disable
        +$text-muted:                  var(--#{$prefix}secondary-color); // Deprecated in 5.3.0
        +// fusv-enable
        +
        +$initialism-font-size:        $small-font-size;
        +
        +$blockquote-margin-y:         $spacer;
        +$blockquote-font-size:        $font-size-base * 1.25;
        +$blockquote-footer-color:     $gray-600;
        +$blockquote-footer-font-size: $small-font-size;
        +
        +$hr-margin-y:                 $spacer;
        +$hr-color:                    inherit;
        +
        +// fusv-disable
        +$hr-bg-color:                 null; // Deprecated in v5.2.0
        +$hr-height:                   null; // Deprecated in v5.2.0
        +// fusv-enable
        +
        +$hr-border-color:             null; // Allows for inherited colors
        +$hr-border-width:             var(--#{$prefix}border-width);
        +$hr-opacity:                  .25;
        +
        +$legend-margin-bottom:        .5rem;
        +$legend-font-size:            1.5rem;
        +$legend-font-weight:          null;
        +
        +$dt-font-weight:              $font-weight-bold;
        +
        +$list-inline-padding:         .5rem;
        +
        +$mark-padding:                .1875em;
        +$mark-bg:                     $yellow-100;
        +
        +
        +
        +

        + Sass mixins + +

        +

        + There are no dedicated mixins for typography, but Bootstrap does use + Responsive Font Sizing (RFS). +

      -
    • -
    • -
    • - - Migration - -
    • -
    - - - - -
    -
    -
    - View on GitHub -

    Typography

    -
    -

    Documentation and examples for Bootstrap typography, including global settings, headings, body text, lists, and more.

    - - -
    - +
    +
    -
    - On this page - +
    +
    +
    +
    + + + Bootstrap + + + Bootstrap + + +
    +
    +
    Links
    + +
    +
    +
    Guides
    + +
    +
    +
    Projects
    + +
    +
    +
    Community
    + +
    - - -
    - - -

    Global settings

    -

    Bootstrap sets basic global display, typography, and link styles. When more control is needed, check out the textual utility classes.

    -
      -
    • Use a native font stack that selects the best font-family for each OS and device.
    • -
    • For a more inclusive and accessible type scale, we use the browser’s default root font-size (typically 16px) so visitors can customize their browser defaults as needed.
    • -
    • Use the $font-family-base, $font-size-base, and $line-height-base attributes as our typographic base applied to the <body>.
    • -
    • Set the global link color via $link-color.
    • -
    • Use $body-bg to set a background-color on the <body> (#fff by default).
    • -
    -

    These styles can be found within _reboot.scss, and the global variables are defined in _variables.scss. Make sure to set $font-size-base in rem.

    -

    Headings

    -

    All HTML headings, <h1> through <h6>, are available.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    HeadingExample
    - <h1></h1> - h1. Bootstrap heading
    - <h2></h2> - h2. Bootstrap heading
    - <h3></h3> - h3. Bootstrap heading
    - <h4></h4> - h4. Bootstrap heading
    - <h5></h5> - h5. Bootstrap heading
    - <h6></h6> - h6. Bootstrap heading
    -
    <h1>h1. Bootstrap heading</h1>
    -<h2>h2. Bootstrap heading</h2>
    -<h3>h3. Bootstrap heading</h3>
    -<h4>h4. Bootstrap heading</h4>
    -<h5>h5. Bootstrap heading</h5>
    -<h6>h6. Bootstrap heading</h6>
    -

    .h1 through .h6 classes are also available, for when you want to match the font styling of a heading but cannot use the associated HTML element.

    -
    -

    h1. Bootstrap heading

    -

    h2. Bootstrap heading

    -

    h3. Bootstrap heading

    -

    h4. Bootstrap heading

    -

    h5. Bootstrap heading

    -

    h6. Bootstrap heading

    -
    <p class="h1">h1. Bootstrap heading</p>
    -<p class="h2">h2. Bootstrap heading</p>
    -<p class="h3">h3. Bootstrap heading</p>
    -<p class="h4">h4. Bootstrap heading</p>
    -<p class="h5">h5. Bootstrap heading</p>
    -<p class="h6">h6. Bootstrap heading</p>
    -

    Customizing headings

    -

    Use the included utility classes to recreate the small secondary heading text from Bootstrap 3.

    -
    -

    - Fancy display heading - With faded secondary text -

    -
    <h3>
    -  Fancy display heading
    -  <small class="text-muted">With faded secondary text</small>
    -</h3>
    -

    Display headings

    -

    Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.

    -
    -
    Display 1
    -
    Display 2
    -
    Display 3
    -
    Display 4
    -
    Display 5
    -
    Display 6
    -
    -
    <h1 class="display-1">Display 1</h1>
    -<h1 class="display-2">Display 2</h1>
    -<h1 class="display-3">Display 3</h1>
    -<h1 class="display-4">Display 4</h1>
    -<h1 class="display-5">Display 5</h1>
    -<h1 class="display-6">Display 6</h1>
    -

    Display headings are configured via the $display-font-sizes Sass map and two variables, $display-font-weight and $display-line-height.

    -
    $display-font-sizes: (
    -  1: 5rem,
    -  2: 4.5rem,
    -  3: 4rem,
    -  4: 3.5rem,
    -  5: 3rem,
    -  6: 2.5rem
    -);
    -
    -$display-font-weight: 300;
    -$display-line-height: $headings-line-height;
    -
    -

    Lead

    -

    Make a paragraph stand out by adding .lead.

    -
    -

    - This is a lead paragraph. It stands out from regular paragraphs. -

    -
    <p class="lead">
    -  This is a lead paragraph. It stands out from regular paragraphs.
    -</p>
    -

    Inline text elements

    -

    Styling for common inline HTML5 elements.

    -
    -

    You can use the mark tag to highlight text.

    -

    This line of text is meant to be treated as deleted text.

    -

    This line of text is meant to be treated as no longer accurate.

    -

    This line of text is meant to be treated as an addition to the document.

    -

    This line of text will render as underlined.

    -

    This line of text is meant to be treated as fine print.

    -

    This line rendered as bold text.

    -

    This line rendered as italicized text.

    -
    <p>You can use the mark tag to <mark>highlight</mark> text.</p>
    -<p><del>This line of text is meant to be treated as deleted text.</del></p>
    -<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
    -<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
    -<p><u>This line of text will render as underlined.</u></p>
    -<p><small>This line of text is meant to be treated as fine print.</small></p>
    -<p><strong>This line rendered as bold text.</strong></p>
    -<p><em>This line rendered as italicized text.</em></p>
    -

    Beware that those tags should be used for semantic purpose:

    -
      -
    • <mark> represents text which is marked or highlighted for reference or notation purposes.
    • -
    • <small> represents side-comments and small print, like copyright and legal text.
    • -
    • <s> represents element that are no longer relevant or no longer accurate.
    • -
    • <u> represents a span of inline text which should be rendered in a way that indicates that it has a non-textual annotation.
    • -
    -

    If you want to style your text, you should use the following classes instead:

    -
      -
    • .mark will apply the same styles as <mark>.
    • -
    • .small will apply the same styles as <small>.
    • -
    • .text-decoration-underline will apply the same styles as <u>.
    • -
    • .text-decoration-line-through will apply the same styles as <s>.
    • -
    -

    While not shown above, feel free to use <b> and <i> in HTML5. <b> is meant to highlight words or phrases without conveying additional importance, while <i> is mostly for voice, technical terms, etc.

    -

    Text utilities

    -

    Change text alignment, transform, style, weight, line-height, decoration and color with our text utilities and color utilities.

    -

    Abbreviations

    -

    Stylized implementation of HTML’s <abbr> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations have a default underline and gain a help cursor to provide additional context on hover and to users of assistive technologies.

    -

    Add .initialism to an abbreviation for a slightly smaller font-size.

    -
    -

    attr

    -

    HTML

    -
    <p><abbr title="attribute">attr</abbr></p>
    -<p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr></p>
    -

    Blockquotes

    -

    For quoting blocks of content from another source within your document. Wrap <blockquote class="blockquote"> around any HTML as the quote.

    -
    -
    -

    A well-known quote, contained in a blockquote element.

    -
    -
    <blockquote class="blockquote">
    -  <p>A well-known quote, contained in a blockquote element.</p>
    -</blockquote>
    -

    Naming a source

    -

    The HTML spec requires that blockquote attribution be placed outside the <blockquote>. When providing attribution, wrap your <blockquote> in a <figure> and use a <figcaption> or a block level element (e.g., <p>) with the .blockquote-footer class. Be sure to wrap the name of the source work in <cite> as well.

    -
    -
    -
    -

    A well-known quote, contained in a blockquote element.

    -
    - -
    -
    <figure>
    -  <blockquote class="blockquote">
    -    <p>A well-known quote, contained in a blockquote element.</p>
    -  </blockquote>
    -  <figcaption class="blockquote-footer">
    -    Someone famous in <cite title="Source Title">Source Title</cite>
    -  </figcaption>
    -</figure>
    -

    Alignment

    -

    Use text utilities as needed to change the alignment of your blockquote.

    -
    -
    -
    -

    A well-known quote, contained in a blockquote element.

    -
    - -
    -
    <figure class="text-center">
    -  <blockquote class="blockquote">
    -    <p>A well-known quote, contained in a blockquote element.</p>
    -  </blockquote>
    -  <figcaption class="blockquote-footer">
    -    Someone famous in <cite title="Source Title">Source Title</cite>
    -  </figcaption>
    -</figure>
    -
    -
    -
    -

    A well-known quote, contained in a blockquote element.

    -
    - -
    -
    <figure class="text-end">
    -  <blockquote class="blockquote">
    -    <p>A well-known quote, contained in a blockquote element.</p>
    -  </blockquote>
    -  <figcaption class="blockquote-footer">
    -    Someone famous in <cite title="Source Title">Source Title</cite>
    -  </figcaption>
    -</figure>
    -

    Lists

    -

    Unstyled

    -

    Remove the default list-style and left margin on list items (immediate children only). This only applies to immediate children list items, meaning you will need to add the class for any nested lists as well.

    -
    -
      -
    • This is a list.
    • -
    • It appears completely unstyled.
    • -
    • Structurally, it's still a list.
    • -
    • However, this style only applies to immediate child elements.
    • -
    • Nested lists: -
        -
      • are unaffected by this style
      • -
      • will still show a bullet
      • -
      • and have appropriate left margin
      • -
      -
    • -
    • This may still come in handy in some situations.
    • -
    -
    <ul class="list-unstyled">
    -  <li>This is a list.</li>
    -  <li>It appears completely unstyled.</li>
    -  <li>Structurally, it's still a list.</li>
    -  <li>However, this style only applies to immediate child elements.</li>
    -  <li>Nested lists:
    -    <ul>
    -      <li>are unaffected by this style</li>
    -      <li>will still show a bullet</li>
    -      <li>and have appropriate left margin</li>
    -    </ul>
    -  </li>
    -  <li>This may still come in handy in some situations.</li>
    -</ul>
    -

    Inline

    -

    Remove a list’s bullets and apply some light margin with a combination of two classes, .list-inline and .list-inline-item.

    -
    -
      -
    • This is a list item.
    • -
    • And another one.
    • -
    • But they're displayed inline.
    • -
    -
    <ul class="list-inline">
    -  <li class="list-inline-item">This is a list item.</li>
    -  <li class="list-inline-item">And another one.</li>
    -  <li class="list-inline-item">But they're displayed inline.</li>
    -</ul>
    -

    Description list alignment

    -

    Align terms and descriptions horizontally by using our grid system’s predefined classes (or semantic mixins). For longer terms, you can optionally add a .text-truncate class to truncate the text with an ellipsis.

    -
    -
    -
    Description lists
    -
    A description list is perfect for defining terms.
    - -
    Term
    -
    -

    Definition for the term.

    -

    And some more placeholder definition text.

    -
    - -
    Another term
    -
    This definition is short, so no extra paragraphs or anything.
    - -
    Truncated term is truncated
    -
    This can be useful when space is tight. Adds an ellipsis at the end.
    - -
    Nesting
    -
    -
    -
    Nested definition list
    -
    I heard you like definition lists. Let me put a definition list inside your definition list.
    -
    -
    -
    -
    <dl class="row">
    -  <dt class="col-sm-3">Description lists</dt>
    -  <dd class="col-sm-9">A description list is perfect for defining terms.</dd>
    -
    -  <dt class="col-sm-3">Term</dt>
    -  <dd class="col-sm-9">
    -    <p>Definition for the term.</p>
    -    <p>And some more placeholder definition text.</p>
    -  </dd>
    -
    -  <dt class="col-sm-3">Another term</dt>
    -  <dd class="col-sm-9">This definition is short, so no extra paragraphs or anything.</dd>
    -
    -  <dt class="col-sm-3 text-truncate">Truncated term is truncated</dt>
    -  <dd class="col-sm-9">This can be useful when space is tight. Adds an ellipsis at the end.</dd>
    -
    -  <dt class="col-sm-3">Nesting</dt>
    -  <dd class="col-sm-9">
    -    <dl class="row">
    -      <dt class="col-sm-4">Nested definition list</dt>
    -      <dd class="col-sm-8">I heard you like definition lists. Let me put a definition list inside your definition list.</dd>
    -    </dl>
    -  </dd>
    -</dl>
    -

    Responsive font sizes

    -

    In Bootstrap 5, we’ve enabled responsive font sizes by default, allowing text to scale more naturally across device and viewport sizes. Have a look at the RFS page to find out how this works.

    -

    Sass

    -

    Variables

    -

    Headings have some dedicated variables for sizing and spacing.

    -
    $headings-margin-bottom:      $spacer * .5;
    -$headings-font-family:        null;
    -$headings-font-style:         null;
    -$headings-font-weight:        500;
    -$headings-line-height:        1.2;
    -$headings-color:              null;
    -
    -

    Miscellaneous typography elements covered here and in Reboot also have dedicated variables.

    -
    $lead-font-size:              $font-size-base * 1.25;
    -$lead-font-weight:            300;
    -
    -$small-font-size:             .875em;
    -
    -$sub-sup-font-size:           .75em;
    -
    -$text-muted:                  $gray-600;
    -
    -$initialism-font-size:        $small-font-size;
    -
    -$blockquote-margin-y:         $spacer;
    -$blockquote-font-size:        $font-size-base * 1.25;
    -$blockquote-footer-color:     $gray-600;
    -$blockquote-footer-font-size: $small-font-size;
    -
    -$hr-margin-y:                 $spacer;
    -$hr-color:                    inherit;
    -$hr-height:                   $border-width;
    -$hr-opacity:                  .25;
    -
    -$legend-margin-bottom:        .5rem;
    -$legend-font-size:            1.5rem;
    -$legend-font-weight:          null;
    -
    -$mark-padding:                .2em;
    -
    -$dt-font-weight:              $font-weight-bold;
    -
    -$nested-kbd-font-weight:      $font-weight-bold;
    -
    -$list-inline-padding:         .5rem;
    -
    -$mark-bg:                     #fcf8e3;
    -
    -

    Mixins

    -

    There are no dedicated mixins for typography, but Bootstrap does use Responsive Font Sizing (RFS).

    -
    -
  • -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/customize/color-modes/index.html b/customize/color-modes/index.html new file mode 100644 index 0000000..f714a28 --- /dev/null +++ b/customize/color-modes/index.html @@ -0,0 +1,2747 @@ + + + + + + + + + + + + + + + Color modes · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +
    + Added in v5.3 + View on GitHub + +
    +

    Color modes

    +
    +

    + Bootstrap now supports color modes, or themes, as of v5.3.0. Explore + our default light color mode and the new dark mode, or create your + own using our styles as your template. +

    +
    + +
    + + On this page +
    + +
    + +
    +

    + Dark mode + +

    +

    + Bootstrap now supports color modes, starting with dark + mode! + With v5.3.0 you can implement your own color mode toggler (see below + for an example from Bootstrap’s docs) and apply the different + color modes as you see fit. We support a light mode (default) and + now dark mode. Color modes can be toggled globally on the + <html> element, or on specific components and + elements, thanks to the data-bs-theme attribute. +

    +

    + Alternatively, you can also switch to a media query implementation + thanks to our color mode mixin—see + the usage section for details. + Heads up though—this eliminates your ability to change themes on a + per-component basis as shown below. +

    +

    + Example + +

    +

    + For example, to change the color mode of a dropdown menu, add + data-bs-theme="light" or + data-bs-theme="dark" to the parent + .dropdown. Now, no matter the global color mode, these + dropdowns will display with the specified theme value. +

    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <div class="dropdown" data-bs-theme="light">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButtonLight" data-bs-toggle="dropdown" aria-expanded="false">
    +    Default dropdown
    +  </button>
    +  <ul class="dropdown-menu" aria-labelledby="dropdownMenuButtonLight">
    +    <li><a class="dropdown-item active" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +</div>
    +
    +<div class="dropdown" data-bs-theme="dark">
    +  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButtonDark" data-bs-toggle="dropdown" aria-expanded="false">
    +    Dark dropdown
    +  </button>
    +  <ul class="dropdown-menu" aria-labelledby="dropdownMenuButtonDark">
    +    <li><a class="dropdown-item active" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + How it works + +

    +
      +
    • +

      + As shown above, color mode styles are controlled by the + data-bs-theme attribute. This attribute can be + applied to the <html> element, or to any + other element or Bootstrap component. If applied to the + <html> element, it will apply to everything. + If applied to a component or element, it will be scoped to that + specific component or element. +

      +
    • +
    • +

      + For each color mode you wish to support, you’ll need to + add new overrides for the shared global CSS variables. We do + this already in our _root.scss stylesheet for dark + mode, with light mode being the default values. In writing color + mode specific styles, use the mixin: +

      +
      +
      // Color mode variables in _root.scss
      +@include color-mode(dark) {
      +  // CSS variable overrides here...
      +}
      +
      +
      +
    • +
    • +

      + We use a custom _variables-dark.scss to power those + shared global CSS variable overrides for dark mode. This file + isn’t required for your own custom color modes, but + it’s required for our dark mode for two reasons. First, + it’s better to have a single place to reset global colors. + Second, some Sass variables had to be overridden for background + images embedded in our CSS for accordions, form components, and + more. +

      +
    • +
    +

    + Usage + +

    +

    + Enable dark mode + +

    +

    + Enable the built in dark color mode across your entire project by + adding the data-bs-theme="dark" attribute to + the <html> element. This will apply the dark + color mode to all components and elements, other than those with a + specific data-bs-theme attribute applied. Building on + the + quick start template: +

    +
    +
    <!doctype html>
    +<html lang="en" data-bs-theme="dark">
    +  <head>
    +    <meta charset="utf-8">
    +    <meta name="viewport" content="width=device-width, initial-scale=1">
    +    <title>Bootstrap demo</title>
    +    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
    +  </head>
    +  <body>
    +    <h1>Hello, world!</h1>
    +    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
    +  </body>
    +</html>
    +
    +
    +

    + Bootstrap does not yet ship with a built-in color mode picker, but + you can use the one from our own documentation if you like. + Learn more in the JavaScript section. +

    +

    + Building with Sass + +

    +

    + Our new dark mode option is available to use for all users of + Bootstrap, but it’s controlled via data attributes instead of + media queries and does not automatically toggle your project’s + color mode. You can disable our dark mode entirely via Sass by + changing $enable-dark-mode to false. +

    +

    + We use a custom Sass mixin, color-mode(), to help you + control how color modes are applied. By default, we use a + data attribute approach, allowing you to create more + user-friendly experiences where your visitors can choose to have an + automatic dark mode or control their preference (like in our own + docs here). This is also an easy and scalable way to add different + themes and more custom color modes beyond light and dark. +

    +

    + In case you want to use media queries and only make color modes + automatic, you can change the mixin’s default type via Sass + variable. Consider the following snippet and its compiled CSS + output. +

    +
    +
    $color-mode-type: data;
    +
    +@include color-mode(dark) {
    +  .element {
    +    color: var(--bs-primary-text-emphasis);
    +    background-color: var(--bs-primary-bg-subtle);
    +  }
    +}
    +
    +
    +

    Outputs to:

    +
    +
    [data-bs-theme=dark] .element {
    +  color: var(--bs-primary-text-emphasis);
    +  background-color: var(--bs-primary-bg-subtle);
    +}
    +
    +
    +

    And when setting to media-query:

    +
    +
    $color-mode-type: media-query;
    +
    +@include color-mode(dark) {
    +  .element {
    +    color: var(--bs-primary-text-emphasis);
    +    background-color: var(--bs-primary-bg-subtle);
    +  }
    +}
    +
    +
    +

    Outputs to:

    +
    +
    @media (prefers-color-scheme: dark) {
    +  .element {
    +    color: var(--bs-primary-text-emphasis);
    +    background-color: var(--bs-primary-bg-subtle);
    +  }
    +}
    +
    +
    +

    + Custom color modes + +

    +

    + While the primary use case for color modes is light and dark mode, + custom color modes are also possible. Create your own + data-bs-theme selector with a custom value as the name + of your color mode, then modify our Sass and CSS variables as + needed. We opted to create a separate + _variables-dark.scss stylesheet to house + Bootstrap’s dark mode specific Sass variables, but + that’s not required for you. +

    +

    + For example, you can create a “blue theme” with the + selector data-bs-theme="blue". In your custom + Sass or CSS file, add the new selector and override any global or + component CSS variables as needed. If you’re using Sass, you + can also use Sass’s functions within your CSS variable + overrides. +

    +
    +
    + site/assets/scss/_content.scss +
    + +
    +
    +
    +
    [data-bs-theme="blue"] {
    +  --bs-body-color: var(--bs-white);
    +  --bs-body-color-rgb: #{to-rgb($white)};
    +  --bs-body-bg: var(--bs-blue);
    +  --bs-body-bg-rgb: #{to-rgb($blue)};
    +  --bs-tertiary-bg: #{$blue-600};
    +
    +  .dropdown-menu {
    +    --bs-dropdown-bg: #{mix($blue-500, $blue-600)};
    +    --bs-dropdown-link-active-bg: #{$blue-700};
    +  }
    +
    +  .btn-secondary {
    +    --bs-btn-bg: #{mix($gray-600, $blue-400, .5)};
    +    --bs-btn-border-color: #{rgba($white, .25)};
    +    --bs-btn-hover-bg: #{darken(mix($gray-600, $blue-400, .5), 5%)};
    +    --bs-btn-hover-border-color: #{rgba($white, .25)};
    +    --bs-btn-active-bg: #{darken(mix($gray-600, $blue-400, .5), 10%)};
    +    --bs-btn-active-border-color: #{rgba($white, .5)};
    +    --bs-btn-focus-border-color: #{rgba($white, .5)};
    +    --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .2);
    +  }
    +}
    +
    +
    +
    +
    +
    Example blue theme
    +

    + Some paragraph text to show how the blue theme might look with + written copy. +

    +
    + +
    +
    +
    <div data-bs-theme="blue">
    +  ...
    +</div>
    +
    +
    +

    + JavaScript + +

    +

    + To allow visitors or users to toggle color modes, you’ll need + to create a toggle element to control the + data-bs-theme attribute on the root element, + <html>. We’ve built a toggler in our + documentation that initially defers to a user’s current system + color mode, but provides an option to override that and pick a + specific color mode. +

    +

    + Here’s a look at the JavaScript that powers it. Feel free to + inspect our own documentation navbar to see how it’s + implemented using HTML and CSS from our own components. Note that if + you decide to use media queries for your color modes, your + JavaScript may need to be modified or removed if you prefer an + implicit control. +

    +
    +
    +
    /*!
    + * Color mode toggler for Bootstrap's docs (https://getbootstrap.com/)
    + * Copyright 2011-2023 The Bootstrap Authors
    + * Licensed under the Creative Commons Attribution 3.0 Unported License.
    + */
    +
    +(() => {
    +  'use strict'
    +
    +  const storedTheme = localStorage.getItem('theme')
    +
    +  const getPreferredTheme = () => {
    +    if (storedTheme) {
    +      return storedTheme
    +    }
    +
    +    return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
    +  }
    +
    +  const setTheme = function (theme) {
    +    if (theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches) {
    +      document.documentElement.setAttribute('data-bs-theme', 'dark')
    +    } else {
    +      document.documentElement.setAttribute('data-bs-theme', theme)
    +    }
    +  }
    +
    +  setTheme(getPreferredTheme())
    +
    +  const showActiveTheme = (theme, focus = false) => {
    +    const themeSwitcher = document.querySelector('#bd-theme')
    +
    +    if (!themeSwitcher) {
    +      return
    +    }
    +
    +    const themeSwitcherText = document.querySelector('#bd-theme-text')
    +    const activeThemeIcon = document.querySelector('.theme-icon-active use')
    +    const btnToActive = document.querySelector(`[data-bs-theme-value="${theme}"]`)
    +    const svgOfActiveBtn = btnToActive.querySelector('svg use').getAttribute('href')
    +
    +    document.querySelectorAll('[data-bs-theme-value]').forEach(element => {
    +      element.classList.remove('active')
    +      element.setAttribute('aria-pressed', 'false')
    +    })
    +
    +    btnToActive.classList.add('active')
    +    btnToActive.setAttribute('aria-pressed', 'true')
    +    activeThemeIcon.setAttribute('href', svgOfActiveBtn)
    +    const themeSwitcherLabel = `${themeSwitcherText.textContent} (${btnToActive.dataset.bsThemeValue})`
    +    themeSwitcher.setAttribute('aria-label', themeSwitcherLabel)
    +
    +    if (focus) {
    +      themeSwitcher.focus()
    +    }
    +  }
    +
    +  window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => {
    +    if (storedTheme !== 'light' || storedTheme !== 'dark') {
    +      setTheme(getPreferredTheme())
    +    }
    +  })
    +
    +  window.addEventListener('DOMContentLoaded', () => {
    +    showActiveTheme(getPreferredTheme())
    +
    +    document.querySelectorAll('[data-bs-theme-value]')
    +      .forEach(toggle => {
    +        toggle.addEventListener('click', () => {
    +          const theme = toggle.getAttribute('data-bs-theme-value')
    +          localStorage.setItem('theme', theme)
    +          setTheme(theme)
    +          showActiveTheme(theme, true)
    +        })
    +      })
    +  })
    +})()
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    +

    + Dozens of root level CSS variables are repeated as overrides for + dark mode. These are scoped to the color mode selector, which + defaults to data-bs-theme but + can be configured to use a + prefers-color-scheme media query. Use these variables + as a guideline for generating your own new color modes. +

    +
    +
    + scss/_root.scss +
    + +
    +
    +
    +
    --#{$prefix}body-color: #{$body-color-dark};
    +--#{$prefix}body-color-rgb: #{to-rgb($body-color-dark)};
    +--#{$prefix}body-bg: #{$body-bg-dark};
    +--#{$prefix}body-bg-rgb: #{to-rgb($body-bg-dark)};
    +
    +--#{$prefix}emphasis-color: #{$body-emphasis-color-dark};
    +--#{$prefix}emphasis-color-rgb: #{to-rgb($body-emphasis-color-dark)};
    +
    +--#{$prefix}secondary-color: #{$body-secondary-color-dark};
    +--#{$prefix}secondary-color-rgb: #{to-rgb($body-secondary-color-dark)};
    +--#{$prefix}secondary-bg: #{$body-secondary-bg-dark};
    +--#{$prefix}secondary-bg-rgb: #{to-rgb($body-secondary-bg-dark)};
    +
    +--#{$prefix}tertiary-color: #{$body-tertiary-color-dark};
    +--#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color-dark)};
    +--#{$prefix}tertiary-bg: #{$body-tertiary-bg-dark};
    +--#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg-dark)};
    +
    +@each $color, $value in $theme-colors-text-dark {
    +  --#{$prefix}#{$color}-text-emphasis: #{$value};
    +}
    +
    +@each $color, $value in $theme-colors-bg-subtle-dark {
    +  --#{$prefix}#{$color}-bg-subtle: #{$value};
    +}
    +
    +@each $color, $value in $theme-colors-border-subtle-dark {
    +  --#{$prefix}#{$color}-border-subtle: #{$value};
    +}
    +
    +@if $headings-color-dark != null {
    +  --#{$prefix}heading-color: #{$headings-color-dark};
    +}
    +
    +--#{$prefix}link-color: #{$link-color-dark};
    +--#{$prefix}link-hover-color: #{$link-hover-color-dark};
    +--#{$prefix}link-color-rgb: #{to-rgb($link-color-dark)};
    +--#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color-dark)};
    +
    +--#{$prefix}code-color: #{$code-color-dark};
    +
    +--#{$prefix}border-color: #{$border-color-dark};
    +--#{$prefix}border-color-translucent: #{$border-color-translucent-dark};
    +
    +--#{$prefix}form-valid-color: #{$form-valid-color-dark};
    +--#{$prefix}form-valid-border-color: #{$form-valid-border-color-dark};
    +--#{$prefix}form-invalid-color: #{$form-invalid-color-dark};
    +--#{$prefix}form-invalid-border-color: #{$form-invalid-border-color-dark};
    +
    +
    +

    + Sass variables + +

    +

    + CSS variables for our dark color mode are partially generated from + dark mode specific Sass variables in + _variables-dark.scss. This also includes some custom + overrides for changing the colors of embedded SVGs used throughout + our components. +

    +
    +
    + scss/_variables-dark.scss +
    + +
    +
    +
    +
    // scss-docs-start theme-text-dark-variables
    +$primary-text-emphasis-dark:        tint-color($primary, 40%);
    +$secondary-text-emphasis-dark:      tint-color($secondary, 40%);
    +$success-text-emphasis-dark:        tint-color($success, 40%);
    +$info-text-emphasis-dark:           tint-color($info, 40%);
    +$warning-text-emphasis-dark:        tint-color($warning, 40%);
    +$danger-text-emphasis-dark:         tint-color($danger, 40%);
    +$light-text-emphasis-dark:          $gray-100;
    +$dark-text-emphasis-dark:           $gray-300;
    +// scss-docs-end theme-text-dark-variables
    +
    +// scss-docs-start theme-bg-subtle-dark-variables
    +$primary-bg-subtle-dark:            shade-color($primary, 80%);
    +$secondary-bg-subtle-dark:          shade-color($secondary, 80%);
    +$success-bg-subtle-dark:            shade-color($success, 80%);
    +$info-bg-subtle-dark:               shade-color($info, 80%);
    +$warning-bg-subtle-dark:            shade-color($warning, 80%);
    +$danger-bg-subtle-dark:             shade-color($danger, 80%);
    +$light-bg-subtle-dark:              $gray-800;
    +$dark-bg-subtle-dark:               mix($gray-800, $black);
    +// scss-docs-end theme-bg-subtle-dark-variables
    +
    +// scss-docs-start theme-border-subtle-dark-variables
    +$primary-border-subtle-dark:        shade-color($primary, 40%);
    +$secondary-border-subtle-dark:      shade-color($secondary, 40%);
    +$success-border-subtle-dark:        shade-color($success, 40%);
    +$info-border-subtle-dark:           shade-color($info, 40%);
    +$warning-border-subtle-dark:        shade-color($warning, 40%);
    +$danger-border-subtle-dark:         shade-color($danger, 40%);
    +$light-border-subtle-dark:          $gray-700;
    +$dark-border-subtle-dark:           $gray-800;
    +// scss-docs-end theme-border-subtle-dark-variables
    +
    +$body-color-dark:                   $gray-500;
    +$body-bg-dark:                      $gray-900;
    +$body-secondary-color-dark:         rgba($body-color-dark, .75);
    +$body-secondary-bg-dark:            $gray-800;
    +$body-tertiary-color-dark:          rgba($body-color-dark, .5);
    +$body-tertiary-bg-dark:             mix($gray-800, $gray-900, 50%);
    +$body-emphasis-color-dark:          $white;
    +$border-color-dark:                 $gray-700;
    +$border-color-translucent-dark:     rgba($white, .15);
    +$headings-color-dark:               null;
    +$link-color-dark:                   tint-color($primary, 40%);
    +$link-hover-color-dark:             shift-color($link-color-dark, -$link-shade-percentage);
    +$code-color-dark:                   tint-color($code-color, 40%);
    +
    +
    +//
    +// Forms
    +//
    +
    +$form-select-indicator-color-dark:  $body-color-dark;
    +$form-select-indicator-dark:        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color-dark}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
    +
    +$form-switch-color-dark:            rgba($white, .25);
    +$form-switch-bg-image-dark:         url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color-dark}'/></svg>");
    +
    +// scss-docs-start form-validation-colors-dark
    +$form-valid-color-dark:             $green-300;
    +$form-valid-border-color-dark:      $green-300;
    +$form-invalid-color-dark:           $red-300;
    +$form-invalid-border-color-dark:    $red-300;
    +// scss-docs-end form-validation-colors-dark
    +
    +
    +//
    +// Accordion
    +//
    +
    +$accordion-icon-color-dark:         $primary-text-emphasis-dark;
    +$accordion-icon-active-color-dark:  $primary-text-emphasis-dark;
    +
    +$accordion-button-icon-dark:         url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    +$accordion-button-active-icon-dark:  url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    +
    +
    +
    +

    + Sass mixin + +

    +

    + Styles for dark mode, and any custom color modes you create, can be + scoped appropriately to the data-bs-theme attribute + selector or media query with the customizable + color-mode() mixin. See the + Sass usage section for more + details. +

    +
    +
    + scss/mixins/_color-mode.scss +
    + +
    +
    +
    +
    @mixin color-mode($mode: light, $root: false) {
    +  @if $color-mode-type == "media-query" {
    +    @if $root == true {
    +      @media (prefers-color-scheme: $mode) {
    +        :root {
    +          @content;
    +        }
    +      }
    +    } @else {
    +      @media (prefers-color-scheme: $mode) {
    +        @content;
    +      }
    +    }
    +  } @else {
    +    [data-bs-theme="#{$mode}"] {
    +      @content;
    +    }
    +  }
    +}
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + diff --git a/customize/color/index.html b/customize/color/index.html index 55d34a6..eb5945e 100644 --- a/customize/color/index.html +++ b/customize/color/index.html @@ -1,885 +1,3131 @@ - - - - - - - - - - - - - - - -Color · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Color · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Color

    +
    +

    + Bootstrap is supported by an extensive color system that themes our + styles and components. This enables more comprehensive customization + and extension for any project. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Color

    +
    + + On this page +
    +
    -

    Bootstrap is supported by an extensive color system that themes our styles and components. This enables more comprehensive customization and extension for any project.

    - -
    +
    +

    + Colors + +

    + Added in v5.3.0 + +

    + Bootstrap’s color palette has continued to expand and become + more nuanced in v5.3.0. We’ve added new variables for + secondary and tertiary text and background + colors, plus {color}-bg-subtle, + {color}-border-subtle, and + {color}-text-emphasis for our theme colors. These new + colors are available through Sass and CSS variables (but not our + color maps or utility classes) with the express goal of making it + easier to customize across multiple colors modes like light and + dark. These new variables are globally set on :root and + are adapted for our new dark color mode while our original theme + colors remain unchanged. +

    +

    + Colors ending in -rgb provide the + red, green, blue values for use in + rgb() and rgba() color modes. For example, + rgba(var(--bs-secondary-bg-rgb), .5). +

    +
    + Heads up! There’s some potential confusion + with our new secondary and tertiary colors, and our existing + secondary theme color, as well as our light and dark theme colors. + Expect this to be ironed out in v6. +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    DescriptionSwatchVariables
    + Body — Default foreground (color) and + background, including components. + +
    +   +
    +
    + --bs-body-color
    --bs-body-color-rgb +
    +
    +   +
    +
    + --bs-body-bg
    --bs-body-bg-rgb +
    + Secondary — Use the color option + for lighter text. Use the bg option for dividers + and to indicate disabled component states. + +
    +   +
    +
    + --bs-secondary-color
    --bs-secondary-color-rgb +
    +
    +   +
    +
    + --bs-secondary-bg
    --bs-secondary-bg-rgb +
    + Tertiary — Use the color option + for even lighter text. Use the bg option to style + backgrounds for hover states, accents, and wells. + +
    +   +
    +
    + --bs-tertiary-color
    --bs-tertiary-color-rgb +
    +
    +   +
    +
    + --bs-tertiary-bg
    --bs-tertiary-bg-rgb +
    + Emphasis — For higher contrast text. Not + applicable for backgrounds. + +
    +   +
    +
    + --bs-emphasis-color
    --bs-emphasis-color-rgb +
    + Border — For component borders, dividers, and + rules. Use --bs-border-color-translucent to blend + with backgrounds with an rgba() value. + +
    +   +
    +
    + --bs-border-color
    --bs-border-color-rgb +
    + Primary — Main theme color, used for + hyperlinks, focus styles, and component and form active + states. + +
     
    +
    + --bs-primary
    --bs-primary-rgb +
    +
    +   +
    +
    + --bs-primary-bg-subtle +
    +
    +   +
    +
    + --bs-primary-border-subtle +
    +
    + Text +
    +
    + --bs-primary-text-emphasis +
    + Success — Theme color used for positive or + successful actions and information. + +
     
    +
    + --bs-success
    --bs-success-rgb +
    +
    +   +
    +
    + --bs-success-bg-subtle +
    +
    +   +
    +
    + --bs-success-border-subtle +
    +
    + Text +
    +
    + --bs-success-text-emphasis +
    + Danger — Theme color used for errors and + dangerous actions. + +
     
    +
    + --bs-danger
    --bs-danger-rgb +
    +
    +   +
    +
    + --bs-danger-bg-subtle +
    +
    +   +
    +
    + --bs-danger-border-subtle +
    +
    + Text +
    +
    + --bs-danger-text-emphasis +
    + Warning — Theme color used for + non-destructive warning messages. + +
     
    +
    + --bs-warning
    --bs-warning-rgb +
    +
    +   +
    +
    + --bs-warning-bg-subtle +
    +
    +   +
    +
    + --bs-warning-border-subtle +
    +
    + Text +
    +
    + --bs-warning-text-emphasis +
    + Info — Theme color used for neutral and + informative content. + +
     
    +
    --bs-info
    --bs-info-rgb
    +
    +   +
    +
    + --bs-info-bg-subtle +
    +
    +   +
    +
    + --bs-info-border-subtle +
    +
    + Text +
    +
    + --bs-info-text-emphasis +
    + Light — Additional theme option for less + contrasting colors. + +
     
    +
    + --bs-light
    --bs-light-rgb +
    +
    +   +
    +
    + --bs-light-bg-subtle +
    +
    +   +
    +
    + --bs-light-border-subtle +
    +
    + Text +
    +
    + --bs-light-text-emphasis +
    + Dark — Additional theme option for higher + contrasting colors. + +
     
    +
    --bs-dark
    --bs-dark-rgb
    +
    +   +
    +
    + --bs-dark-bg-subtle +
    +
    +   +
    +
    + --bs-dark-border-subtle +
    +
    + Text +
    +
    + --bs-dark-text-emphasis +
    +

    + Using the new colors + +

    +

    + These new colors are accessible via CSS variables and utility + classes—like --bs-primary-bg-subtle and + .bg-primary-subtle—allowing you to compose your own CSS + rules with the variables, or to quickly apply styles via classes. + The utilities are built with the color’s associated CSS + variables, and since we customize those CSS variables for dark mode, + they are also adaptive to color mode by default. +

    +
    +
    +
    + Example element with utilities +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="p-3 text-primary-emphasis bg-primary-subtle border border-primary-subtle rounded-3">
    +  Example element with utilities
    +</div>
    +
    +
    + +

    + Theme colors + +

    +

    + We use a subset of all colors to create a smaller color palette for + generating color schemes, also available as Sass variables and a + Sass map in Bootstrap’s + scss/_variables.scss file. +

    +
    +
    +
    Primary
    +
    + +
    +
    Secondary
    +
    + +
    +
    Success
    +
    + +
    +
    Danger
    +
    + +
    +
    Warning
    +
    + +
    +
    Info
    +
    + +
    +
    Light
    +
    + +
    +
    Dark
    +
    +
    +

    + All these colors are available as a Sass map, + $theme-colors. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $theme-colors: (
    +  "primary":    $primary,
    +  "secondary":  $secondary,
    +  "success":    $success,
    +  "info":       $info,
    +  "warning":    $warning,
    +  "danger":     $danger,
    +  "light":      $light,
    +  "dark":       $dark
    +);
    +
    +
    +
    +

    + Check out + our Sass maps and loops docs + for how to modify these colors. +

    +

    + All colors + +

    +

    + All Bootstrap colors are available as Sass variables and a Sass map + in scss/_variables.scss file. To avoid increased file + sizes, we don’t create text or background color classes for + each of these variables. Instead, we choose a subset of these colors + for a theme palette. +

    +

    + Be sure to monitor contrast ratios as you customize colors. As shown + below, we’ve added three contrast ratios to each of the main + colors—one for the swatch’s current colors, one for against + white, and one for against black. +

    +
    +
    +
    + $blue + #0d6efd +
    + +
    $blue-100
    + +
    $blue-200
    + +
    $blue-300
    + +
    $blue-400
    + +
    $blue-500
    + +
    $blue-600
    + +
    $blue-700
    +
    $blue-800
    -
    - On this page - -
    +
    $blue-900
    +
    +
    +
    + $indigo + #6610f2 +
    -
    +
    $indigo-100
    +
    $indigo-200
    -

    Theme colors

    -

    We use a subset of all colors to create a smaller color palette for generating color schemes, also available as Sass variables and a Sass map in Bootstrap’s scss/_variables.scss file.

    -
    +
    $indigo-300
    -
    -
    Primary
    -
    +
    $indigo-400
    -
    -
    Secondary
    -
    +
    $indigo-500
    -
    -
    Success
    -
    +
    $indigo-600
    -
    -
    Danger
    -
    +
    $indigo-700
    -
    -
    Warning
    -
    +
    $indigo-800
    -
    -
    Info
    -
    +
    $indigo-900
    +
    -
    -
    Light
    -
    +
    +
    + $purple + #6f42c1 +
    -
    -
    Dark
    -
    +
    $purple-100
    -
    -

    All these colors are available as a Sass map, $theme-colors.

    -
    $theme-colors: (
    -  "primary":    $primary,
    -  "secondary":  $secondary,
    -  "success":    $success,
    -  "info":       $info,
    -  "warning":    $warning,
    -  "danger":     $danger,
    -  "light":      $light,
    -  "dark":       $dark
    -);
    -
    -

    Check out our Sass maps and loops docs for how to modify these colors.

    -

    All colors

    -

    All Bootstrap colors are available as Sass variables and a Sass map in scss/_variables.scss file. To avoid increased file sizes, we don’t create text or background color classes for each of these variables. Instead, we choose a subset of these colors for a theme palette.

    -

    Be sure to monitor contrast ratios as you customize colors. As shown below, we’ve added three contrast ratios to each of the main colors—one for the swatch’s current colors, one for against white, and one for against black.

    -
    - -
    -
    - $blue - #0d6efd -
    +
    $purple-200
    -
    $blue-100
    +
    $purple-300
    -
    $blue-200
    +
    $purple-400
    -
    $blue-300
    +
    $purple-500
    -
    $blue-400
    +
    $purple-600
    -
    $blue-500
    +
    $purple-700
    -
    $blue-600
    +
    $purple-800
    -
    $blue-700
    +
    $purple-900
    +
    -
    $blue-800
    +
    +
    + $pink + #d63384 +
    -
    $blue-900
    +
    $pink-100
    -
    +
    $pink-200
    -
    -
    - $indigo - #6610f2 -
    +
    $pink-300
    -
    $indigo-100
    +
    $pink-400
    -
    $indigo-200
    +
    $pink-500
    -
    $indigo-300
    +
    $pink-600
    -
    $indigo-400
    +
    $pink-700
    -
    $indigo-500
    +
    $pink-800
    -
    $indigo-600
    +
    $pink-900
    +
    -
    $indigo-700
    +
    +
    + $red + #dc3545 +
    -
    $indigo-800
    +
    $red-100
    -
    $indigo-900
    +
    $red-200
    -
    +
    $red-300
    -
    -
    - $purple - #6f42c1 -
    +
    $red-400
    -
    $purple-100
    +
    $red-500
    -
    $purple-200
    +
    $red-600
    -
    $purple-300
    +
    $red-700
    -
    $purple-400
    +
    $red-800
    -
    $purple-500
    +
    $red-900
    +
    -
    $purple-600
    +
    +
    + $orange + #fd7e14 +
    -
    $purple-700
    +
    $orange-100
    -
    $purple-800
    +
    $orange-200
    -
    $purple-900
    +
    $orange-300
    -
    +
    $orange-400
    -
    -
    - $pink - #d63384 -
    +
    $orange-500
    -
    $pink-100
    +
    $orange-600
    -
    $pink-200
    +
    $orange-700
    -
    $pink-300
    +
    $orange-800
    -
    $pink-400
    +
    $orange-900
    +
    -
    $pink-500
    +
    +
    + $yellow + #ffc107 +
    -
    $pink-600
    +
    $yellow-100
    -
    $pink-700
    +
    $yellow-200
    -
    $pink-800
    +
    $yellow-300
    -
    $pink-900
    +
    $yellow-400
    -
    +
    $yellow-500
    -
    -
    - $red - #dc3545 -
    +
    $yellow-600
    -
    $red-100
    +
    $yellow-700
    -
    $red-200
    +
    $yellow-800
    -
    $red-300
    +
    $yellow-900
    +
    -
    $red-400
    +
    +
    + $green + #198754 +
    -
    $red-500
    +
    $green-100
    -
    $red-600
    +
    $green-200
    -
    $red-700
    +
    $green-300
    -
    $red-800
    +
    $green-400
    -
    $red-900
    +
    $green-500
    -
    +
    $green-600
    -
    -
    - $orange - #fd7e14 -
    +
    $green-700
    -
    $orange-100
    +
    $green-800
    -
    $orange-200
    +
    $green-900
    +
    -
    $orange-300
    +
    +
    + $teal + #20c997 +
    -
    $orange-400
    +
    $teal-100
    -
    $orange-500
    +
    $teal-200
    -
    $orange-600
    +
    $teal-300
    -
    $orange-700
    +
    $teal-400
    -
    $orange-800
    +
    $teal-500
    -
    $orange-900
    +
    $teal-600
    -
    +
    $teal-700
    -
    -
    - $yellow - #ffc107 -
    +
    $teal-800
    -
    $yellow-100
    +
    $teal-900
    +
    -
    $yellow-200
    +
    +
    + $cyan + #0dcaf0 +
    -
    $yellow-300
    +
    $cyan-100
    -
    $yellow-400
    +
    $cyan-200
    -
    $yellow-500
    +
    $cyan-300
    -
    $yellow-600
    +
    $cyan-400
    -
    $yellow-700
    +
    $cyan-500
    -
    $yellow-800
    +
    $cyan-600
    -
    $yellow-900
    +
    $cyan-700
    -
    - -
    -
    - $green - #198754 -
    - -
    $green-100
    - -
    $green-200
    - -
    $green-300
    - -
    $green-400
    - -
    $green-500
    - -
    $green-600
    - -
    $green-700
    - -
    $green-800
    - -
    $green-900
    - -
    - -
    -
    - $teal - #20c997 -
    - -
    $teal-100
    +
    $cyan-800
    -
    $teal-200
    +
    $cyan-900
    +
    +
    +
    + $gray-500 + #adb5bd +
    +
    $gray-100
    -
    $teal-300
    +
    $gray-200
    -
    $teal-400
    +
    $gray-300
    -
    $teal-500
    +
    $gray-400
    -
    $teal-600
    +
    $gray-500
    -
    $teal-700
    +
    $gray-600
    -
    $teal-800
    - -
    $teal-900
    - -
    - -
    -
    - $cyan - #0dcaf0 -
    - -
    $cyan-100
    - -
    $cyan-200
    - -
    $cyan-300
    - -
    $cyan-400
    - -
    $cyan-500
    - -
    $cyan-600
    - -
    $cyan-700
    - -
    $cyan-800
    - -
    $cyan-900
    - -
    -
    -
    - $gray-500 - #adb5bd -
    -
    $gray-100
    - -
    $gray-200
    - -
    $gray-300
    - -
    $gray-400
    - -
    $gray-500
    - -
    $gray-600
    - -
    $gray-700
    - -
    $gray-800
    - -
    $gray-900
    -
    - -
    -
    - $black - #000 -
    -
    - $white - #fff +
    $gray-700
    + +
    $gray-800
    + +
    $gray-900
    +
    + +
    +
    + $black + #000 +
    +
    + $white + #fff +
    +
    +
    +

    + Notes on Sass + +

    +

    + Sass cannot programmatically generate variables, so we manually + created variables for every tint and shade ourselves. We specify the + midpoint value (e.g., $blue-500) and use custom color + functions to tint (lighten) or shade (darken) our colors via + Sass’s mix() color function. +

    +

    + Using mix() is not the same as + lighten() and darken()—the former blends + the specified color with white or black, while the latter only + adjusts the lightness value of each color. The result is a much more + complete suite of colors, as + shown in this CodePen demo. +

    +

    + Our tint-color() and + shade-color() functions use + mix() alongside our + $theme-color-interval variable, which specifies a + stepped percentage value for each mixed color we produce. See the + scss/_functions.scss and + scss/_variables.scss files for the full source code. +

    +

    + Color Sass maps + +

    +

    + Bootstrap’s source Sass files include three maps to help you + quickly and easily loop over a list of colors and their hex values. +

    +
      +
    • + $colors lists all our available base + (500) colors +
    • +
    • + $theme-colors lists all semantically named theme + colors (shown below) +
    • +
    • $grays lists all tints and shades of gray
    • +
    +

    + Within scss/_variables.scss, you’ll find + Bootstrap’s color variables and Sass map. Here’s an + example of the $colors Sass map: +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $colors: (
    +  "blue":       $blue,
    +  "indigo":     $indigo,
    +  "purple":     $purple,
    +  "pink":       $pink,
    +  "red":        $red,
    +  "orange":     $orange,
    +  "yellow":     $yellow,
    +  "green":      $green,
    +  "teal":       $teal,
    +  "cyan":       $cyan,
    +  "black":      $black,
    +  "white":      $white,
    +  "gray":       $gray-600,
    +  "gray-dark":  $gray-800
    +);
    +
    +
    +
    +

    + Add, remove, or modify values within the map to update how + they’re used in many other components. Unfortunately at this + time, not every component utilizes this Sass map. Future + updates will strive to improve upon this. Until then, plan on making + use of the ${color} variables and this Sass map. +

    +

    + Example + +

    +

    Here’s how you can use these in your Sass:

    +
    +
    .alpha { color: $purple; }
    +.beta {
    +  color: $yellow-300;
    +  background-color: $indigo-900;
    +}
    +
    +
    +

    + Color and + background + utility classes are also available for setting + color and background-color using the + 500 color values. +

    +

    + Generating utilities + +

    + Added in v5.1.0 + +

    + Bootstrap doesn’t include color and + background-color utilities for every color variable, + but you can generate these yourself with our + utility API and our + extended Sass maps added in v5.1.0. +

    +
      +
    1. + To start, make sure you’ve imported our functions, + variables, mixins, and utilities. +
    2. +
    3. + Use our map-merge-multiple() function to quickly + merge multiple Sass maps together in a new map. +
    4. +
    5. + Merge this new combined map to extend any utility with a + {color}-{level} class name. +
    6. +
    +

    + Here’s an example that generates text color utilities (e.g., + .text-purple-500) using the above steps. +

    +
    +
    @import "bootstrap/scss/functions";
    +@import "bootstrap/scss/variables";
    +@import "bootstrap/scss/variables-dark";
    +@import "bootstrap/scss/maps";
    +@import "bootstrap/scss/mixins";
    +@import "bootstrap/scss/utilities";
    +
    +$all-colors: map-merge-multiple($blues, $indigos, $purples, $pinks, $reds, $oranges, $yellows, $greens, $teals, $cyans);
    +
    +$utilities: map-merge(
    +  $utilities,
    +  (
    +    "color": map-merge(
    +      map-get($utilities, "color"),
    +      (
    +        values: map-merge(
    +          map-get(map-get($utilities, "color"), "values"),
    +          (
    +            $all-colors
    +          ),
    +        ),
    +      ),
    +    ),
    +  )
    +);
    +
    +@import "bootstrap/scss/utilities/api";
    +
    +
    +

    + This will generate new .text-{color}-{level} utilities + for every color and level. You can do the same for any other utility + and property as well. +

    +
    +
    - - -

    Notes on Sass

    -

    Sass cannot programmatically generate variables, so we manually created variables for every tint and shade ourselves. We specify the midpoint value (e.g., $blue-500) and use custom color functions to tint (lighten) or shade (darken) our colors via Sass’s mix() color function.

    -

    Using mix() is not the same as lighten() and darken()—the former blends the specified color with white or black, while the latter only adjusts the lightness value of each color. The result is a much more complete suite of colors, as shown in this CodePen demo.

    -

    Our tint-color() and shade-color() functions use mix() alongside our $theme-color-interval variable, which specifies a stepped percentage value for each mixed color we produce. See the scss/_functions.scss and scss/_variables.scss files for the full source code.

    -

    Color Sass maps

    -

    Bootstrap’s source Sass files include three maps to help you quickly and easily loop over a list of colors and their hex values.

    -
      -
    • $colors lists all our available base (500) colors
    • -
    • $theme-colors lists all semantically named theme colors (shown below)
    • -
    • $grays lists all tints and shades of gray
    • -
    -

    Within scss/_variables.scss, you’ll find Bootstrap’s color variables and Sass map. Here’s an example of the $colors Sass map:

    -
    $colors: (
    -  "blue":       $blue,
    -  "indigo":     $indigo,
    -  "purple":     $purple,
    -  "pink":       $pink,
    -  "red":        $red,
    -  "orange":     $orange,
    -  "yellow":     $yellow,
    -  "green":      $green,
    -  "teal":       $teal,
    -  "cyan":       $cyan,
    -  "white":      $white,
    -  "gray":       $gray-600,
    -  "gray-dark":  $gray-800
    -);
    -
    -

    Add, remove, or modify values within the map to update how they’re used in many other components. Unfortunately at this time, not every component utilizes this Sass map. Future updates will strive to improve upon this. Until then, plan on making use of the ${color} variables and this Sass map.

    -

    Example

    -

    Here’s how you can use these in your Sass:

    -
    .alpha { color: $purple; }
    -.beta {
    -  color: $yellow-300;
    -  background-color: $indigo-900;
    -}
    -

    Color and background utility classes are also available for setting color and background-color using the 500 color values.

    -

    Generating utilities

    -

    Added in v5.1.0

    -

    Bootstrap doesn’t include color and background-color utilities for every color variable, but you can generate these yourself with our utility API and our extended Sass maps added in v5.1.0.

    -
      -
    1. To start, make sure you’ve imported our functions, variables, mixins, and utilities.
    2. -
    3. Use our map-merge-multiple() function to quickly merge multiple Sass maps together in a new map.
    4. -
    5. Merge this new combined map to extend any utility with a {color}-{level} class name.
    6. -
    -

    Here’s an example that generates text color utilities (e.g., .text-purple-500) using the above steps.

    -
    @import "bootstrap/scss/functions";
    -@import "bootstrap/scss/variables";
    -@import "bootstrap/scss/mixins";
    -@import "bootstrap/scss/utilities";
    -
    -$all-colors: map-merge-multiple($blues, $indigos, $purples, $pinks, $reds, $oranges, $yellows, $greens, $teals, $cyans);
    -
    -$utilities: map-merge(
    -  $utilities,
    -  (
    -    "color": map-merge(
    -      map-get($utilities, "color"),
    -      (
    -        values: map-merge(
    -          map-get(map-get($utilities, "color"), "values"),
    -          (
    -            $all-colors
    -          ),
    -        ),
    -      ),
    -    ),
    -  )
    -);
    -
    -@import "bootstrap/scss/utilities/api";
    -

    This will generate new .text-{color}-{level} utilities for every color and level. You can do the same for any other utility and property as well.

    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/customize/components/index.html b/customize/components/index.html index befbbe8..6b05ee2 100644 --- a/customize/components/index.html +++ b/customize/components/index.html @@ -1,561 +1,2208 @@ - - - - - - - - - - - - - - - -Components · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Components · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Components

    +
    +

    + Learn how and why we build nearly all our components responsively + and with base and modifier classes. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Components

    +
    + + On this page +
    +
    -

    Learn how and why we build nearly all our components responsively and with base and modifier classes.

    - - -
    - -
    - On this page - +
    +

    + Base classes + +

    +

    + Bootstrap’s components are largely built with a base-modifier + nomenclature. We group as many shared properties as possible into a + base class, like .btn, and then group individual styles + for each variant into modifier classes, like + .btn-primary or .btn-success. +

    +

    + To build our modifier classes, we use Sass’s + @each loops to iterate over a Sass map. This is + especially helpful for generating variants of a component by our + $theme-colors and creating responsive variants for each + breakpoint. As you customize these Sass maps and recompile, + you’ll automatically see your changes reflected in these + loops. +

    +

    + Check out + our Sass maps and loops docs + for how to customize these loops and extend Bootstrap’s + base-modifier approach to your own code. +

    +

    + Modifiers + +

    +

    + Many of Bootstrap’s components are built with a base-modifier + class approach. This means the bulk of the styling is contained to a + base class (e.g., .btn) while style variations are + confined to modifier classes (e.g., .btn-danger). These + modifier classes are built from the $theme-colors map + to make customizing the number and name of our modifier classes. +

    +

    + Here are two examples of how we loop over the + $theme-colors map to generate modifiers to the + .alert and .list-group components. +

    +
    +
    + scss/_alert.scss +
    + +
    +
    +
    +
    // Generate contextual modifier classes for colorizing the alert
    +@each $state in map-keys($theme-colors) {
    +  .alert-#{$state} {
    +    --#{$prefix}alert-color: var(--#{$prefix}#{$state}-text-emphasis);
    +    --#{$prefix}alert-bg: var(--#{$prefix}#{$state}-bg-subtle);
    +    --#{$prefix}alert-border-color: var(--#{$prefix}#{$state}-border-subtle);
    +    --#{$prefix}alert-link-color: var(--#{$prefix}#{$state}-text-emphasis);
    +  }
    +}
    +
    +
    +
    +
    +
    + scss/_list-group.scss +
    + +
    +
    +
    +
    // List group contextual variants
    +//
    +// Add modifier classes to change text and background color on individual items.
    +// Organizationally, this must come after the `:hover` states.
    +
    +@each $state in map-keys($theme-colors) {
    +  .list-group-item-#{$state} {
    +    --#{$prefix}list-group-color: var(--#{$prefix}#{$state}-text-emphasis);
    +    --#{$prefix}list-group-bg: var(--#{$prefix}#{$state}-bg-subtle);
    +    --#{$prefix}list-group-border-color: var(--#{$prefix}#{$state}-border-subtle);
    +    --#{$prefix}list-group-action-hover-color: var(--#{$prefix}emphasis-color);
    +    --#{$prefix}list-group-action-hover-bg: var(--#{$prefix}#{$state}-border-subtle);
    +    --#{$prefix}list-group-action-active-color: var(--#{$prefix}emphasis-color);
    +    --#{$prefix}list-group-action-active-bg: var(--#{$prefix}#{$state}-border-subtle);
    +    --#{$prefix}list-group-active-color: var(--#{$prefix}#{$state}-bg-subtle);
    +    --#{$prefix}list-group-active-bg: var(--#{$prefix}#{$state}-text-emphasis);
    +    --#{$prefix}list-group-active-border-color: var(--#{$prefix}#{$state}-text-emphasis);
    +  }
    +}
    +
    +
    +
    +

    + Responsive + +

    +

    + These Sass loops aren’t limited to color maps, either. You can + also generate responsive variations of your components. Take for + example our responsive alignment of the dropdowns where we mix an + @each loop for the $grid-breakpoints Sass + map with a media query include. +

    +
    +
    + scss/_dropdown.scss +
    + +
    +
    +
    +
    // We deliberately hardcode the `bs-` prefix because we check
    +// this custom property in JS to determine Popper's positioning
    +
    +@each $breakpoint in map-keys($grid-breakpoints) {
    +  @include media-breakpoint-up($breakpoint) {
    +    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
    +
    +    .dropdown-menu#{$infix}-start {
    +      --bs-position: start;
    +
    +      &[data-bs-popper] {
    +        right: auto;
    +        left: 0;
    +      }
    +    }
    +
    +    .dropdown-menu#{$infix}-end {
    +      --bs-position: end;
    +
    +      &[data-bs-popper] {
    +        right: 0;
    +        left: auto;
    +      }
    +    }
    +  }
    +}
    +
    +
    +
    +

    + Should you modify your $grid-breakpoints, your changes + will apply to all the loops iterating over that map. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $grid-breakpoints: (
    +  xs: 0,
    +  sm: 576px,
    +  md: 768px,
    +  lg: 992px,
    +  xl: 1200px,
    +  xxl: 1400px
    +);
    +
    +
    +
    +

    + For more information and examples on how to modify our Sass maps and + variables, please refer to + the Sass section of the Grid documentation. +

    +

    + Creating your own + +

    +

    + We encourage you to adopt these guidelines when building with + Bootstrap to create your own components. We’ve extended this + approach ourselves to the custom components in our documentation and + examples. Components like our callouts are built just like our + provided components with base and modifier classes. +

    +
    +
    + This is a callout. We built it custom for our + docs so our messages to you stand out. It has three variants via + modifier classes. +
    +
    +
    +
    <div class="callout">...</div>
    +
    +
    +

    + In your CSS, you’d have something like the following where the + bulk of the styling is done via .callout. Then, the + unique styles between each variant is controlled via modifier class. +

    +
    +
    // Base class
    +.callout {}
    +
    +// Modifier classes
    +.callout-info {}
    +.callout-warning {}
    +.callout-danger {}
    +
    +
    +

    + For the callouts, that unique styling is just a + border-left-color. When you combine that base class + with one of those modifier classes, you get your complete component + family: +

    +
    + This is an info callout. Example text to show it in + action. +
    + +
    + This is a warning callout. Example text to show it + in action. +
    + +
    + This is a danger callout. Example text to show it + in action. +
    +
    +
    - -
    - - -

    Base classes

    -

    Bootstrap’s components are largely built with a base-modifier nomenclature. We group as many shared properties as possible into a base class, like .btn, and then group individual styles for each variant into modifier classes, like .btn-primary or .btn-success.

    -

    To build our modifier classes, we use Sass’s @each loops to iterate over a Sass map. This is especially helpful for generating variants of a component by our $theme-colors and creating responsive variants for each breakpoint. As you customize these Sass maps and recompile, you’ll automatically see your changes reflected in these loops.

    -

    Check out our Sass maps and loops docs for how to customize these loops and extend Bootstrap’s base-modifier approach to your own code.

    -

    Modifiers

    -

    Many of Bootstrap’s components are built with a base-modifier class approach. This means the bulk of the styling is contained to a base class (e.g., .btn) while style variations are confined to modifier classes (e.g., .btn-danger). These modifier classes are built from the $theme-colors map to make customizing the number and name of our modifier classes.

    -

    Here are two examples of how we loop over the $theme-colors map to generate modifiers to the .alert and .list-group components.

    -
    // Generate contextual modifier classes for colorizing the alert.
    -
    -@each $state, $value in $theme-colors {
    -  $alert-background: shift-color($value, $alert-bg-scale);
    -  $alert-border: shift-color($value, $alert-border-scale);
    -  $alert-color: shift-color($value, $alert-color-scale);
    -  @if (contrast-ratio($alert-background, $alert-color) < $min-contrast-ratio) {
    -    $alert-color: mix($value, color-contrast($alert-background), abs($alert-color-scale));
    -  }
    -  .alert-#{$state} {
    -    @include alert-variant($alert-background, $alert-border, $alert-color);
    -  }
    -}
    -
    -
    // List group contextual variants
    -//
    -// Add modifier classes to change text and background color on individual items.
    -// Organizationally, this must come after the `:hover` states.
    -
    -@each $state, $value in $theme-colors {
    -  $list-group-variant-bg: shift-color($value, $list-group-item-bg-scale);
    -  $list-group-variant-color: shift-color($value, $list-group-item-color-scale);
    -  @if (contrast-ratio($list-group-variant-bg, $list-group-variant-color) < $min-contrast-ratio) {
    -    $list-group-variant-color: mix($value, color-contrast($list-group-variant-bg), abs($list-group-item-color-scale));
    -  }
    -
    -  @include list-group-item-variant($state, $list-group-variant-bg, $list-group-variant-color);
    -}
    -
    -

    Responsive

    -

    These Sass loops aren’t limited to color maps, either. You can also generate responsive variations of your components. Take for example our responsive alignment of the dropdowns where we mix an @each loop for the $grid-breakpoints Sass map with a media query include.

    -
    // We deliberately hardcode the `bs-` prefix because we check
    -// this custom property in JS to determine Popper's positioning
    -
    -@each $breakpoint in map-keys($grid-breakpoints) {
    -  @include media-breakpoint-up($breakpoint) {
    -    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
    -
    -    .dropdown-menu#{$infix}-start {
    -      --bs-position: start;
    -
    -      &[data-bs-popper] {
    -        right: auto;
    -        left: 0;
    -      }
    -    }
    -
    -    .dropdown-menu#{$infix}-end {
    -      --bs-position: end;
    -
    -      &[data-bs-popper] {
    -        right: 0;
    -        left: auto;
    -      }
    -    }
    -  }
    -}
    -
    -

    Should you modify your $grid-breakpoints, your changes will apply to all the loops iterating over that map.

    -
    $grid-breakpoints: (
    -  xs: 0,
    -  sm: 576px,
    -  md: 768px,
    -  lg: 992px,
    -  xl: 1200px,
    -  xxl: 1400px
    -);
    -
    -

    For more information and examples on how to modify our Sass maps and variables, please refer to the Sass section of the Grid documentation.

    -

    Creating your own

    -

    We encourage you to adopt these guidelines when building with Bootstrap to create your own components. We’ve extended this approach ourselves to the custom components in our documentation and examples. Components like our callouts are built just like our provided components with base and modifier classes.

    -
    -
    - This is a callout. We built it custom for our docs so our messages to you stand out. It has three variants via modifier classes. -
    -
    -
    <div class="callout">...</div>
    -

    In your CSS, you’d have something like the following where the bulk of the styling is done via .callout. Then, the unique styles between each variant is controlled via modifier class.

    -
    // Base class
    -.callout {}
    -
    -// Modifier classes
    -.callout-info {}
    -.callout-warning {}
    -.callout-danger {}
    -

    For the callouts, that unique styling is just a border-left-color. When you combine that base class with one of those modifier classes, you get your complete component family:

    -
    -This is an info callout. Example text to show it in action. -
    - -
    -This is a warning callout. Example text to show it in action. -
    - -
    -This is a danger callout. Example text to show it in action. -
    - - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/customize/css-variables/index.html b/customize/css-variables/index.html index 7acdf2f..348a645 100644 --- a/customize/css-variables/index.html +++ b/customize/css-variables/index.html @@ -1,386 +1,1717 @@ - - - + + + + + + + + + + - - - - - - - + + - - + CSS variables · Bootstrap v5.3 -CSS variables · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    + + +
    +
    +
    + +

    CSS variables

    +
    +

    + Use Bootstrap’s CSS custom properties for fast and + forward-looking design and development. +

    +
    + +
    + + On this page +
    + +
    + +
    +

    + Bootstrap includes many + CSS custom properties (variables) + in its compiled CSS for real-time customization without the need to + recompile Sass. These provide easy access to commonly used values + like our theme colors, breakpoints, and primary font stacks when + working in your browser’s inspector, a code sandbox, or + general prototyping. +

    +

    + All our custom properties are prefixed with + bs- + to avoid conflicts with third party CSS. +

    +

    + Root variables + +

    +

    + Here are the variables we include (note that the + :root is required) that can be accessed anywhere + Bootstrap’s CSS is loaded. They’re located in our + _root.scss file and included in our compiled dist + files. +

    +

    + Default + +

    +

    + These CSS variables are available everywhere, regardless of color + mode. +

    +
    +
    :root,
    +[data-bs-theme=light] {
       --bs-blue: #0d6efd;
       --bs-indigo: #6610f2;
       --bs-purple: #6f42c1;
    @@ -391,6 +1722,7 @@ 

    Root variables

    --bs-green: #198754; --bs-teal: #20c997; --bs-cyan: #0dcaf0; + --bs-black: #000; --bs-white: #fff; --bs-gray: #6c757d; --bs-gray-dark: #343a40; @@ -419,11 +1751,33 @@

    Root variables

    --bs-danger-rgb: 220, 53, 69; --bs-light-rgb: 248, 249, 250; --bs-dark-rgb: 33, 37, 41; + --bs-primary-text-emphasis: #052c65; + --bs-secondary-text-emphasis: #2b2f32; + --bs-success-text-emphasis: #0a3622; + --bs-info-text-emphasis: #055160; + --bs-warning-text-emphasis: #664d03; + --bs-danger-text-emphasis: #58151c; + --bs-light-text-emphasis: #495057; + --bs-dark-text-emphasis: #495057; + --bs-primary-bg-subtle: #cfe2ff; + --bs-secondary-bg-subtle: #e2e3e5; + --bs-success-bg-subtle: #d1e7dd; + --bs-info-bg-subtle: #cff4fc; + --bs-warning-bg-subtle: #fff3cd; + --bs-danger-bg-subtle: #f8d7da; + --bs-light-bg-subtle: #fcfcfd; + --bs-dark-bg-subtle: #ced4da; + --bs-primary-border-subtle: #9ec5fe; + --bs-secondary-border-subtle: #c4c8cb; + --bs-success-border-subtle: #a3cfbb; + --bs-info-border-subtle: #9eeaf9; + --bs-warning-border-subtle: #ffe69c; + --bs-danger-border-subtle: #f1aeb5; + --bs-light-border-subtle: #e9ecef; + --bs-dark-border-subtle: #adb5bd; --bs-white-rgb: 255, 255, 255; --bs-black-rgb: 0, 0, 0; - --bs-body-color-rgb: 33, 37, 41; - --bs-body-bg-rgb: 255, 255, 255; - --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0)); --bs-body-font-family: var(--bs-font-sans-serif); @@ -431,97 +1785,541 @@

    Root variables

    --bs-body-font-weight: 400; --bs-body-line-height: 1.5; --bs-body-color: #212529; + --bs-body-color-rgb: 33, 37, 41; --bs-body-bg: #fff; + --bs-body-bg-rgb: 255, 255, 255; + --bs-emphasis-color: #000; + --bs-emphasis-color-rgb: 0, 0, 0; + --bs-secondary-color: rgba(33, 37, 41, 0.75); + --bs-secondary-color-rgb: 33, 37, 41; + --bs-secondary-bg: #e9ecef; + --bs-secondary-bg-rgb: 233, 236, 239; + --bs-tertiary-color: rgba(33, 37, 41, 0.5); + --bs-tertiary-color-rgb: 33, 37, 41; + --bs-tertiary-bg: #f8f9fa; + --bs-tertiary-bg-rgb: 248, 249, 250; + --bs-link-color: #0d6efd; + --bs-link-color-rgb: 13, 110, 253; + --bs-link-decoration: underline; + --bs-link-hover-color: #0a58ca; + --bs-link-hover-color-rgb: 10, 88, 202; + --bs-code-color: #d63384; + --bs-highlight-bg: #fff3cd; + --bs-border-width: 1px; + --bs-border-style: solid; + --bs-border-color: #dee2e6; + --bs-border-color-translucent: rgba(0, 0, 0, 0.175); + --bs-border-radius: 0.375rem; + --bs-border-radius-sm: 0.25rem; + --bs-border-radius-lg: 0.5rem; + --bs-border-radius-xl: 1rem; + --bs-border-radius-xxl: 2rem; + --bs-border-radius-2xl: var(--bs-border-radius-xxl); + --bs-border-radius-pill: 50rem; + --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); + --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); + --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175); + --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075); + --bs-focus-ring-width: 0.25rem; + --bs-focus-ring-opacity: 0.25; + --bs-focus-ring-color: rgba(13, 110, 253, 0.25); + --bs-form-valid-color: #198754; + --bs-form-valid-border-color: #198754; + --bs-form-invalid-color: #dc3545; + --bs-form-invalid-border-color: #dc3545; }
    -

    Component variables

    -

    We’re also beginning to make use of custom properties as local variables for various components. This way we can reduce our compiled CSS, ensure styles aren’t inherited in places like nested tables, and allow some basic restyling and extending of Bootstrap components after Sass compilation.

    -

    Have a look at our table documentation for some insight into how we’re using CSS variables.

    -

    We’re also using CSS variables across our grids—primarily for gutters—with more component usage coming in the future.

    -

    Examples

    -

    CSS variables offer similar flexibility to Sass’s variables, but without the need for compilation before being served to the browser. For example, here we’re resetting our page’s font and link styles with CSS variables.

    -
    body {
    -  font: 1rem/1.5 var(--bs-font-sans-serif);
    -}
    -a {
    -  color: var(--bs-blue);
    -}
    -

    Grid breakpoints

    -

    While we include our grid breakpoints as CSS variables (except for xs), be aware that CSS variables do not work in media queries. This is by design in the CSS spec for variables, but may change in coming years with support for env() variables. Check out this Stack Overflow answer for some helpful links. In the mean time, you can use these variables in other CSS situations, as well as in your JavaScript.

    - -
    -
    -
    + + +

    + Dark mode + +

    +

    These variables are scoped to our built-in dark mode.

    +
    +
    [data-bs-theme=dark] {
    +  color-scheme: dark;
    +  --bs-body-color: #adb5bd;
    +  --bs-body-color-rgb: 173, 181, 189;
    +  --bs-body-bg: #212529;
    +  --bs-body-bg-rgb: 33, 37, 41;
    +  --bs-emphasis-color: #fff;
    +  --bs-emphasis-color-rgb: 255, 255, 255;
    +  --bs-secondary-color: rgba(173, 181, 189, 0.75);
    +  --bs-secondary-color-rgb: 173, 181, 189;
    +  --bs-secondary-bg: #343a40;
    +  --bs-secondary-bg-rgb: 52, 58, 64;
    +  --bs-tertiary-color: rgba(173, 181, 189, 0.5);
    +  --bs-tertiary-color-rgb: 173, 181, 189;
    +  --bs-tertiary-bg: #2b3035;
    +  --bs-tertiary-bg-rgb: 43, 48, 53;
    +  --bs-primary-text-emphasis: #6ea8fe;
    +  --bs-secondary-text-emphasis: #a7acb1;
    +  --bs-success-text-emphasis: #75b798;
    +  --bs-info-text-emphasis: #6edff6;
    +  --bs-warning-text-emphasis: #ffda6a;
    +  --bs-danger-text-emphasis: #ea868f;
    +  --bs-light-text-emphasis: #f8f9fa;
    +  --bs-dark-text-emphasis: #dee2e6;
    +  --bs-primary-bg-subtle: #031633;
    +  --bs-secondary-bg-subtle: #161719;
    +  --bs-success-bg-subtle: #051b11;
    +  --bs-info-bg-subtle: #032830;
    +  --bs-warning-bg-subtle: #332701;
    +  --bs-danger-bg-subtle: #2c0b0e;
    +  --bs-light-bg-subtle: #343a40;
    +  --bs-dark-bg-subtle: #1a1d20;
    +  --bs-primary-border-subtle: #084298;
    +  --bs-secondary-border-subtle: #41464b;
    +  --bs-success-border-subtle: #0f5132;
    +  --bs-info-border-subtle: #087990;
    +  --bs-warning-border-subtle: #997404;
    +  --bs-danger-border-subtle: #842029;
    +  --bs-light-border-subtle: #495057;
    +  --bs-dark-border-subtle: #343a40;
    +  --bs-link-color: #6ea8fe;
    +  --bs-link-hover-color: #8bb9fe;
    +  --bs-link-color-rgb: 110, 168, 254;
    +  --bs-link-hover-color-rgb: 139, 185, 254;
    +  --bs-code-color: #e685b5;
    +  --bs-border-color: #495057;
    +  --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
    +  --bs-form-valid-color: #75b798;
    +  --bs-form-valid-border-color: #75b798;
    +  --bs-form-invalid-color: #ea868f;
    +  --bs-form-invalid-border-color: #ea868f;
    +}
    +
    +
    +

    + Component variables + +

    +

    + Bootstrap 5 is increasingly making use of custom properties as local + variables for various components. This way we reduce our compiled + CSS, ensure styles aren’t inherited in places like nested + tables, and allow some basic restyling and extending of Bootstrap + components after Sass compilation. +

    +

    + Have a look at our table documentation for some + insight into how we’re using CSS variables. Our + navbars also use CSS variables + as of v5.2.0. We’re also using CSS variables across our + grids—primarily for gutters the + new opt-in CSS grid—with more component usage coming in the future. +

    +

    + Whenever possible, we’ll assign CSS variables at the base + component level (e.g., .navbar for navbar and its + sub-components). This reduces guessing on where and how to + customize, and allows for easy modifications by our team in future + updates. +

    +

    + Prefix + +

    +

    + Most CSS variables use a prefix to avoid collisions with your own + codebase. This prefix is in addition to the + -- that’s required on every CSS variable. +

    +

    + Customize the prefix via the $prefix Sass variable. By + default, it’s set to bs- (note the trailing + dash). +

    +

    + Examples + +

    +

    + CSS variables offer similar flexibility to Sass’s variables, + but without the need for compilation before being served to the + browser. For example, here we’re resetting our page’s + font and link styles with CSS variables. +

    +
    +
    body {
    +  font: 1rem/1.5 var(--bs-font-sans-serif);
    +}
    +a {
    +  color: var(--bs-blue);
    +}
    +
    +
    +

    + Focus variables + +

    + Added in v5.3.0 +

    + Bootstrap provides custom :focus styles using a + combination of Sass and CSS variables that can be optionally added + to specific components and elements. We do not yet globally override + all :focus styles. +

    +

    + In our Sass, we set default values that can be customized before + compiling. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $focus-ring-width:      .25rem;
    +$focus-ring-opacity:    .25;
    +$focus-ring-color:      rgba($primary, $focus-ring-opacity);
    +$focus-ring-blur:       0;
    +$focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color;
    +
    +
    +
    +

    + Those variables are then reassigned to :root level CSS + variables that can be customized in real-time, including with + options for x and y offsets (which default + to their fallback value of 0). +

    +
    +
    + scss/_root.scss +
    + +
    +
    +
    +
    --#{$prefix}focus-ring-width: #{$focus-ring-width};
    +--#{$prefix}focus-ring-opacity: #{$focus-ring-opacity};
    +--#{$prefix}focus-ring-color: #{$focus-ring-color};
    +
    +
    +

    + Grid breakpoints + +

    +

    + While we include our grid breakpoints as CSS variables (except for + xs), be aware that + CSS variables do not work in media queries. This is + by design in the CSS spec for variables, but may change in coming + years with support for env() variables. Check out + this Stack Overflow answer + for some helpful links. In the meantime, you can use these variables + in other CSS situations, as well as in your JavaScript. +

    + + + - + - + + + - + - + + + + + diff --git a/customize/optimize/index.html b/customize/optimize/index.html index 90ffe43..a9e5fa5 100644 --- a/customize/optimize/index.html +++ b/customize/optimize/index.html @@ -1,559 +1,2215 @@ - - - - - - - - - - - - - - - -Optimize · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Optimize · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Optimize

    +
    +

    + Keep your projects lean, responsive, and maintainable so you can + deliver the best experience and focus on more important jobs. +

    - -
  • - - -
  • -
  • - - -
    -
      -
    • Approach
    • -
    • Icons
    • + +
      +

      + Lean Sass imports + +

      +

      + When using Sass in your asset pipeline, make sure you optimize + Bootstrap by only @importing the components you need. + Your largest optimizations will likely come from the + Layout & Components section of our + bootstrap.scss. +

      +
      +
      + scss/bootstrap.scss +
      + +
      +
      +
      +
      // Configuration
      +@import "functions";
      +@import "variables";
      +@import "variables-dark";
      +@import "maps";
      +@import "mixins";
      +@import "utilities";
      +
      +// Layout & components
      +@import "root";
      +@import "reboot";
      +@import "type";
      +@import "images";
      +@import "containers";
      +@import "grid";
      +@import "tables";
      +@import "forms";
      +@import "buttons";
      +@import "transitions";
      +@import "dropdown";
      +@import "button-group";
      +@import "nav";
      +@import "navbar";
      +@import "card";
      +@import "accordion";
      +@import "breadcrumb";
      +@import "pagination";
      +@import "badge";
      +@import "alert";
      +@import "progress";
      +@import "list-group";
      +@import "close";
      +@import "toasts";
      +@import "modal";
      +@import "tooltip";
      +@import "popover";
      +@import "carousel";
      +@import "spinners";
      +@import "offcanvas";
      +@import "placeholders";
      +
      +// Helpers
      +@import "helpers";
      +
      +// Utilities
      +@import "utilities/api";
      +
      +
      +
      +

      + If you’re not using a component, comment it out or delete it + entirely. For example, if you’re not using the carousel, + remove that import to save some file size in your compiled CSS. Keep + in mind there are some dependencies across Sass imports that may + make it more difficult to omit a file. +

      +

      + Lean JavaScript + +

      +

      + Bootstrap’s JavaScript includes every component in our primary + dist files (bootstrap.js and + bootstrap.min.js), and even our primary dependency + (Popper) with our bundle files (bootstrap.bundle.js and + bootstrap.bundle.min.js). While you’re + customizing via Sass, be sure to remove related JavaScript. +

      +

      + For instance, assuming you’re using your own JavaScript + bundler like Webpack, Parcel, or Vite, you’d only import the + JavaScript you plan on using. In the example below, we show how to + just include our modal JavaScript: +

      + +
      +
      // Import just what we need
      +
      +// import 'bootstrap/js/dist/alert';
      +// import 'bootstrap/js/dist/button';
      +// import 'bootstrap/js/dist/carousel';
      +// import 'bootstrap/js/dist/collapse';
      +// import 'bootstrap/js/dist/dropdown';
      +import 'bootstrap/js/dist/modal';
      +// import 'bootstrap/js/dist/offcanvas';
      +// import 'bootstrap/js/dist/popover';
      +// import 'bootstrap/js/dist/scrollspy';
      +// import 'bootstrap/js/dist/tab';
      +// import 'bootstrap/js/dist/toast';
      +// import 'bootstrap/js/dist/tooltip';
      +
      +
      +

      + This way, you’re not including any JavaScript you don’t + intend to use for components like buttons, carousels, and tooltips. + If you’re importing dropdowns, tooltips or popovers, be sure + to list the Popper dependency in your + package.json file. +

      +
      +

      + Heads up! Files in + bootstrap/js/dist use the + default export. To use them, do the following: +

      + +
      +
      import Modal from 'bootstrap/js/dist/modal'
      +const modal = new Modal(document.getElementById('myModal'))
      +
      +
      +
      + +

      + Autoprefixer .browserslistrc + +

      +

      + Bootstrap depends on Autoprefixer to automatically add browser + prefixes to certain CSS properties. Prefixes are dictated by our + .browserslistrc file, found in the root of the + Bootstrap repo. Customizing this list of browsers and recompiling + the Sass will automatically remove some CSS from your compiled CSS, + if there are vendor prefixes unique to that browser or version. +

      +

      + Unused CSS + +

      +

      + Help wanted with this section, please consider opening a PR. + Thanks! +

      +

      + While we don’t have a prebuilt example for using + PurgeCSS with + Bootstrap, there are some helpful articles and walkthroughs that the + community has written. Here are some options: +

      + -
      - -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        + Lastly, this + CSS Tricks article on unused CSS + shows how to use PurgeCSS and other similar tools. +

        +

        + Minify and gzip + +

        +

        + Whenever possible, be sure to compress all the code you serve to + your visitors. If you’re using Bootstrap dist files, try to + stick to the minified versions (indicated by the + .min.css and .min.js extensions). If + you’re building Bootstrap from the source with your own build + system, be sure to implement your own minifiers for HTML, CSS, and + JS. +

        +

        + Non-blocking files + +

        +

        + While minifying and using compression might seem like enough, making + your files non-blocking ones is also a big step in making your site + well-optimized and fast enough. +

        +

        + If you are using a + Lighthouse + plugin in Google Chrome, you may have stumbled over FCP. + The First Contentful Paint metric + measures the time from when the page starts loading to when any part + of the page’s content is rendered on the screen. +

        +

        + You can improve FCP by deferring non-critical JavaScript or CSS. + What does that mean? Simply, JavaScript or stylesheets that + don’t need to be present on the first paint of your page + should be marked with async or + defer attributes. +

        +

        + This ensures that the less important resources are loaded later and + not blocking the first paint. On the other hand, critical resources + can be included as inline scripts or styles. +

        +

        + If you want to learn more about this, there are already a lot of + great articles about it: +

        + +

        + Always use HTTPS + +

        +

        + Your website should only be available over HTTPS connections in + production. HTTPS improves the security, privacy, and availability + of all sites, and + there is no such thing as non-sensitive web traffic. The steps to configure your website to be served exclusively over + HTTPS vary widely depending on your architecture and web hosting + provider, and thus are beyond the scope of these docs. +

        +

        + Sites served over HTTPS should also access all stylesheets, scripts, + and other assets over HTTPS connections. Otherwise, you’ll be + sending users + mixed active content, leading to potential vulnerabilities where a site can be + compromised by altering a dependency. This can lead to security + issues and in-browser warnings displayed to users. Whether + you’re getting Bootstrap from a CDN or serving it yourself, + ensure that you only access it over HTTPS connections. +

      -
    • -
    • -
    • - - Migration - -
    • -
    - - - - -
    -
    -
    - View on GitHub -

    Optimize

    -
    -

    Keep your projects lean, responsive, and maintainable so you can deliver the best experience and focus on more important jobs.

    - - -
    - +
    +
    -
    - On this page - +
    +
    +
    +
    + + + Bootstrap + + + Bootstrap + + +
    +
    +
    Links
    + +
    +
    +
    Guides
    + +
    +
    +
    Projects
    + +
    +
    +
    Community
    + +
    - - -
    - - -

    Lean Sass imports

    -

    When using Sass in your asset pipeline, make sure you optimize Bootstrap by only @importing the components you need. Your largest optimizations will likely come from the Layout & Components section of our bootstrap.scss.

    -
    // Configuration
    -@import "functions";
    -@import "variables";
    -@import "mixins";
    -@import "utilities";
    -
    -// Layout & components
    -@import "root";
    -@import "reboot";
    -@import "type";
    -@import "images";
    -@import "containers";
    -@import "grid";
    -@import "tables";
    -@import "forms";
    -@import "buttons";
    -@import "transitions";
    -@import "dropdown";
    -@import "button-group";
    -@import "nav";
    -@import "navbar";
    -@import "card";
    -@import "accordion";
    -@import "breadcrumb";
    -@import "pagination";
    -@import "badge";
    -@import "alert";
    -@import "progress";
    -@import "list-group";
    -@import "close";
    -@import "toasts";
    -@import "modal";
    -@import "tooltip";
    -@import "popover";
    -@import "carousel";
    -@import "spinners";
    -@import "offcanvas";
    -@import "placeholders";
    -
    -// Helpers
    -@import "helpers";
    -
    -// Utilities
    -@import "utilities/api";
    -
    -

    If you’re not using a component, comment it out or delete it entirely. For example, if you’re not using the carousel, remove that import to save some file size in your compiled CSS. Keep in mind there are some dependencies across Sass imports that may make it more difficult to omit a file.

    -

    Lean JavaScript

    -

    Bootstrap’s JavaScript includes every component in our primary dist files (bootstrap.js and bootstrap.min.js), and even our primary dependency (Popper) with our bundle files (bootstrap.bundle.js and bootstrap.bundle.min.js). While you’re customizing via Sass, be sure to remove related JavaScript.

    -

    For instance, assuming you’re using your own JavaScript bundler like Webpack or Rollup, you’d only import the JavaScript you plan on using. In the example below, we show how to just include our modal JavaScript:

    -
    // Import just what we need
    -
    -// import 'bootstrap/js/dist/alert';
    -// import 'bootstrap/js/dist/button';
    -// import 'bootstrap/js/dist/carousel';
    -// import 'bootstrap/js/dist/collapse';
    -// import 'bootstrap/js/dist/dropdown';
    -import 'bootstrap/js/dist/modal';
    -// import 'bootstrap/js/dist/offcanvas';
    -// import 'bootstrap/js/dist/popover';
    -// import 'bootstrap/js/dist/scrollspy';
    -// import 'bootstrap/js/dist/tab';
    -// import 'bootstrap/js/dist/toast';
    -// import 'bootstrap/js/dist/tooltip';
    -

    This way, you’re not including any JavaScript you don’t intend to use for components like buttons, carousels, and tooltips. If you’re importing dropdowns, tooltips or popovers, be sure to list the Popper dependency in your package.json file.

    -
    -

    Default Exports

    -

    Files in bootstrap/js/dist use the default export, so if you want to use one of them you have to do the following:

    -
    import Modal from 'bootstrap/js/dist/modal'
    -
    -const modal = new Modal(document.getElementById('myModal'))
    -
    -
    - -

    Autoprefixer .browserslistrc

    -

    Bootstrap depends on Autoprefixer to automatically add browser prefixes to certain CSS properties. Prefixes are dictated by our .browserslistrc file, found in the root of the Bootstrap repo. Customizing this list of browsers and recompiling the Sass will automatically remove some CSS from your compiled CSS, if there are vendor prefixes unique to that browser or version.

    -

    Unused CSS

    -

    Help wanted with this section, please consider opening a PR. Thanks!

    -

    While we don’t have a prebuilt example for using PurgeCSS with Bootstrap, there are some helpful articles and walkthroughs that the community has written. Here are some options:

    - -

    Lastly, this CSS Tricks article on unused CSS shows how to use PurgeCSS and other similar tools.

    -

    Minify and gzip

    -

    Whenever possible, be sure to compress all the code you serve to your visitors. If you’re using Bootstrap dist files, try to stick to the minified versions (indicated by the .min.css and .min.js extensions). If you’re building Bootstrap from the source with your own build system, be sure to implement your own minifiers for HTML, CSS, and JS.

    -

    Non-blocking files

    -

    While minifying and using compression might seem like enough, making your files non-blocking ones is also a big step in making your site well-optimized and fast enough.

    -

    If you are using a Lighthouse plugin in Google Chrome, you may have stumbled over FCP. The First Contentful Paint metric measures the time from when the page starts loading to when any part of the page’s content is rendered on the screen.

    -

    You can improve FCP by deferring non-critical JavaScript or CSS. What does that mean? Simply, JavaScript or stylesheets that don’t need to be present on the first paint of your page should be marked with async or defer attributes.

    -

    This ensures that the less important resources are loaded later and not blocking the first paint. On the other hand, critical resources can be included as inline scripts or styles.

    -

    If you want to learn more about this, there are already a lot of great articles about it:

    - -

    Always use HTTPS

    -

    Your website should only be available over HTTPS connections in production. HTTPS improves the security, privacy, and availability of all sites, and there is no such thing as non-sensitive web traffic. The steps to configure your website to be served exclusively over HTTPS vary widely depending on your architecture and web hosting provider, and thus are beyond the scope of these docs.

    -

    Sites served over HTTPS should also access all stylesheets, scripts, and other assets over HTTPS connections. Otherwise, you’ll be sending users mixed active content, leading to potential vulnerabilities where a site can be compromised by altering a dependency. This can lead to security issues and in-browser warnings displayed to users. Whether you’re getting Bootstrap from a CDN or serving it yourself, ensure that you only access it over HTTPS connections.

    -
    -
  • -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/customize/options/index.html b/customize/options/index.html index eef24c1..93d69df 100644 --- a/customize/options/index.html +++ b/customize/options/index.html @@ -1,533 +1,2035 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Options · Bootstrap v5.3 -Options · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + +
    +
    +
    + +

    Options

    +
    +

    + Quickly customize Bootstrap with built-in variables to easily toggle + global CSS preferences for controlling style and behavior. +

    +
    + +
    +

    + Customize Bootstrap with our built-in custom variables file and + easily toggle global CSS preferences with new + $enable-* Sass variables. Override a variable’s + value and recompile with npm run test as needed. +

    +

    + You can find and customize these variables for key global options in + Bootstrap’s scss/_variables.scss file. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    VariableValuesDescription
    $spacer1rem (default), or any value > 0 + Specifies the default spacer value to programmatically + generate our + spacer utilities. +
    $enable-dark-modetrue (default) or false + Enables built-in + dark mode support + across the project and its components. +
    $enable-roundedtrue (default) or false + Enables predefined border-radius styles on + various components. +
    $enable-shadowstrue or false (default) + Enables predefined decorative box-shadow styles + on various components. Does not affect + box-shadows used for focus states. +
    $enable-gradientstrue or false (default) + Enables predefined gradients via + background-image styles on various components. +
    $enable-transitionstrue (default) or false + Enables predefined transitions on various + components. +
    $enable-reduced-motiontrue (default) or false + Enables the + prefers-reduced-motion media query, which suppresses certain animations/transitions based on + the users’ browser/operating system preferences. +
    $enable-grid-classestrue (default) or false + Enables the generation of CSS classes for the grid system + (e.g. .row, .col-md-1, etc.). +
    $enable-container-classestrue (default) or false + Enables the generation of CSS classes for layout containers. + (New in v5.2.0) +
    $enable-carettrue (default) or false + Enables pseudo element caret on + .dropdown-toggle. +
    $enable-button-pointerstrue (default) or false + Add “hand” cursor to non-disabled button + elements. +
    $enable-rfstrue (default) or false + Globally enables + RFS. +
    $enable-validation-iconstrue (default) or false + Enables background-image icons within textual + inputs and some custom forms for validation states. +
    $enable-negative-marginstrue or false (default) + Enables the generation of + negative margin utilities. +
    $enable-deprecation-messagestrue (default) or false + Set to false to hide warnings when using any of + the deprecated mixins and functions that are planned to be + removed in v6. +
    $enable-important-utilitiestrue (default) or false + Enables the !important suffix in utility + classes. +
    $enable-smooth-scrolltrue (default) or false + Applies scroll-behavior: smooth globally, + except for users asking for reduced motion through + prefers-reduced-motion media query +
    +
    +
    +
    - - - + + + + + - + - + + + + + diff --git a/customize/overview/index.html b/customize/overview/index.html index 5376c3e..52142e0 100644 --- a/customize/overview/index.html +++ b/customize/overview/index.html @@ -1,513 +1,2073 @@ - - - - - - - - - - - - - - - -Customize · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Customize · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - -
    - + + + Bootstrap + + + -
    -
    -
    - View on GitHub -

    Customize

    +
    + + +
    -

    Learn how to theme, customize, and extend Bootstrap with Sass, a boatload of global options, an expansive color system, and more.

    - - -
    +
    +
    +
    + Bootstrap +
    + +
    +
    +
    + + +
    + + +
    +
    + + + +
    + + +
    +
    +
    + +

    Customize

    +
    +

    + Learn how to theme, customize, and extend Bootstrap with Sass, a + boatload of global options, an expansive color system, and more. +

    +
    +
    +

    + Overview + +

    +

    + There are multiple ways to customize Bootstrap. Your best path can + depend on your project, the complexity of your build tools, the + version of Bootstrap you’re using, browser support, and more. +

    +

    Our two preferred methods are:

    +
      +
    1. + Using Bootstrap + via package manager + so you can use and extend our source files. +
    2. +
    3. + Using Bootstrap’s compiled distribution files or + jsDelivr + so you can add onto or override Bootstrap’s styles. +
    4. +
    +

    + While we cannot go into details here on how to use every package + manager, we can give some guidance on + using Bootstrap with your own Sass compiler. +

    +

    + For those who want to use the distribution files, review the + getting started page + for how to include those files and an example HTML page. From there, + consult the docs for the layout, components, and behaviors + you’d like to use. +

    +

    + As you familiarize yourself with Bootstrap, continue exploring this + section for more details on how to utilize our global options, + making use of and changing our color system, how we build our + components, how to use our growing list of CSS custom properties, + and how to optimize your code when building with Bootstrap. +

    +

    + CSPs and embedded SVGs + +

    +

    + Several Bootstrap components include embedded SVGs in our CSS to + style components consistently and easily across browsers and + devices. + For organizations with more strict + CSP + configurations, we’ve documented all instances of our embedded SVGs (all of + which are applied via background-image) so you can more + thoroughly review your options. +

    + +

    + Based on + community conversation, some options for addressing this in your own codebase include + replacing the URLs with locally hosted assets, removing the images and using inline images (not possible in all + components), and modifying your CSP. Our recommendation is to + carefully review your own security policies and decide on the best + path forward, if necessary. +

    +
    +
    +
    -

    Overview

    -

    There are multiple ways to customize Bootstrap. Your best path can depend on your project, the complexity of your build tools, the version of Bootstrap you’re using, browser support, and more.

    -

    Our two preferred methods are:

    -
      -
    1. Using Bootstrap via package manager so you can use and extend our source files.
    2. -
    3. Using Bootstrap’s compiled distribution files or jsDelivr so you can add onto or override Bootstrap’s styles.
    4. -
    -

    While we cannot go into details here on how to use every package manager, we can give some guidance on using Bootstrap with your own Sass compiler.

    -

    For those who want to use the distribution files, review the getting started page for how to include those files and an example HTML page. From there, consult the docs for the layout, components, and behaviors you’d like to use.

    -

    As you familiarize yourself with Bootstrap, continue exploring this section for more details on how to utilize our global options, making use of and changing our color system, how we build our components, how to use our growing list of CSS custom properties, and how to optimize your code when building with Bootstrap.

    -

    CSPs and embedded SVGs

    -

    Several Bootstrap components include embedded SVGs in our CSS to style components consistently and easily across browsers and devices. For organizations with more strict CSP configurations, we’ve documented all instances of our embedded SVGs (all of which are applied via background-image) so you can more thoroughly review your options.

    - -

    Based on community conversation, some options for addressing this in your own codebase include replacing the URLs with locally hosted assets, removing the images and using inline images (not possible in all components), and modifying your CSP. Our recommendation is to carefully review your own security policies and decide on the best path forward, if necessary.

    - +
    -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/customize/sass/index.html b/customize/sass/index.html index 8afb06d..e14094b 100644 --- a/customize/sass/index.html +++ b/customize/sass/index.html @@ -1,691 +1,2579 @@ - - - - - - - - - - - - - - - -Sass · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Sass · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Sass

    +
    +

    + Utilize our source Sass files to take advantage of variables, maps, + mixins, and functions to help you build faster and customize your + project. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Sass

    +
    + + On this page +
    +
    -

    Utilize our source Sass files to take advantage of variables, maps, mixins, and functions to help you build faster and customize your project.

    - -
    - - -
    - On this page - +
    +

    + Utilize our source Sass files to take advantage of variables, maps, + mixins, and more. +

    +

    + File structure + +

    +

    + Whenever possible, avoid modifying Bootstrap’s core files. For + Sass, that means creating your own stylesheet that imports Bootstrap + so you can modify and extend it. Assuming you’re using a + package manager like npm, you’ll have a file structure that + looks like this: +

    +
    +
    your-project/
    +├── scss
    +│   └── custom.scss
    +└── node_modules/
    +    └── bootstrap
    +        ├── js
    +        └── scss
    +
    +
    +

    + If you’ve downloaded our source files and aren’t using a + package manager, you’ll want to manually create something + similar to that structure, keeping Bootstrap’s source files + separate from your own. +

    +
    +
    your-project/
    +├── scss
    +│   └── custom.scss
    +└── bootstrap/
    +    ├── js
    +    └── scss
    +
    +
    +

    + Importing + +

    +

    + In your custom.scss, you’ll import + Bootstrap’s source Sass files. You have two options: include + all of Bootstrap, or pick the parts you need. We encourage the + latter, though be aware there are some requirements and dependencies + across our components. You also will need to include some JavaScript + for our plugins. +

    +
    +
    // Custom.scss
    +// Option A: Include all of Bootstrap
    +
    +// Include any default variable overrides here (though functions won't be available)
    +
    +@import "../node_modules/bootstrap/scss/bootstrap";
    +
    +// Then add additional custom code here
    +
    +
    +
    +
    // Custom.scss
    +// Option B: Include parts of Bootstrap
    +
    +// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)
    +@import "../node_modules/bootstrap/scss/functions";
    +
    +// 2. Include any default variable overrides here
    +
    +// 3. Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets)
    +@import "../node_modules/bootstrap/scss/variables";
    +@import "../node_modules/bootstrap/scss/variables-dark";
    +
    +// 4. Include any default map overrides here
    +
    +// 5. Include remainder of required parts
    +@import "../node_modules/bootstrap/scss/maps";
    +@import "../node_modules/bootstrap/scss/mixins";
    +@import "../node_modules/bootstrap/scss/root";
    +
    +// 6. Optionally include any other parts as needed
    +@import "../node_modules/bootstrap/scss/utilities";
    +@import "../node_modules/bootstrap/scss/reboot";
    +@import "../node_modules/bootstrap/scss/type";
    +@import "../node_modules/bootstrap/scss/images";
    +@import "../node_modules/bootstrap/scss/containers";
    +@import "../node_modules/bootstrap/scss/grid";
    +@import "../node_modules/bootstrap/scss/helpers";
    +
    +// 7. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss`
    +@import "../node_modules/bootstrap/scss/utilities/api";
    +
    +// 8. Add additional custom code here
    +
    +
    +

    + With that setup in place, you can begin to modify any of the Sass + variables and maps in your custom.scss. You can also + start to add parts of Bootstrap under the + // Optional section as needed. We suggest using the + full import stack from our bootstrap.scss file as your + starting point. +

    +

    + Variable defaults + +

    +

    + Every Sass variable in Bootstrap includes the + !default flag allowing you to override the + variable’s default value in your own Sass without modifying + Bootstrap’s source code. Copy and paste variables as needed, + modify their values, and remove the !default flag. If a + variable has already been assigned, then it won’t be + re-assigned by the default values in Bootstrap. +

    +

    + You will find the complete list of Bootstrap’s variables in + scss/_variables.scss. Some variables are set to + null, these variables don’t output the property + unless they are overridden in your configuration. +

    +

    + Variable overrides must come after our functions are imported, but + before the rest of the imports. +

    +

    + Here’s an example that changes the + background-color and color for the + <body> when importing and compiling Bootstrap via + npm: +

    +
    +
    // Required
    +@import "../node_modules/bootstrap/scss/functions";
    +
    +// Default variable overrides
    +$body-bg: #000;
    +$body-color: #111;
    +
    +// Required
    +@import "../node_modules/bootstrap/scss/variables";
    +@import "../node_modules/bootstrap/scss/variables-dark";
    +@import "../node_modules/bootstrap/scss/maps";
    +@import "../node_modules/bootstrap/scss/mixins";
    +@import "../node_modules/bootstrap/scss/root";
    +
    +// Optional Bootstrap components here
    +@import "../node_modules/bootstrap/scss/reboot";
    +@import "../node_modules/bootstrap/scss/type";
    +// etc
    +
    +
    +

    + Repeat as necessary for any variable in Bootstrap, including the + global options below. +

    +
    + Get started with Bootstrap via npm with our starter + project! + Head to the + Sass & JS example + template repository to see how to build and customize Bootstrap in + your own npm project. Includes Sass compiler, Autoprefixer, + Stylelint, PurgeCSS, and Bootstrap Icons. +
    + +

    + Maps and loops + +

    +

    + Bootstrap includes a handful of Sass maps, key value pairs that make + it easier to generate families of related CSS. We use Sass maps for + our colors, grid breakpoints, and more. Just like Sass variables, + all Sass maps include the !default flag and can be + overridden and extended. +

    +

    + Some of our Sass maps are merged into empty ones by default. This is + done to allow easy expansion of a given Sass map, but comes at the + cost of making removing items from a map slightly more + difficult. +

    +

    + Modify map + +

    +

    + All variables in the $theme-colors map are defined as + standalone variables. To modify an existing color in our + $theme-colors map, add the following to your custom + Sass file: +

    +
    +
    $primary: #0074d9;
    +$danger: #ff4136;
    +
    +
    +

    + Later on, these variables are set in Bootstrap’s + $theme-colors map: +

    +
    +
    $theme-colors: (
    +  "primary": $primary,
    +  "danger": $danger
    +);
    +
    +
    +

    + Add to map + +

    +

    + Add new colors to $theme-colors, or any other map, by + creating a new Sass map with your custom values and merging it with + the original map. In this case, we’ll create a new + $custom-colors map and merge it with + $theme-colors. +

    +
    +
    // Create your own map
    +$custom-colors: (
    +  "custom-color": #900
    +);
    +
    +// Merge the maps
    +$theme-colors: map-merge($theme-colors, $custom-colors);
    +
    +
    +

    + Remove from map + +

    +

    + To remove colors from $theme-colors, or any other map, + use map-remove. Be aware you must insert + $theme-colors between our requirements just after its + definition in variables and before its usage in + maps: +

    +
    +
    // Required
    +@import "../node_modules/bootstrap/scss/functions";
    +@import "../node_modules/bootstrap/scss/variables";
    +@import "../node_modules/bootstrap/scss/variables-dark";
    +
    +$theme-colors: map-remove($theme-colors, "info", "light", "dark");
    +
    +@import "../node_modules/bootstrap/scss/maps";
    +@import "../node_modules/bootstrap/scss/mixins";
    +@import "../node_modules/bootstrap/scss/root";
    +
    +// Optional
    +@import "../node_modules/bootstrap/scss/reboot";
    +@import "../node_modules/bootstrap/scss/type";
    +// etc
    +
    +
    +

    + Required keys + +

    +

    + Bootstrap assumes the presence of some specific keys within Sass + maps as we used and extend these ourselves. As you customize the + included maps, you may encounter errors where a specific Sass + map’s key is being used. +

    +

    + For example, we use the primary, success, + and danger keys from $theme-colors for + links, buttons, and form states. Replacing the values of these keys + should present no issues, but removing them may cause Sass + compilation issues. In these instances, you’ll need to modify + the Sass code that makes use of those values. +

    +

    + Functions + +

    +

    + Colors + +

    +

    + Next to the + Sass maps we have, + theme colors can also be used as standalone variables, like + $primary. +

    +
    +
    .custom-element {
    +  color: $gray-100;
    +  background-color: $dark;
    +}
    +
    +
    +

    + You can lighten or darken colors with Bootstrap’s + tint-color() and shade-color() functions. + These functions will mix colors with black or white, unlike + Sass’ native lighten() and + darken() functions which will change the lightness by a + fixed amount, which often doesn’t lead to the desired effect. +

    +
    +
    + scss/_functions.scss +
    + +
    +
    +
    +
    // Tint a color: mix a color with white
    +@function tint-color($color, $weight) {
    +  @return mix(white, $color, $weight);
    +}
    +
    +// Shade a color: mix a color with black
    +@function shade-color($color, $weight) {
    +  @return mix(black, $color, $weight);
    +}
    +
    +// Shade the color if the weight is positive, else tint it
    +@function shift-color($color, $weight) {
    +  @return if($weight > 0, shade-color($color, $weight), tint-color($color, -$weight));
    +}
    +
    +
    +
    +

    + In practice, you’d call the function and pass in the color and + weight parameters. +

    +
    +
    .custom-element {
    +  color: tint-color($primary, 10%);
    +}
    +
    +.custom-element-2 {
    +  color: shade-color($danger, 30%);
    +}
    +
    +
    +

    + Color contrast + +

    +

    + In order to meet the + Web Content Accessibility Guidelines (WCAG) + contrast requirements, authors must provide a + minimum + text color contrast of 4.5:1 + and a minimum + non-text color contrast of 3:1, with very few exceptions. +

    +

    + To help with this, we included the + color-contrast function in Bootstrap. It uses the + WCAG contrast ratio algorithm + for calculating contrast thresholds based on + relative luminance + in an sRGB color space to automatically return a light + (#fff), dark (#212529) or black + (#000) contrast color based on the specified base + color. This function is especially useful for mixins or loops where + you’re generating multiple classes. +

    +

    + For example, to generate color swatches from our + $theme-colors map: +

    +
    +
    @each $color, $value in $theme-colors {
    +  .swatch-#{$color} {
    +    color: color-contrast($value);
    +  }
    +}
    +
    +
    +

    It can also be used for one-off contrast needs:

    +
    +
    .custom-element {
    +  color: color-contrast(#000); // returns `color: #fff`
    +}
    +
    +
    +

    You can also specify a base color with our color map functions:

    +
    +
    .custom-element {
    +  color: color-contrast($dark); // returns `color: #fff`
    +}
    +
    +
    +

    + Escape SVG + +

    +

    + We use the escape-svg function to escape the + <, > and # characters + for SVG background images. When using the + escape-svg function, data URIs must be quoted. +

    +

    + Add and Subtract functions + +

    +

    + We use the add and subtract functions to + wrap the CSS calc function. The primary purpose of + these functions is to avoid errors when a “unitless” + 0 value is passed into a calc expression. + Expressions like calc(10px - 0) will return an error in + all browsers, despite being mathematically correct. +

    +

    Example where the calc is valid:

    +
    +
    $border-radius: .25rem;
    +$border-width: 1px;
    +
    +.element {
    +  // Output calc(.25rem - 1px) is valid
    +  border-radius: calc($border-radius - $border-width);
    +}
    +
    +.element {
    +  // Output the same calc(.25rem - 1px) as above
    +  border-radius: subtract($border-radius, $border-width);
    +}
    +
    +
    +

    Example where the calc is invalid:

    +
    +
    $border-radius: .25rem;
    +$border-width: 0;
    +
    +.element {
    +  // Output calc(.25rem - 0) is invalid
    +  border-radius: calc($border-radius - $border-width);
    +}
    +
    +.element {
    +  // Output .25rem
    +  border-radius: subtract($border-radius, $border-width);
    +}
    +
    +
    +

    + Mixins + +

    +

    + Our scss/mixins/ directory has a ton of mixins that + power parts of Bootstrap and can also be used across your own + project. +

    +

    + Color schemes + +

    +

    + A shorthand mixin for the prefers-color-scheme media + query is available with support for light, + dark, and custom color schemes. See + the color modes documentation + for information on our color mode mixin. +

    +
    +
    + scss/mixins/_color-scheme.scss +
    + +
    +
    +
    +
    @mixin color-scheme($name) {
    +  @media (prefers-color-scheme: #{$name}) {
    +    @content;
    +  }
    +}
    +
    +
    +
    +
    +
    .custom-element {
    +  @include color-scheme(dark) {
    +    // Insert dark mode styles here
    +  }
    +
    +  @include color-scheme(custom-named-scheme) {
    +    // Insert custom color scheme styles here
    +  }
    +}
    +
    +
    +
    +
    - -
    - - -

    Utilize our source Sass files to take advantage of variables, maps, mixins, and more.

    -

    File structure

    -

    Whenever possible, avoid modifying Bootstrap’s core files. For Sass, that means creating your own stylesheet that imports Bootstrap so you can modify and extend it. Assuming you’re using a package manager like npm, you’ll have a file structure that looks like this:

    -
    your-project/
    -├── scss
    -│   └── custom.scss
    -└── node_modules/
    -    └── bootstrap
    -        ├── js
    -        └── scss
    -

    If you’ve downloaded our source files and aren’t using a package manager, you’ll want to manually setup something similar to that structure, keeping Bootstrap’s source files separate from your own.

    -
    your-project/
    -├── scss
    -│   └── custom.scss
    -└── bootstrap/
    -    ├── js
    -    └── scss
    -

    Importing

    -

    In your custom.scss, you’ll import Bootstrap’s source Sass files. You have two options: include all of Bootstrap, or pick the parts you need. We encourage the latter, though be aware there are some requirements and dependencies across our components. You also will need to include some JavaScript for our plugins.

    -
    // Custom.scss
    -// Option A: Include all of Bootstrap
    -
    -// Include any default variable overrides here (though functions won't be available)
    -
    -@import "../node_modules/bootstrap/scss/bootstrap";
    -
    -// Then add additional custom code here
    -
    // Custom.scss
    -// Option B: Include parts of Bootstrap
    -
    -// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)
    -@import "../node_modules/bootstrap/scss/functions";
    -
    -// 2. Include any default variable overrides here
    -
    -// 3. Include remainder of required Bootstrap stylesheets
    -@import "../node_modules/bootstrap/scss/variables";
    -@import "../node_modules/bootstrap/scss/mixins";
    -@import "../node_modules/bootstrap/scss/root";
    -
    -// 4. Include any optional Bootstrap CSS as needed
    -@import "../node_modules/bootstrap/scss/utilities";
    -@import "../node_modules/bootstrap/scss/reboot";
    -@import "../node_modules/bootstrap/scss/type";
    -@import "../node_modules/bootstrap/scss/images";
    -@import "../node_modules/bootstrap/scss/containers";
    -@import "../node_modules/bootstrap/scss/grid";
    -@import "../node_modules/bootstrap/scss/helpers";
    -
    -// 5. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss`
    -@import "../node_modules/bootstrap/scss/utilities/api";
    -
    -// 6. Add additional custom code here
    -

    With that setup in place, you can begin to modify any of the Sass variables and maps in your custom.scss. You can also start to add parts of Bootstrap under the // Optional section as needed. We suggest using the full import stack from our bootstrap.scss file as your starting point.

    -

    Variable defaults

    -

    Every Sass variable in Bootstrap includes the !default flag allowing you to override the variable’s default value in your own Sass without modifying Bootstrap’s source code. Copy and paste variables as needed, modify their values, and remove the !default flag. If a variable has already been assigned, then it won’t be re-assigned by the default values in Bootstrap.

    -

    You will find the complete list of Bootstrap’s variables in scss/_variables.scss. Some variables are set to null, these variables don’t output the property unless they are overridden in your configuration.

    -

    Variable overrides must come after our functions are imported, but before the rest of the imports.

    -

    Here’s an example that changes the background-color and color for the <body> when importing and compiling Bootstrap via npm:

    -
    // Required
    -@import "../node_modules/bootstrap/scss/functions";
    -
    -// Default variable overrides
    -$body-bg: #000;
    -$body-color: #111;
    -
    -// Required
    -@import "../node_modules/bootstrap/scss/variables";
    -@import "../node_modules/bootstrap/scss/mixins";
    -@import "../node_modules/bootstrap/scss/root";
    -
    -// Optional Bootstrap components here
    -@import "../node_modules/bootstrap/scss/reboot";
    -@import "../node_modules/bootstrap/scss/type";
    -// etc
    -

    Repeat as necessary for any variable in Bootstrap, including the global options below.

    -
    -Get started with Bootstrap via npm with our starter project! Head to the twbs/bootstrap-npm-starter template repository to see how to build and customize Bootstrap in your own npm project. Includes Sass compiler, Autoprefixer, Stylelint, PurgeCSS, and Bootstrap Icons. -
    - -

    Maps and loops

    -

    Bootstrap includes a handful of Sass maps, key value pairs that make it easier to generate families of related CSS. We use Sass maps for our colors, grid breakpoints, and more. Just like Sass variables, all Sass maps include the !default flag and can be overridden and extended.

    -

    Some of our Sass maps are merged into empty ones by default. This is done to allow easy expansion of a given Sass map, but comes at the cost of making removing items from a map slightly more difficult.

    -

    Modify map

    -

    All variables in the $theme-colors map are defined as standalone variables. To modify an existing color in our $theme-colors map, add the following to your custom Sass file:

    -
    $primary: #0074d9;
    -$danger: #ff4136;
    -

    Later on, these variables are set in Bootstrap’s $theme-colors map:

    -
    $theme-colors: (
    -  "primary": $primary,
    -  "danger": $danger
    -);
    -

    Add to map

    -

    Add new colors to $theme-colors, or any other map, by creating a new Sass map with your custom values and merging it with the original map. In this case, we’ll create a new $custom-colors map and merge it with $theme-colors.

    -
    // Create your own map
    -$custom-colors: (
    -  "custom-color": #900
    -);
    -
    -// Merge the maps
    -$theme-colors: map-merge($theme-colors, $custom-colors);
    -

    Remove from map

    -

    To remove colors from $theme-colors, or any other map, use map-remove. Be aware you must insert it between our requirements and options:

    -
    // Required
    -@import "../node_modules/bootstrap/scss/functions";
    -@import "../node_modules/bootstrap/scss/variables";
    -@import "../node_modules/bootstrap/scss/mixins";
    -@import "../node_modules/bootstrap/scss/root";
    -
    -$theme-colors: map-remove($theme-colors, "info", "light", "dark");
    -
    -// Optional
    -@import "../node_modules/bootstrap/scss/reboot";
    -@import "../node_modules/bootstrap/scss/type";
    -// etc
    -

    Required keys

    -

    Bootstrap assumes the presence of some specific keys within Sass maps as we used and extend these ourselves. As you customize the included maps, you may encounter errors where a specific Sass map’s key is being used.

    -

    For example, we use the primary, success, and danger keys from $theme-colors for links, buttons, and form states. Replacing the values of these keys should present no issues, but removing them may cause Sass compilation issues. In these instances, you’ll need to modify the Sass code that makes use of those values.

    -

    Functions

    -

    Colors

    -

    Next to the Sass maps we have, theme colors can also be used as standalone variables, like $primary.

    -
    .custom-element {
    -  color: $gray-100;
    -  background-color: $dark;
    -}
    -

    You can lighten or darken colors with Bootstrap’s tint-color() and shade-color() functions. These functions will mix colors with black or white, unlike Sass' native lighten() and darken() functions which will change the lightness by a fixed amount, which often doesn’t lead to the desired effect.

    -
    // Tint a color: mix a color with white
    -@function tint-color($color, $weight) {
    -  @return mix(white, $color, $weight);
    -}
    -
    -// Shade a color: mix a color with black
    -@function shade-color($color, $weight) {
    -  @return mix(black, $color, $weight);
    -}
    -
    -// Shade the color if the weight is positive, else tint it
    -@function shift-color($color, $weight) {
    -  @return if($weight > 0, shade-color($color, $weight), tint-color($color, -$weight));
    -}
    -
    -

    In practice, you’d call the function and pass in the color and weight parameters.

    -
    .custom-element {
    -  color: tint-color($primary, 10%);
    -}
    -
    -.custom-element-2 {
    -  color: shade-color($danger, 30%);
    -}
    -

    Color contrast

    -

    In order to meet WCAG 2.0 accessibility standards for color contrast, authors must provide a contrast ratio of at least 4.5:1, with very few exceptions.

    -

    An additional function we include in Bootstrap is the color contrast function, color-contrast. It utilizes the WCAG 2.0 algorithm for calculating contrast thresholds based on relative luminance in a sRGB colorspace to automatically return a light (#fff), dark (#212529) or black (#000) contrast color based on the specified base color. This function is especially useful for mixins or loops where you’re generating multiple classes.

    -

    For example, to generate color swatches from our $theme-colors map:

    -
    @each $color, $value in $theme-colors {
    -  .swatch-#{$color} {
    -    color: color-contrast($value);
    -  }
    -}
    -

    It can also be used for one-off contrast needs:

    -
    .custom-element {
    -  color: color-contrast(#000); // returns `color: #fff`
    -}
    -

    You can also specify a base color with our color map functions:

    -
    .custom-element {
    -  color: color-contrast($dark); // returns `color: #fff`
    -}
    -

    Escape SVG

    -

    We use the escape-svg function to escape the <, > and # characters for SVG background images. When using the escape-svg function, data URIs must be quoted.

    -

    Add and Subtract functions

    -

    We use the add and subtract functions to wrap the CSS calc function. The primary purpose of these functions is to avoid errors when a “unitless” 0 value is passed into a calc expression. Expressions like calc(10px - 0) will return an error in all browsers, despite being mathematically correct.

    -

    Example where the calc is valid:

    -
    $border-radius: .25rem;
    -$border-width: 1px;
    -
    -.element {
    -  // Output calc(.25rem - 1px) is valid
    -  border-radius: calc($border-radius - $border-width);
    -}
    -
    -.element {
    -  // Output the same calc(.25rem - 1px) as above
    -  border-radius: subtract($border-radius, $border-width);
    -}
    -

    Example where the calc is invalid:

    -
    $border-radius: .25rem;
    -$border-width: 0;
    -
    -.element {
    -  // Output calc(.25rem - 0) is invalid
    -  border-radius: calc($border-radius - $border-width);
    -}
    -
    -.element {
    -  // Output .25rem
    -  border-radius: subtract($border-radius, $border-width);
    -}
    -

    Mixins

    -

    Our scss/mixins/ directory has a ton of mixins that power parts of Bootstrap and can also be used across your own project.

    -

    Color schemes

    -

    A shorthand mixin for the prefers-color-scheme media query is available with support for light, dark, and custom color schemes.

    -
    @mixin color-scheme($name) {
    -  @media (prefers-color-scheme: #{$name}) {
    -    @content;
    -  }
    -}
    -
    -
    .custom-element {
    -  @include color-scheme(dark) {
    -    // Insert dark mode styles here
    -  }
    -
    -  @include color-scheme(custom-named-scheme) {
    -    // Insert custom color scheme styles here
    -  }
    -}
    -
    +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/dist/css/bootstrap.min.css b/dist/css/bootstrap.min.css index da65434..bd8d04f 100644 --- a/dist/css/bootstrap.min.css +++ b/dist/css/bootstrap.min.css @@ -1,7 +1,6 @@ @charset "UTF-8";/*! - * Bootstrap v5.1.3 (https://getbootstrap.com/) - * Copyright 2011-2021 The Bootstrap Authors - * Copyright 2011-2021 Twitter, Inc. + * Bootstrap v5.3.0-alpha3 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{width:100%;padding-right:var(--bs-gutter-x,.75rem);padding-left:var(--bs-gutter-x,.75rem);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-bg:transparent;--bs-table-accent-bg:transparent;--bs-table-striped-color:#212529;--bs-table-striped-bg:rgba(0, 0, 0, 0.05);--bs-table-active-color:#212529;--bs-table-active-bg:rgba(0, 0, 0, 0.1);--bs-table-hover-color:#212529;--bs-table-hover-bg:rgba(0, 0, 0, 0.075);width:100%;margin-bottom:1rem;color:#212529;vertical-align:top;border-color:#dee2e6}.table>:not(caption)>*>*{padding:.5rem .5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:first-child){border-top:2px solid currentColor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-bg:#cfe2ff;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:#000;border-color:#bacbe6}.table-secondary{--bs-table-bg:#e2e3e5;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:#000;border-color:#cbccce}.table-success{--bs-table-bg:#d1e7dd;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:#000;border-color:#bcd0c7}.table-info{--bs-table-bg:#cff4fc;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:#000;border-color:#badce3}.table-warning{--bs-table-bg:#fff3cd;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:#000;border-color:#e6dbb9}.table-danger{--bs-table-bg:#f8d7da;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:#000;border-color:#dfc2c4}.table-light{--bs-table-bg:#f8f9fa;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:#000;border-color:#dfe0e1}.table-dark{--bs-table-bg:#212529;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:#fff;border-color:#373b3e}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:auto;padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{height:1.5em;border-radius:.25rem}.form-control-color::-webkit-color-swatch{height:1.5em;border-radius:.25rem}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(0.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.2rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.3rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;height:100%;padding:1rem .75rem;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus{z-index:3}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:3}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(25,135,84,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#198754}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:#198754}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:#198754}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group .form-control.is-valid,.input-group .form-select.is-valid,.was-validated .input-group .form-control:valid,.was-validated .input-group .form-select:valid{z-index:1}.input-group .form-control.is-valid:focus,.input-group .form-select.is-valid:focus,.was-validated .input-group .form-control:valid:focus,.was-validated .input-group .form-select:valid:focus{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:#dc3545}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#dc3545}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:#dc3545}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group .form-control.is-invalid,.input-group .form-select.is-invalid,.was-validated .input-group .form-control:invalid,.was-validated .input-group .form-select:invalid{z-index:2}.input-group .form-control.is-invalid:focus,.input-group .form-select.is-invalid:focus,.was-validated .input-group .form-control:invalid:focus,.was-validated .input-group .form-select:invalid:focus{z-index:3}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn-check:focus+.btn,.btn:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{pointer-events:none;opacity:.65}.btn-primary{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-primary:hover{color:#fff;background-color:#0b5ed7;border-color:#0a58ca}.btn-check:focus+.btn-primary,.btn-primary:focus{color:#fff;background-color:#0b5ed7;border-color:#0a58ca;box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-check:active+.btn-primary,.btn-check:checked+.btn-primary,.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0a58ca;border-color:#0a53be}.btn-check:active+.btn-primary:focus,.btn-check:checked+.btn-primary:focus,.btn-primary.active:focus,.btn-primary:active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5c636a;border-color:#565e64}.btn-check:focus+.btn-secondary,.btn-secondary:focus{color:#fff;background-color:#5c636a;border-color:#565e64;box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-check:active+.btn-secondary,.btn-check:checked+.btn-secondary,.btn-secondary.active,.btn-secondary:active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#565e64;border-color:#51585e}.btn-check:active+.btn-secondary:focus,.btn-check:checked+.btn-secondary:focus,.btn-secondary.active:focus,.btn-secondary:active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-success{color:#fff;background-color:#198754;border-color:#198754}.btn-success:hover{color:#fff;background-color:#157347;border-color:#146c43}.btn-check:focus+.btn-success,.btn-success:focus{color:#fff;background-color:#157347;border-color:#146c43;box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-check:active+.btn-success,.btn-check:checked+.btn-success,.btn-success.active,.btn-success:active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#146c43;border-color:#13653f}.btn-check:active+.btn-success:focus,.btn-check:checked+.btn-success:focus,.btn-success.active:focus,.btn-success:active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#198754;border-color:#198754}.btn-info{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-info:hover{color:#000;background-color:#31d2f2;border-color:#25cff2}.btn-check:focus+.btn-info,.btn-info:focus{color:#000;background-color:#31d2f2;border-color:#25cff2;box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-check:active+.btn-info,.btn-check:checked+.btn-info,.btn-info.active,.btn-info:active,.show>.btn-info.dropdown-toggle{color:#000;background-color:#3dd5f3;border-color:#25cff2}.btn-check:active+.btn-info:focus,.btn-check:checked+.btn-info:focus,.btn-info.active:focus,.btn-info:active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-info.disabled,.btn-info:disabled{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-warning{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#000;background-color:#ffca2c;border-color:#ffc720}.btn-check:focus+.btn-warning,.btn-warning:focus{color:#000;background-color:#ffca2c;border-color:#ffc720;box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-check:active+.btn-warning,.btn-check:checked+.btn-warning,.btn-warning.active,.btn-warning:active,.show>.btn-warning.dropdown-toggle{color:#000;background-color:#ffcd39;border-color:#ffc720}.btn-check:active+.btn-warning:focus,.btn-check:checked+.btn-warning:focus,.btn-warning.active:focus,.btn-warning:active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#bb2d3b;border-color:#b02a37}.btn-check:focus+.btn-danger,.btn-danger:focus{color:#fff;background-color:#bb2d3b;border-color:#b02a37;box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-check:active+.btn-danger,.btn-check:checked+.btn-danger,.btn-danger.active,.btn-danger:active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#b02a37;border-color:#a52834}.btn-check:active+.btn-danger:focus,.btn-check:checked+.btn-danger:focus,.btn-danger.active:focus,.btn-danger:active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-light{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:focus+.btn-light,.btn-light:focus{color:#000;background-color:#f9fafb;border-color:#f9fafb;box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-check:active+.btn-light,.btn-check:checked+.btn-light,.btn-light.active,.btn-light:active,.show>.btn-light.dropdown-toggle{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:active+.btn-light:focus,.btn-check:checked+.btn-light:focus,.btn-light.active:focus,.btn-light:active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-light.disabled,.btn-light:disabled{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-dark{color:#fff;background-color:#212529;border-color:#212529}.btn-dark:hover{color:#fff;background-color:#1c1f23;border-color:#1a1e21}.btn-check:focus+.btn-dark,.btn-dark:focus{color:#fff;background-color:#1c1f23;border-color:#1a1e21;box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-check:active+.btn-dark,.btn-check:checked+.btn-dark,.btn-dark.active,.btn-dark:active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1a1e21;border-color:#191c1f}.btn-check:active+.btn-dark:focus,.btn-check:checked+.btn-dark:focus,.btn-dark.active:focus,.btn-dark:active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#212529;border-color:#212529}.btn-outline-primary{color:#0d6efd;border-color:#0d6efd}.btn-outline-primary:hover{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:focus+.btn-outline-primary,.btn-outline-primary:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:active+.btn-outline-primary:focus,.btn-check:checked+.btn-outline-primary:focus,.btn-outline-primary.active:focus,.btn-outline-primary.dropdown-toggle.show:focus,.btn-outline-primary:active:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#0d6efd;background-color:transparent}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:focus+.btn-outline-secondary,.btn-outline-secondary:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-check:active+.btn-outline-secondary,.btn-check:checked+.btn-outline-secondary,.btn-outline-secondary.active,.btn-outline-secondary.dropdown-toggle.show,.btn-outline-secondary:active{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:active+.btn-outline-secondary:focus,.btn-check:checked+.btn-outline-secondary:focus,.btn-outline-secondary.active:focus,.btn-outline-secondary.dropdown-toggle.show:focus,.btn-outline-secondary:active:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-success{color:#198754;border-color:#198754}.btn-outline-success:hover{color:#fff;background-color:#198754;border-color:#198754}.btn-check:focus+.btn-outline-success,.btn-outline-success:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-check:active+.btn-outline-success,.btn-check:checked+.btn-outline-success,.btn-outline-success.active,.btn-outline-success.dropdown-toggle.show,.btn-outline-success:active{color:#fff;background-color:#198754;border-color:#198754}.btn-check:active+.btn-outline-success:focus,.btn-check:checked+.btn-outline-success:focus,.btn-outline-success.active:focus,.btn-outline-success.dropdown-toggle.show:focus,.btn-outline-success:active:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#198754;background-color:transparent}.btn-outline-info{color:#0dcaf0;border-color:#0dcaf0}.btn-outline-info:hover{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:focus+.btn-outline-info,.btn-outline-info:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-check:active+.btn-outline-info,.btn-check:checked+.btn-outline-info,.btn-outline-info.active,.btn-outline-info.dropdown-toggle.show,.btn-outline-info:active{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:active+.btn-outline-info:focus,.btn-check:checked+.btn-outline-info:focus,.btn-outline-info.active:focus,.btn-outline-info.dropdown-toggle.show:focus,.btn-outline-info:active:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#0dcaf0;background-color:transparent}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:focus+.btn-outline-warning,.btn-outline-warning:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-check:active+.btn-outline-warning,.btn-check:checked+.btn-outline-warning,.btn-outline-warning.active,.btn-outline-warning.dropdown-toggle.show,.btn-outline-warning:active{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:active+.btn-outline-warning:focus,.btn-check:checked+.btn-outline-warning:focus,.btn-outline-warning.active:focus,.btn-outline-warning.dropdown-toggle.show:focus,.btn-outline-warning:active:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:focus+.btn-outline-danger,.btn-outline-danger:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-check:active+.btn-outline-danger,.btn-check:checked+.btn-outline-danger,.btn-outline-danger.active,.btn-outline-danger.dropdown-toggle.show,.btn-outline-danger:active{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:active+.btn-outline-danger:focus,.btn-check:checked+.btn-outline-danger:focus,.btn-outline-danger.active:focus,.btn-outline-danger.dropdown-toggle.show:focus,.btn-outline-danger:active:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:focus+.btn-outline-light,.btn-outline-light:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-check:active+.btn-outline-light,.btn-check:checked+.btn-outline-light,.btn-outline-light.active,.btn-outline-light.dropdown-toggle.show,.btn-outline-light:active{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:active+.btn-outline-light:focus,.btn-check:checked+.btn-outline-light:focus,.btn-outline-light.active:focus,.btn-outline-light.dropdown-toggle.show:focus,.btn-outline-light:active:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-dark{color:#212529;border-color:#212529}.btn-outline-dark:hover{color:#fff;background-color:#212529;border-color:#212529}.btn-check:focus+.btn-outline-dark,.btn-outline-dark:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-check:active+.btn-outline-dark,.btn-check:checked+.btn-outline-dark,.btn-outline-dark.active,.btn-outline-dark.dropdown-toggle.show,.btn-outline-dark:active{color:#fff;background-color:#212529;border-color:#212529}.btn-check:active+.btn-outline-dark:focus,.btn-check:checked+.btn-outline-dark:focus,.btn-outline-dark.active:focus,.btn-outline-dark.dropdown-toggle.show:focus,.btn-outline-dark:active:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#212529;background-color:transparent}.btn-link{font-weight:400;color:#0d6efd;text-decoration:underline}.btn-link:hover{color:#0a58ca}.btn-link.disabled,.btn-link:disabled{color:#6c757d}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropend,.dropstart,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:.125rem}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid rgba(0,0,0,.15)}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0d6efd}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1rem;color:#212529}.dropdown-menu-dark{color:#dee2e6;background-color:#343a40;border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item{color:#dee2e6}.dropdown-menu-dark .dropdown-item:focus,.dropdown-menu-dark .dropdown-item:hover{color:#fff;background-color:rgba(255,255,255,.15)}.dropdown-menu-dark .dropdown-item.active,.dropdown-menu-dark .dropdown-item:active{color:#fff;background-color:#0d6efd}.dropdown-menu-dark .dropdown-item.disabled,.dropdown-menu-dark .dropdown-item:disabled{color:#adb5bd}.dropdown-menu-dark .dropdown-divider{border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item-text{color:#dee2e6}.dropdown-menu-dark .dropdown-header{color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-left:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;color:#0d6efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:#0a58ca}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;background:0 0;border:1px solid transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6;isolation:isolate}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.nav-pills .nav-link{background:0 0;border:0;border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#0d6efd}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;text-decoration:none;white-space:nowrap}.navbar-nav{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-right:0;padding-left:0}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem;transition:box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 .25rem}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas-header{display:none}.navbar-expand-sm .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-sm .offcanvas-bottom,.navbar-expand-sm .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas-header{display:none}.navbar-expand-md .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-md .offcanvas-bottom,.navbar-expand-md .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas-header{display:none}.navbar-expand-lg .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-lg .offcanvas-bottom,.navbar-expand-lg .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas-header{display:none}.navbar-expand-xl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-xl .offcanvas-bottom,.navbar-expand-xl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand-xxl .offcanvas-bottom,.navbar-expand-xxl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:.5rem;padding-left:.5rem}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas-header{display:none}.navbar-expand .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-right:0;border-left:0;transition:none;transform:none}.navbar-expand .offcanvas-bottom,.navbar-expand .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.55)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.55);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.55)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.55)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.55);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.55)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:1rem 1rem}.card-title{margin-bottom:.5rem}.card-subtitle{margin-top:-.25rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:1rem}.card-header{padding:.5rem 1rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.5rem 1rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.5rem;margin-bottom:-.5rem;margin-left:-.5rem;border-bottom:0}.card-header-pills{margin-right:-.5rem;margin-left:-.5rem}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.card-group>.card{margin-bottom:.75rem}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:1rem 1.25rem;font-size:1rem;color:#212529;text-align:left;background-color:#fff;border:0;border-radius:0;overflow-anchor:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:#0c63e4;background-color:#e7f1ff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.125)}.accordion-button:not(.collapsed)::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");transform:rotate(-180deg)}.accordion-button::after{flex-shrink:0;width:1.25rem;height:1.25rem;margin-left:auto;content:"";background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-size:1.25rem;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.accordion-header{margin-bottom:0}.accordion-item{background-color:#fff;border:1px solid rgba(0,0,0,.125)}.accordion-item:first-of-type{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.accordion-item:first-of-type .accordion-button{border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.accordion-body{padding:1rem 1.25rem}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button{border-radius:0}.breadcrumb{display:flex;flex-wrap:wrap;padding:0 0;margin-bottom:1rem;list-style:none}.breadcrumb-item+.breadcrumb-item{padding-left:.5rem}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:.5rem;color:#6c757d;content:var(--bs-breadcrumb-divider, "../../../../index.html")}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;color:#0d6efd;text-decoration:none;background-color:#fff;border:1px solid #dee2e6;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:#0a58ca;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;color:#0a58ca;background-color:#e9ecef;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item.active .page-link{z-index:3;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;background-color:#fff;border-color:#dee2e6}.page-link{padding:.375rem .75rem}.page-item:first-child .page-link{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{position:relative;padding:1rem 1rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{color:#084298;background-color:#cfe2ff;border-color:#b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{color:#41464b;background-color:#e2e3e5;border-color:#d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{color:#0f5132;background-color:#d1e7dd;border-color:#badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{color:#055160;background-color:#cff4fc;border-color:#b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{color:#664d03;background-color:#fff3cd;border-color:#ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{color:#842029;background-color:#f8d7da;border-color:#f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{color:#636464;background-color:#fefefe;border-color:#fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{color:#141619;background-color:#d3d3d4;border-color:#bcbebf}.alert-dark .alert-link{color:#101214}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:1rem}}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#0d6efd;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:1s linear infinite progress-bar-stripes;animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:.25rem}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>li::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.5rem 1rem;color:#212529;text-decoration:none;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child{border-bottom-left-radius:.25rem;border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child{border-top-right-radius:.25rem;border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:1px;border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:-1px;border-left-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.25rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25);opacity:1}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .5rem 1rem rgba(0,0,0,.15);border-radius:.25rem}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:.75rem}.toast-header{display:flex;align-items:center;padding:.5rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-left-radius:calc(.25rem - 1px);border-top-right-radius:calc(.25rem - 1px)}.toast-header .btn-close{margin-right:-.375rem;margin-left:.75rem}.toast-body{padding:.75rem;word-wrap:break-word}.modal{position:fixed;top:0;left:0;z-index:1055;display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;left:0;z-index:1050;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.modal-header .btn-close{padding:.5rem .5rem;margin:-.5rem -.5rem -.5rem auto}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-right-radius:calc(.3rem - 1px);border-bottom-left-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{height:calc(100% - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}.modal-fullscreen .modal-footer{border-radius:0}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}.modal-fullscreen-sm-down .modal-footer{border-radius:0}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}.modal-fullscreen-md-down .modal-footer{border-radius:0}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}.modal-fullscreen-lg-down .modal-footer{border-radius:0}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}.modal-fullscreen-xl-down .modal-footer{border-radius:0}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}.modal-fullscreen-xxl-down .modal-footer{border-radius:0}}.tooltip{position:absolute;z-index:1080;display:block;margin:0;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .tooltip-arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[data-popper-placement^=right],.bs-tooltip-end{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.bs-tooltip-auto[data-popper-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[data-popper-placement^=left],.bs-tooltip-start{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1070;display:block;max-width:276px;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .popover-arrow{position:absolute;display:block;width:1rem;height:.5rem}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:1rem;margin-left:-.5rem;content:"";border-bottom:1px solid #f0f0f0}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:1rem;background-color:#f0f0f0;border-bottom:1px solid rgba(0,0,0,.2);border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:1rem 1rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}@-webkit-keyframes spinner-border{to{transform:rotate(360deg)}}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:.75s linear infinite spinner-border;animation:.75s linear infinite spinner-border}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:.75s linear infinite spinner-grow;animation:.75s linear infinite spinner-grow}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.offcanvas{position:fixed;bottom:0;z-index:1045;display:flex;flex-direction:column;max-width:100%;visibility:hidden;background-color:#fff;background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1rem}.offcanvas-header .btn-close{padding:.5rem .5rem;margin-top:-.5rem;margin-right:-.5rem;margin-bottom:-.5rem}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:1rem 1rem;overflow-y:auto}.offcanvas-start{top:0;left:0;width:400px;border-right:1px solid rgba(0,0,0,.2);transform:translateX(-100%)}.offcanvas-end{top:0;right:0;width:400px;border-left:1px solid rgba(0,0,0,.2);transform:translateX(100%)}.offcanvas-top{top:0;right:0;left:0;height:30vh;max-height:100%;border-bottom:1px solid rgba(0,0,0,.2);transform:translateY(-100%)}.offcanvas-bottom{right:0;left:0;height:30vh;max-height:100%;border-top:1px solid rgba(0,0,0,.2);transform:translateY(100%)}.offcanvas.show{transform:none}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentColor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{-webkit-animation:placeholder-glow 2s ease-in-out infinite;animation:placeholder-glow 2s ease-in-out infinite}@-webkit-keyframes placeholder-glow{50%{opacity:.2}}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;-webkit-animation:placeholder-wave 2s linear infinite;animation:placeholder-wave 2s linear infinite}@-webkit-keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.link-primary{color:#0d6efd}.link-primary:focus,.link-primary:hover{color:#0a58ca}.link-secondary{color:#6c757d}.link-secondary:focus,.link-secondary:hover{color:#565e64}.link-success{color:#198754}.link-success:focus,.link-success:hover{color:#146c43}.link-info{color:#0dcaf0}.link-info:focus,.link-info:hover{color:#3dd5f3}.link-warning{color:#ffc107}.link-warning:focus,.link-warning:hover{color:#ffcd39}.link-danger{color:#dc3545}.link-danger:focus,.link-danger:hover{color:#b02a37}.link-light{color:#f8f9fa}.link-light:focus,.link-light:hover{color:#f9fafb}.link-dark{color:#212529}.link-dark:focus,.link-dark:hover{color:#1a1e21}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentColor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:1px solid #dee2e6!important}.border-0{border:0!important}.border-top{border-top:1px solid #dee2e6!important}.border-top-0{border-top:0!important}.border-end{border-right:1px solid #dee2e6!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:1px solid #dee2e6!important}.border-start-0{border-left:0!important}.border-primary{border-color:#0d6efd!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#198754!important}.border-info{border-color:#0dcaf0!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-white{border-color:#fff!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:#6c757d!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:.25rem!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:.2rem!important}.rounded-2{border-radius:.25rem!important}.rounded-3{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-top{border-top-left-radius:.25rem!important;border-top-right-radius:.25rem!important}.rounded-end{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-bottom{border-bottom-right-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-start{border-bottom-left-radius:.25rem!important;border-top-left-radius:.25rem!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}} + */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#adb5bd;--bs-body-color-rgb:173,181,189;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(173, 181, 189, 0.75);--bs-secondary-color-rgb:173,181,189;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(173, 181, 189, 0.5);--bs-tertiary-color-rgb:173,181,189;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color,inherit)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color:var(--bs-body-color);--bs-table-bg:transparent;--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-body-color);--bs-table-striped-bg:rgba(0, 0, 0, 0.05);--bs-table-active-color:var(--bs-body-color);--bs-table-active-bg:rgba(0, 0, 0, 0.1);--bs-table-hover-color:var(--bs-body-color);--bs-table-hover-bg:rgba(0, 0, 0, 0.075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#bacbe6;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#cbccce;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#bcd0c7;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#badce3;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#e6dbb9;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#dfc2c4;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#dfe0e1;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#373b3e;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control-plaintext~label::after,.form-floating>.form-control:focus~label::after,.form-floating>.form-control:not(:placeholder-shown)~label::after,.form-floating>.form-select~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label{color:#6c757d}.form-floating>:disabled~label::after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(var(--bs-border-width) * -1);border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty::after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:0.5rem;--bs-dropdown-spacer:0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:0.5rem;--bs-dropdown-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:0.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty::after{margin-left:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-left:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, 0.15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-left:calc(var(--bs-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-left:0}.dropstart .dropdown-toggle-split::before{margin-right:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:0.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), 0.65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), 0.8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), 0.3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:0.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:0.5rem;--bs-navbar-toggler-padding-y:0.25rem;--bs-navbar-toggler-padding-x:0.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), 0.15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:0.25rem;--bs-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color:rgba(255, 255, 255, 0.55);--bs-navbar-hover-color:rgba(255, 255, 255, 0.75);--bs-navbar-disabled-color:rgba(255, 255, 255, 0.25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, 0.1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:0.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:0.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), 0.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-left-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform 0.2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color:#86b7fe;--bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button::after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "https://getbootstrap.com/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:0.5rem;--bs-pagination-padding-y:0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:0.65em;--bs-badge-padding-y:0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width 0.6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{filter:var(--bs-btn-close-white-filter)}[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:0.5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:0.5rem;--bs-tooltip-padding-y:0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:0.9;--bs-tooltip-arrow-width:0.8rem;--bs-tooltip-arrow-height:0.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:0.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color: ;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:0.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-top>.popover-arrow::before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-end>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-start>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-offcanvas-transition:transform 0.3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:575.98px){.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}}@media (max-width:575.98px){.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:767.98px){.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:767.98px){.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:767.98px){.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:767.98px){.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}}@media (max-width:767.98px){.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:991.98px){.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}}@media (max-width:991.98px){.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:1199.98px){.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}}@media (max-width:1199.98px){.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:1399.98px){.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}}@media (max-width:1399.98px){.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(13,110,253,var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))}.link-secondary{color:RGBA(var(--bs-secondary-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))}.link-success{color:RGBA(var(--bs-success-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))}.link-info{color:RGBA(var(--bs-info-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))}.link-warning{color:RGBA(var(--bs-warning-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))}.link-danger{color:RGBA(var(--bs-danger-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))}.link-light{color:RGBA(var(--bs-light-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))}.link-dark{color:RGBA(var(--bs-dark-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75));-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75));text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-underline-offset:0.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(.25em,0,0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translateX(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:0.1}.border-opacity-25{--bs-border-opacity:0.25}.border-opacity-50{--bs-border-opacity:0.5}.border-opacity-75{--bs-border-opacity:0.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10{--bs-link-opacity:0.1}.link-opacity-10-hover:hover{--bs-link-opacity:0.1}.link-opacity-25{--bs-link-opacity:0.25}.link-opacity-25-hover:hover{--bs-link-opacity:0.25}.link-opacity-50{--bs-link-opacity:0.5}.link-opacity-50-hover:hover{--bs-link-opacity:0.5}.link-opacity-75{--bs-link-opacity:0.75}.link-opacity-75-hover:hover{--bs-link-opacity:0.75}.link-opacity-100{--bs-link-opacity:1}.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1{text-underline-offset:0.125em!important}.link-offset-1-hover:hover{text-underline-offset:0.125em!important}.link-offset-2{text-underline-offset:0.25em!important}.link-offset-2-hover:hover{text-underline-offset:0.25em!important}.link-offset-3{text-underline-offset:0.375em!important}.link-offset-3-hover:hover{text-underline-offset:0.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0{--bs-link-underline-opacity:0}.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10{--bs-link-underline-opacity:0.1}.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:0.1}.link-underline-opacity-25{--bs-link-underline-opacity:0.25}.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:0.25}.link-underline-opacity-50{--bs-link-underline-opacity:0.5}.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:0.5}.link-underline-opacity-75{--bs-link-underline-opacity:0.75}.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:0.75}.link-underline-opacity-100{--bs-link-underline-opacity:1}.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}} /*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/dist/css/bootstrap.rtl.min.css b/dist/css/bootstrap.rtl.min.css index b024b2d..7a57697 100644 --- a/dist/css/bootstrap.rtl.min.css +++ b/dist/css/bootstrap.rtl.min.css @@ -1,7 +1,6 @@ @charset "UTF-8";/*! - * Bootstrap v5.1.3 (https://getbootstrap.com/) - * Copyright 2011-2021 The Bootstrap Authors - * Copyright 2011-2021 Twitter, Inc. + * Bootstrap v5.3.0-alpha3 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;background-color:currentColor;border:0;opacity:.25}hr:not([size]){height:1px}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[data-bs-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-right:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-right:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.2em;background-color:#fcf8e3}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#0d6efd;text-decoration:underline}a:hover{color:#0a58ca}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em;direction:ltr;unicode-bidi:bidi-override}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:#d63384;word-wrap:break-word}a>code{color:inherit}kbd{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem}kbd kbd{padding:0;font-size:1em;font-weight:700}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:right}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]::-webkit-calendar-picker-indicator{display:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:right;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:right}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=email],[type=number],[type=tel],[type=url]{direction:ltr}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit}::file-selector-button{font:inherit}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-right:0;list-style:none}.list-inline{padding-right:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-left:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #dee2e6;border-radius:.25rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{width:100%;padding-left:var(--bs-gutter-x,.75rem);padding-right:var(--bs-gutter-x,.75rem);margin-left:auto;margin-right:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-left:calc(-.5 * var(--bs-gutter-x));margin-right:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-left:calc(var(--bs-gutter-x) * .5);padding-right:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-right:8.33333333%}.offset-2{margin-right:16.66666667%}.offset-3{margin-right:25%}.offset-4{margin-right:33.33333333%}.offset-5{margin-right:41.66666667%}.offset-6{margin-right:50%}.offset-7{margin-right:58.33333333%}.offset-8{margin-right:66.66666667%}.offset-9{margin-right:75%}.offset-10{margin-right:83.33333333%}.offset-11{margin-right:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-right:0}.offset-sm-1{margin-right:8.33333333%}.offset-sm-2{margin-right:16.66666667%}.offset-sm-3{margin-right:25%}.offset-sm-4{margin-right:33.33333333%}.offset-sm-5{margin-right:41.66666667%}.offset-sm-6{margin-right:50%}.offset-sm-7{margin-right:58.33333333%}.offset-sm-8{margin-right:66.66666667%}.offset-sm-9{margin-right:75%}.offset-sm-10{margin-right:83.33333333%}.offset-sm-11{margin-right:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-right:0}.offset-md-1{margin-right:8.33333333%}.offset-md-2{margin-right:16.66666667%}.offset-md-3{margin-right:25%}.offset-md-4{margin-right:33.33333333%}.offset-md-5{margin-right:41.66666667%}.offset-md-6{margin-right:50%}.offset-md-7{margin-right:58.33333333%}.offset-md-8{margin-right:66.66666667%}.offset-md-9{margin-right:75%}.offset-md-10{margin-right:83.33333333%}.offset-md-11{margin-right:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-right:0}.offset-lg-1{margin-right:8.33333333%}.offset-lg-2{margin-right:16.66666667%}.offset-lg-3{margin-right:25%}.offset-lg-4{margin-right:33.33333333%}.offset-lg-5{margin-right:41.66666667%}.offset-lg-6{margin-right:50%}.offset-lg-7{margin-right:58.33333333%}.offset-lg-8{margin-right:66.66666667%}.offset-lg-9{margin-right:75%}.offset-lg-10{margin-right:83.33333333%}.offset-lg-11{margin-right:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-right:0}.offset-xl-1{margin-right:8.33333333%}.offset-xl-2{margin-right:16.66666667%}.offset-xl-3{margin-right:25%}.offset-xl-4{margin-right:33.33333333%}.offset-xl-5{margin-right:41.66666667%}.offset-xl-6{margin-right:50%}.offset-xl-7{margin-right:58.33333333%}.offset-xl-8{margin-right:66.66666667%}.offset-xl-9{margin-right:75%}.offset-xl-10{margin-right:83.33333333%}.offset-xl-11{margin-right:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-right:0}.offset-xxl-1{margin-right:8.33333333%}.offset-xxl-2{margin-right:16.66666667%}.offset-xxl-3{margin-right:25%}.offset-xxl-4{margin-right:33.33333333%}.offset-xxl-5{margin-right:41.66666667%}.offset-xxl-6{margin-right:50%}.offset-xxl-7{margin-right:58.33333333%}.offset-xxl-8{margin-right:66.66666667%}.offset-xxl-9{margin-right:75%}.offset-xxl-10{margin-right:83.33333333%}.offset-xxl-11{margin-right:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-bg:transparent;--bs-table-accent-bg:transparent;--bs-table-striped-color:#212529;--bs-table-striped-bg:rgba(0, 0, 0, 0.05);--bs-table-active-color:#212529;--bs-table-active-bg:rgba(0, 0, 0, 0.1);--bs-table-hover-color:#212529;--bs-table-hover-bg:rgba(0, 0, 0, 0.075);width:100%;margin-bottom:1rem;color:#212529;vertical-align:top;border-color:#dee2e6}.table>:not(caption)>*>*{padding:.5rem .5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:first-child){border-top:2px solid currentColor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-bg:#cfe2ff;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:#000;border-color:#bacbe6}.table-secondary{--bs-table-bg:#e2e3e5;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:#000;border-color:#cbccce}.table-success{--bs-table-bg:#d1e7dd;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:#000;border-color:#bcd0c7}.table-info{--bs-table-bg:#cff4fc;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:#000;border-color:#badce3}.table-warning{--bs-table-bg:#fff3cd;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:#000;border-color:#e6dbb9}.table-danger{--bs-table-bg:#f8d7da;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:#000;border-color:#dfc2c4}.table-light{--bs-table-bg:#f8f9fa;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:#000;border-color:#dfe0e1}.table-dark{--bs-table-bg:#212529;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:#fff;border-color:#373b3e}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::-moz-placeholder{color:#6c757d;opacity:1}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.form-control[readonly]{background-color:#e9ecef;opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-left:0;padding-right:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:auto;padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{height:1.5em;border-radius:.25rem}.form-control-color::-webkit-color-swatch{height:1.5em;border-radius:.25rem}.form-select{display:block;width:100%;padding:.375rem .75rem .375rem 2.25rem;-moz-padding-start:calc(0.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:left .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-left:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-right:.5rem;font-size:.875rem;border-radius:.2rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-right:1rem;font-size:1.25rem;border-radius:.3rem}.form-check{display:block;min-height:1.5rem;padding-right:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:right;margin-right:-1.5em}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{opacity:.5}.form-switch{padding-right:2.5em}.form-switch .form-check-input{width:2em;margin-right:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:right center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:left center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-check-inline{display:inline-block;margin-left:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;right:0;height:100%;padding:1rem .75rem;pointer-events:none;border:1px solid transparent;transform-origin:100% 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control{padding:1rem .75rem}.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus{z-index:3}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:3}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-left:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu){border-top-left-radius:0;border-bottom-left-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(25,135,84,.9);border-radius:.25rem}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:#198754;padding-left:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:left calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-left:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) left calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:#198754}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{padding-left:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:left .75rem center,center left 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:#198754}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:#198754}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-right:.5em}.input-group .form-control.is-valid,.input-group .form-select.is-valid,.was-validated .input-group .form-control:valid,.was-validated .input-group .form-select:valid{z-index:1}.input-group .form-control.is-valid:focus,.input-group .form-select.is-valid:focus,.was-validated .input-group .form-control:valid:focus,.was-validated .input-group .form-select:valid:focus{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:rgba(220,53,69,.9);border-radius:.25rem}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:#dc3545;padding-left:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:left calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-left:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) left calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:#dc3545}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{padding-left:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:left .75rem center,center left 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:#dc3545}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:#dc3545}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-right:.5em}.input-group .form-control.is-invalid,.input-group .form-select.is-invalid,.was-validated .input-group .form-control:invalid,.was-validated .input-group .form-select:invalid{z-index:2}.input-group .form-control.is-invalid:focus,.input-group .form-select.is-invalid:focus,.was-validated .input-group .form-control:invalid:focus,.was-validated .input-group .form-select:invalid:focus{z-index:3}.btn{display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:#212529}.btn-check:focus+.btn,.btn:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{pointer-events:none;opacity:.65}.btn-primary{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-primary:hover{color:#fff;background-color:#0b5ed7;border-color:#0a58ca}.btn-check:focus+.btn-primary,.btn-primary:focus{color:#fff;background-color:#0b5ed7;border-color:#0a58ca;box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-check:active+.btn-primary,.btn-check:checked+.btn-primary,.btn-primary.active,.btn-primary:active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#0a58ca;border-color:#0a53be}.btn-check:active+.btn-primary:focus,.btn-check:checked+.btn-primary:focus,.btn-primary.active:focus,.btn-primary:active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(49,132,253,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-secondary{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-secondary:hover{color:#fff;background-color:#5c636a;border-color:#565e64}.btn-check:focus+.btn-secondary,.btn-secondary:focus{color:#fff;background-color:#5c636a;border-color:#565e64;box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-check:active+.btn-secondary,.btn-check:checked+.btn-secondary,.btn-secondary.active,.btn-secondary:active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#565e64;border-color:#51585e}.btn-check:active+.btn-secondary:focus,.btn-check:checked+.btn-secondary:focus,.btn-secondary.active:focus,.btn-secondary:active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(130,138,145,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-success{color:#fff;background-color:#198754;border-color:#198754}.btn-success:hover{color:#fff;background-color:#157347;border-color:#146c43}.btn-check:focus+.btn-success,.btn-success:focus{color:#fff;background-color:#157347;border-color:#146c43;box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-check:active+.btn-success,.btn-check:checked+.btn-success,.btn-success.active,.btn-success:active,.show>.btn-success.dropdown-toggle{color:#fff;background-color:#146c43;border-color:#13653f}.btn-check:active+.btn-success:focus,.btn-check:checked+.btn-success:focus,.btn-success.active:focus,.btn-success:active:focus,.show>.btn-success.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(60,153,110,.5)}.btn-success.disabled,.btn-success:disabled{color:#fff;background-color:#198754;border-color:#198754}.btn-info{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-info:hover{color:#000;background-color:#31d2f2;border-color:#25cff2}.btn-check:focus+.btn-info,.btn-info:focus{color:#000;background-color:#31d2f2;border-color:#25cff2;box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-check:active+.btn-info,.btn-check:checked+.btn-info,.btn-info.active,.btn-info:active,.show>.btn-info.dropdown-toggle{color:#000;background-color:#3dd5f3;border-color:#25cff2}.btn-check:active+.btn-info:focus,.btn-check:checked+.btn-info:focus,.btn-info.active:focus,.btn-info:active:focus,.show>.btn-info.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(11,172,204,.5)}.btn-info.disabled,.btn-info:disabled{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-warning{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-warning:hover{color:#000;background-color:#ffca2c;border-color:#ffc720}.btn-check:focus+.btn-warning,.btn-warning:focus{color:#000;background-color:#ffca2c;border-color:#ffc720;box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-check:active+.btn-warning,.btn-check:checked+.btn-warning,.btn-warning.active,.btn-warning:active,.show>.btn-warning.dropdown-toggle{color:#000;background-color:#ffcd39;border-color:#ffc720}.btn-check:active+.btn-warning:focus,.btn-check:checked+.btn-warning:focus,.btn-warning.active:focus,.btn-warning:active:focus,.show>.btn-warning.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(217,164,6,.5)}.btn-warning.disabled,.btn-warning:disabled{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-danger:hover{color:#fff;background-color:#bb2d3b;border-color:#b02a37}.btn-check:focus+.btn-danger,.btn-danger:focus{color:#fff;background-color:#bb2d3b;border-color:#b02a37;box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-check:active+.btn-danger,.btn-check:checked+.btn-danger,.btn-danger.active,.btn-danger:active,.show>.btn-danger.dropdown-toggle{color:#fff;background-color:#b02a37;border-color:#a52834}.btn-check:active+.btn-danger:focus,.btn-check:checked+.btn-danger:focus,.btn-danger.active:focus,.btn-danger:active:focus,.show>.btn-danger.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(225,83,97,.5)}.btn-danger.disabled,.btn-danger:disabled{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-light{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-light:hover{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:focus+.btn-light,.btn-light:focus{color:#000;background-color:#f9fafb;border-color:#f9fafb;box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-check:active+.btn-light,.btn-check:checked+.btn-light,.btn-light.active,.btn-light:active,.show>.btn-light.dropdown-toggle{color:#000;background-color:#f9fafb;border-color:#f9fafb}.btn-check:active+.btn-light:focus,.btn-check:checked+.btn-light:focus,.btn-light.active:focus,.btn-light:active:focus,.show>.btn-light.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(211,212,213,.5)}.btn-light.disabled,.btn-light:disabled{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-dark{color:#fff;background-color:#212529;border-color:#212529}.btn-dark:hover{color:#fff;background-color:#1c1f23;border-color:#1a1e21}.btn-check:focus+.btn-dark,.btn-dark:focus{color:#fff;background-color:#1c1f23;border-color:#1a1e21;box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-check:active+.btn-dark,.btn-check:checked+.btn-dark,.btn-dark.active,.btn-dark:active,.show>.btn-dark.dropdown-toggle{color:#fff;background-color:#1a1e21;border-color:#191c1f}.btn-check:active+.btn-dark:focus,.btn-check:checked+.btn-dark:focus,.btn-dark.active:focus,.btn-dark:active:focus,.show>.btn-dark.dropdown-toggle:focus{box-shadow:0 0 0 .25rem rgba(66,70,73,.5)}.btn-dark.disabled,.btn-dark:disabled{color:#fff;background-color:#212529;border-color:#212529}.btn-outline-primary{color:#0d6efd;border-color:#0d6efd}.btn-outline-primary:hover{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:focus+.btn-outline-primary,.btn-outline-primary:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-check:active+.btn-outline-primary,.btn-check:checked+.btn-outline-primary,.btn-outline-primary.active,.btn-outline-primary.dropdown-toggle.show,.btn-outline-primary:active{color:#fff;background-color:#0d6efd;border-color:#0d6efd}.btn-check:active+.btn-outline-primary:focus,.btn-check:checked+.btn-outline-primary:focus,.btn-outline-primary.active:focus,.btn-outline-primary.dropdown-toggle.show:focus,.btn-outline-primary:active:focus{box-shadow:0 0 0 .25rem rgba(13,110,253,.5)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{color:#0d6efd;background-color:transparent}.btn-outline-secondary{color:#6c757d;border-color:#6c757d}.btn-outline-secondary:hover{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:focus+.btn-outline-secondary,.btn-outline-secondary:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-check:active+.btn-outline-secondary,.btn-check:checked+.btn-outline-secondary,.btn-outline-secondary.active,.btn-outline-secondary.dropdown-toggle.show,.btn-outline-secondary:active{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-check:active+.btn-outline-secondary:focus,.btn-check:checked+.btn-outline-secondary:focus,.btn-outline-secondary.active:focus,.btn-outline-secondary.dropdown-toggle.show:focus,.btn-outline-secondary:active:focus{box-shadow:0 0 0 .25rem rgba(108,117,125,.5)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{color:#6c757d;background-color:transparent}.btn-outline-success{color:#198754;border-color:#198754}.btn-outline-success:hover{color:#fff;background-color:#198754;border-color:#198754}.btn-check:focus+.btn-outline-success,.btn-outline-success:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-check:active+.btn-outline-success,.btn-check:checked+.btn-outline-success,.btn-outline-success.active,.btn-outline-success.dropdown-toggle.show,.btn-outline-success:active{color:#fff;background-color:#198754;border-color:#198754}.btn-check:active+.btn-outline-success:focus,.btn-check:checked+.btn-outline-success:focus,.btn-outline-success.active:focus,.btn-outline-success.dropdown-toggle.show:focus,.btn-outline-success:active:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}.btn-outline-success.disabled,.btn-outline-success:disabled{color:#198754;background-color:transparent}.btn-outline-info{color:#0dcaf0;border-color:#0dcaf0}.btn-outline-info:hover{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:focus+.btn-outline-info,.btn-outline-info:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-check:active+.btn-outline-info,.btn-check:checked+.btn-outline-info,.btn-outline-info.active,.btn-outline-info.dropdown-toggle.show,.btn-outline-info:active{color:#000;background-color:#0dcaf0;border-color:#0dcaf0}.btn-check:active+.btn-outline-info:focus,.btn-check:checked+.btn-outline-info:focus,.btn-outline-info.active:focus,.btn-outline-info.dropdown-toggle.show:focus,.btn-outline-info:active:focus{box-shadow:0 0 0 .25rem rgba(13,202,240,.5)}.btn-outline-info.disabled,.btn-outline-info:disabled{color:#0dcaf0;background-color:transparent}.btn-outline-warning{color:#ffc107;border-color:#ffc107}.btn-outline-warning:hover{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:focus+.btn-outline-warning,.btn-outline-warning:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-check:active+.btn-outline-warning,.btn-check:checked+.btn-outline-warning,.btn-outline-warning.active,.btn-outline-warning.dropdown-toggle.show,.btn-outline-warning:active{color:#000;background-color:#ffc107;border-color:#ffc107}.btn-check:active+.btn-outline-warning:focus,.btn-check:checked+.btn-outline-warning:focus,.btn-outline-warning.active:focus,.btn-outline-warning.dropdown-toggle.show:focus,.btn-outline-warning:active:focus{box-shadow:0 0 0 .25rem rgba(255,193,7,.5)}.btn-outline-warning.disabled,.btn-outline-warning:disabled{color:#ffc107;background-color:transparent}.btn-outline-danger{color:#dc3545;border-color:#dc3545}.btn-outline-danger:hover{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:focus+.btn-outline-danger,.btn-outline-danger:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-check:active+.btn-outline-danger,.btn-check:checked+.btn-outline-danger,.btn-outline-danger.active,.btn-outline-danger.dropdown-toggle.show,.btn-outline-danger:active{color:#fff;background-color:#dc3545;border-color:#dc3545}.btn-check:active+.btn-outline-danger:focus,.btn-check:checked+.btn-outline-danger:focus,.btn-outline-danger.active:focus,.btn-outline-danger.dropdown-toggle.show:focus,.btn-outline-danger:active:focus{box-shadow:0 0 0 .25rem rgba(220,53,69,.5)}.btn-outline-danger.disabled,.btn-outline-danger:disabled{color:#dc3545;background-color:transparent}.btn-outline-light{color:#f8f9fa;border-color:#f8f9fa}.btn-outline-light:hover{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:focus+.btn-outline-light,.btn-outline-light:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-check:active+.btn-outline-light,.btn-check:checked+.btn-outline-light,.btn-outline-light.active,.btn-outline-light.dropdown-toggle.show,.btn-outline-light:active{color:#000;background-color:#f8f9fa;border-color:#f8f9fa}.btn-check:active+.btn-outline-light:focus,.btn-check:checked+.btn-outline-light:focus,.btn-outline-light.active:focus,.btn-outline-light.dropdown-toggle.show:focus,.btn-outline-light:active:focus{box-shadow:0 0 0 .25rem rgba(248,249,250,.5)}.btn-outline-light.disabled,.btn-outline-light:disabled{color:#f8f9fa;background-color:transparent}.btn-outline-dark{color:#212529;border-color:#212529}.btn-outline-dark:hover{color:#fff;background-color:#212529;border-color:#212529}.btn-check:focus+.btn-outline-dark,.btn-outline-dark:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-check:active+.btn-outline-dark,.btn-check:checked+.btn-outline-dark,.btn-outline-dark.active,.btn-outline-dark.dropdown-toggle.show,.btn-outline-dark:active{color:#fff;background-color:#212529;border-color:#212529}.btn-check:active+.btn-outline-dark:focus,.btn-check:checked+.btn-outline-dark:focus,.btn-outline-dark.active:focus,.btn-outline-dark.dropdown-toggle.show:focus,.btn-outline-dark:active:focus{box-shadow:0 0 0 .25rem rgba(33,37,41,.5)}.btn-outline-dark.disabled,.btn-outline-dark:disabled{color:#212529;background-color:transparent}.btn-link{font-weight:400;color:#0d6efd;text-decoration:underline}.btn-link:hover{color:#0a58ca}.btn-link.disabled,.btn-link:disabled{color:#6c757d}.btn-group-lg>.btn,.btn-lg{padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn,.btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropend,.dropstart,.dropup{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-left:.3em solid transparent;border-bottom:0;border-right:.3em solid transparent}.dropdown-toggle:empty::after{margin-right:0}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#212529;text-align:right;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu[data-bs-popper]{top:100%;right:0;margin-top:.125rem}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{left:0;right:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{left:0;right:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{left:0;right:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{left:0;right:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{left:0;right:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{left:0;right:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:0;border-left:.3em solid transparent;border-bottom:.3em solid;border-right:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-right:0}.dropend .dropdown-menu[data-bs-popper]{top:0;left:auto;right:100%;margin-top:0;margin-right:.125rem}.dropend .dropdown-toggle::after{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-left:0;border-bottom:.3em solid transparent;border-right:.3em solid}.dropend .dropdown-toggle:empty::after{margin-right:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;left:100%;right:auto;margin-top:0;margin-left:.125rem}.dropstart .dropdown-toggle::after{display:inline-block;margin-right:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-left:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-right:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid rgba(0,0,0,.15)}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#0d6efd}.dropdown-item.disabled,.dropdown-item:disabled{color:#adb5bd;pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:.5rem 1rem;margin-bottom:0;font-size:.875rem;color:#6c757d;white-space:nowrap}.dropdown-item-text{display:block;padding:.25rem 1rem;color:#212529}.dropdown-menu-dark{color:#dee2e6;background-color:#343a40;border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item{color:#dee2e6}.dropdown-menu-dark .dropdown-item:focus,.dropdown-menu-dark .dropdown-item:hover{color:#fff;background-color:rgba(255,255,255,.15)}.dropdown-menu-dark .dropdown-item.active,.dropdown-menu-dark .dropdown-item:active{color:#fff;background-color:#0d6efd}.dropdown-menu-dark .dropdown-item.disabled,.dropdown-menu-dark .dropdown-item:disabled{color:#adb5bd}.dropdown-menu-dark .dropdown-divider{border-color:rgba(0,0,0,.15)}.dropdown-menu-dark .dropdown-item-text{color:#dee2e6}.dropdown-menu-dark .dropdown-header{color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group>.btn-group:not(:first-child),.btn-group>.btn:not(:first-child){margin-right:-1px}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-right-radius:0;border-bottom-right-radius:0}.dropdown-toggle-split{padding-left:.5625rem;padding-right:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-right:0}.dropstart .dropdown-toggle-split::before{margin-left:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-left:.375rem;padding-right:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-left-radius:0;border-bottom-right-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-right-radius:0;border-top-left-radius:0}.nav{display:flex;flex-wrap:wrap;padding-right:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:.5rem 1rem;color:#0d6efd;text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:#0a58ca}.nav-link.disabled{color:#6c757d;pointer-events:none;cursor:default}.nav-tabs{border-bottom:1px solid #dee2e6}.nav-tabs .nav-link{margin-bottom:-1px;background:0 0;border:1px solid transparent;border-top-right-radius:.25rem;border-top-left-radius:.25rem}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{border-color:#e9ecef #e9ecef #dee2e6;isolation:isolate}.nav-tabs .nav-link.disabled{color:#6c757d;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:#495057;background-color:#fff;border-color:#dee2e6 #dee2e6 #fff}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.nav-pills .nav-link{background:0 0;border:0;border-radius:.25rem}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:#fff;background-color:#0d6efd}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:.3125rem;padding-bottom:.3125rem;margin-left:1rem;font-size:1.25rem;text-decoration:none;white-space:nowrap}.navbar-nav{display:flex;flex-direction:column;padding-right:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link{padding-left:0;padding-right:0}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:.25rem .75rem;font-size:1.25rem;line-height:1;background-color:transparent;border:1px solid transparent;border-radius:.25rem;transition:box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 .25rem}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas-header{display:none}.navbar-expand-sm .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-left:0;border-right:0;transition:none;transform:none}.navbar-expand-sm .offcanvas-bottom,.navbar-expand-sm .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas-header{display:none}.navbar-expand-md .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-left:0;border-right:0;transition:none;transform:none}.navbar-expand-md .offcanvas-bottom,.navbar-expand-md .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas-header{display:none}.navbar-expand-lg .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-left:0;border-right:0;transition:none;transform:none}.navbar-expand-lg .offcanvas-bottom,.navbar-expand-lg .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas-header{display:none}.navbar-expand-xl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-left:0;border-right:0;transition:none;transform:none}.navbar-expand-xl .offcanvas-bottom,.navbar-expand-xl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-left:0;border-right:0;transition:none;transform:none}.navbar-expand-xxl .offcanvas-bottom,.navbar-expand-xxl .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-left:.5rem;padding-right:.5rem}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas-header{display:none}.navbar-expand .offcanvas{position:inherit;bottom:0;z-index:1000;flex-grow:1;visibility:visible!important;background-color:transparent;border-left:0;border-right:0;transition:none;transform:none}.navbar-expand .offcanvas-bottom,.navbar-expand .offcanvas-top{height:auto;border-top:0;border-bottom:0}.navbar-expand .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-light .navbar-brand{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus,.navbar-light .navbar-brand:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.55)}.navbar-light .navbar-nav .nav-link:focus,.navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .nav-link.disabled{color:rgba(0,0,0,.3)}.navbar-light .navbar-nav .nav-link.active,.navbar-light .navbar-nav .show>.nav-link{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{color:rgba(0,0,0,.55);border-color:rgba(0,0,0,.1)}.navbar-light .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-light .navbar-text{color:rgba(0,0,0,.55)}.navbar-light .navbar-text a,.navbar-light .navbar-text a:focus,.navbar-light .navbar-text a:hover{color:rgba(0,0,0,.9)}.navbar-dark .navbar-brand{color:#fff}.navbar-dark .navbar-brand:focus,.navbar-dark .navbar-brand:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.55)}.navbar-dark .navbar-nav .nav-link:focus,.navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .nav-link.disabled{color:rgba(255,255,255,.25)}.navbar-dark .navbar-nav .nav-link.active,.navbar-dark .navbar-nav .show>.nav-link{color:#fff}.navbar-dark .navbar-toggler{color:rgba(255,255,255,.55);border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.navbar-dark .navbar-text{color:rgba(255,255,255,.55)}.navbar-dark .navbar-text a,.navbar-dark .navbar-text a:focus,.navbar-dark .navbar-text a:hover{color:#fff}.card{position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem}.card>hr{margin-left:0;margin-right:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-right-radius:calc(.25rem - 1px);border-top-left-radius:calc(.25rem - 1px)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:1rem 1rem}.card-title{margin-bottom:.5rem}.card-subtitle{margin-top:-.25rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-right:1rem}.card-header{padding:.5rem 1rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125)}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.5rem 1rem;background-color:rgba(0,0,0,.03);border-top:1px solid rgba(0,0,0,.125)}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-left:-.5rem;margin-bottom:-.5rem;margin-right:-.5rem;border-bottom:0}.card-header-pills{margin-left:-.5rem;margin-right:-.5rem}.card-img-overlay{position:absolute;top:0;left:0;bottom:0;right:0;padding:1rem;border-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-right-radius:calc(.25rem - 1px);border-top-left-radius:calc(.25rem - 1px)}.card-img,.card-img-bottom{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.card-group>.card{margin-bottom:.75rem}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-right:0;border-right:0}.card-group>.card:not(:last-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-left-radius:0}.card-group>.card:not(:first-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-right-radius:0}}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:1rem 1.25rem;font-size:1rem;color:#212529;text-align:right;background-color:#fff;border:0;border-radius:0;overflow-anchor:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:#0c63e4;background-color:#e7f1ff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.125)}.accordion-button:not(.collapsed)::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");transform:rotate(180deg)}.accordion-button::after{flex-shrink:0;width:1.25rem;height:1.25rem;margin-right:auto;content:"";background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-size:1.25rem;transition:transform .2s ease-in-out}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.accordion-header{margin-bottom:0}.accordion-item{background-color:#fff;border:1px solid rgba(0,0,0,.125)}.accordion-item:first-of-type{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.accordion-item:first-of-type .accordion-button{border-top-right-radius:calc(.25rem - 1px);border-top-left-radius:calc(.25rem - 1px)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-left-radius:calc(.25rem - 1px);border-bottom-right-radius:calc(.25rem - 1px)}.accordion-item:last-of-type .accordion-collapse{border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.accordion-body{padding:1rem 1.25rem}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-left:0;border-right:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button{border-radius:0}.breadcrumb{display:flex;flex-wrap:wrap;padding:0 0;margin-bottom:1rem;list-style:none}.breadcrumb-item+.breadcrumb-item{padding-right:.5rem}.breadcrumb-item+.breadcrumb-item::before{float:right;padding-left:.5rem;color:#6c757d;content:var(--bs-breadcrumb-divider, "../../../../index.html")}.breadcrumb-item.active{color:#6c757d}.pagination{display:flex;padding-right:0;list-style:none}.page-link{position:relative;display:block;color:#0d6efd;text-decoration:none;background-color:#fff;border:1px solid #dee2e6;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:#0a58ca;background-color:#e9ecef;border-color:#dee2e6}.page-link:focus{z-index:3;color:#0a58ca;background-color:#e9ecef;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.page-item:not(:first-child) .page-link{margin-right:-1px}.page-item.active .page-link{z-index:3;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.page-item.disabled .page-link{color:#6c757d;pointer-events:none;background-color:#fff;border-color:#dee2e6}.page-link{padding:.375rem .75rem}.page-item:first-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.page-item:last-child .page-link{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-top-right-radius:.3rem;border-bottom-right-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-top-left-radius:.3rem;border-bottom-left-radius:.3rem}.pagination-sm .page-link{padding:.25rem .5rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-top-right-radius:.2rem;border-bottom-right-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-top-left-radius:.2rem;border-bottom-left-radius:.2rem}.badge{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{position:relative;padding:1rem 1rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-left:3rem}.alert-dismissible .btn-close{position:absolute;top:0;left:0;z-index:2;padding:1.25rem 1rem}.alert-primary{color:#084298;background-color:#cfe2ff;border-color:#b6d4fe}.alert-primary .alert-link{color:#06357a}.alert-secondary{color:#41464b;background-color:#e2e3e5;border-color:#d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{color:#0f5132;background-color:#d1e7dd;border-color:#badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{color:#055160;background-color:#cff4fc;border-color:#b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{color:#664d03;background-color:#fff3cd;border-color:#ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{color:#842029;background-color:#f8d7da;border-color:#f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{color:#636464;background-color:#fefefe;border-color:#fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{color:#141619;background-color:#d3d3d4;border-color:#bcbebf}.alert-dark .alert-link{color:#101214}@-webkit-keyframes progress-bar-stripes{0%{background-position-x:1rem}}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:#fff;text-align:center;white-space:nowrap;background-color:#0d6efd;transition:width .6s ease}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-bar-animated{-webkit-animation:1s linear infinite progress-bar-stripes;animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{-webkit-animation:none;animation:none}}.list-group{display:flex;flex-direction:column;padding-right:0;margin-bottom:0;border-radius:.25rem}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>li::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.5rem 1rem;color:#212529;text-decoration:none;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.list-group-item:first-child{border-top-right-radius:inherit;border-top-left-radius:inherit}.list-group-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;pointer-events:none;background-color:#fff}.list-group-item.active{z-index:2;color:#fff;background-color:#0d6efd;border-color:#0d6efd}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:-1px;border-top-width:1px}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child{border-bottom-right-radius:.25rem;border-top-left-radius:0}.list-group-horizontal>.list-group-item:last-child{border-top-left-radius:.25rem;border-bottom-right-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:1px;border-right-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-right:-1px;border-right-width:1px}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child{border-bottom-right-radius:.25rem;border-top-left-radius:0}.list-group-horizontal-sm>.list-group-item:last-child{border-top-left-radius:.25rem;border-bottom-right-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:1px;border-right-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-right:-1px;border-right-width:1px}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child{border-bottom-right-radius:.25rem;border-top-left-radius:0}.list-group-horizontal-md>.list-group-item:last-child{border-top-left-radius:.25rem;border-bottom-right-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:1px;border-right-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-right:-1px;border-right-width:1px}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child{border-bottom-right-radius:.25rem;border-top-left-radius:0}.list-group-horizontal-lg>.list-group-item:last-child{border-top-left-radius:.25rem;border-bottom-right-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:1px;border-right-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-right:-1px;border-right-width:1px}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child{border-bottom-right-radius:.25rem;border-top-left-radius:0}.list-group-horizontal-xl>.list-group-item:last-child{border-top-left-radius:.25rem;border-bottom-right-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:1px;border-right-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-right:-1px;border-right-width:1px}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child{border-bottom-right-radius:.25rem;border-top-left-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child{border-top-left-radius:.25rem;border-bottom-right-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:1px;border-right-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-right:-1px;border-right-width:1px}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 1px}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#084298;background-color:#cfe2ff}.list-group-item-primary.list-group-item-action:focus,.list-group-item-primary.list-group-item-action:hover{color:#084298;background-color:#bacbe6}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#084298;border-color:#084298}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:focus,.list-group-item-secondary.list-group-item-action:hover{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:focus,.list-group-item-success.list-group-item-action:hover{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:focus,.list-group-item-info.list-group-item-action:hover{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:focus,.list-group-item-warning.list-group-item-action:hover{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:focus,.list-group-item-danger.list-group-item-action:hover{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:focus,.list-group-item-light.list-group-item-action:hover{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:focus,.list-group-item-dark.list-group-item-action:hover{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.25rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25);opacity:1}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{width:350px;max-width:100%;font-size:.875rem;pointer-events:auto;background-color:rgba(255,255,255,.85);background-clip:padding-box;border:1px solid rgba(0,0,0,.1);box-shadow:0 .5rem 1rem rgba(0,0,0,.15);border-radius:.25rem}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:.75rem}.toast-header{display:flex;align-items:center;padding:.5rem .75rem;color:#6c757d;background-color:rgba(255,255,255,.85);background-clip:padding-box;border-bottom:1px solid rgba(0,0,0,.05);border-top-right-radius:calc(.25rem - 1px);border-top-left-radius:calc(.25rem - 1px)}.toast-header .btn-close{margin-left:-.375rem;margin-right:.75rem}.toast-body{padding:.75rem;word-wrap:break-word}.modal{position:fixed;top:0;right:0;z-index:1055;display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:.5rem;pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 1rem)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;right:0;z-index:1050;width:100vw;height:100vh;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:.5}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:1rem 1rem;border-bottom:1px solid #dee2e6;border-top-right-radius:calc(.3rem - 1px);border-top-left-radius:calc(.3rem - 1px)}.modal-header .btn-close{padding:.5rem .5rem;margin:-.5rem auto -.5rem -.5rem}.modal-title{margin-bottom:0;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.modal-footer{display:flex;flex-wrap:wrap;flex-shrink:0;align-items:center;justify-content:flex-end;padding:.75rem;border-top:1px solid #dee2e6;border-bottom-left-radius:calc(.3rem - 1px);border-bottom-right-radius:calc(.3rem - 1px)}.modal-footer>*{margin:.25rem}@media (min-width:576px){.modal-dialog{max-width:500px;margin:1.75rem auto}.modal-dialog-scrollable{height:calc(100% - 3.5rem)}.modal-dialog-centered{min-height:calc(100% - 3.5rem)}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{max-width:800px}}@media (min-width:1200px){.modal-xl{max-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}.modal-fullscreen .modal-footer{border-radius:0}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}.modal-fullscreen-sm-down .modal-footer{border-radius:0}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}.modal-fullscreen-md-down .modal-footer{border-radius:0}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}.modal-fullscreen-lg-down .modal-footer{border-radius:0}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}.modal-fullscreen-xl-down .modal-footer{border-radius:0}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}.modal-fullscreen-xxl-down .modal-footer{border-radius:0}}.tooltip{position:absolute;z-index:1080;display:block;margin:0;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:right;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.show{opacity:.9}.tooltip .tooltip-arrow{position:absolute;display:block;width:.8rem;height:.4rem}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top],.bs-tooltip-top{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:0}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:.4rem .4rem 0;border-top-color:#000}.bs-tooltip-auto[data-popper-placement^=right],.bs-tooltip-end{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{right:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{left:-1px;border-width:.4rem 0 .4rem .4rem;border-left-color:#000}.bs-tooltip-auto[data-popper-placement^=bottom],.bs-tooltip-bottom{padding:.4rem 0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:0}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 .4rem .4rem;border-bottom-color:#000}.bs-tooltip-auto[data-popper-placement^=left],.bs-tooltip-start{padding:0 .4rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{left:0;width:.4rem;height:.8rem}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{right:-1px;border-width:.4rem .4rem .4rem 0;border-right-color:#000}.tooltip-inner{max-width:200px;padding:.25rem .5rem;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.popover{position:absolute;top:0;left:0;z-index:1070;display:block;max-width:276px;font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:right;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;white-space:normal;line-break:auto;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover .popover-arrow{position:absolute;display:block;width:1rem;height:.5rem}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-width:.5rem .5rem 0;border-top-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:1px;border-width:.5rem .5rem 0;border-top-color:#fff}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{right:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{right:0;border-width:.5rem 0 .5rem .5rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-.5rem - 1px)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-width:0 .5rem .5rem .5rem;border-bottom-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:1px;border-width:0 .5rem .5rem .5rem;border-bottom-color:#fff}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;right:50%;display:block;width:1rem;margin-right:-.5rem;content:"";border-bottom:1px solid #f0f0f0}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{left:calc(-.5rem - 1px);width:.5rem;height:1rem}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{left:0;border-width:.5rem .5rem .5rem 0;border-right-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{left:1px;border-width:.5rem .5rem .5rem 0;border-right-color:#fff}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:1rem;background-color:#f0f0f0;border-bottom:1px solid rgba(0,0,0,.2);border-top-right-radius:calc(.3rem - 1px);border-top-left-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:1rem 1rem;color:#212529}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:right;width:100%;margin-left:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{right:0}.carousel-control-next{left:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;left:0;bottom:0;right:0;z-index:2;display:flex;justify-content:center;padding:0;margin-left:15%;margin-bottom:1rem;margin-right:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-left:3px;margin-right:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;left:15%;bottom:1.25rem;right:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}@-webkit-keyframes spinner-border{to{transform:rotate(360deg)}}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;border:.25em solid currentColor;border-left-color:transparent;border-radius:50%;-webkit-animation:.75s linear infinite spinner-border;animation:.75s linear infinite spinner-border}.spinner-border-sm{width:1rem;height:1rem;border-width:.2em}@-webkit-keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{display:inline-block;width:2rem;height:2rem;vertical-align:-.125em;background-color:currentColor;border-radius:50%;opacity:0;-webkit-animation:.75s linear infinite spinner-grow;animation:.75s linear infinite spinner-grow}.spinner-grow-sm{width:1rem;height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{-webkit-animation-duration:1.5s;animation-duration:1.5s}}.offcanvas{position:fixed;bottom:0;z-index:1045;display:flex;flex-direction:column;max-width:100%;visibility:hidden;background-color:#fff;background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas-backdrop{position:fixed;top:0;right:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1rem}.offcanvas-header .btn-close{padding:.5rem .5rem;margin-top:-.5rem;margin-left:-.5rem;margin-bottom:-.5rem}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:1rem 1rem;overflow-y:auto}.offcanvas-start{top:0;right:0;width:400px;border-left:1px solid rgba(0,0,0,.2);transform:translateX(100%)}.offcanvas-end{top:0;left:0;width:400px;border-right:1px solid rgba(0,0,0,.2);transform:translateX(-100%)}.offcanvas-top{top:0;left:0;right:0;height:30vh;max-height:100%;border-bottom:1px solid rgba(0,0,0,.2);transform:translateY(-100%)}.offcanvas-bottom{left:0;right:0;height:30vh;max-height:100%;border-top:1px solid rgba(0,0,0,.2);transform:translateY(100%)}.offcanvas.show{transform:none}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentColor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{-webkit-animation:placeholder-glow 2s ease-in-out infinite;animation:placeholder-glow 2s ease-in-out infinite}@-webkit-keyframes placeholder-glow{50%{opacity:.2}}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;-webkit-animation:placeholder-wave 2s linear infinite;animation:placeholder-wave 2s linear infinite}@-webkit-keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.link-primary{color:#0d6efd}.link-primary:focus,.link-primary:hover{color:#0a58ca}.link-secondary{color:#6c757d}.link-secondary:focus,.link-secondary:hover{color:#565e64}.link-success{color:#198754}.link-success:focus,.link-success:hover{color:#146c43}.link-info{color:#0dcaf0}.link-info:focus,.link-info:hover{color:#3dd5f3}.link-warning{color:#ffc107}.link-warning:focus,.link-warning:hover{color:#ffcd39}.link-danger{color:#dc3545}.link-danger:focus,.link-danger:hover{color:#b02a37}.link-light{color:#f8f9fa}.link-light:focus,.link-light:hover{color:#f9fafb}.link-dark{color:#212529}.link-dark:focus,.link-dark:hover{color:#1a1e21}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;right:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;left:0;right:0;z-index:1030}.fixed-bottom{position:fixed;left:0;bottom:0;right:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentColor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:right!important}.float-end{float:left!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{right:0!important}.start-50{right:50%!important}.start-100{right:100%!important}.end-0{left:0!important}.end-50{left:50%!important}.end-100{left:100%!important}.translate-middle{transform:translate(50%,-50%)!important}.translate-middle-x{transform:translateX(50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:1px solid #dee2e6!important}.border-0{border:0!important}.border-top{border-top:1px solid #dee2e6!important}.border-top-0{border-top:0!important}.border-end{border-left:1px solid #dee2e6!important}.border-end-0{border-left:0!important}.border-bottom{border-bottom:1px solid #dee2e6!important}.border-bottom-0{border-bottom:0!important}.border-start{border-right:1px solid #dee2e6!important}.border-start-0{border-right:0!important}.border-primary{border-color:#0d6efd!important}.border-secondary{border-color:#6c757d!important}.border-success{border-color:#198754!important}.border-info{border-color:#0dcaf0!important}.border-warning{border-color:#ffc107!important}.border-danger{border-color:#dc3545!important}.border-light{border-color:#f8f9fa!important}.border-dark{border-color:#212529!important}.border-white{border-color:#fff!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-left:0!important;margin-right:0!important}.mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-3{margin-left:1rem!important;margin-right:1rem!important}.mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-5{margin-left:3rem!important;margin-right:3rem!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-left:0!important}.me-1{margin-left:.25rem!important}.me-2{margin-left:.5rem!important}.me-3{margin-left:1rem!important}.me-4{margin-left:1.5rem!important}.me-5{margin-left:3rem!important}.me-auto{margin-left:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-right:0!important}.ms-1{margin-right:.25rem!important}.ms-2{margin-right:.5rem!important}.ms-3{margin-right:1rem!important}.ms-4{margin-right:1.5rem!important}.ms-5{margin-right:3rem!important}.ms-auto{margin-right:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-left:0!important;padding-right:0!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-3{padding-left:1rem!important;padding-right:1rem!important}.px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-5{padding-left:3rem!important;padding-right:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-left:0!important}.pe-1{padding-left:.25rem!important}.pe-2{padding-left:.5rem!important}.pe-3{padding-left:1rem!important}.pe-4{padding-left:1.5rem!important}.pe-5{padding-left:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-right:0!important}.ps-1{padding-right:.25rem!important}.ps-2{padding-right:.5rem!important}.ps-3{padding-right:1rem!important}.ps-4{padding-right:1.5rem!important}.ps-5{padding-right:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:right!important}.text-end{text-align:left!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:#6c757d!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:.25rem!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:.2rem!important}.rounded-2{border-radius:.25rem!important}.rounded-3{border-radius:.3rem!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:50rem!important}.rounded-top{border-top-right-radius:.25rem!important;border-top-left-radius:.25rem!important}.rounded-end{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-bottom{border-bottom-left-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.rounded-start{border-bottom-right-radius:.25rem!important;border-top-right-radius:.25rem!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width:576px){.float-sm-start{float:right!important}.float-sm-end{float:left!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-left:0!important;margin-right:0!important}.mx-sm-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-sm-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-sm-3{margin-left:1rem!important;margin-right:1rem!important}.mx-sm-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-sm-5{margin-left:3rem!important;margin-right:3rem!important}.mx-sm-auto{margin-left:auto!important;margin-right:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-left:0!important}.me-sm-1{margin-left:.25rem!important}.me-sm-2{margin-left:.5rem!important}.me-sm-3{margin-left:1rem!important}.me-sm-4{margin-left:1.5rem!important}.me-sm-5{margin-left:3rem!important}.me-sm-auto{margin-left:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-right:0!important}.ms-sm-1{margin-right:.25rem!important}.ms-sm-2{margin-right:.5rem!important}.ms-sm-3{margin-right:1rem!important}.ms-sm-4{margin-right:1.5rem!important}.ms-sm-5{margin-right:3rem!important}.ms-sm-auto{margin-right:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-left:0!important;padding-right:0!important}.px-sm-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-sm-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-sm-3{padding-left:1rem!important;padding-right:1rem!important}.px-sm-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-sm-5{padding-left:3rem!important;padding-right:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-left:0!important}.pe-sm-1{padding-left:.25rem!important}.pe-sm-2{padding-left:.5rem!important}.pe-sm-3{padding-left:1rem!important}.pe-sm-4{padding-left:1.5rem!important}.pe-sm-5{padding-left:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-right:0!important}.ps-sm-1{padding-right:.25rem!important}.ps-sm-2{padding-right:.5rem!important}.ps-sm-3{padding-right:1rem!important}.ps-sm-4{padding-right:1.5rem!important}.ps-sm-5{padding-right:3rem!important}.text-sm-start{text-align:right!important}.text-sm-end{text-align:left!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:right!important}.float-md-end{float:left!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-left:0!important;margin-right:0!important}.mx-md-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-md-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-md-3{margin-left:1rem!important;margin-right:1rem!important}.mx-md-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-md-5{margin-left:3rem!important;margin-right:3rem!important}.mx-md-auto{margin-left:auto!important;margin-right:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-left:0!important}.me-md-1{margin-left:.25rem!important}.me-md-2{margin-left:.5rem!important}.me-md-3{margin-left:1rem!important}.me-md-4{margin-left:1.5rem!important}.me-md-5{margin-left:3rem!important}.me-md-auto{margin-left:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-right:0!important}.ms-md-1{margin-right:.25rem!important}.ms-md-2{margin-right:.5rem!important}.ms-md-3{margin-right:1rem!important}.ms-md-4{margin-right:1.5rem!important}.ms-md-5{margin-right:3rem!important}.ms-md-auto{margin-right:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-left:0!important;padding-right:0!important}.px-md-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-md-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-md-3{padding-left:1rem!important;padding-right:1rem!important}.px-md-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-md-5{padding-left:3rem!important;padding-right:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-left:0!important}.pe-md-1{padding-left:.25rem!important}.pe-md-2{padding-left:.5rem!important}.pe-md-3{padding-left:1rem!important}.pe-md-4{padding-left:1.5rem!important}.pe-md-5{padding-left:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-right:0!important}.ps-md-1{padding-right:.25rem!important}.ps-md-2{padding-right:.5rem!important}.ps-md-3{padding-right:1rem!important}.ps-md-4{padding-right:1.5rem!important}.ps-md-5{padding-right:3rem!important}.text-md-start{text-align:right!important}.text-md-end{text-align:left!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:right!important}.float-lg-end{float:left!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-left:0!important;margin-right:0!important}.mx-lg-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-lg-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-lg-3{margin-left:1rem!important;margin-right:1rem!important}.mx-lg-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-lg-5{margin-left:3rem!important;margin-right:3rem!important}.mx-lg-auto{margin-left:auto!important;margin-right:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-left:0!important}.me-lg-1{margin-left:.25rem!important}.me-lg-2{margin-left:.5rem!important}.me-lg-3{margin-left:1rem!important}.me-lg-4{margin-left:1.5rem!important}.me-lg-5{margin-left:3rem!important}.me-lg-auto{margin-left:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-right:0!important}.ms-lg-1{margin-right:.25rem!important}.ms-lg-2{margin-right:.5rem!important}.ms-lg-3{margin-right:1rem!important}.ms-lg-4{margin-right:1.5rem!important}.ms-lg-5{margin-right:3rem!important}.ms-lg-auto{margin-right:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-left:0!important;padding-right:0!important}.px-lg-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-lg-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-lg-3{padding-left:1rem!important;padding-right:1rem!important}.px-lg-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-lg-5{padding-left:3rem!important;padding-right:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-left:0!important}.pe-lg-1{padding-left:.25rem!important}.pe-lg-2{padding-left:.5rem!important}.pe-lg-3{padding-left:1rem!important}.pe-lg-4{padding-left:1.5rem!important}.pe-lg-5{padding-left:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-right:0!important}.ps-lg-1{padding-right:.25rem!important}.ps-lg-2{padding-right:.5rem!important}.ps-lg-3{padding-right:1rem!important}.ps-lg-4{padding-right:1.5rem!important}.ps-lg-5{padding-right:3rem!important}.text-lg-start{text-align:right!important}.text-lg-end{text-align:left!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:right!important}.float-xl-end{float:left!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-left:0!important;margin-right:0!important}.mx-xl-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-xl-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-xl-3{margin-left:1rem!important;margin-right:1rem!important}.mx-xl-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-xl-5{margin-left:3rem!important;margin-right:3rem!important}.mx-xl-auto{margin-left:auto!important;margin-right:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-left:0!important}.me-xl-1{margin-left:.25rem!important}.me-xl-2{margin-left:.5rem!important}.me-xl-3{margin-left:1rem!important}.me-xl-4{margin-left:1.5rem!important}.me-xl-5{margin-left:3rem!important}.me-xl-auto{margin-left:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-right:0!important}.ms-xl-1{margin-right:.25rem!important}.ms-xl-2{margin-right:.5rem!important}.ms-xl-3{margin-right:1rem!important}.ms-xl-4{margin-right:1.5rem!important}.ms-xl-5{margin-right:3rem!important}.ms-xl-auto{margin-right:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-left:0!important;padding-right:0!important}.px-xl-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-xl-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-xl-3{padding-left:1rem!important;padding-right:1rem!important}.px-xl-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-xl-5{padding-left:3rem!important;padding-right:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-left:0!important}.pe-xl-1{padding-left:.25rem!important}.pe-xl-2{padding-left:.5rem!important}.pe-xl-3{padding-left:1rem!important}.pe-xl-4{padding-left:1.5rem!important}.pe-xl-5{padding-left:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-right:0!important}.ps-xl-1{padding-right:.25rem!important}.ps-xl-2{padding-right:.5rem!important}.ps-xl-3{padding-right:1rem!important}.ps-xl-4{padding-right:1.5rem!important}.ps-xl-5{padding-right:3rem!important}.text-xl-start{text-align:right!important}.text-xl-end{text-align:left!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:right!important}.float-xxl-end{float:left!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-left:0!important;margin-right:0!important}.mx-xxl-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-xxl-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-xxl-3{margin-left:1rem!important;margin-right:1rem!important}.mx-xxl-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-xxl-5{margin-left:3rem!important;margin-right:3rem!important}.mx-xxl-auto{margin-left:auto!important;margin-right:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-left:0!important}.me-xxl-1{margin-left:.25rem!important}.me-xxl-2{margin-left:.5rem!important}.me-xxl-3{margin-left:1rem!important}.me-xxl-4{margin-left:1.5rem!important}.me-xxl-5{margin-left:3rem!important}.me-xxl-auto{margin-left:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-right:0!important}.ms-xxl-1{margin-right:.25rem!important}.ms-xxl-2{margin-right:.5rem!important}.ms-xxl-3{margin-right:1rem!important}.ms-xxl-4{margin-right:1.5rem!important}.ms-xxl-5{margin-right:3rem!important}.ms-xxl-auto{margin-right:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-left:0!important;padding-right:0!important}.px-xxl-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-xxl-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-xxl-3{padding-left:1rem!important;padding-right:1rem!important}.px-xxl-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-xxl-5{padding-left:3rem!important;padding-right:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-left:0!important}.pe-xxl-1{padding-left:.25rem!important}.pe-xxl-2{padding-left:.5rem!important}.pe-xxl-3{padding-left:1rem!important}.pe-xxl-4{padding-left:1.5rem!important}.pe-xxl-5{padding-left:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-right:0!important}.ps-xxl-1{padding-right:.25rem!important}.ps-xxl-2{padding-right:.5rem!important}.ps-xxl-3{padding-right:1rem!important}.ps-xxl-4{padding-right:1.5rem!important}.ps-xxl-5{padding-right:3rem!important}.text-xxl-start{text-align:right!important}.text-xxl-end{text-align:left!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}} + */:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33,37,41;--bs-body-bg:#fff;--bs-body-bg-rgb:255,255,255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0,0,0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33,37,41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233,236,239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33,37,41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248,249,250;--bs-link-color:#0d6efd;--bs-link-color-rgb:13,110,253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10,88,202;--bs-code-color:#d63384;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#adb5bd;--bs-body-color-rgb:173,181,189;--bs-body-bg:#212529;--bs-body-bg-rgb:33,37,41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255,255,255;--bs-secondary-color:rgba(173, 181, 189, 0.75);--bs-secondary-color-rgb:173,181,189;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52,58,64;--bs-tertiary-color:rgba(173, 181, 189, 0.5);--bs-tertiary-color-rgb:173,181,189;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43,48,53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110,168,254;--bs-link-hover-color-rgb:139,185,254;--bs-code-color:#e685b5;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}*,::after,::before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color,inherit)}.h1,h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,h1{font-size:2.5rem}}.h2,h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,h2{font-size:2rem}}.h3,h3{font-size:calc(1.3rem + .6vw)}@media (min-width:1200px){.h3,h3{font-size:1.75rem}}.h4,h4{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h4,h4{font-size:1.5rem}}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-right:2rem}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-right:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}.small,small{font-size:.875em}.mark,mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));text-decoration:underline}a:hover{--bs-link-color-rgb:var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:right}th{text-align:inherit;text-align:-webkit-match-parent}tbody,td,tfoot,th,thead,tr{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:right;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width:1200px){legend{font-size:1.5rem}}legend+*{clear:right}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=email],[type=number],[type=tel],[type=url]{direction:ltr}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width:1200px){.display-6{font-size:2.5rem}}.list-unstyled{padding-right:0;list-style:none}.list-inline{padding-right:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-left:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer::before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{--bs-gutter-x:1.5rem;--bs-gutter-y:0;width:100%;padding-left:calc(var(--bs-gutter-x) * .5);padding-right:calc(var(--bs-gutter-x) * .5);margin-left:auto;margin-right:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}@media (min-width:1400px){.container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl{max-width:1320px}}:root{--bs-breakpoint-xs:0;--bs-breakpoint-sm:576px;--bs-breakpoint-md:768px;--bs-breakpoint-lg:992px;--bs-breakpoint-xl:1200px;--bs-breakpoint-xxl:1400px}.row{--bs-gutter-x:1.5rem;--bs-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-left:calc(-.5 * var(--bs-gutter-x));margin-right:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-left:calc(var(--bs-gutter-x) * .5);padding-right:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-right:8.33333333%}.offset-2{margin-right:16.66666667%}.offset-3{margin-right:25%}.offset-4{margin-right:33.33333333%}.offset-5{margin-right:41.66666667%}.offset-6{margin-right:50%}.offset-7{margin-right:58.33333333%}.offset-8{margin-right:66.66666667%}.offset-9{margin-right:75%}.offset-10{margin-right:83.33333333%}.offset-11{margin-right:91.66666667%}.g-0,.gx-0{--bs-gutter-x:0}.g-0,.gy-0{--bs-gutter-y:0}.g-1,.gx-1{--bs-gutter-x:0.25rem}.g-1,.gy-1{--bs-gutter-y:0.25rem}.g-2,.gx-2{--bs-gutter-x:0.5rem}.g-2,.gy-2{--bs-gutter-y:0.5rem}.g-3,.gx-3{--bs-gutter-x:1rem}.g-3,.gy-3{--bs-gutter-y:1rem}.g-4,.gx-4{--bs-gutter-x:1.5rem}.g-4,.gy-4{--bs-gutter-y:1.5rem}.g-5,.gx-5{--bs-gutter-x:3rem}.g-5,.gy-5{--bs-gutter-y:3rem}@media (min-width:576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-right:0}.offset-sm-1{margin-right:8.33333333%}.offset-sm-2{margin-right:16.66666667%}.offset-sm-3{margin-right:25%}.offset-sm-4{margin-right:33.33333333%}.offset-sm-5{margin-right:41.66666667%}.offset-sm-6{margin-right:50%}.offset-sm-7{margin-right:58.33333333%}.offset-sm-8{margin-right:66.66666667%}.offset-sm-9{margin-right:75%}.offset-sm-10{margin-right:83.33333333%}.offset-sm-11{margin-right:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x:0}.g-sm-0,.gy-sm-0{--bs-gutter-y:0}.g-sm-1,.gx-sm-1{--bs-gutter-x:0.25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y:0.25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x:0.5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y:0.5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x:1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y:1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x:1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y:1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x:3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y:3rem}}@media (min-width:768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-right:0}.offset-md-1{margin-right:8.33333333%}.offset-md-2{margin-right:16.66666667%}.offset-md-3{margin-right:25%}.offset-md-4{margin-right:33.33333333%}.offset-md-5{margin-right:41.66666667%}.offset-md-6{margin-right:50%}.offset-md-7{margin-right:58.33333333%}.offset-md-8{margin-right:66.66666667%}.offset-md-9{margin-right:75%}.offset-md-10{margin-right:83.33333333%}.offset-md-11{margin-right:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x:0}.g-md-0,.gy-md-0{--bs-gutter-y:0}.g-md-1,.gx-md-1{--bs-gutter-x:0.25rem}.g-md-1,.gy-md-1{--bs-gutter-y:0.25rem}.g-md-2,.gx-md-2{--bs-gutter-x:0.5rem}.g-md-2,.gy-md-2{--bs-gutter-y:0.5rem}.g-md-3,.gx-md-3{--bs-gutter-x:1rem}.g-md-3,.gy-md-3{--bs-gutter-y:1rem}.g-md-4,.gx-md-4{--bs-gutter-x:1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y:1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x:3rem}.g-md-5,.gy-md-5{--bs-gutter-y:3rem}}@media (min-width:992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-right:0}.offset-lg-1{margin-right:8.33333333%}.offset-lg-2{margin-right:16.66666667%}.offset-lg-3{margin-right:25%}.offset-lg-4{margin-right:33.33333333%}.offset-lg-5{margin-right:41.66666667%}.offset-lg-6{margin-right:50%}.offset-lg-7{margin-right:58.33333333%}.offset-lg-8{margin-right:66.66666667%}.offset-lg-9{margin-right:75%}.offset-lg-10{margin-right:83.33333333%}.offset-lg-11{margin-right:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x:0}.g-lg-0,.gy-lg-0{--bs-gutter-y:0}.g-lg-1,.gx-lg-1{--bs-gutter-x:0.25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y:0.25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x:0.5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y:0.5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x:1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y:1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x:1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y:1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x:3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y:3rem}}@media (min-width:1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-right:0}.offset-xl-1{margin-right:8.33333333%}.offset-xl-2{margin-right:16.66666667%}.offset-xl-3{margin-right:25%}.offset-xl-4{margin-right:33.33333333%}.offset-xl-5{margin-right:41.66666667%}.offset-xl-6{margin-right:50%}.offset-xl-7{margin-right:58.33333333%}.offset-xl-8{margin-right:66.66666667%}.offset-xl-9{margin-right:75%}.offset-xl-10{margin-right:83.33333333%}.offset-xl-11{margin-right:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x:0}.g-xl-0,.gy-xl-0{--bs-gutter-y:0}.g-xl-1,.gx-xl-1{--bs-gutter-x:0.25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y:0.25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x:0.5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y:0.5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x:1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y:1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x:1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y:1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x:3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y:3rem}}@media (min-width:1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-right:0}.offset-xxl-1{margin-right:8.33333333%}.offset-xxl-2{margin-right:16.66666667%}.offset-xxl-3{margin-right:25%}.offset-xxl-4{margin-right:33.33333333%}.offset-xxl-5{margin-right:41.66666667%}.offset-xxl-6{margin-right:50%}.offset-xxl-7{margin-right:58.33333333%}.offset-xxl-8{margin-right:66.66666667%}.offset-xxl-9{margin-right:75%}.offset-xxl-10{margin-right:83.33333333%}.offset-xxl-11{margin-right:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x:0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y:0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x:0.25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y:0.25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x:0.5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y:0.5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x:1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y:1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x:1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y:1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x:3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y:3rem}}.table{--bs-table-color:var(--bs-body-color);--bs-table-bg:transparent;--bs-table-border-color:var(--bs-border-color);--bs-table-accent-bg:transparent;--bs-table-striped-color:var(--bs-body-color);--bs-table-striped-bg:rgba(0, 0, 0, 0.05);--bs-table-active-color:var(--bs-body-color);--bs-table-active-bg:rgba(0, 0, 0, 0.1);--bs-table-hover-color:var(--bs-body-color);--bs-table-hover-bg:rgba(0, 0, 0, 0.075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem .5rem;background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem .25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-accent-bg:var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg:var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg:var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color:#000;--bs-table-bg:#cfe2ff;--bs-table-border-color:#bacbe6;--bs-table-striped-bg:#c5d7f2;--bs-table-striped-color:#000;--bs-table-active-bg:#bacbe6;--bs-table-active-color:#000;--bs-table-hover-bg:#bfd1ec;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color:#000;--bs-table-bg:#e2e3e5;--bs-table-border-color:#cbccce;--bs-table-striped-bg:#d7d8da;--bs-table-striped-color:#000;--bs-table-active-bg:#cbccce;--bs-table-active-color:#000;--bs-table-hover-bg:#d1d2d4;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color:#000;--bs-table-bg:#d1e7dd;--bs-table-border-color:#bcd0c7;--bs-table-striped-bg:#c7dbd2;--bs-table-striped-color:#000;--bs-table-active-bg:#bcd0c7;--bs-table-active-color:#000;--bs-table-hover-bg:#c1d6cc;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color:#000;--bs-table-bg:#cff4fc;--bs-table-border-color:#badce3;--bs-table-striped-bg:#c5e8ef;--bs-table-striped-color:#000;--bs-table-active-bg:#badce3;--bs-table-active-color:#000;--bs-table-hover-bg:#bfe2e9;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color:#000;--bs-table-bg:#fff3cd;--bs-table-border-color:#e6dbb9;--bs-table-striped-bg:#f2e7c3;--bs-table-striped-color:#000;--bs-table-active-bg:#e6dbb9;--bs-table-active-color:#000;--bs-table-hover-bg:#ece1be;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color:#000;--bs-table-bg:#f8d7da;--bs-table-border-color:#dfc2c4;--bs-table-striped-bg:#eccccf;--bs-table-striped-color:#000;--bs-table-active-bg:#dfc2c4;--bs-table-active-color:#000;--bs-table-hover-bg:#e5c7ca;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color:#000;--bs-table-bg:#f8f9fa;--bs-table-border-color:#dfe0e1;--bs-table-striped-bg:#ecedee;--bs-table-striped-color:#000;--bs-table-active-bg:#dfe0e1;--bs-table-active-color:#000;--bs-table-hover-bg:#e5e6e7;--bs-table-hover-color:#000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#373b3e;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width:575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width:1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::-moz-placeholder{color:var(--bs-secondary-color);opacity:1}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-lg,.form-control-plaintext.form-control-sm{padding-left:0;padding-right:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem .75rem .375rem 2.25rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon,none);background-repeat:no-repeat;background-position:left .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-select[multiple],.form-select[size]:not([size="1"]){padding-left:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-right:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-right:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-right:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:right;margin-right:-1.5em}.form-check-reverse{padding-left:1.5em;padding-right:0;text-align:left}.form-check-reverse .form-check-input{float:left;margin-left:-1.5em;margin-right:0}.form-check-input{--bs-form-check-bg:var(--bs-body-bg);width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input:disabled~.form-check-label,.form-check-input[disabled]~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-right:2.5em}.form-switch .form-check-input{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-right:-2.5em;background-image:var(--bs-form-switch-bg);background-position:right center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion:reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:left center;--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-left:2.5em;padding-right:0}.form-switch.form-check-reverse .form-check-input{margin-left:-2.5em;margin-right:0}.form-check-inline{display:inline-block;margin-left:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check:disabled+.btn,.btn-check[disabled]+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem rgba(13,110,253,.25)}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-tertiary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;right:0;z-index:2;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:100% 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floating>.form-control:not(:-moz-placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown),.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control-plaintext:-webkit-autofill,.form-floating>.form-control:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:not(:-moz-placeholder-shown)~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.form-floating>.form-control-plaintext~label,.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-select~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.form-floating>.form-control:not(:-moz-placeholder-shown)~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control-plaintext~label::after,.form-floating>.form-control:focus~label::after,.form-floating>.form-control:not(:placeholder-shown)~label::after,.form-floating>.form-select~label::after{position:absolute;inset:1rem 0.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>.form-control:-webkit-autofill~label{color:rgba(var(--bs-body-color-rgb),.65);transform:scale(.85) translateY(-.5rem) translateX(-.15rem)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label{color:#6c757d}.form-floating>:disabled~label::after{background-color:var(--bs-secondary-bg)}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-floating,.input-group>.form-select{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-floating:focus-within,.input-group>.form-select:focus{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.btn,.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.btn,.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-left:3rem}.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-left-radius:0;border-bottom-left-radius:0}.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select,.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-right:calc(var(--bs-border-width) * -1);border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.is-valid~.valid-feedback,.is-valid~.valid-tooltip,.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-left:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:left calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-valid:focus,.was-validated .form-control:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-left:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) left calc(.375em + .1875rem)}.form-select.is-valid,.was-validated .form-select:valid{border-color:var(--bs-form-valid-border-color)}.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");padding-left:4.125rem;background-position:left .75rem center,center left 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-valid:focus,.was-validated .form-select:valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-control-color.is-valid,.was-validated .form-control-color:valid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-valid,.was-validated .form-check-input:valid{border-color:var(--bs-form-valid-border-color)}.form-check-input.is-valid:checked,.was-validated .form-check-input:valid:checked{background-color:var(--bs-form-valid-color)}.form-check-input.is-valid:focus,.was-validated .form-check-input:valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.form-check-input.is-valid~.form-check-label,.was-validated .form-check-input:valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-right:.5em}.input-group>.form-control:not(:focus).is-valid,.input-group>.form-floating:not(:focus-within).is-valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.was-validated .input-group>.form-select:not(:focus):valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip{display:block}.form-control.is-invalid,.was-validated .form-control:invalid{border-color:var(--bs-form-invalid-border-color);padding-left:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:left calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.form-control.is-invalid:focus,.was-validated .form-control:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-left:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) left calc(.375em + .1875rem)}.form-select.is-invalid,.was-validated .form-select:invalid{border-color:var(--bs-form-invalid-border-color)}.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-left:4.125rem;background-position:left .75rem center,center left 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.form-select.is-invalid:focus,.was-validated .form-select:invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-control-color.is-invalid,.was-validated .form-control-color:invalid{width:calc(3rem + calc(1.5em + .75rem))}.form-check-input.is-invalid,.was-validated .form-check-input:invalid{border-color:var(--bs-form-invalid-border-color)}.form-check-input.is-invalid:checked,.was-validated .form-check-input:invalid:checked{background-color:var(--bs-form-invalid-color)}.form-check-input.is-invalid:focus,.was-validated .form-check-input:invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.form-check-input.is-invalid~.form-check-label,.was-validated .form-check-input:invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-right:.5em}.input-group>.form-control:not(:focus).is-invalid,.input-group>.form-floating:not(:focus-within).is-invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.was-validated .input-group>.form-select:not(:focus):invalid{z-index:4}.btn{--bs-btn-padding-x:0.75rem;--bs-btn-padding-y:0.375rem;--bs-btn-font-family: ;--bs-btn-font-size:1rem;--bs-btn-font-weight:400;--bs-btn-line-height:1.5;--bs-btn-color:var(--bs-body-color);--bs-btn-bg:transparent;--bs-btn-border-width:var(--bs-border-width);--bs-btn-border-color:transparent;--bs-btn-border-radius:var(--bs-border-radius);--bs-btn-hover-border-color:transparent;--bs-btn-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity:0.65;--bs-btn-focus-box-shadow:0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,.btn.active,.btn.show,.btn:first-child:active,:not(.btn-check)+.btn:active{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible,.btn:first-child:active:focus-visible,:not(.btn-check)+.btn:active:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn.disabled,.btn:disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color:#fff;--bs-btn-bg:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0b5ed7;--bs-btn-hover-border-color:#0a58ca;--bs-btn-focus-shadow-rgb:49,132,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0a58ca;--bs-btn-active-border-color:#0a53be;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#0d6efd;--bs-btn-disabled-border-color:#0d6efd}.btn-secondary{--bs-btn-color:#fff;--bs-btn-bg:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#5c636a;--bs-btn-hover-border-color:#565e64;--bs-btn-focus-shadow-rgb:130,138,145;--bs-btn-active-color:#fff;--bs-btn-active-bg:#565e64;--bs-btn-active-border-color:#51585e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#6c757d;--bs-btn-disabled-border-color:#6c757d}.btn-success{--bs-btn-color:#fff;--bs-btn-bg:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#157347;--bs-btn-hover-border-color:#146c43;--bs-btn-focus-shadow-rgb:60,153,110;--bs-btn-active-color:#fff;--bs-btn-active-bg:#146c43;--bs-btn-active-border-color:#13653f;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#198754;--bs-btn-disabled-border-color:#198754}.btn-info{--bs-btn-color:#000;--bs-btn-bg:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#31d2f2;--bs-btn-hover-border-color:#25cff2;--bs-btn-focus-shadow-rgb:11,172,204;--bs-btn-active-color:#000;--bs-btn-active-bg:#3dd5f3;--bs-btn-active-border-color:#25cff2;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#0dcaf0;--bs-btn-disabled-border-color:#0dcaf0}.btn-warning{--bs-btn-color:#000;--bs-btn-bg:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffca2c;--bs-btn-hover-border-color:#ffc720;--bs-btn-focus-shadow-rgb:217,164,6;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffcd39;--bs-btn-active-border-color:#ffc720;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#ffc107;--bs-btn-disabled-border-color:#ffc107}.btn-danger{--bs-btn-color:#fff;--bs-btn-bg:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#bb2d3b;--bs-btn-hover-border-color:#b02a37;--bs-btn-focus-shadow-rgb:225,83,97;--bs-btn-active-color:#fff;--bs-btn-active-bg:#b02a37;--bs-btn-active-border-color:#a52834;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#dc3545;--bs-btn-disabled-border-color:#dc3545}.btn-light{--bs-btn-color:#000;--bs-btn-bg:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#d3d4d5;--bs-btn-hover-border-color:#c6c7c8;--bs-btn-focus-shadow-rgb:211,212,213;--bs-btn-active-color:#000;--bs-btn-active-bg:#c6c7c8;--bs-btn-active-border-color:#babbbc;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#000;--bs-btn-disabled-bg:#f8f9fa;--bs-btn-disabled-border-color:#f8f9fa}.btn-dark{--bs-btn-color:#fff;--bs-btn-bg:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#424649;--bs-btn-hover-border-color:#373b3e;--bs-btn-focus-shadow-rgb:66,70,73;--bs-btn-active-color:#fff;--bs-btn-active-bg:#4d5154;--bs-btn-active-border-color:#373b3e;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:#212529;--bs-btn-disabled-border-color:#212529}.btn-outline-primary{--bs-btn-color:#0d6efd;--bs-btn-border-color:#0d6efd;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#0d6efd;--bs-btn-hover-border-color:#0d6efd;--bs-btn-focus-shadow-rgb:13,110,253;--bs-btn-active-color:#fff;--bs-btn-active-bg:#0d6efd;--bs-btn-active-border-color:#0d6efd;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0d6efd;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0d6efd;--bs-gradient:none}.btn-outline-secondary{--bs-btn-color:#6c757d;--bs-btn-border-color:#6c757d;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#6c757d;--bs-btn-hover-border-color:#6c757d;--bs-btn-focus-shadow-rgb:108,117,125;--bs-btn-active-color:#fff;--bs-btn-active-bg:#6c757d;--bs-btn-active-border-color:#6c757d;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#6c757d;--bs-gradient:none}.btn-outline-success{--bs-btn-color:#198754;--bs-btn-border-color:#198754;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#198754;--bs-btn-hover-border-color:#198754;--bs-btn-focus-shadow-rgb:25,135,84;--bs-btn-active-color:#fff;--bs-btn-active-bg:#198754;--bs-btn-active-border-color:#198754;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#198754;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#198754;--bs-gradient:none}.btn-outline-info{--bs-btn-color:#0dcaf0;--bs-btn-border-color:#0dcaf0;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#0dcaf0;--bs-btn-hover-border-color:#0dcaf0;--bs-btn-focus-shadow-rgb:13,202,240;--bs-btn-active-color:#000;--bs-btn-active-bg:#0dcaf0;--bs-btn-active-border-color:#0dcaf0;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#0dcaf0;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#0dcaf0;--bs-gradient:none}.btn-outline-warning{--bs-btn-color:#ffc107;--bs-btn-border-color:#ffc107;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#ffc107;--bs-btn-hover-border-color:#ffc107;--bs-btn-focus-shadow-rgb:255,193,7;--bs-btn-active-color:#000;--bs-btn-active-bg:#ffc107;--bs-btn-active-border-color:#ffc107;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#ffc107;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#ffc107;--bs-gradient:none}.btn-outline-danger{--bs-btn-color:#dc3545;--bs-btn-border-color:#dc3545;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#dc3545;--bs-btn-hover-border-color:#dc3545;--bs-btn-focus-shadow-rgb:220,53,69;--bs-btn-active-color:#fff;--bs-btn-active-bg:#dc3545;--bs-btn-active-border-color:#dc3545;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#dc3545;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#dc3545;--bs-gradient:none}.btn-outline-light{--bs-btn-color:#f8f9fa;--bs-btn-border-color:#f8f9fa;--bs-btn-hover-color:#000;--bs-btn-hover-bg:#f8f9fa;--bs-btn-hover-border-color:#f8f9fa;--bs-btn-focus-shadow-rgb:248,249,250;--bs-btn-active-color:#000;--bs-btn-active-bg:#f8f9fa;--bs-btn-active-border-color:#f8f9fa;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#f8f9fa;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#f8f9fa;--bs-gradient:none}.btn-outline-dark{--bs-btn-color:#212529;--bs-btn-border-color:#212529;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#212529;--bs-btn-hover-border-color:#212529;--bs-btn-focus-shadow-rgb:33,37,41;--bs-btn-active-color:#fff;--bs-btn-active-bg:#212529;--bs-btn-active-border-color:#212529;--bs-btn-active-shadow:inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color:#212529;--bs-btn-disabled-bg:transparent;--bs-btn-disabled-border-color:#212529;--bs-gradient:none}.btn-link{--bs-btn-font-weight:400;--bs-btn-color:var(--bs-link-color);--bs-btn-bg:transparent;--bs-btn-border-color:transparent;--bs-btn-hover-color:var(--bs-link-hover-color);--bs-btn-hover-border-color:transparent;--bs-btn-active-color:var(--bs-link-hover-color);--bs-btn-active-border-color:transparent;--bs-btn-disabled-color:#6c757d;--bs-btn-disabled-border-color:transparent;--bs-btn-box-shadow:0 0 0 #000;--bs-btn-focus-shadow-rgb:49,132,253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-group-lg>.btn,.btn-lg{--bs-btn-padding-y:0.5rem;--bs-btn-padding-x:1rem;--bs-btn-font-size:1.25rem;--bs-btn-border-radius:var(--bs-border-radius-lg)}.btn-group-sm>.btn,.btn-sm{--bs-btn-padding-y:0.25rem;--bs-btn-padding-x:0.5rem;--bs-btn-font-size:0.875rem;--bs-btn-border-radius:var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion:reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion:reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion:reduce){.collapsing.collapse-horizontal{transition:none}}.dropdown,.dropdown-center,.dropend,.dropstart,.dropup,.dropup-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle::after{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-left:.3em solid transparent;border-bottom:0;border-right:.3em solid transparent}.dropdown-toggle:empty::after{margin-right:0}.dropdown-menu{--bs-dropdown-zindex:1000;--bs-dropdown-min-width:10rem;--bs-dropdown-padding-x:0;--bs-dropdown-padding-y:0.5rem;--bs-dropdown-spacer:0.125rem;--bs-dropdown-font-size:1rem;--bs-dropdown-color:var(--bs-body-color);--bs-dropdown-bg:var(--bs-body-bg);--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-border-radius:var(--bs-border-radius);--bs-dropdown-border-width:var(--bs-border-width);--bs-dropdown-inner-border-radius:calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y:0.5rem;--bs-dropdown-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-dropdown-link-color:var(--bs-body-color);--bs-dropdown-link-hover-color:var(--bs-body-color);--bs-dropdown-link-hover-bg:var(--bs-tertiary-bg);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:var(--bs-tertiary-color);--bs-dropdown-item-padding-x:1rem;--bs-dropdown-item-padding-y:0.25rem;--bs-dropdown-header-color:#6c757d;--bs-dropdown-header-padding-x:1rem;--bs-dropdown-header-padding-y:0.5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:right;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;right:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position:start}.dropdown-menu-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-end{--bs-position:end}.dropdown-menu-end[data-bs-popper]{left:0;right:auto}@media (min-width:576px){.dropdown-menu-sm-start{--bs-position:start}.dropdown-menu-sm-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-sm-end{--bs-position:end}.dropdown-menu-sm-end[data-bs-popper]{left:0;right:auto}}@media (min-width:768px){.dropdown-menu-md-start{--bs-position:start}.dropdown-menu-md-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-md-end{--bs-position:end}.dropdown-menu-md-end[data-bs-popper]{left:0;right:auto}}@media (min-width:992px){.dropdown-menu-lg-start{--bs-position:start}.dropdown-menu-lg-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-lg-end{--bs-position:end}.dropdown-menu-lg-end[data-bs-popper]{left:0;right:auto}}@media (min-width:1200px){.dropdown-menu-xl-start{--bs-position:start}.dropdown-menu-xl-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-xl-end{--bs-position:end}.dropdown-menu-xl-end[data-bs-popper]{left:0;right:auto}}@media (min-width:1400px){.dropdown-menu-xxl-start{--bs-position:start}.dropdown-menu-xxl-start[data-bs-popper]{left:auto;right:0}.dropdown-menu-xxl-end{--bs-position:end}.dropdown-menu-xxl-end[data-bs-popper]{left:0;right:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle::after{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:0;border-left:.3em solid transparent;border-bottom:.3em solid;border-right:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-right:0}.dropend .dropdown-menu[data-bs-popper]{top:0;left:auto;right:100%;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle::after{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-left:0;border-bottom:.3em solid transparent;border-right:.3em solid}.dropend .dropdown-toggle:empty::after{margin-right:0}.dropend .dropdown-toggle::after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;left:100%;right:auto;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle::after{display:inline-block;margin-right:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle::after{display:none}.dropstart .dropdown-toggle::before{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-left:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty::after{margin-right:0}.dropstart .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius,0)}.dropdown-item:focus,.dropdown-item:hover{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color:#dee2e6;--bs-dropdown-bg:#343a40;--bs-dropdown-border-color:var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color:#dee2e6;--bs-dropdown-link-hover-color:#fff;--bs-dropdown-divider-bg:var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg:rgba(255, 255, 255, 0.15);--bs-dropdown-link-active-color:#fff;--bs-dropdown-link-active-bg:#0d6efd;--bs-dropdown-link-disabled-color:#adb5bd;--bs-dropdown-header-color:#adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;flex:1 1 auto}.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>.btn-group:not(:first-child),.btn-group>:not(.btn-check:first-child)+.btn{margin-right:calc(var(--bs-border-width) * -1)}.btn-group>.btn-group:not(:last-child)>.btn,.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn:not(:last-child):not(.dropdown-toggle){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn{border-top-right-radius:0;border-bottom-right-radius:0}.dropdown-toggle-split{padding-left:.5625rem;padding-right:.5625rem}.dropdown-toggle-split::after,.dropend .dropdown-toggle-split::after,.dropup .dropdown-toggle-split::after{margin-right:0}.dropstart .dropdown-toggle-split::before{margin-left:0}.btn-group-sm>.btn+.dropdown-toggle-split,.btn-sm+.dropdown-toggle-split{padding-left:.375rem;padding-right:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split,.btn-lg+.dropdown-toggle-split{padding-left:.75rem;padding-right:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn-group:not(:first-child),.btn-group-vertical>.btn:not(:first-child){margin-top:calc(var(--bs-border-width) * -1)}.btn-group-vertical>.btn-group:not(:last-child)>.btn,.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle){border-bottom-left-radius:0;border-bottom-right-radius:0}.btn-group-vertical>.btn-group:not(:first-child)>.btn,.btn-group-vertical>.btn~.btn{border-top-right-radius:0;border-top-left-radius:0}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-right:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:0 0;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion:reduce){.nav-link{transition:none}}.nav-link:focus,.nav-link:hover{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width:var(--bs-border-width);--bs-nav-tabs-border-color:var(--bs-border-color);--bs-nav-tabs-border-radius:var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color:var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color:var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg:var(--bs-body-bg);--bs-nav-tabs-link-active-border-color:var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-right-radius:var(--bs-nav-tabs-border-radius);border-top-left-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:focus,.nav-tabs .nav-link:hover{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-right-radius:0;border-top-left-radius:0}.nav-pills{--bs-nav-pills-border-radius:var(--bs-border-radius);--bs-nav-pills-link-active-color:#fff;--bs-nav-pills-link-active-bg:#0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap:1rem;--bs-nav-underline-border-width:0.125rem;--bs-nav-underline-link-active-color:var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-left:0;padding-right:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:focus,.nav-underline .nav-link:hover{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill .nav-item,.nav-fill>.nav-link{flex:1 1 auto;text-align:center}.nav-justified .nav-item,.nav-justified>.nav-link{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x:0;--bs-navbar-padding-y:0.5rem;--bs-navbar-color:rgba(var(--bs-emphasis-color-rgb), 0.65);--bs-navbar-hover-color:rgba(var(--bs-emphasis-color-rgb), 0.8);--bs-navbar-disabled-color:rgba(var(--bs-emphasis-color-rgb), 0.3);--bs-navbar-active-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y:0.3125rem;--bs-navbar-brand-margin-end:1rem;--bs-navbar-brand-font-size:1.25rem;--bs-navbar-brand-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color:rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x:0.5rem;--bs-navbar-toggler-padding-y:0.25rem;--bs-navbar-toggler-padding-x:0.75rem;--bs-navbar-toggler-font-size:1.25rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), 0.15);--bs-navbar-toggler-border-radius:var(--bs-border-radius);--bs-navbar-toggler-focus-width:0.25rem;--bs-navbar-toggler-transition:box-shadow 0.15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-lg,.navbar>.container-md,.navbar>.container-sm,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-left:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:focus,.navbar-brand:hover{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x:0;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color:var(--bs-navbar-color);--bs-nav-link-hover-color:var(--bs-navbar-hover-color);--bs-nav-link-disabled-color:var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-right:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:focus,.navbar-text a:hover{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height,75vh);overflow-y:auto}@media (min-width:576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-left:var(--bs-navbar-nav-link-padding-x);padding-right:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-left:var(--bs-navbar-nav-link-padding-x);padding-right:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-left:var(--bs-navbar-nav-link-padding-x);padding-right:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-left:var(--bs-navbar-nav-link-padding-x);padding-right:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width:1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-left:var(--bs-navbar-nav-link-padding-x);padding-right:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-left:var(--bs-navbar-nav-link-padding-x);padding-right:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color:rgba(255, 255, 255, 0.55);--bs-navbar-hover-color:rgba(255, 255, 255, 0.75);--bs-navbar-disabled-color:rgba(255, 255, 255, 0.25);--bs-navbar-active-color:#fff;--bs-navbar-brand-color:#fff;--bs-navbar-brand-hover-color:#fff;--bs-navbar-toggler-border-color:rgba(255, 255, 255, 0.1);--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y:1rem;--bs-card-spacer-x:1rem;--bs-card-title-spacer-y:0.5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width:var(--bs-border-width);--bs-card-border-color:var(--bs-border-color-translucent);--bs-card-border-radius:var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y:0.5rem;--bs-card-cap-padding-x:1rem;--bs-card-cap-bg:rgba(var(--bs-body-color-rgb), 0.03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg:var(--bs-body-bg);--bs-card-img-overlay-padding:1rem;--bs-card-group-margin:0.75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-left:0;margin-right:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-right-radius:var(--bs-card-inner-border-radius);border-top-left-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-left-radius:var(--bs-card-inner-border-radius);border-bottom-right-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-right:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-left:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-right:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-left:calc(-.5 * var(--bs-card-cap-padding-x));margin-right:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;left:0;bottom:0;right:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-img,.card-img-top{border-top-right-radius:var(--bs-card-inner-border-radius);border-top-left-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-left-radius:var(--bs-card-inner-border-radius);border-bottom-right-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-right:0;border-right:0}.card-group>.card:not(:last-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:last-child) .card-header,.card-group>.card:not(:last-child) .card-img-top{border-top-left-radius:0}.card-group>.card:not(:last-child) .card-footer,.card-group>.card:not(:last-child) .card-img-bottom{border-bottom-left-radius:0}.card-group>.card:not(:first-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:first-child) .card-header,.card-group>.card:not(:first-child) .card-img-top{border-top-right-radius:0}.card-group>.card:not(:first-child) .card-footer,.card-group>.card:not(:first-child) .card-img-bottom{border-bottom-right-radius:0}}.accordion{--bs-accordion-color:var(--bs-body-color);--bs-accordion-bg:var(--bs-body-bg);--bs-accordion-transition:color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;--bs-accordion-border-color:var(--bs-border-color);--bs-accordion-border-width:var(--bs-border-width);--bs-accordion-border-radius:var(--bs-border-radius);--bs-accordion-inner-border-radius:calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x:1.25rem;--bs-accordion-btn-padding-y:1rem;--bs-accordion-btn-color:var(--bs-body-color);--bs-accordion-btn-bg:var(--bs-accordion-bg);--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width:1.25rem;--bs-accordion-btn-icon-transform:rotate(-180deg);--bs-accordion-btn-icon-transition:transform 0.2s ease-in-out;--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color:#86b7fe;--bs-accordion-btn-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-accordion-body-padding-x:1.25rem;--bs-accordion-body-padding-y:1rem;--bs-accordion-active-color:var(--bs-primary-text-emphasis);--bs-accordion-active-bg:var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:right;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed)::after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button::after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-right:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion:reduce){.accordion-button::after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-right-radius:var(--bs-accordion-border-radius);border-top-left-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-right-radius:var(--bs-accordion-inner-border-radius);border-top-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-left-radius:var(--bs-accordion-border-radius);border-bottom-right-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-left-radius:var(--bs-accordion-inner-border-radius);border-bottom-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-left-radius:var(--bs-accordion-border-radius);border-bottom-right-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-left:0;border-right:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button::after{--bs-accordion-btn-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x:0;--bs-breadcrumb-padding-y:0;--bs-breadcrumb-margin-bottom:1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color:var(--bs-secondary-color);--bs-breadcrumb-item-padding-x:0.5rem;--bs-breadcrumb-item-active-color:var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-right:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item::before{float:right;padding-left:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "https://getbootstrap.com/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-right:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.active>.page-link,.page-link.active{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.disabled>.page-link,.page-link.disabled{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-right:calc(var(--bs-border-width) * -1)}.page-item:first-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x:1.5rem;--bs-pagination-padding-y:0.75rem;--bs-pagination-font-size:1.25rem;--bs-pagination-border-radius:var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x:0.5rem;--bs-pagination-padding-y:0.25rem;--bs-pagination-font-size:0.875rem;--bs-pagination-border-radius:var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x:0.65em;--bs-badge-padding-y:0.35em;--bs-badge-font-size:0.75em;--bs-badge-font-weight:700;--bs-badge-color:#fff;--bs-badge-border-radius:var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg:transparent;--bs-alert-padding-x:1rem;--bs-alert-padding-y:1rem;--bs-alert-margin-bottom:1rem;--bs-alert-color:inherit;--bs-alert-border-color:transparent;--bs-alert-border:var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius:var(--bs-border-radius);--bs-alert-link-color:inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-left:3rem}.alert-dismissible .btn-close{position:absolute;top:0;left:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color:var(--bs-primary-text-emphasis);--bs-alert-bg:var(--bs-primary-bg-subtle);--bs-alert-border-color:var(--bs-primary-border-subtle);--bs-alert-link-color:var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color:var(--bs-secondary-text-emphasis);--bs-alert-bg:var(--bs-secondary-bg-subtle);--bs-alert-border-color:var(--bs-secondary-border-subtle);--bs-alert-link-color:var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color:var(--bs-success-text-emphasis);--bs-alert-bg:var(--bs-success-bg-subtle);--bs-alert-border-color:var(--bs-success-border-subtle);--bs-alert-link-color:var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color:var(--bs-info-text-emphasis);--bs-alert-bg:var(--bs-info-bg-subtle);--bs-alert-border-color:var(--bs-info-border-subtle);--bs-alert-link-color:var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color:var(--bs-warning-text-emphasis);--bs-alert-bg:var(--bs-warning-bg-subtle);--bs-alert-border-color:var(--bs-warning-border-subtle);--bs-alert-link-color:var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color:var(--bs-danger-text-emphasis);--bs-alert-bg:var(--bs-danger-bg-subtle);--bs-alert-border-color:var(--bs-danger-border-subtle);--bs-alert-link-color:var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color:var(--bs-light-text-emphasis);--bs-alert-bg:var(--bs-light-bg-subtle);--bs-alert-border-color:var(--bs-light-border-subtle);--bs-alert-link-color:var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color:var(--bs-dark-text-emphasis);--bs-alert-bg:var(--bs-dark-bg-subtle);--bs-alert-border-color:var(--bs-dark-border-subtle);--bs-alert-link-color:var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress,.progress-stacked{--bs-progress-height:1rem;--bs-progress-font-size:0.75rem;--bs-progress-bg:var(--bs-secondary-bg);--bs-progress-border-radius:var(--bs-border-radius);--bs-progress-box-shadow:var(--bs-box-shadow-inset);--bs-progress-bar-color:#fff;--bs-progress-bar-bg:#0d6efd;--bs-progress-bar-transition:width 0.6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion:reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion:reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color:var(--bs-body-color);--bs-list-group-bg:var(--bs-body-bg);--bs-list-group-border-color:var(--bs-border-color);--bs-list-group-border-width:var(--bs-border-width);--bs-list-group-border-radius:var(--bs-border-radius);--bs-list-group-item-padding-x:1rem;--bs-list-group-item-padding-y:0.5rem;--bs-list-group-action-color:var(--bs-secondary-color);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-tertiary-bg);--bs-list-group-action-active-color:var(--bs-body-color);--bs-list-group-action-active-bg:var(--bs-secondary-bg);--bs-list-group-disabled-color:var(--bs-secondary-color);--bs-list-group-disabled-bg:var(--bs-body-bg);--bs-list-group-active-color:#fff;--bs-list-group-active-bg:#0d6efd;--bs-list-group-active-border-color:#0d6efd;display:flex;flex-direction:column;padding-right:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item::before{content:counters(section, ".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:focus,.list-group-item-action:hover{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-right-radius:inherit;border-top-left-radius:inherit}.list-group-item:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--bs-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--bs-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-right-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--bs-list-group-border-width));border-right-width:var(--bs-list-group-border-width)}@media (min-width:576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--bs-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--bs-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-right-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--bs-list-group-border-width));border-right-width:var(--bs-list-group-border-width)}}@media (min-width:768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--bs-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--bs-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-right-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--bs-list-group-border-width));border-right-width:var(--bs-list-group-border-width)}}@media (min-width:992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--bs-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--bs-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-right-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--bs-list-group-border-width));border-right-width:var(--bs-list-group-border-width)}}@media (min-width:1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--bs-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--bs-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-right-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--bs-list-group-border-width));border-right-width:var(--bs-list-group-border-width)}}@media (min-width:1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-right-radius:var(--bs-list-group-border-radius);border-top-left-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-left-radius:var(--bs-list-group-border-radius);border-bottom-right-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-right-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-right:calc(-1 * var(--bs-list-group-border-width));border-right-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color:var(--bs-primary-text-emphasis);--bs-list-group-bg:var(--bs-primary-bg-subtle);--bs-list-group-border-color:var(--bs-primary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-primary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-primary-border-subtle);--bs-list-group-active-color:var(--bs-primary-bg-subtle);--bs-list-group-active-bg:var(--bs-primary-text-emphasis);--bs-list-group-active-border-color:var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color:var(--bs-secondary-text-emphasis);--bs-list-group-bg:var(--bs-secondary-bg-subtle);--bs-list-group-border-color:var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-secondary-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-secondary-border-subtle);--bs-list-group-active-color:var(--bs-secondary-bg-subtle);--bs-list-group-active-bg:var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color:var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color:var(--bs-success-text-emphasis);--bs-list-group-bg:var(--bs-success-bg-subtle);--bs-list-group-border-color:var(--bs-success-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-success-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-success-border-subtle);--bs-list-group-active-color:var(--bs-success-bg-subtle);--bs-list-group-active-bg:var(--bs-success-text-emphasis);--bs-list-group-active-border-color:var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color:var(--bs-info-text-emphasis);--bs-list-group-bg:var(--bs-info-bg-subtle);--bs-list-group-border-color:var(--bs-info-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-info-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-info-border-subtle);--bs-list-group-active-color:var(--bs-info-bg-subtle);--bs-list-group-active-bg:var(--bs-info-text-emphasis);--bs-list-group-active-border-color:var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color:var(--bs-warning-text-emphasis);--bs-list-group-bg:var(--bs-warning-bg-subtle);--bs-list-group-border-color:var(--bs-warning-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-warning-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-warning-border-subtle);--bs-list-group-active-color:var(--bs-warning-bg-subtle);--bs-list-group-active-bg:var(--bs-warning-text-emphasis);--bs-list-group-active-border-color:var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color:var(--bs-danger-text-emphasis);--bs-list-group-bg:var(--bs-danger-bg-subtle);--bs-list-group-border-color:var(--bs-danger-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-danger-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-danger-border-subtle);--bs-list-group-active-color:var(--bs-danger-bg-subtle);--bs-list-group-active-bg:var(--bs-danger-text-emphasis);--bs-list-group-active-border-color:var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color:var(--bs-light-text-emphasis);--bs-list-group-bg:var(--bs-light-bg-subtle);--bs-list-group-border-color:var(--bs-light-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-light-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-light-border-subtle);--bs-list-group-active-color:var(--bs-light-bg-subtle);--bs-list-group-active-bg:var(--bs-light-text-emphasis);--bs-list-group-active-border-color:var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color:var(--bs-dark-text-emphasis);--bs-list-group-bg:var(--bs-dark-bg-subtle);--bs-list-group-border-color:var(--bs-dark-border-subtle);--bs-list-group-action-hover-color:var(--bs-emphasis-color);--bs-list-group-action-hover-bg:var(--bs-dark-border-subtle);--bs-list-group-action-active-color:var(--bs-emphasis-color);--bs-list-group-action-active-bg:var(--bs-dark-border-subtle);--bs-list-group-active-color:var(--bs-dark-bg-subtle);--bs-list-group-active-bg:var(--bs-dark-text-emphasis);--bs-list-group-active-border-color:var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color:#000;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");--bs-btn-close-opacity:0.5;--bs-btn-close-hover-opacity:0.75;--bs-btn-close-focus-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-btn-close-focus-opacity:1;--bs-btn-close-disabled-opacity:0.25;--bs-btn-close-white-filter:invert(1) grayscale(100%) brightness(200%);box-sizing:content-box;width:1em;height:1em;padding:.25em .25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close.disabled,.btn-close:disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{filter:var(--bs-btn-close-white-filter)}[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-shadow);--bs-toast-header-color:var(--bs-secondary-color);--bs-toast-header-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-header-border-color:var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex:1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-left:calc(-.5 * var(--bs-toast-padding-x));margin-right:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex:1055;--bs-modal-width:500px;--bs-modal-padding:1rem;--bs-modal-margin:0.5rem;--bs-modal-color: ;--bs-modal-bg:var(--bs-body-bg);--bs-modal-border-color:var(--bs-border-color-translucent);--bs-modal-border-width:var(--bs-border-width);--bs-modal-border-radius:var(--bs-border-radius-lg);--bs-modal-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-modal-inner-border-radius:calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x:1rem;--bs-modal-header-padding-y:1rem;--bs-modal-header-padding:1rem 1rem;--bs-modal-header-border-color:var(--bs-border-color);--bs-modal-header-border-width:var(--bs-border-width);--bs-modal-title-line-height:1.5;--bs-modal-footer-gap:0.5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color:var(--bs-border-color);--bs-modal-footer-border-width:var(--bs-border-width);position:fixed;top:0;right:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-50px)}@media (prefers-reduced-motion:reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex:1050;--bs-backdrop-bg:#000;--bs-backdrop-opacity:0.5;position:fixed;top:0;right:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-right-radius:var(--bs-modal-inner-border-radius);border-top-left-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) auto calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x))}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-left-radius:var(--bs-modal-inner-border-radius);border-bottom-right-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width:576px){.modal{--bs-modal-margin:1.75rem;--bs-modal-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15)}.modal-dialog{max-width:var(--bs-modal-width);margin-left:auto;margin-right:auto}.modal-sm{--bs-modal-width:300px}}@media (min-width:992px){.modal-lg,.modal-xl{--bs-modal-width:800px}}@media (min-width:1200px){.modal-xl{--bs-modal-width:1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-footer,.modal-fullscreen .modal-header{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width:575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-footer,.modal-fullscreen-sm-down .modal-header{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width:767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-footer,.modal-fullscreen-md-down .modal-header{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width:991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-footer,.modal-fullscreen-lg-down .modal-header{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width:1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-footer,.modal-fullscreen-xl-down .modal-header{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width:1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-footer,.modal-fullscreen-xxl-down .modal-header{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex:1080;--bs-tooltip-max-width:200px;--bs-tooltip-padding-x:0.5rem;--bs-tooltip-padding-y:0.25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size:0.875rem;--bs-tooltip-color:var(--bs-body-bg);--bs-tooltip-bg:var(--bs-emphasis-color);--bs-tooltip-border-radius:var(--bs-border-radius);--bs-tooltip-opacity:0.9;--bs-tooltip-arrow-width:0.8rem;--bs-tooltip-arrow-height:0.4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:right;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow::before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow,.bs-tooltip-top .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,.bs-tooltip-top .tooltip-arrow::before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow,.bs-tooltip-end .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,.bs-tooltip-end .tooltip-arrow::before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow,.bs-tooltip-bottom .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before,.bs-tooltip-bottom .tooltip-arrow::before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow,.bs-tooltip-start .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before,.bs-tooltip-start .tooltip-arrow::before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex:1070;--bs-popover-max-width:276px;--bs-popover-font-size:0.875rem;--bs-popover-bg:var(--bs-body-bg);--bs-popover-border-width:var(--bs-border-width);--bs-popover-border-color:var(--bs-border-color-translucent);--bs-popover-border-radius:var(--bs-border-radius-lg);--bs-popover-inner-border-radius:calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-popover-header-padding-x:1rem;--bs-popover-header-padding-y:0.5rem;--bs-popover-header-font-size:1rem;--bs-popover-header-color: ;--bs-popover-header-bg:var(--bs-secondary-bg);--bs-popover-body-padding-x:1rem;--bs-popover-body-padding-y:1rem;--bs-popover-body-color:var(--bs-body-color);--bs-popover-arrow-width:1rem;--bs-popover-arrow-height:0.5rem;--bs-popover-arrow-border:var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:right;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow::after,.popover .popover-arrow::before{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow,.bs-popover-top>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::after,.bs-popover-top>.popover-arrow::before{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::before,.bs-popover-top>.popover-arrow::before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,.bs-popover-top>.popover-arrow::after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow,.bs-popover-end>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::after,.bs-popover-end>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::before,.bs-popover-end>.popover-arrow::before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=right]>.popover-arrow::after,.bs-popover-end>.popover-arrow::after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow,.bs-popover-bottom>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::before{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::before,.bs-popover-bottom>.popover-arrow::before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow::after,.bs-popover-bottom>.popover-arrow::after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-auto[data-popper-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before{position:absolute;top:0;right:50%;display:block;width:var(--bs-popover-arrow-width);margin-right:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow,.bs-popover-start>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::after,.bs-popover-start>.popover-arrow::before{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::before,.bs-popover-start>.popover-arrow::before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-right-radius:var(--bs-popover-inner-border-radius);border-top-left-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner::after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:right;width:100%;margin-left:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}.carousel-item-next,.carousel-item-prev,.carousel-item.active{display:block}.active.carousel-item-end,.carousel-item-next:not(.carousel-item-start){transform:translateX(-100%)}.active.carousel-item-start,.carousel-item-prev:not(.carousel-item-end){transform:translateX(100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end,.carousel-fade .carousel-item.active{z-index:1;opacity:1}.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-end,.carousel-fade .active.carousel-item-start{transition:none}}.carousel-control-next,.carousel-control-prev{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:0 0;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion:reduce){.carousel-control-next,.carousel-control-prev{transition:none}}.carousel-control-next:focus,.carousel-control-next:hover,.carousel-control-prev:focus,.carousel-control-prev:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{right:0}.carousel-control-next{left:0}.carousel-control-next-icon,.carousel-control-prev-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;left:0;bottom:0;right:0;z-index:2;display:flex;justify-content:center;padding:0;margin-left:15%;margin-bottom:1rem;margin-right:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-left:3px;margin-right:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion:reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;left:15%;bottom:1.25rem;right:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-next-icon,.carousel-dark .carousel-control-prev-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}[data-bs-theme=dark] .carousel .carousel-control-next-icon,[data-bs-theme=dark] .carousel .carousel-control-prev-icon,[data-bs-theme=dark].carousel .carousel-control-next-icon,[data-bs-theme=dark].carousel .carousel-control-prev-icon{filter:invert(1) grayscale(100)}[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target],[data-bs-theme=dark].carousel .carousel-indicators [data-bs-target]{background-color:#000}[data-bs-theme=dark] .carousel .carousel-caption,[data-bs-theme=dark].carousel .carousel-caption{color:#000}.spinner-border,.spinner-grow{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-left-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion:reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.offcanvas,.offcanvas-lg,.offcanvas-md,.offcanvas-sm,.offcanvas-xl,.offcanvas-xxl{--bs-offcanvas-zindex:1045;--bs-offcanvas-width:400px;--bs-offcanvas-height:30vh;--bs-offcanvas-padding-x:1rem;--bs-offcanvas-padding-y:1rem;--bs-offcanvas-color:var(--bs-body-color);--bs-offcanvas-bg:var(--bs-body-bg);--bs-offcanvas-border-width:var(--bs-border-width);--bs-offcanvas-border-color:var(--bs-border-color-translucent);--bs-offcanvas-box-shadow:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-offcanvas-transition:transform 0.3s ease-in-out;--bs-offcanvas-title-line-height:1.5}@media (max-width:575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:575.98px) and (prefers-reduced-motion:reduce){.offcanvas-sm{transition:none}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-start{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-end{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-top{top:0;left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:575.98px){.offcanvas-sm.offcanvas-bottom{left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:575.98px){.offcanvas-sm.show:not(.hiding),.offcanvas-sm.showing{transform:none}}@media (max-width:575.98px){.offcanvas-sm.hiding,.offcanvas-sm.show,.offcanvas-sm.showing{visibility:visible}}@media (min-width:576px){.offcanvas-sm{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:767.98px) and (prefers-reduced-motion:reduce){.offcanvas-md{transition:none}}@media (max-width:767.98px){.offcanvas-md.offcanvas-start{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:767.98px){.offcanvas-md.offcanvas-end{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:767.98px){.offcanvas-md.offcanvas-top{top:0;left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:767.98px){.offcanvas-md.offcanvas-bottom{left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:767.98px){.offcanvas-md.show:not(.hiding),.offcanvas-md.showing{transform:none}}@media (max-width:767.98px){.offcanvas-md.hiding,.offcanvas-md.show,.offcanvas-md.showing{visibility:visible}}@media (min-width:768px){.offcanvas-md{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:991.98px) and (prefers-reduced-motion:reduce){.offcanvas-lg{transition:none}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-start{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-end{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-top{top:0;left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:991.98px){.offcanvas-lg.offcanvas-bottom{left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:991.98px){.offcanvas-lg.show:not(.hiding),.offcanvas-lg.showing{transform:none}}@media (max-width:991.98px){.offcanvas-lg.hiding,.offcanvas-lg.show,.offcanvas-lg.showing{visibility:visible}}@media (min-width:992px){.offcanvas-lg{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1199.98px) and (prefers-reduced-motion:reduce){.offcanvas-xl{transition:none}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-start{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-end{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-top{top:0;left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:1199.98px){.offcanvas-xl.offcanvas-bottom{left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:1199.98px){.offcanvas-xl.show:not(.hiding),.offcanvas-xl.showing{transform:none}}@media (max-width:1199.98px){.offcanvas-xl.hiding,.offcanvas-xl.show,.offcanvas-xl.showing{visibility:visible}}@media (min-width:1200px){.offcanvas-xl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width:1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width:1399.98px) and (prefers-reduced-motion:reduce){.offcanvas-xxl{transition:none}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-start{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-end{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-top{top:0;left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width:1399.98px){.offcanvas-xxl.offcanvas-bottom{left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width:1399.98px){.offcanvas-xxl.show:not(.hiding),.offcanvas-xxl.showing{transform:none}}@media (max-width:1399.98px){.offcanvas-xxl.hiding,.offcanvas-xxl.show,.offcanvas-xxl.showing{visibility:visible}}@media (min-width:1400px){.offcanvas-xxl{--bs-offcanvas-height:auto;--bs-offcanvas-border-width:0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion:reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(100%)}.offcanvas.offcanvas-end{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateX(-100%)}.offcanvas.offcanvas-top{top:0;left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{left:0;right:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.show:not(.hiding),.offcanvas.showing{transform:none}.offcanvas.hiding,.offcanvas.show,.offcanvas.showing{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;right:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-left:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn::before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,0.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{100%{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(13,110,253,var(--bs-bg-opacity,1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity,1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity,1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity,1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity,1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity,1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity,1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity,1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity,1))}.link-primary:focus,.link-primary:hover{color:RGBA(10,88,202,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity,1))}.link-secondary{color:RGBA(var(--bs-secondary-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity,1))}.link-secondary:focus,.link-secondary:hover{color:RGBA(86,94,100,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity,1))}.link-success{color:RGBA(var(--bs-success-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity,1))}.link-success:focus,.link-success:hover{color:RGBA(20,108,67,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity,1))}.link-info{color:RGBA(var(--bs-info-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity,1))}.link-info:focus,.link-info:hover{color:RGBA(61,213,243,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity,1))}.link-warning{color:RGBA(var(--bs-warning-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity,1))}.link-warning:focus,.link-warning:hover{color:RGBA(255,205,57,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity,1))}.link-danger{color:RGBA(var(--bs-danger-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity,1))}.link-danger:focus,.link-danger:hover{color:RGBA(176,42,55,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity,1))}.link-light{color:RGBA(var(--bs-light-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity,1))}.link-light:focus,.link-light:hover{color:RGBA(249,250,251,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity,1))}.link-dark{color:RGBA(var(--bs-dark-rgb,var(--bs-link-opacity,1)));-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity,1))}.link-dark:focus,.link-dark:hover{color:RGBA(26,30,33,var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity,1))}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,1));-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1));text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,1))}.link-body-emphasis:focus,.link-body-emphasis:hover{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity,.75));-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75));text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity,0.75))}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x,0) var(--bs-focus-ring-y,0) var(--bs-focus-ring-blur,0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,0.5));text-underline-offset:0.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion:reduce){.icon-link>.bi{transition:none}}.icon-link-hover:focus-visible>.bi,.icon-link-hover:hover>.bi{transform:var(--bs-icon-link-transform,translate3d(-.25em,0,0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;right:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;left:0;right:0;z-index:1030}.fixed-bottom{position:fixed;left:0;bottom:0;right:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width:576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width:1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),.visually-hidden:not(caption){position:absolute!important}.stretched-link::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:right!important}.float-end{float:left!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important}.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important}.shadow-lg{box-shadow:0 1rem 3rem rgba(0,0,0,.175)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color:rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color:rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color:rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color:rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color:rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color:rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color:rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color:rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{right:0!important}.start-50{right:50%!important}.start-100{right:100%!important}.end-0{left:0!important}.end-50{left:50%!important}.end-100{left:100%!important}.translate-middle{transform:translate(50%,-50%)!important}.translate-middle-x{transform:translateX(50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-left:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-right:0!important}.border-primary{--bs-border-opacity:1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity:1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity:1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity:1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity:1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity:1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity:1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity:1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity:1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity:1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity:0.1}.border-opacity-25{--bs-border-opacity:0.25}.border-opacity-50{--bs-border-opacity:0.5}.border-opacity-75{--bs-border-opacity:0.75}.border-opacity-100{--bs-border-opacity:1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-left:0!important;margin-right:0!important}.mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-3{margin-left:1rem!important;margin-right:1rem!important}.mx-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-5{margin-left:3rem!important;margin-right:3rem!important}.mx-auto{margin-left:auto!important;margin-right:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-left:0!important}.me-1{margin-left:.25rem!important}.me-2{margin-left:.5rem!important}.me-3{margin-left:1rem!important}.me-4{margin-left:1.5rem!important}.me-5{margin-left:3rem!important}.me-auto{margin-left:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-right:0!important}.ms-1{margin-right:.25rem!important}.ms-2{margin-right:.5rem!important}.ms-3{margin-right:1rem!important}.ms-4{margin-right:1.5rem!important}.ms-5{margin-right:3rem!important}.ms-auto{margin-right:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-left:0!important;padding-right:0!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-3{padding-left:1rem!important;padding-right:1rem!important}.px-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-5{padding-left:3rem!important;padding-right:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-left:0!important}.pe-1{padding-left:.25rem!important}.pe-2{padding-left:.5rem!important}.pe-3{padding-left:1rem!important}.pe-4{padding-left:1.5rem!important}.pe-5{padding-left:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-right:0!important}.ps-1{padding-right:.25rem!important}.ps-2{padding-right:.5rem!important}.ps-3{padding-right:1rem!important}.ps-4{padding-right:1.5rem!important}.ps-5{padding-right:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:right!important}.text-end{text-align:left!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity:1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity:1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity:1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity:1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity:1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity:1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity:1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity:1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity:1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity:1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity:1;color:rgba(0,0,0,.5)!important}.text-white-50{--bs-text-opacity:1;color:rgba(255,255,255,.5)!important}.text-body-secondary{--bs-text-opacity:1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity:1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity:1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity:1;color:inherit!important}.text-opacity-25{--bs-text-opacity:0.25}.text-opacity-50{--bs-text-opacity:0.5}.text-opacity-75{--bs-text-opacity:0.75}.text-opacity-100{--bs-text-opacity:1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10{--bs-link-opacity:0.1}.link-opacity-10-hover:hover{--bs-link-opacity:0.1}.link-opacity-25{--bs-link-opacity:0.25}.link-opacity-25-hover:hover{--bs-link-opacity:0.25}.link-opacity-50{--bs-link-opacity:0.5}.link-opacity-50-hover:hover{--bs-link-opacity:0.5}.link-opacity-75{--bs-link-opacity:0.75}.link-opacity-75-hover:hover{--bs-link-opacity:0.75}.link-opacity-100{--bs-link-opacity:1}.link-opacity-100-hover:hover{--bs-link-opacity:1}.link-offset-1{text-underline-offset:0.125em!important}.link-offset-1-hover:hover{text-underline-offset:0.125em!important}.link-offset-2{text-underline-offset:0.25em!important}.link-offset-2-hover:hover{text-underline-offset:0.25em!important}.link-offset-3{text-underline-offset:0.375em!important}.link-offset-3-hover:hover{text-underline-offset:0.375em!important}.link-underline-primary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity:1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity,1))!important}.link-underline-opacity-0{--bs-link-underline-opacity:0}.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity:0}.link-underline-opacity-10{--bs-link-underline-opacity:0.1}.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity:0.1}.link-underline-opacity-25{--bs-link-underline-opacity:0.25}.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity:0.25}.link-underline-opacity-50{--bs-link-underline-opacity:0.5}.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity:0.5}.link-underline-opacity-75{--bs-link-underline-opacity:0.75}.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity:0.75}.link-underline-opacity-100{--bs-link-underline-opacity:1}.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity:1}.bg-primary{--bs-bg-opacity:1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity:1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity:1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity:1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity:1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity:1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity:1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity:1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity:1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity:1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity:1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity:1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity:1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity:0.1}.bg-opacity-25{--bs-bg-opacity:0.25}.bg-opacity-50{--bs-bg-opacity:0.5}.bg-opacity-75{--bs-bg-opacity:0.75}.bg-opacity-100{--bs-bg-opacity:1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-right-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-right-radius:0!important;border-top-left-radius:0!important}.rounded-top-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-right-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-right-radius:50%!important;border-top-left-radius:50%!important}.rounded-top-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-left-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.rounded-end-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-left-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-end-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-left-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-bottom-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-bottom-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-right-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.rounded-start-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-right-radius:50%!important;border-top-right-radius:50%!important}.rounded-start-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width:576px){.float-sm-start{float:right!important}.float-sm-end{float:left!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-left:0!important;margin-right:0!important}.mx-sm-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-sm-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-sm-3{margin-left:1rem!important;margin-right:1rem!important}.mx-sm-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-sm-5{margin-left:3rem!important;margin-right:3rem!important}.mx-sm-auto{margin-left:auto!important;margin-right:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-left:0!important}.me-sm-1{margin-left:.25rem!important}.me-sm-2{margin-left:.5rem!important}.me-sm-3{margin-left:1rem!important}.me-sm-4{margin-left:1.5rem!important}.me-sm-5{margin-left:3rem!important}.me-sm-auto{margin-left:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-right:0!important}.ms-sm-1{margin-right:.25rem!important}.ms-sm-2{margin-right:.5rem!important}.ms-sm-3{margin-right:1rem!important}.ms-sm-4{margin-right:1.5rem!important}.ms-sm-5{margin-right:3rem!important}.ms-sm-auto{margin-right:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-left:0!important;padding-right:0!important}.px-sm-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-sm-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-sm-3{padding-left:1rem!important;padding-right:1rem!important}.px-sm-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-sm-5{padding-left:3rem!important;padding-right:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-left:0!important}.pe-sm-1{padding-left:.25rem!important}.pe-sm-2{padding-left:.5rem!important}.pe-sm-3{padding-left:1rem!important}.pe-sm-4{padding-left:1.5rem!important}.pe-sm-5{padding-left:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-right:0!important}.ps-sm-1{padding-right:.25rem!important}.ps-sm-2{padding-right:.5rem!important}.ps-sm-3{padding-right:1rem!important}.ps-sm-4{padding-right:1.5rem!important}.ps-sm-5{padding-right:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:right!important}.text-sm-end{text-align:left!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.float-md-start{float:right!important}.float-md-end{float:left!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-left:0!important;margin-right:0!important}.mx-md-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-md-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-md-3{margin-left:1rem!important;margin-right:1rem!important}.mx-md-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-md-5{margin-left:3rem!important;margin-right:3rem!important}.mx-md-auto{margin-left:auto!important;margin-right:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-left:0!important}.me-md-1{margin-left:.25rem!important}.me-md-2{margin-left:.5rem!important}.me-md-3{margin-left:1rem!important}.me-md-4{margin-left:1.5rem!important}.me-md-5{margin-left:3rem!important}.me-md-auto{margin-left:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-right:0!important}.ms-md-1{margin-right:.25rem!important}.ms-md-2{margin-right:.5rem!important}.ms-md-3{margin-right:1rem!important}.ms-md-4{margin-right:1.5rem!important}.ms-md-5{margin-right:3rem!important}.ms-md-auto{margin-right:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-left:0!important;padding-right:0!important}.px-md-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-md-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-md-3{padding-left:1rem!important;padding-right:1rem!important}.px-md-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-md-5{padding-left:3rem!important;padding-right:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-left:0!important}.pe-md-1{padding-left:.25rem!important}.pe-md-2{padding-left:.5rem!important}.pe-md-3{padding-left:1rem!important}.pe-md-4{padding-left:1.5rem!important}.pe-md-5{padding-left:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-right:0!important}.ps-md-1{padding-right:.25rem!important}.ps-md-2{padding-right:.5rem!important}.ps-md-3{padding-right:1rem!important}.ps-md-4{padding-right:1.5rem!important}.ps-md-5{padding-right:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:right!important}.text-md-end{text-align:left!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.float-lg-start{float:right!important}.float-lg-end{float:left!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-left:0!important;margin-right:0!important}.mx-lg-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-lg-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-lg-3{margin-left:1rem!important;margin-right:1rem!important}.mx-lg-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-lg-5{margin-left:3rem!important;margin-right:3rem!important}.mx-lg-auto{margin-left:auto!important;margin-right:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-left:0!important}.me-lg-1{margin-left:.25rem!important}.me-lg-2{margin-left:.5rem!important}.me-lg-3{margin-left:1rem!important}.me-lg-4{margin-left:1.5rem!important}.me-lg-5{margin-left:3rem!important}.me-lg-auto{margin-left:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-right:0!important}.ms-lg-1{margin-right:.25rem!important}.ms-lg-2{margin-right:.5rem!important}.ms-lg-3{margin-right:1rem!important}.ms-lg-4{margin-right:1.5rem!important}.ms-lg-5{margin-right:3rem!important}.ms-lg-auto{margin-right:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-left:0!important;padding-right:0!important}.px-lg-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-lg-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-lg-3{padding-left:1rem!important;padding-right:1rem!important}.px-lg-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-lg-5{padding-left:3rem!important;padding-right:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-left:0!important}.pe-lg-1{padding-left:.25rem!important}.pe-lg-2{padding-left:.5rem!important}.pe-lg-3{padding-left:1rem!important}.pe-lg-4{padding-left:1.5rem!important}.pe-lg-5{padding-left:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-right:0!important}.ps-lg-1{padding-right:.25rem!important}.ps-lg-2{padding-right:.5rem!important}.ps-lg-3{padding-right:1rem!important}.ps-lg-4{padding-right:1.5rem!important}.ps-lg-5{padding-right:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:right!important}.text-lg-end{text-align:left!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.float-xl-start{float:right!important}.float-xl-end{float:left!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-left:0!important;margin-right:0!important}.mx-xl-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-xl-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-xl-3{margin-left:1rem!important;margin-right:1rem!important}.mx-xl-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-xl-5{margin-left:3rem!important;margin-right:3rem!important}.mx-xl-auto{margin-left:auto!important;margin-right:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-left:0!important}.me-xl-1{margin-left:.25rem!important}.me-xl-2{margin-left:.5rem!important}.me-xl-3{margin-left:1rem!important}.me-xl-4{margin-left:1.5rem!important}.me-xl-5{margin-left:3rem!important}.me-xl-auto{margin-left:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-right:0!important}.ms-xl-1{margin-right:.25rem!important}.ms-xl-2{margin-right:.5rem!important}.ms-xl-3{margin-right:1rem!important}.ms-xl-4{margin-right:1.5rem!important}.ms-xl-5{margin-right:3rem!important}.ms-xl-auto{margin-right:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-left:0!important;padding-right:0!important}.px-xl-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-xl-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-xl-3{padding-left:1rem!important;padding-right:1rem!important}.px-xl-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-xl-5{padding-left:3rem!important;padding-right:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-left:0!important}.pe-xl-1{padding-left:.25rem!important}.pe-xl-2{padding-left:.5rem!important}.pe-xl-3{padding-left:1rem!important}.pe-xl-4{padding-left:1.5rem!important}.pe-xl-5{padding-left:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-right:0!important}.ps-xl-1{padding-right:.25rem!important}.ps-xl-2{padding-right:.5rem!important}.ps-xl-3{padding-right:1rem!important}.ps-xl-4{padding-right:1.5rem!important}.ps-xl-5{padding-right:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:right!important}.text-xl-end{text-align:left!important}.text-xl-center{text-align:center!important}}@media (min-width:1400px){.float-xxl-start{float:right!important}.float-xxl-end{float:left!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-left:0!important;margin-right:0!important}.mx-xxl-1{margin-left:.25rem!important;margin-right:.25rem!important}.mx-xxl-2{margin-left:.5rem!important;margin-right:.5rem!important}.mx-xxl-3{margin-left:1rem!important;margin-right:1rem!important}.mx-xxl-4{margin-left:1.5rem!important;margin-right:1.5rem!important}.mx-xxl-5{margin-left:3rem!important;margin-right:3rem!important}.mx-xxl-auto{margin-left:auto!important;margin-right:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-left:0!important}.me-xxl-1{margin-left:.25rem!important}.me-xxl-2{margin-left:.5rem!important}.me-xxl-3{margin-left:1rem!important}.me-xxl-4{margin-left:1.5rem!important}.me-xxl-5{margin-left:3rem!important}.me-xxl-auto{margin-left:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-right:0!important}.ms-xxl-1{margin-right:.25rem!important}.ms-xxl-2{margin-right:.5rem!important}.ms-xxl-3{margin-right:1rem!important}.ms-xxl-4{margin-right:1.5rem!important}.ms-xxl-5{margin-right:3rem!important}.ms-xxl-auto{margin-right:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-left:0!important;padding-right:0!important}.px-xxl-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-xxl-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-xxl-3{padding-left:1rem!important;padding-right:1rem!important}.px-xxl-4{padding-left:1.5rem!important;padding-right:1.5rem!important}.px-xxl-5{padding-left:3rem!important;padding-right:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-left:0!important}.pe-xxl-1{padding-left:.25rem!important}.pe-xxl-2{padding-left:.5rem!important}.pe-xxl-3{padding-left:1rem!important}.pe-xxl-4{padding-left:1.5rem!important}.pe-xxl-5{padding-left:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-right:0!important}.ps-xxl-1{padding-right:.25rem!important}.ps-xxl-2{padding-right:.5rem!important}.ps-xxl-3{padding-right:1rem!important}.ps-xxl-4{padding-right:1.5rem!important}.ps-xxl-5{padding-right:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:0.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:0.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:right!important}.text-xxl-end{text-align:left!important}.text-xxl-center{text-align:center!important}}@media (min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}} /*# sourceMappingURL=bootstrap.rtl.min.css.map */ \ No newline at end of file diff --git a/dist/js/bootstrap.bundle.js b/dist/js/bootstrap.bundle.js new file mode 100644 index 0000000..67ab056 --- /dev/null +++ b/dist/js/bootstrap.bundle.js @@ -0,0 +1,7075 @@ +/*! + * Bootstrap v5.2.3 (https://getbootstrap.com/) + * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.bootstrap = factory()); +})(this, (function () { 'use strict'; + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): util/index.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + const MAX_UID = 1000000; + const MILLISECONDS_MULTIPLIER = 1000; + const TRANSITION_END = 'transitionend'; // Shout-out Angus Croll (https://goo.gl/pxwQGp) + + const toType = object => { + if (object === null || object === undefined) { + return `${object}`; + } + + return Object.prototype.toString.call(object).match(/\s([a-z]+)/i)[1].toLowerCase(); + }; + /** + * Public Util API + */ + + + const getUID = prefix => { + do { + prefix += Math.floor(Math.random() * MAX_UID); + } while (document.getElementById(prefix)); + + return prefix; + }; + + const getSelector = element => { + let selector = element.getAttribute('data-bs-target'); + + if (!selector || selector === '#') { + let hrefAttribute = element.getAttribute('href'); // The only valid content that could double as a selector are IDs or classes, + // so everything starting with `#` or `.`. If a "real" URL is used as the selector, + // `document.querySelector` will rightfully complain it is invalid. + // See https://github.com/twbs/bootstrap/issues/32273 + + if (!hrefAttribute || !hrefAttribute.includes('#') && !hrefAttribute.startsWith('.')) { + return null; + } // Just in case some CMS puts out a full URL with the anchor appended + + + if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) { + hrefAttribute = `#${hrefAttribute.split('#')[1]}`; + } + + selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null; + } + + return selector; + }; + + const getSelectorFromElement = element => { + const selector = getSelector(element); + + if (selector) { + return document.querySelector(selector) ? selector : null; + } + + return null; + }; + + const getElementFromSelector = element => { + const selector = getSelector(element); + return selector ? document.querySelector(selector) : null; + }; + + const getTransitionDurationFromElement = element => { + if (!element) { + return 0; + } // Get transition-duration of the element + + + let { + transitionDuration, + transitionDelay + } = window.getComputedStyle(element); + const floatTransitionDuration = Number.parseFloat(transitionDuration); + const floatTransitionDelay = Number.parseFloat(transitionDelay); // Return 0 if element or transition duration is not found + + if (!floatTransitionDuration && !floatTransitionDelay) { + return 0; + } // If multiple durations are defined, take the first + + + transitionDuration = transitionDuration.split(',')[0]; + transitionDelay = transitionDelay.split(',')[0]; + return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER; + }; + + const triggerTransitionEnd = element => { + element.dispatchEvent(new Event(TRANSITION_END)); + }; + + const isElement$1 = object => { + if (!object || typeof object !== 'object') { + return false; + } + + if (typeof object.jquery !== 'undefined') { + object = object[0]; + } + + return typeof object.nodeType !== 'undefined'; + }; + + const getElement = object => { + // it's a jQuery object or a node element + if (isElement$1(object)) { + return object.jquery ? object[0] : object; + } + + if (typeof object === 'string' && object.length > 0) { + return document.querySelector(object); + } + + return null; + }; + + const isVisible = element => { + if (!isElement$1(element) || element.getClientRects().length === 0) { + return false; + } + + const elementIsVisible = getComputedStyle(element).getPropertyValue('visibility') === 'visible'; // Handle `details` element as its content may falsie appear visible when it is closed + + const closedDetails = element.closest('details:not([open])'); + + if (!closedDetails) { + return elementIsVisible; + } + + if (closedDetails !== element) { + const summary = element.closest('summary'); + + if (summary && summary.parentNode !== closedDetails) { + return false; + } + + if (summary === null) { + return false; + } + } + + return elementIsVisible; + }; + + const isDisabled = element => { + if (!element || element.nodeType !== Node.ELEMENT_NODE) { + return true; + } + + if (element.classList.contains('disabled')) { + return true; + } + + if (typeof element.disabled !== 'undefined') { + return element.disabled; + } + + return element.hasAttribute('disabled') && element.getAttribute('disabled') !== 'false'; + }; + + const findShadowRoot = element => { + if (!document.documentElement.attachShadow) { + return null; + } // Can find the shadow root otherwise it'll return the document + + + if (typeof element.getRootNode === 'function') { + const root = element.getRootNode(); + return root instanceof ShadowRoot ? root : null; + } + + if (element instanceof ShadowRoot) { + return element; + } // when we don't find a shadow root + + + if (!element.parentNode) { + return null; + } + + return findShadowRoot(element.parentNode); + }; + + const noop = () => {}; + /** + * Trick to restart an element's animation + * + * @param {HTMLElement} element + * @return void + * + * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation + */ + + + const reflow = element => { + element.offsetHeight; // eslint-disable-line no-unused-expressions + }; + + const getjQuery = () => { + if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) { + return window.jQuery; + } + + return null; + }; + + const DOMContentLoadedCallbacks = []; + + const onDOMContentLoaded = callback => { + if (document.readyState === 'loading') { + // add listener on the first call when the document is in loading state + if (!DOMContentLoadedCallbacks.length) { + document.addEventListener('DOMContentLoaded', () => { + for (const callback of DOMContentLoadedCallbacks) { + callback(); + } + }); + } + + DOMContentLoadedCallbacks.push(callback); + } else { + callback(); + } + }; + + const isRTL = () => document.documentElement.dir === 'rtl'; + + const defineJQueryPlugin = plugin => { + onDOMContentLoaded(() => { + const $ = getjQuery(); + /* istanbul ignore if */ + + if ($) { + const name = plugin.NAME; + const JQUERY_NO_CONFLICT = $.fn[name]; + $.fn[name] = plugin.jQueryInterface; + $.fn[name].Constructor = plugin; + + $.fn[name].noConflict = () => { + $.fn[name] = JQUERY_NO_CONFLICT; + return plugin.jQueryInterface; + }; + } + }); + }; + + const execute = callback => { + if (typeof callback === 'function') { + callback(); + } + }; + + const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => { + if (!waitForTransition) { + execute(callback); + return; + } + + const durationPadding = 5; + const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding; + let called = false; + + const handler = ({ + target + }) => { + if (target !== transitionElement) { + return; + } + + called = true; + transitionElement.removeEventListener(TRANSITION_END, handler); + execute(callback); + }; + + transitionElement.addEventListener(TRANSITION_END, handler); + setTimeout(() => { + if (!called) { + triggerTransitionEnd(transitionElement); + } + }, emulatedDuration); + }; + /** + * Return the previous/next element of a list. + * + * @param {array} list The list of elements + * @param activeElement The active element + * @param shouldGetNext Choose to get next or previous element + * @param isCycleAllowed + * @return {Element|elem} The proper element + */ + + + const getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => { + const listLength = list.length; + let index = list.indexOf(activeElement); // if the element does not exist in the list return an element + // depending on the direction and if cycle is allowed + + if (index === -1) { + return !shouldGetNext && isCycleAllowed ? list[listLength - 1] : list[0]; + } + + index += shouldGetNext ? 1 : -1; + + if (isCycleAllowed) { + index = (index + listLength) % listLength; + } + + return list[Math.max(0, Math.min(index, listLength - 1))]; + }; + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): dom/event-handler.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const namespaceRegex = /[^.]*(?=\..*)\.|.*/; + const stripNameRegex = /\..*/; + const stripUidRegex = /::\d+$/; + const eventRegistry = {}; // Events storage + + let uidEvent = 1; + const customEvents = { + mouseenter: 'mouseover', + mouseleave: 'mouseout' + }; + const nativeEvents = new Set(['click', 'dblclick', 'mouseup', 'mousedown', 'contextmenu', 'mousewheel', 'DOMMouseScroll', 'mouseover', 'mouseout', 'mousemove', 'selectstart', 'selectend', 'keydown', 'keypress', 'keyup', 'orientationchange', 'touchstart', 'touchmove', 'touchend', 'touchcancel', 'pointerdown', 'pointermove', 'pointerup', 'pointerleave', 'pointercancel', 'gesturestart', 'gesturechange', 'gestureend', 'focus', 'blur', 'change', 'reset', 'select', 'submit', 'focusin', 'focusout', 'load', 'unload', 'beforeunload', 'resize', 'move', 'DOMContentLoaded', 'readystatechange', 'error', 'abort', 'scroll']); + /** + * Private methods + */ + + function makeEventUid(element, uid) { + return uid && `${uid}::${uidEvent++}` || element.uidEvent || uidEvent++; + } + + function getElementEvents(element) { + const uid = makeEventUid(element); + element.uidEvent = uid; + eventRegistry[uid] = eventRegistry[uid] || {}; + return eventRegistry[uid]; + } + + function bootstrapHandler(element, fn) { + return function handler(event) { + hydrateObj(event, { + delegateTarget: element + }); + + if (handler.oneOff) { + EventHandler.off(element, event.type, fn); + } + + return fn.apply(element, [event]); + }; + } + + function bootstrapDelegationHandler(element, selector, fn) { + return function handler(event) { + const domElements = element.querySelectorAll(selector); + + for (let { + target + } = event; target && target !== this; target = target.parentNode) { + for (const domElement of domElements) { + if (domElement !== target) { + continue; + } + + hydrateObj(event, { + delegateTarget: target + }); + + if (handler.oneOff) { + EventHandler.off(element, event.type, selector, fn); + } + + return fn.apply(target, [event]); + } + } + }; + } + + function findHandler(events, callable, delegationSelector = null) { + return Object.values(events).find(event => event.callable === callable && event.delegationSelector === delegationSelector); + } + + function normalizeParameters(originalTypeEvent, handler, delegationFunction) { + const isDelegated = typeof handler === 'string'; // todo: tooltip passes `false` instead of selector, so we need to check + + const callable = isDelegated ? delegationFunction : handler || delegationFunction; + let typeEvent = getTypeEvent(originalTypeEvent); + + if (!nativeEvents.has(typeEvent)) { + typeEvent = originalTypeEvent; + } + + return [isDelegated, callable, typeEvent]; + } + + function addHandler(element, originalTypeEvent, handler, delegationFunction, oneOff) { + if (typeof originalTypeEvent !== 'string' || !element) { + return; + } + + let [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction); // in case of mouseenter or mouseleave wrap the handler within a function that checks for its DOM position + // this prevents the handler from being dispatched the same way as mouseover or mouseout does + + if (originalTypeEvent in customEvents) { + const wrapFunction = fn => { + return function (event) { + if (!event.relatedTarget || event.relatedTarget !== event.delegateTarget && !event.delegateTarget.contains(event.relatedTarget)) { + return fn.call(this, event); + } + }; + }; + + callable = wrapFunction(callable); + } + + const events = getElementEvents(element); + const handlers = events[typeEvent] || (events[typeEvent] = {}); + const previousFunction = findHandler(handlers, callable, isDelegated ? handler : null); + + if (previousFunction) { + previousFunction.oneOff = previousFunction.oneOff && oneOff; + return; + } + + const uid = makeEventUid(callable, originalTypeEvent.replace(namespaceRegex, '')); + const fn = isDelegated ? bootstrapDelegationHandler(element, handler, callable) : bootstrapHandler(element, callable); + fn.delegationSelector = isDelegated ? handler : null; + fn.callable = callable; + fn.oneOff = oneOff; + fn.uidEvent = uid; + handlers[uid] = fn; + element.addEventListener(typeEvent, fn, isDelegated); + } + + function removeHandler(element, events, typeEvent, handler, delegationSelector) { + const fn = findHandler(events[typeEvent], handler, delegationSelector); + + if (!fn) { + return; + } + + element.removeEventListener(typeEvent, fn, Boolean(delegationSelector)); + delete events[typeEvent][fn.uidEvent]; + } + + function removeNamespacedHandlers(element, events, typeEvent, namespace) { + const storeElementEvent = events[typeEvent] || {}; + + for (const handlerKey of Object.keys(storeElementEvent)) { + if (handlerKey.includes(namespace)) { + const event = storeElementEvent[handlerKey]; + removeHandler(element, events, typeEvent, event.callable, event.delegationSelector); + } + } + } + + function getTypeEvent(event) { + // allow to get the native events from namespaced events ('click.bs.button' --> 'click') + event = event.replace(stripNameRegex, ''); + return customEvents[event] || event; + } + + const EventHandler = { + on(element, event, handler, delegationFunction) { + addHandler(element, event, handler, delegationFunction, false); + }, + + one(element, event, handler, delegationFunction) { + addHandler(element, event, handler, delegationFunction, true); + }, + + off(element, originalTypeEvent, handler, delegationFunction) { + if (typeof originalTypeEvent !== 'string' || !element) { + return; + } + + const [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction); + const inNamespace = typeEvent !== originalTypeEvent; + const events = getElementEvents(element); + const storeElementEvent = events[typeEvent] || {}; + const isNamespace = originalTypeEvent.startsWith('.'); + + if (typeof callable !== 'undefined') { + // Simplest case: handler is passed, remove that listener ONLY. + if (!Object.keys(storeElementEvent).length) { + return; + } + + removeHandler(element, events, typeEvent, callable, isDelegated ? handler : null); + return; + } + + if (isNamespace) { + for (const elementEvent of Object.keys(events)) { + removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1)); + } + } + + for (const keyHandlers of Object.keys(storeElementEvent)) { + const handlerKey = keyHandlers.replace(stripUidRegex, ''); + + if (!inNamespace || originalTypeEvent.includes(handlerKey)) { + const event = storeElementEvent[keyHandlers]; + removeHandler(element, events, typeEvent, event.callable, event.delegationSelector); + } + } + }, + + trigger(element, event, args) { + if (typeof event !== 'string' || !element) { + return null; + } + + const $ = getjQuery(); + const typeEvent = getTypeEvent(event); + const inNamespace = event !== typeEvent; + let jQueryEvent = null; + let bubbles = true; + let nativeDispatch = true; + let defaultPrevented = false; + + if (inNamespace && $) { + jQueryEvent = $.Event(event, args); + $(element).trigger(jQueryEvent); + bubbles = !jQueryEvent.isPropagationStopped(); + nativeDispatch = !jQueryEvent.isImmediatePropagationStopped(); + defaultPrevented = jQueryEvent.isDefaultPrevented(); + } + + let evt = new Event(event, { + bubbles, + cancelable: true + }); + evt = hydrateObj(evt, args); + + if (defaultPrevented) { + evt.preventDefault(); + } + + if (nativeDispatch) { + element.dispatchEvent(evt); + } + + if (evt.defaultPrevented && jQueryEvent) { + jQueryEvent.preventDefault(); + } + + return evt; + } + + }; + + function hydrateObj(obj, meta) { + for (const [key, value] of Object.entries(meta || {})) { + try { + obj[key] = value; + } catch (_unused) { + Object.defineProperty(obj, key, { + configurable: true, + + get() { + return value; + } + + }); + } + } + + return obj; + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): dom/data.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + + /** + * Constants + */ + const elementMap = new Map(); + const Data = { + set(element, key, instance) { + if (!elementMap.has(element)) { + elementMap.set(element, new Map()); + } + + const instanceMap = elementMap.get(element); // make it clear we only want one instance per element + // can be removed later when multiple key/instances are fine to be used + + if (!instanceMap.has(key) && instanceMap.size !== 0) { + // eslint-disable-next-line no-console + console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(instanceMap.keys())[0]}.`); + return; + } + + instanceMap.set(key, instance); + }, + + get(element, key) { + if (elementMap.has(element)) { + return elementMap.get(element).get(key) || null; + } + + return null; + }, + + remove(element, key) { + if (!elementMap.has(element)) { + return; + } + + const instanceMap = elementMap.get(element); + instanceMap.delete(key); // free up element references if there are no instances left for an element + + if (instanceMap.size === 0) { + elementMap.delete(element); + } + } + + }; + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): dom/manipulator.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + function normalizeData(value) { + if (value === 'true') { + return true; + } + + if (value === 'false') { + return false; + } + + if (value === Number(value).toString()) { + return Number(value); + } + + if (value === '' || value === 'null') { + return null; + } + + if (typeof value !== 'string') { + return value; + } + + try { + return JSON.parse(decodeURIComponent(value)); + } catch (_unused) { + return value; + } + } + + function normalizeDataKey(key) { + return key.replace(/[A-Z]/g, chr => `-${chr.toLowerCase()}`); + } + + const Manipulator = { + setDataAttribute(element, key, value) { + element.setAttribute(`data-bs-${normalizeDataKey(key)}`, value); + }, + + removeDataAttribute(element, key) { + element.removeAttribute(`data-bs-${normalizeDataKey(key)}`); + }, + + getDataAttributes(element) { + if (!element) { + return {}; + } + + const attributes = {}; + const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig')); + + for (const key of bsKeys) { + let pureKey = key.replace(/^bs/, ''); + pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length); + attributes[pureKey] = normalizeData(element.dataset[key]); + } + + return attributes; + }, + + getDataAttribute(element, key) { + return normalizeData(element.getAttribute(`data-bs-${normalizeDataKey(key)}`)); + } + + }; + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): util/config.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Class definition + */ + + class Config { + // Getters + static get Default() { + return {}; + } + + static get DefaultType() { + return {}; + } + + static get NAME() { + throw new Error('You have to implement the static method "NAME", for each component!'); + } + + _getConfig(config) { + config = this._mergeConfigObj(config); + config = this._configAfterMerge(config); + + this._typeCheckConfig(config); + + return config; + } + + _configAfterMerge(config) { + return config; + } + + _mergeConfigObj(config, element) { + const jsonConfig = isElement$1(element) ? Manipulator.getDataAttribute(element, 'config') : {}; // try to parse + + return { ...this.constructor.Default, + ...(typeof jsonConfig === 'object' ? jsonConfig : {}), + ...(isElement$1(element) ? Manipulator.getDataAttributes(element) : {}), + ...(typeof config === 'object' ? config : {}) + }; + } + + _typeCheckConfig(config, configTypes = this.constructor.DefaultType) { + for (const property of Object.keys(configTypes)) { + const expectedTypes = configTypes[property]; + const value = config[property]; + const valueType = isElement$1(value) ? 'element' : toType(value); + + if (!new RegExp(expectedTypes).test(valueType)) { + throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${property}" provided type "${valueType}" but expected type "${expectedTypes}".`); + } + } + } + + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): base-component.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const VERSION = '5.2.3'; + /** + * Class definition + */ + + class BaseComponent extends Config { + constructor(element, config) { + super(); + element = getElement(element); + + if (!element) { + return; + } + + this._element = element; + this._config = this._getConfig(config); + Data.set(this._element, this.constructor.DATA_KEY, this); + } // Public + + + dispose() { + Data.remove(this._element, this.constructor.DATA_KEY); + EventHandler.off(this._element, this.constructor.EVENT_KEY); + + for (const propertyName of Object.getOwnPropertyNames(this)) { + this[propertyName] = null; + } + } + + _queueCallback(callback, element, isAnimated = true) { + executeAfterTransition(callback, element, isAnimated); + } + + _getConfig(config) { + config = this._mergeConfigObj(config, this._element); + config = this._configAfterMerge(config); + + this._typeCheckConfig(config); + + return config; + } // Static + + + static getInstance(element) { + return Data.get(getElement(element), this.DATA_KEY); + } + + static getOrCreateInstance(element, config = {}) { + return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null); + } + + static get VERSION() { + return VERSION; + } + + static get DATA_KEY() { + return `bs.${this.NAME}`; + } + + static get EVENT_KEY() { + return `.${this.DATA_KEY}`; + } + + static eventName(name) { + return `${name}${this.EVENT_KEY}`; + } + + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): util/component-functions.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + + const enableDismissTrigger = (component, method = 'hide') => { + const clickEvent = `click.dismiss${component.EVENT_KEY}`; + const name = component.NAME; + EventHandler.on(document, clickEvent, `[data-bs-dismiss="${name}"]`, function (event) { + if (['A', 'AREA'].includes(this.tagName)) { + event.preventDefault(); + } + + if (isDisabled(this)) { + return; + } + + const target = getElementFromSelector(this) || this.closest(`.${name}`); + const instance = component.getOrCreateInstance(target); // Method argument is left, for Alert and only, as it doesn't implement the 'hide' method + + instance[method](); + }); + }; + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): alert.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$f = 'alert'; + const DATA_KEY$a = 'bs.alert'; + const EVENT_KEY$b = `.${DATA_KEY$a}`; + const EVENT_CLOSE = `close${EVENT_KEY$b}`; + const EVENT_CLOSED = `closed${EVENT_KEY$b}`; + const CLASS_NAME_FADE$5 = 'fade'; + const CLASS_NAME_SHOW$8 = 'show'; + /** + * Class definition + */ + + class Alert extends BaseComponent { + // Getters + static get NAME() { + return NAME$f; + } // Public + + + close() { + const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE); + + if (closeEvent.defaultPrevented) { + return; + } + + this._element.classList.remove(CLASS_NAME_SHOW$8); + + const isAnimated = this._element.classList.contains(CLASS_NAME_FADE$5); + + this._queueCallback(() => this._destroyElement(), this._element, isAnimated); + } // Private + + + _destroyElement() { + this._element.remove(); + + EventHandler.trigger(this._element, EVENT_CLOSED); + this.dispose(); + } // Static + + + static jQueryInterface(config) { + return this.each(function () { + const data = Alert.getOrCreateInstance(this); + + if (typeof config !== 'string') { + return; + } + + if (data[config] === undefined || config.startsWith('_') || config === 'constructor') { + throw new TypeError(`No method named "${config}"`); + } + + data[config](this); + }); + } + + } + /** + * Data API implementation + */ + + + enableDismissTrigger(Alert, 'close'); + /** + * jQuery + */ + + defineJQueryPlugin(Alert); + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): button.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$e = 'button'; + const DATA_KEY$9 = 'bs.button'; + const EVENT_KEY$a = `.${DATA_KEY$9}`; + const DATA_API_KEY$6 = '.data-api'; + const CLASS_NAME_ACTIVE$3 = 'active'; + const SELECTOR_DATA_TOGGLE$5 = '[data-bs-toggle="button"]'; + const EVENT_CLICK_DATA_API$6 = `click${EVENT_KEY$a}${DATA_API_KEY$6}`; + /** + * Class definition + */ + + class Button extends BaseComponent { + // Getters + static get NAME() { + return NAME$e; + } // Public + + + toggle() { + // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method + this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE$3)); + } // Static + + + static jQueryInterface(config) { + return this.each(function () { + const data = Button.getOrCreateInstance(this); + + if (config === 'toggle') { + data[config](); + } + }); + } + + } + /** + * Data API implementation + */ + + + EventHandler.on(document, EVENT_CLICK_DATA_API$6, SELECTOR_DATA_TOGGLE$5, event => { + event.preventDefault(); + const button = event.target.closest(SELECTOR_DATA_TOGGLE$5); + const data = Button.getOrCreateInstance(button); + data.toggle(); + }); + /** + * jQuery + */ + + defineJQueryPlugin(Button); + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): dom/selector-engine.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const SelectorEngine = { + find(selector, element = document.documentElement) { + return [].concat(...Element.prototype.querySelectorAll.call(element, selector)); + }, + + findOne(selector, element = document.documentElement) { + return Element.prototype.querySelector.call(element, selector); + }, + + children(element, selector) { + return [].concat(...element.children).filter(child => child.matches(selector)); + }, + + parents(element, selector) { + const parents = []; + let ancestor = element.parentNode.closest(selector); + + while (ancestor) { + parents.push(ancestor); + ancestor = ancestor.parentNode.closest(selector); + } + + return parents; + }, + + prev(element, selector) { + let previous = element.previousElementSibling; + + while (previous) { + if (previous.matches(selector)) { + return [previous]; + } + + previous = previous.previousElementSibling; + } + + return []; + }, + + // TODO: this is now unused; remove later along with prev() + next(element, selector) { + let next = element.nextElementSibling; + + while (next) { + if (next.matches(selector)) { + return [next]; + } + + next = next.nextElementSibling; + } + + return []; + }, + + focusableChildren(element) { + const focusables = ['a', 'button', 'input', 'textarea', 'select', 'details', '[tabindex]', '[contenteditable="true"]'].map(selector => `${selector}:not([tabindex^="-"])`).join(','); + return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el)); + } + + }; + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): util/swipe.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$d = 'swipe'; + const EVENT_KEY$9 = '.bs.swipe'; + const EVENT_TOUCHSTART = `touchstart${EVENT_KEY$9}`; + const EVENT_TOUCHMOVE = `touchmove${EVENT_KEY$9}`; + const EVENT_TOUCHEND = `touchend${EVENT_KEY$9}`; + const EVENT_POINTERDOWN = `pointerdown${EVENT_KEY$9}`; + const EVENT_POINTERUP = `pointerup${EVENT_KEY$9}`; + const POINTER_TYPE_TOUCH = 'touch'; + const POINTER_TYPE_PEN = 'pen'; + const CLASS_NAME_POINTER_EVENT = 'pointer-event'; + const SWIPE_THRESHOLD = 40; + const Default$c = { + endCallback: null, + leftCallback: null, + rightCallback: null + }; + const DefaultType$c = { + endCallback: '(function|null)', + leftCallback: '(function|null)', + rightCallback: '(function|null)' + }; + /** + * Class definition + */ + + class Swipe extends Config { + constructor(element, config) { + super(); + this._element = element; + + if (!element || !Swipe.isSupported()) { + return; + } + + this._config = this._getConfig(config); + this._deltaX = 0; + this._supportPointerEvents = Boolean(window.PointerEvent); + + this._initEvents(); + } // Getters + + + static get Default() { + return Default$c; + } + + static get DefaultType() { + return DefaultType$c; + } + + static get NAME() { + return NAME$d; + } // Public + + + dispose() { + EventHandler.off(this._element, EVENT_KEY$9); + } // Private + + + _start(event) { + if (!this._supportPointerEvents) { + this._deltaX = event.touches[0].clientX; + return; + } + + if (this._eventIsPointerPenTouch(event)) { + this._deltaX = event.clientX; + } + } + + _end(event) { + if (this._eventIsPointerPenTouch(event)) { + this._deltaX = event.clientX - this._deltaX; + } + + this._handleSwipe(); + + execute(this._config.endCallback); + } + + _move(event) { + this._deltaX = event.touches && event.touches.length > 1 ? 0 : event.touches[0].clientX - this._deltaX; + } + + _handleSwipe() { + const absDeltaX = Math.abs(this._deltaX); + + if (absDeltaX <= SWIPE_THRESHOLD) { + return; + } + + const direction = absDeltaX / this._deltaX; + this._deltaX = 0; + + if (!direction) { + return; + } + + execute(direction > 0 ? this._config.rightCallback : this._config.leftCallback); + } + + _initEvents() { + if (this._supportPointerEvents) { + EventHandler.on(this._element, EVENT_POINTERDOWN, event => this._start(event)); + EventHandler.on(this._element, EVENT_POINTERUP, event => this._end(event)); + + this._element.classList.add(CLASS_NAME_POINTER_EVENT); + } else { + EventHandler.on(this._element, EVENT_TOUCHSTART, event => this._start(event)); + EventHandler.on(this._element, EVENT_TOUCHMOVE, event => this._move(event)); + EventHandler.on(this._element, EVENT_TOUCHEND, event => this._end(event)); + } + } + + _eventIsPointerPenTouch(event) { + return this._supportPointerEvents && (event.pointerType === POINTER_TYPE_PEN || event.pointerType === POINTER_TYPE_TOUCH); + } // Static + + + static isSupported() { + return 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0; + } + + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): carousel.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$c = 'carousel'; + const DATA_KEY$8 = 'bs.carousel'; + const EVENT_KEY$8 = `.${DATA_KEY$8}`; + const DATA_API_KEY$5 = '.data-api'; + const ARROW_LEFT_KEY$1 = 'ArrowLeft'; + const ARROW_RIGHT_KEY$1 = 'ArrowRight'; + const TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch + + const ORDER_NEXT = 'next'; + const ORDER_PREV = 'prev'; + const DIRECTION_LEFT = 'left'; + const DIRECTION_RIGHT = 'right'; + const EVENT_SLIDE = `slide${EVENT_KEY$8}`; + const EVENT_SLID = `slid${EVENT_KEY$8}`; + const EVENT_KEYDOWN$1 = `keydown${EVENT_KEY$8}`; + const EVENT_MOUSEENTER$1 = `mouseenter${EVENT_KEY$8}`; + const EVENT_MOUSELEAVE$1 = `mouseleave${EVENT_KEY$8}`; + const EVENT_DRAG_START = `dragstart${EVENT_KEY$8}`; + const EVENT_LOAD_DATA_API$3 = `load${EVENT_KEY$8}${DATA_API_KEY$5}`; + const EVENT_CLICK_DATA_API$5 = `click${EVENT_KEY$8}${DATA_API_KEY$5}`; + const CLASS_NAME_CAROUSEL = 'carousel'; + const CLASS_NAME_ACTIVE$2 = 'active'; + const CLASS_NAME_SLIDE = 'slide'; + const CLASS_NAME_END = 'carousel-item-end'; + const CLASS_NAME_START = 'carousel-item-start'; + const CLASS_NAME_NEXT = 'carousel-item-next'; + const CLASS_NAME_PREV = 'carousel-item-prev'; + const SELECTOR_ACTIVE = '.active'; + const SELECTOR_ITEM = '.carousel-item'; + const SELECTOR_ACTIVE_ITEM = SELECTOR_ACTIVE + SELECTOR_ITEM; + const SELECTOR_ITEM_IMG = '.carousel-item img'; + const SELECTOR_INDICATORS = '.carousel-indicators'; + const SELECTOR_DATA_SLIDE = '[data-bs-slide], [data-bs-slide-to]'; + const SELECTOR_DATA_RIDE = '[data-bs-ride="carousel"]'; + const KEY_TO_DIRECTION = { + [ARROW_LEFT_KEY$1]: DIRECTION_RIGHT, + [ARROW_RIGHT_KEY$1]: DIRECTION_LEFT + }; + const Default$b = { + interval: 5000, + keyboard: true, + pause: 'hover', + ride: false, + touch: true, + wrap: true + }; + const DefaultType$b = { + interval: '(number|boolean)', + // TODO:v6 remove boolean support + keyboard: 'boolean', + pause: '(string|boolean)', + ride: '(boolean|string)', + touch: 'boolean', + wrap: 'boolean' + }; + /** + * Class definition + */ + + class Carousel extends BaseComponent { + constructor(element, config) { + super(element, config); + this._interval = null; + this._activeElement = null; + this._isSliding = false; + this.touchTimeout = null; + this._swipeHelper = null; + this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element); + + this._addEventListeners(); + + if (this._config.ride === CLASS_NAME_CAROUSEL) { + this.cycle(); + } + } // Getters + + + static get Default() { + return Default$b; + } + + static get DefaultType() { + return DefaultType$b; + } + + static get NAME() { + return NAME$c; + } // Public + + + next() { + this._slide(ORDER_NEXT); + } + + nextWhenVisible() { + // FIXME TODO use `document.visibilityState` + // Don't call next when the page isn't visible + // or the carousel or its parent isn't visible + if (!document.hidden && isVisible(this._element)) { + this.next(); + } + } + + prev() { + this._slide(ORDER_PREV); + } + + pause() { + if (this._isSliding) { + triggerTransitionEnd(this._element); + } + + this._clearInterval(); + } + + cycle() { + this._clearInterval(); + + this._updateInterval(); + + this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval); + } + + _maybeEnableCycle() { + if (!this._config.ride) { + return; + } + + if (this._isSliding) { + EventHandler.one(this._element, EVENT_SLID, () => this.cycle()); + return; + } + + this.cycle(); + } + + to(index) { + const items = this._getItems(); + + if (index > items.length - 1 || index < 0) { + return; + } + + if (this._isSliding) { + EventHandler.one(this._element, EVENT_SLID, () => this.to(index)); + return; + } + + const activeIndex = this._getItemIndex(this._getActive()); + + if (activeIndex === index) { + return; + } + + const order = index > activeIndex ? ORDER_NEXT : ORDER_PREV; + + this._slide(order, items[index]); + } + + dispose() { + if (this._swipeHelper) { + this._swipeHelper.dispose(); + } + + super.dispose(); + } // Private + + + _configAfterMerge(config) { + config.defaultInterval = config.interval; + return config; + } + + _addEventListeners() { + if (this._config.keyboard) { + EventHandler.on(this._element, EVENT_KEYDOWN$1, event => this._keydown(event)); + } + + if (this._config.pause === 'hover') { + EventHandler.on(this._element, EVENT_MOUSEENTER$1, () => this.pause()); + EventHandler.on(this._element, EVENT_MOUSELEAVE$1, () => this._maybeEnableCycle()); + } + + if (this._config.touch && Swipe.isSupported()) { + this._addTouchEventListeners(); + } + } + + _addTouchEventListeners() { + for (const img of SelectorEngine.find(SELECTOR_ITEM_IMG, this._element)) { + EventHandler.on(img, EVENT_DRAG_START, event => event.preventDefault()); + } + + const endCallBack = () => { + if (this._config.pause !== 'hover') { + return; + } // If it's a touch-enabled device, mouseenter/leave are fired as + // part of the mouse compatibility events on first tap - the carousel + // would stop cycling until user tapped out of it; + // here, we listen for touchend, explicitly pause the carousel + // (as if it's the second time we tap on it, mouseenter compat event + // is NOT fired) and after a timeout (to allow for mouse compatibility + // events to fire) we explicitly restart cycling + + + this.pause(); + + if (this.touchTimeout) { + clearTimeout(this.touchTimeout); + } + + this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), TOUCHEVENT_COMPAT_WAIT + this._config.interval); + }; + + const swipeConfig = { + leftCallback: () => this._slide(this._directionToOrder(DIRECTION_LEFT)), + rightCallback: () => this._slide(this._directionToOrder(DIRECTION_RIGHT)), + endCallback: endCallBack + }; + this._swipeHelper = new Swipe(this._element, swipeConfig); + } + + _keydown(event) { + if (/input|textarea/i.test(event.target.tagName)) { + return; + } + + const direction = KEY_TO_DIRECTION[event.key]; + + if (direction) { + event.preventDefault(); + + this._slide(this._directionToOrder(direction)); + } + } + + _getItemIndex(element) { + return this._getItems().indexOf(element); + } + + _setActiveIndicatorElement(index) { + if (!this._indicatorsElement) { + return; + } + + const activeIndicator = SelectorEngine.findOne(SELECTOR_ACTIVE, this._indicatorsElement); + activeIndicator.classList.remove(CLASS_NAME_ACTIVE$2); + activeIndicator.removeAttribute('aria-current'); + const newActiveIndicator = SelectorEngine.findOne(`[data-bs-slide-to="${index}"]`, this._indicatorsElement); + + if (newActiveIndicator) { + newActiveIndicator.classList.add(CLASS_NAME_ACTIVE$2); + newActiveIndicator.setAttribute('aria-current', 'true'); + } + } + + _updateInterval() { + const element = this._activeElement || this._getActive(); + + if (!element) { + return; + } + + const elementInterval = Number.parseInt(element.getAttribute('data-bs-interval'), 10); + this._config.interval = elementInterval || this._config.defaultInterval; + } + + _slide(order, element = null) { + if (this._isSliding) { + return; + } + + const activeElement = this._getActive(); + + const isNext = order === ORDER_NEXT; + const nextElement = element || getNextActiveElement(this._getItems(), activeElement, isNext, this._config.wrap); + + if (nextElement === activeElement) { + return; + } + + const nextElementIndex = this._getItemIndex(nextElement); + + const triggerEvent = eventName => { + return EventHandler.trigger(this._element, eventName, { + relatedTarget: nextElement, + direction: this._orderToDirection(order), + from: this._getItemIndex(activeElement), + to: nextElementIndex + }); + }; + + const slideEvent = triggerEvent(EVENT_SLIDE); + + if (slideEvent.defaultPrevented) { + return; + } + + if (!activeElement || !nextElement) { + // Some weirdness is happening, so we bail + // todo: change tests that use empty divs to avoid this check + return; + } + + const isCycling = Boolean(this._interval); + this.pause(); + this._isSliding = true; + + this._setActiveIndicatorElement(nextElementIndex); + + this._activeElement = nextElement; + const directionalClassName = isNext ? CLASS_NAME_START : CLASS_NAME_END; + const orderClassName = isNext ? CLASS_NAME_NEXT : CLASS_NAME_PREV; + nextElement.classList.add(orderClassName); + reflow(nextElement); + activeElement.classList.add(directionalClassName); + nextElement.classList.add(directionalClassName); + + const completeCallBack = () => { + nextElement.classList.remove(directionalClassName, orderClassName); + nextElement.classList.add(CLASS_NAME_ACTIVE$2); + activeElement.classList.remove(CLASS_NAME_ACTIVE$2, orderClassName, directionalClassName); + this._isSliding = false; + triggerEvent(EVENT_SLID); + }; + + this._queueCallback(completeCallBack, activeElement, this._isAnimated()); + + if (isCycling) { + this.cycle(); + } + } + + _isAnimated() { + return this._element.classList.contains(CLASS_NAME_SLIDE); + } + + _getActive() { + return SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element); + } + + _getItems() { + return SelectorEngine.find(SELECTOR_ITEM, this._element); + } + + _clearInterval() { + if (this._interval) { + clearInterval(this._interval); + this._interval = null; + } + } + + _directionToOrder(direction) { + if (isRTL()) { + return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT; + } + + return direction === DIRECTION_LEFT ? ORDER_NEXT : ORDER_PREV; + } + + _orderToDirection(order) { + if (isRTL()) { + return order === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT; + } + + return order === ORDER_PREV ? DIRECTION_RIGHT : DIRECTION_LEFT; + } // Static + + + static jQueryInterface(config) { + return this.each(function () { + const data = Carousel.getOrCreateInstance(this, config); + + if (typeof config === 'number') { + data.to(config); + return; + } + + if (typeof config === 'string') { + if (data[config] === undefined || config.startsWith('_') || config === 'constructor') { + throw new TypeError(`No method named "${config}"`); + } + + data[config](); + } + }); + } + + } + /** + * Data API implementation + */ + + + EventHandler.on(document, EVENT_CLICK_DATA_API$5, SELECTOR_DATA_SLIDE, function (event) { + const target = getElementFromSelector(this); + + if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) { + return; + } + + event.preventDefault(); + const carousel = Carousel.getOrCreateInstance(target); + const slideIndex = this.getAttribute('data-bs-slide-to'); + + if (slideIndex) { + carousel.to(slideIndex); + + carousel._maybeEnableCycle(); + + return; + } + + if (Manipulator.getDataAttribute(this, 'slide') === 'next') { + carousel.next(); + + carousel._maybeEnableCycle(); + + return; + } + + carousel.prev(); + + carousel._maybeEnableCycle(); + }); + EventHandler.on(window, EVENT_LOAD_DATA_API$3, () => { + const carousels = SelectorEngine.find(SELECTOR_DATA_RIDE); + + for (const carousel of carousels) { + Carousel.getOrCreateInstance(carousel); + } + }); + /** + * jQuery + */ + + defineJQueryPlugin(Carousel); + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): collapse.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$b = 'collapse'; + const DATA_KEY$7 = 'bs.collapse'; + const EVENT_KEY$7 = `.${DATA_KEY$7}`; + const DATA_API_KEY$4 = '.data-api'; + const EVENT_SHOW$6 = `show${EVENT_KEY$7}`; + const EVENT_SHOWN$6 = `shown${EVENT_KEY$7}`; + const EVENT_HIDE$6 = `hide${EVENT_KEY$7}`; + const EVENT_HIDDEN$6 = `hidden${EVENT_KEY$7}`; + const EVENT_CLICK_DATA_API$4 = `click${EVENT_KEY$7}${DATA_API_KEY$4}`; + const CLASS_NAME_SHOW$7 = 'show'; + const CLASS_NAME_COLLAPSE = 'collapse'; + const CLASS_NAME_COLLAPSING = 'collapsing'; + const CLASS_NAME_COLLAPSED = 'collapsed'; + const CLASS_NAME_DEEPER_CHILDREN = `:scope .${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`; + const CLASS_NAME_HORIZONTAL = 'collapse-horizontal'; + const WIDTH = 'width'; + const HEIGHT = 'height'; + const SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing'; + const SELECTOR_DATA_TOGGLE$4 = '[data-bs-toggle="collapse"]'; + const Default$a = { + parent: null, + toggle: true + }; + const DefaultType$a = { + parent: '(null|element)', + toggle: 'boolean' + }; + /** + * Class definition + */ + + class Collapse extends BaseComponent { + constructor(element, config) { + super(element, config); + this._isTransitioning = false; + this._triggerArray = []; + const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE$4); + + for (const elem of toggleList) { + const selector = getSelectorFromElement(elem); + const filterElement = SelectorEngine.find(selector).filter(foundElement => foundElement === this._element); + + if (selector !== null && filterElement.length) { + this._triggerArray.push(elem); + } + } + + this._initializeChildren(); + + if (!this._config.parent) { + this._addAriaAndCollapsedClass(this._triggerArray, this._isShown()); + } + + if (this._config.toggle) { + this.toggle(); + } + } // Getters + + + static get Default() { + return Default$a; + } + + static get DefaultType() { + return DefaultType$a; + } + + static get NAME() { + return NAME$b; + } // Public + + + toggle() { + if (this._isShown()) { + this.hide(); + } else { + this.show(); + } + } + + show() { + if (this._isTransitioning || this._isShown()) { + return; + } + + let activeChildren = []; // find active children + + if (this._config.parent) { + activeChildren = this._getFirstLevelChildren(SELECTOR_ACTIVES).filter(element => element !== this._element).map(element => Collapse.getOrCreateInstance(element, { + toggle: false + })); + } + + if (activeChildren.length && activeChildren[0]._isTransitioning) { + return; + } + + const startEvent = EventHandler.trigger(this._element, EVENT_SHOW$6); + + if (startEvent.defaultPrevented) { + return; + } + + for (const activeInstance of activeChildren) { + activeInstance.hide(); + } + + const dimension = this._getDimension(); + + this._element.classList.remove(CLASS_NAME_COLLAPSE); + + this._element.classList.add(CLASS_NAME_COLLAPSING); + + this._element.style[dimension] = 0; + + this._addAriaAndCollapsedClass(this._triggerArray, true); + + this._isTransitioning = true; + + const complete = () => { + this._isTransitioning = false; + + this._element.classList.remove(CLASS_NAME_COLLAPSING); + + this._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7); + + this._element.style[dimension] = ''; + EventHandler.trigger(this._element, EVENT_SHOWN$6); + }; + + const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1); + const scrollSize = `scroll${capitalizedDimension}`; + + this._queueCallback(complete, this._element, true); + + this._element.style[dimension] = `${this._element[scrollSize]}px`; + } + + hide() { + if (this._isTransitioning || !this._isShown()) { + return; + } + + const startEvent = EventHandler.trigger(this._element, EVENT_HIDE$6); + + if (startEvent.defaultPrevented) { + return; + } + + const dimension = this._getDimension(); + + this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`; + reflow(this._element); + + this._element.classList.add(CLASS_NAME_COLLAPSING); + + this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7); + + for (const trigger of this._triggerArray) { + const element = getElementFromSelector(trigger); + + if (element && !this._isShown(element)) { + this._addAriaAndCollapsedClass([trigger], false); + } + } + + this._isTransitioning = true; + + const complete = () => { + this._isTransitioning = false; + + this._element.classList.remove(CLASS_NAME_COLLAPSING); + + this._element.classList.add(CLASS_NAME_COLLAPSE); + + EventHandler.trigger(this._element, EVENT_HIDDEN$6); + }; + + this._element.style[dimension] = ''; + + this._queueCallback(complete, this._element, true); + } + + _isShown(element = this._element) { + return element.classList.contains(CLASS_NAME_SHOW$7); + } // Private + + + _configAfterMerge(config) { + config.toggle = Boolean(config.toggle); // Coerce string values + + config.parent = getElement(config.parent); + return config; + } + + _getDimension() { + return this._element.classList.contains(CLASS_NAME_HORIZONTAL) ? WIDTH : HEIGHT; + } + + _initializeChildren() { + if (!this._config.parent) { + return; + } + + const children = this._getFirstLevelChildren(SELECTOR_DATA_TOGGLE$4); + + for (const element of children) { + const selected = getElementFromSelector(element); + + if (selected) { + this._addAriaAndCollapsedClass([element], this._isShown(selected)); + } + } + } + + _getFirstLevelChildren(selector) { + const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent); // remove children if greater depth + + return SelectorEngine.find(selector, this._config.parent).filter(element => !children.includes(element)); + } + + _addAriaAndCollapsedClass(triggerArray, isOpen) { + if (!triggerArray.length) { + return; + } + + for (const element of triggerArray) { + element.classList.toggle(CLASS_NAME_COLLAPSED, !isOpen); + element.setAttribute('aria-expanded', isOpen); + } + } // Static + + + static jQueryInterface(config) { + const _config = {}; + + if (typeof config === 'string' && /show|hide/.test(config)) { + _config.toggle = false; + } + + return this.each(function () { + const data = Collapse.getOrCreateInstance(this, _config); + + if (typeof config === 'string') { + if (typeof data[config] === 'undefined') { + throw new TypeError(`No method named "${config}"`); + } + + data[config](); + } + }); + } + + } + /** + * Data API implementation + */ + + + EventHandler.on(document, EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$4, function (event) { + // preventDefault only for elements (which change the URL) not inside the collapsible element + if (event.target.tagName === 'A' || event.delegateTarget && event.delegateTarget.tagName === 'A') { + event.preventDefault(); + } + + const selector = getSelectorFromElement(this); + const selectorElements = SelectorEngine.find(selector); + + for (const element of selectorElements) { + Collapse.getOrCreateInstance(element, { + toggle: false + }).toggle(); + } + }); + /** + * jQuery + */ + + defineJQueryPlugin(Collapse); + + var top = 'top'; + var bottom = 'bottom'; + var right = 'right'; + var left = 'left'; + var auto = 'auto'; + var basePlacements = [top, bottom, right, left]; + var start = 'start'; + var end = 'end'; + var clippingParents = 'clippingParents'; + var viewport = 'viewport'; + var popper = 'popper'; + var reference = 'reference'; + var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) { + return acc.concat([placement + "-" + start, placement + "-" + end]); + }, []); + var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) { + return acc.concat([placement, placement + "-" + start, placement + "-" + end]); + }, []); // modifiers that need to read the DOM + + var beforeRead = 'beforeRead'; + var read = 'read'; + var afterRead = 'afterRead'; // pure-logic modifiers + + var beforeMain = 'beforeMain'; + var main = 'main'; + var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state) + + var beforeWrite = 'beforeWrite'; + var write = 'write'; + var afterWrite = 'afterWrite'; + var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite]; + + function getNodeName(element) { + return element ? (element.nodeName || '').toLowerCase() : null; + } + + function getWindow(node) { + if (node == null) { + return window; + } + + if (node.toString() !== '[object Window]') { + var ownerDocument = node.ownerDocument; + return ownerDocument ? ownerDocument.defaultView || window : window; + } + + return node; + } + + function isElement(node) { + var OwnElement = getWindow(node).Element; + return node instanceof OwnElement || node instanceof Element; + } + + function isHTMLElement(node) { + var OwnElement = getWindow(node).HTMLElement; + return node instanceof OwnElement || node instanceof HTMLElement; + } + + function isShadowRoot(node) { + // IE 11 has no ShadowRoot + if (typeof ShadowRoot === 'undefined') { + return false; + } + + var OwnElement = getWindow(node).ShadowRoot; + return node instanceof OwnElement || node instanceof ShadowRoot; + } + + // and applies them to the HTMLElements such as popper and arrow + + function applyStyles(_ref) { + var state = _ref.state; + Object.keys(state.elements).forEach(function (name) { + var style = state.styles[name] || {}; + var attributes = state.attributes[name] || {}; + var element = state.elements[name]; // arrow is optional + virtual elements + + if (!isHTMLElement(element) || !getNodeName(element)) { + return; + } // Flow doesn't support to extend this property, but it's the most + // effective way to apply styles to an HTMLElement + // $FlowFixMe[cannot-write] + + + Object.assign(element.style, style); + Object.keys(attributes).forEach(function (name) { + var value = attributes[name]; + + if (value === false) { + element.removeAttribute(name); + } else { + element.setAttribute(name, value === true ? '' : value); + } + }); + }); + } + + function effect$2(_ref2) { + var state = _ref2.state; + var initialStyles = { + popper: { + position: state.options.strategy, + left: '0', + top: '0', + margin: '0' + }, + arrow: { + position: 'absolute' + }, + reference: {} + }; + Object.assign(state.elements.popper.style, initialStyles.popper); + state.styles = initialStyles; + + if (state.elements.arrow) { + Object.assign(state.elements.arrow.style, initialStyles.arrow); + } + + return function () { + Object.keys(state.elements).forEach(function (name) { + var element = state.elements[name]; + var attributes = state.attributes[name] || {}; + var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them + + var style = styleProperties.reduce(function (style, property) { + style[property] = ''; + return style; + }, {}); // arrow is optional + virtual elements + + if (!isHTMLElement(element) || !getNodeName(element)) { + return; + } + + Object.assign(element.style, style); + Object.keys(attributes).forEach(function (attribute) { + element.removeAttribute(attribute); + }); + }); + }; + } // eslint-disable-next-line import/no-unused-modules + + + const applyStyles$1 = { + name: 'applyStyles', + enabled: true, + phase: 'write', + fn: applyStyles, + effect: effect$2, + requires: ['computeStyles'] + }; + + function getBasePlacement(placement) { + return placement.split('-')[0]; + } + + var max = Math.max; + var min = Math.min; + var round = Math.round; + + function getUAString() { + var uaData = navigator.userAgentData; + + if (uaData != null && uaData.brands) { + return uaData.brands.map(function (item) { + return item.brand + "/" + item.version; + }).join(' '); + } + + return navigator.userAgent; + } + + function isLayoutViewport() { + return !/^((?!chrome|android).)*safari/i.test(getUAString()); + } + + function getBoundingClientRect(element, includeScale, isFixedStrategy) { + if (includeScale === void 0) { + includeScale = false; + } + + if (isFixedStrategy === void 0) { + isFixedStrategy = false; + } + + var clientRect = element.getBoundingClientRect(); + var scaleX = 1; + var scaleY = 1; + + if (includeScale && isHTMLElement(element)) { + scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1; + scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1; + } + + var _ref = isElement(element) ? getWindow(element) : window, + visualViewport = _ref.visualViewport; + + var addVisualOffsets = !isLayoutViewport() && isFixedStrategy; + var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX; + var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY; + var width = clientRect.width / scaleX; + var height = clientRect.height / scaleY; + return { + width: width, + height: height, + top: y, + right: x + width, + bottom: y + height, + left: x, + x: x, + y: y + }; + } + + // means it doesn't take into account transforms. + + function getLayoutRect(element) { + var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed. + // Fixes https://github.com/popperjs/popper-core/issues/1223 + + var width = element.offsetWidth; + var height = element.offsetHeight; + + if (Math.abs(clientRect.width - width) <= 1) { + width = clientRect.width; + } + + if (Math.abs(clientRect.height - height) <= 1) { + height = clientRect.height; + } + + return { + x: element.offsetLeft, + y: element.offsetTop, + width: width, + height: height + }; + } + + function contains(parent, child) { + var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method + + if (parent.contains(child)) { + return true; + } // then fallback to custom implementation with Shadow DOM support + else if (rootNode && isShadowRoot(rootNode)) { + var next = child; + + do { + if (next && parent.isSameNode(next)) { + return true; + } // $FlowFixMe[prop-missing]: need a better way to handle this... + + + next = next.parentNode || next.host; + } while (next); + } // Give up, the result is false + + + return false; + } + + function getComputedStyle$1(element) { + return getWindow(element).getComputedStyle(element); + } + + function isTableElement(element) { + return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0; + } + + function getDocumentElement(element) { + // $FlowFixMe[incompatible-return]: assume body is always available + return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing] + element.document) || window.document).documentElement; + } + + function getParentNode(element) { + if (getNodeName(element) === 'html') { + return element; + } + + return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle + // $FlowFixMe[incompatible-return] + // $FlowFixMe[prop-missing] + element.assignedSlot || // step into the shadow DOM of the parent of a slotted node + element.parentNode || ( // DOM Element detected + isShadowRoot(element) ? element.host : null) || // ShadowRoot detected + // $FlowFixMe[incompatible-call]: HTMLElement is a Node + getDocumentElement(element) // fallback + + ); + } + + function getTrueOffsetParent(element) { + if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837 + getComputedStyle$1(element).position === 'fixed') { + return null; + } + + return element.offsetParent; + } // `.offsetParent` reports `null` for fixed elements, while absolute elements + // return the containing block + + + function getContainingBlock(element) { + var isFirefox = /firefox/i.test(getUAString()); + var isIE = /Trident/i.test(getUAString()); + + if (isIE && isHTMLElement(element)) { + // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport + var elementCss = getComputedStyle$1(element); + + if (elementCss.position === 'fixed') { + return null; + } + } + + var currentNode = getParentNode(element); + + if (isShadowRoot(currentNode)) { + currentNode = currentNode.host; + } + + while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) { + var css = getComputedStyle$1(currentNode); // This is non-exhaustive but covers the most common CSS properties that + // create a containing block. + // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block + + if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') { + return currentNode; + } else { + currentNode = currentNode.parentNode; + } + } + + return null; + } // Gets the closest ancestor positioned element. Handles some edge cases, + // such as table ancestors and cross browser bugs. + + + function getOffsetParent(element) { + var window = getWindow(element); + var offsetParent = getTrueOffsetParent(element); + + while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') { + offsetParent = getTrueOffsetParent(offsetParent); + } + + if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static')) { + return window; + } + + return offsetParent || getContainingBlock(element) || window; + } + + function getMainAxisFromPlacement(placement) { + return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y'; + } + + function within(min$1, value, max$1) { + return max(min$1, min(value, max$1)); + } + function withinMaxClamp(min, value, max) { + var v = within(min, value, max); + return v > max ? max : v; + } + + function getFreshSideObject() { + return { + top: 0, + right: 0, + bottom: 0, + left: 0 + }; + } + + function mergePaddingObject(paddingObject) { + return Object.assign({}, getFreshSideObject(), paddingObject); + } + + function expandToHashMap(value, keys) { + return keys.reduce(function (hashMap, key) { + hashMap[key] = value; + return hashMap; + }, {}); + } + + var toPaddingObject = function toPaddingObject(padding, state) { + padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, { + placement: state.placement + })) : padding; + return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements)); + }; + + function arrow(_ref) { + var _state$modifiersData$; + + var state = _ref.state, + name = _ref.name, + options = _ref.options; + var arrowElement = state.elements.arrow; + var popperOffsets = state.modifiersData.popperOffsets; + var basePlacement = getBasePlacement(state.placement); + var axis = getMainAxisFromPlacement(basePlacement); + var isVertical = [left, right].indexOf(basePlacement) >= 0; + var len = isVertical ? 'height' : 'width'; + + if (!arrowElement || !popperOffsets) { + return; + } + + var paddingObject = toPaddingObject(options.padding, state); + var arrowRect = getLayoutRect(arrowElement); + var minProp = axis === 'y' ? top : left; + var maxProp = axis === 'y' ? bottom : right; + var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len]; + var startDiff = popperOffsets[axis] - state.rects.reference[axis]; + var arrowOffsetParent = getOffsetParent(arrowElement); + var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0; + var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is + // outside of the popper bounds + + var min = paddingObject[minProp]; + var max = clientSize - arrowRect[len] - paddingObject[maxProp]; + var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference; + var offset = within(min, center, max); // Prevents breaking syntax highlighting... + + var axisProp = axis; + state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$); + } + + function effect$1(_ref2) { + var state = _ref2.state, + options = _ref2.options; + var _options$element = options.element, + arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element; + + if (arrowElement == null) { + return; + } // CSS selector + + + if (typeof arrowElement === 'string') { + arrowElement = state.elements.popper.querySelector(arrowElement); + + if (!arrowElement) { + return; + } + } + + if (!contains(state.elements.popper, arrowElement)) { + + return; + } + + state.elements.arrow = arrowElement; + } // eslint-disable-next-line import/no-unused-modules + + + const arrow$1 = { + name: 'arrow', + enabled: true, + phase: 'main', + fn: arrow, + effect: effect$1, + requires: ['popperOffsets'], + requiresIfExists: ['preventOverflow'] + }; + + function getVariation(placement) { + return placement.split('-')[1]; + } + + var unsetSides = { + top: 'auto', + right: 'auto', + bottom: 'auto', + left: 'auto' + }; // Round the offsets to the nearest suitable subpixel based on the DPR. + // Zooming can change the DPR, but it seems to report a value that will + // cleanly divide the values into the appropriate subpixels. + + function roundOffsetsByDPR(_ref) { + var x = _ref.x, + y = _ref.y; + var win = window; + var dpr = win.devicePixelRatio || 1; + return { + x: round(x * dpr) / dpr || 0, + y: round(y * dpr) / dpr || 0 + }; + } + + function mapToStyles(_ref2) { + var _Object$assign2; + + var popper = _ref2.popper, + popperRect = _ref2.popperRect, + placement = _ref2.placement, + variation = _ref2.variation, + offsets = _ref2.offsets, + position = _ref2.position, + gpuAcceleration = _ref2.gpuAcceleration, + adaptive = _ref2.adaptive, + roundOffsets = _ref2.roundOffsets, + isFixed = _ref2.isFixed; + var _offsets$x = offsets.x, + x = _offsets$x === void 0 ? 0 : _offsets$x, + _offsets$y = offsets.y, + y = _offsets$y === void 0 ? 0 : _offsets$y; + + var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({ + x: x, + y: y + }) : { + x: x, + y: y + }; + + x = _ref3.x; + y = _ref3.y; + var hasX = offsets.hasOwnProperty('x'); + var hasY = offsets.hasOwnProperty('y'); + var sideX = left; + var sideY = top; + var win = window; + + if (adaptive) { + var offsetParent = getOffsetParent(popper); + var heightProp = 'clientHeight'; + var widthProp = 'clientWidth'; + + if (offsetParent === getWindow(popper)) { + offsetParent = getDocumentElement(popper); + + if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') { + heightProp = 'scrollHeight'; + widthProp = 'scrollWidth'; + } + } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it + + + offsetParent = offsetParent; + + if (placement === top || (placement === left || placement === right) && variation === end) { + sideY = bottom; + var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing] + offsetParent[heightProp]; + y -= offsetY - popperRect.height; + y *= gpuAcceleration ? 1 : -1; + } + + if (placement === left || (placement === top || placement === bottom) && variation === end) { + sideX = right; + var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing] + offsetParent[widthProp]; + x -= offsetX - popperRect.width; + x *= gpuAcceleration ? 1 : -1; + } + } + + var commonStyles = Object.assign({ + position: position + }, adaptive && unsetSides); + + var _ref4 = roundOffsets === true ? roundOffsetsByDPR({ + x: x, + y: y + }) : { + x: x, + y: y + }; + + x = _ref4.x; + y = _ref4.y; + + if (gpuAcceleration) { + var _Object$assign; + + return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign)); + } + + return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2)); + } + + function computeStyles(_ref5) { + var state = _ref5.state, + options = _ref5.options; + var _options$gpuAccelerat = options.gpuAcceleration, + gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat, + _options$adaptive = options.adaptive, + adaptive = _options$adaptive === void 0 ? true : _options$adaptive, + _options$roundOffsets = options.roundOffsets, + roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets; + + var commonStyles = { + placement: getBasePlacement(state.placement), + variation: getVariation(state.placement), + popper: state.elements.popper, + popperRect: state.rects.popper, + gpuAcceleration: gpuAcceleration, + isFixed: state.options.strategy === 'fixed' + }; + + if (state.modifiersData.popperOffsets != null) { + state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, { + offsets: state.modifiersData.popperOffsets, + position: state.options.strategy, + adaptive: adaptive, + roundOffsets: roundOffsets + }))); + } + + if (state.modifiersData.arrow != null) { + state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, { + offsets: state.modifiersData.arrow, + position: 'absolute', + adaptive: false, + roundOffsets: roundOffsets + }))); + } + + state.attributes.popper = Object.assign({}, state.attributes.popper, { + 'data-popper-placement': state.placement + }); + } // eslint-disable-next-line import/no-unused-modules + + + const computeStyles$1 = { + name: 'computeStyles', + enabled: true, + phase: 'beforeWrite', + fn: computeStyles, + data: {} + }; + + var passive = { + passive: true + }; + + function effect(_ref) { + var state = _ref.state, + instance = _ref.instance, + options = _ref.options; + var _options$scroll = options.scroll, + scroll = _options$scroll === void 0 ? true : _options$scroll, + _options$resize = options.resize, + resize = _options$resize === void 0 ? true : _options$resize; + var window = getWindow(state.elements.popper); + var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper); + + if (scroll) { + scrollParents.forEach(function (scrollParent) { + scrollParent.addEventListener('scroll', instance.update, passive); + }); + } + + if (resize) { + window.addEventListener('resize', instance.update, passive); + } + + return function () { + if (scroll) { + scrollParents.forEach(function (scrollParent) { + scrollParent.removeEventListener('scroll', instance.update, passive); + }); + } + + if (resize) { + window.removeEventListener('resize', instance.update, passive); + } + }; + } // eslint-disable-next-line import/no-unused-modules + + + const eventListeners = { + name: 'eventListeners', + enabled: true, + phase: 'write', + fn: function fn() {}, + effect: effect, + data: {} + }; + + var hash$1 = { + left: 'right', + right: 'left', + bottom: 'top', + top: 'bottom' + }; + function getOppositePlacement(placement) { + return placement.replace(/left|right|bottom|top/g, function (matched) { + return hash$1[matched]; + }); + } + + var hash = { + start: 'end', + end: 'start' + }; + function getOppositeVariationPlacement(placement) { + return placement.replace(/start|end/g, function (matched) { + return hash[matched]; + }); + } + + function getWindowScroll(node) { + var win = getWindow(node); + var scrollLeft = win.pageXOffset; + var scrollTop = win.pageYOffset; + return { + scrollLeft: scrollLeft, + scrollTop: scrollTop + }; + } + + function getWindowScrollBarX(element) { + // If has a CSS width greater than the viewport, then this will be + // incorrect for RTL. + // Popper 1 is broken in this case and never had a bug report so let's assume + // it's not an issue. I don't think anyone ever specifies width on + // anyway. + // Browsers where the left scrollbar doesn't cause an issue report `0` for + // this (e.g. Edge 2019, IE11, Safari) + return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft; + } + + function getViewportRect(element, strategy) { + var win = getWindow(element); + var html = getDocumentElement(element); + var visualViewport = win.visualViewport; + var width = html.clientWidth; + var height = html.clientHeight; + var x = 0; + var y = 0; + + if (visualViewport) { + width = visualViewport.width; + height = visualViewport.height; + var layoutViewport = isLayoutViewport(); + + if (layoutViewport || !layoutViewport && strategy === 'fixed') { + x = visualViewport.offsetLeft; + y = visualViewport.offsetTop; + } + } + + return { + width: width, + height: height, + x: x + getWindowScrollBarX(element), + y: y + }; + } + + // of the `` and `` rect bounds if horizontally scrollable + + function getDocumentRect(element) { + var _element$ownerDocumen; + + var html = getDocumentElement(element); + var winScroll = getWindowScroll(element); + var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body; + var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0); + var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0); + var x = -winScroll.scrollLeft + getWindowScrollBarX(element); + var y = -winScroll.scrollTop; + + if (getComputedStyle$1(body || html).direction === 'rtl') { + x += max(html.clientWidth, body ? body.clientWidth : 0) - width; + } + + return { + width: width, + height: height, + x: x, + y: y + }; + } + + function isScrollParent(element) { + // Firefox wants us to check `-x` and `-y` variations as well + var _getComputedStyle = getComputedStyle$1(element), + overflow = _getComputedStyle.overflow, + overflowX = _getComputedStyle.overflowX, + overflowY = _getComputedStyle.overflowY; + + return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX); + } + + function getScrollParent(node) { + if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) { + // $FlowFixMe[incompatible-return]: assume body is always available + return node.ownerDocument.body; + } + + if (isHTMLElement(node) && isScrollParent(node)) { + return node; + } + + return getScrollParent(getParentNode(node)); + } + + /* + given a DOM element, return the list of all scroll parents, up the list of ancesors + until we get to the top window object. This list is what we attach scroll listeners + to, because if any of these parent elements scroll, we'll need to re-calculate the + reference element's position. + */ + + function listScrollParents(element, list) { + var _element$ownerDocumen; + + if (list === void 0) { + list = []; + } + + var scrollParent = getScrollParent(element); + var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body); + var win = getWindow(scrollParent); + var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent; + var updatedList = list.concat(target); + return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here + updatedList.concat(listScrollParents(getParentNode(target))); + } + + function rectToClientRect(rect) { + return Object.assign({}, rect, { + left: rect.x, + top: rect.y, + right: rect.x + rect.width, + bottom: rect.y + rect.height + }); + } + + function getInnerBoundingClientRect(element, strategy) { + var rect = getBoundingClientRect(element, false, strategy === 'fixed'); + rect.top = rect.top + element.clientTop; + rect.left = rect.left + element.clientLeft; + rect.bottom = rect.top + element.clientHeight; + rect.right = rect.left + element.clientWidth; + rect.width = element.clientWidth; + rect.height = element.clientHeight; + rect.x = rect.left; + rect.y = rect.top; + return rect; + } + + function getClientRectFromMixedType(element, clippingParent, strategy) { + return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element))); + } // A "clipping parent" is an overflowable container with the characteristic of + // clipping (or hiding) overflowing elements with a position different from + // `initial` + + + function getClippingParents(element) { + var clippingParents = listScrollParents(getParentNode(element)); + var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$1(element).position) >= 0; + var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element; + + if (!isElement(clipperElement)) { + return []; + } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414 + + + return clippingParents.filter(function (clippingParent) { + return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'; + }); + } // Gets the maximum area that the element is visible in due to any number of + // clipping parents + + + function getClippingRect(element, boundary, rootBoundary, strategy) { + var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary); + var clippingParents = [].concat(mainClippingParents, [rootBoundary]); + var firstClippingParent = clippingParents[0]; + var clippingRect = clippingParents.reduce(function (accRect, clippingParent) { + var rect = getClientRectFromMixedType(element, clippingParent, strategy); + accRect.top = max(rect.top, accRect.top); + accRect.right = min(rect.right, accRect.right); + accRect.bottom = min(rect.bottom, accRect.bottom); + accRect.left = max(rect.left, accRect.left); + return accRect; + }, getClientRectFromMixedType(element, firstClippingParent, strategy)); + clippingRect.width = clippingRect.right - clippingRect.left; + clippingRect.height = clippingRect.bottom - clippingRect.top; + clippingRect.x = clippingRect.left; + clippingRect.y = clippingRect.top; + return clippingRect; + } + + function computeOffsets(_ref) { + var reference = _ref.reference, + element = _ref.element, + placement = _ref.placement; + var basePlacement = placement ? getBasePlacement(placement) : null; + var variation = placement ? getVariation(placement) : null; + var commonX = reference.x + reference.width / 2 - element.width / 2; + var commonY = reference.y + reference.height / 2 - element.height / 2; + var offsets; + + switch (basePlacement) { + case top: + offsets = { + x: commonX, + y: reference.y - element.height + }; + break; + + case bottom: + offsets = { + x: commonX, + y: reference.y + reference.height + }; + break; + + case right: + offsets = { + x: reference.x + reference.width, + y: commonY + }; + break; + + case left: + offsets = { + x: reference.x - element.width, + y: commonY + }; + break; + + default: + offsets = { + x: reference.x, + y: reference.y + }; + } + + var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null; + + if (mainAxis != null) { + var len = mainAxis === 'y' ? 'height' : 'width'; + + switch (variation) { + case start: + offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2); + break; + + case end: + offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2); + break; + } + } + + return offsets; + } + + function detectOverflow(state, options) { + if (options === void 0) { + options = {}; + } + + var _options = options, + _options$placement = _options.placement, + placement = _options$placement === void 0 ? state.placement : _options$placement, + _options$strategy = _options.strategy, + strategy = _options$strategy === void 0 ? state.strategy : _options$strategy, + _options$boundary = _options.boundary, + boundary = _options$boundary === void 0 ? clippingParents : _options$boundary, + _options$rootBoundary = _options.rootBoundary, + rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary, + _options$elementConte = _options.elementContext, + elementContext = _options$elementConte === void 0 ? popper : _options$elementConte, + _options$altBoundary = _options.altBoundary, + altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, + _options$padding = _options.padding, + padding = _options$padding === void 0 ? 0 : _options$padding; + var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements)); + var altContext = elementContext === popper ? reference : popper; + var popperRect = state.rects.popper; + var element = state.elements[altBoundary ? altContext : elementContext]; + var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy); + var referenceClientRect = getBoundingClientRect(state.elements.reference); + var popperOffsets = computeOffsets({ + reference: referenceClientRect, + element: popperRect, + strategy: 'absolute', + placement: placement + }); + var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets)); + var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect + // 0 or negative = within the clipping rect + + var overflowOffsets = { + top: clippingClientRect.top - elementClientRect.top + paddingObject.top, + bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom, + left: clippingClientRect.left - elementClientRect.left + paddingObject.left, + right: elementClientRect.right - clippingClientRect.right + paddingObject.right + }; + var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element + + if (elementContext === popper && offsetData) { + var offset = offsetData[placement]; + Object.keys(overflowOffsets).forEach(function (key) { + var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1; + var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x'; + overflowOffsets[key] += offset[axis] * multiply; + }); + } + + return overflowOffsets; + } + + function computeAutoPlacement(state, options) { + if (options === void 0) { + options = {}; + } + + var _options = options, + placement = _options.placement, + boundary = _options.boundary, + rootBoundary = _options.rootBoundary, + padding = _options.padding, + flipVariations = _options.flipVariations, + _options$allowedAutoP = _options.allowedAutoPlacements, + allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP; + var variation = getVariation(placement); + var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) { + return getVariation(placement) === variation; + }) : basePlacements; + var allowedPlacements = placements$1.filter(function (placement) { + return allowedAutoPlacements.indexOf(placement) >= 0; + }); + + if (allowedPlacements.length === 0) { + allowedPlacements = placements$1; + } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions... + + + var overflows = allowedPlacements.reduce(function (acc, placement) { + acc[placement] = detectOverflow(state, { + placement: placement, + boundary: boundary, + rootBoundary: rootBoundary, + padding: padding + })[getBasePlacement(placement)]; + return acc; + }, {}); + return Object.keys(overflows).sort(function (a, b) { + return overflows[a] - overflows[b]; + }); + } + + function getExpandedFallbackPlacements(placement) { + if (getBasePlacement(placement) === auto) { + return []; + } + + var oppositePlacement = getOppositePlacement(placement); + return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)]; + } + + function flip(_ref) { + var state = _ref.state, + options = _ref.options, + name = _ref.name; + + if (state.modifiersData[name]._skip) { + return; + } + + var _options$mainAxis = options.mainAxis, + checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, + _options$altAxis = options.altAxis, + checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis, + specifiedFallbackPlacements = options.fallbackPlacements, + padding = options.padding, + boundary = options.boundary, + rootBoundary = options.rootBoundary, + altBoundary = options.altBoundary, + _options$flipVariatio = options.flipVariations, + flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio, + allowedAutoPlacements = options.allowedAutoPlacements; + var preferredPlacement = state.options.placement; + var basePlacement = getBasePlacement(preferredPlacement); + var isBasePlacement = basePlacement === preferredPlacement; + var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement)); + var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) { + return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, { + placement: placement, + boundary: boundary, + rootBoundary: rootBoundary, + padding: padding, + flipVariations: flipVariations, + allowedAutoPlacements: allowedAutoPlacements + }) : placement); + }, []); + var referenceRect = state.rects.reference; + var popperRect = state.rects.popper; + var checksMap = new Map(); + var makeFallbackChecks = true; + var firstFittingPlacement = placements[0]; + + for (var i = 0; i < placements.length; i++) { + var placement = placements[i]; + + var _basePlacement = getBasePlacement(placement); + + var isStartVariation = getVariation(placement) === start; + var isVertical = [top, bottom].indexOf(_basePlacement) >= 0; + var len = isVertical ? 'width' : 'height'; + var overflow = detectOverflow(state, { + placement: placement, + boundary: boundary, + rootBoundary: rootBoundary, + altBoundary: altBoundary, + padding: padding + }); + var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top; + + if (referenceRect[len] > popperRect[len]) { + mainVariationSide = getOppositePlacement(mainVariationSide); + } + + var altVariationSide = getOppositePlacement(mainVariationSide); + var checks = []; + + if (checkMainAxis) { + checks.push(overflow[_basePlacement] <= 0); + } + + if (checkAltAxis) { + checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0); + } + + if (checks.every(function (check) { + return check; + })) { + firstFittingPlacement = placement; + makeFallbackChecks = false; + break; + } + + checksMap.set(placement, checks); + } + + if (makeFallbackChecks) { + // `2` may be desired in some cases – research later + var numberOfChecks = flipVariations ? 3 : 1; + + var _loop = function _loop(_i) { + var fittingPlacement = placements.find(function (placement) { + var checks = checksMap.get(placement); + + if (checks) { + return checks.slice(0, _i).every(function (check) { + return check; + }); + } + }); + + if (fittingPlacement) { + firstFittingPlacement = fittingPlacement; + return "break"; + } + }; + + for (var _i = numberOfChecks; _i > 0; _i--) { + var _ret = _loop(_i); + + if (_ret === "break") break; + } + } + + if (state.placement !== firstFittingPlacement) { + state.modifiersData[name]._skip = true; + state.placement = firstFittingPlacement; + state.reset = true; + } + } // eslint-disable-next-line import/no-unused-modules + + + const flip$1 = { + name: 'flip', + enabled: true, + phase: 'main', + fn: flip, + requiresIfExists: ['offset'], + data: { + _skip: false + } + }; + + function getSideOffsets(overflow, rect, preventedOffsets) { + if (preventedOffsets === void 0) { + preventedOffsets = { + x: 0, + y: 0 + }; + } + + return { + top: overflow.top - rect.height - preventedOffsets.y, + right: overflow.right - rect.width + preventedOffsets.x, + bottom: overflow.bottom - rect.height + preventedOffsets.y, + left: overflow.left - rect.width - preventedOffsets.x + }; + } + + function isAnySideFullyClipped(overflow) { + return [top, right, bottom, left].some(function (side) { + return overflow[side] >= 0; + }); + } + + function hide(_ref) { + var state = _ref.state, + name = _ref.name; + var referenceRect = state.rects.reference; + var popperRect = state.rects.popper; + var preventedOffsets = state.modifiersData.preventOverflow; + var referenceOverflow = detectOverflow(state, { + elementContext: 'reference' + }); + var popperAltOverflow = detectOverflow(state, { + altBoundary: true + }); + var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect); + var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets); + var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets); + var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets); + state.modifiersData[name] = { + referenceClippingOffsets: referenceClippingOffsets, + popperEscapeOffsets: popperEscapeOffsets, + isReferenceHidden: isReferenceHidden, + hasPopperEscaped: hasPopperEscaped + }; + state.attributes.popper = Object.assign({}, state.attributes.popper, { + 'data-popper-reference-hidden': isReferenceHidden, + 'data-popper-escaped': hasPopperEscaped + }); + } // eslint-disable-next-line import/no-unused-modules + + + const hide$1 = { + name: 'hide', + enabled: true, + phase: 'main', + requiresIfExists: ['preventOverflow'], + fn: hide + }; + + function distanceAndSkiddingToXY(placement, rects, offset) { + var basePlacement = getBasePlacement(placement); + var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1; + + var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, { + placement: placement + })) : offset, + skidding = _ref[0], + distance = _ref[1]; + + skidding = skidding || 0; + distance = (distance || 0) * invertDistance; + return [left, right].indexOf(basePlacement) >= 0 ? { + x: distance, + y: skidding + } : { + x: skidding, + y: distance + }; + } + + function offset(_ref2) { + var state = _ref2.state, + options = _ref2.options, + name = _ref2.name; + var _options$offset = options.offset, + offset = _options$offset === void 0 ? [0, 0] : _options$offset; + var data = placements.reduce(function (acc, placement) { + acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset); + return acc; + }, {}); + var _data$state$placement = data[state.placement], + x = _data$state$placement.x, + y = _data$state$placement.y; + + if (state.modifiersData.popperOffsets != null) { + state.modifiersData.popperOffsets.x += x; + state.modifiersData.popperOffsets.y += y; + } + + state.modifiersData[name] = data; + } // eslint-disable-next-line import/no-unused-modules + + + const offset$1 = { + name: 'offset', + enabled: true, + phase: 'main', + requires: ['popperOffsets'], + fn: offset + }; + + function popperOffsets(_ref) { + var state = _ref.state, + name = _ref.name; + // Offsets are the actual position the popper needs to have to be + // properly positioned near its reference element + // This is the most basic placement, and will be adjusted by + // the modifiers in the next step + state.modifiersData[name] = computeOffsets({ + reference: state.rects.reference, + element: state.rects.popper, + strategy: 'absolute', + placement: state.placement + }); + } // eslint-disable-next-line import/no-unused-modules + + + const popperOffsets$1 = { + name: 'popperOffsets', + enabled: true, + phase: 'read', + fn: popperOffsets, + data: {} + }; + + function getAltAxis(axis) { + return axis === 'x' ? 'y' : 'x'; + } + + function preventOverflow(_ref) { + var state = _ref.state, + options = _ref.options, + name = _ref.name; + var _options$mainAxis = options.mainAxis, + checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, + _options$altAxis = options.altAxis, + checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, + boundary = options.boundary, + rootBoundary = options.rootBoundary, + altBoundary = options.altBoundary, + padding = options.padding, + _options$tether = options.tether, + tether = _options$tether === void 0 ? true : _options$tether, + _options$tetherOffset = options.tetherOffset, + tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset; + var overflow = detectOverflow(state, { + boundary: boundary, + rootBoundary: rootBoundary, + padding: padding, + altBoundary: altBoundary + }); + var basePlacement = getBasePlacement(state.placement); + var variation = getVariation(state.placement); + var isBasePlacement = !variation; + var mainAxis = getMainAxisFromPlacement(basePlacement); + var altAxis = getAltAxis(mainAxis); + var popperOffsets = state.modifiersData.popperOffsets; + var referenceRect = state.rects.reference; + var popperRect = state.rects.popper; + var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, { + placement: state.placement + })) : tetherOffset; + var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? { + mainAxis: tetherOffsetValue, + altAxis: tetherOffsetValue + } : Object.assign({ + mainAxis: 0, + altAxis: 0 + }, tetherOffsetValue); + var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null; + var data = { + x: 0, + y: 0 + }; + + if (!popperOffsets) { + return; + } + + if (checkMainAxis) { + var _offsetModifierState$; + + var mainSide = mainAxis === 'y' ? top : left; + var altSide = mainAxis === 'y' ? bottom : right; + var len = mainAxis === 'y' ? 'height' : 'width'; + var offset = popperOffsets[mainAxis]; + var min$1 = offset + overflow[mainSide]; + var max$1 = offset - overflow[altSide]; + var additive = tether ? -popperRect[len] / 2 : 0; + var minLen = variation === start ? referenceRect[len] : popperRect[len]; + var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go + // outside the reference bounds + + var arrowElement = state.elements.arrow; + var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : { + width: 0, + height: 0 + }; + var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject(); + var arrowPaddingMin = arrowPaddingObject[mainSide]; + var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want + // to include its full size in the calculation. If the reference is small + // and near the edge of a boundary, the popper can overflow even if the + // reference is not overflowing as well (e.g. virtual elements with no + // width or height) + + var arrowLen = within(0, referenceRect[len], arrowRect[len]); + var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis; + var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis; + var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow); + var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0; + var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0; + var tetherMin = offset + minOffset - offsetModifierValue - clientOffset; + var tetherMax = offset + maxOffset - offsetModifierValue; + var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1); + popperOffsets[mainAxis] = preventedOffset; + data[mainAxis] = preventedOffset - offset; + } + + if (checkAltAxis) { + var _offsetModifierState$2; + + var _mainSide = mainAxis === 'x' ? top : left; + + var _altSide = mainAxis === 'x' ? bottom : right; + + var _offset = popperOffsets[altAxis]; + + var _len = altAxis === 'y' ? 'height' : 'width'; + + var _min = _offset + overflow[_mainSide]; + + var _max = _offset - overflow[_altSide]; + + var isOriginSide = [top, left].indexOf(basePlacement) !== -1; + + var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0; + + var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis; + + var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max; + + var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max); + + popperOffsets[altAxis] = _preventedOffset; + data[altAxis] = _preventedOffset - _offset; + } + + state.modifiersData[name] = data; + } // eslint-disable-next-line import/no-unused-modules + + + const preventOverflow$1 = { + name: 'preventOverflow', + enabled: true, + phase: 'main', + fn: preventOverflow, + requiresIfExists: ['offset'] + }; + + function getHTMLElementScroll(element) { + return { + scrollLeft: element.scrollLeft, + scrollTop: element.scrollTop + }; + } + + function getNodeScroll(node) { + if (node === getWindow(node) || !isHTMLElement(node)) { + return getWindowScroll(node); + } else { + return getHTMLElementScroll(node); + } + } + + function isElementScaled(element) { + var rect = element.getBoundingClientRect(); + var scaleX = round(rect.width) / element.offsetWidth || 1; + var scaleY = round(rect.height) / element.offsetHeight || 1; + return scaleX !== 1 || scaleY !== 1; + } // Returns the composite rect of an element relative to its offsetParent. + // Composite means it takes into account transforms as well as layout. + + + function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) { + if (isFixed === void 0) { + isFixed = false; + } + + var isOffsetParentAnElement = isHTMLElement(offsetParent); + var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent); + var documentElement = getDocumentElement(offsetParent); + var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed); + var scroll = { + scrollLeft: 0, + scrollTop: 0 + }; + var offsets = { + x: 0, + y: 0 + }; + + if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) { + if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078 + isScrollParent(documentElement)) { + scroll = getNodeScroll(offsetParent); + } + + if (isHTMLElement(offsetParent)) { + offsets = getBoundingClientRect(offsetParent, true); + offsets.x += offsetParent.clientLeft; + offsets.y += offsetParent.clientTop; + } else if (documentElement) { + offsets.x = getWindowScrollBarX(documentElement); + } + } + + return { + x: rect.left + scroll.scrollLeft - offsets.x, + y: rect.top + scroll.scrollTop - offsets.y, + width: rect.width, + height: rect.height + }; + } + + function order(modifiers) { + var map = new Map(); + var visited = new Set(); + var result = []; + modifiers.forEach(function (modifier) { + map.set(modifier.name, modifier); + }); // On visiting object, check for its dependencies and visit them recursively + + function sort(modifier) { + visited.add(modifier.name); + var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []); + requires.forEach(function (dep) { + if (!visited.has(dep)) { + var depModifier = map.get(dep); + + if (depModifier) { + sort(depModifier); + } + } + }); + result.push(modifier); + } + + modifiers.forEach(function (modifier) { + if (!visited.has(modifier.name)) { + // check for visited object + sort(modifier); + } + }); + return result; + } + + function orderModifiers(modifiers) { + // order based on dependencies + var orderedModifiers = order(modifiers); // order based on phase + + return modifierPhases.reduce(function (acc, phase) { + return acc.concat(orderedModifiers.filter(function (modifier) { + return modifier.phase === phase; + })); + }, []); + } + + function debounce(fn) { + var pending; + return function () { + if (!pending) { + pending = new Promise(function (resolve) { + Promise.resolve().then(function () { + pending = undefined; + resolve(fn()); + }); + }); + } + + return pending; + }; + } + + function mergeByName(modifiers) { + var merged = modifiers.reduce(function (merged, current) { + var existing = merged[current.name]; + merged[current.name] = existing ? Object.assign({}, existing, current, { + options: Object.assign({}, existing.options, current.options), + data: Object.assign({}, existing.data, current.data) + }) : current; + return merged; + }, {}); // IE11 does not support Object.values + + return Object.keys(merged).map(function (key) { + return merged[key]; + }); + } + + var DEFAULT_OPTIONS = { + placement: 'bottom', + modifiers: [], + strategy: 'absolute' + }; + + function areValidElements() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + return !args.some(function (element) { + return !(element && typeof element.getBoundingClientRect === 'function'); + }); + } + + function popperGenerator(generatorOptions) { + if (generatorOptions === void 0) { + generatorOptions = {}; + } + + var _generatorOptions = generatorOptions, + _generatorOptions$def = _generatorOptions.defaultModifiers, + defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def, + _generatorOptions$def2 = _generatorOptions.defaultOptions, + defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2; + return function createPopper(reference, popper, options) { + if (options === void 0) { + options = defaultOptions; + } + + var state = { + placement: 'bottom', + orderedModifiers: [], + options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions), + modifiersData: {}, + elements: { + reference: reference, + popper: popper + }, + attributes: {}, + styles: {} + }; + var effectCleanupFns = []; + var isDestroyed = false; + var instance = { + state: state, + setOptions: function setOptions(setOptionsAction) { + var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction; + cleanupModifierEffects(); + state.options = Object.assign({}, defaultOptions, state.options, options); + state.scrollParents = { + reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [], + popper: listScrollParents(popper) + }; // Orders the modifiers based on their dependencies and `phase` + // properties + + var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers + + state.orderedModifiers = orderedModifiers.filter(function (m) { + return m.enabled; + }); // Validate the provided modifiers so that the consumer will get warned + + runModifierEffects(); + return instance.update(); + }, + // Sync update – it will always be executed, even if not necessary. This + // is useful for low frequency updates where sync behavior simplifies the + // logic. + // For high frequency updates (e.g. `resize` and `scroll` events), always + // prefer the async Popper#update method + forceUpdate: function forceUpdate() { + if (isDestroyed) { + return; + } + + var _state$elements = state.elements, + reference = _state$elements.reference, + popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements + // anymore + + if (!areValidElements(reference, popper)) { + + return; + } // Store the reference and popper rects to be read by modifiers + + + state.rects = { + reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'), + popper: getLayoutRect(popper) + }; // Modifiers have the ability to reset the current update cycle. The + // most common use case for this is the `flip` modifier changing the + // placement, which then needs to re-run all the modifiers, because the + // logic was previously ran for the previous placement and is therefore + // stale/incorrect + + state.reset = false; + state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier + // is filled with the initial data specified by the modifier. This means + // it doesn't persist and is fresh on each update. + // To ensure persistent data, use `${name}#persistent` + + state.orderedModifiers.forEach(function (modifier) { + return state.modifiersData[modifier.name] = Object.assign({}, modifier.data); + }); + + for (var index = 0; index < state.orderedModifiers.length; index++) { + + if (state.reset === true) { + state.reset = false; + index = -1; + continue; + } + + var _state$orderedModifie = state.orderedModifiers[index], + fn = _state$orderedModifie.fn, + _state$orderedModifie2 = _state$orderedModifie.options, + _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, + name = _state$orderedModifie.name; + + if (typeof fn === 'function') { + state = fn({ + state: state, + options: _options, + name: name, + instance: instance + }) || state; + } + } + }, + // Async and optimistically optimized update – it will not be executed if + // not necessary (debounced to run at most once-per-tick) + update: debounce(function () { + return new Promise(function (resolve) { + instance.forceUpdate(); + resolve(state); + }); + }), + destroy: function destroy() { + cleanupModifierEffects(); + isDestroyed = true; + } + }; + + if (!areValidElements(reference, popper)) { + + return instance; + } + + instance.setOptions(options).then(function (state) { + if (!isDestroyed && options.onFirstUpdate) { + options.onFirstUpdate(state); + } + }); // Modifiers have the ability to execute arbitrary code before the first + // update cycle runs. They will be executed in the same order as the update + // cycle. This is useful when a modifier adds some persistent data that + // other modifiers need to use, but the modifier is run after the dependent + // one. + + function runModifierEffects() { + state.orderedModifiers.forEach(function (_ref3) { + var name = _ref3.name, + _ref3$options = _ref3.options, + options = _ref3$options === void 0 ? {} : _ref3$options, + effect = _ref3.effect; + + if (typeof effect === 'function') { + var cleanupFn = effect({ + state: state, + name: name, + instance: instance, + options: options + }); + + var noopFn = function noopFn() {}; + + effectCleanupFns.push(cleanupFn || noopFn); + } + }); + } + + function cleanupModifierEffects() { + effectCleanupFns.forEach(function (fn) { + return fn(); + }); + effectCleanupFns = []; + } + + return instance; + }; + } + var createPopper$2 = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules + + var defaultModifiers$1 = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1]; + var createPopper$1 = /*#__PURE__*/popperGenerator({ + defaultModifiers: defaultModifiers$1 + }); // eslint-disable-next-line import/no-unused-modules + + var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1]; + var createPopper = /*#__PURE__*/popperGenerator({ + defaultModifiers: defaultModifiers + }); // eslint-disable-next-line import/no-unused-modules + + const Popper = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({ + __proto__: null, + popperGenerator, + detectOverflow, + createPopperBase: createPopper$2, + createPopper, + createPopperLite: createPopper$1, + top, + bottom, + right, + left, + auto, + basePlacements, + start, + end, + clippingParents, + viewport, + popper, + reference, + variationPlacements, + placements, + beforeRead, + read, + afterRead, + beforeMain, + main, + afterMain, + beforeWrite, + write, + afterWrite, + modifierPhases, + applyStyles: applyStyles$1, + arrow: arrow$1, + computeStyles: computeStyles$1, + eventListeners, + flip: flip$1, + hide: hide$1, + offset: offset$1, + popperOffsets: popperOffsets$1, + preventOverflow: preventOverflow$1 + }, Symbol.toStringTag, { value: 'Module' })); + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): dropdown.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$a = 'dropdown'; + const DATA_KEY$6 = 'bs.dropdown'; + const EVENT_KEY$6 = `.${DATA_KEY$6}`; + const DATA_API_KEY$3 = '.data-api'; + const ESCAPE_KEY$2 = 'Escape'; + const TAB_KEY$1 = 'Tab'; + const ARROW_UP_KEY$1 = 'ArrowUp'; + const ARROW_DOWN_KEY$1 = 'ArrowDown'; + const RIGHT_MOUSE_BUTTON = 2; // MouseEvent.button value for the secondary button, usually the right button + + const EVENT_HIDE$5 = `hide${EVENT_KEY$6}`; + const EVENT_HIDDEN$5 = `hidden${EVENT_KEY$6}`; + const EVENT_SHOW$5 = `show${EVENT_KEY$6}`; + const EVENT_SHOWN$5 = `shown${EVENT_KEY$6}`; + const EVENT_CLICK_DATA_API$3 = `click${EVENT_KEY$6}${DATA_API_KEY$3}`; + const EVENT_KEYDOWN_DATA_API = `keydown${EVENT_KEY$6}${DATA_API_KEY$3}`; + const EVENT_KEYUP_DATA_API = `keyup${EVENT_KEY$6}${DATA_API_KEY$3}`; + const CLASS_NAME_SHOW$6 = 'show'; + const CLASS_NAME_DROPUP = 'dropup'; + const CLASS_NAME_DROPEND = 'dropend'; + const CLASS_NAME_DROPSTART = 'dropstart'; + const CLASS_NAME_DROPUP_CENTER = 'dropup-center'; + const CLASS_NAME_DROPDOWN_CENTER = 'dropdown-center'; + const SELECTOR_DATA_TOGGLE$3 = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)'; + const SELECTOR_DATA_TOGGLE_SHOWN = `${SELECTOR_DATA_TOGGLE$3}.${CLASS_NAME_SHOW$6}`; + const SELECTOR_MENU = '.dropdown-menu'; + const SELECTOR_NAVBAR = '.navbar'; + const SELECTOR_NAVBAR_NAV = '.navbar-nav'; + const SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)'; + const PLACEMENT_TOP = isRTL() ? 'top-end' : 'top-start'; + const PLACEMENT_TOPEND = isRTL() ? 'top-start' : 'top-end'; + const PLACEMENT_BOTTOM = isRTL() ? 'bottom-end' : 'bottom-start'; + const PLACEMENT_BOTTOMEND = isRTL() ? 'bottom-start' : 'bottom-end'; + const PLACEMENT_RIGHT = isRTL() ? 'left-start' : 'right-start'; + const PLACEMENT_LEFT = isRTL() ? 'right-start' : 'left-start'; + const PLACEMENT_TOPCENTER = 'top'; + const PLACEMENT_BOTTOMCENTER = 'bottom'; + const Default$9 = { + autoClose: true, + boundary: 'clippingParents', + display: 'dynamic', + offset: [0, 2], + popperConfig: null, + reference: 'toggle' + }; + const DefaultType$9 = { + autoClose: '(boolean|string)', + boundary: '(string|element)', + display: 'string', + offset: '(array|string|function)', + popperConfig: '(null|object|function)', + reference: '(string|element|object)' + }; + /** + * Class definition + */ + + class Dropdown extends BaseComponent { + constructor(element, config) { + super(element, config); + this._popper = null; + this._parent = this._element.parentNode; // dropdown wrapper + // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/ + + this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0] || SelectorEngine.findOne(SELECTOR_MENU, this._parent); + this._inNavbar = this._detectNavbar(); + } // Getters + + + static get Default() { + return Default$9; + } + + static get DefaultType() { + return DefaultType$9; + } + + static get NAME() { + return NAME$a; + } // Public + + + toggle() { + return this._isShown() ? this.hide() : this.show(); + } + + show() { + if (isDisabled(this._element) || this._isShown()) { + return; + } + + const relatedTarget = { + relatedTarget: this._element + }; + const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$5, relatedTarget); + + if (showEvent.defaultPrevented) { + return; + } + + this._createPopper(); // If this is a touch-enabled device we add extra + // empty mouseover listeners to the body's immediate children; + // only needed because of broken event delegation on iOS + // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html + + + if ('ontouchstart' in document.documentElement && !this._parent.closest(SELECTOR_NAVBAR_NAV)) { + for (const element of [].concat(...document.body.children)) { + EventHandler.on(element, 'mouseover', noop); + } + } + + this._element.focus(); + + this._element.setAttribute('aria-expanded', true); + + this._menu.classList.add(CLASS_NAME_SHOW$6); + + this._element.classList.add(CLASS_NAME_SHOW$6); + + EventHandler.trigger(this._element, EVENT_SHOWN$5, relatedTarget); + } + + hide() { + if (isDisabled(this._element) || !this._isShown()) { + return; + } + + const relatedTarget = { + relatedTarget: this._element + }; + + this._completeHide(relatedTarget); + } + + dispose() { + if (this._popper) { + this._popper.destroy(); + } + + super.dispose(); + } + + update() { + this._inNavbar = this._detectNavbar(); + + if (this._popper) { + this._popper.update(); + } + } // Private + + + _completeHide(relatedTarget) { + const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$5, relatedTarget); + + if (hideEvent.defaultPrevented) { + return; + } // If this is a touch-enabled device we remove the extra + // empty mouseover listeners we added for iOS support + + + if ('ontouchstart' in document.documentElement) { + for (const element of [].concat(...document.body.children)) { + EventHandler.off(element, 'mouseover', noop); + } + } + + if (this._popper) { + this._popper.destroy(); + } + + this._menu.classList.remove(CLASS_NAME_SHOW$6); + + this._element.classList.remove(CLASS_NAME_SHOW$6); + + this._element.setAttribute('aria-expanded', 'false'); + + Manipulator.removeDataAttribute(this._menu, 'popper'); + EventHandler.trigger(this._element, EVENT_HIDDEN$5, relatedTarget); + } + + _getConfig(config) { + config = super._getConfig(config); + + if (typeof config.reference === 'object' && !isElement$1(config.reference) && typeof config.reference.getBoundingClientRect !== 'function') { + // Popper virtual elements require a getBoundingClientRect method + throw new TypeError(`${NAME$a.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`); + } + + return config; + } + + _createPopper() { + if (typeof Popper === 'undefined') { + throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)'); + } + + let referenceElement = this._element; + + if (this._config.reference === 'parent') { + referenceElement = this._parent; + } else if (isElement$1(this._config.reference)) { + referenceElement = getElement(this._config.reference); + } else if (typeof this._config.reference === 'object') { + referenceElement = this._config.reference; + } + + const popperConfig = this._getPopperConfig(); + + this._popper = createPopper(referenceElement, this._menu, popperConfig); + } + + _isShown() { + return this._menu.classList.contains(CLASS_NAME_SHOW$6); + } + + _getPlacement() { + const parentDropdown = this._parent; + + if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) { + return PLACEMENT_RIGHT; + } + + if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) { + return PLACEMENT_LEFT; + } + + if (parentDropdown.classList.contains(CLASS_NAME_DROPUP_CENTER)) { + return PLACEMENT_TOPCENTER; + } + + if (parentDropdown.classList.contains(CLASS_NAME_DROPDOWN_CENTER)) { + return PLACEMENT_BOTTOMCENTER; + } // We need to trim the value because custom properties can also include spaces + + + const isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end'; + + if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) { + return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP; + } + + return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM; + } + + _detectNavbar() { + return this._element.closest(SELECTOR_NAVBAR) !== null; + } + + _getOffset() { + const { + offset + } = this._config; + + if (typeof offset === 'string') { + return offset.split(',').map(value => Number.parseInt(value, 10)); + } + + if (typeof offset === 'function') { + return popperData => offset(popperData, this._element); + } + + return offset; + } + + _getPopperConfig() { + const defaultBsPopperConfig = { + placement: this._getPlacement(), + modifiers: [{ + name: 'preventOverflow', + options: { + boundary: this._config.boundary + } + }, { + name: 'offset', + options: { + offset: this._getOffset() + } + }] + }; // Disable Popper if we have a static display or Dropdown is in Navbar + + if (this._inNavbar || this._config.display === 'static') { + Manipulator.setDataAttribute(this._menu, 'popper', 'static'); // todo:v6 remove + + defaultBsPopperConfig.modifiers = [{ + name: 'applyStyles', + enabled: false + }]; + } + + return { ...defaultBsPopperConfig, + ...(typeof this._config.popperConfig === 'function' ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig) + }; + } + + _selectMenuItem({ + key, + target + }) { + const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter(element => isVisible(element)); + + if (!items.length) { + return; + } // if target isn't included in items (e.g. when expanding the dropdown) + // allow cycling to get the last item in case key equals ARROW_UP_KEY + + + getNextActiveElement(items, target, key === ARROW_DOWN_KEY$1, !items.includes(target)).focus(); + } // Static + + + static jQueryInterface(config) { + return this.each(function () { + const data = Dropdown.getOrCreateInstance(this, config); + + if (typeof config !== 'string') { + return; + } + + if (typeof data[config] === 'undefined') { + throw new TypeError(`No method named "${config}"`); + } + + data[config](); + }); + } + + static clearMenus(event) { + if (event.button === RIGHT_MOUSE_BUTTON || event.type === 'keyup' && event.key !== TAB_KEY$1) { + return; + } + + const openToggles = SelectorEngine.find(SELECTOR_DATA_TOGGLE_SHOWN); + + for (const toggle of openToggles) { + const context = Dropdown.getInstance(toggle); + + if (!context || context._config.autoClose === false) { + continue; + } + + const composedPath = event.composedPath(); + const isMenuTarget = composedPath.includes(context._menu); + + if (composedPath.includes(context._element) || context._config.autoClose === 'inside' && !isMenuTarget || context._config.autoClose === 'outside' && isMenuTarget) { + continue; + } // Tab navigation through the dropdown menu or events from contained inputs shouldn't close the menu + + + if (context._menu.contains(event.target) && (event.type === 'keyup' && event.key === TAB_KEY$1 || /input|select|option|textarea|form/i.test(event.target.tagName))) { + continue; + } + + const relatedTarget = { + relatedTarget: context._element + }; + + if (event.type === 'click') { + relatedTarget.clickEvent = event; + } + + context._completeHide(relatedTarget); + } + } + + static dataApiKeydownHandler(event) { + // If not an UP | DOWN | ESCAPE key => not a dropdown command + // If input/textarea && if key is other than ESCAPE => not a dropdown command + const isInput = /input|textarea/i.test(event.target.tagName); + const isEscapeEvent = event.key === ESCAPE_KEY$2; + const isUpOrDownEvent = [ARROW_UP_KEY$1, ARROW_DOWN_KEY$1].includes(event.key); + + if (!isUpOrDownEvent && !isEscapeEvent) { + return; + } + + if (isInput && !isEscapeEvent) { + return; + } + + event.preventDefault(); // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/ + + const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE$3) ? this : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE$3)[0] || SelectorEngine.next(this, SELECTOR_DATA_TOGGLE$3)[0] || SelectorEngine.findOne(SELECTOR_DATA_TOGGLE$3, event.delegateTarget.parentNode); + const instance = Dropdown.getOrCreateInstance(getToggleButton); + + if (isUpOrDownEvent) { + event.stopPropagation(); + instance.show(); + + instance._selectMenuItem(event); + + return; + } + + if (instance._isShown()) { + // else is escape and we check if it is shown + event.stopPropagation(); + instance.hide(); + getToggleButton.focus(); + } + } + + } + /** + * Data API implementation + */ + + + EventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE$3, Dropdown.dataApiKeydownHandler); + EventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown.dataApiKeydownHandler); + EventHandler.on(document, EVENT_CLICK_DATA_API$3, Dropdown.clearMenus); + EventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus); + EventHandler.on(document, EVENT_CLICK_DATA_API$3, SELECTOR_DATA_TOGGLE$3, function (event) { + event.preventDefault(); + Dropdown.getOrCreateInstance(this).toggle(); + }); + /** + * jQuery + */ + + defineJQueryPlugin(Dropdown); + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): util/scrollBar.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'; + const SELECTOR_STICKY_CONTENT = '.sticky-top'; + const PROPERTY_PADDING = 'padding-right'; + const PROPERTY_MARGIN = 'margin-right'; + /** + * Class definition + */ + + class ScrollBarHelper { + constructor() { + this._element = document.body; + } // Public + + + getWidth() { + // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes + const documentWidth = document.documentElement.clientWidth; + return Math.abs(window.innerWidth - documentWidth); + } + + hide() { + const width = this.getWidth(); + + this._disableOverFlow(); // give padding to element to balance the hidden scrollbar width + + + this._setElementAttributes(this._element, PROPERTY_PADDING, calculatedValue => calculatedValue + width); // trick: We adjust positive paddingRight and negative marginRight to sticky-top elements to keep showing fullwidth + + + this._setElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING, calculatedValue => calculatedValue + width); + + this._setElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN, calculatedValue => calculatedValue - width); + } + + reset() { + this._resetElementAttributes(this._element, 'overflow'); + + this._resetElementAttributes(this._element, PROPERTY_PADDING); + + this._resetElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING); + + this._resetElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN); + } + + isOverflowing() { + return this.getWidth() > 0; + } // Private + + + _disableOverFlow() { + this._saveInitialAttribute(this._element, 'overflow'); + + this._element.style.overflow = 'hidden'; + } + + _setElementAttributes(selector, styleProperty, callback) { + const scrollbarWidth = this.getWidth(); + + const manipulationCallBack = element => { + if (element !== this._element && window.innerWidth > element.clientWidth + scrollbarWidth) { + return; + } + + this._saveInitialAttribute(element, styleProperty); + + const calculatedValue = window.getComputedStyle(element).getPropertyValue(styleProperty); + element.style.setProperty(styleProperty, `${callback(Number.parseFloat(calculatedValue))}px`); + }; + + this._applyManipulationCallback(selector, manipulationCallBack); + } + + _saveInitialAttribute(element, styleProperty) { + const actualValue = element.style.getPropertyValue(styleProperty); + + if (actualValue) { + Manipulator.setDataAttribute(element, styleProperty, actualValue); + } + } + + _resetElementAttributes(selector, styleProperty) { + const manipulationCallBack = element => { + const value = Manipulator.getDataAttribute(element, styleProperty); // We only want to remove the property if the value is `null`; the value can also be zero + + if (value === null) { + element.style.removeProperty(styleProperty); + return; + } + + Manipulator.removeDataAttribute(element, styleProperty); + element.style.setProperty(styleProperty, value); + }; + + this._applyManipulationCallback(selector, manipulationCallBack); + } + + _applyManipulationCallback(selector, callBack) { + if (isElement$1(selector)) { + callBack(selector); + return; + } + + for (const sel of SelectorEngine.find(selector, this._element)) { + callBack(sel); + } + } + + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): util/backdrop.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$9 = 'backdrop'; + const CLASS_NAME_FADE$4 = 'fade'; + const CLASS_NAME_SHOW$5 = 'show'; + const EVENT_MOUSEDOWN = `mousedown.bs.${NAME$9}`; + const Default$8 = { + className: 'modal-backdrop', + clickCallback: null, + isAnimated: false, + isVisible: true, + // if false, we use the backdrop helper without adding any element to the dom + rootElement: 'body' // give the choice to place backdrop under different elements + + }; + const DefaultType$8 = { + className: 'string', + clickCallback: '(function|null)', + isAnimated: 'boolean', + isVisible: 'boolean', + rootElement: '(element|string)' + }; + /** + * Class definition + */ + + class Backdrop extends Config { + constructor(config) { + super(); + this._config = this._getConfig(config); + this._isAppended = false; + this._element = null; + } // Getters + + + static get Default() { + return Default$8; + } + + static get DefaultType() { + return DefaultType$8; + } + + static get NAME() { + return NAME$9; + } // Public + + + show(callback) { + if (!this._config.isVisible) { + execute(callback); + return; + } + + this._append(); + + const element = this._getElement(); + + if (this._config.isAnimated) { + reflow(element); + } + + element.classList.add(CLASS_NAME_SHOW$5); + + this._emulateAnimation(() => { + execute(callback); + }); + } + + hide(callback) { + if (!this._config.isVisible) { + execute(callback); + return; + } + + this._getElement().classList.remove(CLASS_NAME_SHOW$5); + + this._emulateAnimation(() => { + this.dispose(); + execute(callback); + }); + } + + dispose() { + if (!this._isAppended) { + return; + } + + EventHandler.off(this._element, EVENT_MOUSEDOWN); + + this._element.remove(); + + this._isAppended = false; + } // Private + + + _getElement() { + if (!this._element) { + const backdrop = document.createElement('div'); + backdrop.className = this._config.className; + + if (this._config.isAnimated) { + backdrop.classList.add(CLASS_NAME_FADE$4); + } + + this._element = backdrop; + } + + return this._element; + } + + _configAfterMerge(config) { + // use getElement() with the default "body" to get a fresh Element on each instantiation + config.rootElement = getElement(config.rootElement); + return config; + } + + _append() { + if (this._isAppended) { + return; + } + + const element = this._getElement(); + + this._config.rootElement.append(element); + + EventHandler.on(element, EVENT_MOUSEDOWN, () => { + execute(this._config.clickCallback); + }); + this._isAppended = true; + } + + _emulateAnimation(callback) { + executeAfterTransition(callback, this._getElement(), this._config.isAnimated); + } + + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): util/focustrap.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$8 = 'focustrap'; + const DATA_KEY$5 = 'bs.focustrap'; + const EVENT_KEY$5 = `.${DATA_KEY$5}`; + const EVENT_FOCUSIN$2 = `focusin${EVENT_KEY$5}`; + const EVENT_KEYDOWN_TAB = `keydown.tab${EVENT_KEY$5}`; + const TAB_KEY = 'Tab'; + const TAB_NAV_FORWARD = 'forward'; + const TAB_NAV_BACKWARD = 'backward'; + const Default$7 = { + autofocus: true, + trapElement: null // The element to trap focus inside of + + }; + const DefaultType$7 = { + autofocus: 'boolean', + trapElement: 'element' + }; + /** + * Class definition + */ + + class FocusTrap extends Config { + constructor(config) { + super(); + this._config = this._getConfig(config); + this._isActive = false; + this._lastTabNavDirection = null; + } // Getters + + + static get Default() { + return Default$7; + } + + static get DefaultType() { + return DefaultType$7; + } + + static get NAME() { + return NAME$8; + } // Public + + + activate() { + if (this._isActive) { + return; + } + + if (this._config.autofocus) { + this._config.trapElement.focus(); + } + + EventHandler.off(document, EVENT_KEY$5); // guard against infinite focus loop + + EventHandler.on(document, EVENT_FOCUSIN$2, event => this._handleFocusin(event)); + EventHandler.on(document, EVENT_KEYDOWN_TAB, event => this._handleKeydown(event)); + this._isActive = true; + } + + deactivate() { + if (!this._isActive) { + return; + } + + this._isActive = false; + EventHandler.off(document, EVENT_KEY$5); + } // Private + + + _handleFocusin(event) { + const { + trapElement + } = this._config; + + if (event.target === document || event.target === trapElement || trapElement.contains(event.target)) { + return; + } + + const elements = SelectorEngine.focusableChildren(trapElement); + + if (elements.length === 0) { + trapElement.focus(); + } else if (this._lastTabNavDirection === TAB_NAV_BACKWARD) { + elements[elements.length - 1].focus(); + } else { + elements[0].focus(); + } + } + + _handleKeydown(event) { + if (event.key !== TAB_KEY) { + return; + } + + this._lastTabNavDirection = event.shiftKey ? TAB_NAV_BACKWARD : TAB_NAV_FORWARD; + } + + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): modal.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$7 = 'modal'; + const DATA_KEY$4 = 'bs.modal'; + const EVENT_KEY$4 = `.${DATA_KEY$4}`; + const DATA_API_KEY$2 = '.data-api'; + const ESCAPE_KEY$1 = 'Escape'; + const EVENT_HIDE$4 = `hide${EVENT_KEY$4}`; + const EVENT_HIDE_PREVENTED$1 = `hidePrevented${EVENT_KEY$4}`; + const EVENT_HIDDEN$4 = `hidden${EVENT_KEY$4}`; + const EVENT_SHOW$4 = `show${EVENT_KEY$4}`; + const EVENT_SHOWN$4 = `shown${EVENT_KEY$4}`; + const EVENT_RESIZE$1 = `resize${EVENT_KEY$4}`; + const EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY$4}`; + const EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY$4}`; + const EVENT_KEYDOWN_DISMISS$1 = `keydown.dismiss${EVENT_KEY$4}`; + const EVENT_CLICK_DATA_API$2 = `click${EVENT_KEY$4}${DATA_API_KEY$2}`; + const CLASS_NAME_OPEN = 'modal-open'; + const CLASS_NAME_FADE$3 = 'fade'; + const CLASS_NAME_SHOW$4 = 'show'; + const CLASS_NAME_STATIC = 'modal-static'; + const OPEN_SELECTOR$1 = '.modal.show'; + const SELECTOR_DIALOG = '.modal-dialog'; + const SELECTOR_MODAL_BODY = '.modal-body'; + const SELECTOR_DATA_TOGGLE$2 = '[data-bs-toggle="modal"]'; + const Default$6 = { + backdrop: true, + focus: true, + keyboard: true + }; + const DefaultType$6 = { + backdrop: '(boolean|string)', + focus: 'boolean', + keyboard: 'boolean' + }; + /** + * Class definition + */ + + class Modal extends BaseComponent { + constructor(element, config) { + super(element, config); + this._dialog = SelectorEngine.findOne(SELECTOR_DIALOG, this._element); + this._backdrop = this._initializeBackDrop(); + this._focustrap = this._initializeFocusTrap(); + this._isShown = false; + this._isTransitioning = false; + this._scrollBar = new ScrollBarHelper(); + + this._addEventListeners(); + } // Getters + + + static get Default() { + return Default$6; + } + + static get DefaultType() { + return DefaultType$6; + } + + static get NAME() { + return NAME$7; + } // Public + + + toggle(relatedTarget) { + return this._isShown ? this.hide() : this.show(relatedTarget); + } + + show(relatedTarget) { + if (this._isShown || this._isTransitioning) { + return; + } + + const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$4, { + relatedTarget + }); + + if (showEvent.defaultPrevented) { + return; + } + + this._isShown = true; + this._isTransitioning = true; + + this._scrollBar.hide(); + + document.body.classList.add(CLASS_NAME_OPEN); + + this._adjustDialog(); + + this._backdrop.show(() => this._showElement(relatedTarget)); + } + + hide() { + if (!this._isShown || this._isTransitioning) { + return; + } + + const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$4); + + if (hideEvent.defaultPrevented) { + return; + } + + this._isShown = false; + this._isTransitioning = true; + + this._focustrap.deactivate(); + + this._element.classList.remove(CLASS_NAME_SHOW$4); + + this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()); + } + + dispose() { + for (const htmlElement of [window, this._dialog]) { + EventHandler.off(htmlElement, EVENT_KEY$4); + } + + this._backdrop.dispose(); + + this._focustrap.deactivate(); + + super.dispose(); + } + + handleUpdate() { + this._adjustDialog(); + } // Private + + + _initializeBackDrop() { + return new Backdrop({ + isVisible: Boolean(this._config.backdrop), + // 'static' option will be translated to true, and booleans will keep their value, + isAnimated: this._isAnimated() + }); + } + + _initializeFocusTrap() { + return new FocusTrap({ + trapElement: this._element + }); + } + + _showElement(relatedTarget) { + // try to append dynamic modal + if (!document.body.contains(this._element)) { + document.body.append(this._element); + } + + this._element.style.display = 'block'; + + this._element.removeAttribute('aria-hidden'); + + this._element.setAttribute('aria-modal', true); + + this._element.setAttribute('role', 'dialog'); + + this._element.scrollTop = 0; + const modalBody = SelectorEngine.findOne(SELECTOR_MODAL_BODY, this._dialog); + + if (modalBody) { + modalBody.scrollTop = 0; + } + + reflow(this._element); + + this._element.classList.add(CLASS_NAME_SHOW$4); + + const transitionComplete = () => { + if (this._config.focus) { + this._focustrap.activate(); + } + + this._isTransitioning = false; + EventHandler.trigger(this._element, EVENT_SHOWN$4, { + relatedTarget + }); + }; + + this._queueCallback(transitionComplete, this._dialog, this._isAnimated()); + } + + _addEventListeners() { + EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS$1, event => { + if (event.key !== ESCAPE_KEY$1) { + return; + } + + if (this._config.keyboard) { + event.preventDefault(); + this.hide(); + return; + } + + this._triggerBackdropTransition(); + }); + EventHandler.on(window, EVENT_RESIZE$1, () => { + if (this._isShown && !this._isTransitioning) { + this._adjustDialog(); + } + }); + EventHandler.on(this._element, EVENT_MOUSEDOWN_DISMISS, event => { + // a bad trick to segregate clicks that may start inside dialog but end outside, and avoid listen to scrollbar clicks + EventHandler.one(this._element, EVENT_CLICK_DISMISS, event2 => { + if (this._element !== event.target || this._element !== event2.target) { + return; + } + + if (this._config.backdrop === 'static') { + this._triggerBackdropTransition(); + + return; + } + + if (this._config.backdrop) { + this.hide(); + } + }); + }); + } + + _hideModal() { + this._element.style.display = 'none'; + + this._element.setAttribute('aria-hidden', true); + + this._element.removeAttribute('aria-modal'); + + this._element.removeAttribute('role'); + + this._isTransitioning = false; + + this._backdrop.hide(() => { + document.body.classList.remove(CLASS_NAME_OPEN); + + this._resetAdjustments(); + + this._scrollBar.reset(); + + EventHandler.trigger(this._element, EVENT_HIDDEN$4); + }); + } + + _isAnimated() { + return this._element.classList.contains(CLASS_NAME_FADE$3); + } + + _triggerBackdropTransition() { + const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED$1); + + if (hideEvent.defaultPrevented) { + return; + } + + const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight; + const initialOverflowY = this._element.style.overflowY; // return if the following background transition hasn't yet completed + + if (initialOverflowY === 'hidden' || this._element.classList.contains(CLASS_NAME_STATIC)) { + return; + } + + if (!isModalOverflowing) { + this._element.style.overflowY = 'hidden'; + } + + this._element.classList.add(CLASS_NAME_STATIC); + + this._queueCallback(() => { + this._element.classList.remove(CLASS_NAME_STATIC); + + this._queueCallback(() => { + this._element.style.overflowY = initialOverflowY; + }, this._dialog); + }, this._dialog); + + this._element.focus(); + } + /** + * The following methods are used to handle overflowing modals + */ + + + _adjustDialog() { + const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight; + + const scrollbarWidth = this._scrollBar.getWidth(); + + const isBodyOverflowing = scrollbarWidth > 0; + + if (isBodyOverflowing && !isModalOverflowing) { + const property = isRTL() ? 'paddingLeft' : 'paddingRight'; + this._element.style[property] = `${scrollbarWidth}px`; + } + + if (!isBodyOverflowing && isModalOverflowing) { + const property = isRTL() ? 'paddingRight' : 'paddingLeft'; + this._element.style[property] = `${scrollbarWidth}px`; + } + } + + _resetAdjustments() { + this._element.style.paddingLeft = ''; + this._element.style.paddingRight = ''; + } // Static + + + static jQueryInterface(config, relatedTarget) { + return this.each(function () { + const data = Modal.getOrCreateInstance(this, config); + + if (typeof config !== 'string') { + return; + } + + if (typeof data[config] === 'undefined') { + throw new TypeError(`No method named "${config}"`); + } + + data[config](relatedTarget); + }); + } + + } + /** + * Data API implementation + */ + + + EventHandler.on(document, EVENT_CLICK_DATA_API$2, SELECTOR_DATA_TOGGLE$2, function (event) { + const target = getElementFromSelector(this); + + if (['A', 'AREA'].includes(this.tagName)) { + event.preventDefault(); + } + + EventHandler.one(target, EVENT_SHOW$4, showEvent => { + if (showEvent.defaultPrevented) { + // only register focus restorer if modal will actually get shown + return; + } + + EventHandler.one(target, EVENT_HIDDEN$4, () => { + if (isVisible(this)) { + this.focus(); + } + }); + }); // avoid conflict when clicking modal toggler while another one is open + + const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR$1); + + if (alreadyOpen) { + Modal.getInstance(alreadyOpen).hide(); + } + + const data = Modal.getOrCreateInstance(target); + data.toggle(this); + }); + enableDismissTrigger(Modal); + /** + * jQuery + */ + + defineJQueryPlugin(Modal); + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): offcanvas.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$6 = 'offcanvas'; + const DATA_KEY$3 = 'bs.offcanvas'; + const EVENT_KEY$3 = `.${DATA_KEY$3}`; + const DATA_API_KEY$1 = '.data-api'; + const EVENT_LOAD_DATA_API$2 = `load${EVENT_KEY$3}${DATA_API_KEY$1}`; + const ESCAPE_KEY = 'Escape'; + const CLASS_NAME_SHOW$3 = 'show'; + const CLASS_NAME_SHOWING$1 = 'showing'; + const CLASS_NAME_HIDING = 'hiding'; + const CLASS_NAME_BACKDROP = 'offcanvas-backdrop'; + const OPEN_SELECTOR = '.offcanvas.show'; + const EVENT_SHOW$3 = `show${EVENT_KEY$3}`; + const EVENT_SHOWN$3 = `shown${EVENT_KEY$3}`; + const EVENT_HIDE$3 = `hide${EVENT_KEY$3}`; + const EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY$3}`; + const EVENT_HIDDEN$3 = `hidden${EVENT_KEY$3}`; + const EVENT_RESIZE = `resize${EVENT_KEY$3}`; + const EVENT_CLICK_DATA_API$1 = `click${EVENT_KEY$3}${DATA_API_KEY$1}`; + const EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY$3}`; + const SELECTOR_DATA_TOGGLE$1 = '[data-bs-toggle="offcanvas"]'; + const Default$5 = { + backdrop: true, + keyboard: true, + scroll: false + }; + const DefaultType$5 = { + backdrop: '(boolean|string)', + keyboard: 'boolean', + scroll: 'boolean' + }; + /** + * Class definition + */ + + class Offcanvas extends BaseComponent { + constructor(element, config) { + super(element, config); + this._isShown = false; + this._backdrop = this._initializeBackDrop(); + this._focustrap = this._initializeFocusTrap(); + + this._addEventListeners(); + } // Getters + + + static get Default() { + return Default$5; + } + + static get DefaultType() { + return DefaultType$5; + } + + static get NAME() { + return NAME$6; + } // Public + + + toggle(relatedTarget) { + return this._isShown ? this.hide() : this.show(relatedTarget); + } + + show(relatedTarget) { + if (this._isShown) { + return; + } + + const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$3, { + relatedTarget + }); + + if (showEvent.defaultPrevented) { + return; + } + + this._isShown = true; + + this._backdrop.show(); + + if (!this._config.scroll) { + new ScrollBarHelper().hide(); + } + + this._element.setAttribute('aria-modal', true); + + this._element.setAttribute('role', 'dialog'); + + this._element.classList.add(CLASS_NAME_SHOWING$1); + + const completeCallBack = () => { + if (!this._config.scroll || this._config.backdrop) { + this._focustrap.activate(); + } + + this._element.classList.add(CLASS_NAME_SHOW$3); + + this._element.classList.remove(CLASS_NAME_SHOWING$1); + + EventHandler.trigger(this._element, EVENT_SHOWN$3, { + relatedTarget + }); + }; + + this._queueCallback(completeCallBack, this._element, true); + } + + hide() { + if (!this._isShown) { + return; + } + + const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$3); + + if (hideEvent.defaultPrevented) { + return; + } + + this._focustrap.deactivate(); + + this._element.blur(); + + this._isShown = false; + + this._element.classList.add(CLASS_NAME_HIDING); + + this._backdrop.hide(); + + const completeCallback = () => { + this._element.classList.remove(CLASS_NAME_SHOW$3, CLASS_NAME_HIDING); + + this._element.removeAttribute('aria-modal'); + + this._element.removeAttribute('role'); + + if (!this._config.scroll) { + new ScrollBarHelper().reset(); + } + + EventHandler.trigger(this._element, EVENT_HIDDEN$3); + }; + + this._queueCallback(completeCallback, this._element, true); + } + + dispose() { + this._backdrop.dispose(); + + this._focustrap.deactivate(); + + super.dispose(); + } // Private + + + _initializeBackDrop() { + const clickCallback = () => { + if (this._config.backdrop === 'static') { + EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED); + return; + } + + this.hide(); + }; // 'static' option will be translated to true, and booleans will keep their value + + + const isVisible = Boolean(this._config.backdrop); + return new Backdrop({ + className: CLASS_NAME_BACKDROP, + isVisible, + isAnimated: true, + rootElement: this._element.parentNode, + clickCallback: isVisible ? clickCallback : null + }); + } + + _initializeFocusTrap() { + return new FocusTrap({ + trapElement: this._element + }); + } + + _addEventListeners() { + EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, event => { + if (event.key !== ESCAPE_KEY) { + return; + } + + if (!this._config.keyboard) { + EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED); + return; + } + + this.hide(); + }); + } // Static + + + static jQueryInterface(config) { + return this.each(function () { + const data = Offcanvas.getOrCreateInstance(this, config); + + if (typeof config !== 'string') { + return; + } + + if (data[config] === undefined || config.startsWith('_') || config === 'constructor') { + throw new TypeError(`No method named "${config}"`); + } + + data[config](this); + }); + } + + } + /** + * Data API implementation + */ + + + EventHandler.on(document, EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE$1, function (event) { + const target = getElementFromSelector(this); + + if (['A', 'AREA'].includes(this.tagName)) { + event.preventDefault(); + } + + if (isDisabled(this)) { + return; + } + + EventHandler.one(target, EVENT_HIDDEN$3, () => { + // focus on trigger when it is closed + if (isVisible(this)) { + this.focus(); + } + }); // avoid conflict when clicking a toggler of an offcanvas, while another is open + + const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR); + + if (alreadyOpen && alreadyOpen !== target) { + Offcanvas.getInstance(alreadyOpen).hide(); + } + + const data = Offcanvas.getOrCreateInstance(target); + data.toggle(this); + }); + EventHandler.on(window, EVENT_LOAD_DATA_API$2, () => { + for (const selector of SelectorEngine.find(OPEN_SELECTOR)) { + Offcanvas.getOrCreateInstance(selector).show(); + } + }); + EventHandler.on(window, EVENT_RESIZE, () => { + for (const element of SelectorEngine.find('[aria-modal][class*=show][class*=offcanvas-]')) { + if (getComputedStyle(element).position !== 'fixed') { + Offcanvas.getOrCreateInstance(element).hide(); + } + } + }); + enableDismissTrigger(Offcanvas); + /** + * jQuery + */ + + defineJQueryPlugin(Offcanvas); + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): util/sanitizer.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + const uriAttributes = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']); + const ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i; + /** + * A pattern that recognizes a commonly useful subset of URLs that are safe. + * + * Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts + */ + + const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i; + /** + * A pattern that matches safe data URLs. Only matches image, video and audio types. + * + * Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts + */ + + const DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; + + const allowedAttribute = (attribute, allowedAttributeList) => { + const attributeName = attribute.nodeName.toLowerCase(); + + if (allowedAttributeList.includes(attributeName)) { + if (uriAttributes.has(attributeName)) { + return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue) || DATA_URL_PATTERN.test(attribute.nodeValue)); + } + + return true; + } // Check if a regular expression validates the attribute. + + + return allowedAttributeList.filter(attributeRegex => attributeRegex instanceof RegExp).some(regex => regex.test(attributeName)); + }; + + const DefaultAllowlist = { + // Global attributes allowed on any supplied element below. + '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN], + a: ['target', 'href', 'title', 'rel'], + area: [], + b: [], + br: [], + col: [], + code: [], + div: [], + em: [], + hr: [], + h1: [], + h2: [], + h3: [], + h4: [], + h5: [], + h6: [], + i: [], + img: ['src', 'srcset', 'alt', 'title', 'width', 'height'], + li: [], + ol: [], + p: [], + pre: [], + s: [], + small: [], + span: [], + sub: [], + sup: [], + strong: [], + u: [], + ul: [] + }; + function sanitizeHtml(unsafeHtml, allowList, sanitizeFunction) { + if (!unsafeHtml.length) { + return unsafeHtml; + } + + if (sanitizeFunction && typeof sanitizeFunction === 'function') { + return sanitizeFunction(unsafeHtml); + } + + const domParser = new window.DOMParser(); + const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html'); + const elements = [].concat(...createdDocument.body.querySelectorAll('*')); + + for (const element of elements) { + const elementName = element.nodeName.toLowerCase(); + + if (!Object.keys(allowList).includes(elementName)) { + element.remove(); + continue; + } + + const attributeList = [].concat(...element.attributes); + const allowedAttributes = [].concat(allowList['*'] || [], allowList[elementName] || []); + + for (const attribute of attributeList) { + if (!allowedAttribute(attribute, allowedAttributes)) { + element.removeAttribute(attribute.nodeName); + } + } + } + + return createdDocument.body.innerHTML; + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): util/template-factory.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$5 = 'TemplateFactory'; + const Default$4 = { + allowList: DefaultAllowlist, + content: {}, + // { selector : text , selector2 : text2 , } + extraClass: '', + html: false, + sanitize: true, + sanitizeFn: null, + template: '
    ' + }; + const DefaultType$4 = { + allowList: 'object', + content: 'object', + extraClass: '(string|function)', + html: 'boolean', + sanitize: 'boolean', + sanitizeFn: '(null|function)', + template: 'string' + }; + const DefaultContentType = { + entry: '(string|element|function|null)', + selector: '(string|element)' + }; + /** + * Class definition + */ + + class TemplateFactory extends Config { + constructor(config) { + super(); + this._config = this._getConfig(config); + } // Getters + + + static get Default() { + return Default$4; + } + + static get DefaultType() { + return DefaultType$4; + } + + static get NAME() { + return NAME$5; + } // Public + + + getContent() { + return Object.values(this._config.content).map(config => this._resolvePossibleFunction(config)).filter(Boolean); + } + + hasContent() { + return this.getContent().length > 0; + } + + changeContent(content) { + this._checkContent(content); + + this._config.content = { ...this._config.content, + ...content + }; + return this; + } + + toHtml() { + const templateWrapper = document.createElement('div'); + templateWrapper.innerHTML = this._maybeSanitize(this._config.template); + + for (const [selector, text] of Object.entries(this._config.content)) { + this._setContent(templateWrapper, text, selector); + } + + const template = templateWrapper.children[0]; + + const extraClass = this._resolvePossibleFunction(this._config.extraClass); + + if (extraClass) { + template.classList.add(...extraClass.split(' ')); + } + + return template; + } // Private + + + _typeCheckConfig(config) { + super._typeCheckConfig(config); + + this._checkContent(config.content); + } + + _checkContent(arg) { + for (const [selector, content] of Object.entries(arg)) { + super._typeCheckConfig({ + selector, + entry: content + }, DefaultContentType); + } + } + + _setContent(template, content, selector) { + const templateElement = SelectorEngine.findOne(selector, template); + + if (!templateElement) { + return; + } + + content = this._resolvePossibleFunction(content); + + if (!content) { + templateElement.remove(); + return; + } + + if (isElement$1(content)) { + this._putElementInTemplate(getElement(content), templateElement); + + return; + } + + if (this._config.html) { + templateElement.innerHTML = this._maybeSanitize(content); + return; + } + + templateElement.textContent = content; + } + + _maybeSanitize(arg) { + return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg; + } + + _resolvePossibleFunction(arg) { + return typeof arg === 'function' ? arg(this) : arg; + } + + _putElementInTemplate(element, templateElement) { + if (this._config.html) { + templateElement.innerHTML = ''; + templateElement.append(element); + return; + } + + templateElement.textContent = element.textContent; + } + + } + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): tooltip.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$4 = 'tooltip'; + const DISALLOWED_ATTRIBUTES = new Set(['sanitize', 'allowList', 'sanitizeFn']); + const CLASS_NAME_FADE$2 = 'fade'; + const CLASS_NAME_MODAL = 'modal'; + const CLASS_NAME_SHOW$2 = 'show'; + const SELECTOR_TOOLTIP_INNER = '.tooltip-inner'; + const SELECTOR_MODAL = `.${CLASS_NAME_MODAL}`; + const EVENT_MODAL_HIDE = 'hide.bs.modal'; + const TRIGGER_HOVER = 'hover'; + const TRIGGER_FOCUS = 'focus'; + const TRIGGER_CLICK = 'click'; + const TRIGGER_MANUAL = 'manual'; + const EVENT_HIDE$2 = 'hide'; + const EVENT_HIDDEN$2 = 'hidden'; + const EVENT_SHOW$2 = 'show'; + const EVENT_SHOWN$2 = 'shown'; + const EVENT_INSERTED = 'inserted'; + const EVENT_CLICK$1 = 'click'; + const EVENT_FOCUSIN$1 = 'focusin'; + const EVENT_FOCUSOUT$1 = 'focusout'; + const EVENT_MOUSEENTER = 'mouseenter'; + const EVENT_MOUSELEAVE = 'mouseleave'; + const AttachmentMap = { + AUTO: 'auto', + TOP: 'top', + RIGHT: isRTL() ? 'left' : 'right', + BOTTOM: 'bottom', + LEFT: isRTL() ? 'right' : 'left' + }; + const Default$3 = { + allowList: DefaultAllowlist, + animation: true, + boundary: 'clippingParents', + container: false, + customClass: '', + delay: 0, + fallbackPlacements: ['top', 'right', 'bottom', 'left'], + html: false, + offset: [0, 0], + placement: 'top', + popperConfig: null, + sanitize: true, + sanitizeFn: null, + selector: false, + template: '', + title: '', + trigger: 'hover focus' + }; + const DefaultType$3 = { + allowList: 'object', + animation: 'boolean', + boundary: '(string|element)', + container: '(string|element|boolean)', + customClass: '(string|function)', + delay: '(number|object)', + fallbackPlacements: 'array', + html: 'boolean', + offset: '(array|string|function)', + placement: '(string|function)', + popperConfig: '(null|object|function)', + sanitize: 'boolean', + sanitizeFn: '(null|function)', + selector: '(string|boolean)', + template: 'string', + title: '(string|element|function)', + trigger: 'string' + }; + /** + * Class definition + */ + + class Tooltip extends BaseComponent { + constructor(element, config) { + if (typeof Popper === 'undefined') { + throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)'); + } + + super(element, config); // Private + + this._isEnabled = true; + this._timeout = 0; + this._isHovered = null; + this._activeTrigger = {}; + this._popper = null; + this._templateFactory = null; + this._newContent = null; // Protected + + this.tip = null; + + this._setListeners(); + + if (!this._config.selector) { + this._fixTitle(); + } + } // Getters + + + static get Default() { + return Default$3; + } + + static get DefaultType() { + return DefaultType$3; + } + + static get NAME() { + return NAME$4; + } // Public + + + enable() { + this._isEnabled = true; + } + + disable() { + this._isEnabled = false; + } + + toggleEnabled() { + this._isEnabled = !this._isEnabled; + } + + toggle() { + if (!this._isEnabled) { + return; + } + + this._activeTrigger.click = !this._activeTrigger.click; + + if (this._isShown()) { + this._leave(); + + return; + } + + this._enter(); + } + + dispose() { + clearTimeout(this._timeout); + EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler); + + if (this._element.getAttribute('data-bs-original-title')) { + this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title')); + } + + this._disposePopper(); + + super.dispose(); + } + + show() { + if (this._element.style.display === 'none') { + throw new Error('Please use show on visible elements'); + } + + if (!(this._isWithContent() && this._isEnabled)) { + return; + } + + const showEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOW$2)); + const shadowRoot = findShadowRoot(this._element); + + const isInTheDom = (shadowRoot || this._element.ownerDocument.documentElement).contains(this._element); + + if (showEvent.defaultPrevented || !isInTheDom) { + return; + } // todo v6 remove this OR make it optional + + + this._disposePopper(); + + const tip = this._getTipElement(); + + this._element.setAttribute('aria-describedby', tip.getAttribute('id')); + + const { + container + } = this._config; + + if (!this._element.ownerDocument.documentElement.contains(this.tip)) { + container.append(tip); + EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED)); + } + + this._popper = this._createPopper(tip); + tip.classList.add(CLASS_NAME_SHOW$2); // If this is a touch-enabled device we add extra + // empty mouseover listeners to the body's immediate children; + // only needed because of broken event delegation on iOS + // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html + + if ('ontouchstart' in document.documentElement) { + for (const element of [].concat(...document.body.children)) { + EventHandler.on(element, 'mouseover', noop); + } + } + + const complete = () => { + EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOWN$2)); + + if (this._isHovered === false) { + this._leave(); + } + + this._isHovered = false; + }; + + this._queueCallback(complete, this.tip, this._isAnimated()); + } + + hide() { + if (!this._isShown()) { + return; + } + + const hideEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDE$2)); + + if (hideEvent.defaultPrevented) { + return; + } + + const tip = this._getTipElement(); + + tip.classList.remove(CLASS_NAME_SHOW$2); // If this is a touch-enabled device we remove the extra + // empty mouseover listeners we added for iOS support + + if ('ontouchstart' in document.documentElement) { + for (const element of [].concat(...document.body.children)) { + EventHandler.off(element, 'mouseover', noop); + } + } + + this._activeTrigger[TRIGGER_CLICK] = false; + this._activeTrigger[TRIGGER_FOCUS] = false; + this._activeTrigger[TRIGGER_HOVER] = false; + this._isHovered = null; // it is a trick to support manual triggering + + const complete = () => { + if (this._isWithActiveTrigger()) { + return; + } + + if (!this._isHovered) { + this._disposePopper(); + } + + this._element.removeAttribute('aria-describedby'); + + EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN$2)); + }; + + this._queueCallback(complete, this.tip, this._isAnimated()); + } + + update() { + if (this._popper) { + this._popper.update(); + } + } // Protected + + + _isWithContent() { + return Boolean(this._getTitle()); + } + + _getTipElement() { + if (!this.tip) { + this.tip = this._createTipElement(this._newContent || this._getContentForTemplate()); + } + + return this.tip; + } + + _createTipElement(content) { + const tip = this._getTemplateFactory(content).toHtml(); // todo: remove this check on v6 + + + if (!tip) { + return null; + } + + tip.classList.remove(CLASS_NAME_FADE$2, CLASS_NAME_SHOW$2); // todo: on v6 the following can be achieved with CSS only + + tip.classList.add(`bs-${this.constructor.NAME}-auto`); + const tipId = getUID(this.constructor.NAME).toString(); + tip.setAttribute('id', tipId); + + if (this._isAnimated()) { + tip.classList.add(CLASS_NAME_FADE$2); + } + + return tip; + } + + setContent(content) { + this._newContent = content; + + if (this._isShown()) { + this._disposePopper(); + + this.show(); + } + } + + _getTemplateFactory(content) { + if (this._templateFactory) { + this._templateFactory.changeContent(content); + } else { + this._templateFactory = new TemplateFactory({ ...this._config, + // the `content` var has to be after `this._config` + // to override config.content in case of popover + content, + extraClass: this._resolvePossibleFunction(this._config.customClass) + }); + } + + return this._templateFactory; + } + + _getContentForTemplate() { + return { + [SELECTOR_TOOLTIP_INNER]: this._getTitle() + }; + } + + _getTitle() { + return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute('data-bs-original-title'); + } // Private + + + _initializeOnDelegatedTarget(event) { + return this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig()); + } + + _isAnimated() { + return this._config.animation || this.tip && this.tip.classList.contains(CLASS_NAME_FADE$2); + } + + _isShown() { + return this.tip && this.tip.classList.contains(CLASS_NAME_SHOW$2); + } + + _createPopper(tip) { + const placement = typeof this._config.placement === 'function' ? this._config.placement.call(this, tip, this._element) : this._config.placement; + const attachment = AttachmentMap[placement.toUpperCase()]; + return createPopper(this._element, tip, this._getPopperConfig(attachment)); + } + + _getOffset() { + const { + offset + } = this._config; + + if (typeof offset === 'string') { + return offset.split(',').map(value => Number.parseInt(value, 10)); + } + + if (typeof offset === 'function') { + return popperData => offset(popperData, this._element); + } + + return offset; + } + + _resolvePossibleFunction(arg) { + return typeof arg === 'function' ? arg.call(this._element) : arg; + } + + _getPopperConfig(attachment) { + const defaultBsPopperConfig = { + placement: attachment, + modifiers: [{ + name: 'flip', + options: { + fallbackPlacements: this._config.fallbackPlacements + } + }, { + name: 'offset', + options: { + offset: this._getOffset() + } + }, { + name: 'preventOverflow', + options: { + boundary: this._config.boundary + } + }, { + name: 'arrow', + options: { + element: `.${this.constructor.NAME}-arrow` + } + }, { + name: 'preSetPlacement', + enabled: true, + phase: 'beforeMain', + fn: data => { + // Pre-set Popper's placement attribute in order to read the arrow sizes properly. + // Otherwise, Popper mixes up the width and height dimensions since the initial arrow style is for top placement + this._getTipElement().setAttribute('data-popper-placement', data.state.placement); + } + }] + }; + return { ...defaultBsPopperConfig, + ...(typeof this._config.popperConfig === 'function' ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig) + }; + } + + _setListeners() { + const triggers = this._config.trigger.split(' '); + + for (const trigger of triggers) { + if (trigger === 'click') { + EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => { + const context = this._initializeOnDelegatedTarget(event); + + context.toggle(); + }); + } else if (trigger !== TRIGGER_MANUAL) { + const eventIn = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSEENTER) : this.constructor.eventName(EVENT_FOCUSIN$1); + const eventOut = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSELEAVE) : this.constructor.eventName(EVENT_FOCUSOUT$1); + EventHandler.on(this._element, eventIn, this._config.selector, event => { + const context = this._initializeOnDelegatedTarget(event); + + context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true; + + context._enter(); + }); + EventHandler.on(this._element, eventOut, this._config.selector, event => { + const context = this._initializeOnDelegatedTarget(event); + + context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] = context._element.contains(event.relatedTarget); + + context._leave(); + }); + } + } + + this._hideModalHandler = () => { + if (this._element) { + this.hide(); + } + }; + + EventHandler.on(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler); + } + + _fixTitle() { + const title = this._element.getAttribute('title'); + + if (!title) { + return; + } + + if (!this._element.getAttribute('aria-label') && !this._element.textContent.trim()) { + this._element.setAttribute('aria-label', title); + } + + this._element.setAttribute('data-bs-original-title', title); // DO NOT USE IT. Is only for backwards compatibility + + + this._element.removeAttribute('title'); + } + + _enter() { + if (this._isShown() || this._isHovered) { + this._isHovered = true; + return; + } + + this._isHovered = true; + + this._setTimeout(() => { + if (this._isHovered) { + this.show(); + } + }, this._config.delay.show); + } + + _leave() { + if (this._isWithActiveTrigger()) { + return; + } + + this._isHovered = false; + + this._setTimeout(() => { + if (!this._isHovered) { + this.hide(); + } + }, this._config.delay.hide); + } + + _setTimeout(handler, timeout) { + clearTimeout(this._timeout); + this._timeout = setTimeout(handler, timeout); + } + + _isWithActiveTrigger() { + return Object.values(this._activeTrigger).includes(true); + } + + _getConfig(config) { + const dataAttributes = Manipulator.getDataAttributes(this._element); + + for (const dataAttribute of Object.keys(dataAttributes)) { + if (DISALLOWED_ATTRIBUTES.has(dataAttribute)) { + delete dataAttributes[dataAttribute]; + } + } + + config = { ...dataAttributes, + ...(typeof config === 'object' && config ? config : {}) + }; + config = this._mergeConfigObj(config); + config = this._configAfterMerge(config); + + this._typeCheckConfig(config); + + return config; + } + + _configAfterMerge(config) { + config.container = config.container === false ? document.body : getElement(config.container); + + if (typeof config.delay === 'number') { + config.delay = { + show: config.delay, + hide: config.delay + }; + } + + if (typeof config.title === 'number') { + config.title = config.title.toString(); + } + + if (typeof config.content === 'number') { + config.content = config.content.toString(); + } + + return config; + } + + _getDelegateConfig() { + const config = {}; + + for (const key in this._config) { + if (this.constructor.Default[key] !== this._config[key]) { + config[key] = this._config[key]; + } + } + + config.selector = false; + config.trigger = 'manual'; // In the future can be replaced with: + // const keysWithDifferentValues = Object.entries(this._config).filter(entry => this.constructor.Default[entry[0]] !== this._config[entry[0]]) + // `Object.fromEntries(keysWithDifferentValues)` + + return config; + } + + _disposePopper() { + if (this._popper) { + this._popper.destroy(); + + this._popper = null; + } + + if (this.tip) { + this.tip.remove(); + this.tip = null; + } + } // Static + + + static jQueryInterface(config) { + return this.each(function () { + const data = Tooltip.getOrCreateInstance(this, config); + + if (typeof config !== 'string') { + return; + } + + if (typeof data[config] === 'undefined') { + throw new TypeError(`No method named "${config}"`); + } + + data[config](); + }); + } + + } + /** + * jQuery + */ + + + defineJQueryPlugin(Tooltip); + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): popover.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$3 = 'popover'; + const SELECTOR_TITLE = '.popover-header'; + const SELECTOR_CONTENT = '.popover-body'; + const Default$2 = { ...Tooltip.Default, + content: '', + offset: [0, 8], + placement: 'right', + template: '', + trigger: 'click' + }; + const DefaultType$2 = { ...Tooltip.DefaultType, + content: '(null|string|element|function)' + }; + /** + * Class definition + */ + + class Popover extends Tooltip { + // Getters + static get Default() { + return Default$2; + } + + static get DefaultType() { + return DefaultType$2; + } + + static get NAME() { + return NAME$3; + } // Overrides + + + _isWithContent() { + return this._getTitle() || this._getContent(); + } // Private + + + _getContentForTemplate() { + return { + [SELECTOR_TITLE]: this._getTitle(), + [SELECTOR_CONTENT]: this._getContent() + }; + } + + _getContent() { + return this._resolvePossibleFunction(this._config.content); + } // Static + + + static jQueryInterface(config) { + return this.each(function () { + const data = Popover.getOrCreateInstance(this, config); + + if (typeof config !== 'string') { + return; + } + + if (typeof data[config] === 'undefined') { + throw new TypeError(`No method named "${config}"`); + } + + data[config](); + }); + } + + } + /** + * jQuery + */ + + + defineJQueryPlugin(Popover); + + /** + * -------------------------------------------------------------------------- + * Bootstrap (v5.2.3): scrollspy.js + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + * -------------------------------------------------------------------------- + */ + /** + * Constants + */ + + const NAME$2 = 'scrollspy'; + const DATA_KEY$2 = 'bs.scrollspy'; + const EVENT_KEY$2 = `.${DATA_KEY$2}`; + const DATA_API_KEY = '.data-api'; + const EVENT_ACTIVATE = `activate${EVENT_KEY$2}`; + const EVENT_CLICK = `click${EVENT_KEY$2}`; + const EVENT_LOAD_DATA_API$1 = `load${EVENT_KEY$2}${DATA_API_KEY}`; + const CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item'; + const CLASS_NAME_ACTIVE$1 = 'active'; + const SELECTOR_DATA_SPY = '[data-bs-spy="scroll"]'; + const SELECTOR_TARGET_LINKS = '[href]'; + const SELECTOR_NAV_LIST_GROUP = '.nav, .list-group'; + const SELECTOR_NAV_LINKS = '.nav-link'; + const SELECTOR_NAV_ITEMS = '.nav-item'; + const SELECTOR_LIST_ITEMS = '.list-group-item'; + const SELECTOR_LINK_ITEMS = `${SELECTOR_NAV_LINKS}, ${SELECTOR_NAV_ITEMS} > ${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}`; + const SELECTOR_DROPDOWN = '.dropdown'; + const SELECTOR_DROPDOWN_TOGGLE$1 = '.dropdown-toggle'; + const Default$1 = { + offset: null, + // TODO: v6 @deprecated, keep it for backwards compatibility reasons + rootMargin: '0px 0px -25%', + smoothScroll: false, + target: null, + threshold: [0.1, 0.5, 1] + }; + const DefaultType$1 = { + offset: '(number|null)', + // TODO v6 @deprecated, keep it for backwards compatibility reasons + rootMargin: 'string', + smoothScroll: 'boolean', + target: 'element', + threshold: 'array' + }; + /** + * Class definition + */ + + class ScrollSpy extends BaseComponent { + constructor(element, config) { + super(element, config); // this._element is the observablesContainer and config.target the menu links wrapper + + this._targetLinks = new Map(); + this._observableSections = new Map(); + this._rootElement = getComputedStyle(this._element).overflowY === 'visible' ? null : this._element; + this._activeTarget = null; + this._observer = null; + this._previousScrollData = { + visibleEntryTop: 0, + parentScrollTop: 0 + }; + this.refresh(); // initialize + } // Getters + + + static get Default() { + return Default$1; + } + + static get DefaultType() { + return DefaultType$1; + } + + static get NAME() { + return NAME$2; + } // Public + + + refresh() { + this._initializeTargetsAndObservables(); + + this._maybeEnableSmoothScroll(); + + if (this._observer) { + this._observer.disconnect(); + } else { + this._observer = this._getNewObserver(); + } + + for (const section of this._observableSections.values()) { + this._observer.observe(section); + } + } + + dispose() { + this._observer.disconnect(); + + super.dispose(); + } // Private + + + _configAfterMerge(config) { + // TODO: on v6 target should be given explicitly & remove the {target: 'ss-target'} case + config.target = getElement(config.target) || document.body; // TODO: v6 Only for backwards compatibility reasons. Use rootMargin only + + config.rootMargin = config.offset ? `${config.offset}px 0px -30%` : config.rootMargin; + + if (typeof config.threshold === 'string') { + config.threshold = config.threshold.split(',').map(value => Number.parseFloat(value)); + } + + return config; + } + + _maybeEnableSmoothScroll() { + if (!this._config.smoothScroll) { + return; + } // unregister any previous listeners + + + EventHandler.off(this._config.target, EVENT_CLICK); + EventHandler.on(this._config.target, EVENT_CLICK, SELECTOR_TARGET_LINKS, event => { + const observableSection = this._observableSections.get(event.target.hash); + + if (observableSection) { + event.preventDefault(); + const root = this._rootElement || window; + const height = observableSection.offsetTop - this._element.offsetTop; + + if (root.scrollTo) { + root.scrollTo({ + top: height, + behavior: 'smooth' + }); + return; + } // Chrome 60 doesn't support `scrollTo` + + + root.scrollTop = height; + } + }); + } + + _getNewObserver() { + const options = { + root: this._rootElement, + threshold: this._config.threshold, + rootMargin: this._config.rootMargin + }; + return new IntersectionObserver(entries => this._observerCallback(entries), options); + } // The logic of selection + + + _observerCallback(entries) { + const targetElement = entry => this._targetLinks.get(`#${entry.target.id}`); + + const activate = entry => { + this._previousScrollData.visibleEntryTop = entry.target.offsetTop; + + this._process(targetElement(entry)); + }; + + const parentScrollTop = (this._rootElement || document.documentElement).scrollTop; + const userScrollsDown = parentScrollTop >= this._previousScrollData.parentScrollTop; + this._previousScrollData.parentScrollTop = parentScrollTop; + + for (const entry of entries) { + if (!entry.isIntersecting) { + this._activeTarget = null; + + this._clearActiveClass(targetElement(entry)); + + continue; + } + + const entryIsLowerThanPrevious = entry.target.offsetTop >= this._previousScrollData.visibleEntryTop; // if we are scrolling down, pick the bigger offsetTop + + if (userScrollsDown && entryIsLowerThanPrevious) { + activate(entry); // if parent isn't scrolled, let's keep the first visible item, breaking the iteration + + if (!parentScrollTop) { + return; + } + + continue; + } // if we are scrolling up, pick the smallest offsetTop + + + if (!userScrollsDown && !entryIsLowerThanPrevious) { + activate(entry); + } + } + } + + _initializeTargetsAndObservables() { + this._targetLinks = new Map(); + this._observableSections = new Map(); + const targetLinks = SelectorEngine.find(SELECTOR_TARGET_LINKS, this._config.target); + + for (const anchor of targetLinks) { + // ensure that the anchor has an id and is not disabled + if (!anchor.hash || isDisabled(anchor)) { + continue; + } + + const observableSection = SelectorEngine.findOne(anchor.hash, this._element); // ensure that the observableSection exists & is visible + + if (isVisible(observableSection)) { + this._targetLinks.set(anchor.hash, anchor); + + this._observableSections.set(anchor.hash, observableSection); + } + } + } + + _process(target) { + if (this._activeTarget === target) { + return; + } + + this._clearActiveClass(this._config.target); + + this._activeTarget = target; + target.classList.add(CLASS_NAME_ACTIVE$1); + + this._activateParents(target); + + EventHandler.trigger(this._element, EVENT_ACTIVATE, { + relatedTarget: target + }); + } + + _activateParents(target) { + // Activate dropdown parents + if (target.classList.contains(CLASS_NAME_DROPDOWN_ITEM)) { + SelectorEngine.findOne(SELECTOR_DROPDOWN_TOGGLE$1, target.closest(SELECTOR_DROPDOWN)).classList.add(CLASS_NAME_ACTIVE$1); + return; + } + + for (const listGroup of SelectorEngine.parents(target, SELECTOR_NAV_LIST_GROUP)) { + // Set triggered links parents as active + // With both
    -
    - -
    - - - - - + + - - + + - - + + - - + + - -
    -

    Matching .container-xl...

    -
    +
    + +
    + + + + + + + + + - - -
    -
    - - - + +
    + - -
    -
    -
    -

    Navbar examples

    -

    This example is a quick exercise to illustrate how the navbar and its contents work. Some navbars extend the width of the viewport, others are confined within a .container. For positioning of navbars, checkout the top and fixed top examples.

    -

    At the smallest breakpoint, the collapse plugin is used to hide the links and show a menu button to toggle the collapsed content.

    -

    - View navbar docs » -

    +
    + +
    +
    +
    + + + + + + +
    +
    +
    +

    Navbar examples

    +

    + This example is a quick exercise to illustrate how the navbar + and its contents work. Some navbars extend the width of the + viewport, others are confined within a .container. + For positioning of navbars, checkout the + top and + fixed top examples. +

    +

    + At the smallest breakpoint, the collapse plugin is used to hide + the links and show a menu button to toggle the collapsed + content. +

    +

    + View navbar docs » +

    +
    +
    -
    - - - - - - + + - + diff --git a/examples/navbars/navbars.css b/examples/navbars/navbars.css new file mode 100644 index 0000000..70d2094 --- /dev/null +++ b/examples/navbars/navbars.css @@ -0,0 +1,7 @@ +body { + padding-bottom: 20px; +} + +.navbar { + margin-bottom: 20px; +} diff --git a/examples/offcanvas-navbar/index.html b/examples/offcanvas-navbar/index.html index e04410e..eecb21d 100644 --- a/examples/offcanvas-navbar/index.html +++ b/examples/offcanvas-navbar/index.html @@ -1,32 +1,53 @@ - - + + + + + + + + + + + + Offcanvas navbar template · Bootstrap v5.3 - - - - - - - - Offcanvas navbar template · Bootstrap v5.1 + - - - - - - + - - - - - - - - + + + + + + + + .b-example-divider { + width: 100%; + height: 3rem; + background-color: rgba(0, 0, 0, 0.1); + border: solid rgba(0, 0, 0, 0.15); + border-width: 1px 0; + box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), + inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15); + } + + .b-example-vr { + flex-shrink: 0; + width: 1.5rem; + height: 100vh; + } + + .bi { + vertical-align: -0.125em; + fill: currentColor; + } + + .nav-scroller { + position: relative; + z-index: 2; + height: 2.75rem; + overflow-y: hidden; + } + + .nav-scroller .nav { + display: flex; + flex-wrap: nowrap; + padding-bottom: 1rem; + margin-top: -1px; + overflow-x: auto; + text-align: center; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + } + + .btn-bd-primary { + --bd-violet-bg: #712cf9; + --bd-violet-rgb: 112.520718, 44.062154, 249.437846; + + --bs-btn-font-weight: 600; + --bs-btn-color: var(--bs-white); + --bs-btn-bg: var(--bd-violet-bg); + --bs-btn-border-color: var(--bd-violet-bg); + --bs-btn-hover-color: var(--bs-white); + --bs-btn-hover-bg: #6528e0; + --bs-btn-hover-border-color: #6528e0; + --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb); + --bs-btn-active-color: var(--bs-btn-hover-color); + --bs-btn-active-bg: #5a23c8; + --bs-btn-active-border-color: #5a23c8; + } + .bd-mode-toggle { + z-index: 1500; + } + - + - - - - - - -
    -
    - -
    -

    Bootstrap

    - Since 2011
    -
    -
    -
    Recent updates
    -
    - Placeholder32x32 + -

    - @username - Some more representative placeholder content, related to this other user. Another status update, perhaps. -

    + -
    - Placeholder32x32 -

    - @username - This user also gets some representative placeholder content. Maybe they did something interesting, and you really want to highlight this in the recent updates. -

    -
    - - All updates - -
    - -
    -
    Suggestions
    -
    - Placeholder32x32 - -
    -
    - Full Name - Follow +
    +
    + +
    +

    Bootstrap

    + Since 2011
    - @username
    -
    -
    - Placeholder32x32 -
    -
    - Full Name - Follow +
    +
    Recent updates
    +
    + + Placeholder + + 32x32 + +

    + @username + Some representative placeholder content, with some information about + this user. Imagine this being some sort of status update, perhaps? +

    +
    +
    + + Placeholder + + 32x32 + +

    + @username + Some more representative placeholder content, related to this other + user. Another status update, perhaps. +

    +
    +
    + + Placeholder + + 32x32 + +

    + @username + This user also gets some representative placeholder content. Maybe + they did something interesting, and you really want to highlight + this in the recent updates. +

    - @username + + All updates +
    -
    -
    - Placeholder32x32 -
    -
    - Full Name - Follow +
    +
    Suggestions
    +
    + + Placeholder + + 32x32 + +
    +
    + Full Name + Follow +
    + @username +
    +
    +
    + + Placeholder + + 32x32 + +
    +
    + Full Name + Follow +
    + @username +
    - @username +
    + + Placeholder + + 32x32 + +
    +
    + Full Name + Follow +
    + @username +
    +
    + + All suggestions +
    -
    - - All suggestions - -
    -
    + + - - - + - + diff --git a/examples/offcanvas-navbar/offcanvas.css b/examples/offcanvas-navbar/offcanvas-navbar.css similarity index 69% rename from examples/offcanvas-navbar/offcanvas.css rename to examples/offcanvas-navbar/offcanvas-navbar.css index 97fe839..f855b96 100644 --- a/examples/offcanvas-navbar/offcanvas.css +++ b/examples/offcanvas-navbar/offcanvas-navbar.css @@ -27,37 +27,22 @@ body { } } -.nav-scroller { - position: relative; - z-index: 2; - height: 2.75rem; - overflow-y: hidden; -} - .nav-scroller .nav { - display: flex; - flex-wrap: nowrap; - padding-bottom: 1rem; - margin-top: -1px; - overflow-x: auto; color: rgba(255, 255, 255, .75); - text-align: center; - white-space: nowrap; - -webkit-overflow-scrolling: touch; } -.nav-underline .nav-link { +.nav-scroller .nav-link { padding-top: .75rem; padding-bottom: .75rem; font-size: .875rem; color: #6c757d; } -.nav-underline .nav-link:hover { +.nav-scroller .nav-link:hover { color: #007bff; } -.nav-underline .active { +.nav-scroller .active { font-weight: 500; color: #343a40; } diff --git a/examples/offcanvas-navbar/offcanvas.js b/examples/offcanvas-navbar/offcanvas-navbar.js similarity index 80% rename from examples/offcanvas-navbar/offcanvas.js rename to examples/offcanvas-navbar/offcanvas-navbar.js index 91103b1..b97a171 100644 --- a/examples/offcanvas-navbar/offcanvas.js +++ b/examples/offcanvas-navbar/offcanvas-navbar.js @@ -1,7 +1,7 @@ -(function () { +(() => { 'use strict' - document.querySelector('#navbarSideCollapse').addEventListener('click', function () { + document.querySelector('#navbarSideCollapse').addEventListener('click', () => { document.querySelector('.offcanvas-collapse').classList.toggle('open') }) })() diff --git a/examples/pricing/index.html b/examples/pricing/index.html index 9d174aa..1f14d92 100644 --- a/examples/pricing/index.html +++ b/examples/pricing/index.html @@ -1,32 +1,53 @@ - - + + + + + + + + + + + + Pricing example · Bootstrap v5.3 - - - - - - - - Pricing example · Bootstrap v5.1 + - - - - - - + - - - - - - - - + + + + + + + + .b-example-divider { + width: 100%; + height: 3rem; + background-color: rgba(0, 0, 0, 0.1); + border: solid rgba(0, 0, 0, 0.15); + border-width: 1px 0; + box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), + inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15); + } + + .b-example-vr { + flex-shrink: 0; + width: 1.5rem; + height: 100vh; + } + + .bi { + vertical-align: -0.125em; + fill: currentColor; + } + + .nav-scroller { + position: relative; + z-index: 2; + height: 2.75rem; + overflow-y: hidden; + } + + .nav-scroller .nav { + display: flex; + flex-wrap: nowrap; + padding-bottom: 1rem; + margin-top: -1px; + overflow-x: auto; + text-align: center; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + } + + .btn-bd-primary { + --bd-violet-bg: #712cf9; + --bd-violet-rgb: 112.520718, 44.062154, 249.437846; + + --bs-btn-font-weight: 600; + --bs-btn-color: var(--bs-white); + --bs-btn-bg: var(--bd-violet-bg); + --bs-btn-border-color: var(--bd-violet-bg); + --bs-btn-hover-color: var(--bs-white); + --bs-btn-hover-bg: #6528e0; + --bs-btn-hover-border-color: #6528e0; + --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb); + --bs-btn-active-color: var(--bs-btn-hover-color); + --bs-btn-active-bg: #5a23c8; + --bs-btn-active-border-color: #5a23c8; + } + .bd-mode-toggle { + z-index: 1500; + } + - + + + + + + + + + + + + + + + + - - - Check - - - - -
    -
    -
    - - Bootstrap - Pricing example - - - + -
    -

    Pricing

    -

    Quickly build an effective pricing table for your potential customers with this Bootstrap example. It’s built with default Bootstrap components and utilities with little customization.

    -
    -
    - -
    -
    -
    -
    -
    -

    Free

    + + + Check + + + + +
    +
    + + +
    +

    Pricing

    +

    + Quickly build an effective pricing table for your potential + customers with this Bootstrap example. It’s built with default + Bootstrap components and utilities with little customization. +

    +
    +
    + +
    +
    +
    +
    +
    +

    Free

    +
    +
    +

    + $0/mo +

    +
      +
    • 10 users included
    • +
    • 2 GB of storage
    • +
    • Email support
    • +
    • Help center access
    • +
    + +
    +
    -
    -

    $0/mo

    -
      -
    • 10 users included
    • -
    • 2 GB of storage
    • -
    • Email support
    • -
    • Help center access
    • -
    - +
    +
    +
    +

    Pro

    +
    +
    +

    + $15/mo +

    +
      +
    • 20 users included
    • +
    • 10 GB of storage
    • +
    • Priority email support
    • +
    • Help center access
    • +
    + +
    +
    +
    +
    +
    +

    Enterprise

    +
    +
    +

    + $29/mo +

    +
      +
    • 30 users included
    • +
    • 15 GB of storage
    • +
    • Phone and email support
    • +
    • Help center access
    • +
    + +
    +
    +
    +
    + +

    Compare plans

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FreeProEnterprise
    Public + + + + + + + + + + + +
    Private + + + + + + + +
    Permissions + + + + + + + + + + + +
    Sharing + + + + + + + +
    Unlimited members + + + + + + + +
    Extra security + + + +
    -
    -
    -
    -
    -

    Pro

    +
    + +
    +
    +
    + + © 2017–2023
    -
    -

    $15/mo

    -
    -
    -
    -
    -
    -

    Enterprise

    +
    +
    Resources
    +
    -
    -

    $29/mo

    -
      -
    • 30 users included
    • -
    • 15 GB of storage
    • -
    • Phone and email support
    • -
    • Help center access
    • +
      +
      About
      + -
    -
    -
    - -

    Compare plans

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FreeProEnterprise
    Public
    Private
    Permissions
    Sharing
    Unlimited members
    Extra security
    +
    -
    - - -
    - - - - + diff --git a/examples/pricing/pricing.css b/examples/pricing/pricing.css index c7304d1..eb03cea 100644 --- a/examples/pricing/pricing.css +++ b/examples/pricing/pricing.css @@ -1,5 +1,5 @@ body { - background-image: linear-gradient(180deg, #eee, #fff 100px, #fff); + background-image: linear-gradient(180deg, var(--bs-body-secondary-bg), var(--bs-body-bg) 100px, var(--bs-body-bg)); } .container { diff --git a/examples/product/index.html b/examples/product/index.html index 091cb4b..8253773 100644 --- a/examples/product/index.html +++ b/examples/product/index.html @@ -1,32 +1,53 @@ - - + + + + + + + + + + + + Product example · Bootstrap v5.3 - - - - - - - - Product example · Bootstrap v5.1 + - - - - - - + - - - - - - - - + + + + + + + + .b-example-divider { + width: 100%; + height: 3rem; + background-color: rgba(0, 0, 0, 0.1); + border: solid rgba(0, 0, 0, 0.15); + border-width: 1px 0; + box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), + inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15); + } + + .b-example-vr { + flex-shrink: 0; + width: 1.5rem; + height: 100vh; + } + + .bi { + vertical-align: -0.125em; + fill: currentColor; + } + + .nav-scroller { + position: relative; + z-index: 2; + height: 2.75rem; + overflow-y: hidden; + } + + .nav-scroller .nav { + display: flex; + flex-wrap: nowrap; + padding-bottom: 1rem; + margin-top: -1px; + overflow-x: auto; + text-align: center; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + } + + .btn-bd-primary { + --bd-violet-bg: #712cf9; + --bd-violet-rgb: 112.520718, 44.062154, 249.437846; + + --bs-btn-font-weight: 600; + --bs-btn-color: var(--bs-white); + --bs-btn-bg: var(--bd-violet-bg); + --bs-btn-border-color: var(--bd-violet-bg); + --bs-btn-hover-color: var(--bs-white); + --bs-btn-hover-bg: #6528e0; + --bs-btn-hover-border-color: #6528e0; + --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb); + --bs-btn-active-color: var(--bs-btn-hover-color); + --bs-btn-active-bg: #5a23c8; + --bs-btn-active-border-color: #5a23c8; + } + .bd-mode-toggle { + z-index: 1500; + } + - + + + + + + + + + + + + + + + + - - -
    -
    -
    -

    Punny headline

    -

    And an even wittier subheading to boot. Jumpstart your marketing efforts with this example based on Apple’s marketing pages.

    - Coming soon -
    -
    -
    -
    - -
    -
    -
    -

    Another headline

    -

    And an even wittier subheading.

    -
    -
    -
    -
    -
    -

    Another headline

    -

    And an even wittier subheading.

    -
    -
    + -
    -
    -
    -
    -

    Another headline

    -

    And an even wittier subheading.

    -
    -
    -
    -
    -
    -

    Another headline

    -

    And an even wittier subheading.

    -
    -
    -
    -
    + -
    -
    -
    -

    Another headline

    -

    And an even wittier subheading.

    -
    -
    -
    -
    -
    -

    Another headline

    -

    And an even wittier subheading.

    +
    +
    +
    +

    Punny headline

    +

    + And an even wittier subheading to boot. Jumpstart your marketing + efforts with this example based on Apple’s marketing pages. +

    + Coming soon +
    +
    +
    -
    -
    -
    -
    -
    -
    -

    Another headline

    -

    And an even wittier subheading.

    +
    +
    +
    +

    Another headline

    +

    And an even wittier subheading.

    +
    +
    +
    +
    +
    +

    Another headline

    +

    And an even wittier subheading.

    +
    +
    +
    -
    -
    -
    -
    -

    Another headline

    -

    And an even wittier subheading.

    + +
    +
    +
    +

    Another headline

    +

    And an even wittier subheading.

    +
    +
    +
    +
    +
    +

    Another headline

    +

    And an even wittier subheading.

    +
    +
    +
    -
    -
    -
    -
    - - +
    +
    +
    +

    Another headline

    +

    And an even wittier subheading.

    +
    +
    +
    +
    +
    +

    Another headline

    +

    And an even wittier subheading.

    +
    +
    +
    +
    - +
    +
    +
    +

    Another headline

    +

    And an even wittier subheading.

    +
    +
    +
    +
    +
    +

    Another headline

    +

    And an even wittier subheading.

    +
    +
    +
    +
    + + + - + diff --git a/examples/sidebars/index.html b/examples/sidebars/index.html index b5a0c0a..221f392 100644 --- a/examples/sidebars/index.html +++ b/examples/sidebars/index.html @@ -1,32 +1,53 @@ - - + + + + + + + + + + + + Sidebars · Bootstrap v5.3 - - - - - - - - Sidebars · Bootstrap v5.1 + - - - - - - + - - - - - - - - + + + + + + + + .b-example-divider { + width: 100%; + height: 3rem; + background-color: rgba(0, 0, 0, 0.1); + border: solid rgba(0, 0, 0, 0.15); + border-width: 1px 0; + box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), + inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15); + } - - - - + .b-example-vr { + flex-shrink: 0; + width: 1.5rem; + height: 100vh; + } - - - Bootstrap - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + .bi { + vertical-align: -0.125em; + fill: currentColor; + } -
    -

    Sidebars examples

    + .nav-scroller { + position: relative; + z-index: 2; + height: 2.75rem; + overflow-y: hidden; + } - + .nav-scroller .nav { + display: flex; + flex-wrap: nowrap; + padding-bottom: 1rem; + margin-top: -1px; + overflow-x: auto; + text-align: center; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + } -
    + .btn-bd-primary { + --bd-violet-bg: #712cf9; + --bd-violet-rgb: 112.520718, 44.062154, 249.437846; - + --bs-btn-font-weight: 600; + --bs-btn-color: var(--bs-white); + --bs-btn-bg: var(--bd-violet-bg); + --bs-btn-border-color: var(--bd-violet-bg); + --bs-btn-hover-color: var(--bs-white); + --bs-btn-hover-bg: #6528e0; + --bs-btn-hover-border-color: #6528e0; + --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb); + --bs-btn-active-color: var(--bs-btn-hover-color); + --bs-btn-active-bg: #5a23c8; + --bs-btn-active-border-color: #5a23c8; + } + .bd-mode-toggle { + z-index: 1500; + } + -
    + + + + + + + + + + + + + + + + + + + -
    - - - Icon-only - - - -
    + + + Bootstrap + + + + + + + + + + + + + + + + + + + + - -
    +
    -
    - - - List group - -
    - -
    - List group item heading - Wed -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Tues -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Mon -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    +
    + + + + + Collapsible + + +
    - -
    - List group item heading - Wed -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Tues -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Mon -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Wed -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Tues -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Mon -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Wed -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Tues -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    - -
    - List group item heading - Mon -
    -
    Some placeholder content in a paragraph below the heading and date.
    -
    -
    -
    +
    -
    -
    + +
    + - + - + - + diff --git a/examples/sidebars/sidebars.css b/examples/sidebars/sidebars.css index 6949a37..f6a8f1c 100644 --- a/examples/sidebars/sidebars.css +++ b/examples/sidebars/sidebars.css @@ -8,8 +8,6 @@ html { } main { - display: flex; - flex-wrap: nowrap; height: 100vh; height: -webkit-fill-available; max-height: 100vh; @@ -17,41 +15,18 @@ main { overflow-y: hidden; } -.b-example-divider { - flex-shrink: 0; - width: 1.5rem; - height: 100vh; - background-color: rgba(0, 0, 0, .1); - border: solid rgba(0, 0, 0, .15); - border-width: 1px 0; - box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15); -} - -.bi { - vertical-align: -.125em; - pointer-events: none; - fill: currentColor; -} - .dropdown-toggle { outline: 0; } -.nav-flush .nav-link { - border-radius: 0; -} - .btn-toggle { - display: inline-flex; - align-items: center; padding: .25rem .5rem; font-weight: 600; - color: rgba(0, 0, 0, .65); + color: var(--bs-emphasis-color); background-color: transparent; - border: 0; } .btn-toggle:hover, .btn-toggle:focus { - color: rgba(0, 0, 0, .85); - background-color: #d2f4ea; + color: rgba(var(--bs-emphasis-color-rgb), .85); + background-color: var(--bs-tertiary-bg); } .btn-toggle::before { @@ -62,28 +37,27 @@ main { transform-origin: .5em 50%; } +[data-bs-theme="dark"] .btn-toggle::before { + content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e"); +} + .btn-toggle[aria-expanded="true"] { - color: rgba(0, 0, 0, .85); + color: rgba(var(--bs-emphasis-color-rgb), .85); } .btn-toggle[aria-expanded="true"]::before { transform: rotate(90deg); } .btn-toggle-nav a { - display: inline-flex; padding: .1875rem .5rem; margin-top: .125rem; margin-left: 1.25rem; - text-decoration: none; } .btn-toggle-nav a:hover, .btn-toggle-nav a:focus { - background-color: #d2f4ea; + background-color: var(--bs-tertiary-bg); } .scrollarea { overflow-y: auto; } - -.fw-semibold { font-weight: 600; } -.lh-tight { line-height: 1.25; } diff --git a/examples/sidebars/sidebars.js b/examples/sidebars/sidebars.js deleted file mode 100644 index 68384c1..0000000 --- a/examples/sidebars/sidebars.js +++ /dev/null @@ -1,8 +0,0 @@ -/* global bootstrap: false */ -(function () { - 'use strict' - var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) - tooltipTriggerList.forEach(function (tooltipTriggerEl) { - new bootstrap.Tooltip(tooltipTriggerEl) - }) -})() diff --git a/examples/sign-in/index.html b/examples/sign-in/index.html index 039065d..d81c3f8 100644 --- a/examples/sign-in/index.html +++ b/examples/sign-in/index.html @@ -1,32 +1,53 @@ - - + + + + + + + + + + + + Signin Template · Bootstrap v5.3 - - - - - - - - Signin Template · Bootstrap v5.1 + - - - - - - + - - - - - - - - + + + + + + + + .b-example-divider { + width: 100%; + height: 3rem; + background-color: rgba(0, 0, 0, 0.1); + border: solid rgba(0, 0, 0, 0.15); + border-width: 1px 0; + box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), + inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15); + } + + .b-example-vr { + flex-shrink: 0; + width: 1.5rem; + height: 100vh; + } + + .bi { + vertical-align: -0.125em; + fill: currentColor; + } + + .nav-scroller { + position: relative; + z-index: 2; + height: 2.75rem; + overflow-y: hidden; + } + + .nav-scroller .nav { + display: flex; + flex-wrap: nowrap; + padding-bottom: 1rem; + margin-top: -1px; + overflow-x: auto; + text-align: center; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + } + + .btn-bd-primary { + --bd-violet-bg: #712cf9; + --bd-violet-rgb: 112.520718, 44.062154, 249.437846; + + --bs-btn-font-weight: 600; + --bs-btn-color: var(--bs-white); + --bs-btn-bg: var(--bd-violet-bg); + --bs-btn-border-color: var(--bd-violet-bg); + --bs-btn-hover-color: var(--bs-white); + --bs-btn-hover-bg: #6528e0; + --bs-btn-hover-border-color: #6528e0; + --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb); + --bs-btn-active-color: var(--bs-btn-hover-color); + --bs-btn-active-bg: #5a23c8; + --bs-btn-active-border-color: #5a23c8; + } + .bd-mode-toggle { + z-index: 1500; + } + - + + + + + + + + + + + + + + + + -
    -
    - -

    Please sign in

    - -
    - - -
    -
    - - -
    - -
    - + - -

    © 2017–2021

    - -
    +
    +
    + +

    Please sign in

    +
    + + +
    +
    + + +
    +
    + +
    + +

    © 2017–2023

    +
    +
    - + diff --git a/examples/sign-in/signin.css b/examples/sign-in/sign-in.css similarity index 86% rename from examples/sign-in/signin.css rename to examples/sign-in/sign-in.css index 4732d1f..89deea4 100644 --- a/examples/sign-in/signin.css +++ b/examples/sign-in/sign-in.css @@ -12,14 +12,8 @@ body { } .form-signin { - width: 100%; max-width: 330px; padding: 15px; - margin: auto; -} - -.form-signin .checkbox { - font-weight: 400; } .form-signin .form-floating:focus-within { diff --git a/examples/starter-template/index.html b/examples/starter-template/index.html index 808c73f..dfe5ddb 100644 --- a/examples/starter-template/index.html +++ b/examples/starter-template/index.html @@ -1,32 +1,53 @@ - - + + + + + + + + + + + + Starter Template · Bootstrap v5.3 - - - - - - - - Starter Template · Bootstrap v5.1 + - - - - - - + - - - - - - - - + + + + + + + + .b-example-divider { + width: 100%; + height: 3rem; + background-color: rgba(0, 0, 0, 0.1); + border: solid rgba(0, 0, 0, 0.15); + border-width: 1px 0; + box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), + inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15); + } + + .b-example-vr { + flex-shrink: 0; + width: 1.5rem; + height: 100vh; + } + + .bi { + vertical-align: -0.125em; + fill: currentColor; + } + + .nav-scroller { + position: relative; + z-index: 2; + height: 2.75rem; + overflow-y: hidden; + } + + .nav-scroller .nav { + display: flex; + flex-wrap: nowrap; + padding-bottom: 1rem; + margin-top: -1px; + overflow-x: auto; + text-align: center; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + } + + .btn-bd-primary { + --bd-violet-bg: #712cf9; + --bd-violet-rgb: 112.520718, 44.062154, 249.437846; - - + --bs-btn-font-weight: 600; + --bs-btn-color: var(--bs-white); + --bs-btn-bg: var(--bd-violet-bg); + --bs-btn-border-color: var(--bd-violet-bg); + --bs-btn-hover-color: var(--bs-white); + --bs-btn-hover-bg: #6528e0; + --bs-btn-hover-border-color: #6528e0; + --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb); + --bs-btn-active-color: var(--bs-btn-hover-color); + --bs-btn-active-bg: #5a23c8; + --bs-btn-active-border-color: #5a23c8; + } + .bd-mode-toggle { + z-index: 1500; + } + + + + + + + + + + + + + + + + -
    -
    - - Bootstrap - Starter template - -
    + -
    -

    Get started with Bootstrap

    -

    Quickly and easily get started with Bootstrap's compiled, production-ready files with this barebones example featuring some basic HTML and helpful links. Download all our examples to get started.

    + + + + + + Bootstrap + + + - +
    +
    + + + + + Starter template + +
    -
    - -
    -
    -

    Starter projects

    -

    Ready to beyond the starter template? Check out these open source projects that you can quickly duplicate to a new GitHub repository.

    - -
    - -
    -

    Guides

    -

    Read more detailed instructions and documentation on using or contributing to Bootstrap.

    - -
    -
    -
    -
    - Created by the Bootstrap team · © 2021 -
    -
    +
    +

    Get started with Bootstrap

    +

    + Quickly and easily get started with Bootstrap's compiled, + production-ready files with this barebones example featuring some + basic HTML and helpful links. Download all our examples to get + started. +

    + - +
    +
    +
    +

    Starter projects

    +

    + Ready to beyond the starter template? Check out these open source + projects that you can quickly duplicate to a new GitHub + repository. +

    + +
    - +
    +

    Guides

    +

    + Read more detailed instructions and documentation on using or + contributing to Bootstrap. +

    + +
    +
    +
    +
    + Created by the Bootstrap team · © 2023 +
    + + + + diff --git a/examples/starter-template/starter-template.css b/examples/starter-template/starter-template.css deleted file mode 100644 index d03436d..0000000 --- a/examples/starter-template/starter-template.css +++ /dev/null @@ -1,18 +0,0 @@ -.icon-list { - padding-left: 0; - list-style: none; -} -.icon-list li { - display: flex; - align-items: flex-start; - margin-bottom: .25rem; -} -.icon-list li::before { - display: block; - flex-shrink: 0; - width: 1.5em; - height: 1.5em; - margin-right: .5rem; - content: ""; - background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23212529' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z'/%3E%3C/svg%3E") no-repeat center center / 100% auto; -} diff --git a/examples/sticky-footer-navbar/index.html b/examples/sticky-footer-navbar/index.html index d6b1020..dd7d41e 100644 --- a/examples/sticky-footer-navbar/index.html +++ b/examples/sticky-footer-navbar/index.html @@ -1,32 +1,53 @@ - - + + + + + + + + + + + + Sticky Footer Navbar Template · Bootstrap v5.3 - - - - - - - - Sticky Footer Navbar Template · Bootstrap v5.1 + - - - - - - + - - - - - - - - + + + + + + + + .b-example-divider { + width: 100%; + height: 3rem; + background-color: rgba(0, 0, 0, 0.1); + border: solid rgba(0, 0, 0, 0.15); + border-width: 1px 0; + box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), + inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15); + } + + .b-example-vr { + flex-shrink: 0; + width: 1.5rem; + height: 100vh; + } + + .bi { + vertical-align: -0.125em; + fill: currentColor; + } + + .nav-scroller { + position: relative; + z-index: 2; + height: 2.75rem; + overflow-y: hidden; + } + + .nav-scroller .nav { + display: flex; + flex-wrap: nowrap; + padding-bottom: 1rem; + margin-top: -1px; + overflow-x: auto; + text-align: center; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + } + + .btn-bd-primary { + --bd-violet-bg: #712cf9; + --bd-violet-rgb: 112.520718, 44.062154, 249.437846; + + --bs-btn-font-weight: 600; + --bs-btn-color: var(--bs-white); + --bs-btn-bg: var(--bd-violet-bg); + --bs-btn-border-color: var(--bd-violet-bg); + --bs-btn-hover-color: var(--bs-white); + --bs-btn-hover-bg: #6528e0; + --bs-btn-hover-border-color: #6528e0; + --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb); + --bs-btn-active-color: var(--bs-btn-hover-color); + --bs-btn-active-bg: #5a23c8; + --bs-btn-active-border-color: #5a23c8; + } + .bd-mode-toggle { + z-index: 1500; + } + - + + + + + + + + + + + + + + + + -
    - - -
    - - -
    -
    -

    Sticky footer with fixed navbar

    -

    Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with padding-top: 60px; on the main > .container.

    -

    Back to the default sticky footer minus the navbar.

    -
    -
    - -
    -
    - Place sticky footer content here. -
    -
    +
    + + +
    - + +
    +
    +

    Sticky footer with fixed navbar

    +

    + Pin a footer to the bottom of the viewport in desktop browsers with + this custom HTML and CSS. A fixed navbar has been added with + padding-top: 60px; on the + main > .container. +

    +

    + Back to + the default sticky footer + minus the navbar. +

    +
    +
    +
    +
    + Place sticky footer content here. +
    +
    + - + diff --git a/examples/sticky-footer/index.html b/examples/sticky-footer/index.html index 2958c16..0767992 100644 --- a/examples/sticky-footer/index.html +++ b/examples/sticky-footer/index.html @@ -1,32 +1,53 @@ - - - - - - - - - - - - Sticky Footer Template · Bootstrap v5.1 - - - - - - - + + + + + + + + + + + + + Sticky Footer Template · Bootstrap v5.3 + + + + - - - - - - - - + + + + + + + + .b-example-divider { + width: 100%; + height: 3rem; + background-color: rgba(0, 0, 0, 0.1); + border: solid rgba(0, 0, 0, 0.15); + border-width: 1px 0; + box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), + inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15); + } - - - - + .b-example-vr { + flex-shrink: 0; + width: 1.5rem; + height: 100vh; + } - -
    -
    -

    Sticky footer

    -

    Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.

    -

    Use the sticky footer with a fixed navbar if need be, too.

    -
    -
    + .bi { + vertical-align: -0.125em; + fill: currentColor; + } -
    -
    - Place sticky footer content here. -
    -
    + .nav-scroller { + position: relative; + z-index: 2; + height: 2.75rem; + overflow-y: hidden; + } + .nav-scroller .nav { + display: flex; + flex-wrap: nowrap; + padding-bottom: 1rem; + margin-top: -1px; + overflow-x: auto; + text-align: center; + white-space: nowrap; + -webkit-overflow-scrolling: touch; + } + .btn-bd-primary { + --bd-violet-bg: #712cf9; + --bd-violet-rgb: 112.520718, 44.062154, 249.437846; + + --bs-btn-font-weight: 600; + --bs-btn-color: var(--bs-white); + --bs-btn-bg: var(--bd-violet-bg); + --bs-btn-border-color: var(--bd-violet-bg); + --bs-btn-hover-color: var(--bs-white); + --bs-btn-hover-bg: #6528e0; + --bs-btn-hover-border-color: #6528e0; + --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb); + --bs-btn-active-color: var(--bs-btn-hover-color); + --bs-btn-active-bg: #5a23c8; + --bs-btn-active-border-color: #5a23c8; + } + .bd-mode-toggle { + z-index: 1500; + } + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +

    Sticky footer

    +

    + Pin a footer to the bottom of the viewport in desktop browsers with + this custom HTML and CSS. +

    +

    + Use + the sticky footer with a fixed navbar + if need be, too. +

    +
    +
    + +
    +
    + Place sticky footer content here. +
    +
    - + diff --git a/extend/approach/index.html b/extend/approach/index.html index e92f34e..82b70f2 100644 --- a/extend/approach/index.html +++ b/extend/approach/index.html @@ -1,491 +1,2150 @@ - - + + + + + + + + + + + + - - - - - - - + Approach · Bootstrap v5.3 - - + -Approach · Bootstrap v5.1 + - + + + + + + + + + + + - - + + + + + + - + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + -
    - + + + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    + +

    Approach

    +
    +

    + Learn about the guiding principles, strategies, and techniques used + to build and maintain Bootstrap so you can more easily customize and + extend it yourself. +

    +
    + +
    +

    + While the getting started pages provide an introductory tour of the + project and what it offers, this document focuses on why we + do the things we do in Bootstrap. It explains our philosophy to + building on the web so that others can learn from us, contribute + with us, and help us improve. +

    +

    + See something that doesn’t sound right, or perhaps could be + done better? + Open an issue—we’d love to discuss it with you. +

    +

    + Summary + +

    +

    + We’ll dive into each of these more throughout, but at a high + level, here’s what guides our approach. +

    +
      +
    • Components should be responsive and mobile-first
    • +
    • + Components should be built with a base class and extended via + modifier classes +
    • +
    • Component states should obey a common z-index scale
    • +
    • + Whenever possible, prefer an HTML and CSS implementation over + JavaScript +
    • +
    • Whenever possible, use utilities over custom styles
    • +
    • + Whenever possible, avoid enforcing strict HTML requirements + (children selectors) +
    • +
    +

    + Responsive + +

    +

    + Bootstrap’s responsive styles are built to be responsive, an + approach that’s often referred to as mobile-first. We + use this term in our docs and largely agree with it, but at times it + can be too broad. While not every component must be + entirely responsive in Bootstrap, this responsive approach is about + reducing CSS overrides by pushing you to add styles as the viewport + becomes larger. +

    +

    + Across Bootstrap, you’ll see this most clearly in our media + queries. In most cases, we use min-width queries that + begin to apply at a specific breakpoint and carry up through the + higher breakpoints. For example, a .d-none applies from + min-width: 0 to infinity. On the other hand, a + .d-md-none applies from the medium breakpoint and up. +

    +

    + At times we’ll use max-width when a + component’s inherent complexity requires it. At times, these + overrides are functionally and mentally clearer to implement and + support than rewriting core functionality from our components. We + strive to limit this approach, but will use it from time to time. +

    +

    + Classes + +

    +

    + Aside from our Reboot, a cross-browser normalization stylesheet, all + our styles aim to use classes as selectors. This means steering + clear of type selectors (e.g., + input[type="text"]) and extraneous parent + classes (e.g., .parent .child) that make styles too + specific to easily override. +

    +

    + As such, components should be built with a base class that houses + common, not-to-be overridden property-value pairs. For example, + .btn and .btn-primary. We use + .btn for all the common styles like + display, padding, and + border-width. We then use modifiers like + .btn-primary to add the color, background-color, + border-color, etc. +

    +

    + Modifier classes should only be used when there are multiple + properties or values to be changed across multiple variants. + Modifiers are not always necessary, so be sure you’re actually + saving lines of code and preventing unnecessary overrides when + creating them. Good examples of modifiers are our theme color + classes and size variants. +

    +

    + z-index scales + +

    +

    + There are two z-index scales in Bootstrap—elements + within a component and overlay components. +

    +

    + Component elements + +

    +
      +
    • + Some components in Bootstrap are built with overlapping elements + to prevent double borders without modifying the + border property. For example, button groups, input + groups, and pagination. +
    • +
    • + These components share a standard z-index scale of + 0 through 3. +
    • +
    • + 0 is default (initial), 1 is + :hover, 2 is + :active/.active, and 3 is + :focus. +
    • +
    • + This approach matches our expectations of highest user priority. + If an element is focused, it’s in view and at the + user’s attention. Active elements are second highest because + they indicate state. Hover is third highest because it indicates + user intent, but nearly anything can be hovered. +
    • +
    +

    + Overlay components + +

    +

    + Bootstrap includes several components that function as an overlay of + some kind. This includes, in order of highest z-index, + dropdowns, fixed and sticky navbars, modals, tooltips, and popovers. + These components have their own z-index scale that + begins at 1000. This starting number was chosen + arbitrarily and serves as a small buffer between our styles and your + project’s custom styles. +

    +

    + Each overlay component increases its z-index value + slightly in such a way that common UI principles allow user focused + or hovered elements to remain in view at all times. For example, a + modal is document blocking (e.g., you cannot take any other action + save for the modal’s action), so we put that above our + navbars. +

    +

    + Learn more about this in our + z-index layout page. +

    +

    + HTML and CSS over JS + +

    +

    + Whenever possible, we prefer to write HTML and CSS over JavaScript. + In general, HTML and CSS are more prolific and accessible to more + people of all different experience levels. HTML and CSS are also + faster in your browser than JavaScript, and your browser generally + provides a great deal of functionality for you. +

    +

    + This principle is our first-class JavaScript API using + data attributes. You don’t need to write nearly + any JavaScript to use our JavaScript plugins; instead, write HTML. + Read more about this in + our JavaScript overview page. +

    +

    + Lastly, our styles build on the fundamental behaviors of common web + elements. Whenever possible, we prefer to use what the browser + provides. For example, you can put a .btn class on + nearly any element, but most elements don’t provide any + semantic value or browser functionality. So instead, we use + <button>s and <a>s. +

    +

    + The same goes for more complex components. While we + could write our own form validation plugin to add classes + to a parent element based on an input’s state, thereby + allowing us to style the text say red, we prefer using the + :valid/:invalid pseudo-elements every + browser provides us. +

    +

    + Utilities + +

    +

    + Utility classes—formerly helpers in Bootstrap 3—are a powerful ally + in combating CSS bloat and poor page performance. A utility class is + typically a single, immutable property-value pairing expressed as a + class (e.g., .d-block represents + display: block;). Their primary appeal is speed of use + while writing HTML and limiting the amount of custom CSS you have to + write. +

    +

    + Specifically regarding custom CSS, utilities can help combat + increasing file size by reducing your most commonly repeated + property-value pairs into single classes. This can have a dramatic + effect at scale in your projects. +

    +

    + Flexible HTML + +

    +

    + While not always possible, we strive to avoid being overly dogmatic + in our HTML requirements for components. Thus, we focus on single + classes in our CSS selectors and try to avoid immediate children + selectors (>). This gives you more flexibility in + your implementation and helps keep our CSS simpler and less + specific. +

    +

    + Code conventions + +

    +

    + Code Guide (from Bootstrap + co-creator, @mdo) documents how we write our HTML and CSS across + Bootstrap. It specifies guidelines for general formatting, common + sense defaults, property and attribute orders, and more. +

    +

    + We use Stylelint to enforce + these standards and more in our Sass/CSS. + Our custom Stylelint config + is open source and available for others to use and extend. +

    +

    + We use + vnu-jar to + enforce standard and semantic HTML, as well as detecting common + errors. +

    +
    +
    - - - + + - + + - + + + + + + diff --git a/extend/icons/index.html b/extend/icons/index.html index ac7f36c..41ba12d 100644 --- a/extend/icons/index.html +++ b/extend/icons/index.html @@ -1,472 +1,1945 @@ - - - - - - - - - - - - - - - -Icons · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Icons · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Icons

    +
    +

    + Guidance and suggestions for using external icon libraries with + Bootstrap. +

    - -
  • - - - -
  • -
  • - - -
    -
      -
    • Approach
    • -
    • Icons
    • + +
      +

      + While Bootstrap doesn’t include an icon set by default, we do + have our own comprehensive icon library called Bootstrap Icons. Feel + free to use them or any other icon set in your project. We’ve + included details for Bootstrap Icons and other preferred icon sets + below. +

      +

      + While most icon sets include multiple file formats, we prefer SVG + implementations for their improved accessibility and vector support. +

      +

      + Bootstrap Icons + +

      +

      + Bootstrap Icons is a growing library of SVG icons that are designed + by @mdo and maintained by + the Bootstrap Team. The beginnings of this icon set come from Bootstrap’s very + own components—our forms, carousels, and more. Bootstrap has very + few icon needs out of the box, so we didn’t need much. + However, once we got going, we couldn’t stop making more. +

      +

      + Oh, and did we mention they’re completely open source? + Licensed under MIT, just like Bootstrap, our icon set is available + to everyone. +

      +

      + Learn more about Bootstrap Icons, including how to install them and recommended usage. +

      +

      + Alternatives + +

      +

      + We’ve tested and used these icon sets ourselves as preferred + alternatives to Bootstrap Icons. +

      + -
      - -
    • - - -
      -
      -
    • -
    • -
    • - - Migration - -
    • -
    - - - +
  • +
    -
    -
    -
    - View on GitHub -

    Icons

    + + + + + + + + + + + + -
    - - - - - - - - - - - - - + diff --git a/forms/checks-radios/index.html b/forms/checks-radios/index.html index 0e1294f..d401ca2 100644 --- a/forms/checks-radios/index.html +++ b/forms/checks-radios/index.html @@ -1,880 +1,3532 @@ - - - - - - - - - - - - - - - -Checks and radios · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Checks and radios · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Checks and radios

    +
    +

    + Create consistent cross-browser and cross-device checkboxes and + radios with our completely rewritten checks component. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Checks and radios

    +
    + + On this page +
    +
    -

    Create consistent cross-browser and cross-device checkboxes and radios with our completely rewritten checks component.

    - -
    - - -
    - On this page - +
    +

    + Approach + +

    +

    + Browser default checkboxes and radios are replaced with the help of + .form-check, a series of classes for both input types + that improves the layout and behavior of their HTML elements, that + provide greater customization and cross browser consistency. + Checkboxes are for selecting one or several options in a list, while + radios are for selecting one option from many. +

    +

    + Structurally, our <input>s and + <label>s are sibling elements as opposed to an + <input> within a <label>. This + is slightly more verbose as you must specify id and + for attributes to relate the + <input> and <label>. We use + the sibling selector (~) for all our + <input> states, like :checked or + :disabled. When combined with the + .form-check-label class, we can easily style the text + for each item based on the <input>’s state. +

    +

    + Our checks use custom Bootstrap icons to indicate checked or + indeterminate states. +

    +

    + Checks + +

    +
    +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check">
    +  <input class="form-check-input" type="checkbox" value="" id="flexCheckDefault">
    +  <label class="form-check-label" for="flexCheckDefault">
    +    Default checkbox
    +  </label>
    +</div>
    +<div class="form-check">
    +  <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked>
    +  <label class="form-check-label" for="flexCheckChecked">
    +    Checked checkbox
    +  </label>
    +</div>
    +
    +
    + +

    + Indeterminate + +

    +

    + Checkboxes can utilize the :indeterminate pseudo class + when manually set via JavaScript (there is no available HTML + attribute for specifying it). +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check">
    +  <input class="form-check-input" type="checkbox" value="" id="flexCheckIndeterminate">
    +  <label class="form-check-label" for="flexCheckIndeterminate">
    +    Indeterminate checkbox
    +  </label>
    +</div>
    +
    +
    + +

    + Disabled + +

    +

    + Add the disabled attribute and the associated + <label>s are automatically styled to match with a + lighter color to help indicate the input’s state. +

    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check">
    +  <input class="form-check-input" type="checkbox" value="" id="flexCheckIndeterminateDisabled" disabled>
    +  <label class="form-check-label" for="flexCheckIndeterminateDisabled">
    +    Disabled indeterminate checkbox
    +  </label>
    +</div>
    +<div class="form-check">
    +  <input class="form-check-input" type="checkbox" value="" id="flexCheckDisabled" disabled>
    +  <label class="form-check-label" for="flexCheckDisabled">
    +    Disabled checkbox
    +  </label>
    +</div>
    +<div class="form-check">
    +  <input class="form-check-input" type="checkbox" value="" id="flexCheckCheckedDisabled" checked disabled>
    +  <label class="form-check-label" for="flexCheckCheckedDisabled">
    +    Disabled checked checkbox
    +  </label>
    +</div>
    +
    +
    + +

    + Radios + +

    +
    +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check">
    +  <input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault1">
    +  <label class="form-check-label" for="flexRadioDefault1">
    +    Default radio
    +  </label>
    +</div>
    +<div class="form-check">
    +  <input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault2" checked>
    +  <label class="form-check-label" for="flexRadioDefault2">
    +    Default checked radio
    +  </label>
    +</div>
    +
    +
    + +

    + Disabled + +

    +

    + Add the disabled attribute and the associated + <label>s are automatically styled to match with a + lighter color to help indicate the input’s state. +

    +
    +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check">
    +  <input class="form-check-input" type="radio" name="flexRadioDisabled" id="flexRadioDisabled" disabled>
    +  <label class="form-check-label" for="flexRadioDisabled">
    +    Disabled radio
    +  </label>
    +</div>
    +<div class="form-check">
    +  <input class="form-check-input" type="radio" name="flexRadioDisabled" id="flexRadioCheckedDisabled" checked disabled>
    +  <label class="form-check-label" for="flexRadioCheckedDisabled">
    +    Disabled checked radio
    +  </label>
    +</div>
    +
    +
    + +

    + Switches + +

    +

    + A switch has the markup of a custom checkbox but uses the + .form-switch class to render a toggle switch. Consider + using role="switch" to more accurately convey + the nature of the control to assistive technologies that support + this role. In older assistive technologies, it will simply be + announced as a regular checkbox as a fallback. Switches also support + the disabled attribute. +

    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check form-switch">
    +  <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckDefault">
    +  <label class="form-check-label" for="flexSwitchCheckDefault">Default switch checkbox input</label>
    +</div>
    +<div class="form-check form-switch">
    +  <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckChecked" checked>
    +  <label class="form-check-label" for="flexSwitchCheckChecked">Checked switch checkbox input</label>
    +</div>
    +<div class="form-check form-switch">
    +  <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckDisabled" disabled>
    +  <label class="form-check-label" for="flexSwitchCheckDisabled">Disabled switch checkbox input</label>
    +</div>
    +<div class="form-check form-switch">
    +  <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckCheckedDisabled" checked disabled>
    +  <label class="form-check-label" for="flexSwitchCheckCheckedDisabled">Disabled checked switch checkbox input</label>
    +</div>
    +
    +
    + +

    + Default (stacked) + +

    +

    + By default, any number of checkboxes and radios that are immediate + sibling will be vertically stacked and appropriately spaced with + .form-check. +

    +
    +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check">
    +  <input class="form-check-input" type="checkbox" value="" id="defaultCheck1">
    +  <label class="form-check-label" for="defaultCheck1">
    +    Default checkbox
    +  </label>
    +</div>
    +<div class="form-check">
    +  <input class="form-check-input" type="checkbox" value="" id="defaultCheck2" disabled>
    +  <label class="form-check-label" for="defaultCheck2">
    +    Disabled checkbox
    +  </label>
    +</div>
    +
    +
    + +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check">
    +  <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios1" value="option1" checked>
    +  <label class="form-check-label" for="exampleRadios1">
    +    Default radio
    +  </label>
    +</div>
    +<div class="form-check">
    +  <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios2" value="option2">
    +  <label class="form-check-label" for="exampleRadios2">
    +    Second default radio
    +  </label>
    +</div>
    +<div class="form-check">
    +  <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios3" value="option3" disabled>
    +  <label class="form-check-label" for="exampleRadios3">
    +    Disabled radio
    +  </label>
    +</div>
    +
    +
    + +

    + Inline + +

    +

    + Group checkboxes or radios on the same horizontal row by adding + .form-check-inline to any .form-check. +

    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check form-check-inline">
    +  <input class="form-check-input" type="checkbox" id="inlineCheckbox1" value="option1">
    +  <label class="form-check-label" for="inlineCheckbox1">1</label>
    +</div>
    +<div class="form-check form-check-inline">
    +  <input class="form-check-input" type="checkbox" id="inlineCheckbox2" value="option2">
    +  <label class="form-check-label" for="inlineCheckbox2">2</label>
    +</div>
    +<div class="form-check form-check-inline">
    +  <input class="form-check-input" type="checkbox" id="inlineCheckbox3" value="option3" disabled>
    +  <label class="form-check-label" for="inlineCheckbox3">3 (disabled)</label>
    +</div>
    +
    +
    + +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check form-check-inline">
    +  <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1">
    +  <label class="form-check-label" for="inlineRadio1">1</label>
    +</div>
    +<div class="form-check form-check-inline">
    +  <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2">
    +  <label class="form-check-label" for="inlineRadio2">2</label>
    +</div>
    +<div class="form-check form-check-inline">
    +  <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3" disabled>
    +  <label class="form-check-label" for="inlineRadio3">3 (disabled)</label>
    +</div>
    +
    +
    + +

    + Reverse + +

    +

    + Put your checkboxes, radios, and switches on the opposite side with + the .form-check-reverse modifier class. +

    +
    +
    +
    + + +
    +
    + + +
    + +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-check form-check-reverse">
    +  <input class="form-check-input" type="checkbox" value="" id="reverseCheck1">
    +  <label class="form-check-label" for="reverseCheck1">
    +    Reverse checkbox
    +  </label>
    +</div>
    +<div class="form-check form-check-reverse">
    +  <input class="form-check-input" type="checkbox" value="" id="reverseCheck2" disabled>
    +  <label class="form-check-label" for="reverseCheck2">
    +    Disabled reverse checkbox
    +  </label>
    +</div>
    +
    +<div class="form-check form-switch form-check-reverse">
    +  <input class="form-check-input" type="checkbox" id="flexSwitchCheckReverse">
    +  <label class="form-check-label" for="flexSwitchCheckReverse">Reverse switch checkbox input</label>
    +</div>
    +
    +
    + +

    + Without labels + +

    +

    + Omit the wrapping .form-check for checkboxes and radios + that have no label text. Remember to still provide some form of + accessible name for assistive technologies (for instance, using + aria-label). See the + forms overview accessibility + section for details. +

    +
    +
    +
    + +
    + +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div>
    +  <input class="form-check-input" type="checkbox" id="checkboxNoLabel" value="" aria-label="...">
    +</div>
    +
    +<div>
    +  <input class="form-check-input" type="radio" name="radioNoLabel" id="radioNoLabel1" value="" aria-label="...">
    +</div>
    +
    +
    + +

    + Toggle buttons + +

    +

    + Create button-like checkboxes and radio buttons by using + .btn styles rather than + .form-check-label on the + <label> elements. These toggle buttons can + further be grouped in a + button group + if needed. +

    +

    + Checkbox toggle buttons + +

    +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <input type="checkbox" class="btn-check" id="btn-check" autocomplete="off">
    +<label class="btn btn-primary" for="btn-check">Single toggle</label>
    +
    +
    + +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <input type="checkbox" class="btn-check" id="btn-check-2" checked autocomplete="off">
    +<label class="btn btn-primary" for="btn-check-2">Checked</label>
    +
    +
    + +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <input type="checkbox" class="btn-check" id="btn-check-3" autocomplete="off" disabled>
    +<label class="btn btn-primary" for="btn-check-3">Disabled</label>
    +
    +
    + +
    + Visually, these checkbox toggle buttons are identical to the + button plugin toggle buttons. However, they are conveyed differently by assistive technologies: + the checkbox toggles will be announced by screen readers as + “checked”/“not checked” (since, despite + their appearance, they are fundamentally still checkboxes), whereas + the button plugin toggle buttons will be announced as + “button”/“button pressed”. The choice + between these two approaches will depend on the type of toggle you + are creating, and whether or not the toggle will make sense to users + when announced as a checkbox or as an actual button. +
    + +

    + Radio toggle buttons + +

    +
    +
    + + + + + + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <input type="radio" class="btn-check" name="options" id="option1" autocomplete="off" checked>
    +<label class="btn btn-secondary" for="option1">Checked</label>
    +
    +<input type="radio" class="btn-check" name="options" id="option2" autocomplete="off">
    +<label class="btn btn-secondary" for="option2">Radio</label>
    +
    +<input type="radio" class="btn-check" name="options" id="option3" autocomplete="off" disabled>
    +<label class="btn btn-secondary" for="option3">Disabled</label>
    +
    +<input type="radio" class="btn-check" name="options" id="option4" autocomplete="off">
    +<label class="btn btn-secondary" for="option4">Radio</label>
    +
    +
    + +

    + Outlined styles + +

    +

    + Different variants of .btn, such at the various + outlined styles, are supported. +

    +
    +
    + +
    + + +
    + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <input type="checkbox" class="btn-check" id="btn-check-outlined" autocomplete="off">
    +<label class="btn btn-outline-primary" for="btn-check-outlined">Single toggle</label><br>
    +
    +<input type="checkbox" class="btn-check" id="btn-check-2-outlined" checked autocomplete="off">
    +<label class="btn btn-outline-secondary" for="btn-check-2-outlined">Checked</label><br>
    +
    +<input type="radio" class="btn-check" name="options-outlined" id="success-outlined" autocomplete="off" checked>
    +<label class="btn btn-outline-success" for="success-outlined">Checked success radio</label>
    +
    +<input type="radio" class="btn-check" name="options-outlined" id="danger-outlined" autocomplete="off">
    +<label class="btn btn-outline-danger" for="danger-outlined">Danger radio</label>
    +
    +
    + +

    + CSS + +

    +

    + Sass variables + +

    +

    Variables for checks:

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-check-input-width:                  1em;
    +$form-check-min-height:                   $font-size-base * $line-height-base;
    +$form-check-padding-start:                $form-check-input-width + .5em;
    +$form-check-margin-bottom:                .125rem;
    +$form-check-label-color:                  null;
    +$form-check-label-cursor:                 null;
    +$form-check-transition:                   null;
    +
    +$form-check-input-active-filter:          brightness(90%);
    +
    +$form-check-input-bg:                     $input-bg;
    +$form-check-input-border:                 var(--#{$prefix}border-width) solid var(--#{$prefix}border-color);
    +$form-check-input-border-radius:          .25em;
    +$form-check-radio-border-radius:          50%;
    +$form-check-input-focus-border:           $input-focus-border-color;
    +$form-check-input-focus-box-shadow:       $focus-ring-box-shadow;
    +
    +$form-check-input-checked-color:          $component-active-color;
    +$form-check-input-checked-bg-color:       $component-active-bg;
    +$form-check-input-checked-border-color:   $form-check-input-checked-bg-color;
    +$form-check-input-checked-bg-image:       url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>");
    +$form-check-radio-checked-bg-image:       url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>");
    +
    +$form-check-input-indeterminate-color:          $component-active-color;
    +$form-check-input-indeterminate-bg-color:       $component-active-bg;
    +$form-check-input-indeterminate-border-color:   $form-check-input-indeterminate-bg-color;
    +$form-check-input-indeterminate-bg-image:       url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>");
    +
    +$form-check-input-disabled-opacity:        .5;
    +$form-check-label-disabled-opacity:        $form-check-input-disabled-opacity;
    +$form-check-btn-check-disabled-opacity:    $btn-disabled-opacity;
    +
    +$form-check-inline-margin-end:    1rem;
    +
    +
    +
    +

    Variables for switches:

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-switch-color:               rgba($black, .25);
    +$form-switch-width:               2em;
    +$form-switch-padding-start:       $form-switch-width + .5em;
    +$form-switch-bg-image:            url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>");
    +$form-switch-border-radius:       $form-switch-width;
    +$form-switch-transition:          background-position .15s ease-in-out;
    +
    +$form-switch-focus-color:         $input-focus-border-color;
    +$form-switch-focus-bg-image:      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>");
    +
    +$form-switch-checked-color:       $component-active-color;
    +$form-switch-checked-bg-image:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>");
    +$form-switch-checked-bg-position: right center;
    +
    +
    +
    +
    +
    - -
    - - -

    Approach

    -

    Browser default checkboxes and radios are replaced with the help of .form-check, a series of classes for both input types that improves the layout and behavior of their HTML elements, that provide greater customization and cross browser consistency. Checkboxes are for selecting one or several options in a list, while radios are for selecting one option from many.

    -

    Structurally, our <input>s and <label>s are sibling elements as opposed to an <input> within a <label>. This is slightly more verbose as you must specify id and for attributes to relate the <input> and <label>. We use the sibling selector (~) for all our <input> states, like :checked or :disabled. When combined with the .form-check-label class, we can easily style the text for each item based on the <input>’s state.

    -

    Our checks use custom Bootstrap icons to indicate checked or indeterminate states.

    -

    Checks

    -
    -
    - - -
    -
    - - -
    -
    <div class="form-check">
    -  <input class="form-check-input" type="checkbox" value="" id="flexCheckDefault">
    -  <label class="form-check-label" for="flexCheckDefault">
    -    Default checkbox
    -  </label>
    -</div>
    -<div class="form-check">
    -  <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked>
    -  <label class="form-check-label" for="flexCheckChecked">
    -    Checked checkbox
    -  </label>
    -</div>
    -

    Indeterminate

    -

    Checkboxes can utilize the :indeterminate pseudo class when manually set via JavaScript (there is no available HTML attribute for specifying it).

    -
    -
    - - -
    -
    <div class="form-check">
    -  <input class="form-check-input" type="checkbox" value="" id="flexCheckIndeterminate">
    -  <label class="form-check-label" for="flexCheckIndeterminate">
    -    Indeterminate checkbox
    -  </label>
    -</div>
    -

    Disabled

    -

    Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input’s state.

    -
    -
    - - -
    -
    - - -
    -
    <div class="form-check">
    -  <input class="form-check-input" type="checkbox" value="" id="flexCheckDisabled" disabled>
    -  <label class="form-check-label" for="flexCheckDisabled">
    -    Disabled checkbox
    -  </label>
    -</div>
    -<div class="form-check">
    -  <input class="form-check-input" type="checkbox" value="" id="flexCheckCheckedDisabled" checked disabled>
    -  <label class="form-check-label" for="flexCheckCheckedDisabled">
    -    Disabled checked checkbox
    -  </label>
    -</div>
    -

    Radios

    -
    -
    - - -
    -
    - - -
    -
    <div class="form-check">
    -  <input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault1">
    -  <label class="form-check-label" for="flexRadioDefault1">
    -    Default radio
    -  </label>
    -</div>
    -<div class="form-check">
    -  <input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault2" checked>
    -  <label class="form-check-label" for="flexRadioDefault2">
    -    Default checked radio
    -  </label>
    -</div>
    -

    Disabled

    -

    Add the disabled attribute and the associated <label>s are automatically styled to match with a lighter color to help indicate the input’s state.

    -
    -
    - - -
    -
    - - -
    -
    <div class="form-check">
    -  <input class="form-check-input" type="radio" name="flexRadioDisabled" id="flexRadioDisabled" disabled>
    -  <label class="form-check-label" for="flexRadioDisabled">
    -    Disabled radio
    -  </label>
    -</div>
    -<div class="form-check">
    -  <input class="form-check-input" type="radio" name="flexRadioDisabled" id="flexRadioCheckedDisabled" checked disabled>
    -  <label class="form-check-label" for="flexRadioCheckedDisabled">
    -    Disabled checked radio
    -  </label>
    -</div>
    -

    Switches

    -

    A switch has the markup of a custom checkbox but uses the .form-switch class to render a toggle switch. Consider using role="switch" to more accurately convey the nature of the control to assistive technologies that support this role. In older assistive technologies, it will simply be announced as a regular checkbox as a fallback. Switches also support the disabled attribute.

    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    <div class="form-check form-switch">
    -  <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckDefault">
    -  <label class="form-check-label" for="flexSwitchCheckDefault">Default switch checkbox input</label>
    -</div>
    -<div class="form-check form-switch">
    -  <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckChecked" checked>
    -  <label class="form-check-label" for="flexSwitchCheckChecked">Checked switch checkbox input</label>
    -</div>
    -<div class="form-check form-switch">
    -  <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckDisabled" disabled>
    -  <label class="form-check-label" for="flexSwitchCheckDisabled">Disabled switch checkbox input</label>
    -</div>
    -<div class="form-check form-switch">
    -  <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckCheckedDisabled" checked disabled>
    -  <label class="form-check-label" for="flexSwitchCheckCheckedDisabled">Disabled checked switch checkbox input</label>
    -</div>
    -

    Default (stacked)

    -

    By default, any number of checkboxes and radios that are immediate sibling will be vertically stacked and appropriately spaced with .form-check.

    -
    -
    - - -
    -
    - - -
    -
    <div class="form-check">
    -  <input class="form-check-input" type="checkbox" value="" id="defaultCheck1">
    -  <label class="form-check-label" for="defaultCheck1">
    -    Default checkbox
    -  </label>
    -</div>
    -<div class="form-check">
    -  <input class="form-check-input" type="checkbox" value="" id="defaultCheck2" disabled>
    -  <label class="form-check-label" for="defaultCheck2">
    -    Disabled checkbox
    -  </label>
    -</div>
    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    <div class="form-check">
    -  <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios1" value="option1" checked>
    -  <label class="form-check-label" for="exampleRadios1">
    -    Default radio
    -  </label>
    -</div>
    -<div class="form-check">
    -  <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios2" value="option2">
    -  <label class="form-check-label" for="exampleRadios2">
    -    Second default radio
    -  </label>
    -</div>
    -<div class="form-check">
    -  <input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios3" value="option3" disabled>
    -  <label class="form-check-label" for="exampleRadios3">
    -    Disabled radio
    -  </label>
    -</div>
    -

    Inline

    -

    Group checkboxes or radios on the same horizontal row by adding .form-check-inline to any .form-check.

    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    <div class="form-check form-check-inline">
    -  <input class="form-check-input" type="checkbox" id="inlineCheckbox1" value="option1">
    -  <label class="form-check-label" for="inlineCheckbox1">1</label>
    -</div>
    -<div class="form-check form-check-inline">
    -  <input class="form-check-input" type="checkbox" id="inlineCheckbox2" value="option2">
    -  <label class="form-check-label" for="inlineCheckbox2">2</label>
    -</div>
    -<div class="form-check form-check-inline">
    -  <input class="form-check-input" type="checkbox" id="inlineCheckbox3" value="option3" disabled>
    -  <label class="form-check-label" for="inlineCheckbox3">3 (disabled)</label>
    -</div>
    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    <div class="form-check form-check-inline">
    -  <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1">
    -  <label class="form-check-label" for="inlineRadio1">1</label>
    -</div>
    -<div class="form-check form-check-inline">
    -  <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2">
    -  <label class="form-check-label" for="inlineRadio2">2</label>
    -</div>
    -<div class="form-check form-check-inline">
    -  <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3" disabled>
    -  <label class="form-check-label" for="inlineRadio3">3 (disabled)</label>
    -</div>
    -

    Without labels

    -

    Omit the wrapping .form-check for checkboxes and radios that have no label text. Remember to still provide some form of accessible name for assistive technologies (for instance, using aria-label). See the forms overview accessibility section for details.

    -
    -
    - -
    - -
    - -
    -
    <div>
    -  <input class="form-check-input" type="checkbox" id="checkboxNoLabel" value="" aria-label="...">
    -</div>
    -
    -<div>
    -  <input class="form-check-input" type="radio" name="radioNoLabel" id="radioNoLabel1" value="" aria-label="...">
    -</div>
    -

    Toggle buttons

    -

    Create button-like checkboxes and radio buttons by using .btn styles rather than .form-check-label on the <label> elements. These toggle buttons can further be grouped in a button group if needed.

    -

    Checkbox toggle buttons

    -
    - - -
    <input type="checkbox" class="btn-check" id="btn-check" autocomplete="off">
    -<label class="btn btn-primary" for="btn-check">Single toggle</label>
    -
    - - -
    <input type="checkbox" class="btn-check" id="btn-check-2" checked autocomplete="off">
    -<label class="btn btn-primary" for="btn-check-2">Checked</label>
    -
    - - -
    <input type="checkbox" class="btn-check" id="btn-check-3" autocomplete="off" disabled>
    -<label class="btn btn-primary" for="btn-check-3">Disabled</label>
    -
    -Visually, these checkbox toggle buttons are identical to the button plugin toggle buttons. However, they are conveyed differently by assistive technologies: the checkbox toggles will be announced by screen readers as “checked”/“not checked” (since, despite their appearance, they are fundamentally still checkboxes), whereas the button plugin toggle buttons will be announced as “button”/“button pressed”. The choice between these two approaches will depend on the type of toggle you are creating, and whether or not the toggle will make sense to users when announced as a checkbox or as an actual button. -
    - -

    Radio toggle buttons

    -
    - - - - - - - - - - - -
    <input type="radio" class="btn-check" name="options" id="option1" autocomplete="off" checked>
    -<label class="btn btn-secondary" for="option1">Checked</label>
    -
    -<input type="radio" class="btn-check" name="options" id="option2" autocomplete="off">
    -<label class="btn btn-secondary" for="option2">Radio</label>
    -
    -<input type="radio" class="btn-check" name="options" id="option3" autocomplete="off" disabled>
    -<label class="btn btn-secondary" for="option3">Disabled</label>
    -
    -<input type="radio" class="btn-check" name="options" id="option4" autocomplete="off">
    -<label class="btn btn-secondary" for="option4">Radio</label>
    -

    Outlined styles

    -

    Different variants of .btn, such at the various outlined styles, are supported.

    -
    - -
    - - -
    - - - - - - -
    <input type="checkbox" class="btn-check" id="btn-check-outlined" autocomplete="off">
    -<label class="btn btn-outline-primary" for="btn-check-outlined">Single toggle</label><br>
    -
    -<input type="checkbox" class="btn-check" id="btn-check-2-outlined" checked autocomplete="off">
    -<label class="btn btn-outline-secondary" for="btn-check-2-outlined">Checked</label><br>
    -
    -<input type="radio" class="btn-check" name="options-outlined" id="success-outlined" autocomplete="off" checked>
    -<label class="btn btn-outline-success" for="success-outlined">Checked success radio</label>
    -
    -<input type="radio" class="btn-check" name="options-outlined" id="danger-outlined" autocomplete="off">
    -<label class="btn btn-outline-danger" for="danger-outlined">Danger radio</label>
    -

    Sass

    -

    Variables

    -
    $form-check-input-width:                  1em;
    -$form-check-min-height:                   $font-size-base * $line-height-base;
    -$form-check-padding-start:                $form-check-input-width + .5em;
    -$form-check-margin-bottom:                .125rem;
    -$form-check-label-color:                  null;
    -$form-check-label-cursor:                 null;
    -$form-check-transition:                   null;
    -
    -$form-check-input-active-filter:          brightness(90%);
    -
    -$form-check-input-bg:                     $input-bg;
    -$form-check-input-border:                 1px solid rgba($black, .25);
    -$form-check-input-border-radius:          .25em;
    -$form-check-radio-border-radius:          50%;
    -$form-check-input-focus-border:           $input-focus-border-color;
    -$form-check-input-focus-box-shadow:       $input-btn-focus-box-shadow;
    -
    -$form-check-input-checked-color:          $component-active-color;
    -$form-check-input-checked-bg-color:       $component-active-bg;
    -$form-check-input-checked-border-color:   $form-check-input-checked-bg-color;
    -$form-check-input-checked-bg-image:       url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/></svg>");
    -$form-check-radio-checked-bg-image:       url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>");
    -
    -$form-check-input-indeterminate-color:          $component-active-color;
    -$form-check-input-indeterminate-bg-color:       $component-active-bg;
    -$form-check-input-indeterminate-border-color:   $form-check-input-indeterminate-bg-color;
    -$form-check-input-indeterminate-bg-image:       url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>");
    -
    -$form-check-input-disabled-opacity:        .5;
    -$form-check-label-disabled-opacity:        $form-check-input-disabled-opacity;
    -$form-check-btn-check-disabled-opacity:    $btn-disabled-opacity;
    -
    -$form-check-inline-margin-end:    1rem;
    -
    - +
    - - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/forms/floating-labels/index.html b/forms/floating-labels/index.html index 00d0022..491ba5d 100644 --- a/forms/floating-labels/index.html +++ b/forms/floating-labels/index.html @@ -1,595 +1,2757 @@ - - + + + + + + + + + + + + - - - - - - - + Floating labels · Bootstrap v5.3 - - + + -Floating labels · Bootstrap v5.1 + - + + + + + + + + + + + - - + + + + + + - + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + -
    - + +
    +
    +
    + +

    Floating labels

    +
    +

    + Create beautifully simple form labels that float over your input + fields. +

    - -
  • - - -
    - + +
    + + On this page +
    +
    -
  • -
  • -
  • - - Migration - -
  • - - - +
    +

    + Example + +

    +

    + Wrap a pair of + <input class="form-control"> and + <label> elements in + .form-floating to enable floating labels with + Bootstrap’s textual form fields. A placeholder is + required on each <input> as our method of + CSS-only floating labels uses the + :placeholder-shown pseudo-element. Also note that the + <input> must come first so we can utilize a + sibling selector (e.g., ~). +

    +
    +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-floating mb-3">
    +  <input type="email" class="form-control" id="floatingInput" placeholder="name@example.com">
    +  <label for="floatingInput">Email address</label>
    +</div>
    +<div class="form-floating">
    +  <input type="password" class="form-control" id="floatingPassword" placeholder="Password">
    +  <label for="floatingPassword">Password</label>
    +</div>
    +
    +
    -
    -
    -
    - View on GitHub -

    Floating labels

    -
    -

    Create beautifully simple form labels that float over your input fields.

    - +

    + When there’s a value already defined, + <label>s will automatically adjust to their + floated position. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="form-floating">
    +  <input type="email" class="form-control" id="floatingInputValue" placeholder="name@example.com" value="test@example.com">
    +  <label for="floatingInputValue">Input with value</label>
    +</form>
    +
    +
    -
    +

    Form validation styles also work as expected.

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="form-floating">
    +  <input type="email" class="form-control is-invalid" id="floatingInputInvalid" placeholder="name@example.com" value="test@example.com">
    +  <label for="floatingInputInvalid">Invalid input</label>
    +</form>
    +
    +
    +

    + Textareas + +

    +

    + By default, <textarea>s with + .form-control will be the same height as + <input>s. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-floating">
    +  <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea"></textarea>
    +  <label for="floatingTextarea">Comments</label>
    +</div>
    +
    +
    -
    - On this page - -
    +

    + To set a custom height on your <textarea>, do not + use the rows attribute. Instead, set an explicit + height (either inline or via custom CSS). +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-floating">
    +  <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2" style="height: 100px"></textarea>
    +  <label for="floatingTextarea2">Comments</label>
    +</div>
    +
    +
    +

    + Selects + +

    +

    + Other than .form-control, floating labels are only + available on .form-selects. They work in the same way, + but unlike <input>s, they’ll always show + the <label> in its floated state. + Selects with size and multiple are not + supported. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-floating">
    +  <select class="form-select" id="floatingSelect" aria-label="Floating label select example">
    +    <option selected>Open this select menu</option>
    +    <option value="1">One</option>
    +    <option value="2">Two</option>
    +    <option value="3">Three</option>
    +  </select>
    +  <label for="floatingSelect">Works with selects</label>
    +</div>
    +
    +
    -
    - - -

    Example

    -

    Wrap a pair of <input class="form-control"> and <label> elements in .form-floating to enable floating labels with Bootstrap’s textual form fields. A placeholder is required on each <input> as our method of CSS-only floating labels uses the :placeholder-shown pseudo-element. Also note that the <input> must come first so we can utilize a sibling selector (e.g., ~).

    -
    -
    - - -
    -
    - - -
    -
    <div class="form-floating mb-3">
    -  <input type="email" class="form-control" id="floatingInput" placeholder="name@example.com">
    -  <label for="floatingInput">Email address</label>
    -</div>
    -<div class="form-floating">
    -  <input type="password" class="form-control" id="floatingPassword" placeholder="Password">
    -  <label for="floatingPassword">Password</label>
    -</div>
    -

    When there’s a value already defined, <label>s will automatically adjust to their floated position.

    -
    -
    - - -
    -
    <form class="form-floating">
    -  <input type="email" class="form-control" id="floatingInputValue" placeholder="name@example.com" value="test@example.com">
    -  <label for="floatingInputValue">Input with value</label>
    -</form>
    -

    Form validation styles also work as expected.

    -
    -
    - - -
    -
    <form class="form-floating">
    -  <input type="email" class="form-control is-invalid" id="floatingInputInvalid" placeholder="name@example.com" value="test@example.com">
    -  <label for="floatingInputInvalid">Invalid input</label>
    -</form>
    -

    Textareas

    -

    By default, <textarea>s with .form-control will be the same height as <input>s.

    -
    -
    - - -
    -
    <div class="form-floating">
    -  <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea"></textarea>
    -  <label for="floatingTextarea">Comments</label>
    -</div>
    -

    To set a custom height on your <textarea>, do not use the rows attribute. Instead, set an explicit height (either inline or via custom CSS).

    -
    -
    - - -
    -
    <div class="form-floating">
    -  <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2" style="height: 100px"></textarea>
    -  <label for="floatingTextarea2">Comments</label>
    -</div>
    -

    Selects

    -

    Other than .form-control, floating labels are only available on .form-selects. They work in the same way, but unlike <input>s, they’ll always show the <label> in its floated state. Selects with size and multiple are not supported.

    -
    -
    - - -
    -
    <div class="form-floating">
    -  <select class="form-select" id="floatingSelect" aria-label="Floating label select example">
    -    <option selected>Open this select menu</option>
    -    <option value="1">One</option>
    -    <option value="2">Two</option>
    -    <option value="3">Three</option>
    -  </select>
    -  <label for="floatingSelect">Works with selects</label>
    -</div>
    -

    Layout

    -

    When working with the Bootstrap grid system, be sure to place form elements within column classes.

    -
    -
    -
    -
    - - -
    -
    -
    -
    - - -
    -
    -
    -
    <div class="row g-2">
    -  <div class="col-md">
    -    <div class="form-floating">
    -      <input type="email" class="form-control" id="floatingInputGrid" placeholder="name@example.com" value="mdo@example.com">
    -      <label for="floatingInputGrid">Email address</label>
    -    </div>
    -  </div>
    -  <div class="col-md">
    -    <div class="form-floating">
    -      <select class="form-select" id="floatingSelectGrid" aria-label="Floating label select example">
    -        <option selected>Open this select menu</option>
    -        <option value="1">One</option>
    -        <option value="2">Two</option>
    -        <option value="3">Three</option>
    -      </select>
    -      <label for="floatingSelectGrid">Works with selects</label>
    -    </div>
    -  </div>
    -</div>
    -

    Sass

    -

    Variables

    -
    $form-floating-height:            add(3.5rem, $input-height-border);
    -$form-floating-line-height:       1.25;
    -$form-floating-padding-x:         $input-padding-x;
    -$form-floating-padding-y:         1rem;
    -$form-floating-input-padding-t:   1.625rem;
    -$form-floating-input-padding-b:   .625rem;
    -$form-floating-label-opacity:     .65;
    -$form-floating-label-transform:   scale(.85) translateY(-.5rem) translateX(.15rem);
    -$form-floating-transition:        opacity .1s ease-in-out, transform .1s ease-in-out;
    -
    +

    + Disabled + +

    +

    + Add the disabled boolean attribute on an input, a + textarea or a select to give it a grayed out appearance, remove + pointer events, and prevent focusing. +

    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-floating mb-3">
    +  <input type="email" class="form-control" id="floatingInputDisabled" placeholder="name@example.com" disabled>
    +  <label for="floatingInputDisabled">Email address</label>
    +</div>
    +<div class="form-floating mb-3">
    +  <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextareaDisabled" disabled></textarea>
    +  <label for="floatingTextareaDisabled">Comments</label>
    +</div>
    +<div class="form-floating mb-3">
    +  <textarea class="form-control" placeholder="Leave a comment here" id="floatingTextarea2Disabled" style="height: 100px" disabled></textarea>
    +  <label for="floatingTextarea2Disabled">Comments</label>
    +</div>
    +<div class="form-floating">
    +  <select class="form-select" id="floatingSelectDisabled" aria-label="Floating label disabled select example" disabled>
    +    <option selected>Open this select menu</option>
    +    <option value="1">One</option>
    +    <option value="2">Two</option>
    +    <option value="3">Three</option>
    +  </select>
    +  <label for="floatingSelectDisabled">Works with selects</label>
    +</div>
    +
    +
    -
    -
    -
    +

    + Readonly plaintext + +

    +

    + Floating labels also support .form-control-plaintext, + which can be helpful for toggling from an editable + <input> to a plaintext value without affecting + the page layout. +

    +
    +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="form-floating mb-3">
    +  <input type="email" readonly class="form-control-plaintext" id="floatingEmptyPlaintextInput" placeholder="name@example.com">
    +  <label for="floatingEmptyPlaintextInput">Empty input</label>
    +</div>
    +<div class="form-floating mb-3">
    +  <input type="email" readonly class="form-control-plaintext" id="floatingPlaintextInput" placeholder="name@example.com" value="name@example.com">
    +  <label for="floatingPlaintextInput">Input with value</label>
    +</div>
    +
    +
    +

    + Input groups + +

    +

    Floating labels also support .input-group.

    +
    +
    +
    + @ +
    + + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group mb-3">
    +  <span class="input-group-text">@</span>
    +  <div class="form-floating">
    +    <input type="text" class="form-control" id="floatingInputGroup1" placeholder="Username">
    +    <label for="floatingInputGroup1">Username</label>
    +  </div>
    +</div>
    +
    +
    -
    -
    -
    -
    - - Bootstrap - Bootstrap - - -
    -
    -
    Links
    - -
    - -
    -
    Projects
    - -
    - +

    + When using .input-group and + .form-floating along with form validation, the + -feedback should be placed outside of the + .form-floating, but inside of the + .input-group. This means that the feedback will need to + be shown using javascript. +

    +
    +
    +
    + @ +
    + + +
    +
    Please choose a username.
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group has-validation">
    +  <span class="input-group-text">@</span>
    +  <div class="form-floating is-invalid">
    +    <input type="text" class="form-control is-invalid" id="floatingInputGroup2" placeholder="Username" required>
    +    <label for="floatingInputGroup2">Username</label>
    +  </div>
    +  <div class="invalid-feedback">
    +    Please choose a username.
    +  </div>
    +</div>
    +
    +
    + +

    + Layout + +

    +

    + When working with the Bootstrap grid system, be sure to place form + elements within column classes. +

    +
    +
    +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row g-2">
    +  <div class="col-md">
    +    <div class="form-floating">
    +      <input type="email" class="form-control" id="floatingInputGrid" placeholder="name@example.com" value="mdo@example.com">
    +      <label for="floatingInputGrid">Email address</label>
    +    </div>
    +  </div>
    +  <div class="col-md">
    +    <div class="form-floating">
    +      <select class="form-select" id="floatingSelectGrid">
    +        <option selected>Open this select menu</option>
    +        <option value="1">One</option>
    +        <option value="2">Two</option>
    +        <option value="3">Three</option>
    +      </select>
    +      <label for="floatingSelectGrid">Works with selects</label>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + CSS + +

    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-floating-height:                  add(3.5rem, $input-height-border);
    +$form-floating-line-height:             1.25;
    +$form-floating-padding-x:               $input-padding-x;
    +$form-floating-padding-y:               1rem;
    +$form-floating-input-padding-t:         1.625rem;
    +$form-floating-input-padding-b:         .625rem;
    +$form-floating-label-height:            1.5em;
    +$form-floating-label-opacity:           .65;
    +$form-floating-label-transform:         scale(.85) translateY(-.5rem) translateX(.15rem);
    +$form-floating-label-disabled-color:    $gray-600;
    +$form-floating-transition:              opacity .1s ease-in-out, transform .1s ease-in-out;
    +
    +
    +
    +
    +
    - - - + + + + + - + - + + + + + diff --git a/forms/form-control/index.html b/forms/form-control/index.html index ff2ca86..656852f 100644 --- a/forms/form-control/index.html +++ b/forms/form-control/index.html @@ -1,700 +1,2965 @@ - - - - - - - - - - - - - - - -Form controls · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Form controls · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Form controls

    +
    +

    + Give textual form controls like <input>s and + <textarea>s an upgrade with custom styles, + sizing, focus states, and more. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Form controls

    +
    + + On this page +
    +
    -

    Give textual form controls like <input>s and <textarea>s an upgrade with custom styles, sizing, focus states, and more.

    - -
    - - -
    - On this page - +
    +

    + Example + +

    +

    + Form controls are styled with a mix of Sass and CSS variables, + allowing them to adapt to color modes and support any customization + method. +

    +
    +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="mb-3">
    +  <label for="exampleFormControlInput1" class="form-label">Email address</label>
    +  <input type="email" class="form-control" id="exampleFormControlInput1" placeholder="name@example.com">
    +</div>
    +<div class="mb-3">
    +  <label for="exampleFormControlTextarea1" class="form-label">Example textarea</label>
    +  <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
    +</div>
    +
    +
    + +

    + Sizing + +

    +

    + Set heights using classes like .form-control-lg and + .form-control-sm. +

    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <input class="form-control form-control-lg" type="text" placeholder=".form-control-lg" aria-label=".form-control-lg example">
    +<input class="form-control" type="text" placeholder="Default input" aria-label="default input example">
    +<input class="form-control form-control-sm" type="text" placeholder=".form-control-sm" aria-label=".form-control-sm example">
    +
    +
    + +

    + Form text + +

    +

    + Block-level or inline-level form text can be created using + .form-text. +

    +
    + Form text should be explicitly associated with the form control it + relates to using the aria-labelledby (for mandatory + information such as data format) or + aria-describedby (for complementary information) + attribute. This will ensure that assistive technologies—such as + screen readers—will announce this form text when the user focuses or + enters the control. +
    + +

    + Form text below inputs can be styled with .form-text. + If a block-level element will be used, a top margin is added for + easy spacing from the inputs above. +

    +
    +
    + + +
    + Your password must be 8-20 characters long, contain letters and + numbers, and must not contain spaces, special characters, or + emoji. +
    +
    +
    + html +
    + + +
    +
    +
    +
    <label for="inputPassword5" class="form-label">Password</label>
    +<input type="password" id="inputPassword5" class="form-control" aria-labelledby="passwordHelpBlock">
    +<div id="passwordHelpBlock" class="form-text">
    +  Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji.
    +</div>
    +
    +
    + +

    + Inline text can use any typical inline HTML element (be it a + <span>, <small>, or something + else) with nothing more than the .form-text class. +

    +
    +
    +
    +
    + +
    +
    + +
    +
    + + Must be 8-20 characters long. + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row g-3 align-items-center">
    +  <div class="col-auto">
    +    <label for="inputPassword6" class="col-form-label">Password</label>
    +  </div>
    +  <div class="col-auto">
    +    <input type="password" id="inputPassword6" class="form-control" aria-labelledby="passwordHelpInline">
    +  </div>
    +  <div class="col-auto">
    +    <span id="passwordHelpInline" class="form-text">
    +      Must be 8-20 characters long.
    +    </span>
    +  </div>
    +</div>
    +
    +
    + +

    + Disabled + +

    +

    + Add the disabled boolean attribute on an input to give + it a grayed out appearance, remove pointer events, and prevent + focusing. +

    +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" disabled>
    +<input class="form-control" type="text" value="Disabled readonly input" aria-label="Disabled input example" disabled readonly>
    +
    +
    + +

    + Readonly + +

    +

    + Add the readonly boolean attribute on an input to + prevent modification of the input’s value. + readonly inputs can still be focused and selected, + while disabled inputs cannot. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <input class="form-control" type="text" value="Readonly input here..." aria-label="readonly input example" readonly>
    +
    +
    + +

    + Readonly plain text + +

    +

    + If you want to have <input readonly> elements in + your form styled as plain text, replace + .form-control with + .form-control-plaintext to remove the default form + field styling and preserve the correct margin and + padding. +

    +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
      <div class="mb-3 row">
    +    <label for="staticEmail" class="col-sm-2 col-form-label">Email</label>
    +    <div class="col-sm-10">
    +      <input type="text" readonly class="form-control-plaintext" id="staticEmail" value="email@example.com">
    +    </div>
    +  </div>
    +  <div class="mb-3 row">
    +    <label for="inputPassword" class="col-sm-2 col-form-label">Password</label>
    +    <div class="col-sm-10">
    +      <input type="password" class="form-control" id="inputPassword">
    +    </div>
    +  </div>
    +
    +
    + +
    +
    +
    +
    + + +
    +
    + + +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="row g-3">
    +  <div class="col-auto">
    +    <label for="staticEmail2" class="visually-hidden">Email</label>
    +    <input type="text" readonly class="form-control-plaintext" id="staticEmail2" value="email@example.com">
    +  </div>
    +  <div class="col-auto">
    +    <label for="inputPassword2" class="visually-hidden">Password</label>
    +    <input type="password" class="form-control" id="inputPassword2" placeholder="Password">
    +  </div>
    +  <div class="col-auto">
    +    <button type="submit" class="btn btn-primary mb-3">Confirm identity</button>
    +  </div>
    +</form>
    +
    +
    + +

    + File input + +

    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="mb-3">
    +  <label for="formFile" class="form-label">Default file input example</label>
    +  <input class="form-control" type="file" id="formFile">
    +</div>
    +<div class="mb-3">
    +  <label for="formFileMultiple" class="form-label">Multiple files input example</label>
    +  <input class="form-control" type="file" id="formFileMultiple" multiple>
    +</div>
    +<div class="mb-3">
    +  <label for="formFileDisabled" class="form-label">Disabled file input example</label>
    +  <input class="form-control" type="file" id="formFileDisabled" disabled>
    +</div>
    +<div class="mb-3">
    +  <label for="formFileSm" class="form-label">Small file input example</label>
    +  <input class="form-control form-control-sm" id="formFileSm" type="file">
    +</div>
    +<div>
    +  <label for="formFileLg" class="form-label">Large file input example</label>
    +  <input class="form-control form-control-lg" id="formFileLg" type="file">
    +</div>
    +
    +
    + +

    + Color + +

    +

    + Set the type="color" and add + .form-control-color to the <input>. + We use the modifier class to set fixed heights and + override some inconsistencies between browsers. +

    +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <label for="exampleColorInput" class="form-label">Color picker</label>
    +<input type="color" class="form-control form-control-color" id="exampleColorInput" value="#563d7c" title="Choose your color">
    +
    +
    + +

    + Datalists + +

    +

    + Datalists allow you to create a group of + <option>s that can be accessed (and + autocompleted) from within an <input>. These are + similar to <select> elements, but come with more + menu styling limitations and differences. While most browsers and + operating systems include some support for + <datalist> elements, their styling is + inconsistent at best. +

    +

    + Learn more about + support for datalist elements. +

    +
    +
    + + + + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <label for="exampleDataList" class="form-label">Datalist example</label>
    +<input class="form-control" list="datalistOptions" id="exampleDataList" placeholder="Type to search...">
    +<datalist id="datalistOptions">
    +  <option value="San Francisco">
    +  <option value="New York">
    +  <option value="Seattle">
    +  <option value="Los Angeles">
    +  <option value="Chicago">
    +</datalist>
    +
    +
    + +

    + CSS + +

    +

    + Sass variables + +

    +

    + $input-* are shared across most of our form controls + (and not buttons). +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $input-padding-y:                       $input-btn-padding-y;
    +$input-padding-x:                       $input-btn-padding-x;
    +$input-font-family:                     $input-btn-font-family;
    +$input-font-size:                       $input-btn-font-size;
    +$input-font-weight:                     $font-weight-base;
    +$input-line-height:                     $input-btn-line-height;
    +
    +$input-padding-y-sm:                    $input-btn-padding-y-sm;
    +$input-padding-x-sm:                    $input-btn-padding-x-sm;
    +$input-font-size-sm:                    $input-btn-font-size-sm;
    +
    +$input-padding-y-lg:                    $input-btn-padding-y-lg;
    +$input-padding-x-lg:                    $input-btn-padding-x-lg;
    +$input-font-size-lg:                    $input-btn-font-size-lg;
    +
    +$input-bg:                              var(--#{$prefix}body-bg);
    +$input-disabled-color:                  null;
    +$input-disabled-bg:                     var(--#{$prefix}secondary-bg);
    +$input-disabled-border-color:           null;
    +
    +$input-color:                           var(--#{$prefix}body-color);
    +$input-border-color:                    var(--#{$prefix}border-color);
    +$input-border-width:                    $input-btn-border-width;
    +$input-box-shadow:                      $box-shadow-inset;
    +
    +$input-border-radius:                   var(--#{$prefix}border-radius);
    +$input-border-radius-sm:                var(--#{$prefix}border-radius-sm);
    +$input-border-radius-lg:                var(--#{$prefix}border-radius-lg);
    +
    +$input-focus-bg:                        $input-bg;
    +$input-focus-border-color:              tint-color($component-active-bg, 50%);
    +$input-focus-color:                     $input-color;
    +$input-focus-width:                     $input-btn-focus-width;
    +$input-focus-box-shadow:                $input-btn-focus-box-shadow;
    +
    +$input-placeholder-color:               var(--#{$prefix}secondary-color);
    +$input-plaintext-color:                 var(--#{$prefix}body-color);
    +
    +$input-height-border:                   calc(#{$input-border-width} * 2); // stylelint-disable-line function-disallowed-list
    +
    +$input-height-inner:                    add($input-line-height * 1em, $input-padding-y * 2);
    +$input-height-inner-half:               add($input-line-height * .5em, $input-padding-y);
    +$input-height-inner-quarter:            add($input-line-height * .25em, $input-padding-y * .5);
    +
    +$input-height:                          add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false));
    +$input-height-sm:                       add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false));
    +$input-height-lg:                       add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false));
    +
    +$input-transition:                      border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    +
    +$form-color-width:                      3rem;
    +
    +
    +
    +

    + $form-label-* and $form-text-* are for our + <label>s and .form-text component. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-label-margin-bottom:              .5rem;
    +$form-label-font-size:                  null;
    +$form-label-font-style:                 null;
    +$form-label-font-weight:                null;
    +$form-label-color:                      null;
    +
    +
    +
    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-text-margin-top:                  .25rem;
    +$form-text-font-size:                   $small-font-size;
    +$form-text-font-style:                  null;
    +$form-text-font-weight:                 null;
    +$form-text-color:                       var(--#{$prefix}secondary-color);
    +
    +
    +
    +

    $form-file-* are for file input.

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-file-button-color:          $input-color;
    +$form-file-button-bg:             var(--#{$prefix}tertiary-bg);
    +$form-file-button-hover-bg:       var(--#{$prefix}secondary-bg);
    +
    +
    +
    - - -
    - - -

    Example

    -
    -
    - - -
    -
    - - -
    -
    <div class="mb-3">
    -  <label for="exampleFormControlInput1" class="form-label">Email address</label>
    -  <input type="email" class="form-control" id="exampleFormControlInput1" placeholder="name@example.com">
    -</div>
    -<div class="mb-3">
    -  <label for="exampleFormControlTextarea1" class="form-label">Example textarea</label>
    -  <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
    -</div>
    -

    Sizing

    -

    Set heights using classes like .form-control-lg and .form-control-sm.

    -
    - - - -
    <input class="form-control form-control-lg" type="text" placeholder=".form-control-lg" aria-label=".form-control-lg example">
    -<input class="form-control" type="text" placeholder="Default input" aria-label="default input example">
    -<input class="form-control form-control-sm" type="text" placeholder=".form-control-sm" aria-label=".form-control-sm example">
    -

    Disabled

    -

    Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

    -
    - - -
    <input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" disabled>
    -<input class="form-control" type="text" value="Disabled readonly input" aria-label="Disabled input example" disabled readonly>
    -

    Readonly

    -

    Add the readonly boolean attribute on an input to prevent modification of the input’s value.

    -
    - -
    <input class="form-control" type="text" value="Readonly input here..." aria-label="readonly input example" readonly>
    -

    Readonly plain text

    -

    If you want to have <input readonly> elements in your form styled as plain text, use the .form-control-plaintext class to remove the default form field styling and preserve the correct margin and padding.

    -
    -
    - -
    - -
    -
    -
    - -
    - +
    - -
      <div class="mb-3 row">
    -    <label for="staticEmail" class="col-sm-2 col-form-label">Email</label>
    -    <div class="col-sm-10">
    -      <input type="text" readonly class="form-control-plaintext" id="staticEmail" value="email@example.com">
    -    </div>
    -  </div>
    -  <div class="mb-3 row">
    -    <label for="inputPassword" class="col-sm-2 col-form-label">Password</label>
    -    <div class="col-sm-10">
    -      <input type="password" class="form-control" id="inputPassword">
    -    </div>
    -  </div>
    -
    -
    -
    - - -
    -
    - - -
    -
    - -
    -
    -
    <form class="row g-3">
    -  <div class="col-auto">
    -    <label for="staticEmail2" class="visually-hidden">Email</label>
    -    <input type="text" readonly class="form-control-plaintext" id="staticEmail2" value="email@example.com">
    -  </div>
    -  <div class="col-auto">
    -    <label for="inputPassword2" class="visually-hidden">Password</label>
    -    <input type="password" class="form-control" id="inputPassword2" placeholder="Password">
    -  </div>
    -  <div class="col-auto">
    -    <button type="submit" class="btn btn-primary mb-3">Confirm identity</button>
    -  </div>
    -</form>
    -

    File input

    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    <div class="mb-3">
    -  <label for="formFile" class="form-label">Default file input example</label>
    -  <input class="form-control" type="file" id="formFile">
    -</div>
    -<div class="mb-3">
    -  <label for="formFileMultiple" class="form-label">Multiple files input example</label>
    -  <input class="form-control" type="file" id="formFileMultiple" multiple>
    -</div>
    -<div class="mb-3">
    -  <label for="formFileDisabled" class="form-label">Disabled file input example</label>
    -  <input class="form-control" type="file" id="formFileDisabled" disabled>
    -</div>
    -<div class="mb-3">
    -  <label for="formFileSm" class="form-label">Small file input example</label>
    -  <input class="form-control form-control-sm" id="formFileSm" type="file">
    -</div>
    -<div>
    -  <label for="formFileLg" class="form-label">Large file input example</label>
    -  <input class="form-control form-control-lg" id="formFileLg" type="file">
    -</div>
    -

    Color

    -
    - - -
    <label for="exampleColorInput" class="form-label">Color picker</label>
    -<input type="color" class="form-control form-control-color" id="exampleColorInput" value="#563d7c" title="Choose your color">
    -

    Datalists

    -

    Datalists allow you to create a group of <option>s that can be accessed (and autocompleted) from within an <input>. These are similar to <select> elements, but come with more menu styling limitations and differences. While most browsers and operating systems include some support for <datalist> elements, their styling is inconsistent at best.

    -

    Learn more about support for datalist elements.

    -
    - - - - -
    <label for="exampleDataList" class="form-label">Datalist example</label>
    -<input class="form-control" list="datalistOptions" id="exampleDataList" placeholder="Type to search...">
    -<datalist id="datalistOptions">
    -  <option value="San Francisco">
    -  <option value="New York">
    -  <option value="Seattle">
    -  <option value="Los Angeles">
    -  <option value="Chicago">
    -</datalist>
    -

    Sass

    -

    Variables

    -

    $input-* are shared across most of our form controls (and not buttons).

    -
    $input-padding-y:                       $input-btn-padding-y;
    -$input-padding-x:                       $input-btn-padding-x;
    -$input-font-family:                     $input-btn-font-family;
    -$input-font-size:                       $input-btn-font-size;
    -$input-font-weight:                     $font-weight-base;
    -$input-line-height:                     $input-btn-line-height;
    -
    -$input-padding-y-sm:                    $input-btn-padding-y-sm;
    -$input-padding-x-sm:                    $input-btn-padding-x-sm;
    -$input-font-size-sm:                    $input-btn-font-size-sm;
    -
    -$input-padding-y-lg:                    $input-btn-padding-y-lg;
    -$input-padding-x-lg:                    $input-btn-padding-x-lg;
    -$input-font-size-lg:                    $input-btn-font-size-lg;
    -
    -$input-bg:                              $body-bg;
    -$input-disabled-bg:                     $gray-200;
    -$input-disabled-border-color:           null;
    -
    -$input-color:                           $body-color;
    -$input-border-color:                    $gray-400;
    -$input-border-width:                    $input-btn-border-width;
    -$input-box-shadow:                      $box-shadow-inset;
    -
    -$input-border-radius:                   $border-radius;
    -$input-border-radius-sm:                $border-radius-sm;
    -$input-border-radius-lg:                $border-radius-lg;
    -
    -$input-focus-bg:                        $input-bg;
    -$input-focus-border-color:              tint-color($component-active-bg, 50%);
    -$input-focus-color:                     $input-color;
    -$input-focus-width:                     $input-btn-focus-width;
    -$input-focus-box-shadow:                $input-btn-focus-box-shadow;
    -
    -$input-placeholder-color:               $gray-600;
    -$input-plaintext-color:                 $body-color;
    -
    -$input-height-border:                   $input-border-width * 2;
    -
    -$input-height-inner:                    add($input-line-height * 1em, $input-padding-y * 2);
    -$input-height-inner-half:               add($input-line-height * .5em, $input-padding-y);
    -$input-height-inner-quarter:            add($input-line-height * .25em, $input-padding-y * .5);
    -
    -$input-height:                          add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false));
    -$input-height-sm:                       add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false));
    -$input-height-lg:                       add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false));
    -
    -$input-transition:                      border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -
    -$form-color-width:                      3rem;
    -
    -

    $form-label-* and $form-text-* are for our <label>s and .form-text component.

    -
    $form-label-margin-bottom:              .5rem;
    -$form-label-font-size:                  null;
    -$form-label-font-style:                 null;
    -$form-label-font-weight:                null;
    -$form-label-color:                      null;
    -
    -
    $form-text-margin-top:                  .25rem;
    -$form-text-font-size:                   $small-font-size;
    -$form-text-font-style:                  null;
    -$form-text-font-weight:                 null;
    -$form-text-color:                       $text-muted;
    -
    -

    $form-file-* are for file input.

    -
    $form-file-button-color:          $input-color;
    -$form-file-button-bg:             $input-group-addon-bg;
    -$form-file-button-hover-bg:       shade-color($form-file-button-bg, 5%);
    -
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/forms/input-group/index.html b/forms/input-group/index.html index 230774a..499e37e 100644 --- a/forms/input-group/index.html +++ b/forms/input-group/index.html @@ -1,972 +1,3236 @@ - - - - - - - - - - - - - - - -Input group · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Input group · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Input group

    +
    +

    + Easily extend form controls by adding text, buttons, or button + groups on either side of textual inputs, custom selects, and custom + file inputs. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Input group

    + -

    Easily extend form controls by adding text, buttons, or button groups on either side of textual inputs, custom selects, and custom file inputs.

    - -
    - - -
    - On this page - +
    +

    + Basic example + +

    +

    + Place one add-on or button on either side of an input. You may also + place one on both sides of an input. Remember to place + <label>s outside the input group. +

    +
    +
    +
    + @ + +
    + +
    + + @example.com +
    + +
    + +
    + https://example.com/users/ + +
    +
    + Example help text goes outside the input group. +
    +
    + +
    + $ + + .00 +
    + +
    + + @ + +
    + +
    + With textarea + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group mb-3">
    +  <span class="input-group-text" id="basic-addon1">@</span>
    +  <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1">
    +</div>
    +
    +<div class="input-group mb-3">
    +  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="basic-addon2">
    +  <span class="input-group-text" id="basic-addon2">@example.com</span>
    +</div>
    +
    +<div class="mb-3">
    +  <label for="basic-url" class="form-label">Your vanity URL</label>
    +  <div class="input-group">
    +    <span class="input-group-text" id="basic-addon3">https://example.com/users/</span>
    +    <input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3 basic-addon4">
    +  </div>
    +  <div class="form-text" id="basic-addon4">Example help text goes outside the input group.</div>
    +</div>
    +
    +<div class="input-group mb-3">
    +  <span class="input-group-text">$</span>
    +  <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
    +  <span class="input-group-text">.00</span>
    +</div>
    +
    +<div class="input-group mb-3">
    +  <input type="text" class="form-control" placeholder="Username" aria-label="Username">
    +  <span class="input-group-text">@</span>
    +  <input type="text" class="form-control" placeholder="Server" aria-label="Server">
    +</div>
    +
    +<div class="input-group">
    +  <span class="input-group-text">With textarea</span>
    +  <textarea class="form-control" aria-label="With textarea"></textarea>
    +</div>
    +
    +
    + +

    + Wrapping + +

    +

    + Input groups wrap by default via flex-wrap: wrap in + order to accommodate custom form field validation within an input + group. You may disable this with .flex-nowrap. +

    +
    +
    +
    + @ + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group flex-nowrap">
    +  <span class="input-group-text" id="addon-wrapping">@</span>
    +  <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="addon-wrapping">
    +</div>
    +
    +
    + +

    + Sizing + +

    +

    + Add the relative form sizing classes to the + .input-group itself and contents within will + automatically resize—no need for repeating the form control size + classes on each element. +

    +

    + Sizing on the individual input group elements isn’t + supported. +

    +
    +
    +
    + Small + +
    + +
    + Default + +
    + +
    + Large + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group input-group-sm mb-3">
    +  <span class="input-group-text" id="inputGroup-sizing-sm">Small</span>
    +  <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-sm">
    +</div>
    +
    +<div class="input-group mb-3">
    +  <span class="input-group-text" id="inputGroup-sizing-default">Default</span>
    +  <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default">
    +</div>
    +
    +<div class="input-group input-group-lg">
    +  <span class="input-group-text" id="inputGroup-sizing-lg">Large</span>
    +  <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg">
    +</div>
    +
    +
    + +

    + Checkboxes and radios + +

    +

    + Place any checkbox or radio option within an input group’s + addon instead of text. We recommend adding .mt-0 to the + .form-check-input when there’s no visible text + next to the input. +

    +
    +
    +
    +
    + +
    + +
    + +
    +
    + +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group mb-3">
    +  <div class="input-group-text">
    +    <input class="form-check-input mt-0" type="checkbox" value="" aria-label="Checkbox for following text input">
    +  </div>
    +  <input type="text" class="form-control" aria-label="Text input with checkbox">
    +</div>
    +
    +<div class="input-group">
    +  <div class="input-group-text">
    +    <input class="form-check-input mt-0" type="radio" value="" aria-label="Radio button for following text input">
    +  </div>
    +  <input type="text" class="form-control" aria-label="Text input with radio button">
    +</div>
    +
    +
    + +

    + Multiple inputs + +

    +

    + While multiple <input>s are supported visually, + validation styles are only available for input groups with a single + <input>. +

    +
    +
    +
    + First and last name + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group">
    +  <span class="input-group-text">First and last name</span>
    +  <input type="text" aria-label="First name" class="form-control">
    +  <input type="text" aria-label="Last name" class="form-control">
    +</div>
    +
    +
    + +

    + Multiple addons + +

    +

    + Multiple add-ons are supported and can be mixed with checkbox and + radio input versions. +

    +
    +
    +
    + $ + 0.00 + +
    + +
    + + $ + 0.00 +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group mb-3">
    +  <span class="input-group-text">$</span>
    +  <span class="input-group-text">0.00</span>
    +  <input type="text" class="form-control" aria-label="Dollar amount (with dot and two decimal places)">
    +</div>
    +
    +<div class="input-group">
    +  <input type="text" class="form-control" aria-label="Dollar amount (with dot and two decimal places)">
    +  <span class="input-group-text">$</span>
    +  <span class="input-group-text">0.00</span>
    +</div>
    +
    +
    + +

    + Button addons + +

    +
    +
    +
    + + +
    + +
    + + +
    + +
    + + + +
    + +
    + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group mb-3">
    +  <button class="btn btn-outline-secondary" type="button" id="button-addon1">Button</button>
    +  <input type="text" class="form-control" placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1">
    +</div>
    +
    +<div class="input-group mb-3">
    +  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="button-addon2">
    +  <button class="btn btn-outline-secondary" type="button" id="button-addon2">Button</button>
    +</div>
    +
    +<div class="input-group mb-3">
    +  <button class="btn btn-outline-secondary" type="button">Button</button>
    +  <button class="btn btn-outline-secondary" type="button">Button</button>
    +  <input type="text" class="form-control" placeholder="" aria-label="Example text with two button addons">
    +</div>
    +
    +<div class="input-group">
    +  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username with two button addons">
    +  <button class="btn btn-outline-secondary" type="button">Button</button>
    +  <button class="btn btn-outline-secondary" type="button">Button</button>
    +</div>
    +
    +
    + +

    + Buttons with dropdowns + +

    +
    +
    +
    + + + +
    + +
    + + + +
    + +
    + + + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group mb-3">
    +  <button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +  <input type="text" class="form-control" aria-label="Text input with dropdown button">
    +</div>
    +
    +<div class="input-group mb-3">
    +  <input type="text" class="form-control" aria-label="Text input with dropdown button">
    +  <button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
    +  <ul class="dropdown-menu dropdown-menu-end">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +</div>
    +
    +<div class="input-group">
    +  <button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Action before</a></li>
    +    <li><a class="dropdown-item" href="#">Another action before</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +  <input type="text" class="form-control" aria-label="Text input with 2 dropdown buttons">
    +  <button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
    +  <ul class="dropdown-menu dropdown-menu-end">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + Segmented buttons + +

    +
    +
    +
    + + + + +
    + +
    + + + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group mb-3">
    +  <button type="button" class="btn btn-outline-secondary">Action</button>
    +  <button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    +    <span class="visually-hidden">Toggle Dropdown</span>
    +  </button>
    +  <ul class="dropdown-menu">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +  <input type="text" class="form-control" aria-label="Text input with segmented dropdown button">
    +</div>
    +
    +<div class="input-group">
    +  <input type="text" class="form-control" aria-label="Text input with segmented dropdown button">
    +  <button type="button" class="btn btn-outline-secondary">Action</button>
    +  <button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    +    <span class="visually-hidden">Toggle Dropdown</span>
    +  </button>
    +  <ul class="dropdown-menu dropdown-menu-end">
    +    <li><a class="dropdown-item" href="#">Action</a></li>
    +    <li><a class="dropdown-item" href="#">Another action</a></li>
    +    <li><a class="dropdown-item" href="#">Something else here</a></li>
    +    <li><hr class="dropdown-divider"></li>
    +    <li><a class="dropdown-item" href="#">Separated link</a></li>
    +  </ul>
    +</div>
    +
    +
    + +

    + Custom forms + +

    +

    + Input groups include support for custom selects and custom file + inputs. Browser default versions of these are not supported. +

    +

    + Custom select + +

    +
    +
    +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group mb-3">
    +  <label class="input-group-text" for="inputGroupSelect01">Options</label>
    +  <select class="form-select" id="inputGroupSelect01">
    +    <option selected>Choose...</option>
    +    <option value="1">One</option>
    +    <option value="2">Two</option>
    +    <option value="3">Three</option>
    +  </select>
    +</div>
    +
    +<div class="input-group mb-3">
    +  <select class="form-select" id="inputGroupSelect02">
    +    <option selected>Choose...</option>
    +    <option value="1">One</option>
    +    <option value="2">Two</option>
    +    <option value="3">Three</option>
    +  </select>
    +  <label class="input-group-text" for="inputGroupSelect02">Options</label>
    +</div>
    +
    +<div class="input-group mb-3">
    +  <button class="btn btn-outline-secondary" type="button">Button</button>
    +  <select class="form-select" id="inputGroupSelect03" aria-label="Example select with button addon">
    +    <option selected>Choose...</option>
    +    <option value="1">One</option>
    +    <option value="2">Two</option>
    +    <option value="3">Three</option>
    +  </select>
    +</div>
    +
    +<div class="input-group">
    +  <select class="form-select" id="inputGroupSelect04" aria-label="Example select with button addon">
    +    <option selected>Choose...</option>
    +    <option value="1">One</option>
    +    <option value="2">Two</option>
    +    <option value="3">Three</option>
    +  </select>
    +  <button class="btn btn-outline-secondary" type="button">Button</button>
    +</div>
    +
    +
    + +

    + Custom file input + +

    +
    +
    +
    + + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="input-group mb-3">
    +  <label class="input-group-text" for="inputGroupFile01">Upload</label>
    +  <input type="file" class="form-control" id="inputGroupFile01">
    +</div>
    +
    +<div class="input-group mb-3">
    +  <input type="file" class="form-control" id="inputGroupFile02">
    +  <label class="input-group-text" for="inputGroupFile02">Upload</label>
    +</div>
    +
    +<div class="input-group mb-3">
    +  <button class="btn btn-outline-secondary" type="button" id="inputGroupFileAddon03">Button</button>
    +  <input type="file" class="form-control" id="inputGroupFile03" aria-describedby="inputGroupFileAddon03" aria-label="Upload">
    +</div>
    +
    +<div class="input-group">
    +  <input type="file" class="form-control" id="inputGroupFile04" aria-describedby="inputGroupFileAddon04" aria-label="Upload">
    +  <button class="btn btn-outline-secondary" type="button" id="inputGroupFileAddon04">Button</button>
    +</div>
    +
    +
    + +

    + CSS + +

    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $input-group-addon-padding-y:           $input-padding-y;
    +$input-group-addon-padding-x:           $input-padding-x;
    +$input-group-addon-font-weight:         $input-font-weight;
    +$input-group-addon-color:               $input-color;
    +$input-group-addon-bg:                  var(--#{$prefix}tertiary-bg);
    +$input-group-addon-border-color:        $input-border-color;
    +
    +
    +
    +
    +
    - -
    - - -

    Basic example

    -

    Place one add-on or button on either side of an input. You may also place one on both sides of an input. Remember to place <label>s outside the input group.

    -
    -
    - @ - -
    - -
    - - @example.com -
    - - -
    - https://example.com/users/ - -
    - -
    - $ - - .00 -
    - -
    - - @ - -
    - -
    - With textarea - -
    -
    <div class="input-group mb-3">
    -  <span class="input-group-text" id="basic-addon1">@</span>
    -  <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1">
    -</div>
    -
    -<div class="input-group mb-3">
    -  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="basic-addon2">
    -  <span class="input-group-text" id="basic-addon2">@example.com</span>
    -</div>
    -
    -<label for="basic-url" class="form-label">Your vanity URL</label>
    -<div class="input-group mb-3">
    -  <span class="input-group-text" id="basic-addon3">https://example.com/users/</span>
    -  <input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3">
    -</div>
    -
    -<div class="input-group mb-3">
    -  <span class="input-group-text">$</span>
    -  <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
    -  <span class="input-group-text">.00</span>
    -</div>
    -
    -<div class="input-group mb-3">
    -  <input type="text" class="form-control" placeholder="Username" aria-label="Username">
    -  <span class="input-group-text">@</span>
    -  <input type="text" class="form-control" placeholder="Server" aria-label="Server">
    -</div>
    -
    -<div class="input-group">
    -  <span class="input-group-text">With textarea</span>
    -  <textarea class="form-control" aria-label="With textarea"></textarea>
    -</div>
    -

    Wrapping

    -

    Input groups wrap by default via flex-wrap: wrap in order to accommodate custom form field validation within an input group. You may disable this with .flex-nowrap.

    -
    -
    - @ - -
    -
    <div class="input-group flex-nowrap">
    -  <span class="input-group-text" id="addon-wrapping">@</span>
    -  <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="addon-wrapping">
    -</div>
    -

    Sizing

    -

    Add the relative form sizing classes to the .input-group itself and contents within will automatically resize—no need for repeating the form control size classes on each element.

    -

    Sizing on the individual input group elements isn’t supported.

    -
    -
    - Small - -
    - -
    - Default - -
    - -
    - Large - -
    -
    <div class="input-group input-group-sm mb-3">
    -  <span class="input-group-text" id="inputGroup-sizing-sm">Small</span>
    -  <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-sm">
    -</div>
    -
    -<div class="input-group mb-3">
    -  <span class="input-group-text" id="inputGroup-sizing-default">Default</span>
    -  <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-default">
    -</div>
    -
    -<div class="input-group input-group-lg">
    -  <span class="input-group-text" id="inputGroup-sizing-lg">Large</span>
    -  <input type="text" class="form-control" aria-label="Sizing example input" aria-describedby="inputGroup-sizing-lg">
    -</div>
    -

    Checkboxes and radios

    -

    Place any checkbox or radio option within an input group’s addon instead of text. We recommend adding .mt-0 to the .form-check-input when there’s no visible text next to the input.

    -
    -
    -
    - -
    - -
    - -
    -
    - -
    - -
    -
    <div class="input-group mb-3">
    -  <div class="input-group-text">
    -    <input class="form-check-input mt-0" type="checkbox" value="" aria-label="Checkbox for following text input">
    -  </div>
    -  <input type="text" class="form-control" aria-label="Text input with checkbox">
    -</div>
    -
    -<div class="input-group">
    -  <div class="input-group-text">
    -    <input class="form-check-input mt-0" type="radio" value="" aria-label="Radio button for following text input">
    -  </div>
    -  <input type="text" class="form-control" aria-label="Text input with radio button">
    -</div>
    -

    Multiple inputs

    -

    While multiple <input>s are supported visually, validation styles are only available for input groups with a single <input>.

    -
    -
    - First and last name - - -
    -
    <div class="input-group">
    -  <span class="input-group-text">First and last name</span>
    -  <input type="text" aria-label="First name" class="form-control">
    -  <input type="text" aria-label="Last name" class="form-control">
    -</div>
    -

    Multiple addons

    -

    Multiple add-ons are supported and can be mixed with checkbox and radio input versions.

    -
    -
    - $ - 0.00 - -
    - -
    - - $ - 0.00 -
    -
    <div class="input-group mb-3">
    -  <span class="input-group-text">$</span>
    -  <span class="input-group-text">0.00</span>
    -  <input type="text" class="form-control" aria-label="Dollar amount (with dot and two decimal places)">
    -</div>
    -
    -<div class="input-group">
    -  <input type="text" class="form-control" aria-label="Dollar amount (with dot and two decimal places)">
    -  <span class="input-group-text">$</span>
    -  <span class="input-group-text">0.00</span>
    -</div>
    -

    Button addons

    -
    -
    - - -
    - -
    - - -
    - -
    - - - -
    - -
    - - - -
    -
    <div class="input-group mb-3">
    -  <button class="btn btn-outline-secondary" type="button" id="button-addon1">Button</button>
    -  <input type="text" class="form-control" placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1">
    -</div>
    -
    -<div class="input-group mb-3">
    -  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="button-addon2">
    -  <button class="btn btn-outline-secondary" type="button" id="button-addon2">Button</button>
    -</div>
    -
    -<div class="input-group mb-3">
    -  <button class="btn btn-outline-secondary" type="button">Button</button>
    -  <button class="btn btn-outline-secondary" type="button">Button</button>
    -  <input type="text" class="form-control" placeholder="" aria-label="Example text with two button addons">
    -</div>
    -
    -<div class="input-group">
    -  <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username with two button addons">
    -  <button class="btn btn-outline-secondary" type="button">Button</button>
    -  <button class="btn btn-outline-secondary" type="button">Button</button>
    -</div>
    -

    Buttons with dropdowns

    -
    <div class="input-group mb-3">
    -  <button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
    -  <ul class="dropdown-menu">
    -    <li><a class="dropdown-item" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    <li><hr class="dropdown-divider"></li>
    -    <li><a class="dropdown-item" href="#">Separated link</a></li>
    -  </ul>
    -  <input type="text" class="form-control" aria-label="Text input with dropdown button">
    -</div>
    -
    -<div class="input-group mb-3">
    -  <input type="text" class="form-control" aria-label="Text input with dropdown button">
    -  <button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
    -  <ul class="dropdown-menu dropdown-menu-end">
    -    <li><a class="dropdown-item" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    <li><hr class="dropdown-divider"></li>
    -    <li><a class="dropdown-item" href="#">Separated link</a></li>
    -  </ul>
    -</div>
    -
    -<div class="input-group">
    -  <button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
    -  <ul class="dropdown-menu">
    -    <li><a class="dropdown-item" href="#">Action before</a></li>
    -    <li><a class="dropdown-item" href="#">Another action before</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    <li><hr class="dropdown-divider"></li>
    -    <li><a class="dropdown-item" href="#">Separated link</a></li>
    -  </ul>
    -  <input type="text" class="form-control" aria-label="Text input with 2 dropdown buttons">
    -  <button class="btn btn-outline-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</button>
    -  <ul class="dropdown-menu dropdown-menu-end">
    -    <li><a class="dropdown-item" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    <li><hr class="dropdown-divider"></li>
    -    <li><a class="dropdown-item" href="#">Separated link</a></li>
    -  </ul>
    -</div>
    -

    Segmented buttons

    -
    -
    - - - - -
    - -
    - - - - -
    -
    <div class="input-group mb-3">
    -  <button type="button" class="btn btn-outline-secondary">Action</button>
    -  <button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    -    <span class="visually-hidden">Toggle Dropdown</span>
    -  </button>
    -  <ul class="dropdown-menu">
    -    <li><a class="dropdown-item" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    <li><hr class="dropdown-divider"></li>
    -    <li><a class="dropdown-item" href="#">Separated link</a></li>
    -  </ul>
    -  <input type="text" class="form-control" aria-label="Text input with segmented dropdown button">
    -</div>
    -
    -<div class="input-group">
    -  <input type="text" class="form-control" aria-label="Text input with segmented dropdown button">
    -  <button type="button" class="btn btn-outline-secondary">Action</button>
    -  <button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
    -    <span class="visually-hidden">Toggle Dropdown</span>
    -  </button>
    -  <ul class="dropdown-menu dropdown-menu-end">
    -    <li><a class="dropdown-item" href="#">Action</a></li>
    -    <li><a class="dropdown-item" href="#">Another action</a></li>
    -    <li><a class="dropdown-item" href="#">Something else here</a></li>
    -    <li><hr class="dropdown-divider"></li>
    -    <li><a class="dropdown-item" href="#">Separated link</a></li>
    -  </ul>
    -</div>
    -

    Custom forms

    -

    Input groups include support for custom selects and custom file inputs. Browser default versions of these are not supported.

    -

    Custom select

    -
    -
    - - -
    - -
    - - -
    - -
    - - -
    - -
    - - -
    -
    <div class="input-group mb-3">
    -  <label class="input-group-text" for="inputGroupSelect01">Options</label>
    -  <select class="form-select" id="inputGroupSelect01">
    -    <option selected>Choose...</option>
    -    <option value="1">One</option>
    -    <option value="2">Two</option>
    -    <option value="3">Three</option>
    -  </select>
    -</div>
    -
    -<div class="input-group mb-3">
    -  <select class="form-select" id="inputGroupSelect02">
    -    <option selected>Choose...</option>
    -    <option value="1">One</option>
    -    <option value="2">Two</option>
    -    <option value="3">Three</option>
    -  </select>
    -  <label class="input-group-text" for="inputGroupSelect02">Options</label>
    -</div>
    -
    -<div class="input-group mb-3">
    -  <button class="btn btn-outline-secondary" type="button">Button</button>
    -  <select class="form-select" id="inputGroupSelect03" aria-label="Example select with button addon">
    -    <option selected>Choose...</option>
    -    <option value="1">One</option>
    -    <option value="2">Two</option>
    -    <option value="3">Three</option>
    -  </select>
    -</div>
    -
    -<div class="input-group">
    -  <select class="form-select" id="inputGroupSelect04" aria-label="Example select with button addon">
    -    <option selected>Choose...</option>
    -    <option value="1">One</option>
    -    <option value="2">Two</option>
    -    <option value="3">Three</option>
    -  </select>
    -  <button class="btn btn-outline-secondary" type="button">Button</button>
    -</div>
    -

    Custom file input

    -
    -
    - - -
    - -
    - - -
    - -
    - - -
    - -
    - - -
    -
    <div class="input-group mb-3">
    -  <label class="input-group-text" for="inputGroupFile01">Upload</label>
    -  <input type="file" class="form-control" id="inputGroupFile01">
    -</div>
    -
    -<div class="input-group mb-3">
    -  <input type="file" class="form-control" id="inputGroupFile02">
    -  <label class="input-group-text" for="inputGroupFile02">Upload</label>
    -</div>
    -
    -<div class="input-group mb-3">
    -  <button class="btn btn-outline-secondary" type="button" id="inputGroupFileAddon03">Button</button>
    -  <input type="file" class="form-control" id="inputGroupFile03" aria-describedby="inputGroupFileAddon03" aria-label="Upload">
    -</div>
    -
    -<div class="input-group">
    -  <input type="file" class="form-control" id="inputGroupFile04" aria-describedby="inputGroupFileAddon04" aria-label="Upload">
    -  <button class="btn btn-outline-secondary" type="button" id="inputGroupFileAddon04">Button</button>
    -</div>
    -

    Sass

    -

    Variables

    -
    $input-group-addon-padding-y:           $input-padding-y;
    -$input-group-addon-padding-x:           $input-padding-x;
    -$input-group-addon-font-weight:         $input-font-weight;
    -$input-group-addon-color:               $input-color;
    -$input-group-addon-bg:                  $gray-200;
    -$input-group-addon-border-color:        $input-border-color;
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/forms/layout/index.html b/forms/layout/index.html index df96c96..3a3002a 100644 --- a/forms/layout/index.html +++ b/forms/layout/index.html @@ -1,988 +1,3123 @@ - - - - - - - - - - - - - - - -Layout · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Layout · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Layout

    +
    +

    + Give your forms some structure—from inline to horizontal to custom + grid implementations—with our form layout options. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Layout

    +
    + + On this page +
    +
    -

    Give your forms some structure—from inline to horizontal to custom grid implementations—with our form layout options.

    - - -
    - -
    - On this page - +
    +

    + Forms + +

    +

    + Every group of form fields should reside in a + <form> element. Bootstrap provides no default + styling for the <form> element, but there are + some powerful browser features that are provided by default. +

    +
      +
    • + New to browser forms? Consider reviewing + the MDN form docs + for an overview and complete list of available attributes. +
    • +
    • + <button>s within a + <form> default to + type="submit", so strive to be specific and + always include a type. +
    • +
    +

    + Since Bootstrap applies display: block and + width: 100% to almost all our form controls, forms will + by default stack vertically. Additional classes can be used to vary + this layout on a per-form basis. +

    +

    + Utilities + +

    +

    + Margin utilities + are the easiest way to add some structure to forms. They provide + basic grouping of labels, controls, optional form text, and form + validation messaging. We recommend sticking to + margin-bottom utilities, and using a single direction + throughout the form for consistency. +

    +

    + Feel free to build your forms however you like, with + <fieldset>s, <div>s, or nearly + any other element. +

    +
    +
    +
    + + +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="mb-3">
    +  <label for="formGroupExampleInput" class="form-label">Example label</label>
    +  <input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input placeholder">
    +</div>
    +<div class="mb-3">
    +  <label for="formGroupExampleInput2" class="form-label">Another label</label>
    +  <input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input placeholder">
    +</div>
    +
    +
    + +

    + Form grid + +

    +

    + More complex forms can be built using our grid classes. Use these + for form layouts that require multiple columns, varied widths, and + additional alignment options. + Requires the $enable-grid-classes Sass variable to + be enabled + (on by default). +

    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row">
    +  <div class="col">
    +    <input type="text" class="form-control" placeholder="First name" aria-label="First name">
    +  </div>
    +  <div class="col">
    +    <input type="text" class="form-control" placeholder="Last name" aria-label="Last name">
    +  </div>
    +</div>
    +
    +
    + +

    + Gutters + +

    +

    + By adding + gutter modifier classes, you can have control over the gutter width in as well the inline + as block direction. + Also requires the $enable-grid-classes Sass variable + to be enabled + (on by default). +

    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row g-3">
    +  <div class="col">
    +    <input type="text" class="form-control" placeholder="First name" aria-label="First name">
    +  </div>
    +  <div class="col">
    +    <input type="text" class="form-control" placeholder="Last name" aria-label="Last name">
    +  </div>
    +</div>
    +
    +
    + +

    More complex layouts can also be created with the grid system.

    +
    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + + +
    +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="row g-3">
    +  <div class="col-md-6">
    +    <label for="inputEmail4" class="form-label">Email</label>
    +    <input type="email" class="form-control" id="inputEmail4">
    +  </div>
    +  <div class="col-md-6">
    +    <label for="inputPassword4" class="form-label">Password</label>
    +    <input type="password" class="form-control" id="inputPassword4">
    +  </div>
    +  <div class="col-12">
    +    <label for="inputAddress" class="form-label">Address</label>
    +    <input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St">
    +  </div>
    +  <div class="col-12">
    +    <label for="inputAddress2" class="form-label">Address 2</label>
    +    <input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor">
    +  </div>
    +  <div class="col-md-6">
    +    <label for="inputCity" class="form-label">City</label>
    +    <input type="text" class="form-control" id="inputCity">
    +  </div>
    +  <div class="col-md-4">
    +    <label for="inputState" class="form-label">State</label>
    +    <select id="inputState" class="form-select">
    +      <option selected>Choose...</option>
    +      <option>...</option>
    +    </select>
    +  </div>
    +  <div class="col-md-2">
    +    <label for="inputZip" class="form-label">Zip</label>
    +    <input type="text" class="form-control" id="inputZip">
    +  </div>
    +  <div class="col-12">
    +    <div class="form-check">
    +      <input class="form-check-input" type="checkbox" id="gridCheck">
    +      <label class="form-check-label" for="gridCheck">
    +        Check me out
    +      </label>
    +    </div>
    +  </div>
    +  <div class="col-12">
    +    <button type="submit" class="btn btn-primary">Sign in</button>
    +  </div>
    +</form>
    +
    +
    + +

    + Horizontal form + +

    +

    + Create horizontal forms with the grid by adding the + .row class to form groups and using the + .col-*-* classes to specify the width of your labels + and controls. Be sure to add .col-form-label to your + <label>s as well so they’re vertically + centered with their associated form controls. +

    +

    + At times, you maybe need to use margin or padding utilities to + create that perfect alignment you need. For example, we’ve + removed the padding-top on our stacked radio inputs + label to better align the text baseline. +

    +
    +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + Radios +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    +
    +
    +
    + + +
    +
    +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form>
    +  <div class="row mb-3">
    +    <label for="inputEmail3" class="col-sm-2 col-form-label">Email</label>
    +    <div class="col-sm-10">
    +      <input type="email" class="form-control" id="inputEmail3">
    +    </div>
    +  </div>
    +  <div class="row mb-3">
    +    <label for="inputPassword3" class="col-sm-2 col-form-label">Password</label>
    +    <div class="col-sm-10">
    +      <input type="password" class="form-control" id="inputPassword3">
    +    </div>
    +  </div>
    +  <fieldset class="row mb-3">
    +    <legend class="col-form-label col-sm-2 pt-0">Radios</legend>
    +    <div class="col-sm-10">
    +      <div class="form-check">
    +        <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios1" value="option1" checked>
    +        <label class="form-check-label" for="gridRadios1">
    +          First radio
    +        </label>
    +      </div>
    +      <div class="form-check">
    +        <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios2" value="option2">
    +        <label class="form-check-label" for="gridRadios2">
    +          Second radio
    +        </label>
    +      </div>
    +      <div class="form-check disabled">
    +        <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios3" value="option3" disabled>
    +        <label class="form-check-label" for="gridRadios3">
    +          Third disabled radio
    +        </label>
    +      </div>
    +    </div>
    +  </fieldset>
    +  <div class="row mb-3">
    +    <div class="col-sm-10 offset-sm-2">
    +      <div class="form-check">
    +        <input class="form-check-input" type="checkbox" id="gridCheck1">
    +        <label class="form-check-label" for="gridCheck1">
    +          Example checkbox
    +        </label>
    +      </div>
    +    </div>
    +  </div>
    +  <button type="submit" class="btn btn-primary">Sign in</button>
    +</form>
    +
    +
    + +

    + Horizontal form label sizing + +

    +

    + Be sure to use .col-form-label-sm or + .col-form-label-lg to your <label>s + or <legend>s to correctly follow the size of + .form-control-lg and .form-control-sm. +

    +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row mb-3">
    +  <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm">Email</label>
    +  <div class="col-sm-10">
    +    <input type="email" class="form-control form-control-sm" id="colFormLabelSm" placeholder="col-form-label-sm">
    +  </div>
    +</div>
    +<div class="row mb-3">
    +  <label for="colFormLabel" class="col-sm-2 col-form-label">Email</label>
    +  <div class="col-sm-10">
    +    <input type="email" class="form-control" id="colFormLabel" placeholder="col-form-label">
    +  </div>
    +</div>
    +<div class="row">
    +  <label for="colFormLabelLg" class="col-sm-2 col-form-label col-form-label-lg">Email</label>
    +  <div class="col-sm-10">
    +    <input type="email" class="form-control form-control-lg" id="colFormLabelLg" placeholder="col-form-label-lg">
    +  </div>
    +</div>
    +
    +
    + +

    + Column sizing + +

    +

    + As shown in the previous examples, our grid system allows you to + place any number of .cols within a .row. + They’ll split the available width equally between them. You + may also pick a subset of your columns to take up more or less + space, while the remaining .cols equally split the + rest, with specific column classes like .col-sm-7. +

    +
    +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row g-3">
    +  <div class="col-sm-7">
    +    <input type="text" class="form-control" placeholder="City" aria-label="City">
    +  </div>
    +  <div class="col-sm">
    +    <input type="text" class="form-control" placeholder="State" aria-label="State">
    +  </div>
    +  <div class="col-sm">
    +    <input type="text" class="form-control" placeholder="Zip" aria-label="Zip">
    +  </div>
    +</div>
    +
    +
    + +

    + Auto-sizing + +

    +

    + The example below uses a flexbox utility to vertically center the + contents and changes .col to .col-auto so + that your columns only take up as much space as needed. Put another + way, the column sizes itself based on the contents. +

    +
    +
    +
    +
    + + +
    +
    + +
    +
    @
    + +
    +
    +
    + + +
    +
    +
    + + +
    +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="row gy-2 gx-3 align-items-center">
    +  <div class="col-auto">
    +    <label class="visually-hidden" for="autoSizingInput">Name</label>
    +    <input type="text" class="form-control" id="autoSizingInput" placeholder="Jane Doe">
    +  </div>
    +  <div class="col-auto">
    +    <label class="visually-hidden" for="autoSizingInputGroup">Username</label>
    +    <div class="input-group">
    +      <div class="input-group-text">@</div>
    +      <input type="text" class="form-control" id="autoSizingInputGroup" placeholder="Username">
    +    </div>
    +  </div>
    +  <div class="col-auto">
    +    <label class="visually-hidden" for="autoSizingSelect">Preference</label>
    +    <select class="form-select" id="autoSizingSelect">
    +      <option selected>Choose...</option>
    +      <option value="1">One</option>
    +      <option value="2">Two</option>
    +      <option value="3">Three</option>
    +    </select>
    +  </div>
    +  <div class="col-auto">
    +    <div class="form-check">
    +      <input class="form-check-input" type="checkbox" id="autoSizingCheck">
    +      <label class="form-check-label" for="autoSizingCheck">
    +        Remember me
    +      </label>
    +    </div>
    +  </div>
    +  <div class="col-auto">
    +    <button type="submit" class="btn btn-primary">Submit</button>
    +  </div>
    +</form>
    +
    +
    + +

    + You can then remix that once again with size-specific column + classes. +

    +
    +
    +
    +
    + + +
    +
    + +
    +
    @
    + +
    +
    +
    + + +
    +
    +
    + + +
    +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="row gx-3 gy-2 align-items-center">
    +  <div class="col-sm-3">
    +    <label class="visually-hidden" for="specificSizeInputName">Name</label>
    +    <input type="text" class="form-control" id="specificSizeInputName" placeholder="Jane Doe">
    +  </div>
    +  <div class="col-sm-3">
    +    <label class="visually-hidden" for="specificSizeInputGroupUsername">Username</label>
    +    <div class="input-group">
    +      <div class="input-group-text">@</div>
    +      <input type="text" class="form-control" id="specificSizeInputGroupUsername" placeholder="Username">
    +    </div>
    +  </div>
    +  <div class="col-sm-3">
    +    <label class="visually-hidden" for="specificSizeSelect">Preference</label>
    +    <select class="form-select" id="specificSizeSelect">
    +      <option selected>Choose...</option>
    +      <option value="1">One</option>
    +      <option value="2">Two</option>
    +      <option value="3">Three</option>
    +    </select>
    +  </div>
    +  <div class="col-auto">
    +    <div class="form-check">
    +      <input class="form-check-input" type="checkbox" id="autoSizingCheck2">
    +      <label class="form-check-label" for="autoSizingCheck2">
    +        Remember me
    +      </label>
    +    </div>
    +  </div>
    +  <div class="col-auto">
    +    <button type="submit" class="btn btn-primary">Submit</button>
    +  </div>
    +</form>
    +
    +
    + +

    + Inline forms + +

    +

    + Use the .row-cols-* classes to create responsive + horizontal layouts. By adding + gutter modifier classes, we’ll have gutters in horizontal and vertical directions. + On narrow mobile viewports, the .col-12 helps stack the + form controls and more. The .align-items-center aligns + the form elements to the middle, making the + .form-check align properly. +

    +
    +
    +
    +
    + +
    +
    @
    + +
    +
    + +
    + + +
    + +
    +
    + + +
    +
    + +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="row row-cols-lg-auto g-3 align-items-center">
    +  <div class="col-12">
    +    <label class="visually-hidden" for="inlineFormInputGroupUsername">Username</label>
    +    <div class="input-group">
    +      <div class="input-group-text">@</div>
    +      <input type="text" class="form-control" id="inlineFormInputGroupUsername" placeholder="Username">
    +    </div>
    +  </div>
    +
    +  <div class="col-12">
    +    <label class="visually-hidden" for="inlineFormSelectPref">Preference</label>
    +    <select class="form-select" id="inlineFormSelectPref">
    +      <option selected>Choose...</option>
    +      <option value="1">One</option>
    +      <option value="2">Two</option>
    +      <option value="3">Three</option>
    +    </select>
    +  </div>
    +
    +  <div class="col-12">
    +    <div class="form-check">
    +      <input class="form-check-input" type="checkbox" id="inlineFormCheck">
    +      <label class="form-check-label" for="inlineFormCheck">
    +        Remember me
    +      </label>
    +    </div>
    +  </div>
    +
    +  <div class="col-12">
    +    <button type="submit" class="btn btn-primary">Submit</button>
    +  </div>
    +</form>
    +
    +
    - - -
    - - -

    Forms

    -

    Every group of form fields should reside in a <form> element. Bootstrap provides no default styling for the <form> element, but there are some powerful browser features that are provided by default.

    -
      -
    • New to browser forms? Consider reviewing the MDN form docs for an overview and complete list of available attributes.
    • -
    • <button>s within a <form> default to type="submit", so strive to be specific and always include a type.
    • -
    • You can disable every form element within a form with the disabled attribute on the <form>.
    • -
    -

    Since Bootstrap applies display: block and width: 100% to almost all our form controls, forms will by default stack vertically. Additional classes can be used to vary this layout on a per-form basis.

    -

    Utilities

    -

    Margin utilities are the easiest way to add some structure to forms. They provide basic grouping of labels, controls, optional form text, and form validation messaging. We recommend sticking to margin-bottom utilities, and using a single direction throughout the form for consistency.

    -

    Feel free to build your forms however you like, with <fieldset>s, <div>s, or nearly any other element.

    -
    -
    - - -
    -
    - - -
    -
    <div class="mb-3">
    -  <label for="formGroupExampleInput" class="form-label">Example label</label>
    -  <input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input placeholder">
    -</div>
    -<div class="mb-3">
    -  <label for="formGroupExampleInput2" class="form-label">Another label</label>
    -  <input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input placeholder">
    -</div>
    -

    Form grid

    -

    More complex forms can be built using our grid classes. Use these for form layouts that require multiple columns, varied widths, and additional alignment options. Requires the $enable-grid-classes Sass variable to be enabled (on by default).

    -
    -
    -
    - -
    -
    - -
    -
    -
    <div class="row">
    -  <div class="col">
    -    <input type="text" class="form-control" placeholder="First name" aria-label="First name">
    -  </div>
    -  <div class="col">
    -    <input type="text" class="form-control" placeholder="Last name" aria-label="Last name">
    -  </div>
    -</div>
    -

    Gutters

    -

    By adding gutter modifier classes, you can have control over the gutter width in as well the inline as block direction. Also requires the $enable-grid-classes Sass variable to be enabled (on by default).

    -
    -
    -
    - -
    -
    - -
    -
    -
    <div class="row g-3">
    -  <div class="col">
    -    <input type="text" class="form-control" placeholder="First name" aria-label="First name">
    -  </div>
    -  <div class="col">
    -    <input type="text" class="form-control" placeholder="Last name" aria-label="Last name">
    -  </div>
    -</div>
    -

    More complex layouts can also be created with the grid system.

    -
    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    <form class="row g-3">
    -  <div class="col-md-6">
    -    <label for="inputEmail4" class="form-label">Email</label>
    -    <input type="email" class="form-control" id="inputEmail4">
    -  </div>
    -  <div class="col-md-6">
    -    <label for="inputPassword4" class="form-label">Password</label>
    -    <input type="password" class="form-control" id="inputPassword4">
    -  </div>
    -  <div class="col-12">
    -    <label for="inputAddress" class="form-label">Address</label>
    -    <input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St">
    -  </div>
    -  <div class="col-12">
    -    <label for="inputAddress2" class="form-label">Address 2</label>
    -    <input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor">
    -  </div>
    -  <div class="col-md-6">
    -    <label for="inputCity" class="form-label">City</label>
    -    <input type="text" class="form-control" id="inputCity">
    -  </div>
    -  <div class="col-md-4">
    -    <label for="inputState" class="form-label">State</label>
    -    <select id="inputState" class="form-select">
    -      <option selected>Choose...</option>
    -      <option>...</option>
    -    </select>
    -  </div>
    -  <div class="col-md-2">
    -    <label for="inputZip" class="form-label">Zip</label>
    -    <input type="text" class="form-control" id="inputZip">
    -  </div>
    -  <div class="col-12">
    -    <div class="form-check">
    -      <input class="form-check-input" type="checkbox" id="gridCheck">
    -      <label class="form-check-label" for="gridCheck">
    -        Check me out
    -      </label>
    -    </div>
    -  </div>
    -  <div class="col-12">
    -    <button type="submit" class="btn btn-primary">Sign in</button>
    -  </div>
    -</form>
    -

    Horizontal form

    -

    Create horizontal forms with the grid by adding the .row class to form groups and using the .col-*-* classes to specify the width of your labels and controls. Be sure to add .col-form-label to your <label>s as well so they’re vertically centered with their associated form controls.

    -

    At times, you maybe need to use margin or padding utilities to create that perfect alignment you need. For example, we’ve removed the padding-top on our stacked radio inputs label to better align the text baseline.

    -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - Radios -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    -
    -
    -
    -
    - - -
    -
    -
    - -
    -
    <form>
    -  <div class="row mb-3">
    -    <label for="inputEmail3" class="col-sm-2 col-form-label">Email</label>
    -    <div class="col-sm-10">
    -      <input type="email" class="form-control" id="inputEmail3">
    -    </div>
    -  </div>
    -  <div class="row mb-3">
    -    <label for="inputPassword3" class="col-sm-2 col-form-label">Password</label>
    -    <div class="col-sm-10">
    -      <input type="password" class="form-control" id="inputPassword3">
    -    </div>
    -  </div>
    -  <fieldset class="row mb-3">
    -    <legend class="col-form-label col-sm-2 pt-0">Radios</legend>
    -    <div class="col-sm-10">
    -      <div class="form-check">
    -        <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios1" value="option1" checked>
    -        <label class="form-check-label" for="gridRadios1">
    -          First radio
    -        </label>
    -      </div>
    -      <div class="form-check">
    -        <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios2" value="option2">
    -        <label class="form-check-label" for="gridRadios2">
    -          Second radio
    -        </label>
    -      </div>
    -      <div class="form-check disabled">
    -        <input class="form-check-input" type="radio" name="gridRadios" id="gridRadios3" value="option3" disabled>
    -        <label class="form-check-label" for="gridRadios3">
    -          Third disabled radio
    -        </label>
    -      </div>
    -    </div>
    -  </fieldset>
    -  <div class="row mb-3">
    -    <div class="col-sm-10 offset-sm-2">
    -      <div class="form-check">
    -        <input class="form-check-input" type="checkbox" id="gridCheck1">
    -        <label class="form-check-label" for="gridCheck1">
    -          Example checkbox
    -        </label>
    -      </div>
    -    </div>
    -  </div>
    -  <button type="submit" class="btn btn-primary">Sign in</button>
    -</form>
    -

    Horizontal form label sizing

    -

    Be sure to use .col-form-label-sm or .col-form-label-lg to your <label>s or <legend>s to correctly follow the size of .form-control-lg and .form-control-sm.

    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    <div class="row mb-3">
    -  <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm">Email</label>
    -  <div class="col-sm-10">
    -    <input type="email" class="form-control form-control-sm" id="colFormLabelSm" placeholder="col-form-label-sm">
    -  </div>
    -</div>
    -<div class="row mb-3">
    -  <label for="colFormLabel" class="col-sm-2 col-form-label">Email</label>
    -  <div class="col-sm-10">
    -    <input type="email" class="form-control" id="colFormLabel" placeholder="col-form-label">
    -  </div>
    -</div>
    -<div class="row">
    -  <label for="colFormLabelLg" class="col-sm-2 col-form-label col-form-label-lg">Email</label>
    -  <div class="col-sm-10">
    -    <input type="email" class="form-control form-control-lg" id="colFormLabelLg" placeholder="col-form-label-lg">
    -  </div>
    -</div>
    -

    Column sizing

    -

    As shown in the previous examples, our grid system allows you to place any number of .cols within a .row. They’ll split the available width equally between them. You may also pick a subset of your columns to take up more or less space, while the remaining .cols equally split the rest, with specific column classes like .col-sm-7.

    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    <div class="row g-3">
    -  <div class="col-sm-7">
    -    <input type="text" class="form-control" placeholder="City" aria-label="City">
    -  </div>
    -  <div class="col-sm">
    -    <input type="text" class="form-control" placeholder="State" aria-label="State">
    -  </div>
    -  <div class="col-sm">
    -    <input type="text" class="form-control" placeholder="Zip" aria-label="Zip">
    -  </div>
    -</div>
    -

    Auto-sizing

    -

    The example below uses a flexbox utility to vertically center the contents and changes .col to .col-auto so that your columns only take up as much space as needed. Put another way, the column sizes itself based on the contents.

    -
    -
    -
    - - -
    -
    - -
    -
    @
    - -
    -
    -
    - - -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    <form class="row gy-2 gx-3 align-items-center">
    -  <div class="col-auto">
    -    <label class="visually-hidden" for="autoSizingInput">Name</label>
    -    <input type="text" class="form-control" id="autoSizingInput" placeholder="Jane Doe">
    -  </div>
    -  <div class="col-auto">
    -    <label class="visually-hidden" for="autoSizingInputGroup">Username</label>
    -    <div class="input-group">
    -      <div class="input-group-text">@</div>
    -      <input type="text" class="form-control" id="autoSizingInputGroup" placeholder="Username">
    -    </div>
    -  </div>
    -  <div class="col-auto">
    -    <label class="visually-hidden" for="autoSizingSelect">Preference</label>
    -    <select class="form-select" id="autoSizingSelect">
    -      <option selected>Choose...</option>
    -      <option value="1">One</option>
    -      <option value="2">Two</option>
    -      <option value="3">Three</option>
    -    </select>
    -  </div>
    -  <div class="col-auto">
    -    <div class="form-check">
    -      <input class="form-check-input" type="checkbox" id="autoSizingCheck">
    -      <label class="form-check-label" for="autoSizingCheck">
    -        Remember me
    -      </label>
    -    </div>
    -  </div>
    -  <div class="col-auto">
    -    <button type="submit" class="btn btn-primary">Submit</button>
    -  </div>
    -</form>
    -

    You can then remix that once again with size-specific column classes.

    -
    -
    -
    - - -
    -
    - -
    -
    @
    - -
    -
    -
    - - -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    <form class="row gx-3 gy-2 align-items-center">
    -  <div class="col-sm-3">
    -    <label class="visually-hidden" for="specificSizeInputName">Name</label>
    -    <input type="text" class="form-control" id="specificSizeInputName" placeholder="Jane Doe">
    -  </div>
    -  <div class="col-sm-3">
    -    <label class="visually-hidden" for="specificSizeInputGroupUsername">Username</label>
    -    <div class="input-group">
    -      <div class="input-group-text">@</div>
    -      <input type="text" class="form-control" id="specificSizeInputGroupUsername" placeholder="Username">
    -    </div>
    -  </div>
    -  <div class="col-sm-3">
    -    <label class="visually-hidden" for="specificSizeSelect">Preference</label>
    -    <select class="form-select" id="specificSizeSelect">
    -      <option selected>Choose...</option>
    -      <option value="1">One</option>
    -      <option value="2">Two</option>
    -      <option value="3">Three</option>
    -    </select>
    -  </div>
    -  <div class="col-auto">
    -    <div class="form-check">
    -      <input class="form-check-input" type="checkbox" id="autoSizingCheck2">
    -      <label class="form-check-label" for="autoSizingCheck2">
    -        Remember me
    -      </label>
    -    </div>
    -  </div>
    -  <div class="col-auto">
    -    <button type="submit" class="btn btn-primary">Submit</button>
    -  </div>
    -</form>
    -

    Inline forms

    -

    Use the .row-cols-* classes to create responsive horizontal layouts. By adding gutter modifier classes, we’ll have gutters in horizontal and vertical directions. On narrow mobile viewports, the .col-12 helps stack the form controls and more. The .align-items-center aligns the form elements to the middle, making the .form-checkbox align properly.

    -
    -
    -
    - -
    -
    @
    - -
    -
    - -
    - - -
    - -
    -
    - - +
    - - -
    - -
    - -
    <form class="row row-cols-lg-auto g-3 align-items-center">
    -  <div class="col-12">
    -    <label class="visually-hidden" for="inlineFormInputGroupUsername">Username</label>
    -    <div class="input-group">
    -      <div class="input-group-text">@</div>
    -      <input type="text" class="form-control" id="inlineFormInputGroupUsername" placeholder="Username">
    -    </div>
    -  </div>
    -
    -  <div class="col-12">
    -    <label class="visually-hidden" for="inlineFormSelectPref">Preference</label>
    -    <select class="form-select" id="inlineFormSelectPref">
    -      <option selected>Choose...</option>
    -      <option value="1">One</option>
    -      <option value="2">Two</option>
    -      <option value="3">Three</option>
    -    </select>
    -  </div>
    -
    -  <div class="col-12">
    -    <div class="form-check">
    -      <input class="form-check-input" type="checkbox" id="inlineFormCheck">
    -      <label class="form-check-label" for="inlineFormCheck">
    -        Remember me
    -      </label>
    -    </div>
    -  </div>
    -
    -  <div class="col-12">
    -    <button type="submit" class="btn btn-primary">Submit</button>
    -  </div>
    -</form>
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/forms/overview/index.html b/forms/overview/index.html index 1c7e089..2ae80a1 100644 --- a/forms/overview/index.html +++ b/forms/overview/index.html @@ -1,696 +1,2386 @@ - - - - - - - - - - - - - - - -Forms · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Forms · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - -
    - + + + Bootstrap + + + -
    -
    -
    - View on GitHub -

    Forms

    +
    + + +
    -

    Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms.

    - - -
    +
    +
    +
    + Bootstrap +
    + +
    -
    - On this page - +
    +
    + + +
    + + +
    + + + +
    + + +
    +
    +
    + +

    Forms

    +
    +

    + Examples and usage guidelines for form control styles, layout + options, and custom components for creating a wide variety of forms. +

    +
    -
    +
    + + On this page +
    + +
    +
    +

    + Overview + +

    +

    + Bootstrap’s form controls expand on + our Rebooted form styles + with classes. Use these classes to opt into their customized + displays for a more consistent rendering across browsers and + devices. +

    +

    + Be sure to use an appropriate type attribute on all + inputs (e.g., email for email address or + number for numerical information) to take advantage of + newer input controls like email verification, number selection, and + more. +

    +

    + Here’s a quick example to demonstrate Bootstrap’s form + styles. Keep reading for documentation on required classes, form + layout, and more. +

    +
    +
    +
    +
    + + +
    + We'll never share your email with anyone else. +
    +
    +
    + + +
    +
    + + +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form>
    +  <div class="mb-3">
    +    <label for="exampleInputEmail1" class="form-label">Email address</label>
    +    <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
    +    <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div>
    +  </div>
    +  <div class="mb-3">
    +    <label for="exampleInputPassword1" class="form-label">Password</label>
    +    <input type="password" class="form-control" id="exampleInputPassword1">
    +  </div>
    +  <div class="mb-3 form-check">
    +    <input type="checkbox" class="form-check-input" id="exampleCheck1">
    +    <label class="form-check-label" for="exampleCheck1">Check me out</label>
    +  </div>
    +  <button type="submit" class="btn btn-primary">Submit</button>
    +</form>
    +
    +

    + Disabled forms + +

    +

    + Add the disabled boolean attribute on an input to + prevent user interactions and make it appear lighter. +

    +
    +
    <input class="form-control" id="disabledInput" type="text" placeholder="Disabled input here..." disabled>
    +
    +
    +

    + Add the disabled attribute to a + <fieldset> to disable all the controls within. + Browsers treat all native form controls (<input>, + <select>, and + <button> elements) inside a + <fieldset disabled> as disabled, preventing both + keyboard and mouse interactions on them. +

    +

    + However, if your form also includes custom button-like elements such + as <a class="btn btn-*">...</a>, + these will only be given a style of + pointer-events: none, meaning they are still focusable + and operable using the keyboard. In this case, you must manually + modify these controls by adding + tabindex="-1" to prevent them from receiving + focus and aria-disabled="disabled" to signal + their state to assistive technologies. +

    +
    +
    +
    +
    + Disabled fieldset example +
    + + +
    +
    + + +
    +
    +
    + + +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form>
    +  <fieldset disabled>
    +    <legend>Disabled fieldset example</legend>
    +    <div class="mb-3">
    +      <label for="disabledTextInput" class="form-label">Disabled input</label>
    +      <input type="text" id="disabledTextInput" class="form-control" placeholder="Disabled input">
    +    </div>
    +    <div class="mb-3">
    +      <label for="disabledSelect" class="form-label">Disabled select menu</label>
    +      <select id="disabledSelect" class="form-select">
    +        <option>Disabled select</option>
    +      </select>
    +    </div>
    +    <div class="mb-3">
    +      <div class="form-check">
    +        <input class="form-check-input" type="checkbox" id="disabledFieldsetCheck" disabled>
    +        <label class="form-check-label" for="disabledFieldsetCheck">
    +          Can't check this
    +        </label>
    +      </div>
    +    </div>
    +    <button type="submit" class="btn btn-primary">Submit</button>
    +  </fieldset>
    +</form>
    +
    +
    -

    Overview

    -

    Bootstrap’s form controls expand on our Rebooted form styles with classes. Use these classes to opt into their customized displays for a more consistent rendering across browsers and devices.

    -

    Be sure to use an appropriate type attribute on all inputs (e.g., email for email address or number for numerical information) to take advantage of newer input controls like email verification, number selection, and more.

    -

    Here’s a quick example to demonstrate Bootstrap’s form styles. Keep reading for documentation on required classes, form layout, and more.

    -
    -
    -
    - - -
    We'll never share your email with anyone else.
    -
    -
    - - -
    -
    - - -
    - -
    -
    <form>
    -  <div class="mb-3">
    -    <label for="exampleInputEmail1" class="form-label">Email address</label>
    -    <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
    -    <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div>
    -  </div>
    -  <div class="mb-3">
    -    <label for="exampleInputPassword1" class="form-label">Password</label>
    -    <input type="password" class="form-control" id="exampleInputPassword1">
    -  </div>
    -  <div class="mb-3 form-check">
    -    <input type="checkbox" class="form-check-input" id="exampleCheck1">
    -    <label class="form-check-label" for="exampleCheck1">Check me out</label>
    -  </div>
    -  <button type="submit" class="btn btn-primary">Submit</button>
    -</form>
    -

    Form text

    -

    Block-level or inline-level form text can be created using .form-text.

    -
    -
    Associating form text with form controls
    -

    Form text should be explicitly associated with the form control it relates to using the aria-describedby attribute. This will ensure that assistive technologies—such as screen readers—will announce this form text when the user focuses or enters the control. -

    - -

    Form text below inputs can be styled with .form-text. If a block-level element will be used, a top margin is added for easy spacing from the inputs above.

    -
    - - -
    - Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji. -
    -
    <label for="inputPassword5" class="form-label">Password</label>
    -<input type="password" id="inputPassword5" class="form-control" aria-describedby="passwordHelpBlock">
    -<div id="passwordHelpBlock" class="form-text">
    -  Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji.
    -</div>
    -

    Inline text can use any typical inline HTML element (be it a <span>, <small>, or something else) with nothing more than the .form-text class.

    -
    -
    -
    - -
    -
    - -
    -
    - - Must be 8-20 characters long. - -
    -
    -
    <div class="row g-3 align-items-center">
    -  <div class="col-auto">
    -    <label for="inputPassword6" class="col-form-label">Password</label>
    -  </div>
    -  <div class="col-auto">
    -    <input type="password" id="inputPassword6" class="form-control" aria-describedby="passwordHelpInline">
    -  </div>
    -  <div class="col-auto">
    -    <span id="passwordHelpInline" class="form-text">
    -      Must be 8-20 characters long.
    -    </span>
    -  </div>
    -</div>
    -

    Disabled forms

    -

    Add the disabled boolean attribute on an input to prevent user interactions and make it appear lighter.

    -
    <input class="form-control" id="disabledInput" type="text" placeholder="Disabled input here..." disabled>
    -

    Add the disabled attribute to a <fieldset> to disable all the controls within. Browsers treat all native form controls (<input>, <select>, and <button> elements) inside a <fieldset disabled> as disabled, preventing both keyboard and mouse interactions on them.

    -

    However, if your form also includes custom button-like elements such as <a class="btn btn-*">...</a>, these will only be given a style of pointer-events: none, meaning they are still focusable and operable using the keyboard. In this case, you must manually modify these controls by adding tabindex="-1" to prevent them from receiving focus and aria-disabled="disabled" to signal their state to assistive technologies.

    -
    -
    -
    - Disabled fieldset example -
    - - -
    -
    - - -
    -
    -
    - - -
    +

    + Accessibility + +

    +

    + Ensure that all form controls have an appropriate accessible name so + that their purpose can be conveyed to users of assistive + technologies. The simplest way to achieve this is to use a + <label> element, or—in the case of buttons—to + include sufficiently descriptive text as part of the + <button>...</button> content. +

    +

    + For situations where it’s not possible to include a visible + <label> or appropriate text content, there are + alternative ways of still providing an accessible name, such as: +

    +
      +
    • + <label> elements hidden using the + .visually-hidden class +
    • +
    • + Pointing to an existing element that can act as a label using + aria-labelledby +
    • +
    • Providing a title attribute
    • +
    • + Explicitly setting the accessible name on an element using + aria-label +
    • +
    +

    + If none of these are present, assistive technologies may resort to + using the placeholder attribute as a fallback for the + accessible name on <input> and + <textarea> elements. The examples in this section + provide a few suggested, case-specific approaches. +

    +

    + While using visually hidden content (.visually-hidden, + aria-label, and even placeholder content, + which disappears once a form field has content) will benefit + assistive technology users, a lack of visible label text may still + be problematic for certain users. Some form of visible label is + generally the best approach, both for accessibility and usability. +

    +

    + CSS + +

    +

    + Many form variables are set at a general level to be re-used and + extended by individual form components. You’ll see these most + often as $input-btn-* and + $input-* variables. +

    +

    + Sass variables + +

    +

    + $input-btn-* variables are shared global variables + between our + buttons and our + form components. You’ll find these frequently reassigned as + values to other component-specific variables. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $input-btn-padding-y:         .375rem;
    +$input-btn-padding-x:         .75rem;
    +$input-btn-font-family:       null;
    +$input-btn-font-size:         $font-size-base;
    +$input-btn-line-height:       $line-height-base;
    +
    +$input-btn-focus-width:         $focus-ring-width;
    +$input-btn-focus-color-opacity: $focus-ring-opacity;
    +$input-btn-focus-color:         $focus-ring-color;
    +$input-btn-focus-blur:          $focus-ring-blur;
    +$input-btn-focus-box-shadow:    $focus-ring-box-shadow;
    +
    +$input-btn-padding-y-sm:      .25rem;
    +$input-btn-padding-x-sm:      .5rem;
    +$input-btn-font-size-sm:      $font-size-sm;
    +
    +$input-btn-padding-y-lg:      .5rem;
    +$input-btn-padding-x-lg:      1rem;
    +$input-btn-font-size-lg:      $font-size-lg;
    +
    +$input-btn-border-width:      var(--#{$prefix}border-width);
    +
    +
    +
    +
    +
    - - - -
    <form>
    -  <fieldset disabled>
    -    <legend>Disabled fieldset example</legend>
    -    <div class="mb-3">
    -      <label for="disabledTextInput" class="form-label">Disabled input</label>
    -      <input type="text" id="disabledTextInput" class="form-control" placeholder="Disabled input">
    -    </div>
    -    <div class="mb-3">
    -      <label for="disabledSelect" class="form-label">Disabled select menu</label>
    -      <select id="disabledSelect" class="form-select">
    -        <option>Disabled select</option>
    -      </select>
    -    </div>
    -    <div class="mb-3">
    -      <div class="form-check">
    -        <input class="form-check-input" type="checkbox" id="disabledFieldsetCheck" disabled>
    -        <label class="form-check-label" for="disabledFieldsetCheck">
    -          Can't check this
    -        </label>
    -      </div>
    -    </div>
    -    <button type="submit" class="btn btn-primary">Submit</button>
    -  </fieldset>
    -</form>
    -

    Accessibility

    -

    Ensure that all form controls have an appropriate accessible name so that their purpose can be conveyed to users of assistive technologies. The simplest way to achieve this is to use a <label> element, or—in the case of buttons—to include sufficiently descriptive text as part of the <button>...</button> content.

    -

    For situations where it’s not possible to include a visible <label> or appropriate text content, there are alternative ways of still providing an accessible name, such as:

    -
      -
    • <label> elements hidden using the .visually-hidden class
    • -
    • Pointing to an existing element that can act as a label using aria-labelledby
    • -
    • Providing a title attribute
    • -
    • Explicitly setting the accessible name on an element using aria-label
    • -
    -

    If none of these are present, assistive technologies may resort to using the placeholder attribute as a fallback for the accessible name on <input> and <textarea> elements. The examples in this section provide a few suggested, case-specific approaches.

    -

    While using visually hidden content (.visually-hidden, aria-label, and even placeholder content, which disappears once a form field has content) will benefit assistive technology users, a lack of visible label text may still be problematic for certain users. Some form of visible label is generally the best approach, both for accessibility and usability.

    -

    Sass

    -

    Many form variables are set at a general level to be re-used and extended by individual form components. You’ll see these most often as $btn-input-* and $input-* variables.

    -

    Variables

    -

    $btn-input-* variables are shared global variables between our buttons and our form components. You’ll find these frequently reassigned as values to other component-specific variables.

    -
    $input-btn-padding-y:         .375rem;
    -$input-btn-padding-x:         .75rem;
    -$input-btn-font-family:       null;
    -$input-btn-font-size:         $font-size-base;
    -$input-btn-line-height:       $line-height-base;
    -
    -$input-btn-focus-width:         .25rem;
    -$input-btn-focus-color-opacity: .25;
    -$input-btn-focus-color:         rgba($component-active-bg, $input-btn-focus-color-opacity);
    -$input-btn-focus-blur:          0;
    -$input-btn-focus-box-shadow:    0 0 $input-btn-focus-blur $input-btn-focus-width $input-btn-focus-color;
    -
    -$input-btn-padding-y-sm:      .25rem;
    -$input-btn-padding-x-sm:      .5rem;
    -$input-btn-font-size-sm:      $font-size-sm;
    -
    -$input-btn-padding-y-lg:      .5rem;
    -$input-btn-padding-x-lg:      1rem;
    -$input-btn-font-size-lg:      $font-size-lg;
    -
    -$input-btn-border-width:      $border-width;
    -
    +
    -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/forms/range/index.html b/forms/range/index.html index 4d9fec5..0f50ed8 100644 --- a/forms/range/index.html +++ b/forms/range/index.html @@ -1,510 +1,2198 @@ - - - - - - - - - - - - - - - -Range · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Range · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Range

    +
    +

    + Use our custom range inputs for consistent cross-browser styling and + built-in customization. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Range

    +
    + + On this page +
    +
    + +
    -

    Use our custom range inputs for consistent cross-browser styling and built-in customization.

    - -
    - - -
    - On this page - +
    +

    + Overview + +

    +

    + Create custom + <input type="range"> controls with + .form-range. The track (the background) and thumb (the + value) are both styled to appear the same across browsers. As only + Firefox supports “filling” their track from the left or + right of the thumb as a means to visually indicate progress, we do + not currently support it. +

    +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <label for="customRange1" class="form-label">Example range</label>
    +<input type="range" class="form-range" id="customRange1">
    +
    +
    + +

    + Disabled + +

    +

    + Add the disabled boolean attribute on an input to give + it a grayed out appearance, remove pointer events, and prevent + focusing. +

    +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <label for="disabledRange" class="form-label">Disabled range</label>
    +<input type="range" class="form-range" id="disabledRange" disabled>
    +
    +
    + +

    + Min and max + +

    +

    + Range inputs have implicit values for min and + max0 and 100, respectively. + You may specify new values for those using the min and + max attributes. +

    +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <label for="customRange2" class="form-label">Example range</label>
    +<input type="range" class="form-range" min="0" max="5" id="customRange2">
    +
    +
    + +

    + Steps + +

    +

    + By default, range inputs “snap” to integer values. To + change this, you can specify a step value. In the + example below, we double the number of steps by using + step="0.5". +

    +
    +
    + + +
    +
    + html +
    + + +
    +
    +
    +
    <label for="customRange3" class="form-label">Example range</label>
    +<input type="range" class="form-range" min="0" max="5" step="0.5" id="customRange3">
    +
    +
    + +

    + CSS + +

    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-range-track-width:          100%;
    +$form-range-track-height:         .5rem;
    +$form-range-track-cursor:         pointer;
    +$form-range-track-bg:             var(--#{$prefix}tertiary-bg);
    +$form-range-track-border-radius:  1rem;
    +$form-range-track-box-shadow:     $box-shadow-inset;
    +
    +$form-range-thumb-width:                   1rem;
    +$form-range-thumb-height:                  $form-range-thumb-width;
    +$form-range-thumb-bg:                      $component-active-bg;
    +$form-range-thumb-border:                  0;
    +$form-range-thumb-border-radius:           1rem;
    +$form-range-thumb-box-shadow:              0 .1rem .25rem rgba($black, .1);
    +$form-range-thumb-focus-box-shadow:        0 0 0 1px $body-bg, $input-focus-box-shadow;
    +$form-range-thumb-focus-box-shadow-width:  $input-focus-width; // For focus box shadow issue in Edge
    +$form-range-thumb-active-bg:               tint-color($component-active-bg, 70%);
    +$form-range-thumb-disabled-bg:             var(--#{$prefix}secondary-color);
    +$form-range-thumb-transition:              background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    +
    +
    +
    +
    +
    - -
    - - -

    Overview

    -

    Create custom <input type="range"> controls with .form-range. The track (the background) and thumb (the value) are both styled to appear the same across browsers. As only Firefox supports “filling” their track from the left or right of the thumb as a means to visually indicate progress, we do not currently support it.

    -
    - - -
    <label for="customRange1" class="form-label">Example range</label>
    -<input type="range" class="form-range" id="customRange1">
    -

    Disabled

    -

    Add the disabled boolean attribute on an input to give it a grayed out appearance and remove pointer events.

    -
    - - -
    <label for="disabledRange" class="form-label">Disabled range</label>
    -<input type="range" class="form-range" id="disabledRange" disabled>
    -

    Min and max

    -

    Range inputs have implicit values for min and max0 and 100, respectively. You may specify new values for those using the min and max attributes.

    -
    - - -
    <label for="customRange2" class="form-label">Example range</label>
    -<input type="range" class="form-range" min="0" max="5" id="customRange2">
    -

    Steps

    -

    By default, range inputs “snap” to integer values. To change this, you can specify a step value. In the example below, we double the number of steps by using step="0.5".

    -
    - - -
    <label for="customRange3" class="form-label">Example range</label>
    -<input type="range" class="form-range" min="0" max="5" step="0.5" id="customRange3">
    -

    Sass

    -

    Variables

    -
    $form-range-track-width:          100%;
    -$form-range-track-height:         .5rem;
    -$form-range-track-cursor:         pointer;
    -$form-range-track-bg:             $gray-300;
    -$form-range-track-border-radius:  1rem;
    -$form-range-track-box-shadow:     $box-shadow-inset;
    -
    -$form-range-thumb-width:                   1rem;
    -$form-range-thumb-height:                  $form-range-thumb-width;
    -$form-range-thumb-bg:                      $component-active-bg;
    -$form-range-thumb-border:                  0;
    -$form-range-thumb-border-radius:           1rem;
    -$form-range-thumb-box-shadow:              0 .1rem .25rem rgba($black, .1);
    -$form-range-thumb-focus-box-shadow:        0 0 0 1px $body-bg, $input-focus-box-shadow;
    -$form-range-thumb-focus-box-shadow-width:  $input-focus-width; // For focus box shadow issue in Edge
    -$form-range-thumb-active-bg:               tint-color($component-active-bg, 70%);
    -$form-range-thumb-disabled-bg:             $gray-500;
    -$form-range-thumb-transition:              background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/forms/select/index.html b/forms/select/index.html index 48278ea..4deb517 100644 --- a/forms/select/index.html +++ b/forms/select/index.html @@ -1,591 +1,2296 @@ - - - - - - - - - - - - - - - -Select · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Select · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Select

    +
    +

    + Customize the native <select>s with custom CSS + that changes the element’s initial appearance. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Select

    +
    + + On this page +
    +
    + +
    -

    Customize the native <select>s with custom CSS that changes the element’s initial appearance.

    - -
    - - -
    - On this page - +
    +

    + Default + +

    +

    + Custom <select> menus need only a custom class, + .form-select to trigger the custom styles. Custom + styles are limited to the <select>’s + initial appearance and cannot modify the + <option>s due to browser limitations. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <select class="form-select" aria-label="Default select example">
    +  <option selected>Open this select menu</option>
    +  <option value="1">One</option>
    +  <option value="2">Two</option>
    +  <option value="3">Three</option>
    +</select>
    +
    +
    + +

    + Sizing + +

    +

    + You may also choose from small and large custom selects to match our + similarly sized text inputs. +

    +
    +
    + + + +
    +
    + html +
    + + +
    +
    +
    +
    <select class="form-select form-select-lg mb-3" aria-label=".form-select-lg example">
    +  <option selected>Open this select menu</option>
    +  <option value="1">One</option>
    +  <option value="2">Two</option>
    +  <option value="3">Three</option>
    +</select>
    +
    +<select class="form-select form-select-sm" aria-label=".form-select-sm example">
    +  <option selected>Open this select menu</option>
    +  <option value="1">One</option>
    +  <option value="2">Two</option>
    +  <option value="3">Three</option>
    +</select>
    +
    +
    + +

    The multiple attribute is also supported:

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <select class="form-select" multiple aria-label="multiple select example">
    +  <option selected>Open this select menu</option>
    +  <option value="1">One</option>
    +  <option value="2">Two</option>
    +  <option value="3">Three</option>
    +</select>
    +
    +
    + +

    As is the size attribute:

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <select class="form-select" size="3" aria-label="size 3 select example">
    +  <option selected>Open this select menu</option>
    +  <option value="1">One</option>
    +  <option value="2">Two</option>
    +  <option value="3">Three</option>
    +</select>
    +
    +
    + +

    + Disabled + +

    +

    + Add the disabled boolean attribute on a select to give + it a grayed out appearance and remove pointer events. +

    +
    +
    + +
    +
    + html +
    + + +
    +
    +
    +
    <select class="form-select" aria-label="Disabled select example" disabled>
    +  <option selected>Open this select menu</option>
    +  <option value="1">One</option>
    +  <option value="2">Two</option>
    +  <option value="3">Three</option>
    +</select>
    +
    +
    + +

    + CSS + +

    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-select-padding-y:             $input-padding-y;
    +$form-select-padding-x:             $input-padding-x;
    +$form-select-font-family:           $input-font-family;
    +$form-select-font-size:             $input-font-size;
    +$form-select-indicator-padding:     $form-select-padding-x * 3; // Extra padding for background-image
    +$form-select-font-weight:           $input-font-weight;
    +$form-select-line-height:           $input-line-height;
    +$form-select-color:                 $input-color;
    +$form-select-bg:                    $input-bg;
    +$form-select-disabled-color:        null;
    +$form-select-disabled-bg:           $input-disabled-bg;
    +$form-select-disabled-border-color: $input-disabled-border-color;
    +$form-select-bg-position:           right $form-select-padding-x center;
    +$form-select-bg-size:               16px 12px; // In pixels because image dimensions
    +$form-select-indicator-color:       $gray-800;
    +$form-select-indicator:             url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>");
    +
    +$form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding;
    +$form-select-feedback-icon-position:    center right $form-select-indicator-padding;
    +$form-select-feedback-icon-size:        $input-height-inner-half $input-height-inner-half;
    +
    +$form-select-border-width:        $input-border-width;
    +$form-select-border-color:        $input-border-color;
    +$form-select-border-radius:       $input-border-radius;
    +$form-select-box-shadow:          $box-shadow-inset;
    +
    +$form-select-focus-border-color:  $input-focus-border-color;
    +$form-select-focus-width:         $input-focus-width;
    +$form-select-focus-box-shadow:    0 0 0 $form-select-focus-width $input-btn-focus-color;
    +
    +$form-select-padding-y-sm:        $input-padding-y-sm;
    +$form-select-padding-x-sm:        $input-padding-x-sm;
    +$form-select-font-size-sm:        $input-font-size-sm;
    +$form-select-border-radius-sm:    $input-border-radius-sm;
    +
    +$form-select-padding-y-lg:        $input-padding-y-lg;
    +$form-select-padding-x-lg:        $input-padding-x-lg;
    +$form-select-font-size-lg:        $input-font-size-lg;
    +$form-select-border-radius-lg:    $input-border-radius-lg;
    +
    +$form-select-transition:          $input-transition;
    +
    +
    +
    +
    +
    - -
    - - -

    Default

    -

    Custom <select> menus need only a custom class, .form-select to trigger the custom styles. Custom styles are limited to the <select>’s initial appearance and cannot modify the <option>s due to browser limitations.

    -
    - -
    <select class="form-select" aria-label="Default select example">
    -  <option selected>Open this select menu</option>
    -  <option value="1">One</option>
    -  <option value="2">Two</option>
    -  <option value="3">Three</option>
    -</select>
    -

    Sizing

    -

    You may also choose from small and large custom selects to match our similarly sized text inputs.

    -
    - - - -
    <select class="form-select form-select-lg mb-3" aria-label=".form-select-lg example">
    -  <option selected>Open this select menu</option>
    -  <option value="1">One</option>
    -  <option value="2">Two</option>
    -  <option value="3">Three</option>
    -</select>
    -
    -<select class="form-select form-select-sm" aria-label=".form-select-sm example">
    -  <option selected>Open this select menu</option>
    -  <option value="1">One</option>
    -  <option value="2">Two</option>
    -  <option value="3">Three</option>
    -</select>
    -

    The multiple attribute is also supported:

    -
    - -
    <select class="form-select" multiple aria-label="multiple select example">
    -  <option selected>Open this select menu</option>
    -  <option value="1">One</option>
    -  <option value="2">Two</option>
    -  <option value="3">Three</option>
    -</select>
    -

    As is the size attribute:

    -
    - -
    <select class="form-select" size="3" aria-label="size 3 select example">
    -  <option selected>Open this select menu</option>
    -  <option value="1">One</option>
    -  <option value="2">Two</option>
    -  <option value="3">Three</option>
    -</select>
    -

    Disabled

    -

    Add the disabled boolean attribute on a select to give it a grayed out appearance and remove pointer events.

    -
    - -
    <select class="form-select" aria-label="Disabled select example" disabled>
    -  <option selected>Open this select menu</option>
    -  <option value="1">One</option>
    -  <option value="2">Two</option>
    -  <option value="3">Three</option>
    -</select>
    -

    Sass

    -

    Variables

    -
    $form-select-padding-y:             $input-padding-y;
    -$form-select-padding-x:             $input-padding-x;
    -$form-select-font-family:           $input-font-family;
    -$form-select-font-size:             $input-font-size;
    -$form-select-indicator-padding:     $form-select-padding-x * 3; // Extra padding for background-image
    -$form-select-font-weight:           $input-font-weight;
    -$form-select-line-height:           $input-line-height;
    -$form-select-color:                 $input-color;
    -$form-select-bg:                    $input-bg;
    -$form-select-disabled-color:        null;
    -$form-select-disabled-bg:           $gray-200;
    -$form-select-disabled-border-color: $input-disabled-border-color;
    -$form-select-bg-position:           right $form-select-padding-x center;
    -$form-select-bg-size:               16px 12px; // In pixels because image dimensions
    -$form-select-indicator-color:       $gray-800;
    -$form-select-indicator:             url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>");
    -
    -$form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding;
    -$form-select-feedback-icon-position:    center right $form-select-indicator-padding;
    -$form-select-feedback-icon-size:        $input-height-inner-half $input-height-inner-half;
    -
    -$form-select-border-width:        $input-border-width;
    -$form-select-border-color:        $input-border-color;
    -$form-select-border-radius:       $input-border-radius;
    -$form-select-box-shadow:          $box-shadow-inset;
    -
    -$form-select-focus-border-color:  $input-focus-border-color;
    -$form-select-focus-width:         $input-focus-width;
    -$form-select-focus-box-shadow:    0 0 0 $form-select-focus-width $input-btn-focus-color;
    -
    -$form-select-padding-y-sm:        $input-padding-y-sm;
    -$form-select-padding-x-sm:        $input-padding-x-sm;
    -$form-select-font-size-sm:        $input-font-size-sm;
    -$form-select-border-radius-sm:    $input-border-radius-sm;
    -
    -$form-select-padding-y-lg:        $input-padding-y-lg;
    -$form-select-padding-x-lg:        $input-padding-x-lg;
    -$form-select-font-size-lg:        $input-font-size-lg;
    -$form-select-border-radius-lg:    $input-border-radius-lg;
    -
    -$form-select-transition:          $input-transition;
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/forms/validation/index.html b/forms/validation/index.html index c62a1fb..2bfcc85 100644 --- a/forms/validation/index.html +++ b/forms/validation/index.html @@ -1,1242 +1,3558 @@ - - - - - - - - - - - - - - - -Validation · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Validation · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Validation

    +
    +

    + Provide valuable, actionable feedback to your users with HTML5 form + validation, via browser default behaviors or custom styles and + JavaScript. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Validation

    +
    + + On this page +
    +
    -

    Provide valuable, actionable feedback to your users with HTML5 form validation, via browser default behaviors or custom styles and JavaScript.

    - - -
    - -
    - On this page - +
    +
    + We are aware that currently the client-side custom validation styles + and tooltips are not accessible, since they are not exposed to + assistive technologies. While we work on a solution, we’d + recommend either using the server-side option or the default browser + validation method. +
    + +

    + How it works + +

    +

    Here’s how form validation works with Bootstrap:

    +
      +
    • + HTML form validation is applied via CSS’s two + pseudo-classes, :invalid and :valid. It + applies to <input>, + <select>, and + <textarea> elements. +
    • +
    • + Bootstrap scopes the :invalid and + :valid styles to parent + .was-validated class, usually applied to the + <form>. Otherwise, any required field without a + value shows up as invalid on page load. This way, you may choose + when to activate them (typically after form submission is + attempted). +
    • +
    • + To reset the appearance of the form (for instance, in the case of + dynamic form submissions using Ajax), remove the + .was-validated class from the + <form> again after submission. +
    • +
    • + As a fallback, .is-invalid and + .is-valid classes may be used instead of the + pseudo-classes for + server-side validation. They do not + require a .was-validated parent class. +
    • +
    • + Due to constraints in how CSS works, we cannot (at present) apply + styles to a <label> that comes before a form + control in the DOM without the help of custom JavaScript. +
    • +
    • + All modern browsers support the + constraint validation API, a series of JavaScript methods for validating form controls. +
    • +
    • + Feedback messages may utilize the + browser defaults (different for + each browser, and unstylable via CSS) or our custom feedback + styles with additional HTML and CSS. +
    • +
    • + You may provide custom validity messages with + setCustomValidity in JavaScript. +
    • +
    +

    + With that in mind, consider the following demos for our custom form + validation styles, optional server-side classes, and browser + defaults. +

    +

    + Custom styles + +

    +

    + For custom Bootstrap form validation messages, you’ll need to + add the novalidate boolean attribute to your + <form>. This disables the browser default + feedback tooltips, but still provides access to the form validation + APIs in JavaScript. Try to submit the form below; our JavaScript + will intercept the submit button and relay feedback to you. When + attempting to submit, you’ll see the :invalid and + :valid styles applied to your form controls. +

    +

    + Custom feedback styles apply custom colors, borders, focus styles, + and background icons to better communicate feedback. Background + icons for <select>s are only available with + .form-select, and not .form-control. +

    +
    +
    +
    +
    + + +
    Looks good!
    +
    +
    + + +
    Looks good!
    +
    +
    + +
    + @ + +
    + Please choose a username. +
    +
    +
    +
    + + +
    + Please provide a valid city. +
    +
    +
    + + +
    + Please select a valid state. +
    +
    +
    + + +
    + Please provide a valid zip. +
    +
    +
    +
    + + +
    + You must agree before submitting. +
    +
    +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="row g-3 needs-validation" novalidate>
    +  <div class="col-md-4">
    +    <label for="validationCustom01" class="form-label">First name</label>
    +    <input type="text" class="form-control" id="validationCustom01" value="Mark" required>
    +    <div class="valid-feedback">
    +      Looks good!
    +    </div>
    +  </div>
    +  <div class="col-md-4">
    +    <label for="validationCustom02" class="form-label">Last name</label>
    +    <input type="text" class="form-control" id="validationCustom02" value="Otto" required>
    +    <div class="valid-feedback">
    +      Looks good!
    +    </div>
    +  </div>
    +  <div class="col-md-4">
    +    <label for="validationCustomUsername" class="form-label">Username</label>
    +    <div class="input-group has-validation">
    +      <span class="input-group-text" id="inputGroupPrepend">@</span>
    +      <input type="text" class="form-control" id="validationCustomUsername" aria-describedby="inputGroupPrepend" required>
    +      <div class="invalid-feedback">
    +        Please choose a username.
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col-md-6">
    +    <label for="validationCustom03" class="form-label">City</label>
    +    <input type="text" class="form-control" id="validationCustom03" required>
    +    <div class="invalid-feedback">
    +      Please provide a valid city.
    +    </div>
    +  </div>
    +  <div class="col-md-3">
    +    <label for="validationCustom04" class="form-label">State</label>
    +    <select class="form-select" id="validationCustom04" required>
    +      <option selected disabled value="">Choose...</option>
    +      <option>...</option>
    +    </select>
    +    <div class="invalid-feedback">
    +      Please select a valid state.
    +    </div>
    +  </div>
    +  <div class="col-md-3">
    +    <label for="validationCustom05" class="form-label">Zip</label>
    +    <input type="text" class="form-control" id="validationCustom05" required>
    +    <div class="invalid-feedback">
    +      Please provide a valid zip.
    +    </div>
    +  </div>
    +  <div class="col-12">
    +    <div class="form-check">
    +      <input class="form-check-input" type="checkbox" value="" id="invalidCheck" required>
    +      <label class="form-check-label" for="invalidCheck">
    +        Agree to terms and conditions
    +      </label>
    +      <div class="invalid-feedback">
    +        You must agree before submitting.
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col-12">
    +    <button class="btn btn-primary" type="submit">Submit form</button>
    +  </div>
    +</form>
    +
    +
    + +
    +
    +
    // Example starter JavaScript for disabling form submissions if there are invalid fields
    +(() => {
    +  'use strict'
    +
    +  // Fetch all the forms we want to apply custom Bootstrap validation styles to
    +  const forms = document.querySelectorAll('.needs-validation')
    +
    +  // Loop over them and prevent submission
    +  Array.from(forms).forEach(form => {
    +    form.addEventListener('submit', event => {
    +      if (!form.checkValidity()) {
    +        event.preventDefault()
    +        event.stopPropagation()
    +      }
    +
    +      form.classList.add('was-validated')
    +    }, false)
    +  })
    +})()
    +
    +
    + +

    + Browser defaults + +

    +

    + Not interested in custom validation feedback messages or writing + JavaScript to change form behaviors? All good, you can use the + browser defaults. Try submitting the form below. Depending on your + browser and OS, you’ll see a slightly different style of + feedback. +

    +

    + While these feedback styles cannot be styled with CSS, you can still + customize the feedback text through JavaScript. +

    +
    +
    +
    +
    + + +
    +
    + + +
    +
    + +
    + @ + +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + + +
    +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="row g-3">
    +  <div class="col-md-4">
    +    <label for="validationDefault01" class="form-label">First name</label>
    +    <input type="text" class="form-control" id="validationDefault01" value="Mark" required>
    +  </div>
    +  <div class="col-md-4">
    +    <label for="validationDefault02" class="form-label">Last name</label>
    +    <input type="text" class="form-control" id="validationDefault02" value="Otto" required>
    +  </div>
    +  <div class="col-md-4">
    +    <label for="validationDefaultUsername" class="form-label">Username</label>
    +    <div class="input-group">
    +      <span class="input-group-text" id="inputGroupPrepend2">@</span>
    +      <input type="text" class="form-control" id="validationDefaultUsername" aria-describedby="inputGroupPrepend2" required>
    +    </div>
    +  </div>
    +  <div class="col-md-6">
    +    <label for="validationDefault03" class="form-label">City</label>
    +    <input type="text" class="form-control" id="validationDefault03" required>
    +  </div>
    +  <div class="col-md-3">
    +    <label for="validationDefault04" class="form-label">State</label>
    +    <select class="form-select" id="validationDefault04" required>
    +      <option selected disabled value="">Choose...</option>
    +      <option>...</option>
    +    </select>
    +  </div>
    +  <div class="col-md-3">
    +    <label for="validationDefault05" class="form-label">Zip</label>
    +    <input type="text" class="form-control" id="validationDefault05" required>
    +  </div>
    +  <div class="col-12">
    +    <div class="form-check">
    +      <input class="form-check-input" type="checkbox" value="" id="invalidCheck2" required>
    +      <label class="form-check-label" for="invalidCheck2">
    +        Agree to terms and conditions
    +      </label>
    +    </div>
    +  </div>
    +  <div class="col-12">
    +    <button class="btn btn-primary" type="submit">Submit form</button>
    +  </div>
    +</form>
    +
    +
    + +

    + Server-side + +

    +

    + We recommend using client-side validation, but in case you require + server-side validation, you can indicate invalid and valid form + fields with .is-invalid and .is-valid. + Note that .invalid-feedback is also supported with + these classes. +

    +

    + For invalid fields, ensure that the invalid feedback/error message + is associated with the relevant form field using + aria-describedby (noting that this attribute allows + more than one id to be referenced, in case the field + already points to additional form text). +

    +

    + To fix + issues with border radius, input groups require an additional + .has-validation class. +

    +
    +
    +
    +
    + + +
    Looks good!
    +
    +
    + + +
    Looks good!
    +
    +
    + +
    + @ + +
    + Please choose a username. +
    +
    +
    +
    + + +
    + Please provide a valid city. +
    +
    +
    + + +
    + Please select a valid state. +
    +
    +
    + + +
    + Please provide a valid zip. +
    +
    +
    +
    + + +
    + You must agree before submitting. +
    +
    +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="row g-3">
    +  <div class="col-md-4">
    +    <label for="validationServer01" class="form-label">First name</label>
    +    <input type="text" class="form-control is-valid" id="validationServer01" value="Mark" required>
    +    <div class="valid-feedback">
    +      Looks good!
    +    </div>
    +  </div>
    +  <div class="col-md-4">
    +    <label for="validationServer02" class="form-label">Last name</label>
    +    <input type="text" class="form-control is-valid" id="validationServer02" value="Otto" required>
    +    <div class="valid-feedback">
    +      Looks good!
    +    </div>
    +  </div>
    +  <div class="col-md-4">
    +    <label for="validationServerUsername" class="form-label">Username</label>
    +    <div class="input-group has-validation">
    +      <span class="input-group-text" id="inputGroupPrepend3">@</span>
    +      <input type="text" class="form-control is-invalid" id="validationServerUsername" aria-describedby="inputGroupPrepend3 validationServerUsernameFeedback" required>
    +      <div id="validationServerUsernameFeedback" class="invalid-feedback">
    +        Please choose a username.
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col-md-6">
    +    <label for="validationServer03" class="form-label">City</label>
    +    <input type="text" class="form-control is-invalid" id="validationServer03" aria-describedby="validationServer03Feedback" required>
    +    <div id="validationServer03Feedback" class="invalid-feedback">
    +      Please provide a valid city.
    +    </div>
    +  </div>
    +  <div class="col-md-3">
    +    <label for="validationServer04" class="form-label">State</label>
    +    <select class="form-select is-invalid" id="validationServer04" aria-describedby="validationServer04Feedback" required>
    +      <option selected disabled value="">Choose...</option>
    +      <option>...</option>
    +    </select>
    +    <div id="validationServer04Feedback" class="invalid-feedback">
    +      Please select a valid state.
    +    </div>
    +  </div>
    +  <div class="col-md-3">
    +    <label for="validationServer05" class="form-label">Zip</label>
    +    <input type="text" class="form-control is-invalid" id="validationServer05" aria-describedby="validationServer05Feedback" required>
    +    <div id="validationServer05Feedback" class="invalid-feedback">
    +      Please provide a valid zip.
    +    </div>
    +  </div>
    +  <div class="col-12">
    +    <div class="form-check">
    +      <input class="form-check-input is-invalid" type="checkbox" value="" id="invalidCheck3" aria-describedby="invalidCheck3Feedback" required>
    +      <label class="form-check-label" for="invalidCheck3">
    +        Agree to terms and conditions
    +      </label>
    +      <div id="invalidCheck3Feedback" class="invalid-feedback">
    +        You must agree before submitting.
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col-12">
    +    <button class="btn btn-primary" type="submit">Submit form</button>
    +  </div>
    +</form>
    +
    +
    + +

    + Supported elements + +

    +

    + Validation styles are available for the following form controls and + components: +

    +
      +
    • + <input>s and <textarea>s + with .form-control (including up to one + .form-control in input groups) +
    • +
    • <select>s with .form-select
    • +
    • .form-checks
    • +
    +
    +
    +
    +
    + + +
    + Please enter a message in the textarea. +
    +
    + +
    + + +
    + Example invalid feedback text +
    +
    + +
    + + +
    +
    + + +
    + More example invalid feedback text +
    +
    + +
    + +
    + Example invalid select feedback +
    +
    + +
    + +
    + Example invalid form file feedback +
    +
    + +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="was-validated">
    +  <div class="mb-3">
    +    <label for="validationTextarea" class="form-label">Textarea</label>
    +    <textarea class="form-control" id="validationTextarea" placeholder="Required example textarea" required></textarea>
    +    <div class="invalid-feedback">
    +      Please enter a message in the textarea.
    +    </div>
    +  </div>
    +
    +  <div class="form-check mb-3">
    +    <input type="checkbox" class="form-check-input" id="validationFormCheck1" required>
    +    <label class="form-check-label" for="validationFormCheck1">Check this checkbox</label>
    +    <div class="invalid-feedback">Example invalid feedback text</div>
    +  </div>
    +
    +  <div class="form-check">
    +    <input type="radio" class="form-check-input" id="validationFormCheck2" name="radio-stacked" required>
    +    <label class="form-check-label" for="validationFormCheck2">Toggle this radio</label>
    +  </div>
    +  <div class="form-check mb-3">
    +    <input type="radio" class="form-check-input" id="validationFormCheck3" name="radio-stacked" required>
    +    <label class="form-check-label" for="validationFormCheck3">Or toggle this other radio</label>
    +    <div class="invalid-feedback">More example invalid feedback text</div>
    +  </div>
    +
    +  <div class="mb-3">
    +    <select class="form-select" required aria-label="select example">
    +      <option value="">Open this select menu</option>
    +      <option value="1">One</option>
    +      <option value="2">Two</option>
    +      <option value="3">Three</option>
    +    </select>
    +    <div class="invalid-feedback">Example invalid select feedback</div>
    +  </div>
    +
    +  <div class="mb-3">
    +    <input type="file" class="form-control" aria-label="file example" required>
    +    <div class="invalid-feedback">Example invalid form file feedback</div>
    +  </div>
    +
    +  <div class="mb-3">
    +    <button class="btn btn-primary" type="submit" disabled>Submit form</button>
    +  </div>
    +</form>
    +
    +
    + +

    + Tooltips + +

    +

    + If your form layout allows it, you can swap the + .{valid|invalid}-feedback classes for + .{valid|invalid}-tooltip classes to display validation + feedback in a styled tooltip. Be sure to have a parent with + position: relative on it for tooltip positioning. In + the example below, our column classes have this already, but your + project may require an alternative setup. +

    +
    +
    +
    +
    + + +
    Looks good!
    +
    +
    + + +
    Looks good!
    +
    +
    + +
    + @ + +
    + Please choose a unique and valid username. +
    +
    +
    +
    + + +
    + Please provide a valid city. +
    +
    +
    + + +
    + Please select a valid state. +
    +
    +
    + + +
    Please provide a valid zip.
    +
    +
    + +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <form class="row g-3 needs-validation" novalidate>
    +  <div class="col-md-4 position-relative">
    +    <label for="validationTooltip01" class="form-label">First name</label>
    +    <input type="text" class="form-control" id="validationTooltip01" value="Mark" required>
    +    <div class="valid-tooltip">
    +      Looks good!
    +    </div>
    +  </div>
    +  <div class="col-md-4 position-relative">
    +    <label for="validationTooltip02" class="form-label">Last name</label>
    +    <input type="text" class="form-control" id="validationTooltip02" value="Otto" required>
    +    <div class="valid-tooltip">
    +      Looks good!
    +    </div>
    +  </div>
    +  <div class="col-md-4 position-relative">
    +    <label for="validationTooltipUsername" class="form-label">Username</label>
    +    <div class="input-group has-validation">
    +      <span class="input-group-text" id="validationTooltipUsernamePrepend">@</span>
    +      <input type="text" class="form-control" id="validationTooltipUsername" aria-describedby="validationTooltipUsernamePrepend" required>
    +      <div class="invalid-tooltip">
    +        Please choose a unique and valid username.
    +      </div>
    +    </div>
    +  </div>
    +  <div class="col-md-6 position-relative">
    +    <label for="validationTooltip03" class="form-label">City</label>
    +    <input type="text" class="form-control" id="validationTooltip03" required>
    +    <div class="invalid-tooltip">
    +      Please provide a valid city.
    +    </div>
    +  </div>
    +  <div class="col-md-3 position-relative">
    +    <label for="validationTooltip04" class="form-label">State</label>
    +    <select class="form-select" id="validationTooltip04" required>
    +      <option selected disabled value="">Choose...</option>
    +      <option>...</option>
    +    </select>
    +    <div class="invalid-tooltip">
    +      Please select a valid state.
    +    </div>
    +  </div>
    +  <div class="col-md-3 position-relative">
    +    <label for="validationTooltip05" class="form-label">Zip</label>
    +    <input type="text" class="form-control" id="validationTooltip05" required>
    +    <div class="invalid-tooltip">
    +      Please provide a valid zip.
    +    </div>
    +  </div>
    +  <div class="col-12">
    +    <button class="btn btn-primary" type="submit">Submit form</button>
    +  </div>
    +</form>
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.3.0 + +

    + As part of Bootstrap’s evolving CSS variables approach, forms + now use local CSS variables for validation for enhanced real-time + customization. Values for the CSS variables are set via Sass, so + Sass customization is still supported, too. +

    +
    +
    + scss/_root.scss +
    + +
    +
    +
    +
    --#{$prefix}form-valid-color: #{$form-valid-color};
    +--#{$prefix}form-valid-border-color: #{$form-valid-border-color};
    +--#{$prefix}form-invalid-color: #{$form-invalid-color};
    +--#{$prefix}form-invalid-border-color: #{$form-invalid-border-color};
    +
    +
    +

    + These variables are also color mode adaptive, meaning they change + color while in dark mode. +

    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-feedback-margin-top:          $form-text-margin-top;
    +$form-feedback-font-size:           $form-text-font-size;
    +$form-feedback-font-style:          $form-text-font-style;
    +$form-feedback-valid-color:         $success;
    +$form-feedback-invalid-color:       $danger;
    +
    +$form-feedback-icon-valid-color:    $form-feedback-valid-color;
    +$form-feedback-icon-valid:          url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>");
    +$form-feedback-icon-invalid-color:  $form-feedback-invalid-color;
    +$form-feedback-icon-invalid:        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>");
    +
    +
    +
    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-valid-color:                  $form-feedback-valid-color;
    +$form-valid-border-color:           $form-feedback-valid-color;
    +$form-invalid-color:                $form-feedback-invalid-color;
    +$form-invalid-border-color:         $form-feedback-invalid-color;
    +
    +
    +
    +
    +
    + scss/_variables-dark.scss +
    + +
    +
    +
    +
    $form-valid-color-dark:             $green-300;
    +$form-valid-border-color-dark:      $green-300;
    +$form-invalid-color-dark:           $red-300;
    +$form-invalid-border-color-dark:    $red-300;
    +
    +
    +
    +

    + Sass mixins + +

    +

    + Two mixins are combined, through our loop, to + generate our form validation feedback styles. +

    +
    +
    + scss/mixins/_forms.scss +
    + +
    +
    +
    +
    @mixin form-validation-state-selector($state) {
    +  @if ($state == "valid" or $state == "invalid") {
    +    .was-validated #{if(&, "&", "")}:#{$state},
    +    #{if(&, "&", "")}.is-#{$state} {
    +      @content;
    +    }
    +  } @else {
    +    #{if(&, "&", "")}.is-#{$state} {
    +      @content;
    +    }
    +  }
    +}
    +
    +@mixin form-validation-state(
    +  $state,
    +  $color,
    +  $icon,
    +  $tooltip-color: color-contrast($color),
    +  $tooltip-bg-color: rgba($color, $form-feedback-tooltip-opacity),
    +  $focus-box-shadow: 0 0 $input-btn-focus-blur $input-focus-width rgba($color, $input-btn-focus-color-opacity),
    +  $border-color: $color
    +) {
    +  .#{$state}-feedback {
    +    display: none;
    +    width: 100%;
    +    margin-top: $form-feedback-margin-top;
    +    @include font-size($form-feedback-font-size);
    +    font-style: $form-feedback-font-style;
    +    color: $color;
    +  }
    +
    +  .#{$state}-tooltip {
    +    position: absolute;
    +    top: 100%;
    +    z-index: 5;
    +    display: none;
    +    max-width: 100%; // Contain to parent when possible
    +    padding: $form-feedback-tooltip-padding-y $form-feedback-tooltip-padding-x;
    +    margin-top: .1rem;
    +    @include font-size($form-feedback-tooltip-font-size);
    +    line-height: $form-feedback-tooltip-line-height;
    +    color: $tooltip-color;
    +    background-color: $tooltip-bg-color;
    +    @include border-radius($form-feedback-tooltip-border-radius);
    +  }
    +
    +  @include form-validation-state-selector($state) {
    +    ~ .#{$state}-feedback,
    +    ~ .#{$state}-tooltip {
    +      display: block;
    +    }
    +  }
    +
    +  .form-control {
    +    @include form-validation-state-selector($state) {
    +      border-color: $border-color;
    +
    +      @if $enable-validation-icons {
    +        padding-right: $input-height-inner;
    +        background-image: escape-svg($icon);
    +        background-repeat: no-repeat;
    +        background-position: right $input-height-inner-quarter center;
    +        background-size: $input-height-inner-half $input-height-inner-half;
    +      }
    +
    +      &:focus {
    +        border-color: $border-color;
    +        box-shadow: $focus-box-shadow;
    +      }
    +    }
    +  }
    +
    +  // stylelint-disable-next-line selector-no-qualifying-type
    +  textarea.form-control {
    +    @include form-validation-state-selector($state) {
    +      @if $enable-validation-icons {
    +        padding-right: $input-height-inner;
    +        background-position: top $input-height-inner-quarter right $input-height-inner-quarter;
    +      }
    +    }
    +  }
    +
    +  .form-select {
    +    @include form-validation-state-selector($state) {
    +      border-color: $border-color;
    +
    +      @if $enable-validation-icons {
    +        &:not([multiple]):not([size]),
    +        &:not([multiple])[size="1"] {
    +          --#{$prefix}form-select-bg-icon: #{escape-svg($icon)};
    +          padding-right: $form-select-feedback-icon-padding-end;
    +          background-position: $form-select-bg-position, $form-select-feedback-icon-position;
    +          background-size: $form-select-bg-size, $form-select-feedback-icon-size;
    +        }
    +      }
    +
    +      &:focus {
    +        border-color: $border-color;
    +        box-shadow: $focus-box-shadow;
    +      }
    +    }
    +  }
    +
    +  .form-control-color {
    +    @include form-validation-state-selector($state) {
    +      @if $enable-validation-icons {
    +        width: add($form-color-width, $input-height-inner);
    +      }
    +    }
    +  }
    +
    +  .form-check-input {
    +    @include form-validation-state-selector($state) {
    +      border-color: $border-color;
    +
    +      &:checked {
    +        background-color: $color;
    +      }
    +
    +      &:focus {
    +        box-shadow: $focus-box-shadow;
    +      }
    +
    +      ~ .form-check-label {
    +        color: $color;
    +      }
    +    }
    +  }
    +  .form-check-inline .form-check-input {
    +    ~ .#{$state}-feedback {
    +      margin-left: .5em;
    +    }
    +  }
    +
    +  .input-group {
    +    > .form-control:not(:focus),
    +    > .form-select:not(:focus),
    +    > .form-floating:not(:focus-within) {
    +      @include form-validation-state-selector($state) {
    +        @if $state == "valid" {
    +          z-index: 3;
    +        } @else if $state == "invalid" {
    +          z-index: 4;
    +        }
    +      }
    +    }
    +  }
    +}
    +
    +
    +
    +

    + Sass map + +

    +

    + This is the validation Sass map from _variables.scss. + Override or extend this to generate different or additional states. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $form-validation-states: (
    +  "valid": (
    +    "color": var(--#{$prefix}form-valid-color),
    +    "icon": $form-feedback-icon-valid,
    +    "tooltip-color": #fff,
    +    "tooltip-bg-color": var(--#{$prefix}success),
    +    "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}success-rgb), $input-btn-focus-color-opacity),
    +    "border-color": var(--#{$prefix}form-valid-border-color),
    +  ),
    +  "invalid": (
    +    "color": var(--#{$prefix}form-invalid-color),
    +    "icon": $form-feedback-icon-invalid,
    +    "tooltip-color": #fff,
    +    "tooltip-bg-color": var(--#{$prefix}danger),
    +    "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}danger-rgb), $input-btn-focus-color-opacity),
    +    "border-color": var(--#{$prefix}form-invalid-border-color),
    +  )
    +);
    +
    +
    +
    +

    + Maps of $form-validation-states can contain three + optional parameters to override tooltips and focus styles. +

    +

    + Sass loop + +

    +

    + Used to iterate over $form-validation-states map values + to generate our validation styles. Any modifications to the above + Sass map will be reflected in your compiled CSS via this loop. +

    +
    +
    + scss/forms/_validation.scss +
    + +
    +
    +
    +
    @each $state, $data in $form-validation-states {
    +  @include form-validation-state($state, $data...);
    +}
    +
    +
    +
    +

    + Customizing + +

    +

    + Validation states can be customized via Sass with the + $form-validation-states map. Located in our + _variables.scss file, this Sass map is how we generate + the default valid/invalid validation + states. Included is a nested map for customizing each state’s + color, icon, tooltip color, and focus shadow. While no other states + are supported by browsers, those using custom styles can easily add + more complex form feedback. +

    - - -
    - - -
    -We are aware that currently the client-side custom validation styles and tooltips are not accessible, since they are not exposed to assistive technologies. While we work on a solution, we’d recommend either using the server-side option or the default browser validation method. -
    - -

    How it works

    -

    Here’s how form validation works with Bootstrap:

    -
      -
    • HTML form validation is applied via CSS’s two pseudo-classes, :invalid and :valid. It applies to <input>, <select>, and <textarea> elements.
    • -
    • Bootstrap scopes the :invalid and :valid styles to parent .was-validated class, usually applied to the <form>. Otherwise, any required field without a value shows up as invalid on page load. This way, you may choose when to activate them (typically after form submission is attempted).
    • -
    • To reset the appearance of the form (for instance, in the case of dynamic form submissions using AJAX), remove the .was-validated class from the <form> again after submission.
    • -
    • As a fallback, .is-invalid and .is-valid classes may be used instead of the pseudo-classes for server-side validation. They do not require a .was-validated parent class.
    • -
    • Due to constraints in how CSS works, we cannot (at present) apply styles to a <label> that comes before a form control in the DOM without the help of custom JavaScript.
    • -
    • All modern browsers support the constraint validation API, a series of JavaScript methods for validating form controls.
    • -
    • Feedback messages may utilize the browser defaults (different for each browser, and unstylable via CSS) or our custom feedback styles with additional HTML and CSS.
    • -
    • You may provide custom validity messages with setCustomValidity in JavaScript.
    • -
    -

    With that in mind, consider the following demos for our custom form validation styles, optional server-side classes, and browser defaults.

    -

    Custom styles

    -

    For custom Bootstrap form validation messages, you’ll need to add the novalidate boolean attribute to your <form>. This disables the browser default feedback tooltips, but still provides access to the form validation APIs in JavaScript. Try to submit the form below; our JavaScript will intercept the submit button and relay feedback to you. When attempting to submit, you’ll see the :invalid and :valid styles applied to your form controls.

    -

    Custom feedback styles apply custom colors, borders, focus styles, and background icons to better communicate feedback. Background icons for <select>s are only available with .form-select, and not .form-control.

    -
    -
    -
    - - -
    - Looks good! -
    -
    -
    - - -
    - Looks good! -
    -
    -
    - -
    - @ - -
    - Please choose a username. -
    -
    -
    -
    - - -
    - Please provide a valid city. -
    -
    -
    - - -
    - Please select a valid state. -
    -
    -
    - - -
    - Please provide a valid zip. -
    -
    -
    -
    - - -
    - You must agree before submitting. -
    -
    -
    -
    - -
    -
    -
    <form class="row g-3 needs-validation" novalidate>
    -  <div class="col-md-4">
    -    <label for="validationCustom01" class="form-label">First name</label>
    -    <input type="text" class="form-control" id="validationCustom01" value="Mark" required>
    -    <div class="valid-feedback">
    -      Looks good!
    -    </div>
    -  </div>
    -  <div class="col-md-4">
    -    <label for="validationCustom02" class="form-label">Last name</label>
    -    <input type="text" class="form-control" id="validationCustom02" value="Otto" required>
    -    <div class="valid-feedback">
    -      Looks good!
    -    </div>
    -  </div>
    -  <div class="col-md-4">
    -    <label for="validationCustomUsername" class="form-label">Username</label>
    -    <div class="input-group has-validation">
    -      <span class="input-group-text" id="inputGroupPrepend">@</span>
    -      <input type="text" class="form-control" id="validationCustomUsername" aria-describedby="inputGroupPrepend" required>
    -      <div class="invalid-feedback">
    -        Please choose a username.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col-md-6">
    -    <label for="validationCustom03" class="form-label">City</label>
    -    <input type="text" class="form-control" id="validationCustom03" required>
    -    <div class="invalid-feedback">
    -      Please provide a valid city.
    -    </div>
    -  </div>
    -  <div class="col-md-3">
    -    <label for="validationCustom04" class="form-label">State</label>
    -    <select class="form-select" id="validationCustom04" required>
    -      <option selected disabled value="">Choose...</option>
    -      <option>...</option>
    -    </select>
    -    <div class="invalid-feedback">
    -      Please select a valid state.
    -    </div>
    -  </div>
    -  <div class="col-md-3">
    -    <label for="validationCustom05" class="form-label">Zip</label>
    -    <input type="text" class="form-control" id="validationCustom05" required>
    -    <div class="invalid-feedback">
    -      Please provide a valid zip.
    -    </div>
    -  </div>
    -  <div class="col-12">
    -    <div class="form-check">
    -      <input class="form-check-input" type="checkbox" value="" id="invalidCheck" required>
    -      <label class="form-check-label" for="invalidCheck">
    -        Agree to terms and conditions
    -      </label>
    -      <div class="invalid-feedback">
    -        You must agree before submitting.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col-12">
    -    <button class="btn btn-primary" type="submit">Submit form</button>
    -  </div>
    -</form>
    -
    // Example starter JavaScript for disabling form submissions if there are invalid fields
    -(function () {
    -  'use strict'
    -
    -  // Fetch all the forms we want to apply custom Bootstrap validation styles to
    -  var forms = document.querySelectorAll('.needs-validation')
    -
    -  // Loop over them and prevent submission
    -  Array.prototype.slice.call(forms)
    -    .forEach(function (form) {
    -      form.addEventListener('submit', function (event) {
    -        if (!form.checkValidity()) {
    -          event.preventDefault()
    -          event.stopPropagation()
    -        }
    -
    -        form.classList.add('was-validated')
    -      }, false)
    -    })
    -})()
    -

    Browser defaults

    -

    Not interested in custom validation feedback messages or writing JavaScript to change form behaviors? All good, you can use the browser defaults. Try submitting the form below. Depending on your browser and OS, you’ll see a slightly different style of feedback.

    -

    While these feedback styles cannot be styled with CSS, you can still customize the feedback text through JavaScript.

    -
    -
    -
    - - -
    -
    - - -
    -
    - -
    - @ - -
    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    -
    - - -
    -
    -
    - -
    -
    -
    <form class="row g-3">
    -  <div class="col-md-4">
    -    <label for="validationDefault01" class="form-label">First name</label>
    -    <input type="text" class="form-control" id="validationDefault01" value="Mark" required>
    -  </div>
    -  <div class="col-md-4">
    -    <label for="validationDefault02" class="form-label">Last name</label>
    -    <input type="text" class="form-control" id="validationDefault02" value="Otto" required>
    -  </div>
    -  <div class="col-md-4">
    -    <label for="validationDefaultUsername" class="form-label">Username</label>
    -    <div class="input-group">
    -      <span class="input-group-text" id="inputGroupPrepend2">@</span>
    -      <input type="text" class="form-control" id="validationDefaultUsername"  aria-describedby="inputGroupPrepend2" required>
    -    </div>
    -  </div>
    -  <div class="col-md-6">
    -    <label for="validationDefault03" class="form-label">City</label>
    -    <input type="text" class="form-control" id="validationDefault03" required>
    -  </div>
    -  <div class="col-md-3">
    -    <label for="validationDefault04" class="form-label">State</label>
    -    <select class="form-select" id="validationDefault04" required>
    -      <option selected disabled value="">Choose...</option>
    -      <option>...</option>
    -    </select>
    -  </div>
    -  <div class="col-md-3">
    -    <label for="validationDefault05" class="form-label">Zip</label>
    -    <input type="text" class="form-control" id="validationDefault05" required>
    -  </div>
    -  <div class="col-12">
    -    <div class="form-check">
    -      <input class="form-check-input" type="checkbox" value="" id="invalidCheck2" required>
    -      <label class="form-check-label" for="invalidCheck2">
    -        Agree to terms and conditions
    -      </label>
    -    </div>
    -  </div>
    -  <div class="col-12">
    -    <button class="btn btn-primary" type="submit">Submit form</button>
    -  </div>
    -</form>
    -

    Server side

    -

    We recommend using client-side validation, but in case you require server-side validation, you can indicate invalid and valid form fields with .is-invalid and .is-valid. Note that .invalid-feedback is also supported with these classes.

    -

    For invalid fields, ensure that the invalid feedback/error message is associated with the relevant form field using aria-describedby (noting that this attribute allows more than one id to be referenced, in case the field already points to additional form text).

    -

    To fix issues with border radii, input groups require an additional .has-validation class.

    -
    -
    -
    - - -
    - Looks good! +
    - -
    - - -
    - Looks good! -
    -
    -
    - -
    - @ - -
    - Please choose a username. -
    -
    -
    -
    - - -
    - Please provide a valid city. -
    -
    -
    - - -
    - Please select a valid state. -
    -
    -
    - - -
    - Please provide a valid zip. -
    -
    -
    -
    - - -
    - You must agree before submitting. -
    -
    -
    -
    - -
    - -
    <form class="row g-3">
    -  <div class="col-md-4">
    -    <label for="validationServer01" class="form-label">First name</label>
    -    <input type="text" class="form-control is-valid" id="validationServer01" value="Mark" required>
    -    <div class="valid-feedback">
    -      Looks good!
    -    </div>
    -  </div>
    -  <div class="col-md-4">
    -    <label for="validationServer02" class="form-label">Last name</label>
    -    <input type="text" class="form-control is-valid" id="validationServer02" value="Otto" required>
    -    <div class="valid-feedback">
    -      Looks good!
    -    </div>
    -  </div>
    -  <div class="col-md-4">
    -    <label for="validationServerUsername" class="form-label">Username</label>
    -    <div class="input-group has-validation">
    -      <span class="input-group-text" id="inputGroupPrepend3">@</span>
    -      <input type="text" class="form-control is-invalid" id="validationServerUsername" aria-describedby="inputGroupPrepend3 validationServerUsernameFeedback" required>
    -      <div id="validationServerUsernameFeedback" class="invalid-feedback">
    -        Please choose a username.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col-md-6">
    -    <label for="validationServer03" class="form-label">City</label>
    -    <input type="text" class="form-control is-invalid" id="validationServer03" aria-describedby="validationServer03Feedback" required>
    -    <div id="validationServer03Feedback" class="invalid-feedback">
    -      Please provide a valid city.
    -    </div>
    -  </div>
    -  <div class="col-md-3">
    -    <label for="validationServer04" class="form-label">State</label>
    -    <select class="form-select is-invalid" id="validationServer04" aria-describedby="validationServer04Feedback" required>
    -      <option selected disabled value="">Choose...</option>
    -      <option>...</option>
    -    </select>
    -    <div id="validationServer04Feedback" class="invalid-feedback">
    -      Please select a valid state.
    -    </div>
    -  </div>
    -  <div class="col-md-3">
    -    <label for="validationServer05" class="form-label">Zip</label>
    -    <input type="text" class="form-control is-invalid" id="validationServer05" aria-describedby="validationServer05Feedback" required>
    -    <div id="validationServer05Feedback" class="invalid-feedback">
    -      Please provide a valid zip.
    -    </div>
    -  </div>
    -  <div class="col-12">
    -    <div class="form-check">
    -      <input class="form-check-input is-invalid" type="checkbox" value="" id="invalidCheck3" aria-describedby="invalidCheck3Feedback" required>
    -      <label class="form-check-label" for="invalidCheck3">
    -        Agree to terms and conditions
    -      </label>
    -      <div id="invalidCheck3Feedback" class="invalid-feedback">
    -        You must agree before submitting.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col-12">
    -    <button class="btn btn-primary" type="submit">Submit form</button>
    -  </div>
    -</form>
    -

    Supported elements

    -

    Validation styles are available for the following form controls and components:

    -
      -
    • <input>s and <textarea>s with .form-control (including up to one .form-control in input groups)
    • -
    • <select>s with .form-select
    • -
    • .form-checks
    • -
    -
    -
    -
    - - -
    - Please enter a message in the textarea. -
    -
    - -
    - - -
    Example invalid feedback text
    -
    - -
    - - -
    -
    - - -
    More example invalid feedback text
    -
    - -
    - -
    Example invalid select feedback
    -
    - -
    - -
    Example invalid form file feedback
    -
    - -
    - -
    -
    -
    <form class="was-validated">
    -  <div class="mb-3">
    -    <label for="validationTextarea" class="form-label">Textarea</label>
    -    <textarea class="form-control is-invalid" id="validationTextarea" placeholder="Required example textarea" required></textarea>
    -    <div class="invalid-feedback">
    -      Please enter a message in the textarea.
    -    </div>
    -  </div>
    -
    -  <div class="form-check mb-3">
    -    <input type="checkbox" class="form-check-input" id="validationFormCheck1" required>
    -    <label class="form-check-label" for="validationFormCheck1">Check this checkbox</label>
    -    <div class="invalid-feedback">Example invalid feedback text</div>
    -  </div>
    -
    -  <div class="form-check">
    -    <input type="radio" class="form-check-input" id="validationFormCheck2" name="radio-stacked" required>
    -    <label class="form-check-label" for="validationFormCheck2">Toggle this radio</label>
    -  </div>
    -  <div class="form-check mb-3">
    -    <input type="radio" class="form-check-input" id="validationFormCheck3" name="radio-stacked" required>
    -    <label class="form-check-label" for="validationFormCheck3">Or toggle this other radio</label>
    -    <div class="invalid-feedback">More example invalid feedback text</div>
    -  </div>
    -
    -  <div class="mb-3">
    -    <select class="form-select" required aria-label="select example">
    -      <option value="">Open this select menu</option>
    -      <option value="1">One</option>
    -      <option value="2">Two</option>
    -      <option value="3">Three</option>
    -    </select>
    -    <div class="invalid-feedback">Example invalid select feedback</div>
    -  </div>
    -
    -  <div class="mb-3">
    -    <input type="file" class="form-control" aria-label="file example" required>
    -    <div class="invalid-feedback">Example invalid form file feedback</div>
    -  </div>
    -
    -  <div class="mb-3">
    -    <button class="btn btn-primary" type="submit" disabled>Submit form</button>
    -  </div>
    -</form>
    -

    Tooltips

    -

    If your form layout allows it, you can swap the .{valid|invalid}-feedback classes for .{valid|invalid}-tooltip classes to display validation feedback in a styled tooltip. Be sure to have a parent with position: relative on it for tooltip positioning. In the example below, our column classes have this already, but your project may require an alternative setup.

    -
    -
    -
    - - -
    - Looks good! -
    -
    -
    - - -
    - Looks good! -
    -
    -
    - -
    - @ - -
    - Please choose a unique and valid username. -
    -
    -
    -
    - - -
    - Please provide a valid city. -
    -
    -
    - - -
    - Please select a valid state. -
    -
    -
    - - -
    - Please provide a valid zip. -
    -
    -
    - -
    -
    -
    <form class="row g-3 needs-validation" novalidate>
    -  <div class="col-md-4 position-relative">
    -    <label for="validationTooltip01" class="form-label">First name</label>
    -    <input type="text" class="form-control" id="validationTooltip01" value="Mark" required>
    -    <div class="valid-tooltip">
    -      Looks good!
    -    </div>
    -  </div>
    -  <div class="col-md-4 position-relative">
    -    <label for="validationTooltip02" class="form-label">Last name</label>
    -    <input type="text" class="form-control" id="validationTooltip02" value="Otto" required>
    -    <div class="valid-tooltip">
    -      Looks good!
    -    </div>
    -  </div>
    -  <div class="col-md-4 position-relative">
    -    <label for="validationTooltipUsername" class="form-label">Username</label>
    -    <div class="input-group has-validation">
    -      <span class="input-group-text" id="validationTooltipUsernamePrepend">@</span>
    -      <input type="text" class="form-control" id="validationTooltipUsername" aria-describedby="validationTooltipUsernamePrepend" required>
    -      <div class="invalid-tooltip">
    -        Please choose a unique and valid username.
    -      </div>
    -    </div>
    -  </div>
    -  <div class="col-md-6 position-relative">
    -    <label for="validationTooltip03" class="form-label">City</label>
    -    <input type="text" class="form-control" id="validationTooltip03" required>
    -    <div class="invalid-tooltip">
    -      Please provide a valid city.
    -    </div>
    -  </div>
    -  <div class="col-md-3 position-relative">
    -    <label for="validationTooltip04" class="form-label">State</label>
    -    <select class="form-select" id="validationTooltip04" required>
    -      <option selected disabled value="">Choose...</option>
    -      <option>...</option>
    -    </select>
    -    <div class="invalid-tooltip">
    -      Please select a valid state.
    -    </div>
    -  </div>
    -  <div class="col-md-3 position-relative">
    -    <label for="validationTooltip05" class="form-label">Zip</label>
    -    <input type="text" class="form-control" id="validationTooltip05" required>
    -    <div class="invalid-tooltip">
    -      Please provide a valid zip.
    -    </div>
    -  </div>
    -  <div class="col-12">
    -    <button class="btn btn-primary" type="submit">Submit form</button>
    -  </div>
    -</form>
    -

    Sass

    -

    Variables

    -
    $form-feedback-margin-top:          $form-text-margin-top;
    -$form-feedback-font-size:           $form-text-font-size;
    -$form-feedback-font-style:          $form-text-font-style;
    -$form-feedback-valid-color:         $success;
    -$form-feedback-invalid-color:       $danger;
    -
    -$form-feedback-icon-valid-color:    $form-feedback-valid-color;
    -$form-feedback-icon-valid:          url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>");
    -$form-feedback-icon-invalid-color:  $form-feedback-invalid-color;
    -$form-feedback-icon-invalid:        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>");
    -
    -

    Mixins

    -

    Two mixins are combined together, through our loop, to generate our form validation feedback styles.

    -
    @mixin form-validation-state-selector($state) {
    -  @if ($state == "valid" or $state == "invalid") {
    -    .was-validated #{if(&, "&", "")}:#{$state},
    -    #{if(&, "&", "")}.is-#{$state} {
    -      @content;
    -    }
    -  } @else {
    -    #{if(&, "&", "")}.is-#{$state} {
    -      @content;
    -    }
    -  }
    -}
    -
    -@mixin form-validation-state(
    -  $state,
    -  $color,
    -  $icon,
    -  $tooltip-color: color-contrast($color),
    -  $tooltip-bg-color: rgba($color, $form-feedback-tooltip-opacity),
    -  $focus-box-shadow: 0 0 $input-btn-focus-blur $input-focus-width rgba($color, $input-btn-focus-color-opacity)
    -) {
    -  .#{$state}-feedback {
    -    display: none;
    -    width: 100%;
    -    margin-top: $form-feedback-margin-top;
    -    @include font-size($form-feedback-font-size);
    -    font-style: $form-feedback-font-style;
    -    color: $color;
    -  }
    -
    -  .#{$state}-tooltip {
    -    position: absolute;
    -    top: 100%;
    -    z-index: 5;
    -    display: none;
    -    max-width: 100%; // Contain to parent when possible
    -    padding: $form-feedback-tooltip-padding-y $form-feedback-tooltip-padding-x;
    -    margin-top: .1rem;
    -    @include font-size($form-feedback-tooltip-font-size);
    -    line-height: $form-feedback-tooltip-line-height;
    -    color: $tooltip-color;
    -    background-color: $tooltip-bg-color;
    -    @include border-radius($form-feedback-tooltip-border-radius);
    -  }
    -
    -  @include form-validation-state-selector($state) {
    -    ~ .#{$state}-feedback,
    -    ~ .#{$state}-tooltip {
    -      display: block;
    -    }
    -  }
    -
    -  .form-control {
    -    @include form-validation-state-selector($state) {
    -      border-color: $color;
    -
    -      @if $enable-validation-icons {
    -        padding-right: $input-height-inner;
    -        background-image: escape-svg($icon);
    -        background-repeat: no-repeat;
    -        background-position: right $input-height-inner-quarter center;
    -        background-size: $input-height-inner-half $input-height-inner-half;
    -      }
    -
    -      &:focus {
    -        border-color: $color;
    -        box-shadow: $focus-box-shadow;
    -      }
    -    }
    -  }
    -
    -  // stylelint-disable-next-line selector-no-qualifying-type
    -  textarea.form-control {
    -    @include form-validation-state-selector($state) {
    -      @if $enable-validation-icons {
    -        padding-right: $input-height-inner;
    -        background-position: top $input-height-inner-quarter right $input-height-inner-quarter;
    -      }
    -    }
    -  }
    -
    -  .form-select {
    -    @include form-validation-state-selector($state) {
    -      border-color: $color;
    -
    -      @if $enable-validation-icons {
    -        &:not([multiple]):not([size]),
    -        &:not([multiple])[size="1"] {
    -          padding-right: $form-select-feedback-icon-padding-end;
    -          background-image: escape-svg($form-select-indicator), escape-svg($icon);
    -          background-position: $form-select-bg-position, $form-select-feedback-icon-position;
    -          background-size: $form-select-bg-size, $form-select-feedback-icon-size;
    -        }
    -      }
    -
    -      &:focus {
    -        border-color: $color;
    -        box-shadow: $focus-box-shadow;
    -      }
    -    }
    -  }
    -
    -  .form-check-input {
    -    @include form-validation-state-selector($state) {
    -      border-color: $color;
    -
    -      &:checked {
    -        background-color: $color;
    -      }
    -
    -      &:focus {
    -        box-shadow: $focus-box-shadow;
    -      }
    -
    -      ~ .form-check-label {
    -        color: $color;
    -      }
    -    }
    -  }
    -  .form-check-inline .form-check-input {
    -    ~ .#{$state}-feedback {
    -      margin-left: .5em;
    -    }
    -  }
    -
    -  .input-group .form-control,
    -  .input-group .form-select {
    -    @include form-validation-state-selector($state) {
    -      @if $state == "valid" {
    -        z-index: 1;
    -      } @else if $state == "invalid" {
    -        z-index: 2;
    -      }
    -      &:focus {
    -        z-index: 3;
    -      }
    -    }
    -  }
    -}
    -
    -

    Map

    -

    This is the validation Sass map from _variables.scss. Override or extend this to generate different or additional states.

    -
    $form-validation-states: (
    -  "valid": (
    -    "color": $form-feedback-valid-color,
    -    "icon": $form-feedback-icon-valid
    -  ),
    -  "invalid": (
    -    "color": $form-feedback-invalid-color,
    -    "icon": $form-feedback-icon-invalid
    -  )
    -);
    -
    -

    Maps of $form-validation-states can contain three optional parameters to override tooltips and focus styles.

    -

    Loop

    -

    Used to iterate over $form-validation-states map values to generate our validation styles. Any modifications to the above Sass map will be reflected in your compiled CSS via this loop.

    -
    @each $state, $data in $form-validation-states {
    -  @include form-validation-state($state, $data...);
    -}
    -
    -

    Customizing

    -

    Validation states can be customized via Sass with the $form-validation-states map. Located in our _variables.scss file, this Sass map is how we generate the default valid/invalid validation states. Included is a nested map for customizing each state’s color, icon, tooltip color, and focus shadow. While no other states are supported by browsers, those using custom styles can easily add more complex form feedback.

    -

    Please note that we do not recommend customizing $form-validation-states values without also modifying the form-validation-state mixin.

    + + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/getting-started/accessibility/index.html b/getting-started/accessibility/index.html index cfba550..79760d8 100644 --- a/getting-started/accessibility/index.html +++ b/getting-started/accessibility/index.html @@ -1,495 +1,2117 @@ - - + + + + + + + + + + + + - - - - - - - + Accessibility · Bootstrap v5.3 - - + + -Accessibility · Bootstrap v5.1 + - + + + + + + + + + + + - - + + + + + + - + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + -
    - + + + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    + +

    Accessibility

    +
    +

    + A brief overview of Bootstrap’s features and limitations for + the creation of accessible content. +

    +
    + +
    + + On this page +
    + +
    + +
    +

    + Bootstrap provides an easy-to-use framework of ready-made styles, + layout tools, and interactive components, allowing developers to + create websites and applications that are visually appealing, + functionally rich, and accessible out of the box. +

    +

    + Overview and limitations + +

    +

    + The overall accessibility of any project built with Bootstrap + depends in large part on the author’s markup, additional + styling, and scripting they’ve included. However, provided + that these have been implemented correctly, it should be perfectly + possible to create websites and applications with Bootstrap that + fulfill + WCAG + 2.1 + (A/AA/AAA), Section 508, + and similar accessibility standards and requirements. +

    +

    + Structural markup + +

    +

    + Bootstrap’s styling and layout can be applied to a wide range + of markup structures. This documentation aims to provide developers + with best practice examples to demonstrate the use of Bootstrap + itself and illustrate appropriate semantic markup, including ways in + which potential accessibility concerns can be addressed. +

    +

    + Interactive components + +

    +

    + Bootstrap’s interactive components—such as modal dialogs, + dropdown menus, and custom tooltips—are designed to work for touch, + mouse, and keyboard users. Through the use of relevant + WAI-ARIA + roles and attributes, these components should also be understandable + and operable using assistive technologies (such as screen readers). +

    +

    + Because Bootstrap’s components are purposely designed to be + fairly generic, authors may need to include further + ARIA + roles and attributes, as well as JavaScript behavior, to more + accurately convey the precise nature and functionality of their + component. This is usually noted in the documentation. +

    +

    + Color contrast + +

    +

    + Some combinations of colors that currently make up Bootstrap’s + default palette—used throughout the framework for things such as + button variations, alert variations, form validation indicators—may + lead to insufficient color contrast (below the recommended + WCAG 2.1 text color contrast ratio of 4.5:1 + and the + WCAG 2.1 non-text color contrast ratio of 3:1), particularly when used against a light background. Authors are + encouraged to test their specific uses of color and, where + necessary, manually modify/extend these default colors to ensure + adequate color contrast ratios. +

    +

    + Visually hidden content + +

    +

    + Content which should be visually hidden, but remain accessible to + assistive technologies such as screen readers, can be styled using + the .visually-hidden class. This can be useful in + situations where additional visual information or cues (such as + meaning denoted through the use of color) need to also be conveyed + to non-visual users. +

    +
    +
    <p class="text-danger">
    +  <span class="visually-hidden">Danger: </span>
    +  This action is not reversible
    +</p>
    +
    +
    +

    + For visually hidden interactive controls, such as traditional + “skip” links, use the + .visually-hidden-focusable class. This will ensure that + the control becomes visible once focused (for sighted keyboard + users). + Watch out, compared to the equivalent .sr-only and + .sr-only-focusable classes in past versions, + Bootstrap 5’s .visually-hidden-focusable is a + standalone class, and must not be used in combination with the + .visually-hidden class. +

    +
    +
    <a class="visually-hidden-focusable" href="#content">Skip to main content</a>
    +
    +
    +

    + Reduced motion + +

    +

    + Bootstrap includes support for the + prefers-reduced-motion media feature. In browsers/environments that allow the user to specify their + preference for reduced motion, most CSS transition effects in + Bootstrap (for instance, when a modal dialog is opened or closed, or + the sliding animation in carousels) will be disabled, and meaningful + animations (such as spinners) will be slowed down. +

    +

    + On browsers that support prefers-reduced-motion, and + where the user has not explicitly signaled that + they’d prefer reduced motion (i.e. where + prefers-reduced-motion: no-preference), Bootstrap + enables smooth scrolling using the + scroll-behavior property. +

    +

    + Additional resources + +

    + +
    +
    - - - + + - + + - + + + + + + diff --git a/getting-started/browsers-devices/index.html b/getting-started/browsers-devices/index.html index 985b6a7..78db4e9 100644 --- a/getting-started/browsers-devices/index.html +++ b/getting-started/browsers-devices/index.html @@ -1,398 +1,1711 @@ - - - - - - - - - - - - - - - -Browsers and devices · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Browsers and devices · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + - -
    -
    -
    - View on GitHub -

    Browsers and devices

    + + +
    +
    +
    + +

    Browsers and devices

    +
    +

    + Learn about the browsers and devices, from modern to old, that are + supported by Bootstrap, including known quirks and bugs for each. +

    -

    Learn about the browsers and devices, from modern to old, that are supported by Bootstrap, including known quirks and bugs for each.

    - -
    - - -
    - On this page - + - -
    - - -

    Supported browsers

    -

    Bootstrap supports the latest, stable releases of all major browsers and platforms.

    -

    Alternative browsers which use the latest version of WebKit, Blink, or Gecko, whether directly or via the platform’s web view API, are not explicitly supported. However, Bootstrap should (in most cases) display and function correctly in these browsers as well. More specific support information is provided below.

    -

    You can find our supported range of browsers and their versions in our .browserslistrc file:

    -
    # https://github.com/browserslist/browserslist#readme
    +        
    +

    + Supported browsers + +

    +

    + Bootstrap supports the latest, stable releases of + all major browsers and platforms. +

    +

    + Alternative browsers which use the latest version of WebKit, Blink, + or Gecko, whether directly or via the platform’s web view API, + are not explicitly supported. However, Bootstrap should (in most + cases) display and function correctly in these browsers as well. + More specific support information is provided below. +

    +

    + You can find our supported range of browsers and their versions + in our .browserslistrc file: +

    +
    +
    # https://github.com/browserslist/browserslist#readme
     
     >= 0.5%
     last 2 major versions
    @@ -403,160 +1716,473 @@ 

    Supported browsers

    iOS >= 12 Safari >= 12 not Explorer <= 11 -

    We use Autoprefixer to handle intended browser support via CSS prefixes, which uses Browserslist to manage these browser versions. Consult their documentation for how to integrate these tools into your projects.

    -

    Mobile devices

    -

    Generally speaking, Bootstrap supports the latest versions of each major platform’s default browsers. Note that proxy browsers (such as Opera Mini, Opera Mobile’s Turbo mode, UC Browser Mini, Amazon Silk) are not supported.

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ChromeFirefoxSafariAndroid Browser & WebView
    AndroidSupportedSupportedv6.0+
    iOSSupportedSupportedSupported
    -

    Desktop browsers

    -

    Similarly, the latest versions of most desktop browsers are supported.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ChromeFirefoxMicrosoft EdgeOperaSafari
    MacSupportedSupportedSupportedSupportedSupported
    WindowsSupportedSupportedSupportedSupported
    -

    For Firefox, in addition to the latest normal stable release, we also support the latest Extended Support Release (ESR) version of Firefox.

    -

    Unofficially, Bootstrap should look and behave well enough in Chromium and Chrome for Linux, and Firefox for Linux, though they are not officially supported.

    -

    Internet Explorer

    -

    Internet Explorer is not supported. If you require Internet Explorer support, please use Bootstrap v4.

    -

    Modals and dropdowns on mobile

    -

    Overflow and scrolling

    -

    Support for overflow: hidden; on the <body> element is quite limited in iOS and Android. To that end, when you scroll past the top or bottom of a modal in either of those devices' browsers, the <body> content will begin to scroll. See Chrome bug #175502 (fixed in Chrome v40) and WebKit bug #153852.

    -

    iOS text fields and scrolling

    -

    As of iOS 9.2, while a modal is open, if the initial touch of a scroll gesture is within the boundary of a textual <input> or a <textarea>, the <body> content underneath the modal will be scrolled instead of the modal itself. See WebKit bug #153856.

    - -

    The .dropdown-backdrop element isn’t used on iOS in the nav because of the complexity of z-indexing. Thus, to close dropdowns in navbars, you must directly click the dropdown element (or any other element which will fire a click event in iOS).

    -

    Browser zooming

    -

    Page zooming inevitably presents rendering artifacts in some components, both in Bootstrap and the rest of the web. Depending on the issue, we may be able to fix it (search first and then open an issue if need be). However, we tend to ignore these as they often have no direct solution other than hacky workarounds.

    -

    Validators

    -

    In order to provide the best possible experience to old and buggy browsers, Bootstrap uses CSS browser hacks in several places to target special CSS to certain browser versions in order to work around bugs in the browsers themselves. These hacks understandably cause CSS validators to complain that they are invalid. In a couple places, we also use bleeding-edge CSS features that aren’t yet fully standardized, but these are used purely for progressive enhancement.

    -

    These validation warnings don’t matter in practice since the non-hacky portion of our CSS does fully validate and the hacky portions don’t interfere with the proper functioning of the non-hacky portion, hence why we deliberately ignore these particular warnings.

    -

    Our HTML docs likewise have some trivial and inconsequential HTML validation warnings due to our inclusion of a workaround for a certain Firefox bug.

    +
    +
    +

    + We use + Autoprefixer + to handle intended browser support via CSS prefixes, which uses + Browserslist + to manage these browser versions. Consult their documentation for + how to integrate these tools into your projects. +

    +

    + Mobile devices + +

    +

    + Generally speaking, Bootstrap supports the latest versions of each + major platform’s default browsers. Note that proxy browsers + (such as Opera Mini, Opera Mobile’s Turbo mode, UC Browser + Mini, Amazon Silk) are not supported. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ChromeFirefoxSafariAndroid Browser & WebView
    AndroidSupportedSupportedv6.0+
    iOSSupportedSupportedSupported
    +
    + +

    + Desktop browsers + +

    +

    + Similarly, the latest versions of most desktop browsers are + supported. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ChromeFirefoxMicrosoft EdgeOperaSafari
    MacSupportedSupportedSupportedSupportedSupported
    WindowsSupportedSupportedSupportedSupported
    +
    + +

    + For Firefox, in addition to the latest normal stable release, we + also support the latest + Extended Support Release (ESR) + version of Firefox. +

    +

    + Unofficially, Bootstrap should look and behave well enough in + Chromium and Chrome for Linux, and Firefox for Linux, though they + are not officially supported. +

    +

    + Internet Explorer + +

    +

    + Internet Explorer is not supported. + If you require Internet Explorer support, please use Bootstrap + v4. +

    +

    + Modals and dropdowns on mobile + +

    +

    + Overflow and scrolling + +

    +

    + Support for overflow: hidden; on the + <body> element is quite limited in iOS and + Android. To that end, when you scroll past the top or bottom of a + modal in either of those devices’ browsers, the + <body> content will begin to scroll. See + Chrome bug #175502 + (fixed in Chrome v40) and + WebKit bug #153852. +

    +

    + iOS text fields and scrolling + +

    +

    + As of iOS 9.2, while a modal is open, if the initial touch of a + scroll gesture is within the boundary of a textual + <input> or a <textarea>, the + <body> content underneath the modal will be + scrolled instead of the modal itself. See + WebKit bug #153856. +

    + +

    + The .dropdown-backdrop element isn’t used on iOS + in the nav because of the complexity of z-indexing. Thus, to close + dropdowns in navbars, you must directly click the dropdown element + (or + any other element which will fire a click event in iOS). +

    +

    + Browser zooming + +

    +

    + Page zooming inevitably presents rendering artifacts in some + components, both in Bootstrap and the rest of the web. Depending on + the issue, we may be able to fix it (search first and then open an + issue if need be). However, we tend to ignore these as they often + have no direct solution other than hacky workarounds. +

    +

    + Validators + +

    +

    + In order to provide the best possible experience to old and buggy + browsers, Bootstrap uses + CSS browser hacks in several + places to target special CSS to certain browser versions in order to + work around bugs in the browsers themselves. These hacks + understandably cause CSS validators to complain that they are + invalid. In a couple places, we also use bleeding-edge CSS features + that aren’t yet fully standardized, but these are used purely + for progressive enhancement. +

    +

    + These validation warnings don’t matter in practice since the + non-hacky portion of our CSS does fully validate and the hacky + portions don’t interfere with the proper functioning of the + non-hacky portion, hence why we deliberately ignore these particular + warnings. +

    +

    + Our HTML docs likewise have some trivial and inconsequential HTML + validation warnings due to our inclusion of a workaround for + a certain Firefox bug. +

    +
    +
    +
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/getting-started/contents/index.html b/getting-started/contents/index.html index dde1b03..4e158de 100644 --- a/getting-started/contents/index.html +++ b/getting-started/contents/index.html @@ -1,610 +1,2133 @@ - - + + + + + + + + + + + + - - - - - - - + Contents · Bootstrap v5.3 - - + + -Contents · Bootstrap v5.1 + - + + + + + + + + + + + - - + + + + + + - + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + -
    - + + + +
    + + + + + + + + + + + + + + + +
    +
    +
    + +

    Contents

    +
    +

    + Discover what’s included in Bootstrap, including our compiled + and source code flavors. +

    +
    -
    - - -

    Precompiled Bootstrap

    -

    Once downloaded, unzip the compressed folder and you’ll see something like this:

    - -
    bootstrap/
    -├── css/
    -│   ├── bootstrap-grid.css
    -│   ├── bootstrap-grid.css.map
    -│   ├── bootstrap-grid.min.css
    -│   ├── bootstrap-grid.min.css.map
    -│   ├── bootstrap-grid.rtl.css
    -│   ├── bootstrap-grid.rtl.css.map
    -│   ├── bootstrap-grid.rtl.min.css
    -│   ├── bootstrap-grid.rtl.min.css.map
    -│   ├── bootstrap-reboot.css
    -│   ├── bootstrap-reboot.css.map
    -│   ├── bootstrap-reboot.min.css
    -│   ├── bootstrap-reboot.min.css.map
    -│   ├── bootstrap-reboot.rtl.css
    -│   ├── bootstrap-reboot.rtl.css.map
    -│   ├── bootstrap-reboot.rtl.min.css
    -│   ├── bootstrap-reboot.rtl.min.css.map
    -│   ├── bootstrap-utilities.css
    -│   ├── bootstrap-utilities.css.map
    -│   ├── bootstrap-utilities.min.css
    -│   ├── bootstrap-utilities.min.css.map
    -│   ├── bootstrap-utilities.rtl.css
    -│   ├── bootstrap-utilities.rtl.css.map
    -│   ├── bootstrap-utilities.rtl.min.css
    -│   ├── bootstrap-utilities.rtl.min.css.map
    -│   ├── bootstrap.css
    -│   ├── bootstrap.css.map
    -│   ├── bootstrap.min.css
    -│   ├── bootstrap.min.css.map
    -│   ├── bootstrap.rtl.css
    -│   ├── bootstrap.rtl.css.map
    -│   ├── bootstrap.rtl.min.css
    -│   └── bootstrap.rtl.min.css.map
    -└── js/
    -    ├── bootstrap.bundle.js
    -    ├── bootstrap.bundle.js.map
    -    ├── bootstrap.bundle.min.js
    -    ├── bootstrap.bundle.min.js.map
    -    ├── bootstrap.esm.js
    -    ├── bootstrap.esm.js.map
    -    ├── bootstrap.esm.min.js
    -    ├── bootstrap.esm.min.js.map
    -    ├── bootstrap.js
    -    ├── bootstrap.js.map
    -    ├── bootstrap.min.js
    -    └── bootstrap.min.js.map
    -

    This is the most basic form of Bootstrap: precompiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*). Source maps (bootstrap.*.map) are available for use with certain browsers' developer tools. Bundled JS files (bootstrap.bundle.js and minified bootstrap.bundle.min.js) include Popper.

    -

    CSS files

    -

    Bootstrap includes a handful of options for including some or all of our compiled CSS.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    CSS filesLayoutContentComponentsUtilities
    -
    bootstrap.css
    -
    bootstrap.rtl.css
    -
    bootstrap.min.css
    -
    bootstrap.rtl.min.css
    -
    IncludedIncludedIncludedIncluded
    -
    bootstrap-grid.css
    -
    bootstrap-grid.rtl.css
    -
    bootstrap-grid.min.css
    -
    bootstrap-grid.rtl.min.css
    -
    Only grid systemOnly flex utilities
    -
    bootstrap-utilities.css
    -
    bootstrap-utilities.rtl.css
    -
    bootstrap-utilities.min.css
    -
    bootstrap-utilities.rtl.min.css
    -
    Included
    -
    bootstrap-reboot.css
    -
    bootstrap-reboot.rtl.css
    -
    bootstrap-reboot.min.css
    -
    bootstrap-reboot.rtl.min.css
    -
    Only Reboot
    -

    JS files

    -

    Similarly, we have options for including some or all of our compiled JavaScript.

    - - - - - - - - - - - - - - - - - -
    JS filesPopper
    -
    bootstrap.bundle.js
    -
    bootstrap.bundle.min.js
    -
    Included
    -
    bootstrap.js
    -
    bootstrap.min.js
    -
    -

    Bootstrap source code

    -

    The Bootstrap source code download includes the precompiled CSS and JavaScript assets, along with source Sass, JavaScript, and documentation. More specifically, it includes the following and more:

    -
    bootstrap/
    -├── dist/
    -│   ├── css/
    -│   └── js/
    -├── site/
    -│   └──content/
    -│      └── docs/
    -│          └── 5.1/
    -│              └── examples/
    -├── js/
    -└── scss/
    -

    The scss/ and js/ are the source code for our CSS and JavaScript. The dist/ folder includes everything listed in the precompiled download section above. The site/docs/ folder includes the source code for our documentation, and examples/ of Bootstrap usage. Beyond that, any other included file provides support for packages, license information, and development.

    +
    + + On this page +
    + +
    -
    -
    - +
    +

    + Compiled Bootstrap + +

    +

    + Once downloaded, unzip the compressed folder and you’ll see + something like this: +

    + +
    +
    bootstrap/
    +├── css/
    +│   ├── bootstrap-grid.css
    +│   ├── bootstrap-grid.css.map
    +│   ├── bootstrap-grid.min.css
    +│   ├── bootstrap-grid.min.css.map
    +│   ├── bootstrap-grid.rtl.css
    +│   ├── bootstrap-grid.rtl.css.map
    +│   ├── bootstrap-grid.rtl.min.css
    +│   ├── bootstrap-grid.rtl.min.css.map
    +│   ├── bootstrap-reboot.css
    +│   ├── bootstrap-reboot.css.map
    +│   ├── bootstrap-reboot.min.css
    +│   ├── bootstrap-reboot.min.css.map
    +│   ├── bootstrap-reboot.rtl.css
    +│   ├── bootstrap-reboot.rtl.css.map
    +│   ├── bootstrap-reboot.rtl.min.css
    +│   ├── bootstrap-reboot.rtl.min.css.map
    +│   ├── bootstrap-utilities.css
    +│   ├── bootstrap-utilities.css.map
    +│   ├── bootstrap-utilities.min.css
    +│   ├── bootstrap-utilities.min.css.map
    +│   ├── bootstrap-utilities.rtl.css
    +│   ├── bootstrap-utilities.rtl.css.map
    +│   ├── bootstrap-utilities.rtl.min.css
    +│   ├── bootstrap-utilities.rtl.min.css.map
    +│   ├── bootstrap.css
    +│   ├── bootstrap.css.map
    +│   ├── bootstrap.min.css
    +│   ├── bootstrap.min.css.map
    +│   ├── bootstrap.rtl.css
    +│   ├── bootstrap.rtl.css.map
    +│   ├── bootstrap.rtl.min.css
    +│   └── bootstrap.rtl.min.css.map
    +└── js/
    +    ├── bootstrap.bundle.js
    +    ├── bootstrap.bundle.js.map
    +    ├── bootstrap.bundle.min.js
    +    ├── bootstrap.bundle.min.js.map
    +    ├── bootstrap.esm.js
    +    ├── bootstrap.esm.js.map
    +    ├── bootstrap.esm.min.js
    +    ├── bootstrap.esm.min.js.map
    +    ├── bootstrap.js
    +    ├── bootstrap.js.map
    +    ├── bootstrap.min.js
    +    └── bootstrap.min.js.map
    +
    +
    +

    + This is the most basic form of Bootstrap: compiled files for quick + drop-in usage in nearly any web project. We provide compiled CSS and + JS (bootstrap.*), as well as compiled and minified CSS + and JS (bootstrap.min.*). + Source maps + (bootstrap.*.map) are available for use with certain + browsers’ developer tools. Bundled JS files (bootstrap.bundle.js + and minified bootstrap.bundle.min.js) include + Popper. +

    +

    + CSS files + +

    +

    + Bootstrap includes a handful of options for including some or all of + our compiled CSS. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    CSS filesLayoutContentComponentsUtilities
    + bootstrap.css
    + bootstrap.min.css
    + bootstrap.rtl.css
    + bootstrap.rtl.min.css +
    IncludedIncludedIncludedIncluded
    + bootstrap-grid.css
    + bootstrap-grid.rtl.css
    + bootstrap-grid.min.css
    + bootstrap-grid.rtl.min.css +
    + Only grid system + + Only flex utilities +
    + bootstrap-utilities.css
    + bootstrap-utilities.rtl.css
    + bootstrap-utilities.min.css
    + bootstrap-utilities.rtl.min.css +
    Included
    + bootstrap-reboot.css
    + bootstrap-reboot.rtl.css
    + bootstrap-reboot.min.css
    + bootstrap-reboot.rtl.min.css +
    + Only Reboot +
    +
    +

    + JS files + +

    +

    + Similarly, we have options for including some or all of our compiled + JavaScript. +

    +
    + + + + + + + + + + + + + + + + + +
    JS FilesPopper
    + bootstrap.bundle.js
    + bootstrap.bundle.min.js
    +
    Included
    + bootstrap.js
    + bootstrap.min.js
    +
    +
    -
    -
    -
    -
    - - Bootstrap - Bootstrap - - -
    -
    -
    Links
    - -
    - -
    -
    Projects
    - -
    - +

    + Bootstrap source code + +

    +

    + The Bootstrap source code download includes the compiled CSS and + JavaScript assets, along with source Sass, JavaScript, and + documentation. More specifically, it includes the following and + more: +

    +
    +
    bootstrap/
    +├── dist/
    +│   ├── css/
    +│   └── js/
    +├── site/
    +│   └──content/
    +│      └── docs/
    +│          └── 5.3/
    +│              └── examples/
    +├── js/
    +└── scss/
    +
    +
    +

    + The scss/ and js/ are the source code for + our CSS and JavaScript. The dist/ folder includes + everything listed in the compiled download section above. The + site/content/docs/ folder includes the source code for + our hosted documentation, including our live examples of Bootstrap + usage. +

    +

    + Beyond that, any other included file provides support for packages, + license information, and development. +

    +
    +
    -
    - - + + + + + - + - + + + + + diff --git a/getting-started/contribute/index.html b/getting-started/contribute/index.html index d929c88..297f835 100644 --- a/getting-started/contribute/index.html +++ b/getting-started/contribute/index.html @@ -1,534 +1,2135 @@ - - - - - - - - - - - - - - - -Contribute · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Contribute · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Contribute

    +
    +

    + Help develop Bootstrap with our documentation build scripts and + tests. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Contribute

    +
    + + On this page +
    +
    -

    Help develop Bootstrap with our documentation build scripts and tests.

    - -
    - - -
    - On this page - +
    +

    + Tooling setup + +

    +

    + Bootstrap uses + npm scripts to + build the documentation and compile source files. Our + package.json + houses these scripts for compiling code, running tests, and more. + These aren’t intended for use outside our repository and + documentation. +

    +

    + To use our build system and run our documentation locally, + you’ll need a copy of Bootstrap’s source files and Node. + Follow these steps and you should be ready to rock: +

    +
      +
    1. + Download and install Node.js, which we use to manage our dependencies. +
    2. +
    3. + Either + download Bootstrap’s sources + or fork and clone + Bootstrap’s repository. +
    4. +
    5. + Navigate to the root /bootstrap directory and run + npm install to install our local dependencies listed + in + package.json. +
    6. +
    +

    + When completed, you’ll be able to run the various commands + provided from the command line. +

    +

    + Using npm scripts + +

    +

    + Our + package.json + includes numerous tasks for developing the project. Run + npm run to see all the npm scripts in your terminal. + Primary tasks include: +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    TaskDescription
    npm start + Compiles CSS and JavaScript, builds the documentation, and + starts a local server. +
    npm run dist + Creates the dist/ directory with compiled + files. Uses Sass, + Autoprefixer, and + terser. +
    npm test + Runs tests locally after running npm run dist +
    npm run docs-serveBuilds and runs the documentation locally.
    +
    + +
    + Get started with Bootstrap via npm with our starter + project! + Head to the + Sass & JS example + template repository to see how to build and customize Bootstrap in + your own npm project. Includes Sass compiler, Autoprefixer, + Stylelint, PurgeCSS, and Bootstrap Icons. +
    + +

    + Sass + +

    +

    + Bootstrap uses + Dart Sass for + compiling our Sass source files into CSS files (included in our + build process), and we recommend you do the same if you’re + compiling Sass using your own asset pipeline. We previously used + Node Sass for Bootstrap v4, but LibSass and packages built on top of + it, including Node Sass, are now + deprecated. +

    +

    + Dart Sass uses a rounding precision of 10 and for efficiency reasons + does not allow adjustment of this value. We don’t lower this + precision during further processing of our generated CSS, such as + during minification, but if you chose to do so we recommend + maintaining a precision of at least 6 to prevent issues with browser + rounding. +

    +

    + Autoprefixer + +

    +

    + Bootstrap uses + Autoprefixer + (included in our build process) to automatically add vendor prefixes + to some CSS properties at build time. Doing so saves us time and + code by allowing us to write key parts of our CSS a single time + while eliminating the need for vendor mixins like those found in v3. +

    +

    + We maintain the list of browsers supported through Autoprefixer in a + separate file within our GitHub repository. See + .browserslistrc + for details. +

    +

    + RTLCSS + +

    +

    + Bootstrap uses RTLCSS to process + compiled CSS and convert them to RTL – basically replacing + horizontal direction aware properties (e.g. + padding-left) with their opposite. It allows us only + write our CSS a single time and make minor tweaks using RTLCSS + control + and + value + directives. +

    +

    + Local documentation + +

    +

    + Running our documentation locally requires the use of Hugo, which + gets installed via the + hugo-bin npm + package. Hugo is a blazingly fast and quite extensible static site + generator that provides us: basic includes, Markdown-based files, + templates, and more. Here’s how to get it started: +

    +
      +
    1. + Run through the tooling setup above + to install all dependencies. +
    2. +
    3. + From the root /bootstrap directory, run + npm run docs-serve in the command line. +
    4. +
    5. + Open http://localhost:9001/ in your browser, and + voilà. +
    6. +
    +

    + Learn more about using Hugo by reading its + documentation. +

    +

    + Troubleshooting + +

    +

    + Should you encounter problems with installing dependencies, + uninstall all previous dependency versions (global and local). Then, + rerun npm install. +

    +
    +
    - -
    - - -

    Tooling setup

    -

    Bootstrap uses npm scripts to build the documentation and compile source files. Our package.json houses these scripts for compiling code, running tests, and more. These aren’t intended for use outside our repository and documentation.

    -

    To use our build system and run our documentation locally, you’ll need a copy of Bootstrap’s source files and Node. Follow these steps and you should be ready to rock:

    -
      -
    1. Download and install Node.js, which we use to manage our dependencies.
    2. -
    3. Either download Bootstrap’s sources or fork Bootstrap’s repository.
    4. -
    5. Navigate to the root /bootstrap directory and run npm install to install our local dependencies listed in package.json.
    6. -
    -

    When completed, you’ll be able to run the various commands provided from the command line.

    -

    Using npm scripts

    -

    Our package.json includes numerous tasks for developing the project. Run npm run to see all the npm scripts in your terminal. Primary tasks include:

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    TaskDescription
    - npm start - - Compiles CSS and JavaScript, builds the documentation, and starts a local server. -
    - npm run dist - - Creates the dist/ directory with compiled files. Requires Sass, Autoprefixer, and terser. -
    - npm test - - Runs tests locally after running npm run dist -
    - npm run docs-serve - - Builds and runs the documentation locally. -
    -
    -Get started with Bootstrap via npm with our starter project! Head to the twbs/bootstrap-npm-starter template repository to see how to build and customize Bootstrap in your own npm project. Includes Sass compiler, Autoprefixer, Stylelint, PurgeCSS, and Bootstrap Icons. -
    - -

    Sass

    -

    Bootstrap uses Dart Sass for compiling our Sass source files into CSS files (included in our build process), and we recommend you do the same if you’re compiling Sass using your own asset pipeline. We previously used Node Sass for Bootstrap v4, but LibSass and packages built on top of it, including Node Sass, are now deprecated.

    -

    Dart Sass uses a rounding precision of 10 and for efficiency reasons does not allow adjustment of this value. We don’t lower this precision during further processing of our generated CSS, such as during minification, but if you chose to do so we recommend maintaining a precision of at least 6 to prevent issues with browser rounding.

    -

    Autoprefixer

    -

    Bootstrap uses Autoprefixer (included in our build process) to automatically add vendor prefixes to some CSS properties at build time. Doing so saves us time and code by allowing us to write key parts of our CSS a single time while eliminating the need for vendor mixins like those found in v3.

    -

    We maintain the list of browsers supported through Autoprefixer in a separate file within our GitHub repository. See .browserslistrc for details.

    -

    RTLCSS

    -

    Bootstrap uses RTLCSS to process compiled CSS and convert them to RTL – basically replacing horizontal direction aware properties (eg. padding-left) with their opposite. It allows us only write our CSS a single time and make minor tweaks using RTLCSS control and value directives.

    -

    Local documentation

    -

    Running our documentation locally requires the use of Hugo, which gets installed via the hugo-bin npm package. Hugo is a blazingly fast and quite extensible static site generator that provides us: basic includes, Markdown-based files, templates, and more. Here’s how to get it started:

    -
      -
    1. Run through the tooling setup above to install all dependencies.
    2. -
    3. From the root /bootstrap directory, run npm run docs-serve in the command line.
    4. -
    5. Open http://localhost:9001/ in your browser, and voilà.
    6. -
    -

    Learn more about using Hugo by reading its documentation.

    -

    Troubleshooting

    -

    Should you encounter problems with installing dependencies, uninstall all previous dependency versions (global and local). Then, rerun npm install.

    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/getting-started/download/index.html b/getting-started/download/index.html index 47f6730..39e0126 100644 --- a/getting-started/download/index.html +++ b/getting-started/download/index.html @@ -1,523 +1,2215 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Download · Bootstrap v5.3 -Download · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
    + + +
    +
    +
    + +

    Download

    +
    +

    + Download Bootstrap to get the compiled CSS and JavaScript, source + code, or include it with your favorite package managers like npm, + RubyGems, and more. +

    - -
  • - - -
  • -
  • - - -
    -
      -
    • API
    • -
    • Background
    • -
    • Borders
    • -
    • Colors
    • -
    • Display
    • -
    • Flex
    • -
    • Float
    • -
    • Interactions
    • -
    • Opacity
    • -
    • Overflow
    • -
    • Position
    • -
    • Shadows
    • -
    • Sizing
    • -
    • Spacing
    • -
    • Text
    • -
    • Vertical align
    • -
    • Visibility
    • + +
      +

      + Compiled CSS and JS + +

      +

      + Download ready-to-use compiled code for + Bootstrap v5.3.0-alpha3 to easily drop into your + project, which includes: +

      + -
      - -
    • - - -
      -
        -
      • Approach
      • -
      • Icons
      • +

        + This doesn’t include documentation, source files, or any + optional JavaScript dependencies like Popper. +

        +

        + Download +

        +

        + Source files + +

        +

        + Compile Bootstrap with your own asset pipeline by downloading our + source Sass, JavaScript, and documentation files. This option + requires some additional tooling: +

        + -
      -
    • -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        + Should you require our full set of + build tools, + they are included for developing Bootstrap and its docs, but + they’re likely unsuitable for your own purposes. +

        +

        + Download source +

        +

        + Examples + +

        +

        + If you want to download and examine our + examples, you can grab the + already built examples: +

        +

        + Download Examples +

        +

        + CDN via jsDelivr + +

        +

        + Skip the download with + jsDelivr to deliver cached + version of Bootstrap’s compiled CSS and JS to your project. +

        +
        +
        <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
        +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
        +
        +
        +

        + If you’re using our compiled JavaScript and prefer to include + Popper separately, add Popper before our JS, via a CDN preferably. +

        +
        +
        <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.7/dist/umd/popper.min.js" integrity="sha384-zYPOMqeu1DAVkHiLqWBUTcbYfZ8osu1Nd6Z89ify25QV9guujx43ITvfi12/QExE" crossorigin="anonymous"></script>
        +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.min.js" integrity="sha384-Y4oOpwW3duJdCWv5ly8SCFYWqFDsfob/3GkgExXKV4idmbt98QcxXYs9UoXAB7BZ" crossorigin="anonymous"></script>
        +
        +
        +

        + Package managers + +

        +

        + Pull in Bootstrap’s source files into nearly + any project with some of the most popular package managers. No + matter the package manager, Bootstrap will + require a + Sass compiler and + Autoprefixer + for a setup that matches our official compiled versions. +

        +

        + npm + +

        +

        + Install Bootstrap in your Node.js powered apps with + the npm package: +

        +
        +
        npm install bootstrap@5.3.0-alpha3
        +
        +
        +

        + const bootstrap = require('bootstrap') or + import bootstrap from 'bootstrap' will load all of + Bootstrap’s plugins onto a bootstrap object. The + bootstrap module itself exports all of our plugins. You + can manually load Bootstrap’s plugins individually by loading + the /js/dist/*.js files under the package’s + top-level directory. +

        +

        + Bootstrap’s package.json contains some additional + metadata under the following keys: +

        +
          +
        • + sass - path to Bootstrap’s main + Sass source file +
        • +
        • + style - path to Bootstrap’s non-minified CSS + that’s been compiled using the default settings (no + customization) +
        -
      -
    • -
    • -
    • - - Migration - -
    • -
    - +
    + Get started with Bootstrap via npm with our starter + project! + Head to the + Sass & JS example + template repository to see how to build and customize Bootstrap in + your own npm project. Includes Sass compiler, Autoprefixer, + Stylelint, PurgeCSS, and Bootstrap Icons. +
    - - -
    -
    -
    - View on GitHub -

    Download

    +

    + yarn + +

    +

    + Install Bootstrap in your Node.js powered apps with + the yarn package: +

    +
    +
    yarn add bootstrap@5.3.0-alpha3
    +
    +
    +

    + RubyGems + +

    +

    + Install Bootstrap in your Ruby apps using + Bundler + (recommended) and + RubyGems by adding the following + line to your + Gemfile: +

    +
    +
    gem 'bootstrap', '~> 5.3.0.alpha3'
    +
    +
    +

    + Alternatively, if you’re not using Bundler, you can install + the gem by running this command: +

    +
    +
    gem install bootstrap -v 5.3.0.alpha3
    +
    +
    +

    + See the gem’s README + for further details. +

    +

    + Composer + +

    +

    + You can also install and manage Bootstrap’s Sass and + JavaScript using Composer: +

    +
    +
    composer require twbs/bootstrap:5.3.0-alpha3
    +
    +
    +

    + NuGet + +

    +

    + If you develop in .NET Framework, you can also install and manage + Bootstrap’s + CSS or + Sass + and JavaScript using NuGet. + Newer projects should use + libman + or another method as NuGet is designed for compiled code, not + frontend assets. +

    +
    +
    Install-Package bootstrap
    +
    +
    +
    +
    Install-Package bootstrap.sass
    +
    +
    -

    Download Bootstrap to get the compiled CSS and JavaScript, source code, or include it with your favorite package managers like npm, RubyGems, and more.

    - - -
    - +
    +
    -
    - On this page - +
    +
    +
    +
    + + + Bootstrap + + + Bootstrap + + +
    +
    +
    Links
    + +
    +
    +
    Guides
    + +
    +
    +
    Projects
    + +
    +
    +
    Community
    + +
    - - -
    - - -

    Compiled CSS and JS

    -

    Download ready-to-use compiled code for Bootstrap v5.1.3 to easily drop into your project, which includes:

    - -

    This doesn’t include documentation, source files, or any optional JavaScript dependencies like Popper.

    -

    Download

    -

    Source files

    -

    Compile Bootstrap with your own asset pipeline by downloading our source Sass, JavaScript, and documentation files. This option requires some additional tooling:

    - -

    Should you require our full set of build tools, they are included for developing Bootstrap and its docs, but they’re likely unsuitable for your own purposes.

    -

    Download source

    -

    Examples

    -

    If you want to download and examine our examples, you can grab the already built examples:

    -

    Download Examples

    -

    CDN via jsDelivr

    -

    Skip the download with jsDelivr to deliver cached version of Bootstrap’s compiled CSS and JS to your project.

    -
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    -<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
    -

    If you’re using our compiled JavaScript and prefer to include Popper separately, add Popper before our JS, via a CDN preferably.

    -
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
    -<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
    -

    Package managers

    -

    Pull in Bootstrap’s source files into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will require a Sass compiler and Autoprefixer for a setup that matches our official compiled versions.

    -

    npm

    -

    Install Bootstrap in your Node.js powered apps with the npm package:

    -
    npm install bootstrap
    -

    const bootstrap = require('bootstrap') or import bootstrap from 'bootstrap' will load all of Bootstrap’s plugins onto a bootstrap object. -The bootstrap module itself exports all of our plugins. You can manually load Bootstrap’s plugins individually by loading the /js/dist/*.js files under the package’s top-level directory.

    -

    Bootstrap’s package.json contains some additional metadata under the following keys:

    -
      -
    • sass - path to Bootstrap’s main Sass source file
    • -
    • style - path to Bootstrap’s non-minified CSS that’s been precompiled using the default settings (no customization)
    • -
    -
    -Get started with Bootstrap via npm with our starter project! Head to the twbs/bootstrap-npm-starter template repository to see how to build and customize Bootstrap in your own npm project. Includes Sass compiler, Autoprefixer, Stylelint, PurgeCSS, and Bootstrap Icons. -
    - -

    yarn

    -

    Install Bootstrap in your Node.js powered apps with the yarn package:

    -
    yarn add bootstrap
    -

    RubyGems

    -

    Install Bootstrap in your Ruby apps using Bundler (recommended) and RubyGems by adding the following line to your Gemfile:

    -
    gem 'bootstrap', '~> 5.1.3'
    -

    Alternatively, if you’re not using Bundler, you can install the gem by running this command:

    -
    gem install bootstrap -v 5.1.3
    -

    See the gem’s README for further details.

    -

    Composer

    -

    You can also install and manage Bootstrap’s Sass and JavaScript using Composer:

    -
    composer require twbs/bootstrap:5.1.3
    -

    NuGet

    -

    If you develop in .NET, you can also install and manage Bootstrap’s CSS or Sass and JavaScript using NuGet:

    -
    Install-Package bootstrap
    -
    Install-Package bootstrap.sass
    -
    -
  • -
    + + - + + - + + + const classes = Array.from( + event.target + .closest('.bd-code-snippet') + .querySelector('.bd-example').classList + ).join(' '); - + const jsSnippet = event.target + .closest('.bd-code-snippet') + .querySelector('.btn-edit') + .getAttribute('data-sb-js-snippet'); + StackBlitzSDK.openBootstrapSnippet(htmlSnippet, jsSnippet, classes); + }); + }); + StackBlitzSDK.openBootstrapSnippet = ( + htmlSnippet, + jsSnippet, + classes + ) => { + const markup = ` + + + + + + + Bootstrap Example + <${'script'} src="index.html\/\/cdn\.jsdelivr\.net\/npm\/bootstrap@5\.3\.0\-alpha3\/dist\/js\/bootstrap\.bundle\.min\.js"> + + + +${htmlSnippet.replace(/^/gm, ' ')} + + +`; + const jsSnippetContent = jsSnippet + ? '\/\/ NOTICE!!! Initially embedded in our docs this JavaScript\n\/\/ file contains elements that can help you create reproducible\n\/\/ use cases in StackBlitz for instance\.\n\/\/ In a real project please adapt this content to your needs\.\n\/\/ \u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\n\n\/\*!\n \* JavaScript for Bootstrap\u0027s docs \(https:\/\/getbootstrap\.com\/\)\n \* Copyright 2011\-2023 The Bootstrap Authors\n \* Licensed under the Creative Commons Attribution 3\.0 Unported License\.\n \* For details, see https:\/\/creativecommons\.org\/licenses\/by\/3\.0\/\.\n \*\/\n\n\/\* global bootstrap: false \*\/\n\n\(\(\) =\u003e \{\n \u0027use strict\u0027\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Tooltips\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all tooltips in a docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022tooltip\u0022\]\u0027\)\n \.forEach\(tooltip =\u003e \{\n new bootstrap\.Tooltip\(tooltip\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Popovers\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all popovers in docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022popover\u0022\]\u0027\)\n \.forEach\(popover =\u003e \{\n new bootstrap\.Popover\(popover\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Toasts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used by \u0027Placement\u0027 example in docs or StackBlitz\n const toastPlacement = document\.getElementById\(\u0027toastPlacement\u0027\)\n if \(toastPlacement\) \{\n document\.getElementById\(\u0027selectToastPlacement\u0027\)\.addEventListener\(\u0027change\u0027, function \(\) \{\n if \(!toastPlacement\.dataset\.originalClass\) \{\n toastPlacement\.dataset\.originalClass = toastPlacement\.className\n \}\n\n toastPlacement\.className = `\$\{toastPlacement\.dataset\.originalClass\} \$\{this\.value\}`\n \}\)\n \}\n\n \/\/ Instantiate all toasts in docs pages only\n document\.querySelectorAll\(\u0027\.bd\-example \.toast\u0027\)\n \.forEach\(toastNode =\u003e \{\n const toast = new bootstrap\.Toast\(toastNode, \{\n autohide: false\n \}\)\n\n toast\.show\(\)\n \}\)\n\n \/\/ Instantiate all toasts in docs pages only\n \/\/ js\-docs\-start live\-toast\n const toastTrigger = document\.getElementById\(\u0027liveToastBtn\u0027\)\n const toastLiveExample = document\.getElementById\(\u0027liveToast\u0027\)\n\n if \(toastTrigger\) \{\n const toastBootstrap = bootstrap\.Toast\.getOrCreateInstance\(toastLiveExample\)\n toastTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n toastBootstrap\.show\(\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-toast\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Alerts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used in \u0027Show live alert\u0027 example in docs or StackBlitz\n\n \/\/ js\-docs\-start live\-alert\n const alertPlaceholder = document\.getElementById\(\u0027liveAlertPlaceholder\u0027\)\n const appendAlert = \(message, type\) =\u003e \{\n const wrapper = document\.createElement\(\u0027div\u0027\)\n wrapper\.innerHTML = \[\n `\u003cdiv class=\u0022alert alert\-\$\{type\} alert\-dismissible\u0022 role=\u0022alert\u0022\u003e`,\n ` \u003cdiv\u003e\$\{message\}\u003c\/div\u003e`,\n \u0027 \u003cbutton type=\u0022button\u0022 class=\u0022btn\-close\u0022 data\-bs\-dismiss=\u0022alert\u0022 aria\-label=\u0022Close\u0022\u003e\u003c\/button\u003e\u0027,\n \u0027\u003c\/div\u003e\u0027\n \]\.join\(\u0027\u0027\)\n\n alertPlaceholder\.append\(wrapper\)\n \}\n\n const alertTrigger = document\.getElementById\(\u0027liveAlertBtn\u0027\)\n if \(alertTrigger\) \{\n alertTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n appendAlert\(\u0027Nice, you triggered this alert message!\u0027, \u0027success\u0027\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-alert\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Carousels\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all non\-autoplaying carousels in docs or StackBlitz\n document\.querySelectorAll\(\u0027\.carousel:not\(\[data\-bs\-ride=\u0022carousel\u0022\]\)\u0027\)\n \.forEach\(carousel =\u003e \{\n bootstrap\.Carousel\.getOrCreateInstance\(carousel\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Checks \u0026 Radios\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Indeterminate checkbox example in docs and StackBlitz\n document\.querySelectorAll\(\u0027\.bd\-example\-indeterminate \[type=\u0022checkbox\u0022\]\u0027\)\n \.forEach\(checkbox =\u003e \{\n if \(checkbox\.id\.includes\(\u0027Indeterminate\u0027\)\) \{\n checkbox\.indeterminate = true\n \}\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Links\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Disable empty links in docs examples only\n document\.querySelectorAll\(\u0027\.bd\-content \[href=\u0022#\u0022\]\u0027\)\n \.forEach\(link =\u003e \{\n link\.addEventListener\(\u0027click\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal \u0027Varying modal content\u0027 example in docs and StackBlitz\n \/\/ js\-docs\-start varying\-modal\-content\n const exampleModal = document\.getElementById\(\u0027exampleModal\u0027\)\n if \(exampleModal\) \{\n exampleModal\.addEventListener\(\u0027show\.bs\.modal\u0027, event =\u003e \{\n \/\/ Button that triggered the modal\n const button = event\.relatedTarget\n \/\/ Extract info from data\-bs\-\* attributes\n const recipient = button\.getAttribute\(\u0027data\-bs\-whatever\u0027\)\n \/\/ If necessary, you could initiate an Ajax request here\n \/\/ and then do the updating in a callback\.\n\n \/\/ Update the modal\u0027s content\.\n const modalTitle = exampleModal\.querySelector\(\u0027\.modal\-title\u0027\)\n const modalBodyInput = exampleModal\.querySelector\(\u0027\.modal\-body input\u0027\)\n\n modalTitle\.textContent = `New message to \$\{recipient\}`\n modalBodyInput\.value = recipient\n \}\)\n \}\n \/\/ js\-docs\-end varying\-modal\-content\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Offcanvas\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ \u0027Offcanvas components\u0027 example in docs only\n const myOffcanvas = document\.querySelectorAll\(\u0027\.bd\-example\-offcanvas \.offcanvas\u0027\)\n if \(myOffcanvas\) \{\n myOffcanvas\.forEach\(offcanvas =\u003e \{\n offcanvas\.addEventListener\(\u0027show\.bs\.offcanvas\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}, false\)\n \}\)\n \}\n\}\)\(\)\n' + : null; + const project = { + files: { + 'index.html': markup, + 'index.js': jsSnippetContent, + }, + title: 'Bootstrap Example', + description: `Official example from ${window.location.href}`, + template: jsSnippet ? 'javascript' : 'html', + tags: ['bootstrap'], + }; - + StackBlitzSDK.openProject(project, { openFile: 'index.html' }); + }; + + + + diff --git a/getting-started/index.html b/getting-started/index.html index 07391a6..2c23326 100644 --- a/getting-started/index.html +++ b/getting-started/index.html @@ -1,17 +1,16 @@ - - - + + + - https://getbootstrap.com/docs/5.1/getting-started/introduction/ + https://getbootstrap.com/docs/5.3/getting-started/introduction/ - - + diff --git a/getting-started/introduction/index.html b/getting-started/introduction/index.html index 3d219ab..1ed63bd 100644 --- a/getting-started/introduction/index.html +++ b/getting-started/introduction/index.html @@ -1,571 +1,2307 @@ - - - - - - - - - - - - - - -Introduction · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Get started with Bootstrap · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    + Get started with Bootstrap +

    +
    +

    + Bootstrap is a powerful, feature-packed frontend toolkit. Build + anything—from prototype to production—in minutes. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Introduction

    +
    + + On this page +
    +
    -

    Get started with Bootstrap, the world’s most popular framework for building responsive, mobile-first sites, with jsDelivr and a template starter page.

    - - -
    - -
    - On this page - +

    + You can also follow + @getbootstrap on Twitter + for the latest gossip and awesome music videos. +

    +
    +
    - -
    - - -

    Quick start

    -

    Looking to quickly add Bootstrap to your project? Use jsDelivr, a free open source CDN. Using a package manager or need to download the source files? Head to the downloads page.

    -

    CSS

    -

    Copy-paste the stylesheet <link> into your <head> before all other stylesheets to load our CSS.

    -
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    -

    JS

    -

    Many of our components require the use of JavaScript to function. Specifically, they require our own JavaScript plugins and Popper. Place one of the following <script>s near the end of your pages, right before the closing </body> tag, to enable them.

    -

    Bundle

    -

    Include every Bootstrap JavaScript plugin and dependency with one of our two bundles. Both bootstrap.bundle.js and bootstrap.bundle.min.js include Popper for our tooltips and popovers. For more information about what’s included in Bootstrap, please see our contents section.

    -
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
    -

    Separate

    -

    If you decide to go with the separate scripts solution, Popper must come first (if you’re using tooltips or popovers), and then our JavaScript plugins.

    -
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
    -<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
    -

    Modules

    -

    If you use <script type="module">, please refer to our using Bootstrap as a module section.

    -

    Components

    -

    Curious which components explicitly require our JavaScript and Popper? Click the show components link below. If you’re at all unsure about the general page structure, keep reading for an example page template.

    -
    -Show components requiring JavaScript -
      -
    • Alerts for dismissing
    • -
    • Buttons for toggling states and checkbox/radio functionality
    • -
    • Carousel for all slide behaviors, controls, and indicators
    • -
    • Collapse for toggling visibility of content
    • -
    • Dropdowns for displaying and positioning (also requires Popper)
    • -
    • Modals for displaying, positioning, and scroll behavior
    • -
    • Navbar for extending our Collapse plugin to implement responsive behavior
    • -
    • Offcanvases for displaying, positioning, and scroll behavior
    • -
    • Toasts for displaying and dismissing
    • -
    • Tooltips and popovers for displaying and positioning (also requires Popper)
    • -
    • Scrollspy for scroll behavior and navigation updates
    • -
    - -
    -

    Starter template

    -

    Be sure to have your pages set up with the latest design and development standards. That means using an HTML5 doctype and including a viewport meta tag for proper responsive behaviors. Put it all together and your pages should look like this:

    -
    <!doctype html>
    -<html lang="en">
    -  <head>
    -    <!-- Required meta tags -->
    -    <meta charset="utf-8">
    -    <meta name="viewport" content="width=device-width, initial-scale=1">
    -
    -    <!-- Bootstrap CSS -->
    -    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    -
    -    <title>Hello, world!</title>
    -  </head>
    -  <body>
    -    <h1>Hello, world!</h1>
    -
    -    <!-- Optional JavaScript; choose one of the two! -->
    -
    -    <!-- Option 1: Bootstrap Bundle with Popper -->
    -    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
    -
    -    <!-- Option 2: Separate Popper and Bootstrap JS -->
    -    <!--
    -    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
    -    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
    -    -->
    -  </body>
    -</html>
    -

    For next steps, visit the Layout docs or our official examples to start laying out your site’s content and components.

    -

    Important globals

    -

    Bootstrap employs a handful of important global styles and settings that you’ll need to be aware of when using it, all of which are almost exclusively geared towards the normalization of cross browser styles. Let’s dive in.

    -

    HTML5 doctype

    -

    Bootstrap requires the use of the HTML5 doctype. Without it, you’ll see some funky incomplete styling, but including it shouldn’t cause any considerable hiccups.

    -
    <!doctype html>
    -<html lang="en">
    -  ...
    -</html>
    -

    Responsive meta tag

    -

    Bootstrap is developed mobile first, a strategy in which we optimize code for mobile devices first and then scale up components as necessary using CSS media queries. To ensure proper rendering and touch zooming for all devices, add the responsive viewport meta tag to your <head>.

    -
    <meta name="viewport" content="width=device-width, initial-scale=1">
    -

    You can see an example of this in action in the starter template.

    -

    Box-sizing

    -

    For more straightforward sizing in CSS, we switch the global box-sizing value from content-box to border-box. This ensures padding does not affect the final computed width of an element, but it can cause problems with some third-party software like Google Maps and Google Custom Search Engine.

    -

    On the rare occasion you need to override it, use something like the following:

    -
    .selector-for-some-widget {
    -  box-sizing: content-box;
    -}
    -

    With the above snippet, nested elements—including generated content via ::before and ::after—will all inherit the specified box-sizing for that .selector-for-some-widget.

    -

    Learn more about box model and sizing at CSS Tricks.

    -

    Reboot

    -

    For improved cross-browser rendering, we use Reboot to correct inconsistencies across browsers and devices while providing slightly more opinionated resets to common HTML elements.

    -

    Community

    -

    Stay up to date on the development of Bootstrap and reach out to the community with these helpful resources.

    -
      -
    • Read and subscribe to The Official Bootstrap Blog.
    • -
    • Join the official Slack room.
    • -
    • Chat with fellow Bootstrappers in IRC. On the irc.libera.chat server, in the #bootstrap channel.
    • -
    • Implementation help may be found at Stack Overflow (tagged bootstrap-5).
    • -
    • Developers should use the keyword bootstrap on packages that modify or add to the functionality of Bootstrap when distributing through npm or similar delivery mechanisms for maximum discoverability.
    • -
    -

    You can also follow @getbootstrap on Twitter for the latest gossip and awesome music videos.

    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/getting-started/javascript/index.html b/getting-started/javascript/index.html index 7a76c2c..4ccf1ea 100644 --- a/getting-started/javascript/index.html +++ b/getting-started/javascript/index.html @@ -1,621 +1,2692 @@ - - - - - - - - - - - - - - - -JavaScript · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + JavaScript · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    JavaScript

    +
    +

    + Bring Bootstrap to life with our optional JavaScript plugins. Learn + about each plugin, our data and programmatic API options, and more. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    JavaScript

    + -

    Bring Bootstrap to life with our optional JavaScript plugins. Learn about each plugin, our data and programmatic API options, and more.

    - -
    - - -
    - On this page - +
    +

    + Individual or compiled + +

    +

    + Plugins can be included individually (using Bootstrap’s + individual js/dist/*.js), or all at once using + bootstrap.js or the minified + bootstrap.min.js (don’t include both). +

    +

    + If you use a bundler (Webpack, Parcel, Vite…), you can use + /js/dist/*.js files which are UMD ready. +

    +

    + Usage with JavaScript frameworks + +

    +

    + While the Bootstrap CSS can be used with any framework, + the Bootstrap JavaScript is not fully compatible with JavaScript + frameworks like React, Vue, and Angular + which assume full knowledge of the DOM. Both Bootstrap and the + framework may attempt to mutate the same DOM element, resulting in + bugs like dropdowns that are stuck in the “open” + position. +

    +

    + A better alternative for those using this type of frameworks is to + use a framework-specific package instead of the + Bootstrap JavaScript. Here are some of the most popular options: +

    + +

    + Using Bootstrap as a module + +

    +
    + Try it yourself! Download the source code and + working demo for using Bootstrap as an ES module from the + twbs/examples repository. You can also + open the example in StackBlitz. +
    + +

    + We provide a version of Bootstrap built as ESM (bootstrap.esm.js + and bootstrap.esm.min.js) which allows you to use + Bootstrap as a module in the browser, if your + targeted browsers support it. +

    + +
    +
    <script type="module">
    +  import { Toast } from 'bootstrap.esm.min.js'
    +
    +  Array.from(document.querySelectorAll('.toast'))
    +    .forEach(toastNode => new Toast(toastNode))
    +</script>
    +
    +
    +

    + Compared to JS bundlers, using ESM in the browser requires you to + use the full path and filename instead of the module name. + Read more about JS modules in the browser. + That’s why we use 'bootstrap.esm.min.js' instead + of 'bootstrap' above. However, this is further + complicated by our Popper dependency, which imports Popper into our + JavaScript like so: +

    + +
    +
    import * as Popper from "@popperjs/core"
    +
    +
    +

    + If you try this as-is, you’ll see an error in the console like + the following: +

    +
    +
    Uncaught TypeError: Failed to resolve module specifier "@popperjs/core". Relative references must start with either "/", "./", or "../".
    +
    +
    +

    + To fix this, you can use an importmap to resolve the + arbitrary module names to complete paths. If your + targeted browsers + do not support importmap, you’ll need to use the + es-module-shims + project. Here’s how it works for Bootstrap and Popper: +

    + +
    +
    <!doctype html>
    +<html lang="en">
    +  <head>
    +    <meta charset="utf-8">
    +    <meta name="viewport" content="width=device-width, initial-scale=1">
    +    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
    +    <title>Hello, modularity!</title>
    +  </head>
    +  <body>
    +    <h1>Hello, modularity!</h1>
    +    <button id="popoverButton" type="button" class="btn btn-primary btn-lg" data-bs-toggle="popover" title="ESM in Browser" data-bs-content="Bang!">Custom popover</button>
    +
    +    <script async src="https://cdn.jsdelivr.net/npm/es-module-shims@1/dist/es-module-shims.min.js" crossorigin="anonymous"></script>
    +    <script type="importmap">
    +    {
    +      "imports": {
    +        "@popperjs/core": "https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.7/dist/esm/popper.min.js",
    +        "bootstrap": "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.esm.min.js"
    +      }
    +    }
    +    </script>
    +    <script type="module">
    +      import * as bootstrap from 'bootstrap'
    +
    +      new bootstrap.Popover(document.getElementById('popoverButton'))
    +    </script>
    +  </body>
    +</html>
    +
    +
    +

    + Dependencies + +

    +

    + Some plugins and CSS components depend on other plugins. If you + include plugins individually, make sure to check for these + dependencies in the docs. +

    +

    + Our dropdowns, popovers, and tooltips also depend on + Popper. +

    +

    + Data attributes + +

    +

    + Nearly all Bootstrap plugins can be enabled and configured through + HTML alone with data attributes (our preferred way of using + JavaScript functionality). Be sure to + only use one set of data attributes on a single element + (e.g., you cannot trigger a tooltip and modal from the same button.) +

    +

    + As options can be passed via data attributes or JavaScript, you can + append an option name to data-bs-, as in + data-bs-animation="{value}". Make sure to + change the case type of the option name from + “camelCase” to + “kebab-case” when passing the options via data + attributes. For example, use + data-bs-custom-class="beautifier" instead of + data-bs-customClass="beautifier". +

    +

    + As of Bootstrap 5.2.0, all components support an + experimental reserved data attribute + data-bs-config that can house simple component + configuration as a JSON string. When an element has + data-bs-config='{"delay":0, + "title":123}' + and data-bs-title="456" attributes, the final + title value will be 456 and the separate + data attributes will override values given on + data-bs-config. In addition, existing data attributes + are able to house JSON values like + data-bs-delay='{"show":0,"hide":150}'. +

    +

    + The final configuration object is the merged result of + data-bs-config, data-bs-, and + js object where the latest given key-value overrides + the others. +

    + +

    + Selectors + +

    +

    + We use the native querySelector and + querySelectorAll methods to query DOM elements for + performance reasons, so you must use + valid selectors. If you use special selectors like collapse:Example, + be sure to escape them. +

    +

    + Events + +

    +

    + Bootstrap provides custom events for most plugins’ unique + actions. Generally, these come in an infinitive and past participle + form - where the infinitive (ex. show) is triggered at + the start of an event, and its past participle form (ex. + shown) is triggered on the completion of an action. +

    +

    + All infinitive events provide + preventDefault() + functionality. This provides the ability to stop the execution of an + action before it starts. Returning false from an event handler will + also automatically call preventDefault(). +

    +
    +
    const myModal = document.querySelector('#myModal')
    +
    +myModal.addEventListener('show.bs.modal', event => {
    +  if (!data) {
    +    return event.preventDefault() // stops modal from being shown
    +  }
    +})
    +
    +
    +

    + Programmatic API + +

    +

    + All constructors accept an optional options object or nothing (which + initiates a plugin with its default behavior): +

    +
    +
    const myModalEl = document.querySelector('#myModal')
    +const modal = new bootstrap.Modal(myModalEl) // initialized with defaults
    +
    +const configObject = { keyboard: false }
    +const modal1 = new bootstrap.Modal(myModalEl, configObject) // initialized with no keyboard
    +
    +
    +

    + If you’d like to get a particular plugin instance, each plugin + exposes a getInstance method. For example, to retrieve + an instance directly from an element: +

    +
    +
    bootstrap.Popover.getInstance(myPopoverEl)
    +
    +
    +

    + This method will return null if an instance is not + initiated over the requested element. +

    +

    + Alternatively, getOrCreateInstance can be used to get + the instance associated with a DOM element, or create a new one in + case it wasn’t initialized. +

    +
    +
    bootstrap.Popover.getOrCreateInstance(myPopoverEl, configObject)
    +
    +
    +

    + In case an instance wasn’t initialized, it may accept and use + an optional configuration object as second argument. +

    +

    + CSS selectors in constructors + +

    +

    + In addition to the getInstance and + getOrCreateInstance methods, all plugin constructors + can accept a DOM element or a valid + CSS selector as the first argument. Plugin + elements are found with the querySelector method since + our plugins only support a single element. +

    +
    +
    const modal = new bootstrap.Modal('#myModal')
    +const dropdown = new bootstrap.Dropdown('[data-bs-toggle="dropdown"]')
    +const offcanvas = bootstrap.Offcanvas.getInstance('#myOffcanvas')
    +const alert = bootstrap.Alert.getOrCreateInstance('#myAlert')
    +
    +
    +

    + Asynchronous functions and transitions + +

    +

    + All programmatic API methods are asynchronous and + return to the caller once the transition is started, but + before it ends. In order to execute an action once + the transition is complete, you can listen to the corresponding + event. +

    +
    +
    const myCollapseEl = document.querySelector('#myCollapse')
    +
    +myCollapseEl.addEventListener('shown.bs.collapse', event => {
    +  // Action to execute once the collapsible area is expanded
    +})
    +
    +
    +

    + In addition, a method call on a + transitioning component will be ignored. +

    +
    +
    const myCarouselEl = document.querySelector('#myCarousel')
    +const carousel = bootstrap.Carousel.getInstance(myCarouselEl) // Retrieve a Carousel instance
    +
    +myCarouselEl.addEventListener('slid.bs.carousel', event => {
    +  carousel.to('2') // Will slide to the slide 2 as soon as the transition to slide 1 is finished
    +})
    +
    +carousel.to('1') // Will start sliding to the slide 1 and returns to the caller
    +carousel.to('2') // !! Will be ignored, as the transition to the slide 1 is not finished !!
    +
    +
    +

    + dispose method + +

    +

    + While it may seem correct to use the dispose method + immediately after hide(), it will lead to incorrect + results. Here’s an example of the problem use: +

    +
    +
    const myModal = document.querySelector('#myModal')
    +myModal.hide() // it is asynchronous
    +
    +myModal.addEventListener('shown.bs.hidden', event => {
    +  myModal.dispose()
    +})
    +
    +
    +

    + Default settings + +

    +

    + You can change the default settings for a plugin by modifying the + plugin’s Constructor.Default object: +

    +
    +
    // changes default for the modal plugin's `keyboard` option to false
    +bootstrap.Modal.Default.keyboard = false
    +
    +
    +

    + Methods and properties + +

    +

    + Every Bootstrap plugin exposes the following methods and static + properties. +

    +
    + + + + + + + + + + + + + + + + + + + + + +
    MethodDescription
    dispose + Destroys an element’s modal. (Removes stored data on + the DOM element) +
    getInstance + Static method which allows you to get the modal + instance associated with a DOM element. +
    getOrCreateInstance + Static method which allows you to get the modal + instance associated with a DOM element, or create a new one + in case it wasn’t initialized. +
    +
    + +
    + + + + + + + + + + + + + + + + + +
    Static propertyDescription
    NAME + Returns the plugin name. (Example: + bootstrap.Tooltip.NAME) +
    VERSION + The version of each of Bootstrap’s plugins can be + accessed via the VERSION property of the + plugin’s constructor (Example: + bootstrap.Tooltip.VERSION) +
    +
    + +

    + Sanitizer + +

    +

    + Tooltips and Popovers use our built-in sanitizer to sanitize options + which accept HTML. +

    +

    The default allowList value is the following:

    +
    +
    + +
    +
    +
    const ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i
    +
    +export const DefaultAllowlist = {
    +  // Global attributes allowed on any supplied element below.
    +  '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],
    +  a: ['target', 'href', 'title', 'rel'],
    +  area: [],
    +  b: [],
    +  br: [],
    +  col: [],
    +  code: [],
    +  div: [],
    +  em: [],
    +  hr: [],
    +  h1: [],
    +  h2: [],
    +  h3: [],
    +  h4: [],
    +  h5: [],
    +  h6: [],
    +  i: [],
    +  img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],
    +  li: [],
    +  ol: [],
    +  p: [],
    +  pre: [],
    +  s: [],
    +  small: [],
    +  span: [],
    +  sub: [],
    +  sup: [],
    +  strong: [],
    +  u: [],
    +  ul: []
    +}
    +
    +
    +
    +

    + If you want to add new values to this default + allowList you can do the following: +

    +
    +
    const myDefaultAllowList = bootstrap.Tooltip.Default.allowList
    +
    +// To allow table elements
    +myDefaultAllowList.table = []
    +
    +// To allow td elements and data-bs-option attributes on td elements
    +myDefaultAllowList.td = ['data-bs-option']
    +
    +// You can push your custom regex to validate your attributes.
    +// Be careful about your regular expressions being too lax
    +const myCustomRegex = /^data-my-app-[\w-]+/
    +myDefaultAllowList['*'].push(myCustomRegex)
    +
    +
    +

    + If you want to bypass our sanitizer because you prefer to use a + dedicated library, for example + DOMPurify, you + should do the following: +

    +
    +
    const yourTooltipEl = document.querySelector('#yourTooltip')
    +const tooltip = new bootstrap.Tooltip(yourTooltipEl, {
    +  sanitizeFn(content) {
    +    return DOMPurify.sanitize(content)
    +  }
    +})
    +
    +
    +

    + Optionally using jQuery + +

    +

    + You don’t need jQuery in Bootstrap 5, but + it’s still possible to use our components with jQuery. If + Bootstrap detects jQuery in the + window object, it’ll add all of our components in + jQuery’s plugin system. This allows you to do the following: +

    +
    +
    // to enable tooltips with the default configuration
    +$('[data-bs-toggle="tooltip"]').tooltip()
    +
    +// to initialize tooltips with given configuration
    +$('[data-bs-toggle="tooltip"]').tooltip({
    +  boundary: 'clippingParents',
    +  customClass: 'myClass'
    +})
    +
    +// to trigger the `show` method
    +$('#myTooltip').tooltip('show')
    +
    +
    +

    The same goes for our other components.

    +

    + No conflict + +

    +

    + Sometimes it is necessary to use Bootstrap plugins with other UI + frameworks. In these circumstances, namespace collisions can + occasionally occur. If this happens, you may call + .noConflict on the plugin you wish to revert the value + of. +

    +
    +
    const bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value
    +$.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the Bootstrap functionality
    +
    +
    +

    + Bootstrap does not officially support third-party JavaScript + libraries like Prototype or jQuery UI. Despite + .noConflict and namespaced events, there may be + compatibility problems that you need to fix on your own. +

    +

    + jQuery events + +

    +

    + Bootstrap will detect jQuery if jQuery is present in + the window object and there is no + data-bs-no-jquery attribute set on + <body>. If jQuery is found, Bootstrap will emit + events thanks to jQuery’s event system. So if you want to + listen to Bootstrap’s events, you’ll have to use the + jQuery methods (.on, .one) instead of + addEventListener. +

    +
    +
    $('#myTab a').on('shown.bs.tab', () => {
    +  // do something...
    +})
    +
    +
    +

    + Disabled JavaScript + +

    +

    + Bootstrap’s plugins have no special fallback when JavaScript + is disabled. If you care about the user experience in this case, use + <noscript> + to explain the situation (and how to re-enable JavaScript) to your + users, and/or add your own custom fallbacks. +

    +
    +
    - -
    - - -

    Individual or compiled

    -

    Plugins can be included individually (using Bootstrap’s individual js/dist/*.js), or all at once using bootstrap.js or the minified bootstrap.min.js (don’t include both).

    -

    If you use a bundler (Webpack, Rollup…), you can use /js/dist/*.js files which are UMD ready.

    -

    Using Bootstrap as a module

    -

    We provide a version of Bootstrap built as ESM (bootstrap.esm.js and bootstrap.esm.min.js) which allows you to use Bootstrap as a module in your browser, if your targeted browsers support it.

    -
    <script type="module">
    -  import { Toast } from 'bootstrap.esm.min.js'
    -
    -  Array.from(document.querySelectorAll('.toast'))
    -    .forEach(toastNode => new Toast(toastNode))
    -</script>
    -
    -

    Incompatible plugins

    -

    Due to browser limitations, some of our plugins, namely Dropdown, Tooltip and Popover plugins, cannot be used in a <script> tag with module type because they depend on Popper. For more information about the issue see here. -

    - -

    Dependencies

    -

    Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs.

    -

    Our dropdowns, popovers and tooltips also depend on Popper.

    -

    Still want to use jQuery? It’s possible!

    -

    Bootstrap 5 is designed to be used without jQuery, but it’s still possible to use our components with jQuery. If Bootstrap detects jQuery in the window object it’ll add all of our components in jQuery’s plugin system; this means you’ll be able to do $('[data-bs-toggle="tooltip"]').tooltip() to enable tooltips. The same goes for our other components.

    -

    Data attributes

    -

    Nearly all Bootstrap plugins can be enabled and configured through HTML alone with data attributes (our preferred way of using JavaScript functionality). Be sure to only use one set of data attributes on a single element (e.g., you cannot trigger a tooltip and modal from the same button.)

    -
    -

    Selectors

    -

    Currently to query DOM elements we use the native methods querySelector and querySelectorAll for performance reasons, so you have to use valid selectors. -If you use special selectors, for example: collapse:Example be sure to escape them. -

    - -

    Events

    -

    Bootstrap provides custom events for most plugins' unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. show) is triggered at the start of an event, and its past participle form (ex. shown) is triggered on the completion of an action.

    -

    All infinitive events provide preventDefault() functionality. This provides the ability to stop the execution of an action before it starts. Returning false from an event handler will also automatically call preventDefault().

    -
    var myModal = document.getElementById('myModal')
    -
    -myModal.addEventListener('show.bs.modal', function (event) {
    -  if (!data) {
    -    return event.preventDefault() // stops modal from being shown
    -  }
    -})
    -
    -

    jQuery events

    -

    Bootstrap will detect jQuery if jQuery is present in the window object and there is no data-bs-no-jquery attribute set on <body>. If jQuery is found, Bootstrap will emit events thanks to jQuery’s event system. So if you want to listen to Bootstrap’s events, you’ll have to use the jQuery methods (.on, .one) instead of addEventListener.

    -
    $('#myTab a').on('shown.bs.tab', function () {
    -  // do something...
    -})
    -
    -
    - -

    Programmatic API

    -

    All constructors accept an optional options object or nothing (which initiates a plugin with its default behavior):

    -
    var myModalEl = document.getElementById('myModal')
    -
    -var modal = new bootstrap.Modal(myModalEl) // initialized with defaults
    -var modal = new bootstrap.Modal(myModalEl, { keyboard: false }) // initialized with no keyboard
    -

    If you’d like to get a particular plugin instance, each plugin exposes a getInstance method. In order to retrieve it directly from an element, do this: bootstrap.Popover.getInstance(myPopoverEl).

    -

    CSS selectors in constructors

    -

    You can also use a CSS selector as the first argument instead of a DOM element to initialize the plugin. Currently the element for the plugin is found by the querySelector method since our plugins support a single element only.

    -
    var modal = new bootstrap.Modal('#myModal')
    -var dropdown = new bootstrap.Dropdown('[data-bs-toggle="dropdown"]')
    -

    Asynchronous functions and transitions

    -

    All programmatic API methods are asynchronous and return to the caller once the transition is started but before it ends.

    -

    In order to execute an action once the transition is complete, you can listen to the corresponding event.

    -
    var myCollapseEl = document.getElementById('myCollapse')
    -
    -myCollapseEl.addEventListener('shown.bs.collapse', function (event) {
    -  // Action to execute once the collapsible area is expanded
    -})
    -

    In addition a method call on a transitioning component will be ignored.

    -
    var myCarouselEl = document.getElementById('myCarousel')
    -var carousel = bootstrap.Carousel.getInstance(myCarouselEl) // Retrieve a Carousel instance
    -
    -myCarouselEl.addEventListener('slid.bs.carousel', function (event) {
    -  carousel.to('2') // Will slide to the slide 2 as soon as the transition to slide 1 is finished
    -})
    -
    -carousel.to('1') // Will start sliding to the slide 1 and returns to the caller
    -carousel.to('2') // !! Will be ignored, as the transition to the slide 1 is not finished !!
    -

    Default settings

    -

    You can change the default settings for a plugin by modifying the plugin’s Constructor.Default object:

    -
    // changes default for the modal plugin's `keyboard` option to false
    -bootstrap.Modal.Default.keyboard = false
    -

    No conflict (only if you use jQuery)

    -

    Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call .noConflict on the plugin you wish to revert the value of.

    -
    var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value
    -$.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the Bootstrap functionality
    -

    Version numbers

    -

    The version of each of Bootstrap’s plugins can be accessed via the VERSION property of the plugin’s constructor. For example, for the tooltip plugin:

    -
    bootstrap.Tooltip.VERSION // => "5.1.3"
    -

    No special fallbacks when JavaScript is disabled

    -

    Bootstrap’s plugins don’t fall back particularly gracefully when JavaScript is disabled. If you care about the user experience in this case, use <noscript> to explain the situation (and how to re-enable JavaScript) to your users, and/or add your own custom fallbacks.

    -
    -
    Third-party libraries
    -

    Bootstrap does not officially support third-party JavaScript libraries like Prototype or jQuery UI. Despite .noConflict and namespaced events, there may be compatibility problems that you need to fix on your own. -

    - -

    Sanitizer

    -

    Tooltips and Popovers use our built-in sanitizer to sanitize options which accept HTML.

    -

    The default allowList value is the following:

    -
    var ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i
    -var DefaultAllowlist = {
    -  // Global attributes allowed on any supplied element below.
    -  '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],
    -  a: ['target', 'href', 'title', 'rel'],
    -  area: [],
    -  b: [],
    -  br: [],
    -  col: [],
    -  code: [],
    -  div: [],
    -  em: [],
    -  hr: [],
    -  h1: [],
    -  h2: [],
    -  h3: [],
    -  h4: [],
    -  h5: [],
    -  h6: [],
    -  i: [],
    -  img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],
    -  li: [],
    -  ol: [],
    -  p: [],
    -  pre: [],
    -  s: [],
    -  small: [],
    -  span: [],
    -  sub: [],
    -  sup: [],
    -  strong: [],
    -  u: [],
    -  ul: []
    -}
    -

    If you want to add new values to this default allowList you can do the following:

    -
    var myDefaultAllowList = bootstrap.Tooltip.Default.allowList
    -
    -// To allow table elements
    -myDefaultAllowList.table = []
    -
    -// To allow td elements and data-bs-option attributes on td elements
    -myDefaultAllowList.td = ['data-bs-option']
    -
    -// You can push your custom regex to validate your attributes.
    -// Be careful about your regular expressions being too lax
    -var myCustomRegex = /^data-my-app-[\w-]+/
    -myDefaultAllowList['*'].push(myCustomRegex)
    -

    If you want to bypass our sanitizer because you prefer to use a dedicated library, for example DOMPurify, you should do the following:

    -
    var yourTooltipEl = document.getElementById('yourTooltip')
    -var tooltip = new bootstrap.Tooltip(yourTooltipEl, {
    -  sanitizeFn: function (content) {
    -    return DOMPurify.sanitize(content)
    -  }
    -})
    -
    +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/getting-started/parcel/index.html b/getting-started/parcel/index.html index 2ede1da..9874454 100644 --- a/getting-started/parcel/index.html +++ b/getting-started/parcel/index.html @@ -1,518 +1,2241 @@ - - - - - - - - - - - - - - - -Parcel · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Bootstrap and Parcel · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Bootstrap and Parcel

    +
    +

    + The official guide for how to include and bundle Bootstrap’s + CSS and JavaScript in your project using Parcel. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Parcel

    +
    + + On this page +
    +
    -

    Learn how to include Bootstrap in your project using Parcel.

    - -
    - - -
    - On this page - +
    + +
    + Want to skip to the end? Download the source code + and working demo for this guide from the + twbs/examples repository. You can also + open the example in StackBlitz + but not run it because Parcel isn’t currently supported there. +
    + +

    + Setup + +

    +

    + We’re building a Parcel project with Bootstrap from scratch, + so there are some prerequisites and up front steps before we can + really get started. This guide requires you to have Node.js + installed and some familiarity with the terminal. +

    +
      +
    1. +

      + Create a project folder and setup npm. + We’ll create the my-project folder and + initialize npm with the -y argument to avoid it + asking us all the interactive questions. +

      +
      +
      mkdir my-project && cd my-project
      +npm init -y
      +
      +
      +
    2. +
    3. +

      + Install Parcel. Unlike our Webpack guide, + there’s only a single build tool dependency here. Parcel + will automatically install language transformers (like Sass) as + it detects them. We use --save-dev to signal that + this dependency is only for development use and not for + production. +

      +
      +
      npm i --save-dev parcel
      +
      +
      +
    4. +
    5. +

      + Install Bootstrap. Now we can install + Bootstrap. We’ll also install Popper since our dropdowns, + popovers, and tooltips depend on it for their positioning. If + you don’t plan on using those components, you can omit + Popper here. +

      +
      +
      npm i --save bootstrap @popperjs/core
      +
      +
      +
    6. +
    +

    + Now that we have all the necessary dependencies installed, we can + get to work creating the project files and importing Bootstrap. +

    +

    + Project structure + +

    +

    + We’ve already created the my-project folder and + initialized npm. Now we’ll also create our + src folder, stylesheet, and JavaScript file to round + out the project structure. Run the following from + my-project, or manually create the folder and file + structure shown below. +

    +
    +
    mkdir {src,src/js,src/scss}
    +touch src/index.html src/js/main.js src/scss/styles.scss
    +
    +
    +

    + When you’re done, your complete project should look like this: +

    +
    +
    my-project/
    +├── src/
    +│   ├── js/
    +│   │   └── main.js
    +│   ├── scss/
    +│   │   └── styles.scss
    +│   └── index.html
    +├── package-lock.json
    +└── package.json
    +
    +
    +

    + At this point, everything is in the right place, but Parcel needs an + HTML page and npm script to start our server. +

    +

    + Configure Parcel + +

    +

    + With dependencies installed and our project folder ready for us to + start coding, we can now configure Parcel and run our project + locally. Parcel itself requires no configuration file by design, but + we do need an npm script and an HTML file to start our server. +

    +
      +
    1. +

      + Fill in the src/index.html file. + Parcel needs a page to render, so we use our + index.html page to set up some basic HTML, + including our CSS and JavaScript files. +

      +
      +
      <!doctype html>
      +<html lang="en">
      +  <head>
      +    <meta charset="utf-8">
      +    <meta name="viewport" content="width=device-width, initial-scale=1">
      +    <title>Bootstrap w/ Parcel</title>
      +    <link rel="stylesheet" href="scss/styles.scss">
      +    <script type="module" src="js/main.js"></script>
      +  </head>
      +  <body>
      +    <div class="container py-4 px-3 mx-auto">
      +      <h1>Hello, Bootstrap and Parcel!</h1>
      +      <button class="btn btn-primary">Primary button</button>
      +    </div>
      +  </body>
      +</html>
      +
      +
      +

      + We’re including a little bit of Bootstrap styling here + with the div class="container" and + <button> so that we see when + Bootstrap’s CSS is loaded by Parcel. +

      +

      + Parcel will automatically detect we’re using Sass and + install the + Sass Parcel plugin + to support it. However, if you wish, you can also manually run + npm i --save-dev @parcel/transformer-sass. +

      +
    2. +
    3. +

      + Add the Parcel npm scripts. Open the + package.json and add the following + start script to the scripts object. + We’ll use this script to start our Parcel development + server and render the HTML file we created after it’s + compiled into the dist directory. +

      +
      +
      {
      +   // ...
      +   "scripts": {
      +     "start": "parcel serve src/index.html --public-url / --dist-dir dist",
      +     "test": "echo \"Error: no test specified\" && exit 1"
      +   },
      +   // ...
      +}
      +
      +
      +
    4. +
    5. +

      + And finally, we can start Parcel. From the + my-project folder in your terminal, run that newly + added npm script: +

      +
      +
      npm start
      +
      +
      + Parcel dev server running +
    6. +
    +

    + In the next and final section to this guide, we’ll import all + of Bootstrap’s CSS and JavaScript. +

    +

    + Import Bootstrap + +

    +

    + Importing Bootstrap into Parcel requires two imports, one into our + styles.scss and one into our main.js. +

    +
      +
    1. +

      + Import Bootstrap’s CSS. Add the following + to src/scss/styles.scss to import all of + Bootstrap’s source Sass. +

      +
      +
      // Import all of Bootstrap's CSS
      +@import "bootstrap/scss/bootstrap";
      +
      +
      +

      + You can also import our stylesheets individually if you want. + Read our Sass import docs + for details. +

      +
    2. +
    3. +

      + Import Bootstrap’s JS. Add the following + to src/js/main.js to import all of + Bootstrap’s JS. Popper will be imported automatically + through Bootstrap. +

      + +
      +
      // Import all of Bootstrap's JS
      +import * as bootstrap from 'bootstrap'
      +
      +
      +

      + You can also import JavaScript plugins individually as needed to + keep bundle sizes down: +

      + +
      +
      import Alert from 'bootstrap/js/dist/alert'
      +
      +// or, specify which plugins you need:
      +import { Tooltip, Toast, Popover } from 'bootstrap'
      +
      +
      +

      + Read our JavaScript docs + for more information on how to use Bootstrap’s + plugins. +

      +
    4. +
    5. +

      + And you’re done! 🎉 With + Bootstrap’s source Sass and JS fully loaded, your local + development server should now look like this. +

      + Parcel dev server running with Bootstrap +

      + Now you can start adding any Bootstrap components you want to + use. Be sure to + check out the complete Parcel example project + for how to include additional custom Sass and optimize your + build by importing only the parts of Bootstrap’s CSS and + JS that you need. +

      +
    6. +
    +
    +

    + See something wrong or out of date here? Please + open an issue on GitHub. Need help troubleshooting? + Search or start a discussion + on GitHub. +

    +
    +
    - -
    - - -

    Install Parcel

    -

    Install Parcel Bundler.

    -

    Install Bootstrap

    -

    Install bootstrap as a Node.js module using npm.

    -

    Bootstrap depends on Popper, which is specified in the peerDependencies property. This means that you will have to make sure to add both of them to your package.json using npm install @popperjs/core.

    -

    When all will be completed, your project will be structured like this:

    -
    project-name/
    -├── build/
    -├── node_modules/
    -│   └── bootstrap/
    -│   └── popper.js/
    -├── scss/
    -│   └── custom.scss
    -├── src/
    -│   └── index.html
    -│   └── index.js
    -└── package.json
    -

    Importing JavaScript

    -

    Import Bootstrap’s JavaScript in your app’s entry point (usually src/index.js). You can import all our plugins in one file or separately if you require only a subset of them.

    -
    // Import all plugins
    -import * as bootstrap from 'bootstrap';
    -
    -// Or import only needed plugins
    -import { Tooltip as Tooltip, Toast as Toast, Popover as Popover } from 'bootstrap';
    -
    -// Or import just one
    -import Alert as Alert from '../node_modules/bootstrap/js/dist/alert';
    -

    Importing CSS

    -

    To utilize the full potential of Bootstrap and customize it to your needs, use the source files as a part of your project’s bundling process.

    -

    Create your own scss/custom.scss to import Bootstrap’s Sass files and then override the built-in custom variables.

    -

    Build app

    -

    Include src/index.js before the closing </body> tag.

    -
    <!doctype html>
    -<html lang="en">
    -  <head>
    -    <meta charset="utf-8">
    -    <meta name="viewport" content="width=device-width, initial-scale=1">
    -  </head>
    -  <body>
    -    <script src="./index.js"></script>
    -  </body>
    -</html>
    -

    Edit package.json

    -

    Add dev and build scripts in your package.json file.

    -
    "scripts": {
    -  "dev": "parcel ./src/index.html",
    -  "prebuild": "npx rimraf build",
    -  "build": "parcel build --public-url ./ ./src/index.html --experimental-scope-hoisting --out-dir build"
    -}
    -

    Run dev script

    -

    Your app will be accessible at http://127.0.0.1:1234.

    -
    npm run dev
    -

    Build app files

    -

    Built files are in the build/ folder.

    -
    npm run build
    -
    +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/getting-started/rfs/index.html b/getting-started/rfs/index.html index a8b5020..4221c50 100644 --- a/getting-started/rfs/index.html +++ b/getting-started/rfs/index.html @@ -1,508 +1,2066 @@ - - - - - - - - - - - - - - - -RFS · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + RFS · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    RFS

    +
    +

    + Bootstrap’s resizing engine responsively scales common CSS + properties to better utilize available space across viewports and + devices. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    RFS

    +
    + + On this page +
    +
    -

    Bootstrap’s resizing engine responsively scales common CSS properties to better utilize available space across viewports and devices.

    - - -
    - -
    - On this page - +
    +

    + What is RFS? + +

    +

    + Bootstrap’s side project + RFS is a unit + resizing engine which was initially developed to resize font sizes + (hence its abbreviation for Responsive Font Sizes). Nowadays RFS is + capable of rescaling most CSS properties with unit values like + margin, padding, + border-radius, or even box-shadow. +

    +

    + The mechanism automatically calculates the appropriate values based + on the dimensions of the browser viewport. It will be compiled into + calc() functions with a mix of rem and + viewport units to enable the responsive scaling behavior. +

    +

    + Using RFS + +

    +

    + The mixins are included in Bootstrap and are available once you + include Bootstrap’s scss. RFS can also be + installed standalone + if needed. +

    +

    + Using the mixins + +

    +

    + The rfs() mixin has shorthands for + font-size, margin, + margin-top, margin-right, + margin-bottom, margin-left, + padding, padding-top, + padding-right, padding-bottom, and + padding-left. See the example below for source Sass and + compiled CSS. +

    +
    +
    .title {
    +  @include font-size(4rem);
    +}
    +
    +
    +
    +
    .title {
    +  font-size: calc(1.525rem + 3.3vw);
    +}
    +
    +@media (min-width: 1200px) {
    +  .title {
    +    font-size: 4rem;
    +  }
    +}
    +
    +
    +

    + Any other property can be passed to the rfs() mixin + like this: +

    +
    +
    .selector {
    +  @include rfs(4rem, border-radius);
    +}
    +
    +
    +

    + !important can also just be added to whatever value you + want: +

    +
    +
    .selector {
    +  @include padding(2.5rem !important);
    +}
    +
    +
    +

    + Using the functions + +

    +

    + When you don’t want to use the includes, there are also two + functions: +

    +
      +
    • + rfs-value() converts a value into a + rem value if a px value is passed, in + other cases it returns the same result. +
    • +
    • + rfs-fluid-value() returns the fluid version of a + value if the property needs rescaling. +
    • +
    +

    + In this example, we use one of Bootstrap’s built-in + responsive breakpoint mixins + to only apply styling below the lg breakpoint. +

    +
    +
    .selector {
    +  @include media-breakpoint-down(lg) {
    +    padding: rfs-fluid-value(2rem);
    +    font-size: rfs-fluid-value(1.125rem);
    +  }
    +}
    +
    +
    +
    +
    @media (max-width: 991.98px) {
    +  .selector {
    +    padding: calc(1.325rem + 0.9vw);
    +    font-size: 1.125rem; /* 1.125rem is small enough, so RFS won't rescale this */
    +  }
    +}
    +
    +
    +

    + Extended documentation + +

    +

    + RFS is a separate project under the Bootstrap organization. More + about RFS and its configuration can be found on its + GitHub repository. +

    +
    +
    - -
    - - -

    What is RFS?

    -

    Bootstrap’s side project RFS is a unit resizing engine which was initially developed to resize font sizes (hence its abbreviation for Responsive Font Sizes). Nowadays RFS is capable of rescaling most CSS properties with unit values like margin, padding, border-radius, or even box-shadow.

    -

    The mechanism automatically calculates the appropriate values based on the dimensions of the browser viewport. It will be compiled into calc() functions with a mix of rem and viewport units to enable the responsive scaling behavior.

    -

    Using RFS

    -

    The mixins are included in Bootstrap and are available once you include Bootstrap’s scss. RFS can also be installed standalone if needed.

    -

    Using the mixins

    -

    The rfs() mixin has shorthands for font-size, margin, margin-top, margin-right, margin-bottom, margin-left, padding, padding-top, padding-right, padding-bottom, and padding-left. See the example below for source Sass and compiled CSS.

    -
    .title {
    -  @include font-size(4rem);
    -}
    -
    .title {
    -  font-size: calc(1.525rem + 3.3vw);
    -}
    -
    -@media (min-width: 1200px) {
    -  .title {
    -    font-size: 4rem;
    -  }
    -}
    -

    Any other property can be passed to the rfs() mixin like this:

    -
    .selector {
    -  @include rfs(4rem, border-radius);
    -}
    -

    !important can also just be added to whatever value you want:

    -
    .selector {
    -  @include padding(2.5rem !important);
    -}
    -

    Using the functions

    -

    When you don’t want to use the includes, there are also two functions:

    -
      -
    • rfs-value() converts a value into a rem value if a px value is passed, in other cases it returns the same result.
    • -
    • rfs-fluid-value() returns the fluid version of a value if the property needs rescaling.
    • -
    -

    In this example, we use one of Bootstrap’s built-in responsive breakpoint mixins to only apply styling below the lg breakpoint.

    -
    .selector {
    -  @include media-breakpoint-down(lg) {
    -    padding: rfs-fluid-value(2rem);
    -    font-size: rfs-fluid-value(1.125rem);
    -  }
    -}
    -
    @media (max-width: 991.98px) {
    -  .selector {
    -    padding: calc(1.325rem + 0.9vw);
    -    font-size: 1.125rem; /* 1.125rem is small enough, so RFS won't rescale this */
    -  }
    -}
    -

    Extended documentation

    -

    RFS is a separate project under the Bootstrap organization. More about RFS and its configuration can be found on its GitHub repository.

    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/getting-started/rtl/index.html b/getting-started/rtl/index.html index 1b02684..719d6a8 100644 --- a/getting-started/rtl/index.html +++ b/getting-started/rtl/index.html @@ -1,604 +1,2290 @@ - - - - - - - - - - - - - - - -RTL · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + RTL · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    RTL

    +
    +

    + Learn how to enable support for right-to-left text in Bootstrap + across our layout, components, and utilities. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    RTL

    + -

    Learn how to enable support for right-to-left text in Bootstrap across our layout, components, and utilities.

    - - -
    - -
    - On this page - +
    +

    + Get familiar + +

    +

    + We recommend getting familiar with Bootstrap first by reading + through our + Getting Started Introduction page. Once you’ve run through it, continue reading here for how + to enable RTL. +

    +

    + You may also want to read up on + the RTLCSS project, as it powers + our approach to RTL. +

    +
    + Bootstrap’s RTL feature is still experimental + and will evolve based on user feedback. Spotted something or have an + improvement to suggest? + Open an issue, we’d love to get your insights. +
    + +

    + Required HTML + +

    +

    + There are two strict requirements for enabling RTL in + Bootstrap-powered pages. +

    +
      +
    1. + Set dir="rtl" on the + <html> element. +
    2. +
    3. + Add an appropriate lang attribute, like + lang="ar", on the + <html> element. +
    4. +
    +

    + From there, you’ll need to include an RTL version of our CSS. + For example, here’s the stylesheet for our compiled and + minified CSS with RTL enabled: +

    +
    +
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.rtl.min.css" integrity="sha384-T5m5WERuXcjgzF8DAb7tRkByEZQGcpraRTinjpywg37AO96WoYN9+hrhDVoM6CaT" crossorigin="anonymous">
    +
    +
    +

    + Starter template + +

    +

    + You can see the above requirements reflected in this modified RTL + starter template. +

    +
    +
    <!doctype html>
    +<html lang="ar" dir="rtl">
    +  <head>
    +    <!-- Required meta tags -->
    +    <meta charset="utf-8">
    +    <meta name="viewport" content="width=device-width, initial-scale=1">
    +
    +    <!-- Bootstrap CSS -->
    +    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.rtl.min.css" integrity="sha384-T5m5WERuXcjgzF8DAb7tRkByEZQGcpraRTinjpywg37AO96WoYN9+hrhDVoM6CaT" crossorigin="anonymous">
    +
    +    <title>مرحبًا بالعالم!</title>
    +  </head>
    +  <body>
    +    <h1>مرحبًا بالعالم!</h1>
    +
    +    <!-- Optional JavaScript; choose one of the two! -->
    +
    +    <!-- Option 1: Bootstrap Bundle with Popper -->
    +    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
    +
    +    <!-- Option 2: Separate Popper and Bootstrap JS -->
    +    <!--
    +    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.7/dist/umd/popper.min.js" integrity="sha384-zYPOMqeu1DAVkHiLqWBUTcbYfZ8osu1Nd6Z89ify25QV9guujx43ITvfi12/QExE" crossorigin="anonymous"></script>
    +    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.min.js" integrity="sha384-Y4oOpwW3duJdCWv5ly8SCFYWqFDsfob/3GkgExXKV4idmbt98QcxXYs9UoXAB7BZ" crossorigin="anonymous"></script>
    +    -->
    +  </body>
    +</html>
    +
    +
    +

    + RTL examples + +

    +

    + Get started with one of our several + RTL examples. +

    +

    + Approach + +

    +

    + Our approach to building RTL support into Bootstrap comes with two + important decisions that impact how we write and use our CSS: +

    +
      +
    1. +

      + First, we decided to build it with the + RTLCSS project. + This gives us some powerful features for managing changes and + overrides when moving from LTR to RTL. It also allows us to + build two versions of Bootstrap from one codebase. +

      +
    2. +
    3. +

      + Second, we’ve renamed a handful of directional classes + to adopt a logical properties approach. + Most of you have already interacted with logical properties + thanks to our flex utilities—they replace direction properties + like left and right in favor + start and end. That makes the class + names and values appropriate for LTR and RTL without any + overhead. +

      +
    4. +
    +

    + For example, instead of .ml-3 for + margin-left, use .ms-3. +

    +

    + Working with RTL, through our source Sass or compiled CSS, + shouldn’t be much different from our default LTR though. +

    +

    + Customize from source + +

    +

    + When it comes to + customization, the + preferred way is to take advantage of variables, maps, and mixins. + This approach works the same for RTL, even if it’s + post-processed from the compiled files, thanks to + how RTLCSS works. +

    +

    + Custom RTL values + +

    +

    + Using + RTLCSS value directives, you can make a variable output a different value for RTL. For + example, to decrease the weight for + $font-weight-bold throughout the codebase, you may use + the /*rtl: {value}*/ syntax: +

    +
    +
    $font-weight-bold: 700 #{/* rtl:600 */} !default;
    +
    +
    +

    + Which would output to the following for our default CSS and RTL CSS: +

    +
    +
    /* bootstrap.css */
    +dt {
    +  font-weight: 700 /* rtl:600 */;
    +}
    +
    +/* bootstrap.rtl.css */
    +dt {
    +  font-weight: 600;
    +}
    +
    +
    +

    + Alternative font stack + +

    +

    + In the case you’re using a custom font, be aware that not all + fonts support the non-Latin alphabet. To switch from Pan-European to + Arabic family, you may need to use + /*rtl:insert: {value}*/ in your font stack to modify + the names of font families. +

    +

    + For example, to switch from Helvetica Neue font for LTR + to Helvetica Neue Arabic for RTL, your Sass code could + look like this: +

    +
    +
    $font-family-sans-serif:
    +  Helvetica Neue #{"/* rtl:insert:Arabic */"},
    +  // Cross-platform generic font family (default user interface font)
    +  system-ui,
    +  // Safari for macOS and iOS (San Francisco)
    +  -apple-system,
    +  // Chrome < 56 for macOS (San Francisco)
    +  BlinkMacSystemFont,
    +  // Windows
    +  "Segoe UI",
    +  // Android
    +  Roboto,
    +  // Basic web fallback
    +  Arial,
    +  // Linux
    +  "Noto Sans",
    +  // Sans serif fallback
    +  sans-serif,
    +  // Emoji fonts
    +  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
    +
    +
    +

    + LTR and RTL at the same time + +

    +

    + Need both LTR and RTL on the same page? Thanks to + RTLCSS String Maps, this is pretty straightforward. Wrap your @imports + with a class, and set a custom rename rule for RTLCSS: +

    +
    +
    /* rtl:begin:options: {
    +  "autoRename": true,
    +  "stringMap":[ {
    +    "name": "ltr-rtl",
    +    "priority": 100,
    +    "search": ["ltr"],
    +    "replace": ["rtl"],
    +    "options": {
    +      "scope": "*",
    +      "ignoreCase": false
    +    }
    +  } ]
    +} */
    +.ltr {
    +  @import "../node_modules/bootstrap/scss/bootstrap";
    +}
    +/*rtl:end:options*/
    +
    +
    +

    + After running Sass then RTLCSS, each selector in your CSS files will + be prepended by .ltr, and .rtl for RTL + files. Now you’re able to use both files on the same page, and + simply use .ltr or .rtl on your components + wrappers to use one or the other direction. +

    +
    +

    + Edge cases and known limitations to consider when + working with a combined LTR and RTL implementation: +

    +
      +
    1. + When switching .ltr and .rtl, make + sure you add dir and lang attributes + accordingly. +
    2. +
    3. + Loading both files can be a real performance bottleneck: + consider some + optimization, + and maybe try to + load one of those files asynchronously. +
    4. +
    5. + Nesting styles this way will prevent our + form-validation-state() mixin from working as + intended, thus require you tweak it a bit by yourself. + See #31223. +
    6. +
    +
    + +

    + The breadcrumb case + +

    +

    + The + breadcrumb separator + is the only case requiring its own brand-new variable— namely + $breadcrumb-divider-flipped —defaulting to + $breadcrumb-divider. +

    +

    + Additional resources + +

    +
    +
    +
    - -
    - - -

    Get familiar

    -

    We recommend getting familiar with Bootstrap first by reading through our Getting Started Introduction page. Once you’ve run through it, continue reading here for how to enable RTL.

    -

    You may also want to read up on the RTLCSS project, as it powers our approach to RTL.

    -
    -

    Experimental feature

    -

    The RTL feature is still experimental and will probably evolve according to user feedback. Spotted something or have an improvement to suggest? Open an issue, we’d love to get your insights. -

    - -

    Required HTML

    -

    There are two strict requirements for enabling RTL in Bootstrap-powered pages.

    -
      -
    1. Set dir="rtl" on the <html> element.
    2. -
    3. Add an appropriate lang attribute, like lang="ar", on the <html> element.
    4. -
    -

    From there, you’ll need to include an RTL version of our CSS. For example, here’s the stylesheet for our compiled and minified CSS with RTL enabled:

    -
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.rtl.min.css" integrity="sha384-+qdLaIRZfNu4cVPK/PxJJEy0B0f3Ugv8i482AKY7gwXwhaCroABd086ybrVKTa0q" crossorigin="anonymous">
    -

    Starter template

    -

    You can see the above requirements reflected in this modified RTL starter template.

    -
    <!doctype html>
    -<html lang="ar" dir="rtl">
    -  <head>
    -    <!-- Required meta tags -->
    -    <meta charset="utf-8">
    -    <meta name="viewport" content="width=device-width, initial-scale=1">
    -
    -    <!-- Bootstrap CSS -->
    -    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.rtl.min.css" integrity="sha384-+qdLaIRZfNu4cVPK/PxJJEy0B0f3Ugv8i482AKY7gwXwhaCroABd086ybrVKTa0q" crossorigin="anonymous">
    -
    -    <title>مرحبا بالعالم!</title>
    -  </head>
    -  <body>
    -    <h1>مرحبا بالعالم!</h1>
    -
    -    <!-- Optional JavaScript; choose one of the two! -->
    -
    -    <!-- Option 1: Bootstrap Bundle with Popper -->
    -    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
    -
    -    <!-- Option 2: Separate Popper and Bootstrap JS -->
    -    <!--
    -    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
    -    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
    -    -->
    -  </body>
    -</html>
    -

    RTL examples

    -

    Get started with one of our several RTL examples.

    -

    Approach

    -

    Our approach to building RTL support into Bootstrap comes with two important decisions that impact how we write and use our CSS:

    -
      -
    1. -

      First, we decided to build it with the RTLCSS project. This gives us some powerful features for managing changes and overrides when moving from LTR to RTL. It also allows us to build two versions of Bootstrap from one codebase.

      -
    2. -
    3. -

      Second, we’ve renamed a handful of directional classes to adopt a logical properties approach. Most of you have already interacted with logical properties thanks to our flex utilities—they replace direction properties like left and right in favor start and end. That makes the class names and values appropriate for LTR and RTL without any overhead.

      -
    4. -
    -

    For example, instead of .ml-3 for margin-left, use .ms-3.

    -

    Working with RTL, through our source Sass or compiled CSS, shouldn’t be much different from our default LTR though.

    -

    Customize from source

    -

    When it comes to customization, the preferred way is to take advantage of variables, maps, and mixins. This approach works the same for RTL, even if it’s post-processed from the compiled files, thanks to how RTLCSS works.

    -

    Custom RTL values

    -

    Using RTLCSS value directives, you can make a variable output a different value for RTL. For example, to decrease the weight for $font-weight-bold throughout the codebase, you may use the /*rtl: {value}*/ syntax:

    -
    $font-weight-bold: 700 #{/* rtl:600 */} !default;
    -

    Which would output to the following for our default CSS and RTL CSS:

    -
    /* bootstrap.css */
    -dt {
    -  font-weight: 700 /* rtl:600 */;
    -}
    -
    -/* bootstrap.rtl.css */
    -dt {
    -  font-weight: 600;
    -}
    -

    Alternative font stack

    -

    In the case you’re using a custom font, be aware that not all fonts support the non-Latin alphabet. To switch from Pan-European to Arabic family, you may need to use /*rtl:insert: {value}*/ in your font stack to modify the names of font families.

    -

    For example, to switch from Helvetica Neue Webfont for LTR to Helvetica Neue Arabic for RTL, your Sass code look like this:

    -
    $font-family-sans-serif:
    -  Helvetica Neue #{"/* rtl:insert:Arabic */"},
    -  // Cross-platform generic font family (default user interface font)
    -  system-ui,
    -  // Safari for macOS and iOS (San Francisco)
    -  -apple-system,
    -  // Chrome < 56 for macOS (San Francisco)
    -  BlinkMacSystemFont,
    -  // Windows
    -  "Segoe UI",
    -  // Android
    -  Roboto,
    -  // Basic web fallback
    -  Arial,
    -  // Linux
    -  "Noto Sans",
    -  // Sans serif fallback
    -  sans-serif,
    -  // Emoji fonts
    -  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
    -

    LTR and RTL at the same time

    -

    Need both LTR and RTL on the same page? Thanks to RTLCSS String Maps, this is pretty straightforward. Wrap your @imports with a class, and set a custom rename rule for RTLCSS:

    -
    /* rtl:begin:options: {
    -  "autoRename": true,
    -  "stringMap":[ {
    -    "name": "ltr-rtl",
    -    "priority": 100,
    -    "search": ["ltr"],
    -    "replace": ["rtl"],
    -    "options": {
    -      "scope": "*",
    -      "ignoreCase": false
    -    }
    -  } ]
    -} */
    -.ltr {
    -  @import "../node_modules/bootstrap/scss/bootstrap";
    -}
    -/*rtl:end:options*/
    -

    After running Sass then RTLCSS, each selector in your CSS files will be prepended by .ltr, and .rtl for RTL files. Now you’re able to use both files on the same page, and simply use .ltr or .rtl on your components wrappers to use one or the other direction.

    -
    -

    Edge cases and known limitations

    -

    While this approach is understandable, please pay attention to the following:

    -
      -
    1. When switching .ltr and .rtl, make sure you add dir and lang attributes accordingly.
    2. -
    3. Loading both files can be a real performance bottleneck: consider some optimization, and maybe try to load one of those files asynchronously.
    4. -
    5. Nesting styles this way will prevent our form-validation-state() mixin from working as intended, thus require you tweak it a bit by yourself. See #31223.
    6. -
    - -
    - -

    The breadcrumb case

    -

    The breadcrumb separator is the only case requiring its own brand new variable— namely $breadcrumb-divider-flipped —defaulting to $breadcrumb-divider.

    -

    Additional resources

    - - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/getting-started/vite/index.html b/getting-started/vite/index.html new file mode 100644 index 0000000..1898e62 --- /dev/null +++ b/getting-started/vite/index.html @@ -0,0 +1,2274 @@ + + + + + + + + + + + + + + + Bootstrap and Vite · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Bootstrap and Vite

    +
    +

    + The official guide for how to include and bundle Bootstrap’s + CSS and JavaScript in your project using Vite. +

    +
    + +
    + + On this page +
    + +
    + +
    + +
    + Want to skip to the end? Download the source code + and working demo for this guide from the + twbs/examples repository. You can also + open the example in StackBlitz + for live editing. +
    + +

    + Setup + +

    +

    + We’re building a Vite project with Bootstrap from scratch, so + there are some prerequisites and up front steps before we can really + get started. This guide requires you to have Node.js installed and + some familiarity with the terminal. +

    +
      +
    1. +

      + Create a project folder and setup npm. + We’ll create the my-project folder and + initialize npm with the -y argument to avoid it + asking us all the interactive questions. +

      +
      +
      mkdir my-project && cd my-project
      +npm init -y
      +
      +
      +
    2. +
    3. +

      + Install Vite. Unlike our Webpack guide, there’s + only a single build tool dependency here. We use + --save-dev to signal that this dependency is only + for development use and not for production. +

      +
      +
      npm i --save-dev vite
      +
      +
      +
    4. +
    5. +

      + Install Bootstrap. Now we can install + Bootstrap. We’ll also install Popper since our dropdowns, + popovers, and tooltips depend on it for their positioning. If + you don’t plan on using those components, you can omit + Popper here. +

      +
      +
      npm i --save bootstrap @popperjs/core
      +
      +
      +
    6. +
    7. +

      + Install additional dependency. In addition to + Vite and Bootstrap, we need another dependency (Sass) to + properly import and bundle Bootstrap’s CSS. +

      +
      +
      npm i --save-dev sass
      +
      +
      +
    8. +
    +

    + Now that we have all the necessary dependencies installed and setup, + we can get to work creating the project files and importing + Bootstrap. +

    +

    + Project structure + +

    +

    + We’ve already created the my-project folder and + initialized npm. Now we’ll also create our + src folder, stylesheet, and JavaScript file to round + out the project structure. Run the following from + my-project, or manually create the folder and file + structure shown below. +

    +
    +
    mkdir {src,src/js,src/scss}
    +touch src/index.html src/js/main.js src/scss/styles.scss vite.config.js
    +
    +
    +

    + When you’re done, your complete project should look like this: +

    +
    +
    my-project/
    +├── src/
    +│   ├── js/
    +│   │   └── main.js
    +│   └── scss/
    +│   |   └── styles.scss
    +|   └── index.html
    +├── package-lock.json
    +├── package.json
    +└── vite.config.js
    +
    +
    +

    + At this point, everything is in the right place, but Vite + won’t work because we haven’t filled in our + vite.config.js yet. +

    +

    + Configure Vite + +

    +

    + With dependencies installed and our project folder ready for us to + start coding, we can now configure Vite and run our project locally. +

    +
      +
    1. +

      + Open vite.config.js in your editor. + Since it’s blank, we’ll need to add some boilerplate + config to it so we can start our server. This part of the config + tells Vite where to look for our project’s JavaScript and + how the development server should behave (pulling from the + src folder with hot reload). +

      + +
      +
      const path = require('path')
      +
      +export default {
      +  root: path.resolve(__dirname, 'src'),
      +  build: {
      +    outDir: '../dist'
      +  },
      +  server: {
      +    port: 8080,
      +    hot: true
      +  }
      +}
      +
      +
      +
    2. +
    3. +

      + Next we fill in src/index.html. + This is the HTML page Vite will load in the browser to utilize + the bundled CSS and JS we’ll add to it in later steps. +

      +
      +
      <!doctype html>
      +<html lang="en">
      +  <head>
      +    <meta charset="utf-8">
      +    <meta name="viewport" content="width=device-width, initial-scale=1">
      +    <title>Bootstrap w/ Vite</title>
      +    <script type="module" src="./js/main.js"></script>
      +  </head>
      +  <body>
      +    <div class="container py-4 px-3 mx-auto">
      +      <h1>Hello, Bootstrap and Vite!</h1>
      +      <button class="btn btn-primary">Primary button</button>
      +    </div>
      +  </body>
      +</html>
      +
      +
      +

      + We’re including a little bit of Bootstrap styling here + with the div class="container" and + <button> so that we see when + Bootstrap’s CSS is loaded by Vite. +

      +
    4. +
    5. +

      + Now we need an npm script to run Vite. Open + package.json and add the start script + shown below (you should already have the test script). + We’ll use this script to start our local Vite dev server. +

      +
      +
      {
      +  // ...
      +  "scripts": {
      +    "start": "vite",
      +    "test": "echo \"Error: no test specified\" && exit 1"
      +  },
      +  // ...
      +}
      +
      +
      +
    6. +
    7. +

      + And finally, we can start Vite. From the + my-project folder in your terminal, run that newly + added npm script: +

      +
      +
      npm start
      +
      +
      + Vite dev server running +
    8. +
    +

    + In the next and final section to this guide, we’ll import all of + Bootstrap’s CSS and JavaScript. +

    +

    + Import Bootstrap + +

    +
      +
    1. +

      + Import Bootstrap’s CSS. Add the following + to src/scss/styles.scss to import all of + Bootstrap’s source Sass. +

      +
      +
      // Import all of Bootstrap's CSS
      +@import "bootstrap/scss/bootstrap";
      +
      +
      +

      + You can also import our stylesheets individually if you want. + Read our Sass import docs + for details. +

      +
    2. +
    3. +

      + Next we load the CSS and import Bootstrap’s + JavaScript. + Add the following to src/js/main.js to load the CSS + and import all of Bootstrap’s JS. Popper will be imported + automatically through Bootstrap. +

      + +
      +
      // Import our custom CSS
      +import '../scss/styles.scss'
      +
      +// Import all of Bootstrap's JS
      +import * as bootstrap from 'bootstrap'
      +
      +
      +

      + You can also import JavaScript plugins individually as needed to + keep bundle sizes down: +

      + +
      +
      import Alert from 'bootstrap/js/dist/alert';
      +
      +// or, specify which plugins you need:
      +import { Tooltip, Toast, Popover } from 'bootstrap';
      +
      +
      +

      + Read our JavaScript docs + for more information on how to use Bootstrap’s + plugins. +

      +
    4. +
    5. +

      + And you’re done! 🎉 With + Bootstrap’s source Sass and JS fully loaded, your local + development server should now look like this. +

      + Vite dev server running with Bootstrap +

      + Now you can start adding any Bootstrap components you want to + use. Be sure to + check out the complete Vite example project + for how to include additional custom Sass and optimize your + build by importing only the parts of Bootstrap’s CSS and + JS that you need. +

      +
    6. +
    +
    +

    + See something wrong or out of date here? Please + open an issue on GitHub. Need help troubleshooting? + Search or start a discussion + on GitHub. +

    +
    +
    +
    + + + + + + + + + + + + + + + + + diff --git a/getting-started/webpack/index.html b/getting-started/webpack/index.html index 95bb157..fd13a9e 100644 --- a/getting-started/webpack/index.html +++ b/getting-started/webpack/index.html @@ -1,529 +1,2548 @@ - - - - - - - - - - - - - - - -Webpack and bundlers · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Bootstrap and Webpack · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Bootstrap and Webpack

    +
    +

    + The official guide for how to include and bundle Bootstrap’s + CSS and JavaScript in your project using Webpack. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Webpack and bundlers

    +
    + + On this page +
    +
    -

    Learn how to include Bootstrap in your project using Webpack or other bundlers.

    - -
    - - -
    - On this page - +
    + +
    + Want to skip to the end? Download the source code + and working demo for this guide from the + twbs/examples repository. You can also + open the example in StackBlitz + for live editing. +
    + +

    + Setup + +

    +

    + We’re building a Webpack project with Bootstrap from scratch, + so there are some prerequisites and up front steps before we can + really get started. This guide requires you to have Node.js + installed and some familiarity with the terminal. +

    +
      +
    1. +

      + Create a project folder and setup npm. + We’ll create the my-project folder and + initialize npm with the -y argument to avoid it + asking us all the interactive questions. +

      +
      +
      mkdir my-project && cd my-project
      +npm init -y
      +
      +
      +
    2. +
    3. +

      + Install Webpack. Next we need to install our + Webpack development dependencies: webpack for the + core of Webpack, webpack-cli so we can run Webpack + commands from the terminal, and + webpack-dev-server so we can run a local + development server. Additionally, we’ll install + html-webpack-plugin to be able to store our + index.html in src directory instead of + the default dist one. We use + --save-dev to signal that these dependencies are + only for development use and not for production. +

      +
      +
      npm i --save-dev webpack webpack-cli webpack-dev-server html-webpack-plugin
      +
      +
      +
    4. +
    5. +

      + Install Bootstrap. Now we can install + Bootstrap. We’ll also install Popper since our dropdowns, + popovers, and tooltips depend on it for their positioning. If + you don’t plan on using those components, you can omit + Popper here. +

      +
      +
      npm i --save bootstrap @popperjs/core
      +
      +
      +
    6. +
    7. +

      + Install additional dependencies. In addition to + Webpack and Bootstrap, we need a few more dependencies to + properly import and bundle Bootstrap’s CSS and JS with + Webpack. These include Sass, some loaders, and Autoprefixer. +

      +
      +
      npm i --save-dev autoprefixer css-loader postcss-loader sass sass-loader style-loader
      +
      +
      +
    8. +
    +

    + Now that we have all the necessary dependencies installed, we can + get to work creating the project files and importing Bootstrap. +

    +

    + Project structure + +

    +

    + We’ve already created the my-project folder and + initialized npm. Now we’ll also create our + src and dist folders to round out the + project structure. Run the following from my-project, + or manually create the folder and file structure shown below. +

    +
    +
    mkdir {src,src/js,src/scss}
    +touch src/index.html src/js/main.js src/scss/styles.scss webpack.config.js
    +
    +
    +

    + When you’re done, your complete project should look like this: +

    +
    +
    my-project/
    +├── src/
    +│   ├── js/
    +│   │   └── main.js
    +│   ├── scss/
    +│   │   └── styles.scss
    +│   └── index.html
    +├── package-lock.json
    +├── package.json
    +└── webpack.config.js
    +
    +
    +

    + At this point, everything is in the right place, but Webpack + won’t work because we haven’t filled in our + webpack.config.js yet. +

    +

    + Configure Webpack + +

    +

    + With dependencies installed and our project folder ready for us to + start coding, we can now configure Webpack and run our project + locally. +

    +
      +
    1. +

      + Open webpack.config.js in your editor. + Since it’s blank, we’ll need to add some boilerplate + config to it so we can start our server. This part of the config + tells Webpack where to look for our project’s JavaScript, + where to output the compiled code to (dist), and + how the development server should behave (pulling from the + dist folder with hot reload). +

      +
      +
      'use strict'
      +
      +const path = require('path')
      +const HtmlWebpackPlugin = require('html-webpack-plugin')
      +
      +module.exports = {
      +  mode: 'development',
      +  entry: './src/js/main.js',
      +  output: {
      +    filename: 'main.js',
      +    path: path.resolve(__dirname, 'dist')
      +  },
      +  devServer: {
      +    static: path.resolve(__dirname, 'dist'),
      +    port: 8080,
      +    hot: true
      +  },
      +  plugins: [
      +    new HtmlWebpackPlugin({ template: './src/index.html' })
      +  ]
      +}
      +
      +
      +
    2. +
    3. +

      + Next we fill in our src/index.html. + This is the HTML page Webpack will load in the browser to + utilize the bundled CSS and JS we’ll add to it in later + steps. Before we can do that, we have to give it something to + render and include the output JS from the previous + step. +

      +
      +
      <!doctype html>
      +<html lang="en">
      +  <head>
      +    <meta charset="utf-8">
      +    <meta name="viewport" content="width=device-width, initial-scale=1">
      +    <title>Bootstrap w/ Webpack</title>
      +  </head>
      +  <body>
      +    <div class="container py-4 px-3 mx-auto">
      +      <h1>Hello, Bootstrap and Webpack!</h1>
      +      <button class="btn btn-primary">Primary button</button>
      +    </div>
      +  </body>
      +</html>
      +
      +
      +

      + We’re including a little bit of Bootstrap styling here + with the div class="container" and + <button> so that we see when + Bootstrap’s CSS is loaded by Webpack. +

      +
    4. +
    5. +

      + Now we need an npm script to run Webpack. Open + package.json and add the start script + shown below (you should already have the test script). + We’ll use this script to start our local Webpack dev + server. You can also add a build script shown below + to build your project. +

      +
      +
      {
      +  // ...
      +  "scripts": {
      +    "start": "webpack serve",
      +    "build": "webpack build --mode=production",
      +    "test": "echo \"Error: no test specified\" && exit 1"
      +  },
      +  // ...
      +}
      +
      +
      +
    6. +
    7. +

      + And finally, we can start Webpack. From the + my-project folder in your terminal, run that newly + added npm script: +

      +
      +
      npm start
      +
      +
      + Webpack dev server running +
    8. +
    +

    + In the next and final section to this guide, we’ll set up the + Webpack loaders and import all of Bootstrap’s CSS and + JavaScript. +

    +

    + Import Bootstrap + +

    +

    + Importing Bootstrap into Webpack requires the loaders we installed + in the first section. We’ve installed them with npm, but now + Webpack needs to be configured to use them. +

    +
      +
    1. +

      + Set up the loaders in webpack.config.js. + Your configuration file is now complete and should match the + snippet below. The only new part here is the + module section. +

      +
      +
      'use strict'
      +
      +const path = require('path')
      +const autoprefixer = require('autoprefixer')
      +const HtmlWebpackPlugin = require('html-webpack-plugin')
      +
      +module.exports = {
      +  mode: 'development',
      +  entry: './src/js/main.js',
      +  output: {
      +    filename: 'main.js',
      +    path: path.resolve(__dirname, 'dist')
      +  },
      +  devServer: {
      +    static: path.resolve(__dirname, 'dist'),
      +    port: 8080,
      +    hot: true
      +  },
      +  plugins: [
      +    new HtmlWebpackPlugin({ template: './src/index.html' })
      +  ],
      +  module: {
      +    rules: [
      +      {
      +        test: /\.(scss)$/,
      +        use: [
      +          {
      +            // Adds CSS to the DOM by injecting a `<style>` tag
      +            loader: 'style-loader'
      +          },
      +          {
      +            // Interprets `@import` and `url()` like `import/require()` and will resolve them
      +            loader: 'css-loader'
      +          },
      +          {
      +            // Loader for webpack to process CSS with PostCSS
      +            loader: 'postcss-loader',
      +            options: {
      +              postcssOptions: {
      +                plugins: () => [
      +                  autoprefixer
      +                ]
      +              }
      +            }
      +          },
      +          {
      +            // Loads a SASS/SCSS file and compiles it to CSS
      +            loader: 'sass-loader'
      +          }
      +        ]
      +      }
      +    ]
      +  }
      +}
      +
      +
      +

      + Here’s a recap of why we need all these loaders. + style-loader injects the CSS into a + <style> element in the + <head> of the HTML page, + css-loader helps with using + @import and url(), + postcss-loader is required for Autoprefixer, and + sass-loader allows us to use Sass. +

      +
    2. +
    3. +

      + Now, let’s import Bootstrap’s CSS. + Add the following to src/scss/styles.scss to import + all of Bootstrap’s source Sass. +

      +
      +
      // Import all of Bootstrap's CSS
      +@import "bootstrap/scss/bootstrap";
      +
      +
      +

      + You can also import our stylesheets individually if you want. + Read our Sass import docs + for details. +

      +
    4. +
    5. +

      + Next we load the CSS and import Bootstrap’s + JavaScript. + Add the following to src/js/main.js to load the CSS + and import all of Bootstrap’s JS. Popper will be imported + automatically through Bootstrap. +

      + +
      +
      // Import our custom CSS
      +import '../scss/styles.scss'
      +
      +// Import all of Bootstrap's JS
      +import * as bootstrap from 'bootstrap'
      +
      +
      +

      + You can also import JavaScript plugins individually as needed to + keep bundle sizes down: +

      + +
      +
      import Alert from 'bootstrap/js/dist/alert'
      +
      +// or, specify which plugins you need:
      +import { Tooltip, Toast, Popover } from 'bootstrap'
      +
      +
      +

      + Read our JavaScript docs + for more information on how to use Bootstrap’s + plugins. +

      +
    6. +
    7. +

      + And you’re done! 🎉 With + Bootstrap’s source Sass and JS fully loaded, your local + development server should now look like this. +

      + Webpack dev server running with Bootstrap +

      + Now you can start adding any Bootstrap components you want to + use. Be sure to + check out the complete Webpack example project + for how to include additional custom Sass and optimize your + build by importing only the parts of Bootstrap’s CSS and + JS that you need. +

      +
    8. +
    +

    + Production optimizations + +

    +

    + Depending on your setup, you may want to implement some additional + security and speed optimizations useful for running the project in + production. Note that these optimizations are not applied on + the Webpack example project + and are up to you to implement. +

    +

    + Extracting CSS + +

    +

    + The style-loader we configured above conveniently emits + CSS into the bundle so that manually loading a CSS file in + dist/index.html isn’t necessary. This approach + may not work with a strict Content Security Policy, however, and it + may become a bottleneck in your application due to the large bundle + size. +

    +

    + To separate the CSS so that we can load it directly from + dist/index.html, use the + mini-css-extract-loader Webpack plugin. +

    +

    First, install the plugin:

    +
    +
    npm install --save-dev mini-css-extract-plugin
    +
    +
    +

    + Then instantiate and use the plugin in the Webpack configuration: +

    +
    +
    --- a/webpack.config.js
    ++++ b/webpack.config.js
    +@@ -3,6 +3,7 @@
    + const path = require('path')
    + const autoprefixer = require('autoprefixer')
    + const HtmlWebpackPlugin = require('html-webpack-plugin')
    ++const miniCssExtractPlugin = require('mini-css-extract-plugin')
    +
    + module.exports = {
    +   mode: 'development',
    +@@ -17,7 +18,8 @@ module.exports = {
    +     hot: true
    +   },
    +   plugins: [
    +-    new HtmlWebpackPlugin({ template: './src/index.html' })
    ++    new HtmlWebpackPlugin({ template: './src/index.html' }),
    ++    new miniCssExtractPlugin()
    +   ],
    +   module: {
    +     rules: [
    +@@ -25,8 +27,8 @@ module.exports = {
    +         test: /\.(scss)$/,
    +         use: [
    +           {
    +-            // Adds CSS to the DOM by injecting a `<style>` tag
    +-            loader: 'style-loader'
    ++            // Extracts CSS for each JS file that includes CSS
    ++            loader: miniCssExtractPlugin.loader
    +           },
    +           {
    +
    +
    +

    + After running npm run build again, there will be a new + file dist/main.css, which will contain all of the CSS + imported by src/js/main.js. If you view + dist/index.html in your browser now, the style will be + missing, as it is now in dist/main.css. You can include + the generated CSS in dist/index.html like this: +

    +
    +
    --- a/dist/index.html
    ++++ b/dist/index.html
    +@@ -3,6 +3,7 @@
    +   <head>
    +     <meta charset="utf-8">
    +     <meta name="viewport" content="width=device-width, initial-scale=1">
    ++    <link rel="stylesheet" href="./main.css">
    +     <title>Bootstrap w/ Webpack</title>
    +   </head>
    +   <body>
    +
    +
    +

    + Extracting SVG files + +

    +

    + Bootstrap’s CSS includes multiple references to SVG files via + inline data: URIs. If you define a Content Security + Policy for your project that blocks data: URIs for + images, then these SVG files will not load. You can get around this + problem by extracting the inline SVG files using Webpack’s + asset modules feature. +

    +

    Configure Webpack to extract inline SVG files like this:

    +
    +
    --- a/webpack.config.js
    ++++ b/webpack.config.js
    +@@ -23,6 +23,14 @@ module.exports = {
    +   },
    +   module: {
    +     rules: [
    ++      {
    ++        mimetype: 'image/svg+xml',
    ++        scheme: 'data',
    ++        type: 'asset/resource',
    ++        generator: {
    ++          filename: 'icons/[hash].svg'
    ++        }
    ++      },
    +       {
    +         test: /\.(scss)$/,
    +         use: [
    +
    +
    +

    + After running npm run build again, you’ll find + the SVG files extracted into dist/icons and properly + referenced from CSS. +

    +
    +

    + See something wrong or out of date here? Please + open an issue on GitHub. Need help troubleshooting? + Search or start a discussion + on GitHub. +

    +
    +
    - -
    - - -

    Installing Bootstrap

    -

    Install bootstrap as a Node.js module using npm.

    -

    Importing JavaScript

    -

    Import Bootstrap’s JavaScript by adding this line to your app’s entry point (usually index.js or app.js):

    -
    import 'bootstrap';
    -
    -// or get all of the named exports for further usage
    -import * as bootstrap from 'bootstrap';
    -

    Alternatively, if you only need just a few of our plugins, you may import plugins individually as needed:

    -
    import Alert from 'bootstrap/js/dist/alert';
    -
    -// or, specify which plugins you need:
    -import { Tooltip, Toast, Popover } from 'bootstrap';
    -

    Bootstrap depends on Popper, which is specified in the peerDependencies property. -This means that you will have to make sure to add it to your package.json using npm install @popperjs/core.

    -

    Importing Styles

    -

    Importing Precompiled Sass

    -

    To enjoy the full potential of Bootstrap and customize it to your needs, use the source files as a part of your project’s bundling process.

    -

    First, create your own _custom.scss and use it to override the built-in custom variables. Then, use your main Sass file to import your custom variables, followed by Bootstrap:

    -
    @import "custom";
    -@import "~bootstrap/scss/bootstrap";
    -

    For Bootstrap to compile, make sure you install and use the required loaders: sass-loader, postcss-loader with Autoprefixer. With minimal setup, your webpack config should include this rule or similar:

    -
    // ...
    -{
    -  test: /\.(scss)$/,
    -  use: [{
    -    // inject CSS to page
    -    loader: 'style-loader'
    -  }, {
    -    // translates CSS into CommonJS modules
    -    loader: 'css-loader'
    -  }, {
    -    // Run postcss actions
    -    loader: 'postcss-loader',
    -    options: {
    -      // `postcssOptions` is needed for postcss 8.x;
    -      // if you use postcss 7.x skip the key
    -      postcssOptions: {
    -        // postcss plugins, can be exported to postcss.config.js
    -        plugins: function () {
    -          return [
    -            require('autoprefixer')
    -          ];
    -        }
    -      }
    -    }
    -  }, {
    -    // compiles Sass to CSS
    -    loader: 'sass-loader'
    -  }]
    -}
    -// ...
    -

    Importing Compiled CSS

    -

    Alternatively, you may use Bootstrap’s ready-to-use CSS by simply adding this line to your project’s entry point:

    -
    import 'bootstrap/dist/css/bootstrap.min.css';
    -

    In this case you may use your existing rule for css without any special modifications to webpack config, except you don’t need sass-loader just style-loader and css-loader.

    -
    // ...
    -module: {
    -  rules: [
    -    {
    -      test: /\.css$/,
    -      use: [
    -        'style-loader',
    -        'css-loader'
    -      ]
    -    }
    -  ]
    -}
    -// ...
    -
    +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/helpers/clearfix/index.html b/helpers/clearfix/index.html index deec560..0c1e163 100644 --- a/helpers/clearfix/index.html +++ b/helpers/clearfix/index.html @@ -1,470 +1,1969 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Clearfix · Bootstrap v5.3 -Clearfix · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + +
    +
    +
    + +

    Clearfix

    +
    +

    + Quickly and easily clear floated content within a container by + adding a clearfix utility. +

    +
    + +
    +

    + Easily clear floats by adding .clearfix + to the parent element. Can also be used as a mixin. +

    +

    Use in HTML:

    +
    +
    <div class="clearfix">...</div>
    +
    +
    +

    The mixin source code:

    +
    +
    + scss/mixins/_clearfix.scss +
    + +
    +
    +
    +
    @mixin clearfix() {
    +  &::after {
    +    display: block;
    +    clear: both;
    +    content: "";
    +  }
    +}
    +
    +
    +
    +

    Use the mixin in SCSS:

    +
    +
    .element {
    +  @include clearfix;
    +}
    +
    +
    +

    + The following example shows how the clearfix can be used. Without + the clearfix the wrapping div would not span around the buttons + which would cause a broken layout. +

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="bg-info clearfix">
    +  <button type="button" class="btn btn-secondary float-start">Example Button floated left</button>
    +  <button type="button" class="btn btn-secondary float-end">Example Button floated right</button>
    +</div>
    +
    +
    +
    +
    - - - + + - + + - + + + + + + diff --git a/helpers/color-background/index.html b/helpers/color-background/index.html new file mode 100644 index 0000000..ce670a8 --- /dev/null +++ b/helpers/color-background/index.html @@ -0,0 +1,2107 @@ + + + + + + + + + + + + + + + Color and background · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +
    + Added in v5.2 + View on GitHub + +
    +

    Color and background

    +
    +

    + Set a background color with contrasting foreground color. +

    +
    + +
    + + On this page +
    +
    + +
    +
    + +
    +

    + Overview + +

    +

    + Color and background helpers combine the power of our + .text-* utilities + and + .bg-* utilities + in one class. Using our Sass color-contrast() function, + we automatically determine a contrasting color for a + particular background-color. +

    +
    + Heads up! There’s currently no support for a + CSS-native color-contrast function, so we use our own + via Sass. This means that customizing our theme colors via CSS + variables may cause color contrast issues with these utilities. +
    + +
    +
    +
    + Primary with contrasting color +
    +
    + Secondary with contrasting color +
    +
    + Success with contrasting color +
    +
    + Danger with contrasting color +
    +
    + Warning with contrasting color +
    +
    Info with contrasting color
    +
    Light with contrasting color
    +
    Dark with contrasting color
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="text-bg-primary p-3">Primary with contrasting color</div>
    +<div class="text-bg-secondary p-3">Secondary with contrasting color</div>
    +<div class="text-bg-success p-3">Success with contrasting color</div>
    +<div class="text-bg-danger p-3">Danger with contrasting color</div>
    +<div class="text-bg-warning p-3">Warning with contrasting color</div>
    +<div class="text-bg-info p-3">Info with contrasting color</div>
    +<div class="text-bg-light p-3">Light with contrasting color</div>
    +<div class="text-bg-dark p-3">Dark with contrasting color</div>
    +
    +
    + +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + +

    + With components + +

    +

    + Use them in place of combined .text-* and + .bg-* classes, like on + badges: +

    +
    +
    + Primary + Info +
    +
    + html +
    + + +
    +
    +
    +
    <span class="badge text-bg-primary">Primary</span>
    +<span class="badge text-bg-info">Info</span>
    +
    +
    + +

    + Or on + cards: +

    +
    +
    +
    +
    Header
    +
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    Header
    +
    +

    + Some quick example text to build on the card title and make + up the bulk of the card's content. +

    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="card text-bg-primary mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +<div class="card text-bg-info mb-3" style="max-width: 18rem;">
    +  <div class="card-header">Header</div>
    +  <div class="card-body">
    +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    +  </div>
    +</div>
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + diff --git a/helpers/colored-links/index.html b/helpers/colored-links/index.html index b3c7725..c3d0966 100644 --- a/helpers/colored-links/index.html +++ b/helpers/colored-links/index.html @@ -1,467 +1,2094 @@ - - - - - - - - - - - - - - - -Colored links · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Colored links · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Colored links

    +
    +

    Colored links with hover states

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Colored links

    +
    + + On this page +
    +
    + +
    -

    Colored links with hover states

    - - -
    - - - -
    - - -

    You can use the .link-* classes to colorize links. Unlike the .text-* classes, these classes have a :hover and :focus state.

    -
    <a href="#" class="link-primary">Primary link</a>
    -<a href="#" class="link-secondary">Secondary link</a>
    -<a href="#" class="link-success">Success link</a>
    -<a href="#" class="link-danger">Danger link</a>
    -<a href="#" class="link-warning">Warning link</a>
    -<a href="#" class="link-info">Info link</a>
    -<a href="#" class="link-light">Light link</a>
    -<a href="#" class="link-dark">Dark link</a>
    -
    -Some of the link styles use a relatively light foreground color, and should only be used on a dark background in order to have sufficient contrast. -
    +
    + +

    + You can use the .link-* classes to colorize links. + Unlike the + .text-* classes, these classes have a :hover and + :focus state. Some of the link styles use a relatively + light foreground color, and should only be used on a dark background + in order to have sufficient contrast. +

    +
    + Heads up! .link-body-emphasis is + currently the only colored link that adapts to color modes. + It’s treated as a special case until v6 arrives and we can + more thoroughly rebuild our theme colors for color modes. Until + then, it’s a unique, high-contrast link color with custom + :hover and :focus styles. However, it + still responds to the new link utilities. +
    + +
    + +
    + html +
    + + +
    +
    +
    +
    <p><a href="#" class="link-primary">Primary link</a></p>
    +<p><a href="#" class="link-secondary">Secondary link</a></p>
    +<p><a href="#" class="link-success">Success link</a></p>
    +<p><a href="#" class="link-danger">Danger link</a></p>
    +<p><a href="#" class="link-warning">Warning link</a></p>
    +<p><a href="#" class="link-info">Info link</a></p>
    +<p><a href="#" class="link-light">Light link</a></p>
    +<p><a href="#" class="link-dark">Dark link</a></p>
    +<p><a href="#" class="link-body-emphasis">Emphasis link</a></p>
    +
    +
    + +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + + + Added in v5.3.0 + +

    + Colored links can also be modified by our + link utilities. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <p><a href="#" class="link-primary link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Primary link</a></p>
    +<p><a href="#" class="link-secondary link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Secondary link</a></p>
    +<p><a href="#" class="link-success link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Success link</a></p>
    +<p><a href="#" class="link-danger link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Danger link</a></p>
    +<p><a href="#" class="link-warning link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Warning link</a></p>
    +<p><a href="#" class="link-info link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Info link</a></p>
    +<p><a href="#" class="link-light link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Light link</a></p>
    +<p><a href="#" class="link-dark link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Dark link</a></p>
    +<p><a href="#" class="link-body-emphasis link-offset-2 link-underline-opacity-25 link-underline-opacity-75-hover">Emphasis link</a></p>
    +
    +
    +
    +
    +
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/helpers/focus-ring/index.html b/helpers/focus-ring/index.html new file mode 100644 index 0000000..6ebd329 --- /dev/null +++ b/helpers/focus-ring/index.html @@ -0,0 +1,2317 @@ + + + + + + + + + + + + + + + Focus ring · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +
    + Added in v5.3 + View on GitHub + +
    +

    Focus ring

    +
    +

    + Utility classes that allows you to add and modify custom focus ring + styles to elements and components. +

    +
    + +
    + + On this page +
    +
    + +
    +
    + +
    +

    + The .focus-ring helper removes the default + outline on :focus, replacing it with a + box-shadow that can be more broadly customized. The new + shadow is made up of a series of CSS variables, inherited from the + :root level, that can be modified for any element or + component. +

    +

    + Example + +

    +

    + Click directly on the link below to see the focus ring in action, or + into the example below and then press Tab. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a href="#" class="d-inline-flex focus-ring py-1 px-2 text-decoration-none border rounded-2">
    +  Custom focus ring
    +</a>
    +
    +
    + +

    + Customize + +

    +

    + Modify the styling of a focus ring with our CSS variables, Sass + variables, utilities, or custom styles. +

    +

    + CSS variables + +

    +

    + Modify the --bs-focus-ring-* CSS variables as needed to + change the default appearance. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a href="#" class="d-inline-flex focus-ring py-1 px-2 text-decoration-none border rounded-2" style="--bs-focus-ring-color: rgba(var(--bs-success-rgb), .25)">
    +  Green focus ring
    +</a>
    +
    +
    + +

    + .focus-ring sets styles via global CSS variables that + can be overridden on any parent element, as shown above. These + variables are generated from their Sass variable counterparts. +

    +
    +
    + scss/_root.scss +
    + +
    +
    +
    +
    --#{$prefix}focus-ring-width: #{$focus-ring-width};
    +--#{$prefix}focus-ring-opacity: #{$focus-ring-opacity};
    +--#{$prefix}focus-ring-color: #{$focus-ring-color};
    +
    +
    +

    + By default, there is no --bs-focus-ring-x, + --bs-focus-ring-y, or + --bs-focus-ring-blur, but we provide CSS variables with + fallbacks to initial 0 values. Modify them to change + the default appearance. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a href="#" class="d-inline-flex focus-ring py-1 px-2 text-decoration-none border rounded-2" style="--bs-focus-ring-x: 10px; --bs-focus-ring-y: 10px; --bs-focus-ring-blur: 4px">
    +  Blurry offset focus ring
    +</a>
    +
    +
    + +

    + Sass + +

    +

    + Customize the focus ring Sass variables to modify all usage of the + focus ring styles across your Bootstrap-powered project. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $focus-ring-width:      .25rem;
    +$focus-ring-opacity:    .25;
    +$focus-ring-color:      rgba($primary, $focus-ring-opacity);
    +$focus-ring-blur:       0;
    +$focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color;
    +
    +
    +
    +

    + Utilities + +

    +

    + In addition to .focus-ring, we have several + .focus-ring-* utilities to modify the helper class + defaults. Modify the color with any of our + theme colors. Note that the light and dark variants may not be visible on all + background colors given current color mode support. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <p><a href="#" class="d-inline-flex focus-ring focus-ring-primary py-1 px-2 text-decoration-none border rounded-2">Primary focus</a></p>
    +<p><a href="#" class="d-inline-flex focus-ring focus-ring-secondary py-1 px-2 text-decoration-none border rounded-2">Secondary focus</a></p>
    +<p><a href="#" class="d-inline-flex focus-ring focus-ring-success py-1 px-2 text-decoration-none border rounded-2">Success focus</a></p>
    +<p><a href="#" class="d-inline-flex focus-ring focus-ring-danger py-1 px-2 text-decoration-none border rounded-2">Danger focus</a></p>
    +<p><a href="#" class="d-inline-flex focus-ring focus-ring-warning py-1 px-2 text-decoration-none border rounded-2">Warning focus</a></p>
    +<p><a href="#" class="d-inline-flex focus-ring focus-ring-info py-1 px-2 text-decoration-none border rounded-2">Info focus</a></p>
    +<p><a href="#" class="d-inline-flex focus-ring focus-ring-light py-1 px-2 text-decoration-none border rounded-2">Light focus</a></p>
    +<p><a href="#" class="d-inline-flex focus-ring focus-ring-dark py-1 px-2 text-decoration-none border rounded-2">Dark focus</a></p>
    +
    +
    + +

    + Focus ring utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "focus-ring": (
    +  css-var: true,
    +  css-variable-name: focus-ring-color,
    +  class: focus-ring,
    +  values: map-loop($theme-colors-rgb, rgba-css-var, "$key", "focus-ring")
    +),
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + diff --git a/helpers/icon-link/index.html b/helpers/icon-link/index.html new file mode 100644 index 0000000..c325952 --- /dev/null +++ b/helpers/icon-link/index.html @@ -0,0 +1,2329 @@ + + + + + + + + + + + + + + + Icon link · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +
    + Added in v5.3 + View on GitHub + +
    +

    Icon link

    +
    +

    + Quickly create stylized hyperlinks with Bootstrap Icons or other + icons. +

    +
    + +
    + + On this page +
    + +
    + +
    +

    + The icon link helper component modifies our default link styles to + enhance their appearance and quickly align any pairing of icon and + text. Alignment is set via inline flexbox styling and a default + gap value. We stylize the underline with a custom + offset and color. Icons are automatically sized to + 1em to best match their associated text’s + font-size. +

    +

    + Icon links assume + Bootstrap Icons are + being used, but you can use any icon or image you like. +

    +
    + When icons are purely decorative, they should be hidden from + assistive technologies using + aria-hidden="true", as we’ve done in + our examples. For icons that convey meaning, provide an appropriate + text alternative by adding role="img" and an + appropriate aria-label="..." to the SVGs. +
    + +

    + Example + +

    +

    + Take a regular <a> element, add + .icon-link, and insert an icon on either the left or + right of your link text. The icon is automatically sized, placed, + and colored. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a class="icon-link" href="#">
    +  <svg class="bi" aria-hidden="true"><use xlink:href="#box-seam"></use></svg>
    +  Icon link
    +</a>
    +
    +
    + +
    + +
    + html +
    + + +
    +
    +
    +
    <a class="icon-link" href="#">
    +  Icon link
    +  <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
    +</a>
    +
    +
    + +

    + Style on hover + +

    +

    + Add .icon-link-hover to move the icon to the right on + hover. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a class="icon-link icon-link-hover" href="#">
    +  Icon link
    +  <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
    +</a>
    +
    +
    + +

    + Customize + +

    +

    + Modify the styling of an icon link with our link CSS variables, Sass + variables, utilities, or custom styles. +

    +

    + CSS variables + +

    +

    + Modify the --bs-link-* and + --bs-icon-link-* CSS variables as needed to change the + default appearance. +

    +

    + Customize the hover transform by overriding the + --bs-icon-link-transform CSS variable: +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a class="icon-link icon-link-hover" style="--bs-icon-link-transform: translate3d(0, -.125rem, 0);" href="#">
    +  <svg class="bi" aria-hidden="true"><use xlink:href="#clipboard"></use></svg>
    +  Icon link
    +</a>
    +
    +
    + +

    + Customize the color by overriding the --bs-link-* CSS + variable: +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a class="icon-link icon-link-hover" style="--bs-link-hover-color-rgb: 25, 135, 84;" href="#">
    +  Icon link
    +  <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
    +</a>
    +
    +
    + +

    + Sass + +

    +

    + Customize the icon link Sass variables to modify all icon link + styles across your Bootstrap-powered project. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $icon-link-gap:               .375rem;
    +$icon-link-underline-offset:  .25em;
    +$icon-link-icon-size:         1em;
    +$icon-link-icon-transition:   .2s ease-in-out transform;
    +$icon-link-icon-transform:    translate3d(.25em, 0, 0);
    +
    +
    +
    +

    + Utilities + +

    +

    + Modify icon links with any of + our link utilities for + modifying underline color and offset. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a class="icon-link icon-link-hover link-success link-underline-success link-underline-opacity-25" href="#">
    +  Icon link
    +  <svg class="bi" aria-hidden="true"><use xlink:href="#arrow-right"></use></svg>
    +</a>
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + diff --git a/helpers/position/index.html b/helpers/position/index.html index f1895be..a4b0ca9 100644 --- a/helpers/position/index.html +++ b/helpers/position/index.html @@ -1,471 +1,2005 @@ - - + + + + + + + + + + + + - - - - - - - + Position · Bootstrap v5.3 - - + -Position · Bootstrap v5.1 + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + +
    + + + + +
    + + + + + + + + + + + + +
    +
    +
    + +

    Position

    +
    +

    + Use these helpers for quickly configuring the position of an + element. +

    +
    -
    - - -

    Fixed top

    -

    Position an element at the top of the viewport, from edge to edge. Be sure you understand the ramifications of fixed position in your project; you may need to add additional CSS.

    -
    <div class="fixed-top">...</div>
    -

    Fixed bottom

    -

    Position an element at the bottom of the viewport, from edge to edge. Be sure you understand the ramifications of fixed position in your project; you may need to add additional CSS.

    -
    <div class="fixed-bottom">...</div>
    -

    Sticky top

    -

    Position an element at the top of the viewport, from edge to edge, but only after you scroll past it. The .sticky-top utility uses CSS’s position: sticky, which isn’t fully supported in all browsers.

    -
    <div class="sticky-top">...</div>
    -

    Responsive sticky top

    -

    Responsive variations also exist for .sticky-top utility.

    -
    <div class="sticky-sm-top">Stick to the top on viewports sized SM (small) or wider</div>
    -<div class="sticky-md-top">Stick to the top on viewports sized MD (medium) or wider</div>
    -<div class="sticky-lg-top">Stick to the top on viewports sized LG (large) or wider</div>
    -<div class="sticky-xl-top">Stick to the top on viewports sized XL (extra-large) or wider</div>
    -
    -
    -
    - +
    + + On this page +
    + +
    +
    +

    + Fixed top + +

    +

    + Position an element at the top of the viewport, from edge to edge. + Be sure you understand the ramifications of fixed position in your + project; you may need to add additional CSS. +

    +
    +
    <div class="fixed-top">...</div>
    +
    +
    +

    + Fixed bottom + +

    +

    + Position an element at the bottom of the viewport, from edge to + edge. Be sure you understand the ramifications of fixed position in + your project; you may need to add additional CSS. +

    +
    +
    <div class="fixed-bottom">...</div>
    +
    +
    +

    + Sticky top + +

    +

    + Position an element at the top of the viewport, from edge to edge, + but only after you scroll past it. +

    +
    +
    <div class="sticky-top">...</div>
    +
    +
    +

    + Responsive sticky top + +

    +

    + Responsive variations also exist for + .sticky-top utility. +

    +
    +
    <div class="sticky-sm-top">Stick to the top on viewports sized SM (small) or wider</div>
    +<div class="sticky-md-top">Stick to the top on viewports sized MD (medium) or wider</div>
    +<div class="sticky-lg-top">Stick to the top on viewports sized LG (large) or wider</div>
    +<div class="sticky-xl-top">Stick to the top on viewports sized XL (extra-large) or wider</div>
    +<div class="sticky-xxl-top">Stick to the top on viewports sized XXL (extra-extra-large) or wider</div>
    +
    +
    +

    + Sticky bottom + +

    +

    + Position an element at the bottom of the viewport, from edge to + edge, but only after you scroll past it. +

    +
    +
    <div class="sticky-bottom">...</div>
    +
    +
    +

    + Responsive sticky bottom + +

    +

    + Responsive variations also exist for + .sticky-bottom utility. +

    +
    +
    <div class="sticky-sm-bottom">Stick to the bottom on viewports sized SM (small) or wider</div>
    +<div class="sticky-md-bottom">Stick to the bottom on viewports sized MD (medium) or wider</div>
    +<div class="sticky-lg-bottom">Stick to the bottom on viewports sized LG (large) or wider</div>
    +<div class="sticky-xl-bottom">Stick to the bottom on viewports sized XL (extra-large) or wider</div>
    +<div class="sticky-xxl-bottom">Stick to the bottom on viewports sized XXL (extra-extra-large) or wider</div>
    +
    +
    +
    + + - + - + + + - + - + + + + diff --git a/helpers/ratio/index.html b/helpers/ratio/index.html index 9afc7ca..0988f3b 100644 --- a/helpers/ratio/index.html +++ b/helpers/ratio/index.html @@ -1,532 +1,2222 @@ - - - - - - - - - - - - - - - -Ratios · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Ratios · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Ratios

    +
    +

    + Use generated pseudo elements to make an element maintain the aspect + ratio of your choosing. Perfect for responsively handling video or + slideshow embeds based on the width of the parent. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Ratios

    +
    + + On this page +
    +
    -

    Use generated pseudo elements to make an element maintain the aspect ratio of your choosing. Perfect for responsively handling video or slideshow embeds based on the width of the parent.

    - -
    - - -
    - On this page - +
    +

    + About + +

    +

    + Use the ratio helper to manage the aspect ratios of external content + like <iframe>s, <embed>s, + <video>s, and <object>s. These + helpers also can be used on any standard HTML child element (e.g., a + <div> or <img>). Styles are + applied from the parent .ratio class directly to the + child. +

    +

    + Aspect ratios are declared in a Sass map and included in each class + via CSS variable, which also allows + custom aspect ratios. +

    +
    + Pro-Tip! You don’t need + frameborder="0" on your + <iframe>s as we override that for you in + Reboot. +
    + +

    + Example + +

    +

    + Wrap any embed, like an <iframe>, in a parent + element with .ratio and an aspect ratio class. The + immediate child element is automatically sized thanks to our + universal selector .ratio > *. +

    +
    +
    +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="ratio ratio-16x9">
    +  <iframe src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" title="YouTube video" allowfullscreen></iframe>
    +</div>
    +
    +
    + +

    + Aspect ratios + +

    +

    + Aspect ratios can be customized with modifier classes. By default + the following ratio classes are provided: +

    +
    +
    +
    +
    1x1
    +
    +
    +
    4x3
    +
    +
    +
    16x9
    +
    +
    +
    21x9
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="ratio ratio-1x1">
    +  <div>1x1</div>
    +</div>
    +<div class="ratio ratio-4x3">
    +  <div>4x3</div>
    +</div>
    +<div class="ratio ratio-16x9">
    +  <div>16x9</div>
    +</div>
    +<div class="ratio ratio-21x9">
    +  <div>21x9</div>
    +</div>
    +
    +
    + +

    + Custom ratios + +

    +

    + Each .ratio-* class includes a CSS custom property (or + CSS variable) in the selector. You can override this CSS variable to + create custom aspect ratios on the fly with some quick math on your + part. +

    +

    + For example, to create a 2x1 aspect ratio, set + --bs-aspect-ratio: 50% on the .ratio. +

    +
    +
    +
    +
    2x1
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="ratio" style="--bs-aspect-ratio: 50%;">
    +  <div>2x1</div>
    +</div>
    +
    +
    + +

    + This CSS variable makes it easy to modify the aspect ratio across + breakpoints. The following is 4x3 to start, but changes to a custom + 2x1 at the medium breakpoint. +

    +
    +
    .ratio-4x3 {
    +  @include media-breakpoint-up(md) {
    +    --bs-aspect-ratio: 50%; // 2x1
    +  }
    +}
    +
    +
    +
    +
    +
    +
    4x3, then 2x1
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="ratio ratio-4x3">
    +  <div>4x3, then 2x1</div>
    +</div>
    +
    +
    + +

    + Sass map + +

    +

    + Within _variables.scss, you can change the aspect + ratios you want to use. Here’s our default + $ratio-aspect-ratios map. Modify the map as you like + and recompile your Sass to put them to use. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $aspect-ratios: (
    +  "1x1": 100%,
    +  "4x3": calc(3 / 4 * 100%),
    +  "16x9": calc(9 / 16 * 100%),
    +  "21x9": calc(9 / 21 * 100%)
    +);
    +
    +
    +
    +
    +
    - -
    - - -

    About

    -

    Use the ratio helper to manage the aspect ratios of external content like <iframe>s, <embed>s, <video>s, and <object>s. These helpers also can be used on any standard HTML child element (e.g., a <div> or <img>). Styles are applied from the parent .ratio class directly to the child.

    -

    Aspect ratios are declared in a Sass map and included in each class via CSS variable, which also allows custom aspect ratios.

    -
    -Pro-Tip! You don’t need frameborder="0" on your <iframe>s as we override that for you in Reboot. -
    - -

    Example

    -

    Wrap any embed, like an <iframe>, in a parent element with .ratio and an aspect ratio class. The immediate child element is automatically sized thanks to our universal selector .ratio > *.

    -
    -
    - -
    -
    <div class="ratio ratio-16x9">
    -  <iframe src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" title="YouTube video" allowfullscreen></iframe>
    -</div>
    -

    Aspect ratios

    -

    Aspect ratios can be customized with modifier classes. By default the following ratio classes are provided:

    -
    -
    -
    1x1
    -
    -
    -
    4x3
    -
    -
    -
    16x9
    -
    -
    -
    21x9
    -
    -
    <div class="ratio ratio-1x1">
    -  <div>1x1</div>
    -</div>
    -<div class="ratio ratio-4x3">
    -  <div>4x3</div>
    -</div>
    -<div class="ratio ratio-16x9">
    -  <div>16x9</div>
    -</div>
    -<div class="ratio ratio-21x9">
    -  <div>21x9</div>
    -</div>
    -

    Custom ratios

    -

    Each .ratio-* class includes a CSS custom property (or CSS variable) in the selector. You can override this CSS variable to create custom aspect ratios on the fly with some quick math on your part.

    -

    For example, to create a 2x1 aspect ratio, set --bs-aspect-ratio: 50% on the .ratio.

    -
    -
    -
    2x1
    -
    -
    <div class="ratio" style="--bs-aspect-ratio: 50%;">
    -  <div>2x1</div>
    -</div>
    -

    This CSS variable makes it easy to modify the aspect ratio across breakpoints. The following is 4x3 to start, but changes to a custom 2x1 at the medium breakpoint.

    -
    .ratio-4x3 {
    -  @include media-breakpoint-up(md) {
    -    --bs-aspect-ratio: 50%; // 2x1
    -  }
    -}
    -
    -
    -
    4x3, then 2x1
    -
    -
    <div class="ratio ratio-4x3">
    -  <div>4x3, then 2x1</div>
    -</div>
    -

    Sass map

    -

    Within _variables.scss, you can change the aspect ratios you want to use. Here’s our default $ratio-aspect-ratios map. Modify the map as you like and recompile your Sass to put them to use.

    -
    $aspect-ratios: (
    -  "1x1": 100%,
    -  "4x3": calc(3 / 4 * 100%),
    -  "16x9": calc(9 / 16 * 100%),
    -  "21x9": calc(9 / 21 * 100%)
    -);
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/helpers/stacks/index.html b/helpers/stacks/index.html index 04445be..0d61e44 100644 --- a/helpers/stacks/index.html +++ b/helpers/stacks/index.html @@ -1,553 +1,2286 @@ - - - - - - - - - - - - - - - -Stacks · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Stacks · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +
    + Added in v5.1 + View on GitHub + +
    +

    Stacks

    +
    +

    + Shorthand helpers that build on top of our flexbox utilities to make + component layout faster and easier than ever. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Stacks

    +
    + + On this page +
    +
    + +
    -

    Shorthand helpers that build on top of our flexbox utilities to make component layout faster and easier than ever.

    - -
    - - -
    - On this page - +
    +

    + Stacks offer a shortcut for applying a number of flexbox properties + to quickly and easily create layouts in Bootstrap. All credit for + the concept and implementation goes to the open source + Pylon project. +

    +
    + Heads up! Support for gap utilities with flexbox was recently added + to Safari, so consider verifying your intended browser support. Grid + layout should have no issues. + Read more. +
    + +

    + Vertical + +

    +

    + Use .vstack to create vertical layouts. Stacked items + are full-width by default. Use .gap-* utilities to add + space between items. +

    +
    +
    +
    +
    First item
    +
    Second item
    +
    Third item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="vstack gap-3">
    +  <div class="p-2">First item</div>
    +  <div class="p-2">Second item</div>
    +  <div class="p-2">Third item</div>
    +</div>
    +
    +
    + +

    + Horizontal + +

    +

    + Use .hstack for horizontal layouts. Stacked items are + vertically centered by default and only take up their necessary + width. Use .gap-* utilities to add space between items. +

    +
    +
    +
    +
    First item
    +
    Second item
    +
    Third item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="hstack gap-3">
    +  <div class="p-2">First item</div>
    +  <div class="p-2">Second item</div>
    +  <div class="p-2">Third item</div>
    +</div>
    +
    +
    + +

    + Using horizontal margin utilities like .ms-auto as + spacers: +

    +
    +
    +
    +
    First item
    +
    Second item
    +
    Third item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="hstack gap-3">
    +  <div class="p-2">First item</div>
    +  <div class="p-2">Second item</div>
    +  <div class="p-2">Third item</div>
    +</div>
    +
    +
    + +

    + And with vertical rules: +

    +
    +
    +
    +
    First item
    +
    Second item
    +
    +
    Third item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="hstack gap-3">
    +  <div class="p-2">First item</div>
    +  <div class="p-2">Second item</div>
    +  <div class="vr"></div>
    +  <div class="p-2">Third item</div>
    +</div>
    +
    +
    + +

    + Examples + +

    +

    Use .vstack to stack buttons and other elements:

    +
    +
    +
    + + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="vstack gap-2 col-md-5 mx-auto">
    +  <button type="button" class="btn btn-secondary">Save changes</button>
    +  <button type="button" class="btn btn-outline-secondary">Cancel</button>
    +</div>
    +
    +
    + +

    Create an inline form with .hstack:

    +
    +
    +
    + + +
    + +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="hstack gap-3">
    +  <input class="form-control me-auto" type="text" placeholder="Add your item here..." aria-label="Add your item here...">
    +  <button type="button" class="btn btn-secondary">Submit</button>
    +  <div class="vr"></div>
    +  <button type="button" class="btn btn-outline-danger">Reset</button>
    +</div>
    +
    +
    + +

    + CSS + +

    +
    +
    + scss/helpers/_stacks.scss +
    + +
    +
    +
    +
    .hstack {
    +  display: flex;
    +  flex-direction: row;
    +  align-items: center;
    +  align-self: stretch;
    +}
    +
    +.vstack {
    +  display: flex;
    +  flex: 1 1 auto;
    +  flex-direction: column;
    +  align-self: stretch;
    +}
    +
    +
    +
    +
    +
    - -
    - - -

    Stacks offer a shortcut for applying a number of flexbox properties to quickly and easily create layouts in Bootstrap. All credit for the concept and implementation goes to the open source Pylon project.

    -
    -Heads up! Support for gap utilities with flexbox was recently added to Safari, so consider verifying your intended browser support. Grid layout should have no issues. Read more. -
    - -

    Vertical

    -

    Use .vstack to create vertical layouts. Stacked items are full-width by default. Use .gap-* utilities to add space between items.

    -
    -
    -
    First item
    -
    Second item
    -
    Third item
    -
    -
    <div class="vstack gap-3">
    -  <div class="bg-light border">First item</div>
    -  <div class="bg-light border">Second item</div>
    -  <div class="bg-light border">Third item</div>
    -</div>
    -

    Horizontal

    -

    Use .hstack for horizontal layouts. Stacked items are vertically centered by default and only take up their necessary width. Use .gap-* utilities to add space between items.

    -
    -
    -
    First item
    -
    Second item
    -
    Third item
    -
    -
    <div class="hstack gap-3">
    -  <div class="bg-light border">First item</div>
    -  <div class="bg-light border">Second item</div>
    -  <div class="bg-light border">Third item</div>
    -</div>
    -

    Using horizontal margin utilities like .ms-auto as spacers:

    -
    -
    -
    First item
    -
    Second item
    -
    Third item
    -
    -
    <div class="hstack gap-3">
    -  <div class="bg-light border">First item</div>
    -  <div class="bg-light border ms-auto">Second item</div>
    -  <div class="bg-light border">Third item</div>
    -</div>
    -

    And with vertical rules:

    -
    -
    -
    First item
    -
    Second item
    -
    -
    Third item
    -
    -
    <div class="hstack gap-3">
    -  <div class="bg-light border">First item</div>
    -  <div class="bg-light border ms-auto">Second item</div>
    -  <div class="vr"></div>
    -  <div class="bg-light border">Third item</div>
    -</div>
    -

    Examples

    -

    Use .vstack to stack buttons and other elements:

    -
    -
    - - -
    -
    <div class="vstack gap-2 col-md-5 mx-auto">
    -  <button type="button" class="btn btn-secondary">Save changes</button>
    -  <button type="button" class="btn btn-outline-secondary">Cancel</button>
    -</div>
    -

    Create an inline form with .hstack:

    -
    -
    - - -
    - -
    -
    <div class="hstack gap-3">
    -  <input class="form-control me-auto" type="text" placeholder="Add your item here..." aria-label="Add your item here...">
    -  <button type="button" class="btn btn-secondary">Submit</button>
    -  <div class="vr"></div>
    -  <button type="button" class="btn btn-outline-danger">Reset</button>
    -</div>
    -

    Sass

    -
    .hstack {
    -  display: flex;
    -  flex-direction: row;
    -  align-items: center;
    -  align-self: stretch;
    -}
    -
    -.vstack {
    -  display: flex;
    -  flex: 1 1 auto;
    -  flex-direction: column;
    -  align-self: stretch;
    -}
    -
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/helpers/stretched-link/index.html b/helpers/stretched-link/index.html index 3bc295e..0de065f 100644 --- a/helpers/stretched-link/index.html +++ b/helpers/stretched-link/index.html @@ -1,542 +1,2230 @@ - - - - - - - - - - - - - - - -Stretched link · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Stretched link · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Stretched link

    +
    +

    + Make any HTML element or Bootstrap component clickable by + “stretching” a nested link via CSS. +

    - -
  • - - -
    -
      -
    • Overview
    • -
    • Team
    • -
    • Brand
    • -
    • License
    • -
    • Translations
    • + +
      +

      + Add .stretched-link to a link to make its + containing block + clickable via a ::after pseudo element. In most cases, + this means that an element with + position: relative; that contains a link with the + .stretched-link class is clickable. Please note given + how CSS position works, .stretched-link cannot be mixed with most table + elements. +

      +

      + Cards have position: relative by default in Bootstrap, + so in this case you can safely add the + .stretched-link class to a link in the card without any + other HTML changes. +

      +

      + Multiple links and tap targets are not recommended with stretched + links. However, some position and + z-index styles can help should this be required. +

      +
      +
      +
      + + Card image cap + + +
      +
      Card with stretched link
      +

      + Some quick example text to build on the card title and make + up the bulk of the card's content. +

      + Go somewhere +
      +
      +
      +
      + html +
      + + +
      +
      +
      +
      <div class="card" style="width: 18rem;">
      +  <img src="..." class="card-img-top" alt="...">
      +  <div class="card-body">
      +    <h5 class="card-title">Card with stretched link</h5>
      +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
      +    <a href="#" class="btn btn-primary stretched-link">Go somewhere</a>
      +  </div>
      +</div>
      +
      +
      + +

      + Most custom components do not have + position: relative by default, so we need to add the + .position-relative here to prevent the link from + stretching outside the parent element. +

      +
      +
      +
      + + Generic placeholder image + + +
      +
      Custom component with stretched link
      +

      + This is some placeholder content for the custom component. + It is intended to mimic what some real-world content would + look like, and we're using it here to give the component a + bit of body and size. +

      + Go somewhere +
      +
      +
      +
      + html +
      + + +
      +
      +
      +
      <div class="d-flex position-relative">
      +  <img src="..." class="flex-shrink-0 me-3" alt="...">
      +  <div>
      +    <h5 class="mt-0">Custom component with stretched link</h5>
      +    <p>This is some placeholder content for the custom component. It is intended to mimic what some real-world content would look like, and we're using it here to give the component a bit of body and size.</p>
      +    <a href="#" class="stretched-link">Go somewhere</a>
      +  </div>
      +</div>
      +
      +
      + +
      +
      +
      +
      + + Generic placeholder image + + +
      +
      +
      Columns with stretched link
      +

      + Another instance of placeholder content for this other + custom component. It is intended to mimic what some + real-world content would look like, and we're using it here + to give the component a bit of body and size. +

      + Go somewhere +
      +
      +
      +
      + html +
      + + +
      +
      +
      +
      <div class="row g-0 bg-body-secondary position-relative">
      +  <div class="col-md-6 mb-md-0 p-md-4">
      +    <img src="..." class="w-100" alt="...">
      +  </div>
      +  <div class="col-md-6 p-4 ps-md-0">
      +    <h5 class="mt-0">Columns with stretched link</h5>
      +    <p>Another instance of placeholder content for this other custom component. It is intended to mimic what some real-world content would look like, and we're using it here to give the component a bit of body and size.</p>
      +    <a href="#" class="stretched-link">Go somewhere</a>
      +  </div>
      +</div>
      +
      +
      + +

      + Identifying the containing block + +

      +

      + If the stretched link doesn’t seem to work, the + containing block + will probably be the cause. The following CSS properties will make + an element the containing block: +

      +
        +
      • + A position value other than static +
      • +
      • + A transform or perspective value other + than none +
      • +
      • + A will-change value of transform or + perspective +
      • +
      • + A filter value other than none or a + will-change value of filter (only works + on Firefox) +
      +
      +
      +
      + + Card image cap + + +
      +
      Card with stretched links
      +

      + Some quick example text to build on the card title and make + up the bulk of the card's content. +

      +

      + Stretched link will not work here, because + position: relative is added to the link +

      +

      + This + stretched link + will only be spread over the p-tag, because a + transform is applied to it. +

      +
      +
      +
      +
      + html +
      + + +
      +
      +
      +
      <div class="card" style="width: 18rem;">
      +  <img src="..." class="card-img-top" alt="...">
      +  <div class="card-body">
      +    <h5 class="card-title">Card with stretched links</h5>
      +    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
      +    <p class="card-text">
      +      <a href="#" class="stretched-link text-danger" style="position: relative;">Stretched link will not work here, because <code>position: relative</code> is added to the link</a>
      +    </p>
      +    <p class="card-text bg-body-tertiary" style="transform: rotate(0);">
      +      This <a href="#" class="text-warning stretched-link">stretched link</a> will only be spread over the <code>p</code>-tag, because a transform is applied to it.
      +    </p>
      +  </div>
      +</div>
      +
      +
      - -
    • -
    • - - Migration - -
    • -
    - - - +
  • +
    -
    -
    -
    - View on GitHub -

    Stretched link

    + + + + + + + + + + + + -
    - - - - - - - - - - - - - + diff --git a/helpers/text-truncation/index.html b/helpers/text-truncation/index.html index 59c2c5e..303f7ab 100644 --- a/helpers/text-truncation/index.html +++ b/helpers/text-truncation/index.html @@ -1,468 +1,1924 @@ - - - - - - - - - - - - - - - -Text truncation · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Text truncation · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Text truncation

    +
    +

    Truncate long strings of text with an ellipsis.

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Text truncation

    +
    +

    + For longer content, you can add a .text-truncate class + to truncate the text with an ellipsis. + Requires display: inline-block or + display: block. +

    +
    +
    + +
    +
    + This text is quite long, and will be truncated once displayed. +
    +
    + + + + This text is quite long, and will be truncated once displayed. + +
    +
    + html +
    + + +
    +
    +
    +
    <!-- Block level -->
    +<div class="row">
    +  <div class="col-2 text-truncate">
    +    This text is quite long, and will be truncated once displayed.
    +  </div>
    +</div>
    +
    +<!-- Inline level -->
    +<span class="d-inline-block text-truncate" style="max-width: 150px;">
    +  This text is quite long, and will be truncated once displayed.
    +</span>
    +
    +
    -

    Truncate long strings of text with an ellipsis.

    - - -
    - - - -
    - - -

    For longer content, you can add a .text-truncate class to truncate the text with an ellipsis. Requires display: inline-block or display: block.

    -
    - -
    -
    - This text is quite long, and will be truncated once displayed. -
    -
    - - - - This text is quite long, and will be truncated once displayed. - -
    <!-- Block level -->
    -<div class="row">
    -  <div class="col-2 text-truncate">
    -    This text is quite long, and will be truncated once displayed.
    -  </div>
    -</div>
    -
    -<!-- Inline level -->
    -<span class="d-inline-block text-truncate" style="max-width: 150px;">
    -  This text is quite long, and will be truncated once displayed.
    -</span>
    +
    +
    +
    - - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/helpers/vertical-rule/index.html b/helpers/vertical-rule/index.html index 0c15fa3..a388c75 100644 --- a/helpers/vertical-rule/index.html +++ b/helpers/vertical-rule/index.html @@ -1,490 +1,2057 @@ - - + + + + + + + + + + + + - - - - - - - + Vertical rule · Bootstrap v5.3 - - + + -Vertical rule · Bootstrap v5.1 + - + + + + + + + + + + + - - + + + + + + - + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + -
    - + + + +
    + + + + + + + + + + + + + + + +
    +
    +
    +
    + Added in v5.1 + View on GitHub + +
    +

    Vertical rule

    +
    +

    + Use the custom vertical rule helper to create vertical dividers like + the <hr> element. +

    +
    -
    - - -

    How it works

    -

    Vertical rules are inspired by the <hr> element, allowing you to create vertical dividers in common layouts. They’re styled just like <hr> elements:

    -
      -
    • They’re 1px wide
    • -
    • They have min-height of 1em
    • -
    • Their color is set via currentColor and opacity
    • -
    -

    Customize them with additional styles as needed.

    -

    Example

    -
    -
    -
    <div class="vr"></div>
    -

    Vertical rules scale their height in flex layouts:

    -
    -
    -
    -
    -
    <div class="d-flex" style="height: 200px;">
    -  <div class="vr"></div>
    -</div>
    -

    With stacks

    -

    They can also be used in stacks:

    -
    -
    -
    First item
    -
    Second item
    -
    -
    Third item
    -
    -
    <div class="hstack gap-3">
    -  <div class="bg-light border">First item</div>
    -  <div class="bg-light border ms-auto">Second item</div>
    -  <div class="vr"></div>
    -  <div class="bg-light border">Third item</div>
    -</div>
    +
    + + On this page +
    +
    + +
    +
    -
    -
    - +
    +

    + How it works + +

    +

    + Vertical rules are inspired by the <hr> element, + allowing you to create vertical dividers in common layouts. + They’re styled just like <hr> elements: +

    +
      +
    • They’re 1px wide
    • +
    • They have min-height of 1em
    • +
    • + Their color is set via currentColor and + opacity +
    • +
    +

    Customize them with additional styles as needed.

    +

    + Example + +

    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="vr"></div>
    +
    +
    +

    Vertical rules scale their height in flex layouts:

    +
    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex" style="height: 200px;">
    +  <div class="vr"></div>
    +</div>
    +
    +
    -
    - - + + - + + - + + + + + + diff --git a/helpers/visually-hidden/index.html b/helpers/visually-hidden/index.html index d41ceb7..59fd400 100644 --- a/helpers/visually-hidden/index.html +++ b/helpers/visually-hidden/index.html @@ -1,462 +1,1935 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Visually hidden · Bootstrap v5.3 -Visually hidden · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + + + + + + + + + + + +
    +
    +
    + +

    Visually hidden

    +
    +

    + Use these helpers to visually hide elements but keep them accessible + to assistive technologies. +

    +
    + +
    +

    + Visually hide an element while still allowing it to be exposed to + assistive technologies (such as screen readers) with + .visually-hidden. Use + .visually-hidden-focusable to visually hide an element + by default, but to display it when it’s focused (e.g. by a + keyboard-only user). .visually-hidden-focusable can + also be applied to a container–thanks to :focus-within, + the container will be displayed when any child element of the + container receives focus. +

    +
    +
    +

    Title for screen readers

    + Skip to main content +
    + A container with a focusable element. +
    +
    +
    + html +
    + + +
    +
    +
    +
    <h2 class="visually-hidden">Title for screen readers</h2>
    +<a class="visually-hidden-focusable" href="#content">Skip to main content</a>
    +<div class="visually-hidden-focusable">A container with a <a href="#">focusable element</a>.</div>
    +
    +
    + +

    + Both visually-hidden and + visually-hidden-focusable can also be used as mixins. +

    +
    +
    // Usage as a mixin
    +
    +.visually-hidden-title {
    +  @include visually-hidden;
    +}
    +
    +.skip-navigation {
    +  @include visually-hidden-focusable;
    +}
    +
    +
    +
    +
    - - - + + + + + - + - + + + + + diff --git a/index-main.html b/index-main.html deleted file mode 100644 index 5cbe832..0000000 --- a/index-main.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - - - - - - - - - - - -Bootstrap · The most popular HTML, CSS, and JS library in the world. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    -
    -
    -
    - Bootstrap -
    -
    -

    Build fast, responsive sites with Bootstrap

    -

    - Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins. -

    - - -

    - Currently v5.1.3 - · - v4.6.x docs - · - All releases -

    -
    -
    - - -
    -
    - -
    -
    -
    -
    - - - - -
    -

    Installation

    -

    - Install Bootstrap’s source Sass and JavaScript files via npm, Composer, or Meteor. -

    -

    Package managed installs don’t include documentation or our full build scripts. You can also use our npm template repo to quickly generate a Bootstrap project via npm.

    - Read installation docs -
    -
    -
    npm install bootstrap
    -
    gem install bootstrap -v 5.1.3
    -
    -
    - -
    -
    -
    - - - - -
    -

    jsDelivr

    -

    - When you only need to include Bootstrap’s compiled CSS or JS, you can use jsDelivr. -

    -

    - See it in action with our simple starter template, or browse the examples to jumpstart your next project. You can also choose to include Popper and our JS separately. -

    - Explore the docs -
    -
    -
    <!-- CSS only -->
    -<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
    -
    -
    <!-- JavaScript Bundle with Popper -->
    -<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
    -
    -
    -
    - -
    -
    -
    - - - - - -
    -

    Bootstrap Icons

    -

    - For the first time ever, Bootstrap has its own open source SVG icon library, designed to work best with our components and documentation. -

    -

    - Bootstrap Icons are designed to work best with Bootstrap components, but they’ll work in any project. They’re SVGs, so they scale quickly and easily, can be implemented in several ways, and can be styled with CSS. -

    - Get Bootstrap Icons -
    -
    - Bootstrap Icons -
    -
    - -
    -
    -
    - - - - -
    -

    Official Themes

    -

    - Take Bootstrap to the next level with premium themes from the official Bootstrap Themes marketplace. -

    -

    - Themes are built on Bootstrap as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools. -

    - Browse themes -
    -
    - Bootstrap Themes -
    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - - diff --git a/index.html b/index.html index cd0e2ea..a1d39b5 100644 --- a/index.html +++ b/index.html @@ -1,17 +1,17 @@ - - - + + + - https://getbootstrap.com/docs/5.1/getting-started/introduction/ + https://getbootstrap.com/docs/5.3/getting-started/introduction/ - + diff --git a/layout/breakpoints/index.html b/layout/breakpoints/index.html index 7efde5d..ae51e10 100644 --- a/layout/breakpoints/index.html +++ b/layout/breakpoints/index.html @@ -1,625 +1,2274 @@ - - - - - - - - - - - - - - - -Breakpoints · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Breakpoints · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Breakpoints

    +
    +

    + Breakpoints are customizable widths that determine how your + responsive layout behaves across device or viewport sizes in + Bootstrap. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Breakpoints

    +
    + + On this page +
    +
    -

    Breakpoints are customizable widths that determine how your responsive layout behaves across device or viewport sizes in Bootstrap.

    - -
    - - -
    - On this page - +
    +

    + Core concepts + +

    +
      +
    • +

      + Breakpoints are the building blocks of responsive + design. + Use them to control when your layout can be adapted at a + particular viewport or device size. +

      +
    • +
    • +

      + Use media queries to architect your CSS by + breakpoint. + Media queries are a feature of CSS that allow you to + conditionally apply styles based on a set of browser and + operating system parameters. We most commonly use + min-width in our media queries. +

      +
    • +
    • +

      + Mobile first, responsive design is the goal. + Bootstrap’s CSS aims to apply the bare minimum of styles + to make a layout work at the smallest breakpoint, and then + layers on styles to adjust that design for larger devices. This + optimizes your CSS, improves rendering time, and provides a + great experience for your visitors. +

      +
    • +
    +

    + Available breakpoints + +

    +

    + Bootstrap includes six default breakpoints, sometimes referred to as + grid tiers, for building responsively. These breakpoints + can be customized if you’re using our source Sass files. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    BreakpointClass infixDimensions
    Extra smallNone<576px
    Smallsm≥576px
    Mediummd≥768px
    Largelg≥992px
    Extra largexl≥1200px
    Extra extra largexxl≥1400px
    +
    + +

    + Each breakpoint was chosen to comfortably hold containers whose + widths are multiples of 12. Breakpoints are also representative of a + subset of common device sizes and viewport dimensions—they + don’t specifically target every use case or device. Instead, + the ranges provide a strong and consistent foundation to build on + for nearly any device. +

    +

    + These breakpoints are customizable via Sass—you’ll find them + in a Sass map in our _variables.scss stylesheet. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $grid-breakpoints: (
    +  xs: 0,
    +  sm: 576px,
    +  md: 768px,
    +  lg: 992px,
    +  xl: 1200px,
    +  xxl: 1400px
    +);
    +
    +
    +
    +

    + For more information and examples on how to modify our Sass maps and + variables, please refer to + the Sass section of the Grid documentation. +

    +

    + Media queries + +

    +

    + Since Bootstrap is developed to be mobile first, we use a handful of + media queries + to create sensible breakpoints for our layouts and interfaces. These + breakpoints are mostly based on minimum viewport widths and allow us + to scale up elements as the viewport changes. +

    +

    + Min-width + +

    +

    + Bootstrap primarily uses the following media query ranges—or + breakpoints—in our source Sass files for our layout, grid system, + and components. +

    +
    +
    // Source mixins
    +
    +// No media query necessary for xs breakpoint as it's effectively `@media (min-width: 0) { ... }`
    +@include media-breakpoint-up(sm) { ... }
    +@include media-breakpoint-up(md) { ... }
    +@include media-breakpoint-up(lg) { ... }
    +@include media-breakpoint-up(xl) { ... }
    +@include media-breakpoint-up(xxl) { ... }
    +
    +// Usage
    +
    +// Example: Hide starting at `min-width: 0`, and then show at the `sm` breakpoint
    +.custom-class {
    +  display: none;
    +}
    +@include media-breakpoint-up(sm) {
    +  .custom-class {
    +    display: block;
    +  }
    +}
    +
    +
    +

    + These Sass mixins translate in our compiled CSS using the values + declared in our Sass variables. For example: +

    +
    +
    // X-Small devices (portrait phones, less than 576px)
    +// No media query for `xs` since this is the default in Bootstrap
    +
    +// Small devices (landscape phones, 576px and up)
    +@media (min-width: 576px) { ... }
    +
    +// Medium devices (tablets, 768px and up)
    +@media (min-width: 768px) { ... }
    +
    +// Large devices (desktops, 992px and up)
    +@media (min-width: 992px) { ... }
    +
    +// X-Large devices (large desktops, 1200px and up)
    +@media (min-width: 1200px) { ... }
    +
    +// XX-Large devices (larger desktops, 1400px and up)
    +@media (min-width: 1400px) { ... }
    +
    +
    +

    + Max-width + +

    +

    + We occasionally use media queries that go in the other direction + (the given screen size or smaller): +

    +
    +
    // No media query necessary for xs breakpoint as it's effectively `@media (max-width: 0) { ... }`
    +@include media-breakpoint-down(sm) { ... }
    +@include media-breakpoint-down(md) { ... }
    +@include media-breakpoint-down(lg) { ... }
    +@include media-breakpoint-down(xl) { ... }
    +@include media-breakpoint-down(xxl) { ... }
    +
    +// Example: Style from medium breakpoint and down
    +@include media-breakpoint-down(md) {
    +  .custom-class {
    +    display: block;
    +  }
    +}
    +
    +
    +

    + These mixins take those declared breakpoints, subtract + .02px from them, and use them as our + max-width values. For example: +

    +
    +
    // `xs` returns only a ruleset and no media query
    +// ... { ... }
    +
    +// `sm` applies to x-small devices (portrait phones, less than 576px)
    +@media (max-width: 575.98px) { ... }
    +
    +// `md` applies to small devices (landscape phones, less than 768px)
    +@media (max-width: 767.98px) { ... }
    +
    +// `lg` applies to medium devices (tablets, less than 992px)
    +@media (max-width: 991.98px) { ... }
    +
    +// `xl` applies to large devices (desktops, less than 1200px)
    +@media (max-width: 1199.98px) { ... }
    +
    +// `xxl` applies to x-large devices (large desktops, less than 1400px)
    +@media (max-width: 1399.98px) { ... }
    +
    +
    +
    + Why subtract .02px? Browsers don’t currently + support + range context queries, so we work around the limitations of + min- and max- prefixes + and viewports with fractional widths (which can occur under certain + conditions on high-dpi devices, for instance) by using values with + higher precision. +
    + +

    + Single breakpoint + +

    +

    + There are also media queries and mixins for targeting a single + segment of screen sizes using the minimum and maximum breakpoint + widths. +

    +
    +
    @include media-breakpoint-only(xs) { ... }
    +@include media-breakpoint-only(sm) { ... }
    +@include media-breakpoint-only(md) { ... }
    +@include media-breakpoint-only(lg) { ... }
    +@include media-breakpoint-only(xl) { ... }
    +@include media-breakpoint-only(xxl) { ... }
    +
    +
    +

    + For example the + @include media-breakpoint-only(md) { ... } will result + in : +

    +
    +
    @media (min-width: 768px) and (max-width: 991.98px) { ... }
    +
    +
    +

    + Between breakpoints + +

    +

    Similarly, media queries may span multiple breakpoint widths:

    +
    +
    @include media-breakpoint-between(md, xl) { ... }
    +
    +
    +

    Which results in:

    +
    +
    // Example
    +// Apply styles starting from medium devices and up to extra large devices
    +@media (min-width: 768px) and (max-width: 1199.98px) { ... }
    +
    +
    +
    +
    - -
    - - -

    Core concepts

    -
      -
    • -

      Breakpoints are the building blocks of responsive design. Use them to control when your layout can be adapted at a particular viewport or device size.

      -
    • -
    • -

      Use media queries to architect your CSS by breakpoint. Media queries are a feature of CSS that allow you to conditionally apply styles based on a set of browser and operating system parameters. We most commonly use min-width in our media queries.

      -
    • -
    • -

      Mobile first, responsive design is the goal. Bootstrap’s CSS aims to apply the bare minimum of styles to make a layout work at the smallest breakpoint, and then layers on styles to adjust that design for larger devices. This optimizes your CSS, improves rendering time, and provides a great experience for your visitors.

      -
    • -
    -

    Available breakpoints

    -

    Bootstrap includes six default breakpoints, sometimes referred to as grid tiers, for building responsively. These breakpoints can be customized if you’re using our source Sass files.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    BreakpointClass infixDimensions
    X-SmallNone<576px
    Smallsm≥576px
    Mediummd≥768px
    Largelg≥992px
    Extra largexl≥1200px
    Extra extra largexxl≥1400px
    -

    Each breakpoint was chosen to comfortably hold containers whose widths are multiples of 12. Breakpoints are also representative of a subset of common device sizes and viewport dimensions—they don’t specifically target every use case or device. Instead, the ranges provide a strong and consistent foundation to build on for nearly any device.

    -

    These breakpoints are customizable via Sass—you’ll find them in a Sass map in our _variables.scss stylesheet.

    -
    $grid-breakpoints: (
    -  xs: 0,
    -  sm: 576px,
    -  md: 768px,
    -  lg: 992px,
    -  xl: 1200px,
    -  xxl: 1400px
    -);
    -
    -

    For more information and examples on how to modify our Sass maps and variables, please refer to the Sass section of the Grid documentation.

    -

    Media queries

    -

    Since Bootstrap is developed to be mobile first, we use a handful of media queries to create sensible breakpoints for our layouts and interfaces. These breakpoints are mostly based on minimum viewport widths and allow us to scale up elements as the viewport changes.

    -

    Min-width

    -

    Bootstrap primarily uses the following media query ranges—or breakpoints—in our source Sass files for our layout, grid system, and components.

    -
    // Source mixins
    -
    -// No media query necessary for xs breakpoint as it's effectively `@media (min-width: 0) { ... }`
    -@include media-breakpoint-up(sm) { ... }
    -@include media-breakpoint-up(md) { ... }
    -@include media-breakpoint-up(lg) { ... }
    -@include media-breakpoint-up(xl) { ... }
    -@include media-breakpoint-up(xxl) { ... }
    -
    -// Usage
    -
    -// Example: Hide starting at `min-width: 0`, and then show at the `sm` breakpoint
    -.custom-class {
    -  display: none;
    -}
    -@include media-breakpoint-up(sm) {
    -  .custom-class {
    -    display: block;
    -  }
    -}
    -

    These Sass mixins translate in our compiled CSS using the values declared in our Sass variables. For example:

    -
    // X-Small devices (portrait phones, less than 576px)
    -// No media query for `xs` since this is the default in Bootstrap
    -
    -// Small devices (landscape phones, 576px and up)
    -@media (min-width: 576px) { ... }
    -
    -// Medium devices (tablets, 768px and up)
    -@media (min-width: 768px) { ... }
    -
    -// Large devices (desktops, 992px and up)
    -@media (min-width: 992px) { ... }
    -
    -// X-Large devices (large desktops, 1200px and up)
    -@media (min-width: 1200px) { ... }
    -
    -// XX-Large devices (larger desktops, 1400px and up)
    -@media (min-width: 1400px) { ... }
    -

    Max-width

    -

    We occasionally use media queries that go in the other direction (the given screen size or smaller):

    -
    // No media query necessary for xs breakpoint as it's effectively `@media (max-width: 0) { ... }`
    -@include media-breakpoint-down(sm) { ... }
    -@include media-breakpoint-down(md) { ... }
    -@include media-breakpoint-down(lg) { ... }
    -@include media-breakpoint-down(xl) { ... }
    -@include media-breakpoint-down(xxl) { ... }
    -
    -// Example: Style from medium breakpoint and down
    -@include media-breakpoint-down(md) {
    -  .custom-class {
    -    display: block;
    -  }
    -}
    -

    These mixins take those declared breakpoints, subtract .02px from them, and use them as our max-width values. For example:

    -
    // `xs` returns only a ruleset and no media query
    -// ... { ... }
    -
    -// `sm` applies to x-small devices (portrait phones, less than 576px)
    -@media (max-width: 575.98px) { ... }
    -
    -// `md` applies to small devices (landscape phones, less than 768px)
    -@media (max-width: 767.98px) { ... }
    -
    -// `lg` applies to medium devices (tablets, less than 992px)
    -@media (max-width: 991.98px) { ... }
    -
    -// `xl` applies to large devices (desktops, less than 1200px)
    -@media (max-width: 1199.98px) { ... }
    -
    -// `xxl` applies to x-large devices (large desktops, less than 1400px)
    -@media (max-width: 1399.98px) { ... }
    -
    -Why subtract .02px? Browsers don’t currently support range context queries, so we work around the limitations of min- and max- prefixes and viewports with fractional widths (which can occur under certain conditions on high-dpi devices, for instance) by using values with higher precision. -
    - -

    Single breakpoint

    -

    There are also media queries and mixins for targeting a single segment of screen sizes using the minimum and maximum breakpoint widths.

    -
    @include media-breakpoint-only(xs) { ... }
    -@include media-breakpoint-only(sm) { ... }
    -@include media-breakpoint-only(md) { ... }
    -@include media-breakpoint-only(lg) { ... }
    -@include media-breakpoint-only(xl) { ... }
    -@include media-breakpoint-only(xxl) { ... }
    -

    For example the @include media-breakpoint-only(md) { ... } will result in :

    -
    @media (min-width: 768px) and (max-width: 991.98px) { ... }
    -

    Between breakpoints

    -

    Similarly, media queries may span multiple breakpoint widths:

    -
    @include media-breakpoint-between(md, xl) { ... }
    -

    Which results in:

    -
    // Example
    -// Apply styles starting from medium devices and up to extra large devices
    -@media (min-width: 768px) and (max-width: 1199.98px) { ... }
    -
    +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/layout/columns/index.html b/layout/columns/index.html index addd45a..d2c90b8 100644 --- a/layout/columns/index.html +++ b/layout/columns/index.html @@ -1,952 +1,3119 @@ - - - - - - - - - - - - - - - -Columns · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Columns · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Columns

    +
    +

    + Learn how to modify columns with a handful of options for alignment, + ordering, and offsetting thanks to our flexbox grid system. Plus, + see how to use column classes to manage widths of non-grid elements. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Columns

    +
    + + On this page +
    +
    -

    Learn how to modify columns with a handful of options for alignment, ordering, and offsetting thanks to our flexbox grid system. Plus, see how to use column classes to manage widths of non-grid elements.

    - - -
    - -
    - On this page - +

    + Alignment + +

    +

    + Use flexbox alignment utilities to vertically and horizontally align + columns. +

    +

    + Vertical alignment + +

    +

    + Change the vertical alignment with any of the responsive + align-items-* classes. +

    +
    +
    +
    +
    +
    One of three columns
    +
    One of three columns
    +
    One of three columns
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row align-items-start">
    +    <div class="col">
    +      One of three columns
    +    </div>
    +    <div class="col">
    +      One of three columns
    +    </div>
    +    <div class="col">
    +      One of three columns
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    +
    +
    One of three columns
    +
    One of three columns
    +
    One of three columns
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row align-items-center">
    +    <div class="col">
    +      One of three columns
    +    </div>
    +    <div class="col">
    +      One of three columns
    +    </div>
    +    <div class="col">
    +      One of three columns
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    +
    +
    One of three columns
    +
    One of three columns
    +
    One of three columns
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row align-items-end">
    +    <div class="col">
    +      One of three columns
    +    </div>
    +    <div class="col">
    +      One of three columns
    +    </div>
    +    <div class="col">
    +      One of three columns
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Or, change the alignment of each column individually with any of the + responsive .align-self-* classes. +

    +
    +
    +
    +
    +
    One of three columns
    +
    One of three columns
    +
    One of three columns
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col align-self-start">
    +      One of three columns
    +    </div>
    +    <div class="col align-self-center">
    +      One of three columns
    +    </div>
    +    <div class="col align-self-end">
    +      One of three columns
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Horizontal alignment + +

    +

    + Change the horizontal alignment with any of the responsive + justify-content-* classes. +

    +
    +
    +
    +
    +
    One of two columns
    +
    One of two columns
    +
    +
    +
    One of two columns
    +
    One of two columns
    +
    +
    +
    One of two columns
    +
    One of two columns
    +
    +
    +
    One of two columns
    +
    One of two columns
    +
    +
    +
    One of two columns
    +
    One of two columns
    +
    +
    +
    One of two columns
    +
    One of two columns
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row justify-content-start">
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +  </div>
    +  <div class="row justify-content-center">
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +  </div>
    +  <div class="row justify-content-end">
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +  </div>
    +  <div class="row justify-content-around">
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +  </div>
    +  <div class="row justify-content-between">
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +  </div>
    +  <div class="row justify-content-evenly">
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +    <div class="col-4">
    +      One of two columns
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Column wrapping + +

    +

    + If more than 12 columns are placed within a single row, each group + of extra columns will, as one unit, wrap onto a new line. +

    +
    +
    +
    +
    +
    .col-9
    +
    + .col-4
    Since 9 + 4 = 13 > 12, this 4-column-wide div + gets wrapped onto a new line as one contiguous unit. +
    +
    + .col-6
    Subsequent columns continue along the new line. +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container">
    +  <div class="row">
    +    <div class="col-9">.col-9</div>
    +    <div class="col-4">.col-4<br>Since 9 + 4 = 13 &gt; 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</div>
    +    <div class="col-6">.col-6<br>Subsequent columns continue along the new line.</div>
    +  </div>
    +</div>
    +
    +
    + +

    + Column breaks + +

    +

    + Breaking columns to a new line in flexbox requires a small hack: add + an element with width: 100% wherever you want to wrap + your columns to a new line. Normally this is accomplished with + multiple .rows, but not every implementation method can + account for this. +

    +
    +
    +
    +
    +
    .col-6 .col-sm-3
    +
    .col-6 .col-sm-3
    + + +
    + +
    .col-6 .col-sm-3
    +
    .col-6 .col-sm-3
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
    +    <div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
    +
    +    <!-- Force next columns to break to new line -->
    +    <div class="w-100"></div>
    +
    +    <div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
    +    <div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
    +  </div>
    +</div>
    +
    +
    + +

    + You may also apply this break at specific breakpoints with our + responsive display utilities. +

    +
    +
    +
    +
    +
    .col-6 .col-sm-4
    +
    .col-6 .col-sm-4
    + + +
    + +
    .col-6 .col-sm-4
    +
    .col-6 .col-sm-4
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
    +    <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
    +
    +    <!-- Force next columns to break to new line at md breakpoint and up -->
    +    <div class="w-100 d-none d-md-block"></div>
    +
    +    <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
    +    <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
    +  </div>
    +</div>
    +
    +
    + +

    + Reordering + +

    +

    + Order classes + +

    +

    + Use .order- classes for controlling the + visual order of your content. These classes are + responsive, so you can set the order by breakpoint + (e.g., .order-1.order-md-2). Includes support for + 1 through 5 across all six grid tiers. If + you need more .order-* classes, you can modify the + default number via Sass variable. +

    +
    +
    +
    +
    +
    First in DOM, no order applied
    +
    + Second in DOM, with a larger order +
    +
    + Third in DOM, with an order of 1 +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col">
    +      First in DOM, no order applied
    +    </div>
    +    <div class="col order-5">
    +      Second in DOM, with a larger order
    +    </div>
    +    <div class="col order-1">
    +      Third in DOM, with an order of 1
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + There are also responsive .order-first and + .order-last classes that change the + order of an element by applying + order: -1 and order: 6, respectively. + These classes can also be intermixed with the numbered + .order-* classes as needed. +

    +
    +
    +
    +
    +
    First in DOM, ordered last
    +
    Second in DOM, unordered
    +
    Third in DOM, ordered first
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col order-last">
    +      First in DOM, ordered last
    +    </div>
    +    <div class="col">
    +      Second in DOM, unordered
    +    </div>
    +    <div class="col order-first">
    +      Third in DOM, ordered first
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Offsetting columns + +

    +

    + You can offset grid columns in two ways: our responsive + .offset- grid classes and our + margin utilities. + Grid classes are sized to match columns while margins are more + useful for quick layouts where the width of the offset is variable. +

    +

    + Offset classes + +

    +

    + Move columns to the right using .offset-md-* classes. + These classes increase the left margin of a column by + * columns. For example, .offset-md-4 moves + .col-md-4 over four columns. +

    +
    +
    +
    +
    +
    .col-md-4
    +
    .col-md-4 .offset-md-4
    +
    +
    +
    .col-md-3 .offset-md-3
    +
    .col-md-3 .offset-md-3
    +
    +
    +
    .col-md-6 .offset-md-3
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col-md-4">.col-md-4</div>
    +    <div class="col-md-4 offset-md-4">.col-md-4 .offset-md-4</div>
    +  </div>
    +  <div class="row">
    +    <div class="col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
    +    <div class="col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
    +  </div>
    +  <div class="row">
    +    <div class="col-md-6 offset-md-3">.col-md-6 .offset-md-3</div>
    +  </div>
    +</div>
    +
    +
    + +

    + In addition to column clearing at responsive breakpoints, you may + need to reset offsets. See this in action in + the grid example. +

    +
    +
    +
    +
    +
    .col-sm-5 .col-md-6
    +
    + .col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0 +
    +
    +
    +
    + .col-sm-6 .col-md-5 .col-lg-6 +
    +
    + .col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0 +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col-sm-5 col-md-6">.col-sm-5 .col-md-6</div>
    +    <div class="col-sm-5 offset-sm-2 col-md-6 offset-md-0">.col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0</div>
    +  </div>
    +  <div class="row">
    +    <div class="col-sm-6 col-md-5 col-lg-6">.col-sm-6 .col-md-5 .col-lg-6</div>
    +    <div class="col-sm-6 col-md-5 offset-md-2 col-lg-6 offset-lg-0">.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0</div>
    +  </div>
    +</div>
    +
    +
    + +

    + Margin utilities + +

    +

    + With the move to flexbox in v4, you can use margin utilities like + .me-auto to force sibling columns away from one + another. +

    +
    +
    +
    +
    +
    .col-md-4
    +
    .col-md-4 .ms-auto
    +
    +
    +
    .col-md-3 .ms-md-auto
    +
    .col-md-3 .ms-md-auto
    +
    +
    +
    .col-auto .me-auto
    +
    .col-auto
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col-md-4">.col-md-4</div>
    +    <div class="col-md-4 ms-auto">.col-md-4 .ms-auto</div>
    +  </div>
    +  <div class="row">
    +    <div class="col-md-3 ms-md-auto">.col-md-3 .ms-md-auto</div>
    +    <div class="col-md-3 ms-md-auto">.col-md-3 .ms-md-auto</div>
    +  </div>
    +  <div class="row">
    +    <div class="col-auto me-auto">.col-auto .me-auto</div>
    +    <div class="col-auto">.col-auto</div>
    +  </div>
    +</div>
    +
    +
    + +

    + Standalone column classes + +

    +

    + The .col-* classes can also be used outside a + .row to give an element a specific width. Whenever + column classes are used as non-direct children of a row, the + paddings are omitted. +

    +
    +
    +
    .col-3: width of 25%
    + +
    + .col-sm-9: width of 75% above sm breakpoint +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="col-3 p-3 mb-2">
    +  .col-3: width of 25%
    +</div>
    +
    +<div class="col-sm-9 p-3">
    +  .col-sm-9: width of 75% above sm breakpoint
    +</div>
    +
    +
    + +

    + The classes can be used together with utilities to create responsive + floated images. Make sure to wrap the content in a + .clearfix + wrapper to clear the float if the text is shorter. +

    +
    +
    +
    + + Placeholder + + + Responsive floated image + + + +

    + A paragraph of placeholder text. We're using it here to show + the use of the clearfix class. We're adding quite a few + meaningless phrases here to demonstrate how the columns + interact here with the floated image. +

    + +

    + As you can see the paragraphs gracefully wrap around the + floated image. Now imagine how this would look with some + actual content in here, rather than just this boring + placeholder text that goes on and on, but actually conveys no + tangible information at. It simply takes up space and should + not really be read. +

    + +

    + And yet, here you are, still persevering in reading this + placeholder text, hoping for some more insights, or some + hidden easter egg of content. A joke, perhaps. Unfortunately, + there's none of that here. +

    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="clearfix">
    +  <img src="..." class="col-md-6 float-md-end mb-3 ms-md-3" alt="...">
    +
    +  <p>
    +    A paragraph of placeholder text. We're using it here to show the use of the clearfix class. We're adding quite a few meaningless phrases here to demonstrate how the columns interact here with the floated image.
    +  </p>
    +
    +  <p>
    +    As you can see the paragraphs gracefully wrap around the floated image. Now imagine how this would look with some actual content in here, rather than just this boring placeholder text that goes on and on, but actually conveys no tangible information at. It simply takes up space and should not really be read.
    +  </p>
    +
    +  <p>
    +    And yet, here you are, still persevering in reading this placeholder text, hoping for some more insights, or some hidden easter egg of content. A joke, perhaps. Unfortunately, there's none of that here.
    +  </p>
    +</div>
    +
    +
    - - -
    - - -
    -Heads up! Be sure to read the Grid page first before diving into how to modify and customize your grid columns. -
    - -

    How they work

    -
      -
    • -

      Columns build on the grid’s flexbox architecture. Flexbox means we have options for changing individual columns and modifying groups of columns at the row level. You choose how columns grow, shrink, or otherwise change.

      -
    • -
    • -

      When building grid layouts, all content goes in columns. The hierarchy of Bootstrap’s grid goes from container to row to column to your content. On rare occasions, you may combine content and column, but be aware there can be unintended consequences.

      -
    • -
    • -

      Bootstrap includes predefined classes for creating fast, responsive layouts. With six breakpoints and a dozen columns at each grid tier, we have dozens of classes already built for you to create your desired layouts. This can be disabled via Sass if you wish.

      -
    • -
    -

    Alignment

    -

    Use flexbox alignment utilities to vertically and horizontally align columns.

    -

    Vertical alignment

    -
    -
    -
    -
    - One of three columns +
    -
    - One of three columns -
    -
    - One of three columns -
    - -
    -
    - One of three columns -
    -
    - One of three columns -
    -
    - One of three columns -
    -
    -
    -
    - One of three columns -
    -
    - One of three columns -
    -
    - One of three columns -
    -
    - -
    <div class="container">
    -  <div class="row align-items-start">
    -    <div class="col">
    -      One of three columns
    -    </div>
    -    <div class="col">
    -      One of three columns
    -    </div>
    -    <div class="col">
    -      One of three columns
    -    </div>
    -  </div>
    -  <div class="row align-items-center">
    -    <div class="col">
    -      One of three columns
    -    </div>
    -    <div class="col">
    -      One of three columns
    -    </div>
    -    <div class="col">
    -      One of three columns
    -    </div>
    -  </div>
    -  <div class="row align-items-end">
    -    <div class="col">
    -      One of three columns
    -    </div>
    -    <div class="col">
    -      One of three columns
    -    </div>
    -    <div class="col">
    -      One of three columns
    -    </div>
    -  </div>
    -</div>
    -
    -
    -
    -
    - One of three columns -
    -
    - One of three columns -
    -
    - One of three columns -
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col align-self-start">
    -      One of three columns
    -    </div>
    -    <div class="col align-self-center">
    -      One of three columns
    -    </div>
    -    <div class="col align-self-end">
    -      One of three columns
    -    </div>
    -  </div>
    -</div>
    -

    Horizontal alignment

    -
    -
    -
    -
    - One of two columns -
    -
    - One of two columns -
    -
    -
    -
    - One of two columns -
    -
    - One of two columns -
    -
    -
    -
    - One of two columns -
    -
    - One of two columns -
    -
    -
    -
    - One of two columns -
    -
    - One of two columns -
    -
    -
    -
    - One of two columns -
    -
    - One of two columns -
    -
    -
    -
    - One of two columns -
    -
    - One of two columns -
    -
    -
    -
    <div class="container">
    -  <div class="row justify-content-start">
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -  </div>
    -  <div class="row justify-content-center">
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -  </div>
    -  <div class="row justify-content-end">
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -  </div>
    -  <div class="row justify-content-around">
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -  </div>
    -  <div class="row justify-content-between">
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -  </div>
    -  <div class="row justify-content-evenly">
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -    <div class="col-4">
    -      One of two columns
    -    </div>
    -  </div>
    -</div>
    -

    Column wrapping

    -

    If more than 12 columns are placed within a single row, each group of extra columns will, as one unit, wrap onto a new line.

    -
    -
    -
    -
    .col-9
    -
    .col-4
    Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.
    -
    .col-6
    Subsequent columns continue along the new line.
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col-9">.col-9</div>
    -    <div class="col-4">.col-4<br>Since 9 + 4 = 13 &gt; 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</div>
    -    <div class="col-6">.col-6<br>Subsequent columns continue along the new line.</div>
    -  </div>
    -</div>
    -

    Column breaks

    -

    Breaking columns to a new line in flexbox requires a small hack: add an element with width: 100% wherever you want to wrap your columns to a new line. Normally this is accomplished with multiple .rows, but not every implementation method can account for this.

    -
    -
    -
    -
    .col-6 .col-sm-3
    -
    .col-6 .col-sm-3
    - - -
    - -
    .col-6 .col-sm-3
    -
    .col-6 .col-sm-3
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
    -    <div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
    -
    -    <!-- Force next columns to break to new line -->
    -    <div class="w-100"></div>
    -
    -    <div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
    -    <div class="col-6 col-sm-3">.col-6 .col-sm-3</div>
    -  </div>
    -</div>
    -

    You may also apply this break at specific breakpoints with our responsive display utilities.

    -
    -
    -
    -
    .col-6 .col-sm-4
    -
    .col-6 .col-sm-4
    - - -
    - -
    .col-6 .col-sm-4
    -
    .col-6 .col-sm-4
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
    -    <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
    -
    -    <!-- Force next columns to break to new line at md breakpoint and up -->
    -    <div class="w-100 d-none d-md-block"></div>
    -
    -    <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
    -    <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
    -  </div>
    -</div>
    -

    Reordering

    -

    Order classes

    -

    Use .order- classes for controlling the visual order of your content. These classes are responsive, so you can set the order by breakpoint (e.g., .order-1.order-md-2). Includes support for 1 through 5 across all six grid tiers.

    -
    -
    -
    -
    - First in DOM, no order applied -
    -
    - Second in DOM, with a larger order -
    -
    - Third in DOM, with an order of 1 -
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col">
    -      First in DOM, no order applied
    -    </div>
    -    <div class="col order-5">
    -      Second in DOM, with a larger order
    -    </div>
    -    <div class="col order-1">
    -      Third in DOM, with an order of 1
    -    </div>
    -  </div>
    -</div>
    -

    There are also responsive .order-first and .order-last classes that change the order of an element by applying order: -1 and order: 6, respectively. These classes can also be intermixed with the numbered .order-* classes as needed.

    -
    -
    -
    -
    - First in DOM, ordered last -
    -
    - Second in DOM, unordered -
    -
    - Third in DOM, ordered first -
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col order-last">
    -      First in DOM, ordered last
    -    </div>
    -    <div class="col">
    -      Second in DOM, unordered
    -    </div>
    -    <div class="col order-first">
    -      Third in DOM, ordered first
    -    </div>
    -  </div>
    -</div>
    -

    Offsetting columns

    -

    You can offset grid columns in two ways: our responsive .offset- grid classes and our margin utilities. Grid classes are sized to match columns while margins are more useful for quick layouts where the width of the offset is variable.

    -

    Offset classes

    -

    Move columns to the right using .offset-md-* classes. These classes increase the left margin of a column by * columns. For example, .offset-md-4 moves .col-md-4 over four columns.

    -
    -
    -
    -
    .col-md-4
    -
    .col-md-4 .offset-md-4
    -
    -
    -
    .col-md-3 .offset-md-3
    -
    .col-md-3 .offset-md-3
    -
    -
    -
    .col-md-6 .offset-md-3
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col-md-4">.col-md-4</div>
    -    <div class="col-md-4 offset-md-4">.col-md-4 .offset-md-4</div>
    -  </div>
    -  <div class="row">
    -    <div class="col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
    -    <div class="col-md-3 offset-md-3">.col-md-3 .offset-md-3</div>
    -  </div>
    -  <div class="row">
    -    <div class="col-md-6 offset-md-3">.col-md-6 .offset-md-3</div>
    -  </div>
    -</div>
    -

    In addition to column clearing at responsive breakpoints, you may need to reset offsets. See this in action in the grid example.

    -
    -
    -
    -
    .col-sm-5 .col-md-6
    -
    .col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0
    -
    -
    -
    .col-sm-6 .col-md-5 .col-lg-6
    -
    .col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col-sm-5 col-md-6">.col-sm-5 .col-md-6</div>
    -    <div class="col-sm-5 offset-sm-2 col-md-6 offset-md-0">.col-sm-5 .offset-sm-2 .col-md-6 .offset-md-0</div>
    -  </div>
    -  <div class="row">
    -    <div class="col-sm-6 col-md-5 col-lg-6">.col-sm-6 .col-md-5 .col-lg-6</div>
    -    <div class="col-sm-6 col-md-5 offset-md-2 col-lg-6 offset-lg-0">.col-sm-6 .col-md-5 .offset-md-2 .col-lg-6 .offset-lg-0</div>
    -  </div>
    -</div>
    -

    Margin utilities

    -

    With the move to flexbox in v4, you can use margin utilities like .me-auto to force sibling columns away from one another.

    -
    -
    -
    -
    .col-md-4
    -
    .col-md-4 .ms-auto
    -
    -
    -
    .col-md-3 .ms-md-auto
    -
    .col-md-3 .ms-md-auto
    -
    -
    -
    .col-auto .me-auto
    -
    .col-auto
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col-md-4">.col-md-4</div>
    -    <div class="col-md-4 ms-auto">.col-md-4 .ms-auto</div>
    -  </div>
    -  <div class="row">
    -    <div class="col-md-3 ms-md-auto">.col-md-3 .ms-md-auto</div>
    -    <div class="col-md-3 ms-md-auto">.col-md-3 .ms-md-auto</div>
    -  </div>
    -  <div class="row">
    -    <div class="col-auto me-auto">.col-auto .me-auto</div>
    -    <div class="col-auto">.col-auto</div>
    -  </div>
    -</div>
    -

    Standalone column classes

    -

    The .col-* classes can also be used outside a .row to give an element a specific width. Whenever column classes are used as non direct children of a row, the paddings are omitted.

    -
    -
    - .col-3: width of 25% -
    -
    - .col-sm-9: width of 75% above sm breakpoint -
    -
    <div class="col-3 bg-light p-3 border">
    -  .col-3: width of 25%
    -</div>
    -<div class="col-sm-9 bg-light p-3 border">
    -  .col-sm-9: width of 75% above sm breakpoint
    -</div>
    -

    The classes can be used together with utilities to create responsive floated images. Make sure to wrap the content in a .clearfix wrapper to clear the float if the text is shorter.

    -
    -
    - PlaceholderResponsive floated image - - -

    - A paragraph of placeholder text. We're using it here to show the use of the clearfix class. We're adding quite a few meaningless phrases here to demonstrate how the columns interact here with the floated image. -

    - -

    - As you can see the paragraphs gracefully wrap around the floated image. Now imagine how this would look with some actual content in here, rather than just this boring placeholder text that goes on and on, but actually conveys no tangible information at. It simply takes up space and should not really be read. -

    - -

    - And yet, here you are, still persevering in reading this placeholder text, hoping for some more insights, or some hidden easter egg of content. A joke, perhaps. Unfortunately, there's none of that here. -

    -
    -
    <div class="clearfix">
    -  <img src="..." class="col-md-6 float-md-end mb-3 ms-md-3" alt="...">
    -
    -  <p>
    -    A paragraph of placeholder text. We're using it here to show the use of the clearfix class. We're adding quite a few meaningless phrases here to demonstrate how the columns interact here with the floated image.
    -  </p>
    -
    -  <p>
    -    As you can see the paragraphs gracefully wrap around the floated image. Now imagine how this would look with some actual content in here, rather than just this boring placeholder text that goes on and on, but actually conveys no tangible information at. It simply takes up space and should not really be read.
    -  </p>
    -
    -  <p>
    -    And yet, here you are, still persevering in reading this placeholder text, hoping for some more insights, or some hidden easter egg of content. A joke, perhaps. Unfortunately, there's none of that here.
    -  </p>
    -</div>
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/layout/containers/index.html b/layout/containers/index.html index c458818..c689e50 100644 --- a/layout/containers/index.html +++ b/layout/containers/index.html @@ -1,605 +1,2181 @@ - - - - - - - - - - - - - - - -Containers · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Containers · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Containers

    +
    +

    + Containers are a fundamental building block of Bootstrap that + contain, pad, and align your content within a given device or + viewport. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Containers

    +
    + + On this page +
    +
    -

    Containers are a fundamental building block of Bootstrap that contain, pad, and align your content within a given device or viewport.

    - - -
    - -
    - On this page - +
    +

    + How they work + +

    +

    + Containers are the most basic layout element in Bootstrap and are + required when using our default grid system. + Containers are used to contain, pad, and (sometimes) center the + content within them. While containers can be nested, most + layouts do not require a nested container. +

    +

    Bootstrap comes with three different containers:

    +
      +
    • + .container, which sets a max-width at + each responsive breakpoint +
    • +
    • + .container-{breakpoint}, which is + width: 100% until the specified breakpoint +
    • +
    • + .container-fluid, which is + width: 100% at all breakpoints +
    • +
    +

    + The table below illustrates how each container’s + max-width compares to the original + .container and .container-fluid across + each breakpoint. +

    +

    + See them in action and compare them in our + Grid example. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + Extra small +
    <576px
    +
    + Small +
    ≥576px
    +
    + Medium +
    ≥768px
    +
    + Large +
    ≥992px
    +
    + X-Large +
    ≥1200px
    +
    + XX-Large +
    ≥1400px
    +
    .container100%540px720px960px1140px1320px
    .container-sm100%540px720px960px1140px1320px
    .container-md100%100%720px960px1140px1320px
    .container-lg100%100%100%960px1140px1320px
    .container-xl100%100%100%100%1140px1320px
    .container-xxl100%100%100%100%100%1320px
    .container-fluid100%100%100%100%100%100%
    +
    + +

    + Default container + +

    +

    + Our default .container class is a responsive, + fixed-width container, meaning its max-width changes at + each breakpoint. +

    +
    +
    <div class="container">
    +  <!-- Content here -->
    +</div>
    +
    +
    +

    + Responsive containers + +

    +

    + Responsive containers allow you to specify a class that is 100% wide + until the specified breakpoint is reached, after which we apply + max-widths for each of the higher breakpoints. For + example, .container-sm is 100% wide to start until the + sm breakpoint is reached, where it will scale up with + md, lg, xl, and + xxl. +

    +
    +
    <div class="container-sm">100% wide until small breakpoint</div>
    +<div class="container-md">100% wide until medium breakpoint</div>
    +<div class="container-lg">100% wide until large breakpoint</div>
    +<div class="container-xl">100% wide until extra large breakpoint</div>
    +<div class="container-xxl">100% wide until extra extra large breakpoint</div>
    +
    +
    +

    + Fluid containers + +

    +

    + Use .container-fluid for a full width container, + spanning the entire width of the viewport. +

    +
    +
    <div class="container-fluid">
    +  ...
    +</div>
    +
    +
    +

    + Sass + +

    +

    + As shown above, Bootstrap generates a series of predefined container + classes to help you build the layouts you desire. You may customize + these predefined container classes by modifying the Sass map (found + in _variables.scss) that powers them: +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $container-max-widths: (
    +  sm: 540px,
    +  md: 720px,
    +  lg: 960px,
    +  xl: 1140px,
    +  xxl: 1320px
    +);
    +
    +
    +
    +

    + In addition to customizing the Sass, you can also create your own + containers with our Sass mixin. +

    +
    +
    // Source mixin
    +@mixin make-container($padding-x: $container-padding-x) {
    +  width: 100%;
    +  padding-right: $padding-x;
    +  padding-left: $padding-x;
    +  margin-right: auto;
    +  margin-left: auto;
    +}
    +
    +// Usage
    +.custom-container {
    +  @include make-container();
    +}
    +
    +
    +

    + For more information and examples on how to modify our Sass maps and + variables, please refer to + the Sass section of the Grid documentation. +

    +
    +
    - -
    - - -

    How they work

    -

    Containers are the most basic layout element in Bootstrap and are required when using our default grid system. Containers are used to contain, pad, and (sometimes) center the content within them. While containers can be nested, most layouts do not require a nested container.

    -

    Bootstrap comes with three different containers:

    -
      -
    • .container, which sets a max-width at each responsive breakpoint
    • -
    • .container-fluid, which is width: 100% at all breakpoints
    • -
    • .container-{breakpoint}, which is width: 100% until the specified breakpoint
    • -
    -

    The table below illustrates how each container’s max-width compares to the original .container and .container-fluid across each breakpoint.

    -

    See them in action and compare them in our Grid example.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - Extra small
    - <576px -
    - Small
    - ≥576px -
    - Medium
    - ≥768px -
    - Large
    - ≥992px -
    - X-Large
    - ≥1200px -
    - XX-Large
    - ≥1400px -
    .container100%540px720px960px1140px1320px
    .container-sm100%540px720px960px1140px1320px
    .container-md100%100%720px960px1140px1320px
    .container-lg100%100%100%960px1140px1320px
    .container-xl100%100%100%100%1140px1320px
    .container-xxl100%100%100%100%100%1320px
    .container-fluid100%100%100%100%100%100%
    -

    Default container

    -

    Our default .container class is a responsive, fixed-width container, meaning its max-width changes at each breakpoint.

    -
    <div class="container">
    -  <!-- Content here -->
    -</div>
    -

    Responsive containers

    -

    Responsive containers allow you to specify a class that is 100% wide until the specified breakpoint is reached, after which we apply max-widths for each of the higher breakpoints. For example, .container-sm is 100% wide to start until the sm breakpoint is reached, where it will scale up with md, lg, xl, and xxl.

    -
    <div class="container-sm">100% wide until small breakpoint</div>
    -<div class="container-md">100% wide until medium breakpoint</div>
    -<div class="container-lg">100% wide until large breakpoint</div>
    -<div class="container-xl">100% wide until extra large breakpoint</div>
    -<div class="container-xxl">100% wide until extra extra large breakpoint</div>
    -

    Fluid containers

    -

    Use .container-fluid for a full width container, spanning the entire width of the viewport.

    -
    <div class="container-fluid">
    -  ...
    -</div>
    -

    Sass

    -

    As shown above, Bootstrap generates a series of predefined container classes to help you build the layouts you desire. You may customize these predefined container classes by modifying the Sass map (found in _variables.scss) that powers them:

    -
    $container-max-widths: (
    -  sm: 540px,
    -  md: 720px,
    -  lg: 960px,
    -  xl: 1140px,
    -  xxl: 1320px
    -);
    -
    -

    In addition to customizing the Sass, you can also create your own containers with our Sass mixin.

    -
    // Source mixin
    -@mixin make-container($padding-x: $container-padding-x) {
    -  width: 100%;
    -  padding-right: $padding-x;
    -  padding-left: $padding-x;
    -  margin-right: auto;
    -  margin-left: auto;
    -}
    -
    -// Usage
    -.custom-container {
    -  @include make-container();
    -}
    -

    For more information and examples on how to modify our Sass maps and variables, please refer to the Sass section of the Grid documentation.

    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/layout/css-grid/index.html b/layout/css-grid/index.html index 9319532..37c5874 100644 --- a/layout/css-grid/index.html +++ b/layout/css-grid/index.html @@ -1,801 +1,3053 @@ - - - - - - - - - - - - - - - -CSS Grid · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + CSS Grid · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +
    + Added in v5.1 + View on GitHub + +
    +

    CSS Grid

    +
    +

    + Learn how to enable, use, and customize our alternate layout system + built on CSS Grid with examples and code snippets. +

    +
    - -
  • - - - -
  • -
  • - - -
  • -
  • - - -
    -
      -
    • Clearfix
    • -
    • Colored links
    • -
    • Ratio
    • -
    • Position
    • -
    • Stacks
    • -
    • Visually hidden
    • -
    • Stretched link
    • -
    • Text truncation
    • -
    • Vertical rule
    • + +
      +

      + Bootstrap’s default grid system represents the culmination of + over a decade of CSS layout techniques, tried and tested by millions + of people. But, it was also created without many of the modern CSS + features and techniques we’re seeing in browsers like the new + CSS Grid. +

      +
      + Heads up—our CSS Grid system is experimental and opt-in as of + v5.1.0! + We included it in our documentation’s CSS to demonstrate it + for you, but it’s disabled by default. Keep reading to learn + how to enable it in your projects. +
      + +

      + How it works + +

      +

      + With Bootstrap 5, we’ve added the option to enable a separate + grid system that’s built on CSS Grid, but with a Bootstrap + twist. You still get classes you can apply on a whim to build + responsive layouts, but with a different approach under the hood. +

      +
        +
      • +

        + CSS Grid is opt-in. Disable the default grid + system by setting $enable-grid-classes: false and + enable the CSS Grid by setting + $enable-cssgrid: true. Then, recompile your Sass. +

        +
      • +
      • +

        + Replace instances of .row with + .grid. + The .grid class sets display: grid and + creates a grid-template that you build on with your + HTML. +

        +
      • +
      • +

        + Replace .col-* classes with + .g-col-* classes. + This is because our CSS Grid columns use the + grid-column property instead of width. +

        +
      • +
      • +

        + Columns and gutter sizes are set via CSS variables. + Set these on the parent .grid and customize however + you want, inline or in a stylesheet, with + --bs-columns and --bs-gap. +

        +
      -
      - -
    • - - -
      -
        -
      • API
      • -
      • Background
      • -
      • Borders
      • -
      • Colors
      • -
      • Display
      • -
      • Flex
      • -
      • Float
      • -
      • Interactions
      • -
      • Opacity
      • -
      • Overflow
      • -
      • Position
      • -
      • Shadows
      • -
      • Sizing
      • -
      • Spacing
      • -
      • Text
      • -
      • Vertical align
      • -
      • Visibility
      • +

        + In the future, Bootstrap will likely shift to a hybrid solution as + the gap property has achieved nearly full browser + support for flexbox. +

        +

        + Key differences + +

        +

        Compared to the default grid system:

        +
          +
        • +

          + Flex utilities don’t affect the CSS Grid columns in the + same way. +

          +
        • +
        • +

          + Gaps replaces gutters. The gap property replaces + the horizontal padding from our default grid system + and functions more like margin. +

          +
        • +
        • +

          + As such, unlike .rows, .grids have no + negative margins and margin utilities cannot be used to change + the grid gutters. Grid gaps are applied horizontally and + vertically by default. See the + customizing section for more details. +

          +
        • +
        • +

          + Inline and custom styles should be viewed as replacements for + modifier classes (e.g., + style="--bs-columns: 3;" vs + class="row-cols-3"). +

          +
        • +
        • +

          + Nesting works similarly, but may require you to reset your + column counts on each instance of a nested .grid. + See the nesting section for details. +

          +
        -
      -
    • -
    • - - -
      -
        -
      • Approach
      • -
      • Icons
      • +

        + Examples + +

        +

        + Three columns + +

        +

        + Three equal-width columns across all viewports and devices can be + created by using the .g-col-4 classes. Add + responsive classes to change the layout by + viewport size. +

        +
        +
        +
        +
        .g-col-4
        +
        .g-col-4
        +
        .g-col-4
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center">
        +  <div class="g-col-4">.g-col-4</div>
        +  <div class="g-col-4">.g-col-4</div>
        +  <div class="g-col-4">.g-col-4</div>
        +</div>
        +
        +
        + +

        + Responsive + +

        +

        + Use responsive classes to adjust your layout across viewports. Here + we start with two columns on the narrowest viewports, and then grow + to three columns on medium viewports and above. +

        +
        +
        +
        +
        .g-col-6 .g-col-md-4
        +
        .g-col-6 .g-col-md-4
        +
        .g-col-6 .g-col-md-4
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center">
        +  <div class="g-col-6 g-col-md-4">.g-col-6 .g-col-md-4</div>
        +  <div class="g-col-6 g-col-md-4">.g-col-6 .g-col-md-4</div>
        +  <div class="g-col-6 g-col-md-4">.g-col-6 .g-col-md-4</div>
        +</div>
        +
        +
        + +

        Compare that to this two column layout at all viewports.

        +
        +
        +
        +
        .g-col-6
        +
        .g-col-6
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center">
        +  <div class="g-col-6">.g-col-6</div>
        +  <div class="g-col-6">.g-col-6</div>
        +</div>
        +
        +
        + +

        + Wrapping + +

        +

        + Grid items automatically wrap to the next line when there’s no + more room horizontally. Note that the gap applies to + horizontal and vertical gaps between grid items. +

        +
        +
        +
        +
        .g-col-6
        +
        .g-col-6
        + +
        .g-col-6
        +
        .g-col-6
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center">
        +  <div class="g-col-6">.g-col-6</div>
        +  <div class="g-col-6">.g-col-6</div>
        +
        +  <div class="g-col-6">.g-col-6</div>
        +  <div class="g-col-6">.g-col-6</div>
        +</div>
        +
        +
        + +

        + Starts + +

        +

        + Start classes aim to replace our default grid’s offset + classes, but they’re not entirely the same. CSS Grid creates a + grid template through styles that tell browsers to “start at + this column” and “end at this column.” Those + properties are grid-column-start and + grid-column-end. Start classes are shorthand for the + former. Pair them with the column classes to size and align your + columns however you need. Start classes begin at 1 as + 0 is an invalid value for these properties. +

        +
        +
        +
        +
        .g-col-3 .g-start-2
        +
        .g-col-4 .g-start-6
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center">
        +  <div class="g-col-3 g-start-2">.g-col-3 .g-start-2</div>
        +  <div class="g-col-4 g-start-6">.g-col-4 .g-start-6</div>
        +</div>
        +
        +
        + +

        + Auto columns + +

        +

        + When there are no classes on the grid items (the immediate children + of a .grid), each grid item will automatically be sized + to one column. +

        +
        +
        +
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center">
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +</div>
        +
        +
        + +

        This behavior can be mixed with grid column classes.

        +
        +
        +
        +
        .g-col-6
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        1
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center">
        +  <div class="g-col-6">.g-col-6</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +  <div>1</div>
        +</div>
        +
        +
        + +

        + Nesting + +

        +

        + Similar to our default grid system, our CSS Grid allows for easy + nesting of .grids. However, unlike the default, this + grid inherits changes in the rows, columns, and gaps. Consider the + example below: +

        +
          +
        • + We override the default number of columns with a local CSS + variable: --bs-columns: 3. +
        • +
        • + In the first auto-column, the column count is inherited and each + column is one-third of the available width. +
        • +
        • + In the second auto-column, we’ve reset the column count on + the nested .grid to 12 (our default). +
        • +
        • The third auto-column has no nested content.
        -
      -
    • -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        + In practice this allows for more complex and custom layouts when + compared to our default grid system. +

        +
        +
        +
        +
        + First auto-column +
        +
        Auto-column
        +
        Auto-column
        +
        +
        +
        + Second auto-column +
        +
        6 of 12
        +
        4 of 12
        +
        2 of 12
        +
        +
        +
        Third auto-column
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center" style="--bs-columns: 3;">
        +  <div>
        +    First auto-column
        +    <div class="grid">
        +      <div>Auto-column</div>
        +      <div>Auto-column</div>
        +    </div>
        +  </div>
        +  <div>
        +    Second auto-column
        +    <div class="grid" style="--bs-columns: 12;">
        +      <div class="g-col-6">6 of 12</div>
        +      <div class="g-col-4">4 of 12</div>
        +      <div class="g-col-2">2 of 12</div>
        +    </div>
        +  </div>
        +  <div>Third auto-column</div>
        +</div>
        +
        +
        + +

        + Customizing + +

        +

        + Customize the number of columns, the number of rows, and the width + of the gaps with local CSS variables. +

        +
        + + + + + + + + + + + + + + + + + + + + + + + + + +
        VariableFallback valueDescription
        --bs-rows1The number of rows in your grid template
        --bs-columns12The number of columns in your grid template
        --bs-gap1.5rem + The size of the gap between columns (vertical and + horizontal) +
        +
        + +

        + These CSS variables have no default value; instead, they apply + fallback values that are used until a local instance is + provided. For example, we use var(--bs-rows, 1) for our + CSS Grid rows, which ignores --bs-rows because that + hasn’t been set anywhere yet. Once it is, the + .grid instance will use that value instead of the + fallback value of 1. +

        +

        + No grid classes + +

        +

        + Immediate children elements of .grid are grid items, so + they’ll be sized without explicitly adding a + .g-col class. +

        +
        +
        +
        +
        Auto-column
        +
        Auto-column
        +
        Auto-column
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center" style="--bs-columns: 3;">
        +  <div>Auto-column</div>
        +  <div>Auto-column</div>
        +  <div>Auto-column</div>
        +</div>
        +
        +
        + +

        + Columns and gaps + +

        +

        Adjust the number of columns and the gap.

        +
        +
        +
        +
        .g-col-2
        +
        .g-col-2
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center" style="--bs-columns: 4; --bs-gap: 5rem;">
        +  <div class="g-col-2">.g-col-2</div>
        +  <div class="g-col-2">.g-col-2</div>
        +</div>
        +
        +
        + +
        +
        +
        +
        .g-col-6
        +
        .g-col-4
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center" style="--bs-columns: 10; --bs-gap: 1rem;">
        +  <div class="g-col-6">.g-col-6</div>
        +  <div class="g-col-4">.g-col-4</div>
        +</div>
        +
        +
        + +

        + Adding rows + +

        +

        Adding more rows and changing the placement of columns:

        +
        +
        +
        +
        Auto-column
        +
        Auto-column
        +
        Auto-column
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center" style="--bs-rows: 3; --bs-columns: 3;">
        +  <div>Auto-column</div>
        +  <div class="g-start-2" style="grid-row: 2">Auto-column</div>
        +  <div class="g-start-3" style="grid-row: 3">Auto-column</div>
        +</div>
        +
        +
        + +

        + Gaps + +

        +

        + Change the vertical gaps only by modifying the row-gap. + Note that we use gap on .grids, but + row-gap and column-gap can be modified as + needed. +

        +
        +
        +
        +
        .g-col-6
        +
        .g-col-6
        + +
        .g-col-6
        +
        .g-col-6
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center" style="row-gap: 0;">
        +  <div class="g-col-6">.g-col-6</div>
        +  <div class="g-col-6">.g-col-6</div>
        +
        +  <div class="g-col-6">.g-col-6</div>
        +  <div class="g-col-6">.g-col-6</div>
        +</div>
        +
        +
        + +

        + Because of that, you can have different vertical and horizontal + gaps, which can take a single value (all sides) or a + pair of values (vertical and horizontal). This can be applied with + an inline style for gap, or with our + --bs-gap CSS variable. +

        +
        +
        +
        +
        .g-col-6
        +
        .g-col-6
        + +
        .g-col-6
        +
        .g-col-6
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center" style="--bs-gap: .25rem 1rem;">
        +  <div class="g-col-6">.g-col-6</div>
        +  <div class="g-col-6">.g-col-6</div>
        +
        +  <div class="g-col-6">.g-col-6</div>
        +  <div class="g-col-6">.g-col-6</div>
        +</div>
        +
        +
        + +

        + Sass + +

        +

        + One limitation of the CSS Grid is that our default classes are still + generated by two Sass variables, $grid-columns and + $grid-gutter-width. This effectively predetermines the + number of classes generated in our compiled CSS. You have two + options here: +

        +
          +
        • Modify those default Sass variables and recompile your CSS.
        • +
        • + Use inline or custom styles to augment the provided classes. +
        +

        + For example, you can increase the column count and change the gap + size, and then size your “columns” with a mix of inline + styles and predefined CSS Grid column classes (e.g., + .g-col-4). +

        +
        +
        +
        +
        14 columns
        +
        .g-col-4
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid text-center" style="--bs-columns: 18; --bs-gap: .5rem;">
        +  <div style="grid-column: span 14;">14 columns</div>
        +  <div class="g-col-4">.g-col-4</div>
        +</div>
        +
        +
      -
    • -
    • -
    • - - Migration - -
    • -
    - - - - -
    -
    -
    - View on GitHub -

    CSS Grid

    -
    -

    Learn how to enable, use, and customize our alternate layout system built on CSS Grid with examples and code snippets.

    - - -
    - - - - - -
    - - -

    Bootstrap’s default grid system represents the culmination of over a decade of CSS layout techniques, tried and tested by millions of people. But, it was also created without many of the modern CSS features and techniques we’re seeing in browsers like the new CSS Grid.

    -
    -Heads up—our CSS Grid system is experimental and opt-in as of v5.1.0! We included it in our documentation’s CSS to demonstrate it for you, but it’s disabled by default. Keep reading to learn how to enable it in your projects. -
    - -

    How it works

    -

    With Bootstrap 5, we’ve added the option to enable a separate grid system that’s built on CSS Grid, but with a Bootstrap twist. You still get classes you can apply on a whim to build responsive layouts, but with a different approach under the hood.

    -
      -
    • -

      CSS Grid is opt-in. Disable the default grid system by setting $enable-grid-classes: false and enable the CSS Grid by setting $enable-cssgrid: true. Then, recompile your Sass.

      -
    • -
    • -

      Replace instances of .row with .grid. The .grid class sets display: grid and creates a grid-template that you build on with your HTML.

      -
    • -
    • -

      Replace .col-* classes with .g-col-* classes. This is because our CSS Grid columns use the grid-column property instead of width.

      -
    • -
    • -

      Columns and gutter sizes are set via CSS variables. Set these on the parent .grid and customize however you want, inline or in a stylesheet, with --bs-columns and --bs-gap.

      -
    • -
    -

    In the future, Bootstrap will likely shift to a hybrid solution as the gap property has achieved nearly full browser support for flexbox.

    -

    Key differences

    -

    Compared to the default grid system:

    -
      -
    • -

      Flex utilities don’t affect the CSS Grid columns in the same way.

      -
    • -
    • -

      Gaps replaces gutters. The gap property replaces the horizontal padding from our default grid system and functions more like margin.

      -
    • -
    • -

      As such, unlike .rows, .grids have no negative margins and margin utilities cannot be used to change the grid gutters. Grid gaps are applied horizontally and vertically by default. See the customizing section for more details.

      -
    • -
    • -

      Inline and custom styles should be viewed as replacements for modifier classes (e.g., style="--bs-columns: 3;" vs class="row-cols-3").

      -
    • -
    • -

      Nesting works similarly, but may require you to reset your column counts on each instance of a nested .grid. See the nesting section for details.

      -
    • -
    -

    Examples

    -

    Three columns

    -

    Three equal-width columns across all viewports and devices can be created by using the .g-col-4 classes. Add responsive classes to change the layout by viewport size.

    -
    -
    -
    .g-col-4
    -
    .g-col-4
    -
    .g-col-4
    -
    -
    <div class="grid">
    -  <div class="g-col-4">.g-col-4</div>
    -  <div class="g-col-4">.g-col-4</div>
    -  <div class="g-col-4">.g-col-4</div>
    -</div>
    -

    Responsive

    -

    Use responsive classes to adjust your layout across viewports. Here we start with two columns on the narrowest viewports, and then grow to three columns on medium viewports and above.

    -
    -
    -
    .g-col-6 .g-col-md-4
    -
    .g-col-6 .g-col-md-4
    -
    .g-col-6 .g-col-md-4
    -
    -
    <div class="grid">
    -  <div class="g-col-6 g-col-md-4">.g-col-6 .g-col-md-4</div>
    -  <div class="g-col-6 g-col-md-4">.g-col-6 .g-col-md-4</div>
    -  <div class="g-col-6 g-col-md-4">.g-col-6 .g-col-md-4</div>
    -</div>
    -

    Compare that to this two column layout at all viewports.

    -
    -
    -
    .g-col-6
    -
    .g-col-6
    -
    -
    <div class="grid">
    -  <div class="g-col-6">.g-col-6</div>
    -  <div class="g-col-6">.g-col-6</div>
    -</div>
    -

    Wrapping

    -

    Grid items automatically wrap to the next line when there’s no more room horizontally. Note that the gap applies to horizontal and vertical gaps between grid items.

    -
    -
    -
    .g-col-6
    -
    .g-col-6
    - -
    .g-col-6
    -
    .g-col-6
    -
    -
    <div class="grid">
    -  <div class="g-col-6">.g-col-6</div>
    -  <div class="g-col-6">.g-col-6</div>
    -
    -  <div class="g-col-6">.g-col-6</div>
    -  <div class="g-col-6">.g-col-6</div>
    -</div>
    -

    Starts

    -

    Start classes aim to replace our default grid’s offset classes, but they’re not entirely the same. CSS Grid creates a grid template through styles that tell browsers to “start at this column” and “end at this column.” Those properties are grid-column-start and grid-column-end. Start classes are shorthand for the former. Pair them with the column classes to size and align your columns however you need. Start classes begin at 1 as 0 is an invalid value for these properties.

    -
    -
    -
    .g-col-3 .g-start-2
    -
    .g-col-4 .g-start-6
    -
    -
    <div class="grid">
    -  <div class="g-col-3 g-start-2">.g-col-3 .g-start-2</div>
    -  <div class="g-col-4 g-start-6">.g-col-4 .g-start-6</div>
    -</div>
    -

    Auto columns

    -

    When there are no classes on the grid items (the immediate children of a .grid), each grid item will automatically be sized to one column.

    -
    -
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    -
    <div class="grid">
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -</div>
    -

    This behavior can be mixed with grid column classes.

    -
    -
    -
    .g-col-6
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    1
    -
    -
    <div class="grid">
    -  <div class="g-col-6">.g-col-6</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -  <div>1</div>
    -</div>
    -

    Nesting

    -

    Similar to our default grid system, our CSS Grid allows for easy nesting of .grids. However, unlike the default, this grid inherits changes in the rows, columns, and gaps. Consider the example below:

    -
      -
    • We override the default number of columns with a local CSS variable: --bs-columns: 3.
    • -
    • In the first auto-column, the column count is inherited and each column is one-third of the available width.
    • -
    • In the second auto-column, we’ve reset the column count on the nested .grid to 12 (our default).
    • -
    • The third auto-column has no nested content.
    • -
    -

    In practice this allows for more complex and custom layouts when compared to our default grid system.

    -
    -
    -
    - First auto-column -
    -
    Auto-column
    -
    Auto-column
    +
    -
  • -
    - Second auto-column -
    -
    6 of 12
    -
    4 of 12
    -
    2 of 12
    -
    -
    -
    Third auto-column
    - -
    <div class="grid" style="--bs-columns: 3;">
    -  <div>
    -    First auto-column
    -    <div class="grid">
    -      <div>Auto-column</div>
    -      <div>Auto-column</div>
    -    </div>
    -  </div>
    -  <div>
    -    Second auto-column
    -    <div class="grid" style="--bs-columns: 12;">
    -      <div class="g-col-6">6 of 12</div>
    -      <div class="g-col-4">4 of 12</div>
    -      <div class="g-col-2">2 of 12</div>
    -    </div>
    -  </div>
    -  <div>Third auto-column</div>
    -</div>
    -

    Customizing

    -

    Customize the number of columns, the number of rows, and the width of the gaps with local CSS variables.

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    VariableFallback valueDescription
    --bs-rows1The number of rows in your grid template
    --bs-columns12The number of columns in your grid template
    --bs-gap1.5remThe size of the gap between columns (vertical and horizontal)
    - -

    These CSS variables have no default value; instead, they apply fallback values that are used until a local instance is provided. For example, we use var(--bs-rows, 1) for our CSS Grid rows, which ignores --bs-rows because that hasn’t been set anywhere yet. Once it is, the .grid instance will use that value instead of the fallback value of 1.

    -

    No grid classes

    -

    Immediate children elements of .grid are grid items, so they’ll be sized without explicitly adding a .g-col class.

    -
    -
    -
    Auto-column
    -
    Auto-column
    -
    Auto-column
    -
    -
    <div class="grid" style="--bs-columns: 3;">
    -  <div>Auto-column</div>
    -  <div>Auto-column</div>
    -  <div>Auto-column</div>
    -</div>
    -

    Columns and gaps

    -

    Adjust the number of columns and the gap.

    -
    -
    -
    .g-col-2
    -
    .g-col-2
    -
    -
    <div class="grid" style="--bs-columns: 4; --bs-gap: 5rem;">
    -  <div class="g-col-2">.g-col-2</div>
    -  <div class="g-col-2">.g-col-2</div>
    -</div>
    -
    -
    -
    .g-col-6
    -
    .g-col-4
    -
    -
    <div class="grid" style="--bs-columns: 10; --bs-gap: 1rem;">
    -  <div class="g-col-6">.g-col-6</div>
    -  <div class="g-col-4">.g-col-4</div>
    -</div>
    -

    Adding rows

    -

    Adding more rows and changing the placement of columns:

    -
    -
    -
    Auto-column
    -
    Auto-column
    -
    Auto-column
    -
    -
    <div class="grid" style="--bs-rows: 3; --bs-columns: 3;">
    -  <div>Auto-column</div>
    -  <div class="g-start-2" style="grid-row: 2">Auto-column</div>
    -  <div class="g-start-3" style="grid-row: 3">Auto-column</div>
    -</div>
    -

    Gaps

    -

    Change the vertical gaps only by modifying the row-gap. Note that we use gap on .grids, but row-gap and column-gap can be modified as needed.

    -
    -
    -
    .g-col-6
    -
    .g-col-6
    - -
    .g-col-6
    -
    .g-col-6
    -
    -
    <div class="grid" style="row-gap: 0;">
    -  <div class="g-col-6">.g-col-6</div>
    -  <div class="g-col-6">.g-col-6</div>
    -
    -  <div class="g-col-6">.g-col-6</div>
    -  <div class="g-col-6">.g-col-6</div>
    -</div>
    -

    Because of that, you can have different vertical and horizontal gaps, which can take a single value (all sides) or a pair of values (vertical and horizontal). This can be applied with an inline style for gap, or with our --bs-gap CSS variable.

    -
    -
    -
    .g-col-6
    -
    .g-col-6
    - -
    .g-col-6
    -
    .g-col-6
    -
    -
    <div class="grid" style="--bs-gap: .25rem 1rem;">
    -  <div class="g-col-6">.g-col-6</div>
    -  <div class="g-col-6">.g-col-6</div>
    -
    -  <div class="g-col-6">.g-col-6</div>
    -  <div class="g-col-6">.g-col-6</div>
    -</div>
    -

    Sass

    -

    One limitation of the CSS Grid is that our default classes are still generated by two Sass variables, $grid-columns and $grid-gutter-width. This effectively predetermines the number of classes generated in our compiled CSS. You have two options here:

    -
      -
    • Modify those default Sass variables and recompile your CSS.
    • -
    • Use inline or custom styles to augment the provided classes.
    • -
    -

    For example, you can increase the column count and change the gap size, and then size your “columns” with a mix of inline styles and predefined CSS Grid column classes (e.g., .g-col-4).

    -
    -
    -
    14 columns
    -
    .g-col-4
    -
    -
    <div class="grid" style="--bs-columns: 18; --bs-gap: .5rem;">
    -  <div style="grid-column: span 14;">14 columns</div>
    -  <div class="g-col-4">.g-col-4</div>
    -</div>
    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/layout/grid/index.html b/layout/grid/index.html index a0a7326..4f2d16f 100644 --- a/layout/grid/index.html +++ b/layout/grid/index.html @@ -1,1126 +1,3508 @@ - - - - - - - - - - - - - - - -Grid system · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Grid system · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + - -
    -
    -
    - View on GitHub -

    Grid system

    + + +
    +
    +
    + +

    Grid system

    +
    +

    + Use our powerful mobile-first flexbox grid to build layouts of all + shapes and sizes thanks to a twelve column system, six default + responsive tiers, Sass variables and mixins, and dozens of + predefined classes. +

    -

    Use our powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, six default responsive tiers, Sass variables and mixins, and dozens of predefined classes.

    - - -
    - -
    - On this page - + - -
    - - -

    Example

    -

    Bootstrap’s grid system uses a series of containers, rows, and columns to layout and align content. It’s built with flexbox and is fully responsive. Below is an example and an in-depth explanation for how the grid system comes together.

    -
    -New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets. -
    - -
    -
    -
    -
    - Column -
    -
    - Column -
    -
    - Column -
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col">
    -      Column
    -    </div>
    -    <div class="col">
    -      Column
    -    </div>
    -    <div class="col">
    -      Column
    -    </div>
    -  </div>
    -</div>
    -

    The above example creates three equal-width columns across all devices and viewports using our predefined grid classes. Those columns are centered in the page with the parent .container.

    -

    How it works

    -

    Breaking it down, here’s how the grid system comes together:

    -
      -
    • -

      Our grid supports six responsive breakpoints. Breakpoints are based on min-width media queries, meaning they affect that breakpoint and all those above it (e.g., .col-sm-4 applies to sm, md, lg, xl, and xxl). This means you can control container and column sizing and behavior by each breakpoint.

      -
    • -
    • -

      Containers center and horizontally pad your content. Use .container for a responsive pixel width, .container-fluid for width: 100% across all viewports and devices, or a responsive container (e.g., .container-md) for a combination of fluid and pixel widths.

      -
    • -
    • -

      Rows are wrappers for columns. Each column has horizontal padding (called a gutter) for controlling the space between them. This padding is then counteracted on the rows with negative margins to ensure the content in your columns is visually aligned down the left side. Rows also support modifier classes to uniformly apply column sizing and gutter classes to change the spacing of your content.

      -
    • -
    • -

      Columns are incredibly flexible. There are 12 template columns available per row, allowing you to create different combinations of elements that span any number of columns. Column classes indicate the number of template columns to span (e.g., col-4 spans four). widths are set in percentages so you always have the same relative sizing.

      -
    • -
    • -

      Gutters are also responsive and customizable. Gutter classes are available across all breakpoints, with all the same sizes as our margin and padding spacing. Change horizontal gutters with .gx-* classes, vertical gutters with .gy-*, or all gutters with .g-* classes. .g-0 is also available to remove gutters.

      -
    • -
    • -

      Sass variables, maps, and mixins power the grid. If you don’t want to use the predefined grid classes in Bootstrap, you can use our grid’s source Sass to create your own with more semantic markup. We also include some CSS custom properties to consume these Sass variables for even greater flexibility for you.

      -
    • -
    -

    Be aware of the limitations and bugs around flexbox, like the inability to use some HTML elements as flex containers.

    -

    Grid options

    -

    Bootstrap’s grid system can adapt across all six default breakpoints, and any breakpoints you customize. The six default grid tiers are as follow:

    -
      -
    • Extra small (xs)
    • -
    • Small (sm)
    • -
    • Medium (md)
    • -
    • Large (lg)
    • -
    • Extra large (xl)
    • -
    • Extra extra large (xxl)
    • -
    -

    As noted above, each of these breakpoints have their own container, unique class prefix, and modifiers. Here’s how the grid changes across these breakpoints:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - xs
    - <576px -
    - sm
    - ≥576px -
    - md
    - ≥768px -
    - lg
    - ≥992px -
    - xl
    - ≥1200px -
    - xxl
    - ≥1400px -
    Container max-widthNone (auto)540px720px960px1140px1320px
    Class prefix.col-.col-sm-.col-md-.col-lg-.col-xl-.col-xxl-
    # of columns12
    Gutter width1.5rem (.75rem on left and right)
    Custom guttersYes
    NestableYes
    Column orderingYes
    -

    Auto-layout columns

    -

    Utilize breakpoint-specific column classes for easy column sizing without an explicit numbered class like .col-sm-6.

    -

    Equal-width

    -

    For example, here are two grid layouts that apply to every device and viewport, from xs to xxl. Add any number of unit-less classes for each breakpoint you need and every column will be the same width.

    -
    -
    -
    -
    - 1 of 2 -
    -
    - 2 of 2 -
    -
    -
    -
    - 1 of 3 -
    -
    - 2 of 3 -
    -
    - 3 of 3 -
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col">
    -      1 of 2
    -    </div>
    -    <div class="col">
    -      2 of 2
    -    </div>
    -  </div>
    -  <div class="row">
    -    <div class="col">
    -      1 of 3
    -    </div>
    -    <div class="col">
    -      2 of 3
    -    </div>
    -    <div class="col">
    -      3 of 3
    -    </div>
    -  </div>
    -</div>
    -

    Setting one column width

    -

    Auto-layout for flexbox grid columns also means you can set the width of one column and have the sibling columns automatically resize around it. You may use predefined grid classes (as shown below), grid mixins, or inline widths. Note that the other columns will resize no matter the width of the center column.

    -
    -
    -
    -
    - 1 of 3 -
    -
    - 2 of 3 (wider) -
    -
    - 3 of 3 -
    -
    -
    -
    - 1 of 3 -
    -
    - 2 of 3 (wider) -
    -
    - 3 of 3 -
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col">
    -      1 of 3
    -    </div>
    -    <div class="col-6">
    -      2 of 3 (wider)
    -    </div>
    -    <div class="col">
    -      3 of 3
    -    </div>
    -  </div>
    -  <div class="row">
    -    <div class="col">
    -      1 of 3
    -    </div>
    -    <div class="col-5">
    -      2 of 3 (wider)
    -    </div>
    -    <div class="col">
    -      3 of 3
    -    </div>
    -  </div>
    -</div>
    -

    Variable width content

    -

    Use col-{breakpoint}-auto classes to size columns based on the natural width of their content.

    -
    -
    -
    -
    - 1 of 3 -
    -
    - Variable width content -
    -
    - 3 of 3 -
    -
    -
    -
    - 1 of 3 -
    -
    - Variable width content -
    -
    - 3 of 3 -
    -
    -
    -
    <div class="container">
    -  <div class="row justify-content-md-center">
    -    <div class="col col-lg-2">
    -      1 of 3
    -    </div>
    -    <div class="col-md-auto">
    -      Variable width content
    -    </div>
    -    <div class="col col-lg-2">
    -      3 of 3
    -    </div>
    -  </div>
    -  <div class="row">
    -    <div class="col">
    -      1 of 3
    -    </div>
    -    <div class="col-md-auto">
    -      Variable width content
    -    </div>
    -    <div class="col col-lg-2">
    -      3 of 3
    -    </div>
    -  </div>
    -</div>
    -

    Responsive classes

    -

    Bootstrap’s grid includes six tiers of predefined classes for building complex responsive layouts. Customize the size of your columns on extra small, small, medium, large, or extra large devices however you see fit.

    -

    All breakpoints

    -

    For grids that are the same from the smallest of devices to the largest, use the .col and .col-* classes. Specify a numbered class when you need a particularly sized column; otherwise, feel free to stick to .col.

    -
    -
    -
    -
    col
    -
    col
    -
    col
    -
    col
    -
    -
    -
    col-8
    -
    col-4
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col">col</div>
    -    <div class="col">col</div>
    -    <div class="col">col</div>
    -    <div class="col">col</div>
    -  </div>
    -  <div class="row">
    -    <div class="col-8">col-8</div>
    -    <div class="col-4">col-4</div>
    -  </div>
    -</div>
    -

    Stacked to horizontal

    -

    Using a single set of .col-sm-* classes, you can create a basic grid system that starts out stacked and becomes horizontal at the small breakpoint (sm).

    -
    -
    -
    -
    col-sm-8
    -
    col-sm-4
    -
    -
    -
    col-sm
    -
    col-sm
    -
    col-sm
    -
    -
    -
    <div class="container">
    -  <div class="row">
    -    <div class="col-sm-8">col-sm-8</div>
    -    <div class="col-sm-4">col-sm-4</div>
    -  </div>
    -  <div class="row">
    -    <div class="col-sm">col-sm</div>
    -    <div class="col-sm">col-sm</div>
    -    <div class="col-sm">col-sm</div>
    -  </div>
    -</div>
    -

    Mix and match

    -

    Don’t want your columns to simply stack in some grid tiers? Use a combination of different classes for each tier as needed. See the example below for a better idea of how it all works.

    -
    -
    - -
    -
    .col-md-8
    -
    .col-6 .col-md-4
    -
    - - -
    -
    .col-6 .col-md-4
    -
    .col-6 .col-md-4
    -
    .col-6 .col-md-4
    -
    - - -
    -
    .col-6
    -
    .col-6
    -
    -
    -
    <div class="container">
    -  <!-- Stack the columns on mobile by making one full-width and the other half-width -->
    -  <div class="row">
    -    <div class="col-md-8">.col-md-8</div>
    -    <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    -  </div>
    -
    -  <!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->
    -  <div class="row">
    -    <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    -    <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    -    <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    -  </div>
    -
    -  <!-- Columns are always 50% wide, on mobile and desktop -->
    -  <div class="row">
    -    <div class="col-6">.col-6</div>
    -    <div class="col-6">.col-6</div>
    -  </div>
    -</div>
    -

    Row columns

    -

    Use the responsive .row-cols-* classes to quickly set the number of columns that best render your content and layout. Whereas normal .col-* classes apply to the individual columns (e.g., .col-md-4), the row columns classes are set on the parent .row as a shortcut. With .row-cols-auto you can give the columns their natural width.

    -

    Use these row columns classes to quickly create basic grid layouts or to control your card layouts.

    -
    -
    -
    -
    Column
    -
    Column
    -
    Column
    -
    Column
    -
    -
    -
    <div class="container">
    -  <div class="row row-cols-2">
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -  </div>
    -</div>
    -
    -
    -
    -
    Column
    -
    Column
    -
    Column
    -
    Column
    -
    -
    -
    <div class="container">
    -  <div class="row row-cols-3">
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -  </div>
    -</div>
    -
    -
    -
    -
    Column
    -
    Column
    -
    Column
    -
    Column
    -
    -
    -
    <div class="container">
    -  <div class="row row-cols-auto">
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -  </div>
    -</div>
    -
    -
    -
    -
    Column
    -
    Column
    -
    Column
    -
    Column
    -
    -
    -
    <div class="container">
    -  <div class="row row-cols-4">
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -  </div>
    -</div>
    -
    -
    -
    -
    Column
    -
    Column
    -
    Column
    -
    Column
    -
    -
    -
    <div class="container">
    -  <div class="row row-cols-4">
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col-6">Column</div>
    -    <div class="col">Column</div>
    -  </div>
    -</div>
    -
    -
    -
    -
    Column
    -
    Column
    -
    Column
    -
    Column
    -
    -
    -
    <div class="container">
    -  <div class="row row-cols-1 row-cols-sm-2 row-cols-md-4">
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -    <div class="col">Column</div>
    -  </div>
    -</div>
    -

    You can also use the accompanying Sass mixin, row-cols():

    -
    .element {
    -  // Three columns to start
    -  @include row-cols(3);
    -
    -  // Five columns from medium breakpoint up
    -  @include media-breakpoint-up(md) {
    -    @include row-cols(5);
    -  }
    -}
    -

    Nesting

    -

    To nest your content with the default grid, add a new .row and set of .col-sm-* columns within an existing .col-sm-* column. Nested rows should include a set of columns that add up to 12 or fewer (it is not required that you use all 12 available columns).

    -
    -
    -
    -
    - Level 1: .col-sm-3 -
    -
    -
    -
    - Level 2: .col-8 .col-sm-6 -
    -
    - Level 2: .col-4 .col-sm-6 +
    +

    + Example + +

    +

    + Bootstrap’s grid system uses a series of containers, rows, and + columns to layout and align content. It’s built with + flexbox + and is fully responsive. Below is an example and an in-depth + explanation for how the grid system comes together. +

    +
    + New to or unfamiliar with flexbox? + Read this CSS Tricks flexbox guide + for background, terminology, guidelines, and code snippets. +
    + +
    +
    +
    +
    +
    Column
    +
    Column
    +
    Column
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col">
    +      Column
    +    </div>
    +    <div class="col">
    +      Column
    +    </div>
    +    <div class="col">
    +      Column
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + The above example creates three equal-width columns across all + devices and viewports using our predefined grid classes. Those + columns are centered in the page with the parent + .container. +

    +

    + How it works + +

    +

    + Breaking it down, here’s how the grid system comes together: +

    +
      +
    • +

      + Our grid supports + six responsive breakpoints. + Breakpoints are based on min-width media queries, + meaning they affect that breakpoint and all those above it + (e.g., .col-sm-4 applies to sm, + md, lg, xl, and + xxl). This means you can control container and + column sizing and behavior by each breakpoint. +

      +
    • +
    • +

      + Containers center and horizontally pad your content. + Use .container for a responsive pixel width, + .container-fluid for + width: 100% across all viewports and devices, or a + responsive container (e.g., .container-md) for a + combination of fluid and pixel widths. +

      +
    • +
    • +

      + Rows are wrappers for columns. Each column has + horizontal padding (called a gutter) for + controlling the space between them. This padding is + then counteracted on the rows with negative margins to ensure + the content in your columns is visually aligned down the left + side. Rows also support modifier classes to + uniformly apply column sizing and + gutter classes to change the + spacing of your content. +

      +
    • +
    • +

      + Columns are incredibly flexible. There are 12 + template columns available per row, allowing you to create + different combinations of elements that span any number of + columns. Column classes indicate the number of template columns + to span (e.g., col-4 spans four). + widths are set in percentages so you always have + the same relative sizing. +

      +
    • +
    • +

      + Gutters are also responsive and customizable. + Gutter classes are available + across all breakpoints, with all the same sizes as our + margin and padding spacing. Change horizontal gutters with .gx-* classes, + vertical gutters with .gy-*, or all gutters with + .g-* classes. .g-0 is also available + to remove gutters. +

      +
    • +
    • +

      + Sass variables, maps, and mixins power the grid. + If you don’t want to use the predefined grid classes in + Bootstrap, you can use our + grid’s source Sass to create your own + with more semantic markup. We also include some CSS custom + properties to consume these Sass variables for even greater + flexibility for you. +

      +
    • +
    +

    + Be aware of the limitations and + bugs around flexbox, like the + inability to use some HTML elements as flex containers. +

    +

    + Grid options + +

    +

    + Bootstrap’s grid system can adapt across all six default + breakpoints, and any breakpoints you customize. The six default grid + tiers are as follows: +

    +
      +
    • Extra small (xs)
    • +
    • Small (sm)
    • +
    • Medium (md)
    • +
    • Large (lg)
    • +
    • Extra large (xl)
    • +
    • Extra extra large (xxl)
    • +
    +

    + As noted above, each of these breakpoints have their own container, + unique class prefix, and modifiers. Here’s how the grid + changes across these breakpoints: +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + xs
    + <576px +
    + sm
    + ≥576px +
    + md
    + ≥768px +
    + lg
    + ≥992px +
    + xl
    + ≥1200px +
    + xxl
    + ≥1400px +
    + Container max-width + None (auto)540px720px960px1140px1320px
    Class prefix.col-.col-sm-.col-md-.col-lg-.col-xl-.col-xxl-
    # of columns12
    Gutter width1.5rem (.75rem on left and right)
    Custom guttersYes
    NestableYes
    Column ordering + Yes +
    +
    +

    + Auto-layout columns + +

    +

    + Utilize breakpoint-specific column classes for easy column sizing + without an explicit numbered class like .col-sm-6. +

    +

    + Equal-width + +

    +

    + For example, here are two grid layouts that apply to every device + and viewport, from xs to xxl. Add any + number of unit-less classes for each breakpoint you need and every + column will be the same width. +

    +
    +
    +
    +
    +
    1 of 2
    +
    2 of 2
    +
    +
    +
    1 of 3
    +
    2 of 3
    +
    3 of 3
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col">
    +      1 of 2
    +    </div>
    +    <div class="col">
    +      2 of 2
    +    </div>
    +  </div>
    +  <div class="row">
    +    <div class="col">
    +      1 of 3
    +    </div>
    +    <div class="col">
    +      2 of 3
    +    </div>
    +    <div class="col">
    +      3 of 3
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Setting one column width + +

    +

    + Auto-layout for flexbox grid columns also means you can set the + width of one column and have the sibling columns automatically + resize around it. You may use predefined grid classes (as shown + below), grid mixins, or inline widths. Note that the other columns + will resize no matter the width of the center column. +

    +
    +
    +
    +
    +
    1 of 3
    +
    2 of 3 (wider)
    +
    3 of 3
    +
    +
    +
    1 of 3
    +
    2 of 3 (wider)
    +
    3 of 3
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col">
    +      1 of 3
    +    </div>
    +    <div class="col-6">
    +      2 of 3 (wider)
    +    </div>
    +    <div class="col">
    +      3 of 3
    +    </div>
    +  </div>
    +  <div class="row">
    +    <div class="col">
    +      1 of 3
    +    </div>
    +    <div class="col-5">
    +      2 of 3 (wider)
    +    </div>
    +    <div class="col">
    +      3 of 3
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Variable width content + +

    +

    + Use col-{breakpoint}-auto classes to size columns based + on the natural width of their content. +

    +
    +
    +
    +
    +
    1 of 3
    +
    Variable width content
    +
    3 of 3
    +
    +
    +
    1 of 3
    +
    Variable width content
    +
    3 of 3
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row justify-content-md-center">
    +    <div class="col col-lg-2">
    +      1 of 3
    +    </div>
    +    <div class="col-md-auto">
    +      Variable width content
    +    </div>
    +    <div class="col col-lg-2">
    +      3 of 3
    +    </div>
    +  </div>
    +  <div class="row">
    +    <div class="col">
    +      1 of 3
    +    </div>
    +    <div class="col-md-auto">
    +      Variable width content
    +    </div>
    +    <div class="col col-lg-2">
    +      3 of 3
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + Responsive classes + +

    +

    + Bootstrap’s grid includes six tiers of predefined classes for + building complex responsive layouts. Customize the size of your + columns on extra small, small, medium, large, or extra large devices + however you see fit. +

    +

    + All breakpoints + +

    +

    + For grids that are the same from the smallest of devices to the + largest, use the .col and .col-* classes. + Specify a numbered class when you need a particularly sized column; + otherwise, feel free to stick to .col. +

    +
    +
    +
    +
    +
    col
    +
    col
    +
    col
    +
    col
    +
    +
    +
    col-8
    +
    col-4
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col">col</div>
    +    <div class="col">col</div>
    +    <div class="col">col</div>
    +    <div class="col">col</div>
    +  </div>
    +  <div class="row">
    +    <div class="col-8">col-8</div>
    +    <div class="col-4">col-4</div>
    +  </div>
    +</div>
    +
    +
    + +

    + Stacked to horizontal + +

    +

    + Using a single set of .col-sm-* classes, you can create + a basic grid system that starts out stacked and becomes horizontal + at the small breakpoint (sm). +

    +
    +
    +
    +
    +
    col-sm-8
    +
    col-sm-4
    +
    +
    +
    col-sm
    +
    col-sm
    +
    col-sm
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col-sm-8">col-sm-8</div>
    +    <div class="col-sm-4">col-sm-4</div>
    +  </div>
    +  <div class="row">
    +    <div class="col-sm">col-sm</div>
    +    <div class="col-sm">col-sm</div>
    +    <div class="col-sm">col-sm</div>
    +  </div>
    +</div>
    +
    +
    + +

    + Mix and match + +

    +

    + Don’t want your columns to simply stack in some grid tiers? + Use a combination of different classes for each tier as needed. See + the example below for a better idea of how it all works. +

    +
    +
    +
    + +
    +
    .col-md-8
    +
    .col-6 .col-md-4
    +
    + + +
    +
    .col-6 .col-md-4
    +
    .col-6 .col-md-4
    +
    .col-6 .col-md-4
    +
    + + +
    +
    .col-6
    +
    .col-6
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <!-- Stack the columns on mobile by making one full-width and the other half-width -->
    +  <div class="row">
    +    <div class="col-md-8">.col-md-8</div>
    +    <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    +  </div>
    +
    +  <!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->
    +  <div class="row">
    +    <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    +    <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    +    <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    +  </div>
    +
    +  <!-- Columns are always 50% wide, on mobile and desktop -->
    +  <div class="row">
    +    <div class="col-6">.col-6</div>
    +    <div class="col-6">.col-6</div>
    +  </div>
    +</div>
    +
    +
    + +

    + Row columns + +

    +

    + Use the responsive .row-cols-* classes to quickly set + the number of columns that best render your content and layout. + Whereas normal .col-* classes apply to the individual + columns (e.g., .col-md-4), the row columns classes are + set on the parent .row as a shortcut. With + .row-cols-auto you can give the columns their natural + width. +

    +

    + Use these row columns classes to quickly create basic grid layouts + or to control your card layouts. +

    +
    +
    +
    +
    +
    Column
    +
    Column
    +
    Column
    +
    Column
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row row-cols-2">
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    +
    +
    Column
    +
    Column
    +
    Column
    +
    Column
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row row-cols-3">
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    +
    +
    Column
    +
    Column
    +
    Column
    +
    Column
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row row-cols-auto">
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    +
    +
    Column
    +
    Column
    +
    Column
    +
    Column
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row row-cols-4">
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    +
    +
    Column
    +
    Column
    +
    Column
    +
    Column
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row row-cols-4">
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col-6">Column</div>
    +    <div class="col">Column</div>
    +  </div>
    +</div>
    +
    +
    + +
    +
    +
    +
    +
    Column
    +
    Column
    +
    Column
    +
    Column
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row row-cols-1 row-cols-sm-2 row-cols-md-4">
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +    <div class="col">Column</div>
    +  </div>
    +</div>
    +
    +
    + +

    + You can also use the accompanying Sass mixin, + row-cols(): +

    +
    +
    .element {
    +  // Three columns to start
    +  @include row-cols(3);
    +
    +  // Five columns from medium breakpoint up
    +  @include media-breakpoint-up(md) {
    +    @include row-cols(5);
    +  }
    +}
    +
    +
    +

    + Nesting + +

    +

    + To nest your content with the default grid, add a new + .row and set of .col-sm-* columns within + an existing .col-sm-* column. Nested rows should + include a set of columns that add up to 12 or fewer (it is not + required that you use all 12 available columns). +

    +
    +
    +
    +
    +
    Level 1: .col-sm-3
    +
    +
    +
    + Level 2: .col-8 .col-sm-6 +
    +
    + Level 2: .col-4 .col-sm-6 +
    +
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row">
    +    <div class="col-sm-3">
    +      Level 1: .col-sm-3
    +    </div>
    +    <div class="col-sm-9">
    +      <div class="row">
    +        <div class="col-8 col-sm-6">
    +          Level 2: .col-8 .col-sm-6
    +        </div>
    +        <div class="col-4 col-sm-6">
    +          Level 2: .col-4 .col-sm-6
    +        </div>
    +      </div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    + +

    + CSS + +

    +

    + When using Bootstrap’s source Sass files, you have the option + of using Sass variables and mixins to create custom, semantic, and + responsive page layouts. Our predefined grid classes use these same + variables and mixins to provide a whole suite of ready-to-use + classes for fast responsive layouts. +

    +

    + Sass variables + +

    +

    + Variables and maps determine the number of columns, the gutter + width, and the media query point at which to begin floating columns. + We use these to generate the predefined grid classes documented + above, as well as for the custom mixins listed below. +

    +
    +
    $grid-columns:      12;
    +$grid-gutter-width: 1.5rem;
    +$grid-row-columns:  6;
    +
    +
    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $grid-breakpoints: (
    +  xs: 0,
    +  sm: 576px,
    +  md: 768px,
    +  lg: 992px,
    +  xl: 1200px,
    +  xxl: 1400px
    +);
    +
    +
    +
    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $container-max-widths: (
    +  sm: 540px,
    +  md: 720px,
    +  lg: 960px,
    +  xl: 1140px,
    +  xxl: 1320px
    +);
    +
    +
    +
    +

    + Sass mixins + +

    +

    + Mixins are used in conjunction with the grid variables to generate + semantic CSS for individual grid columns. +

    +
    +
    // Creates a wrapper for a series of columns
    +@include make-row();
    +
    +// Make the element grid-ready (applying everything but the width)
    +@include make-col-ready();
    +
    +// Without optional size values, the mixin will create equal columns (similar to using .col)
    +@include make-col();
    +@include make-col($size, $columns: $grid-columns);
    +
    +// Offset with margins
    +@include make-col-offset($size, $columns: $grid-columns);
    +
    +
    +

    + Example usage + +

    +

    + You can modify the variables to your own custom values, or just use + the mixins with their default values. Here’s an example of + using the default settings to create a two-column layout with a gap + between. +

    +
    +
    .example-container {
    +  @include make-container();
    +  // Make sure to define this width after the mixin to override
    +  // `width: 100%` generated by `make-container()`
    +  width: 800px;
    +}
    +
    +.example-row {
    +  @include make-row();
    +}
    +
    +.example-content-main {
    +  @include make-col-ready();
    +
    +  @include media-breakpoint-up(sm) {
    +    @include make-col(6);
    +  }
    +  @include media-breakpoint-up(lg) {
    +    @include make-col(8);
    +  }
    +}
    +
    +.example-content-secondary {
    +  @include make-col-ready();
    +
    +  @include media-breakpoint-up(sm) {
    +    @include make-col(6);
    +  }
    +  @include media-breakpoint-up(lg) {
    +    @include make-col(4);
    +  }
    +}
    +
    +
    +
    +
    +
    +
    +
    Main content
    +
    Secondary content
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="example-container">
    +  <div class="example-row">
    +    <div class="example-content-main">Main content</div>
    +    <div class="example-content-secondary">Secondary content</div>
    +  </div>
    +</div>
    +
    +
    + +

    + Customizing the grid + +

    +

    + Using our built-in grid Sass variables and maps, it’s possible + to completely customize the predefined grid classes. Change the + number of tiers, the media query dimensions, and the container + widths—then recompile. +

    +

    + Columns and gutters + +

    +

    + The number of grid columns can be modified via Sass variables. + $grid-columns is used to generate the widths (in + percent) of each individual column while + $grid-gutter-width sets the width for the column + gutters. $grid-row-columns is used to set the maximum + number of columns of .row-cols-*, any number over this + limit is ignored. +

    +
    +
    $grid-columns: 12 !default;
    +$grid-gutter-width: 1.5rem !default;
    +$grid-row-columns: 6 !default;
    +
    +
    +

    + Grid tiers + +

    +

    + Moving beyond the columns themselves, you may also customize the + number of grid tiers. If you wanted just four grid tiers, + you’d update the $grid-breakpoints and + $container-max-widths to something like this: +

    +
    +
    $grid-breakpoints: (
    +  xs: 0,
    +  sm: 480px,
    +  md: 768px,
    +  lg: 1024px
    +);
    +
    +$container-max-widths: (
    +  sm: 420px,
    +  md: 720px,
    +  lg: 960px
    +);
    +
    +
    +

    + When making any changes to the Sass variables or maps, you’ll + need to save your changes and recompile. Doing so will output a + brand-new set of predefined grid classes for column widths, offsets, + and ordering. Responsive visibility utilities will also be updated + to use the custom breakpoints. Make sure to set grid values in + px (not rem, em, or + %). +

    -
    +
    - - -
    <div class="container">
    -  <div class="row">
    -    <div class="col-sm-3">
    -      Level 1: .col-sm-3
    -    </div>
    -    <div class="col-sm-9">
    -      <div class="row">
    -        <div class="col-8 col-sm-6">
    -          Level 2: .col-8 .col-sm-6
    -        </div>
    -        <div class="col-4 col-sm-6">
    -          Level 2: .col-4 .col-sm-6
    -        </div>
    -      </div>
    -    </div>
    -  </div>
    -</div>
    -

    Sass

    -

    When using Bootstrap’s source Sass files, you have the option of using Sass variables and mixins to create custom, semantic, and responsive page layouts. Our predefined grid classes use these same variables and mixins to provide a whole suite of ready-to-use classes for fast responsive layouts.

    -

    Variables

    -

    Variables and maps determine the number of columns, the gutter width, and the media query point at which to begin floating columns. We use these to generate the predefined grid classes documented above, as well as for the custom mixins listed below.

    -
    $grid-columns:      12;
    -$grid-gutter-width: 1.5rem;
    -
    $grid-breakpoints: (
    -  xs: 0,
    -  sm: 576px,
    -  md: 768px,
    -  lg: 992px,
    -  xl: 1200px,
    -  xxl: 1400px
    -);
    -
    -
    $container-max-widths: (
    -  sm: 540px,
    -  md: 720px,
    -  lg: 960px,
    -  xl: 1140px,
    -  xxl: 1320px
    -);
    -
    -

    Mixins

    -

    Mixins are used in conjunction with the grid variables to generate semantic CSS for individual grid columns.

    -
    // Creates a wrapper for a series of columns
    -@include make-row();
    -
    -// Make the element grid-ready (applying everything but the width)
    -@include make-col-ready();
    -
    -// Without optional size values, the mixin will create equal columns (similar to using .col)
    -@include make-col();
    -@include make-col($size, $columns: $grid-columns);
    -
    -// Offset with margins
    -@include make-col-offset($size, $columns: $grid-columns);
    -

    Example usage

    -

    You can modify the variables to your own custom values, or just use the mixins with their default values. Here’s an example of using the default settings to create a two-column layout with a gap between.

    -
    .example-container {
    -  @include make-container();
    -  // Make sure to define this width after the mixin to override
    -  // `width: 100%` generated by `make-container()`
    -  width: 800px;
    -}
    -
    -.example-row {
    -  @include make-row();
    -}
    -
    -.example-content-main {
    -  @include make-col-ready();
    -
    -  @include media-breakpoint-up(sm) {
    -    @include make-col(6);
    -  }
    -  @include media-breakpoint-up(lg) {
    -    @include make-col(8);
    -  }
    -}
    -
    -.example-content-secondary {
    -  @include make-col-ready();
    -
    -  @include media-breakpoint-up(sm) {
    -    @include make-col(6);
    -  }
    -  @include media-breakpoint-up(lg) {
    -    @include make-col(4);
    -  }
    -}
    -
    -
    -
    -
    Main content
    -
    Secondary content
    -
    -
    -
    <div class="example-container">
    -  <div class="example-row">
    -    <div class="example-content-main">Main content</div>
    -    <div class="example-content-secondary">Secondary content</div>
    -  </div>
    -</div>
    -

    Customizing the grid

    -

    Using our built-in grid Sass variables and maps, it’s possible to completely customize the predefined grid classes. Change the number of tiers, the media query dimensions, and the container widths—then recompile.

    -

    Columns and gutters

    -

    The number of grid columns can be modified via Sass variables. $grid-columns is used to generate the widths (in percent) of each individual column while $grid-gutter-width sets the width for the column gutters.

    -
    $grid-columns: 12 !default;
    -$grid-gutter-width: 1.5rem !default;
    -

    Grid tiers

    -

    Moving beyond the columns themselves, you may also customize the number of grid tiers. If you wanted just four grid tiers, you’d update the $grid-breakpoints and $container-max-widths to something like this:

    -
    $grid-breakpoints: (
    -  xs: 0,
    -  sm: 480px,
    -  md: 768px,
    -  lg: 1024px
    -);
    -
    -$container-max-widths: (
    -  sm: 420px,
    -  md: 720px,
    -  lg: 960px
    -);
    -

    When making any changes to the Sass variables or maps, you’ll need to save your changes and recompile. Doing so will output a brand new set of predefined grid classes for column widths, offsets, and ordering. Responsive visibility utilities will also be updated to use the custom breakpoints. Make sure to set grid values in px (not rem, em, or %).

    + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/layout/gutters/index.html b/layout/gutters/index.html index daf0da3..f37a23b 100644 --- a/layout/gutters/index.html +++ b/layout/gutters/index.html @@ -1,681 +1,2454 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Gutters · Bootstrap v5.3 -Gutters · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
    + + +
    +
    +
    + +

    Gutters

    +
    +

    + Gutters are the padding between your columns, used to responsively + space and align content in the Bootstrap grid system. +

    - -
  • - - -
  • -
  • -
  • - - Migration - -
  • - - - +
    +

    + How they work + +

    +
      +
    • +

      + Gutters are the gaps between column content, created by + horizontal padding. + We set padding-right and + padding-left on each column, and use negative + margin to offset that at the start and end of each + row to align content. +

      +
    • +
    • +

      + Gutters start at 1.5rem (24px) + wide. + This allows us to match our grid to the + padding and margin spacers + scale. +

      +
    • +
    • +

      + Gutters can be responsively adjusted. Use + breakpoint-specific gutter classes to modify horizontal gutters, + vertical gutters, and all gutters. +

      +
    • +
    +

    + Horizontal gutters + +

    +

    + .gx-* classes can be used to control the horizontal + gutter widths. The .container or + .container-fluid parent may need to be adjusted if + larger gutters are used too to avoid unwanted overflow, using a + matching padding utility. For example, in the following example + we’ve increased the padding with .px-4: +

    +
    +
    +
    +
    +
    +
    Custom column padding
    +
    +
    +
    Custom column padding
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container px-4 text-center">
    +  <div class="row gx-5">
    +    <div class="col">
    +     <div class="p-3">Custom column padding</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    -
    -
    -
    - View on GitHub -

    Gutters

    -
    -

    Gutters are the padding between your columns, used to responsively space and align content in the Bootstrap grid system.

    - +

    + An alternative solution is to add a wrapper around the + .row with the .overflow-hidden class: +

    +
    +
    +
    +
    +
    +
    Custom column padding
    +
    +
    +
    Custom column padding
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container overflow-hidden text-center">
    +  <div class="row gx-5">
    +    <div class="col">
    +     <div class="p-3">Custom column padding</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    -
    +

    + Vertical gutters + +

    +

    + .gy-* classes can be used to control the vertical + gutter widths within a row when columns wrap to new lines. Like the + horizontal gutters, the vertical gutters can cause some overflow + below the .row at the end of a page. If this occurs, + you add a wrapper around .row with the + .overflow-hidden class: +

    +
    +
    +
    +
    +
    +
    Custom column padding
    +
    +
    +
    Custom column padding
    +
    +
    +
    Custom column padding
    +
    +
    +
    Custom column padding
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container overflow-hidden text-center">
    +  <div class="row gy-5">
    +    <div class="col-6">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +    <div class="col-6">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +    <div class="col-6">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +    <div class="col-6">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    + Horizontal & vertical gutters + +

    +

    + Use .g-* classes to control the horizontal and vertical + grid gutters. In the example below, we use a smaller gutter width, + so there isn’t a need for the + .overflow-hidden wrapper class. +

    +
    +
    +
    +
    +
    +
    Custom column padding
    +
    +
    +
    Custom column padding
    +
    +
    +
    Custom column padding
    +
    +
    +
    Custom column padding
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row g-2">
    +    <div class="col-6">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +    <div class="col-6">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +    <div class="col-6">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +    <div class="col-6">
    +      <div class="p-3">Custom column padding</div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    - +

    + Row columns gutters + +

    +

    + Gutter classes can also be added to + row columns. In the + following example, we use responsive row columns and responsive + gutter classes. +

    +
    +
    +
    +
    +
    +
    Row column
    +
    +
    +
    Row column
    +
    +
    +
    Row column
    +
    +
    +
    Row column
    +
    +
    +
    Row column
    +
    +
    +
    Row column
    +
    +
    +
    Row column
    +
    +
    +
    Row column
    +
    +
    +
    Row column
    +
    +
    +
    Row column
    +
    +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="container text-center">
    +  <div class="row row-cols-2 row-cols-lg-5 g-2 g-lg-3">
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +    <div class="col">
    +      <div class="p-3">Row column</div>
    +    </div>
    +  </div>
    +</div>
    +
    +
    +

    + No gutters + +

    +

    + The gutters between columns in our predefined grid classes can be + removed with .g-0. This removes the negative + margins from .row and the horizontal + padding from all immediate children columns. +

    +

    + Need an edge-to-edge design? Drop the parent + .container or .container-fluid and add + .mx-0 to the .row to prevent overflow. +

    +

    + In practice, here’s how it looks. Note you can continue to use + this with all other predefined grid classes (including column + widths, responsive tiers, reorders, and more). +

    +
    +
    +
    +
    .col-sm-6 .col-md-8
    +
    .col-6 .col-md-4
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="row g-0 text-center">
    +  <div class="col-sm-6 col-md-8">.col-sm-6 .col-md-8</div>
    +  <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    +</div>
    +
    +
    -
    - - -

    How they work

    -
      -
    • -

      Gutters are the gaps between column content, created by horizontal padding. We set padding-right and padding-left on each column, and use negative margin to offset that at the start and end of each row to align content.

      -
    • -
    • -

      Gutters start at 1.5rem (24px) wide. This allows us to match our grid to the padding and margin spacers scale.

      -
    • -
    • -

      Gutters can be responsively adjusted. Use breakpoint-specific gutter classes to modify horizontal gutters, vertical gutters, and all gutters.

      -
    • -
    -

    Horizontal gutters

    -

    .gx-* classes can be used to control the horizontal gutter widths. The .container or .container-fluid parent may need to be adjusted if larger gutters are used too to avoid unwanted overflow, using a matching padding utility. For example, in the following example we’ve increased the padding with .px-4:

    -
    -
    -
    -
    -
    Custom column padding
    -
    -
    -
    Custom column padding
    -
    -
    -
    -
    <div class="container px-4">
    -  <div class="row gx-5">
    -    <div class="col">
    -     <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -  </div>
    -</div>
    -

    An alternative solution is to add a wrapper around the .row with the .overflow-hidden class:

    -
    -
    -
    -
    -
    Custom column padding
    -
    -
    -
    Custom column padding
    -
    -
    -
    -
    <div class="container overflow-hidden">
    -  <div class="row gx-5">
    -    <div class="col">
    -     <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -  </div>
    -</div>
    -

    Vertical gutters

    -

    .gy-* classes can be used to control the vertical gutter widths. Like the horizontal gutters, the vertical gutters can cause some overflow below the .row at the end of a page. If this occurs, you add a wrapper around .row with the .overflow-hidden class:

    -
    -
    -
    -
    -
    Custom column padding
    -
    -
    -
    Custom column padding
    -
    -
    -
    Custom column padding
    -
    -
    -
    Custom column padding
    -
    -
    -
    -
    <div class="container overflow-hidden">
    -  <div class="row gy-5">
    -    <div class="col-6">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -    <div class="col-6">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -    <div class="col-6">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -    <div class="col-6">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -  </div>
    -</div>
    -

    Horizontal & vertical gutters

    -

    .g-* classes can be used to control the horizontal gutter widths, for the following example we use a smaller gutter width, so there won’t be a need to add the .overflow-hidden wrapper class.

    -
    -
    -
    -
    -
    Custom column padding
    -
    -
    -
    Custom column padding
    -
    -
    -
    Custom column padding
    -
    -
    -
    Custom column padding
    -
    -
    -
    -
    <div class="container">
    -  <div class="row g-2">
    -    <div class="col-6">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -    <div class="col-6">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -    <div class="col-6">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -    <div class="col-6">
    -      <div class="p-3 border bg-light">Custom column padding</div>
    -    </div>
    -  </div>
    -</div>
    -

    Row columns gutters

    -

    Gutter classes can also be added to row columns. In the following example, we use responsive row columns and responsive gutter classes.

    -
    -
    -
    -
    -
    Row column
    -
    -
    -
    Row column
    -
    -
    -
    Row column
    -
    -
    -
    Row column
    -
    -
    -
    Row column
    -
    -
    -
    Row column
    -
    -
    -
    Row column
    -
    -
    -
    Row column
    -
    -
    -
    Row column
    -
    -
    -
    Row column
    +

    + Change the gutters + +

    +

    + Classes are built from the $gutters Sass map which is + inherited from the $spacers Sass map. +

    +
    +
    $grid-gutter-width: 1.5rem;
    +$gutters: (
    +  0: 0,
    +  1: $spacer * .25,
    +  2: $spacer * .5,
    +  3: $spacer,
    +  4: $spacer * 1.5,
    +  5: $spacer * 3,
    +);
    +
    +
    +
    +
    -
    - -
    <div class="container">
    -  <div class="row row-cols-2 row-cols-lg-5 g-2 g-lg-3">
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -    <div class="col">
    -      <div class="p-3 border bg-light">Row column</div>
    -    </div>
    -  </div>
    -</div>
    -

    No gutters

    -

    The gutters between columns in our predefined grid classes can be removed with .g-0. This removes the negative margins from .row and the horizontal padding from all immediate children columns.

    -

    Need an edge-to-edge design? Drop the parent .container or .container-fluid.

    -

    In practice, here’s how it looks. Note you can continue to use this with all other predefined grid classes (including column widths, responsive tiers, reorders, and more).

    -
    -
    -
    .col-sm-6 .col-md-8
    -
    .col-6 .col-md-4
    -
    -
    <div class="row g-0">
    -  <div class="col-sm-6 col-md-8">.col-sm-6 .col-md-8</div>
    -  <div class="col-6 col-md-4">.col-6 .col-md-4</div>
    -</div>
    -

    Change the gutters

    -

    Classes are built from the $gutters Sass map which is inherited from the $spacers Sass map.

    -
    $grid-gutter-width: 1.5rem;
    -$gutters: (
    -  0: 0,
    -  1: $spacer * .25,
    -  2: $spacer * .5,
    -  3: $spacer,
    -  4: $spacer * 1.5,
    -  5: $spacer * 3,
    -);
    -
    - - - - - + - + + + - + - + + + + diff --git a/layout/utilities/index.html b/layout/utilities/index.html index 4806bf8..84c0cec 100644 --- a/layout/utilities/index.html +++ b/layout/utilities/index.html @@ -1,465 +1,1970 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Utilities for layout · Bootstrap v5.3 -Utilities for layout · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + +
    +
    +
    + +

    Utilities for layout

    +
    +

    + For faster mobile-friendly and responsive development, Bootstrap + includes dozens of utility classes for showing, hiding, aligning, + and spacing content. +

    +
    + +
    + + On this page +
    + +
    + +
    +

    + Changing display + +

    +

    + Use our + display utilities + for responsively toggling common values of the + display property. Mix it with our grid system, content, + or components to show or hide them across specific viewports. +

    +

    + Flexbox options + +

    +

    + Bootstrap is built with flexbox, but not every element’s + display has been changed to + display: flex as this would add many unnecessary + overrides and unexpectedly change key browser behaviors. Most of + our components are + built with flexbox enabled. +

    +

    + Should you need to add display: flex to an element, do + so with .d-flex or one of the responsive variants + (e.g., .d-sm-flex). You’ll need this class or + display value to allow the use of our extra + flexbox utilities for + sizing, alignment, spacing, and more. +

    +

    + Margin and padding + +

    +

    + Use the margin and padding + spacing utilities + to control how elements and components are spaced and sized. + Bootstrap includes a six-level scale for spacing utilities, based on + a 1rem value default $spacer variable. + Choose values for all viewports (e.g., .me-3 for + margin-right: 1rem in LTR), or pick responsive variants + to target specific viewports (e.g., .me-md-3 for + margin-right: 1rem —in LTR— starting at the + md breakpoint). +

    +

    + Toggle visibility + +

    +

    + When toggling display isn’t needed, you can + toggle the visibility of an element with our + visibility utilities. Invisible elements will still affect the layout of the page, but + are visually hidden from visitors. +

    +
    +
    - - - + + + + + - + - + + + + + diff --git a/layout/z-index/index.html b/layout/z-index/index.html index f69fae8..4e25317 100644 --- a/layout/z-index/index.html +++ b/layout/z-index/index.html @@ -1,458 +1,1925 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Z-index · Bootstrap v5.3 -Z-index · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + +
    +
    +
    + +

    Z-index

    +
    +

    + While not a part of Bootstrap’s grid system, z-indexes play an + important part in how our components overlay and interact with one + another. +

    +
    + +
    +

    + Several Bootstrap components utilize z-index, the CSS + property that helps control layout by providing a third axis to + arrange content. We utilize a default z-index scale in Bootstrap + that’s been designed to properly layer navigation, tooltips + and popovers, modals, and more. +

    +

    + These higher values start at an arbitrary number, high and specific + enough to ideally avoid conflicts. We need a standard set of these + across our layered components—tooltips, popovers, navbars, + dropdowns, modals—so we can be reasonably consistent in the + behaviors. There’s no reason we couldn’t have used + 100+ or 500+. +

    +

    + We don’t encourage customization of these individual values; + should you change one, you likely need to change them all. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $zindex-dropdown:                   1000;
    +$zindex-sticky:                     1020;
    +$zindex-fixed:                      1030;
    +$zindex-offcanvas-backdrop:         1040;
    +$zindex-offcanvas:                  1045;
    +$zindex-modal-backdrop:             1050;
    +$zindex-modal:                      1055;
    +$zindex-popover:                    1070;
    +$zindex-tooltip:                    1080;
    +$zindex-toast:                      1090;
    +
    +
    +
    +

    + To handle overlapping borders within components (e.g., buttons and + inputs in input groups), we use low single digit + z-index values of 1, 2, and + 3 for default, hover, and active states. On + hover/focus/active, we bring a particular element to the forefront + with a higher z-index value to show their border over + the sibling elements. +

    +
    +
    - - - + + + + + - + - + + + + + diff --git a/migration/index.html b/migration/index.html index ef6e340..81e67b2 100644 --- a/migration/index.html +++ b/migration/index.html @@ -1,1046 +1,4759 @@ - - - - - - - - - - - + + + + + + + + + + - - + + -Migrating to v5 · Bootstrap v5.1 + Migrating to v5 · Bootstrap v5.3 - + + + + - - + + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - Download - - - +
    + -
    - +
    +
    +
    + +

    Migrating to v5

    +
    +

    + Track and review changes to the Bootstrap source files, + documentation, and components to help you migrate from v4 to v5. +

    - -
  • - -
  • -
  • - -
    -
      -
    • Reboot
    • -
    • Typography
    • -
    • Images
    • -
    • Tables
    • -
    • Figures
    • +
      +

      + v5.3.0 + +

      +

      + If you’re migrating from our previous alpha releases of + v5.3.0, please review their changes in addition to this section. +

      +

      + Utilities + +

      + -
      - -
    • - - -
      -
      -
    • -
    • - - -
      -
        -
      • Accordion
      • -
      • Alerts
      • -
      • Badge
      • -
      • Breadcrumb
      • -
      • Buttons
      • -
      • Button group
      • -
      • Card
      • -
      • Carousel
      • -
      • Close button
      • -
      • Collapse
      • -
      • Dropdowns
      • -
      • List group
      • -
      • Modal
      • -
      • Navs & tabs
      • -
      • Navbar
      • -
      • Offcanvas
      • -
      • Pagination
      • -
      • Placeholders
      • -
      • Popovers
      • -
      • Progress
      • -
      • Scrollspy
      • -
      • Spinners
      • -
      • Toasts
      • -
      • Tooltips
      • +

        + Color modes + +

        +
          +
        • +

          + Dark mode colors are now derived from our theme colors (e.g., + $primary) in Sass, rather than color specific tints + or shades (e.g., $blue-300). This allows for a more + automated dark mode when customizing the default theme colors. +

          +
        • +
        • +

          + Added Sass maps for generating theme colors for dark mode text, + subtle background, and subtle border. +

          +
        • +
        • +

          + Snippet examples + are now ready for dark mode with updated markup and reduced + custom styles. +

          +
        • +
        • +

          + Added color-scheme: dark to dark mode CSS to change + OS level controls like scrollbars +

          +
        • +
        • +

          + Form validation border-color and text + color states now respond to dark mode, thanks to + new Sass and CSS variables. +

          +
        • +
        • +

          + Dropped recently added form control background CSS variables and + reassigned the Sass variables to use CSS variables instead. This + simplifies the styling across color modes and avoids an issue + where form controls in dark mode wouldn’t update properly. +

          +
        • +
        • +

          + Our box-shadows will once again always stay dark + instead of inverting to white when in dark mode. +

          +
        • +
        • +

          + Improved HTML and JavaScript for our color mode toggle script. + The selector for changing the active SVG has been improved, and + the markup made more accessible with ARIA attributes. +

          +
        • +
        • +

          + Improved docs code syntax colors and more across light and dark + modes. +

          +
        -
      -
    • -
    • - - -
      -
      -
    • -
    • - - -
      -
      -
    • -
    • - - -
      -
        -
      • Approach
      • -
      • Icons
      • +

        + Helpers + +

        +
          +
        • +

          + Added new .icon-link helper to quickly place and + align Bootstrap Icons alongside a textual link. Icon links + support our new link utilities, too. +

          +
        • +
        • +

          + Added new focus ring helper for removing the default + outline and setting a custom + box-shadow focus ring. +

          +
        -
      -
    • -
    • - +

      + Utilities + +

      +
        +
      • +

        + Renamed Sass and CSS variables ${color}-text to + ${color}-text-emphasis to match their associated + utilities. +

        +
      • +
      • +

        + Added new .link-body-emphasis helper alongside our + colored links. + This creates a colored link using our color mode responsive + emphasis color. +

        +
      • +
      • +

        + Added new link utilities for link color opacity, underline + offset, underline color, and underline opacity. + Explore the new links utilities. +

        +
      • +
      • +

        + CSS variable based border-width utilities have been + reverted to set their property directly (as was done prior to + v5.2.0). This avoids inheritance issues across nested elements, + including tables. +

        +
      • +
      • +

        + Added new .border-black utility to match our + .text-black and .bg-black utilities. +

        +
      • +
      • +

        + Deprecated + Deprecated the .text-muted utility and + $text-muted Sass variable. It’s been replaced + by .text-body-secondary and + $body-secondary-color. +

        +
      • +
      +

      + Docs + +

      +
        +
      • +

        + Examples are now displayed with the appropriate light or dark + color mode as dictated by the setting in our docs. Each example + has an individual color mode picker. +

        +
      • +
      • +

        Improved included JavaScript for live Toast demo.

        +
      • +
      • +

        + Added twbs/examples repo contents to the top of the + Examples page. +

        +
      • +
      +

      + Tooling + +

      +
        +
      • +

        + Added SCSS testing via True to help test our utilities API and + other customizations. +

        +
      • +
      • +

        + Replaced instances of our bootstrap-npm-starter project with the + newer and more complete + twbs/examples repo. +

        +
      • +
      +
      +

      + For a complete list of changes, + see the v5.3.0-alpha2 project on GitHub. +

      +

      + v5.3.0-alpha1 + +

      +
      +

      + Color modes! + +

      +

      + Learn more by reading the new + color modes documentation. +

      +
        +
      • +

        + Global support for light (default) and dark color + modes. + Set color mode globally on the :root element, on + groups of elements and components with a wrapper class, or + directly on components, with + data-bs-theme="light|dark". Also included + is a new color-mode() mixin that can output a + ruleset with the data-bs-theme selector or a media + query, depending on your preference. +

        +

        + Deprecated + Color modes replace dark variants for components, so + .btn-close-white, .carousel-dark, + .dropdown-menu-dark, and + .navbar-dark are deprecated. +

        +
      • +
      • +

        + New extended color system. We’ve added + new theme colors (but not in $theme-colors) for a + more nuanced, system-wide color palette with new secondary, + tertiary, and emphasis colors for color and + background-color. These new colors are available as + Sass variables, CSS variables, and utilities. +

        +
      • +
      • +

        + We’ve also expanded our theme color Sass variables, CSS + variables, and utilities to include text emphasis, subtle + background colors, and subtle border colors. These are available + as Sass variables, CSS variables, and utilities. +

        +
      • +
      • +

        + Adds new _variables-dark.scss stylesheet to house + dark-mode specific overrides. This stylesheet should be imported + immediately after the existing _variables.scss file + in your import stack. +

        +
        +
        diff --git a/scss/bootstrap.scss b/scss/bootstrap.scss
        +index 8f8296def..449d70487 100644
        +--- a/scss/bootstrap.scss
        ++++ b/scss/bootstrap.scss
        +@@ -6,6 +6,7 @@
        + // Configuration
        + @import "functions";
        + @import "variables";
        ++@import "variables-dark";
        + @import "maps";
        + @import "mixins";
        + @import "utilities";
        +
        +
        +
      • +
      +

      + CSS variables + +

      +
        +
      • +

        + Restores CSS variables for breakpoints, though we don’t + use them in our media queries as they’re not supported. + However, these can be useful in JS-specific contexts. +

        +
      • +
      • +

        + Per the color modes update, we’ve added new utilities for + new Sass CSS variables secondary and + tertiary text and background colors, plus + {color}-bg-subtle, + {color}-border-subtle, and + {color}-text-emphasis for our theme colors. These + new colors are available through Sass and CSS variables (but not + our color maps) with the express goal of making it easier to + customize across multiple colors modes like light and dark. +

        +
      • +
      • +

        + Adds additional variables for alerts, .btn-close, + and .offcanvas. +

        +
      • +
      • +

        + The --bs-heading-color variable is back with an + update and dark mode support. First, we now check for a + null value on the associated Sass variable, + $headings-color, before trying to output the CSS + variable, so by default it’s not present in our compiled + CSS. Second, we use the CSS variable with a fallback value, + inherit, allowing the original behavior to persist, + but also allowing for overrides. +

        +
      • +
      • +

        + Converts links to use CSS variables for styling + color, but not text-decoration. Colors + are now set with --bs-link-color-rgb and + --bs-link-opacity as rgba() color, + allowing you to customize the translucency with ease. The + a:hover pseudo-class now overrides + --bs-link-color-rgb instead of explicitly setting + the color property. +

        +
      • +
      • +

        + --bs-border-width is now being used in more + components for greater control over default global styling. +

        +
      • +
      • +

        + Adds new root CSS variables for our box-shadows, + including --bs-box-shadow, + --bs-box-shadow-sm, + --bs-box-shadow-lg, and + --bs-box-shadow-inset. +

        +
      • +
      +

      + Components + +

      +

      + Alert + +

      +
        +
      • +

        Alert variants are now styled via CSS variables.

        +
      • +
      • +

        + Deprecated + The .alert-variant() mixin is now deprecated. We + now + use the Sass loop + directly to modify the component’s default CSS variables + for each variant. +

        +
      • +
      +

      + List group + +

      +
        +
      • +

        List group item variants are now styled via CSS variables.

        +
      • +
      • +

        + Deprecated + The .list-group-variant() mixin is now deprecated. + We now + use the Sass loop + directly to modify the component’s default CSS variables + for each variant. +

        +
      • +
      + +
        +
      • + Deprecated + The .dropdown-menu-dark class has been deprecated and + replaced with data-bs-theme="dark" on the + dropdown or any parent element. + See the docs for an example. +
      • +
      +

      + Close button + +

      +
        +
      • + Deprecated + The .btn-close-white class has been deprecated and + replaced with data-bs-theme="dark" on the + close button or any parent element. + See the docs for an example. +
      • +
      + +
        +
      • + Deprecated + The .navbar-dark class has been deprecated and + replaced with data-bs-theme="dark" on the + navbar or any parent element. + See the docs for updated examples. +
      • +
      +

      + Progress bars + +

      +

      + The markup for + progress bars has + been updated in v5.3.0. Due to the placement of + role and various aria- attributes on the + inner .progress-bar element, + some screen readers were not announcing zero value progress + bars. Now, role="progressbar" and the relevant + aria-* attributes are on the outer + .progress element, leaving the + .progress-bar purely for the visual presentation of the + bar and optional label. +

      +

      + While we recommend adopting the new markup for improved + compatibility with all screen readers, note that the legacy progress + bar structure will continue to work as before. +

      +
      +
      <!-- Previous markup -->
      +<div class="progress">
      +  <div class="progress-bar" role="progressbar" aria-label="Basic example" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
      +</div>
      +
      +<!-- New markup -->
      +<div class="progress" role="progressbar" aria-label="Basic example" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
      +  <div class="progress-bar" style="width: 25%"></div>
      +</div>
      +
      +
      +

      + We’ve also introduced a new + .progress-stacked class to more logically wrap + multiple progress bars + into a single stacked progress bar. +

      +
      +
      <!-- Previous markup -->
      +<div class="progress">
      +  <div class="progress-bar" role="progressbar" aria-label="Segment one" style="width: 15%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
      +  <div class="progress-bar bg-success" role="progressbar" aria-label="Segment two" style="width: 30%" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100"></div>
      +  <div class="progress-bar bg-info" role="progressbar" aria-label="Segment three" style="width: 20%" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>
      +</div>
      +
      +<!-- New markup -->
      +<div class="progress-stacked">
      +  <div class="progress" role="progressbar" aria-label="Segment one" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100" style="width: 15%">
      +    <div class="progress-bar"></div>
      +  </div>
      +  <div class="progress" role="progressbar" aria-label="Segment two" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%">
      +    <div class="progress-bar bg-success"></div>
      +  </div>
      +  <div class="progress" role="progressbar" aria-label="Segment three" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
      +    <div class="progress-bar bg-info"></div>
      +  </div>
      +</div>
      +
      +
      +

      + Forms + +

      +
        +
      • +

        + .form-control is now styled with CSS variables to + support color modes. This includes the addition of two new root + CSS variables for the default and disabled form control + backgrounds. +

        +
      • +
      • +

        + .form-check and + .form-switch components are now built with CSS + variables for setting the background-image. The + usage here differs from other components in that the various + focus, active, etc states for each component aren’t set on + the base class. Instead, the states override one variable (e.g., + --bs-form-switch-bg). +

        +
      • +
      • +

        + Floating form labels now have a background-color to + fix support for <textarea> elements. + Additional changes have been made to also support disabled + states and more. +

        +
      • +
      • +

        + Fixed display of date and time inputs in WebKit based browsers. +

        +
      • +
      +

      + Utilities + +

      +
        +
      • +

        + Deprecated + .text-muted will be replaced by + .text-body-secondary in v6. +

        +

        + With the addition of the expanded theme colors and variables, + the .text-muted variables and utility have been + deprecated with v5.3.0. Its default value has also been + reassigned to the new --bs-secondary-color CSS + variable to better support color modes. It will be removed in + v6.0.0. +

        +
      • +
      • +

        + Adds new .overflow-x, .overflow-y, and + several .object-fit-* utilities. + The object-fit property is used to specify how an + <img> or <video> should + be resized to fit its container, giving us a responsive + alternative to using background-image for a + resizable fill/fit image. +

        +
      • +
      • +

        Adds new .fw-medium utility.

        +
      • +
      • +

        + Added new + .z-* utilities + for z-index. +

        +
      • +
      • +

        + Box shadow utilities + (and Sass variables) have been updated for dark mode. They now + use --bs-body-color-rgb to generate the + rgba() color values, allowing them to easily adapt + to color modes based on the specified foreground color. +

        +
      • +
      +

      + For a complete list of changes, + see the v5.3.0 project on GitHub. +

      +

      + v5.2.0 + +

      +
      +

      + Refreshed design + +

      +

      + Bootstrap v5.2.0 features a subtle design update for a handful of + components and properties across the project, + most notably through refined border-radius values on + buttons and form controls. Our documentation also has been updated with a new homepage, + simpler docs layout that no longer collapses sections of the + sidebar, and more prominent examples of + Bootstrap Icons. +

      +

      + More CSS variables + +

      +

      + We’ve updated all our components to use CSS + variables. + While Sass still underpins everything, each component has been + updated to include CSS variables on the component base classes + (e.g., .btn), allowing for more real-time customization + of Bootstrap. In subsequent releases, we’ll continue to expand + our use of CSS variables into our layout, forms, helpers, and + utilities. Read more about CSS variables in each component on their + respective documentation pages. +

      +

      + Our CSS variable usage will be somewhat incomplete until Bootstrap + 6. While we’d love to fully implement these across the board, + they do run the risk of causing breaking changes. For example, + setting $alert-border-width: var(--bs-border-width) in + our source code breaks potential Sass in your own code if you were + doing $alert-border-width * 2 for some reason. +

      +

      + As such, wherever possible, we will continue to push towards more + CSS variables, but please recognize our implementation may be + slightly limited in v5. +

      +

      + New _maps.scss + +

      +

      + Bootstrap v5.2.0 introduced a new Sass file with + _maps.scss. + It pulls out several Sass maps from _variables.scss to + fix an issue where updates to an original map were not applied to + secondary maps that extend them. For example, updates to + $theme-colors were not being applied to other theme + maps that relied on $theme-colors, breaking key + customization workflows. In short, Sass has a limitation where once + a default variable or map has been used, it cannot be + updated. + There’s a similar shortcoming with CSS variables when + they’re used to compose other CSS variables. +

      +

      + This is why variable customizations in Bootstrap have to come after + @import "functions", but before + @import "variables" and the rest of our + import stack. The same applies to Sass maps—you must override the + defaults before they get used. The following maps have been moved to + the new _maps.scss: +

      +
        +
      • $theme-colors-rgb
      • +
      • $utilities-colors
      • +
      • $utilities-text
      • +
      • $utilities-text-colors
      • +
      • $utilities-bg
      • +
      • $utilities-bg-colors
      • +
      • $negative-spacers
      • +
      • $gutters
      • +
      +

      + Your custom Bootstrap CSS builds should now look something like this + with a separate maps import. +

      +
      +
        // Functions come first
      +  @import "functions";
      +
      +  // Optional variable overrides here
      ++ $custom-color: #df711b;
      ++ $custom-theme-colors: (
      ++   "custom": $custom-color
      ++ );
      +
      +  // Variables come next
      +  @import "variables";
      +
      ++ // Optional Sass map overrides here
      ++ $theme-colors: map-merge($theme-colors, $custom-theme-colors);
      ++
      ++ // Followed by our default maps
      ++ @import "maps";
      ++
      +  // Rest of our imports
      +  @import "mixins";
      +  @import "utilities";
      +  @import "root";
      +  @import "reboot";
      +  // etc
      +
      +
      +

      + New utilities + +

      + +

      + Additional changes + +

      +
        +
      • +

        + Introduced new $enable-container-classes option. + — + Now when opting into the experimental CSS Grid layout, + .container-* classes will still be compiled, unless + this option is set to false. Containers also now + keep their gutter values. +

        +
      • +
      • +

        + Offcanvas component now has + responsive variations. + The original .offcanvas class remains unchanged—it + hides content across all viewports. To make it responsive, + change that .offcanvas class to any + .offcanvas-{sm|md|lg|xl|xxl} class. +

        +
      • +
      • +

        + Thicker table dividers are now opt-in. — + We’ve removed the thicker and more difficult to override + border between table groups and moved it to an optional class + you can apply, .table-group-divider. + See the table docs for an example. +

        +
      • +
      • +

        + Scrollspy has been rewritten + to use the Intersection Observer API, which means you no longer need relative parent wrappers, + deprecates offset config, and more. Look for your + Scrollspy implementations to be more accurate and consistent in + their nav highlighting. +

        +
      • +
      • +

        + Popovers and tooltips now use CSS variables. + Some CSS variables have been updated from their Sass + counterparts to reduce the number of variables. As a result, + three variables have been deprecated in this release: + $popover-arrow-color, + $popover-arrow-outer-color, and + $tooltip-arrow-color. +

        +
      • +
      • +

        + Added new .text-bg-{color} helpers. + Instead of setting individual .text-* and + .bg-* utilities, you can now use + the .text-bg-* helpers + to set a background-color with contrasting + foreground color. +

        +
      • +
      • +

        + Added .form-check-reverse modifier to flip the + order of labels and associated checkboxes/radios. +

        +
      • +
      • +

        + Added + striped columns + support to tables via the new + .table-striped-columns class. +

        +
      • +
      +

      + For a complete list of changes, + see the v5.2.0 project on GitHub. +

      +

      + v5.1.0 + +

      +
      +
        +
      • +

        + Added experimental support for + CSS Grid layout. + — + This is a work in progress, and is not yet ready for production + use, but you can opt into the new feature via Sass. To enable + it, disable the default grid, by setting + $enable-grid-classes: false and enable the CSS Grid + by setting $enable-cssgrid: true. +

        +
      • +
      • +

        + Updated navbars to support offcanvas. — Add + offcanvas drawers in any navbar + with the responsive .navbar-expand-* classes and + some offcanvas markup. +

        +
      • +
      • +

        + Added new + placeholder component. — + Our newest component, a way to provide temporary blocks in lieu + of real content to help indicate that something is still loading + in your site or app. +

        +
      • +
      • +

        + Collapse plugin now supports + horizontal collapsing. — + Add .collapse-horizontal to your + .collapse to collapse the + width instead of the height. Avoid + browser repainting by setting a min-height or + height. +

        +
      • +
      • +

        + Added new stack and vertical rule helpers. — + Quickly apply multiple flexbox properties to quickly create + custom layouts with + stacks. Choose from + horizontal (.hstack) and vertical + (.vstack) stacks. Add vertical dividers similar to + <hr> elements with the + new .vr helpers. +

        +
      • +
      • +

        + Added new global :root CSS variables. — + Added several new CSS variables to the :root level + for controlling <body> styles. More are in + the works, including across our utilities and components, but + for now read up + CSS variables in the Customize section. +

        +
      • +
      • +

        + Overhauled color and background utilities to use CSS + variables, and added new + text opacity + and + background opacity + utilities. — + .text-* and .bg-* utilities are now + built with CSS variables and rgba() color values, + allowing you to easily customize any utility with new opacity + utilities. +

        +
      • +
      • +

        + Added new snippet examples based to show how to customize our + components. — + Pull ready to use customized components and other common design + patterns with our new + Snippets examples. + Includes footers, + dropdowns, + list groups, + and modals. +

        +
      • +
      • +

        + Removed unused positioning styles from popovers and + tooltips + as these are handled solely by Popper. + $tooltip-margin has been deprecated and set to + null in the process. +

        +
      • +
      +

      + Want more information? + Read the v5.1.0 blog post. +

      +
      +
      + Hey there! Changes to our first major release of + Bootstrap 5, v5.0.0, are documented below. They don’t reflect + the additional changes shown above. +
      -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        + Dependencies + +

        +
          +
        • Dropped jQuery.
        • +
        • Upgraded from Popper v1.x to Popper v2.x.
        • +
        • + Replaced Libsass with Dart Sass as our Sass compiler given Libsass + was deprecated. +
        • +
        • Migrated from Jekyll to Hugo for building our documentation
        • +
        +

        + Browser support + +

        +
          +
        • Dropped Internet Explorer 10 and 11
        • +
        • Dropped Microsoft Edge < 16 (Legacy Edge)
        • +
        • Dropped Firefox < 60
        • +
        • Dropped Safari < 12
        • +
        • Dropped iOS Safari < 12
        • +
        • Dropped Chrome < 60
        • +
        +
        +

        + Documentation changes + +

        +
          +
        • Redesigned homepage, docs layout, and footer.
        • +
        • + Added + new Parcel guide. +
        • +
        • + Added + new Customize section, replacing + v4’s Theming page, with new details on Sass, global configuration options, color + schemes, CSS variables, and more. +
        • +
        • + Reorganized all form documentation into + new Forms section, + breaking apart the content into more focused pages. +
        • +
        • + Similarly, updated + the Layout section, + to flesh out grid content more clearly. +
        • +
        • + Renamed “Navs” component page to “Navs & + Tabs”. +
        • +
        • + Renamed “Checks” page to “Checks & + radios”. +
        • +
        • + Redesigned the navbar and added a new subnav to make it easier to + get around our sites and docs versions. +
        • +
        • + Added new keyboard shortcut for the search field: + Ctrl + /. +
        • +
        +

        + Sass + +

        +
          +
        • +

          + We’ve ditched the default Sass map merges to make it + easier to remove redundant values. Keep in mind you now have to + define all values in the Sass maps like + $theme-colors. Check out how to deal with + Sass maps. +

          +
        • +
        • +

          + Breaking Renamed + color-yiq() function and related variables to + color-contrast() as it’s no longer related to + YIQ color space. + See #30168. +

          +
            +
          • + $yiq-contrasted-threshold is renamed to + $min-contrast-ratio. +
          • +
          • + $yiq-text-dark and + $yiq-text-light are respectively renamed to + $color-contrast-dark and + $color-contrast-light. +
          • +
          +
        • +
        • +

          + Breaking Media query mixins + parameters have changed for a more logical approach. +

          +
            +
          • + media-breakpoint-down() uses the breakpoint + itself instead of the next breakpoint (e.g., + media-breakpoint-down(lg) instead of + media-breakpoint-down(md) targets viewports + smaller than lg). +
          • +
          • + Similarly, the second parameter in + media-breakpoint-between() also uses the + breakpoint itself instead of the next breakpoint (e.g., + media-between(sm, lg) instead of + media-breakpoint-between(sm, md) targets + viewports between sm and lg). +
          • +
          +
        • +
        • +

          + Breaking Removed print + styles and $enable-print-styles variable. Print + display classes are still around. + See #28339. +

          +
        • +
        • +

          + Breaking Dropped + color(), theme-color(), and + gray() functions in favor of variables. + See #29083. +

          +
        • +
        • +

          + Breaking Renamed + theme-color-level() function to + color-level() and now accepts any color you want + instead of only $theme-color colors. + See #29083 + Watch out: color-level() was later + on dropped in v5.0.0-alpha3. +

          +
        • +
        • +

          + Breaking Renamed + $enable-prefers-reduced-motion-media-query and + $enable-pointer-cursor-for-buttons to + $enable-reduced-motion and + $enable-button-pointers for brevity. +

          +
        • +
        • +

          + Breaking Removed the + bg-gradient-variant() mixin. Use the + .bg-gradient class to add gradients to elements + instead of the generated .bg-gradient-* classes. +

          +
        • +
        • +

          + Breaking + Removed previously deprecated mixins: +

          +
            +
          • + hover, hover-focus, + plain-hover-focus, and + hover-focus-active +
          • +
          • float()
          • +
          • form-control-mixin()
          • +
          • nav-divider()
          • +
          • retina-img()
          • +
          • + text-hide() (also dropped the associated utility + class, .text-hide) +
          • +
          • visibility()
          • +
          • form-control-focus()
          • +
          +
        • +
        • +

          + Breaking Renamed + scale-color() function to + shift-color() to avoid collision with Sass’s + own color scaling function. +

          +
        • +
        • +

          + box-shadow mixins now allow + null values and drop none from + multiple arguments. + See #30394. +

          +
        • +
        • +

          + The border-radius() mixin now has a default value. +

          +
        • +
        +

        + Color system + +

        +
          +
        • +

          + The color system which worked with + color-level() and + $theme-color-interval was removed in favor of a new + color system. All lighten() and + darken() functions in our codebase are replaced by + tint-color() and shade-color(). These + functions will mix the color with either white or black instead + of changing its lightness by a fixed amount. The + shift-color() will either tint or shade a color + depending on whether its weight parameter is positive or + negative. + See #30622 + for more details. +

          +
        • +
        • +

          + Added new tints and shades for every color, providing nine + separate colors for each base color, as new Sass variables. +

          +
        • +
        • +

          + Improved color contrast. Bumped color contrast ratio from 3:1 to + 4.5:1 and updated blue, green, cyan, and pink colors to ensure + WCAG 2.1 AA contrast. Also changed our color contrast color from + $gray-900 to $black. +

          +
        • +
        • +

          + To support our color system, we’ve added new custom + tint-color() and + shade-color() functions to mix our colors + appropriately. +

          +
        • +
        +

        + Grid updates + +

        +
          +
        • +

          + New breakpoint! Added new + xxl breakpoint for 1400px and up. No + changes to all other breakpoints. +

          +
        • +
        • +

          + Improved gutters. Gutters are now set in rems, + and are narrower than v4 (1.5rem, or about + 24px, down from 30px). This aligns our + grid system’s gutters with our spacing utilities. +

          +
            +
          • + Added new + gutter class + (.g-*, .gx-*, and + .gy-*) to control horizontal/vertical gutters, + horizontal gutters, and vertical gutters. +
          • +
          • + Breaking Renamed + .no-gutters to .g-0 to match new + gutter utilities. +
          • +
          +
        • +
        • +

          + Columns no longer have position: relative applied, + so you may have to add .position-relative to some + elements to restore that behavior. +

          +
        • +
        • +

          + Breaking Dropped several + .order-* classes that often went unused. We now + only provide .order-1 to .order-5 out + of the box. +

          +
        • +
        • +

          + Breaking Dropped the + .media component as it can be easily replicated + with utilities. + See #28265 + and the + flex utilities page for an example. +

          +
        • +
        • +

          + Breaking + bootstrap-grid.css now only applies + box-sizing: border-box to the column instead of + resetting the global box-sizing. This way, our grid styles can + be used in more places without interference. +

          +
        • +
        • +

          + $enable-grid-classes no longer disables the + generation of container classes anymore. + See #29146. +

          +
        • +
        • +

          + Updated the make-col mixin to default to equal + columns without a specified size. +

          +
        • +
        +

        + Content, Reboot, etc + +

        +
          +
        • +

          + RFS is now + enabled by default. + Headings using the font-size() mixin will + automatically adjust their font-size to scale with + the viewport. + This feature was previously opt-in with v4. +

          +
        • +
        • +

          + Breaking Overhauled our + display typography to replace our + $display-* variables and with a + $display-font-sizes Sass map. Also removed the + individual $display-*-weight variables for a single + $display-font-weight and adjusted + font-sizes. +

          +
        • +
        • +

          + Added two new .display-* heading sizes, + .display-5 and .display-6. +

          +
        • +
        • +

          + Links are underlined by default (not just on + hover), unless they’re part of specific components. +

          +
        • +
        • +

          + Redesigned tables to refresh their styles and + rebuild them with CSS variables for more control over styling. +

          +
        • +
        • +

          + Breaking Nested tables do + not inherit styles anymore. +

          +
        • +
        • +

          + Breaking + .thead-light and .thead-dark are + dropped in favor of the .table-* variant classes + which can be used for all table elements (thead, + tbody, tfoot, tr, + th and td). +

          +
        • +
        • +

          + Breaking The + table-row-variant() mixin is renamed to + table-variant() and accepts only 2 parameters: + $color (color name) and $value (color + code). The border color and accent colors are automatically + calculated based on the table factor variables. +

          +
        • +
        • +

          + Split table cell padding variables into -y and + -x. +

          +
        • +
        • +

          + Breaking Dropped + .pre-scrollable class. + See #29135 +

          +
        • +
        • +

          + Breaking + .text-* utilities do not add hover and focus states + to links anymore. .link-* helper classes can be + used instead. + See #29267 +

          +
        • +
        • +

          + Breaking Dropped + .text-justify class. + See #29793 +

          +
        • +
        • +

          + Breaking + <hr> elements now use + height instead of border to better + support the size attribute. This also enables use + of padding utilities to create thicker dividers (e.g., + <hr class="py-1">). +

          +
        • +
        • +

          + Reset default horizontal padding-left on + <ul> and <ol> elements + from browser default 40px to 2rem. +

          +
        • +
        • +

          + Added $enable-smooth-scroll, which applies + scroll-behavior: smooth globally—except for users + asking for reduced motion through + prefers-reduced-motion media query. + See #31877 +

          +
        • +
        +

        + RTL + +

        +
          +
        • + Horizontal direction specific variables, utilities, and mixins + have all been renamed to use logical properties like those found + in flexbox layouts—e.g., start and + end in lieu of left and + right. +
        • +
        +

        + Forms + +

        +
          +
        • +

          + Added new floating forms! We’ve promoted + the Floating labels example to fully supported form components. + See the new Floating labels page. +

          +
        • +
        • +

          + Breaking + Consolidated native and custom form elements. + Checkboxes, radios, selects, and other inputs that had native + and custom classes in v4 have been consolidated. Now nearly all + our form elements are entirely custom, most without the need for + custom HTML. +

          +
            +
          • + .custom-control.custom-checkbox is now + .form-check. +
          • +
          • + .custom-control.custom-custom-radio is now + .form-check. +
          • +
          • + .custom-control.custom-switch is now + .form-check.form-switch. +
          • +
          • + .custom-select is now .form-select. +
          • +
          • + .custom-file and .form-file have + been replaced by custom styles on top of + .form-control. +
          • +
          • + .custom-range is now .form-range. +
          • +
          • + Dropped native .form-control-file and + .form-control-range. +
          • +
          +
        • +
        • +

          + Breaking Dropped + .input-group-append and + .input-group-prepend. You can now just add buttons + and .input-group-text as direct children of the + input groups. +

          +
        • +
        • +

          + The longstanding + Missing border radius on input group with validation feedback + bug + is finally fixed by adding an additional + .has-validation class to input groups with + validation. +

          +
        • +
        • +

          + Breaking + Dropped form-specific layout classes for our grid + system. + Use our grid and utilities instead of .form-group, + .form-row, or .form-inline. +

          +
        • +
        • +

          + Breaking Form labels now + require .form-label. +

          +
        • +
        • +

          + Breaking + .form-text no longer sets display, + allowing you to create inline or block help text as you wish + just by changing the HTML element. +

          +
        • +
        • +

          + Form controls no longer used fixed height when + possible, instead deferring to min-height to + improve customization and compatibility with other components. +

          +
        • +
        • +

          + Validation icons are no longer applied to + <select>s with multiple. +

          +
        • +
        • +

          + Rearranged source Sass files under scss/forms/, + including input group styles. +

          +
        • +
        +
        +

        + Components + +

        +
          +
        • + Unified padding values for alerts, breadcrumbs, + cards, dropdowns, list groups, modals, popovers, and tooltips to + be based on our $spacer variable. + See #30564. +
        • +
        +

        + Accordion + +

        + +

        + Alerts + +

        +
          +
        • +

          + Alerts now have + examples with icons. +

          +
        • +
        • +

          + Removed custom styles for <hr>s in each alert + since they already use currentColor. +

          +
        • +
        +

        + Badges + +

        +
          +
        • +

          + Breaking Dropped all + .badge-* color classes for background utilities + (e.g., use .bg-primary instead of + .badge-primary). +

          +
        • +
        • +

          + Breaking Dropped + .badge-pill—use the + .rounded-pill utility instead. +

          +
        • +
        • +

          + Breaking Removed hover and + focus styles for <a> and + <button> elements. +

          +
        • +
        • +

          + Increased default padding for badges from + .25em/.5em to + .35em/.65em. +

          +
        • +
        + +
          +
        • +

          + Simplified the default appearance of breadcrumbs by removing + padding, background-color, and + border-radius. +

          +
        • +
        • +

          + Added new CSS custom property + --bs-breadcrumb-divider for easy customization + without needing to recompile CSS. +

          +
        • +
        +

        + Buttons + +

        +
          +
        • +

          + Breaking + Toggle buttons, with checkboxes or radios, no longer require JavaScript and + have new markup. + We no longer require a wrapping element, add + .btn-check to the <input>, and + pair it with any .btn classes on the + <label>. + See #30650. + The docs for this has moved from our Buttons page to the new + Forms section. +

          +
        • +
        • +

          + Breaking + Dropped .btn-block for utilities. + Instead of using .btn-block on the + .btn, wrap your buttons with + .d-grid and a .gap-* utility to space + them as needed. Switch to responsive classes for even more + control over them. + Read the docs for some examples. +

          +
        • +
        • +

          + Updated our button-variant() and + button-outline-variant() mixins to support + additional parameters. +

          +
        • +
        • +

          + Updated buttons to ensure increased contrast on hover and active + states. +

          +
        • +
        • +

          + Disabled buttons now have pointer-events: none;. +

          +
        • +
        +

        + Card + +

        +
          +
        • +

          + Breaking Dropped + .card-deck in favor of our grid. Wrap your cards in + column classes and add a parent + .row-cols-* container to recreate card decks (but + with more control over responsive alignment). +

          +
        • +
        • +

          + Breaking Dropped + .card-columns in favor of Masonry. + See #28922. +

          +
        • +
        • +

          + Breaking Replaced the + .card based accordion with a + new Accordion component. +

          +
        • +
        + +
          +
        • +

          + Added new + .carousel-dark variant + for dark text, controls, and indicators (great for lighter + backgrounds). +

          +
        • +
        • +

          + Replaced chevron icons for carousel controls with new SVGs from + Bootstrap Icons. +

          +
        • +
        +

        + Close button + +

        +
          +
        • +

          + Breaking Renamed + .close to .btn-close for a less + generic name. +

          +
        • +
        • +

          + Close buttons now use a background-image (embedded + SVG) instead of a &times; in the HTML, allowing + for easier customization without the need to touch your markup. +

          +
        • +
        • +

          + Added new .btn-close-white variant that uses + filter: invert(1) to enable higher contrast dismiss + icons against darker backgrounds. +

          +
        • +
        +

        + Collapse + +

        +
          +
        • Removed scroll anchoring for accordions.
        • +
        + +
          +
        • +

          + Added new .dropdown-menu-dark variant and + associated variables for on-demand dark dropdowns. +

          +
        • +
        • +

          Added new variable for $dropdown-padding-x.

          +
        • +
        • +

          Darkened the dropdown divider for improved contrast.

          +
        • +
        • +

          + Breaking All the events for + the dropdown are now triggered on the dropdown toggle button and + then bubbled up to the parent element. +

          +
        • +
        • +

          + Dropdown menus now have a + data-bs-popper="static" attribute set + when the positioning of the dropdown is static, or dropdown is + in the navbar. This is added by our JavaScript and helps us use + custom position styles without interfering with Popper’s + positioning. +

          +
        • +
        • +

          + Breaking Dropped + flip option for dropdown plugin in favor of native + Popper configuration. You can now disable the flipping behavior + by passing an empty array for + fallbackPlacements + option in + flip + modifier. +

          +
        • +
        • +

          + Dropdown menus can now be clickable with a new + autoClose option to handle the + auto close behavior. You can use this option to accept the click inside or outside + the dropdown menu to make it interactive. +

          +
        • +
        • +

          + Dropdowns now support .dropdown-items wrapped in + <li>s. +

          +
        • +
        +

        + Jumbotron + +

        + +

        + List group + +

        + + +
          +
        • + Added new null variables for font-size, + font-weight, color, and + :hover color to the + .nav-link class. +
        • +
        + +
          +
        • + Breaking Navbars now require + a container within (to drastically simplify spacing requirements + and CSS required). +
        • +
        • + Breaking The + .active class can no longer be applied to + .nav-items, it must be applied directly on + .nav-links. +
        • +
        +

        + Offcanvas + +

        + +

        + Pagination + +

        +
          +
        • +

          + Pagination links now have customizable + margin-left that are dynamically rounded on all + corners when separated from one another. +

          +
        • +
        • +

          Added transitions to pagination links.

          +
        • +
        +

        + Popovers + +

        +
          +
        • +

          + Breaking Renamed + .arrow to .popover-arrow in our + default popover template. +

          +
        • +
        • +

          + Renamed whiteList option to allowList. +

          +
        • +
        +

        + Spinners + +

        +
          +
        • +

          + Spinners now honor + prefers-reduced-motion: reduce by slowing down + animations. + See #31882. +

          +
        • +
        • +

          Improved spinner vertical alignment.

          +
        • +
        +

        + Toasts + +

        +
          +
        • +

          + Toasts can now be + positioned + in a .toast-container with the help of + positioning utilities. +

          +
        • +
        • +

          Changed default toast duration to 5 seconds.

          +
        • +
        • +

          + Removed overflow: hidden from toasts and replaced + with proper border-radiuss with + calc() functions. +

          +
        • +
        +

        + Tooltips + +

        +
          +
        • +

          + Breaking Renamed + .arrow to .tooltip-arrow in our + default tooltip template. +

          +
        • +
        • +

          + Breaking The default value + for the fallbackPlacements is changed to + ['top', 'right', 'bottom', 'left'] for better + placement of popper elements. +

          +
        • +
        • +

          + Breaking Renamed + whiteList option to allowList. +

          +
        • +
        +

        + Utilities + +

        +
          +
        • +

          + Breaking Renamed several + utilities to use logical property names instead of directional + names with the addition of RTL support: +

          +
            +
          • + Renamed .left-* and .right-* to + .start-* and .end-*. +
          • +
          • + Renamed .float-left and + .float-right to .float-start and + .float-end. +
          • +
          • + Renamed .border-left and + .border-right to .border-start and + .border-end. +
          • +
          • + Renamed .rounded-left and + .rounded-right to .rounded-start and + .rounded-end. +
          • +
          • + Renamed .ml-* and .mr-* to + .ms-* and .me-*. +
          • +
          • + Renamed .pl-* and .pr-* to + .ps-* and .pe-*. +
          • +
          • + Renamed .text-*-left and + .text-*-right to .text-*-start and + .text-*-end. +
          • +
          +
        • +
        • +

          + Breaking Disabled negative + margins by default. +

          +
        • +
        • +

          + Added new .bg-body class for quickly setting the + <body>’s background to additional + elements. +

          +
        • +
        • +

          + Added new + position utilities + for top, right, bottom, + and left. Values include 0, + 50%, and 100% for each property. +

          +
        • +
        • +

          + Added new .translate-middle-x & + .translate-middle-y utilities to horizontally or + vertically center absolute/fixed positioned elements. +

          +
        • +
        • +

          + Added new + border-width utilities. +

          +
        • +
        • +

          + Breaking Renamed + .text-monospace to .font-monospace. +

          +
        • +
        • +

          + Breaking Removed + .text-hide as it’s an antiquated method for + hiding text that shouldn’t be used anymore. +

          +
        • +
        • +

          + Added .fs-* utilities for + font-size utilities (with RFS enabled). These use + the same scale as HTML’s default headings (1-6, large to + small), and can be modified via Sass map. +

          +
        • +
        • +

          + Breaking Renamed + .font-weight-* utilities as .fw-* for + brevity and consistency. +

          +
        • +
        • +

          + Breaking Renamed + .font-italic utility to + .fst-italic for brevity and consistency with new + .fst-normal utility. +

          +
        • +
        • +

          + Added .d-grid to display utilities and new + gap utilities (.gap) for CSS Grid and + flexbox layouts. +

          +
        • +
        • +

          + Breaking Removed + .rounded-sm and rounded-lg, and + introduced a new scale of classes, .rounded-0 to + .rounded-3. + See #31687. +

          +
        • +
        • +

          + Added new line-height utilities: + .lh-1, .lh-sm, + .lh-base and .lh-lg. See + here. +

          +
        • +
        • +

          + Moved the .d-none utility in our CSS to give it + more weight over other display utilities. +

          +
        • +
        • +

          + Extended the .visually-hidden-focusable helper to + also work on containers, using :focus-within. +

          +
        • +
        +

        + Helpers + +

        +
          +
        • +

          + Breaking + Responsive embed helpers have been renamed to + ratio helpers + with new class names and improved behaviors, as well as a + helpful CSS variable. +

          +
            +
          • + Classes have been renamed to change by to + x in the aspect ratio. For example, + .ratio-16by9 is now .ratio-16x9. +
          • +
          • + We’ve dropped the + .embed-responsive-item and element group selector + in favor of a simpler .ratio > * selector. No + more class is needed, and the ratio helper now works with any + HTML element. +
          • +
          • + The $embed-responsive-aspect-ratios Sass map has + been renamed to $aspect-ratios and its values + have been simplified to include the class name and the + percentage as the key: value pair. +
          • +
          • + CSS variables are now generated and included for each value in + the Sass map. Modify the + --bs-aspect-ratio variable on the + .ratio to create any + custom aspect ratio. +
          • +
          +
        • +
        • +

          + Breaking + “Screen reader” classes are now + “visually hidden” classes. +

          +
            +
          • + Changed the Sass file from + scss/helpers/_screenreaders.scss to + scss/helpers/_visually-hidden.scss +
          • +
          • + Renamed .sr-only and + .sr-only-focusable to + .visually-hidden and + .visually-hidden-focusable +
          • +
          • + Renamed sr-only() and + sr-only-focusable() mixins to + visually-hidden() and + visually-hidden-focusable(). +
          • +
          +
        • +
        • +

          + bootstrap-utilities.css now also includes our + helpers. Helpers don’t need to be imported in custom + builds anymore. +

          +
        • +
        +

        + JavaScript + +

        +
          +
        • +

          + Dropped jQuery dependency and rewrote plugins + to be in regular JavaScript. +

          +
        • +
        • +

          + Breaking Data attributes + for all JavaScript plugins are now namespaced to help + distinguish Bootstrap functionality from third parties and your + own code. For example, we use + data-bs-toggle instead of data-toggle. +

          +
        • +
        • +

          + All plugins can now accept a CSS selector as the first + argument. + You can either pass a DOM element or any valid CSS selector to + create a new instance of the plugin: +

          +
          +
          const modal = new bootstrap.Modal('#myModal')
          +const dropdown = new bootstrap.Dropdown('[data-bs-toggle="dropdown"]')
          +
          +
          +
        • +
        • +

          + popperConfig can be passed as a function that + accepts the Bootstrap’s default Popper config as an + argument, so that you can merge this default configuration in + your way. + Applies to dropdowns, popovers, and tooltips. +

          +
        • +
        • +

          + The default value for the fallbackPlacements is + changed to ['top', 'right', 'bottom', 'left'] for + better placement of Popper elements. + Applies to dropdowns, popovers, and tooltips. +

          +
        • +
        • +

          + Removed underscore from public static methods like + _getInstance()getInstance(). +

          +
      -
    • -
    • -
    • - - Migration - -
    • -
    - - - +
  • +
    -
    -
    -
    - View on GitHub -

    Migrating to v5

    + + - - + + -
    + + - - - - - - + +${htmlSnippet.replace(/^/gm, ' ')} + + +`; + const jsSnippetContent = jsSnippet + ? '\/\/ NOTICE!!! Initially embedded in our docs this JavaScript\n\/\/ file contains elements that can help you create reproducible\n\/\/ use cases in StackBlitz for instance\.\n\/\/ In a real project please adapt this content to your needs\.\n\/\/ \u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\n\n\/\*!\n \* JavaScript for Bootstrap\u0027s docs \(https:\/\/getbootstrap\.com\/\)\n \* Copyright 2011\-2023 The Bootstrap Authors\n \* Licensed under the Creative Commons Attribution 3\.0 Unported License\.\n \* For details, see https:\/\/creativecommons\.org\/licenses\/by\/3\.0\/\.\n \*\/\n\n\/\* global bootstrap: false \*\/\n\n\(\(\) =\u003e \{\n \u0027use strict\u0027\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Tooltips\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all tooltips in a docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022tooltip\u0022\]\u0027\)\n \.forEach\(tooltip =\u003e \{\n new bootstrap\.Tooltip\(tooltip\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Popovers\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all popovers in docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022popover\u0022\]\u0027\)\n \.forEach\(popover =\u003e \{\n new bootstrap\.Popover\(popover\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Toasts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used by \u0027Placement\u0027 example in docs or StackBlitz\n const toastPlacement = document\.getElementById\(\u0027toastPlacement\u0027\)\n if \(toastPlacement\) \{\n document\.getElementById\(\u0027selectToastPlacement\u0027\)\.addEventListener\(\u0027change\u0027, function \(\) \{\n if \(!toastPlacement\.dataset\.originalClass\) \{\n toastPlacement\.dataset\.originalClass = toastPlacement\.className\n \}\n\n toastPlacement\.className = `\$\{toastPlacement\.dataset\.originalClass\} \$\{this\.value\}`\n \}\)\n \}\n\n \/\/ Instantiate all toasts in docs pages only\n document\.querySelectorAll\(\u0027\.bd\-example \.toast\u0027\)\n \.forEach\(toastNode =\u003e \{\n const toast = new bootstrap\.Toast\(toastNode, \{\n autohide: false\n \}\)\n\n toast\.show\(\)\n \}\)\n\n \/\/ Instantiate all toasts in docs pages only\n \/\/ js\-docs\-start live\-toast\n const toastTrigger = document\.getElementById\(\u0027liveToastBtn\u0027\)\n const toastLiveExample = document\.getElementById\(\u0027liveToast\u0027\)\n\n if \(toastTrigger\) \{\n const toastBootstrap = bootstrap\.Toast\.getOrCreateInstance\(toastLiveExample\)\n toastTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n toastBootstrap\.show\(\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-toast\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Alerts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used in \u0027Show live alert\u0027 example in docs or StackBlitz\n\n \/\/ js\-docs\-start live\-alert\n const alertPlaceholder = document\.getElementById\(\u0027liveAlertPlaceholder\u0027\)\n const appendAlert = \(message, type\) =\u003e \{\n const wrapper = document\.createElement\(\u0027div\u0027\)\n wrapper\.innerHTML = \[\n `\u003cdiv class=\u0022alert alert\-\$\{type\} alert\-dismissible\u0022 role=\u0022alert\u0022\u003e`,\n ` \u003cdiv\u003e\$\{message\}\u003c\/div\u003e`,\n \u0027 \u003cbutton type=\u0022button\u0022 class=\u0022btn\-close\u0022 data\-bs\-dismiss=\u0022alert\u0022 aria\-label=\u0022Close\u0022\u003e\u003c\/button\u003e\u0027,\n \u0027\u003c\/div\u003e\u0027\n \]\.join\(\u0027\u0027\)\n\n alertPlaceholder\.append\(wrapper\)\n \}\n\n const alertTrigger = document\.getElementById\(\u0027liveAlertBtn\u0027\)\n if \(alertTrigger\) \{\n alertTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n appendAlert\(\u0027Nice, you triggered this alert message!\u0027, \u0027success\u0027\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-alert\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Carousels\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all non\-autoplaying carousels in docs or StackBlitz\n document\.querySelectorAll\(\u0027\.carousel:not\(\[data\-bs\-ride=\u0022carousel\u0022\]\)\u0027\)\n \.forEach\(carousel =\u003e \{\n bootstrap\.Carousel\.getOrCreateInstance\(carousel\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Checks \u0026 Radios\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Indeterminate checkbox example in docs and StackBlitz\n document\.querySelectorAll\(\u0027\.bd\-example\-indeterminate \[type=\u0022checkbox\u0022\]\u0027\)\n \.forEach\(checkbox =\u003e \{\n if \(checkbox\.id\.includes\(\u0027Indeterminate\u0027\)\) \{\n checkbox\.indeterminate = true\n \}\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Links\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Disable empty links in docs examples only\n document\.querySelectorAll\(\u0027\.bd\-content \[href=\u0022#\u0022\]\u0027\)\n \.forEach\(link =\u003e \{\n link\.addEventListener\(\u0027click\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal \u0027Varying modal content\u0027 example in docs and StackBlitz\n \/\/ js\-docs\-start varying\-modal\-content\n const exampleModal = document\.getElementById\(\u0027exampleModal\u0027\)\n if \(exampleModal\) \{\n exampleModal\.addEventListener\(\u0027show\.bs\.modal\u0027, event =\u003e \{\n \/\/ Button that triggered the modal\n const button = event\.relatedTarget\n \/\/ Extract info from data\-bs\-\* attributes\n const recipient = button\.getAttribute\(\u0027data\-bs\-whatever\u0027\)\n \/\/ If necessary, you could initiate an Ajax request here\n \/\/ and then do the updating in a callback\.\n\n \/\/ Update the modal\u0027s content\.\n const modalTitle = exampleModal\.querySelector\(\u0027\.modal\-title\u0027\)\n const modalBodyInput = exampleModal\.querySelector\(\u0027\.modal\-body input\u0027\)\n\n modalTitle\.textContent = `New message to \$\{recipient\}`\n modalBodyInput\.value = recipient\n \}\)\n \}\n \/\/ js\-docs\-end varying\-modal\-content\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Offcanvas\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ \u0027Offcanvas components\u0027 example in docs only\n const myOffcanvas = document\.querySelectorAll\(\u0027\.bd\-example\-offcanvas \.offcanvas\u0027\)\n if \(myOffcanvas\) \{\n myOffcanvas\.forEach\(offcanvas =\u003e \{\n offcanvas\.addEventListener\(\u0027show\.bs\.offcanvas\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}, false\)\n \}\)\n \}\n\}\)\(\)\n' + : null; + const project = { + files: { + 'index.html': markup, + 'index.js': jsSnippetContent, + }, + title: 'Bootstrap Example', + description: `Official example from ${window.location.href}`, + template: jsSnippet ? 'javascript' : 'html', + tags: ['bootstrap'], + }; + StackBlitzSDK.openProject(project, { openFile: 'index.html' }); + }; + + - + diff --git a/utilities/api/index.html b/utilities/api/index.html index 6e34f8e..b1bfc9b 100644 --- a/utilities/api/index.html +++ b/utilities/api/index.html @@ -1,914 +1,2999 @@ - - - - - - - - - - - - - - - -Utility API · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Utility API · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Utility API

    +
    +

    + The utility API is a Sass-based tool to generate utility classes. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Utility API

    + -

    The utility API is a Sass-based tool to generate utility classes.

    - -
    - - -
    - On this page - +
    +

    + Bootstrap utilities are generated with our utility API and can be + used to modify or extend our default set of utility classes via + Sass. Our utility API is based on a series of Sass maps and + functions for generating families of classes with various options. + If you’re unfamiliar with Sass maps, read up on the + official Sass docs + to get started. +

    +

    + The $utilities map contains all our utilities and is + later merged with your custom $utilities map, if + present. The utility map contains a keyed list of utility groups + which accept the following options: +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    OptionTypeDefault valueDescription
    + property + Required + Name of the property, this can be a string or an array of + strings (e.g., horizontal paddings or margins). +
    + values + Required + List of values, or a map if you don’t want the class + name to be the same as the value. If null is + used as map key, class is not prepended to the + class name. +
    + class + Optionalnull + Name of the generated class. If not provided and + property is an array of strings, + class will default to the first element of the + property array. If not provided and + property is a string, the + values keys are used for the + class names. +
    + css-var + Optionalfalse + Boolean to generate CSS variables instead of CSS rules. +
    + css-variable-name + Optionalnull + Custom un-prefixed name for the CSS variable inside the + ruleset. +
    + local-vars + Optionalnull + Map of local CSS variables to generate in addition to the + CSS rules. +
    + state + Optionalnull + List of pseudo-class variants (e.g., :hover or + :focus) to generate. +
    + responsive + Optionalfalse + Boolean indicating if responsive classes should be + generated. +
    rfsOptionalfalse + Boolean to enable + fluid rescaling with RFS. +
    + print + Optionalfalse + Boolean indicating if print classes need to be generated. +
    rtlOptionaltrueBoolean indicating if utility should be kept in RTL.
    +
    + +

    + API explained + +

    +

    + All utility variables are added to the + $utilities variable within our + _utilities.scss stylesheet. Each group of utilities + looks something like this: +

    +
    +
    $utilities: (
    +  "opacity": (
    +    property: opacity,
    +    values: (
    +      0: 0,
    +      25: .25,
    +      50: .5,
    +      75: .75,
    +      100: 1,
    +    )
    +  )
    +);
    +
    +
    +

    Which outputs the following:

    +
    +
    .opacity-0 { opacity: 0; }
    +.opacity-25 { opacity: .25; }
    +.opacity-50 { opacity: .5; }
    +.opacity-75 { opacity: .75; }
    +.opacity-100 { opacity: 1; }
    +
    +
    +

    + Property + +

    +

    + The required property key must be set for any utility, + and it must contain a valid CSS property. This property is used in + the generated utility’s ruleset. When the + class key is omitted, it also serves as the default + class name. Consider the text-decoration utility: +

    +
    +
    $utilities: (
    +  "text-decoration": (
    +    property: text-decoration,
    +    values: none underline line-through
    +  )
    +);
    +
    +
    +

    Output:

    +
    +
    .text-decoration-none { text-decoration: none !important; }
    +.text-decoration-underline { text-decoration: underline !important; }
    +.text-decoration-line-through { text-decoration: line-through !important; }
    +
    +
    +

    + Values + +

    +

    + Use the values key to specify which values for the + specified property should be used in the generated + class names and rules. Can be a list or map (set in the utilities or + in a Sass variable). +

    +

    + As a list, like with + text-decoration utilities: +

    +
    +
    values: none underline line-through
    +
    +
    +

    + As a map, like with + opacity utilities: +

    +
    +
    values: (
    +  0: 0,
    +  25: .25,
    +  50: .5,
    +  75: .75,
    +  100: 1,
    +)
    +
    +
    +

    + As a Sass variable that sets the list or map, as in our + position utilities: +

    +
    +
    values: $position-values
    +
    +
    +

    + Class + +

    +

    + Use the class option to change the class prefix used in + the compiled CSS. For example, to change from + .opacity-* to .o-*: +

    +
    +
    $utilities: (
    +  "opacity": (
    +    property: opacity,
    +    class: o,
    +    values: (
    +      0: 0,
    +      25: .25,
    +      50: .5,
    +      75: .75,
    +      100: 1,
    +    )
    +  )
    +);
    +
    +
    +

    Output:

    +
    +
    .o-0 { opacity: 0 !important; }
    +.o-25 { opacity: .25 !important; }
    +.o-50 { opacity: .5 !important; }
    +.o-75 { opacity: .75 !important; }
    +.o-100 { opacity: 1 !important; }
    +
    +
    +

    + If class: null, generates classes for each of the + values keys: +

    +
    +
    $utilities: (
    +  "visibility": (
    +    property: visibility,
    +    class: null,
    +    values: (
    +      visible: visible,
    +      invisible: hidden,
    +    )
    +  )
    +);
    +
    +
    +

    Output:

    +
    +
    .visible { visibility: visible !important; }
    +.invisible { visibility: hidden !important; }
    +
    +
    +

    + CSS variable utilities + +

    +

    + Set the css-var boolean option to true and + the API will generate local CSS variables for the given selector + instead of the usual property: value rules. Add an + optional css-variable-name to set a different CSS + variable name than the class name. +

    +

    + Consider our .text-opacity-* utilities. If we add the + css-variable-name option, we’ll get a custom + output. +

    +
    +
    $utilities: (
    +  "text-opacity": (
    +    css-var: true,
    +    css-variable-name: text-alpha,
    +    class: text-opacity,
    +    values: (
    +      25: .25,
    +      50: .5,
    +      75: .75,
    +      100: 1
    +    )
    +  ),
    +);
    +
    +
    +

    Output:

    +
    +
    .text-opacity-25 { --bs-text-alpha: .25; }
    +.text-opacity-50 { --bs-text-alpha: .5; }
    +.text-opacity-75 { --bs-text-alpha: .75; }
    +.text-opacity-100 { --bs-text-alpha: 1; }
    +
    +
    +

    + Local CSS variables + +

    +

    + Use the local-vars option to specify a Sass map that + will generate local CSS variables within the utility class’s + ruleset. Please note that it may require additional work to consume + those local CSS variables in the generated CSS rules. For example, + consider our .bg-* utilities: +

    +
    +
    $utilities: (
    +  "background-color": (
    +    property: background-color,
    +    class: bg,
    +    local-vars: (
    +      "bg-opacity": 1
    +    ),
    +    values: map-merge(
    +      $utilities-bg-colors,
    +      (
    +        "transparent": transparent
    +      )
    +    )
    +  )
    +);
    +
    +
    +

    Output:

    +
    +
    .bg-primary {
    +  --bs-bg-opacity: 1;
    +  background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
    +}
    +
    +
    +

    + States + +

    +

    + Use the state option to generate pseudo-class + variations. Example pseudo-classes are :hover and + :focus. When a list of states are provided, classnames + are created for that pseudo-class. For example, to change opacity on + hover, add state: hover and you’ll get + .opacity-hover:hover in your compiled CSS. +

    +

    + Need multiple pseudo-classes? Use a space-separated list of states: + state: hover focus. +

    +
    +
    $utilities: (
    +  "opacity": (
    +    property: opacity,
    +    class: opacity,
    +    state: hover,
    +    values: (
    +      0: 0,
    +      25: .25,
    +      50: .5,
    +      75: .75,
    +      100: 1,
    +    )
    +  )
    +);
    +
    +
    +

    Output:

    +
    +
    .opacity-0-hover:hover { opacity: 0 !important; }
    +.opacity-25-hover:hover { opacity: .25 !important; }
    +.opacity-50-hover:hover { opacity: .5 !important; }
    +.opacity-75-hover:hover { opacity: .75 !important; }
    +.opacity-100-hover:hover { opacity: 1 !important; }
    +
    +
    +

    + Responsive + +

    +

    + Add the responsive boolean to generate responsive + utilities (e.g., .opacity-md-25) across + all breakpoints. +

    +
    +
    $utilities: (
    +  "opacity": (
    +    property: opacity,
    +    responsive: true,
    +    values: (
    +      0: 0,
    +      25: .25,
    +      50: .5,
    +      75: .75,
    +      100: 1,
    +    )
    +  )
    +);
    +
    +
    +

    Output:

    +
    +
    .opacity-0 { opacity: 0 !important; }
    +.opacity-25 { opacity: .25 !important; }
    +.opacity-50 { opacity: .5 !important; }
    +.opacity-75 { opacity: .75 !important; }
    +.opacity-100 { opacity: 1 !important; }
    +
    +@media (min-width: 576px) {
    +  .opacity-sm-0 { opacity: 0 !important; }
    +  .opacity-sm-25 { opacity: .25 !important; }
    +  .opacity-sm-50 { opacity: .5 !important; }
    +  .opacity-sm-75 { opacity: .75 !important; }
    +  .opacity-sm-100 { opacity: 1 !important; }
    +}
    +
    +@media (min-width: 768px) {
    +  .opacity-md-0 { opacity: 0 !important; }
    +  .opacity-md-25 { opacity: .25 !important; }
    +  .opacity-md-50 { opacity: .5 !important; }
    +  .opacity-md-75 { opacity: .75 !important; }
    +  .opacity-md-100 { opacity: 1 !important; }
    +}
    +
    +@media (min-width: 992px) {
    +  .opacity-lg-0 { opacity: 0 !important; }
    +  .opacity-lg-25 { opacity: .25 !important; }
    +  .opacity-lg-50 { opacity: .5 !important; }
    +  .opacity-lg-75 { opacity: .75 !important; }
    +  .opacity-lg-100 { opacity: 1 !important; }
    +}
    +
    +@media (min-width: 1200px) {
    +  .opacity-xl-0 { opacity: 0 !important; }
    +  .opacity-xl-25 { opacity: .25 !important; }
    +  .opacity-xl-50 { opacity: .5 !important; }
    +  .opacity-xl-75 { opacity: .75 !important; }
    +  .opacity-xl-100 { opacity: 1 !important; }
    +}
    +
    +@media (min-width: 1400px) {
    +  .opacity-xxl-0 { opacity: 0 !important; }
    +  .opacity-xxl-25 { opacity: .25 !important; }
    +  .opacity-xxl-50 { opacity: .5 !important; }
    +  .opacity-xxl-75 { opacity: .75 !important; }
    +  .opacity-xxl-100 { opacity: 1 !important; }
    +}
    +
    +
    +

    + Print + +

    +

    + Enabling the print option will + also generate utility classes for print, which are + only applied within the @media print { ... } media + query. +

    +
    +
    $utilities: (
    +  "opacity": (
    +    property: opacity,
    +    print: true,
    +    values: (
    +      0: 0,
    +      25: .25,
    +      50: .5,
    +      75: .75,
    +      100: 1,
    +    )
    +  )
    +);
    +
    +
    +

    Output:

    +
    +
    .opacity-0 { opacity: 0 !important; }
    +.opacity-25 { opacity: .25 !important; }
    +.opacity-50 { opacity: .5 !important; }
    +.opacity-75 { opacity: .75 !important; }
    +.opacity-100 { opacity: 1 !important; }
    +
    +@media print {
    +  .opacity-print-0 { opacity: 0 !important; }
    +  .opacity-print-25 { opacity: .25 !important; }
    +  .opacity-print-50 { opacity: .5 !important; }
    +  .opacity-print-75 { opacity: .75 !important; }
    +  .opacity-print-100 { opacity: 1 !important; }
    +}
    +
    +
    +

    + Importance + +

    +

    + All utilities generated by the API include + !important to ensure they override components and + modifier classes as intended. You can toggle this setting globally + with the $enable-important-utilities variable (defaults + to true). +

    +

    + Using the API + +

    +

    + Now that you’re familiar with how the utilities API works, + learn how to add your own custom classes and modify our default + utilities. +

    +

    + Override utilities + +

    +

    + Override existing utilities by using the same key. For example, if + you want additional responsive overflow utility classes, you can do + this: +

    +
    +
    $utilities: (
    +  "overflow": (
    +    responsive: true,
    +    property: overflow,
    +    values: visible hidden scroll auto,
    +  ),
    +);
    +
    +
    +

    + Add utilities + +

    +

    + New utilities can be added to the default + $utilities map with a map-merge. Make sure + our required Sass files and _utilities.scss are + imported first, then use the map-merge to add your + additional utilities. For example, here’s how to add a + responsive cursor utility with three values. +

    +
    +
    @import "bootstrap/scss/functions";
    +@import "bootstrap/scss/variables";
    +@import "bootstrap/scss/variables-dark";
    +@import "bootstrap/scss/maps";
    +@import "bootstrap/scss/mixins";
    +@import "bootstrap/scss/utilities";
    +
    +$utilities: map-merge(
    +  $utilities,
    +  (
    +    "cursor": (
    +      property: cursor,
    +      class: cursor,
    +      responsive: true,
    +      values: auto pointer grab,
    +    )
    +  )
    +);
    +
    +@import "bootstrap/scss/utilities/api";
    +
    +
    +

    + Modify utilities + +

    +

    + Modify existing utilities in the default $utilities map + with map-get and map-merge functions. In + the example below, we’re adding an additional value to the + width utilities. Start with an initial + map-merge and then specify which utility you want to + modify. From there, fetch the nested + "width" map with map-get to + access and modify the utility’s options and values. +

    +
    +
    @import "bootstrap/scss/functions";
    +@import "bootstrap/scss/variables";
    +@import "bootstrap/scss/variables-dark";
    +@import "bootstrap/scss/maps";
    +@import "bootstrap/scss/mixins";
    +@import "bootstrap/scss/utilities";
    +
    +$utilities: map-merge(
    +  $utilities,
    +  (
    +    "width": map-merge(
    +      map-get($utilities, "width"),
    +      (
    +        values: map-merge(
    +          map-get(map-get($utilities, "width"), "values"),
    +          (10: 10%),
    +        ),
    +      ),
    +    ),
    +  )
    +);
    +
    +@import "bootstrap/scss/utilities/api";
    +
    +
    +

    + Enable responsive + +

    +

    + You can enable responsive classes for an existing set of utilities + that are not currently responsive by default. For example, to make + the border classes responsive: +

    +
    +
    @import "bootstrap/scss/functions";
    +@import "bootstrap/scss/variables";
    +@import "bootstrap/scss/variables-dark";
    +@import "bootstrap/scss/maps";
    +@import "bootstrap/scss/mixins";
    +@import "bootstrap/scss/utilities";
    +
    +$utilities: map-merge(
    +  $utilities, (
    +    "border": map-merge(
    +      map-get($utilities, "border"),
    +      ( responsive: true ),
    +    ),
    +  )
    +);
    +
    +@import "bootstrap/scss/utilities/api";
    +
    +
    +

    + This will now generate responsive variations of + .border and .border-0 for each breakpoint. + Your generated CSS will look like this: +

    +
    +
    .border { ... }
    +.border-0 { ... }
    +
    +@media (min-width: 576px) {
    +  .border-sm { ... }
    +  .border-sm-0 { ... }
    +}
    +
    +@media (min-width: 768px) {
    +  .border-md { ... }
    +  .border-md-0 { ... }
    +}
    +
    +@media (min-width: 992px) {
    +  .border-lg { ... }
    +  .border-lg-0 { ... }
    +}
    +
    +@media (min-width: 1200px) {
    +  .border-xl { ... }
    +  .border-xl-0 { ... }
    +}
    +
    +@media (min-width: 1400px) {
    +  .border-xxl { ... }
    +  .border-xxl-0 { ... }
    +}
    +
    +
    +

    + Rename utilities + +

    +

    + Missing v4 utilities, or used to another naming convention? The + utilities API can be used to override the resulting + class of a given utility—for example, to rename + .ms-* utilities to oldish .ml-*: +

    +
    +
    @import "bootstrap/scss/functions";
    +@import "bootstrap/scss/variables";
    +@import "bootstrap/scss/variables-dark";
    +@import "bootstrap/scss/maps";
    +@import "bootstrap/scss/mixins";
    +@import "bootstrap/scss/utilities";
    +
    +$utilities: map-merge(
    +  $utilities, (
    +    "margin-start": map-merge(
    +      map-get($utilities, "margin-start"),
    +      ( class: ml ),
    +    ),
    +  )
    +);
    +
    +@import "bootstrap/scss/utilities/api";
    +
    +
    +

    + Remove utilities + +

    +

    + Remove any of the default utilities with the + map-remove() Sass function. +

    +
    +
    @import "bootstrap/scss/functions";
    +@import "bootstrap/scss/variables";
    +@import "bootstrap/scss/variables-dark";
    +@import "bootstrap/scss/maps";
    +@import "bootstrap/scss/mixins";
    +@import "bootstrap/scss/utilities";
    +
    +// Remove multiple utilities with a comma-separated list
    +$utilities: map-remove($utilities, "width", "float");
    +
    +@import "bootstrap/scss/utilities/api";
    +
    +
    +

    + You can also use the + map-merge() Sass function + and set the group key to null to remove the utility. +

    +
    +
    @import "bootstrap/scss/functions";
    +@import "bootstrap/scss/variables";
    +@import "bootstrap/scss/variables-dark";
    +@import "bootstrap/scss/maps";
    +@import "bootstrap/scss/mixins";
    +@import "bootstrap/scss/utilities";
    +
    +$utilities: map-merge(
    +  $utilities,
    +  (
    +    "width": null
    +  )
    +);
    +
    +@import "bootstrap/scss/utilities/api";
    +
    +
    +

    + Add, remove, modify + +

    +

    + You can add, remove, and modify many utilities all at once with the + map-merge() Sass function. Here’s how you can combine the previous examples into one + larger map. +

    +
    +
    @import "bootstrap/scss/functions";
    +@import "bootstrap/scss/variables";
    +@import "bootstrap/scss/variables-dark";
    +@import "bootstrap/scss/maps";
    +@import "bootstrap/scss/mixins";
    +@import "bootstrap/scss/utilities";
    +
    +$utilities: map-merge(
    +  $utilities,
    +  (
    +    // Remove the `width` utility
    +    "width": null,
    +
    +    // Make an existing utility responsive
    +    "border": map-merge(
    +      map-get($utilities, "border"),
    +      ( responsive: true ),
    +    ),
    +
    +    // Add new utilities
    +    "cursor": (
    +      property: cursor,
    +      class: cursor,
    +      responsive: true,
    +      values: auto pointer grab,
    +    )
    +  )
    +);
    +
    +@import "bootstrap/scss/utilities/api";
    +
    +
    +

    + Remove utility in RTL + +

    +

    + Some edge cases make + RTL styling difficult, such as line breaks in Arabic. Thus utilities can be dropped from + RTL output by setting the rtl option to + false: +

    +
    +
    $utilities: (
    +  "word-wrap": (
    +    property: word-wrap word-break,
    +    class: text,
    +    values: (break: break-word),
    +    rtl: false
    +  ),
    +);
    +
    +
    +

    Output:

    +
    +
    /* rtl:begin:remove */
    +.text-break {
    +  word-wrap: break-word !important;
    +  word-break: break-word !important;
    +}
    +/* rtl:end:remove */
    +
    +
    +

    + This doesn’t output anything in RTL, thanks to + the RTLCSS remove control directive. +

    +
    +
    - -
    - - -

    Bootstrap utilities are generated with our utility API and can be used to modify or extend our default set of utility classes via Sass. Our utility API is based on a series of Sass maps and functions for generating families of classes with various options. If you’re unfamiliar with Sass maps, read up on the official Sass docs to get started.

    -

    The $utilities map contains all our utilities and is later merged with your custom $utilities map, if present. The utility map contains a keyed list of utility groups which accept the following options:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    OptionTypeDefault valueDescription
    propertyRequiredName of the property, this can be a string or an array of strings (e.g., horizontal paddings or margins).
    valuesRequiredList of values, or a map if you don’t want the class name to be the same as the value. If null is used as map key, it isn’t compiled.
    classOptionalnullName of the generated class. If not provided and property is an array of strings, class will default to the first element of the property array.
    css-varOptionalfalseBoolean to generate CSS variables instead of CSS rules.
    local-varsOptionalnullMap of local CSS variables to generate in addition to the CSS rules.
    stateOptionalnullList of pseudo-class variants (e.g., :hover or :focus) to generate.
    responsiveOptionalfalseBoolean indicating if responsive classes should be generated.
    rfsOptionalfalseBoolean to enable fluid rescaling with RFS.
    printOptionalfalseBoolean indicating if print classes need to be generated.
    rtlOptionaltrueBoolean indicating if utility should be kept in RTL.
    - -

    API explained

    -

    All utility variables are added to the $utilities variable within our _utilities.scss stylesheet. Each group of utilities looks something like this:

    -
    $utilities: (
    -  "opacity": (
    -    property: opacity,
    -    values: (
    -      0: 0,
    -      25: .25,
    -      50: .5,
    -      75: .75,
    -      100: 1,
    -    )
    -  )
    -);
    -

    Which outputs the following:

    -
    .opacity-0 { opacity: 0; }
    -.opacity-25 { opacity: .25; }
    -.opacity-50 { opacity: .5; }
    -.opacity-75 { opacity: .75; }
    -.opacity-100 { opacity: 1; }
    -

    Property

    -

    The required property key must be set for any utility, and it must contain a valid CSS property. This property is used in the generated utility’s ruleset. When the class key is omitted, it also serves as the default class name. Consider the text-decoration utility:

    -
    $utilities: (
    -  "text-decoration": (
    -    property: text-decoration,
    -    values: none underline line-through
    -  )
    -);
    -

    Output:

    -
    .text-decoration-none { text-decoration: none !important; }
    -.text-decoration-underline { text-decoration: underline !important; }
    -.text-decoration-line-through { text-decoration: line-through !important; }
    -

    Values

    -

    Use the values key to specify which values for the specified property should be used in the generated class names and rules. Can be a list or map (set in the utilities or in a Sass variable).

    -

    As a list, like with text-decoration utilities:

    -
    values: none underline line-through
    -

    As a map, like with opacity utilities:

    -
    values: (
    -  0: 0,
    -  25: .25,
    -  50: .5,
    -  75: .75,
    -  100: 1,
    -)
    -

    As a Sass variable that sets the list or map, as in our position utilities:

    -
    values: $position-values
    -

    Class

    -

    Use the class option to change the class prefix used in the compiled CSS. For example, to change from .opacity-* to .o-*:

    -
    $utilities: (
    -  "opacity": (
    -    property: opacity,
    -    class: o,
    -    values: (
    -      0: 0,
    -      25: .25,
    -      50: .5,
    -      75: .75,
    -      100: 1,
    -    )
    -  )
    -);
    -

    Output:

    -
    .o-0 { opacity: 0 !important; }
    -.o-25 { opacity: .25 !important; }
    -.o-50 { opacity: .5 !important; }
    -.o-75 { opacity: .75 !important; }
    -.o-100 { opacity: 1 !important; }
    -

    CSS variable utilities

    -

    Set the css-var boolean option to true and the API will generate local CSS variables for the given selector instead of the usual property: value rules. Consider our .text-opacity-* utilities:

    -
    $utilities: (
    -  "text-opacity": (
    -    css-var: true,
    -    class: text-opacity,
    -    values: (
    -      25: .25,
    -      50: .5,
    -      75: .75,
    -      100: 1
    -    )
    -  ),
    -);
    -

    Output:

    -
    .text-opacity-25 { --bs-text-opacity: .25; }
    -.text-opacity-50 { --bs-text-opacity: .5; }
    -.text-opacity-75 { --bs-text-opacity: .75; }
    -.text-opacity-100 { --bs-text-opacity: 1; }
    -

    Local CSS variables

    -

    Use the local-vars option to specify a Sass map that will generate local CSS variables within the utility class’s ruleset. Please note that it may require additional work to consume those local CSS variables in the generated CSS rules. For example, consider our .bg-* utilities:

    -
    $utilities: (
    -  "background-color": (
    -    property: background-color,
    -    class: bg,
    -    local-vars: (
    -      "bg-opacity": 1
    -    ),
    -    values: map-merge(
    -      $utilities-bg-colors,
    -      (
    -        "transparent": transparent
    -      )
    -    )
    -  )
    -);
    -

    Output:

    -
    .bg-primary {
    -  --bs-bg-opacity: 1;
    -  background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
    -}
    -

    States

    -

    Use the state option to generate pseudo-class variations. Example pseudo-classes are :hover and :focus. When a list of states are provided, classnames are created for that pseudo-class. For example, to change opacity on hover, add state: hover and you’ll get .opacity-hover:hover in your compiled CSS.

    -

    Need multiple pseudo-classes? Use a space-separated list of states: state: hover focus.

    -
    $utilities: (
    -  "opacity": (
    -    property: opacity,
    -    class: opacity,
    -    state: hover,
    -    values: (
    -      0: 0,
    -      25: .25,
    -      50: .5,
    -      75: .75,
    -      100: 1,
    -    )
    -  )
    -);
    -

    Output:

    -
    .opacity-0-hover:hover { opacity: 0 !important; }
    -.opacity-25-hover:hover { opacity: .25 !important; }
    -.opacity-50-hover:hover { opacity: .5 !important; }
    -.opacity-75-hover:hover { opacity: .75 !important; }
    -.opacity-100-hover:hover { opacity: 1 !important; }
    -

    Responsive

    -

    Add the responsive boolean to generate responsive utilities (e.g., .opacity-md-25) across all breakpoints.

    -
    $utilities: (
    -  "opacity": (
    -    property: opacity,
    -    responsive: true,
    -    values: (
    -      0: 0,
    -      25: .25,
    -      50: .5,
    -      75: .75,
    -      100: 1,
    -    )
    -  )
    -);
    -

    Output:

    -
    .opacity-0 { opacity: 0 !important; }
    -.opacity-25 { opacity: .25 !important; }
    -.opacity-50 { opacity: .5 !important; }
    -.opacity-75 { opacity: .75 !important; }
    -.opacity-100 { opacity: 1 !important; }
    -
    -@media (min-width: 576px) {
    -  .opacity-sm-0 { opacity: 0 !important; }
    -  .opacity-sm-25 { opacity: .25 !important; }
    -  .opacity-sm-50 { opacity: .5 !important; }
    -  .opacity-sm-75 { opacity: .75 !important; }
    -  .opacity-sm-100 { opacity: 1 !important; }
    -}
    -
    -@media (min-width: 768px) {
    -  .opacity-md-0 { opacity: 0 !important; }
    -  .opacity-md-25 { opacity: .25 !important; }
    -  .opacity-md-50 { opacity: .5 !important; }
    -  .opacity-md-75 { opacity: .75 !important; }
    -  .opacity-md-100 { opacity: 1 !important; }
    -}
    -
    -@media (min-width: 992px) {
    -  .opacity-lg-0 { opacity: 0 !important; }
    -  .opacity-lg-25 { opacity: .25 !important; }
    -  .opacity-lg-50 { opacity: .5 !important; }
    -  .opacity-lg-75 { opacity: .75 !important; }
    -  .opacity-lg-100 { opacity: 1 !important; }
    -}
    -
    -@media (min-width: 1200px) {
    -  .opacity-xl-0 { opacity: 0 !important; }
    -  .opacity-xl-25 { opacity: .25 !important; }
    -  .opacity-xl-50 { opacity: .5 !important; }
    -  .opacity-xl-75 { opacity: .75 !important; }
    -  .opacity-xl-100 { opacity: 1 !important; }
    -}
    -
    -@media (min-width: 1400px) {
    -  .opacity-xxl-0 { opacity: 0 !important; }
    -  .opacity-xxl-25 { opacity: .25 !important; }
    -  .opacity-xxl-50 { opacity: .5 !important; }
    -  .opacity-xxl-75 { opacity: .75 !important; }
    -  .opacity-xxl-100 { opacity: 1 !important; }
    -}
    -

    Print

    -

    Enabling the print option will also generate utility classes for print, which are only applied within the @media print { ... } media query.

    -
    $utilities: (
    -  "opacity": (
    -    property: opacity,
    -    print: true,
    -    values: (
    -      0: 0,
    -      25: .25,
    -      50: .5,
    -      75: .75,
    -      100: 1,
    -    )
    -  )
    -);
    -

    Output:

    -
    .opacity-0 { opacity: 0 !important; }
    -.opacity-25 { opacity: .25 !important; }
    -.opacity-50 { opacity: .5 !important; }
    -.opacity-75 { opacity: .75 !important; }
    -.opacity-100 { opacity: 1 !important; }
    -
    -@media print {
    -  .opacity-print-0 { opacity: 0 !important; }
    -  .opacity-print-25 { opacity: .25 !important; }
    -  .opacity-print-50 { opacity: .5 !important; }
    -  .opacity-print-75 { opacity: .75 !important; }
    -  .opacity-print-100 { opacity: 1 !important; }
    -}
    -

    Importance

    -

    All utilities generated by the API include !important to ensure they override components and modifier classes as intended. You can toggle this setting globally with the $enable-important-utilities variable (defaults to true).

    -

    Using the API

    -

    Now that you’re familiar with how the utilities API works, learn how to add your own custom classes and modify our default utilities.

    -

    Override utilities

    -

    Override existing utilities by using the same key. For example, if you want additional responsive overflow utility classes, you can do this:

    -
    $utilities: (
    -  "overflow": (
    -    responsive: true,
    -    property: overflow,
    -    values: visible hidden scroll auto,
    -  ),
    -);
    -

    Add utilities

    -

    New utilities can be added to the default $utilities map with a map-merge. Make sure our required Sass files and _utilities.scss are imported first, then use the map-merge to add your additional utilities. For example, here’s how to add a responsive cursor utility with three values.

    -
    @import "bootstrap/scss/functions";
    -@import "bootstrap/scss/variables";
    -@import "bootstrap/scss/utilities";
    -
    -$utilities: map-merge(
    -  $utilities,
    -  (
    -    "cursor": (
    -      property: cursor,
    -      class: cursor,
    -      responsive: true,
    -      values: auto pointer grab,
    -    )
    -  )
    -);
    -

    Modify utilities

    -

    Modify existing utilities in the default $utilities map with map-get and map-merge functions. In the example below, we’re adding an additional value to the width utilities. Start with an initial map-merge and then specify which utility you want to modify. From there, fetch the nested "width" map with map-get to access and modify the utility’s options and values.

    -
    @import "bootstrap/scss/functions";
    -@import "bootstrap/scss/variables";
    -@import "bootstrap/scss/utilities";
    -
    -$utilities: map-merge(
    -  $utilities,
    -  (
    -    "width": map-merge(
    -      map-get($utilities, "width"),
    -      (
    -        values: map-merge(
    -          map-get(map-get($utilities, "width"), "values"),
    -          (10: 10%),
    -        ),
    -      ),
    -    ),
    -  )
    -);
    -

    Enable responsive

    -

    You can enable responsive classes for an existing set of utilities that are not currently responsive by default. For example, to make the border classes responsive:

    -
    @import "bootstrap/scss/functions";
    -@import "bootstrap/scss/variables";
    -@import "bootstrap/scss/utilities";
    -
    -$utilities: map-merge(
    -  $utilities, (
    -    "border": map-merge(
    -      map-get($utilities, "border"),
    -      ( responsive: true ),
    -    ),
    -  )
    -);
    -

    This will now generate responsive variations of .border and .border-0 for each breakpoint. Your generated CSS will look like this:

    -
    .border { ... }
    -.border-0 { ... }
    -
    -@media (min-width: 576px) {
    -  .border-sm { ... }
    -  .border-sm-0 { ... }
    -}
    -
    -@media (min-width: 768px) {
    -  .border-md { ... }
    -  .border-md-0 { ... }
    -}
    -
    -@media (min-width: 992px) {
    -  .border-lg { ... }
    -  .border-lg-0 { ... }
    -}
    -
    -@media (min-width: 1200px) {
    -  .border-xl { ... }
    -  .border-xl-0 { ... }
    -}
    -
    -@media (min-width: 1400px) {
    -  .border-xxl { ... }
    -  .border-xxl-0 { ... }
    -}
    -

    Rename utilities

    -

    Missing v4 utilities, or used to another naming convention? The utilities API can be used to override the resulting class of a given utility—for example, to rename .ms-* utilities to oldish .ml-*:

    -
    @import "bootstrap/scss/functions";
    -@import "bootstrap/scss/variables";
    -@import "bootstrap/scss/utilities";
    -
    -$utilities: map-merge(
    -  $utilities, (
    -    "margin-start": map-merge(
    -      map-get($utilities, "margin-start"),
    -      ( class: ml ),
    -    ),
    -  )
    -);
    -

    Remove utilities

    -

    Remove any of the default utilities by setting the group key to null. For example, to remove all our width utilities, create a $utilities map-merge and add "width": null within.

    -
    @import "bootstrap/scss/functions";
    -@import "bootstrap/scss/variables";
    -@import "bootstrap/scss/utilities";
    -
    -$utilities: map-merge(
    -  $utilities,
    -  (
    -    "width": null
    -  )
    -);
    -

    Remove utility in RTL

    -

    Some edge cases make RTL styling difficult, such as line breaks in Arabic. Thus utilities can be dropped from RTL output by setting the rtl option to false:

    -
    $utilities: (
    -  "word-wrap": (
    -    property: word-wrap word-break,
    -    class: text,
    -    values: (break: break-word),
    -    rtl: false
    -  ),
    -);
    -

    Output:

    -
    /* rtl:begin:remove */
    -.text-break {
    -  word-wrap: break-word !important;
    -  word-break: break-word !important;
    -}
    -/* rtl:end:remove */
    -

    This doesn’t output anything in RTL, thanks to the RTLCSS remove control directive.

    - +
    -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/background/index.html b/utilities/background/index.html index 8b972be..540c656 100644 --- a/utilities/background/index.html +++ b/utilities/background/index.html @@ -1,685 +1,2927 @@ - - - - - - - - - - - - - - - -Background · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Background · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Background

    +
    +

    + Convey meaning through background-color and add + decoration with gradients. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Background

    +
    + + On this page +
    +
    -

    Convey meaning through background-color and add decoration with gradients.

    - -
    - - -
    - On this page - +
    +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + +

    + Background color + +

    +

    + Similar to the contextual text color classes, set the background of + an element to any contextual class. Background utilities + do not set color, so in some cases you’ll want to use .text-* + color utilities. +

    +
    + Background utilities like .bg-* that generated from our + original $theme-colors Sass map don’t yet respond + to color modes, however, any .bg-*-subtle utility will. + This will be resolved in v6. +
    + +
    +
    +
    .bg-primary
    +
    + .bg-primary-subtle +
    +
    .bg-secondary
    +
    + .bg-secondary-subtle +
    +
    .bg-success
    +
    + .bg-success-subtle +
    +
    .bg-danger
    +
    + .bg-danger-subtle +
    +
    .bg-warning
    +
    + .bg-warning-subtle +
    +
    .bg-info
    +
    + .bg-info-subtle +
    +
    .bg-light
    +
    + .bg-light-subtle +
    +
    .bg-dark
    +
    + .bg-dark-subtle +
    +

    .bg-body-secondary

    +

    .bg-body-tertiary

    + +
    .bg-body
    +
    .bg-black
    +
    .bg-white
    +
    + .bg-transparent +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
    +<div class="p-3 mb-2 bg-primary-subtle text-emphasis-primary">.bg-primary-subtle</div>
    +<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
    +<div class="p-3 mb-2 bg-secondary-subtle text-emphasis-secondary">.bg-secondary-subtle</div>
    +<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
    +<div class="p-3 mb-2 bg-success-subtle text-emphasis-success">.bg-success-subtle</div>
    +<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
    +<div class="p-3 mb-2 bg-danger-subtle text-emphasis-danger">.bg-danger-subtle</div>
    +<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
    +<div class="p-3 mb-2 bg-warning-subtle text-emphasis-warning">.bg-warning-subtle</div>
    +<div class="p-3 mb-2 bg-info text-dark">.bg-info</div>
    +<div class="p-3 mb-2 bg-info-subtle text-emphasis-info">.bg-info-subtle</div>
    +<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
    +<div class="p-3 mb-2 bg-light-subtle text-emphasis-light">.bg-light-subtle</div>
    +<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
    +<div class="p-3 mb-2 bg-dark-subtle text-emphasis-dark">.bg-dark-subtle</div>
    +<p class="p-3 mb-2 bg-body-secondary">.bg-body-secondary</p>
    +<p class="p-3 mb-2 bg-body-tertiary">.bg-body-tertiary</p>
    +
    +<div class="p-3 mb-2 bg-body text-body">.bg-body</div>
    +<div class="p-3 mb-2 bg-black text-white">.bg-black</div>
    +<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
    +<div class="p-3 mb-2 bg-transparent text-body">.bg-transparent</div>
    +
    +
    + +

    + Background gradient + +

    +

    + By adding a .bg-gradient class, a linear gradient is + added as background image to the backgrounds. This gradient starts + with a semi-transparent white which fades out to the bottom. +

    +

    + Do you need a gradient in your custom CSS? Just add + background-image: var(--bs-gradient);. +

    +
    + .bg-primary.bg-gradient +
    +
    + .bg-secondary.bg-gradient +
    +
    + .bg-success.bg-gradient +
    +
    + .bg-danger.bg-gradient +
    +
    + .bg-warning.bg-gradient +
    +
    + .bg-info.bg-gradient +
    +
    + .bg-light.bg-gradient +
    +
    + .bg-dark.bg-gradient +
    +
    + .bg-black.bg-gradient +
    + +

    + Opacity + +

    + Added in v5.1.0 + +

    + As of v5.1.0, background-color utilities are generated + with Sass using CSS variables. This allows for real-time color + changes without compilation and dynamic alpha transparency changes. +

    +

    + How it works + +

    +

    Consider our default .bg-success utility.

    +
    +
    .bg-success {
    +  --bs-bg-opacity: 1;
    +  background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
    +}
    +
    +
    +

    + We use an RGB version of our --bs-success (with the + value of 25, 135, 84) CSS variable and attached a + second CSS variable, --bs-bg-opacity, for the alpha + transparency (with a default value 1 thanks to a local + CSS variable). That means anytime you use + .bg-success now, your computed color value + is rgba(25, 135, 84, 1). The local CSS variable inside + each .bg-* class avoids inheritance issues so nested + instances of the utilities don’t automatically have a modified + alpha transparency. +

    +

    + Example + +

    +

    + To change that opacity, override --bs-bg-opacity via + custom styles or inline styles. +

    +
    +
    +
    + This is default success background +
    +
    + This is 50% opacity success background +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="bg-success p-2 text-white">This is default success background</div>
    +<div class="bg-success p-2" style="--bs-bg-opacity: .5;">This is 50% opacity success background</div>
    +
    +
    + +

    Or, choose from any of the .bg-opacity utilities:

    +
    +
    +
    + This is default success background +
    +
    + This is 75% opacity success background +
    +
    + This is 50% opacity success background +
    +
    + This is 25% opacity success background +
    +
    + This is 10% opacity success background +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="bg-success p-2 text-white">This is default success background</div>
    +<div class="bg-success p-2 text-white bg-opacity-75">This is 75% opacity success background</div>
    +<div class="bg-success p-2 text-dark bg-opacity-50">This is 50% opacity success background</div>
    +<div class="bg-success p-2 text-dark bg-opacity-25">This is 25% opacity success background</div>
    +<div class="bg-success p-2 text-dark bg-opacity-10">This is 10% opacity success background</div>
    +
    +
    + +

    + CSS + +

    +

    + In addition to the following Sass functionality, consider reading + about our included + CSS custom properties + (aka CSS variables) for colors and more. +

    +

    + Sass variables + +

    +

    + Most background-color utilities are generated by our + theme colors, reassigned from our generic color palette variables. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $blue:    #0d6efd;
    +$indigo:  #6610f2;
    +$purple:  #6f42c1;
    +$pink:    #d63384;
    +$red:     #dc3545;
    +$orange:  #fd7e14;
    +$yellow:  #ffc107;
    +$green:   #198754;
    +$teal:    #20c997;
    +$cyan:    #0dcaf0;
    +
    +
    +
    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $primary:       $blue;
    +$secondary:     $gray-600;
    +$success:       $green;
    +$info:          $cyan;
    +$warning:       $yellow;
    +$danger:        $red;
    +$light:         $gray-100;
    +$dark:          $gray-900;
    +
    +
    +
    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0));
    +
    +
    +
    +

    + Grayscale colors are also available, but only a subset are used to + generate any utilities. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $white:    #fff;
    +$gray-100: #f8f9fa;
    +$gray-200: #e9ecef;
    +$gray-300: #dee2e6;
    +$gray-400: #ced4da;
    +$gray-500: #adb5bd;
    +$gray-600: #6c757d;
    +$gray-700: #495057;
    +$gray-800: #343a40;
    +$gray-900: #212529;
    +$black:    #000;
    +
    +
    +
    +

    + Variables for setting background-color in + .bg-*-subtle utilities in light and dark mode: +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $primary-bg-subtle:       tint-color($primary, 80%);
    +$secondary-bg-subtle:     tint-color($secondary, 80%);
    +$success-bg-subtle:       tint-color($success, 80%);
    +$info-bg-subtle:          tint-color($info, 80%);
    +$warning-bg-subtle:       tint-color($warning, 80%);
    +$danger-bg-subtle:        tint-color($danger, 80%);
    +$light-bg-subtle:         mix($gray-100, $white);
    +$dark-bg-subtle:          $gray-400;
    +
    +
    +
    +
    +
    + scss/_variables-dark.scss +
    + +
    +
    +
    +
    $primary-bg-subtle-dark:            shade-color($primary, 80%);
    +$secondary-bg-subtle-dark:          shade-color($secondary, 80%);
    +$success-bg-subtle-dark:            shade-color($success, 80%);
    +$info-bg-subtle-dark:               shade-color($info, 80%);
    +$warning-bg-subtle-dark:            shade-color($warning, 80%);
    +$danger-bg-subtle-dark:             shade-color($danger, 80%);
    +$light-bg-subtle-dark:              $gray-800;
    +$dark-bg-subtle-dark:               mix($gray-800, $black);
    +
    +
    +
    +

    + Sass maps + +

    +

    + Theme colors are then put into a Sass map so we can loop over them + to generate our utilities, component modifiers, and more. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $theme-colors: (
    +  "primary":    $primary,
    +  "secondary":  $secondary,
    +  "success":    $success,
    +  "info":       $info,
    +  "warning":    $warning,
    +  "danger":     $danger,
    +  "light":      $light,
    +  "dark":       $dark
    +);
    +
    +
    +
    +

    + Grayscale colors are also available as a Sass map. + This map is not used to generate any utilities. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $grays: (
    +  "100": $gray-100,
    +  "200": $gray-200,
    +  "300": $gray-300,
    +  "400": $gray-400,
    +  "500": $gray-500,
    +  "600": $gray-600,
    +  "700": $gray-700,
    +  "800": $gray-800,
    +  "900": $gray-900
    +);
    +
    +
    +
    +

    RGB colors are generated from a separate Sass map:

    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value");
    +
    +
    +
    +

    + Background color opacities build on that with their own map + that’s consumed by the utilities API: +

    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $utilities-bg: map-merge(
    +  $utilities-colors,
    +  (
    +    "black": to-rgb($black),
    +    "white": to-rgb($white),
    +    "body": to-rgb($body-bg)
    +  )
    +);
    +$utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg");
    +
    +$utilities-bg-subtle: (
    +  "primary-subtle": var(--#{$prefix}primary-bg-subtle),
    +  "secondary-subtle": var(--#{$prefix}secondary-bg-subtle),
    +  "success-subtle": var(--#{$prefix}success-bg-subtle),
    +  "info-subtle": var(--#{$prefix}info-bg-subtle),
    +  "warning-subtle": var(--#{$prefix}warning-bg-subtle),
    +  "danger-subtle": var(--#{$prefix}danger-bg-subtle),
    +  "light-subtle": var(--#{$prefix}light-bg-subtle),
    +  "dark-subtle": var(--#{$prefix}dark-bg-subtle)
    +);
    +
    +
    +
    +

    Color mode background colors are also available as a Sass map:

    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-bg-subtle: (
    +  "primary": $primary-bg-subtle,
    +  "secondary": $secondary-bg-subtle,
    +  "success": $success-bg-subtle,
    +  "info": $info-bg-subtle,
    +  "warning": $warning-bg-subtle,
    +  "danger": $danger-bg-subtle,
    +  "light": $light-bg-subtle,
    +  "dark": $dark-bg-subtle,
    +);
    +
    +
    +
    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-bg-subtle-dark: (
    +  "primary": $primary-bg-subtle-dark,
    +  "secondary": $secondary-bg-subtle-dark,
    +  "success": $success-bg-subtle-dark,
    +  "info": $info-bg-subtle-dark,
    +  "warning": $warning-bg-subtle-dark,
    +  "danger": $danger-bg-subtle-dark,
    +  "light": $light-bg-subtle-dark,
    +  "dark": $dark-bg-subtle-dark,
    +);
    +
    +
    +

    + Sass mixins + +

    +

    + No mixins are used to generate our background utilities, but we do have some additional mixins for other situations where + you’d like to create your own gradients. +

    +
    +
    + scss/mixins/_gradients.scss +
    + +
    +
    +
    +
    @mixin gradient-bg($color: null) {
    +  background-color: $color;
    +
    +  @if $enable-gradients {
    +    background-image: var(--#{$prefix}gradient);
    +  }
    +}
    +
    +
    +
    +
    +
    + scss/mixins/_gradients.scss +
    + +
    +
    +
    +
    // Horizontal gradient, from left to right
    +//
    +// Creates two color stops, start and end, by specifying a color and position for each color stop.
    +@mixin gradient-x($start-color: $gray-700, $end-color: $gray-800, $start-percent: 0%, $end-percent: 100%) {
    +  background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent);
    +}
    +
    +// Vertical gradient, from top to bottom
    +//
    +// Creates two color stops, start and end, by specifying a color and position for each color stop.
    +@mixin gradient-y($start-color: $gray-700, $end-color: $gray-800, $start-percent: null, $end-percent: null) {
    +  background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent);
    +}
    +
    +@mixin gradient-directional($start-color: $gray-700, $end-color: $gray-800, $deg: 45deg) {
    +  background-image: linear-gradient($deg, $start-color, $end-color);
    +}
    +
    +@mixin gradient-x-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {
    +  background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
    +}
    +
    +@mixin gradient-y-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {
    +  background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
    +}
    +
    +@mixin gradient-radial($inner-color: $gray-700, $outer-color: $gray-800) {
    +  background-image: radial-gradient(circle, $inner-color, $outer-color);
    +}
    +
    +@mixin gradient-striped($color: rgba($white, .15), $angle: 45deg) {
    +  background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
    +}
    +
    +
    +
    +

    + Utilities API + +

    +

    + Background utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "background-color": (
    +  property: background-color,
    +  class: bg,
    +  local-vars: (
    +    "bg-opacity": 1
    +  ),
    +  values: map-merge(
    +    $utilities-bg-colors,
    +    (
    +      "transparent": transparent,
    +      "body-secondary": rgba(var(--#{$prefix}secondary-bg-rgb), var(--#{$prefix}bg-opacity)),
    +      "body-tertiary": rgba(var(--#{$prefix}tertiary-bg-rgb), var(--#{$prefix}bg-opacity)),
    +    )
    +  )
    +),
    +"bg-opacity": (
    +  css-var: true,
    +  class: bg-opacity,
    +  values: (
    +    10: .1,
    +    25: .25,
    +    50: .5,
    +    75: .75,
    +    100: 1
    +  )
    +),
    +"subtle-background-color": (
    +  property: background-color,
    +  class: bg,
    +  values: $utilities-bg-subtle
    +),
    +
    +
    +
    +
    - -
    - - -

    Background color

    -

    Similar to the contextual text color classes, set the background of an element to any contextual class. Background utilities do not set color, so in some cases you’ll want to use .text-* color utilities.

    -
    - -
    .bg-primary
    -
    .bg-secondary
    -
    .bg-success
    -
    .bg-danger
    -
    .bg-warning
    -
    .bg-info
    -
    .bg-light
    -
    .bg-dark
    -
    .bg-body
    -
    .bg-white
    -
    .bg-transparent
    -
    <div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
    -<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
    -<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
    -<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
    -<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
    -<div class="p-3 mb-2 bg-info text-dark">.bg-info</div>
    -<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
    -<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
    -<div class="p-3 mb-2 bg-body text-dark">.bg-body</div>
    -<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
    -<div class="p-3 mb-2 bg-transparent text-dark">.bg-transparent</div>
    -

    Background gradient

    -

    By adding a .bg-gradient class, a linear gradient is added as background image to the backgrounds. This gradient starts with a semi-transparent white which fades out to the bottom.

    -

    Do you need a gradient in your custom CSS? Just add background-image: var(--bs-gradient);.

    -
    .bg-primary.bg-gradient
    -
    .bg-secondary.bg-gradient
    -
    .bg-success.bg-gradient
    -
    .bg-danger.bg-gradient
    -
    .bg-warning.bg-gradient
    -
    .bg-info.bg-gradient
    -
    .bg-light.bg-gradient
    -
    .bg-dark.bg-gradient
    - -

    Opacity

    -

    Added in v5.1.0

    -

    As of v5.1.0, background-color utilities are generated with Sass using CSS variables. This allows for real-time color changes without compilation and dynamic alpha transparency changes.

    -

    How it works

    -

    Consider our default .bg-success utility.

    -
    .bg-success {
    -  --bs-bg-opacity: 1;
    -  background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
    -}
    -

    We use an RGB version of our --bs-success (with the value of 25, 135, 84) CSS variable and attached a second CSS variable, --bs-bg-opacity, for the alpha transparency (with a default value 1 thanks to a local CSS variable). That means anytime you use .bg-success now, your computed color value is rgba(25, 135, 84, 1). The local CSS variable inside each .bg-* class avoids inheritance issues so nested instances of the utilities don’t automatically have a modified alpha transparency.

    -

    Example

    -

    To change that opacity, override --bs-bg-opacity via custom styles or inline styles.

    -
    -
    This is default success background
    -
    This is 50% opacity success background
    -
    <div class="bg-success p-2 text-white">This is default success background</div>
    -<div class="bg-success p-2" style="--bs-bg-opacity: .5;">This is 50% opacity success background</div>
    -

    Or, choose from any of the .bg-opacity utilities:

    -
    -
    This is default success background
    -
    This is 75% opacity success background
    -
    This is 50% opacity success background
    -
    This is 25% opacity success background
    -
    This is 10% opacity success background
    -
    <div class="bg-success p-2 text-white">This is default success background</div>
    -<div class="bg-success p-2 text-white bg-opacity-75">This is 75% opacity success background</div>
    -<div class="bg-success p-2 text-dark bg-opacity-50">This is 50% opacity success background</div>
    -<div class="bg-success p-2 text-dark bg-opacity-25">This is 25% opacity success background</div>
    -<div class="bg-success p-2 text-dark bg-opacity-10">This is 10% opacity success background</div>
    -

    Sass

    -

    In addition to the following Sass functionality, consider reading about our included CSS custom properties (aka CSS variables) for colors and more.

    -

    Variables

    -

    Most background-color utilities are generated by our theme colors, reassigned from our generic color palette variables.

    -
    $blue:    #0d6efd;
    -$indigo:  #6610f2;
    -$purple:  #6f42c1;
    -$pink:    #d63384;
    -$red:     #dc3545;
    -$orange:  #fd7e14;
    -$yellow:  #ffc107;
    -$green:   #198754;
    -$teal:    #20c997;
    -$cyan:    #0dcaf0;
    -
    -
    $primary:       $blue;
    -$secondary:     $gray-600;
    -$success:       $green;
    -$info:          $cyan;
    -$warning:       $yellow;
    -$danger:        $red;
    -$light:         $gray-100;
    -$dark:          $gray-900;
    -
    -
    $gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0));
    -
    -

    Grayscale colors are also available, but only a subset are used to generate any utilities.

    -
    $white:    #fff;
    -$gray-100: #f8f9fa;
    -$gray-200: #e9ecef;
    -$gray-300: #dee2e6;
    -$gray-400: #ced4da;
    -$gray-500: #adb5bd;
    -$gray-600: #6c757d;
    -$gray-700: #495057;
    -$gray-800: #343a40;
    -$gray-900: #212529;
    -$black:    #000;
    -
    -

    Map

    -

    Theme colors are then put into a Sass map so we can loop over them to generate our utilities, component modifiers, and more.

    -
    $theme-colors: (
    -  "primary":    $primary,
    -  "secondary":  $secondary,
    -  "success":    $success,
    -  "info":       $info,
    -  "warning":    $warning,
    -  "danger":     $danger,
    -  "light":      $light,
    -  "dark":       $dark
    -);
    -
    -

    Grayscale colors are also available as a Sass map. This map is not used to generate any utilities.

    -
    $grays: (
    -  "100": $gray-100,
    -  "200": $gray-200,
    -  "300": $gray-300,
    -  "400": $gray-400,
    -  "500": $gray-500,
    -  "600": $gray-600,
    -  "700": $gray-700,
    -  "800": $gray-800,
    -  "900": $gray-900
    -);
    -
    -

    RGB colors are generated from a separate Sass map:

    -
    $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value");
    -
    -

    And background color opacities build on that with their own map that’s consumed by the utilities API:

    -
    $utilities-bg: map-merge(
    -  $utilities-colors,
    -  (
    -    "black": to-rgb($black),
    -    "white": to-rgb($white),
    -    "body": to-rgb($body-bg)
    -  )
    -);
    -$utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg");
    -
    -

    Mixins

    -

    No mixins are used to generate our background utilities, but we do have some additional mixins for other situations where you’d like to create your own gradients.

    -
    @mixin gradient-bg($color: null) {
    -  background-color: $color;
    -
    -  @if $enable-gradients {
    -    background-image: var(--#{$variable-prefix}gradient);
    -  }
    -}
    -
    -
    // Horizontal gradient, from left to right
    -//
    -// Creates two color stops, start and end, by specifying a color and position for each color stop.
    -@mixin gradient-x($start-color: $gray-700, $end-color: $gray-800, $start-percent: 0%, $end-percent: 100%) {
    -  background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent);
    -}
    -
    -// Vertical gradient, from top to bottom
    -//
    -// Creates two color stops, start and end, by specifying a color and position for each color stop.
    -@mixin gradient-y($start-color: $gray-700, $end-color: $gray-800, $start-percent: null, $end-percent: null) {
    -  background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent);
    -}
    -
    -@mixin gradient-directional($start-color: $gray-700, $end-color: $gray-800, $deg: 45deg) {
    -  background-image: linear-gradient($deg, $start-color, $end-color);
    -}
    -
    -@mixin gradient-x-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {
    -  background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
    -}
    -
    -@mixin gradient-y-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {
    -  background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
    -}
    -
    -@mixin gradient-radial($inner-color: $gray-700, $outer-color: $gray-800) {
    -  background-image: radial-gradient(circle, $inner-color, $outer-color);
    -}
    -
    -@mixin gradient-striped($color: rgba($white, .15), $angle: 45deg) {
    -  background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
    -}
    -
    -

    Utilities API

    -

    Background utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "background-color": (
    -      property: background-color,
    -      class: bg,
    -      local-vars: (
    -        "bg-opacity": 1
    -      ),
    -      values: map-merge(
    -        $utilities-bg-colors,
    -        (
    -          "transparent": transparent
    -        )
    -      )
    -    ),
    -    "bg-opacity": (
    -      css-var: true,
    -      class: bg-opacity,
    -      values: (
    -        10: .1,
    -        25: .25,
    -        50: .5,
    -        75: .75,
    -        100: 1
    -      )
    -    ),
    -    
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/borders/index.html b/utilities/borders/index.html index d7b7f08..e199cd0 100644 --- a/utilities/borders/index.html +++ b/utilities/borders/index.html @@ -1,735 +1,3438 @@ - - - - - - - - - - - - - - - -Borders · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Borders · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Borders

    +
    +

    + Use border utilities to quickly style the border and border-radius + of an element. Great for images, buttons, or any other element. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Borders

    +
    + + On this page +
    +
    + +
    -

    Use border utilities to quickly style the border and border-radius of an element. Great for images, buttons, or any other element.

    - -
    - - -
    - On this page - +
    +

    + Border + +

    +

    + Use border utilities to add or remove an element’s borders. + Choose from all borders or one at a time. +

    +

    + Additive + +

    +

    Add borders to custom elements:

    +
    +
    + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <span class="border"></span>
    +<span class="border-top"></span>
    +<span class="border-end"></span>
    +<span class="border-bottom"></span>
    +<span class="border-start"></span>
    +
    +
    + +

    + Subtractive + +

    +

    Or remove borders:

    +
    +
    + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <span class="border border-0"></span>
    +<span class="border border-top-0"></span>
    +<span class="border border-end-0"></span>
    +<span class="border border-bottom-0"></span>
    +<span class="border border-start-0"></span>
    +
    +
    + +

    + Color + +

    +
    + Border utilities like .border-* that generated from our + original $theme-colors Sass map don’t yet respond + to color modes, however, any .border-*-subtle utility + will. This will be resolved in v6. +
    + +

    + Change the border color using utilities built on our theme colors. +

    +
    +
    + + + + + + + + + + + + + + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <span class="border border-primary"></span>
    +<span class="border border-primary-subtle"></span>
    +<span class="border border-secondary"></span>
    +<span class="border border-secondary-subtle"></span>
    +<span class="border border-success"></span>
    +<span class="border border-success-subtle"></span>
    +<span class="border border-danger"></span>
    +<span class="border border-danger-subtle"></span>
    +<span class="border border-warning"></span>
    +<span class="border border-warning-subtle"></span>
    +<span class="border border-info"></span>
    +<span class="border border-info-subtle"></span>
    +<span class="border border-light"></span>
    +<span class="border border-light-subtle"></span>
    +<span class="border border-dark"></span>
    +<span class="border border-dark-subtle"></span>
    +<span class="border border-black"></span>
    +<span class="border border-white"></span>
    +
    +
    + +

    Or modify the default border-color of a component:

    +
    +
    +
    + + +
    + +
    + Dangerous heading +
    + +
    + Changing border color and width +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="mb-4">
    +  <label for="exampleFormControlInput1" class="form-label">Email address</label>
    +  <input type="email" class="form-control border-success" id="exampleFormControlInput1" placeholder="name@example.com">
    +</div>
    +
    +<div class="h4 pb-2 mb-4 text-danger border-bottom border-danger">
    +  Dangerous heading
    +</div>
    +
    +<div class="p-3 bg-info bg-opacity-10 border border-info border-start-0 rounded-end">
    +  Changing border color and width
    +</div>
    +
    +
    + +

    + Opacity + +

    + Added in v5.2.0 + +

    + Bootstrap border-{color} utilities are generated with + Sass using CSS variables. This allows for real-time color changes + without compilation and dynamic alpha transparency changes. +

    +

    + How it works + +

    +

    Consider our default .border-success utility.

    +
    +
    .border-success {
    +  --bs-border-opacity: 1;
    +  border-color: rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important;
    +}
    +
    +
    +

    + We use an RGB version of our --bs-success (with the + value of 25, 135, 84) CSS variable and attached a + second CSS variable, --bs-border-opacity, for the alpha + transparency (with a default value 1 thanks to a local + CSS variable). That means anytime you use + .border-success now, your computed + color value is rgba(25, 135, 84, 1). The + local CSS variable inside each .border-* class avoids + inheritance issues so nested instances of the utilities don’t + automatically have a modified alpha transparency. +

    +

    + Example + +

    +

    + To change that opacity, override + --bs-border-opacity via custom styles or inline styles. +

    +
    +
    +
    + This is default success border +
    +
    + This is 50% opacity success border +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="border border-success p-2 mb-2">This is default success border</div>
    +<div class="border border-success p-2" style="--bs-border-opacity: .5;">This is 50% opacity success border</div>
    +
    +
    + +

    + Or, choose from any of the .border-opacity utilities: +

    +
    +
    +
    + This is default success border +
    +
    + This is 75% opacity success border +
    +
    + This is 50% opacity success border +
    +
    + This is 25% opacity success border +
    +
    + This is 10% opacity success border +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="border border-success p-2 mb-2">This is default success border</div>
    +<div class="border border-success p-2 mb-2 border-opacity-75">This is 75% opacity success border</div>
    +<div class="border border-success p-2 mb-2 border-opacity-50">This is 50% opacity success border</div>
    +<div class="border border-success p-2 mb-2 border-opacity-25">This is 25% opacity success border</div>
    +<div class="border border-success p-2 border-opacity-10">This is 10% opacity success border</div>
    +
    +
    + +

    + Width + +

    +
    +
    + + + + + +
    +
    + html +
    + + +
    +
    +
    +
    <span class="border border-1"></span>
    +<span class="border border-2"></span>
    +<span class="border border-3"></span>
    +<span class="border border-4"></span>
    +<span class="border border-5"></span>
    +
    +
    + +

    + Radius + +

    +

    Add classes to an element to easily round its corners.

    +
    +
    + + Example rounded image + + 75x75 + + + Example top rounded image + + 75x75 + + + Example right rounded image + + 75x75 + + + Example bottom rounded image + + 75x75 + + + Example left rounded image + + 75x75 + + + Completely round image + + 75x75 + + + Rounded pill image + + 150x75 + +
    +
    + html +
    + + +
    +
    +
    +
    <img src="..." class="rounded" alt="...">
    +<img src="..." class="rounded-top" alt="...">
    +<img src="..." class="rounded-end" alt="...">
    +<img src="..." class="rounded-bottom" alt="...">
    +<img src="..." class="rounded-start" alt="...">
    +<img src="..." class="rounded-circle" alt="...">
    +<img src="..." class="rounded-pill" alt="...">
    +
    +
    + +

    + Sizes + +

    +

    + Use the scaling classes for larger or smaller rounded corners. Sizes + range from 0 to 5, and can be configured + by modifying the utilities API. +

    +
    +
    + + Example non-rounded image + + 75x75 + + + Example small rounded image + + 75x75 + + + Example default rounded image + + 75x75 + + + Example large rounded image + + 75x75 + + + Example larger rounded image + + 75x75 + + + Example extra large rounded image + + 75x75 + +
    +
    + html +
    + + +
    +
    +
    +
    <img src="..." class="rounded-0" alt="...">
    +<img src="..." class="rounded-1" alt="...">
    +<img src="..." class="rounded-2" alt="...">
    +<img src="..." class="rounded-3" alt="...">
    +<img src="..." class="rounded-4" alt="...">
    +<img src="..." class="rounded-5" alt="...">
    +
    +
    + +
    +
    + + Example small rounded image + + 75x75 + + + Example default left rounded image + + 75x75 + + + Example right completely round image + + 75x75 + + + Example left rounded pill image + + 75x75 + + + Example extra large bottom rounded image + + 75x75 + +
    +
    + html +
    + + +
    +
    +
    +
    <img src="..." class="rounded-bottom-1" alt="...">
    +<img src="..." class="rounded-start-2" alt="...">
    +<img src="..." class="rounded-end-circle" alt="...">
    +<img src="..." class="rounded-start-pill" alt="...">
    +<img src="..." class="rounded-5 rounded-top-0" alt="...">
    +
    +
    + +

    + CSS + +

    +

    + Variables + +

    + Added in v5.2.0 + +
    +
    + scss/_root.scss +
    + +
    +
    +
    +
    --#{$prefix}border-width: #{$border-width};
    +--#{$prefix}border-style: #{$border-style};
    +--#{$prefix}border-color: #{$border-color};
    +--#{$prefix}border-color-translucent: #{$border-color-translucent};
    +
    +--#{$prefix}border-radius: #{$border-radius};
    +--#{$prefix}border-radius-sm: #{$border-radius-sm};
    +--#{$prefix}border-radius-lg: #{$border-radius-lg};
    +--#{$prefix}border-radius-xl: #{$border-radius-xl};
    +--#{$prefix}border-radius-xxl: #{$border-radius-xxl};
    +--#{$prefix}border-radius-2xl: var(--#{$prefix}border-radius-xxl); // Deprecated in v5.3.0 for consistency
    +--#{$prefix}border-radius-pill: #{$border-radius-pill};
    +
    +
    +

    + Sass variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $border-width:                1px;
    +$border-widths: (
    +  1: 1px,
    +  2: 2px,
    +  3: 3px,
    +  4: 4px,
    +  5: 5px
    +);
    +$border-style:                solid;
    +$border-color:                $gray-300;
    +$border-color-translucent:    rgba($black, .175);
    +
    +
    +
    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $border-radius:               .375rem;
    +$border-radius-sm:            .25rem;
    +$border-radius-lg:            .5rem;
    +$border-radius-xl:            1rem;
    +$border-radius-xxl:           2rem;
    +$border-radius-pill:          50rem;
    +
    +
    +
    +

    + Variables for setting border-color in + .border-*-subtle utilities in light and dark mode: +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $primary-border-subtle:   tint-color($primary, 60%);
    +$secondary-border-subtle: tint-color($secondary, 60%);
    +$success-border-subtle:   tint-color($success, 60%);
    +$info-border-subtle:      tint-color($info, 60%);
    +$warning-border-subtle:   tint-color($warning, 60%);
    +$danger-border-subtle:    tint-color($danger, 60%);
    +$light-border-subtle:     $gray-200;
    +$dark-border-subtle:      $gray-500;
    +
    +
    +
    +
    +
    + scss/_variables-dark.scss +
    + +
    +
    +
    +
    $primary-border-subtle-dark:        shade-color($primary, 40%);
    +$secondary-border-subtle-dark:      shade-color($secondary, 40%);
    +$success-border-subtle-dark:        shade-color($success, 40%);
    +$info-border-subtle-dark:           shade-color($info, 40%);
    +$warning-border-subtle-dark:        shade-color($warning, 40%);
    +$danger-border-subtle-dark:         shade-color($danger, 40%);
    +$light-border-subtle-dark:          $gray-700;
    +$dark-border-subtle-dark:           $gray-800;
    +
    +
    +
    +

    + Sass maps + +

    +

    + Color mode adaptive border colors are also available as a Sass map: +

    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-border-subtle: (
    +  "primary": $primary-border-subtle,
    +  "secondary": $secondary-border-subtle,
    +  "success": $success-border-subtle,
    +  "info": $info-border-subtle,
    +  "warning": $warning-border-subtle,
    +  "danger": $danger-border-subtle,
    +  "light": $light-border-subtle,
    +  "dark": $dark-border-subtle,
    +);
    +
    +
    +
    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-border-subtle-dark: (
    +  "primary": $primary-border-subtle-dark,
    +  "secondary": $secondary-border-subtle-dark,
    +  "success": $success-border-subtle-dark,
    +  "info": $info-border-subtle-dark,
    +  "warning": $warning-border-subtle-dark,
    +  "danger": $danger-border-subtle-dark,
    +  "light": $light-border-subtle-dark,
    +  "dark": $dark-border-subtle-dark,
    +);
    +
    +
    +

    + Sass mixins + +

    +
    + +
    +
    @mixin border-radius($radius: $border-radius, $fallback-border-radius: false) {
    +  @if $enable-rounded {
    +    border-radius: valid-radius($radius);
    +  }
    +  @else if $fallback-border-radius != false {
    +    border-radius: $fallback-border-radius;
    +  }
    +}
    +
    +@mixin border-top-radius($radius: $border-radius) {
    +  @if $enable-rounded {
    +    border-top-left-radius: valid-radius($radius);
    +    border-top-right-radius: valid-radius($radius);
    +  }
    +}
    +
    +@mixin border-end-radius($radius: $border-radius) {
    +  @if $enable-rounded {
    +    border-top-right-radius: valid-radius($radius);
    +    border-bottom-right-radius: valid-radius($radius);
    +  }
    +}
    +
    +@mixin border-bottom-radius($radius: $border-radius) {
    +  @if $enable-rounded {
    +    border-bottom-right-radius: valid-radius($radius);
    +    border-bottom-left-radius: valid-radius($radius);
    +  }
    +}
    +
    +@mixin border-start-radius($radius: $border-radius) {
    +  @if $enable-rounded {
    +    border-top-left-radius: valid-radius($radius);
    +    border-bottom-left-radius: valid-radius($radius);
    +  }
    +}
    +
    +@mixin border-top-start-radius($radius: $border-radius) {
    +  @if $enable-rounded {
    +    border-top-left-radius: valid-radius($radius);
    +  }
    +}
    +
    +@mixin border-top-end-radius($radius: $border-radius) {
    +  @if $enable-rounded {
    +    border-top-right-radius: valid-radius($radius);
    +  }
    +}
    +
    +@mixin border-bottom-end-radius($radius: $border-radius) {
    +  @if $enable-rounded {
    +    border-bottom-right-radius: valid-radius($radius);
    +  }
    +}
    +
    +@mixin border-bottom-start-radius($radius: $border-radius) {
    +  @if $enable-rounded {
    +    border-bottom-left-radius: valid-radius($radius);
    +  }
    +}
    +
    +
    +
    +

    + Utilities API + +

    +

    + Border utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "border": (
    +  property: border,
    +  values: (
    +    null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
    +    0: 0,
    +  )
    +),
    +"border-top": (
    +  property: border-top,
    +  values: (
    +    null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
    +    0: 0,
    +  )
    +),
    +"border-end": (
    +  property: border-right,
    +  class: border-end,
    +  values: (
    +    null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
    +    0: 0,
    +  )
    +),
    +"border-bottom": (
    +  property: border-bottom,
    +  values: (
    +    null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
    +    0: 0,
    +  )
    +),
    +"border-start": (
    +  property: border-left,
    +  class: border-start,
    +  values: (
    +    null: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color),
    +    0: 0,
    +  )
    +),
    +"border-color": (
    +  property: border-color,
    +  class: border,
    +  local-vars: (
    +    "border-opacity": 1
    +  ),
    +  values: $utilities-border-colors
    +),
    +"subtle-border-color": (
    +  property: border-color,
    +  class: border,
    +  values: $utilities-border-subtle
    +),
    +"border-width": (
    +  property: border-width,
    +  class: border,
    +  values: $border-widths
    +),
    +"border-opacity": (
    +  css-var: true,
    +  class: border-opacity,
    +  values: (
    +    10: .1,
    +    25: .25,
    +    50: .5,
    +    75: .75,
    +    100: 1
    +  )
    +),
    +
    +
    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "rounded": (
    +  property: border-radius,
    +  class: rounded,
    +  values: (
    +    null: var(--#{$prefix}border-radius),
    +    0: 0,
    +    1: var(--#{$prefix}border-radius-sm),
    +    2: var(--#{$prefix}border-radius),
    +    3: var(--#{$prefix}border-radius-lg),
    +    4: var(--#{$prefix}border-radius-xl),
    +    5: var(--#{$prefix}border-radius-xxl),
    +    circle: 50%,
    +    pill: var(--#{$prefix}border-radius-pill)
    +  )
    +),
    +"rounded-top": (
    +  property: border-top-left-radius border-top-right-radius,
    +  class: rounded-top,
    +  values: (
    +    null: var(--#{$prefix}border-radius),
    +    0: 0,
    +    1: var(--#{$prefix}border-radius-sm),
    +    2: var(--#{$prefix}border-radius),
    +    3: var(--#{$prefix}border-radius-lg),
    +    4: var(--#{$prefix}border-radius-xl),
    +    5: var(--#{$prefix}border-radius-xxl),
    +    circle: 50%,
    +    pill: var(--#{$prefix}border-radius-pill)
    +  )
    +),
    +"rounded-end": (
    +  property: border-top-right-radius border-bottom-right-radius,
    +  class: rounded-end,
    +  values: (
    +    null: var(--#{$prefix}border-radius),
    +    0: 0,
    +    1: var(--#{$prefix}border-radius-sm),
    +    2: var(--#{$prefix}border-radius),
    +    3: var(--#{$prefix}border-radius-lg),
    +    4: var(--#{$prefix}border-radius-xl),
    +    5: var(--#{$prefix}border-radius-xxl),
    +    circle: 50%,
    +    pill: var(--#{$prefix}border-radius-pill)
    +  )
    +),
    +"rounded-bottom": (
    +  property: border-bottom-right-radius border-bottom-left-radius,
    +  class: rounded-bottom,
    +  values: (
    +    null: var(--#{$prefix}border-radius),
    +    0: 0,
    +    1: var(--#{$prefix}border-radius-sm),
    +    2: var(--#{$prefix}border-radius),
    +    3: var(--#{$prefix}border-radius-lg),
    +    4: var(--#{$prefix}border-radius-xl),
    +    5: var(--#{$prefix}border-radius-xxl),
    +    circle: 50%,
    +    pill: var(--#{$prefix}border-radius-pill)
    +  )
    +),
    +"rounded-start": (
    +  property: border-bottom-left-radius border-top-left-radius,
    +  class: rounded-start,
    +  values: (
    +    null: var(--#{$prefix}border-radius),
    +    0: 0,
    +    1: var(--#{$prefix}border-radius-sm),
    +    2: var(--#{$prefix}border-radius),
    +    3: var(--#{$prefix}border-radius-lg),
    +    4: var(--#{$prefix}border-radius-xl),
    +    5: var(--#{$prefix}border-radius-xxl),
    +    circle: 50%,
    +    pill: var(--#{$prefix}border-radius-pill)
    +  )
    +),
    +
    +
    +
    +
    - -
    - - -

    Border

    -

    Use border utilities to add or remove an element’s borders. Choose from all borders or one at a time.

    -

    Additive

    -
    - - - - - -
    <span class="border"></span>
    -<span class="border-top"></span>
    -<span class="border-end"></span>
    -<span class="border-bottom"></span>
    -<span class="border-start"></span>
    -

    Subtractive

    -
    - - - - - -
    <span class="border-0"></span>
    -<span class="border-top-0"></span>
    -<span class="border-end-0"></span>
    -<span class="border-bottom-0"></span>
    -<span class="border-start-0"></span>
    -

    Border color

    -

    Change the border color using utilities built on our theme colors.

    -
    - - - - - - - - - - -
    <span class="border border-primary"></span>
    -<span class="border border-secondary"></span>
    -<span class="border border-success"></span>
    -<span class="border border-danger"></span>
    -<span class="border border-warning"></span>
    -<span class="border border-info"></span>
    -<span class="border border-light"></span>
    -<span class="border border-dark"></span>
    -<span class="border border-white"></span>
    -

    Border-width

    -
    - - - - - -
    <span class="border border-1"></span>
    -<span class="border border-2"></span>
    -<span class="border border-3"></span>
    -<span class="border border-4"></span>
    -<span class="border border-5"></span>
    -

    Border-radius

    -

    Add classes to an element to easily round its corners.

    -
    -Example rounded image75x75 - -Example top rounded image75x75 - -Example right rounded image75x75 - -Example bottom rounded image75x75 - -Example left rounded image75x75 - -Completely round image75x75 - -Rounded pill image150x75 - -
    <img src="..." class="rounded" alt="...">
    -<img src="..." class="rounded-top" alt="...">
    -<img src="..." class="rounded-end" alt="...">
    -<img src="..." class="rounded-bottom" alt="...">
    -<img src="..." class="rounded-start" alt="...">
    -<img src="..." class="rounded-circle" alt="...">
    -<img src="..." class="rounded-pill" alt="...">
    -

    Sizes

    -

    Use the scaling classes for larger or smaller rounded corners. Sizes range from 0 to 3, and can be configured by modifying the utilities API.

    -
    -Example non-rounded image75x75 - -Example small rounded image75x75 - -Example default rounded image75x75 - -Example large rounded image75x75 - -
    <img src="..." class="rounded-0" alt="...">
    -<img src="..." class="rounded-1" alt="...">
    -<img src="..." class="rounded-2" alt="...">
    -<img src="..." class="rounded-3" alt="...">
    -

    Sass

    -

    Variables

    -
    $border-width:                1px;
    -$border-widths: (
    -  1: 1px,
    -  2: 2px,
    -  3: 3px,
    -  4: 4px,
    -  5: 5px
    -);
    -
    -$border-color:                $gray-300;
    -
    -
    $border-radius:               .25rem;
    -$border-radius-sm:            .2rem;
    -$border-radius-lg:            .3rem;
    -$border-radius-pill:          50rem;
    -
    -

    Mixins

    -
    @mixin border-radius($radius: $border-radius, $fallback-border-radius: false) {
    -  @if $enable-rounded {
    -    border-radius: valid-radius($radius);
    -  }
    -  @else if $fallback-border-radius != false {
    -    border-radius: $fallback-border-radius;
    -  }
    -}
    -
    -@mixin border-top-radius($radius: $border-radius) {
    -  @if $enable-rounded {
    -    border-top-left-radius: valid-radius($radius);
    -    border-top-right-radius: valid-radius($radius);
    -  }
    -}
    -
    -@mixin border-end-radius($radius: $border-radius) {
    -  @if $enable-rounded {
    -    border-top-right-radius: valid-radius($radius);
    -    border-bottom-right-radius: valid-radius($radius);
    -  }
    -}
    -
    -@mixin border-bottom-radius($radius: $border-radius) {
    -  @if $enable-rounded {
    -    border-bottom-right-radius: valid-radius($radius);
    -    border-bottom-left-radius: valid-radius($radius);
    -  }
    -}
    -
    -@mixin border-start-radius($radius: $border-radius) {
    -  @if $enable-rounded {
    -    border-top-left-radius: valid-radius($radius);
    -    border-bottom-left-radius: valid-radius($radius);
    -  }
    -}
    -
    -@mixin border-top-start-radius($radius: $border-radius) {
    -  @if $enable-rounded {
    -    border-top-left-radius: valid-radius($radius);
    -  }
    -}
    -
    -@mixin border-top-end-radius($radius: $border-radius) {
    -  @if $enable-rounded {
    -    border-top-right-radius: valid-radius($radius);
    -  }
    -}
    -
    -@mixin border-bottom-end-radius($radius: $border-radius) {
    -  @if $enable-rounded {
    -    border-bottom-right-radius: valid-radius($radius);
    -  }
    -}
    -
    -@mixin border-bottom-start-radius($radius: $border-radius) {
    -  @if $enable-rounded {
    -    border-bottom-left-radius: valid-radius($radius);
    -  }
    -}
    -
    -

    Utilities API

    -

    Border utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "border": (
    -      property: border,
    -      values: (
    -        null: $border-width solid $border-color,
    -        0: 0,
    -      )
    -    ),
    -    "border-top": (
    -      property: border-top,
    -      values: (
    -        null: $border-width solid $border-color,
    -        0: 0,
    -      )
    -    ),
    -    "border-end": (
    -      property: border-right,
    -      class: border-end,
    -      values: (
    -        null: $border-width solid $border-color,
    -        0: 0,
    -      )
    -    ),
    -    "border-bottom": (
    -      property: border-bottom,
    -      values: (
    -        null: $border-width solid $border-color,
    -        0: 0,
    -      )
    -    ),
    -    "border-start": (
    -      property: border-left,
    -      class: border-start,
    -      values: (
    -        null: $border-width solid $border-color,
    -        0: 0,
    -      )
    -    ),
    -    "border-color": (
    -      property: border-color,
    -      class: border,
    -      values: map-merge($theme-colors, ("white": $white))
    -    ),
    -    "border-width": (
    -      property: border-width,
    -      class: border,
    -      values: $border-widths
    -    ),
    -    
    -
        "rounded": (
    -      property: border-radius,
    -      class: rounded,
    -      values: (
    -        null: $border-radius,
    -        0: 0,
    -        1: $border-radius-sm,
    -        2: $border-radius,
    -        3: $border-radius-lg,
    -        circle: 50%,
    -        pill: $border-radius-pill
    -      )
    -    ),
    -    "rounded-top": (
    -      property: border-top-left-radius border-top-right-radius,
    -      class: rounded-top,
    -      values: (null: $border-radius)
    -    ),
    -    "rounded-end": (
    -      property: border-top-right-radius border-bottom-right-radius,
    -      class: rounded-end,
    -      values: (null: $border-radius)
    -    ),
    -    "rounded-bottom": (
    -      property: border-bottom-right-radius border-bottom-left-radius,
    -      class: rounded-bottom,
    -      values: (null: $border-radius)
    -    ),
    -    "rounded-start": (
    -      property: border-bottom-left-radius border-top-left-radius,
    -      class: rounded-start,
    -      values: (null: $border-radius)
    -    ),
    -    
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/colors/index.html b/utilities/colors/index.html index 7e69008..6ee2fbd 100644 --- a/utilities/colors/index.html +++ b/utilities/colors/index.html @@ -1,641 +1,2800 @@ - - - - - - - - - - - - - - - -Colors · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Colors · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Colors

    +
    +

    + Convey meaning through color with a handful of color + utility classes. Includes support for styling links with hover + states, too. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Colors

    +
    + + On this page +
    +
    -

    Convey meaning through color with a handful of color utility classes. Includes support for styling links with hover states, too.

    - -
    - - -
    - On this page - +
    +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + +

    + Colors + +

    +

    + Colorize text with color utilities. If you want to colorize links, + you can use the + .link-* helper classes + which have :hover and :focus states. +

    +
    + Color utilities like .text-* that generated from our + original $theme-colors Sass map don’t yet respond + to color modes, however, any .text-*-emphasis utility + will. This will be resolved in v6. +
    + +
    +
    +

    .text-primary

    +

    .text-primary-emphasis

    +

    .text-secondary

    +

    .text-secondary-emphasis

    +

    .text-success

    +

    .text-success-emphasis

    +

    .text-danger

    +

    .text-danger-emphasis

    +

    .text-warning

    +

    .text-warning-emphasis

    +

    .text-info

    +

    .text-info-emphasis

    +

    .text-light

    +

    .text-light-emphasis

    +

    .text-dark

    +

    .text-dark-emphasis

    + +

    .text-body

    +

    .text-body-emphasis

    +

    .text-body-secondary

    +

    .text-body-tertiary

    + +

    .text-black

    +

    .text-white

    +

    .text-black-50

    +

    .text-white-50

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="text-primary">.text-primary</p>
    +<p class="text-primary-emphasis">.text-primary-emphasis</p>
    +<p class="text-secondary">.text-secondary</p>
    +<p class="text-secondary-emphasis">.text-secondary-emphasis</p>
    +<p class="text-success">.text-success</p>
    +<p class="text-success-emphasis">.text-success-emphasis</p>
    +<p class="text-danger">.text-danger</p>
    +<p class="text-danger-emphasis">.text-danger-emphasis</p>
    +<p class="text-warning bg-dark">.text-warning</p>
    +<p class="text-warning-emphasis">.text-warning-emphasis</p>
    +<p class="text-info bg-dark">.text-info</p>
    +<p class="text-info-emphasis">.text-info-emphasis</p>
    +<p class="text-light bg-dark">.text-light</p>
    +<p class="text-light-emphasis">.text-light-emphasis</p>
    +<p class="text-dark bg-white">.text-dark</p>
    +<p class="text-dark-emphasis">.text-dark-emphasis</p>
    +
    +<p class="text-body">.text-body</p>
    +<p class="text-body-emphasis">.text-body-emphasis</p>
    +<p class="text-body-secondary">.text-body-secondary</p>
    +<p class="text-body-tertiary">.text-body-tertiary</p>
    +
    +<p class="text-black bg-white">.text-black</p>
    +<p class="text-white bg-dark">.text-white</p>
    +<p class="text-black-50 bg-white">.text-black-50</p>
    +<p class="text-white-50 bg-dark">.text-white-50</p>
    +
    +
    + +
    + Deprecation: With the addition of + .text-opacity-* utilities and CSS variables for text + utilities, .text-black-50 and + .text-white-50 are deprecated as of v5.1.0. + They’ll be removed in v6.0.0. +
    + +
    + Deprecation: With the addition of the expanded + theme colors and variables, the .text-muted utility has + been deprecated as of v5.3.0. Its default value has also been + reassigned to the new --bs-secondary-color CSS variable + to better support color modes. It will be removed in v6.0.0. +
    + +

    + Opacity + +

    + Added in v5.1.0 + +

    + As of v5.1.0, text color utilities are generated with Sass using CSS + variables. This allows for real-time color changes without + compilation and dynamic alpha transparency changes. +

    +

    + How it works + +

    +

    Consider our default .text-primary utility.

    +
    +
    .text-primary {
    +  --bs-text-opacity: 1;
    +  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
    +}
    +
    +
    +

    + We use an RGB version of our --bs-primary (with the + value of 13, 110, 253) CSS variable and attached a + second CSS variable, --bs-text-opacity, for the alpha + transparency (with a default value 1 thanks to a local + CSS variable). That means anytime you use + .text-primary now, your computed + color value is rgba(13, 110, 253, 1). The + local CSS variable inside each .text-* class avoids + inheritance issues so nested instances of the utilities don’t + automatically have a modified alpha transparency. +

    +

    + Example + +

    +

    + To change that opacity, override --bs-text-opacity via + custom styles or inline styles. +

    +
    +
    +
    This is default primary text
    +
    + This is 50% opacity primary text +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="text-primary">This is default primary text</div>
    +<div class="text-primary" style="--bs-text-opacity: .5;">This is 50% opacity primary text</div>
    +
    +
    + +

    + Or, choose from any of the .text-opacity utilities: +

    +
    +
    +
    This is default primary text
    +
    + This is 75% opacity primary text +
    +
    + This is 50% opacity primary text +
    +
    + This is 25% opacity primary text +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="text-primary">This is default primary text</div>
    +<div class="text-primary text-opacity-75">This is 75% opacity primary text</div>
    +<div class="text-primary text-opacity-50">This is 50% opacity primary text</div>
    +<div class="text-primary text-opacity-25">This is 25% opacity primary text</div>
    +
    +
    + +

    + Specificity + +

    +

    + Sometimes contextual classes cannot be applied due to the + specificity of another selector. In some cases, a sufficient + workaround is to wrap your element’s content in a + <div> or more semantic element with the desired + class. +

    +

    + CSS + +

    +

    + In addition to the following Sass functionality, consider reading + about our included + CSS custom properties + (aka CSS variables) for colors and more. +

    +

    + Sass variables + +

    +

    + Most color utilities are generated by our theme colors, + reassigned from our generic color palette variables. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $blue:    #0d6efd;
    +$indigo:  #6610f2;
    +$purple:  #6f42c1;
    +$pink:    #d63384;
    +$red:     #dc3545;
    +$orange:  #fd7e14;
    +$yellow:  #ffc107;
    +$green:   #198754;
    +$teal:    #20c997;
    +$cyan:    #0dcaf0;
    +
    +
    +
    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $primary:       $blue;
    +$secondary:     $gray-600;
    +$success:       $green;
    +$info:          $cyan;
    +$warning:       $yellow;
    +$danger:        $red;
    +$light:         $gray-100;
    +$dark:          $gray-900;
    +
    +
    +
    +

    + Grayscale colors are also available, but only a subset are used to + generate any utilities. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $white:    #fff;
    +$gray-100: #f8f9fa;
    +$gray-200: #e9ecef;
    +$gray-300: #dee2e6;
    +$gray-400: #ced4da;
    +$gray-500: #adb5bd;
    +$gray-600: #6c757d;
    +$gray-700: #495057;
    +$gray-800: #343a40;
    +$gray-900: #212529;
    +$black:    #000;
    +
    +
    +
    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-text: (
    +  "primary": $primary-text-emphasis,
    +  "secondary": $secondary-text-emphasis,
    +  "success": $success-text-emphasis,
    +  "info": $info-text-emphasis,
    +  "warning": $warning-text-emphasis,
    +  "danger": $danger-text-emphasis,
    +  "light": $light-text-emphasis,
    +  "dark": $dark-text-emphasis,
    +);
    +
    +
    +
    +

    + Variables for setting colors in + .text-*-emphasis utilities in light and dark mode: +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $primary-text-emphasis:   shade-color($primary, 60%);
    +$secondary-text-emphasis: shade-color($secondary, 60%);
    +$success-text-emphasis:   shade-color($success, 60%);
    +$info-text-emphasis:      shade-color($info, 60%);
    +$warning-text-emphasis:   shade-color($warning, 60%);
    +$danger-text-emphasis:    shade-color($danger, 60%);
    +$light-text-emphasis:     $gray-700;
    +$dark-text-emphasis:      $gray-700;
    +
    +
    +
    +
    +
    + scss/_variables-dark.scss +
    + +
    +
    +
    +
    $primary-text-emphasis-dark:        tint-color($primary, 40%);
    +$secondary-text-emphasis-dark:      tint-color($secondary, 40%);
    +$success-text-emphasis-dark:        tint-color($success, 40%);
    +$info-text-emphasis-dark:           tint-color($info, 40%);
    +$warning-text-emphasis-dark:        tint-color($warning, 40%);
    +$danger-text-emphasis-dark:         tint-color($danger, 40%);
    +$light-text-emphasis-dark:          $gray-100;
    +$dark-text-emphasis-dark:           $gray-300;
    +
    +
    +
    +

    + Sass maps + +

    +

    + Theme colors are then put into a Sass map so we can loop over them + to generate our utilities, component modifiers, and more. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $theme-colors: (
    +  "primary":    $primary,
    +  "secondary":  $secondary,
    +  "success":    $success,
    +  "info":       $info,
    +  "warning":    $warning,
    +  "danger":     $danger,
    +  "light":      $light,
    +  "dark":       $dark
    +);
    +
    +
    +
    +

    + Grayscale colors are also available as a Sass map. + This map is not used to generate any utilities. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $grays: (
    +  "100": $gray-100,
    +  "200": $gray-200,
    +  "300": $gray-300,
    +  "400": $gray-400,
    +  "500": $gray-500,
    +  "600": $gray-600,
    +  "700": $gray-700,
    +  "800": $gray-800,
    +  "900": $gray-900
    +);
    +
    +
    +
    +

    RGB colors are generated from a separate Sass map:

    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value");
    +
    +
    +
    +

    + Color opacities build on that with their own map that’s + consumed by the utilities API: +

    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $utilities-text: map-merge(
    +  $utilities-colors,
    +  (
    +    "black": to-rgb($black),
    +    "white": to-rgb($white),
    +    "body": to-rgb($body-color)
    +  )
    +);
    +$utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text");
    +
    +$utilities-text-emphasis-colors: (
    +  "primary-emphasis": var(--#{$prefix}primary-text-emphasis),
    +  "secondary-emphasis": var(--#{$prefix}secondary-text-emphasis),
    +  "success-emphasis": var(--#{$prefix}success-text-emphasis),
    +  "info-emphasis": var(--#{$prefix}info-text-emphasis),
    +  "warning-emphasis": var(--#{$prefix}warning-text-emphasis),
    +  "danger-emphasis": var(--#{$prefix}danger-text-emphasis),
    +  "light-emphasis": var(--#{$prefix}light-text-emphasis),
    +  "dark-emphasis": var(--#{$prefix}dark-text-emphasis)
    +);
    +
    +
    +
    +

    + Color mode adaptive text colors are also available as a Sass map: +

    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-text: (
    +  "primary": $primary-text-emphasis,
    +  "secondary": $secondary-text-emphasis,
    +  "success": $success-text-emphasis,
    +  "info": $info-text-emphasis,
    +  "warning": $warning-text-emphasis,
    +  "danger": $danger-text-emphasis,
    +  "light": $light-text-emphasis,
    +  "dark": $dark-text-emphasis,
    +);
    +
    +
    +
    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-text-dark: (
    +  "primary": $primary-text-emphasis-dark,
    +  "secondary": $secondary-text-emphasis-dark,
    +  "success": $success-text-emphasis-dark,
    +  "info": $info-text-emphasis-dark,
    +  "warning": $warning-text-emphasis-dark,
    +  "danger": $danger-text-emphasis-dark,
    +  "light": $light-text-emphasis-dark,
    +  "dark": $dark-text-emphasis-dark,
    +);
    +
    +
    +

    + Utilities API + +

    +

    + Color utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "color": (
    +  property: color,
    +  class: text,
    +  local-vars: (
    +    "text-opacity": 1
    +  ),
    +  values: map-merge(
    +    $utilities-text-colors,
    +    (
    +      "muted": var(--#{$prefix}secondary-color), // deprecated
    +      "black-50": rgba($black, .5), // deprecated
    +      "white-50": rgba($white, .5), // deprecated
    +      "body-secondary": var(--#{$prefix}secondary-color),
    +      "body-tertiary": var(--#{$prefix}tertiary-color),
    +      "body-emphasis": var(--#{$prefix}emphasis-color),
    +      "reset": inherit,
    +    )
    +  )
    +),
    +"text-opacity": (
    +  css-var: true,
    +  class: text-opacity,
    +  values: (
    +    25: .25,
    +    50: .5,
    +    75: .75,
    +    100: 1
    +  )
    +),
    +"text-color": (
    +  property: color,
    +  class: text,
    +  values: $utilities-text-emphasis-colors
    +),
    +
    +
    +
    +
    - -
    - - -

    Colors

    -

    Colorize text with color utilities. If you want to colorize links, you can use the .link-* helper classes which have :hover and :focus states.

    -
    - -

    .text-primary

    -

    .text-secondary

    -

    .text-success

    -

    .text-danger

    -

    .text-warning

    -

    .text-info

    -

    .text-light

    -

    .text-dark

    -

    .text-body

    -

    .text-muted

    -

    .text-white

    -

    .text-black-50

    -

    .text-white-50

    -
    <p class="text-primary">.text-primary</p>
    -<p class="text-secondary">.text-secondary</p>
    -<p class="text-success">.text-success</p>
    -<p class="text-danger">.text-danger</p>
    -<p class="text-warning bg-dark">.text-warning</p>
    -<p class="text-info bg-dark">.text-info</p>
    -<p class="text-light bg-dark">.text-light</p>
    -<p class="text-dark">.text-dark</p>
    -<p class="text-body">.text-body</p>
    -<p class="text-muted">.text-muted</p>
    -<p class="text-white bg-dark">.text-white</p>
    -<p class="text-black-50">.text-black-50</p>
    -<p class="text-white-50 bg-dark">.text-white-50</p>
    -
    -Deprecation: With the addition of .text-opacity-* utilities and CSS variables for text utilities, .text-black-50 and .text-white-50 are deprecated as of v5.1.0. They’ll be removed in v6.0.0. -
    - -
    -
    Conveying meaning to assistive technologies
    -

    Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the .visually-hidden class. -

    - -

    Opacity

    -

    Added in v5.1.0

    -

    As of v5.1.0, text color utilities are generated with Sass using CSS variables. This allows for real-time color changes without compilation and dynamic alpha transparency changes.

    -

    How it works

    -

    Consider our default .text-primary utility.

    -
    .text-primary {
    -  --bs-text-opacity: 1;
    -  color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
    -}
    -

    We use an RGB version of our --bs-primary (with the value of 13, 110, 253) CSS variable and attached a second CSS variable, --bs-text-opacity, for the alpha transparency (with a default value 1 thanks to a local CSS variable). That means anytime you use .text-primary now, your computed color value is rgba(13, 110, 253, 1). The local CSS variable inside each .text-* class avoids inheritance issues so nested instances of the utilities don’t automatically have a modified alpha transparency.

    -

    Example

    -

    To change that opacity, override --bs-text-opacity via custom styles or inline styles.

    -
    -
    This is default primary text
    -
    This is 50% opacity primary text
    -
    <div class="text-primary">This is default primary text</div>
    -<div class="text-primary" style="--bs-text-opacity: .5;">This is 50% opacity primary text</div>
    -

    Or, choose from any of the .text-opacity utilities:

    -
    -
    This is default primary text
    -
    This is 75% opacity primary text
    -
    This is 50% opacity primary text
    -
    This is 25% opacity primary text
    -
    <div class="text-primary">This is default primary text</div>
    -<div class="text-primary text-opacity-75">This is 75% opacity primary text</div>
    -<div class="text-primary text-opacity-50">This is 50% opacity primary text</div>
    -<div class="text-primary text-opacity-25">This is 25% opacity primary text</div>
    -

    Specificity

    -

    Sometimes contextual classes cannot be applied due to the specificity of another selector. In some cases, a sufficient workaround is to wrap your element’s content in a <div> or more semantic element with the desired class.

    -

    Sass

    -

    In addition to the following Sass functionality, consider reading about our included CSS custom properties (aka CSS variables) for colors and more.

    -

    Variables

    -

    Most color utilities are generated by our theme colors, reassigned from our generic color palette variables.

    -
    $blue:    #0d6efd;
    -$indigo:  #6610f2;
    -$purple:  #6f42c1;
    -$pink:    #d63384;
    -$red:     #dc3545;
    -$orange:  #fd7e14;
    -$yellow:  #ffc107;
    -$green:   #198754;
    -$teal:    #20c997;
    -$cyan:    #0dcaf0;
    -
    -
    $primary:       $blue;
    -$secondary:     $gray-600;
    -$success:       $green;
    -$info:          $cyan;
    -$warning:       $yellow;
    -$danger:        $red;
    -$light:         $gray-100;
    -$dark:          $gray-900;
    -
    -

    Grayscale colors are also available, but only a subset are used to generate any utilities.

    -
    $white:    #fff;
    -$gray-100: #f8f9fa;
    -$gray-200: #e9ecef;
    -$gray-300: #dee2e6;
    -$gray-400: #ced4da;
    -$gray-500: #adb5bd;
    -$gray-600: #6c757d;
    -$gray-700: #495057;
    -$gray-800: #343a40;
    -$gray-900: #212529;
    -$black:    #000;
    -
    -

    Map

    -

    Theme colors are then put into a Sass map so we can loop over them to generate our utilities, component modifiers, and more.

    -
    $theme-colors: (
    -  "primary":    $primary,
    -  "secondary":  $secondary,
    -  "success":    $success,
    -  "info":       $info,
    -  "warning":    $warning,
    -  "danger":     $danger,
    -  "light":      $light,
    -  "dark":       $dark
    -);
    -
    -

    Grayscale colors are also available as a Sass map. This map is not used to generate any utilities.

    -
    $grays: (
    -  "100": $gray-100,
    -  "200": $gray-200,
    -  "300": $gray-300,
    -  "400": $gray-400,
    -  "500": $gray-500,
    -  "600": $gray-600,
    -  "700": $gray-700,
    -  "800": $gray-800,
    -  "900": $gray-900
    -);
    -
    -

    RGB colors are generated from a separate Sass map:

    -
    $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value");
    -
    -

    And color opacities build on that with their own map that’s consumed by the utilities API:

    -
    $utilities-text: map-merge(
    -  $utilities-colors,
    -  (
    -    "black": to-rgb($black),
    -    "white": to-rgb($white),
    -    "body": to-rgb($body-color)
    -  )
    -);
    -$utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text");
    -
    -

    Utilities API

    -

    Color utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "color": (
    -      property: color,
    -      class: text,
    -      local-vars: (
    -        "text-opacity": 1
    -      ),
    -      values: map-merge(
    -        $utilities-text-colors,
    -        (
    -          "muted": $text-muted,
    -          "black-50": rgba($black, .5), // deprecated
    -          "white-50": rgba($white, .5), // deprecated
    -          "reset": inherit,
    -        )
    -      )
    -    ),
    -    "text-opacity": (
    -      css-var: true,
    -      class: text-opacity,
    -      values: (
    -        25: .25,
    -        50: .5,
    -        75: .75,
    -        100: 1
    -      )
    -    ),
    -    
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/display/index.html b/utilities/display/index.html index 9aa0669..9fe9c9a 100644 --- a/utilities/display/index.html +++ b/utilities/display/index.html @@ -1,605 +1,2325 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Display property · Bootstrap v5.3 -Display property · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + +
    + + +
    +
    +
    + +

    Display property

    +
    +

    + Quickly and responsively toggle the display value of components and + more with our display utilities. Includes support for some of the + more common values, as well as some extras for controlling display + when printing. +

    - -
  • - - -
    - + +
    + + On this page +
    +
    -
  • -
  • - - -
    -
      -
    • Approach
    • -
    • Icons
    • + +
      +

      + How it works + +

      +

      + Change the value of the + display property + with our responsive display utility classes. We purposely support + only a subset of all possible values for display. + Classes can be combined for various effects as you need. +

      +

      + Notation + +

      +

      + Display utility classes that apply to all + breakpoints, from + xs to xxl, have no breakpoint abbreviation + in them. This is because those classes are applied from + min-width: 0; and up, and thus are not bound by a media + query. The remaining breakpoints, however, do include a breakpoint + abbreviation. +

      +

      As such, the classes are named using the format:

      +
        +
      • .d-{value} for xs
      • +
      • + .d-{breakpoint}-{value} for sm, + md, lg, xl, and + xxl. +
      -
      - -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        Where value is one of:

        +
          +
        • none
        • +
        • inline
        • +
        • inline-block
        • +
        • block
        • +
        • grid
        • +
        • inline-grid
        • +
        • table
        • +
        • table-cell
        • +
        • table-row
        • +
        • flex
        • +
        • inline-flex
        -
      -
    • -
    • -
    • - - Migration - -
    • -
    - +

    + The display values can be altered by changing the + display values defined in $utilities and + recompiling the SCSS. +

    +

    + The media queries affect screen widths with the given breakpoint + or larger. For example, .d-lg-none sets + display: none; on lg, xl, and + xxl screens. +

    +

    + Examples + +

    +
    +
    +
    d-inline
    +
    d-inline
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-inline p-2 text-bg-primary">d-inline</div>
    +<div class="d-inline p-2 text-bg-dark">d-inline</div>
    +
    +
    - +
    +
    + d-block + d-block +
    +
    + html +
    + + +
    +
    +
    +
    <span class="d-block p-2 text-bg-primary">d-block</span>
    +<span class="d-block p-2 text-bg-dark">d-block</span>
    +
    +
    -
    -
    -
    - View on GitHub -

    Display property

    -
    -

    Quickly and responsively toggle the display value of components and more with our display utilities. Includes support for some of the more common values, as well as some extras for controlling display when printing.

    - +

    + Hiding elements + +

    +

    + For faster mobile-friendly development, use responsive display + classes for showing and hiding elements by device. Avoid creating + entirely different versions of the same site, instead hide elements + responsively for each screen size. +

    +

    + To hide elements simply use the .d-none class or one of + the .d-{sm,md,lg,xl,xxl}-none classes for any + responsive screen variation. +

    +

    + To show an element only on a given interval of screen sizes you can + combine one .d-*-none class with a + .d-*-* class, for example + .d-none .d-md-block .d-xl-none .d-xxl-none will hide + the element for all screen sizes except on medium and large devices. +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Screen sizeClass
    Hidden on all.d-none
    Hidden only on xs.d-none .d-sm-block
    Hidden only on sm.d-sm-none .d-md-block
    Hidden only on md.d-md-none .d-lg-block
    Hidden only on lg.d-lg-none .d-xl-block
    Hidden only on xl.d-xl-none .d-xxl-block
    Hidden only on xxl.d-xxl-none
    Visible on all.d-block
    Visible only on xs.d-block .d-sm-none
    Visible only on sm.d-none .d-sm-block .d-md-none
    Visible only on md.d-none .d-md-block .d-lg-none
    Visible only on lg.d-none .d-lg-block .d-xl-none
    Visible only on xl.d-none .d-xl-block .d-xxl-none
    Visible only on xxl.d-none .d-xxl-block
    +
    -
    +
    +
    +
    hide on lg and wider screens
    +
    + hide on screens smaller than lg +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-lg-none">hide on lg and wider screens</div>
    +<div class="d-none d-lg-block">hide on screens smaller than lg</div>
    +
    +
    +

    + Display in print + +

    +

    + Change the display value of elements when printing with + our print display utility classes. Includes support for the same + display values as our responsive + .d-* utilities. +

    +
      +
    • .d-print-none
    • +
    • .d-print-inline
    • +
    • .d-print-inline-block
    • +
    • .d-print-block
    • +
    • .d-print-grid
    • +
    • .d-print-inline-grid
    • +
    • .d-print-table
    • +
    • .d-print-table-row
    • +
    • .d-print-table-cell
    • +
    • .d-print-flex
    • +
    • .d-print-inline-flex
    • +
    +

    The print and display classes can be combined.

    +
    +
    +
    Screen Only (Hide on print only)
    +
    + Print Only (Hide on screen only) +
    +
    + Hide up to large on screen, but always show on print +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-print-none">Screen Only (Hide on print only)</div>
    +<div class="d-none d-print-block">Print Only (Hide on screen only)</div>
    +<div class="d-none d-lg-block d-print-block">Hide up to large on screen, but always show on print</div>
    +
    +
    -
    - On this page - +

    + Sass + +

    +

    + Utilities API + +

    +

    + Display utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "display": (
    +  responsive: true,
    +  print: true,
    +  property: display,
    +  class: d,
    +  values: inline inline-block block grid inline-grid table table-row table-cell flex inline-flex none
    +),
    +
    +
    +
    +
    - -
    - - -

    How it works

    -

    Change the value of the display property with our responsive display utility classes. We purposely support only a subset of all possible values for display. Classes can be combined for various effects as you need.

    -

    Notation

    -

    Display utility classes that apply to all breakpoints, from xs to xxl, have no breakpoint abbreviation in them. This is because those classes are applied from min-width: 0; and up, and thus are not bound by a media query. The remaining breakpoints, however, do include a breakpoint abbreviation.

    -

    As such, the classes are named using the format:

    -
      -
    • .d-{value} for xs
    • -
    • .d-{breakpoint}-{value} for sm, md, lg, xl, and xxl.
    • -
    -

    Where value is one of:

    -
      -
    • none
    • -
    • inline
    • -
    • inline-block
    • -
    • block
    • -
    • grid
    • -
    • table
    • -
    • table-cell
    • -
    • table-row
    • -
    • flex
    • -
    • inline-flex
    • -
    -

    The display values can be altered by changing the $displays variable and recompiling the SCSS.

    -

    The media queries affect screen widths with the given breakpoint or larger. For example, .d-lg-none sets display: none; on lg, xl, and xxl screens.

    -

    Examples

    -
    -
    d-inline
    -
    d-inline
    -
    <div class="d-inline p-2 bg-primary text-white">d-inline</div>
    -<div class="d-inline p-2 bg-dark text-white">d-inline</div>
    -
    -d-block -d-block -
    <span class="d-block p-2 bg-primary text-white">d-block</span>
    -<span class="d-block p-2 bg-dark text-white">d-block</span>
    -

    Hiding elements

    -

    For faster mobile-friendly development, use responsive display classes for showing and hiding elements by device. Avoid creating entirely different versions of the same site, instead hide elements responsively for each screen size.

    -

    To hide elements simply use the .d-none class or one of the .d-{sm,md,lg,xl,xxl}-none classes for any responsive screen variation.

    -

    To show an element only on a given interval of screen sizes you can combine one .d-*-none class with a .d-*-* class, for example .d-none .d-md-block .d-xl-none .d-xxl-none will hide the element for all screen sizes except on medium and large devices.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Screen sizeClass
    Hidden on all.d-none
    Hidden only on xs.d-none .d-sm-block
    Hidden only on sm.d-sm-none .d-md-block
    Hidden only on md.d-md-none .d-lg-block
    Hidden only on lg.d-lg-none .d-xl-block
    Hidden only on xl.d-xl-none .d-xxl-block
    Hidden only on xxl.d-xxl-none
    Visible on all.d-block
    Visible only on xs.d-block .d-sm-none
    Visible only on sm.d-none .d-sm-block .d-md-none
    Visible only on md.d-none .d-md-block .d-lg-none
    Visible only on lg.d-none .d-lg-block .d-xl-none
    Visible only on xl.d-none .d-xl-block .d-xxl-none
    Visible only on xxl.d-none .d-xxl-block
    -
    -
    hide on lg and wider screens
    -
    hide on screens smaller than lg
    -
    <div class="d-lg-none">hide on lg and wider screens</div>
    -<div class="d-none d-lg-block">hide on screens smaller than lg</div>
    -

    Display in print

    -

    Change the display value of elements when printing with our print display utility classes. Includes support for the same display values as our responsive .d-* utilities.

    -
      -
    • .d-print-none
    • -
    • .d-print-inline
    • -
    • .d-print-inline-block
    • -
    • .d-print-block
    • -
    • .d-print-grid
    • -
    • .d-print-table
    • -
    • .d-print-table-row
    • -
    • .d-print-table-cell
    • -
    • .d-print-flex
    • -
    • .d-print-inline-flex
    • -
    -

    The print and display classes can be combined.

    -
    -
    Screen Only (Hide on print only)
    -
    Print Only (Hide on screen only)
    -
    Hide up to large on screen, but always show on print
    -
    <div class="d-print-none">Screen Only (Hide on print only)</div>
    -<div class="d-none d-print-block">Print Only (Hide on screen only)</div>
    -<div class="d-none d-lg-block d-print-block">Hide up to large on screen, but always show on print</div>
    -

    Sass

    -

    Utilities API

    -

    Display utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "display": (
    -      responsive: true,
    -      print: true,
    -      property: display,
    -      class: d,
    -      values: inline inline-block block grid table table-row table-cell flex inline-flex none
    -    ),
    -    
    - +
  • -
    + + - + + + + - + + const jsSnippet = event.target + .closest('.bd-code-snippet') + .querySelector('.btn-edit') + .getAttribute('data-sb-js-snippet'); + StackBlitzSDK.openBootstrapSnippet(htmlSnippet, jsSnippet, classes); + }); + }); - + StackBlitzSDK.openBootstrapSnippet = ( + htmlSnippet, + jsSnippet, + classes + ) => { + const markup = ` + + + + + + + Bootstrap Example + <${'script'} src="index.html\/\/cdn\.jsdelivr\.net\/npm\/bootstrap@5\.3\.0\-alpha3\/dist\/js\/bootstrap\.bundle\.min\.js"> + + + +${htmlSnippet.replace(/^/gm, ' ')} + + +`; + const jsSnippetContent = jsSnippet + ? '\/\/ NOTICE!!! Initially embedded in our docs this JavaScript\n\/\/ file contains elements that can help you create reproducible\n\/\/ use cases in StackBlitz for instance\.\n\/\/ In a real project please adapt this content to your needs\.\n\/\/ \u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\u002b\n\n\/\*!\n \* JavaScript for Bootstrap\u0027s docs \(https:\/\/getbootstrap\.com\/\)\n \* Copyright 2011\-2023 The Bootstrap Authors\n \* Licensed under the Creative Commons Attribution 3\.0 Unported License\.\n \* For details, see https:\/\/creativecommons\.org\/licenses\/by\/3\.0\/\.\n \*\/\n\n\/\* global bootstrap: false \*\/\n\n\(\(\) =\u003e \{\n \u0027use strict\u0027\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Tooltips\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all tooltips in a docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022tooltip\u0022\]\u0027\)\n \.forEach\(tooltip =\u003e \{\n new bootstrap\.Tooltip\(tooltip\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Popovers\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all popovers in docs or StackBlitz\n document\.querySelectorAll\(\u0027\[data\-bs\-toggle=\u0022popover\u0022\]\u0027\)\n \.forEach\(popover =\u003e \{\n new bootstrap\.Popover\(popover\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Toasts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used by \u0027Placement\u0027 example in docs or StackBlitz\n const toastPlacement = document\.getElementById\(\u0027toastPlacement\u0027\)\n if \(toastPlacement\) \{\n document\.getElementById\(\u0027selectToastPlacement\u0027\)\.addEventListener\(\u0027change\u0027, function \(\) \{\n if \(!toastPlacement\.dataset\.originalClass\) \{\n toastPlacement\.dataset\.originalClass = toastPlacement\.className\n \}\n\n toastPlacement\.className = `\$\{toastPlacement\.dataset\.originalClass\} \$\{this\.value\}`\n \}\)\n \}\n\n \/\/ Instantiate all toasts in docs pages only\n document\.querySelectorAll\(\u0027\.bd\-example \.toast\u0027\)\n \.forEach\(toastNode =\u003e \{\n const toast = new bootstrap\.Toast\(toastNode, \{\n autohide: false\n \}\)\n\n toast\.show\(\)\n \}\)\n\n \/\/ Instantiate all toasts in docs pages only\n \/\/ js\-docs\-start live\-toast\n const toastTrigger = document\.getElementById\(\u0027liveToastBtn\u0027\)\n const toastLiveExample = document\.getElementById\(\u0027liveToast\u0027\)\n\n if \(toastTrigger\) \{\n const toastBootstrap = bootstrap\.Toast\.getOrCreateInstance\(toastLiveExample\)\n toastTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n toastBootstrap\.show\(\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-toast\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Alerts\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Used in \u0027Show live alert\u0027 example in docs or StackBlitz\n\n \/\/ js\-docs\-start live\-alert\n const alertPlaceholder = document\.getElementById\(\u0027liveAlertPlaceholder\u0027\)\n const appendAlert = \(message, type\) =\u003e \{\n const wrapper = document\.createElement\(\u0027div\u0027\)\n wrapper\.innerHTML = \[\n `\u003cdiv class=\u0022alert alert\-\$\{type\} alert\-dismissible\u0022 role=\u0022alert\u0022\u003e`,\n ` \u003cdiv\u003e\$\{message\}\u003c\/div\u003e`,\n \u0027 \u003cbutton type=\u0022button\u0022 class=\u0022btn\-close\u0022 data\-bs\-dismiss=\u0022alert\u0022 aria\-label=\u0022Close\u0022\u003e\u003c\/button\u003e\u0027,\n \u0027\u003c\/div\u003e\u0027\n \]\.join\(\u0027\u0027\)\n\n alertPlaceholder\.append\(wrapper\)\n \}\n\n const alertTrigger = document\.getElementById\(\u0027liveAlertBtn\u0027\)\n if \(alertTrigger\) \{\n alertTrigger\.addEventListener\(\u0027click\u0027, \(\) =\u003e \{\n appendAlert\(\u0027Nice, you triggered this alert message!\u0027, \u0027success\u0027\)\n \}\)\n \}\n \/\/ js\-docs\-end live\-alert\n\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Carousels\n \/\/ \-\-\-\-\-\-\-\-\n \/\/ Instantiate all non\-autoplaying carousels in docs or StackBlitz\n document\.querySelectorAll\(\u0027\.carousel:not\(\[data\-bs\-ride=\u0022carousel\u0022\]\)\u0027\)\n \.forEach\(carousel =\u003e \{\n bootstrap\.Carousel\.getOrCreateInstance\(carousel\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Checks \u0026 Radios\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Indeterminate checkbox example in docs and StackBlitz\n document\.querySelectorAll\(\u0027\.bd\-example\-indeterminate \[type=\u0022checkbox\u0022\]\u0027\)\n \.forEach\(checkbox =\u003e \{\n if \(checkbox\.id\.includes\(\u0027Indeterminate\u0027\)\) \{\n checkbox\.indeterminate = true\n \}\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Links\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Disable empty links in docs examples only\n document\.querySelectorAll\(\u0027\.bd\-content \[href=\u0022#\u0022\]\u0027\)\n \.forEach\(link =\u003e \{\n link\.addEventListener\(\u0027click\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}\)\n \}\)\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Modal \u0027Varying modal content\u0027 example in docs and StackBlitz\n \/\/ js\-docs\-start varying\-modal\-content\n const exampleModal = document\.getElementById\(\u0027exampleModal\u0027\)\n if \(exampleModal\) \{\n exampleModal\.addEventListener\(\u0027show\.bs\.modal\u0027, event =\u003e \{\n \/\/ Button that triggered the modal\n const button = event\.relatedTarget\n \/\/ Extract info from data\-bs\-\* attributes\n const recipient = button\.getAttribute\(\u0027data\-bs\-whatever\u0027\)\n \/\/ If necessary, you could initiate an Ajax request here\n \/\/ and then do the updating in a callback\.\n\n \/\/ Update the modal\u0027s content\.\n const modalTitle = exampleModal\.querySelector\(\u0027\.modal\-title\u0027\)\n const modalBodyInput = exampleModal\.querySelector\(\u0027\.modal\-body input\u0027\)\n\n modalTitle\.textContent = `New message to \$\{recipient\}`\n modalBodyInput\.value = recipient\n \}\)\n \}\n \/\/ js\-docs\-end varying\-modal\-content\n\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ Offcanvas\n \/\/ \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\n \/\/ \u0027Offcanvas components\u0027 example in docs only\n const myOffcanvas = document\.querySelectorAll\(\u0027\.bd\-example\-offcanvas \.offcanvas\u0027\)\n if \(myOffcanvas\) \{\n myOffcanvas\.forEach\(offcanvas =\u003e \{\n offcanvas\.addEventListener\(\u0027show\.bs\.offcanvas\u0027, event =\u003e \{\n event\.preventDefault\(\)\n \}, false\)\n \}\)\n \}\n\}\)\(\)\n' + : null; + const project = { + files: { + 'index.html': markup, + 'index.js': jsSnippetContent, + }, + title: 'Bootstrap Example', + description: `Official example from ${window.location.href}`, + template: jsSnippet ? 'javascript' : 'html', + tags: ['bootstrap'], + }; + StackBlitzSDK.openProject(project, { openFile: 'index.html' }); + }; + + - + diff --git a/utilities/flex/index.html b/utilities/flex/index.html index a7f25c1..708afc8 100644 --- a/utilities/flex/index.html +++ b/utilities/flex/index.html @@ -1,1364 +1,3608 @@ - - - - - - - - - - - - - - - -Flex · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Flex · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Flex

    +
    +

    + Quickly manage the layout, alignment, and sizing of grid columns, + navigation, components, and more with a full suite of responsive + flexbox utilities. For more complex implementations, custom CSS may + be necessary. +

    - -
  • - - - -
  • -
  • - - -
  • -
  • - - -
    -
      -
    • Accordion
    • -
    • Alerts
    • -
    • Badge
    • -
    • Breadcrumb
    • -
    • Buttons
    • -
    • Button group
    • -
    • Card
    • -
    • Carousel
    • -
    • Close button
    • -
    • Collapse
    • -
    • Dropdowns
    • -
    • List group
    • -
    • Modal
    • -
    • Navs & tabs
    • -
    • Navbar
    • -
    • Offcanvas
    • -
    • Pagination
    • -
    • Placeholders
    • -
    • Popovers
    • -
    • Progress
    • -
    • Scrollspy
    • -
    • Spinners
    • -
    • Toasts
    • -
    • Tooltips
    • + +
      +

      + Enable flex behaviors + +

      +

      + Apply display utilities to create a flexbox container + and transform direct children elements into flex + items. Flex containers and items are able to be modified further + with additional flex properties. +

      +
      +
      +
      I'm a flexbox container!
      +
      +
      + html +
      + + +
      +
      +
      +
      <div class="d-flex p-2">I'm a flexbox container!</div>
      +
      +
      + +
      +
      +
      + I'm an inline flexbox container! +
      +
      +
      + html +
      + + +
      +
      +
      +
      <div class="d-inline-flex p-2">I'm an inline flexbox container!</div>
      +
      +
      + +

      + Responsive variations also exist for .d-flex and + .d-inline-flex. +

      +
        +
      • .d-flex
      • +
      • .d-inline-flex
      • +
      • .d-sm-flex
      • +
      • .d-sm-inline-flex
      • +
      • .d-md-flex
      • +
      • .d-md-inline-flex
      • +
      • .d-lg-flex
      • +
      • .d-lg-inline-flex
      • +
      • .d-xl-flex
      • +
      • .d-xl-inline-flex
      • +
      • .d-xxl-flex
      • +
      • .d-xxl-inline-flex
      -
      - -
    • - - -
      -
        -
      • Clearfix
      • -
      • Colored links
      • -
      • Ratio
      • -
      • Position
      • -
      • Stacks
      • -
      • Visually hidden
      • -
      • Stretched link
      • -
      • Text truncation
      • -
      • Vertical rule
      • + +

        + Direction + +

        +

        + Set the direction of flex items in a flex container with direction + utilities. In most cases you can omit the horizontal class here as + the browser default is row. However, you may encounter + situations where you needed to explicitly set this value (like + responsive layouts). +

        +

        + Use .flex-row to set a horizontal direction (the + browser default), or .flex-row-reverse to start the + horizontal direction from the opposite side. +

        +
        +
        +
        +
        Flex item 1
        +
        Flex item 2
        +
        Flex item 3
        +
        +
        +
        Flex item 1
        +
        Flex item 2
        +
        Flex item 3
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="d-flex flex-row mb-3">
        +  <div class="p-2">Flex item 1</div>
        +  <div class="p-2">Flex item 2</div>
        +  <div class="p-2">Flex item 3</div>
        +</div>
        +<div class="d-flex flex-row-reverse">
        +  <div class="p-2">Flex item 1</div>
        +  <div class="p-2">Flex item 2</div>
        +  <div class="p-2">Flex item 3</div>
        +</div>
        +
        +
        + +

        + Use .flex-column to set a vertical direction, or + .flex-column-reverse to start the vertical direction + from the opposite side. +

        +
        +
        +
        +
        Flex item 1
        +
        Flex item 2
        +
        Flex item 3
        +
        +
        +
        Flex item 1
        +
        Flex item 2
        +
        Flex item 3
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="d-flex flex-column mb-3">
        +  <div class="p-2">Flex item 1</div>
        +  <div class="p-2">Flex item 2</div>
        +  <div class="p-2">Flex item 3</div>
        +</div>
        +<div class="d-flex flex-column-reverse">
        +  <div class="p-2">Flex item 1</div>
        +  <div class="p-2">Flex item 2</div>
        +  <div class="p-2">Flex item 3</div>
        +</div>
        +
        +
        + +

        + Responsive variations also exist for flex-direction. +

        +
          +
        • .flex-row
        • +
        • .flex-row-reverse
        • +
        • .flex-column
        • +
        • .flex-column-reverse
        • +
        • .flex-sm-row
        • +
        • .flex-sm-row-reverse
        • +
        • .flex-sm-column
        • +
        • .flex-sm-column-reverse
        • +
        • .flex-md-row
        • +
        • .flex-md-row-reverse
        • +
        • .flex-md-column
        • +
        • .flex-md-column-reverse
        • +
        • .flex-lg-row
        • +
        • .flex-lg-row-reverse
        • +
        • .flex-lg-column
        • +
        • .flex-lg-column-reverse
        • +
        • .flex-xl-row
        • +
        • .flex-xl-row-reverse
        • +
        • .flex-xl-column
        • +
        • .flex-xl-column-reverse
        • +
        • .flex-xxl-row
        • +
        • .flex-xxl-row-reverse
        • +
        • .flex-xxl-column
        • +
        • .flex-xxl-column-reverse
        -
      -
    • -
    • - - -
      -
        -
      • API
      • -
      • Background
      • -
      • Borders
      • -
      • Colors
      • -
      • Display
      • -
      • Flex
      • -
      • Float
      • -
      • Interactions
      • -
      • Opacity
      • -
      • Overflow
      • -
      • Position
      • -
      • Shadows
      • -
      • Sizing
      • -
      • Spacing
      • -
      • Text
      • -
      • Vertical align
      • -
      • Visibility
      • + +

        + Justify content + +

        +

        + Use justify-content utilities on flexbox containers to + change the alignment of flex items on the main axis (the x-axis to + start, y-axis if flex-direction: column). Choose from + start (browser default), end, + center, between, around, or + evenly. +

        +
        +
        +
        Justify
        +
        Content
        +
        Start
        +
        +
        +
        Justify
        +
        Content
        +
        End
        +
        +
        +
        Justify
        +
        Content
        +
        Center
        +
        +
        +
        Justify
        +
        Content
        +
        Between
        +
        +
        +
        Justify
        +
        Content
        +
        Around
        +
        +
        +
        Justify
        +
        Content
        +
        Evenly
        +
        +
        +
        +
        <div class="d-flex justify-content-start">...</div>
        +<div class="d-flex justify-content-end">...</div>
        +<div class="d-flex justify-content-center">...</div>
        +<div class="d-flex justify-content-between">...</div>
        +<div class="d-flex justify-content-around">...</div>
        +<div class="d-flex justify-content-evenly">...</div>
        +
        +
        +

        + Responsive variations also exist for justify-content. +

        +
          +
        • .justify-content-start
        • +
        • .justify-content-end
        • +
        • .justify-content-center
        • +
        • .justify-content-between
        • +
        • .justify-content-around
        • +
        • .justify-content-evenly
        • +
        • .justify-content-sm-start
        • +
        • .justify-content-sm-end
        • +
        • .justify-content-sm-center
        • +
        • .justify-content-sm-between
        • +
        • .justify-content-sm-around
        • +
        • .justify-content-sm-evenly
        • +
        • .justify-content-md-start
        • +
        • .justify-content-md-end
        • +
        • .justify-content-md-center
        • +
        • .justify-content-md-between
        • +
        • .justify-content-md-around
        • +
        • .justify-content-md-evenly
        • +
        • .justify-content-lg-start
        • +
        • .justify-content-lg-end
        • +
        • .justify-content-lg-center
        • +
        • .justify-content-lg-between
        • +
        • .justify-content-lg-around
        • +
        • .justify-content-lg-evenly
        • +
        • .justify-content-xl-start
        • +
        • .justify-content-xl-end
        • +
        • .justify-content-xl-center
        • +
        • .justify-content-xl-between
        • +
        • .justify-content-xl-around
        • +
        • .justify-content-xl-evenly
        • +
        • .justify-content-xxl-start
        • +
        • .justify-content-xxl-end
        • +
        • .justify-content-xxl-center
        • +
        • .justify-content-xxl-between
        • +
        • .justify-content-xxl-around
        • +
        • .justify-content-xxl-evenly
        -
      -
    • -
    • - - -
      -
        -
      • Approach
      • -
      • Icons
      • + +

        + Align items + +

        +

        + Use align-items utilities on flexbox containers to + change the alignment of flex items on the cross axis (the y-axis to + start, x-axis if flex-direction: column). Choose from + start, end, center, + baseline, or stretch (browser default). +

        +
        +
        +
        Flex item
        +
        Flex item
        +
        Flex item
        +
        +
        +
        Flex item
        +
        Flex item
        +
        Flex item
        +
        +
        +
        Flex item
        +
        Flex item
        +
        Flex item
        +
        +
        +
        Flex item
        +
        Flex item
        +
        Flex item
        +
        +
        +
        Flex item
        +
        Flex item
        +
        Flex item
        +
        +
        +
        +
        <div class="d-flex align-items-start">...</div>
        +<div class="d-flex align-items-end">...</div>
        +<div class="d-flex align-items-center">...</div>
        +<div class="d-flex align-items-baseline">...</div>
        +<div class="d-flex align-items-stretch">...</div>
        +
        +
        +

        Responsive variations also exist for align-items.

        +
          +
        • .align-items-start
        • +
        • .align-items-end
        • +
        • .align-items-center
        • +
        • .align-items-baseline
        • +
        • .align-items-stretch
        • +
        • .align-items-sm-start
        • +
        • .align-items-sm-end
        • +
        • .align-items-sm-center
        • +
        • .align-items-sm-baseline
        • +
        • .align-items-sm-stretch
        • +
        • .align-items-md-start
        • +
        • .align-items-md-end
        • +
        • .align-items-md-center
        • +
        • .align-items-md-baseline
        • +
        • .align-items-md-stretch
        • +
        • .align-items-lg-start
        • +
        • .align-items-lg-end
        • +
        • .align-items-lg-center
        • +
        • .align-items-lg-baseline
        • +
        • .align-items-lg-stretch
        • +
        • .align-items-xl-start
        • +
        • .align-items-xl-end
        • +
        • .align-items-xl-center
        • +
        • .align-items-xl-baseline
        • +
        • .align-items-xl-stretch
        • +
        • .align-items-xxl-start
        • +
        • .align-items-xxl-end
        • +
        • .align-items-xxl-center
        • +
        • .align-items-xxl-baseline
        • +
        • .align-items-xxl-stretch
        -
      -
    • -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • + +

        + Align self + +

        +

        + Use align-self utilities on flexbox items to + individually change their alignment on the cross axis (the y-axis to + start, x-axis if flex-direction: column). Choose from + the same options as align-items: start, + end, center, baseline, or + stretch (browser default). +

        +
        +
        +
        Flex item
        +
        Aligned flex item
        +
        Flex item
        +
        +
        +
        Flex item
        +
        Aligned flex item
        +
        Flex item
        +
        +
        +
        Flex item
        +
        Aligned flex item
        +
        Flex item
        +
        +
        +
        Flex item
        +
        Aligned flex item
        +
        Flex item
        +
        +
        +
        Flex item
        +
        Aligned flex item
        +
        Flex item
        +
        +
        +
        +
        <div class="align-self-start">Aligned flex item</div>
        +<div class="align-self-end">Aligned flex item</div>
        +<div class="align-self-center">Aligned flex item</div>
        +<div class="align-self-baseline">Aligned flex item</div>
        +<div class="align-self-stretch">Aligned flex item</div>
        +
        +
        +

        Responsive variations also exist for align-self.

        +
          +
        • .align-self-start
        • +
        • .align-self-end
        • +
        • .align-self-center
        • +
        • .align-self-baseline
        • +
        • .align-self-stretch
        • +
        • .align-self-sm-start
        • +
        • .align-self-sm-end
        • +
        • .align-self-sm-center
        • +
        • .align-self-sm-baseline
        • +
        • .align-self-sm-stretch
        • +
        • .align-self-md-start
        • +
        • .align-self-md-end
        • +
        • .align-self-md-center
        • +
        • .align-self-md-baseline
        • +
        • .align-self-md-stretch
        • +
        • .align-self-lg-start
        • +
        • .align-self-lg-end
        • +
        • .align-self-lg-center
        • +
        • .align-self-lg-baseline
        • +
        • .align-self-lg-stretch
        • +
        • .align-self-xl-start
        • +
        • .align-self-xl-end
        • +
        • .align-self-xl-center
        • +
        • .align-self-xl-baseline
        • +
        • .align-self-xl-stretch
        • +
        • .align-self-xxl-start
        • +
        • .align-self-xxl-end
        • +
        • .align-self-xxl-center
        • +
        • .align-self-xxl-baseline
        • +
        • .align-self-xxl-stretch
        -
      -
    • -
    • -
    • - - Migration - -
    • -
    - - +

    + Fill + +

    +

    + Use the .flex-fill class on a series of sibling + elements to force them into widths equal to their content (or equal + widths if their content does not surpass their border-boxes) while + taking up all available horizontal space. +

    +
    +
    +
    +
    Flex item with a lot of content
    +
    Flex item
    +
    Flex item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex">
    +  <div class="p-2 flex-fill">Flex item with a lot of content</div>
    +  <div class="p-2 flex-fill">Flex item</div>
    +  <div class="p-2 flex-fill">Flex item</div>
    +</div>
    +
    +
    + +

    Responsive variations also exist for flex-fill.

    +
      +
    • .flex-fill
    • +
    • .flex-sm-fill
    • +
    • .flex-md-fill
    • +
    • .flex-lg-fill
    • +
    • .flex-xl-fill
    • +
    • .flex-xxl-fill
    • +
    -
    -
    -
    - View on GitHub -

    Flex

    -
    -

    Quickly manage the layout, alignment, and sizing of grid columns, navigation, components, and more with a full suite of responsive flexbox utilities. For more complex implementations, custom CSS may be necessary.

    - +

    + Grow and shrink + +

    +

    + Use .flex-grow-* utilities to toggle a flex + item’s ability to grow to fill available space. In the example + below, the .flex-grow-1 elements uses all available + space it can, while allowing the remaining two flex items their + necessary space. +

    +
    +
    +
    +
    Flex item
    +
    Flex item
    +
    Third flex item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex">
    +  <div class="p-2 flex-grow-1">Flex item</div>
    +  <div class="p-2">Flex item</div>
    +  <div class="p-2">Third flex item</div>
    +</div>
    +
    +
    + +

    + Use .flex-shrink-* utilities to toggle a flex + item’s ability to shrink if necessary. In the example below, + the second flex item with .flex-shrink-1 is forced to + wrap its contents to a new line, “shrinking” to allow + more space for the previous flex item with .w-100. +

    +
    +
    +
    +
    Flex item
    +
    Flex item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex">
    +  <div class="p-2 w-100">Flex item</div>
    +  <div class="p-2 flex-shrink-1">Flex item</div>
    +</div>
    +
    +
    + +

    + Responsive variations also exist for flex-grow and + flex-shrink. +

    +
      +
    • .flex-{grow|shrink}-0
    • +
    • .flex-{grow|shrink}-1
    • +
    • .flex-sm-{grow|shrink}-0
    • +
    • .flex-sm-{grow|shrink}-1
    • +
    • .flex-md-{grow|shrink}-0
    • +
    • .flex-md-{grow|shrink}-1
    • +
    • .flex-lg-{grow|shrink}-0
    • +
    • .flex-lg-{grow|shrink}-1
    • +
    • .flex-xl-{grow|shrink}-0
    • +
    • .flex-xl-{grow|shrink}-1
    • +
    • .flex-xxl-{grow|shrink}-0
    • +
    • .flex-xxl-{grow|shrink}-1
    • +
    -
    +

    + Auto margins + +

    +

    + Flexbox can do some pretty awesome things when you mix flex + alignments with auto margins. Shown below are three examples of + controlling flex items via auto margins: default (no auto margin), + pushing two items to the right (.me-auto), and pushing + two items to the left (.ms-auto). +

    +
    +
    +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    + +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    + +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex mb-3">
    +  <div class="p-2">Flex item</div>
    +  <div class="p-2">Flex item</div>
    +  <div class="p-2">Flex item</div>
    +</div>
    +
    +<div class="d-flex mb-3">
    +  <div class="me-auto p-2">Flex item</div>
    +  <div class="p-2">Flex item</div>
    +  <div class="p-2">Flex item</div>
    +</div>
    +
    +<div class="d-flex mb-3">
    +  <div class="p-2">Flex item</div>
    +  <div class="p-2">Flex item</div>
    +  <div class="ms-auto p-2">Flex item</div>
    +</div>
    +
    +
    + +

    + With align-items + +

    +

    + Vertically move one flex item to the top or bottom of a container by + mixing align-items, + flex-direction: column, and + margin-top: auto or margin-bottom: auto. +

    +
    +
    +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    + +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex align-items-start flex-column mb-3" style="height: 200px;">
    +  <div class="mb-auto p-2">Flex item</div>
    +  <div class="p-2">Flex item</div>
    +  <div class="p-2">Flex item</div>
    +</div>
    +
    +<div class="d-flex align-items-end flex-column mb-3" style="height: 200px;">
    +  <div class="p-2">Flex item</div>
    +  <div class="p-2">Flex item</div>
    +  <div class="mt-auto p-2">Flex item</div>
    +</div>
    +
    +
    + +

    + Wrap + +

    +

    + Change how flex items wrap in a flex container. Choose from no + wrapping at all (the browser default) with + .flex-nowrap, wrapping with .flex-wrap, or + reverse wrapping with .flex-wrap-reverse. +

    +
    +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    +
    +
    +
    <div class="d-flex flex-nowrap">
    +  ...
    +</div>
    +
    +
    +
    +
    +
    Flex item 1
    +
    Flex item 2
    +
    Flex item 3
    +
    Flex item 4
    +
    Flex item 5
    +
    Flex item 6
    +
    Flex item 7
    +
    Flex item 8
    +
    Flex item 9
    +
    Flex item 10
    +
    Flex item 11
    +
    Flex item 12
    +
    Flex item 13
    +
    Flex item 14
    +
    +
    +
    +
    <div class="d-flex flex-wrap">
    +  ...
    +</div>
    +
    +
    +
    +
    +
    Flex item 1
    +
    Flex item 2
    +
    Flex item 3
    +
    Flex item 4
    +
    Flex item 5
    +
    Flex item 6
    +
    Flex item 7
    +
    Flex item 8
    +
    Flex item 9
    +
    Flex item 10
    +
    Flex item 11
    +
    Flex item 12
    +
    Flex item 13
    +
    Flex item 14
    +
    +
    +
    +
    <div class="d-flex flex-wrap-reverse">
    +  ...
    +</div>
    +
    +
    +

    Responsive variations also exist for flex-wrap.

    +
      +
    • .flex-nowrap
    • +
    • .flex-wrap
    • +
    • .flex-wrap-reverse
    • +
    • .flex-sm-nowrap
    • +
    • .flex-sm-wrap
    • +
    • .flex-sm-wrap-reverse
    • +
    • .flex-md-nowrap
    • +
    • .flex-md-wrap
    • +
    • .flex-md-wrap-reverse
    • +
    • .flex-lg-nowrap
    • +
    • .flex-lg-wrap
    • +
    • .flex-lg-wrap-reverse
    • +
    • .flex-xl-nowrap
    • +
    • .flex-xl-wrap
    • +
    • .flex-xl-wrap-reverse
    • +
    • .flex-xxl-nowrap
    • +
    • .flex-xxl-wrap
    • +
    • .flex-xxl-wrap-reverse
    • +
    +

    + Order + +

    +

    + Change the visual order of specific flex items with a + handful of order utilities. We only provide options for + making an item first or last, as well as a reset to use the DOM + order. As order takes any integer value from 0 to 5, + add custom CSS for any additional values needed. +

    +
    +
    +
    +
    First flex item
    +
    Second flex item
    +
    Third flex item
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex flex-nowrap">
    +  <div class="order-3 p-2">First flex item</div>
    +  <div class="order-2 p-2">Second flex item</div>
    +  <div class="order-1 p-2">Third flex item</div>
    +</div>
    +
    +
    + +

    Responsive variations also exist for order.

    +
      +
    • .order-0
    • +
    • .order-1
    • +
    • .order-2
    • +
    • .order-3
    • +
    • .order-4
    • +
    • .order-5
    • +
    • .order-sm-0
    • +
    • .order-sm-1
    • +
    • .order-sm-2
    • +
    • .order-sm-3
    • +
    • .order-sm-4
    • +
    • .order-sm-5
    • +
    • .order-md-0
    • +
    • .order-md-1
    • +
    • .order-md-2
    • +
    • .order-md-3
    • +
    • .order-md-4
    • +
    • .order-md-5
    • +
    • .order-lg-0
    • +
    • .order-lg-1
    • +
    • .order-lg-2
    • +
    • .order-lg-3
    • +
    • .order-lg-4
    • +
    • .order-lg-5
    • +
    • .order-xl-0
    • +
    • .order-xl-1
    • +
    • .order-xl-2
    • +
    • .order-xl-3
    • +
    • .order-xl-4
    • +
    • .order-xl-5
    • +
    • .order-xxl-0
    • +
    • .order-xxl-1
    • +
    • .order-xxl-2
    • +
    • .order-xxl-3
    • +
    • .order-xxl-4
    • +
    • .order-xxl-5
    • +
    - +

    + Additionally there are also responsive .order-first and + .order-last classes that change the + order of an element by applying + order: -1 and order: 6, respectively. +

    +
      +
    • .order-first
    • +
    • .order-last
    • +
    • .order-sm-first
    • +
    • .order-sm-last
    • +
    • .order-md-first
    • +
    • .order-md-last
    • +
    • .order-lg-first
    • +
    • .order-lg-last
    • +
    • .order-xl-first
    • +
    • .order-xl-last
    • +
    • .order-xxl-first
    • +
    • .order-xxl-last
    • +
    +

    + Align content + +

    +

    + Use align-content utilities on flexbox containers to + align flex items together on the cross axis. Choose from + start (browser default), end, + center, between, around, or + stretch. To demonstrate these utilities, we’ve + enforced flex-wrap: wrap and increased the number of + flex items. +

    +

    + Heads up! This property has no effect on single + rows of flex items. +

    +
    +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    +
    +
    +
    <div class="d-flex align-content-start flex-wrap">
    +  ...
    +</div>
    +
    +
    +
    +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    +
    +
    +
    <div class="d-flex align-content-end flex-wrap">...</div>
    +
    +
    +
    +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    +
    +
    +
    <div class="d-flex align-content-center flex-wrap">...</div>
    +
    +
    +
    +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    +
    +
    +
    <div class="d-flex align-content-between flex-wrap">...</div>
    +
    +
    +
    +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    +
    +
    +
    <div class="d-flex align-content-around flex-wrap">...</div>
    +
    +
    +
    +
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    Flex item
    +
    +
    +
    +
    <div class="d-flex align-content-stretch flex-wrap">...</div>
    +
    +
    +

    + Responsive variations also exist for align-content. +

    +
      +
    • .align-content-start
    • +
    • .align-content-end
    • +
    • .align-content-center
    • +
    • .align-content-between
    • +
    • .align-content-around
    • +
    • .align-content-stretch
    • +
    • .align-content-sm-start
    • +
    • .align-content-sm-end
    • +
    • .align-content-sm-center
    • +
    • .align-content-sm-between
    • +
    • .align-content-sm-around
    • +
    • .align-content-sm-stretch
    • +
    • .align-content-md-start
    • +
    • .align-content-md-end
    • +
    • .align-content-md-center
    • +
    • .align-content-md-between
    • +
    • .align-content-md-around
    • +
    • .align-content-md-stretch
    • +
    • .align-content-lg-start
    • +
    • .align-content-lg-end
    • +
    • .align-content-lg-center
    • +
    • .align-content-lg-between
    • +
    • .align-content-lg-around
    • +
    • .align-content-lg-stretch
    • +
    • .align-content-xl-start
    • +
    • .align-content-xl-end
    • +
    • .align-content-xl-center
    • +
    • .align-content-xl-between
    • +
    • .align-content-xl-around
    • +
    • .align-content-xl-stretch
    • +
    • .align-content-xxl-start
    • +
    • .align-content-xxl-end
    • +
    • .align-content-xxl-center
    • +
    • .align-content-xxl-between
    • +
    • .align-content-xxl-around
    • +
    • .align-content-xxl-stretch
    • +
    -
    - - -

    Enable flex behaviors

    -

    Apply display utilities to create a flexbox container and transform direct children elements into flex items. Flex containers and items are able to be modified further with additional flex properties.

    -
    -
    I'm a flexbox container!
    -
    <div class="d-flex p-2 bd-highlight">I'm a flexbox container!</div>
    -
    -
    I'm an inline flexbox container!
    -
    <div class="d-inline-flex p-2 bd-highlight">I'm an inline flexbox container!</div>
    -

    Responsive variations also exist for .d-flex and .d-inline-flex.

    -
      -
    • .d-flex
    • -
    • .d-inline-flex
    • -
    • .d-sm-flex
    • -
    • .d-sm-inline-flex
    • -
    • .d-md-flex
    • -
    • .d-md-inline-flex
    • -
    • .d-lg-flex
    • -
    • .d-lg-inline-flex
    • -
    • .d-xl-flex
    • -
    • .d-xl-inline-flex
    • -
    • .d-xxl-flex
    • -
    • .d-xxl-inline-flex
    • -
    - -

    Direction

    -

    Set the direction of flex items in a flex container with direction utilities. In most cases you can omit the horizontal class here as the browser default is row. However, you may encounter situations where you needed to explicitly set this value (like responsive layouts).

    -

    Use .flex-row to set a horizontal direction (the browser default), or .flex-row-reverse to start the horizontal direction from the opposite side.

    -
    -
    -
    Flex item 1
    -
    Flex item 2
    -
    Flex item 3
    -
    -
    -
    Flex item 1
    -
    Flex item 2
    -
    Flex item 3
    -
    -
    <div class="d-flex flex-row bd-highlight mb-3">
    -  <div class="p-2 bd-highlight">Flex item 1</div>
    -  <div class="p-2 bd-highlight">Flex item 2</div>
    -  <div class="p-2 bd-highlight">Flex item 3</div>
    -</div>
    -<div class="d-flex flex-row-reverse bd-highlight">
    -  <div class="p-2 bd-highlight">Flex item 1</div>
    -  <div class="p-2 bd-highlight">Flex item 2</div>
    -  <div class="p-2 bd-highlight">Flex item 3</div>
    -</div>
    -

    Use .flex-column to set a vertical direction, or .flex-column-reverse to start the vertical direction from the opposite side.

    -
    -
    -
    Flex item 1
    -
    Flex item 2
    -
    Flex item 3
    -
    -
    -
    Flex item 1
    -
    Flex item 2
    -
    Flex item 3
    -
    -
    <div class="d-flex flex-column bd-highlight mb-3">
    -  <div class="p-2 bd-highlight">Flex item 1</div>
    -  <div class="p-2 bd-highlight">Flex item 2</div>
    -  <div class="p-2 bd-highlight">Flex item 3</div>
    -</div>
    -<div class="d-flex flex-column-reverse bd-highlight">
    -  <div class="p-2 bd-highlight">Flex item 1</div>
    -  <div class="p-2 bd-highlight">Flex item 2</div>
    -  <div class="p-2 bd-highlight">Flex item 3</div>
    -</div>
    -

    Responsive variations also exist for flex-direction.

    -
      -
    • .flex-row
    • -
    • .flex-row-reverse
    • -
    • .flex-column
    • -
    • .flex-column-reverse
    • -
    • .flex-sm-row
    • -
    • .flex-sm-row-reverse
    • -
    • .flex-sm-column
    • -
    • .flex-sm-column-reverse
    • -
    • .flex-md-row
    • -
    • .flex-md-row-reverse
    • -
    • .flex-md-column
    • -
    • .flex-md-column-reverse
    • -
    • .flex-lg-row
    • -
    • .flex-lg-row-reverse
    • -
    • .flex-lg-column
    • -
    • .flex-lg-column-reverse
    • -
    • .flex-xl-row
    • -
    • .flex-xl-row-reverse
    • -
    • .flex-xl-column
    • -
    • .flex-xl-column-reverse
    • -
    • .flex-xxl-row
    • -
    • .flex-xxl-row-reverse
    • -
    • .flex-xxl-column
    • -
    • .flex-xxl-column-reverse
    • -
    - -

    Justify content

    -

    Use justify-content utilities on flexbox containers to change the alignment of flex items on the main axis (the x-axis to start, y-axis if flex-direction: column). Choose from start (browser default), end, center, between, around, or evenly.

    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex justify-content-start">...</div>
    -<div class="d-flex justify-content-end">...</div>
    -<div class="d-flex justify-content-center">...</div>
    -<div class="d-flex justify-content-between">...</div>
    -<div class="d-flex justify-content-around">...</div>
    -<div class="d-flex justify-content-evenly">...</div>
    -

    Responsive variations also exist for justify-content.

    -
      -
    • .justify-content-start
    • -
    • .justify-content-end
    • -
    • .justify-content-center
    • -
    • .justify-content-between
    • -
    • .justify-content-around
    • -
    • .justify-content-evenly
    • -
    • .justify-content-sm-start
    • -
    • .justify-content-sm-end
    • -
    • .justify-content-sm-center
    • -
    • .justify-content-sm-between
    • -
    • .justify-content-sm-around
    • -
    • .justify-content-sm-evenly
    • -
    • .justify-content-md-start
    • -
    • .justify-content-md-end
    • -
    • .justify-content-md-center
    • -
    • .justify-content-md-between
    • -
    • .justify-content-md-around
    • -
    • .justify-content-md-evenly
    • -
    • .justify-content-lg-start
    • -
    • .justify-content-lg-end
    • -
    • .justify-content-lg-center
    • -
    • .justify-content-lg-between
    • -
    • .justify-content-lg-around
    • -
    • .justify-content-lg-evenly
    • -
    • .justify-content-xl-start
    • -
    • .justify-content-xl-end
    • -
    • .justify-content-xl-center
    • -
    • .justify-content-xl-between
    • -
    • .justify-content-xl-around
    • -
    • .justify-content-xl-evenly
    • -
    • .justify-content-xxl-start
    • -
    • .justify-content-xxl-end
    • -
    • .justify-content-xxl-center
    • -
    • .justify-content-xxl-between
    • -
    • .justify-content-xxl-around
    • -
    • .justify-content-xxl-evenly
    • -
    - -

    Align items

    -

    Use align-items utilities on flexbox containers to change the alignment of flex items on the cross axis (the y-axis to start, x-axis if flex-direction: column). Choose from start, end, center, baseline, or stretch (browser default).

    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex align-items-start">...</div>
    -<div class="d-flex align-items-end">...</div>
    -<div class="d-flex align-items-center">...</div>
    -<div class="d-flex align-items-baseline">...</div>
    -<div class="d-flex align-items-stretch">...</div>
    -

    Responsive variations also exist for align-items.

    -
      -
    • .align-items-start
    • -
    • .align-items-end
    • -
    • .align-items-center
    • -
    • .align-items-baseline
    • -
    • .align-items-stretch
    • -
    • .align-items-sm-start
    • -
    • .align-items-sm-end
    • -
    • .align-items-sm-center
    • -
    • .align-items-sm-baseline
    • -
    • .align-items-sm-stretch
    • -
    • .align-items-md-start
    • -
    • .align-items-md-end
    • -
    • .align-items-md-center
    • -
    • .align-items-md-baseline
    • -
    • .align-items-md-stretch
    • -
    • .align-items-lg-start
    • -
    • .align-items-lg-end
    • -
    • .align-items-lg-center
    • -
    • .align-items-lg-baseline
    • -
    • .align-items-lg-stretch
    • -
    • .align-items-xl-start
    • -
    • .align-items-xl-end
    • -
    • .align-items-xl-center
    • -
    • .align-items-xl-baseline
    • -
    • .align-items-xl-stretch
    • -
    • .align-items-xxl-start
    • -
    • .align-items-xxl-end
    • -
    • .align-items-xxl-center
    • -
    • .align-items-xxl-baseline
    • -
    • .align-items-xxl-stretch
    • -
    - -

    Align self

    -

    Use align-self utilities on flexbox items to individually change their alignment on the cross axis (the y-axis to start, x-axis if flex-direction: column). Choose from the same options as align-items: start, end, center, baseline, or stretch (browser default).

    -
    -
    -
    Flex item
    -
    Aligned flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Aligned flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Aligned flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Aligned flex item
    -
    Flex item
    -
    -
    -
    Flex item
    -
    Aligned flex item
    -
    Flex item
    -
    -
    -
    <div class="align-self-start">Aligned flex item</div>
    -<div class="align-self-end">Aligned flex item</div>
    -<div class="align-self-center">Aligned flex item</div>
    -<div class="align-self-baseline">Aligned flex item</div>
    -<div class="align-self-stretch">Aligned flex item</div>
    -

    Responsive variations also exist for align-self.

    -
      -
    • .align-self-start
    • -
    • .align-self-end
    • -
    • .align-self-center
    • -
    • .align-self-baseline
    • -
    • .align-self-stretch
    • -
    • .align-self-sm-start
    • -
    • .align-self-sm-end
    • -
    • .align-self-sm-center
    • -
    • .align-self-sm-baseline
    • -
    • .align-self-sm-stretch
    • -
    • .align-self-md-start
    • -
    • .align-self-md-end
    • -
    • .align-self-md-center
    • -
    • .align-self-md-baseline
    • -
    • .align-self-md-stretch
    • -
    • .align-self-lg-start
    • -
    • .align-self-lg-end
    • -
    • .align-self-lg-center
    • -
    • .align-self-lg-baseline
    • -
    • .align-self-lg-stretch
    • -
    • .align-self-xl-start
    • -
    • .align-self-xl-end
    • -
    • .align-self-xl-center
    • -
    • .align-self-xl-baseline
    • -
    • .align-self-xl-stretch
    • -
    • .align-self-xxl-start
    • -
    • .align-self-xxl-end
    • -
    • .align-self-xxl-center
    • -
    • .align-self-xxl-baseline
    • -
    • .align-self-xxl-stretch
    • -
    - -

    Fill

    -

    Use the .flex-fill class on a series of sibling elements to force them into widths equal to their content (or equal widths if their content does not surpass their border-boxes) while taking up all available horizontal space.

    -
    -
    -
    Flex item with a lot of content
    -
    Flex item
    -
    Flex item
    -
    -
    <div class="d-flex bd-highlight">
    -  <div class="p-2 flex-fill bd-highlight">Flex item with a lot of content</div>
    -  <div class="p-2 flex-fill bd-highlight">Flex item</div>
    -  <div class="p-2 flex-fill bd-highlight">Flex item</div>
    -</div>
    -

    Responsive variations also exist for flex-fill.

    -
      -
    • .flex-fill
    • -
    • .flex-sm-fill
    • -
    • .flex-md-fill
    • -
    • .flex-lg-fill
    • -
    • .flex-xl-fill
    • -
    • .flex-xxl-fill
    • -
    - -

    Grow and shrink

    -

    Use .flex-grow-* utilities to toggle a flex item’s ability to grow to fill available space. In the example below, the .flex-grow-1 elements uses all available space it can, while allowing the remaining two flex items their necessary space.

    -
    -
    -
    Flex item
    -
    Flex item
    -
    Third flex item
    -
    -
    <div class="d-flex bd-highlight">
    -  <div class="p-2 flex-grow-1 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Third flex item</div>
    -</div>
    -

    Use .flex-shrink-* utilities to toggle a flex item’s ability to shrink if necessary. In the example below, the second flex item with .flex-shrink-1 is forced to wrap its contents to a new line, “shrinking” to allow more space for the previous flex item with .w-100.

    -
    -
    -
    Flex item
    -
    Flex item
    -
    -
    <div class="d-flex bd-highlight">
    -  <div class="p-2 w-100 bd-highlight">Flex item</div>
    -  <div class="p-2 flex-shrink-1 bd-highlight">Flex item</div>
    -</div>
    -

    Responsive variations also exist for flex-grow and flex-shrink.

    -
      -
    • .flex-{grow|shrink}-0
    • -
    • .flex-{grow|shrink}-1
    • -
    • .flex-sm-{grow|shrink}-0
    • -
    • .flex-sm-{grow|shrink}-1
    • -
    • .flex-md-{grow|shrink}-0
    • -
    • .flex-md-{grow|shrink}-1
    • -
    • .flex-lg-{grow|shrink}-0
    • -
    • .flex-lg-{grow|shrink}-1
    • -
    • .flex-xl-{grow|shrink}-0
    • -
    • .flex-xl-{grow|shrink}-1
    • -
    • .flex-xxl-{grow|shrink}-0
    • -
    • .flex-xxl-{grow|shrink}-1
    • -
    - -

    Auto margins

    -

    Flexbox can do some pretty awesome things when you mix flex alignments with auto margins. Shown below are three examples of controlling flex items via auto margins: default (no auto margin), pushing two items to the right (.me-auto), and pushing two items to the left (.ms-auto).

    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    - -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    - -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    <div class="d-flex bd-highlight mb-3">
    -  <div class="p-2 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Flex item</div>
    -</div>
    -
    -<div class="d-flex bd-highlight mb-3">
    -  <div class="me-auto p-2 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Flex item</div>
    -</div>
    -
    -<div class="d-flex bd-highlight mb-3">
    -  <div class="p-2 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Flex item</div>
    -  <div class="ms-auto p-2 bd-highlight">Flex item</div>
    -</div>
    -

    With align-items

    -

    Vertically move one flex item to the top or bottom of a container by mixing align-items, flex-direction: column, and margin-top: auto or margin-bottom: auto.

    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    - -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    <div class="d-flex align-items-start flex-column bd-highlight mb-3" style="height: 200px;">
    -  <div class="mb-auto p-2 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Flex item</div>
    -</div>
    -
    -<div class="d-flex align-items-end flex-column bd-highlight mb-3" style="height: 200px;">
    -  <div class="p-2 bd-highlight">Flex item</div>
    -  <div class="p-2 bd-highlight">Flex item</div>
    -  <div class="mt-auto p-2 bd-highlight">Flex item</div>
    -</div>
    -

    Wrap

    -

    Change how flex items wrap in a flex container. Choose from no wrapping at all (the browser default) with .flex-nowrap, wrapping with .flex-wrap, or reverse wrapping with .flex-wrap-reverse.

    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex flex-nowrap">
    -  ...
    -</div>
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex flex-wrap">
    -  ...
    -</div>
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex flex-wrap-reverse">
    -  ...
    -</div>
    -

    Responsive variations also exist for flex-wrap.

    -
      -
    • .flex-nowrap
    • -
    • .flex-wrap
    • -
    • .flex-wrap-reverse
    • -
    • .flex-sm-nowrap
    • -
    • .flex-sm-wrap
    • -
    • .flex-sm-wrap-reverse
    • -
    • .flex-md-nowrap
    • -
    • .flex-md-wrap
    • -
    • .flex-md-wrap-reverse
    • -
    • .flex-lg-nowrap
    • -
    • .flex-lg-wrap
    • -
    • .flex-lg-wrap-reverse
    • -
    • .flex-xl-nowrap
    • -
    • .flex-xl-wrap
    • -
    • .flex-xl-wrap-reverse
    • -
    • .flex-xxl-nowrap
    • -
    • .flex-xxl-wrap
    • -
    • .flex-xxl-wrap-reverse
    • -
    - -

    Order

    -

    Change the visual order of specific flex items with a handful of order utilities. We only provide options for making an item first or last, as well as a reset to use the DOM order. As order takes any integer value from 0 to 5, add custom CSS for any additional values needed.

    -
    -
    -
    First flex item
    -
    Second flex item
    -
    Third flex item
    -
    -
    <div class="d-flex flex-nowrap bd-highlight">
    -  <div class="order-3 p-2 bd-highlight">First flex item</div>
    -  <div class="order-2 p-2 bd-highlight">Second flex item</div>
    -  <div class="order-1 p-2 bd-highlight">Third flex item</div>
    -</div>
    -

    Responsive variations also exist for order.

    -
      -
    • .order-0
    • -
    • .order-1
    • -
    • .order-2
    • -
    • .order-3
    • -
    • .order-4
    • -
    • .order-5
    • -
    • .order-sm-0
    • -
    • .order-sm-1
    • -
    • .order-sm-2
    • -
    • .order-sm-3
    • -
    • .order-sm-4
    • -
    • .order-sm-5
    • -
    • .order-md-0
    • -
    • .order-md-1
    • -
    • .order-md-2
    • -
    • .order-md-3
    • -
    • .order-md-4
    • -
    • .order-md-5
    • -
    • .order-lg-0
    • -
    • .order-lg-1
    • -
    • .order-lg-2
    • -
    • .order-lg-3
    • -
    • .order-lg-4
    • -
    • .order-lg-5
    • -
    • .order-xl-0
    • -
    • .order-xl-1
    • -
    • .order-xl-2
    • -
    • .order-xl-3
    • -
    • .order-xl-4
    • -
    • .order-xl-5
    • -
    • .order-xxl-0
    • -
    • .order-xxl-1
    • -
    • .order-xxl-2
    • -
    • .order-xxl-3
    • -
    • .order-xxl-4
    • -
    • .order-xxl-5
    • -
    - -

    Additionally there are also responsive .order-first and .order-last classes that change the order of an element by applying order: -1 and order: 6, respectively.

    -
      -
    • .order-first
    • -
    • .order-last
    • -
    • .order-sm-first
    • -
    • .order-sm-last
    • -
    • .order-md-first
    • -
    • .order-md-last
    • -
    • .order-lg-first
    • -
    • .order-lg-last
    • -
    • .order-xl-first
    • -
    • .order-xl-last
    • -
    • .order-xxl-first
    • -
    • .order-xxl-last
    • -
    - -

    Align content

    -

    Use align-content utilities on flexbox containers to align flex items together on the cross axis. Choose from start (browser default), end, center, between, around, or stretch. To demonstrate these utilities, we’ve enforced flex-wrap: wrap and increased the number of flex items.

    -

    Heads up! This property has no effect on single rows of flex items.

    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex align-content-start flex-wrap">
    -  ...
    -</div>
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex align-content-end flex-wrap">...</div>
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex align-content-center flex-wrap">...</div>
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex align-content-between flex-wrap">...</div>
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex align-content-around flex-wrap">...</div>
    -
    -
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    Flex item
    -
    -
    -
    <div class="d-flex align-content-stretch flex-wrap">...</div>
    -

    Responsive variations also exist for align-content.

    -
      -
    • .align-content-start
    • -
    • .align-content-end
    • -
    • .align-content-center
    • -
    • .align-content-around
    • -
    • .align-content-stretch
    • -
    • .align-content-sm-start
    • -
    • .align-content-sm-end
    • -
    • .align-content-sm-center
    • -
    • .align-content-sm-around
    • -
    • .align-content-sm-stretch
    • -
    • .align-content-md-start
    • -
    • .align-content-md-end
    • -
    • .align-content-md-center
    • -
    • .align-content-md-around
    • -
    • .align-content-md-stretch
    • -
    • .align-content-lg-start
    • -
    • .align-content-lg-end
    • -
    • .align-content-lg-center
    • -
    • .align-content-lg-around
    • -
    • .align-content-lg-stretch
    • -
    • .align-content-xl-start
    • -
    • .align-content-xl-end
    • -
    • .align-content-xl-center
    • -
    • .align-content-xl-around
    • -
    • .align-content-xl-stretch
    • -
    • .align-content-xxl-start
    • -
    • .align-content-xxl-end
    • -
    • .align-content-xxl-center
    • -
    • .align-content-xxl-around
    • -
    • .align-content-xxl-stretch
    • -
    - -

    Media object

    -

    Looking to replicate the media object component from Bootstrap 4? Recreate it in no time with a few flex utilities that allow even more flexibility and customization than before.

    -
    -
    -
    - PlaceholderImage - -
    -
    - This is some content from a media component. You can replace this with any content and adjust it as needed. -
    -
    -
    <div class="d-flex">
    -  <div class="flex-shrink-0">
    -    <img src="..." alt="...">
    -  </div>
    -  <div class="flex-grow-1 ms-3">
    -    This is some content from a media component. You can replace this with any content and adjust it as needed.
    -  </div>
    -</div>
    -

    And say you want to vertically center the content next to the image:

    -
    -
    -
    - PlaceholderImage - -
    -
    - This is some content from a media component. You can replace this with any content and adjust it as needed. -
    -
    -
    <div class="d-flex align-items-center">
    -  <div class="flex-shrink-0">
    -    <img src="..." alt="...">
    -  </div>
    -  <div class="flex-grow-1 ms-3">
    -    This is some content from a media component. You can replace this with any content and adjust it as needed.
    -  </div>
    -</div>
    -

    Sass

    -

    Utilities API

    -

    Flexbox utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "flex": (
    -      responsive: true,
    -      property: flex,
    -      values: (fill: 1 1 auto)
    -    ),
    -    "flex-direction": (
    -      responsive: true,
    -      property: flex-direction,
    -      class: flex,
    -      values: row column row-reverse column-reverse
    -    ),
    -    "flex-grow": (
    -      responsive: true,
    -      property: flex-grow,
    -      class: flex,
    -      values: (
    -        grow-0: 0,
    -        grow-1: 1,
    -      )
    -    ),
    -    "flex-shrink": (
    -      responsive: true,
    -      property: flex-shrink,
    -      class: flex,
    -      values: (
    -        shrink-0: 0,
    -        shrink-1: 1,
    -      )
    -    ),
    -    "flex-wrap": (
    -      responsive: true,
    -      property: flex-wrap,
    -      class: flex,
    -      values: wrap nowrap wrap-reverse
    -    ),
    -    "gap": (
    -      responsive: true,
    -      property: gap,
    -      class: gap,
    -      values: $spacers
    -    ),
    -    "justify-content": (
    -      responsive: true,
    -      property: justify-content,
    -      values: (
    -        start: flex-start,
    -        end: flex-end,
    -        center: center,
    -        between: space-between,
    -        around: space-around,
    -        evenly: space-evenly,
    -      )
    -    ),
    -    "align-items": (
    -      responsive: true,
    -      property: align-items,
    -      values: (
    -        start: flex-start,
    -        end: flex-end,
    -        center: center,
    -        baseline: baseline,
    -        stretch: stretch,
    -      )
    -    ),
    -    "align-content": (
    -      responsive: true,
    -      property: align-content,
    -      values: (
    -        start: flex-start,
    -        end: flex-end,
    -        center: center,
    -        between: space-between,
    -        around: space-around,
    -        stretch: stretch,
    -      )
    -    ),
    -    "align-self": (
    -      responsive: true,
    -      property: align-self,
    -      values: (
    -        auto: auto,
    -        start: flex-start,
    -        end: flex-end,
    -        center: center,
    -        baseline: baseline,
    -        stretch: stretch,
    -      )
    -    ),
    -    "order": (
    -      responsive: true,
    -      property: order,
    -      values: (
    -        first: -1,
    -        0: 0,
    -        1: 1,
    -        2: 2,
    -        3: 3,
    -        4: 4,
    -        5: 5,
    -        last: 6,
    -      ),
    -    ),
    -    
    +

    + Media object + +

    +

    + Looking to replicate the + media object component + from Bootstrap 4? Recreate it in no time with a few flex utilities + that allow even more flexibility and customization than before. +

    +
    +
    +
    +
    + + Placeholder + + Image + +
    +
    + This is some content from a media component. You can replace + this with any content and adjust it as needed. +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex">
    +  <div class="flex-shrink-0">
    +    <img src="..." alt="...">
    +  </div>
    +  <div class="flex-grow-1 ms-3">
    +    This is some content from a media component. You can replace this with any content and adjust it as needed.
    +  </div>
    +</div>
    +
    +
    + +

    + And say you want to vertically center the content next to the image: +

    +
    +
    +
    +
    + + Placeholder + + Image + +
    +
    + This is some content from a media component. You can replace + this with any content and adjust it as needed. +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="d-flex align-items-center">
    +  <div class="flex-shrink-0">
    +    <img src="..." alt="...">
    +  </div>
    +  <div class="flex-grow-1 ms-3">
    +    This is some content from a media component. You can replace this with any content and adjust it as needed.
    +  </div>
    +</div>
    +
    +
    + +

    + Sass + +

    +

    + Utilities API + +

    +

    + Flexbox utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "flex": (
    +  responsive: true,
    +  property: flex,
    +  values: (fill: 1 1 auto)
    +),
    +"flex-direction": (
    +  responsive: true,
    +  property: flex-direction,
    +  class: flex,
    +  values: row column row-reverse column-reverse
    +),
    +"flex-grow": (
    +  responsive: true,
    +  property: flex-grow,
    +  class: flex,
    +  values: (
    +    grow-0: 0,
    +    grow-1: 1,
    +  )
    +),
    +"flex-shrink": (
    +  responsive: true,
    +  property: flex-shrink,
    +  class: flex,
    +  values: (
    +    shrink-0: 0,
    +    shrink-1: 1,
    +  )
    +),
    +"flex-wrap": (
    +  responsive: true,
    +  property: flex-wrap,
    +  class: flex,
    +  values: wrap nowrap wrap-reverse
    +),
    +"justify-content": (
    +  responsive: true,
    +  property: justify-content,
    +  values: (
    +    start: flex-start,
    +    end: flex-end,
    +    center: center,
    +    between: space-between,
    +    around: space-around,
    +    evenly: space-evenly,
    +  )
    +),
    +"align-items": (
    +  responsive: true,
    +  property: align-items,
    +  values: (
    +    start: flex-start,
    +    end: flex-end,
    +    center: center,
    +    baseline: baseline,
    +    stretch: stretch,
    +  )
    +),
    +"align-content": (
    +  responsive: true,
    +  property: align-content,
    +  values: (
    +    start: flex-start,
    +    end: flex-end,
    +    center: center,
    +    between: space-between,
    +    around: space-around,
    +    stretch: stretch,
    +  )
    +),
    +"align-self": (
    +  responsive: true,
    +  property: align-self,
    +  values: (
    +    auto: auto,
    +    start: flex-start,
    +    end: flex-end,
    +    center: center,
    +    baseline: baseline,
    +    stretch: stretch,
    +  )
    +),
    +"order": (
    +  responsive: true,
    +  property: order,
    +  values: (
    +    first: -1,
    +    0: 0,
    +    1: 1,
    +    2: 2,
    +    3: 3,
    +    4: 4,
    +    5: 5,
    +    last: 6,
    +  ),
    +),
    +
    +
    +
    +
    +
    +
  • -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/float/index.html b/utilities/float/index.html index 91e8e37..125d318 100644 --- a/utilities/float/index.html +++ b/utilities/float/index.html @@ -1,514 +1,2103 @@ - - - - - - - - - - - - - - - -Float · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Float · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Float

    +
    +

    + Toggle floats on any element, across any breakpoint, using our + responsive float utilities. +

    - -
  • - - - -
  • -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Float

    +
    + + On this page +
    +
    + +
    -

    Toggle floats on any element, across any breakpoint, using our responsive float utilities.

    - - -
    +
    +

    + Overview + +

    +

    + These utility classes float an element to the left or right, or + disable floating, based on the current viewport size using the + CSS float property. !important is included to avoid specificity issues. + These use the same viewport breakpoints as our grid system. Please + be aware float utilities have no effect on flex items. +

    +
    +
    +
    Float start on all viewport sizes
    +
    +
    Float end on all viewport sizes
    +
    +
    Don't float on all viewport sizes
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="float-start">Float start on all viewport sizes</div><br>
    +<div class="float-end">Float end on all viewport sizes</div><br>
    +<div class="float-none">Don't float on all viewport sizes</div>
    +
    +
    + +

    + Responsive + +

    +

    + Responsive variations also exist for each float value. +

    +
    +
    +
    + Float start on viewports sized SM (small) or wider +
    +
    +
    + Float start on viewports sized MD (medium) or wider +
    +
    +
    + Float start on viewports sized LG (large) or wider +
    +
    +
    + Float start on viewports sized XL (extra-large) or wider +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="float-sm-start">Float start on viewports sized SM (small) or wider</div><br>
    +<div class="float-md-start">Float start on viewports sized MD (medium) or wider</div><br>
    +<div class="float-lg-start">Float start on viewports sized LG (large) or wider</div><br>
    +<div class="float-xl-start">Float start on viewports sized XL (extra-large) or wider</div><br>
    +
    +
    + +

    Here are all the support classes:

    +
      +
    • .float-start
    • +
    • .float-end
    • +
    • .float-none
    • +
    • .float-sm-start
    • +
    • .float-sm-end
    • +
    • .float-sm-none
    • +
    • .float-md-start
    • +
    • .float-md-end
    • +
    • .float-md-none
    • +
    • .float-lg-start
    • +
    • .float-lg-end
    • +
    • .float-lg-none
    • +
    • .float-xl-start
    • +
    • .float-xl-end
    • +
    • .float-xl-none
    • +
    • .float-xxl-start
    • +
    • .float-xxl-end
    • +
    • .float-xxl-none
    • +
    -
    - On this page - +

    + Sass + +

    +

    + Utilities API + +

    +

    + Float utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "float": (
    +  responsive: true,
    +  property: float,
    +  values: (
    +    start: left,
    +    end: right,
    +    none: none,
    +  )
    +),
    +
    +
    +
    +
    - -
    - - -

    Overview

    -

    These utility classes float an element to the left or right, or disable floating, based on the current viewport size using the CSS float property. !important is included to avoid specificity issues. These use the same viewport breakpoints as our grid system. Please be aware float utilities have no effect on flex items.

    -
    -
    Float start on all viewport sizes

    -
    Float end on all viewport sizes

    -
    Don't float on all viewport sizes
    -
    <div class="float-start">Float start on all viewport sizes</div><br>
    -<div class="float-end">Float end on all viewport sizes</div><br>
    -<div class="float-none">Don't float on all viewport sizes</div>
    -

    Responsive

    -

    Responsive variations also exist for each float value.

    -
    -
    Float start on viewports sized SM (small) or wider

    -
    Float start on viewports sized MD (medium) or wider

    -
    Float start on viewports sized LG (large) or wider

    -
    Float start on viewports sized XL (extra-large) or wider

    -
    <div class="float-sm-start">Float start on viewports sized SM (small) or wider</div><br>
    -<div class="float-md-start">Float start on viewports sized MD (medium) or wider</div><br>
    -<div class="float-lg-start">Float start on viewports sized LG (large) or wider</div><br>
    -<div class="float-xl-start">Float start on viewports sized XL (extra-large) or wider</div><br>
    -

    Here are all the support classes:

    -
      -
    • .float-start
    • -
    • .float-end
    • -
    • .float-none
    • -
    • .float-sm-start
    • -
    • .float-sm-end
    • -
    • .float-sm-none
    • -
    • .float-md-start
    • -
    • .float-md-end
    • -
    • .float-md-none
    • -
    • .float-lg-start
    • -
    • .float-lg-end
    • -
    • .float-lg-none
    • -
    • .float-xl-start
    • -
    • .float-xl-end
    • -
    • .float-xl-none
    • -
    • .float-xxl-start
    • -
    • .float-xxl-end
    • -
    • .float-xxl-none
    • -
    - -

    Sass

    -

    Utilities API

    -

    Float utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "float": (
    -      responsive: true,
    -      property: float,
    -      values: (
    -        start: left,
    -        end: right,
    -        none: none,
    -      )
    -    ),
    -    
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/interactions/index.html b/utilities/interactions/index.html index 32ce3c1..ee52995 100644 --- a/utilities/interactions/index.html +++ b/utilities/interactions/index.html @@ -1,483 +1,2072 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Interactions · Bootstrap v5.3 -Interactions · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + +
    +
    +
    + +

    Interactions

    +
    +

    + Utility classes that change how users interact with contents of a + website. +

    +
    + +
    +

    + Text selection + +

    +

    + Change the way in which the content is selected when the user + interacts with it. +

    +
    +
    +

    + This paragraph will be entirely selected when clicked by the + user. +

    +

    + This paragraph has default select behavior. +

    +

    + This paragraph will not be selectable when clicked by the user. +

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="user-select-all">This paragraph will be entirely selected when clicked by the user.</p>
    +<p class="user-select-auto">This paragraph has default select behavior.</p>
    +<p class="user-select-none">This paragraph will not be selectable when clicked by the user.</p>
    +
    +
    + +

    + Pointer events + +

    +

    + Bootstrap provides .pe-none and + .pe-auto classes to prevent or add element + interactions. +

    +
    +
    +

    + This link + can not be clicked. +

    +

    + This link can be clicked (this + is default behavior). +

    +

    + This link can + not be clicked because the pointer-events property + is inherited from its parent. However, + this link has a + pe-auto class and can be clicked. +

    +
    +
    + html +
    + + +
    +
    +
    +
    <p><a href="#" class="pe-none" tabindex="-1" aria-disabled="true">This link</a> can not be clicked.</p>
    +<p><a href="#" class="pe-auto">This link</a> can be clicked (this is default behavior).</p>
    +<p class="pe-none"><a href="#" tabindex="-1" aria-disabled="true">This link</a> can not be clicked because the <code>pointer-events</code> property is inherited from its parent. However, <a href="#" class="pe-auto">this link</a> has a <code>pe-auto</code> class and can be clicked.</p>
    +
    +
    + +

    + The .pe-none class (and the + pointer-events CSS property it sets) only prevents + interactions with a pointer (mouse, stylus, touch). Links and + controls with .pe-none are, by default, still focusable + and actionable for keyboard users. To ensure that they are + completely neutralized even for keyboard users, you may need to add + further attributes such as tabindex="-1" (to + prevent them from receiving keyboard focus) and + aria-disabled="true" (to convey the fact they + are effectively disabled to assistive technologies), and possibly + use JavaScript to completely prevent them from being actionable. +

    +

    If possible, the simpler solution is:

    +
      +
    • + For form controls, add the disabled HTML attribute. +
    • +
    • + For links, remove the href attribute, making it a + non-interactive anchor or placeholder link. +
    • +
    +

    + Sass + +

    +

    + Utilities API + +

    +

    + Interaction utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "user-select": (
    +  property: user-select,
    +  values: all auto none
    +),
    +"pointer-events": (
    +  property: pointer-events,
    +  class: pe,
    +  values: none auto,
    +),
    +
    +
    +
    +
    - - - + + + + + - + - + + + + + diff --git a/utilities/link/index.html b/utilities/link/index.html new file mode 100644 index 0000000..07eb32a --- /dev/null +++ b/utilities/link/index.html @@ -0,0 +1,2579 @@ + + + + + + + + + + + + + + + Link · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +
    + Added in v5.3 + View on GitHub + +
    +

    Link

    +
    +

    + Link utilities are used to stylize your anchors to adjust their + color, opacity, underline offset, underline color, and more. +

    +
    + +
    + + On this page +
    + +
    + +
    + +

    + Change the alpha opacity of the link rgba() color value + with utilities. Please be aware that changes to a color’s + opacity can lead to links with + insufficient contrast. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <p><a class="link-opacity-10" href="#">Link opacity 10</a></p>
    +<p><a class="link-opacity-25" href="#">Link opacity 25</a></p>
    +<p><a class="link-opacity-50" href="#">Link opacity 50</a></p>
    +<p><a class="link-opacity-75" href="#">Link opacity 75</a></p>
    +<p><a class="link-opacity-100" href="#">Link opacity 100</a></p>
    +
    +
    + +

    You can even change the opacity level on hover.

    +
    + +
    + html +
    + + +
    +
    +
    +
    <p><a class="link-opacity-10-hover" href="#">Link hover opacity 10</a></p>
    +<p><a class="link-opacity-25-hover" href="#">Link hover opacity 25</a></p>
    +<p><a class="link-opacity-50-hover" href="#">Link hover opacity 50</a></p>
    +<p><a class="link-opacity-75-hover" href="#">Link hover opacity 75</a></p>
    +<p><a class="link-opacity-100-hover" href="#">Link hover opacity 100</a></p>
    +
    +
    + + +

    + Underline color + +

    +

    + Change the underline’s color independent of the link text + color. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <p><a href="#" class="link-underline-primary">Primary underline</a></p>
    +<p><a href="#" class="link-underline-secondary">Secondary underline</a></p>
    +<p><a href="#" class="link-underline-success">Success underline</a></p>
    +<p><a href="#" class="link-underline-danger">Danger underline</a></p>
    +<p><a href="#" class="link-underline-warning">Warning underline</a></p>
    +<p><a href="#" class="link-underline-info">Info underline</a></p>
    +<p><a href="#" class="link-underline-light">Light underline</a></p>
    +<p><a href="#" class="link-underline-dark">Dark underline</a></p>
    +
    +
    + +

    + Underline offset + +

    +

    + Change the underline’s distance from your text. Offset is set + in em units to automatically scale with the + element’s current font-size. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <p><a href="#">Default link</a></p>
    +<p><a class="link-offset-1" href="#">Offset 1 link</a></p>
    +<p><a class="link-offset-2" href="#">Offset 2 link</a></p>
    +<p><a class="link-offset-3" href="#">Offset 3 link</a></p>
    +
    +
    + +

    + Underline opacity + +

    +

    + Change the underline’s opacity. Requires adding + .link-underline to first set an + rgba() color we use to then modify the alpha opacity. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <p><a class="link-offset-2 link-underline link-underline-opacity-0" href="#">Underline opacity 0</a></p>
    +<p><a class="link-offset-2 link-underline link-underline-opacity-10" href="#">Underline opacity 10</a></p>
    +<p><a class="link-offset-2 link-underline link-underline-opacity-25" href="#">Underline opacity 25</a></p>
    +<p><a class="link-offset-2 link-underline link-underline-opacity-50" href="#">Underline opacity 50</a></p>
    +<p><a class="link-offset-2 link-underline link-underline-opacity-75" href="#">Underline opacity 75</a></p>
    +<p><a class="link-offset-2 link-underline link-underline-opacity-100" href="#">Underline opacity 100</a></p>
    +
    +
    + +

    + Hover variants + +

    +

    + Just like the .link-opacity-*-hover utilities, + .link-offset and + .link-underline-opacity utilities include + :hover variants by default. Mix and match to create + unique link styles. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <a class="link-offset-2 link-offset-3-hover link-underline link-underline-opacity-0 link-underline-opacity-75-hover" href="#">
    +  Underline opacity 0
    +</a>
    +
    +
    + + +

    + Colored link helpers + have been updated to pair with our link utilities. Use the new + utilities to modify the link opacity, underline opacity, and + underline offset. +

    +
    + +
    + html +
    + + +
    +
    +
    +
    <p><a href="#" class="link-primary link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Primary link</a></p>
    +<p><a href="#" class="link-secondary link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Secondary link</a></p>
    +<p><a href="#" class="link-success link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Success link</a></p>
    +<p><a href="#" class="link-danger link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Danger link</a></p>
    +<p><a href="#" class="link-warning link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Warning link</a></p>
    +<p><a href="#" class="link-info link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Info link</a></p>
    +<p><a href="#" class="link-light link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Light link</a></p>
    +<p><a href="#" class="link-dark link-offset-2 link-underline-opacity-25 link-underline-opacity-100-hover">Dark link</a></p>
    +<p><a href="#" class="link-body-emphasis link-offset-2 link-underline-opacity-25 link-underline-opacity-75-hover">Emphasis link</a></p>
    +
    +
    + +
    + Accessibility tip: Using color to add meaning only + provides a visual indication, which will not be conveyed to users of + assistive technologies like screen readers. Please ensure the + meaning is obvious from the content itself (e.g., the visible text) + or is included through alternative means, such as additional text + hidden with the .visually-hidden class. +
    + +

    + Sass + +

    +

    + In addition to the following Sass functionality, consider reading + about our included + CSS custom properties + (aka CSS variables) for colors and more. +

    +

    + Utilities API + +

    +

    + Link utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "link-opacity": (
    +  css-var: true,
    +  class: link-opacity,
    +  state: hover,
    +  values: (
    +    10: .1,
    +    25: .25,
    +    50: .5,
    +    75: .75,
    +    100: 1
    +  )
    +),
    +"link-offset": (
    +  property: text-underline-offset,
    +  class: link-offset,
    +  state: hover,
    +  values: (
    +    1: .125em,
    +    2: .25em,
    +    3: .375em,
    +  )
    +),
    +"link-underline": (
    +  property: text-decoration-color,
    +  class: link-underline,
    +  local-vars: (
    +    "link-underline-opacity": 1
    +  ),
    +  values: map-merge(
    +    $utilities-links-underline,
    +    (
    +      null: rgba(var(--#{$prefix}link-color-rgb), var(--#{$prefix}link-underline-opacity, 1)),
    +    )
    +  )
    +),
    +"link-underline-opacity": (
    +  css-var: true,
    +  class: link-underline-opacity,
    +  state: hover,
    +  values: (
    +    0: 0,
    +    10: .1,
    +    25: .25,
    +    50: .5,
    +    75: .75,
    +    100: 1
    +  ),
    +),
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + diff --git a/utilities/object-fit/index.html b/utilities/object-fit/index.html new file mode 100644 index 0000000..caf0bc6 --- /dev/null +++ b/utilities/object-fit/index.html @@ -0,0 +1,2187 @@ + + + + + + + + + + + + + + + Object fit · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Object fit

    +
    +

    + Use the object fit utilities to modify how the content of a + replaced element, such as an <img> or + <video>, should be resized to fit its container. +

    +
    + +
    + + On this page +
    + +
    + +
    +

    + How it works + +

    +

    + Change the value of the + object-fit property + with our responsive object-fit utility classes. This + property tells the content to fill the parent container in a variety + of ways, such as preserving the aspect ratio or stretching to take + up as much space as possible. +

    +

    + Classes for the value of object-fit are named using the + format .object-fit-{value}. Choose from the following + values: +

    +
      +
    • contain
    • +
    • cover
    • +
    • fill
    • +
    • scale (for scale-down)
    • +
    • none
    • +
    +

    + Examples + +

    +

    + Add the object-fit-{value} class to the + replaced element: +

    +
    +
    + Placeholder : Object fit contain + Placeholder : Object fit cover + Placeholder : Object fit fill + Placeholder : Object fit scale down + Placeholder : Object fit none +
    +
    + html +
    + + +
    +
    +
    +
    <img src="..." class="object-fit-contain border rounded" alt="...">
    +<img src="..." class="object-fit-cover border rounded" alt="...">
    +<img src="..." class="object-fit-fill border rounded" alt="...">
    +<img src="..." class="object-fit-scale border rounded" alt="...">
    +<img src="..." class="object-fit-none border rounded" alt="...">
    +
    +
    + +

    + Responsive + +

    +

    + Responsive variations also exist for each + object-fit value using the format + .object-fit-{breakpoint}-{value}, for the following + breakpoint abbreviations: sm, md, + lg, xl, and xxl. Classes can + be combined for various effects as you need. +

    +
    +
    + Placeholder : Contain on sm + Placeholder : Contain on md + Placeholder : Contain on lg + Placeholder : Contain on xl + Placeholder : Contain on xxl +
    +
    + html +
    + + +
    +
    +
    +
    <img src="..." class="object-fit-sm-contain border rounded" alt="...">
    +<img src="..." class="object-fit-md-contain border rounded" alt="...">
    +<img src="..." class="object-fit-lg-contain border rounded" alt="...">
    +<img src="..." class="object-fit-xl-contain border rounded" alt="...">
    +<img src="..." class="object-fit-xxl-contain border rounded" alt="...">
    +
    +
    + +

    + Video + +

    +

    + The .object-fit-{value} and responsive + .object-fit-{breakpoint}-{value} utilities also work on + <video> elements. +

    +
    +
    <video src="..." class="object-fit-contain" autoplay></video>
    +<video src="..." class="object-fit-cover" autoplay></video>
    +<video src="..." class="object-fit-fill" autoplay></video>
    +<video src="..." class="object-fit-scale" autoplay></video>
    +<video src="..." class="object-fit-none" autoplay></video>
    +
    +
    +

    + Utilities API + +

    +

    + Object fit utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "object-fit": (
    +  responsive: true,
    +  property: object-fit,
    +  values: (
    +    contain: contain,
    +    cover: cover,
    +    fill: fill,
    +    scale: scale-down,
    +    none: none,
    +  )
    +),
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + diff --git a/utilities/opacity/index.html b/utilities/opacity/index.html index 6d850e3..8c039cc 100644 --- a/utilities/opacity/index.html +++ b/utilities/opacity/index.html @@ -1,469 +1,1944 @@ - - + + + + + + + + + + + + - - - - - - - + Opacity · Bootstrap v5.3 - - + + -Opacity · Bootstrap v5.1 + - + + + + + + + + + + + - - + + + + + + - + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + -
    - + + + +
    + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + Added in v5.1 + View on GitHub + +
    +

    Opacity

    +
    +

    Control the opacity of elements.

    +
    + +
    +

    + The opacity property sets the opacity level for an + element. The opacity level describes the transparency level, where + 1 is not transparent at all, .5 is 50% + visible, and 0 is completely transparent. +

    +

    + Set the opacity of an element using + .opacity-{value} utilities. +

    +
    +
    + 100% +
    +
    + 75% +
    +
    + 50% +
    +
    + 25% +
    +
    +
    +
    <div class="opacity-100">...</div>
    +<div class="opacity-75">...</div>
    +<div class="opacity-50">...</div>
    +<div class="opacity-25">...</div>
    +
    +
    +

    + Utilities API + +

    +

    + Opacity utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "opacity": (
    +  property: opacity,
    +  values: (
    +    0: 0,
    +    25: .25,
    +    50: .5,
    +    75: .75,
    +    100: 1,
    +  )
    +),
    +
    +
    +
    +
    - - - + + + + + - + - + + + + + diff --git a/utilities/overflow/index.html b/utilities/overflow/index.html index 9f20125..682d47d 100644 --- a/utilities/overflow/index.html +++ b/utilities/overflow/index.html @@ -1,472 +1,2126 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Overflow · Bootstrap v5.3 -Overflow · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + +
    +
    +
    + +

    Overflow

    +
    +

    + Use these shorthand utilities for quickly configuring how content + overflows an element. +

    +
    + +
    + + On this page +
    +
    + +
    +
    + +
    +

    + Overflow + +

    +

    + Adjust the overflow property on the fly with four + default values and classes. These classes are not responsive by + default. +

    +
    +
    + This is an example of using .overflow-auto on an + element with set width and height dimensions. By design, this + content will vertically scroll. +
    +
    + This is an example of using .overflow-hidden on an + element with set width and height dimensions. +
    +
    + This is an example of using .overflow-visible on an + element with set width and height dimensions. +
    +
    + This is an example of using .overflow-scroll on an + element with set width and height dimensions. +
    +
    +
    +
    <div class="overflow-auto">...</div>
    +<div class="overflow-hidden">...</div>
    +<div class="overflow-visible">...</div>
    +<div class="overflow-scroll">...</div>
    +
    +
    +

    + overflow-x + +

    +

    + Adjust the overflow-x property to affect the overflow + of content horizontally. +

    +
    +
    +
    .overflow-x-auto example on an element
    +
    with set width and height dimensions.
    +
    +
    +
    .overflow-x-hidden example
    +
    on an element with set width and height dimensions.
    +
    +
    +
    .overflow-x-visible example
    +
    on an element with set width and height dimensions.
    +
    +
    +
    .overflow-x-scroll example on an element
    +
    with set width and height dimensions.
    +
    +
    +
    +
    <div class="overflow-x-auto">...</div>
    +<div class="overflow-x-hidden">...</div>
    +<div class="overflow-x-visible">...</div>
    +<div class="overflow-x-scroll">...</div>
    +
    +
    +

    + overflow-y + +

    +

    + Adjust the overflow-y property to affect the overflow + of content vertically. +

    +
    +
    + .overflow-y-auto example on an element with set width + and height dimensions. +
    +
    + .overflow-y-hidden example on an element with set + width and height dimensions. +
    +
    + .overflow-y-visible example on an element with set + width and height dimensions. +
    +
    + .overflow-y-scroll example on an element with set + width and height dimensions. +
    +
    +
    +
    <div class="overflow-y-auto">...</div>
    +<div class="overflow-y-hidden">...</div>
    +<div class="overflow-y-visible">...</div>
    +<div class="overflow-y-scroll">...</div>
    +
    +
    +

    + Using Sass variables, you may customize the overflow utilities by + changing the $overflows variable in + _variables.scss. +

    +

    + Sass + +

    +

    + Utilities API + +

    +

    + Overflow utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "overflow": (
    +  property: overflow,
    +  values: auto hidden visible scroll,
    +),
    +"overflow-x": (
    +  property: overflow-x,
    +  values: auto hidden visible scroll,
    +),
    +"overflow-y": (
    +  property: overflow-y,
    +  values: auto hidden visible scroll,
    +),
    +
    +
    +
    +
    - - - + + - + + - + + + + + + diff --git a/utilities/position/index.html b/utilities/position/index.html index cad08a1..a72a7bf 100644 --- a/utilities/position/index.html +++ b/utilities/position/index.html @@ -1,638 +1,2483 @@ - - - - - - - - - - - - - - - -Position · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Position · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Position

    +
    +

    + Use these shorthand utilities for quickly configuring the position + of an element. +

    - -
  • - - -
    - + +
    + + On this page +
    +
    -
  • -
  • - - -
    -
      -
    • Approach
    • -
    • Icons
    • + +
      +

      + Position values + +

      +

      + Quick positioning classes are available, though they are not + responsive. +

      +
      +
      <div class="position-static">...</div>
      +<div class="position-relative">...</div>
      +<div class="position-absolute">...</div>
      +<div class="position-fixed">...</div>
      +<div class="position-sticky">...</div>
      +
      +
      +

      + Arrange elements + +

      +

      + Arrange elements easily with the edge positioning utilities. The + format is {property}-{position}. +

      +

      Where property is one of:

      +
        +
      • + top - for the vertical top position +
      • +
      • + start - for the horizontal left position + (in LTR) +
      • +
      • + bottom - for the vertical + bottom position +
      • +
      • + end - for the horizontal right position + (in LTR) +
      -
      - -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        Where position is one of:

        +
          +
        • 0 - for 0 edge position
        • +
        • 50 - for 50% edge position
        • +
        • 100 - for 100% edge position
        +

        + (You can add more position values by adding entries to the + $position-values Sass map variable.) +

        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="position-relative">
        +  <div class="position-absolute top-0 start-0"></div>
        +  <div class="position-absolute top-0 end-0"></div>
        +  <div class="position-absolute top-50 start-50"></div>
        +  <div class="position-absolute bottom-50 end-50"></div>
        +  <div class="position-absolute bottom-0 start-0"></div>
        +  <div class="position-absolute bottom-0 end-0"></div>
        +</div>
        +
        +
        + +

        + Center elements + +

        +

        + In addition, you can also center the elements with the transform + utility class .translate-middle. +

        +

        + This class applies the transformations + translateX(-50%) and translateY(-50%) to + the element which, in combination with the edge positioning + utilities, allows you to absolute center an element. +

        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="position-relative">
        +  <div class="position-absolute top-0 start-0 translate-middle"></div>
        +  <div class="position-absolute top-0 start-50 translate-middle"></div>
        +  <div class="position-absolute top-0 start-100 translate-middle"></div>
        +  <div class="position-absolute top-50 start-0 translate-middle"></div>
        +  <div class="position-absolute top-50 start-50 translate-middle"></div>
        +  <div class="position-absolute top-50 start-100 translate-middle"></div>
        +  <div class="position-absolute top-100 start-0 translate-middle"></div>
        +  <div class="position-absolute top-100 start-50 translate-middle"></div>
        +  <div class="position-absolute top-100 start-100 translate-middle"></div>
        +</div>
        +
        +
        + +

        + By adding .translate-middle-x or + .translate-middle-y classes, elements can be positioned + only in horizontal or vertical direction. +

        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="position-relative">
        +  <div class="position-absolute top-0 start-0"></div>
        +  <div class="position-absolute top-0 start-50 translate-middle-x"></div>
        +  <div class="position-absolute top-0 end-0"></div>
        +  <div class="position-absolute top-50 start-0 translate-middle-y"></div>
        +  <div class="position-absolute top-50 start-50 translate-middle"></div>
        +  <div class="position-absolute top-50 end-0 translate-middle-y"></div>
        +  <div class="position-absolute bottom-0 start-0"></div>
        +  <div class="position-absolute bottom-0 start-50 translate-middle-x"></div>
        +  <div class="position-absolute bottom-0 end-0"></div>
        +</div>
        +
        +
        + +

        + Examples + +

        +

        Here are some real life examples of these classes:

        +
        +
        + + +
        + Marker + + + +
        + + +
        +
        + html +
        + + +
        +
        +
        +
        <button type="button" class="btn btn-primary position-relative">
        +  Mails <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-secondary">+99 <span class="visually-hidden">unread messages</span></span>
        +</button>
        +
        +<div class="position-relative py-2 px-4 text-bg-dark border border-dark rounded-pill">
        +  Marker <svg width="1em" height="1em" viewBox="0 0 16 16" class="position-absolute top-100 start-50 translate-middle mt-1" fill="var(--bs-dark)" xmlns="http://www.w3.org/2000/svg"><path d="M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>
        +</div>
        +
        +<button type="button" class="btn btn-primary position-relative">
        +  Alerts <span class="position-absolute top-0 start-100 translate-middle badge border border-light rounded-circle bg-danger p-2"><span class="visually-hidden">unread messages</span></span>
        +</button>
        +
        +
        + +

        + You can use these classes with existing components to create new + ones. Remember that you can extend its functionality by adding + entries to the $position-values variable. +

        +
        +
        +
        +
        +
        +
        + + + +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="position-relative m-4">
        +  <div class="progress" role="progressbar" aria-label="Progress" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="height: 1px;">
        +    <div class="progress-bar" style="width: 50%"></div>
        +  </div>
        +  <button type="button" class="position-absolute top-0 start-0 translate-middle btn btn-sm btn-primary rounded-pill" style="width: 2rem; height:2rem;">1</button>
        +  <button type="button" class="position-absolute top-0 start-50 translate-middle btn btn-sm btn-primary rounded-pill" style="width: 2rem; height:2rem;">2</button>
        +  <button type="button" class="position-absolute top-0 start-100 translate-middle btn btn-sm btn-secondary rounded-pill" style="width: 2rem; height:2rem;">3</button>
        +</div>
        +
        +
        + +

        + Sass + +

        +

        + Maps + +

        +

        + Default position utility values are declared in a Sass map, then + used to generate our utilities. +

        +
        +
        + scss/_variables.scss +
        + +
        +
        +
        +
        $position-values: (
        +  0: 0,
        +  50: 50%,
        +  100: 100%
        +);
        +
        +
        +
        +

        + Utilities API + +

        +

        + Position utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

        +
        +
        + scss/_utilities.scss +
        + +
        +
        +
        +
        "position": (
        +  property: position,
        +  values: static relative absolute fixed sticky
        +),
        +"top": (
        +  property: top,
        +  values: $position-values
        +),
        +"bottom": (
        +  property: bottom,
        +  values: $position-values
        +),
        +"start": (
        +  property: left,
        +  class: start,
        +  values: $position-values
        +),
        +"end": (
        +  property: right,
        +  class: end,
        +  values: $position-values
        +),
        +"translate-middle": (
        +  property: transform,
        +  class: translate-middle,
        +  values: (
        +    null: translate(-50%, -50%),
        +    x: translateX(-50%),
        +    y: translateY(-50%),
        +  )
        +),
        +
        +
      -
    • -
    • -
    • - - Migration - -
    • -
    - - - - -
    -
    -
    - View on GitHub -

    Position

    -
    -

    Use these shorthand utilities for quickly configuring the position of an element.

    - - -
    - +
    +
    -
    - On this page - +
    +
    +
    +
    + + + Bootstrap + + + Bootstrap + + +
    +
    +
    Links
    + +
    +
    +
    Guides
    + +
    +
    +
    Projects
    + +
    +
    +
    Community
    + +
    - - -
    - - -

    Position values

    -

    Quick positioning classes are available, though they are not responsive.

    -
    <div class="position-static">...</div>
    -<div class="position-relative">...</div>
    -<div class="position-absolute">...</div>
    -<div class="position-fixed">...</div>
    -<div class="position-sticky">...</div>
    -

    Arrange elements

    -

    Arrange elements easily with the edge positioning utilities. The format is {property}-{position}.

    -

    Where property is one of:

    -
      -
    • top - for the vertical top position
    • -
    • start - for the horizontal left position (in LTR)
    • -
    • bottom - for the vertical bottom position
    • -
    • end - for the horizontal right position (in LTR)
    • -
    -

    Where position is one of:

    -
      -
    • 0 - for 0 edge position
    • -
    • 50 - for 50% edge position
    • -
    • 100 - for 100% edge position
    • -
    -

    (You can add more position values by adding entries to the $position-values Sass map variable.)

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    <div class="position-relative">
    -  <div class="position-absolute top-0 start-0"></div>
    -  <div class="position-absolute top-0 end-0"></div>
    -  <div class="position-absolute top-50 start-50"></div>
    -  <div class="position-absolute bottom-50 end-50"></div>
    -  <div class="position-absolute bottom-0 start-0"></div>
    -  <div class="position-absolute bottom-0 end-0"></div>
    -</div>
    -

    Center elements

    -

    In addition, you can also center the elements with the transform utility class .translate-middle.

    -

    This class applies the transformations translateX(-50%) and translateY(-50%) to the element which, in combination with the edge positioning utilities, allows you to absolute center an element.

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    <div class="position-relative">
    -  <div class="position-absolute top-0 start-0 translate-middle"></div>
    -  <div class="position-absolute top-0 start-50 translate-middle"></div>
    -  <div class="position-absolute top-0 start-100 translate-middle"></div>
    -  <div class="position-absolute top-50 start-0 translate-middle"></div>
    -  <div class="position-absolute top-50 start-50 translate-middle"></div>
    -  <div class="position-absolute top-50 start-100 translate-middle"></div>
    -  <div class="position-absolute top-100 start-0 translate-middle"></div>
    -  <div class="position-absolute top-100 start-50 translate-middle"></div>
    -  <div class="position-absolute top-100 start-100 translate-middle"></div>
    -</div>
    -

    By adding .translate-middle-x or .translate-middle-y classes, elements can be positioned only in horizontal or vertical direction.

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    <div class="position-relative">
    -  <div class="position-absolute top-0 start-0"></div>
    -  <div class="position-absolute top-0 start-50 translate-middle-x"></div>
    -  <div class="position-absolute top-0 end-0"></div>
    -  <div class="position-absolute top-50 start-0 translate-middle-y"></div>
    -  <div class="position-absolute top-50 start-50 translate-middle"></div>
    -  <div class="position-absolute top-50 end-0 translate-middle-y"></div>
    -  <div class="position-absolute bottom-0 start-0"></div>
    -  <div class="position-absolute bottom-0 start-50 translate-middle-x"></div>
    -  <div class="position-absolute bottom-0 end-0"></div>
    -</div>
    -

    Examples

    -

    Here are some real life examples of these classes:

    -
    - - - - - -
    <button type="button" class="btn btn-primary position-relative">
    -  Mails <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-secondary">+99 <span class="visually-hidden">unread messages</span></span>
    -</button>
    -
    -<button type="button" class="btn btn-dark position-relative">
    -  Marker <svg width="1em" height="1em" viewBox="0 0 16 16" class="position-absolute top-100 start-50 translate-middle mt-1 bi bi-caret-down-fill" fill="#212529" xmlns="http://www.w3.org/2000/svg"><path d="M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>
    -</button>
    -
    -<button type="button" class="btn btn-primary position-relative">
    -  Alerts <span class="position-absolute top-0 start-100 translate-middle badge border border-light rounded-circle bg-danger p-2"><span class="visually-hidden">unread messages</span></span>
    -</button>
    -

    You can use these classes with existing components to create new ones. Remember that you can extend its functionality by adding entries to the $position-values variable.

    -
    -
    -
    -
    -
    - - - -
    -
    <div class="position-relative m-4">
    -  <div class="progress" style="height: 1px;">
    -    <div class="progress-bar" role="progressbar" style="width: 50%;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
    -  </div>
    -  <button type="button" class="position-absolute top-0 start-0 translate-middle btn btn-sm btn-primary rounded-pill" style="width: 2rem; height:2rem;">1</button>
    -  <button type="button" class="position-absolute top-0 start-50 translate-middle btn btn-sm btn-primary rounded-pill" style="width: 2rem; height:2rem;">2</button>
    -  <button type="button" class="position-absolute top-0 start-100 translate-middle btn btn-sm btn-secondary rounded-pill" style="width: 2rem; height:2rem;">3</button>
    -</div>
    -

    Sass

    -

    Maps

    -

    Default position utility values are declared in a Sass map, then used to generate our utilities.

    -
    $position-values: (
    -  0: 0,
    -  50: 50%,
    -  100: 100%
    -);
    -
    -

    Utilities API

    -

    Position utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "position": (
    -      property: position,
    -      values: static relative absolute fixed sticky
    -    ),
    -    "top": (
    -      property: top,
    -      values: $position-values
    -    ),
    -    "bottom": (
    -      property: bottom,
    -      values: $position-values
    -    ),
    -    "start": (
    -      property: left,
    -      class: start,
    -      values: $position-values
    -    ),
    -    "end": (
    -      property: right,
    -      class: end,
    -      values: $position-values
    -    ),
    -    "translate-middle": (
    -      property: transform,
    -      class: translate-middle,
    -      values: (
    -        null: translate(-50%, -50%),
    -        x: translateX(-50%),
    -        y: translateY(-50%),
    -      )
    -    ),
    -    
    -
    -
  • -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/shadows/index.html b/utilities/shadows/index.html index 5c4c1da..4fc2792 100644 --- a/utilities/shadows/index.html +++ b/utilities/shadows/index.html @@ -1,490 +1,2060 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Shadows · Bootstrap v5.3 -Shadows · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    + +
    +
    +
    + +

    Shadows

    +
    +

    + Add or remove shadows to elements with box-shadow utilities. +

    +
    -
    - - -

    Examples

    -

    While shadows on components are disabled by default in Bootstrap and can be enabled via $enable-shadows, you can also quickly add or remove a shadow with our box-shadow utility classes. Includes support for .shadow-none and three default sizes (which have associated variables to match).

    -
    -
    No shadow
    -
    Small shadow
    -
    Regular shadow
    -
    Larger shadow
    -
    <div class="shadow-none p-3 mb-5 bg-light rounded">No shadow</div>
    -<div class="shadow-sm p-3 mb-5 bg-body rounded">Small shadow</div>
    -<div class="shadow p-3 mb-5 bg-body rounded">Regular shadow</div>
    -<div class="shadow-lg p-3 mb-5 bg-body rounded">Larger shadow</div>
    -

    Sass

    -

    Variables

    -
    $box-shadow:                  0 .5rem 1rem rgba($black, .15);
    -$box-shadow-sm:               0 .125rem .25rem rgba($black, .075);
    -$box-shadow-lg:               0 1rem 3rem rgba($black, .175);
    -$box-shadow-inset:            inset 0 1px 2px rgba($black, .075);
    -
    -

    Utilities API

    -

    Shadow utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "shadow": (
    -      property: box-shadow,
    -      class: shadow,
    -      values: (
    -        null: $box-shadow,
    -        sm: $box-shadow-sm,
    -        lg: $box-shadow-lg,
    -        none: none,
    -      )
    -    ),
    -    
    +
    + + On this page +
    +
    + +
    +
    -
    -
    -
    +
    +

    + Examples + +

    +

    + While shadows on components are disabled by default in Bootstrap and + can be enabled via $enable-shadows, you can also + quickly add or remove a shadow with our + box-shadow utility classes. Includes support for + .shadow-none and three default sizes (which have + associated variables to match). +

    +
    +
    +
    + No shadow +
    +
    + Small shadow +
    +
    + Regular shadow +
    +
    + Larger shadow +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="shadow-none p-3 mb-5 bg-body-tertiary rounded">No shadow</div>
    +<div class="shadow-sm p-3 mb-5 bg-body-tertiary rounded">Small shadow</div>
    +<div class="shadow p-3 mb-5 bg-body-tertiary rounded">Regular shadow</div>
    +<div class="shadow-lg p-3 mb-5 bg-body-tertiary rounded">Larger shadow</div>
    +
    +
    +

    + Sass + +

    +

    + Variables + +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $box-shadow:                  0 .5rem 1rem rgba($black, .15);
    +$box-shadow-sm:               0 .125rem .25rem rgba($black, .075);
    +$box-shadow-lg:               0 1rem 3rem rgba($black, .175);
    +$box-shadow-inset:            inset 0 1px 2px rgba($black, .075);
    +
    +
    +
    +

    + Utilities API + +

    +

    + Shadow utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "shadow": (
    +  property: box-shadow,
    +  class: shadow,
    +  values: (
    +    null: $box-shadow,
    +    sm: $box-shadow-sm,
    +    lg: $box-shadow-lg,
    +    none: none,
    +  )
    +),
    +
    +
    +
    + + - + - + + + - + - + + + + + diff --git a/utilities/sizing/index.html b/utilities/sizing/index.html index e7486f7..182987e 100644 --- a/utilities/sizing/index.html +++ b/utilities/sizing/index.html @@ -1,561 +1,2237 @@ - - - - - - - - - - - - - - - -Sizing · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Sizing · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Sizing

    +
    +

    + Easily make an element as wide or as tall with our width and height + utilities. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Sizing

    +
    + + On this page +
    +
    -

    Easily make an element as wide or as tall with our width and height utilities.

    - -
    - - -
    - On this page - +
    +

    + Relative to the parent + +

    +

    + Width and height utilities are generated from the utility API in + _utilities.scss. Includes support for 25%, + 50%, 75%, 100%, and + auto by default. Modify those values as you need to + generate different utilities here. +

    +
    +
    +
    Width 25%
    +
    Width 50%
    +
    Width 75%
    +
    Width 100%
    +
    Width auto
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="w-25 p-3">Width 25%</div>
    +<div class="w-50 p-3">Width 50%</div>
    +<div class="w-75 p-3">Width 75%</div>
    +<div class="w-100 p-3">Width 100%</div>
    +<div class="w-auto p-3">Width auto</div>
    +
    +
    + +
    +
    +
    +
    + Height 25% +
    +
    + Height 50% +
    +
    + Height 75% +
    +
    + Height 100% +
    +
    + Height auto +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div style="height: 100px;">
    +  <div class="h-25 d-inline-block" style="width: 120px;">Height 25%</div>
    +  <div class="h-50 d-inline-block" style="width: 120px;">Height 50%</div>
    +  <div class="h-75 d-inline-block" style="width: 120px;">Height 75%</div>
    +  <div class="h-100 d-inline-block" style="width: 120px;">Height 100%</div>
    +  <div class="h-auto d-inline-block" style="width: 120px;">Height auto</div>
    +</div>
    +
    +
    + +

    + You can also use max-width: 100%; and + max-height: 100%; utilities as needed. +

    +
    +
    +
    +
    Max-width 100%
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div style="width: 50%; height: 100px;">
    +  <div class="mw-100" style="width: 200%;">Max-width 100%</div>
    +</div>
    +
    +
    + +
    +
    +
    +
    + Max-height 100% +
    +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div style="height: 100px;">
    +  <div class="mh-100" style="width: 100px; height: 200px;">Max-height 100%</div>
    +</div>
    +
    +
    + +

    + Relative to the viewport + +

    +

    + You can also use utilities to set the width and height relative to + the viewport. +

    +
    +
    <div class="min-vw-100">Min-width 100vw</div>
    +<div class="min-vh-100">Min-height 100vh</div>
    +<div class="vw-100">Width 100vw</div>
    +<div class="vh-100">Height 100vh</div>
    +
    +
    +

    + Sass + +

    +

    + Utilities API + +

    +

    + Sizing utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "width": (
    +  property: width,
    +  class: w,
    +  values: (
    +    25: 25%,
    +    50: 50%,
    +    75: 75%,
    +    100: 100%,
    +    auto: auto
    +  )
    +),
    +"max-width": (
    +  property: max-width,
    +  class: mw,
    +  values: (100: 100%)
    +),
    +"viewport-width": (
    +  property: width,
    +  class: vw,
    +  values: (100: 100vw)
    +),
    +"min-viewport-width": (
    +  property: min-width,
    +  class: min-vw,
    +  values: (100: 100vw)
    +),
    +"height": (
    +  property: height,
    +  class: h,
    +  values: (
    +    25: 25%,
    +    50: 50%,
    +    75: 75%,
    +    100: 100%,
    +    auto: auto
    +  )
    +),
    +"max-height": (
    +  property: max-height,
    +  class: mh,
    +  values: (100: 100%)
    +),
    +"viewport-height": (
    +  property: height,
    +  class: vh,
    +  values: (100: 100vh)
    +),
    +"min-viewport-height": (
    +  property: min-height,
    +  class: min-vh,
    +  values: (100: 100vh)
    +),
    +
    +
    +
    +
    - -
    - - -

    Relative to the parent

    -

    Width and height utilities are generated from the utility API in _utilities.scss. Includes support for 25%, 50%, 75%, 100%, and auto by default. Modify those values as you need to generate different utilities here.

    -
    -
    Width 25%
    -
    Width 50%
    -
    Width 75%
    -
    Width 100%
    -
    Width auto
    -
    <div class="w-25 p-3" style="background-color: #eee;">Width 25%</div>
    -<div class="w-50 p-3" style="background-color: #eee;">Width 50%</div>
    -<div class="w-75 p-3" style="background-color: #eee;">Width 75%</div>
    -<div class="w-100 p-3" style="background-color: #eee;">Width 100%</div>
    -<div class="w-auto p-3" style="background-color: #eee;">Width auto</div>
    -
    -
    -
    Height 25%
    -
    Height 50%
    -
    Height 75%
    -
    Height 100%
    -
    Height auto
    -
    -
    <div style="height: 100px; background-color: rgba(255,0,0,0.1);">
    -  <div class="h-25 d-inline-block" style="width: 120px; background-color: rgba(0,0,255,.1)">Height 25%</div>
    -  <div class="h-50 d-inline-block" style="width: 120px; background-color: rgba(0,0,255,.1)">Height 50%</div>
    -  <div class="h-75 d-inline-block" style="width: 120px; background-color: rgba(0,0,255,.1)">Height 75%</div>
    -  <div class="h-100 d-inline-block" style="width: 120px; background-color: rgba(0,0,255,.1)">Height 100%</div>
    -  <div class="h-auto d-inline-block" style="width: 120px; background-color: rgba(0,0,255,.1)">Height auto</div>
    -</div>
    -

    You can also use max-width: 100%; and max-height: 100%; utilities as needed.

    -
    -PlaceholderMax-width 100% - -
    <img src="..." class="mw-100" alt="...">
    -
    -
    -
    Max-height 100%
    -
    -
    <div style="height: 100px; background-color: rgba(255,0,0,.1);">
    -  <div class="mh-100" style="width: 100px; height: 200px; background-color: rgba(0,0,255,.1);">Max-height 100%</div>
    -</div>
    -

    Relative to the viewport

    -

    You can also use utilities to set the width and height relative to the viewport.

    -
    <div class="min-vw-100">Min-width 100vw</div>
    -<div class="min-vh-100">Min-height 100vh</div>
    -<div class="vw-100">Width 100vw</div>
    -<div class="vh-100">Height 100vh</div>
    -

    Sass

    -

    Utilities API

    -

    Sizing utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "width": (
    -      property: width,
    -      class: w,
    -      values: (
    -        25: 25%,
    -        50: 50%,
    -        75: 75%,
    -        100: 100%,
    -        auto: auto
    -      )
    -    ),
    -    "max-width": (
    -      property: max-width,
    -      class: mw,
    -      values: (100: 100%)
    -    ),
    -    "viewport-width": (
    -      property: width,
    -      class: vw,
    -      values: (100: 100vw)
    -    ),
    -    "min-viewport-width": (
    -      property: min-width,
    -      class: min-vw,
    -      values: (100: 100vw)
    -    ),
    -    "height": (
    -      property: height,
    -      class: h,
    -      values: (
    -        25: 25%,
    -        50: 50%,
    -        75: 75%,
    -        100: 100%,
    -        auto: auto
    -      )
    -    ),
    -    "max-height": (
    -      property: max-height,
    -      class: mh,
    -      values: (100: 100%)
    -    ),
    -    "viewport-height": (
    -      property: height,
    -      class: vh,
    -      values: (100: 100vh)
    -    ),
    -    "min-viewport-height": (
    -      property: min-height,
    -      class: min-vh,
    -      values: (100: 100vh)
    -    ),
    -    
    - +
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/spacing/index.html b/utilities/spacing/index.html index f208044..6eb9c67 100644 --- a/utilities/spacing/index.html +++ b/utilities/spacing/index.html @@ -1,693 +1,2569 @@ - - - - - - - - - - - - - - - -Spacing · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Spacing · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Spacing

    +
    +

    + Bootstrap includes a wide range of shorthand responsive margin, + padding, and gap utility classes to modify an element’s + appearance. +

    - -
  • - - -
    - + +
    + + On this page +
    +
    -
  • -
  • - - -
    -
      -
    • API
    • -
    • Background
    • -
    • Borders
    • -
    • Colors
    • -
    • Display
    • -
    • Flex
    • -
    • Float
    • -
    • Interactions
    • -
    • Opacity
    • -
    • Overflow
    • -
    • Position
    • -
    • Shadows
    • -
    • Sizing
    • -
    • Spacing
    • -
    • Text
    • -
    • Vertical align
    • -
    • Visibility
    • + +
      +

      + Margin and padding + +

      +

      + Assign responsive-friendly margin or + padding values to an element or a subset of its sides + with shorthand classes. Includes support for individual properties, + all properties, and vertical and horizontal properties. Classes are + built from a default Sass map ranging from .25rem to + 3rem. +

      +
      + Using the CSS Grid layout module? Consider using + the gap utility instead. +
      + +

      + Notation + +

      +

      + Spacing utilities that apply to all breakpoints, from + xs to xxl, have no breakpoint abbreviation + in them. This is because those classes are applied from + min-width: 0 and up, and thus are not bound by a media + query. The remaining breakpoints, however, do include a breakpoint + abbreviation. +

      +

      + The classes are named using the format + {property}{sides}-{size} for xs and + {property}{sides}-{breakpoint}-{size} for + sm, md, lg, xl, + and xxl. +

      +

      Where property is one of:

      +
        +
      • m - for classes that set margin
      • +
      • p - for classes that set padding
      -
      - -
    • - - -
      -
        -
      • Approach
      • -
      • Icons
      • +

        Where sides is one of:

        +
          +
        • + t - for classes that set margin-top or + padding-top +
        • +
        • + b - for classes that set + margin-bottom or padding-bottom +
        • +
        • + s - (start) for classes that set + margin-left or padding-left in LTR, + margin-right or padding-right in RTL +
        • +
        • + e - (end) for classes that set + margin-right or padding-right in LTR, + margin-left or padding-left in RTL +
        • +
        • + x - for classes that set both *-left and + *-right +
        • +
        • + y - for classes that set both *-top and + *-bottom +
        • +
        • + blank - for classes that set a margin or + padding on all 4 sides of the element +
        -
      -
    • -
    • - - -
      -
        -
      • Overview
      • -
      • Team
      • -
      • Brand
      • -
      • License
      • -
      • Translations
      • +

        Where size is one of:

        +
          +
        • + 0 - for classes that eliminate the + margin or padding by setting it to + 0 +
        • +
        • + 1 - (by default) for classes that set the + margin or padding to + $spacer * .25 +
        • +
        • + 2 - (by default) for classes that set the + margin or padding to + $spacer * .5 +
        • +
        • + 3 - (by default) for classes that set the + margin or padding to + $spacer +
        • +
        • + 4 - (by default) for classes that set the + margin or padding to + $spacer * 1.5 +
        • +
        • + 5 - (by default) for classes that set the + margin or padding to + $spacer * 3 +
        • +
        • + auto - for classes that set the + margin to auto +
        +

        + (You can add more sizes by adding entries to the + $spacers Sass map variable.) +

        +

        + Examples + +

        +

        Here are some representative examples of these classes:

        +
        +
        .mt-0 {
        +  margin-top: 0 !important;
        +}
        +
        +.ms-1 {
        +  margin-left: ($spacer * .25) !important;
        +}
        +
        +.px-2 {
        +  padding-left: ($spacer * .5) !important;
        +  padding-right: ($spacer * .5) !important;
        +}
        +
        +.p-3 {
        +  padding: $spacer !important;
        +}
        +
        +
        +

        + Horizontal centering + +

        +

        + Additionally, Bootstrap also includes an .mx-auto class + for horizontally centering fixed-width block level content—that is, + content that has display: block and a + width set—by setting the horizontal margins to + auto. +

        +
        +
        + Centered element +
        +
        +
        +
        <div class="mx-auto p-2" style="width: 200px;">
        +  Centered element
        +</div>
        +
        +
        +

        + Negative margin + +

        +

        + In CSS, margin properties can utilize negative values + (padding cannot). These negative margins are + disabled by default, but can be enabled in Sass by + setting $enable-negative-margins: true. +

        +

        + The syntax is nearly the same as the default, positive margin + utilities, but with the addition of n before the + requested size. Here’s an example class that’s the + opposite of .mt-1: +

        +
        +
        .mt-n1 {
        +  margin-top: -0.25rem !important;
        +}
        +
        +
        +

        + Gap + +

        +

        + When using display: grid or display: flex, + you can make use of gap utilities on the parent + element. This can save on having to add margin utilities to + individual children of a grid or flex container. Gap utilities are + responsive by default, and are generated via our utilities API, + based on the $spacers Sass map. +

        +
        +
        +
        +
        Grid item 1
        +
        Grid item 2
        +
        Grid item 3
        +
        Grid item 4
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid gap-3">
        +  <div class="p-2 g-col-6">Grid item 1</div>
        +  <div class="p-2 g-col-6">Grid item 2</div>
        +  <div class="p-2 g-col-6">Grid item 3</div>
        +  <div class="p-2 g-col-6">Grid item 4</div>
        +</div>
        +
        +
        + +

        + Support includes responsive options for all of Bootstrap’s + grid breakpoints, as well as six sizes from the + $spacers map (05). There is + no .gap-auto utility class as it’s effectively + the same as .gap-0. +

        +

        + row-gap + +

        +

        + row-gap sets the vertical space between children items + in the specified container. +

        +
        +
        +
        +
        Grid item 1
        +
        Grid item 2
        +
        Grid item 3
        +
        Grid item 4
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid gap-0 row-gap-3">
        +  <div class="p-2 g-col-6">Grid item 1</div>
        +  <div class="p-2 g-col-6">Grid item 2</div>
        +  <div class="p-2 g-col-6">Grid item 3</div>
        +  <div class="p-2 g-col-6">Grid item 4</div>
        +</div>
        +
        +
        + +

        + column-gap + +

        +

        + column-gap sets the horizontal space between children + items in the specified container. +

        +
        +
        +
        +
        Grid item 1
        +
        Grid item 2
        +
        Grid item 3
        +
        Grid item 4
        +
        +
        +
        + html +
        + + +
        +
        +
        +
        <div class="grid gap-0 column-gap-3">
        +  <div class="p-2 g-col-6">Grid item 1</div>
        +  <div class="p-2 g-col-6">Grid item 2</div>
        +  <div class="p-2 g-col-6">Grid item 3</div>
        +  <div class="p-2 g-col-6">Grid item 4</div>
        +</div>
        +
        +
        + +

        + Sass + +

        +

        + Maps + +

        +

        + Spacing utilities are declared via Sass map and then generated with + our utilities API. +

        +
        +
        + scss/_variables.scss +
        + +
        +
        +
        +
        $spacer: 1rem;
        +$spacers: (
        +  0: 0,
        +  1: $spacer * .25,
        +  2: $spacer * .5,
        +  3: $spacer,
        +  4: $spacer * 1.5,
        +  5: $spacer * 3,
        +);
        +
        +
        +
        +

        + Utilities API + +

        +

        + Spacing utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

        +
        +
        + scss/_utilities.scss +
        + +
        +
        +
        +
        "margin": (
        +  responsive: true,
        +  property: margin,
        +  class: m,
        +  values: map-merge($spacers, (auto: auto))
        +),
        +"margin-x": (
        +  responsive: true,
        +  property: margin-right margin-left,
        +  class: mx,
        +  values: map-merge($spacers, (auto: auto))
        +),
        +"margin-y": (
        +  responsive: true,
        +  property: margin-top margin-bottom,
        +  class: my,
        +  values: map-merge($spacers, (auto: auto))
        +),
        +"margin-top": (
        +  responsive: true,
        +  property: margin-top,
        +  class: mt,
        +  values: map-merge($spacers, (auto: auto))
        +),
        +"margin-end": (
        +  responsive: true,
        +  property: margin-right,
        +  class: me,
        +  values: map-merge($spacers, (auto: auto))
        +),
        +"margin-bottom": (
        +  responsive: true,
        +  property: margin-bottom,
        +  class: mb,
        +  values: map-merge($spacers, (auto: auto))
        +),
        +"margin-start": (
        +  responsive: true,
        +  property: margin-left,
        +  class: ms,
        +  values: map-merge($spacers, (auto: auto))
        +),
        +// Negative margin utilities
        +"negative-margin": (
        +  responsive: true,
        +  property: margin,
        +  class: m,
        +  values: $negative-spacers
        +),
        +"negative-margin-x": (
        +  responsive: true,
        +  property: margin-right margin-left,
        +  class: mx,
        +  values: $negative-spacers
        +),
        +"negative-margin-y": (
        +  responsive: true,
        +  property: margin-top margin-bottom,
        +  class: my,
        +  values: $negative-spacers
        +),
        +"negative-margin-top": (
        +  responsive: true,
        +  property: margin-top,
        +  class: mt,
        +  values: $negative-spacers
        +),
        +"negative-margin-end": (
        +  responsive: true,
        +  property: margin-right,
        +  class: me,
        +  values: $negative-spacers
        +),
        +"negative-margin-bottom": (
        +  responsive: true,
        +  property: margin-bottom,
        +  class: mb,
        +  values: $negative-spacers
        +),
        +"negative-margin-start": (
        +  responsive: true,
        +  property: margin-left,
        +  class: ms,
        +  values: $negative-spacers
        +),
        +// Padding utilities
        +"padding": (
        +  responsive: true,
        +  property: padding,
        +  class: p,
        +  values: $spacers
        +),
        +"padding-x": (
        +  responsive: true,
        +  property: padding-right padding-left,
        +  class: px,
        +  values: $spacers
        +),
        +"padding-y": (
        +  responsive: true,
        +  property: padding-top padding-bottom,
        +  class: py,
        +  values: $spacers
        +),
        +"padding-top": (
        +  responsive: true,
        +  property: padding-top,
        +  class: pt,
        +  values: $spacers
        +),
        +"padding-end": (
        +  responsive: true,
        +  property: padding-right,
        +  class: pe,
        +  values: $spacers
        +),
        +"padding-bottom": (
        +  responsive: true,
        +  property: padding-bottom,
        +  class: pb,
        +  values: $spacers
        +),
        +"padding-start": (
        +  responsive: true,
        +  property: padding-left,
        +  class: ps,
        +  values: $spacers
        +),
        +// Gap utility
        +"gap": (
        +  responsive: true,
        +  property: gap,
        +  class: gap,
        +  values: $spacers
        +),
        +"row-gap": (
        +  responsive: true,
        +  property: row-gap,
        +  class: row-gap,
        +  values: $spacers
        +),
        +"column-gap": (
        +  responsive: true,
        +  property: column-gap,
        +  class: column-gap,
        +  values: $spacers
        +),
        +
        +
      -
    • -
    • -
    • - - Migration - -
    • -
    - - - - -
    -
    -
    - View on GitHub -

    Spacing

    -
    -

    Bootstrap includes a wide range of shorthand responsive margin, padding, and gap utility classes to modify an element’s appearance.

    - - -
    - +
    +
    -
    - On this page - +
    +
    +
    +
    + + + Bootstrap + + + Bootstrap + + +
    +
    +
    Links
    + +
    +
    +
    Guides
    + +
    +
    +
    Projects
    + +
    +
    +
    Community
    + +
    - - -
    - - -

    Margin and padding

    -

    Assign responsive-friendly margin or padding values to an element or a subset of its sides with shorthand classes. Includes support for individual properties, all properties, and vertical and horizontal properties. Classes are built from a default Sass map ranging from .25rem to 3rem.

    -

    Using the CSS Grid layout module? Consider using the gap utility.

    -

    Notation

    -

    Spacing utilities that apply to all breakpoints, from xs to xxl, have no breakpoint abbreviation in them. This is because those classes are applied from min-width: 0 and up, and thus are not bound by a media query. The remaining breakpoints, however, do include a breakpoint abbreviation.

    -

    The classes are named using the format {property}{sides}-{size} for xs and {property}{sides}-{breakpoint}-{size} for sm, md, lg, xl, and xxl.

    -

    Where property is one of:

    -
      -
    • m - for classes that set margin
    • -
    • p - for classes that set padding
    • -
    -

    Where sides is one of:

    -
      -
    • t - for classes that set margin-top or padding-top
    • -
    • b - for classes that set margin-bottom or padding-bottom
    • -
    • s - (start) for classes that set margin-left or padding-left in LTR, margin-right or padding-right in RTL
    • -
    • e - (end) for classes that set margin-right or padding-right in LTR, margin-left or padding-left in RTL
    • -
    • x - for classes that set both *-left and *-right
    • -
    • y - for classes that set both *-top and *-bottom
    • -
    • blank - for classes that set a margin or padding on all 4 sides of the element
    • -
    -

    Where size is one of:

    -
      -
    • 0 - for classes that eliminate the margin or padding by setting it to 0
    • -
    • 1 - (by default) for classes that set the margin or padding to $spacer * .25
    • -
    • 2 - (by default) for classes that set the margin or padding to $spacer * .5
    • -
    • 3 - (by default) for classes that set the margin or padding to $spacer
    • -
    • 4 - (by default) for classes that set the margin or padding to $spacer * 1.5
    • -
    • 5 - (by default) for classes that set the margin or padding to $spacer * 3
    • -
    • auto - for classes that set the margin to auto
    • -
    -

    (You can add more sizes by adding entries to the $spacers Sass map variable.)

    -

    Examples

    -

    Here are some representative examples of these classes:

    -
    .mt-0 {
    -  margin-top: 0 !important;
    -}
    -
    -.ms-1 {
    -  margin-left: ($spacer * .25) !important;
    -}
    -
    -.px-2 {
    -  padding-left: ($spacer * .5) !important;
    -  padding-right: ($spacer * .5) !important;
    -}
    -
    -.p-3 {
    -  padding: $spacer !important;
    -}
    -

    Horizontal centering

    -

    Additionally, Bootstrap also includes an .mx-auto class for horizontally centering fixed-width block level content—that is, content that has display: block and a width set—by setting the horizontal margins to auto.

    -
    -
    - Centered element -
    -
    -
    <div class="mx-auto" style="width: 200px;">
    -  Centered element
    -</div>
    -

    Negative margin

    -

    In CSS, margin properties can utilize negative values (padding cannot). These negative margins are disabled by default, but can be enabled in Sass by setting $enable-negative-margins: true.

    -

    The syntax is nearly the same as the default, positive margin utilities, but with the addition of n before the requested size. Here’s an example class that’s the opposite of .mt-1:

    -
    .mt-n1 {
    -  margin-top: -0.25rem !important;
    -}
    -

    Gap

    -

    When using display: grid, you can make use of gap utilities on the parent grid container. This can save on having to add margin utilities to individual grid items (children of a display: grid container). Gap utilities are responsive by default, and are generated via our utilities API, based on the $spacers Sass map.

    -
    -
    -
    Grid item 1
    -
    Grid item 2
    -
    Grid item 3
    -
    -
    <div class="d-grid gap-3">
    -  <div class="p-2 bg-light border">Grid item 1</div>
    -  <div class="p-2 bg-light border">Grid item 2</div>
    -  <div class="p-2 bg-light border">Grid item 3</div>
    -</div>
    -

    Support includes responsive options for all of Bootstrap’s grid breakpoints, as well as six sizes from the $spacers map (05). There is no .gap-auto utility class as it’s effectively the same as .gap-0.

    -

    Sass

    -

    Maps

    -

    Spacing utilities are declared via Sass map and then generated with our utilities API.

    -
    $spacer: 1rem;
    -$spacers: (
    -  0: 0,
    -  1: $spacer * .25,
    -  2: $spacer * .5,
    -  3: $spacer,
    -  4: $spacer * 1.5,
    -  5: $spacer * 3,
    -);
    -
    -$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null);
    -
    -

    Utilities API

    -

    Spacing utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "margin": (
    -      responsive: true,
    -      property: margin,
    -      class: m,
    -      values: map-merge($spacers, (auto: auto))
    -    ),
    -    "margin-x": (
    -      responsive: true,
    -      property: margin-right margin-left,
    -      class: mx,
    -      values: map-merge($spacers, (auto: auto))
    -    ),
    -    "margin-y": (
    -      responsive: true,
    -      property: margin-top margin-bottom,
    -      class: my,
    -      values: map-merge($spacers, (auto: auto))
    -    ),
    -    "margin-top": (
    -      responsive: true,
    -      property: margin-top,
    -      class: mt,
    -      values: map-merge($spacers, (auto: auto))
    -    ),
    -    "margin-end": (
    -      responsive: true,
    -      property: margin-right,
    -      class: me,
    -      values: map-merge($spacers, (auto: auto))
    -    ),
    -    "margin-bottom": (
    -      responsive: true,
    -      property: margin-bottom,
    -      class: mb,
    -      values: map-merge($spacers, (auto: auto))
    -    ),
    -    "margin-start": (
    -      responsive: true,
    -      property: margin-left,
    -      class: ms,
    -      values: map-merge($spacers, (auto: auto))
    -    ),
    -    // Negative margin utilities
    -    "negative-margin": (
    -      responsive: true,
    -      property: margin,
    -      class: m,
    -      values: $negative-spacers
    -    ),
    -    "negative-margin-x": (
    -      responsive: true,
    -      property: margin-right margin-left,
    -      class: mx,
    -      values: $negative-spacers
    -    ),
    -    "negative-margin-y": (
    -      responsive: true,
    -      property: margin-top margin-bottom,
    -      class: my,
    -      values: $negative-spacers
    -    ),
    -    "negative-margin-top": (
    -      responsive: true,
    -      property: margin-top,
    -      class: mt,
    -      values: $negative-spacers
    -    ),
    -    "negative-margin-end": (
    -      responsive: true,
    -      property: margin-right,
    -      class: me,
    -      values: $negative-spacers
    -    ),
    -    "negative-margin-bottom": (
    -      responsive: true,
    -      property: margin-bottom,
    -      class: mb,
    -      values: $negative-spacers
    -    ),
    -    "negative-margin-start": (
    -      responsive: true,
    -      property: margin-left,
    -      class: ms,
    -      values: $negative-spacers
    -    ),
    -    // Padding utilities
    -    "padding": (
    -      responsive: true,
    -      property: padding,
    -      class: p,
    -      values: $spacers
    -    ),
    -    "padding-x": (
    -      responsive: true,
    -      property: padding-right padding-left,
    -      class: px,
    -      values: $spacers
    -    ),
    -    "padding-y": (
    -      responsive: true,
    -      property: padding-top padding-bottom,
    -      class: py,
    -      values: $spacers
    -    ),
    -    "padding-top": (
    -      responsive: true,
    -      property: padding-top,
    -      class: pt,
    -      values: $spacers
    -    ),
    -    "padding-end": (
    -      responsive: true,
    -      property: padding-right,
    -      class: pe,
    -      values: $spacers
    -    ),
    -    "padding-bottom": (
    -      responsive: true,
    -      property: padding-bottom,
    -      class: pb,
    -      values: $spacers
    -    ),
    -    "padding-start": (
    -      responsive: true,
    -      property: padding-left,
    -      class: ps,
    -      values: $spacers
    -    ),
    -    
    -
    -
  • -
    - + + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/text/index.html b/utilities/text/index.html index 7c87411..9f116b1 100644 --- a/utilities/text/index.html +++ b/utilities/text/index.html @@ -1,714 +1,2875 @@ - - - - - - - - - - - - - - - -Text · Bootstrap v5.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + Text · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    + +

    Text

    +
    +

    + Documentation and examples for common text utilities to control + alignment, wrapping, weight, and more. +

    - -
  • -
  • - - Migration - -
  • - - - - -
    -
    -
    - View on GitHub -

    Text

    + -

    Documentation and examples for common text utilities to control alignment, wrapping, weight, and more.

    - -
    - - -
    - On this page - +
    +

    + Text alignment + +

    +

    + Easily realign text to components with text alignment classes. For + start, end, and center alignment, responsive classes are available + that use the same viewport width breakpoints as the grid system. +

    +
    +
    +

    + Start aligned text on all viewport sizes. +

    +

    + Center aligned text on all viewport sizes. +

    +

    End aligned text on all viewport sizes.

    + +

    + Start aligned text on viewports sized SM (small) or wider. +

    +

    + Start aligned text on viewports sized MD (medium) or wider. +

    +

    + Start aligned text on viewports sized LG (large) or wider. +

    +

    + Start aligned text on viewports sized XL (extra-large) or wider. +

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="text-start">Start aligned text on all viewport sizes.</p>
    +<p class="text-center">Center aligned text on all viewport sizes.</p>
    +<p class="text-end">End aligned text on all viewport sizes.</p>
    +
    +<p class="text-sm-start">Start aligned text on viewports sized SM (small) or wider.</p>
    +<p class="text-md-start">Start aligned text on viewports sized MD (medium) or wider.</p>
    +<p class="text-lg-start">Start aligned text on viewports sized LG (large) or wider.</p>
    +<p class="text-xl-start">Start aligned text on viewports sized XL (extra-large) or wider.</p>
    +
    +
    + +
    + Note that we don’t provide utility classes for justified text. + While, aesthetically, justified text might look more appealing, it + does make word-spacing more random and therefore harder to read. +
    + +

    + Text wrapping and overflow + +

    +

    Wrap text with a .text-wrap class.

    +
    +
    +
    + This text should wrap. +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="badge bg-primary text-wrap" style="width: 6rem;">
    +  This text should wrap.
    +</div>
    +
    +
    + +

    + Prevent text from wrapping with a .text-nowrap class. +

    +
    +
    +
    + This text should overflow the parent. +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="text-nowrap bg-body-secondary border" style="width: 8rem;">
    +  This text should overflow the parent.
    +</div>
    +
    +
    + +

    + Word break + +

    +

    + Prevent long strings of text from breaking your components’ + layout by using .text-break to set + word-wrap: break-word and + word-break: break-word. We use + word-wrap instead of the more common + overflow-wrap for wider browser support, and add the + deprecated word-break: break-word to avoid issues with + flex containers. +

    +
    +
    +

    + mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm +

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="text-break">mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
    +
    +
    + +
    + Note that + breaking words isn’t possible in Arabic, which is the most used RTL language. Therefore + .text-break is removed from our RTL compiled CSS. +
    + +

    + Text transform + +

    +

    Transform text in components with text capitalization classes.

    +
    +
    +

    Lowercased text.

    +

    Uppercased text.

    +

    CapiTaliZed text.

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="text-lowercase">Lowercased text.</p>
    +<p class="text-uppercase">Uppercased text.</p>
    +<p class="text-capitalize">CapiTaliZed text.</p>
    +
    +
    + +

    + Note how .text-capitalize only changes the first letter + of each word, leaving the case of any other letters unaffected. +

    +

    + Font size + +

    +

    + Quickly change the font-size of text. While our heading + classes (e.g., .h1.h6) apply + font-size, font-weight, and + line-height, these utilities only apply + font-size. Sizing for these utilities matches + HTML’s heading elements, so as the number increases, their + size decreases. +

    +
    +
    +

    .fs-1 text

    +

    .fs-2 text

    +

    .fs-3 text

    +

    .fs-4 text

    +

    .fs-5 text

    +

    .fs-6 text

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="fs-1">.fs-1 text</p>
    +<p class="fs-2">.fs-2 text</p>
    +<p class="fs-3">.fs-3 text</p>
    +<p class="fs-4">.fs-4 text</p>
    +<p class="fs-5">.fs-5 text</p>
    +<p class="fs-6">.fs-6 text</p>
    +
    +
    + +

    + Customize your available font-sizes by modifying the + $font-sizes Sass map. +

    +

    + Font weight and italics + +

    +

    + Quickly change the font-weight or + font-style of text with these utilities. + font-style utilities are abbreviated as + .fst-* and font-weight utilities are + abbreviated as .fw-*. +

    +
    +
    +

    Bold text.

    +

    + Bolder weight text (relative to the parent element). +

    +

    Semibold weight text.

    +

    Medium weight text.

    +

    Normal weight text.

    +

    Light weight text.

    +

    + Lighter weight text (relative to the parent element). +

    +

    Italic text.

    +

    Text with normal font style

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="fw-bold">Bold text.</p>
    +<p class="fw-bolder">Bolder weight text (relative to the parent element).</p>
    +<p class="fw-semibold">Semibold weight text.</p>
    +<p class="fw-medium">Medium weight text.</p>
    +<p class="fw-normal">Normal weight text.</p>
    +<p class="fw-light">Light weight text.</p>
    +<p class="fw-lighter">Lighter weight text (relative to the parent element).</p>
    +<p class="fst-italic">Italic text.</p>
    +<p class="fst-normal">Text with normal font style</p>
    +
    +
    + +

    + Line height + +

    +

    Change the line height with .lh-* utilities.

    +
    +
    +

    + This is a long paragraph written to show how the line-height of + an element is affected by our utilities. Classes are applied to + the element itself or sometimes the parent element. These + classes can be customized as needed with our utility API. +

    +

    + This is a long paragraph written to show how the line-height of + an element is affected by our utilities. Classes are applied to + the element itself or sometimes the parent element. These + classes can be customized as needed with our utility API. +

    +

    + This is a long paragraph written to show how the line-height of + an element is affected by our utilities. Classes are applied to + the element itself or sometimes the parent element. These + classes can be customized as needed with our utility API. +

    +

    + This is a long paragraph written to show how the line-height of + an element is affected by our utilities. Classes are applied to + the element itself or sometimes the parent element. These + classes can be customized as needed with our utility API. +

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="lh-1">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
    +<p class="lh-sm">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
    +<p class="lh-base">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
    +<p class="lh-lg">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
    +
    +
    + +

    + Monospace + +

    +

    + Change a selection to our monospace font stack with + .font-monospace. +

    +
    +
    +

    This is in monospace

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="font-monospace">This is in monospace</p>
    +
    +
    + +

    + Reset color + +

    +

    + Reset a text or link’s color with .text-reset, so + that it inherits the color from its parent. +

    +
    +
    +

    + Muted text with a reset link. +

    +
    +
    + html +
    + + +
    +
    +
    +
    <p class="text-body-secondary">
    +  Muted text with a <a href="#" class="text-reset">reset link</a>.
    +</p>
    +
    +
    + +

    + Text decoration + +

    +

    Decorate text in components with text decoration classes.

    +
    +
    +

    + This text has a line underneath it. +

    +

    + This text has a line going through it. +

    + This link has its text decoration removed +
    +
    + html +
    + + +
    +
    +
    +
    <p class="text-decoration-underline">This text has a line underneath it.</p>
    +<p class="text-decoration-line-through">This text has a line going through it.</p>
    +<a href="#" class="text-decoration-none">This link has its text decoration removed</a>
    +
    +
    + +

    + CSS + +

    +

    + Sass variables + +

    +

    Default type and font related Sass variables:

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    // stylelint-disable value-keyword-case
    +$font-family-sans-serif:      system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    +$font-family-monospace:       SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    +// stylelint-enable value-keyword-case
    +$font-family-base:            var(--#{$prefix}font-sans-serif);
    +$font-family-code:            var(--#{$prefix}font-monospace);
    +
    +// $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
    +// $font-size-base affects the font size of the body text
    +$font-size-root:              null;
    +$font-size-base:              1rem; // Assumes the browser default, typically `16px`
    +$font-size-sm:                $font-size-base * .875;
    +$font-size-lg:                $font-size-base * 1.25;
    +
    +$font-weight-lighter:         lighter;
    +$font-weight-light:           300;
    +$font-weight-normal:          400;
    +$font-weight-medium:          500;
    +$font-weight-semibold:        600;
    +$font-weight-bold:            700;
    +$font-weight-bolder:          bolder;
    +
    +$font-weight-base:            $font-weight-normal;
    +
    +$line-height-base:            1.5;
    +$line-height-sm:              1.25;
    +$line-height-lg:              2;
    +
    +$h1-font-size:                $font-size-base * 2.5;
    +$h2-font-size:                $font-size-base * 2;
    +$h3-font-size:                $font-size-base * 1.75;
    +$h4-font-size:                $font-size-base * 1.5;
    +$h5-font-size:                $font-size-base * 1.25;
    +$h6-font-size:                $font-size-base;
    +
    +
    +
    +

    + Sass maps + +

    +

    + Font-size utilities are generated from this map, in combination with + our utilities API. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $font-sizes: (
    +  1: $h1-font-size,
    +  2: $h2-font-size,
    +  3: $h3-font-size,
    +  4: $h4-font-size,
    +  5: $h5-font-size,
    +  6: $h6-font-size
    +);
    +
    +
    +
    +
    +
    + scss/_maps.scss +
    + +
    +
    +
    +
    $theme-colors-text: (
    +  "primary": $primary-text-emphasis,
    +  "secondary": $secondary-text-emphasis,
    +  "success": $success-text-emphasis,
    +  "info": $info-text-emphasis,
    +  "warning": $warning-text-emphasis,
    +  "danger": $danger-text-emphasis,
    +  "light": $light-text-emphasis,
    +  "dark": $dark-text-emphasis,
    +);
    +
    +
    +
    +

    + Utilities API + +

    +

    + Font and text utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "font-family": (
    +  property: font-family,
    +  class: font,
    +  values: (monospace: var(--#{$prefix}font-monospace))
    +),
    +"font-size": (
    +  rfs: true,
    +  property: font-size,
    +  class: fs,
    +  values: $font-sizes
    +),
    +"font-style": (
    +  property: font-style,
    +  class: fst,
    +  values: italic normal
    +),
    +"font-weight": (
    +  property: font-weight,
    +  class: fw,
    +  values: (
    +    lighter: $font-weight-lighter,
    +    light: $font-weight-light,
    +    normal: $font-weight-normal,
    +    medium: $font-weight-medium,
    +    semibold: $font-weight-semibold,
    +    bold: $font-weight-bold,
    +    bolder: $font-weight-bolder
    +  )
    +),
    +"line-height": (
    +  property: line-height,
    +  class: lh,
    +  values: (
    +    1: 1,
    +    sm: $line-height-sm,
    +    base: $line-height-base,
    +    lg: $line-height-lg,
    +  )
    +),
    +"text-align": (
    +  responsive: true,
    +  property: text-align,
    +  class: text,
    +  values: (
    +    start: left,
    +    end: right,
    +    center: center,
    +  )
    +),
    +"text-decoration": (
    +  property: text-decoration,
    +  values: none underline line-through
    +),
    +"text-transform": (
    +  property: text-transform,
    +  class: text,
    +  values: lowercase uppercase capitalize
    +),
    +"white-space": (
    +  property: white-space,
    +  class: text,
    +  values: (
    +    wrap: normal,
    +    nowrap: nowrap,
    +  )
    +),
    +"word-wrap": (
    +  property: word-wrap word-break,
    +  class: text,
    +  values: (break: break-word),
    +  rtl: false
    +),
    +
    +
    +
    +
    - -
    - - -

    Text alignment

    -

    Easily realign text to components with text alignment classes. For start, end, and center alignment, responsive classes are available that use the same viewport width breakpoints as the grid system.

    -
    -

    Start aligned text on all viewport sizes.

    -

    Center aligned text on all viewport sizes.

    -

    End aligned text on all viewport sizes.

    - -

    Start aligned text on viewports sized SM (small) or wider.

    -

    Start aligned text on viewports sized MD (medium) or wider.

    -

    Start aligned text on viewports sized LG (large) or wider.

    -

    Start aligned text on viewports sized XL (extra-large) or wider.

    -
    <p class="text-start">Start aligned text on all viewport sizes.</p>
    -<p class="text-center">Center aligned text on all viewport sizes.</p>
    -<p class="text-end">End aligned text on all viewport sizes.</p>
    -
    -<p class="text-sm-start">Start aligned text on viewports sized SM (small) or wider.</p>
    -<p class="text-md-start">Start aligned text on viewports sized MD (medium) or wider.</p>
    -<p class="text-lg-start">Start aligned text on viewports sized LG (large) or wider.</p>
    -<p class="text-xl-start">Start aligned text on viewports sized XL (extra-large) or wider.</p>
    -
    -Note that we don’t provide utility classes for justified text. While, aesthetically, justified text might look more appealing, it does make word-spacing more random and therefore harder to read. -
    - -

    Text wrapping and overflow

    -

    Wrap text with a .text-wrap class.

    -
    -
    - This text should wrap. -
    -
    <div class="badge bg-primary text-wrap" style="width: 6rem;">
    -  This text should wrap.
    -</div>
    -

    Prevent text from wrapping with a .text-nowrap class.

    -
    -
    - This text should overflow the parent. -
    -
    <div class="text-nowrap bd-highlight" style="width: 8rem;">
    -  This text should overflow the parent.
    -</div>
    -

    Word break

    -

    Prevent long strings of text from breaking your components' layout by using .text-break to set word-wrap: break-word and word-break: break-word. We use word-wrap instead of the more common overflow-wrap for wider browser support, and add the deprecated word-break: break-word to avoid issues with flex containers.

    -
    -

    mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

    -
    <p class="text-break">mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
    -
    -Note that breaking words isn’t possible in Arabic, which is the most used RTL language. Therefore .text-break is removed from our RTL compiled CSS. -
    - -

    Text transform

    -

    Transform text in components with text capitalization classes.

    -
    -

    Lowercased text.

    -

    Uppercased text.

    -

    CapiTaliZed text.

    -
    <p class="text-lowercase">Lowercased text.</p>
    -<p class="text-uppercase">Uppercased text.</p>
    -<p class="text-capitalize">CapiTaliZed text.</p>
    -

    Note how .text-capitalize only changes the first letter of each word, leaving the case of any other letters unaffected.

    -

    Font size

    -

    Quickly change the font-size of text. While our heading classes (e.g., .h1.h6) apply font-size, font-weight, and line-height, these utilities only apply font-size. Sizing for these utilities matches HTML’s heading elements, so as the number increases, their size decreases.

    -
    -

    .fs-1 text

    -

    .fs-2 text

    -

    .fs-3 text

    -

    .fs-4 text

    -

    .fs-5 text

    -

    .fs-6 text

    -
    <p class="fs-1">.fs-1 text</p>
    -<p class="fs-2">.fs-2 text</p>
    -<p class="fs-3">.fs-3 text</p>
    -<p class="fs-4">.fs-4 text</p>
    -<p class="fs-5">.fs-5 text</p>
    -<p class="fs-6">.fs-6 text</p>
    -

    Customize your available font-sizes by modifying the $font-sizes Sass map.

    -

    Font weight and italics

    -

    Quickly change the font-weight or font-style of text with these utilities. font-style utilities are abbreviated as .fst-* and font-weight utilities are abbreviated as .fw-*.

    -
    -

    Bold text.

    -

    Bolder weight text (relative to the parent element).

    -

    Normal weight text.

    -

    Light weight text.

    -

    Lighter weight text (relative to the parent element).

    -

    Italic text.

    -

    Text with normal font style

    -
    <p class="fw-bold">Bold text.</p>
    -<p class="fw-bolder">Bolder weight text (relative to the parent element).</p>
    -<p class="fw-normal">Normal weight text.</p>
    -<p class="fw-light">Light weight text.</p>
    -<p class="fw-lighter">Lighter weight text (relative to the parent element).</p>
    -<p class="fst-italic">Italic text.</p>
    -<p class="fst-normal">Text with normal font style</p>
    -

    Line height

    -

    Change the line height with .lh-* utilities.

    -
    -

    This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.

    -

    This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.

    -

    This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.

    -

    This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.

    -
    <p class="lh-1">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
    -<p class="lh-sm">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
    -<p class="lh-base">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
    -<p class="lh-lg">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
    -

    Monospace

    -

    Change a selection to our monospace font stack with .font-monospace.

    -
    -

    This is in monospace

    -
    <p class="font-monospace">This is in monospace</p>
    -

    Reset color

    -

    Reset a text or link’s color with .text-reset, so that it inherits the color from its parent.

    -
    -

    - Muted text with a reset link. -

    -
    <p class="text-muted">
    -  Muted text with a <a href="#" class="text-reset">reset link</a>.
    -</p>
    -

    Text decoration

    -

    Decorate text in components with text decoration classes.

    -
    -

    This text has a line underneath it.

    -

    This text has a line going through it.

    -This link has its text decoration removed -
    <p class="text-decoration-underline">This text has a line underneath it.</p>
    -<p class="text-decoration-line-through">This text has a line going through it.</p>
    -<a href="#" class="text-decoration-none">This link has its text decoration removed</a>
    -

    Sass

    -

    Variables

    -
    // stylelint-disable value-keyword-case
    -$font-family-sans-serif:      system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    -$font-family-monospace:       SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    -// stylelint-enable value-keyword-case
    -$font-family-base:            var(--#{$variable-prefix}font-sans-serif);
    -$font-family-code:            var(--#{$variable-prefix}font-monospace);
    -
    -// $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
    -// $font-size-base affects the font size of the body text
    -$font-size-root:              null;
    -$font-size-base:              1rem; // Assumes the browser default, typically `16px`
    -$font-size-sm:                $font-size-base * .875;
    -$font-size-lg:                $font-size-base * 1.25;
    -
    -$font-weight-lighter:         lighter;
    -$font-weight-light:           300;
    -$font-weight-normal:          400;
    -$font-weight-bold:            700;
    -$font-weight-bolder:          bolder;
    -
    -$font-weight-base:            $font-weight-normal;
    -
    -$line-height-base:            1.5;
    -$line-height-sm:              1.25;
    -$line-height-lg:              2;
    -
    -$h1-font-size:                $font-size-base * 2.5;
    -$h2-font-size:                $font-size-base * 2;
    -$h3-font-size:                $font-size-base * 1.75;
    -$h4-font-size:                $font-size-base * 1.5;
    -$h5-font-size:                $font-size-base * 1.25;
    -$h6-font-size:                $font-size-base;
    -
    -

    Maps

    -

    Font-size utilities are generated from this map, in combination with our utilities API.

    -
    $font-sizes: (
    -  1: $h1-font-size,
    -  2: $h2-font-size,
    -  3: $h3-font-size,
    -  4: $h4-font-size,
    -  5: $h5-font-size,
    -  6: $h6-font-size
    -);
    -
    -

    Utilities API

    -

    Font and text utilities are declared in our utilities API in scss/_utilities.scss. Learn how to use the utilities API.

    -
        "font-family": (
    -      property: font-family,
    -      class: font,
    -      values: (monospace: var(--#{$variable-prefix}font-monospace))
    -    ),
    -    "font-size": (
    -      rfs: true,
    -      property: font-size,
    -      class: fs,
    -      values: $font-sizes
    -    ),
    -    "font-style": (
    -      property: font-style,
    -      class: fst,
    -      values: italic normal
    -    ),
    -    "font-weight": (
    -      property: font-weight,
    -      class: fw,
    -      values: (
    -        light: $font-weight-light,
    -        lighter: $font-weight-lighter,
    -        normal: $font-weight-normal,
    -        bold: $font-weight-bold,
    -        bolder: $font-weight-bolder
    -      )
    -    ),
    -    "line-height": (
    -      property: line-height,
    -      class: lh,
    -      values: (
    -        1: 1,
    -        sm: $line-height-sm,
    -        base: $line-height-base,
    -        lg: $line-height-lg,
    -      )
    -    ),
    -    "text-align": (
    -      responsive: true,
    -      property: text-align,
    -      class: text,
    -      values: (
    -        start: left,
    -        end: right,
    -        center: center,
    -      )
    -    ),
    -    "text-decoration": (
    -      property: text-decoration,
    -      values: none underline line-through
    -    ),
    -    "text-transform": (
    -      property: text-transform,
    -      class: text,
    -      values: lowercase uppercase capitalize
    -    ),
    -    "white-space": (
    -      property: white-space,
    -      class: text,
    -      values: (
    -        wrap: normal,
    -        nowrap: nowrap,
    -      )
    -    ),
    -    "word-wrap": (
    -      property: word-wrap word-break,
    -      class: text,
    -      values: (break: break-word),
    -      rtl: false
    -    ),
    -    
    - +
    - + + + + + + + + + + + - - - - - - - - - - - - - - + diff --git a/utilities/vertical-align/index.html b/utilities/vertical-align/index.html index 5632bca..116e9a3 100644 --- a/utilities/vertical-align/index.html +++ b/utilities/vertical-align/index.html @@ -1,496 +1,2045 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Vertical alignment · Bootstrap v5.3 -Vertical alignment · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + +
    +
    +
    + +

    Vertical alignment

    +
    +

    + Easily change the vertical alignment of inline, inline-block, + inline-table, and table cell elements. +

    +
    + +
    +

    + Change the alignment of elements with the + vertical-alignment + utilities. Please note that vertical-align only affects inline, + inline-block, inline-table, and table cell elements. +

    +

    + Choose from .align-baseline, .align-top, + .align-middle, .align-bottom, + .align-text-bottom, and .align-text-top as + needed. +

    +

    + To vertically center non-inline content (like + <div>s and more), use our + flex box utilities. +

    +

    With inline elements:

    +
    +
    + baseline + top + middle + bottom + text-top + text-bottom +
    +
    + html +
    + + +
    +
    +
    +
    <span class="align-baseline">baseline</span>
    +<span class="align-top">top</span>
    +<span class="align-middle">middle</span>
    +<span class="align-bottom">bottom</span>
    +<span class="align-text-top">text-top</span>
    +<span class="align-text-bottom">text-bottom</span>
    +
    +
    + +

    With table cells:

    +
    +
    + + + + + + + + + + + +
    baselinetopmiddlebottomtext-toptext-bottom
    +
    +
    + html +
    + + +
    +
    +
    +
    <table style="height: 100px;">
    +  <tbody>
    +    <tr>
    +      <td class="align-baseline">baseline</td>
    +      <td class="align-top">top</td>
    +      <td class="align-middle">middle</td>
    +      <td class="align-bottom">bottom</td>
    +      <td class="align-text-top">text-top</td>
    +      <td class="align-text-bottom">text-bottom</td>
    +    </tr>
    +  </tbody>
    +</table>
    +
    +
    + +

    + Sass + +

    +

    + Utilities API + +

    +

    + Vertical align utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "align": (
    +  property: vertical-align,
    +  class: align,
    +  values: baseline top middle bottom text-bottom text-top
    +),
    +
    +
    +
    +
    - - - + + - + + - + + + + + + diff --git a/utilities/visibility/index.html b/utilities/visibility/index.html index 872f8e9..433e569 100644 --- a/utilities/visibility/index.html +++ b/utilities/visibility/index.html @@ -1,471 +1,1952 @@ - - - + + + + + + + + + + - - - - - - - + + - - + Visibility · Bootstrap v5.3 -Visibility · Bootstrap v5.1 + + - + + + - - + - + + + + + + + + - - - - - - - - + + + + + + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - +
    +
    + + + +
    +
    +
    + +

    Visibility

    +
    +

    + Control the visibility of elements, without modifying their display, + with visibility utilities. +

    +
    + +
    +

    + Set the visibility of elements with our visibility + utilities. These utility classes do not modify the + display value at all and do not affect layout – + .invisible elements still take up space in the page. +

    +
    + Elements with the .invisible class will be hidden + both visually and for assistive technology/screen reader + users. +
    + +

    + Apply .visible or .invisible as needed. +

    +
    +
    <div class="visible">...</div>
    +<div class="invisible">...</div>
    +
    +
    +
    +
    // Class
    +.visible {
    +  visibility: visible !important;
    +}
    +.invisible {
    +  visibility: hidden !important;
    +}
    +
    +
    +

    + Sass + +

    +

    + Utilities API + +

    +

    + Visibility utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "visibility": (
    +  property: visibility,
    +  class: null,
    +  values: (
    +    visible: visible,
    +    invisible: hidden,
    +  )
    +),
    +
    +
    +
    +
    - - - + + - + + - + + + + + + diff --git a/utilities/z-index/index.html b/utilities/z-index/index.html new file mode 100644 index 0000000..12d6aee --- /dev/null +++ b/utilities/z-index/index.html @@ -0,0 +1,2105 @@ + + + + + + + + + + + + + + + Z-index · Bootstrap v5.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +
    + Added in v5.3 + View on GitHub + +
    +

    Z-index

    +
    +

    + Use our low-level z-index utilities to quickly change + the stack level of an element or component. +

    +
    + +
    + + On this page +
    + +
    + +
    +

    + Example + +

    +

    + Use z-index utilities to stack elements on top of one + another. Requires a position value other than + static, which can be set with custom styles or using + our position utilities. +

    +
    + We call these “low-level” z-index utilities + because of their default values of -1 through + 3, which we use for the layout of overlapping + components. High-level z-index values are used for + overlay components like modals and tooltips. +
    + +
    +
    +
    + z-3 +
    +
    + z-2 +
    +
    + z-1 +
    +
    + z-0 +
    +
    + z-n1 +
    +
    +
    + html +
    + + +
    +
    +
    +
    <div class="z-3 position-absolute p-5 rounded-3"><span>z-3</span></div>
    +<div class="z-2 position-absolute p-5 rounded-3"><span>z-2</span></div>
    +<div class="z-1 position-absolute p-5 rounded-3"><span>z-1</span></div>
    +<div class="z-0 position-absolute p-5 rounded-3"><span>z-0</span></div>
    +<div class="z-n1 position-absolute p-5 rounded-3"><span>z-n1</span></div>
    +
    +
    + +

    + Overlays + +

    +

    + Bootstrap overlay components—dropdown, modal, offcanvas, popover, + toast, and tooltip—all have their own z-index values to + ensure a usable experience with competing “layers” of an + interface. +

    +

    + Read about them in the + z-index layout page. +

    +

    + Component approach + +

    +

    + On some components, we use our low-level z-index values + to manage repeating elements that overlap one another (like buttons + in a button group or items in a list group). +

    +

    + Learn about our + z-index approach. +

    +

    + CSS + +

    +

    + Sass map + +

    +

    + Customize this Sass map to change the available values and generated + utilities. +

    +
    +
    + scss/_variables.scss +
    + +
    +
    +
    +
    $zindex-levels: (
    +  n1: -1,
    +  0: 0,
    +  1: 1,
    +  2: 2,
    +  3: 3
    +);
    +
    +
    +
    +

    + Utilities API + +

    +

    + Position utilities are declared in our utilities API in + scss/_utilities.scss. + Learn how to use the utilities API. +

    +
    +
    + scss/_utilities.scss +
    + +
    +
    +
    +
    "z-index": (
    +  property: z-index,
    +  class: z,
    +  values: $zindex-levels,
    +)
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + From cb852319b610172f642206d799da383fab9150e5 Mon Sep 17 00:00:00 2001 From: Believe Mataga Date: Tue, 16 May 2023 10:20:55 +0200 Subject: [PATCH 2/2] Update ReadMe.md Update ReadMe --- ReadMe.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 4fc6376..0fb4430 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -1,8 +1,8 @@ -# Download Bootstrap from 4.4 - 5.1 Offline Documentation +# Download Bootstrap from 4.4 - 5.3 Offline Documentation #### Bootstrap5 offline documentation -#### Size : 4mb (max) +#### Size : 4.52mb (max) Please dont forget to star this project it if you find it helpful

    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 LNkvXXu0mjf$PE)1 diff --git a/assets/brand/bootstrap-social.png b/assets/brand/bootstrap-social.png deleted file mode 100644 index c7adc6f85b8ccb08dd566881bf55b2de6e682283..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 54961 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 diff --git a/assets/cdn.jsdelivr.net/npm/@docsearch/css@3.css b/assets/cdn.jsdelivr.net/npm/@docsearch/css@3.css new file mode 100644 index 0000000..923d59e --- /dev/null +++ b/assets/cdn.jsdelivr.net/npm/@docsearch/css@3.css @@ -0,0 +1,8 @@ +/** + * Skipped minification because the original files appears to be already minified. + * Original file: /npm/@docsearch/css@3.3.4/dist/style.css + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +/*! @docsearch/css 3.3.4 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */ +:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,0.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,0.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,0.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,0.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,0.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,0.3);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,0.5),0 -4px 8px 0 rgba(0,0,0,0.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}} \ No newline at end of file diff --git a/assets/cdn.jsdelivr.net/npm/@popperjs/core@2.11.7/dist/umd/popper.min.js b/assets/cdn.jsdelivr.net/npm/@popperjs/core@2.11.7/dist/umd/popper.min.js new file mode 100644 index 0000000..6ca9977 --- /dev/null +++ b/assets/cdn.jsdelivr.net/npm/@popperjs/core@2.11.7/dist/umd/popper.min.js @@ -0,0 +1,6 @@ +/** + * @popperjs/core v2.11.7 - MIT License + */ + +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function n(e){return e instanceof t(e).Element||e instanceof Element}function r(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var i=Math.max,a=Math.min,s=Math.round;function f(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function c(){return!/^((?!chrome|android).)*safari/i.test(f())}function p(e,o,i){void 0===o&&(o=!1),void 0===i&&(i=!1);var a=e.getBoundingClientRect(),f=1,p=1;o&&r(e)&&(f=e.offsetWidth>0&&s(a.width)/e.offsetWidth||1,p=e.offsetHeight>0&&s(a.height)/e.offsetHeight||1);var u=(n(e)?t(e):window).visualViewport,l=!c()&&i,d=(a.left+(l&&u?u.offsetLeft:0))/f,h=(a.top+(l&&u?u.offsetTop:0))/p,m=a.width/f,v=a.height/p;return{width:m,height:v,top:h,right:d+m,bottom:h+v,left:d,x:d,y:h}}function u(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function l(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){return((n(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return p(d(e)).left+u(e).scrollLeft}function m(e){return t(e).getComputedStyle(e)}function v(e){var t=m(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function y(e,n,o){void 0===o&&(o=!1);var i,a,f=r(n),c=r(n)&&function(e){var t=e.getBoundingClientRect(),n=s(t.width)/e.offsetWidth||1,r=s(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(n),m=d(n),y=p(e,c,o),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(f||!f&&!o)&&(("body"!==l(n)||v(m))&&(g=(i=n)!==t(i)&&r(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:u(i)),r(n)?((b=p(n,!0)).x+=n.clientLeft,b.y+=n.clientTop):m&&(b.x=h(m))),{x:y.left+g.scrollLeft-b.x,y:y.top+g.scrollTop-b.y,width:y.width,height:y.height}}function g(e){var t=p(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function b(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||d(e)}function x(e){return["html","body","#document"].indexOf(l(e))>=0?e.ownerDocument.body:r(e)&&v(e)?e:x(b(e))}function w(e,n){var r;void 0===n&&(n=[]);var o=x(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=t(o),s=i?[a].concat(a.visualViewport||[],v(o)?o:[]):o,f=n.concat(s);return i?f:f.concat(w(b(s)))}function O(e){return["table","td","th"].indexOf(l(e))>=0}function j(e){return r(e)&&"fixed"!==m(e).position?e.offsetParent:null}function E(e){for(var n=t(e),i=j(e);i&&O(i)&&"static"===m(i).position;)i=j(i);return i&&("html"===l(i)||"body"===l(i)&&"static"===m(i).position)?n:i||function(e){var t=/firefox/i.test(f());if(/Trident/i.test(f())&&r(e)&&"fixed"===m(e).position)return null;var n=b(e);for(o(n)&&(n=n.host);r(n)&&["html","body"].indexOf(l(n))<0;){var i=m(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||n}var D="top",A="bottom",L="right",P="left",M="auto",k=[D,A,L,P],W="start",B="end",H="viewport",T="popper",R=k.reduce((function(e,t){return e.concat([t+"-"+W,t+"-"+B])}),[]),S=[].concat(k,[M]).reduce((function(e,t){return e.concat([t,t+"-"+W,t+"-"+B])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function C(e){return e.split("-")[0]}function N(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&o(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function I(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _(e,r,o){return r===H?I(function(e,n){var r=t(e),o=d(e),i=r.visualViewport,a=o.clientWidth,s=o.clientHeight,f=0,p=0;if(i){a=i.width,s=i.height;var u=c();(u||!u&&"fixed"===n)&&(f=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:f+h(e),y:p}}(e,o)):n(r)?function(e,t){var n=p(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(r,o):I(function(e){var t,n=d(e),r=u(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=i(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=i(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),f=-r.scrollLeft+h(e),c=-r.scrollTop;return"rtl"===m(o||n).direction&&(f+=i(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:f,y:c}}(d(e)))}function F(e,t,o,s){var f="clippingParents"===t?function(e){var t=w(b(e)),o=["absolute","fixed"].indexOf(m(e).position)>=0&&r(e)?E(e):e;return n(o)?t.filter((function(e){return n(e)&&N(e,o)&&"body"!==l(e)})):[]}(e):[].concat(t),c=[].concat(f,[o]),p=c[0],u=c.reduce((function(t,n){var r=_(e,n,s);return t.top=i(r.top,t.top),t.right=a(r.right,t.right),t.bottom=a(r.bottom,t.bottom),t.left=i(r.left,t.left),t}),_(e,p,s));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function U(e){return e.split("-")[1]}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?C(o):null,a=o?U(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case D:t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case L:t={x:n.x+n.width,y:f};break;case P:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?z(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case W:t[c]=t[c]-(n[p]/2-r[p]/2);break;case B:t[c]=t[c]+(n[p]/2-r[p]/2)}}return t}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function J(e,t){void 0===t&&(t={});var r=t,o=r.placement,i=void 0===o?e.placement:o,a=r.strategy,s=void 0===a?e.strategy:a,f=r.boundary,c=void 0===f?"clippingParents":f,u=r.rootBoundary,l=void 0===u?H:u,h=r.elementContext,m=void 0===h?T:h,v=r.altBoundary,y=void 0!==v&&v,g=r.padding,b=void 0===g?0:g,x=Y("number"!=typeof b?b:G(b,k)),w=m===T?"reference":T,O=e.rects.popper,j=e.elements[y?w:m],E=F(n(j)?j:j.contextElement||d(e.elements.popper),c,l,s),P=p(e.elements.reference),M=X({reference:P,element:O,strategy:"absolute",placement:i}),W=I(Object.assign({},O,M)),B=m===T?W:P,R={top:E.top-B.top+x.top,bottom:B.bottom-E.bottom+x.bottom,left:E.left-B.left+x.left,right:B.right-E.right+x.right},S=e.modifiersData.offset;if(m===T&&S){var V=S[i];Object.keys(R).forEach((function(e){var t=[L,A].indexOf(e)>=0?1:-1,n=[D,A].indexOf(e)>=0?"y":"x";R[e]+=V[n]*t}))}return R}var K={placement:"bottom",modifiers:[],strategy:"absolute"};function Q(){for(var e=arguments.length,t=new Array(e),n=0;n=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[P,L].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},se={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var ce={start:"end",end:"start"};function pe(e){return e.replace(/start|end/g,(function(e){return ce[e]}))}function ue(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?S:f,p=U(r),u=p?s?R:R.filter((function(e){return U(e)===p})):k,l=u.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=u);var d=l.reduce((function(t,n){return t[n]=J(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[C(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var le={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,v=t.options.placement,y=C(v),g=f||(y===v||!h?[fe(v)]:function(e){if(C(e)===M)return[];var t=fe(e);return[pe(e),t,pe(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat(C(n)===M?ue(t,{placement:n,boundary:p,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,O=new Map,j=!0,E=b[0],k=0;k=0,S=R?"width":"height",V=J(t,{placement:B,boundary:p,rootBoundary:u,altBoundary:l,padding:c}),q=R?T?L:P:T?A:D;x[S]>w[S]&&(q=fe(q));var N=fe(q),I=[];if(i&&I.push(V[H]<=0),s&&I.push(V[q]<=0,V[N]<=0),I.every((function(e){return e}))){E=B,j=!1;break}O.set(B,I)}if(j)for(var _=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},F=h?3:1;F>0;F--){if("break"===_(F))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function de(e,t,n){return i(e,a(t,n))}var he={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=void 0===o||o,f=n.altAxis,c=void 0!==f&&f,p=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,v=n.tetherOffset,y=void 0===v?0:v,b=J(t,{boundary:p,rootBoundary:u,padding:d,altBoundary:l}),x=C(t.placement),w=U(t.placement),O=!w,j=z(x),M="x"===j?"y":"x",k=t.modifiersData.popperOffsets,B=t.rects.reference,H=t.rects.popper,T="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,R="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(k){if(s){var q,N="y"===j?D:P,I="y"===j?A:L,_="y"===j?"height":"width",F=k[j],X=F+b[N],Y=F-b[I],G=m?-H[_]/2:0,K=w===W?B[_]:H[_],Q=w===W?-H[_]:-B[_],Z=t.elements.arrow,$=m&&Z?g(Z):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[N],ne=ee[I],re=de(0,B[_],$[_]),oe=O?B[_]/2-G-re-te-R.mainAxis:K-re-te-R.mainAxis,ie=O?-B[_]/2+G+re+ne+R.mainAxis:Q+re+ne+R.mainAxis,ae=t.elements.arrow&&E(t.elements.arrow),se=ae?"y"===j?ae.clientTop||0:ae.clientLeft||0:0,fe=null!=(q=null==S?void 0:S[j])?q:0,ce=F+ie-fe,pe=de(m?a(X,F+oe-fe-se):X,F,m?i(Y,ce):Y);k[j]=pe,V[j]=pe-F}if(c){var ue,le="x"===j?D:P,he="x"===j?A:L,me=k[M],ve="y"===M?"height":"width",ye=me+b[le],ge=me-b[he],be=-1!==[D,P].indexOf(x),xe=null!=(ue=null==S?void 0:S[M])?ue:0,we=be?ye:me-B[ve]-H[ve]-xe+R.altAxis,Oe=be?me+B[ve]+H[ve]-xe-R.altAxis:ge,je=m&&be?function(e,t,n){var r=de(e,t,n);return r>n?n:r}(we,me,Oe):de(m?we:ye,me,m?Oe:ge);k[M]=je,V[M]=je-me}t.modifiersData[r]=V}},requiresIfExists:["offset"]};var me={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=C(n.placement),f=z(s),c=[P,L].indexOf(s)>=0?"height":"width";if(i&&a){var p=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,k))}(o.padding,n),u=g(i),l="y"===f?D:P,d="y"===f?A:L,h=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],m=a[f]-n.rects.reference[f],v=E(i),y=v?"y"===f?v.clientHeight||0:v.clientWidth||0:0,b=h/2-m/2,x=p[l],w=y-u[c]-p[d],O=y/2-u[c]/2+b,j=de(x,O,w),M=f;n.modifiersData[r]=((t={})[M]=j,t.centerOffset=j-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&N(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ve(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ye(e){return[D,L,A,P].some((function(t){return e[t]>=0}))}var ge={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=J(t,{elementContext:"reference"}),s=J(t,{altBoundary:!0}),f=ve(a,r),c=ve(s,o,i),p=ye(f),u=ye(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}},be=Z({defaultModifiers:[ee,te,oe,ie]}),xe=[ee,te,oe,ie,ae,le,he,me,ge],we=Z({defaultModifiers:xe});e.applyStyles=ie,e.arrow=me,e.computeStyles=oe,e.createPopper=we,e.createPopperLite=be,e.defaultModifiers=xe,e.detectOverflow=J,e.eventListeners=ee,e.flip=le,e.hide=ge,e.offset=ae,e.popperGenerator=Z,e.popperOffsets=te,e.preventOverflow=he,Object.defineProperty(e,"__esModule",{value:!0})})); +//# sourceMappingURL=popper.min.js.map diff --git a/assets/cdn.jsdelivr.net/npm/@stackblitz/sdk@1/bundles/sdk.umd.js b/assets/cdn.jsdelivr.net/npm/@stackblitz/sdk@1/bundles/sdk.umd.js new file mode 100644 index 0000000..dda04e5 --- /dev/null +++ b/assets/cdn.jsdelivr.net/npm/@stackblitz/sdk@1/bundles/sdk.umd.js @@ -0,0 +1,520 @@ +(function(global, factory) { + typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, global.StackBlitzSDK = factory()); +})(this, function() { + "use strict"; + const CONNECT_INTERVAL = 500; + const CONNECT_MAX_ATTEMPTS = 20; + const DEFAULT_FRAME_HEIGHT = 300; + const DEFAULT_ORIGIN = "https://stackblitz.com"; + const PROJECT_TEMPLATES = [ + "angular-cli", + "create-react-app", + "html", + "javascript", + "node", + "polymer", + "typescript", + "vue" + ]; + const UI_SIDEBAR_VIEWS = ["project", "search", "ports", "settings"]; + const UI_THEMES = ["light", "dark"]; + const UI_VIEWS = ["editor", "preview"]; + const generators = { + clickToLoad: (value) => trueParam("ctl", value), + devToolsHeight: (value) => percentParam("devtoolsheight", value), + forceEmbedLayout: (value) => trueParam("embed", value), + hideDevTools: (value) => trueParam("hidedevtools", value), + hideExplorer: (value) => trueParam("hideExplorer", value), + hideNavigation: (value) => trueParam("hideNavigation", value), + openFile: (value) => stringParams("file", value), + showSidebar: (value) => booleanParam("showSidebar", value), + sidebarView: (value) => enumParam("sidebarView", value, UI_SIDEBAR_VIEWS), + startScript: (value) => stringParams("startScript", value), + terminalHeight: (value) => percentParam("terminalHeight", value), + theme: (value) => enumParam("theme", value, UI_THEMES), + view: (value) => enumParam("view", value, UI_VIEWS), + zenMode: (value) => trueParam("zenMode", value) + }; + function buildParams(options = {}) { + const params = Object.entries(options).map(([key, value]) => { + if (value != null && generators.hasOwnProperty(key)) { + return generators[key](value); + } + return ""; + }).filter(Boolean); + return params.length ? `?${params.join("&")}` : ""; + } + function trueParam(name, value) { + if (value === true) { + return `${name}=1`; + } + return ""; + } + function booleanParam(name, value) { + if (typeof value === "boolean") { + return `${name}=${value ? "1" : "0"}`; + } + return ""; + } + function percentParam(name, value) { + if (typeof value === "number" && !Number.isNaN(value)) { + const clamped = Math.min(100, Math.max(0, value)); + return `${name}=${encodeURIComponent(Math.round(clamped))}`; + } + return ""; + } + function enumParam(name, value = "", allowList = []) { + if (allowList.includes(value)) { + return `${name}=${encodeURIComponent(value)}`; + } + return ""; + } + function stringParams(name, value) { + const values = Array.isArray(value) ? value : [value]; + return values.filter((val) => typeof val === "string" && val.trim() !== "").map((val) => `${name}=${encodeURIComponent(val)}`).join("&"); + } + function genID() { + return Math.random().toString(36).slice(2, 6) + Math.random().toString(36).slice(2, 6); + } + function openUrl(route, options) { + return `${getOrigin(options)}${route}${buildParams(options)}`; + } + function embedUrl(route, options) { + const config = { + forceEmbedLayout: true + }; + if (options && typeof options === "object") { + Object.assign(config, options); + } + return `${getOrigin(config)}${route}${buildParams(config)}`; + } + function getOrigin(options = {}) { + const origin = typeof options.origin === "string" ? options.origin : DEFAULT_ORIGIN; + return origin.replace(/\/$/, ""); + } + function replaceAndEmbed(target, frame, options) { + if (!frame || !target || !target.parentNode) { + throw new Error("Invalid Element"); + } + if (target.id) { + frame.id = target.id; + } + if (target.className) { + frame.className = target.className; + } + setFrameDimensions(frame, options); + target.replaceWith(frame); + } + function findElement(elementOrId) { + if (typeof elementOrId === "string") { + const element = document.getElementById(elementOrId); + if (!element) { + throw new Error(`Could not find element with id '${elementOrId}'`); + } + return element; + } else if (elementOrId instanceof HTMLElement) { + return elementOrId; + } + throw new Error(`Invalid element: ${elementOrId}`); + } + function openTarget(options) { + return options && options.newWindow === false ? "_self" : "_blank"; + } + function setFrameDimensions(frame, options = {}) { + const height = Object.hasOwnProperty.call(options, "height") ? `${options.height}` : `${DEFAULT_FRAME_HEIGHT}`; + const width = Object.hasOwnProperty.call(options, "width") ? `${options.width}` : void 0; + frame.setAttribute("height", height); + if (width) { + frame.setAttribute("width", width); + } else { + frame.setAttribute("style", "width:100%;"); + } + } + class RDC { + constructor(port) { + this.pending = {}; + this.port = port; + this.port.onmessage = this.messageListener.bind(this); + } + request({ type, payload }) { + return new Promise((resolve, reject) => { + const id = genID(); + this.pending[id] = { resolve, reject }; + this.port.postMessage({ + type, + payload: { + ...payload, + // Ensure the payload object includes the request ID + __reqid: id + } + }); + }); + } + messageListener(event) { + if (typeof event.data.payload?.__reqid !== "string") { + return; + } + const { type, payload } = event.data; + const { __reqid: id, __success: success, __error: error } = payload; + if (this.pending[id]) { + if (success) { + this.pending[id].resolve(this.cleanResult(payload)); + } else { + this.pending[id].reject(error ? `${type}: ${error}` : type); + } + delete this.pending[id]; + } + } + cleanResult(payload) { + const result = { ...payload }; + delete result.__reqid; + delete result.__success; + delete result.__error; + return Object.keys(result).length ? result : null; + } + } + class VM { + constructor(port, config) { + this.editor = { + /** + * Open one of several files in tabs and/or split panes. + * + * @since 1.7.0 Added support for opening multiple files + */ + openFile: (path) => { + return this._rdc.request({ + type: "SDK_OPEN_FILE", + payload: { path } + }); + }, + /** + * Set a project file as the currently selected file. + * + * - This may update the highlighted file in the file explorer, + * and the currently open and/or focused editor tab. + * - It will _not_ open a new editor tab if the provided path does not + * match a currently open tab. See `vm.editor.openFile` to open files. + * + * @since 1.7.0 + * @experimental + */ + setCurrentFile: (path) => { + return this._rdc.request({ + type: "SDK_SET_CURRENT_FILE", + payload: { path } + }); + }, + /** + * Change the color theme + * + * @since 1.7.0 + */ + setTheme: (theme) => { + return this._rdc.request({ + type: "SDK_SET_UI_THEME", + payload: { theme } + }); + }, + /** + * Change the display mode of the project: + * + * - `default`: show the editor and preview pane + * - `editor`: show the editor pane only + * - `preview`: show the preview pane only + * + * @since 1.7.0 + */ + setView: (view) => { + return this._rdc.request({ + type: "SDK_SET_UI_VIEW", + payload: { view } + }); + }, + /** + * Change the display mode of the sidebar: + * + * - `true`: show the sidebar + * - `false`: hide the sidebar + * + * @since 1.7.0 + */ + showSidebar: (visible = true) => { + return this._rdc.request({ + type: "SDK_TOGGLE_SIDEBAR", + payload: { visible } + }); + } + }; + this.preview = { + /** + * The origin (protocol and domain) of the preview iframe. + * + * In WebContainers-based projects, the origin will always be `null`; + * try using `vm.preview.getUrl` instead. + * + * @see https://developer.stackblitz.com/guides/user-guide/available-environments + */ + origin: "", + /** + * Get the current preview URL. + * + * In both and EngineBlock and WebContainers-based projects, the preview URL + * may not reflect the exact path of the current page, after user navigation. + * + * In WebContainers-based projects, the preview URL will be `null` initially, + * and until the project starts a web server. + * + * @since 1.7.0 + * @experimental + */ + getUrl: () => { + return this._rdc.request({ + type: "SDK_GET_PREVIEW_URL", + payload: {} + }).then((data) => data?.url ?? null); + }, + /** + * Change the path of the preview URL. + * + * In WebContainers-based projects, this will be ignored if there is no + * currently running web server. + * + * @since 1.7.0 + * @experimental + */ + setUrl: (path = "/") => { + if (typeof path !== "string" || !path.startsWith("/")) { + throw new Error(`Invalid argument: expected a path starting with '/', got '${path}'`); + } + return this._rdc.request({ + type: "SDK_SET_PREVIEW_URL", + payload: { path } + }); + } + }; + this._rdc = new RDC(port); + Object.defineProperty(this.preview, "origin", { + value: typeof config.previewOrigin === "string" ? config.previewOrigin : null, + writable: false + }); + } + /** + * Apply batch updates to the project files in one call. + */ + applyFsDiff(diff) { + const isObject = (val) => val !== null && typeof val === "object"; + if (!isObject(diff) || !isObject(diff.create)) { + throw new Error("Invalid diff object: expected diff.create to be an object."); + } else if (!Array.isArray(diff.destroy)) { + throw new Error("Invalid diff object: expected diff.destroy to be an array."); + } + return this._rdc.request({ + type: "SDK_APPLY_FS_DIFF", + payload: diff + }); + } + /** + * Get the project’s defined dependencies. + * + * In EngineBlock projects, version numbers represent the resolved dependency versions. + * In WebContainers-based projects, returns data from the project’s `package.json` without resolving installed version numbers. + */ + getDependencies() { + return this._rdc.request({ + type: "SDK_GET_DEPS_SNAPSHOT", + payload: {} + }); + } + /** + * Get a snapshot of the project files and their content. + */ + getFsSnapshot() { + return this._rdc.request({ + type: "SDK_GET_FS_SNAPSHOT", + payload: {} + }); + } + } + const connections = []; + class Connection { + constructor(element) { + this.id = genID(); + this.element = element; + this.pending = new Promise((resolve, reject) => { + const listenForSuccess = ({ data, ports }) => { + if (data?.action === "SDK_INIT_SUCCESS" && data.id === this.id) { + this.vm = new VM(ports[0], data.payload); + resolve(this.vm); + cleanup(); + } + }; + const pingFrame = () => { + this.element.contentWindow?.postMessage( + { + action: "SDK_INIT", + id: this.id + }, + "*" + ); + }; + function cleanup() { + window.clearInterval(interval); + window.removeEventListener("message", listenForSuccess); + } + window.addEventListener("message", listenForSuccess); + pingFrame(); + let attempts = 0; + const interval = window.setInterval(() => { + if (this.vm) { + cleanup(); + return; + } + if (attempts >= CONNECT_MAX_ATTEMPTS) { + cleanup(); + reject("Timeout: Unable to establish a connection with the StackBlitz VM"); + connections.forEach((connection, index) => { + if (connection.id === this.id) { + connections.splice(index, 1); + } + }); + return; + } + attempts++; + pingFrame(); + }, CONNECT_INTERVAL); + }); + connections.push(this); + } + } + const getConnection = (identifier) => { + const key = identifier instanceof Element ? "element" : "id"; + return connections.find((c) => c[key] === identifier) ?? null; + }; + function createHiddenInput(name, value) { + const input = document.createElement("input"); + input.type = "hidden"; + input.name = name; + input.value = value; + return input; + } + function encodeFilePath(path) { + return path.replace(/\[/g, "%5B").replace(/\]/g, "%5D"); + } + function createProjectForm({ + template, + title, + description, + dependencies, + files, + settings + }) { + if (!PROJECT_TEMPLATES.includes(template)) { + const names = PROJECT_TEMPLATES.map((t) => `'${t}'`).join(", "); + console.warn(`Unsupported project.template: must be one of ${names}`); + } + const inputs = []; + const addInput = (name, value, defaultValue = "") => { + inputs.push(createHiddenInput(name, typeof value === "string" ? value : defaultValue)); + }; + addInput("project[title]", title); + if (typeof description === "string" && description.length > 0) { + addInput("project[description]", description); + } + addInput("project[template]", template, "javascript"); + if (dependencies) { + if (template === "node") { + console.warn( + `Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template.` + ); + } else { + addInput("project[dependencies]", JSON.stringify(dependencies)); + } + } + if (settings) { + addInput("project[settings]", JSON.stringify(settings)); + } + Object.entries(files).forEach(([path, contents]) => { + addInput(`project[files][${encodeFilePath(path)}]`, contents); + }); + const form = document.createElement("form"); + form.method = "POST"; + form.setAttribute("style", "display:none!important;"); + form.append(...inputs); + return form; + } + function createProjectFrameHTML(project, options) { + const form = createProjectForm(project); + form.action = embedUrl("/run", options); + form.id = "sb_run"; + const html = ` + + + + ${form.outerHTML} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +