Table.less 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .table {
  2. &.noBorder {
  3. :global {
  4. .ant-table-thead > tr > th {
  5. border: none;
  6. }
  7. .ant-table-tbody > tr > td {
  8. border: none;
  9. }
  10. }
  11. }
  12. :global {
  13. .ant-table,
  14. .ant-pagination,
  15. .ant-select {
  16. font-style: 12px;
  17. }
  18. .ant-table-fixed-header .ant-table-scroll .ant-table-header {
  19. margin-bottom: 0 !important;
  20. padding-bottom: 0 !important;
  21. background: transparent !important;
  22. overflow-x: hidden !important;
  23. overflow-y: scroll !important;
  24. }
  25. .ant-table-thead > tr {
  26. background: transparent !important;
  27. }
  28. .ant-table-body {
  29. background: transparent !important;
  30. margin: 0 !important;
  31. }
  32. .ant-table-tbody > tr > td {
  33. word-break: break-all;
  34. }
  35. .react-resizable-handle {
  36. position: absolute;
  37. width: 4px;
  38. height: 100%;
  39. padding: 0;
  40. bottom: 0;
  41. right: 0;
  42. cursor: col-resize;
  43. background: none;
  44. }
  45. .ant-table-placeholder {
  46. display: none;
  47. }
  48. }
  49. .selectedRow {
  50. background-color: #d2eafb;
  51. // background-color: transparent;
  52. }
  53. .unSelectedRow {
  54. background-color: transparent;
  55. }
  56. .headerIcon {
  57. font-size: 14px;
  58. line-height: 14px;
  59. margin: 0 8px;
  60. vertical-align: middle;
  61. cursor: pointer;
  62. }
  63. }
  64. .select {
  65. background-color: #1890ff!important;
  66. color: #fff!important;
  67. }