1 /* event-aggregator-print.css - some additional styles for the EventAggregator macro 2 which can be included in print.css after... 3 4 @import "event-aggregator.css"; 5 6 ...but before any rules... 7 8 @import "event-aggregator-print.css"; 9 10 Copyright (c) 2009, 2010, 2011 by Paul Boddie 11 Licensed under the GNU GPL (v2 or later), see COPYING.txt for details. 12 */ 13 14 /* Controls. */ 15 16 .previous, 17 .next, 18 .event-controls { 19 display: none; 20 } 21 22 /* Calendar view. */ 23 24 table.event-month, 25 table.event-calendar-day { 26 page-break-before: always; /* page-break-inside: avoid; not supported anywhere */ 27 } 28 29 /* Day content. */ 30 31 .event-day-busy span.event-day-number { 32 border: 1px dotted #000000; 33 } 34 35 .event-day-starting { 36 border-left: 2px solid #000000; 37 border-top: 2px solid #000000; 38 border-bottom: 2px solid #000000; 39 } 40 41 .event-day-ending { 42 border-right: 2px solid #000000; 43 border-top: 2px solid #000000; 44 border-bottom: 2px solid #000000; 45 } 46 47 .event-day-single .event-summary, 48 .event-day-multiple, 49 .event-timespan-content.event-timespan-busy { 50 border: 2px solid #000000; 51 } 52 53 .event-month-heading, 54 .event-full-day-heading { 55 font-weight: bolder; 56 font-size: larger; 57 } 58 59 .event-summary a { 60 font-weight: bolder; 61 } 62 63 /* Map content. */ 64 65 .event-map table { 66 display: block; 67 } 68 69 .event-map-container > ol { 70 counter-reset: marker 0; 71 display: inline; 72 } 73 74 .event-map-container > img { 75 float: left; 76 } 77 78 .event-map-container > ol > li { 79 counter-increment: marker; 80 margin: 0.5em; 81 display: inline-block; /* not relying on list-item since the counter doesn't get incremented when the list is displayed inline */ 82 } 83 84 .event-map-container > ol > li.event-map-unpositioned { 85 display: block; /* permit the content to flow across pages */ 86 page-break-before: always; /* let the user exclude the unpositioned events easily */ 87 } 88 89 .event-map-container > ol > li.event-map-unpositioned:before { 90 display: none; /* unpositioned events do not refer to a marker */ 91 } 92 93 .event-map-container > ol > li:before { 94 vertical-align: top; 95 content: counter(marker); 96 margin-right: 0.5em; 97 } 98 99 .event-map-container div.event-map-label-only:before { 100 content: counter(marker); 101 } 102 103 div.event-map-label-only { 104 display: block; 105 position: absolute; 106 /* position and dimensions specified in the HTML */ 107 border: 2px solid #d00; 108 } 109 110 div.event-map-label { 111 position: static !important; 112 visibility: hidden; 113 display: inline-block; 114 vertical-align: top; 115 } 116 117 .event-map-unpositioned .event-map-details, 118 div.event-map-label .event-map-details { 119 position: static !important; 120 display: block; 121 visibility: visible; 122 padding: 0.5em; 123 border: 1px solid #ddd; 124 } 125 126 .event-map-shadow { 127 visibility: hidden; 128 } 129 130 .event-map-location { 131 visibility: visible; 132 background-color: transparent; 133 } 134 135 /* vim: tabstop=4 expandtab shiftwidth=4 136 */