index.less 8.9 KB

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