Files
front_directorio/src/components/CardProfesores/CardProfesor.css
T

115 lines
2.0 KiB
CSS
Raw Normal View History

2024-06-26 15:50:34 -06:00
.card {
2024-06-27 15:50:44 -06:00
max-width: 400px;
2024-06-26 15:50:34 -06:00
width: 100%;
2024-06-27 13:55:57 -06:00
height: 175px;
2024-06-26 15:50:34 -06:00
margin: auto;
padding: 0.5em;
border-radius: 1em !important;
2024-06-27 13:55:57 -06:00
background: #f9f9f9 !important;
2024-06-26 15:50:34 -06:00
box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: row !important;
justify-content: left;
text-align: center;
transition: box-shadow 0.3s ease, transform 0.3s ease;
}
2024-06-27 21:16:41 -06:00
.card:hover {
box-shadow: 0 8px 16px 4px rgba(0, 0, 0, 0.2);
transform: translateY(-5px);
}
.card-content {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.imgProfe {
width: auto;
height: 130px;
object-fit: cover;
border-radius: 0.7em;
margin: 10px !important;
}
.button-group {
/* Estilos para el grupo de botones */
margin-top: 10px;
}
.edit-button,
2024-06-30 17:58:15 -06:00
.delete-boton {
2024-06-27 21:16:41 -06:00
padding: 8px 12px;
margin-right: 10px;
border: none;
cursor: pointer;
border-radius: 4px;
color: #fff;
font-weight: bold;
outline: none;
}
.edit-button {
background-color: #007bff !important; /* Verde */
}
/* Estilos para el diálogo */
.dialog-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 1000; /* Z-index alto para estar encima de todo */
}
.dialog {
position: fixed !important;
background-color: #fff;
padding: 8px;
margin: 0;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
max-width: 400px;
width: 100%;
text-align: center;
}
.dialog p {
margin-bottom: 10px;
}
.dialog input {
padding: 8px;
margin-bottom: 10px;
width: 100%;
box-sizing: border-box;
}
.dialog button {
padding: 8px 20px;
margin: 0 5px;
border: none;
cursor: pointer;
border-radius: 4px;
font-weight: bold;
outline: none;
}
.dialog button:first-child {
padding: auto !important;
background-color: #007bff !important;
color: #fff;
}
2024-06-26 15:50:34 -06:00
2024-06-27 21:16:41 -06:00
.dialog button:last-child {
padding: auto !important;
background-color: #007bff !important;
color: #fff;
}