/* 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. --- */ /* the season calendar as a page of the notebook: twelve months, a click opens one with a zoom */ @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:2799dp;height:78dp;display:flex;align-items:center;gap:18dp;} .cal-head h2 {display:block;margin:0;font-family:Display;font-size:58dp;line-height:66dp;font-weight:normal;} .cal-head p {display:block;margin:0 0 0 auto;height:60dp;line-height:60dp;padding:0 27dp;border-radius:30dp;background-color:var(--p-n1);font-size:28dp;color:var(--p-n8);} .pg-root .cal-back,.pg-root .cal-step {height:68dp;padding:0 32dp;border:2dp var(--p-div);border-radius:36dp;background-color:var(--p-n1);decorator:none;font-family:Display;font-size:31dp;display:flex;align-items:center;justify-content:center;} .pg-root .cal-step {width:68dp;padding:0;font-size:44dp;} .cal-back:hover,.cal-step:hover {background-color:var(--p-n2);} .cal-months {position:absolute;left:0;top:105dp;width:2799dp;height:1434dp;} .cal-month,.cal-month:disabled {position:absolute;display:block;padding:0;border:2dp var(--p-div);border-radius:45dp;background-color:var(--p-n1);decorator:none;text-align:left;transition:transform 0.12s cubic-out;color:var(--p-text);} .cal-month:hover {transform:scale(1.03);border-color:var(--p-a6);background-color:var(--p-n1);} .cal-month.current,.cal-month.current:hover {border-color:var(--p-a6);background-color:var(--p-a1);} .cal-month-name {display:block;position:absolute;left:30dp;top:16dp;font-family:Display;font-size:40dp;line-height:56dp;} .cal-month-year {display:block;position:absolute;right:30dp;top:26dp;font-size:26dp;line-height:36dp;color:var(--p-n7);} .cal-mini-grid {display:flex;flex-wrap:wrap;position:absolute;left:30dp;top:84dp;width:619dp;height:300dp;} .cal-mini {display:flex;flex-shrink:0;align-items:center;justify-content:center;width:88dp;height:41dp;font-family:Modern;font-size:27dp;color:var(--p-text);} .cal-mini span {display:block;width:66dp;height:37dp;line-height:37dp;text-align:center;border-radius:12dp;} .cal-mini.head span {font-size:22dp;font-weight:bold;color:var(--p-n7);} .cal-mini.match span {background-color:var(--p-a6);color:var(--p-n1);font-weight:bold;} .cal-mini.event span {background-color:var(--p-s3);font-weight:bold;} .cal-mini.today span {border:4dp var(--p-n9);line-height:29dp;} .cal-month-foot {display:block;position:absolute;left:30dp;right:30dp;bottom:14dp;height:38dp;line-height:38dp;font-family:Modern;font-size:26dp;color:var(--p-n7);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;} .cal-legend {position:absolute;left:0;bottom:10dp;height:60dp;display:flex;align-items:center;font-size:27dp;color:var(--p-n8);} .cal-legend span {display:block;flex-shrink:0;} .cal-legend .key {width:27dp;height:27dp;border-radius:9dp;margin:0 14dp 0 32dp;} .cal-legend .key.match {background-color:var(--p-a6);margin-left:0;} .cal-legend .key.event {background-color:var(--p-s3);} .cal-legend .key.today {border:4dp var(--p-n9);width:19dp;height:19dp;} .cal-sheet {position:absolute;left:0;top:100dp;width:2799dp;height:1440dp;} .cal-weekdays {position:absolute;left:0;top:0;width:2799dp;height:60dp;display:flex;border-bottom:3dp var(--p-n4);} .cal-weekdays span {display:block;flex:1;line-height:56dp;text-align:center;font-size:24dp;letter-spacing:1.7dp;font-weight:bold;color:var(--p-n7);} .cal-day,.cal-day:disabled {position:absolute;display:block;padding:0;border:2dp var(--p-div);border-radius:32dp;background-color:var(--p-n1);decorator:none;overflow:hidden;color:var(--p-text);} .cal-day:hover {border-color:var(--p-a6);background-color:var(--p-n1);} .cal-day.weekend {background-color:var(--p-n2);} .cal-day.match {background-color:var(--p-a1);} .cal-day.today,.cal-day.today:hover {border:5dp var(--p-n9);} .cal-day.chosen,.cal-day.chosen:hover {border:5dp var(--p-a6);} .cal-day-number {display:block;position:absolute;right:22dp;top:8dp;font-family:Display;font-size:48dp;line-height:58dp;font-weight:normal;color:var(--p-n6);} .cal-day.match .cal-day-number {color:var(--p-text);} .cal-day-crest {display:block;position:absolute;left:20dp;top:16dp;width:120dp;height:120dp;} .cal-day-name {display:block;position:absolute;left:20dp;right:14dp;bottom:50dp;height:38dp;line-height:38dp;font-family:Modern;font-size:29dp;font-weight:bold;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;} .cal-day-note {display:block;position:absolute;left:20dp;right:14dp;bottom:12dp;height:38dp;line-height:38dp;font-family:Modern;font-size:28dp;text-align:left;color:var(--p-n7);white-space:nowrap;} .cal-day-note.won {color:var(--p-s7);font-weight:bold;} .cal-day-note.lost {color:var(--p-a7);font-weight:bold;} .cal-day-note.drawn {color:var(--p-text);font-weight:bold;} .cal-day-event {display:block;position:absolute;left:18dp;bottom:14dp;height:44dp;line-height:44dp;padding:0 20dp;border-radius:22dp;background-color:var(--p-s2);font-family:Modern;font-size:25dp;text-align:left;color:var(--p-s8);white-space:nowrap;} .cal-info {position:absolute;right:0;bottom:10dp;max-width:1900dp;height:60dp;line-height:60dp;padding:0 27dp;border-radius:30dp;background-color:var(--p-n1);font-size:28dp;color:var(--p-n8);text-align:right;white-space:nowrap;overflow:hidden;} body.calm .cal-month:hover {transform:none;}