@import "../../style/themes/default";
@import "../../style/mixins/index";

@prefix-cls: ~"@{mkui-prefix}-adjust-amount";

.@{prefix-cls} {
  >div {
    display: flex;
  }
  .reset-component;
  font-size: 14px;
  .mkui-input-number {
    width: 100%;
  }
  .adjust-item {
    height: 32px;
    .required {
      &:after {
        display: inline-block !important;
        margin-right: 4px;
        color: #f5222d;
        font-size: 14px;
        font-family: SimSun, sans-serif;
        line-height: 1;
        content: '*';
      }
    }
  }
  .math-sign {
    height: 100%;
    text-align: center;
    i {
      vertical-align: inherit;
      color: @text-color-secondary;
      font-size: 13px;
    }
    &:last-child {
      max-width: 150px;
      text-align: left;
      padding-left: 20px;
      .sign {
        color: #3296fa;
        cursor: pointer;
      }
      .sign-explain {
        padding-left: 10px;
      }
    }
    > button {
      width: 20px;
      height: 20px;
      padding: 0;
      display: inline-block;
    }
  }
  .control-view-item {
    width: 100%;
    height: 32px;
    border-bottom: 1px dashed @border-color-base;
    .control {
      i.symbol {
         font-size: 12px;
         transform: scale(0.8);
         padding-right: 2px;
         font-style: normal;
       }
      .amount-single {
        display: inline-block;
        margin-right: 20px;
        width: 100%;
        line-height: 30px;
        > span {
          &.consume-amount {
            text-decoration: line-through;
            padding-left: 10px;
            color: @text-color-disabled;
            zoom: 0.8;
          }
          &:first-child {
            display: inline-block;
          }
        }
      }
    }
  }
}
