index.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729
  1. @font-face {
  2. font-family: 'svgfont';
  3. src: url('iconfont/iconfont.eot');
  4. src: url('iconfont/iconfont.eot?#iefix') format('embedded-opentype'), url('iconfont/iconfont.woff2') format('woff2'), url('iconfont/iconfont.woff') format('woff'), url('iconfont/iconfont.ttf') format('truetype'), url('iconfont/iconfont.svg#iconfont') format('svg');
  5. }
  6. .svgfont {
  7. font-family: "svgfont" !important;
  8. font-size: 16px;
  9. font-style: normal;
  10. -webkit-font-smoothing: antialiased;
  11. -moz-osx-font-smoothing: grayscale;
  12. }
  13. /* ming start */
  14. * {
  15. margin: 0;
  16. padding: 0;
  17. box-sizing: border-box;
  18. }
  19. li {
  20. list-style: none;
  21. }
  22. body {
  23. font-family: Arial, Helvetica, sans-serif;
  24. margin: 0;
  25. padding: 0;
  26. /* 背景图定位 / 背景图尺寸 cover 完全铺满容器 contain 完整显示在容器内 */
  27. background: url(../images/bg.png) no-repeat #000;
  28. background-size: cover;
  29. /* 行高是字体1.15倍 */
  30. line-height: 1.15;
  31. /* height: 100vh; */
  32. min-height: 600px;
  33. }
  34. input::-webkit-input-placeholder,
  35. textarea::-webkit-input-placeholder {
  36. color: #fff;
  37. }
  38. input:-moz-placeholder,
  39. textarea:-moz-placeholder {
  40. color: #fff;
  41. }
  42. input::-moz-placeholder,
  43. textarea::-moz-placeholder {
  44. color: #fff;
  45. }
  46. input:-ms-input-placeholder,
  47. textarea:-ms-input-placeholder {
  48. color: #fff;
  49. }
  50. header {
  51. position: relative;
  52. /* height: 1.25rem; */
  53. height: 1.125rem;
  54. background: url(../images/head_bg.png) no-repeat;
  55. background-position: 20% 0;
  56. background-size: cover;
  57. min-width: 1024px;
  58. /* max-width: 1920px; */
  59. }
  60. .mainbox {
  61. min-width: 1024px;
  62. /* max-width: 1920px; */
  63. padding: 0.125rem 0.125rem 0;
  64. height: calc(100vh - 1.125rem);
  65. color: #fff;
  66. min-height: 650px;
  67. /* min-height: 750px */
  68. }
  69. .mainbox .column {
  70. flex: 3;
  71. }
  72. .topBox,
  73. .bottomBox {
  74. display: flex;
  75. position: relative;
  76. width: 100%;
  77. }
  78. .topBox .column:nth-child(2) {
  79. flex: 5;
  80. margin: 0 0.125rem 0;
  81. overflow: hidden;
  82. }
  83. .topBox {
  84. height: 70%;
  85. /* border: 1px solid red; */
  86. }
  87. .bottomBox {
  88. height: calc(30% - 0.45rem);
  89. /* border: 1px solid red; */
  90. margin-top: 0.225rem;
  91. }
  92. .bottomBox .panel {
  93. padding-top: .7rem
  94. }
  95. .bottomBox .column {
  96. text-align: end;
  97. /* border: 1px solid red */
  98. }
  99. .bottomBox .column:first-child {
  100. margin-right: 0.1125rem
  101. }
  102. .bottomBox .column:last-child {
  103. margin-left: 0.1125rem
  104. }
  105. .panel {
  106. position: relative;
  107. height: 3.875rem;
  108. border: 1px solid rgba(25, 186, 139, 0.17);
  109. /* background: rgba(255, 255, 255, 0.04) url(../images/line\(1\).png); */
  110. padding: 0 .275rem 0.2rem;
  111. margin-bottom: .225rem;
  112. padding-top: .825rem;
  113. background-size: cover;
  114. background-repeat: no-repeat;
  115. }
  116. .panel.statisTop {
  117. height: 60%;
  118. /* border: 1px solid red */
  119. }
  120. /* el-select 下拉框 样式 */
  121. .el-input__suffix {
  122. line-height: 1rem !important;
  123. }
  124. .el-input--suffix .el-input__inner {
  125. margin-top: 0.2rem;
  126. width: 2rem !important;
  127. height: 0.375rem !important;
  128. background-color: transparent !important;
  129. color: #4BF4F9 !important;
  130. font-size: 0.18rem !important;
  131. border: 1px #4BF4F9 solid !important;
  132. border-radius: 0px !important;
  133. }
  134. .el-input--suffix .el-input__icon {
  135. width: 0.3125rem;
  136. line-height: 0.375rem !important;
  137. }
  138. .el-input--suffix .el-select__caret {
  139. color: #4BF4F9 !important;
  140. font-size: 0.175rem !important;
  141. }
  142. .el-input__prefix,
  143. .el-input__suffix {
  144. top: -0.30rem !important;
  145. }
  146. /* el-select 下拉框 样式 */
  147. .panel.statisBottom {
  148. height: calc(100% - 60% - 0.225rem);
  149. /* border: 1px solid red */
  150. }
  151. .panel.deviceSum {
  152. height: 50%;
  153. /* border: 1px solid red; */
  154. }
  155. .panel.operStatus {
  156. height: calc(50% - 0.225rem);
  157. /* border: 1px solid red; */
  158. }
  159. .panel::before,
  160. .mapBox::before,
  161. .mapSec::before {
  162. position: absolute;
  163. top: 0;
  164. left: 0;
  165. content: "";
  166. width: 10px;
  167. height: 10px;
  168. border-top: 2px solid #02a6b5;
  169. border-left: 2px solid #02a6b5;
  170. z-index: 999
  171. }
  172. .panel::after,
  173. .mapBox::after,
  174. .mapSec::after {
  175. position: absolute;
  176. top: 0;
  177. right: 0;
  178. content: "";
  179. width: 10px;
  180. height: 10px;
  181. border-top: 2px solid #02a6b5;
  182. border-right: 2px solid #02a6b5;
  183. z-index: 999
  184. }
  185. .panel .panel-footer {
  186. position: absolute;
  187. left: 0;
  188. bottom: 0;
  189. width: 100%;
  190. }
  191. .panel-footer::before {
  192. position: absolute;
  193. bottom: 0;
  194. left: 0;
  195. content: "";
  196. width: 10px;
  197. height: 10px;
  198. border-bottom: 2px solid #02a6b5;
  199. border-left: 2px solid #02a6b5;
  200. z-index: 999
  201. }
  202. .panel-footer::after {
  203. position: absolute;
  204. bottom: 0;
  205. right: 0;
  206. content: "";
  207. width: 10px;
  208. height: 10px;
  209. border-bottom: 2px solid #02a6b5;
  210. border-right: 2px solid #02a6b5;
  211. z-index: 999
  212. }
  213. .panel h2 {
  214. position: absolute;
  215. top: 0;
  216. height: 0.6rem;
  217. line-height: 0.6rem;
  218. text-align: center;
  219. color: #fff;
  220. font-size: .225rem;
  221. font-weight: 400;
  222. }
  223. .panel h2 a {
  224. margin: 0 .225rem;
  225. color: #fff;
  226. text-decoration: underline;
  227. }
  228. .panel .chart {
  229. height: 3rem;
  230. }
  231. .no {
  232. background: rgba(101, 132, 226, 0.1);
  233. padding: .225rem;
  234. }
  235. .no .no-hd {
  236. position: relative;
  237. border: 1px solid rgba(25, 186, 139, 0.17);
  238. }
  239. .no .no-hd::before {
  240. content: "";
  241. position: absolute;
  242. width: 30px;
  243. height: 10px;
  244. border-top: 2px solid #02a6b5;
  245. border-left: 2px solid #02a6b5;
  246. top: 0;
  247. left: 0;
  248. }
  249. .no .no-hd::after {
  250. content: "";
  251. position: absolute;
  252. width: 30px;
  253. height: 10px;
  254. border-bottom: 2px solid #02a6b5;
  255. border-right: 2px solid #02a6b5;
  256. right: 0;
  257. bottom: 0;
  258. }
  259. .no .no-hd ul {
  260. display: flex;
  261. }
  262. .no .no-hd ul li {
  263. position: relative;
  264. flex: 1;
  265. text-align: center;
  266. height: 1rem;
  267. line-height: 1rem;
  268. font-size: 0.875rem;
  269. color: #ffeb7b;
  270. padding: 0.05rem 0;
  271. font-family: electronicFont;
  272. font-weight: bold;
  273. }
  274. .no .no-hd ul li:first-child::after {
  275. content: "";
  276. position: absolute;
  277. height: 50%;
  278. width: 1px;
  279. background: rgba(255, 255, 255, 0.2);
  280. right: 0;
  281. top: 25%;
  282. }
  283. .no .no-bd ul {
  284. display: flex;
  285. }
  286. .no .no-bd ul li {
  287. flex: 1;
  288. height: 0.5rem;
  289. line-height: 0.5rem;
  290. text-align: center;
  291. font-size: 0.225rem;
  292. color: rgba(255, 255, 255, 0.7);
  293. padding-top: 0.125rem;
  294. }
  295. .map {
  296. width: 100%;
  297. height: 100%;
  298. background: url(../../assets/images/map.png);
  299. background-repeat: no-repeat;
  300. background-size: cover;
  301. background-position: top center;
  302. }
  303. @keyframes rotate {
  304. from {
  305. transform: translate(-50%, -50%) rotate(0deg);
  306. }
  307. to {
  308. transform: translate(-50%, -50%) rotate(360deg);
  309. }
  310. }
  311. @keyframes rotate1 {
  312. from {
  313. transform: translate(-50%, -50%) rotate(0deg);
  314. }
  315. to {
  316. transform: translate(-50%, -50%) rotate(-360deg);
  317. }
  318. }
  319. @media screen and (max-width: 1024px) {
  320. html {
  321. font-size: 42px !important;
  322. }
  323. }
  324. @media screen and (min-width: 1920) {
  325. html {
  326. font-size: 80px !important;
  327. }
  328. }
  329. /* 首页样式 */
  330. p {
  331. margin: 0;
  332. }
  333. .mb-10 {
  334. margin-bottom: .1875rem;
  335. }
  336. .text-blue,
  337. .static {
  338. color: #0DF4FE
  339. }
  340. .text-yellow {
  341. color: #FEB70D
  342. }
  343. .text-orange {
  344. color: #FE5C0D
  345. }
  346. .offLine {
  347. color: #989898
  348. }
  349. .error {
  350. color: #F6E418
  351. }
  352. .alarm,
  353. .text-red {
  354. color: #FF0000
  355. }
  356. .statisSec ul {
  357. display: flex;
  358. width: 100%;
  359. /* width: calc(100% - .75rem); */
  360. margin: 0 auto;
  361. text-align: center;
  362. background-size: 100% 100%;
  363. margin-bottom: 0.2rem;
  364. }
  365. .statisSec .statisTop ul {
  366. height: 29%;
  367. }
  368. .statisSec ul li {
  369. flex: 1;
  370. font-size: 0.2125rem;
  371. display: flex;
  372. align-items: center;
  373. justify-content: center;
  374. }
  375. .statisSec ul li div p:first-child {
  376. margin-bottom: .06rem
  377. }
  378. .num {
  379. font-size: .35rem;
  380. font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif
  381. }
  382. .statisTop {
  383. background-image: url(../images/statisTop-bg.png);
  384. }
  385. .statisTop>ul:first-child {
  386. background-image: url(../images/statisTop1.png)
  387. }
  388. .statisTop>ul:nth-child(2) {
  389. background-image: url(../images/statisTop2.png)
  390. }
  391. .statisTop>ul:nth-child(3) {
  392. background-image: url(../images/statisTop3.png)
  393. }
  394. .statisBottom {
  395. background-image: url(../images/statisTop-bg.png);
  396. }
  397. .deviceSum,
  398. .operStatus {
  399. background-image: url(../images/deviceSum.png);
  400. }
  401. .currentUsage {
  402. background-image: url(../images/currentUsage-bg.png);
  403. }
  404. .alarmStatis {
  405. background-image: url(../images/deviceSum.png);
  406. }
  407. .statisSec .statisBottom ul {
  408. height: 100%;
  409. }
  410. .statisSec .statisBottom ul li {
  411. position: relative;
  412. background-size: 100% 100%;
  413. background-position: center center;
  414. background-repeat: no-repeat;
  415. background-image: url(../images/bg-blue.png);
  416. }
  417. .statisSec .statisBottom ul li:nth-child(2) {
  418. background-image: url(../images/bg-yellow.png);
  419. }
  420. .statisSec .statisBottom ul li:nth-child(3) {
  421. background-image: url(../images/bg-orange.png);
  422. }
  423. .statisSec .statisBottom ul li:nth-child(2) {
  424. margin: 0 .125rem;
  425. }
  426. .statisSec .statisBottom .num {
  427. font-size: .3rem
  428. }
  429. .timeEle {
  430. position: absolute;
  431. width: 100%;
  432. line-height: 2.4;
  433. /* background: #30cfff61; */
  434. bottom: 0
  435. }
  436. .filterSec {
  437. position: absolute;
  438. top: .62rem;
  439. right: 10px;
  440. z-index: 11111111
  441. }
  442. .filterSec select,
  443. .filterSec option {
  444. border: 1px solid #036B77;
  445. min-width: 2.05rem;
  446. font-size: .15rem;
  447. height: .27rem;
  448. color: #036B77;
  449. line-height: 0.45rem;
  450. /* background: rgba(0, 0, 0, 0); */
  451. outline: none;
  452. padding-left: 0.1rem;
  453. background-image: -webkit-linear-gradient(bottom, #1298f5, #fff);
  454. -webkit-background-clip: text;
  455. -webkit-text-fill-color: transparent;
  456. }
  457. /* 站点概览 */
  458. .powerView {}
  459. .panel.powerView {
  460. height: 100%;
  461. background-image: url(../images/powerView-bg.png);
  462. }
  463. .overview .topBox {
  464. height: 65%;
  465. }
  466. .overview .topBox .deviceSum ul {
  467. height: 100%;
  468. }
  469. .overview .topBox .deviceSum li {
  470. display: inline-block;
  471. width: 50%;
  472. /* border: 1px solid red; */
  473. height: 100%
  474. }
  475. .overview .topBox .deviceSum p {
  476. font-size: .2rem;
  477. text-align: center
  478. }
  479. .overview .bottomBox {
  480. height: calc(35% - 0.45rem);
  481. }
  482. .overview .bottomBox .panel {
  483. background-image: url(../images/powerBottom-bg.png);
  484. padding-bottom: 0
  485. }
  486. .overview .map {
  487. background-image: none;
  488. }
  489. .histTab {
  490. position: absolute;
  491. top: .62rem;
  492. left: 45%;
  493. z-index: 1000
  494. }
  495. .histTab li {
  496. display: inline-block;
  497. border: 1px solid #0df4fe;
  498. padding: .05rem .12rem;
  499. cursor: pointer;
  500. font-size: .15rem
  501. }
  502. /* 分时电量start */
  503. .eleShareTit {
  504. font-size: .2rem;
  505. margin: .5rem 0 .2rem;
  506. text-align: center;
  507. }
  508. .powerBox {
  509. height: 100%;
  510. }
  511. .powerBox .powerViewBottom {
  512. height: 70%;
  513. position: relative;
  514. }
  515. .powerBox .powerViewBottom .filterSec {
  516. top: 0;
  517. right: -.1rem;
  518. }
  519. .powerViewBottom .filterSec select {
  520. min-width: 1rem
  521. }
  522. /* 分时电量end */
  523. .histTab li.active {
  524. background: #036B77
  525. }
  526. /* 站点信息弹框 start */
  527. .mapSec {
  528. position: relative;
  529. display: flex;
  530. align-items: center;
  531. justify-content: center;
  532. /* border: 1px solid red; */
  533. background-image: url(../images/map-sec-bg.png);
  534. background-size: 100% 100%;
  535. }
  536. .siteModelBox {
  537. width: 4.2375rem;
  538. /* height: 5rem; */
  539. background-image: url(../images/modal-bg.png);
  540. background-size: 100% 100%;
  541. font-size: .2rem
  542. }
  543. .siteIcon {
  544. /* border: 1px solid red; */
  545. padding: 4px;
  546. width: .3rem;
  547. height: .3rem;
  548. position: absolute;
  549. top: .1rem;
  550. right: .1rem;
  551. cursor: pointer;
  552. background-image: url(../images/site-icon.png);
  553. background-size: 70% 70%;
  554. background-position: center center;
  555. background-repeat: no-repeat;
  556. box-shadow: inset 0 0 0.1rem 0.0125rem rgb(0 244 253 / 60%);
  557. }
  558. .amap-info .siteModelBox {
  559. height: 3.5rem
  560. }
  561. .siteIcon:hover {
  562. opacity: .7
  563. }
  564. .siteModelBox {
  565. padding: 0 0.1875rem;
  566. position: relative;
  567. z-index: 999;
  568. }
  569. .siteModelBox h2 {
  570. font-size: 0.2rem;
  571. color: #0df4fe;
  572. line-height: 0.6rem;
  573. position: static;
  574. text-align: left;
  575. }
  576. .siteModelBox h2 .close {
  577. position: absolute;
  578. right: 0.125rem;
  579. top: 0.125rem;
  580. cursor: pointer;
  581. }
  582. .siteModelBox h2 .close:hover {
  583. opacity: 0.7;
  584. }
  585. .siteModelBox .infoLine {
  586. margin: 0.15rem 0;
  587. }
  588. .siteModelBox .infoLine span {
  589. float: left;
  590. color: #0df4fe;
  591. display: inline-block;
  592. text-align: right;
  593. width: 1.4rem;
  594. }
  595. .siteModelBox .infoLine p {
  596. padding-left: 1.4rem;
  597. }
  598. /* 站点信息弹框 end */
  599. /* ming end */