Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

userChrome not working

more options

I would like to customize styling for recurring events in Calendar (115.11.1 on MacOS) without using extensions/add-ons. I enabled userChrome.css (`toolkit.legacyUserProfileCustomizations.stylesheets`) and the “has:” selector (`layout.css.has-selector.enabled`). In my userChrome.css, I added styles:

   li:has([alt*="Recurring"]) { background-color:grey !important; padding:1rem !important; }
   li:has(*[alt*="Recurring"]) { background-color:yellow !important; padding:1rem !important; }

Unfortunately, this seems to have no effect upon restarting Thunderbird. However, when I open Developer Toolbox (`Tools > Developer Toolbox > Developer Toolbox > Inspector` tab) suddenly everything works and the stylesheets are applied, but only until Thunderbird is shut down. Weirdly, other custom styles in userChrome.css work ok.

Is this intended behavior or a bug?

I would like to customize styling for recurring events in Calendar (115.11.1 on MacOS) without using extensions/add-ons. I enabled userChrome.css (`toolkit.legacyUserProfileCustomizations.stylesheets`) and the “has:” selector (`layout.css.has-selector.enabled`). In my userChrome.css, I added styles: li:has([alt*="Recurring"]) { background-color:grey !important; padding:1rem !important; } li:has(*[alt*="Recurring"]) { background-color:yellow !important; padding:1rem !important; } Unfortunately, this seems to have no effect upon restarting Thunderbird. However, when I open Developer Toolbox (`Tools > Developer Toolbox > Developer Toolbox > Inspector` tab) suddenly everything works and the stylesheets are applied, but only until Thunderbird is shut down. Weirdly, other custom styles in userChrome.css work ok. Is this intended behavior or a bug?

모든 댓글 (2)

more options

I cannot advise on the proper CSS to resolve your issue, but I can advise you that this is not a bug. I say that because use of userChrome.css is not officially supported.

도움이 되셨습니까?

more options

Thank you for your reply. I do realize that user styling via userChrome is not officialy supported. However, I sucessfully tested the CSS style in Firefox by copying the relevant elements form TB inspector. What is more, my experience with Thunderbird is that userChrome works great in Supernova. What I am trying to understand is the behaviour of some aspects of the style not being applied straight away.

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.