h5p-auto / static /style.css
cnb.cYcEnOSHAGA
feat: 1:1复刻XAUAT统一身份认证登录页面
47233a9
Raw History Blame Contribute Delete
17.1 kB
/* =============================================
西安建筑科技大学 - 统一身份认证平台
1:1 复刻 authserver.xauat.edu.cn
============================================= */
* {
margin: 0;
padding: 0;
border: 0;
}
ol, ul {
list-style: none;
}
input:focus {
outline: none;
border: 1px solid white;
}
body {
background-attachment: fixed;
font-family: PingFangSC-Regular, "Microsoft YaHei UI", "Microsoft YaHei", "Arial-normal", "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
height: 100%;
width: 100%;
}
/* =============================================
Container - 主容器
============================================= */
.container-ge {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
text-align: center;
overflow-y: auto;
overflow-x: hidden;
font-size: 14px;
font-weight: 400;
font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
font-style: normal;
}
/* =============================================
背景图
============================================= */
.auth_page_wrappers {
width: 100%;
height: 100%;
position: relative;
}
.auth_bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.auth_bg img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* =============================================
语言切换
============================================= */
.cus_language_switch {
position: absolute;
top: 24px;
right: 36px;
z-index: 10;
display: flex;
gap: 16px;
}
.cus_language_item {
font-size: 14px;
color: rgba(255, 255, 255, 0.5);
cursor: pointer;
padding: 5px 8px;
border-radius: 4px;
transition: color 0.2s;
}
.cus_language_item:hover {
color: rgba(255, 255, 255, 0.8);
}
.selected_language {
color: #FFFFFF !important;
font-weight: 500;
}
/* =============================================
Body 内容区
============================================= */
.auth_page_body {
height: 100%;
overflow-y: auto;
position: relative;
z-index: 9;
}
.auth_page_content {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
}
/* =============================================
登录内容区
============================================= */
.auth_login_content {
position: relative;
display: flex;
z-index: 9;
min-width: 1000px;
min-height: 560px;
}
/* =============================================
左侧扫码区
============================================= */
.left-wrap {
width: 260px;
height: auto;
border-radius: 16px 0 0 16px;
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(5px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.qr_scan_box {
width: 200px;
height: 200px;
background: rgba(255, 255, 255, 0.6);
position: relative;
margin: 0 auto;
border-radius: 4px;
}
.qr_scan_code {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.qr_scan_code img {
width: 160px;
height: 160px;
}
.qr_scan_Invalid {
width: 160px;
height: 160px;
position: absolute;
z-index: 10;
background: rgba(255, 255, 255, 0.9);
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center;
justify-content: center;
}
.qr_scan_Invalid img {
width: 50px;
height: 50px;
cursor: pointer;
}
.qr_scan_success {
margin-top: 60px;
text-align: center;
}
.qr_scan_success .title_h1 {
font-size: 16px;
color: #34363e;
font-weight: bold;
display: block;
margin-bottom: 8px;
}
.qr_scan_success .sub_title {
font-size: 14px;
color: #34363e;
display: block;
margin-bottom: 12px;
}
.scan_footer {
margin-top: 8px;
}
.scan_footer .scan_a {
font-size: 14px;
color: #165DFF;
text-decoration: none;
cursor: pointer;
}
.left-wrap-title {
font-family: "PingFang SC", sans-serif;
font-size: 16px;
font-weight: 500;
line-height: 22px;
text-align: center;
color: #262626;
margin-top: 12px;
}
/* =============================================
右侧登录卡片
============================================= */
.wrap-ge {
width: 470px;
height: 560px;
background-color: #FFFFFF;
display: inline-block;
vertical-align: middle;
position: relative;
border-radius: 0px 15px 15px 0px;
}
.main {
width: calc(100% - 120px);
height: calc(100% - 90px);
padding: 10px 60px;
}
/* =============================================
Logo 区
============================================= */
.dz-logo {
text-align: left;
display: flex;
align-items: center;
gap: 12px;
}
.dz-logo img {
width: 214px;
height: 42px;
}
.dz-logo h5 {
font-size: 16px;
color: #1D2129;
font-weight: 400;
padding-left: 12px;
border-left: 1px solid #D9D9D9;
line-height: 20px;
}
/* =============================================
Tab 切换头
============================================= */
.tabHead {
width: calc(100% - 88px);
height: 40px;
margin-top: 30px;
display: flex;
gap: 24px;
align-items: center;
}
.tabHead span {
text-align: center;
width: auto;
}
.loginFont_a {
font-size: 16px;
color: #86909C;
letter-spacing: 1px;
text-align: justify;
font-weight: 400;
position: relative;
max-width: 100px;
text-decoration: none;
cursor: pointer;
padding-bottom: 8px;
transition: color 0.2s;
}
.loginFont_a:hover {
color: #165DFF;
}
.selected_underline_a {
font-size: 18px !important;
color: #165DFF !important;
font-weight: 500 !important;
}
/* =============================================
登录面板
============================================= */
.login-main {
margin-top: 40px;
position: relative;
min-height: 360px;
}
.tab-panel {
display: none;
}
.tab-panel.active {
display: block;
}
/* =============================================
表单
============================================= */
.form .m-account,
.form .m-phone {
background: transparent;
}
.form .m-account .item,
.form .m-phone .item {
border-width: 0;
border-radius: 0;
height: 87px;
position: relative;
}
.form .m-account > div.username > input,
.form .m-account > div.password > input,
.form .m-phone > div.username > input {
margin-left: 0;
width: 100%;
padding: 12px 0px 10px 0px;
font-size: 15px;
line-height: 22px;
border-radius: 0px;
border: none;
border-bottom: 1px solid #EDEFF2;
background: transparent;
transition: border-color 0.2s;
box-sizing: border-box;
}
.form .m-account > div.password > input {
padding-right: 36px;
}
.form .m-account .item input:hover,
.form .m-phone .item input:hover {
border-color: #165DFF;
}
.form .m-account .item input:focus,
.form .m-phone .item input:focus {
border-color: #165DFF;
border-width: 0 0 1px 0;
}
.form .m-account > div.captcha > input,
.form .m-phone > div.captcha > input,
.form .m-phone > div.code > input {
margin-left: 0;
width: calc(100% - 90px);
padding: 12px 0;
float: left;
border: none;
border-bottom: 1px solid #EDEFF2;
font-size: 15px;
background: transparent;
box-sizing: border-box;
}
/* =============================================
密码眼睛图标
============================================= */
.ge-input-eye {
position: absolute;
right: 8px;
bottom: 29px;
cursor: pointer;
width: 18px;
height: 15px;
}
.eye-hide {
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386909C' stroke-width='2'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
background-size: contain;
}
.eye-show {
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23165DFF' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
background-size: contain;
}
/* =============================================
验证码
============================================= */
.captcha-img {
position: absolute;
top: 14px;
right: 5px;
cursor: pointer;
text-align: center;
width: 86px;
height: 30px;
}
.captcha-img img {
border-radius: 4px;
width: 86px;
height: 30px;
}
.mask-inner {
font-size: 14px;
color: #FFFFFF;
letter-spacing: 0;
text-decoration: none;
text-align: center;
line-height: 30px;
position: absolute;
left: 0;
top: 100%;
width: 100%;
height: 100%;
transition: top ease 200ms;
display: none;
background: rgba(0, 0, 0, 0.4);
border-radius: 4px;
}
.captcha-img:hover .mask-inner {
display: block;
top: 0;
}
/* =============================================
短信验证码按钮
============================================= */
.get-code {
width: 80px;
height: 28px;
border: 1px solid #165DFF;
border-radius: 4px;
font-size: 13px;
color: #165DFF;
letter-spacing: 0;
line-height: 28px;
position: absolute;
top: 10px;
right: 5px;
cursor: pointer;
text-decoration: none;
text-align: center;
}
.get-code:hover {
background: rgba(22, 93, 255, 0.05);
}
/* =============================================
7天免登录
============================================= */
.rememberMe {
float: left;
margin: 16px 0px;
text-align: left;
width: 90%;
display: flex;
align-items: center;
}
.rememberMe input[type="checkbox"] {
width: 16px;
height: 16px;
cursor: pointer;
accent-color: #165DFF;
}
.check-title {
width: calc(100% - 25px);
color: #86909C;
vertical-align: text-bottom;
font-size: 14px;
margin-left: 8px;
cursor: pointer;
}
/* =============================================
帮助链接
============================================= */
.container-ge .help {
width: 400px;
height: 22px;
margin-top: 12px;
position: absolute;
left: 28px;
}
.help .flex-col-center {
display: flex;
align-items: center;
gap: 0;
}
.help .fo-password,
.help .activation-account {
font-size: 14px;
color: #86909C;
line-height: 22px;
font-weight: 400;
text-decoration: none;
transition: color 0.2s;
}
.help .activation-account {
max-width: 125px;
padding: 0px 2px 0px 5px;
}
.help .fo-password {
max-width: 115px;
margin: 0px 0px 0px 2px;
}
.help .fo-password:hover,
.help .activation-account:hover {
color: #165DFF;
}
.help .split-lines {
width: 10px;
border-top: 1px solid #DFE2E8;
transform: rotate(90deg);
display: inline-table;
margin-bottom: 10px;
}
/* =============================================
登录按钮
============================================= */
.container-ge .ge-btn {
margin-top: 28px;
text-align: left;
position: relative;
top: 40px;
}
.container-ge .btn .login-btn {
width: 350px;
height: 44px;
line-height: 44px;
border-radius: 4px;
background-color: #165DFF;
display: block;
color: #FFFFFF;
text-align: center;
font-size: 15px;
text-decoration: none;
letter-spacing: 12px;
cursor: pointer;
transition: background-color 0.2s;
}
.container-ge .btn .login-btn:hover {
background-color: #4080FF;
}
.container-ge .btn .login-btn:active {
background-color: #0E42D2;
}
/* =============================================
错误提示
============================================= */
.form-errorTip {
font-size: 14px;
letter-spacing: 0;
text-align: justify;
line-height: 16px;
left: 1px;
float: left;
max-width: 100%;
margin-bottom: 8px;
}
.form-error {
color: #F53F3F;
}
.form-warn {
color: #efa30e;
}
.item-error-tip {
width: 100%;
text-align: left;
color: #F53F3F;
font-size: 12px;
line-height: 20px;
}
/* =============================================
底部提示信息
============================================= */
.login-tip {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background: rgba(255, 255, 255, 0.5);
text-align: left;
padding: 10px 16px 10px 40px;
width: calc(100% - 56px);
border-radius: 0 0 16px 0;
box-sizing: border-box;
}
.login-tip .item {
font-family: "PingFang SC", sans-serif;
font-size: 12px;
font-weight: 400;
line-height: 19px;
letter-spacing: 0px;
text-align: left;
color: #595959;
display: flex;
align-items: center;
}
.login-tip .item .dot {
display: inline-block;
width: 4px;
height: 4px;
border-radius: 50%;
background: #595959;
margin-right: 5px;
flex-shrink: 0;
}
/* =============================================
底部 Footer
============================================= */
.container-ge .footer {
position: absolute;
left: 0;
bottom: 0;
width: calc(100% - 120px);
height: 24px;
color: #3C3772;
display: flex;
align-items: center;
justify-content: left;
cursor: pointer;
background: #F7F8FA;
border-radius: 0px 0px 15px 0px;
padding: 11px 60px;
}
.footer .ways {
display: flex;
align-items: center;
}
.footer .ways .item {
position: relative;
float: left;
margin-right: 16px;
}
.footer .ways .item img {
width: 24px;
height: 24px;
cursor: pointer;
}
.prompt-bottom {
display: none;
width: 70px;
height: 28px;
background: #FFFFFF;
box-shadow: 0 6px 6px -2px rgba(40, 75, 96, 0.18);
border-radius: 4px;
position: absolute;
text-align: center;
line-height: 28px;
top: -36px;
left: -23px;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #34363E;
}
.prompt-bottom::before {
content: '';
position: absolute;
bottom: -8px;
left: 25px;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #FFFFFF;
}
.footer .ways .item:hover .prompt-bottom {
display: block;
}
/* =============================================
版权信息
============================================= */
.dz-copyright {
position: absolute;
left: 0;
bottom: 0;
height: 50px;
line-height: 50px;
text-align: center;
width: 100%;
background: rgba(0, 0, 0, 0.3);
color: #fff;
font-size: 12px;
z-index: 10;
}
/* =============================================
隐藏元素
============================================= */
.hide {
display: none !important;
}
/* =============================================
Placeholder 样式
============================================= */
.container-ge ::-webkit-input-placeholder {
color: #C9CDD4;
font-size: 15px;
}
.container-ge :-moz-placeholder {
color: #C9CDD4;
font-size: 15px;
}
.container-ge :-ms-input-placeholder {
color: #C9CDD4;
font-size: 15px;
}
/* =============================================
自动填充覆盖
============================================= */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
-webkit-text-fill-color: #000 !important;
-webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
background-color: transparent;
background-image: none;
transition: background-color 50000s ease-in-out 0s;
}
input {
background-color: transparent;
}
/* =============================================
响应式
============================================= */
@media (max-width: 1050px) {
.auth_login_content {
min-width: auto;
flex-direction: column;
align-items: center;
}
.left-wrap {
border-radius: 16px 16px 0 0;
width: 100%;
max-width: 470px;
padding: 20px 0;
}
.wrap-ge {
border-radius: 0 0 16px 16px;
}
}
@media (max-width: 520px) {
.wrap-ge {
width: 100%;
border-radius: 16px;
}
.main {
width: calc(100% - 48px);
padding: 10px 24px;
}
.container-ge .btn .login-btn {
width: 100%;
}
.dz-logo img {
width: 160px;
}
.login-tip {
padding: 8px 12px 8px 24px;
width: calc(100% - 36px);
}
.container-ge .footer {
width: calc(100% - 48px);
padding: 11px 24px;
}
}