headerComponent_en.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. @charset "UTF-8";
  2. /**
  3. *
  4. * @authors Your Name (you@example.org)
  5. * @date 2017-07-04 19:05:07
  6. * @version $Id$
  7. */
  8. * {
  9. margin: 0;
  10. padding: 0;
  11. }
  12. a {
  13. color: #fff;
  14. text-decoration: none;
  15. }
  16. ul, ol {
  17. list-style-type: none;
  18. }
  19. img {
  20. border: 0 none;
  21. }
  22. .m-loading {
  23. width: 100%;
  24. height: 100vh;
  25. background-color: #202020;
  26. background-image: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/loading_bg.jpg');
  27. background-repeat: no-repeat;
  28. background-position: center center;
  29. background-size: cover;
  30. position: absolute;
  31. top:0;
  32. left: 0;
  33. z-index: 101;
  34. text-align: center;
  35. }
  36. .loading-step {
  37. width: 282px;
  38. height: 220px;
  39. background-image: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/loading_sprite2.png');
  40. background-position: 0 center;
  41. background-size: auto 100%;
  42. position: absolute;
  43. top: 50%;
  44. left: 50%;
  45. margin: -110px 0 0 -141px;
  46. -webkit-animation: sprite 2s steps(25) infinite;
  47. animation: sprite 2s steps(25) infinite;
  48. }
  49. .loading-text {
  50. opacity: 0.8;
  51. position: absolute;
  52. top: 50%;
  53. left: 50%;
  54. -webkit-transform: translate(-50%, 110px);
  55. transform: translate(-50%, 110px);
  56. color: #eaedd7;
  57. font-size: 0.16rem;
  58. }
  59. .img-preload {
  60. position: absolute;
  61. top: -9999px;
  62. left: -9999px;
  63. }
  64. .img-preload img {
  65. width: 1px;
  66. height: 1px;
  67. }
  68. @-webkit-keyframes sprite {
  69. 0% {
  70. background-position: 0 center;
  71. }
  72. 100% {
  73. background-position: -7050px center;
  74. }
  75. }
  76. @keyframes sprite {
  77. 0% {
  78. background-position: 0 center;
  79. }
  80. 100% {
  81. background-position: -7050px center;
  82. }
  83. }
  84. .effect-layer {
  85. z-index: 9;
  86. width: 100%;
  87. height: 100vh;
  88. position: fixed;
  89. background-image: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/noise.png');
  90. -webkit-transform: translate3d(0,0,0);
  91. transform: translate3d(0,0,0);
  92. pointer-events: none;
  93. -webkit-animation: noise 1s steps(10) infinite;
  94. animation: noise 1s steps(10) infinite;
  95. }
  96. @-webkit-keyframes noise {
  97. 0%,100%{background-position:0 0}
  98. 10%{background-position:-5% -10%}
  99. 20%{background-position:-15% 5%}
  100. 30%{background-position:7% -25%}
  101. 40%{background-position:20% 25%}
  102. 50%{background-position:-25% 10%}
  103. 60%{background-position:15% 5%}
  104. 70%{background-position:0% 15%}
  105. 80%{background-position:25% 35%}
  106. 90%{background-position:-10% 10%}
  107. }
  108. @keyframes noise {
  109. 0%,100%{background-position:0 0}
  110. 10%{background-position:-5% -10%}
  111. 20%{background-position:-15% 5%}
  112. 30%{background-position:7% -25%}
  113. 40%{background-position:20% 25%}
  114. 50%{background-position:-25% 10%}
  115. 60%{background-position:15% 5%}
  116. 70%{background-position:0% 15%}
  117. 80%{background-position:25% 35%}
  118. 90%{background-position:-10% 10%}
  119. }
  120. .m-header {
  121. /*position: fixed;*/
  122. /*min-width: 960px;*/
  123. font-family: "PingFang SC", "Arial", "STXihei", "Microsoft YaHei";
  124. font-weight: 300;
  125. }
  126. .header-logo {
  127. z-index: 1;
  128. width: 160px;
  129. height: 160px;
  130. position: fixed;
  131. left: 1.4rem;
  132. top: 0;
  133. background: url('https://airsmart-web.oss-cn-shanghai.aliyuncs.com/maoking/maoking_guangwang/logo.png') no-repeat;
  134. background-size: cover;
  135. /* border-bottom-left-radius: 5px; */
  136. /* border-bottom-right-radius: 5px; */
  137. }
  138. /*.nav-wrap {
  139. z-index: 1;
  140. position: fixed;
  141. // width: 480px;
  142. // temp
  143. width: 3600px;
  144. left: calc(100% - 300px);
  145. left: -moz-calc(100% - 300px);
  146. height: 50px;
  147. line-height: 50px;
  148. color: #fff;
  149. text-align: center;
  150. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/nav_bg.png');
  151. background-size: cover;
  152. }
  153. .nav-version {
  154. float: right;
  155. width: 300px;
  156. height: 50px;
  157. font-size: 0;
  158. // temp
  159. right: 50px;
  160. border-bottom-left-radius: 50px;
  161. }*/
  162. .nav-wrap {
  163. z-index: 1;
  164. position: fixed;
  165. width: 410px;
  166. left: calc(100% - 410px);
  167. left: -moz-calc(100% - 410px);
  168. height: 50px;
  169. line-height: 50px;
  170. color: #fff;
  171. text-align: center;
  172. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/nav_bg.png');
  173. background-size: cover;
  174. }
  175. .nav-version {
  176. float: right;
  177. width: 400px;
  178. height: 50px;
  179. font-size: 0;
  180. right: 100px;
  181. border-bottom-left-radius: 50px;
  182. }
  183. .nav-version-item {
  184. opacity: 0.6;
  185. width: auto;
  186. display: inline-block;
  187. font-size: 14px;
  188. padding: 0 15px;
  189. }
  190. .nav-version-item:hover {
  191. opacity: 1;
  192. }
  193. .nav-lang {
  194. /* display: none; */
  195. position: relative;
  196. float: right;
  197. width: 60px;
  198. height: 50px;
  199. overflow: hidden;
  200. font-size: 14px;
  201. background-color: rgba(17,17,17,0.7);
  202. -webkit-transition: height 0.3s;
  203. transition: height 0.3s;
  204. }
  205. .nav-lang::before {
  206. display: inline-block;
  207. content: '';
  208. border: 5px solid #8D8C8A;
  209. border-color: #8D8C8A transparent transparent transparent;
  210. position: absolute;
  211. left: 50%;
  212. top: 85%;
  213. margin-top: -5px;
  214. margin-left: -5px;
  215. }
  216. .nav-lang:hover {
  217. height: 144px;
  218. }
  219. .nav-lang:hover::before {
  220. opacity: 0;
  221. }
  222. .nav-lang:hover > .nav-lang-hidden {
  223. z-index: 1;
  224. opacity: 1;
  225. background-color: rgba(17,17,17,0.7);
  226. }
  227. .nav-lang-show {
  228. z-index: 1;
  229. opacity: 1;
  230. background-color: rgba(17,17,17,0.7);
  231. }
  232. .nav-lang-current {
  233. }
  234. .nav-lang-hidden {
  235. position: relative;
  236. opacity: 0;
  237. -webkit-transition: opacity 0.5s;
  238. transition: opacity 0.5s;
  239. }
  240. .nav-lang-item {
  241. cursor: pointer;
  242. opacity: 0.5;
  243. }
  244. .nav-lang-item:hover {
  245. opacity: 1;
  246. }
  247. .nav-shop {
  248. /* // display: none; */
  249. float: right;
  250. width: 50px;
  251. height: 50px;
  252. line-height: 50px;
  253. text-align: center;
  254. background-color: #b32121;
  255. font-size: 14px;
  256. cursor: pointer;
  257. }
  258. /* // .nav-shop img {
  259. // position: relative;
  260. // top: 2px;
  261. // } */
  262. .nav-shop:hover {
  263. background-color: #d34141;
  264. }
  265. .subnav-wrap {
  266. z-index: 1;
  267. position: fixed;
  268. /* // left: 140px; */
  269. left: 1.4rem;
  270. top: 70px;
  271. width: 160px;
  272. line-height: 60px;
  273. }
  274. .subnav-logo {
  275. width: 160px;
  276. height: 90px;
  277. position: relative;
  278. /* background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/subnav_logo.jpg') no-repeat center center; */
  279. /* background-size: cover; */
  280. border-top-left-radius: 5px;
  281. border-top-right-radius: 5px;
  282. }
  283. .subnav-thumb {
  284. -webkit-box-sizing: border-box;
  285. -moz-box-sizing: border-box;
  286. box-sizing: border-box;
  287. width: 100%;
  288. height: 60px;
  289. background-color: #1a1a1a;
  290. position: absolute;
  291. z-index: 0;
  292. top: 100%;
  293. left: 0;
  294. color: #8D8C8A;
  295. font-size: 12px;
  296. text-align: right;
  297. line-height: 60px;
  298. padding: 0 0.45rem;
  299. }
  300. .subnav-thumb::before {
  301. display: inline-block;
  302. content: '';
  303. width: 20px;
  304. height: 20px;
  305. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/subnav_thumb.png') no-repeat center center;
  306. background-size: contain;
  307. position: absolute;
  308. top: 50%;
  309. left: 0.45rem;
  310. margin-top: -10px;
  311. }
  312. .subnav-main-wrap {
  313. position: relative;
  314. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/subnav_bg.jpg') no-repeat;
  315. background-size: cover;
  316. background-position: top left;
  317. /* border-bottom-left-radius: 9px; */
  318. /* border-bottom-right-radius: 9px; */
  319. }
  320. .subnav-main-item, .subnav-sub-item, .subnav-thr-item {
  321. position: relative;
  322. /* // font-size: 14px; */
  323. color: #8D8C8A;
  324. padding: 0 0.45rem;
  325. cursor: pointer;
  326. white-space: nowrap;
  327. }
  328. .subnav-main-item {
  329. font-size: 12px;
  330. }
  331. .subnav-sub-item {
  332. text-align: center;
  333. padding: 0;
  334. }
  335. .subnav-main-item:hover, .subnav-sub-item:hover, .subnav-thr-item:hover {
  336. color: #fff;
  337. }
  338. .subnav-main-item:hover::before, .subnav-sub-item:hover::before, .subnav-thr-item:hover::before {
  339. display: inline-block;
  340. content: '';
  341. border: 5px solid #fff;
  342. border-color: transparent transparent transparent #fff;
  343. position: absolute;
  344. left: 0.3rem;
  345. top: 50%;
  346. margin-top: -5px;
  347. }
  348. .subnav-sub-wrap {
  349. font-size: 0;
  350. width: 0;
  351. position: absolute;
  352. overflow: hidden;
  353. top: 0;
  354. left: 160px;
  355. /* // background: url('../../static/subnav_bg.jpg'); */
  356. background-color: rgba(19,19,19,0.85);
  357. -webkit-transition: width 0.5s, font-size 0.01s 0.25s;
  358. transition: width 0.5s, font-size 0.01s 0.25s;
  359. }
  360. .submenu:hover > .subnav-sub-wrap {
  361. font-size:12px;
  362. width: 200px;
  363. overflow-x: hidden;
  364. overflow-y: auto;
  365. max-height: 500px;
  366. }
  367. .submenu:hover > .subnav-sub-wrap > ::-webkit-scrollbar{
  368. width: 10px;
  369. }
  370. .submenu:hover > .subnav-sub-wrap > ::-webkit-scrollbar-thumb{
  371. background: #000;
  372. border-radius: 50px;
  373. border: 1px solid #FFF;
  374. }
  375. .submenu:hover > .subnav-sub-wrap > ::-webkit-scrollbar-track-piece{
  376. background: #FFF;
  377. }
  378. .subnav-thr-wrap {
  379. width: 0;
  380. position: absolute;
  381. overflow: hidden;
  382. top: 0;
  383. left: 160px;
  384. background-color: rgba(19,19,19,0.85);
  385. -webkit-transition: width 0.5s;
  386. transition: width 0.5s;
  387. }
  388. .subnav-sub-item:hover > .subnav-thr-wrap {
  389. width: 160px;
  390. }
  391. @media (max-width: 1600px) {
  392. .header-logo {
  393. width: 140px;
  394. height: 140px;
  395. /* //left: 120px; */
  396. }
  397. .nav-wrap {
  398. height: 42px;
  399. line-height: 42px;
  400. font-size: 12px;
  401. }
  402. .nav-lang {
  403. height: 42px;
  404. }
  405. .nav-lang:hover {
  406. height: 126px;
  407. }
  408. .nav-shop {
  409. height: 42px;
  410. line-height: 42px;
  411. }
  412. .subnav-wrap {
  413. width: 140px;
  414. /* //left: 120px; */
  415. top: 60px;
  416. line-height: 60px;
  417. }
  418. .subnav-logo {
  419. width: 140px;
  420. height: 78.75px;
  421. }
  422. .subnav-sub-wrap, .subnav-thr-wrap {
  423. left: 140px;
  424. }
  425. .submenu:hover > .subnav-sub-wrap, .subnav-sub-item:hover > .subnav-thr-wrap {
  426. width: 180px;
  427. }
  428. .video-tv > img{
  429. width: 85%;
  430. }
  431. }
  432. @media (max-width: 1280px) {
  433. .header-logo {
  434. width: 120px;
  435. height: 120px;
  436. /* //left: 100px; */
  437. }
  438. .nav-wrap {
  439. height: 36px;
  440. line-height: 36px;
  441. font-size: 12px;
  442. }
  443. .nav-lang {
  444. height: 36px;
  445. }
  446. .nav-lang:hover {
  447. height: 108px;
  448. }
  449. .nav-shop {
  450. height: 36px;
  451. line-height: 36px;
  452. }
  453. .subnav-wrap {
  454. width: 120px;
  455. /* //left: 100px; */
  456. top: 50px;
  457. line-height: 50px;
  458. }
  459. .subnav-main-item, .subnav-sub-item, .subnav-thr-item {
  460. font-size: 12px;
  461. }
  462. .subnav-logo {
  463. width: 120px;
  464. height: 67.5px;
  465. }
  466. .subnav-sub-wrap, .subnav-thr-wrap {
  467. left: 120px;
  468. }
  469. .submenu:hover > .subnav-sub-wrap, .subnav-sub-item:hover > .subnav-thr-wrap {
  470. width: 160px;
  471. }
  472. .video-tv > img{
  473. width: 70%;
  474. }
  475. }
  476. .subnav-sub-back {
  477. display: none;
  478. }
  479. @media (min-width: 959px) {
  480. html {
  481. font-size: 385%;
  482. }
  483. }
  484. @media (min-width: 1279px) {
  485. html {
  486. font-size: 465%;
  487. }
  488. }
  489. @media (min-width: 1599px) {
  490. html {
  491. font-size: 545%;
  492. }
  493. }
  494. @media (min-width: 1919px) {
  495. html {
  496. font-size: 625%;
  497. }
  498. }
  499. @media (max-device-width: 1081px) {
  500. html {
  501. font-size: 585%;
  502. }
  503. .nav-wrap {
  504. z-index: 1;
  505. position: fixed;
  506. width: 100%;
  507. height: 1rem;
  508. left: 0;
  509. line-height: 1rem;
  510. color: #fff;
  511. text-align: center;
  512. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/nav_bg.png') right center;
  513. background-size: 120% 100%;
  514. z-index: 2;
  515. }
  516. .nav-version {
  517. display: table;
  518. float: right;
  519. width: calc(100% - 1rem);
  520. height: 1rem;
  521. font-size: 0;
  522. border-radius: 0;
  523. }
  524. .nav-version a {
  525. display: table-cell;
  526. vertical-align: middle;
  527. }
  528. .nav-version-item {
  529. display: table-cell;
  530. vertical-align: middle;
  531. width: 33.33%;
  532. height: 1rem;
  533. line-height: 0.3rem;
  534. opacity: 0.6;
  535. /* // width: auto; */
  536. /* // display: inline-block; */
  537. font-size: 12px;
  538. text-align: center;
  539. padding: 0 5px;
  540. /* // padding: 0 0.2rem 0 0; */
  541. }
  542. .nav-lang {
  543. /* // display: none; */
  544. width: 0.8rem;
  545. height: 1rem;
  546. font-size: 12px;
  547. }
  548. .nav-lang:hover {
  549. height: 1rem;
  550. }
  551. .nav-lang:hover::before {
  552. opacity: 1;
  553. }
  554. .nav-lang:hover > .nav-lang-hidden {
  555. /* // z-index: 0; */
  556. /* // opacity: 0; */
  557. /* // background-color: rgba(17,17,17,0.7); */
  558. background-color: rgb(17,17,17);
  559. }
  560. .nav-lang-item:hover {
  561. opacity: 0.5;
  562. }
  563. .nav-shop {
  564. font-size: 12px;
  565. width: 0.8rem;
  566. height: 1rem;
  567. line-height: 1rem;
  568. }
  569. .nav-menu {
  570. float: left;
  571. display: inline-block;
  572. width: 1rem;
  573. height: 1rem;
  574. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/subnav_thumb.png') no-repeat center center;
  575. }
  576. .header-logo {
  577. width: 1rem;
  578. height: 1rem;
  579. left: 0;
  580. top: 1rem;
  581. }
  582. .subnav-wrap {
  583. width: 100%;
  584. top: 2.1rem;
  585. left: 0;
  586. }
  587. .subnav-logo {
  588. width: 1rem;
  589. height: 0.5rem;
  590. }
  591. .subnav-main-wrap {
  592. display: none;
  593. position: fixed;
  594. width: 100%;
  595. top: 1rem;
  596. background-color: rgba(0,0,0,0.8);
  597. background-image: none;
  598. border-radius: 0;
  599. z-index: 1;
  600. }
  601. .subnav-main-item, .subnav-sub-item {
  602. width: 100%;
  603. text-align: center;
  604. padding: 0;
  605. margin: 0;
  606. height: 1rem;
  607. line-height: 1rem;
  608. border-bottom: 1px solid #333;
  609. font-size: 12px;
  610. /* // background-color: rgba(0,0,0,0.8); */
  611. }
  612. .subnav-main-item:hover, .subnav-sub-item:hover {
  613. color: #8D8C8A;
  614. }
  615. .subnav-main-item:after, .subnav-sub-item:after {
  616. content: '';
  617. display: inline-block;
  618. width: 10px;
  619. height: 10px;
  620. border: 1px solid #fff;
  621. border-color: #fff #fff transparent transparent;
  622. -webkit-transform: rotate(45deg);
  623. transform: rotate(45deg);
  624. position: absolute;
  625. right: 25px;
  626. top: 50%;
  627. margin-top: -6px;
  628. }
  629. .subnav-main-item:hover::before, .subnav-sub-item:hover::before {
  630. display: none;
  631. }
  632. .subnav-thumb {
  633. display: none;
  634. }
  635. .subnav-sub-wrap {
  636. display: none;
  637. width: 100%;
  638. position: fixed;
  639. top: 1rem;
  640. left: 100%;
  641. padding: 0;
  642. margin: 0;
  643. }
  644. .submenu:hover > .subnav-sub-wrap {
  645. width: 100%;
  646. }
  647. .subnav-sub-back {
  648. color: #8D8C8A;
  649. display: block;
  650. width: 100%;
  651. text-align: center;
  652. padding: 0;
  653. height: 1rem;
  654. line-height: 1rem;
  655. border-bottom: 1px solid #333;
  656. font-size: 12px;
  657. /* //background-color: rgba(0,0,0,0.8); */
  658. }
  659. .nav-version-current {
  660. background-color: rgba(222,222,222,0.3);
  661. opacity: 1;
  662. }
  663. .version-maofm {
  664. /*display: none;*/
  665. }
  666. }
  667. @media (max-device-width: 720px) {
  668. html {
  669. font-size: 465%;
  670. }
  671. }
  672. @media (max-device-width: 660px) {
  673. html {
  674. font-size: 445%;
  675. }
  676. }
  677. @media (max-device-width: 600px) {
  678. html {
  679. font-size: 425%;
  680. }
  681. }
  682. @media (max-device-width: 540px) {
  683. html {
  684. font-size: 405%;
  685. }
  686. }
  687. @media (max-device-width: 480px) {
  688. html {
  689. font-size: 385%;
  690. }
  691. }
  692. @media (max-device-width: 420px) {
  693. html {
  694. font-size: 365%;
  695. }
  696. }
  697. @media (max-device-width: 360px) {
  698. html {
  699. font-size: 345%;
  700. }
  701. }
  702. @media (max-device-width: 240px) {
  703. html {
  704. font-size: 305%;
  705. }
  706. }