fix(cobranza): botones de acción arriba, antes de las cards

Mueve el bloque "Agregar renglón / Cobrar en lote / Cargar cobranza de hoy"
al inicio de la vista de tarjetas (antes del contador y la lista) en vez de
al final. Variante .footer-actions.top con margen inferior. Solo UI.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jorem JuárezandClaude Opus 4.8 committed 2026-06-23 11:45:09 -06:00
1 parent 0f43c0400c
commit eed47026ac
1 file changed
+4 -3
+4 -3
View File
@@ -189,6 +189,7 @@
.edit-actions { display: flex; gap: 10px; }
.footer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 1.5rem; }
.footer-actions.top { margin-top: 0; margin-bottom: 1.5rem; }
.btn-wide { width: 100%; padding: 13px; border-radius: 13px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.17s ease; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--surface); box-shadow: var(--nm-subtle); color: var(--text-primary); }
.btn-wide:hover { border-color: var(--line-strong); background: var(--surface-2); }
.btn-wide:active { transform: scale(0.99); }
@@ -340,13 +341,13 @@
</div>
<div class="view active" id="view-tarjetas">
<div class="section-label" id="section-count">renglones</div>
<div id="lista"></div>
<div class="footer-actions">
<div class="footer-actions top">
<button class="btn-wide" onclick="abrirCrearRenglon()"><svg class="ic" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v14M5 12h14"/></svg> Agregar renglón</button>
<button class="btn-wide lote" onclick="abrirLote()"><svg class="ic" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M22 2 11 13M22 2l-7 20-4-9-9-4 20-7z"/></svg> Cobrar en lote</button>
<button class="btn-wide accent" onclick="cargarCobranza()"><svg class="ic" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3"/></svg> Cargar cobranza de hoy</button>
</div>
<div class="section-label" id="section-count">renglones</div>
<div id="lista"></div>
</div>
<div class="view" id="view-tabla">