阅行客电子档案
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1031 lines
20 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. @import "variables";
  2. @mixin clearfix {
  3. &:after {
  4. content: "";
  5. display: table;
  6. clear: both;
  7. }
  8. }
  9. // @mixin scrollBar {
  10. // &::-webkit-scrollbar-track-piece {
  11. // background: #d3dce6;
  12. // }
  13. // ::-webkit-scrollbar-corner {
  14. // background-color: #021941;
  15. // }
  16. // &::-webkit-scrollbar {
  17. // width: 6px;
  18. // }
  19. // &::-webkit-scrollbar-thumb {
  20. // background: #99a9bf;
  21. // border-radius: 20px;
  22. // }
  23. // }
  24. @mixin btn_blue_style{
  25. [data-theme="light"] & {
  26. background-color: #0348F3;
  27. border-color: #0348F3;
  28. color: #fff !important;
  29. }
  30. }
  31. @mixin btn_blue_hover{
  32. [data-theme="light"] & {
  33. background-color: #4579FA;
  34. border-color: #4579FA;
  35. }
  36. }
  37. @mixin btn_white_style{
  38. [data-theme="light"] & {
  39. background-color: #fff;
  40. border-color: #E3E7EE;
  41. color: #545B65 !important;
  42. }
  43. }
  44. @mixin btn_white_hover{
  45. [data-theme="light"] & {
  46. background-color: #F7F9FA;
  47. }
  48. }
  49. @mixin btn_hover{
  50. [data-theme="dark"] & {
  51. background-color: #02255F;
  52. }
  53. [data-theme="light"] & {
  54. background-color: #0348F3;
  55. }
  56. }
  57. @mixin scrollBar-bg{
  58. [data-theme="dark"] & {
  59. background-color: #13439E;
  60. }
  61. [data-theme="light"] & {
  62. background-color:#0348F3;
  63. }
  64. }
  65. @mixin font_color($color) {
  66. color: $color;
  67. [data-theme="dark"] & {
  68. color: $font-color-dark;
  69. }
  70. [data-theme="light"] & {
  71. color: $font-color-light;
  72. }
  73. }
  74. @mixin shadow-set(){
  75. [data-theme="dark"] & {
  76. box-shadow: 5px 2px 10px 1px rgba(15,164,222,0.16);
  77. }
  78. }
  79. // siderBar
  80. @mixin siderBar-set(){
  81. [data-theme="dark"] & {
  82. background: url(~@/assets/images/sidebar_bg.png) #031435 no-repeat right bottom;
  83. background-size: contain;
  84. box-shadow: 5px 2px 10px 1px rgba(15,164,222,0.16);
  85. }
  86. [data-theme="light"] & {
  87. background: linear-gradient(180deg, #2B67DD 0%, #4180FB 100%);
  88. color: #fff;
  89. }
  90. }
  91. @mixin siderBar-submenu-set(){
  92. [data-theme="light"] & {
  93. color: rgba(255,255,255,0.8) !important;
  94. }
  95. }
  96. @mixin siderBar-submenu-set-acitve(){
  97. [data-theme="dark"] & {
  98. background: $subMenuHover !important;
  99. }
  100. [data-theme="light"] & {
  101. background: linear-gradient(270deg, #021C5E 0%, rgba(2,28,94,0) 100%) !important;
  102. color: #fff !important;
  103. font-weight: bold !important;
  104. border-right: 4px solid #33D0FF !important;
  105. }
  106. }
  107. @mixin siderBar-title-set-acitve{
  108. [data-theme="dark"] & {
  109. color: $mainColor !important;
  110. background-image: $menuActiveBg !important;
  111. &::before{
  112. content: "";
  113. position: absolute;
  114. left: 0;
  115. top: 0;
  116. width: 5px;
  117. height: 60px;
  118. background-color: $mainColor;
  119. }
  120. }
  121. }
  122. @mixin siderBar-icon{
  123. [data-theme="dark"] & {
  124. color: $mainColor;
  125. }
  126. [data-theme="light"] & {
  127. color: #fff;
  128. }
  129. }
  130. @mixin breadcrumb-bg{
  131. [data-theme="dark"] & {
  132. background-color: $background-color-dark;
  133. }
  134. [data-theme="light"] & {
  135. background-color: $main-bg-light;
  136. }
  137. }
  138. @mixin breadcrumb-text{
  139. [data-theme="dark"] & {
  140. color: $mainColor;
  141. }
  142. [data-theme="light"] & {
  143. color: #9098A4;
  144. }
  145. }
  146. @mixin breadcrumb-text-active{
  147. [data-theme="dark"] & {
  148. color: #fff;
  149. }
  150. [data-theme="light"] & {
  151. color: #1F55EB;
  152. }
  153. }
  154. @mixin main_bg_color() {
  155. [data-theme="dark"] & {
  156. background-color: $background-color-dark;
  157. @include font-color($font-color-dark);
  158. }
  159. [data-theme="light"] & {
  160. background-color: transparent;
  161. @include font-color($font-color-light);
  162. }
  163. }
  164. @mixin dropdown_bg() {
  165. [data-theme="dark"] & {
  166. box-shadow: rgb(51 156 255) 0px 0px 10px 1px inset;
  167. background: #02255F;
  168. }
  169. [data-theme="light"] & {
  170. box-shadow: 0px 5px 11px 0px rgba(0,0,0,0.17);
  171. background: #fff;
  172. }
  173. }
  174. @mixin dropdown_bg_hover() {
  175. [data-theme="dark"] & {
  176. background: #13439E;
  177. color: #fff;
  178. }
  179. [data-theme="light"] & {
  180. background: #F5F9FC;
  181. color: #0348F3;
  182. }
  183. }
  184. @mixin icon_color() {
  185. [data-theme="dark"] & {
  186. color: $icon-color-dark;
  187. }
  188. [data-theme="light"] & {
  189. color: $icon-color-light;
  190. }
  191. }
  192. @mixin svg_color() {
  193. [data-theme="dark"] & {
  194. fill: #339cff;
  195. }
  196. [data-theme="light"] & {
  197. fill: #0348F3;
  198. }
  199. }
  200. @mixin bg_color() {
  201. [data-theme="dark"] & {
  202. background-color: $background-color-dark;
  203. @include font-color($font-color-dark);
  204. }
  205. [data-theme="light"] & {
  206. background-color: $background-color-light;
  207. @include font-color($font-color-light);
  208. }
  209. }
  210. // 内容模块 背景-线条-font设置
  211. @mixin user_cont() {
  212. [data-theme="dark"] & {
  213. background-color: $background-color-dark;
  214. border: $mainContainerBorder;
  215. @include font-color($font-color-dark);
  216. }
  217. [data-theme="light"] & {
  218. background-color: $background-color-light;
  219. border: none;
  220. @include font-color($font-color-light);
  221. }
  222. }
  223. @mixin before_line_color() {
  224. [data-theme="dark"] & {
  225. border-top: 1px solid $mainColor;
  226. border-left: 1px solid $mainColor;
  227. }
  228. [data-theme="light"] & {
  229. border-top: none;
  230. border-left: none;
  231. }
  232. }
  233. @mixin after_line_color() {
  234. [data-theme="dark"] & {
  235. border-right: 1px solid $mainColor;
  236. border-bottom: 1px solid $mainColor;
  237. }
  238. [data-theme="light"] & {
  239. border-right: none;
  240. border-bottom: none;
  241. }
  242. }
  243. @mixin left_bottom_line_color() {
  244. [data-theme="dark"] & {
  245. border-bottom: 1px solid $mainColor;
  246. border-left: 1px solid $mainColor;
  247. }
  248. [data-theme="light"] & {
  249. border-left: none;
  250. border-bottom: none;
  251. }
  252. }
  253. @mixin right_top_line_color() {
  254. [data-theme="dark"] & {
  255. border-right: 1px solid $mainColor;
  256. border-top: 1px solid $mainColor;
  257. }
  258. [data-theme="light"] & {
  259. border-right: none;
  260. border-top: none;
  261. }
  262. }
  263. @mixin box_padding{
  264. [data-theme="dark"] & {
  265. padding: 0 !important;
  266. margin-top: 20px;
  267. }
  268. [data-theme="light"] & {
  269. padding: 20px !important;
  270. }
  271. }
  272. @mixin tree_height_min{
  273. [data-theme="dark"] & {
  274. min-height: calc(100vh - 210px);
  275. }
  276. [data-theme="light"] & {
  277. min-height: calc(100vh - 230px);
  278. }
  279. }
  280. @mixin tree_tab_style{
  281. [data-theme="dark"] & {
  282. border-bottom: 1px solid $mainColor;
  283. }
  284. [data-theme="light"] & {
  285. border-bottom: 1px solid #E3E7EE;
  286. }
  287. }
  288. @mixin tree_tab_item{
  289. [data-theme="dark"] & {
  290. padding: 15px 0 12px 0;
  291. }
  292. [data-theme="light"] & {
  293. color: #A6ADB6;
  294. padding-bottom: 12px;
  295. }
  296. }
  297. @mixin tree_tab_item_active{
  298. [data-theme="dark"] & {
  299. border-bottom: 3px solid #3a99fd;
  300. }
  301. [data-theme="light"] & {
  302. color: #000;
  303. border-bottom: 3px solid #0348F3;
  304. }
  305. }
  306. @mixin tree_no_header{
  307. [data-theme="dark"] & {
  308. margin-top:122px;
  309. min-height: calc(100vh - 262px);
  310. padding: 0 20px;
  311. }
  312. }
  313. @mixin table_height_min{
  314. [data-theme="dark"] & {
  315. min-height: calc(100vh - 260px);
  316. }
  317. [data-theme="light"] & {
  318. min-height: calc(100vh - 280px);
  319. }
  320. }
  321. @mixin tab_height_min{
  322. [data-theme="dark"] & {
  323. min-height: calc(100vh - 200px);
  324. }
  325. [data-theme="light"] & {
  326. min-height: calc(100vh - 178px);
  327. }
  328. }
  329. @mixin input_style{
  330. [data-theme="dark"] & {
  331. border: 1px solid $mainColor;
  332. color: #fff;
  333. }
  334. [data-theme="light"] & {
  335. border: 1px solid #E3E7EE;
  336. color: #0C0E1E;
  337. }
  338. }
  339. @mixin tree_font_color{
  340. [data-theme="dark"] & {
  341. color: $mainColor;
  342. }
  343. [data-theme="light"] & {
  344. color: #0C0E1E;
  345. }
  346. }
  347. @mixin tree_style{
  348. @include tree_font_color;
  349. [data-theme="dark"] & {
  350. padding: 0 30px !important;
  351. }
  352. }
  353. @mixin tree_children_font{
  354. [data-theme="light"] & {
  355. color: #545B65;
  356. }
  357. }
  358. @mixin tree_children_icon_font{
  359. [data-theme="light"] & {
  360. color: #0C0E1E;
  361. }
  362. }
  363. @mixin tree_children_padding{
  364. [data-theme="light"] & {
  365. padding: 0 !important;
  366. }
  367. }
  368. @mixin tree_hover{
  369. [data-theme="dark"] & {
  370. background-color: transparent !important;
  371. background-image: $subMenuActiveBg;
  372. }
  373. [data-theme="light"] & {
  374. background-color: #E8F2FF !important;
  375. color: #0348F3;
  376. }
  377. }
  378. @mixin tree_active{
  379. [data-theme="dark"] & {
  380. background-image: $subMenuActiveBg !important;
  381. color: #fff;
  382. }
  383. [data-theme="light"] & {
  384. background-color: #E8F2FF !important;
  385. color: #0348F3 !important;
  386. }
  387. }
  388. @mixin elButton-style{
  389. [data-theme="dark"] & {
  390. border-color: $mainColor;
  391. color: #fff;
  392. }
  393. [data-theme="light"] & {
  394. font-weight: bold;
  395. border-color: #0348F3;
  396. color: #0348F3;
  397. }
  398. }
  399. @mixin elButton-disabled-style{
  400. [data-theme="dark"] & {
  401. color: #13439E;
  402. background-color: transparent;
  403. border-color: #13439E;
  404. }
  405. [data-theme="light"] & {
  406. color: #B4C8FB;
  407. border-color: #B4C8FB;
  408. background-color: #F2F5FE;
  409. }
  410. }
  411. @mixin elButton-hover-style{
  412. [data-theme="dark"] & {
  413. color: #fff;
  414. background-color: #02255F;
  415. border-color: $mainColor;
  416. }
  417. [data-theme="light"] & {
  418. background-color: #E8F2FF;
  419. }
  420. }
  421. // el-table
  422. @mixin elTable-style{
  423. [data-theme="dark"] & {
  424. background-color: #02255f;
  425. }
  426. [data-theme="light"] & {
  427. background-color: #F5F9FC;
  428. }
  429. }
  430. @mixin elTable-font-style{
  431. [data-theme="dark"] & {
  432. color: $mainColor;
  433. }
  434. [data-theme="light"] & {
  435. color: #0C0E1E;
  436. }
  437. }
  438. @mixin elTable-td-font-style{
  439. [data-theme="dark"] & {
  440. color: $mainColor;
  441. border-bottom: 1px dashed #113D72;
  442. }
  443. [data-theme="light"] & {
  444. color: #545B65;
  445. border-bottom: 1px solid #F5F9FC;
  446. }
  447. }
  448. @mixin elTable-hover-style{
  449. [data-theme="dark"] & {
  450. color: #fff;
  451. background-color: #13439E;
  452. }
  453. [data-theme="light"] & {
  454. background-color: #EAF3FB;
  455. color: #545B65;
  456. }
  457. }
  458. @mixin checkbox-style{
  459. [data-theme="dark"] & {
  460. border-color: $mainColor;
  461. }
  462. [data-theme="light"] & {
  463. border-color: #D6D8DD;
  464. }
  465. }
  466. @mixin checkbox-disabled-style{
  467. [data-theme="dark"] & {
  468. border-color: $mainColor;
  469. background: transparent;
  470. }
  471. [data-theme="light"] & {
  472. border-color:#D6D8DD;
  473. background-color: #E6E7E9;
  474. &::after{
  475. border-color:#D1D3D7;
  476. }
  477. }
  478. }
  479. @mixin checkbox-active-style{
  480. [data-theme="dark"] & {
  481. border-color: $mainColor;
  482. background: transparent;
  483. &::after{
  484. border-color: $mainColor;
  485. }
  486. }
  487. [data-theme="light"] & {
  488. border-color:#0348F3;
  489. background-color: #0348F3;
  490. // border-color:#D6D8DD;
  491. // background-color: #D6D8DD;
  492. &::after{
  493. border-color: #fff;
  494. }
  495. }
  496. }
  497. // el-pagination
  498. @mixin pagination-font{
  499. [data-theme="dark"] & {
  500. color: $mainColor;
  501. }
  502. [data-theme="light"] & {
  503. color: #545B65;
  504. }
  505. }
  506. @mixin pagination-input{
  507. @include pagination-font;
  508. [data-theme="dark"] & {
  509. border-color: $mainColor;
  510. }
  511. [data-theme="light"] & {
  512. border-color: #E3E7EE;
  513. }
  514. }
  515. @mixin pagination-active{
  516. [data-theme="dark"] & {
  517. background-color: #2072D2;
  518. border-color: #2072D2;
  519. }
  520. [data-theme="light"] & {
  521. background-color:#0348F3;
  522. border-color: #0348F3;
  523. }
  524. }
  525. @mixin pagination-paper{
  526. @include pagination-font;
  527. [data-theme="dark"] & {
  528. border: 1px solid $mainColor;
  529. }
  530. [data-theme="light"] & {
  531. border: 1px solid #E3E7EE;
  532. }
  533. }
  534. @mixin pagination-paper-more{
  535. [data-theme="dark"] & {
  536. color: $mainColor;
  537. }
  538. [data-theme="light"] & {
  539. color: #E3E7EE;
  540. }
  541. }
  542. // switch
  543. @mixin switch-style{
  544. [data-theme="dark"] &{
  545. border-color: rgb(64, 158, 255);
  546. background-color: rgb(64, 158, 255);
  547. }
  548. [data-theme="light"] & {
  549. border-color: #0348F3 !important;
  550. background-color: #0348F3 !important;
  551. }
  552. }
  553. @mixin switch-disabled{
  554. // [data-theme="dark"] &{
  555. // border-color: rgb(64, 158, 255);
  556. // background-color: rgb(64, 158, 255);
  557. // }
  558. [data-theme="light"] & {
  559. border-color: #D6DBE7 !important;
  560. background-color: #D6DBE7 !important;
  561. }
  562. }
  563. @mixin row_height_min{
  564. [data-theme="dark"] & {
  565. min-height: calc(100vh - 262px);
  566. }
  567. [data-theme="light"] & {
  568. min-height: calc(100vh - 282px);
  569. }
  570. }
  571. @mixin row_tab_style{
  572. [data-theme="dark"] & {
  573. margin-top: 61px;
  574. border: 1px solid #113d72;
  575. .head-container{
  576. margin: 20px;
  577. }
  578. .el-table__header{
  579. border-top: 1px solid #113D72;
  580. }
  581. .tab-nav{
  582. height: 41px;
  583. line-height: 41px;
  584. margin: -41px 0 30px -1px;
  585. font-weight: bold;
  586. color: #359AFC;
  587. border-bottom: 1px solid #113D72;
  588. li{
  589. position: relative;
  590. padding: 0 24px;
  591. margin: -1px 30px 0 0;
  592. letter-spacing: 2px;
  593. border-top: 1px solid #113D72;
  594. background-color: #021941;
  595. cursor: pointer;
  596. &::before,
  597. &::after{
  598. content: "";
  599. position: absolute;
  600. top: 0;
  601. width: 33px;
  602. height: 41px;
  603. }
  604. &::before{
  605. left: -15px;
  606. background: url(~@/assets/images/tab_left.png) no-repeat;
  607. background-size: contain;
  608. }
  609. &::after{
  610. right: -32px;
  611. background: url(~@/assets/images/tab_right.png) no-repeat;
  612. background-size: contain;
  613. }
  614. &:first-child{
  615. border-left: 1px solid #113d72;;
  616. &::before{
  617. width: 17px;
  618. height: 17px;
  619. left: -1px;
  620. top: -1px;
  621. border-left: 1px solid $mainColor;
  622. border-top: 1px solid $mainColor;
  623. }
  624. }
  625. &.active-tab-nav{
  626. color: #fff;
  627. &::before{
  628. background: url(~@/assets/images/tab_left_active.png) no-repeat;
  629. background-size: contain;
  630. }
  631. &::after{
  632. background: url(~@/assets/images/tab_right_active.png) no-repeat;
  633. background-size: contain;
  634. }
  635. i{
  636. display: block;
  637. position: absolute;
  638. bottom: -1px;
  639. left: 0;
  640. width: 100%;
  641. height: 1px;
  642. border-bottom: 1px solid #021941;
  643. }
  644. }
  645. }
  646. .tab-right-img{
  647. display: block;
  648. width: 93px;
  649. margin: 4px 0 0 -14px;
  650. background: url(~@/assets/images/tab_img.png) no-repeat;
  651. background-size: contain;
  652. }
  653. }
  654. }
  655. [data-theme="light"] & {
  656. margin-top: 0;
  657. .head-container{
  658. margin: 20px 20px 20px 0;
  659. }
  660. .tab-nav{
  661. color: #545B65;
  662. padding: 0 0 0 20px;
  663. border-bottom: 1px solid #EDEFF3;
  664. li{
  665. margin-right: 60px;
  666. &.active-tab-nav{
  667. padding-bottom: 13px;
  668. color: #0348F3;
  669. border-bottom: 3px solid #0348F3;
  670. }
  671. }
  672. }
  673. }
  674. }
  675. @mixin category-left-style{
  676. [data-theme="dark"] & {
  677. width: 328px;
  678. }
  679. [data-theme="light"] & {
  680. width: 368px;
  681. }
  682. }
  683. @mixin category-right-hide{
  684. [data-theme="dark"] & {
  685. width: calc(100vw - 442px);
  686. }
  687. [data-theme="light"] & {
  688. width: calc(100vw - 482px);
  689. }
  690. }
  691. @mixin category-right-open{
  692. [data-theme="dark"] & {
  693. width: calc(100vw - 644px);
  694. }
  695. [data-theme="light"] & {
  696. width: calc(100vw - 684px);
  697. }
  698. }
  699. @mixin category-info-item{
  700. [data-theme="dark"] & {
  701. margin-bottom: 30px;
  702. }
  703. [data-theme="light"] & {
  704. margin-bottom: 15px;
  705. }
  706. }
  707. @mixin category-info-text{
  708. [data-theme="dark"] & {
  709. background-color: #02255f;
  710. color: #fff;
  711. border-radius: 4px;
  712. margin-right: 20px;
  713. border: none;
  714. }
  715. [data-theme="light"] & {
  716. color: #0C0E1E;
  717. }
  718. }
  719. @mixin category-padding{
  720. [data-theme="dark"] & {
  721. margin-top: -20px;
  722. }
  723. }
  724. @mixin des-title{
  725. [data-theme="dark"] & {
  726. padding-left: 46px;
  727. p{
  728. position: absolute;
  729. left: 46px;
  730. top: 0;
  731. background-image: -webkit-gradient(
  732. linear,
  733. 0 0,
  734. 0 bottom,
  735. from(rgba(255, 255, 255, 1)),
  736. to(rgba(46, 143, 237, 1))
  737. );
  738. background-clip: text;
  739. -webkit-text-fill-color: transparent;
  740. z-index: 2;
  741. i{
  742. -webkit-text-fill-color: #fff;
  743. }
  744. }
  745. &::before {
  746. top: 0;
  747. width: 93px;
  748. height: 28px;
  749. background: url(~@/assets/images/des_title.png) no-repeat;
  750. background-size: contain;
  751. }
  752. }
  753. [data-theme="light"] & {
  754. padding-left: 8px;
  755. p{
  756. color: #000;
  757. i{
  758. -webkit-text-fill-color: #9098A4;
  759. }
  760. }
  761. &::before {
  762. top: 50%;
  763. width: 3px;
  764. height: 14px;
  765. margin-top: -7px;
  766. background-color: #0348F3;
  767. }
  768. }
  769. }
  770. @mixin des-fields{
  771. [data-theme="dark"] & {
  772. color: #3a99fd;
  773. border: 1px solid #339cff;
  774. &:hover,
  775. &.fields-active {
  776. color: #fff;
  777. background-color: #339cff;
  778. }
  779. }
  780. [data-theme="light"] & {
  781. color: #545B65;
  782. border: 1px solid #E6E8ED;
  783. &:hover,
  784. &.fields-active {
  785. color: #0348F3;
  786. background-color: #E8F2FF;
  787. }
  788. }
  789. }
  790. @mixin des-preview-label{
  791. font-weight: normal;
  792. [data-theme="dark"] & {
  793. color: #3a99fd;
  794. }
  795. }
  796. @mixin des-preview-input-num{
  797. [data-theme="dark"] & {
  798. margin-right: 24px !important;
  799. }
  800. [data-theme="light"] & {
  801. margin-right: 10px !important;
  802. }
  803. }
  804. @mixin des-preview-input-cont{
  805. [data-theme="dark"] & {
  806. margin-right: 10px !important;
  807. width: 50px !important;
  808. .el-input__inner{
  809. width: 50px !important;
  810. }
  811. }
  812. [data-theme="light"] & {
  813. margin-right: 6px !important;
  814. width: 40px !important;
  815. .el-input__inner{
  816. width: 40px !important;
  817. }
  818. }
  819. }
  820. @mixin main-padding{
  821. [data-theme="dark"] & {
  822. padding: 0 20px 20px 20px;
  823. }
  824. [data-theme="light"] & {
  825. padding: 20px 0;
  826. }
  827. }
  828. @mixin elTag-style{
  829. [data-theme="dark"] & {
  830. border: 1px solid $mainColor;
  831. background-color: #02255f;
  832. }
  833. [data-theme="light"] & {
  834. color: #0348F3;
  835. border: 1px solid #90B0F9;
  836. background-color: #EEF5FE;
  837. }
  838. }
  839. @mixin select-elTag-style{
  840. [data-theme="dark"] & {
  841. color: #fff;
  842. background-color: #02255f;
  843. }
  844. [data-theme="light"] & {
  845. color: #0348F3;
  846. background-color: #EEF5FE;
  847. }
  848. }
  849. @mixin prepend-input{
  850. [data-theme="dark"] & {
  851. border: 1px solid $mainColor;
  852. color: #339cff !important;
  853. }
  854. [data-theme="light"] & {
  855. border: 1px solid #E3E7EE;
  856. color: #545B65 !important;
  857. }
  858. }
  859. @mixin prepend-color{
  860. [data-theme="dark"] & {
  861. color: #339cff !important;
  862. }
  863. [data-theme="light"] & {
  864. color: #545B65 !important;
  865. }
  866. }
  867. @mixin setting-item-font{
  868. [data-theme="dark"] & {
  869. color: #fff;
  870. }
  871. [data-theme="light"] & {
  872. color: #0C0E1E;
  873. }
  874. }
  875. @mixin setting-item-selected{
  876. [data-theme="dark"] & {
  877. color: #fff;
  878. background-color: #02255f;
  879. }
  880. [data-theme="light"] & {
  881. color: #545B65;
  882. background-color: #F5F7FA;
  883. }
  884. }
  885. @mixin table-fixed-style{
  886. [data-theme="dark"] & {
  887. background-color: $boxBg !important;
  888. box-shadow: -5px 5px 10px 1px rgba(15,164,222,0.16);
  889. }
  890. [data-theme="light"] & {
  891. background-color: #FFFFFF !important;
  892. box-shadow: -3px 3px 11px 0px rgba(0,0,0,0.08);
  893. }
  894. }
  895. // 个人中心
  896. @mixin process-left-style{
  897. [data-theme="dark"] & {
  898. box-shadow: 5px 2px 10px 1px rgba(15,164,222,.16);
  899. color: #339cff;
  900. li{
  901. &.active-li{
  902. color: #fff;
  903. &::before{
  904. background-color: #fff;
  905. }
  906. }
  907. &:hover{
  908. background-image: $subMenuHover;
  909. }
  910. }
  911. }
  912. [data-theme="light"] & {
  913. color: #0C0E1E;
  914. box-shadow: 4px 0px 4px 0px rgba(0,0,0,0.04);
  915. li{
  916. &.active-li{
  917. color: #0348F3;
  918. &::before{
  919. background-color: #0348F3;
  920. }
  921. }
  922. &:hover{
  923. background-color:#E8F2FF;
  924. color: #0C0E1E;
  925. }
  926. }
  927. }
  928. }
  929. [data-theme=dark] .process-center {
  930. height: calc(100vh - 290px);
  931. margin-top: -30px;
  932. .process-right{
  933. padding-right: 20px;
  934. width: calc(100vw - 944px);
  935. }
  936. }
  937. [data-theme=light] .process-center {
  938. height: calc(100vh - 283px);
  939. .process-right{
  940. width: calc(100vw - 964px);
  941. }
  942. }