1 /* Table styling. */ 2 3 table.calendar, 4 table.conflicts, 5 table.counters, 6 table.recurrence, 7 table.object { 8 border: 2px solid #000; 9 } 10 11 colgroup#columns-request { 12 background-color: #eef; 13 } 14 15 colgroup#columns-freebusy { 16 background-color: #fee; 17 } 18 19 th.requestheading { 20 background-color: #aaf; 21 } 22 23 th.participantheading{ 24 background-color: #faa; 25 } 26 27 th.dayheading, 28 th.mainheading { 29 background-color: #f85; 30 } 31 32 th.timeslot, 33 th.objectheading { 34 white-space: nowrap; 35 } 36 37 th.objectheading { 38 background-color: #fca; 39 } 40 41 th.timeslot { 42 padding-top: 0; 43 vertical-align: top; 44 } 45 46 th.timeslot span.endpoint { 47 display: none; 48 font-size: smaller; 49 } 50 51 td.event { 52 background-color: #ff8; 53 border: 2px solid #000; 54 } 55 56 td.event.only-organising { 57 background-color: #afd; 58 } 59 60 td.event.organising { 61 background-color: #af8; 62 } 63 64 td.event.continued { 65 border-top: 2px dotted #000; 66 } 67 68 td.event.continues { 69 border-bottom: 2px dotted #000; 70 } 71 72 td.event:target { 73 border-width: 4px; 74 background-color: #ee2; 75 } 76 77 td.event.organising:target { 78 background-color: #5f4; 79 } 80 81 td.event a { 82 color: #009; 83 } 84 85 th.objectheading.error { 86 background-color: #f77; 87 } 88 89 .partstat { 90 margin-left: 1em; 91 background-color: #eee; 92 } 93 94 .partstat, 95 .partstat option { 96 padding: 0.25em; 97 } 98 99 select.partstat { 100 background-color: #ccc; 101 padding: 0; 102 font-family: inherit; 103 font-size: inherit; 104 } 105 106 .affected { 107 font-weight: bold; 108 } 109 110 table.recurrence .replaced, 111 table.conflicts .replaced { 112 text-decoration: line-through; 113 } 114 115 .objectvalue.dtstart.replaced { 116 vertical-align: top; 117 } 118 119 /* New event controls. */ 120 121 .newevent-with-periods { 122 display: none; 123 } 124 125 /* Selection of slots/periods for new events. */ 126 127 input.newevent.selector { 128 display: none; 129 } 130 131 input.newevent.selector:checked ~ p .newevent-no-periods { 132 display: none; 133 } 134 135 input.newevent.selector:checked ~ p .newevent-with-periods { 136 display: inline; 137 } 138 139 th.container, 140 td.container { 141 padding: 0; /* for regions covered by labels */ 142 } 143 144 th.dayheading:hover, 145 th.dayheading:focus, 146 th.timeslot:hover, 147 th.timeslot:focus, 148 td.container:hover, 149 td.container:focus { 150 background-color: #af8; 151 } 152 153 label.day, 154 label.newevent.popup { 155 display: block; /* to make labels cover regions */ 156 padding: 0.25em; 157 } 158 159 label.newevent.popup { 160 visibility: hidden; 161 text-align: center; 162 } 163 164 td.container:hover label.newevent.popup, 165 td.container:focus label.newevent.popup { 166 visibility: visible; 167 } 168 169 /* Hiding/showing busy slots/periods or unused days. */ 170 171 /* Hide the controls. */ 172 173 input#hidebusy, 174 input#showdays, 175 176 /* Hide the enable labels when controls are already enabled. */ 177 /* Hide the disable labels when controls are already disabled. */ 178 179 input#hidebusy:checked ~ .controls label.enable[for=hidebusy], 180 input#showdays:checked ~ .controls label.disable[for=showdays], 181 input#hidebusy:not(:checked) ~ .controls label.disable[for=hidebusy], 182 input#showdays:not(:checked) ~ .controls label.enable[for=showdays], 183 184 /* Hide calendar rows depending on the selected controls. */ 185 186 input#hidebusy:checked ~ .calendar tr.slot.busy, 187 input#showdays:not(:checked) ~ .calendar thead.separator.empty, 188 input#showdays:not(:checked) ~ .calendar tbody.points.empty, 189 190 /* Hiding/showing end datetimes and start/end times. */ 191 192 input#dttimes-enable, 193 input#dtend-enable, 194 input#dttimes-enable:not(:checked) ~ .object td.objectvalue .time.enabled, 195 input#dttimes-enable:checked ~ .object td.objectvalue .time.disabled, 196 input#dtend-enable:not(:checked) ~ .object td.objectvalue.dtend .dt.enabled, 197 input#dtend-enable:checked ~ .object td.objectvalue.dtend .dt.disabled, 198 199 /* Hiding/showing remove/uninvite labels. */ 200 201 input.add, 202 input.remove, 203 input.remove:checked ~ label.remove, 204 input.remove:not(:checked) ~ label.removed, 205 206 /* Hide the participation refresh control, selected using a label. */ 207 208 input.refresh, 209 210 /* Hide the reset control, selected using a label. */ 211 212 input#reset { 213 display: none; 214 } 215 216 /* Show slot endpoints when hiding adjacent busy periods. */ 217 218 input#hidebusy:checked ~ .calendar th.timeslot span.endpoint { 219 display: block; 220 } 221 222 /* Style the labels. */ 223 224 label.day, 225 label.timepoint, 226 label.newevent, 227 .dt.disabled label, 228 .dt.enabled label, 229 label.add, 230 label.remove, 231 label.removed, 232 label.hidebusy, 233 label.showdays, 234 label.reset { 235 cursor: pointer; 236 } 237 238 label.add, 239 label.remove, 240 label.removed { 241 float: right; 242 text-align: right; 243 } 244 245 label.add span.action, 246 label.remove span.action, 247 label.removed span.action { 248 font-size: smaller; 249 display: block; 250 } 251 252 p label.add, 253 p label.remove, 254 p label.removed { 255 float: none; 256 } 257 258 .dt.disabled label, 259 .dt.enabled label, 260 label.add, 261 label.remove, 262 label.removed, 263 label.hidebusy, 264 label.showdays, 265 label.reset { 266 color: #009; 267 text-decoration: underline; 268 } 269 270 .dt.disabled label, 271 .dt.enabled label { 272 display: inline-block; 273 } 274 275 .dt.enabled label { 276 margin-top: 0.25em; 277 } 278 279 label.hidebusy, 280 label.showdays, 281 label.reset { 282 padding-left: 0.25em; 283 } 284 285 label.showdays { 286 border-left: 1em solid #faa; /* th.participantheading background-color */ 287 } 288 289 label.hidebusy { 290 border-left: 1em solid #af8; /* td.event background-color */ 291 } 292 293 label.reset { 294 border-left: 1em solid #5f4; /* (selected) .timepoint background-color */ 295 }