Sha256: 6a17f57c80afde17297f97fb50bd126cc65597faffb0b790dba8213bf4744a88

Contents?: true

Size: 1.76 KB

Versions: 14

Compression:

Stored size: 1.76 KB

Contents

//Add your custom bootstrap variables here, see https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_variables.scss for full list of variables.

@import "bootstrap-sprockets";
@import "variables";
@import "bootstrap";

// -- Spree Custom Header and Footer ---------------------
#spree-header {
  background-color: $brand-primary;
  margin-bottom: $line-height-computed;

  #header {
    background: rgba($gray-darker, 0.4);
    padding: $line-height-computed 0;
  }

  #logo {
    margin-bottom: 10px;

    img {
      max-width: 100%;
      max-height: 50px;
    }
  }

  .nav a {
    color: white;

    &:hover, &:focus {
      background: rgba($gray-darker, 0.4);
    }
  }

  .navbar {
    border: 0;
    margin-bottom: 0;
  }
}

#spree-footer {
  background: $gray-dark;
  padding-top: $padding-base-horizontal;
  margin-top: $line-height-computed;
  color: white;
}

// -- Spree Layout Custom Rules -------------------------

.alert-notice { @extend .alert-success; }
.alert-error, .alert-registration_error { @extend .alert-danger; }
.alert-alert { @extend .alert-info; }

.product-body {
  height: 170px;
}

.progress-steps {
  margin-top: $line-height-computed;
}

h1 {
  margin-bottom: 30px;
}

// Center cart line items
table {
  &.table > tbody > tr {
    &.line-item td, &.stock-item td {
      vertical-align: middle;
    }
  }

  &#line-items {
    > tbody, > tfoot {
      > tr > td {
        vertical-align: middle;

        &.order-qty {
          text-align: center;
        }
      }
    }
  }
}

// Footer links
#footer-left a {
  color: lighten($brand-primary, 20);

  &:hover {
    color: lighten($brand-primary, 10);
  }
}

// Updated credit-card image
#credit-card-image {
  margin-top: -10px;
}

.existing-credit-card-list td {
  padding: 5px;
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
spree_frontend-3.2.9 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.8 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.7 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.6 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.5 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.4 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.3 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.2 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.3.0.rc1 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.1 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.0 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.0.rc3 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.0.rc2 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.2.0.rc1 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss