mirror of https://github.com/IoTcat/chat.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
169 lines
2.5 KiB
169 lines
2.5 KiB
html,body{ |
|
width: 100%; |
|
height: 100%; |
|
overflow: hidden; |
|
} |
|
|
|
#js_login_body{ |
|
width: 100%; |
|
height: 100%; |
|
overflow: hidden; |
|
background: url(https://imio.oss-cn-shanghai.aliyuncs.com/chat/img/ba.jpg) no-repeat center center/cover; |
|
} |
|
.js_login_content{ |
|
position: absolute; |
|
top: 0; |
|
left: 0; |
|
overflow: hidden; |
|
z-index: 10; |
|
width: 100%; |
|
height: 100%; |
|
} |
|
.icon-githublogo{ |
|
position: absolute; |
|
display: block; |
|
top: 5%; |
|
width: 5rem; |
|
height: 5rem; |
|
left: 50%; |
|
margin-left: -2.5rem; |
|
color: #eacb20; |
|
font-size: 5rem; |
|
} |
|
.login-input-box{ |
|
position: absolute; |
|
top:40%; |
|
left: 50%; |
|
width: 80%; |
|
overflow: hidden; |
|
margin-left: -40%; |
|
color: #f1f1f1; |
|
font-size: 1.6rem; |
|
} |
|
.register-input-box{ |
|
top:35%; |
|
} |
|
.login-username{ |
|
position: relative; |
|
width: 100%; |
|
height: 2rem; |
|
background: rgba(0,0,0,0.5); |
|
} |
|
.login-password{ |
|
margin-top: 1rem; |
|
} |
|
.register-password{ |
|
margin-top: 0.6rem; |
|
} |
|
.login-input{ |
|
display: block; |
|
float: left; |
|
height: 2rem; |
|
width: 75%; |
|
background: rgba(0,0,0,0); |
|
color:#fff; |
|
} |
|
.icon-username, .icon-password, .icon-1{ |
|
color: #eacb20; |
|
font-size: 1rem; |
|
text-align: center; |
|
line-height: 2rem; |
|
float: left; |
|
padding: 0 0.75rem; |
|
} |
|
.login-btn{ |
|
position: relative; |
|
width: 60%; |
|
height: 2rem; |
|
background: #eacb20; |
|
border-radius: 1rem; |
|
color: #fff; |
|
font-size: 0.75rem; |
|
line-height: 2rem; |
|
margin-top: 1.5rem; |
|
left: 50%; |
|
margin-left: -30%; |
|
} |
|
.login-btn-box{ |
|
position: relative; |
|
width: 2rem; |
|
height: 2rem; |
|
line-height: 2rem; |
|
margin: 0 auto; |
|
} |
|
.register-btn{ |
|
margin-top: 1rem; |
|
} |
|
|
|
.login-foot-box{ |
|
position: absolute; |
|
bottom: 2%; |
|
width: 80%; |
|
height: 2.5rem; |
|
text-align: center; |
|
line-height: 2.5rem; |
|
border-top:1px solid #eacb20; |
|
left: 50%; |
|
margin-left: -40%; |
|
display: box; |
|
display:-moz-box; |
|
display: -webkit-box; |
|
} |
|
.login-foot-box span{ |
|
display:block; |
|
box-flex:1; |
|
-moz-box-flex:1; |
|
-webkit-box-flex:1; |
|
position: relative; |
|
font-size: 0.7rem; |
|
color:#fff; |
|
} |
|
.login-foot-box span:hover{background-color: #eacb20;} |
|
.login-btn-text{ |
|
width: 2rem; |
|
height: 2rem; |
|
line-height: 2rem; |
|
float: right; |
|
font-size: 0.75rem; |
|
} |
|
.btn-width{ |
|
width: 2.7rem; |
|
} |
|
|
|
/*loginShow动画*/ |
|
.loginShow-enter{ |
|
transform: translateX(-100%); |
|
opacity: 0; |
|
} |
|
.loginShow-enter-active { |
|
transition: all .5s ease; |
|
} |
|
.loginShow-leave-active { |
|
transform: translateX(-100%); |
|
opacity: 0; |
|
transition: all .5s ease; |
|
} |
|
|
|
/*registerShow动画*/ |
|
.registerShow-enter{ |
|
transform: translateX(100%); |
|
opacity: 0; |
|
} |
|
.registerShow-enter-active { |
|
transition: all .5s ease; |
|
} |
|
.registerShow-leave-active { |
|
transform: translateX(100%); |
|
opacity: 0; |
|
transition: all .5s ease; |
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|