Bug 28044: Increase specificity of calendar tables CSS
authorOwen Leonard <oleonard@myacpl.org>
Mon, 29 Mar 2021 10:33:13 +0000 (10:33 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Sun, 25 Apr 2021 13:23:58 +0000 (13:23 +0000)
commit676b1de78ab12bbd82d506f15c12a407f8ca8be0
tree9b88ac7881847c6d9a27e5ba5e332cebcd4d206d
parent82ce23528711bc35343f07e09c211855ed976b4e
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>
(cherry picked from commit 42ebcdd3dfc3fd766e6242d40ef28c55dd7ecfe4)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/css/calendar.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt