index.css 6.2 KB

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