dark.less 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
  1. .dark-overview {
  2. height: calc(100vh - 26px);
  3. overflow: hidden;
  4. background: #0c102c;
  5. /deep/.p-pagination{
  6. background: transparent;
  7. .p-total{
  8. background: transparent;
  9. }
  10. .p-prev-btn{
  11. background: #102668;
  12. color: #95bfff;
  13. border: 1px solid #2f5873;
  14. }
  15. .p-next-btn{
  16. background: #102668;
  17. color: #95bfff;
  18. border: 1px solid #2f5873;
  19. }
  20. ul{
  21. li{
  22. background: #102668;
  23. color: #95bfff;
  24. border: 1px solid #2f5873;
  25. }
  26. li.active{
  27. background: #275489;
  28. color: white;
  29. border: 1px solid #62c4dd;
  30. }
  31. }
  32. }
  33. /deep/.p-tabs{
  34. .p-tabs-nav-item{
  35. background: #102567;
  36. color: #8eb7f5;
  37. border: 1px solid #2e5772;
  38. }
  39. .p-tabs-card-item-active{
  40. color: white;
  41. background: #275489;
  42. }
  43. }
  44. /deep/.el-dialog__body{
  45. background: #0c102c;
  46. }
  47. /deep/.p-select-search{
  48. .p-select-search-box{
  49. background-color: rgba(22,73,206,0.36)!important;
  50. border:1px solid #2e5772!important;
  51. .p-select-choice-name{
  52. color: white!important;
  53. }
  54. .p-select-search-input{
  55. color: white!important;
  56. }
  57. }
  58. }
  59. .dot-background{
  60. background: radial-gradient(#20284f 20%, transparent 20%) 0 0;
  61. background-color: transparent;
  62. background-size: 8px 8px;
  63. border: 10px solid;
  64. border-image: url("../../assets/images/border.png") 14;
  65. // border-image: url("https://www.webhek.com/wordpress/wp-content/uploads/2014/07/bg-pawprints-all.jpg") 45 round;
  66. // border-image-width: 10px;
  67. // background-image: url("../../assets/images/border.png");
  68. // background-size: 100% 100%;
  69. }
  70. .my-dialog {
  71. position: relative;
  72. .shut-download {
  73. position: absolute;
  74. top: 10px;
  75. right: 10px;
  76. width: 90px;
  77. height: 30px;
  78. cursor: pointer;
  79. color: white;
  80. text-align: center;
  81. span {
  82. display: inline-block;
  83. }
  84. .download {
  85. width: 50px;
  86. border-right: 1px solid #cccccc;
  87. }
  88. .shut {
  89. width: 30px;
  90. }
  91. }
  92. .table-content {
  93. margin: 0;
  94. padding-bottom: 40px;
  95. .table-title {
  96. height: 56px;
  97. line-height: 56px;
  98. border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  99. font-size: 16px;
  100. color: white;
  101. }
  102. .table-tabs {
  103. margin: 16px 0;
  104. }
  105. .table-select {
  106. margin-bottom: 12px;
  107. }
  108. table {
  109. width: 100%;
  110. thead {
  111. height: 40px;
  112. line-height: 40px;
  113. background: #0d1b4c;
  114. th {
  115. font-size: 12px;
  116. color: #95bfff;
  117. font-weight: normal;
  118. padding: 0 24px;
  119. }
  120. }
  121. tbody {
  122. // tr:first-child{
  123. // font-size:14px;
  124. // font-weight: bold;
  125. // color: #1F2429;
  126. // }
  127. tr {
  128. height: 48px;
  129. line-height: 48px;
  130. border-bottom: 1px solid #0f215f;
  131. td {
  132. padding: 0 24px;
  133. line-height: 22px;
  134. color: white;
  135. }
  136. }
  137. }
  138. }
  139. }
  140. .empty-text {
  141. height: 60px;
  142. line-height: 60px;
  143. text-align: center;
  144. }
  145. }
  146. .menu {
  147. display: flex;
  148. justify-content: space-between;
  149. align-items: center;
  150. height: 48px;
  151. min-width: 1366px;
  152. color: #1f2429;
  153. font-size: 1.6rem;
  154. box-shadow: 0px 2px 10px 0px rgba(31, 35, 41, 0.1);
  155. .home {
  156. width: 280px;
  157. height: 48px;
  158. // line-height: 48px;
  159. text-align: center;
  160. cursor: pointer;
  161. color: #ffffff;
  162. float: left;
  163. margin-right: 83px;
  164. background: linear-gradient(
  165. 180deg,
  166. rgba(16, 57, 121, 1) 0%,
  167. rgba(22, 38, 63, 1) 100%
  168. );
  169. background: linear-gradient(-65deg,transparent 20px,rgba(16, 57, 121, 1) 0);
  170. position: relative;
  171. .downright {
  172. position: absolute;
  173. width: 0;
  174. height: 0;
  175. border-left: 20px solid transparent;
  176. border-bottom: 48px solid #fff;
  177. right: 0px;
  178. top: 0;
  179. }
  180. .home-box {
  181. height: 100%;
  182. display: flex;
  183. align-items: center;
  184. img {
  185. width: 28px;
  186. height: 28px;
  187. margin-left: 20px;
  188. margin-right: 24px;
  189. margin-top: -3px;
  190. }
  191. span {
  192. font-size: 2rem;
  193. font-family: MicrosoftYaHei;
  194. height: 27px;
  195. line-height: 27px;
  196. margin-top: -4px;
  197. &:after {
  198. content: "|";
  199. position: absolute;
  200. left: 60px;
  201. }
  202. }
  203. }
  204. }
  205. & > div:nth-of-type(2) {
  206. & > div {
  207. line-height: 48px;
  208. text-align: center;
  209. width: 80px;
  210. height: 48px;
  211. cursor: pointer;
  212. transition: all 0.2s;
  213. }
  214. .is-active {
  215. color: #025baa;
  216. font-weight: bolder;
  217. border-bottom: 2px solid #025baa;
  218. background: linear-gradient(
  219. 180deg,
  220. rgba(2, 91, 170, 0) 0%,
  221. rgba(2, 91, 170, 0.2) 100%
  222. );
  223. }
  224. }
  225. .home-right {
  226. display: flex;
  227. align-items: center;
  228. width: 260px;
  229. line-height: 48px;
  230. color: #646c73;
  231. font-size: 1.4rem;
  232. cursor: pointer;
  233. display: flex;
  234. align-content: center;
  235. .tip{
  236. width: 90px;
  237. color:white;
  238. font-size: 14px;
  239. cursor: pointer;
  240. }
  241. img {
  242. height: 24px;
  243. width: 24px;
  244. filter: saturate(50);
  245. margin-left: 20px;
  246. }
  247. .span-out {
  248. position: relative;
  249. margin: 0 16px;
  250. .span2-num {
  251. position: absolute;
  252. right: -5px;
  253. top: 5px;
  254. display: inline-block;
  255. width: 18px;
  256. height: 18px;
  257. border-radius: 90px;
  258. font-size: 1.2rem;
  259. text-align: center;
  260. line-height: 18px;
  261. color: #ffffff;
  262. }
  263. }
  264. }
  265. .span1,
  266. .span2 {
  267. padding: 0 6px 0 3px;
  268. }
  269. .span3 {
  270. padding-left: 3px;
  271. }
  272. }
  273. .navigation {
  274. display: flex;
  275. justify-content: space-between;
  276. align-items: center;
  277. height: 50px;
  278. padding: 0 16px;
  279. .crumbs {
  280. span {
  281. cursor: pointer;
  282. color: white;
  283. }
  284. span:first-child {
  285. display: inline-block;
  286. width: auto;
  287. height: 3rem;
  288. margin-right: 1.2rem;
  289. border: 1px solid #69CFEA;
  290. border-radius: 1.4rem;
  291. padding: 0 2.4rem;
  292. text-align: center;
  293. line-height: 2.8rem;
  294. font-size: 14px;
  295. background: #1649CE;
  296. cursor: default;
  297. }
  298. span:last-child {
  299. font-weight: bold;
  300. }
  301. }
  302. }
  303. .container {
  304. display: flex;
  305. justify-content: space-between;
  306. height: calc(100vh - 120px);
  307. padding: 1.2rem 1.6rem;
  308. .section-title {
  309. width: 30%;
  310. padding: 0.8rem 1.8rem;
  311. color: white;
  312. font-size: 1.6rem;
  313. font-weight: bolder;
  314. line-height: 2rem;
  315. // background: #1649CE;
  316. background: linear-gradient(-65deg,transparent 20px, rgba(22,73,206, 0.36) 0);
  317. cursor: pointer;
  318. }
  319. .system-general {
  320. width: 28.4%;
  321. height: 100%;
  322. box-sizing: border-box;
  323. .system-main-title {
  324. padding: 2rem 0 2.4rem 1.6rem;
  325. }
  326. .system-list {
  327. height: 90%;
  328. overflow-y: auto;
  329. &::-webkit-scrollbar-track{
  330. background: rgba(22, 73, 206, 0.3);
  331. border-radius:2px;
  332. }
  333. &::-webkit-scrollbar-thumb{
  334. background: rgba(22, 73, 206, 0.8);
  335. border-radius:10px;
  336. border: none;
  337. }
  338. // &::-webkit-scrollbar-thumb:hover{
  339. // background: #333;
  340. // }
  341. // &::-webkit-scrollbar-corner{
  342. // background: #179a16;
  343. // }
  344. ul {
  345. li.system-item {
  346. position: relative;
  347. display: flex;
  348. justify-content: flex-start;
  349. align-items: stretch;
  350. width: calc(100% - 3.2rem);
  351. margin-left: 0.8rem;
  352. margin-bottom: 0.4rem;
  353. box-sizing: border-box;
  354. border: 1px solid transparent;
  355. border-radius: 6px;
  356. transition: 0.5s;
  357. background: rgba(13,29,66,0.6);
  358. cursor: pointer;
  359. .system-name {
  360. position: absolute;
  361. top: 0;
  362. bottom: 0;
  363. border-top-left-radius: 6px;
  364. border-bottom-left-radius: 6px;
  365. display: flex;
  366. flex-direction: column;
  367. align-items: center;
  368. justify-content: center;
  369. flex-shrink: 1;
  370. flex-grow: 1;
  371. width: 18%;
  372. height: auto;
  373. img {
  374. width: 3.2rem;
  375. height: 3.2rem;
  376. margin-bottom: 0.6rem;
  377. }
  378. span {
  379. color: white;
  380. font-size: 1.4rem;
  381. font-weight: bolder;
  382. }
  383. }
  384. .system-equipments-container {
  385. position: relative;
  386. width: 88%;
  387. padding: 0.8rem;
  388. margin-left: 18%;
  389. .more {
  390. position: absolute;
  391. display: flex;
  392. justify-content: center;
  393. align-items: center;
  394. width: 14px;
  395. height: 14px;
  396. right: 8px;
  397. top: 50%;
  398. border-radius: 7px;
  399. cursor: pointer;
  400. transform: rotate(0);
  401. transform-origin: center;
  402. z-index: 100;
  403. transform: translateY(-7px);
  404. img {
  405. width: 14px;
  406. height: 14px;
  407. }
  408. }
  409. .system-equipments {
  410. display: flex;
  411. align-items: center;
  412. color: white;
  413. .number {
  414. width: 30%;
  415. margin-right: 1%;
  416. background: rgba(56,94,204,0.22);
  417. border-radius: 2px;
  418. padding: 1.4rem 0 1rem 0.4rem;
  419. .title {
  420. display: inline-block;
  421. position: relative;
  422. line-height: 1;
  423. p {
  424. display: inline-block;
  425. position: relative;
  426. font-size: 1.4rem;
  427. line-height: 2rem;
  428. white-space: nowrap;
  429. text-overflow: ellipsis;
  430. overflow: hidden;
  431. }
  432. span {
  433. position: absolute;
  434. top: -1rem;
  435. right: -2rem;
  436. padding: 2px 4px;
  437. border-radius: 0.9rem;
  438. font-size: 1.2rem;
  439. background: #FF3737;
  440. border:1px solid #E39191;
  441. }
  442. }
  443. p {
  444. span:first-child {
  445. font-size: 1.8rem;
  446. font-weight: bold;
  447. }
  448. .amount {
  449. font-size: bold;
  450. }
  451. }
  452. }
  453. }
  454. }
  455. }
  456. li.selected {
  457. border-color: rgba(104, 131, 255, 1);
  458. // box-shadow: 0 2px 10px 0px rgba(0, 118, 197, 0.4);
  459. }
  460. li:hover {
  461. border-color: rgba(104, 131, 255, 1);;
  462. // box-shadow: 0 2px 10px 0px rgba(195, 199, 203, 0.4);
  463. }
  464. li:nth-of-type(1),
  465. li:nth-of-type(7) {
  466. .system-name {
  467. background: linear-gradient(to left, rgba(64,204,202,0.3), rgba(108,194,226,0.3));
  468. }
  469. }
  470. li:nth-of-type(2),
  471. li:nth-of-type(5){
  472. .system-name {
  473. background: linear-gradient(to left, rgba(57,152,219,0.3), rgba(112,187,239,0.3));
  474. }
  475. }
  476. li:nth-of-type(3),
  477. li:nth-of-type(6) {
  478. .system-name {
  479. background: linear-gradient(to left, rgba(174,48,118,0.3),rgba(213,83,135,0.3) );
  480. }
  481. }
  482. li:nth-of-type(4),
  483. li:nth-of-type(8){
  484. .system-name {
  485. background: linear-gradient(to left, rgba(240,84,59,0.3),rgba(226,133,108,0.3) );
  486. }
  487. }
  488. }
  489. }
  490. }
  491. .map-box {
  492. width: calc(53.6% - 2.4rem);
  493. margin: 0 12px;
  494. .cards-list {
  495. display: flex;
  496. justify-content: space-between;
  497. .card {
  498. width: 50%;
  499. box-sizing: border-box;
  500. border-radius: 4px;
  501. .card-title {
  502. width: 50%;
  503. padding: 0.8rem 1.8rem;
  504. margin: 1.4rem;
  505. color: white;
  506. font-size: 1.6rem;
  507. font-weight: bold;
  508. line-height: 2rem;
  509. background: linear-gradient(-65deg,transparent 20px, rgba(22,73,206, 0.36) 0);
  510. cursor: pointer;
  511. }
  512. .describe {
  513. display: flex;
  514. color: white;
  515. padding: 0.2rem 4rem;
  516. strong{
  517. font-size: 30px;
  518. }
  519. }
  520. }
  521. div:first-child.card {
  522. margin-right: 12px;
  523. }
  524. strong {
  525. color: white;
  526. font-size: 2.4rem;
  527. margin-left: 3rem;
  528. }
  529. }
  530. .map-container {
  531. position: relative;
  532. height: 84%;
  533. .leaflet-container{
  534. background: #0c102c!important;
  535. }
  536. #map {
  537. height: 100%;
  538. overflow: hidden;
  539. svg {
  540. pointer-events: none;
  541. }
  542. }
  543. .legend {
  544. position: absolute;
  545. left: 1.4rem;
  546. bottom: 10rem;
  547. padding: 0.6rem;
  548. z-index: 1000;
  549. background: #0D368D;
  550. .legend-bar {
  551. display: flex;
  552. align-items: center;
  553. span {
  554. display: inline-block;
  555. height: 4px;
  556. width: 20px;
  557. margin-right: 12px;
  558. }
  559. em{
  560. color:#C3C7CB;
  561. }
  562. }
  563. }
  564. }
  565. }
  566. .ratio-list {
  567. width: 18%;
  568. .block {
  569. position: relative;
  570. padding: 0.2rem 1.6rem;
  571. height: calc((100% - 2rem) / 3);
  572. border-radius: 4px;
  573. margin-bottom: 1rem;
  574. // overflow: auto;
  575. transition: height 0.3s ease-in-out;
  576. .section-title {
  577. font-size: 1.6rem;
  578. width: 70%;
  579. img{
  580. height: 18px;
  581. width: 18px;
  582. margin-left: 0.8rem;
  583. }
  584. }
  585. .tool-tip {
  586. position: absolute;
  587. left: 0;
  588. top: -6.6rem;
  589. width: 100%;
  590. border-radius: 4px;
  591. padding: 0.8rem 1.6rem 1.6rem;
  592. font-size: 1.4rem;
  593. line-height: 2.2rem;
  594. background: white;
  595. border: 1px solid rgba(151, 151, 151, 0.2);
  596. filter: drop-shadow(0 2px 4px rgba(31, 35, 41, 0.1));
  597. .tip-triangle {
  598. position: absolute;
  599. position: absolute;
  600. left: 7.8rem;
  601. border-style: solid;
  602. width: 0;
  603. height: 0;
  604. bottom: -6px;
  605. border-width: 6px 6px 0 6px;
  606. border-color: rgba(247, 249, 250, 1) transparent transparent
  607. transparent;
  608. }
  609. }
  610. .list {
  611. margin-top: 1.4rem;
  612. overflow: hidden;
  613. height: calc(100% - 7.5rem);
  614. ul {
  615. li {
  616. display: flex;
  617. flex-direction: column;
  618. justify-content: center;
  619. margin-bottom: 1.2rem;
  620. .ratio {
  621. display: flex;
  622. justify-content: space-between;
  623. margin-bottom: 0.5rem;
  624. span:first-child {
  625. color: white;
  626. font-size: 1.4rem;
  627. }
  628. span:last-child {
  629. color: #fafafa;
  630. font-size: 1.4rem;
  631. }
  632. }
  633. .bar {
  634. position: relative;
  635. height: 6px;
  636. border-radius: 3px;
  637. background: rgba(144, 197, 250, 0.24);
  638. .inner-bar {
  639. position: absolute;
  640. height: 6px;
  641. left: 0;
  642. top: 0;
  643. border-radius: 3px;
  644. }
  645. }
  646. }
  647. }
  648. }
  649. .arrow {
  650. position: absolute;
  651. bottom: 5px;
  652. left: 50%;
  653. cursor: pointer;
  654. transform-origin: center center;
  655. transform: translateX(-50%);
  656. img{
  657. width: 16px;
  658. height: 10px;
  659. filter: saturate(50);
  660. }
  661. }
  662. }
  663. section:last-child.block {
  664. margin-bottom: 0;
  665. }
  666. }
  667. }
  668. }