/* Shared Zibll-source authentication contract: modal and /sign/. */ .sign { max-width: 330px; margin: auto; padding: 30px 0; color: var(--main-color, #4e5358); } .sign [hidden] { display: none !important; } .sign button { font: inherit; } .sign-logo { margin-bottom: 24px; text-align: center; } .sign-logo img { max-width: 180px; max-height: 70px; } .sign-logo .sign-logo-dark { display: none; } .dark-theme .sign-logo .sign-logo-light { display: none; } .dark-theme .sign-logo .sign-logo-dark { display: inline-block; } .sign-logo__text { font-size: 22px; font-weight: 700; color: inherit; } .sign-panel { animation: auth-panel-in .24s ease both; } @keyframes auth-panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } } .sign-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 23px; } .sign-header h2 { margin: 0; font-size: 22px; line-height: 1.4; color: var(--key-color, #333); } .sign-header span { font-size: 12px; color: var(--muted-2-color, #999); } .sign-header button, .sign-options button, .sign-mode-switch { padding: 0; border: 0; background: none; color: var(--focus-color, #f04494); cursor: pointer; } .sign-form { display: grid; gap: 17px; } .floating-input { position: relative; min-height: 42px; border-bottom: 1px solid var(--main-border-color, rgba(50, 50, 50, .12)); } .floating-input::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--focus-color, #f04494); transform: scaleX(0); transition: transform .25s; } .floating-input:focus-within::after { transform: scaleX(1); } .floating-input input { width: 100%; height: 42px; padding: 13px 4px 2px; border: 0; outline: 0; background: transparent; color: inherit; font-size: 14px; box-shadow: none !important; } .floating-input label { position: absolute; top: 12px; left: 4px; color: var(--muted-color, #777); font-size: 14px; font-weight: 400; pointer-events: none; transition: all .18s; } .floating-input input:focus + label, .floating-input input:not(:placeholder-shown) + label, .floating-input.is-filled label { top: 0; font-size: 10px; color: var(--focus-color, #f04494); } .floating-input.has-action input { padding-right: 94px; } .floating-input .password-show, .floating-input .send-code { position: absolute; right: 0; bottom: 6px; z-index: 2; border: 0; background: none; color: var(--muted-2-color, #999); cursor: pointer; } .floating-input .send-code { color: var(--focus-color, #f04494); font-size: 12px; } .floating-input .send-code:disabled { color: var(--muted-2-color, #999); cursor: default; } .sign-options { display: flex; align-items: center; justify-content: space-between; color: var(--muted-2-color, #999); font-size: 12px; } .sign-options label { margin: 0; font-weight: 400; } .sign-submit { width: 100%; min-height: 42px; padding: 10px 16px; border: 0; border-radius: 5px; color: #fff; cursor: pointer; transition: opacity .2s, transform .2s; } .sign-submit:hover { opacity: .88; transform: translateY(-1px); } .sign-submit:disabled { opacity: .55; cursor: wait; transform: none; } .sign-submit.jb-blue { background: linear-gradient(135deg, #59c3ff, #2b70ff); } .sign-submit.jb-green { background: linear-gradient(135deg, #50e3a4, #16a085); } .sign-mode-switch { justify-self: center; font-size: 12px; } .sign-notice { margin-bottom: 16px; padding: 10px 12px; border-radius: 5px; background: rgba(255, 86, 86, .08); color: #e55353; font-size: 12px; } .sign-hint { margin-top: -10px; color: var(--muted-2-color, #999); font-size: 11px; } .sign-agreement { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--muted-2-color, #999); font-size: 11px; font-weight: 400; } .sign-agreement a { color: var(--focus-color, #f04494); } .sign-agreement-implicit { justify-content: center; text-align: center; } .social-login { margin-top: 24px; text-align: center; } .social-login > span { display: flex; align-items: center; gap: 10px; color: var(--muted-2-color, #999); font-size: 11px; } .social-login > span::before, .social-login > span::after { content: ""; flex: 1; height: 1px; background: var(--main-border-color, rgba(50, 50, 50, .08)); } .social-login-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 14px; } .social-login-item { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50px; background: var(--body-bg-color, #f5f6f7); color: #fff; text-decoration: none; cursor: pointer; } .social-login-item:hover { transform: translateY(-2px); color: var(--focus-color, #f04494); } .oauth-button-lg .social-login-item { width: auto; padding: 0 14px; } .oauth-button-lg .social-login-item i, .oauth-button-lg .social-login-item svg { margin-right: 6px; font-size: 1.2em; } .social-login-item.weibo { background: #ea5d5c; } .social-login-item.weixingzh, .social-login-item.weixin { background: #24b76a; } .social-login-item.qq, .social-login-item.alipay { background: #1296db; } .social-login-item.baidu { background: #4e6ef2; } .social-login-item.github { background: #505050; } .social-login-item.gitee { background: #c2292f; } .social-login-item.google { background: var(--main-shadow, rgba(116, 116, 116, .08)); color: var(--main-color, #4e5358); } .auth-qrcode { display: grid; place-items: center; width: 180px; min-height: 180px; margin: 20px auto; background: #fff; color: #38b766; text-align: center; } .auth-qrcode i { font-size: 46px; } .auth-qrcode span { color: #777; font-size: 12px; } .aksrt-auth-modal { position: fixed; inset: 0; z-index: 100050; display: none; place-items: center; padding: 18px; } .aksrt-auth-modal.is-open { display: grid; } .auth-modal-backdrop { position: absolute; inset: 0; background: rgba(14, 18, 24, .62); backdrop-filter: blur(2px); } #u_sign .modal-dialog { position: relative; z-index: 1; width: 400px; max-width: calc(100vw - 30px); margin: 0; } #u_sign.has-sign-img .modal-dialog { width: 800px; } #u_sign .modal-content { position: relative; min-height: 300px; max-height: calc(100vh - 36px); overflow-x: hidden; overflow-y: auto; border: 0; border-radius: 8px; background: var(--main-bg-color, #fff); box-shadow: 0 12px 50px rgba(0, 0, 0, .22); } .auth-modal-close { position: absolute; top: 13px; right: 15px; z-index: 4; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .04); color: var(--muted-color, #777); cursor: pointer; } #u_sign .sign-img { position: absolute; inset: 0 45% 0 0; overflow: hidden; padding: 0; } #u_sign .sign-img img { display: block; width: 100%; height: 100%; border-radius: 8px 0 0 8px; object-fit: cover; } #u_sign .sign-img + .sign { max-width: unset; margin-left: 55%; padding: 34px 44px; } .page-template-user-sign { min-height: 100vh; background: var(--body-bg-color, #f5f6f7); } .sign-page-background { position: fixed; inset: 0; z-index: 0; background-position: center; background-size: cover; } .sign-topbar { position: fixed; top: 0; right: 0; left: 0; z-index: 3; display: flex; justify-content: space-between; padding: 15px 24px; background: rgba(255, 255, 255, .75); backdrop-filter: blur(12px); } .sign-page { position: relative; z-index: 1; display: flex; align-items: center; min-height: 100vh; padding: 76px max(5vw, 20px) 56px; } .sign-page.sign-card-position-left { justify-content: flex-start; } .sign-page.sign-card-position-center { justify-content: center; } .sign-page.sign-card-position-right { justify-content: flex-end; } .sign-page-card { width: 400px; max-width: 100%; padding: 0 35px; border-radius: 8px; background: var(--main-bg-color, #fff); box-shadow: 0 10px 40px rgba(0, 0, 0, .12); } .sign-page-footer { position: fixed; right: 0; bottom: 12px; left: 0; z-index: 2; text-align: center; color: var(--muted-2-color, #999); font-size: 12px; } .white-theme { --main-bg-color: #fff; --body-bg-color: #f5f6f7; --main-color: #4e5358; --key-color: #333; } .dark-theme { --main-bg-color: #24272b; --body-bg-color: #17191c; --main-color: #d7d9dc; --key-color: #fff; --main-border-color: rgba(255, 255, 255, .12); } body.auth-modal-open { overflow: hidden; } @media (max-width: 767px) { #u_sign .modal-dialog, #u_sign.has-sign-img .modal-dialog { width: 400px; } #u_sign .sign-img { display: none; } #u_sign .sign-img + .sign { max-width: 340px; margin-left: auto; padding: 30px 0; } #u_sign .modal-content { padding: 0 24px; } .sign-page { justify-content: center !important; padding-right: 14px; padding-left: 14px; } .sign-page-card { padding: 0 24px; } }