react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
140 lines (137 loc) • 3.83 kB
text/less
.loginWrapper{
position: fixed;
background-color: #fff;
width: 750px;
text-align: center;
margin:0 auto;
font-size: 28px;
min-height: 100%;
bottom: -100%;
z-index: 11;
transition: all .3s;
pointer-events: none;
.content{
padding-top: 40px;
pointer-events: auto;
.section{
width: 660px;
margin: 0 auto;
}
.setItem{
position: relative;
height: 108px;
padding-top: 18px;
border-bottom: 2px solid #F5F5F5;
input{
height: 90px;
font-size: 32px;
width: 530px;
text-align: left;
position: absolute;
left: 108px;
}
label{
float: left;
width: 48px;
height: 48px;
margin-left: 26px;
top: 20px;
position: relative;
overflow: hidden;
}
}
.phoneWarp{
label{
background: url(../../public/images/login/phone-icon.png) no-repeat center bottom;
background-size: 48px 48px;
}
}
.icodeWrap{
label{
background: url(../../public/images/login/security-icon.png) no-repeat center bottom;
background-size: 48px 48px;
}
input{
height: 90px;
font-size: 32px;
width: 300px;
text-align: left;
}
.captchaImg{
position: absolute;
height: 60px;
line-height: 60px;
width: 164px;
color: #fff;
right: 22px;
bottom: 13px;
cursor: pointer;
img{
width: 100%;
height: 100%;
}
}
}
.codeWrap{
label{
background: url(../../public/images/login/email-icon.png) no-repeat center bottom;
background-size: 48px 48px;
}
input{
height: 90px;
font-size: 32px;
width: 300px;
text-align: left;
}
.sendMsgBtn{
position: absolute;
height: 60px;
line-height: 60px;
width: 260px;
border-radius: 50px;
color: #fff;
background-color: #CCCCCC;
font-size: 32px;
right: 22px;
bottom: 13px;
cursor: pointer;
}
.active{
background-color: #FED501;
}
}
.function{
width: 660px;
margin: 0 auto;
padding-top: 60px;
.closeBtn{
height: 80px;
line-height: 80px;
width: 290px;
border-radius: 40px;
background-color: #CCCCCC;
color: #FFFFFF;
font-size: 32px;
cursor: pointer;
display: inline-block;
margin-right: 18px;
}
.loginBtn{
height: 80px;
line-height: 80px;
width: 290px;
border-radius: 40px;
background-color: #FED501;
color: #333333;
font-size: 32px;
cursor: pointer;
display: inline-block;
}
}
}
}
.animation{
transition: all .3s;
bottom: 0px;
overflow: hidden;
}