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

1210 lines
26 KiB

3 years ago
  1. .head-container {
  2. padding: 20px;
  3. .filter-item {
  4. display: inline-block;
  5. vertical-align: middle;
  6. margin-right: 20px;
  7. input {
  8. border: 1px solid $mainColor;
  9. background-color: transparent;
  10. // @include bg_color($background-color-theme);
  11. height: 30px;
  12. line-height: 30px;
  13. color: #fff;
  14. }
  15. .iconfont{
  16. line-height: 30px;
  17. }
  18. }
  19. .el-select__caret.el-input__icon.el-icon-arrow-up{
  20. line-height: 30px;
  21. }
  22. .date-item {
  23. display: inline-block;
  24. vertical-align: middle;
  25. border: 1px solid $mainColor;
  26. @include bg_color($background-color-theme);
  27. margin-right: 20px;
  28. height: 30px !important;
  29. width: 230px !important;
  30. }
  31. }
  32. .el-tabs{
  33. margin-bottom: 25px;
  34. }
  35. // xu
  36. // 四角边线
  37. // 有左右分区时
  38. .container-main{
  39. display: flex;
  40. justify-content: space-between;
  41. margin-left: 0 !important;
  42. margin-right: 0 !important;
  43. }
  44. .container-left{
  45. margin-right: 20px;
  46. }
  47. .container-left,
  48. .container-right,
  49. .container-wrap,
  50. .el-card,
  51. .header-container-wrap{
  52. position: relative;
  53. min-height: 100%;
  54. padding: 0 !important;
  55. border: $mainContainerBorder;
  56. min-height: calc(100vh - 190px);
  57. &::before,
  58. &::after{
  59. content: "";
  60. position: absolute;
  61. width: 17px;
  62. height: 17px;
  63. z-index: 99;
  64. }
  65. &::before{
  66. top: -1px;
  67. left: -1px;
  68. border-top: 1px solid $mainColor;
  69. border-left: 1px solid $mainColor;
  70. }
  71. &::after{
  72. right: -1px;
  73. bottom: -1px;
  74. border-right: 1px solid $mainColor;
  75. border-bottom: 1px solid $mainColor;
  76. }
  77. }
  78. .el-card,
  79. .container-left{
  80. background-color: transparent;
  81. min-height: auto;
  82. border-radius: 0;
  83. overflow: visible;
  84. .el-card__header{
  85. background-color: #02255F;
  86. border-bottom: none;
  87. .role-span{
  88. color: #fff;
  89. }
  90. }
  91. .el-card__body{
  92. padding: 0;
  93. .head-container{
  94. padding: 0;
  95. }
  96. }
  97. .crud-opts{
  98. justify-content: center;
  99. padding: 20px 0 !important;
  100. border-bottom: 1px solid #113D72;
  101. }
  102. .el-tree{
  103. margin: 20px 0;
  104. }
  105. }
  106. // xu el-button
  107. .head-search{
  108. margin-bottom: 20px;
  109. .el-button{
  110. margin-left: 0;
  111. background-color: $desPreviewColor;
  112. }
  113. }
  114. .el-button,
  115. .el-button--info.is-plain{
  116. font-size: 14px;
  117. color: #fff;
  118. border-color: $mainColor;
  119. background-color: transparent;
  120. }
  121. .el-button.is-disabled,
  122. .el-button.is-disabled:hover,
  123. .el-button.is-disabled:focus{
  124. color: #13439E;
  125. background-color: transparent;
  126. border-color: #13439E;
  127. }
  128. .el-button:hover,
  129. .el-button:focus,
  130. .el-button--info.is-plain:hover,
  131. .el-button--info.is-plain:focus{
  132. color: #fff;
  133. background-color: #02255F;
  134. border-color: $mainColor;
  135. }
  136. .el-button--mini{
  137. padding: 7px 10px;
  138. }
  139. .el-message-box,
  140. .el-popover{
  141. .el-button{
  142. border-color: #dcdfe6;
  143. color: #606266;
  144. }
  145. .el-button:focus,
  146. .el-button:hover {
  147. color: #1890ff;
  148. border-color: #badeff;
  149. background-color: #e8f4ff;
  150. }
  151. .el-button--primary,
  152. .el-button--primary:focus,
  153. .el-button--primary:hover {
  154. background: #46a6ff;
  155. border-color: #46a6ff;
  156. color: #fff;
  157. }
  158. }
  159. .header-container-wrap{
  160. min-height: auto;
  161. }
  162. .right-top-line,
  163. .left-bottom-line,
  164. .right-bottom-line{
  165. display: block;
  166. position: absolute;
  167. width: 17px;
  168. height: 17px;
  169. z-index: 99;
  170. }
  171. .left-bottom-line{
  172. bottom: -1px;
  173. left: -1px;
  174. border-bottom: 1px solid $mainColor;
  175. border-left: 1px solid $mainColor;
  176. }
  177. .right-top-line{
  178. right: -1px;
  179. top: -1px;
  180. border-right: 1px solid $mainColor;
  181. border-top: 1px solid $mainColor;
  182. }
  183. .right-bottom-line{
  184. right: -1px;
  185. bottom: -1px;
  186. border-right: 1px solid $mainColor;
  187. border-bottom: 1px solid $mainColor;
  188. }
  189. .el-tree{
  190. background: transparent !important;
  191. .el-tree-node:focus>.el-tree-node__content {
  192. background-color: transparent !important;
  193. }
  194. .is-current>.el-tree-node__content {
  195. background-image: $subMenuActiveBg !important;
  196. color: #fff;
  197. }
  198. .el-tree-node__content{
  199. padding: 0 30px !important;
  200. height: 40px;
  201. color: $mainColor;
  202. background-color: transparent;
  203. .el-tree-node__label{
  204. font-size: 16px;
  205. font-weight: 600;
  206. }
  207. &:hover{
  208. background-color: transparent !important;
  209. background-image: $subMenuActiveBg;
  210. }
  211. }
  212. .el-tree-node__expand-icon{
  213. font-size: 16px;
  214. color: $mainColor;
  215. }
  216. .el-tree-node__children{
  217. padding: 0 18px;
  218. .el-tree-node__content{
  219. height: 30px;
  220. }
  221. .el-tree-node__label{
  222. font-size: 14px;
  223. font-weight: normal;
  224. }
  225. }
  226. }
  227. .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
  228. background-color: transparent;
  229. background-image: $subMenuActiveBg;
  230. }
  231. .el-date-editor .el-range-input{
  232. background: transparent;
  233. color: #fff;
  234. }
  235. // table
  236. .el-table{
  237. background: transparent;
  238. tr{
  239. background: transparent;
  240. .el-table__cell{
  241. height: 40px;
  242. background-color: transparent;
  243. }
  244. }
  245. .el-table__header-wrapper,
  246. .el-table__header{
  247. th.el-table__cell{
  248. background-color: #02255F;
  249. // border-top: 1px solid #113D72;
  250. border-bottom: none;
  251. &>.cell{
  252. font-size: 16px;
  253. color: $mainColor;
  254. }
  255. }
  256. }
  257. .el-table__body-wrapper,
  258. .el-table__fixed-right{
  259. td.el-table__cell{
  260. color: $mainColor;
  261. font-size: 14px;
  262. border-bottom: 1px dashed #113D72;
  263. padding: 5px 0;
  264. }
  265. }
  266. &::before,
  267. .el-table--group::after,
  268. .el-table--border::after,
  269. .el-table__fixed::before,
  270. .el-table__fixed-right::before{
  271. background-color: transparent;
  272. }
  273. .el-checkbox__input.is-checked .el-checkbox__inner,
  274. .el-checkbox__input.is-disabled .el-checkbox__inner{
  275. border-color: $mainColor;
  276. background: transparent;
  277. &::after{
  278. border-color: $mainColor;
  279. }
  280. }
  281. .el-table__body tr.hover-row > td,
  282. .el-table__body tr.hover-row.current-row > td,
  283. .el-table__body tr.hover-row.el-table__row--striped > td,
  284. .el-table__body tr.hover-row.el-table__row--striped.current-row > td {
  285. color: #fff;
  286. background-color: #13439E;
  287. .el-checkbox__input.is-checked .el-checkbox__inner{
  288. background: #fff;
  289. border-color: #fff;
  290. }
  291. }
  292. .el-button{
  293. padding: 7px 15px;
  294. }
  295. .el-button--primary {
  296. background-color: #1890ff;
  297. border-color: #1890ff;
  298. }
  299. .el-button--danger {
  300. background-color: #ff4949;
  301. border-color: #ff4949;
  302. }
  303. .el-button.is-disabled,
  304. .el-button.is-disabled:hover,
  305. .el-button.is-disabled:focus{
  306. color: #fff;
  307. background-color: #ffa4a4;
  308. border-color: #ffa4a4;
  309. }
  310. }
  311. .el-table__body tr.el-table__row:hover>td.el-table__cell,
  312. .el-table__body tr.el-table__row:focus>td.el-table__cell,
  313. .el-table__body tr.current-row:hover>td.el-table__cell,
  314. .el-table__body tr.current-row:focus>td.el-table__cell{
  315. color: #fff;
  316. background-color: #13439E;
  317. .el-checkbox__input.is-checked .el-checkbox__inner{
  318. background: #fff;
  319. border-color: #fff;
  320. }
  321. }
  322. .el-table__body tr.current-row>td.el-table__cell{
  323. background-color: transparent;
  324. }
  325. .el-checkbox__inner{
  326. background: transparent;
  327. border-color: $mainColor;
  328. }
  329. .el-icon-arrow-right:before{
  330. color: #fff;
  331. }
  332. .el-picker-panel__icon-btn:before{
  333. color: #303133;
  334. }
  335. // 分页
  336. .el-pagination{
  337. padding: 2px 10px;
  338. margin: 10px 0 !important;
  339. .el-pagination__total{
  340. color: $mainColor;
  341. }
  342. button{
  343. height: 24px;
  344. line-height: 24px;
  345. background-color: transparent;
  346. &:disabled{
  347. background-color: transparent;
  348. }
  349. }
  350. .el-pager li{
  351. min-width: 24px;
  352. height: 24px;
  353. line-height: 24px;
  354. color: $mainColor;
  355. background-color: transparent;
  356. }
  357. .el-pager li.active{
  358. color: #fff;
  359. background-color: #2072D2;
  360. }
  361. .el-select .el-input .el-input__inner{
  362. background-color: transparent;
  363. color: $mainColor;
  364. border-color: $mainColor;
  365. }
  366. .el-icon-arrow-right:before{
  367. color: $mainColor;
  368. }
  369. .btn-prev,
  370. .btn-next{
  371. color: $mainColor;
  372. background-color: transparent;
  373. }
  374. .el-select .el-input .el-select__caret{
  375. color: $mainColor;
  376. }
  377. }
  378. // 弹框
  379. .el-dialog{
  380. position: relative;
  381. position: fixed;
  382. width: 620px;
  383. padding: 2px;
  384. left: 50%;
  385. top: 50%;
  386. transform: translate(-50%, -50%);
  387. margin-top: 2vh !important;
  388. background: linear-gradient(135deg, transparent 10px, $mainColor 0) top left,
  389. linear-gradient(-135deg, transparent 10px, $mainColor 0) top right,
  390. linear-gradient(-45deg, transparent 10px, $mainColor 0) bottom right,
  391. linear-gradient(45deg, transparent 10px, $mainColor 0) bottom left;
  392. background-size: 50% 50%;
  393. background-repeat: no-repeat;
  394. &::before,
  395. &::after,
  396. .dialog-right-top,
  397. .dialog-left-bottom{
  398. position: absolute;
  399. content: "";
  400. width: 134px;
  401. height: 63px;
  402. z-index: 99;
  403. }
  404. &::before{
  405. left: -6px;
  406. top: -6px;
  407. background: url(~@/assets/images/dialog_left_top.png) no-repeat;
  408. background-size: contain;
  409. }
  410. &::after{
  411. right: -18px;
  412. bottom: -7px;
  413. background: url(~@/assets/images/dialog_right_bottom.png) no-repeat;
  414. background-size: contain;
  415. }
  416. .dialog-right-top{
  417. right: -23px;
  418. top: -6px;
  419. background: url(~@/assets/images/dialog_right_top.png) no-repeat;
  420. background-size: contain;
  421. }
  422. .dialog-left-bottom{
  423. left: -6px;
  424. bottom: -7px;
  425. background: url(~@/assets/images/dialog_left_bottom.png) no-repeat;
  426. background-size: contain;
  427. }
  428. .el-dialog__header{
  429. position: absolute;
  430. top: -40px;
  431. left: 50%;
  432. width: 360px;
  433. padding: 0;
  434. transform: translateX(-50%);
  435. &::before{
  436. position: absolute;
  437. left: -23px;
  438. top: 0;
  439. content: "";
  440. width: 23px;
  441. height: 42px;
  442. background: url(~@/assets/images/dialog_left.png) no-repeat;
  443. background-size: cover;
  444. }
  445. &::after{
  446. position: absolute;
  447. right: -23px;
  448. top: 0;
  449. content: "";
  450. width: 23px;
  451. height: 42px;
  452. background: url(~@/assets/images/dialog_right.png) no-repeat;
  453. background-size: cover;
  454. }
  455. .el-dialog__title{
  456. display: block;
  457. font-size: 18px;
  458. font-weight: bold;
  459. line-height: 38px;
  460. color: #fff;
  461. text-align: center;
  462. background-color: $boxBg;
  463. border-top: 2px solid $mainColor;
  464. border-bottom: 2px solid $mainColor;
  465. }
  466. .el-dialog__headerbtn{
  467. top: 4px;
  468. right: -160px;
  469. }
  470. .el-dialog__close{
  471. font-family: "iconfont" !important;
  472. font-style: normal;
  473. -webkit-font-smoothing: antialiased;
  474. -moz-osx-font-smoothing: grayscale;
  475. font-size: 24px;
  476. color: $mainColor;
  477. &::before{
  478. content: "\e60c";
  479. }
  480. }
  481. }
  482. .el-dialog__body{
  483. width: 100%;
  484. background-color: $boxBg;
  485. // border: 2px solid $mainColor;
  486. // min-height: 400px;
  487. // background: linear-gradient(135deg, transparent 12px, $boxBg 0) top left,
  488. // linear-gradient(-135deg, transparent 12px, $boxBg 0) top right,
  489. // linear-gradient(-45deg, transparent 12px, $boxBg 0) bottom right,
  490. // linear-gradient(45deg, transparent 12px, $boxBg 0) bottom left;
  491. // background-size: 50% 50%;
  492. // background-repeat: no-repeat;
  493. // box-shadow: inset 0px 0px 8px 1px rgba(51, 156, 255, 0.6);
  494. }
  495. .dialog-footer{
  496. margin: 30px auto 0 auto;
  497. text-align: center;
  498. .el-button{
  499. font-size: 16px;
  500. padding: 8px 28px;
  501. }
  502. .el-button--primary{
  503. background-color: $desPreviewColor;
  504. }
  505. }
  506. }
  507. .el-dialog,
  508. .right-preview{
  509. .el-form{
  510. .el-form-item__label{
  511. color: $mainColor;
  512. }
  513. .el-input__inner{
  514. color: #fff;
  515. border: 1px solid $mainColor;
  516. background-color: transparent !important;
  517. }
  518. .vue-treeselect__control,
  519. .vue-treeselect__placeholder,
  520. .vue-treeselect__single-value{
  521. height: 28px;
  522. // line-height: 28px;
  523. color: #fff;
  524. }
  525. .vue-treeselect__control{
  526. border: 1px solid $mainColor;
  527. background-color: transparent;
  528. .vue-treeselect__control-arrow{
  529. color: $mainColor;
  530. }
  531. }
  532. .el-radio{
  533. color: #fff;
  534. }
  535. .el-textarea__inner{
  536. color: #fff;
  537. border: 1px solid $mainColor;
  538. background-color: transparent;
  539. }
  540. .el-input-number.is-controls-right[class*=small] [class*=increase],
  541. .el-input-number.is-controls-right[class*=small] [class*=decrease]{
  542. background-color: transparent;
  543. }
  544. .el-input-number__decrease,
  545. .el-input-number__increase{
  546. border-left-color: $mainColor;
  547. &>i{
  548. color: #fff;
  549. }
  550. }
  551. .el-input-number__increase{
  552. border-bottom-color: $mainColor;
  553. }
  554. .el-select .el-input .el-select__caret{
  555. color: $mainColor;
  556. }
  557. .vue-treeselect .vue-treeselect__control:focus,
  558. .vue-treeselect .vue-treeselect__control:hover{
  559. border-color: $mainColor !important;
  560. }
  561. .vue-treeselect.vue-treeselect--disabled .vue-treeselect__control,
  562. .el-input.is-disabled .el-input__inner,
  563. .el-textarea.is-disabled .el-textarea__inner{
  564. color: $desPreviewColor !important;
  565. border: none !important;
  566. background-color: #02255f!important;
  567. }
  568. }
  569. }
  570. // el-tree 最终节点不显示箭头
  571. .is-leaf::before {
  572. color: transparent;
  573. }
  574. .el-input__prefix{
  575. left: 8px;
  576. }
  577. // tab样式布局
  578. .tab-content{
  579. margin-top: 40px;
  580. border-top: none;
  581. background-color: #021941;
  582. &::before{
  583. display: none;
  584. }
  585. .tab-nav{
  586. display: flex;
  587. justify-content: flex-start;
  588. height: 41px;
  589. line-height: 41px;
  590. margin: -41px 0 30px -1px;
  591. font-size: 16px;
  592. font-weight: bold;
  593. color: #359AFC;
  594. border-bottom: 1px solid #113D72;
  595. li{
  596. position: relative;
  597. padding: 0 24px;
  598. margin: -1px 30px 0 0;
  599. letter-spacing: 2px;
  600. border-top: 1px solid #113D72;
  601. background-color: #021941;
  602. cursor: pointer;
  603. &::before,
  604. &::after{
  605. content: "";
  606. position: absolute;
  607. top: 0;
  608. width: 33px;
  609. height: 41px;
  610. }
  611. &::before{
  612. left: -15px;
  613. background: url(~@/assets/images/tab_left.png) no-repeat;
  614. background-size: contain;
  615. }
  616. &::after{
  617. right: -32px;
  618. background: url(~@/assets/images/tab_right.png) no-repeat;
  619. background-size: contain;
  620. }
  621. &:first-child{
  622. border-left: 1px solid #113d72;;
  623. &::before{
  624. width: 17px;
  625. height: 17px;
  626. left: -1px;
  627. top: -1px;
  628. border-left: 1px solid $mainColor;
  629. border-top: 1px solid $mainColor;
  630. }
  631. }
  632. &.active-tab-nav{
  633. color: #fff;
  634. &::before{
  635. background: url(~@/assets/images/tab_left_active.png) no-repeat;
  636. background-size: contain;
  637. }
  638. &::after{
  639. background: url(~@/assets/images/tab_right_active.png) no-repeat;
  640. background-size: contain;
  641. }
  642. i{
  643. display: block;
  644. position: absolute;
  645. bottom: -1px;
  646. left: 0;
  647. width: 100%;
  648. height: 1px;
  649. border-bottom: 1px solid #021941;
  650. }
  651. }
  652. }
  653. .tab-right-img{
  654. display: block;
  655. width: 93px;
  656. margin: 4px 0 0 -14px;
  657. background: url(~@/assets/images/tab_img.png) no-repeat;
  658. background-size: contain;
  659. }
  660. }
  661. .el-table__header{
  662. border-top: 1px solid #113D72;
  663. }
  664. }
  665. // 默认底图 - 暂时只有头像
  666. .user-img-cover{
  667. border-radius: 50%;
  668. background: url(~@/assets/images/avatar.png) no-repeat #fff;
  669. background-size: cover;
  670. overflow: hidden;
  671. }
  672. // 著录界面表单
  673. .des-form{
  674. .el-form-item__label{
  675. font-weight: normal;
  676. color: $desPreviewColor;
  677. }
  678. .el-input__inner{
  679. color: $desPreviewColor;
  680. background: #021941 !important;
  681. border: none;
  682. &::placeholder{
  683. color: $desPreviewColor !important;
  684. }
  685. &::-webkit-input-placeholder{
  686. color: $desPreviewColor !important;
  687. }
  688. }
  689. .el-input.is-disabled .el-input__inner{
  690. color: $desPreviewColor !important;
  691. border: none;
  692. background-color: #02255f!important;
  693. }
  694. .el-input__icon{
  695. color: $desPreviewColor !important;
  696. }
  697. .checkbox-item{
  698. height: 36px;
  699. line-height: 36px;
  700. text-align: right;
  701. .el-form-item__content{
  702. margin-left: 0 !important;
  703. }
  704. .el-checkbox__input.is-disabled .el-checkbox__inner{
  705. background-color: transparent;
  706. border-color: $mainColor;
  707. &::after{
  708. border-color: $desPreviewColor;
  709. }
  710. }
  711. span{
  712. color: $desPreviewColor;
  713. }
  714. }
  715. .input-num{
  716. display: flex;
  717. justify-content: flex-end;
  718. .el-input__inner{
  719. width: 50px;
  720. }
  721. .el-form-item__content{
  722. display: flex;
  723. justify-content: flex-start;
  724. margin-left: 0 !important;
  725. .el-input,
  726. .el-input-number--small{
  727. width: 60px;
  728. }
  729. .el-input-number.is-controls-right {
  730. .el-input-number__decrease,
  731. .el-input-number__increase{
  732. display: none;
  733. }
  734. .el-input__inner{
  735. padding-left: 0;
  736. padding-right: 0;
  737. }
  738. }
  739. }
  740. span{
  741. color: $desPreviewColor;
  742. line-height: 36px;
  743. }
  744. }
  745. }
  746. .setting-dialog{
  747. z-index: 100;
  748. position: relative;
  749. color: #fff;
  750. .des-form{
  751. width: 100% !important;
  752. margin-top: 0 !important;
  753. padding: 20px 38px 0 20px !important;
  754. background-color: transparent !important;
  755. .el-select,
  756. .el-input__inner{
  757. width: 100% !important;
  758. }
  759. .input-num{
  760. .el-input{
  761. margin-right: 10px !important;
  762. }
  763. }
  764. }
  765. }
  766. .preview-dialog{
  767. .el-dialog{
  768. width: 680px !important;
  769. .preview-content{
  770. max-height: calc(100vh - 330px) !important;
  771. overflow: hidden !important;
  772. overflow-y: auto !important;
  773. border: none !important;
  774. .el-textarea__inner{
  775. border: 1px solid $mainColor !important;
  776. background-color: transparent !important;
  777. }
  778. }
  779. .el-dialog__header{
  780. width: 420px !important;
  781. }
  782. }
  783. }
  784. .preview-dialog{
  785. .el-dialog__body{
  786. padding: 30px 0 !important;
  787. }
  788. }
  789. // 去除element ui 中el-input type=“number“的上下箭头
  790. input::-webkit-outer-spin-button,
  791. input::-webkit-inner-spin-button {
  792. -webkit-appearance: none !important;
  793. }
  794. input[type ='number'] {
  795. -moz-appearance: textfield !important;
  796. }
  797. // 弹框-删除等提示
  798. .setting-dialog{
  799. .dialog-delt{
  800. line-height: 26px;
  801. color: #fff;
  802. margin-bottom: 20px;
  803. }
  804. .delt-tip{
  805. margin-top: 10px;
  806. color: #EF3147;
  807. }
  808. }
  809. // alert 样式
  810. .el-message-box{
  811. position: relative;
  812. width: 588px;
  813. border: 2px solid $mainColor;
  814. border-bottom: none;
  815. border-radius: 4px 4px 0 0;
  816. background-color: $boxBg;
  817. overflow: visible;
  818. &::after{
  819. position: absolute;
  820. left: -2px;
  821. bottom: -30px;
  822. content: "";
  823. width: 589px;
  824. height: 30px;
  825. background: url(~@/assets/images/alert_bottom.png) no-repeat;
  826. background-size: contain;
  827. }
  828. .el-message-box__header{
  829. padding: 18px 60px;
  830. background-color: $mainColor;
  831. .el-message-box__title{
  832. font-weight: bold;
  833. color: #fff;
  834. }
  835. .el-message-box__headerbtn{
  836. top: -36px;
  837. right: -16px;
  838. }
  839. .el-icon-close{
  840. font-family: "iconfont" !important;
  841. font-style: normal;
  842. -webkit-font-smoothing: antialiased;
  843. -moz-osx-font-smoothing: grayscale;
  844. font-size: 24px;
  845. color: $mainColor;
  846. &::before{
  847. content: "\E60C";
  848. }
  849. }
  850. }
  851. .el-message-box__content{
  852. height: 110px;
  853. padding: 35px 60px 15px 60px;
  854. color: #fff;
  855. }
  856. }
  857. .el-message-box .el-button,
  858. .el-popover .el-button{
  859. color: #fff;
  860. border-color: $mainColor;
  861. background-color: transparent;
  862. }
  863. .el-message-box .el-button:hover,
  864. .el-popover .el-button:focus{
  865. color: #fff;
  866. background-color: #02255F;
  867. border-color: $mainColor;
  868. }
  869. .el-message-box .el-button--primary,
  870. .el-message-box .el-button--primary:focus,
  871. .el-message-box .el-button--primary:hover {
  872. background: #46a6ff;
  873. border-color: #46a6ff;
  874. color: #fff;
  875. }
  876. .el-table__header-wrapper{
  877. background-color: #02255f;
  878. }
  879. .svg-style{
  880. margin-right: 5px;
  881. }
  882. .svg-arc-style{
  883. margin-right: 10px;
  884. }
  885. .el-form-item__error--inline{
  886. margin-left: 0;
  887. vertical-align: top;
  888. }
  889. .inline-error-item .el-form-item__content{
  890. line-height: normal;
  891. margin-bottom: -15px;
  892. }
  893. .el-select-dropdown,
  894. .el-dropdown-menu{
  895. box-shadow: rgb(51 156 255) 0px 0px 10px 1px inset;
  896. background: #02255F;
  897. border: none;
  898. }
  899. .el-select-dropdown__item{
  900. color: $mainColor;
  901. }
  902. .el-select-dropdown__item.hover,
  903. .el-select-dropdown__item:hover{
  904. background-color: #13439E;
  905. }
  906. .el-select-dropdown.is-multiple .el-select-dropdown__item.selected{
  907. background-color: transparent;
  908. color: #fff;
  909. }
  910. .el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{
  911. background-color: #13439E;
  912. color: #fff;
  913. }
  914. .el-popper[x-placement^=bottom] .popper__arrow{
  915. width: 15px;
  916. height: 7px;
  917. top: -7px;
  918. background: url('~@/assets/images/pop_arrow.png') no-repeat !important;
  919. border: none;
  920. transform: rotate(180deg);
  921. }
  922. .el-popper[x-placement^=bottom] .popper__arrow::after{
  923. content: '';
  924. border: none;
  925. }
  926. .el-dropdown-menu .el-dropdown-menu__item{
  927. color: #fff;
  928. }
  929. .el-dropdown-menu .el-dropdown-menu__item:hover{
  930. background-color: #13439E;
  931. color: #fff;
  932. }
  933. .el-dropdown-menu__item--divided{
  934. border-top-color: #13439E;
  935. margin-top: 0 !important;
  936. }
  937. .el-dropdown-menu .el-dropdown-menu__item--divided:before{
  938. background-color: transparent !important;
  939. }
  940. //vue-treeselect
  941. .vue-treeselect__multi-value-item{
  942. background:#13439E !important;
  943. border: none !important;
  944. }
  945. .vue-treeselect__multi-value-label{
  946. color: #fff;
  947. }
  948. .vue-treeselect__value-remove{
  949. border-left: none !important;
  950. }
  951. .vue-treeselect__value-remove > svg{
  952. color: #fff;
  953. }
  954. // 消息中心 pop
  955. .message-icon{
  956. position: relative;
  957. .icon-xiaoxi{
  958. font-size: 26px;
  959. color: $mainColor;
  960. }
  961. .message-num{
  962. position: absolute;
  963. top: 0;
  964. right: -8px;
  965. display: block;
  966. width: 20px;
  967. height: 20px;
  968. font-size: 14px;
  969. text-align: center;
  970. line-height: 20px;
  971. border-radius: 50%;
  972. background-color: #F91832;
  973. color: #fff;
  974. }
  975. }
  976. .el-dropdown-menu--small .el-dropdown-menu__item.message-list-item{
  977. padding: 0;
  978. }
  979. .message-list-item a{
  980. display: flex;
  981. justify-content: space-between;
  982. padding: 0 20px;
  983. height: 40px;
  984. font-size: 14px;
  985. border-bottom: 1px solid #113D72;
  986. p, span, i{
  987. line-height: 40px;
  988. }
  989. p{
  990. width: 220px;
  991. overflow: hidden;
  992. text-overflow: ellipsis;
  993. display: -webkit-box;
  994. -webkit-line-clamp: 1;
  995. -webkit-box-orient: vertical;
  996. }
  997. span{
  998. display: block;
  999. }
  1000. i.el-icon-arrow-right:before{
  1001. font-size: 16px;
  1002. color: $mainColor;
  1003. }
  1004. }
  1005. .message-dropdown.el-popper[x-placement^=bottom]{
  1006. .popper__arrow{
  1007. width: 89px;
  1008. height: 20px;
  1009. top: -8px;
  1010. background: url('~@/assets/images/pop-message.png') no-repeat !important;
  1011. border: none;
  1012. transform: rotate(0);
  1013. }
  1014. }
  1015. // 库房空气质量监控
  1016. .msg-list{
  1017. position: absolute;
  1018. top: 0;
  1019. left: 0;
  1020. width: calc(100vw - 800px);
  1021. }
  1022. .msg-list,
  1023. .screen-env-list{
  1024. display: flex;
  1025. li{
  1026. display: flex;
  1027. flex-wrap: nowrap;
  1028. align-items: center;
  1029. align-content: center;
  1030. justify-content: center;
  1031. width: calc(100%/6);
  1032. height: 80px;
  1033. margin-right: 20px;
  1034. background: url('~@/assets/images/data_border_default.png') no-repeat;
  1035. background-size: 100% 100%;
  1036. position: relative;
  1037. &.li-warn{
  1038. background: url('~@/assets/images/data_border_warn.png') no-repeat;
  1039. background-size: 100% 100%;
  1040. }
  1041. .msg-list-svg{
  1042. font-size: 36px;
  1043. display: inline-block;
  1044. height: 80px;
  1045. line-height: 80px;
  1046. margin-left: 30px;
  1047. }
  1048. .msg-pm{
  1049. font-size: 46px;
  1050. }
  1051. .msg-txt{
  1052. position: relative;
  1053. flex: 1;
  1054. height: 80px;
  1055. text-align: center;
  1056. }
  1057. .msg-list-unit{
  1058. position: absolute;
  1059. left: 0;
  1060. bottom: 12px;
  1061. width: 100%;
  1062. font-size: 14px;
  1063. color: $mainColor;
  1064. }
  1065. .msg-list-num{
  1066. color: #fff;
  1067. font-size: 26px;
  1068. position: absolute;
  1069. left: 0;
  1070. top: 14px;
  1071. width: 100%;
  1072. }
  1073. }
  1074. }
  1075. .el-tag--small{
  1076. margin: 2px 0;
  1077. border: 1px solid $mainColor;
  1078. background-color: #02255f;
  1079. }
  1080. .el-tag.el-tag--warning {
  1081. background-color: transparent;
  1082. border-color: #FD8042;
  1083. color: #FD8042;
  1084. }
  1085. .el-tag.el-tag--danger {
  1086. background-color: transparent;
  1087. border-color: #f65163;
  1088. color: #f65163;
  1089. }
  1090. // table 选中状态
  1091. .el-table__body .rowStyle>td {
  1092. color: #fff !important;
  1093. background-color: #13439E !important;
  1094. }
  1095. // 数据为空
  1096. .empty-main{
  1097. display: flex;
  1098. height: calc(100% - 40px);
  1099. flex-flow: column;
  1100. justify-content: center;
  1101. align-items: center;
  1102. .empty-img{
  1103. width: 140px !important;
  1104. height: 140px !important;
  1105. vertical-align: middle !important;
  1106. }
  1107. p{
  1108. font-size: 12px;
  1109. color: #999;
  1110. margin-top: -10px;
  1111. }
  1112. }
  1113. // 日期控件btn
  1114. .el-date-range-picker{
  1115. .el-picker-panel__footer .el-button{
  1116. border: 1px solid $mainColor;
  1117. color: $mainColor !important;
  1118. }
  1119. .el-picker-panel__footer .el-button:hover{
  1120. background-color: transparent;
  1121. }
  1122. .el-picker-panel__footer .el-button.is-plain {
  1123. background-color: #1890ff;
  1124. border-color: #1890ff;
  1125. color: #fff !important;
  1126. }
  1127. }
  1128. // 档案统计title
  1129. .table-title {
  1130. // color: #fff;
  1131. @include font-color($font-color-theme1);
  1132. font-size: 16px;
  1133. text-align: center;
  1134. height: 40px;
  1135. line-height: 40px;
  1136. }
  1137. .warehouse-svg {
  1138. margin: 0 10px 1px 0;
  1139. }
  1140. .title-arrow {
  1141. position: relative;
  1142. display: inline-block;
  1143. &::before {
  1144. content: '';
  1145. width: 36px;
  1146. height: 12px;
  1147. position: absolute;
  1148. right: -60px;
  1149. top: 50%;
  1150. transform: translateY(-50%);
  1151. background: url('~@/assets/images/warehouse_arrow_left.png') no-repeat;
  1152. }
  1153. &::after {
  1154. content: '';
  1155. width: 36px;
  1156. height: 12px;
  1157. position: absolute;
  1158. left: -60px;
  1159. top: 50%;
  1160. transform: translateY(-50%);
  1161. background: url('~@/assets/images/warehouse_arrow_right.png') no-repeat;
  1162. }
  1163. }