index.css 5.6 KB

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