screen.less 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. .amap-logo {
  7. display: none !important;
  8. opacity: 0 !important;
  9. }
  10. .amap-copyright {
  11. opacity: 0 !important;
  12. }
  13. .main {
  14. width: 100%;
  15. height: 100%;
  16. --menu_w: 120px;
  17. padding: var(--space_width);
  18. display: flex;
  19. flex: 1;
  20. .menu-box {
  21. padding: 15px 0px 15px 15px;
  22. width: var(--menu_w);
  23. height: 100%;
  24. display: flex;
  25. flex-direction: column;
  26. align-items: center;
  27. justify-content: start;
  28. .menu {
  29. width: 85px;
  30. height: 70px;
  31. border-radius: 5px;
  32. display: flex;
  33. justify-content: center;
  34. align-items: center;
  35. background: transparent;
  36. border: none;
  37. cursor: pointer;
  38. transition: all 0.3s ease;
  39. position: relative;
  40. box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
  41. 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  42. outline: none;
  43. margin: 5px 0;
  44. &:active {
  45. top: 2px;
  46. }
  47. .icon {
  48. font-size: 40px;
  49. }
  50. }
  51. }
  52. .content-box {
  53. width: calc(100% - var(--menu_w));
  54. padding: 15px 10px;
  55. }
  56. .box-card {
  57. --card_header_h: 42px;
  58. --clip_length: 17px;
  59. --border_length: 12px;
  60. --border_color: #1e77b3;
  61. --bg_color: rgba(6, 30, 93, 0.5);
  62. width: 100%;
  63. height: 100%;
  64. flex-direction: column;
  65. clip-path: polygon(var(--clip_length) 0,
  66. calc(100% - var(--clip_length)) 0,
  67. 100% var(--clip_length),
  68. 100% calc(100% - var(--clip_length)),
  69. calc(100% - var(--clip_length)) 100%,
  70. var(--clip_length) 100%,
  71. 0 calc(100% - var(--clip_length)),
  72. 0 var(--clip_length));
  73. background: linear-gradient(-45deg,
  74. var(--border_color) var(--border_length),
  75. var(--bg_color) 0) bottom right,
  76. linear-gradient(45deg,
  77. var(--border_color) var(--border_length),
  78. var(--bg_color) 0) bottom left,
  79. linear-gradient(135deg,
  80. var(--border_color) var(--border_length),
  81. var(--bg_color) 0) top left,
  82. linear-gradient(-135deg,
  83. var(--border_color) var(--border_length),
  84. var(--bg_color) 0) top right;
  85. background-size: 50% 50%;
  86. background-repeat: no-repeat;
  87. box-shadow: 0 0 8px var(--c1) inset !important;
  88. border: 2px solid var(--border_color);
  89. .card-header {
  90. --border_color: #02102d;
  91. --bg_color: #04102d;
  92. clip-path: polygon(var(--clip_length) 0,
  93. calc(100% - var(--clip_length)) 0,
  94. 100% var(--clip_length),
  95. 100% calc(100% - var(--clip_length)),
  96. 100% 100%,
  97. 0 100%,
  98. 0 var(--clip_length));
  99. background: linear-gradient(-45deg,
  100. var(--border_color) var(--border_length),
  101. var(--bg_color) 0) bottom right,
  102. linear-gradient(45deg,
  103. var(--border_color) var(--border_length),
  104. var(--bg_color) 0) bottom left,
  105. linear-gradient(135deg,
  106. var(--border_color) var(--border_length),
  107. var(--bg_color) 0) top left,
  108. linear-gradient(-135deg,
  109. var(--border_color) var(--border_length),
  110. var(--bg_color) 0) top right;
  111. height: var(--card_header_h);
  112. line-height: var(--card_header_h);
  113. padding: 0 25px;
  114. position: relative;
  115. .card-title {
  116. display: flex;
  117. align-items: center;
  118. font-size: 16px;
  119. .icon {
  120. padding-right: 8px;
  121. color: var(--c1);
  122. font-size: 150%;
  123. }
  124. img {
  125. margin-right: 8px;
  126. width: 24px;
  127. height: auto;
  128. }
  129. color: var(--c2);
  130. font-weight: bolder;
  131. }
  132. .svg-box {
  133. position: absolute;
  134. top: 0;
  135. right: 25px;
  136. overflow: hidden;
  137. width: 250px;
  138. }
  139. }
  140. .card-body {
  141. padding: 0;
  142. width: 100%;
  143. height: calc(100% - var(--card_header_h));
  144. }
  145. }
  146. .box-card .card-body {
  147. .body-content {
  148. width: 100%;
  149. height: 100%;
  150. display: flex;
  151. flex-direction: column;
  152. padding: 10px;
  153. }
  154. }
  155. .infos {
  156. .info-box {
  157. display: flex;
  158. flex-direction: column;
  159. .info-header {
  160. .title {
  161. font-size: 24px;
  162. font-weight: 600;
  163. padding-left: 40px;
  164. }
  165. }
  166. .info-body {
  167. display: flex;
  168. padding: 10px;
  169. }
  170. .info {
  171. width: 30%;
  172. min-width: 230px;
  173. margin: 10px 20px;
  174. padding: 15px 25px;
  175. border-radius: 10px;
  176. display: flex;
  177. justify-content: space-between;
  178. align-items: center;
  179. border: none;
  180. cursor: none;
  181. transition: all 0.3s ease;
  182. position: relative;
  183. box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5),
  184. 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  185. outline: none;
  186. font-size: 20px;
  187. .icon {
  188. font-size: 50px;
  189. margin-right: 20px;
  190. width: 80px;
  191. height: 80px;
  192. border-radius: 50%;
  193. display: flex;
  194. justify-content: center;
  195. align-items: center;
  196. }
  197. .text {
  198. display: flex;
  199. flex-direction: column;
  200. text-align: center;
  201. span {
  202. display: flex;
  203. justify-content: space-between;
  204. align-items: baseline;
  205. white-space: nowrap;
  206. text-overflow: ellipsis;
  207. }
  208. .num {
  209. font-size: 28px;
  210. font-weight: 600;
  211. padding: 0 8px;
  212. }
  213. }
  214. }
  215. }
  216. .chart-boxs {
  217. width: 100%;
  218. display: flex;
  219. flex: 1;
  220. padding: 40px 60px;
  221. .chart-box {
  222. width: 40%;
  223. height: 260px;
  224. margin: 15px 10px;
  225. }
  226. }
  227. }
  228. .alarms {
  229. width: 100%;
  230. height: calc(100% - 20px);
  231. padding: 10px 30px;
  232. overflow: hidden;
  233. .alarm-box {
  234. font-size: 20px;
  235. text-indent: 2em;
  236. line-height: 1.35;
  237. padding: 2px 10px;
  238. .type {
  239. font-weight: 600;
  240. margin: 0 1px;
  241. }
  242. }
  243. .no-data {
  244. width: 100%;
  245. height: 100%;
  246. display: flex;
  247. justify-content: center;
  248. align-items: center;
  249. font-size: 30px;
  250. span {
  251. margin-top: -10%;
  252. }
  253. }
  254. }
  255. .map-container {
  256. width: 100%;
  257. // height: calc(100% + 30px);
  258. height: 100%;
  259. }
  260. .menu-container {
  261. position: absolute;
  262. top: 20px;
  263. left: 20px;
  264. z-index: 999;
  265. .menu-box {
  266. padding: 5px;
  267. width: var(--menu_w);
  268. height: 100%;
  269. display: flex;
  270. align-items: center;
  271. justify-content: start;
  272. .menu {
  273. width: auto;
  274. height: auto;
  275. color: #ddd;
  276. padding: 5px 15px;
  277. margin: 5px 0;
  278. .icon {
  279. font-size: 18px;
  280. }
  281. }
  282. }
  283. .company-list {
  284. width: 380px;
  285. display: flex;
  286. flex-direction: column;
  287. justify-content: center;
  288. height: auto;
  289. background: rgba(25, 55, 117, 0.8);
  290. padding: 10px 10px 0;
  291. border-radius: 5px;
  292. position: relative;
  293. margin-top: -5px;
  294. .close-btn {
  295. position: absolute;
  296. cursor: pointer;
  297. right: 0;
  298. top: 0;
  299. width: 30px;
  300. height: 30px;
  301. background-color: rgba(25, 55, 117, 0.8);
  302. transform: translate(35%, -25%);
  303. }
  304. .input-group {
  305. display: flex;
  306. padding: 0 5px 5px;
  307. // padding-left: 10%;
  308. // padding-right: 10%;
  309. justify-content: space-around;
  310. align-items: center;
  311. margin-bottom: 5px;
  312. }
  313. .company-item {
  314. width: 100%;
  315. display: block;
  316. float: left;
  317. color: #eee;
  318. font-size: 14px;
  319. height: 50px;
  320. .icon {
  321. float: left;
  322. width: 60px;
  323. height: 40px;
  324. background: #eee;
  325. margin: 5px 10px;
  326. cursor: pointer;
  327. }
  328. .text,
  329. .btn {
  330. float: left;
  331. display: flex;
  332. flex-direction: column;
  333. justify-content: center;
  334. height: 100%;
  335. cursor: pointer;
  336. margin-right: 5px;
  337. }
  338. .text {
  339. span {
  340. white-space: nowrap;
  341. text-overflow: ellipsis;
  342. overflow: hidden;
  343. width: 205px;
  344. }
  345. }
  346. .btn {
  347. float: right;
  348. }
  349. &:not(:first-child) {
  350. border-top: 1px solid #999;
  351. }
  352. }
  353. }
  354. }
  355. .map-company-box {
  356. width: 450px;
  357. height: auto;
  358. background: rgba(25, 55, 117, 0.9);
  359. display: flex;
  360. border-radius: 8px;
  361. flex-direction: column;
  362. color: #eee;
  363. font-size: 14px;
  364. padding: 10px 15px 35px;
  365. position: relative;
  366. z-index: 900;
  367. .close-btn {
  368. background-color: rgba(25, 55, 117, 0.9);
  369. }
  370. .title-box {
  371. border-bottom: 2px solid #ddd;
  372. margin-bottom: 10px;
  373. .name {
  374. color: #fff;
  375. font-size: 18px;
  376. font-weight: 600;
  377. }
  378. .address {
  379. display: flex;
  380. justify-content: space-between;
  381. padding: 1px 0 5px;
  382. white-space: nowrap;
  383. span {
  384. overflow: hidden;
  385. text-overflow: ellipsis;
  386. text-align: left;
  387. &:first-child {
  388. width: 100%;
  389. }
  390. &:last-child {
  391. text-align: right;
  392. min-width: 130px;
  393. }
  394. }
  395. }
  396. }
  397. .monitor-box {
  398. .monitor {
  399. flex-direction: column;
  400. color: #ddd;
  401. .name,
  402. .text {
  403. display: flex;
  404. flex: 1;
  405. }
  406. .name {
  407. color: #eee;
  408. font-size: 110%;
  409. font-weight: 600;
  410. }
  411. .splite {
  412. border-bottom: 1px dashed #666;
  413. width: 100%;
  414. margin: 5px 0
  415. }
  416. }
  417. }
  418. .page-box,
  419. .btn-box {
  420. display: flex;
  421. position: absolute;
  422. bottom: 5px;
  423. button {
  424. width: 20px;
  425. height: 25px;
  426. display: flex;
  427. justify-content: center;
  428. align-items: center;
  429. border: 1px solid #aaa;
  430. background: rgba(25, 55, 117, 0.9);
  431. cursor: pointer;
  432. &:disabled {
  433. cursor: not-allowed;
  434. color: #999;
  435. background: rgba(25, 55, 117, 0.7);
  436. border: 1px solid #999;
  437. }
  438. &:not(:disabled):hover {
  439. color: #fff;
  440. border-color: #fff;
  441. }
  442. }
  443. }
  444. .page-box {
  445. left: 15px;
  446. .mid {
  447. width: auto;
  448. margin: 0 1px;
  449. padding: 0 6px;
  450. height: 25px;
  451. display: flex;
  452. justify-content: center;
  453. align-items: center;
  454. border: 1px solid #aaa;
  455. background: rgba(25, 55, 117, 0.9);
  456. }
  457. }
  458. .btn-box {
  459. right: 15px;
  460. button {
  461. width: auto;
  462. padding: 0 10px;
  463. }
  464. }
  465. }
  466. .overs {
  467. display: flex;
  468. flex: 1;
  469. height: 100%;
  470. &>.left {
  471. --color: #222;
  472. --color_1: #4c88cf;
  473. --color_2: #4c88cf;
  474. width: 35%;
  475. padding: 10px 0 10px 15px;
  476. display: flex;
  477. flex-direction: column;
  478. .nav {
  479. --bg: #eee;
  480. --bg_active: var(--color_1);
  481. --bg_hover: #4c88cf;
  482. --c: #333;
  483. --c_active: #eee;
  484. --c_hover: #fff;
  485. margin: 10px 10px 5px;
  486. padding: 0 30px;
  487. &.nav-tabs {
  488. height: 32px;
  489. display: flex;
  490. border-bottom: 3px solid var(--bg_active);
  491. .nav-tab {
  492. flex: 1;
  493. font-size: 13px;
  494. display: flex;
  495. align-items: center;
  496. justify-content: center;
  497. color: var(--c);
  498. background: var(--bg);
  499. border: 1px solid var(--bg_active);
  500. border-bottom: none;
  501. border-radius: 8px 8px 0 0;
  502. text-align: center;
  503. margin: 0 1px;
  504. cursor: pointer;
  505. &.active {
  506. background: var(--bg_active);
  507. color: var(--c_active);
  508. }
  509. &:hover {
  510. background: var(--bg_hover);
  511. color: var(--c_hover);
  512. }
  513. }
  514. }
  515. .ant-tabs-nav {
  516. --color: var(--mc);
  517. width: 100%;
  518. >div {
  519. width: 100%;
  520. height: 32px;
  521. display: flex;
  522. justify-content: center;
  523. border-bottom: 3px solid var(--bg_active);
  524. }
  525. .ant-tabs-tab {
  526. flex: 1;
  527. font-size: 13px;
  528. display: flex;
  529. align-items: center;
  530. justify-content: center;
  531. color: var(--c);
  532. background: var(--bg);
  533. border: 1px solid var(--bg_active);
  534. border-bottom: none;
  535. border-radius: 8px 8px 0 0;
  536. text-align: center;
  537. margin: 0 1px;
  538. padding: 0;
  539. cursor: pointer;
  540. &.ant-tabs-tab-active {
  541. background: var(--bg_active);
  542. color: var(--c_active);
  543. }
  544. &:hover {
  545. background: var(--bg_hover);
  546. color: var(--c_hover);
  547. }
  548. }
  549. .ant-tabs-ink-bar {
  550. display: none !important;
  551. }
  552. }
  553. }
  554. .detail {
  555. display: flex;
  556. font-size: 16px;
  557. padding: 0 5%;
  558. justify-content: space-between;
  559. color: var(--color);
  560. >div {
  561. width: 50%;
  562. margin: 5px 10px;
  563. }
  564. .icon {
  565. color: var(--color_1);
  566. font-size: 24px;
  567. }
  568. .text {
  569. margin-left: 5px;
  570. }
  571. .num {
  572. font-size: 36px;
  573. }
  574. }
  575. .list-box {
  576. display: flex;
  577. flex: 1;
  578. flex-direction: column;
  579. height: calc(100% - 115px);
  580. overflow-y: auto;
  581. .item {
  582. display: flex;
  583. align-items: center;
  584. justify-content: space-between;
  585. padding: 5px 0;
  586. padding-right: 10px;
  587. margin: 0 20px;
  588. position: relative;
  589. border: 1px solid var(--color_1);
  590. border-top-style: dashed;
  591. cursor: pointer;
  592. // &::before {
  593. // content: "";
  594. // position: absolute;
  595. // width: 0;
  596. // height: 100%;
  597. // border-left: 8px solid var(--color_1);
  598. // border-radius: 3px;
  599. // }
  600. .left {
  601. display: flex;
  602. flex-direction: column;
  603. padding-left: 20px;
  604. width: 85%;
  605. .name {
  606. color: var(--color_1);
  607. font-size: 18px;
  608. font-weight: 600;
  609. white-space: nowrap;
  610. text-overflow: ellipsis;
  611. overflow: hidden;
  612. }
  613. .address {
  614. color: var(--color);
  615. font-size: 14px;
  616. white-space: nowrap;
  617. text-overflow: ellipsis;
  618. overflow: hidden;
  619. }
  620. }
  621. .right {
  622. color: var(--color);
  623. display: flex;
  624. align-items: center;
  625. justify-content: end;
  626. font-size: 14px;
  627. .big {
  628. font-size: 28px;
  629. margin-right: 5px;
  630. }
  631. }
  632. &:nth-of-type(2n + 1) {
  633. --color_1: var(--color_2);
  634. }
  635. &:not(:last-child) {
  636. border-bottom: none;
  637. }
  638. &:first-child {
  639. border-top-style: solid;
  640. border-radius: 5px 5px 0 0;
  641. }
  642. &:last-child {
  643. border-radius: 0 0 5px 5px;
  644. }
  645. }
  646. }
  647. }
  648. .right {
  649. width: 65%;
  650. }
  651. }
  652. .cleans {
  653. width: 100%;
  654. height: 100%;
  655. padding: 25px;
  656. display: flex;
  657. .clean-box {
  658. --header_h: 40px;
  659. --item_h: 39px;
  660. --c: #1e77b3;
  661. width: 100%;
  662. height: 100%;
  663. padding: 0 10px;
  664. &.over {
  665. --c: rgba(236, 90, 90, 0.5);
  666. }
  667. .box-header {
  668. height: var(--header_h);
  669. background: var(--c);
  670. display: flex;
  671. align-items: center;
  672. justify-content: space-between;
  673. color: #eee;
  674. font-size: 14px;
  675. padding: 0 20px;
  676. border-radius: 5px 5px 0 0;
  677. .title {
  678. font-size: 16px;
  679. font-weight: 600;
  680. }
  681. .tool {
  682. padding: 3px 12px;
  683. border: 1px solid #ccc;
  684. border-radius: 3px;
  685. cursor: pointer;
  686. &:hover {
  687. color: #fff;
  688. border-color: #fff;
  689. }
  690. }
  691. }
  692. .box-body {
  693. height: calc(100% - var(--header_h));
  694. border: 1px solid var(--c);
  695. border-radius: 0 0 5px 5px;
  696. overflow: hidden;
  697. height: calc(var(--item_h)*16);
  698. .list {
  699. &.animate-top {
  700. margin-top: calc(1px - 1px - var(--item_h));
  701. }
  702. .item {
  703. height: var(--item_h);
  704. line-height: var(--item_h);
  705. color: var(--c);
  706. border-bottom: 1px solid var(--c);
  707. font-size: 14px;
  708. font-weight: 600;
  709. overflow: hidden;
  710. text-overflow: ellipsis;
  711. white-space: nowrap;
  712. text-align: center;
  713. &:nth-of-type(2n+1) {
  714. background: linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .05));
  715. }
  716. }
  717. }
  718. }
  719. }
  720. }
  721. &.dark {
  722. .menu-box {
  723. .menu {
  724. color: #ccc;
  725. background: rgb(6, 14, 131);
  726. background: linear-gradient(0deg,
  727. rgba(0, 25, 101, 0.6) 0%,
  728. rgba(0, 12, 49, 0.6) 100%);
  729. &.active {
  730. color: #eee;
  731. background: rgb(6, 14, 131);
  732. background: linear-gradient(0deg,
  733. rgba(6, 14, 161, 0.6) 0%,
  734. rgba(12, 25, 180, 0.6) 100%);
  735. }
  736. &:hover {
  737. color: #fff;
  738. background: rgb(0, 3, 255);
  739. background: linear-gradient(0deg,
  740. rgba(0, 3, 255, 0.6) 0%,
  741. rgba(2, 126, 251, 0.6) 100%);
  742. }
  743. }
  744. }
  745. .box-card {
  746. --border_color: #1e77b3;
  747. --bg_color: rgba(6, 30, 93, 0.5);
  748. box-shadow: 0 0 8px var(--border_color) inset !important;
  749. .card-header {
  750. --border_color: #02102d;
  751. --bg_color: #04102d;
  752. }
  753. }
  754. .infos {
  755. .info-box {
  756. color: #ddd;
  757. .info {
  758. color: #ddd;
  759. background: linear-gradient(rgba(32, 107, 172, 0.5),
  760. rgba(32, 107, 172, 0.5));
  761. .icon {
  762. background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
  763. }
  764. .text {
  765. .num {
  766. color: #fff;
  767. }
  768. }
  769. &.bg1 {
  770. background: linear-gradient(rgba(56, 164, 90, 0.5),
  771. rgba(56, 164, 90, 0.5));
  772. }
  773. &.bg2 {
  774. background: linear-gradient(rgba(19, 165, 165, 0.5),
  775. rgba(19, 165, 165, 0.5));
  776. }
  777. &.bg3 {
  778. background: linear-gradient(rgba(223, 148, 83, 0.5),
  779. rgba(223, 148, 83, 0.5));
  780. }
  781. &.bg4 {
  782. background: linear-gradient(rgba(236, 90, 90, 0.5),
  783. rgba(236, 90, 90, 0.5));
  784. }
  785. }
  786. }
  787. }
  788. .alarms {
  789. .alarm-box {
  790. color: #eee;
  791. }
  792. .no-data {
  793. color: #999;
  794. }
  795. }
  796. .overs {
  797. &>.left {
  798. --color: rgba(32, 107, 172, 0.7);
  799. --color_1: rgba(32, 107, 172, 0.7);
  800. --color_2: rgba(32, 107, 172, 0.7);
  801. .nav {
  802. --bg: #999;
  803. --bg_active: rgba(12, 25, 180, 0.6);
  804. --bg_hover: rgba(12, 25, 180, 0.8);
  805. --c: #333;
  806. --c_active: #eee;
  807. --c_hover: #fff;
  808. }
  809. }
  810. }
  811. .menu-container {
  812. .menu-box {
  813. .menu {
  814. color: #ddd;
  815. }
  816. }
  817. .company-list {
  818. background: rgba(25, 55, 117, 0.8);
  819. background: rgba(235, 235, 217, 0.3);
  820. .close-btn {
  821. background-color: rgba(25, 55, 117, 0.8);
  822. background-color: rgba(235, 235, 217, 0.3);
  823. transform: translate(35%, -25%);
  824. }
  825. .company-item {
  826. color: #eee;
  827. .icon {
  828. background: #eee;
  829. }
  830. &:not(:first-child) {
  831. border-top: 1px solid #999;
  832. }
  833. }
  834. }
  835. }
  836. .map-company-box {
  837. background: rgba(235, 235, 217, 0.3);
  838. color: #eee;
  839. .close-btn {
  840. background-color: rgba(235, 235, 217, 0.3);
  841. }
  842. .title-box {
  843. border-bottom: 2px solid #ddd;
  844. .name {
  845. color: #fff;
  846. }
  847. }
  848. .monitor-box {
  849. .monitor {
  850. color: #ddd;
  851. .name {
  852. color: #eee;
  853. }
  854. .splite {
  855. border-bottom: 1px dashed #666;
  856. }
  857. }
  858. }
  859. .page-box,
  860. .btn-box {
  861. button {
  862. border: 1px solid #aaa;
  863. background: rgba(235, 235, 217, 0.6);
  864. &:disabled {
  865. color: #999;
  866. background: rgba(235, 235, 217, 0.3);
  867. border: 1px solid #999;
  868. }
  869. &:not(:disabled):hover {
  870. color: #fff;
  871. border-color: #fff;
  872. }
  873. }
  874. }
  875. .page-box {
  876. left: 15px;
  877. .mid {
  878. border: 1px solid #aaa;
  879. background: rgba(235, 235, 217, 0.6);
  880. }
  881. }
  882. .btn-box {
  883. right: 15px;
  884. button {
  885. width: auto;
  886. padding: 0 10px;
  887. }
  888. }
  889. }
  890. .clean-box {
  891. --c: rgba(32, 107, 172, 0.5);
  892. &.over {
  893. --c: rgba(236, 90, 90, 0.5);
  894. }
  895. .box-header {
  896. color: #eee;
  897. .tool {
  898. border: 1px solid #ccc;
  899. &:hover {
  900. color: #fff;
  901. border-color: #fff;
  902. }
  903. }
  904. }
  905. }
  906. }
  907. &.light {
  908. --c1: #ddd;
  909. --c2: #ccc;
  910. .menu-box {
  911. .menu {
  912. color: #333;
  913. background: rgb(109, 154, 207);
  914. background: linear-gradient(0deg,
  915. rgba(109, 154, 207, 0.6) 0%,
  916. rgba(76, 136, 207, 0.6) 100%);
  917. &.active {
  918. color: #eee;
  919. background: rgb(6, 14, 131);
  920. background: linear-gradient(0deg,
  921. rgba(51, 102, 204, 1) 0%,
  922. rgba(51, 102, 204, 0.8) 100%);
  923. }
  924. &:hover {
  925. color: #eee;
  926. background: rgb(76, 136, 207);
  927. background: linear-gradient(0deg,
  928. rgba(57, 126, 207, 1) 0%,
  929. rgba(57, 126, 207, 0.8) 100%);
  930. }
  931. }
  932. }
  933. .box-card {
  934. --border_color: #9CB9DC;
  935. --bg_color: rgba(191, 191, 191, 0.5);
  936. box-shadow: 0 0 8px #508CD3 inset !important;
  937. background-image: linear-gradient(rgba(191, 191, 191, 0.4), rgba(191, 191, 191, 0.4));
  938. background-size: 100%;
  939. .card-header {
  940. --border_color: #4775D0;
  941. --bg_color: #4775D0;
  942. .card-title {
  943. color: #fff;
  944. .svg-box {
  945. svg {
  946. rect {
  947. fill: #eee;
  948. }
  949. }
  950. }
  951. }
  952. }
  953. }
  954. .infos {
  955. .info-box {
  956. color: #3481ab;
  957. .info {
  958. color: #ddd;
  959. background: linear-gradient(rgba(32, 107, 172, 0.9),
  960. rgba(32, 107, 172, 0.9));
  961. .icon {
  962. background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
  963. }
  964. .text {
  965. .num {
  966. color: #fff;
  967. }
  968. }
  969. &.bg1 {
  970. background: linear-gradient(rgba(56, 164, 90, 0.9),
  971. rgba(56, 164, 90, 0.9));
  972. }
  973. &.bg2 {
  974. background: linear-gradient(rgba(19, 165, 165, 0.9),
  975. rgba(19, 165, 165, 0.9));
  976. }
  977. &.bg3 {
  978. background: linear-gradient(rgba(223, 148, 83, 0.9),
  979. rgba(223, 148, 83, 0.5));
  980. }
  981. &.bg4 {
  982. background: linear-gradient(rgba(236, 90, 90, 0.9),
  983. rgba(236, 90, 90, 0.9));
  984. }
  985. }
  986. }
  987. }
  988. .alarms {
  989. .alarm-box {
  990. color: #4888D2;
  991. .type {
  992. color: #4775D0;
  993. }
  994. }
  995. .no-data {
  996. color: #3481ab;
  997. }
  998. }
  999. .overs {
  1000. &>.left {
  1001. --color: rgba(32, 107, 172, 0.9);
  1002. --color_1: rgba(32, 107, 172, 1);
  1003. --color_2: rgba(32, 107, 172, 1);
  1004. .nav {
  1005. --bg: #eee;
  1006. --bg_active: #4c88cf;
  1007. --bg_hover: #3c88cf;
  1008. --c: #333;
  1009. --c_active: #eee;
  1010. --c_hover: #fff;
  1011. }
  1012. }
  1013. }
  1014. .menu-container {
  1015. .menu-box {
  1016. .menu {
  1017. color: #ddd;
  1018. background: linear-gradient(0deg,
  1019. rgba(57, 126, 207, 1) 0%,
  1020. rgba(57, 126, 207, 0.8) 100%);
  1021. &.active {
  1022. color: #eee;
  1023. background: linear-gradient(0deg,
  1024. rgba(51, 102, 204, 1) 0%,
  1025. rgba(51, 102, 204, 0.8) 100%);
  1026. }
  1027. &:hover {
  1028. color: #eee;
  1029. background: linear-gradient(0deg,
  1030. rgba(51, 102, 204, 1) 0%,
  1031. rgba(36, 80, 167, 0.8) 100%);
  1032. }
  1033. }
  1034. }
  1035. .company-list {
  1036. background-color: rgba(51, 102, 204, 0.7);
  1037. .close-btn {
  1038. background-color: rgba(51, 102, 204, 0.7);
  1039. transform: translate(35%, -25%);
  1040. }
  1041. .company-item {
  1042. color: #fff;
  1043. .icon {
  1044. background: #eee;
  1045. }
  1046. &:not(:first-child) {
  1047. border-top: 1px solid #999;
  1048. }
  1049. }
  1050. }
  1051. }
  1052. .map-company-box {
  1053. background-color: rgba(51, 102, 204, 0.7);
  1054. color: #eee;
  1055. .close-btn {
  1056. background-color: rgba(51, 102, 204, 0.7);
  1057. }
  1058. .title-box {
  1059. border-bottom: 2px solid #ddd;
  1060. .name {
  1061. color: #fff;
  1062. }
  1063. }
  1064. .monitor-box {
  1065. .monitor {
  1066. color: #ddd;
  1067. .name {
  1068. color: #eee;
  1069. }
  1070. .splite {
  1071. border-bottom: 1px dashed #666;
  1072. }
  1073. }
  1074. }
  1075. .page-box,
  1076. .btn-box {
  1077. button {
  1078. border: 1px solid #ccc;
  1079. background-color: rgba(51, 102, 204, 0.9);
  1080. &:disabled {
  1081. color: #aaa;
  1082. background-color: rgba(51, 102, 204, 0.4);
  1083. border: 1px solid #aaa;
  1084. }
  1085. &:not(:disabled):hover {
  1086. color: #fff;
  1087. border-color: #fff;
  1088. }
  1089. }
  1090. }
  1091. .page-box {
  1092. left: 15px;
  1093. .mid {
  1094. border: 1px solid #ccc;
  1095. background-color: rgba(51, 102, 204, 0.6);
  1096. }
  1097. }
  1098. .btn-box {
  1099. right: 15px;
  1100. button {
  1101. width: auto;
  1102. padding: 0 10px;
  1103. }
  1104. }
  1105. }
  1106. .clean-box {
  1107. --c: rgba(32, 107, 172, 0.9);
  1108. &.over {
  1109. --c: rgba(236, 90, 90, 0.9);
  1110. }
  1111. .box-header {
  1112. color: #eee;
  1113. .tool {
  1114. border: 1px solid #ccc;
  1115. &:hover {
  1116. color: #fff;
  1117. border-color: #fff;
  1118. }
  1119. }
  1120. }
  1121. }
  1122. }
  1123. }
  1124. .bar-box {
  1125. display: flex;
  1126. flex: 1;
  1127. height: 30%;
  1128. width: 100%;
  1129. margin: 10px 0;
  1130. align-items: center;
  1131. position: relative;
  1132. font-size: 14px;
  1133. &:first-child {
  1134. margin-top: 0;
  1135. }
  1136. .title {
  1137. color: #fff;
  1138. position: absolute;
  1139. top: 0;
  1140. left: 50%;
  1141. transform: translateX(-50%);
  1142. }
  1143. .bar {
  1144. display: flex;
  1145. flex-direction: column;
  1146. justify-content: center;
  1147. align-items: center;
  1148. color: #ddd;
  1149. height: 100%;
  1150. white-space: nowrap;
  1151. min-width: 100px;
  1152. padding-top: 15px;
  1153. .num {
  1154. color: #fff;
  1155. font-size: 16px;
  1156. }
  1157. &.bar-green {
  1158. background: linear-gradient(rgba(56, 164, 90, 0.7),
  1159. rgba(56, 164, 90, 0.7));
  1160. box-shadow: 1px 5px 5px rgba(56, 164, 90, 0.8);
  1161. }
  1162. &.bar-info {
  1163. background: linear-gradient(rgba(76, 136, 207, 0.7),
  1164. rgba(76, 136, 207, 0.7));
  1165. box-shadow: 1px 5px 5px rgba(76, 136, 207, 0.8);
  1166. }
  1167. &.bar-yellow {
  1168. background: linear-gradient(rgba(255, 185, 126, 0.7),
  1169. rgba(255, 185, 126, 0.7));
  1170. box-shadow: 1px 5px 5px rgba(255, 185, 126, 0.8);
  1171. }
  1172. &.bar-red {
  1173. background: linear-gradient(rgba(236, 120, 120, 0.7),
  1174. rgba(236, 120, 120, 0.7));
  1175. box-shadow: 1px 5px 5px rgba(236, 120, 120, 0.8);
  1176. }
  1177. }
  1178. }
  1179. #chart-pf_1,
  1180. #chart-pf_2 {
  1181. width: 100%;
  1182. height: 50%;
  1183. }
  1184. .body-content.charts-box {
  1185. flex: 1;
  1186. justify-content: center;
  1187. align-items: center;
  1188. }
  1189. .chart-pf {
  1190. width: 100%;
  1191. height: calc(50% - 10px);
  1192. }
  1193. .map-company-box {
  1194. width: 100%;
  1195. height: 300px;
  1196. background: #999;
  1197. }
  1198. .close-btn {
  1199. position: absolute;
  1200. right: 0;
  1201. top: 0;
  1202. width: 30px;
  1203. height: 30px;
  1204. border-radius: 50%;
  1205. display: flex;
  1206. justify-content: center;
  1207. align-items: center;
  1208. transform: translate(25%, -25%);
  1209. background: transparent;
  1210. cursor: pointer;
  1211. background-size: 90%;
  1212. background-position: center;
  1213. background-image: url("data:image/svg+xml;base64,PHN2ZyB0PSIxNjU1MzY1ODQ3ODQwIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjIyNzgiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNNTEyIDk2MEMyNjQuOTYgOTYwIDY0IDc1OS4wNCA2NCA1MTJTMjY0Ljk2IDY0IDUxMiA2NHM0NDggMjAwLjk2IDQ0OCA0NDhTNzU5LjA0IDk2MCA1MTIgOTYwek01MTIgMTI4LjI4OEMzMDAuNDE2IDEyOC4yODggMTI4LjI4OCAzMDAuNDE2IDEyOC4yODggNTEyYzAgMjExLjU1MiAxNzIuMTI4IDM4My43MTIgMzgzLjcxMiAzODMuNzEyIDIxMS41NTIgMCAzODMuNzEyLTE3Mi4xNiAzODMuNzEyLTM4My43MTJDODk1LjcxMiAzMDAuNDE2IDcyMy41NTIgMTI4LjI4OCA1MTIgMTI4LjI4OHoiIHAtaWQ9IjIyNzkiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNNTU3LjA1NiA1MTMuMzc2bDEzOC4zNjgtMTM2Ljg2NGMxMi41NzYtMTIuNDE2IDEyLjY3Mi0zMi42NzIgMC4yNTYtNDUuMjQ4LTEyLjQxNi0xMi41NzYtMzIuNzA0LTEyLjY3Mi00NS4yNDgtMC4yNTZsLTEzOC41NiAxMzcuMDI0LTEzNi40NDgtMTM2Ljg2NGMtMTIuNTEyLTEyLjUxMi0zMi43MzYtMTIuNTc2LTQ1LjI0OC0wLjA2NC0xMi41MTIgMTIuNDgtMTIuNTQ0IDMyLjczNi0wLjA2NCA0NS4yNDhsMTM2LjI1NiAxMzYuNjcyLTEzNy4zNzYgMTM1LjkwNGMtMTIuNTc2IDEyLjQ0OC0xMi42NzIgMzIuNjcyLTAuMjU2IDQ1LjI0OCA2LjI3MiA2LjMzNiAxNC40OTYgOS41MDQgMjIuNzUyIDkuNTA0IDguMTI4IDAgMTYuMjU2LTMuMTA0IDIyLjQ5Ni05LjI0OGwxMzcuNTY4LTEzNi4wNjQgMTM4LjY4OCAxMzkuMTM2YzYuMjQgNi4yNzIgMTQuNDMyIDkuNDA4IDIyLjY1NiA5LjQwOCA4LjE5MiAwIDE2LjM1Mi0zLjEzNiAyMi41OTItOS4zNDQgMTIuNTEyLTEyLjQ4IDEyLjU0NC0zMi43MDQgMC4wNjQtNDUuMjQ4TDU1Ny4wNTYgNTEzLjM3NnoiIHAtaWQ9IjIyODAiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48L3N2Zz4=");
  1214. }