/* Authentication surfaces: modal (#u_sign) and the /sign/ page. * * Card, line inputs, tab panes, social bar and title rules come from the shared * theme stylesheet; this file only positions the shells around them. */ #u_sign.jio-auth-modal { z-index: 100050; } #u_sign.jio-auth-modal.in { display: block; overflow-x: hidden; overflow-y: auto; background: rgba(0, 0, 0, 0.4); } #u_sign.jio-auth-modal .modal-dialog { opacity: 0; transform: translateY(-12px); transition: opacity 0.2s ease, transform 0.25s ease; } #u_sign.jio-auth-modal.in .modal-dialog { opacity: 1; transform: none; } #u_sign .sign-img { inset: 0; overflow: hidden; } #u_sign .sign-img img { display: block; width: 100%; height: 100%; border-radius: var(--main-radius); object-fit: cover; } /* The shared sheet leaves the modal close button in normal flow, so it would * push the card content down. */ #u_sign .sign > .close { position: absolute; top: 10px; right: 15px; z-index: 3; font-size: 18px; } /* .fa sets display:inline-block, which outranks the UA [hidden] rule, so every * hidden glyph (spinner, password eye) stayed visible without this. */ .sign [hidden] { display: none !important; } body.auth-modal-open { overflow: hidden; } /* ---- /sign/ page shell ---- */ .page-template-user-sign { min-height: 500px; } .page-template-user-sign > .fixed { z-index: 0; } .sign-page { position: relative; z-index: 1; min-height: 500px; padding-top: 70px; padding-bottom: 60px; } .sign-row { min-height: calc(100vh - 130px); display: flex; flex-wrap: wrap; } .sign-page .sign { width: 350px; } .sign-col { display: flex; justify-content: center; align-items: center; } .sign-page-footer { top: auto; height: auto; padding: 10px; z-index: 2; } /* ---- card internals ---- */ .sign .sign-passw { border: 0; background: none; padding: 0; line-height: 1; cursor: pointer; } .sign .oauth-data-box .muted-box { margin-bottom: 10px; } .sign .oauth-data-box .avatar-img { --this-size: 60px; } .sign [data-auth-qr-content] { display: grid; place-items: center; min-height: 180px; } .sign .qrcode-signin-container button[data-auth-refresh-qr] { border: 0; background: none; padding: 10px; color: var(--focus-color); cursor: pointer; } .sign [data-invite-feedback].is-error { color: #ff5473; } /* Between the 992px split and the 640px collapse the shared sheet still offsets * the card by 55%, but the dialog has already shrunk — give the card the room. */ @media (max-width: 991px) and (min-width: 641px) { #u_sign .sign-img + .sign { margin-left: 45%; } }