@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 {
    max-width: 150px;
    .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 {
    margin: 5px 2px 0 2px;
    height: 100%;
    text-align: center;
    &:last-child {
      text-align: left;
      padding-left: 20px;
      .sign {
        color: @primary-color;
        cursor: pointer;
        vertical-align: middle;
      }
      .sign-explain {
        padding-left: 5px;
        font-size: 13px;
        cursor: pointer;
        &:hover {
          color: @primary-color;
        }
      }
    }
    > button {
      width: 20px;
      height: 20px;
      padding: 0;
      display: inline-block;
    }
  }
  .control-view-item {
    width: 100%;
    .control {
      .multiple-amount {
        display: inline-block;
        margin-right: 20px;
        padding: 4px 0;
        width: 100%;
        &:last-child {
          border-bottom: none;
          font-size: 12px;
          color: #ccc;
        }
        > span {
          &.adjusted {
            text-decoration: line-through;
            padding-left: 10px;
            color: @text-color-disabled;
            zoom: 0.8;
          }
          &:first-child {
            display: inline-block;
          }
          i {
            padding-right: 2px;
            transform: scale(0.7);
            font-weight: bold;
            font-style: normal;
          }
          > strong {
            font-size: 13px;
            font-weight: normal;
            display: inline-block;
            color: #8c8c8c;
          }
        }
      }
    }
  }
}
