From 96b1306739b7613803c085aa6b3f69976456e6f4 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 8 Oct 2026 20:40:08 -0600 Subject: [PATCH] feat(security): add biometric (face id / fingerprint) and pin unlock protection for payment qr --- public/css/styles.css | 29 ++++ public/index.html | 133 ++++++++++++++++- public/js/app.js | 335 +++++++++++++++++++++++++++++++++++++++++- 3 files changed, 495 insertions(+), 2 deletions(-) diff --git a/public/css/styles.css b/public/css/styles.css index 16b690a..42ac2c5 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -6337,3 +6337,32 @@ body.dark-mode .admin-dash-bar-track { margin-top: 8px; text-align: center; } + +/* ========================================================================== + SEGURIDAD BIOMÉTRICA Y DESBLOQUEO DE CARNÉ QR + ========================================================================== */ +.switch-toggle input:checked + .switch-slider { + background-color: #0284c7 !important; +} + +.switch-slider:before { + position: absolute; + content: ""; + height: 20px; + width: 20px; + left: 3px; + bottom: 3px; + background-color: white; + border-radius: 50%; + transition: transform 0.25s ease; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); +} + +.switch-toggle input:checked + .switch-slider:before { + transform: translateX(22px); +} + +#inputQrPin:focus { + border-color: #0284c7 !important; + box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25) !important; +} diff --git a/public/index.html b/public/index.html index b0aca83..9d26cbc 100644 --- a/public/index.html +++ b/public/index.html @@ -2186,11 +2186,15 @@ -
+
+
+ + + + + +