@import '~antd/lib/style/themes/default.less'; .ant-table.ant-table-middle .ant-table-title { padding: 0; border: none; } .ant-table.ant-table-middle .ant-table-title .ant-row { padding: 12px 8px; background-color: @descriptions-bg; border: 1px solid #f0f0f0; border-bottom: 0; border-radius: 2px 0 0 2px; // background-color: @descriptions-bg; } .ant-pro-table .ant-col.ant-col-6[style] { padding-left: 0 !important; } .report-table-card .ant-pro-table-search { margin-bottom: 0 !important; } // 报表头部汇总描述 .commity-sale-description.ant-descriptions-small .ant-descriptions-header { margin-bottom: 10px; } .commity-sale-description.ant-descriptions-small .ant-descriptions-row > th, .commity-sale-description.ant-descriptions-small .ant-descriptions-row > td{ padding-bottom: 4px; } .saleflow-row { cursor: pointer; } .report-title { color: @primary-color !important; text-align: center; } // 嵌套表格父级展开时 行样式 .expanded { background-color: #f3fbff; } @page { margin: 20mm 8mm; // transform: scale(0.7); size: 'A4'; } @media print { .ant-table.ant-table-middle .ant-table-title .ant-row { border-color: #666 !important; } * { color: #000 !important; border-color: #666 !important; } .ant-pro-table-list-toolbar-container { justify-content: center !important; } .ant-pro-table-list-toolbar-title { font-weight: bolder !important; font-size: 40px !important; } .ant-space.ant-space-horizontal.ant-space-align-center.ant-pro-table-list-toolbar-right { display: none; } .ant-pagination { display: none; } .ant-table-container .ant-table-summary { display: none; } .ant-table-container + .ant-table-container { margin-top: 20mm; } .ant-table-container:nth-child(n + 1) table th { border-top: 1px solid #666 !important; } .ant-table-container:nth-last-child(1) .ant-table-summary { display: contents; } .pagebreak { display: block; margin-top: 20mm; page-break-before: auto; } .ant-table-body[style]{ max-height: none !important; } }