From b48eb5396224c4b30edf1fd6359315a677fa3c91 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 6 Jan 2016 01:09:45 -0800 Subject: [PATCH 1/2] rename .card-*-outline to .card-outline-* for consistency with button outlines --- scss/_card.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scss/_card.scss b/scss/_card.scss index abf0ac5b65..3982f6e852 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -112,22 +112,22 @@ } // Remove all backgrounds -.card-primary-outline { +.card-outline-primary { @include card-outline-variant($btn-primary-bg); } -.card-secondary-outline { +.card-outline-secondary { @include card-outline-variant($btn-secondary-border); } -.card-info-outline { +.card-outline-info { @include card-outline-variant($btn-info-bg); } -.card-success-outline { +.card-outline-success { @include card-outline-variant($btn-success-bg); } -.card-warning-outline { +.card-outline-warning { @include card-outline-variant($btn-warning-bg); } -.card-danger-outline { +.card-outline-danger { @include card-outline-variant($btn-danger-bg); } From 5c803b656ce1dcc2a6335b949b0566a50d74c32d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 6 Jan 2016 01:11:22 -0800 Subject: [PATCH 2/2] update docs to match --- docs/components/card.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/components/card.md b/docs/components/card.md index c5af2bb021..159fa42bef 100644 --- a/docs/components/card.md +++ b/docs/components/card.md @@ -314,10 +314,10 @@ Cards include their own variant classes for quickly changing the `background-col ## 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. +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.

@@ -325,7 +325,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.

@@ -333,7 +333,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.

@@ -341,7 +341,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.

@@ -349,7 +349,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.

@@ -357,7 +357,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.