One shell with the current look: indicators, follow-up list and patient view from FHIR; /conectar canvas; /revision; Playwright page tests

This commit is contained in:
Roberto Treviño
2026-11-25 10:21:30 -06:00
parent 70b6d6c646
commit cd7bbaf11a
70 changed files with 5459 additions and 182 deletions
+105 -21
View File
@@ -1,39 +1,123 @@
// Include theming for Angular Material with `mat.theme()`.
// This Sass mixin will define CSS variables that are used for styling Angular Material
// components according to the Material 3 design spec.
// Learn more about theming and how to use it for your application's
// custom components at https://material.angular.dev/guide/theming
// The platform's look: Material 3 from the brand seeds (olive primary, teal tertiary),
// Roboto for text and Rajdhani for headings, served from the app (internal network).
@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-action: #5f9ea0;
--color-action-hover: #f1f6f6;
--font-body: 'Roboto', sans-serif;
--font-heading: 'Rajdhani', 'Roboto Condensed', sans-serif;
--header-height: 72px;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-6: 24px;
--space-7: 32px;
--radius: 4px;
}
html {
height: 100%;
@include mat.theme(
(
color: (
primary: mat.$azure-palette,
tertiary: mat.$blue-palette,
primary: brand.$primary-palette,
tertiary: brand.$tertiary-palette,
theme-type: light,
),
typography: Roboto,
density: 0,
)
);
// Indicator pages use small corners, as today.
--mat-sys-corner-extra-small: 2px;
--mat-sys-corner-small: 2px;
--mat-sys-corner-medium: 4px;
--mat-sys-corner-large: 4px;
--mat-sys-corner-extra-large: 6px;
}
body {
// Default the application to a light color theme. This can be changed to
// `dark` to enable the dark color theme, or to `light dark` to defer to the
// user's system settings.
color-scheme: light;
// Set a default background, font and text colors for the application using
// Angular Material's system-level CSS variables. Learn more about these
// variables at https://material.angular.dev/guide/system-variables
background-color: var(--mat-sys-surface);
color: var(--mat-sys-on-surface);
font: var(--mat-sys-body-medium);
// Reset the user agent margin.
background: var(--color-background);
color: var(--color-text);
font-family: var(--font-body);
margin: 0;
height: 100%;
min-height: 100%;
}
h1,
h2,
h3 {
font-family: var(--font-body);
color: var(--color-text);
}
.page {
box-sizing: border-box;
margin: 0 auto;
max-width: 1440px;
padding: var(--space-6) clamp(16px, 3.2vw, 48px) var(--space-7);
width: 100%;
}
.page h1 {
font-size: 1.75rem;
font-weight: 500;
margin: 0 0 var(--space-1);
}
.page .subtitle {
color: var(--color-text-secondary);
margin: 0 0 var(--space-4);
}
.muted {
color: var(--color-text-secondary);
}
.card {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
box-sizing: border-box;
padding: var(--space-4);
}
table.plain {
border-collapse: collapse;
width: 100%;
font-size: 14px;
}
table.plain th,
table.plain td {
border-bottom: 1px solid var(--color-border);
padding: 6px 8px;
text-align: left;
vertical-align: top;
}
table.plain th {
color: var(--color-text-secondary);
font-weight: 500;
}
// Cards are white on the light background, as today (no M3 surface tint).
html {
--mat-card-outlined-container-color: var(--color-surface);
--mat-card-elevated-container-color: var(--color-surface);
--mat-card-outlined-outline-color: var(--color-border);
}
.nowrap {
white-space: nowrap;
}
/* You can add global styles to this file, and also import other style files */