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