From ad0b0364b81c04423e02edd596ebbb5b9b748624 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 15 Feb 2021 18:42:21 +0000 Subject: missing files --- .../site/content/docs/4.6/utilities/borders.md | 69 +++ .../site/content/docs/4.6/utilities/clearfix.md | 37 ++ .../site/content/docs/4.6/utilities/close-icon.md | 14 + .../site/content/docs/4.6/utilities/colors.md | 70 +++ .../site/content/docs/4.6/utilities/display.md | 98 ++++ .../site/content/docs/4.6/utilities/embed.md | 60 ++ .../site/content/docs/4.6/utilities/flex.md | 613 +++++++++++++++++++++ .../site/content/docs/4.6/utilities/float.md | 60 ++ .../docs/4.6/utilities/image-replacement.md | 35 ++ .../content/docs/4.6/utilities/interactions.md | 18 + .../site/content/docs/4.6/utilities/overflow.md | 24 + .../site/content/docs/4.6/utilities/position.md | 45 ++ .../content/docs/4.6/utilities/screen-readers.md | 20 + .../site/content/docs/4.6/utilities/shadows.md | 17 + .../site/content/docs/4.6/utilities/sizing.md | 52 ++ .../site/content/docs/4.6/utilities/spacing.md | 104 ++++ .../content/docs/4.6/utilities/stretched-link.md | 76 +++ .../site/content/docs/4.6/utilities/text.md | 121 ++++ .../content/docs/4.6/utilities/vertical-align.md | 38 ++ .../site/content/docs/4.6/utilities/visibility.md | 34 ++ 20 files changed, 1605 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/borders.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/clearfix.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/close-icon.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/colors.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/display.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/embed.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/flex.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/float.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/image-replacement.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/interactions.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/overflow.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/position.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/screen-readers.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/shadows.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/sizing.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/spacing.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/stretched-link.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/text.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/vertical-align.md create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/visibility.md (limited to 'vendor/twbs/bootstrap/site/content/docs/4.6/utilities') diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/borders.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/borders.md new file mode 100644 index 000000000..c29d73d6a --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/borders.md @@ -0,0 +1,69 @@ +--- +layout: docs +title: Borders +description: Use border utilities to quickly style the border and border-radius of an element. Great for images, buttons, or any other element. +group: utilities +aliases: "/docs/4.6/utilities/" +toc: true +--- + +## Border + +Use border utilities to add or remove an element's borders. Choose from all borders or one at a time. + +### Additive + +{{< example class="bd-example-border-utils">}} + + + + + +{{< /example >}} + +### Subtractive + +{{< example class="bd-example-border-utils bd-example-border-utils-0" >}} + + + + + +{{< /example >}} + +## Border color + +Change the border color using utilities built on our theme colors. + +{{< example class="bd-example-border-utils" >}} +{{< border.inline >}} +{{- range (index $.Site.Data "theme-colors") }} + +{{- end -}} +{{< /border.inline >}} + +{{< /example >}} + +## Border-radius + +Add classes to an element to easily round its corners. + +{{< example>}} +{{< placeholder width="75" height="75" class="rounded" title="Example rounded image" >}} +{{< placeholder width="75" height="75" class="rounded-top" title="Example top rounded image" >}} +{{< placeholder width="75" height="75" class="rounded-right" title="Example right rounded image" >}} +{{< placeholder width="75" height="75" class="rounded-bottom" title="Example bottom rounded image" >}} +{{< placeholder width="75" height="75" class="rounded-left" title="Example left rounded image" >}} +{{< placeholder width="75" height="75" class="rounded-circle" title="Completely round image" >}} +{{< placeholder width="150" height="75" class="rounded-pill" title="Rounded pill image" >}} +{{< placeholder width="75" height="75" class="rounded-0" title="Example non-rounded image (overrides rounding applied elsewhere)" >}} +{{< /example >}} + +## Sizes + +Use `.rounded-lg` or `.rounded-sm` for larger or smaller border-radius. + +{{< example >}} +{{< placeholder width="75" height="75" class="rounded-sm" title="Example small rounded image" >}} +{{< placeholder width="75" height="75" class="rounded-lg" title="Example large rounded image" >}} +{{< /example >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/clearfix.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/clearfix.md new file mode 100644 index 000000000..c2f129a71 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/clearfix.md @@ -0,0 +1,37 @@ +--- +layout: docs +title: Clearfix +description: Quickly and easily clear floated content within a container by adding a clearfix utility. +group: utilities +--- + +Easily clear `float`s by adding `.clearfix` **to the parent element**. Can also be used as a mixin. + +```html +
...
+``` + +```scss +// Mixin itself +@mixin clearfix() { + &::after { + display: block; + content: ""; + clear: both; + } +} + +// Usage as a mixin +.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. + +{{< example >}} +
+ + +
+{{< /example >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/close-icon.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/close-icon.md new file mode 100644 index 000000000..8329fd94b --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/close-icon.md @@ -0,0 +1,14 @@ +--- +layout: docs +title: Close icon +description: Use a generic close icon for dismissing content like modals and alerts. +group: utilities +--- + +**Be sure to include text for screen readers**, as we've done with `aria-label`. + +{{< example >}} + +{{< /example >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/colors.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/colors.md new file mode 100644 index 000000000..947411747 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/colors.md @@ -0,0 +1,70 @@ +--- +layout: docs +title: Colors +description: Convey meaning through color with a handful of color utility classes. Includes support for styling links with hover states, too. +group: utilities +toc: true +--- + +{{< callout info >}} +#### Dealing with 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 `
` with the class. +{{< /callout >}} + +{{< callout warning >}} +{{< partial "callout-warning-color-assistive-technologies.md" >}} +{{< /callout >}} + +## Color + +{{< example >}} +{{< colors.inline >}} +{{- range (index $.Site.Data "theme-colors") }} +

.text-{{ .name }}

+{{- end -}} +{{< /colors.inline >}} +

.text-body

+

.text-muted

+

.text-white

+

.text-black-50

+

.text-white-50

+{{< /example >}} + +Contextual text classes also work well on anchors with the provided hover and focus states. **Note that the `.text-white` and `.text-muted` class has no additional link styling beyond underline.** + +{{< example >}} +{{< colors.inline >}} +{{- range (index $.Site.Data "theme-colors") }} +

{{ .name | title }} link

+{{- end -}} +{{< /colors.inline >}} +

Muted link

+

White link

+{{< /example >}} + +## Background color + +Similar to the contextual text color classes, easily set the background of an element to any contextual class. Anchor components will darken on hover, just like the text classes. Background utilities **do not set `color`**, so in some cases you'll want to use `.text-*` utilities. + +{{< example >}} +{{< colors.inline >}} +{{- range (index $.Site.Data "theme-colors") }} +
.bg-{{ .name }}
+{{- end -}} +{{< /colors.inline >}} +
.bg-white
+
.bg-transparent
+{{< /example >}} + +## Background gradient + +When `$enable-gradients` is set to `true` (default is `false`), you can use `.bg-gradient-` utility classes. [Learn about our Sass options]({{< docsref "/getting-started/theming#sass-options" >}}) to enable these classes and more. + +{{< markdown >}} +{{< colors.inline >}} +{{- range (index $.Site.Data "theme-colors") }} +- `.bg-gradient-{{ .name }}` +{{- end -}} +{{< /colors.inline >}} +{{< /markdown >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/display.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/display.md new file mode 100644 index 000000000..f5ef2bb74 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/display.md @@ -0,0 +1,98 @@ +--- +layout: docs +title: Display property +description: 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. +group: utilities +toc: true +--- + +## How it works + +Change the value of the [`display` property](https://developer.mozilla.org/en-US/docs/Web/CSS/display) 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]({{< docsref "/layout/overview#responsive-breakpoints" >}}), from `xs` to `xl`, 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`, and `xl`. + +Where *value* is one of: + +* `none` +* `inline` +* `inline-block` +* `block` +* `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 both `lg` and `xl` screens. + +## Examples + +{{< example >}} +
d-inline
+
d-inline
+{{< /example >}} + +{{< example >}} +d-block +d-block +{{< /example >}} + +## 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}-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` will hide the element for all screen sizes except on medium and large devices. + +| Screen Size | Class | +| --- | --- | +| 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` | +| 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` | + +{{< example >}} +
hide on lg and wider screens
+
hide on screens smaller than lg
+{{< /example >}} + +## 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-table` +- `.d-print-table-row` +- `.d-print-table-cell` +- `.d-print-flex` +- `.d-print-inline-flex` + +The print and display classes can be combined. + +{{< example >}} +
Screen Only (Hide on print only)
+
Print Only (Hide on screen only)
+
Hide up to large on screen, but always show on print
+{{< /example >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/embed.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/embed.md new file mode 100644 index 000000000..860ea1953 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/embed.md @@ -0,0 +1,60 @@ +--- +layout: docs +title: Embeds +description: Create responsive video or slideshow embeds based on the width of the parent by creating an intrinsic ratio that scales on any device. +group: utilities +toc: true +--- + +## About + +Rules are directly applied to ` +
+{{< /example >}} + +## Aspect ratios + +Aspect ratios can be customized with modifier classes. By default the following ratio classes are provided: + +```html + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+``` + +Within `_variables.scss`, you can change the aspect ratios you want to use. Here's an example of the `$embed-responsive-aspect-ratios` list: + +```scss +$embed-responsive-aspect-ratios: ( + (21 9), + (16 9), + (4 3), + (1 1) +) !default; +``` diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/flex.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/flex.md new file mode 100644 index 000000000..5cdadb762 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/flex.md @@ -0,0 +1,613 @@ +--- +layout: docs +title: Flex +description: 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. +group: utilities +toc: true +--- + +## 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. + +{{< example >}} +
I'm a flexbox container!
+{{< /example >}} + +{{< example >}} +
I'm an inline flexbox container!
+{{< /example >}} + +Responsive variations also exist for `.d-flex` and `.d-inline-flex`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.d{{ .abbr }}-flex` +- `.d{{ .abbr }}-inline-flex` +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} + +## 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. + +{{< example >}} +
+
Flex item 1
+
Flex item 2
+
Flex item 3
+
+
+
Flex item 1
+
Flex item 2
+
Flex item 3
+
+{{< /example >}} + +Use `.flex-column` to set a vertical direction, or `.flex-column-reverse` to start the vertical direction from the opposite side. + +{{< example >}} +
+
Flex item 1
+
Flex item 2
+
Flex item 3
+
+
+
Flex item 1
+
Flex item 2
+
Flex item 3
+
+{{< /example >}} + +Responsive variations also exist for `flex-direction`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.flex{{ .abbr }}-row` +- `.flex{{ .abbr }}-row-reverse` +- `.flex{{ .abbr }}-column` +- `.flex{{ .abbr }}-column-reverse` +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} + +## 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`, or `around`. + +
+
+
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
+
+
+ +```html +
...
+
...
+
...
+
...
+
...
+``` + +Responsive variations also exist for `justify-content`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.justify-content{{ .abbr }}-start` +- `.justify-content{{ .abbr }}-end` +- `.justify-content{{ .abbr }}-center` +- `.justify-content{{ .abbr }}-between` +- `.justify-content{{ .abbr }}-around` +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} + +## 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
+
+
+ +```html +
...
+
...
+
...
+
...
+
...
+``` + +Responsive variations also exist for `align-items`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.align-items{{ .abbr }}-start` +- `.align-items{{ .abbr }}-end` +- `.align-items{{ .abbr }}-center` +- `.align-items{{ .abbr }}-baseline` +- `.align-items{{ .abbr }}-stretch` +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} + +## 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
+
+
+ +```html +
Aligned flex item
+
Aligned flex item
+
Aligned flex item
+
Aligned flex item
+
Aligned flex item
+``` + +Responsive variations also exist for `align-self`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.align-self{{ .abbr }}-start` +- `.align-self{{ .abbr }}-end` +- `.align-self{{ .abbr }}-center` +- `.align-self{{ .abbr }}-baseline` +- `.align-self{{ .abbr }}-stretch` +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} + +## 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. + +{{< example >}} +
+
Flex item with a lot of content
+
Flex item
+
Flex item
+
+{{< /example >}} + +Responsive variations also exist for `flex-fill`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.flex{{ .abbr }}-fill` +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} + +## 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. + +{{< example >}} +
+
Flex item
+
Flex item
+
Third flex item
+
+{{< /example >}} + +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`. + +{{< example >}} +
+
Flex item
+
Flex item
+
+{{< /example >}} + +Responsive variations also exist for `flex-grow` and `flex-shrink`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.flex{{ .abbr }}-{grow|shrink}-0` +- `.flex{{ .abbr }}-{grow|shrink}-1` +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} + +## 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 (`.mr-auto`), and pushing two items to the left (`.ml-auto`). + +**Unfortunately, IE10 and IE11 do not properly support auto margins on flex items whose parent has a non-default `justify-content` value.** [See this StackOverflow answer](https://stackoverflow.com/a/37535548) for more details. + +{{< example >}} +
+
Flex item
+
Flex item
+
Flex item
+
+ +
+
Flex item
+
Flex item
+
Flex item
+
+ +
+
Flex item
+
Flex item
+
Flex item
+
+{{< /example >}} + +### 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`. + +{{< example >}} +
+
Flex item
+
Flex item
+
Flex item
+
+ +
+
Flex item
+
Flex item
+
Flex item
+
+{{< /example >}} + +## 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
+
+
+ +```html +
+ ... +
+``` + +
+
+
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
+
+
+ +```html +
+ ... +
+``` + +
+
+
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
+
+
+ +```html +
+ ... +
+``` + + +Responsive variations also exist for `flex-wrap`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.flex{{ .abbr }}-nowrap` +- `.flex{{ .abbr }}-wrap` +- `.flex{{ .abbr }}-wrap-reverse` +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} + +## 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 (e.g., `5`), add custom CSS for any additional values needed. + +{{< example >}} +
+
First flex item
+
Second flex item
+
Third flex item
+
+{{< /example >}} + +Responsive variations also exist for `order`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $bp := $.Site.Data.breakpoints -}} +{{- range (seq 0 12) }} +- `.order{{ $bp.abbr }}-{{ . }}` +{{- end -}} +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} + + +## 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
+
+
+ +```html +
+ ... +
+``` + +
+
+
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
+
+
+ +```html +
...
+``` + +
+
+
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
+
+
+ +```html +
...
+``` + +
+
+
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
+
+
+ +```html +
...
+``` + +
+
+
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
+
+
+ +```html +
...
+``` + +
+
+
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
+
+
+ +```html +
...
+``` + +Responsive variations also exist for `align-content`. + +{{< markdown >}} +{{< flex.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.align-content{{ .abbr }}-start` +- `.align-content{{ .abbr }}-end` +- `.align-content{{ .abbr }}-center` +- `.align-content{{ .abbr }}-around` +- `.align-content{{ .abbr }}-stretch` +{{- end -}} +{{< /flex.inline >}} +{{< /markdown >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/float.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/float.md new file mode 100644 index 000000000..be35d729d --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/float.md @@ -0,0 +1,60 @@ +--- +layout: docs +title: Float +description: Toggle floats on any element, across any breakpoint, using our responsive float utilities. +group: utilities +toc: true +--- + +## 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](https://developer.mozilla.org/en-US/docs/Web/CSS/float). `!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. + +## Classes + +Toggle a float with a class: + +{{< example >}} +
Float left on all viewport sizes

+
Float right on all viewport sizes

+
Don't float on all viewport sizes
+{{< /example >}} + +## Mixins + +Or by Sass mixin: + +```scss +.element { + @include float-left; +} +.another-element { + @include float-right; +} +.one-more { + @include float-none; +} +``` + +## Responsive + +Responsive variations also exist for each `float` value. + +{{< example >}} +
Float left on viewports sized SM (small) or wider

+
Float left on viewports sized MD (medium) or wider

+
Float left on viewports sized LG (large) or wider

+
Float left on viewports sized XL (extra-large) or wider

+{{< /example >}} + +Here are all the support classes; + +{{< markdown >}} +{{< float.inline >}} +{{- range $.Site.Data.breakpoints }} +- `.float{{ .abbr }}-left` +- `.float{{ .abbr }}-right` +- `.float{{ .abbr }}-none` +{{- end -}} +{{< /float.inline >}} +{{< /markdown >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/image-replacement.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/image-replacement.md new file mode 100644 index 000000000..d3bdf63aa --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/image-replacement.md @@ -0,0 +1,35 @@ +--- +layout: docs +title: Image replacement +description: Swap text for background images with the image replacement class. +group: utilities +--- + +{{< callout warning >}} +##### Warning + +The `text-hide()` class and mixin has been deprecated as of v4.1. It will be removed entirely in v5. +{{< /callout >}} + +Utilize the `.text-hide` class or mixin to help replace an element's text content with a background image. + +```html +

Custom heading

+``` + +```scss +// Usage as a mixin +.heading { + @include text-hide; +} +``` + +Use the `.text-hide` class to maintain the accessibility and SEO benefits of heading tags, but want to utilize a `background-image` instead of text. + +
+

Bootstrap

+
+ +```html +

Bootstrap

+``` diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/interactions.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/interactions.md new file mode 100644 index 000000000..b808dc5b6 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/interactions.md @@ -0,0 +1,18 @@ +--- +layout: docs +title: Interactions +description: Utility classes that change how users interact with the contents of a website. +group: utilities +--- + +## Text selection + +Change how the content is selected when the user interacts with it. Note that Internet Explorer and Legacy Edge have no support for the `all` value for `user-select`, and as such, **`.user-select-all` is not supported by either browser.** + +{{< example >}} +

This paragraph will be entirely selected when clicked by the user.

+

This paragraph has the default select behavior.

+

This paragraph will not be selectable when clicked by the user.

+{{< /example >}} + +Customize the available classes by changing the `$user-selects` Sass list in `_variables.scss`. diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/overflow.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/overflow.md new file mode 100644 index 000000000..079da225e --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/overflow.md @@ -0,0 +1,24 @@ +--- +layout: docs +title: Overflow +description: Use these shorthand utilities for quickly configuring how content overflows an element. +group: utilities +--- + +Barebones `overflow` functionality is provided for two values by default, and they are not responsive. + +
+
+ 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. +
+
+ +```html +
...
+
...
+``` + +Using Sass variables, you may customize the overflow utilities by changing the `$overflows` variable in `_variables.scss`. diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/position.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/position.md new file mode 100644 index 000000000..2fe04d974 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/position.md @@ -0,0 +1,45 @@ +--- +layout: docs +title: Position +description: Use these shorthand utilities for quickly configuring the position of an element. +group: utilities +toc: true +--- + +## Common values + +Quick positioning classes are available, though they are not responsive. + +```html +
...
+
...
+
...
+
...
+
...
+``` + +## 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. + +```html +
...
+``` + +## 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. + +```html +
...
+``` + +## 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. + +**IE11 and IE10 will render `position: sticky` as `position: relative`.** As such, we wrap the styles in a `@supports` query, limiting the stickiness to only browsers that can render it properly. + +```html +
...
+``` diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/screen-readers.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/screen-readers.md new file mode 100644 index 000000000..4e2260914 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/screen-readers.md @@ -0,0 +1,20 @@ +--- +layout: docs +title: Screen readers +description: Use screen reader utilities to hide elements on all devices except screen readers. +group: utilities +--- + +Hide an element to all devices **except screen readers** with `.sr-only`. Combine `.sr-only` with `.sr-only-focusable` to show the element again when it's focused (e.g. by a keyboard-only user). Can also be used as mixins. + +{{< example >}} +Skip to main content +{{< /example >}} + +```scss +// Usage as a mixin +.skip-navigation { + @include sr-only; + @include sr-only-focusable; +} +``` diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/shadows.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/shadows.md new file mode 100644 index 000000000..2803031d6 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/shadows.md @@ -0,0 +1,17 @@ +--- +layout: docs +title: Shadows +description: Add or remove shadows to elements with box-shadow utilities. +group: 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). + +{{< example >}} +
No shadow
+
Small shadow
+
Regular shadow
+
Larger shadow
+{{< /example >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/sizing.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/sizing.md new file mode 100644 index 000000000..c5e8654a1 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/sizing.md @@ -0,0 +1,52 @@ +--- +layout: docs +title: Sizing +description: Easily make an element as wide or as tall with our width and height utilities. +group: utilities +toc: true +--- + +## Relative to the parent + +Width and height utilities are generated from the `$sizes` Sass map in `_variables.scss`. Includes support for `25%`, `50%`, `75%`, `100%`, and `auto` by default. Modify those values as you need to generate different utilities here. + +{{< example >}} +
Width 25%
+
Width 50%
+
Width 75%
+
Width 100%
+
Width auto
+{{< /example >}} + +{{< example >}} +
+
Height 25%
+
Height 50%
+
Height 75%
+
Height 100%
+
Height auto
+
+{{< /example >}} + +You can also use `max-width: 100%;` and `max-height: 100%;` utilities as needed. + +{{< example >}} +{{< placeholder width="100%" height="100" class="mw-100" text="Max-width 100%" >}} +{{< /example >}} + +{{< example >}} +
+
Max-height 100%
+
+{{< /example >}} + +## Relative to the viewport + +You can also use utilities to set the width and height relative to the viewport. + +```html +
Min-width 100vw
+
Min-height 100vh
+
Width 100vw
+
Height 100vh
+``` diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/spacing.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/spacing.md new file mode 100644 index 000000000..01eeac67d --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/spacing.md @@ -0,0 +1,104 @@ +--- +layout: docs +title: Spacing +description: Bootstrap includes a wide range of shorthand responsive margin and padding utility classes to modify an element's appearance. +group: utilities +toc: true +--- + +## How it works + +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`. + +## Notation + +Spacing utilities that apply to all breakpoints, from `xs` to `xl`, 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`, and `xl`. + +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` +* `l` - for classes that set `margin-left` or `padding-left` +* `r` - for classes that set `margin-right` or `padding-right` +* `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: + +```scss +.mt-0 { + margin-top: 0 !important; +} + +.ml-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 +
+
+ +```html +
+ Centered element +
+``` + +### Negative margin + +In CSS, `margin` properties can utilize negative values (`padding` cannot). As of 4.2, we've added negative margin utilities for every non-zero integer size listed above (e.g., `1`, `2`, `3`, `4`, `5`). These utilities are ideal for customizing grid column gutters across breakpoints. + +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`: + +```scss +.mt-n1 { + margin-top: -0.25rem !important; +} +``` + +Here's an example of customizing the Bootstrap grid at the medium (`md`) breakpoint and above. We've increased the `.col` padding with `.px-md-5` and then counteracted that with `.mx-md-n5` on the parent `.row`. + +{{< example >}} +
+
Custom column padding
+
Custom column padding
+
+{{< /example >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/stretched-link.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/stretched-link.md new file mode 100644 index 000000000..db714cd76 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/stretched-link.md @@ -0,0 +1,76 @@ +--- +layout: docs +title: Stretched link +description: Make any HTML element or Bootstrap component clickable by "stretching" a nested link via CSS. +group: utilities +--- + +Add `.stretched-link` to a link to make its [containing block](https://developer.mozilla.org/en-US/docs/Web/CSS/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](https://www.w3.org/TR/CSS21/visuren.html#propdef-position), `.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. + +{{< example >}} +
+ {{< placeholder width="100%" height="180" class="card-img-top" text=" " title="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 +
+
+{{< /example >}} + +Media objects do not have `position: relative` by default, so we need to add the `.position-relative` here to prevent the link from stretching outside the media object. + +{{< example >}} +
+ {{< placeholder width="144" height="144" class="mr-3" text=" " title="Generic placeholder image" >}} +
+
Media with stretched link
+

This is some placeholder content for the media object. 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 +
+
+{{< /example >}} + +Columns are `position: relative` by default, so clickable columns only require the `.stretched-link` class on a link. However, stretching a link over an entire `.row` requires `.position-static` on the column and `.position-relative` on the row. + +{{< example >}} +
+
+ {{< placeholder width="100%" height="200" class="w-100" text=" " title="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 +
+
+{{< /example >}} + +## Identifying the containing block + +If the stretched link doesn't seem to work, the [containing block](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#Identifying_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) + +{{< example >}} +
+ {{< placeholder width="100%" height="180" class="card-img-top" text=" " title="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. +

+
+
+{{< /example >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/text.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/text.md new file mode 100644 index 000000000..8caf2019b --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/text.md @@ -0,0 +1,121 @@ +--- +layout: docs +title: Text +description: Documentation and examples for common text utilities to control alignment, wrapping, weight, and more. +group: utilities +toc: true +--- + +## Text alignment + +Easily realign text to components with text alignment classes. + +{{< example >}} +

Some placeholder text to demonstrate justified text alignment. Will you do the same for me? It's time to face the music I'm no longer your muse. Heard it's beautiful, be the judge and my girls gonna take a vote. I can feel a phoenix inside of me. Heaven is jealous of our love, angels are crying from up above. Yeah, you take me to utopia.

+{{< /example >}} + +For left, right, and center alignment, responsive classes are available that use the same viewport width breakpoints as the grid system. + +{{< example >}} +

Left aligned text on all viewport sizes.

+

Center aligned text on all viewport sizes.

+

Right aligned text on all viewport sizes.

+ +

Left aligned text on viewports sized SM (small) or wider.

+

Left aligned text on viewports sized MD (medium) or wider.

+

Left aligned text on viewports sized LG (large) or wider.

+

Left aligned text on viewports sized XL (extra-large) or wider.

+{{< /example >}} + +## Text wrapping and overflow + +Wrap text with a `.text-wrap` class. + +{{< example >}} +
+ This text should wrap. +
+{{< /example >}} + +Prevent text from wrapping with a `.text-nowrap` class. + +{{< example >}} +
+ This text should overflow the parent. +
+{{< /example >}} + +For longer content, you can add a `.text-truncate` class to truncate the text with an ellipsis. **Requires `display: inline-block` or `display: block`.** + +{{< example >}} + +
+
+ Praeterea iter est quasdam res quas ex communi. +
+
+ + + + Praeterea iter est quasdam res quas ex communi. + +{{< /example >}} + +## 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. + +{{< example >}} +

mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

+{{< /example >}} + +## Text transform + +Transform text in components with text capitalization classes. + +{{< example >}} +

Lowercased text.

+

Uppercased text.

+

CapiTaliZed text.

+{{< /example >}} + +Note how `.text-capitalize` only changes the first letter of each word, leaving the case of any other letters unaffected. + +## Font weight and italics + +Quickly change the weight (boldness) of text or italicize text. + +{{< example >}} +

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.

+{{< /example >}} + +## Monospace + +Change a selection to our monospace font stack with `.text-monospace`. + +{{< example >}} +

This is in monospace

+{{< /example >}} + +## Reset color + +Reset a text or link's color with `.text-reset`, so that it inherits the color from its parent. + +{{< example >}} +

+ Muted text with a reset link. +

+{{< /example >}} + +## Text decoration + +Remove a text decoration with a `.text-decoration-none` class. + +{{< example >}} +Non-underlined link +{{< /example >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/vertical-align.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/vertical-align.md new file mode 100644 index 000000000..b2c16b569 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/vertical-align.md @@ -0,0 +1,38 @@ +--- +layout: docs +title: Vertical alignment +description: Easily change the vertical alignment of inline, inline-block, inline-table, and table cell elements. +group: utilities +--- + +Change the alignment of elements with the [`vertical-alignment`](https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align) 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. + +With inline elements: + +{{< example >}} +baseline +top +middle +bottom +text-top +text-bottom +{{< /example >}} + +With table cells: + +{{< example >}} + + + + + + + + + + + +
baselinetopmiddlebottomtext-toptext-bottom
+{{< /example >}} diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/visibility.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/visibility.md new file mode 100644 index 000000000..68f8508fd --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/visibility.md @@ -0,0 +1,34 @@ +--- +layout: docs +title: Visibility +description: Control the visibility, without modifying the display, of elements with visibility utilities. +group: 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. Content will be hidden both visually and for assistive technology/screen reader users. + +Apply `.visible` or `.invisible` as needed. + +```html +
...
+ +``` + +```scss +// Class +.visible { + visibility: visible !important; +} +.invisible { + visibility: hidden !important; +} + +// Usage as a mixin +// Warning: The `invisible()` mixin has been deprecated as of v4.3.0. It will be removed entirely in v5. +.element { + @include invisible(visible); +} +.element { + @include invisible(hidden); +} +``` -- cgit v1.2.3