@charset "UTF-8"; html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /******x reset end*****/ * { box-sizing: border-box; -ms-box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; margin: 0; padding: 0; border: 0; } html, body { -webkit-overflow-scrolling: touch; } a { background-color: transparent; outline: 0; text-decoration: none; -webkit-tap-highlight-color: transparent; cursor: pointer; } .clear { clear: both; *zoom: 1; } .cf:after { font-size: 0; display: block; visibility: hidden; clear: both; height: 0; content: ''; } .center-block { display: block; margin-left: auto; margin-right: auto; } /*显示类*/ .hide, .hidden { display: none; } .show { display: block; } .invisible { visibility: hidden; } .visible { visibility: visible; } .block { display: block; } .inline { display: inline; } .inlineblock, .inline-block { display: inline-block; *display: inline; *zoom: 1; } /*位置浮动类*/ .float-left, .pull-left { float: left; } .float-right, .pull-right { float: right; } .vertical-middle { vertical-align: middle; } .over-hide, .over-hidden { overflow: hidden; } .table { display: table; } .table-cell { display: table-cell; } .scroll-auto, .scrollauto { overflow: auto; } .scroll { overflow: auto; } /*内联文本类*/ .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } .text-justify { text-align: justify !important; } .text-truncate { overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; white-space: nowrap; } .text-nowrap, .nowrap { white-space: nowrap; } .breakall, .break-all, .text-break { word-break: break-all; } .text-bold, .font-bold { font-weight: bold !important; } .text-lowercase, .lowercase { text-transform: lowercase !important; } .text-uppercase, .uppercase { text-transform: uppercase !important; } .text-capitalize { text-transform: capitalize !important; } .text-white { color: #fff !important; } .text-muted { color: #636c72 !important; } .hover-transition { -webkit-transition: all 0.35s ease; -o-transition: all 0.35s ease; -moz-transition: all 0.35s ease; transition: all 0.35s ease; } body { font-family: "PingFang SC", "PingHei", "STHeitiSC-Light", "Myriad Set Pro", "Lucida Grande", "Helvetica Neue", "Helvetica", "microsoft yahei", "SimHei", "tahoma", "Arial", "Verdana", "sans-serif"; } textarea, input { outline: none; } .voice_active:after { content: ' '; width: .893333rem; height: .893333rem; display: block; background: url("../images/voice_active.png"); -moz-background-size: 100% 100%; background-size: 100% 100%; position: absolute; z-index: 100; top: 0; left: 0; } * { margin: 0; padding: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-tap-highlight-color: transparent; } select { -webkit-appearance: none; -moz-appearance: none; appearance: none; } body { line-height: 1.5; color: #151f3a; } li { list-style: none; } a { text-decoration: none; } img { max-width: 100%; vertical-align: top; } .hide { display: none !important; } .show { display: show !important; } .bold { font-weight: bold; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .warp { width: 10rem; margin: 0 auto; position: relative; height: 100vh; background: url(../img/loading/bg.jpg) no-repeat 0 0/cover; } .loading { position: fixed; top: 0; left: 50%; width: 10rem; height: 100vh; margin-left: -5rem; background: url(../img/loading/bg.jpg) no-repeat 0 0/cover; z-index: 100; /*display: none;*/ } .loading .curtain-box { position: absolute; top: 0.89062rem; left: 50%; width: 10.42188rem; height: 14.04688rem; margin-left: -5.21094rem; background: url(../img/loading/bg2.png) no-repeat 0 0/100% auto; } .loading .curtain-box .txt { position: absolute; top: 5.3125rem; left: 50%; width: 2.5625rem; margin-left: -1.28125rem; } .loading .curtain-box .loading-bar { position: absolute; top: 10.625rem; left: 50%; width: 7.5rem; margin-left: -3.75rem; } .loading .curtain-box .loading-bar .load-txt { font-size: 0.53125rem; color: #1e0502; text-align: center; text-shadow: 2px 2px 0 #b9b988; margin-bottom: 0.78125rem; } .loading .curtain-box .loading-bar .bar { width: 100%; height: 0.26562rem; border: 1px solid rgba(255, 255, 255, 0.5); -webkit-border-radius: 0.26562rem; -moz-border-radius: 0.26562rem; border-radius: 0.26562rem; white-space: nowrap; } .loading .curtain-box .loading-bar .bar span { width: 0; height: 100%; background: -webkit-gradient(linear, left top, right bottom, from(#00489d), to(#3478c9)); background: -webkit-linear-gradient(top left, #00489d, #3478c9); background: -moz-linear-gradient(top left, #00489d, #3478c9); background: -o-linear-gradient(top left, #00489d, #3478c9); background: linear-gradient(to bottom right, #00489d, #3478c9); display: block; position: relative; } .loading .curtain-box .loading-bar .bar .icon-load { position: absolute; right: -1.40625rem; top: 50%; width: 2.15625rem; height: 1.04688rem; margin-top: -0.52344rem; background: url(../img/loading/loading_icon.png) no-repeat 0 0/100% auto; } .select-dish-box { position: absolute; top: 1.17188rem; left: 50%; width: 10rem; height: 15.53125rem; margin-left: -5rem; background: url(../img/menu_bg.png) no-repeat 0 0/100% auto; padding-top: 2.34375rem; } .select-dish-box .tt { width: 3.85938rem; margin: 0 auto; display: block; } .select-dish-box .list { margin: 1.09375rem auto 0; width: 3.82812rem; } .select-dish-box .list .item { margin-bottom: 0.9375rem; } .select-dish-box .list .item.active { -webkit-filter: grayscale(50%); filter: grayscale(50%); } .select-dish-box .confirm { width: 2.8125rem; height: 0.92188rem; margin: 0 auto; background: url(../img/select_menu_btn.png) no-repeat 0 0/100% auto; display: none; } .game-box { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; z-index: 1; display: none; } .anim-light { -webkit-animation: light 2s ease-out infinite; -moz-animation: light 2s ease-out infinite; -o-animation: light 2s ease-out infinite; animation: light 2s ease-out infinite; } @-webkit-keyframes light { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } } @-moz-keyframes light { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } } @-o-keyframes light { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } } @keyframes light { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }