You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

227 lines
3.1 KiB

  1. .wave {
  2. position: fixed;
  3. height: 100%;
  4. left: 0;
  5. bottom: 0;
  6. z-index: -1;
  7. }
  8. .login-container {
  9. width: 100vw;
  10. height: 100vh;
  11. display: grid;
  12. grid-template-columns: repeat(2, 1fr);
  13. grid-gap: 18rem;
  14. padding: 0 2rem;
  15. }
  16. .img {
  17. display: flex;
  18. justify-content: flex-end;
  19. align-items: center;
  20. }
  21. .img img {
  22. width: 500px;
  23. }
  24. .login-box {
  25. display: flex;
  26. align-items: center;
  27. text-align: center;
  28. }
  29. .login-form {
  30. width: 360px;
  31. }
  32. .avatar {
  33. width: 350px;
  34. height: 80px;
  35. }
  36. .login-form h2 {
  37. text-transform: uppercase;
  38. margin: 15px 0;
  39. color: #999;
  40. font: bold 200% Consolas, Monaco, monospace;
  41. }
  42. .input-group {
  43. position: relative;
  44. display: grid;
  45. grid-template-columns: 7% 93%;
  46. margin: 25px 0;
  47. padding: 5px 0;
  48. border-bottom: 2px solid #d9d9d9;
  49. }
  50. .input-group:nth-child(1) {
  51. margin-bottom: 4px;
  52. }
  53. .input-group::before,
  54. .input-group::after {
  55. content: "";
  56. position: absolute;
  57. bottom: -2px;
  58. width: 0;
  59. height: 2px;
  60. background-color: #c5d3f7;
  61. transition: 0.5s;
  62. }
  63. .input-group::after {
  64. right: 50%;
  65. }
  66. .input-group::before {
  67. left: 50%;
  68. }
  69. .icon {
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. }
  74. .icon i {
  75. color: #d9d9d9;
  76. transition: 0.5s;
  77. }
  78. .input-group > div {
  79. position: relative;
  80. height: 45px;
  81. }
  82. .input-group > div > h5 {
  83. position: absolute;
  84. left: 10px;
  85. top: 50%;
  86. transform: translateY(-50%);
  87. color: #d9d9d9;
  88. font-size: 18px;
  89. transition: 0.3s;
  90. margin: 0;
  91. padding: 0;
  92. }
  93. .input-group.focus .icon i {
  94. color: #5392f0;
  95. }
  96. .input-group.focus div h5 {
  97. top: -5px;
  98. font-size: 15px;
  99. }
  100. .input-group.focus::after,
  101. .input-group.focus::before {
  102. width: 50%;
  103. }
  104. .input {
  105. position: absolute;
  106. width: 100%;
  107. height: 100%;
  108. top: 0;
  109. left: 0;
  110. border: none;
  111. outline: none;
  112. background: none;
  113. padding: 0.5rem 0.7rem;
  114. font-size: 1.2rem;
  115. color: #555;
  116. font-family: "Roboto", sans-serif;
  117. }
  118. a {
  119. display: block;
  120. text-align: right;
  121. text-decoration: none;
  122. color: #999;
  123. font-size: 0.9rem;
  124. transition: 0.3s;
  125. }
  126. a:hover {
  127. color: #5392f0;
  128. }
  129. .btn {
  130. display: block;
  131. width: 100%;
  132. height: 50px;
  133. border-radius: 25px;
  134. margin: 1rem 0;
  135. font-size: 1.2rem;
  136. outline: none;
  137. border: none;
  138. background-image: linear-gradient(to right, #567dbe, #5392f0, #567dbe);
  139. cursor: pointer;
  140. color: #fff;
  141. text-transform: uppercase;
  142. font-family: "Roboto", sans-serif;
  143. background-size: 200%;
  144. transition: 0.5s;
  145. }
  146. .btn:hover {
  147. background-position: right;
  148. }
  149. .copyright {
  150. position: absolute;
  151. width: 100%;
  152. height: 50px;
  153. bottom: 2px;
  154. color: #5392f0;
  155. text-align: center;
  156. font-size: 18px;
  157. font-family: "Roboto", sans-serif;
  158. }
  159. @media screen and (max-width: 1080px) {
  160. .login-container {
  161. grid-gap: 9rem;
  162. }
  163. }
  164. @media screen and (max-width: 1024px) {
  165. .login-form {
  166. width: 290px;
  167. }
  168. .login-form h2 {
  169. font-size: 2.4rem;
  170. margin: 8px 0;
  171. }
  172. .img img {
  173. width: 360px;
  174. }
  175. .avatar {
  176. width: 280px;
  177. height: 80px;
  178. }
  179. }
  180. @media screen and (max-width: 768px) {
  181. .wave {
  182. display: none;
  183. }
  184. .img {
  185. display: none;
  186. }
  187. .login-container {
  188. grid-template-columns: 1fr;
  189. }
  190. .login-box {
  191. justify-content: center;
  192. }
  193. }