mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-02 21:03:34 +03:00
Replaces the two-column carousel login/signup with a single clean centered form, uniform across proprietary, saas, desktop, and the portal (all now route through the shared single-column `AuthShell`). Adds a Storybook playground under **Auth → Auth Screens** (provider / login-method controls) to iterate on it. ## Before / After <img width="1600" height="920" alt="image" src="https://github.com/user-attachments/assets/6e3f166f-40df-468e-825a-bc4c7880406c" /> <img width="2056" height="1000" alt="Screenshot 2026-07-14 at 6 11 11 PM" src="https://github.com/user-attachments/assets/e015efc9-71e5-4b9b-b64a-5ba1dbf2fcec" />
36 lines
782 B
CSS
36 lines
782 B
CSS
.authContainer {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: var(--auth-bg-color);
|
|
padding: 1.5rem 1.5rem 0;
|
|
font-family:
|
|
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
overflow: auto;
|
|
}
|
|
|
|
.authCard {
|
|
width: min(26rem, 96vw);
|
|
max-height: 96vh;
|
|
padding: 2.5rem 2rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
background-color: var(--auth-card-bg);
|
|
border-radius: 1.25rem;
|
|
box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.12);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.authCard::-webkit-scrollbar {
|
|
display: none; /* WebKit browsers (Chrome, Safari, Edge) */
|
|
}
|
|
|
|
.authContent {
|
|
max-width: 22rem; /* 352px */
|
|
width: 100%;
|
|
}
|