Category coloured ends on Calendar entries

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
Post Reply
pete of ebor
Posts: 143
Joined: February 18th, 2012, 8:41 am

Category coloured ends on Calendar entries

Post by pete of ebor »

Hi, just wondered if there's an easy way to make the category coloured ends on Lightning Calendar entries bigger ? I used to use an extension called 'Calendar Tweaks' which actually coloured the whole entry with the category colour, but since upgrade to 68, this no longer works and the developer has said he will no longer support it due to the amount of work required to update it to work with 68. Just wondered if there's an easy fix, but please bear in mind that I'm not a coder.. :crazyeyes:
User avatar
Code Name
Posts: 205
Joined: December 23rd, 2019, 1:53 pm
Location: Dallas, TX

Re: Category coloured ends on Calendar entries

Post by Code Name »

'Calendar Tweaks' has now been updated by the developer and works perfectly with TB68+. The latest Version 8.1 update has a few minor improvements and a new option. 'Calendar Tweaks' is a wonderful add-on for the calendar. :-D
Politicians and Diapers must be changed often for the exact same reason...
Ed1
Posts: 1059
Joined: January 30th, 2005, 2:33 pm

Re: Category coloured ends on Calendar entries

Post by Ed1 »

I would like to either change the color, or preferably eliminate, the small colored rectangular icons at the end of Calendar entries included on a couple of subscribed holiday calendars. If I'm not mistaken, these are category icons of some sort. They are a dark purple color.

I don't see a way to change or delete these icons with Calendar Tweaks. But maybe I am missing something.

I think the old Customize My Bird addon offered an option to delete the display of these icons. But that addon is no longer supported by recent Thunderbird/Lightning versions.

Is there a way to delete (or manage) these icons somehow with .css code?
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: Category coloured ends on Calendar entries

Post by morat »

@Ed1

Try this:

Code: Select all

/* Thunderbird userChrome.css */

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

.calendar-category-box-gradient {
  width: 0 !important;
}
http://kb.mozillazine.org/UserChrome.css

Reference
http://searchfox.org/comm-central/sourc ... -views.css
http://searchfox.org/comm-central/sourc ... ersion.txt
Ed1
Posts: 1059
Joined: January 30th, 2005, 2:33 pm

Re: Category coloured ends on Calendar entries

Post by Ed1 »

Thank you, @morat. That worked!
Post Reply