feat: optimize thunderbird for maillist

This commit is contained in:
Klesh Wong 2022-05-25 23:27:59 +08:00
parent 601440b2ba
commit c2a543e9cf
2 changed files with 41 additions and 0 deletions

View File

@ -765,6 +765,7 @@ awful.rules.rules = {
-- and the name shown there might not match defined rules here.
name = {
"Event Tester", -- xev.
"Message Filters",
},
role = {
"AlarmWindow", -- Thunderbird's calendar.

View File

@ -17,3 +17,43 @@ Create new calendar -> On the Network
1. [canada holidy](https://www.officeholidays.com/subscribe/canada)
2. [chinese holiday](https://www.officeholidays.com/subscribe/china)
# Style
- Plain Text mail font too small: Preferences > Fonts > Advanced > set Font size for both `Latin` and `Other writing systems`
- Enable `userChrome.css`:
1. Preferences
2. scroll to bottom find Config Editor
3. search 'toolkit.legacyUserProfileCustomizations.stylesheets', set it to true
- Make top message of thread bold
1. Menu > Help > More trouble shooting information
2. Profile Directory > Open Directory
3. Shutdown thunderbird
4. Create file 'chrome/userChrome.css' with following content:
```
/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* set default namespace to XUL */
/*
* Collapsed read thread, but the thread contains unread , set text to bod black
*/
treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
text-decoration: none !important;
font-weight: bold !important;
color: #000000 !important;
}
/*
* If thread selected, revert to highlight text color
*/
treechildren::-moz-tree-cell-text(container, closed, hasUnread, read, focus, selected),
treechildren::-moz-tree-cell-text(container, hasUnread, read, focus, selected) {
color: HighlightText !important;
}
```