Spaces:
Runtime error
Runtime error
Rodrigo Batista
commited on
Commit
·
f27fab3
1
Parent(s):
d312b4f
final final
Browse files- src/streamlit_app.py +28 -0
src/streamlit_app.py
CHANGED
|
@@ -173,6 +173,34 @@ st.markdown("""
|
|
| 173 |
color: #fff !important;
|
| 174 |
}
|
| 175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
|
| 177 |
</style>
|
| 178 |
""", unsafe_allow_html=True)
|
|
|
|
| 173 |
color: #fff !important;
|
| 174 |
}
|
| 175 |
|
| 176 |
+
/* ===================== DARK MODE FIX ===================== */
|
| 177 |
+
@media (prefers-color-scheme: dark) {
|
| 178 |
+
/* Garante que o texto dentro das anotações continua legível */
|
| 179 |
+
.annotation-box span,
|
| 180 |
+
.legend-item span,
|
| 181 |
+
.highlight-date,
|
| 182 |
+
.highlight-start-time,
|
| 183 |
+
.highlight-end-time,
|
| 184 |
+
.highlight-location,
|
| 185 |
+
.highlight-minute-id,
|
| 186 |
+
.highlight-meeting-type,
|
| 187 |
+
.highlight-president-present,
|
| 188 |
+
.highlight-president-absent,
|
| 189 |
+
.highlight-president-substituted,
|
| 190 |
+
.highlight-councilor-present,
|
| 191 |
+
.highlight-councilor-absent,
|
| 192 |
+
.highlight-councilor-substituted {
|
| 193 |
+
color: #000 !important; /* texto preto legível em fundo claro */
|
| 194 |
+
mix-blend-mode: normal !important;
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
/* Mantém o fundo geral do bloco escuro */
|
| 198 |
+
.annotation-box {
|
| 199 |
+
background-color: #2b2b2b !important;
|
| 200 |
+
}
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
|
| 204 |
|
| 205 |
</style>
|
| 206 |
""", unsafe_allow_html=True)
|