Improved 'Sow' and 'Harvest' calcs
Better background on the event banners
This commit is contained in:
fraxle
2026-08-02 16:22:58 +01:00
parent e55e0df86f
commit 566d8d36e2
8 changed files with 291 additions and 71 deletions
+23 -1
View File
@@ -229,12 +229,34 @@ body {
opacity: 0.75;
}
/* Safety-relevant weather (heat, frost, storm, wind, wet) — brass emphasis */
/* Safety-relevant weather (heat, frost, storm, wind, wet) — brass emphasis.
This is the fallback: when the event carries a weather tint, app.js
overrides background/border inline with the matching day-tab colour and
adds .is-tinted (below). */
.event-note.is-priority {
background: #f0e4c4;
border-color: #c8922a;
}
/* Tinted warning banner — the hue now carries the "this is a warning" signal,
so the copy drops the brass accents for neutral dark tones that stay
readable on any of the palette's hues (orange, blue, grey). */
.event-note.is-tinted .event-note-msg {
color: #3f3222;
}
.event-note.is-tinted.is-priority .event-note-dates {
color: #56452c;
}
.event-note.is-tinted .event-note-dot {
background: rgba(0, 0, 0, 0.18);
}
.event-note.is-tinted .event-note-dot:hover {
background: rgba(0, 0, 0, 0.34);
}
.event-note.is-tinted .event-note-dot.active {
background: rgba(0, 0, 0, 0.55);
}
.event-note-slide {
display: flex;
align-items: baseline;