//覆盖一些element-ui样式
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

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

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

//dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

.el-collapse {
  width: 100%;

  &-item__header {
    font-weight: bold;
    font-weight: bold;
    font-size: 16px;
    color: #5f7da3;
  }
}

.el-tabs {
  width: 100%;
}

.el-form {
  &--inline {
    .el-form-item {
      margin-right: 20px;
    }
  }
}

.el-table {
  thead th {
    color: #333;
    background: #F2F6FF;
    margin: 8px 0;

    .cell {
      text-align: center;
    }
  }

  .table-total-row td {
    background: $gray !important;
    color: #000;
    font-weight: bold;
  }

  .table-total-row1 td {
    background: lighten($gray, 2%) !important;
  }

  .table-total-row2 td {
    background: lighten($gray, 4%) !important;
  }

  .table-total-row3 td {
    background: lighten($gray, 6%) !important;
  }

  .el-table__row {
    &.is-center {
      text-align: center;
    }
    &.is-right {
      text-align: right;
    }
  }
}

.el-button {
  border-radius: 8px;
}