@charset "UTF-8"; @import "base/base"; @import "base/mixins"; /* S ZhuanTi Common */ $main_width: 1000px; $blue: #408bcb; $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: 66px; height: 66px; 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-bottom: 11px; &.active{ margin-bottom: 8px; .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; a{ font-size: 12px; margin-left: 10px; color: #6592df; &:hover{ text-decoration: underline; } } } 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: 496px; height: 400px; overflow: hidden; padding: 0 6px; .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: 20px; } 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: 102px; 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; margin-top: 4px; .mod-hd{ @include clearfix(); line-height: 24px; } .mod-bd{ border-right: 1px solid #f4f4f4; overflow: hidden; } .glist-game{ margin-top: 10px; } .gItem-game{ margin: 0 13px 4px 0; padding-top: 2px; height: 88px; .gItem-title{ margin-top: 0; } } .wrap-type{ width: 326px; float: left; position: relative; padding: 0 15px; .btn-prev,.btn-next{ width: 15px; height: 15px; float: left; cursor: pointer; position: absolute; top: 6px; } .btn-prev{ left: 0; background: url(../img/simulator/icon-prev2.png?__sprite) no-repeat; &.active{ background: url(../img/simulator/icon-prev2_hover.png?__sprite) no-repeat; } } .btn-next{ right: 0; background: url(../img/simulator/icon-next2.png?__sprite) no-repeat; &.active{ background: url(../img/simulator/icon-next2_hover.png?__sprite) no-repeat; } } } .list-type{ width: 320px; float: left; height: 24px; overflow: hidden; li{ float: left; cursor: pointer; padding: 0 8px; color: #666666; &:hover,&.active { font-weight: 700; background: #ddebf7; } } } } .mod-task{ font-size: 12px; height: 158px; ul{ background: #ddebf7; padding: 7px 0 7px 12px; } li{ line-height: 27px; overflow: hidden; color: #3f8ccb; position: relative; padding-left: 20px; p{ height: 17px; @include ellipsis(); } b{ margin-left: 12px; font-weight: 700; } &.icon-task1{ background: url(../img/simulator/icon-task1.png) 0 8px no-repeat; } &.icon-task2{ background: url(../img/simulator/icon-task2.png) 0 8px no-repeat; } &.icon-task3{ background: url(../img/simulator/icon-task3.png) 0 8px no-repeat; } } .icon-line{ position: absolute; bottom: 0; left: 8px; width: 1px; height: 20px; background: #d4d4d4; } .task-ad{ color: #666666; line-height: 25px; } .btn-accept{ display: block; height: 35px; line-height: 35px; color: #FFFFFF; font-weight: 700; text-align: center; border-radius: 2px; background: #e4c350; &.is-disabled{ background: #cccccc; } &.is-noLogin{ cursor: pointer; } } } .mod-rank-hot{ .mod-rank-title{ color: #4b9add; font-weight: 700; line-height: 30px; } } } //banner--轮播图 $img-width: 395px; // 图片宽度 $img-height: 102px; // 图片高度 .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; &.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{ position: relative; padding-top: 160px; canvas{ position: absolute; top: 0; left: 20px; } table{ position: absolute; top: 20ypx; left: 40px; } p{ color: #666; margin-top: 10px; } } //下载--旋转木马 $carouselWidth : 496px; $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; &.is-disabled{ display: none; } } .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; } } .pop-normal{ outline: none; .btn-pop-close{ position: absolute; right: 15px; top: 8px; font-size: 20px; color: #999999; cursor: pointer; } } .pop-qq{ border-top: 3px solid $blue; text-align: center; background: #FFF; outline: none; padding: 15px 15px 35px 15px; position: relative; h3{ font-size: 12px; color: #666666; text-align: left; font-weight: 700; } p{ font-weight: 700; color: #666666; margin: 30px 0 20px 0; b{ color: #ff7f1f; margin: 0 4px; font-weight: 700; } } input{ padding: 0 12px; border: 1px solid #dbdbdb; height: 30px; line-height: 30px; width: 196px; outline: none; font-size: 12px; } .wrap-btns{ margin-top: 22px; } .btn-pop{ display: inline-block; width: 75px; height: 30px; line-height: 30px; text-align: center; cursor: pointer; background: $blue; color: #FFFFFF; margin: 0 6px; &:hover{ @include opacity(0.8); } } } //----------DNF盒子,坦克世界盒子-------------------- .hezi-dnf,.hezi-tksj{ .o-wrap{ height: 470px; } .page-center{ .mod-hot-game{ .glist-game{ margin-top: 4px; } .gItem-game{ height: 88px; margin: 0 13px 0 0; } } } .glist-game{ &.gList-row3{ height: 312px; } .gItem-game{ height: 92px; margin: 0 13px 4px 0; } } .gList-rank{ .item-rank{ margin-bottom: 7px; } } }