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.
 
 

458 lines
9.0 KiB

/* 公共样式 */
body {
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.login {
width: 100%;
height: 100%;
min-height: 100vh;
font-family: 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei UI', 'Microsoft YaHei', 'Noto Sans CJK SC', Sathu, EucrosiaUPC, Arial, Helvetica, sans-serif;
background: url("../images/login_bg.jpg");
background-repeat: no-repeat;
background-size: cover;
}
.login--content-wrap {
/* margin: 5rem auto; */
max-width: 80%;
margin: 3% auto;
display: flex;
}
.login--content {
display: flex;
align-items: center;
max-width: 90rem;
margin: 0 auto;
}
.login--content__left {
width: 54%;
}
.login--content__left--image {
width: 100%;
}
.login--content__left--image--mobile {
display: none;
}
.login--content__right {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.login--content__right--title {
font-size: 2.25rem;
font-weight: bold;
color: #333333;
margin-bottom: 3.125rem;
}
.login--content__right--model {
margin-bottom: 2.2815rem;
}
.login--content__right--model__title {
font-size: 1.375rem;
font-weight: bold;
color: #333333;
line-height: 2.9375rem;
}
.login--content__right--model__desc {
font-size: 1.125rem;
font-weight: 400;
color: #333333;
line-height: 2.25rem;
}
.login--content__right--operate {
margin-top: 4rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.login--content__right--operate__made {
width: 17.5rem;
height: 3.125rem;
line-height: 3.125rem;
background: rgba(38, 42, 47, .8);
border-radius: .25rem;
font-size: 1.125rem;
font-weight: 400;
text-align: center;
color: #FFFFFF;
cursor: pointer;
}
.login--content__right--operate__connect {
width: 17.5rem;
height: 3.125rem;
line-height: 3.125rem;
background: #FFFFFF;
border-radius: .25rem;
border: 3px solid rgba(38, 42, 47, 1);
font-size: 1.125rem;
font-weight: 400;
text-align: center;
color: rgba(38, 42, 47, 1);
margin-left: 2.4375rem;
cursor: pointer;
box-sizing: border-box;
}
.mask {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: rgba(0, 0, 0, .3);
z-index: 1;
display: none;
}
.secure-popup {
background: #FFFFFF;
box-shadow: 0px 0px 3px 0px rgba(15, 80, 178, 0.51);
border-radius: 4px;
padding: 4.375rem 3.75rem;
position: fixed;
/* top: 26%;
left: 36%;
z-index: 90; */
/* width: 32.5rem;
height: 34.375rem; */
z-index: 90;
width: 32.5rem;
left: 50%;
margin-left: -16.25rem;
height: 35rem;
top: 50%;
margin-top: -17.5rem;
box-sizing: border-box;
}
.popup-content__item {
margin-bottom: 1.25rem;
}
.popup-content__item2 {
display: flex;
justify-content: space-between;
}
.popup-content__item3 {
display: flex;
}
.popup-content__btn {
width: 25rem;
height: 3.375rem;
background: rgba(38, 42, 47, .8);
border-radius: .25rem;
font-size: 1.25rem;
font-weight: 400;
color: #FFFFFF;
line-height: 3.375rem;
text-align: center;
cursor: pointer;
}
.secure-popup__close {
position: fixed;
position: absolute;
right: 1.375rem;
top: 1.375rem;
cursor: pointer;
}
.input {
width: 22.4rem;
height: 3.375rem;
border: 1px solid #999999;
border-radius: .25rem;
font-size: 1.25rem;
font-weight: 400;
color: #333333;
padding: 0 1.25rem;
}
.input.warning {
border-color: red;
}
.input.warning::placeholder {
color: red;
}
.inputCode {
width: 10rem;
height: 3.375rem;
border: 1px solid #999999;
border-radius: .25rem;
font-size: 1.25rem;
font-weight: 400;
color: #333333;
padding: 0 1.25rem;
}
.inputCode.warning {
border-color: red;
}
.inputCode.warning::placeholder {
color: red;
}
#footer {
/* margin-top: 9rem; */
margin-top: 6%;
}
/* 适配1360*768的电脑屏幕: */
/* 适配1366*768的电脑屏幕: */
/* 适配1440*900的电脑屏幕: */
/* 适配1400*1050的电脑屏幕: */
@media screen and (min-width: 1360px) and (max-width: 1440px) {
/* CSS 样式 */
.login--content {
max-width: 70rem;
margin: 0 auto;
}
.login--content__right--title {
font-size: 2.45rem !important;
margin-bottom: 2.5rem !important;
}
.login--content__right--operate__connect,
.login--content__right--operate__made {
width: 13rem;
}
.login--content__right--model {
margin-bottom: 1.5rem !important;
}
/* .secure-popup {
top: 6rem!important;
} */
}
/* 适配1024*768的电脑屏幕 */
@media only screen and (max-width: 1024px) and (max-height: 768px) {
/* 在屏幕宽度小于等于1024px且屏幕高度小于等于768px时应用以下样式 */
.login--content {
margin: 3rem 6.75rem 2rem !important;
}
.login--content__right--title {
font-size: 1.7rem !important;
margin-bottom: 1rem !important;
}
.login--content__right--model__title {
font-size: 1.25rem !important;
}
.login--content__right--model__desc {
font-size: 1rem !important;
}
.login--content__right--model {
margin-bottom: 1rem !important;
}
.login--content__right--operate {
display: flex !important;
flex-wrap: nowrap !important;
margin-top: 0 !important;
}
.login--content__right--operate__connect,
.login--content__right--operate__made {
width: 12rem !important;
height: 3rem !important;
line-height: 3rem !important;
font-size: 1rem !important;
}
.login--content__right--model {
margin-bottom: 1.5rem !important;
}
/* .secure-popup {
top: 3rem!important;
} */
.login--content__left {
width: 50% !important;
}
#footer {
margin-top: 4.5rem;
}
}
/* 当屏幕宽度小于等于 768px 时,应用以下样式 */
@media screen and (max-width: 768px) {
/* 移动端样式 */
.login--content-wrap {
margin: 1rem 0;
display: flex;
flex-direction: row;
align-items: center;
}
.login--content {
margin: 0 !important;
flex-wrap: wrap;
}
.login--content__left {
width: 100% !important;
height: auto !important;
margin: 2rem 0 3rem;
}
.login--content__left--image {
display: none;
width: 100%;
}
.login--content__left--image--mobile {
display: block;
width: 90%;
margin: 0 auto;
}
.login--content__right--title {
/* text-align: center; */
padding: 0 1rem;
font-size: 1.5rem !important;
margin-bottom: 1.2rem !important;
}
.login--content__right--model {
padding: 0 1rem;
font-size: 1.25rem;
margin-bottom: 1.5rem;
}
.login--content__right--model__title {
font-size: 1.25rem;
line-height: 2.4;
}
.login--content__right--model__desc {
font-size: 1rem !important;
line-height: 1.6;
}
.login--content__right--operate {
padding: 0 1rem;
margin-bottom: 6rem;
display: flex;
justify-content: space-between;
margin-top: 1rem;
}
.login--content__right--operate__made,
.login--content__right--operate__connect {
width: 10rem !important;
}
.login--content__right--operate__connect {
margin-left: 0 !important;
}
.popup-content__item {
margin-bottom: 1.25rem;
}
.popup-content__item2 {
width: 18.8rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.popup-content__item3 {
width: 18.8rem;
}
.popup-content__btn {
width: 18.8rem !important;
height: 3rem !important;
line-height: 3rem !important;
}
/* .secure-popup{
padding: 2.5rem 1.5rem!important;
top: 15%!important;
left: 4%!important;
width: auto;
height: auto;
margin-left: 0;
margin-top: 0;
} */
.secure-popup {
width: 22rem;
height: 30rem;
FONT-WEIGHT: 200;
margin-left: -11rem;
margin-top: -15rem;
padding: 3rem 1.5rem 0 1.5rem;
}
.secure-popup__close {
top: 1.075rem !important;
}
.input {
width: 16.3rem !important;
height: 3rem !important;
line-height: 3rem !important;
font-size: 1rem;
}
.inputCode {
width: 6.3rem;
height: 3rem;
height: 3rem !important;
border: 1px solid #999999;
border-radius: .25rem;
font-size: 1rem;
font-weight: 400;
color: #333333;
padding: 0 1.25rem;
}
.codeImage {
width: 8rem;
height: 3rem;
}
.img {
width: 100%;
height: 100%;
}
#footer {
margin-top: 1rem;
}
}