HTML部分
{extend name="common:base"}
{block name="title"}
{/block}
{block name="css"}
{/block}
{block name="header"}
{include file="common:header" /}
{/block}
{block name="body" }
{/block}
{block name="footer"}
{include file="common:footer" /}
{/block}
{block name="js"}
{/block}
CSS部分
.banner {
position: relative;
}
.banner .login-box {
position: absolute;
width: 620px;
top: 60%;
left: 73%;
transform: translate(-50%, -50%);
background: #fff;
color: #424242;
padding: 46px 67px 60px 73px;
}
.banner .login-box h3 {
font-size: 40px;
font-weight: 700;
color: rgba(66, 66, 66, 1);
text-align: center;
margin-bottom: 2rem;
}
.banner .login-box h4 {
font-size: 24px;
font-weight: 400;
color: rgba(66, 66, 66, 1);
margin-bottom: 0.5rem;
}
.banner .login-box p {
margin-bottom: 2rem;
font-size: 15px;
font-weight: 400;
color: rgba(0, 0, 0, 0.6);
}
.banner .login-box form p {
border: 1px solid rgba(0, 0, 0, 0.1);
padding-left: 30px;
height: 65px;
line-height: 63px;
margin-bottom: 15px;
}
.banner .login-box form p img {
float: left;
margin-top: 20px;
}
.banner .login-box form p input {
color: #666;
font-size: 18px;
display: block;
border: none;
background: none;
float: left;
width: 90%;
padding-left: 20px;
outline: none;
}
.banner .login-box form p input::-webkit-input-placeholder {
font-size: 18px;
color: rgba(0, 0, 0, 0.2);
}
.banner .login-box form p input:-moz-placeholder {
font-size: 18px;
color: rgba(0, 0, 0, 0.2);
}
.banner .login-box form p input::-moz-placeholder {
font-size: 18px;
color: rgba(0, 0, 0, 0.2);
}
.banner .login-box form p input:-ms-input-placeholder {
font-size: 18px;
color: rgba(0, 0, 0, 0.2);
}
.banner .login-box form p input:-internal-autofill-selected {
background: none !important;
}
.banner .login-box form p input:-webkit-autofill {
box-shadow: 0 0 0px 1000px white inset;
}
.banner .login-box form .remember {
overflow: hidden;
padding-left: 0;
text-align: center;
}
.banner .login-box form .remember span {
display: block;
float: left;
width: 50%;
border-right: 1px solid rgba(0, 0, 0, 0.1);
font-size: 18px;
font-weight: 400;
text-decoration: underline;
color: rgba(117, 117, 117, 1);
}
.banner .login-box form .remember .remem {
display: none;
}
.banner .login-box form .remember input[type=radio] {
display: none;
}
.banner .login-box form .remember label {
display: block;
float: left;
background: none;
width: 50%;
border-right: 1px solid rgba(0, 0, 0, 0.1);
font-size: 18px;
color: #757575;
font-weight: 400;
}
.banner .login-box form .ema {
border: none;
font-size: 15px;
color: #757575;
padding: 0;
line-height: 2;
height: unset;
a {
color: #A3A3A3;
font-style: italic;
text-decoration: underline;
}
}
.banner .login-box form div {
background: #1565C0;
padding: 20px 0;
}
.banner .login-box form div input {
border: none;
background: none;
display: block;
font-size: 18px;
color: #fff;
margin: 0 auto;
}
.banner .enquiry_make {
position: fixed;
z-index: 99;
background: rgba(0, 0, 0, 0.7);
width: 100%;
height: 100%;
top: 0;
left: 0;
display: none;
}
.banner .enquiry_make p {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: #000;
color: #fff;
padding: 20px 30px;
}
@media screen and (max-width: 1639px) {
.banner .login-box h3 {
margin-bottom: 20px;
}
.banner .login-box h4 {
font-size: 20px;
margin-bottom: 15px;
}
.banner .login-box p {
margin-bottom: 20px;
}
}
@media screen and (max-width: 1500px) {
.banner .login-box {
padding: 30px 40px;
}
.banner .login-box form p {
height: 40px;
line-height: 40px;
}
.banner .login-box form p img {
margin-top: 11px;
}
.banner .login-box form .remember span {
font-size: 16px;
}
.banner .login-box form div {
padding: 10px 0;
}
.banner .login-box form div input {
font-size: 16px;
}
}
// 1280
@media screen and (max-width: 1300px) {
.bgLogin {
height: 800px;
object-fit: cover;
}
}
// 1024
@media screen and (max-width: 1199px) {
.banner .login-box h3 {
font-size: 28px;
}
.banner .login-box {
width: 45%;
padding: 20px;
}
.banner .login-box h4 {
font-size: 16px;
margin-bottom: 10px;
}
.banner .login-box p {
margin-bottom: 10px;
}
.banner .login-box form .remember span {
font-size: 16px;
}
.banner .login-box form .ema {
margin-bottom: 20px;
}
.bgLogin {
height: 650px;
}
}
@media screen and (max-width: 999px) {
.banner .login-box h3 {
margin-bottom: 5px;
}
}
@media screen and (max-width: 768px) {
.banner .login-box {
width: 100%;
margin-top: 30px;
margin-bottom: 30px;
position: unset;
transform: unset;
}
.banner .login-box h3 {
margin-bottom: 20px;
}
.banner .login-box form p {
padding-left: 15px;
height: 52px;
line-height: 50px;
}
.banner .login-box form p img {
margin-top: 15px;
}
.banner .login-box form p input::-webkit-input-placeholder {
font-size: 16px;
}
.banner .login-box form p input:-moz-placeholder {
font-size: 16px;
}
.banner .login-box form p input::-moz-placeholder {
font-size: 16px;
}
.banner .login-box form p input:-ms-input-placeholder {
font-size: 16px;
}
.banner .login-box form p input:focus {
background: transparent;
}
.banner .login-box form .remember {
overflow: unset;
}
.banner .login-box form .remember label {
width: 100%;
margin-bottom: 10px;
font-size: 16px;
}
.banner .login-box form .remember span {
width: 100%;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.banner .login-box form .ema {
clear: both;
padding-top: 10px;
}
}
@media screen and (max-width: 768px) {
.banner {
padding-top: 60px;
}
.bgLogin {
height: unset;
}
}
/*# sourceMappingURL=login.css.map */