diff options
author | Mario <mario@mariovavti.com> | 2021-10-08 12:24:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-08 12:24:19 +0000 |
commit | e6dac085cb1d601da1fc63bfd59d811612fa6ef4 (patch) | |
tree | f5b704b613c9c8d347857b4e7f8dd0b19cdd7df3 /vendor/twbs/bootstrap/site/content/docs/5.0/components/close-button.md | |
parent | f5f357060bf0ebcb0b8352519375953d993437e7 (diff) | |
download | volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.tar.gz volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.tar.bz2 volse-hubzilla-e6dac085cb1d601da1fc63bfd59d811612fa6ef4.zip |
update composer libs
Diffstat (limited to 'vendor/twbs/bootstrap/site/content/docs/5.0/components/close-button.md')
-rw-r--r-- | vendor/twbs/bootstrap/site/content/docs/5.0/components/close-button.md | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/vendor/twbs/bootstrap/site/content/docs/5.0/components/close-button.md b/vendor/twbs/bootstrap/site/content/docs/5.0/components/close-button.md deleted file mode 100644 index f4a3ed071..000000000 --- a/vendor/twbs/bootstrap/site/content/docs/5.0/components/close-button.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -layout: docs -title: Close button -description: A generic close button for dismissing content like modals and alerts. -group: components -toc: true ---- - -## 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`. - -{{< example >}} -<button type="button" class="btn-close" aria-label="Close"></button> -{{< /example >}} - -## 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. - -{{< example >}} -<button type="button" class="btn-close" disabled aria-label="Close"></button> -{{< /example >}} - -## 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`. - -{{< example class="bg-dark" >}} -<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> -{{< /example >}} - -## Sass - -### Variables - -{{< scss-docs name="close-variables" file="scss/_variables.scss" >}} |