vxe-table-select-area
Version:
一个基于 vxe-table 的可区域选中复制、粘贴的组件
89 lines (88 loc) • 1.51 kB
CSS
/*font*/
/*size*/
/*icon*/
/*color*/
/*input/radio/checkbox*/
/*popup*/
/*table*/
/*filter*/
/*menu*/
/*loading*/
/*validate*/
/*grid*/
/*toolbar*/
/*tooltip*/
/*pager*/
/*modal*/
/*checkbox*/
/*radio*/
/*button*/
/*input*/
/*textarea*/
/*form*/
/*select*/
/*switch*/
/*pulldown*/
.vxe-grid {
position: relative;
}
.vxe-grid.is--loading:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
background-color: rgba(255, 255, 255, 0.5);
}
.vxe-grid.is--loading > .vxe-table .vxe-loading {
background-color: transparent;
}
.vxe-grid.is--maximize {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 0.5em 1em;
background-color: #fff;
}
.vxe-grid .vxe-body--row.row--pending {
color: #f56c6c;
text-decoration: line-through;
cursor: no-drop;
}
.vxe-grid .vxe-body--row.row--pending .vxe-body--column {
position: relative;
}
.vxe-grid .vxe-body--row.row--pending .vxe-body--column:after {
content: "";
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 0;
border-bottom: 1px solid #f56c6c;
z-index: 1;
}
.vxe-grid .vxe-grid--form-wrapper,
.vxe-grid .vxe-grid--top-wrapper,
.vxe-grid .vxe-grid--bottom-wrapper {
position: relative;
}
.vxe-grid {
font-size: 14px;
}
.vxe-grid.size--medium {
font-size: 14px;
}
.vxe-grid.size--small {
font-size: 13px;
}
.vxe-grid.size--mini {
font-size: 12px;
}