From ef4356b41112833494ca667d3d6e537412027a92 Mon Sep 17 00:00:00 2001 From: azaozz Date: Mon, 27 Jun 2011 22:17:19 +0000 Subject: [PATCH] More fixes for 2011, props iandstewart, see #17809 git-svn-id: http://svn.automattic.com/wordpress/trunk@18360 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyeleven/colors/dark.css | 16 ++++++++++++++++ wp-content/themes/twentyeleven/functions.php | 2 +- wp-content/themes/twentyeleven/style.css | 19 ++++++++++++++++++- 3 files changed, 35 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyeleven/colors/dark.css b/wp-content/themes/twentyeleven/colors/dark.css index 820e912451..f89d113b3a 100644 --- a/wp-content/themes/twentyeleven/colors/dark.css +++ b/wp-content/themes/twentyeleven/colors/dark.css @@ -458,6 +458,22 @@ section.recent-posts .other-recent-posts .comments-link a:hover { .comment-meta { 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 { content: url(../images/comment-arrow-dark.png); } diff --git a/wp-content/themes/twentyeleven/functions.php b/wp-content/themes/twentyeleven/functions.php index 618ddfbb3c..15fb9b58ea 100644 --- a/wp-content/themes/twentyeleven/functions.php +++ b/wp-content/themes/twentyeleven/functions.php @@ -541,7 +541,7 @@ function twentyeleven_comment( $comment, $args, $depth ) {
- __( 'Reply ↓', 'twentyeleven' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> + __( 'Reply ', 'twentyeleven' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index 5f25f08ba6..c4a7cca32f 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -1960,8 +1960,25 @@ section.ephemera .entry-title a span { top: 2.2em; } a.comment-reply-link { + background: #eee; + -moz-border-radius: 3px; + border-radius: 3px; + color: #666; + display: inline-block; 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 */