110 lines
1.7 KiB
CSS
110 lines
1.7 KiB
CSS
/* ESTILO DEL CALENDARIO */
|
|
.calendar {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
height: auto;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
background: #1f2031;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.calendar-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 2rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.nav-btn {
|
|
background: none;
|
|
border: none;
|
|
color: white;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.calendar-weekdays, .calendar-days {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 5px;
|
|
}
|
|
|
|
.calendar-weekdays div {
|
|
font-weight: bold;
|
|
padding: 15px 0;
|
|
font-size: 1.2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.calendar-days div {
|
|
text-align: center;
|
|
padding: 15px;
|
|
background: #2a2a2a;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.calendar-days .empty {
|
|
background: none;
|
|
}
|
|
|
|
.calendar-days .day:hover {
|
|
background: #ff3b30;
|
|
}
|
|
|
|
/* Día seleccionado */
|
|
.selected {
|
|
background: #ff3b30 !important;
|
|
color: white;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Modal */
|
|
.modal {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.381);
|
|
}
|
|
|
|
.modal.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.modal-content {
|
|
background: #12122B;
|
|
color: #fff;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
width: 80%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
#modal-titulo{
|
|
font-weight: bold;
|
|
margin: 10px;
|
|
}
|
|
|
|
.close {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
float: right;
|
|
}
|
|
|
|
.print-boton{
|
|
background-color: #2a2a2a;
|
|
border-radius: 10%;
|
|
margin: 10px;
|
|
}
|
|
|