# HG changeset patch # User Paul Boddie # Date 1298075599 -3600 # Node ID e3851dc1afc9fb820b799f2790ee3fd9a3b45813 # Parent e6d7b25504c3e4609760044ec9e20183c8d4ff6f Introduced a full day heading style class, along with fixes to the print stylesheet. diff -r e6d7b25504c3 -r e3851dc1afc9 css/event-aggregator-print.css --- a/css/event-aggregator-print.css Fri Feb 18 01:26:16 2011 +0100 +++ b/css/event-aggregator-print.css Sat Feb 19 01:33:19 2011 +0100 @@ -7,7 +7,7 @@ @import "event-aggregator-print.css"; -Copyright (c) 2009, 2010 by Paul Boddie +Copyright (c) 2009, 2010, 2011 by Paul Boddie Licensed under the GNU GPL (v2 or later), see COPYING.txt for details. */ @@ -21,7 +21,8 @@ /* Calendar view. */ -table.event-month { +table.event-month, +table.event-calendar-day { page-break-before: always; /* page-break-inside: avoid; not supported anywhere */ } @@ -44,11 +45,19 @@ } .event-day-single .event-summary, -.event-day-multiple { - border-left: 2px solid #000000; - border-right: 2px solid #000000; - border-top: 2px solid #000000; - border-bottom: 2px solid #000000; +.event-day-multiple, +.event-timespan-content.event-timespan-busy { + border: 2px solid #000000; +} + +.event-month-heading, +.event-full-day-heading { + font-weight: bolder; + font-size: larger; +} + +.event-summary a { + font-weight: bolder; } /* vim: tabstop=4 expandtab shiftwidth=4 diff -r e6d7b25504c3 -r e3851dc1afc9 css/event-aggregator.css --- a/css/event-aggregator.css Fri Feb 18 01:26:16 2011 +0100 +++ b/css/event-aggregator.css Sat Feb 19 01:33:19 2011 +0100 @@ -74,7 +74,8 @@ table-layout: fixed; } -.event-month-heading { +.event-month-heading, +.event-full-day-heading { background-color: #777777; color: #ffffff; text-align: center; @@ -105,7 +106,8 @@ /* Day types: days with content (busy), unused days (excluded or empty). */ -.event-day-busy { +.event-day-busy, +.event-timespan-busy { background-color: #ffffff; } @@ -115,7 +117,8 @@ border-right: 1px solid #dddddd; } -.event-day-empty { +.event-day-empty, +.event-timespan-empty { background-color: #ffffff; border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; @@ -262,6 +265,7 @@ border-bottom: 0; border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; + background-color: #ffffff; } /* Day view, showing days from a calendar. */ @@ -300,6 +304,7 @@ border-right: 0; border-top: 1px solid #dddddd; border-bottom: 1px solid #dddddd; + background-color: #ffffff; } /* List/summary view. */ diff -r e6d7b25504c3 -r e3851dc1afc9 macros/EventAggregator.py --- a/macros/EventAggregator.py Fri Feb 18 01:26:16 2011 +0100 +++ b/macros/EventAggregator.py Sat Feb 19 01:33:19 2011 +0100 @@ -827,7 +827,7 @@ output = [] output.append(fmt.table_row(on=1)) - output.append(fmt.table_cell(on=1, attrs={"class" : "event-weekday-heading", "colspan" : str(colspan)})) + output.append(fmt.table_cell(on=1, attrs={"class" : "event-full-day-heading", "colspan" : str(colspan)})) output.append(fmt.text(full_date_label)) output.append(fmt.table_cell(on=0))