Spaces:
Sleeping
Sleeping
| /* ============================================================ | |
| STYLES.CSS - Estilos para ELABORACAO_MODELOS | |
| ============================================================ */ | |
| /* ============================================================ | |
| LAYOUT GERAL | |
| ============================================================ */ | |
| .gradio-container { | |
| max-width: 100% ; | |
| padding: 15px ; | |
| background: #f5f5f5 ; | |
| } | |
| /* ============================================================ | |
| TÍTULOS DE SEÇÃO | |
| ============================================================ */ | |
| .section-title-orange { | |
| font-weight: 600; | |
| color: #4a5568; | |
| margin: 16px 0 12px 0; | |
| padding: 8px 12px; | |
| border-left: 4px solid #FF8C00; | |
| background: linear-gradient(90deg, #fff8f0 0%, white 100%); | |
| font-size: 14px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.3px; | |
| border-radius: 0 6px 6px 0; | |
| } | |
| /* ============================================================ | |
| HEADERS DE SEÇÃO PRINCIPAIS | |
| ============================================================ */ | |
| .section-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| margin: 36px 0 12px 0; | |
| padding: 0; | |
| } | |
| .section-header:first-of-type { | |
| margin-top: 16px; | |
| } | |
| .section-number { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 32px; | |
| height: 32px; | |
| background: #FF8C00; | |
| color: white; | |
| font-weight: 700; | |
| font-size: 16px; | |
| border-radius: 50%; | |
| flex-shrink: 0; | |
| } | |
| .section-title { | |
| font-size: 16px; | |
| font-weight: 600; | |
| color: #333; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| margin: 0; | |
| padding-bottom: 6px; | |
| border-bottom: 2px solid #FF8C00; | |
| flex-grow: 1; | |
| } | |
| /* Container de seção com borda mais definida */ | |
| .section-container { | |
| background: white ; | |
| border: 2px solid #c0c0c0 ; | |
| border-radius: 12px ; | |
| padding: 16px ; | |
| margin: 0 0 8px 0 ; | |
| box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) ; | |
| } | |
| .section-container:hover { | |
| border-color: #FF8C00 ; | |
| transition: border-color 0.2s ease; | |
| } | |
| /* Timestamp inline após título de seção */ | |
| .section-timestamp { | |
| display: inline-block; | |
| margin-left: 8px; | |
| font-size: 12px; | |
| font-weight: 400; | |
| color: #dc3545; | |
| font-style: italic; | |
| } | |
| /* Botões de adotar transformação */ | |
| .btn-adotar { | |
| background: linear-gradient(180deg, #28a745 0%, #218838 100%) ; | |
| border-color: #28a745 ; | |
| color: white ; | |
| } | |
| .btn-adotar:hover { | |
| background: linear-gradient(180deg, #218838 0%, #1e7e34 100%) ; | |
| border-color: #1e7e34 ; | |
| } | |
| /* Checkbox para marcar/desmarcar todos */ | |
| .checkbox-selecionar-todos { | |
| margin-bottom: 12px; | |
| padding: 8px 12px; | |
| background: #f0f0f0; | |
| border-radius: 6px; | |
| border: 1px solid #d0d0d0; | |
| } | |
| .checkbox-selecionar-todos label { | |
| font-weight: 600 ; | |
| color: #495057 ; | |
| } | |
| /* ============================================================ | |
| CARDS E CONTAINERS | |
| ============================================================ */ | |
| .diagnosticos-container { | |
| font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif; | |
| background: white; | |
| border-radius: 12px; | |
| padding: 20px; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); | |
| line-height: 1.5; | |
| } | |
| .stats-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | |
| gap: 12px; | |
| padding: 12px 0; | |
| } | |
| .stat-item { | |
| display: flex; | |
| justify-content: space-between; | |
| padding: 8px 12px; | |
| background: #f8f9fa; | |
| border-radius: 6px; | |
| border: 1px solid #e9ecef; | |
| } | |
| .stat-label { | |
| font-weight: 500; | |
| color: #6c757d; | |
| } | |
| .stat-value { | |
| font-weight: 600; | |
| font-family: 'Consolas', monospace; | |
| color: #495057; | |
| } | |
| /* ============================================================ | |
| TESTES ESTATÍSTICOS | |
| ============================================================ */ | |
| .teste-item { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 12px; | |
| padding: 10px 12px; | |
| margin: 4px 0; | |
| background: #fafafa; | |
| border-radius: 6px; | |
| align-items: center; | |
| } | |
| .teste-nome { | |
| font-weight: 600; | |
| color: #495057; | |
| min-width: 180px; | |
| } | |
| .teste-valor { | |
| font-family: 'Consolas', monospace; | |
| color: #6c757d; | |
| } | |
| .teste-interp { | |
| font-style: italic; | |
| color: #28a745; | |
| font-size: 13px; | |
| } | |
| /* ============================================================ | |
| EQUAÇÃO DO MODELO | |
| ============================================================ */ | |
| .equation-box { | |
| padding: 16px; | |
| margin: 8px 0; | |
| font-size: 13px; | |
| font-family: 'Consolas', monospace; | |
| word-break: break-word; | |
| background: #f8f9fa; | |
| border-radius: 8px; | |
| border-left: 4px solid #FF8C00; | |
| line-height: 1.6; | |
| } | |
| /* ============================================================ | |
| BUSCA AUTOMÁTICA | |
| ============================================================ */ | |
| .busca-container { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 16px; | |
| padding: 12px; | |
| } | |
| .modelo-card { | |
| flex: 1; | |
| min-width: 200px; | |
| max-width: 300px; | |
| padding: 16px; | |
| background: white; | |
| border-radius: 10px; | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); | |
| border: 1px solid #e0e0e0; | |
| } | |
| .modelo-rank { | |
| font-size: 24px; | |
| font-weight: 700; | |
| color: #FF8C00; | |
| margin-bottom: 8px; | |
| } | |
| .modelo-r2 { | |
| font-size: 18px; | |
| font-weight: 600; | |
| color: #28a745; | |
| margin-bottom: 12px; | |
| padding-bottom: 12px; | |
| border-bottom: 1px solid #e9ecef; | |
| } | |
| .modelo-transf { | |
| font-size: 13px; | |
| color: #6c757d; | |
| line-height: 1.6; | |
| } | |
| .modelo-transf b { | |
| color: #495057; | |
| } | |
| /* ============================================================ | |
| ACCORDIONS E GRUPOS | |
| ============================================================ */ | |
| .gradio-accordion { | |
| border: 2px solid #d0d0d0 ; | |
| border-radius: 10px ; | |
| margin: 8px 0 ; | |
| background: white ; | |
| } | |
| .gradio-accordion > .label-wrap { | |
| padding: 12px 16px ; | |
| background: #fafafa ; | |
| border-radius: 10px 10px 0 0 ; | |
| } | |
| .gradio-group { | |
| background: white ; | |
| border-radius: 12px ; | |
| padding: 15px ; | |
| margin-bottom: 15px ; | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) ; | |
| border: 2px solid #c0c0c0 ; | |
| } | |
| /* ============================================================ | |
| BOTÕES | |
| ============================================================ */ | |
| button.primary { | |
| background: #FF8C00 ; | |
| border-color: #FF8C00 ; | |
| } | |
| button.primary:hover { | |
| background: #e67e00 ; | |
| border-color: #e67e00 ; | |
| } | |
| button.secondary { | |
| background: #6c757d ; | |
| border-color: #6c757d ; | |
| } | |
| /* ============================================================ | |
| TABELAS | |
| ============================================================ */ | |
| .gradio-dataframe table { | |
| font-size: 13px ; | |
| } | |
| .gradio-dataframe th { | |
| background: #f8f9fa ; | |
| font-weight: 600 ; | |
| color: #495057 ; | |
| text-transform: uppercase ; | |
| font-size: 12px ; | |
| letter-spacing: 0.3px ; | |
| } | |
| .gradio-dataframe td { | |
| padding: 8px 12px ; | |
| } | |
| .gradio-dataframe tr:hover { | |
| background: #fff8f0 ; | |
| cursor: pointer; | |
| } | |
| /* ============================================================ | |
| MAPA | |
| ============================================================ */ | |
| .map-container iframe { | |
| border-radius: 8px ; | |
| border: 1px solid #e0e0e0 ; | |
| } | |
| /* ============================================================ | |
| INPUTS | |
| ============================================================ */ | |
| .gradio-dropdown, | |
| .gradio-textbox input, | |
| .gradio-checkbox-group { | |
| border-radius: 6px ; | |
| } | |
| .gradio-checkbox-group label { | |
| padding: 6px 12px ; | |
| margin: 4px ; | |
| border-radius: 20px ; | |
| background: #f8f9fa ; | |
| border: 1px solid #e0e0e0 ; | |
| transition: all 0.2s ; | |
| } | |
| .gradio-checkbox-group label:hover { | |
| background: #fff8f0 ; | |
| border-color: #FF8C00 ; | |
| } | |
| .gradio-checkbox-group input:checked + label { | |
| background: #FF8C00 ; | |
| color: white ; | |
| border-color: #FF8C00 ; | |
| } | |
| /* ============================================================ | |
| GRÁFICOS PLOTLY | |
| ============================================================ */ | |
| .gradio-plot { | |
| background: white ; | |
| border-radius: 8px ; | |
| padding: 10px ; | |
| border: 1px solid #e0e0e0 ; | |
| } | |
| /* ============================================================ | |
| SCROLLBARS | |
| ============================================================ */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #c1c1c1; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #a1a1a1; | |
| } | |
| /* ============================================================ | |
| RESPONSIVIDADE | |
| ============================================================ */ | |
| /* ============================================================ | |
| CARDS DE TRANSFORMAÇÃO | |
| ============================================================ */ | |
| .transf-card { | |
| background: white ; | |
| border: 2px solid #e0e0e0 ; | |
| border-radius: 8px ; | |
| padding: 12px ; | |
| margin: 4px ; | |
| } | |
| .transf-card:hover { | |
| border-color: #FF8C00 ; | |
| } | |
| /* ============================================================ | |
| RESPONSIVIDADE | |
| ============================================================ */ | |
| @media (max-width: 768px) { | |
| .stats-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .busca-container { | |
| flex-direction: column; | |
| } | |
| .modelo-card { | |
| max-width: 100%; | |
| } | |
| } | |