style.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. *{
  2. margin: 0;
  3. padding: 0;
  4. font-family: "ubuntu",sans-serif;
  5. box-sizing: border-box;
  6. }
  7. ::selection{
  8. background-color: #fdcf74;
  9. }
  10. body{
  11. background-image: url(images/bg.png);
  12. background-size: 256px;
  13. min-height: 100vh;
  14. display: grid;
  15. justify-items: center;
  16. align-items: center;
  17. grid-template-rows: auto 62px;
  18. }
  19. .login-form{
  20. width: 100%;
  21. max-width: 500px;
  22. }
  23. .logo{
  24. background-image: url(images/logo.svg);
  25. width: 290px;
  26. height: 82px;
  27. margin: 40px auto;
  28. }
  29. .container{
  30. margin: 20px 0;
  31. background-color: #fff;
  32. padding: 20px;
  33. border-radius: 2px;
  34. color: #4d4d4d;
  35. }
  36. .container h1{
  37. font-size: 24px;
  38. margin-bottom: 20px;
  39. }
  40. .txtb{
  41. height: 50px;
  42. margin-bottom: 20px;
  43. position: relative;
  44. overflow: hidden;
  45. }
  46. .txtb input{
  47. width: 100%;
  48. height: 50px;
  49. border: 1px solid #e6e6e6;
  50. padding: 0 20px;
  51. font-size: 18px;
  52. color: #666;
  53. border-radius: 3px;
  54. outline: 3px solid #fcaf1770;
  55. }
  56. .placeholder{
  57. position: absolute;
  58. left: 20px;
  59. top: 50%;
  60. transform: translateY(-50%);
  61. user-select: none;
  62. pointer-events: none;
  63. font-size: 17px;
  64. transform-origin: 0 0;
  65. transition: .2s linear;
  66. }
  67. .txtb input:not(:placeholder-shown) + .placeholder{
  68. transform: scale(.75) translateY(-26px);
  69. }
  70. .txtb input:not(:placeholder-shown){
  71. padding-top: 12px;
  72. }
  73. .show-password-btn{
  74. position: absolute;
  75. right: 20px;
  76. top: 50%;
  77. transform: translateY(-50%);
  78. cursor: pointer;
  79. fill: #999;
  80. }
  81. .checkbox{
  82. display: inline-block;
  83. margin-bottom: 20px;
  84. cursor: pointer;
  85. padding-left: 30px;
  86. position: relative;
  87. }
  88. .checkbox input{
  89. display: none;
  90. }
  91. .checkbox span::before{
  92. content: "";
  93. position: absolute;
  94. width: 20px;
  95. height: 20px;
  96. border: 1px solid #4d4d4d;
  97. left: 0;
  98. box-sizing: border-box;
  99. border-radius: 3px;
  100. }
  101. .checkbox span:after{
  102. content: "";
  103. position: absolute;
  104. width: 12px;
  105. height: 6px;
  106. border-bottom: 2px solid #333;
  107. border-left: 2px solid #333;
  108. transform: rotate(-50deg);
  109. box-sizing: border-box;
  110. left: 4px;
  111. top: 6px;
  112. display: none;
  113. }
  114. .checkbox input:checked + span::after{
  115. display: block;
  116. }
  117. .forgot-signin-container{
  118. display: flex;
  119. align-items: center;
  120. justify-content: space-between;
  121. }
  122. .link{
  123. color: #fcaf17;
  124. text-decoration: none;
  125. transition: .2s linear;
  126. }
  127. .link:hover{
  128. text-decoration: underline;
  129. }
  130. .forgot-signin-container input{
  131. width: 100px;
  132. height: 38px;
  133. border: none;
  134. background-image: linear-gradient(90deg,#f7931e,#fcaf17);
  135. color: #fff;
  136. font-weight: 700;
  137. outline: none;
  138. cursor: pointer;
  139. border-radius: 3px;
  140. }
  141. .forgot-signin-container input:hover{
  142. background: #fcaf17;
  143. }
  144. .bottom-container{
  145. display: flex;
  146. flex-wrap: wrap;
  147. justify-content: space-between;
  148. align-items: center;
  149. }
  150. .bottom-container h3{
  151. font-size: 18px;
  152. font-weight: 500;
  153. }
  154. .sm-login{
  155. display: flex;
  156. justify-content: space-between;
  157. }
  158. .sm-login a{
  159. width: 38px;
  160. margin: 0 5px;
  161. overflow: hidden;
  162. }
  163. .sm-login a img{
  164. width: 100%;
  165. }
  166. .create-account{
  167. text-align: center;
  168. color: #fff;
  169. margin: 30px 0;
  170. }
  171. .copyright{
  172. color: #999;
  173. font-size: 12px;
  174. }
  175. @media screen and (max-width: 520px){
  176. body{
  177. align-items: unset;
  178. }
  179. .logo{
  180. width: 236px;
  181. height: 67px;
  182. margin: 16px auto;
  183. }
  184. .container{
  185. margin: 8px;
  186. }
  187. .row{
  188. width: 100%;
  189. }
  190. .sm-login{
  191. margin-top: 8px;
  192. }
  193. .sm-login a{
  194. flex: 1;
  195. max-width: 65px;
  196. }
  197. }