From 06fb37ee580f7cef47faa238cca0440760407628 Mon Sep 17 00:00:00 2001 From: Damian-I Date: Sat, 8 Mar 2025 22:03:24 +0000 Subject: [PATCH] Made the UI mroe consistent to the others --- index.html | 564 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 563 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 252a6d8..e203bc3 100644 --- a/index.html +++ b/index.html @@ -681,6 +681,220 @@ .bluetooth-device:hover .bluetooth-pair-button { pointer-events: auto; } + + /* Biometrics Panel */ + #biometrics-panel { + position: fixed; + bottom: 80px; + right: 160px; + width: 350px; + max-height: 500px; + background-color: rgba(0, 0, 0, 0.9); + color: white; + border-radius: 5px; + box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5); + z-index: 1999; + font-family: Arial, sans-serif; + display: none; + overflow: hidden; + transition: all 0.3s ease; + border: 1px solid #444; + } + + #biometrics-header { + background-color: #222; + padding: 12px 15px; + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 1px solid #444; + } + + #biometrics-title { + font-weight: bold; + font-size: 18px; + color: #e74c3c; + } + + #biometrics-close { + cursor: pointer; + font-size: 18px; + color: #aaa; + transition: color 0.2s; + } + + #biometrics-close:hover { + color: white; + } + + #biometrics-search-container { + padding: 10px 15px; + background-color: #333; + border-bottom: 1px solid #444; + } + + #biometrics-search { + width: 100%; + padding: 8px 10px; + border: none; + border-radius: 3px; + background-color: #222; + color: white; + font-size: 14px; + } + + #biometrics-search:focus { + outline: none; + box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.5); + } + + #biometrics-categories { + display: flex; + padding: 5px 15px; + background-color: #2c2c2c; + border-bottom: 1px solid #444; + } + + .biometrics-category { + padding: 5px 10px; + margin-right: 5px; + cursor: pointer; + border-radius: 3px; + font-size: 12px; + transition: all 0.2s; + } + + .biometrics-category.active { + background-color: #e74c3c; + color: white; + } + + .biometrics-category:hover:not(.active) { + background-color: #444; + } + + #biometrics-content { + padding: 15px; + overflow-y: auto; + max-height: 350px; + } + + .biometric-sample { + margin-bottom: 15px; + padding-bottom: 15px; + border-bottom: 1px solid #444; + cursor: pointer; + transition: background-color 0.2s; + padding: 10px; + border-radius: 3px; + } + + .biometric-sample:hover { + background-color: #333; + } + + .biometric-sample:last-child { + margin-bottom: 0; + padding-bottom: 0; + border-bottom: none; + } + + .biometric-sample-name { + font-weight: bold; + margin-bottom: 5px; + font-size: 14px; + color: #e74c3c; + display: flex; + justify-content: space-between; + align-items: center; + } + + .biometric-sample-icons { + display: flex; + gap: 5px; + } + + .biometric-sample-icon { + font-size: 12px; + color: #aaa; + } + + .biometric-sample-details { + font-size: 13px; + line-height: 1.4; + white-space: pre-wrap; + max-height: 80px; + overflow: hidden; + transition: max-height 0.3s; + } + + .biometric-sample.expanded .biometric-sample-details { + max-height: 1000px; + } + + .biometric-sample-timestamp { + font-size: 11px; + color: #888; + margin-top: 5px; + text-align: right; + } + + .biometric-quality-bar { + width: 100%; + height: 5px; + background: #333; + margin-top: 8px; + border-radius: 2px; + margin-bottom: 8px; + } + + .biometric-quality-fill { + height: 100%; + border-radius: 2px; + transition: width 0.3s ease; + } + + #biometrics-toggle { + position: fixed; + bottom: 20px; + right: 160px; + width: 60px; + height: 60px; + background-color: #e74c3c; + color: white; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); + z-index: 1998; + font-size: 28px; + transition: all 0.3s ease; + } + + #biometrics-toggle:hover { + background-color: #c0392b; + transform: scale(1.1); + } + + #biometrics-count { + position: absolute; + top: 0; + right: 0; + background-color: #c0392b; + color: white; + border-radius: 50%; + width: 22px; + height: 22px; + font-size: 12px; + display: none; + justify-content: center; + align-items: center; + font-weight: bold; + } + + /* Rest of existing styles follow */ @@ -734,6 +948,27 @@ 📡
0
+ + +
+
+
Biometric Samples
+
×
+
+
+ +
+
+
All
+
Fingerprints
+
Spoofed
+
+
+
+ \ No newline at end of file