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.

82 lines
2.0 KiB

5 months ago
/**
* 登录页:与 frontend/prototype/login.html + prototype.css 一致。
* 主应用 style.css 的 :root 为 18px,会缩放所有 rem;此处强制等同原型的 html/body 15px 基准。
*/
html.cxxfds-login-page {
font-size: 15px !important;
-webkit-text-size-adjust: 100%;
}
html.cxxfds-login-page body.login-page-wls {
font-size: 15px;
line-height: normal;
}
/** #app 等价于原型里 body 的 flex 子节点链 */
body.login-page-wls #app {
flex: 1 1 auto;
display: flex;
flex-direction: column;
min-height: 0;
width: 100%;
}
body.login-page-wls #app > .login-page-wls__wrap {
flex: 1 1 auto;
min-height: 0;
}
/** 抵消全局 style.css 里 h1,h2 { font-family: var(--heading) },登录页沿用 body.login-page-wls 的字体栈 */
body.login-page-wls h1.login-page-wls__title {
font-family: inherit;
font-size: inherit;
font-weight: 700;
letter-spacing: inherit;
line-height: inherit;
margin: 0 0 0.75rem;
}
body.login-page-wls h2.login-page-wls__card-title {
font-family: inherit;
}
body.login-page-wls .login-page-wls__title-main {
font-weight: 700;
}
body.login-page-wls .login-page-wls__logo-img {
display: block;
width: 72px;
height: 72px;
object-fit: contain;
}
body.login-page-wls .login-page-wls__hint--error {
5 months ago
color: #052d62;
5 months ago
}
5 months ago
/** 「本次验证码」等成功提示:仅保留主题字色,无底色与描边 */
5 months ago
body.login-page-wls .login-page-wls__hint--success {
5 months ago
color: #052d62 !important;
5 months ago
background: none !important;
border: none !important;
border-radius: 0 !important;
padding: 0 !important;
5 months ago
box-sizing: border-box;
5 months ago
}
5 months ago
/** 显式校验:与主题色 #052d62 一致 */
5 months ago
body.login-page-wls .login-page-wls__input.login-page-wls__input--error {
5 months ago
border-color: #052d62;
box-shadow: 0 0 0 2px rgba(5, 45, 98, 0.22);
5 months ago
}
body.login-page-wls .login-page-wls__input.login-page-wls__input--error:focus {
5 months ago
border-color: #052d62;
box-shadow: 0 0 0 3px rgba(5, 45, 98, 0.25);
5 months ago
}
body.login-page-wls .login-page-wls__slogan.login-page-wls__slogan--error {
5 months ago
color: #052d62;
5 months ago
}