Make WordPress Core

Changeset 26834

Timestamp:
12/09/2013 07:13:56 PM (11 years ago)
Author:
iammattthomas
Message:

Style the Add Comment button as a button. Fixes #26500, props SergeyBiryukov.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors.css

    r26805 r26834  
    384384
    385385.wrap .add-new-h2,
    386 .wrap .add-new-h2:active,
    387 #add-new-comment a {
     386.wrap .add-new-h2:active {
    388387    background: #e0e0e0;
    389388}
    390389
    391 .wrap .add-new-h2:hover,
    392 #add-new-comment a:hover {
     390.wrap .add-new-h2:hover {
    393391    background: #2ea2cc;
    394392    color: #fff;
     
    440438}
    441439
    442 .submit,
    443 #commentsdiv #add-new-comment {
     440.submit {
    444441    border: none;
    445442}
  • trunk/src/wp-admin/css/wp-admin.css

    r26833 r26834  
    835835
    836836.wrap .add-new-h2,
    837 .wrap .add-new-h2:active,
    838 #add-new-comment a {
     837.wrap .add-new-h2:active {
    839838    margin-left: 4px;
    840839    padding: 4px 8px;
     
    34593458}
    34603459
    3461 #commentsdiv #add-new-comment {
    3462     border-width: 0 0 1px;
    3463     border-style: none none solid;
    3464     margin-top: 6px;
    3465 }
    3466 
    34673460#commentsdiv .comments-box {
    34683461    border: 0 none;
  • trunk/src/wp-admin/includes/meta-boxes.php

    r26247 r26834  
    556556    wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
    557557    ?>
    558     <p class="hide-if-no-js" id="add-new-comment"><a href="#commentstatusdiv" onclick="commentReply.addcomment(<?php echo $post->ID; ?>);return false;"><?php _e('Add comment'); ?></a></p>
     558    <p class="hide-if-no-js" id="add-new-comment"><a href="#commentstatusdiv" onclick="commentReply.addcomment(<?php echo $post->ID; ?>);return false;"><?php _e('Add comment'); ?></a></p>
    559559    <?php
    560560
Note: See TracChangeset for help on using the changeset viewer.