Login.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. html {
  2. font-size: 8px;
  3. }
  4. * {
  5. box-sizing: border-box
  6. }
  7. @media(min-device-width: 768px) {
  8. html {
  9. font-size: 10px;
  10. }
  11. }
  12. @media(min-device-width: 1280px) {
  13. html {
  14. font-size: 13px;
  15. }
  16. }
  17. @media(min-device-width: 1366px) {
  18. html {
  19. font-size: 14px;
  20. }
  21. }
  22. @media(min-device-width: 1920px) {
  23. html {
  24. font-size: 16px;
  25. }
  26. }
  27. input:focus {
  28. border: none;
  29. outline: none
  30. }
  31. button {
  32. margin: 0;
  33. padding: 0;
  34. border: 1px solid transparent;
  35. outline: none;
  36. }
  37. body {
  38. width: 100vw;
  39. height: 100vh !important;
  40. overflow: hidden;
  41. min-width: 34.69rem;
  42. min-height: 50rem;
  43. margin: 0;
  44. font-family: PingFangSC-Regular;
  45. position: relative;
  46. background-size: 100% 100%;
  47. background-image: url('../../Content/images/login/bg.jpg');
  48. /*background-image: url('../../../Download/AttachFiles/LoginImage/MainBg.png');*/
  49. }
  50. .img-bg {
  51. filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale')";
  52. -moz-background-size: 100%  100%;
  53. background-size: 100% 100%;
  54. }
  55. div.body {
  56. width: 100%;
  57. height: 100%;
  58. /*float: left;*/
  59. /*background-image: linear-gradient(-180deg, rgba(161, 215, 255,0.4) 0%, rgba(73, 162, 245,.4) 100%);*/
  60. }
  61. .login-box {
  62. width: 55rem;
  63. height: 39.5rem;
  64. margin: 0 auto 0;
  65. z-index: 100;
  66. padding-top: 12rem;
  67. }
  68. .login-box > .left-box {
  69. border-radius: 8px 0 0 8px;
  70. width: 21.41rem;
  71. height: 100%;
  72. float: left;
  73. /*background-image: url('../../Content/images/login/login_left_box_bg.jpg');*/
  74. /*background-image: url('../../../Download/AttachFiles/LoginImage/LittleBg.png');*/
  75. }
  76. .login-box .left-box-bg {
  77. border-radius: 8px 0 0 8px;
  78. float: left;
  79. width: 100%;
  80. height: 100%;
  81. /*background-image: linear-gradient(-180deg, rgba(255, 255, 255,.2) 0%, rgba(255, 255, 255,.2) 100%);*/
  82. background-image: linear-gradient(-180deg, rgba(130,185,249,0.56) 23%, rgba(75, 131, 240,.7) 84%);
  83. }
  84. .login-box > .left-box .login-logo-box {
  85. width: 9rem;
  86. height: 9rem;
  87. margin: 6.9rem auto 0;
  88. background-image: url('../../Content/images/login/logo.jpg');
  89. /*background-image: url('../../../Download/AttachFiles/LoginImage/Logo.png');*/
  90. }
  91. .login-box > .left-box .login-title-box {
  92. text-align: center;
  93. margin: 2.5rem auto 0;
  94. }
  95. .login-box > .left-box .login-title-box > span {
  96. font-size: 1.5rem;
  97. color: #FFFFFF;
  98. letter-spacing: 1px;
  99. text-align: center;
  100. line-height: 2.25rem;
  101. }
  102. .login-box > .right-box {
  103. border-radius: 0 8px 8px 0;
  104. width: 33.59rem;
  105. height: 100%;
  106. float: left;
  107. background: rgba(255, 255, 255,.5);
  108. }
  109. .form {
  110. width: 24.69rem;
  111. margin: 0 auto;
  112. padding-top: 6rem;
  113. }
  114. .input-group {
  115. width: 100%;
  116. position: relative;
  117. border-collapse: separate;
  118. margin-bottom: 2.5rem;
  119. }
  120. .input-group > .input-icon {
  121. position: absolute;
  122. top: .75rem;
  123. left: 1rem;
  124. white-space: nowrap;
  125. color: #4B83F0;
  126. font-size: 1rem;
  127. font-weight: 400;
  128. }
  129. .input-group > .form-input {
  130. display: block;
  131. width: 100%;
  132. padding: .75rem;
  133. padding-left: 3.5rem;
  134. font-size: 1rem;
  135. color: #4B83F0;
  136. background-color: transparent;
  137. background-image: none;
  138. border: 1px solid #4B83F0;
  139. border-radius: 4px;
  140. -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  141. box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  142. -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  143. -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  144. transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  145. }
  146. .input-group > .form-input:placeholder {
  147. letter-spacing: 1px;
  148. color: rgba(75, 131, 240,.9);
  149. }
  150. .input-group > .form-input:focus {
  151. border: 1px solid #4B83F0;
  152. box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(75, 131, 240,.9);
  153. }
  154. .input-group > .form-button {
  155. width: 100%;
  156. height: 3.25rem;
  157. color: #eee;
  158. text-align: center;
  159. border: 1px solid rgba(75, 131, 240,.8);
  160. background-color: rgba(75, 131, 240,.7);
  161. border-radius: 4px;
  162. }
  163. .input-group > .form-button > span {
  164. font-size: 1.25rem;
  165. padding-left: 1rem;
  166. letter-spacing: 1rem;
  167. }
  168. .input-group > .form-button:hover, .input-group > .form-button:active {
  169. outline: none;
  170. color: #fff;
  171. border: 1px solid #4B83F0;
  172. box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(75, 131, 240,.9);
  173. background-image: none;
  174. }
  175. .checkbox-box {
  176. margin-top: -1rem;
  177. margin-bottom: 1.5rem;
  178. text-align: right;
  179. }
  180. .checkbox-box > input {
  181. display: none;
  182. }
  183. .checkbox-box > label {
  184. color: #4B83F0;
  185. letter-spacing: 1px;
  186. /*padding-top: 0.125rem;*/
  187. position: relative;
  188. cursor: pointer;
  189. font-weight: 600;
  190. }
  191. [type="checkbox"].filled-in + label::before, [type="checkbox"].filled-in + label::after {
  192. content: '';
  193. position: absolute;
  194. /*transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;*/
  195. z-index: 1;
  196. }
  197. [type="checkbox"] + label::before, [type="checkbox"]:not(.filled-in) + label::after {
  198. content: '';
  199. position: absolute;
  200. top: 0;
  201. left: -1.75rem;
  202. width: 1.125rem;
  203. height: 1.125rem;
  204. z-index: 1;
  205. border: 2px solid #4B83F0;
  206. border-radius: 2px;
  207. }
  208. [type="checkbox"]:checked.filled-in + label::after {
  209. position: absolute;
  210. top: 0;
  211. left: -1.75rem;
  212. width: 1.125rem;
  213. height: 1.125rem;
  214. border: 2px solid #4B83F0;
  215. background-color: #4B83F0;
  216. border-radius: 2px;
  217. z-index: 1;
  218. }
  219. [type="checkbox"].filled-in:checked + label::before {
  220. top: .1rem;
  221. left: -1.8rem;
  222. width: .45rem;
  223. height: .75rem;
  224. border-top: 2px solid transparent;
  225. border-left: 2px solid transparent;
  226. border-right: 2px solid #fff;
  227. border-bottom: 2px solid #fff;
  228. -webkit-transform: rotateZ(37deg);
  229. transform: rotateZ(37deg);
  230. -webkit-transform-origin: 100% 100%;
  231. transform-origin: 100% 100%;
  232. z-index: 2;
  233. }