vendor/assets/stylesheets/bulma/sass/components/card.sass in diproart-bulma-rails-0.6.1.pre.3 vs vendor/assets/stylesheets/bulma/sass/components/card.sass in diproart-bulma-rails-0.7.0
- old
+ new
@@ -1,23 +1,28 @@
$card-color: $text !default
$card-background-color: $white !default
$card-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
+$card-header-background-color: none !default
$card-header-color: $text-strong !default
$card-header-shadow: 0 1px 2px rgba($black, 0.1) !default
$card-header-weight: $weight-bold !default
+$card-content-background-color: none !default
+
+$card-footer-background-color: none !default
$card-footer-border-top: 1px solid $border !default
.card
background-color: $card-background-color
box-shadow: $card-shadow
color: $card-color
max-width: 100%
position: relative
.card-header
+ background-color: $card-header-background-color
align-items: stretch
box-shadow: $card-header-shadow
display: flex
.card-header-title
@@ -40,12 +45,14 @@
.card-image
display: block
position: relative
.card-content
+ background-color: $card-content-background-color
padding: 1.5rem
.card-footer
+ background-color: $card-footer-background-color
border-top: $card-footer-border-top
align-items: stretch
display: flex
.card-footer-item