index.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  1. header {
  2. width: 100%;
  3. height: 1.3125rem;
  4. text-align: center;
  5. color: #00F6FF;
  6. position: relative;
  7. /* z-index:99 */
  8. }
  9. .header-logo {
  10. /* height: 1.3125rem; */
  11. /* top:0;
  12. left:50%; */
  13. height: 1.3125rem;
  14. width: 100%;
  15. background-image: url(../images/header-logo.png);
  16. background-size: contain;
  17. background-position: top center;
  18. display: inline-block;
  19. background-repeat: no-repeat
  20. }
  21. header .weather {
  22. position: absolute;
  23. top: .2rem;
  24. left: .7rem;
  25. font-size: .25rem;
  26. }
  27. header .weather span {
  28. display: inline-block;
  29. margin-right: 3px
  30. }
  31. header .showTime {
  32. position: absolute;
  33. top: .2rem;
  34. right: .7rem;
  35. font-size: .25rem;
  36. }
  37. .mainbox {
  38. min-width: 1270px;
  39. max-width: 1920px;
  40. /* padding: .287rem .287rem 0; */
  41. display: flex;
  42. height: 100vh;
  43. /* height:13.5rem; */
  44. position: relative;
  45. }
  46. .mainbox .column {
  47. flex: 3
  48. }
  49. .mainbox .column:nth-child(2) {
  50. flex: 6;
  51. }
  52. .panel {
  53. position: relative;
  54. padding: .225rem;
  55. }
  56. .no h2,
  57. .panel h2 {
  58. /* text-align: center; */
  59. font-size: .175rem;
  60. color: #fff;
  61. margin-bottom: .225rem;
  62. position: relative;
  63. }
  64. /* 搜索区域样式 */
  65. .choose-box {
  66. position: absolute;
  67. bottom: -0.0625rem;
  68. right: 0;
  69. font-size: .175rem
  70. }
  71. .choose-box select,
  72. .choose-box input {
  73. border: 1px solid #036B77;
  74. width: 2.05rem;
  75. height: .3rem;
  76. color: #fff;
  77. line-height: .3rem;
  78. background: rgba(0, 0, 0, 0);
  79. margin-right: .125rem
  80. }
  81. .choose-box span {
  82. display: inline-block;
  83. margin-right: .125rem
  84. }
  85. a.button {
  86. width: .6875rem;
  87. height: .3rem;
  88. line-height: .3rem;
  89. text-align: center;
  90. border: 1px solid #036B77;
  91. color: #fff;
  92. display: inline-block;
  93. text-decoration: none;
  94. background: #034854;
  95. cursor: pointer;
  96. }
  97. .panel .chart {
  98. height: 1.625rem;
  99. display: flex;
  100. justify-content: center;
  101. align-items: center
  102. }
  103. .no {
  104. height: 4.05rem;
  105. overflow: hidden;
  106. /* background-image: url(../images/no-bg.png) */
  107. /* border:1px solid green */
  108. }
  109. .data-table-box table {
  110. /* width: 10.262rem; */
  111. width: 100%;
  112. margin: 0 auto;
  113. color: #fff;
  114. font-weight: 400;
  115. font-size: .175rem;
  116. text-align: left;
  117. width: 100%;
  118. table-layout: fixed;
  119. }
  120. .data-table-box thead th {
  121. font-size: 0.175rem;
  122. /* line-height: 0.5rem; */
  123. font-weight: 400;
  124. padding: 0 .125rem;
  125. line-height: .4rem;
  126. }
  127. .data-table-box table td {
  128. padding: 0 .125rem;
  129. line-height: .4rem;
  130. }
  131. .data-table-box table tr:nth-child(even) {
  132. background: rgba(14, 25, 49, 0.20);
  133. }
  134. .data-table-box table tr:nth-child(odd) {
  135. background: rgba(14, 25, 49, 0.40);
  136. }
  137. .data-table-box table tbody tr {
  138. cursor: pointer
  139. }
  140. .data-table-box table tbody tr:hover,
  141. .data-table-box table tbody tr.selected {
  142. background-color: rgb(14, 112, 203);
  143. }
  144. .scroll {
  145. height: 2.3rem;
  146. overflow-y: auto;
  147. }
  148. .device-table tr td:first-child,
  149. .device-table tr th:first-child {
  150. width: 1.5rem
  151. }
  152. .device-table tr td:nth-child(2),
  153. .device-table tr th:nth-child(2) {
  154. width: 1rem
  155. }
  156. .alarm-table tr td:first-child,
  157. .alarm-table tr th:first-child {
  158. width: 2rem
  159. }
  160. .alarm-table tr td:nth-child(2),
  161. .alarm-table tr th:nth-child(2) {
  162. width: 3.5rem
  163. }
  164. .alarm-table tr td:nth-child(3),
  165. .alarm-table tr th:nth-child(3) {
  166. width: 1.3rem
  167. }
  168. .alarm-table tr td:nth-child(4),
  169. .alarm-table tr th:nth-child(4) {
  170. width: 3.5rem
  171. }
  172. .alarm-table tr td:nth-child(5),
  173. .alarm-table tr th:nth-child(5) {
  174. width: 2.5rem
  175. }
  176. .alarm-table tr td:nth-child(6),
  177. .alarm-table tr th:nth-child(6) {
  178. width: 1rem
  179. }
  180. .map {
  181. position: relative;
  182. height: 7.55rem;
  183. margin-bottom: .287rem;
  184. /* background-size: 90% 90%;
  185. background-position: bottom center;
  186. background-image:url(../images/store.png);
  187. background-repeat: no-repeat;
  188. opacity: .5 */
  189. }
  190. .map .chart {
  191. position: absolute;
  192. top: 0;
  193. left: 0;
  194. z-index: 5;
  195. height: 10.125rem;
  196. width: 100%
  197. }
  198. @keyframes rotate {
  199. from {
  200. transform: translate(-50%, -50%) rotate(0)
  201. }
  202. to {
  203. transform: translate(-50%, -50%) rotate(360deg)
  204. }
  205. }
  206. @keyframes rotate1 {
  207. from {
  208. transform: translate(-50%, -50%) rotate(0)
  209. }
  210. to {
  211. transform: translate(-50%, -50%) rotate(-360deg)
  212. }
  213. }
  214. .title-btn {
  215. color: #fff;
  216. width: 1.75rem;
  217. line-height: .4rem;
  218. background: rgba(0, 130, 255, .4);
  219. border: 2px solid #0082ff;
  220. border-radius: 10px;
  221. text-align: center;
  222. font-size: .25rem;
  223. margin: .125rem auto
  224. }
  225. .total-squares {
  226. margin: .175rem auto;
  227. text-align: center
  228. }
  229. .total-square {
  230. display: inline-block;
  231. width: .55rem;
  232. height: .55rem;
  233. line-height: .55rem;
  234. border: 1px solid rgba(0, 212, 233, .4);
  235. font-size: .375rem;
  236. color: #F6FF00
  237. }
  238. .yq-total {
  239. font-size: .25rem;
  240. color: #00D4E9;
  241. text-align: center
  242. }
  243. .panel {
  244. /* opacity: 0.8; */
  245. background: linear-gradient(#003d83 0%, rgba(0, 61, 131, 0.25) 48%, #003d83 100%);
  246. border: 1px solid #00f6ff;
  247. border-radius: 10px;
  248. box-shadow: 0px 0px 40px 0px rgba(0, 61, 131, 0.70) inset;
  249. }
  250. .data-table-box {
  251. position: absolute;
  252. bottom: .25rem;
  253. /* bottom: 200px; */
  254. width: 100%;
  255. display: flex;
  256. /* background:pink; */
  257. /* border:1px solid pink; */
  258. padding: 0 .25rem;
  259. /* height:30vh */
  260. /* height:3.5rem; */
  261. }
  262. .data-table-box .panel {
  263. height: 3.5rem;
  264. overflow: hidden
  265. /* border:1px solid pink */
  266. }
  267. .data-table-box .column:first-child .panel {
  268. margin-right: .25rem;
  269. }
  270. .data-statistic {
  271. width: 3.5rem;
  272. height: 6.5rem;
  273. top: .7875rem;
  274. left: .25rem;
  275. position: absolute;
  276. }
  277. .data-statistic li {
  278. display: inline-block;
  279. color: #fff;
  280. width: 1.375rem;
  281. border: 1px solid red;
  282. background: rgba(0, 106, 94, 0.50);
  283. border: 1px solid #039aa0;
  284. text-align: center;
  285. padding: .15rem 0;
  286. margin-bottom: .25rem
  287. }
  288. .data-statistic li:nth-child(odd) {
  289. margin-right: .15rem
  290. }
  291. .digit-num {
  292. font-size: .375rem;
  293. font-family: "electronicFont";
  294. }
  295. .digit-des {
  296. font-size: .15rem;
  297. color: #fff;
  298. margin-top: .0875rem
  299. }
  300. /* 声明字体*/
  301. @font-face {
  302. font-family: electronicFont;
  303. src: url(../font/DS-DIGIT.TTF);
  304. }
  305. #map1 {
  306. width: 100%;
  307. height: 100%;
  308. z-index: 0;
  309. position: fixed;
  310. top: 0;
  311. left: 0
  312. }
  313. .layui-layer {
  314. background: rgba(0, 0, 0, 0)!important
  315. }
  316. .dataOut {
  317. /* transform:scale(.5); */
  318. width: 100%;
  319. height: 100%;
  320. width: 638px;
  321. height: 620px;
  322. position: absolute;
  323. top: 50%;
  324. left: 50%;
  325. margin-top: -310px;
  326. margin-left: -319px;
  327. background-size: contain;
  328. background-repeat: no-repeat;
  329. background-size: 100% 100%;
  330. }
  331. .masker {
  332. width: 100%;
  333. height: 100%;
  334. background: rgba(0, 0, 0, .5);
  335. display: block;
  336. position: absolute;
  337. top: 0
  338. }
  339. @media(max-width:1440px) {
  340. .dataOut {
  341. transform: scale(.8);
  342. }
  343. }
  344. /* 设备详情弹框 */
  345. .deviceDetailOut {
  346. display: none
  347. }
  348. .deviceDetailOut .dataOut {
  349. background-image: url(../images/deviceOut-bg.png);
  350. }
  351. .dataOut .ttBox {
  352. padding: 25px 20px;
  353. cursor: move;
  354. /* border: 1px solid pink */
  355. }
  356. .dataOut .ttBox .tt {
  357. font-size: 14px;
  358. display: block;
  359. color: #01FBF6
  360. }
  361. .dataOut .ttBox .clsBtn {
  362. display: block;
  363. color: black;
  364. cursor: pointer;
  365. width: 24px;
  366. height: 24px;
  367. position: absolute;
  368. border-radius: 50%;
  369. text-align: center;
  370. line-height: 24px;
  371. top: 20px;
  372. right: 20px;
  373. background: #01FBF6;
  374. }
  375. .dataOut .ttBox .clsBtn img {
  376. width: 24px;
  377. height: 24px;
  378. }
  379. .timeTitle {
  380. color: #fff;
  381. width: 100%;
  382. text-align: center;
  383. font-size: 14px;
  384. }
  385. .deviceDetailOut ul {
  386. position: absolute;
  387. top: 167px;
  388. }
  389. .deviceDetailOut ul.leftUl {
  390. left: 117px;
  391. }
  392. .deviceDetailOut ul.rightUl {
  393. left: 457px;
  394. }
  395. .deviceDetailOut ul li {
  396. width: 70px;
  397. height: 34px;
  398. line-height: 34px;
  399. text-align: center;
  400. background: pink;
  401. margin-bottom: 20px;
  402. font-size: 14px;
  403. opacity: .5
  404. }
  405. .alarmHanleOut {
  406. display: none
  407. }
  408. .alarmHanleOut .dataOut {
  409. background-image: url(../images/alarm-handle-bg.png);
  410. }
  411. .alarmHanleOut .txtBox {
  412. padding-right: 50px;
  413. padding-bottom: 20px;
  414. padding-left: 50px;
  415. }
  416. .alarmHanleOut .txtBox span {
  417. width: 60px;
  418. color: #fff;
  419. font-size: 14px;
  420. display: inline-block;
  421. text-align: right;
  422. line-height:34px;
  423. margin-right: 10px;
  424. vertical-align: middle;
  425. }
  426. .alarmHanleOut .txtBox input {
  427. width: 186px;
  428. line-height: 34px;
  429. font-size: 14px;
  430. /* color:#fff; */
  431. border: 1px solid #016F6D;
  432. margin-bottom: 14px;
  433. background: #555555;
  434. outline: none;
  435. }
  436. input::-webkit-input-placeholder {
  437. color: rgba(255, 255, 255, .7)!important;
  438. }
  439. input::-moz-input-placeholder {
  440. color: rgba(255, 255, 255, .7)!important;
  441. }
  442. input::-ms-input-placeholder {
  443. color: rgba(255, 255, 255, .7)!important;
  444. }
  445. .error-radio .layui-form-item {
  446. display: inline-block;
  447. margin-bottom: 0;
  448. color: #fff;
  449. line-height: 34px;
  450. }
  451. .error-radio .layui-input-block {
  452. margin-left: 0
  453. }
  454. .error-radio .layui-form-radio {
  455. margin: 0;
  456. width: 80px;
  457. line-height: 20px;
  458. }
  459. .error-radio .layui-form-radioed>i,
  460. .error-radio .layui-form-radio>i:hover {
  461. color: #01FBF6
  462. }
  463. .error-radio .layui-anim-scaleSpring {
  464. -webkit-animation-name: none;
  465. animation-name: none;
  466. }
  467. .error-radio .layui-input-block {
  468. min-height: auto;
  469. }
  470. .error-radio .layui-form-radio>i {
  471. font-size: 14px;
  472. }
  473. .dataOut .btnArea {
  474. position: absolute;
  475. bottom: 43px;
  476. width: 100%;
  477. text-align: center
  478. }
  479. .dataOut .btnGroup {
  480. padding: 5px;
  481. }
  482. .dataOut .btnGroup img {
  483. position: absolute;
  484. left: 5px;
  485. top: 5px;
  486. }
  487. .dataOut .sgBtn {
  488. display: inline-block;
  489. cursor: pointer;
  490. width: 75px;
  491. line-height: 20px;
  492. text-align: center;
  493. color: #FFFFFF;
  494. border-radius: 5px;
  495. }
  496. .dataOut .sgBtn:hover {
  497. opacity: .7
  498. }
  499. .dataOut .sgBtn.ok {
  500. margin-right: 100px
  501. }
  502. .dataOut .sgBtn.ok,
  503. .dataOut .sgBtn.cancel,
  504. .dataOut .sgBtn.cancel2 {
  505. width: 92px;
  506. line-height: 34px;
  507. position: relative;
  508. color: #fff;
  509. background: #00BCB8;
  510. border-radius: 3px;
  511. font-size: 14px;
  512. }
  513. #drop_area {
  514. display: inline-block;
  515. vertical-align: middle;
  516. line-height: 114px;
  517. text-align: center;
  518. }
  519. }
  520. /* 地图撒点样式 */
  521. #detail_info {
  522. padding: 0px 8px;
  523. }
  524. .info-text {
  525. display: inline-block;
  526. color: #00F6FF;
  527. width: 70px;
  528. text-align: right
  529. }
  530. #digitalValue{
  531. color:#B4C5D8;
  532. }
  533. #deviceStatus{
  534. color:#B4C5D8;
  535. }