// 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;
    }
  }
}
.el-input__wrapper{
  background: #343744 !important;
  border: none !important;
  border-radius: 8px !important;
  height: 36px;
  font-size: 15px;
  color: #96A0B5 !important;
  box-shadow: none !important;
}
// 输入框 下拉框 搜索栏
.el-input__wrapper:hover {
  box-shadow: none !important;
  }
.el-select {
    border:none !important;
   width:140px !important;
    // 修改el-select的输入框的border 
    --el-border-color-hover: #343744!important;
    --el-border-color: #343744!important;
   
  }
.el-input__wrapper {
    background: #343744 !important;
    border: none !important;
    border-radius: 8px !important;
    height: 36px !important;
    font-size: 15px;
    color: #96A0B5 !important;
    box-shadow: none !important;
  }
 .el-select__wrapper.is-focused {
  box-shadow: none !important;
  }
 .el-select__wrapper {
    background: #343744 !important;
    color: #96A0B5 !important;
    border-radius: 8px !important;
    height: 36px !important;
    width: 140px;
    font-size: 15px;
    border: none !important;
    border:none !important;
  }
  .el-input__wrapper {
    background: #343744 !important;
    color: #96A0B5 !important;
    border-radius: 8px !important;
    height: 36px !important;
    border: none;
    box-shadow: none !important;
    
  }
  .el-select__placeholder {
    color: #96A0B5 !important;
  }
// to fixed https://github.com/ElemeFE/element/issues/2461
.el-overlay-dialog{
  width:100%!important;
  height:100%!important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  border-radius: 12px!important;
  background: #292C38!important;
  color: #fff!important;
  --el-text-color-regular: #96A0B5!important;
  .el-dialog__title {
    color: #fff!important;
  }
  .el-dialog__header{
    border-bottom: 1px solid #4C4F5F!important;
    margin: 0px!important;
  }
  .el-dialog__headerbtn .el-dialog__close {
    color: #fff!important;
  }
  .el-form-item__label {
    color:rgba(255,255,255,0.6)!important;
  }
}
.el-message-box {
  border-radius: 12px!important;
  background: #292C38!important;
  color: #fff!important;
  border: none!important;
  --el-messagebox-title-color: #fff!important;
  --el-color-info: #fff!important;
  --el-messagebox-content-color: #fff!important;
  --el-color-warning: #FF4C4C;
  
  .el-message-box__header {
    border-bottom: 1px solid #4C4F5F!important;
    padding: 15px 20px!important;
  }
  
  .el-message-box__title {
    color: #fff!important;
    font-size: 16px!important;
    font-weight: normal!important;
  }
  
  .el-message-box__content {
    padding: 20px 48px!important;
    color: #fff!important;
  }
  
  .el-message-box__container {
    display: flex!important;
    align-items: center!important;
  }
  
  .el-message-box__status {
    font-size: 64px!important;
    position: static!important;
    transform: none!important;
    margin-right: 15px!important;
  }
  
  .el-message-box__message {
    padding-left: 0!important;
    color: #fff!important;
    font-size: 16px!important;
  }
  
  .el-message-box__btns {
    padding: 0px 20px 20px!important;
    text-align: right!important;
    
    .el-button {
      border-radius: 8px!important;
      padding: 8px 20px!important;
      margin-left: 10px!important;
      font-size: 15px!important;
      height: 36px!important;
      width: 68px!important;
    }
    
    .el-button--default {
      background-color: #343744!important;
      border-color: #343744!important;
      color: #fff!important;
      
      &:hover {
        background-color: #3F4254!important;
        border-color: #3F4254!important;
      }
    }
    
    .el-button--primary {
      background-color: #347AE2!important;
      border-color: #347AE2!important;
      
      &:hover {
        background-color: #4A7FD5!important;
        border-color: #4A7FD5!important;
      }
    }
  }
  
  .el-message-box__close {
    color: #fff!important;
    font-size: 18px!important;
    
    &:hover {
      color: #5690E7!important;
    }
  }
}
// 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;
}

.el-dropdown .el-dropdown-link{
  color: var(--el-color-primary) !important;
}


