Neue Monats ansicht

This commit is contained in:
jafreli
2025-07-16 18:55:38 +02:00
parent c78e825f2f
commit 5bc7faa451
5 changed files with 123 additions and 25 deletions

View File

@@ -180,6 +180,47 @@ h1 {
margin-bottom: 20px;
}
.month-navigation {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.month-navigation button {
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
padding: 8px 12px;
cursor: pointer;
font-size: 16px;
}
.month-navigation button:hover {
background-color: #45a049;
}
#currentMonthYear {
font-size: 1.2em;
font-weight: bold;
color: #e0e0e0;
}
.weekdays-header {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 5px;
margin-bottom: 10px;
text-align: center;
font-weight: bold;
color: #4CAF50;
}
.weekdays-header div {
padding: 5px;
}
.date-grid-modal {
display: grid;
grid-template-columns: repeat(7, 1fr); /* 7 days a week */
@@ -204,6 +245,11 @@ h1 {
border: 2px solid #007bff; /* Highlight today */
}
.date-cell.empty {
background-color: transparent;
cursor: default;
}
.modal-actions {
display: flex;
justify-content: space-around;