global.less 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804
  1. * {
  2. font-family: 'SourceHanSansCN, SourceHanSansCN';
  3. }
  4. /* Safari */
  5. @media screen and (-webkit-min-device-pixel-ratio:0)
  6. {
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
  11. }
  12. #password {
  13. &::placeholder {
  14. font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
  15. }
  16. }
  17. }
  18. body {
  19. margin: 0;
  20. height: 100%;
  21. zoom: unset !important;
  22. }
  23. .bms-ant-space-item {
  24. &>a {
  25. color: #3377FF !important;
  26. }
  27. }
  28. textarea {
  29. border-radius: 4px !important;
  30. border: 1px solid #CFD7E6 !important;
  31. }
  32. .bms-ant-btn-primary {
  33. background: #3377FF;
  34. }
  35. .bms-ant-btn-primary[disabled]{
  36. background:#f5f5f5 ;
  37. }
  38. .bms-ant-checkbox {
  39. &.bms-ant-checkbox-checked {
  40. .bms-ant-checkbox-inner {
  41. background-color:#3377FF;
  42. background: #3377FF;
  43. }
  44. }
  45. // &.bms-ant-checkbox-indeterminate {
  46. // &.bms-ant-checkbox-inner {
  47. // &::after {
  48. // background-color:#3377FF !important;
  49. // }
  50. // }
  51. // }
  52. }
  53. .bms-ant-checkbox-indeterminate .bms-ant-checkbox-inner::after {
  54. background-color:#3377FF;
  55. }
  56. .bms-ant-input-affix-wrapper {
  57. border-radius: 4px !important;
  58. }
  59. .bms-ant-input {
  60. border-radius: 4px;
  61. // border: 1px solid #CFD7E6 !important;
  62. &::placeholder {
  63. color: #99A6BF !important;
  64. }
  65. }
  66. .bms-ant-table-cell {
  67. a {
  68. color: #3376FE !important;
  69. &>span {
  70. color: #3376FE !important;
  71. }
  72. }
  73. }
  74. .bms-ant-input-number {
  75. border-radius: 4px !important;
  76. }
  77. //Modal
  78. .bms-ant-modal {
  79. .bms-ant-modal-content {
  80. padding: 16px !important;
  81. border-radius: 4px !important;
  82. .bms-ant-modal-header {
  83. padding: 0 ;
  84. margin-bottom: 16px;
  85. border-bottom: none;
  86. }
  87. .bms-ant-modal-body {
  88. max-height: 570px;
  89. // overflow-y: scroll;
  90. // overflow-x: hidden;
  91. padding: 0;
  92. .bms-ant-modal-confirm-body-wrapper {
  93. .bms-ant-modal-confirm-body {
  94. .bms-ant-modal-confirm-title {
  95. font-size: 16px;
  96. height:18px;
  97. }
  98. .bms-ant-modal-confirm-content {
  99. max-width: 100% !important;
  100. max-height: 498px;
  101. overflow-y: scroll;
  102. overflow-x: hidden;
  103. margin-block-start:16px;
  104. .TableTransfer {
  105. .bms-ant-transfer-operation {
  106. // align-self: self-end;
  107. // margin-bottom: 30px;
  108. button {
  109. //color: #17181A;
  110. width: 24px;
  111. height: 40px !important;
  112. // background: #FAFCFF;
  113. border-radius: 4px;
  114. border: 1px solid #DAE2F2;
  115. }
  116. }
  117. .bms-ant-transfer-list {
  118. overflow: hidden;
  119. border: 1px solid #DAE2F2;
  120. .bms-ant-transfer-list-header {
  121. height: 32px;
  122. font-size: 12px;
  123. border-bottom: 1px solid #DAE2F2;
  124. .anticon {
  125. color: #99A6BF;
  126. }
  127. .bms-ant-transfer-list-header-selected {
  128. color: #515866;
  129. }
  130. }
  131. .bms-ant-transfer-list-body {
  132. .bms-ant-transfer-list-body-search-wrapper {
  133. padding: 8px;
  134. .bms-ant-input-prefix {
  135. .anticon-search {
  136. color: #99A6BF;
  137. }
  138. }
  139. }
  140. .bms-ant-transfer-list-body-customize-wrapper {
  141. .BMSTable {
  142. border: none !important;
  143. border-radius: 0 !important;
  144. }
  145. }
  146. }
  147. }
  148. .bms-ant-table {
  149. .bms-ant-table-container {
  150. .bms-ant-table-content {
  151. .bms-ant-table-thead {
  152. &>tr>th {
  153. font-size: 14px;
  154. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  155. font-weight: 500;
  156. color: #17181A;
  157. background: #EEF3FA;
  158. border-radius: 0 !important;
  159. padding: 4px 8px !important;
  160. border-bottom: none;
  161. }
  162. }
  163. .bms-ant-table-tbody {
  164. &>tr>td {
  165. padding-left: 8px !important;
  166. padding-right: 8px !important;
  167. }
  168. }
  169. }
  170. }
  171. }
  172. }
  173. }
  174. }
  175. .bms-ant-modal-confirm-btns {
  176. display: flex;
  177. flex-direction: row;
  178. align-items: center;
  179. justify-content: flex-end;
  180. margin-top: 16px;
  181. &>button {
  182. display: flex;
  183. justify-content: center;
  184. align-items: center;
  185. padding: 0 14px;
  186. height: 24px;
  187. border-radius: 4px;
  188. &.bms-ant-btn-default {
  189. border: 1px solid #DAE2F2;
  190. background-color: #FAFCFF;
  191. }
  192. &.bms-ant-btn-primary {
  193. background-color: #3376FE;
  194. }
  195. }
  196. }
  197. }
  198. }
  199. .bms-ant-modal-footer {
  200. border-top: none;
  201. padding: 0;
  202. margin-top: 16px;
  203. .bms-ant-btn {
  204. border-radius: 4px !important;
  205. height: 24px !important;
  206. padding: 0 14px !important;
  207. }
  208. }
  209. }
  210. .bms-ant-modal-footer {
  211. margin-top: 0;
  212. .bms-ant-space-item {
  213. &>button {
  214. display: flex;
  215. justify-content: center;
  216. align-items: center;
  217. padding: 0 14px;
  218. height: 24px;
  219. ;
  220. border-radius: 4px;
  221. &>span {}
  222. &.bms-ant-btn-default {
  223. border: 1px solid #DAE2F2;
  224. background-color: #FAFCFF;
  225. }
  226. &.bms-ant-btn-primary {
  227. background-color: #3376FE;
  228. }
  229. }
  230. }
  231. }
  232. }
  233. //message
  234. .bms-ant-message {
  235. .ant-message-notice-success {
  236. .bms-ant-message-notice-content {
  237. .anticon-check-circle {
  238. &>svg {
  239. color: #52c41a;
  240. }
  241. }
  242. }
  243. }
  244. }
  245. //Form
  246. .bms-ant-form {
  247. &.bms-ant-form-vertical {
  248. .bms-ant-form-item {
  249. margin-bottom: 16px;
  250. .bms-ant-form-item-label {
  251. padding: 0 !important;
  252. height: 15px;
  253. margin-bottom: 8px;
  254. line-height: 15px;
  255. }
  256. .bms-ant-form-item-control-input {
  257. min-height: 24px;
  258. }
  259. }
  260. }
  261. }
  262. // .bms-ant-form-item-label {
  263. // padding: 0;
  264. // //height: 15px;
  265. // line-height: 15px;
  266. // margin-bottom: 5px;
  267. // .bms-ant-form-item-required {
  268. // &::before {
  269. // margin-right: 0 !important;
  270. // }
  271. // }
  272. // }
  273. .bms-ant-input-affix-wrapper {
  274. padding: 0px 8px !important;
  275. border-radius: 4px;
  276. border: 1px solid #CFD7E6 !important;
  277. &>input {
  278. &::placeholder {
  279. font-size: 14px;
  280. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  281. font-weight: 400;
  282. color: #99A6BF;
  283. }
  284. }
  285. }
  286. .bms-ant-input-disabled {
  287. &::placeholder {
  288. color: #7A8599 !important;
  289. }
  290. }
  291. .bms-ant-input-affix-wrapper-disabled {
  292. background: #F0F2F5 !important;
  293. }
  294. // //proContsiner 标题样式覆盖
  295. // .bms-ant-page-header .bms-ant-page-header-heading-title {
  296. // height: 17px !important;
  297. // font-size: 16px !important;
  298. // line-height: 17px !important;
  299. // }
  300. .bms-ant-page-header {
  301. .bms-ant-page-header-heading-title {
  302. font-size: 16px !important;
  303. }
  304. }
  305. .bms-ant-page-header .bms-ant-page-header-heading-left {
  306. margin-block: 0 !important;
  307. }
  308. .bms-ant-pro-sider-fixed {
  309. position: absolute !important;
  310. }
  311. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-sider-fixed {
  312. position: absolute !important;
  313. // min-width:230px !important;
  314. // width: 230px !important;
  315. }
  316. //避免logo区域的层级过高,影响父容器
  317. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-sider-fixed {
  318. height: calc(100vh - 48px) !important;
  319. z-index: 0 !important;
  320. }
  321. .bms-ant-pro-base-menu .bms-ant-pro-base-menu-submenu-has-icon >.bms-ant-menu-sub {
  322. padding-inline-start:0 !important;
  323. }
  324. .bms-ant-pro-layout .bms-ant-pro-sider .bms-ant-layout-sider-children {
  325. padding-inline: 0 !important;
  326. &>div {
  327. padding-inline: 8px !important;
  328. }
  329. }
  330. .bms-ant-menu-sub.bms-ant-menu-inline {
  331. background: #fff !important;
  332. }
  333. .bms-ant-menu-item-selected {
  334. background-color:#F2F6FF !important;
  335. &::after {
  336. display: none !important;
  337. }
  338. }
  339. .bms-ant-menu-light:not(.bms-ant-menu-horizontal) .bms-ant-menu-item:not(.bms-ant-menu-item-selected):hover {
  340. background-color: #f0f2f5 !important;
  341. }
  342. .bms-ant-menu-light:not(.bms-ant-menu-horizontal) .bms-ant-menu-submenu-title:hover {
  343. background-color: #f0f2f5 !important;
  344. }
  345. .bms-ant-tree.bms-ant-tree-directory .bms-ant-tree-treenode:hover::before {
  346. background: #f0f2f5 !important;
  347. border-radius: 4px;
  348. }
  349. .BMS-EditableProTable {
  350. .bms-ant-pro-card-body {
  351. padding-inline: 0 !important;
  352. padding-block: 0 !important;
  353. .bms-ant-table {
  354. border: 1px solid #CFD7E6 !important;
  355. overflow: hidden;
  356. .bms-ant-table-content {
  357. .bms-ant-table-thead {
  358. &>tr>th {
  359. height: 15px;
  360. line-height: 15px;
  361. font-size: 14px;
  362. padding: 12px 16px !important;
  363. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  364. // font-weight: 500;
  365. color: #17181A;
  366. border-bottom: 1px solid #CFD7E6 !important;
  367. background: rgb(238 243 250 / 100%) !important;
  368. &::before {
  369. display: none !important;
  370. }
  371. }
  372. }
  373. .bms-ant-table-tbody {
  374. .bms-ant-table-row {
  375. .bms-ant-table-cell {
  376. height: 15px;
  377. line-height: 15px;
  378. font-size: 14px;
  379. font-family: SourceHanSansCN-Medium, SourceHanSansCN;
  380. color: #17181A;
  381. padding: 12px 16px !important;
  382. &>div {
  383. justify-content: flex-start !important;
  384. }
  385. }
  386. &:last-child {
  387. &>td {
  388. border-bottom-color: none !important;
  389. }
  390. }
  391. }
  392. }
  393. }
  394. }
  395. }
  396. }
  397. .bms-ant-table-wrapper {
  398. .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 {
  399. border-radius: 0 !important;
  400. }
  401. .bms-ant-table-content {
  402. .bms-ant-table-thead {
  403. tr {
  404. &:last-child {
  405. .bms-ant-table-cell {
  406. // border-top: 1px solid #dae2f2;
  407. }
  408. }
  409. }
  410. }
  411. }
  412. }
  413. .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 {
  414. border-start-start-radius: 0 !important;
  415. border-end-start-radius: 0 !important;
  416. }
  417. .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 {
  418. border-bottom-color: #dae2f2 !important;
  419. }
  420. .bms-ant-table-wrapper .bms-ant-table:not(.bms-ant-table-bordered) .bms-ant-table-tbody>tr.bms-ant-table-row:last-child>td {
  421. border-bottom-color: #dae2f2 !important;
  422. }
  423. .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 {
  424. border-end-end-radius: 0 !important;
  425. border-start-end-radius: 0 !important;
  426. }
  427. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-layout-bg-list {
  428. background: #F7F9FC !important;
  429. }
  430. // .bms-ant-message-notice .bms-ant-message-success .anticon {
  431. // color: #52c41a !important;
  432. // }
  433. .ant-message-success {
  434. .anticon .anticon-check-circle {
  435. color: #52c41a !important;
  436. }
  437. }
  438. /**
  439. Select
  440. **/
  441. .bms-ant-select {
  442. .bms-ant-select-selector {
  443. height: 24px !important;
  444. padding: 0 8px !important;
  445. border-radius: 4px !important;
  446. border: 1px solid #CFD7E6 !important;
  447. .bms-ant-select-selection-item {
  448. line-height: 24px !important;
  449. }
  450. .bms-ant-select-selection-search-input {
  451. height: 24px !important;
  452. }
  453. .bms-ant-select-selection-placeholder {
  454. line-height: 22px !important;
  455. font-size: 14px;
  456. font-family: SourceHanSansCN-Normal, SourceHanSansCN;
  457. font-weight: 400;
  458. color: #99A6BF;
  459. }
  460. .bms-ant-select-selection-overflow {
  461. .bms-ant-select-selection-overflow-item {
  462. .bms-ant-select-selection-item {
  463. height: 22px !important;
  464. line-height: 22px !important;
  465. margin-top: 0 !important;
  466. margin-bottom: 7px !important;
  467. }
  468. }
  469. }
  470. }
  471. .bms-ant-select-arrow {
  472. color: #CFD7E6;
  473. }
  474. &.bms-ant-select-disabled {
  475. .bms-ant-select-selector {
  476. border: 1px solid #DADEE6 !important;
  477. .bms-ant-select-selection-placeholder {
  478. color: #7A8599;
  479. }
  480. }
  481. .bms-ant-select-arrow {
  482. color: #7A8599;
  483. }
  484. }
  485. }
  486. .bms-ant-tabs {
  487. .bms-ant-tabs-tab {
  488. padding: 5px 0 !important;
  489. padding-top: 12px !important;
  490. }
  491. .bms-ant-tabs-nav {
  492. &::before {
  493. border-bottom: none !important;
  494. }
  495. }
  496. }
  497. .bms-ant-table-wrapper {
  498. overflow: hidden;
  499. }
  500. .bms-ant-pro-layout .bms-ant-pro-layout-container {
  501. flex: 1;
  502. background: #F7F9FC !important;
  503. overflow-y: scroll;
  504. }
  505. .bms-ant-menu-inline {
  506. border-right: none !important;
  507. }
  508. //页面全局底色
  509. .bms-ant-pro .bms-ant-pro-layout .bms-ant-pro-layout-bg-list {
  510. background: rgb(247 249 252 / 100%);
  511. }
  512. .bms-ant-pro-page-container-children-content {
  513. padding-inline: 0 !important;
  514. }
  515. .bms-ant-pro-sider-actions {
  516. display: none !important;
  517. }
  518. .bms-ant-pro-sider-collapsed-button {
  519. top: 95% !important;
  520. right: 17px !important;
  521. }
  522. .bms-ant-menu .bms-ant-menu-submenu-title .anticon {
  523. transition: none !important;
  524. }
  525. .bms-ant-menu .bms-ant-menu-item .anticon+span {
  526. transition: none !important;
  527. }
  528. .bms-ant-menu .bms-ant-menu-item .anticon {
  529. transition: none !important;
  530. }
  531. .bms-ant-menu .bms-ant-menu-item {
  532. transition: none !important;
  533. border-radius: 4px;
  534. }
  535. .bms-ant-menu .bms-ant-menu-submenu-title .anticon+span {
  536. transition: none !important;
  537. }
  538. .bms-ant-tabs .bms-ant-tabs-tab+.bms-ant-tabs-tab {
  539. margin: 0 0 0 24px !important;
  540. }
  541. .menuCollapseIcon {
  542. &>svg {
  543. width: 24px;
  544. height: 24px;
  545. }
  546. }
  547. .bms-ant-pro-form>div:not(.bms-ant-pro-form-light-filter) .pro-field-lg {
  548. width: 100% !important;
  549. }
  550. .bms-ant-select {
  551. .bms-ant-select-selector {
  552. border: 1px solid #CFD7E6 !important;
  553. // color: #99A6BF !important;
  554. .bms-ant-select-selection-placeholder {
  555. color: #99A6BF !important;
  556. }
  557. }
  558. .bms-ant-select-arrow {
  559. color: #99A6BF !important;
  560. }
  561. }
  562. .bms-ant-input-number-input {
  563. border-radius: 4px;
  564. &::placeholder {
  565. color: #99A6BF !important;
  566. }
  567. }
  568. .bms-ant-select-disabled {
  569. .bms-ant-select-selector {
  570. border: 1px solid #DADEE6 !important;
  571. background: #F0F2F5 !important;
  572. .bms-ant-select-selection-placeholder {
  573. color: #7A8599 !important;
  574. }
  575. }
  576. .bms-ant-select-arrow {
  577. color: #7A8599 !important;
  578. }
  579. }
  580. .bms-ant-input-number {
  581. border: 1px solid #CFD7E6 !important;
  582. // color: #99A6BF !important;
  583. border-radius: 4px;
  584. box-shadow: none !important;
  585. .bms-ant-input-number-input {
  586. height: 22px !important;
  587. line-height: 22px !important;
  588. }
  589. }
  590. .bms-ant-input-number-disabled {
  591. border: 1px solid #DADEE6 !important;
  592. background: #F0F2F5 !important;
  593. .bms-ant-input-number-input {
  594. color: #7A8599 !important;
  595. }
  596. }
  597. .bms-ant-input-affix-wrapper-disabled {
  598. border: 1px solid #DADEE6 !important;
  599. }
  600. .bms-ant-picker {
  601. border-radius: 4px !important;
  602. border: 1px solid #CFD7E6 !important;
  603. height: 24px;
  604. .bms-ant-picker-input {
  605. &>input {
  606. &::placeholder {
  607. color:#99A6BF !important;
  608. }
  609. }
  610. .bms-ant-picker-suffix {
  611. color:#99A6BF !important;
  612. }
  613. }
  614. }
  615. .bms-ant-picker-panel-container {
  616. .bms-ant-picker-panel {
  617. .bms-ant-picker-month-panel {
  618. .bms-ant-picker-body {
  619. .bms-ant-picker-content {
  620. tr {
  621. td {
  622. &.bms-ant-picker-cell-selected {
  623. .bms-ant-picker-cell-inner {
  624. background:#3377FF;
  625. }
  626. }
  627. }
  628. }
  629. }
  630. }
  631. }
  632. }
  633. }
  634. .bms-ant-picker-input>input[disabled] {
  635. color: #7A8599 !important;
  636. }
  637. .bms-ant-picker-disabled {
  638. background: #F0F2F5 !important;
  639. border: 1px solid #DADEE6 !important;
  640. .anticon-swap-right,
  641. .anticon-calendar {
  642. color: #7A8599 !important;
  643. }
  644. }