mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
- Don't highlight birthdays in date picker (calendar & regular) though tooltip remains
- Un-highlight weeks when mouse moves off week number
This commit is contained in:
parent
df938c79de
commit
8ef591279d
@ -4022,7 +4022,8 @@ body .flatpickr-calendar {
|
||||
}
|
||||
|
||||
/** Holidays & birthdays **/
|
||||
div.flatpickr-calendar .calHoliday, div.flatpickr-calendar .calBirthday {
|
||||
div.flatpickr-calendar .calHoliday /*, div.flatpickr-calendar .calBirthday*/
|
||||
{
|
||||
background-color: rgba(103, 159, 210, 0.5);
|
||||
}
|
||||
|
||||
|
@ -42,6 +42,7 @@ export class SidemenuDate extends Et2Date
|
||||
this._onDayCreate = this._onDayCreate.bind(this);
|
||||
this._handleChange = this._handleChange.bind(this);
|
||||
this._handleDayHover = this._handleDayHover.bind(this);
|
||||
this._clearHover = this._clearHover.bind(this);
|
||||
this._updateGoButton = this._updateGoButton.bind(this);
|
||||
}
|
||||
|
||||
@ -61,6 +62,7 @@ export class SidemenuDate extends Et2Date
|
||||
if(this._instance.daysContainer !== undefined)
|
||||
{
|
||||
this._instance.weekNumbers.removeEventListener("mouseover", this._handleDayHover);
|
||||
this._instance.weekNumbers.removeEventListener("mouseout", this._clearHover);
|
||||
}
|
||||
}
|
||||
|
||||
@ -79,6 +81,7 @@ export class SidemenuDate extends Et2Date
|
||||
if(this._instance.daysContainer !== undefined)
|
||||
{
|
||||
this._instance.weekNumbers.addEventListener("mouseover", this._handleDayHover);
|
||||
this._instance.weekNumbers.addEventListener("mouseout", this._clearHover);
|
||||
}
|
||||
|
||||
// Customise next / prev buttons
|
||||
|
Loading…
Reference in New Issue
Block a user