index.less 8.1 KB

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