Files
WebApp/src/app/home.scss
T
Erick ivan 7f17681409 feat(auth): login screen and domain-scoped navigation
Session login against /auth/*, with a guard on every route and an interceptor that returns to the login on 401. The header, the import workspace and both governance panels only offer the account's own domains (auth/dominios.ts), and a batch opens on the account's database.

The sign-in screen follows the app's palette: logo above the title, the action button in the shared tokens, and no register or password-recovery rows.
2026-11-19 09:36:54 -06:00

142 lines
2.6 KiB
SCSS

:host {
display: flex;
flex: 1;
min-width: 0;
}
.home {
align-items: flex-start;
display: flex;
flex: 1;
justify-content: center;
min-height: inherit;
padding: 72px 32px;
text-align: center;
}
.home__content {
margin-inline: auto;
max-width: 780px;
width: 100%;
}
.home__eyebrow {
color: var(--color-text-secondary);
font-size: 12px;
font-weight: 500;
letter-spacing: 0.12em;
margin: 0 0 18px;
text-transform: uppercase;
}
h1 {
color: var(--color-primary);
font-family: var(--font-heading);
font-size: clamp(2.75rem, 5.1vw, 3.375rem);
font-weight: 700;
letter-spacing: -0.045em;
line-height: 1.08;
margin: 0;
}
.home__description {
color: var(--color-text-secondary);
font-size: 16px;
line-height: 1.6;
margin: 20px auto 30px;
max-width: 560px;
}
.home__actions {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: 16px;
justify-content: center;
}
.home__action {
align-items: center;
text-decoration: none;
background: transparent;
border: 1px solid var(--color-action);
border-radius: 8px;
color: var(--color-text);
cursor: pointer;
display: inline-flex;
font: inherit;
font-weight: 600;
gap: 9px;
min-height: 50px;
padding: 12px 20px;
transition:
background-color 0.2s ease,
border-color 0.2s ease,
color 0.2s ease,
transform 0.2s ease;
}
/* The four actions share one look: the first one used to be the filled variant. */
.home__action:hover {
background: var(--color-action-hover);
border-color: var(--color-action);
transform: translateY(-1px);
}
.home__action:focus-visible {
outline: 3px solid rgb(168 194 67 / 55%);
outline-offset: 3px;
}
.home__action:active {
transform: translateY(0);
}
.home__action mat-icon {
color: var(--color-action);
margin: 0;
}
.steps {
align-items: center;
color: var(--color-text-secondary);
display: flex;
flex-wrap: wrap;
gap: 24px 36px;
justify-content: center;
list-style: none;
margin: 74px 0 0;
padding: 0;
}
.steps__item {
align-items: center;
display: inline-flex;
font-size: 14px;
gap: 10px;
}
.steps__icon {
align-items: center;
background: var(--color-step);
border-radius: 50%;
color: var(--color-primary);
display: inline-flex;
height: 38px;
justify-content: center;
width: 38px;
}
@media (max-width: 600px) {
.home {
padding: 56px 22px;
}
h1 {
font-size: clamp(2.35rem, 10vw, 2.8rem);
}
.home__description {
font-size: 15px;
margin-top: 16px;
}
.steps {
align-items: flex-start;
flex-direction: column;
gap: 16px;
margin: 52px auto 0;
max-width: 230px;
}
}