use-on-demand
Version:
93 lines (79 loc) • 1.35 kB
text/less
/*
覆盖一些element-ui样式
*/
.el-breadcrumb__inner, .el-breadcrumb__inner a {
font-weight: 400 ;
}
.el-table {
th > .cell {
word-break: keep-all;
word-wrap: break-word;
}
}
.el-dialog {
margin-bottom: 30px;
}
.el-upload {
input[type="file"] {
display: none ;
}
}
.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;
}
}
}
//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
transform: none;
left: 0;
position: relative;
margin: 0 auto;
}
//dropdown
.el-dropdown-menu {
a {
display: block
}
}
/* 修改element-ui table样式 start */
.element-table-list{
overflow: visible;
.el-table__header-wrapper{
position: sticky;
top: 0;
z-index: 100;
}
.el-table__fixed-left,
.el-table__fixed-right{
z-index: 100;
}
.el-table__empty-block{
height: 180px;
}
}
/* 修改element-ui table样式 end */