Update kiosko.php
This commit is contained in:
@@ -185,7 +185,7 @@ unset($p);
|
||||
/* ── Grid de prioridades ── */
|
||||
.prioridad-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 1rem;
|
||||
width: 100%;
|
||||
max-width: 860px;
|
||||
@@ -262,13 +262,29 @@ unset($p);
|
||||
}
|
||||
.btn-kiosko-back:hover { background: var(--brand-mid); border-color: var(--brand); color: var(--brand-dark); }
|
||||
|
||||
/* ── Print: solo el ticket ── */
|
||||
/* ── Print: ticket para impresora térmica ── */
|
||||
@media print {
|
||||
body { background: #fff !important; }
|
||||
@page { margin: 6mm 4mm; size: auto; }
|
||||
body { background: #fff !important; font-family: 'Courier New', Courier, 'Lucida Console', monospace !important; -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
|
||||
.kiosko-topbar, .kiosko-footer, .spinner-overlay, .toast-error,
|
||||
.btn-nuevo, #screen-prio, #screen-datos { display: none !important; }
|
||||
#screen-ticket { display: block !important; opacity: 1 !important; position: static !important; }
|
||||
.ticket-box { box-shadow: none !important; border: 1px solid #ddd !important; }
|
||||
.kiosko-wrap { height: auto !important; }
|
||||
.screen { padding: 0 !important; }
|
||||
.ticket-box {
|
||||
max-width: 80mm !important; width: 100% !important;
|
||||
padding: 0.3rem 0 !important; margin: 0 auto !important;
|
||||
box-shadow: none !important; border: none !important;
|
||||
border-top: none !important; border-radius: 0 !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
.ticket-label { font-size: 0.55rem !important; letter-spacing: 0.05em !important; margin-bottom: 0.1rem !important; }
|
||||
.ticket-codigo { font-size: 1.6rem !important; font-weight: 700 !important; letter-spacing: 0 !important; }
|
||||
.ticket-prio-badge { font-size: 0.55rem !important; padding: 0.1rem 0.4rem !important; margin-top: 0.2rem !important; }
|
||||
.ticket-pos { margin-top: 0.3rem !important; padding: 0.2rem !important; border-radius: 0 !important; }
|
||||
.ticket-pos .lbl { font-size: 0.5rem !important; letter-spacing: 0.04em !important; }
|
||||
.ticket-pos .num { font-size: 0.9rem !important; font-weight: 700 !important; }
|
||||
.ticket-instruc { font-size: 0.5rem !important; margin-top: 0.3rem !important; line-height: 1.3 !important; }
|
||||
}
|
||||
|
||||
/* ── Ticket ── */
|
||||
|
||||
Reference in New Issue
Block a user