index.css 4.6 KB

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