Make WordPress Core

Changeset 22614


Ignore:
Timestamp:
11/16/2012 09:22:17 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Twelve: improve arrow display in comment reply text, props miqrogroove. Also consistent styles for edit link to match reply link in color and size. Closes #22468.

Location:
trunk/wp-content/themes/twentytwelve
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/functions.php

    r22359 r22614  
    309309
    310310            <div class="reply">
    311                 <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply <span>&darr;</span>', 'twentytwelve' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
     311                <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'twentytwelve' ), 'after' => ' <span>&darr;</span>', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    312312            </div><!-- .reply -->
    313313        </article><!-- #comment-## -->
  • trunk/wp-content/themes/twentytwelve/style.css

    r22579 r22614  
    12081208    font-size: 0.714285714rem;
    12091209}
    1210 a.comment-reply-link {
     1210a.comment-reply-link,
     1211a.comment-edit-link {
     1212    color: #686868;
    12111213    font-size: 13px;
    12121214    font-size: 0.928571429rem;
    12131215    line-height: 1.846153846;
    1214     color: #686868;
    1215 }
    1216 a.comment-reply-link:hover {
     1216}
     1217a.comment-reply-link:hover,
     1218a.comment-edit-link:hover {
    12171219    color: #21759b;
    12181220}
Note: See TracChangeset for help on using the changeset viewer.