annotate gpp/comments/static/css/comments.css @ 318:c550933ff5b6

Fix a bug where you'd get an error when trying to delete a forum thread (topic does not exist). Apparently when you call topic.delete() the posts would get deleted, but the signal handler for each one would run, and it would try to update the topic's post count or something, but the topic was gone? Reworked the code a bit and explicitly delete the posts first. I also added a sync() call on the parent forum since post counts were not getting adjusted.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Feb 2011 21:46:52 +0000
parents 88b2b9cb8c1f
children
rev   line source
bgneal@312 1 div.comment-list {
bgneal@312 2 float: left;
bgneal@312 3 font-size: 18px;
bgneal@312 4 font-weight: bold;
bgneal@312 5 color: #999;
bgneal@312 6 padding-right: .5em;
bgneal@312 7 }
bgneal@312 8 div.comment {
bgneal@312 9 padding: 0.5em;
bgneal@312 10 border-bottom: 1px dashed black;
bgneal@312 11 font: 12px/18px "Lucida Grande", Verdana, sans-serif;
bgneal@312 12 color: #333;
bgneal@312 13 }
bgneal@312 14 div.comment-avatar {
bgneal@312 15 float: left;
bgneal@312 16 padding-right: 1.5em;
bgneal@312 17 }
bgneal@312 18 div.comment-text {
bgneal@312 19 }
bgneal@312 20 div.comment-text-removed {
bgneal@312 21 font-style: italic;
bgneal@312 22 }
bgneal@312 23 div.comment-details {
bgneal@312 24 clear: both;
bgneal@312 25 font-size: smaller;
bgneal@312 26 font-style: italic;
bgneal@312 27 padding-top: 0.5em;
bgneal@312 28 }