Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

TB 78: Customise Event Box Background Color By Category

  • 2 respostas
  • 1 tem este problema
  • 3 visualizações
  • Última resposta por avg1502

more options

I have been using the Calendar Tweaks add on to color event box background by category instead of simply adding a flair on the right side. (Similar to the functionality of Outlook). However, since this Add On is no longer maintained and supported by the devs, it will not be updated to be compatible with the newer version.

Hence upon upgrading to TB 78.3.2, I have tried to replicate this funtionality using the ChromeUser.css file and enabling toolkit.legacyUserProfileCustomizations.stylesheets from the config editor. However, lacking the knowledge of the current structure of functions and exact nomenclature, this is proving difficult. Currently I have used the following script which obviusly does not work as it is outdated.

.calendar-color-box[categories~="myCategory"], .calendar-event-box-container[categories~="myCategory"] {

  background-color: #FF0000 !important;

}

I would appreciate if someone could provide corrections for the same or provide an alternative customisation method which will not be affected by subsequent updates.

I have been using the Calendar Tweaks add on to color event box background by category instead of simply adding a flair on the right side. (Similar to the functionality of Outlook). However, since this Add On is no longer maintained and supported by the devs, it will not be updated to be compatible with the newer version. Hence upon upgrading to TB 78.3.2, I have tried to replicate this funtionality using the ChromeUser.css file and enabling toolkit.legacyUserProfileCustomizations.stylesheets from the config editor. However, lacking the knowledge of the current structure of functions and exact nomenclature, this is proving difficult. Currently I have used the following script which obviusly does not work as it is outdated. ''.calendar-color-box[categories~="myCategory"], .calendar-event-box-container[categories~="myCategory"] { background-color: #FF0000 !important; }'' I would appreciate if someone could provide corrections for the same or provide an alternative customisation method which will not be affected by subsequent updates.

Todas as respostas (2)

more options

Solução escolhida

more options

Thanks for the reply. This works and I have been able to implement it on both Ubuntu and Windows for TB 78.3.2.