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



.el-menu--vertical {
  .el-menu--popup {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
  }

  .menu-wrapper.nest-menu .el-menu-item {
    background-color: #fff !important;
    height: 36px !important;
    line-height: 36px !important;

    svg {
      color: #515a6e !important;
    }

    span {
      color: #515a6e !important;
    }
  }

  .menu-wrapper.nest-menu .el-menu-item.is-active {
    background-color: #f3f3f3 !important;
  }

  .menu-wrapper.nest-menu .el-menu-item:hover {
    background-color: #f3f3f3 !important;
  }

  .el-menu--popup-right-start {
    background-color: #fff !important;
  }
}