]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update card outline mixin
authorMark Otto <markdotto@gmail.com>
Sun, 9 Apr 2017 04:03:54 +0000 (21:03 -0700)
committerMark Otto <markd.otto@gmail.com>
Sun, 9 Apr 2017 04:25:38 +0000 (21:25 -0700)
Fixes #22056 by ensuring outline cards make their header/footer transparent and use the right border color.

scss/mixins/_cards.scss

index 4b1232d8b20094db228d7da58353f4bf2b9cb639..e535b316d7f67004e1a3b4cfa400f3bf27985fb8 100644 (file)
 @mixin card-outline-variant($color) {
   background-color: transparent;
   border-color: $color;
+
+  .card-header,
+  .card-footer {
+    background-color: transparent;
+    border-color: $color;
+  }
 }
 
 //