Spaces:
Configuration error
Configuration error
| /* Reset básico e Fontes */ | |
| body, html { | |
| /* ... (existing code) ... */ | |
| line-height: 1.6; | |
| } | |
| /* Container Principal */ | |
| .container { | |
| /* ... (existing code) ... */ | |
| box-shadow: 0 6px 18px rgba(0,0,0,0.07); | |
| } | |
| /* Cabeçalho e Navegação */ | |
| header { | |
| /* ... (existing code) ... */ | |
| align-items: center; | |
| } | |
| header h1 { | |
| /* ... (existing code) ... */ | |
| font-size: 1.8em; | |
| } | |
| nav a { | |
| /* ... (existing code) ... */ | |
| transition: background-color 0.3s ease; | |
| } | |
| nav a:hover, nav a.active { | |
| /* ... (existing code) ... */ | |
| } | |
| /* Títulos das Páginas */ | |
| h2 { | |
| /* ... (existing code) ... */ | |
| padding-bottom: 10px; | |
| } | |
| /* --- Estilos de Finanças --- */ | |
| /* ... (existing code) ... */ | |
| .form-container { | |
| /* ... (existing code) ... */ | |
| margin-bottom: 30px; | |
| } | |
| .form-group { | |
| /* ... (existing code) ... */ | |
| flex-direction: column; | |
| } | |
| .form-group label { | |
| /* ... (existing code) ... */ | |
| color: #555; | |
| } | |
| input[type="text"], | |
| input[type="number"], | |
| select { | |
| /* ... (existing code) ... */ | |
| transition: box-shadow 0.3s, border-color 0.3s; | |
| } | |
| input:focus, select:focus { | |
| /* ... (existing code) ... */ | |
| box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2); | |
| } | |
| /* Botões */ | |
| .btn { | |
| /* ... (existing code) ... */ | |
| color: white; | |
| } | |
| .btn:hover { | |
| /* ... (existing code) ... */ | |
| transform: translateY(-2px); | |
| } | |
| /* Lista de Transações Recentes */ | |
| /* ... (existing code) ... */ | |
| .transacao-lista .despesa { color: #c0392b; } | |
| /* --- NOVOS Estilos de Tarefas --- */ | |
| .task-form-container { | |
| display: grid; | |
| grid-template-columns: 1fr auto; | |
| gap: 15px; | |
| align-items: flex-end; | |
| margin-bottom: 30px; | |
| } | |
| .task-list { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| .task-item { | |
| background-color: #fdfdfd; | |
| padding: 15px 20px; | |
| border: 1px solid #ecf0f1; | |
| border-radius: 8px; | |
| margin-bottom: 10px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| transition: background-color 0.3s, opacity 0.3s; | |
| } | |
| .task-item .task-descricao { | |
| font-weight: 500; | |
| flex-grow: 1; | |
| margin-right: 15px; | |
| } | |
| .task-item.concluida { | |
| background-color: #f9f9f9; | |
| opacity: 0.7; | |
| } | |
| .task-item.concluida .task-descricao { | |
| text-decoration: line-through; | |
| color: #7f8c8d; | |
| } | |
| .task-botoes { | |
| display: flex; | |
| gap: 10px; | |
| flex-shrink: 0; | |
| } | |
| .btn-task { | |
| padding: 6px 12px; | |
| font-size: 0.9em; | |
| font-weight: 600; | |
| border: none; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| transition: background-color 0.3s; | |
| } | |
| .btn-concluir { | |
| background-color: #2ecc71; | |
| color: white; | |
| } | |
| .btn-concluir:hover { background-color: #27ae60; } | |
| .btn-excluir { | |
| background-color: #e74c3c; | |
| color: white; | |
| } | |
| .btn-excluir:hover { background-color: #c0392b; } | |
| /* Responsividade */ | |
| @media (max-width: 768px) { | |
| /* ... (existing code) ... */ | |
| .form-container { | |
| grid-template-columns: 1fr; | |
| } | |
| /* Ajuste para o formulário de tarefas em telas pequenas */ | |
| .task-form-container { | |
| grid-template-columns: 1fr; | |
| } | |
| .task-item { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| gap: 10px; | |
| } | |
| .task-botoes { | |
| width: 100%; | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| } | |
| } |