antCss.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. /* form 表单组件*/
  2. .ant-input-number {
  3. background-color: @vent-transparent;
  4. border: 1px solid #65dbea;
  5. border-radius: 5px;
  6. align-items: center;
  7. display: flex;
  8. color: @vent-font-color;
  9. }
  10. .ant-radio-group {
  11. color: @vent-font-color !important;
  12. .ant-radio-wrapper {
  13. color: @vent-font-color !important;
  14. }
  15. .ant-radio {
  16. color: @vent-font-color !important;
  17. }
  18. }
  19. /* */
  20. .ant-tabs-bar {
  21. margin: 0 !important;
  22. }
  23. /* 表格 */
  24. .jeecg-basic-table .ant-table-wrapper {
  25. background-color: @vent-transparent !important;
  26. }
  27. .jeecg-basic-table .alert {
  28. background-color: @vent-table-hover !important;
  29. border-color: #ffffff22 !important;
  30. .ant-alert-message {
  31. color: @vent-font-color !important;
  32. }
  33. }
  34. .ant-table {
  35. background-color: @vent-transparent !important;
  36. color: @vent-font-color;
  37. }
  38. .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table,
  39. .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {
  40. border-top: 1px solid @vent-table-hover !important;
  41. }
  42. .ant-table.ant-table-bordered > .ant-table-container {
  43. border-left: 1px solid @vent-table-hover !important;
  44. }
  45. .ant-table-header {
  46. background-color: transparent !important;
  47. // height: 42px;
  48. }
  49. .ant-table-thead > tr > th {
  50. background-color: transparent !important;
  51. border: 1px solid @vent-table-hover !important;
  52. }
  53. .ant-table-body > tr > th {
  54. background-color: transparent !important;
  55. border: 1px solid @vent-table-hover !important;
  56. }
  57. .ant-table-body > tr > td {
  58. border: none !important;
  59. }
  60. .ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {
  61. background-color: #ffffff05 !important;
  62. margin-top: 8px !important;
  63. &::-webkit-scrollbar {
  64. display: none !important;
  65. }
  66. }
  67. .jeecg-basic-table .ant-table-wrapper .ant-table-title {
  68. padding: 0 !important;
  69. }
  70. .jeecg-basic-table-row__striped td {
  71. background-color: transparent !important;
  72. }
  73. .ant-table-tbody {
  74. color: @vent-font-color;
  75. }
  76. .ant-table-tbody:hover {
  77. background: @vent-transparent !important;
  78. }
  79. .ant-table-tbody > tr:hover.ant-table-row > td {
  80. background: @vent-table-hover !important;
  81. }
  82. .ant-table-tbody > tr:hover.ant-table-row > th {
  83. background: @vent-table-hover !important;
  84. }
  85. .ant-table-thead > tr:hover.ant-table-row > td {
  86. background: @vent-table-hover !important;
  87. }
  88. .ant-table-tbody > tr.ant-table-row-selected td {
  89. background: @vent-table-hover !important;
  90. }
  91. .ant-table-tbody > tr > td {
  92. border-color: @vent-table-hover !important;
  93. background: @vent-transparent !important;
  94. transition: background 1s;
  95. }
  96. .ant-table-thead > tr > th:hover {
  97. background: @vent-transparent !important;
  98. }
  99. .ant-table-thead > tr {
  100. background: @vent-transparent !important;
  101. }
  102. .ant-table-thead > tr > th {
  103. color: @vent-font-color !important;
  104. }
  105. .ant-table-fixed-header .ant-table-scroll .ant-table-header {
  106. background: #ffffff44 !important;
  107. position: relative !important;
  108. z-index: 999 !important;
  109. padding: 4px 0 !important;
  110. &::-webkit-scrollbar {
  111. display: none !important;
  112. }
  113. }
  114. /* 嵌套表格 */
  115. .tr.ant-table-expanded-row > td,
  116. tr.ant-table-expanded-row > td {
  117. background: @vent-transparent !important;
  118. }
  119. tr.ant-table-expanded-row > td,
  120. tr.ant-table-expanded-row:hover > td {
  121. background: @vent-transparent !important;
  122. }
  123. .ant-table-expanded-row {
  124. background-color: #00000033 !important;
  125. }
  126. /* tabs 组件 */
  127. .ant-tabs-nav {
  128. color: @vent-font-color !important;
  129. }
  130. /* modal 组件 */
  131. .ant-modal-content {
  132. color: @vent-font-color !important;
  133. background-color: #0042ab22 !important;
  134. border: 1px solid #04bdaa !important;
  135. box-shadow: 0px 0px 10px #2b87ff inset !important;
  136. backdrop-filter: blur(10px);
  137. }
  138. .ant-modal-header {
  139. color: @vent-font-color !important;
  140. background-color: #0042ab00 !important;
  141. box-shadow: 0px 0px 0px #2b87ff inset !important;
  142. border-color: #ffffff22 !important;
  143. backdrop-filter: blur(10px);
  144. .jeecg-basic-title {
  145. color: @vent-font-color !important;
  146. }
  147. .ant-modal-title {
  148. color: #39e9fe !important;
  149. }
  150. }
  151. .ant-modal-body {
  152. .j-box-bottom-button-float {
  153. background-color: #ffffff00 !important;
  154. }
  155. .ant-modal-confirm-title {
  156. color: #fff !important;
  157. }
  158. .ant-form {
  159. label {
  160. color: #fff;
  161. }
  162. .anticon.ant-input-clear-icon,
  163. .anticon {
  164. color: #fff !important;
  165. }
  166. .ant-select-selector {
  167. color: #fff;
  168. background-color: #ffffff00 !important;
  169. }
  170. .ant-form-item-control-input-content {
  171. .ant-input-affix-wrapper {
  172. background-color: #ffffff00 !important;
  173. }
  174. .ant-input {
  175. color: #fff;
  176. background-color: #ffffff00 !important;
  177. }
  178. .ant-select-single.ant-select-show-arrow .ant-select-selection-item,
  179. .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {
  180. color: #fff;
  181. }
  182. }
  183. }
  184. }
  185. .ant-modal-close {
  186. color: #ffffff !important;
  187. }
  188. .ant-modal-footer {
  189. border-color: #ffffff22 !important;
  190. }
  191. /* 加载 */
  192. ant-spin-container:hover {
  193. background-color: #00000033 !important;
  194. }
  195. /* 分页 */
  196. .ant-pagination {
  197. color: @vent-font-color !important;
  198. }