Update app.py
Browse files
app.py
CHANGED
|
@@ -60,27 +60,34 @@ CSS = """
|
|
| 60 |
background: transparent !important;
|
| 61 |
}
|
| 62 |
|
| 63 |
-
/*
|
| 64 |
.thinking-section {
|
| 65 |
-
background:
|
| 66 |
-
border-left: 4px solid var(--primary-500);
|
| 67 |
-
padding: 1.25rem;
|
| 68 |
-
margin-bottom: 1.5rem;
|
| 69 |
-
border-radius: 0 0.75rem 0.75rem 0;
|
| 70 |
-
font-style: italic;
|
| 71 |
-
color: var(--body-text-color-subdued);
|
| 72 |
}
|
| 73 |
|
| 74 |
-
/*
|
| 75 |
-
|
| 76 |
-
background:
|
| 77 |
-
color: var(--
|
| 78 |
}
|
| 79 |
|
| 80 |
-
/*
|
| 81 |
-
.
|
| 82 |
-
|
|
|
|
| 83 |
color: var(--body-text-color) !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
|
| 86 |
.sources-panel {
|
|
|
|
| 60 |
background: transparent !important;
|
| 61 |
}
|
| 62 |
|
| 63 |
+
/* 1. Base style (Light Mode) */
|
| 64 |
.thinking-section {
|
| 65 |
+
background: rgba(0, 0, 0, 0.05) !important; /* Subtle tint instead of var */
|
| 66 |
+
border-left: 4px solid var(--primary-500) !important;
|
| 67 |
+
padding: 1.25rem !important;
|
| 68 |
+
margin-bottom: 1.5rem !important;
|
| 69 |
+
border-radius: 0 0.75rem 0.75rem 0 !important;
|
| 70 |
+
font-style: italic !important;
|
|
|
|
| 71 |
}
|
| 72 |
|
| 73 |
+
/* 2. Dark Mode Override */
|
| 74 |
+
.dark .thinking-section {
|
| 75 |
+
background: rgba(255, 255, 255, 0.1) !important; /* Light tint on dark background */
|
| 76 |
+
border-left-color: var(--primary-400) !important;
|
| 77 |
}
|
| 78 |
|
| 79 |
+
/* 3. Force the text inside the thinking section to adapt */
|
| 80 |
+
.thinking-section,
|
| 81 |
+
.thinking-section p,
|
| 82 |
+
.thinking-section span {
|
| 83 |
color: var(--body-text-color) !important;
|
| 84 |
+
opacity: 0.9;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
/* 4. Extra insurance for the summary area text in dark mode */
|
| 88 |
+
.dark .summary-text,
|
| 89 |
+
.dark .prose {
|
| 90 |
+
color: #f1f5f9 !important; /* Explicit light gray/white */
|
| 91 |
}
|
| 92 |
|
| 93 |
.sources-panel {
|