global.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  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. //Modal
  22. .bms-ant-modal {
  23. .bms-ant-modal-content {
  24. padding: 16px !important;
  25. .bms-ant-modal-body {
  26. .bms-ant-modal-confirm-body-wrapper {
  27. .bms-ant-modal-confirm-body {
  28. .bms-ant-modal-confirm-content {
  29. max-width: 100% !important;
  30. max-height: 70vh !important;
  31. overflow-y: scroll;
  32. .TableTransfer {
  33. .bms-ant-transfer-operation {
  34. // align-self: self-end;
  35. // margin-bottom: 30px;
  36. button {
  37. //color: #17181A;
  38. width: 24px;
  39. height: 40px !important;
  40. // background: #FAFCFF;
  41. border-radius: 4px;
  42. border: 1px solid #DAE2F2;
  43. }
  44. }
  45. .bms-ant-transfer-list {
  46. border: 1px solid #DAE2F2;
  47. .bms-ant-transfer-list-header {
  48. border-bottom: 1px solid #DAE2F2;
  49. .anticon {
  50. color: #99A6BF;
  51. }
  52. .bms-ant-transfer-list-header-selected {
  53. color: #515866;
  54. }
  55. }
  56. .bms-ant-transfer-list-body {
  57. .bms-ant-transfer-list-body-search-wrapper {
  58. padding: 8px;
  59. .bms-ant-input-prefix {
  60. .anticon-search {
  61. color: #99A6BF;
  62. }
  63. }
  64. }
  65. }
  66. }
  67. .bms-ant-table {
  68. .bms-ant-table-container {
  69. .bms-ant-table-content {
  70. .bms-ant-table-thead {
  71. &>tr>th {
  72. font-size: 14px;
  73. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  74. font-weight: 500;
  75. color: #17181A;
  76. background: #EEF3FA;
  77. border-radius: 0 !important;
  78. padding: 4px 8px !important;
  79. border-bottom: none;
  80. }
  81. }
  82. }
  83. }
  84. }
  85. }
  86. }
  87. }
  88. .bms-ant-modal-confirm-btns {
  89. display: flex;
  90. flex-direction: row;
  91. align-items: center;
  92. justify-content: flex-end;
  93. &>button {
  94. display: flex;
  95. justify-content: center;
  96. align-items: center;
  97. min-width: 56px;
  98. height: 24px;
  99. border-radius: 4px;
  100. &.bms-ant-btn-default {
  101. border: 1px solid #DAE2F2;
  102. }
  103. }
  104. }
  105. }
  106. }
  107. }
  108. .bms-ant-modal-footer {
  109. margin-top: 0;
  110. .bms-ant-space-item {
  111. &>button {
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. min-width: 56px;
  116. height: 24px;;
  117. border-radius: 4px;
  118. &>span {
  119. padding: 0 8px;
  120. }
  121. &.bms-ant-btn-default {
  122. border: 1px solid #DAE2F2;
  123. }
  124. }
  125. }
  126. }
  127. }
  128. //message
  129. .bms-ant-message {
  130. .ant-message-notice-success {
  131. .bms-ant-message-notice-content {
  132. .anticon-check-circle {
  133. &>svg {
  134. color: #52c41a;
  135. }
  136. }
  137. }
  138. }
  139. }
  140. //Form
  141. .bms-ant-form {
  142. &.bms-ant-form-vertical {
  143. .bms-ant-form-item {
  144. margin-bottom: 16px;
  145. .bms-ant-form-item-label {
  146. padding: 0 !important;
  147. height: 15px;
  148. margin-bottom: 8px;
  149. line-height: 15px;
  150. }
  151. .bms-ant-form-item-control-input {
  152. min-height: 24px;
  153. }
  154. }
  155. }
  156. }
  157. // .bms-ant-form-item-label {
  158. // padding: 0;
  159. // //height: 15px;
  160. // line-height: 15px;
  161. // margin-bottom: 5px;
  162. // .bms-ant-form-item-required {
  163. // &::before {
  164. // margin-right: 0 !important;
  165. // }
  166. // }
  167. // }
  168. .bms-ant-input-affix-wrapper {
  169. padding: 0px 8px !important;
  170. border-radius: 4px;
  171. border: 1px solid #CFD7E6 !important;
  172. &>input {
  173. &::placeholder {
  174. font-size: 14px;
  175. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  176. font-weight: 400;
  177. color: #99A6BF;
  178. }
  179. }
  180. }
  181. .bms-ant-input-disabled {
  182. &::placeholder {
  183. color: #7A8599 !important;
  184. }
  185. }
  186. .bms-ant-input-affix-wrapper-disabled {
  187. background: #F0F2F5 !important;
  188. }
  189. // //proContsiner 标题样式覆盖
  190. // .bms-ant-page-header .bms-ant-page-header-heading-title {
  191. // height: 17px !important;
  192. // font-size: 16px !important;
  193. // line-height: 17px !important;
  194. // }
  195. .bms-ant-page-header .bms-ant-page-header-heading-left {
  196. margin-block:0 !important;
  197. }
  198. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-sider-fixed {
  199. position: absolute !important;
  200. // min-width:230px !important;
  201. // width: 230px !important;
  202. }
  203. //避免logo区域的层级过高,影响父容器
  204. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-sider-fixed {
  205. z-index:0!important;
  206. }
  207. .bms-ant-menu-light:not(.bms-ant-menu-horizontal) .bms-ant-menu-item:not(.bms-ant-menu-item-selected):hover {
  208. background-color: #f0f2f5 !important;
  209. }
  210. .bms-ant-menu-light:not(.bms-ant-menu-horizontal) .bms-ant-menu-submenu-title:hover {
  211. background-color: #f0f2f5 !important;
  212. }
  213. .bms-ant-tree.bms-ant-tree-directory .bms-ant-tree-treenode:hover::before {
  214. background: #f0f2f5 !important;
  215. border-radius: 4px;
  216. }
  217. .bms-ant-table-wrapper {
  218. .bms-ant-table:not(.bms-ant-table-bordered) .bms-ant-table-tbody>tr.bms-ant-table-row.bms-ant-table-row-selected>td:first-child {
  219. border-radius: 0 !important;
  220. }
  221. .bms-ant-table-content {
  222. .bms-ant-table-thead {
  223. tr {
  224. &:last-child {
  225. .bms-ant-table-cell {
  226. // border-top: 1px solid #dae2f2;
  227. }
  228. }
  229. }
  230. }
  231. }
  232. }
  233. .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 {
  234. border-start-start-radius:0 !important;
  235. border-end-start-radius:0 !important;
  236. }
  237. .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 {
  238. border-bottom-color: #dae2f2 !important;
  239. }
  240. .bms-ant-table-wrapper .bms-ant-table:not(.bms-ant-table-bordered) .bms-ant-table-tbody>tr.bms-ant-table-row:last-child>td {
  241. border-bottom-color: #dae2f2 !important;
  242. }
  243. .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 {
  244. border-end-end-radius:0 !important;
  245. border-start-end-radius:0 !important;
  246. }
  247. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-layout-bg-list {
  248. background:#F7F9FC !important;
  249. }
  250. // .bms-ant-message-notice .bms-ant-message-success .anticon {
  251. // color: #52c41a !important;
  252. // }
  253. .ant-message-success {
  254. .anticon .anticon-check-circle {
  255. color: #52c41a !important;
  256. }
  257. }
  258. /**
  259. Select
  260. **/
  261. .bms-ant-select {
  262. .bms-ant-select-selector {
  263. height: 24px !important;
  264. padding: 0 8px !important;
  265. border-radius: 4px !important;
  266. border: 1px solid #CFD7E6 !important;
  267. .bms-ant-select-selection-item {
  268. line-height: 24px !important;
  269. }
  270. .bms-ant-select-selection-search-input {
  271. height: 24px !important;
  272. }
  273. .bms-ant-select-selection-placeholder {
  274. line-height: 22px !important;
  275. font-size: 14px;
  276. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  277. font-weight: 400;
  278. color: #99A6BF;
  279. }
  280. }
  281. .bms-ant-select-arrow {
  282. color: #CFD7E6;
  283. }
  284. &.bms-ant-select-disabled {
  285. .bms-ant-select-selector {
  286. border: 1px solid #DADEE6 !important;
  287. .bms-ant-select-selection-placeholder {
  288. color: #7A8599;
  289. }
  290. }
  291. .bms-ant-select-arrow {
  292. color: #7A8599;
  293. }
  294. }
  295. }
  296. .bms-ant-tabs .bms-ant-tabs-tab {
  297. padding: 5px 0 !important;
  298. padding-top:12px !important;
  299. }
  300. .bms-ant-table-wrapper {
  301. overflow: hidden;
  302. }
  303. .bms-ant-pro-layout .bms-ant-pro-layout-container {
  304. background: #F7F9FC !important;
  305. }
  306. //页面全局底色
  307. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-layout-bg-list {
  308. background: rgb(247 249 252 / 100%);
  309. }
  310. .bms-ant-pro-page-container-children-content {
  311. padding-inline:0 !important;
  312. }
  313. .bms-ant-pro-sider-actions {
  314. display: none !important;
  315. }
  316. .bms-ant-pro-sider-collapsed-button {
  317. top:95% !important;
  318. right: 17px !important;
  319. }
  320. .bms-ant-menu .bms-ant-menu-submenu-title .anticon{
  321. transition: none !important;
  322. }
  323. .bms-ant-menu .bms-ant-menu-item .anticon +span {
  324. transition: none !important;
  325. }
  326. .bms-ant-menu .bms-ant-menu-item .anticon {
  327. transition: none !important;
  328. }
  329. .bms-ant-menu .bms-ant-menu-item {
  330. transition: none !important;
  331. }
  332. .bms-ant-menu .bms-ant-menu-submenu-title .anticon +span {
  333. transition: none !important;
  334. }
  335. .bms-ant-tabs .bms-ant-tabs-tab+.bms-ant-tabs-tab {
  336. margin: 0 0 0 24px !important;
  337. }
  338. .menuCollapseIcon {
  339. &>svg {
  340. width:24px;
  341. height:24px;
  342. }
  343. }
  344. .bms-ant-pro-form >div:not(.bms-ant-pro-form-light-filter) .pro-field-lg {
  345. width: 100% !important;
  346. }
  347. .bms-ant-select {
  348. .bms-ant-select-selector {
  349. border: 1px solid #CFD7E6 !important;
  350. // color: #99A6BF !important;
  351. .bms-ant-select-selection-placeholder {
  352. color: #99A6BF !important;
  353. }
  354. }
  355. .bms-ant-select-arrow {
  356. color: #99A6BF !important;
  357. }
  358. }
  359. .bms-ant-input-number-input {
  360. &::placeholder {
  361. color: #99A6BF !important;
  362. }
  363. }
  364. .bms-ant-select-disabled {
  365. .bms-ant-select-selector {
  366. border: 1px solid #DADEE6 !important;
  367. background:#F0F2F5 !important;
  368. .bms-ant-select-selection-placeholder {
  369. color: #7A8599 !important;
  370. }
  371. }
  372. .bms-ant-select-arrow {
  373. color: #7A8599 !important;
  374. }
  375. }
  376. .bms-ant-input-number {
  377. border: 1px solid #CFD7E6 !important;
  378. color: #99A6BF !important;
  379. .bms-ant-input-number-input {
  380. height: 24px !important;
  381. line-height: 24px !important;
  382. }
  383. }
  384. .bms-ant-input-number-disabled {
  385. border: 1px solid #DADEE6 !important;
  386. background: #F0F2F5 !important;
  387. .bms-ant-input-number-input {
  388. color:#7A8599 !important ;
  389. }
  390. }
  391. .bms-ant-input-affix-wrapper-disabled {
  392. border: 1px solid #DADEE6 !important;
  393. }
  394. .bms-ant-picker {
  395. border: 1px solid #CFD7E6 !important;
  396. }
  397. .bms-ant-picker-input >input[disabled] {
  398. color:#7A8599 !important ;
  399. }
  400. .bms-ant-picker-disabled {
  401. background: #F0F2F5 !important;
  402. border: 1px solid #DADEE6 !important;
  403. .anticon-swap-right,.anticon-calendar {
  404. color:#7A8599 !important ;
  405. }
  406. }