@import "mixins/mixins";
@import "common/var";

@include b(insert-input) {
  @include e(add-field) {
    height: 34px;
    line-height: 34px;
    background: #f8f8fa;
    border-radius: 4px 4px 0px 0px;
    border: 1px solid #dcdfe6;
    border-bottom: none;
    .bi-iconfont-add-circle-fill {
      margin-left: 12px;
      margin-right: 4px;
    }
    .el-dropdown-link {
      display: flex;
      align-items: center;
      color: #61656f;
      &:hover {
        color: $--color-primary;
      }
    }
  }
  @include e(maxlength){
    float: right;
    margin-right: 12px;
    color:#ccc;
    font-size: 12px;
    &-max{
      color:$--color-danger;
    }
  }
  @include e(textarea) {
    height: 136px;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 0px 0px 4px 4px;
    border: 1px solid #dcdfe6;
    color: #23262e;
    font-size: 14px;
    overflow: auto;
    -webkit-user-modify: read-write-plaintext-only;
    &:focus-visible {
      border: 1px solid #dcdfe6;
      outline: unset;
    }
    .text-var {
      -webkit-user-modify: read-only;
      display: inline-flex;
      align-items: center;
      margin: 4px;
      padding: 4px 6px 4px 10px;
      color: #2c4068;
      font-size: 12px;
      background: #fcfcfc;
      border-radius: 13px;
      border: 1px solid #dcdfe6;
      span {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      i {
        color: #dcdfe6;
        font-size: 14px;
        margin-left: 8px;
        cursor: pointer;
        &:hover {
          color: #5372ec;
        }
      }
    }
  }
}
