From 56884acb38d2cf3f60815afaa090446d46289be1 Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 4 Mar 2025 15:52:15 +0100 Subject: [PATCH] Add visual feedback to photo mode --- showbits-thermal-printer-ui/public/photo.html | 37 +++++++++++++++++-- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/showbits-thermal-printer-ui/public/photo.html b/showbits-thermal-printer-ui/public/photo.html index 17af1b7..968cf5a 100644 --- a/showbits-thermal-printer-ui/public/photo.html +++ b/showbits-thermal-printer-ui/public/photo.html @@ -87,11 +87,25 @@ #flip:active path { fill: #000; } + + #cover { + position: absolute; + width: 100%; + height: 100%; + background-color: white; + transition: background-color 100ms linear; + } + + #cover.hidden { + background-color: transparent; + pointer-events: none; + } @@ -156,5 +184,6 @@ +