Sha256: d17b2e570d64bd5c6e61102e65488e48f9057ed40c733ed0df3a2ec27ba089fe

Contents?: true

Size: 1.62 KB

Versions: 50

Compression:

Stored size: 1.62 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-background-color: transparent !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: transparent !default

$card-footer-background-color: transparent !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
  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
  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
  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

50 entries across 50 versions & 5 rubygems

Version Path
okf-pub-theme-0.2.24 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.23 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.22 _sass/_bulma-0.7.4/sass/components/card.sass
authz-0.0.5 app/assets/stylesheets/authz/bulma/components/card.sass
authz-0.0.4 app/assets/stylesheets/authz/bulma/components/card.sass
bulma-sass-0.7.4 app/assets/stylesheets/sass/components/card.sass
bulma-sass-0.7.3.1 app/assets/stylesheets/sass/components/card.sass
okf-pub-theme-0.2.21 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.20 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.19 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.18 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.17 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.16 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.15 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.14 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.13 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.11 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.10 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.9 _sass/_bulma-0.7.4/sass/components/card.sass
okf-pub-theme-0.2.8 _sass/_bulma-0.7.4/sass/components/card.sass