diff options
| author | XhmikosR <[email protected]> | 2020-11-19 17:50:37 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-11-19 17:54:46 +0200 |
| commit | daeddd51f0d37333572ed830ba6f900704b92cdf (patch) | |
| tree | ff69ded1151fef81e6a59dcc5939fd4ae68467eb /site | |
| parent | 1bf7999a41d96498ea6b1a94f9f1a9ceb5e07f2f (diff) | |
| download | bootstrap-playground.tar.xz bootstrap-playground.zip | |
Adapt to main changesplayground
Diffstat (limited to 'site')
| -rw-r--r-- | site/content/docs/5.0/examples/playground/index.html | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/site/content/docs/5.0/examples/playground/index.html b/site/content/docs/5.0/examples/playground/index.html index 6deddf3e8..ff0854b84 100644 --- a/site/content/docs/5.0/examples/playground/index.html +++ b/site/content/docs/5.0/examples/playground/index.html @@ -10,14 +10,14 @@ extra_css: <div class="mb-0">Item with switch</div> <div class="form-check form-switch ml-auto" style="font-size: 1.25rem;"> <input class="form-check-input ml-0" type="checkbox" id="playgroundSwitch1" checked> - <label class="sr-only" for="playgroundSwitch1">Switch label</label> + <label class="visually-hidden" for="playgroundSwitch1">Switch label</label> </div> </div> <div class="list-group-item d-flex align-items-center"> <div class="mb-0">Another with switch</div> <div class="form-check form-switch ml-auto" style="font-size: 1.25rem;"> <input class="form-check-input ml-0" type="checkbox" id="playgroundSwitch2"> - <label class="sr-only" for="playgroundSwitch2">Another switch label</label> + <label class="visually-hidden" for="playgroundSwitch2">Another switch label</label> </div> </div> <div class="list-group-item d-flex align-items-center"> @@ -48,11 +48,11 @@ extra_css: </div> </div> -<div id="carouselExampleIndicators" class="carousel slide mx-auto" data-ride="carousel"> +<div id="carouselExampleIndicators" class="carousel slide mx-auto" data-bs-ride="carousel"> <ol class="carousel-indicators d-flex justify-content-end mx-0 mb-1"> - <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li> - <li data-target="#carouselExampleIndicators" data-slide-to="1"></li> - <li data-target="#carouselExampleIndicators" data-slide-to="2"></li> + <li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active"></li> + <li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1"></li> + <li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2"></li> </ol> <div class="carousel-inner"> <div class="carousel-item active"> @@ -69,7 +69,7 @@ extra_css: <div class="position-relative my-5 mx-auto bg-dark" style="width: 375px; height: 812px; border-radius: 1.5rem;"> <div class="text-center p-3"> - <button type="button" class="btn btn-lg btn-primary" data-toggle="modal" data-target="#modal">Show</button> + <button type="button" class="btn btn-lg btn-primary" data-bs-toggle="modal" data-bs-target="#modal">Show</button> </div> <div class="modal modal-sheet" tabindex="-1" role="dialog" id="modal"> @@ -77,16 +77,14 @@ extra_css: <div class="modal-content"> <div class="modal-header border-bottom-0"> <h5 class="modal-title">Modal title</h5> - <button type="button" class="close" data-dismiss="modal" aria-label="Close"> - <span aria-hidden="true">×</span> - </button> + <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body py-0"> <p>This is a modal sheet, a variation of the modal that docs itself to the bottom of the viewport like the newer share sheets in iOS.</p> </div> <div class="modal-footer flex-column border-top-0"> - <button type="button" class="btn btn-lg btn-primary btn-block mx-0 mb-2">Save changes</button> - <button type="button" class="btn btn-lg btn-link btn-block mx-0" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-lg btn-primary w-100 mx-0 mb-2">Save changes</button> + <button type="button" class="btn btn-lg btn-link w-100 mx-0" data-bs-dismiss="modal">Close</button> </div> </div> </div> |
