index.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. li {
  7. list-style: none;
  8. }
  9. @font-face {
  10. font-family: electronicFont;
  11. src: url(../font/DS-DIGIT.TTF);
  12. }
  13. body {
  14. font-family: Arial, Helvetica, sans-serif;
  15. margin: 0;
  16. padding: 0;
  17. /* 背景图定位 / 背景图尺寸 cover 完全铺满容器 contain 完整显示在容器内 */
  18. background: url(../images/bg.jpg) no-repeat #000;
  19. background-size: cover;
  20. /* 行高是字体1.15倍 */
  21. line-height: 1.15;
  22. }
  23. header {
  24. position: relative;
  25. height: 1rem;
  26. background: url(../images/head_bg.png) no-repeat top center;
  27. background-size: 100% 100%;
  28. }
  29. header h1 {
  30. font-size: 0.35rem;
  31. color: #fff;
  32. text-align: center;
  33. line-height: 1rem;
  34. font-weight: normal;
  35. }
  36. header .filterSec {
  37. position: absolute;
  38. top: 0;
  39. right: 0.375rem;
  40. line-height: 0.9375rem;
  41. font-size: 0.25rem;
  42. color: rgba(255, 255, 255, 0.7);
  43. }
  44. .mainbox {
  45. min-width: 1024px;
  46. max-width: 1920px;
  47. padding: 0.125rem 0.125rem 0;
  48. }
  49. .mainbox .topSection,
  50. .mainbox .bottomSection {
  51. display: flex;
  52. }
  53. .mainbox .topSection .column {
  54. flex: 2;
  55. }
  56. .mainbox .topSection .column:nth-child(2) {
  57. flex: 5;
  58. margin: 0 0.125rem;
  59. overflow: hidden;
  60. }
  61. .mainbox .bottomSection .column {
  62. flex: 1;
  63. }
  64. .mainbox .bottomSection .column:nth-child(2) {
  65. flex: 1;
  66. margin: 0 0.125rem;
  67. overflow: hidden;
  68. }
  69. .panel {
  70. position: relative;
  71. height: 5.75rem;
  72. border: 1px solid rgba(25, 140, 186, 0.5);
  73. background: rgba(8, 26, 50, 0.6);
  74. padding: 0 0.5375rem;
  75. margin-bottom: 0.1875rem;
  76. }
  77. .panel::before {
  78. position: absolute;
  79. top: 0;
  80. left: 0;
  81. content: "";
  82. width: 10px;
  83. height: 10px;
  84. border-top: 2px solid #28BEFC;
  85. border-left: 2px solid #28BEFC;
  86. }
  87. .panel::after {
  88. position: absolute;
  89. top: 0;
  90. right: 0;
  91. content: "";
  92. width: 10px;
  93. height: 10px;
  94. border-top: 2px solid #28BEFC;
  95. border-right: 2px solid #28BEFC;
  96. }
  97. .panel .panel-footer {
  98. position: absolute;
  99. left: 0;
  100. bottom: 0;
  101. width: 100%;
  102. }
  103. .panel .panel-footer::before {
  104. position: absolute;
  105. bottom: 0;
  106. left: 0;
  107. content: "";
  108. width: 10px;
  109. height: 10px;
  110. border-bottom: 2px solid #28BEFC;
  111. border-left: 2px solid #28BEFC;
  112. }
  113. .panel .panel-footer::after {
  114. position: absolute;
  115. bottom: 0;
  116. right: 0;
  117. content: "";
  118. width: 10px;
  119. height: 10px;
  120. border-bottom: 2px solid #28BEFC;
  121. border-right: 2px solid #28BEFC;
  122. }
  123. .panel h2 {
  124. height: 0.6rem;
  125. line-height: 0.6rem;
  126. text-align: center;
  127. color: #0096FF;
  128. font-size: 0.25rem;
  129. font-weight: 400;
  130. position: relative;
  131. }
  132. .panel h2 .line {
  133. height: 1px;
  134. background: rgba(25, 140, 186, 0.5);
  135. position: relative;
  136. width: 100%;
  137. margin: 0 auto;
  138. }
  139. .panel h2 .line:before {
  140. content: '';
  141. top: 0.07rem;
  142. left: -0.37rem;
  143. width: 0.375rem;
  144. height: 1px;
  145. border-bottom: 1px solid rgba(25, 140, 186, 0.5);
  146. display: inline-block;
  147. transform: rotate(335deg);
  148. position: absolute;
  149. }
  150. .panel h2 .line:after {
  151. content: '';
  152. top: 0.07rem;
  153. right: -0.35rem;
  154. width: 0.375rem;
  155. height: 1px;
  156. border-bottom: 1px solid rgba(25, 140, 186, 0.5);
  157. display: inline-block;
  158. transform: rotate(25deg);
  159. position: absolute;
  160. }
  161. .panel h2 img {
  162. height: 0.125rem;
  163. vertical-align: middle;
  164. }
  165. .panel h2 span {
  166. margin: 0 0.1875rem;
  167. }
  168. .panel .chart {
  169. height: calc(100% - 0.6rem);
  170. }
  171. @media screen and (max-width: 1024px) {
  172. html {
  173. font-size: 42px !important;
  174. }
  175. }
  176. @media screen and (min-width: 1920) {
  177. html {
  178. font-size: 80px !important;
  179. }
  180. }
  181. .line.panel {
  182. text-align: center;
  183. }
  184. .line.panel .chart {
  185. height: 50%;
  186. }
  187. .line.panel .tab-line {
  188. height: 0.6rem;
  189. margin: 0.25rem 0;
  190. display: inline-block;
  191. }
  192. .line.panel .tab-line a {
  193. font-size: 0.175rem;
  194. color: #0090F5;
  195. padding: 0.125rem 0.45rem;
  196. display: block;
  197. float: left;
  198. border: 1px solid #0096ff;
  199. text-decoration: none;
  200. }
  201. .line.panel .tab-line a.active {
  202. background: #0096FF;
  203. color: #fff;
  204. }
  205. .line.panel .summary {
  206. color: #fff;
  207. font-size: 0.175rem;
  208. text-align: left;
  209. width: 100%;
  210. margin-top: 0.1rem;
  211. padding: 0.2rem 0.2rem 0.3rem 0.2rem;
  212. background-image: url(../images/summary-bg.png);
  213. background-size: 100% 100%;
  214. background-repeat: no-repeat;
  215. }
  216. .hotAnalysis.panel .chart {
  217. height: 62%;
  218. margin-top: 0.5rem;
  219. }