diff --git a/frontends/web/templates/decode.html b/frontends/web/templates/decode.html
index f150abc..15dc998 100644
--- a/frontends/web/templates/decode.html
+++ b/frontends/web/templates/decode.html
@@ -111,46 +111,7 @@
box-shadow: 0 0 20px rgba(246, 173, 85, 0.4) !important;
}
-/* QR Crop Animation */
-.qr-crop-container {
- position: relative;
- overflow: hidden;
- border-radius: 8px;
- background: rgba(0, 0, 0, 0.3);
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- min-height: 120px;
-}
-.qr-crop-container img {
- display: block;
- max-height: 180px;
- max-width: 180px;
- width: auto;
- margin: 0 auto;
- transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
-}
-.qr-crop-container .qr-original { opacity: 1; }
-.qr-crop-container .qr-cropped {
- position: absolute;
- top: 50%; left: 50%;
- transform: translate(-50%, -50%) scale(0.3);
- opacity: 0;
- max-height: 160px;
- min-width: 140px;
- min-height: 140px;
- object-fit: contain;
-}
-.qr-crop-container.scan-complete .qr-original {
- opacity: 0;
- transform: scale(1.1);
- filter: blur(4px);
-}
-.qr-crop-container.scan-complete .qr-cropped {
- opacity: 1;
- transform: translate(-50%, -50%) scale(1);
-}
+/* QR Crop Animation - uses .qr-scan-container from style.css */
@@ -395,7 +356,7 @@
Drop QR image
-
+
diff --git a/frontends/web/templates/encode.html b/frontends/web/templates/encode.html
index 1c08603..07f9196 100644
--- a/frontends/web/templates/encode.html
+++ b/frontends/web/templates/encode.html
@@ -111,46 +111,7 @@
box-shadow: 0 0 20px rgba(246, 173, 85, 0.4) !important;
}
-/* QR Crop Animation */
-.qr-crop-container {
- position: relative;
- overflow: hidden;
- border-radius: 8px;
- background: rgba(0, 0, 0, 0.3);
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- min-height: 120px;
-}
-.qr-crop-container img {
- display: block;
- max-height: 180px;
- max-width: 180px;
- width: auto;
- margin: 0 auto;
- transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
-}
-.qr-crop-container .qr-original { opacity: 1; }
-.qr-crop-container .qr-cropped {
- position: absolute;
- top: 50%; left: 50%;
- transform: translate(-50%, -50%) scale(0.3);
- opacity: 0;
- max-height: 160px;
- min-width: 140px;
- min-height: 140px;
- object-fit: contain;
-}
-.qr-crop-container.scan-complete .qr-original {
- opacity: 0;
- transform: scale(1.1);
- filter: blur(4px);
-}
-.qr-crop-container.scan-complete .qr-cropped {
- opacity: 1;
- transform: translate(-50%, -50%) scale(1);
-}
+/* QR Crop Animation - uses .qr-scan-container from style.css */
@@ -431,7 +392,7 @@
Drop QR image
-