global.less 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. * {
  2. font-family: 'SourceHanSansCN, SourceHanSansCN' !important;
  3. }
  4. body {
  5. margin: 0;
  6. height: 100%;
  7. }
  8. .bms-ant-space-item {
  9. &>a {
  10. color: #3376FE !important;
  11. }
  12. }
  13. textarea {
  14. border: 1px solid #CFD7E6 !important;
  15. }
  16. .bms-ant-input {
  17. &::placeholder {
  18. color: #99A6BF !important;
  19. }
  20. }
  21. .bms-ant-input-disabled {
  22. &::placeholder {
  23. color: #7A8599 !important;
  24. }
  25. }
  26. .bms-ant-input-affix-wrapper-disabled {
  27. background: #F0F2F5 !important;
  28. }
  29. // //proContsiner 标题样式覆盖
  30. // .bms-ant-page-header .bms-ant-page-header-heading-title {
  31. // height: 17px !important;
  32. // font-size: 16px !important;
  33. // line-height: 17px !important;
  34. // }
  35. .bms-ant-page-header .bms-ant-page-header-heading-left {
  36. margin-block:0 !important;
  37. }
  38. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-sider-fixed {
  39. position: absolute !important;
  40. // min-width:230px !important;
  41. // width: 230px !important;
  42. }
  43. //避免logo区域的层级过高,影响父容器
  44. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-sider-fixed {
  45. z-index:0!important;
  46. }
  47. .bms-ant-menu-light:not(.bms-ant-menu-horizontal) .bms-ant-menu-item:not(.bms-ant-menu-item-selected):hover {
  48. background-color: #f0f2f5 !important;
  49. }
  50. .bms-ant-menu-light:not(.bms-ant-menu-horizontal) .bms-ant-menu-submenu-title:hover {
  51. background-color: #f0f2f5 !important;
  52. }
  53. .bms-ant-tree.bms-ant-tree-directory .bms-ant-tree-treenode:hover::before {
  54. background: #f0f2f5 !important;
  55. border-radius: 4px;
  56. }
  57. .bms-ant-table-wrapper .bms-ant-table:not(.bms-ant-table-bordered) .bms-ant-table-tbody>tr.bms-ant-table-row:hover>td:first-child {
  58. border-start-start-radius:0 !important;
  59. border-end-start-radius:0 !important;
  60. }
  61. .bms-ant-table-wrapper .bms-ant-table:not(.bms-ant-table-bordered) .bms-ant-table-tbody>tr.bms-ant-table-row:last-child:hover>td {
  62. border-bottom-color: #dae2f2 !important;
  63. }
  64. .bms-ant-table-wrapper .bms-ant-table:not(.bms-ant-table-bordered) .bms-ant-table-tbody>tr.bms-ant-table-row:last-child>td {
  65. border-bottom-color: #dae2f2 !important;
  66. }
  67. .bms-ant-table-wrapper .bms-ant-table:not(.bms-ant-table-bordered) .bms-ant-table-tbody>tr.bms-ant-table-row:hover>td:last-child {
  68. border-end-end-radius:0 !important;
  69. border-start-end-radius:0 !important;
  70. }
  71. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-layout-bg-list {
  72. background:#F7F9FC !important;
  73. }
  74. // .bms-ant-message-notice .bms-ant-message-success .anticon {
  75. // color: #52c41a !important;
  76. // }
  77. .ant-message-success {
  78. .anticon .anticon-check-circle {
  79. color: #52c41a !important;
  80. }
  81. }
  82. .bms-ant-tabs .bms-ant-tabs-tab {
  83. padding: 5px 0 !important;
  84. padding-top:12px !important;
  85. }
  86. .bms-ant-table-wrapper {
  87. overflow: hidden;
  88. }
  89. .bms-ant-pro-layout .bms-ant-pro-layout-container {
  90. background: #F7F9FC !important;
  91. }
  92. //页面全局底色
  93. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-layout-bg-list {
  94. background: rgb(247 249 252 / 100%);
  95. }
  96. .bms-ant-pro-page-container-children-content {
  97. padding-inline:0 !important;
  98. }
  99. .bms-ant-pro-sider-actions {
  100. display: none !important;
  101. }
  102. .bms-ant-pro-sider-collapsed-button {
  103. top:95% !important;
  104. right: 17px !important;
  105. }
  106. .bms-ant-menu .bms-ant-menu-submenu-title .anticon{
  107. transition: none !important;
  108. }
  109. .bms-ant-menu .bms-ant-menu-item .anticon +span {
  110. transition: none !important;
  111. }
  112. .bms-ant-menu .bms-ant-menu-item .anticon {
  113. transition: none !important;
  114. }
  115. .bms-ant-menu .bms-ant-menu-item {
  116. transition: none !important;
  117. }
  118. .bms-ant-menu .bms-ant-menu-submenu-title .anticon +span {
  119. transition: none !important;
  120. }
  121. .bms-ant-tabs .bms-ant-tabs-tab+.bms-ant-tabs-tab {
  122. margin: 0 0 0 24px !important;
  123. }
  124. .menuCollapseIcon {
  125. &>svg {
  126. width:24px;
  127. height:24px;
  128. }
  129. }
  130. .bms-ant-pro-form >div:not(.bms-ant-pro-form-light-filter) .pro-field-lg {
  131. width: 100% !important;
  132. }
  133. .bms-ant-select {
  134. .bms-ant-select-selector {
  135. border: 1px solid #CFD7E6 !important;
  136. // color: #99A6BF !important;
  137. .bms-ant-select-selection-placeholder {
  138. color: #99A6BF !important;
  139. }
  140. }
  141. .bms-ant-select-arrow {
  142. color: #99A6BF !important;
  143. }
  144. }
  145. .bms-ant-input-number-input {
  146. &::placeholder {
  147. color: #99A6BF !important;
  148. }
  149. }
  150. .bms-ant-select-disabled {
  151. .bms-ant-select-selector {
  152. border: 1px solid #DADEE6 !important;
  153. background:#F0F2F5 !important;
  154. .bms-ant-select-selection-placeholder {
  155. color: #7A8599 !important;
  156. }
  157. }
  158. .bms-ant-select-arrow {
  159. color: #7A8599 !important;
  160. }
  161. }
  162. .bms-ant-input-number {
  163. border: 1px solid #CFD7E6 !important;
  164. color: #99A6BF !important;
  165. }
  166. .bms-ant-input-number-disabled {
  167. border: 1px solid #DADEE6 !important;
  168. background: #F0F2F5 !important;
  169. .bms-ant-input-number-input {
  170. color:#7A8599 !important ;
  171. }
  172. }
  173. .bms-ant-input-affix-wrapper-disabled {
  174. border: 1px solid #DADEE6 !important;
  175. }
  176. .bms-ant-picker {
  177. border: 1px solid #CFD7E6 !important;
  178. }
  179. .bms-ant-picker-input >input[disabled] {
  180. color:#7A8599 !important ;
  181. }
  182. .bms-ant-picker-disabled {
  183. background: #F0F2F5 !important;
  184. border: 1px solid #DADEE6 !important;
  185. .anticon-swap-right,.anticon-calendar {
  186. color:#7A8599 !important ;
  187. }
  188. }