index.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. @import './pagination.less';
  2. @import './input.less';
  3. @import './btn.less';
  4. // =================================
  5. // ==============descriptions=======
  6. // =================================
  7. .ant-descriptions-bordered .ant-descriptions-item-label {
  8. background-color: @background-color-light;
  9. }
  10. .ant-descriptions .ant-descriptions-item-content {
  11. color: @text-color-call-out;
  12. }
  13. // =================================
  14. // ==============modal message======
  15. // =================================
  16. .modal-icon-warning {
  17. color: @warning-color !important;
  18. }
  19. .modal-icon-success {
  20. color: @success-color !important;
  21. }
  22. .modal-icon-error {
  23. color: @error-color !important;
  24. }
  25. .modal-icon-info {
  26. color: @primary-color !important;
  27. }
  28. .ant-modal-mask {
  29. background-color: rgba(0, 0, 0, 0.2);
  30. }
  31. // =================================
  32. // ==============menu===============
  33. // =================================
  34. .ant-menu-item {
  35. &-selected {
  36. a {
  37. color: @primary-color;
  38. &:hover {
  39. color: @primary-color;
  40. }
  41. }
  42. }
  43. }
  44. // =================================
  45. // ==============dropdown===========
  46. // =================================
  47. .ant-dropdown {
  48. .ant-divider {
  49. margin: 4px 0;
  50. }
  51. &-menu-item {
  52. line-height: 30px;
  53. color: @text-color-call-out;
  54. &:hover {
  55. color: inherit;
  56. background-color: @border-color-shallow-light;
  57. }
  58. }
  59. }
  60. // =================================
  61. // ==============back-top===========
  62. // =================================
  63. .ant-back-top {
  64. right: 50px;
  65. bottom: 60px;
  66. }
  67. // =================================
  68. // ==============calendar===========
  69. // =================================
  70. .ant-calendar-picker {
  71. width: 100%;
  72. }
  73. // =================================
  74. // ==============tooltip============
  75. // =================================
  76. .ant-tooltip {
  77. &-inner {
  78. padding: 6px 16px;
  79. line-height: 20px;
  80. color: @white;
  81. background: @text-color-base;
  82. border-radius: 4px;
  83. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  84. }
  85. }
  86. // =================================
  87. // ==============form===============
  88. // =================================
  89. .ant-form-item.deltag .ant-form-item-required::before {
  90. content: '';
  91. }
  92. .ant-form-item {
  93. &-label label::after {
  94. margin: 0 6px 0 2px;
  95. }
  96. &-control {
  97. line-height: 36px;
  98. }
  99. }
  100. .ant-form-explain {
  101. margin-bottom: 2px;
  102. font-size: 14px;
  103. }
  104. .compact-form-row {
  105. .ant-form-item {
  106. margin-bottom: 8px;
  107. }
  108. }
  109. // =================================
  110. // ==============empty==============
  111. // =================================
  112. .ant-empty-image {
  113. max-height: 144px;
  114. min-height: 60px;
  115. }
  116. .ant-empty-description {
  117. margin-top: 16px;
  118. font-size: 14px;
  119. line-height: 24px;
  120. color: @text-color-call-out;
  121. }