antui-reset.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. .operation-cell {
  2. .ant-btn-link {
  3. padding: 0;
  4. height: auto;
  5. border: none;
  6. + .ant-btn-link {
  7. margin-left: 12px;
  8. }
  9. }
  10. }
  11. // ant-modal
  12. .ant-modal {
  13. .ant-modal-content {
  14. padding: 0;
  15. }
  16. .ant-modal-close {
  17. top: 13px;
  18. color: @text-color2;
  19. }
  20. .ant-modal-header {
  21. padding: 12px 20px;
  22. height: 48px;
  23. background: linear-gradient(180deg, #ffffff 0%, #f2f3f5 100%);
  24. border-bottom: 1px solid @border-color1;
  25. margin: 0;
  26. }
  27. .ant-modal-title {
  28. font-weight: 500;
  29. font-size: 16px;
  30. color: @text-color1;
  31. line-height: 24px;
  32. }
  33. .ant-modal-body {
  34. padding: 20px;
  35. }
  36. .ant-modal-footer {
  37. margin: 0;
  38. padding: 0 20px 20px;
  39. }
  40. }
  41. .full-modal {
  42. .ant-modal {
  43. max-width: 100%;
  44. top: 0;
  45. padding-bottom: 0;
  46. margin: 0;
  47. }
  48. .ant-modal-content {
  49. display: flex;
  50. flex-direction: column;
  51. height: calc(100vh);
  52. }
  53. .ant-modal-body {
  54. flex: 1;
  55. }
  56. }
  57. // ant-collapse
  58. .ant-collapse {
  59. border-radius: 0;
  60. .ant-collapse-item {
  61. border-radius: 0;
  62. border: none;
  63. .ant-collapse-header {
  64. height: 34px;
  65. line-height: 22px;
  66. padding: 5px 16px;
  67. border-top: 1px solid @border-color1;
  68. border-bottom: 1px solid @border-color1;
  69. background: linear-gradient(180deg, #ffffff 0%, #f2f3f5 100%);
  70. .ant-collapse-arrow {
  71. color: @text-color3;
  72. }
  73. }
  74. .ant-collapse-header-text {
  75. .anticon {
  76. color: #bfbfbf;
  77. margin-right: 8px;
  78. }
  79. }
  80. .ant-collapse-content {
  81. background-color: #fff;
  82. .ant-collapse-content-box {
  83. padding: 10px 14px 10px 14px;
  84. }
  85. }
  86. }
  87. }
  88. // .ant-btn
  89. .ant-btn {
  90. padding-left: 12px;
  91. padding-right: 12px;
  92. &.ant-simple {
  93. padding-left: 0;
  94. padding-right: 0;
  95. }
  96. &.ant-gray {
  97. background: #f3f4f6;
  98. border-radius: 4px;
  99. border: 1px solid #d9d9d9;
  100. }
  101. }
  102. .ant-btn-success {
  103. color: #fff;
  104. background-color: @success-color;
  105. box-shadow: 0 2px 0 rgba(5, 115, 255, 0.1);
  106. &:hover {
  107. opacity: 0.8;
  108. }
  109. }
  110. .ant-btn-error-light {
  111. background: #ffece8;
  112. color: @error-color;
  113. &:hover {
  114. opacity: 0.8;
  115. }
  116. }
  117. .ant-btn-primary-light {
  118. background: #e8f3ff;
  119. color: @brand-color;
  120. &:hover {
  121. opacity: 0.8;
  122. }
  123. }
  124. // ant-tag
  125. .ant-tag {
  126. &-big {
  127. height: 32px;
  128. border-radius: 6px;
  129. line-height: 30px;
  130. padding-left: 12px;
  131. padding-right: 12px;
  132. }
  133. &-blue {
  134. background: #e8f3ff;
  135. border: 1px solid #bedaff;
  136. }
  137. }