Calendar:FAQ: Difference between revisions

m
(Yahoo! calendar question)
Line 115: Line 115:


These lines set the background colours for 'cycling' and 'meeting' events, respectively.
These lines set the background colours for 'cycling' and 'meeting' events, respectively.
It is CSS, i.e. you can also define other attributes like 'border-color' etc.
It is CSS, i.e. you can also define other attributes like 'border-color' or include background pictures:
 
'''Example:'''<br>
<pre>.event-category-radtour{
  color: black!important;
  border-color: blue !important;
  background-image: url(file:///D|/etc/bbbike/images/srtbike.gif);
  background-position: center center;
  background-repeat: no-repeat;
  border-width: 2px ! important;
}</pre>
 
This lets all 'Radtour' events appear with a blue border and a road bike icon (contained in the file specified above).


===How can I assign colours to tasks?===
===How can I assign colours to tasks?===
4

edits