Spaces:
Runtime error
Runtime error
...
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ theme = gr.themes.Base(
|
|
| 7 |
neutral_hue="stone",
|
| 8 |
).set(
|
| 9 |
body_background_fill='*primary_50',
|
| 10 |
-
body_text_color='*
|
| 11 |
body_text_size='*text_lg',
|
| 12 |
body_text_color_subdued='*primary_700',
|
| 13 |
body_text_weight='600'
|
|
@@ -61,11 +61,29 @@ css = """
|
|
| 61 |
border-radius: 12px;
|
| 62 |
background-color: ##f5f5f5;
|
| 63 |
padding: 20px;
|
| 64 |
-
min-height:
|
| 65 |
font-style: italic;
|
| 66 |
color: #555;
|
| 67 |
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
|
| 68 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
"""
|
| 70 |
|
| 71 |
# 3. Загружаем приватное приложение
|
|
|
|
| 7 |
neutral_hue="stone",
|
| 8 |
).set(
|
| 9 |
body_background_fill='*primary_50',
|
| 10 |
+
body_text_color='*primary_900',
|
| 11 |
body_text_size='*text_lg',
|
| 12 |
body_text_color_subdued='*primary_700',
|
| 13 |
body_text_weight='600'
|
|
|
|
| 61 |
border-radius: 12px;
|
| 62 |
background-color: ##f5f5f5;
|
| 63 |
padding: 20px;
|
| 64 |
+
min-height: 1050px;
|
| 65 |
font-style: italic;
|
| 66 |
color: #555;
|
| 67 |
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
|
| 68 |
}
|
| 69 |
+
|
| 70 |
+
/*#f5f5f5*/
|
| 71 |
+
|
| 72 |
+
/* Стилизуем заголовок аккордеона (самую "кнопку") */
|
| 73 |
+
.feedback-button {
|
| 74 |
+
font-weight: bold;
|
| 75 |
+
text-align: center;
|
| 76 |
+
background-color: #f1f1f1;
|
| 77 |
+
padding: 12px 18px;
|
| 78 |
+
border-radius: 10px;
|
| 79 |
+
margin-top: 12px;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.feedback-confirmation {
|
| 83 |
+
display: block !important;
|
| 84 |
+
margin-top: 10px;
|
| 85 |
+
color: green;
|
| 86 |
+
}
|
| 87 |
"""
|
| 88 |
|
| 89 |
# 3. Загружаем приватное приложение
|