Update style.css
Browse files
style.css
CHANGED
|
@@ -45,19 +45,6 @@ body {
|
|
| 45 |
font-size: 24px;
|
| 46 |
}
|
| 47 |
|
| 48 |
-
.debug-toggle {
|
| 49 |
-
background: none;
|
| 50 |
-
border: none;
|
| 51 |
-
color: #4285f4;
|
| 52 |
-
font-size: 18px;
|
| 53 |
-
cursor: pointer;
|
| 54 |
-
margin-left: 15px;
|
| 55 |
-
}
|
| 56 |
-
|
| 57 |
-
.debug-toggle:hover {
|
| 58 |
-
color: #2962ff;
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
.search-bar {
|
| 62 |
display: flex;
|
| 63 |
align-items: center;
|
|
@@ -76,6 +63,31 @@ body {
|
|
| 76 |
outline: none;
|
| 77 |
}
|
| 78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
/* Main Content Layout */
|
| 80 |
.content {
|
| 81 |
display: flex;
|
|
@@ -167,7 +179,7 @@ body {
|
|
| 167 |
max-width: 300px;
|
| 168 |
z-index: 100;
|
| 169 |
backdrop-filter: blur(5px);
|
| 170 |
-
opacity: 0.
|
| 171 |
transition: opacity 0.3s;
|
| 172 |
}
|
| 173 |
|
|
@@ -296,59 +308,37 @@ body {
|
|
| 296 |
transform: translate(-50%, -50%);
|
| 297 |
}
|
| 298 |
|
| 299 |
-
/*
|
| 300 |
.debug-panel {
|
| 301 |
-
position:
|
| 302 |
-
top: 60px; /*
|
| 303 |
right: 20px;
|
| 304 |
-
background-color: rgba(0,0,0,0.
|
| 305 |
color: #0f0;
|
| 306 |
padding: 15px;
|
| 307 |
border-radius: 12px;
|
| 308 |
max-width: 300px;
|
| 309 |
z-index: 100;
|
| 310 |
backdrop-filter: blur(5px);
|
| 311 |
-
opacity: 0
|
| 312 |
-
|
| 313 |
-
|
| 314 |
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 315 |
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
|
|
|
|
| 316 |
}
|
| 317 |
|
| 318 |
-
.debug-panel.
|
| 319 |
opacity: 1;
|
|
|
|
| 320 |
transform: translateY(0);
|
| 321 |
}
|
| 322 |
|
| 323 |
-
.debug-
|
| 324 |
-
|
| 325 |
-
justify-content: space-between;
|
| 326 |
-
align-items: center;
|
| 327 |
margin-bottom: 10px;
|
| 328 |
}
|
| 329 |
|
| 330 |
-
.collapse-btn {
|
| 331 |
-
background: none;
|
| 332 |
-
border: none;
|
| 333 |
-
color: #fff;
|
| 334 |
-
font-size: 16px;
|
| 335 |
-
cursor: pointer;
|
| 336 |
-
}
|
| 337 |
-
|
| 338 |
-
.collapse-btn:hover {
|
| 339 |
-
color: #2962ff;
|
| 340 |
-
}
|
| 341 |
-
|
| 342 |
-
.debug-content {
|
| 343 |
-
max-height: 0;
|
| 344 |
-
overflow: hidden;
|
| 345 |
-
transition: max-height 0.3s;
|
| 346 |
-
}
|
| 347 |
-
|
| 348 |
-
.debug-panel.active .debug-content {
|
| 349 |
-
max-height: 500px;
|
| 350 |
-
}
|
| 351 |
-
|
| 352 |
.debug-item {
|
| 353 |
margin-bottom: 5px;
|
| 354 |
}
|
|
@@ -363,36 +353,6 @@ body {
|
|
| 363 |
color: #fff;
|
| 364 |
}
|
| 365 |
|
| 366 |
-
/* Status Indicator */
|
| 367 |
-
.status-indicator {
|
| 368 |
-
position: fixed;
|
| 369 |
-
bottom: 30px;
|
| 370 |
-
right: 30px;
|
| 371 |
-
width: 20px;
|
| 372 |
-
height: 20px;
|
| 373 |
-
border-radius: 50%;
|
| 374 |
-
z-index: 200;
|
| 375 |
-
}
|
| 376 |
-
|
| 377 |
-
.status-indicator.ready {
|
| 378 |
-
background-color: #34a853;
|
| 379 |
-
box-shadow: 0 0 10px #34a853;
|
| 380 |
-
}
|
| 381 |
-
|
| 382 |
-
.status-indicator.processing {
|
| 383 |
-
background-color: #fbbc05;
|
| 384 |
-
animation: blink 1s infinite;
|
| 385 |
-
}
|
| 386 |
-
|
| 387 |
-
.status-indicator.error {
|
| 388 |
-
background-color: #ea4335;
|
| 389 |
-
animation: blink 0.5s infinite;
|
| 390 |
-
}
|
| 391 |
-
|
| 392 |
-
@keyframes blink {
|
| 393 |
-
50% { opacity: 0.5; }
|
| 394 |
-
}
|
| 395 |
-
|
| 396 |
/* For mobile responsiveness */
|
| 397 |
@media (max-width: 768px) {
|
| 398 |
.webcam-container {
|
|
|
|
| 45 |
font-size: 24px;
|
| 46 |
}
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
.search-bar {
|
| 49 |
display: flex;
|
| 50 |
align-items: center;
|
|
|
|
| 63 |
outline: none;
|
| 64 |
}
|
| 65 |
|
| 66 |
+
/* Debug Toggle Button */
|
| 67 |
+
.debug-toggle {
|
| 68 |
+
margin-left: 20px;
|
| 69 |
+
position: relative;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.debug-button {
|
| 73 |
+
background-color: #f1f3f4;
|
| 74 |
+
border: 1px solid #e0e0e0;
|
| 75 |
+
border-radius: 50%;
|
| 76 |
+
width: 30px;
|
| 77 |
+
height: 30px;
|
| 78 |
+
cursor: pointer;
|
| 79 |
+
display: flex;
|
| 80 |
+
align-items: center;
|
| 81 |
+
justify-content: center;
|
| 82 |
+
transition: all 0.3s ease;
|
| 83 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.debug-button:hover {
|
| 87 |
+
background-color: #e0e0e0;
|
| 88 |
+
transform: scale(1.05);
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
/* Main Content Layout */
|
| 92 |
.content {
|
| 93 |
display: flex;
|
|
|
|
| 179 |
max-width: 300px;
|
| 180 |
z-index: 100;
|
| 181 |
backdrop-filter: blur(5px);
|
| 182 |
+
opacity: 0.9;
|
| 183 |
transition: opacity 0.3s;
|
| 184 |
}
|
| 185 |
|
|
|
|
| 308 |
transform: translate(-50%, -50%);
|
| 309 |
}
|
| 310 |
|
| 311 |
+
/* Debug Panel */
|
| 312 |
.debug-panel {
|
| 313 |
+
position: fixed;
|
| 314 |
+
top: 60px; /* Below header */
|
| 315 |
right: 20px;
|
| 316 |
+
background-color: rgba(0,0,0,0.8);
|
| 317 |
color: #0f0;
|
| 318 |
padding: 15px;
|
| 319 |
border-radius: 12px;
|
| 320 |
max-width: 300px;
|
| 321 |
z-index: 100;
|
| 322 |
backdrop-filter: blur(5px);
|
| 323 |
+
opacity: 0;
|
| 324 |
+
visibility: hidden;
|
| 325 |
+
transition: all 0.3s ease;
|
| 326 |
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 327 |
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
|
| 328 |
+
transform: translateY(-10px);
|
| 329 |
}
|
| 330 |
|
| 331 |
+
.debug-panel.visible {
|
| 332 |
opacity: 1;
|
| 333 |
+
visibility: visible;
|
| 334 |
transform: translateY(0);
|
| 335 |
}
|
| 336 |
|
| 337 |
+
.debug-panel h3 {
|
| 338 |
+
color: #4285f4;
|
|
|
|
|
|
|
| 339 |
margin-bottom: 10px;
|
| 340 |
}
|
| 341 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 342 |
.debug-item {
|
| 343 |
margin-bottom: 5px;
|
| 344 |
}
|
|
|
|
| 353 |
color: #fff;
|
| 354 |
}
|
| 355 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 356 |
/* For mobile responsiveness */
|
| 357 |
@media (max-width: 768px) {
|
| 358 |
.webcam-container {
|