diff --git a/customer-display.php b/customer-display.php index cd7aad6..60fd9a0 100644 --- a/customer-display.php +++ b/customer-display.php @@ -62,16 +62,16 @@ box-shadow: 0 1px 2px rgba(0,0,0,0.05); } .item-name { - font-size: 1.2rem; + font-size: 2.5vmin; font-weight: 600; color: var(--text); } .item-details { color: var(--text-muted); - font-size: 0.9rem; + font-size: 2vmin; } .item-price { - font-size: 1.2rem; + font-size: 2.5vmin; font-weight: bold; color: var(--accent); } @@ -79,7 +79,7 @@ display: flex; justify-content: space-between; margin-bottom: 1rem; - font-size: 1.2rem; + font-size: 2.5vmin; color: var(--text-muted); } .grand-total { @@ -92,12 +92,12 @@ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .grand-total-label { - font-size: 1.2rem; + font-size: 3vmin; text-transform: uppercase; opacity: 0.9; } .grand-total-amount { - font-size: 3.5rem; + font-size: 10vmin; font-weight: 800; line-height: 1.2; } @@ -111,7 +111,7 @@ color: var(--text-muted); } .welcome-icon { - font-size: 5rem; + font-size: 15vmin; margin-bottom: 1rem; color: var(--border); opacity: 0.5; @@ -138,6 +138,7 @@ Customer Display
+
Welcome @@ -318,6 +319,24 @@ updateDisplay(JSON.parse(stored)); } catch (e) {} } + + function toggleFullScreen() { + if (!document.fullscreenElement) { + document.documentElement.requestFullscreen(); + } else { + if (document.exitFullscreen) { + document.exitFullscreen(); + } + } + } + + // Attempt to maximize on load + window.addEventListener('load', () => { + try { + window.moveTo(0, 0); + window.resizeTo(screen.availWidth, screen.availHeight); + } catch(e) {} + }); diff --git a/index.php b/index.php index bf516fa..cbce7a2 100644 --- a/index.php +++ b/index.php @@ -2868,7 +2868,7 @@ $projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? 'Accounting System';
Cart
- +