Ticket #17809: 17809-reply-links.diff
| File 17809-reply-links.diff, 2.3 KB (added by , 14 years ago) |
|---|
-
wp-content/themes/twentyeleven/style.css
1946 1946 top: 2.2em; 1947 1947 } 1948 1948 a.comment-reply-link { 1949 background: #eee; 1950 -moz-border-radius: 3px; 1951 border-radius: 3px; 1952 color: #666; 1953 display: inline-block; 1949 1954 font-size: 12px; 1950 font-weight: bold; 1955 padding: 0px 8px; 1956 text-decoration: none; 1951 1957 } 1958 a.comment-reply-link:hover, 1959 a.comment-reply-link:focus, 1960 a.comment-reply-link:active { 1961 background: #888; 1962 color: #fff; 1963 } 1964 a.comment-reply-link > span { 1965 display: inline-block; 1966 position: relative; 1967 top: -1px; 1968 } 1952 1969 1953 1970 /* Post author highlighting */ 1954 1971 .commentlist > li.bypostauthor { -
wp-content/themes/twentyeleven/functions.php
538 538 <div class="comment-content"><?php comment_text(); ?></div> 539 539 540 540 <div class="reply"> 541 <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply ↓', 'twentyeleven' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>541 <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply <span>↓</span>', 'twentyeleven' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> 542 542 </div><!-- .reply --> 543 543 </article><!-- #comment-## --> 544 544 -
wp-content/themes/twentyeleven/colors/dark.css
455 455 .comment-meta { 456 456 color: #999; 457 457 } 458 a.comment-reply-link { 459 background: #242424; 460 color: #bbb; 461 } 462 li.bypostauthor a.comment-reply-link { 463 background: #111; 464 } 465 a.comment-reply-link:hover, 466 a.comment-reply-link:focus, 467 a.comment-reply-link:active, 468 li.bypostauthor a.comment-reply-link:hover, 469 li.bypostauthor a.comment-reply-link:focus, 470 li.bypostauthor a.comment-reply-link:active { 471 background: #999; 472 color: #000; 473 } 458 474 .commentlist > li:before { 459 475 content: url(../images/comment-arrow-dark.png); 460 476 }