Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1296,7 +1296,6 @@ def show_main_app():
|
|
| 1296 |
fill: black !important;
|
| 1297 |
}
|
| 1298 |
|
| 1299 |
-
|
| 1300 |
/* File Uploader */
|
| 1301 |
[data-testid="stFileUploaderDropzone"] {
|
| 1302 |
border-radius: 12px; /* More rounded */
|
|
@@ -1356,16 +1355,18 @@ def show_main_app():
|
|
| 1356 |
/* Specific styles for each type with slightly richer colors */
|
| 1357 |
[data-testid="stAlert"] .streamlit-warning {
|
| 1358 |
background-color: #fef7e0; color: #7a5f00; border-left: 6px solid #ffcc00;
|
| 1359 |
-
|
| 1360 |
[data-testid="stAlert"] .streamlit-success {
|
| 1361 |
-
background-color: #e6ffe6;
|
| 1362 |
-
|
|
|
|
|
|
|
| 1363 |
[data-testid="stAlert"] .streamlit-error {
|
| 1364 |
-
|
| 1365 |
-
|
| 1366 |
[data-testid="stAlert"] .streamlit-info {
|
| 1367 |
-
|
| 1368 |
-
|
| 1369 |
|
| 1370 |
|
| 1371 |
/* Chat Message Bubbles */
|
|
@@ -1417,18 +1418,17 @@ def show_main_app():
|
|
| 1417 |
.stInfo {
|
| 1418 |
background-color: #e6f7ff; /* Lighter blue for quote box */
|
| 1419 |
border-left: 6px solid #64b5f6; /* Accent border, slightly brighter blue */
|
| 1420 |
-
color:
|
| 1421 |
border-radius: 10px;
|
| 1422 |
padding: 18px 25px;
|
| 1423 |
margin-top: 2rem;
|
| 1424 |
font-style: italic;
|
| 1425 |
font-size: 1.05em;
|
| 1426 |
-
|
| 1427 |
-
|
| 1428 |
-
.stInfo span
|
| 1429 |
-
|
| 1430 |
-
|
| 1431 |
-
}
|
| 1432 |
|
| 1433 |
|
| 1434 |
/* Audio Player */
|
|
|
|
| 1296 |
fill: black !important;
|
| 1297 |
}
|
| 1298 |
|
|
|
|
| 1299 |
/* File Uploader */
|
| 1300 |
[data-testid="stFileUploaderDropzone"] {
|
| 1301 |
border-radius: 12px; /* More rounded */
|
|
|
|
| 1355 |
/* Specific styles for each type with slightly richer colors */
|
| 1356 |
[data-testid="stAlert"] .streamlit-warning {
|
| 1357 |
background-color: #fef7e0; color: #7a5f00; border-left: 6px solid #ffcc00;
|
| 1358 |
+
}
|
| 1359 |
[data-testid="stAlert"] .streamlit-success {
|
| 1360 |
+
background-color: #e6ffe6; /* Your existing background */
|
| 1361 |
+
border-left: 6px solid #4CAF50; /* Your existing border */
|
| 1362 |
+
color: black !important; /* FORCED BLACK TEXT COLOR */
|
| 1363 |
+
}
|
| 1364 |
[data-testid="stAlert"] .streamlit-error {
|
| 1365 |
+
background-color: #ffe6e6; color: #8c0a0a; border-left: 6px solid #e74c3c;
|
| 1366 |
+
}
|
| 1367 |
[data-testid="stAlert"] .streamlit-info {
|
| 1368 |
+
background-color: #e6f7ff; color: #0a4d6e; border-left: 6px solid #3498db;
|
| 1369 |
+
}
|
| 1370 |
|
| 1371 |
|
| 1372 |
/* Chat Message Bubbles */
|
|
|
|
| 1418 |
.stInfo {
|
| 1419 |
background-color: #e6f7ff; /* Lighter blue for quote box */
|
| 1420 |
border-left: 6px solid #64b5f6; /* Accent border, slightly brighter blue */
|
| 1421 |
+
color: black !important; /* FORCED BLACK TEXT COLOR */
|
| 1422 |
border-radius: 10px;
|
| 1423 |
padding: 18px 25px;
|
| 1424 |
margin-top: 2rem;
|
| 1425 |
font-style: italic;
|
| 1426 |
font-size: 1.05em;
|
| 1427 |
+
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
|
| 1428 |
+
}
|
| 1429 |
+
.stInfo span, .stInfo strong { /* Ensure any span/bold text inside is also black */
|
| 1430 |
+
color: black !important;
|
| 1431 |
+
}
|
|
|
|
| 1432 |
|
| 1433 |
|
| 1434 |
/* Audio Player */
|