Fix calendar print view

This commit is contained in:
Thomas Bruederli 2015-02-12 13:38:17 +01:00
parent 747f2d5a26
commit a6ba6981e9
3 changed files with 7 additions and 3 deletions

View file

@ -176,7 +176,7 @@ class calendar_ui
{
$color = $prop['color'];
$class = 'cal-' . asciiwords($id, true);
$css .= "li.$class, #eventshow .$class { color: #$color }\n";
$css .= "li .$class, #eventshow .$class { color: #$color }\n";
if ($mode != 1) {
if ($mode == 3) {

View file

@ -125,7 +125,7 @@ window.rcmail && rcmail.addEventListener('init', function(evt) {
},
// event rendering
eventRender: function(event, element, view) {
if (view.name != 'month') {
if (view.name != 'month' && view.name != 'table') {
var cont = element.find('.fc-event-title');
if (event.location) {
cont.after('<div class="fc-event-location">@&nbsp;' + Q(event.location) + '</div>');

View file

@ -60,7 +60,6 @@ body, td, th, div, p, h3, select, input, textarea {
}
#calendarlist li {
float: left;
padding-left: 0;
padding-right: 3em;
margin-left: 0;
@ -72,6 +71,11 @@ body, td, th, div, p, h3, select, input, textarea {
display: none;
}
#calendarlist li.x-invitations div {
color: #999;
font-style: italic;
}
.calwidth {
width: 700px;
margin: 0 auto;