I want to remove the calendar tab button and task tab butto
-
- Posts: 6
- Joined: July 13th, 2020, 6:44 pm
I want to remove the calendar tab button and task tab butto
Thunderbird 78
How do I hide # calendar-tab-button and # task-tab-button in the upper right?
The following code in userchrome.css did not hide it.
#calendar-tab-button, #task-tab-button {
-moz-appearance:none !important;
display:none !important; }
Thank you in advance.
How do I hide # calendar-tab-button and # task-tab-button in the upper right?
The following code in userchrome.css did not hide it.
#calendar-tab-button, #task-tab-button {
-moz-appearance:none !important;
display:none !important; }
Thank you in advance.
-
- Posts: 6432
- Joined: February 3rd, 2009, 6:29 pm
Re: I want to remove the calendar tab button and task tab b
Try setting the toolkit.legacyUserProfileCustomizations.stylesheets pref to true in about:config, then restart. (default false)
-
- Posts: 6
- Joined: July 13th, 2020, 6:44 pm
Re: I want to remove the calendar tab button and task tab b
Thank you.
But the button did not disappear.
But the button did not disappear.
-
- Posts: 6432
- Joined: February 3rd, 2009, 6:29 pm
Re: I want to remove the calendar tab button and task tab b
The following style works for me with Thunderbird Release 68.10.0 and Thunderbird Beta 79.0b1.
Check if the chrome\userChrome.css file is really in the profile folder.
Help > Troubleshooting Information > Profile Folder: Open Folder
The userChrome.css file name is case sensitive.
Windows hides file extensions by default. Novice users may end up mistakingly naming the file userChrome.css.txt without realizing it.
Try testing another style to see if the userChrome.css file is working correctly.
Thunderbird must be restarted for the changes to take effect.
userChrome.css
http://kb.mozillazine.org/UserChrome.css
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#calendar-tab-button,
#task-tab-button {
display: none !important;
}
Help > Troubleshooting Information > Profile Folder: Open Folder
The userChrome.css file name is case sensitive.
Windows hides file extensions by default. Novice users may end up mistakingly naming the file userChrome.css.txt without realizing it.
Try testing another style to see if the userChrome.css file is working correctly.
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
* { background-color: orange !important; }
userChrome.css
http://kb.mozillazine.org/UserChrome.css
-
- Posts: 6
- Joined: July 13th, 2020, 6:44 pm
Re: カレンダータブボタンとタスクタブを削除したい
Hello.
It seems that the code I wrote elsewhere in userChrome.css affected it.
I was able to erase it with the code I was told.
Thank you.
I want to close this topic, but I don't understand.
It seems that the code I wrote elsewhere in userChrome.css affected it.
I was able to erase it with the code I was told.
Thank you.
I want to close this topic, but I don't understand.
- pdrummond
- Posts: 128
- Joined: December 31st, 2004, 1:23 pm
- Location: Ottawa Canada
- Contact:
Re: I want to remove the calendar tab button and task tab b
A bit off-topic but I've used this in userChrome.css since 2005 to change background color:
/* userChrome.css - Folder & Subject panes to pale yellow */
treechildren {background-color: #FFFFCC !important;}
/* userChrome.css - Folder & Subject panes to pale yellow */
treechildren {background-color: #FFFFCC !important;}
-
- Posts: 4
- Joined: January 19th, 2015, 2:01 pm
Re: カレンダータブボタンとタスクタブを削除したい
Hi. I've just updated from 68 to 78.2.2 and I also want to get rid of those two buttons steeling space from more tabs, since I don't use neither the calendar nor the tasks. Can you specify the code you wrote, please?nmboon16 wrote:Hello.
It seems that the code I wrote elsewhere in userChrome.css affected it.
I was able to erase it with the code I was told.
-
- Posts: 6432
- Joined: February 3rd, 2009, 6:29 pm
Re: I want to remove the calendar tab button and task tab b
The following style works in Thunderbird 78.
Remember to set the toolkit.legacyUserProfileCustomizations.stylesheets pref to true in about:config, then restart.
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#calendar-tab-button
{ display: none !important; }
#task-tab-button
{ display: none !important; }
-
- Posts: 4
- Joined: January 19th, 2015, 2:01 pm
Re: I want to remove the calendar tab button and task tab b
Thanks, it worked!
-
- Posts: 53
- Joined: August 9th, 2013, 12:20 pm
Re: I want to remove the calendar tab button and task tab b
morat wrote:The following style works in Thunderbird 78.
Remember to set the toolkit.legacyUserProfileCustomizations.stylesheets pref to true in about:config, then restart.Code: Select all
/* Thunderbird userChrome.css */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #calendar-tab-button { display: none !important; } #task-tab-button { display: none !important; }
For some reason, this is not working for me, I downloaded the zip file available from Mozilla for the Thunderbird userChrome.css, unzipped it in the profile folder, set the toolkit.legacyUserProfileCustomizations.stylesheets pref to true in about:config, copied and pasted the above code, still not working the background-color: orange code didn't work either, don't know why??
-
- Posts: 6432
- Joined: February 3rd, 2009, 6:29 pm
Re: I want to remove the calendar tab button and task tab b
Tony got it working in another thread.
More info: http://forums.mozillazine.org/viewtopic ... &t=3064772
More info: http://forums.mozillazine.org/viewtopic ... &t=3064772
-
- Posts: 53
- Joined: August 9th, 2013, 12:20 pm
Re: I want to remove the calendar tab button and task tab b
Any way to get rid of the "Today Pane" button in the bottom right corner of the status bar? Thanks.morat wrote:Tony got it working in another thread.
More info: http://forums.mozillazine.org/viewtopic ... &t=3064772
-
- Posts: 6432
- Joined: February 3rd, 2009, 6:29 pm
Re: I want to remove the calendar tab button and task tab b
When all calendars are disabled...
* open calendar tab
* right click on a calendar in calendar list
* click "Properties"
* uncheck "Enable This Calendar"
* click "OK"
...the today pane, today pane button, "Events and Tasks" menu (in menu bar and app menu) are hidden.
Adapt the UI when users are not using Calendar
http://bugzilla.mozilla.org/show_bug.cgi?id=1617786
For reading only as Bugzilla is not a forum.
Reference
http://searchfox.org/comm-esr78/search? ... eactivated
* open calendar tab
* right click on a calendar in calendar list
* click "Properties"
* uncheck "Enable This Calendar"
* click "OK"
...the today pane, today pane button, "Events and Tasks" menu (in menu bar and app menu) are hidden.
Adapt the UI when users are not using Calendar
http://bugzilla.mozilla.org/show_bug.cgi?id=1617786
For reading only as Bugzilla is not a forum.
Reference
http://searchfox.org/comm-esr78/search? ... eactivated
-
- Posts: 53
- Joined: August 9th, 2013, 12:20 pm
Re: I want to remove the calendar tab button and task tab b
It worked, thank you for such precise instructions.morat wrote:When all calendars are disabled...
* open calendar tab
* right click on a calendar in calendar list
* click "Properties"
* uncheck "Enable This Calendar"
* click "OK"
...the today pane, today pane button, "Events and Tasks" menu (in menu bar and app menu) are hidden.
Adapt the UI when users are not using Calendar
http://bugzilla.mozilla.org/show_bug.cgi?id=1617786
For reading only as Bugzilla is not a forum.
Reference
http://searchfox.org/comm-esr78/search? ... eactivated
-
- Posts: 53
- Joined: February 5th, 2003, 12:06 pm
Re: I want to remove the calendar tab button and task tab b
Not sure if I've got some non-default setting affecting this, but disabling the one, Home calendar did not make the buttons go away for me.