― MozillaZine.jp フォーラムは Mozilla 製品に関する情報交換の場です ―



All times are UTC + 9 hours

新しいトピックを投稿する トピックへ返信する  [ 6 件の記事 ] 
作成者 メッセージ
投稿記事Posted: 2022年4月21日(木) 05:26 
Thunderbirdを起動して、新着のメールを受信したとき、
フォルダペインの受信トレイの文字の色が青色になりますよね。
(メール未読の場合の単なる太字とは違います)

その青の色を別の色に変更する方法はありませんでしょうか?
ネットで色を変えるCSSを探しても、こちらだけは見つかりませんでした。
それとも、不可能だったりしますでしょうか?

_________________
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Goanna/4.8 Firefox/68.0 PaleMoon/29.4.5


通報する
ページトップ
  
引用付きで返信する  
投稿記事Posted: 2022年4月21日(木) 21:11 
オフライン

登録日時: 2014年2月22日(土) 00:59
記事: 3673
UJOIJWS さん、EarlgreyTea と申します。

そうですねぇ、現時点では私はその方法を知りませんが、調べてみるとしましょう。
期待しないでお待ちください。

_________________
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0


通報する
ページトップ
 プロフィール  
引用付きで返信する  
投稿記事Posted: 2022年4月22日(金) 00:13 
オフライン

登録日時: 2014年2月22日(土) 00:59
記事: 3673
Thunderbird のソースコード中の folderPane.css にあるフォルダーペインの色付けやフォントスタイル変更関連の記載は以下の通りになってます。
コード:
treechildren::-moz-tree-cell-text(hasUnreadMessages-true),
treechildren::-moz-tree-cell-text(folderNameCol, isServer-true),
treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true),
treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
  font-weight: bold !important;
}

treechildren::-moz-tree-image(folderNameCol, newMessages-true),
treechildren::-moz-tree-image(folderNameCol, isServer-true, biffState-NewMail),
treechildren::-moz-tree-cell-text(folderNameCol, isServer-true, biffState-NewMail),
treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
  color: var(--new-folder-color) !important;
  fill: currentColor;
}

treechildren::-moz-tree-image(folderNameCol, hasUnreadMessages-true),
treechildren::-moz-tree-image(folderNameCol, closed, subfoldersHaveUnreadMessages-true) {
  opacity: 1 !important;
  color: var(--unread-folder-color);
  fill: currentColor;
}

treechildren::-moz-tree-image(folderNameCol, newMessages-true),
treechildren::-moz-tree-image(folderNameCol, isServer-true, biffState-NewMail) {
  opacity: 1 !important;
  fill: -moz-hyperlinktext !important;
}

treechildren::-moz-tree-cell-text(folderNameCol, isServer-true, biffState-NewMail, selected, focus),
treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true, selected, focus),
treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true, selected, focus) {
  color: var(--new-focused-folder-color) !important;
}

treechildren::-moz-tree-image(folderNameCol, selected, focus),
treechildren::-moz-tree-image(folderNameCol, newMessages-true, selected, focus),
treechildren::-moz-tree-image(folderNameCol, isServer-true, biffState-NewMail, selected, focus) {
  opacity: 1 !important;
  fill: var(--new-focused-folder-color) !important;
}

treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) {
  color: var(--noselect-folder-color) !important;
  font-style: italic;
}

1つ目が未読フォルダーをボールドにするもの、2つ目が新着フォルダーの色付け、3つ目が未読フォルダーの色付けになります。

color: orange !important; とかしてやれば、新着バッジと同じような色合いになりますね。

_________________
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0


通報する
ページトップ
 プロフィール  
引用付きで返信する  
投稿記事Posted: 2022年4月23日(土) 14:22 
EarlgreyTeaさま、ありがとうございます。
2つ目のこちらの、新着フォルダーの色付けで色を変更できました。
treechildren::-moz-tree-image(folderNameCol, newMessages-true),
treechildren::-moz-tree-image(folderNameCol, isServer-true, biffState-NewMail),
treechildren::-moz-tree-cell-text(folderNameCol, isServer-true, biffState-NewMail),
treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
color: var(--new-folder-color) !important;
fill: currentColor;
}

ちなみに、4つ目から7つ目のコードは、何のものになりますでしょうか?

次に、こちらのカラーのコードはデフォルトのものという意味でしょうか?
color: var(--noselect-folder-color) !important;

_________________
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36


通報する
ページトップ
  
引用付きで返信する  
投稿記事Posted: 2022年4月23日(土) 23:49 
オフライン

登録日時: 2014年2月22日(土) 00:59
記事: 3673
UJOIJWS さんが書きました:
ちなみに、4つ目から7つ目のコードは、何のものになりますでしょうか?

次に、こちらのカラーのコードはデフォルトのものという意味でしょうか?
color: var(--noselect-folder-color) !important;

参考までに実際のソースコードから引用紹介しただけですので、読んでわかることしかコメントできませんが・・・
-moz-tree-cell-text というのがフォルダー名の部分、-moz-tree-image がアイコン部分の指定というのはわかりますよね。
newMessages-true が指定されている箇所は新着に関係ありますし、
UnreadMessages-true 系の未読との兼ね合いもあるでしょう。
selected, focus が選択状態、noSelect-true が選択していない状態ですね。
CSS では後に指定したもので上書きされますから順番も関係あります。
試してみたらいいんじゃないでしょうか。

_________________
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0


通報する
ページトップ
 プロフィール  
引用付きで返信する  
投稿記事Posted: 2022年4月28日(木) 09:30 
承知しました。ご連絡ありがとうございました。

_________________
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36


通報する
ページトップ
  
引用付きで返信する  
期間内表示:  ソート  
新しいトピックを投稿する トピックへ返信する  [ 6 件の記事 ] 

All times are UTC + 9 hours


オンラインデータ

このフォーラムを閲覧中のユーザー: なし & ゲスト[52人]


トピック投稿:  可
返信投稿:  可
記事編集: 不可
記事削除: 不可
ファイル添付: 不可

検索:
ページ移動:  
Powered by MozillaZine.jp® Forum Software © phpBB Group , Almsamim WYSIWYG
Japanese translation principally by ocean