2015-11-26 14:21:07 +01:00
|
|
|
// Card variants
|
|
|
|
|
2015-10-29 13:44:41 +01:00
|
|
|
@mixin card-variant($background, $border) {
|
|
|
|
background-color: $background;
|
|
|
|
border-color: $border;
|
2016-05-12 05:32:20 +02: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 14:33:54 +01:00
|
|
|
border-color: $color;
|
2017-04-09 06:03:54 +02:00
|
|
|
|
|
|
|
.card-header,
|
|
|
|
.card-footer {
|
|
|
|
background-color: transparent;
|
|
|
|
border-color: $color;
|
|
|
|
}
|
2015-11-26 14:21:07 +01:00
|
|
|
}
|
2015-10-29 13:44:41 +01:00
|
|
|
|
|
|
|
//
|
|
|
|
// Inverse text within a card for use with dark backgrounds
|
|
|
|
//
|
|
|
|
|
2017-06-26 03:30:24 +02:00
|
|
|
@mixin card-dark {
|
2016-11-28 22:22:51 +01:00
|
|
|
color: rgba(255,255,255,.65);
|
|
|
|
|
2015-10-29 13:44:41 +01:00
|
|
|
.card-header,
|
|
|
|
.card-footer {
|
2016-11-28 08:12:03 +01:00
|
|
|
background-color: transparent;
|
2016-05-12 05:32:20 +02: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-12 05:41:33 +02:00
|
|
|
.card-subtitle,
|
2016-05-12 05:32:20 +02:00
|
|
|
.card-blockquote .blockquote-footer {
|
2015-10-29 13:44:41 +01:00
|
|
|
color: rgba(255,255,255,.65);
|
|
|
|
}
|
|
|
|
.card-link {
|
|
|
|
@include hover-focus {
|
2017-06-26 03:30:24 +02:00
|
|
|
color: $card-dark-link-hover-color;
|
2015-10-29 13:44:41 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|