comment blocks slide

This commit is contained in:
danielvincent 2010-09-28 11:50:13 -07:00
parent b068eaf15c
commit 577b5545bf
3 changed files with 6 additions and 6 deletions

View file

@ -21,10 +21,10 @@ $(".show_post_comments").live('click', function(event) {
if( $this.hasClass( "visible")) { if( $this.hasClass( "visible")) {
$this.html($(this).html().replace("hide", "show")); $this.html($(this).html().replace("hide", "show"));
$this.closest("li").children(".content").children(".comments").fadeOut(100); $this.closest("li").children(".content").children(".comments").slideUp(150);
} else { } else {
$this.html($(this).html().replace("show", "hide")); $this.html($(this).html().replace("show", "hide"));
$this.closest("li").children(".content").children(".comments").fadeIn(100); $this.closest("li").children(".content").children(".comments").slideDown(150);
} }
$(this).toggleClass( "visible" ); $(this).toggleClass( "visible" );
}); });

View file

@ -263,7 +263,7 @@ ul.comment_set {
margin-bottom: 0.5em; margin-bottom: 0.5em;
background-color: rgba(10, 81, 109, 0.05); background-color: rgba(10, 81, 109, 0.05);
padding: 0.6em; padding: 0.6em;
border-bottom: 1px solid #cccccc; } border-bottom: 1px solid #dddddd; }
ul.comment_set li.comment .from { ul.comment_set li.comment .from {
font-size: 1em; } font-size: 1em; }
ul.comment_set li.comment div.time { ul.comment_set li.comment div.time {
@ -711,7 +711,7 @@ ul#settings_nav {
padding: 0; padding: 0;
list-style: none; } list-style: none; }
.aspect_tag ul li { .aspect_tag ul li {
display: inline; display: inlinte;
margin-right: 2px; margin-right: 2px;
padding-right: 4px; padding-right: 4px;
border-right: 1px solid #cccccc; } border-right: 1px solid #cccccc; }

View file

@ -356,7 +356,7 @@ ul.comment_set
:color rgba(10,81,109,0.05) :color rgba(10,81,109,0.05)
:padding 0.6em :padding 0.6em
:border :border
:bottom 1px solid #ccc :bottom 1px solid #ddd
.from .from
:font :font
@ -915,7 +915,7 @@ ul#settings_nav
:style none :style none
li li
:display inline :display inlinte
:margin :margin
:right 2px :right 2px
:padding :padding