index.less 5.8 KB

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