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


// 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
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
// 时间选择器移动端 适配begin
@media (max-width: 768px) {
  .el-picker-panel__sidebar {
    position: relative !important;
    width: 100% !important;
  }
  .el-date-range-picker .el-picker-panel__body {
    min-width: 100% !important;
    margin-left: 0 !important;
  }

  .el-date-range-picker__content {
    width: 100% !important;
  }

  .el-date-range-picker {
    width: 100vw !important;
    top: 0 !important;
    margin-top: 0 !important;
  }

  .el-date-range-picker__content {
    margin: 0px;
    padding: 5px;
  }

  .el-date-range-picker__content.is-left {
    padding-bottom: 0px;
  }

  .el-date-range-picker__content.is-right {
    padding-top: 0px;
  }

  .el-date-table th {
    padding: 0px;
  }

  .el-date-table td {
    padding: 0px;
  }
}
@media (max-width: 720px) {
  .el-message-box {
    width: 320px !important;
  }
}
