[Kde-pim] user css controlled mail appereance... reload.

Ingo Klöcker kloecker at kde.org
Mon Dec 29 20:22:26 GMT 2008


On Tuesday 23 December 2008, Thomas Lübking wrote:
> Am Tuesday 23 December 2008 schrieb Thomas McGuire:
> > I don't know what "!important" is, actually.
>
> an instruction for the css parser, managing css priority.
> usually every one who writes a custom css file would (in our case)
> have to append it to every css statement (background-color:black; ->
> background- color:black !important;) but as my experience is, that
> many ppl are either confused by this, or (me too) tend to forget it
> (then wonder why it doesn't work as expected. wonder again... then
> use the f-word and fix it ;-) i automagically append it to every css
> instruction. (this takes a little performance - very little as the
> files are rather short)

FYI: The "!important" is added to ensure that no CSS included in an HTML 
message can override our CSS (e.g. change the color for a bad signature 
to green).


> > One solution is that the actual strings like "From" are not in the
> > header.inc (like you did with "von"), but are special tags in the
> > header.inc which get replaces with the real string. This doesn't
> > allow
>
> actually they allready are, but (as i didn't want to touch strings)
> end up "From: " (and i didn't want a colon)

I think a similar problem has already been solved for KAddressBook.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20081229/f71b6eb4/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list