login.css 1.54 KB
html,body{
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
}
.login-wrap{
    width:calc(100% - 800px);
    width:-webkit-calc(100% - 800px);
    width:-moz-calc(100% - 800px);
    height: 100%;
    position: relative;
}
.login-main{
    position: absolute;
    right: 0;
    top:50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    width: 400px;
}
.login-name{
    font-size: 40px;
    color: rgba(0,0,0,.8);
}
.login-hint{
    font-size: 16px;
    color: rgba(0,0,0,.6);
}
.login-btn{
    width: 253px;
    height: 58px;
    cursor: pointer;
    text-align: center;
    line-height: 58px;
    font-size: 20px;
    color: #fff;
    background: url("../../resource/img/login-btn.png") no-repeat;
}
.login-bg{
    height: 100%;
    width: 800px;
    background: url("../../resource/img/login-bg.png") no-repeat;
    background-size:100% 100% ;
}
.login-username,.login-password{
    width: 400px;
    height: 48px;
    line-height: 48px;
    padding-left: 20px;
    background-color: #f2f3f4!important;
    font-size: 14px;
    color: rgba(0,0,0,.4);
    border: 0;
    border-radius: 25px;
}
input:focus {outline: none;}
input:-webkit-autofill {
    background-color: #f2f3f4!important;
    -webkit-box-shadow: 0 0 0px 1000px #f2f3f4 inset !important;
}
.login-username{
    margin: 64px 0 40px;
}
.login-errorifo{
    font-size: 14px;
    color:#f94c6e ;
    height: 14px;
    line-height: 14px;
    margin: 23px 0;
}
/*.login-password{*/
    /*margin-bottom: 60px;*/
/*}*/