Sha256: 3d328f681eebea956e8ea32c1887736cc082d8f9441f3f9e83d0b9da94f1ad03

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

Stored size: 454 Bytes

Contents

.product-card {
  &_image {
    transition: transform .2s;

    img {
      width: 100%;
    }
  }

  &_header {
    text-align: center;
    position: relative;

    h2 {
      font-weight: 600;
      margin: 0;
    }

    a {
      text-decoration: none;
    }
  }

  &_price {
    color: $color_accent;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1rem;
    text-align: center;
  }

  &:hover &_image {
    transform: scale(1.1);
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/assets/stylesheets/spree/frontend/components/products/_product_card.scss