//to reset element-ui default css

/* 改变主题色变量 */
$--color-primary: #1459fc;
$--color-danger: #ff3333;

/* 改变 icon 字体路径变量，必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts';
@import '~element-ui/packages/theme-chalk/src/index';

.hide {
  display: none !important;
}

.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}
.el-dialog__body {
  padding: 30px 40px;
}
//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

.el-input__inner {
  background-color: #f6f6f6;
  border-color: #f6f6f6;
}
.el-select .el-input .el-select__caret.is-reverse {
  color: $--color-primary;
}
.el-select {
  width: 100%;
}

.el-input__inner,
.el-button {
  height: 22px;
  line-height: 22px;
}
.el-button {
  padding: 0 8px;
}
.el-input {
  .el-input__suffix .el-input__icon {
    line-height: 22px;
  }
}
@media screen and (min-width: $bigScreenWidth) {
  .el-input__inner,
  .el-button {
    height: 40px;
    line-height: 1;
    font-size: 14px;
  }
  .el-button {
    font-size: 14px;
    padding: 12px 20px;
  }
  .el-input {
    .el-input__suffix .el-input__icon {
      line-height: 40px;
    }
  }
}
