lordofgaming commited on
Commit
027fce5
·
1 Parent(s): a61224b

Fix backend crash (add prometheus+cryptography deps) and improve sidebar text visibility

Browse files
Files changed (2) hide show
  1. frontend/assets/styles.css +46 -0
  2. requirements.txt +4 -0
frontend/assets/styles.css CHANGED
@@ -382,6 +382,52 @@
382
  font-weight: 700;
383
  }
384
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  /* ===== Headers ===== */
386
  h1,
387
  h2,
 
382
  font-weight: 700;
383
  }
384
 
385
+ /* ===== Dark Mode Sidebar Text Visibility ===== */
386
+ /* Make sidebar nav items brighter and more readable */
387
+ [data-testid="stSidebar"] [data-testid="stSidebarNav"] span {
388
+ color: #e0e0e0 !important;
389
+ font-weight: 500;
390
+ }
391
+
392
+ [data-testid="stSidebar"] [data-testid="stSidebarNav"] a {
393
+ color: #e0e0e0 !important;
394
+ }
395
+
396
+ [data-testid="stSidebar"] [data-testid="stSidebarNav"] a:hover span {
397
+ color: #ffffff !important;
398
+ }
399
+
400
+ /* Sidebar page links - make brighter */
401
+ [data-testid="stSidebar"] [data-testid="stSidebarNavItems"] a {
402
+ color: #cccccc !important;
403
+ }
404
+
405
+ [data-testid="stSidebar"] [data-testid="stSidebarNavItems"] a:hover {
406
+ color: #ffffff !important;
407
+ background: rgba(255, 0, 51, 0.15) !important;
408
+ }
409
+
410
+ /* Active page in sidebar */
411
+ [data-testid="stSidebar"] [data-testid="stSidebarNavItems"] a[aria-selected="true"] span {
412
+ color: #ff3355 !important;
413
+ font-weight: 600;
414
+ }
415
+
416
+ /* All sidebar text - ensure readable */
417
+ [data-testid="stSidebar"] p,
418
+ [data-testid="stSidebar"] span,
419
+ [data-testid="stSidebar"] label,
420
+ [data-testid="stSidebar"] div {
421
+ color: #d0d0d0;
422
+ }
423
+
424
+ /* Sidebar headers */
425
+ [data-testid="stSidebar"] h1,
426
+ [data-testid="stSidebar"] h2,
427
+ [data-testid="stSidebar"] h3 {
428
+ color: #ffffff !important;
429
+ }
430
+
431
  /* ===== Headers ===== */
432
  h1,
433
  h2,
requirements.txt CHANGED
@@ -59,6 +59,10 @@ streamlit-webrtc==0.47.0
59
 
60
  # API instrumentation
61
  slowapi==0.1.9
 
 
 
 
62
 
63
  # NOTE: TTS/melotts/coqui-tts removed for HF free tier
64
  # Edge TTS provides full TTS functionality as fallback
 
59
 
60
  # API instrumentation
61
  slowapi==0.1.9
62
+ prometheus-fastapi-instrumentator==6.1.0
63
+
64
+ # Encryption (required by security_encryption.py)
65
+ cryptography==42.0.4
66
 
67
  # NOTE: TTS/melotts/coqui-tts removed for HF free tier
68
  # Edge TTS provides full TTS functionality as fallback