project_v2.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html, body {
  6. width: 100%;
  7. height: 100%;
  8. overflow: hidden;
  9. }
  10. body {
  11. display: flex;
  12. flex-direction: column;
  13. background: #121e39;
  14. font-family: "Microsoft YaHei";
  15. }
  16. .nav {
  17. display: flex;
  18. justify-content: center;
  19. padding-top: 10px;
  20. }
  21. .nav-title {
  22. position: absolute;
  23. text-align: center;
  24. color: white;
  25. font-size: 36px;
  26. font-weight: bold;
  27. }
  28. .nav img {
  29. width: 1920px;
  30. overflow: hidden;
  31. }
  32. .main {
  33. height: 55%;
  34. }
  35. .main-content {
  36. display: flex;
  37. height: 84%;
  38. margin-top: 5px;
  39. }
  40. .main-content-left, .main-content-right {
  41. display: flex;
  42. flex: 1;
  43. flex-direction: column;
  44. }
  45. .main-content-center {
  46. border: solid 1px #0a2c40;
  47. margin: 7px;
  48. padding: 5px;
  49. flex: 2;
  50. background-repeat: no-repeat;
  51. background-size: 100%;
  52. }
  53. .personnel-ratio {
  54. width: 100%;
  55. height: 86%;
  56. }
  57. .personnel-ratio-type {
  58. width: 50%;
  59. height: 50%;
  60. float: left;
  61. }
  62. .personnel-ratio-container {
  63. height: 100%;
  64. }
  65. .main-content-center-img {
  66. width: 100%;
  67. height: 95%;
  68. }
  69. .main-content-center-img img {
  70. width: 100%;
  71. height: 100%;
  72. object-fit: cover;
  73. }
  74. .location-icon {
  75. position: absolute;
  76. top: 20%;
  77. left: 40%;
  78. }
  79. .main-bottom {
  80. height: 45%;
  81. display: flex;
  82. flex-direction: row;
  83. margin-top: -8px;
  84. }
  85. .main-bottom .main-bottom-left {
  86. flex: 1;
  87. display: flex;
  88. flex-direction: column;
  89. }
  90. .main-bottom .main-bottom-right {
  91. flex: 3;
  92. display: flex;
  93. flex-direction: row;
  94. }
  95. .from-data, .visual-data {
  96. width: 50%;
  97. flex: 1;
  98. display: flex;
  99. flex-direction: column;
  100. }
  101. .chart-title-img {
  102. background: #0a3849;
  103. height: 30px;
  104. display: flex;
  105. justify-content: space-between;
  106. align-items: center;
  107. }
  108. .content {
  109. width: 270px;
  110. border-radius: 0 15px 0 0;
  111. background: #082438;
  112. margin-left: 8px;
  113. }
  114. .chart-title-img.content.position-left, .chart-title-img.content.position-right {
  115. position: absolute;
  116. top: 60px;
  117. height: 25px;
  118. }
  119. .chart-title-img.content.position-left {
  120. left: 10px;
  121. }
  122. .chart-title-img.content.position-right {
  123. margin-left: 10px;
  124. }
  125. .icon-title {
  126. color: #ffffff;
  127. flex: 2;
  128. display: inline-block;
  129. font-size: 20px;
  130. line-height: 30px;
  131. padding-left: 9px;
  132. }
  133. .icon-title.first {
  134. padding-left: 60px;
  135. text-align: center;
  136. font-size: 24px;
  137. }
  138. .icon-img {
  139. float: right;
  140. padding-right: 15px;
  141. }
  142. .data-statistics {
  143. flex: 1;
  144. border: 1px solid #0a2c40;
  145. padding: 5px;
  146. margin: 8px;
  147. overflow: hidden;
  148. }
  149. /*表格*/
  150. .table {
  151. color: #ffffff;
  152. width: 100%;
  153. }
  154. th,td {
  155. text-align: center;
  156. font-size: 18px;
  157. height: 31px;
  158. line-height: 32px;
  159. }
  160. .table thead tr{
  161. background: rgba(8,36,56,0.58);
  162. }
  163. .table tbody tr:nth-child(odd){
  164. border-collapse:separate;
  165. border-spacing:0px 10px;
  166. background: rgba(25,177,201,0.2);
  167. }
  168. .table tbody tr:nth-child(even){
  169. background: rgba(8,36,56,0.58);
  170. }
  171. .table-project-name,.icon-title.addr-title {
  172. max-width: 90px;
  173. overflow: hidden;
  174. text-overflow: ellipsis;
  175. white-space: nowrap;
  176. }
  177. .visual-data {
  178. background-image: url("/public/data/img/xg_img.png");
  179. background-repeat: no-repeat;
  180. background-position: center;
  181. background-size: 90% 90%;
  182. }
  183. .chart-title-img.data-display {
  184. margin: 10px 8px -10px;
  185. }
  186. .card-back-color {
  187. background: rgba(23,49,96,0.9);
  188. }
  189. .patrol-report {
  190. position: relative;
  191. background:rgba(10,56,73,0.68);
  192. height: 40px;
  193. z-index: 1;
  194. width: 100%;
  195. overflow: hidden;
  196. bottom: 44px;
  197. }
  198. .patrol-record-report {
  199. width: 10%;
  200. height: 30%;
  201. right: 30px;
  202. bottom: 5px;
  203. position: absolute;
  204. }
  205. .patrol-report-content {
  206. width: 100%;
  207. height: 85%;
  208. text-align: center;
  209. }
  210. .patrol-report-img {
  211. width: 100%;
  212. height: 100%;
  213. object-fit: cover;
  214. }
  215. .patrol-report .patrol-report-title {
  216. display: block;
  217. text-align: center;
  218. height: 40px;
  219. line-height: 40px;
  220. color: #ffffff;
  221. overflow: hidden;
  222. text-overflow: ellipsis;
  223. white-space: nowrap;
  224. }