The career's calendar shows the months as small sheets with the own matches and other dates marked; a click opens a month as a sheet with a field per day (opponent's crest, venue, result), the right mouse button returns. The training camps lie on a map in paper tones with named pins, the chosen camp on a framed card. Further paper motifs (boards, press room, trophies, bench) and more opaque panels so that text never stands on the bare picture. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
115 lines
9.1 KiB
Plaintext
115 lines
9.1 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;}
|
|
|
|
/* --- The season calendar: twelve months, and a month opened as a sheet. --- */
|
|
@keyframes cal-zoom-in {from {transform:scale(0.25);opacity:0;} to {transform:scale(1);opacity:1;}}
|
|
@keyframes cal-zoom-out {from {transform:scale(3.2);opacity:0;} to {transform:scale(1);opacity:1;}}
|
|
.cal-months.zoom-out {animation:0.3s cubic-out cal-zoom-out;}
|
|
.cal-sheet.zoom-in {animation:0.3s cubic-out cal-zoom-in;}
|
|
.cal-head {position:absolute;left:0;top:0;width:2612dp;height:120dp;display:flex;align-items:center;gap:24dp;border-bottom:4dp #9a7a3a;}
|
|
.cal-head h2 {display:block;margin:0;font-family:Display;font-size:64dp;line-height:76dp;font-weight:normal;}
|
|
.cal-head p {display:block;margin:0 0 0 auto;font-size:30dp;color:var(--muted);}
|
|
.cal-back,.cal-step {height:72dp;padding:0 30dp;border:2dp var(--rule);border-radius:36dp;background-color:transparent;decorator:none;font-size:32dp;display:flex;align-items:center;justify-content:center;}
|
|
.cal-step {width:72dp;padding:0;font-size:44dp;}
|
|
.cal-months {position:absolute;left:0;top:150dp;width:2612dp;height:1584dp;}
|
|
.cal-month {position:absolute;display:block;padding:22dp 28dp;border:2dp var(--rule);border-radius:10dp;background-color:var(--panel);decorator:none;text-align:left;transition:transform 0.12s cubic-out;}
|
|
.cal-month:hover {transform:scale(1.03);border-color:#25617a;background-color:#fffdf6;}
|
|
.cal-month.current {border:4dp #9a7a3a;}
|
|
.cal-month-name {display:block;position:absolute;left:28dp;top:18dp;font-family:Display;font-size:52dp;line-height:64dp;}
|
|
.cal-month-year {display:block;position:absolute;right:28dp;top:34dp;font-size:30dp;line-height:40dp;color:var(--muted);}
|
|
.cal-mini-grid {display:flex;flex-wrap:wrap;position:absolute;left:28dp;top:104dp;width:581dp;height:340dp;}
|
|
.cal-mini {display:flex;align-items:center;justify-content:center;width:83dp;height:48dp;font-size:28dp;color:var(--text);}
|
|
.cal-mini span {display:block;width:44dp;height:44dp;line-height:44dp;text-align:center;border-radius:22dp;}
|
|
.cal-mini.head {color:var(--muted);font-size:24dp;}
|
|
.cal-mini.match span {background-color:#25617a;color:#ffffff;font-weight:bold;}
|
|
.cal-mini.event span {border:2dp #9a7a3a;line-height:40dp;}
|
|
.cal-mini.today span {border:4dp #b24a4f;line-height:36dp;}
|
|
.cal-month-foot {display:block;position:absolute;left:28dp;right:28dp;bottom:16dp;height:40dp;line-height:40dp;font-size:28dp;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
|
.cal-legend {position:absolute;left:0;bottom:0;height:50dp;display:flex;align-items:center;font-size:28dp;color:var(--muted);}
|
|
.cal-legend span {display:block;flex-shrink:0;}
|
|
.cal-legend .key {width:34dp;height:34dp;border-radius:17dp;margin:0 12dp 0 36dp;}
|
|
.cal-legend .key.match {background-color:#25617a;margin-left:0;}
|
|
.cal-legend .key.event {border:2dp #9a7a3a;}
|
|
.cal-legend .key.today {border:4dp #b24a4f;}
|
|
.cal-sheet {position:absolute;left:0;top:140dp;width:2612dp;height:1590dp;}
|
|
.cal-weekdays {position:absolute;left:0;top:0;width:2612dp;height:70dp;display:flex;border-radius:8dp;background-color:#9a7a3a;}
|
|
.cal-weekdays span {display:block;flex:1;line-height:70dp;text-align:center;font-size:32dp;color:#ffffff;}
|
|
.cal-day {position:absolute;display:block;padding:0;border:2dp var(--rule);border-radius:8dp;background-color:var(--panel);decorator:none;overflow:hidden;}
|
|
.cal-day:hover {border-color:#25617a;}
|
|
.cal-day.weekend {background-color:#f3ead2b0;}
|
|
.cal-day.today {border:5dp #b24a4f;}
|
|
.cal-day.chosen {border:5dp #25617a;background-color:#fffdf6;}
|
|
.cal-day-number {display:block;position:absolute;right:16dp;top:6dp;font-family:Display;font-size:50dp;line-height:60dp;font-weight:bold;color:var(--muted);}
|
|
.cal-day.match .cal-day-number {color:var(--text);}
|
|
.cal-day-crest {display:block;position:absolute;left:16dp;top:14dp;width:104dp;height:104dp;}
|
|
.cal-day-name {display:block;position:absolute;left:16dp;right:12dp;bottom:50dp;height:38dp;line-height:38dp;font-size:28dp;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
|
.cal-day-note {display:block;position:absolute;left:16dp;right:12dp;bottom:10dp;height:38dp;line-height:38dp;font-size:28dp;text-align:left;color:var(--muted);white-space:nowrap;}
|
|
.cal-day-note.won {color:var(--win);font-weight:bold;}
|
|
.cal-day-note.lost {color:var(--loss);font-weight:bold;}
|
|
.cal-day-note.drawn {color:var(--text);font-weight:bold;}
|
|
.cal-day-event {display:block;position:absolute;left:16dp;right:12dp;bottom:12dp;line-height:36dp;font-size:27dp;text-align:left;color:#7d5f22;}
|
|
.cal-info {bottom:0;height:60dp;line-height:60dp;font-size:34dp;}
|
|
body.calm .cal-month:hover {transform:none;}
|
|
/* text never stands on the bare picture: lines of text get a framed field */
|
|
.cal-head p,.cal-legend,.cal-info {padding:0 28dp;border:2dp var(--rule);border-radius:30dp;background-color:#fffbf2e6;color:var(--text);}
|
|
.cal-head p {height:60dp;line-height:60dp;font-size:32dp;}
|
|
.cal-legend {height:60dp;font-size:32dp;}
|
|
.cal-info {left:auto;right:0;width:auto;max-width:1900dp;text-align:right;}
|
|
.cal-month-foot {font-size:30dp;color:var(--text);}
|
|
.cal-mini {font-size:30dp;}
|
|
.cal-day-name,.cal-day-note {font-size:30dp;}
|
|
.cal-day-event {font-size:30dp;}
|
|
.cal-mini-grid {top:92dp;height:330dp;}
|
|
.cal-mini {height:46dp;flex-shrink:0;}
|
|
.cal-mini.head span {font-size:26dp;color:var(--muted);}
|
|
.cal-day-event {padding:0 14dp;right:auto;border:2dp #9a7a3a66;border-radius:18dp;background-color:#fffbf2;}
|
|
.cal-day-crest {width:120dp;height:120dp;}
|