main.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  1. @charset "UTF-8";
  2. html,
  3. body,
  4. div,
  5. span,
  6. applet,
  7. object,
  8. iframe,
  9. h1,
  10. h2,
  11. h3,
  12. h4,
  13. h5,
  14. h6,
  15. p,
  16. blockquote,
  17. pre,
  18. a,
  19. abbr,
  20. acronym,
  21. address,
  22. big,
  23. cite,
  24. code,
  25. del,
  26. dfn,
  27. em,
  28. img,
  29. ins,
  30. kbd,
  31. q,
  32. s,
  33. samp,
  34. small,
  35. strike,
  36. strong,
  37. sub,
  38. sup,
  39. tt,
  40. var,
  41. b,
  42. u,
  43. i,
  44. center,
  45. dl,
  46. dt,
  47. dd,
  48. ol,
  49. ul,
  50. li,
  51. fieldset,
  52. form,
  53. label,
  54. legend,
  55. table,
  56. caption,
  57. tbody,
  58. tfoot,
  59. thead,
  60. tr,
  61. th,
  62. td,
  63. article,
  64. aside,
  65. canvas,
  66. details,
  67. embed,
  68. figure,
  69. figcaption,
  70. footer,
  71. header,
  72. hgroup,
  73. menu,
  74. nav,
  75. output,
  76. ruby,
  77. section,
  78. summary,
  79. time,
  80. mark,
  81. audio,
  82. video {
  83. margin: 0;
  84. padding: 0;
  85. border: 0;
  86. font-size: 100%;
  87. font: inherit;
  88. vertical-align: baseline; }
  89. /* HTML5 display-role reset for older browsers */
  90. article,
  91. aside,
  92. details,
  93. figcaption,
  94. figure,
  95. footer,
  96. header,
  97. hgroup,
  98. menu,
  99. nav,
  100. section {
  101. display: block; }
  102. ol,
  103. ul {
  104. list-style: none; }
  105. blockquote,
  106. q {
  107. quotes: none; }
  108. blockquote:before,
  109. blockquote:after,
  110. q:before,
  111. q:after {
  112. content: '';
  113. content: none; }
  114. table {
  115. border-collapse: collapse;
  116. border-spacing: 0; }
  117. /******x reset end*****/
  118. * {
  119. box-sizing: border-box;
  120. -ms-box-sizing: border-box;
  121. -webkit-box-sizing: border-box;
  122. -moz-box-sizing: border-box;
  123. margin: 0;
  124. padding: 0;
  125. border: 0; }
  126. html,
  127. body {
  128. -webkit-overflow-scrolling: touch; }
  129. a {
  130. background-color: transparent;
  131. outline: 0;
  132. text-decoration: none;
  133. -webkit-tap-highlight-color: transparent;
  134. cursor: pointer; }
  135. .clear {
  136. clear: both;
  137. *zoom: 1; }
  138. .cf:after {
  139. font-size: 0;
  140. display: block;
  141. visibility: hidden;
  142. clear: both;
  143. height: 0;
  144. content: ''; }
  145. .center-block {
  146. display: block;
  147. margin-left: auto;
  148. margin-right: auto; }
  149. /*显示类*/
  150. .hide,
  151. .hidden {
  152. display: none; }
  153. .show {
  154. display: block; }
  155. .invisible {
  156. visibility: hidden; }
  157. .visible {
  158. visibility: visible; }
  159. .block {
  160. display: block; }
  161. .inline {
  162. display: inline; }
  163. .inlineblock,
  164. .inline-block {
  165. display: inline-block;
  166. *display: inline;
  167. *zoom: 1; }
  168. /*位置浮动类*/
  169. .float-left,
  170. .pull-left {
  171. float: left; }
  172. .float-right,
  173. .pull-right {
  174. float: right; }
  175. .vertical-middle {
  176. vertical-align: middle; }
  177. .over-hide,
  178. .over-hidden {
  179. overflow: hidden; }
  180. .table {
  181. display: table; }
  182. .table-cell {
  183. display: table-cell; }
  184. .scroll-auto,
  185. .scrollauto {
  186. overflow: auto; }
  187. .scroll {
  188. overflow: auto; }
  189. /*内联文本类*/
  190. .text-center {
  191. text-align: center; }
  192. .text-left {
  193. text-align: left; }
  194. .text-right {
  195. text-align: right; }
  196. .text-justify {
  197. text-align: justify !important; }
  198. .text-truncate {
  199. overflow: hidden;
  200. -o-text-overflow: ellipsis;
  201. text-overflow: ellipsis;
  202. white-space: nowrap; }
  203. .text-nowrap,
  204. .nowrap {
  205. white-space: nowrap; }
  206. .breakall,
  207. .break-all,
  208. .text-break {
  209. word-break: break-all; }
  210. .text-bold,
  211. .font-bold {
  212. font-weight: bold !important; }
  213. .text-lowercase,
  214. .lowercase {
  215. text-transform: lowercase !important; }
  216. .text-uppercase,
  217. .uppercase {
  218. text-transform: uppercase !important; }
  219. .text-capitalize {
  220. text-transform: capitalize !important; }
  221. .text-white {
  222. color: #fff !important; }
  223. .text-muted {
  224. color: #636c72 !important; }
  225. .hover-transition {
  226. -webkit-transition: all 0.35s ease;
  227. -o-transition: all 0.35s ease;
  228. -moz-transition: all 0.35s ease;
  229. transition: all 0.35s ease; }
  230. body {
  231. font-family: "PingFang SC", "PingHei", "STHeitiSC-Light", "Myriad Set Pro", "Lucida Grande", "Helvetica Neue", "Helvetica", "microsoft yahei", "SimHei", "tahoma", "Arial", "Verdana", "sans-serif"; }
  232. textarea,
  233. input {
  234. outline: none; }
  235. .voice_active:after {
  236. content: ' ';
  237. width: .893333rem;
  238. height: .893333rem;
  239. display: block;
  240. background: url("../images/voice_active.png");
  241. -moz-background-size: 100% 100%;
  242. background-size: 100% 100%;
  243. position: absolute;
  244. z-index: 100;
  245. top: 0;
  246. left: 0; }
  247. * {
  248. margin: 0;
  249. padding: 0;
  250. -webkit-box-sizing: border-box;
  251. -moz-box-sizing: border-box;
  252. box-sizing: border-box;
  253. -webkit-tap-highlight-color: transparent; }
  254. select {
  255. -webkit-appearance: none;
  256. -moz-appearance: none;
  257. appearance: none; }
  258. body {
  259. line-height: 1.5;
  260. color: #151f3a; }
  261. li {
  262. list-style: none; }
  263. a {
  264. text-decoration: none; }
  265. img {
  266. max-width: 100%;
  267. vertical-align: top; }
  268. .hide {
  269. display: none !important; }
  270. .show {
  271. display: show !important; }
  272. .bold {
  273. font-weight: bold; }
  274. .clearfix:after {
  275. content: ".";
  276. display: block;
  277. height: 0;
  278. clear: both;
  279. visibility: hidden; }
  280. .warp {
  281. width: 10rem;
  282. margin: 0 auto;
  283. position: relative;
  284. height: 100vh;
  285. background: url(../img/loading/bg.jpg) no-repeat 0 0/cover; }
  286. .loading {
  287. position: fixed;
  288. top: 0;
  289. left: 50%;
  290. width: 10rem;
  291. height: 100vh;
  292. margin-left: -5rem;
  293. background: url(../img/loading/bg.jpg) no-repeat 0 0/cover;
  294. z-index: 100;
  295. /*display: none;*/ }
  296. .loading .curtain-box {
  297. position: absolute;
  298. top: 0.89062rem;
  299. left: 50%;
  300. width: 10.42188rem;
  301. height: 14.04688rem;
  302. margin-left: -5.21094rem;
  303. background: url(../img/loading/bg2.png) no-repeat 0 0/100% auto; }
  304. .loading .curtain-box .txt {
  305. position: absolute;
  306. top: 5.3125rem;
  307. left: 50%;
  308. width: 2.5625rem;
  309. margin-left: -1.28125rem; }
  310. .loading .curtain-box .loading-bar {
  311. position: absolute;
  312. top: 10.625rem;
  313. left: 50%;
  314. width: 7.5rem;
  315. margin-left: -3.75rem; }
  316. .loading .curtain-box .loading-bar .load-txt {
  317. font-size: 0.53125rem;
  318. color: #1e0502;
  319. text-align: center;
  320. text-shadow: 2px 2px 0 #b9b988;
  321. margin-bottom: 0.78125rem; }
  322. .loading .curtain-box .loading-bar .bar {
  323. width: 100%;
  324. height: 0.26562rem;
  325. border: 1px solid rgba(255, 255, 255, 0.5);
  326. -webkit-border-radius: 0.26562rem;
  327. -moz-border-radius: 0.26562rem;
  328. border-radius: 0.26562rem;
  329. white-space: nowrap; }
  330. .loading .curtain-box .loading-bar .bar span {
  331. width: 0;
  332. height: 100%;
  333. background: -webkit-gradient(linear, left top, right bottom, from(#00489d), to(#3478c9));
  334. background: -webkit-linear-gradient(top left, #00489d, #3478c9);
  335. background: -moz-linear-gradient(top left, #00489d, #3478c9);
  336. background: -o-linear-gradient(top left, #00489d, #3478c9);
  337. background: linear-gradient(to bottom right, #00489d, #3478c9);
  338. display: block;
  339. position: relative; }
  340. .loading .curtain-box .loading-bar .bar .icon-load {
  341. position: absolute;
  342. right: -1.40625rem;
  343. top: 50%;
  344. width: 2.15625rem;
  345. height: 1.04688rem;
  346. margin-top: -0.52344rem;
  347. background: url(../img/loading/loading_icon.png) no-repeat 0 0/100% auto; }
  348. .select-dish-box {
  349. position: absolute;
  350. top: 1.17188rem;
  351. left: 50%;
  352. width: 10rem;
  353. height: 15.53125rem;
  354. margin-left: -5rem;
  355. background: url(../img/menu_bg.png) no-repeat 0 0/100% auto;
  356. padding-top: 2.34375rem; }
  357. .select-dish-box .tt {
  358. width: 3.85938rem;
  359. margin: 0 auto;
  360. display: block; }
  361. .select-dish-box .list {
  362. margin: 1.09375rem auto 0;
  363. width: 3.82812rem; }
  364. .select-dish-box .list .item {
  365. margin-bottom: 0.9375rem; }
  366. .select-dish-box .list .item.active {
  367. -webkit-filter: grayscale(50%);
  368. filter: grayscale(50%); }
  369. .select-dish-box .confirm {
  370. width: 2.8125rem;
  371. height: 0.92188rem;
  372. margin: 0 auto;
  373. background: url(../img/select_menu_btn.png) no-repeat 0 0/100% auto;
  374. display: none; }
  375. .game-box {
  376. position: absolute;
  377. top: 0;
  378. left: 0;
  379. width: 100%;
  380. height: 100vh;
  381. z-index: 1;
  382. display: none; }
  383. .anim-light {
  384. -webkit-animation: light 2s ease-out infinite;
  385. -moz-animation: light 2s ease-out infinite;
  386. -o-animation: light 2s ease-out infinite;
  387. animation: light 2s ease-out infinite; }
  388. @-webkit-keyframes light {
  389. 0%, 100% {
  390. opacity: 1; }
  391. 50% {
  392. opacity: 0.7; } }
  393. @-moz-keyframes light {
  394. 0%, 100% {
  395. opacity: 1; }
  396. 50% {
  397. opacity: 0.7; } }
  398. @-o-keyframes light {
  399. 0%, 100% {
  400. opacity: 1; }
  401. 50% {
  402. opacity: 0.7; } }
  403. @keyframes light {
  404. 0%, 100% {
  405. opacity: 1; }
  406. 50% {
  407. opacity: 0.7; } }