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 page-break-before: always; /* page-break-inside: avoid; not supported anywhere */ 68 page-break-after: always; 69 } 70 71 .event-map-container > ol { 72 counter-reset: marker 0; 73 display: inline; 74 } 75 76 .event-map-container > img { 77 float: left; 78 margin-right: 1em; 79 margin-bottom: 0.5em; 80 } 81 82 .event-map-container > ol > li { 83 counter-increment: marker; 84 margin: 0.5em; 85 display: inline-block; /* not relying on list-item since the counter doesn't get incremented when the list is displayed inline */ 86 } 87 88 .event-map-container > ol > li:before { 89 vertical-align: top; 90 content: counter(marker); 91 margin-left: -0.5em; 92 margin-right: 0.5em; 93 } 94 95 .event-map-container div.event-map-label-only:before { 96 content: counter(marker); 97 } 98 99 div.event-map-label-only { 100 display: block; 101 position: absolute; 102 /* position and dimensions specified in the HTML */ 103 border: 2px solid #d00; 104 } 105 106 div.event-map-label { 107 position: static !important; 108 visibility: hidden; 109 display: inline-block; 110 vertical-align: top; 111 } 112 113 div.event-map-label .event-map-details { 114 position: static !important; 115 display: block; 116 visibility: visible; 117 } 118 119 .event-map-unpositioned .event-map-location-events > li, 120 div.event-map-label .event-map-details { 121 padding: 0.5em; 122 border: 1px solid #ddd; 123 } 124 125 .event-map-shadow { 126 visibility: hidden; 127 } 128 129 .event-map-location { 130 visibility: visible; 131 background-color: transparent; 132 } 133 134 tr.event-map-unpositioned > td { 135 text-align: left; 136 } 137 138 tr.event-map-unpositioned { 139 page-break-before: always; /* make sure unpositioned events can be omitted from the printout */ 140 } 141 142 .event-map-unpositioned .event-map-location-events > li { 143 margin: 1em; 144 display: inline-block; 145 } 146 147 .event-map-unpositioned ul.event-map-location-events { 148 display: block !important; 149 } 150 151 .event-map-show-control, 152 .event-map-hide-control { 153 display: none !important; 154 } 155 156 /* vim: tabstop=4 expandtab shiftwidth=4 157 */