Sha256: 7481144c7e0e267fcc177c5cea55dd3906c94464e5e3d743200f86d441978dc3

Contents?: true

Size: 1.97 KB

Versions: 29

Compression:

Stored size: 1.97 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;
  padding-top: 0.25em;

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

  #logo {
    margin-bottom: 10px;

    img {
      max-width: 100%;
      max-height: 5.5vmax;
    }
  }

  @media (max-width: 767px) {
    .navbar-nav > li > a {
      padding-top: 0;
      padding-bottom: 10px;
      line-height: $line-height-computed;
    }
  }

  .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 { @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;
}

.save-user-address-wrapper {
  display: inline-block;
}

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
spree_frontend-3.7.14.1 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.14 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.13 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.12 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.11 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.10 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.9 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.8 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.7 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.6 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.5 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.4 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.3 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.2 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.1 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.0 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.0.rc3 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.0.rc2 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.7.0.rc1 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss
spree_frontend-3.6.6 app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss