Spaces:
Sleeping
Sleeping
github-actions[bot] commited on
Commit ·
4cfe815
1
Parent(s): 363fde4
Sync from GitHub cf621cea62517acbd9b161ac2b93c04f725ae7af
Browse files- frontend/app.py +65 -2
frontend/app.py
CHANGED
|
@@ -191,11 +191,31 @@ def inject_theme() -> None:
|
|
| 191 |
background: linear-gradient(180deg, #173436 0%, #11292b 100%);
|
| 192 |
}
|
| 193 |
|
| 194 |
-
[data-testid="stSidebar"]
|
| 195 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
font-family: "IBM Plex Sans", sans-serif;
|
| 197 |
}
|
| 198 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
h1, h2, h3, h4 {
|
| 200 |
font-family: "Space Grotesk", sans-serif;
|
| 201 |
letter-spacing: 0.02em;
|
|
@@ -294,6 +314,49 @@ def inject_theme() -> None:
|
|
| 294 |
border-color: var(--pending-border);
|
| 295 |
color: #485a63;
|
| 296 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 297 |
</style>
|
| 298 |
""",
|
| 299 |
unsafe_allow_html=True,
|
|
|
|
| 191 |
background: linear-gradient(180deg, #173436 0%, #11292b 100%);
|
| 192 |
}
|
| 193 |
|
| 194 |
+
[data-testid="stSidebar"] h1,
|
| 195 |
+
[data-testid="stSidebar"] h2,
|
| 196 |
+
[data-testid="stSidebar"] h3,
|
| 197 |
+
[data-testid="stSidebar"] h4,
|
| 198 |
+
[data-testid="stSidebar"] label,
|
| 199 |
+
[data-testid="stSidebar"] p,
|
| 200 |
+
[data-testid="stSidebar"] small,
|
| 201 |
+
[data-testid="stSidebar"] span {
|
| 202 |
+
color: #e9f1ef;
|
| 203 |
font-family: "IBM Plex Sans", sans-serif;
|
| 204 |
}
|
| 205 |
|
| 206 |
+
[data-testid="stSidebar"] .stTextInput input,
|
| 207 |
+
[data-testid="stSidebar"] .stTextArea textarea,
|
| 208 |
+
[data-testid="stSidebar"] div[data-baseweb="select"] > div,
|
| 209 |
+
[data-testid="stSidebar"] .stNumberInput input {
|
| 210 |
+
background: rgba(233, 241, 239, 0.1);
|
| 211 |
+
color: #f3f8f7;
|
| 212 |
+
border: 1px solid rgba(178, 209, 202, 0.35);
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
[data-testid="stSidebar"] div[data-baseweb="select"] * {
|
| 216 |
+
color: #0f2a27;
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
h1, h2, h3, h4 {
|
| 220 |
font-family: "Space Grotesk", sans-serif;
|
| 221 |
letter-spacing: 0.02em;
|
|
|
|
| 314 |
border-color: var(--pending-border);
|
| 315 |
color: #485a63;
|
| 316 |
}
|
| 317 |
+
|
| 318 |
+
div.stButton > button,
|
| 319 |
+
div.stFormSubmitButton > button,
|
| 320 |
+
div.stDownloadButton > button {
|
| 321 |
+
border-radius: 11px;
|
| 322 |
+
border: 1px solid #0f5f57;
|
| 323 |
+
background: linear-gradient(135deg, #167269 0%, #0f5f57 100%);
|
| 324 |
+
color: #f4fffd !important;
|
| 325 |
+
font-weight: 600;
|
| 326 |
+
padding: 0.38rem 0.95rem;
|
| 327 |
+
transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
|
| 328 |
+
box-shadow: 0 3px 10px rgba(15, 95, 87, 0.22);
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
+
div.stButton > button:hover,
|
| 332 |
+
div.stFormSubmitButton > button:hover,
|
| 333 |
+
div.stDownloadButton > button:hover {
|
| 334 |
+
transform: translateY(-1px);
|
| 335 |
+
filter: brightness(1.03);
|
| 336 |
+
box-shadow: 0 5px 14px rgba(15, 95, 87, 0.28);
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
div.stButton > button:focus,
|
| 340 |
+
div.stFormSubmitButton > button:focus,
|
| 341 |
+
div.stDownloadButton > button:focus {
|
| 342 |
+
outline: 2px solid #ffcb7f;
|
| 343 |
+
outline-offset: 2px;
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
[data-testid="stSidebar"] div.stButton > button,
|
| 347 |
+
[data-testid="stSidebar"] div.stFormSubmitButton > button,
|
| 348 |
+
[data-testid="stSidebar"] div.stDownloadButton > button {
|
| 349 |
+
background: linear-gradient(135deg, #ecf8f4 0%, #d8efe9 100%);
|
| 350 |
+
color: #123f3b !important;
|
| 351 |
+
border: 1px solid #90c6bb;
|
| 352 |
+
box-shadow: none;
|
| 353 |
+
}
|
| 354 |
+
|
| 355 |
+
[data-testid="stSidebar"] div.stButton > button:hover,
|
| 356 |
+
[data-testid="stSidebar"] div.stFormSubmitButton > button:hover,
|
| 357 |
+
[data-testid="stSidebar"] div.stDownloadButton > button:hover {
|
| 358 |
+
background: linear-gradient(135deg, #f5fffc 0%, #e3f8f3 100%);
|
| 359 |
+
}
|
| 360 |
</style>
|
| 361 |
""",
|
| 362 |
unsafe_allow_html=True,
|