7f17681409
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.
169 lines
3.4 KiB
SCSS
169 lines
3.4 KiB
SCSS
.app-shell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
}
|
|
|
|
.site-header {
|
|
background: var(--color-surface);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.site-header__content {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
min-height: var(--site-header-height);
|
|
padding: 0 clamp(32px, 3.2vw, 48px);
|
|
}
|
|
|
|
.brand {
|
|
align-items: center;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.brand img {
|
|
display: block;
|
|
height: auto;
|
|
width: clamp(180px, 16vw, 200px);
|
|
}
|
|
|
|
.site-header__nav {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.site-header__crumb {
|
|
color: var(--color-primary);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.site-header__section {
|
|
text-decoration: none;
|
|
color: var(--color-text);
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.app-main {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-shell--workspace {
|
|
height: 100dvh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.site-footer {
|
|
background: var(--color-text-secondary);
|
|
}
|
|
|
|
.site-footer__content {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
min-height: 86px;
|
|
padding: 0 clamp(32px, 3.2vw, 48px);
|
|
}
|
|
|
|
.site-footer img {
|
|
display: block;
|
|
filter: brightness(0) invert(1);
|
|
height: auto;
|
|
width: clamp(160px, 15vw, 185px);
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.site-header__content {
|
|
min-height: var(--site-header-height);
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.brand img {
|
|
width: clamp(132px, 42vw, 170px);
|
|
}
|
|
|
|
.site-header__section {
|
|
font-size: 13px;
|
|
text-align: right;
|
|
}
|
|
|
|
.site-footer__content {
|
|
min-height: 76px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.site-footer img {
|
|
width: 155px;
|
|
}
|
|
}
|
|
|
|
.platform-title {
|
|
color: var(--color-text);
|
|
font-family: var(--issste-font-heading);
|
|
font-size: 1.25rem;
|
|
font-weight: 500;
|
|
line-height: 1.15;
|
|
margin-inline-start: var(--issste-space-4);
|
|
margin-inline-end: auto;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.domain-selector--espera {
|
|
align-items: center; border-radius: var(--issste-radius); box-sizing: border-box; display: inline-flex; flex: 0 0 auto;
|
|
background-color: var(--issste-accent); color: var(--issste-text); font-weight: 700; min-height: 40px; padding: 0 16px; white-space: nowrap;
|
|
}
|
|
|
|
/* Session exit: the same action look as the home buttons, in header size. */
|
|
.site-header__salir {
|
|
align-items: center;
|
|
background: transparent;
|
|
border: 1px solid var(--color-action);
|
|
border-radius: 8px;
|
|
color: var(--color-text);
|
|
cursor: pointer;
|
|
display: inline-flex;
|
|
flex: none;
|
|
font: inherit;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
gap: 6px;
|
|
margin-inline-start: var(--space-4);
|
|
min-height: 34px;
|
|
padding: 0 var(--space-3);
|
|
transition:
|
|
background-color 0.2s ease,
|
|
border-color 0.2s ease,
|
|
color 0.2s ease;
|
|
}
|
|
|
|
.site-header__salir:hover {
|
|
background: var(--color-action-hover);
|
|
border-color: var(--color-action);
|
|
}
|
|
|
|
.site-header__salir:focus-visible {
|
|
outline: 2px solid var(--color-action);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.site-header__salir mat-icon {
|
|
color: var(--color-action);
|
|
font-size: 18px;
|
|
height: 18px;
|
|
width: 18px;
|
|
}
|
|
|
|
// Narrow screens: logo and selector share the first row and the title takes the second, so neither is squeezed.
|
|
@media (max-width: 599px) {
|
|
.app-shell--indicadores .site-header__content { flex-wrap: wrap; row-gap: 0; padding-block: 6px 8px; }
|
|
.app-shell--indicadores .brand { margin-inline-end: auto; }
|
|
.platform-title { order: 3; flex: 1 0 100%; margin: 4px 0 0; font-size: 1.125rem; min-width: 0; }
|
|
}
|