mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-02 21:03:34 +03:00
# Description of Changes Refactor frontend auth to the shared folder and hook it up to both the portal and editor so they share the same system. Also adds various tasks to help run the portal, including `task dev:portal` to spawn the portal with the backend, and `task dev:portal:proxy` to spawn the editor, portal and backend, and a reverse proxy (at localhost:3000) to allow you to use both at once to simulate how this will actually be deployed, allowing you to check whether the seamless transition between the two actually works.
50 lines
1.0 KiB
CSS
50 lines
1.0 KiB
CSS
.authContainer {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: var(--auth-bg-color-light-only);
|
|
padding: 1.5rem 1.5rem 0;
|
|
font-family:
|
|
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
overflow: auto;
|
|
}
|
|
|
|
.authCard {
|
|
width: min(45rem, 96vw);
|
|
height: min(50.875rem, 96vh);
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
background-color: var(--auth-card-bg);
|
|
border-radius: 1.25rem;
|
|
box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.12);
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
}
|
|
|
|
.authCardTwoColumns {
|
|
width: min(73.75rem, 96vw);
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.authLeftPanel {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2rem;
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.authLeftPanel::-webkit-scrollbar {
|
|
display: none; /* WebKit browsers (Chrome, Safari, Edge) */
|
|
}
|
|
|
|
.authContent {
|
|
max-width: 26.25rem; /* 420px */
|
|
width: 100%;
|
|
}
|