login.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. /*//////////////////////////////////////////////////////////////////
  2. [ FONT ]*/
  3. @font-face {
  4. font-family: Poppins-Regular;
  5. src: url('../fonts/poppins/Poppins-Regular.ttf');
  6. }
  7. @font-face {
  8. font-family: Poppins-Medium;
  9. src: url('../fonts/poppins/Poppins-Medium.ttf');
  10. }
  11. @font-face {
  12. font-family: Poppins-Bold;
  13. src: url('../fonts/poppins/Poppins-Bold.ttf');
  14. }
  15. @font-face {
  16. font-family: Poppins-SemiBold;
  17. src: url('../fonts/poppins/Poppins-SemiBold.ttf');
  18. }
  19. .limiter {
  20. width: 100%;
  21. margin: 0 auto;
  22. font-family: Poppins-Regular, sans-serif;
  23. }
  24. .container-login100 {
  25. width: 100%;
  26. min-height: 100vh;
  27. display: -webkit-box;
  28. display: -webkit-flex;
  29. display: -moz-box;
  30. display: -ms-flexbox;
  31. display: flex;
  32. flex-wrap: wrap;
  33. justify-content: center;
  34. align-items: center;
  35. background: #f2f2f2;
  36. }
  37. .wrap-login100 {
  38. background: #fff;
  39. border-radius: 10px;
  40. overflow: hidden;
  41. padding: 77px 55px 33px 55px;
  42. box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  43. -moz-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  44. -webkit-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  45. -o-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  46. -ms-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  47. }
  48. /*------------------------------------------------------------------
  49. [ Form ]*/
  50. .login100-form {
  51. width: 100%;
  52. }
  53. .login100-form-title {
  54. display: block;
  55. font-family: Poppins-Bold;
  56. font-size: 30px;
  57. color: #333333;
  58. line-height: 1.2;
  59. text-align: center;
  60. }
  61. .login100-form-title i {
  62. font-size: 60px;
  63. }
  64. /*------------------------------------------------------------------
  65. [ Input ]*/
  66. .wrap-input100 {
  67. width: 100%;
  68. position: relative;
  69. border-bottom: 2px solid #adadad;
  70. margin-bottom: 37px;
  71. }
  72. .input100 {
  73. font-family: Poppins-Regular;
  74. font-size: 15px;
  75. color: #555555;
  76. line-height: 1.2;
  77. display: block;
  78. width: 100%;
  79. height: 45px;
  80. background: transparent;
  81. padding: 0 5px;
  82. outline: none;
  83. border: none;
  84. }
  85. .input100::-webkit-input-placeholder { color: #adadad;}
  86. .input100:-moz-placeholder { color: #adadad;}
  87. .input100::-moz-placeholder { color: #adadad;}
  88. .input100:-ms-input-placeholder { color: #adadad;}
  89. /*---------------------------------------------*/
  90. .focus-input100 {
  91. position: absolute;
  92. display: block;
  93. width: 100%;
  94. height: 100%;
  95. top: 0;
  96. left: 0;
  97. pointer-events: none;
  98. color:transparent;
  99. }
  100. .focus-input100::before {
  101. content: "";
  102. display: block;
  103. position: absolute;
  104. bottom: -2px;
  105. left: 0;
  106. width: 0;
  107. height: 2px;
  108. -webkit-transition: all 0.4s;
  109. -o-transition: all 0.4s;
  110. -moz-transition: all 0.4s;
  111. transition: all 0.4s;
  112. background: #6a7dfe;
  113. background: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  114. background: -o-linear-gradient(left, #21d4fd, #b721ff);
  115. background: -moz-linear-gradient(left, #21d4fd, #b721ff);
  116. background: linear-gradient(left, #21d4fd, #b721ff);
  117. }
  118. .focus-input100::after {
  119. font-family: Poppins-Regular;
  120. font-size: 15px;
  121. color: #999999;
  122. line-height: 1.2;
  123. content: attr(data-placeholder);
  124. display: block;
  125. width: 100%;
  126. position: absolute;
  127. top: 16px;
  128. left: 0px;
  129. padding-left: 5px;
  130. -webkit-transition: all 0.4s;
  131. -o-transition: all 0.4s;
  132. -moz-transition: all 0.4s;
  133. transition: all 0.4s;
  134. }
  135. .input100:focus + .focus-input100::after {
  136. top: -15px;
  137. }
  138. .input100:focus + .focus-input100::before {
  139. width: 100%;
  140. }
  141. .has-val.input100 + .focus-input100::after {
  142. top: -15px;
  143. }
  144. .has-val.input100 + .focus-input100::before {
  145. width: 100%;
  146. }
  147. /*---------------------------------------------*/
  148. .btn-show-pass {
  149. font-size: 15px;
  150. color: #999999;
  151. display: -webkit-box;
  152. display: -webkit-flex;
  153. display: -moz-box;
  154. display: -ms-flexbox;
  155. display: flex;
  156. align-items: center;
  157. position: absolute;
  158. height: 100%;
  159. top: 0;
  160. right: 0;
  161. padding-right: 5px;
  162. cursor: pointer;
  163. -webkit-transition: all 0.4s;
  164. -o-transition: all 0.4s;
  165. -moz-transition: all 0.4s;
  166. transition: all 0.4s;
  167. }
  168. .btn-show-pass:hover {
  169. color: #6a7dfe;
  170. color: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  171. color: -o-linear-gradient(left, #21d4fd, #b721ff);
  172. color: -moz-linear-gradient(left, #21d4fd, #b721ff);
  173. color: linear-gradient(left, #21d4fd, #b721ff);
  174. }
  175. .btn-show-pass.active {
  176. color: #6a7dfe;
  177. color: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  178. color: -o-linear-gradient(left, #21d4fd, #b721ff);
  179. color: -moz-linear-gradient(left, #21d4fd, #b721ff);
  180. color: linear-gradient(left, #21d4fd, #b721ff);
  181. }
  182. /*------------------------------------------------------------------
  183. [ Button ]*/
  184. .container-login100-form-btn {
  185. display: -webkit-box;
  186. display: -webkit-flex;
  187. display: -moz-box;
  188. display: -ms-flexbox;
  189. display: flex;
  190. flex-wrap: wrap;
  191. justify-content: center;
  192. padding-top: 13px;
  193. }
  194. .wrap-login100-form-btn {
  195. width: 100%;
  196. display: block;
  197. position: relative;
  198. z-index: 1;
  199. border-radius: 25px;
  200. overflow: hidden;
  201. margin: 0 auto;
  202. }
  203. .login100-form-bgbtn {
  204. position: absolute;
  205. z-index: -1;
  206. width: 300%;
  207. height: 100%;
  208. background: #a64bf4;
  209. background: -webkit-linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
  210. background: -o-linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
  211. background: -moz-linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
  212. background: linear-gradient(right, #21d4fd, #b721ff, #21d4fd, #b721ff);
  213. top: 0;
  214. left: -100%;
  215. -webkit-transition: all 0.4s;
  216. -o-transition: all 0.4s;
  217. -moz-transition: all 0.4s;
  218. transition: all 0.4s;
  219. }
  220. .login100-form-btn {
  221. font-family: Poppins-Medium;
  222. font-size: 15px;
  223. color: #fff;
  224. line-height: 1.2;
  225. text-transform: uppercase;
  226. display: -webkit-box;
  227. display: -webkit-flex;
  228. display: -moz-box;
  229. display: -ms-flexbox;
  230. display: flex;
  231. justify-content: center;
  232. align-items: center;
  233. padding: 0 20px;
  234. width: 100%;
  235. height: 50px;
  236. outline: none !important;
  237. border: none;
  238. background: transparent;
  239. }
  240. .login100-form-btn:hover {
  241. cursor: pointer;
  242. }
  243. .wrap-login100-form-btn:hover .login100-form-bgbtn {
  244. left: 0;
  245. }
  246. /*------------------------------------------------------------------
  247. [ Responsive ]*/
  248. @media (max-width: 576px) {
  249. .wrap-login100 {
  250. padding: 77px 15px 33px 15px;
  251. }
  252. }
  253. /*------------------------------------------------------------------
  254. [ Alert validate ]*/
  255. .validate-input {
  256. position: relative;
  257. }
  258. .alert-validate::before {
  259. content: attr(data-validate);
  260. position: absolute;
  261. max-width: 70%;
  262. background-color: #fff;
  263. border: 1px solid #c80000;
  264. border-radius: 2px;
  265. padding: 4px 25px 4px 10px;
  266. top: 50%;
  267. -webkit-transform: translateY(-50%);
  268. -moz-transform: translateY(-50%);
  269. -ms-transform: translateY(-50%);
  270. -o-transform: translateY(-50%);
  271. transform: translateY(-50%);
  272. right: 0px;
  273. pointer-events: none;
  274. font-family: Poppins-Regular;
  275. color: #c80000;
  276. font-size: 13px;
  277. line-height: 1.4;
  278. text-align: left;
  279. visibility: hidden;
  280. opacity: 0;
  281. -webkit-transition: opacity 0.4s;
  282. -o-transition: opacity 0.4s;
  283. -moz-transition: opacity 0.4s;
  284. transition: opacity 0.4s;
  285. }
  286. .alert-validate::after {
  287. content: "\f06a";
  288. font-family: FontAwesome;
  289. font-size: 16px;
  290. color: #c80000;
  291. display: block;
  292. position: absolute;
  293. background-color: #fff;
  294. top: 50%;
  295. -webkit-transform: translateY(-50%);
  296. -moz-transform: translateY(-50%);
  297. -ms-transform: translateY(-50%);
  298. -o-transform: translateY(-50%);
  299. transform: translateY(-50%);
  300. right: 5px;
  301. }
  302. .alert-validate:hover:before {
  303. visibility: visible;
  304. opacity: 1;
  305. }
  306. @media (max-width: 992px) {
  307. .alert-validate::before {
  308. visibility: visible;
  309. opacity: 1;
  310. }
  311. }
  312. /** util **/
  313. .p-b-26 {padding-bottom: 26px;}
  314. .p-b-48 {padding-bottom: 48px;}
  315. .p-t-10 {padding-top: 10px;}
  316. .p-t-115 {padding-top: 115px;}
  317. @keyframes login {
  318. from {width: 100%}
  319. to {width: 50px}
  320. }
  321. .login-loading{
  322. width: 50px;
  323. animation-name: login;
  324. animation-duration: 0.5s;
  325. }
  326. .login-loading > .login100-form-btn {
  327. visibility: hidden !important;
  328. }
  329. .login-loading-class{
  330. stroke: rgb(255, 255, 255) !important;
  331. background-color: transparent !important;
  332. }
  333. .login-loading-class > .el-loading-spinner .path {
  334. stroke: rgb(255, 255, 255) !important;
  335. }
  336. /**font**/
  337. /* .zmdi {
  338. display: inline-block;
  339. font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
  340. font-size: 14px;
  341. font-size: inherit;
  342. text-rendering: auto;
  343. -webkit-font-smoothing: antialiased;
  344. -moz-osx-font-smoothing: grayscale;
  345. }
  346. .zmdi-font::before {
  347. content: '\f16a';
  348. }
  349. .login100-form-title i {
  350. font-size: 60px;
  351. } */