index.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. @border-color: #cecece4d;
  2. @prefix-cls: ~'@{namespace}-basic-table';
  3. .@{prefix-cls} {
  4. &-form-container {
  5. padding: 16px;
  6. .ant-form {
  7. padding: 12px 10px 6px 10px;
  8. margin-bottom: 16px;
  9. background: #fff;
  10. border-radius: 4px;
  11. }
  12. // .ant-table-wrapper {
  13. // border-radius: 2px;
  14. // }
  15. }
  16. &-row__striped {
  17. td {
  18. background: #fafafa;
  19. }
  20. }
  21. &--inset {
  22. .ant-table-wrapper {
  23. padding: 0;
  24. }
  25. }
  26. .ant-tag {
  27. margin-right: 0;
  28. }
  29. .ant-table-wrapper {
  30. padding: 6px;
  31. background: #fff;
  32. border-radius: 2px;
  33. .ant-table-title {
  34. padding: 0 0 8px 0 !important;
  35. }
  36. .ant-table.ant-table-bordered .ant-table-title {
  37. border: none !important;
  38. }
  39. }
  40. //
  41. .ant-table {
  42. width: 100%;
  43. overflow-x: hidden;
  44. // border: none;
  45. &-title {
  46. display: flex;
  47. padding: 8px 6px;
  48. border-bottom: none;
  49. justify-content: space-between;
  50. align-items: center;
  51. }
  52. // .ant-table-thead > tr > th,
  53. // .ant-table-header {
  54. // background: #f1f3f4;
  55. // background-color: #f1f3f4 !important;
  56. // }
  57. .ant-table-tbody > tr.ant-table-row-selected td {
  58. background: fade(@primary-color, 8%) !important;
  59. }
  60. }
  61. // .ant-table-tbody > tr > td,
  62. // .ant-table-tbody > tr > th,
  63. // .ant-table-thead > tr > td,
  64. // .ant-table-thead > tr > th {
  65. // white-space: pre;
  66. // }
  67. .ant-pagination {
  68. margin: 10px 0 0 0;
  69. }
  70. .ant-table-footer {
  71. padding: 0;
  72. .ant-table-wrapper {
  73. padding: 0;
  74. }
  75. table {
  76. border: none !important;
  77. }
  78. .ant-table-body {
  79. overflow-x: hidden !important;
  80. overflow-y: scroll !important;
  81. }
  82. td {
  83. padding: 12px 8px;
  84. }
  85. }
  86. }