Mercurial > hg > rc1
diff plugins/calendar/skins/larry/iehacks.css @ 3:f6fe4b6ae66a
calendar plugin nearly as distributed
author | Charlie Root |
---|---|
date | Sat, 13 Jan 2018 08:56:12 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/calendar/skins/larry/iehacks.css Sat Jan 13 08:56:12 2018 -0500 @@ -0,0 +1,77 @@ +/* CSS hacks for IE 7 */ + +#calendarsidebar, +#calendarsidebartoggle { + height: expression((parseInt(this.parentNode.offsetHeight)-37)+'px'); +} + +#calendar { + width: expression((parseInt(this.parentNode.offsetWidth)-parseInt(document.getElementById('calendarsidebartoggle').offsetWidth)-parseInt(document.getElementById('calendarsidebartoggle').offsetLeft)-4)+'px'); + height: expression((parseInt(this.parentNode.offsetHeight)-30)+'px'); +} + +#calendars { + height: expression((parseInt(this.parentNode.offsetHeight)-240)+'px'); +} + +#agendaoptions { + width: expression((parseInt(this.parentNode.offsetWidth)-12)+'px'); +} + +#calendartoolbar a.buttonPas { + filter: alpha(opacity=35); +} + +#datepicker a.ui-priority-secondary { + filter: alpha(opacity=40); +} + +.calendarmain .fc-day-content { + cursor: default; +} + +.calendarmain .fc-view-table col.fc-event-date { + width: 8em; +} + +.calendarmain .fc-view-table col.fc-event-time { + width: 9em; +} + +.calendarmain .fc-header-title h2 { + font-size: 16px; +} + +.calendarmain .fc-header-left { + width: 248px; +} + +.calendarmain .fc-header-center { + width: auto; +} + +.calendarmain .fc-header-right { + width: 144px; + white-space: nowrap; +} + +.calendarmain .fc-event-temp .fc-event-bg { + display: none; /* nested opacity filters while dragging don't work */ +} + +#schedule-event-time { + filter: alpha(opacity=40); +} + +#eventfreebusy .schedule-buttons, +#edit-attendees-form #edit-attendee-schedule { + right: 0.6em; +} + +#schedule-freebusy-times tr.times td.allday { + width: expression(Math.max(60, parseInt(this.offsetWidth))+'px'); +} + +.ui-dialog .ui-dialog-titlebar { + width: expression((parseInt(this.parentNode.offsetWidth)-26)+'px'); +}