antCss.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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. border-color: #39e8ff33 !important;
  94. background: @vent-table-no-hover !important;
  95. transition: background 1s;
  96. }
  97. .ant-table-thead > tr > th:hover {
  98. background: @vent-transparent !important;
  99. }
  100. .ant-table-thead > tr {
  101. background: @vent-transparent !important;
  102. }
  103. .ant-table-thead > tr > th {
  104. color: @vent-font-color !important;
  105. }
  106. .ant-table-fixed-header .ant-table-scroll .ant-table-header {
  107. background: #ffffff44 !important;
  108. position: relative !important;
  109. z-index: 999 !important;
  110. padding: 4px 0 !important;
  111. &::-webkit-scrollbar {
  112. display: none !important;
  113. }
  114. }
  115. /* 嵌套表格 */
  116. .tr.ant-table-expanded-row > td,
  117. tr.ant-table-expanded-row > td {
  118. background: @vent-transparent !important;
  119. }
  120. tr.ant-table-expanded-row > td,
  121. tr.ant-table-expanded-row:hover > td {
  122. background: @vent-transparent !important;
  123. }
  124. .ant-table-expanded-row {
  125. background-color: #00000033 !important;
  126. }
  127. /* tabs 组件 */
  128. .ant-tabs-nav {
  129. color: @vent-font-color !important;
  130. }
  131. /* modal 组件 */
  132. .ant-modal-content {
  133. color: @vent-font-color !important;
  134. background-color: #0042ab22 !important;
  135. border: 1px solid #04bdaa !important;
  136. box-shadow: 0px 0px 10px #2b87ff inset !important;
  137. backdrop-filter: blur(10px);
  138. }
  139. .ant-modal-header {
  140. color: @vent-font-color !important;
  141. background-color: #0042ab00 !important;
  142. box-shadow: 0px 0px 0px #2b87ff inset !important;
  143. border-color: #ffffff22 !important;
  144. backdrop-filter: blur(10px);
  145. .jeecg-basic-title {
  146. color: @vent-font-color !important;
  147. }
  148. .ant-modal-title {
  149. color: #39e9fe !important;
  150. }
  151. }
  152. .ant-modal-body {
  153. .j-box-bottom-button-float {
  154. background-color: #ffffff00 !important;
  155. }
  156. .ant-modal-confirm-title {
  157. color: #fff !important;
  158. }
  159. .ant-form {
  160. label {
  161. color: #fff;
  162. }
  163. .anticon.ant-input-clear-icon,
  164. .anticon {
  165. color: #fff !important;
  166. }
  167. .ant-select-selector {
  168. color: #fff;
  169. background-color: #ffffff00 !important;
  170. }
  171. .ant-form-item-control-input-content {
  172. .ant-input-affix-wrapper {
  173. background-color: #ffffff00 !important;
  174. }
  175. .ant-input {
  176. color: #fff;
  177. background-color: #ffffff00 !important;
  178. }
  179. .ant-select-single.ant-select-show-arrow .ant-select-selection-item,
  180. .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {
  181. color: #fff;
  182. }
  183. }
  184. }
  185. }
  186. .ant-modal-close {
  187. color: #ffffff !important;
  188. }
  189. .ant-modal-footer {
  190. border-color: #ffffff22 !important;
  191. }
  192. /* 加载 */
  193. ant-spin-container:hover {
  194. background-color: #00000033 !important;
  195. }
  196. /* 分页 */
  197. .ant-pagination {
  198. color: @vent-font-color !important;
  199. }