Sha256: 87bc9b777f79a701513c4d5df6971ec072ea944b2cab85d3abfab3fbc62d3c45

Contents?: true

Size: 1.32 KB

Versions: 7

Compression:

Stored size: 1.32 KB

Contents

$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-color: $text-strong !default
$card-header-shadow: 0 1px 2px rgba($black, 0.1) !default
$card-header-weight: $weight-bold !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
  align-items: stretch
  box-shadow: $card-header-shadow
  display: flex

.card-header-title
  align-items: center
  color: $card-header-color
  display: flex
  flex-grow: 1
  font-weight: $card-header-weight
  padding: 0.75rem
  &.is-centered
    justify-content: center

.card-header-icon
  align-items: center
  cursor: pointer
  display: flex
  justify-content: center
  padding: 0.75rem

.card-image
  display: block
  position: relative

.card-content
  padding: 1.5rem

.card-footer
  border-top: $card-footer-border-top
  align-items: stretch
  display: flex

.card-footer-item
  align-items: center
  display: flex
  flex-basis: 0
  flex-grow: 1
  flex-shrink: 0
  justify-content: center
  padding: 0.75rem
  &:not(:last-child)
    border-right: $card-footer-border-top

// Combinations

.card
  .media:not(:last-child)
    margin-bottom: 0.75rem

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
bulma-sass-0.6.2 app/assets/stylesheets/sass/components/card.sass
bulma-rails-0.6.2 app/assets/stylesheets/sass/components/card.sass
diproart-bulma-rails-0.6.1.pre.3 vendor/assets/stylesheets/bulma/sass/components/card.sass
bulma-rails-0.6.1 app/assets/stylesheets/sass/components/card.sass
bulma-sass-0.6.0 app/assets/stylesheets/sass/components/card.sass
bulma-rails-0.6.0 app/assets/stylesheets/sass/components/card.sass
bulma-rails-0.5.3 app/assets/stylesheets/sass/components/card.sass