styleTemplate.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  1. /*
  2. * @Author: dayan_hjm 茶百道主题样式
  3. * @Date: 2022-10-27 10:56:37
  4. * @Last Modified by: dayan_hjm
  5. * @Last Modified time: 2023-09-12 17:46:02
  6. */
  7. @import url("../../themes/themes.less");
  8. :global {
  9. #app {
  10. height: inherit;
  11. }
  12. .hidetip {
  13. display: none;
  14. }
  15. .ant-pro-table{
  16. padding-bottom: 40px;
  17. }
  18. .ant-pro-table-list-toolbar-container{
  19. padding: 0px 0 5px;
  20. }
  21. .disabledBtn,.disabledBtn:hover{
  22. color:#b0b0b0!important
  23. }
  24. #form1222 .ant-col-19{
  25. max-width: 100%;
  26. margin-left: 80px;
  27. }
  28. // 表格内设置自动ellipsis省略显示
  29. .tableTd_ellipsis {
  30. max-width: 300px;
  31. line-height: 24px;
  32. height: 24px;
  33. white-space: nowrap;
  34. /* 规定文本是否折行 */
  35. overflow: hidden;
  36. /* 规定超出内容宽度的元素隐藏 */
  37. text-overflow: ellipsis;
  38. span {
  39. max-width: 100%;
  40. display: inline-block;
  41. white-space: nowrap;
  42. overflow: hidden;
  43. text-overflow: ellipsis;
  44. }
  45. }
  46. a {
  47. color: @dy-active;
  48. cursor: pointer;
  49. }
  50. .ant-tabs-content-holder{
  51. padding: 10px;
  52. }
  53. .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  54. color: @dy-all-themes;
  55. text-shadow: 0 0 0.25px currentcolor;
  56. }
  57. //左侧导航栏 start----------------
  58. .ant-menu-item.ant-menu-item-active.click_active:hover,
  59. .ant-menu-item-active,
  60. .ant-menu-submenu-open,
  61. .ant-menu-submenu-active {
  62. background: @dy-all-themes !important;
  63. }
  64. .tsddd {
  65. padding: 20px 16px 16px 16px;
  66. background: #fff;
  67. }
  68. .normal_menu,
  69. .ant-tabs-ink-bar,
  70. .click_active {
  71. background: @dy-all-themes !important;
  72. }
  73. .ant-menu.ant-menu-root.ant-menu-inline.ant-menu-dark {
  74. background-color: @dy-all-themes !important;
  75. .click_active {
  76. background: @dy-all-active!important;
  77. border-left: 3px solid @dy-all-active-hover;
  78. .text_over {
  79. color: rgba(255, 255, 255, 1) !important;
  80. }
  81. }
  82. .normal_menu {
  83. background-color: @dy-all-themes;
  84. }
  85. }
  86. .log {
  87. background: #fff;
  88. }
  89. .left_menu_search {
  90. background: @dy-all-themes;
  91. }
  92. //左侧导航栏 end----------------
  93. //tab栏 start----------------
  94. .body_box {
  95. margin-top: 56px !important;
  96. background: #fff;
  97. .navigator {
  98. background-color: @dy-all-themes;
  99. height: 40px;
  100. line-height: 31px;
  101. align-items: flex-end;
  102. .close_icon {
  103. margin-top: 2px;
  104. }
  105. .cust_tag_static {
  106. height: 30px;
  107. }
  108. .cust_tag_actived {
  109. line-height: 42px;
  110. }
  111. }
  112. }
  113. //tab栏 end----------------
  114. //系统悬浮公告 start----------------
  115. .modelMsg {
  116. z-index: 99;
  117. color: #000;
  118. position: absolute;
  119. top: 100px;
  120. left: calc(50% - 300px);
  121. width: 200px;
  122. text-align: center;
  123. background: #e7e7e7;
  124. border-radius: 10px;
  125. height: 30px;
  126. line-height: 40px;
  127. width: 604px;
  128. height: 40px;
  129. background: #FDEEDA;
  130. border-radius: 2px;
  131. animation: modelMsgShow 1s infinite;
  132. -webkit-animation: modelMsgShow 1s infinite;
  133. >p {
  134. display: flex;
  135. align-items: center;
  136. justify-content: left;
  137. padding: 0 10px;
  138. .ok_f {
  139. color: rgba(0, 0, 0, 0.65);
  140. width: calc(100% - 70px);
  141. text-align: left;
  142. margin-left: 8px;
  143. font-size: 13px;
  144. overflow: hidden;
  145. text-overflow: ellipsis;
  146. white-space: nowrap;
  147. }
  148. .ok_t {
  149. font-size: 14px;
  150. color: #FAAD14;
  151. cursor: pointer;
  152. }
  153. }
  154. }
  155. @keyframes modelMsgShow {
  156. from {
  157. background-color: red;
  158. }
  159. to {
  160. background-color: blue;
  161. }
  162. }
  163. /*Safari 和 Chrome:*/
  164. @-webkit-keyframes modelMsgShow {
  165. from {
  166. background-color: red;
  167. }
  168. to {
  169. background-color: blue;
  170. }
  171. }
  172. //系统悬浮公告 end----------------
  173. .buildStard {
  174. margin-right: 5px;
  175. color: #ffbc3b;
  176. margin-top: 2px;
  177. }
  178. //上方导航栏
  179. .tips_pop .yjyd_but {
  180. width: 50%;
  181. display: inline-block;
  182. border: 1px solid #ececec;
  183. }
  184. #app .top {
  185. height: 56px;
  186. background: @dy-bg;
  187. box-shadow: 0px 1px 5px #e0e0e0;
  188. .controler .ant-dropdown-link {
  189. color: @dy-font;
  190. }
  191. .contact {
  192. border-right: 1px solid #cacaca;
  193. width: 33px;
  194. }
  195. .ant-dropdown-trigger {
  196. min-width: 70px;
  197. margin-top: -5px;
  198. margin-left: 10px;
  199. }
  200. .menu li {
  201. color: @dy-font;
  202. font-size: 12px;
  203. width: auto;
  204. line-height: 38px;
  205. padding-right: 24px;
  206. }
  207. .menu li:hover {
  208. color: @dy-active;
  209. opacity: 0.9;
  210. }
  211. .menu li {
  212. span {
  213. opacity: 0.65;
  214. }
  215. .actived {
  216. color: @dy-active;
  217. box-shadow: 0 -2px 0 0 @dy-active inset;
  218. font-weight: 700;
  219. opacity: 1;
  220. height: 41px;
  221. margin-top: -10px;
  222. }
  223. }
  224. .logo {
  225. padding-left: 10px;
  226. cursor: pointer;
  227. img {
  228. height: 42px;
  229. }
  230. }
  231. }
  232. //首页背景
  233. .homePage .bottom_body {
  234. background-image: linear-gradient(to top, #F8FCFE, #F8FCFE, #F8FCFE);
  235. // background: url(../imgs/login/bg@2x.png) no-repeat 0 -47px / 100% 109% #1c45b4;
  236. }
  237. .bottom_body {
  238. background: #fff;
  239. .home {
  240. padding: 16px;
  241. display: flex;
  242. align-items: flex-start;
  243. justify-content: space-between;
  244. background: unset;
  245. .leftContent {
  246. width: 320px;
  247. height: 100%;
  248. z-index: 9;
  249. .topMsg {
  250. width: 100%;
  251. height: 284px;
  252. background: #FFFFFF;
  253. box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.04);
  254. border-radius: 26px;
  255. padding: 16px;
  256. .hello {
  257. font-weight: 600;
  258. font-size: 20px;
  259. color: @dy-active;
  260. line-height: 28px;
  261. display: block;
  262. padding: 11px 0;
  263. }
  264. .xFont {
  265. height: 20px;
  266. font-family: PingFangSC-Regular;
  267. font-weight: 400;
  268. font-size: 16px;
  269. color: rgba(0, 0, 0, 0.45);
  270. line-height: 20px;
  271. }
  272. .msglist {
  273. padding: 16px 0;
  274. li {
  275. width: 100%;
  276. height: 42px;
  277. background: #F8F8F8;
  278. border-radius: 28px;
  279. display: flex;
  280. margin-bottom: 15px;
  281. text-align: center;
  282. font-weight: 400;
  283. font-size: 14px;
  284. color: #333;
  285. line-height: 42px;
  286. align-items: center;
  287. justify-content: left;
  288. padding-left: 30px;
  289. img {
  290. margin-right: 5px;
  291. }
  292. }
  293. }
  294. }
  295. .bottomContent {
  296. width: 100%;
  297. height: calc(100% - 300px);
  298. background: #FFFFFF;
  299. box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.04);
  300. border-radius: 26px;
  301. margin-top: 16px;
  302. //min-height: 432px;
  303. }
  304. }
  305. .listIconFont {
  306. width: 100%;
  307. height: 36px;
  308. display: flex;
  309. text-align: center;
  310. font-weight: 400;
  311. font-size: 14px;
  312. color: #333;
  313. line-height: 36px;
  314. align-items: center;
  315. justify-content: left;
  316. cursor: pointer;
  317. img {
  318. margin-right: 5px;
  319. }
  320. }
  321. .bigDivPd {
  322. padding: 16px;
  323. }
  324. .titleDiv {
  325. width: 100%;
  326. display: flex;
  327. align-items: center;
  328. justify-content: space-between;
  329. font-weight: 600;
  330. font-size: 16px;
  331. color: #333333;
  332. line-height: 24px;
  333. margin-bottom: 15px;
  334. a {
  335. font-size: 14px;
  336. color: rgba(0, 0, 0, 0.45);
  337. text-align: right;
  338. line-height: 22px;
  339. font-weight: 400;
  340. }
  341. }
  342. .kbs_c {
  343. height: calc(100% - 40px);
  344. overflow-y: scroll;
  345. }
  346. .kbs_c::-webkit-scrollbar {
  347. display: none;
  348. scrollbar-width: none;
  349. -ms-overflow-style: none;
  350. }
  351. .kbs_c:hover::-webkit-scrollbar {
  352. display: unset;
  353. scrollbar-width: unset;
  354. -ms-overflow-style: unset;
  355. }
  356. .rightContent {
  357. width: 320px;
  358. height: 100%;
  359. z-index: 9;
  360. .topMsg {
  361. width: 100%;
  362. height: 284px;
  363. background: #FFFFFF;
  364. box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.04);
  365. border-radius: 26px;
  366. padding: 16px;
  367. .icon_c {
  368. width: 100%;
  369. display: flex;
  370. align-items: flex-start;
  371. justify-content: unset !important;
  372. flex-wrap: wrap;
  373. height: calc(100% - 40px);
  374. overflow-y: scroll;
  375. .icon_p {
  376. width: 33%;
  377. display: flex;
  378. align-items: center;
  379. justify-content: center;
  380. flex-wrap: wrap;
  381. padding: 2px 0;
  382. cursor: pointer;
  383. position: relative;
  384. >i {
  385. display: flex;
  386. width: 54px;
  387. height: 54px;
  388. background: @dy-active;
  389. color: #fff;
  390. border-radius: 50%;
  391. text-align: center;
  392. justify-content: center;
  393. line-height: 50px;
  394. font-size: 23px;
  395. font-style: normal;
  396. font-weight: 700;
  397. }
  398. >span {
  399. display: flex;
  400. width: 100%;
  401. justify-content: center;
  402. margin-top: 5px;
  403. }
  404. .delectt{
  405. display: none;
  406. position: absolute;
  407. background: #ff3737;
  408. width: 20px;
  409. height: 20px;
  410. border-radius: 50%;
  411. line-height: 13px;
  412. font-size: 28px;
  413. top: 0;
  414. right: 14px;
  415. color: #fff;
  416. }
  417. }
  418. .icon_p:hover{
  419. .delectt{
  420. display: block;
  421. }
  422. }
  423. }
  424. .icon_c::-webkit-scrollbar {
  425. display: none;
  426. scrollbar-width: none;
  427. -ms-overflow-style: none;
  428. }
  429. .icon_c:hover::-webkit-scrollbar {
  430. display: unset;
  431. scrollbar-width: unset;
  432. -ms-overflow-style: unset;
  433. }
  434. }
  435. .bottomContent {
  436. width: 100%;
  437. height: calc(100% - 300px);
  438. background: #FFFFFF;
  439. box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.04);
  440. border-radius: 26px;
  441. margin-top: 16px;
  442. //min-height: 432px;
  443. }
  444. }
  445. .centerCon {
  446. width: calc(100% - 672px);
  447. height: 100%;
  448. .centerContent {
  449. width: 100%;
  450. height: 56px;
  451. background: #FFFFFF;
  452. box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.04);
  453. border-radius: 28px;
  454. display: flex;
  455. align-items: center;
  456. justify-content: space-between;
  457. padding: 16px 24px;
  458. .inform {
  459. font-size: 18px;
  460. color: #1B45B4;
  461. font-weight: 700;
  462. margin-right: 24px;
  463. font-style: italic;
  464. }
  465. .ant-carousel {
  466. width: 100%;
  467. .slick-dots-bottom {
  468. bottom: -10px;
  469. }
  470. .slick-dots li button {
  471. height: 2px;
  472. background: #e4e3e3;
  473. border-radius: 10px;
  474. }
  475. .slick-dots li.slick-active button {
  476. background: @dy-active;
  477. }
  478. }
  479. .inform_d {
  480. width: calc(100% - 65px);
  481. display: flex;
  482. justify-content: space-between;
  483. .inform_d_d {
  484. display: flex !important;
  485. justify-content: space-between;
  486. color: rgba(0, 0, 0, 0.6);
  487. }
  488. }
  489. }
  490. .center_bg {
  491. width: 84%;
  492. margin-left: 8%;
  493. height: calc(100% - 56px);
  494. background: url(../imgs/login/bg_s@2x.png) no-repeat 0 center / 100% auto;
  495. }
  496. }
  497. }
  498. }
  499. .bq {
  500. width: 100%;
  501. height: 103px;
  502. /* opacity: 0.5; */
  503. font-family: PingFangSC-Regular;
  504. font-weight: 400;
  505. font-size: 12px;
  506. color: #FFFFFF;
  507. text-align: center;
  508. line-height: 170px;
  509. bottom: 0px;
  510. left: 0;
  511. z-index: 0;
  512. position: absolute;
  513. background: url(../imgs/login/home_line@2x.png) no-repeat 0 0 / 100% 100%;
  514. }
  515. .area_top_title {
  516. display: flex;
  517. align-items: center;
  518. font-size: 16px;
  519. font-weight: 700;
  520. font-family: "微软雅黑";
  521. margin-bottom: 10px;
  522. color: #1b45b4;
  523. >p {
  524. font-size: 12px;
  525. margin-left: 10px;
  526. font-weight: normal;
  527. color: #666;
  528. }
  529. }
  530. .lables {
  531. display: flex;
  532. align-items: center;
  533. margin-top: 30px;
  534. >p {
  535. width: 88px;
  536. }
  537. }
  538. .tanhao{
  539. border: 2px solid #fdcd60;
  540. border-radius: 50%;
  541. display: block;
  542. width: 24px;
  543. height: 24px;
  544. text-align: center;
  545. line-height: 18px;
  546. color: #fdcd60;
  547. font-weight: 700;
  548. font-size: 21px;
  549. margin-left: 10px;
  550. cursor: pointer;
  551. }
  552. .lables2{
  553. flex-wrap: wrap;
  554. >.ant-select-show-search:first-child{
  555. width: 85%;
  556. margin-left: 0%;
  557. }
  558. }
  559. //table
  560. .module_line,
  561. .module_search {
  562. padding-bottom: 10px;
  563. }
  564. .space {
  565. margin-bottom: 10px;
  566. }
  567. .module_body {
  568. padding-top: 10px;
  569. }
  570. .ant-table-wrapper {
  571. margin-top: 6px;
  572. }
  573. //按钮
  574. .ant-btn-primary,
  575. .ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon,
  576. .ant-checkbox-checked .ant-checkbox-inner,
  577. .ant-checkbox-indeterminate .ant-checkbox-inner::after,
  578. .ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title::after,
  579. .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner,
  580. .ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner::after {
  581. border-color: @dy-active !important;
  582. background: @dy-active !important;
  583. }
  584. .ant-checkbox-checked .ant-checkbox-inner::after, .ant-select-tree-checkbox-inner::after{
  585. border-color:#f5f5f5 !important
  586. }
  587. .ant-steps-item-finish .ant-steps-item-icon,
  588. .ant-pagination-item-active {
  589. border-color: @dy-active !important;
  590. }
  591. a:hover,
  592. .ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon,
  593. .more {
  594. color: @dy-all-active-hover !important;
  595. }
  596. .sys_account___aWmgk .col_blue,
  597. .ant-pagination-item-active a,
  598. .themeColor,
  599. .col_blue span {
  600. color: @dy-active !important;
  601. }
  602. .module_title::before {
  603. background-color: @dy-all-little;
  604. width: 2px;
  605. height: 15px;
  606. margin-top: 6px;
  607. }
  608. .ant-btn {
  609. border-radius: 3px;
  610. }
  611. .ant-btn:hover,
  612. .ant-btn:focus {
  613. border-color: @dy-all-active-hover !important;
  614. color: @dy-all-active-hover !important;
  615. }
  616. .ant-btn-danger:focus, .ant-btn-danger:hover{
  617. color: #fff!important;
  618. border-color: #ff4d4f!important;
  619. background: #ff4d4f!important;
  620. }
  621. .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner,
  622. .ant-select:not(.ant-select-disabled):hover .ant-select-selector {
  623. border-color: @dy-all-active-hover !important;
  624. box-shadow: 0 0 0 2px rgba(7, 45, 151, 0.2) !important;
  625. }
  626. .ant-btn-primary:hover,
  627. .ant-btn-primary:focus {
  628. border-color: @dy-active !important;
  629. background: @dy-active !important;
  630. color: #fff !important;
  631. }
  632. .ant-btn-primary {
  633. color: #fff !important;
  634. }
  635. }