memo.xight.org

日々のメモ

QuoteCollapseのカスタマイズ

Summary

引用部分を折りたたんで表示できる Thunderbirdアドオン
QuoteCollapseのカスタマイズ。

常に1回分の引用を展開する。

/* overwrite quotecollapse default */
blockquote[type="cite"] {
    background-image: none !important;
    height: auto !important;
    overflow: visible !important;
}

/* reinstate for level 1 and above: */
BODY.mailview blockquote[type="cite"] blockquote[type="cite"] {
    background-image: url("chrome://quotecollapse/skin/twisty-clsd.png") !important;
    background-repeat: no-repeat !important;
    background-position: top left !important;
    height: 2ex !important;
    padding-bottom: 0px !important;
    overflow: -moz-hidden-unscrollable !important;
}

BODY.mailview blockquote[type="cite"] blockquote[type="cite"][qctoggled="true"] {
    background-image: url("chrome://quotecollapse/skin/twisty-open.png") !important;
    background-repeat: no-repeat !important;
    background-position: top left !important;
    height: auto !important;
    overflow: visible !important;
}


常に2回分の引用を展開する。

userContent.css を編集
/* overwrite quotecollapse default */
blockquote[type="cite"] {
    background-image: none !important;
    height: auto !important;
    overflow: visible !important;
}

/* reinstate for level 2 and above: */
BODY.mailview blockquote[type="cite"] blockquote[type="cite"] blockquote[type="cite"] {
    background-image: url("chrome://quotecollapse/skin/twisty-clsd.png") !important;
    background-repeat: no-repeat !important;
    background-position: top left !important;
    height: 2ex !important;
    padding-bottom: 0px !important;
    overflow: -moz-hidden-unscrollable !important;
}

BODY.mailview blockquote[type="cite"] blockquote[type="cite"] blockquote[type="cite"][qctoggled="true"] {
    background-image: url("chrome://quotecollapse/skin/twisty-open.png") !important;
    background-repeat: no-repeat !important;
    background-position: top left !important;
    height: auto !important;
    overflow: visible !important;
}


Reference

しげふみメモ : ThunderbirdエクステンションQuoteCollapse
http://blog.livedoor.jp/hakin/archives/50404561.html

mozdev.org - quotecollapse: customising
http://quotecollapse.mozdev.org/customising.html

mozdev.org - quotecollapse
http://quotecollapse.mozdev.org/