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