12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- @import "~antd/lib/style/themes/default.less";
- @import "../../../utils/utils.less";
- .table {
- :global {
- .ant-table-tbody > tr > td,
- .ant-table-thead > tr > th {
- height: 50px;
- }
- }
- &.motion {
- :global {
- .ant-table-tbody > tr > td,
- .ant-table-thead > tr > th {
- &:nth-child(1) {
- width: 16%;
- }
- &:nth-child(2) {
- width: 18%;
- }
- &:nth-child(3) {
- width: 10%;
- }
- &:nth-child(4) {
- width: 10%;
- }
- &:nth-child(5) {
- width: 10%;
- }
- &:nth-child(6) {
- width: 10%;
- }
- &:nth-child(7) {
- width: 18%;
- }
- &:nth-child(8) {
- width: 8%;
- }
- }
- .ant-table-thead {
- & > tr {
- transition: none;
- display: block;
- & > th {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- }
- }
- }
- .ant-table-tbody {
- & > tr {
- transition: none;
- display: block;
- border-bottom: 1px solid #f5f5f5;
- & > td {
- border-bottom: none;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- }
- &.ant-table-expanded-row-level-1 > td {
- height: auto;
- }
- }
- }
- }
- }
- }
|