Thunderbird
Thunderbird 68:改變引用顏色的 CSS
在較舊的 Thunderbird 中,我使用了外掛“QuoteColors”,它可以很好地為電子郵件中引用的文本著色。對於 Thunderbird 68,這個外掛不兼容,所以我試圖通過以下方式實現相同的目標
css
:這是我的
userContent.css
blockquote[type=cite] { border-color: #ff3f55 ! important; color: #ff463a ! important; background: #454545; ! important; } blockquote[type=cite] blockquote { border-color: #fad123 ! important; color: #fad123 ! important; background: #656565; ! important; } blockquote[type=cite] blockquote blockquote { border-color: #3022f0 ! important; color: #1e0fe4 ! important; background: #858585; ! important; }
這很好用,但只在主視窗中。
當我點擊“回复”並打開撰寫視窗時,引用的文本不受影響。
如何使用我的
css
顏色來更改 com,pose 視窗中的引用文本?我在撰寫視窗中使用純文字格式,以防萬一。
雷鳥外掛
我剛剛更新了副檔名QuoteColors;它以New QuoteColors的名稱發布,請注意擴展的 xpi 文件已簽名以簡化安裝。該擴展程序不處理消息編寫器/編輯器,這需要額外的工作以使其與該部分兼容,如果我有時間處理這個問題,我將在稍後編輯我的答案。
來源和站點:Github 頁面
下載:v0.3.5版本(兼容v60.x和v68.x)
Mozilla 外掛網站:addons.thunderbird.net(仍在審核中)
自定義 CSS:
在純文字模式下自定義消息編輯器並非易事,因為純文字編輯沒有任何 css,因此無法處理 css 自定義,但這取決於您應用純文字的方式,因為可以設置 Thunderbird以 html 編寫消息,同時以純文字形式發送消息。
請測試以下程式碼並讓我知道 ;) 請注意,這是來自 TB v68.4.1 的詳儘自定義 CSS 列表,用於測試目的,但缺少有關您的設置的技術細節
span[_moz_quote=true] { color: green !important; background: green !important; background-color: green !important; border-color: green !important; } pre[_moz_quote=true] { color: green !important; background: green !important; background-color: green !important; border-color: green !important; } /* :::: ---------------------------------------------------------------------------------------- ::::: */ /* ::::: message text, incl. quotes ::::: */ .moz-text-flowed blockquote, .moz-text-plain blockquote { border-color: red !important; color: red !important; background: red !important; background-color: red !important; } .moz-text-plain pre { border-color: red !important; color: red !important; background: red !important; background-color: red !important; } .moz-text-plain[wrap="true"] { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } .moz-text-plain[wrap="false"] { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } .moz-text-plain[wrap="flow"] .moz-txt-sig { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } .moz-text-plain[graphical-quote="false"] blockquote { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } .moz-text-plain[graphical-quote="true"] .moz-txt-citetags { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } .moz-txt-underscore { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } .moz-txt-formfeed { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } /* :::: ---------------------------------------------------------------------------------------- ::::: */ body.light blockquote { border-inline-start: 2px solid blue !important; color: red !important; background: red !important; background-color: red !important; border-color: red !important; } body.sepia blockquote { border-inline-start: 2px solid blue !important; color: red !important; background: red !important; background-color: red !important; border-color: red !important; } body.dark blockquote { border-inline-start: 2px solid blue !important; color: red !important; background: red !important; background-color: red !important; border-color: red !important; } .moz-reader-content blockquote { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } /* :::: ---------------------------------------------------------------------------------------- ::::: */ body blockquote[type=cite] { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } /* :::: ---------------------------------------------------------------------------------------- ::::: */ body blockquote[type=cite] { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } blockquote[type=cite] blockquote[type=cite] { color: red !important; background: red !important; background-color: red !important; } blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { color: red !important; background: red !important; background-color: red !important; } blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] blockquote[type=cite] { color: red !important; background: red !important; background-color: red !important; } /* :::: ---------------------------------------------------------------------------------------- ::::: */ .moz-email-headers-table, .moz-email-headers-table > tbody > tr > th, .moz-email-headers-table > tbody > tr > td, blockquote[type=cite] table, blockquote[type=cite] table > tbody > tr > th, blockquote[type=cite] table > tbody > tr > td { border: 1px solid transparent !important; color: red !important; background: red !important; background-color: red !important; border-color: red !important; } table.moz-email-headers-table:hover, table.moz-email-headers-table:hover > tbody > tr > th, table.moz-email-headers-table:hover > tbody > tr > td, blockquote[type=cite] table:hover, blockquote[type=cite] table:hover > tbody > tr > th, blockquote[type=cite] table:hover > tbody > tr > td { color: red !important; background: red !important; background-color: red !important; border-color: red !important; } /* :::: ---------------------------------------------------------------------------------------- ::::: */ body > p:-moz-first-node, td > p:-moz-first-node, th > p:-moz-first-node, body > dl:-moz-first-node, td > dl:-moz-first-node, th > dl:-moz-first-node, body > multicol:-moz-first-node, td > multicol:-moz-first-node, th > multicol:-moz-first-node, body > blockquote:-moz-first-node, td > blockquote:-moz-first-node, th > blockquote:-moz-first-node, body > h1:-moz-first-node, td > h1:-moz-first-node, th > h1:-moz-first-node, body > h2:-moz-first-node, td > h2:-moz-first-node, th > h2:-moz-first-node, body > h3:-moz-first-node, td > h3:-moz-first-node, th > h3:-moz-first-node, body > h4:-moz-first-node, td > h4:-moz-first-node, th > h4:-moz-first-node, body > h5:-moz-first-node, td > h5:-moz-first-node, th > h5:-moz-first-node, body > h6:-moz-first-node, td > h6:-moz-first-node, th > h6:-moz-first-node, body > listing:-moz-first-node, td > listing:-moz-first-node, th > listing:-moz-first-node, body > plaintext:-moz-first-node, td > plaintext:-moz-first-node, th > plaintext:-moz-first-node, body > xmp:-moz-first-node, td > xmp:-moz-first-node, th > xmp:-moz-first-node, body > pre:-moz-first-node, td > pre:-moz-first-node, th > pre:-moz-first-node, body > ul:-moz-first-node, td > ul:-moz-first-node, th > ul:-moz-first-node, body > menu:-moz-first-node, td > menu:-moz-first-node, th > menu:-moz-first-node, body > dir:-moz-first-node, td > dir:-moz-first-node, th > dir:-moz-first-node, body > ol:-moz-first-node, td > ol:-moz-first-node, th > ol:-moz-first-node { color: red !important; background: red !important; background-color: red !important; border-color: red !important; }