diff --git a/calendar/templates/default/app.css b/calendar/templates/default/app.css index 3fc204691e..201a542f81 100644 --- a/calendar/templates/default/app.css +++ b/calendar/templates/default/app.css @@ -238,7 +238,8 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget /* marks a day in the colum-header as today */ -.calendar_calToday{ +.calendar_calToday, +.calendar_calTimeGrid .calendar_calDayColHeader .calendar_calToday.et2_link.et2_clickable { background: #ffffcc; } .calendar_calWeek{ @@ -256,7 +257,8 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget /* marks a day in the colum-header as holiday */ -.calendar_calHoliday{ +.calendar_calHoliday, +.calendar_calTimeGrid .calendar_calDayColHeader .calendar_calHoliday.et2_link.et2_clickable { background-color: rgba(103, 159, 210, 0.5); } /* marks a day in the column-header additionaly as birthday of some contact, @@ -452,6 +454,7 @@ Hide subsequent headers in week view with non-consolidated owners border-bottom: 1px solid silver; white-space: nowrap; overflow: hidden; + background-color: white; } .hideDayColHeader .calendar_calDayColHeader > div[data-date] { position:fixed; @@ -469,6 +472,12 @@ Hide subsequent headers in week view with non-consolidated owners display: none; } +/* Keep header dates when showing one week, multiple users */ +.calendar_calTimeGridFixed:not(.calendar_TimeGridNoLabel) .calendar_calDayColHeader > div.et2_clickable.et2_link { + position: fixed; + width: inherit; + margin-top: -1px; +} /* Indicators for offscreen events */ .calendar_calDayColHeader .hiddenEventBefore, .calendar_calDayCol .hiddenEventAfter { width: 80%; diff --git a/calendar/templates/pixelegg/app.css b/calendar/templates/pixelegg/app.css index a0f060790c..68a3179a6d 100755 --- a/calendar/templates/pixelegg/app.css +++ b/calendar/templates/pixelegg/app.css @@ -244,7 +244,8 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget } /* marks a day in the colum-header as today */ -.calendar_calToday { +.calendar_calToday, +.calendar_calTimeGrid .calendar_calDayColHeader .calendar_calToday.et2_link.et2_clickable { background: #ffffcc; } .calendar_calWeek { @@ -261,7 +262,8 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget } /* marks a day in the colum-header as holiday */ -.calendar_calHoliday { +.calendar_calHoliday, +.calendar_calTimeGrid .calendar_calDayColHeader .calendar_calHoliday.et2_link.et2_clickable { background-color: rgba(103, 159, 210, 0.5); } /* marks a day in the column-header additionaly as birthday of some contact, @@ -452,6 +454,7 @@ Hide subsequent headers in week view with non-consolidated owners border-bottom: 1px solid silver; white-space: nowrap; overflow: hidden; + background-color: white; } .hideDayColHeader .calendar_calDayColHeader > div[data-date] { position: fixed; @@ -467,6 +470,12 @@ Hide subsequent headers in week view with non-consolidated owners .calendar_calDayColHeader > div[data-date] .short_date { display: none; } +/* Keep header dates when showing one week, multiple users */ +.calendar_calTimeGridFixed:not(.calendar_TimeGridNoLabel) .calendar_calDayColHeader > div.et2_clickable.et2_link { + position: fixed; + width: inherit; + margin-top: -1px; +} /* Indicators for offscreen events */ .calendar_calDayColHeader .hiddenEventBefore, .calendar_calDayCol .hiddenEventAfter { @@ -1993,7 +2002,8 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget } /* marks a day in the colum-header as today */ -.calendar_calToday { +.calendar_calToday, +.calendar_calTimeGrid .calendar_calDayColHeader .calendar_calToday.et2_link.et2_clickable { background-color: #ffc200; } .calendar_calWeek { diff --git a/calendar/templates/pixelegg/app.less b/calendar/templates/pixelegg/app.less index 23c478c5e2..862f349c01 100755 --- a/calendar/templates/pixelegg/app.less +++ b/calendar/templates/pixelegg/app.less @@ -619,7 +619,8 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget /* marks a day in the colum-header as today */ -.calendar_calToday{ +.calendar_calToday, +.calendar_calTimeGrid .calendar_calDayColHeader .calendar_calToday.et2_link.et2_clickable { // background: #ffffcc; .background_table_cal_head; }