Spaces:
Sleeping
Sleeping
Update styles.css
Browse files- styles.css +89 -0
styles.css
CHANGED
|
@@ -439,3 +439,92 @@ button.secondary {
|
|
| 439 |
max-width: 100%;
|
| 440 |
}
|
| 441 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 439 |
max-width: 100%;
|
| 440 |
}
|
| 441 |
}
|
| 442 |
+
|
| 443 |
+
/* ============================================================
|
| 444 |
+
OTIMIZAÇÃO PARA MODO ESCURO (DARK MODE)
|
| 445 |
+
============================================================ */
|
| 446 |
+
|
| 447 |
+
@media (prefers-color-scheme: dark) {
|
| 448 |
+
|
| 449 |
+
/* Fundo Geral */
|
| 450 |
+
.gradio-container {
|
| 451 |
+
background: #0b0f19 !important; /* Azul/Preto muito escuro */
|
| 452 |
+
color: #e5e7eb !important;
|
| 453 |
+
}
|
| 454 |
+
|
| 455 |
+
/* Containers Principais (Seções, Grupos, Cards) */
|
| 456 |
+
.section-container,
|
| 457 |
+
.gradio-group,
|
| 458 |
+
.diagnosticos-container,
|
| 459 |
+
.gradio-accordion,
|
| 460 |
+
.modelo-card,
|
| 461 |
+
.transf-card {
|
| 462 |
+
background: #1f2937 !important; /* Cinza escuro */
|
| 463 |
+
border-color: #374151 !important;
|
| 464 |
+
color: #e5e7eb !important;
|
| 465 |
+
}
|
| 466 |
+
|
| 467 |
+
/* Títulos e Textos */
|
| 468 |
+
.section-title,
|
| 469 |
+
.section-title-orange,
|
| 470 |
+
.teste-nome,
|
| 471 |
+
.stat-label,
|
| 472 |
+
.checkbox-selecionar-todos label {
|
| 473 |
+
color: #f3f4f6 !important;
|
| 474 |
+
}
|
| 475 |
+
|
| 476 |
+
/* Ajuste específico para o Título Laranja (gradiente invertido para escuro) */
|
| 477 |
+
.section-title-orange {
|
| 478 |
+
background: linear-gradient(90deg, #374151 0%, #1f2937 100%) !important;
|
| 479 |
+
color: #ffb04f !important; /* Laranja mais claro para contraste */
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
/* Inputs, Dropdowns e Áreas de Texto */
|
| 483 |
+
.gradio-dropdown,
|
| 484 |
+
.gradio-textbox input,
|
| 485 |
+
.gradio-textbox textarea,
|
| 486 |
+
.gradio-checkbox-group label {
|
| 487 |
+
background-color: #374151 !important;
|
| 488 |
+
color: #ffffff !important;
|
| 489 |
+
border-color: #4b5563 !important;
|
| 490 |
+
}
|
| 491 |
+
|
| 492 |
+
/* Itens de Estatística e Testes */
|
| 493 |
+
.stat-item,
|
| 494 |
+
.teste-item,
|
| 495 |
+
.checkbox-selecionar-todos,
|
| 496 |
+
.equation-box {
|
| 497 |
+
background: #111827 !important; /* Quase preto */
|
| 498 |
+
border-color: #374151 !important;
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
.stat-value,
|
| 502 |
+
.teste-valor {
|
| 503 |
+
color: #f9fafb !important;
|
| 504 |
+
}
|
| 505 |
+
|
| 506 |
+
/* Tabelas (Dataframe) */
|
| 507 |
+
.gradio-dataframe th {
|
| 508 |
+
background: #111827 !important;
|
| 509 |
+
color: #d1d5db !important;
|
| 510 |
+
}
|
| 511 |
+
.gradio-dataframe td {
|
| 512 |
+
background: #1f2937 !important;
|
| 513 |
+
color: #e5e7eb !important;
|
| 514 |
+
}
|
| 515 |
+
.gradio-dataframe tr:hover td {
|
| 516 |
+
background: #374151 !important;
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
/* Accordions */
|
| 520 |
+
.gradio-accordion > .label-wrap {
|
| 521 |
+
background: #374151 !important;
|
| 522 |
+
color: white !important;
|
| 523 |
+
}
|
| 524 |
+
|
| 525 |
+
/* Plots/Gráficos */
|
| 526 |
+
.gradio-plot {
|
| 527 |
+
background: #1f2937 !important;
|
| 528 |
+
border-color: #374151 !important;
|
| 529 |
+
}
|
| 530 |
+
}
|