index.less 6.4 KB

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