Sha256: b95542ee6458037c0c5a28fc2cb95cf497eefa711f08eb69161b6015898c1998

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

.cart-icon {
  $self: &;
  position: relative;
  display: inline-block;
  padding-right: 7%;

  &,
  &:hover {
    color: $header-font-color;
  }

  &-count {
    $size: 19px;
    $border-width: 1px;
    border-radius: $size / 2;
    border: 1px solid $header-background;
    color: $header-background;
    background: $header-font-color;
    position: absolute;
    height: $size;
    min-width: $size;
    right: 0;
    bottom: -15%;
    text-align: center;
    line-height: $size - $border-width * 2;
    padding: 0 2px;
    font-size: font-px-to-rem(12px);
    display: none;
  }
  &--xl {
    #{$self}-count {
      $size: 26px;
      $border-width: 2px;
      border-radius: $size / 2;
      border-width: $border-width;
      height: $size;
      min-width: $size;
      right: 0;
      bottom: -15%;
      line-height: $size - $border-width * 2;
      font-size: font-px-to-rem(15px);
    }
  }
  &--visible-count {
    #{$self}-count {
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}

.cart-checkout-btn {
  font-size: 1.375rem;
  height: 65px;
  padding: 16px 28px;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_frontend-4.1.0.rc3 app/assets/stylesheets/spree/frontend/views/spree/shared/cart.scss
spree_frontend-4.1.0.rc2 app/assets/stylesheets/spree/frontend/views/spree/shared/cart.scss
spree_frontend-4.1.0.rc1 app/assets/stylesheets/spree/frontend/views/spree/shared/cart.scss