Sha256: ca5c30e823c1b0bf49f394f7d232f3cd96a77b46e2b92119808850b149c2587b

Contents?: true

Size: 1.8 KB

Versions: 39

Compression:

Stored size: 1.8 KB

Contents

#general_fields, #expiry_fields {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

#rules_container, #actions_container {
  position: relative;

  fieldset {
    position: static !important;
  }
}

#actions_container {
  .edit_promotion {
    margin-top: 73px;
  }
}

#promotion-pilicy-select {
  overflow: auto;
}

.promotion-block {
  // padding: 0 5px 5px;
  background-color: lighten($color-border, 5);
  border: 1px solid $color-border;
  border-radius: 3px;
  margin-bottom: 15px;
  position: relative;

  .row {
    margin-bottom: 0;
  }

  .tier {
    position: relative;
    padding-bottom: 10px;

    .remove {
      position: absolute;
      left: -15px;
      top: 10px;

      &:hover {
        color: #c60f13;
      }
    }
  }

  .right-align {
    text-align: right;
  }

  .field {
    padding-bottom: 10px;

    &.alpha {
      margin-left: -1px;
      padding-left: 11px;
    }

    &.omega {
      margin-right: -1px;
      padding-right: 11px;
    }
  }

  &.action-remove {
    background-color: lighten($color-5, 50);
    border-color: lighten($color-5, 45);
    text-decoration: line-through;

    .promotion-title, input[type="text"], input[type="number"],
    .token-input-list {
      border-color: lighten($color-5, 45);
    }
  }

  .add-line-item {
    #add_quantity {
      width: 50px;
      margin-top: 15px;
    }
    button.add {
      min-width: 80px;
      margin-top: 30px;

      &:before {
        padding-right: 5px;
      }
    }
  }

  a.delete {
    position: absolute;
    top: 3px;
    right: 5px;
    cursor: pointer;

    &:hover {
      color: $color-error;
    }
  }
}

.promotion-title {
  text-transform: uppercase;
  text-align: left;
  font-size: 85%;
  border-bottom: 1px solid $color-border;
  padding: 0 10px;

  &.no-text {
    border: none;
    padding-bottom: 0;
  }
}

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
solidus_backend-1.0.7 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.6 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.5 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.4 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.3 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.2 app/assets/stylesheets/spree/backend/sections/_promotions.scss
spree_backend-2.4.10 app/assets/stylesheets/spree/backend/sections/_promotions.scss
spree_backend-2.3.13 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.1 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.0 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.0.rc2 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.0.rc1 app/assets/stylesheets/spree/backend/sections/_promotions.scss
spree_backend-2.4.9 app/assets/stylesheets/spree/backend/sections/_promotions.scss
spree_backend-2.3.12 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.0.pre3 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.0.pre2 app/assets/stylesheets/spree/backend/sections/_promotions.scss
spree_backend-2.4.8 app/assets/stylesheets/spree/backend/sections/_promotions.scss
spree_backend-2.3.11 app/assets/stylesheets/spree/backend/sections/_promotions.scss
solidus_backend-1.0.0.pre app/assets/stylesheets/spree/backend/sections/_promotions.scss
spree_backend-2.4.7 app/assets/stylesheets/spree/backend/sections/_promotions.scss