_store.scss 8.5KB

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