2016-09-22 19:30:09 +00:00
|
|
|
@import "../utilities/variables.sass"
|
|
|
|
|
2016-03-25 13:38:40 +00:00
|
|
|
.card-header
|
|
|
|
align-items: stretch
|
2016-05-05 23:23:00 +00:00
|
|
|
box-shadow: 0 1px 2px rgba($black, 0.1)
|
2016-03-25 13:38:40 +00:00
|
|
|
display: flex
|
2016-03-26 12:32:09 +00:00
|
|
|
min-height: 40px
|
2016-03-25 13:38:40 +00:00
|
|
|
|
|
|
|
.card-header-title
|
2016-03-26 12:32:09 +00:00
|
|
|
align-items: flex-start
|
2016-03-25 13:38:40 +00:00
|
|
|
color: $text-strong
|
|
|
|
display: flex
|
2016-07-31 10:45:56 +00:00
|
|
|
flex-grow: 1
|
2016-03-25 13:38:40 +00:00
|
|
|
font-weight: bold
|
2016-03-26 12:32:09 +00:00
|
|
|
padding: 10px
|
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
|
|
|
|
width: 40px
|
2016-03-25 13:38:40 +00:00
|
|
|
|
2016-01-24 00:03:43 +00:00
|
|
|
.card-image
|
|
|
|
display: block
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
.card-content
|
|
|
|
padding: 20px
|
|
|
|
.title + .subtitle
|
|
|
|
margin-top: -20px
|
|
|
|
|
|
|
|
.card-footer
|
2016-03-26 12:32:09 +00:00
|
|
|
border-top: 1px solid $border
|
|
|
|
align-items: stretch
|
|
|
|
display: flex
|
|
|
|
|
|
|
|
.card-footer-item
|
2016-03-25 13:38:40 +00:00
|
|
|
align-items: center
|
|
|
|
display: flex
|
2016-07-31 10:45:56 +00:00
|
|
|
flex-grow: 1
|
2016-03-25 13:38:40 +00:00
|
|
|
justify-content: center
|
2016-01-24 00:03:43 +00:00
|
|
|
padding: 10px
|
2016-03-26 12:32:09 +00:00
|
|
|
&:not(:last-child)
|
|
|
|
border-right: 1px solid $border
|
2016-01-26 00:02:38 +00:00
|
|
|
|
|
|
|
.card
|
2016-06-29 22:59:48 +00:00
|
|
|
background-color: $white
|
2016-05-05 23:23:00 +00:00
|
|
|
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
|
2016-04-10 15:56:27 +00:00
|
|
|
color: $text
|
2016-01-27 00:24:05 +00:00
|
|
|
max-width: 100%
|
2016-01-26 00:02:38 +00:00
|
|
|
position: relative
|
|
|
|
width: 300px
|
|
|
|
.media:not(:last-child)
|
|
|
|
margin-bottom: 10px
|
2016-04-10 15:27:27 +00:00
|
|
|
// Modifiers
|
2016-03-26 12:32:09 +00:00
|
|
|
&.is-fullwidth
|
|
|
|
width: 100%
|
2016-04-10 15:27:27 +00:00
|
|
|
&.is-rounded
|
2016-06-29 22:25:27 +00:00
|
|
|
border-radius: $radius-large
|