_index.scss 8.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. @charset "UTF-8";
  2. .wrapper {
  3. position: fixed;
  4. width: 640px;
  5. height: 100%;
  6. background-color: #fff;
  7. overflow: hidden;
  8. }
  9. .intro__container {
  10. position: absolute;
  11. width: 100%;
  12. height: 100%;
  13. left: 0;
  14. top: 0;
  15. z-index: 100;
  16. .intro__content {
  17. position: absolute;
  18. width: 640px;
  19. height: 1138px;
  20. top: 50%;
  21. margin-top: -569px;
  22. left: 0;
  23. }
  24. }
  25. .game {
  26. &__container {
  27. position: absolute;
  28. width: 100%;
  29. height: 100%;
  30. left: 0;
  31. top: 0;
  32. z-index: 100;
  33. }
  34. &__fixed {
  35. position: absolute;
  36. width: 750px;
  37. height: 1138px;
  38. left: 50%;
  39. margin-left: -375px;
  40. top: 50%;
  41. margin-top: -569px;
  42. }
  43. &__content {
  44. position: absolute;
  45. width: 750px;
  46. height: 1138px;
  47. left: 0;
  48. top: 0;
  49. }
  50. &__myScore {
  51. position: absolute;
  52. right: 159px;
  53. top: 2px;
  54. font-family: 'Abril Fatface';
  55. // z-index: 200;
  56. font-size: 70px;
  57. /* background: #ccc; */
  58. width: 140px;
  59. height: 100px;
  60. color: #fff;
  61. text-align: center;
  62. }
  63. &__store {
  64. position: absolute;
  65. left: 118px;
  66. top: 498px;
  67. z-index: 200;
  68. width: 515px;
  69. height: 544px;
  70. text-align: center;
  71. overflow-y: auto;
  72. overflow-x: hidden;
  73. display: none;
  74. }
  75. }
  76. .coupon__item {
  77. position: relative;
  78. width: 515px;
  79. height: 194px;
  80. background-image: url("../images/coupon-frame.png");
  81. &__hitArea {
  82. position: absolute;
  83. width: 467px;
  84. height: 152px;
  85. background: transparent;
  86. left: 24px;
  87. top: 20px;
  88. }
  89. &__lp{
  90. position: absolute;
  91. font-family: 'Abril Fatface';
  92. font-size: 100px;
  93. width: 76px;
  94. height: 145px;
  95. color: #fff;
  96. left: 110px;
  97. top: 16px;
  98. text-shadow: #3d3d3d -2px 2px 4px;
  99. }
  100. &__gp{
  101. position: absolute;
  102. font-family: 'Abril Fatface';
  103. font-size: 56px;
  104. width: 120px;
  105. height: 145px;
  106. color: #fff;
  107. left: 311px;
  108. top: 27px;
  109. text-shadow: #3d3d3d -2px 2px 4px;
  110. }
  111. &.coupon__item__video {
  112. background-image: url("../images/coupon-frame-green.png");
  113. }
  114. &.coupon__item__1p {
  115. background-image: url("../images/coupon-1p.png");
  116. }
  117. &.coupon__item__3p {
  118. background-image: url("../images/coupon-3p.png");
  119. }
  120. &.coupon__item__5p {
  121. background-image: url("../images/coupon-5p.png");
  122. }
  123. &.coupon__item__10p {
  124. background-image: url("../images/coupon-10p.png");
  125. }
  126. &.coupon__item__sellout {
  127. background-image: url("../images/coupon-1p.png");
  128. }
  129. .coupon__item__btn {
  130. position: absolute;
  131. width: 295px;
  132. height: 90px;
  133. top: 93px;
  134. right: 11px;
  135. background-image: url("../images/coupon-btn-sell.png");
  136. }
  137. .coupon__item__btn.used {
  138. background-image: url("../images/coupon-btn-used.png");
  139. }
  140. .coupon__item__btn.lock {
  141. background-image: url("../images/coupon-btn-lock.png");
  142. }
  143. &.coupon__item__10p .coupon__item__btn.lock {
  144. background-image: url("../images/coupon-btn-lock-g.png");
  145. }
  146. &.sellout {
  147. .coupon__item__overlayer {
  148. position: absolute;
  149. width: 100%;
  150. height: 100%;
  151. background-image: url("../images/sellout.png");
  152. }
  153. }
  154. // &:active {
  155. // transform: scale(1.05);
  156. // }
  157. }
  158. .game__popout {
  159. position: fixed;
  160. width: 100%;
  161. height: 100%;
  162. z-index: 999;
  163. background-color: rgba(0, 0, 0, 0.7);
  164. display: none;
  165. left: 0;
  166. top: 0;
  167. &__container {
  168. position: absolute;
  169. width: 435px;
  170. height: 370px;
  171. left: 50%;
  172. top: 50%;
  173. margin-left: -217px;
  174. margin-top: -200px;
  175. background-image: url("../images/pop-bg.png");
  176. }
  177. &__content {
  178. position: absolute;
  179. width: 100%;
  180. height: 100%;
  181. left: 0;
  182. top: 0;
  183. .content {
  184. position: absolute;
  185. width: 100%;
  186. height: 100%;
  187. left: 0;
  188. top: 0;
  189. display: none;
  190. &__wait {
  191. background-image: url("../images/pop-content-wait.png");
  192. }
  193. &__wait__text {
  194. position: absolute;
  195. left: 221px;
  196. top: 152px;
  197. font-family: 'Abril Fatface';
  198. font-size: 42px;
  199. color: #fff;
  200. // text-shadow: 0.342px 0.94px 8px rgb(0 0 0 / 35%);
  201. text-shadow: .342px .94px 8px rgba(0, 0, 0, 0.5);
  202. }
  203. /**************************************/
  204. &__result__text {
  205. position: absolute;
  206. left: 39px;
  207. top: 38px;
  208. font-family: '微軟正黑體';
  209. font-size: 34px;
  210. color: #fff;
  211. width: 351px;
  212. height: 292px;
  213. overflow: hidden;
  214. padding: 16px;
  215. /* Center slide text vertically */
  216. display: -webkit-box;
  217. display: -ms-flexbox;
  218. display: -webkit-flex;
  219. display: flex;
  220. -webkit-box-pack: center;
  221. -ms-flex-pack: center;
  222. -webkit-justify-content: center;
  223. justify-content: center;
  224. -webkit-box-align: center;
  225. -ms-flex-align: center;
  226. -webkit-align-items: center;
  227. align-items: center;
  228. text-align: center;
  229. text-shadow: .342px .94px 8px rgba(0, 0, 0, 0.5);
  230. font-weight: bold;
  231. }
  232. /**************************************/
  233. &__1p {
  234. background-image: url("../images/pop-content-1p.png");
  235. }
  236. &__3p {
  237. background-image: url("../images/pop-content-3p.png");
  238. }
  239. &__5p {
  240. background-image: url("../images/pop-content-5p.png");
  241. }
  242. &__10p {
  243. background-image: url("../images/pop-content-10p.png");
  244. }
  245. &__no {
  246. background-image: url("../images/pop-content-no.png");
  247. }
  248. &__lp {
  249. background-image: url("../images/pop-content-lp.png");
  250. .lp{
  251. position: absolute;
  252. font-family: 'Abril Fatface';
  253. font-size: 100px;
  254. width: 76px;
  255. height: 145px;
  256. color: #fff;
  257. left: 210px;
  258. top: 108px;
  259. text-shadow: #3d3d3d -2px 2px 4px;
  260. text-align: right;
  261. }
  262. }
  263. }
  264. }
  265. &__submit {
  266. position: absolute;
  267. width: 307px;
  268. height: 112px;
  269. left: 50%;
  270. margin-left: -153px;
  271. bottom: 0;
  272. background-image: url("../images/pop-submit.png");
  273. &__text {
  274. position: absolute;
  275. left: 108px;
  276. top: 22px;
  277. font-family: 'Abril Fatface';
  278. font-size: 42px;
  279. color: #fff;
  280. width: 100px;
  281. text-align: center;
  282. text-shadow: .342px .94px 8px rgba(0, 0, 0, 0.5);
  283. }
  284. }
  285. &__close {
  286. position: absolute;
  287. width: 80px;
  288. height: 81px;
  289. background-image: url("../images/btn-close.png");
  290. top: -4px;
  291. right: -6px;
  292. &:active {
  293. transform: scale(1.05);
  294. }
  295. }
  296. }
  297. .effect__container {
  298. position: absolute;
  299. width: 254px;
  300. height: 58px;
  301. left: 27px;
  302. top: 27px;
  303. overflow: hidden;
  304. }
  305. .Scan {
  306. position: absolute;
  307. top: 0;
  308. right: 0;
  309. bottom: 0;
  310. left: 0;
  311. width: 800px;
  312. height: 200px;
  313. mix-blend-mode: screen;
  314. /* linear-gradient() make a light */
  315. background-image: linear-gradient( to bottom, rgba(255, 255, 255, 0),rgba(255, 255, 255, 0),rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.55),rgba(255, 255, 255, 0) );
  316. /* rotate light */
  317. transform-origin: center center;
  318. transform: translate(-100%, 50%) rotate(-60deg);
  319. /* keyframes animation */
  320. animation: ScanLights 2s cubic-bezier(0.25,0.1,0.25,1) 0s infinite;
  321. }
  322. @keyframes ScanLights {
  323. 0% {
  324. transform: translate(-70%, 50%) rotate(-60deg);
  325. }
  326. 100% {
  327. transform: translate(-20%, 50%) rotate(-60deg);
  328. }
  329. }
  330. /************************************************/
  331. .video__popout {
  332. position: fixed;
  333. width: 100%;
  334. height: 100%;
  335. z-index: 999;
  336. background-color: rgba(0, 0, 0, 0.7);
  337. display: none;
  338. .video__content {
  339. position: absolute;
  340. width: 640px;
  341. height: 360px;
  342. left: 50%;
  343. top: 50%;
  344. margin-left: -320px;
  345. margin-top: -180px;
  346. }
  347. .video__close{
  348. position: absolute;
  349. width: 80px;
  350. height: 81px;
  351. background-image: url("../images/btn-close.png");
  352. top: 50%;
  353. right: 0px;
  354. margin-top: -181px;
  355. }
  356. }
  357. /****************************/
  358. .main__pop__overlayer{
  359. position: absolute;
  360. width: 100%;
  361. height: 100%;
  362. // z-index: 999;
  363. background-color: rgba(0, 0, 0, 0.7);
  364. display: none;
  365. }
  366. .page__overlayer{
  367. position: fixed;
  368. width: 100%;
  369. height: 100%;
  370. left: 0;
  371. top: 0;
  372. background: #fff;
  373. z-index: 9999;
  374. }