More fixes for 2011, props iandstewart, see #17809

git-svn-id: http://svn.automattic.com/wordpress/trunk@18360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-06-27 22:17:19 +00:00
parent e38b292638
commit ef4356b411
3 changed files with 35 additions and 2 deletions

View File

@ -458,6 +458,22 @@ section.recent-posts .other-recent-posts .comments-link a:hover {
.comment-meta { .comment-meta {
color: #999; color: #999;
} }
a.comment-reply-link {
background: #242424;
color: #bbb;
}
li.bypostauthor a.comment-reply-link {
background: #111;
}
a.comment-reply-link:hover,
a.comment-reply-link:focus,
a.comment-reply-link:active,
li.bypostauthor a.comment-reply-link:hover,
li.bypostauthor a.comment-reply-link:focus,
li.bypostauthor a.comment-reply-link:active {
background: #999;
color: #000;
}
.commentlist > li:before { .commentlist > li:before {
content: url(../images/comment-arrow-dark.png); content: url(../images/comment-arrow-dark.png);
} }

View File

@ -541,7 +541,7 @@ function twentyeleven_comment( $comment, $args, $depth ) {
<div class="comment-content"><?php comment_text(); ?></div> <div class="comment-content"><?php comment_text(); ?></div>
<div class="reply"> <div class="reply">
<?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply &darr;', 'twentyeleven' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply <span>&darr;</span>', 'twentyeleven' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
</div><!-- .reply --> </div><!-- .reply -->
</article><!-- #comment-## --> </article><!-- #comment-## -->

View File

@ -1960,8 +1960,25 @@ section.ephemera .entry-title a span {
top: 2.2em; top: 2.2em;
} }
a.comment-reply-link { a.comment-reply-link {
background: #eee;
-moz-border-radius: 3px;
border-radius: 3px;
color: #666;
display: inline-block;
font-size: 12px; font-size: 12px;
font-weight: bold; padding: 0px 8px;
text-decoration: none;
}
a.comment-reply-link:hover,
a.comment-reply-link:focus,
a.comment-reply-link:active {
background: #888;
color: #fff;
}
a.comment-reply-link > span {
display: inline-block;
position: relative;
top: -1px;
} }
/* Post author highlighting */ /* Post author highlighting */