global.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  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. ;
  118. border-radius: 4px;
  119. &>span {
  120. padding: 0 8px;
  121. }
  122. &.bms-ant-btn-default {
  123. border: 1px solid #DAE2F2;
  124. }
  125. }
  126. }
  127. }
  128. }
  129. //message
  130. .bms-ant-message {
  131. .ant-message-notice-success {
  132. .bms-ant-message-notice-content {
  133. .anticon-check-circle {
  134. &>svg {
  135. color: #52c41a;
  136. }
  137. }
  138. }
  139. }
  140. }
  141. //Form
  142. .bms-ant-form {
  143. &.bms-ant-form-vertical {
  144. .bms-ant-form-item {
  145. margin-bottom: 16px;
  146. .bms-ant-form-item-label {
  147. padding: 0 !important;
  148. height: 15px;
  149. margin-bottom: 8px;
  150. line-height: 15px;
  151. }
  152. .bms-ant-form-item-control-input {
  153. min-height: 24px;
  154. }
  155. }
  156. }
  157. }
  158. // .bms-ant-form-item-label {
  159. // padding: 0;
  160. // //height: 15px;
  161. // line-height: 15px;
  162. // margin-bottom: 5px;
  163. // .bms-ant-form-item-required {
  164. // &::before {
  165. // margin-right: 0 !important;
  166. // }
  167. // }
  168. // }
  169. .bms-ant-input-affix-wrapper {
  170. padding: 0px 8px !important;
  171. border-radius: 4px;
  172. border: 1px solid #CFD7E6 !important;
  173. &>input {
  174. &::placeholder {
  175. font-size: 14px;
  176. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  177. font-weight: 400;
  178. color: #99A6BF;
  179. }
  180. }
  181. }
  182. .bms-ant-input-disabled {
  183. &::placeholder {
  184. color: #7A8599 !important;
  185. }
  186. }
  187. .bms-ant-input-affix-wrapper-disabled {
  188. background: #F0F2F5 !important;
  189. }
  190. // //proContsiner 标题样式覆盖
  191. // .bms-ant-page-header .bms-ant-page-header-heading-title {
  192. // height: 17px !important;
  193. // font-size: 16px !important;
  194. // line-height: 17px !important;
  195. // }
  196. .bms-ant-page-header .bms-ant-page-header-heading-left {
  197. margin-block: 0 !important;
  198. }
  199. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-sider-fixed {
  200. position: absolute !important;
  201. // min-width:230px !important;
  202. // width: 230px !important;
  203. }
  204. //避免logo区域的层级过高,影响父容器
  205. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-sider-fixed {
  206. z-index: 0 !important;
  207. }
  208. .bms-ant-menu-light:not(.bms-ant-menu-horizontal) .bms-ant-menu-item:not(.bms-ant-menu-item-selected):hover {
  209. background-color: #f0f2f5 !important;
  210. }
  211. .bms-ant-menu-light:not(.bms-ant-menu-horizontal) .bms-ant-menu-submenu-title:hover {
  212. background-color: #f0f2f5 !important;
  213. }
  214. .bms-ant-tree.bms-ant-tree-directory .bms-ant-tree-treenode:hover::before {
  215. background: #f0f2f5 !important;
  216. border-radius: 4px;
  217. }
  218. .BMS-EditableProTable {
  219. .bms-ant-pro-card-body {
  220. padding-inline: 0 !important;
  221. padding-block: 0 !important;
  222. .bms-ant-table {
  223. border: 1px solid #CFD7E6 !important;
  224. overflow: hidden;
  225. .bms-ant-table-content {
  226. .bms-ant-table-thead {
  227. &>tr>th {
  228. height: 15px;
  229. line-height: 15px;
  230. font-size: 14px;
  231. padding: 12px 16px !important;
  232. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  233. // font-weight: 500;
  234. color: #17181A;
  235. border-bottom:1px solid #CFD7E6 !important;
  236. background: rgb(238 243 250 / 100%) !important;
  237. &::before {
  238. display: none !important;
  239. }
  240. }
  241. }
  242. .bms-ant-table-tbody {
  243. .bms-ant-table-row {
  244. .bms-ant-table-cell {
  245. height: 15px;
  246. line-height: 15px;
  247. font-size: 14px;
  248. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  249. color: #17181A;
  250. padding: 12px 16px !important;
  251. &>div {
  252. justify-content: flex-start !important;
  253. }
  254. }
  255. &:last-child {
  256. &>td {
  257. border-bottom-color: none !important;
  258. }
  259. }
  260. }
  261. }
  262. }
  263. }
  264. }
  265. }
  266. .bms-ant-table-wrapper {
  267. .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 {
  268. border-radius: 0 !important;
  269. }
  270. .bms-ant-table-content {
  271. .bms-ant-table-thead {
  272. tr {
  273. &:last-child {
  274. .bms-ant-table-cell {
  275. // border-top: 1px solid #dae2f2;
  276. }
  277. }
  278. }
  279. }
  280. }
  281. }
  282. .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 {
  283. border-start-start-radius: 0 !important;
  284. border-end-start-radius: 0 !important;
  285. }
  286. .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 {
  287. border-bottom-color: #dae2f2 !important;
  288. }
  289. .bms-ant-table-wrapper .bms-ant-table:not(.bms-ant-table-bordered) .bms-ant-table-tbody>tr.bms-ant-table-row:last-child>td {
  290. border-bottom-color: #dae2f2 !important;
  291. }
  292. .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 {
  293. border-end-end-radius: 0 !important;
  294. border-start-end-radius: 0 !important;
  295. }
  296. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-layout-bg-list {
  297. background: #F7F9FC !important;
  298. }
  299. // .bms-ant-message-notice .bms-ant-message-success .anticon {
  300. // color: #52c41a !important;
  301. // }
  302. .ant-message-success {
  303. .anticon .anticon-check-circle {
  304. color: #52c41a !important;
  305. }
  306. }
  307. /**
  308. Select
  309. **/
  310. .bms-ant-select {
  311. .bms-ant-select-selector {
  312. height: 24px !important;
  313. padding: 0 8px !important;
  314. border-radius: 4px !important;
  315. border: 1px solid #CFD7E6 !important;
  316. .bms-ant-select-selection-item {
  317. line-height: 24px !important;
  318. }
  319. .bms-ant-select-selection-search-input {
  320. height: 24px !important;
  321. }
  322. .bms-ant-select-selection-placeholder {
  323. line-height: 22px !important;
  324. font-size: 14px;
  325. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  326. font-weight: 400;
  327. color: #99A6BF;
  328. }
  329. .bms-ant-select-selection-overflow {
  330. .bms-ant-select-selection-overflow-item {
  331. .bms-ant-select-selection-item {
  332. height: 22px !important;
  333. line-height: 22px !important;
  334. margin-top: 0 !important;
  335. margin-bottom: 7px !important;
  336. }
  337. }
  338. }
  339. }
  340. .bms-ant-select-arrow {
  341. color: #CFD7E6;
  342. }
  343. &.bms-ant-select-disabled {
  344. .bms-ant-select-selector {
  345. border: 1px solid #DADEE6 !important;
  346. .bms-ant-select-selection-placeholder {
  347. color: #7A8599;
  348. }
  349. }
  350. .bms-ant-select-arrow {
  351. color: #7A8599;
  352. }
  353. }
  354. }
  355. .bms-ant-tabs .bms-ant-tabs-tab {
  356. padding: 5px 0 !important;
  357. padding-top: 12px !important;
  358. }
  359. .bms-ant-table-wrapper {
  360. overflow: hidden;
  361. }
  362. .bms-ant-pro-layout .bms-ant-pro-layout-container {
  363. background: #F7F9FC !important;
  364. }
  365. //页面全局底色
  366. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-layout-bg-list {
  367. background: rgb(247 249 252 / 100%);
  368. }
  369. .bms-ant-pro-page-container-children-content {
  370. padding-inline: 0 !important;
  371. }
  372. .bms-ant-pro-sider-actions {
  373. display: none !important;
  374. }
  375. .bms-ant-pro-sider-collapsed-button {
  376. top: 95% !important;
  377. right: 17px !important;
  378. }
  379. .bms-ant-menu .bms-ant-menu-submenu-title .anticon {
  380. transition: none !important;
  381. }
  382. .bms-ant-menu .bms-ant-menu-item .anticon+span {
  383. transition: none !important;
  384. }
  385. .bms-ant-menu .bms-ant-menu-item .anticon {
  386. transition: none !important;
  387. }
  388. .bms-ant-menu .bms-ant-menu-item {
  389. transition: none !important;
  390. }
  391. .bms-ant-menu .bms-ant-menu-submenu-title .anticon+span {
  392. transition: none !important;
  393. }
  394. .bms-ant-tabs .bms-ant-tabs-tab+.bms-ant-tabs-tab {
  395. margin: 0 0 0 24px !important;
  396. }
  397. .menuCollapseIcon {
  398. &>svg {
  399. width: 24px;
  400. height: 24px;
  401. }
  402. }
  403. .bms-ant-pro-form>div:not(.bms-ant-pro-form-light-filter) .pro-field-lg {
  404. width: 100% !important;
  405. }
  406. .bms-ant-select {
  407. .bms-ant-select-selector {
  408. border: 1px solid #CFD7E6 !important;
  409. // color: #99A6BF !important;
  410. .bms-ant-select-selection-placeholder {
  411. color: #99A6BF !important;
  412. }
  413. }
  414. .bms-ant-select-arrow {
  415. color: #99A6BF !important;
  416. }
  417. }
  418. .bms-ant-input-number-input {
  419. &::placeholder {
  420. color: #99A6BF !important;
  421. }
  422. }
  423. .bms-ant-select-disabled {
  424. .bms-ant-select-selector {
  425. border: 1px solid #DADEE6 !important;
  426. background: #F0F2F5 !important;
  427. .bms-ant-select-selection-placeholder {
  428. color: #7A8599 !important;
  429. }
  430. }
  431. .bms-ant-select-arrow {
  432. color: #7A8599 !important;
  433. }
  434. }
  435. .bms-ant-input-number {
  436. border: 1px solid #CFD7E6 !important;
  437. color: #99A6BF !important;
  438. .bms-ant-input-number-input {
  439. height: 24px !important;
  440. line-height: 24px !important;
  441. }
  442. }
  443. .bms-ant-input-number-disabled {
  444. border: 1px solid #DADEE6 !important;
  445. background: #F0F2F5 !important;
  446. .bms-ant-input-number-input {
  447. color: #7A8599 !important;
  448. }
  449. }
  450. .bms-ant-input-affix-wrapper-disabled {
  451. border: 1px solid #DADEE6 !important;
  452. }
  453. .bms-ant-picker {
  454. border: 1px solid #CFD7E6 !important;
  455. }
  456. .bms-ant-picker-input>input[disabled] {
  457. color: #7A8599 !important;
  458. }
  459. .bms-ant-picker-disabled {
  460. background: #F0F2F5 !important;
  461. border: 1px solid #DADEE6 !important;
  462. .anticon-swap-right,
  463. .anticon-calendar {
  464. color: #7A8599 !important;
  465. }
  466. }