123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961 |
- body {
- display: none;
- left: 0;
- top: 0;
- margin: 0;
- overflow: hidden;
- width: 100%;
- height: 100%;
- }
- #container {
- height: 100%;
- }
- ul {
- margin: 0;
- padding: 0;
- }
- li {
- list-style-type: none;
- }
- #view-game {
- display: none;
- }
- /* #score-head {
- background: url(../img/game_head_bg.png) no-repeat;
- background-size: 100%;
- font-weight: bold;
- color: #FFF;
- font-size: 22px;
- } */
- #score-head .score {
- position: absolute;
- left: 16%;
- top: 21%;
- width: 20%;
- text-align: center;
- }
- #score-head .time {
- position: absolute;
- right: 10%;
- top: 19%;
- width: 20%;
- text-align: center;
- }
- .runway-contaienr {
- width: 100%;
- font-size: 0;
- position: absolute;
- bottom: 0;
- /* transition: bottom 30ms linear;
- -webkit-transition: bottom 30ms linear;*/
- }
- .runway-lines {
- position: relative;
- background: url(../img/person_nm_1.png) repeat-y;
- background-size: 100%;
- }
- .runway-lines .text-start-line {
- font-size: 18px;
- color: #fd9c92;
- position: absolute;
- left: 10px;
- bottom: 5px;
- }
- .runway-lines .scale-list {
- position: absolute;
- left: 0;
- bottom: 0;
- padding: 0;
- }
- .runway-lines .scale-list .scale-item {
- line-height: 22px;
- font-size: 18px;
- color: #d26b60;
- }
- .runway-line {
- position: relative;
- width: 33.33%;
- display: inline-block;
- }
- .runway-line .item {
- position: absolute;
- height: 80px;
- background-color: black;
- background-size: 100% !important;
- }
- .runway-line .item.star {
- background: url(../img/article/star.png) no-repeat;
- width: 40%;
- left: 30%;
- height: 0.9%;
- }
- .runway-line .item.speed {
- background: url(../img/article/accelerator.png) no-repeat;
- width: 34%;
- left: 33%;
- height: 0.9%;
- }
- .runway-line .item.roadblock {
- background: url(../img/article/roadblock.png) no-repeat;
- width: 70%;
- left: 15%;
- height: 0.7%;
- }
- .runway-line .item.bomb {
- background: url(../img/article/bomb1.png) no-repeat;
- width: 60%;
- left: 20%;
- height: 1.3%;
- }
- .runway-line .item.pool {
- background: url(../img/article/pool1.png) no-repeat;
- width: 70%;
- left: 15%;
- height: 0.8%;
- }
- .runway-line .item.car {
- background: url(../img/article/car1.png) no-repeat;
- width: 50%;
- left: 25%;
- height: 0.9%;
- }
- #running-man {
- width: 20%;
- height: 17%;
- position: absolute;
- bottom: 0px;
- left: 40%;
- transition: left 50ms linear;
- -webkit-transition: left 50ms linear;
- background-size: 100% !important;
- }
- #running-man.nm-1 {
- background: url(../img/person_nm_1.png) no-repeat;
- }
- #running-man.nm-2 {
- background: url(../img/person_nm_2.png) no-repeat;
- }
- #running-man.sp-1 {
- background: url(../img/person_sp_1.png) no-repeat;
- }
- #running-man.sp-2 {
- background: url(../img/person_sp_2.png) no-repeat;
- }
- #running-man.sl-1 {
- background: url(../img/person_sl_1.png) no-repeat;
- }
- #running-man.sl-2 {
- background: url(../img/person_sl_2.png) no-repeat;
- }
- #running-man.st-1 {
- background: url(../img/person_st_1.png) no-repeat;
- }
- #running-man.st-2 {
- background: url(../img/person_st_2.png) no-repeat;
- }
- #running-man.die-1 {
- background: url(../img/person_die_1.png) no-repeat;
- }
- #running-man.die-2 {
- background: url(../img/person_die_2.png) no-repeat;
- }
- #running-man.left {
- left: 6.67%;
- }
- #running-man.right {
- left: 73.33%;
- }
- #destination-line {
- position: absolute;
- width: 100%;
- height: 1.5%;
- left: 0;
- background: url(../img/destination_bg.png) no-repeat bottom;
- background-size: 100%;
- }
- #start-point {
- background: url(../img/person_nm_1.png) no-repeat;
- background-size: 100%;
- }
- #count-down {
- display: none;
- position: absolute;
- width: 20%;
- z-index: 1;
- left: 40%;
- top: 40%;
- height: 20%;
- }
- #count-down.bg-3 {
- background: url(../img/countdown_bg_3.png) no-repeat;
- background-size: 100%;
- }
- #count-down.bg-2 {
- background: url(../img/countdown_bg_2.png) no-repeat;
- background-size: 100%;
- }
- #count-down.bg-1 {
- background: url(../img/countdown_bg_1.png) no-repeat;
- background-size: 100%;
- }
- #obstacle-prompt {
- display: none;
- position: absolute;
- width: 46%;
- height: 16%;
- left: 27%;
- top: 30%;
- border-radius: 12px;
- background-color: rgba(0, 0, 0, .5);
- }
- #obstacle-prompt .obstacle-name {
- text-align: center;
- font-size: 20px;
- font-weight: 700;
- color: #c95d51;
- margin-top: 10%;
- }
- #obstacle-prompt .time {
- text-align: center;
- color: #FFF;
- margin-top: 2%;
- font-size: 30px;
- font-weight: bold;
- }
- /*操作层*/
- #view-main {
- position: relative;
- background: url(../images/bg.gif) repeat-y;
- background-size: 100%;
- height: 100%;
- }
- #btn-begin {
- position: absolute;
- width: 53%;
- height: 25%;
- top: 66%;
- left: 10%;
- }
- /*弹出窗口*/
- #popup-container {
- display: none;
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.6);
- z-index: 1;
- }
- #popup-lucky {
- position: absolute;
- width: 90%;
- height: 85%;
- top: 8%;
- left: 5%;
- background: url(../img/lucky_main.png) no-repeat;
- background-size: 100%;
- }
- #popup-lucky .btn-close {
- position: absolute;
- width: 12%;
- height: 10%;
- right: 0;
- top: 4%;
- }
- #popup-lucky .point-num {
- position: absolute;
- width: 20%;
- right: 15%;
- top: 21.7%;
- font-size: 18px;
- font-weight: 700;
- color: #ff933c;
- text-align: right;
- }
- #popup-lucky .game-container {
- position: absolute;
- width: 72%;
- height: 22.2%;
- left: 13.8%;
- top: 36%;
- }
- #popup-lucky .game-container .game-item {
- position: relative;
- display: inline-block;
- height: 100%;
- width: 33%;
- margin-left: 0.5%;
- -webkit-transition: all .5s linear;
- transition: all .5s linear;
- }
- #popup-lucky .game-container .game-item:first-child {
- margin-left: 0;
- }
- #popup-lucky .game-container .game-item img {
- width: 100%;
- }
- #popup-lucky .game-container .game-item.back {
- transform: rotateY(90deg);
- -webkit-transform: rotateY(90deg);
- }
- #popup-lucky .btn-begin-luck {
- position: absolute;
- width: 54%;
- left: 23%;
- height: 17%;
- background: url(../img/lucky_btn_begin.png) no-repeat;
- background-size: 100%;
- bottom: 16%;
- }
- #popup-lucky .btn-begin-luck.loading {
- background: url(../img/lucky_btn_loading.png) no-repeat;
- background-size: 100%;
- }
- #popup-lucky .btn-show-gift {
- position: absolute;
- width: 40%;
- left: 30%;
- height: 10%;
- bottom: 5%;
- }
- #show {
- position: absolute;
- width: 100%;
- height: 85%;
- top: 20%;
- left: 10%;
- z-index: 100;
- /* background: url(../img/show.png) no-repeat;
- background-size: 100%;
- color: #ff933c;
- font-weight: bold;
- display: none; */
- z-index: 100;
- }
- #popup-game-result .btn-close {
- position: absolute;
- width: 12%;
- height: 10%;
- right: 0;
- top: 4%;
- }
- #popup-game-result .btn-ok {
- position: absolute;
- width: 48%;
- height: 11%;
- left: 26%;
- bottom: 9%;
- }
- #popup-game-result .base-score {
- position: absolute;
- font-size: 18px;
- text-align: right;
- right: 10%;
- top: 31%;
- }
- #popup-game-result .game-score {
- position: absolute;
- font-size: 18px;
- text-align: right;
- right: 10%;
- top: 43%;
- }
- #popup-game-result .time-score {
- position: absolute;
- font-size: 18px;
- text-align: right;
- right: 10%;
- top: 55%;
- }
- #popup-game-result .game-total-score {
- font-size: 22px;
- text-align: center;
- margin-top: 82%;
- }
- #popup-my-gift {
- position: absolute;
- width: 90%;
- height: 85%;
- top: 8%;
- left: 5%;
- background: url(../img/mygift_bg.png) no-repeat;
- background-size: 100%;
- }
- #popup-my-gift .btn-close {
- position: absolute;
- width: 12%;
- height: 10%;
- right: 0;
- top: 4%;
- }
- #popup-my-gift .btn-ensure {
- position: absolute;
- width: 48%;
- height: 11%;
- left: 26%;
- bottom: 9%;
- }
- #popup-my-gift .gift-list {
- position: absolute;
- width: 80%;
- height: 50%;
- left: 10%;
- top: 29%;
- overflow-y: auto;
- }
- #popup-my-gift .gift-list li {
- overflow: hidden;
- font-size: 18px;
- line-height: 40px;
- border-bottom: 2px dotted #c2c2c2;
- }
- #popup-my-gift .gift-list .name {
- float: left;
- }
- #popup-my-gift .gift-list .num {
- float: right;
- }
- #get-life {
- display: none;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, .8);
- z-index: 1;
- }
- #get-life img {
- position: absolute;
- width: 88%;
- left: 6%;
- }
- #loading {
- display: none;
- position: absolute;
- width: 14%;
- height: 30%;
- top: 40%;
- left: 43%;
- }
- #loading img {
- width: 100%;
- -webkit-animation: loadingRotate .5s linear infinite;
- -moz-animation: loadingRotate .5s linear infinite;
- -ms-animation: loadingRotate .5s linear infinite;
- -o-animation: loadingRotate .5s linear infinite;
- animation: loadingRotate .5s linear infinite;
- }
- @keyframes loadingRotate {
- from {
- transform: rotate(0deg);
- -webkit-transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- -webkit-transform: rotate(0deg);
- }
- }
- #popup-secondary {
- display: none;
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.6);
- z-index: 2;
- }
- #popup-secondary .secondary-popup-item {
- display: none;
- }
- #gift-list {
- position: absolute;
- width: 80%;
- left: 10%;
- top: 10%;
- background: url(../img/gift_list_bg.png) no-repeat;
- background-size: 100%;
- }
- #gift-list .close-btn {
- position: absolute;
- width: 50%;
- left: 25%;
- bottom: 4%;
- height: 9%;
- }
- #gift-list .content-list {
- position: absolute;
- width: 96%;
- height: 72%;
- left: 2%;
- top: 13%;
- font-size: 16px;
- line-height: 25px;
- overflow-y: auto;
- -webkit-overflow-scrolling: touch;
- }
- #gift-list .content-list img {
- width: 100%;
- }
- #draw-result {
- position: absolute;
- width: 90%;
- left: 5%;
- top: 10%;
- background: url(../img/draw_result.png) no-repeat;
- background-size: 100%;
- }
- #draw-result .btn-close {
- position: absolute;
- width: 50%;
- left: 25%;
- bottom: 13%;
- height: 15%;
- }
- #draw-result .text {
- text-align: center;
- color: #FFF;
- margin-top: 41%;
- font-weight: bold;
- }
- #draw-failed {
- position: absolute;
- width: 80%;
- left: 10%;
- top: 20%;
- background: url(../img/draw_failed_bg.png) no-repeat;
- background-size: 100%;
- }
- #draw-failed .btn-close {
- position: absolute;
- width: 50%;
- left: 25%;
- bottom: 15%;
- height: 15%;
- }
- #draw-result-real {
- position: absolute;
- width: 90%;
- left: 5%;
- top: 10%;
- background: url(../img/draw_result_real.png) no-repeat;
- background-size: 100%;
- }
- #draw-result-real .btn-close {
- position: absolute;
- width: 12%;
- height: 10%;
- right: 0;
- top: 4%;
- }
- #draw-result-real .btn-submit {
- position: absolute;
- width: 68%;
- height: 10%;
- left: 16%;
- bottom: 6%;
- }
- #draw-result-real .text {
- text-align: center;
- font-size: 26px;
- color: #FFF;
- margin-top: 40%;
- font-weight: bold;
- }
- #user-info {
- position: relative;
- text-align: center;
- margin-top: 20%;
- height: 35%;
- }
- #user-info .draw-result-input {
- width: 80%;
- border: 1px solid #49b121;
- line-height: 40px;
- border-radius: 5px;
- margin: 10px 0 0 0;
- padding: 0 5px;
- background-color: #FFF;
- color: #333;
- height: 23%;
- }
- #user-info .input-arrow {
- position: absolute;
- right: 11%;
- bottom: 16%;
- font-size: 16px;
- font-weight: bold;
- color: #666666;
- width: 3%;
- height: 12%;
- background: url(../img/input_arrow.png) bottom no-repeat;
- background-size: 100%;
- }
- #user-expr-container {
- height: 23%;
- }
- /*帮助页面*/
- #help-view {
- height: 100%;
- width: 100%;
- background: url(../img/help_bg.jpg) bottom repeat-y;
- background-size: 100%;
- }
- #help-head {
- background: url(../img/help_head.png) no-repeat;
- background-size: 100%;
- }
- #help-head .text {
- font-weight: bold;
- color: #FFF;
- font-size: 26px;
- text-align: center;
- margin-top: 3.5%;
- text-shadow: #000 1px 1px 5px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- padding: 0 10%;
- }
- .help-operator {
- position: absolute;
- width: 90%;
- left: 5%;
- top: 14%;
- background: url(../img/help_opr_bg.png) no-repeat;
- background-size: 100%;
- }
- .help-operator .life-num {
- font-size: 34px;
- color: #FFF;
- margin-top: 19%;
- font-weight: bold;
- text-align: center;
- }
- .help-operator .prompt {
- text-align: center;
- font-size: 16px;
- color: #ff8d30;
- margin-top: 5%;
- }
- .help-operator .btn-add {
- height: 25%;
- width: 66%;
- margin: 4% auto 0 auto;
- background: url(../img/help_btn_add.png) no-repeat;
- background-size: 100%;
- }
- .help-operator .btn-join {
- height: 25%;
- width: 66%;
- margin: 4% auto 0 auto;
- background: url(../img/help_btn_join.png) no-repeat;
- background-size: 100%;
- }
- #help-after {
- display: none;
- background: url(../img/help_after_bg.png) no-repeat;
- background-size: 100%;
- }
- #help-broadcast-container {
- position: absolute;
- width: 90%;
- height: 10%;
- left: 5%;
- top: 61%;
- background: url(../img/help_broadcast_bg.png) no-repeat;
- background-size: 100%;
- overflow: hidden;
- }
- #help-broadcast {
- visibility: hidden;
- overflow: hidden;
- margin-left: 10%;
- width: 90%;
- }
- #help-broadcast .broadcast-wrapper {
- overflow: hidden;
- -webkit-transition: margin-left .1s linear;
- transition: margin-left .1s linear;
- }
- #help-broadcast .broadcast-slide {
- color: #c76833;
- float: left;
- margin-right: 20px;
- height: 30px;
- line-height: 30px;
- font-size: 14px;
- }
- #help-btn-luck {
- position: absolute;
- background: url(../img/help_btn_luck.png) no-repeat;
- background-size: 100%;
- width: 52%;
- height: 10%;
- left: 24%;
- top: 68%;
- }
- #help-btn-friends {
- position: absolute;
- font-weight: 700;
- font-size: 18px;
- color: #da7e74;
- width: 32%;
- left: 0;
- bottom: 0;
- text-align: center;
- text-decoration: underline;
- padding: 5% 0;
- }
- #help-btn-friends .num {
- display: none;
- position: absolute;
- background-color: #FFF;
- color: #a03429;
- font-size: 12px;
- text-align: center;
- width: 15px;
- height: 15px;
- border-radius: 50%;
- right: 11%;
- top: 23%;
- }
- #help-btn-role {
- position: absolute;
- font-weight: 700;
- font-size: 18px;
- color: #da7e74;
- width: 32%;
- right: 0;
- bottom: 0;
- text-align: center;
- text-decoration: underline;
- padding: 5% 0;
- }
- #qrcode-view {
- display: none;
- width: 100%;
- height: 100%;
- background: url(../img/qrcode_bg.jpg) repeat-y bottom;
- background-size: 100%;
- }
- #qrcode-view .qrcode-content {
- position: absolute;
- width: 90%;
- height: 80%;
- left: 5%;
- top: 10%;
- background: url(../img/qrcode_img.png) no-repeat;
- background-size: 100%;
- text-align: center;
- }
- #qrcode-view img {
- width: 60%;
- margin-top: 44%;
- }
- #qrcode-view .qrcode-btn-rule {
- position: absolute;
- height: 10%;
- width: 60%;
- bottom: 7%;
- left: 20%;
- }
- #alert {
- display: none;
- position: absolute;
- top: 0;
- left: 0;
- background-color: rgba(0, 0, 0, .6);
- width: 100%;
- height: 100%;
- z-index: 2;
- }
- #alert .text {
- position: absolute;
- box-sizing: border-box;
- background-color: #FFF;
- width: 80%;
- left: 10%;
- top: 40%;
- color: #252525;
- font-size: 14px;
- text-align: center;
- padding: 20px 50px;
- border-radius: 10px;
- }
- #accident-prompt {
- visibility: hidden;
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, .5);
- z-index: 2;
- }
- #accident-prompt .text {
- position: absolute;
- box-sizing: border-box;
- background-color: #FFF;
- width: 80%;
- left: 10%;
- top: 40%;
- color: #252525;
- font-size: 14px;
- text-align: center;
- padding: 20px 50px;
- border-radius: 10px;
- }
- #cur-point {
- position: absolute;
- overflow: hidden;
- top: 55%;
- font-size: 0;
- font-weight: 700;
- color: #FFF;
- width: 46%;
- left: 29%;
- }
- #cur-point img {
- width: 32px;
- float: left;
- }
- #cur-point .text {
- font-size: 16px;
- margin-top: 6px;
- float: left;
- }
|