From 15275cbe790d6d3a5b6750ef39b98fdd6f1bad12 Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Wed, 6 Jan 2016 13:00:42 -0600 Subject: [PATCH] bs sync --- docs/assets/scss/_component-examples.scss | 2 +- docs/components/buttons.md | 12 +-- docs/components/card.md | 55 +++++++++++++ docs/components/forms.md | 97 ++++++++++++++--------- docs/components/navbar.md | 8 +- 5 files changed, 124 insertions(+), 50 deletions(-) diff --git a/docs/assets/scss/_component-examples.scss b/docs/assets/scss/_component-examples.scss index 1a799119..5eea7378 100644 --- a/docs/assets/scss/_component-examples.scss +++ b/docs/assets/scss/_component-examples.scss @@ -316,7 +316,7 @@ .highlight { padding: 1rem; - margin: 1rem -1rem; + margin: 1rem (-$grid-gutter-width / 2); background-color: #f7f7f9; @include media-breakpoint-up(sm) { diff --git a/docs/components/buttons.md b/docs/components/buttons.md index 41d875a2..754f9ebc 100644 --- a/docs/components/buttons.md +++ b/docs/components/buttons.md @@ -74,12 +74,12 @@ When using button classes on `` elements that are used to trigger in-page fun 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. {% example html %} - - - - - - + + + + + + {% endexample %} diff --git a/docs/components/card.md b/docs/components/card.md index 8ef9e69f..e3cb6948 100644 --- a/docs/components/card.md +++ b/docs/components/card.md @@ -323,6 +323,61 @@ Cards include their own variant classes for quickly changing the `background-col {% endexample %} +## Outline variants + +In need of a colored card, but not the hefty background colors they bring? Replace the default modifier classes with the `.card-outline-*` ones to style just the `border-color` of a card. + +{% example html %} +
+
+
+

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

+
Someone famous in Source Title
+
+
+
+
+
+
+

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

+
Someone famous in Source Title
+
+
+
+
+
+
+

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

+
Someone famous in Source Title
+
+
+
+
+
+
+

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

+
Someone famous in Source Title
+
+
+
+
+
+
+

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

+
Someone famous in Source Title
+
+
+
+
+
+
+

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

+
Someone famous in Source Title
+
+
+
+{% endexample %} + ## Groups Use card groups to render cards as a single, attached element with equal width and height columns. By default, card groups use `display: table;` and `table-layout: fixed;` to achieve their uniform sizing. However, enabling [flexbox mode]({{ site.baseurl }}/getting-started/flexbox) can switch that to use `display: flex;` and provide the same effect. diff --git a/docs/components/forms.md b/docs/components/forms.md index 2132645d..9536928f 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -554,7 +554,7 @@ Block help text—for below inputs or for longer lines of help text—can be eas

- Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters or emoji. + Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters or emoji.

{% endexample %} @@ -618,33 +618,33 @@ Each checkbox and radio is wrapped in a `