selvaGo/static/style.css
2025-04-04 15:55:58 -06:00

105 lines
No EOL
1.9 KiB
CSS

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 20px;
background-color: #f4f4f4;
color: #333;
line-height: 1.6;
}
h1, h2 {
color: #007bff;
margin-bottom: 20px;
}
table {
border-collapse: collapse;
width: 100%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: white;
border-radius: 8px;
overflow: hidden; /* Para que los bordes redondeados funcionen bien */
}
th, td {
border: 1px solid #e0e0e0;
padding: 12px 15px;
text-align: left;
}
th {
background-color: #f0f8ff; /* Un azul muy claro para los encabezados */
font-weight: 600;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
tr:hover {
background-color: #f0f0f0; /* Efecto hover para las filas */
}
a.button, button.button {
display: inline-block;
padding: 10px 15px;
background-color: #007bff;
color: white;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
margin: 5px;
}
a.button:hover, button.button:hover {
background-color: #0056b3;
}
.button.delete {
background-color: #dc3545;
}
.button.delete:hover {
background-color: #c82333;
}
form {
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: 600;
}
input[type="text"],
input[type="number"],
input[type="date"],
select {
width: calc(100% - 22px); /* Ajuste para el padding y el borde */
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 5px;
box-sizing: border-box;
}
input[type="checkbox"]{
margin-bottom: 15px;
}
@media (max-width: 600px) {
table, form {
width: 100%;
}
th, td {
padding: 8px;
font-size: 0.9em;
}
}