Subject: | Style improvement in commit mails |
Date: | Wed, 24 Aug 2005 12:05:51 -0500 |
From: | "Bill Lynch" <bill [...] jivesoftware.com> |
To: | <bug-svn-notify [...] rt.cpan.org> |
Hello,
I recently modified 2 files (see attached), specifically the output_css
methods to output improved CSS (see below).
Basically, I changed the colors, font and made the pre's and div's have
overflow:auto so the svn mail doesn't go past the right margin of many
mail clients. Attached is also a screenshot of it. I hope you find this
useful and can incorporate it in the next version.
Cheers,
--Bill
#msg DL { border : 1px #006 solid; background-color : #369; padding :
6px; color : #fff; }
#msg DT { float : left; width : 6em; font-weight : bold; }
#msg DL, #msg DT, #msg UL, #msg LI { font-family :
arial,helvetica,sans-serif; font-size : 10pt; }
h3 { font-family : arial,helvetica,sans-serif; font-size : 10pt;
font-weight : bold; }
#msg PRE { overflow : auto; white-space : normal; background-color :
#ffc; border : 1px #fc0 solid; padding : 6px; }
#msg UL, PRE, .diff { overflow : auto; }
#patch h4 { font-family : arial,helvetica,sans-serif; font-size : 10pt;
}
#patch h4 { padding: 8px; background : #369; color : #fff; margin : 0; }
#patch .propset h4, #patch .binary h4 {margin: 0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {background:#eeeeee;padding: 0 0 10px 0;}
#patch .propset .diff, #patch .binary .diff {padding: 10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset,
#patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch .add {background:#ddffdd;}
#patch .rem {background:#ffdddd;}
#patch .lines, .info {color:#888888;background:#ffffff;}
.diff { width : 100%; }
----------------------------------
Bill Lynch, Jive Software
bill@jivesoftware.com
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.