text color
Browse files
app.py
CHANGED
@@ -69,6 +69,38 @@ def main():
|
|
69 |
white-space: pre-wrap;
|
70 |
font-family: monospace;
|
71 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
</style>
|
73 |
""", unsafe_allow_html=True)
|
74 |
|
|
|
69 |
white-space: pre-wrap;
|
70 |
font-family: monospace;
|
71 |
}
|
72 |
+
|
73 |
+
/* Основные стили для белого текста */
|
74 |
+
body, .stApp, .stTextInput, .stTextArea, .stMarkdown,
|
75 |
+
.stRadio, .stButton, .stFileUploader, .stAlert,
|
76 |
+
.stSuccess, .stWarning, .stError, .stInfo {
|
77 |
+
color: white !important;
|
78 |
+
}
|
79 |
+
|
80 |
+
/* Текст в полях ввода */
|
81 |
+
.stTextInput input, .stTextArea textarea {
|
82 |
+
color: white !important;
|
83 |
+
}
|
84 |
+
|
85 |
+
/* Текст в radio кнопках */
|
86 |
+
.stRadio label {
|
87 |
+
color: white !important;
|
88 |
+
}
|
89 |
+
|
90 |
+
/* Текст в кнопках */
|
91 |
+
.stButton button {
|
92 |
+
color: white !important;
|
93 |
+
}
|
94 |
+
|
95 |
+
/* Текст в загрузчике файлов */
|
96 |
+
.stFileUploader label {
|
97 |
+
color: white !important;
|
98 |
+
}
|
99 |
+
|
100 |
+
/* Заголовки */
|
101 |
+
h1, h2, h3, h4, h5, h6 {
|
102 |
+
color: white !important;
|
103 |
+
}
|
104 |
</style>
|
105 |
""", unsafe_allow_html=True)
|
106 |
|