dark.less 16 KB

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