From: Mark Otto Date: Thu, 15 Jun 2017 05:01:16 +0000 (-0700) Subject: Rename .card-block to .card-body to match nomenclature of modals X-Git-Tag: v4.0.0-beta~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c8c0aa4cf96e7b14b0607751753e158beb40e9d;p=thirdparty%2Fbootstrap.git Rename .card-block to .card-body to match nomenclature of modals --- diff --git a/docs/4.0/components/card.md b/docs/4.0/components/card.md index 861378560d..bc20da88fc 100644 --- a/docs/4.0/components/card.md +++ b/docs/4.0/components/card.md @@ -21,7 +21,7 @@ Below is an example of a basic card with mixed content and a fixed width. Cards {% example html %}
Card 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 @@ -35,11 +35,11 @@ Cards support a wide variety of content, including images, text, list groups, li ### Blocks -The building block of a card is the `.card-block`. Use it whenever you need a padded section within a card. +The building block of a card is the `.card-body`. Use it whenever you need a padded section within a card. {% example html %}
-
+
This is some text within a card block.
@@ -49,11 +49,11 @@ The building block of a card is the `.card-block`. Use it whenever you need a pa Card titles are used by adding `.card-title` to a `` tag. In the same way, links are added and placed next to each other by adding `.card-link` to a `` tag. -Subtitles are used by adding a `.card-subtitle` to a `` tag. If the `.card-title` and the `.card-subtitle` items are placed in a `.card-block` item, the card title and subtitle are aligned nicely. +Subtitles are used by adding a `.card-subtitle` to a `` 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. {% example html %}
-
+

Card title

Card subtitle

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

@@ -70,7 +70,7 @@ Subtitles are used by adding a `.card-subtitle` to a `` tag. If the `.card-t {% example html %}
Card image cap -
+

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

@@ -97,7 +97,7 @@ Mix and match multiple content types to create the card you need, or throw every {% example html %}
Card image cap -
+

Card title

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

@@ -106,7 +106,7 @@ Mix and match multiple content types to create the card you need, or throw every
  • Dapibus ac facilisis in
  • Vestibulum at eros
  • -
    + @@ -122,7 +122,7 @@ 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 @@ -135,7 +135,7 @@ Card headers can be styled by adding `.card-header` to `` elements. {% example html %}

    Featured

    -
    +

    Special title treatment

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

    Go somewhere @@ -148,7 +148,7 @@ Card headers can be styled by adding `.card-header` to `` elements.
    Quote
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -162,7 +162,7 @@ Card headers can be styled by adding `.card-header` to `` elements.
    Featured
    -
    +

    Special title treatment

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

    Go somewhere @@ -185,7 +185,7 @@ 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 @@ -194,7 +194,7 @@ 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 @@ -210,7 +210,7 @@ Use our handful of [available sizing utilities]({{ site.baseurl }}/docs/{{ site. {% example html %}
    -
    +

    Card title

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

    Button @@ -218,7 +218,7 @@ Use our handful of [available sizing utilities]({{ site.baseurl }}/docs/{{ site.
    -
    +

    Card title

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

    Button @@ -232,7 +232,7 @@ Use custom CSS in your stylesheets or as inline styles to set a width. {% example html %}
    -
    +

    Special title treatment

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

    Go somewhere @@ -246,7 +246,7 @@ You can quickly change the text alignment of any card—in its entirety or speci {% example html %}
    -
    +

    Special title treatment

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

    Go somewhere @@ -254,7 +254,7 @@ You can quickly change the text alignment of any card—in its entirety or speci
    -
    +

    Special title treatment

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

    Go somewhere @@ -262,7 +262,7 @@ You can quickly change the text alignment of any card—in its entirety or speci
    -
    +

    Special title treatment

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

    Go somewhere @@ -289,7 +289,7 @@ Add some navigation to a card's header (or block) with Bootstrap's [nav componen
    -
    +

    Special title treatment

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

    Go somewhere @@ -312,7 +312,7 @@ Add some navigation to a card's header (or block) with Bootstrap's [nav componen
    -
    +

    Special title treatment

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

    Go somewhere @@ -331,14 +331,14 @@ Similar to headers and footers, cards can include top and bottom "image caps"— {% example html %}
    Card 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

    @@ -375,7 +375,7 @@ You can also use `.card-inverse` with the [contextual backgrounds variants](#bac {% example html %}
    Header
    -
    +

    Special title treatment

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

    Go somewhere @@ -390,7 +390,7 @@ Cards include their own variant classes for quickly changing the `background-col {% example html %}
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -398,7 +398,7 @@ Cards include their own variant classes for quickly changing the `background-col
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -406,7 +406,7 @@ Cards include their own variant classes for quickly changing the `background-col
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -414,7 +414,7 @@ Cards include their own variant classes for quickly changing the `background-col
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -422,7 +422,7 @@ Cards include their own variant classes for quickly changing the `background-col
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -440,7 +440,7 @@ In need of a colored card, but not the hefty background colors they bring? Repla {% example html %}
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -448,7 +448,7 @@ In need of a colored card, but not the hefty background colors they bring? Repla
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -456,7 +456,7 @@ In need of a colored card, but not the hefty background colors they bring? Repla
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -464,7 +464,7 @@ In need of a colored card, but not the hefty background colors they bring? Repla
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -472,7 +472,7 @@ In need of a colored card, but not the hefty background colors they bring? Repla
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -480,7 +480,7 @@ In need of a colored card, but not the hefty background colors they bring? Repla
    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    Someone famous in Source Title
    @@ -501,7 +501,7 @@ Use card groups to render cards as a single, attached element with equal width a
    Card 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

    @@ -509,7 +509,7 @@ Use card groups to render cards as a single, attached element with equal width a
    Card image cap -
    +

    Card title

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

    Last updated 3 mins ago

    @@ -517,7 +517,7 @@ Use card groups to render cards as a single, attached element with equal width a
    Card 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

    @@ -532,7 +532,7 @@ When using card groups with footers, their content will automatically line up.
    Card 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.

    @@ -542,7 +542,7 @@ When using card groups with footers, their content will automatically line up.
    Card image cap -
    +

    Card title

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

    @@ -552,7 +552,7 @@ When using card groups with footers, their content will automatically line up.
    Card 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.

    @@ -571,7 +571,7 @@ Need a set of equal width and height cards that aren't attached to one another?
    Card 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.

    Last updated 3 mins ago

    @@ -579,7 +579,7 @@ Need a set of equal width and height cards that aren't attached to one another?
    Card image cap -
    +

    Card title

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

    Last updated 3 mins ago

    @@ -587,7 +587,7 @@ Need a set of equal width and height cards that aren't attached to one another?
    Card 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

    @@ -602,7 +602,7 @@ Just like with card groups, card footers in decks will automatically line up.
    Card 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.

    @@ -612,7 +612,7 @@ Just like with card groups, card footers in decks will automatically line up.
    Card image cap -
    +

    Card title

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

    @@ -622,7 +622,7 @@ Just like with card groups, card footers in decks will automatically line up.
    Card 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.

    @@ -643,13 +643,13 @@ Cards can be organized into [Masonry](http://masonry.desandro.com)-like columns
    Card image cap -
    +

    Card title that wraps to a new line

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

    -
    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    @@ -660,7 +660,7 @@ Cards can be organized into [Masonry](http://masonry.desandro.com)-like columns
    Card image cap -
    +

    Card title

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

    Last updated 3 mins ago

    @@ -677,7 +677,7 @@ Cards can be organized into [Masonry](http://masonry.desandro.com)-like columns
    -
    +

    Card title

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

    Last updated 3 mins ago

    @@ -697,7 +697,7 @@ Cards can be organized into [Masonry](http://masonry.desandro.com)-like columns
    -
    +

    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

    diff --git a/docs/4.0/components/collapse.md b/docs/4.0/components/collapse.md index d72c4b043d..25b236e740 100644 --- a/docs/4.0/components/collapse.md +++ b/docs/4.0/components/collapse.md @@ -26,7 +26,7 @@ You can use a link with the `href` attribute, or a button with the `data-target`

    -
    +
    Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
    @@ -46,14 +46,14 @@ Multiple `