index.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. * {
  2. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  3. }
  4. body {
  5. -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
  6. -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
  7. -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
  8. background-color: #ffffff;
  9. font-family: system-ui, -apple-system, -apple-system-font, "Segoe UI",
  10. "Roboto", sans-serif;
  11. font-size: 12px;
  12. height: 100vh;
  13. margin: 0px;
  14. padding: 0px;
  15. /* Padding to avoid the "unsafe" areas behind notches in the screen */
  16. padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
  17. env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  18. text-transform: uppercase;
  19. width: 100%;
  20. }
  21. .splash {
  22. background: #fff7ee;
  23. display: flex;
  24. align-items: center;
  25. justify-content: center;
  26. height: 100vh;
  27. }
  28. .splash .banner-logo {
  29. width: 100%;
  30. height: auto;
  31. }
  32. #app {
  33. display: flex;
  34. flex-direction: column;
  35. }
  36. .banner-logo {
  37. width: 100%;
  38. height: 160px;
  39. }
  40. .cell {
  41. height: 60px;
  42. display: flex;
  43. align-items: center;
  44. border-bottom: 1px solid #f2f4f5;
  45. margin: 0 20px 0 20px;
  46. }
  47. .cell .icon {
  48. width: 24px;
  49. min-width: 24px;
  50. height: 24px;
  51. }
  52. .content {
  53. flex-grow: 1;
  54. font-size: 16px;
  55. color: black;
  56. font-weight: bold;
  57. line-height: 60px;
  58. margin-left: 30px;
  59. border: none;
  60. outline: none;
  61. background: none;
  62. }
  63. .content::-webkit-input-placeholder {
  64. color: #aaacad;
  65. font-size: 13px;
  66. line-height: 60px;
  67. font-weight: 400;
  68. }
  69. .content::-moz-placeholder {
  70. color: #aaacad;
  71. font-size: 13px;
  72. line-height: 60px;
  73. font-weight: 400;
  74. }
  75. .content:-ms-input-placeholder {
  76. color: #aaacad;
  77. font-size: 13px;
  78. line-height: 60px;
  79. font-weight: 400;
  80. }
  81. .btn-code {
  82. width: 86px;
  83. height: 34px;
  84. background: #f7931d;
  85. border-radius: 17px;
  86. font-size: 12px;
  87. color: #ffffff;
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. }
  92. .btn-code.disabled {
  93. background: #8f9294;
  94. }
  95. .btn-confirm {
  96. width: 230px;
  97. height: 50px;
  98. background: #f7931d;
  99. border-radius: 25px;
  100. font-size: 16px;
  101. color: #ffffff;
  102. font-weight: bold;
  103. display: flex;
  104. align-items: center;
  105. justify-content: center;
  106. margin: 35px auto 20px auto;
  107. }
  108. .btn-confirm.disabled {
  109. background: #8f9294;
  110. }
  111. /*!
  112. * Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/)
  113. * Copyright 2015 Daniel Cardoso <@DanielCardoso>
  114. * Licensed under MIT
  115. */
  116. .la-line-scale,
  117. .la-line-scale > div {
  118. position: relative;
  119. -webkit-box-sizing: border-box;
  120. -moz-box-sizing: border-box;
  121. box-sizing: border-box;
  122. }
  123. .la-line-scale {
  124. display: block;
  125. font-size: 0;
  126. color: #fff;
  127. }
  128. .la-line-scale.la-dark {
  129. color: #333;
  130. }
  131. .la-line-scale > div {
  132. display: inline-block;
  133. float: none;
  134. background-color: currentColor;
  135. border: 0 solid currentColor;
  136. }
  137. .la-line-scale {
  138. width: 40px;
  139. height: 32px;
  140. }
  141. .la-line-scale > div {
  142. width: 4px;
  143. height: 32px;
  144. margin: 2px;
  145. margin-top: 0;
  146. margin-bottom: 0;
  147. border-radius: 0;
  148. -webkit-animation: line-scale 1.2s infinite ease;
  149. -moz-animation: line-scale 1.2s infinite ease;
  150. -o-animation: line-scale 1.2s infinite ease;
  151. animation: line-scale 1.2s infinite ease;
  152. }
  153. .la-line-scale > div:nth-child(1) {
  154. -webkit-animation-delay: -1.2s;
  155. -moz-animation-delay: -1.2s;
  156. -o-animation-delay: -1.2s;
  157. animation-delay: -1.2s;
  158. }
  159. .la-line-scale > div:nth-child(2) {
  160. -webkit-animation-delay: -1.1s;
  161. -moz-animation-delay: -1.1s;
  162. -o-animation-delay: -1.1s;
  163. animation-delay: -1.1s;
  164. }
  165. .la-line-scale > div:nth-child(3) {
  166. -webkit-animation-delay: -1s;
  167. -moz-animation-delay: -1s;
  168. -o-animation-delay: -1s;
  169. animation-delay: -1s;
  170. }
  171. .la-line-scale > div:nth-child(4) {
  172. -webkit-animation-delay: -0.9s;
  173. -moz-animation-delay: -0.9s;
  174. -o-animation-delay: -0.9s;
  175. animation-delay: -0.9s;
  176. }
  177. .la-line-scale > div:nth-child(5) {
  178. -webkit-animation-delay: -0.8s;
  179. -moz-animation-delay: -0.8s;
  180. -o-animation-delay: -0.8s;
  181. animation-delay: -0.8s;
  182. }
  183. .la-line-scale.la-sm {
  184. width: 20px;
  185. height: 16px;
  186. }
  187. .la-line-scale.la-sm > div {
  188. width: 2px;
  189. height: 16px;
  190. margin: 1px;
  191. margin-top: 0;
  192. margin-bottom: 0;
  193. }
  194. .la-line-scale.la-2x {
  195. width: 80px;
  196. height: 64px;
  197. }
  198. .la-line-scale.la-2x > div {
  199. width: 8px;
  200. height: 64px;
  201. margin: 4px;
  202. margin-top: 0;
  203. margin-bottom: 0;
  204. }
  205. .la-line-scale.la-3x {
  206. width: 120px;
  207. height: 96px;
  208. }
  209. .la-line-scale.la-3x > div {
  210. width: 12px;
  211. height: 96px;
  212. margin: 6px;
  213. margin-top: 0;
  214. margin-bottom: 0;
  215. }
  216. /*
  217. * Animation
  218. */
  219. @-webkit-keyframes line-scale {
  220. 0%,
  221. 40%,
  222. 100% {
  223. -webkit-transform: scaleY(0.4);
  224. transform: scaleY(0.4);
  225. }
  226. 20% {
  227. -webkit-transform: scaleY(1);
  228. transform: scaleY(1);
  229. }
  230. }
  231. @-moz-keyframes line-scale {
  232. 0%,
  233. 40%,
  234. 100% {
  235. -webkit-transform: scaleY(0.4);
  236. -moz-transform: scaleY(0.4);
  237. transform: scaleY(0.4);
  238. }
  239. 20% {
  240. -webkit-transform: scaleY(1);
  241. -moz-transform: scaleY(1);
  242. transform: scaleY(1);
  243. }
  244. }
  245. @-o-keyframes line-scale {
  246. 0%,
  247. 40%,
  248. 100% {
  249. -webkit-transform: scaleY(0.4);
  250. -o-transform: scaleY(0.4);
  251. transform: scaleY(0.4);
  252. }
  253. 20% {
  254. -webkit-transform: scaleY(1);
  255. -o-transform: scaleY(1);
  256. transform: scaleY(1);
  257. }
  258. }
  259. @keyframes line-scale {
  260. 0%,
  261. 40%,
  262. 100% {
  263. -webkit-transform: scaleY(0.4);
  264. -moz-transform: scaleY(0.4);
  265. -o-transform: scaleY(0.4);
  266. transform: scaleY(0.4);
  267. }
  268. 20% {
  269. -webkit-transform: scaleY(1);
  270. -moz-transform: scaleY(1);
  271. -o-transform: scaleY(1);
  272. transform: scaleY(1);
  273. }
  274. }