Sha256: 98cb36e81a74250f45191f791bb4b16a0f48d07498a7e1b0b3ab030bf8e1dc2f

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 KB

Contents

.teaser--assets
  .teaser__container
    +display(flex)
    +flex-direction(row)
    +flex-wrap(wrap)

  .teaser__item
    +display(flex)
    +span-columns(6)
    +flex(0 1 auto)
    +omega(2n)

  .teaser__img
    position: relative
    margin-bottom: space(.5)
    overflow: hidden

    img
      display: block

  .teaser__content
    display: block
    width: 100%
    position: absolute
    bottom: 0
    margin-bottom: 0
    padding: space(1)
    font-size: rem(16)
    background-color: rgba($white, 0.5)
    +transform(translate3d(0,100%,0))
    +transition(transform 0.35s)

  .teaser__btn
    display: block
    margin: 0
    font: 0/0 a
    text-shadow: none

// ----------------------------------------------------------
// STATES
// ----------------------------------------------------------
.teaser--assets
  .teaser__link:hover
    .teaser__content
      +transform(translate3d(0,0,0))

// ----------------------------------------------------------
// NO CSS TRANSFORM Fallback
// ----------------------------------------------------------
.no-csstransforms3d
  .teaser--assets
    .teaser__content
      display: none

    .teaser__link:hover
      .teaser__content
        display: block

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
partystreusel-2.0.0 styleguide/source/stylesheets/partystreusel/small/modules/_teaser--assets.sass
partystreusel-1.2.0 styleguide/source/stylesheets/partystreusel/small/modules/_teaser--assets.sass