From d52b0b5cd131cf0dcc321d845d1984ce536e425a Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Sat, 8 Nov 2025 14:11:42 -0600 Subject: [PATCH] Fix Tablas APU: Cambiar subtotales de azul a naranja - Issue #130 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PROBLEMA: - Subtotales en tables-apu.css usaban colores AZULES - Template especifica colores NARANJAS - Discrepancia visual entre staging y template SOLUCIÓN: 1. Subtotales (líneas 172-191): - Background: #d1e7fd (azul) → rgba(255, 133, 0, 0.1) (naranja 10%) - Color texto: #0d47a1 (azul) → var(--color-orange-primary) (naranja) - Columna c6: Agregado color naranja explícito 2. Print styles (línea 247): - Background: #d1e7fd (azul) → rgba(255, 133, 0, 0.1) (naranja) - Mantiene print-color-adjust para imprimir correctamente RESULTADO: - Subtotales ahora usan naranja como en template - Consistencia visual con diseño original - Colores aplicados tanto en pantalla como impresión Fixes #130 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- wp-content/themes/apus-theme/assets/css/tables-apu.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/apus-theme/assets/css/tables-apu.css b/wp-content/themes/apus-theme/assets/css/tables-apu.css index 8fbbb522..33705468 100644 --- a/wp-content/themes/apus-theme/assets/css/tables-apu.css +++ b/wp-content/themes/apus-theme/assets/css/tables-apu.css @@ -170,12 +170,12 @@ (Suma de Material, Suma de Mano de Obra, etc) ======================================== */ .analisis table tr.subtotal-row { - background-color: #d1e7fd !important; + background-color: rgba(255, 133, 0, 0.1) !important; } .analisis table tr.subtotal-row td { font-weight: 700; - color: #0d47a1; + color: var(--color-orange-primary); padding: 0.875rem 1rem; border: none !important; } @@ -187,6 +187,7 @@ .analisis table tr.subtotal-row td.c6, .analisis table tr.subtotal-row td:nth-child(6) { font-size: 1.05rem; + color: var(--color-orange-primary); } /* ======================================== @@ -243,7 +244,7 @@ } .analisis table tr.subtotal-row { - background-color: #d1e7fd !important; + background-color: rgba(255, 133, 0, 0.1) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }