阅行客电子档案
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.

1044 lines
20 KiB

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