forgeplus-react/src/modules/loginRegister/LoginRegisterPage.scss

238 lines
4.9 KiB
SCSS

.login_register{
height: 100%;
}
.login_register_left,.login_register_right,.right_cont{
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
.login_register_left{
display: flex;
position: absolute;
justify-content: center;
width: 30%;
height: 100%;
background-image: url(./img/bg.png);
.logo{
height: 65px;
margin-top: 160px;
}
.ball{
height: 220px;
z-index: 3;
position: absolute;
bottom: 270px;
animation: moving2 10s linear infinite;
}
@keyframes moving2 {
0% {
transform: rotate(0deg);
}
50% {
transform: rotate(180deg);
}
100% {
transform: rotate(360deg);
}
}
.banner{
height: 486px;
position: absolute;
bottom: -90px;
left: 10px;
}
}
.login_register_right{
background-image: url(./img/rightBg.png);
position: absolute;
top: 0;
left: 30%;
right: 0;
height: 100%;
.img1{
position: relative;
left: 130px;
top: 50%;
}
.img2{
position: relative;
top: 65%;
left: 550px;
}
.right_cont{
width: 37.5rem;
position: absolute;
top: 15%;
left: 16%;
z-index: 3;
border-radius: 7px;
background-color: white;
padding: 55px 90px;
& .register_tips{
margin-top: -15px;
padding-bottom: 8px;
color: #808080;
font-size: 13px;
}
& .login_register_head{
display: flex;
justify-content: space-between;
align-items: center;
&>span:first-child{
font-size: 24px;
font-weight: 600;
color: #000000;
line-height: 33px;
}
& .ant-input{
width: 19rem;
}
}
& .account{
margin-top: 36px;
}
& .login_register_cofBut{
width: 100%;
height: 44px;
background: #466AFF;
border-color: #466AFF;
border-radius: 7px;
margin-top: 20px;
font-size: 15px;
&:hover{
background: #3456E5;
border-color: #3456E5;
}
}
& a{
color: #466AFF;
&:hover{
opacity:0.8;
}
}
& .link_span{
font-weight: 500;
font-size: 15px;
color: #808080;
}
& .ant-input{
height: 44px;
background-color: #F7F7F7 !important;
font-size: 15px;
color: #333333;
&:hover{
border-color:#466AFF;
}
}
& .has-success .ant-input{
background-color: #F7F7F7;
}
& .ant-form-explain{
margin-top: 5px;
}
& .message, .ant-form-explain{
color: #D40000;
font-size: 13px;
}
& .message.active{
margin-bottom: -30px !important;
margin-top: 10px;
}
//取消antd表单默认样式
.has-error .ant-input{
background: #F7F7F7;
border-color: #D40000;
}
//修改复选框默认antd样式
.ant-checkbox-checked .ant-checkbox-inner {
background-color: #466AFF;
border: #466AFF;
}
.ant-checkbox-checked::after{
border: 1px solid #466AFF;
}
.ant-checkbox-wrapper:hover .ant-checkbox-inner, .ant-checkbox:hover .ant-checkbox-inner, .ant-checkbox-input:focus + .ant-checkbox-inner,.ant-radio-checked .ant-radio-inner,.ant-radio-wrapper:hover .ant-radio, .ant-radio:hover .ant-radio-inner, .ant-radio-input:focus + .ant-radio-inner {
border-color: #466AFF;
}
}
.login_content{
background-image: url(./img/loginBg.png);
height: 480px;
& .login_register_cofBut{
margin-top: 0;
}
& .login_register_head{
& checkbox{
font-size: 15px;
color: #3C476E;
line-height: 21px;
}
& .goResetPsdBut{
margin-top: -25px;
}
}
& .quick_logon{
text-align: center;
& .quick_logon_p{
border-top: 1px solid #979797;
margin-top: 24px;
}
& .startlogin{
position: relative;
background: #dfe0f7;
display: block;
width: 90px;
top: -15px;
left: 39%;
font-size: 13px;
color: #8D8D8D;
}
}
}
.Register_content{
background-image: url(./img/registerBg.png);
& .register_last_form .ant-form-item-control{
line-height: 0.5;
}
}
.ResetPassword_content{
background-image: url(./img/resetPasswordBg.png);
height: 550px;
& .resetFailCaptcha{
position: absolute;
top: 25px;
color: #D40000;
font-size: 13px;
}
}
.codeBut{
height: 45px;
background: #F7F7F7;
border-radius: 7px;
border: 1px solid rgba(167, 177, 200, 0.33);
margin-left: 14px;
width: 102px;
color: #466AFF;
font-size: 15px;
}
.codeBut.disable{
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
}
}
.ant-message-notice-content{
box-shadow: 0px 1px 8px 1px rgba(0, 0, 0, 0.11);
border-radius: 10px;
margin-top: 2rem;
margin-left: 10%;
font-size: 15px;
& a{
color: #466AFF;
&:hover{
opacity:0.8;
}
}
}