login.css 9.6 KB

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