Bug 28044: Increase specificity of calendar tables CSS
authorOwen Leonard <oleonard@myacpl.org>
Mon, 29 Mar 2021 10:33:13 +0000 (10:33 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 15 Apr 2021 11:01:57 +0000 (13:01 +0200)
commit42ebcdd3dfc3fd766e6242d40ef28c55dd7ecfe4
tree996a4d9518696292df61f7ede885562bf83152aa
parent10bf4cb038b275b0b8add7bb08663859510d0035
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>
(cherry picked from commit 4df8e3ef02b4490dc813b76b853e3fb706d4a301)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/css/calendar.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt