mrbs-print.css.php (mrbs-1.9.4) | : | mrbs-print.css.php (mrbs-1.10.0) | ||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
} | } | |||
.dwm_main th a:link { | .dwm_main th a:link { | |||
color: <?php echo $anchor_link_color_header_print ?>; | color: <?php echo $anchor_link_color_header_print ?>; | |||
} | } | |||
<?php | <?php | |||
// redefine table and cell border colours so that they are visible in the print view | // redefine table and cell border colours so that they are visible in the print view | |||
// (in the screen view the boundaries are visible due to the different backgroun d colours) | // (in the screen view the boundaries are visible due to the different backgroun d colours) | |||
?> | ?> | |||
table.dwm_main { | table.dwm_main { | |||
border-width: 1px; | border-width: 1px 0 1px 1px; | |||
border-color: <?php echo $main_table_border_color_print ?>; | border-color: <?php echo $main_table_border_color_print ?>; | |||
} | } | |||
.dwm_main :not(tbody) th { | ||||
border-left-color: <?php echo $main_table_header_border_color_print ?>; | ||||
} | ||||
.dwm_main td, | .dwm_main td, | |||
.dwm_main tbody th { | .dwm_main tbody th { | |||
border-top-color: <?php echo $main_table_body_h_border_color_print ?>; | box-shadow: 0 -1px 0 <?php echo $main_table_body_h_border_color_print ?>; | |||
border-left-color: <?php echo $main_table_body_v_border_color_print ?>; | ||||
} | ||||
.dwm_main#month_main td { | ||||
border-top-color: <?php echo $main_table_body_h_border_color_print ?>; | ||||
} | } | |||
<?php | <?php | |||
// In the month view, get rid of horizontal and vertical scrollbars. Make | // In the month view, get rid of horizontal and vertical scrollbars. Make | |||
// horizontal overflow hidden and allow the table cell to grow to accommodate | // horizontal overflow hidden and allow the table cell to grow to accommodate | |||
// vertical overflow. | // vertical overflow. | |||
?> | ?> | |||
div.cell_container { | div.cell_container { | |||
min-height: 100px; | min-height: 100px; | |||
skipping to change at line 86 | skipping to change at line 78 | |||
div.booking_list div { | div.booking_list div { | |||
box-sizing: border-box; | box-sizing: border-box; | |||
} | } | |||
<?php | <?php | |||
// Generate the rules to give the colour coding by booking type in the day/week/ month views | // Generate the rules to give the colour coding by booking type in the day/week/ month views | |||
// and the colour key | // and the colour key | |||
foreach ($color_types as $type => $col) | foreach ($color_types as $type => $col) | |||
{ | { | |||
echo "td.$type, div.$type {border: 2px solid $col}\n"; | echo "div.$type a, div.$type {outline: 2px solid $col; outline-offset: -2px}\n "; | |||
} | } | |||
// hide DataTable buttons in print | // hide DataTable buttons in print | |||
?> | ?> | |||
.ColVis_Button, .dataTables_filter, .dataTables_length, .dataTables_paginate { | .ColVis_Button, .dataTables_filter, .dataTables_length, .dataTables_paginate { | |||
display: none; | display: none; | |||
} | } | |||
.ui-resizable-handle { | .ui-resizable-handle { | |||
End of changes. 5 change blocks. | ||||
12 lines changed or deleted | 4 lines changed or added |