Your IP : 3.139.80.212


Current Path : /home/bitrix/ext_www/dev.ballu.in.ua/promo/transformer-system/l/
Upload File :
Current File : /home/bitrix/ext_www/dev.ballu.in.ua/promo/transformer-system/l/article.18.calculator.less

.col-stuff(@bgStep,@cStep,@cBord,@bgItem,@cTtl,@cDesc,@cPrice) {
  .step {
    &:after {
      background-color: @cBord;
    }
    &-numb {
      background-color: @bgStep;
      color: @cStep;
    }
  }
  .item {
    background-color: @bgItem;
    .ttl {
      color: @cTtl;
    }
    .desc {
      color: @cDesc;
    }
    .price {
      color: @cPrice;
    }
  }
}

.step {
  margin-bottom: 1.5em;
  position: relative;
    &:after{
      position: absolute;
      content: '';
      right: 0;
      bottom: 2px;
      left: 3.3em;
      height: 2px;

    }
  &-numb {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    border-radius: 50%;
    font-weight: 400;
    .font(1em,1em);
    .wh(4em);
    padding-top: 0.8em;
  }
  &-ttl {
    display: inline-block;
    vertical-align: bottom;
    .font(1.375em,normal);
    padding: 0 0 4px 1em;
    color: @lead;
  }
}

.calculator {
  &-ttl {
    .caps;
    .font(2.75em, 1em);
    margin-bottom: 1em;
    margin-top: 1em;
  }
  .item {
    position: relative;
    border: 1px solid #dbdbdb;
    display: flex;
    padding: 1em 1em 2em;
    margin-bottom: 0.5em;
    justify-content: space-between;
    cursor: pointer;
    min-height: 220px;
    &:last-child{
      margin-bottom: 0;
    }
    .chars {
      list-style: none;
      margin: 1em auto;
      padding: 1em 0;
      border-top:1px solid @lead;
      border-bottom:1px solid @lead;
      li {
        display: inline-block;
        width: 48%;
        .font(0.9em,1em);
        &:nth-child(2n){
          font-weight: 400;
          .font(1.1em,1em);
          white-space: nowrap;
        }
      }
    }
    .pic {

    }
    .ttl {
      .font(1.3em,1em);
      font-weight: 400;
    }
    .desc {
      p {
        .font(0.9em,1em);
      }
    }
    .price {
      .font(1.8em,1em);
    }
  }
  .radio, .check {
    position: absolute;
    bottom: 0.5em;
    left: 0.5em;
  }
  &-cols {
    > .col {
      .setCol(25%);
      padding: 0 0.5em;
      &:first-child {

      }

    }
  }

  &-modules {
    .col-stuff(@yellow, @white, @yellow, @yellow, @green, @lead, @white);
    .item {
      align-items: center;
    }
    .pic {
      width: 52%;
    }
    .desc {
      width: 40%;
    }
  }
  &-control {
    .col-stuff(@green, @white, @green, @green, @yellow, @white, @white);
    .item {
      align-items: flex-start;
    }
    .pic {
      width: 40%;
      img {
        margin-bottom: 2em;
      }
    }
    .desc {
      width: 60%;
    }
    .ttl {
      margin-bottom: 1em;
    }
    .price {
      text-align: right;
    }
  }
  &-acc {
    .col-stuff(@lightgrey, @lead, @lead, @lightgrey, @lead, @black, @grey);
    .item {
      align-items: center;
      &-sm {
        .pic {
          width: 20%;
        }
        .desc{
          width: 70%;
        }
      }
      &-lg {
        .pic {
          width: 60%;
        }
        .desc{
          width: 45%;
        }
      }
    }
    .ttl {
      margin-bottom: 1em;
    }
    .price {
      margin-top: 1em;
    }
  }
  &-order {
    .step {
      &:after {
        background-color: @lead;
      }
      &-numb {
        color: @lead;
        border: 1px solid @lead;
      }
    }
  }
  .btns {
    margin-bottom: 4em;
  }
  .btn {
    margin-bottom: 0.6em;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .result {
    &-sum {
      color: @green;
      font-size: 2em;
      margin-bottom: 1em;
    }
    &-img {
      margin: 0 auto 3em;
    }
    &-essentials, &-options {
      padding: 0;
      margin: 0;
      list-style: none;
      font-size: 1.6em;
      span {
        color: @green;
      }
    }
    &-essentials {
      margin-bottom: 1em;
    }
    &-options{

      &-ttl {
        color: @black;
        font-size: 1.6em;
      }
    }
  }
}