calendar contrast
This commit is contained in:
@@ -3,6 +3,24 @@
|
||||
{% block title %}{{ t(key="calendar-title", lang=lang) }}{% endblock title %}
|
||||
|
||||
{% block head %}
|
||||
<style>
|
||||
/* Sharpen the calendar grid. The daisyUI base tones give very low-contrast
|
||||
hairline borders and dimmed text in both themes. Tying the borders and
|
||||
the header tint to base-content keeps the table legible and easy to
|
||||
follow on light and dark alike (public + admin calendars). */
|
||||
#cal th,
|
||||
#cal td {
|
||||
border-color: hsl(var(--bc) / 0.25);
|
||||
}
|
||||
#cal thead tr,
|
||||
#cal tbody td:first-child {
|
||||
background-color: hsl(var(--bc) / 0.1);
|
||||
}
|
||||
#cal tbody td:first-child { opacity: 1; }
|
||||
#cal thead .opacity-50 { opacity: 0.8; }
|
||||
#cal td .opacity-30 { opacity: 0.7; }
|
||||
#cal td a.opacity-30:hover { opacity: 1; }
|
||||
</style>
|
||||
{% if is_admin %}
|
||||
<style>
|
||||
/* Admin calendar — detailed-view toggle. The public calendar is unaffected. */
|
||||
|
||||
Reference in New Issue
Block a user