imip-agent

htdocs/styles.css

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