style.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. @charset "utf-8";
  2. /* CSS Document */
  3. /*Reset*/
  4. *{box-sizing:content-box;}
  5. a:hover, a:focus{text-decoration:none;}
  6. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
  7. table{border-collapse:collapse;border-spacing:0;}
  8. body{-webkit-text-size-adjust:none;}
  9. fieldset,img{border:0;}
  10. img{ vertical-align: top; max-width: 100%; }
  11. address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:normal;}
  12. ol,ul{list-style:none;}
  13. caption,th{text-align:left;}
  14. h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
  15. q:before,q:after{content:'';}
  16. abbr,acronym {border:0;}
  17. .clearfix:after{visibility:hidden;display: block;font-size:0;content:" ";clear:both;height:0;}
  18. * html .clearfix{ zoom: 1; } /* IE6 */
  19. *:first-child+html .clearfix { zoom: 1; } /* IE7 */
  20. .cli{ clear:both; font-size:0; height:0; overflow:hidden;display:block;}
  21. .lclear{clear:left;font-size:0;height:0;overflow:hidden;}
  22. .fl{float:left;}
  23. .fr{float:right;}
  24. /* ֹ
  25. iframe{nifm2:expression(this.src='about:blank',this.outerHTML='');}
  26. script{no2js:expression((this.src.toLowerCase().indexOf('http')==0)?document.close():'');}
  27. */
  28. /* ıԼ˶
  29. div{word-wrap: break-word;word-break: normal;}
  30. p{text-align:justify; text-justify:inter-ideograph;}
  31. */
  32. /*general*/
  33. body{font-size:12px;font-family:'微软雅黑',"宋体","Arial Narrow",Helvetica,sans-serif;color:#000;line-height:1.2;text-align:left;}
  34. a{color:#333;text-decoration:none;}
  35. /* 以下为手写代码 */
  36. html,body{
  37. width:100%;
  38. height:100%;
  39. }
  40. canvas{
  41. display:block;
  42. vertical-align:bottom;
  43. }
  44. .count-particles{
  45. background: #000022;
  46. position: absolute;
  47. top: 48px;
  48. left: 0;
  49. width: 80px;
  50. color: #13E8E9;
  51. font-size: .8em;
  52. text-align: left;
  53. text-indent: 4px;
  54. line-height: 14px;
  55. padding-bottom: 2px;
  56. font-family: Helvetica, Arial, sans-serif;
  57. font-weight: bold;
  58. }
  59. .js-count-particles{
  60. font-size: 1.1em;
  61. }
  62. #stats,
  63. .count-particles{
  64. -webkit-user-select: none;
  65. margin-top: 5px;
  66. margin-left: 5px;
  67. }
  68. #stats{
  69. border-radius: 3px 3px 0 0;
  70. overflow: hidden;
  71. }
  72. .count-particles{
  73. border-radius: 0 0 3px 3px;
  74. }
  75. #particles-js{
  76. width: 100%;
  77. height: 100%;
  78. position: relative;
  79. /* background-image: url(sa-frame/login/bg.jpg); */
  80. background-position: 50% 50%;
  81. background-size: cover;
  82. background-repeat: no-repeat;
  83. margin-left: auto;
  84. margin-right: auto;
  85. }
  86. .sk-rotating-plane {
  87. display: none;
  88. width: 80px;
  89. height: 80px;
  90. margin: auto;
  91. background-color: white;
  92. -webkit-animation: sk-rotating-plane 1.2s infinite ease-in-out;
  93. animation: sk-rotating-plane 1.2s infinite ease-in-out;
  94. z-index: 1;
  95. position: absolute;
  96. top: 50%;
  97. left: 50%;
  98. margin-left: -40px;
  99. margin-top: -80px;
  100. }
  101. .sk-rotating-plane.active{display: block;}
  102. @keyframes sk-rotating-plane{
  103. 0% {
  104. -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  105. transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  106. }
  107. 50% {
  108. -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  109. transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  110. }
  111. 100% {
  112. -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  113. transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  114. }
  115. }
  116. @keyframes login-small{
  117. 0%{
  118. transform: scale(1);-moz-transform: scale(1); /* Firefox 4 */-webkit-transform: scale(1); /* Safari 和 Chrome */-o-transform: scale(1); /* Opera */-ms-transform:scale(1); /* IE 9 */
  119. }
  120. 100%{
  121. transform: scale(0.2);-moz-transform: scale(0.1); /* Firefox 4 */-webkit-transform: scale(0.2); /* Safari 和 Chrome */-o-transform: scale(0.1); /* Opera */-ms-transform:scale(0.1); /* IE 9 */
  122. }
  123. }
  124. .login{z-index: 2;border-radius: 1px;height: 500px;background: white;box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.1);top: 50%;left: 50%;margin-top: -250px;margin-left: -175px;transition: all 1s;-moz-transition: all 1s; /* Firefox 4 */-webkit-transition: all 1s; /* Safari 和 Chrome */-o-transition: all 1s; /* Opera */}
  125. .login-top{font-size: 24px;text-align: center; margin-top: 100px;box-sizing: border-box;color: #333333;margin-bottom: 50px;}
  126. .login-center{width: 100%;box-sizing: border-box;padding: 0 40px;margin-bottom: 30px;}
  127. .login-center-img{width: 20px;height: 20px;float: left;margin-top: 5px;}
  128. .login-center-img>img{width: 100%;}
  129. .login-center-input{float: left;width: 230px;margin-left: 15px;height: 30px;position: relative;}
  130. .login-center-input input{z-index: 2;transition: all 0.5s;padding-left: 10px;color: #333333;width: 100%;height: 30px;border: 0;border-bottom: 1px solid #cccccc;border-top: 1px solid #ffffff;border-left: 1px solid #ffffff;border-right: 1px solid #ffffff;box-sizing: border-box;outline: none;position: relative;}
  131. .login-center-input input:focus{border: 1px solid dodgerblue;}
  132. .login-center-input-text{background: white;padding: 0 5px;position: absolute;z-index: 0;opacity: 0;height: 20px;top: 50%;margin-top: -10px;font-size: 14px;left: 5px;color: dodgerblue;line-height: 20px;transition: all 0.5s;-moz-transition: all 0.5s; /* Firefox 4 */-webkit-transition: all 0.5s; /* Safari 和 Chrome */-o-transition: all 0.5s; /* Opera */}
  133. .login-center-input input:focus~.login-center-input-text{top: 0;z-index: 3;opacity: 1;margin-top: -15px;}
  134. .login.active{-webkit-animation: login-small 0.8s ; animation: login-small 0.8s ;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}
  135. .login-button{cursor: pointer;width: 100%;text-align: center;height: 40px;line-height: 40px;background-color: dodgerblue;border-radius: 6px;margin: 0 auto;margin-top: 40px;color: white;}