.l-input {
  min-width: 200px;
  max-width: 800px;
  position: relative;
  color:rgb(217,217,217);
  display: inline-block;
  width: auto;
  height: auto;
  //样式初始化
  input {
    outline: none;
    border: none;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 18px;
    padding-right: 25px;
    font-size: 14px;
    flex: 1;
    border: 1px solid rgb(217,217,217);
    transition: all .5s ease;
    border-radius: 4px;
    &:focus {
      border-color: #74baff;
      box-shadow: 0 0 10px rgba(70, 70, 216, 0.352) ;
    }
    &:hover {
      border-color: #74baff;
    }
  }

  //清除的input
  .clearInput {
    position: absolute;
    cursor: pointer;
    right: 5px;
    bottom: 0;
    height: 100%;
    display: flex !important;
    align-items: center;
    font-size: 20px;
    color: rgb(126, 124, 124);
  }
}

.ruler-input {
  border-color: #f56c6c !important;
  &:focus {
    border-color: #f56c6c !important;
    box-shadow: none !important;
  }
  &:hover {
    border-color: #f56c6c !important;
  }
}

.l-input {
  //禁用的input
  .l-input-disabled {
    cursor: not-allowed;
    color: #a8abb2;
    &:hover {
      border-color: #a8abb2;
    }
  }
}


.max-length {
  font-size: 12px;
  position: absolute;
  color: #909399;
  display: flex;
  align-items: center;
  right: 5%;
  bottom: 0;
  top: 0;
}


.l-input-small {
  height: 30px;
}

.l-input-medium {
  height: 34px;
}

.l-input-large {
  height: 38px;
}


.l-input__suffix,
.l-input__prefix {
  position: absolute;
  right: 5px;
  height: 100%;
  top: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 12px;
}

.no-cursor {
  cursor: default;
}



.l-input__prefix {
  position: absolute;
  width: 18px;
  cursor: default;
  left: 5px;
}
