Add `.disabled` class to Date/Picker cells before or after the legal date range
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 25 Apr 2023 10:45:19 +0000 (12:45 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 25 Apr 2023 10:45:19 +0000 (12:45 +0200)
commitc4fe3d0f5566ddbbbc57dd4e619013d4d8e46eaf
tree74000bb9dda0fc8dae2a824af1e947777d15112e
parent312a52bff5dcae454809c1e1fa9152dff770ca2f
Add `.disabled` class to Date/Picker cells before or after the legal date range

And then reduce the opacity to make it more clear that these are unselectable.
Valid dates in a different month will still not be clickable, but their opacity
will not be reduced to not be misleading.

see https://www.woltlab.com/community/thread/294117-datepicker-ausw%C3%A4hlbare-daten-eindeutiger-darstellen/
ts/WoltLabSuite/Core/Date/Picker.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Date/Picker.js
wcfsetup/install/files/style/ui/datePicker.scss