simulator.scss 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  1. @charset "UTF-8";
  2. @import "base/base";
  3. @import "base/mixins";
  4. /* S ZhuanTi Common */
  5. $main_width: 1000px;
  6. $yahei: "Microsoft YaHei", SimHei, sans-serif;
  7. html {
  8. font-size: 12px;
  9. }
  10. body {
  11. font-family: $yahei;
  12. a {
  13. text-decoration: none;
  14. color:#666;
  15. &:hover {
  16. text-decoration: none;
  17. }
  18. }
  19. p, a, span, em, i, h1, h2, h3, h4, h5, h6 {
  20. text-rendering: optimizeLegibility;
  21. -webkit-font-smoothing: antialiased;
  22. }
  23. .clearfix{clear: both}
  24. }
  25. .o-wrap{
  26. width: 600px;
  27. height: 490px;
  28. padding: 6px 14px 0;
  29. overflow: hidden;
  30. position: relative;
  31. }
  32. .g-col-395{
  33. width: 395px;
  34. float: left;
  35. }
  36. .g-col-187{
  37. width: 187px;
  38. float: right;
  39. }
  40. .glist-game{
  41. @include clearfix();
  42. margin-right: -13px;
  43. position: relative;
  44. overflow: hidden;
  45. &.gList-row3{
  46. height: 331px;
  47. }
  48. .gItem-game{
  49. float: left;
  50. line-height: 20px;
  51. width: 88px;
  52. height: 99px;
  53. padding-top: 6px;
  54. text-align: center;
  55. margin: 0 13px 8px 0;
  56. &.active,&:hover{
  57. background: #f4f4f4;
  58. }
  59. }
  60. .gItem-cover{
  61. display: block;
  62. width: 64px;
  63. height: 64px;
  64. border-radius: 10px;
  65. border: 1px solid #dbdadb;
  66. overflow: hidden;
  67. margin: 0 auto;
  68. img{
  69. width: 100%;
  70. height: 100%;
  71. display: block;
  72. overflow: hidden;
  73. }
  74. }
  75. .gItem-btn{
  76. color: #ffffff;
  77. font-size: 12px;
  78. background: #3581c2;
  79. width: 44px;
  80. margin: 5px auto 0 auto;
  81. cursor: pointer;
  82. }
  83. .gItem-title{
  84. display: block;
  85. color: #999999;
  86. font-size: 12px;
  87. height: 20px;
  88. margin-top: 5px;
  89. padding: 0 4px;
  90. @include ellipsis();
  91. }
  92. }
  93. .gList-rank{
  94. .item-rank{
  95. line-height: 18px;
  96. margin-top: 13px;
  97. &.active{
  98. .item-index{
  99. em{
  100. color: #ffffff;
  101. border: 1px solid #4b9add;
  102. background: #4b9add;
  103. }
  104. }
  105. .item-cover{
  106. display: block;
  107. }
  108. .item-title{
  109. float: none;
  110. width: auto;;
  111. margin-bottom: 8px;
  112. }
  113. .item-dl{
  114. float: none;
  115. span{
  116. display: inline;
  117. }
  118. }
  119. }
  120. }
  121. a{
  122. display: block;
  123. @include clearfix();
  124. }
  125. .item-index{
  126. float: left;
  127. em{
  128. display: block;
  129. width: 16px;
  130. height: 16px;
  131. text-align: center;
  132. line-height: 16px;
  133. border: 1px solid #eeeeee;
  134. background: #FFF;
  135. color: #999999;
  136. }
  137. }
  138. .item-cont{
  139. float: right;
  140. width: 162px;
  141. @include clearfix();
  142. }
  143. .item-cover{
  144. width: 44px;
  145. height: 44px;
  146. overflow: hidden;
  147. border-radius: 5px;
  148. display: none;
  149. float: left;
  150. margin-right: 6px;
  151. img{
  152. width: 100%;
  153. height: 100%;
  154. overflow: hidden;
  155. display: block;
  156. }
  157. }
  158. .item-info{
  159. @include clearfix();
  160. }
  161. .item-title{
  162. font-size: 12px;
  163. color: #666666;
  164. float: left;
  165. @include ellipsis();
  166. width: 100px;
  167. height: 18px;
  168. }
  169. .item-dl{
  170. font-size: 12px;
  171. color: #999999;
  172. float: right;
  173. span{
  174. display: none;
  175. margin-left: 5px;
  176. }
  177. }
  178. }
  179. .g-header{
  180. h1{
  181. font-size: 14px;
  182. line-height: 22px;
  183. color: #666666;
  184. padding-left: 29px;
  185. background: url(../img/simulator/logo.png) no-repeat;
  186. }
  187. ul{
  188. @include clearfix();
  189. line-height: 30px;
  190. height: 30px;
  191. background: #ecf3f9;
  192. margin-top: 7px;
  193. font-size: 12px;
  194. font-weight: 700;
  195. color: #666666;
  196. li{
  197. float: left;
  198. width: 50%;
  199. text-align: center;
  200. &.active{
  201. background: #ddebf7;
  202. }
  203. }
  204. a{
  205. display: block;
  206. height: 100%;
  207. font-weight: 700;
  208. }
  209. }
  210. }
  211. .g-form{
  212. padding: 10px 0;
  213. position: relative;
  214. z-index: 10;
  215. .g-col-395{
  216. position: relative;
  217. height: 30px;
  218. .btn-back{
  219. float: left;
  220. display: block;
  221. color: #3f8ccb;
  222. background: #ecf3f9;
  223. border: 1px solid #cbdbe8;
  224. height: 28px;
  225. line-height: 28px;
  226. width: 42px;
  227. text-align: center;
  228. border-radius: 2px;
  229. cursor: pointer;
  230. &:hover{
  231. @include opacity(0.8);
  232. }
  233. }
  234. .select-wrap{
  235. position: absolute;
  236. top: 0;
  237. right: 0;
  238. color: #666666;
  239. font-size: 12px;
  240. border: 1px solid #dbdbdb;
  241. height: 28px;
  242. line-height: 28px;
  243. border-radius: 2px;
  244. padding: 0 7px 0 6px;
  245. cursor: pointer;
  246. background: #FFF;
  247. overflow: hidden;
  248. &.is-open{
  249. height: auto;
  250. }
  251. dt{
  252. position: relative;
  253. padding: 0 22px 0 4px;
  254. height: 28px;
  255. i{
  256. position: absolute;
  257. top: 12px;
  258. right: 7px;
  259. width: 9px;
  260. height: 5px;
  261. background: url(../img/simulator/icon-select2.png?__sprite) 0 0 no-repeat;
  262. }
  263. }
  264. dd{
  265. padding: 0 22px 0 4px;
  266. border-radius: 2px;
  267. &:hover{
  268. background: #f4f4f4;
  269. }
  270. }
  271. }
  272. }
  273. .search-wrap{
  274. border: 1px solid #dbdbdb;
  275. height: 28px;
  276. line-height: 28px;
  277. @include clearfix();
  278. padding-left: 10px;
  279. form{
  280. height: 100%;
  281. }
  282. input{
  283. border: none;
  284. background: transparent;
  285. outline: none;
  286. line-height: 28px;
  287. height: 28px;
  288. border-radius: 2px;
  289. float: left;
  290. width: 140px;
  291. color: #666;
  292. }
  293. .btn-search{
  294. display: block;
  295. background: transparent;
  296. border: none;
  297. float: right;
  298. text-align: center;
  299. height: 100%;
  300. width: 28px;
  301. }
  302. }
  303. .icon-search{
  304. display: inline-block;
  305. width: 14px;
  306. height: 14px;
  307. vertical-align: middle;
  308. background: url(../img/simulator/icon-search.png?__sprite) no-repeat;
  309. }
  310. }
  311. .g-cont{
  312. position: relative;
  313. z-index: 1;
  314. }
  315. .g-page-num{
  316. text-align: right;
  317. line-height: 18px;
  318. font-size: 12px;
  319. color: #999999;
  320. span{
  321. display: inline-block;
  322. }
  323. .btn-page{
  324. color: #ffffff;
  325. background: #a8bfd1;
  326. padding: 0 4px;
  327. cursor: pointer;
  328. &.is-disabled{
  329. background: #ccc;
  330. }
  331. }
  332. .txt-page{
  333. border: 1px solid #dadada;
  334. width: 28px;
  335. margin: 0 7px;
  336. outline: none;
  337. color: #666;
  338. }
  339. .btn-page-prev{
  340. margin-right: 5px;
  341. }
  342. .btn-page-next{
  343. margin: 0 5px;
  344. }
  345. .btn-page-go{
  346. margin-left: 5px;
  347. }
  348. }
  349. .page-home{
  350. .glist-game{
  351. margin-top: 10px;
  352. }
  353. .result-empty{
  354. padding-top: 110px;
  355. p{
  356. color: #999999;
  357. font-size: 16px;
  358. font-weight: 700;
  359. text-align: center;
  360. line-height: 36px;
  361. }
  362. }
  363. .btn-dl{
  364. text-align: center;
  365. color: #FFF;
  366. font-size: 12px;
  367. width: 90px;
  368. line-height: 32px;
  369. height: 32px;
  370. background: #3f8ccb;
  371. display: block;
  372. margin: 18px auto 0 auto;
  373. border-radius: 2px;
  374. &:hover{
  375. @include opacity(0.8);
  376. }
  377. }
  378. .pic-hezi2{
  379. height: 82px;
  380. margin-bottom: 10px;
  381. background: url(../img/simulator/hezi2.jpg) center no-repeat;
  382. }
  383. }
  384. .page-game{
  385. font-size: 12px;
  386. .mod-hd{
  387. height: 25px;
  388. position: relative;
  389. z-index: 2;
  390. }
  391. .mod-bd{
  392. position: relative;
  393. z-index: 1;
  394. }
  395. .menu-wrap{
  396. height: 25px;
  397. overflow: hidden;
  398. background: #FFF;
  399. transition: all .2s;
  400. &.opened{
  401. height: auto;
  402. }
  403. }
  404. .list-type{
  405. color: #666666;
  406. line-height: 25px;
  407. float: left;
  408. width: 580px;
  409. li{
  410. float: left;
  411. cursor: pointer;
  412. padding: 0 8px;
  413. &:hover,&.active{
  414. font-weight: 700;
  415. background: #ddebf7;
  416. }
  417. }
  418. }
  419. .btn-select{
  420. width: 17px;
  421. height: 17px;
  422. float: right;
  423. cursor: pointer;
  424. margin-top: 3px;
  425. background: url(../img/simulator/icon-select.png?__sprite) 0 0 no-repeat;
  426. &:hover{
  427. background: url(../img/simulator/icon-select.png?__sprite) -17px 0 no-repeat;
  428. }
  429. &.opened{
  430. background: url(../img/simulator/icon-select.png?__sprite) 0 -17px no-repeat;
  431. &:hover{
  432. background: url(../img/simulator/icon-select.png?__sprite) -17px -17px no-repeat;
  433. }
  434. }
  435. }
  436. }
  437. .page-search{
  438. .mod-hd{
  439. font-size: 12px;
  440. line-height: 25px;
  441. span{
  442. color: #3f8ccb;
  443. }
  444. }
  445. .result-empty{
  446. padding-top: 50px;
  447. p{
  448. color: #999999;
  449. font-size: 16px;
  450. font-weight: 700;
  451. text-align: center;
  452. line-height: 36px;
  453. }
  454. }
  455. .pic-hezi{
  456. background: url(../img/simulator/hezi.jpg) center no-repeat;
  457. height: 81px;
  458. margin-bottom: 10px;
  459. }
  460. }
  461. .page-detail{
  462. font-size: 12px;
  463. width: 508px;
  464. height: 400px;
  465. overflow: hidden;
  466. .dl-header{
  467. }
  468. .game-cover{
  469. float: left;
  470. border: 1px solid #e2e2e3;
  471. border-radius: 5px;
  472. width: 63px;
  473. height: 63px;
  474. margin-right: 11px;
  475. img{
  476. width: 100%;
  477. height: 100%;
  478. overflow: hidden;
  479. display: block;
  480. }
  481. }
  482. .game-info{
  483. float: left;
  484. width: 320px;
  485. .info-row1{
  486. line-height: 18px;
  487. h2{
  488. float: left;
  489. color: #666666;
  490. font-weight: 700;
  491. margin-right: 30px;
  492. }
  493. ul{
  494. @include clearfix();
  495. color: #FFF;
  496. }
  497. li{
  498. float: left;
  499. padding: 0 5px;
  500. margin-right: 8px;
  501. }
  502. .bg-yellow{
  503. background: #f0a438;
  504. }
  505. .bg-green{
  506. background: #25de6b;
  507. }
  508. }
  509. .info-row2{
  510. color: #999999;
  511. line-height: 1;
  512. margin-top: 25px;
  513. span{
  514. margin-right: 16px;
  515. }
  516. }
  517. }
  518. .game-install{
  519. float: right;
  520. .btn-install{
  521. display: block;
  522. line-height: 30px;
  523. height: 30px;
  524. background: #408bcb;
  525. border-radius: 2px;
  526. color: #FFF;
  527. width: 85px;
  528. text-align: center;
  529. &:hover{
  530. @include opacity(0.8);
  531. }
  532. }
  533. .btn-phone{
  534. display: inline-block;
  535. margin-top: 12px;
  536. color: #408bcb;
  537. background: url(../img/simulator/icon-phone.png) no-repeat;
  538. line-height: 16px;
  539. padding-left: 18px;
  540. cursor: pointer;
  541. }
  542. }
  543. .dl-carousel{
  544. margin-top: 14px;
  545. }
  546. .dl-intro{
  547. color: #666666;
  548. line-height: 24px;
  549. margin-top: 10px;
  550. h3{
  551. font-weight: 700;
  552. }
  553. }
  554. .info-row{
  555. span{
  556. margin-right: 10px;
  557. }
  558. }
  559. }
  560. .page-center{
  561. .mod-banner{
  562. height: 135px;
  563. margin-top: 11px;
  564. }
  565. .mod-hd {
  566. h2{
  567. float: left;
  568. color: #666666;
  569. font-weight: 700;
  570. }
  571. .link-more{
  572. float: right;
  573. color: #6592df;
  574. }
  575. }
  576. .mod-hot-game{
  577. overflow: hidden;
  578. position: relative;
  579. .mod-hd{
  580. line-height: 40px;
  581. }
  582. .mod-bd{
  583. border-right: 1px solid #f4f4f4;
  584. overflow: hidden;
  585. }
  586. .gItem-game{
  587. margin: 0 13px 15px 0;
  588. }
  589. }
  590. }
  591. //banner--轮播图
  592. $img-width: 395px; // 图片宽度
  593. $img-height: 135px; // 图片高度
  594. .g-ui-slide {
  595. position: relative;
  596. width: $img-width;
  597. height: $img-height;
  598. overflow: hidden;
  599. img {
  600. width: 100%;
  601. height: 100%;
  602. }
  603. }
  604. .g-ui-slide__content {
  605. position: relative;
  606. height: $img-height;
  607. }
  608. .g-ui-slide__panel {
  609. position: relative;
  610. width: $img-width;
  611. height: $img-height;
  612. overflow: hidden;
  613. a {
  614. display: block;
  615. height: 100%;
  616. }
  617. }
  618. .g-ui-slide__nav{
  619. @include clearfix();
  620. position: absolute;
  621. right: 11px;
  622. bottom: 9px;
  623. }
  624. .g-ui-slide__trigger{
  625. height: 6px;
  626. width: 6px;
  627. float: left;
  628. font-size: 0;
  629. border-radius: 100%;
  630. background: #333333;
  631. margin-left: 6px;
  632. @include opacity(0.2);
  633. &.is-active{
  634. background: #3f8ccb;
  635. }
  636. }
  637. //二维码弹窗
  638. .pop-qrcode{
  639. background: #FFF;
  640. border-radius: 2px;
  641. outline: none;
  642. text-align: center;
  643. position: relative;
  644. padding: 24px 0 16px 0;
  645. }
  646. .pop-qrcode-close{
  647. position: absolute;
  648. top: 2px;
  649. right: 0;
  650. font-size: 20px;
  651. line-height: 1;
  652. padding: 0 4px;
  653. }
  654. .pop-qrcode-content{
  655. canvas,table{
  656. margin: 0 auto;
  657. }
  658. p{
  659. color: #666;
  660. margin-top: 10px;
  661. }
  662. }
  663. //下载--旋转木马
  664. $carouselWidth : 508px;
  665. $carouselHeight : 228px;
  666. .dl-carousel{
  667. width: $carouselWidth;
  668. height: $carouselHeight;
  669. position: relative;
  670. &:hover{
  671. .dl-cover_prev,.dl-cover_next{
  672. @include opacity(1);
  673. }
  674. }
  675. }
  676. .dl-cover_scroller{
  677. width: $carouselWidth;
  678. height: $carouselHeight;
  679. overflow: hidden;
  680. position: relative;
  681. }
  682. .dl-cover_content{
  683. @include clearfix;
  684. width: 100000px!important;
  685. li{
  686. width: 150px;
  687. height: $carouselHeight;
  688. float: left;
  689. margin-right: 13px;
  690. }
  691. img{
  692. width: 100%;
  693. height: 100%;
  694. display: block;
  695. overflow: hidden;
  696. }
  697. }
  698. .dl-cover_prev,.dl-cover_next{
  699. width: 31px;
  700. height: 62px;
  701. display: block;
  702. position: absolute;
  703. top: 50%;
  704. margin-top: -31px;
  705. @include opacity(0);
  706. transition: all .2s;
  707. cursor: pointer;
  708. }
  709. .dl-cover_prev{
  710. left: 0;
  711. background: url(../img/simulator/icon-prev.png?__sprite) no-repeat;
  712. }
  713. .dl-cover_next{
  714. right: 0;
  715. background: url(../img/simulator/icon-next.png?__sprite) no-repeat;
  716. }
  717. .u-hide{
  718. display: none;
  719. }
  720. //游戏中心弹框
  721. .pop-center{
  722. background: #FFF;
  723. outline: none;
  724. border-radius: 2px;
  725. }
  726. .pop-center-close{
  727. position: absolute;
  728. top: -19px;
  729. right: -19px;
  730. width: 19px;
  731. height: 19px;
  732. background: url(../img/simulator/icon-close.png?__sprite) no-repeat;
  733. font-size: 0;
  734. color: transparent;
  735. }
  736. .pop-simulator-center{
  737. text-align: center;
  738. height: 353px;
  739. padding-top: 47px;
  740. background: url(../img/simulator/bg-pop.jpg) left bottom no-repeat;
  741. h1{
  742. font-size: 20px;
  743. color: #2da2e6;
  744. font-weight: 700;
  745. line-height: 1;
  746. margin-bottom: 14px;
  747. }
  748. p{
  749. font-size: 16px;
  750. line-height: 26px;
  751. color: #2da2e6;
  752. }
  753. .pic-game1{
  754. margin-top: 15px;
  755. height: 148px;
  756. background: url(../img/simulator/pic-game1.png) center top no-repeat;
  757. }
  758. .pic-game2{
  759. margin-top: 15px;
  760. height: 148px;
  761. background: url(../img/simulator/pic-game2.png) center top no-repeat;
  762. }
  763. .btn-pop{
  764. margin: 52px auto 0 auto;
  765. font-size: 12px;
  766. color: #2da2e6;
  767. width: 67px;
  768. height: 27px;
  769. line-height: 27px;
  770. text-align: center;
  771. background: #FFF;
  772. border-radius: 30px;
  773. cursor: pointer;
  774. &:hover{
  775. background: #f5f5f5;
  776. }
  777. }
  778. .pop-page{
  779. position: absolute;
  780. width: 100%;
  781. }
  782. .pop-page2{
  783. display: none;
  784. }
  785. }