Created
May 19, 2025 22:35
-
-
Save uchoamaster/a20f52ea43bf370b241e9c04c07a2268 to your computer and use it in GitHub Desktop.
css projeto agenda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Estilos Gerais */ | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
body { | |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
line-height: 1.6; | |
color: #333; | |
background-color: #f5f5f5; | |
padding-bottom: 20px; | |
} | |
.container { | |
width: 90%; | |
max-width: 1200px; | |
margin: 0 auto; | |
padding: 20px; | |
} | |
/* Cabeçalho */ | |
header { | |
background-color: #4a6fa5; | |
color: white; | |
padding: 20px 0; | |
margin-bottom: 30px; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |
} | |
.header-content { | |
display: flex; | |
align-items: center; | |
justify-content: space-between; | |
} | |
.logo { | |
display: flex; | |
align-items: center; | |
} | |
.logo img { | |
width: 40px; | |
margin-right: 10px; | |
} | |
h1 { | |
font-size: 24px; | |
margin-bottom: 20px; | |
color: #333; | |
} | |
header h1 { | |
color: white; | |
margin-bottom: 0; | |
} | |
/* Botões e Links */ | |
.btn { | |
display: inline-block; | |
background-color: #4a6fa5; | |
color: white; | |
padding: 8px 16px; | |
border-radius: 4px; | |
text-decoration: none; | |
font-weight: 500; | |
border: none; | |
cursor: pointer; | |
transition: background-color 0.3s; | |
} | |
.btn:hover { | |
background-color: #3a5a80; | |
} | |
.btn-success { | |
background-color: #28a745; | |
} | |
.btn-success:hover { | |
background-color: #218838; | |
} | |
.btn-danger { | |
background-color: #dc3545; | |
} | |
.btn-danger:hover { | |
background-color: #c82333; | |
} | |
.btn-warning { | |
background-color: #ffc107; | |
color: #212529; | |
} | |
.btn-warning:hover { | |
background-color: #e0a800; | |
} | |
/* Tabelas */ | |
.table-container { | |
background-color: white; | |
border-radius: 8px; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |
overflow: hidden; | |
margin-bottom: 30px; | |
} | |
table { | |
width: 100%; | |
border-collapse: collapse; | |
} | |
table th, table td { | |
padding: 12px 15px; | |
text-align: left; | |
} | |
table th { | |
background-color: #f8f9fa; | |
font-weight: 600; | |
border-bottom: 2px solid #dee2e6; | |
} | |
table tr { | |
border-bottom: 1px solid #dee2e6; | |
} | |
table tr:last-child { | |
border-bottom: none; | |
} | |
table tr:hover { | |
background-color: #f1f4f7; | |
} | |
.actions { | |
display: flex; | |
gap: 8px; | |
} | |
/* Formulários */ | |
.form-container { | |
background-color: white; | |
border-radius: 8px; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |
padding: 25px; | |
margin-bottom: 30px; | |
} | |
.form-group { | |
margin-bottom: 20px; | |
} | |
label { | |
display: block; | |
margin-bottom: 8px; | |
font-weight: 500; | |
} | |
input[type="text"], | |
input[type="email"] { | |
width: 100%; | |
padding: 10px; | |
border: 1px solid #ddd; | |
border-radius: 4px; | |
font-size: 16px; | |
} | |
input[type="text"]:focus, | |
input[type="email"]:focus { | |
border-color: #4a6fa5; | |
outline: none; | |
box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2); | |
} | |
.error-text { | |
color: #dc3545; | |
font-size: 14px; | |
margin-top: 5px; | |
} | |
.form-buttons { | |
display: flex; | |
gap: 10px; | |
margin-top: 20px; | |
} | |
/* Mensagens */ | |
.alert { | |
padding: 12px 15px; | |
border-radius: 4px; | |
margin-bottom: 20px; | |
} | |
.alert-success { | |
background-color: #d4edda; | |
color: #155724; | |
border: 1px solid #c3e6cb; | |
} | |
.alert-danger { | |
background-color: #f8d7da; | |
color: #721c24; | |
border: 1px solid #f5c6cb; | |
} | |
/* Responsividade */ | |
@media (max-width: 768px) { | |
.container { | |
width: 95%; | |
} | |
table { | |
display: block; | |
overflow-x: auto; | |
} | |
.actions { | |
flex-direction: column; | |
gap: 5px; | |
} | |
.btn { | |
font-size: 14px; | |
padding: 6px 12px; | |
} | |
} | |
/* Utilitários */ | |
.text-center { | |
text-align: center; | |
} | |
.mt-3 { | |
margin-top: 15px; | |
} | |
.empty-message { | |
text-align: center; | |
padding: 30px; | |
color: #6c757d; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment