main.css 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. /*//////////////////////////////////////////////////////////////////
  2. [ RESTYLE TAG ]*/
  3. * {
  4. margin: 0px;
  5. padding: 0px;
  6. box-sizing: border-box;
  7. }
  8. body, html {
  9. height: 100%;
  10. font-family: 'Microsoft Yahei', sans-serif;
  11. }
  12. /*---------------------------------------------*/
  13. a {
  14. font-family: 'Microsoft Yahei';
  15. font-size: 14px;
  16. line-height: 1.7;
  17. color: #666666;
  18. margin: 0px;
  19. transition: all 0.4s;
  20. -webkit-transition: all 0.4s;
  21. -o-transition: all 0.4s;
  22. -moz-transition: all 0.4s;
  23. }
  24. a:focus {
  25. outline: none !important;
  26. }
  27. a:hover {
  28. text-decoration: none;
  29. color: #a64bf4;
  30. }
  31. /*---------------------------------------------*/
  32. h1,h2,h3,h4,h5,h6 {
  33. margin: 0px;
  34. }
  35. p {
  36. font-family: 'Microsoft Yahei';
  37. font-size: 14px;
  38. line-height: 1.7;
  39. color: #666666;
  40. margin: 0px;
  41. }
  42. ul, li {
  43. margin: 0px;
  44. list-style-type: none;
  45. }
  46. /*---------------------------------------------*/
  47. input {
  48. outline: none;
  49. border: none;
  50. }
  51. textarea {
  52. outline: none;
  53. border: none;
  54. }
  55. textarea:focus, input:focus {
  56. border-color: transparent !important;
  57. }
  58. input:focus::-webkit-input-placeholder { color:transparent; }
  59. input:focus:-moz-placeholder { color:transparent; }
  60. input:focus::-moz-placeholder { color:transparent; }
  61. input:focus:-ms-input-placeholder { color:transparent; }
  62. textarea:focus::-webkit-input-placeholder { color:transparent; }
  63. textarea:focus:-moz-placeholder { color:transparent; }
  64. textarea:focus::-moz-placeholder { color:transparent; }
  65. textarea:focus:-ms-input-placeholder { color:transparent; }
  66. input::-webkit-input-placeholder { color: #adadad;}
  67. input:-moz-placeholder { color: #adadad;}
  68. input::-moz-placeholder { color: #adadad;}
  69. input:-ms-input-placeholder { color: #adadad;}
  70. textarea::-webkit-input-placeholder { color: #adadad;}
  71. textarea:-moz-placeholder { color: #adadad;}
  72. textarea::-moz-placeholder { color: #adadad;}
  73. textarea:-ms-input-placeholder { color: #adadad;}
  74. /*---------------------------------------------*/
  75. button {
  76. outline: none !important;
  77. border: none;
  78. background: dodgerblue;
  79. }
  80. button:hover {
  81. cursor: pointer;
  82. }
  83. iframe {
  84. border: none !important;
  85. }
  86. /*///////////////////////////////////////////////////////////////
  87. [image]
  88. */
  89. /*//////////////////////////////////////////////////////////////////
  90. [ Utility ]*/
  91. .txt1 {
  92. font-family: 'Microsoft Yahei';
  93. font-size: 14px;
  94. line-height: 1.5;
  95. color: #666666;
  96. }
  97. .txt2 {
  98. font-family: 'Microsoft Yahei';
  99. font-size: 14px;
  100. line-height: 1.5;
  101. color: #333333;
  102. text-transform: uppercase;
  103. }
  104. .bg1 {background-color: #3b5998}
  105. .bg2 {background-color: #1da1f2}
  106. .bg3 {background-color: #ea4335}
  107. /*//////////////////////////////////////////////////////////////////
  108. [ login ]*/
  109. .limiter {
  110. width: 100%;
  111. margin: 0 auto;
  112. }
  113. .container-login100 {
  114. width: 100%;
  115. min-height: 100vh;
  116. display: -webkit-box;
  117. display: -webkit-flex;
  118. display: -moz-box;
  119. display: -ms-flexbox;
  120. display: flex;
  121. flex-wrap: wrap;
  122. justify-content: center;
  123. align-items: center;
  124. padding: 15px;
  125. background-repeat: no-repeat;
  126. background-position: center;
  127. background-size: cover;
  128. }
  129. .wrap-login100 {
  130. width: 450px;
  131. background: #fff;
  132. border-radius: 10px;
  133. overflow: hidden;
  134. }
  135. /*------------------------------------------------------------------
  136. [ Form ]*/
  137. .login100-form {
  138. width: 100%;
  139. }
  140. .login100-form-title {
  141. display: block;
  142. font-family: 'Microsoft Yahei';
  143. font-size: 39px;
  144. color: #333333;
  145. line-height: 1.2;
  146. text-align: center;
  147. }
  148. /*------------------------------------------------------------------
  149. [ Input ]*/
  150. .wrap-input100 {
  151. width: 100%;
  152. position: relative;
  153. border-bottom: 2px solid #d9d9d9;
  154. }
  155. .label-input100 {
  156. font-family: 'Microsoft Yahei';
  157. font-size: 14px;
  158. color: #333333;
  159. line-height: 1.5;
  160. padding-left: 7px;
  161. }
  162. .input100 {
  163. font-family: 'Microsoft Yahei';
  164. font-size: 16px;
  165. color: #333333;
  166. line-height: 1.2;
  167. display: block;
  168. width: 100%;
  169. height: 55px;
  170. background: transparent;
  171. padding: 0 7px 0 43px;
  172. }
  173. /*---------------------------------------------*/
  174. .focus-input100 {
  175. position: absolute;
  176. display: block;
  177. width: 100%;
  178. height: 100%;
  179. top: 0;
  180. left: 0;
  181. pointer-events: none;
  182. }
  183. .focus-input100::after {
  184. content: attr(data-symbol);
  185. font-family: Material-Design-Iconic-Font;
  186. color: #adadad;
  187. font-size: 22px;
  188. display: -webkit-box;
  189. display: -webkit-flex;
  190. display: -moz-box;
  191. display: -ms-flexbox;
  192. display: flex;
  193. align-items: center;
  194. justify-content: center;
  195. position: absolute;
  196. height: calc(100% - 20px);
  197. bottom: 0;
  198. left: 0;
  199. padding-bottom: 5px;
  200. padding-left: 13px;
  201. padding-top: 3px;
  202. }
  203. .focus-input100::before {
  204. content: "";
  205. display: block;
  206. position: absolute;
  207. bottom: -2px;
  208. left: 0;
  209. width: 0;
  210. height: 2px;
  211. background: #7f7f7f;
  212. -webkit-transition: all 0.4s;
  213. -o-transition: all 0.4s;
  214. -moz-transition: all 0.4s;
  215. transition: all 0.4s;
  216. }
  217. .input100:focus + .focus-input100::before {
  218. width: 100%;
  219. }
  220. .has-val.input100 + .focus-input100::before {
  221. width: 100%;
  222. }
  223. .input100:focus + .focus-input100::after {
  224. color: #a64bf4;
  225. }
  226. .has-val.input100 + .focus-input100::after {
  227. color: #a64bf4;
  228. }
  229. /*------------------------------------------------------------------
  230. [ Button ]*/
  231. .container-login100-form-btn {
  232. display: -webkit-box;
  233. display: -webkit-flex;
  234. display: -moz-box;
  235. display: -ms-flexbox;
  236. display: flex;
  237. flex-wrap: wrap;
  238. justify-content: center;
  239. }
  240. .wrap-login100-form-btn {
  241. width: 100%;
  242. display: block;
  243. position: relative;
  244. z-index: 1;
  245. border-radius: 25px;
  246. overflow: hidden;
  247. margin: 0 auto;
  248. box-shadow: 0 5px 30px 0px rgba(3, 216, 222, 0.2);
  249. -moz-box-shadow: 0 5px 30px 0px rgba(3, 216, 222, 0.2);
  250. -webkit-box-shadow: 0 5px 30px 0px rgba(3, 216, 222, 0.2);
  251. -o-box-shadow: 0 5px 30px 0px rgba(3, 216, 222, 0.2);
  252. -ms-box-shadow: 0 5px 30px 0px rgba(3, 216, 222, 0.2);
  253. }
  254. .login100-form-bgbtn {
  255. position: absolute;
  256. z-index: -1;
  257. width: 300%;
  258. height: 100%;
  259. background: #a64bf4;
  260. background: -webkit-linear-gradient(right, #00dbde, #fc00ff, #00dbde, #fc00ff);
  261. background: -o-linear-gradient(right, #00dbde, #fc00ff, #00dbde, #fc00ff);
  262. background: -moz-linear-gradient(right, #00dbde, #fc00ff, #00dbde, #fc00ff);
  263. background: linear-gradient(right, #00dbde, #fc00ff, #00dbde, #fc00ff);
  264. top: 0;
  265. left: -100%;
  266. -webkit-transition: all 0.4s;
  267. -o-transition: all 0.4s;
  268. -moz-transition: all 0.4s;
  269. transition: all 0.4s;
  270. }
  271. .login100-form-btn {
  272. font-family: 'Microsoft Yahei';
  273. font-size: 16px;
  274. color: #fff;
  275. line-height: 1.2;
  276. text-transform: uppercase;
  277. display: -webkit-box;
  278. display: -webkit-flex;
  279. display: -moz-box;
  280. display: -ms-flexbox;
  281. display: flex;
  282. justify-content: center;
  283. align-items: center;
  284. padding: 0 20px;
  285. width: 100%;
  286. height: 50px;
  287. }
  288. .wrap-login100-form-btn:hover .login100-form-bgbtn {
  289. left: 0;
  290. }
  291. /*------------------------------------------------------------------
  292. [ Alert validate ]*/
  293. .validate-input {
  294. position: relative;
  295. }
  296. .alert-validate::before {
  297. content: attr(data-validate);
  298. position: absolute;
  299. max-width: 70%;
  300. background-color: #fff;
  301. border: 1px solid #c80000;
  302. border-radius: 2px;
  303. padding: 4px 25px 4px 10px;
  304. bottom: calc((100% - 20px) / 2);
  305. -webkit-transform: translateY(50%);
  306. -moz-transform: translateY(50%);
  307. -ms-transform: translateY(50%);
  308. -o-transform: translateY(50%);
  309. transform: translateY(50%);
  310. right: 2px;
  311. pointer-events: none;
  312. font-family: 'Microsoft Yahei';
  313. color: #c80000;
  314. font-size: 13px;
  315. line-height: 1.4;
  316. text-align: left;
  317. visibility: hidden;
  318. opacity: 0;
  319. -webkit-transition: opacity 0.4s;
  320. -o-transition: opacity 0.4s;
  321. -moz-transition: opacity 0.4s;
  322. transition: opacity 0.4s;
  323. }
  324. .alert-validate::after {
  325. content: "\f06a";
  326. font-family: FontAwesome;
  327. display: block;
  328. position: absolute;
  329. color: #c80000;
  330. font-size: 16px;
  331. bottom: calc((100% - 20px) / 2);
  332. -webkit-transform: translateY(50%);
  333. -moz-transform: translateY(50%);
  334. -ms-transform: translateY(50%);
  335. -o-transform: translateY(50%);
  336. transform: translateY(50%);
  337. right: 8px;
  338. }
  339. .alert-validate:hover:before {
  340. visibility: visible;
  341. opacity: 1;
  342. }
  343. @media (max-width: 992px) {
  344. .alert-validate::before {
  345. visibility: visible;
  346. opacity: 1;
  347. }
  348. }
  349. /*//////////////////////////////////////////////////////////////////
  350. [ Social item ]*/
  351. .login100-social-item {
  352. font-size: 25px;
  353. color: #fff;
  354. display: -webkit-box;
  355. display: -webkit-flex;
  356. display: -moz-box;
  357. display: -ms-flexbox;
  358. display: flex;
  359. justify-content: center;
  360. align-items: center;
  361. width: 50px;
  362. height: 50px;
  363. border-radius: 50%;
  364. margin: 5px;
  365. }
  366. .login100-social-item:hover {
  367. color: #fff;
  368. background-color: #333333;
  369. }
  370. /*//////////////////////////////////////////////////////////////////
  371. [ Responsive ]*/
  372. @media (max-width: 576px) {
  373. .wrap-login100 {
  374. padding-left: 15px;
  375. padding-right: 15px;
  376. }
  377. }