2
0

login.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. /* BASIC */
  2. html {
  3. background-color: #56baed;
  4. }
  5. body {
  6. font-family: "Poppins", sans-serif;
  7. height: 100vh;
  8. }
  9. a {
  10. color: #92badd;
  11. display:inline-block;
  12. text-decoration: none;
  13. font-weight: 400;
  14. }
  15. h2 {
  16. text-align: center;
  17. font-size: 16px;
  18. font-weight: 600;
  19. text-transform: uppercase;
  20. display:inline-block;
  21. margin: 40px 8px 10px 8px;
  22. color: #cccccc;
  23. }
  24. /* STRUCTURE */
  25. .wrapper {
  26. display: flex;
  27. align-items: center;
  28. flex-direction: column;
  29. justify-content: center;
  30. width: 100%;
  31. min-height: 65%;
  32. padding: 20px;
  33. }
  34. #formContent {
  35. -webkit-border-radius: 10px 10px 10px 10px;
  36. border-radius: 10px 10px 10px 10px;
  37. background: #fff;
  38. padding: 30px;
  39. width: 90%;
  40. max-width: 450px;
  41. position: relative;
  42. padding: 0px;
  43. -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  44. box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  45. text-align: center;
  46. }
  47. #formFooter {
  48. background-color: #f6f6f6;
  49. border-top: 1px solid #dce8f1;
  50. padding: 25px;
  51. text-align: center;
  52. -webkit-border-radius: 0 0 10px 10px;
  53. border-radius: 0 0 10px 10px;
  54. }
  55. /* TABS */
  56. h2.inactive {
  57. color: #cccccc;
  58. }
  59. h2.active {
  60. color: #0d0d0d;
  61. border-bottom: 2px solid #5fbae9;
  62. }
  63. /* FORM TYPOGRAPHY*/
  64. input[type=button], input[type=submit], input[type=reset] {
  65. background-color: #56baed;
  66. border: none;
  67. color: white;
  68. padding: 15px 80px;
  69. text-align: center;
  70. text-decoration: none;
  71. display: inline-block;
  72. text-transform: uppercase;
  73. font-size: 13px;
  74. -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  75. box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  76. -webkit-border-radius: 5px 5px 5px 5px;
  77. border-radius: 5px 5px 5px 5px;
  78. margin: 5px 20px 40px 20px;
  79. -webkit-transition: all 0.3s ease-in-out;
  80. -moz-transition: all 0.3s ease-in-out;
  81. -ms-transition: all 0.3s ease-in-out;
  82. -o-transition: all 0.3s ease-in-out;
  83. transition: all 0.3s ease-in-out;
  84. }
  85. input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
  86. background-color: #39ace7;
  87. }
  88. input[type=button]:active, input[type=submit]:active, input[type=reset]:active {
  89. -moz-transform: scale(0.95);
  90. -webkit-transform: scale(0.95);
  91. -o-transform: scale(0.95);
  92. -ms-transform: scale(0.95);
  93. transform: scale(0.95);
  94. }
  95. input[type=text], input[type=password] {
  96. background-color: #f6f6f6;
  97. border: none;
  98. color: #0d0d0d;
  99. padding: 15px 32px;
  100. text-align: center;
  101. text-decoration: none;
  102. display: inline-block;
  103. font-size: 16px;
  104. margin: 5px;
  105. width: 85%;
  106. border: 2px solid #f6f6f6;
  107. -webkit-transition: all 0.5s ease-in-out;
  108. -moz-transition: all 0.5s ease-in-out;
  109. -ms-transition: all 0.5s ease-in-out;
  110. -o-transition: all 0.5s ease-in-out;
  111. transition: all 0.5s ease-in-out;
  112. -webkit-border-radius: 5px 5px 5px 5px;
  113. border-radius: 5px 5px 5px 5px;
  114. }
  115. input[type=text]:focus, input[type=password]:focus {
  116. background-color: #fff;
  117. border-bottom: 2px solid #5fbae9;
  118. }
  119. input[type=text]:placeholder {
  120. color: #cccccc;
  121. }
  122. /* ANIMATIONS */
  123. /* Simple CSS3 Fade-in-down Animation */
  124. .fadeInDown {
  125. -webkit-animation-name: fadeInDown;
  126. animation-name: fadeInDown;
  127. -webkit-animation-duration: 1s;
  128. animation-duration: 1s;
  129. -webkit-animation-fill-mode: both;
  130. animation-fill-mode: both;
  131. }
  132. @-webkit-keyframes fadeInDown {
  133. 0% {
  134. opacity: 0;
  135. -webkit-transform: translate3d(0, -100%, 0);
  136. transform: translate3d(0, -100%, 0);
  137. }
  138. 100% {
  139. opacity: 1;
  140. -webkit-transform: none;
  141. transform: none;
  142. }
  143. }
  144. @keyframes fadeInDown {
  145. 0% {
  146. opacity: 0;
  147. -webkit-transform: translate3d(0, -100%, 0);
  148. transform: translate3d(0, -100%, 0);
  149. }
  150. 100% {
  151. opacity: 1;
  152. -webkit-transform: none;
  153. transform: none;
  154. }
  155. }
  156. /* Simple CSS3 Fade-in Animation */
  157. @-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  158. @-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  159. @keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  160. .fadeIn {
  161. opacity:0;
  162. -webkit-animation:fadeIn ease-in 1;
  163. -moz-animation:fadeIn ease-in 1;
  164. animation:fadeIn ease-in 1;
  165. -webkit-animation-fill-mode:forwards;
  166. -moz-animation-fill-mode:forwards;
  167. animation-fill-mode:forwards;
  168. -webkit-animation-duration:1s;
  169. -moz-animation-duration:1s;
  170. animation-duration:1s;
  171. }
  172. .fadeIn.first {
  173. -webkit-animation-delay: 0.4s;
  174. -moz-animation-delay: 0.4s;
  175. animation-delay: 0.4s;
  176. }
  177. .fadeIn.second {
  178. -webkit-animation-delay: 0.6s;
  179. -moz-animation-delay: 0.6s;
  180. animation-delay: 0.6s;
  181. }
  182. .fadeIn.third {
  183. -webkit-animation-delay: 0.8s;
  184. -moz-animation-delay: 0.8s;
  185. animation-delay: 0.8s;
  186. }
  187. .fadeIn.fourth {
  188. -webkit-animation-delay: 1s;
  189. -moz-animation-delay: 1s;
  190. animation-delay: 1s;
  191. }
  192. /* Simple CSS3 Fade-in Animation */
  193. .underlineHover:after {
  194. display: block;
  195. left: 0;
  196. bottom: -10px;
  197. width: 0;
  198. height: 2px;
  199. background-color: #56baed;
  200. content: "";
  201. transition: width 0.2s;
  202. }
  203. .underlineHover:hover {
  204. color: #0d0d0d;
  205. }
  206. .underlineHover:hover:after{
  207. width: 100%;
  208. }
  209. /* OTHERS */
  210. *:focus {
  211. outline: none;
  212. }
  213. #icon {
  214. width:80%;
  215. }