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