// cover some element-ui styles

.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;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

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

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.table-wrap {
  .el-pagination__total {
    font-size: 12px;
    color: #222222;
  }
  .el-pager li {
    color: #222222;
    border: none;
    background-color: transparent;
    font-weight: 400;
    &.active {
      min-width: 31px;
      height: 31px;
      color: #4886f8;
      border-radius: 1.5px;
      border: 1px solid #4886f8;
      background-color: #ffffff;
    }
  }
  .btn-prev,
  .btn-next {
    background-color: transparent !important;
    color: #222222;
    .el-icon{
      font-weight: 500;
    }
  }
  .el-pagination__sizes {
    margin: 0 -15px;
  }
  .el-pagination__sizes .el-input__inner {
    font-size: 14px;
    color: #222222;
    border: none;
  }
  .el-select__caret {
    color: #222222 !important;
    font-size: 14px;
    font-weight: 500;
  }
  .pagination-container {
    margin-bottom: 30px;
  }
  .common-table-cnt {
    &::before {
      background-color: #EBEBEB;
    }
    .has-gutter .el-table__cell {
      padding: 9px 0;
      border-bottom: none;
      background-color: #f5f9ff;
    }
    .el-table__header-wrapper th,
    .el-table__fixed-header-wrapper th {
      color: #999999;
      font-size: 14px;
      font-weight: 500;
      line-height: 20px;
    }
    .el-table__body td.el-table__cell {
      padding: 6px 0;
      border-bottom: 1px solid #f2f2f2;
      font-size: 14px;
      font-weight: 400;
      color: #222222;
      line-height: 20px;
    }
    .el-table__empty-block {
      .el-table__empty-text {
        color: #222222;
        font-size: 14px;
      }
    }
  }
}