style.less 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. * {
  2. margin : 0;
  3. padding: 0;
  4. }
  5. html,
  6. body {
  7. width : 100%;
  8. overflow: hidden;
  9. height : 100%;
  10. }
  11. body {
  12. background : url(../images/bg.png) no-repeat;
  13. background-size: 100%;
  14. }
  15. ul,
  16. li {
  17. list-style: none;
  18. }
  19. // 引入字体
  20. @font-face {
  21. font-family: '汉仪铸字超然体';
  22. src : url('../fonts/汉仪铸字超然体.TTF');
  23. }
  24. // 头部模块
  25. .header {
  26. width : 100%;
  27. height: 10%;
  28. // background-color: rgba(255,255,255,.5);
  29. .title {
  30. float : left;
  31. width : 35%;
  32. height : 100%;
  33. text-align : center;
  34. font-size : 1.5rem;
  35. display : table;
  36. font-family : '汉仪铸字超然体';
  37. letter-spacing : 0.2rem;
  38. background-image : -webkit-linear-gradient(bottom, #3aa4ff, #e6e5e5);
  39. -webkit-background-clip: text;
  40. -webkit-text-fill-color: transparent;
  41. span {
  42. display : table-cell;
  43. vertical-align: middle;
  44. }
  45. }
  46. .time {
  47. width : 25%;
  48. float : left;
  49. height : 80%;
  50. text-align : center;
  51. background-image : -webkit-linear-gradient(bottom, #3aa4ff, #e6e5e5);
  52. -webkit-background-clip: text;
  53. -webkit-text-fill-color: transparent;
  54. font-size : 1rem;
  55. display : table;
  56. font-family : '汉仪铸字超然体';
  57. span {
  58. display : table-cell;
  59. vertical-align: middle;
  60. }
  61. }
  62. .company {
  63. width : 15%;
  64. height : 100%;
  65. margin-right : 5%;
  66. background-color : rgba(255, 255, 255, .4);
  67. float : right;
  68. text-align : center;
  69. background-image : -webkit-linear-gradient(bottom, #3aa4ff, #e6e5e5);
  70. -webkit-background-clip: text;
  71. -webkit-text-fill-color: transparent;
  72. font-size : 1.5rem;
  73. display : table;
  74. font-family : '汉仪铸字超然体';
  75. span {
  76. display : table-cell;
  77. vertical-align: middle;
  78. }
  79. }
  80. }
  81. // 主题模块
  82. .main {
  83. width : 100%;
  84. height : 85%;
  85. // background-color: rgba(255,255,255,.3);
  86. margin-top : 5%;
  87. padding : 0 4%;
  88. box-sizing : border-box;
  89. >div {
  90. float: left;
  91. }
  92. .animate {
  93. width : 75%;
  94. height: 100%;
  95. .float {
  96. width : 100%;
  97. height: 40%;
  98. >div {
  99. float: left;
  100. }
  101. .floating1 {
  102. width : 15%;
  103. height : 75%;
  104. background : url(../images/5.png) no-repeat bottom center;
  105. background-size: 90%;
  106. animation : float 8s linear infinite;
  107. #roate1 {
  108. width : 100%;
  109. height : 50%;
  110. background : url(../images/cicle5.png) no-repeat center;
  111. background-size: 80%;
  112. position : relative;
  113. .roate-item {
  114. position : absolute;
  115. left : 0;
  116. top : 0;
  117. width : 5rem;
  118. height : 5rem;
  119. background : url(../images/yuan2-01.png) no-repeat center;
  120. background-size: 100%;
  121. transform : translate(-180%, -70%);
  122. text-align : center;
  123. padding-top : 25%;
  124. box-sizing : border-box;
  125. color : #fff;
  126. }
  127. }
  128. .pm {
  129. text-align: center;
  130. color : #fff;
  131. font-size : 0.8rem;
  132. }
  133. }
  134. .floating2 {
  135. width : 15%;
  136. height : 75%;
  137. margin-top : 10%;
  138. background : url(../images/3.png) no-repeat bottom center;
  139. background-size: 90%;
  140. margin-left : 2%;
  141. animation : float2 6s linear infinite;
  142. #roate2 {
  143. width : 100%;
  144. height : 50%;
  145. background : url(../images/cicle2.png) no-repeat center;
  146. background-size: 80%;
  147. position : relative;
  148. .roate-item2 {
  149. position : absolute;
  150. left : 0;
  151. top : 0;
  152. width : 5rem;
  153. height : 5rem;
  154. background : url(../images/yuan4-01.png) no-repeat center;
  155. background-size: 100%;
  156. transform : translate(-180%, -70%);
  157. text-align : center;
  158. padding-top : 25%;
  159. box-sizing : border-box;
  160. color : #fff;
  161. }
  162. }
  163. .pm2 {
  164. text-align: center;
  165. color : #fff;
  166. font-size : 0.8rem;
  167. }
  168. }
  169. .floating3 {
  170. width : 15%;
  171. height : 75%;
  172. margin-top : 5%;
  173. background : url(../images/4.png) no-repeat bottom center;
  174. background-size: 90%;
  175. margin-left : 2%;
  176. animation : float3 8s linear infinite;
  177. #roate3 {
  178. width : 100%;
  179. height : 50%;
  180. background : url(../images/cicle3.png) no-repeat center;
  181. background-size: 80%;
  182. position : relative;
  183. .roate-item3 {
  184. position : absolute;
  185. left : 0;
  186. top : 0;
  187. width : 5rem;
  188. height : 5rem;
  189. background : url(../images/yuan3-01.png) no-repeat center;
  190. background-size: 100%;
  191. transform : translate(-180%, -70%);
  192. text-align : center;
  193. padding-top : 25%;
  194. box-sizing : border-box;
  195. color : #fff;
  196. }
  197. }
  198. .pm3 {
  199. text-align: center;
  200. color : #fff;
  201. font-size : 0.8rem;
  202. }
  203. }
  204. .floating4 {
  205. width : 15%;
  206. height : 75%;
  207. background : url(../images/4.png) no-repeat bottom center;
  208. background-size: 90%;
  209. margin-left : 2%;
  210. animation : float4 8s linear infinite;
  211. #roate4 {
  212. width : 100%;
  213. height : 50%;
  214. background : url(../images/cicle3.png) no-repeat center;
  215. background-size: 80%;
  216. position : relative;
  217. .roate-item4 {
  218. position : absolute;
  219. left : 0;
  220. top : 0;
  221. width : 5rem;
  222. height : 5rem;
  223. background : url(../images/yuan2-01.png) no-repeat center;
  224. background-size: 100%;
  225. transform : translate(-180%, -70%);
  226. text-align : center;
  227. padding-top : 25%;
  228. box-sizing : border-box;
  229. color : #fff;
  230. }
  231. }
  232. .pm4 {
  233. text-align: center;
  234. color : #fff;
  235. font-size : 0.8rem;
  236. }
  237. }
  238. .floating5 {
  239. width : 20%;
  240. height : 75%;
  241. background : url(../images/5.png) no-repeat bottom center;
  242. background-size: 85%;
  243. margin-left : 5%;
  244. margin-top : 15%;
  245. animation : float5 6s linear infinite;
  246. #roate5 {
  247. width : 90%;
  248. height : 30%;
  249. background : url(../images/cicle1.png) no-repeat center;
  250. background-size: 80%;
  251. position : relative;
  252. .roate-item5 {
  253. position : absolute;
  254. left : 0;
  255. top : 0;
  256. width : 5rem;
  257. height : 5rem;
  258. background : url(../images/yuan1-01.png) no-repeat center;
  259. background-size: 100%;
  260. transform : translate(-180%, -50%);
  261. text-align : center;
  262. padding-top : 20%;
  263. box-sizing : border-box;
  264. color : #fff;
  265. }
  266. }
  267. .pm5 {
  268. text-align: center;
  269. color : #fff;
  270. font-size : 0.8rem;
  271. margin-top: 11%;
  272. }
  273. }
  274. }
  275. .sum {
  276. position : relative;
  277. width : 100%;
  278. height : 50%;
  279. background : url(../images/big.png) no-repeat center;
  280. background-size: 80%;
  281. .data {
  282. width : 100%;
  283. height : 20%;
  284. position : absolute;
  285. left : 0;
  286. top : 0;
  287. text-align: center;
  288. color : #fff;
  289. span {
  290. font-family: '汉仪铸字超然体';
  291. font-size : 1.2rem;
  292. }
  293. }
  294. .cicle1 {
  295. transform-style: preserve-3d;
  296. position : absolute;
  297. top : 50%;
  298. left : 50%;
  299. margin : -12rem 0 0 -15rem;
  300. width : 30rem;
  301. height : 30rem;
  302. background : url(../images/circle.png) no-repeat center;
  303. background-size: contain;
  304. transform : rotateX(70deg);
  305. animation : circle 5s linear infinite;
  306. }
  307. #canvas1 {
  308. position: absolute;
  309. left : 0;
  310. top : 0;
  311. z-index : 1;
  312. }
  313. #canvas2 {
  314. position: absolute;
  315. left : 0;
  316. top : 0;
  317. z-index : 2;
  318. }
  319. .data1,.data2,.data3,.data4 {
  320. color:#fff;
  321. text-align: center;
  322. position: absolute;
  323. width: 8rem;
  324. height: 8rem;
  325. background: url(../images/di.png) no-repeat bottom center;
  326. background-size: contain;
  327. padding-top: 2%;
  328. box-sizing: border-box;
  329. .qiu {
  330. position: relative;
  331. width: 4rem;
  332. height: 4rem;
  333. margin: auto;
  334. display: table;
  335. p {
  336. display:table-cell;
  337. vertical-align: middle;
  338. }
  339. }
  340. .qiu::before {
  341. content:'';
  342. display: block;
  343. width: 4rem;
  344. height: 4rem;
  345. position: absolute;
  346. left: 50%;
  347. top: 50%;
  348. transform:translate(-50%,-50%);
  349. border-radius: 50%;
  350. border:3px solid rgba(255,255,255,.5);
  351. animation:scale 2s linear infinite;
  352. }
  353. span {
  354. font-size: 0.8rem;
  355. }
  356. }
  357. .data1 {
  358. left: 0%;
  359. top: 10%;
  360. .qiu {
  361. background: url(../images/cicle04.png) no-repeat center;
  362. background-size: 100%;
  363. }
  364. }
  365. .data2 {
  366. right: 5%;
  367. top: 8%;
  368. .qiu {
  369. background: url(../images/cicle02.png) no-repeat center;
  370. background-size: 100%;
  371. }
  372. }
  373. .data3 {
  374. left: 0;
  375. bottom:3%;
  376. .qiu {
  377. background: url(../images/cicle03.png) no-repeat center;
  378. background-size: 100%;
  379. }
  380. }
  381. .data4 {
  382. right:6%;
  383. bottom: 3%;
  384. .qiu {
  385. background: url(../images/cicle01.png) no-repeat center;
  386. background-size: 100%;
  387. }
  388. }
  389. }
  390. }
  391. .charts {
  392. width : 25%;
  393. height: 100%;
  394. >div {
  395. width : 100%;
  396. height: 50%;
  397. .charts-title {
  398. width : 100%;
  399. height : 10%;
  400. background : url(../images/title.png) no-repeat;
  401. display : table;
  402. padding-left: 5%;
  403. color : #eee;
  404. font-weight : 500;
  405. span {
  406. display : table-cell;
  407. vertical-align: middle;
  408. }
  409. }
  410. .content {
  411. width : 100%;
  412. height: 80%;
  413. table {
  414. width : 100%;
  415. margin-top: 5%;
  416. height : 80%;
  417. color : #fff;
  418. text-align: center;
  419. thead {
  420. font-size: 0.8rem;
  421. }
  422. tbody {
  423. font-size: 0.6rem;
  424. tr {
  425. height: 10%;
  426. td {
  427. span {
  428. display : inline-block;
  429. width : 0.9rem;
  430. height : 0.9rem;
  431. vertical-align: bottom;
  432. }
  433. }
  434. }
  435. }
  436. }
  437. }
  438. }
  439. }
  440. }
  441. // 上下浮动动画
  442. @keyframes float {
  443. 0% {
  444. transform: translateY(0%)
  445. }
  446. 50% {
  447. transform: translateY(60%)
  448. }
  449. 100% {
  450. transform: translateY(0%)
  451. }
  452. }
  453. @keyframes float2 {
  454. 0% {
  455. transform: translateY(0%)
  456. }
  457. 50% {
  458. transform: translateY(-50%)
  459. }
  460. 100% {
  461. transform: translateY(0%)
  462. }
  463. }
  464. @keyframes float3 {
  465. 0% {
  466. transform: translateY(0%)
  467. }
  468. 50% {
  469. transform: translateY(-50%)
  470. }
  471. 100% {
  472. transform: translateY(0%)
  473. }
  474. }
  475. @keyframes float4 {
  476. 0% {
  477. transform: translateY(0%)
  478. }
  479. 50% {
  480. transform: translateY(60%)
  481. }
  482. 100% {
  483. transform: translateY(0%)
  484. }
  485. }
  486. @keyframes float5 {
  487. 0% {
  488. transform: translateY(0%)
  489. }
  490. 50% {
  491. transform: translateY(-60%)
  492. }
  493. 100% {
  494. transform: translateY(0%)
  495. }
  496. }
  497. // 旋转动画
  498. @keyframes circle {
  499. 0% {
  500. transform: rotateX(70deg) rotateZ(0);
  501. }
  502. 100% {
  503. transform: rotateX(70deg) rotateZ(360deg);
  504. }
  505. }
  506. // 扩散动画
  507. @keyframes scale{
  508. 0%{
  509. transform:translate(-50%,-50%) scale(0.9);
  510. opacity: 1;
  511. }
  512. 100%{
  513. transform:translate(-50%,-50%) scale(1.5);
  514. opacity: 0;
  515. }
  516. }