activationCode.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. @media screen and (max-width: 750px) {
  2. html {
  3. font-size: calc(100vw / 7.5);
  4. }
  5. }
  6. @media screen and (min-width: 750px) {
  7. html {
  8. font-size: calc(450px / 7.5);
  9. }
  10. }
  11. html, body, div, ul, li, p {
  12. padding: 0;
  13. margin: 0;
  14. }
  15. ul, li {
  16. list-style: none;
  17. }
  18. .code-container {
  19. position: relative;
  20. width: 7.5rem;
  21. height: 100vh;
  22. margin: 0 auto;
  23. background: url(../img/game.png);
  24. background-repeat: repeat-y;
  25. background-size: cover;
  26. }
  27. .bottom-content{
  28. position: absolute;
  29. bottom: 0.53rem;
  30. left: 0.89rem;
  31. }
  32. .img-container{
  33. width: 5.72rem;
  34. height: 5.17rem;
  35. }
  36. .btn-content{
  37. position: absolute;
  38. bottom: 0.62rem;
  39. left: 1.25rem;
  40. }
  41. .get-gif, .try-play{
  42. width: 3.22rem;
  43. height: 0.9rem;
  44. display: block;
  45. }
  46. .try-play{
  47. margin-top: 0.14rem;
  48. }
  49. .mask {
  50. width: 7.5rem;
  51. height: 100vh;
  52. position: absolute;
  53. top: 0;
  54. left: 0;
  55. background: rgba(0, 0, 0, 0.24);
  56. display: none;
  57. }
  58. .dialog {
  59. width: 5.97rem;
  60. height: 4.58rem;
  61. background: #FFFFFF;
  62. border-radius: 0.2rem;
  63. position: absolute;
  64. left: 0.72rem;
  65. top: -6.96rem;
  66. overflow: hidden;
  67. }
  68. .close {
  69. width: 0.24rem;
  70. height: 0.25rem;
  71. background: url(../img/gameClose.png) no-repeat;
  72. background-size: 100% 100%;
  73. }
  74. .head-list{
  75. display: flex;
  76. justify-content: space-between;
  77. align-items: center;
  78. padding: 0 0.28rem;
  79. height: 0.67rem;
  80. background: linear-gradient(0deg, #E2FFF6 0%, #D0FCEC 100%);
  81. }
  82. .head-title{
  83. font-size: 0.33rem;
  84. }
  85. .content{
  86. margin: 0.97rem 0 0.28rem 0;
  87. text-align: center;
  88. font-size: 0.28rem;
  89. }
  90. #copy-code{
  91. width: 4.31rem;
  92. height: 0.86rem;
  93. line-height: 0.86rem;
  94. text-align: center;
  95. font-size: 0.33rem;
  96. background: #EBEBEB;
  97. border-radius: 0.14rem;
  98. margin: 0 auto;
  99. }
  100. .btn-list{
  101. display: flex;
  102. justify-content: flex-end;
  103. margin-top: 0.68rem;
  104. }
  105. .close-text{
  106. width: 0.74rem;
  107. height: 0.5rem;
  108. line-height: 0.5rem;
  109. text-align: center;
  110. font-size: 0.25rem;
  111. background: #EBEBEB;
  112. border-radius: 0.11rem;
  113. }
  114. .copy-btn{
  115. width: 1.39rem;
  116. height: 0.5rem;
  117. margin: 0 0.25rem 0 0.14rem;
  118. }
  119. .copy-success{
  120. width: 4.88rem;
  121. height: 4.88rem;
  122. display: flex;
  123. flex-direction: column;
  124. justify-content: center;
  125. align-items: center;
  126. background: #666666;
  127. border-radius: 0.23rem;
  128. position: absolute;
  129. left: 1.31rem;
  130. transform: scale(0);
  131. top: 4.36rem;
  132. overflow: hidden;
  133. transition: all 0.3s ease;
  134. }
  135. .on{
  136. transform: scale(1);
  137. }
  138. .success-img{
  139. width: 3rem;
  140. height: 3rem;
  141. }
  142. .success-text{
  143. margin-top: 0.2rem;
  144. color: #FFFFFF;
  145. font-size: 0.28rem;
  146. }
  147. #toast-container>.toast-error {
  148. background-image: none !important;
  149. }
  150. .toast-error {
  151. background-color: rgba(0, 0, 0, 0.8);
  152. }
  153. #toast-container>div {
  154. font-size: 14px;
  155. min-width: 80px !important;
  156. padding: 12px !important;
  157. box-shadow: none;
  158. }
  159. .toast-center-center {
  160. min-width: 100px;
  161. top: 50%;
  162. left: 50%;
  163. text-align: center;
  164. transform: translateX(-50%);
  165. }
  166. @media (max-width: 480px) and (min-width: 241px) {
  167. #toast-container>div {
  168. min-width: 80px !important;
  169. width: auto;
  170. }
  171. }