Sha256: 11e4e214c0be1ee6fe6614d14b62c36c73377222f133702baed6fc675895b240

Contents?: true

Size: 1.08 KB

Versions: 4

Compression:

Stored size: 1.08 KB

Contents

$break-phone: 768px;
$break-tablet: 992px;

.quick-add-to-cart-form {
  margin-top: 5px;

  .fields {
    height: 33px;

    .add-quantity, .add-button {
      height: 100%;
      display: inline-block;
    }

    .add-quantity {
      width: 50px;
      margin-right: 0;
    }

    .add-button {
      width: 105px;
    }
  }

}

@media screen and (max-width: $break-tablet) {
  .quick-add-to-cart-form {

    .fields {
      .add-quantity {
        width: 35px;
        margin-right: 0;
      }

      .add-button {
        width: 85px;
        font-size: 12px;
      }
    }
  }
}

@media screen and (max-width: $break-phone) {
  .quick-add-to-cart-form {

    .fields {
      .add-quantity {
        width: 35px;
        margin-right: 0;
      }

      .add-button {
        width: 85px;
        font-size: 12px;
      }
    }
  }
}

.quick-cart-flash {
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 20px 0;
  font-size: 20px;
  color: white;
  overflow: hidden;

  &.success {
    background: #8dba53;
  }

  &.error {
    background: #e45353;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_quick_cart-2.2.3 app/assets/stylesheets/spree/frontend/quick_cart.scss
spree_quick_cart-2.2.2 app/assets/stylesheets/spree/frontend/quick_cart.scss
spree_quick_cart-2.2.1 app/assets/stylesheets/spree/frontend/quick_cart.scss
spree_quick_cart-2.1.13 app/assets/stylesheets/store/quick_cart.scss