Currently trying to get some (more) color into my Lightning events:
In the current Lighting version (1.0b2), the color one chooses for the
Categories is only displayed as a narrow color bar on the right side of
the events[1].
I have found out[2] that the width of this color bar is controlled by
the category-overlay.png file, but so far I have been unable to find out
how/if it would be possible to just color the whole event by the
Category color instead of the Calendar color.
Can someone help?
cheers,
Martin
[1] How can I "hack" the Thunderbird Lightning plugin to fully color
categories : http://stackoverflow.com/q/5199911/321013
/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace
url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /*
set default namespace to XUL */
/* Category: Anniversary */
.calendar-event-box-container[categories~="anniversary"] {
border: solid #C9C 1px !important;
background: #FCF !important;
padding-left:2px !important;
background-position:top left !important;
background-repeat:no-repeat !important;
}
calendar-category-box[categories~="anniversary"] {
display: none !important;
}
Try "appointment". All names are converted to lower case and special
characters are encoded to ensure CSS compatibility.
Hint: Set the category color in the preference dialog. Check
about:config or the entries in the prefs.js file for correct naming of
the category.
Example: category name is named "FOO$bar", preference name is
"calendar.category.color.foo-ux24-bar". Use "foo-ux24-bar" in your
custom CSS rules.
/Stefan