index.less 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. @import './pagination.less';
  2. @import './input.less';
  3. @import './btn.less';
  4. // TODO beta.11 fix
  5. .ant-col {
  6. width: 100%;
  7. }
  8. .ant-back-top {
  9. right: 20px;
  10. bottom: 20px;
  11. }
  12. .collapse-container__body {
  13. > .ant-descriptions {
  14. margin-left: 6px;
  15. }
  16. }
  17. // =================================
  18. // ==============descriptions=======
  19. // =================================
  20. // .ant-descriptions-bordered .ant-descriptions-item-label {
  21. // background-color: @background-color-light;
  22. // }
  23. // .ant-descriptions .ant-descriptions-item-content {
  24. // color: @text-color-call-out;
  25. // }
  26. // =================================
  27. // ==============modal message======
  28. // =================================
  29. .modal-icon-warning {
  30. color: @warning-color !important;
  31. }
  32. .modal-icon-success {
  33. color: @success-color !important;
  34. }
  35. .modal-icon-error {
  36. color: @error-color !important;
  37. }
  38. .modal-icon-info {
  39. color: @primary-color !important;
  40. }
  41. // =================================
  42. // ==============form===============
  43. // =================================
  44. .ant-form-item.deltag .ant-form-item-required::before {
  45. content: '';
  46. }
  47. .ant-form-item-with-help {
  48. margin-bottom: 0;
  49. }
  50. .ant-form-item {
  51. &-label label::after {
  52. margin: 0 6px 0 2px;
  53. }
  54. }
  55. .ant-form-item:not(.ant-form-item-with-help) {
  56. margin-bottom: 20px;
  57. }
  58. .ant-form-explain {
  59. font-size: 14px;
  60. }
  61. .compact-form-row {
  62. .ant-form-item {
  63. margin-bottom: 8px;
  64. }
  65. }
  66. // =================================
  67. // ==============empty==============
  68. // =================================
  69. .ant-empty-image {
  70. max-height: 144px;
  71. min-height: 60px;
  72. }
  73. .ant-empty-description {
  74. margin-top: 16px;
  75. font-size: 14px;
  76. line-height: 24px;
  77. color: @text-color-call-out;
  78. }