1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Merge branch 'patch-6' of https://github.com/bassjobsen/bootstrap into bassjobsen-patch-6

This commit is contained in:
Mark Otto
2015-12-07 23:48:33 -08:00
2 changed files with 60 additions and 28 deletions

View File

@@ -1,6 +1,38 @@
// Card variants
@mixin card-variant($color) {
background-color: $color;
@mixin card-variant($background, $border) {
background-color: $background;
border-color: $border;
}
@mixin card-outline-variant($color) {
background-color: transparent;
border-color: $color;
}
//
// Inverse text within a card for use with dark backgrounds
//
@mixin card-inverse {
.card-header,
.card-footer {
border-bottom: $card-border-width solid rgba(255,255,255,.2);
}
.card-header,
.card-footer,
.card-title,
.card-blockquote {
color: #fff;
}
.card-link,
.card-text,
.card-blockquote > footer {
color: rgba(255,255,255,.65);
}
.card-link {
@include hover-focus {
color: $card-link-hover-color;
}
}
}