annotate media/css/comments.css @ 145:71cb4208dc98

Tweak to #30, admin dashboard. Because of a bug in Django (9568), my dashboard appears on the login page. To get around this, pass in the user to the templatetag, so it can do a 'if user.is_staff' check. Also tweaked the HTML and CSS to show non-zero pending items in red. Shortened the pending item titles for readability.
author Brian Neal <bgneal@gmail.com>
date Wed, 09 Dec 2009 00:03:10 +0000
parents dbd703f7d63a
children 82deb8cc59e9
rev   line source
gremmie@1 1 #comment-list {
gremmie@1 2 font-size: 18px;
gremmie@1 3 font-weight: bold;
gremmie@1 4 color: #999;
gremmie@1 5 }
gremmie@1 6 div.comment {
gremmie@1 7 padding: 0.5em;
gremmie@1 8 border-bottom: 1px dashed black;
gremmie@1 9 font: 12px/18px "Lucida Grande", Verdana, sans-serif;
gremmie@1 10 color: #333;
gremmie@1 11 }
gremmie@1 12 div.comment-avatar {
gremmie@1 13 float: left;
gremmie@1 14 padding-right: 1.5em;
gremmie@1 15 }
gremmie@1 16 div.comment-text {
gremmie@1 17 }
gremmie@1 18 div.comment-text-removed {
gremmie@1 19 font-style: italic;
gremmie@1 20 }
gremmie@1 21 div.comment-details {
gremmie@1 22 clear: both;
gremmie@1 23 font-size: smaller;
gremmie@1 24 font-style: italic;
gremmie@1 25 padding-top: 0.5em;
gremmie@1 26 }