f45_vline.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. @font-face {
  2. font-family: 'UnidreamLED';
  3. src: url('./fonts/UnidreamLED.ttf') format('truetype');
  4. }
  5. @font-face {
  6. font-family: 'GenderIcon';
  7. src: url('./fonts/GenderIcon.ttf') format('truetype');
  8. }
  9. .genderIcon {
  10. font-family: 'GenderIcon' !important;
  11. font-size: 30px;
  12. font-style: normal;
  13. -webkit-font-smoothing: antialiased;
  14. -moz-osx-font-smoothing: grayscale;
  15. }
  16. .genderIcon-nan:before {
  17. content: '\e6a6';
  18. }
  19. .genderIcon-nv:before {
  20. content: '\e6a7';
  21. }
  22. .genderIcon-nan1:before {
  23. content: '\e6c2';
  24. }
  25. .genderIcon-nv1:before {
  26. content: '\e6c3';
  27. }
  28. .populationView {
  29. position: absolute;
  30. width: 360px;
  31. height: calc(100% - 80px);
  32. top: 10px;
  33. left: 10px;
  34. }
  35. .realPopulation,
  36. .populationStructure,
  37. .aging {
  38. width: 100%;
  39. border: 1px solid rgb(11, 59, 75);
  40. margin-bottom: 1.066667rem;
  41. background: linear-gradient(to left, #3897cf, #3897cf) left top no-repeat, linear-gradient(to bottom, #3897cf, #3897cf) left top no-repeat,
  42. linear-gradient(to left, #3897cf, #3897cf) right top no-repeat, linear-gradient(to bottom, #3897cf, #3897cf) right top no-repeat,
  43. linear-gradient(to left, #3897cf, #3897cf) left bottom no-repeat, linear-gradient(to bottom, #3897cf, #3897cf) left bottom no-repeat,
  44. linear-gradient(to left, #3897cf, #3897cf) right bottom no-repeat, linear-gradient(to left, #3897cf, #3897cf) right bottom no-repeat;
  45. background-size: 1px 20px, 20px 1px, 1px 20px, 20px 1px;
  46. background-color: rgba(0, 0, 0, 0.3);
  47. }
  48. .realPopulation{
  49. height: 20%;
  50. }
  51. .populationStructure{
  52. height: 40%;
  53. }
  54. .aging{
  55. height: 40%;
  56. }
  57. .populationView_text {
  58. margin-top: 20px;
  59. padding-left: 6px;
  60. width: 100%;
  61. height: 20px;
  62. }
  63. .firstBox {
  64. margin-left: 10px;
  65. }
  66. .text_icon {
  67. font-weight: bold;
  68. color: rgb(6, 84, 123);
  69. }
  70. /* 实有人口数据显示样式 */
  71. .comment {
  72. position: absolute;
  73. top: 40px;
  74. left: 10px;
  75. width: 33%;
  76. height: 80px;
  77. }
  78. .populationNumber {
  79. left: 10px;
  80. }
  81. .birthRate {
  82. left: 133px;
  83. }
  84. .deathRate {
  85. left: 266px;
  86. }
  87. .columnar {
  88. float: left;
  89. display: block;
  90. margin-top: 16px;
  91. width: 8px;
  92. height: 50px;
  93. background-color: #0e6de9;
  94. }
  95. .birthRate .columnar {
  96. background-color: #00af6d;
  97. }
  98. .deathRate .columnar {
  99. background-color: #b150d9;
  100. }
  101. .number {
  102. display: block;
  103. margin-left: 20px;
  104. margin-top: 10px;
  105. font-size: 26px;
  106. color: #1ae9f1;
  107. font-family: 'UnidreamLED', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  108. }
  109. .text-num {
  110. display: block;
  111. position: absolute;
  112. left: 20px;
  113. bottom: 0;
  114. }
  115. /* 人口结构样式 */
  116. .male {
  117. position: absolute;
  118. top: 43%;
  119. left: 21%;
  120. width: 8%;
  121. height: 8%;
  122. text-align: center;
  123. border-radius: 20px;
  124. font-size: 10px;
  125. }
  126. .female {
  127. position: absolute;
  128. top: 43%;
  129. left: 71%;
  130. width: 8%;
  131. height: 8%;
  132. text-align: center;
  133. border-radius: 20px;
  134. font-size: 10px;
  135. }
  136. .genderIcon-nan1 {
  137. color: #00f6ff;
  138. }
  139. .genderIcon-nv1 {
  140. color: #ff6ac4;
  141. }
  142. /* 老龄化分析样式 */
  143. .man_icon {
  144. position: relative;
  145. top: 10%;
  146. left: 25%;
  147. width: 8%;
  148. height: 8%;
  149. color: rgb(43, 167, 244);
  150. }
  151. .woman_icon {
  152. position: relative;
  153. top: 10%;
  154. left: 37%;
  155. width: 8%;
  156. height: 8%;
  157. color: rgb(201, 25, 199);
  158. }
  159. .man_display {
  160. position: absolute;
  161. bottom: 24%;
  162. left: 70%;
  163. width: 100px;
  164. height: 36px;
  165. line-height: 36px;
  166. font-size: 17px;
  167. text-align: center;
  168. border: 1px solid rgb(43, 167, 244);
  169. color: rgb(43, 167, 244);
  170. background-color: rgba(21, 180, 192, 0.3);
  171. border-radius: 4px;
  172. }
  173. .woman_display {
  174. position: absolute;
  175. bottom: 18%;
  176. left: 70%;
  177. width: 100px;
  178. height: 36px;
  179. line-height: 36px;
  180. border: 1px solid rgb(201, 25, 199);
  181. text-align: center;
  182. font-size: 17px;
  183. color: rgb(201, 25, 199);
  184. background-color: rgba(201, 25, 199, 0.3);
  185. border-radius: 4px;
  186. }
  187. /* echarts 图表容器 */
  188. .population {
  189. margin-top: 56px;
  190. width: 100%;
  191. height: 40%;
  192. }
  193. .structure {
  194. width: 100%;
  195. height: 70%;
  196. }
  197. .agingAnalysis {
  198. width: 58%;
  199. height: 60%;
  200. }