login.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. html,body {
  2. width:100%;
  3. height:100%
  4. }
  5. canvas {
  6. display:block;
  7. vertical-align:bottom
  8. }
  9. .header-wrapper {
  10. display: flex;
  11. justify-content: center;
  12. position:absolute;
  13. top:0px;
  14. left:0px;
  15. width:100%;
  16. }
  17. .header-wrapper:hover .nav-bar {
  18. top:0px;
  19. }
  20. .header-wrapper .title {
  21. text-align: center;
  22. line-height: 80px;
  23. font-size: 2.6em;
  24. color: #69F8FE;
  25. position:relative;
  26. }
  27. .header-wrapper .title svg{
  28. position:absolute;
  29. left:-140px;
  30. top:-2px;
  31. }
  32. .header-wrapper .title:after{
  33. content:'';
  34. width:100%;
  35. height:2px;
  36. background-color:#fff;
  37. position:absolute;
  38. bottom:-10px;
  39. left:0px;
  40. }
  41. .count-particles {
  42. background:#002;
  43. position:absolute;
  44. top:48px;
  45. left:0;
  46. width:80px;
  47. color:#13e8e9;
  48. font-size:.8em;
  49. text-align:left;
  50. text-indent:4px;
  51. line-height:14px;
  52. padding-bottom:2px;
  53. font-family:Helvetica,Arial,sans-serif;
  54. font-weight:700
  55. }
  56. .js-count-particles {
  57. font-size:1.1em
  58. }
  59. #stats,.count-particles {
  60. -webkit-user-select:none;
  61. margin-top:5px;
  62. margin-left:5px
  63. }
  64. #stats {
  65. border-radius:3px 3px 0 0;
  66. overflow:hidden
  67. }
  68. .count-particles {
  69. border-radius:0 0 3px 3px
  70. }
  71. #particles-js {
  72. width:100%;
  73. height:100%;
  74. position:relative;
  75. background-color: #060B2E;
  76. margin-left:auto;
  77. margin-right:auto;
  78. overflow:hidden
  79. }
  80. .sk-rotating-plane {
  81. display:none;
  82. width:80px;
  83. height:80px;
  84. margin:auto;
  85. background-color:#fff;
  86. -webkit-animation:sk-rotating-plane 1.2s infinite ease-in-out;
  87. animation:sk-rotating-plane 1.2s infinite ease-in-out;
  88. z-index:1;
  89. position:absolute;
  90. top:50%;
  91. left:50%;
  92. margin-left:-40px;
  93. margin-top:-80px
  94. }
  95. .sk-rotating-plane.active {
  96. display:block
  97. }
  98. @keyframes sk-rotating-plane {
  99. 0% {
  100. -webkit-transform:perspective(120px) rotateX(0deg) rotateY(0deg);
  101. transform:perspective(120px) rotateX(0deg) rotateY(0deg)
  102. }
  103. 50% {
  104. -webkit-transform:perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  105. transform:perspective(120px) rotateX(-180.1deg) rotateY(0deg)
  106. }
  107. 100% {
  108. -webkit-transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  109. transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)
  110. }
  111. }@keyframes login-small {
  112. 0% {
  113. transform:scale(1);
  114. -moz-transform:scale(1);
  115. -webkit-transform:scale(1);
  116. -o-transform:scale(1);
  117. -ms-transform:scale(1)
  118. }
  119. 100% {
  120. transform:scale(.2);
  121. -moz-transform:scale(.1);
  122. -webkit-transform:scale(.2);
  123. -o-transform:scale(.1);
  124. -ms-transform:scale(.1)
  125. }
  126. }.login {
  127. z-index:2;
  128. position:absolute;
  129. width:350px;
  130. border-radius:5px;
  131. height:380px;
  132. background:#fff;
  133. box-shadow:0 0 5px #333;
  134. top:50%;
  135. left:50%;
  136. margin-top:-190px;
  137. margin-left:-175px;
  138. transition:all 1s;
  139. -moz-transition:all 1s;
  140. -webkit-transition:all 1s;
  141. -o-transition:all 1s
  142. }
  143. .login-top {
  144. font-size:24px;
  145. margin-top:40px;
  146. text-align:center;
  147. box-sizing:border-box;
  148. color:#333;
  149. margin-bottom:40px
  150. }
  151. .login-center {
  152. width:100%;
  153. box-sizing:border-box;
  154. padding:0 40px;
  155. margin-bottom:30px
  156. }
  157. .login-center-img {
  158. width:20px;
  159. height:20px;
  160. float:left;
  161. margin-top:5px
  162. }
  163. .login-center-img>img {
  164. width:100%
  165. }
  166. .login-center-input {
  167. float:left;
  168. width:230px;
  169. margin-left:15px;
  170. height:30px;
  171. position:relative
  172. }
  173. .login-center-input input {
  174. z-index:2;
  175. transition:all .5s;
  176. padding-left:10px;
  177. color:#333;
  178. width:100%;
  179. height:30px;
  180. border:0;
  181. border-bottom:1px solid #ccc;
  182. border-top:1px solid #fff;
  183. border-left:1px solid #fff;
  184. border-right:1px solid #fff;
  185. box-sizing:border-box;
  186. outline:0;
  187. position:relative
  188. }
  189. .login-center-input input:focus {
  190. border:1px solid #1e90ff
  191. }
  192. .login-center-input-text {
  193. background:#fff;
  194. padding:0 5px;
  195. position:absolute;
  196. z-index:0;
  197. opacity:0;
  198. height:20px;
  199. top:50%;
  200. margin-top:-10px;
  201. font-size:14px;
  202. left:5px;
  203. color:#1e90ff;
  204. line-height:20px;
  205. transition:all .5s;
  206. -moz-transition:all .5s;
  207. -webkit-transition:all .5s;
  208. -o-transition:all .5s
  209. }
  210. .login-center-input input:focus~.login-center-input-text {
  211. top:0;
  212. z-index:3;
  213. opacity:1;
  214. margin-top:-15px
  215. }
  216. .login.active {
  217. -webkit-animation:login-small .8s;
  218. animation:login-small .8s;
  219. animation-fill-mode:forwards;
  220. -webkit-animation-fill-mode:forwards
  221. }
  222. .login-button {
  223. cursor:pointer;
  224. width:250px;
  225. text-align:center;
  226. height:40px;
  227. line-height:40px;
  228. background-color:#1e90ff;
  229. border-radius:5px;
  230. margin:0 auto;
  231. margin-top:50px;
  232. color:#fff;
  233. font-size:18px;
  234. letter-spacing:20px;
  235. }
  236. .shake_effect {
  237. -webkit-animation-name: shake;
  238. animation-name: shake;
  239. -webkit-animation-duration: 1s;
  240. animation-duration: 1s;
  241. }
  242. @-webkit-keyframes shake {
  243. from, to {
  244. -webkit-transform: translate3d(0, 0, 0);
  245. transform: translate3d(0, 0, 0);
  246. }
  247. 10%, 30%, 50%, 70%, 90% {
  248. -webkit-transform: translate3d(-10px, 0, 0);
  249. transform: translate3d(-10px, 0, 0);
  250. }
  251. 20%, 40%, 60%, 80% {
  252. -webkit-transform: translate3d(10px, 0, 0);
  253. transform: translate3d(10px, 0, 0);
  254. }
  255. }
  256. @keyframes shake {
  257. from, to {
  258. -webkit-transform: translate3d(0, 0, 0);
  259. transform: translate3d(0, 0, 0);
  260. }
  261. 10%, 30%, 50%, 70%, 90% {
  262. -webkit-transform: translate3d(-10px, 0, 0);
  263. transform: translate3d(-10px, 0, 0);
  264. }
  265. 20%, 40%, 60%, 80% {
  266. -webkit-transform: translate3d(10px, 0, 0);
  267. transform: translate3d(10px, 0, 0);
  268. }
  269. }