Bug 28044: Increase specificity of calendar tables CSS
authorOwen Leonard <oleonard@myacpl.org>
Mon, 29 Mar 2021 10:33:13 +0000 (10:33 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 6 Apr 2021 13:56:30 +0000 (15:56 +0200)
commit4df8e3ef02b4490dc813b76b853e3fb706d4a301
treebee720ebbb84d9f82bc4d7369a46f89f88d3545d
parent08bebe336cc11df566d89055b9792f02cfbb5f85
Bug 28044: Increase specificity of calendar tables CSS

This patch adds increased specificity to the CSS which should add colors
to the tables of holidays. The default DataTable CSS was overriding the
custom color-coding.

This patch also moves the calendar CSS into a separate file.

To test, apply the patch and go to Tools -> Calendar.

If necessary, add at least one of the following:
- Unique holiday
- Holiday repeating weekly
- Holiday repeating monthly
- Holiday exception

In the table listing each kind of holiday, the color of the table header
should match the colors in the "Key" section under Hints. The color
should be correct regardless of how the table is sorted.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/css/calendar.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt