Habits
style.css 83 lines
Files · 10
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283.new-app .history-grid {
display: grid;
grid-template-columns: repeat(28, 1fr);
gap: 4px;
}
.new-app .history-dot {
height: 16px;
min-width: 0;
border: 0;
border-radius: 3px;
background: var(--surface-secondary);
padding: 0;
}
.new-app .history-dot.scheduled {
background: var(--border);
}
.new-app .history-dot.done {
background: var(--success);
}
.new-app .history-dot.selected {
outline: 2px solid var(--accent);
outline-offset: 1px;
}
.new-app .habit-row {
display: grid;
grid-template-columns: minmax(180px, 1fr) minmax(190px, 1fr) 110px;
gap: 20px;
align-items: center;
padding: 22px;
border-bottom: 1px solid var(--border);
}
.new-app .habit-row:last-child {
border: 0;
}
.new-app .habit-label {
display: flex;
gap: 14px;
align-items: center;
}
.new-app .habit-label strong {
display: block;
font-weight: 550;
}
.new-app .streak {
text-align: right;
}
.new-app .weekday-list {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 16px;
}
.new-app .weekday-list label {
display: flex;
align-items: center;
gap: 4px;
font-size: 13px;
}
.new-app .weekday-list input {
min-height: unset;
}
.new-app fieldset {
border: 1px solid var(--border);
border-radius: 8px;
margin: 0 0 16px;
padding: 12px;
}
.new-app legend {
color: var(--text-secondary);
font-size: 13px;
padding: 0 5px;
}
@media (max-width: 760px) {
.new-app .habit-row {
grid-template-columns: 1fr auto;
gap: 16px;
}
.new-app .habit-row .history-grid {
grid-row: 2;
grid-column: 1 / -1;
}
}