MozillaZine

Category coloured ends on Calendar entries

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

Post Posted October 19th, 2019, 6:42 am

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:

Code Name

User avatar
 
Posts: 64
Joined: December 23rd, 2019, 1:53 pm
Location: Dallas, TX

Post Posted December 25th, 2019, 10:43 am

'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: 960
Joined: January 30th, 2005, 2:33 pm

Post Posted January 7th, 2020, 3:19 pm

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: 3756
Joined: February 3rd, 2009, 6:29 pm

Post Posted January 7th, 2020, 6:34 pm

@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/source/calendar/base/themes/common/calendar-views.css
http://searchfox.org/comm-central/source/mail/config/version.txt

Ed1
 
Posts: 960
Joined: January 30th, 2005, 2:33 pm

Post Posted January 8th, 2020, 1:48 pm

Thank you, @morat. That worked!

Return to Calendar


Who is online

Users browsing this forum: No registered users and 2 guests