1、查找thunderbird配置文件位置:
在‘編輯’=>‘首選項’=>‘高級’=>‘配置編輯器’

2、在點擊“我了解風險”的按鈕后彈出一個搜索框,在搜索框中輸入mail.server.server1.directory后第一項里面的值就是我們的配置路徑(此截取到xxx.default),如下圖:

從上圖我的配置路徑為 /home/xpli/.thunderbird/b5ch4kqj.default/
3、在上面的路徑下新建一個chrome的文件,然后在這個文件里面再新建一個userChrome.css文件並寫入如下內容:
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* Set Font Size In Folder Pane */
#folderTree >treechildren::-moz-tree-cell-text {
/*font-family: Lucida Sans !important;*/
font-size: 10pt !important; }
/* Set Font Size In Thread Pane */
#threadTree >treechildren::-moz-tree-cell-text {
/*font-family: Lucida Sans !important;*/
font-size: 10pt !important; }
#threadTree treechildren::-moz-tree-row {
/* border-bottom: 1px dotted grey !important; */
height: 35px !important; }
/* folder list spacing */
#folderTree treechildren::-moz-tree-row {
height: 25px !important; }
#threadTree treechildren::-moz-tree-row(odd) {
-moz-appearance: none !important;
background-image: none !important;
background-color:#F3F6FA !important;
}
#threadTree treechildren::-moz-tree-row(selected) {
background-color: -moz-Dialog !important;
}
#threadTree treechildren::-moz-tree-row(selected, focus) {
background-color: Highlight !important;
}
#folderTree treechildren::-moz-tree-row(selected) {
-moz-appearance: none !important;
background-image: none !important;
background-color: Highlight !important;
}
#folderTree treechildren::-moz-tree-row(selected, focus) {
-moz-appearance: none !important;
background-image: none !important;
background-color: Highlight !important;
}
注:
如果已經有了則可以先備份userChrome.css文件然后再在userChrome.css文件里面添加或者修改
以上代碼內容為https://blog.csdn.net/hongszh/article/details/104354278里面復制的。之所以直接貼出來是為了方便自己后續再使用。如對原作者帶來不便之處還請諒解,我會第一時間處理的。
