2017-07-13 18:44:35 +00:00
|
|
|
$card: $text !default
|
|
|
|
$card-background: $white !default
|
|
|
|
$card-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
|
|
|
|
|
|
|
|
$card-header: $text-strong !default
|
|
|
|
$card-header-shadow: 0 1px 2px rgba($black, 0.1) !default
|
|
|
|
$card-header-weight: $weight-bold !default
|
|
|
|
|
|
|
|
$card-footer-border: $border !default
|
|
|
|
|
|
|
|
.card
|
|
|
|
background-color: $card-background
|
|
|
|
box-shadow: $card-shadow
|
|
|
|
color: $card
|
|
|
|
max-width: 100%
|
|
|
|
position: relative
|
|
|
|
|
2016-03-25 13:38:40 +00:00
|
|
|
.card-header
|
|
|
|
align-items: stretch
|
2017-07-13 18:44:35 +00:00
|
|
|
box-shadow: $card-header-shadow
|
2016-03-25 13:38:40 +00:00
|
|
|
display: flex
|
|
|
|
|
|
|
|
.card-header-title
|
2016-10-30 17:35:39 +00:00
|
|
|
align-items: center
|
2017-07-13 18:44:35 +00:00
|
|
|
color: $card-header
|
2016-03-25 13:38:40 +00:00
|
|
|
display: flex
|
2016-07-31 10:45:56 +00:00
|
|
|
flex-grow: 1
|
2017-07-13 18:44:35 +00:00
|
|
|
font-weight: $card-header-weight
|
2016-10-30 17:35:39 +00:00
|
|
|
padding: 0.75rem
|
2016-03-25 13:38:40 +00:00
|
|
|
|
|
|
|
.card-header-icon
|
2016-03-26 12:32:09 +00:00
|
|
|
align-items: center
|
2016-03-25 13:38:40 +00:00
|
|
|
cursor: pointer
|
2016-03-26 12:32:09 +00:00
|
|
|
display: flex
|
|
|
|
justify-content: center
|
2016-10-30 17:35:39 +00:00
|
|
|
padding: 0.75rem
|
2016-03-25 13:38:40 +00:00
|
|
|
|
2016-01-24 00:03:43 +00:00
|
|
|
.card-image
|
|
|
|
display: block
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
.card-content
|
2016-10-30 17:35:39 +00:00
|
|
|
padding: 1.5rem
|
2016-01-24 00:03:43 +00:00
|
|
|
|
|
|
|
.card-footer
|
2017-07-13 18:44:35 +00:00
|
|
|
border-top: 1px solid $card-footer-border
|
2016-03-26 12:32:09 +00:00
|
|
|
align-items: stretch
|
|
|
|
display: flex
|
|
|
|
|
|
|
|
.card-footer-item
|
2016-03-25 13:38:40 +00:00
|
|
|
align-items: center
|
|
|
|
display: flex
|
2016-12-23 12:45:52 +00:00
|
|
|
flex-basis: 0
|
2016-07-31 10:45:56 +00:00
|
|
|
flex-grow: 1
|
2016-10-30 17:35:39 +00:00
|
|
|
flex-shrink: 0
|
2016-03-25 13:38:40 +00:00
|
|
|
justify-content: center
|
2016-10-30 17:35:39 +00:00
|
|
|
padding: 0.75rem
|
2016-03-26 12:32:09 +00:00
|
|
|
&:not(:last-child)
|
2017-07-13 18:44:35 +00:00
|
|
|
border-right: 1px solid $card-footer-border
|
|
|
|
|
|
|
|
// Combinations
|
2016-01-26 00:02:38 +00:00
|
|
|
|
|
|
|
.card
|
|
|
|
.media:not(:last-child)
|
2016-10-30 17:35:39 +00:00
|
|
|
margin-bottom: 0.75rem
|