$dark-bg: #293146;
|
|
.dark,
|
.dark[data-theme='custom'],
|
.dark[data-theme='default'] {
|
.jnpf-login-container {
|
background-image: url('@/assets/images/login-bg-dark.png');
|
|
.login-content {
|
background-color: $dark-bg;
|
box-shadow: 0 40px 40px rgb(11 15 19 / 20%);
|
|
.login-left::after {
|
background-color: #343434;
|
}
|
|
.login-sub-title,
|
.rule-tip {
|
color: #606266;
|
}
|
}
|
|
.ant-input,
|
.ant-input-affix-wrapper,
|
.ant-input-password {
|
background-color: #232a3b;
|
}
|
|
.ant-btn:not(.ant-btn-link):not(.ant-btn-primary) {
|
border: 1px solid #4a5569;
|
}
|
|
&-form {
|
background-color: $dark-bg !important;
|
}
|
|
input.fix-auto-fill,
|
.fix-auto-fill input {
|
box-shadow: 0 0 0 1000px #232a3b inset !important;
|
}
|
|
input:-webkit-autofill {
|
box-shadow: 0 0 0 1000px #232a3b inset !important;
|
-webkit-text-fill-color: #c9d1d9 !important;
|
}
|
|
.ant-input-affix-wrapper > input.ant-input:focus {
|
caret-color: #c9d1d9;
|
border-color: unset !important;
|
box-shadow: 0 0 0 1000px #232a3b inset !important;
|
-webkit-text-fill-color: #c9d1d9 !important;
|
}
|
|
input:-internal-autofill-previewed,
|
input:-internal-autofill-selected {
|
-webkit-text-fill-color: #232a3b;
|
transition: background-color 5000s ease-out 0.2s;
|
}
|
|
.qrcode-form .qrcode-mask {
|
.qrcode-mask-main {
|
background: rgb(41 49 70 / 96%);
|
}
|
}
|
}
|
}
|
|
.jnpf-login-container {
|
position: relative;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
width: 100%;
|
height: 100%;
|
overflow: hidden;
|
background-image: url('@/assets/images/login-bg.png');
|
background-repeat: no-repeat;
|
background-attachment: scroll;
|
background-position: center center;
|
background-origin: border-box;
|
background-size: cover;
|
|
.ant-input-affix-wrapper > input.ant-input:focus {
|
box-shadow: 0 0 0 1000px #fff inset !important;
|
}
|
|
.login-version {
|
position: fixed;
|
top: 0;
|
right: 0;
|
width: 82px;
|
height: 82px;
|
background: url('@/assets/images/login_version.png') no-repeat center;
|
background-size: 100%;
|
|
.login-version-text {
|
width: 82px;
|
height: 82px;
|
overflow: hidden;
|
font-size: 16px;
|
line-height: 50px;
|
color: #fff;
|
text-align: center;
|
white-space: nowrap;
|
transform: rotate(45deg);
|
}
|
}
|
|
.jnpf-login-container-form {
|
width: 500px;
|
padding: 73px 50px 20px;
|
|
.ant-image,
|
.login-logo {
|
width: 100%;
|
height: 36px;
|
margin: 0 auto 20px;
|
}
|
}
|
|
.login-left {
|
position: relative;
|
width: 500px;
|
height: 100%;
|
padding-top: 80px;
|
|
&::after {
|
position: absolute;
|
top: 90px;
|
right: 0;
|
display: block;
|
width: 1px;
|
height: 420px;
|
content: '';
|
background-color: var(--border-color-base1);
|
}
|
|
.ant-image,
|
.login-logo {
|
display: block;
|
width: 400px;
|
height: 36px;
|
margin: 0 auto 50px;
|
}
|
|
.login-banner {
|
display: block;
|
width: 400px;
|
height: auto;
|
margin: 0 auto;
|
}
|
}
|
|
.copyright {
|
position: fixed;
|
bottom: 50px;
|
font-size: 14px;
|
color: #959bb4;
|
text-align: center;
|
}
|
|
.login-header {
|
position: absolute;
|
top: 70px;
|
right: 60px;
|
left: 60px;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
|
.login-company-logo {
|
display: block;
|
|
.login-company-logo-img {
|
width: auto;
|
height: 36px;
|
}
|
}
|
}
|
|
.login-content {
|
position: relative;
|
z-index: 1;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
height: 580px;
|
overflow: hidden;
|
background: var(--component-background);
|
border-radius: 8px;
|
box-shadow: 0 40px 40px rgb(141 150 160 / 10%);
|
|
.login-cap {
|
margin-bottom: 8px;
|
font-size: 24px;
|
line-height: 33px;
|
}
|
|
.login-sub-title {
|
height: 17px;
|
margin-bottom: 20px;
|
font-size: 14px;
|
line-height: 17px;
|
color: #8c8c8c;
|
user-select: none;
|
|
span {
|
color: var(--primary-color);
|
cursor: pointer;
|
}
|
}
|
|
.login-tab {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin-bottom: 60px;
|
|
.login-tab-item {
|
position: relative;
|
padding: 0 30px;
|
font-size: 16px;
|
line-height: 46px;
|
color: var(--text-color-secondary);
|
cursor: pointer;
|
|
&.active {
|
font-size: 20px;
|
font-weight: 600;
|
color: var(--text-color-base);
|
|
&::after {
|
position: absolute;
|
bottom: 0;
|
left: 50%;
|
display: block;
|
width: 80px;
|
height: 3px;
|
content: '';
|
background-color: var(--primary-color);
|
transform: translateX(-50%);
|
}
|
}
|
}
|
}
|
|
.sso-login-btn {
|
width: 100%;
|
margin-top: 100px;
|
font-size: 16px;
|
}
|
}
|
|
.socials-box {
|
position: absolute;
|
right: 0;
|
bottom: 30px;
|
left: 0;
|
padding: 0 50px;
|
|
.ant-divider {
|
margin: 10px 0;
|
font-weight: normal;
|
color: #8c8c8c;
|
}
|
}
|
|
.socials-list {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
|
.socials-item {
|
width: 32px;
|
height: 32px;
|
margin: 0 12px;
|
line-height: 32px;
|
text-align: center;
|
cursor: pointer;
|
border-radius: 50%;
|
|
i {
|
font-size: 22px;
|
color: #b9b9b9;
|
}
|
|
&:hover {
|
background-color: var(--primary-color);
|
|
i {
|
color: #fff;
|
}
|
}
|
}
|
}
|
|
.sms-input {
|
width: 260px;
|
overflow: hidden;
|
|
.ant-input {
|
width: 260px;
|
min-width: 0 !important;
|
}
|
}
|
|
.sms-right {
|
width: 120px;
|
height: 40px;
|
cursor: pointer;
|
|
.codeImg {
|
width: 100%;
|
height: 40px;
|
}
|
|
.smsBtn {
|
width: 100%;
|
}
|
}
|
|
.rule-tip {
|
font-size: 12px;
|
line-height: 12px;
|
color: #8c8c8c;
|
text-align: left;
|
|
.ant-form-item-control-input {
|
min-height: 12px !important;
|
line-height: 12px !important;
|
}
|
}
|
|
.qrcode-form {
|
position: relative;
|
padding-top: 20px;
|
|
.qrcode-title {
|
margin-bottom: 27px;
|
font-size: 14px;
|
text-align: center;
|
}
|
|
.qrcode-content {
|
position: relative;
|
width: 260px;
|
height: 260px;
|
padding: 10px;
|
margin: 0 auto;
|
background: url('@/assets/images/qrcode-bg.png') 100% 100% no-repeat;
|
background-size: cover;
|
|
.ant-qrcode {
|
border-radius: 0;
|
}
|
}
|
|
.qrcode-mask {
|
position: absolute;
|
top: 10px;
|
right: 10px;
|
left: 10px;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
|
.qrcode-mask-main {
|
position: relative;
|
width: 240px;
|
height: 240px;
|
padding-top: 70px;
|
text-align: center;
|
background: rgb(255 255 255 / 96%);
|
|
.qrcode-icon {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
width: 60px;
|
height: 60px;
|
margin: 0 auto 20px;
|
overflow: hidden;
|
font-size: 40px;
|
color: #fff;
|
background-color: var(--primary-color);
|
border-radius: 50%;
|
|
&.expired-icon {
|
background-color: var(--error-color);
|
}
|
}
|
|
.qrcode-tip {
|
font-size: 20px;
|
}
|
}
|
}
|
|
.qrcode-bottom {
|
margin-top: 10px;
|
text-align: center;
|
}
|
|
.link-text {
|
font-size: 16px !important;
|
}
|
}
|
}
|
|
.login-code-popover {
|
.ant-popover-inner-content {
|
padding: 12px;
|
}
|
|
.code-content {
|
padding: 0;
|
|
.qrcode {
|
display: block;
|
width: 122px;
|
height: 122px;
|
}
|
|
.code-tip {
|
font-size: 14px;
|
font-weight: 400;
|
line-height: 25px;
|
color: var(--text-color-label);
|
text-align: center;
|
}
|
}
|
}
|
|
.jnpf-login-code-modal {
|
.ant-modal-header {
|
height: 10px !important;
|
border-bottom: none !important;
|
}
|
|
.wechat-code-container {
|
padding-bottom: 30px;
|
text-align: center;
|
|
.cap {
|
font-size: 26px;
|
line-height: 38px;
|
color: #000721;
|
}
|
|
.wechat-code-img {
|
display: inline-block;
|
width: 182px;
|
height: 182px;
|
margin: 40px 0 44px;
|
}
|
|
.tip {
|
margin-bottom: 6px;
|
font-size: 16px;
|
font-weight: 400;
|
line-height: 30px;
|
color: #666;
|
}
|
}
|
}
|