@use '@angular/material' as mat; @use './theme-colors' as brand; :root { --color-primary: #a8c243; --color-text: #081839; --color-text-secondary: #7a7a7a; --color-background: #f7f8f6; --color-surface: #ffffff; --color-border: #e3e7df; --color-step: #f0f3e8; --font-body: 'Roboto', sans-serif; --font-heading: 'Rajdhani', 'Roboto Condensed', 'Arial Narrow', sans-serif; --site-header-height: 72px; /* Spacing scale on a 4px grid. Use these for padding, margins and gaps instead of one-off px values. */ --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-7: 32px; --space-8: 48px; --space-9: 64px; /* Aliases for the `--issste-*` tokens the vendored `features/indicadores` module (fork `dev`) is written against, so it can be pulled in byte- identical rather than rewritten against our own naming. */ --issste-text: var(--color-text); --issste-text-secondary: var(--color-text-secondary); --issste-background: var(--color-background); --issste-surface: var(--color-surface); --issste-border: var(--color-border); --issste-accent: var(--color-primary); --issste-on-accent: var(--color-text); --issste-font-heading: var(--font-heading); --issste-font-body: var(--font-body); --issste-space-1: var(--space-1); --issste-space-2: var(--space-2); --issste-space-3: var(--space-3); --issste-space-4: var(--space-4); --issste-space-6: var(--space-6); --issste-radius: var(--mat-sys-corner-medium); } html { height: 100%; @include mat.theme( ( // Brand palettes from _theme-colors.scss (lime #a8c243, teal #5f9ea0). // Material picks accessible tones from them, so filled buttons use the // darker olive rather than the raw lime. color: ( primary: brand.$primary-palette, tertiary: brand.$tertiary-palette, ), typography: Roboto, density: 0, ) ); } body { color-scheme: light; background: var(--color-background); color: var(--color-text); font-family: var(--font-body); margin: 0; min-height: 100%; } *, *::before, *::after { box-sizing: border-box; } @media (max-width: 600px) { :root { --site-header-height: 64px; } } /* CDK drag previews are appended to , outside any component's styles. */ .drag-preview { align-items: center; background: var(--mat-sys-surface); border: 1px solid var(--mat-sys-primary); border-radius: var(--mat-sys-corner-small); box-shadow: var(--mat-sys-level3); color: var(--mat-sys-on-surface); display: inline-flex; font: var(--mat-sys-label-large); gap: 8px; max-width: 320px; padding: 8px 12px; white-space: nowrap; mat-icon { color: var(--mat-sys-primary); font-size: 18px; height: 18px; width: 18px; } } .cdk-drag-animating { transition: transform 200ms cubic-bezier(0, 0, 0.2, 1); } /* Global rules of the vendored indicators dashboard (fork `dev`): the floating "navegación gráfica" trigger and its overlay live outside the component's own styles. */ :root { --issste-header-clearance: 7rem; } .dashboard .catalog-grid > app-indicador-catalog-card { scroll-margin-top: var(--issste-header-clearance, 6rem); } .dashboard .graphic-navigation-trigger { position: fixed; z-index: 90; inset-inline-start: max(.5rem, env(safe-area-inset-left)); top: 50%; transform: translateY(-50%); width: 48px; height: 48px; color: var(--issste-text); background: var(--issste-accent); box-shadow: 0 2px 8px rgb(0 0 0 / 18%); } .dashboard .graphic-navigation-trigger:focus-visible { outline: 3px solid var(--issste-text); outline-offset: 3px; } .cdk-overlay-pane.indicator-navigation-overlay:has(.panel-closing) { pointer-events: none; }