2015-11-26 08:21:07 -05:00
|
|
|
// Card variants
|
|
|
|
|
2015-10-29 08:44:41 -04:00
|
|
|
@mixin card-variant($background, $border) {
|
|
|
|
background-color: $background;
|
|
|
|
border-color: $border;
|
2016-05-11 23:32:20 -04:00
|
|
|
|
|
|
|
.card-header,
|
|
|
|
.card-footer {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2015-10-29 08:44:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin card-outline-variant($color) {
|
|
|
|
background-color: transparent;
|
2015-11-26 08:33:54 -05:00
|
|
|
border-color: $color;
|
2015-11-26 08:21:07 -05:00
|
|
|
}
|
2015-10-29 08:44:41 -04:00
|
|
|
|
|
|
|
//
|
|
|
|
// Inverse text within a card for use with dark backgrounds
|
|
|
|
//
|
|
|
|
|
|
|
|
@mixin card-inverse {
|
2016-11-28 16:22:51 -05:00
|
|
|
color: rgba(255,255,255,.65);
|
|
|
|
|
2015-10-29 08:44:41 -04:00
|
|
|
.card-header,
|
|
|
|
.card-footer {
|
2016-11-28 02:12:03 -05:00
|
|
|
background-color: transparent;
|
2016-05-11 23:32:20 -04:00
|
|
|
border-color: rgba(255,255,255,.2);
|
2015-10-29 08:44:41 -04:00
|
|
|
}
|
|
|
|
.card-header,
|
|
|
|
.card-footer,
|
|
|
|
.card-title,
|
|
|
|
.card-blockquote {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.card-link,
|
|
|
|
.card-text,
|
2016-05-11 23:41:33 -04:00
|
|
|
.card-subtitle,
|
2016-05-11 23:32:20 -04:00
|
|
|
.card-blockquote .blockquote-footer {
|
2015-10-29 08:44:41 -04:00
|
|
|
color: rgba(255,255,255,.65);
|
|
|
|
}
|
|
|
|
.card-link {
|
|
|
|
@include hover-focus {
|
2015-12-08 02:48:33 -05:00
|
|
|
color: $card-link-hover-color;
|
2015-10-29 08:44:41 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|