index.less 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. li {
  7. list-style: none;
  8. }
  9. select,input{
  10. outline:none;
  11. }
  12. .text-left{
  13. text-align:left
  14. }
  15. /* 溢出滚动样式 */
  16. .summary ::-webkit-scrollbar {
  17. height: 7px !important;
  18. width: 7px !important;
  19. }
  20. /*定义了滚动条滑块的样式*/
  21. .summary ::-webkit-scrollbar-thumb {
  22. border-radius: 5px;
  23. border-style: dashed;
  24. background-color: #28BEFC;
  25. border-color: #e2242400;
  26. border-width: 1.5px;
  27. background-clip: padding-box;
  28. }
  29. /*定义了轨道的样式*/
  30. .summary ::-webkit-scrollbar-track {
  31. /*滚动条里面轨道*/
  32. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  33. border-radius: 5px;
  34. background: rgba(0, 0, 0, 0);
  35. }
  36. @font-face {
  37. font-family: electronicFont;
  38. src: url(../font/DS-DIGIT.TTF);
  39. }
  40. @font-face {
  41. font-family: IMPACT;
  42. src: url(../font/IMPACT.TTF);
  43. }
  44. body {
  45. font-family: Arial, Helvetica, sans-serif;
  46. margin: 0;
  47. padding: 0;
  48. /* 背景图定位 / 背景图尺寸 cover 完全铺满容器 contain 完整显示在容器内 */
  49. background: url(../images/bg.jpg) no-repeat #000;
  50. background-size: cover;
  51. /* 行高是字体1.15倍 */
  52. line-height: 1.15;
  53. position:relative;
  54. }
  55. body .page-container {
  56. font-family: Arial, Helvetica, sans-serif;
  57. margin: 0;
  58. padding: 0;
  59. /* 背景图定位 / 背景图尺寸 cover 完全铺满容器 contain 完整显示在容器内 */
  60. background: url(../images/bg.jpg) no-repeat #000;
  61. background-size: cover;
  62. /* 行高是字体1.15倍 */
  63. line-height: 1.15;
  64. position:relative;
  65. }
  66. header {
  67. position: relative;
  68. height: 1rem;
  69. background: url(../images/head_bg.png) no-repeat top center;
  70. background-size: 100% 100%;
  71. min-width: 1024px;
  72. max-width: 1920px;
  73. h1 {
  74. font-size: .35rem;
  75. color: #fff;
  76. text-align: center;
  77. line-height: 1rem;
  78. font-weight: normal
  79. }
  80. .filterSec {
  81. position: absolute;
  82. top: 0;
  83. right: 0.375rem;
  84. line-height: 0.9375rem;
  85. font-size: 0.25rem;
  86. color: rgba(255, 255, 255, 0.7);
  87. }
  88. }
  89. .mainbox {
  90. min-width: 1024px;
  91. max-width: 1920px;
  92. padding: .225rem .225rem 0 .2625rem ;
  93. }
  94. .mainbox .topSection,
  95. .mainbox .bottomSection {
  96. display: flex
  97. }
  98. .mainbox.eleFire .topSection .column {
  99. flex: 2;
  100. }
  101. .mainbox.eleFire .topSection .column:nth-child(2) {
  102. flex: 5;
  103. margin: 0 0 0 .275rem;
  104. overflow: hidden;
  105. }
  106. .mainbox .bottomSection .column {
  107. flex: 1;
  108. }
  109. .mainbox .bottomSection .column:nth-child(2) {
  110. flex: 1;
  111. margin: 0 0 0 .275rem ;
  112. overflow: hidden;
  113. }
  114. .panel {
  115. position: relative;
  116. height: 5.9rem;
  117. border: 1px solid rgba(25, 140, 186, 0.5);
  118. background: rgba(8,26,50,0.60);
  119. padding: 0 .5375rem ;
  120. margin-bottom: .2rem;
  121. }
  122. .panel::before {
  123. position: absolute;
  124. top: 0;
  125. left: 0;
  126. content: "";
  127. width: 10px;
  128. height: 10px;
  129. border-top: 2px solid #28BEFC;
  130. border-left: 2px solid #28BEFC;
  131. }
  132. .panel::after {
  133. position: absolute;
  134. top: 0;
  135. right: 0;
  136. content: "";
  137. width: 10px;
  138. height: 10px;
  139. border-top: 2px solid #28BEFC;
  140. border-right: 2px solid #28BEFC;
  141. }
  142. .panel .panel-footer {
  143. position: absolute;
  144. left: 0;
  145. bottom: 0;
  146. width: 100%;
  147. }
  148. .panel .panel-footer::before {
  149. position: absolute;
  150. bottom: 0;
  151. left: 0;
  152. content: "";
  153. width: 10px;
  154. height: 10px;
  155. border-bottom: 2px solid #28BEFC;
  156. border-left: 2px solid #28BEFC;
  157. }
  158. .panel .panel-footer::after {
  159. position: absolute;
  160. bottom: 0;
  161. right: 0;
  162. content: "";
  163. width: 10px;
  164. height: 10px;
  165. border-bottom: 2px solid #28BEFC;
  166. border-right: 2px solid #28BEFC;
  167. }
  168. .panel h2 {
  169. height: 0.6rem;
  170. line-height: 0.6rem;
  171. text-align: center;
  172. color: #0096FF;
  173. font-size: 0.25rem;
  174. font-weight: 400;
  175. position: relative;
  176. }
  177. .panel h2 .line {
  178. height: 1px;
  179. background: rgba(25, 140, 186, 0.5);
  180. position: relative;
  181. width: 100%;
  182. margin: 0 auto
  183. }
  184. .panel h2 .line:before {
  185. content: '';
  186. height: 1px;
  187. top: .07rem;
  188. left: -0.37rem;
  189. width: .375rem;
  190. height: 1px;
  191. border-bottom: 1px solid rgba(25, 140, 186, 0.5);
  192. display: inline-block;
  193. transform: rotate(335deg);
  194. position: absolute;
  195. }
  196. .panel h2 .line:after {
  197. content: '';
  198. height: 1px;
  199. top: .07rem;
  200. right: -0.35rem;
  201. width: .375rem;
  202. height: 1px;
  203. border-bottom: 1px solid rgba(25, 140, 186, 0.5);
  204. display: inline-block;
  205. transform: rotate(25deg);
  206. position: absolute;
  207. }
  208. .panel h2 img {
  209. height: .125rem;
  210. vertical-align: middle
  211. }
  212. .panel h2 span {
  213. margin: 0 0.1875rem;
  214. }
  215. .panel .chart {
  216. height:calc(100% - 0.6rem);
  217. // border:1px solid pink;
  218. }
  219. .tab-line{
  220. height: .6rem;
  221. margin: .25rem 0;
  222. display:inline-block;
  223. a{
  224. font-size: .175rem;
  225. color:#0090F5;
  226. padding: .125rem .45rem;
  227. display:block;
  228. float:left;
  229. border: 1px solid #0096ff;
  230. text-decoration: none;
  231. }
  232. a.active{
  233. background:#0096FF;
  234. color:#fff
  235. }
  236. }
  237. @media screen and (max-width: 1024px) {
  238. html {
  239. font-size: 42px !important;
  240. }
  241. }
  242. @media screen and (min-width: 1920) {
  243. html {
  244. font-size: 80px !important;
  245. }
  246. }
  247. // 电老化分析
  248. .line.panel {
  249. text-align:center;
  250. .chart{
  251. height:50%;
  252. }
  253. }
  254. .hotAnalysis.panel .chart,.data_fluctuation.panel .chart{
  255. height:62%;
  256. margin-top:.5rem
  257. }
  258. /* 搜索区域样式 */
  259. .filterSec {
  260. position: absolute;
  261. bottom: -0.0625rem;
  262. right: 0;
  263. font-size: .175rem
  264. }
  265. .filterSec select,
  266. .filterSec input {
  267. border: 1px solid #64A7D4;
  268. width: 2.1rem;
  269. height:.35rem;
  270. color: #fff;
  271. line-height: .35rem;
  272. background: rgba(0, 0, 0, 0);
  273. margin-right: .4rem;
  274. font-size: .175rem
  275. }
  276. .filterSec span {
  277. display: inline-block;
  278. margin-right: .125rem;
  279. font-size: .175rem
  280. }
  281. a.button {
  282. padding:0 .15rem;
  283. height: .35rem;
  284. line-height: .35rem;
  285. text-align: center;
  286. border: 1px solid #64A7D4;
  287. color: #fff;
  288. display: inline-block;
  289. text-decoration: none;
  290. background: #034854;
  291. cursor: pointer;
  292. font-size: .175rem;
  293. img{
  294. width: .25rem;
  295. margin-top:-2px;
  296. position:relative;
  297. vertical-align: middle;
  298. }
  299. text{
  300. vertical-align: middle;
  301. display:inline-block;
  302. }
  303. }
  304. // 水系统
  305. .mainbox.water .topSection .column:first-child {
  306. flex: 1;
  307. }
  308. .mainbox.water .topSection .column:nth-child(2) {
  309. flex: 2;
  310. margin: 0 .275rem;
  311. overflow: hidden;
  312. }
  313. .mainbox.water .topSection .column:last-child{
  314. flex: 1;
  315. }
  316. .water .divergence .chart{
  317. margin-top:0.5rem;
  318. height: 60%;
  319. }
  320. .water .hiddenCheck .chart{
  321. margin-top:0.5rem;
  322. height:60%
  323. }
  324. .summary{
  325. color:#fff;
  326. font-size: .175rem;
  327. text-align:left;
  328. width:100%;
  329. margin-top:.1rem;
  330. height: .825rem;
  331. // overflow-y:auto;
  332. padding: .15rem;
  333. background-image:url(../images/summary-bg.png) ;
  334. background-size:100% 100%;
  335. background-repeat: no-repeat;
  336. display: flex;
  337. align-items:top;
  338. div:first-child{
  339. width: .85rem;
  340. }
  341. div:last-child{
  342. width: calc(100% - .85rem);
  343. padding-right:.2rem;
  344. height: .57rem;
  345. overflow: auto;
  346. }
  347. p{
  348. line-height: 1.38
  349. }
  350. div{
  351. display:inline-block;
  352. // vertical-align: middle;
  353. }
  354. }
  355. .bar-3d{
  356. .chart{
  357. height:50%;
  358. // background:pink
  359. background:url(../images/3d-bg.png);
  360. background-repeat: no-repeat;
  361. background-position: 50% 80%;
  362. }
  363. ul{
  364. color:#fff;
  365. font-size: .2rem;
  366. display:flex;
  367. margin: .5625rem 0;
  368. li{
  369. flex:1;
  370. text-align:center;
  371. .num{
  372. font-size: .375rem;
  373. margin-bottom: .1rem;
  374. font-family: IMPACT;
  375. }
  376. .num.total{
  377. color:#FF3E3E
  378. }
  379. .num.unsolve{
  380. color:#FA742B
  381. }
  382. .num.solved{
  383. color:#1DD9E5
  384. }
  385. }
  386. }
  387. }
  388. // 导出排版
  389. .exportBox{
  390. position: absolute;
  391. left: 0;
  392. right: 0;
  393. bottom: 1rem;
  394. top:1rem;
  395. font-size:14px;
  396. width: 100%;
  397. height: 90%;
  398. // background:#aaa;
  399. z-index: -1;
  400. table,
  401. table tr th,
  402. table tr td {
  403. border: 1px solid #eee;
  404. margin:0 auto
  405. }
  406. td,th{
  407. padding:3px 0
  408. }
  409. .exportContainer {
  410. z-index: 19000;
  411. width: 650px;
  412. margin: 0 auto;
  413. box-shadow: rgb(136 136 136) 0px 0px 4px;
  414. display: block;
  415. background: #1f2833;
  416. color: #fff;
  417. height: calc(100% - 1rem);
  418. overflow: auto;
  419. // margin-top: 30px;
  420. padding: 15px;
  421. }
  422. h3.title {
  423. text-align: center;
  424. background: #1f2833;
  425. font-size:16px
  426. }
  427. section {
  428. padding-bottom:30px;
  429. .table-sub{
  430. margin-top:10px;
  431. font-size:13px;
  432. }
  433. .innerChart{
  434. width:100%;
  435. height:220px;
  436. // background:#fff;
  437. padding:10px 0;
  438. }
  439. .summary2{
  440. display:flex;
  441. margin:0 10px;
  442. line-height:1.5;
  443. >div:first-child {
  444. width:60px;
  445. }
  446. >div:last-child {
  447. width: calc(100% - 30px );
  448. }
  449. }
  450. .big-tit {
  451. padding: 10px 0;
  452. background: #1f2833;
  453. }
  454. }
  455. .section1 {
  456. background: #1f2833
  457. }
  458. }
  459. //弹框按钮样式调整
  460. .layui-layer-title{
  461. background:#081A32!important;
  462. color:#fff!important;
  463. border-bottom:1px solid #1E9FFF!important
  464. }
  465. .layui-layer{
  466. background:rgba(7,36,66, 1)!important;
  467. color:#fff
  468. }
  469. .layui-layer-ico{
  470. border-radius:50%
  471. // display:none!important
  472. }
  473. .layui-layer-btn .layui-layer-btn0 {
  474. font-size: .3rem;
  475. }