common.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html, body {
  6. width: 100%;
  7. height: 100%;
  8. overflow: hidden;
  9. }
  10. body {
  11. background: #121e39;
  12. }
  13. .nav {
  14. width: 100%;
  15. display: flex;
  16. justify-content: center;
  17. padding-top: 20px;
  18. }
  19. .nav-title {
  20. position: absolute;
  21. text-align: center;
  22. color: white;
  23. font-size: 36px;
  24. }
  25. .nav img {
  26. width: 1920px;
  27. overflow: hidden;
  28. }
  29. .main {
  30. position: absolute;
  31. display: flex;
  32. top: 90px;
  33. bottom: 0;
  34. width: 100%;
  35. }
  36. .main .main-left, .main .main-right, .main-content-bottom .chart-container,.main-content-center .chart-container{
  37. flex: 1;
  38. }
  39. .main .main-content {
  40. display: flex;
  41. flex: 2;
  42. flex-direction: column;
  43. }
  44. .main-content-top-img {
  45. width: 100%;
  46. height: 96%;
  47. }
  48. .main-content-top-img img{
  49. width: 100%;
  50. height: 100%;
  51. object-fit: cover;
  52. }
  53. .main-content-center {
  54. min-height: 265px;
  55. max-height: 400px;
  56. display: flex;
  57. flex: 1;
  58. }
  59. .main-content-bottom {
  60. display: flex;
  61. min-height: 205px;
  62. }
  63. .main-left, .main-right{
  64. width: 468px;
  65. display: flex;
  66. flex-direction: column;
  67. }
  68. .main-left .chart-container,.main-right .chart-container {
  69. flex: 1;
  70. min-height: 249px;
  71. margin: 0 5px 10px;
  72. border: 1px solid #344a6b;
  73. border-top: 0;
  74. border-radius: 4px;
  75. }
  76. /* @media screen and (max-width: 1920px) {
  77. .main-content-top {
  78. height: 390px;
  79. }
  80. }
  81. @media screen and (min-width: 1920px) {
  82. .main-content-top {
  83. height: 510px;
  84. }
  85. } */
  86. .main-content-top, .main-content-bottom .chart-container,.main-content-center .chart-container {
  87. margin: 0 5px 10px;
  88. border: 1px solid #344a6b;
  89. border-radius: 4px;
  90. border-top: 0;
  91. overflow: hidden;
  92. }
  93. .main-left .chart-container.figure, .main-right .chart-container.figure, .main-left .chart-container.histogram,.main-right .chart-container.histogram {
  94. flex: 2;
  95. }
  96. .orders-organization {
  97. text-align: center;
  98. margin-top: 25px;
  99. }
  100. .orders-organization .organization-title {
  101. text-align: center;
  102. padding: 0 30px;
  103. height: 30px;
  104. line-height: 30px;
  105. color: #fff;
  106. font-size: 16px;
  107. display: inline-block;
  108. border: 1px solid #32fffa;
  109. border-radius: 5px;
  110. background: #16456b;
  111. }
  112. .chart-title-img {
  113. background: #0a3849;
  114. height: 35px;
  115. display: flex;
  116. justify-content: space-between;
  117. align-items: center;
  118. }
  119. .icon-title {
  120. color: #ffffff;
  121. flex: 2;
  122. display: inline-block;
  123. line-height: 35px;
  124. padding-left: 5px;
  125. font-size: 20px;
  126. }
  127. .icon-img {
  128. float: right;
  129. padding-right: 15px;
  130. }
  131. .chart-container {
  132. background: rgba(23,49,96,0.7);
  133. }
  134. .leaning-chart-container {
  135. display: flex;
  136. flex-direction: row;
  137. /*justify-content: center;*/
  138. /*align-items: center;*/
  139. }
  140. .chart-container-left {
  141. width: 130px;
  142. padding: 33px 20px;
  143. }
  144. .chart-container-right {
  145. width: 70%;
  146. }
  147. .chart-container-left-name {
  148. position: absolute;
  149. border: 1px solid #32fffa;
  150. border-radius: 5px;
  151. }
  152. .chart-container-left span {
  153. font-size: 14px;
  154. color: white;
  155. display: block;
  156. text-align: center;
  157. width: 130px;
  158. height: 24px;
  159. line-height: 24px;
  160. overflow: hidden;
  161. text-overflow: ellipsis;
  162. white-space: nowrap;
  163. }
  164. .chart-container-left .projects {
  165. width: 130px;
  166. color: #32fffa;
  167. font-size: 18px;
  168. border-bottom: 1px solid #32fffa;
  169. }
  170. .projects-title {
  171. font-size: 18px;
  172. }
  173. .projects-title.active {
  174. background: #16456b;
  175. }
  176. .projects-name {
  177. display: flex;
  178. justify-content: center;
  179. flex-direction:column;
  180. height: 100%;
  181. }
  182. /*表格*/
  183. .table {
  184. color: #ffffff;
  185. width: 100%;
  186. padding: 5px;
  187. }
  188. th,td {
  189. text-align: center;
  190. font-size: 16px;
  191. height: 30px;
  192. }
  193. .table thead tr{
  194. background: rgba(10,56,73,0.58);
  195. }
  196. .table tbody tr:nth-child(odd){
  197. background: rgba(25,177,201,0.2);
  198. }
  199. .table tbody tr:nth-child(even){
  200. background: rgba(10,56,73,0.58);
  201. }
  202. .table-project-name {
  203. max-width: 90px;
  204. overflow: hidden;
  205. text-overflow: ellipsis;
  206. white-space: nowrap;
  207. }
  208. #prevention>div, #prevention>div>canvas {
  209. height: 98% !important;
  210. }
  211. #orders>div {
  212. top: -30px !important;
  213. }
  214. .tree {
  215. height: 100%;
  216. }
  217. .tree ul {
  218. text-align: center;
  219. padding-top: 20px; position: relative;
  220. transition: all 0.5s;
  221. -webkit-transition: all 0.5s;
  222. -moz-transition: all 0.5s;
  223. }
  224. .tree li {
  225. display:inline-block;
  226. text-align: center;
  227. list-style-type: none;
  228. position: relative;
  229. padding: 20px 5px 0 5px;
  230. transition: all 0.5s;
  231. -webkit-transition: all 0.5s;
  232. -moz-transition: all 0.5s;
  233. }
  234. /*We will use ::before and ::after to draw the connectors*/
  235. .tree li::before, .tree li::after{
  236. content: '';
  237. position: absolute; top: 0; right: 50%;
  238. border-top: 1px solid #32fffa;
  239. width: 50%; height: 20px;
  240. }
  241. .tree li::after{
  242. right: auto; left: 50%;
  243. border-left: 1px solid #32fffa;
  244. }
  245. /*We need to remove left-right connectors from elements without
  246. any siblings*/
  247. .tree li:only-child::after, .tree li:only-child::before {
  248. display: none;
  249. }
  250. /*Remove space from the top of single children*/
  251. .tree li:only-child{ padding-top: 0;}
  252. /*Remove left connector from first child and
  253. right connector from last child*/
  254. .tree li:first-child::before, .tree li:last-child::after{
  255. border: 0 none;
  256. }
  257. /*Adding back the vertical connector to the last nodes*/
  258. .tree li:last-child::before{
  259. border-right: 1px solid #32fffa;
  260. border-radius: 0 5px 0 0;
  261. -webkit-border-radius: 0 5px 0 0;
  262. -moz-border-radius: 0 5px 0 0;
  263. }
  264. .tree li:first-child::after{
  265. border-radius: 5px 0 0 0;
  266. -webkit-border-radius: 5px 0 0 0;
  267. -moz-border-radius: 5px 0 0 0;
  268. }
  269. /*Time to add downward connectors from parents*/
  270. .tree ul ul::before{
  271. content: '';
  272. position: absolute; top: 0; left: 50%;
  273. border-left: 1px solid #32fffa;
  274. width: 0; height: 20px;
  275. }
  276. .tree .list-group a {
  277. width: 22px;
  278. height: 110px;
  279. overflow: hidden;
  280. /*text-overflow:ellipsis;*/
  281. /*white-space: nowrap;*/
  282. }
  283. .tree .list-group a, .tree li a {
  284. border: 1px solid #32fffa;
  285. padding: 5px 10px;
  286. text-decoration: none;
  287. color: #fff;
  288. font-family: arial, verdana, tahoma;
  289. font-size: 14px;
  290. display: inline-block;
  291. border-radius: 5px;
  292. -webkit-border-radius: 5px;
  293. -moz-border-radius: 5px;
  294. transition: all 0.5s;
  295. -webkit-transition: all 0.5s;
  296. -moz-transition: all 0.5s;
  297. }
  298. /*Time for some hover effects*/
  299. /*We will apply the hover effect the the lineage of the element also*/
  300. .tree li a:hover, .tree li a:hover ul li a {
  301. background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
  302. }
  303. /*Connector styles on hover*/
  304. .tree li a:hover ul li::after,
  305. .tree li a:hover ul li::before,
  306. .tree li a:hover ul::before,
  307. .tree li a:hover ul ul::before{
  308. border-color: #94a0b4;
  309. }
  310. .shine {
  311. position: absolute;
  312. z-index: 1;
  313. width: 150px;
  314. height: 150px;
  315. animation: opacity-change 1s ease-in-out infinite;
  316. -webkit-animation: opacity-change 1s ease-in-out infinite;
  317. -moz-animation: opacity-change 1s ease-in-out infinite;
  318. -o-animation: opacity-change 1s ease-in-out infinite;
  319. }
  320. .shine2 {
  321. animation: opacity-change 1.75s ease-in-out infinite;
  322. -webkit-animation: opacity-change 1.75s ease-in-out infinite;
  323. -moz-animation: opacity-change 1.75s ease-in-out infinite;
  324. -o-animation: opacity-change 1.75s ease-in-out infinite;
  325. }
  326. @keyframes opacity-change {
  327. 0% {
  328. opacity: 0;
  329. }
  330. 50% {
  331. opacity: 1;
  332. }
  333. 100% {
  334. opacity: 0;
  335. }
  336. }
  337. @-webkit-keyframes opacity-change {
  338. 0% {
  339. opacity: 0;
  340. }
  341. 50% {
  342. opacity: 1;
  343. }
  344. 100% {
  345. opacity: 0;
  346. }
  347. }
  348. @-moz-keyframes opacity-change {
  349. 0% {
  350. opacity: 0;
  351. }
  352. 50% {
  353. opacity: 1;
  354. }
  355. 100% {
  356. opacity: 0;
  357. }
  358. }
  359. @-o-keyframes opacity-change {
  360. 0% {
  361. opacity: 0;
  362. }
  363. 50% {
  364. opacity: 1;
  365. }
  366. 100% {
  367. opacity: 0;
  368. }
  369. }