global.less 20 KB

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