element-ui.scss 1.63 KB
Newer Older
花裤衩's avatar
花裤衩 committed
1 2 3 4 5 6
// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}
yanzhongrong's avatar
yanzhongrong committed
7 8 9 10
.el-breadcrumb__item:last-child .el-breadcrumb__inner, .el-breadcrumb__item:last-child .el-breadcrumb__inner a, .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover, .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover,
.app-breadcrumb.el-breadcrumb .no-redirect {
  color: #2066F9!important;
}
Pan's avatar
Pan committed
11 12 13 14 15 16 17 18 19 20
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

花裤衩's avatar
花裤衩 committed
21 22

// to fixed https://github.com/ElemeFE/element/issues/2461
Pan's avatar
Pan committed
23 24 25 26 27 28 29
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

花裤衩's avatar
花裤衩 committed
30
// refine element ui upload
Pan's avatar
Pan committed
31 32 33
.upload-container {
  .el-upload {
    width: 100%;
Pan's avatar
Pan committed
34

Pan's avatar
Pan committed
35 36 37 38 39 40
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}
花裤衩's avatar
花裤衩 committed
41 42

// dropdown
yanzhongrong's avatar
yanzhongrong committed
43 44 45
.el-dropdown {
  color: #fff;
}
花裤衩's avatar
花裤衩 committed
46 47 48 49 50
.el-dropdown-menu {
  a {
    display: block
  }
}
51 52 53 54 55

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
renhanxue's avatar
renhanxue committed
56 57 58 59

.el-pagination {
  margin-top: 20px;
}
yanzhongrong's avatar
yanzhongrong committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73

.el-tree {
  background: rgba(249, 249, 249, 0.39);
}
.el-tree-node__content {
  height: 40px;
}
.el-tree-node__expand-icon {
  color: rgba(0, 98, 255, 0.39);
}

// button 
.el-button--primary {
  color: #fff;
neogcg's avatar
neogcg committed
74
  background: #2066F9 !important;
yanzhongrong's avatar
yanzhongrong committed
75 76 77
  opacity: 1;
  border-radius: 4px;
}
yanzhongrong's avatar
yanzhongrong committed
78 79 80 81 82 83 84 85 86 87 88 89 90 91

.el-menu-item, .el-submenu__title {
  font-size: 16px;
  svg {
    margin-right: 5px;
  }
  i {
    color: #fff;
  }
}
.el-submenu__icon-arrow {
  right: 0;
  top: 53%;
}
yanzhongrong's avatar
yanzhongrong committed
92 93 94 95 96 97 98 99

.el-table__body tr:active > td{
  background-color:#bed5ff !important;
}

.el-table__body tr.hover-row>td {
  background-color:#bed5ff !important;
}