change Lightning calendar Event font color

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
Post Reply
Ceyarrecks
Posts: 9
Joined: February 14th, 2016, 9:25 am

change Lightning calendar Event font color

Post by Ceyarrecks »

Excuse me Please:

I am experiencing difficulty in finding a way to change the color of the FONT seen in the Month view of the Thunderbird (v52.6.0) add-on Lightning Calendar (v5.4.6) on a win7pro64bit system.

I have already set the

Tools/Options/Calendar/General tab
[x] Optimize colors for accessibility

and

I have already set Edit/Calendar Properties.../Color:
(though pausing parenthetically, the Category color should FILL the event, not be a passive little tic mark, but that is a topic of different post)

How does one change the COLOR of the FONT of the event e.g. [Soandso's Birthday Party 1400-1600][] to something of either any color or at least black, e.g. [Soandso's Birthday Party 1400-1600][] ?

Thank you kindly for the time taken to answer this simple question, and I apologize if it is something so easily missed in the menus, as I have looked through all but the Developer Tools(which surely it should not be found there)
CAH
morat
Posts: 6404
Joined: February 3rd, 2009, 6:29 pm

Re: change Lightning calendar Event font color

Post by morat »

Try this:

Code: Select all

/* Thunderbird userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.calendar-color-box {
  color: red !important;
  background-color: pink !important;
}
http://kb.mozillazine.org/UserChrome.css
Ceyarrecks
Posts: 9
Joined: February 14th, 2016, 9:25 am

Re: change Lightning calendar Event font color

Post by Ceyarrecks »

Thank you morat, that does indeed allow one to specifically edit the Event box background and font color.
(rather wonder why this is not apart of the normal Thunderbird/Lightning UI)
On a now additional note, how would one remove the inner white shadow/shading that is along the inner edge of the Event box itself?
It seems some Events have it, while others do not.
Status of Confirmed was the only difference I could notice, but changing Status does not change inner shading around Event box edge.

I think this is a related question, hence continuing here as opposed to new topic.
morat
Posts: 6404
Joined: February 3rd, 2009, 6:29 pm

Re: change Lightning calendar Event font color

Post by morat »

Try this:

Code: Select all

.calendar-color-box {
  color: red !important;
  background-color: pink !important;
  box-shadow: none !important;
}
Reference
http://dxr.mozilla.org/comm-esr52/sourc ... -views.css
Ceyarrecks
Posts: 9
Joined: February 14th, 2016, 9:25 am

Re: change Lightning calendar Event font color

Post by Ceyarrecks »

Perfection attained!
Thank you kindly for the assistance in this subtle configuration issue.
/e makes it a point to put edited .css file somewhere safe.
pete of ebor
Posts: 143
Joined: February 18th, 2012, 8:41 am

Re: change Lightning calendar Event font color

Post by pete of ebor »

I have already set Edit/Calendar Properties.../Color:
(though pausing parenthetically, the Category color should FILL the event, not be a passive little tic mark, but that is a topic of different post)

Have you tried the "Calendar Tweaks" add-on ? It fills the whole event with the category colour, not just a strip at one end. It also does other things...
Post Reply