123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811 |
- @charset "UTF-8";
- @import "base/base";
- @import "base/mixins";
- /* S ZhuanTi Common */
- $main_width: 1000px;
- $yahei: "Microsoft YaHei", SimHei, sans-serif;
- html {
- font-size: 12px;
- }
- body {
- font-family: $yahei;
- a {
- text-decoration: none;
- color:#666;
- &:hover {
- text-decoration: none;
- }
-
- }
- p, a, span, em, i, h1, h2, h3, h4, h5, h6 {
- text-rendering: optimizeLegibility;
- -webkit-font-smoothing: antialiased;
- }
- .clearfix{clear: both}
- }
- .o-wrap{
- width: 600px;
- height: 490px;
- padding: 6px 14px 0;
- overflow: hidden;
- position: relative;
- }
- .g-col-395{
- width: 395px;
- float: left;
- }
- .g-col-187{
- width: 187px;
- float: right;
- }
- .glist-game{
- @include clearfix();
- margin-right: -13px;
- position: relative;
- overflow: hidden;
- &.gList-row3{
- height: 331px;
- }
- .gItem-game{
- float: left;
- line-height: 20px;
- width: 88px;
- height: 99px;
- padding-top: 6px;
- text-align: center;
- margin: 0 13px 8px 0;
- &.active,&:hover{
- background: #f4f4f4;
- }
- }
- .gItem-cover{
- display: block;
- width: 64px;
- height: 64px;
- border-radius: 10px;
- border: 1px solid #dbdadb;
- overflow: hidden;
- margin: 0 auto;
- img{
- width: 100%;
- height: 100%;
- display: block;
- overflow: hidden;
- }
- }
- .gItem-btn{
- color: #ffffff;
- font-size: 12px;
- background: #3581c2;
- width: 44px;
- margin: 5px auto 0 auto;
- cursor: pointer;
- }
- .gItem-title{
- display: block;
- color: #999999;
- font-size: 12px;
- height: 20px;
- margin-top: 5px;
- padding: 0 4px;
- @include ellipsis();
- }
- }
- .gList-rank{
- .item-rank{
- line-height: 18px;
- margin-top: 13px;
- &.active{
- .item-index{
- em{
- color: #ffffff;
- border: 1px solid #4b9add;
- background: #4b9add;
- }
- }
- .item-cover{
- display: block;
- }
- .item-title{
- float: none;
- width: auto;;
- margin-bottom: 8px;
- }
- .item-dl{
- float: none;
- span{
- display: inline;
- }
- }
- }
- }
- a{
- display: block;
- @include clearfix();
- }
- .item-index{
- float: left;
- em{
- display: block;
- width: 16px;
- height: 16px;
- text-align: center;
- line-height: 16px;
- border: 1px solid #eeeeee;
- background: #FFF;
- color: #999999;
- }
- }
- .item-cont{
- float: right;
- width: 162px;
- @include clearfix();
- }
- .item-cover{
- width: 44px;
- height: 44px;
- overflow: hidden;
- border-radius: 5px;
- display: none;
- float: left;
- margin-right: 6px;
- img{
- width: 100%;
- height: 100%;
- overflow: hidden;
- display: block;
- }
- }
- .item-info{
- @include clearfix();
- }
- .item-title{
- font-size: 12px;
- color: #666666;
- float: left;
- @include ellipsis();
- width: 100px;
- height: 18px;
- }
- .item-dl{
- font-size: 12px;
- color: #999999;
- float: right;
- span{
- display: none;
- margin-left: 5px;
- }
- }
- }
- .g-header{
- h1{
- font-size: 14px;
- line-height: 22px;
- color: #666666;
- padding-left: 29px;
- background: url(../img/simulator/logo.png) no-repeat;
- }
- ul{
- @include clearfix();
- line-height: 30px;
- height: 30px;
- background: #ecf3f9;
- margin-top: 7px;
- font-size: 12px;
- font-weight: 700;
- color: #666666;
- li{
- float: left;
- width: 50%;
- text-align: center;
- &.active{
- background: #ddebf7;
- }
- }
- a{
- display: block;
- height: 100%;
- font-weight: 700;
- }
- }
- }
- .g-form{
- padding: 10px 0;
- position: relative;
- z-index: 10;
- .g-col-395{
- position: relative;
- height: 30px;
- .btn-back{
- float: left;
- display: block;
- color: #3f8ccb;
- background: #ecf3f9;
- border: 1px solid #cbdbe8;
- height: 28px;
- line-height: 28px;
- width: 42px;
- text-align: center;
- border-radius: 2px;
- cursor: pointer;
- &:hover{
- @include opacity(0.8);
- }
- }
- .select-wrap{
- position: absolute;
- top: 0;
- right: 0;
- color: #666666;
- font-size: 12px;
- border: 1px solid #dbdbdb;
- height: 28px;
- line-height: 28px;
- border-radius: 2px;
- padding: 0 7px 0 6px;
- cursor: pointer;
- background: #FFF;
- overflow: hidden;
- &.is-open{
- height: auto;
- }
- dt{
- position: relative;
- padding: 0 22px 0 4px;
- height: 28px;
- i{
- position: absolute;
- top: 12px;
- right: 7px;
- width: 9px;
- height: 5px;
- background: url(../img/simulator/icon-select2.png?__sprite) 0 0 no-repeat;
- }
- }
- dd{
- padding: 0 22px 0 4px;
- border-radius: 2px;
- &:hover{
- background: #f4f4f4;
- }
- }
- }
- }
- .search-wrap{
- border: 1px solid #dbdbdb;
- height: 28px;
- line-height: 28px;
- @include clearfix();
- padding-left: 10px;
- form{
- height: 100%;
- }
- input{
- border: none;
- background: transparent;
- outline: none;
- line-height: 28px;
- height: 28px;
- border-radius: 2px;
- float: left;
- width: 140px;
- color: #666;
- }
- .btn-search{
- display: block;
- background: transparent;
- border: none;
- float: right;
- text-align: center;
- height: 100%;
- width: 28px;
- }
- }
- .icon-search{
- display: inline-block;
- width: 14px;
- height: 14px;
- vertical-align: middle;
- background: url(../img/simulator/icon-search.png?__sprite) no-repeat;
- }
- }
- .g-cont{
- position: relative;
- z-index: 1;
- }
- .g-page-num{
- text-align: right;
- line-height: 18px;
- font-size: 12px;
- color: #999999;
- span{
- display: inline-block;
- }
- .btn-page{
- color: #ffffff;
- background: #a8bfd1;
- padding: 0 4px;
- cursor: pointer;
- &.is-disabled{
- background: #ccc;
- }
- }
- .txt-page{
- border: 1px solid #dadada;
- width: 28px;
- margin: 0 7px;
- outline: none;
- color: #666;
- }
- .btn-page-prev{
- margin-right: 5px;
- }
- .btn-page-next{
- margin: 0 5px;
- }
- .btn-page-go{
- margin-left: 5px;
- }
- }
- .page-home{
- .glist-game{
- margin-top: 10px;
- }
- .result-empty{
- padding-top: 110px;
- p{
- color: #999999;
- font-size: 16px;
- font-weight: 700;
- text-align: center;
- line-height: 36px;
- }
- }
- .btn-dl{
- text-align: center;
- color: #FFF;
- font-size: 12px;
- width: 90px;
- line-height: 32px;
- height: 32px;
- background: #3f8ccb;
- display: block;
- margin: 18px auto 0 auto;
- border-radius: 2px;
- &:hover{
- @include opacity(0.8);
- }
- }
- .pic-hezi2{
- height: 82px;
- margin-bottom: 10px;
- background: url(../img/simulator/hezi2.jpg) center no-repeat;
- }
- }
- .page-game{
- font-size: 12px;
- .mod-hd{
- height: 25px;
- position: relative;
- z-index: 2;
- }
- .mod-bd{
- position: relative;
- z-index: 1;
- }
- .menu-wrap{
- height: 25px;
- overflow: hidden;
- background: #FFF;
- transition: all .2s;
- &.opened{
- height: auto;
- }
- }
- .list-type{
- color: #666666;
- line-height: 25px;
- float: left;
- width: 580px;
- li{
- float: left;
- cursor: pointer;
- padding: 0 8px;
- &:hover,&.active{
- font-weight: 700;
- background: #ddebf7;
- }
- }
- }
- .btn-select{
- width: 17px;
- height: 17px;
- float: right;
- cursor: pointer;
- margin-top: 3px;
- background: url(../img/simulator/icon-select.png?__sprite) 0 0 no-repeat;
- &:hover{
- background: url(../img/simulator/icon-select.png?__sprite) -17px 0 no-repeat;
- }
- &.opened{
- background: url(../img/simulator/icon-select.png?__sprite) 0 -17px no-repeat;
- &:hover{
- background: url(../img/simulator/icon-select.png?__sprite) -17px -17px no-repeat;
- }
- }
- }
- }
- .page-search{
- .mod-hd{
- font-size: 12px;
- line-height: 25px;
- span{
- color: #3f8ccb;
- }
- }
- .result-empty{
- padding-top: 50px;
- p{
- color: #999999;
- font-size: 16px;
- font-weight: 700;
- text-align: center;
- line-height: 36px;
- }
- }
- .pic-hezi{
- background: url(../img/simulator/hezi.jpg) center no-repeat;
- height: 81px;
- margin-bottom: 10px;
- }
- }
- .page-detail{
- font-size: 12px;
- width: 508px;
- height: 400px;
- overflow: hidden;
- .dl-header{
- }
- .game-cover{
- float: left;
- border: 1px solid #e2e2e3;
- border-radius: 5px;
- width: 63px;
- height: 63px;
- margin-right: 11px;
- img{
- width: 100%;
- height: 100%;
- overflow: hidden;
- display: block;
- }
- }
- .game-info{
- float: left;
- width: 320px;
- .info-row1{
- line-height: 18px;
- h2{
- float: left;
- color: #666666;
- font-weight: 700;
- margin-right: 30px;
- }
- ul{
- @include clearfix();
- color: #FFF;
- }
- li{
- float: left;
- padding: 0 5px;
- margin-right: 8px;
- }
- .bg-yellow{
- background: #f0a438;
- }
- .bg-green{
- background: #25de6b;
- }
- }
- .info-row2{
- color: #999999;
- line-height: 1;
- margin-top: 25px;
- span{
- margin-right: 16px;
- }
- }
- }
- .game-install{
- float: right;
- .btn-install{
- display: block;
- line-height: 30px;
- height: 30px;
- background: #408bcb;
- border-radius: 2px;
- color: #FFF;
- width: 85px;
- text-align: center;
- &:hover{
- @include opacity(0.8);
- }
- }
- .btn-phone{
- display: inline-block;
- margin-top: 12px;
- color: #408bcb;
- background: url(../img/simulator/icon-phone.png) no-repeat;
- line-height: 16px;
- padding-left: 18px;
- cursor: pointer;
- }
- }
- .dl-carousel{
- margin-top: 14px;
- }
- .dl-intro{
- color: #666666;
- line-height: 24px;
- margin-top: 10px;
- h3{
- font-weight: 700;
- }
- }
- .info-row{
- span{
- margin-right: 10px;
- }
- }
- }
- .page-center{
- .mod-banner{
- height: 135px;
- margin-top: 11px;
- }
- .mod-hd {
- h2{
- float: left;
- color: #666666;
- font-weight: 700;
- }
- .link-more{
- float: right;
- color: #6592df;
- }
- }
- .mod-hot-game{
- overflow: hidden;
- position: relative;
- .mod-hd{
- line-height: 40px;
- }
- .mod-bd{
- border-right: 1px solid #f4f4f4;
- overflow: hidden;
- }
- .gItem-game{
- margin: 0 13px 15px 0;
- }
- }
- }
- //banner--轮播图
- $img-width: 395px; // 图片宽度
- $img-height: 135px; // 图片高度
- .g-ui-slide {
- position: relative;
- width: $img-width;
- height: $img-height;
- overflow: hidden;
- img {
- width: 100%;
- height: 100%;
- }
- }
- .g-ui-slide__content {
- position: relative;
- height: $img-height;
- }
- .g-ui-slide__panel {
- position: relative;
- width: $img-width;
- height: $img-height;
- overflow: hidden;
- a {
- display: block;
- height: 100%;
- }
- }
- .g-ui-slide__nav{
- @include clearfix();
- position: absolute;
- right: 11px;
- bottom: 9px;
- }
- .g-ui-slide__trigger{
- height: 6px;
- width: 6px;
- float: left;
- font-size: 0;
- border-radius: 100%;
- background: #333333;
- margin-left: 6px;
- @include opacity(0.2);
- &.is-active{
- background: #3f8ccb;
- }
- }
- //二维码弹窗
- .pop-qrcode{
- background: #FFF;
- border-radius: 2px;
- outline: none;
- text-align: center;
- position: relative;
- padding: 24px 0 16px 0;
- }
- .pop-qrcode-close{
- position: absolute;
- top: 2px;
- right: 0;
- font-size: 20px;
- line-height: 1;
- padding: 0 4px;
- }
- .pop-qrcode-content{
- canvas,table{
- margin: 0 auto;
- }
- p{
- color: #666;
- margin-top: 10px;
- }
- }
- //下载--旋转木马
- $carouselWidth : 508px;
- $carouselHeight : 228px;
- .dl-carousel{
- width: $carouselWidth;
- height: $carouselHeight;
- position: relative;
- &:hover{
- .dl-cover_prev,.dl-cover_next{
- @include opacity(1);
- }
- }
- }
- .dl-cover_scroller{
- width: $carouselWidth;
- height: $carouselHeight;
- overflow: hidden;
- position: relative;
- }
- .dl-cover_content{
- @include clearfix;
- width: 100000px!important;
- li{
- width: 150px;
- height: $carouselHeight;
- float: left;
- margin-right: 13px;
- }
- img{
- width: 100%;
- height: 100%;
- display: block;
- overflow: hidden;
- }
- }
- .dl-cover_prev,.dl-cover_next{
- width: 31px;
- height: 62px;
- display: block;
- position: absolute;
- top: 50%;
- margin-top: -31px;
- @include opacity(0);
- transition: all .2s;
- cursor: pointer;
- }
- .dl-cover_prev{
- left: 0;
- background: url(../img/simulator/icon-prev.png?__sprite) no-repeat;
- }
- .dl-cover_next{
- right: 0;
- background: url(../img/simulator/icon-next.png?__sprite) no-repeat;
- }
- .u-hide{
- display: none;
- }
- //游戏中心弹框
- .pop-center{
- background: #FFF;
- outline: none;
- border-radius: 2px;
- }
- .pop-center-close{
- position: absolute;
- top: -19px;
- right: -19px;
- width: 19px;
- height: 19px;
- background: url(../img/simulator/icon-close.png?__sprite) no-repeat;
- font-size: 0;
- color: transparent;
- }
- .pop-simulator-center{
- text-align: center;
- height: 353px;
- padding-top: 47px;
- background: url(../img/simulator/bg-pop.jpg) left bottom no-repeat;
- h1{
- font-size: 20px;
- color: #2da2e6;
- font-weight: 700;
- line-height: 1;
- margin-bottom: 14px;
- }
- p{
- font-size: 16px;
- line-height: 26px;
- color: #2da2e6;
- }
- .pic-game1{
- margin-top: 15px;
- height: 148px;
- background: url(../img/simulator/pic-game1.png) center top no-repeat;
- }
- .pic-game2{
- margin-top: 15px;
- height: 148px;
- background: url(../img/simulator/pic-game2.png) center top no-repeat;
- }
- .btn-pop{
- margin: 52px auto 0 auto;
- font-size: 12px;
- color: #2da2e6;
- width: 67px;
- height: 27px;
- line-height: 27px;
- text-align: center;
- background: #FFF;
- border-radius: 30px;
- cursor: pointer;
- &:hover{
- background: #f5f5f5;
- }
- }
- .pop-page{
- position: absolute;
- width: 100%;
- }
- .pop-page2{
- display: none;
- }
- }
|