On 11/1/2001 4:50 PM, Pratik wrote:

> On 11/01/01 09:54 AM, Ben Bucksch wrote:
> 
>>   Holger Metzger wrote:
>> 
>> 
>>>On 11/1/2001 8:54 AM, J.B. Moreno wrote:
>>>
>>>
>>>>But how well is that fact documented?
>>>>
>> There's my webpage which I referred to, but that's unfortunately outdated.
>> 
>> At the moment, I am too lazy to update it, in part because Seth Spitzer 
>> deliberately removed the central tool |mimetest|, which shows the actual 
>> HTML message output structure.
>> 
>> 
>>>>And does it come with some default that would work for most people?
>>>>
>> Well, it's a *user*Content.css - the point is that you can do whatever 
>> you imagine, only limited by the (rich) HTML structure that libmime 
>> outputs for messages and by the capabilities of CSS. The problem boils 
>> down to the lack of documentation (i.e. my badly maintained webpage). 
>> Patches (or new text) for the webpage is welcome :-).
>> 
>> On a related note, I noticed that the coloring of the sig is broken, 
>> too. No idea, what's the reason again. We need some automated regression 
>> tests for that code.
>> 
>> 
>>>I tried Ben's suggestions in <[EMAIL PROTECTED]>, but it 
>>>only colors the vertical quote bars, and since I disable those it does 
>>>not have any effect at all.
>>>
>> 
>> My fault. The example in the bug was very outdated. I figured out some 
>> rules that work for me. Cited below.
>> 
>> 
>>>IMHO, having different colors for quoting levels is a killer feature.
>>>
>> 
>> me too :).
>> 
>> 
>> Add the following to your userContent.css:
>> 
>> blockquote[type=cite] {
>> border-color: black ! important;
>> color: red ! important;
>> }
>> blockquote[type=cite] blockquote {
>> border-color: red ! important;
>> color: green ! important;
>> }
>> blockquote[type=cite] blockquote blockquote {
>> border-color: green ! important;
>> color: blue ! important;
>> }
>> blockquote[type=cite] blockquote blockquote blockquote {
>> border-color: blue ! important;
>> color: gray ! important;
>> }
>> blockquote[type=cite] blockquote blockquote blockquote blockquote {
>> border-color: gray ! important;
>> }
>> blockquote[type=cite] pre, blockquote[type=cite] div {
>> color: inherit ! important;
>> }
>> 
>> The last rule is critical and the reason why it didn't work for you.
>> 
>> Note that this is not limited to plaintext messages and will even work 
>> in the HTML composer. If you want, you can limit the rules to normal 
>> plaintext / format=flowed msgs by adding div.moz-text-plain or 
>> div.moz-text-flowed respectively at the beginning of each selector.
>> 
>> Ben
>> 
>> 
>> 
> 
> Thank a lot! This is great.
> 
> Pratik.


Yes! This is simply great. Thanks again, Ben!


Holger
-- 
No matter how fast light travels it finds the darkness has always
got there first, and is waiting for it. (Terry Pratchett, Reaper Man)
---------------------------------------
Netscape 6 Tips: http://www.hmetzger.de


Reply via email to