global.less 20 KB

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