Files
Dreierpack-Manager/assets/modern/calendar.rcss
T
MichaelandClaude Fable 5.2 e22801ce0c A warmer paper skin; table zones tint whole rows and the table fills its window
Within the light skin the blue-grey panels, stripes, selections and button gradients
become paper tones. League tables tint the rows of the European, promotion and
relegation places, mark the own club's row in blue and stretch their rows to the
window's height.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 22:47:32 +01:00

51 lines
3.8 KiB
Plaintext

/* SPDX-License-Identifier: GPL-3.0-only */
.calendar-month {position:absolute;border:2dp var(--border);border-radius:16dp;background-color:var(--soft);}
.calendar-month h2 {position:absolute;left:12dp;right:12dp;top:14dp;height:34dp;font-size:30dp;text-align:center;}
.calendar-weekday {position:absolute;display:flex;align-items:center;font-size:28dp;font-weight:normal;color:var(--muted);}
.calendar-weekday.sunday {color:var(--danger);}
.calendar-day {position:absolute;display:flex;align-items:center;justify-content:center;padding:0;border:0dp;border-radius:8dp;background-color:transparent;font-size:30dp;}
.calendar-day:hover {background-color:var(--hover);}
.calendar-day.has-match {color:#e9cb86;}
.calendar-day.selected-day {background-color:#7d9eb83b;color:#ffffff;}
.calendar-outline {position:absolute;left:3dp;right:3dp;top:3dp;bottom:3dp;border:2dp #a8cde7;border-radius:8dp;pointer-events:none;}
.calendar-day:focus-visible {font-effect:shadow(1dp 0dp var(--accent));}
.calendar-info {position:absolute;left:0;right:0;bottom:140dp;height:34dp;line-height:34dp;text-align:center;font-size:30dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#calendar-country,#calendar-league {padding:12dp 24dp;padding-right:45dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);}
body.midnight .calendar-month {border-color:#c5d9e71a;background-color:#101d2826;}
body.midnight .calendar-month h2 {color:#dce5ee;}
body.midnight .calendar-weekday {color:#97a8b7;}
body.midnight .calendar-weekday.sunday {color:#eb9f98;}
body.midnight .calendar-day {color:#c6d2dc;}
body.midnight .calendar-day.has-match {color:#e9cb86;}
body.midnight .calendar-day.selected-day {color:#ffffff;}
body.midnight .calendar-info {color:#c6d2dc;}
body.midnight #calendar-country,body.midnight #calendar-league {color:#e0e6ec;border-color:#d4e0ec29;}
body.silver .calendar-month {background-color:#6b552a0c;}
body.silver .calendar-day.has-match {color:#805b18;}
body.silver .calendar-day.selected-day {background-color:#e3d3a878;color:#193b52;}
body.silver .calendar-outline {border-color:#8a7a5570;}
body.silver #calendar-country,body.silver #calendar-league {decorator:linear-gradient(180deg,#ffffffd8,#e9e1cf99);}
body.matchday .calendar-month {background-color:#f8e7e00a;}
body.matchday .calendar-day.has-match {color:#e1c68b;}
body.matchday .calendar-day.selected-day {background-color:#d48c7b26;color:#ffe5de;}
body.matchday .calendar-outline {border-color:#e5a19770;}
body.matchday #calendar-country,body.matchday #calendar-league {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
/* Generic competition dates do not claim that the active club has a fixture. */
.calendar-event-mark {position:absolute;left:43%;bottom:4dp;width:8dp;height:5dp;border-radius:2dp;background-color:var(--muted);pointer-events:none;}
.calendar-day.valid-target .calendar-event-mark {background-color:var(--accent);width:16dp;left:36%;height:5dp;}
.calendar-day.rescheduled-date .calendar-event-mark {background-color:var(--accent);}
/* Fixed scope labels have no dropdown caret and need symmetric padding. */
#calendar-country.engine-calendar-label,#calendar-league.engine-calendar-label {padding-right:24dp;}
/* Availability and the chosen source are semantic green in every skin. */
body .calendar-day.valid-target .calendar-event-mark,
body .calendar-day.rescheduled-date .calendar-event-mark {background-color:#a9dccb;}
body .calendar-day .calendar-outline.source-outline {border-color:#a9dccb;}
body .postpone-layout .postpone-summary small.valid {color:#a9dccb;}
body.silver .calendar-day.valid-target .calendar-event-mark,
body.silver .calendar-day.rescheduled-date .calendar-event-mark {background-color:#256a4f;}
body.silver .calendar-day .calendar-outline.source-outline {border-color:#256a4f;}
body.silver .postpone-layout .postpone-summary small.valid {color:#256a4f;}