Nischal Subedi commited on
Commit
b058bef
·
1 Parent(s): b5e782c
Files changed (1) hide show
  1. app.py +11 -3
app.py CHANGED
@@ -312,6 +312,9 @@ Answer:"""
312
  --error-bg: #FFF0E0;
313
  --error-border: #FFD2B2;
314
  --error-text: #E05C00;
 
 
 
315
  }
316
 
317
  /* Dark theme variables */
@@ -330,6 +333,9 @@ Answer:"""
330
  --error-bg: #3A2A2A;
331
  --error-border: #FF8C00;
332
  --error-text: #FF8C00;
 
 
 
333
  }
334
 
335
  body, html {
@@ -353,7 +359,7 @@ Answer:"""
353
  }
354
 
355
  .app-header-wrapper {
356
- background: linear-gradient(145deg, var(--background-primary) 0%, var(--background-secondary) 100%) !important;
357
  border: 2px solid var(--border-color) !important;
358
  border-radius: 16px !important;
359
  padding: 2.5rem 1.5rem !important;
@@ -451,7 +457,7 @@ Answer:"""
451
  }
452
 
453
  .section-title-gradient-bar {
454
- background-color: var(--background-secondary) !important;
455
  padding: 1.25rem 1.75rem !important;
456
  border-top-left-radius: 10px !important;
457
  border-top-right-radius: 10px !important;
@@ -481,7 +487,7 @@ Answer:"""
481
  background-color: var(--background-primary) !important;
482
  box-sizing: border-box;
483
  width: 100%;
484
- color部分: color: var(--text-primary) !important;
485
  }
486
 
487
  .dashboard-card-section p {
@@ -1085,6 +1091,8 @@ Answer:"""
1085
  )
1086
 
1087
  return demo
 
 
1088
  # --- Main Execution Block (UNCHANGED from original logic) ---
1089
  if __name__ == "__main__":
1090
  logging.info("Starting Landlord-Tenant Rights Bot application...")
 
312
  --error-bg: #FFF0E0;
313
  --error-border: #FFD2B2;
314
  --error-text: #E05C00;
315
+ /* New variables for the orange gradient */
316
+ --gradient-start: #D68A2E; /* Darker shade of orange-brown */
317
+ --gradient-end: #F5B261; /* Lighter shade of orange-brown */
318
  }
319
 
320
  /* Dark theme variables */
 
333
  --error-bg: #3A2A2A;
334
  --error-border: #FF8C00;
335
  --error-text: #FF8C00;
336
+ /* New variables for the orange gradient in dark theme */
337
+ --gradient-start: #D68A2E; /* Keep the same gradient for consistency */
338
+ --gradient-end: #F5B261; /* Keep the same gradient for consistency */
339
  }
340
 
341
  body, html {
 
359
  }
360
 
361
  .app-header-wrapper {
362
+ background: linear-gradient(145deg, var(--gradient-start) 0%, var(--gradient-end) 100%) !important;
363
  border: 2px solid var(--border-color) !important;
364
  border-radius: 16px !important;
365
  padding: 2.5rem 1.5rem !important;
 
457
  }
458
 
459
  .section-title-gradient-bar {
460
+ background: linear-gradient(145deg, var(--gradient-start) 0%, var(--gradient-end) 100%) !important;
461
  padding: 1.25rem 1.75rem !important;
462
  border-top-left-radius: 10px !important;
463
  border-top-right-radius: 10px !important;
 
487
  background-color: var(--background-primary) !important;
488
  box-sizing: border-box;
489
  width: 100%;
490
+ color: var(--text-primary) !important;
491
  }
492
 
493
  .dashboard-card-section p {
 
1091
  )
1092
 
1093
  return demo
1094
+
1095
+
1096
  # --- Main Execution Block (UNCHANGED from original logic) ---
1097
  if __name__ == "__main__":
1098
  logging.info("Starting Landlord-Tenant Rights Bot application...")