fix: sidebar color consistente en todas las páginas + gradiente más oscuro
- sidebar.php inyecta --brand/--brand-dark desde DB si no fueron definidos ya por Layout.php, solucionando que lab_*.php mostraran el sidebar azul (fallback) mientras las páginas ERP mostraban verde (#a0a59c del doc_color) - Gradiente del sidebar invertido: ahora va de más oscuro (top) a brand (bottom) en lugar de terminar con mezcla blanca que perdía las letras Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
406d542042
commit
935cea24b6
@@ -51,7 +51,7 @@ body {
|
||||
top: 0;
|
||||
width: var(--sidebar-width, 270px);
|
||||
height: 100vh;
|
||||
background: linear-gradient(160deg, var(--brand-dark, #0d47a1) 0%, var(--brand, #1565c0) 60%, color-mix(in srgb, var(--brand, #1565c0) 75%, #fff) 100%);
|
||||
background: linear-gradient(160deg, color-mix(in srgb, var(--brand-dark, #0d47a1) 80%, #000) 0%, var(--brand-dark, #0d47a1) 55%, var(--brand, #1565c0) 100%);
|
||||
color: white;
|
||||
z-index: 1000;
|
||||
overflow-y: auto;
|
||||
|
||||
Reference in New Issue
Block a user