/** * 登录页:与 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 { color: #052d62; } /** 「本次验证码」等成功提示:仅保留主题字色,无底色与描边 */ body.login-page-wls .login-page-wls__hint--success { color: #052d62 !important; background: none !important; border: none !important; border-radius: 0 !important; padding: 0 !important; box-sizing: border-box; } /** 显式校验:与主题色 #052d62 一致 */ body.login-page-wls .login-page-wls__input.login-page-wls__input--error { border-color: #052d62; box-shadow: 0 0 0 2px rgba(5, 45, 98, 0.22); } body.login-page-wls .login-page-wls__input.login-page-wls__input--error:focus { border-color: #052d62; box-shadow: 0 0 0 3px rgba(5, 45, 98, 0.25); } body.login-page-wls .login-page-wls__slogan.login-page-wls__slogan--error { color: #052d62; }