Umbau auf 7 reihen

This commit is contained in:
jafreli
2025-07-19 00:40:43 +02:00
parent 84c026ca9b
commit f551dfe00c
4 changed files with 185 additions and 32 deletions

View File

@@ -105,6 +105,38 @@ h1 {
color: var(--habit-color, #4CAF50);
}
/* Weekly Grid Layout */
.weekly-grid {
display: flex;
flex-direction: column;
gap: 3px;
padding: 10px 0;
}
.weekday-row {
display: flex;
align-items: center;
gap: 3px;
}
.weekday-label {
width: 30px;
font-size: 0.8em;
font-weight: bold;
color: #b0b0b0;
text-align: center;
flex-shrink: 0;
}
.weekday-row .date-square {
flex: 1;
min-width: 0;
aspect-ratio: 1;
max-width: 25px;
height: auto;
}
/* Legacy date-grid for backward compatibility */
.date-grid {
display: grid;
grid-template-columns: repeat(30, 1fr);
@@ -133,6 +165,11 @@ h1 {
cursor: pointer;
}
.date-square-readonly {
cursor: default;
opacity: 0.9;
}
.date-square.completed {
background-color: var(--habit-color, #4CAF50);
}