base.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. :root {
  2. --pageBGColor: #fff;
  3. --lightControlBGColor: #e6e6e6;
  4. --primaryControlBGColor: #0a84ff;
  5. --primaryControlFGColor: #fff;
  6. --primaryControlHoverColor: #0473e2;
  7. --inputTextColor: #737373;
  8. --errorColor: #d70022;
  9. --linkColor: #0094fb;
  10. --textColor: #0c0c0d;
  11. --lightBorderColor: rgba(12, 12, 12, 0.2);
  12. --lightTextColor: #737373;
  13. --successControlBGColor: #12bc00;
  14. --successControlFGColor: #fff;
  15. }
  16. html {
  17. font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'segoe ui',
  18. 'helvetica neue', helvetica, ubuntu, roboto, noto, arial, sans-serif;
  19. font-weight: 200;
  20. }
  21. body {
  22. font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'segoe ui',
  23. 'helvetica neue', helvetica, ubuntu, roboto, noto, arial, sans-serif;
  24. display: flex;
  25. flex-direction: column;
  26. margin: 0;
  27. min-height: 100vh;
  28. }
  29. input,
  30. select,
  31. textarea,
  32. button {
  33. font-family: inherit;
  34. margin: 0;
  35. }
  36. a {
  37. text-decoration: none;
  38. }
  39. .main {
  40. display: flex;
  41. flex: auto;
  42. padding: 0 25px;
  43. box-sizing: border-box;
  44. min-height: 500px;
  45. max-height: 630px;
  46. height: 100px;
  47. }
  48. .stripedBox {
  49. flex: none;
  50. position: relative;
  51. width: 400px;
  52. background-color: white;
  53. border-radius: 6px;
  54. box-shadow: 0 0 0 3px rgba(12, 12, 13, 0.2);
  55. background-image: repeating-linear-gradient(
  56. 45deg,
  57. white,
  58. white 5px,
  59. #ea000e 5px,
  60. #ea000e 25px,
  61. white 25px,
  62. white 30px,
  63. #0083ff 30px,
  64. #0083ff 50px
  65. );
  66. }
  67. .mainContent {
  68. height: 100%;
  69. background-color: white;
  70. box-sizing: border-box;
  71. margin: 0 10px;
  72. padding: 10px 10px 28px;
  73. display: flex;
  74. flex-direction: column;
  75. }
  76. .spacer {
  77. flex: auto;
  78. }
  79. .uploads {
  80. flex: 0 0 262px;
  81. position: relative;
  82. }
  83. .noscript {
  84. text-align: center;
  85. border: 3px solid var(--errorColor);
  86. border-radius: 6px;
  87. }
  88. .btn {
  89. display: block;
  90. width: 100%;
  91. height: 70px;
  92. line-height: 70px;
  93. font-size: 21px;
  94. font-weight: 500;
  95. text-transform: uppercase;
  96. text-align: center;
  97. letter-spacing: 0.56px;
  98. color: var(--primaryControlFGColor);
  99. background: var(--primaryControlBGColor);
  100. cursor: pointer;
  101. border: 0;
  102. border-radius: 5px;
  103. }
  104. .btn:hover {
  105. background-color: var(--primaryControlHoverColor);
  106. }
  107. .btn--stripes {
  108. background: repeating-linear-gradient(
  109. -65deg,
  110. #7c7c7c 0,
  111. #7c7c7c 17px,
  112. #737373 17px,
  113. #737373 30px
  114. );
  115. background-size: 300% 300%;
  116. animation: barberpole 12s linear infinite;
  117. }
  118. @keyframes barberpole {
  119. 0% {
  120. background-position: 100% 0%;
  121. }
  122. 100% {
  123. background-position: 0% 0%;
  124. }
  125. }
  126. .input {
  127. border: 1px solid var(--lightBorderColor);
  128. font-size: 20px;
  129. color: var(--inputTextColor);
  130. font-family: 'SF Pro Text', sans-serif;
  131. font-weight: 300;
  132. padding-left: 10px;
  133. padding-right: 10px;
  134. }
  135. .input--noBtn {
  136. border-radius: 6px;
  137. }
  138. .input--error {
  139. border-color: var(--errorColor);
  140. }
  141. .inputBtn.inputError {
  142. background-color: var(--errorColor);
  143. }
  144. .inputBtn.inputError:hover {
  145. background-color: var(--errorColor);
  146. }
  147. .cursor--pointer {
  148. cursor: pointer;
  149. }
  150. .link {
  151. color: var(--linkColor);
  152. text-decoration: none;
  153. }
  154. .link:focus,
  155. .link:active,
  156. .link:hover {
  157. color: var(--primaryControlHoverColor);
  158. }
  159. .link--action {
  160. font-weight: 500;
  161. font-size: 14px;
  162. text-align: center;
  163. }
  164. .page {
  165. height: 100%;
  166. margin: 0;
  167. display: flex;
  168. flex-direction: column;
  169. text-align: center;
  170. }
  171. .progressSection {
  172. margin: 0 auto;
  173. display: flex;
  174. justify-content: center;
  175. align-items: center;
  176. flex-direction: column;
  177. text-align: center;
  178. font-size: 15px;
  179. }
  180. .progressSection__text {
  181. color: var(--lightTextColor);
  182. letter-spacing: -0.4px;
  183. margin-top: 24px;
  184. margin-bottom: 74px;
  185. }
  186. .effect--fadeOut {
  187. opacity: 0;
  188. animation: fadeout 200ms linear;
  189. }
  190. .goBackButton {
  191. position: absolute;
  192. top: 0;
  193. left: 0;
  194. margin: 18px;
  195. }
  196. @keyframes fadeout {
  197. 0% {
  198. opacity: 1;
  199. }
  200. 100% {
  201. opacity: 0;
  202. }
  203. }
  204. .effect--fadeIn {
  205. opacity: 1;
  206. animation: fadein 200ms linear;
  207. }
  208. @keyframes fadein {
  209. 0% {
  210. opacity: 0;
  211. }
  212. 100% {
  213. opacity: 1;
  214. }
  215. }
  216. .error {
  217. color: var(--errorColor);
  218. font-weight: 600;
  219. }
  220. .title {
  221. color: var(--textColor);
  222. font-size: 33px;
  223. line-height: 40px;
  224. margin: 20px auto;
  225. text-align: center;
  226. max-width: 520px;
  227. font-family: 'SF Pro Text', sans-serif;
  228. word-wrap: break-word;
  229. }
  230. .description {
  231. font-size: 13px;
  232. text-align: left;
  233. margin: 14px auto;
  234. color: var(--lightTextColor);
  235. width: 95%;
  236. }
  237. .visible {
  238. visibility: visible !important;
  239. }
  240. .noDisplay {
  241. display: none;
  242. }
  243. .flexible {
  244. flex: 1;
  245. }
  246. @media (max-device-width: 750px), (max-width: 750px) {
  247. .description {
  248. margin: 0 auto 25px;
  249. }
  250. .main {
  251. flex-direction: column;
  252. min-height: 700px;
  253. }
  254. .spacer {
  255. flex: none;
  256. height: 0;
  257. }
  258. .stripedBox {
  259. max-height: 550px;
  260. flex: 1;
  261. }
  262. .uploads {
  263. flex: none;
  264. }
  265. .footer {
  266. margin: 15px;
  267. }
  268. }