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.
This commit is contained in:
+6
-14
@@ -54,8 +54,8 @@ h1 {
|
||||
.home__action {
|
||||
align-items: center;
|
||||
text-decoration: none;
|
||||
background: #f8f9fa;
|
||||
border: 1px solid #e9ecef;
|
||||
background: transparent;
|
||||
border: 1px solid var(--color-action);
|
||||
border-radius: 8px;
|
||||
color: var(--color-text);
|
||||
cursor: pointer;
|
||||
@@ -72,9 +72,10 @@ h1 {
|
||||
transform 0.2s ease;
|
||||
}
|
||||
|
||||
/* The four actions share one look: the first one used to be the filled variant. */
|
||||
.home__action:hover {
|
||||
background: #e9ecef;
|
||||
border-color: #5f9ea0;
|
||||
background: var(--color-action-hover);
|
||||
border-color: var(--color-action);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
@@ -88,18 +89,9 @@ h1 {
|
||||
}
|
||||
|
||||
.home__action mat-icon {
|
||||
color: #5f9ea0;
|
||||
color: var(--color-action);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.home__action--secondary {
|
||||
background: transparent;
|
||||
border-color: #5f9ea0;
|
||||
}
|
||||
|
||||
.home__action--secondary:hover {
|
||||
background: #f1f6f6;
|
||||
}
|
||||
.steps {
|
||||
align-items: center;
|
||||
color: var(--color-text-secondary);
|
||||
|
||||
Reference in New Issue
Block a user