wui-print
Version:
前端打印插件,包含打印设计器、打印表单、打印API
97 lines (96 loc) • 2.19 kB
text/less
.print-complex-table {
position: relative;
width: 100%;
td {
position: relative;
& > .print-complex-table_td-slash {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: hidden;
._p-c-t_td-slash_slash {
position: absolute;
display: block;
height: 1px;
background-color: #000 ;
}
&.print-complex-table_td-slash--top-left {
._p-c-t_td-slash_slash {
top: 0;
left: 0;
}
._p-c-t_td-slash_left {
position: absolute;
left: 10px;
bottom: 5px;
}
._p-c-t_td-slash_right {
position: absolute;
right: 10px;
top: 5px;
}
}
&.print-complex-table_td-slash--bottom-left {
._p-c-t_td-slash_slash {
bottom: 0;
left: 0;
}
._p-c-t_td-slash_left {
position: absolute;
left: 10px;
top: 5px;
}
._p-c-t_td-slash_right {
position: absolute;
right: 10px;
bottom: 5px;
}
}
}
}
tr {
td {
word-break: break-all;
}
}
}
.print-complex-table_pagination {
width: 100%;
height: 20px;
line-height: 20px;
text-align: center;
}
.print-container--auto-continue-preview {
.print-complex-table {
border-top: 1px solid #000;
border-left: 1px solid #000;
overflow: hidden;
tr {
& > td {
border-bottom: 1px solid #000;
border-right: 1px solid #000;
}
}
}
}
.print-container--table-pagination-preview {
.print-complex-table {
border-top: 1px solid #000;
border-left: 1px solid #000;
overflow: hidden;
tr {
& > td {
border-bottom: 1px solid #000;
border-right: 1px solid #000;
}
}
}
}
@import url(fixed-continue.less);
@import url(auto-continue-preview.less);
@import url(auto-continue-span.less);
@import url(auto-continue-not-span.less);
@import url(pagination.less);
@import url(pagination-preview.less);