customize.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. @import '../../style/themes/index';
  2. @transfer-prefix-cls: ~'@{ant-prefix}-transfer';
  3. @table-prefix-cls: ~'@{ant-prefix}-table';
  4. @input-prefix-cls: ~'@{ant-prefix}-input';
  5. .@{transfer-prefix-cls}-customize-list {
  6. .@{transfer-prefix-cls}-list {
  7. flex: 1 1 50%;
  8. width: auto;
  9. height: auto;
  10. min-height: @transfer-list-height;
  11. }
  12. // =================== Hook Components ===================
  13. .@{table-prefix-cls}-wrapper {
  14. .@{table-prefix-cls}-small {
  15. border: 0;
  16. border-radius: 0;
  17. .@{table-prefix-cls}-selection-column {
  18. width: 40px;
  19. min-width: 40px;
  20. }
  21. > .@{table-prefix-cls}-content {
  22. // Header background color
  23. > .@{table-prefix-cls}-body > table > .@{table-prefix-cls}-thead > tr > th {
  24. background: @table-header-bg;
  25. }
  26. .@{table-prefix-cls}-row:last-child td {
  27. border-bottom: @border-width-base @border-style-base @border-color-split;
  28. }
  29. }
  30. .@{table-prefix-cls}-body {
  31. margin: 0;
  32. }
  33. }
  34. .@{table-prefix-cls}-pagination.@{ant-prefix}-pagination {
  35. margin: 16px 0 4px;
  36. }
  37. }
  38. .@{input-prefix-cls} {
  39. &[disabled] {
  40. background-color: transparent;
  41. }
  42. }
  43. }